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,1193 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ConfigurationResponseDataSpec:
|
|
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': 'ConfigurationResponseDataSpecPostStart',
|
|
42
|
+
'pre_stop': 'ConfigurationResponseDataSpecPreStop',
|
|
43
|
+
'log_paths': 'list[str]',
|
|
44
|
+
'cloud_storage_log_paths': 'list[CloudStorageLogPathInfo]',
|
|
45
|
+
'instrumentation': 'str',
|
|
46
|
+
'apm_application': 'str',
|
|
47
|
+
'type': 'str',
|
|
48
|
+
'app_name': 'str',
|
|
49
|
+
'instance_name': 'str',
|
|
50
|
+
'env_name': 'str',
|
|
51
|
+
'image_pull_policy': 'str',
|
|
52
|
+
'version': 'str',
|
|
53
|
+
'access_key': 'str',
|
|
54
|
+
'access_value': 'str',
|
|
55
|
+
'business': 'str',
|
|
56
|
+
'path': 'str',
|
|
57
|
+
'port': 'int',
|
|
58
|
+
'metrics': 'list[str]'
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
attribute_map = {
|
|
62
|
+
'rds_id': 'rds_id',
|
|
63
|
+
'rds_db_name': 'rds_db_name',
|
|
64
|
+
'rds_address': 'rds_address',
|
|
65
|
+
'rds_username': 'rds_username',
|
|
66
|
+
'rds_password': 'rds_password',
|
|
67
|
+
'rds_port': 'rds_port',
|
|
68
|
+
'config_center_addr': 'config_center_addr',
|
|
69
|
+
'service_center_addr': 'service_center_addr',
|
|
70
|
+
'cse_id': 'cse_id',
|
|
71
|
+
'envs': 'envs',
|
|
72
|
+
'ip': 'ip',
|
|
73
|
+
'items': 'items',
|
|
74
|
+
'scale_strategy': 'scale_strategy',
|
|
75
|
+
'max_replica_count': 'max_replica_count',
|
|
76
|
+
'min_replica_count': 'min_replica_count',
|
|
77
|
+
'advanced': 'advanced',
|
|
78
|
+
'triggers': 'triggers',
|
|
79
|
+
'volumes': 'volumes',
|
|
80
|
+
'liveness_probe': 'livenessProbe',
|
|
81
|
+
'startup_probe': 'startupProbe',
|
|
82
|
+
'readiness_probe': 'readinessProbe',
|
|
83
|
+
'post_start': 'postStart',
|
|
84
|
+
'pre_stop': 'preStop',
|
|
85
|
+
'log_paths': 'log_paths',
|
|
86
|
+
'cloud_storage_log_paths': 'cloud_storage_log_paths',
|
|
87
|
+
'instrumentation': 'instrumentation',
|
|
88
|
+
'apm_application': 'apm_application',
|
|
89
|
+
'type': 'type',
|
|
90
|
+
'app_name': 'app_name',
|
|
91
|
+
'instance_name': 'instance_name',
|
|
92
|
+
'env_name': 'env_name',
|
|
93
|
+
'image_pull_policy': 'image_pull_policy',
|
|
94
|
+
'version': 'version',
|
|
95
|
+
'access_key': 'access_key',
|
|
96
|
+
'access_value': 'access_value',
|
|
97
|
+
'business': 'business',
|
|
98
|
+
'path': 'path',
|
|
99
|
+
'port': 'port',
|
|
100
|
+
'metrics': 'metrics'
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
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, apm_application=None, type=None, app_name=None, instance_name=None, env_name=None, image_pull_policy=None, version=None, access_key=None, access_value=None, business=None, path=None, port=None, metrics=None):
|
|
104
|
+
r"""ConfigurationResponseDataSpec
|
|
105
|
+
|
|
106
|
+
The model defined in huaweicloud sdk
|
|
107
|
+
|
|
108
|
+
:param rds_id: RDS数据库实例ID。 Configuration.type为\"rds\"时,返回此参数。
|
|
109
|
+
:type rds_id: str
|
|
110
|
+
:param rds_db_name: RDS数据库名称。 Configuration.type为\"rds\"时,返回此参数。
|
|
111
|
+
:type rds_db_name: str
|
|
112
|
+
:param rds_address: RDS数据库地址。 Configuration.type为\"rds\"时,返回此参数。
|
|
113
|
+
:type rds_address: str
|
|
114
|
+
:param rds_username: RDS数据库用户名称。 Configuration.type为\"rds\"时,返回此参数。
|
|
115
|
+
:type rds_username: str
|
|
116
|
+
:param rds_password: RDS数据库密码。 Configuration.type为\"rds\"时,返回此参数。
|
|
117
|
+
:type rds_password: str
|
|
118
|
+
:param rds_port: RDS数据库端口。 Configuration.type为\"rds\"时,返回此参数。
|
|
119
|
+
:type rds_port: str
|
|
120
|
+
:param config_center_addr: CSE配置中心地址。 Configuration.type为\"cse\"时,返回此参数。
|
|
121
|
+
:type config_center_addr: str
|
|
122
|
+
:param service_center_addr: CSE服务注册发现地址。 Configuration.type为\"cse\"时,返回此参数。
|
|
123
|
+
:type service_center_addr: str
|
|
124
|
+
:param cse_id: CSE引擎ID。 Configuration.type为\"cse\"时,返回此参数。
|
|
125
|
+
:type cse_id: str
|
|
126
|
+
:param envs: 环境变量配置。 常用环境变量如下: - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
|
|
127
|
+
:type envs: dict(str, str)
|
|
128
|
+
:param ip: 弹性公网IP,响应体参数,未配置域名时返回此参数。
|
|
129
|
+
:type ip: str
|
|
130
|
+
:param items: 访问方式配置列表。 Configuration.type为\"access\"时,返回此参数。
|
|
131
|
+
:type items: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
|
|
132
|
+
:param scale_strategy: 伸缩策略配置策略类型。 Configuration.type为\"scaling\"时,返回此参数。
|
|
133
|
+
:type scale_strategy: str
|
|
134
|
+
:param max_replica_count: 伸缩策略配置最大伸缩个数。 Configuration.type为\"scaling\"时,返回此参数。
|
|
135
|
+
:type max_replica_count: int
|
|
136
|
+
:param min_replica_count: 伸缩策略配置最小伸缩个数。 Configuration.type为\"scaling\"时,返回此参数。
|
|
137
|
+
:type min_replica_count: int
|
|
138
|
+
:param advanced:
|
|
139
|
+
:type advanced: :class:`huaweicloudsdkcae.v1.ScaleConfigurationDataAdvanced`
|
|
140
|
+
:param triggers: 伸缩策略配置触发器列表。 Configuration.type为\"scaling\"时,返回此参数。
|
|
141
|
+
:type triggers: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
|
|
142
|
+
:param volumes: 云存储配置列表。 Configuration.type为\"volume\"时,返回此参数。
|
|
143
|
+
:type volumes: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
|
|
144
|
+
:param liveness_probe:
|
|
145
|
+
:type liveness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
|
|
146
|
+
:param startup_probe:
|
|
147
|
+
:type startup_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationStartupProbe`
|
|
148
|
+
:param readiness_probe:
|
|
149
|
+
:type readiness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationReadinessProbe`
|
|
150
|
+
:param post_start:
|
|
151
|
+
:type post_start: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpecPostStart`
|
|
152
|
+
:param pre_stop:
|
|
153
|
+
:type pre_stop: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpecPreStop`
|
|
154
|
+
:param log_paths: 自定义本地磁盘日志路径数组。 Configuration.type为\"log\"时,返回此参数。
|
|
155
|
+
:type log_paths: list[str]
|
|
156
|
+
:param cloud_storage_log_paths: 自定义云存储日志路径数组。 Configuration.type为\"log\"时,返回此参数。
|
|
157
|
+
:type cloud_storage_log_paths: list[:class:`huaweicloudsdkcae.v1.CloudStorageLogPathInfo`]
|
|
158
|
+
:param instrumentation: 探针注入方式。 Configuration.type为\"apm2\"时,返回此参数。
|
|
159
|
+
:type instrumentation: str
|
|
160
|
+
:param apm_application: apm2应用。 Configuration.type为\"apm2\"时,返回此参数。
|
|
161
|
+
:type apm_application: str
|
|
162
|
+
:param type: 监控系统类别,包括apm2和opentelemetry。 Configuration.type为\"apm2\"时,返回此参数。
|
|
163
|
+
:type type: str
|
|
164
|
+
:param app_name: apm2组件。 Configuration.type为\"apm2\"时,返回此参数。
|
|
165
|
+
:type app_name: str
|
|
166
|
+
:param instance_name: apm2实例。 Configuration.type为\"apm2\"时,返回此参数。
|
|
167
|
+
:type instance_name: str
|
|
168
|
+
:param env_name: apm2环境。 Configuration.type为\"apm2\"时,返回此参数。
|
|
169
|
+
:type env_name: str
|
|
170
|
+
:param image_pull_policy: 探针镜像更新策略,已废弃,迁移到监控系统。 - Always,重启自动升级:每次都尝试重新下载镜像。 - IfNotPresent,手动升级: 如果本地有该镜像,则继续使用本地镜像,不下载镜像。 Configuration.type为\"apm2\"时,返回此参数。
|
|
171
|
+
:type image_pull_policy: str
|
|
172
|
+
:param version: 增强型探针/opentelemetry探针版本,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
|
|
173
|
+
:type version: str
|
|
174
|
+
:param access_key: apm2访问密钥Key,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
|
|
175
|
+
:type access_key: str
|
|
176
|
+
:param access_value: apm2访问密钥value,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
|
|
177
|
+
:type access_value: str
|
|
178
|
+
:param business: apm2应用,同apm_application,已废弃。 Configuration.type为\"apm2\"时,返回此参数。
|
|
179
|
+
:type business: str
|
|
180
|
+
:param path: 自定义监控指标配置采集路径。 Configuration.type为\"customMetric\"时,返回此参数。
|
|
181
|
+
:type path: str
|
|
182
|
+
:param port: 自定义监控指标配置采集端口。 Configuration.type为\"customMetric\"时,返回此参数。
|
|
183
|
+
:type port: int
|
|
184
|
+
:param metrics: 自定义监控指标配置指标名称。 Configuration.type为\"customMetric\"时,返回此参数。
|
|
185
|
+
:type metrics: list[str]
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
self._rds_id = None
|
|
191
|
+
self._rds_db_name = None
|
|
192
|
+
self._rds_address = None
|
|
193
|
+
self._rds_username = None
|
|
194
|
+
self._rds_password = None
|
|
195
|
+
self._rds_port = None
|
|
196
|
+
self._config_center_addr = None
|
|
197
|
+
self._service_center_addr = None
|
|
198
|
+
self._cse_id = None
|
|
199
|
+
self._envs = None
|
|
200
|
+
self._ip = None
|
|
201
|
+
self._items = None
|
|
202
|
+
self._scale_strategy = None
|
|
203
|
+
self._max_replica_count = None
|
|
204
|
+
self._min_replica_count = None
|
|
205
|
+
self._advanced = None
|
|
206
|
+
self._triggers = None
|
|
207
|
+
self._volumes = None
|
|
208
|
+
self._liveness_probe = None
|
|
209
|
+
self._startup_probe = None
|
|
210
|
+
self._readiness_probe = None
|
|
211
|
+
self._post_start = None
|
|
212
|
+
self._pre_stop = None
|
|
213
|
+
self._log_paths = None
|
|
214
|
+
self._cloud_storage_log_paths = None
|
|
215
|
+
self._instrumentation = None
|
|
216
|
+
self._apm_application = None
|
|
217
|
+
self._type = None
|
|
218
|
+
self._app_name = None
|
|
219
|
+
self._instance_name = None
|
|
220
|
+
self._env_name = None
|
|
221
|
+
self._image_pull_policy = None
|
|
222
|
+
self._version = None
|
|
223
|
+
self._access_key = None
|
|
224
|
+
self._access_value = None
|
|
225
|
+
self._business = None
|
|
226
|
+
self._path = None
|
|
227
|
+
self._port = None
|
|
228
|
+
self._metrics = None
|
|
229
|
+
self.discriminator = None
|
|
230
|
+
|
|
231
|
+
if rds_id is not None:
|
|
232
|
+
self.rds_id = rds_id
|
|
233
|
+
if rds_db_name is not None:
|
|
234
|
+
self.rds_db_name = rds_db_name
|
|
235
|
+
if rds_address is not None:
|
|
236
|
+
self.rds_address = rds_address
|
|
237
|
+
if rds_username is not None:
|
|
238
|
+
self.rds_username = rds_username
|
|
239
|
+
if rds_password is not None:
|
|
240
|
+
self.rds_password = rds_password
|
|
241
|
+
if rds_port is not None:
|
|
242
|
+
self.rds_port = rds_port
|
|
243
|
+
if config_center_addr is not None:
|
|
244
|
+
self.config_center_addr = config_center_addr
|
|
245
|
+
if service_center_addr is not None:
|
|
246
|
+
self.service_center_addr = service_center_addr
|
|
247
|
+
if cse_id is not None:
|
|
248
|
+
self.cse_id = cse_id
|
|
249
|
+
if envs is not None:
|
|
250
|
+
self.envs = envs
|
|
251
|
+
if ip is not None:
|
|
252
|
+
self.ip = ip
|
|
253
|
+
if items is not None:
|
|
254
|
+
self.items = items
|
|
255
|
+
if scale_strategy is not None:
|
|
256
|
+
self.scale_strategy = scale_strategy
|
|
257
|
+
if max_replica_count is not None:
|
|
258
|
+
self.max_replica_count = max_replica_count
|
|
259
|
+
if min_replica_count is not None:
|
|
260
|
+
self.min_replica_count = min_replica_count
|
|
261
|
+
if advanced is not None:
|
|
262
|
+
self.advanced = advanced
|
|
263
|
+
if triggers is not None:
|
|
264
|
+
self.triggers = triggers
|
|
265
|
+
if volumes is not None:
|
|
266
|
+
self.volumes = volumes
|
|
267
|
+
if liveness_probe is not None:
|
|
268
|
+
self.liveness_probe = liveness_probe
|
|
269
|
+
if startup_probe is not None:
|
|
270
|
+
self.startup_probe = startup_probe
|
|
271
|
+
if readiness_probe is not None:
|
|
272
|
+
self.readiness_probe = readiness_probe
|
|
273
|
+
if post_start is not None:
|
|
274
|
+
self.post_start = post_start
|
|
275
|
+
if pre_stop is not None:
|
|
276
|
+
self.pre_stop = pre_stop
|
|
277
|
+
if log_paths is not None:
|
|
278
|
+
self.log_paths = log_paths
|
|
279
|
+
if cloud_storage_log_paths is not None:
|
|
280
|
+
self.cloud_storage_log_paths = cloud_storage_log_paths
|
|
281
|
+
if instrumentation is not None:
|
|
282
|
+
self.instrumentation = instrumentation
|
|
283
|
+
if apm_application is not None:
|
|
284
|
+
self.apm_application = apm_application
|
|
285
|
+
if type is not None:
|
|
286
|
+
self.type = type
|
|
287
|
+
if app_name is not None:
|
|
288
|
+
self.app_name = app_name
|
|
289
|
+
if instance_name is not None:
|
|
290
|
+
self.instance_name = instance_name
|
|
291
|
+
if env_name is not None:
|
|
292
|
+
self.env_name = env_name
|
|
293
|
+
if image_pull_policy is not None:
|
|
294
|
+
self.image_pull_policy = image_pull_policy
|
|
295
|
+
if version is not None:
|
|
296
|
+
self.version = version
|
|
297
|
+
if access_key is not None:
|
|
298
|
+
self.access_key = access_key
|
|
299
|
+
if access_value is not None:
|
|
300
|
+
self.access_value = access_value
|
|
301
|
+
if business is not None:
|
|
302
|
+
self.business = business
|
|
303
|
+
if path is not None:
|
|
304
|
+
self.path = path
|
|
305
|
+
if port is not None:
|
|
306
|
+
self.port = port
|
|
307
|
+
if metrics is not None:
|
|
308
|
+
self.metrics = metrics
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
def rds_id(self):
|
|
312
|
+
r"""Gets the rds_id of this ConfigurationResponseDataSpec.
|
|
313
|
+
|
|
314
|
+
RDS数据库实例ID。 Configuration.type为\"rds\"时,返回此参数。
|
|
315
|
+
|
|
316
|
+
:return: The rds_id of this ConfigurationResponseDataSpec.
|
|
317
|
+
:rtype: str
|
|
318
|
+
"""
|
|
319
|
+
return self._rds_id
|
|
320
|
+
|
|
321
|
+
@rds_id.setter
|
|
322
|
+
def rds_id(self, rds_id):
|
|
323
|
+
r"""Sets the rds_id of this ConfigurationResponseDataSpec.
|
|
324
|
+
|
|
325
|
+
RDS数据库实例ID。 Configuration.type为\"rds\"时,返回此参数。
|
|
326
|
+
|
|
327
|
+
:param rds_id: The rds_id of this ConfigurationResponseDataSpec.
|
|
328
|
+
:type rds_id: str
|
|
329
|
+
"""
|
|
330
|
+
self._rds_id = rds_id
|
|
331
|
+
|
|
332
|
+
@property
|
|
333
|
+
def rds_db_name(self):
|
|
334
|
+
r"""Gets the rds_db_name of this ConfigurationResponseDataSpec.
|
|
335
|
+
|
|
336
|
+
RDS数据库名称。 Configuration.type为\"rds\"时,返回此参数。
|
|
337
|
+
|
|
338
|
+
:return: The rds_db_name of this ConfigurationResponseDataSpec.
|
|
339
|
+
:rtype: str
|
|
340
|
+
"""
|
|
341
|
+
return self._rds_db_name
|
|
342
|
+
|
|
343
|
+
@rds_db_name.setter
|
|
344
|
+
def rds_db_name(self, rds_db_name):
|
|
345
|
+
r"""Sets the rds_db_name of this ConfigurationResponseDataSpec.
|
|
346
|
+
|
|
347
|
+
RDS数据库名称。 Configuration.type为\"rds\"时,返回此参数。
|
|
348
|
+
|
|
349
|
+
:param rds_db_name: The rds_db_name of this ConfigurationResponseDataSpec.
|
|
350
|
+
:type rds_db_name: str
|
|
351
|
+
"""
|
|
352
|
+
self._rds_db_name = rds_db_name
|
|
353
|
+
|
|
354
|
+
@property
|
|
355
|
+
def rds_address(self):
|
|
356
|
+
r"""Gets the rds_address of this ConfigurationResponseDataSpec.
|
|
357
|
+
|
|
358
|
+
RDS数据库地址。 Configuration.type为\"rds\"时,返回此参数。
|
|
359
|
+
|
|
360
|
+
:return: The rds_address of this ConfigurationResponseDataSpec.
|
|
361
|
+
:rtype: str
|
|
362
|
+
"""
|
|
363
|
+
return self._rds_address
|
|
364
|
+
|
|
365
|
+
@rds_address.setter
|
|
366
|
+
def rds_address(self, rds_address):
|
|
367
|
+
r"""Sets the rds_address of this ConfigurationResponseDataSpec.
|
|
368
|
+
|
|
369
|
+
RDS数据库地址。 Configuration.type为\"rds\"时,返回此参数。
|
|
370
|
+
|
|
371
|
+
:param rds_address: The rds_address of this ConfigurationResponseDataSpec.
|
|
372
|
+
:type rds_address: str
|
|
373
|
+
"""
|
|
374
|
+
self._rds_address = rds_address
|
|
375
|
+
|
|
376
|
+
@property
|
|
377
|
+
def rds_username(self):
|
|
378
|
+
r"""Gets the rds_username of this ConfigurationResponseDataSpec.
|
|
379
|
+
|
|
380
|
+
RDS数据库用户名称。 Configuration.type为\"rds\"时,返回此参数。
|
|
381
|
+
|
|
382
|
+
:return: The rds_username of this ConfigurationResponseDataSpec.
|
|
383
|
+
:rtype: str
|
|
384
|
+
"""
|
|
385
|
+
return self._rds_username
|
|
386
|
+
|
|
387
|
+
@rds_username.setter
|
|
388
|
+
def rds_username(self, rds_username):
|
|
389
|
+
r"""Sets the rds_username of this ConfigurationResponseDataSpec.
|
|
390
|
+
|
|
391
|
+
RDS数据库用户名称。 Configuration.type为\"rds\"时,返回此参数。
|
|
392
|
+
|
|
393
|
+
:param rds_username: The rds_username of this ConfigurationResponseDataSpec.
|
|
394
|
+
:type rds_username: str
|
|
395
|
+
"""
|
|
396
|
+
self._rds_username = rds_username
|
|
397
|
+
|
|
398
|
+
@property
|
|
399
|
+
def rds_password(self):
|
|
400
|
+
r"""Gets the rds_password of this ConfigurationResponseDataSpec.
|
|
401
|
+
|
|
402
|
+
RDS数据库密码。 Configuration.type为\"rds\"时,返回此参数。
|
|
403
|
+
|
|
404
|
+
:return: The rds_password of this ConfigurationResponseDataSpec.
|
|
405
|
+
:rtype: str
|
|
406
|
+
"""
|
|
407
|
+
return self._rds_password
|
|
408
|
+
|
|
409
|
+
@rds_password.setter
|
|
410
|
+
def rds_password(self, rds_password):
|
|
411
|
+
r"""Sets the rds_password of this ConfigurationResponseDataSpec.
|
|
412
|
+
|
|
413
|
+
RDS数据库密码。 Configuration.type为\"rds\"时,返回此参数。
|
|
414
|
+
|
|
415
|
+
:param rds_password: The rds_password of this ConfigurationResponseDataSpec.
|
|
416
|
+
:type rds_password: str
|
|
417
|
+
"""
|
|
418
|
+
self._rds_password = rds_password
|
|
419
|
+
|
|
420
|
+
@property
|
|
421
|
+
def rds_port(self):
|
|
422
|
+
r"""Gets the rds_port of this ConfigurationResponseDataSpec.
|
|
423
|
+
|
|
424
|
+
RDS数据库端口。 Configuration.type为\"rds\"时,返回此参数。
|
|
425
|
+
|
|
426
|
+
:return: The rds_port of this ConfigurationResponseDataSpec.
|
|
427
|
+
:rtype: str
|
|
428
|
+
"""
|
|
429
|
+
return self._rds_port
|
|
430
|
+
|
|
431
|
+
@rds_port.setter
|
|
432
|
+
def rds_port(self, rds_port):
|
|
433
|
+
r"""Sets the rds_port of this ConfigurationResponseDataSpec.
|
|
434
|
+
|
|
435
|
+
RDS数据库端口。 Configuration.type为\"rds\"时,返回此参数。
|
|
436
|
+
|
|
437
|
+
:param rds_port: The rds_port of this ConfigurationResponseDataSpec.
|
|
438
|
+
:type rds_port: str
|
|
439
|
+
"""
|
|
440
|
+
self._rds_port = rds_port
|
|
441
|
+
|
|
442
|
+
@property
|
|
443
|
+
def config_center_addr(self):
|
|
444
|
+
r"""Gets the config_center_addr of this ConfigurationResponseDataSpec.
|
|
445
|
+
|
|
446
|
+
CSE配置中心地址。 Configuration.type为\"cse\"时,返回此参数。
|
|
447
|
+
|
|
448
|
+
:return: The config_center_addr of this ConfigurationResponseDataSpec.
|
|
449
|
+
:rtype: str
|
|
450
|
+
"""
|
|
451
|
+
return self._config_center_addr
|
|
452
|
+
|
|
453
|
+
@config_center_addr.setter
|
|
454
|
+
def config_center_addr(self, config_center_addr):
|
|
455
|
+
r"""Sets the config_center_addr of this ConfigurationResponseDataSpec.
|
|
456
|
+
|
|
457
|
+
CSE配置中心地址。 Configuration.type为\"cse\"时,返回此参数。
|
|
458
|
+
|
|
459
|
+
:param config_center_addr: The config_center_addr of this ConfigurationResponseDataSpec.
|
|
460
|
+
:type config_center_addr: str
|
|
461
|
+
"""
|
|
462
|
+
self._config_center_addr = config_center_addr
|
|
463
|
+
|
|
464
|
+
@property
|
|
465
|
+
def service_center_addr(self):
|
|
466
|
+
r"""Gets the service_center_addr of this ConfigurationResponseDataSpec.
|
|
467
|
+
|
|
468
|
+
CSE服务注册发现地址。 Configuration.type为\"cse\"时,返回此参数。
|
|
469
|
+
|
|
470
|
+
:return: The service_center_addr of this ConfigurationResponseDataSpec.
|
|
471
|
+
:rtype: str
|
|
472
|
+
"""
|
|
473
|
+
return self._service_center_addr
|
|
474
|
+
|
|
475
|
+
@service_center_addr.setter
|
|
476
|
+
def service_center_addr(self, service_center_addr):
|
|
477
|
+
r"""Sets the service_center_addr of this ConfigurationResponseDataSpec.
|
|
478
|
+
|
|
479
|
+
CSE服务注册发现地址。 Configuration.type为\"cse\"时,返回此参数。
|
|
480
|
+
|
|
481
|
+
:param service_center_addr: The service_center_addr of this ConfigurationResponseDataSpec.
|
|
482
|
+
:type service_center_addr: str
|
|
483
|
+
"""
|
|
484
|
+
self._service_center_addr = service_center_addr
|
|
485
|
+
|
|
486
|
+
@property
|
|
487
|
+
def cse_id(self):
|
|
488
|
+
r"""Gets the cse_id of this ConfigurationResponseDataSpec.
|
|
489
|
+
|
|
490
|
+
CSE引擎ID。 Configuration.type为\"cse\"时,返回此参数。
|
|
491
|
+
|
|
492
|
+
:return: The cse_id of this ConfigurationResponseDataSpec.
|
|
493
|
+
:rtype: str
|
|
494
|
+
"""
|
|
495
|
+
return self._cse_id
|
|
496
|
+
|
|
497
|
+
@cse_id.setter
|
|
498
|
+
def cse_id(self, cse_id):
|
|
499
|
+
r"""Sets the cse_id of this ConfigurationResponseDataSpec.
|
|
500
|
+
|
|
501
|
+
CSE引擎ID。 Configuration.type为\"cse\"时,返回此参数。
|
|
502
|
+
|
|
503
|
+
:param cse_id: The cse_id of this ConfigurationResponseDataSpec.
|
|
504
|
+
:type cse_id: str
|
|
505
|
+
"""
|
|
506
|
+
self._cse_id = cse_id
|
|
507
|
+
|
|
508
|
+
@property
|
|
509
|
+
def envs(self):
|
|
510
|
+
r"""Gets the envs of this ConfigurationResponseDataSpec.
|
|
511
|
+
|
|
512
|
+
环境变量配置。 常用环境变量如下: - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
|
|
513
|
+
|
|
514
|
+
:return: The envs of this ConfigurationResponseDataSpec.
|
|
515
|
+
:rtype: dict(str, str)
|
|
516
|
+
"""
|
|
517
|
+
return self._envs
|
|
518
|
+
|
|
519
|
+
@envs.setter
|
|
520
|
+
def envs(self, envs):
|
|
521
|
+
r"""Sets the envs of this ConfigurationResponseDataSpec.
|
|
522
|
+
|
|
523
|
+
环境变量配置。 常用环境变量如下: - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
|
|
524
|
+
|
|
525
|
+
:param envs: The envs of this ConfigurationResponseDataSpec.
|
|
526
|
+
:type envs: dict(str, str)
|
|
527
|
+
"""
|
|
528
|
+
self._envs = envs
|
|
529
|
+
|
|
530
|
+
@property
|
|
531
|
+
def ip(self):
|
|
532
|
+
r"""Gets the ip of this ConfigurationResponseDataSpec.
|
|
533
|
+
|
|
534
|
+
弹性公网IP,响应体参数,未配置域名时返回此参数。
|
|
535
|
+
|
|
536
|
+
:return: The ip of this ConfigurationResponseDataSpec.
|
|
537
|
+
:rtype: str
|
|
538
|
+
"""
|
|
539
|
+
return self._ip
|
|
540
|
+
|
|
541
|
+
@ip.setter
|
|
542
|
+
def ip(self, ip):
|
|
543
|
+
r"""Sets the ip of this ConfigurationResponseDataSpec.
|
|
544
|
+
|
|
545
|
+
弹性公网IP,响应体参数,未配置域名时返回此参数。
|
|
546
|
+
|
|
547
|
+
:param ip: The ip of this ConfigurationResponseDataSpec.
|
|
548
|
+
:type ip: str
|
|
549
|
+
"""
|
|
550
|
+
self._ip = ip
|
|
551
|
+
|
|
552
|
+
@property
|
|
553
|
+
def items(self):
|
|
554
|
+
r"""Gets the items of this ConfigurationResponseDataSpec.
|
|
555
|
+
|
|
556
|
+
访问方式配置列表。 Configuration.type为\"access\"时,返回此参数。
|
|
557
|
+
|
|
558
|
+
:return: The items of this ConfigurationResponseDataSpec.
|
|
559
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
|
|
560
|
+
"""
|
|
561
|
+
return self._items
|
|
562
|
+
|
|
563
|
+
@items.setter
|
|
564
|
+
def items(self, items):
|
|
565
|
+
r"""Sets the items of this ConfigurationResponseDataSpec.
|
|
566
|
+
|
|
567
|
+
访问方式配置列表。 Configuration.type为\"access\"时,返回此参数。
|
|
568
|
+
|
|
569
|
+
:param items: The items of this ConfigurationResponseDataSpec.
|
|
570
|
+
:type items: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
|
|
571
|
+
"""
|
|
572
|
+
self._items = items
|
|
573
|
+
|
|
574
|
+
@property
|
|
575
|
+
def scale_strategy(self):
|
|
576
|
+
r"""Gets the scale_strategy of this ConfigurationResponseDataSpec.
|
|
577
|
+
|
|
578
|
+
伸缩策略配置策略类型。 Configuration.type为\"scaling\"时,返回此参数。
|
|
579
|
+
|
|
580
|
+
:return: The scale_strategy of this ConfigurationResponseDataSpec.
|
|
581
|
+
:rtype: str
|
|
582
|
+
"""
|
|
583
|
+
return self._scale_strategy
|
|
584
|
+
|
|
585
|
+
@scale_strategy.setter
|
|
586
|
+
def scale_strategy(self, scale_strategy):
|
|
587
|
+
r"""Sets the scale_strategy of this ConfigurationResponseDataSpec.
|
|
588
|
+
|
|
589
|
+
伸缩策略配置策略类型。 Configuration.type为\"scaling\"时,返回此参数。
|
|
590
|
+
|
|
591
|
+
:param scale_strategy: The scale_strategy of this ConfigurationResponseDataSpec.
|
|
592
|
+
:type scale_strategy: str
|
|
593
|
+
"""
|
|
594
|
+
self._scale_strategy = scale_strategy
|
|
595
|
+
|
|
596
|
+
@property
|
|
597
|
+
def max_replica_count(self):
|
|
598
|
+
r"""Gets the max_replica_count of this ConfigurationResponseDataSpec.
|
|
599
|
+
|
|
600
|
+
伸缩策略配置最大伸缩个数。 Configuration.type为\"scaling\"时,返回此参数。
|
|
601
|
+
|
|
602
|
+
:return: The max_replica_count of this ConfigurationResponseDataSpec.
|
|
603
|
+
:rtype: int
|
|
604
|
+
"""
|
|
605
|
+
return self._max_replica_count
|
|
606
|
+
|
|
607
|
+
@max_replica_count.setter
|
|
608
|
+
def max_replica_count(self, max_replica_count):
|
|
609
|
+
r"""Sets the max_replica_count of this ConfigurationResponseDataSpec.
|
|
610
|
+
|
|
611
|
+
伸缩策略配置最大伸缩个数。 Configuration.type为\"scaling\"时,返回此参数。
|
|
612
|
+
|
|
613
|
+
:param max_replica_count: The max_replica_count of this ConfigurationResponseDataSpec.
|
|
614
|
+
:type max_replica_count: int
|
|
615
|
+
"""
|
|
616
|
+
self._max_replica_count = max_replica_count
|
|
617
|
+
|
|
618
|
+
@property
|
|
619
|
+
def min_replica_count(self):
|
|
620
|
+
r"""Gets the min_replica_count of this ConfigurationResponseDataSpec.
|
|
621
|
+
|
|
622
|
+
伸缩策略配置最小伸缩个数。 Configuration.type为\"scaling\"时,返回此参数。
|
|
623
|
+
|
|
624
|
+
:return: The min_replica_count of this ConfigurationResponseDataSpec.
|
|
625
|
+
:rtype: int
|
|
626
|
+
"""
|
|
627
|
+
return self._min_replica_count
|
|
628
|
+
|
|
629
|
+
@min_replica_count.setter
|
|
630
|
+
def min_replica_count(self, min_replica_count):
|
|
631
|
+
r"""Sets the min_replica_count of this ConfigurationResponseDataSpec.
|
|
632
|
+
|
|
633
|
+
伸缩策略配置最小伸缩个数。 Configuration.type为\"scaling\"时,返回此参数。
|
|
634
|
+
|
|
635
|
+
:param min_replica_count: The min_replica_count of this ConfigurationResponseDataSpec.
|
|
636
|
+
:type min_replica_count: int
|
|
637
|
+
"""
|
|
638
|
+
self._min_replica_count = min_replica_count
|
|
639
|
+
|
|
640
|
+
@property
|
|
641
|
+
def advanced(self):
|
|
642
|
+
r"""Gets the advanced of this ConfigurationResponseDataSpec.
|
|
643
|
+
|
|
644
|
+
:return: The advanced of this ConfigurationResponseDataSpec.
|
|
645
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ScaleConfigurationDataAdvanced`
|
|
646
|
+
"""
|
|
647
|
+
return self._advanced
|
|
648
|
+
|
|
649
|
+
@advanced.setter
|
|
650
|
+
def advanced(self, advanced):
|
|
651
|
+
r"""Sets the advanced of this ConfigurationResponseDataSpec.
|
|
652
|
+
|
|
653
|
+
:param advanced: The advanced of this ConfigurationResponseDataSpec.
|
|
654
|
+
:type advanced: :class:`huaweicloudsdkcae.v1.ScaleConfigurationDataAdvanced`
|
|
655
|
+
"""
|
|
656
|
+
self._advanced = advanced
|
|
657
|
+
|
|
658
|
+
@property
|
|
659
|
+
def triggers(self):
|
|
660
|
+
r"""Gets the triggers of this ConfigurationResponseDataSpec.
|
|
661
|
+
|
|
662
|
+
伸缩策略配置触发器列表。 Configuration.type为\"scaling\"时,返回此参数。
|
|
663
|
+
|
|
664
|
+
:return: The triggers of this ConfigurationResponseDataSpec.
|
|
665
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
|
|
666
|
+
"""
|
|
667
|
+
return self._triggers
|
|
668
|
+
|
|
669
|
+
@triggers.setter
|
|
670
|
+
def triggers(self, triggers):
|
|
671
|
+
r"""Sets the triggers of this ConfigurationResponseDataSpec.
|
|
672
|
+
|
|
673
|
+
伸缩策略配置触发器列表。 Configuration.type为\"scaling\"时,返回此参数。
|
|
674
|
+
|
|
675
|
+
:param triggers: The triggers of this ConfigurationResponseDataSpec.
|
|
676
|
+
:type triggers: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
|
|
677
|
+
"""
|
|
678
|
+
self._triggers = triggers
|
|
679
|
+
|
|
680
|
+
@property
|
|
681
|
+
def volumes(self):
|
|
682
|
+
r"""Gets the volumes of this ConfigurationResponseDataSpec.
|
|
683
|
+
|
|
684
|
+
云存储配置列表。 Configuration.type为\"volume\"时,返回此参数。
|
|
685
|
+
|
|
686
|
+
:return: The volumes of this ConfigurationResponseDataSpec.
|
|
687
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
|
|
688
|
+
"""
|
|
689
|
+
return self._volumes
|
|
690
|
+
|
|
691
|
+
@volumes.setter
|
|
692
|
+
def volumes(self, volumes):
|
|
693
|
+
r"""Sets the volumes of this ConfigurationResponseDataSpec.
|
|
694
|
+
|
|
695
|
+
云存储配置列表。 Configuration.type为\"volume\"时,返回此参数。
|
|
696
|
+
|
|
697
|
+
:param volumes: The volumes of this ConfigurationResponseDataSpec.
|
|
698
|
+
:type volumes: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
|
|
699
|
+
"""
|
|
700
|
+
self._volumes = volumes
|
|
701
|
+
|
|
702
|
+
@property
|
|
703
|
+
def liveness_probe(self):
|
|
704
|
+
r"""Gets the liveness_probe of this ConfigurationResponseDataSpec.
|
|
705
|
+
|
|
706
|
+
:return: The liveness_probe of this ConfigurationResponseDataSpec.
|
|
707
|
+
:rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
|
|
708
|
+
"""
|
|
709
|
+
return self._liveness_probe
|
|
710
|
+
|
|
711
|
+
@liveness_probe.setter
|
|
712
|
+
def liveness_probe(self, liveness_probe):
|
|
713
|
+
r"""Sets the liveness_probe of this ConfigurationResponseDataSpec.
|
|
714
|
+
|
|
715
|
+
:param liveness_probe: The liveness_probe of this ConfigurationResponseDataSpec.
|
|
716
|
+
:type liveness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
|
|
717
|
+
"""
|
|
718
|
+
self._liveness_probe = liveness_probe
|
|
719
|
+
|
|
720
|
+
@property
|
|
721
|
+
def startup_probe(self):
|
|
722
|
+
r"""Gets the startup_probe of this ConfigurationResponseDataSpec.
|
|
723
|
+
|
|
724
|
+
:return: The startup_probe of this ConfigurationResponseDataSpec.
|
|
725
|
+
:rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationStartupProbe`
|
|
726
|
+
"""
|
|
727
|
+
return self._startup_probe
|
|
728
|
+
|
|
729
|
+
@startup_probe.setter
|
|
730
|
+
def startup_probe(self, startup_probe):
|
|
731
|
+
r"""Sets the startup_probe of this ConfigurationResponseDataSpec.
|
|
732
|
+
|
|
733
|
+
:param startup_probe: The startup_probe of this ConfigurationResponseDataSpec.
|
|
734
|
+
:type startup_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationStartupProbe`
|
|
735
|
+
"""
|
|
736
|
+
self._startup_probe = startup_probe
|
|
737
|
+
|
|
738
|
+
@property
|
|
739
|
+
def readiness_probe(self):
|
|
740
|
+
r"""Gets the readiness_probe of this ConfigurationResponseDataSpec.
|
|
741
|
+
|
|
742
|
+
:return: The readiness_probe of this ConfigurationResponseDataSpec.
|
|
743
|
+
:rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationReadinessProbe`
|
|
744
|
+
"""
|
|
745
|
+
return self._readiness_probe
|
|
746
|
+
|
|
747
|
+
@readiness_probe.setter
|
|
748
|
+
def readiness_probe(self, readiness_probe):
|
|
749
|
+
r"""Sets the readiness_probe of this ConfigurationResponseDataSpec.
|
|
750
|
+
|
|
751
|
+
:param readiness_probe: The readiness_probe of this ConfigurationResponseDataSpec.
|
|
752
|
+
:type readiness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationReadinessProbe`
|
|
753
|
+
"""
|
|
754
|
+
self._readiness_probe = readiness_probe
|
|
755
|
+
|
|
756
|
+
@property
|
|
757
|
+
def post_start(self):
|
|
758
|
+
r"""Gets the post_start of this ConfigurationResponseDataSpec.
|
|
759
|
+
|
|
760
|
+
:return: The post_start of this ConfigurationResponseDataSpec.
|
|
761
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpecPostStart`
|
|
762
|
+
"""
|
|
763
|
+
return self._post_start
|
|
764
|
+
|
|
765
|
+
@post_start.setter
|
|
766
|
+
def post_start(self, post_start):
|
|
767
|
+
r"""Sets the post_start of this ConfigurationResponseDataSpec.
|
|
768
|
+
|
|
769
|
+
:param post_start: The post_start of this ConfigurationResponseDataSpec.
|
|
770
|
+
:type post_start: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpecPostStart`
|
|
771
|
+
"""
|
|
772
|
+
self._post_start = post_start
|
|
773
|
+
|
|
774
|
+
@property
|
|
775
|
+
def pre_stop(self):
|
|
776
|
+
r"""Gets the pre_stop of this ConfigurationResponseDataSpec.
|
|
777
|
+
|
|
778
|
+
:return: The pre_stop of this ConfigurationResponseDataSpec.
|
|
779
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpecPreStop`
|
|
780
|
+
"""
|
|
781
|
+
return self._pre_stop
|
|
782
|
+
|
|
783
|
+
@pre_stop.setter
|
|
784
|
+
def pre_stop(self, pre_stop):
|
|
785
|
+
r"""Sets the pre_stop of this ConfigurationResponseDataSpec.
|
|
786
|
+
|
|
787
|
+
:param pre_stop: The pre_stop of this ConfigurationResponseDataSpec.
|
|
788
|
+
:type pre_stop: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpecPreStop`
|
|
789
|
+
"""
|
|
790
|
+
self._pre_stop = pre_stop
|
|
791
|
+
|
|
792
|
+
@property
|
|
793
|
+
def log_paths(self):
|
|
794
|
+
r"""Gets the log_paths of this ConfigurationResponseDataSpec.
|
|
795
|
+
|
|
796
|
+
自定义本地磁盘日志路径数组。 Configuration.type为\"log\"时,返回此参数。
|
|
797
|
+
|
|
798
|
+
:return: The log_paths of this ConfigurationResponseDataSpec.
|
|
799
|
+
:rtype: list[str]
|
|
800
|
+
"""
|
|
801
|
+
return self._log_paths
|
|
802
|
+
|
|
803
|
+
@log_paths.setter
|
|
804
|
+
def log_paths(self, log_paths):
|
|
805
|
+
r"""Sets the log_paths of this ConfigurationResponseDataSpec.
|
|
806
|
+
|
|
807
|
+
自定义本地磁盘日志路径数组。 Configuration.type为\"log\"时,返回此参数。
|
|
808
|
+
|
|
809
|
+
:param log_paths: The log_paths of this ConfigurationResponseDataSpec.
|
|
810
|
+
:type log_paths: list[str]
|
|
811
|
+
"""
|
|
812
|
+
self._log_paths = log_paths
|
|
813
|
+
|
|
814
|
+
@property
|
|
815
|
+
def cloud_storage_log_paths(self):
|
|
816
|
+
r"""Gets the cloud_storage_log_paths of this ConfigurationResponseDataSpec.
|
|
817
|
+
|
|
818
|
+
自定义云存储日志路径数组。 Configuration.type为\"log\"时,返回此参数。
|
|
819
|
+
|
|
820
|
+
:return: The cloud_storage_log_paths of this ConfigurationResponseDataSpec.
|
|
821
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.CloudStorageLogPathInfo`]
|
|
822
|
+
"""
|
|
823
|
+
return self._cloud_storage_log_paths
|
|
824
|
+
|
|
825
|
+
@cloud_storage_log_paths.setter
|
|
826
|
+
def cloud_storage_log_paths(self, cloud_storage_log_paths):
|
|
827
|
+
r"""Sets the cloud_storage_log_paths of this ConfigurationResponseDataSpec.
|
|
828
|
+
|
|
829
|
+
自定义云存储日志路径数组。 Configuration.type为\"log\"时,返回此参数。
|
|
830
|
+
|
|
831
|
+
:param cloud_storage_log_paths: The cloud_storage_log_paths of this ConfigurationResponseDataSpec.
|
|
832
|
+
:type cloud_storage_log_paths: list[:class:`huaweicloudsdkcae.v1.CloudStorageLogPathInfo`]
|
|
833
|
+
"""
|
|
834
|
+
self._cloud_storage_log_paths = cloud_storage_log_paths
|
|
835
|
+
|
|
836
|
+
@property
|
|
837
|
+
def instrumentation(self):
|
|
838
|
+
r"""Gets the instrumentation of this ConfigurationResponseDataSpec.
|
|
839
|
+
|
|
840
|
+
探针注入方式。 Configuration.type为\"apm2\"时,返回此参数。
|
|
841
|
+
|
|
842
|
+
:return: The instrumentation of this ConfigurationResponseDataSpec.
|
|
843
|
+
:rtype: str
|
|
844
|
+
"""
|
|
845
|
+
return self._instrumentation
|
|
846
|
+
|
|
847
|
+
@instrumentation.setter
|
|
848
|
+
def instrumentation(self, instrumentation):
|
|
849
|
+
r"""Sets the instrumentation of this ConfigurationResponseDataSpec.
|
|
850
|
+
|
|
851
|
+
探针注入方式。 Configuration.type为\"apm2\"时,返回此参数。
|
|
852
|
+
|
|
853
|
+
:param instrumentation: The instrumentation of this ConfigurationResponseDataSpec.
|
|
854
|
+
:type instrumentation: str
|
|
855
|
+
"""
|
|
856
|
+
self._instrumentation = instrumentation
|
|
857
|
+
|
|
858
|
+
@property
|
|
859
|
+
def apm_application(self):
|
|
860
|
+
r"""Gets the apm_application of this ConfigurationResponseDataSpec.
|
|
861
|
+
|
|
862
|
+
apm2应用。 Configuration.type为\"apm2\"时,返回此参数。
|
|
863
|
+
|
|
864
|
+
:return: The apm_application of this ConfigurationResponseDataSpec.
|
|
865
|
+
:rtype: str
|
|
866
|
+
"""
|
|
867
|
+
return self._apm_application
|
|
868
|
+
|
|
869
|
+
@apm_application.setter
|
|
870
|
+
def apm_application(self, apm_application):
|
|
871
|
+
r"""Sets the apm_application of this ConfigurationResponseDataSpec.
|
|
872
|
+
|
|
873
|
+
apm2应用。 Configuration.type为\"apm2\"时,返回此参数。
|
|
874
|
+
|
|
875
|
+
:param apm_application: The apm_application of this ConfigurationResponseDataSpec.
|
|
876
|
+
:type apm_application: str
|
|
877
|
+
"""
|
|
878
|
+
self._apm_application = apm_application
|
|
879
|
+
|
|
880
|
+
@property
|
|
881
|
+
def type(self):
|
|
882
|
+
r"""Gets the type of this ConfigurationResponseDataSpec.
|
|
883
|
+
|
|
884
|
+
监控系统类别,包括apm2和opentelemetry。 Configuration.type为\"apm2\"时,返回此参数。
|
|
885
|
+
|
|
886
|
+
:return: The type of this ConfigurationResponseDataSpec.
|
|
887
|
+
:rtype: str
|
|
888
|
+
"""
|
|
889
|
+
return self._type
|
|
890
|
+
|
|
891
|
+
@type.setter
|
|
892
|
+
def type(self, type):
|
|
893
|
+
r"""Sets the type of this ConfigurationResponseDataSpec.
|
|
894
|
+
|
|
895
|
+
监控系统类别,包括apm2和opentelemetry。 Configuration.type为\"apm2\"时,返回此参数。
|
|
896
|
+
|
|
897
|
+
:param type: The type of this ConfigurationResponseDataSpec.
|
|
898
|
+
:type type: str
|
|
899
|
+
"""
|
|
900
|
+
self._type = type
|
|
901
|
+
|
|
902
|
+
@property
|
|
903
|
+
def app_name(self):
|
|
904
|
+
r"""Gets the app_name of this ConfigurationResponseDataSpec.
|
|
905
|
+
|
|
906
|
+
apm2组件。 Configuration.type为\"apm2\"时,返回此参数。
|
|
907
|
+
|
|
908
|
+
:return: The app_name of this ConfigurationResponseDataSpec.
|
|
909
|
+
:rtype: str
|
|
910
|
+
"""
|
|
911
|
+
return self._app_name
|
|
912
|
+
|
|
913
|
+
@app_name.setter
|
|
914
|
+
def app_name(self, app_name):
|
|
915
|
+
r"""Sets the app_name of this ConfigurationResponseDataSpec.
|
|
916
|
+
|
|
917
|
+
apm2组件。 Configuration.type为\"apm2\"时,返回此参数。
|
|
918
|
+
|
|
919
|
+
:param app_name: The app_name of this ConfigurationResponseDataSpec.
|
|
920
|
+
:type app_name: str
|
|
921
|
+
"""
|
|
922
|
+
self._app_name = app_name
|
|
923
|
+
|
|
924
|
+
@property
|
|
925
|
+
def instance_name(self):
|
|
926
|
+
r"""Gets the instance_name of this ConfigurationResponseDataSpec.
|
|
927
|
+
|
|
928
|
+
apm2实例。 Configuration.type为\"apm2\"时,返回此参数。
|
|
929
|
+
|
|
930
|
+
:return: The instance_name of this ConfigurationResponseDataSpec.
|
|
931
|
+
:rtype: str
|
|
932
|
+
"""
|
|
933
|
+
return self._instance_name
|
|
934
|
+
|
|
935
|
+
@instance_name.setter
|
|
936
|
+
def instance_name(self, instance_name):
|
|
937
|
+
r"""Sets the instance_name of this ConfigurationResponseDataSpec.
|
|
938
|
+
|
|
939
|
+
apm2实例。 Configuration.type为\"apm2\"时,返回此参数。
|
|
940
|
+
|
|
941
|
+
:param instance_name: The instance_name of this ConfigurationResponseDataSpec.
|
|
942
|
+
:type instance_name: str
|
|
943
|
+
"""
|
|
944
|
+
self._instance_name = instance_name
|
|
945
|
+
|
|
946
|
+
@property
|
|
947
|
+
def env_name(self):
|
|
948
|
+
r"""Gets the env_name of this ConfigurationResponseDataSpec.
|
|
949
|
+
|
|
950
|
+
apm2环境。 Configuration.type为\"apm2\"时,返回此参数。
|
|
951
|
+
|
|
952
|
+
:return: The env_name of this ConfigurationResponseDataSpec.
|
|
953
|
+
:rtype: str
|
|
954
|
+
"""
|
|
955
|
+
return self._env_name
|
|
956
|
+
|
|
957
|
+
@env_name.setter
|
|
958
|
+
def env_name(self, env_name):
|
|
959
|
+
r"""Sets the env_name of this ConfigurationResponseDataSpec.
|
|
960
|
+
|
|
961
|
+
apm2环境。 Configuration.type为\"apm2\"时,返回此参数。
|
|
962
|
+
|
|
963
|
+
:param env_name: The env_name of this ConfigurationResponseDataSpec.
|
|
964
|
+
:type env_name: str
|
|
965
|
+
"""
|
|
966
|
+
self._env_name = env_name
|
|
967
|
+
|
|
968
|
+
@property
|
|
969
|
+
def image_pull_policy(self):
|
|
970
|
+
r"""Gets the image_pull_policy of this ConfigurationResponseDataSpec.
|
|
971
|
+
|
|
972
|
+
探针镜像更新策略,已废弃,迁移到监控系统。 - Always,重启自动升级:每次都尝试重新下载镜像。 - IfNotPresent,手动升级: 如果本地有该镜像,则继续使用本地镜像,不下载镜像。 Configuration.type为\"apm2\"时,返回此参数。
|
|
973
|
+
|
|
974
|
+
:return: The image_pull_policy of this ConfigurationResponseDataSpec.
|
|
975
|
+
:rtype: str
|
|
976
|
+
"""
|
|
977
|
+
return self._image_pull_policy
|
|
978
|
+
|
|
979
|
+
@image_pull_policy.setter
|
|
980
|
+
def image_pull_policy(self, image_pull_policy):
|
|
981
|
+
r"""Sets the image_pull_policy of this ConfigurationResponseDataSpec.
|
|
982
|
+
|
|
983
|
+
探针镜像更新策略,已废弃,迁移到监控系统。 - Always,重启自动升级:每次都尝试重新下载镜像。 - IfNotPresent,手动升级: 如果本地有该镜像,则继续使用本地镜像,不下载镜像。 Configuration.type为\"apm2\"时,返回此参数。
|
|
984
|
+
|
|
985
|
+
:param image_pull_policy: The image_pull_policy of this ConfigurationResponseDataSpec.
|
|
986
|
+
:type image_pull_policy: str
|
|
987
|
+
"""
|
|
988
|
+
self._image_pull_policy = image_pull_policy
|
|
989
|
+
|
|
990
|
+
@property
|
|
991
|
+
def version(self):
|
|
992
|
+
r"""Gets the version of this ConfigurationResponseDataSpec.
|
|
993
|
+
|
|
994
|
+
增强型探针/opentelemetry探针版本,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
|
|
995
|
+
|
|
996
|
+
:return: The version of this ConfigurationResponseDataSpec.
|
|
997
|
+
:rtype: str
|
|
998
|
+
"""
|
|
999
|
+
return self._version
|
|
1000
|
+
|
|
1001
|
+
@version.setter
|
|
1002
|
+
def version(self, version):
|
|
1003
|
+
r"""Sets the version of this ConfigurationResponseDataSpec.
|
|
1004
|
+
|
|
1005
|
+
增强型探针/opentelemetry探针版本,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
|
|
1006
|
+
|
|
1007
|
+
:param version: The version of this ConfigurationResponseDataSpec.
|
|
1008
|
+
:type version: str
|
|
1009
|
+
"""
|
|
1010
|
+
self._version = version
|
|
1011
|
+
|
|
1012
|
+
@property
|
|
1013
|
+
def access_key(self):
|
|
1014
|
+
r"""Gets the access_key of this ConfigurationResponseDataSpec.
|
|
1015
|
+
|
|
1016
|
+
apm2访问密钥Key,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
|
|
1017
|
+
|
|
1018
|
+
:return: The access_key of this ConfigurationResponseDataSpec.
|
|
1019
|
+
:rtype: str
|
|
1020
|
+
"""
|
|
1021
|
+
return self._access_key
|
|
1022
|
+
|
|
1023
|
+
@access_key.setter
|
|
1024
|
+
def access_key(self, access_key):
|
|
1025
|
+
r"""Sets the access_key of this ConfigurationResponseDataSpec.
|
|
1026
|
+
|
|
1027
|
+
apm2访问密钥Key,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
|
|
1028
|
+
|
|
1029
|
+
:param access_key: The access_key of this ConfigurationResponseDataSpec.
|
|
1030
|
+
:type access_key: str
|
|
1031
|
+
"""
|
|
1032
|
+
self._access_key = access_key
|
|
1033
|
+
|
|
1034
|
+
@property
|
|
1035
|
+
def access_value(self):
|
|
1036
|
+
r"""Gets the access_value of this ConfigurationResponseDataSpec.
|
|
1037
|
+
|
|
1038
|
+
apm2访问密钥value,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
|
|
1039
|
+
|
|
1040
|
+
:return: The access_value of this ConfigurationResponseDataSpec.
|
|
1041
|
+
:rtype: str
|
|
1042
|
+
"""
|
|
1043
|
+
return self._access_value
|
|
1044
|
+
|
|
1045
|
+
@access_value.setter
|
|
1046
|
+
def access_value(self, access_value):
|
|
1047
|
+
r"""Sets the access_value of this ConfigurationResponseDataSpec.
|
|
1048
|
+
|
|
1049
|
+
apm2访问密钥value,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
|
|
1050
|
+
|
|
1051
|
+
:param access_value: The access_value of this ConfigurationResponseDataSpec.
|
|
1052
|
+
:type access_value: str
|
|
1053
|
+
"""
|
|
1054
|
+
self._access_value = access_value
|
|
1055
|
+
|
|
1056
|
+
@property
|
|
1057
|
+
def business(self):
|
|
1058
|
+
r"""Gets the business of this ConfigurationResponseDataSpec.
|
|
1059
|
+
|
|
1060
|
+
apm2应用,同apm_application,已废弃。 Configuration.type为\"apm2\"时,返回此参数。
|
|
1061
|
+
|
|
1062
|
+
:return: The business of this ConfigurationResponseDataSpec.
|
|
1063
|
+
:rtype: str
|
|
1064
|
+
"""
|
|
1065
|
+
return self._business
|
|
1066
|
+
|
|
1067
|
+
@business.setter
|
|
1068
|
+
def business(self, business):
|
|
1069
|
+
r"""Sets the business of this ConfigurationResponseDataSpec.
|
|
1070
|
+
|
|
1071
|
+
apm2应用,同apm_application,已废弃。 Configuration.type为\"apm2\"时,返回此参数。
|
|
1072
|
+
|
|
1073
|
+
:param business: The business of this ConfigurationResponseDataSpec.
|
|
1074
|
+
:type business: str
|
|
1075
|
+
"""
|
|
1076
|
+
self._business = business
|
|
1077
|
+
|
|
1078
|
+
@property
|
|
1079
|
+
def path(self):
|
|
1080
|
+
r"""Gets the path of this ConfigurationResponseDataSpec.
|
|
1081
|
+
|
|
1082
|
+
自定义监控指标配置采集路径。 Configuration.type为\"customMetric\"时,返回此参数。
|
|
1083
|
+
|
|
1084
|
+
:return: The path of this ConfigurationResponseDataSpec.
|
|
1085
|
+
:rtype: str
|
|
1086
|
+
"""
|
|
1087
|
+
return self._path
|
|
1088
|
+
|
|
1089
|
+
@path.setter
|
|
1090
|
+
def path(self, path):
|
|
1091
|
+
r"""Sets the path of this ConfigurationResponseDataSpec.
|
|
1092
|
+
|
|
1093
|
+
自定义监控指标配置采集路径。 Configuration.type为\"customMetric\"时,返回此参数。
|
|
1094
|
+
|
|
1095
|
+
:param path: The path of this ConfigurationResponseDataSpec.
|
|
1096
|
+
:type path: str
|
|
1097
|
+
"""
|
|
1098
|
+
self._path = path
|
|
1099
|
+
|
|
1100
|
+
@property
|
|
1101
|
+
def port(self):
|
|
1102
|
+
r"""Gets the port of this ConfigurationResponseDataSpec.
|
|
1103
|
+
|
|
1104
|
+
自定义监控指标配置采集端口。 Configuration.type为\"customMetric\"时,返回此参数。
|
|
1105
|
+
|
|
1106
|
+
:return: The port of this ConfigurationResponseDataSpec.
|
|
1107
|
+
:rtype: int
|
|
1108
|
+
"""
|
|
1109
|
+
return self._port
|
|
1110
|
+
|
|
1111
|
+
@port.setter
|
|
1112
|
+
def port(self, port):
|
|
1113
|
+
r"""Sets the port of this ConfigurationResponseDataSpec.
|
|
1114
|
+
|
|
1115
|
+
自定义监控指标配置采集端口。 Configuration.type为\"customMetric\"时,返回此参数。
|
|
1116
|
+
|
|
1117
|
+
:param port: The port of this ConfigurationResponseDataSpec.
|
|
1118
|
+
:type port: int
|
|
1119
|
+
"""
|
|
1120
|
+
self._port = port
|
|
1121
|
+
|
|
1122
|
+
@property
|
|
1123
|
+
def metrics(self):
|
|
1124
|
+
r"""Gets the metrics of this ConfigurationResponseDataSpec.
|
|
1125
|
+
|
|
1126
|
+
自定义监控指标配置指标名称。 Configuration.type为\"customMetric\"时,返回此参数。
|
|
1127
|
+
|
|
1128
|
+
:return: The metrics of this ConfigurationResponseDataSpec.
|
|
1129
|
+
:rtype: list[str]
|
|
1130
|
+
"""
|
|
1131
|
+
return self._metrics
|
|
1132
|
+
|
|
1133
|
+
@metrics.setter
|
|
1134
|
+
def metrics(self, metrics):
|
|
1135
|
+
r"""Sets the metrics of this ConfigurationResponseDataSpec.
|
|
1136
|
+
|
|
1137
|
+
自定义监控指标配置指标名称。 Configuration.type为\"customMetric\"时,返回此参数。
|
|
1138
|
+
|
|
1139
|
+
:param metrics: The metrics of this ConfigurationResponseDataSpec.
|
|
1140
|
+
:type metrics: list[str]
|
|
1141
|
+
"""
|
|
1142
|
+
self._metrics = metrics
|
|
1143
|
+
|
|
1144
|
+
def to_dict(self):
|
|
1145
|
+
"""Returns the model properties as a dict"""
|
|
1146
|
+
result = {}
|
|
1147
|
+
|
|
1148
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
1149
|
+
value = getattr(self, attr)
|
|
1150
|
+
if isinstance(value, list):
|
|
1151
|
+
result[attr] = list(map(
|
|
1152
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
1153
|
+
value
|
|
1154
|
+
))
|
|
1155
|
+
elif hasattr(value, "to_dict"):
|
|
1156
|
+
result[attr] = value.to_dict()
|
|
1157
|
+
elif isinstance(value, dict):
|
|
1158
|
+
result[attr] = dict(map(
|
|
1159
|
+
lambda item: (item[0], item[1].to_dict())
|
|
1160
|
+
if hasattr(item[1], "to_dict") else item,
|
|
1161
|
+
value.items()
|
|
1162
|
+
))
|
|
1163
|
+
else:
|
|
1164
|
+
if attr in self.sensitive_list:
|
|
1165
|
+
result[attr] = "****"
|
|
1166
|
+
else:
|
|
1167
|
+
result[attr] = value
|
|
1168
|
+
|
|
1169
|
+
return result
|
|
1170
|
+
|
|
1171
|
+
def to_str(self):
|
|
1172
|
+
"""Returns the string representation of the model"""
|
|
1173
|
+
import simplejson as json
|
|
1174
|
+
if six.PY2:
|
|
1175
|
+
import sys
|
|
1176
|
+
reload(sys)
|
|
1177
|
+
sys.setdefaultencoding("utf-8")
|
|
1178
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
1179
|
+
|
|
1180
|
+
def __repr__(self):
|
|
1181
|
+
"""For `print`"""
|
|
1182
|
+
return self.to_str()
|
|
1183
|
+
|
|
1184
|
+
def __eq__(self, other):
|
|
1185
|
+
"""Returns true if both objects are equal"""
|
|
1186
|
+
if not isinstance(other, ConfigurationResponseDataSpec):
|
|
1187
|
+
return False
|
|
1188
|
+
|
|
1189
|
+
return self.__dict__ == other.__dict__
|
|
1190
|
+
|
|
1191
|
+
def __ne__(self, other):
|
|
1192
|
+
"""Returns true if both objects are not equal"""
|
|
1193
|
+
return not self == other
|