Bagikan melalui


FileShareCollection.GetAllAsync Method

Definition

Lists all shares.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares
  • Operation Id: FileShares_List
  • Default Api Version: 2022-09-01
  • Resource: FileShareResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.FileShareResource> GetAllAsync (string maxpagesize = default, string filter = default, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.FileShareResource>
override this.GetAllAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.FileShareResource>
Public Overridable Function GetAllAsync (Optional maxpagesize As String = Nothing, Optional filter As String = Nothing, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of FileShareResource)

Parameters

maxpagesize
String

Optional. Specified maximum number of shares that can be included in the list.

filter
String

Optional. When specified, only share names starting with the filter will be listed.

expand
String

Optional, used to expand the properties within share's properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter ','.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to