Share via


MoverResourceSetCollection Class

Definition

A class representing a collection of MoverResourceSetResource and their operations. Each MoverResourceSetResource in the collection will belong to the same instance of ResourceGroupResource. To get a MoverResourceSetCollection instance call the GetMoverResourceSets method from an instance of ResourceGroupResource.

public class MoverResourceSetCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ResourceMover.MoverResourceSetResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceMover.MoverResourceSetResource>
type MoverResourceSetCollection = class
    inherit ArmCollection
    interface seq<MoverResourceSetResource>
    interface IEnumerable
    interface IAsyncEnumerable<MoverResourceSetResource>
Public Class MoverResourceSetCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of MoverResourceSetResource), IEnumerable(Of MoverResourceSetResource)
Inheritance
MoverResourceSetCollection
Implements

Constructors

MoverResourceSetCollection()

Initializes a new instance of the MoverResourceSetCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, MoverResourceSetData, CancellationToken)

Creates or updates a move collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
  • Operation Id: MoveCollections_Create
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource
CreateOrUpdateAsync(WaitUntil, String, MoverResourceSetData, CancellationToken)

Creates or updates a move collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
  • Operation Id: MoveCollections_Create
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
  • Operation Id: MoveCollections_Get
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
  • Operation Id: MoveCollections_Get
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource
Get(String, CancellationToken)

Gets the move collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
  • Operation Id: MoveCollections_Get
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource
GetAll(CancellationToken)

Get all the Move Collections in the resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections
  • Operation Id: MoveCollections_ListMoveCollectionsByResourceGroup
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource
GetAllAsync(CancellationToken)

Get all the Move Collections in the resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections
  • Operation Id: MoveCollections_ListMoveCollectionsByResourceGroup
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource
GetAsync(String, CancellationToken)

Gets the move collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
  • Operation Id: MoveCollections_Get
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
  • Operation Id: MoveCollections_Get
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
  • Operation Id: MoveCollections_Get
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<MoverResourceSetResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MoverResourceSetResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to