Bölge kimliği ve faturalandırma yöntemi gibi parametrelere göre etkin bölgelerin listesini sorgular.
Operation description
DescribeZones yalnızca Alibaba Cloud tarafından sağlanan bölgelerin listesini sorgular ve sınırlı envanter bilgisi döndürür. Belirli bir bölgede satın alınabilir örnek türlerini ve disk kategorilerini sorgulamak için DescribeAvailableResource API'sini kullanın.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
Bölgelerin yer aldığı bölgenin kimliği. En güncel bölge listesini sorgulamak için DescribeRegions API'sini çağırabilirsiniz. |
cn-hangzhou |
| Verbose |
boolean |
No |
Ayrıntılı bilgilerin görüntülenip görüntülenmeyeceğini belirtir.
Varsayılan değer: true. |
false |
| InstanceChargeType |
string |
No |
Etkin bölgedeki kaynaklar tarafından desteklenen faturalandırma yöntemi. Daha fazla bilgi için Faturalandırmaya genel bakış sayfasına bakın. Geçerli değerler:
Varsayılan değer: PostPaid. |
PostPaid |
| SpotStrategy |
string |
No |
Kullandıkça öde örnekleri için teklif verme politikası. Bu parametreyi InstanceChargeType=PostPaid olduğunda belirtebilirsiniz. Daha fazla bilgi için Spot örnekler sayfasına bakın. Geçerli değerler:
Varsayılan değer: NoSpot. |
NoSpot |
| AcceptLanguage |
string |
No |
Yanıt sonuçlarını filtrelemek için kullanılan doğal dil. Daha fazla bilgi için RFC 7231 sayfasına 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 |
| Zones |
object |
||
| Zone |
array<object> |
Bölgelerin koleksiyonu ve her bölgedeki desteklenen kaynak bilgileri. |
|
|
array<object> |
|||
| ZoneId |
string |
Bölge kimliği. |
cn-hangzhou-g |
| ZoneType |
string |
Bölge türü. Geçerli değerler:
|
AvailabilityZone |
| LocalName |
string |
Bölgenin yerel dildeki adı. |
华东 1 可用区 G |
| AvailableResources |
object |
||
| ResourcesInfo |
array<object> |
Oluşturma için kullanılabilir olan belirli kaynakların dizisi. |
|
|
array<object> |
|||
| IoOptimized |
boolean |
Örneğin G/Ç optimize edilmiş bir örnek olup olmadığını gösterir. G/Ç optimizasyonu daha iyi depolama performansı sağlar. |
true |
| SystemDiskCategories |
object |
||
| supportedSystemDiskCategory |
array |
Sistem diski kategorilerinin listesi. |
|
|
string |
Oluşturulabilecek sistem diski kategorisi. Geçerli değerler:
|
cloud_essd |
|
| InstanceGenerations |
object |
||
| supportedInstanceGeneration |
array |
Desteklenen örnek ailesi nesillerinin listesi. |
|
|
string |
Örnek ailesi nesli. |
ecs-6 |
|
| DataDiskCategories |
object |
||
| supportedDataDiskCategory |
array |
Oluşturulabilecek veri diski kategorileri. |
|
|
string |
Veri diski kategorisi. Geçerli değerler:
|
cloud_essd |
|
| InstanceTypes |
object |
||
| supportedInstanceType |
array |
Örnek türlerinin listesi. |
|
|
string |
Geçerli bölge, ağ türü (NetworkTypes) ve G/Ç optimize edilmiş örnek (IoOptimized) kombinasyonunda oluşturulabilecek örnek türlerinin listesi. |
ecs.g5.large |
|
| InstanceTypeFamilies |
object |
||
| supportedInstanceTypeFamily |
array |
Oluşturulabilecek örnek ailelerinin listesi. |
|
|
string |
Örnek ailesi. |
ecs.r7t |
|
| NetworkTypes |
object |
||
| supportedNetworkCategory |
array |
Desteklenen ağ türlerinin listesi. |
|
|
string |
Desteklenen ağ türü. Geçerli değerler:
|
vpc |
|
| AvailableResourceCreation |
object |
||
| ResourceTypes |
array |
Oluşturulabilecek kaynak türlerinin listesi. |
|
|
string |
Oluşturulabilecek kaynak türü. Geçerli değerler:
|
DedicatedHost |
|
| DedicatedHostGenerations |
object |
||
| DedicatedHostGeneration |
array |
Desteklenen ayrılmış ana bilgisayar nesillerinin listesi. |
|
|
string |
Desteklenen ayrılmış ana bilgisayar nesli. |
ddh-6 |
|
| AvailableInstanceTypes |
object |
||
| InstanceTypes |
array |
Geçerli bölgede oluşturulabilecek tüm örnek türlerinin listesi. |
|
|
string |
Geçerli bölgede oluşturulabilecek örnek türü. |
ecs.g6.xlarge |
|
| AvailableDiskCategories |
object |
||
| DiskCategories |
array |
Oluşturulabilecek disk kategorilerinin koleksiyonu. |
|
|
string |
Oluşturulabilecek disk kategorisi. Geçerli değerler:
|
cloud |
|
| AvailableDedicatedHostTypes |
object |
||
| DedicatedHostType |
array |
Desteklenen ayrılmış ana bilgisayar türlerinin listesi. |
|
|
string |
Desteklenen ayrılmış ana bilgisayar türü. |
ddh.g6 |
|
| AvailableVolumeCategories |
object |
||
| VolumeCategories |
array |
Desteklenen paylaşımlı depolama türlerinin listesi. |
|
|
string |
Desteklenen paylaşımlı depolama türü. |
san_efficiency |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Zones": {
"Zone": [
{
"ZoneId": "cn-hangzhou-g",
"ZoneType": "AvailabilityZone",
"LocalName": "华东 1 可用区 G",
"AvailableResources": {
"ResourcesInfo": [
{
"IoOptimized": true,
"SystemDiskCategories": {
"supportedSystemDiskCategory": [
"cloud_essd"
]
},
"InstanceGenerations": {
"supportedInstanceGeneration": [
"ecs-6"
]
},
"DataDiskCategories": {
"supportedDataDiskCategory": [
"cloud_essd"
]
},
"InstanceTypes": {
"supportedInstanceType": [
"ecs.g5.large"
]
},
"InstanceTypeFamilies": {
"supportedInstanceTypeFamily": [
"ecs.r7t"
]
},
"NetworkTypes": {
"supportedNetworkCategory": [
"vpc"
]
}
}
]
},
"AvailableResourceCreation": {
"ResourceTypes": [
"DedicatedHost"
]
},
"DedicatedHostGenerations": {
"DedicatedHostGeneration": [
"ddh-6"
]
},
"AvailableInstanceTypes": {
"InstanceTypes": [
"ecs.g6.xlarge"
]
},
"AvailableDiskCategories": {
"DiskCategories": [
"cloud"
]
},
"AvailableDedicatedHostTypes": {
"DedicatedHostType": [
"ddh.g6"
]
},
"AvailableVolumeCategories": {
"VolumeCategories": [
"san_efficiency"
]
}
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidSpotStrategy | The specified SpotStrategy is not valid. | The specified SpotStrategy parameter is invalid. |
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist. | The specified region ID does not exist. |
| 404 | InvalidRegion.NotFound | The specified parameter RegionId is not valid. | |
| 404 | InvalidInstanceChargeType.NotFound | The InstanceChargeType does not exist in our records. | |
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.