Compartir a través de


CosmosDBLocationResource.GetRestorableCosmosDBAccount Método

Definición

Recupera las propiedades de una cuenta de base de datos restaurable de Azure Cosmos DB existente. Esta llamada requiere el permiso "Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*".

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}
  • IdRestorableDatabaseAccounts_GetByLocation de operación
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

GUID instanceId de una cuenta de base de datos restaurable.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a