class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::SshConfiguration

SSH configuration settings for the VM

Attributes

public_ips_to_allow[RW]

@return [Array<String>] List of source IP ranges to allow SSH connection to VM. Default value is '*' can be used to match all source IPs. Maximum number of publicIPs that can be specified are 400.

user_account_settings[RW]

@return [UserAccountSettings] Settings for user account of VMs.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/ssh_configuration.rb, line 28
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