Sha256: 89bba71947e4f531b571ee60c0e48ab6c203c31a1cc457d405a5abc0219a7141

Contents?: true

Size: 1.29 KB

Versions: 2

Compression:

Stored size: 1.29 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_09_01
  module Models
    #
    # Contains information about SSH certificate public key data.
    #
    class ContainerServiceSshPublicKey

      include MsRestAzure

      # @return [String] Certificate public key used to authenticate with VMs
      # through SSH. The certificate must be in PEM format with or without
      # headers.
      attr_accessor :key_data


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2020-09-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb
azure_mgmt_container_service-0.21.0 lib/2020-09-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb