Queries the secondary IP addresses associated with a CNAME.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:ListSpareIps |
list |
*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 used to ensure the idempotence of the request. You can use the client to generate the token, but the token must be unique across requests. Note
If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request. |
123e4567-e89b-12d3-a456-426655440000 |
| DryRun |
boolean |
No |
Specifies whether to only validate the request without performing the operation. Valid values:
|
true |
| AcceleratorId |
string |
Yes |
The GA instance ID. |
ga-bp1odcab8tmno0hdq**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
6FEA0CF3-D3B9-43E5-A304-D217037876A8 |
| SpareIps |
array<object> |
The secondary IP addresses associated with the CNAME. |
|
|
object |
|||
| SpareIp |
string |
The secondary IP address associated with the CNAME. If the acceleration area becomes unavailable, GA redirects traffic to this IP address. |
47.100.XX.XX |
| State |
string |
The status of the secondary IP address. Valid values:
|
active |
Examples
Success response
JSON format
{
"RequestId": "6FEA0CF3-D3B9-43E5-A304-D217037876A8",
"SpareIps": [
{
"SpareIp": "47.100.XX.XX",
"State": "active"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.