azure_mgmt_container_service 0.18.2 → 0.18.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  3. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +1 -1
  4. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +1 -1
  5. data/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  6. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +1 -1
  7. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +1 -1
  8. data/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  9. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +1 -1
  10. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +1 -1
  11. data/lib/2017-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  12. data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +2 -2
  13. data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +1 -1
  14. data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +2 -2
  15. data/lib/2017-08-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  16. data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +2 -2
  17. data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +1 -1
  18. data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +2 -2
  19. data/lib/2017-08-31/generated/azure_mgmt_container_service/models/managed_cluster.rb +1 -1
  20. data/lib/2017-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  21. data/lib/2017-09-30/generated/azure_mgmt_container_service/container_services.rb +3 -3
  22. data/lib/2018-03-31/generated/azure_mgmt_container_service.rb +13 -12
  23. data/lib/2018-03-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  24. data/lib/2018-03-31/generated/azure_mgmt_container_service/managed_clusters.rb +503 -0
  25. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +1 -1
  26. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +2 -2
  27. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  28. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  29. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster.rb +5 -5
  30. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +1 -1
  31. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +7 -49
  32. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/{container_service_service_principal_profile.rb → managed_cluster_service_principal_profile.rb} +5 -19
  33. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service.rb +59 -0
  34. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/container_service_client.rb +137 -0
  35. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/managed_clusters.rb +1730 -0
  36. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
  37. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
  38. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
  39. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
  40. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +128 -0
  41. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
  42. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
  43. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
  44. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
  45. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
  46. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +63 -0
  47. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  48. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  49. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster.rb +255 -0
  50. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
  51. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
  52. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
  53. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +224 -0
  54. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
  55. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +91 -0
  56. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
  57. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
  58. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
  59. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/network_policy.rb +15 -0
  60. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
  61. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
  62. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +57 -0
  63. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  64. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  65. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  66. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  67. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/operations.rb +107 -0
  68. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service.rb +44 -0
  69. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +133 -0
  70. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/network_profile.rb +59 -0
  71. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_agent_pool_profile_role.rb +16 -0
  72. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_container_service_vmsize.rb +47 -0
  73. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster.rb +227 -0
  74. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb +84 -0
  75. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb +119 -0
  76. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_auth_profile.rb +56 -0
  77. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_base_identity_provider.rb +47 -0
  78. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_identity_provider.rb +62 -0
  79. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_list_result.rb +101 -0
  80. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb +107 -0
  81. data/lib/{2018-03-31/generated/azure_mgmt_container_service/models/key_vault_secret_ref.rb → 2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_router_profile.rb} +21 -20
  82. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  83. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/purchase_plan.rb +82 -0
  84. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  85. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  86. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  87. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/open_shift_managed_clusters.rb +1052 -0
  88. data/lib/2019-02-01/generated/azure_mgmt_container_service.rb +64 -0
  89. data/lib/2019-02-01/generated/azure_mgmt_container_service/agent_pools.rb +680 -0
  90. data/lib/2019-02-01/generated/azure_mgmt_container_service/container_service_client.rb +141 -0
  91. data/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb +1730 -0
  92. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/agent_pool.rb +284 -0
  93. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
  94. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
  95. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
  96. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
  97. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
  98. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +128 -0
  99. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
  100. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
  101. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
  102. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
  103. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
  104. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +63 -0
  105. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  106. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  107. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +287 -0
  108. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
  109. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
  110. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
  111. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +169 -0
  112. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +257 -0
  113. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
  114. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +91 -0
  115. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
  116. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
  117. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
  118. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
  119. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
  120. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
  121. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +57 -0
  122. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  123. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  124. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
  125. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  126. data/lib/2019-02-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  127. data/lib/2019-02-01/generated/azure_mgmt_container_service/operations.rb +107 -0
  128. data/lib/azure_mgmt_container_service.rb +3 -0
  129. data/lib/profiles/latest/modules/containerservice_profile_module.rb +179 -83
  130. data/lib/version.rb +1 -1
  131. metadata +100 -4
@@ -0,0 +1,287 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ContainerService::Mgmt::V2019_02_01
7
+ module Models
8
+ #
9
+ # Managed cluster.
10
+ #
11
+ class ManagedCluster < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The current deployment or provisioning state, which
16
+ # only appears in the response.
17
+ attr_accessor :provisioning_state
18
+
19
+ # @return [String] Version of Kubernetes specified when creating the
20
+ # managed cluster.
21
+ attr_accessor :kubernetes_version
22
+
23
+ # @return [String] DNS prefix specified when creating the managed
24
+ # cluster.
25
+ attr_accessor :dns_prefix
26
+
27
+ # @return [String] FQDN for the master pool.
28
+ attr_accessor :fqdn
29
+
30
+ # @return [Array<ManagedClusterAgentPoolProfile>] Properties of the agent
31
+ # pool.
32
+ attr_accessor :agent_pool_profiles
33
+
34
+ # @return [ContainerServiceLinuxProfile] Profile for Linux VMs in the
35
+ # container service cluster.
36
+ attr_accessor :linux_profile
37
+
38
+ # @return [ManagedClusterServicePrincipalProfile] Information about a
39
+ # service principal identity for the cluster to use for manipulating
40
+ # Azure APIs.
41
+ attr_accessor :service_principal_profile
42
+
43
+ # @return [Hash{String => ManagedClusterAddonProfile}] Profile of managed
44
+ # cluster add-on.
45
+ attr_accessor :addon_profiles
46
+
47
+ # @return [String] Name of the resource group containing agent pool
48
+ # nodes.
49
+ attr_accessor :node_resource_group
50
+
51
+ # @return [Boolean] Whether to enable Kubernetes Role-Based Access
52
+ # Control.
53
+ attr_accessor :enable_rbac
54
+
55
+ # @return [Boolean] (PREVIEW) Whether to enable Kubernetes Pod security
56
+ # policy.
57
+ attr_accessor :enable_pod_security_policy
58
+
59
+ # @return [ContainerServiceNetworkProfile] Profile of network
60
+ # configuration.
61
+ attr_accessor :network_profile
62
+
63
+ # @return [ManagedClusterAADProfile] Profile of Azure Active Directory
64
+ # configuration.
65
+ attr_accessor :aad_profile
66
+
67
+ # @return [Array<String>] (PREVIEW) Authorized IP Ranges to kubernetes
68
+ # API server.
69
+ attr_accessor :api_server_authorized_ipranges
70
+
71
+
72
+ #
73
+ # Mapper for ManagedCluster class as Ruby Hash.
74
+ # This will be used for serialization/deserialization.
75
+ #
76
+ def self.mapper()
77
+ {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'ManagedCluster',
81
+ type: {
82
+ name: 'Composite',
83
+ class_name: 'ManagedCluster',
84
+ model_properties: {
85
+ id: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'id',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ name: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ read_only: true,
98
+ serialized_name: 'name',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ },
103
+ type: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ read_only: true,
107
+ serialized_name: 'type',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ location: {
113
+ client_side_validation: true,
114
+ required: true,
115
+ serialized_name: 'location',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ },
120
+ tags: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ serialized_name: 'tags',
124
+ type: {
125
+ name: 'Dictionary',
126
+ value: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ serialized_name: 'StringElementType',
130
+ type: {
131
+ name: 'String'
132
+ }
133
+ }
134
+ }
135
+ },
136
+ provisioning_state: {
137
+ client_side_validation: true,
138
+ required: false,
139
+ read_only: true,
140
+ serialized_name: 'properties.provisioningState',
141
+ type: {
142
+ name: 'String'
143
+ }
144
+ },
145
+ kubernetes_version: {
146
+ client_side_validation: true,
147
+ required: false,
148
+ serialized_name: 'properties.kubernetesVersion',
149
+ type: {
150
+ name: 'String'
151
+ }
152
+ },
153
+ dns_prefix: {
154
+ client_side_validation: true,
155
+ required: false,
156
+ serialized_name: 'properties.dnsPrefix',
157
+ type: {
158
+ name: 'String'
159
+ }
160
+ },
161
+ fqdn: {
162
+ client_side_validation: true,
163
+ required: false,
164
+ read_only: true,
165
+ serialized_name: 'properties.fqdn',
166
+ type: {
167
+ name: 'String'
168
+ }
169
+ },
170
+ agent_pool_profiles: {
171
+ client_side_validation: true,
172
+ required: false,
173
+ serialized_name: 'properties.agentPoolProfiles',
174
+ type: {
175
+ name: 'Sequence',
176
+ element: {
177
+ client_side_validation: true,
178
+ required: false,
179
+ serialized_name: 'ManagedClusterAgentPoolProfileElementType',
180
+ type: {
181
+ name: 'Composite',
182
+ class_name: 'ManagedClusterAgentPoolProfile'
183
+ }
184
+ }
185
+ }
186
+ },
187
+ linux_profile: {
188
+ client_side_validation: true,
189
+ required: false,
190
+ serialized_name: 'properties.linuxProfile',
191
+ type: {
192
+ name: 'Composite',
193
+ class_name: 'ContainerServiceLinuxProfile'
194
+ }
195
+ },
196
+ service_principal_profile: {
197
+ client_side_validation: true,
198
+ required: false,
199
+ serialized_name: 'properties.servicePrincipalProfile',
200
+ type: {
201
+ name: 'Composite',
202
+ class_name: 'ManagedClusterServicePrincipalProfile'
203
+ }
204
+ },
205
+ addon_profiles: {
206
+ client_side_validation: true,
207
+ required: false,
208
+ serialized_name: 'properties.addonProfiles',
209
+ type: {
210
+ name: 'Dictionary',
211
+ value: {
212
+ client_side_validation: true,
213
+ required: false,
214
+ serialized_name: 'ManagedClusterAddonProfileElementType',
215
+ type: {
216
+ name: 'Composite',
217
+ class_name: 'ManagedClusterAddonProfile'
218
+ }
219
+ }
220
+ }
221
+ },
222
+ node_resource_group: {
223
+ client_side_validation: true,
224
+ required: false,
225
+ read_only: true,
226
+ serialized_name: 'properties.nodeResourceGroup',
227
+ type: {
228
+ name: 'String'
229
+ }
230
+ },
231
+ enable_rbac: {
232
+ client_side_validation: true,
233
+ required: false,
234
+ serialized_name: 'properties.enableRBAC',
235
+ type: {
236
+ name: 'Boolean'
237
+ }
238
+ },
239
+ enable_pod_security_policy: {
240
+ client_side_validation: true,
241
+ required: false,
242
+ serialized_name: 'properties.enablePodSecurityPolicy',
243
+ type: {
244
+ name: 'Boolean'
245
+ }
246
+ },
247
+ network_profile: {
248
+ client_side_validation: true,
249
+ required: false,
250
+ serialized_name: 'properties.networkProfile',
251
+ type: {
252
+ name: 'Composite',
253
+ class_name: 'ContainerServiceNetworkProfile'
254
+ }
255
+ },
256
+ aad_profile: {
257
+ client_side_validation: true,
258
+ required: false,
259
+ serialized_name: 'properties.aadProfile',
260
+ type: {
261
+ name: 'Composite',
262
+ class_name: 'ManagedClusterAADProfile'
263
+ }
264
+ },
265
+ api_server_authorized_ipranges: {
266
+ client_side_validation: true,
267
+ required: false,
268
+ serialized_name: 'properties.apiServerAuthorizedIPRanges',
269
+ type: {
270
+ name: 'Sequence',
271
+ element: {
272
+ client_side_validation: true,
273
+ required: false,
274
+ serialized_name: 'StringElementType',
275
+ type: {
276
+ name: 'String'
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ end
285
+ end
286
+ end
287
+ end
@@ -0,0 +1,80 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ContainerService::Mgmt::V2019_02_01
7
+ module Models
8
+ #
9
+ # AADProfile specifies attributes for Azure Active Directory integration.
10
+ #
11
+ class ManagedClusterAADProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The client AAD application ID.
16
+ attr_accessor :client_app_id
17
+
18
+ # @return [String] The server AAD application ID.
19
+ attr_accessor :server_app_id
20
+
21
+ # @return [String] The server AAD application secret.
22
+ attr_accessor :server_app_secret
23
+
24
+ # @return [String] The AAD tenant ID to use for authentication. If not
25
+ # specified, will use the tenant of the deployment subscription.
26
+ attr_accessor :tenant_id
27
+
28
+
29
+ #
30
+ # Mapper for ManagedClusterAADProfile class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'ManagedClusterAADProfile',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'ManagedClusterAADProfile',
41
+ model_properties: {
42
+ client_app_id: {
43
+ client_side_validation: true,
44
+ required: true,
45
+ serialized_name: 'clientAppID',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ server_app_id: {
51
+ client_side_validation: true,
52
+ required: true,
53
+ serialized_name: 'serverAppID',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ server_app_secret: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'serverAppSecret',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ tenant_id: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'tenantID',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,97 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ContainerService::Mgmt::V2019_02_01
7
+ module Models
8
+ #
9
+ # Managed cluster Access Profile.
10
+ #
11
+ class ManagedClusterAccessProfile < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Integer>] Base64-encoded Kubernetes configuration file.
16
+ attr_accessor :kube_config
17
+
18
+
19
+ #
20
+ # Mapper for ManagedClusterAccessProfile class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'ManagedClusterAccessProfile',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ManagedClusterAccessProfile',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'id',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ name: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'name',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ type: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'type',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ location: {
60
+ client_side_validation: true,
61
+ required: true,
62
+ serialized_name: 'location',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ tags: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'tags',
71
+ type: {
72
+ name: 'Dictionary',
73
+ value: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'StringElementType',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ }
81
+ }
82
+ },
83
+ kube_config: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'properties.kubeConfig',
87
+ type: {
88
+ name: 'ByteArray'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end