azure_mgmt_service_fabric 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/cluster_versions.rb +1 -1
  3. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/clusters.rb +1 -1
  4. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/operations.rb +1 -1
  5. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +7 -6
  6. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application.rb +1 -1
  7. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application_type.rb +1 -1
  8. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/cluster_versions.rb +1 -1
  9. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/clusters.rb +1 -1
  10. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/operations.rb +1 -1
  11. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/service.rb +1 -1
  12. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +7 -6
  13. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/version.rb +1 -1
  14. data/lib/2018-02-01/generated/azure_mgmt_service_fabric.rb +61 -0
  15. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/cluster_versions.rb +456 -0
  16. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/clusters.rb +753 -0
  17. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_delta_health_policy.rb +73 -0
  18. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_health_policy.rb +71 -0
  19. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/available_operation_display.rb +79 -0
  20. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/azure_active_directory.rb +68 -0
  21. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/certificate_description.rb +70 -0
  22. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb +70 -0
  23. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb +59 -0
  24. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster.rb +476 -0
  25. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_list_result.rb +66 -0
  26. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb +102 -0
  27. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_health_policy.rb +121 -0
  28. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_list_result.rb +66 -0
  29. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb +276 -0
  30. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb +125 -0
  31. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb +156 -0
  32. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb +69 -0
  33. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/diagnostics_storage_account_config.rb +91 -0
  34. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/endpoint_range_description.rb +57 -0
  35. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/error_model.rb +47 -0
  36. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/error_model_error.rb +57 -0
  37. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/node_type_description.rb +198 -0
  38. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/operation_list_result.rb +101 -0
  39. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/operation_result.rb +81 -0
  40. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/provisioning_state.rb +18 -0
  41. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/resource.rb +101 -0
  42. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/server_certificate_common_name.rb +57 -0
  43. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/server_certificate_common_names.rb +71 -0
  44. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb +60 -0
  45. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_health_policy.rb +55 -0
  46. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/settings_parameter_description.rb +57 -0
  47. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb +67 -0
  48. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/module_definition.rb +9 -0
  49. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/operations.rb +237 -0
  50. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +141 -0
  51. data/lib/azure_mgmt_service_fabric.rb +2 -1
  52. data/lib/profiles/latest/modules/servicefabric_profile_module.rb +136 -112
  53. data/lib/version.rb +1 -1
  54. metadata +42 -5
@@ -0,0 +1,476 @@
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::ServiceFabric::Mgmt::V2018_02_01
7
+ module Models
8
+ #
9
+ # The cluster resource
10
+ #
11
+ #
12
+ class Cluster < Resource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Array<Enum>] The list of add-on features to enable in the
17
+ # cluster.
18
+ attr_accessor :add_on_features
19
+
20
+ # @return [Array<ClusterVersionDetails>] The Service Fabric runtime
21
+ # versions available for this cluster.
22
+ attr_accessor :available_cluster_versions
23
+
24
+ # @return [AzureActiveDirectory] The AAD authentication settings of the
25
+ # cluster.
26
+ attr_accessor :azure_active_directory
27
+
28
+ # @return [CertificateDescription] The certificate to use for securing
29
+ # the cluster. The certificate provided will be used for node to node
30
+ # security within the cluster, SSL certificate for cluster management
31
+ # endpoint and default admin client.
32
+ attr_accessor :certificate
33
+
34
+ # @return [ServerCertificateCommonNames] Describes a list of server
35
+ # certificates referenced by common name that are used to secure the
36
+ # cluster.
37
+ attr_accessor :certificate_common_names
38
+
39
+ # @return [Array<ClientCertificateCommonName>] The list of client
40
+ # certificates referenced by common name that are allowed to manage the
41
+ # cluster.
42
+ attr_accessor :client_certificate_common_names
43
+
44
+ # @return [Array<ClientCertificateThumbprint>] The list of client
45
+ # certificates referenced by thumbprint that are allowed to manage the
46
+ # cluster.
47
+ attr_accessor :client_certificate_thumbprints
48
+
49
+ # @return [String] The Service Fabric runtime version of the cluster.
50
+ # This property can only by set the user when **upgradeMode** is set to
51
+ # 'Manual'. To get list of available Service Fabric versions for new
52
+ # clusters use [ClusterVersion API](./ClusterVersion.md). To get the list
53
+ # of available version for existing clusters use
54
+ # **availableClusterVersions**.
55
+ attr_accessor :cluster_code_version
56
+
57
+ # @return [String] The Azure Resource Provider endpoint. A system service
58
+ # in the cluster connects to this endpoint.
59
+ attr_accessor :cluster_endpoint
60
+
61
+ # @return [String] A service generated unique identifier for the cluster
62
+ # resource.
63
+ attr_accessor :cluster_id
64
+
65
+ # @return [Enum] The current state of the cluster.
66
+ #
67
+ # - WaitingForNodes - Indicates that the cluster resource is created and
68
+ # the resource provider is waiting for Service Fabric VM extension to
69
+ # boot up and report to it.
70
+ # - Deploying - Indicates that the Service Fabric runtime is being
71
+ # installed on the VMs. Cluster resource will be in this state until the
72
+ # cluster boots up and system services are up.
73
+ # - BaselineUpgrade - Indicates that the cluster is upgrading to
74
+ # establishes the cluster version. This upgrade is automatically
75
+ # initiated when the cluster boots up for the first time.
76
+ # - UpdatingUserConfiguration - Indicates that the cluster is being
77
+ # upgraded with the user provided configuration.
78
+ # - UpdatingUserCertificate - Indicates that the cluster is being
79
+ # upgraded with the user provided certificate.
80
+ # - UpdatingInfrastructure - Indicates that the cluster is being upgraded
81
+ # with the latest Service Fabric runtime version. This happens only when
82
+ # the **upgradeMode** is set to 'Automatic'.
83
+ # - EnforcingClusterVersion - Indicates that cluster is on a different
84
+ # version than expected and the cluster is being upgraded to the expected
85
+ # version.
86
+ # - UpgradeServiceUnreachable - Indicates that the system service in the
87
+ # cluster is no longer polling the Resource Provider. Clusters in this
88
+ # state cannot be managed by the Resource Provider.
89
+ # - AutoScale - Indicates that the ReliabilityLevel of the cluster is
90
+ # being adjusted.
91
+ # - Ready - Indicates that the cluster is in a stable state.
92
+ # . Possible values include: 'WaitingForNodes', 'Deploying',
93
+ # 'BaselineUpgrade', 'UpdatingUserConfiguration',
94
+ # 'UpdatingUserCertificate', 'UpdatingInfrastructure',
95
+ # 'EnforcingClusterVersion', 'UpgradeServiceUnreachable', 'AutoScale',
96
+ # 'Ready'
97
+ attr_accessor :cluster_state
98
+
99
+ # @return [DiagnosticsStorageAccountConfig] The storage account
100
+ # information for storing Service Fabric diagnostic logs.
101
+ attr_accessor :diagnostics_storage_account_config
102
+
103
+ # @return [Array<SettingsSectionDescription>] The list of custom fabric
104
+ # settings to configure the cluster.
105
+ attr_accessor :fabric_settings
106
+
107
+ # @return [String] The http management endpoint of the cluster.
108
+ attr_accessor :management_endpoint
109
+
110
+ # @return [Array<NodeTypeDescription>] The list of node types in the
111
+ # cluster.
112
+ attr_accessor :node_types
113
+
114
+ # @return [ProvisioningState] The provisioning state of the cluster
115
+ # resource. Possible values include: 'Updating', 'Succeeded', 'Failed',
116
+ # 'Canceled'
117
+ attr_accessor :provisioning_state
118
+
119
+ # @return [Enum] The reliability level sets the replica set size of
120
+ # system services. Learn about
121
+ # [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).
122
+ #
123
+ # - None - Run the System services with a target replica set count of 1.
124
+ # This should only be used for test clusters.
125
+ # - Bronze - Run the System services with a target replica set count of
126
+ # 3. This should only be used for test clusters.
127
+ # - Silver - Run the System services with a target replica set count of
128
+ # 5.
129
+ # - Gold - Run the System services with a target replica set count of 7.
130
+ # - Platinum - Run the System services with a target replica set count of
131
+ # 9.
132
+ # . Possible values include: 'None', 'Bronze', 'Silver', 'Gold',
133
+ # 'Platinum'
134
+ attr_accessor :reliability_level
135
+
136
+ # @return [CertificateDescription] The server certificate used by reverse
137
+ # proxy.
138
+ attr_accessor :reverse_proxy_certificate
139
+
140
+ # @return [ServerCertificateCommonNames] Describes a list of server
141
+ # certificates referenced by common name that are used to secure the
142
+ # cluster.
143
+ attr_accessor :reverse_proxy_certificate_common_names
144
+
145
+ # @return [ClusterUpgradePolicy] The policy to use when upgrading the
146
+ # cluster.
147
+ attr_accessor :upgrade_description
148
+
149
+ # @return [Enum] The upgrade mode of the cluster when new Service Fabric
150
+ # runtime version is available.
151
+ #
152
+ # - Automatic - The cluster will be automatically upgraded to the latest
153
+ # Service Fabric runtime version as soon as it is available.
154
+ # - Manual - The cluster will not be automatically upgraded to the latest
155
+ # Service Fabric runtime version. The cluster is upgraded by setting the
156
+ # **clusterCodeVersion** property in the cluster resource.
157
+ # . Possible values include: 'Automatic', 'Manual'
158
+ attr_accessor :upgrade_mode
159
+
160
+ # @return [String] The VM image VMSS has been configured with. Generic
161
+ # names such as Windows or Linux can be used.
162
+ attr_accessor :vm_image
163
+
164
+
165
+ #
166
+ # Mapper for Cluster class as Ruby Hash.
167
+ # This will be used for serialization/deserialization.
168
+ #
169
+ def self.mapper()
170
+ {
171
+ client_side_validation: true,
172
+ required: false,
173
+ serialized_name: 'Cluster',
174
+ type: {
175
+ name: 'Composite',
176
+ class_name: 'Cluster',
177
+ model_properties: {
178
+ id: {
179
+ client_side_validation: true,
180
+ required: false,
181
+ read_only: true,
182
+ serialized_name: 'id',
183
+ type: {
184
+ name: 'String'
185
+ }
186
+ },
187
+ name: {
188
+ client_side_validation: true,
189
+ required: false,
190
+ read_only: true,
191
+ serialized_name: 'name',
192
+ type: {
193
+ name: 'String'
194
+ }
195
+ },
196
+ type: {
197
+ client_side_validation: true,
198
+ required: false,
199
+ read_only: true,
200
+ serialized_name: 'type',
201
+ type: {
202
+ name: 'String'
203
+ }
204
+ },
205
+ location: {
206
+ client_side_validation: true,
207
+ required: true,
208
+ serialized_name: 'location',
209
+ type: {
210
+ name: 'String'
211
+ }
212
+ },
213
+ tags: {
214
+ client_side_validation: true,
215
+ required: false,
216
+ serialized_name: 'tags',
217
+ type: {
218
+ name: 'Dictionary',
219
+ value: {
220
+ client_side_validation: true,
221
+ required: false,
222
+ serialized_name: 'StringElementType',
223
+ type: {
224
+ name: 'String'
225
+ }
226
+ }
227
+ }
228
+ },
229
+ add_on_features: {
230
+ client_side_validation: true,
231
+ required: false,
232
+ serialized_name: 'properties.addOnFeatures',
233
+ type: {
234
+ name: 'Sequence',
235
+ element: {
236
+ client_side_validation: true,
237
+ required: false,
238
+ serialized_name: 'enumElementType',
239
+ type: {
240
+ name: 'String'
241
+ }
242
+ }
243
+ }
244
+ },
245
+ available_cluster_versions: {
246
+ client_side_validation: true,
247
+ required: false,
248
+ read_only: true,
249
+ serialized_name: 'properties.availableClusterVersions',
250
+ type: {
251
+ name: 'Sequence',
252
+ element: {
253
+ client_side_validation: true,
254
+ required: false,
255
+ serialized_name: 'ClusterVersionDetailsElementType',
256
+ type: {
257
+ name: 'Composite',
258
+ class_name: 'ClusterVersionDetails'
259
+ }
260
+ }
261
+ }
262
+ },
263
+ azure_active_directory: {
264
+ client_side_validation: true,
265
+ required: false,
266
+ serialized_name: 'properties.azureActiveDirectory',
267
+ type: {
268
+ name: 'Composite',
269
+ class_name: 'AzureActiveDirectory'
270
+ }
271
+ },
272
+ certificate: {
273
+ client_side_validation: true,
274
+ required: false,
275
+ serialized_name: 'properties.certificate',
276
+ type: {
277
+ name: 'Composite',
278
+ class_name: 'CertificateDescription'
279
+ }
280
+ },
281
+ certificate_common_names: {
282
+ client_side_validation: true,
283
+ required: false,
284
+ serialized_name: 'properties.certificateCommonNames',
285
+ type: {
286
+ name: 'Composite',
287
+ class_name: 'ServerCertificateCommonNames'
288
+ }
289
+ },
290
+ client_certificate_common_names: {
291
+ client_side_validation: true,
292
+ required: false,
293
+ serialized_name: 'properties.clientCertificateCommonNames',
294
+ type: {
295
+ name: 'Sequence',
296
+ element: {
297
+ client_side_validation: true,
298
+ required: false,
299
+ serialized_name: 'ClientCertificateCommonNameElementType',
300
+ type: {
301
+ name: 'Composite',
302
+ class_name: 'ClientCertificateCommonName'
303
+ }
304
+ }
305
+ }
306
+ },
307
+ client_certificate_thumbprints: {
308
+ client_side_validation: true,
309
+ required: false,
310
+ serialized_name: 'properties.clientCertificateThumbprints',
311
+ type: {
312
+ name: 'Sequence',
313
+ element: {
314
+ client_side_validation: true,
315
+ required: false,
316
+ serialized_name: 'ClientCertificateThumbprintElementType',
317
+ type: {
318
+ name: 'Composite',
319
+ class_name: 'ClientCertificateThumbprint'
320
+ }
321
+ }
322
+ }
323
+ },
324
+ cluster_code_version: {
325
+ client_side_validation: true,
326
+ required: false,
327
+ serialized_name: 'properties.clusterCodeVersion',
328
+ type: {
329
+ name: 'String'
330
+ }
331
+ },
332
+ cluster_endpoint: {
333
+ client_side_validation: true,
334
+ required: false,
335
+ read_only: true,
336
+ serialized_name: 'properties.clusterEndpoint',
337
+ type: {
338
+ name: 'String'
339
+ }
340
+ },
341
+ cluster_id: {
342
+ client_side_validation: true,
343
+ required: false,
344
+ read_only: true,
345
+ serialized_name: 'properties.clusterId',
346
+ type: {
347
+ name: 'String'
348
+ }
349
+ },
350
+ cluster_state: {
351
+ client_side_validation: true,
352
+ required: false,
353
+ read_only: true,
354
+ serialized_name: 'properties.clusterState',
355
+ type: {
356
+ name: 'String'
357
+ }
358
+ },
359
+ diagnostics_storage_account_config: {
360
+ client_side_validation: true,
361
+ required: false,
362
+ serialized_name: 'properties.diagnosticsStorageAccountConfig',
363
+ type: {
364
+ name: 'Composite',
365
+ class_name: 'DiagnosticsStorageAccountConfig'
366
+ }
367
+ },
368
+ fabric_settings: {
369
+ client_side_validation: true,
370
+ required: false,
371
+ serialized_name: 'properties.fabricSettings',
372
+ type: {
373
+ name: 'Sequence',
374
+ element: {
375
+ client_side_validation: true,
376
+ required: false,
377
+ serialized_name: 'SettingsSectionDescriptionElementType',
378
+ type: {
379
+ name: 'Composite',
380
+ class_name: 'SettingsSectionDescription'
381
+ }
382
+ }
383
+ }
384
+ },
385
+ management_endpoint: {
386
+ client_side_validation: true,
387
+ required: true,
388
+ serialized_name: 'properties.managementEndpoint',
389
+ type: {
390
+ name: 'String'
391
+ }
392
+ },
393
+ node_types: {
394
+ client_side_validation: true,
395
+ required: true,
396
+ serialized_name: 'properties.nodeTypes',
397
+ type: {
398
+ name: 'Sequence',
399
+ element: {
400
+ client_side_validation: true,
401
+ required: false,
402
+ serialized_name: 'NodeTypeDescriptionElementType',
403
+ type: {
404
+ name: 'Composite',
405
+ class_name: 'NodeTypeDescription'
406
+ }
407
+ }
408
+ }
409
+ },
410
+ provisioning_state: {
411
+ client_side_validation: true,
412
+ required: false,
413
+ read_only: true,
414
+ serialized_name: 'properties.provisioningState',
415
+ type: {
416
+ name: 'String'
417
+ }
418
+ },
419
+ reliability_level: {
420
+ client_side_validation: true,
421
+ required: false,
422
+ serialized_name: 'properties.reliabilityLevel',
423
+ type: {
424
+ name: 'String'
425
+ }
426
+ },
427
+ reverse_proxy_certificate: {
428
+ client_side_validation: true,
429
+ required: false,
430
+ serialized_name: 'properties.reverseProxyCertificate',
431
+ type: {
432
+ name: 'Composite',
433
+ class_name: 'CertificateDescription'
434
+ }
435
+ },
436
+ reverse_proxy_certificate_common_names: {
437
+ client_side_validation: true,
438
+ required: false,
439
+ serialized_name: 'properties.reverseProxyCertificateCommonNames',
440
+ type: {
441
+ name: 'Composite',
442
+ class_name: 'ServerCertificateCommonNames'
443
+ }
444
+ },
445
+ upgrade_description: {
446
+ client_side_validation: true,
447
+ required: false,
448
+ serialized_name: 'properties.upgradeDescription',
449
+ type: {
450
+ name: 'Composite',
451
+ class_name: 'ClusterUpgradePolicy'
452
+ }
453
+ },
454
+ upgrade_mode: {
455
+ client_side_validation: true,
456
+ required: false,
457
+ serialized_name: 'properties.upgradeMode',
458
+ type: {
459
+ name: 'String'
460
+ }
461
+ },
462
+ vm_image: {
463
+ client_side_validation: true,
464
+ required: false,
465
+ serialized_name: 'properties.vmImage',
466
+ type: {
467
+ name: 'String'
468
+ }
469
+ }
470
+ }
471
+ }
472
+ }
473
+ end
474
+ end
475
+ end
476
+ end