Memodifikasi atribut wilayah akselerasi dalam suatu area percepatan untuk instans Global Accelerator (GA).
Deskripsi operasi
-
UpdateIpSets adalah operasi asinkron. Setelah permintaan dikirim, sistem mengembalikan ID permintaan dan menjalankan tugas di latar belakang. Anda dapat memanggil operasi DescribeIpSet untuk menanyakan status tugas tersebut.
Jika suatu wilayah akselerasi berada dalam status updating, wilayah tersebut sedang dimodifikasi. Dalam hal ini, Anda hanya dapat melakukan operasi kueri.
Jika suatu wilayah akselerasi berada dalam status active, wilayah tersebut telah selesai dimodifikasi.
-
Anda tidak dapat memanggil operasi UpdateIpSets secara berulang untuk instans GA yang sama dalam periode waktu tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:UpdateIpSets |
update |
*IpSet
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah dari instans Global Accelerator (GA). Tetapkan nilainya ke cn-hangzhou. |
cn-hangzhou |
| IpSets |
array<object> |
Yes |
Wilayah akselerasi. |
|
|
object |
No |
Wilayah akselerasi. Anda dapat menentukan hingga 100 wilayah akselerasi. |
||
| Bandwidth |
integer |
Yes |
Bandwidth baru yang ingin Anda alokasikan ke wilayah akselerasi. Satuan: Mbit/s. Anda harus mengalokasikan bandwidth minimal 2 Mbit/s untuk setiap wilayah akselerasi. Anda dapat menentukan bandwidth untuk hingga 100 wilayah akselerasi. |
4 |
| IpSetId |
string |
Yes |
ID wilayah akselerasi yang ingin Anda modifikasi. Anda dapat menentukan ID hingga 100 wilayah akselerasi. |
ips-bp11c9mpphtb1xkds**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
685662FF-B1CE-4D5C-A4C8-2FF3C2146BFC |
Contoh
Respons sukses
JSONformat
{
"RequestId": "685662FF-B1CE-4D5C-A4C8-2FF3C2146BFC"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Repeat.IpSets | The configuration of IpSet is duplicated. | Duplicate accelerated IP addresses exist. |
| 400 | NotExist.IpSets | The IpSet does not exist. | The acceleration region does not exist. |
| 400 | NotActive.IpSet | The state of IpSet is not active. | The accelerated IP address is in an unstable state. |
| 400 | StateError.Accelerator | The state of the accelerated instance is invalid. | The status of the GA instance is invalid. |
| 400 | NotExist.BasicBandwidthPackage | You must specify the basic bandwidth package. | You must specify the basic bandwidth package. |
| 400 | GreaterThanGa.IpSetBandwidth | The total bandwidth for IpSet exceeds the total bandwidth of the GA instance. | The total bandwidth for IpSet exceeds the total bandwidth of the GA instance. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.