Udostępnij za pośrednictwem


MockableStorageActionsSubscriptionResource.GetStorageTasks 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.Pageable<Azure.ResourceManager.StorageActions.StorageTaskResource> GetStorageTasks (System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageTasks : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StorageActions.StorageTaskResource>
override this.GetStorageTasks : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StorageActions.StorageTaskResource>
Public Overridable Function GetStorageTasks (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