Share via


FileShareCollection.GetAll Method

Definition

Overloads

GetAll(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
GetAll(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

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

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

Applies to

GetAll(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.Pageable<Azure.ResourceManager.Storage.FileShareResource> GetAll (string maxpagesize, string filter, string expand, System.Threading.CancellationToken cancellationToken);
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 (maxpagesize As String, filter As String, expand As String, cancellationToken As CancellationToken) As Pageable(Of 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