共用方式為


MoveCollectionCollection Class

Definition

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

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

Constructors

MoveCollectionCollection()

Initializes a new instance of the MoveCollectionCollection 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, MoveCollectionData, CancellationToken)

Creates or updates a move collection. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName} Operation Id: MoveCollections_Create

CreateOrUpdateAsync(WaitUntil, String, MoveCollectionData, CancellationToken)

Creates or updates a move collection. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName} Operation Id: MoveCollections_Create

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

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

Get(String, CancellationToken)

Gets the move collection. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName} Operation Id: MoveCollections_Get

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

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

GetAsync(String, CancellationToken)

Gets the move collection. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName} Operation Id: MoveCollections_Get

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<MoveCollectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MoveCollectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to