mv-oci-sdk 2.142.0__py3-none-any.whl → 2.142.0.2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/METADATA +3 -3
  2. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/RECORD +248 -6
  3. oci/file_storage/__init__.py +14 -0
  4. oci/file_storage/file_storage_client.py +8601 -0
  5. oci/file_storage/file_storage_client_composite_operations.py +2068 -0
  6. oci/file_storage/models/__init__.py +130 -0
  7. oci/file_storage/models/change_file_system_compartment_details.py +76 -0
  8. oci/file_storage/models/change_filesystem_snapshot_policy_compartment_details.py +76 -0
  9. oci/file_storage/models/change_mount_target_compartment_details.py +76 -0
  10. oci/file_storage/models/change_outbound_connector_compartment_details.py +78 -0
  11. oci/file_storage/models/change_replication_compartment_details.py +76 -0
  12. oci/file_storage/models/client_options.py +389 -0
  13. oci/file_storage/models/create_export_details.py +303 -0
  14. oci/file_storage/models/create_file_system_details.py +425 -0
  15. oci/file_storage/models/create_filesystem_snapshot_policy_details.py +337 -0
  16. oci/file_storage/models/create_kerberos_details.py +200 -0
  17. oci/file_storage/models/create_ldap_bind_account_details.py +220 -0
  18. oci/file_storage/models/create_ldap_idmap_details.py +317 -0
  19. oci/file_storage/models/create_mount_target_details.py +581 -0
  20. oci/file_storage/models/create_outbound_connector_details.py +309 -0
  21. oci/file_storage/models/create_replication_details.py +325 -0
  22. oci/file_storage/models/create_snapshot_details.py +261 -0
  23. oci/file_storage/models/endpoint.py +103 -0
  24. oci/file_storage/models/export.py +456 -0
  25. oci/file_storage/models/export_set.py +411 -0
  26. oci/file_storage/models/export_set_summary.py +316 -0
  27. oci/file_storage/models/export_summary.py +343 -0
  28. oci/file_storage/models/file_system.py +818 -0
  29. oci/file_storage/models/file_system_summary.py +659 -0
  30. oci/file_storage/models/filesystem_snapshot_policy.py +473 -0
  31. oci/file_storage/models/filesystem_snapshot_policy_summary.py +429 -0
  32. oci/file_storage/models/kerberos.py +200 -0
  33. oci/file_storage/models/kerberos_keytab_entry.py +166 -0
  34. oci/file_storage/models/key_tab_secret_details.py +138 -0
  35. oci/file_storage/models/ldap_bind_account.py +243 -0
  36. oci/file_storage/models/ldap_bind_account_summary.py +176 -0
  37. oci/file_storage/models/ldap_idmap.py +317 -0
  38. oci/file_storage/models/mount_target.py +828 -0
  39. oci/file_storage/models/mount_target_summary.py +696 -0
  40. oci/file_storage/models/outbound_connector.py +453 -0
  41. oci/file_storage/models/outbound_connector_summary.py +438 -0
  42. oci/file_storage/models/replication.py +740 -0
  43. oci/file_storage/models/replication_estimate.py +196 -0
  44. oci/file_storage/models/replication_summary.py +491 -0
  45. oci/file_storage/models/replication_target.py +679 -0
  46. oci/file_storage/models/replication_target_summary.py +425 -0
  47. oci/file_storage/models/resource_lock.py +185 -0
  48. oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
  49. oci/file_storage/models/snapshot.py +638 -0
  50. oci/file_storage/models/snapshot_schedule.py +487 -0
  51. oci/file_storage/models/snapshot_summary.py +601 -0
  52. oci/file_storage/models/source_details.py +119 -0
  53. oci/file_storage/models/update_export_details.py +111 -0
  54. oci/file_storage/models/update_export_set_details.py +172 -0
  55. oci/file_storage/models/update_file_system_details.py +246 -0
  56. oci/file_storage/models/update_filesystem_snapshot_policy_details.py +236 -0
  57. oci/file_storage/models/update_kerberos_details.py +200 -0
  58. oci/file_storage/models/update_ldap_idmap_details.py +317 -0
  59. oci/file_storage/models/update_mount_target_details.py +286 -0
  60. oci/file_storage/models/update_outbound_connector_details.py +158 -0
  61. oci/file_storage/models/update_replication_details.py +189 -0
  62. oci/file_storage/models/update_snapshot_details.py +156 -0
  63. oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
  64. oci/file_storage/models/validate_key_tabs_details.py +103 -0
  65. oci/file_storage/models/validate_key_tabs_response_details.py +103 -0
  66. oci/functions/__init__.py +16 -0
  67. oci/functions/functions_invoke_client.py +267 -0
  68. oci/functions/functions_invoke_client_composite_operations.py +26 -0
  69. oci/functions/functions_management_client.py +2056 -0
  70. oci/functions/functions_management_client_composite_operations.py +326 -0
  71. oci/functions/models/__init__.py +74 -0
  72. oci/functions/models/application.py +628 -0
  73. oci/functions/models/application_summary.py +512 -0
  74. oci/functions/models/application_trace_config.py +103 -0
  75. oci/functions/models/change_application_compartment_details.py +78 -0
  76. oci/functions/models/config_details.py +134 -0
  77. oci/functions/models/constant_provisioned_concurrency_config.py +82 -0
  78. oci/functions/models/create_application_details.py +446 -0
  79. oci/functions/models/create_function_details.py +437 -0
  80. oci/functions/models/function.py +734 -0
  81. oci/functions/models/function_provisioned_concurrency_config.py +109 -0
  82. oci/functions/models/function_source_details.py +101 -0
  83. oci/functions/models/function_summary.py +657 -0
  84. oci/functions/models/function_trace_config.py +72 -0
  85. oci/functions/models/image_policy_config.py +103 -0
  86. oci/functions/models/key_details.py +76 -0
  87. oci/functions/models/none_provisioned_concurrency_config.py +51 -0
  88. oci/functions/models/pbf_listing.py +408 -0
  89. oci/functions/models/pbf_listing_summary.py +386 -0
  90. oci/functions/models/pbf_listing_version.py +467 -0
  91. oci/functions/models/pbf_listing_version_summary.py +446 -0
  92. oci/functions/models/pbf_listing_versions_collection.py +73 -0
  93. oci/functions/models/pbf_listings_collection.py +72 -0
  94. oci/functions/models/policy_details.py +103 -0
  95. oci/functions/models/pre_built_function_source_details.py +88 -0
  96. oci/functions/models/publisher_details.py +72 -0
  97. oci/functions/models/requirement_details.py +106 -0
  98. oci/functions/models/trigger.py +72 -0
  99. oci/functions/models/trigger_summary.py +72 -0
  100. oci/functions/models/triggers_collection.py +72 -0
  101. oci/functions/models/update_application_details.py +290 -0
  102. oci/functions/models/update_function_details.py +346 -0
  103. oci/load_balancer/__init__.py +14 -0
  104. oci/load_balancer/load_balancer_client.py +7641 -0
  105. oci/load_balancer/load_balancer_client_composite_operations.py +1630 -0
  106. oci/load_balancer/models/__init__.py +186 -0
  107. oci/load_balancer/models/action.py +97 -0
  108. oci/load_balancer/models/add_http_request_header_rule.py +134 -0
  109. oci/load_balancer/models/add_http_response_header_rule.py +137 -0
  110. oci/load_balancer/models/allow_rule.py +123 -0
  111. oci/load_balancer/models/backend.py +350 -0
  112. oci/load_balancer/models/backend_details.py +312 -0
  113. oci/load_balancer/models/backend_health.py +143 -0
  114. oci/load_balancer/models/backend_set.py +305 -0
  115. oci/load_balancer/models/backend_set_details.py +262 -0
  116. oci/load_balancer/models/backend_set_health.py +265 -0
  117. oci/load_balancer/models/certificate.py +188 -0
  118. oci/load_balancer/models/certificate_details.py +270 -0
  119. oci/load_balancer/models/change_load_balancer_compartment_details.py +78 -0
  120. oci/load_balancer/models/connection_configuration.py +168 -0
  121. oci/load_balancer/models/control_access_using_http_methods_rule.py +162 -0
  122. oci/load_balancer/models/create_backend_details.py +316 -0
  123. oci/load_balancer/models/create_backend_set_details.py +305 -0
  124. oci/load_balancer/models/create_certificate_details.py +270 -0
  125. oci/load_balancer/models/create_hostname_details.py +121 -0
  126. oci/load_balancer/models/create_listener_details.py +387 -0
  127. oci/load_balancer/models/create_load_balancer_details.py +895 -0
  128. oci/load_balancer/models/create_path_route_set_details.py +111 -0
  129. oci/load_balancer/models/create_routing_policy_details.py +154 -0
  130. oci/load_balancer/models/create_rule_set_details.py +109 -0
  131. oci/load_balancer/models/create_ssl_cipher_suite_details.py +606 -0
  132. oci/load_balancer/models/extend_http_request_header_value_rule.py +181 -0
  133. oci/load_balancer/models/extend_http_response_header_value_rule.py +181 -0
  134. oci/load_balancer/models/forward_to_backend_set.py +86 -0
  135. oci/load_balancer/models/health_check_result.py +219 -0
  136. oci/load_balancer/models/health_checker.py +381 -0
  137. oci/load_balancer/models/health_checker_details.py +376 -0
  138. oci/load_balancer/models/hostname.py +121 -0
  139. oci/load_balancer/models/hostname_details.py +117 -0
  140. oci/load_balancer/models/http_header_rule.py +127 -0
  141. oci/load_balancer/models/ip_address.py +142 -0
  142. oci/load_balancer/models/ip_based_max_connections_rule.py +118 -0
  143. oci/load_balancer/models/ip_max_connections.py +111 -0
  144. oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.py +423 -0
  145. oci/load_balancer/models/listener.py +383 -0
  146. oci/load_balancer/models/listener_details.py +344 -0
  147. oci/load_balancer/models/listener_rule_summary.py +104 -0
  148. oci/load_balancer/models/load_balancer.py +1023 -0
  149. oci/load_balancer/models/load_balancer_health.py +281 -0
  150. oci/load_balancer/models/load_balancer_health_summary.py +167 -0
  151. oci/load_balancer/models/load_balancer_policy.py +80 -0
  152. oci/load_balancer/models/load_balancer_protocol.py +76 -0
  153. oci/load_balancer/models/load_balancer_shape.py +80 -0
  154. oci/load_balancer/models/path_match_condition.py +166 -0
  155. oci/load_balancer/models/path_match_type.py +126 -0
  156. oci/load_balancer/models/path_route.py +156 -0
  157. oci/load_balancer/models/path_route_set.py +112 -0
  158. oci/load_balancer/models/path_route_set_details.py +72 -0
  159. oci/load_balancer/models/redirect_rule.py +173 -0
  160. oci/load_balancer/models/redirect_uri.py +420 -0
  161. oci/load_balancer/models/remove_http_request_header_rule.py +90 -0
  162. oci/load_balancer/models/remove_http_response_header_rule.py +92 -0
  163. oci/load_balancer/models/reserved_ip.py +90 -0
  164. oci/load_balancer/models/routing_policy.py +152 -0
  165. oci/load_balancer/models/routing_policy_details.py +73 -0
  166. oci/load_balancer/models/routing_rule.py +135 -0
  167. oci/load_balancer/models/rule.py +177 -0
  168. oci/load_balancer/models/rule_condition.py +121 -0
  169. oci/load_balancer/models/rule_set.py +113 -0
  170. oci/load_balancer/models/rule_set_details.py +72 -0
  171. oci/load_balancer/models/session_persistence_configuration_details.py +136 -0
  172. oci/load_balancer/models/shape_details.py +121 -0
  173. oci/load_balancer/models/source_ip_address_condition.py +90 -0
  174. oci/load_balancer/models/source_vcn_id_condition.py +98 -0
  175. oci/load_balancer/models/source_vcn_ip_address_condition.py +97 -0
  176. oci/load_balancer/models/ssl_cipher_suite.py +606 -0
  177. oci/load_balancer/models/ssl_cipher_suite_details.py +606 -0
  178. oci/load_balancer/models/ssl_configuration.py +478 -0
  179. oci/load_balancer/models/ssl_configuration_details.py +476 -0
  180. oci/load_balancer/models/update_backend_details.py +242 -0
  181. oci/load_balancer/models/update_backend_set_details.py +264 -0
  182. oci/load_balancer/models/update_health_checker_details.py +374 -0
  183. oci/load_balancer/models/update_hostname_details.py +86 -0
  184. oci/load_balancer/models/update_listener_details.py +344 -0
  185. oci/load_balancer/models/update_load_balancer_details.py +356 -0
  186. oci/load_balancer/models/update_load_balancer_shape_details.py +127 -0
  187. oci/load_balancer/models/update_network_security_groups_details.py +99 -0
  188. oci/load_balancer/models/update_path_route_set_details.py +72 -0
  189. oci/load_balancer/models/update_routing_policy_details.py +115 -0
  190. oci/load_balancer/models/update_rule_set_details.py +72 -0
  191. oci/load_balancer/models/update_ssl_cipher_suite_details.py +300 -0
  192. oci/load_balancer/models/work_request.py +385 -0
  193. oci/load_balancer/models/work_request_error.py +115 -0
  194. oci/network_load_balancer/__init__.py +14 -0
  195. oci/network_load_balancer/models/__init__.py +106 -0
  196. oci/network_load_balancer/models/backend.py +338 -0
  197. oci/network_load_balancer/models/backend_collection.py +72 -0
  198. oci/network_load_balancer/models/backend_details.py +337 -0
  199. oci/network_load_balancer/models/backend_health.py +145 -0
  200. oci/network_load_balancer/models/backend_set.py +347 -0
  201. oci/network_load_balancer/models/backend_set_collection.py +72 -0
  202. oci/network_load_balancer/models/backend_set_details.py +306 -0
  203. oci/network_load_balancer/models/backend_set_health.py +265 -0
  204. oci/network_load_balancer/models/backend_set_summary.py +347 -0
  205. oci/network_load_balancer/models/backend_summary.py +338 -0
  206. oci/network_load_balancer/models/change_network_load_balancer_compartment_details.py +78 -0
  207. oci/network_load_balancer/models/create_backend_details.py +336 -0
  208. oci/network_load_balancer/models/create_backend_set_details.py +347 -0
  209. oci/network_load_balancer/models/create_listener_details.py +396 -0
  210. oci/network_load_balancer/models/create_network_load_balancer_details.py +694 -0
  211. oci/network_load_balancer/models/dns_health_checker_details.py +264 -0
  212. oci/network_load_balancer/models/health_check_result.py +139 -0
  213. oci/network_load_balancer/models/health_checker.py +449 -0
  214. oci/network_load_balancer/models/health_checker_details.py +449 -0
  215. oci/network_load_balancer/models/ip_address.py +189 -0
  216. oci/network_load_balancer/models/listener.py +396 -0
  217. oci/network_load_balancer/models/listener_collection.py +72 -0
  218. oci/network_load_balancer/models/listener_details.py +396 -0
  219. oci/network_load_balancer/models/listener_summary.py +396 -0
  220. oci/network_load_balancer/models/network_load_balancer.py +847 -0
  221. oci/network_load_balancer/models/network_load_balancer_collection.py +72 -0
  222. oci/network_load_balancer/models/network_load_balancer_health.py +281 -0
  223. oci/network_load_balancer/models/network_load_balancer_health_collection.py +72 -0
  224. oci/network_load_balancer/models/network_load_balancer_health_summary.py +167 -0
  225. oci/network_load_balancer/models/network_load_balancer_summary.py +833 -0
  226. oci/network_load_balancer/models/network_load_balancers_policy_collection.py +72 -0
  227. oci/network_load_balancer/models/network_load_balancers_protocol_collection.py +73 -0
  228. oci/network_load_balancer/models/reserved_ip.py +90 -0
  229. oci/network_load_balancer/models/update_backend_details.py +199 -0
  230. oci/network_load_balancer/models/update_backend_set_details.py +288 -0
  231. oci/network_load_balancer/models/update_health_checker_details.py +444 -0
  232. oci/network_load_balancer/models/update_listener_details.py +361 -0
  233. oci/network_load_balancer/models/update_network_load_balancer_details.py +386 -0
  234. oci/network_load_balancer/models/update_network_security_groups_details.py +99 -0
  235. oci/network_load_balancer/models/work_request.py +454 -0
  236. oci/network_load_balancer/models/work_request_collection.py +72 -0
  237. oci/network_load_balancer/models/work_request_error.py +136 -0
  238. oci/network_load_balancer/models/work_request_error_collection.py +72 -0
  239. oci/network_load_balancer/models/work_request_log_entry.py +103 -0
  240. oci/network_load_balancer/models/work_request_log_entry_collection.py +72 -0
  241. oci/network_load_balancer/models/work_request_resource.py +199 -0
  242. oci/network_load_balancer/models/work_request_summary.py +454 -0
  243. oci/network_load_balancer/network_load_balancer_client.py +4392 -0
  244. oci/network_load_balancer/network_load_balancer_client_composite_operations.py +757 -0
  245. oci/version.py +1 -1
  246. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/LICENSE.txt +0 -0
  247. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/WHEEL +0 -0
  248. {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,281 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20170115
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class LoadBalancerHealth(object):
14
+ """
15
+ The health status details for the specified load balancer.
16
+
17
+ This object does not explicitly enumerate backend sets with a status of `OK`. However, they are included in the
18
+ `totalBackendSetCount` sum.
19
+ """
20
+
21
+ #: A constant which can be used with the status property of a LoadBalancerHealth.
22
+ #: This constant has a value of "OK"
23
+ STATUS_OK = "OK"
24
+
25
+ #: A constant which can be used with the status property of a LoadBalancerHealth.
26
+ #: This constant has a value of "WARNING"
27
+ STATUS_WARNING = "WARNING"
28
+
29
+ #: A constant which can be used with the status property of a LoadBalancerHealth.
30
+ #: This constant has a value of "CRITICAL"
31
+ STATUS_CRITICAL = "CRITICAL"
32
+
33
+ #: A constant which can be used with the status property of a LoadBalancerHealth.
34
+ #: This constant has a value of "UNKNOWN"
35
+ STATUS_UNKNOWN = "UNKNOWN"
36
+
37
+ def __init__(self, **kwargs):
38
+ """
39
+ Initializes a new LoadBalancerHealth object with values from keyword arguments.
40
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
41
+
42
+ :param status:
43
+ The value to assign to the status property of this LoadBalancerHealth.
44
+ Allowed values for this property are: "OK", "WARNING", "CRITICAL", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
45
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
46
+ :type status: str
47
+
48
+ :param warning_state_backend_set_names:
49
+ The value to assign to the warning_state_backend_set_names property of this LoadBalancerHealth.
50
+ :type warning_state_backend_set_names: list[str]
51
+
52
+ :param critical_state_backend_set_names:
53
+ The value to assign to the critical_state_backend_set_names property of this LoadBalancerHealth.
54
+ :type critical_state_backend_set_names: list[str]
55
+
56
+ :param unknown_state_backend_set_names:
57
+ The value to assign to the unknown_state_backend_set_names property of this LoadBalancerHealth.
58
+ :type unknown_state_backend_set_names: list[str]
59
+
60
+ :param total_backend_set_count:
61
+ The value to assign to the total_backend_set_count property of this LoadBalancerHealth.
62
+ :type total_backend_set_count: int
63
+
64
+ """
65
+ self.swagger_types = {
66
+ 'status': 'str',
67
+ 'warning_state_backend_set_names': 'list[str]',
68
+ 'critical_state_backend_set_names': 'list[str]',
69
+ 'unknown_state_backend_set_names': 'list[str]',
70
+ 'total_backend_set_count': 'int'
71
+ }
72
+
73
+ self.attribute_map = {
74
+ 'status': 'status',
75
+ 'warning_state_backend_set_names': 'warningStateBackendSetNames',
76
+ 'critical_state_backend_set_names': 'criticalStateBackendSetNames',
77
+ 'unknown_state_backend_set_names': 'unknownStateBackendSetNames',
78
+ 'total_backend_set_count': 'totalBackendSetCount'
79
+ }
80
+
81
+ self._status = None
82
+ self._warning_state_backend_set_names = None
83
+ self._critical_state_backend_set_names = None
84
+ self._unknown_state_backend_set_names = None
85
+ self._total_backend_set_count = None
86
+
87
+ @property
88
+ def status(self):
89
+ """
90
+ **[Required]** Gets the status of this LoadBalancerHealth.
91
+ The overall health status of the load balancer.
92
+
93
+ * **OK:** All backend sets associated with the load balancer return a status of `OK`.
94
+
95
+ * **WARNING:** At least one of the backend sets associated with the load balancer returns a status of `WARNING`,
96
+ no backend sets return a status of `CRITICAL`, and the load balancer life cycle state is `ACTIVE`.
97
+
98
+ * **CRITICAL:** One or more of the backend sets associated with the load balancer return a status of `CRITICAL`.
99
+
100
+ * **UNKNOWN:** If any one of the following conditions is true:
101
+
102
+ * The load balancer life cycle state is not `ACTIVE`.
103
+
104
+ * No backend sets are defined for the load balancer.
105
+
106
+ * More than half of the backend sets associated with the load balancer return a status of `UNKNOWN`, none of the backend
107
+ sets return a status of `WARNING` or `CRITICAL`, and the load balancer life cycle state is `ACTIVE`.
108
+
109
+ * The system could not retrieve metrics for any reason.
110
+
111
+ Allowed values for this property are: "OK", "WARNING", "CRITICAL", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
112
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
113
+
114
+
115
+ :return: The status of this LoadBalancerHealth.
116
+ :rtype: str
117
+ """
118
+ return self._status
119
+
120
+ @status.setter
121
+ def status(self, status):
122
+ """
123
+ Sets the status of this LoadBalancerHealth.
124
+ The overall health status of the load balancer.
125
+
126
+ * **OK:** All backend sets associated with the load balancer return a status of `OK`.
127
+
128
+ * **WARNING:** At least one of the backend sets associated with the load balancer returns a status of `WARNING`,
129
+ no backend sets return a status of `CRITICAL`, and the load balancer life cycle state is `ACTIVE`.
130
+
131
+ * **CRITICAL:** One or more of the backend sets associated with the load balancer return a status of `CRITICAL`.
132
+
133
+ * **UNKNOWN:** If any one of the following conditions is true:
134
+
135
+ * The load balancer life cycle state is not `ACTIVE`.
136
+
137
+ * No backend sets are defined for the load balancer.
138
+
139
+ * More than half of the backend sets associated with the load balancer return a status of `UNKNOWN`, none of the backend
140
+ sets return a status of `WARNING` or `CRITICAL`, and the load balancer life cycle state is `ACTIVE`.
141
+
142
+ * The system could not retrieve metrics for any reason.
143
+
144
+
145
+ :param status: The status of this LoadBalancerHealth.
146
+ :type: str
147
+ """
148
+ allowed_values = ["OK", "WARNING", "CRITICAL", "UNKNOWN"]
149
+ if not value_allowed_none_or_none_sentinel(status, allowed_values):
150
+ status = 'UNKNOWN_ENUM_VALUE'
151
+ self._status = status
152
+
153
+ @property
154
+ def warning_state_backend_set_names(self):
155
+ """
156
+ **[Required]** Gets the warning_state_backend_set_names of this LoadBalancerHealth.
157
+ A list of backend sets that are currently in the `WARNING` health state. The list identifies each backend set by the
158
+ friendly name you assigned when you created it.
159
+
160
+ Example: `example_backend_set3`
161
+
162
+
163
+ :return: The warning_state_backend_set_names of this LoadBalancerHealth.
164
+ :rtype: list[str]
165
+ """
166
+ return self._warning_state_backend_set_names
167
+
168
+ @warning_state_backend_set_names.setter
169
+ def warning_state_backend_set_names(self, warning_state_backend_set_names):
170
+ """
171
+ Sets the warning_state_backend_set_names of this LoadBalancerHealth.
172
+ A list of backend sets that are currently in the `WARNING` health state. The list identifies each backend set by the
173
+ friendly name you assigned when you created it.
174
+
175
+ Example: `example_backend_set3`
176
+
177
+
178
+ :param warning_state_backend_set_names: The warning_state_backend_set_names of this LoadBalancerHealth.
179
+ :type: list[str]
180
+ """
181
+ self._warning_state_backend_set_names = warning_state_backend_set_names
182
+
183
+ @property
184
+ def critical_state_backend_set_names(self):
185
+ """
186
+ **[Required]** Gets the critical_state_backend_set_names of this LoadBalancerHealth.
187
+ A list of backend sets that are currently in the `CRITICAL` health state. The list identifies each backend set by the
188
+ friendly name you assigned when you created it.
189
+
190
+ Example: `example_backend_set`
191
+
192
+
193
+ :return: The critical_state_backend_set_names of this LoadBalancerHealth.
194
+ :rtype: list[str]
195
+ """
196
+ return self._critical_state_backend_set_names
197
+
198
+ @critical_state_backend_set_names.setter
199
+ def critical_state_backend_set_names(self, critical_state_backend_set_names):
200
+ """
201
+ Sets the critical_state_backend_set_names of this LoadBalancerHealth.
202
+ A list of backend sets that are currently in the `CRITICAL` health state. The list identifies each backend set by the
203
+ friendly name you assigned when you created it.
204
+
205
+ Example: `example_backend_set`
206
+
207
+
208
+ :param critical_state_backend_set_names: The critical_state_backend_set_names of this LoadBalancerHealth.
209
+ :type: list[str]
210
+ """
211
+ self._critical_state_backend_set_names = critical_state_backend_set_names
212
+
213
+ @property
214
+ def unknown_state_backend_set_names(self):
215
+ """
216
+ **[Required]** Gets the unknown_state_backend_set_names of this LoadBalancerHealth.
217
+ A list of backend sets that are currently in the `UNKNOWN` health state. The list identifies each backend set by the
218
+ friendly name you assigned when you created it.
219
+
220
+ Example: `example_backend_set2`
221
+
222
+
223
+ :return: The unknown_state_backend_set_names of this LoadBalancerHealth.
224
+ :rtype: list[str]
225
+ """
226
+ return self._unknown_state_backend_set_names
227
+
228
+ @unknown_state_backend_set_names.setter
229
+ def unknown_state_backend_set_names(self, unknown_state_backend_set_names):
230
+ """
231
+ Sets the unknown_state_backend_set_names of this LoadBalancerHealth.
232
+ A list of backend sets that are currently in the `UNKNOWN` health state. The list identifies each backend set by the
233
+ friendly name you assigned when you created it.
234
+
235
+ Example: `example_backend_set2`
236
+
237
+
238
+ :param unknown_state_backend_set_names: The unknown_state_backend_set_names of this LoadBalancerHealth.
239
+ :type: list[str]
240
+ """
241
+ self._unknown_state_backend_set_names = unknown_state_backend_set_names
242
+
243
+ @property
244
+ def total_backend_set_count(self):
245
+ """
246
+ **[Required]** Gets the total_backend_set_count of this LoadBalancerHealth.
247
+ The total number of backend sets associated with this load balancer.
248
+
249
+ Example: `4`
250
+
251
+
252
+ :return: The total_backend_set_count of this LoadBalancerHealth.
253
+ :rtype: int
254
+ """
255
+ return self._total_backend_set_count
256
+
257
+ @total_backend_set_count.setter
258
+ def total_backend_set_count(self, total_backend_set_count):
259
+ """
260
+ Sets the total_backend_set_count of this LoadBalancerHealth.
261
+ The total number of backend sets associated with this load balancer.
262
+
263
+ Example: `4`
264
+
265
+
266
+ :param total_backend_set_count: The total_backend_set_count of this LoadBalancerHealth.
267
+ :type: int
268
+ """
269
+ self._total_backend_set_count = total_backend_set_count
270
+
271
+ def __repr__(self):
272
+ return formatted_flat_dict(self)
273
+
274
+ def __eq__(self, other):
275
+ if other is None:
276
+ return False
277
+
278
+ return self.__dict__ == other.__dict__
279
+
280
+ def __ne__(self, other):
281
+ return not self == other
@@ -0,0 +1,167 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20170115
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class LoadBalancerHealthSummary(object):
14
+ """
15
+ A health status summary for the specified load balancer.
16
+ """
17
+
18
+ #: A constant which can be used with the status property of a LoadBalancerHealthSummary.
19
+ #: This constant has a value of "OK"
20
+ STATUS_OK = "OK"
21
+
22
+ #: A constant which can be used with the status property of a LoadBalancerHealthSummary.
23
+ #: This constant has a value of "WARNING"
24
+ STATUS_WARNING = "WARNING"
25
+
26
+ #: A constant which can be used with the status property of a LoadBalancerHealthSummary.
27
+ #: This constant has a value of "CRITICAL"
28
+ STATUS_CRITICAL = "CRITICAL"
29
+
30
+ #: A constant which can be used with the status property of a LoadBalancerHealthSummary.
31
+ #: This constant has a value of "UNKNOWN"
32
+ STATUS_UNKNOWN = "UNKNOWN"
33
+
34
+ def __init__(self, **kwargs):
35
+ """
36
+ Initializes a new LoadBalancerHealthSummary object with values from keyword arguments.
37
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
38
+
39
+ :param load_balancer_id:
40
+ The value to assign to the load_balancer_id property of this LoadBalancerHealthSummary.
41
+ :type load_balancer_id: str
42
+
43
+ :param status:
44
+ The value to assign to the status property of this LoadBalancerHealthSummary.
45
+ Allowed values for this property are: "OK", "WARNING", "CRITICAL", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
46
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
47
+ :type status: str
48
+
49
+ """
50
+ self.swagger_types = {
51
+ 'load_balancer_id': 'str',
52
+ 'status': 'str'
53
+ }
54
+
55
+ self.attribute_map = {
56
+ 'load_balancer_id': 'loadBalancerId',
57
+ 'status': 'status'
58
+ }
59
+
60
+ self._load_balancer_id = None
61
+ self._status = None
62
+
63
+ @property
64
+ def load_balancer_id(self):
65
+ """
66
+ **[Required]** Gets the load_balancer_id of this LoadBalancerHealthSummary.
67
+ The `OCID`__ of the load balancer the health status is associated with.
68
+
69
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
70
+
71
+
72
+ :return: The load_balancer_id of this LoadBalancerHealthSummary.
73
+ :rtype: str
74
+ """
75
+ return self._load_balancer_id
76
+
77
+ @load_balancer_id.setter
78
+ def load_balancer_id(self, load_balancer_id):
79
+ """
80
+ Sets the load_balancer_id of this LoadBalancerHealthSummary.
81
+ The `OCID`__ of the load balancer the health status is associated with.
82
+
83
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
84
+
85
+
86
+ :param load_balancer_id: The load_balancer_id of this LoadBalancerHealthSummary.
87
+ :type: str
88
+ """
89
+ self._load_balancer_id = load_balancer_id
90
+
91
+ @property
92
+ def status(self):
93
+ """
94
+ **[Required]** Gets the status of this LoadBalancerHealthSummary.
95
+ The overall health status of the load balancer.
96
+
97
+ * **OK:** All backend sets associated with the load balancer return a status of `OK`.
98
+
99
+ * **WARNING:** At least one of the backend sets associated with the load balancer returns a status of `WARNING`,
100
+ no backend sets return a status of `CRITICAL`, and the load balancer life cycle state is `ACTIVE`.
101
+
102
+ * **CRITICAL:** One or more of the backend sets associated with the load balancer return a status of `CRITICAL`.
103
+
104
+ * **UNKNOWN:** If any one of the following conditions is true:
105
+
106
+ * The load balancer life cycle state is not `ACTIVE`.
107
+
108
+ * No backend sets are defined for the load balancer.
109
+
110
+ * More than half of the backend sets associated with the load balancer return a status of `UNKNOWN`, none of the backend
111
+ sets return a status of `WARNING` or `CRITICAL`, and the load balancer life cycle state is `ACTIVE`.
112
+
113
+ * The system could not retrieve metrics for any reason.
114
+
115
+ Allowed values for this property are: "OK", "WARNING", "CRITICAL", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
116
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
117
+
118
+
119
+ :return: The status of this LoadBalancerHealthSummary.
120
+ :rtype: str
121
+ """
122
+ return self._status
123
+
124
+ @status.setter
125
+ def status(self, status):
126
+ """
127
+ Sets the status of this LoadBalancerHealthSummary.
128
+ The overall health status of the load balancer.
129
+
130
+ * **OK:** All backend sets associated with the load balancer return a status of `OK`.
131
+
132
+ * **WARNING:** At least one of the backend sets associated with the load balancer returns a status of `WARNING`,
133
+ no backend sets return a status of `CRITICAL`, and the load balancer life cycle state is `ACTIVE`.
134
+
135
+ * **CRITICAL:** One or more of the backend sets associated with the load balancer return a status of `CRITICAL`.
136
+
137
+ * **UNKNOWN:** If any one of the following conditions is true:
138
+
139
+ * The load balancer life cycle state is not `ACTIVE`.
140
+
141
+ * No backend sets are defined for the load balancer.
142
+
143
+ * More than half of the backend sets associated with the load balancer return a status of `UNKNOWN`, none of the backend
144
+ sets return a status of `WARNING` or `CRITICAL`, and the load balancer life cycle state is `ACTIVE`.
145
+
146
+ * The system could not retrieve metrics for any reason.
147
+
148
+
149
+ :param status: The status of this LoadBalancerHealthSummary.
150
+ :type: str
151
+ """
152
+ allowed_values = ["OK", "WARNING", "CRITICAL", "UNKNOWN"]
153
+ if not value_allowed_none_or_none_sentinel(status, allowed_values):
154
+ status = 'UNKNOWN_ENUM_VALUE'
155
+ self._status = status
156
+
157
+ def __repr__(self):
158
+ return formatted_flat_dict(self)
159
+
160
+ def __eq__(self, other):
161
+ if other is None:
162
+ return False
163
+
164
+ return self.__dict__ == other.__dict__
165
+
166
+ def __ne__(self, other):
167
+ return not self == other
@@ -0,0 +1,80 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20170115
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class LoadBalancerPolicy(object):
14
+ """
15
+ A policy that determines how traffic is distributed among backend servers.
16
+ For more information on load balancing policies, see
17
+ `How Load Balancing Policies Work`__.
18
+
19
+ __ https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm
20
+ """
21
+
22
+ def __init__(self, **kwargs):
23
+ """
24
+ Initializes a new LoadBalancerPolicy object with values from keyword arguments.
25
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
26
+
27
+ :param name:
28
+ The value to assign to the name property of this LoadBalancerPolicy.
29
+ :type name: str
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'name': 'str'
34
+ }
35
+
36
+ self.attribute_map = {
37
+ 'name': 'name'
38
+ }
39
+
40
+ self._name = None
41
+
42
+ @property
43
+ def name(self):
44
+ """
45
+ **[Required]** Gets the name of this LoadBalancerPolicy.
46
+ The name of a load balancing policy.
47
+
48
+ Example: 'LEAST_CONNECTIONS'
49
+
50
+
51
+ :return: The name of this LoadBalancerPolicy.
52
+ :rtype: str
53
+ """
54
+ return self._name
55
+
56
+ @name.setter
57
+ def name(self, name):
58
+ """
59
+ Sets the name of this LoadBalancerPolicy.
60
+ The name of a load balancing policy.
61
+
62
+ Example: 'LEAST_CONNECTIONS'
63
+
64
+
65
+ :param name: The name of this LoadBalancerPolicy.
66
+ :type: str
67
+ """
68
+ self._name = name
69
+
70
+ def __repr__(self):
71
+ return formatted_flat_dict(self)
72
+
73
+ def __eq__(self, other):
74
+ if other is None:
75
+ return False
76
+
77
+ return self.__dict__ == other.__dict__
78
+
79
+ def __ne__(self, other):
80
+ return not self == other
@@ -0,0 +1,76 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20170115
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class LoadBalancerProtocol(object):
14
+ """
15
+ A protocol that defines the type of traffic accepted by a listener.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new LoadBalancerProtocol object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param name:
24
+ The value to assign to the name property of this LoadBalancerProtocol.
25
+ :type name: str
26
+
27
+ """
28
+ self.swagger_types = {
29
+ 'name': 'str'
30
+ }
31
+
32
+ self.attribute_map = {
33
+ 'name': 'name'
34
+ }
35
+
36
+ self._name = None
37
+
38
+ @property
39
+ def name(self):
40
+ """
41
+ **[Required]** Gets the name of this LoadBalancerProtocol.
42
+ The name of a protocol.
43
+
44
+ Example: 'HTTP'
45
+
46
+
47
+ :return: The name of this LoadBalancerProtocol.
48
+ :rtype: str
49
+ """
50
+ return self._name
51
+
52
+ @name.setter
53
+ def name(self, name):
54
+ """
55
+ Sets the name of this LoadBalancerProtocol.
56
+ The name of a protocol.
57
+
58
+ Example: 'HTTP'
59
+
60
+
61
+ :param name: The name of this LoadBalancerProtocol.
62
+ :type: str
63
+ """
64
+ self._name = name
65
+
66
+ def __repr__(self):
67
+ return formatted_flat_dict(self)
68
+
69
+ def __eq__(self, other):
70
+ if other is None:
71
+ return False
72
+
73
+ return self.__dict__ == other.__dict__
74
+
75
+ def __ne__(self, other):
76
+ return not self == other
@@ -0,0 +1,80 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20170115
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class LoadBalancerShape(object):
14
+ """
15
+ A shape is a template that determines the total pre-provisioned bandwidth (ingress plus egress) for the
16
+ load balancer.
17
+
18
+ Note that the pre-provisioned maximum capacity applies to aggregated connections, not to a single client
19
+ attempting to use the full bandwidth.
20
+ """
21
+
22
+ def __init__(self, **kwargs):
23
+ """
24
+ Initializes a new LoadBalancerShape object with values from keyword arguments.
25
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
26
+
27
+ :param name:
28
+ The value to assign to the name property of this LoadBalancerShape.
29
+ :type name: str
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'name': 'str'
34
+ }
35
+
36
+ self.attribute_map = {
37
+ 'name': 'name'
38
+ }
39
+
40
+ self._name = None
41
+
42
+ @property
43
+ def name(self):
44
+ """
45
+ **[Required]** Gets the name of this LoadBalancerShape.
46
+ The name of the shape.
47
+
48
+ Example: `100Mbps`
49
+
50
+
51
+ :return: The name of this LoadBalancerShape.
52
+ :rtype: str
53
+ """
54
+ return self._name
55
+
56
+ @name.setter
57
+ def name(self, name):
58
+ """
59
+ Sets the name of this LoadBalancerShape.
60
+ The name of the shape.
61
+
62
+ Example: `100Mbps`
63
+
64
+
65
+ :param name: The name of this LoadBalancerShape.
66
+ :type: str
67
+ """
68
+ self._name = name
69
+
70
+ def __repr__(self):
71
+ return formatted_flat_dict(self)
72
+
73
+ def __eq__(self, other):
74
+ if other is None:
75
+ return False
76
+
77
+ return self.__dict__ == other.__dict__
78
+
79
+ def __ne__(self, other):
80
+ return not self == other