DescribeDatacenters
DescribeDatacenters
Last updated
DescribeDatacenters
Last updated
This API is used to query data centers available.
The following request parameter list only provides API request parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Parameter Name | Type | Description |
---|---|---|
Query data center information by the dcId
SIN1
.
Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.
No error codes related to the API business logic. For other error codes, see Common Error Codes.
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.
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
dcSet
Array of DatacenterInfo
The list of data centers available.