共用方式為


ProtectionContainerMappingCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the protection container mappings for a protection container.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to