azure_mgmt_service_fabric 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/azure_mgmt_service_fabric.rb +7 -0
  4. data/lib/generated/azure_mgmt_service_fabric/cluster_versions.rb +737 -0
  5. data/lib/generated/azure_mgmt_service_fabric/clusters.rb +907 -0
  6. data/lib/generated/azure_mgmt_service_fabric/models/available_operation_display.rb +74 -0
  7. data/lib/generated/azure_mgmt_service_fabric/models/azure_active_directory.rb +64 -0
  8. data/lib/generated/azure_mgmt_service_fabric/models/certificate_description.rb +66 -0
  9. data/lib/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb +66 -0
  10. data/lib/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb +55 -0
  11. data/lib/generated/azure_mgmt_service_fabric/models/cluster.rb +343 -0
  12. data/lib/generated/azure_mgmt_service_fabric/models/cluster_code_versions_list_result.rb +94 -0
  13. data/lib/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb +95 -0
  14. data/lib/generated/azure_mgmt_service_fabric/models/cluster_health_policy.rb +67 -0
  15. data/lib/generated/azure_mgmt_service_fabric/models/cluster_list_result.rb +94 -0
  16. data/lib/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb +204 -0
  17. data/lib/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb +77 -0
  18. data/lib/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb +141 -0
  19. data/lib/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb +65 -0
  20. data/lib/generated/azure_mgmt_service_fabric/models/diagnostics_storage_account_config.rb +84 -0
  21. data/lib/generated/azure_mgmt_service_fabric/models/endpoint_range_description.rb +54 -0
  22. data/lib/generated/azure_mgmt_service_fabric/models/error_model.rb +45 -0
  23. data/lib/generated/azure_mgmt_service_fabric/models/error_model_error.rb +54 -0
  24. data/lib/generated/azure_mgmt_service_fabric/models/node_type_description.rb +170 -0
  25. data/lib/generated/azure_mgmt_service_fabric/models/operation_list_result.rb +99 -0
  26. data/lib/generated/azure_mgmt_service_fabric/models/operation_result.rb +75 -0
  27. data/lib/generated/azure_mgmt_service_fabric/models/provisioning_state.rb +18 -0
  28. data/lib/generated/azure_mgmt_service_fabric/models/resource.rb +94 -0
  29. data/lib/generated/azure_mgmt_service_fabric/models/settings_parameter_description.rb +54 -0
  30. data/lib/generated/azure_mgmt_service_fabric/models/settings_section_description.rb +64 -0
  31. data/lib/generated/azure_mgmt_service_fabric/module_definition.rb +8 -0
  32. data/lib/generated/azure_mgmt_service_fabric/operations.rb +213 -0
  33. data/lib/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +137 -0
  34. data/lib/generated/azure_mgmt_service_fabric/version.rb +8 -0
  35. data/lib/generated/azure_mgmt_service_fabric.rb +55 -0
  36. metadata +147 -0
@@ -0,0 +1,74 @@
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::ARM::ServiceFabric
7
+ module Models
8
+ #
9
+ # Operation supported by ServiceFabric resource provider
10
+ #
11
+ class AvailableOperationDisplay
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Provider name
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Resource name
19
+ attr_accessor :resource
20
+
21
+ # @return [String] Operation name
22
+ attr_accessor :operation
23
+
24
+ # @return [String] Operation description
25
+ attr_accessor :description
26
+
27
+
28
+ #
29
+ # Mapper for AvailableOperationDisplay class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'AvailableOperationDisplay',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'AvailableOperationDisplay',
39
+ model_properties: {
40
+ provider: {
41
+ required: false,
42
+ serialized_name: 'provider',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ resource: {
48
+ required: false,
49
+ serialized_name: 'resource',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ operation: {
55
+ required: false,
56
+ serialized_name: 'operation',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ description: {
62
+ required: false,
63
+ serialized_name: 'description',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,64 @@
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::ARM::ServiceFabric
7
+ module Models
8
+ #
9
+ # The settings to enable AAD authentication on the cluster
10
+ #
11
+ class AzureActiveDirectory
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Azure active directory tenant id
16
+ attr_accessor :tenant_id
17
+
18
+ # @return [String] Azure active directory cluster application id
19
+ attr_accessor :cluster_application
20
+
21
+ # @return [String] Azure active directory client application id
22
+ attr_accessor :client_application
23
+
24
+
25
+ #
26
+ # Mapper for AzureActiveDirectory class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'AzureActiveDirectory',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'AzureActiveDirectory',
36
+ model_properties: {
37
+ tenant_id: {
38
+ required: false,
39
+ serialized_name: 'tenantId',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ cluster_application: {
45
+ required: false,
46
+ serialized_name: 'clusterApplication',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ client_application: {
52
+ required: false,
53
+ serialized_name: 'clientApplication',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ end
62
+ end
63
+ end
64
+ 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::ARM::ServiceFabric
7
+ module Models
8
+ #
9
+ # Certificate details
10
+ #
11
+ class CertificateDescription
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Thumbprint of the primary certificate
16
+ attr_accessor :thumbprint
17
+
18
+ # @return [String] Thumbprint of the secondary certificate
19
+ attr_accessor :thumbprint_secondary
20
+
21
+ # @return [Enum] The local certificate store location. Possible values
22
+ # include: 'AddressBook', 'AuthRoot', 'CertificateAuthority',
23
+ # 'Disallowed', 'My', 'Root', 'TrustedPeople', 'TrustedPublisher'
24
+ attr_accessor :x509store_name
25
+
26
+
27
+ #
28
+ # Mapper for CertificateDescription class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ required: false,
34
+ serialized_name: 'CertificateDescription',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'CertificateDescription',
38
+ model_properties: {
39
+ thumbprint: {
40
+ required: true,
41
+ serialized_name: 'thumbprint',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ thumbprint_secondary: {
47
+ required: false,
48
+ serialized_name: 'thumbprintSecondary',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ x509store_name: {
54
+ required: false,
55
+ serialized_name: 'x509StoreName',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ 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::ARM::ServiceFabric
7
+ module Models
8
+ #
9
+ # Client certificate details using common name
10
+ #
11
+ class ClientCertificateCommonName
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Is this certificate used for admin access from the
16
+ # client, if false , it is used or query only access
17
+ attr_accessor :is_admin
18
+
19
+ # @return [String] Certificate common name to be granted access; be
20
+ # carefull using wild card common names
21
+ attr_accessor :certificate_common_name
22
+
23
+ # @return [String] Certificate issuer thumbprint
24
+ attr_accessor :certificate_issuer_thumbprint
25
+
26
+
27
+ #
28
+ # Mapper for ClientCertificateCommonName class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ required: false,
34
+ serialized_name: 'ClientCertificateCommonName',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ClientCertificateCommonName',
38
+ model_properties: {
39
+ is_admin: {
40
+ required: true,
41
+ serialized_name: 'isAdmin',
42
+ type: {
43
+ name: 'Boolean'
44
+ }
45
+ },
46
+ certificate_common_name: {
47
+ required: true,
48
+ serialized_name: 'certificateCommonName',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ certificate_issuer_thumbprint: {
54
+ required: true,
55
+ serialized_name: 'certificateIssuerThumbprint',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,55 @@
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::ARM::ServiceFabric
7
+ module Models
8
+ #
9
+ # Client certificate details using thumbprint
10
+ #
11
+ class ClientCertificateThumbprint
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Is this certificate used for admin access from the
16
+ # client, if false, it is used or query only access
17
+ attr_accessor :is_admin
18
+
19
+ # @return [String] Certificate thumbprint
20
+ attr_accessor :certificate_thumbprint
21
+
22
+
23
+ #
24
+ # Mapper for ClientCertificateThumbprint class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ required: false,
30
+ serialized_name: 'ClientCertificateThumbprint',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ClientCertificateThumbprint',
34
+ model_properties: {
35
+ is_admin: {
36
+ required: true,
37
+ serialized_name: 'isAdmin',
38
+ type: {
39
+ name: 'Boolean'
40
+ }
41
+ },
42
+ certificate_thumbprint: {
43
+ required: true,
44
+ serialized_name: 'certificateThumbprint',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,343 @@
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::ARM::ServiceFabric
7
+ module Models
8
+ #
9
+ # The cluster resource
10
+ #
11
+ class Cluster < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<ClusterVersionDetails>] The available cluster code
16
+ # version which the cluster can upgrade to, note that you must choose
17
+ # upgradeMode to manual to upgrade to
18
+ attr_accessor :available_cluster_versions
19
+
20
+ # @return [String] The unique identifier for the cluster resource
21
+ attr_accessor :cluster_id
22
+
23
+ # @return [Enum] The state for the cluster. Possible values include:
24
+ # 'WaitingForNodes', 'Deploying', 'BaselineUpgrade',
25
+ # 'UpdatingUserConfiguration', 'UpdatingUserCertificate',
26
+ # 'UpdatingInfrastructure', 'EnforcingClusterVersion',
27
+ # 'UpgradeServiceUnreachable', 'AutoScale', 'Ready'
28
+ attr_accessor :cluster_state
29
+
30
+ # @return [String] The endpoint for the cluster connecting to
31
+ # servicefabric resource provider
32
+ attr_accessor :cluster_endpoint
33
+
34
+ # @return [String] The ServiceFabric code version running in your cluster
35
+ attr_accessor :cluster_code_version
36
+
37
+ # @return [CertificateDescription] This primay certificate will be used
38
+ # as cluster node to node security, SSL certificate for cluster
39
+ # management endpoint and default admin client
40
+ attr_accessor :certificate
41
+
42
+ # @return [Enum] Cluster reliability level indicates replica set size of
43
+ # system service. Possible values include: 'Bronze', 'Silver', 'Gold',
44
+ # 'Platinum'
45
+ attr_accessor :reliability_level
46
+
47
+ # @return [Enum] Cluster upgrade mode indicates if fabric upgrade is
48
+ # initiated automatically by the system or not. Possible values include:
49
+ # 'Automatic', 'Manual'
50
+ attr_accessor :upgrade_mode
51
+
52
+ # @return [Array<ClientCertificateThumbprint>] The client thumbprint
53
+ # details ,it is used for client access for cluster operation
54
+ attr_accessor :client_certificate_thumbprints
55
+
56
+ # @return [Array<ClientCertificateCommonName>] List of client
57
+ # certificates to whitelist based on common names
58
+ attr_accessor :client_certificate_common_names
59
+
60
+ # @return [Array<SettingsSectionDescription>] List of custom fabric
61
+ # settings to configure the cluster.
62
+ attr_accessor :fabric_settings
63
+
64
+ # @return [CertificateDescription] The server certificate used by reverse
65
+ # proxy
66
+ attr_accessor :reverse_proxy_certificate
67
+
68
+ # @return [String] The http management endpoint of the cluster
69
+ attr_accessor :management_endpoint
70
+
71
+ # @return [Array<NodeTypeDescription>] The list of nodetypes that make up
72
+ # the cluster
73
+ attr_accessor :node_types
74
+
75
+ # @return [AzureActiveDirectory] The settings to enable AAD
76
+ # authentication on the cluster
77
+ attr_accessor :azure_active_directory
78
+
79
+ # @return [ProvisioningState] The provisioning state of the cluster
80
+ # resource. Possible values include: 'Updating', 'Succeeded', 'Failed',
81
+ # 'Canceled'
82
+ attr_accessor :provisioning_state
83
+
84
+ # @return [String] The name of VM image VMSS has been configured with.
85
+ # Generic names such as Windows or Linux can be used.
86
+ attr_accessor :vm_image
87
+
88
+ # @return [DiagnosticsStorageAccountConfig] The storage diagnostics
89
+ # account configuration details
90
+ attr_accessor :diagnostics_storage_account_config
91
+
92
+ # @return [ClusterUpgradePolicy] The policy to use when upgrading the
93
+ # cluster.
94
+ attr_accessor :upgrade_description
95
+
96
+
97
+ #
98
+ # Mapper for Cluster class as Ruby Hash.
99
+ # This will be used for serialization/deserialization.
100
+ #
101
+ def self.mapper()
102
+ {
103
+ required: false,
104
+ serialized_name: 'Cluster',
105
+ type: {
106
+ name: 'Composite',
107
+ class_name: 'Cluster',
108
+ model_properties: {
109
+ id: {
110
+ required: false,
111
+ read_only: true,
112
+ serialized_name: 'id',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ },
117
+ name: {
118
+ required: false,
119
+ read_only: true,
120
+ serialized_name: 'name',
121
+ type: {
122
+ name: 'String'
123
+ }
124
+ },
125
+ type: {
126
+ required: false,
127
+ read_only: true,
128
+ serialized_name: 'type',
129
+ type: {
130
+ name: 'String'
131
+ }
132
+ },
133
+ location: {
134
+ required: true,
135
+ serialized_name: 'location',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ tags: {
141
+ required: false,
142
+ serialized_name: 'tags',
143
+ type: {
144
+ name: 'Dictionary',
145
+ value: {
146
+ required: false,
147
+ serialized_name: 'StringElementType',
148
+ type: {
149
+ name: 'String'
150
+ }
151
+ }
152
+ }
153
+ },
154
+ available_cluster_versions: {
155
+ required: false,
156
+ read_only: true,
157
+ serialized_name: 'properties.availableClusterVersions',
158
+ type: {
159
+ name: 'Sequence',
160
+ element: {
161
+ required: false,
162
+ serialized_name: 'ClusterVersionDetailsElementType',
163
+ type: {
164
+ name: 'Composite',
165
+ class_name: 'ClusterVersionDetails'
166
+ }
167
+ }
168
+ }
169
+ },
170
+ cluster_id: {
171
+ required: false,
172
+ read_only: true,
173
+ serialized_name: 'properties.clusterId',
174
+ type: {
175
+ name: 'String'
176
+ }
177
+ },
178
+ cluster_state: {
179
+ required: false,
180
+ read_only: true,
181
+ serialized_name: 'properties.clusterState',
182
+ type: {
183
+ name: 'String'
184
+ }
185
+ },
186
+ cluster_endpoint: {
187
+ required: false,
188
+ read_only: true,
189
+ serialized_name: 'properties.clusterEndpoint',
190
+ type: {
191
+ name: 'String'
192
+ }
193
+ },
194
+ cluster_code_version: {
195
+ required: false,
196
+ serialized_name: 'properties.clusterCodeVersion',
197
+ type: {
198
+ name: 'String'
199
+ }
200
+ },
201
+ certificate: {
202
+ required: false,
203
+ serialized_name: 'properties.certificate',
204
+ type: {
205
+ name: 'Composite',
206
+ class_name: 'CertificateDescription'
207
+ }
208
+ },
209
+ reliability_level: {
210
+ required: false,
211
+ serialized_name: 'properties.reliabilityLevel',
212
+ type: {
213
+ name: 'String'
214
+ }
215
+ },
216
+ upgrade_mode: {
217
+ required: false,
218
+ serialized_name: 'properties.upgradeMode',
219
+ type: {
220
+ name: 'String'
221
+ }
222
+ },
223
+ client_certificate_thumbprints: {
224
+ required: false,
225
+ serialized_name: 'properties.clientCertificateThumbprints',
226
+ type: {
227
+ name: 'Sequence',
228
+ element: {
229
+ required: false,
230
+ serialized_name: 'ClientCertificateThumbprintElementType',
231
+ type: {
232
+ name: 'Composite',
233
+ class_name: 'ClientCertificateThumbprint'
234
+ }
235
+ }
236
+ }
237
+ },
238
+ client_certificate_common_names: {
239
+ required: false,
240
+ serialized_name: 'properties.clientCertificateCommonNames',
241
+ type: {
242
+ name: 'Sequence',
243
+ element: {
244
+ required: false,
245
+ serialized_name: 'ClientCertificateCommonNameElementType',
246
+ type: {
247
+ name: 'Composite',
248
+ class_name: 'ClientCertificateCommonName'
249
+ }
250
+ }
251
+ }
252
+ },
253
+ fabric_settings: {
254
+ required: false,
255
+ serialized_name: 'properties.fabricSettings',
256
+ type: {
257
+ name: 'Sequence',
258
+ element: {
259
+ required: false,
260
+ serialized_name: 'SettingsSectionDescriptionElementType',
261
+ type: {
262
+ name: 'Composite',
263
+ class_name: 'SettingsSectionDescription'
264
+ }
265
+ }
266
+ }
267
+ },
268
+ reverse_proxy_certificate: {
269
+ required: false,
270
+ serialized_name: 'properties.reverseProxyCertificate',
271
+ type: {
272
+ name: 'Composite',
273
+ class_name: 'CertificateDescription'
274
+ }
275
+ },
276
+ management_endpoint: {
277
+ required: true,
278
+ serialized_name: 'properties.managementEndpoint',
279
+ type: {
280
+ name: 'String'
281
+ }
282
+ },
283
+ node_types: {
284
+ required: true,
285
+ serialized_name: 'properties.nodeTypes',
286
+ type: {
287
+ name: 'Sequence',
288
+ element: {
289
+ required: false,
290
+ serialized_name: 'NodeTypeDescriptionElementType',
291
+ type: {
292
+ name: 'Composite',
293
+ class_name: 'NodeTypeDescription'
294
+ }
295
+ }
296
+ }
297
+ },
298
+ azure_active_directory: {
299
+ required: false,
300
+ serialized_name: 'properties.azureActiveDirectory',
301
+ type: {
302
+ name: 'Composite',
303
+ class_name: 'AzureActiveDirectory'
304
+ }
305
+ },
306
+ provisioning_state: {
307
+ required: false,
308
+ read_only: true,
309
+ serialized_name: 'properties.provisioningState',
310
+ type: {
311
+ name: 'String'
312
+ }
313
+ },
314
+ vm_image: {
315
+ required: false,
316
+ serialized_name: 'properties.vmImage',
317
+ type: {
318
+ name: 'String'
319
+ }
320
+ },
321
+ diagnostics_storage_account_config: {
322
+ required: false,
323
+ serialized_name: 'properties.diagnosticsStorageAccountConfig',
324
+ type: {
325
+ name: 'Composite',
326
+ class_name: 'DiagnosticsStorageAccountConfig'
327
+ }
328
+ },
329
+ upgrade_description: {
330
+ required: false,
331
+ serialized_name: 'properties.upgradeDescription',
332
+ type: {
333
+ name: 'Composite',
334
+ class_name: 'ClusterUpgradePolicy'
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ end
341
+ end
342
+ end
343
+ end