# 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::V2020_07_01 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 # @return [ManagedClusterAddonProfileIdentity] Information of user # assigned identity used by this add-on. attr_accessor :identity # # 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' } } } }, identity: { client_side_validation: true, required: false, read_only: true, serialized_name: 'identity', type: { name: 'Composite', class_name: 'ManagedClusterAddonProfileIdentity' } } } } } end end end end