ResourceMoverExtensions.GetMoverResourceSets Method

Definition

Overloads

GetMoverResourceSets(ResourceGroupResource)

Gets a collection of MoverResourceSetResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMoverResourceSets() instead.

GetMoverResourceSets(SubscriptionResource, CancellationToken)

Get all the Move Collections in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Migrate/moveCollections
  • Operation Id: MoveCollections_ListMoveCollectionsBySubscription
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource

GetMoverResourceSets(ResourceGroupResource)

Source:
ResourceMoverExtensions.cs
Source:
ResourceMoverExtensions.cs

Gets a collection of MoverResourceSetResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMoverResourceSets() instead.

public static Azure.ResourceManager.ResourceMover.MoverResourceSetCollection GetMoverResourceSets (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetMoverResourceSets : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ResourceMover.MoverResourceSetCollection
<Extension()>
Public Function GetMoverResourceSets (resourceGroupResource As ResourceGroupResource) As MoverResourceSetCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of MoverResourceSetResources and their operations over a MoverResourceSetResource.

Exceptions

resourceGroupResource is null.

Applies to

GetMoverResourceSets(SubscriptionResource, CancellationToken)

Source:
ResourceMoverExtensions.cs
Source:
ResourceMoverExtensions.cs

Get all the Move Collections in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Migrate/moveCollections
  • Operation Id: MoveCollections_ListMoveCollectionsBySubscription
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource
public static Azure.Pageable<Azure.ResourceManager.ResourceMover.MoverResourceSetResource> GetMoverResourceSets (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMoverResourceSets : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ResourceMover.MoverResourceSetResource>
<Extension()>
Public Function GetMoverResourceSets (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MoverResourceSetResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to