Udostępnij za pośrednictwem


MigrateExtensions.GetMoveCollections Method

Definition

Overloads

GetMoveCollections(ResourceGroupResource)

Gets a collection of MoveCollectionResources in the ResourceGroupResource.

GetMoveCollections(SubscriptionResource, CancellationToken)

Get all the Move Collections in the subscription. Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Migrate/moveCollections Operation Id: MoveCollections_ListMoveCollectionsBySubscription

GetMoveCollections(ResourceGroupResource)

Source:
MigrateExtensions.cs

Gets a collection of MoveCollectionResources in the ResourceGroupResource.

public static Azure.ResourceManager.Migrate.MoveCollectionCollection GetMoveCollections (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetMoveCollections : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Migrate.MoveCollectionCollection
<Extension()>
Public Function GetMoveCollections (resourceGroupResource As ResourceGroupResource) As MoveCollectionCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of MoveCollectionResources and their operations over a MoveCollectionResource.

Applies to

GetMoveCollections(SubscriptionResource, CancellationToken)

Source:
MigrateExtensions.cs

Get all the Move Collections in the subscription. Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Migrate/moveCollections Operation Id: MoveCollections_ListMoveCollectionsBySubscription

public static Azure.Pageable<Azure.ResourceManager.Migrate.MoveCollectionResource> GetMoveCollections (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMoveCollections : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Migrate.MoveCollectionResource>
<Extension()>
Public Function GetMoveCollections (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MoveCollectionResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to