huaweicloudsdkcae 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of huaweicloudsdkcae might be problematic. Click here for more details.
- huaweicloudsdkcae/__init__.py +0 -0
- huaweicloudsdkcae/v1/__init__.py +256 -0
- huaweicloudsdkcae/v1/cae_async_client.py +3941 -0
- huaweicloudsdkcae/v1/cae_client.py +3938 -0
- huaweicloudsdkcae/v1/model/__init__.py +253 -0
- huaweicloudsdkcae/v1/model/access.py +144 -0
- huaweicloudsdkcae/v1/model/access_configuration_data_items.py +368 -0
- huaweicloudsdkcae/v1/model/access_configuration_http_path.py +173 -0
- huaweicloudsdkcae/v1/model/access_configuration_metadata.py +115 -0
- huaweicloudsdkcae/v1/model/access_configuration_port.py +372 -0
- huaweicloudsdkcae/v1/model/access_control.py +144 -0
- huaweicloudsdkcae/v1/model/action_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/action_on_component_build.py +140 -0
- huaweicloudsdkcae/v1/model/action_on_component_source.py +198 -0
- huaweicloudsdkcae/v1/model/action_on_component_spec.py +219 -0
- huaweicloudsdkcae/v1/model/agency.py +158 -0
- huaweicloudsdkcae/v1/model/agency_item.py +115 -0
- huaweicloudsdkcae/v1/model/agency_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/agency_metadata.py +139 -0
- huaweicloudsdkcae/v1/model/api_version_obj.py +87 -0
- huaweicloudsdkcae/v1/model/app_info.py +144 -0
- huaweicloudsdkcae/v1/model/application_item.py +202 -0
- huaweicloudsdkcae/v1/model/application_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/application_metadata.py +202 -0
- huaweicloudsdkcae/v1/model/archive.py +115 -0
- huaweicloudsdkcae/v1/model/build.py +138 -0
- huaweicloudsdkcae/v1/model/cert_item.py +136 -0
- huaweicloudsdkcae/v1/model/cert_req.py +182 -0
- huaweicloudsdkcae/v1/model/certificate_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/cloud_storage_log_path_info.py +144 -0
- huaweicloudsdkcae/v1/model/component_configuration_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/component_execution_result.py +202 -0
- huaweicloudsdkcae/v1/model/component_info.py +144 -0
- huaweicloudsdkcae/v1/model/component_item.py +256 -0
- huaweicloudsdkcae/v1/model/component_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/component_snapshot_context.py +724 -0
- huaweicloudsdkcae/v1/model/component_snapshot_item.py +227 -0
- huaweicloudsdkcae/v1/model/component_snapshot_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/component_spec.py +480 -0
- huaweicloudsdkcae/v1/model/configuration.py +256 -0
- huaweicloudsdkcae/v1/model/configuration_data.py +136 -0
- huaweicloudsdkcae/v1/model/configuration_data_metadata.py +115 -0
- huaweicloudsdkcae/v1/model/configuration_item.py +138 -0
- huaweicloudsdkcae/v1/model/configuration_request_data_spec.py +903 -0
- huaweicloudsdkcae/v1/model/configuration_request_data_spec_post_start.py +111 -0
- huaweicloudsdkcae/v1/model/configuration_request_data_spec_pre_stop.py +111 -0
- huaweicloudsdkcae/v1/model/configuration_response_data_spec.py +1193 -0
- huaweicloudsdkcae/v1/model/configuration_response_data_spec_post_start.py +111 -0
- huaweicloudsdkcae/v1/model/configuration_response_data_spec_pre_stop.py +111 -0
- huaweicloudsdkcae/v1/model/create_agency_request.py +111 -0
- huaweicloudsdkcae/v1/model/create_agency_response.py +85 -0
- huaweicloudsdkcae/v1/model/create_application_request.py +168 -0
- huaweicloudsdkcae/v1/model/create_application_request_body.py +158 -0
- huaweicloudsdkcae/v1/model/create_application_request_body_metadata.py +114 -0
- huaweicloudsdkcae/v1/model/create_application_response.py +162 -0
- huaweicloudsdkcae/v1/model/create_certificate_request.py +168 -0
- huaweicloudsdkcae/v1/model/create_certificate_response.py +166 -0
- huaweicloudsdkcae/v1/model/create_component_configuration_request.py +224 -0
- huaweicloudsdkcae/v1/model/create_component_configuration_request_body.py +162 -0
- huaweicloudsdkcae/v1/model/create_component_configuration_response.py +85 -0
- huaweicloudsdkcae/v1/model/create_component_request.py +196 -0
- huaweicloudsdkcae/v1/model/create_component_request_body.py +182 -0
- huaweicloudsdkcae/v1/model/create_component_response.py +187 -0
- huaweicloudsdkcae/v1/model/create_component_spec.py +306 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_request.py +196 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body.py +213 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body_metadata.py +142 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body_spec.py +244 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_response.py +241 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_response_body_status.py +115 -0
- huaweicloudsdkcae/v1/model/create_domain_req.py +158 -0
- huaweicloudsdkcae/v1/model/create_domain_request.py +168 -0
- huaweicloudsdkcae/v1/model/create_domain_response.py +170 -0
- huaweicloudsdkcae/v1/model/create_environment_request.py +140 -0
- huaweicloudsdkcae/v1/model/create_environment_request_body.py +158 -0
- huaweicloudsdkcae/v1/model/create_environment_request_body_metadata.py +143 -0
- huaweicloudsdkcae/v1/model/create_environment_response.py +116 -0
- huaweicloudsdkcae/v1/model/create_meta_cert.py +114 -0
- huaweicloudsdkcae/v1/model/create_meta_domain.py +114 -0
- huaweicloudsdkcae/v1/model/create_monitor_system_request.py +168 -0
- huaweicloudsdkcae/v1/model/create_monitor_system_response.py +85 -0
- huaweicloudsdkcae/v1/model/create_notice_rule_item.py +244 -0
- huaweicloudsdkcae/v1/model/create_notice_rule_req.py +166 -0
- huaweicloudsdkcae/v1/model/create_notice_rule_request.py +140 -0
- huaweicloudsdkcae/v1/model/create_notice_rule_resp_item.py +277 -0
- huaweicloudsdkcae/v1/model/create_notice_rule_response.py +170 -0
- huaweicloudsdkcae/v1/model/create_or_update_secret_detail.py +142 -0
- huaweicloudsdkcae/v1/model/create_or_update_secret_req.py +166 -0
- huaweicloudsdkcae/v1/model/create_secret_request.py +168 -0
- huaweicloudsdkcae/v1/model/create_secret_response.py +170 -0
- huaweicloudsdkcae/v1/model/create_spec_cert.py +142 -0
- huaweicloudsdkcae/v1/model/create_timer_rule_req.py +161 -0
- huaweicloudsdkcae/v1/model/create_timer_rule_request.py +168 -0
- huaweicloudsdkcae/v1/model/create_timer_rule_response.py +162 -0
- huaweicloudsdkcae/v1/model/create_volume_req.py +158 -0
- huaweicloudsdkcae/v1/model/create_volume_request.py +168 -0
- huaweicloudsdkcae/v1/model/create_volume_response.py +85 -0
- huaweicloudsdkcae/v1/model/create_vpc_egress_request.py +168 -0
- huaweicloudsdkcae/v1/model/create_vpc_egress_response.py +162 -0
- huaweicloudsdkcae/v1/model/cron_trigger_scheduler.py +144 -0
- huaweicloudsdkcae/v1/model/delete_application_request.py +171 -0
- huaweicloudsdkcae/v1/model/delete_application_response.py +85 -0
- huaweicloudsdkcae/v1/model/delete_certificate_request.py +171 -0
- huaweicloudsdkcae/v1/model/delete_certificate_response.py +85 -0
- huaweicloudsdkcae/v1/model/delete_component_configuration_request.py +199 -0
- huaweicloudsdkcae/v1/model/delete_component_configuration_response.py +85 -0
- huaweicloudsdkcae/v1/model/delete_component_request.py +199 -0
- huaweicloudsdkcae/v1/model/delete_component_response.py +116 -0
- huaweicloudsdkcae/v1/model/delete_domain_request.py +171 -0
- huaweicloudsdkcae/v1/model/delete_domain_response.py +85 -0
- huaweicloudsdkcae/v1/model/delete_environment_request.py +143 -0
- huaweicloudsdkcae/v1/model/delete_environment_response.py +116 -0
- huaweicloudsdkcae/v1/model/delete_notice_rule_request.py +139 -0
- huaweicloudsdkcae/v1/model/delete_notice_rule_response.py +112 -0
- huaweicloudsdkcae/v1/model/delete_secret_request.py +143 -0
- huaweicloudsdkcae/v1/model/delete_secret_response.py +85 -0
- huaweicloudsdkcae/v1/model/delete_timer_rule_request.py +171 -0
- huaweicloudsdkcae/v1/model/delete_timer_rule_response.py +85 -0
- huaweicloudsdkcae/v1/model/delete_volume_request.py +171 -0
- huaweicloudsdkcae/v1/model/delete_volume_response.py +166 -0
- huaweicloudsdkcae/v1/model/delete_vpc_egress_request.py +171 -0
- huaweicloudsdkcae/v1/model/delete_vpc_egress_response.py +85 -0
- huaweicloudsdkcae/v1/model/domain_item.py +111 -0
- huaweicloudsdkcae/v1/model/domain_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/egress_cidr.py +171 -0
- huaweicloudsdkcae/v1/model/eip_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/environment_item.py +289 -0
- huaweicloudsdkcae/v1/model/environment_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/execute_action_request.py +224 -0
- huaweicloudsdkcae/v1/model/execute_action_request_body.py +184 -0
- huaweicloudsdkcae/v1/model/execute_action_request_body_metadata.py +143 -0
- huaweicloudsdkcae/v1/model/execute_action_response.py +116 -0
- huaweicloudsdkcae/v1/model/execution_details.py +144 -0
- huaweicloudsdkcae/v1/model/health_check_configuration_exec.py +115 -0
- huaweicloudsdkcae/v1/model/health_check_configuration_http_get.py +173 -0
- huaweicloudsdkcae/v1/model/health_check_configuration_liveness_probe.py +306 -0
- huaweicloudsdkcae/v1/model/health_check_configuration_readiness_probe.py +306 -0
- huaweicloudsdkcae/v1/model/health_check_configuration_startup_probe.py +306 -0
- huaweicloudsdkcae/v1/model/health_check_configuration_tcp_socket.py +115 -0
- huaweicloudsdkcae/v1/model/instance.py +173 -0
- huaweicloudsdkcae/v1/model/job_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/job_spec.py +173 -0
- huaweicloudsdkcae/v1/model/life_cycle_configuration_exec.py +115 -0
- huaweicloudsdkcae/v1/model/list_agencies_request.py +84 -0
- huaweicloudsdkcae/v1/model/list_agencies_response.py +166 -0
- huaweicloudsdkcae/v1/model/list_applications_request.py +143 -0
- huaweicloudsdkcae/v1/model/list_applications_response.py +166 -0
- huaweicloudsdkcae/v1/model/list_certificates_request.py +143 -0
- huaweicloudsdkcae/v1/model/list_certificates_response.py +166 -0
- huaweicloudsdkcae/v1/model/list_component_configurations_request.py +228 -0
- huaweicloudsdkcae/v1/model/list_component_configurations_response.py +174 -0
- huaweicloudsdkcae/v1/model/list_component_configurations_response_data.py +136 -0
- huaweicloudsdkcae/v1/model/list_component_instances_request.py +199 -0
- huaweicloudsdkcae/v1/model/list_component_instances_response.py +166 -0
- huaweicloudsdkcae/v1/model/list_component_snapshots_request.py +199 -0
- huaweicloudsdkcae/v1/model/list_component_snapshots_response.py +166 -0
- huaweicloudsdkcae/v1/model/list_components_request.py +287 -0
- huaweicloudsdkcae/v1/model/list_components_response.py +195 -0
- huaweicloudsdkcae/v1/model/list_domains_request.py +143 -0
- huaweicloudsdkcae/v1/model/list_domains_response.py +170 -0
- huaweicloudsdkcae/v1/model/list_effective_components_request.py +143 -0
- huaweicloudsdkcae/v1/model/list_effective_components_response.py +174 -0
- huaweicloudsdkcae/v1/model/list_eip_response_body_spec.py +136 -0
- huaweicloudsdkcae/v1/model/list_eip_response_body_spec_egress.py +173 -0
- huaweicloudsdkcae/v1/model/list_eip_response_body_spec_ingress.py +173 -0
- huaweicloudsdkcae/v1/model/list_eips_request.py +143 -0
- huaweicloudsdkcae/v1/model/list_eips_response.py +162 -0
- huaweicloudsdkcae/v1/model/list_environments_request.py +115 -0
- huaweicloudsdkcae/v1/model/list_environments_response.py +166 -0
- huaweicloudsdkcae/v1/model/list_notice_rules_request.py +115 -0
- huaweicloudsdkcae/v1/model/list_notice_rules_response.py +174 -0
- huaweicloudsdkcae/v1/model/list_secrets_request.py +115 -0
- huaweicloudsdkcae/v1/model/list_secrets_response.py +174 -0
- huaweicloudsdkcae/v1/model/list_timer_rules_request.py +143 -0
- huaweicloudsdkcae/v1/model/list_timer_rules_response.py +162 -0
- huaweicloudsdkcae/v1/model/list_volumes_request.py +171 -0
- huaweicloudsdkcae/v1/model/list_volumes_response.py +166 -0
- huaweicloudsdkcae/v1/model/list_vpc_egress_request.py +143 -0
- huaweicloudsdkcae/v1/model/list_vpc_egress_response.py +162 -0
- huaweicloudsdkcae/v1/model/meta_cert.py +144 -0
- huaweicloudsdkcae/v1/model/meta_domain.py +173 -0
- huaweicloudsdkcae/v1/model/metadata_response.py +231 -0
- huaweicloudsdkcae/v1/model/monitor_system_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/monitor_system_request_body.py +161 -0
- huaweicloudsdkcae/v1/model/monitor_system_request_body_spec.py +313 -0
- huaweicloudsdkcae/v1/model/mount_component.py +260 -0
- huaweicloudsdkcae/v1/model/notice_rule_notification.py +171 -0
- huaweicloudsdkcae/v1/model/notice_rule_scope.py +201 -0
- huaweicloudsdkcae/v1/model/repo.py +173 -0
- huaweicloudsdkcae/v1/model/resource_limit.py +142 -0
- huaweicloudsdkcae/v1/model/resource_limit_for_upgrade.py +144 -0
- huaweicloudsdkcae/v1/model/resources_credential.py +144 -0
- huaweicloudsdkcae/v1/model/retry_job_request.py +171 -0
- huaweicloudsdkcae/v1/model/retry_job_response.py +85 -0
- huaweicloudsdkcae/v1/model/scale_configuration_data_advanced.py +231 -0
- huaweicloudsdkcae/v1/model/scale_configuration_data_trigger.py +140 -0
- huaweicloudsdkcae/v1/model/scaling_trigger_meta.py +202 -0
- huaweicloudsdkcae/v1/model/secret_detail.py +283 -0
- huaweicloudsdkcae/v1/model/show_application_request.py +171 -0
- huaweicloudsdkcae/v1/model/show_application_response.py +162 -0
- huaweicloudsdkcae/v1/model/show_component_request.py +199 -0
- huaweicloudsdkcae/v1/model/show_component_response.py +187 -0
- huaweicloudsdkcae/v1/model/show_execution_result_request.py +171 -0
- huaweicloudsdkcae/v1/model/show_execution_result_response.py +162 -0
- huaweicloudsdkcae/v1/model/show_job_request.py +171 -0
- huaweicloudsdkcae/v1/model/show_job_response.py +162 -0
- huaweicloudsdkcae/v1/model/show_monitor_system_request.py +143 -0
- huaweicloudsdkcae/v1/model/show_monitor_system_response.py +162 -0
- huaweicloudsdkcae/v1/model/show_monitor_system_response_body_spec.py +434 -0
- huaweicloudsdkcae/v1/model/show_notice_rule_request.py +139 -0
- huaweicloudsdkcae/v1/model/show_notice_rule_response.py +170 -0
- huaweicloudsdkcae/v1/model/source.py +196 -0
- huaweicloudsdkcae/v1/model/spec_cert.py +173 -0
- huaweicloudsdkcae/v1/model/task.py +260 -0
- huaweicloudsdkcae/v1/model/time_rule_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/timer_rule_details.py +434 -0
- huaweicloudsdkcae/v1/model/trigger_policy.py +201 -0
- huaweicloudsdkcae/v1/model/update_cert_req.py +158 -0
- huaweicloudsdkcae/v1/model/update_certificate_request.py +196 -0
- huaweicloudsdkcae/v1/model/update_certificate_response.py +85 -0
- huaweicloudsdkcae/v1/model/update_component_request.py +224 -0
- huaweicloudsdkcae/v1/model/update_component_request_body.py +182 -0
- huaweicloudsdkcae/v1/model/update_component_request_metadata.py +143 -0
- huaweicloudsdkcae/v1/model/update_component_request_spec.py +218 -0
- huaweicloudsdkcae/v1/model/update_component_response.py +85 -0
- huaweicloudsdkcae/v1/model/update_eip_request.py +168 -0
- huaweicloudsdkcae/v1/model/update_eip_request_body.py +161 -0
- huaweicloudsdkcae/v1/model/update_eip_request_body_spec.py +136 -0
- huaweicloudsdkcae/v1/model/update_eip_request_body_spec_egress.py +144 -0
- huaweicloudsdkcae/v1/model/update_eip_request_body_spec_ingress.py +144 -0
- huaweicloudsdkcae/v1/model/update_eip_response.py +85 -0
- huaweicloudsdkcae/v1/model/update_monitor_system_request.py +196 -0
- huaweicloudsdkcae/v1/model/update_monitor_system_response.py +85 -0
- huaweicloudsdkcae/v1/model/update_notice_rule_item.py +192 -0
- huaweicloudsdkcae/v1/model/update_notice_rule_req.py +166 -0
- huaweicloudsdkcae/v1/model/update_notice_rule_request.py +164 -0
- huaweicloudsdkcae/v1/model/update_notice_rule_response.py +170 -0
- huaweicloudsdkcae/v1/model/update_secret_request.py +168 -0
- huaweicloudsdkcae/v1/model/update_secret_response.py +170 -0
- huaweicloudsdkcae/v1/model/update_spec_cert.py +142 -0
- huaweicloudsdkcae/v1/model/update_timer_rule_details.py +312 -0
- huaweicloudsdkcae/v1/model/update_timer_rule_req.py +158 -0
- huaweicloudsdkcae/v1/model/update_timer_rule_request.py +196 -0
- huaweicloudsdkcae/v1/model/update_timer_rule_response.py +85 -0
- huaweicloudsdkcae/v1/model/volume.py +289 -0
- huaweicloudsdkcae/v1/model/volume_configuration_data_volume.py +256 -0
- huaweicloudsdkcae/v1/model/volume_configuration_mount_info.py +173 -0
- huaweicloudsdkcae/v1/model/volume_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/volume_spec.py +199 -0
- huaweicloudsdkcae/v1/model/vpc_egress_kind_obj.py +87 -0
- huaweicloudsdkcae/v1/model/vpc_egress_request_body.py +161 -0
- huaweicloudsdkcae/v1/model/vpc_egress_request_body_spec.py +114 -0
- huaweicloudsdkcae/v1/model/vpc_egress_response_body_spec.py +173 -0
- huaweicloudsdkcae/v1/region/__init__.py +0 -0
- huaweicloudsdkcae/v1/region/cae_region.py +60 -0
- huaweicloudsdkcae-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkcae-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkcae-3.1.160.dist-info/RECORD +260 -0
- huaweicloudsdkcae-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkcae-3.1.160.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class HealthCheckConfigurationHttpGet:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'path': 'str',
|
|
21
|
+
'port': 'int',
|
|
22
|
+
'scheme': 'str'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'path': 'path',
|
|
27
|
+
'port': 'port',
|
|
28
|
+
'scheme': 'scheme'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
def __init__(self, path=None, port=None, scheme=None):
|
|
32
|
+
r"""HealthCheckConfigurationHttpGet
|
|
33
|
+
|
|
34
|
+
The model defined in huaweicloud sdk
|
|
35
|
+
|
|
36
|
+
:param path: URL路径。
|
|
37
|
+
:type path: str
|
|
38
|
+
:param port: 端口。
|
|
39
|
+
:type port: int
|
|
40
|
+
:param scheme: 协议。
|
|
41
|
+
:type scheme: str
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
self._path = None
|
|
47
|
+
self._port = None
|
|
48
|
+
self._scheme = None
|
|
49
|
+
self.discriminator = None
|
|
50
|
+
|
|
51
|
+
if path is not None:
|
|
52
|
+
self.path = path
|
|
53
|
+
if port is not None:
|
|
54
|
+
self.port = port
|
|
55
|
+
if scheme is not None:
|
|
56
|
+
self.scheme = scheme
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
def path(self):
|
|
60
|
+
r"""Gets the path of this HealthCheckConfigurationHttpGet.
|
|
61
|
+
|
|
62
|
+
URL路径。
|
|
63
|
+
|
|
64
|
+
:return: The path of this HealthCheckConfigurationHttpGet.
|
|
65
|
+
:rtype: str
|
|
66
|
+
"""
|
|
67
|
+
return self._path
|
|
68
|
+
|
|
69
|
+
@path.setter
|
|
70
|
+
def path(self, path):
|
|
71
|
+
r"""Sets the path of this HealthCheckConfigurationHttpGet.
|
|
72
|
+
|
|
73
|
+
URL路径。
|
|
74
|
+
|
|
75
|
+
:param path: The path of this HealthCheckConfigurationHttpGet.
|
|
76
|
+
:type path: str
|
|
77
|
+
"""
|
|
78
|
+
self._path = path
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def port(self):
|
|
82
|
+
r"""Gets the port of this HealthCheckConfigurationHttpGet.
|
|
83
|
+
|
|
84
|
+
端口。
|
|
85
|
+
|
|
86
|
+
:return: The port of this HealthCheckConfigurationHttpGet.
|
|
87
|
+
:rtype: int
|
|
88
|
+
"""
|
|
89
|
+
return self._port
|
|
90
|
+
|
|
91
|
+
@port.setter
|
|
92
|
+
def port(self, port):
|
|
93
|
+
r"""Sets the port of this HealthCheckConfigurationHttpGet.
|
|
94
|
+
|
|
95
|
+
端口。
|
|
96
|
+
|
|
97
|
+
:param port: The port of this HealthCheckConfigurationHttpGet.
|
|
98
|
+
:type port: int
|
|
99
|
+
"""
|
|
100
|
+
self._port = port
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
def scheme(self):
|
|
104
|
+
r"""Gets the scheme of this HealthCheckConfigurationHttpGet.
|
|
105
|
+
|
|
106
|
+
协议。
|
|
107
|
+
|
|
108
|
+
:return: The scheme of this HealthCheckConfigurationHttpGet.
|
|
109
|
+
:rtype: str
|
|
110
|
+
"""
|
|
111
|
+
return self._scheme
|
|
112
|
+
|
|
113
|
+
@scheme.setter
|
|
114
|
+
def scheme(self, scheme):
|
|
115
|
+
r"""Sets the scheme of this HealthCheckConfigurationHttpGet.
|
|
116
|
+
|
|
117
|
+
协议。
|
|
118
|
+
|
|
119
|
+
:param scheme: The scheme of this HealthCheckConfigurationHttpGet.
|
|
120
|
+
:type scheme: str
|
|
121
|
+
"""
|
|
122
|
+
self._scheme = scheme
|
|
123
|
+
|
|
124
|
+
def to_dict(self):
|
|
125
|
+
"""Returns the model properties as a dict"""
|
|
126
|
+
result = {}
|
|
127
|
+
|
|
128
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
129
|
+
value = getattr(self, attr)
|
|
130
|
+
if isinstance(value, list):
|
|
131
|
+
result[attr] = list(map(
|
|
132
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
133
|
+
value
|
|
134
|
+
))
|
|
135
|
+
elif hasattr(value, "to_dict"):
|
|
136
|
+
result[attr] = value.to_dict()
|
|
137
|
+
elif isinstance(value, dict):
|
|
138
|
+
result[attr] = dict(map(
|
|
139
|
+
lambda item: (item[0], item[1].to_dict())
|
|
140
|
+
if hasattr(item[1], "to_dict") else item,
|
|
141
|
+
value.items()
|
|
142
|
+
))
|
|
143
|
+
else:
|
|
144
|
+
if attr in self.sensitive_list:
|
|
145
|
+
result[attr] = "****"
|
|
146
|
+
else:
|
|
147
|
+
result[attr] = value
|
|
148
|
+
|
|
149
|
+
return result
|
|
150
|
+
|
|
151
|
+
def to_str(self):
|
|
152
|
+
"""Returns the string representation of the model"""
|
|
153
|
+
import simplejson as json
|
|
154
|
+
if six.PY2:
|
|
155
|
+
import sys
|
|
156
|
+
reload(sys)
|
|
157
|
+
sys.setdefaultencoding("utf-8")
|
|
158
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
159
|
+
|
|
160
|
+
def __repr__(self):
|
|
161
|
+
"""For `print`"""
|
|
162
|
+
return self.to_str()
|
|
163
|
+
|
|
164
|
+
def __eq__(self, other):
|
|
165
|
+
"""Returns true if both objects are equal"""
|
|
166
|
+
if not isinstance(other, HealthCheckConfigurationHttpGet):
|
|
167
|
+
return False
|
|
168
|
+
|
|
169
|
+
return self.__dict__ == other.__dict__
|
|
170
|
+
|
|
171
|
+
def __ne__(self, other):
|
|
172
|
+
"""Returns true if both objects are not equal"""
|
|
173
|
+
return not self == other
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class HealthCheckConfigurationLivenessProbe:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'period_seconds': 'int',
|
|
21
|
+
'initial_delay_seconds': 'int',
|
|
22
|
+
'timeout_seconds': 'int',
|
|
23
|
+
'success_threshold': 'int',
|
|
24
|
+
'failure_threshold': 'int',
|
|
25
|
+
'http_get': 'HealthCheckConfigurationHttpGet',
|
|
26
|
+
'tcp_socket': 'HealthCheckConfigurationTcpSocket',
|
|
27
|
+
'_exec': 'HealthCheckConfigurationExec'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
attribute_map = {
|
|
31
|
+
'period_seconds': 'periodSeconds',
|
|
32
|
+
'initial_delay_seconds': 'initialDelaySeconds',
|
|
33
|
+
'timeout_seconds': 'timeoutSeconds',
|
|
34
|
+
'success_threshold': 'successThreshold',
|
|
35
|
+
'failure_threshold': 'failureThreshold',
|
|
36
|
+
'http_get': 'httpGet',
|
|
37
|
+
'tcp_socket': 'tcpSocket',
|
|
38
|
+
'_exec': 'exec'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
def __init__(self, period_seconds=None, initial_delay_seconds=None, timeout_seconds=None, success_threshold=None, failure_threshold=None, http_get=None, tcp_socket=None, _exec=None):
|
|
42
|
+
r"""HealthCheckConfigurationLivenessProbe
|
|
43
|
+
|
|
44
|
+
The model defined in huaweicloud sdk
|
|
45
|
+
|
|
46
|
+
:param period_seconds: 检测周期,单位为s。
|
|
47
|
+
:type period_seconds: int
|
|
48
|
+
:param initial_delay_seconds: 延迟时间,单位为s。
|
|
49
|
+
:type initial_delay_seconds: int
|
|
50
|
+
:param timeout_seconds: 超时时间,单位为s。
|
|
51
|
+
:type timeout_seconds: int
|
|
52
|
+
:param success_threshold: 成功阈值。
|
|
53
|
+
:type success_threshold: int
|
|
54
|
+
:param failure_threshold: 最大失败次数。
|
|
55
|
+
:type failure_threshold: int
|
|
56
|
+
:param http_get:
|
|
57
|
+
:type http_get: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationHttpGet`
|
|
58
|
+
:param tcp_socket:
|
|
59
|
+
:type tcp_socket: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationTcpSocket`
|
|
60
|
+
:param _exec:
|
|
61
|
+
:type _exec: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationExec`
|
|
62
|
+
"""
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
self._period_seconds = None
|
|
67
|
+
self._initial_delay_seconds = None
|
|
68
|
+
self._timeout_seconds = None
|
|
69
|
+
self._success_threshold = None
|
|
70
|
+
self._failure_threshold = None
|
|
71
|
+
self._http_get = None
|
|
72
|
+
self._tcp_socket = None
|
|
73
|
+
self.__exec = None
|
|
74
|
+
self.discriminator = None
|
|
75
|
+
|
|
76
|
+
if period_seconds is not None:
|
|
77
|
+
self.period_seconds = period_seconds
|
|
78
|
+
if initial_delay_seconds is not None:
|
|
79
|
+
self.initial_delay_seconds = initial_delay_seconds
|
|
80
|
+
if timeout_seconds is not None:
|
|
81
|
+
self.timeout_seconds = timeout_seconds
|
|
82
|
+
if success_threshold is not None:
|
|
83
|
+
self.success_threshold = success_threshold
|
|
84
|
+
if failure_threshold is not None:
|
|
85
|
+
self.failure_threshold = failure_threshold
|
|
86
|
+
if http_get is not None:
|
|
87
|
+
self.http_get = http_get
|
|
88
|
+
if tcp_socket is not None:
|
|
89
|
+
self.tcp_socket = tcp_socket
|
|
90
|
+
if _exec is not None:
|
|
91
|
+
self._exec = _exec
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
def period_seconds(self):
|
|
95
|
+
r"""Gets the period_seconds of this HealthCheckConfigurationLivenessProbe.
|
|
96
|
+
|
|
97
|
+
检测周期,单位为s。
|
|
98
|
+
|
|
99
|
+
:return: The period_seconds of this HealthCheckConfigurationLivenessProbe.
|
|
100
|
+
:rtype: int
|
|
101
|
+
"""
|
|
102
|
+
return self._period_seconds
|
|
103
|
+
|
|
104
|
+
@period_seconds.setter
|
|
105
|
+
def period_seconds(self, period_seconds):
|
|
106
|
+
r"""Sets the period_seconds of this HealthCheckConfigurationLivenessProbe.
|
|
107
|
+
|
|
108
|
+
检测周期,单位为s。
|
|
109
|
+
|
|
110
|
+
:param period_seconds: The period_seconds of this HealthCheckConfigurationLivenessProbe.
|
|
111
|
+
:type period_seconds: int
|
|
112
|
+
"""
|
|
113
|
+
self._period_seconds = period_seconds
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
def initial_delay_seconds(self):
|
|
117
|
+
r"""Gets the initial_delay_seconds of this HealthCheckConfigurationLivenessProbe.
|
|
118
|
+
|
|
119
|
+
延迟时间,单位为s。
|
|
120
|
+
|
|
121
|
+
:return: The initial_delay_seconds of this HealthCheckConfigurationLivenessProbe.
|
|
122
|
+
:rtype: int
|
|
123
|
+
"""
|
|
124
|
+
return self._initial_delay_seconds
|
|
125
|
+
|
|
126
|
+
@initial_delay_seconds.setter
|
|
127
|
+
def initial_delay_seconds(self, initial_delay_seconds):
|
|
128
|
+
r"""Sets the initial_delay_seconds of this HealthCheckConfigurationLivenessProbe.
|
|
129
|
+
|
|
130
|
+
延迟时间,单位为s。
|
|
131
|
+
|
|
132
|
+
:param initial_delay_seconds: The initial_delay_seconds of this HealthCheckConfigurationLivenessProbe.
|
|
133
|
+
:type initial_delay_seconds: int
|
|
134
|
+
"""
|
|
135
|
+
self._initial_delay_seconds = initial_delay_seconds
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
def timeout_seconds(self):
|
|
139
|
+
r"""Gets the timeout_seconds of this HealthCheckConfigurationLivenessProbe.
|
|
140
|
+
|
|
141
|
+
超时时间,单位为s。
|
|
142
|
+
|
|
143
|
+
:return: The timeout_seconds of this HealthCheckConfigurationLivenessProbe.
|
|
144
|
+
:rtype: int
|
|
145
|
+
"""
|
|
146
|
+
return self._timeout_seconds
|
|
147
|
+
|
|
148
|
+
@timeout_seconds.setter
|
|
149
|
+
def timeout_seconds(self, timeout_seconds):
|
|
150
|
+
r"""Sets the timeout_seconds of this HealthCheckConfigurationLivenessProbe.
|
|
151
|
+
|
|
152
|
+
超时时间,单位为s。
|
|
153
|
+
|
|
154
|
+
:param timeout_seconds: The timeout_seconds of this HealthCheckConfigurationLivenessProbe.
|
|
155
|
+
:type timeout_seconds: int
|
|
156
|
+
"""
|
|
157
|
+
self._timeout_seconds = timeout_seconds
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def success_threshold(self):
|
|
161
|
+
r"""Gets the success_threshold of this HealthCheckConfigurationLivenessProbe.
|
|
162
|
+
|
|
163
|
+
成功阈值。
|
|
164
|
+
|
|
165
|
+
:return: The success_threshold of this HealthCheckConfigurationLivenessProbe.
|
|
166
|
+
:rtype: int
|
|
167
|
+
"""
|
|
168
|
+
return self._success_threshold
|
|
169
|
+
|
|
170
|
+
@success_threshold.setter
|
|
171
|
+
def success_threshold(self, success_threshold):
|
|
172
|
+
r"""Sets the success_threshold of this HealthCheckConfigurationLivenessProbe.
|
|
173
|
+
|
|
174
|
+
成功阈值。
|
|
175
|
+
|
|
176
|
+
:param success_threshold: The success_threshold of this HealthCheckConfigurationLivenessProbe.
|
|
177
|
+
:type success_threshold: int
|
|
178
|
+
"""
|
|
179
|
+
self._success_threshold = success_threshold
|
|
180
|
+
|
|
181
|
+
@property
|
|
182
|
+
def failure_threshold(self):
|
|
183
|
+
r"""Gets the failure_threshold of this HealthCheckConfigurationLivenessProbe.
|
|
184
|
+
|
|
185
|
+
最大失败次数。
|
|
186
|
+
|
|
187
|
+
:return: The failure_threshold of this HealthCheckConfigurationLivenessProbe.
|
|
188
|
+
:rtype: int
|
|
189
|
+
"""
|
|
190
|
+
return self._failure_threshold
|
|
191
|
+
|
|
192
|
+
@failure_threshold.setter
|
|
193
|
+
def failure_threshold(self, failure_threshold):
|
|
194
|
+
r"""Sets the failure_threshold of this HealthCheckConfigurationLivenessProbe.
|
|
195
|
+
|
|
196
|
+
最大失败次数。
|
|
197
|
+
|
|
198
|
+
:param failure_threshold: The failure_threshold of this HealthCheckConfigurationLivenessProbe.
|
|
199
|
+
:type failure_threshold: int
|
|
200
|
+
"""
|
|
201
|
+
self._failure_threshold = failure_threshold
|
|
202
|
+
|
|
203
|
+
@property
|
|
204
|
+
def http_get(self):
|
|
205
|
+
r"""Gets the http_get of this HealthCheckConfigurationLivenessProbe.
|
|
206
|
+
|
|
207
|
+
:return: The http_get of this HealthCheckConfigurationLivenessProbe.
|
|
208
|
+
:rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationHttpGet`
|
|
209
|
+
"""
|
|
210
|
+
return self._http_get
|
|
211
|
+
|
|
212
|
+
@http_get.setter
|
|
213
|
+
def http_get(self, http_get):
|
|
214
|
+
r"""Sets the http_get of this HealthCheckConfigurationLivenessProbe.
|
|
215
|
+
|
|
216
|
+
:param http_get: The http_get of this HealthCheckConfigurationLivenessProbe.
|
|
217
|
+
:type http_get: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationHttpGet`
|
|
218
|
+
"""
|
|
219
|
+
self._http_get = http_get
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
def tcp_socket(self):
|
|
223
|
+
r"""Gets the tcp_socket of this HealthCheckConfigurationLivenessProbe.
|
|
224
|
+
|
|
225
|
+
:return: The tcp_socket of this HealthCheckConfigurationLivenessProbe.
|
|
226
|
+
:rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationTcpSocket`
|
|
227
|
+
"""
|
|
228
|
+
return self._tcp_socket
|
|
229
|
+
|
|
230
|
+
@tcp_socket.setter
|
|
231
|
+
def tcp_socket(self, tcp_socket):
|
|
232
|
+
r"""Sets the tcp_socket of this HealthCheckConfigurationLivenessProbe.
|
|
233
|
+
|
|
234
|
+
:param tcp_socket: The tcp_socket of this HealthCheckConfigurationLivenessProbe.
|
|
235
|
+
:type tcp_socket: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationTcpSocket`
|
|
236
|
+
"""
|
|
237
|
+
self._tcp_socket = tcp_socket
|
|
238
|
+
|
|
239
|
+
@property
|
|
240
|
+
def _exec(self):
|
|
241
|
+
r"""Gets the _exec of this HealthCheckConfigurationLivenessProbe.
|
|
242
|
+
|
|
243
|
+
:return: The _exec of this HealthCheckConfigurationLivenessProbe.
|
|
244
|
+
:rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationExec`
|
|
245
|
+
"""
|
|
246
|
+
return self.__exec
|
|
247
|
+
|
|
248
|
+
@_exec.setter
|
|
249
|
+
def _exec(self, _exec):
|
|
250
|
+
r"""Sets the _exec of this HealthCheckConfigurationLivenessProbe.
|
|
251
|
+
|
|
252
|
+
:param _exec: The _exec of this HealthCheckConfigurationLivenessProbe.
|
|
253
|
+
:type _exec: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationExec`
|
|
254
|
+
"""
|
|
255
|
+
self.__exec = _exec
|
|
256
|
+
|
|
257
|
+
def to_dict(self):
|
|
258
|
+
"""Returns the model properties as a dict"""
|
|
259
|
+
result = {}
|
|
260
|
+
|
|
261
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
262
|
+
value = getattr(self, attr)
|
|
263
|
+
if isinstance(value, list):
|
|
264
|
+
result[attr] = list(map(
|
|
265
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
266
|
+
value
|
|
267
|
+
))
|
|
268
|
+
elif hasattr(value, "to_dict"):
|
|
269
|
+
result[attr] = value.to_dict()
|
|
270
|
+
elif isinstance(value, dict):
|
|
271
|
+
result[attr] = dict(map(
|
|
272
|
+
lambda item: (item[0], item[1].to_dict())
|
|
273
|
+
if hasattr(item[1], "to_dict") else item,
|
|
274
|
+
value.items()
|
|
275
|
+
))
|
|
276
|
+
else:
|
|
277
|
+
if attr in self.sensitive_list:
|
|
278
|
+
result[attr] = "****"
|
|
279
|
+
else:
|
|
280
|
+
result[attr] = value
|
|
281
|
+
|
|
282
|
+
return result
|
|
283
|
+
|
|
284
|
+
def to_str(self):
|
|
285
|
+
"""Returns the string representation of the model"""
|
|
286
|
+
import simplejson as json
|
|
287
|
+
if six.PY2:
|
|
288
|
+
import sys
|
|
289
|
+
reload(sys)
|
|
290
|
+
sys.setdefaultencoding("utf-8")
|
|
291
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
292
|
+
|
|
293
|
+
def __repr__(self):
|
|
294
|
+
"""For `print`"""
|
|
295
|
+
return self.to_str()
|
|
296
|
+
|
|
297
|
+
def __eq__(self, other):
|
|
298
|
+
"""Returns true if both objects are equal"""
|
|
299
|
+
if not isinstance(other, HealthCheckConfigurationLivenessProbe):
|
|
300
|
+
return False
|
|
301
|
+
|
|
302
|
+
return self.__dict__ == other.__dict__
|
|
303
|
+
|
|
304
|
+
def __ne__(self, other):
|
|
305
|
+
"""Returns true if both objects are not equal"""
|
|
306
|
+
return not self == other
|