LocalUser Class

The local user associated with the storage accounts.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.storage.v2023_05_01.models._models_py3.Resource
LocalUser

Constructor

LocalUser(*, permission_scopes: List[_models.PermissionScope] | None = None, home_directory: str | None = None, ssh_authorized_keys: List[_models.SshPublicKey] | None = None, has_shared_key: bool | None = None, has_ssh_key: bool | None = None, has_ssh_password: bool | None = None, group_id: int | None = None, allow_acl_authorization: bool | None = None, extended_groups: List[int] | None = None, is_nf_sv3_enabled: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
permission_scopes

The permission scopes of the local user.

home_directory
str

Optional, local user home directory.

ssh_authorized_keys

Optional, local user ssh authorized keys for SFTP.

has_shared_key

Indicates whether shared key exists. Set it to false to remove existing shared key.

has_ssh_key

Indicates whether ssh key exists. Set it to false to remove existing SSH key.

has_ssh_password

Indicates whether ssh password exists. Set it to false to remove existing SSH password.

group_id
int

An identifier for associating a group of users.

allow_acl_authorization

Indicates whether ACL authorization is allowed for this user. Set it to false to disallow using ACL authorization.

extended_groups

Supplementary group membership. Only applicable for local users enabled for NFSv3 access.

is_nf_sv3_enabled

Indicates if the local user is enabled for access with NFSv3 protocol.

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data

Metadata pertaining to creation and last modification of the resource.

permission_scopes

The permission scopes of the local user.

home_directory
str

Optional, local user home directory.

ssh_authorized_keys

Optional, local user ssh authorized keys for SFTP.

sid
str

A unique Security Identifier that is generated by the server.

has_shared_key

Indicates whether shared key exists. Set it to false to remove existing shared key.

has_ssh_key

Indicates whether ssh key exists. Set it to false to remove existing SSH key.

has_ssh_password

Indicates whether ssh password exists. Set it to false to remove existing SSH password.

user_id
int

A unique Identifier that is generated by the server.

group_id
int

An identifier for associating a group of users.

allow_acl_authorization

Indicates whether ACL authorization is allowed for this user. Set it to false to disallow using ACL authorization.

extended_groups

Supplementary group membership. Only applicable for local users enabled for NFSv3 access.

is_nf_sv3_enabled

Indicates if the local user is enabled for access with NFSv3 protocol.