Sha256: 29aeb7cc3d0b59b624b0a477efaf8fa657d93dc51d0c74160d42d4ba39fb6140

Contents?: true

Size: 1.82 KB

Versions: 11

Compression:

Stored size: 1.82 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_08_01_preview
  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

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.21.0 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.20.4 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.20.3 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.20.2 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.20.1 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.20.0 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.19.0 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.18.5 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.18.4 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb
azure_mgmt_container_service-0.18.3 lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb