共用方式為


RecoveryServicesSiteRecoveryExtensions.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 static Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryMigrationItemResource> GetSiteRecoveryMigrationItemsAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName, string skipToken = default, string takeToken = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSiteRecoveryMigrationItemsAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryMigrationItemResource>
<Extension()>
Public Function GetSiteRecoveryMigrationItemsAsync (resourceGroupResource As ResourceGroupResource, 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

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

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.

resourceGroupResource or resourceName is null.

Applies to