StorageAccountLocalUserCollection Class

Definition

A class representing a collection of StorageAccountLocalUserResource and their operations. Each StorageAccountLocalUserResource in the collection will belong to the same instance of StorageAccountResource. To get a StorageAccountLocalUserCollection instance call the GetStorageAccountLocalUsers method from an instance of StorageAccountResource.

public class StorageAccountLocalUserCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Storage.StorageAccountLocalUserResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.StorageAccountLocalUserResource>
type StorageAccountLocalUserCollection = class
    inherit ArmCollection
    interface seq<StorageAccountLocalUserResource>
    interface IEnumerable
    interface IAsyncEnumerable<StorageAccountLocalUserResource>
Public Class StorageAccountLocalUserCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of StorageAccountLocalUserResource), IEnumerable(Of StorageAccountLocalUserResource)
Inheritance
StorageAccountLocalUserCollection
Implements

Constructors

StorageAccountLocalUserCollection()

Initializes a new instance of the StorageAccountLocalUserCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, StorageAccountLocalUserData, CancellationToken)

Create or update the properties of a local user associated with the storage account. Properties for NFSv3 enablement and extended groups cannot be set with other properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
  • Operation Id: LocalUsers_CreateOrUpdate
  • Default Api Version: 2023-05-01
  • Resource: StorageAccountLocalUserResource
CreateOrUpdateAsync(WaitUntil, String, StorageAccountLocalUserData, CancellationToken)

Create or update the properties of a local user associated with the storage account. Properties for NFSv3 enablement and extended groups cannot be set with other properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
  • Operation Id: LocalUsers_CreateOrUpdate
  • Default Api Version: 2023-05-01
  • Resource: StorageAccountLocalUserResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
  • Operation Id: LocalUsers_Get
  • Default Api Version: 2023-05-01
  • Resource: StorageAccountLocalUserResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
  • Operation Id: LocalUsers_Get
  • Default Api Version: 2023-05-01
  • Resource: StorageAccountLocalUserResource
Get(String, CancellationToken)

Get the local user of the storage account by username.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
  • Operation Id: LocalUsers_Get
  • Default Api Version: 2023-05-01
  • Resource: StorageAccountLocalUserResource
GetAll(Nullable<Int32>, String, Nullable<ListLocalUserIncludeParam>, CancellationToken)

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
GetAllAsync(Nullable<Int32>, String, Nullable<ListLocalUserIncludeParam>, CancellationToken)

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
GetAsync(String, CancellationToken)

Get the local user of the storage account by username.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
  • Operation Id: LocalUsers_Get
  • Default Api Version: 2023-05-01
  • Resource: StorageAccountLocalUserResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
  • Operation Id: LocalUsers_Get
  • Default Api Version: 2023-05-01
  • Resource: StorageAccountLocalUserResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
  • Operation Id: LocalUsers_Get
  • Default Api Version: 2023-05-01
  • Resource: StorageAccountLocalUserResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<StorageAccountLocalUserResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<StorageAccountLocalUserResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to