class Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterServicePrincipalProfile

Information about a service principal identity for the cluster to use for manipulating Azure APIs.

Attributes

client_id[RW]

@return [String] The ID for the service principal.

secret[RW]

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

Public Class Methods

mapper() click to toggle source

Mapper for ManagedClusterServicePrincipalProfile class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb, line 28
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