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,476 @@
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 SSLConfigurationDetails(object):
14
+ """
15
+ The load balancer's SSL handling configuration details.
16
+
17
+ **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
18
+ """
19
+
20
+ #: A constant which can be used with the server_order_preference property of a SSLConfigurationDetails.
21
+ #: This constant has a value of "ENABLED"
22
+ SERVER_ORDER_PREFERENCE_ENABLED = "ENABLED"
23
+
24
+ #: A constant which can be used with the server_order_preference property of a SSLConfigurationDetails.
25
+ #: This constant has a value of "DISABLED"
26
+ SERVER_ORDER_PREFERENCE_DISABLED = "DISABLED"
27
+
28
+ def __init__(self, **kwargs):
29
+ """
30
+ Initializes a new SSLConfigurationDetails object with values from keyword arguments.
31
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
32
+
33
+ :param verify_depth:
34
+ The value to assign to the verify_depth property of this SSLConfigurationDetails.
35
+ :type verify_depth: int
36
+
37
+ :param verify_peer_certificate:
38
+ The value to assign to the verify_peer_certificate property of this SSLConfigurationDetails.
39
+ :type verify_peer_certificate: bool
40
+
41
+ :param has_session_resumption:
42
+ The value to assign to the has_session_resumption property of this SSLConfigurationDetails.
43
+ :type has_session_resumption: bool
44
+
45
+ :param trusted_certificate_authority_ids:
46
+ The value to assign to the trusted_certificate_authority_ids property of this SSLConfigurationDetails.
47
+ :type trusted_certificate_authority_ids: list[str]
48
+
49
+ :param certificate_ids:
50
+ The value to assign to the certificate_ids property of this SSLConfigurationDetails.
51
+ :type certificate_ids: list[str]
52
+
53
+ :param certificate_name:
54
+ The value to assign to the certificate_name property of this SSLConfigurationDetails.
55
+ :type certificate_name: str
56
+
57
+ :param protocols:
58
+ The value to assign to the protocols property of this SSLConfigurationDetails.
59
+ :type protocols: list[str]
60
+
61
+ :param cipher_suite_name:
62
+ The value to assign to the cipher_suite_name property of this SSLConfigurationDetails.
63
+ :type cipher_suite_name: str
64
+
65
+ :param server_order_preference:
66
+ The value to assign to the server_order_preference property of this SSLConfigurationDetails.
67
+ Allowed values for this property are: "ENABLED", "DISABLED"
68
+ :type server_order_preference: str
69
+
70
+ """
71
+ self.swagger_types = {
72
+ 'verify_depth': 'int',
73
+ 'verify_peer_certificate': 'bool',
74
+ 'has_session_resumption': 'bool',
75
+ 'trusted_certificate_authority_ids': 'list[str]',
76
+ 'certificate_ids': 'list[str]',
77
+ 'certificate_name': 'str',
78
+ 'protocols': 'list[str]',
79
+ 'cipher_suite_name': 'str',
80
+ 'server_order_preference': 'str'
81
+ }
82
+
83
+ self.attribute_map = {
84
+ 'verify_depth': 'verifyDepth',
85
+ 'verify_peer_certificate': 'verifyPeerCertificate',
86
+ 'has_session_resumption': 'hasSessionResumption',
87
+ 'trusted_certificate_authority_ids': 'trustedCertificateAuthorityIds',
88
+ 'certificate_ids': 'certificateIds',
89
+ 'certificate_name': 'certificateName',
90
+ 'protocols': 'protocols',
91
+ 'cipher_suite_name': 'cipherSuiteName',
92
+ 'server_order_preference': 'serverOrderPreference'
93
+ }
94
+
95
+ self._verify_depth = None
96
+ self._verify_peer_certificate = None
97
+ self._has_session_resumption = None
98
+ self._trusted_certificate_authority_ids = None
99
+ self._certificate_ids = None
100
+ self._certificate_name = None
101
+ self._protocols = None
102
+ self._cipher_suite_name = None
103
+ self._server_order_preference = None
104
+
105
+ @property
106
+ def verify_depth(self):
107
+ """
108
+ Gets the verify_depth of this SSLConfigurationDetails.
109
+ The maximum depth for peer certificate chain verification.
110
+
111
+ Example: `3`
112
+
113
+
114
+ :return: The verify_depth of this SSLConfigurationDetails.
115
+ :rtype: int
116
+ """
117
+ return self._verify_depth
118
+
119
+ @verify_depth.setter
120
+ def verify_depth(self, verify_depth):
121
+ """
122
+ Sets the verify_depth of this SSLConfigurationDetails.
123
+ The maximum depth for peer certificate chain verification.
124
+
125
+ Example: `3`
126
+
127
+
128
+ :param verify_depth: The verify_depth of this SSLConfigurationDetails.
129
+ :type: int
130
+ """
131
+ self._verify_depth = verify_depth
132
+
133
+ @property
134
+ def verify_peer_certificate(self):
135
+ """
136
+ Gets the verify_peer_certificate of this SSLConfigurationDetails.
137
+ Whether the load balancer listener should verify peer certificates.
138
+
139
+ Example: `true`
140
+
141
+
142
+ :return: The verify_peer_certificate of this SSLConfigurationDetails.
143
+ :rtype: bool
144
+ """
145
+ return self._verify_peer_certificate
146
+
147
+ @verify_peer_certificate.setter
148
+ def verify_peer_certificate(self, verify_peer_certificate):
149
+ """
150
+ Sets the verify_peer_certificate of this SSLConfigurationDetails.
151
+ Whether the load balancer listener should verify peer certificates.
152
+
153
+ Example: `true`
154
+
155
+
156
+ :param verify_peer_certificate: The verify_peer_certificate of this SSLConfigurationDetails.
157
+ :type: bool
158
+ """
159
+ self._verify_peer_certificate = verify_peer_certificate
160
+
161
+ @property
162
+ def has_session_resumption(self):
163
+ """
164
+ Gets the has_session_resumption of this SSLConfigurationDetails.
165
+ Whether the load balancer listener should resume an encrypted session by reusing the cryptographic parameters of a previous TLS session, without having to perform a full handshake again.
166
+ If \"true\", the service resumes the previous TLS encrypted session.
167
+ If \"false\", the service starts a new TLS encrypted session.
168
+ Enabling session resumption improves performance but provides a lower level of security. Disabling session resumption improves security but reduces performance.
169
+
170
+ Example: `true`
171
+
172
+
173
+ :return: The has_session_resumption of this SSLConfigurationDetails.
174
+ :rtype: bool
175
+ """
176
+ return self._has_session_resumption
177
+
178
+ @has_session_resumption.setter
179
+ def has_session_resumption(self, has_session_resumption):
180
+ """
181
+ Sets the has_session_resumption of this SSLConfigurationDetails.
182
+ Whether the load balancer listener should resume an encrypted session by reusing the cryptographic parameters of a previous TLS session, without having to perform a full handshake again.
183
+ If \"true\", the service resumes the previous TLS encrypted session.
184
+ If \"false\", the service starts a new TLS encrypted session.
185
+ Enabling session resumption improves performance but provides a lower level of security. Disabling session resumption improves security but reduces performance.
186
+
187
+ Example: `true`
188
+
189
+
190
+ :param has_session_resumption: The has_session_resumption of this SSLConfigurationDetails.
191
+ :type: bool
192
+ """
193
+ self._has_session_resumption = has_session_resumption
194
+
195
+ @property
196
+ def trusted_certificate_authority_ids(self):
197
+ """
198
+ Gets the trusted_certificate_authority_ids of this SSLConfigurationDetails.
199
+ Ids for OCI certificates service CA or CA bundles for the load balancer to trust.
200
+
201
+ Example: `[ocid1.cabundle.oc1.us-ashburn-1.amaaaaaaav3bgsaagl4zzyqdop5i2vuwoqewdvauuw34llqa74otq2jdsfyq]`
202
+
203
+
204
+ :return: The trusted_certificate_authority_ids of this SSLConfigurationDetails.
205
+ :rtype: list[str]
206
+ """
207
+ return self._trusted_certificate_authority_ids
208
+
209
+ @trusted_certificate_authority_ids.setter
210
+ def trusted_certificate_authority_ids(self, trusted_certificate_authority_ids):
211
+ """
212
+ Sets the trusted_certificate_authority_ids of this SSLConfigurationDetails.
213
+ Ids for OCI certificates service CA or CA bundles for the load balancer to trust.
214
+
215
+ Example: `[ocid1.cabundle.oc1.us-ashburn-1.amaaaaaaav3bgsaagl4zzyqdop5i2vuwoqewdvauuw34llqa74otq2jdsfyq]`
216
+
217
+
218
+ :param trusted_certificate_authority_ids: The trusted_certificate_authority_ids of this SSLConfigurationDetails.
219
+ :type: list[str]
220
+ """
221
+ self._trusted_certificate_authority_ids = trusted_certificate_authority_ids
222
+
223
+ @property
224
+ def certificate_ids(self):
225
+ """
226
+ Gets the certificate_ids of this SSLConfigurationDetails.
227
+ Ids for OCI certificates service certificates. Currently only a single Id may be passed.
228
+
229
+ Example: `[ocid1.certificate.oc1.us-ashburn-1.amaaaaaaav3bgsaa5o2q7rh5nfmkkukfkogasqhk6af2opufhjlqg7m6jqzq]`
230
+
231
+
232
+ :return: The certificate_ids of this SSLConfigurationDetails.
233
+ :rtype: list[str]
234
+ """
235
+ return self._certificate_ids
236
+
237
+ @certificate_ids.setter
238
+ def certificate_ids(self, certificate_ids):
239
+ """
240
+ Sets the certificate_ids of this SSLConfigurationDetails.
241
+ Ids for OCI certificates service certificates. Currently only a single Id may be passed.
242
+
243
+ Example: `[ocid1.certificate.oc1.us-ashburn-1.amaaaaaaav3bgsaa5o2q7rh5nfmkkukfkogasqhk6af2opufhjlqg7m6jqzq]`
244
+
245
+
246
+ :param certificate_ids: The certificate_ids of this SSLConfigurationDetails.
247
+ :type: list[str]
248
+ """
249
+ self._certificate_ids = certificate_ids
250
+
251
+ @property
252
+ def certificate_name(self):
253
+ """
254
+ Gets the certificate_name of this SSLConfigurationDetails.
255
+ A friendly name for the certificate bundle. It must be unique and it cannot be changed.
256
+ Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
257
+ Certificate bundle names cannot contain spaces. Avoid entering confidential information.
258
+
259
+ Example: `example_certificate_bundle`
260
+
261
+
262
+ :return: The certificate_name of this SSLConfigurationDetails.
263
+ :rtype: str
264
+ """
265
+ return self._certificate_name
266
+
267
+ @certificate_name.setter
268
+ def certificate_name(self, certificate_name):
269
+ """
270
+ Sets the certificate_name of this SSLConfigurationDetails.
271
+ A friendly name for the certificate bundle. It must be unique and it cannot be changed.
272
+ Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
273
+ Certificate bundle names cannot contain spaces. Avoid entering confidential information.
274
+
275
+ Example: `example_certificate_bundle`
276
+
277
+
278
+ :param certificate_name: The certificate_name of this SSLConfigurationDetails.
279
+ :type: str
280
+ """
281
+ self._certificate_name = certificate_name
282
+
283
+ @property
284
+ def protocols(self):
285
+ """
286
+ Gets the protocols of this SSLConfigurationDetails.
287
+ A list of SSL protocols the load balancer must support for HTTPS or SSL connections.
288
+
289
+ The load balancer uses SSL protocols to establish a secure connection between a client and a server. A secure
290
+ connection ensures that all data passed between the client and the server is private.
291
+
292
+ The Load Balancing service supports the following protocols:
293
+
294
+ * TLSv1
295
+ * TLSv1.1
296
+ * TLSv1.2
297
+ * TLSv1.3
298
+
299
+ If this field is not specified, TLSv1.2 is the default.
300
+
301
+ **Warning:** All SSL listeners created on a given port must use the same set of SSL protocols.
302
+
303
+ **Notes:**
304
+
305
+ * The handshake to establish an SSL connection fails if the client supports none of the specified protocols.
306
+ * You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher
307
+ suite.
308
+ * For all existing load balancer listeners and backend sets that predate this feature, the `GET` operation
309
+ displays a list of SSL protocols currently used by those resources.
310
+
311
+ example: `[\"TLSv1.1\", \"TLSv1.2\"]`
312
+
313
+
314
+ :return: The protocols of this SSLConfigurationDetails.
315
+ :rtype: list[str]
316
+ """
317
+ return self._protocols
318
+
319
+ @protocols.setter
320
+ def protocols(self, protocols):
321
+ """
322
+ Sets the protocols of this SSLConfigurationDetails.
323
+ A list of SSL protocols the load balancer must support for HTTPS or SSL connections.
324
+
325
+ The load balancer uses SSL protocols to establish a secure connection between a client and a server. A secure
326
+ connection ensures that all data passed between the client and the server is private.
327
+
328
+ The Load Balancing service supports the following protocols:
329
+
330
+ * TLSv1
331
+ * TLSv1.1
332
+ * TLSv1.2
333
+ * TLSv1.3
334
+
335
+ If this field is not specified, TLSv1.2 is the default.
336
+
337
+ **Warning:** All SSL listeners created on a given port must use the same set of SSL protocols.
338
+
339
+ **Notes:**
340
+
341
+ * The handshake to establish an SSL connection fails if the client supports none of the specified protocols.
342
+ * You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher
343
+ suite.
344
+ * For all existing load balancer listeners and backend sets that predate this feature, the `GET` operation
345
+ displays a list of SSL protocols currently used by those resources.
346
+
347
+ example: `[\"TLSv1.1\", \"TLSv1.2\"]`
348
+
349
+
350
+ :param protocols: The protocols of this SSLConfigurationDetails.
351
+ :type: list[str]
352
+ """
353
+ self._protocols = protocols
354
+
355
+ @property
356
+ def cipher_suite_name(self):
357
+ """
358
+ Gets the cipher_suite_name of this SSLConfigurationDetails.
359
+ The name of the cipher suite to use for HTTPS or SSL connections.
360
+
361
+ If this field is not specified, the default is `oci-default-ssl-cipher-suite-v1`.
362
+
363
+ **Notes:**
364
+
365
+ * You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher
366
+ suite. Clients cannot perform an SSL handshake if there is an incompatible configuration.
367
+ * You must ensure compatibility between the ciphers configured in the cipher suite and the configured
368
+ certificates. For example, RSA-based ciphers require RSA certificates and ECDSA-based ciphers require ECDSA
369
+ certificates.
370
+ * If the cipher configuration is not modified after load balancer creation, the `GET` operation returns
371
+ `oci-default-ssl-cipher-suite-v1` as the value of this field in the SSL configuration for existing listeners
372
+ that predate this feature.
373
+ * If the cipher configuration was modified using Oracle operations after load balancer creation, the `GET`
374
+ operation returns `oci-customized-ssl-cipher-suite` as the value of this field in the SSL configuration for
375
+ existing listeners that predate this feature.
376
+ * The `GET` operation returns `oci-wider-compatible-ssl-cipher-suite-v1` as the value of this field in the SSL
377
+ configuration for existing backend sets that predate this feature.
378
+ * If the `GET` operation on a listener returns `oci-customized-ssl-cipher-suite` as the value of this field,
379
+ you must specify an appropriate predefined or custom cipher suite name when updating the resource.
380
+ * The `oci-customized-ssl-cipher-suite` Oracle reserved cipher suite name is not accepted as valid input for
381
+ this field.
382
+
383
+ example: `example_cipher_suite`
384
+
385
+
386
+ :return: The cipher_suite_name of this SSLConfigurationDetails.
387
+ :rtype: str
388
+ """
389
+ return self._cipher_suite_name
390
+
391
+ @cipher_suite_name.setter
392
+ def cipher_suite_name(self, cipher_suite_name):
393
+ """
394
+ Sets the cipher_suite_name of this SSLConfigurationDetails.
395
+ The name of the cipher suite to use for HTTPS or SSL connections.
396
+
397
+ If this field is not specified, the default is `oci-default-ssl-cipher-suite-v1`.
398
+
399
+ **Notes:**
400
+
401
+ * You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher
402
+ suite. Clients cannot perform an SSL handshake if there is an incompatible configuration.
403
+ * You must ensure compatibility between the ciphers configured in the cipher suite and the configured
404
+ certificates. For example, RSA-based ciphers require RSA certificates and ECDSA-based ciphers require ECDSA
405
+ certificates.
406
+ * If the cipher configuration is not modified after load balancer creation, the `GET` operation returns
407
+ `oci-default-ssl-cipher-suite-v1` as the value of this field in the SSL configuration for existing listeners
408
+ that predate this feature.
409
+ * If the cipher configuration was modified using Oracle operations after load balancer creation, the `GET`
410
+ operation returns `oci-customized-ssl-cipher-suite` as the value of this field in the SSL configuration for
411
+ existing listeners that predate this feature.
412
+ * The `GET` operation returns `oci-wider-compatible-ssl-cipher-suite-v1` as the value of this field in the SSL
413
+ configuration for existing backend sets that predate this feature.
414
+ * If the `GET` operation on a listener returns `oci-customized-ssl-cipher-suite` as the value of this field,
415
+ you must specify an appropriate predefined or custom cipher suite name when updating the resource.
416
+ * The `oci-customized-ssl-cipher-suite` Oracle reserved cipher suite name is not accepted as valid input for
417
+ this field.
418
+
419
+ example: `example_cipher_suite`
420
+
421
+
422
+ :param cipher_suite_name: The cipher_suite_name of this SSLConfigurationDetails.
423
+ :type: str
424
+ """
425
+ self._cipher_suite_name = cipher_suite_name
426
+
427
+ @property
428
+ def server_order_preference(self):
429
+ """
430
+ Gets the server_order_preference of this SSLConfigurationDetails.
431
+ When this attribute is set to ENABLED, the system gives preference to the server ciphers over the client
432
+ ciphers.
433
+
434
+ **Note:** This configuration is applicable only when the load balancer is acting as an SSL/HTTPS server. This
435
+ field is ignored when the `SSLConfiguration` object is associated with a backend set.
436
+
437
+ Allowed values for this property are: "ENABLED", "DISABLED"
438
+
439
+
440
+ :return: The server_order_preference of this SSLConfigurationDetails.
441
+ :rtype: str
442
+ """
443
+ return self._server_order_preference
444
+
445
+ @server_order_preference.setter
446
+ def server_order_preference(self, server_order_preference):
447
+ """
448
+ Sets the server_order_preference of this SSLConfigurationDetails.
449
+ When this attribute is set to ENABLED, the system gives preference to the server ciphers over the client
450
+ ciphers.
451
+
452
+ **Note:** This configuration is applicable only when the load balancer is acting as an SSL/HTTPS server. This
453
+ field is ignored when the `SSLConfiguration` object is associated with a backend set.
454
+
455
+
456
+ :param server_order_preference: The server_order_preference of this SSLConfigurationDetails.
457
+ :type: str
458
+ """
459
+ allowed_values = ["ENABLED", "DISABLED"]
460
+ if not value_allowed_none_or_none_sentinel(server_order_preference, allowed_values):
461
+ raise ValueError(
462
+ f"Invalid value for `server_order_preference`, must be None or one of {allowed_values}"
463
+ )
464
+ self._server_order_preference = server_order_preference
465
+
466
+ def __repr__(self):
467
+ return formatted_flat_dict(self)
468
+
469
+ def __eq__(self, other):
470
+ if other is None:
471
+ return False
472
+
473
+ return self.__dict__ == other.__dict__
474
+
475
+ def __ne__(self, other):
476
+ return not self == other