Delen via


StorageTaskAssignmentCollection.GetAllAsync Method

Definition

List all the storage task assignments in an account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments
  • Operation Id: StorageTaskAssignments_List
  • Default Api Version: 2023-05-01
  • Resource: StorageTaskAssignmentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.StorageTaskAssignmentResource> GetAllAsync (int? maxpagesize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.StorageTaskAssignmentResource>
override this.GetAllAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.StorageTaskAssignmentResource>
Public Overridable Function GetAllAsync (Optional maxpagesize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StorageTaskAssignmentResource)

Parameters

maxpagesize
Nullable<Int32>

Optional, specifies the maximum number of storage task assignment Ids to be included in the list response.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to