ProtectionContainerMappingCollection.GetAll(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.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.ProtectionContainerMappingResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.ProtectionContainerMappingResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.ProtectionContainerMappingResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ProtectionContainerMappingResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to