Class LocalUserProperties
java.lang.Object
com.azure.resourcemanager.storage.fluent.models.LocalUserProperties
The Storage Account Local User properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the hasSharedKey property: Indicates whether shared key exists.Get the hasSshKey property: Indicates whether ssh key exists.Get the hasSshPassword property: Indicates whether ssh password exists.Get the homeDirectory property: Optional, local user home directory.Get the permissionScopes property: The permission scopes of the local user.sid()Get the sid property: A unique Security Identifier that is generated by the server.Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.voidvalidate()Validates the instance.withHasSharedKey(Boolean hasSharedKey) Set the hasSharedKey property: Indicates whether shared key exists.withHasSshKey(Boolean hasSshKey) Set the hasSshKey property: Indicates whether ssh key exists.withHasSshPassword(Boolean hasSshPassword) Set the hasSshPassword property: Indicates whether ssh password exists.withHomeDirectory(String homeDirectory) Set the homeDirectory property: Optional, local user home directory.withPermissionScopes(List<PermissionScope> permissionScopes) Set the permissionScopes property: The permission scopes of the local user.withSshAuthorizedKeys(List<SshPublicKey> sshAuthorizedKeys) Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.
-
Constructor Details
-
LocalUserProperties
public LocalUserProperties()
-
-
Method Details
-
permissionScopes
Get the permissionScopes property: The permission scopes of the local user.- Returns:
- the permissionScopes value.
-
withPermissionScopes
Set the permissionScopes property: The permission scopes of the local user.- Parameters:
permissionScopes- the permissionScopes value to set.- Returns:
- the LocalUserProperties object itself.
-
homeDirectory
Get the homeDirectory property: Optional, local user home directory.- Returns:
- the homeDirectory value.
-
withHomeDirectory
Set the homeDirectory property: Optional, local user home directory.- Parameters:
homeDirectory- the homeDirectory value to set.- Returns:
- the LocalUserProperties object itself.
-
sshAuthorizedKeys
Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.- Returns:
- the sshAuthorizedKeys value.
-
withSshAuthorizedKeys
Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.- Parameters:
sshAuthorizedKeys- the sshAuthorizedKeys value to set.- Returns:
- the LocalUserProperties object itself.
-
sid
Get the sid property: A unique Security Identifier that is generated by the server.- Returns:
- the sid value.
-
hasSshKey
Get the hasSshKey property: Indicates whether ssh key exists. Set it to false to remove existing SSH key.- Returns:
- the hasSshKey value.
-
withHasSshKey
Set the hasSshKey property: Indicates whether ssh key exists. Set it to false to remove existing SSH key.- Parameters:
hasSshKey- the hasSshKey value to set.- Returns:
- the LocalUserProperties object itself.
-
hasSshPassword
Get the hasSshPassword property: Indicates whether ssh password exists. Set it to false to remove existing SSH password.- Returns:
- the hasSshPassword value.
-
withHasSshPassword
Set the hasSshPassword property: Indicates whether ssh password exists. Set it to false to remove existing SSH password.- Parameters:
hasSshPassword- the hasSshPassword value to set.- Returns:
- the LocalUserProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-