Compartilhar via


CosmosDBLocationCollection.Exists(AzureLocation, CancellationToken) Método

Definição

Verifica se o recurso existe no azure.

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

Parâmetros

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