StorageAccountLocalUserCollection.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.
List the local users associated with the storage account.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers
- Operation Id: LocalUsers_List
- Default Api Version: 2023-05-01
- Resource: StorageAccountLocalUserResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.StorageAccountLocalUserResource> GetAllAsync (int? maxpagesize = default, string filter = default, Azure.ResourceManager.Storage.Models.ListLocalUserIncludeParam? include = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * string * Nullable<Azure.ResourceManager.Storage.Models.ListLocalUserIncludeParam> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.StorageAccountLocalUserResource>
override this.GetAllAsync : Nullable<int> * string * Nullable<Azure.ResourceManager.Storage.Models.ListLocalUserIncludeParam> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.StorageAccountLocalUserResource>
Public Overridable Function GetAllAsync (Optional maxpagesize As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional include As Nullable(Of ListLocalUserIncludeParam) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StorageAccountLocalUserResource)
Parameters
Optional, specifies the maximum number of local users that will be included in the list response.
- filter
- String
Optional. When specified, only local user names starting with the filter will be listed.
- include
- Nullable<ListLocalUserIncludeParam>
Optional, when specified, will list local users enabled for the specific protocol. Lists all users by default.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of StorageAccountLocalUserResource that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET