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,141 @@
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
+ # Cluster upgrade policy
10
+ #
11
+ class ClusterUpgradePolicy
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Use the user defined upgrade policy or not
16
+ attr_accessor :override_user_upgrade_policy
17
+
18
+ # @return [Boolean] Force node to restart or not
19
+ attr_accessor :force_restart
20
+
21
+ # @return [String] Timeout for replica set upgrade to complete,it
22
+ # represents .Net TimeSpan
23
+ attr_accessor :upgrade_replica_set_check_timeout
24
+
25
+ # @return [String] The length of time to wait after completing an upgrade
26
+ # domain before performing health checks, it represents .Net TimeSpan
27
+ attr_accessor :health_check_wait_duration
28
+
29
+ # @return [String] The length of time that health checks must pass
30
+ # continuously,it represents .Net TimeSpan
31
+ attr_accessor :health_check_stable_duration
32
+
33
+ # @return [String] The length of time that health checks can fail
34
+ # continuously,it represents .Net TimeSpan
35
+ attr_accessor :health_check_retry_timeout
36
+
37
+ # @return [String] The upgrade timeout,it represents .Net TimeSpan
38
+ attr_accessor :upgrade_timeout
39
+
40
+ # @return [String] The timeout for any upgrade domain,it represents .Net
41
+ # TimeSpan
42
+ attr_accessor :upgrade_domain_timeout
43
+
44
+ # @return [ClusterHealthPolicy] Cluster health Policy
45
+ attr_accessor :health_policy
46
+
47
+ # @return [ClusterUpgradeDeltaHealthPolicy] Delta health policy
48
+ attr_accessor :delta_health_policy
49
+
50
+
51
+ #
52
+ # Mapper for ClusterUpgradePolicy class as Ruby Hash.
53
+ # This will be used for serialization/deserialization.
54
+ #
55
+ def self.mapper()
56
+ {
57
+ required: false,
58
+ serialized_name: 'ClusterUpgradePolicy',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'ClusterUpgradePolicy',
62
+ model_properties: {
63
+ override_user_upgrade_policy: {
64
+ required: false,
65
+ serialized_name: 'overrideUserUpgradePolicy',
66
+ type: {
67
+ name: 'Boolean'
68
+ }
69
+ },
70
+ force_restart: {
71
+ required: false,
72
+ serialized_name: 'forceRestart',
73
+ type: {
74
+ name: 'Boolean'
75
+ }
76
+ },
77
+ upgrade_replica_set_check_timeout: {
78
+ required: true,
79
+ serialized_name: 'upgradeReplicaSetCheckTimeout',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ health_check_wait_duration: {
85
+ required: true,
86
+ serialized_name: 'healthCheckWaitDuration',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ health_check_stable_duration: {
92
+ required: true,
93
+ serialized_name: 'healthCheckStableDuration',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ health_check_retry_timeout: {
99
+ required: true,
100
+ serialized_name: 'healthCheckRetryTimeout',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ },
105
+ upgrade_timeout: {
106
+ required: true,
107
+ serialized_name: 'upgradeTimeout',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ upgrade_domain_timeout: {
113
+ required: true,
114
+ serialized_name: 'upgradeDomainTimeout',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ health_policy: {
120
+ required: true,
121
+ serialized_name: 'healthPolicy',
122
+ type: {
123
+ name: 'Composite',
124
+ class_name: 'ClusterHealthPolicy'
125
+ }
126
+ },
127
+ delta_health_policy: {
128
+ required: false,
129
+ serialized_name: 'deltaHealthPolicy',
130
+ type: {
131
+ name: 'Composite',
132
+ class_name: 'ClusterUpgradeDeltaHealthPolicy'
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
138
+ end
139
+ end
140
+ end
141
+ end
@@ -0,0 +1,65 @@
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 detail of the ServiceFabric runtime version result
10
+ #
11
+ class ClusterVersionDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The ServiceFabric runtime version of the cluster
16
+ attr_accessor :code_version
17
+
18
+ # @return [String] The date of expiry of support of the version
19
+ attr_accessor :support_expiry_utc
20
+
21
+ # @return [Enum] Cluster operating system. Possible values include:
22
+ # 'Windows', 'Linux'
23
+ attr_accessor :environment
24
+
25
+
26
+ #
27
+ # Mapper for ClusterVersionDetails class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'ClusterVersionDetails',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'ClusterVersionDetails',
37
+ model_properties: {
38
+ code_version: {
39
+ required: false,
40
+ serialized_name: 'codeVersion',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ support_expiry_utc: {
46
+ required: false,
47
+ serialized_name: 'supportExpiryUtc',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ environment: {
53
+ required: false,
54
+ serialized_name: 'environment',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,84 @@
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
+ # Diagnostics storage account config
10
+ #
11
+ class DiagnosticsStorageAccountConfig
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Diagnostics storage account name
16
+ attr_accessor :storage_account_name
17
+
18
+ # @return [String] Protected Diagnostics storage key name
19
+ attr_accessor :protected_account_key_name
20
+
21
+ # @return [String] Diagnostics storage account blob endpoint
22
+ attr_accessor :blob_endpoint
23
+
24
+ # @return [String] Diagnostics storage account queue endpoint
25
+ attr_accessor :queue_endpoint
26
+
27
+ # @return [String] Diagnostics storage account table endpoint
28
+ attr_accessor :table_endpoint
29
+
30
+
31
+ #
32
+ # Mapper for DiagnosticsStorageAccountConfig class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ required: false,
38
+ serialized_name: 'DiagnosticsStorageAccountConfig',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'DiagnosticsStorageAccountConfig',
42
+ model_properties: {
43
+ storage_account_name: {
44
+ required: true,
45
+ serialized_name: 'storageAccountName',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ protected_account_key_name: {
51
+ required: true,
52
+ serialized_name: 'protectedAccountKeyName',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ blob_endpoint: {
58
+ required: true,
59
+ serialized_name: 'blobEndpoint',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ queue_endpoint: {
65
+ required: true,
66
+ serialized_name: 'queueEndpoint',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ table_endpoint: {
72
+ required: true,
73
+ serialized_name: 'tableEndpoint',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,54 @@
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
+ # Port range details
10
+ #
11
+ class EndpointRangeDescription
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Starting port of a range of ports
16
+ attr_accessor :start_port
17
+
18
+ # @return [Integer] End port of a range of ports
19
+ attr_accessor :end_port
20
+
21
+
22
+ #
23
+ # Mapper for EndpointRangeDescription class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'EndpointRangeDescription',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'EndpointRangeDescription',
33
+ model_properties: {
34
+ start_port: {
35
+ required: true,
36
+ serialized_name: 'startPort',
37
+ type: {
38
+ name: 'Number'
39
+ }
40
+ },
41
+ end_port: {
42
+ required: true,
43
+ serialized_name: 'endPort',
44
+ type: {
45
+ name: 'Number'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,45 @@
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 structure of the error
10
+ #
11
+ class ErrorModel
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ErrorModelError] The error detail
16
+ attr_accessor :error
17
+
18
+
19
+ #
20
+ # Mapper for ErrorModel class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'ErrorModel',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'ErrorModel',
30
+ model_properties: {
31
+ error: {
32
+ required: false,
33
+ serialized_name: 'error',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'ErrorModelError'
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,54 @@
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 error detail
10
+ #
11
+ class ErrorModelError
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The error code
16
+ attr_accessor :code
17
+
18
+ # @return [String] The error message
19
+ attr_accessor :message
20
+
21
+
22
+ #
23
+ # Mapper for ErrorModelError class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'ErrorModel_error',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'ErrorModelError',
33
+ model_properties: {
34
+ code: {
35
+ required: false,
36
+ serialized_name: 'code',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ message: {
42
+ required: false,
43
+ serialized_name: 'message',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,170 @@
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
+ # Describes a node type in the cluster, each node type represents sub set
10
+ # of nodes in the cluster
11
+ #
12
+ class NodeTypeDescription
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Name of the node type
17
+ attr_accessor :name
18
+
19
+ # @return [Hash{String => String}] The placement tags applied to nodes in
20
+ # the node type, which can be used to indicate where certain services
21
+ # (workload) should run
22
+ attr_accessor :placement_properties
23
+
24
+ # @return [Hash{String => String}] The capacity tags applied to the nodes
25
+ # in the node type, the cluster resource manager uses these tags to
26
+ # understand how much of a resource a node has
27
+ attr_accessor :capacities
28
+
29
+ # @return [Integer] The TCP cluster management endpoint port
30
+ attr_accessor :client_connection_endpoint_port
31
+
32
+ # @return [Integer] The HTTP cluster management endpoint port
33
+ attr_accessor :http_gateway_endpoint_port
34
+
35
+ # @return [Enum] Nodetype durability Level. Possible values include:
36
+ # 'Bronze', 'Silver', 'Gold'
37
+ attr_accessor :durability_level
38
+
39
+ # @return [EndpointRangeDescription] Ports used by applications
40
+ attr_accessor :application_ports
41
+
42
+ # @return [EndpointRangeDescription] System assgined application ports
43
+ attr_accessor :ephemeral_ports
44
+
45
+ # @return [Boolean] Mark this as the primary node type
46
+ attr_accessor :is_primary
47
+
48
+ # @return [Integer] The number of node instances in the node type
49
+ attr_accessor :vm_instance_count
50
+
51
+ # @return [Integer] Endpoint used by reverse proxy
52
+ attr_accessor :reverse_proxy_endpoint_port
53
+
54
+
55
+ #
56
+ # Mapper for NodeTypeDescription class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ required: false,
62
+ serialized_name: 'NodeTypeDescription',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'NodeTypeDescription',
66
+ model_properties: {
67
+ name: {
68
+ required: true,
69
+ serialized_name: 'name',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ placement_properties: {
75
+ required: false,
76
+ serialized_name: 'placementProperties',
77
+ type: {
78
+ name: 'Dictionary',
79
+ value: {
80
+ required: false,
81
+ serialized_name: 'StringElementType',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ },
88
+ capacities: {
89
+ required: false,
90
+ serialized_name: 'capacities',
91
+ type: {
92
+ name: 'Dictionary',
93
+ value: {
94
+ required: false,
95
+ serialized_name: 'StringElementType',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ }
100
+ }
101
+ },
102
+ client_connection_endpoint_port: {
103
+ required: true,
104
+ serialized_name: 'clientConnectionEndpointPort',
105
+ type: {
106
+ name: 'Number'
107
+ }
108
+ },
109
+ http_gateway_endpoint_port: {
110
+ required: true,
111
+ serialized_name: 'httpGatewayEndpointPort',
112
+ type: {
113
+ name: 'Number'
114
+ }
115
+ },
116
+ durability_level: {
117
+ required: false,
118
+ serialized_name: 'durabilityLevel',
119
+ type: {
120
+ name: 'String'
121
+ }
122
+ },
123
+ application_ports: {
124
+ required: false,
125
+ serialized_name: 'applicationPorts',
126
+ type: {
127
+ name: 'Composite',
128
+ class_name: 'EndpointRangeDescription'
129
+ }
130
+ },
131
+ ephemeral_ports: {
132
+ required: false,
133
+ serialized_name: 'ephemeralPorts',
134
+ type: {
135
+ name: 'Composite',
136
+ class_name: 'EndpointRangeDescription'
137
+ }
138
+ },
139
+ is_primary: {
140
+ required: true,
141
+ serialized_name: 'isPrimary',
142
+ type: {
143
+ name: 'Boolean'
144
+ }
145
+ },
146
+ vm_instance_count: {
147
+ required: true,
148
+ serialized_name: 'vmInstanceCount',
149
+ constraints: {
150
+ InclusiveMaximum: 2147483647,
151
+ InclusiveMinimum: 1
152
+ },
153
+ type: {
154
+ name: 'Number'
155
+ }
156
+ },
157
+ reverse_proxy_endpoint_port: {
158
+ required: false,
159
+ serialized_name: 'reverseProxyEndpointPort',
160
+ type: {
161
+ name: 'Number'
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
167
+ end
168
+ end
169
+ end
170
+ end