Class SshConfiguration
java.lang.Object
com.microsoft.azure.management.batchai.SshConfiguration
SSH configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet list of source IP ranges to allow SSH connection from.Get settings for administrator user account to be created on a node.withPublicIPsToAllow
(List<String> publicIPsToAllow) Set list of source IP ranges to allow SSH connection from.withUserAccountSettings
(UserAccountSettings userAccountSettings) Set settings for administrator user account to be created on a node.
-
Constructor Details
-
SshConfiguration
public SshConfiguration()
-
-
Method Details
-
publicIPsToAllow
Get list of source IP ranges to allow SSH connection from. The default value is '*' (all source IPs are allowed). Maximum number of IP ranges that can be specified is 400.- Returns:
- the publicIPsToAllow value
-
withPublicIPsToAllow
Set list of source IP ranges to allow SSH connection from. The default value is '*' (all source IPs are allowed). Maximum number of IP ranges that can be specified is 400.- Parameters:
publicIPsToAllow
- the publicIPsToAllow value to set- Returns:
- the SshConfiguration object itself.
-
userAccountSettings
Get settings for administrator user account to be created on a node. The account can be used to establish SSH connection to the node.- Returns:
- the userAccountSettings value
-
withUserAccountSettings
Set settings for administrator user account to be created on a node. The account can be used to establish SSH connection to the node.- Parameters:
userAccountSettings
- the userAccountSettings value to set- Returns:
- the SshConfiguration object itself.
-