Sha256: b94a46d1b7635be49230f588a2120210342821486d7a2d04d27f589817abb56f
Contents?: true
Size: 1.88 KB
Versions: 2
Compression:
Stored size: 1.88 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Compute::Mgmt::V2017_03_30 module Models # # Contains information about SSH certificate public key and the path on the # Linux VM where the public key is placed. # class SshPublicKey include MsRestAzure # @return [String] Specifies the full path on the created VM where ssh # public key is stored. If the file already exists, the specified key is # appended to the file. Example: /home/user/.ssh/authorized_keys attr_accessor :path # @return [String] SSH public key certificate used to authenticate with # the VM through ssh. The key needs to be at least 2048-bit and in # ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on # Linux and Mac for Linux VMs in # Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). attr_accessor :key_data # # Mapper for SshPublicKey class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end
Version data entries
2 entries across 2 versions & 1 rubygems