LocalUserInner Class

public final class LocalUserInner
extends ProxyResource

The local user associated with the storage accounts.

Constructor Summary

Constructor Description
LocalUserInner()

Creates an instance of LocalUserInner class.

Method Summary

Modifier and Type Method and Description
Boolean allowAclAuthorization()

Get the allowAclAuthorization property: Indicates whether ACL authorization is allowed for this user.

List<Integer> extendedGroups()

Get the extendedGroups property: Supplementary group membership.

static LocalUserInner fromJson(JsonReader jsonReader)

Reads an instance of LocalUserInner from the JsonReader.

Integer groupId()

Get the groupId property: An identifier for associating a group of users.

Boolean hasSharedKey()

Get the hasSharedKey property: Indicates whether shared key exists.

Boolean hasSshKey()

Get the hasSshKey property: Indicates whether ssh key exists.

Boolean hasSshPassword()

Get the hasSshPassword property: Indicates whether ssh password exists.

String homeDirectory()

Get the homeDirectory property: Optional, local user home directory.

String id()

Get the id property: Fully qualified resource Id for the resource.

Boolean isNFSv3Enabled()

Get the isNFSv3Enabled property: Indicates if the local user is enabled for access with NFSv3 protocol.

String name()

Get the name property: The name of the resource.

List<PermissionScope> permissionScopes()

Get the permissionScopes property: The permission scopes of the local user.

String sid()

Get the sid property: A unique Security Identifier that is generated by the server.

List<SshPublicKey> sshAuthorizedKeys()

Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

Integer userId()

Get the userId property: A unique Identifier that is generated by the server.

void validate()

Validates the instance.

LocalUserInner withAllowAclAuthorization(Boolean allowAclAuthorization)

Set the allowAclAuthorization property: Indicates whether ACL authorization is allowed for this user.

LocalUserInner withExtendedGroups(List<Integer> extendedGroups)

Set the extendedGroups property: Supplementary group membership.

LocalUserInner withGroupId(Integer groupId)

Set the groupId property: An identifier for associating a group of users.

LocalUserInner withHasSharedKey(Boolean hasSharedKey)

Set the hasSharedKey property: Indicates whether shared key exists.

LocalUserInner withHasSshKey(Boolean hasSshKey)

Set the hasSshKey property: Indicates whether ssh key exists.

LocalUserInner withHasSshPassword(Boolean hasSshPassword)

Set the hasSshPassword property: Indicates whether ssh password exists.

LocalUserInner withHomeDirectory(String homeDirectory)

Set the homeDirectory property: Optional, local user home directory.

LocalUserInner withIsNFSv3Enabled(Boolean isNFSv3Enabled)

Set the isNFSv3Enabled property: Indicates if the local user is enabled for access with NFSv3 protocol.

LocalUserInner withPermissionScopes(List<PermissionScope> permissionScopes)

Set the permissionScopes property: The permission scopes of the local user.

LocalUserInner withSshAuthorizedKeys(List<SshPublicKey> sshAuthorizedKeys)

Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

LocalUserInner

public LocalUserInner()

Creates an instance of LocalUserInner class.

Method Details

allowAclAuthorization

public Boolean allowAclAuthorization()

Get the allowAclAuthorization property: Indicates whether ACL authorization is allowed for this user. Set it to false to disallow using ACL authorization.

Returns:

the allowAclAuthorization value.

extendedGroups

public List extendedGroups()

Get the extendedGroups property: Supplementary group membership. Only applicable for local users enabled for NFSv3 access.

Returns:

the extendedGroups value.

fromJson

public static LocalUserInner fromJson(JsonReader jsonReader)

Reads an instance of LocalUserInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LocalUserInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

groupId

public Integer groupId()

Get the groupId property: An identifier for associating a group of users.

Returns:

the groupId value.

hasSharedKey

public Boolean hasSharedKey()

Get the hasSharedKey property: Indicates whether shared key exists. Set it to false to remove existing shared key.

Returns:

the hasSharedKey value.

hasSshKey

public Boolean hasSshKey()

Get the hasSshKey property: Indicates whether ssh key exists. Set it to false to remove existing SSH key.

Returns:

the hasSshKey value.

hasSshPassword

public Boolean hasSshPassword()

Get the hasSshPassword property: Indicates whether ssh password exists. Set it to false to remove existing SSH password.

Returns:

the hasSshPassword value.

homeDirectory

public String homeDirectory()

Get the homeDirectory property: Optional, local user home directory.

Returns:

the homeDirectory value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

LocalUserInner.id()

Returns:

the id value.

isNFSv3Enabled

public Boolean isNFSv3Enabled()

Get the isNFSv3Enabled property: Indicates if the local user is enabled for access with NFSv3 protocol.

Returns:

the isNFSv3Enabled value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

LocalUserInner.name()

Returns:

the name value.

permissionScopes

public List permissionScopes()

Get the permissionScopes property: The permission scopes of the local user.

Returns:

the permissionScopes value.

sid

public String sid()

Get the sid property: A unique Security Identifier that is generated by the server.

Returns:

the sid value.

sshAuthorizedKeys

public List sshAuthorizedKeys()

Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.

Returns:

the sshAuthorizedKeys value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

LocalUserInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

LocalUserInner.type()

Returns:

the type value.

userId

public Integer userId()

Get the userId property: A unique Identifier that is generated by the server.

Returns:

the userId value.

validate

public void validate()

Validates the instance.

withAllowAclAuthorization

public LocalUserInner withAllowAclAuthorization(Boolean allowAclAuthorization)

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

Parameters:

allowAclAuthorization - the allowAclAuthorization value to set.

Returns:

the LocalUserInner object itself.

withExtendedGroups

public LocalUserInner withExtendedGroups(List extendedGroups)

Set the extendedGroups property: Supplementary group membership. Only applicable for local users enabled for NFSv3 access.

Parameters:

extendedGroups - the extendedGroups value to set.

Returns:

the LocalUserInner object itself.

withGroupId

public LocalUserInner withGroupId(Integer groupId)

Set the groupId property: An identifier for associating a group of users.

Parameters:

groupId - the groupId value to set.

Returns:

the LocalUserInner object itself.

withHasSharedKey

public LocalUserInner withHasSharedKey(Boolean hasSharedKey)

Set the hasSharedKey property: Indicates whether shared key exists. Set it to false to remove existing shared key.

Parameters:

hasSharedKey - the hasSharedKey value to set.

Returns:

the LocalUserInner object itself.

withHasSshKey

public LocalUserInner withHasSshKey(Boolean hasSshKey)

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 LocalUserInner object itself.

withHasSshPassword

public LocalUserInner withHasSshPassword(Boolean hasSshPassword)

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 LocalUserInner object itself.

withHomeDirectory

public LocalUserInner withHomeDirectory(String homeDirectory)

Set the homeDirectory property: Optional, local user home directory.

Parameters:

homeDirectory - the homeDirectory value to set.

Returns:

the LocalUserInner object itself.

withIsNFSv3Enabled

public LocalUserInner withIsNFSv3Enabled(Boolean isNFSv3Enabled)

Set the isNFSv3Enabled property: Indicates if the local user is enabled for access with NFSv3 protocol.

Parameters:

isNFSv3Enabled - the isNFSv3Enabled value to set.

Returns:

the LocalUserInner object itself.

withPermissionScopes

public LocalUserInner withPermissionScopes(List permissionScopes)

Set the permissionScopes property: The permission scopes of the local user.

Parameters:

permissionScopes - the permissionScopes value to set.

Returns:

the LocalUserInner object itself.

withSshAuthorizedKeys

public LocalUserInner withSshAuthorizedKeys(List sshAuthorizedKeys)

Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.

Parameters:

sshAuthorizedKeys - the sshAuthorizedKeys value to set.

Returns:

the LocalUserInner object itself.

Applies to