Class: Azure::ContainerService::Mgmt::V2019_09_30_preview::Models::OpenShiftManagedClusterAADIdentityProvider

Inherits:
OpenShiftManagedClusterBaseIdentityProvider show all
Includes:
MsRestAzure
Defined in:
lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb

Overview

Defines the Identity provider for MS AAD.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOpenShiftManagedClusterAADIdentityProvider

Returns a new instance of OpenShiftManagedClusterAADIdentityProvider.



16
17
18
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb', line 16

def initialize
  @kind = "AADIdentityProvider"
end

Instance Attribute Details

#client_idString

Returns The clientId password associated with the provider.

Returns:

  • (String)

    The clientId password associated with the provider.



23
24
25
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb', line 23

def client_id
  @client_id
end

#customer_admin_group_idString

Returns The groupId to be granted cluster admin role.

Returns:

  • (String)

    The groupId to be granted cluster admin role.



32
33
34
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb', line 32

def customer_admin_group_id
  @customer_admin_group_id
end

#kindObject

Returns the value of attribute kind.



20
21
22
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb', line 20

def kind
  @kind
end

#secretString

Returns The secret password associated with the provider.

Returns:

  • (String)

    The secret password associated with the provider.



26
27
28
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb', line 26

def secret
  @secret
end

#tenant_idString

Returns The tenantId associated with the provider.

Returns:

  • (String)

    The tenantId associated with the provider.



29
30
31
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb', line 29

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

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



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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/2019-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb', line 40

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AADIdentityProvider',
    type: {
      name: 'Composite',
      class_name: 'OpenShiftManagedClusterAADIdentityProvider',
      model_properties: {
        kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        client_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'clientId',
          type: {
            name: 'String'
          }
        },
        secret: {
          client_side_validation: true,
          required: false,
          serialized_name: 'secret',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        customer_admin_group_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'customerAdminGroupId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end