Alibaba Cloud bölgelerini sorgular. Bu işlemi çağırırken, istekte InstanceChargeType ve ResourceType gibi parametreler belirtebilirsiniz.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceChargeType |
string |
No |
Örneğin faturalandırma yöntemi. Daha fazla bilgi için Faturalandırmaya genel bakış konusuna bakın. Geçerli değerler:
Varsayılan değer: PostPaid. |
PrePaid |
| ResourceType |
string |
No |
Kaynak türü. Geçerli değerler:
Varsayılan değer: instance. |
instance |
| AcceptLanguage |
string |
No |
Yanıtları filtrelemek için kullanılan doğal dil. Daha fazla bilgi için RFC 7231 belgesine bakın. Geçerli değerler:
Varsayılan değer: zh-CN. Valid values:
|
zh-CN |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| Regions |
object |
||
| Region |
array<object> |
Bölgelerin bilgileri. |
|
|
object |
|||
| Status |
string |
Bölgelerin tükenip tükenmediğini gösterir. Geçerli değerler:
|
available |
| RegionEndpoint |
string |
Bölgenin uç noktası. |
ecs.cn-qingdao.aliyuncs.com |
| LocalName |
string |
Bölgenin adı. |
华北1(青岛) |
| RegionId |
string |
Bölge kimliği. |
cn-qingdao |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Regions": {
"Region": [
{
"Status": "available",
"RegionEndpoint": "ecs.cn-qingdao.aliyuncs.com",
"LocalName": "华北1(青岛)",
"RegionId": "cn-qingdao"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Unauthorized.EmptyRegion | The specified account has no access authority to any region. | |
| 403 | Invalid.InstanceChargeType | The specified instanceChargeType is not valid. | |
| 404 | InvalidAcceptLanguage.NotFound | Only Chinese (zh-CN), English (en-US), and Japanese (ja) are allowed. | Your selected language is invalid. Only Chinese, English, and Japanese are supported. |
| 404 | InvalidResourceType.NotFound | The ResourceType provided does not exist in our records. | The specified resource type does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.