Partilhar via


CosmosDBLocationResource.GetRestorableCosmosDBAccount Método

Definição

Recupera as propriedades de uma conta de banco de dados restaurável do Azure Cosmos DB existente. 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> GetRestorableCosmosDBAccount (Guid instanceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableCosmosDBAccount : Guid * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.RestorableCosmosDBAccountResource>
override this.GetRestorableCosmosDBAccount : Guid * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.RestorableCosmosDBAccountResource>
Public Overridable Function GetRestorableCosmosDBAccount (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