StorageTaskCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all the storage tasks available under the given resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks
  • Operation Id: StorageTasks_ListByResourceGroup
  • Default Api Version: 2023-01-01
  • Resource: StorageTaskResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.StorageActions.StorageTaskResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageActions.StorageTaskResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageActions.StorageTaskResource>
Public Overridable Function GetAllAsync (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