Freigeben über


RestorableCosmosDBAccountCollection Klasse

Definition

Eine Klasse, die eine Auflistung von und deren RestorableCosmosDBAccountResource Vorgänge darstellt. Jedes RestorableCosmosDBAccountResource in der Auflistung gehört zum gleichen instance von CosmosDBLocationResource. Um einen RestorableCosmosDBAccountCollection instance rufen Sie die GetRestorableCosmosDBAccounts-Methode aus einer instance von aufCosmosDBLocationResource.

public class RestorableCosmosDBAccountCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.CosmosDB.RestorableCosmosDBAccountResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.RestorableCosmosDBAccountResource>
type RestorableCosmosDBAccountCollection = class
    inherit ArmCollection
    interface seq<RestorableCosmosDBAccountResource>
    interface IEnumerable
    interface IAsyncEnumerable<RestorableCosmosDBAccountResource>
Public Class RestorableCosmosDBAccountCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of RestorableCosmosDBAccountResource), IEnumerable(Of RestorableCosmosDBAccountResource)
Vererbung
RestorableCosmosDBAccountCollection
Implementiert

Konstruktoren

RestorableCosmosDBAccountCollection()

Initialisiert eine neue instance der -Klasse für die RestorableCosmosDBAccountCollection Simulation.

Eigenschaften

Client

Ruft den ArmClient ab, aus dem dieser Ressourcenclient erstellt wurde.

(Geerbt von ArmCollection)
Diagnostics

Ruft die Diagnoseoptionen für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Endpoint

Ruft den Basis-URI für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Id

Ruft den Ressourcenbezeichner ab.

(Geerbt von ArmCollection)
Pipeline

Ruft die Pipeline für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)

Methoden

Exists(Guid, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}
  • Vorgangs-IdRestorableDatabaseAccounts_GetByLocation
ExistsAsync(Guid, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}
  • Vorgangs-IdRestorableDatabaseAccounts_GetByLocation
Get(Guid, CancellationToken)

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

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}
  • Vorgangs-IdRestorableDatabaseAccounts_GetByLocation
GetAll(CancellationToken)

Listet alle wiederherstellbaren Azure Cosmos DB-Datenbankkonten auf, die unter dem Abonnement und in einer Region verfügbar sind. Für diesen Aufruf ist die Berechtigung "Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read" erforderlich.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
  • Vorgangs-IdRestorableDatabaseAccounts_ListByLocation
GetAllAsync(CancellationToken)

Listet alle wiederherstellbaren Azure Cosmos DB-Datenbankkonten auf, die unter dem Abonnement und in einer Region verfügbar sind. Für diesen Aufruf ist die Berechtigung "Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read" erforderlich.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts
  • Vorgangs-IdRestorableDatabaseAccounts_ListByLocation
GetAsync(Guid, CancellationToken)

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

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}
  • Vorgangs-IdRestorableDatabaseAccounts_GetByLocation
GetIfExists(Guid, CancellationToken)

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}
  • Vorgangs-IdRestorableDatabaseAccounts_GetByLocation
GetIfExistsAsync(Guid, CancellationToken)

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}
  • Vorgangs-IdRestorableDatabaseAccounts_GetByLocation
TryGetApiVersion(ResourceType, String)

Ruft die API-Version außer Kraft, wenn sie für die aktuellen Clientoptionen festgelegt wurde.

(Geerbt von ArmCollection)

Explizite Schnittstellenimplementierungen

IAsyncEnumerable<RestorableCosmosDBAccountResource>.GetAsyncEnumerator(CancellationToken)

Gibt einen Enumerator zurück, der die Sammlung asynchron durchläuft.

IEnumerable.GetEnumerator()

Gibt einen Enumerator zurück, der eine Auflistung durchläuft.

IEnumerable<RestorableCosmosDBAccountResource>.GetEnumerator()

Gibt einen Enumerator zurück, der die Auflistung durchläuft.

Gilt für: