Sha256: d1e399f655a1fa604a31f606247078a9951f9736f65d0091fadc2f3376bb172a

Contents?: true

Size: 1.63 KB

Versions: 11

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_02_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

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.21.0 lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.20.4 lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.20.3 lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.20.2 lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.20.1 lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.20.0 lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.19.0 lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.18.5 lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.18.4 lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb
azure_mgmt_container_service-0.18.3 lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb