Sha256: 1c2cdfb2885282a43ee04688799bcee9ef5239758c36d5ae30c43eaef14cf092

Contents?: true

Size: 1.63 KB

Versions: 3

Compression:

Stored size: 1.63 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::V2020_07_01
  module Models
    #
    # Information about a service principal identity for the cluster to use for
    # manipulating Azure APIs.
    #
    class ManagedClusterServicePrincipalProfile

      include MsRestAzure

      # @return [String] The ID for the service principal.
      attr_accessor :client_id

      # @return [String] The secret password associated with the service
      # principal in plain text.
      attr_accessor :secret


      #
      # Mapper for ManagedClusterServicePrincipalProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ManagedClusterServicePrincipalProfile',
          type: {
            name: 'Composite',
            class_name: 'ManagedClusterServicePrincipalProfile',
            model_properties: {
              client_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'clientId',
                type: {
                  name: 'String'
                }
              },
              secret: {
                client_side_validation: true,
                required: false,
                serialized_name: 'secret',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.21.0 lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.20.4 lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb