Deletes CNAME secondary IP addresses of a Global Accelerator (GA) instance.
Operation description
-
DeleteSpareIps is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. Call the DescribeAccelerator operation to query the GA instance status.
-
If the GA instance is in the configuring state, the CNAME secondary IP addresses are being deleted. Only query operations can be performed.
-
If the GA instance is in the active state and the ListSpareIps operation does not return the secondary IP addresses, the deletion is complete.
-
-
DeleteSpareIps holds an exclusive lock on the GA instance. You cannot call this operation again in the same Alibaba Cloud account while it is running.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:DeleteSpareIps |
delete |
*Accelerator
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the GA instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| ClientToken |
string |
No |
The client token that ensures the idempotence of the request. You can use the client to generate the token. The token must be unique across requests and can contain only ASCII characters. Note
If you do not specify this parameter, the system uses the request ID as the client token. The request ID may differ for each request. |
1F4B6A4A-C89E-489E-BAF1-52777EE148EF |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run without executing the request. Valid values:
|
true |
| AcceleratorId |
string |
Yes |
The GA instance ID. |
ga-bp1odcab8tmno0hdq**** |
| SpareIps |
array |
Yes |
The CNAME secondary IP addresses to delete. GA redirects traffic to these addresses when an acceleration area becomes unavailable. You can specify up to two IP addresses, separated by commas (,). |
|
|
string |
No |
The CNAME secondary IP addresses to delete. GA redirects traffic to these addresses when an acceleration area becomes unavailable. You can specify up to two IP addresses, separated by commas (,). |
127.0.XX.XX |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
6FEA0CF3-D3B9-43E5-A304-D217037876A8 |
Examples
Success response
JSON format
{
"RequestId": "6FEA0CF3-D3B9-43E5-A304-D217037876A8"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NotExist.SpareIp | The spare ip %s doesn't exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.