Sha256: 5c7c42803dc3936ae1b94ae5354173bcc56df8de96cdc50f14f8c5fb6fcbeba3

Contents?: true

Size: 1.74 KB

Versions: 3

Compression:

Stored size: 1.74 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::V2018_03_31
  module Models
    #
    # Profile for Linux VMs in the container service cluster.
    #
    class ContainerServiceLinuxProfile

      include MsRestAzure

      # @return [String] The administrator username to use for Linux VMs.
      attr_accessor :admin_username

      # @return [ContainerServiceSshConfiguration] SSH configuration for
      # Linux-based VMs running on Azure.
      attr_accessor :ssh


      #
      # Mapper for ContainerServiceLinuxProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ContainerServiceLinuxProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceLinuxProfile',
            model_properties: {
              admin_username: {
                client_side_validation: true,
                required: true,
                serialized_name: 'adminUsername',
                constraints: {
                  Pattern: '^[a-z][a-z0-9_-]*$'
                },
                type: {
                  name: 'String'
                }
              },
              ssh: {
                client_side_validation: true,
                required: true,
                serialized_name: 'ssh',
                type: {
                  name: 'Composite',
                  class_name: 'ContainerServiceSshConfiguration'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.18.2 lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb
azure_mgmt_container_service-0.18.1 lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb
azure_mgmt_container_service-0.18.0 lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb