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,255 @@
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::V2018_08_01_preview
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 [ContainerServiceNetworkProfile] Profile of network
56
+ # configuration.
57
+ attr_accessor :network_profile
58
+
59
+ # @return [ManagedClusterAADProfile] Profile of Azure Active Directory
60
+ # configuration.
61
+ attr_accessor :aad_profile
62
+
63
+
64
+ #
65
+ # Mapper for ManagedCluster class as Ruby Hash.
66
+ # This will be used for serialization/deserialization.
67
+ #
68
+ def self.mapper()
69
+ {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'ManagedCluster',
73
+ type: {
74
+ name: 'Composite',
75
+ class_name: 'ManagedCluster',
76
+ model_properties: {
77
+ id: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'id',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ name: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ read_only: true,
90
+ serialized_name: 'name',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ },
95
+ type: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ read_only: true,
99
+ serialized_name: 'type',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ location: {
105
+ client_side_validation: true,
106
+ required: true,
107
+ serialized_name: 'location',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ tags: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'tags',
116
+ type: {
117
+ name: 'Dictionary',
118
+ value: {
119
+ client_side_validation: true,
120
+ required: false,
121
+ serialized_name: 'StringElementType',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ }
126
+ }
127
+ },
128
+ provisioning_state: {
129
+ client_side_validation: true,
130
+ required: false,
131
+ read_only: true,
132
+ serialized_name: 'properties.provisioningState',
133
+ type: {
134
+ name: 'String'
135
+ }
136
+ },
137
+ kubernetes_version: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ serialized_name: 'properties.kubernetesVersion',
141
+ type: {
142
+ name: 'String'
143
+ }
144
+ },
145
+ dns_prefix: {
146
+ client_side_validation: true,
147
+ required: false,
148
+ serialized_name: 'properties.dnsPrefix',
149
+ type: {
150
+ name: 'String'
151
+ }
152
+ },
153
+ fqdn: {
154
+ client_side_validation: true,
155
+ required: false,
156
+ read_only: true,
157
+ serialized_name: 'properties.fqdn',
158
+ type: {
159
+ name: 'String'
160
+ }
161
+ },
162
+ agent_pool_profiles: {
163
+ client_side_validation: true,
164
+ required: false,
165
+ serialized_name: 'properties.agentPoolProfiles',
166
+ type: {
167
+ name: 'Sequence',
168
+ element: {
169
+ client_side_validation: true,
170
+ required: false,
171
+ serialized_name: 'ManagedClusterAgentPoolProfileElementType',
172
+ type: {
173
+ name: 'Composite',
174
+ class_name: 'ManagedClusterAgentPoolProfile'
175
+ }
176
+ }
177
+ }
178
+ },
179
+ linux_profile: {
180
+ client_side_validation: true,
181
+ required: false,
182
+ serialized_name: 'properties.linuxProfile',
183
+ type: {
184
+ name: 'Composite',
185
+ class_name: 'ContainerServiceLinuxProfile'
186
+ }
187
+ },
188
+ service_principal_profile: {
189
+ client_side_validation: true,
190
+ required: false,
191
+ serialized_name: 'properties.servicePrincipalProfile',
192
+ type: {
193
+ name: 'Composite',
194
+ class_name: 'ManagedClusterServicePrincipalProfile'
195
+ }
196
+ },
197
+ addon_profiles: {
198
+ client_side_validation: true,
199
+ required: false,
200
+ serialized_name: 'properties.addonProfiles',
201
+ type: {
202
+ name: 'Dictionary',
203
+ value: {
204
+ client_side_validation: true,
205
+ required: false,
206
+ serialized_name: 'ManagedClusterAddonProfileElementType',
207
+ type: {
208
+ name: 'Composite',
209
+ class_name: 'ManagedClusterAddonProfile'
210
+ }
211
+ }
212
+ }
213
+ },
214
+ node_resource_group: {
215
+ client_side_validation: true,
216
+ required: false,
217
+ read_only: true,
218
+ serialized_name: 'properties.nodeResourceGroup',
219
+ type: {
220
+ name: 'String'
221
+ }
222
+ },
223
+ enable_rbac: {
224
+ client_side_validation: true,
225
+ required: false,
226
+ serialized_name: 'properties.enableRBAC',
227
+ type: {
228
+ name: 'Boolean'
229
+ }
230
+ },
231
+ network_profile: {
232
+ client_side_validation: true,
233
+ required: false,
234
+ serialized_name: 'properties.networkProfile',
235
+ type: {
236
+ name: 'Composite',
237
+ class_name: 'ContainerServiceNetworkProfile'
238
+ }
239
+ },
240
+ aad_profile: {
241
+ client_side_validation: true,
242
+ required: false,
243
+ serialized_name: 'properties.aadProfile',
244
+ type: {
245
+ name: 'Composite',
246
+ class_name: 'ManagedClusterAADProfile'
247
+ }
248
+ }
249
+ }
250
+ }
251
+ }
252
+ end
253
+ end
254
+ end
255
+ 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::V2018_08_01_preview
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::V2018_08_01_preview
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
@@ -0,0 +1,66 @@
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::V2018_08_01_preview
7
+ module Models
8
+ #
9
+ # A Kubernetes add-on profile for a managed cluster.
10
+ #
11
+ class ManagedClusterAddonProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Whether the add-on is enabled or not.
16
+ attr_accessor :enabled
17
+
18
+ # @return [Hash{String => String}] Key-value pairs for configuring an
19
+ # add-on.
20
+ attr_accessor :config
21
+
22
+
23
+ #
24
+ # Mapper for ManagedClusterAddonProfile class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'ManagedClusterAddonProfile',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'ManagedClusterAddonProfile',
35
+ model_properties: {
36
+ enabled: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'enabled',
40
+ type: {
41
+ name: 'Boolean'
42
+ }
43
+ },
44
+ config: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'config',
48
+ type: {
49
+ name: 'Dictionary',
50
+ value: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'StringElementType',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end