MockableRecoveryServicesSiteRecoveryResourceGroupResource.GetSiteRecoveryMigrationItemsAsync Method

Definition

Gets the list of migration items in the vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationMigrationItems
  • Operation Id: ReplicationMigrationItems_List
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryMigrationItemResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryMigrationItemResource> GetSiteRecoveryMigrationItemsAsync (string resourceName, string skipToken = default, string takeToken = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSiteRecoveryMigrationItemsAsync : string * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryMigrationItemResource>
override this.GetSiteRecoveryMigrationItemsAsync : string * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryMigrationItemResource>
Public Overridable Function GetSiteRecoveryMigrationItemsAsync (resourceName As String, 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

resourceName
String

The name of the recovery services vault.

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.

Exceptions

resourceName is an empty string, and was expected to be non-empty.

resourceName is null.

Applies to