共用方式為


StorageMoverCollection Class

Definition

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

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

Constructors

StorageMoverCollection()

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

Creates or updates a top-level Storage Mover resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
  • Operation Id: StorageMovers_CreateOrUpdate
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource
CreateOrUpdateAsync(WaitUntil, String, StorageMoverData, CancellationToken)

Creates or updates a top-level Storage Mover resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
  • Operation Id: StorageMovers_CreateOrUpdate
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
  • Operation Id: StorageMovers_Get
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
  • Operation Id: StorageMovers_Get
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource
Get(String, CancellationToken)

Gets a Storage Mover resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
  • Operation Id: StorageMovers_Get
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource
GetAll(CancellationToken)

Lists all Storage Movers in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers
  • Operation Id: StorageMovers_List
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource
GetAllAsync(CancellationToken)

Lists all Storage Movers in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers
  • Operation Id: StorageMovers_List
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource
GetAsync(String, CancellationToken)

Gets a Storage Mover resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
  • Operation Id: StorageMovers_Get
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
  • Operation Id: StorageMovers_Get
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
  • Operation Id: StorageMovers_Get
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource
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<StorageMoverResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<StorageMoverResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to