Share via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to