Todos os produtos
Search
Central de documentação

ApsaraDB for MongoDB:DescribeRegions

Última atualização: Jun 28, 2026

Consulta todas as regiões e zonas suportadas para uma instância ApsaraDB for MongoDB.

Descrição da operação

Nota

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

Experimente esta API no OpenAPI Explorer, sem necessidade de assinatura manual. Chamadas bem-sucedidas geram automaticamente código SDK correspondente aos seus parâmetros. Faça o download com segurança de credenciais integrada para uso local.

Testar

Autorização RAM

Nenhuma autorização necessária para esta operação. Se você encontrar problemas com esta operação, entre em contato com o suporte técnico.

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 (padrão)

  • en

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: VPC is supported.

  • false: VPC is not supported.

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:

  • If the value of the AcceptLanguage parameter is zh, the value H is returned for the ZoneName parameter.

  • If the value of the AcceptLanguage parameter is en, the value Hangzhou Zone H is 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:

  • If the value of the AcceptLanguage parameter is zh, the value 华东 1(杭州) is returned for the LocalName parameter.

  • If the value of the AcceptLanguage parameter is en, the value China (Hangzhou) is 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

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.