# 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 # # Managed cluster Access Profile. # class ManagedClusterAccessProfile < Resource include MsRestAzure # @return [Array] Base64-encoded Kubernetes configuration file. attr_accessor :kube_config # # Mapper for ManagedClusterAccessProfile class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagedClusterAccessProfile', type: { name: 'Composite', class_name: 'ManagedClusterAccessProfile', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, kube_config: { client_side_validation: true, required: false, serialized_name: 'properties.kubeConfig', type: { name: 'ByteArray' } } } } } end end end end