Retrieves a list of Tencent availability zones for the specified region
GEThttps://api.spectrocloud.com/v1/clouds/tencent/regions/:region/zones
Authorization: ApiKey
name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
Retrieves a list of Tencent availability zones for the specified region
Request
Path Parameters
region stringrequired
Region for which zones are requested
Query Parameters
cloudAccountUid stringrequired
Uid for the specific Tencent cloud account
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
(empty)
- application/json
- Schema
- Example (from schema)
Schema
zones object[]required
{
"zones": [
{
"name": "string",
"state": "string",
"zoneId": "string"
}
]
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/clouds/tencent/regions/:region/zones' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'