mv-oci-sdk 2.142.0__py3-none-any.whl → 2.142.0.1__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.1.dist-info}/METADATA +3 -3
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/RECORD +197 -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/version.py +1 -1
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/LICENSE.txt +0 -0
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/WHEEL +0 -0
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,344 @@
|
|
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 UpdateListenerDetails(object):
|
14
|
+
"""
|
15
|
+
The configuration details for updating a listener.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new UpdateListenerDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param default_backend_set_name:
|
24
|
+
The value to assign to the default_backend_set_name property of this UpdateListenerDetails.
|
25
|
+
:type default_backend_set_name: str
|
26
|
+
|
27
|
+
:param port:
|
28
|
+
The value to assign to the port property of this UpdateListenerDetails.
|
29
|
+
:type port: int
|
30
|
+
|
31
|
+
:param protocol:
|
32
|
+
The value to assign to the protocol property of this UpdateListenerDetails.
|
33
|
+
:type protocol: str
|
34
|
+
|
35
|
+
:param hostname_names:
|
36
|
+
The value to assign to the hostname_names property of this UpdateListenerDetails.
|
37
|
+
:type hostname_names: list[str]
|
38
|
+
|
39
|
+
:param path_route_set_name:
|
40
|
+
The value to assign to the path_route_set_name property of this UpdateListenerDetails.
|
41
|
+
:type path_route_set_name: str
|
42
|
+
|
43
|
+
:param routing_policy_name:
|
44
|
+
The value to assign to the routing_policy_name property of this UpdateListenerDetails.
|
45
|
+
:type routing_policy_name: str
|
46
|
+
|
47
|
+
:param ssl_configuration:
|
48
|
+
The value to assign to the ssl_configuration property of this UpdateListenerDetails.
|
49
|
+
:type ssl_configuration: oci.load_balancer.models.SSLConfigurationDetails
|
50
|
+
|
51
|
+
:param connection_configuration:
|
52
|
+
The value to assign to the connection_configuration property of this UpdateListenerDetails.
|
53
|
+
:type connection_configuration: oci.load_balancer.models.ConnectionConfiguration
|
54
|
+
|
55
|
+
:param rule_set_names:
|
56
|
+
The value to assign to the rule_set_names property of this UpdateListenerDetails.
|
57
|
+
:type rule_set_names: list[str]
|
58
|
+
|
59
|
+
"""
|
60
|
+
self.swagger_types = {
|
61
|
+
'default_backend_set_name': 'str',
|
62
|
+
'port': 'int',
|
63
|
+
'protocol': 'str',
|
64
|
+
'hostname_names': 'list[str]',
|
65
|
+
'path_route_set_name': 'str',
|
66
|
+
'routing_policy_name': 'str',
|
67
|
+
'ssl_configuration': 'SSLConfigurationDetails',
|
68
|
+
'connection_configuration': 'ConnectionConfiguration',
|
69
|
+
'rule_set_names': 'list[str]'
|
70
|
+
}
|
71
|
+
|
72
|
+
self.attribute_map = {
|
73
|
+
'default_backend_set_name': 'defaultBackendSetName',
|
74
|
+
'port': 'port',
|
75
|
+
'protocol': 'protocol',
|
76
|
+
'hostname_names': 'hostnameNames',
|
77
|
+
'path_route_set_name': 'pathRouteSetName',
|
78
|
+
'routing_policy_name': 'routingPolicyName',
|
79
|
+
'ssl_configuration': 'sslConfiguration',
|
80
|
+
'connection_configuration': 'connectionConfiguration',
|
81
|
+
'rule_set_names': 'ruleSetNames'
|
82
|
+
}
|
83
|
+
|
84
|
+
self._default_backend_set_name = None
|
85
|
+
self._port = None
|
86
|
+
self._protocol = None
|
87
|
+
self._hostname_names = None
|
88
|
+
self._path_route_set_name = None
|
89
|
+
self._routing_policy_name = None
|
90
|
+
self._ssl_configuration = None
|
91
|
+
self._connection_configuration = None
|
92
|
+
self._rule_set_names = None
|
93
|
+
|
94
|
+
@property
|
95
|
+
def default_backend_set_name(self):
|
96
|
+
"""
|
97
|
+
**[Required]** Gets the default_backend_set_name of this UpdateListenerDetails.
|
98
|
+
The name of the associated backend set.
|
99
|
+
|
100
|
+
Example: `example_backend_set`
|
101
|
+
|
102
|
+
|
103
|
+
:return: The default_backend_set_name of this UpdateListenerDetails.
|
104
|
+
:rtype: str
|
105
|
+
"""
|
106
|
+
return self._default_backend_set_name
|
107
|
+
|
108
|
+
@default_backend_set_name.setter
|
109
|
+
def default_backend_set_name(self, default_backend_set_name):
|
110
|
+
"""
|
111
|
+
Sets the default_backend_set_name of this UpdateListenerDetails.
|
112
|
+
The name of the associated backend set.
|
113
|
+
|
114
|
+
Example: `example_backend_set`
|
115
|
+
|
116
|
+
|
117
|
+
:param default_backend_set_name: The default_backend_set_name of this UpdateListenerDetails.
|
118
|
+
:type: str
|
119
|
+
"""
|
120
|
+
self._default_backend_set_name = default_backend_set_name
|
121
|
+
|
122
|
+
@property
|
123
|
+
def port(self):
|
124
|
+
"""
|
125
|
+
**[Required]** Gets the port of this UpdateListenerDetails.
|
126
|
+
The communication port for the listener.
|
127
|
+
|
128
|
+
Example: `80`
|
129
|
+
|
130
|
+
|
131
|
+
:return: The port of this UpdateListenerDetails.
|
132
|
+
:rtype: int
|
133
|
+
"""
|
134
|
+
return self._port
|
135
|
+
|
136
|
+
@port.setter
|
137
|
+
def port(self, port):
|
138
|
+
"""
|
139
|
+
Sets the port of this UpdateListenerDetails.
|
140
|
+
The communication port for the listener.
|
141
|
+
|
142
|
+
Example: `80`
|
143
|
+
|
144
|
+
|
145
|
+
:param port: The port of this UpdateListenerDetails.
|
146
|
+
:type: int
|
147
|
+
"""
|
148
|
+
self._port = port
|
149
|
+
|
150
|
+
@property
|
151
|
+
def protocol(self):
|
152
|
+
"""
|
153
|
+
**[Required]** Gets the protocol of this UpdateListenerDetails.
|
154
|
+
The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC.
|
155
|
+
You can also use the :func:`list_protocols` operation to get a list of valid protocols.
|
156
|
+
|
157
|
+
Example: `HTTP`
|
158
|
+
|
159
|
+
|
160
|
+
:return: The protocol of this UpdateListenerDetails.
|
161
|
+
:rtype: str
|
162
|
+
"""
|
163
|
+
return self._protocol
|
164
|
+
|
165
|
+
@protocol.setter
|
166
|
+
def protocol(self, protocol):
|
167
|
+
"""
|
168
|
+
Sets the protocol of this UpdateListenerDetails.
|
169
|
+
The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC.
|
170
|
+
You can also use the :func:`list_protocols` operation to get a list of valid protocols.
|
171
|
+
|
172
|
+
Example: `HTTP`
|
173
|
+
|
174
|
+
|
175
|
+
:param protocol: The protocol of this UpdateListenerDetails.
|
176
|
+
:type: str
|
177
|
+
"""
|
178
|
+
self._protocol = protocol
|
179
|
+
|
180
|
+
@property
|
181
|
+
def hostname_names(self):
|
182
|
+
"""
|
183
|
+
Gets the hostname_names of this UpdateListenerDetails.
|
184
|
+
An array of hostname resource names.
|
185
|
+
|
186
|
+
|
187
|
+
:return: The hostname_names of this UpdateListenerDetails.
|
188
|
+
:rtype: list[str]
|
189
|
+
"""
|
190
|
+
return self._hostname_names
|
191
|
+
|
192
|
+
@hostname_names.setter
|
193
|
+
def hostname_names(self, hostname_names):
|
194
|
+
"""
|
195
|
+
Sets the hostname_names of this UpdateListenerDetails.
|
196
|
+
An array of hostname resource names.
|
197
|
+
|
198
|
+
|
199
|
+
:param hostname_names: The hostname_names of this UpdateListenerDetails.
|
200
|
+
:type: list[str]
|
201
|
+
"""
|
202
|
+
self._hostname_names = hostname_names
|
203
|
+
|
204
|
+
@property
|
205
|
+
def path_route_set_name(self):
|
206
|
+
"""
|
207
|
+
Gets the path_route_set_name of this UpdateListenerDetails.
|
208
|
+
Deprecated. Please use `routingPolicies` instead.
|
209
|
+
|
210
|
+
The name of the set of path-based routing rules, :class:`PathRouteSet`,
|
211
|
+
applied to this listener's traffic.
|
212
|
+
|
213
|
+
Example: `example_path_route_set`
|
214
|
+
|
215
|
+
|
216
|
+
:return: The path_route_set_name of this UpdateListenerDetails.
|
217
|
+
:rtype: str
|
218
|
+
"""
|
219
|
+
return self._path_route_set_name
|
220
|
+
|
221
|
+
@path_route_set_name.setter
|
222
|
+
def path_route_set_name(self, path_route_set_name):
|
223
|
+
"""
|
224
|
+
Sets the path_route_set_name of this UpdateListenerDetails.
|
225
|
+
Deprecated. Please use `routingPolicies` instead.
|
226
|
+
|
227
|
+
The name of the set of path-based routing rules, :class:`PathRouteSet`,
|
228
|
+
applied to this listener's traffic.
|
229
|
+
|
230
|
+
Example: `example_path_route_set`
|
231
|
+
|
232
|
+
|
233
|
+
:param path_route_set_name: The path_route_set_name of this UpdateListenerDetails.
|
234
|
+
:type: str
|
235
|
+
"""
|
236
|
+
self._path_route_set_name = path_route_set_name
|
237
|
+
|
238
|
+
@property
|
239
|
+
def routing_policy_name(self):
|
240
|
+
"""
|
241
|
+
Gets the routing_policy_name of this UpdateListenerDetails.
|
242
|
+
The name of the routing policy applied to this listener's traffic.
|
243
|
+
|
244
|
+
Example: `example_routing_policy`
|
245
|
+
|
246
|
+
|
247
|
+
:return: The routing_policy_name of this UpdateListenerDetails.
|
248
|
+
:rtype: str
|
249
|
+
"""
|
250
|
+
return self._routing_policy_name
|
251
|
+
|
252
|
+
@routing_policy_name.setter
|
253
|
+
def routing_policy_name(self, routing_policy_name):
|
254
|
+
"""
|
255
|
+
Sets the routing_policy_name of this UpdateListenerDetails.
|
256
|
+
The name of the routing policy applied to this listener's traffic.
|
257
|
+
|
258
|
+
Example: `example_routing_policy`
|
259
|
+
|
260
|
+
|
261
|
+
:param routing_policy_name: The routing_policy_name of this UpdateListenerDetails.
|
262
|
+
:type: str
|
263
|
+
"""
|
264
|
+
self._routing_policy_name = routing_policy_name
|
265
|
+
|
266
|
+
@property
|
267
|
+
def ssl_configuration(self):
|
268
|
+
"""
|
269
|
+
Gets the ssl_configuration of this UpdateListenerDetails.
|
270
|
+
|
271
|
+
:return: The ssl_configuration of this UpdateListenerDetails.
|
272
|
+
:rtype: oci.load_balancer.models.SSLConfigurationDetails
|
273
|
+
"""
|
274
|
+
return self._ssl_configuration
|
275
|
+
|
276
|
+
@ssl_configuration.setter
|
277
|
+
def ssl_configuration(self, ssl_configuration):
|
278
|
+
"""
|
279
|
+
Sets the ssl_configuration of this UpdateListenerDetails.
|
280
|
+
|
281
|
+
:param ssl_configuration: The ssl_configuration of this UpdateListenerDetails.
|
282
|
+
:type: oci.load_balancer.models.SSLConfigurationDetails
|
283
|
+
"""
|
284
|
+
self._ssl_configuration = ssl_configuration
|
285
|
+
|
286
|
+
@property
|
287
|
+
def connection_configuration(self):
|
288
|
+
"""
|
289
|
+
Gets the connection_configuration of this UpdateListenerDetails.
|
290
|
+
|
291
|
+
:return: The connection_configuration of this UpdateListenerDetails.
|
292
|
+
:rtype: oci.load_balancer.models.ConnectionConfiguration
|
293
|
+
"""
|
294
|
+
return self._connection_configuration
|
295
|
+
|
296
|
+
@connection_configuration.setter
|
297
|
+
def connection_configuration(self, connection_configuration):
|
298
|
+
"""
|
299
|
+
Sets the connection_configuration of this UpdateListenerDetails.
|
300
|
+
|
301
|
+
:param connection_configuration: The connection_configuration of this UpdateListenerDetails.
|
302
|
+
:type: oci.load_balancer.models.ConnectionConfiguration
|
303
|
+
"""
|
304
|
+
self._connection_configuration = connection_configuration
|
305
|
+
|
306
|
+
@property
|
307
|
+
def rule_set_names(self):
|
308
|
+
"""
|
309
|
+
Gets the rule_set_names of this UpdateListenerDetails.
|
310
|
+
The names of the :class:`RuleSet` to apply to the listener.
|
311
|
+
|
312
|
+
Example: [\"example_rule_set\"]
|
313
|
+
|
314
|
+
|
315
|
+
:return: The rule_set_names of this UpdateListenerDetails.
|
316
|
+
:rtype: list[str]
|
317
|
+
"""
|
318
|
+
return self._rule_set_names
|
319
|
+
|
320
|
+
@rule_set_names.setter
|
321
|
+
def rule_set_names(self, rule_set_names):
|
322
|
+
"""
|
323
|
+
Sets the rule_set_names of this UpdateListenerDetails.
|
324
|
+
The names of the :class:`RuleSet` to apply to the listener.
|
325
|
+
|
326
|
+
Example: [\"example_rule_set\"]
|
327
|
+
|
328
|
+
|
329
|
+
:param rule_set_names: The rule_set_names of this UpdateListenerDetails.
|
330
|
+
:type: list[str]
|
331
|
+
"""
|
332
|
+
self._rule_set_names = rule_set_names
|
333
|
+
|
334
|
+
def __repr__(self):
|
335
|
+
return formatted_flat_dict(self)
|
336
|
+
|
337
|
+
def __eq__(self, other):
|
338
|
+
if other is None:
|
339
|
+
return False
|
340
|
+
|
341
|
+
return self.__dict__ == other.__dict__
|
342
|
+
|
343
|
+
def __ne__(self, other):
|
344
|
+
return not self == other
|
@@ -0,0 +1,356 @@
|
|
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 UpdateLoadBalancerDetails(object):
|
14
|
+
"""
|
15
|
+
Configuration details to update 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
|
+
def __init__(self, **kwargs):
|
21
|
+
"""
|
22
|
+
Initializes a new UpdateLoadBalancerDetails object with values from keyword arguments.
|
23
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
24
|
+
|
25
|
+
:param display_name:
|
26
|
+
The value to assign to the display_name property of this UpdateLoadBalancerDetails.
|
27
|
+
:type display_name: str
|
28
|
+
|
29
|
+
:param is_delete_protection_enabled:
|
30
|
+
The value to assign to the is_delete_protection_enabled property of this UpdateLoadBalancerDetails.
|
31
|
+
:type is_delete_protection_enabled: bool
|
32
|
+
|
33
|
+
:param is_request_id_enabled:
|
34
|
+
The value to assign to the is_request_id_enabled property of this UpdateLoadBalancerDetails.
|
35
|
+
:type is_request_id_enabled: bool
|
36
|
+
|
37
|
+
:param request_id_header:
|
38
|
+
The value to assign to the request_id_header property of this UpdateLoadBalancerDetails.
|
39
|
+
:type request_id_header: str
|
40
|
+
|
41
|
+
:param freeform_tags:
|
42
|
+
The value to assign to the freeform_tags property of this UpdateLoadBalancerDetails.
|
43
|
+
:type freeform_tags: dict(str, str)
|
44
|
+
|
45
|
+
:param defined_tags:
|
46
|
+
The value to assign to the defined_tags property of this UpdateLoadBalancerDetails.
|
47
|
+
:type defined_tags: dict(str, dict(str, object))
|
48
|
+
|
49
|
+
:param zpr_tags:
|
50
|
+
The value to assign to the zpr_tags property of this UpdateLoadBalancerDetails.
|
51
|
+
:type zpr_tags: dict(str, dict(str, object))
|
52
|
+
|
53
|
+
"""
|
54
|
+
self.swagger_types = {
|
55
|
+
'display_name': 'str',
|
56
|
+
'is_delete_protection_enabled': 'bool',
|
57
|
+
'is_request_id_enabled': 'bool',
|
58
|
+
'request_id_header': 'str',
|
59
|
+
'freeform_tags': 'dict(str, str)',
|
60
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
61
|
+
'zpr_tags': 'dict(str, dict(str, object))'
|
62
|
+
}
|
63
|
+
|
64
|
+
self.attribute_map = {
|
65
|
+
'display_name': 'displayName',
|
66
|
+
'is_delete_protection_enabled': 'isDeleteProtectionEnabled',
|
67
|
+
'is_request_id_enabled': 'isRequestIdEnabled',
|
68
|
+
'request_id_header': 'requestIdHeader',
|
69
|
+
'freeform_tags': 'freeformTags',
|
70
|
+
'defined_tags': 'definedTags',
|
71
|
+
'zpr_tags': 'zprTags'
|
72
|
+
}
|
73
|
+
|
74
|
+
self._display_name = None
|
75
|
+
self._is_delete_protection_enabled = None
|
76
|
+
self._is_request_id_enabled = None
|
77
|
+
self._request_id_header = None
|
78
|
+
self._freeform_tags = None
|
79
|
+
self._defined_tags = None
|
80
|
+
self._zpr_tags = None
|
81
|
+
|
82
|
+
@property
|
83
|
+
def display_name(self):
|
84
|
+
"""
|
85
|
+
Gets the display_name of this UpdateLoadBalancerDetails.
|
86
|
+
The user-friendly display name for the load balancer. It does not have to be unique, and it is changeable.
|
87
|
+
Avoid entering confidential information.
|
88
|
+
|
89
|
+
Example: `example_load_balancer`
|
90
|
+
|
91
|
+
|
92
|
+
:return: The display_name of this UpdateLoadBalancerDetails.
|
93
|
+
:rtype: str
|
94
|
+
"""
|
95
|
+
return self._display_name
|
96
|
+
|
97
|
+
@display_name.setter
|
98
|
+
def display_name(self, display_name):
|
99
|
+
"""
|
100
|
+
Sets the display_name of this UpdateLoadBalancerDetails.
|
101
|
+
The user-friendly display name for the load balancer. It does not have to be unique, and it is changeable.
|
102
|
+
Avoid entering confidential information.
|
103
|
+
|
104
|
+
Example: `example_load_balancer`
|
105
|
+
|
106
|
+
|
107
|
+
:param display_name: The display_name of this UpdateLoadBalancerDetails.
|
108
|
+
:type: str
|
109
|
+
"""
|
110
|
+
self._display_name = display_name
|
111
|
+
|
112
|
+
@property
|
113
|
+
def is_delete_protection_enabled(self):
|
114
|
+
"""
|
115
|
+
Gets the is_delete_protection_enabled of this UpdateLoadBalancerDetails.
|
116
|
+
Whether or not the load balancer has delete protection enabled.
|
117
|
+
|
118
|
+
If \"true\", the loadbalancer will be protected against deletion if configured to accept traffic.
|
119
|
+
|
120
|
+
If \"false\", the loadbalancer will not be protected against deletion.
|
121
|
+
|
122
|
+
If null or unset, the value for delete protection will not be changed.
|
123
|
+
|
124
|
+
Example: `true`
|
125
|
+
|
126
|
+
|
127
|
+
:return: The is_delete_protection_enabled of this UpdateLoadBalancerDetails.
|
128
|
+
:rtype: bool
|
129
|
+
"""
|
130
|
+
return self._is_delete_protection_enabled
|
131
|
+
|
132
|
+
@is_delete_protection_enabled.setter
|
133
|
+
def is_delete_protection_enabled(self, is_delete_protection_enabled):
|
134
|
+
"""
|
135
|
+
Sets the is_delete_protection_enabled of this UpdateLoadBalancerDetails.
|
136
|
+
Whether or not the load balancer has delete protection enabled.
|
137
|
+
|
138
|
+
If \"true\", the loadbalancer will be protected against deletion if configured to accept traffic.
|
139
|
+
|
140
|
+
If \"false\", the loadbalancer will not be protected against deletion.
|
141
|
+
|
142
|
+
If null or unset, the value for delete protection will not be changed.
|
143
|
+
|
144
|
+
Example: `true`
|
145
|
+
|
146
|
+
|
147
|
+
:param is_delete_protection_enabled: The is_delete_protection_enabled of this UpdateLoadBalancerDetails.
|
148
|
+
:type: bool
|
149
|
+
"""
|
150
|
+
self._is_delete_protection_enabled = is_delete_protection_enabled
|
151
|
+
|
152
|
+
@property
|
153
|
+
def is_request_id_enabled(self):
|
154
|
+
"""
|
155
|
+
Gets the is_request_id_enabled of this UpdateLoadBalancerDetails.
|
156
|
+
Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.
|
157
|
+
|
158
|
+
If \"true\", the load balancer will attach a unique request id header to every request
|
159
|
+
passed through from the load balancer to load balancer backends. This same request id
|
160
|
+
header also will be added to the response the lb received from the backend handling
|
161
|
+
the request before the load balancer returns the response to the requestor. The name
|
162
|
+
of the unique request id header is set the by value of requestIdHeader.
|
163
|
+
|
164
|
+
If \"false\", the loadbalancer not add this unique request id header to either the request
|
165
|
+
passed through to the load balancer backends nor to the reponse returned to the user.
|
166
|
+
|
167
|
+
New load balancers have the Request Id feature enabled unless isRequestIdEnabled is set to False.
|
168
|
+
|
169
|
+
Example: `true`
|
170
|
+
|
171
|
+
|
172
|
+
:return: The is_request_id_enabled of this UpdateLoadBalancerDetails.
|
173
|
+
:rtype: bool
|
174
|
+
"""
|
175
|
+
return self._is_request_id_enabled
|
176
|
+
|
177
|
+
@is_request_id_enabled.setter
|
178
|
+
def is_request_id_enabled(self, is_request_id_enabled):
|
179
|
+
"""
|
180
|
+
Sets the is_request_id_enabled of this UpdateLoadBalancerDetails.
|
181
|
+
Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.
|
182
|
+
|
183
|
+
If \"true\", the load balancer will attach a unique request id header to every request
|
184
|
+
passed through from the load balancer to load balancer backends. This same request id
|
185
|
+
header also will be added to the response the lb received from the backend handling
|
186
|
+
the request before the load balancer returns the response to the requestor. The name
|
187
|
+
of the unique request id header is set the by value of requestIdHeader.
|
188
|
+
|
189
|
+
If \"false\", the loadbalancer not add this unique request id header to either the request
|
190
|
+
passed through to the load balancer backends nor to the reponse returned to the user.
|
191
|
+
|
192
|
+
New load balancers have the Request Id feature enabled unless isRequestIdEnabled is set to False.
|
193
|
+
|
194
|
+
Example: `true`
|
195
|
+
|
196
|
+
|
197
|
+
:param is_request_id_enabled: The is_request_id_enabled of this UpdateLoadBalancerDetails.
|
198
|
+
:type: bool
|
199
|
+
"""
|
200
|
+
self._is_request_id_enabled = is_request_id_enabled
|
201
|
+
|
202
|
+
@property
|
203
|
+
def request_id_header(self):
|
204
|
+
"""
|
205
|
+
Gets the request_id_header of this UpdateLoadBalancerDetails.
|
206
|
+
If isRequestIdEnabled is true then this field contains the name of the header field
|
207
|
+
that contains the unique request id that is attached to every request from
|
208
|
+
the load balancer to the load balancer backends and to every response from the load
|
209
|
+
balancer.
|
210
|
+
|
211
|
+
If a request to the load balancer already contains a header with same name as specified
|
212
|
+
in requestIdHeader then the load balancer will not change the value of that field.
|
213
|
+
|
214
|
+
If isRequestIdEnabled is false then this field is ignored.
|
215
|
+
|
216
|
+
**Notes:**
|
217
|
+
* Unless the header name is \"\" it must start with \"X-\" prefix.
|
218
|
+
* Setting the header name to \"\" will set it to the default: X-Request-Id.
|
219
|
+
|
220
|
+
|
221
|
+
:return: The request_id_header of this UpdateLoadBalancerDetails.
|
222
|
+
:rtype: str
|
223
|
+
"""
|
224
|
+
return self._request_id_header
|
225
|
+
|
226
|
+
@request_id_header.setter
|
227
|
+
def request_id_header(self, request_id_header):
|
228
|
+
"""
|
229
|
+
Sets the request_id_header of this UpdateLoadBalancerDetails.
|
230
|
+
If isRequestIdEnabled is true then this field contains the name of the header field
|
231
|
+
that contains the unique request id that is attached to every request from
|
232
|
+
the load balancer to the load balancer backends and to every response from the load
|
233
|
+
balancer.
|
234
|
+
|
235
|
+
If a request to the load balancer already contains a header with same name as specified
|
236
|
+
in requestIdHeader then the load balancer will not change the value of that field.
|
237
|
+
|
238
|
+
If isRequestIdEnabled is false then this field is ignored.
|
239
|
+
|
240
|
+
**Notes:**
|
241
|
+
* Unless the header name is \"\" it must start with \"X-\" prefix.
|
242
|
+
* Setting the header name to \"\" will set it to the default: X-Request-Id.
|
243
|
+
|
244
|
+
|
245
|
+
:param request_id_header: The request_id_header of this UpdateLoadBalancerDetails.
|
246
|
+
:type: str
|
247
|
+
"""
|
248
|
+
self._request_id_header = request_id_header
|
249
|
+
|
250
|
+
@property
|
251
|
+
def freeform_tags(self):
|
252
|
+
"""
|
253
|
+
Gets the freeform_tags of this UpdateLoadBalancerDetails.
|
254
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
255
|
+
For more information, see `Resource Tags`__.
|
256
|
+
|
257
|
+
Example: `{\"Department\": \"Finance\"}`
|
258
|
+
|
259
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
260
|
+
|
261
|
+
|
262
|
+
:return: The freeform_tags of this UpdateLoadBalancerDetails.
|
263
|
+
:rtype: dict(str, str)
|
264
|
+
"""
|
265
|
+
return self._freeform_tags
|
266
|
+
|
267
|
+
@freeform_tags.setter
|
268
|
+
def freeform_tags(self, freeform_tags):
|
269
|
+
"""
|
270
|
+
Sets the freeform_tags of this UpdateLoadBalancerDetails.
|
271
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
272
|
+
For more information, see `Resource Tags`__.
|
273
|
+
|
274
|
+
Example: `{\"Department\": \"Finance\"}`
|
275
|
+
|
276
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
277
|
+
|
278
|
+
|
279
|
+
:param freeform_tags: The freeform_tags of this UpdateLoadBalancerDetails.
|
280
|
+
:type: dict(str, str)
|
281
|
+
"""
|
282
|
+
self._freeform_tags = freeform_tags
|
283
|
+
|
284
|
+
@property
|
285
|
+
def defined_tags(self):
|
286
|
+
"""
|
287
|
+
Gets the defined_tags of this UpdateLoadBalancerDetails.
|
288
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
289
|
+
For more information, see `Resource Tags`__.
|
290
|
+
|
291
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
292
|
+
|
293
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
294
|
+
|
295
|
+
|
296
|
+
:return: The defined_tags of this UpdateLoadBalancerDetails.
|
297
|
+
:rtype: dict(str, dict(str, object))
|
298
|
+
"""
|
299
|
+
return self._defined_tags
|
300
|
+
|
301
|
+
@defined_tags.setter
|
302
|
+
def defined_tags(self, defined_tags):
|
303
|
+
"""
|
304
|
+
Sets the defined_tags of this UpdateLoadBalancerDetails.
|
305
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
306
|
+
For more information, see `Resource Tags`__.
|
307
|
+
|
308
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
309
|
+
|
310
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
311
|
+
|
312
|
+
|
313
|
+
:param defined_tags: The defined_tags of this UpdateLoadBalancerDetails.
|
314
|
+
:type: dict(str, dict(str, object))
|
315
|
+
"""
|
316
|
+
self._defined_tags = defined_tags
|
317
|
+
|
318
|
+
@property
|
319
|
+
def zpr_tags(self):
|
320
|
+
"""
|
321
|
+
Gets the zpr_tags of this UpdateLoadBalancerDetails.
|
322
|
+
Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace.
|
323
|
+
|
324
|
+
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\", \"usagetype\" : \"zpr\"}}}`
|
325
|
+
|
326
|
+
|
327
|
+
:return: The zpr_tags of this UpdateLoadBalancerDetails.
|
328
|
+
:rtype: dict(str, dict(str, object))
|
329
|
+
"""
|
330
|
+
return self._zpr_tags
|
331
|
+
|
332
|
+
@zpr_tags.setter
|
333
|
+
def zpr_tags(self, zpr_tags):
|
334
|
+
"""
|
335
|
+
Sets the zpr_tags of this UpdateLoadBalancerDetails.
|
336
|
+
Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace.
|
337
|
+
|
338
|
+
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\", \"usagetype\" : \"zpr\"}}}`
|
339
|
+
|
340
|
+
|
341
|
+
:param zpr_tags: The zpr_tags of this UpdateLoadBalancerDetails.
|
342
|
+
:type: dict(str, dict(str, object))
|
343
|
+
"""
|
344
|
+
self._zpr_tags = zpr_tags
|
345
|
+
|
346
|
+
def __repr__(self):
|
347
|
+
return formatted_flat_dict(self)
|
348
|
+
|
349
|
+
def __eq__(self, other):
|
350
|
+
if other is None:
|
351
|
+
return False
|
352
|
+
|
353
|
+
return self.__dict__ == other.__dict__
|
354
|
+
|
355
|
+
def __ne__(self, other):
|
356
|
+
return not self == other
|