Mengubah bandwidth wilayah akselerasi pada instans Akselerator Global (GA) dasar.
Deskripsi operasi
Before you call this operation, take note of the following limits:
-
You can modify the bandwidth of an acceleration region of a basic GA instance only if the bandwidth metering method of the basic GA instance is pay-by-data-transfer.
-
UpdateBasicIpSet is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the GetBasicIpSet operation to query the status of the task.
If the acceleration region is in the updating state, it indicates that the bandwidth of the acceleration region is being modified. In this case, you can perform only query operations.
If the acceleration region is in the active state, it indicates that the bandwidth of the acceleration region is modified.
-
You cannot repeatedly call the UpdateBasicIpSet operation for the same basic GA instance within a specific period of time.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:UpdateBasicIpSet |
update |
*BasicIpSet
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat instans GA dasar berada. Atur nilainya menjadi cn-hangzhou. |
cn-hangzhou |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi Anda harus memastikan token tersebut unik di antara permintaan yang berbeda. Token hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan ID permintaan sebagai token klien. ID permintaan dapat berbeda untuk setiap permintaan. |
123e4567-e89b-12d3-a456-426655440000 |
| IpSetId |
string |
Yes |
ID wilayah akselerasi instans GA dasar. |
ips-bp11r5jb8ogp122xl**** |
| Bandwidth |
integer |
Yes |
Bandwidth wilayah akselerasi. Unit: Mbit/s. Bandwidth minimum adalah 2 Mbit/s. |
2 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
6D2BFF54-6AF2-4679-88C4-2F2E187F16CB |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6D2BFF54-6AF2-4679-88C4-2F2E187F16CB"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Resource.QuotaFull | The resource quota is exceeded. | The number of resources has reached the upper limit. |
| 400 | NotExist.IpSet | The IpSet does not exist. | The acceleration region does not exist. |
| 400 | StateError.IpSet | The state of IpSet is invalid. | The acceleration region is in an invalid state. |
| 400 | NotExist.Accelerator | The accelerated instance does not exist. | The GA instance does not exist. |
| 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. |
| 500 | UnknownError | An error occurred while processing your request. Please try again. If the error persists, please submit a ticket. | An error occurred while the request was being processed. Try again later. |
| 403 | Forbbiden.SubUser | You are not authorized to operate on the specified resource because your account was created by another user. | The current account is a RAM user and does not have permissions to manage the specified resources. |
| 403 | Forbidden | The user is not authorized to operate on the specified resource. | The current account does not have permissions to manage the specified resources. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.