Sha256: 5b0c9941aede2187f14dd7ed334bdf64319b820d879f97b7ee88571b3ec696a0

Contents?: true

Size: 1.81 KB

Versions: 14

Compression:

Stored size: 1.81 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
    #
    # A Kubernetes add-on profile for a managed cluster.
    #
    class ManagedClusterAddonProfile

      include MsRestAzure

      # @return [Boolean] Whether the add-on is enabled or not.
      attr_accessor :enabled

      # @return [Hash{String => String}] Key-value pairs for configuring an
      # add-on.
      attr_accessor :config


      #
      # Mapper for ManagedClusterAddonProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ManagedClusterAddonProfile',
          type: {
            name: 'Composite',
            class_name: 'ManagedClusterAddonProfile',
            model_properties: {
              enabled: {
                client_side_validation: true,
                required: true,
                serialized_name: 'enabled',
                type: {
                  name: 'Boolean'
                }
              },
              config: {
                client_side_validation: true,
                required: false,
                serialized_name: 'config',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.21.0 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.20.4 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.20.3 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.20.2 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.20.1 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.20.0 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.19.0 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.18.5 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.18.4 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.18.3 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.18.2 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.18.1 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.18.0 lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb