Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::SshConfiguration
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::SshConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/ssh_configuration.rb
Overview
SSH configuration settings for the VM
Instance Attribute Summary collapse
-
#public_ips_to_allow ⇒ Array<String>
connection to VM.
-
#user_account_settings ⇒ UserAccountSettings
Settings for user account of VMs.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SshConfiguration class as Ruby Hash.
Instance Attribute Details
#public_ips_to_allow ⇒ Array<String>
connection to VM. Default value is ‘*’ can be used to match all source IPs. Maximum number of publicIPs that can be specified are 400.
18 19 20 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/ssh_configuration.rb', line 18 def public_ips_to_allow @public_ips_to_allow end |
#user_account_settings ⇒ UserAccountSettings
Returns Settings for user account of VMs.
21 22 23 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/ssh_configuration.rb', line 21 def user_account_settings @user_account_settings end |
Class Method Details
.mapper ⇒ Object
Mapper for SshConfiguration class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# 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 |