查询云厂商支持的reigon
功能介绍
查询云厂商支持的reigon
调用方法
请参见如何调用API。
URI
GET /v2/{project_id}/objectstorage/data-center
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
project_id |
是 |
String |
项目ID 最小长度:1 最大长度:1024 |
请求参数
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
X-Auth-Token |
是 |
String |
IAM Token认证,需要确认Token中包含的Project ID与请求URI中修改资源的Project ID匹配。 最小长度:1 最大长度:16384 |
响应参数
状态码: 200
参数 |
参数类型 |
描述 |
---|---|---|
[数组元素] |
Array of ShowRegionInfoResp objects |
查询Region信息响应体 |
参数 |
参数类型 |
描述 |
---|---|---|
service_name |
String |
服务名称 最小长度:0 最大长度:255 |
region_list |
Array of RegionInfo objects |
Region列表 数组长度:0 - 1024 |
请求示例
无
响应示例
状态码: 200
查询Region信息响应体
[ { "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)" } ] } ]
状态码
状态码 |
描述 |
---|---|
200 |
查询Region信息响应体 |
错误码
请参见错误码。