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,903 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ConfigurationRequestDataSpec:
|
|
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
|
+
'rds_id': 'str',
|
|
21
|
+
'rds_db_name': 'str',
|
|
22
|
+
'rds_address': 'str',
|
|
23
|
+
'rds_username': 'str',
|
|
24
|
+
'rds_password': 'str',
|
|
25
|
+
'rds_port': 'str',
|
|
26
|
+
'config_center_addr': 'str',
|
|
27
|
+
'service_center_addr': 'str',
|
|
28
|
+
'cse_id': 'str',
|
|
29
|
+
'envs': 'dict(str, str)',
|
|
30
|
+
'ip': 'str',
|
|
31
|
+
'items': 'list[AccessConfigurationDataItems]',
|
|
32
|
+
'scale_strategy': 'str',
|
|
33
|
+
'max_replica_count': 'int',
|
|
34
|
+
'min_replica_count': 'int',
|
|
35
|
+
'advanced': 'ScaleConfigurationDataAdvanced',
|
|
36
|
+
'triggers': 'list[ScaleConfigurationDataTrigger]',
|
|
37
|
+
'volumes': 'list[VolumeConfigurationDataVolume]',
|
|
38
|
+
'liveness_probe': 'HealthCheckConfigurationLivenessProbe',
|
|
39
|
+
'startup_probe': 'HealthCheckConfigurationStartupProbe',
|
|
40
|
+
'readiness_probe': 'HealthCheckConfigurationReadinessProbe',
|
|
41
|
+
'post_start': 'ConfigurationRequestDataSpecPostStart',
|
|
42
|
+
'pre_stop': 'ConfigurationRequestDataSpecPreStop',
|
|
43
|
+
'log_paths': 'list[str]',
|
|
44
|
+
'cloud_storage_log_paths': 'list[CloudStorageLogPathInfo]',
|
|
45
|
+
'instrumentation': 'str',
|
|
46
|
+
'path': 'str',
|
|
47
|
+
'port': 'int',
|
|
48
|
+
'metrics': 'list[str]'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
attribute_map = {
|
|
52
|
+
'rds_id': 'rds_id',
|
|
53
|
+
'rds_db_name': 'rds_db_name',
|
|
54
|
+
'rds_address': 'rds_address',
|
|
55
|
+
'rds_username': 'rds_username',
|
|
56
|
+
'rds_password': 'rds_password',
|
|
57
|
+
'rds_port': 'rds_port',
|
|
58
|
+
'config_center_addr': 'config_center_addr',
|
|
59
|
+
'service_center_addr': 'service_center_addr',
|
|
60
|
+
'cse_id': 'cse_id',
|
|
61
|
+
'envs': 'envs',
|
|
62
|
+
'ip': 'ip',
|
|
63
|
+
'items': 'items',
|
|
64
|
+
'scale_strategy': 'scale_strategy',
|
|
65
|
+
'max_replica_count': 'max_replica_count',
|
|
66
|
+
'min_replica_count': 'min_replica_count',
|
|
67
|
+
'advanced': 'advanced',
|
|
68
|
+
'triggers': 'triggers',
|
|
69
|
+
'volumes': 'volumes',
|
|
70
|
+
'liveness_probe': 'livenessProbe',
|
|
71
|
+
'startup_probe': 'startupProbe',
|
|
72
|
+
'readiness_probe': 'readinessProbe',
|
|
73
|
+
'post_start': 'postStart',
|
|
74
|
+
'pre_stop': 'preStop',
|
|
75
|
+
'log_paths': 'log_paths',
|
|
76
|
+
'cloud_storage_log_paths': 'cloud_storage_log_paths',
|
|
77
|
+
'instrumentation': 'instrumentation',
|
|
78
|
+
'path': 'path',
|
|
79
|
+
'port': 'port',
|
|
80
|
+
'metrics': 'metrics'
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
def __init__(self, rds_id=None, rds_db_name=None, rds_address=None, rds_username=None, rds_password=None, rds_port=None, config_center_addr=None, service_center_addr=None, cse_id=None, envs=None, ip=None, items=None, scale_strategy=None, max_replica_count=None, min_replica_count=None, advanced=None, triggers=None, volumes=None, liveness_probe=None, startup_probe=None, readiness_probe=None, post_start=None, pre_stop=None, log_paths=None, cloud_storage_log_paths=None, instrumentation=None, path=None, port=None, metrics=None):
|
|
84
|
+
r"""ConfigurationRequestDataSpec
|
|
85
|
+
|
|
86
|
+
The model defined in huaweicloud sdk
|
|
87
|
+
|
|
88
|
+
:param rds_id: RDS数据库实例ID。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
89
|
+
:type rds_id: str
|
|
90
|
+
:param rds_db_name: RDS数据库名称。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
91
|
+
:type rds_db_name: str
|
|
92
|
+
:param rds_address: RDS数据库地址。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
93
|
+
:type rds_address: str
|
|
94
|
+
:param rds_username: RDS数据库用户名称。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
95
|
+
:type rds_username: str
|
|
96
|
+
:param rds_password: RDS数据库密码。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
97
|
+
:type rds_password: str
|
|
98
|
+
:param rds_port: RDS数据库端口。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
99
|
+
:type rds_port: str
|
|
100
|
+
:param config_center_addr: CSE配置中心地址。 ConfigurationItem.type为\"cse\"时,配置此参数。
|
|
101
|
+
:type config_center_addr: str
|
|
102
|
+
:param service_center_addr: CSE服务注册发现地址。 ConfigurationItem.type为\"cse\"时,配置此参数。
|
|
103
|
+
:type service_center_addr: str
|
|
104
|
+
:param cse_id: CSE引擎ID。 ConfigurationItem.type为\"cse\"时,配置此参数。
|
|
105
|
+
:type cse_id: str
|
|
106
|
+
:param envs: 环境变量配置。 常用环境变量如下: - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
|
|
107
|
+
:type envs: dict(str, str)
|
|
108
|
+
:param ip: 弹性公网IP,响应体参数,未配置域名时返回此参数。
|
|
109
|
+
:type ip: str
|
|
110
|
+
:param items: 访问方式配置列表。 ConfigurationItem.type为\"access\"时,配置此参数。
|
|
111
|
+
:type items: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
|
|
112
|
+
:param scale_strategy: 伸缩策略配置策略类型。 ConfigurationItem.type为\"scaling\"时,配置此参数。
|
|
113
|
+
:type scale_strategy: str
|
|
114
|
+
:param max_replica_count: 伸缩策略配置最大伸缩个数。 ConfigurationItem.type为\"scaling\"时,配置此参数。
|
|
115
|
+
:type max_replica_count: int
|
|
116
|
+
:param min_replica_count: 伸缩策略配置最小伸缩个数。 ConfigurationItem.type为\"scaling\"时,配置此参数。
|
|
117
|
+
:type min_replica_count: int
|
|
118
|
+
:param advanced:
|
|
119
|
+
:type advanced: :class:`huaweicloudsdkcae.v1.ScaleConfigurationDataAdvanced`
|
|
120
|
+
:param triggers: 伸缩策略配置触发器列表。 ConfigurationItem.type为\"scaling\"时,配置此参数。
|
|
121
|
+
:type triggers: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
|
|
122
|
+
:param volumes: 云存储配置列表。 ConfigurationItem.type为\"volume\"时,配置此参数。
|
|
123
|
+
:type volumes: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
|
|
124
|
+
:param liveness_probe:
|
|
125
|
+
:type liveness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
|
|
126
|
+
:param startup_probe:
|
|
127
|
+
:type startup_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationStartupProbe`
|
|
128
|
+
:param readiness_probe:
|
|
129
|
+
:type readiness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationReadinessProbe`
|
|
130
|
+
:param post_start:
|
|
131
|
+
:type post_start: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpecPostStart`
|
|
132
|
+
:param pre_stop:
|
|
133
|
+
:type pre_stop: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpecPreStop`
|
|
134
|
+
:param log_paths: 自定义本地磁盘日志路径数组。 ConfigurationItem.type为\"log\"时,配置此参数。
|
|
135
|
+
:type log_paths: list[str]
|
|
136
|
+
:param cloud_storage_log_paths: 自定义云存储日志路径数组。 ConfigurationItem.type为\"log\"时,配置此参数。
|
|
137
|
+
:type cloud_storage_log_paths: list[:class:`huaweicloudsdkcae.v1.CloudStorageLogPathInfo`]
|
|
138
|
+
:param instrumentation: 探针注入方式。 ConfigurationItem.type为\"apm2\"时,配置此参数。
|
|
139
|
+
:type instrumentation: str
|
|
140
|
+
:param path: 自定义监控指标配置采集路径。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
|
|
141
|
+
:type path: str
|
|
142
|
+
:param port: 自定义监控指标配置采集端口。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
|
|
143
|
+
:type port: int
|
|
144
|
+
:param metrics: 自定义监控指标配置指标名称。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
|
|
145
|
+
:type metrics: list[str]
|
|
146
|
+
"""
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
self._rds_id = None
|
|
151
|
+
self._rds_db_name = None
|
|
152
|
+
self._rds_address = None
|
|
153
|
+
self._rds_username = None
|
|
154
|
+
self._rds_password = None
|
|
155
|
+
self._rds_port = None
|
|
156
|
+
self._config_center_addr = None
|
|
157
|
+
self._service_center_addr = None
|
|
158
|
+
self._cse_id = None
|
|
159
|
+
self._envs = None
|
|
160
|
+
self._ip = None
|
|
161
|
+
self._items = None
|
|
162
|
+
self._scale_strategy = None
|
|
163
|
+
self._max_replica_count = None
|
|
164
|
+
self._min_replica_count = None
|
|
165
|
+
self._advanced = None
|
|
166
|
+
self._triggers = None
|
|
167
|
+
self._volumes = None
|
|
168
|
+
self._liveness_probe = None
|
|
169
|
+
self._startup_probe = None
|
|
170
|
+
self._readiness_probe = None
|
|
171
|
+
self._post_start = None
|
|
172
|
+
self._pre_stop = None
|
|
173
|
+
self._log_paths = None
|
|
174
|
+
self._cloud_storage_log_paths = None
|
|
175
|
+
self._instrumentation = None
|
|
176
|
+
self._path = None
|
|
177
|
+
self._port = None
|
|
178
|
+
self._metrics = None
|
|
179
|
+
self.discriminator = None
|
|
180
|
+
|
|
181
|
+
if rds_id is not None:
|
|
182
|
+
self.rds_id = rds_id
|
|
183
|
+
if rds_db_name is not None:
|
|
184
|
+
self.rds_db_name = rds_db_name
|
|
185
|
+
if rds_address is not None:
|
|
186
|
+
self.rds_address = rds_address
|
|
187
|
+
if rds_username is not None:
|
|
188
|
+
self.rds_username = rds_username
|
|
189
|
+
if rds_password is not None:
|
|
190
|
+
self.rds_password = rds_password
|
|
191
|
+
if rds_port is not None:
|
|
192
|
+
self.rds_port = rds_port
|
|
193
|
+
if config_center_addr is not None:
|
|
194
|
+
self.config_center_addr = config_center_addr
|
|
195
|
+
if service_center_addr is not None:
|
|
196
|
+
self.service_center_addr = service_center_addr
|
|
197
|
+
if cse_id is not None:
|
|
198
|
+
self.cse_id = cse_id
|
|
199
|
+
if envs is not None:
|
|
200
|
+
self.envs = envs
|
|
201
|
+
if ip is not None:
|
|
202
|
+
self.ip = ip
|
|
203
|
+
if items is not None:
|
|
204
|
+
self.items = items
|
|
205
|
+
if scale_strategy is not None:
|
|
206
|
+
self.scale_strategy = scale_strategy
|
|
207
|
+
if max_replica_count is not None:
|
|
208
|
+
self.max_replica_count = max_replica_count
|
|
209
|
+
if min_replica_count is not None:
|
|
210
|
+
self.min_replica_count = min_replica_count
|
|
211
|
+
if advanced is not None:
|
|
212
|
+
self.advanced = advanced
|
|
213
|
+
if triggers is not None:
|
|
214
|
+
self.triggers = triggers
|
|
215
|
+
if volumes is not None:
|
|
216
|
+
self.volumes = volumes
|
|
217
|
+
if liveness_probe is not None:
|
|
218
|
+
self.liveness_probe = liveness_probe
|
|
219
|
+
if startup_probe is not None:
|
|
220
|
+
self.startup_probe = startup_probe
|
|
221
|
+
if readiness_probe is not None:
|
|
222
|
+
self.readiness_probe = readiness_probe
|
|
223
|
+
if post_start is not None:
|
|
224
|
+
self.post_start = post_start
|
|
225
|
+
if pre_stop is not None:
|
|
226
|
+
self.pre_stop = pre_stop
|
|
227
|
+
if log_paths is not None:
|
|
228
|
+
self.log_paths = log_paths
|
|
229
|
+
if cloud_storage_log_paths is not None:
|
|
230
|
+
self.cloud_storage_log_paths = cloud_storage_log_paths
|
|
231
|
+
if instrumentation is not None:
|
|
232
|
+
self.instrumentation = instrumentation
|
|
233
|
+
if path is not None:
|
|
234
|
+
self.path = path
|
|
235
|
+
if port is not None:
|
|
236
|
+
self.port = port
|
|
237
|
+
if metrics is not None:
|
|
238
|
+
self.metrics = metrics
|
|
239
|
+
|
|
240
|
+
@property
|
|
241
|
+
def rds_id(self):
|
|
242
|
+
r"""Gets the rds_id of this ConfigurationRequestDataSpec.
|
|
243
|
+
|
|
244
|
+
RDS数据库实例ID。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
245
|
+
|
|
246
|
+
:return: The rds_id of this ConfigurationRequestDataSpec.
|
|
247
|
+
:rtype: str
|
|
248
|
+
"""
|
|
249
|
+
return self._rds_id
|
|
250
|
+
|
|
251
|
+
@rds_id.setter
|
|
252
|
+
def rds_id(self, rds_id):
|
|
253
|
+
r"""Sets the rds_id of this ConfigurationRequestDataSpec.
|
|
254
|
+
|
|
255
|
+
RDS数据库实例ID。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
256
|
+
|
|
257
|
+
:param rds_id: The rds_id of this ConfigurationRequestDataSpec.
|
|
258
|
+
:type rds_id: str
|
|
259
|
+
"""
|
|
260
|
+
self._rds_id = rds_id
|
|
261
|
+
|
|
262
|
+
@property
|
|
263
|
+
def rds_db_name(self):
|
|
264
|
+
r"""Gets the rds_db_name of this ConfigurationRequestDataSpec.
|
|
265
|
+
|
|
266
|
+
RDS数据库名称。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
267
|
+
|
|
268
|
+
:return: The rds_db_name of this ConfigurationRequestDataSpec.
|
|
269
|
+
:rtype: str
|
|
270
|
+
"""
|
|
271
|
+
return self._rds_db_name
|
|
272
|
+
|
|
273
|
+
@rds_db_name.setter
|
|
274
|
+
def rds_db_name(self, rds_db_name):
|
|
275
|
+
r"""Sets the rds_db_name of this ConfigurationRequestDataSpec.
|
|
276
|
+
|
|
277
|
+
RDS数据库名称。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
278
|
+
|
|
279
|
+
:param rds_db_name: The rds_db_name of this ConfigurationRequestDataSpec.
|
|
280
|
+
:type rds_db_name: str
|
|
281
|
+
"""
|
|
282
|
+
self._rds_db_name = rds_db_name
|
|
283
|
+
|
|
284
|
+
@property
|
|
285
|
+
def rds_address(self):
|
|
286
|
+
r"""Gets the rds_address of this ConfigurationRequestDataSpec.
|
|
287
|
+
|
|
288
|
+
RDS数据库地址。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
289
|
+
|
|
290
|
+
:return: The rds_address of this ConfigurationRequestDataSpec.
|
|
291
|
+
:rtype: str
|
|
292
|
+
"""
|
|
293
|
+
return self._rds_address
|
|
294
|
+
|
|
295
|
+
@rds_address.setter
|
|
296
|
+
def rds_address(self, rds_address):
|
|
297
|
+
r"""Sets the rds_address of this ConfigurationRequestDataSpec.
|
|
298
|
+
|
|
299
|
+
RDS数据库地址。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
300
|
+
|
|
301
|
+
:param rds_address: The rds_address of this ConfigurationRequestDataSpec.
|
|
302
|
+
:type rds_address: str
|
|
303
|
+
"""
|
|
304
|
+
self._rds_address = rds_address
|
|
305
|
+
|
|
306
|
+
@property
|
|
307
|
+
def rds_username(self):
|
|
308
|
+
r"""Gets the rds_username of this ConfigurationRequestDataSpec.
|
|
309
|
+
|
|
310
|
+
RDS数据库用户名称。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
311
|
+
|
|
312
|
+
:return: The rds_username of this ConfigurationRequestDataSpec.
|
|
313
|
+
:rtype: str
|
|
314
|
+
"""
|
|
315
|
+
return self._rds_username
|
|
316
|
+
|
|
317
|
+
@rds_username.setter
|
|
318
|
+
def rds_username(self, rds_username):
|
|
319
|
+
r"""Sets the rds_username of this ConfigurationRequestDataSpec.
|
|
320
|
+
|
|
321
|
+
RDS数据库用户名称。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
322
|
+
|
|
323
|
+
:param rds_username: The rds_username of this ConfigurationRequestDataSpec.
|
|
324
|
+
:type rds_username: str
|
|
325
|
+
"""
|
|
326
|
+
self._rds_username = rds_username
|
|
327
|
+
|
|
328
|
+
@property
|
|
329
|
+
def rds_password(self):
|
|
330
|
+
r"""Gets the rds_password of this ConfigurationRequestDataSpec.
|
|
331
|
+
|
|
332
|
+
RDS数据库密码。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
333
|
+
|
|
334
|
+
:return: The rds_password of this ConfigurationRequestDataSpec.
|
|
335
|
+
:rtype: str
|
|
336
|
+
"""
|
|
337
|
+
return self._rds_password
|
|
338
|
+
|
|
339
|
+
@rds_password.setter
|
|
340
|
+
def rds_password(self, rds_password):
|
|
341
|
+
r"""Sets the rds_password of this ConfigurationRequestDataSpec.
|
|
342
|
+
|
|
343
|
+
RDS数据库密码。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
344
|
+
|
|
345
|
+
:param rds_password: The rds_password of this ConfigurationRequestDataSpec.
|
|
346
|
+
:type rds_password: str
|
|
347
|
+
"""
|
|
348
|
+
self._rds_password = rds_password
|
|
349
|
+
|
|
350
|
+
@property
|
|
351
|
+
def rds_port(self):
|
|
352
|
+
r"""Gets the rds_port of this ConfigurationRequestDataSpec.
|
|
353
|
+
|
|
354
|
+
RDS数据库端口。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
355
|
+
|
|
356
|
+
:return: The rds_port of this ConfigurationRequestDataSpec.
|
|
357
|
+
:rtype: str
|
|
358
|
+
"""
|
|
359
|
+
return self._rds_port
|
|
360
|
+
|
|
361
|
+
@rds_port.setter
|
|
362
|
+
def rds_port(self, rds_port):
|
|
363
|
+
r"""Sets the rds_port of this ConfigurationRequestDataSpec.
|
|
364
|
+
|
|
365
|
+
RDS数据库端口。 ConfigurationItem.type为\"rds\"时,配置此参数。
|
|
366
|
+
|
|
367
|
+
:param rds_port: The rds_port of this ConfigurationRequestDataSpec.
|
|
368
|
+
:type rds_port: str
|
|
369
|
+
"""
|
|
370
|
+
self._rds_port = rds_port
|
|
371
|
+
|
|
372
|
+
@property
|
|
373
|
+
def config_center_addr(self):
|
|
374
|
+
r"""Gets the config_center_addr of this ConfigurationRequestDataSpec.
|
|
375
|
+
|
|
376
|
+
CSE配置中心地址。 ConfigurationItem.type为\"cse\"时,配置此参数。
|
|
377
|
+
|
|
378
|
+
:return: The config_center_addr of this ConfigurationRequestDataSpec.
|
|
379
|
+
:rtype: str
|
|
380
|
+
"""
|
|
381
|
+
return self._config_center_addr
|
|
382
|
+
|
|
383
|
+
@config_center_addr.setter
|
|
384
|
+
def config_center_addr(self, config_center_addr):
|
|
385
|
+
r"""Sets the config_center_addr of this ConfigurationRequestDataSpec.
|
|
386
|
+
|
|
387
|
+
CSE配置中心地址。 ConfigurationItem.type为\"cse\"时,配置此参数。
|
|
388
|
+
|
|
389
|
+
:param config_center_addr: The config_center_addr of this ConfigurationRequestDataSpec.
|
|
390
|
+
:type config_center_addr: str
|
|
391
|
+
"""
|
|
392
|
+
self._config_center_addr = config_center_addr
|
|
393
|
+
|
|
394
|
+
@property
|
|
395
|
+
def service_center_addr(self):
|
|
396
|
+
r"""Gets the service_center_addr of this ConfigurationRequestDataSpec.
|
|
397
|
+
|
|
398
|
+
CSE服务注册发现地址。 ConfigurationItem.type为\"cse\"时,配置此参数。
|
|
399
|
+
|
|
400
|
+
:return: The service_center_addr of this ConfigurationRequestDataSpec.
|
|
401
|
+
:rtype: str
|
|
402
|
+
"""
|
|
403
|
+
return self._service_center_addr
|
|
404
|
+
|
|
405
|
+
@service_center_addr.setter
|
|
406
|
+
def service_center_addr(self, service_center_addr):
|
|
407
|
+
r"""Sets the service_center_addr of this ConfigurationRequestDataSpec.
|
|
408
|
+
|
|
409
|
+
CSE服务注册发现地址。 ConfigurationItem.type为\"cse\"时,配置此参数。
|
|
410
|
+
|
|
411
|
+
:param service_center_addr: The service_center_addr of this ConfigurationRequestDataSpec.
|
|
412
|
+
:type service_center_addr: str
|
|
413
|
+
"""
|
|
414
|
+
self._service_center_addr = service_center_addr
|
|
415
|
+
|
|
416
|
+
@property
|
|
417
|
+
def cse_id(self):
|
|
418
|
+
r"""Gets the cse_id of this ConfigurationRequestDataSpec.
|
|
419
|
+
|
|
420
|
+
CSE引擎ID。 ConfigurationItem.type为\"cse\"时,配置此参数。
|
|
421
|
+
|
|
422
|
+
:return: The cse_id of this ConfigurationRequestDataSpec.
|
|
423
|
+
:rtype: str
|
|
424
|
+
"""
|
|
425
|
+
return self._cse_id
|
|
426
|
+
|
|
427
|
+
@cse_id.setter
|
|
428
|
+
def cse_id(self, cse_id):
|
|
429
|
+
r"""Sets the cse_id of this ConfigurationRequestDataSpec.
|
|
430
|
+
|
|
431
|
+
CSE引擎ID。 ConfigurationItem.type为\"cse\"时,配置此参数。
|
|
432
|
+
|
|
433
|
+
:param cse_id: The cse_id of this ConfigurationRequestDataSpec.
|
|
434
|
+
:type cse_id: str
|
|
435
|
+
"""
|
|
436
|
+
self._cse_id = cse_id
|
|
437
|
+
|
|
438
|
+
@property
|
|
439
|
+
def envs(self):
|
|
440
|
+
r"""Gets the envs of this ConfigurationRequestDataSpec.
|
|
441
|
+
|
|
442
|
+
环境变量配置。 常用环境变量如下: - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
|
|
443
|
+
|
|
444
|
+
:return: The envs of this ConfigurationRequestDataSpec.
|
|
445
|
+
:rtype: dict(str, str)
|
|
446
|
+
"""
|
|
447
|
+
return self._envs
|
|
448
|
+
|
|
449
|
+
@envs.setter
|
|
450
|
+
def envs(self, envs):
|
|
451
|
+
r"""Sets the envs of this ConfigurationRequestDataSpec.
|
|
452
|
+
|
|
453
|
+
环境变量配置。 常用环境变量如下: - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
|
|
454
|
+
|
|
455
|
+
:param envs: The envs of this ConfigurationRequestDataSpec.
|
|
456
|
+
:type envs: dict(str, str)
|
|
457
|
+
"""
|
|
458
|
+
self._envs = envs
|
|
459
|
+
|
|
460
|
+
@property
|
|
461
|
+
def ip(self):
|
|
462
|
+
r"""Gets the ip of this ConfigurationRequestDataSpec.
|
|
463
|
+
|
|
464
|
+
弹性公网IP,响应体参数,未配置域名时返回此参数。
|
|
465
|
+
|
|
466
|
+
:return: The ip of this ConfigurationRequestDataSpec.
|
|
467
|
+
:rtype: str
|
|
468
|
+
"""
|
|
469
|
+
return self._ip
|
|
470
|
+
|
|
471
|
+
@ip.setter
|
|
472
|
+
def ip(self, ip):
|
|
473
|
+
r"""Sets the ip of this ConfigurationRequestDataSpec.
|
|
474
|
+
|
|
475
|
+
弹性公网IP,响应体参数,未配置域名时返回此参数。
|
|
476
|
+
|
|
477
|
+
:param ip: The ip of this ConfigurationRequestDataSpec.
|
|
478
|
+
:type ip: str
|
|
479
|
+
"""
|
|
480
|
+
self._ip = ip
|
|
481
|
+
|
|
482
|
+
@property
|
|
483
|
+
def items(self):
|
|
484
|
+
r"""Gets the items of this ConfigurationRequestDataSpec.
|
|
485
|
+
|
|
486
|
+
访问方式配置列表。 ConfigurationItem.type为\"access\"时,配置此参数。
|
|
487
|
+
|
|
488
|
+
:return: The items of this ConfigurationRequestDataSpec.
|
|
489
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
|
|
490
|
+
"""
|
|
491
|
+
return self._items
|
|
492
|
+
|
|
493
|
+
@items.setter
|
|
494
|
+
def items(self, items):
|
|
495
|
+
r"""Sets the items of this ConfigurationRequestDataSpec.
|
|
496
|
+
|
|
497
|
+
访问方式配置列表。 ConfigurationItem.type为\"access\"时,配置此参数。
|
|
498
|
+
|
|
499
|
+
:param items: The items of this ConfigurationRequestDataSpec.
|
|
500
|
+
:type items: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
|
|
501
|
+
"""
|
|
502
|
+
self._items = items
|
|
503
|
+
|
|
504
|
+
@property
|
|
505
|
+
def scale_strategy(self):
|
|
506
|
+
r"""Gets the scale_strategy of this ConfigurationRequestDataSpec.
|
|
507
|
+
|
|
508
|
+
伸缩策略配置策略类型。 ConfigurationItem.type为\"scaling\"时,配置此参数。
|
|
509
|
+
|
|
510
|
+
:return: The scale_strategy of this ConfigurationRequestDataSpec.
|
|
511
|
+
:rtype: str
|
|
512
|
+
"""
|
|
513
|
+
return self._scale_strategy
|
|
514
|
+
|
|
515
|
+
@scale_strategy.setter
|
|
516
|
+
def scale_strategy(self, scale_strategy):
|
|
517
|
+
r"""Sets the scale_strategy of this ConfigurationRequestDataSpec.
|
|
518
|
+
|
|
519
|
+
伸缩策略配置策略类型。 ConfigurationItem.type为\"scaling\"时,配置此参数。
|
|
520
|
+
|
|
521
|
+
:param scale_strategy: The scale_strategy of this ConfigurationRequestDataSpec.
|
|
522
|
+
:type scale_strategy: str
|
|
523
|
+
"""
|
|
524
|
+
self._scale_strategy = scale_strategy
|
|
525
|
+
|
|
526
|
+
@property
|
|
527
|
+
def max_replica_count(self):
|
|
528
|
+
r"""Gets the max_replica_count of this ConfigurationRequestDataSpec.
|
|
529
|
+
|
|
530
|
+
伸缩策略配置最大伸缩个数。 ConfigurationItem.type为\"scaling\"时,配置此参数。
|
|
531
|
+
|
|
532
|
+
:return: The max_replica_count of this ConfigurationRequestDataSpec.
|
|
533
|
+
:rtype: int
|
|
534
|
+
"""
|
|
535
|
+
return self._max_replica_count
|
|
536
|
+
|
|
537
|
+
@max_replica_count.setter
|
|
538
|
+
def max_replica_count(self, max_replica_count):
|
|
539
|
+
r"""Sets the max_replica_count of this ConfigurationRequestDataSpec.
|
|
540
|
+
|
|
541
|
+
伸缩策略配置最大伸缩个数。 ConfigurationItem.type为\"scaling\"时,配置此参数。
|
|
542
|
+
|
|
543
|
+
:param max_replica_count: The max_replica_count of this ConfigurationRequestDataSpec.
|
|
544
|
+
:type max_replica_count: int
|
|
545
|
+
"""
|
|
546
|
+
self._max_replica_count = max_replica_count
|
|
547
|
+
|
|
548
|
+
@property
|
|
549
|
+
def min_replica_count(self):
|
|
550
|
+
r"""Gets the min_replica_count of this ConfigurationRequestDataSpec.
|
|
551
|
+
|
|
552
|
+
伸缩策略配置最小伸缩个数。 ConfigurationItem.type为\"scaling\"时,配置此参数。
|
|
553
|
+
|
|
554
|
+
:return: The min_replica_count of this ConfigurationRequestDataSpec.
|
|
555
|
+
:rtype: int
|
|
556
|
+
"""
|
|
557
|
+
return self._min_replica_count
|
|
558
|
+
|
|
559
|
+
@min_replica_count.setter
|
|
560
|
+
def min_replica_count(self, min_replica_count):
|
|
561
|
+
r"""Sets the min_replica_count of this ConfigurationRequestDataSpec.
|
|
562
|
+
|
|
563
|
+
伸缩策略配置最小伸缩个数。 ConfigurationItem.type为\"scaling\"时,配置此参数。
|
|
564
|
+
|
|
565
|
+
:param min_replica_count: The min_replica_count of this ConfigurationRequestDataSpec.
|
|
566
|
+
:type min_replica_count: int
|
|
567
|
+
"""
|
|
568
|
+
self._min_replica_count = min_replica_count
|
|
569
|
+
|
|
570
|
+
@property
|
|
571
|
+
def advanced(self):
|
|
572
|
+
r"""Gets the advanced of this ConfigurationRequestDataSpec.
|
|
573
|
+
|
|
574
|
+
:return: The advanced of this ConfigurationRequestDataSpec.
|
|
575
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ScaleConfigurationDataAdvanced`
|
|
576
|
+
"""
|
|
577
|
+
return self._advanced
|
|
578
|
+
|
|
579
|
+
@advanced.setter
|
|
580
|
+
def advanced(self, advanced):
|
|
581
|
+
r"""Sets the advanced of this ConfigurationRequestDataSpec.
|
|
582
|
+
|
|
583
|
+
:param advanced: The advanced of this ConfigurationRequestDataSpec.
|
|
584
|
+
:type advanced: :class:`huaweicloudsdkcae.v1.ScaleConfigurationDataAdvanced`
|
|
585
|
+
"""
|
|
586
|
+
self._advanced = advanced
|
|
587
|
+
|
|
588
|
+
@property
|
|
589
|
+
def triggers(self):
|
|
590
|
+
r"""Gets the triggers of this ConfigurationRequestDataSpec.
|
|
591
|
+
|
|
592
|
+
伸缩策略配置触发器列表。 ConfigurationItem.type为\"scaling\"时,配置此参数。
|
|
593
|
+
|
|
594
|
+
:return: The triggers of this ConfigurationRequestDataSpec.
|
|
595
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
|
|
596
|
+
"""
|
|
597
|
+
return self._triggers
|
|
598
|
+
|
|
599
|
+
@triggers.setter
|
|
600
|
+
def triggers(self, triggers):
|
|
601
|
+
r"""Sets the triggers of this ConfigurationRequestDataSpec.
|
|
602
|
+
|
|
603
|
+
伸缩策略配置触发器列表。 ConfigurationItem.type为\"scaling\"时,配置此参数。
|
|
604
|
+
|
|
605
|
+
:param triggers: The triggers of this ConfigurationRequestDataSpec.
|
|
606
|
+
:type triggers: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
|
|
607
|
+
"""
|
|
608
|
+
self._triggers = triggers
|
|
609
|
+
|
|
610
|
+
@property
|
|
611
|
+
def volumes(self):
|
|
612
|
+
r"""Gets the volumes of this ConfigurationRequestDataSpec.
|
|
613
|
+
|
|
614
|
+
云存储配置列表。 ConfigurationItem.type为\"volume\"时,配置此参数。
|
|
615
|
+
|
|
616
|
+
:return: The volumes of this ConfigurationRequestDataSpec.
|
|
617
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
|
|
618
|
+
"""
|
|
619
|
+
return self._volumes
|
|
620
|
+
|
|
621
|
+
@volumes.setter
|
|
622
|
+
def volumes(self, volumes):
|
|
623
|
+
r"""Sets the volumes of this ConfigurationRequestDataSpec.
|
|
624
|
+
|
|
625
|
+
云存储配置列表。 ConfigurationItem.type为\"volume\"时,配置此参数。
|
|
626
|
+
|
|
627
|
+
:param volumes: The volumes of this ConfigurationRequestDataSpec.
|
|
628
|
+
:type volumes: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
|
|
629
|
+
"""
|
|
630
|
+
self._volumes = volumes
|
|
631
|
+
|
|
632
|
+
@property
|
|
633
|
+
def liveness_probe(self):
|
|
634
|
+
r"""Gets the liveness_probe of this ConfigurationRequestDataSpec.
|
|
635
|
+
|
|
636
|
+
:return: The liveness_probe of this ConfigurationRequestDataSpec.
|
|
637
|
+
:rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
|
|
638
|
+
"""
|
|
639
|
+
return self._liveness_probe
|
|
640
|
+
|
|
641
|
+
@liveness_probe.setter
|
|
642
|
+
def liveness_probe(self, liveness_probe):
|
|
643
|
+
r"""Sets the liveness_probe of this ConfigurationRequestDataSpec.
|
|
644
|
+
|
|
645
|
+
:param liveness_probe: The liveness_probe of this ConfigurationRequestDataSpec.
|
|
646
|
+
:type liveness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
|
|
647
|
+
"""
|
|
648
|
+
self._liveness_probe = liveness_probe
|
|
649
|
+
|
|
650
|
+
@property
|
|
651
|
+
def startup_probe(self):
|
|
652
|
+
r"""Gets the startup_probe of this ConfigurationRequestDataSpec.
|
|
653
|
+
|
|
654
|
+
:return: The startup_probe of this ConfigurationRequestDataSpec.
|
|
655
|
+
:rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationStartupProbe`
|
|
656
|
+
"""
|
|
657
|
+
return self._startup_probe
|
|
658
|
+
|
|
659
|
+
@startup_probe.setter
|
|
660
|
+
def startup_probe(self, startup_probe):
|
|
661
|
+
r"""Sets the startup_probe of this ConfigurationRequestDataSpec.
|
|
662
|
+
|
|
663
|
+
:param startup_probe: The startup_probe of this ConfigurationRequestDataSpec.
|
|
664
|
+
:type startup_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationStartupProbe`
|
|
665
|
+
"""
|
|
666
|
+
self._startup_probe = startup_probe
|
|
667
|
+
|
|
668
|
+
@property
|
|
669
|
+
def readiness_probe(self):
|
|
670
|
+
r"""Gets the readiness_probe of this ConfigurationRequestDataSpec.
|
|
671
|
+
|
|
672
|
+
:return: The readiness_probe of this ConfigurationRequestDataSpec.
|
|
673
|
+
:rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationReadinessProbe`
|
|
674
|
+
"""
|
|
675
|
+
return self._readiness_probe
|
|
676
|
+
|
|
677
|
+
@readiness_probe.setter
|
|
678
|
+
def readiness_probe(self, readiness_probe):
|
|
679
|
+
r"""Sets the readiness_probe of this ConfigurationRequestDataSpec.
|
|
680
|
+
|
|
681
|
+
:param readiness_probe: The readiness_probe of this ConfigurationRequestDataSpec.
|
|
682
|
+
:type readiness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationReadinessProbe`
|
|
683
|
+
"""
|
|
684
|
+
self._readiness_probe = readiness_probe
|
|
685
|
+
|
|
686
|
+
@property
|
|
687
|
+
def post_start(self):
|
|
688
|
+
r"""Gets the post_start of this ConfigurationRequestDataSpec.
|
|
689
|
+
|
|
690
|
+
:return: The post_start of this ConfigurationRequestDataSpec.
|
|
691
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpecPostStart`
|
|
692
|
+
"""
|
|
693
|
+
return self._post_start
|
|
694
|
+
|
|
695
|
+
@post_start.setter
|
|
696
|
+
def post_start(self, post_start):
|
|
697
|
+
r"""Sets the post_start of this ConfigurationRequestDataSpec.
|
|
698
|
+
|
|
699
|
+
:param post_start: The post_start of this ConfigurationRequestDataSpec.
|
|
700
|
+
:type post_start: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpecPostStart`
|
|
701
|
+
"""
|
|
702
|
+
self._post_start = post_start
|
|
703
|
+
|
|
704
|
+
@property
|
|
705
|
+
def pre_stop(self):
|
|
706
|
+
r"""Gets the pre_stop of this ConfigurationRequestDataSpec.
|
|
707
|
+
|
|
708
|
+
:return: The pre_stop of this ConfigurationRequestDataSpec.
|
|
709
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpecPreStop`
|
|
710
|
+
"""
|
|
711
|
+
return self._pre_stop
|
|
712
|
+
|
|
713
|
+
@pre_stop.setter
|
|
714
|
+
def pre_stop(self, pre_stop):
|
|
715
|
+
r"""Sets the pre_stop of this ConfigurationRequestDataSpec.
|
|
716
|
+
|
|
717
|
+
:param pre_stop: The pre_stop of this ConfigurationRequestDataSpec.
|
|
718
|
+
:type pre_stop: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpecPreStop`
|
|
719
|
+
"""
|
|
720
|
+
self._pre_stop = pre_stop
|
|
721
|
+
|
|
722
|
+
@property
|
|
723
|
+
def log_paths(self):
|
|
724
|
+
r"""Gets the log_paths of this ConfigurationRequestDataSpec.
|
|
725
|
+
|
|
726
|
+
自定义本地磁盘日志路径数组。 ConfigurationItem.type为\"log\"时,配置此参数。
|
|
727
|
+
|
|
728
|
+
:return: The log_paths of this ConfigurationRequestDataSpec.
|
|
729
|
+
:rtype: list[str]
|
|
730
|
+
"""
|
|
731
|
+
return self._log_paths
|
|
732
|
+
|
|
733
|
+
@log_paths.setter
|
|
734
|
+
def log_paths(self, log_paths):
|
|
735
|
+
r"""Sets the log_paths of this ConfigurationRequestDataSpec.
|
|
736
|
+
|
|
737
|
+
自定义本地磁盘日志路径数组。 ConfigurationItem.type为\"log\"时,配置此参数。
|
|
738
|
+
|
|
739
|
+
:param log_paths: The log_paths of this ConfigurationRequestDataSpec.
|
|
740
|
+
:type log_paths: list[str]
|
|
741
|
+
"""
|
|
742
|
+
self._log_paths = log_paths
|
|
743
|
+
|
|
744
|
+
@property
|
|
745
|
+
def cloud_storage_log_paths(self):
|
|
746
|
+
r"""Gets the cloud_storage_log_paths of this ConfigurationRequestDataSpec.
|
|
747
|
+
|
|
748
|
+
自定义云存储日志路径数组。 ConfigurationItem.type为\"log\"时,配置此参数。
|
|
749
|
+
|
|
750
|
+
:return: The cloud_storage_log_paths of this ConfigurationRequestDataSpec.
|
|
751
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.CloudStorageLogPathInfo`]
|
|
752
|
+
"""
|
|
753
|
+
return self._cloud_storage_log_paths
|
|
754
|
+
|
|
755
|
+
@cloud_storage_log_paths.setter
|
|
756
|
+
def cloud_storage_log_paths(self, cloud_storage_log_paths):
|
|
757
|
+
r"""Sets the cloud_storage_log_paths of this ConfigurationRequestDataSpec.
|
|
758
|
+
|
|
759
|
+
自定义云存储日志路径数组。 ConfigurationItem.type为\"log\"时,配置此参数。
|
|
760
|
+
|
|
761
|
+
:param cloud_storage_log_paths: The cloud_storage_log_paths of this ConfigurationRequestDataSpec.
|
|
762
|
+
:type cloud_storage_log_paths: list[:class:`huaweicloudsdkcae.v1.CloudStorageLogPathInfo`]
|
|
763
|
+
"""
|
|
764
|
+
self._cloud_storage_log_paths = cloud_storage_log_paths
|
|
765
|
+
|
|
766
|
+
@property
|
|
767
|
+
def instrumentation(self):
|
|
768
|
+
r"""Gets the instrumentation of this ConfigurationRequestDataSpec.
|
|
769
|
+
|
|
770
|
+
探针注入方式。 ConfigurationItem.type为\"apm2\"时,配置此参数。
|
|
771
|
+
|
|
772
|
+
:return: The instrumentation of this ConfigurationRequestDataSpec.
|
|
773
|
+
:rtype: str
|
|
774
|
+
"""
|
|
775
|
+
return self._instrumentation
|
|
776
|
+
|
|
777
|
+
@instrumentation.setter
|
|
778
|
+
def instrumentation(self, instrumentation):
|
|
779
|
+
r"""Sets the instrumentation of this ConfigurationRequestDataSpec.
|
|
780
|
+
|
|
781
|
+
探针注入方式。 ConfigurationItem.type为\"apm2\"时,配置此参数。
|
|
782
|
+
|
|
783
|
+
:param instrumentation: The instrumentation of this ConfigurationRequestDataSpec.
|
|
784
|
+
:type instrumentation: str
|
|
785
|
+
"""
|
|
786
|
+
self._instrumentation = instrumentation
|
|
787
|
+
|
|
788
|
+
@property
|
|
789
|
+
def path(self):
|
|
790
|
+
r"""Gets the path of this ConfigurationRequestDataSpec.
|
|
791
|
+
|
|
792
|
+
自定义监控指标配置采集路径。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
|
|
793
|
+
|
|
794
|
+
:return: The path of this ConfigurationRequestDataSpec.
|
|
795
|
+
:rtype: str
|
|
796
|
+
"""
|
|
797
|
+
return self._path
|
|
798
|
+
|
|
799
|
+
@path.setter
|
|
800
|
+
def path(self, path):
|
|
801
|
+
r"""Sets the path of this ConfigurationRequestDataSpec.
|
|
802
|
+
|
|
803
|
+
自定义监控指标配置采集路径。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
|
|
804
|
+
|
|
805
|
+
:param path: The path of this ConfigurationRequestDataSpec.
|
|
806
|
+
:type path: str
|
|
807
|
+
"""
|
|
808
|
+
self._path = path
|
|
809
|
+
|
|
810
|
+
@property
|
|
811
|
+
def port(self):
|
|
812
|
+
r"""Gets the port of this ConfigurationRequestDataSpec.
|
|
813
|
+
|
|
814
|
+
自定义监控指标配置采集端口。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
|
|
815
|
+
|
|
816
|
+
:return: The port of this ConfigurationRequestDataSpec.
|
|
817
|
+
:rtype: int
|
|
818
|
+
"""
|
|
819
|
+
return self._port
|
|
820
|
+
|
|
821
|
+
@port.setter
|
|
822
|
+
def port(self, port):
|
|
823
|
+
r"""Sets the port of this ConfigurationRequestDataSpec.
|
|
824
|
+
|
|
825
|
+
自定义监控指标配置采集端口。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
|
|
826
|
+
|
|
827
|
+
:param port: The port of this ConfigurationRequestDataSpec.
|
|
828
|
+
:type port: int
|
|
829
|
+
"""
|
|
830
|
+
self._port = port
|
|
831
|
+
|
|
832
|
+
@property
|
|
833
|
+
def metrics(self):
|
|
834
|
+
r"""Gets the metrics of this ConfigurationRequestDataSpec.
|
|
835
|
+
|
|
836
|
+
自定义监控指标配置指标名称。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
|
|
837
|
+
|
|
838
|
+
:return: The metrics of this ConfigurationRequestDataSpec.
|
|
839
|
+
:rtype: list[str]
|
|
840
|
+
"""
|
|
841
|
+
return self._metrics
|
|
842
|
+
|
|
843
|
+
@metrics.setter
|
|
844
|
+
def metrics(self, metrics):
|
|
845
|
+
r"""Sets the metrics of this ConfigurationRequestDataSpec.
|
|
846
|
+
|
|
847
|
+
自定义监控指标配置指标名称。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
|
|
848
|
+
|
|
849
|
+
:param metrics: The metrics of this ConfigurationRequestDataSpec.
|
|
850
|
+
:type metrics: list[str]
|
|
851
|
+
"""
|
|
852
|
+
self._metrics = metrics
|
|
853
|
+
|
|
854
|
+
def to_dict(self):
|
|
855
|
+
"""Returns the model properties as a dict"""
|
|
856
|
+
result = {}
|
|
857
|
+
|
|
858
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
859
|
+
value = getattr(self, attr)
|
|
860
|
+
if isinstance(value, list):
|
|
861
|
+
result[attr] = list(map(
|
|
862
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
863
|
+
value
|
|
864
|
+
))
|
|
865
|
+
elif hasattr(value, "to_dict"):
|
|
866
|
+
result[attr] = value.to_dict()
|
|
867
|
+
elif isinstance(value, dict):
|
|
868
|
+
result[attr] = dict(map(
|
|
869
|
+
lambda item: (item[0], item[1].to_dict())
|
|
870
|
+
if hasattr(item[1], "to_dict") else item,
|
|
871
|
+
value.items()
|
|
872
|
+
))
|
|
873
|
+
else:
|
|
874
|
+
if attr in self.sensitive_list:
|
|
875
|
+
result[attr] = "****"
|
|
876
|
+
else:
|
|
877
|
+
result[attr] = value
|
|
878
|
+
|
|
879
|
+
return result
|
|
880
|
+
|
|
881
|
+
def to_str(self):
|
|
882
|
+
"""Returns the string representation of the model"""
|
|
883
|
+
import simplejson as json
|
|
884
|
+
if six.PY2:
|
|
885
|
+
import sys
|
|
886
|
+
reload(sys)
|
|
887
|
+
sys.setdefaultencoding("utf-8")
|
|
888
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
889
|
+
|
|
890
|
+
def __repr__(self):
|
|
891
|
+
"""For `print`"""
|
|
892
|
+
return self.to_str()
|
|
893
|
+
|
|
894
|
+
def __eq__(self, other):
|
|
895
|
+
"""Returns true if both objects are equal"""
|
|
896
|
+
if not isinstance(other, ConfigurationRequestDataSpec):
|
|
897
|
+
return False
|
|
898
|
+
|
|
899
|
+
return self.__dict__ == other.__dict__
|
|
900
|
+
|
|
901
|
+
def __ne__(self, other):
|
|
902
|
+
"""Returns true if both objects are not equal"""
|
|
903
|
+
return not self == other
|