共用方式為


SiteRecoveryProtectionContainerCollection.GetAllAsync Method

Definition

Lists the protection containers in the specified fabric.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers
  • Operation Id: ReplicationProtectionContainers_ListByReplicationFabrics
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryProtectionContainerResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectionContainerResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectionContainerResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectionContainerResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SiteRecoveryProtectionContainerResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SiteRecoveryProtectionContainerResource that may take multiple service requests to iterate over.

Applies to