class Azure::BatchAI::Mgmt::V2018_05_01::Models::SshConfiguration

SSH configuration.

Attributes

public_ips_to_allow[RW]

@return [Array<String>] Allowed public IPs. 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.

user_account_settings[RW]

@return [UserAccountSettings] User account settings. Settings for administrator user account to be created on a node. The account can be used to establish SSH connection to the node.

Private Class Methods

mapper() click to toggle source

Mapper for SshConfiguration class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-05-01/generated/azure_mgmt_batchai/models/ssh_configuration.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SshConfiguration',
    type: {
      name: 'Composite',
      class_name: 'SshConfiguration',
      model_properties: {
        public_ips_to_allow: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publicIPsToAllow',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        user_account_settings: {
          client_side_validation: true,
          required: true,
          serialized_name: 'userAccountSettings',
          type: {
            name: 'Composite',
            class_name: 'UserAccountSettings'
          }
        }
      }
    }
  }
end