Sha256: 2ea1d5c5c70910b6c1e3f51e58e58bc0b288b10f1f3479df902f1909b858e8d6

Contents?: true

Size: 1.69 KB

Versions: 4

Compression:

Stored size: 1.69 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::ContainerService::Mgmt::V2020_06_01
  module Models
    #
    # SSH configuration for Linux-based VMs running on Azure.
    #
    class ContainerServiceSshConfiguration

      include MsRestAzure

      # @return [Array<ContainerServiceSshPublicKey>] The list of SSH public
      # keys used to authenticate with Linux-based VMs. Only expect one key
      # specified.
      attr_accessor :public_keys


      #
      # Mapper for ContainerServiceSshConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ContainerServiceSshConfiguration',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceSshConfiguration',
            model_properties: {
              public_keys: {
                client_side_validation: true,
                required: true,
                serialized_name: 'publicKeys',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ContainerServiceSshPublicKeyElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'ContainerServiceSshPublicKey'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb
azure_mgmt_container_service-0.21.0 lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb
azure_mgmt_container_service-0.20.4 lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb
azure_mgmt_container_service-0.20.3 lib/2020-06-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb