DescribeDatacenters
DescribeDatacenters
1. API Description
This API is used to query data centers available.
2. Input Parameters
The following request parameter list only provides API request parameters.
dcIds
No
Array of String
Codes of data centers, consisting of IATA airport codes and numbers.
isPortAvailable
No
Boolean
Filter data centers in which whether port creation is supported or not.
true
: Port creation is supported in this data center.false
: Port creation is not supported in this data center.
By default, data centers in which port creation is not supported are filtered.
3. Output Parameters
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4. Code Example
Query data center information by the dcId
SIN1
.
5. Developer Resources
Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.
6. Error Codes
No error codes related to the API business logic. For other error codes, see Common Error Codes.
Last updated