All Products
Search
Document Center

Virtual Private Cloud:DescribeIpv6Gateways

Last Updated:Aug 28, 2026

Invoke the DescribeIpv6Gateways API to query IPv6 gateways created in a specific region.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

vpc:DescribeIpv6Gateways

get

Ipv6Gateway

acs:vpc:{#regionId}:{#accountId}:ipv6gateway/*

Ipv6Gateway

acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}

None 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 http:// or https://.

ipv6GW

PageNumber

integer

No

The page number.

1

PageSize

integer

No

The number of entries per page.

10

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

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

The list of tags.

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 aliyun or acs:, and cannot contain http:// or https://.

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 http:// or https://. The tag value cannot start with aliyun or acs:.

FinanceJoshua

Response elements

Element

Type

Description

Example

object

The returned message.

PageSize

integer

The number of entries per page.

10

RequestId

string

The request ID.

E3A06196-3E7C-490D-8F39-CB4B5A0CE8AD

PageNumber

integer

The page number.

1

TotalCount

integer

The total number of entries returned.

2

Ipv6Gateways

object

Ipv6Gateway

array<object>

The information about the IPv6 gateway.

array<object>

Detailed information about an 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:

  • Pending

  • Available

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

  • FinancialLocked

  • SecurityLocked

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.