Query Regions Supported for a Cloud Vendor
Function
This API is used to query regions supported for a cloud vendor.
Calling Method
For details, see Calling APIs.
URI
GET /v2/{project_id}/objectstorage/data-center
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | The project ID. Minimum: 1 Maximum: 1024 |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | The token used for IAM authentication. Ensure that the project ID in the token matches the project ID in the request URI. Minimum: 1 Maximum: 16384 |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| [items] | Array of ShowRegionInfoResp objects | Response body for querying region information. |
| Parameter | Type | Description |
|---|---|---|
| service_name | String | Service name. Minimum: 0 Maximum: 255 |
| region_list | Array of RegionInfo objects | Region list. Array Length: 0 - 1024 |
Example Requests
None
Example Responses
Status code: 200
The response body for querying region information.
[ {
"service_name" : "AWS",
"region_list" : [ {
"cloud_type" : "AWS",
"value" : "us-east-1",
"description" : "US Standard (N. Virginia)"
}, {
"cloud_type" : "AWS",
"value" : "us-west-1",
"description" : "US West (N. California)"
}, {
"cloud_type" : "AWS",
"value" : "us-west-2",
"description" : "US West (Oregon)"
}, {
"cloud_type" : "AWS",
"value" : "eu-west-1",
"description" : "EU (Ireland)"
}, {
"cloud_type" : "AWS",
"value" : "eu-central-1",
"description" : "EU (Frankfurt)"
}, {
"cloud_type" : "AWS",
"value" : "ap-northeast-1",
"description" : "Asia Pacific (Tokyo)"
}, {
"cloud_type" : "AWS",
"value" : "ap-northeast-2",
"description" : "Asia Pacific (Seoul)"
}, {
"cloud_type" : "AWS",
"value" : "ap-southeast-1",
"description" : "Asia Pacific (Singapore)"
}, {
"cloud_type" : "AWS",
"value" : "ap-southeast-2",
"description" : "Asia Pacific (Sydney)"
}, {
"cloud_type" : "AWS",
"value" : "ap-south-1",
"description" : "Asia Pacific (Mumbai)"
}, {
"cloud_type" : "AWS",
"value" : "sa-east-1",
"description" : "South America (Sao Paulo)"
}, {
"cloud_type" : "AWS",
"value" : "us-east-2",
"description" : "US East (Ohio)"
}, {
"cloud_type" : "AWS",
"value" : "eu-west-2",
"description" : "EU (London)"
}, {
"cloud_type" : "AWS",
"value" : "ca-central-1",
"description" : "Canada (Central)"
}, {
"cloud_type" : "AWS",
"value" : "ap-east-1",
"description" : "Asia Pacific (Hong Kong)"
} ]
} ] Status Codes
| Status Code | Description |
|---|---|
| 200 | The response body for querying region information. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.