Mengubah atribut region akselerasi di area akselerasi untuk instance 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.
Jika region akselerasi berada dalam status updating, region akselerasi sedang diubah. Dalam hal ini, Anda hanya dapat melakukan operasi kueri.
Jika region akselerasi berada dalam status active, region akselerasi telah diubah.
-
Anda tidak dapat memanggil operasi UpdateIpSets secara berulang untuk instance 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 region instance Global Accelerator (GA). Atur nilainya menjadi cn-hangzhou. |
cn-hangzhou |
| IpSets |
array<object> |
Yes |
Region akselerasi. |
|
|
object |
No |
Region akselerasi. Anda dapat menentukan hingga 100 region akselerasi. |
||
| Bandwidth |
integer |
Yes |
Bandwidth baru yang ingin Anda alokasikan ke region akselerasi. Satuan: Mbit/s. Anda harus mengalokasikan setidaknya 2 Mbit/s bandwidth ke setiap region akselerasi. Anda dapat menentukan bandwidth untuk hingga 100 region akselerasi. |
4 |
| IpSetId |
string |
Yes |
ID region akselerasi yang ingin Anda ubah. Anda dapat menentukan ID hingga 100 region 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.