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