调用DescribeIpv6GatewayAttribute接口查询指定IPV6网关的详细信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
RegionId String cn-huhehaote

IPv6网关的地域ID。您可以通过调用DescribeRegions接口获取地域ID。

Ipv6GatewayId String ipv6gw-hp3y0l3ln89j8cdvf****

要查询的IPv6网关ID。

Action String DescribeIpv6GatewayAttribute

系统规定参数。取值:DescribeIpv6GatewayAttribute

返回数据

名称 类型 示例值 描述
VpcId String vpc-123sedrfswd23****

IPv6网关所在的VPC ID。

Status String Available

IPv6网关的状态。取值:

  • Pending:配置中。
  • Available:可用。
CreationTime String 2018-12-05T09:21:35Z

IPv6网关的创建时间。

RegionId String cn-huhehaote

IPv6网关所在的地域ID。

InstanceChargeType String PostPaid

IPv6网关的计费方式。

RequestId String 0ED8D006-F706-4D23-88ED-E11ED28DCAC

请求ID。

Ipv6GatewayId String ipv6gw-hp3y0l3ln89j8cdvf****

IPv6网关的实例ID。

Description String test

IPv6网关的描述信息。

ExpiredTime String 2019-1-05T09:21:35Z

IPv6网关的过期时间。

BusinessStatus String Normal

IPv6网关的状态,取值:

  • Normal:正常。
  • FinacialLocked:欠费锁定。
  • SecurityLocked:安全锁定。
Name String test

IPv6网关的名称。

ResourceGroupId String rg-acfmxazb4ph6aiy****

资源组ID。

Tags Array of Tag

标签列表信息。

Tag
Key String FinanceDept

标签键。

Value String FinanceJoshua

标签值。

示例

请求示例

http(s)://[Endpoint]/?RegionId=cn-huhehaote
&Ipv6GatewayId=ipv6gw-hp3y0l3ln89j8cdvf****
&Action=DescribeIpv6GatewayAttribute
&公共请求参数

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeIpv6GatewayAttributeResponse>
    <VpcId>vpc-123sedrfswd23****</VpcId>
    <Status>Available</Status>
    <CreationTime>2018-12-05T09:21:35Z</CreationTime>
    <RegionId>cn-huhehaote</RegionId>
    <InstanceChargeType>PostPaid</InstanceChargeType>
    <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC</RequestId>
    <Ipv6GatewayId>ipv6gw-hp3y0l3ln89j8cdvf****</Ipv6GatewayId>
    <Description>test</Description>
    <ExpiredTime>2019-1-05T09:21:35Z</ExpiredTime>
    <BusinessStatus>Normal</BusinessStatus>
    <Name>test</Name>
    <ResourceGroupId>rg-acfmxazb4ph6aiy****</ResourceGroupId>
    <Tags>
        <Key>FinanceDept</Key>
        <Value>FinanceJoshua</Value>
    </Tags>
</DescribeIpv6GatewayAttributeResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "VpcId" : "vpc-123sedrfswd23****",
  "Status" : "Available",
  "CreationTime" : "2018-12-05T09:21:35Z",
  "RegionId" : "cn-huhehaote",
  "InstanceChargeType" : "PostPaid",
  "RequestId" : "0ED8D006-F706-4D23-88ED-E11ED28DCAC",
  "Ipv6GatewayId" : "ipv6gw-hp3y0l3ln89j8cdvf****",
  "Description" : "test",
  "ExpiredTime" : "2019-1-05T09:21:35Z",
  "BusinessStatus" : "Normal",
  "Name" : "test",
  "ResourceGroupId" : "rg-acfmxazb4ph6aiy****",
  "Tags" : {
    "Key" : "FinanceDept",
    "Value" : "FinanceJoshua"
  }
}

错误码

HttpCode 错误码 错误信息 描述
404 InvalidRegionId.NotFound The specified RegionId does not exist in our records. 指定的RegionId不存在。

访问错误中心查看更多错误码。