DescribeIpv6Gateways
Queries IPv6 gateways created in a specified region by calling the DescribeIpv6Gateways operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DescribeIpv6Gateways |
get |
Ipv6Gateway
Ipv6Gateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the IPv6 gateway. 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 VPC associated with the IPv6 gateway. |
vpc-123sedrfswd23**** |
| Name |
string |
No |
The name of the IPv6 gateway. The name must be 2 to 128 characters in length and must start with a letter or a Chinese character. It can contain digits, periods (.), underscores (_), and hyphens (-), but cannot start with |
ipv6GW |
| PageNumber |
integer |
No |
The number of the page to return. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. |
10 |
| RegionId |
string |
Yes |
IPv6 网关所属的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-huhehaote |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the IPv6 gateway belongs. |
rg-bp67acfmxazb4ph**** |
| Tags |
array<object> |
No |
The tag list. |
|
|
object |
No |
The tag list. |
||
| Key |
string |
No |
The tag key of the resource. 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, and cannot start with |
FinanceDept |
| Value |
string |
No |
The tag value of the resource. 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 start with |
FinanceJoshua |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| PageSize |
integer |
The number of entries to return on each page. |
10 |
| RequestId |
string |
The request ID. |
E3A06196-3E7C-490D-8F39-CB4B5A0CE8AD |
| PageNumber |
integer |
The number of the page to return. |
1 |
| TotalCount |
integer |
The total number of entries returned. |
2 |
| Ipv6Gateways |
object |
||
| Ipv6Gateway |
array<object> |
The details of the IPv6 gateway. |
|
|
array<object> |
The details of the IPv6 gateway. |
||
| CreationTime |
string |
The time when the IPv6 gateway was created. |
2020-12-20T14:51:23Z |
| Status |
string |
The status of the IPv6 gateway. Valid values:
|
Available |
| VpcId |
string |
The ID of the VPC to which the IPv6 gateway belongs. |
vpc-123sedrfswd23**** |
| Description |
string |
The description of the IPv6 gateway. |
descriptionforIPv6GW |
| Ipv6GatewayId |
string |
The ID of the IPv6 gateway. |
ipv6gw-hp3rwmtmfhgisipv6gw-hp3rwmtmfhgis**** |
| ExpiredTime |
string |
The time when the IPv6 gateway expires. |
2021-12-20T14:51:23Z |
| BusinessStatus |
string |
The status of the IPv6 gateway. Valid values:
|
Normal |
| Name |
string |
The name of the IPv6 gateway. |
ipv6GW |
| InstanceChargeType |
string |
The billing method of the IPv6 gateway. Only PostPaid may be returned, which indicates that the IPv6 gateway uses the pay-as-you-go billing method. |
PostPaid |
| RegionId |
string |
The ID of the region in which the IPv6 gateway is deployed. |
cn-huhehaote |
| ResourceGroupId |
string |
The resource group ID. |
rg-bp67acfmxazb4ph**** |
| Tags |
object |
||
| Tag |
array<object> |
The information about the tags. |
|
|
object |
The list of tags. |
||
| Key |
string |
The tag key. |
FinanceDept |
| Value |
string |
The tag value. |
FinanceJoshua |
| OwnerId |
integer |
The Alibaba Cloud account ID to which the IPv6 gateway belongs. Important This value is of the Long type and may be subject to precision loss in certain programming languages. Use it with caution. |
2546073170691**** |
Examples
Success response
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"
}
]
},
"OwnerId": 0
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Forbidden | User not authorized to operate on the specified resource. | You do not have the permissions to manage the specified resource. Apply for the permissions and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.