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.v2021_08_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, **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.

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.