Sha256: 25ed2f688137af5bd1f4a98564bf22ef365927bbd12444ae8953f8545e9d5b23

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.0.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 user name 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.8.0 lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb