Share via


FileShareCollection.GetAllAsync Method

Definition

Overloads

GetAllAsync(Nullable<Int32>, String, String, CancellationToken)

Lists all shares.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares
  • Operation Id: FileShares_List
  • Default Api Version: 2023-05-01
  • Resource: FileShareResource
GetAllAsync(String, String, String, CancellationToken)

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

GetAllAsync(Nullable<Int32>, String, String, CancellationToken)

Source:
FileShareCollection.cs

Lists all shares.

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

Parameters

maxpagesize
Nullable<Int32>

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

GetAllAsync(String, String, String, CancellationToken)

Source:
FileShareCollection.cs
Source:
FileShareCollection.cs

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, string filter, string expand, System.Threading.CancellationToken cancellationToken);
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 (maxpagesize As String, filter As String, expand As String, cancellationToken As CancellationToken) As AsyncPageable(Of 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