Compartilhar via


RestorableCosmosDBAccountCollection.GetIfExists Método

Definição

Tenta obter detalhes para esse recurso do serviço.

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

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