共用方式為


StorageActionsExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.StorageActions.

public static class StorageActionsExtensions
type StorageActionsExtensions = class
Public Module StorageActionsExtensions
Inheritance
StorageActionsExtensions

Methods

GetStorageTask(ResourceGroupResource, String, CancellationToken)

Get the storage task properties

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}
  • Operation Id: StorageTasks_Get
  • Default Api Version: 2023-01-01
  • Resource: StorageTaskResource
GetStorageTaskAsync(ResourceGroupResource, String, CancellationToken)

Get the storage task properties

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}
  • Operation Id: StorageTasks_Get
  • Default Api Version: 2023-01-01
  • Resource: StorageTaskResource
GetStorageTaskResource(ArmClient, ResourceIdentifier)

Gets an object representing a StorageTaskResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a StorageTaskResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStorageTaskResource(ResourceIdentifier) instead.

GetStorageTasks(ResourceGroupResource)

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

GetStorageTasks(SubscriptionResource, CancellationToken)

Lists all the storage tasks available under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageActions/storageTasks
  • Operation Id: StorageTasks_ListBySubscription
  • Default Api Version: 2023-01-01
  • Resource: StorageTaskResource
GetStorageTasksAsync(SubscriptionResource, CancellationToken)

Lists all the storage tasks available under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageActions/storageTasks
  • Operation Id: StorageTasks_ListBySubscription
  • Default Api Version: 2023-01-01
  • Resource: StorageTaskResource
PreviewActions(SubscriptionResource, AzureLocation, StorageTaskPreviewAction, CancellationToken)

Runs the input conditions against input object metadata properties and designates matched objects in response.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageActions/locations/{location}/previewActions
  • Operation Id: StorageTasks_PreviewActions
  • Default Api Version: 2023-01-01
  • Resource: StorageTaskResource
PreviewActionsAsync(SubscriptionResource, AzureLocation, StorageTaskPreviewAction, CancellationToken)

Runs the input conditions against input object metadata properties and designates matched objects in response.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageActions/locations/{location}/previewActions
  • Operation Id: StorageTasks_PreviewActions
  • Default Api Version: 2023-01-01
  • Resource: StorageTaskResource

Applies to