CosmosDBExtensions.GetCosmosDBLocationAsync 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}
  • IdLocations_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBLocationResource>> GetCosmosDBLocationAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetCosmosDBLocationAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBLocationResource>>
<Extension()>
Public Function GetCosmosDBLocationAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CosmosDBLocationResource))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

location
AzureLocation

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a