Sha256: fb0e6acd76ea1494321ce8320e4ea5e5c8dab6ab0bec2e3344e5f4590022aee6

Contents?: true

Size: 1.63 KB

Versions: 7

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::V2019_10_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

7 entries across 7 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.21.0 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.20.4 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.20.3 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.20.2 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.20.1 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.20.0 lib/2019-10-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb