class Azure::ContainerService::Mgmt::V2016_09_30::Models::ContainerServiceServicePrincipalProfile

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.

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContainerServiceServicePrincipalProfile',
    type: {
      name: 'Composite',
      class_name: 'ContainerServiceServicePrincipalProfile',
      model_properties: {
        client_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'clientId',
          type: {
            name: 'String'
          }
        },
        secret: {
          client_side_validation: true,
          required: true,
          serialized_name: 'secret',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end