Class: Azure::ARM::Compute::Models::SshPublicKey
- Inherits:
-
Object
- Object
- Azure::ARM::Compute::Models::SshPublicKey
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_compute/models/ssh_public_key.rb
Overview
Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.
Instance Attribute Summary collapse
-
#key_data ⇒ String
through SSH.
-
#path ⇒ String
public key is stored.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SshPublicKey class as Ruby Hash.
Instance Attribute Details
#key_data ⇒ String
through SSH. The certificate must be in Pem format with or without headers.
24 25 26 |
# File 'lib/generated/azure_mgmt_compute/models/ssh_public_key.rb', line 24 def key_data @key_data end |
#path ⇒ String
public key is stored. If the file already exists, the specified key is appended to the file.
19 20 21 |
# File 'lib/generated/azure_mgmt_compute/models/ssh_public_key.rb', line 19 def path @path end |
Class Method Details
.mapper ⇒ Object
Mapper for SshPublicKey class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_compute/models/ssh_public_key.rb', line 31 def self.mapper() { required: false, serialized_name: 'SshPublicKey', type: { name: 'Composite', class_name: 'SshPublicKey', model_properties: { path: { required: false, serialized_name: 'path', type: { name: 'String' } }, key_data: { required: false, serialized_name: 'keyData', type: { name: 'String' } } } } } end |