Freigeben über


SiteRecoveryProtectableItemCollection Klasse

Definition

Eine Klasse, die eine Auflistung von und deren SiteRecoveryProtectableItemResource Vorgänge darstellt. Jedes SiteRecoveryProtectableItemResource in der Auflistung gehört zum gleichen instance von SiteRecoveryProtectionContainerResource. Um eine SiteRecoveryProtectableItemCollection instance rufen Sie die GetSiteRecoveryProtectableItems-Methode aus einer instance von aufSiteRecoveryProtectionContainerResource.

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

Konstruktoren

SiteRecoveryProtectableItemCollection()

Initialisiert eine neue instance der -Klasse für die SiteRecoveryProtectableItemCollection 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(String, CancellationToken)

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}
  • Vorgangs-IdReplicationProtectableItems_Get
ExistsAsync(String, CancellationToken)

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}
  • Vorgangs-IdReplicationProtectableItems_Get
Get(String, CancellationToken)

Der Vorgang zum Abrufen der Details eines schützbaren Elements.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}
  • Vorgangs-IdReplicationProtectableItems_Get
GetAll(String, String, String, CancellationToken)

Listet die zu schützenden Elemente in einem Schutzcontainer auf.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems
  • Vorgangs-IdReplicationProtectableItems_ListByReplicationProtectionContainers
GetAllAsync(String, String, String, CancellationToken)

Listet die zu schützenden Elemente in einem Schutzcontainer auf.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems
  • Vorgangs-IdReplicationProtectableItems_ListByReplicationProtectionContainers
GetAsync(String, CancellationToken)

Der Vorgang zum Abrufen der Details eines schützbaren Elements.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}
  • Vorgangs-IdReplicationProtectableItems_Get
GetIfExists(String, CancellationToken)

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}
  • Vorgangs-IdReplicationProtectableItems_Get
GetIfExistsAsync(String, CancellationToken)

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}
  • Vorgangs-IdReplicationProtectableItems_Get
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<SiteRecoveryProtectableItemResource>.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<SiteRecoveryProtectableItemResource>.GetEnumerator()

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

Gilt für: