Sha256: 9db6ee3434637b447db4c22c6e13b9742d278ec43eec95737ea0195669bd7ff2

Contents?: true

Size: 1.66 KB

Versions: 2

Compression:

Stored size: 1.66 KB

Contents

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

module Azure::ARM::Compute
  module Models
    #
    # Profile for container service master
    #
    class ContainerServiceMasterProfile

      include MsRestAzure

      # @return [Integer] Number of masters (VMs) in the container cluster
      attr_accessor :count

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

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


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.7.0 lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb
azure_mgmt_compute-0.6.0 lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb