Freigeben über


RestorableCosmosDBAccountResource.GetAsync(CancellationToken) Methode

Definition

Ruft die Eigenschaften eines vorhandenen, wiederherstellbaren Azure Cosmos DB-Datenbankkontos ab. Für diesen Aufruf ist die Berechtigung "Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*" erforderlich.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}
  • Vorgang IdRestorableDatabaseAccounts_GetByLocation
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.RestorableCosmosDBAccountResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.RestorableCosmosDBAccountResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.RestorableCosmosDBAccountResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RestorableCosmosDBAccountResource))

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: