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,895 @@
|
|
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 CreateLoadBalancerDetails(object):
|
14
|
+
"""
|
15
|
+
The configuration details for creating a load balancer.
|
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 ip_mode property of a CreateLoadBalancerDetails.
|
21
|
+
#: This constant has a value of "IPV4"
|
22
|
+
IP_MODE_IPV4 = "IPV4"
|
23
|
+
|
24
|
+
#: A constant which can be used with the ip_mode property of a CreateLoadBalancerDetails.
|
25
|
+
#: This constant has a value of "IPV6"
|
26
|
+
IP_MODE_IPV6 = "IPV6"
|
27
|
+
|
28
|
+
def __init__(self, **kwargs):
|
29
|
+
"""
|
30
|
+
Initializes a new CreateLoadBalancerDetails object with values from keyword arguments.
|
31
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
32
|
+
|
33
|
+
:param compartment_id:
|
34
|
+
The value to assign to the compartment_id property of this CreateLoadBalancerDetails.
|
35
|
+
:type compartment_id: str
|
36
|
+
|
37
|
+
:param display_name:
|
38
|
+
The value to assign to the display_name property of this CreateLoadBalancerDetails.
|
39
|
+
:type display_name: str
|
40
|
+
|
41
|
+
:param shape_name:
|
42
|
+
The value to assign to the shape_name property of this CreateLoadBalancerDetails.
|
43
|
+
:type shape_name: str
|
44
|
+
|
45
|
+
:param shape_details:
|
46
|
+
The value to assign to the shape_details property of this CreateLoadBalancerDetails.
|
47
|
+
:type shape_details: oci.load_balancer.models.ShapeDetails
|
48
|
+
|
49
|
+
:param is_private:
|
50
|
+
The value to assign to the is_private property of this CreateLoadBalancerDetails.
|
51
|
+
:type is_private: bool
|
52
|
+
|
53
|
+
:param is_delete_protection_enabled:
|
54
|
+
The value to assign to the is_delete_protection_enabled property of this CreateLoadBalancerDetails.
|
55
|
+
:type is_delete_protection_enabled: bool
|
56
|
+
|
57
|
+
:param ip_mode:
|
58
|
+
The value to assign to the ip_mode property of this CreateLoadBalancerDetails.
|
59
|
+
Allowed values for this property are: "IPV4", "IPV6"
|
60
|
+
:type ip_mode: str
|
61
|
+
|
62
|
+
:param is_request_id_enabled:
|
63
|
+
The value to assign to the is_request_id_enabled property of this CreateLoadBalancerDetails.
|
64
|
+
:type is_request_id_enabled: bool
|
65
|
+
|
66
|
+
:param request_id_header:
|
67
|
+
The value to assign to the request_id_header property of this CreateLoadBalancerDetails.
|
68
|
+
:type request_id_header: str
|
69
|
+
|
70
|
+
:param reserved_ips:
|
71
|
+
The value to assign to the reserved_ips property of this CreateLoadBalancerDetails.
|
72
|
+
:type reserved_ips: list[oci.load_balancer.models.ReservedIP]
|
73
|
+
|
74
|
+
:param listeners:
|
75
|
+
The value to assign to the listeners property of this CreateLoadBalancerDetails.
|
76
|
+
:type listeners: dict(str, ListenerDetails)
|
77
|
+
|
78
|
+
:param hostnames:
|
79
|
+
The value to assign to the hostnames property of this CreateLoadBalancerDetails.
|
80
|
+
:type hostnames: dict(str, HostnameDetails)
|
81
|
+
|
82
|
+
:param backend_sets:
|
83
|
+
The value to assign to the backend_sets property of this CreateLoadBalancerDetails.
|
84
|
+
:type backend_sets: dict(str, BackendSetDetails)
|
85
|
+
|
86
|
+
:param network_security_group_ids:
|
87
|
+
The value to assign to the network_security_group_ids property of this CreateLoadBalancerDetails.
|
88
|
+
:type network_security_group_ids: list[str]
|
89
|
+
|
90
|
+
:param subnet_ids:
|
91
|
+
The value to assign to the subnet_ids property of this CreateLoadBalancerDetails.
|
92
|
+
:type subnet_ids: list[str]
|
93
|
+
|
94
|
+
:param certificates:
|
95
|
+
The value to assign to the certificates property of this CreateLoadBalancerDetails.
|
96
|
+
:type certificates: dict(str, CertificateDetails)
|
97
|
+
|
98
|
+
:param ssl_cipher_suites:
|
99
|
+
The value to assign to the ssl_cipher_suites property of this CreateLoadBalancerDetails.
|
100
|
+
:type ssl_cipher_suites: dict(str, SSLCipherSuiteDetails)
|
101
|
+
|
102
|
+
:param path_route_sets:
|
103
|
+
The value to assign to the path_route_sets property of this CreateLoadBalancerDetails.
|
104
|
+
:type path_route_sets: dict(str, PathRouteSetDetails)
|
105
|
+
|
106
|
+
:param freeform_tags:
|
107
|
+
The value to assign to the freeform_tags property of this CreateLoadBalancerDetails.
|
108
|
+
:type freeform_tags: dict(str, str)
|
109
|
+
|
110
|
+
:param defined_tags:
|
111
|
+
The value to assign to the defined_tags property of this CreateLoadBalancerDetails.
|
112
|
+
:type defined_tags: dict(str, dict(str, object))
|
113
|
+
|
114
|
+
:param zpr_tags:
|
115
|
+
The value to assign to the zpr_tags property of this CreateLoadBalancerDetails.
|
116
|
+
:type zpr_tags: dict(str, dict(str, object))
|
117
|
+
|
118
|
+
:param rule_sets:
|
119
|
+
The value to assign to the rule_sets property of this CreateLoadBalancerDetails.
|
120
|
+
:type rule_sets: dict(str, RuleSetDetails)
|
121
|
+
|
122
|
+
"""
|
123
|
+
self.swagger_types = {
|
124
|
+
'compartment_id': 'str',
|
125
|
+
'display_name': 'str',
|
126
|
+
'shape_name': 'str',
|
127
|
+
'shape_details': 'ShapeDetails',
|
128
|
+
'is_private': 'bool',
|
129
|
+
'is_delete_protection_enabled': 'bool',
|
130
|
+
'ip_mode': 'str',
|
131
|
+
'is_request_id_enabled': 'bool',
|
132
|
+
'request_id_header': 'str',
|
133
|
+
'reserved_ips': 'list[ReservedIP]',
|
134
|
+
'listeners': 'dict(str, ListenerDetails)',
|
135
|
+
'hostnames': 'dict(str, HostnameDetails)',
|
136
|
+
'backend_sets': 'dict(str, BackendSetDetails)',
|
137
|
+
'network_security_group_ids': 'list[str]',
|
138
|
+
'subnet_ids': 'list[str]',
|
139
|
+
'certificates': 'dict(str, CertificateDetails)',
|
140
|
+
'ssl_cipher_suites': 'dict(str, SSLCipherSuiteDetails)',
|
141
|
+
'path_route_sets': 'dict(str, PathRouteSetDetails)',
|
142
|
+
'freeform_tags': 'dict(str, str)',
|
143
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
144
|
+
'zpr_tags': 'dict(str, dict(str, object))',
|
145
|
+
'rule_sets': 'dict(str, RuleSetDetails)'
|
146
|
+
}
|
147
|
+
|
148
|
+
self.attribute_map = {
|
149
|
+
'compartment_id': 'compartmentId',
|
150
|
+
'display_name': 'displayName',
|
151
|
+
'shape_name': 'shapeName',
|
152
|
+
'shape_details': 'shapeDetails',
|
153
|
+
'is_private': 'isPrivate',
|
154
|
+
'is_delete_protection_enabled': 'isDeleteProtectionEnabled',
|
155
|
+
'ip_mode': 'ipMode',
|
156
|
+
'is_request_id_enabled': 'isRequestIdEnabled',
|
157
|
+
'request_id_header': 'requestIdHeader',
|
158
|
+
'reserved_ips': 'reservedIps',
|
159
|
+
'listeners': 'listeners',
|
160
|
+
'hostnames': 'hostnames',
|
161
|
+
'backend_sets': 'backendSets',
|
162
|
+
'network_security_group_ids': 'networkSecurityGroupIds',
|
163
|
+
'subnet_ids': 'subnetIds',
|
164
|
+
'certificates': 'certificates',
|
165
|
+
'ssl_cipher_suites': 'sslCipherSuites',
|
166
|
+
'path_route_sets': 'pathRouteSets',
|
167
|
+
'freeform_tags': 'freeformTags',
|
168
|
+
'defined_tags': 'definedTags',
|
169
|
+
'zpr_tags': 'zprTags',
|
170
|
+
'rule_sets': 'ruleSets'
|
171
|
+
}
|
172
|
+
|
173
|
+
self._compartment_id = None
|
174
|
+
self._display_name = None
|
175
|
+
self._shape_name = None
|
176
|
+
self._shape_details = None
|
177
|
+
self._is_private = None
|
178
|
+
self._is_delete_protection_enabled = None
|
179
|
+
self._ip_mode = None
|
180
|
+
self._is_request_id_enabled = None
|
181
|
+
self._request_id_header = None
|
182
|
+
self._reserved_ips = None
|
183
|
+
self._listeners = None
|
184
|
+
self._hostnames = None
|
185
|
+
self._backend_sets = None
|
186
|
+
self._network_security_group_ids = None
|
187
|
+
self._subnet_ids = None
|
188
|
+
self._certificates = None
|
189
|
+
self._ssl_cipher_suites = None
|
190
|
+
self._path_route_sets = None
|
191
|
+
self._freeform_tags = None
|
192
|
+
self._defined_tags = None
|
193
|
+
self._zpr_tags = None
|
194
|
+
self._rule_sets = None
|
195
|
+
|
196
|
+
@property
|
197
|
+
def compartment_id(self):
|
198
|
+
"""
|
199
|
+
**[Required]** Gets the compartment_id of this CreateLoadBalancerDetails.
|
200
|
+
The `OCID`__ of the compartment in which to create the load balancer.
|
201
|
+
|
202
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
203
|
+
|
204
|
+
|
205
|
+
:return: The compartment_id of this CreateLoadBalancerDetails.
|
206
|
+
:rtype: str
|
207
|
+
"""
|
208
|
+
return self._compartment_id
|
209
|
+
|
210
|
+
@compartment_id.setter
|
211
|
+
def compartment_id(self, compartment_id):
|
212
|
+
"""
|
213
|
+
Sets the compartment_id of this CreateLoadBalancerDetails.
|
214
|
+
The `OCID`__ of the compartment in which to create the load balancer.
|
215
|
+
|
216
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
217
|
+
|
218
|
+
|
219
|
+
:param compartment_id: The compartment_id of this CreateLoadBalancerDetails.
|
220
|
+
:type: str
|
221
|
+
"""
|
222
|
+
self._compartment_id = compartment_id
|
223
|
+
|
224
|
+
@property
|
225
|
+
def display_name(self):
|
226
|
+
"""
|
227
|
+
**[Required]** Gets the display_name of this CreateLoadBalancerDetails.
|
228
|
+
A user-friendly name. It does not have to be unique, and it is changeable.
|
229
|
+
Avoid entering confidential information.
|
230
|
+
|
231
|
+
Example: `example_load_balancer`
|
232
|
+
|
233
|
+
|
234
|
+
:return: The display_name of this CreateLoadBalancerDetails.
|
235
|
+
:rtype: str
|
236
|
+
"""
|
237
|
+
return self._display_name
|
238
|
+
|
239
|
+
@display_name.setter
|
240
|
+
def display_name(self, display_name):
|
241
|
+
"""
|
242
|
+
Sets the display_name of this CreateLoadBalancerDetails.
|
243
|
+
A user-friendly name. It does not have to be unique, and it is changeable.
|
244
|
+
Avoid entering confidential information.
|
245
|
+
|
246
|
+
Example: `example_load_balancer`
|
247
|
+
|
248
|
+
|
249
|
+
:param display_name: The display_name of this CreateLoadBalancerDetails.
|
250
|
+
:type: str
|
251
|
+
"""
|
252
|
+
self._display_name = display_name
|
253
|
+
|
254
|
+
@property
|
255
|
+
def shape_name(self):
|
256
|
+
"""
|
257
|
+
**[Required]** Gets the shape_name of this CreateLoadBalancerDetails.
|
258
|
+
A template that determines the total pre-provisioned bandwidth (ingress plus egress).
|
259
|
+
To get a list of available shapes, use the :func:`list_shapes`
|
260
|
+
operation.
|
261
|
+
|
262
|
+
Example: `flexible`
|
263
|
+
NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape
|
264
|
+
allowed would be `Flexible`
|
265
|
+
|
266
|
+
|
267
|
+
:return: The shape_name of this CreateLoadBalancerDetails.
|
268
|
+
:rtype: str
|
269
|
+
"""
|
270
|
+
return self._shape_name
|
271
|
+
|
272
|
+
@shape_name.setter
|
273
|
+
def shape_name(self, shape_name):
|
274
|
+
"""
|
275
|
+
Sets the shape_name of this CreateLoadBalancerDetails.
|
276
|
+
A template that determines the total pre-provisioned bandwidth (ingress plus egress).
|
277
|
+
To get a list of available shapes, use the :func:`list_shapes`
|
278
|
+
operation.
|
279
|
+
|
280
|
+
Example: `flexible`
|
281
|
+
NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape
|
282
|
+
allowed would be `Flexible`
|
283
|
+
|
284
|
+
|
285
|
+
:param shape_name: The shape_name of this CreateLoadBalancerDetails.
|
286
|
+
:type: str
|
287
|
+
"""
|
288
|
+
self._shape_name = shape_name
|
289
|
+
|
290
|
+
@property
|
291
|
+
def shape_details(self):
|
292
|
+
"""
|
293
|
+
Gets the shape_details of this CreateLoadBalancerDetails.
|
294
|
+
The configuration details to create load balancer using Flexible shape. This is required only if shapeName is `Flexible`.
|
295
|
+
|
296
|
+
|
297
|
+
:return: The shape_details of this CreateLoadBalancerDetails.
|
298
|
+
:rtype: oci.load_balancer.models.ShapeDetails
|
299
|
+
"""
|
300
|
+
return self._shape_details
|
301
|
+
|
302
|
+
@shape_details.setter
|
303
|
+
def shape_details(self, shape_details):
|
304
|
+
"""
|
305
|
+
Sets the shape_details of this CreateLoadBalancerDetails.
|
306
|
+
The configuration details to create load balancer using Flexible shape. This is required only if shapeName is `Flexible`.
|
307
|
+
|
308
|
+
|
309
|
+
:param shape_details: The shape_details of this CreateLoadBalancerDetails.
|
310
|
+
:type: oci.load_balancer.models.ShapeDetails
|
311
|
+
"""
|
312
|
+
self._shape_details = shape_details
|
313
|
+
|
314
|
+
@property
|
315
|
+
def is_private(self):
|
316
|
+
"""
|
317
|
+
Gets the is_private of this CreateLoadBalancerDetails.
|
318
|
+
Whether the load balancer has a VCN-local (private) IP address.
|
319
|
+
|
320
|
+
If \"true\", the service assigns a private IP address to the load balancer.
|
321
|
+
|
322
|
+
If \"false\", the service assigns a public IP address to the load balancer.
|
323
|
+
|
324
|
+
A public load balancer is accessible from the internet, depending on your VCN's
|
325
|
+
`security list rules`__. For more information about public and
|
326
|
+
private load balancers, see `How Load Balancing Works`__.
|
327
|
+
|
328
|
+
Example: `true`
|
329
|
+
|
330
|
+
__ https://docs.cloud.oracle.com/Content/Network/Concepts/securitylists.htm
|
331
|
+
__ https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works
|
332
|
+
|
333
|
+
|
334
|
+
:return: The is_private of this CreateLoadBalancerDetails.
|
335
|
+
:rtype: bool
|
336
|
+
"""
|
337
|
+
return self._is_private
|
338
|
+
|
339
|
+
@is_private.setter
|
340
|
+
def is_private(self, is_private):
|
341
|
+
"""
|
342
|
+
Sets the is_private of this CreateLoadBalancerDetails.
|
343
|
+
Whether the load balancer has a VCN-local (private) IP address.
|
344
|
+
|
345
|
+
If \"true\", the service assigns a private IP address to the load balancer.
|
346
|
+
|
347
|
+
If \"false\", the service assigns a public IP address to the load balancer.
|
348
|
+
|
349
|
+
A public load balancer is accessible from the internet, depending on your VCN's
|
350
|
+
`security list rules`__. For more information about public and
|
351
|
+
private load balancers, see `How Load Balancing Works`__.
|
352
|
+
|
353
|
+
Example: `true`
|
354
|
+
|
355
|
+
__ https://docs.cloud.oracle.com/Content/Network/Concepts/securitylists.htm
|
356
|
+
__ https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works
|
357
|
+
|
358
|
+
|
359
|
+
:param is_private: The is_private of this CreateLoadBalancerDetails.
|
360
|
+
:type: bool
|
361
|
+
"""
|
362
|
+
self._is_private = is_private
|
363
|
+
|
364
|
+
@property
|
365
|
+
def is_delete_protection_enabled(self):
|
366
|
+
"""
|
367
|
+
Gets the is_delete_protection_enabled of this CreateLoadBalancerDetails.
|
368
|
+
Whether or not the load balancer has delete protection enabled.
|
369
|
+
|
370
|
+
If \"true\", the loadbalancer will be protected against deletion if configured to accept traffic.
|
371
|
+
|
372
|
+
If \"false\", the loadbalancer will not be protected against deletion.
|
373
|
+
|
374
|
+
Delete protection will not be enabled unless a value of \"true\" is provided.
|
375
|
+
Example: `true`
|
376
|
+
|
377
|
+
|
378
|
+
:return: The is_delete_protection_enabled of this CreateLoadBalancerDetails.
|
379
|
+
:rtype: bool
|
380
|
+
"""
|
381
|
+
return self._is_delete_protection_enabled
|
382
|
+
|
383
|
+
@is_delete_protection_enabled.setter
|
384
|
+
def is_delete_protection_enabled(self, is_delete_protection_enabled):
|
385
|
+
"""
|
386
|
+
Sets the is_delete_protection_enabled of this CreateLoadBalancerDetails.
|
387
|
+
Whether or not the load balancer has delete protection enabled.
|
388
|
+
|
389
|
+
If \"true\", the loadbalancer will be protected against deletion if configured to accept traffic.
|
390
|
+
|
391
|
+
If \"false\", the loadbalancer will not be protected against deletion.
|
392
|
+
|
393
|
+
Delete protection will not be enabled unless a value of \"true\" is provided.
|
394
|
+
Example: `true`
|
395
|
+
|
396
|
+
|
397
|
+
:param is_delete_protection_enabled: The is_delete_protection_enabled of this CreateLoadBalancerDetails.
|
398
|
+
:type: bool
|
399
|
+
"""
|
400
|
+
self._is_delete_protection_enabled = is_delete_protection_enabled
|
401
|
+
|
402
|
+
@property
|
403
|
+
def ip_mode(self):
|
404
|
+
"""
|
405
|
+
Gets the ip_mode of this CreateLoadBalancerDetails.
|
406
|
+
Whether the load balancer has an IPv4 or IPv6 IP address.
|
407
|
+
|
408
|
+
If \"IPV4\", the service assigns an IPv4 address and the load balancer supports IPv4 traffic.
|
409
|
+
|
410
|
+
If \"IPV6\", the service assigns an IPv6 address and the load balancer supports IPv6 traffic.
|
411
|
+
|
412
|
+
Example: \"ipMode\":\"IPV6\"
|
413
|
+
|
414
|
+
Allowed values for this property are: "IPV4", "IPV6"
|
415
|
+
|
416
|
+
|
417
|
+
:return: The ip_mode of this CreateLoadBalancerDetails.
|
418
|
+
:rtype: str
|
419
|
+
"""
|
420
|
+
return self._ip_mode
|
421
|
+
|
422
|
+
@ip_mode.setter
|
423
|
+
def ip_mode(self, ip_mode):
|
424
|
+
"""
|
425
|
+
Sets the ip_mode of this CreateLoadBalancerDetails.
|
426
|
+
Whether the load balancer has an IPv4 or IPv6 IP address.
|
427
|
+
|
428
|
+
If \"IPV4\", the service assigns an IPv4 address and the load balancer supports IPv4 traffic.
|
429
|
+
|
430
|
+
If \"IPV6\", the service assigns an IPv6 address and the load balancer supports IPv6 traffic.
|
431
|
+
|
432
|
+
Example: \"ipMode\":\"IPV6\"
|
433
|
+
|
434
|
+
|
435
|
+
:param ip_mode: The ip_mode of this CreateLoadBalancerDetails.
|
436
|
+
:type: str
|
437
|
+
"""
|
438
|
+
allowed_values = ["IPV4", "IPV6"]
|
439
|
+
if not value_allowed_none_or_none_sentinel(ip_mode, allowed_values):
|
440
|
+
raise ValueError(
|
441
|
+
f"Invalid value for `ip_mode`, must be None or one of {allowed_values}"
|
442
|
+
)
|
443
|
+
self._ip_mode = ip_mode
|
444
|
+
|
445
|
+
@property
|
446
|
+
def is_request_id_enabled(self):
|
447
|
+
"""
|
448
|
+
Gets the is_request_id_enabled of this CreateLoadBalancerDetails.
|
449
|
+
Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.
|
450
|
+
|
451
|
+
If \"true\", the load balancer will attach a unique request id header to every request
|
452
|
+
passed through from the load balancer to load balancer backends. This same request id
|
453
|
+
header also will be added to the response the lb received from the backend handling
|
454
|
+
the request before the load balancer returns the response to the requestor. The name
|
455
|
+
of the unique request id header is set the by value of requestIdHeader.
|
456
|
+
|
457
|
+
If \"false\", the loadbalancer not add this unique request id header to either the request
|
458
|
+
passed through to the load balancer backends nor to the reponse returned to the user.
|
459
|
+
|
460
|
+
New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true.
|
461
|
+
|
462
|
+
Example: `true`
|
463
|
+
|
464
|
+
|
465
|
+
:return: The is_request_id_enabled of this CreateLoadBalancerDetails.
|
466
|
+
:rtype: bool
|
467
|
+
"""
|
468
|
+
return self._is_request_id_enabled
|
469
|
+
|
470
|
+
@is_request_id_enabled.setter
|
471
|
+
def is_request_id_enabled(self, is_request_id_enabled):
|
472
|
+
"""
|
473
|
+
Sets the is_request_id_enabled of this CreateLoadBalancerDetails.
|
474
|
+
Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.
|
475
|
+
|
476
|
+
If \"true\", the load balancer will attach a unique request id header to every request
|
477
|
+
passed through from the load balancer to load balancer backends. This same request id
|
478
|
+
header also will be added to the response the lb received from the backend handling
|
479
|
+
the request before the load balancer returns the response to the requestor. The name
|
480
|
+
of the unique request id header is set the by value of requestIdHeader.
|
481
|
+
|
482
|
+
If \"false\", the loadbalancer not add this unique request id header to either the request
|
483
|
+
passed through to the load balancer backends nor to the reponse returned to the user.
|
484
|
+
|
485
|
+
New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true.
|
486
|
+
|
487
|
+
Example: `true`
|
488
|
+
|
489
|
+
|
490
|
+
:param is_request_id_enabled: The is_request_id_enabled of this CreateLoadBalancerDetails.
|
491
|
+
:type: bool
|
492
|
+
"""
|
493
|
+
self._is_request_id_enabled = is_request_id_enabled
|
494
|
+
|
495
|
+
@property
|
496
|
+
def request_id_header(self):
|
497
|
+
"""
|
498
|
+
Gets the request_id_header of this CreateLoadBalancerDetails.
|
499
|
+
If isRequestIdEnabled is true then this field contains the name of the header field
|
500
|
+
that contains the unique request id that is attached to every request from
|
501
|
+
the load balancer to the load balancer backends and to every response from the load
|
502
|
+
balancer.
|
503
|
+
|
504
|
+
If a request to the load balancer already contains a header with same name as specified
|
505
|
+
in requestIdHeader then the load balancer will not change the value of that field.
|
506
|
+
|
507
|
+
If isRequestIdEnabled is false then this field is ignored.
|
508
|
+
|
509
|
+
If this field is not set or is set to \"\" then this field defaults to X-Request-Id
|
510
|
+
|
511
|
+
**Notes:**
|
512
|
+
* Unless the header name is \"\" it must start with \"X-\" prefix.
|
513
|
+
* Setting the header name to \"\" will set it to the default: X-Request-Id.
|
514
|
+
|
515
|
+
|
516
|
+
:return: The request_id_header of this CreateLoadBalancerDetails.
|
517
|
+
:rtype: str
|
518
|
+
"""
|
519
|
+
return self._request_id_header
|
520
|
+
|
521
|
+
@request_id_header.setter
|
522
|
+
def request_id_header(self, request_id_header):
|
523
|
+
"""
|
524
|
+
Sets the request_id_header of this CreateLoadBalancerDetails.
|
525
|
+
If isRequestIdEnabled is true then this field contains the name of the header field
|
526
|
+
that contains the unique request id that is attached to every request from
|
527
|
+
the load balancer to the load balancer backends and to every response from the load
|
528
|
+
balancer.
|
529
|
+
|
530
|
+
If a request to the load balancer already contains a header with same name as specified
|
531
|
+
in requestIdHeader then the load balancer will not change the value of that field.
|
532
|
+
|
533
|
+
If isRequestIdEnabled is false then this field is ignored.
|
534
|
+
|
535
|
+
If this field is not set or is set to \"\" then this field defaults to X-Request-Id
|
536
|
+
|
537
|
+
**Notes:**
|
538
|
+
* Unless the header name is \"\" it must start with \"X-\" prefix.
|
539
|
+
* Setting the header name to \"\" will set it to the default: X-Request-Id.
|
540
|
+
|
541
|
+
|
542
|
+
:param request_id_header: The request_id_header of this CreateLoadBalancerDetails.
|
543
|
+
:type: str
|
544
|
+
"""
|
545
|
+
self._request_id_header = request_id_header
|
546
|
+
|
547
|
+
@property
|
548
|
+
def reserved_ips(self):
|
549
|
+
"""
|
550
|
+
Gets the reserved_ips of this CreateLoadBalancerDetails.
|
551
|
+
An array of reserved Ips.
|
552
|
+
|
553
|
+
|
554
|
+
:return: The reserved_ips of this CreateLoadBalancerDetails.
|
555
|
+
:rtype: list[oci.load_balancer.models.ReservedIP]
|
556
|
+
"""
|
557
|
+
return self._reserved_ips
|
558
|
+
|
559
|
+
@reserved_ips.setter
|
560
|
+
def reserved_ips(self, reserved_ips):
|
561
|
+
"""
|
562
|
+
Sets the reserved_ips of this CreateLoadBalancerDetails.
|
563
|
+
An array of reserved Ips.
|
564
|
+
|
565
|
+
|
566
|
+
:param reserved_ips: The reserved_ips of this CreateLoadBalancerDetails.
|
567
|
+
:type: list[oci.load_balancer.models.ReservedIP]
|
568
|
+
"""
|
569
|
+
self._reserved_ips = reserved_ips
|
570
|
+
|
571
|
+
@property
|
572
|
+
def listeners(self):
|
573
|
+
"""
|
574
|
+
Gets the listeners of this CreateLoadBalancerDetails.
|
575
|
+
|
576
|
+
:return: The listeners of this CreateLoadBalancerDetails.
|
577
|
+
:rtype: dict(str, ListenerDetails)
|
578
|
+
"""
|
579
|
+
return self._listeners
|
580
|
+
|
581
|
+
@listeners.setter
|
582
|
+
def listeners(self, listeners):
|
583
|
+
"""
|
584
|
+
Sets the listeners of this CreateLoadBalancerDetails.
|
585
|
+
|
586
|
+
:param listeners: The listeners of this CreateLoadBalancerDetails.
|
587
|
+
:type: dict(str, ListenerDetails)
|
588
|
+
"""
|
589
|
+
self._listeners = listeners
|
590
|
+
|
591
|
+
@property
|
592
|
+
def hostnames(self):
|
593
|
+
"""
|
594
|
+
Gets the hostnames of this CreateLoadBalancerDetails.
|
595
|
+
|
596
|
+
:return: The hostnames of this CreateLoadBalancerDetails.
|
597
|
+
:rtype: dict(str, HostnameDetails)
|
598
|
+
"""
|
599
|
+
return self._hostnames
|
600
|
+
|
601
|
+
@hostnames.setter
|
602
|
+
def hostnames(self, hostnames):
|
603
|
+
"""
|
604
|
+
Sets the hostnames of this CreateLoadBalancerDetails.
|
605
|
+
|
606
|
+
:param hostnames: The hostnames of this CreateLoadBalancerDetails.
|
607
|
+
:type: dict(str, HostnameDetails)
|
608
|
+
"""
|
609
|
+
self._hostnames = hostnames
|
610
|
+
|
611
|
+
@property
|
612
|
+
def backend_sets(self):
|
613
|
+
"""
|
614
|
+
Gets the backend_sets of this CreateLoadBalancerDetails.
|
615
|
+
|
616
|
+
:return: The backend_sets of this CreateLoadBalancerDetails.
|
617
|
+
:rtype: dict(str, BackendSetDetails)
|
618
|
+
"""
|
619
|
+
return self._backend_sets
|
620
|
+
|
621
|
+
@backend_sets.setter
|
622
|
+
def backend_sets(self, backend_sets):
|
623
|
+
"""
|
624
|
+
Sets the backend_sets of this CreateLoadBalancerDetails.
|
625
|
+
|
626
|
+
:param backend_sets: The backend_sets of this CreateLoadBalancerDetails.
|
627
|
+
:type: dict(str, BackendSetDetails)
|
628
|
+
"""
|
629
|
+
self._backend_sets = backend_sets
|
630
|
+
|
631
|
+
@property
|
632
|
+
def network_security_group_ids(self):
|
633
|
+
"""
|
634
|
+
Gets the network_security_group_ids of this CreateLoadBalancerDetails.
|
635
|
+
An array of NSG `OCIDs`__ associated with this load balancer.
|
636
|
+
|
637
|
+
During the load balancer's creation, the service adds the new load balancer to the specified NSGs.
|
638
|
+
|
639
|
+
The benefits of using NSGs with the load balancer include:
|
640
|
+
|
641
|
+
* NSGs define network security rules to govern ingress and egress traffic for the load balancer.
|
642
|
+
|
643
|
+
* The network security rules of other resources can reference the NSGs associated with the load balancer
|
644
|
+
to ensure access.
|
645
|
+
|
646
|
+
Example: `[\"ocid1.nsg.oc1.phx.unique_ID\"]`
|
647
|
+
|
648
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
649
|
+
|
650
|
+
|
651
|
+
:return: The network_security_group_ids of this CreateLoadBalancerDetails.
|
652
|
+
:rtype: list[str]
|
653
|
+
"""
|
654
|
+
return self._network_security_group_ids
|
655
|
+
|
656
|
+
@network_security_group_ids.setter
|
657
|
+
def network_security_group_ids(self, network_security_group_ids):
|
658
|
+
"""
|
659
|
+
Sets the network_security_group_ids of this CreateLoadBalancerDetails.
|
660
|
+
An array of NSG `OCIDs`__ associated with this load balancer.
|
661
|
+
|
662
|
+
During the load balancer's creation, the service adds the new load balancer to the specified NSGs.
|
663
|
+
|
664
|
+
The benefits of using NSGs with the load balancer include:
|
665
|
+
|
666
|
+
* NSGs define network security rules to govern ingress and egress traffic for the load balancer.
|
667
|
+
|
668
|
+
* The network security rules of other resources can reference the NSGs associated with the load balancer
|
669
|
+
to ensure access.
|
670
|
+
|
671
|
+
Example: `[\"ocid1.nsg.oc1.phx.unique_ID\"]`
|
672
|
+
|
673
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
674
|
+
|
675
|
+
|
676
|
+
:param network_security_group_ids: The network_security_group_ids of this CreateLoadBalancerDetails.
|
677
|
+
:type: list[str]
|
678
|
+
"""
|
679
|
+
self._network_security_group_ids = network_security_group_ids
|
680
|
+
|
681
|
+
@property
|
682
|
+
def subnet_ids(self):
|
683
|
+
"""
|
684
|
+
**[Required]** Gets the subnet_ids of this CreateLoadBalancerDetails.
|
685
|
+
An array of subnet `OCIDs`__.
|
686
|
+
|
687
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
688
|
+
|
689
|
+
|
690
|
+
:return: The subnet_ids of this CreateLoadBalancerDetails.
|
691
|
+
:rtype: list[str]
|
692
|
+
"""
|
693
|
+
return self._subnet_ids
|
694
|
+
|
695
|
+
@subnet_ids.setter
|
696
|
+
def subnet_ids(self, subnet_ids):
|
697
|
+
"""
|
698
|
+
Sets the subnet_ids of this CreateLoadBalancerDetails.
|
699
|
+
An array of subnet `OCIDs`__.
|
700
|
+
|
701
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
702
|
+
|
703
|
+
|
704
|
+
:param subnet_ids: The subnet_ids of this CreateLoadBalancerDetails.
|
705
|
+
:type: list[str]
|
706
|
+
"""
|
707
|
+
self._subnet_ids = subnet_ids
|
708
|
+
|
709
|
+
@property
|
710
|
+
def certificates(self):
|
711
|
+
"""
|
712
|
+
Gets the certificates of this CreateLoadBalancerDetails.
|
713
|
+
|
714
|
+
:return: The certificates of this CreateLoadBalancerDetails.
|
715
|
+
:rtype: dict(str, CertificateDetails)
|
716
|
+
"""
|
717
|
+
return self._certificates
|
718
|
+
|
719
|
+
@certificates.setter
|
720
|
+
def certificates(self, certificates):
|
721
|
+
"""
|
722
|
+
Sets the certificates of this CreateLoadBalancerDetails.
|
723
|
+
|
724
|
+
:param certificates: The certificates of this CreateLoadBalancerDetails.
|
725
|
+
:type: dict(str, CertificateDetails)
|
726
|
+
"""
|
727
|
+
self._certificates = certificates
|
728
|
+
|
729
|
+
@property
|
730
|
+
def ssl_cipher_suites(self):
|
731
|
+
"""
|
732
|
+
Gets the ssl_cipher_suites of this CreateLoadBalancerDetails.
|
733
|
+
|
734
|
+
:return: The ssl_cipher_suites of this CreateLoadBalancerDetails.
|
735
|
+
:rtype: dict(str, SSLCipherSuiteDetails)
|
736
|
+
"""
|
737
|
+
return self._ssl_cipher_suites
|
738
|
+
|
739
|
+
@ssl_cipher_suites.setter
|
740
|
+
def ssl_cipher_suites(self, ssl_cipher_suites):
|
741
|
+
"""
|
742
|
+
Sets the ssl_cipher_suites of this CreateLoadBalancerDetails.
|
743
|
+
|
744
|
+
:param ssl_cipher_suites: The ssl_cipher_suites of this CreateLoadBalancerDetails.
|
745
|
+
:type: dict(str, SSLCipherSuiteDetails)
|
746
|
+
"""
|
747
|
+
self._ssl_cipher_suites = ssl_cipher_suites
|
748
|
+
|
749
|
+
@property
|
750
|
+
def path_route_sets(self):
|
751
|
+
"""
|
752
|
+
Gets the path_route_sets of this CreateLoadBalancerDetails.
|
753
|
+
|
754
|
+
:return: The path_route_sets of this CreateLoadBalancerDetails.
|
755
|
+
:rtype: dict(str, PathRouteSetDetails)
|
756
|
+
"""
|
757
|
+
return self._path_route_sets
|
758
|
+
|
759
|
+
@path_route_sets.setter
|
760
|
+
def path_route_sets(self, path_route_sets):
|
761
|
+
"""
|
762
|
+
Sets the path_route_sets of this CreateLoadBalancerDetails.
|
763
|
+
|
764
|
+
:param path_route_sets: The path_route_sets of this CreateLoadBalancerDetails.
|
765
|
+
:type: dict(str, PathRouteSetDetails)
|
766
|
+
"""
|
767
|
+
self._path_route_sets = path_route_sets
|
768
|
+
|
769
|
+
@property
|
770
|
+
def freeform_tags(self):
|
771
|
+
"""
|
772
|
+
Gets the freeform_tags of this CreateLoadBalancerDetails.
|
773
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
774
|
+
For more information, see `Resource Tags`__.
|
775
|
+
|
776
|
+
Example: `{\"Department\": \"Finance\"}`
|
777
|
+
|
778
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
779
|
+
|
780
|
+
|
781
|
+
:return: The freeform_tags of this CreateLoadBalancerDetails.
|
782
|
+
:rtype: dict(str, str)
|
783
|
+
"""
|
784
|
+
return self._freeform_tags
|
785
|
+
|
786
|
+
@freeform_tags.setter
|
787
|
+
def freeform_tags(self, freeform_tags):
|
788
|
+
"""
|
789
|
+
Sets the freeform_tags of this CreateLoadBalancerDetails.
|
790
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
791
|
+
For more information, see `Resource Tags`__.
|
792
|
+
|
793
|
+
Example: `{\"Department\": \"Finance\"}`
|
794
|
+
|
795
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
796
|
+
|
797
|
+
|
798
|
+
:param freeform_tags: The freeform_tags of this CreateLoadBalancerDetails.
|
799
|
+
:type: dict(str, str)
|
800
|
+
"""
|
801
|
+
self._freeform_tags = freeform_tags
|
802
|
+
|
803
|
+
@property
|
804
|
+
def defined_tags(self):
|
805
|
+
"""
|
806
|
+
Gets the defined_tags of this CreateLoadBalancerDetails.
|
807
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
808
|
+
For more information, see `Resource Tags`__.
|
809
|
+
|
810
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
811
|
+
|
812
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
813
|
+
|
814
|
+
|
815
|
+
:return: The defined_tags of this CreateLoadBalancerDetails.
|
816
|
+
:rtype: dict(str, dict(str, object))
|
817
|
+
"""
|
818
|
+
return self._defined_tags
|
819
|
+
|
820
|
+
@defined_tags.setter
|
821
|
+
def defined_tags(self, defined_tags):
|
822
|
+
"""
|
823
|
+
Sets the defined_tags of this CreateLoadBalancerDetails.
|
824
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
825
|
+
For more information, see `Resource Tags`__.
|
826
|
+
|
827
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
828
|
+
|
829
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
830
|
+
|
831
|
+
|
832
|
+
:param defined_tags: The defined_tags of this CreateLoadBalancerDetails.
|
833
|
+
:type: dict(str, dict(str, object))
|
834
|
+
"""
|
835
|
+
self._defined_tags = defined_tags
|
836
|
+
|
837
|
+
@property
|
838
|
+
def zpr_tags(self):
|
839
|
+
"""
|
840
|
+
Gets the zpr_tags of this CreateLoadBalancerDetails.
|
841
|
+
Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace.
|
842
|
+
|
843
|
+
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\", \"usagetype\" : \"zpr\"}}}`
|
844
|
+
|
845
|
+
|
846
|
+
:return: The zpr_tags of this CreateLoadBalancerDetails.
|
847
|
+
:rtype: dict(str, dict(str, object))
|
848
|
+
"""
|
849
|
+
return self._zpr_tags
|
850
|
+
|
851
|
+
@zpr_tags.setter
|
852
|
+
def zpr_tags(self, zpr_tags):
|
853
|
+
"""
|
854
|
+
Sets the zpr_tags of this CreateLoadBalancerDetails.
|
855
|
+
Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace.
|
856
|
+
|
857
|
+
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\", \"usagetype\" : \"zpr\"}}}`
|
858
|
+
|
859
|
+
|
860
|
+
:param zpr_tags: The zpr_tags of this CreateLoadBalancerDetails.
|
861
|
+
:type: dict(str, dict(str, object))
|
862
|
+
"""
|
863
|
+
self._zpr_tags = zpr_tags
|
864
|
+
|
865
|
+
@property
|
866
|
+
def rule_sets(self):
|
867
|
+
"""
|
868
|
+
Gets the rule_sets of this CreateLoadBalancerDetails.
|
869
|
+
|
870
|
+
:return: The rule_sets of this CreateLoadBalancerDetails.
|
871
|
+
:rtype: dict(str, RuleSetDetails)
|
872
|
+
"""
|
873
|
+
return self._rule_sets
|
874
|
+
|
875
|
+
@rule_sets.setter
|
876
|
+
def rule_sets(self, rule_sets):
|
877
|
+
"""
|
878
|
+
Sets the rule_sets of this CreateLoadBalancerDetails.
|
879
|
+
|
880
|
+
:param rule_sets: The rule_sets of this CreateLoadBalancerDetails.
|
881
|
+
:type: dict(str, RuleSetDetails)
|
882
|
+
"""
|
883
|
+
self._rule_sets = rule_sets
|
884
|
+
|
885
|
+
def __repr__(self):
|
886
|
+
return formatted_flat_dict(self)
|
887
|
+
|
888
|
+
def __eq__(self, other):
|
889
|
+
if other is None:
|
890
|
+
return False
|
891
|
+
|
892
|
+
return self.__dict__ == other.__dict__
|
893
|
+
|
894
|
+
def __ne__(self, other):
|
895
|
+
return not self == other
|