UserAccountSettings Class
- java.
lang. Object - com.
microsoft. azure. management. batchai. UserAccountSettings
- com.
public class UserAccountSettings
Settings for user account that gets created on each on the nodes of a cluster.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
adminUserName()
Get name of the administrator user account which can be used to SSH to nodes. |
String |
adminUserPassword()
Get password of the administrator user account. |
String |
adminUserSshPublicKey()
Get sSH public key of the administrator user account. |
User |
withAdminUserName(String adminUserName)
Set name of the administrator user account which can be used to SSH to nodes. |
User |
withAdminUserPassword(String adminUserPassword)
Set password of the administrator user account. |
User |
withAdminUserSshPublicKey(String adminUserSshPublicKey)
Set sSH public key of the administrator user account. |
Method Details
adminUserName
public String adminUserName()
Get name of the administrator user account which can be used to SSH to nodes.
Returns:
adminUserPassword
public String adminUserPassword()
Get password of the administrator user account.
Returns:
adminUserSshPublicKey
public String adminUserSshPublicKey()
Get sSH public key of the administrator user account.
Returns:
withAdminUserName
public UserAccountSettings withAdminUserName(String adminUserName)
Set name of the administrator user account which can be used to SSH to nodes.
Parameters:
Returns:
withAdminUserPassword
public UserAccountSettings withAdminUserPassword(String adminUserPassword)
Set password of the administrator user account.
Parameters:
Returns:
withAdminUserSshPublicKey
public UserAccountSettings withAdminUserSshPublicKey(String adminUserSshPublicKey)
Set sSH public key of the administrator user account.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for