LocalUserInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. storage. fluent. models. LocalUserInner
- com.
- com.
public final class LocalUserInner
extends ProxyResource
The local user associated with the storage accounts.
Constructor Summary
Constructor | Description |
---|---|
LocalUserInner() |
Creates an instance of Local |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
allowAclAuthorization()
Get the allow |
List<Integer> |
extendedGroups()
Get the extended |
static
Local |
fromJson(JsonReader jsonReader)
Reads an instance of Local |
Integer |
groupId()
Get the group |
Boolean |
hasSharedKey()
Get the has |
Boolean |
hasSshKey()
Get the has |
Boolean |
hasSshPassword()
Get the has |
String |
homeDirectory()
Get the home |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Boolean |
isNFSv3Enabled()
Get the is |
String |
name()
Get the name property: The name of the resource. |
List<Permission |
permissionScopes()
Get the permission |
String |
sid()
Get the sid property: A unique Security Identifier that is generated by the server. |
List<Ssh |
sshAuthorizedKeys()
Get the ssh |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
Integer |
userId()
Get the user |
void |
validate()
Validates the instance. |
Local |
withAllowAclAuthorization(Boolean allowAclAuthorization)
Set the allow |
Local |
withExtendedGroups(List<Integer> extendedGroups)
Set the extended |
Local |
withGroupId(Integer groupId)
Set the group |
Local |
withHasSharedKey(Boolean hasSharedKey)
Set the has |
Local |
withHasSshKey(Boolean hasSshKey)
Set the has |
Local |
withHasSshPassword(Boolean hasSshPassword)
Set the has |
Local |
withHomeDirectory(String homeDirectory)
Set the home |
Local |
withIsNFSv3Enabled(Boolean isNFSv3Enabled)
Set the is |
Local |
withPermissionScopes(List<PermissionScope> permissionScopes)
Set the permission |
Local |
withSshAuthorizedKeys(List<SshPublicKey> sshAuthorizedKeys)
Set the ssh |
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:
extendedGroups
public List
Get the extendedGroups property: Supplementary group membership. Only applicable for local users enabled for NFSv3 access.
Returns:
fromJson
public static LocalUserInner fromJson(JsonReader jsonReader)
Reads an instance of LocalUserInner from the JsonReader.
Parameters:
Returns:
Throws:
groupId
public Integer groupId()
Get the groupId property: An identifier for associating a group of users.
Returns:
hasSharedKey
public Boolean hasSharedKey()
Get the hasSharedKey property: Indicates whether shared key exists. Set it to false to remove existing shared key.
Returns:
hasSshKey
public Boolean hasSshKey()
Get the hasSshKey property: Indicates whether ssh key exists. Set it to false to remove existing SSH key.
Returns:
hasSshPassword
public Boolean hasSshPassword()
Get the hasSshPassword property: Indicates whether ssh password exists. Set it to false to remove existing SSH password.
Returns:
homeDirectory
public String homeDirectory()
Get the homeDirectory property: Optional, local user home directory.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
LocalUserInner.id()Returns:
isNFSv3Enabled
public Boolean isNFSv3Enabled()
Get the isNFSv3Enabled property: Indicates if the local user is enabled for access with NFSv3 protocol.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
LocalUserInner.name()Returns:
permissionScopes
public List
Get the permissionScopes property: The permission scopes of the local user.
Returns:
sid
public String sid()
Get the sid property: A unique Security Identifier that is generated by the server.
Returns:
sshAuthorizedKeys
public List
Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
LocalUserInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
LocalUserInner.type()Returns:
userId
public Integer userId()
Get the userId property: A unique Identifier that is generated by the server.
Returns:
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:
Returns:
withExtendedGroups
public LocalUserInner withExtendedGroups(List
Set the extendedGroups property: Supplementary group membership. Only applicable for local users enabled for NFSv3 access.
Parameters:
Returns:
withGroupId
public LocalUserInner withGroupId(Integer groupId)
Set the groupId property: An identifier for associating a group of users.
Parameters:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
withHomeDirectory
public LocalUserInner withHomeDirectory(String homeDirectory)
Set the homeDirectory property: Optional, local user home directory.
Parameters:
Returns:
withIsNFSv3Enabled
public LocalUserInner withIsNFSv3Enabled(Boolean isNFSv3Enabled)
Set the isNFSv3Enabled property: Indicates if the local user is enabled for access with NFSv3 protocol.
Parameters:
Returns:
withPermissionScopes
public LocalUserInner withPermissionScopes(List
Set the permissionScopes property: The permission scopes of the local user.
Parameters:
Returns:
withSshAuthorizedKeys
public LocalUserInner withSshAuthorizedKeys(List
Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.
Parameters:
Returns:
Applies to
Azure SDK for Java