Share via


SiteRecoveryMigrationItemCollection.GetAllAsync Method

Definition

Gets the list of ASR migration items in the protection container.

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

Parameters

skipToken
String

The pagination token.

takeToken
String

The page size.

filter
String

OData filter options.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to