Dela via


MoveResourceCollection Class

Definition

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

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

Constructors

MoveResourceCollection()

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

Creates or updates a Move Resource in the move collection. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName} Operation Id: MoveResources_Create

CreateOrUpdateAsync(WaitUntil, String, MoveResourceData, CancellationToken)

Creates or updates a Move Resource in the move collection. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName} Operation Id: MoveResources_Create

Exists(String, CancellationToken)

Checks to see if the resource exists in azure. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName} Operation Id: MoveResources_Get

ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName} Operation Id: MoveResources_Get

Get(String, CancellationToken)

Gets the Move Resource. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName} Operation Id: MoveResources_Get

GetAll(String, CancellationToken)

Lists the Move Resources in the move collection. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources Operation Id: MoveResources_List

GetAllAsync(String, CancellationToken)

Lists the Move Resources in the move collection. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources Operation Id: MoveResources_List

GetAsync(String, CancellationToken)

Gets the Move Resource. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName} Operation Id: MoveResources_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<MoveResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MoveResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to