Queries the IPv6 configuration for a site.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:GetIPv6 |
get |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The ID of the site. To obtain this ID, call the ListSites operation. |
123456789**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The ID of the request. |
156A6B-677B1A-4297B7-9187B7-2B44792 |
| Enable |
string |
Indicates whether IPv6 is enabled. Valid values:
Valid values:
|
on |
| Region |
string |
The region where IPv6 is enabled. The default value is
Valid values:
|
x.x |
Examples
Success response
JSON format
{
"RequestId": "156A6B-677B1A-4297B7-9187B7-2B44792",
"Enable": "on",
"Region": "x.x"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.