Sha256: 79b4d0f3b0cdeb89c06c245771a99df5e8aef3b1f58db52fed73903d68865ac8

Contents?: true

Size: 1.58 KB

Versions: 1

Compression:

Stored size: 1.58 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Compute
  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] The ssh key configuration
      # for Linux VMs.
      attr_accessor :ssh


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.10.0 lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb