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,186 @@
|
|
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 __future__ import absolute_import
|
8
|
+
|
9
|
+
from .action import Action
|
10
|
+
from .add_http_request_header_rule import AddHttpRequestHeaderRule
|
11
|
+
from .add_http_response_header_rule import AddHttpResponseHeaderRule
|
12
|
+
from .allow_rule import AllowRule
|
13
|
+
from .backend import Backend
|
14
|
+
from .backend_details import BackendDetails
|
15
|
+
from .backend_health import BackendHealth
|
16
|
+
from .backend_set import BackendSet
|
17
|
+
from .backend_set_details import BackendSetDetails
|
18
|
+
from .backend_set_health import BackendSetHealth
|
19
|
+
from .certificate import Certificate
|
20
|
+
from .certificate_details import CertificateDetails
|
21
|
+
from .change_load_balancer_compartment_details import ChangeLoadBalancerCompartmentDetails
|
22
|
+
from .connection_configuration import ConnectionConfiguration
|
23
|
+
from .control_access_using_http_methods_rule import ControlAccessUsingHttpMethodsRule
|
24
|
+
from .create_backend_details import CreateBackendDetails
|
25
|
+
from .create_backend_set_details import CreateBackendSetDetails
|
26
|
+
from .create_certificate_details import CreateCertificateDetails
|
27
|
+
from .create_hostname_details import CreateHostnameDetails
|
28
|
+
from .create_listener_details import CreateListenerDetails
|
29
|
+
from .create_load_balancer_details import CreateLoadBalancerDetails
|
30
|
+
from .create_path_route_set_details import CreatePathRouteSetDetails
|
31
|
+
from .create_routing_policy_details import CreateRoutingPolicyDetails
|
32
|
+
from .create_rule_set_details import CreateRuleSetDetails
|
33
|
+
from .create_ssl_cipher_suite_details import CreateSSLCipherSuiteDetails
|
34
|
+
from .extend_http_request_header_value_rule import ExtendHttpRequestHeaderValueRule
|
35
|
+
from .extend_http_response_header_value_rule import ExtendHttpResponseHeaderValueRule
|
36
|
+
from .forward_to_backend_set import ForwardToBackendSet
|
37
|
+
from .health_check_result import HealthCheckResult
|
38
|
+
from .health_checker import HealthChecker
|
39
|
+
from .health_checker_details import HealthCheckerDetails
|
40
|
+
from .hostname import Hostname
|
41
|
+
from .hostname_details import HostnameDetails
|
42
|
+
from .http_header_rule import HttpHeaderRule
|
43
|
+
from .ip_address import IpAddress
|
44
|
+
from .ip_based_max_connections_rule import IpBasedMaxConnectionsRule
|
45
|
+
from .ip_max_connections import IpMaxConnections
|
46
|
+
from .lb_cookie_session_persistence_configuration_details import LBCookieSessionPersistenceConfigurationDetails
|
47
|
+
from .listener import Listener
|
48
|
+
from .listener_details import ListenerDetails
|
49
|
+
from .listener_rule_summary import ListenerRuleSummary
|
50
|
+
from .load_balancer import LoadBalancer
|
51
|
+
from .load_balancer_health import LoadBalancerHealth
|
52
|
+
from .load_balancer_health_summary import LoadBalancerHealthSummary
|
53
|
+
from .load_balancer_policy import LoadBalancerPolicy
|
54
|
+
from .load_balancer_protocol import LoadBalancerProtocol
|
55
|
+
from .load_balancer_shape import LoadBalancerShape
|
56
|
+
from .path_match_condition import PathMatchCondition
|
57
|
+
from .path_match_type import PathMatchType
|
58
|
+
from .path_route import PathRoute
|
59
|
+
from .path_route_set import PathRouteSet
|
60
|
+
from .path_route_set_details import PathRouteSetDetails
|
61
|
+
from .redirect_rule import RedirectRule
|
62
|
+
from .redirect_uri import RedirectUri
|
63
|
+
from .remove_http_request_header_rule import RemoveHttpRequestHeaderRule
|
64
|
+
from .remove_http_response_header_rule import RemoveHttpResponseHeaderRule
|
65
|
+
from .reserved_ip import ReservedIP
|
66
|
+
from .routing_policy import RoutingPolicy
|
67
|
+
from .routing_policy_details import RoutingPolicyDetails
|
68
|
+
from .routing_rule import RoutingRule
|
69
|
+
from .rule import Rule
|
70
|
+
from .rule_condition import RuleCondition
|
71
|
+
from .rule_set import RuleSet
|
72
|
+
from .rule_set_details import RuleSetDetails
|
73
|
+
from .ssl_cipher_suite import SSLCipherSuite
|
74
|
+
from .ssl_cipher_suite_details import SSLCipherSuiteDetails
|
75
|
+
from .ssl_configuration import SSLConfiguration
|
76
|
+
from .ssl_configuration_details import SSLConfigurationDetails
|
77
|
+
from .session_persistence_configuration_details import SessionPersistenceConfigurationDetails
|
78
|
+
from .shape_details import ShapeDetails
|
79
|
+
from .source_ip_address_condition import SourceIpAddressCondition
|
80
|
+
from .source_vcn_id_condition import SourceVcnIdCondition
|
81
|
+
from .source_vcn_ip_address_condition import SourceVcnIpAddressCondition
|
82
|
+
from .update_backend_details import UpdateBackendDetails
|
83
|
+
from .update_backend_set_details import UpdateBackendSetDetails
|
84
|
+
from .update_health_checker_details import UpdateHealthCheckerDetails
|
85
|
+
from .update_hostname_details import UpdateHostnameDetails
|
86
|
+
from .update_listener_details import UpdateListenerDetails
|
87
|
+
from .update_load_balancer_details import UpdateLoadBalancerDetails
|
88
|
+
from .update_load_balancer_shape_details import UpdateLoadBalancerShapeDetails
|
89
|
+
from .update_network_security_groups_details import UpdateNetworkSecurityGroupsDetails
|
90
|
+
from .update_path_route_set_details import UpdatePathRouteSetDetails
|
91
|
+
from .update_routing_policy_details import UpdateRoutingPolicyDetails
|
92
|
+
from .update_rule_set_details import UpdateRuleSetDetails
|
93
|
+
from .update_ssl_cipher_suite_details import UpdateSSLCipherSuiteDetails
|
94
|
+
from .work_request import WorkRequest
|
95
|
+
from .work_request_error import WorkRequestError
|
96
|
+
|
97
|
+
# Maps type names to classes for load_balancer services.
|
98
|
+
load_balancer_type_mapping = {
|
99
|
+
"Action": Action,
|
100
|
+
"AddHttpRequestHeaderRule": AddHttpRequestHeaderRule,
|
101
|
+
"AddHttpResponseHeaderRule": AddHttpResponseHeaderRule,
|
102
|
+
"AllowRule": AllowRule,
|
103
|
+
"Backend": Backend,
|
104
|
+
"BackendDetails": BackendDetails,
|
105
|
+
"BackendHealth": BackendHealth,
|
106
|
+
"BackendSet": BackendSet,
|
107
|
+
"BackendSetDetails": BackendSetDetails,
|
108
|
+
"BackendSetHealth": BackendSetHealth,
|
109
|
+
"Certificate": Certificate,
|
110
|
+
"CertificateDetails": CertificateDetails,
|
111
|
+
"ChangeLoadBalancerCompartmentDetails": ChangeLoadBalancerCompartmentDetails,
|
112
|
+
"ConnectionConfiguration": ConnectionConfiguration,
|
113
|
+
"ControlAccessUsingHttpMethodsRule": ControlAccessUsingHttpMethodsRule,
|
114
|
+
"CreateBackendDetails": CreateBackendDetails,
|
115
|
+
"CreateBackendSetDetails": CreateBackendSetDetails,
|
116
|
+
"CreateCertificateDetails": CreateCertificateDetails,
|
117
|
+
"CreateHostnameDetails": CreateHostnameDetails,
|
118
|
+
"CreateListenerDetails": CreateListenerDetails,
|
119
|
+
"CreateLoadBalancerDetails": CreateLoadBalancerDetails,
|
120
|
+
"CreatePathRouteSetDetails": CreatePathRouteSetDetails,
|
121
|
+
"CreateRoutingPolicyDetails": CreateRoutingPolicyDetails,
|
122
|
+
"CreateRuleSetDetails": CreateRuleSetDetails,
|
123
|
+
"CreateSSLCipherSuiteDetails": CreateSSLCipherSuiteDetails,
|
124
|
+
"ExtendHttpRequestHeaderValueRule": ExtendHttpRequestHeaderValueRule,
|
125
|
+
"ExtendHttpResponseHeaderValueRule": ExtendHttpResponseHeaderValueRule,
|
126
|
+
"ForwardToBackendSet": ForwardToBackendSet,
|
127
|
+
"HealthCheckResult": HealthCheckResult,
|
128
|
+
"HealthChecker": HealthChecker,
|
129
|
+
"HealthCheckerDetails": HealthCheckerDetails,
|
130
|
+
"Hostname": Hostname,
|
131
|
+
"HostnameDetails": HostnameDetails,
|
132
|
+
"HttpHeaderRule": HttpHeaderRule,
|
133
|
+
"IpAddress": IpAddress,
|
134
|
+
"IpBasedMaxConnectionsRule": IpBasedMaxConnectionsRule,
|
135
|
+
"IpMaxConnections": IpMaxConnections,
|
136
|
+
"LBCookieSessionPersistenceConfigurationDetails": LBCookieSessionPersistenceConfigurationDetails,
|
137
|
+
"Listener": Listener,
|
138
|
+
"ListenerDetails": ListenerDetails,
|
139
|
+
"ListenerRuleSummary": ListenerRuleSummary,
|
140
|
+
"LoadBalancer": LoadBalancer,
|
141
|
+
"LoadBalancerHealth": LoadBalancerHealth,
|
142
|
+
"LoadBalancerHealthSummary": LoadBalancerHealthSummary,
|
143
|
+
"LoadBalancerPolicy": LoadBalancerPolicy,
|
144
|
+
"LoadBalancerProtocol": LoadBalancerProtocol,
|
145
|
+
"LoadBalancerShape": LoadBalancerShape,
|
146
|
+
"PathMatchCondition": PathMatchCondition,
|
147
|
+
"PathMatchType": PathMatchType,
|
148
|
+
"PathRoute": PathRoute,
|
149
|
+
"PathRouteSet": PathRouteSet,
|
150
|
+
"PathRouteSetDetails": PathRouteSetDetails,
|
151
|
+
"RedirectRule": RedirectRule,
|
152
|
+
"RedirectUri": RedirectUri,
|
153
|
+
"RemoveHttpRequestHeaderRule": RemoveHttpRequestHeaderRule,
|
154
|
+
"RemoveHttpResponseHeaderRule": RemoveHttpResponseHeaderRule,
|
155
|
+
"ReservedIP": ReservedIP,
|
156
|
+
"RoutingPolicy": RoutingPolicy,
|
157
|
+
"RoutingPolicyDetails": RoutingPolicyDetails,
|
158
|
+
"RoutingRule": RoutingRule,
|
159
|
+
"Rule": Rule,
|
160
|
+
"RuleCondition": RuleCondition,
|
161
|
+
"RuleSet": RuleSet,
|
162
|
+
"RuleSetDetails": RuleSetDetails,
|
163
|
+
"SSLCipherSuite": SSLCipherSuite,
|
164
|
+
"SSLCipherSuiteDetails": SSLCipherSuiteDetails,
|
165
|
+
"SSLConfiguration": SSLConfiguration,
|
166
|
+
"SSLConfigurationDetails": SSLConfigurationDetails,
|
167
|
+
"SessionPersistenceConfigurationDetails": SessionPersistenceConfigurationDetails,
|
168
|
+
"ShapeDetails": ShapeDetails,
|
169
|
+
"SourceIpAddressCondition": SourceIpAddressCondition,
|
170
|
+
"SourceVcnIdCondition": SourceVcnIdCondition,
|
171
|
+
"SourceVcnIpAddressCondition": SourceVcnIpAddressCondition,
|
172
|
+
"UpdateBackendDetails": UpdateBackendDetails,
|
173
|
+
"UpdateBackendSetDetails": UpdateBackendSetDetails,
|
174
|
+
"UpdateHealthCheckerDetails": UpdateHealthCheckerDetails,
|
175
|
+
"UpdateHostnameDetails": UpdateHostnameDetails,
|
176
|
+
"UpdateListenerDetails": UpdateListenerDetails,
|
177
|
+
"UpdateLoadBalancerDetails": UpdateLoadBalancerDetails,
|
178
|
+
"UpdateLoadBalancerShapeDetails": UpdateLoadBalancerShapeDetails,
|
179
|
+
"UpdateNetworkSecurityGroupsDetails": UpdateNetworkSecurityGroupsDetails,
|
180
|
+
"UpdatePathRouteSetDetails": UpdatePathRouteSetDetails,
|
181
|
+
"UpdateRoutingPolicyDetails": UpdateRoutingPolicyDetails,
|
182
|
+
"UpdateRuleSetDetails": UpdateRuleSetDetails,
|
183
|
+
"UpdateSSLCipherSuiteDetails": UpdateSSLCipherSuiteDetails,
|
184
|
+
"WorkRequest": WorkRequest,
|
185
|
+
"WorkRequestError": WorkRequestError
|
186
|
+
}
|
@@ -0,0 +1,97 @@
|
|
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 Action(object):
|
14
|
+
"""
|
15
|
+
An entity that represents an action to apply for a routing rule.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the name property of a Action.
|
19
|
+
#: This constant has a value of "FORWARD_TO_BACKENDSET"
|
20
|
+
NAME_FORWARD_TO_BACKENDSET = "FORWARD_TO_BACKENDSET"
|
21
|
+
|
22
|
+
def __init__(self, **kwargs):
|
23
|
+
"""
|
24
|
+
Initializes a new Action object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
25
|
+
to a service operations then you should favor using a subclass over the base class:
|
26
|
+
|
27
|
+
* :class:`~oci.load_balancer.models.ForwardToBackendSet`
|
28
|
+
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param name:
|
32
|
+
The value to assign to the name property of this Action.
|
33
|
+
Allowed values for this property are: "FORWARD_TO_BACKENDSET", 'UNKNOWN_ENUM_VALUE'.
|
34
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
35
|
+
:type name: str
|
36
|
+
|
37
|
+
"""
|
38
|
+
self.swagger_types = {
|
39
|
+
'name': 'str'
|
40
|
+
}
|
41
|
+
|
42
|
+
self.attribute_map = {
|
43
|
+
'name': 'name'
|
44
|
+
}
|
45
|
+
|
46
|
+
self._name = None
|
47
|
+
|
48
|
+
@staticmethod
|
49
|
+
def get_subtype(object_dictionary):
|
50
|
+
"""
|
51
|
+
Given the hash representation of a subtype of this class,
|
52
|
+
use the info in the hash to return the class of the subtype.
|
53
|
+
"""
|
54
|
+
type = object_dictionary['name']
|
55
|
+
|
56
|
+
if type == 'FORWARD_TO_BACKENDSET':
|
57
|
+
return 'ForwardToBackendSet'
|
58
|
+
else:
|
59
|
+
return 'Action'
|
60
|
+
|
61
|
+
@property
|
62
|
+
def name(self):
|
63
|
+
"""
|
64
|
+
**[Required]** Gets the name of this Action.
|
65
|
+
Allowed values for this property are: "FORWARD_TO_BACKENDSET", 'UNKNOWN_ENUM_VALUE'.
|
66
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
67
|
+
|
68
|
+
|
69
|
+
:return: The name of this Action.
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._name
|
73
|
+
|
74
|
+
@name.setter
|
75
|
+
def name(self, name):
|
76
|
+
"""
|
77
|
+
Sets the name of this Action.
|
78
|
+
|
79
|
+
:param name: The name of this Action.
|
80
|
+
:type: str
|
81
|
+
"""
|
82
|
+
allowed_values = ["FORWARD_TO_BACKENDSET"]
|
83
|
+
if not value_allowed_none_or_none_sentinel(name, allowed_values):
|
84
|
+
name = 'UNKNOWN_ENUM_VALUE'
|
85
|
+
self._name = name
|
86
|
+
|
87
|
+
def __repr__(self):
|
88
|
+
return formatted_flat_dict(self)
|
89
|
+
|
90
|
+
def __eq__(self, other):
|
91
|
+
if other is None:
|
92
|
+
return False
|
93
|
+
|
94
|
+
return self.__dict__ == other.__dict__
|
95
|
+
|
96
|
+
def __ne__(self, other):
|
97
|
+
return not self == other
|
@@ -0,0 +1,134 @@
|
|
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 import Rule
|
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 AddHttpRequestHeaderRule(Rule):
|
14
|
+
"""
|
15
|
+
An object that represents the action of adding a header to a request.
|
16
|
+
This rule applies only to HTTP listeners.
|
17
|
+
**NOTES:**
|
18
|
+
|
19
|
+
* If a matching header already exists in the request, the system removes all of its occurrences, and then adds the
|
20
|
+
new header.
|
21
|
+
|
22
|
+
* The system does not distinquish between underscore and dash characters in headers. That is, it treats
|
23
|
+
`example_header_name` and `example-header-name` as identical. Oracle recommends that you do not rely on underscore
|
24
|
+
or dash characters to uniquely distinguish header names.
|
25
|
+
"""
|
26
|
+
|
27
|
+
def __init__(self, **kwargs):
|
28
|
+
"""
|
29
|
+
Initializes a new AddHttpRequestHeaderRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.AddHttpRequestHeaderRule.action` attribute
|
30
|
+
of this class is ``ADD_HTTP_REQUEST_HEADER`` and it should not be changed.
|
31
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
32
|
+
|
33
|
+
:param action:
|
34
|
+
The value to assign to the action property of this AddHttpRequestHeaderRule.
|
35
|
+
Allowed values for this property are: "ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER", "ALLOW", "CONTROL_ACCESS_USING_HTTP_METHODS", "REDIRECT", "HTTP_HEADER", "IP_BASED_MAX_CONNECTIONS"
|
36
|
+
:type action: str
|
37
|
+
|
38
|
+
:param header:
|
39
|
+
The value to assign to the header property of this AddHttpRequestHeaderRule.
|
40
|
+
:type header: str
|
41
|
+
|
42
|
+
:param value:
|
43
|
+
The value to assign to the value property of this AddHttpRequestHeaderRule.
|
44
|
+
:type value: str
|
45
|
+
|
46
|
+
"""
|
47
|
+
self.swagger_types = {
|
48
|
+
'action': 'str',
|
49
|
+
'header': 'str',
|
50
|
+
'value': 'str'
|
51
|
+
}
|
52
|
+
|
53
|
+
self.attribute_map = {
|
54
|
+
'action': 'action',
|
55
|
+
'header': 'header',
|
56
|
+
'value': 'value'
|
57
|
+
}
|
58
|
+
|
59
|
+
self._action = None
|
60
|
+
self._header = None
|
61
|
+
self._value = None
|
62
|
+
self._action = 'ADD_HTTP_REQUEST_HEADER'
|
63
|
+
|
64
|
+
@property
|
65
|
+
def header(self):
|
66
|
+
"""
|
67
|
+
**[Required]** Gets the header of this AddHttpRequestHeaderRule.
|
68
|
+
A header name that conforms to RFC 7230.
|
69
|
+
|
70
|
+
Example: `example_header_name`
|
71
|
+
|
72
|
+
|
73
|
+
:return: The header of this AddHttpRequestHeaderRule.
|
74
|
+
:rtype: str
|
75
|
+
"""
|
76
|
+
return self._header
|
77
|
+
|
78
|
+
@header.setter
|
79
|
+
def header(self, header):
|
80
|
+
"""
|
81
|
+
Sets the header of this AddHttpRequestHeaderRule.
|
82
|
+
A header name that conforms to RFC 7230.
|
83
|
+
|
84
|
+
Example: `example_header_name`
|
85
|
+
|
86
|
+
|
87
|
+
:param header: The header of this AddHttpRequestHeaderRule.
|
88
|
+
:type: str
|
89
|
+
"""
|
90
|
+
self._header = header
|
91
|
+
|
92
|
+
@property
|
93
|
+
def value(self):
|
94
|
+
"""
|
95
|
+
**[Required]** Gets the value of this AddHttpRequestHeaderRule.
|
96
|
+
A header value that conforms to RFC 7230. With the following exceptions:
|
97
|
+
* value cannot contain `$`
|
98
|
+
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
99
|
+
|
100
|
+
Example: `example_value`
|
101
|
+
|
102
|
+
|
103
|
+
:return: The value of this AddHttpRequestHeaderRule.
|
104
|
+
:rtype: str
|
105
|
+
"""
|
106
|
+
return self._value
|
107
|
+
|
108
|
+
@value.setter
|
109
|
+
def value(self, value):
|
110
|
+
"""
|
111
|
+
Sets the value of this AddHttpRequestHeaderRule.
|
112
|
+
A header value that conforms to RFC 7230. With the following exceptions:
|
113
|
+
* value cannot contain `$`
|
114
|
+
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
115
|
+
|
116
|
+
Example: `example_value`
|
117
|
+
|
118
|
+
|
119
|
+
:param value: The value of this AddHttpRequestHeaderRule.
|
120
|
+
:type: str
|
121
|
+
"""
|
122
|
+
self._value = value
|
123
|
+
|
124
|
+
def __repr__(self):
|
125
|
+
return formatted_flat_dict(self)
|
126
|
+
|
127
|
+
def __eq__(self, other):
|
128
|
+
if other is None:
|
129
|
+
return False
|
130
|
+
|
131
|
+
return self.__dict__ == other.__dict__
|
132
|
+
|
133
|
+
def __ne__(self, other):
|
134
|
+
return not self == other
|
@@ -0,0 +1,137 @@
|
|
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 import Rule
|
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 AddHttpResponseHeaderRule(Rule):
|
14
|
+
"""
|
15
|
+
An object that represents the action of adding a header to a response.
|
16
|
+
This rule applies only to HTTP listeners.
|
17
|
+
|
18
|
+
**NOTES:**
|
19
|
+
|
20
|
+
* If a matching header already exists in the response, the system removes all of its occurrences, and then adds the
|
21
|
+
new header.
|
22
|
+
|
23
|
+
* The system does not distinquish between underscore and dash characters in headers. That is, it treats
|
24
|
+
`example_header_name` and `example-header-name` as identical. Oracle recommends that you do not rely on underscore
|
25
|
+
or dash characters to uniquely distinguish header names.
|
26
|
+
"""
|
27
|
+
|
28
|
+
def __init__(self, **kwargs):
|
29
|
+
"""
|
30
|
+
Initializes a new AddHttpResponseHeaderRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.AddHttpResponseHeaderRule.action` attribute
|
31
|
+
of this class is ``ADD_HTTP_RESPONSE_HEADER`` and it should not be changed.
|
32
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
33
|
+
|
34
|
+
:param action:
|
35
|
+
The value to assign to the action property of this AddHttpResponseHeaderRule.
|
36
|
+
Allowed values for this property are: "ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER", "ALLOW", "CONTROL_ACCESS_USING_HTTP_METHODS", "REDIRECT", "HTTP_HEADER", "IP_BASED_MAX_CONNECTIONS"
|
37
|
+
:type action: str
|
38
|
+
|
39
|
+
:param header:
|
40
|
+
The value to assign to the header property of this AddHttpResponseHeaderRule.
|
41
|
+
:type header: str
|
42
|
+
|
43
|
+
:param value:
|
44
|
+
The value to assign to the value property of this AddHttpResponseHeaderRule.
|
45
|
+
:type value: str
|
46
|
+
|
47
|
+
"""
|
48
|
+
self.swagger_types = {
|
49
|
+
'action': 'str',
|
50
|
+
'header': 'str',
|
51
|
+
'value': 'str'
|
52
|
+
}
|
53
|
+
|
54
|
+
self.attribute_map = {
|
55
|
+
'action': 'action',
|
56
|
+
'header': 'header',
|
57
|
+
'value': 'value'
|
58
|
+
}
|
59
|
+
|
60
|
+
self._action = None
|
61
|
+
self._header = None
|
62
|
+
self._value = None
|
63
|
+
self._action = 'ADD_HTTP_RESPONSE_HEADER'
|
64
|
+
|
65
|
+
@property
|
66
|
+
def header(self):
|
67
|
+
"""
|
68
|
+
**[Required]** Gets the header of this AddHttpResponseHeaderRule.
|
69
|
+
A header name that conforms to RFC 7230.
|
70
|
+
|
71
|
+
Example: `example_header_name`
|
72
|
+
|
73
|
+
|
74
|
+
:return: The header of this AddHttpResponseHeaderRule.
|
75
|
+
:rtype: str
|
76
|
+
"""
|
77
|
+
return self._header
|
78
|
+
|
79
|
+
@header.setter
|
80
|
+
def header(self, header):
|
81
|
+
"""
|
82
|
+
Sets the header of this AddHttpResponseHeaderRule.
|
83
|
+
A header name that conforms to RFC 7230.
|
84
|
+
|
85
|
+
Example: `example_header_name`
|
86
|
+
|
87
|
+
|
88
|
+
:param header: The header of this AddHttpResponseHeaderRule.
|
89
|
+
:type: str
|
90
|
+
"""
|
91
|
+
self._header = header
|
92
|
+
|
93
|
+
@property
|
94
|
+
def value(self):
|
95
|
+
"""
|
96
|
+
**[Required]** Gets the value of this AddHttpResponseHeaderRule.
|
97
|
+
A header value that conforms to RFC 7230.
|
98
|
+
With the following exceptions:
|
99
|
+
* value cannot contain `$`
|
100
|
+
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
101
|
+
|
102
|
+
Example: `example_value`
|
103
|
+
|
104
|
+
|
105
|
+
:return: The value of this AddHttpResponseHeaderRule.
|
106
|
+
:rtype: str
|
107
|
+
"""
|
108
|
+
return self._value
|
109
|
+
|
110
|
+
@value.setter
|
111
|
+
def value(self, value):
|
112
|
+
"""
|
113
|
+
Sets the value of this AddHttpResponseHeaderRule.
|
114
|
+
A header value that conforms to RFC 7230.
|
115
|
+
With the following exceptions:
|
116
|
+
* value cannot contain `$`
|
117
|
+
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
118
|
+
|
119
|
+
Example: `example_value`
|
120
|
+
|
121
|
+
|
122
|
+
:param value: The value of this AddHttpResponseHeaderRule.
|
123
|
+
:type: str
|
124
|
+
"""
|
125
|
+
self._value = value
|
126
|
+
|
127
|
+
def __repr__(self):
|
128
|
+
return formatted_flat_dict(self)
|
129
|
+
|
130
|
+
def __eq__(self, other):
|
131
|
+
if other is None:
|
132
|
+
return False
|
133
|
+
|
134
|
+
return self.__dict__ == other.__dict__
|
135
|
+
|
136
|
+
def __ne__(self, other):
|
137
|
+
return not self == other
|
@@ -0,0 +1,123 @@
|
|
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 import Rule
|
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 AllowRule(Rule):
|
14
|
+
"""
|
15
|
+
An object that represents the action of configuring an access control rule. Access control rules permit access
|
16
|
+
to application resources based on user-specified match conditions. This rule applies only to HTTP listeners.
|
17
|
+
|
18
|
+
**NOTES:**
|
19
|
+
* If you do not specify any access control rules, the default rule is to allow all traffic.
|
20
|
+
* If you add access control rules, the load balancer denies any traffic that does not match the rules.
|
21
|
+
* Maximum of two match conditions can be specified in a rule.
|
22
|
+
* You can specify this rule only with the following `RuleCondition` combinations:
|
23
|
+
* `SOURCE_IP_ADDRESS`
|
24
|
+
* `SOURCE_VCN_ID`
|
25
|
+
* `SOURCE_VCN_ID\", \"SOURCE_VCN_IP_ADDRESS`
|
26
|
+
"""
|
27
|
+
|
28
|
+
def __init__(self, **kwargs):
|
29
|
+
"""
|
30
|
+
Initializes a new AllowRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.AllowRule.action` attribute
|
31
|
+
of this class is ``ALLOW`` and it should not be changed.
|
32
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
33
|
+
|
34
|
+
:param action:
|
35
|
+
The value to assign to the action property of this AllowRule.
|
36
|
+
Allowed values for this property are: "ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER", "ALLOW", "CONTROL_ACCESS_USING_HTTP_METHODS", "REDIRECT", "HTTP_HEADER", "IP_BASED_MAX_CONNECTIONS"
|
37
|
+
:type action: str
|
38
|
+
|
39
|
+
:param conditions:
|
40
|
+
The value to assign to the conditions property of this AllowRule.
|
41
|
+
:type conditions: list[oci.load_balancer.models.RuleCondition]
|
42
|
+
|
43
|
+
:param description:
|
44
|
+
The value to assign to the description property of this AllowRule.
|
45
|
+
:type description: str
|
46
|
+
|
47
|
+
"""
|
48
|
+
self.swagger_types = {
|
49
|
+
'action': 'str',
|
50
|
+
'conditions': 'list[RuleCondition]',
|
51
|
+
'description': 'str'
|
52
|
+
}
|
53
|
+
|
54
|
+
self.attribute_map = {
|
55
|
+
'action': 'action',
|
56
|
+
'conditions': 'conditions',
|
57
|
+
'description': 'description'
|
58
|
+
}
|
59
|
+
|
60
|
+
self._action = None
|
61
|
+
self._conditions = None
|
62
|
+
self._description = None
|
63
|
+
self._action = 'ALLOW'
|
64
|
+
|
65
|
+
@property
|
66
|
+
def conditions(self):
|
67
|
+
"""
|
68
|
+
**[Required]** Gets the conditions of this AllowRule.
|
69
|
+
|
70
|
+
:return: The conditions of this AllowRule.
|
71
|
+
:rtype: list[oci.load_balancer.models.RuleCondition]
|
72
|
+
"""
|
73
|
+
return self._conditions
|
74
|
+
|
75
|
+
@conditions.setter
|
76
|
+
def conditions(self, conditions):
|
77
|
+
"""
|
78
|
+
Sets the conditions of this AllowRule.
|
79
|
+
|
80
|
+
:param conditions: The conditions of this AllowRule.
|
81
|
+
:type: list[oci.load_balancer.models.RuleCondition]
|
82
|
+
"""
|
83
|
+
self._conditions = conditions
|
84
|
+
|
85
|
+
@property
|
86
|
+
def description(self):
|
87
|
+
"""
|
88
|
+
Gets the description of this AllowRule.
|
89
|
+
A brief description of the access control rule. Avoid entering confidential information.
|
90
|
+
|
91
|
+
example: `192.168.0.0/16 and 2001:db8::/32 are trusted clients. Whitelist them.`
|
92
|
+
|
93
|
+
|
94
|
+
:return: The description of this AllowRule.
|
95
|
+
:rtype: str
|
96
|
+
"""
|
97
|
+
return self._description
|
98
|
+
|
99
|
+
@description.setter
|
100
|
+
def description(self, description):
|
101
|
+
"""
|
102
|
+
Sets the description of this AllowRule.
|
103
|
+
A brief description of the access control rule. Avoid entering confidential information.
|
104
|
+
|
105
|
+
example: `192.168.0.0/16 and 2001:db8::/32 are trusted clients. Whitelist them.`
|
106
|
+
|
107
|
+
|
108
|
+
:param description: The description of this AllowRule.
|
109
|
+
:type: str
|
110
|
+
"""
|
111
|
+
self._description = description
|
112
|
+
|
113
|
+
def __repr__(self):
|
114
|
+
return formatted_flat_dict(self)
|
115
|
+
|
116
|
+
def __eq__(self, other):
|
117
|
+
if other is None:
|
118
|
+
return False
|
119
|
+
|
120
|
+
return self.__dict__ == other.__dict__
|
121
|
+
|
122
|
+
def __ne__(self, other):
|
123
|
+
return not self == other
|