Sdílet prostřednictvím


FileShareCollection.GetAll(String, String, String, CancellationToken) 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.Pageable<Azure.ResourceManager.Storage.FileShareResource> GetAll (string maxpagesize = default, string filter = default, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.FileShareResource>
override this.GetAll : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.FileShareResource>
Public Overridable Function GetAll (Optional maxpagesize As String = Nothing, Optional filter As String = Nothing, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Applies to