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,166 @@
|
|
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
|
+
from .rule_condition import RuleCondition
|
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 PathMatchCondition(RuleCondition):
|
14
|
+
"""
|
15
|
+
The path string and match condition to apply when evaluating an incoming URI for redirection.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the operator property of a PathMatchCondition.
|
19
|
+
#: This constant has a value of "EXACT_MATCH"
|
20
|
+
OPERATOR_EXACT_MATCH = "EXACT_MATCH"
|
21
|
+
|
22
|
+
#: A constant which can be used with the operator property of a PathMatchCondition.
|
23
|
+
#: This constant has a value of "FORCE_LONGEST_PREFIX_MATCH"
|
24
|
+
OPERATOR_FORCE_LONGEST_PREFIX_MATCH = "FORCE_LONGEST_PREFIX_MATCH"
|
25
|
+
|
26
|
+
#: A constant which can be used with the operator property of a PathMatchCondition.
|
27
|
+
#: This constant has a value of "PREFIX_MATCH"
|
28
|
+
OPERATOR_PREFIX_MATCH = "PREFIX_MATCH"
|
29
|
+
|
30
|
+
#: A constant which can be used with the operator property of a PathMatchCondition.
|
31
|
+
#: This constant has a value of "SUFFIX_MATCH"
|
32
|
+
OPERATOR_SUFFIX_MATCH = "SUFFIX_MATCH"
|
33
|
+
|
34
|
+
def __init__(self, **kwargs):
|
35
|
+
"""
|
36
|
+
Initializes a new PathMatchCondition object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.PathMatchCondition.attribute_name` attribute
|
37
|
+
of this class is ``PATH`` and it should not be changed.
|
38
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
39
|
+
|
40
|
+
:param attribute_name:
|
41
|
+
The value to assign to the attribute_name property of this PathMatchCondition.
|
42
|
+
Allowed values for this property are: "SOURCE_IP_ADDRESS", "SOURCE_VCN_ID", "SOURCE_VCN_IP_ADDRESS", "PATH", 'UNKNOWN_ENUM_VALUE'.
|
43
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
44
|
+
:type attribute_name: str
|
45
|
+
|
46
|
+
:param attribute_value:
|
47
|
+
The value to assign to the attribute_value property of this PathMatchCondition.
|
48
|
+
:type attribute_value: str
|
49
|
+
|
50
|
+
:param operator:
|
51
|
+
The value to assign to the operator property of this PathMatchCondition.
|
52
|
+
Allowed values for this property are: "EXACT_MATCH", "FORCE_LONGEST_PREFIX_MATCH", "PREFIX_MATCH", "SUFFIX_MATCH", 'UNKNOWN_ENUM_VALUE'.
|
53
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
54
|
+
:type operator: str
|
55
|
+
|
56
|
+
"""
|
57
|
+
self.swagger_types = {
|
58
|
+
'attribute_name': 'str',
|
59
|
+
'attribute_value': 'str',
|
60
|
+
'operator': 'str'
|
61
|
+
}
|
62
|
+
|
63
|
+
self.attribute_map = {
|
64
|
+
'attribute_name': 'attributeName',
|
65
|
+
'attribute_value': 'attributeValue',
|
66
|
+
'operator': 'operator'
|
67
|
+
}
|
68
|
+
|
69
|
+
self._attribute_name = None
|
70
|
+
self._attribute_value = None
|
71
|
+
self._operator = None
|
72
|
+
self._attribute_name = 'PATH'
|
73
|
+
|
74
|
+
@property
|
75
|
+
def attribute_value(self):
|
76
|
+
"""
|
77
|
+
**[Required]** Gets the attribute_value of this PathMatchCondition.
|
78
|
+
The path string that the redirection rule applies to.
|
79
|
+
|
80
|
+
Example: `/example`
|
81
|
+
|
82
|
+
|
83
|
+
:return: The attribute_value of this PathMatchCondition.
|
84
|
+
:rtype: str
|
85
|
+
"""
|
86
|
+
return self._attribute_value
|
87
|
+
|
88
|
+
@attribute_value.setter
|
89
|
+
def attribute_value(self, attribute_value):
|
90
|
+
"""
|
91
|
+
Sets the attribute_value of this PathMatchCondition.
|
92
|
+
The path string that the redirection rule applies to.
|
93
|
+
|
94
|
+
Example: `/example`
|
95
|
+
|
96
|
+
|
97
|
+
:param attribute_value: The attribute_value of this PathMatchCondition.
|
98
|
+
:type: str
|
99
|
+
"""
|
100
|
+
self._attribute_value = attribute_value
|
101
|
+
|
102
|
+
@property
|
103
|
+
def operator(self):
|
104
|
+
"""
|
105
|
+
**[Required]** Gets the operator of this PathMatchCondition.
|
106
|
+
A string that specifies how to compare the PathMatchCondition object's `attributeValue` string to the
|
107
|
+
incoming URI.
|
108
|
+
|
109
|
+
* **EXACT_MATCH** - The incoming URI path must exactly and completely match the `attributeValue` string.
|
110
|
+
|
111
|
+
* **FORCE_LONGEST_PREFIX_MATCH** - The system looks for the `attributeValue` string with the best,
|
112
|
+
longest match of the beginning portion of the incoming URI path.
|
113
|
+
|
114
|
+
* **PREFIX_MATCH** - The beginning portion of the incoming URI path must exactly match the
|
115
|
+
`attributeValue` string.
|
116
|
+
|
117
|
+
* **SUFFIX_MATCH** - The ending portion of the incoming URI path must exactly match the `attributeValue`
|
118
|
+
string.
|
119
|
+
|
120
|
+
Allowed values for this property are: "EXACT_MATCH", "FORCE_LONGEST_PREFIX_MATCH", "PREFIX_MATCH", "SUFFIX_MATCH", 'UNKNOWN_ENUM_VALUE'.
|
121
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
122
|
+
|
123
|
+
|
124
|
+
:return: The operator of this PathMatchCondition.
|
125
|
+
:rtype: str
|
126
|
+
"""
|
127
|
+
return self._operator
|
128
|
+
|
129
|
+
@operator.setter
|
130
|
+
def operator(self, operator):
|
131
|
+
"""
|
132
|
+
Sets the operator of this PathMatchCondition.
|
133
|
+
A string that specifies how to compare the PathMatchCondition object's `attributeValue` string to the
|
134
|
+
incoming URI.
|
135
|
+
|
136
|
+
* **EXACT_MATCH** - The incoming URI path must exactly and completely match the `attributeValue` string.
|
137
|
+
|
138
|
+
* **FORCE_LONGEST_PREFIX_MATCH** - The system looks for the `attributeValue` string with the best,
|
139
|
+
longest match of the beginning portion of the incoming URI path.
|
140
|
+
|
141
|
+
* **PREFIX_MATCH** - The beginning portion of the incoming URI path must exactly match the
|
142
|
+
`attributeValue` string.
|
143
|
+
|
144
|
+
* **SUFFIX_MATCH** - The ending portion of the incoming URI path must exactly match the `attributeValue`
|
145
|
+
string.
|
146
|
+
|
147
|
+
|
148
|
+
:param operator: The operator of this PathMatchCondition.
|
149
|
+
:type: str
|
150
|
+
"""
|
151
|
+
allowed_values = ["EXACT_MATCH", "FORCE_LONGEST_PREFIX_MATCH", "PREFIX_MATCH", "SUFFIX_MATCH"]
|
152
|
+
if not value_allowed_none_or_none_sentinel(operator, allowed_values):
|
153
|
+
operator = 'UNKNOWN_ENUM_VALUE'
|
154
|
+
self._operator = operator
|
155
|
+
|
156
|
+
def __repr__(self):
|
157
|
+
return formatted_flat_dict(self)
|
158
|
+
|
159
|
+
def __eq__(self, other):
|
160
|
+
if other is None:
|
161
|
+
return False
|
162
|
+
|
163
|
+
return self.__dict__ == other.__dict__
|
164
|
+
|
165
|
+
def __ne__(self, other):
|
166
|
+
return not self == other
|
@@ -0,0 +1,126 @@
|
|
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 PathMatchType(object):
|
14
|
+
"""
|
15
|
+
The type of matching to apply to incoming URIs.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the match_type property of a PathMatchType.
|
19
|
+
#: This constant has a value of "EXACT_MATCH"
|
20
|
+
MATCH_TYPE_EXACT_MATCH = "EXACT_MATCH"
|
21
|
+
|
22
|
+
#: A constant which can be used with the match_type property of a PathMatchType.
|
23
|
+
#: This constant has a value of "FORCE_LONGEST_PREFIX_MATCH"
|
24
|
+
MATCH_TYPE_FORCE_LONGEST_PREFIX_MATCH = "FORCE_LONGEST_PREFIX_MATCH"
|
25
|
+
|
26
|
+
#: A constant which can be used with the match_type property of a PathMatchType.
|
27
|
+
#: This constant has a value of "PREFIX_MATCH"
|
28
|
+
MATCH_TYPE_PREFIX_MATCH = "PREFIX_MATCH"
|
29
|
+
|
30
|
+
#: A constant which can be used with the match_type property of a PathMatchType.
|
31
|
+
#: This constant has a value of "SUFFIX_MATCH"
|
32
|
+
MATCH_TYPE_SUFFIX_MATCH = "SUFFIX_MATCH"
|
33
|
+
|
34
|
+
def __init__(self, **kwargs):
|
35
|
+
"""
|
36
|
+
Initializes a new PathMatchType object with values from keyword arguments.
|
37
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
38
|
+
|
39
|
+
:param match_type:
|
40
|
+
The value to assign to the match_type property of this PathMatchType.
|
41
|
+
Allowed values for this property are: "EXACT_MATCH", "FORCE_LONGEST_PREFIX_MATCH", "PREFIX_MATCH", "SUFFIX_MATCH", 'UNKNOWN_ENUM_VALUE'.
|
42
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
43
|
+
:type match_type: str
|
44
|
+
|
45
|
+
"""
|
46
|
+
self.swagger_types = {
|
47
|
+
'match_type': 'str'
|
48
|
+
}
|
49
|
+
|
50
|
+
self.attribute_map = {
|
51
|
+
'match_type': 'matchType'
|
52
|
+
}
|
53
|
+
|
54
|
+
self._match_type = None
|
55
|
+
|
56
|
+
@property
|
57
|
+
def match_type(self):
|
58
|
+
"""
|
59
|
+
**[Required]** Gets the match_type of this PathMatchType.
|
60
|
+
Specifies how the load balancing service compares a :func:`path_route`
|
61
|
+
object's `path` string against the incoming URI.
|
62
|
+
|
63
|
+
* **EXACT_MATCH** - Looks for a `path` string that exactly matches the incoming URI path.
|
64
|
+
|
65
|
+
* **FORCE_LONGEST_PREFIX_MATCH** - Looks for the `path` string with the best, longest match of the beginning
|
66
|
+
portion of the incoming URI path.
|
67
|
+
|
68
|
+
* **PREFIX_MATCH** - Looks for a `path` string that matches the beginning portion of the incoming URI path.
|
69
|
+
|
70
|
+
* **SUFFIX_MATCH** - Looks for a `path` string that matches the ending portion of the incoming URI path.
|
71
|
+
|
72
|
+
For a full description of how the system handles `matchType` in a path route set containing multiple rules, see
|
73
|
+
`Managing Request Routing`__.
|
74
|
+
|
75
|
+
__ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm
|
76
|
+
|
77
|
+
Allowed values for this property are: "EXACT_MATCH", "FORCE_LONGEST_PREFIX_MATCH", "PREFIX_MATCH", "SUFFIX_MATCH", 'UNKNOWN_ENUM_VALUE'.
|
78
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
79
|
+
|
80
|
+
|
81
|
+
:return: The match_type of this PathMatchType.
|
82
|
+
:rtype: str
|
83
|
+
"""
|
84
|
+
return self._match_type
|
85
|
+
|
86
|
+
@match_type.setter
|
87
|
+
def match_type(self, match_type):
|
88
|
+
"""
|
89
|
+
Sets the match_type of this PathMatchType.
|
90
|
+
Specifies how the load balancing service compares a :func:`path_route`
|
91
|
+
object's `path` string against the incoming URI.
|
92
|
+
|
93
|
+
* **EXACT_MATCH** - Looks for a `path` string that exactly matches the incoming URI path.
|
94
|
+
|
95
|
+
* **FORCE_LONGEST_PREFIX_MATCH** - Looks for the `path` string with the best, longest match of the beginning
|
96
|
+
portion of the incoming URI path.
|
97
|
+
|
98
|
+
* **PREFIX_MATCH** - Looks for a `path` string that matches the beginning portion of the incoming URI path.
|
99
|
+
|
100
|
+
* **SUFFIX_MATCH** - Looks for a `path` string that matches the ending portion of the incoming URI path.
|
101
|
+
|
102
|
+
For a full description of how the system handles `matchType` in a path route set containing multiple rules, see
|
103
|
+
`Managing Request Routing`__.
|
104
|
+
|
105
|
+
__ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm
|
106
|
+
|
107
|
+
|
108
|
+
:param match_type: The match_type of this PathMatchType.
|
109
|
+
:type: str
|
110
|
+
"""
|
111
|
+
allowed_values = ["EXACT_MATCH", "FORCE_LONGEST_PREFIX_MATCH", "PREFIX_MATCH", "SUFFIX_MATCH"]
|
112
|
+
if not value_allowed_none_or_none_sentinel(match_type, allowed_values):
|
113
|
+
match_type = 'UNKNOWN_ENUM_VALUE'
|
114
|
+
self._match_type = match_type
|
115
|
+
|
116
|
+
def __repr__(self):
|
117
|
+
return formatted_flat_dict(self)
|
118
|
+
|
119
|
+
def __eq__(self, other):
|
120
|
+
if other is None:
|
121
|
+
return False
|
122
|
+
|
123
|
+
return self.__dict__ == other.__dict__
|
124
|
+
|
125
|
+
def __ne__(self, other):
|
126
|
+
return not self == other
|
@@ -0,0 +1,156 @@
|
|
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 PathRoute(object):
|
14
|
+
"""
|
15
|
+
A \"path route rule\" to evaluate an incoming URI path, and then route a matching request to the specified backend set.
|
16
|
+
|
17
|
+
Path route rules apply only to HTTP and HTTPS requests. They have no effect on TCP requests.
|
18
|
+
"""
|
19
|
+
|
20
|
+
def __init__(self, **kwargs):
|
21
|
+
"""
|
22
|
+
Initializes a new PathRoute object with values from keyword arguments.
|
23
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
24
|
+
|
25
|
+
:param path:
|
26
|
+
The value to assign to the path property of this PathRoute.
|
27
|
+
:type path: str
|
28
|
+
|
29
|
+
:param path_match_type:
|
30
|
+
The value to assign to the path_match_type property of this PathRoute.
|
31
|
+
:type path_match_type: oci.load_balancer.models.PathMatchType
|
32
|
+
|
33
|
+
:param backend_set_name:
|
34
|
+
The value to assign to the backend_set_name property of this PathRoute.
|
35
|
+
:type backend_set_name: str
|
36
|
+
|
37
|
+
"""
|
38
|
+
self.swagger_types = {
|
39
|
+
'path': 'str',
|
40
|
+
'path_match_type': 'PathMatchType',
|
41
|
+
'backend_set_name': 'str'
|
42
|
+
}
|
43
|
+
|
44
|
+
self.attribute_map = {
|
45
|
+
'path': 'path',
|
46
|
+
'path_match_type': 'pathMatchType',
|
47
|
+
'backend_set_name': 'backendSetName'
|
48
|
+
}
|
49
|
+
|
50
|
+
self._path = None
|
51
|
+
self._path_match_type = None
|
52
|
+
self._backend_set_name = None
|
53
|
+
|
54
|
+
@property
|
55
|
+
def path(self):
|
56
|
+
"""
|
57
|
+
**[Required]** Gets the path of this PathRoute.
|
58
|
+
The path string to match against the incoming URI path.
|
59
|
+
|
60
|
+
* Path strings are case-insensitive.
|
61
|
+
|
62
|
+
* Asterisk (*) wildcards are not supported.
|
63
|
+
|
64
|
+
* Regular expressions are not supported.
|
65
|
+
|
66
|
+
Example: `/example/video/123`
|
67
|
+
|
68
|
+
|
69
|
+
:return: The path of this PathRoute.
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._path
|
73
|
+
|
74
|
+
@path.setter
|
75
|
+
def path(self, path):
|
76
|
+
"""
|
77
|
+
Sets the path of this PathRoute.
|
78
|
+
The path string to match against the incoming URI path.
|
79
|
+
|
80
|
+
* Path strings are case-insensitive.
|
81
|
+
|
82
|
+
* Asterisk (*) wildcards are not supported.
|
83
|
+
|
84
|
+
* Regular expressions are not supported.
|
85
|
+
|
86
|
+
Example: `/example/video/123`
|
87
|
+
|
88
|
+
|
89
|
+
:param path: The path of this PathRoute.
|
90
|
+
:type: str
|
91
|
+
"""
|
92
|
+
self._path = path
|
93
|
+
|
94
|
+
@property
|
95
|
+
def path_match_type(self):
|
96
|
+
"""
|
97
|
+
**[Required]** Gets the path_match_type of this PathRoute.
|
98
|
+
The type of matching to apply to incoming URIs.
|
99
|
+
|
100
|
+
|
101
|
+
:return: The path_match_type of this PathRoute.
|
102
|
+
:rtype: oci.load_balancer.models.PathMatchType
|
103
|
+
"""
|
104
|
+
return self._path_match_type
|
105
|
+
|
106
|
+
@path_match_type.setter
|
107
|
+
def path_match_type(self, path_match_type):
|
108
|
+
"""
|
109
|
+
Sets the path_match_type of this PathRoute.
|
110
|
+
The type of matching to apply to incoming URIs.
|
111
|
+
|
112
|
+
|
113
|
+
:param path_match_type: The path_match_type of this PathRoute.
|
114
|
+
:type: oci.load_balancer.models.PathMatchType
|
115
|
+
"""
|
116
|
+
self._path_match_type = path_match_type
|
117
|
+
|
118
|
+
@property
|
119
|
+
def backend_set_name(self):
|
120
|
+
"""
|
121
|
+
**[Required]** Gets the backend_set_name of this PathRoute.
|
122
|
+
The name of the target backend set for requests where the incoming URI matches the specified path.
|
123
|
+
|
124
|
+
Example: `example_backend_set`
|
125
|
+
|
126
|
+
|
127
|
+
:return: The backend_set_name of this PathRoute.
|
128
|
+
:rtype: str
|
129
|
+
"""
|
130
|
+
return self._backend_set_name
|
131
|
+
|
132
|
+
@backend_set_name.setter
|
133
|
+
def backend_set_name(self, backend_set_name):
|
134
|
+
"""
|
135
|
+
Sets the backend_set_name of this PathRoute.
|
136
|
+
The name of the target backend set for requests where the incoming URI matches the specified path.
|
137
|
+
|
138
|
+
Example: `example_backend_set`
|
139
|
+
|
140
|
+
|
141
|
+
:param backend_set_name: The backend_set_name of this PathRoute.
|
142
|
+
:type: str
|
143
|
+
"""
|
144
|
+
self._backend_set_name = backend_set_name
|
145
|
+
|
146
|
+
def __repr__(self):
|
147
|
+
return formatted_flat_dict(self)
|
148
|
+
|
149
|
+
def __eq__(self, other):
|
150
|
+
if other is None:
|
151
|
+
return False
|
152
|
+
|
153
|
+
return self.__dict__ == other.__dict__
|
154
|
+
|
155
|
+
def __ne__(self, other):
|
156
|
+
return not self == other
|
@@ -0,0 +1,112 @@
|
|
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 PathRouteSet(object):
|
14
|
+
"""
|
15
|
+
A named set of path route rules. For more information, see
|
16
|
+
`Managing Request Routing`__.
|
17
|
+
|
18
|
+
**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
19
|
+
|
20
|
+
__ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm
|
21
|
+
"""
|
22
|
+
|
23
|
+
def __init__(self, **kwargs):
|
24
|
+
"""
|
25
|
+
Initializes a new PathRouteSet object with values from keyword arguments.
|
26
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
27
|
+
|
28
|
+
:param name:
|
29
|
+
The value to assign to the name property of this PathRouteSet.
|
30
|
+
:type name: str
|
31
|
+
|
32
|
+
:param path_routes:
|
33
|
+
The value to assign to the path_routes property of this PathRouteSet.
|
34
|
+
:type path_routes: list[oci.load_balancer.models.PathRoute]
|
35
|
+
|
36
|
+
"""
|
37
|
+
self.swagger_types = {
|
38
|
+
'name': 'str',
|
39
|
+
'path_routes': 'list[PathRoute]'
|
40
|
+
}
|
41
|
+
|
42
|
+
self.attribute_map = {
|
43
|
+
'name': 'name',
|
44
|
+
'path_routes': 'pathRoutes'
|
45
|
+
}
|
46
|
+
|
47
|
+
self._name = None
|
48
|
+
self._path_routes = None
|
49
|
+
|
50
|
+
@property
|
51
|
+
def name(self):
|
52
|
+
"""
|
53
|
+
**[Required]** Gets the name of this PathRouteSet.
|
54
|
+
The unique name for this set of path route rules. Avoid entering confidential information.
|
55
|
+
|
56
|
+
Example: `example_path_route_set`
|
57
|
+
|
58
|
+
|
59
|
+
:return: The name of this PathRouteSet.
|
60
|
+
:rtype: str
|
61
|
+
"""
|
62
|
+
return self._name
|
63
|
+
|
64
|
+
@name.setter
|
65
|
+
def name(self, name):
|
66
|
+
"""
|
67
|
+
Sets the name of this PathRouteSet.
|
68
|
+
The unique name for this set of path route rules. Avoid entering confidential information.
|
69
|
+
|
70
|
+
Example: `example_path_route_set`
|
71
|
+
|
72
|
+
|
73
|
+
:param name: The name of this PathRouteSet.
|
74
|
+
:type: str
|
75
|
+
"""
|
76
|
+
self._name = name
|
77
|
+
|
78
|
+
@property
|
79
|
+
def path_routes(self):
|
80
|
+
"""
|
81
|
+
**[Required]** Gets the path_routes of this PathRouteSet.
|
82
|
+
The set of path route rules.
|
83
|
+
|
84
|
+
|
85
|
+
:return: The path_routes of this PathRouteSet.
|
86
|
+
:rtype: list[oci.load_balancer.models.PathRoute]
|
87
|
+
"""
|
88
|
+
return self._path_routes
|
89
|
+
|
90
|
+
@path_routes.setter
|
91
|
+
def path_routes(self, path_routes):
|
92
|
+
"""
|
93
|
+
Sets the path_routes of this PathRouteSet.
|
94
|
+
The set of path route rules.
|
95
|
+
|
96
|
+
|
97
|
+
:param path_routes: The path_routes of this PathRouteSet.
|
98
|
+
:type: list[oci.load_balancer.models.PathRoute]
|
99
|
+
"""
|
100
|
+
self._path_routes = path_routes
|
101
|
+
|
102
|
+
def __repr__(self):
|
103
|
+
return formatted_flat_dict(self)
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
if other is None:
|
107
|
+
return False
|
108
|
+
|
109
|
+
return self.__dict__ == other.__dict__
|
110
|
+
|
111
|
+
def __ne__(self, other):
|
112
|
+
return not self == other
|
@@ -0,0 +1,72 @@
|
|
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 PathRouteSetDetails(object):
|
14
|
+
"""
|
15
|
+
A set of path route rules.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new PathRouteSetDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param path_routes:
|
24
|
+
The value to assign to the path_routes property of this PathRouteSetDetails.
|
25
|
+
:type path_routes: list[oci.load_balancer.models.PathRoute]
|
26
|
+
|
27
|
+
"""
|
28
|
+
self.swagger_types = {
|
29
|
+
'path_routes': 'list[PathRoute]'
|
30
|
+
}
|
31
|
+
|
32
|
+
self.attribute_map = {
|
33
|
+
'path_routes': 'pathRoutes'
|
34
|
+
}
|
35
|
+
|
36
|
+
self._path_routes = None
|
37
|
+
|
38
|
+
@property
|
39
|
+
def path_routes(self):
|
40
|
+
"""
|
41
|
+
**[Required]** Gets the path_routes of this PathRouteSetDetails.
|
42
|
+
The set of path route rules.
|
43
|
+
|
44
|
+
|
45
|
+
:return: The path_routes of this PathRouteSetDetails.
|
46
|
+
:rtype: list[oci.load_balancer.models.PathRoute]
|
47
|
+
"""
|
48
|
+
return self._path_routes
|
49
|
+
|
50
|
+
@path_routes.setter
|
51
|
+
def path_routes(self, path_routes):
|
52
|
+
"""
|
53
|
+
Sets the path_routes of this PathRouteSetDetails.
|
54
|
+
The set of path route rules.
|
55
|
+
|
56
|
+
|
57
|
+
:param path_routes: The path_routes of this PathRouteSetDetails.
|
58
|
+
:type: list[oci.load_balancer.models.PathRoute]
|
59
|
+
"""
|
60
|
+
self._path_routes = path_routes
|
61
|
+
|
62
|
+
def __repr__(self):
|
63
|
+
return formatted_flat_dict(self)
|
64
|
+
|
65
|
+
def __eq__(self, other):
|
66
|
+
if other is None:
|
67
|
+
return False
|
68
|
+
|
69
|
+
return self.__dict__ == other.__dict__
|
70
|
+
|
71
|
+
def __ne__(self, other):
|
72
|
+
return not self == other
|