Compartilhar via


CosmosDBExtensions.GetCosmosDBLocation 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 static Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBLocationResource> GetCosmosDBLocation (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetCosmosDBLocation : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBLocationResource>
<Extension()>
Public Function GetCosmosDBLocation (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CosmosDBLocationResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

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