Partilhar via


RestorableCosmosDBAccountCollection.Exists(Guid, CancellationToken) Método

Definição

Verifica se o recurso existe no azure.

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

Parâmetros

instanceId
Guid

O GUID instanceId de uma conta de banco de dados restaurável.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a