Mengkueri semua wilayah dan zona yang didukung untuk instans Database Apsara for MongoDB.
Deskripsi operasi
To query available regions and zones in which an ApsaraDB for MongoDB instance can be created, call the DescribeAvailableResource operation.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. Catatan
Jika Anda tidak menentukan parameter ini, semua wilayah yang didukung akan dikueri. |
cn-hangzhou |
| AcceptLanguage |
string |
No |
Bahasa nilai parameter RegionName dan ZoneName yang dikembalikan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The regions and zones. |
||
| RequestId |
string |
The request ID. |
4E46C22C-D3B7-4DB8-9C76-63851BE68E20 |
| Regions |
object |
||
| DdsRegion |
array<object> |
The regions. |
|
|
array<object> |
The region. |
||
| Zones |
object |
||
| Zone |
array<object> |
The zones. |
|
|
object |
The zone. |
||
| ZoneId |
string |
The zone ID. |
cn-hangzhou-h |
| VpcEnabled |
boolean |
Indicates whether a virtual private cloud (VPC) is supported. Valid values:
|
true |
| ZoneName |
string |
The name of the zone. The 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 region ID. |
cn-hangzhou |
| RegionName |
string |
The name of the region. The value of the LocalName parameter is in the language that is specified by the AcceptLanguage parameter. For example, if the value of the RegionId parameter in the response is cn-hangzhou, the following values are returned for the LocalName parameter:
|
华东1(杭州) |
| EndPoint |
string |
The public endpoint of the region. For example, if the value of the RegionId parameter in the response is cn-hangzhou, the following value is returned for the EndPoint parameter:
|
mongodb.aliyuncs.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "4E46C22C-D3B7-4DB8-9C76-63851BE68E20",
"Regions": {
"DdsRegion": [
{
"Zones": {
"Zone": [
{
"ZoneId": "cn-hangzhou-h",
"VpcEnabled": true,
"ZoneName": "杭州 可用区H"
}
]
},
"RegionId": "cn-hangzhou",
"RegionName": "华东1(杭州)",
"EndPoint": "mongodb.aliyuncs.com"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.