class Azure::BatchAI::Mgmt::V2018_03_01::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 a node. Default value is '*' can be used to match all source IPs. Maximum number of IP ranges that can be specified are 400.
user_account_settings[RW]
@return [UserAccountSettings] Settings for user account to be created on a node.
Public Class Methods
mapper()
click to toggle source
Mapper for SshConfiguration
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-03-01/generated/azure_mgmt_batchai/models/ssh_configuration.rb, line 29 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