MockableStorageActionsSubscriptionResource.GetStorageTasksAsync Method

Definition

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
public virtual Azure.AsyncPageable<Azure.ResourceManager.StorageActions.StorageTaskResource> GetStorageTasksAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageTasksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageActions.StorageTaskResource>
override this.GetStorageTasksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageActions.StorageTaskResource>
Public Overridable Function GetStorageTasksAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StorageTaskResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of StorageTaskResource that may take multiple service requests to iterate over.

Applies to