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,199 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ListComponentSnapshotsRequest:
|
|
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
|
+
'application_id': 'str',
|
|
21
|
+
'component_id': 'str',
|
|
22
|
+
'x_enterprise_project_id': 'str',
|
|
23
|
+
'x_environment_id': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'application_id': 'application_id',
|
|
28
|
+
'component_id': 'component_id',
|
|
29
|
+
'x_enterprise_project_id': 'X-Enterprise-Project-ID',
|
|
30
|
+
'x_environment_id': 'X-Environment-ID'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, application_id=None, component_id=None, x_enterprise_project_id=None, x_environment_id=None):
|
|
34
|
+
r"""ListComponentSnapshotsRequest
|
|
35
|
+
|
|
36
|
+
The model defined in huaweicloud sdk
|
|
37
|
+
|
|
38
|
+
:param application_id: 应用ID。
|
|
39
|
+
:type application_id: str
|
|
40
|
+
:param component_id: 组件ID。
|
|
41
|
+
:type component_id: str
|
|
42
|
+
:param x_enterprise_project_id: 企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
43
|
+
:type x_enterprise_project_id: str
|
|
44
|
+
:param x_environment_id: 环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
45
|
+
:type x_environment_id: str
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
self._application_id = None
|
|
51
|
+
self._component_id = None
|
|
52
|
+
self._x_enterprise_project_id = None
|
|
53
|
+
self._x_environment_id = None
|
|
54
|
+
self.discriminator = None
|
|
55
|
+
|
|
56
|
+
self.application_id = application_id
|
|
57
|
+
self.component_id = component_id
|
|
58
|
+
if x_enterprise_project_id is not None:
|
|
59
|
+
self.x_enterprise_project_id = x_enterprise_project_id
|
|
60
|
+
self.x_environment_id = x_environment_id
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
def application_id(self):
|
|
64
|
+
r"""Gets the application_id of this ListComponentSnapshotsRequest.
|
|
65
|
+
|
|
66
|
+
应用ID。
|
|
67
|
+
|
|
68
|
+
:return: The application_id of this ListComponentSnapshotsRequest.
|
|
69
|
+
:rtype: str
|
|
70
|
+
"""
|
|
71
|
+
return self._application_id
|
|
72
|
+
|
|
73
|
+
@application_id.setter
|
|
74
|
+
def application_id(self, application_id):
|
|
75
|
+
r"""Sets the application_id of this ListComponentSnapshotsRequest.
|
|
76
|
+
|
|
77
|
+
应用ID。
|
|
78
|
+
|
|
79
|
+
:param application_id: The application_id of this ListComponentSnapshotsRequest.
|
|
80
|
+
:type application_id: str
|
|
81
|
+
"""
|
|
82
|
+
self._application_id = application_id
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def component_id(self):
|
|
86
|
+
r"""Gets the component_id of this ListComponentSnapshotsRequest.
|
|
87
|
+
|
|
88
|
+
组件ID。
|
|
89
|
+
|
|
90
|
+
:return: The component_id of this ListComponentSnapshotsRequest.
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._component_id
|
|
94
|
+
|
|
95
|
+
@component_id.setter
|
|
96
|
+
def component_id(self, component_id):
|
|
97
|
+
r"""Sets the component_id of this ListComponentSnapshotsRequest.
|
|
98
|
+
|
|
99
|
+
组件ID。
|
|
100
|
+
|
|
101
|
+
:param component_id: The component_id of this ListComponentSnapshotsRequest.
|
|
102
|
+
:type component_id: str
|
|
103
|
+
"""
|
|
104
|
+
self._component_id = component_id
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def x_enterprise_project_id(self):
|
|
108
|
+
r"""Gets the x_enterprise_project_id of this ListComponentSnapshotsRequest.
|
|
109
|
+
|
|
110
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
111
|
+
|
|
112
|
+
:return: The x_enterprise_project_id of this ListComponentSnapshotsRequest.
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._x_enterprise_project_id
|
|
116
|
+
|
|
117
|
+
@x_enterprise_project_id.setter
|
|
118
|
+
def x_enterprise_project_id(self, x_enterprise_project_id):
|
|
119
|
+
r"""Sets the x_enterprise_project_id of this ListComponentSnapshotsRequest.
|
|
120
|
+
|
|
121
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
122
|
+
|
|
123
|
+
:param x_enterprise_project_id: The x_enterprise_project_id of this ListComponentSnapshotsRequest.
|
|
124
|
+
:type x_enterprise_project_id: str
|
|
125
|
+
"""
|
|
126
|
+
self._x_enterprise_project_id = x_enterprise_project_id
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def x_environment_id(self):
|
|
130
|
+
r"""Gets the x_environment_id of this ListComponentSnapshotsRequest.
|
|
131
|
+
|
|
132
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
133
|
+
|
|
134
|
+
:return: The x_environment_id of this ListComponentSnapshotsRequest.
|
|
135
|
+
:rtype: str
|
|
136
|
+
"""
|
|
137
|
+
return self._x_environment_id
|
|
138
|
+
|
|
139
|
+
@x_environment_id.setter
|
|
140
|
+
def x_environment_id(self, x_environment_id):
|
|
141
|
+
r"""Sets the x_environment_id of this ListComponentSnapshotsRequest.
|
|
142
|
+
|
|
143
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
144
|
+
|
|
145
|
+
:param x_environment_id: The x_environment_id of this ListComponentSnapshotsRequest.
|
|
146
|
+
:type x_environment_id: str
|
|
147
|
+
"""
|
|
148
|
+
self._x_environment_id = x_environment_id
|
|
149
|
+
|
|
150
|
+
def to_dict(self):
|
|
151
|
+
"""Returns the model properties as a dict"""
|
|
152
|
+
result = {}
|
|
153
|
+
|
|
154
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
155
|
+
value = getattr(self, attr)
|
|
156
|
+
if isinstance(value, list):
|
|
157
|
+
result[attr] = list(map(
|
|
158
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
159
|
+
value
|
|
160
|
+
))
|
|
161
|
+
elif hasattr(value, "to_dict"):
|
|
162
|
+
result[attr] = value.to_dict()
|
|
163
|
+
elif isinstance(value, dict):
|
|
164
|
+
result[attr] = dict(map(
|
|
165
|
+
lambda item: (item[0], item[1].to_dict())
|
|
166
|
+
if hasattr(item[1], "to_dict") else item,
|
|
167
|
+
value.items()
|
|
168
|
+
))
|
|
169
|
+
else:
|
|
170
|
+
if attr in self.sensitive_list:
|
|
171
|
+
result[attr] = "****"
|
|
172
|
+
else:
|
|
173
|
+
result[attr] = value
|
|
174
|
+
|
|
175
|
+
return result
|
|
176
|
+
|
|
177
|
+
def to_str(self):
|
|
178
|
+
"""Returns the string representation of the model"""
|
|
179
|
+
import simplejson as json
|
|
180
|
+
if six.PY2:
|
|
181
|
+
import sys
|
|
182
|
+
reload(sys)
|
|
183
|
+
sys.setdefaultencoding("utf-8")
|
|
184
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
185
|
+
|
|
186
|
+
def __repr__(self):
|
|
187
|
+
"""For `print`"""
|
|
188
|
+
return self.to_str()
|
|
189
|
+
|
|
190
|
+
def __eq__(self, other):
|
|
191
|
+
"""Returns true if both objects are equal"""
|
|
192
|
+
if not isinstance(other, ListComponentSnapshotsRequest):
|
|
193
|
+
return False
|
|
194
|
+
|
|
195
|
+
return self.__dict__ == other.__dict__
|
|
196
|
+
|
|
197
|
+
def __ne__(self, other):
|
|
198
|
+
"""Returns true if both objects are not equal"""
|
|
199
|
+
return not self == other
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ListComponentSnapshotsResponse(SdkResponse):
|
|
10
|
+
|
|
11
|
+
"""
|
|
12
|
+
Attributes:
|
|
13
|
+
openapi_types (dict): The key is attribute name
|
|
14
|
+
and the value is attribute type.
|
|
15
|
+
attribute_map (dict): The key is attribute name
|
|
16
|
+
and the value is json key in definition.
|
|
17
|
+
"""
|
|
18
|
+
sensitive_list = []
|
|
19
|
+
|
|
20
|
+
openapi_types = {
|
|
21
|
+
'api_version': 'ApiVersionObj',
|
|
22
|
+
'kind': 'ComponentSnapshotKindObj',
|
|
23
|
+
'items': 'list[ComponentSnapshotItem]'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'api_version': 'api_version',
|
|
28
|
+
'kind': 'kind',
|
|
29
|
+
'items': 'items'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
def __init__(self, api_version=None, kind=None, items=None):
|
|
33
|
+
r"""ListComponentSnapshotsResponse
|
|
34
|
+
|
|
35
|
+
The model defined in huaweicloud sdk
|
|
36
|
+
|
|
37
|
+
:param api_version:
|
|
38
|
+
:type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
39
|
+
:param kind:
|
|
40
|
+
:type kind: :class:`huaweicloudsdkcae.v1.ComponentSnapshotKindObj`
|
|
41
|
+
:param items: 快照列表。
|
|
42
|
+
:type items: list[:class:`huaweicloudsdkcae.v1.ComponentSnapshotItem`]
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
super(ListComponentSnapshotsResponse, self).__init__()
|
|
46
|
+
|
|
47
|
+
self._api_version = None
|
|
48
|
+
self._kind = None
|
|
49
|
+
self._items = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if api_version is not None:
|
|
53
|
+
self.api_version = api_version
|
|
54
|
+
if kind is not None:
|
|
55
|
+
self.kind = kind
|
|
56
|
+
if items is not None:
|
|
57
|
+
self.items = items
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def api_version(self):
|
|
61
|
+
r"""Gets the api_version of this ListComponentSnapshotsResponse.
|
|
62
|
+
|
|
63
|
+
:return: The api_version of this ListComponentSnapshotsResponse.
|
|
64
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
65
|
+
"""
|
|
66
|
+
return self._api_version
|
|
67
|
+
|
|
68
|
+
@api_version.setter
|
|
69
|
+
def api_version(self, api_version):
|
|
70
|
+
r"""Sets the api_version of this ListComponentSnapshotsResponse.
|
|
71
|
+
|
|
72
|
+
:param api_version: The api_version of this ListComponentSnapshotsResponse.
|
|
73
|
+
:type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
74
|
+
"""
|
|
75
|
+
self._api_version = api_version
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
def kind(self):
|
|
79
|
+
r"""Gets the kind of this ListComponentSnapshotsResponse.
|
|
80
|
+
|
|
81
|
+
:return: The kind of this ListComponentSnapshotsResponse.
|
|
82
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ComponentSnapshotKindObj`
|
|
83
|
+
"""
|
|
84
|
+
return self._kind
|
|
85
|
+
|
|
86
|
+
@kind.setter
|
|
87
|
+
def kind(self, kind):
|
|
88
|
+
r"""Sets the kind of this ListComponentSnapshotsResponse.
|
|
89
|
+
|
|
90
|
+
:param kind: The kind of this ListComponentSnapshotsResponse.
|
|
91
|
+
:type kind: :class:`huaweicloudsdkcae.v1.ComponentSnapshotKindObj`
|
|
92
|
+
"""
|
|
93
|
+
self._kind = kind
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def items(self):
|
|
97
|
+
r"""Gets the items of this ListComponentSnapshotsResponse.
|
|
98
|
+
|
|
99
|
+
快照列表。
|
|
100
|
+
|
|
101
|
+
:return: The items of this ListComponentSnapshotsResponse.
|
|
102
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.ComponentSnapshotItem`]
|
|
103
|
+
"""
|
|
104
|
+
return self._items
|
|
105
|
+
|
|
106
|
+
@items.setter
|
|
107
|
+
def items(self, items):
|
|
108
|
+
r"""Sets the items of this ListComponentSnapshotsResponse.
|
|
109
|
+
|
|
110
|
+
快照列表。
|
|
111
|
+
|
|
112
|
+
:param items: The items of this ListComponentSnapshotsResponse.
|
|
113
|
+
:type items: list[:class:`huaweicloudsdkcae.v1.ComponentSnapshotItem`]
|
|
114
|
+
"""
|
|
115
|
+
self._items = items
|
|
116
|
+
|
|
117
|
+
def to_dict(self):
|
|
118
|
+
"""Returns the model properties as a dict"""
|
|
119
|
+
result = {}
|
|
120
|
+
|
|
121
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
122
|
+
value = getattr(self, attr)
|
|
123
|
+
if isinstance(value, list):
|
|
124
|
+
result[attr] = list(map(
|
|
125
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
126
|
+
value
|
|
127
|
+
))
|
|
128
|
+
elif hasattr(value, "to_dict"):
|
|
129
|
+
result[attr] = value.to_dict()
|
|
130
|
+
elif isinstance(value, dict):
|
|
131
|
+
result[attr] = dict(map(
|
|
132
|
+
lambda item: (item[0], item[1].to_dict())
|
|
133
|
+
if hasattr(item[1], "to_dict") else item,
|
|
134
|
+
value.items()
|
|
135
|
+
))
|
|
136
|
+
else:
|
|
137
|
+
if attr in self.sensitive_list:
|
|
138
|
+
result[attr] = "****"
|
|
139
|
+
else:
|
|
140
|
+
result[attr] = value
|
|
141
|
+
|
|
142
|
+
return result
|
|
143
|
+
|
|
144
|
+
def to_str(self):
|
|
145
|
+
"""Returns the string representation of the model"""
|
|
146
|
+
import simplejson as json
|
|
147
|
+
if six.PY2:
|
|
148
|
+
import sys
|
|
149
|
+
reload(sys)
|
|
150
|
+
sys.setdefaultencoding("utf-8")
|
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
152
|
+
|
|
153
|
+
def __repr__(self):
|
|
154
|
+
"""For `print`"""
|
|
155
|
+
return self.to_str()
|
|
156
|
+
|
|
157
|
+
def __eq__(self, other):
|
|
158
|
+
"""Returns true if both objects are equal"""
|
|
159
|
+
if not isinstance(other, ListComponentSnapshotsResponse):
|
|
160
|
+
return False
|
|
161
|
+
|
|
162
|
+
return self.__dict__ == other.__dict__
|
|
163
|
+
|
|
164
|
+
def __ne__(self, other):
|
|
165
|
+
"""Returns true if both objects are not equal"""
|
|
166
|
+
return not self == other
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ListComponentsRequest:
|
|
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
|
+
'application_id': 'str',
|
|
21
|
+
'x_enterprise_project_id': 'str',
|
|
22
|
+
'x_environment_id': 'str',
|
|
23
|
+
'limit': 'str',
|
|
24
|
+
'offset': 'str',
|
|
25
|
+
'sort_key': 'str',
|
|
26
|
+
'sort': 'str'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
attribute_map = {
|
|
30
|
+
'application_id': 'application_id',
|
|
31
|
+
'x_enterprise_project_id': 'X-Enterprise-Project-ID',
|
|
32
|
+
'x_environment_id': 'X-Environment-ID',
|
|
33
|
+
'limit': 'limit',
|
|
34
|
+
'offset': 'offset',
|
|
35
|
+
'sort_key': 'sort_key',
|
|
36
|
+
'sort': 'sort'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
def __init__(self, application_id=None, x_enterprise_project_id=None, x_environment_id=None, limit=None, offset=None, sort_key=None, sort=None):
|
|
40
|
+
r"""ListComponentsRequest
|
|
41
|
+
|
|
42
|
+
The model defined in huaweicloud sdk
|
|
43
|
+
|
|
44
|
+
:param application_id: 应用ID。
|
|
45
|
+
:type application_id: str
|
|
46
|
+
:param x_enterprise_project_id: 企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
47
|
+
:type x_enterprise_project_id: str
|
|
48
|
+
:param x_environment_id: 环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
49
|
+
:type x_environment_id: str
|
|
50
|
+
:param limit: 限制本次返回结果的条数。
|
|
51
|
+
:type limit: str
|
|
52
|
+
:param offset: 分页偏移位,查询起始位置。
|
|
53
|
+
:type offset: str
|
|
54
|
+
:param sort_key: 排序字段。
|
|
55
|
+
:type sort_key: str
|
|
56
|
+
:param sort: 升降序规则。
|
|
57
|
+
:type sort: str
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
self._application_id = None
|
|
63
|
+
self._x_enterprise_project_id = None
|
|
64
|
+
self._x_environment_id = None
|
|
65
|
+
self._limit = None
|
|
66
|
+
self._offset = None
|
|
67
|
+
self._sort_key = None
|
|
68
|
+
self._sort = None
|
|
69
|
+
self.discriminator = None
|
|
70
|
+
|
|
71
|
+
self.application_id = application_id
|
|
72
|
+
if x_enterprise_project_id is not None:
|
|
73
|
+
self.x_enterprise_project_id = x_enterprise_project_id
|
|
74
|
+
self.x_environment_id = x_environment_id
|
|
75
|
+
if limit is not None:
|
|
76
|
+
self.limit = limit
|
|
77
|
+
if offset is not None:
|
|
78
|
+
self.offset = offset
|
|
79
|
+
if sort_key is not None:
|
|
80
|
+
self.sort_key = sort_key
|
|
81
|
+
if sort is not None:
|
|
82
|
+
self.sort = sort
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def application_id(self):
|
|
86
|
+
r"""Gets the application_id of this ListComponentsRequest.
|
|
87
|
+
|
|
88
|
+
应用ID。
|
|
89
|
+
|
|
90
|
+
:return: The application_id of this ListComponentsRequest.
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._application_id
|
|
94
|
+
|
|
95
|
+
@application_id.setter
|
|
96
|
+
def application_id(self, application_id):
|
|
97
|
+
r"""Sets the application_id of this ListComponentsRequest.
|
|
98
|
+
|
|
99
|
+
应用ID。
|
|
100
|
+
|
|
101
|
+
:param application_id: The application_id of this ListComponentsRequest.
|
|
102
|
+
:type application_id: str
|
|
103
|
+
"""
|
|
104
|
+
self._application_id = application_id
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def x_enterprise_project_id(self):
|
|
108
|
+
r"""Gets the x_enterprise_project_id of this ListComponentsRequest.
|
|
109
|
+
|
|
110
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
111
|
+
|
|
112
|
+
:return: The x_enterprise_project_id of this ListComponentsRequest.
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._x_enterprise_project_id
|
|
116
|
+
|
|
117
|
+
@x_enterprise_project_id.setter
|
|
118
|
+
def x_enterprise_project_id(self, x_enterprise_project_id):
|
|
119
|
+
r"""Sets the x_enterprise_project_id of this ListComponentsRequest.
|
|
120
|
+
|
|
121
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
122
|
+
|
|
123
|
+
:param x_enterprise_project_id: The x_enterprise_project_id of this ListComponentsRequest.
|
|
124
|
+
:type x_enterprise_project_id: str
|
|
125
|
+
"""
|
|
126
|
+
self._x_enterprise_project_id = x_enterprise_project_id
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def x_environment_id(self):
|
|
130
|
+
r"""Gets the x_environment_id of this ListComponentsRequest.
|
|
131
|
+
|
|
132
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
133
|
+
|
|
134
|
+
:return: The x_environment_id of this ListComponentsRequest.
|
|
135
|
+
:rtype: str
|
|
136
|
+
"""
|
|
137
|
+
return self._x_environment_id
|
|
138
|
+
|
|
139
|
+
@x_environment_id.setter
|
|
140
|
+
def x_environment_id(self, x_environment_id):
|
|
141
|
+
r"""Sets the x_environment_id of this ListComponentsRequest.
|
|
142
|
+
|
|
143
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
144
|
+
|
|
145
|
+
:param x_environment_id: The x_environment_id of this ListComponentsRequest.
|
|
146
|
+
:type x_environment_id: str
|
|
147
|
+
"""
|
|
148
|
+
self._x_environment_id = x_environment_id
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def limit(self):
|
|
152
|
+
r"""Gets the limit of this ListComponentsRequest.
|
|
153
|
+
|
|
154
|
+
限制本次返回结果的条数。
|
|
155
|
+
|
|
156
|
+
:return: The limit of this ListComponentsRequest.
|
|
157
|
+
:rtype: str
|
|
158
|
+
"""
|
|
159
|
+
return self._limit
|
|
160
|
+
|
|
161
|
+
@limit.setter
|
|
162
|
+
def limit(self, limit):
|
|
163
|
+
r"""Sets the limit of this ListComponentsRequest.
|
|
164
|
+
|
|
165
|
+
限制本次返回结果的条数。
|
|
166
|
+
|
|
167
|
+
:param limit: The limit of this ListComponentsRequest.
|
|
168
|
+
:type limit: str
|
|
169
|
+
"""
|
|
170
|
+
self._limit = limit
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def offset(self):
|
|
174
|
+
r"""Gets the offset of this ListComponentsRequest.
|
|
175
|
+
|
|
176
|
+
分页偏移位,查询起始位置。
|
|
177
|
+
|
|
178
|
+
:return: The offset of this ListComponentsRequest.
|
|
179
|
+
:rtype: str
|
|
180
|
+
"""
|
|
181
|
+
return self._offset
|
|
182
|
+
|
|
183
|
+
@offset.setter
|
|
184
|
+
def offset(self, offset):
|
|
185
|
+
r"""Sets the offset of this ListComponentsRequest.
|
|
186
|
+
|
|
187
|
+
分页偏移位,查询起始位置。
|
|
188
|
+
|
|
189
|
+
:param offset: The offset of this ListComponentsRequest.
|
|
190
|
+
:type offset: str
|
|
191
|
+
"""
|
|
192
|
+
self._offset = offset
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
def sort_key(self):
|
|
196
|
+
r"""Gets the sort_key of this ListComponentsRequest.
|
|
197
|
+
|
|
198
|
+
排序字段。
|
|
199
|
+
|
|
200
|
+
:return: The sort_key of this ListComponentsRequest.
|
|
201
|
+
:rtype: str
|
|
202
|
+
"""
|
|
203
|
+
return self._sort_key
|
|
204
|
+
|
|
205
|
+
@sort_key.setter
|
|
206
|
+
def sort_key(self, sort_key):
|
|
207
|
+
r"""Sets the sort_key of this ListComponentsRequest.
|
|
208
|
+
|
|
209
|
+
排序字段。
|
|
210
|
+
|
|
211
|
+
:param sort_key: The sort_key of this ListComponentsRequest.
|
|
212
|
+
:type sort_key: str
|
|
213
|
+
"""
|
|
214
|
+
self._sort_key = sort_key
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def sort(self):
|
|
218
|
+
r"""Gets the sort of this ListComponentsRequest.
|
|
219
|
+
|
|
220
|
+
升降序规则。
|
|
221
|
+
|
|
222
|
+
:return: The sort of this ListComponentsRequest.
|
|
223
|
+
:rtype: str
|
|
224
|
+
"""
|
|
225
|
+
return self._sort
|
|
226
|
+
|
|
227
|
+
@sort.setter
|
|
228
|
+
def sort(self, sort):
|
|
229
|
+
r"""Sets the sort of this ListComponentsRequest.
|
|
230
|
+
|
|
231
|
+
升降序规则。
|
|
232
|
+
|
|
233
|
+
:param sort: The sort of this ListComponentsRequest.
|
|
234
|
+
:type sort: str
|
|
235
|
+
"""
|
|
236
|
+
self._sort = sort
|
|
237
|
+
|
|
238
|
+
def to_dict(self):
|
|
239
|
+
"""Returns the model properties as a dict"""
|
|
240
|
+
result = {}
|
|
241
|
+
|
|
242
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
243
|
+
value = getattr(self, attr)
|
|
244
|
+
if isinstance(value, list):
|
|
245
|
+
result[attr] = list(map(
|
|
246
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
247
|
+
value
|
|
248
|
+
))
|
|
249
|
+
elif hasattr(value, "to_dict"):
|
|
250
|
+
result[attr] = value.to_dict()
|
|
251
|
+
elif isinstance(value, dict):
|
|
252
|
+
result[attr] = dict(map(
|
|
253
|
+
lambda item: (item[0], item[1].to_dict())
|
|
254
|
+
if hasattr(item[1], "to_dict") else item,
|
|
255
|
+
value.items()
|
|
256
|
+
))
|
|
257
|
+
else:
|
|
258
|
+
if attr in self.sensitive_list:
|
|
259
|
+
result[attr] = "****"
|
|
260
|
+
else:
|
|
261
|
+
result[attr] = value
|
|
262
|
+
|
|
263
|
+
return result
|
|
264
|
+
|
|
265
|
+
def to_str(self):
|
|
266
|
+
"""Returns the string representation of the model"""
|
|
267
|
+
import simplejson as json
|
|
268
|
+
if six.PY2:
|
|
269
|
+
import sys
|
|
270
|
+
reload(sys)
|
|
271
|
+
sys.setdefaultencoding("utf-8")
|
|
272
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
273
|
+
|
|
274
|
+
def __repr__(self):
|
|
275
|
+
"""For `print`"""
|
|
276
|
+
return self.to_str()
|
|
277
|
+
|
|
278
|
+
def __eq__(self, other):
|
|
279
|
+
"""Returns true if both objects are equal"""
|
|
280
|
+
if not isinstance(other, ListComponentsRequest):
|
|
281
|
+
return False
|
|
282
|
+
|
|
283
|
+
return self.__dict__ == other.__dict__
|
|
284
|
+
|
|
285
|
+
def __ne__(self, other):
|
|
286
|
+
"""Returns true if both objects are not equal"""
|
|
287
|
+
return not self == other
|