Sha256: 4c40ef6f0499487c75e9d8cbb66eb250ac4353cce99170fc7068138845d9766b

Contents?: true

Size: 1.99 KB

Versions: 11

Compression:

Stored size: 1.99 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::V2017_01_31
  module Models
    #
    # Profile for the container service master.
    #
    class ContainerServiceMasterProfile

      include MsRestAzure

      # @return [Integer] Number of masters (VMs) in the container service
      # cluster. Allowed values are 1, 3, and 5. The default value is 1.
      # Default value: 1 .
      attr_accessor :count

      # @return [String] DNS prefix to be used to create the FQDN for master.
      attr_accessor :dns_prefix

      # @return [String] FQDN for the master.
      attr_accessor :fqdn


      #
      # Mapper for ContainerServiceMasterProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ContainerServiceMasterProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceMasterProfile',
            model_properties: {
              count: {
                client_side_validation: true,
                required: false,
                serialized_name: 'count',
                default_value: 1,
                type: {
                  name: 'Number'
                }
              },
              dns_prefix: {
                client_side_validation: true,
                required: true,
                serialized_name: 'dnsPrefix',
                type: {
                  name: 'String'
                }
              },
              fqdn: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'fqdn',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb
azure_mgmt_container_service-0.21.0 lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb
azure_mgmt_container_service-0.20.4 lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb
azure_mgmt_container_service-0.20.3 lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb
azure_mgmt_container_service-0.20.2 lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb
azure_mgmt_container_service-0.20.1 lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb
azure_mgmt_container_service-0.20.0 lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb
azure_mgmt_container_service-0.19.0 lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb
azure_mgmt_container_service-0.18.5 lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb
azure_mgmt_container_service-0.18.4 lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb
azure_mgmt_container_service-0.18.3 lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb