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,241 @@
|
|
|
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 CreateComponentWithConfigurationResponse(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': 'ComponentKindObj',
|
|
23
|
+
'metadata': 'MetadataResponse',
|
|
24
|
+
'spec': 'CreateComponentSpec',
|
|
25
|
+
'configurations': 'list[ConfigurationItem]',
|
|
26
|
+
'status': 'CreateComponentWithConfigurationResponseBodyStatus'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
attribute_map = {
|
|
30
|
+
'api_version': 'api_version',
|
|
31
|
+
'kind': 'kind',
|
|
32
|
+
'metadata': 'metadata',
|
|
33
|
+
'spec': 'spec',
|
|
34
|
+
'configurations': 'configurations',
|
|
35
|
+
'status': 'status'
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
def __init__(self, api_version=None, kind=None, metadata=None, spec=None, configurations=None, status=None):
|
|
39
|
+
r"""CreateComponentWithConfigurationResponse
|
|
40
|
+
|
|
41
|
+
The model defined in huaweicloud sdk
|
|
42
|
+
|
|
43
|
+
:param api_version:
|
|
44
|
+
:type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
45
|
+
:param kind:
|
|
46
|
+
:type kind: :class:`huaweicloudsdkcae.v1.ComponentKindObj`
|
|
47
|
+
:param metadata:
|
|
48
|
+
:type metadata: :class:`huaweicloudsdkcae.v1.MetadataResponse`
|
|
49
|
+
:param spec:
|
|
50
|
+
:type spec: :class:`huaweicloudsdkcae.v1.CreateComponentSpec`
|
|
51
|
+
:param configurations: 配置项列表。
|
|
52
|
+
:type configurations: list[:class:`huaweicloudsdkcae.v1.ConfigurationItem`]
|
|
53
|
+
:param status:
|
|
54
|
+
:type status: :class:`huaweicloudsdkcae.v1.CreateComponentWithConfigurationResponseBodyStatus`
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
super(CreateComponentWithConfigurationResponse, self).__init__()
|
|
58
|
+
|
|
59
|
+
self._api_version = None
|
|
60
|
+
self._kind = None
|
|
61
|
+
self._metadata = None
|
|
62
|
+
self._spec = None
|
|
63
|
+
self._configurations = None
|
|
64
|
+
self._status = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if api_version is not None:
|
|
68
|
+
self.api_version = api_version
|
|
69
|
+
if kind is not None:
|
|
70
|
+
self.kind = kind
|
|
71
|
+
if metadata is not None:
|
|
72
|
+
self.metadata = metadata
|
|
73
|
+
if spec is not None:
|
|
74
|
+
self.spec = spec
|
|
75
|
+
if configurations is not None:
|
|
76
|
+
self.configurations = configurations
|
|
77
|
+
if status is not None:
|
|
78
|
+
self.status = status
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def api_version(self):
|
|
82
|
+
r"""Gets the api_version of this CreateComponentWithConfigurationResponse.
|
|
83
|
+
|
|
84
|
+
:return: The api_version of this CreateComponentWithConfigurationResponse.
|
|
85
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
86
|
+
"""
|
|
87
|
+
return self._api_version
|
|
88
|
+
|
|
89
|
+
@api_version.setter
|
|
90
|
+
def api_version(self, api_version):
|
|
91
|
+
r"""Sets the api_version of this CreateComponentWithConfigurationResponse.
|
|
92
|
+
|
|
93
|
+
:param api_version: The api_version of this CreateComponentWithConfigurationResponse.
|
|
94
|
+
:type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
95
|
+
"""
|
|
96
|
+
self._api_version = api_version
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def kind(self):
|
|
100
|
+
r"""Gets the kind of this CreateComponentWithConfigurationResponse.
|
|
101
|
+
|
|
102
|
+
:return: The kind of this CreateComponentWithConfigurationResponse.
|
|
103
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ComponentKindObj`
|
|
104
|
+
"""
|
|
105
|
+
return self._kind
|
|
106
|
+
|
|
107
|
+
@kind.setter
|
|
108
|
+
def kind(self, kind):
|
|
109
|
+
r"""Sets the kind of this CreateComponentWithConfigurationResponse.
|
|
110
|
+
|
|
111
|
+
:param kind: The kind of this CreateComponentWithConfigurationResponse.
|
|
112
|
+
:type kind: :class:`huaweicloudsdkcae.v1.ComponentKindObj`
|
|
113
|
+
"""
|
|
114
|
+
self._kind = kind
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def metadata(self):
|
|
118
|
+
r"""Gets the metadata of this CreateComponentWithConfigurationResponse.
|
|
119
|
+
|
|
120
|
+
:return: The metadata of this CreateComponentWithConfigurationResponse.
|
|
121
|
+
:rtype: :class:`huaweicloudsdkcae.v1.MetadataResponse`
|
|
122
|
+
"""
|
|
123
|
+
return self._metadata
|
|
124
|
+
|
|
125
|
+
@metadata.setter
|
|
126
|
+
def metadata(self, metadata):
|
|
127
|
+
r"""Sets the metadata of this CreateComponentWithConfigurationResponse.
|
|
128
|
+
|
|
129
|
+
:param metadata: The metadata of this CreateComponentWithConfigurationResponse.
|
|
130
|
+
:type metadata: :class:`huaweicloudsdkcae.v1.MetadataResponse`
|
|
131
|
+
"""
|
|
132
|
+
self._metadata = metadata
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
def spec(self):
|
|
136
|
+
r"""Gets the spec of this CreateComponentWithConfigurationResponse.
|
|
137
|
+
|
|
138
|
+
:return: The spec of this CreateComponentWithConfigurationResponse.
|
|
139
|
+
:rtype: :class:`huaweicloudsdkcae.v1.CreateComponentSpec`
|
|
140
|
+
"""
|
|
141
|
+
return self._spec
|
|
142
|
+
|
|
143
|
+
@spec.setter
|
|
144
|
+
def spec(self, spec):
|
|
145
|
+
r"""Sets the spec of this CreateComponentWithConfigurationResponse.
|
|
146
|
+
|
|
147
|
+
:param spec: The spec of this CreateComponentWithConfigurationResponse.
|
|
148
|
+
:type spec: :class:`huaweicloudsdkcae.v1.CreateComponentSpec`
|
|
149
|
+
"""
|
|
150
|
+
self._spec = spec
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
def configurations(self):
|
|
154
|
+
r"""Gets the configurations of this CreateComponentWithConfigurationResponse.
|
|
155
|
+
|
|
156
|
+
配置项列表。
|
|
157
|
+
|
|
158
|
+
:return: The configurations of this CreateComponentWithConfigurationResponse.
|
|
159
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.ConfigurationItem`]
|
|
160
|
+
"""
|
|
161
|
+
return self._configurations
|
|
162
|
+
|
|
163
|
+
@configurations.setter
|
|
164
|
+
def configurations(self, configurations):
|
|
165
|
+
r"""Sets the configurations of this CreateComponentWithConfigurationResponse.
|
|
166
|
+
|
|
167
|
+
配置项列表。
|
|
168
|
+
|
|
169
|
+
:param configurations: The configurations of this CreateComponentWithConfigurationResponse.
|
|
170
|
+
:type configurations: list[:class:`huaweicloudsdkcae.v1.ConfigurationItem`]
|
|
171
|
+
"""
|
|
172
|
+
self._configurations = configurations
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
def status(self):
|
|
176
|
+
r"""Gets the status of this CreateComponentWithConfigurationResponse.
|
|
177
|
+
|
|
178
|
+
:return: The status of this CreateComponentWithConfigurationResponse.
|
|
179
|
+
:rtype: :class:`huaweicloudsdkcae.v1.CreateComponentWithConfigurationResponseBodyStatus`
|
|
180
|
+
"""
|
|
181
|
+
return self._status
|
|
182
|
+
|
|
183
|
+
@status.setter
|
|
184
|
+
def status(self, status):
|
|
185
|
+
r"""Sets the status of this CreateComponentWithConfigurationResponse.
|
|
186
|
+
|
|
187
|
+
:param status: The status of this CreateComponentWithConfigurationResponse.
|
|
188
|
+
:type status: :class:`huaweicloudsdkcae.v1.CreateComponentWithConfigurationResponseBodyStatus`
|
|
189
|
+
"""
|
|
190
|
+
self._status = status
|
|
191
|
+
|
|
192
|
+
def to_dict(self):
|
|
193
|
+
"""Returns the model properties as a dict"""
|
|
194
|
+
result = {}
|
|
195
|
+
|
|
196
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
197
|
+
value = getattr(self, attr)
|
|
198
|
+
if isinstance(value, list):
|
|
199
|
+
result[attr] = list(map(
|
|
200
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
201
|
+
value
|
|
202
|
+
))
|
|
203
|
+
elif hasattr(value, "to_dict"):
|
|
204
|
+
result[attr] = value.to_dict()
|
|
205
|
+
elif isinstance(value, dict):
|
|
206
|
+
result[attr] = dict(map(
|
|
207
|
+
lambda item: (item[0], item[1].to_dict())
|
|
208
|
+
if hasattr(item[1], "to_dict") else item,
|
|
209
|
+
value.items()
|
|
210
|
+
))
|
|
211
|
+
else:
|
|
212
|
+
if attr in self.sensitive_list:
|
|
213
|
+
result[attr] = "****"
|
|
214
|
+
else:
|
|
215
|
+
result[attr] = value
|
|
216
|
+
|
|
217
|
+
return result
|
|
218
|
+
|
|
219
|
+
def to_str(self):
|
|
220
|
+
"""Returns the string representation of the model"""
|
|
221
|
+
import simplejson as json
|
|
222
|
+
if six.PY2:
|
|
223
|
+
import sys
|
|
224
|
+
reload(sys)
|
|
225
|
+
sys.setdefaultencoding("utf-8")
|
|
226
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
227
|
+
|
|
228
|
+
def __repr__(self):
|
|
229
|
+
"""For `print`"""
|
|
230
|
+
return self.to_str()
|
|
231
|
+
|
|
232
|
+
def __eq__(self, other):
|
|
233
|
+
"""Returns true if both objects are equal"""
|
|
234
|
+
if not isinstance(other, CreateComponentWithConfigurationResponse):
|
|
235
|
+
return False
|
|
236
|
+
|
|
237
|
+
return self.__dict__ == other.__dict__
|
|
238
|
+
|
|
239
|
+
def __ne__(self, other):
|
|
240
|
+
"""Returns true if both objects are not equal"""
|
|
241
|
+
return not self == other
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CreateComponentWithConfigurationResponseBodyStatus:
|
|
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
|
+
'job_id': 'str'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'job_id': 'job_id'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, job_id=None):
|
|
28
|
+
r"""CreateComponentWithConfigurationResponseBodyStatus
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param job_id: 任务ID。
|
|
33
|
+
:type job_id: str
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
self._job_id = None
|
|
39
|
+
self.discriminator = None
|
|
40
|
+
|
|
41
|
+
if job_id is not None:
|
|
42
|
+
self.job_id = job_id
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def job_id(self):
|
|
46
|
+
r"""Gets the job_id of this CreateComponentWithConfigurationResponseBodyStatus.
|
|
47
|
+
|
|
48
|
+
任务ID。
|
|
49
|
+
|
|
50
|
+
:return: The job_id of this CreateComponentWithConfigurationResponseBodyStatus.
|
|
51
|
+
:rtype: str
|
|
52
|
+
"""
|
|
53
|
+
return self._job_id
|
|
54
|
+
|
|
55
|
+
@job_id.setter
|
|
56
|
+
def job_id(self, job_id):
|
|
57
|
+
r"""Sets the job_id of this CreateComponentWithConfigurationResponseBodyStatus.
|
|
58
|
+
|
|
59
|
+
任务ID。
|
|
60
|
+
|
|
61
|
+
:param job_id: The job_id of this CreateComponentWithConfigurationResponseBodyStatus.
|
|
62
|
+
:type job_id: str
|
|
63
|
+
"""
|
|
64
|
+
self._job_id = job_id
|
|
65
|
+
|
|
66
|
+
def to_dict(self):
|
|
67
|
+
"""Returns the model properties as a dict"""
|
|
68
|
+
result = {}
|
|
69
|
+
|
|
70
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
71
|
+
value = getattr(self, attr)
|
|
72
|
+
if isinstance(value, list):
|
|
73
|
+
result[attr] = list(map(
|
|
74
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
75
|
+
value
|
|
76
|
+
))
|
|
77
|
+
elif hasattr(value, "to_dict"):
|
|
78
|
+
result[attr] = value.to_dict()
|
|
79
|
+
elif isinstance(value, dict):
|
|
80
|
+
result[attr] = dict(map(
|
|
81
|
+
lambda item: (item[0], item[1].to_dict())
|
|
82
|
+
if hasattr(item[1], "to_dict") else item,
|
|
83
|
+
value.items()
|
|
84
|
+
))
|
|
85
|
+
else:
|
|
86
|
+
if attr in self.sensitive_list:
|
|
87
|
+
result[attr] = "****"
|
|
88
|
+
else:
|
|
89
|
+
result[attr] = value
|
|
90
|
+
|
|
91
|
+
return result
|
|
92
|
+
|
|
93
|
+
def to_str(self):
|
|
94
|
+
"""Returns the string representation of the model"""
|
|
95
|
+
import simplejson as json
|
|
96
|
+
if six.PY2:
|
|
97
|
+
import sys
|
|
98
|
+
reload(sys)
|
|
99
|
+
sys.setdefaultencoding("utf-8")
|
|
100
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
101
|
+
|
|
102
|
+
def __repr__(self):
|
|
103
|
+
"""For `print`"""
|
|
104
|
+
return self.to_str()
|
|
105
|
+
|
|
106
|
+
def __eq__(self, other):
|
|
107
|
+
"""Returns true if both objects are equal"""
|
|
108
|
+
if not isinstance(other, CreateComponentWithConfigurationResponseBodyStatus):
|
|
109
|
+
return False
|
|
110
|
+
|
|
111
|
+
return self.__dict__ == other.__dict__
|
|
112
|
+
|
|
113
|
+
def __ne__(self, other):
|
|
114
|
+
"""Returns true if both objects are not equal"""
|
|
115
|
+
return not self == other
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CreateDomainReq:
|
|
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
|
+
'api_version': 'ApiVersionObj',
|
|
21
|
+
'kind': 'DomainKindObj',
|
|
22
|
+
'metadata': 'CreateMetaDomain'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'api_version': 'api_version',
|
|
27
|
+
'kind': 'kind',
|
|
28
|
+
'metadata': 'metadata'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
def __init__(self, api_version=None, kind=None, metadata=None):
|
|
32
|
+
r"""CreateDomainReq
|
|
33
|
+
|
|
34
|
+
The model defined in huaweicloud sdk
|
|
35
|
+
|
|
36
|
+
:param api_version:
|
|
37
|
+
:type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
38
|
+
:param kind:
|
|
39
|
+
:type kind: :class:`huaweicloudsdkcae.v1.DomainKindObj`
|
|
40
|
+
:param metadata:
|
|
41
|
+
:type metadata: :class:`huaweicloudsdkcae.v1.CreateMetaDomain`
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
self._api_version = None
|
|
47
|
+
self._kind = None
|
|
48
|
+
self._metadata = None
|
|
49
|
+
self.discriminator = None
|
|
50
|
+
|
|
51
|
+
self.api_version = api_version
|
|
52
|
+
self.kind = kind
|
|
53
|
+
self.metadata = metadata
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def api_version(self):
|
|
57
|
+
r"""Gets the api_version of this CreateDomainReq.
|
|
58
|
+
|
|
59
|
+
:return: The api_version of this CreateDomainReq.
|
|
60
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
61
|
+
"""
|
|
62
|
+
return self._api_version
|
|
63
|
+
|
|
64
|
+
@api_version.setter
|
|
65
|
+
def api_version(self, api_version):
|
|
66
|
+
r"""Sets the api_version of this CreateDomainReq.
|
|
67
|
+
|
|
68
|
+
:param api_version: The api_version of this CreateDomainReq.
|
|
69
|
+
:type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
70
|
+
"""
|
|
71
|
+
self._api_version = api_version
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
def kind(self):
|
|
75
|
+
r"""Gets the kind of this CreateDomainReq.
|
|
76
|
+
|
|
77
|
+
:return: The kind of this CreateDomainReq.
|
|
78
|
+
:rtype: :class:`huaweicloudsdkcae.v1.DomainKindObj`
|
|
79
|
+
"""
|
|
80
|
+
return self._kind
|
|
81
|
+
|
|
82
|
+
@kind.setter
|
|
83
|
+
def kind(self, kind):
|
|
84
|
+
r"""Sets the kind of this CreateDomainReq.
|
|
85
|
+
|
|
86
|
+
:param kind: The kind of this CreateDomainReq.
|
|
87
|
+
:type kind: :class:`huaweicloudsdkcae.v1.DomainKindObj`
|
|
88
|
+
"""
|
|
89
|
+
self._kind = kind
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def metadata(self):
|
|
93
|
+
r"""Gets the metadata of this CreateDomainReq.
|
|
94
|
+
|
|
95
|
+
:return: The metadata of this CreateDomainReq.
|
|
96
|
+
:rtype: :class:`huaweicloudsdkcae.v1.CreateMetaDomain`
|
|
97
|
+
"""
|
|
98
|
+
return self._metadata
|
|
99
|
+
|
|
100
|
+
@metadata.setter
|
|
101
|
+
def metadata(self, metadata):
|
|
102
|
+
r"""Sets the metadata of this CreateDomainReq.
|
|
103
|
+
|
|
104
|
+
:param metadata: The metadata of this CreateDomainReq.
|
|
105
|
+
:type metadata: :class:`huaweicloudsdkcae.v1.CreateMetaDomain`
|
|
106
|
+
"""
|
|
107
|
+
self._metadata = metadata
|
|
108
|
+
|
|
109
|
+
def to_dict(self):
|
|
110
|
+
"""Returns the model properties as a dict"""
|
|
111
|
+
result = {}
|
|
112
|
+
|
|
113
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
114
|
+
value = getattr(self, attr)
|
|
115
|
+
if isinstance(value, list):
|
|
116
|
+
result[attr] = list(map(
|
|
117
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
118
|
+
value
|
|
119
|
+
))
|
|
120
|
+
elif hasattr(value, "to_dict"):
|
|
121
|
+
result[attr] = value.to_dict()
|
|
122
|
+
elif isinstance(value, dict):
|
|
123
|
+
result[attr] = dict(map(
|
|
124
|
+
lambda item: (item[0], item[1].to_dict())
|
|
125
|
+
if hasattr(item[1], "to_dict") else item,
|
|
126
|
+
value.items()
|
|
127
|
+
))
|
|
128
|
+
else:
|
|
129
|
+
if attr in self.sensitive_list:
|
|
130
|
+
result[attr] = "****"
|
|
131
|
+
else:
|
|
132
|
+
result[attr] = value
|
|
133
|
+
|
|
134
|
+
return result
|
|
135
|
+
|
|
136
|
+
def to_str(self):
|
|
137
|
+
"""Returns the string representation of the model"""
|
|
138
|
+
import simplejson as json
|
|
139
|
+
if six.PY2:
|
|
140
|
+
import sys
|
|
141
|
+
reload(sys)
|
|
142
|
+
sys.setdefaultencoding("utf-8")
|
|
143
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
144
|
+
|
|
145
|
+
def __repr__(self):
|
|
146
|
+
"""For `print`"""
|
|
147
|
+
return self.to_str()
|
|
148
|
+
|
|
149
|
+
def __eq__(self, other):
|
|
150
|
+
"""Returns true if both objects are equal"""
|
|
151
|
+
if not isinstance(other, CreateDomainReq):
|
|
152
|
+
return False
|
|
153
|
+
|
|
154
|
+
return self.__dict__ == other.__dict__
|
|
155
|
+
|
|
156
|
+
def __ne__(self, other):
|
|
157
|
+
"""Returns true if both objects are not equal"""
|
|
158
|
+
return not self == other
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CreateDomainRequest:
|
|
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
|
+
'x_enterprise_project_id': 'str',
|
|
21
|
+
'x_environment_id': 'str',
|
|
22
|
+
'body': 'CreateDomainReq'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'x_enterprise_project_id': 'X-Enterprise-Project-ID',
|
|
27
|
+
'x_environment_id': 'X-Environment-ID',
|
|
28
|
+
'body': 'body'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
def __init__(self, x_enterprise_project_id=None, x_environment_id=None, body=None):
|
|
32
|
+
r"""CreateDomainRequest
|
|
33
|
+
|
|
34
|
+
The model defined in huaweicloud sdk
|
|
35
|
+
|
|
36
|
+
:param x_enterprise_project_id: 企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
37
|
+
:type x_enterprise_project_id: str
|
|
38
|
+
:param x_environment_id: 环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
39
|
+
:type x_environment_id: str
|
|
40
|
+
:param body: Body of the CreateDomainRequest
|
|
41
|
+
:type body: :class:`huaweicloudsdkcae.v1.CreateDomainReq`
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
self._x_enterprise_project_id = None
|
|
47
|
+
self._x_environment_id = None
|
|
48
|
+
self._body = None
|
|
49
|
+
self.discriminator = None
|
|
50
|
+
|
|
51
|
+
if x_enterprise_project_id is not None:
|
|
52
|
+
self.x_enterprise_project_id = x_enterprise_project_id
|
|
53
|
+
self.x_environment_id = x_environment_id
|
|
54
|
+
if body is not None:
|
|
55
|
+
self.body = body
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def x_enterprise_project_id(self):
|
|
59
|
+
r"""Gets the x_enterprise_project_id of this CreateDomainRequest.
|
|
60
|
+
|
|
61
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
62
|
+
|
|
63
|
+
:return: The x_enterprise_project_id of this CreateDomainRequest.
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._x_enterprise_project_id
|
|
67
|
+
|
|
68
|
+
@x_enterprise_project_id.setter
|
|
69
|
+
def x_enterprise_project_id(self, x_enterprise_project_id):
|
|
70
|
+
r"""Sets the x_enterprise_project_id of this CreateDomainRequest.
|
|
71
|
+
|
|
72
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
73
|
+
|
|
74
|
+
:param x_enterprise_project_id: The x_enterprise_project_id of this CreateDomainRequest.
|
|
75
|
+
:type x_enterprise_project_id: str
|
|
76
|
+
"""
|
|
77
|
+
self._x_enterprise_project_id = x_enterprise_project_id
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def x_environment_id(self):
|
|
81
|
+
r"""Gets the x_environment_id of this CreateDomainRequest.
|
|
82
|
+
|
|
83
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
84
|
+
|
|
85
|
+
:return: The x_environment_id of this CreateDomainRequest.
|
|
86
|
+
:rtype: str
|
|
87
|
+
"""
|
|
88
|
+
return self._x_environment_id
|
|
89
|
+
|
|
90
|
+
@x_environment_id.setter
|
|
91
|
+
def x_environment_id(self, x_environment_id):
|
|
92
|
+
r"""Sets the x_environment_id of this CreateDomainRequest.
|
|
93
|
+
|
|
94
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
95
|
+
|
|
96
|
+
:param x_environment_id: The x_environment_id of this CreateDomainRequest.
|
|
97
|
+
:type x_environment_id: str
|
|
98
|
+
"""
|
|
99
|
+
self._x_environment_id = x_environment_id
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def body(self):
|
|
103
|
+
r"""Gets the body of this CreateDomainRequest.
|
|
104
|
+
|
|
105
|
+
:return: The body of this CreateDomainRequest.
|
|
106
|
+
:rtype: :class:`huaweicloudsdkcae.v1.CreateDomainReq`
|
|
107
|
+
"""
|
|
108
|
+
return self._body
|
|
109
|
+
|
|
110
|
+
@body.setter
|
|
111
|
+
def body(self, body):
|
|
112
|
+
r"""Sets the body of this CreateDomainRequest.
|
|
113
|
+
|
|
114
|
+
:param body: The body of this CreateDomainRequest.
|
|
115
|
+
:type body: :class:`huaweicloudsdkcae.v1.CreateDomainReq`
|
|
116
|
+
"""
|
|
117
|
+
self._body = body
|
|
118
|
+
|
|
119
|
+
def to_dict(self):
|
|
120
|
+
"""Returns the model properties as a dict"""
|
|
121
|
+
result = {}
|
|
122
|
+
|
|
123
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
124
|
+
value = getattr(self, attr)
|
|
125
|
+
if isinstance(value, list):
|
|
126
|
+
result[attr] = list(map(
|
|
127
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
128
|
+
value
|
|
129
|
+
))
|
|
130
|
+
elif hasattr(value, "to_dict"):
|
|
131
|
+
result[attr] = value.to_dict()
|
|
132
|
+
elif isinstance(value, dict):
|
|
133
|
+
result[attr] = dict(map(
|
|
134
|
+
lambda item: (item[0], item[1].to_dict())
|
|
135
|
+
if hasattr(item[1], "to_dict") else item,
|
|
136
|
+
value.items()
|
|
137
|
+
))
|
|
138
|
+
else:
|
|
139
|
+
if attr in self.sensitive_list:
|
|
140
|
+
result[attr] = "****"
|
|
141
|
+
else:
|
|
142
|
+
result[attr] = value
|
|
143
|
+
|
|
144
|
+
return result
|
|
145
|
+
|
|
146
|
+
def to_str(self):
|
|
147
|
+
"""Returns the string representation of the model"""
|
|
148
|
+
import simplejson as json
|
|
149
|
+
if six.PY2:
|
|
150
|
+
import sys
|
|
151
|
+
reload(sys)
|
|
152
|
+
sys.setdefaultencoding("utf-8")
|
|
153
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
154
|
+
|
|
155
|
+
def __repr__(self):
|
|
156
|
+
"""For `print`"""
|
|
157
|
+
return self.to_str()
|
|
158
|
+
|
|
159
|
+
def __eq__(self, other):
|
|
160
|
+
"""Returns true if both objects are equal"""
|
|
161
|
+
if not isinstance(other, CreateDomainRequest):
|
|
162
|
+
return False
|
|
163
|
+
|
|
164
|
+
return self.__dict__ == other.__dict__
|
|
165
|
+
|
|
166
|
+
def __ne__(self, other):
|
|
167
|
+
"""Returns true if both objects are not equal"""
|
|
168
|
+
return not self == other
|