StorageMoverExtensions.GetStorageMovers Method

Definition

Overloads

GetStorageMovers(ResourceGroupResource)

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

GetStorageMovers(SubscriptionResource, CancellationToken)

Lists all Storage Movers in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageMover/storageMovers
  • Operation Id: StorageMovers_ListBySubscription
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource

GetStorageMovers(ResourceGroupResource)

Source:
StorageMoverExtensions.cs
Source:
StorageMoverExtensions.cs

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

public static Azure.ResourceManager.StorageMover.StorageMoverCollection GetStorageMovers (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetStorageMovers : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.StorageMover.StorageMoverCollection
<Extension()>
Public Function GetStorageMovers (resourceGroupResource As ResourceGroupResource) As StorageMoverCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of StorageMoverResources and their operations over a StorageMoverResource.

Exceptions

resourceGroupResource is null.

Applies to

GetStorageMovers(SubscriptionResource, CancellationToken)

Source:
StorageMoverExtensions.cs
Source:
StorageMoverExtensions.cs

Lists all Storage Movers in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageMover/storageMovers
  • Operation Id: StorageMovers_ListBySubscription
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource
public static Azure.Pageable<Azure.ResourceManager.StorageMover.StorageMoverResource> GetStorageMovers (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetStorageMovers : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StorageMover.StorageMoverResource>
<Extension()>
Public Function GetStorageMovers (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of StorageMoverResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to