FileShareCollection.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk