Class: Azure::Compute::Mgmt::V2017_12_01::Models::SshConfiguration
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2017_12_01::Models::SshConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb
Overview
SSH configuration for Linux based VMs running on Azure
Instance Attribute Summary collapse
-
#public_keys ⇒ Array<SshPublicKey>
authenticate with linux based VMs.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SshConfiguration class as Ruby Hash.
Instance Attribute Details
#public_keys ⇒ Array<SshPublicKey>
authenticate with linux based VMs.
17 18 19 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb', line 17 def public_keys @public_keys end |
Class Method Details
.mapper ⇒ Object
Mapper for SshConfiguration class as Ruby Hash. This will be used for serialization/deserialization.
24 25 26 27 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 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb', line 24 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SshConfiguration', type: { name: 'Composite', class_name: 'SshConfiguration', model_properties: { public_keys: { client_side_validation: true, required: false, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SshPublicKeyElementType', type: { name: 'Composite', class_name: 'SshPublicKey' } } } } } } } end |