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,347 @@
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: 20200501
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 BackendSetSummary(object):
14
+ """
15
+ The configuration of a network load balancer backend set.
16
+ For more information about backend set configuration, see
17
+ `Managing Backend Sets`__.
18
+
19
+ **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
20
+
21
+ __ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm
22
+ """
23
+
24
+ #: A constant which can be used with the policy property of a BackendSetSummary.
25
+ #: This constant has a value of "TWO_TUPLE"
26
+ POLICY_TWO_TUPLE = "TWO_TUPLE"
27
+
28
+ #: A constant which can be used with the policy property of a BackendSetSummary.
29
+ #: This constant has a value of "THREE_TUPLE"
30
+ POLICY_THREE_TUPLE = "THREE_TUPLE"
31
+
32
+ #: A constant which can be used with the policy property of a BackendSetSummary.
33
+ #: This constant has a value of "FIVE_TUPLE"
34
+ POLICY_FIVE_TUPLE = "FIVE_TUPLE"
35
+
36
+ #: A constant which can be used with the ip_version property of a BackendSetSummary.
37
+ #: This constant has a value of "IPV4"
38
+ IP_VERSION_IPV4 = "IPV4"
39
+
40
+ #: A constant which can be used with the ip_version property of a BackendSetSummary.
41
+ #: This constant has a value of "IPV6"
42
+ IP_VERSION_IPV6 = "IPV6"
43
+
44
+ def __init__(self, **kwargs):
45
+ """
46
+ Initializes a new BackendSetSummary object with values from keyword arguments.
47
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
48
+
49
+ :param name:
50
+ The value to assign to the name property of this BackendSetSummary.
51
+ :type name: str
52
+
53
+ :param policy:
54
+ The value to assign to the policy property of this BackendSetSummary.
55
+ Allowed values for this property are: "TWO_TUPLE", "THREE_TUPLE", "FIVE_TUPLE", 'UNKNOWN_ENUM_VALUE'.
56
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
57
+ :type policy: str
58
+
59
+ :param is_preserve_source:
60
+ The value to assign to the is_preserve_source property of this BackendSetSummary.
61
+ :type is_preserve_source: bool
62
+
63
+ :param is_fail_open:
64
+ The value to assign to the is_fail_open property of this BackendSetSummary.
65
+ :type is_fail_open: bool
66
+
67
+ :param is_instant_failover_enabled:
68
+ The value to assign to the is_instant_failover_enabled property of this BackendSetSummary.
69
+ :type is_instant_failover_enabled: bool
70
+
71
+ :param ip_version:
72
+ The value to assign to the ip_version property of this BackendSetSummary.
73
+ Allowed values for this property are: "IPV4", "IPV6", 'UNKNOWN_ENUM_VALUE'.
74
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
75
+ :type ip_version: str
76
+
77
+ :param backends:
78
+ The value to assign to the backends property of this BackendSetSummary.
79
+ :type backends: list[oci.network_load_balancer.models.Backend]
80
+
81
+ :param health_checker:
82
+ The value to assign to the health_checker property of this BackendSetSummary.
83
+ :type health_checker: oci.network_load_balancer.models.HealthChecker
84
+
85
+ """
86
+ self.swagger_types = {
87
+ 'name': 'str',
88
+ 'policy': 'str',
89
+ 'is_preserve_source': 'bool',
90
+ 'is_fail_open': 'bool',
91
+ 'is_instant_failover_enabled': 'bool',
92
+ 'ip_version': 'str',
93
+ 'backends': 'list[Backend]',
94
+ 'health_checker': 'HealthChecker'
95
+ }
96
+
97
+ self.attribute_map = {
98
+ 'name': 'name',
99
+ 'policy': 'policy',
100
+ 'is_preserve_source': 'isPreserveSource',
101
+ 'is_fail_open': 'isFailOpen',
102
+ 'is_instant_failover_enabled': 'isInstantFailoverEnabled',
103
+ 'ip_version': 'ipVersion',
104
+ 'backends': 'backends',
105
+ 'health_checker': 'healthChecker'
106
+ }
107
+
108
+ self._name = None
109
+ self._policy = None
110
+ self._is_preserve_source = None
111
+ self._is_fail_open = None
112
+ self._is_instant_failover_enabled = None
113
+ self._ip_version = None
114
+ self._backends = None
115
+ self._health_checker = None
116
+
117
+ @property
118
+ def name(self):
119
+ """
120
+ **[Required]** Gets the name of this BackendSetSummary.
121
+ A user-friendly name for the backend set that must be unique and cannot be changed.
122
+
123
+ Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot
124
+ contain spaces. Avoid entering confidential information.
125
+
126
+ Example: `example_backend_set`
127
+
128
+
129
+ :return: The name of this BackendSetSummary.
130
+ :rtype: str
131
+ """
132
+ return self._name
133
+
134
+ @name.setter
135
+ def name(self, name):
136
+ """
137
+ Sets the name of this BackendSetSummary.
138
+ A user-friendly name for the backend set that must be unique and cannot be changed.
139
+
140
+ Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot
141
+ contain spaces. Avoid entering confidential information.
142
+
143
+ Example: `example_backend_set`
144
+
145
+
146
+ :param name: The name of this BackendSetSummary.
147
+ :type: str
148
+ """
149
+ self._name = name
150
+
151
+ @property
152
+ def policy(self):
153
+ """
154
+ **[Required]** Gets the policy of this BackendSetSummary.
155
+ The network load balancer policy for the backend set.
156
+
157
+ Example: `FIVE_TUPLE`
158
+
159
+ Allowed values for this property are: "TWO_TUPLE", "THREE_TUPLE", "FIVE_TUPLE", 'UNKNOWN_ENUM_VALUE'.
160
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
161
+
162
+
163
+ :return: The policy of this BackendSetSummary.
164
+ :rtype: str
165
+ """
166
+ return self._policy
167
+
168
+ @policy.setter
169
+ def policy(self, policy):
170
+ """
171
+ Sets the policy of this BackendSetSummary.
172
+ The network load balancer policy for the backend set.
173
+
174
+ Example: `FIVE_TUPLE`
175
+
176
+
177
+ :param policy: The policy of this BackendSetSummary.
178
+ :type: str
179
+ """
180
+ allowed_values = ["TWO_TUPLE", "THREE_TUPLE", "FIVE_TUPLE"]
181
+ if not value_allowed_none_or_none_sentinel(policy, allowed_values):
182
+ policy = 'UNKNOWN_ENUM_VALUE'
183
+ self._policy = policy
184
+
185
+ @property
186
+ def is_preserve_source(self):
187
+ """
188
+ Gets the is_preserve_source of this BackendSetSummary.
189
+ If this parameter is enabled, the network load balancer preserves the source IP of the packet forwarded to the backend servers.
190
+ Backend servers see the original source IP. If the `isPreserveSourceDestination` parameter is enabled for the network load balancer resource, this parameter cannot be disabled.
191
+ The value is true by default.
192
+
193
+
194
+ :return: The is_preserve_source of this BackendSetSummary.
195
+ :rtype: bool
196
+ """
197
+ return self._is_preserve_source
198
+
199
+ @is_preserve_source.setter
200
+ def is_preserve_source(self, is_preserve_source):
201
+ """
202
+ Sets the is_preserve_source of this BackendSetSummary.
203
+ If this parameter is enabled, the network load balancer preserves the source IP of the packet forwarded to the backend servers.
204
+ Backend servers see the original source IP. If the `isPreserveSourceDestination` parameter is enabled for the network load balancer resource, this parameter cannot be disabled.
205
+ The value is true by default.
206
+
207
+
208
+ :param is_preserve_source: The is_preserve_source of this BackendSetSummary.
209
+ :type: bool
210
+ """
211
+ self._is_preserve_source = is_preserve_source
212
+
213
+ @property
214
+ def is_fail_open(self):
215
+ """
216
+ Gets the is_fail_open of this BackendSetSummary.
217
+ If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy.
218
+ The value is false by default.
219
+
220
+
221
+ :return: The is_fail_open of this BackendSetSummary.
222
+ :rtype: bool
223
+ """
224
+ return self._is_fail_open
225
+
226
+ @is_fail_open.setter
227
+ def is_fail_open(self, is_fail_open):
228
+ """
229
+ Sets the is_fail_open of this BackendSetSummary.
230
+ If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy.
231
+ The value is false by default.
232
+
233
+
234
+ :param is_fail_open: The is_fail_open of this BackendSetSummary.
235
+ :type: bool
236
+ """
237
+ self._is_fail_open = is_fail_open
238
+
239
+ @property
240
+ def is_instant_failover_enabled(self):
241
+ """
242
+ Gets the is_instant_failover_enabled of this BackendSetSummary.
243
+ If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
244
+
245
+
246
+ :return: The is_instant_failover_enabled of this BackendSetSummary.
247
+ :rtype: bool
248
+ """
249
+ return self._is_instant_failover_enabled
250
+
251
+ @is_instant_failover_enabled.setter
252
+ def is_instant_failover_enabled(self, is_instant_failover_enabled):
253
+ """
254
+ Sets the is_instant_failover_enabled of this BackendSetSummary.
255
+ If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
256
+
257
+
258
+ :param is_instant_failover_enabled: The is_instant_failover_enabled of this BackendSetSummary.
259
+ :type: bool
260
+ """
261
+ self._is_instant_failover_enabled = is_instant_failover_enabled
262
+
263
+ @property
264
+ def ip_version(self):
265
+ """
266
+ Gets the ip_version of this BackendSetSummary.
267
+ IP version associated with the backend set.
268
+
269
+ Allowed values for this property are: "IPV4", "IPV6", 'UNKNOWN_ENUM_VALUE'.
270
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
271
+
272
+
273
+ :return: The ip_version of this BackendSetSummary.
274
+ :rtype: str
275
+ """
276
+ return self._ip_version
277
+
278
+ @ip_version.setter
279
+ def ip_version(self, ip_version):
280
+ """
281
+ Sets the ip_version of this BackendSetSummary.
282
+ IP version associated with the backend set.
283
+
284
+
285
+ :param ip_version: The ip_version of this BackendSetSummary.
286
+ :type: str
287
+ """
288
+ allowed_values = ["IPV4", "IPV6"]
289
+ if not value_allowed_none_or_none_sentinel(ip_version, allowed_values):
290
+ ip_version = 'UNKNOWN_ENUM_VALUE'
291
+ self._ip_version = ip_version
292
+
293
+ @property
294
+ def backends(self):
295
+ """
296
+ **[Required]** Gets the backends of this BackendSetSummary.
297
+ An array of backends.
298
+
299
+
300
+ :return: The backends of this BackendSetSummary.
301
+ :rtype: list[oci.network_load_balancer.models.Backend]
302
+ """
303
+ return self._backends
304
+
305
+ @backends.setter
306
+ def backends(self, backends):
307
+ """
308
+ Sets the backends of this BackendSetSummary.
309
+ An array of backends.
310
+
311
+
312
+ :param backends: The backends of this BackendSetSummary.
313
+ :type: list[oci.network_load_balancer.models.Backend]
314
+ """
315
+ self._backends = backends
316
+
317
+ @property
318
+ def health_checker(self):
319
+ """
320
+ **[Required]** Gets the health_checker of this BackendSetSummary.
321
+
322
+ :return: The health_checker of this BackendSetSummary.
323
+ :rtype: oci.network_load_balancer.models.HealthChecker
324
+ """
325
+ return self._health_checker
326
+
327
+ @health_checker.setter
328
+ def health_checker(self, health_checker):
329
+ """
330
+ Sets the health_checker of this BackendSetSummary.
331
+
332
+ :param health_checker: The health_checker of this BackendSetSummary.
333
+ :type: oci.network_load_balancer.models.HealthChecker
334
+ """
335
+ self._health_checker = health_checker
336
+
337
+ def __repr__(self):
338
+ return formatted_flat_dict(self)
339
+
340
+ def __eq__(self, other):
341
+ if other is None:
342
+ return False
343
+
344
+ return self.__dict__ == other.__dict__
345
+
346
+ def __ne__(self, other):
347
+ return not self == other
@@ -0,0 +1,338 @@
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: 20200501
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 BackendSummary(object):
14
+ """
15
+ The configuration of a backend server that is a member of a network load balancer backend set.
16
+ For more information, see `Managing Backend Servers`__.
17
+
18
+ __ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendservers.htm
19
+ """
20
+
21
+ def __init__(self, **kwargs):
22
+ """
23
+ Initializes a new BackendSummary object with values from keyword arguments.
24
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
25
+
26
+ :param name:
27
+ The value to assign to the name property of this BackendSummary.
28
+ :type name: str
29
+
30
+ :param ip_address:
31
+ The value to assign to the ip_address property of this BackendSummary.
32
+ :type ip_address: str
33
+
34
+ :param target_id:
35
+ The value to assign to the target_id property of this BackendSummary.
36
+ :type target_id: str
37
+
38
+ :param port:
39
+ The value to assign to the port property of this BackendSummary.
40
+ :type port: int
41
+
42
+ :param weight:
43
+ The value to assign to the weight property of this BackendSummary.
44
+ :type weight: int
45
+
46
+ :param is_drain:
47
+ The value to assign to the is_drain property of this BackendSummary.
48
+ :type is_drain: bool
49
+
50
+ :param is_backup:
51
+ The value to assign to the is_backup property of this BackendSummary.
52
+ :type is_backup: bool
53
+
54
+ :param is_offline:
55
+ The value to assign to the is_offline property of this BackendSummary.
56
+ :type is_offline: bool
57
+
58
+ """
59
+ self.swagger_types = {
60
+ 'name': 'str',
61
+ 'ip_address': 'str',
62
+ 'target_id': 'str',
63
+ 'port': 'int',
64
+ 'weight': 'int',
65
+ 'is_drain': 'bool',
66
+ 'is_backup': 'bool',
67
+ 'is_offline': 'bool'
68
+ }
69
+
70
+ self.attribute_map = {
71
+ 'name': 'name',
72
+ 'ip_address': 'ipAddress',
73
+ 'target_id': 'targetId',
74
+ 'port': 'port',
75
+ 'weight': 'weight',
76
+ 'is_drain': 'isDrain',
77
+ 'is_backup': 'isBackup',
78
+ 'is_offline': 'isOffline'
79
+ }
80
+
81
+ self._name = None
82
+ self._ip_address = None
83
+ self._target_id = None
84
+ self._port = None
85
+ self._weight = None
86
+ self._is_drain = None
87
+ self._is_backup = None
88
+ self._is_offline = None
89
+
90
+ @property
91
+ def name(self):
92
+ """
93
+ Gets the name of this BackendSummary.
94
+ A read-only field showing the IP address/IP OCID and port that uniquely identify this backend server in the backend set.
95
+
96
+ Example: `10.0.0.3:8080`, or `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>:443` or `10.0.0.3:0`
97
+
98
+
99
+ :return: The name of this BackendSummary.
100
+ :rtype: str
101
+ """
102
+ return self._name
103
+
104
+ @name.setter
105
+ def name(self, name):
106
+ """
107
+ Sets the name of this BackendSummary.
108
+ A read-only field showing the IP address/IP OCID and port that uniquely identify this backend server in the backend set.
109
+
110
+ Example: `10.0.0.3:8080`, or `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>:443` or `10.0.0.3:0`
111
+
112
+
113
+ :param name: The name of this BackendSummary.
114
+ :type: str
115
+ """
116
+ self._name = name
117
+
118
+ @property
119
+ def ip_address(self):
120
+ """
121
+ Gets the ip_address of this BackendSummary.
122
+ The IP address of the backend server.
123
+ Example: `10.0.0.3`
124
+
125
+
126
+ :return: The ip_address of this BackendSummary.
127
+ :rtype: str
128
+ """
129
+ return self._ip_address
130
+
131
+ @ip_address.setter
132
+ def ip_address(self, ip_address):
133
+ """
134
+ Sets the ip_address of this BackendSummary.
135
+ The IP address of the backend server.
136
+ Example: `10.0.0.3`
137
+
138
+
139
+ :param ip_address: The ip_address of this BackendSummary.
140
+ :type: str
141
+ """
142
+ self._ip_address = ip_address
143
+
144
+ @property
145
+ def target_id(self):
146
+ """
147
+ Gets the target_id of this BackendSummary.
148
+ The IP OCID/Instance OCID associated with the backend server.
149
+ Example: `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>`
150
+
151
+
152
+ :return: The target_id of this BackendSummary.
153
+ :rtype: str
154
+ """
155
+ return self._target_id
156
+
157
+ @target_id.setter
158
+ def target_id(self, target_id):
159
+ """
160
+ Sets the target_id of this BackendSummary.
161
+ The IP OCID/Instance OCID associated with the backend server.
162
+ Example: `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>`
163
+
164
+
165
+ :param target_id: The target_id of this BackendSummary.
166
+ :type: str
167
+ """
168
+ self._target_id = target_id
169
+
170
+ @property
171
+ def port(self):
172
+ """
173
+ **[Required]** Gets the port of this BackendSummary.
174
+ The communication port for the backend server.
175
+
176
+ Example: `8080`
177
+
178
+
179
+ :return: The port of this BackendSummary.
180
+ :rtype: int
181
+ """
182
+ return self._port
183
+
184
+ @port.setter
185
+ def port(self, port):
186
+ """
187
+ Sets the port of this BackendSummary.
188
+ The communication port for the backend server.
189
+
190
+ Example: `8080`
191
+
192
+
193
+ :param port: The port of this BackendSummary.
194
+ :type: int
195
+ """
196
+ self._port = port
197
+
198
+ @property
199
+ def weight(self):
200
+ """
201
+ Gets the weight of this BackendSummary.
202
+ The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
203
+ proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections
204
+ as a server weighted '1'.
205
+ For more information about load balancing policies, see
206
+ `How Network Load Balancing Policies Work`__.
207
+
208
+ Example: `3`
209
+
210
+ __ https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm
211
+
212
+
213
+ :return: The weight of this BackendSummary.
214
+ :rtype: int
215
+ """
216
+ return self._weight
217
+
218
+ @weight.setter
219
+ def weight(self, weight):
220
+ """
221
+ Sets the weight of this BackendSummary.
222
+ The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
223
+ proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections
224
+ as a server weighted '1'.
225
+ For more information about load balancing policies, see
226
+ `How Network Load Balancing Policies Work`__.
227
+
228
+ Example: `3`
229
+
230
+ __ https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm
231
+
232
+
233
+ :param weight: The weight of this BackendSummary.
234
+ :type: int
235
+ """
236
+ self._weight = weight
237
+
238
+ @property
239
+ def is_drain(self):
240
+ """
241
+ Gets the is_drain of this BackendSummary.
242
+ Whether the network load balancer should drain this server. Servers marked \"isDrain\" receive no
243
+ incoming traffic.
244
+
245
+ Example: `false`
246
+
247
+
248
+ :return: The is_drain of this BackendSummary.
249
+ :rtype: bool
250
+ """
251
+ return self._is_drain
252
+
253
+ @is_drain.setter
254
+ def is_drain(self, is_drain):
255
+ """
256
+ Sets the is_drain of this BackendSummary.
257
+ Whether the network load balancer should drain this server. Servers marked \"isDrain\" receive no
258
+ incoming traffic.
259
+
260
+ Example: `false`
261
+
262
+
263
+ :param is_drain: The is_drain of this BackendSummary.
264
+ :type: bool
265
+ """
266
+ self._is_drain = is_drain
267
+
268
+ @property
269
+ def is_backup(self):
270
+ """
271
+ Gets the is_backup of this BackendSummary.
272
+ Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress
273
+ traffic to this backend server unless all other backend servers not marked as \"isBackup\" fail the health check policy.
274
+
275
+ Example: `false`
276
+
277
+
278
+ :return: The is_backup of this BackendSummary.
279
+ :rtype: bool
280
+ """
281
+ return self._is_backup
282
+
283
+ @is_backup.setter
284
+ def is_backup(self, is_backup):
285
+ """
286
+ Sets the is_backup of this BackendSummary.
287
+ Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress
288
+ traffic to this backend server unless all other backend servers not marked as \"isBackup\" fail the health check policy.
289
+
290
+ Example: `false`
291
+
292
+
293
+ :param is_backup: The is_backup of this BackendSummary.
294
+ :type: bool
295
+ """
296
+ self._is_backup = is_backup
297
+
298
+ @property
299
+ def is_offline(self):
300
+ """
301
+ Gets the is_offline of this BackendSummary.
302
+ Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
303
+ traffic.
304
+
305
+ Example: `false`
306
+
307
+
308
+ :return: The is_offline of this BackendSummary.
309
+ :rtype: bool
310
+ """
311
+ return self._is_offline
312
+
313
+ @is_offline.setter
314
+ def is_offline(self, is_offline):
315
+ """
316
+ Sets the is_offline of this BackendSummary.
317
+ Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
318
+ traffic.
319
+
320
+ Example: `false`
321
+
322
+
323
+ :param is_offline: The is_offline of this BackendSummary.
324
+ :type: bool
325
+ """
326
+ self._is_offline = is_offline
327
+
328
+ def __repr__(self):
329
+ return formatted_flat_dict(self)
330
+
331
+ def __eq__(self, other):
332
+ if other is None:
333
+ return False
334
+
335
+ return self.__dict__ == other.__dict__
336
+
337
+ def __ne__(self, other):
338
+ return not self == other