Returns a list of available zones for a specified region.
Operation description
Prerequisites
Ensure that the service provider enabled the upgrade/downgrade feature and set the related parameters when the service was created.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenest:GetNetworkAvailableZones |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PrivateVpcConnectionMode |
string |
No |
The connection mode. Valid values: `PrivateLink` and `OverlayLink`. `OverlayLink` is an overlay link based on Application-aware Network Service Mesh (ANSM). |
PrivateLink |
| ZoneId |
string |
No |
The zone for the service deployment. |
cn-hangzhou-i |
| NetworkRegionId |
string |
No |
The region of the virtual network. |
cn-hangzhou |
| ServiceInstanceEndpointServiceType |
string |
No |
The direction of the internal-facing access. Valid values: `Forward` and `Reverse`. |
Forward |
| ServiceRegionId |
string |
No |
The ID of the region where the service is located. |
cn-hangzhou |
| IsPoc |
boolean |
No |
Specifies whether the service is a trial. |
true |
| ServiceId |
string |
No |
The service ID. |
service-55fc2eabbce647fa976b |
| ServiceVersion |
string |
No |
The service version. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResult |
||
| Data |
object |
The data returned. |
|
| RegionIdList |
array |
The list of region IDs. |
|
|
string |
The region ID. |
cn-hangzhou |
|
| ZoneIdList |
array |
The list of zone IDs. |
|
|
string |
The zone ID. |
cn-hangzhou-i |
|
| RequestId |
string |
The request ID. |
A17F9930-E2DC-5E87-B6D6-B0BCD2B00834 |
Examples
Success response
JSON format
{
"Data": {
"RegionIdList": [
"cn-hangzhou"
],
"ZoneIdList": [
"cn-hangzhou-i"
]
},
"RequestId": "A17F9930-E2DC-5E87-B6D6-B0BCD2B00834"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.