Class: Azure::ContainerService::Mgmt::V2020_07_01::Models::ManagedClusterAADProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-07-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

#admin_group_object_idsArray<String>

of the cluster.

Returns:

  • (Array<String>)

    AAD group object IDs that will have admin role



24
25
26
# File 'lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb', line 24

def admin_group_object_ids
  @admin_group_object_ids
end

#client_app_idString

Returns The client AAD application ID.

Returns:

  • (String)

    The client AAD application ID.



27
28
29
# File 'lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb', line 27

def client_app_id
  @client_app_id
end

#enable_azure_rbacBoolean

authorization.

Returns:

  • (Boolean)

    Whether to enable Azure RBAC for Kubernetes



20
21
22
# File 'lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb', line 20

def enable_azure_rbac
  @enable_azure_rbac
end

#managedBoolean

Returns Whether to enable managed AAD.

Returns:

  • (Boolean)

    Whether to enable managed AAD.



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

def managed
  @managed
end

#server_app_idString

Returns The server AAD application ID.

Returns:

  • (String)

    The server AAD application ID.



30
31
32
# File 'lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb', line 30

def server_app_id
  @server_app_id
end

#server_app_secretString

Returns The server AAD application secret.

Returns:

  • (String)

    The server AAD application secret.



33
34
35
# File 'lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb', line 33

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



37
38
39
# File 'lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb', line 37

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

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



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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# File 'lib/2020-07-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb', line 44

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagedClusterAADProfile',
    type: {
      name: 'Composite',
      class_name: 'ManagedClusterAADProfile',
      model_properties: {
        managed: {
          client_side_validation: true,
          required: false,
          serialized_name: 'managed',
          type: {
            name: 'Boolean'
          }
        },
        enable_azure_rbac: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enableAzureRBAC',
          type: {
            name: 'Boolean'
          }
        },
        admin_group_object_ids: {
          client_side_validation: true,
          required: false,
          serialized_name: 'adminGroupObjectIDs',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        client_app_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'clientAppID',
          type: {
            name: 'String'
          }
        },
        server_app_id: {
          client_side_validation: true,
          required: false,
          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