Consulta todas as regiões e zonas suportadas para uma instância ApsaraDB for MongoDB.
Descrição da operação
Para consultar regiões e zonas disponíveis nas quais uma instância ApsaraDB for MongoDB pode ser criada, chame a operação DescribeAvailableResource.
Experimente agora
Testar
Autorização RAM
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Não |
O ID da região. Nota
Se você não especificar este parâmetro, todas as regiões suportadas serão consultadas. |
cn-hangzhou |
| AcceptLanguage |
string |
Não |
O idioma dos valores dos parâmetros RegionName e ZoneName retornados. Valores válidos:
|
zh |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
As regiões e zonas. |
||
| RequestId |
string |
O ID da solicitação. |
4E46C22C-D3B7-4DB8-9C76-63851BE68E20 |
| Regions |
object |
||
| DdsRegion |
array<object> |
As regiões. |
|
|
array<object> |
A região. |
||
| 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:
|
Hangzhou Zone 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:
|
China (Hangzhou) |
| 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 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "4E46C22C-D3B7-4DB8-9C76-63851BE68E20",
"Regions": {
"DdsRegion": [
{
"Zones": {
"Zone": [
{
"ZoneId": "cn-hangzhou-h",
"VpcEnabled": true,
"ZoneName": "Hangzhou Zone H"
}
]
},
"RegionId": "cn-hangzhou",
"RegionName": "China (Hangzhou)",
"EndPoint": "mongodb.aliyuncs.com"
}
]
}
}
Códigos de erro
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.