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,694 @@
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 CreateNetworkLoadBalancerDetails(object):
14
+ """
15
+ The properties that define a network load balancer. For more information, see
16
+ `Managing a network load balancer`__.
17
+
18
+ To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, then
19
+ contact an administrator. If you are an administrator who writes policies to give users access, then see
20
+ `Getting Started with Policies`__.
21
+
22
+ For information about endpoints and signing API requests, see
23
+ `About the API`__. For information about available SDKs and tools, see
24
+ `SDKS and Other Tools`__.
25
+
26
+ __ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingloadbalancer.htm
27
+ __ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
28
+ __ https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm
29
+ __ https://docs.cloud.oracle.com/Content/API/Concepts/sdks.htm
30
+ """
31
+
32
+ #: A constant which can be used with the nlb_ip_version property of a CreateNetworkLoadBalancerDetails.
33
+ #: This constant has a value of "IPV4"
34
+ NLB_IP_VERSION_IPV4 = "IPV4"
35
+
36
+ #: A constant which can be used with the nlb_ip_version property of a CreateNetworkLoadBalancerDetails.
37
+ #: This constant has a value of "IPV4_AND_IPV6"
38
+ NLB_IP_VERSION_IPV4_AND_IPV6 = "IPV4_AND_IPV6"
39
+
40
+ #: A constant which can be used with the nlb_ip_version property of a CreateNetworkLoadBalancerDetails.
41
+ #: This constant has a value of "IPV6"
42
+ NLB_IP_VERSION_IPV6 = "IPV6"
43
+
44
+ def __init__(self, **kwargs):
45
+ """
46
+ Initializes a new CreateNetworkLoadBalancerDetails object with values from keyword arguments.
47
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
48
+
49
+ :param compartment_id:
50
+ The value to assign to the compartment_id property of this CreateNetworkLoadBalancerDetails.
51
+ :type compartment_id: str
52
+
53
+ :param display_name:
54
+ The value to assign to the display_name property of this CreateNetworkLoadBalancerDetails.
55
+ :type display_name: str
56
+
57
+ :param is_preserve_source_destination:
58
+ The value to assign to the is_preserve_source_destination property of this CreateNetworkLoadBalancerDetails.
59
+ :type is_preserve_source_destination: bool
60
+
61
+ :param is_symmetric_hash_enabled:
62
+ The value to assign to the is_symmetric_hash_enabled property of this CreateNetworkLoadBalancerDetails.
63
+ :type is_symmetric_hash_enabled: bool
64
+
65
+ :param reserved_ips:
66
+ The value to assign to the reserved_ips property of this CreateNetworkLoadBalancerDetails.
67
+ :type reserved_ips: list[oci.network_load_balancer.models.ReservedIP]
68
+
69
+ :param is_private:
70
+ The value to assign to the is_private property of this CreateNetworkLoadBalancerDetails.
71
+ :type is_private: bool
72
+
73
+ :param subnet_id:
74
+ The value to assign to the subnet_id property of this CreateNetworkLoadBalancerDetails.
75
+ :type subnet_id: str
76
+
77
+ :param network_security_group_ids:
78
+ The value to assign to the network_security_group_ids property of this CreateNetworkLoadBalancerDetails.
79
+ :type network_security_group_ids: list[str]
80
+
81
+ :param nlb_ip_version:
82
+ The value to assign to the nlb_ip_version property of this CreateNetworkLoadBalancerDetails.
83
+ Allowed values for this property are: "IPV4", "IPV4_AND_IPV6", "IPV6"
84
+ :type nlb_ip_version: str
85
+
86
+ :param subnet_ipv6_cidr:
87
+ The value to assign to the subnet_ipv6_cidr property of this CreateNetworkLoadBalancerDetails.
88
+ :type subnet_ipv6_cidr: str
89
+
90
+ :param assigned_private_ipv4:
91
+ The value to assign to the assigned_private_ipv4 property of this CreateNetworkLoadBalancerDetails.
92
+ :type assigned_private_ipv4: str
93
+
94
+ :param assigned_ipv6:
95
+ The value to assign to the assigned_ipv6 property of this CreateNetworkLoadBalancerDetails.
96
+ :type assigned_ipv6: str
97
+
98
+ :param listeners:
99
+ The value to assign to the listeners property of this CreateNetworkLoadBalancerDetails.
100
+ :type listeners: dict(str, ListenerDetails)
101
+
102
+ :param backend_sets:
103
+ The value to assign to the backend_sets property of this CreateNetworkLoadBalancerDetails.
104
+ :type backend_sets: dict(str, BackendSetDetails)
105
+
106
+ :param freeform_tags:
107
+ The value to assign to the freeform_tags property of this CreateNetworkLoadBalancerDetails.
108
+ :type freeform_tags: dict(str, str)
109
+
110
+ :param defined_tags:
111
+ The value to assign to the defined_tags property of this CreateNetworkLoadBalancerDetails.
112
+ :type defined_tags: dict(str, dict(str, object))
113
+
114
+ :param security_attributes:
115
+ The value to assign to the security_attributes property of this CreateNetworkLoadBalancerDetails.
116
+ :type security_attributes: dict(str, dict(str, object))
117
+
118
+ """
119
+ self.swagger_types = {
120
+ 'compartment_id': 'str',
121
+ 'display_name': 'str',
122
+ 'is_preserve_source_destination': 'bool',
123
+ 'is_symmetric_hash_enabled': 'bool',
124
+ 'reserved_ips': 'list[ReservedIP]',
125
+ 'is_private': 'bool',
126
+ 'subnet_id': 'str',
127
+ 'network_security_group_ids': 'list[str]',
128
+ 'nlb_ip_version': 'str',
129
+ 'subnet_ipv6_cidr': 'str',
130
+ 'assigned_private_ipv4': 'str',
131
+ 'assigned_ipv6': 'str',
132
+ 'listeners': 'dict(str, ListenerDetails)',
133
+ 'backend_sets': 'dict(str, BackendSetDetails)',
134
+ 'freeform_tags': 'dict(str, str)',
135
+ 'defined_tags': 'dict(str, dict(str, object))',
136
+ 'security_attributes': 'dict(str, dict(str, object))'
137
+ }
138
+
139
+ self.attribute_map = {
140
+ 'compartment_id': 'compartmentId',
141
+ 'display_name': 'displayName',
142
+ 'is_preserve_source_destination': 'isPreserveSourceDestination',
143
+ 'is_symmetric_hash_enabled': 'isSymmetricHashEnabled',
144
+ 'reserved_ips': 'reservedIps',
145
+ 'is_private': 'isPrivate',
146
+ 'subnet_id': 'subnetId',
147
+ 'network_security_group_ids': 'networkSecurityGroupIds',
148
+ 'nlb_ip_version': 'nlbIpVersion',
149
+ 'subnet_ipv6_cidr': 'subnetIpv6Cidr',
150
+ 'assigned_private_ipv4': 'assignedPrivateIpv4',
151
+ 'assigned_ipv6': 'assignedIpv6',
152
+ 'listeners': 'listeners',
153
+ 'backend_sets': 'backendSets',
154
+ 'freeform_tags': 'freeformTags',
155
+ 'defined_tags': 'definedTags',
156
+ 'security_attributes': 'securityAttributes'
157
+ }
158
+
159
+ self._compartment_id = None
160
+ self._display_name = None
161
+ self._is_preserve_source_destination = None
162
+ self._is_symmetric_hash_enabled = None
163
+ self._reserved_ips = None
164
+ self._is_private = None
165
+ self._subnet_id = None
166
+ self._network_security_group_ids = None
167
+ self._nlb_ip_version = None
168
+ self._subnet_ipv6_cidr = None
169
+ self._assigned_private_ipv4 = None
170
+ self._assigned_ipv6 = None
171
+ self._listeners = None
172
+ self._backend_sets = None
173
+ self._freeform_tags = None
174
+ self._defined_tags = None
175
+ self._security_attributes = None
176
+
177
+ @property
178
+ def compartment_id(self):
179
+ """
180
+ **[Required]** Gets the compartment_id of this CreateNetworkLoadBalancerDetails.
181
+ The `OCID`__ of the compartment containing the network load balancer.
182
+
183
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
184
+
185
+
186
+ :return: The compartment_id of this CreateNetworkLoadBalancerDetails.
187
+ :rtype: str
188
+ """
189
+ return self._compartment_id
190
+
191
+ @compartment_id.setter
192
+ def compartment_id(self, compartment_id):
193
+ """
194
+ Sets the compartment_id of this CreateNetworkLoadBalancerDetails.
195
+ The `OCID`__ of the compartment containing the network load balancer.
196
+
197
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
198
+
199
+
200
+ :param compartment_id: The compartment_id of this CreateNetworkLoadBalancerDetails.
201
+ :type: str
202
+ """
203
+ self._compartment_id = compartment_id
204
+
205
+ @property
206
+ def display_name(self):
207
+ """
208
+ **[Required]** Gets the display_name of this CreateNetworkLoadBalancerDetails.
209
+ Network load balancer identifier, which can be renamed.
210
+
211
+
212
+ :return: The display_name of this CreateNetworkLoadBalancerDetails.
213
+ :rtype: str
214
+ """
215
+ return self._display_name
216
+
217
+ @display_name.setter
218
+ def display_name(self, display_name):
219
+ """
220
+ Sets the display_name of this CreateNetworkLoadBalancerDetails.
221
+ Network load balancer identifier, which can be renamed.
222
+
223
+
224
+ :param display_name: The display_name of this CreateNetworkLoadBalancerDetails.
225
+ :type: str
226
+ """
227
+ self._display_name = display_name
228
+
229
+ @property
230
+ def is_preserve_source_destination(self):
231
+ """
232
+ Gets the is_preserve_source_destination of this CreateNetworkLoadBalancerDetails.
233
+ This parameter can be enabled only if backends are compute OCIDs. When enabled, the skipSourceDestinationCheck parameter is automatically
234
+ enabled on the load balancer VNIC, and packets are sent to the backend with the entire IP header intact.
235
+
236
+
237
+ :return: The is_preserve_source_destination of this CreateNetworkLoadBalancerDetails.
238
+ :rtype: bool
239
+ """
240
+ return self._is_preserve_source_destination
241
+
242
+ @is_preserve_source_destination.setter
243
+ def is_preserve_source_destination(self, is_preserve_source_destination):
244
+ """
245
+ Sets the is_preserve_source_destination of this CreateNetworkLoadBalancerDetails.
246
+ This parameter can be enabled only if backends are compute OCIDs. When enabled, the skipSourceDestinationCheck parameter is automatically
247
+ enabled on the load balancer VNIC, and packets are sent to the backend with the entire IP header intact.
248
+
249
+
250
+ :param is_preserve_source_destination: The is_preserve_source_destination of this CreateNetworkLoadBalancerDetails.
251
+ :type: bool
252
+ """
253
+ self._is_preserve_source_destination = is_preserve_source_destination
254
+
255
+ @property
256
+ def is_symmetric_hash_enabled(self):
257
+ """
258
+ Gets the is_symmetric_hash_enabled of this CreateNetworkLoadBalancerDetails.
259
+ This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled.
260
+ This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
261
+
262
+
263
+ :return: The is_symmetric_hash_enabled of this CreateNetworkLoadBalancerDetails.
264
+ :rtype: bool
265
+ """
266
+ return self._is_symmetric_hash_enabled
267
+
268
+ @is_symmetric_hash_enabled.setter
269
+ def is_symmetric_hash_enabled(self, is_symmetric_hash_enabled):
270
+ """
271
+ Sets the is_symmetric_hash_enabled of this CreateNetworkLoadBalancerDetails.
272
+ This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled.
273
+ This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
274
+
275
+
276
+ :param is_symmetric_hash_enabled: The is_symmetric_hash_enabled of this CreateNetworkLoadBalancerDetails.
277
+ :type: bool
278
+ """
279
+ self._is_symmetric_hash_enabled = is_symmetric_hash_enabled
280
+
281
+ @property
282
+ def reserved_ips(self):
283
+ """
284
+ Gets the reserved_ips of this CreateNetworkLoadBalancerDetails.
285
+ An array of reserved Ips.
286
+
287
+
288
+ :return: The reserved_ips of this CreateNetworkLoadBalancerDetails.
289
+ :rtype: list[oci.network_load_balancer.models.ReservedIP]
290
+ """
291
+ return self._reserved_ips
292
+
293
+ @reserved_ips.setter
294
+ def reserved_ips(self, reserved_ips):
295
+ """
296
+ Sets the reserved_ips of this CreateNetworkLoadBalancerDetails.
297
+ An array of reserved Ips.
298
+
299
+
300
+ :param reserved_ips: The reserved_ips of this CreateNetworkLoadBalancerDetails.
301
+ :type: list[oci.network_load_balancer.models.ReservedIP]
302
+ """
303
+ self._reserved_ips = reserved_ips
304
+
305
+ @property
306
+ def is_private(self):
307
+ """
308
+ Gets the is_private of this CreateNetworkLoadBalancerDetails.
309
+ Whether the network load balancer has a virtual cloud network-local (private) IP address.
310
+
311
+ If \"true\", then the service assigns a private IP address to the network load balancer.
312
+
313
+ If \"false\", then the service assigns a public IP address to the network load balancer.
314
+
315
+ A public network load balancer is accessible from the internet, depending on the
316
+ `security list rules`__ for your virtual cloud network. For more information about public and
317
+ private network load balancers,
318
+ see `How Network Load Balancing Works`__.
319
+ This value is true by default.
320
+
321
+ Example: `true`
322
+
323
+ __ https://docs.cloud.oracle.com/Content/network/Concepts/securitylists.htm
324
+ __ https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works
325
+
326
+
327
+ :return: The is_private of this CreateNetworkLoadBalancerDetails.
328
+ :rtype: bool
329
+ """
330
+ return self._is_private
331
+
332
+ @is_private.setter
333
+ def is_private(self, is_private):
334
+ """
335
+ Sets the is_private of this CreateNetworkLoadBalancerDetails.
336
+ Whether the network load balancer has a virtual cloud network-local (private) IP address.
337
+
338
+ If \"true\", then the service assigns a private IP address to the network load balancer.
339
+
340
+ If \"false\", then the service assigns a public IP address to the network load balancer.
341
+
342
+ A public network load balancer is accessible from the internet, depending on the
343
+ `security list rules`__ for your virtual cloud network. For more information about public and
344
+ private network load balancers,
345
+ see `How Network Load Balancing Works`__.
346
+ This value is true by default.
347
+
348
+ Example: `true`
349
+
350
+ __ https://docs.cloud.oracle.com/Content/network/Concepts/securitylists.htm
351
+ __ https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works
352
+
353
+
354
+ :param is_private: The is_private of this CreateNetworkLoadBalancerDetails.
355
+ :type: bool
356
+ """
357
+ self._is_private = is_private
358
+
359
+ @property
360
+ def subnet_id(self):
361
+ """
362
+ **[Required]** Gets the subnet_id of this CreateNetworkLoadBalancerDetails.
363
+ The subnet in which the network load balancer is spawned `OCIDs`__.
364
+
365
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
366
+
367
+
368
+ :return: The subnet_id of this CreateNetworkLoadBalancerDetails.
369
+ :rtype: str
370
+ """
371
+ return self._subnet_id
372
+
373
+ @subnet_id.setter
374
+ def subnet_id(self, subnet_id):
375
+ """
376
+ Sets the subnet_id of this CreateNetworkLoadBalancerDetails.
377
+ The subnet in which the network load balancer is spawned `OCIDs`__.
378
+
379
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
380
+
381
+
382
+ :param subnet_id: The subnet_id of this CreateNetworkLoadBalancerDetails.
383
+ :type: str
384
+ """
385
+ self._subnet_id = subnet_id
386
+
387
+ @property
388
+ def network_security_group_ids(self):
389
+ """
390
+ Gets the network_security_group_ids of this CreateNetworkLoadBalancerDetails.
391
+ An array of network security groups `OCIDs`__ associated with the network load
392
+ balancer.
393
+
394
+ During the creation of the network load balancer, the service adds the new load balancer to the specified network security groups.
395
+
396
+ The benefits of associating the network load balancer with network security groups include:
397
+
398
+ * Network security groups define network security rules to govern ingress and egress traffic for the network load balancer.
399
+
400
+ * The network security rules of other resources can reference the network security groups associated with the network load balancer
401
+ to ensure access.
402
+
403
+ Example: [\"ocid1.nsg.oc1.phx.unique_ID\"]
404
+
405
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
406
+
407
+
408
+ :return: The network_security_group_ids of this CreateNetworkLoadBalancerDetails.
409
+ :rtype: list[str]
410
+ """
411
+ return self._network_security_group_ids
412
+
413
+ @network_security_group_ids.setter
414
+ def network_security_group_ids(self, network_security_group_ids):
415
+ """
416
+ Sets the network_security_group_ids of this CreateNetworkLoadBalancerDetails.
417
+ An array of network security groups `OCIDs`__ associated with the network load
418
+ balancer.
419
+
420
+ During the creation of the network load balancer, the service adds the new load balancer to the specified network security groups.
421
+
422
+ The benefits of associating the network load balancer with network security groups include:
423
+
424
+ * Network security groups define network security rules to govern ingress and egress traffic for the network load balancer.
425
+
426
+ * The network security rules of other resources can reference the network security groups associated with the network load balancer
427
+ to ensure access.
428
+
429
+ Example: [\"ocid1.nsg.oc1.phx.unique_ID\"]
430
+
431
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
432
+
433
+
434
+ :param network_security_group_ids: The network_security_group_ids of this CreateNetworkLoadBalancerDetails.
435
+ :type: list[str]
436
+ """
437
+ self._network_security_group_ids = network_security_group_ids
438
+
439
+ @property
440
+ def nlb_ip_version(self):
441
+ """
442
+ Gets the nlb_ip_version of this CreateNetworkLoadBalancerDetails.
443
+ IP version associated with the NLB.
444
+
445
+ Allowed values for this property are: "IPV4", "IPV4_AND_IPV6", "IPV6"
446
+
447
+
448
+ :return: The nlb_ip_version of this CreateNetworkLoadBalancerDetails.
449
+ :rtype: str
450
+ """
451
+ return self._nlb_ip_version
452
+
453
+ @nlb_ip_version.setter
454
+ def nlb_ip_version(self, nlb_ip_version):
455
+ """
456
+ Sets the nlb_ip_version of this CreateNetworkLoadBalancerDetails.
457
+ IP version associated with the NLB.
458
+
459
+
460
+ :param nlb_ip_version: The nlb_ip_version of this CreateNetworkLoadBalancerDetails.
461
+ :type: str
462
+ """
463
+ allowed_values = ["IPV4", "IPV4_AND_IPV6", "IPV6"]
464
+ if not value_allowed_none_or_none_sentinel(nlb_ip_version, allowed_values):
465
+ raise ValueError(
466
+ f"Invalid value for `nlb_ip_version`, must be None or one of {allowed_values}"
467
+ )
468
+ self._nlb_ip_version = nlb_ip_version
469
+
470
+ @property
471
+ def subnet_ipv6_cidr(self):
472
+ """
473
+ Gets the subnet_ipv6_cidr of this CreateNetworkLoadBalancerDetails.
474
+ IPv6 subnet prefix selection. If Ipv6 subnet prefix is passed, Nlb Ipv6 Address would be assign within the cidr block. NLB has to be dual or single stack ipv6 to support this.
475
+
476
+
477
+ :return: The subnet_ipv6_cidr of this CreateNetworkLoadBalancerDetails.
478
+ :rtype: str
479
+ """
480
+ return self._subnet_ipv6_cidr
481
+
482
+ @subnet_ipv6_cidr.setter
483
+ def subnet_ipv6_cidr(self, subnet_ipv6_cidr):
484
+ """
485
+ Sets the subnet_ipv6_cidr of this CreateNetworkLoadBalancerDetails.
486
+ IPv6 subnet prefix selection. If Ipv6 subnet prefix is passed, Nlb Ipv6 Address would be assign within the cidr block. NLB has to be dual or single stack ipv6 to support this.
487
+
488
+
489
+ :param subnet_ipv6_cidr: The subnet_ipv6_cidr of this CreateNetworkLoadBalancerDetails.
490
+ :type: str
491
+ """
492
+ self._subnet_ipv6_cidr = subnet_ipv6_cidr
493
+
494
+ @property
495
+ def assigned_private_ipv4(self):
496
+ """
497
+ Gets the assigned_private_ipv4 of this CreateNetworkLoadBalancerDetails.
498
+ Private IP address to be assigned to the network load balancer being created.
499
+ This IP address has to be in the CIDR range of the subnet where network load balancer is being created
500
+ Example: \"10.0.0.1\"
501
+
502
+
503
+ :return: The assigned_private_ipv4 of this CreateNetworkLoadBalancerDetails.
504
+ :rtype: str
505
+ """
506
+ return self._assigned_private_ipv4
507
+
508
+ @assigned_private_ipv4.setter
509
+ def assigned_private_ipv4(self, assigned_private_ipv4):
510
+ """
511
+ Sets the assigned_private_ipv4 of this CreateNetworkLoadBalancerDetails.
512
+ Private IP address to be assigned to the network load balancer being created.
513
+ This IP address has to be in the CIDR range of the subnet where network load balancer is being created
514
+ Example: \"10.0.0.1\"
515
+
516
+
517
+ :param assigned_private_ipv4: The assigned_private_ipv4 of this CreateNetworkLoadBalancerDetails.
518
+ :type: str
519
+ """
520
+ self._assigned_private_ipv4 = assigned_private_ipv4
521
+
522
+ @property
523
+ def assigned_ipv6(self):
524
+ """
525
+ Gets the assigned_ipv6 of this CreateNetworkLoadBalancerDetails.
526
+ IPv6 address to be assigned to the network load balancer being created.
527
+ This IP address has to be part of one of the prefixes supported by the subnet.
528
+ Example: \"2607:9b80:9a0a:9a7e:abcd:ef01:2345:6789\"
529
+
530
+
531
+ :return: The assigned_ipv6 of this CreateNetworkLoadBalancerDetails.
532
+ :rtype: str
533
+ """
534
+ return self._assigned_ipv6
535
+
536
+ @assigned_ipv6.setter
537
+ def assigned_ipv6(self, assigned_ipv6):
538
+ """
539
+ Sets the assigned_ipv6 of this CreateNetworkLoadBalancerDetails.
540
+ IPv6 address to be assigned to the network load balancer being created.
541
+ This IP address has to be part of one of the prefixes supported by the subnet.
542
+ Example: \"2607:9b80:9a0a:9a7e:abcd:ef01:2345:6789\"
543
+
544
+
545
+ :param assigned_ipv6: The assigned_ipv6 of this CreateNetworkLoadBalancerDetails.
546
+ :type: str
547
+ """
548
+ self._assigned_ipv6 = assigned_ipv6
549
+
550
+ @property
551
+ def listeners(self):
552
+ """
553
+ Gets the listeners of this CreateNetworkLoadBalancerDetails.
554
+ Listeners associated with the network load balancer.
555
+
556
+
557
+ :return: The listeners of this CreateNetworkLoadBalancerDetails.
558
+ :rtype: dict(str, ListenerDetails)
559
+ """
560
+ return self._listeners
561
+
562
+ @listeners.setter
563
+ def listeners(self, listeners):
564
+ """
565
+ Sets the listeners of this CreateNetworkLoadBalancerDetails.
566
+ Listeners associated with the network load balancer.
567
+
568
+
569
+ :param listeners: The listeners of this CreateNetworkLoadBalancerDetails.
570
+ :type: dict(str, ListenerDetails)
571
+ """
572
+ self._listeners = listeners
573
+
574
+ @property
575
+ def backend_sets(self):
576
+ """
577
+ Gets the backend_sets of this CreateNetworkLoadBalancerDetails.
578
+ Backend sets associated with the network load balancer.
579
+
580
+
581
+ :return: The backend_sets of this CreateNetworkLoadBalancerDetails.
582
+ :rtype: dict(str, BackendSetDetails)
583
+ """
584
+ return self._backend_sets
585
+
586
+ @backend_sets.setter
587
+ def backend_sets(self, backend_sets):
588
+ """
589
+ Sets the backend_sets of this CreateNetworkLoadBalancerDetails.
590
+ Backend sets associated with the network load balancer.
591
+
592
+
593
+ :param backend_sets: The backend_sets of this CreateNetworkLoadBalancerDetails.
594
+ :type: dict(str, BackendSetDetails)
595
+ """
596
+ self._backend_sets = backend_sets
597
+
598
+ @property
599
+ def freeform_tags(self):
600
+ """
601
+ Gets the freeform_tags of this CreateNetworkLoadBalancerDetails.
602
+ Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
603
+ Example: `{\"bar-key\": \"value\"}`
604
+
605
+
606
+ :return: The freeform_tags of this CreateNetworkLoadBalancerDetails.
607
+ :rtype: dict(str, str)
608
+ """
609
+ return self._freeform_tags
610
+
611
+ @freeform_tags.setter
612
+ def freeform_tags(self, freeform_tags):
613
+ """
614
+ Sets the freeform_tags of this CreateNetworkLoadBalancerDetails.
615
+ Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
616
+ Example: `{\"bar-key\": \"value\"}`
617
+
618
+
619
+ :param freeform_tags: The freeform_tags of this CreateNetworkLoadBalancerDetails.
620
+ :type: dict(str, str)
621
+ """
622
+ self._freeform_tags = freeform_tags
623
+
624
+ @property
625
+ def defined_tags(self):
626
+ """
627
+ Gets the defined_tags of this CreateNetworkLoadBalancerDetails.
628
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
629
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
630
+
631
+
632
+ :return: The defined_tags of this CreateNetworkLoadBalancerDetails.
633
+ :rtype: dict(str, dict(str, object))
634
+ """
635
+ return self._defined_tags
636
+
637
+ @defined_tags.setter
638
+ def defined_tags(self, defined_tags):
639
+ """
640
+ Sets the defined_tags of this CreateNetworkLoadBalancerDetails.
641
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
642
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
643
+
644
+
645
+ :param defined_tags: The defined_tags of this CreateNetworkLoadBalancerDetails.
646
+ :type: dict(str, dict(str, object))
647
+ """
648
+ self._defined_tags = defined_tags
649
+
650
+ @property
651
+ def security_attributes(self):
652
+ """
653
+ Gets the security_attributes of this CreateNetworkLoadBalancerDetails.
654
+ ZPR tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
655
+ For more information, see `Resource Tags`__.
656
+
657
+ Example: `{\"oracle-zpr\": {\"td\": {\"value\": \"42\", \"mode\": \"audit\"}}}`
658
+
659
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
660
+
661
+
662
+ :return: The security_attributes of this CreateNetworkLoadBalancerDetails.
663
+ :rtype: dict(str, dict(str, object))
664
+ """
665
+ return self._security_attributes
666
+
667
+ @security_attributes.setter
668
+ def security_attributes(self, security_attributes):
669
+ """
670
+ Sets the security_attributes of this CreateNetworkLoadBalancerDetails.
671
+ ZPR tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
672
+ For more information, see `Resource Tags`__.
673
+
674
+ Example: `{\"oracle-zpr\": {\"td\": {\"value\": \"42\", \"mode\": \"audit\"}}}`
675
+
676
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
677
+
678
+
679
+ :param security_attributes: The security_attributes of this CreateNetworkLoadBalancerDetails.
680
+ :type: dict(str, dict(str, object))
681
+ """
682
+ self._security_attributes = security_attributes
683
+
684
+ def __repr__(self):
685
+ return formatted_flat_dict(self)
686
+
687
+ def __eq__(self, other):
688
+ if other is None:
689
+ return False
690
+
691
+ return self.__dict__ == other.__dict__
692
+
693
+ def __ne__(self, other):
694
+ return not self == other