Class SshConfiguration

java.lang.Object
com.microsoft.azure.management.batchai.SshConfiguration

public class SshConfiguration extends Object
SSH configuration.
  • Constructor Details

    • SshConfiguration

      public SshConfiguration()
  • Method Details

    • publicIPsToAllow

      public List<String> 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

      public SshConfiguration withPublicIPsToAllow(List<String> publicIPsToAllow)
      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

      public UserAccountSettings 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

      public SshConfiguration withUserAccountSettings(UserAccountSettings userAccountSettings)
      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.