MockableRecoveryServicesSiteRecoveryResourceGroupResource.GetSiteRecoveryMigrationItems 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.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryMigrationItemResource> GetSiteRecoveryMigrationItems (string resourceName, string skipToken = default, string takeToken = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSiteRecoveryMigrationItems : string * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryMigrationItemResource>
override this.GetSiteRecoveryMigrationItems : string * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryMigrationItemResource>
Public Overridable Function GetSiteRecoveryMigrationItems (resourceName As String, Optional skipToken As String = Nothing, Optional takeToken As String = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

A 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