Compartilhar via


CosmosDBLocationCollection.Get(AzureLocation, CancellationToken) Método

Definição

Obter as propriedades de um local existente do Cosmos DB

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}
  • Operação IdLocations_Get
public virtual Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBLocationResource> Get (Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBLocationResource>
override this.Get : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBLocationResource>
Public Overridable Function Get (location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CosmosDBLocationResource)

Parâmetros

location
AzureLocation

Região do Cosmos DB, com espaços entre palavras e cada palavra maiúscula.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a