Class: Azure::ContainerService::Mgmt::V2016_09_30::Models::ContainerServiceServicePrincipalProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#client_idString

Returns The ID for the service principal.

Returns:

  • (String)

    The ID for the service principal.



17
18
19
# File 'lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb', line 17

def client_id
  @client_id
end

#secretString

principal.

Returns:

  • (String)

    The secret password associated with the service



21
22
23
# File 'lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb', line 21

def secret
  @secret
end

Class Method Details

.mapperObject

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



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb', line 28

def self.mapper()
  {
    required: false,
    serialized_name: 'ContainerServiceServicePrincipalProfile',
    type: {
      name: 'Composite',
      class_name: 'ContainerServiceServicePrincipalProfile',
      model_properties: {
        client_id: {
          required: true,
          serialized_name: 'clientId',
          type: {
            name: 'String'
          }
        },
        secret: {
          required: true,
          serialized_name: 'secret',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end