Skip to main content

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

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
RegionIdBODYstringYescn-qingdao-env17-d01the region ID where the zone is located. You can obtain the region ID by calling the DescribeRegions interface.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
ZoneIdstringcn-cn-qingdao-env17-amtest11001-azone ID.
RequestIdstring6FEA0CF3-D3B9-43E5-A304-D217037876A8request ID.
ZoneNo sample value for this parameter.No description for this parameter.
Zonesarray of zoneNo sample value for this parameter.set of usable areas.
LocalNamestringEast China 1 zonezone 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

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

NameLocationTypeRequiredSample valueDescription
Tag.N.KeyBODYstringNoFinanceDeptthe 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.NBODYrepeatlistNovpc-bp16qjewdsunr41m1****resource ID, n values range from 1 to 20.
NextTokenBODYstringNocaeba0bbb2be03f84eb48b699f0a****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.
regionIdBODYstringYesNo sample value for this parameter.region id
Tag.N.ValueBODYstringNoFinanceJoshuathe 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://.
MaxResultsBODYintegerNo10The maximum number of returned results.
ResourceTypeBODYstringYesVPCresource type definition, value: VPC:VPC instance. VSWITCH: switch instance. ROUTETABLE: routing table instance. EIP: Elastic public network IP instance.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID to which the resource belongs.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}

title: ModifyIpv6AddressAttribute

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

NameLocationTypeRequiredSample valueDescription
DescriptionBODYstringNotestIPv6 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.
regionIdBODYstringYesNo sample value for this parameter.region id
Ipv6AddressIdBODYstringYesipv6-hp32vv2klzw4yerdf****instance ID of IPv6 address.
RegionIdBODYstringYescn-huhehaotethe region where the IPv6 address is located. You can obtain the region ID by calling DescribeRegions.
versionBODYstringNo2016-01-01version of api
NameBODYstringNotestthe 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

NameTypeSample valueDescription
RequestIdstringD560AF68-4CE8-4A5C-B3FE-469F558094D0request ID.

Example

Successful Response example

{
"RequestId":"D560AF68-4CE8-4A5C-B3FE-469F558094D0"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}