DescribeZones
Description
call the DescribeZones interface to query the list of available areas in the specified region.
Request Method
POST
Request Path
/apsara/route/Vpc/DescribeZones
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID where the zone is located. You can obtain the region ID by calling the DescribeRegions interface. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
ZoneId | string | cn-cn-qingdao-env17-amtest11001-a | zone ID. |
RequestId | string | 6FEA0CF3-D3B9-43E5-A304-D217037876A8 | request ID. |
Zone | No sample value for this parameter. | No description for this parameter. | |
Zones | array of zone | No sample value for this parameter. | set of usable areas. |
LocalName | string | East China 1 zone | zone name. |
Example
Successful Response example
{
"ZoneId":"cn-cn-qingdao-env17-amtest11001-a",
"RequestId":"6FEA0CF3-D3B9-43E5-A304-D217037876A8",
"Zone":"",
"Zones":"",
"LocalName":"East China 1 zone"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}
title: ListTagResources
sidebar_position: 3
ListTagResources
Description
call the ListTagResources to query the list of tags that the instance has bound.
Request Method
POST
Request Path
/apsara/route/Vpc/ListTagResources
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Tag.N.Key | BODY | string | No | FinanceDept | the tag key of the resource. The value range of n is 1~20. Once the value is passed in, an empty string is not allowed. It can be up to 64 characters in length and must start with a letter or Chinese. It can contain numbers, half-width periods (.), underscores (_), and dashes (-), cannot use aliyun and acs: start and cannot contain http:// or https://. |
ResourceId.N | BODY | repeatlist | No | vpc-bp16qjewdsunr41m1**** | resource ID, n values range from 1 to 20. |
NextToken | BODY | string | No | caeba0bbb2be03f84eb48b699f0a**** | query credential (Token), the value is the NextToken parameter value returned by the last API call. If there is no next query, please do not pass it. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
Tag.N.Value | BODY | string | No | FinanceJoshua | the tag value of the resource. The value range of n is 1~20. Once the value is passed in, it can be an empty string. Supports up to 128 characters, which must start with a letter or Chinese, and can contain numbers, half-width periods (.), underscores (_), and dashes (-), cannot use aliyun and acs: start and cannot contain http:// or https://. |
MaxResults | BODY | integer | No | 10 | The maximum number of returned results. |
ResourceType | BODY | string | Yes | VPC | resource type definition, value: VPC:VPC instance. VSWITCH: switch instance. ROUTETABLE: routing table instance. EIP: Elastic public network IP instance. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID to which the resource belongs. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}
title: ModifyIpv6AddressAttribute
sidebar_position: 3
ModifyIpv6AddressAttribute
Description
call ModifyIpv6AddressAttribute interface to modify the name and description of IPv6 address.
Request Method
POST
Request Path
/apsara/route/Vpc/ModifyIpv6AddressAttribute
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Description | BODY | string | No | test | IPv6 address description information. is 2 to 256 characters in length and must start with a letter or Chinese, can contain numbers, dots (.), underscore (_) and dash (-). But you cannot use http:// or https:// beginning. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
Ipv6AddressId | BODY | string | Yes | ipv6-hp32vv2klzw4yerdf**** | instance ID of IPv6 address. |
RegionId | BODY | string | Yes | cn-huhehaote | the region where the IPv6 address is located. You can obtain the region ID by calling DescribeRegions. |
version | BODY | string | No | 2016-01-01 | version of api |
Name | BODY | string | No | test | the name of the IPv6 address. is 2 to 128 characters in length and must start with a letter or Chinese, can contain numbers, dots (.), underscore (_) and dash (-). But you cannot use http:// or https:// beginning. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | D560AF68-4CE8-4A5C-B3FE-469F558094D0 | request ID. |
Example
Successful Response example
{
"RequestId":"D560AF68-4CE8-4A5C-B3FE-469F558094D0"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}