mv-oci-sdk 2.142.0__py3-none-any.whl → 2.142.0.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/METADATA +3 -3
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/RECORD +248 -6
- oci/file_storage/__init__.py +14 -0
- oci/file_storage/file_storage_client.py +8601 -0
- oci/file_storage/file_storage_client_composite_operations.py +2068 -0
- oci/file_storage/models/__init__.py +130 -0
- oci/file_storage/models/change_file_system_compartment_details.py +76 -0
- oci/file_storage/models/change_filesystem_snapshot_policy_compartment_details.py +76 -0
- oci/file_storage/models/change_mount_target_compartment_details.py +76 -0
- oci/file_storage/models/change_outbound_connector_compartment_details.py +78 -0
- oci/file_storage/models/change_replication_compartment_details.py +76 -0
- oci/file_storage/models/client_options.py +389 -0
- oci/file_storage/models/create_export_details.py +303 -0
- oci/file_storage/models/create_file_system_details.py +425 -0
- oci/file_storage/models/create_filesystem_snapshot_policy_details.py +337 -0
- oci/file_storage/models/create_kerberos_details.py +200 -0
- oci/file_storage/models/create_ldap_bind_account_details.py +220 -0
- oci/file_storage/models/create_ldap_idmap_details.py +317 -0
- oci/file_storage/models/create_mount_target_details.py +581 -0
- oci/file_storage/models/create_outbound_connector_details.py +309 -0
- oci/file_storage/models/create_replication_details.py +325 -0
- oci/file_storage/models/create_snapshot_details.py +261 -0
- oci/file_storage/models/endpoint.py +103 -0
- oci/file_storage/models/export.py +456 -0
- oci/file_storage/models/export_set.py +411 -0
- oci/file_storage/models/export_set_summary.py +316 -0
- oci/file_storage/models/export_summary.py +343 -0
- oci/file_storage/models/file_system.py +818 -0
- oci/file_storage/models/file_system_summary.py +659 -0
- oci/file_storage/models/filesystem_snapshot_policy.py +473 -0
- oci/file_storage/models/filesystem_snapshot_policy_summary.py +429 -0
- oci/file_storage/models/kerberos.py +200 -0
- oci/file_storage/models/kerberos_keytab_entry.py +166 -0
- oci/file_storage/models/key_tab_secret_details.py +138 -0
- oci/file_storage/models/ldap_bind_account.py +243 -0
- oci/file_storage/models/ldap_bind_account_summary.py +176 -0
- oci/file_storage/models/ldap_idmap.py +317 -0
- oci/file_storage/models/mount_target.py +828 -0
- oci/file_storage/models/mount_target_summary.py +696 -0
- oci/file_storage/models/outbound_connector.py +453 -0
- oci/file_storage/models/outbound_connector_summary.py +438 -0
- oci/file_storage/models/replication.py +740 -0
- oci/file_storage/models/replication_estimate.py +196 -0
- oci/file_storage/models/replication_summary.py +491 -0
- oci/file_storage/models/replication_target.py +679 -0
- oci/file_storage/models/replication_target_summary.py +425 -0
- oci/file_storage/models/resource_lock.py +185 -0
- oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
- oci/file_storage/models/snapshot.py +638 -0
- oci/file_storage/models/snapshot_schedule.py +487 -0
- oci/file_storage/models/snapshot_summary.py +601 -0
- oci/file_storage/models/source_details.py +119 -0
- oci/file_storage/models/update_export_details.py +111 -0
- oci/file_storage/models/update_export_set_details.py +172 -0
- oci/file_storage/models/update_file_system_details.py +246 -0
- oci/file_storage/models/update_filesystem_snapshot_policy_details.py +236 -0
- oci/file_storage/models/update_kerberos_details.py +200 -0
- oci/file_storage/models/update_ldap_idmap_details.py +317 -0
- oci/file_storage/models/update_mount_target_details.py +286 -0
- oci/file_storage/models/update_outbound_connector_details.py +158 -0
- oci/file_storage/models/update_replication_details.py +189 -0
- oci/file_storage/models/update_snapshot_details.py +156 -0
- oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
- oci/file_storage/models/validate_key_tabs_details.py +103 -0
- oci/file_storage/models/validate_key_tabs_response_details.py +103 -0
- oci/functions/__init__.py +16 -0
- oci/functions/functions_invoke_client.py +267 -0
- oci/functions/functions_invoke_client_composite_operations.py +26 -0
- oci/functions/functions_management_client.py +2056 -0
- oci/functions/functions_management_client_composite_operations.py +326 -0
- oci/functions/models/__init__.py +74 -0
- oci/functions/models/application.py +628 -0
- oci/functions/models/application_summary.py +512 -0
- oci/functions/models/application_trace_config.py +103 -0
- oci/functions/models/change_application_compartment_details.py +78 -0
- oci/functions/models/config_details.py +134 -0
- oci/functions/models/constant_provisioned_concurrency_config.py +82 -0
- oci/functions/models/create_application_details.py +446 -0
- oci/functions/models/create_function_details.py +437 -0
- oci/functions/models/function.py +734 -0
- oci/functions/models/function_provisioned_concurrency_config.py +109 -0
- oci/functions/models/function_source_details.py +101 -0
- oci/functions/models/function_summary.py +657 -0
- oci/functions/models/function_trace_config.py +72 -0
- oci/functions/models/image_policy_config.py +103 -0
- oci/functions/models/key_details.py +76 -0
- oci/functions/models/none_provisioned_concurrency_config.py +51 -0
- oci/functions/models/pbf_listing.py +408 -0
- oci/functions/models/pbf_listing_summary.py +386 -0
- oci/functions/models/pbf_listing_version.py +467 -0
- oci/functions/models/pbf_listing_version_summary.py +446 -0
- oci/functions/models/pbf_listing_versions_collection.py +73 -0
- oci/functions/models/pbf_listings_collection.py +72 -0
- oci/functions/models/policy_details.py +103 -0
- oci/functions/models/pre_built_function_source_details.py +88 -0
- oci/functions/models/publisher_details.py +72 -0
- oci/functions/models/requirement_details.py +106 -0
- oci/functions/models/trigger.py +72 -0
- oci/functions/models/trigger_summary.py +72 -0
- oci/functions/models/triggers_collection.py +72 -0
- oci/functions/models/update_application_details.py +290 -0
- oci/functions/models/update_function_details.py +346 -0
- oci/load_balancer/__init__.py +14 -0
- oci/load_balancer/load_balancer_client.py +7641 -0
- oci/load_balancer/load_balancer_client_composite_operations.py +1630 -0
- oci/load_balancer/models/__init__.py +186 -0
- oci/load_balancer/models/action.py +97 -0
- oci/load_balancer/models/add_http_request_header_rule.py +134 -0
- oci/load_balancer/models/add_http_response_header_rule.py +137 -0
- oci/load_balancer/models/allow_rule.py +123 -0
- oci/load_balancer/models/backend.py +350 -0
- oci/load_balancer/models/backend_details.py +312 -0
- oci/load_balancer/models/backend_health.py +143 -0
- oci/load_balancer/models/backend_set.py +305 -0
- oci/load_balancer/models/backend_set_details.py +262 -0
- oci/load_balancer/models/backend_set_health.py +265 -0
- oci/load_balancer/models/certificate.py +188 -0
- oci/load_balancer/models/certificate_details.py +270 -0
- oci/load_balancer/models/change_load_balancer_compartment_details.py +78 -0
- oci/load_balancer/models/connection_configuration.py +168 -0
- oci/load_balancer/models/control_access_using_http_methods_rule.py +162 -0
- oci/load_balancer/models/create_backend_details.py +316 -0
- oci/load_balancer/models/create_backend_set_details.py +305 -0
- oci/load_balancer/models/create_certificate_details.py +270 -0
- oci/load_balancer/models/create_hostname_details.py +121 -0
- oci/load_balancer/models/create_listener_details.py +387 -0
- oci/load_balancer/models/create_load_balancer_details.py +895 -0
- oci/load_balancer/models/create_path_route_set_details.py +111 -0
- oci/load_balancer/models/create_routing_policy_details.py +154 -0
- oci/load_balancer/models/create_rule_set_details.py +109 -0
- oci/load_balancer/models/create_ssl_cipher_suite_details.py +606 -0
- oci/load_balancer/models/extend_http_request_header_value_rule.py +181 -0
- oci/load_balancer/models/extend_http_response_header_value_rule.py +181 -0
- oci/load_balancer/models/forward_to_backend_set.py +86 -0
- oci/load_balancer/models/health_check_result.py +219 -0
- oci/load_balancer/models/health_checker.py +381 -0
- oci/load_balancer/models/health_checker_details.py +376 -0
- oci/load_balancer/models/hostname.py +121 -0
- oci/load_balancer/models/hostname_details.py +117 -0
- oci/load_balancer/models/http_header_rule.py +127 -0
- oci/load_balancer/models/ip_address.py +142 -0
- oci/load_balancer/models/ip_based_max_connections_rule.py +118 -0
- oci/load_balancer/models/ip_max_connections.py +111 -0
- oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.py +423 -0
- oci/load_balancer/models/listener.py +383 -0
- oci/load_balancer/models/listener_details.py +344 -0
- oci/load_balancer/models/listener_rule_summary.py +104 -0
- oci/load_balancer/models/load_balancer.py +1023 -0
- oci/load_balancer/models/load_balancer_health.py +281 -0
- oci/load_balancer/models/load_balancer_health_summary.py +167 -0
- oci/load_balancer/models/load_balancer_policy.py +80 -0
- oci/load_balancer/models/load_balancer_protocol.py +76 -0
- oci/load_balancer/models/load_balancer_shape.py +80 -0
- oci/load_balancer/models/path_match_condition.py +166 -0
- oci/load_balancer/models/path_match_type.py +126 -0
- oci/load_balancer/models/path_route.py +156 -0
- oci/load_balancer/models/path_route_set.py +112 -0
- oci/load_balancer/models/path_route_set_details.py +72 -0
- oci/load_balancer/models/redirect_rule.py +173 -0
- oci/load_balancer/models/redirect_uri.py +420 -0
- oci/load_balancer/models/remove_http_request_header_rule.py +90 -0
- oci/load_balancer/models/remove_http_response_header_rule.py +92 -0
- oci/load_balancer/models/reserved_ip.py +90 -0
- oci/load_balancer/models/routing_policy.py +152 -0
- oci/load_balancer/models/routing_policy_details.py +73 -0
- oci/load_balancer/models/routing_rule.py +135 -0
- oci/load_balancer/models/rule.py +177 -0
- oci/load_balancer/models/rule_condition.py +121 -0
- oci/load_balancer/models/rule_set.py +113 -0
- oci/load_balancer/models/rule_set_details.py +72 -0
- oci/load_balancer/models/session_persistence_configuration_details.py +136 -0
- oci/load_balancer/models/shape_details.py +121 -0
- oci/load_balancer/models/source_ip_address_condition.py +90 -0
- oci/load_balancer/models/source_vcn_id_condition.py +98 -0
- oci/load_balancer/models/source_vcn_ip_address_condition.py +97 -0
- oci/load_balancer/models/ssl_cipher_suite.py +606 -0
- oci/load_balancer/models/ssl_cipher_suite_details.py +606 -0
- oci/load_balancer/models/ssl_configuration.py +478 -0
- oci/load_balancer/models/ssl_configuration_details.py +476 -0
- oci/load_balancer/models/update_backend_details.py +242 -0
- oci/load_balancer/models/update_backend_set_details.py +264 -0
- oci/load_balancer/models/update_health_checker_details.py +374 -0
- oci/load_balancer/models/update_hostname_details.py +86 -0
- oci/load_balancer/models/update_listener_details.py +344 -0
- oci/load_balancer/models/update_load_balancer_details.py +356 -0
- oci/load_balancer/models/update_load_balancer_shape_details.py +127 -0
- oci/load_balancer/models/update_network_security_groups_details.py +99 -0
- oci/load_balancer/models/update_path_route_set_details.py +72 -0
- oci/load_balancer/models/update_routing_policy_details.py +115 -0
- oci/load_balancer/models/update_rule_set_details.py +72 -0
- oci/load_balancer/models/update_ssl_cipher_suite_details.py +300 -0
- oci/load_balancer/models/work_request.py +385 -0
- oci/load_balancer/models/work_request_error.py +115 -0
- oci/network_load_balancer/__init__.py +14 -0
- oci/network_load_balancer/models/__init__.py +106 -0
- oci/network_load_balancer/models/backend.py +338 -0
- oci/network_load_balancer/models/backend_collection.py +72 -0
- oci/network_load_balancer/models/backend_details.py +337 -0
- oci/network_load_balancer/models/backend_health.py +145 -0
- oci/network_load_balancer/models/backend_set.py +347 -0
- oci/network_load_balancer/models/backend_set_collection.py +72 -0
- oci/network_load_balancer/models/backend_set_details.py +306 -0
- oci/network_load_balancer/models/backend_set_health.py +265 -0
- oci/network_load_balancer/models/backend_set_summary.py +347 -0
- oci/network_load_balancer/models/backend_summary.py +338 -0
- oci/network_load_balancer/models/change_network_load_balancer_compartment_details.py +78 -0
- oci/network_load_balancer/models/create_backend_details.py +336 -0
- oci/network_load_balancer/models/create_backend_set_details.py +347 -0
- oci/network_load_balancer/models/create_listener_details.py +396 -0
- oci/network_load_balancer/models/create_network_load_balancer_details.py +694 -0
- oci/network_load_balancer/models/dns_health_checker_details.py +264 -0
- oci/network_load_balancer/models/health_check_result.py +139 -0
- oci/network_load_balancer/models/health_checker.py +449 -0
- oci/network_load_balancer/models/health_checker_details.py +449 -0
- oci/network_load_balancer/models/ip_address.py +189 -0
- oci/network_load_balancer/models/listener.py +396 -0
- oci/network_load_balancer/models/listener_collection.py +72 -0
- oci/network_load_balancer/models/listener_details.py +396 -0
- oci/network_load_balancer/models/listener_summary.py +396 -0
- oci/network_load_balancer/models/network_load_balancer.py +847 -0
- oci/network_load_balancer/models/network_load_balancer_collection.py +72 -0
- oci/network_load_balancer/models/network_load_balancer_health.py +281 -0
- oci/network_load_balancer/models/network_load_balancer_health_collection.py +72 -0
- oci/network_load_balancer/models/network_load_balancer_health_summary.py +167 -0
- oci/network_load_balancer/models/network_load_balancer_summary.py +833 -0
- oci/network_load_balancer/models/network_load_balancers_policy_collection.py +72 -0
- oci/network_load_balancer/models/network_load_balancers_protocol_collection.py +73 -0
- oci/network_load_balancer/models/reserved_ip.py +90 -0
- oci/network_load_balancer/models/update_backend_details.py +199 -0
- oci/network_load_balancer/models/update_backend_set_details.py +288 -0
- oci/network_load_balancer/models/update_health_checker_details.py +444 -0
- oci/network_load_balancer/models/update_listener_details.py +361 -0
- oci/network_load_balancer/models/update_network_load_balancer_details.py +386 -0
- oci/network_load_balancer/models/update_network_security_groups_details.py +99 -0
- oci/network_load_balancer/models/work_request.py +454 -0
- oci/network_load_balancer/models/work_request_collection.py +72 -0
- oci/network_load_balancer/models/work_request_error.py +136 -0
- oci/network_load_balancer/models/work_request_error_collection.py +72 -0
- oci/network_load_balancer/models/work_request_log_entry.py +103 -0
- oci/network_load_balancer/models/work_request_log_entry_collection.py +72 -0
- oci/network_load_balancer/models/work_request_resource.py +199 -0
- oci/network_load_balancer/models/work_request_summary.py +454 -0
- oci/network_load_balancer/network_load_balancer_client.py +4392 -0
- oci/network_load_balancer/network_load_balancer_client_composite_operations.py +757 -0
- oci/version.py +1 -1
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/LICENSE.txt +0 -0
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/WHEEL +0 -0
- {mv_oci_sdk-2.142.0.dist-info → mv_oci_sdk-2.142.0.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,181 @@
|
|
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 ExtendHttpRequestHeaderValueRule(Rule):
|
14
|
+
"""
|
15
|
+
An object that represents the action of modifying a request header value. This rule applies only to HTTP listeners.
|
16
|
+
|
17
|
+
This rule adds a prefix, a suffix, or both to the header value.
|
18
|
+
|
19
|
+
**NOTES:**
|
20
|
+
|
21
|
+
* This rule requires a value for a prefix, suffix, or both.
|
22
|
+
|
23
|
+
* The system does not support this rule for headers with multiple values.
|
24
|
+
|
25
|
+
* The system does not distinquish between underscore and dash characters in headers. That is, it treats
|
26
|
+
`example_header_name` and `example-header-name` as identical. If two such headers appear in a request, the system
|
27
|
+
applies the action to the first header it finds. The affected header cannot be determined in advance. Oracle
|
28
|
+
recommends that you do not rely on underscore or dash characters to uniquely distinguish header names.
|
29
|
+
"""
|
30
|
+
|
31
|
+
def __init__(self, **kwargs):
|
32
|
+
"""
|
33
|
+
Initializes a new ExtendHttpRequestHeaderValueRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.ExtendHttpRequestHeaderValueRule.action` attribute
|
34
|
+
of this class is ``EXTEND_HTTP_REQUEST_HEADER_VALUE`` and it should not be changed.
|
35
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
36
|
+
|
37
|
+
:param action:
|
38
|
+
The value to assign to the action property of this ExtendHttpRequestHeaderValueRule.
|
39
|
+
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"
|
40
|
+
:type action: str
|
41
|
+
|
42
|
+
:param header:
|
43
|
+
The value to assign to the header property of this ExtendHttpRequestHeaderValueRule.
|
44
|
+
:type header: str
|
45
|
+
|
46
|
+
:param prefix:
|
47
|
+
The value to assign to the prefix property of this ExtendHttpRequestHeaderValueRule.
|
48
|
+
:type prefix: str
|
49
|
+
|
50
|
+
:param suffix:
|
51
|
+
The value to assign to the suffix property of this ExtendHttpRequestHeaderValueRule.
|
52
|
+
:type suffix: str
|
53
|
+
|
54
|
+
"""
|
55
|
+
self.swagger_types = {
|
56
|
+
'action': 'str',
|
57
|
+
'header': 'str',
|
58
|
+
'prefix': 'str',
|
59
|
+
'suffix': 'str'
|
60
|
+
}
|
61
|
+
|
62
|
+
self.attribute_map = {
|
63
|
+
'action': 'action',
|
64
|
+
'header': 'header',
|
65
|
+
'prefix': 'prefix',
|
66
|
+
'suffix': 'suffix'
|
67
|
+
}
|
68
|
+
|
69
|
+
self._action = None
|
70
|
+
self._header = None
|
71
|
+
self._prefix = None
|
72
|
+
self._suffix = None
|
73
|
+
self._action = 'EXTEND_HTTP_REQUEST_HEADER_VALUE'
|
74
|
+
|
75
|
+
@property
|
76
|
+
def header(self):
|
77
|
+
"""
|
78
|
+
**[Required]** Gets the header of this ExtendHttpRequestHeaderValueRule.
|
79
|
+
A header name that conforms to RFC 7230.
|
80
|
+
|
81
|
+
Example: `example_header_name`
|
82
|
+
|
83
|
+
|
84
|
+
:return: The header of this ExtendHttpRequestHeaderValueRule.
|
85
|
+
:rtype: str
|
86
|
+
"""
|
87
|
+
return self._header
|
88
|
+
|
89
|
+
@header.setter
|
90
|
+
def header(self, header):
|
91
|
+
"""
|
92
|
+
Sets the header of this ExtendHttpRequestHeaderValueRule.
|
93
|
+
A header name that conforms to RFC 7230.
|
94
|
+
|
95
|
+
Example: `example_header_name`
|
96
|
+
|
97
|
+
|
98
|
+
:param header: The header of this ExtendHttpRequestHeaderValueRule.
|
99
|
+
:type: str
|
100
|
+
"""
|
101
|
+
self._header = header
|
102
|
+
|
103
|
+
@property
|
104
|
+
def prefix(self):
|
105
|
+
"""
|
106
|
+
Gets the prefix of this ExtendHttpRequestHeaderValueRule.
|
107
|
+
A string to prepend to the header value. The resulting header value must conform to RFC 7230.
|
108
|
+
With the following exceptions:
|
109
|
+
* value cannot contain `$`
|
110
|
+
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
111
|
+
|
112
|
+
Example: `example_prefix_value`
|
113
|
+
|
114
|
+
|
115
|
+
:return: The prefix of this ExtendHttpRequestHeaderValueRule.
|
116
|
+
:rtype: str
|
117
|
+
"""
|
118
|
+
return self._prefix
|
119
|
+
|
120
|
+
@prefix.setter
|
121
|
+
def prefix(self, prefix):
|
122
|
+
"""
|
123
|
+
Sets the prefix of this ExtendHttpRequestHeaderValueRule.
|
124
|
+
A string to prepend to the header value. The resulting header value must conform to RFC 7230.
|
125
|
+
With the following exceptions:
|
126
|
+
* value cannot contain `$`
|
127
|
+
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
128
|
+
|
129
|
+
Example: `example_prefix_value`
|
130
|
+
|
131
|
+
|
132
|
+
:param prefix: The prefix of this ExtendHttpRequestHeaderValueRule.
|
133
|
+
:type: str
|
134
|
+
"""
|
135
|
+
self._prefix = prefix
|
136
|
+
|
137
|
+
@property
|
138
|
+
def suffix(self):
|
139
|
+
"""
|
140
|
+
Gets the suffix of this ExtendHttpRequestHeaderValueRule.
|
141
|
+
A string to append to the header value. The resulting header value must conform to RFC 7230.
|
142
|
+
With the following exceptions:
|
143
|
+
* value cannot contain `$`
|
144
|
+
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
145
|
+
|
146
|
+
Example: `example_suffix_value`
|
147
|
+
|
148
|
+
|
149
|
+
:return: The suffix of this ExtendHttpRequestHeaderValueRule.
|
150
|
+
:rtype: str
|
151
|
+
"""
|
152
|
+
return self._suffix
|
153
|
+
|
154
|
+
@suffix.setter
|
155
|
+
def suffix(self, suffix):
|
156
|
+
"""
|
157
|
+
Sets the suffix of this ExtendHttpRequestHeaderValueRule.
|
158
|
+
A string to append to the header value. The resulting header value must conform to RFC 7230.
|
159
|
+
With the following exceptions:
|
160
|
+
* value cannot contain `$`
|
161
|
+
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
162
|
+
|
163
|
+
Example: `example_suffix_value`
|
164
|
+
|
165
|
+
|
166
|
+
:param suffix: The suffix of this ExtendHttpRequestHeaderValueRule.
|
167
|
+
:type: str
|
168
|
+
"""
|
169
|
+
self._suffix = suffix
|
170
|
+
|
171
|
+
def __repr__(self):
|
172
|
+
return formatted_flat_dict(self)
|
173
|
+
|
174
|
+
def __eq__(self, other):
|
175
|
+
if other is None:
|
176
|
+
return False
|
177
|
+
|
178
|
+
return self.__dict__ == other.__dict__
|
179
|
+
|
180
|
+
def __ne__(self, other):
|
181
|
+
return not self == other
|
@@ -0,0 +1,181 @@
|
|
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 ExtendHttpResponseHeaderValueRule(Rule):
|
14
|
+
"""
|
15
|
+
An object that represents the action of modifying a response header value. This rule applies only to HTTP listeners.
|
16
|
+
|
17
|
+
This rule adds a prefix, a suffix, or both to the header value.
|
18
|
+
|
19
|
+
**NOTES:**
|
20
|
+
|
21
|
+
* This rule requires a value for a prefix, suffix, or both.
|
22
|
+
|
23
|
+
* The system does not support this rule for headers with multiple values.
|
24
|
+
|
25
|
+
* The system does not distinquish between underscore and dash characters in headers. That is, it treats
|
26
|
+
`example_header_name` and `example-header-name` as identical. If two such headers appear in a request, the system
|
27
|
+
applies the action to the first header it finds. The affected header cannot be determined in advance. Oracle
|
28
|
+
recommends that you do not rely on underscore or dash characters to uniquely distinguish header names.
|
29
|
+
"""
|
30
|
+
|
31
|
+
def __init__(self, **kwargs):
|
32
|
+
"""
|
33
|
+
Initializes a new ExtendHttpResponseHeaderValueRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.ExtendHttpResponseHeaderValueRule.action` attribute
|
34
|
+
of this class is ``EXTEND_HTTP_RESPONSE_HEADER_VALUE`` and it should not be changed.
|
35
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
36
|
+
|
37
|
+
:param action:
|
38
|
+
The value to assign to the action property of this ExtendHttpResponseHeaderValueRule.
|
39
|
+
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"
|
40
|
+
:type action: str
|
41
|
+
|
42
|
+
:param header:
|
43
|
+
The value to assign to the header property of this ExtendHttpResponseHeaderValueRule.
|
44
|
+
:type header: str
|
45
|
+
|
46
|
+
:param prefix:
|
47
|
+
The value to assign to the prefix property of this ExtendHttpResponseHeaderValueRule.
|
48
|
+
:type prefix: str
|
49
|
+
|
50
|
+
:param suffix:
|
51
|
+
The value to assign to the suffix property of this ExtendHttpResponseHeaderValueRule.
|
52
|
+
:type suffix: str
|
53
|
+
|
54
|
+
"""
|
55
|
+
self.swagger_types = {
|
56
|
+
'action': 'str',
|
57
|
+
'header': 'str',
|
58
|
+
'prefix': 'str',
|
59
|
+
'suffix': 'str'
|
60
|
+
}
|
61
|
+
|
62
|
+
self.attribute_map = {
|
63
|
+
'action': 'action',
|
64
|
+
'header': 'header',
|
65
|
+
'prefix': 'prefix',
|
66
|
+
'suffix': 'suffix'
|
67
|
+
}
|
68
|
+
|
69
|
+
self._action = None
|
70
|
+
self._header = None
|
71
|
+
self._prefix = None
|
72
|
+
self._suffix = None
|
73
|
+
self._action = 'EXTEND_HTTP_RESPONSE_HEADER_VALUE'
|
74
|
+
|
75
|
+
@property
|
76
|
+
def header(self):
|
77
|
+
"""
|
78
|
+
**[Required]** Gets the header of this ExtendHttpResponseHeaderValueRule.
|
79
|
+
A header name that conforms to RFC 7230.
|
80
|
+
|
81
|
+
Example: `example_header_name`
|
82
|
+
|
83
|
+
|
84
|
+
:return: The header of this ExtendHttpResponseHeaderValueRule.
|
85
|
+
:rtype: str
|
86
|
+
"""
|
87
|
+
return self._header
|
88
|
+
|
89
|
+
@header.setter
|
90
|
+
def header(self, header):
|
91
|
+
"""
|
92
|
+
Sets the header of this ExtendHttpResponseHeaderValueRule.
|
93
|
+
A header name that conforms to RFC 7230.
|
94
|
+
|
95
|
+
Example: `example_header_name`
|
96
|
+
|
97
|
+
|
98
|
+
:param header: The header of this ExtendHttpResponseHeaderValueRule.
|
99
|
+
:type: str
|
100
|
+
"""
|
101
|
+
self._header = header
|
102
|
+
|
103
|
+
@property
|
104
|
+
def prefix(self):
|
105
|
+
"""
|
106
|
+
Gets the prefix of this ExtendHttpResponseHeaderValueRule.
|
107
|
+
A string to prepend to the header value. The resulting header value must still conform to RFC 7230.
|
108
|
+
With the following exceptions:
|
109
|
+
* value cannot contain `$`
|
110
|
+
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
111
|
+
|
112
|
+
Example: `example_prefix_value`
|
113
|
+
|
114
|
+
|
115
|
+
:return: The prefix of this ExtendHttpResponseHeaderValueRule.
|
116
|
+
:rtype: str
|
117
|
+
"""
|
118
|
+
return self._prefix
|
119
|
+
|
120
|
+
@prefix.setter
|
121
|
+
def prefix(self, prefix):
|
122
|
+
"""
|
123
|
+
Sets the prefix of this ExtendHttpResponseHeaderValueRule.
|
124
|
+
A string to prepend to the header value. The resulting header value must still conform to RFC 7230.
|
125
|
+
With the following exceptions:
|
126
|
+
* value cannot contain `$`
|
127
|
+
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
128
|
+
|
129
|
+
Example: `example_prefix_value`
|
130
|
+
|
131
|
+
|
132
|
+
:param prefix: The prefix of this ExtendHttpResponseHeaderValueRule.
|
133
|
+
:type: str
|
134
|
+
"""
|
135
|
+
self._prefix = prefix
|
136
|
+
|
137
|
+
@property
|
138
|
+
def suffix(self):
|
139
|
+
"""
|
140
|
+
Gets the suffix of this ExtendHttpResponseHeaderValueRule.
|
141
|
+
A string to append to the header value. The resulting header value must still conform to RFC 7230.
|
142
|
+
With the following exceptions:
|
143
|
+
* value cannot contain `$`
|
144
|
+
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
145
|
+
|
146
|
+
Example: `example_suffix_value`
|
147
|
+
|
148
|
+
|
149
|
+
:return: The suffix of this ExtendHttpResponseHeaderValueRule.
|
150
|
+
:rtype: str
|
151
|
+
"""
|
152
|
+
return self._suffix
|
153
|
+
|
154
|
+
@suffix.setter
|
155
|
+
def suffix(self, suffix):
|
156
|
+
"""
|
157
|
+
Sets the suffix of this ExtendHttpResponseHeaderValueRule.
|
158
|
+
A string to append to the header value. The resulting header value must still conform to RFC 7230.
|
159
|
+
With the following exceptions:
|
160
|
+
* value cannot contain `$`
|
161
|
+
* value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid.
|
162
|
+
|
163
|
+
Example: `example_suffix_value`
|
164
|
+
|
165
|
+
|
166
|
+
:param suffix: The suffix of this ExtendHttpResponseHeaderValueRule.
|
167
|
+
:type: str
|
168
|
+
"""
|
169
|
+
self._suffix = suffix
|
170
|
+
|
171
|
+
def __repr__(self):
|
172
|
+
return formatted_flat_dict(self)
|
173
|
+
|
174
|
+
def __eq__(self, other):
|
175
|
+
if other is None:
|
176
|
+
return False
|
177
|
+
|
178
|
+
return self.__dict__ == other.__dict__
|
179
|
+
|
180
|
+
def __ne__(self, other):
|
181
|
+
return not self == other
|
@@ -0,0 +1,86 @@
|
|
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 .action import Action
|
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 ForwardToBackendSet(Action):
|
14
|
+
"""
|
15
|
+
Action to forward requests to a given backend set.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ForwardToBackendSet object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.ForwardToBackendSet.name` attribute
|
21
|
+
of this class is ``FORWARD_TO_BACKENDSET`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param name:
|
25
|
+
The value to assign to the name property of this ForwardToBackendSet.
|
26
|
+
Allowed values for this property are: "FORWARD_TO_BACKENDSET"
|
27
|
+
:type name: str
|
28
|
+
|
29
|
+
:param backend_set_name:
|
30
|
+
The value to assign to the backend_set_name property of this ForwardToBackendSet.
|
31
|
+
:type backend_set_name: str
|
32
|
+
|
33
|
+
"""
|
34
|
+
self.swagger_types = {
|
35
|
+
'name': 'str',
|
36
|
+
'backend_set_name': 'str'
|
37
|
+
}
|
38
|
+
|
39
|
+
self.attribute_map = {
|
40
|
+
'name': 'name',
|
41
|
+
'backend_set_name': 'backendSetName'
|
42
|
+
}
|
43
|
+
|
44
|
+
self._name = None
|
45
|
+
self._backend_set_name = None
|
46
|
+
self._name = 'FORWARD_TO_BACKENDSET'
|
47
|
+
|
48
|
+
@property
|
49
|
+
def backend_set_name(self):
|
50
|
+
"""
|
51
|
+
**[Required]** Gets the backend_set_name of this ForwardToBackendSet.
|
52
|
+
Name of the backend set the listener will forward the traffic to.
|
53
|
+
|
54
|
+
Example: `backendSetForImages`
|
55
|
+
|
56
|
+
|
57
|
+
:return: The backend_set_name of this ForwardToBackendSet.
|
58
|
+
:rtype: str
|
59
|
+
"""
|
60
|
+
return self._backend_set_name
|
61
|
+
|
62
|
+
@backend_set_name.setter
|
63
|
+
def backend_set_name(self, backend_set_name):
|
64
|
+
"""
|
65
|
+
Sets the backend_set_name of this ForwardToBackendSet.
|
66
|
+
Name of the backend set the listener will forward the traffic to.
|
67
|
+
|
68
|
+
Example: `backendSetForImages`
|
69
|
+
|
70
|
+
|
71
|
+
:param backend_set_name: The backend_set_name of this ForwardToBackendSet.
|
72
|
+
:type: str
|
73
|
+
"""
|
74
|
+
self._backend_set_name = backend_set_name
|
75
|
+
|
76
|
+
def __repr__(self):
|
77
|
+
return formatted_flat_dict(self)
|
78
|
+
|
79
|
+
def __eq__(self, other):
|
80
|
+
if other is None:
|
81
|
+
return False
|
82
|
+
|
83
|
+
return self.__dict__ == other.__dict__
|
84
|
+
|
85
|
+
def __ne__(self, other):
|
86
|
+
return not self == other
|
@@ -0,0 +1,219 @@
|
|
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 HealthCheckResult(object):
|
14
|
+
"""
|
15
|
+
Information about a single backend server health check result reported by a load balancer.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the health_check_status property of a HealthCheckResult.
|
19
|
+
#: This constant has a value of "OK"
|
20
|
+
HEALTH_CHECK_STATUS_OK = "OK"
|
21
|
+
|
22
|
+
#: A constant which can be used with the health_check_status property of a HealthCheckResult.
|
23
|
+
#: This constant has a value of "INVALID_STATUS_CODE"
|
24
|
+
HEALTH_CHECK_STATUS_INVALID_STATUS_CODE = "INVALID_STATUS_CODE"
|
25
|
+
|
26
|
+
#: A constant which can be used with the health_check_status property of a HealthCheckResult.
|
27
|
+
#: This constant has a value of "TIMED_OUT"
|
28
|
+
HEALTH_CHECK_STATUS_TIMED_OUT = "TIMED_OUT"
|
29
|
+
|
30
|
+
#: A constant which can be used with the health_check_status property of a HealthCheckResult.
|
31
|
+
#: This constant has a value of "REGEX_MISMATCH"
|
32
|
+
HEALTH_CHECK_STATUS_REGEX_MISMATCH = "REGEX_MISMATCH"
|
33
|
+
|
34
|
+
#: A constant which can be used with the health_check_status property of a HealthCheckResult.
|
35
|
+
#: This constant has a value of "CONNECT_FAILED"
|
36
|
+
HEALTH_CHECK_STATUS_CONNECT_FAILED = "CONNECT_FAILED"
|
37
|
+
|
38
|
+
#: A constant which can be used with the health_check_status property of a HealthCheckResult.
|
39
|
+
#: This constant has a value of "IO_ERROR"
|
40
|
+
HEALTH_CHECK_STATUS_IO_ERROR = "IO_ERROR"
|
41
|
+
|
42
|
+
#: A constant which can be used with the health_check_status property of a HealthCheckResult.
|
43
|
+
#: This constant has a value of "OFFLINE"
|
44
|
+
HEALTH_CHECK_STATUS_OFFLINE = "OFFLINE"
|
45
|
+
|
46
|
+
#: A constant which can be used with the health_check_status property of a HealthCheckResult.
|
47
|
+
#: This constant has a value of "UNKNOWN"
|
48
|
+
HEALTH_CHECK_STATUS_UNKNOWN = "UNKNOWN"
|
49
|
+
|
50
|
+
def __init__(self, **kwargs):
|
51
|
+
"""
|
52
|
+
Initializes a new HealthCheckResult object with values from keyword arguments.
|
53
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
54
|
+
|
55
|
+
:param subnet_id:
|
56
|
+
The value to assign to the subnet_id property of this HealthCheckResult.
|
57
|
+
:type subnet_id: str
|
58
|
+
|
59
|
+
:param source_ip_address:
|
60
|
+
The value to assign to the source_ip_address property of this HealthCheckResult.
|
61
|
+
:type source_ip_address: str
|
62
|
+
|
63
|
+
:param timestamp:
|
64
|
+
The value to assign to the timestamp property of this HealthCheckResult.
|
65
|
+
:type timestamp: datetime
|
66
|
+
|
67
|
+
:param health_check_status:
|
68
|
+
The value to assign to the health_check_status property of this HealthCheckResult.
|
69
|
+
Allowed values for this property are: "OK", "INVALID_STATUS_CODE", "TIMED_OUT", "REGEX_MISMATCH", "CONNECT_FAILED", "IO_ERROR", "OFFLINE", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
|
70
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
71
|
+
:type health_check_status: str
|
72
|
+
|
73
|
+
"""
|
74
|
+
self.swagger_types = {
|
75
|
+
'subnet_id': 'str',
|
76
|
+
'source_ip_address': 'str',
|
77
|
+
'timestamp': 'datetime',
|
78
|
+
'health_check_status': 'str'
|
79
|
+
}
|
80
|
+
|
81
|
+
self.attribute_map = {
|
82
|
+
'subnet_id': 'subnetId',
|
83
|
+
'source_ip_address': 'sourceIpAddress',
|
84
|
+
'timestamp': 'timestamp',
|
85
|
+
'health_check_status': 'healthCheckStatus'
|
86
|
+
}
|
87
|
+
|
88
|
+
self._subnet_id = None
|
89
|
+
self._source_ip_address = None
|
90
|
+
self._timestamp = None
|
91
|
+
self._health_check_status = None
|
92
|
+
|
93
|
+
@property
|
94
|
+
def subnet_id(self):
|
95
|
+
"""
|
96
|
+
**[Required]** Gets the subnet_id of this HealthCheckResult.
|
97
|
+
The `OCID`__ of the subnet hosting the load balancer that reported this health check status.
|
98
|
+
|
99
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
100
|
+
|
101
|
+
|
102
|
+
:return: The subnet_id of this HealthCheckResult.
|
103
|
+
:rtype: str
|
104
|
+
"""
|
105
|
+
return self._subnet_id
|
106
|
+
|
107
|
+
@subnet_id.setter
|
108
|
+
def subnet_id(self, subnet_id):
|
109
|
+
"""
|
110
|
+
Sets the subnet_id of this HealthCheckResult.
|
111
|
+
The `OCID`__ of the subnet hosting the load balancer that reported this health check status.
|
112
|
+
|
113
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
114
|
+
|
115
|
+
|
116
|
+
:param subnet_id: The subnet_id of this HealthCheckResult.
|
117
|
+
:type: str
|
118
|
+
"""
|
119
|
+
self._subnet_id = subnet_id
|
120
|
+
|
121
|
+
@property
|
122
|
+
def source_ip_address(self):
|
123
|
+
"""
|
124
|
+
**[Required]** Gets the source_ip_address of this HealthCheckResult.
|
125
|
+
The IP address of the health check status report provider. This identifier helps you differentiate same-subnet
|
126
|
+
load balancers that report health check status.
|
127
|
+
|
128
|
+
Example: `10.0.0.7`
|
129
|
+
|
130
|
+
|
131
|
+
:return: The source_ip_address of this HealthCheckResult.
|
132
|
+
:rtype: str
|
133
|
+
"""
|
134
|
+
return self._source_ip_address
|
135
|
+
|
136
|
+
@source_ip_address.setter
|
137
|
+
def source_ip_address(self, source_ip_address):
|
138
|
+
"""
|
139
|
+
Sets the source_ip_address of this HealthCheckResult.
|
140
|
+
The IP address of the health check status report provider. This identifier helps you differentiate same-subnet
|
141
|
+
load balancers that report health check status.
|
142
|
+
|
143
|
+
Example: `10.0.0.7`
|
144
|
+
|
145
|
+
|
146
|
+
:param source_ip_address: The source_ip_address of this HealthCheckResult.
|
147
|
+
:type: str
|
148
|
+
"""
|
149
|
+
self._source_ip_address = source_ip_address
|
150
|
+
|
151
|
+
@property
|
152
|
+
def timestamp(self):
|
153
|
+
"""
|
154
|
+
**[Required]** Gets the timestamp of this HealthCheckResult.
|
155
|
+
The date and time the data was retrieved, in the format defined by RFC3339.
|
156
|
+
|
157
|
+
Example: `2017-06-02T18:28:11+00:00`
|
158
|
+
|
159
|
+
|
160
|
+
:return: The timestamp of this HealthCheckResult.
|
161
|
+
:rtype: datetime
|
162
|
+
"""
|
163
|
+
return self._timestamp
|
164
|
+
|
165
|
+
@timestamp.setter
|
166
|
+
def timestamp(self, timestamp):
|
167
|
+
"""
|
168
|
+
Sets the timestamp of this HealthCheckResult.
|
169
|
+
The date and time the data was retrieved, in the format defined by RFC3339.
|
170
|
+
|
171
|
+
Example: `2017-06-02T18:28:11+00:00`
|
172
|
+
|
173
|
+
|
174
|
+
:param timestamp: The timestamp of this HealthCheckResult.
|
175
|
+
:type: datetime
|
176
|
+
"""
|
177
|
+
self._timestamp = timestamp
|
178
|
+
|
179
|
+
@property
|
180
|
+
def health_check_status(self):
|
181
|
+
"""
|
182
|
+
**[Required]** Gets the health_check_status of this HealthCheckResult.
|
183
|
+
The result of the most recent health check.
|
184
|
+
|
185
|
+
Allowed values for this property are: "OK", "INVALID_STATUS_CODE", "TIMED_OUT", "REGEX_MISMATCH", "CONNECT_FAILED", "IO_ERROR", "OFFLINE", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
|
186
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
187
|
+
|
188
|
+
|
189
|
+
:return: The health_check_status of this HealthCheckResult.
|
190
|
+
:rtype: str
|
191
|
+
"""
|
192
|
+
return self._health_check_status
|
193
|
+
|
194
|
+
@health_check_status.setter
|
195
|
+
def health_check_status(self, health_check_status):
|
196
|
+
"""
|
197
|
+
Sets the health_check_status of this HealthCheckResult.
|
198
|
+
The result of the most recent health check.
|
199
|
+
|
200
|
+
|
201
|
+
:param health_check_status: The health_check_status of this HealthCheckResult.
|
202
|
+
:type: str
|
203
|
+
"""
|
204
|
+
allowed_values = ["OK", "INVALID_STATUS_CODE", "TIMED_OUT", "REGEX_MISMATCH", "CONNECT_FAILED", "IO_ERROR", "OFFLINE", "UNKNOWN"]
|
205
|
+
if not value_allowed_none_or_none_sentinel(health_check_status, allowed_values):
|
206
|
+
health_check_status = 'UNKNOWN_ENUM_VALUE'
|
207
|
+
self._health_check_status = health_check_status
|
208
|
+
|
209
|
+
def __repr__(self):
|
210
|
+
return formatted_flat_dict(self)
|
211
|
+
|
212
|
+
def __eq__(self, other):
|
213
|
+
if other is None:
|
214
|
+
return False
|
215
|
+
|
216
|
+
return self.__dict__ == other.__dict__
|
217
|
+
|
218
|
+
def __ne__(self, other):
|
219
|
+
return not self == other
|