azure_mgmt_service_fabric 0.15.2 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/cluster_versions.rb +52 -45
  3. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/clusters.rb +63 -59
  4. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_list_result.rb +1 -1
  5. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_list_result.rb +1 -1
  6. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/models/operation_list_result.rb +1 -1
  7. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/models/resource.rb +9 -0
  8. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/operations.rb +16 -14
  9. data/lib/2016-09-01/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +10 -6
  10. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric.rb +91 -0
  11. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application.rb +691 -0
  12. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application_type.rb +487 -0
  13. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/cluster_versions.rb +471 -0
  14. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/clusters.rb +778 -0
  15. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_health_policy.rb +104 -0
  16. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_metric_description.rb +113 -0
  17. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_parameter.rb +58 -0
  18. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_resource.rb +206 -0
  19. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_resource_list.rb +55 -0
  20. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_resource_update.rb +182 -0
  21. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_type_resource.rb +83 -0
  22. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_type_resource_list.rb +55 -0
  23. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/application_upgrade_policy.rb +81 -0
  24. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/available_operation_display.rb +79 -0
  25. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/azure_active_directory.rb +68 -0
  26. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/certificate_description.rb +70 -0
  27. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb +70 -0
  28. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb +59 -0
  29. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster.rb +398 -0
  30. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_code_versions_list_result.rb +66 -0
  31. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb +102 -0
  32. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_health_policy.rb +70 -0
  33. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_list_result.rb +66 -0
  34. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb +246 -0
  35. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb +97 -0
  36. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb +156 -0
  37. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb +69 -0
  38. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/diagnostics_storage_account_config.rb +91 -0
  39. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/endpoint_range_description.rb +57 -0
  40. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/error_model.rb +57 -0
  41. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/named_partition_scheme_description.rb +81 -0
  42. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/node_type_description.rb +189 -0
  43. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/operation_list_result.rb +101 -0
  44. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/operation_result.rb +81 -0
  45. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/partition_scheme_description.rb +48 -0
  46. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/provisioning_state.rb +18 -0
  47. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/proxy_resource.rb +82 -0
  48. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/resource.rb +110 -0
  49. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/rolling_upgrade_monitoring_policy.rb +90 -0
  50. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_correlation_description.rb +58 -0
  51. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_load_metric_description.rb +98 -0
  52. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_placement_policy_description.rb +46 -0
  53. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_properties.rb +151 -0
  54. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_properties_base.rb +123 -0
  55. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_resource.rb +207 -0
  56. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_resource_list.rb +55 -0
  57. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_resource_update.rb +169 -0
  58. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb +51 -0
  59. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_health_policy.rb +108 -0
  60. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_type_health_policy_map_item.rb +60 -0
  61. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/service_update_properties.rb +113 -0
  62. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/settings_parameter_description.rb +57 -0
  63. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/settings_section_description.rb +67 -0
  64. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/singleton_partition_scheme_description.rb +51 -0
  65. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/stateful_service_properties.rb +227 -0
  66. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/stateful_service_update_properties.rb +186 -0
  67. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/stateless_service_properties.rb +161 -0
  68. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/stateless_service_update_properties.rb +133 -0
  69. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/uniform_int64range_partition_scheme_description.rb +91 -0
  70. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/version_resource.rb +115 -0
  71. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/version_resource_list.rb +55 -0
  72. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/module_definition.rb +9 -0
  73. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/operations.rb +230 -0
  74. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/service.rb +735 -0
  75. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +148 -0
  76. data/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/version.rb +559 -0
  77. data/lib/2018-02-01/generated/azure_mgmt_service_fabric.rb +61 -0
  78. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/cluster_versions.rb +456 -0
  79. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/clusters.rb +753 -0
  80. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_delta_health_policy.rb +73 -0
  81. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_health_policy.rb +71 -0
  82. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/available_operation_display.rb +79 -0
  83. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/azure_active_directory.rb +68 -0
  84. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/certificate_description.rb +70 -0
  85. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_common_name.rb +70 -0
  86. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/client_certificate_thumbprint.rb +59 -0
  87. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster.rb +476 -0
  88. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_list_result.rb +66 -0
  89. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb +102 -0
  90. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_health_policy.rb +121 -0
  91. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_list_result.rb +66 -0
  92. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_update_parameters.rb +276 -0
  93. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_delta_health_policy.rb +125 -0
  94. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_upgrade_policy.rb +156 -0
  95. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb +69 -0
  96. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/diagnostics_storage_account_config.rb +91 -0
  97. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/endpoint_range_description.rb +57 -0
  98. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/error_model.rb +47 -0
  99. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/error_model_error.rb +57 -0
  100. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/node_type_description.rb +198 -0
  101. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/operation_list_result.rb +101 -0
  102. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/operation_result.rb +81 -0
  103. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/provisioning_state.rb +18 -0
  104. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/resource.rb +110 -0
  105. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/server_certificate_common_name.rb +57 -0
  106. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/server_certificate_common_names.rb +71 -0
  107. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_delta_health_policy.rb +60 -0
  108. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/service_type_health_policy.rb +55 -0
  109. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/settings_parameter_description.rb +57 -0
  110. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/models/settings_section_description.rb +67 -0
  111. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/module_definition.rb +9 -0
  112. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/operations.rb +237 -0
  113. data/lib/2018-02-01/generated/azure_mgmt_service_fabric/service_fabric_management_client.rb +141 -0
  114. data/lib/azure_mgmt_service_fabric.rb +2 -0
  115. data/lib/profiles/latest/modules/servicefabric_profile_module.rb +293 -114
  116. data/lib/profiles/latest/servicefabric_latest_profile_client.rb +28 -9
  117. data/lib/profiles/latest/servicefabric_module_definition.rb +0 -1
  118. data/lib/version.rb +1 -1
  119. metadata +109 -5
@@ -0,0 +1,125 @@
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
+ # Describes the delta health policies for the cluster upgrade.
10
+ #
11
+ class ClusterUpgradeDeltaHealthPolicy
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] The maximum allowed percentage of nodes health
16
+ # degradation allowed during cluster upgrades.
17
+ # The delta is measured between the state of the nodes at the beginning
18
+ # of upgrade and the state of the nodes at the time of the health
19
+ # evaluation.
20
+ # The check is performed after every upgrade domain upgrade completion to
21
+ # make sure the global state of the cluster is within tolerated limits.
22
+ #
23
+ attr_accessor :max_percent_delta_unhealthy_nodes
24
+
25
+ # @return [Integer] The maximum allowed percentage of upgrade domain
26
+ # nodes health degradation allowed during cluster upgrades.
27
+ # The delta is measured between the state of the upgrade domain nodes at
28
+ # the beginning of upgrade and the state of the upgrade domain nodes at
29
+ # the time of the health evaluation.
30
+ # The check is performed after every upgrade domain upgrade completion
31
+ # for all completed upgrade domains to make sure the state of the upgrade
32
+ # domains is within tolerated limits.
33
+ #
34
+ attr_accessor :max_percent_upgrade_domain_delta_unhealthy_nodes
35
+
36
+ # @return [Integer] The maximum allowed percentage of applications health
37
+ # degradation allowed during cluster upgrades.
38
+ # The delta is measured between the state of the applications at the
39
+ # beginning of upgrade and the state of the applications at the time of
40
+ # the health evaluation.
41
+ # The check is performed after every upgrade domain upgrade completion to
42
+ # make sure the global state of the cluster is within tolerated limits.
43
+ # System services are not included in this.
44
+ #
45
+ attr_accessor :max_percent_delta_unhealthy_applications
46
+
47
+ # @return [Hash{String => ApplicationDeltaHealthPolicy}] Defines the
48
+ # application delta health policy map used to evaluate the health of an
49
+ # application or one of its child entities when upgrading the cluster.
50
+ attr_accessor :application_delta_health_policies
51
+
52
+
53
+ #
54
+ # Mapper for ClusterUpgradeDeltaHealthPolicy class as Ruby Hash.
55
+ # This will be used for serialization/deserialization.
56
+ #
57
+ def self.mapper()
58
+ {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'ClusterUpgradeDeltaHealthPolicy',
62
+ type: {
63
+ name: 'Composite',
64
+ class_name: 'ClusterUpgradeDeltaHealthPolicy',
65
+ model_properties: {
66
+ max_percent_delta_unhealthy_nodes: {
67
+ client_side_validation: true,
68
+ required: true,
69
+ serialized_name: 'maxPercentDeltaUnhealthyNodes',
70
+ constraints: {
71
+ InclusiveMaximum: 100,
72
+ InclusiveMinimum: 0
73
+ },
74
+ type: {
75
+ name: 'Number'
76
+ }
77
+ },
78
+ max_percent_upgrade_domain_delta_unhealthy_nodes: {
79
+ client_side_validation: true,
80
+ required: true,
81
+ serialized_name: 'maxPercentUpgradeDomainDeltaUnhealthyNodes',
82
+ constraints: {
83
+ InclusiveMaximum: 100,
84
+ InclusiveMinimum: 0
85
+ },
86
+ type: {
87
+ name: 'Number'
88
+ }
89
+ },
90
+ max_percent_delta_unhealthy_applications: {
91
+ client_side_validation: true,
92
+ required: true,
93
+ serialized_name: 'maxPercentDeltaUnhealthyApplications',
94
+ constraints: {
95
+ InclusiveMaximum: 100,
96
+ InclusiveMinimum: 0
97
+ },
98
+ type: {
99
+ name: 'Number'
100
+ }
101
+ },
102
+ application_delta_health_policies: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ serialized_name: 'applicationDeltaHealthPolicies',
106
+ type: {
107
+ name: 'Dictionary',
108
+ value: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'ApplicationDeltaHealthPolicyElementType',
112
+ type: {
113
+ name: 'Composite',
114
+ class_name: 'ApplicationDeltaHealthPolicy'
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ end
123
+ end
124
+ end
125
+ end
@@ -0,0 +1,156 @@
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
+ # Describes the policy used when upgrading the cluster.
10
+ #
11
+ class ClusterUpgradePolicy
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] If true, then processes are forcefully restarted
16
+ # during upgrade even when the code version has not changed (the upgrade
17
+ # only changes configuration or data).
18
+ attr_accessor :force_restart
19
+
20
+ # @return [String] The maximum amount of time to block processing of an
21
+ # upgrade domain and revent loss of availability when there are
22
+ # unexpected issues. When this timeout expires, processing of the upgrade
23
+ # domain will proceed regardless of availability loss issues. The timeout
24
+ # is reset at the start of each upgrade domain. The timeout can be in
25
+ # either hh:mm:ss or in d.hh:mm:ss.ms format.
26
+ attr_accessor :upgrade_replica_set_check_timeout
27
+
28
+ # @return [String] The length of time to wait after completing an upgrade
29
+ # domain before performing health checks. The duration can be in either
30
+ # hh:mm:ss or in d.hh:mm:ss.ms format.
31
+ attr_accessor :health_check_wait_duration
32
+
33
+ # @return [String] The amount of time that the application or cluster
34
+ # must remain healthy before the upgrade proceeds to the next upgrade
35
+ # domain. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms
36
+ # format.
37
+ attr_accessor :health_check_stable_duration
38
+
39
+ # @return [String] The amount of time to retry health evaluation when the
40
+ # application or cluster is unhealthy before the upgrade rolls back. The
41
+ # timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.
42
+ attr_accessor :health_check_retry_timeout
43
+
44
+ # @return [String] The amount of time the overall upgrade has to complete
45
+ # before the upgrade rolls back. The timeout can be in either hh:mm:ss or
46
+ # in d.hh:mm:ss.ms format.
47
+ attr_accessor :upgrade_timeout
48
+
49
+ # @return [String] The amount of time each upgrade domain has to complete
50
+ # before the upgrade rolls back. The timeout can be in either hh:mm:ss or
51
+ # in d.hh:mm:ss.ms format.
52
+ attr_accessor :upgrade_domain_timeout
53
+
54
+ # @return [ClusterHealthPolicy] The cluster health policy used when
55
+ # upgrading the cluster.
56
+ attr_accessor :health_policy
57
+
58
+ # @return [ClusterUpgradeDeltaHealthPolicy] The cluster delta health
59
+ # policy used when upgrading the cluster.
60
+ attr_accessor :delta_health_policy
61
+
62
+
63
+ #
64
+ # Mapper for ClusterUpgradePolicy class as Ruby Hash.
65
+ # This will be used for serialization/deserialization.
66
+ #
67
+ def self.mapper()
68
+ {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'ClusterUpgradePolicy',
72
+ type: {
73
+ name: 'Composite',
74
+ class_name: 'ClusterUpgradePolicy',
75
+ model_properties: {
76
+ force_restart: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'forceRestart',
80
+ type: {
81
+ name: 'Boolean'
82
+ }
83
+ },
84
+ upgrade_replica_set_check_timeout: {
85
+ client_side_validation: true,
86
+ required: true,
87
+ serialized_name: 'upgradeReplicaSetCheckTimeout',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ health_check_wait_duration: {
93
+ client_side_validation: true,
94
+ required: true,
95
+ serialized_name: 'healthCheckWaitDuration',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ },
100
+ health_check_stable_duration: {
101
+ client_side_validation: true,
102
+ required: true,
103
+ serialized_name: 'healthCheckStableDuration',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ health_check_retry_timeout: {
109
+ client_side_validation: true,
110
+ required: true,
111
+ serialized_name: 'healthCheckRetryTimeout',
112
+ type: {
113
+ name: 'String'
114
+ }
115
+ },
116
+ upgrade_timeout: {
117
+ client_side_validation: true,
118
+ required: true,
119
+ serialized_name: 'upgradeTimeout',
120
+ type: {
121
+ name: 'String'
122
+ }
123
+ },
124
+ upgrade_domain_timeout: {
125
+ client_side_validation: true,
126
+ required: true,
127
+ serialized_name: 'upgradeDomainTimeout',
128
+ type: {
129
+ name: 'String'
130
+ }
131
+ },
132
+ health_policy: {
133
+ client_side_validation: true,
134
+ required: true,
135
+ serialized_name: 'healthPolicy',
136
+ type: {
137
+ name: 'Composite',
138
+ class_name: 'ClusterHealthPolicy'
139
+ }
140
+ },
141
+ delta_health_policy: {
142
+ client_side_validation: true,
143
+ required: false,
144
+ serialized_name: 'deltaHealthPolicy',
145
+ type: {
146
+ name: 'Composite',
147
+ class_name: 'ClusterUpgradeDeltaHealthPolicy'
148
+ }
149
+ }
150
+ }
151
+ }
152
+ }
153
+ end
154
+ end
155
+ end
156
+ end
@@ -0,0 +1,69 @@
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 detail of the Service Fabric runtime version result
10
+ #
11
+ class ClusterVersionDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The Service Fabric 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] Indicates if this version is for Windows or Linux
22
+ # operating system. Possible values include: '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
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'ClusterVersionDetails',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ClusterVersionDetails',
38
+ model_properties: {
39
+ code_version: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'codeVersion',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ support_expiry_utc: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'supportExpiryUtc',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ environment: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'environment',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,91 @@
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 storage account information for storing Service Fabric diagnostic
10
+ # logs.
11
+ #
12
+ class DiagnosticsStorageAccountConfig
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The Azure storage account name.
17
+ attr_accessor :storage_account_name
18
+
19
+ # @return [String] The protected diagnostics storage key name.
20
+ attr_accessor :protected_account_key_name
21
+
22
+ # @return [String] The blob endpoint of the azure storage account.
23
+ attr_accessor :blob_endpoint
24
+
25
+ # @return [String] The queue endpoint of the azure storage account.
26
+ attr_accessor :queue_endpoint
27
+
28
+ # @return [String] The table endpoint of the azure storage account.
29
+ attr_accessor :table_endpoint
30
+
31
+
32
+ #
33
+ # Mapper for DiagnosticsStorageAccountConfig class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'DiagnosticsStorageAccountConfig',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'DiagnosticsStorageAccountConfig',
44
+ model_properties: {
45
+ storage_account_name: {
46
+ client_side_validation: true,
47
+ required: true,
48
+ serialized_name: 'storageAccountName',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ protected_account_key_name: {
54
+ client_side_validation: true,
55
+ required: true,
56
+ serialized_name: 'protectedAccountKeyName',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ blob_endpoint: {
62
+ client_side_validation: true,
63
+ required: true,
64
+ serialized_name: 'blobEndpoint',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ queue_endpoint: {
70
+ client_side_validation: true,
71
+ required: true,
72
+ serialized_name: 'queueEndpoint',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ table_endpoint: {
78
+ client_side_validation: true,
79
+ required: true,
80
+ serialized_name: 'tableEndpoint',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ end
89
+ end
90
+ end
91
+ end
@@ -0,0 +1,57 @@
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
+ # 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
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'EndpointRangeDescription',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'EndpointRangeDescription',
34
+ model_properties: {
35
+ start_port: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'startPort',
39
+ type: {
40
+ name: 'Number'
41
+ }
42
+ },
43
+ end_port: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'endPort',
47
+ type: {
48
+ name: 'Number'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end