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.
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/METADATA +3 -3
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/RECORD +248 -6
- oci/file_storage/__init__.py +14 -0
- oci/file_storage/file_storage_client.py +8601 -0
- oci/file_storage/file_storage_client_composite_operations.py +2068 -0
- oci/file_storage/models/__init__.py +130 -0
- oci/file_storage/models/change_file_system_compartment_details.py +76 -0
- oci/file_storage/models/change_filesystem_snapshot_policy_compartment_details.py +76 -0
- oci/file_storage/models/change_mount_target_compartment_details.py +76 -0
- oci/file_storage/models/change_outbound_connector_compartment_details.py +78 -0
- oci/file_storage/models/change_replication_compartment_details.py +76 -0
- oci/file_storage/models/client_options.py +389 -0
- oci/file_storage/models/create_export_details.py +303 -0
- oci/file_storage/models/create_file_system_details.py +425 -0
- oci/file_storage/models/create_filesystem_snapshot_policy_details.py +337 -0
- oci/file_storage/models/create_kerberos_details.py +200 -0
- oci/file_storage/models/create_ldap_bind_account_details.py +220 -0
- oci/file_storage/models/create_ldap_idmap_details.py +317 -0
- oci/file_storage/models/create_mount_target_details.py +581 -0
- oci/file_storage/models/create_outbound_connector_details.py +309 -0
- oci/file_storage/models/create_replication_details.py +325 -0
- oci/file_storage/models/create_snapshot_details.py +261 -0
- oci/file_storage/models/endpoint.py +103 -0
- oci/file_storage/models/export.py +456 -0
- oci/file_storage/models/export_set.py +411 -0
- oci/file_storage/models/export_set_summary.py +316 -0
- oci/file_storage/models/export_summary.py +343 -0
- oci/file_storage/models/file_system.py +818 -0
- oci/file_storage/models/file_system_summary.py +659 -0
- oci/file_storage/models/filesystem_snapshot_policy.py +473 -0
- oci/file_storage/models/filesystem_snapshot_policy_summary.py +429 -0
- oci/file_storage/models/kerberos.py +200 -0
- oci/file_storage/models/kerberos_keytab_entry.py +166 -0
- oci/file_storage/models/key_tab_secret_details.py +138 -0
- oci/file_storage/models/ldap_bind_account.py +243 -0
- oci/file_storage/models/ldap_bind_account_summary.py +176 -0
- oci/file_storage/models/ldap_idmap.py +317 -0
- oci/file_storage/models/mount_target.py +828 -0
- oci/file_storage/models/mount_target_summary.py +696 -0
- oci/file_storage/models/outbound_connector.py +453 -0
- oci/file_storage/models/outbound_connector_summary.py +438 -0
- oci/file_storage/models/replication.py +740 -0
- oci/file_storage/models/replication_estimate.py +196 -0
- oci/file_storage/models/replication_summary.py +491 -0
- oci/file_storage/models/replication_target.py +679 -0
- oci/file_storage/models/replication_target_summary.py +425 -0
- oci/file_storage/models/resource_lock.py +185 -0
- oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
- oci/file_storage/models/snapshot.py +638 -0
- oci/file_storage/models/snapshot_schedule.py +487 -0
- oci/file_storage/models/snapshot_summary.py +601 -0
- oci/file_storage/models/source_details.py +119 -0
- oci/file_storage/models/update_export_details.py +111 -0
- oci/file_storage/models/update_export_set_details.py +172 -0
- oci/file_storage/models/update_file_system_details.py +246 -0
- oci/file_storage/models/update_filesystem_snapshot_policy_details.py +236 -0
- oci/file_storage/models/update_kerberos_details.py +200 -0
- oci/file_storage/models/update_ldap_idmap_details.py +317 -0
- oci/file_storage/models/update_mount_target_details.py +286 -0
- oci/file_storage/models/update_outbound_connector_details.py +158 -0
- oci/file_storage/models/update_replication_details.py +189 -0
- oci/file_storage/models/update_snapshot_details.py +156 -0
- oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
- oci/file_storage/models/validate_key_tabs_details.py +103 -0
- oci/file_storage/models/validate_key_tabs_response_details.py +103 -0
- oci/functions/__init__.py +16 -0
- oci/functions/functions_invoke_client.py +267 -0
- oci/functions/functions_invoke_client_composite_operations.py +26 -0
- oci/functions/functions_management_client.py +2056 -0
- oci/functions/functions_management_client_composite_operations.py +326 -0
- oci/functions/models/__init__.py +74 -0
- oci/functions/models/application.py +628 -0
- oci/functions/models/application_summary.py +512 -0
- oci/functions/models/application_trace_config.py +103 -0
- oci/functions/models/change_application_compartment_details.py +78 -0
- oci/functions/models/config_details.py +134 -0
- oci/functions/models/constant_provisioned_concurrency_config.py +82 -0
- oci/functions/models/create_application_details.py +446 -0
- oci/functions/models/create_function_details.py +437 -0
- oci/functions/models/function.py +734 -0
- oci/functions/models/function_provisioned_concurrency_config.py +109 -0
- oci/functions/models/function_source_details.py +101 -0
- oci/functions/models/function_summary.py +657 -0
- oci/functions/models/function_trace_config.py +72 -0
- oci/functions/models/image_policy_config.py +103 -0
- oci/functions/models/key_details.py +76 -0
- oci/functions/models/none_provisioned_concurrency_config.py +51 -0
- oci/functions/models/pbf_listing.py +408 -0
- oci/functions/models/pbf_listing_summary.py +386 -0
- oci/functions/models/pbf_listing_version.py +467 -0
- oci/functions/models/pbf_listing_version_summary.py +446 -0
- oci/functions/models/pbf_listing_versions_collection.py +73 -0
- oci/functions/models/pbf_listings_collection.py +72 -0
- oci/functions/models/policy_details.py +103 -0
- oci/functions/models/pre_built_function_source_details.py +88 -0
- oci/functions/models/publisher_details.py +72 -0
- oci/functions/models/requirement_details.py +106 -0
- oci/functions/models/trigger.py +72 -0
- oci/functions/models/trigger_summary.py +72 -0
- oci/functions/models/triggers_collection.py +72 -0
- oci/functions/models/update_application_details.py +290 -0
- oci/functions/models/update_function_details.py +346 -0
- oci/load_balancer/__init__.py +14 -0
- oci/load_balancer/load_balancer_client.py +7641 -0
- oci/load_balancer/load_balancer_client_composite_operations.py +1630 -0
- oci/load_balancer/models/__init__.py +186 -0
- oci/load_balancer/models/action.py +97 -0
- oci/load_balancer/models/add_http_request_header_rule.py +134 -0
- oci/load_balancer/models/add_http_response_header_rule.py +137 -0
- oci/load_balancer/models/allow_rule.py +123 -0
- oci/load_balancer/models/backend.py +350 -0
- oci/load_balancer/models/backend_details.py +312 -0
- oci/load_balancer/models/backend_health.py +143 -0
- oci/load_balancer/models/backend_set.py +305 -0
- oci/load_balancer/models/backend_set_details.py +262 -0
- oci/load_balancer/models/backend_set_health.py +265 -0
- oci/load_balancer/models/certificate.py +188 -0
- oci/load_balancer/models/certificate_details.py +270 -0
- oci/load_balancer/models/change_load_balancer_compartment_details.py +78 -0
- oci/load_balancer/models/connection_configuration.py +168 -0
- oci/load_balancer/models/control_access_using_http_methods_rule.py +162 -0
- oci/load_balancer/models/create_backend_details.py +316 -0
- oci/load_balancer/models/create_backend_set_details.py +305 -0
- oci/load_balancer/models/create_certificate_details.py +270 -0
- oci/load_balancer/models/create_hostname_details.py +121 -0
- oci/load_balancer/models/create_listener_details.py +387 -0
- oci/load_balancer/models/create_load_balancer_details.py +895 -0
- oci/load_balancer/models/create_path_route_set_details.py +111 -0
- oci/load_balancer/models/create_routing_policy_details.py +154 -0
- oci/load_balancer/models/create_rule_set_details.py +109 -0
- oci/load_balancer/models/create_ssl_cipher_suite_details.py +606 -0
- oci/load_balancer/models/extend_http_request_header_value_rule.py +181 -0
- oci/load_balancer/models/extend_http_response_header_value_rule.py +181 -0
- oci/load_balancer/models/forward_to_backend_set.py +86 -0
- oci/load_balancer/models/health_check_result.py +219 -0
- oci/load_balancer/models/health_checker.py +381 -0
- oci/load_balancer/models/health_checker_details.py +376 -0
- oci/load_balancer/models/hostname.py +121 -0
- oci/load_balancer/models/hostname_details.py +117 -0
- oci/load_balancer/models/http_header_rule.py +127 -0
- oci/load_balancer/models/ip_address.py +142 -0
- oci/load_balancer/models/ip_based_max_connections_rule.py +118 -0
- oci/load_balancer/models/ip_max_connections.py +111 -0
- oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.py +423 -0
- oci/load_balancer/models/listener.py +383 -0
- oci/load_balancer/models/listener_details.py +344 -0
- oci/load_balancer/models/listener_rule_summary.py +104 -0
- oci/load_balancer/models/load_balancer.py +1023 -0
- oci/load_balancer/models/load_balancer_health.py +281 -0
- oci/load_balancer/models/load_balancer_health_summary.py +167 -0
- oci/load_balancer/models/load_balancer_policy.py +80 -0
- oci/load_balancer/models/load_balancer_protocol.py +76 -0
- oci/load_balancer/models/load_balancer_shape.py +80 -0
- oci/load_balancer/models/path_match_condition.py +166 -0
- oci/load_balancer/models/path_match_type.py +126 -0
- oci/load_balancer/models/path_route.py +156 -0
- oci/load_balancer/models/path_route_set.py +112 -0
- oci/load_balancer/models/path_route_set_details.py +72 -0
- oci/load_balancer/models/redirect_rule.py +173 -0
- oci/load_balancer/models/redirect_uri.py +420 -0
- oci/load_balancer/models/remove_http_request_header_rule.py +90 -0
- oci/load_balancer/models/remove_http_response_header_rule.py +92 -0
- oci/load_balancer/models/reserved_ip.py +90 -0
- oci/load_balancer/models/routing_policy.py +152 -0
- oci/load_balancer/models/routing_policy_details.py +73 -0
- oci/load_balancer/models/routing_rule.py +135 -0
- oci/load_balancer/models/rule.py +177 -0
- oci/load_balancer/models/rule_condition.py +121 -0
- oci/load_balancer/models/rule_set.py +113 -0
- oci/load_balancer/models/rule_set_details.py +72 -0
- oci/load_balancer/models/session_persistence_configuration_details.py +136 -0
- oci/load_balancer/models/shape_details.py +121 -0
- oci/load_balancer/models/source_ip_address_condition.py +90 -0
- oci/load_balancer/models/source_vcn_id_condition.py +98 -0
- oci/load_balancer/models/source_vcn_ip_address_condition.py +97 -0
- oci/load_balancer/models/ssl_cipher_suite.py +606 -0
- oci/load_balancer/models/ssl_cipher_suite_details.py +606 -0
- oci/load_balancer/models/ssl_configuration.py +478 -0
- oci/load_balancer/models/ssl_configuration_details.py +476 -0
- oci/load_balancer/models/update_backend_details.py +242 -0
- oci/load_balancer/models/update_backend_set_details.py +264 -0
- oci/load_balancer/models/update_health_checker_details.py +374 -0
- oci/load_balancer/models/update_hostname_details.py +86 -0
- oci/load_balancer/models/update_listener_details.py +344 -0
- oci/load_balancer/models/update_load_balancer_details.py +356 -0
- oci/load_balancer/models/update_load_balancer_shape_details.py +127 -0
- oci/load_balancer/models/update_network_security_groups_details.py +99 -0
- oci/load_balancer/models/update_path_route_set_details.py +72 -0
- oci/load_balancer/models/update_routing_policy_details.py +115 -0
- oci/load_balancer/models/update_rule_set_details.py +72 -0
- oci/load_balancer/models/update_ssl_cipher_suite_details.py +300 -0
- oci/load_balancer/models/work_request.py +385 -0
- oci/load_balancer/models/work_request_error.py +115 -0
- oci/network_load_balancer/__init__.py +14 -0
- oci/network_load_balancer/models/__init__.py +106 -0
- oci/network_load_balancer/models/backend.py +338 -0
- oci/network_load_balancer/models/backend_collection.py +72 -0
- oci/network_load_balancer/models/backend_details.py +337 -0
- oci/network_load_balancer/models/backend_health.py +145 -0
- oci/network_load_balancer/models/backend_set.py +347 -0
- oci/network_load_balancer/models/backend_set_collection.py +72 -0
- oci/network_load_balancer/models/backend_set_details.py +306 -0
- oci/network_load_balancer/models/backend_set_health.py +265 -0
- oci/network_load_balancer/models/backend_set_summary.py +347 -0
- oci/network_load_balancer/models/backend_summary.py +338 -0
- oci/network_load_balancer/models/change_network_load_balancer_compartment_details.py +78 -0
- oci/network_load_balancer/models/create_backend_details.py +336 -0
- oci/network_load_balancer/models/create_backend_set_details.py +347 -0
- oci/network_load_balancer/models/create_listener_details.py +396 -0
- oci/network_load_balancer/models/create_network_load_balancer_details.py +694 -0
- oci/network_load_balancer/models/dns_health_checker_details.py +264 -0
- oci/network_load_balancer/models/health_check_result.py +139 -0
- oci/network_load_balancer/models/health_checker.py +449 -0
- oci/network_load_balancer/models/health_checker_details.py +449 -0
- oci/network_load_balancer/models/ip_address.py +189 -0
- oci/network_load_balancer/models/listener.py +396 -0
- oci/network_load_balancer/models/listener_collection.py +72 -0
- oci/network_load_balancer/models/listener_details.py +396 -0
- oci/network_load_balancer/models/listener_summary.py +396 -0
- oci/network_load_balancer/models/network_load_balancer.py +847 -0
- oci/network_load_balancer/models/network_load_balancer_collection.py +72 -0
- oci/network_load_balancer/models/network_load_balancer_health.py +281 -0
- oci/network_load_balancer/models/network_load_balancer_health_collection.py +72 -0
- oci/network_load_balancer/models/network_load_balancer_health_summary.py +167 -0
- oci/network_load_balancer/models/network_load_balancer_summary.py +833 -0
- oci/network_load_balancer/models/network_load_balancers_policy_collection.py +72 -0
- oci/network_load_balancer/models/network_load_balancers_protocol_collection.py +73 -0
- oci/network_load_balancer/models/reserved_ip.py +90 -0
- oci/network_load_balancer/models/update_backend_details.py +199 -0
- oci/network_load_balancer/models/update_backend_set_details.py +288 -0
- oci/network_load_balancer/models/update_health_checker_details.py +444 -0
- oci/network_load_balancer/models/update_listener_details.py +361 -0
- oci/network_load_balancer/models/update_network_load_balancer_details.py +386 -0
- oci/network_load_balancer/models/update_network_security_groups_details.py +99 -0
- oci/network_load_balancer/models/work_request.py +454 -0
- oci/network_load_balancer/models/work_request_collection.py +72 -0
- oci/network_load_balancer/models/work_request_error.py +136 -0
- oci/network_load_balancer/models/work_request_error_collection.py +72 -0
- oci/network_load_balancer/models/work_request_log_entry.py +103 -0
- oci/network_load_balancer/models/work_request_log_entry_collection.py +72 -0
- oci/network_load_balancer/models/work_request_resource.py +199 -0
- oci/network_load_balancer/models/work_request_summary.py +454 -0
- oci/network_load_balancer/network_load_balancer_client.py +4392 -0
- oci/network_load_balancer/network_load_balancer_client_composite_operations.py +757 -0
- oci/version.py +1 -1
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/LICENSE.txt +0 -0
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/WHEEL +0 -0
- {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,386 @@
|
|
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 UpdateNetworkLoadBalancerDetails(object):
|
14
|
+
"""
|
15
|
+
Configuration details to update a network load balancer.
|
16
|
+
|
17
|
+
**Caution:** 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 nlb_ip_version property of a UpdateNetworkLoadBalancerDetails.
|
21
|
+
#: This constant has a value of "IPV4"
|
22
|
+
NLB_IP_VERSION_IPV4 = "IPV4"
|
23
|
+
|
24
|
+
#: A constant which can be used with the nlb_ip_version property of a UpdateNetworkLoadBalancerDetails.
|
25
|
+
#: This constant has a value of "IPV4_AND_IPV6"
|
26
|
+
NLB_IP_VERSION_IPV4_AND_IPV6 = "IPV4_AND_IPV6"
|
27
|
+
|
28
|
+
#: A constant which can be used with the nlb_ip_version property of a UpdateNetworkLoadBalancerDetails.
|
29
|
+
#: This constant has a value of "IPV6"
|
30
|
+
NLB_IP_VERSION_IPV6 = "IPV6"
|
31
|
+
|
32
|
+
def __init__(self, **kwargs):
|
33
|
+
"""
|
34
|
+
Initializes a new UpdateNetworkLoadBalancerDetails object with values from keyword arguments.
|
35
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
36
|
+
|
37
|
+
:param display_name:
|
38
|
+
The value to assign to the display_name property of this UpdateNetworkLoadBalancerDetails.
|
39
|
+
:type display_name: str
|
40
|
+
|
41
|
+
:param is_preserve_source_destination:
|
42
|
+
The value to assign to the is_preserve_source_destination property of this UpdateNetworkLoadBalancerDetails.
|
43
|
+
:type is_preserve_source_destination: bool
|
44
|
+
|
45
|
+
:param is_symmetric_hash_enabled:
|
46
|
+
The value to assign to the is_symmetric_hash_enabled property of this UpdateNetworkLoadBalancerDetails.
|
47
|
+
:type is_symmetric_hash_enabled: bool
|
48
|
+
|
49
|
+
:param nlb_ip_version:
|
50
|
+
The value to assign to the nlb_ip_version property of this UpdateNetworkLoadBalancerDetails.
|
51
|
+
Allowed values for this property are: "IPV4", "IPV4_AND_IPV6", "IPV6"
|
52
|
+
:type nlb_ip_version: str
|
53
|
+
|
54
|
+
:param subnet_ipv6_cidr:
|
55
|
+
The value to assign to the subnet_ipv6_cidr property of this UpdateNetworkLoadBalancerDetails.
|
56
|
+
:type subnet_ipv6_cidr: str
|
57
|
+
|
58
|
+
:param assigned_ipv6:
|
59
|
+
The value to assign to the assigned_ipv6 property of this UpdateNetworkLoadBalancerDetails.
|
60
|
+
:type assigned_ipv6: str
|
61
|
+
|
62
|
+
:param freeform_tags:
|
63
|
+
The value to assign to the freeform_tags property of this UpdateNetworkLoadBalancerDetails.
|
64
|
+
:type freeform_tags: dict(str, str)
|
65
|
+
|
66
|
+
:param defined_tags:
|
67
|
+
The value to assign to the defined_tags property of this UpdateNetworkLoadBalancerDetails.
|
68
|
+
:type defined_tags: dict(str, dict(str, object))
|
69
|
+
|
70
|
+
:param security_attributes:
|
71
|
+
The value to assign to the security_attributes property of this UpdateNetworkLoadBalancerDetails.
|
72
|
+
:type security_attributes: dict(str, dict(str, object))
|
73
|
+
|
74
|
+
"""
|
75
|
+
self.swagger_types = {
|
76
|
+
'display_name': 'str',
|
77
|
+
'is_preserve_source_destination': 'bool',
|
78
|
+
'is_symmetric_hash_enabled': 'bool',
|
79
|
+
'nlb_ip_version': 'str',
|
80
|
+
'subnet_ipv6_cidr': 'str',
|
81
|
+
'assigned_ipv6': 'str',
|
82
|
+
'freeform_tags': 'dict(str, str)',
|
83
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
84
|
+
'security_attributes': 'dict(str, dict(str, object))'
|
85
|
+
}
|
86
|
+
|
87
|
+
self.attribute_map = {
|
88
|
+
'display_name': 'displayName',
|
89
|
+
'is_preserve_source_destination': 'isPreserveSourceDestination',
|
90
|
+
'is_symmetric_hash_enabled': 'isSymmetricHashEnabled',
|
91
|
+
'nlb_ip_version': 'nlbIpVersion',
|
92
|
+
'subnet_ipv6_cidr': 'subnetIpv6Cidr',
|
93
|
+
'assigned_ipv6': 'assignedIpv6',
|
94
|
+
'freeform_tags': 'freeformTags',
|
95
|
+
'defined_tags': 'definedTags',
|
96
|
+
'security_attributes': 'securityAttributes'
|
97
|
+
}
|
98
|
+
|
99
|
+
self._display_name = None
|
100
|
+
self._is_preserve_source_destination = None
|
101
|
+
self._is_symmetric_hash_enabled = None
|
102
|
+
self._nlb_ip_version = None
|
103
|
+
self._subnet_ipv6_cidr = None
|
104
|
+
self._assigned_ipv6 = None
|
105
|
+
self._freeform_tags = None
|
106
|
+
self._defined_tags = None
|
107
|
+
self._security_attributes = None
|
108
|
+
|
109
|
+
@property
|
110
|
+
def display_name(self):
|
111
|
+
"""
|
112
|
+
Gets the display_name of this UpdateNetworkLoadBalancerDetails.
|
113
|
+
The user-friendly display name for the network load balancer, which does not have to be unique and can be changed.
|
114
|
+
Avoid entering confidential information.
|
115
|
+
|
116
|
+
Example: `example_network_load_balancer`
|
117
|
+
|
118
|
+
|
119
|
+
:return: The display_name of this UpdateNetworkLoadBalancerDetails.
|
120
|
+
:rtype: str
|
121
|
+
"""
|
122
|
+
return self._display_name
|
123
|
+
|
124
|
+
@display_name.setter
|
125
|
+
def display_name(self, display_name):
|
126
|
+
"""
|
127
|
+
Sets the display_name of this UpdateNetworkLoadBalancerDetails.
|
128
|
+
The user-friendly display name for the network load balancer, which does not have to be unique and can be changed.
|
129
|
+
Avoid entering confidential information.
|
130
|
+
|
131
|
+
Example: `example_network_load_balancer`
|
132
|
+
|
133
|
+
|
134
|
+
:param display_name: The display_name of this UpdateNetworkLoadBalancerDetails.
|
135
|
+
:type: str
|
136
|
+
"""
|
137
|
+
self._display_name = display_name
|
138
|
+
|
139
|
+
@property
|
140
|
+
def is_preserve_source_destination(self):
|
141
|
+
"""
|
142
|
+
Gets the is_preserve_source_destination of this UpdateNetworkLoadBalancerDetails.
|
143
|
+
This parameter can be enabled only if backends are compute OCIDs. When enabled, the skipSourceDestinationCheck parameter is automatically
|
144
|
+
enabled on the load balancer VNIC, and packets are sent to the backend with the entire IP header intact.
|
145
|
+
|
146
|
+
|
147
|
+
:return: The is_preserve_source_destination of this UpdateNetworkLoadBalancerDetails.
|
148
|
+
:rtype: bool
|
149
|
+
"""
|
150
|
+
return self._is_preserve_source_destination
|
151
|
+
|
152
|
+
@is_preserve_source_destination.setter
|
153
|
+
def is_preserve_source_destination(self, is_preserve_source_destination):
|
154
|
+
"""
|
155
|
+
Sets the is_preserve_source_destination of this UpdateNetworkLoadBalancerDetails.
|
156
|
+
This parameter can be enabled only if backends are compute OCIDs. When enabled, the skipSourceDestinationCheck parameter is automatically
|
157
|
+
enabled on the load balancer VNIC, and packets are sent to the backend with the entire IP header intact.
|
158
|
+
|
159
|
+
|
160
|
+
:param is_preserve_source_destination: The is_preserve_source_destination of this UpdateNetworkLoadBalancerDetails.
|
161
|
+
:type: bool
|
162
|
+
"""
|
163
|
+
self._is_preserve_source_destination = is_preserve_source_destination
|
164
|
+
|
165
|
+
@property
|
166
|
+
def is_symmetric_hash_enabled(self):
|
167
|
+
"""
|
168
|
+
Gets the is_symmetric_hash_enabled of this UpdateNetworkLoadBalancerDetails.
|
169
|
+
This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled.
|
170
|
+
This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
|
171
|
+
|
172
|
+
|
173
|
+
:return: The is_symmetric_hash_enabled of this UpdateNetworkLoadBalancerDetails.
|
174
|
+
:rtype: bool
|
175
|
+
"""
|
176
|
+
return self._is_symmetric_hash_enabled
|
177
|
+
|
178
|
+
@is_symmetric_hash_enabled.setter
|
179
|
+
def is_symmetric_hash_enabled(self, is_symmetric_hash_enabled):
|
180
|
+
"""
|
181
|
+
Sets the is_symmetric_hash_enabled of this UpdateNetworkLoadBalancerDetails.
|
182
|
+
This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled.
|
183
|
+
This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
|
184
|
+
|
185
|
+
|
186
|
+
:param is_symmetric_hash_enabled: The is_symmetric_hash_enabled of this UpdateNetworkLoadBalancerDetails.
|
187
|
+
:type: bool
|
188
|
+
"""
|
189
|
+
self._is_symmetric_hash_enabled = is_symmetric_hash_enabled
|
190
|
+
|
191
|
+
@property
|
192
|
+
def nlb_ip_version(self):
|
193
|
+
"""
|
194
|
+
Gets the nlb_ip_version of this UpdateNetworkLoadBalancerDetails.
|
195
|
+
IP version associated with the NLB.
|
196
|
+
|
197
|
+
Allowed values for this property are: "IPV4", "IPV4_AND_IPV6", "IPV6"
|
198
|
+
|
199
|
+
|
200
|
+
:return: The nlb_ip_version of this UpdateNetworkLoadBalancerDetails.
|
201
|
+
:rtype: str
|
202
|
+
"""
|
203
|
+
return self._nlb_ip_version
|
204
|
+
|
205
|
+
@nlb_ip_version.setter
|
206
|
+
def nlb_ip_version(self, nlb_ip_version):
|
207
|
+
"""
|
208
|
+
Sets the nlb_ip_version of this UpdateNetworkLoadBalancerDetails.
|
209
|
+
IP version associated with the NLB.
|
210
|
+
|
211
|
+
|
212
|
+
:param nlb_ip_version: The nlb_ip_version of this UpdateNetworkLoadBalancerDetails.
|
213
|
+
:type: str
|
214
|
+
"""
|
215
|
+
allowed_values = ["IPV4", "IPV4_AND_IPV6", "IPV6"]
|
216
|
+
if not value_allowed_none_or_none_sentinel(nlb_ip_version, allowed_values):
|
217
|
+
raise ValueError(
|
218
|
+
f"Invalid value for `nlb_ip_version`, must be None or one of {allowed_values}"
|
219
|
+
)
|
220
|
+
self._nlb_ip_version = nlb_ip_version
|
221
|
+
|
222
|
+
@property
|
223
|
+
def subnet_ipv6_cidr(self):
|
224
|
+
"""
|
225
|
+
Gets the subnet_ipv6_cidr of this UpdateNetworkLoadBalancerDetails.
|
226
|
+
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.
|
227
|
+
|
228
|
+
|
229
|
+
:return: The subnet_ipv6_cidr of this UpdateNetworkLoadBalancerDetails.
|
230
|
+
:rtype: str
|
231
|
+
"""
|
232
|
+
return self._subnet_ipv6_cidr
|
233
|
+
|
234
|
+
@subnet_ipv6_cidr.setter
|
235
|
+
def subnet_ipv6_cidr(self, subnet_ipv6_cidr):
|
236
|
+
"""
|
237
|
+
Sets the subnet_ipv6_cidr of this UpdateNetworkLoadBalancerDetails.
|
238
|
+
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.
|
239
|
+
|
240
|
+
|
241
|
+
:param subnet_ipv6_cidr: The subnet_ipv6_cidr of this UpdateNetworkLoadBalancerDetails.
|
242
|
+
:type: str
|
243
|
+
"""
|
244
|
+
self._subnet_ipv6_cidr = subnet_ipv6_cidr
|
245
|
+
|
246
|
+
@property
|
247
|
+
def assigned_ipv6(self):
|
248
|
+
"""
|
249
|
+
Gets the assigned_ipv6 of this UpdateNetworkLoadBalancerDetails.
|
250
|
+
IPv6 address to be assigned to the network load balancer being created.
|
251
|
+
This IP address has to be part of one of the prefixes supported by the subnet.
|
252
|
+
Example: \"2607:9b80:9a0a:9a7e:abcd:ef01:2345:6789\"
|
253
|
+
|
254
|
+
|
255
|
+
:return: The assigned_ipv6 of this UpdateNetworkLoadBalancerDetails.
|
256
|
+
:rtype: str
|
257
|
+
"""
|
258
|
+
return self._assigned_ipv6
|
259
|
+
|
260
|
+
@assigned_ipv6.setter
|
261
|
+
def assigned_ipv6(self, assigned_ipv6):
|
262
|
+
"""
|
263
|
+
Sets the assigned_ipv6 of this UpdateNetworkLoadBalancerDetails.
|
264
|
+
IPv6 address to be assigned to the network load balancer being created.
|
265
|
+
This IP address has to be part of one of the prefixes supported by the subnet.
|
266
|
+
Example: \"2607:9b80:9a0a:9a7e:abcd:ef01:2345:6789\"
|
267
|
+
|
268
|
+
|
269
|
+
:param assigned_ipv6: The assigned_ipv6 of this UpdateNetworkLoadBalancerDetails.
|
270
|
+
:type: str
|
271
|
+
"""
|
272
|
+
self._assigned_ipv6 = assigned_ipv6
|
273
|
+
|
274
|
+
@property
|
275
|
+
def freeform_tags(self):
|
276
|
+
"""
|
277
|
+
Gets the freeform_tags of this UpdateNetworkLoadBalancerDetails.
|
278
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
279
|
+
For more information, see `Resource Tags`__.
|
280
|
+
|
281
|
+
Example: `{\"Department\": \"Finance\"}`
|
282
|
+
|
283
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
284
|
+
|
285
|
+
|
286
|
+
:return: The freeform_tags of this UpdateNetworkLoadBalancerDetails.
|
287
|
+
:rtype: dict(str, str)
|
288
|
+
"""
|
289
|
+
return self._freeform_tags
|
290
|
+
|
291
|
+
@freeform_tags.setter
|
292
|
+
def freeform_tags(self, freeform_tags):
|
293
|
+
"""
|
294
|
+
Sets the freeform_tags of this UpdateNetworkLoadBalancerDetails.
|
295
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
296
|
+
For more information, see `Resource Tags`__.
|
297
|
+
|
298
|
+
Example: `{\"Department\": \"Finance\"}`
|
299
|
+
|
300
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
301
|
+
|
302
|
+
|
303
|
+
:param freeform_tags: The freeform_tags of this UpdateNetworkLoadBalancerDetails.
|
304
|
+
:type: dict(str, str)
|
305
|
+
"""
|
306
|
+
self._freeform_tags = freeform_tags
|
307
|
+
|
308
|
+
@property
|
309
|
+
def defined_tags(self):
|
310
|
+
"""
|
311
|
+
Gets the defined_tags of this UpdateNetworkLoadBalancerDetails.
|
312
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
313
|
+
For more information, see `Resource Tags`__.
|
314
|
+
|
315
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
316
|
+
|
317
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
318
|
+
|
319
|
+
|
320
|
+
:return: The defined_tags of this UpdateNetworkLoadBalancerDetails.
|
321
|
+
:rtype: dict(str, dict(str, object))
|
322
|
+
"""
|
323
|
+
return self._defined_tags
|
324
|
+
|
325
|
+
@defined_tags.setter
|
326
|
+
def defined_tags(self, defined_tags):
|
327
|
+
"""
|
328
|
+
Sets the defined_tags of this UpdateNetworkLoadBalancerDetails.
|
329
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
330
|
+
For more information, see `Resource Tags`__.
|
331
|
+
|
332
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
333
|
+
|
334
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
335
|
+
|
336
|
+
|
337
|
+
:param defined_tags: The defined_tags of this UpdateNetworkLoadBalancerDetails.
|
338
|
+
:type: dict(str, dict(str, object))
|
339
|
+
"""
|
340
|
+
self._defined_tags = defined_tags
|
341
|
+
|
342
|
+
@property
|
343
|
+
def security_attributes(self):
|
344
|
+
"""
|
345
|
+
Gets the security_attributes of this UpdateNetworkLoadBalancerDetails.
|
346
|
+
ZPR tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
347
|
+
For more information, see `Resource Tags`__.
|
348
|
+
|
349
|
+
Example: `{\"oracle-zpr\": {\"td\": {\"value\": \"42\", \"mode\": \"audit\"}}}`
|
350
|
+
|
351
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
352
|
+
|
353
|
+
|
354
|
+
:return: The security_attributes of this UpdateNetworkLoadBalancerDetails.
|
355
|
+
:rtype: dict(str, dict(str, object))
|
356
|
+
"""
|
357
|
+
return self._security_attributes
|
358
|
+
|
359
|
+
@security_attributes.setter
|
360
|
+
def security_attributes(self, security_attributes):
|
361
|
+
"""
|
362
|
+
Sets the security_attributes of this UpdateNetworkLoadBalancerDetails.
|
363
|
+
ZPR tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
364
|
+
For more information, see `Resource Tags`__.
|
365
|
+
|
366
|
+
Example: `{\"oracle-zpr\": {\"td\": {\"value\": \"42\", \"mode\": \"audit\"}}}`
|
367
|
+
|
368
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
369
|
+
|
370
|
+
|
371
|
+
:param security_attributes: The security_attributes of this UpdateNetworkLoadBalancerDetails.
|
372
|
+
:type: dict(str, dict(str, object))
|
373
|
+
"""
|
374
|
+
self._security_attributes = security_attributes
|
375
|
+
|
376
|
+
def __repr__(self):
|
377
|
+
return formatted_flat_dict(self)
|
378
|
+
|
379
|
+
def __eq__(self, other):
|
380
|
+
if other is None:
|
381
|
+
return False
|
382
|
+
|
383
|
+
return self.__dict__ == other.__dict__
|
384
|
+
|
385
|
+
def __ne__(self, other):
|
386
|
+
return not self == other
|
@@ -0,0 +1,99 @@
|
|
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 UpdateNetworkSecurityGroupsDetails(object):
|
14
|
+
"""
|
15
|
+
An object representing an updated list of network security groups that overwrites the existing list of network security groups.
|
16
|
+
* If the network load balancer has no configured network security groups, then the network load balancer uses the network security groups in this list.
|
17
|
+
* If the network load balancer has a list of configured network security groups, then this list replaces the existing list.
|
18
|
+
* If the network load balancer has a list of configured network security groups and this list is empty, then the operation removes all of the network security groups associated with the network load balancer.
|
19
|
+
"""
|
20
|
+
|
21
|
+
def __init__(self, **kwargs):
|
22
|
+
"""
|
23
|
+
Initializes a new UpdateNetworkSecurityGroupsDetails object with values from keyword arguments.
|
24
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
25
|
+
|
26
|
+
:param network_security_group_ids:
|
27
|
+
The value to assign to the network_security_group_ids property of this UpdateNetworkSecurityGroupsDetails.
|
28
|
+
:type network_security_group_ids: list[str]
|
29
|
+
|
30
|
+
"""
|
31
|
+
self.swagger_types = {
|
32
|
+
'network_security_group_ids': 'list[str]'
|
33
|
+
}
|
34
|
+
|
35
|
+
self.attribute_map = {
|
36
|
+
'network_security_group_ids': 'networkSecurityGroupIds'
|
37
|
+
}
|
38
|
+
|
39
|
+
self._network_security_group_ids = None
|
40
|
+
|
41
|
+
@property
|
42
|
+
def network_security_group_ids(self):
|
43
|
+
"""
|
44
|
+
Gets the network_security_group_ids of this UpdateNetworkSecurityGroupsDetails.
|
45
|
+
An array of network security group `OCIDs`__ associated with the network load
|
46
|
+
balancer.
|
47
|
+
|
48
|
+
During the creation of the network load balancer, the service adds the new network load balancer to the specified network security groups.
|
49
|
+
|
50
|
+
The benefits of associating the network load balancer with network security groups include:
|
51
|
+
|
52
|
+
* Network security groups define network security rules to govern ingress and egress traffic for the network load balancer.
|
53
|
+
|
54
|
+
* The network security rules of other resources can reference the network security groups associated with the network load balancer
|
55
|
+
to ensure access.
|
56
|
+
|
57
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
58
|
+
|
59
|
+
|
60
|
+
:return: The network_security_group_ids of this UpdateNetworkSecurityGroupsDetails.
|
61
|
+
:rtype: list[str]
|
62
|
+
"""
|
63
|
+
return self._network_security_group_ids
|
64
|
+
|
65
|
+
@network_security_group_ids.setter
|
66
|
+
def network_security_group_ids(self, network_security_group_ids):
|
67
|
+
"""
|
68
|
+
Sets the network_security_group_ids of this UpdateNetworkSecurityGroupsDetails.
|
69
|
+
An array of network security group `OCIDs`__ associated with the network load
|
70
|
+
balancer.
|
71
|
+
|
72
|
+
During the creation of the network load balancer, the service adds the new network load balancer to the specified network security groups.
|
73
|
+
|
74
|
+
The benefits of associating the network load balancer with network security groups include:
|
75
|
+
|
76
|
+
* Network security groups define network security rules to govern ingress and egress traffic for the network load balancer.
|
77
|
+
|
78
|
+
* The network security rules of other resources can reference the network security groups associated with the network load balancer
|
79
|
+
to ensure access.
|
80
|
+
|
81
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
82
|
+
|
83
|
+
|
84
|
+
:param network_security_group_ids: The network_security_group_ids of this UpdateNetworkSecurityGroupsDetails.
|
85
|
+
:type: list[str]
|
86
|
+
"""
|
87
|
+
self._network_security_group_ids = network_security_group_ids
|
88
|
+
|
89
|
+
def __repr__(self):
|
90
|
+
return formatted_flat_dict(self)
|
91
|
+
|
92
|
+
def __eq__(self, other):
|
93
|
+
if other is None:
|
94
|
+
return False
|
95
|
+
|
96
|
+
return self.__dict__ == other.__dict__
|
97
|
+
|
98
|
+
def __ne__(self, other):
|
99
|
+
return not self == other
|