Class: Azure::ContainerService::Mgmt::V2019_02_01::Models::ManagedClusterAADProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb

Overview

AADProfile specifies attributes for Azure Active Directory integration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#client_app_idString

Returns The client AAD application ID.

Returns:

  • (String)

    The client AAD application ID.



16
17
18
# File 'lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb', line 16

def client_app_id
  @client_app_id
end

#server_app_idString

Returns The server AAD application ID.

Returns:

  • (String)

    The server AAD application ID.



19
20
21
# File 'lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb', line 19

def server_app_id
  @server_app_id
end

#server_app_secretString

Returns The server AAD application secret.

Returns:

  • (String)

    The server AAD application secret.



22
23
24
# File 'lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb', line 22

def server_app_secret
  @server_app_secret
end

#tenant_idString

specified, will use the tenant of the deployment subscription.

Returns:

  • (String)

    The AAD tenant ID to use for authentication. If not



26
27
28
# File 'lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb', line 26

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

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



33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# File 'lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagedClusterAADProfile',
    type: {
      name: 'Composite',
      class_name: 'ManagedClusterAADProfile',
      model_properties: {
        client_app_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'clientAppID',
          type: {
            name: 'String'
          }
        },
        server_app_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'serverAppID',
          type: {
            name: 'String'
          }
        },
        server_app_secret: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serverAppSecret',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tenantID',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end