Queries IPv6 gateways in a region.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
vpc:DescribeIpv6Gateways | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region in which the IPv6 gateway is deployed. You can call the DescribeRegions operation to query the region ID. | cn-huhehaote |
Ipv6GatewayId | string | No | The ID of the IPv6 gateway. | ipv6gw-hp3rwmtmfhgis**** |
VpcId | string | No | The ID of the virtual private cloud (VPC) to which the IPv6 gateway belongs. | vpc-123sedrfswd23**** |
Name | string | No | The name of the IPv6 gateway. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter. The name must start with a letter and cannot start with | ipv6GW |
PageNumber | integer | No | The page number. | 1 |
PageSize | integer | No | The number of entries per page. | 10 |
ResourceGroupId | string | No | The ID of the resource group to which the IPv6 gateway belongs. | rg-bp67acfmxazb4ph**** |
Tags | array<object> | No | The information about the tags. | |
object | No | |||
Key | string | No | The tag keys of the resources. You can specify up to 20 tag keys. The tag key cannot be an empty string. The tag key can be up to 128 characters in length. It cannot start with | FinanceDept |
Value | string | No | The tag values of the resources. You can specify up to 20 tag values. The tag value can be an empty string. The tag value can be up to 128 characters in length, and cannot contain | FinanceJoshua |
Response parameters
Examples
Sample success responses
JSON
format
{
"PageSize": 10,
"RequestId": "E3A06196-3E7C-490D-8F39-CB4B5A0CE8AD",
"PageNumber": 1,
"TotalCount": 2,
"Ipv6Gateways": {
"Ipv6Gateway": [
{
"CreationTime": "2020-12-20T14:51:23Z",
"Status": "Available",
"VpcId": "vpc-123sedrfswd23****",
"Description": "descriptionforIPv6GW",
"Ipv6GatewayId": "ipv6gw-hp3rwmtmfhgisipv6gw-hp3rwmtmfhgis****",
"ExpiredTime": "2021-12-20T14:51:23Z",
"BusinessStatus": "Normal",
"Name": "ipv6GW",
"InstanceChargeType": "PostPaid",
"RegionId": "cn-huhehaote",
"ResourceGroupId": "rg-bp67acfmxazb4ph****",
"Tags": {
"Tag": [
{
"Key": "FinanceDept",
"Value": "FinanceJoshua"
}
]
}
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-07-31 | The Error code has changed | View Change Details |