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,242 @@
|
|
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 UpdateBackendDetails(object):
|
14
|
+
"""
|
15
|
+
The configuration details for updating a backend server.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new UpdateBackendDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param weight:
|
24
|
+
The value to assign to the weight property of this UpdateBackendDetails.
|
25
|
+
:type weight: int
|
26
|
+
|
27
|
+
:param max_connections:
|
28
|
+
The value to assign to the max_connections property of this UpdateBackendDetails.
|
29
|
+
:type max_connections: int
|
30
|
+
|
31
|
+
:param backup:
|
32
|
+
The value to assign to the backup property of this UpdateBackendDetails.
|
33
|
+
:type backup: bool
|
34
|
+
|
35
|
+
:param drain:
|
36
|
+
The value to assign to the drain property of this UpdateBackendDetails.
|
37
|
+
:type drain: bool
|
38
|
+
|
39
|
+
:param offline:
|
40
|
+
The value to assign to the offline property of this UpdateBackendDetails.
|
41
|
+
:type offline: bool
|
42
|
+
|
43
|
+
"""
|
44
|
+
self.swagger_types = {
|
45
|
+
'weight': 'int',
|
46
|
+
'max_connections': 'int',
|
47
|
+
'backup': 'bool',
|
48
|
+
'drain': 'bool',
|
49
|
+
'offline': 'bool'
|
50
|
+
}
|
51
|
+
|
52
|
+
self.attribute_map = {
|
53
|
+
'weight': 'weight',
|
54
|
+
'max_connections': 'maxConnections',
|
55
|
+
'backup': 'backup',
|
56
|
+
'drain': 'drain',
|
57
|
+
'offline': 'offline'
|
58
|
+
}
|
59
|
+
|
60
|
+
self._weight = None
|
61
|
+
self._max_connections = None
|
62
|
+
self._backup = None
|
63
|
+
self._drain = None
|
64
|
+
self._offline = None
|
65
|
+
|
66
|
+
@property
|
67
|
+
def weight(self):
|
68
|
+
"""
|
69
|
+
**[Required]** Gets the weight of this UpdateBackendDetails.
|
70
|
+
The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
|
71
|
+
proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections
|
72
|
+
as a server weighted '1'.
|
73
|
+
For more information on load balancing policies, see
|
74
|
+
`How Load Balancing Policies Work`__.
|
75
|
+
|
76
|
+
Example: `3`
|
77
|
+
|
78
|
+
__ https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm
|
79
|
+
|
80
|
+
|
81
|
+
:return: The weight of this UpdateBackendDetails.
|
82
|
+
:rtype: int
|
83
|
+
"""
|
84
|
+
return self._weight
|
85
|
+
|
86
|
+
@weight.setter
|
87
|
+
def weight(self, weight):
|
88
|
+
"""
|
89
|
+
Sets the weight of this UpdateBackendDetails.
|
90
|
+
The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
|
91
|
+
proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections
|
92
|
+
as a server weighted '1'.
|
93
|
+
For more information on load balancing policies, see
|
94
|
+
`How Load Balancing Policies Work`__.
|
95
|
+
|
96
|
+
Example: `3`
|
97
|
+
|
98
|
+
__ https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm
|
99
|
+
|
100
|
+
|
101
|
+
:param weight: The weight of this UpdateBackendDetails.
|
102
|
+
:type: int
|
103
|
+
"""
|
104
|
+
self._weight = weight
|
105
|
+
|
106
|
+
@property
|
107
|
+
def max_connections(self):
|
108
|
+
"""
|
109
|
+
Gets the max_connections of this UpdateBackendDetails.
|
110
|
+
The maximum number of simultaneous connections the load balancer can make to the backend.
|
111
|
+
If this is not set then the maximum number of simultaneous connections the load balancer
|
112
|
+
can make to the backend is unlimited.
|
113
|
+
|
114
|
+
Example: `300`
|
115
|
+
|
116
|
+
|
117
|
+
:return: The max_connections of this UpdateBackendDetails.
|
118
|
+
:rtype: int
|
119
|
+
"""
|
120
|
+
return self._max_connections
|
121
|
+
|
122
|
+
@max_connections.setter
|
123
|
+
def max_connections(self, max_connections):
|
124
|
+
"""
|
125
|
+
Sets the max_connections of this UpdateBackendDetails.
|
126
|
+
The maximum number of simultaneous connections the load balancer can make to the backend.
|
127
|
+
If this is not set then the maximum number of simultaneous connections the load balancer
|
128
|
+
can make to the backend is unlimited.
|
129
|
+
|
130
|
+
Example: `300`
|
131
|
+
|
132
|
+
|
133
|
+
:param max_connections: The max_connections of this UpdateBackendDetails.
|
134
|
+
:type: int
|
135
|
+
"""
|
136
|
+
self._max_connections = max_connections
|
137
|
+
|
138
|
+
@property
|
139
|
+
def backup(self):
|
140
|
+
"""
|
141
|
+
**[Required]** Gets the backup of this UpdateBackendDetails.
|
142
|
+
Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress
|
143
|
+
traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy.
|
144
|
+
|
145
|
+
**Note:** You cannot add a backend server marked as `backup` to a backend set that uses the IP Hash policy.
|
146
|
+
|
147
|
+
Example: `false`
|
148
|
+
|
149
|
+
|
150
|
+
:return: The backup of this UpdateBackendDetails.
|
151
|
+
:rtype: bool
|
152
|
+
"""
|
153
|
+
return self._backup
|
154
|
+
|
155
|
+
@backup.setter
|
156
|
+
def backup(self, backup):
|
157
|
+
"""
|
158
|
+
Sets the backup of this UpdateBackendDetails.
|
159
|
+
Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress
|
160
|
+
traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy.
|
161
|
+
|
162
|
+
**Note:** You cannot add a backend server marked as `backup` to a backend set that uses the IP Hash policy.
|
163
|
+
|
164
|
+
Example: `false`
|
165
|
+
|
166
|
+
|
167
|
+
:param backup: The backup of this UpdateBackendDetails.
|
168
|
+
:type: bool
|
169
|
+
"""
|
170
|
+
self._backup = backup
|
171
|
+
|
172
|
+
@property
|
173
|
+
def drain(self):
|
174
|
+
"""
|
175
|
+
**[Required]** Gets the drain of this UpdateBackendDetails.
|
176
|
+
Whether the load balancer should drain this server. Servers marked \"drain\" receive no new
|
177
|
+
incoming traffic.
|
178
|
+
|
179
|
+
Example: `false`
|
180
|
+
|
181
|
+
|
182
|
+
:return: The drain of this UpdateBackendDetails.
|
183
|
+
:rtype: bool
|
184
|
+
"""
|
185
|
+
return self._drain
|
186
|
+
|
187
|
+
@drain.setter
|
188
|
+
def drain(self, drain):
|
189
|
+
"""
|
190
|
+
Sets the drain of this UpdateBackendDetails.
|
191
|
+
Whether the load balancer should drain this server. Servers marked \"drain\" receive no new
|
192
|
+
incoming traffic.
|
193
|
+
|
194
|
+
Example: `false`
|
195
|
+
|
196
|
+
|
197
|
+
:param drain: The drain of this UpdateBackendDetails.
|
198
|
+
:type: bool
|
199
|
+
"""
|
200
|
+
self._drain = drain
|
201
|
+
|
202
|
+
@property
|
203
|
+
def offline(self):
|
204
|
+
"""
|
205
|
+
**[Required]** Gets the offline of this UpdateBackendDetails.
|
206
|
+
Whether the load balancer should treat this server as offline. Offline servers receive no incoming
|
207
|
+
traffic.
|
208
|
+
|
209
|
+
Example: `false`
|
210
|
+
|
211
|
+
|
212
|
+
:return: The offline of this UpdateBackendDetails.
|
213
|
+
:rtype: bool
|
214
|
+
"""
|
215
|
+
return self._offline
|
216
|
+
|
217
|
+
@offline.setter
|
218
|
+
def offline(self, offline):
|
219
|
+
"""
|
220
|
+
Sets the offline of this UpdateBackendDetails.
|
221
|
+
Whether the load balancer should treat this server as offline. Offline servers receive no incoming
|
222
|
+
traffic.
|
223
|
+
|
224
|
+
Example: `false`
|
225
|
+
|
226
|
+
|
227
|
+
:param offline: The offline of this UpdateBackendDetails.
|
228
|
+
:type: bool
|
229
|
+
"""
|
230
|
+
self._offline = offline
|
231
|
+
|
232
|
+
def __repr__(self):
|
233
|
+
return formatted_flat_dict(self)
|
234
|
+
|
235
|
+
def __eq__(self, other):
|
236
|
+
if other is None:
|
237
|
+
return False
|
238
|
+
|
239
|
+
return self.__dict__ == other.__dict__
|
240
|
+
|
241
|
+
def __ne__(self, other):
|
242
|
+
return not self == other
|
@@ -0,0 +1,264 @@
|
|
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 UpdateBackendSetDetails(object):
|
14
|
+
"""
|
15
|
+
The configuration details for updating a load balancer backend set.
|
16
|
+
For more information on backend set configuration, see
|
17
|
+
`Managing Backend Sets`__.
|
18
|
+
|
19
|
+
**Note:** The `sessionPersistenceConfiguration` (application cookie stickiness) and `lbCookieSessionPersistenceConfiguration`
|
20
|
+
(LB cookie stickiness) attributes are mutually exclusive. To avoid returning an error, configure only one of these two
|
21
|
+
attributes per backend set.
|
22
|
+
|
23
|
+
**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
24
|
+
|
25
|
+
__ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm
|
26
|
+
"""
|
27
|
+
|
28
|
+
def __init__(self, **kwargs):
|
29
|
+
"""
|
30
|
+
Initializes a new UpdateBackendSetDetails object with values from keyword arguments.
|
31
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
32
|
+
|
33
|
+
:param policy:
|
34
|
+
The value to assign to the policy property of this UpdateBackendSetDetails.
|
35
|
+
:type policy: str
|
36
|
+
|
37
|
+
:param backends:
|
38
|
+
The value to assign to the backends property of this UpdateBackendSetDetails.
|
39
|
+
:type backends: list[oci.load_balancer.models.BackendDetails]
|
40
|
+
|
41
|
+
:param backend_max_connections:
|
42
|
+
The value to assign to the backend_max_connections property of this UpdateBackendSetDetails.
|
43
|
+
:type backend_max_connections: int
|
44
|
+
|
45
|
+
:param health_checker:
|
46
|
+
The value to assign to the health_checker property of this UpdateBackendSetDetails.
|
47
|
+
:type health_checker: oci.load_balancer.models.HealthCheckerDetails
|
48
|
+
|
49
|
+
:param ssl_configuration:
|
50
|
+
The value to assign to the ssl_configuration property of this UpdateBackendSetDetails.
|
51
|
+
:type ssl_configuration: oci.load_balancer.models.SSLConfigurationDetails
|
52
|
+
|
53
|
+
:param session_persistence_configuration:
|
54
|
+
The value to assign to the session_persistence_configuration property of this UpdateBackendSetDetails.
|
55
|
+
:type session_persistence_configuration: oci.load_balancer.models.SessionPersistenceConfigurationDetails
|
56
|
+
|
57
|
+
:param lb_cookie_session_persistence_configuration:
|
58
|
+
The value to assign to the lb_cookie_session_persistence_configuration property of this UpdateBackendSetDetails.
|
59
|
+
:type lb_cookie_session_persistence_configuration: oci.load_balancer.models.LBCookieSessionPersistenceConfigurationDetails
|
60
|
+
|
61
|
+
"""
|
62
|
+
self.swagger_types = {
|
63
|
+
'policy': 'str',
|
64
|
+
'backends': 'list[BackendDetails]',
|
65
|
+
'backend_max_connections': 'int',
|
66
|
+
'health_checker': 'HealthCheckerDetails',
|
67
|
+
'ssl_configuration': 'SSLConfigurationDetails',
|
68
|
+
'session_persistence_configuration': 'SessionPersistenceConfigurationDetails',
|
69
|
+
'lb_cookie_session_persistence_configuration': 'LBCookieSessionPersistenceConfigurationDetails'
|
70
|
+
}
|
71
|
+
|
72
|
+
self.attribute_map = {
|
73
|
+
'policy': 'policy',
|
74
|
+
'backends': 'backends',
|
75
|
+
'backend_max_connections': 'backendMaxConnections',
|
76
|
+
'health_checker': 'healthChecker',
|
77
|
+
'ssl_configuration': 'sslConfiguration',
|
78
|
+
'session_persistence_configuration': 'sessionPersistenceConfiguration',
|
79
|
+
'lb_cookie_session_persistence_configuration': 'lbCookieSessionPersistenceConfiguration'
|
80
|
+
}
|
81
|
+
|
82
|
+
self._policy = None
|
83
|
+
self._backends = None
|
84
|
+
self._backend_max_connections = None
|
85
|
+
self._health_checker = None
|
86
|
+
self._ssl_configuration = None
|
87
|
+
self._session_persistence_configuration = None
|
88
|
+
self._lb_cookie_session_persistence_configuration = None
|
89
|
+
|
90
|
+
@property
|
91
|
+
def policy(self):
|
92
|
+
"""
|
93
|
+
**[Required]** Gets the policy of this UpdateBackendSetDetails.
|
94
|
+
The load balancer policy for the backend set. To get a list of available policies, use the
|
95
|
+
:func:`list_policies` operation.
|
96
|
+
|
97
|
+
Example: `LEAST_CONNECTIONS`
|
98
|
+
|
99
|
+
|
100
|
+
:return: The policy of this UpdateBackendSetDetails.
|
101
|
+
:rtype: str
|
102
|
+
"""
|
103
|
+
return self._policy
|
104
|
+
|
105
|
+
@policy.setter
|
106
|
+
def policy(self, policy):
|
107
|
+
"""
|
108
|
+
Sets the policy of this UpdateBackendSetDetails.
|
109
|
+
The load balancer policy for the backend set. To get a list of available policies, use the
|
110
|
+
:func:`list_policies` operation.
|
111
|
+
|
112
|
+
Example: `LEAST_CONNECTIONS`
|
113
|
+
|
114
|
+
|
115
|
+
:param policy: The policy of this UpdateBackendSetDetails.
|
116
|
+
:type: str
|
117
|
+
"""
|
118
|
+
self._policy = policy
|
119
|
+
|
120
|
+
@property
|
121
|
+
def backends(self):
|
122
|
+
"""
|
123
|
+
**[Required]** Gets the backends of this UpdateBackendSetDetails.
|
124
|
+
|
125
|
+
:return: The backends of this UpdateBackendSetDetails.
|
126
|
+
:rtype: list[oci.load_balancer.models.BackendDetails]
|
127
|
+
"""
|
128
|
+
return self._backends
|
129
|
+
|
130
|
+
@backends.setter
|
131
|
+
def backends(self, backends):
|
132
|
+
"""
|
133
|
+
Sets the backends of this UpdateBackendSetDetails.
|
134
|
+
|
135
|
+
:param backends: The backends of this UpdateBackendSetDetails.
|
136
|
+
:type: list[oci.load_balancer.models.BackendDetails]
|
137
|
+
"""
|
138
|
+
self._backends = backends
|
139
|
+
|
140
|
+
@property
|
141
|
+
def backend_max_connections(self):
|
142
|
+
"""
|
143
|
+
Gets the backend_max_connections of this UpdateBackendSetDetails.
|
144
|
+
The maximum number of simultaneous connections the load balancer can make to any backend
|
145
|
+
in the backend set unless the backend has its own maxConnections setting. If this is not
|
146
|
+
set then the number of simultaneous connections the load balancer can make to any backend
|
147
|
+
in the backend set unless the backend has its own maxConnections setting is unlimited.
|
148
|
+
|
149
|
+
Example: `300`
|
150
|
+
|
151
|
+
|
152
|
+
:return: The backend_max_connections of this UpdateBackendSetDetails.
|
153
|
+
:rtype: int
|
154
|
+
"""
|
155
|
+
return self._backend_max_connections
|
156
|
+
|
157
|
+
@backend_max_connections.setter
|
158
|
+
def backend_max_connections(self, backend_max_connections):
|
159
|
+
"""
|
160
|
+
Sets the backend_max_connections of this UpdateBackendSetDetails.
|
161
|
+
The maximum number of simultaneous connections the load balancer can make to any backend
|
162
|
+
in the backend set unless the backend has its own maxConnections setting. If this is not
|
163
|
+
set then the number of simultaneous connections the load balancer can make to any backend
|
164
|
+
in the backend set unless the backend has its own maxConnections setting is unlimited.
|
165
|
+
|
166
|
+
Example: `300`
|
167
|
+
|
168
|
+
|
169
|
+
:param backend_max_connections: The backend_max_connections of this UpdateBackendSetDetails.
|
170
|
+
:type: int
|
171
|
+
"""
|
172
|
+
self._backend_max_connections = backend_max_connections
|
173
|
+
|
174
|
+
@property
|
175
|
+
def health_checker(self):
|
176
|
+
"""
|
177
|
+
**[Required]** Gets the health_checker of this UpdateBackendSetDetails.
|
178
|
+
|
179
|
+
:return: The health_checker of this UpdateBackendSetDetails.
|
180
|
+
:rtype: oci.load_balancer.models.HealthCheckerDetails
|
181
|
+
"""
|
182
|
+
return self._health_checker
|
183
|
+
|
184
|
+
@health_checker.setter
|
185
|
+
def health_checker(self, health_checker):
|
186
|
+
"""
|
187
|
+
Sets the health_checker of this UpdateBackendSetDetails.
|
188
|
+
|
189
|
+
:param health_checker: The health_checker of this UpdateBackendSetDetails.
|
190
|
+
:type: oci.load_balancer.models.HealthCheckerDetails
|
191
|
+
"""
|
192
|
+
self._health_checker = health_checker
|
193
|
+
|
194
|
+
@property
|
195
|
+
def ssl_configuration(self):
|
196
|
+
"""
|
197
|
+
Gets the ssl_configuration of this UpdateBackendSetDetails.
|
198
|
+
|
199
|
+
:return: The ssl_configuration of this UpdateBackendSetDetails.
|
200
|
+
:rtype: oci.load_balancer.models.SSLConfigurationDetails
|
201
|
+
"""
|
202
|
+
return self._ssl_configuration
|
203
|
+
|
204
|
+
@ssl_configuration.setter
|
205
|
+
def ssl_configuration(self, ssl_configuration):
|
206
|
+
"""
|
207
|
+
Sets the ssl_configuration of this UpdateBackendSetDetails.
|
208
|
+
|
209
|
+
:param ssl_configuration: The ssl_configuration of this UpdateBackendSetDetails.
|
210
|
+
:type: oci.load_balancer.models.SSLConfigurationDetails
|
211
|
+
"""
|
212
|
+
self._ssl_configuration = ssl_configuration
|
213
|
+
|
214
|
+
@property
|
215
|
+
def session_persistence_configuration(self):
|
216
|
+
"""
|
217
|
+
Gets the session_persistence_configuration of this UpdateBackendSetDetails.
|
218
|
+
|
219
|
+
:return: The session_persistence_configuration of this UpdateBackendSetDetails.
|
220
|
+
:rtype: oci.load_balancer.models.SessionPersistenceConfigurationDetails
|
221
|
+
"""
|
222
|
+
return self._session_persistence_configuration
|
223
|
+
|
224
|
+
@session_persistence_configuration.setter
|
225
|
+
def session_persistence_configuration(self, session_persistence_configuration):
|
226
|
+
"""
|
227
|
+
Sets the session_persistence_configuration of this UpdateBackendSetDetails.
|
228
|
+
|
229
|
+
:param session_persistence_configuration: The session_persistence_configuration of this UpdateBackendSetDetails.
|
230
|
+
:type: oci.load_balancer.models.SessionPersistenceConfigurationDetails
|
231
|
+
"""
|
232
|
+
self._session_persistence_configuration = session_persistence_configuration
|
233
|
+
|
234
|
+
@property
|
235
|
+
def lb_cookie_session_persistence_configuration(self):
|
236
|
+
"""
|
237
|
+
Gets the lb_cookie_session_persistence_configuration of this UpdateBackendSetDetails.
|
238
|
+
|
239
|
+
:return: The lb_cookie_session_persistence_configuration of this UpdateBackendSetDetails.
|
240
|
+
:rtype: oci.load_balancer.models.LBCookieSessionPersistenceConfigurationDetails
|
241
|
+
"""
|
242
|
+
return self._lb_cookie_session_persistence_configuration
|
243
|
+
|
244
|
+
@lb_cookie_session_persistence_configuration.setter
|
245
|
+
def lb_cookie_session_persistence_configuration(self, lb_cookie_session_persistence_configuration):
|
246
|
+
"""
|
247
|
+
Sets the lb_cookie_session_persistence_configuration of this UpdateBackendSetDetails.
|
248
|
+
|
249
|
+
:param lb_cookie_session_persistence_configuration: The lb_cookie_session_persistence_configuration of this UpdateBackendSetDetails.
|
250
|
+
:type: oci.load_balancer.models.LBCookieSessionPersistenceConfigurationDetails
|
251
|
+
"""
|
252
|
+
self._lb_cookie_session_persistence_configuration = lb_cookie_session_persistence_configuration
|
253
|
+
|
254
|
+
def __repr__(self):
|
255
|
+
return formatted_flat_dict(self)
|
256
|
+
|
257
|
+
def __eq__(self, other):
|
258
|
+
if other is None:
|
259
|
+
return False
|
260
|
+
|
261
|
+
return self.__dict__ == other.__dict__
|
262
|
+
|
263
|
+
def __ne__(self, other):
|
264
|
+
return not self == other
|