Sha256: f5eb867fe8ef79a3f64a71de319c476ff0a9ad7a4f5267dccc9518577531cfb2

Contents?: true

Size: 1.54 KB

Versions: 9

Compression:

Stored size: 1.54 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::V2019_03_01
  module Models
    #
    # SSH configuration for Linux based VMs running on Azure
    #
    class SshConfiguration

      include MsRestAzure

      # @return [Array<SshPublicKey>] The list of SSH public keys used to
      # authenticate with linux based VMs.
      attr_accessor :public_keys


      #
      # Mapper for SshConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_configuration.rb
azure_mgmt_compute-0.21.1 lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_configuration.rb
azure_mgmt_compute-0.20.0 lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_configuration.rb
azure_mgmt_compute-0.19.3 lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_configuration.rb
azure_mgmt_compute-0.19.2 lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_configuration.rb
azure_mgmt_compute-0.19.1 lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_configuration.rb
azure_mgmt_compute-0.19.0 lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_configuration.rb
azure_mgmt_compute-0.18.7 lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_configuration.rb
azure_mgmt_compute-0.18.6 lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_configuration.rb