Partilhar via


RestorableCosmosDBAccountCollection.Get(Guid, CancellationToken) Método

Definição

Recupera as propriedades de uma conta de banco de dados restaurável existente do Azure Cosmos DB. Essa chamada requer a permissão 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*'.

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