Mengkueri daftar zona yang didukung oleh instans Database Apsara untuk MongoDB.
Deskripsi operasi
Queries the zones in which an ApsaraDB for MongoDB instance can be deployed under specified purchase conditions. The region ID is required in the purchase condition.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeAvailabilityZones |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah instans. Anda dapat memanggil operasi DescribeRegions untuk mengkueri wilayah terbaru yang tersedia. |
cn-hangzhou |
| ZoneId |
string |
No |
ID zona instans. Anda dapat memanggil operasi DescribeRegions untuk mengkueri zona yang tersedia. |
cn-hangzhou-b |
| InstanceChargeType |
string |
No |
Metode penagihan produk. Nilai valid:
|
PrePaid |
| DbType |
string |
No |
Arsitektur instans. Nilai valid:
|
normal |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. Untuk informasi lebih lanjut, lihat Tampilan informasi dasar kelompok sumber daya. |
rg-acfmx2m4rqu7pry |
| AcceptLanguage |
string |
No |
Bahasa nilai parameter RegionName dan ZoneName yang dikembalikan. Nilai valid:
|
zh |
| StorageSupport |
string |
No |
Tipe penyimpanan. Nilai valid:
|
local |
| MongoType |
string |
No |
Edisi instans. High-Available Edition dan Tampilan Edition (dbfs) didukung. |
dbfs |
| StorageType |
string |
No |
Tipe penyimpanan. Nilai valid:
Catatan
|
local_ssd |
| ExcludeZoneId |
string |
No |
ID zona yang dikecualikan dari hasil kueri. |
cn-shanghai-g |
| ExcludeSecondaryZoneId |
string |
No |
ID zona sekunder yang dikecualikan dari hasil kueri. Anda dapat mengonfigurasi parameter ExcludeZoneId dan ExcludeSecondaryZoneId untuk menentukan ID beberapa zona yang dikecualikan dari hasil kueri. |
cn-shanghai-b |
| DBInstanceClass |
string |
No |
Tipe instans dari instans tersebut. |
dds.mongo.standard |
| EngineVersion |
string |
No |
Versi mesin database instans. |
5.0 |
| ReplicationFactor |
string |
No |
Jumlah node dalam instans. Catatan
Parameter ini hanya tersedia untuk instans replica set. Nilai valid:
Valid values:
|
3 |
| InstanceType |
string |
No |
Arsitektur instans. Nilai valid:
|
replicate |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
19A13A33-0FAD-5120-8AE1-B1636F74DD80 |
| AvailableZones |
array<object> |
The details of the zones in which you can create ApsaraDB for MongoDB instances. |
|
|
object |
|||
| ZoneId |
string |
The ID of the zone. |
cn-beijing-f |
| ZoneName |
string |
The name of the zone. The return value of the ZoneName parameter is in the language that is specified by the AcceptLanguage parameter. For example, if the value of the ZoneId parameter in the response is cn-hangzhou-h, the following values are returned for the ZoneName parameter:
|
杭州 可用区H |
| RegionId |
string |
The ID of the region. You can call the DescribeRegions operation to query the latest available regions. |
cn-beijing |
Contoh
Respons sukses
JSONformat
{
"RequestId": "19A13A33-0FAD-5120-8AE1-B1636F74DD80",
"AvailableZones": [
{
"ZoneId": "cn-beijing-f",
"ZoneName": "杭州 可用区H",
"RegionId": "cn-beijing"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.