huaweicloudsdkdrs 3.1.85__py2.py3-none-any.whl → 3.1.132__py2.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.
- huaweicloudsdkdrs/v3/__init__.py +48 -0
- huaweicloudsdkdrs/v3/drs_async_client.py +1140 -43
- huaweicloudsdkdrs/v3/drs_client.py +1140 -43
- huaweicloudsdkdrs/v3/model/__init__.py +48 -0
- huaweicloudsdkdrs/v3/model/add_data_transformation_req.py +138 -0
- huaweicloudsdkdrs/v3/model/api_http_null_resp.py +84 -0
- huaweicloudsdkdrs/v3/model/batch_job_action_req.py +9 -9
- huaweicloudsdkdrs/v3/model/compare_job_content_detail_info.py +202 -0
- huaweicloudsdkdrs/v3/model/compare_job_info.py +376 -0
- huaweicloudsdkdrs/v3/model/create_compare_result_file_request.py +196 -0
- huaweicloudsdkdrs/v3/model/create_compare_result_file_response.py +116 -0
- huaweicloudsdkdrs/v3/model/create_data_compare_database_object.py +115 -0
- huaweicloudsdkdrs/v3/model/create_data_compare_transformation_info.py +142 -0
- huaweicloudsdkdrs/v3/model/create_data_level_table_compare_job_req.py +346 -0
- huaweicloudsdkdrs/v3/model/create_data_level_table_compare_job_request.py +168 -0
- huaweicloudsdkdrs/v3/model/create_data_level_table_compare_job_response.py +116 -0
- huaweicloudsdkdrs/v3/model/create_job_req.py +67 -9
- huaweicloudsdkdrs/v3/model/create_object_compare_job_req.py +115 -0
- huaweicloudsdkdrs/v3/model/create_object_level_compare_job_request.py +168 -0
- huaweicloudsdkdrs/v3/model/create_object_level_compare_job_response.py +116 -0
- huaweicloudsdkdrs/v3/model/data_compare_overview_info.py +173 -0
- huaweicloudsdkdrs/v3/model/delete_compare_job_request.py +171 -0
- huaweicloudsdkdrs/v3/model/delete_compare_job_response.py +116 -0
- huaweicloudsdkdrs/v3/model/download_compare_result_file_request.py +255 -0
- huaweicloudsdkdrs/v3/model/download_compare_result_file_response.py +85 -0
- huaweicloudsdkdrs/v3/model/endpoint.py +28 -3
- huaweicloudsdkdrs/v3/model/export_compare_result_req.py +172 -0
- huaweicloudsdkdrs/v3/model/failed_to_bind_eip_child_info.py +144 -0
- huaweicloudsdkdrs/v3/model/kafka_security.py +290 -29
- huaweicloudsdkdrs/v3/model/list_available_node_types_request.py +257 -0
- huaweicloudsdkdrs/v3/model/list_available_node_types_response.py +116 -0
- huaweicloudsdkdrs/v3/model/list_content_compare_detail_request.py +316 -0
- huaweicloudsdkdrs/v3/model/list_content_compare_detail_response.py +145 -0
- huaweicloudsdkdrs/v3/model/list_content_compare_difference_request.py +287 -0
- huaweicloudsdkdrs/v3/model/list_content_compare_difference_response.py +232 -0
- huaweicloudsdkdrs/v3/model/list_content_compare_overview_request.py +229 -0
- huaweicloudsdkdrs/v3/model/list_content_compare_overview_response.py +145 -0
- huaweicloudsdkdrs/v3/model/list_data_compare_detail_request.py +374 -0
- huaweicloudsdkdrs/v3/model/list_data_compare_detail_response.py +145 -0
- huaweicloudsdkdrs/v3/model/list_data_compare_overview_request.py +258 -0
- huaweicloudsdkdrs/v3/model/list_data_compare_overview_response.py +145 -0
- huaweicloudsdkdrs/v3/model/list_data_level_table_compare_jobs_request.py +201 -0
- huaweicloudsdkdrs/v3/model/list_data_level_table_compare_jobs_response.py +145 -0
- huaweicloudsdkdrs/v3/model/list_obeject_level_compare_detail_request.py +258 -0
- huaweicloudsdkdrs/v3/model/list_obeject_level_compare_detail_response.py +145 -0
- huaweicloudsdkdrs/v3/model/list_obeject_level_compare_overview_request.py +143 -0
- huaweicloudsdkdrs/v3/model/list_obeject_level_compare_overview_response.py +319 -0
- huaweicloudsdkdrs/v3/model/modify_job_req.py +3 -3
- huaweicloudsdkdrs/v3/model/node_content_compare_detail_result.py +405 -0
- huaweicloudsdkdrs/v3/model/node_content_compare_overview_result.py +173 -0
- huaweicloudsdkdrs/v3/model/objects_compare_detail_info.py +260 -0
- huaweicloudsdkdrs/v3/model/objects_compare_overview_info.py +202 -0
- huaweicloudsdkdrs/v3/model/public_ip_config.py +170 -0
- huaweicloudsdkdrs/v3/model/query_job_resp.py +129 -13
- huaweicloudsdkdrs/v3/model/query_jobs_req.py +3 -3
- huaweicloudsdkdrs/v3/model/query_support_node_type_bean.py +144 -0
- huaweicloudsdkdrs/v3/model/start_promptly_data_level_table_compare_job_request.py +171 -0
- huaweicloudsdkdrs/v3/model/start_promptly_data_level_table_compare_job_response.py +116 -0
- huaweicloudsdkdrs/v3/model/sync_policy_req.py +32 -3
- huaweicloudsdkdrs/v3/model/table_line_compare_result_info.py +289 -0
- huaweicloudsdkdrs/v3/region/drs_region.py +15 -0
- huaweicloudsdkdrs/v5/__init__.py +81 -1
- huaweicloudsdkdrs/v5/drs_async_client.py +2408 -750
- huaweicloudsdkdrs/v5/drs_client.py +2408 -750
- huaweicloudsdkdrs/v5/model/__init__.py +81 -1
- huaweicloudsdkdrs/v5/model/action_params.py +82 -3
- huaweicloudsdkdrs/v5/model/action_req.py +3 -3
- huaweicloudsdkdrs/v5/model/agency_role.py +144 -0
- huaweicloudsdkdrs/v5/model/async_create_job_req.py +32 -3
- huaweicloudsdkdrs/v5/model/backup_file_info.py +201 -0
- huaweicloudsdkdrs/v5/model/backup_file_resp.py +173 -0
- huaweicloudsdkdrs/v5/model/backup_info.py +171 -0
- huaweicloudsdkdrs/v5/model/backup_info_resp.py +173 -0
- huaweicloudsdkdrs/v5/model/backup_job_base_info.py +229 -0
- huaweicloudsdkdrs/v5/model/backup_job_endpoint_info.py +172 -0
- huaweicloudsdkdrs/v5/model/backup_restore_option_info.py +315 -0
- huaweicloudsdkdrs/v5/model/base_endpoint.py +6 -6
- huaweicloudsdkdrs/v5/model/change_to_period_request.py +168 -0
- huaweicloudsdkdrs/v5/model/change_to_period_response.py +116 -0
- huaweicloudsdkdrs/v5/model/check_data_filter_response.py +35 -6
- huaweicloudsdkdrs/v5/model/children_job_list_resp.py +3 -3
- huaweicloudsdkdrs/v5/model/clean_alarms_request.py +171 -0
- huaweicloudsdkdrs/v5/model/clean_alarms_response.py +116 -0
- huaweicloudsdkdrs/v5/model/collect_columns_response.py +35 -6
- huaweicloudsdkdrs/v5/model/collect_db_objects_async_response.py +35 -6
- huaweicloudsdkdrs/v5/model/collect_db_objects_info_response.py +35 -6
- huaweicloudsdkdrs/v5/model/collect_position_async_response.py +35 -6
- huaweicloudsdkdrs/v5/model/compare_job_info.py +65 -7
- huaweicloudsdkdrs/v5/model/compare_result_info.py +28 -3
- huaweicloudsdkdrs/v5/model/compare_task_params.py +32 -3
- huaweicloudsdkdrs/v5/model/connection_config.py +115 -0
- huaweicloudsdkdrs/v5/model/connection_resp.py +355 -0
- huaweicloudsdkdrs/v5/model/content_compare_overview_info.py +3 -3
- huaweicloudsdkdrs/v5/model/content_diff_detail_info.py +231 -0
- huaweicloudsdkdrs/v5/model/content_diff_detail_vo.py +202 -0
- huaweicloudsdkdrs/v5/model/create_connection_req.py +324 -0
- huaweicloudsdkdrs/v5/model/create_connection_request.py +140 -0
- huaweicloudsdkdrs/v5/model/create_connection_response.py +361 -0
- huaweicloudsdkdrs/v5/model/create_job_req.py +32 -3
- huaweicloudsdkdrs/v5/model/create_job_response.py +139 -19
- huaweicloudsdkdrs/v5/model/create_offline_task_req.py +182 -0
- huaweicloudsdkdrs/v5/model/create_replication_job_request.py +140 -0
- huaweicloudsdkdrs/v5/model/create_replication_job_response.py +116 -0
- huaweicloudsdkdrs/v5/model/data_process_info.py +32 -3
- huaweicloudsdkdrs/v5/model/db_object_filtering_result.py +148 -3
- huaweicloudsdkdrs/v5/model/ddl_alarm_resp.py +311 -0
- huaweicloudsdkdrs/v5/model/delete_connection_request.py +143 -0
- huaweicloudsdkdrs/v5/model/delete_connection_response.py +116 -0
- huaweicloudsdkdrs/v5/model/delete_replication_job_request.py +143 -0
- huaweicloudsdkdrs/v5/model/delete_replication_job_response.py +116 -0
- huaweicloudsdkdrs/v5/model/delete_user_driver_req.py +142 -0
- huaweicloudsdkdrs/v5/model/delete_user_jdbc_driver_request.py +140 -0
- huaweicloudsdkdrs/v5/model/delete_user_jdbc_driver_response.py +116 -0
- huaweicloudsdkdrs/v5/model/download_db_object_template_request.py +3 -3
- huaweicloudsdkdrs/v5/model/failed_to_bind_eip_child_info.py +144 -0
- huaweicloudsdkdrs/v5/model/health_compare_job.py +9 -9
- huaweicloudsdkdrs/v5/model/job_base_info.py +35 -6
- huaweicloudsdkdrs/v5/model/job_detail_resp.py +122 -6
- huaweicloudsdkdrs/v5/model/job_endpoint_info.py +3 -3
- huaweicloudsdkdrs/v5/model/job_list_resp.py +3 -3
- huaweicloudsdkdrs/v5/model/job_node_vpc_info.py +3 -3
- huaweicloudsdkdrs/v5/model/list_connections_request.py +492 -0
- huaweicloudsdkdrs/v5/model/list_connections_response.py +145 -0
- huaweicloudsdkdrs/v5/model/list_job_ddls_request.py +288 -0
- huaweicloudsdkdrs/v5/model/list_job_ddls_response.py +145 -0
- huaweicloudsdkdrs/v5/model/list_replication_jobs_request.py +463 -0
- huaweicloudsdkdrs/v5/model/list_replication_jobs_response.py +145 -0
- huaweicloudsdkdrs/v5/model/list_user_jdbc_drivers_request.py +201 -0
- huaweicloudsdkdrs/v5/model/list_user_jdbc_drivers_response.py +145 -0
- huaweicloudsdkdrs/v5/model/lists_agency_permissions_request.py +201 -0
- huaweicloudsdkdrs/v5/model/lists_agency_permissions_response.py +145 -0
- huaweicloudsdkdrs/v5/model/modify_compare_policy_req.py +288 -0
- huaweicloudsdkdrs/v5/model/modify_connection_request.py +168 -0
- huaweicloudsdkdrs/v5/model/modify_connection_response.py +116 -0
- huaweicloudsdkdrs/v5/model/modify_offline_task_req.py +143 -0
- huaweicloudsdkdrs/v5/model/objects_health_compare_overview_info.py +202 -0
- huaweicloudsdkdrs/v5/model/offline_task_info.py +342 -0
- huaweicloudsdkdrs/v5/model/policy_config.py +32 -3
- huaweicloudsdkdrs/v5/model/public_ip_config.py +170 -0
- huaweicloudsdkdrs/v5/model/replay_config_info.py +282 -0
- huaweicloudsdkdrs/v5/model/replay_error_classification.py +201 -0
- huaweicloudsdkdrs/v5/model/replay_error_sql_resp.py +173 -0
- huaweicloudsdkdrs/v5/model/replay_error_sql_template_resp.py +289 -0
- huaweicloudsdkdrs/v5/model/replay_shard_statics_resp.py +226 -0
- huaweicloudsdkdrs/v5/model/replay_slow_sql_resp.py +202 -0
- huaweicloudsdkdrs/v5/model/replay_slow_sql_template_resp.py +402 -0
- huaweicloudsdkdrs/v5/model/replaying_sql_resp.py +318 -0
- huaweicloudsdkdrs/v5/model/resource_tag.py +3 -3
- huaweicloudsdkdrs/v5/model/show_agency_info_request.py +143 -0
- huaweicloudsdkdrs/v5/model/show_agency_info_response.py +174 -0
- huaweicloudsdkdrs/v5/model/show_compare_policy_response.py +3 -3
- huaweicloudsdkdrs/v5/model/show_data_processing_rules_result_response.py +35 -6
- huaweicloudsdkdrs/v5/model/show_db_object_template_progress_request.py +32 -3
- huaweicloudsdkdrs/v5/model/show_db_object_template_result_request.py +32 -3
- huaweicloudsdkdrs/v5/model/show_health_compare_job_detail_request.py +171 -0
- huaweicloudsdkdrs/v5/model/show_health_compare_job_detail_response.py +261 -0
- huaweicloudsdkdrs/v5/model/show_health_object_compare_job_overview_request.py +171 -0
- huaweicloudsdkdrs/v5/model/show_health_object_compare_job_overview_response.py +116 -0
- huaweicloudsdkdrs/v5/model/show_job_detail_request.py +3 -3
- huaweicloudsdkdrs/v5/model/show_position_result_response.py +32 -3
- huaweicloudsdkdrs/v5/model/show_replay_results_request.py +461 -0
- huaweicloudsdkdrs/v5/model/show_replay_results_response.py +319 -0
- huaweicloudsdkdrs/v5/model/show_replication_job_request.py +143 -0
- huaweicloudsdkdrs/v5/model/show_replication_job_response.py +390 -0
- huaweicloudsdkdrs/v5/model/show_support_object_type_response.py +32 -3
- huaweicloudsdkdrs/v5/model/show_update_object_saving_status_response.py +35 -6
- huaweicloudsdkdrs/v5/model/sync_user_jdbc_driver_request.py +168 -0
- huaweicloudsdkdrs/v5/model/sync_user_jdbc_driver_response.py +116 -0
- huaweicloudsdkdrs/v5/model/to_period_req.py +198 -0
- huaweicloudsdkdrs/v5/model/update_agency_policy_request.py +168 -0
- huaweicloudsdkdrs/v5/model/update_agency_policy_request_body.py +142 -0
- huaweicloudsdkdrs/v5/model/update_agency_policy_response.py +116 -0
- huaweicloudsdkdrs/v5/model/update_compare_policy_request.py +168 -0
- huaweicloudsdkdrs/v5/model/update_compare_policy_response.py +116 -0
- huaweicloudsdkdrs/v5/model/update_connection_req.py +327 -0
- huaweicloudsdkdrs/v5/model/update_data_progress_response.py +35 -6
- huaweicloudsdkdrs/v5/model/update_job_req.py +3 -3
- huaweicloudsdkdrs/v5/model/update_replication_job_request.py +168 -0
- huaweicloudsdkdrs/v5/model/update_replication_job_response.py +116 -0
- huaweicloudsdkdrs/v5/model/update_user_driver_req.py +142 -0
- huaweicloudsdkdrs/v5/model/upload_db_object_template_request.py +3 -3
- huaweicloudsdkdrs/v5/model/upload_jdbc_driver_request_body.py +3 -3
- huaweicloudsdkdrs/v5/model/upload_user_jdbc_driver_request.py +168 -0
- huaweicloudsdkdrs/v5/model/upload_user_jdbc_driver_request_body.py +114 -0
- huaweicloudsdkdrs/v5/model/upload_user_jdbc_driver_response.py +116 -0
- huaweicloudsdkdrs/v5/region/drs_region.py +15 -0
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/RECORD +191 -63
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/WHEEL +1 -1
- huaweicloudsdkdrs/v5/model/create_job_resp.py +0 -227
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,390 @@
|
|
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 ShowReplicationJobResponse(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
|
+
'id': 'str',
|
22
|
+
'status': 'str',
|
23
|
+
'create_time': 'str',
|
24
|
+
'finish_time': 'str',
|
25
|
+
'backup_info': 'BackupInfoResp',
|
26
|
+
'base_info': 'BackupJobBaseInfo',
|
27
|
+
'target_db_info': 'BackupJobEndpointInfo',
|
28
|
+
'options': 'BackupRestoreOptionInfo',
|
29
|
+
'new_db_names': 'str',
|
30
|
+
'instance_name': 'str',
|
31
|
+
'error_log': 'str'
|
32
|
+
}
|
33
|
+
|
34
|
+
attribute_map = {
|
35
|
+
'id': 'id',
|
36
|
+
'status': 'status',
|
37
|
+
'create_time': 'create_time',
|
38
|
+
'finish_time': 'finish_time',
|
39
|
+
'backup_info': 'backup_info',
|
40
|
+
'base_info': 'base_info',
|
41
|
+
'target_db_info': 'target_db_info',
|
42
|
+
'options': 'options',
|
43
|
+
'new_db_names': 'new_db_names',
|
44
|
+
'instance_name': 'instance_name',
|
45
|
+
'error_log': 'error_log'
|
46
|
+
}
|
47
|
+
|
48
|
+
def __init__(self, id=None, status=None, create_time=None, finish_time=None, backup_info=None, base_info=None, target_db_info=None, options=None, new_db_names=None, instance_name=None, error_log=None):
|
49
|
+
"""ShowReplicationJobResponse
|
50
|
+
|
51
|
+
The model defined in huaweicloud sdk
|
52
|
+
|
53
|
+
:param id: 任务ID。
|
54
|
+
:type id: str
|
55
|
+
:param status: 任务状态。
|
56
|
+
:type status: str
|
57
|
+
:param create_time: 任务创建时间。
|
58
|
+
:type create_time: str
|
59
|
+
:param finish_time: 任务完成时间。
|
60
|
+
:type finish_time: str
|
61
|
+
:param backup_info:
|
62
|
+
:type backup_info: :class:`huaweicloudsdkdrs.v5.BackupInfoResp`
|
63
|
+
:param base_info:
|
64
|
+
:type base_info: :class:`huaweicloudsdkdrs.v5.BackupJobBaseInfo`
|
65
|
+
:param target_db_info:
|
66
|
+
:type target_db_info: :class:`huaweicloudsdkdrs.v5.BackupJobEndpointInfo`
|
67
|
+
:param options:
|
68
|
+
:type options: :class:`huaweicloudsdkdrs.v5.BackupRestoreOptionInfo`
|
69
|
+
:param new_db_names: 备份恢复数据库映射新名称。
|
70
|
+
:type new_db_names: str
|
71
|
+
:param instance_name: RDS实例名称。
|
72
|
+
:type instance_name: str
|
73
|
+
:param error_log: 迁移过程中失败原因。
|
74
|
+
:type error_log: str
|
75
|
+
"""
|
76
|
+
|
77
|
+
super(ShowReplicationJobResponse, self).__init__()
|
78
|
+
|
79
|
+
self._id = None
|
80
|
+
self._status = None
|
81
|
+
self._create_time = None
|
82
|
+
self._finish_time = None
|
83
|
+
self._backup_info = None
|
84
|
+
self._base_info = None
|
85
|
+
self._target_db_info = None
|
86
|
+
self._options = None
|
87
|
+
self._new_db_names = None
|
88
|
+
self._instance_name = None
|
89
|
+
self._error_log = None
|
90
|
+
self.discriminator = None
|
91
|
+
|
92
|
+
if id is not None:
|
93
|
+
self.id = id
|
94
|
+
if status is not None:
|
95
|
+
self.status = status
|
96
|
+
if create_time is not None:
|
97
|
+
self.create_time = create_time
|
98
|
+
if finish_time is not None:
|
99
|
+
self.finish_time = finish_time
|
100
|
+
if backup_info is not None:
|
101
|
+
self.backup_info = backup_info
|
102
|
+
if base_info is not None:
|
103
|
+
self.base_info = base_info
|
104
|
+
if target_db_info is not None:
|
105
|
+
self.target_db_info = target_db_info
|
106
|
+
if options is not None:
|
107
|
+
self.options = options
|
108
|
+
if new_db_names is not None:
|
109
|
+
self.new_db_names = new_db_names
|
110
|
+
if instance_name is not None:
|
111
|
+
self.instance_name = instance_name
|
112
|
+
if error_log is not None:
|
113
|
+
self.error_log = error_log
|
114
|
+
|
115
|
+
@property
|
116
|
+
def id(self):
|
117
|
+
"""Gets the id of this ShowReplicationJobResponse.
|
118
|
+
|
119
|
+
任务ID。
|
120
|
+
|
121
|
+
:return: The id of this ShowReplicationJobResponse.
|
122
|
+
:rtype: str
|
123
|
+
"""
|
124
|
+
return self._id
|
125
|
+
|
126
|
+
@id.setter
|
127
|
+
def id(self, id):
|
128
|
+
"""Sets the id of this ShowReplicationJobResponse.
|
129
|
+
|
130
|
+
任务ID。
|
131
|
+
|
132
|
+
:param id: The id of this ShowReplicationJobResponse.
|
133
|
+
:type id: str
|
134
|
+
"""
|
135
|
+
self._id = id
|
136
|
+
|
137
|
+
@property
|
138
|
+
def status(self):
|
139
|
+
"""Gets the status of this ShowReplicationJobResponse.
|
140
|
+
|
141
|
+
任务状态。
|
142
|
+
|
143
|
+
:return: The status of this ShowReplicationJobResponse.
|
144
|
+
:rtype: str
|
145
|
+
"""
|
146
|
+
return self._status
|
147
|
+
|
148
|
+
@status.setter
|
149
|
+
def status(self, status):
|
150
|
+
"""Sets the status of this ShowReplicationJobResponse.
|
151
|
+
|
152
|
+
任务状态。
|
153
|
+
|
154
|
+
:param status: The status of this ShowReplicationJobResponse.
|
155
|
+
:type status: str
|
156
|
+
"""
|
157
|
+
self._status = status
|
158
|
+
|
159
|
+
@property
|
160
|
+
def create_time(self):
|
161
|
+
"""Gets the create_time of this ShowReplicationJobResponse.
|
162
|
+
|
163
|
+
任务创建时间。
|
164
|
+
|
165
|
+
:return: The create_time of this ShowReplicationJobResponse.
|
166
|
+
:rtype: str
|
167
|
+
"""
|
168
|
+
return self._create_time
|
169
|
+
|
170
|
+
@create_time.setter
|
171
|
+
def create_time(self, create_time):
|
172
|
+
"""Sets the create_time of this ShowReplicationJobResponse.
|
173
|
+
|
174
|
+
任务创建时间。
|
175
|
+
|
176
|
+
:param create_time: The create_time of this ShowReplicationJobResponse.
|
177
|
+
:type create_time: str
|
178
|
+
"""
|
179
|
+
self._create_time = create_time
|
180
|
+
|
181
|
+
@property
|
182
|
+
def finish_time(self):
|
183
|
+
"""Gets the finish_time of this ShowReplicationJobResponse.
|
184
|
+
|
185
|
+
任务完成时间。
|
186
|
+
|
187
|
+
:return: The finish_time of this ShowReplicationJobResponse.
|
188
|
+
:rtype: str
|
189
|
+
"""
|
190
|
+
return self._finish_time
|
191
|
+
|
192
|
+
@finish_time.setter
|
193
|
+
def finish_time(self, finish_time):
|
194
|
+
"""Sets the finish_time of this ShowReplicationJobResponse.
|
195
|
+
|
196
|
+
任务完成时间。
|
197
|
+
|
198
|
+
:param finish_time: The finish_time of this ShowReplicationJobResponse.
|
199
|
+
:type finish_time: str
|
200
|
+
"""
|
201
|
+
self._finish_time = finish_time
|
202
|
+
|
203
|
+
@property
|
204
|
+
def backup_info(self):
|
205
|
+
"""Gets the backup_info of this ShowReplicationJobResponse.
|
206
|
+
|
207
|
+
:return: The backup_info of this ShowReplicationJobResponse.
|
208
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.BackupInfoResp`
|
209
|
+
"""
|
210
|
+
return self._backup_info
|
211
|
+
|
212
|
+
@backup_info.setter
|
213
|
+
def backup_info(self, backup_info):
|
214
|
+
"""Sets the backup_info of this ShowReplicationJobResponse.
|
215
|
+
|
216
|
+
:param backup_info: The backup_info of this ShowReplicationJobResponse.
|
217
|
+
:type backup_info: :class:`huaweicloudsdkdrs.v5.BackupInfoResp`
|
218
|
+
"""
|
219
|
+
self._backup_info = backup_info
|
220
|
+
|
221
|
+
@property
|
222
|
+
def base_info(self):
|
223
|
+
"""Gets the base_info of this ShowReplicationJobResponse.
|
224
|
+
|
225
|
+
:return: The base_info of this ShowReplicationJobResponse.
|
226
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.BackupJobBaseInfo`
|
227
|
+
"""
|
228
|
+
return self._base_info
|
229
|
+
|
230
|
+
@base_info.setter
|
231
|
+
def base_info(self, base_info):
|
232
|
+
"""Sets the base_info of this ShowReplicationJobResponse.
|
233
|
+
|
234
|
+
:param base_info: The base_info of this ShowReplicationJobResponse.
|
235
|
+
:type base_info: :class:`huaweicloudsdkdrs.v5.BackupJobBaseInfo`
|
236
|
+
"""
|
237
|
+
self._base_info = base_info
|
238
|
+
|
239
|
+
@property
|
240
|
+
def target_db_info(self):
|
241
|
+
"""Gets the target_db_info of this ShowReplicationJobResponse.
|
242
|
+
|
243
|
+
:return: The target_db_info of this ShowReplicationJobResponse.
|
244
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.BackupJobEndpointInfo`
|
245
|
+
"""
|
246
|
+
return self._target_db_info
|
247
|
+
|
248
|
+
@target_db_info.setter
|
249
|
+
def target_db_info(self, target_db_info):
|
250
|
+
"""Sets the target_db_info of this ShowReplicationJobResponse.
|
251
|
+
|
252
|
+
:param target_db_info: The target_db_info of this ShowReplicationJobResponse.
|
253
|
+
:type target_db_info: :class:`huaweicloudsdkdrs.v5.BackupJobEndpointInfo`
|
254
|
+
"""
|
255
|
+
self._target_db_info = target_db_info
|
256
|
+
|
257
|
+
@property
|
258
|
+
def options(self):
|
259
|
+
"""Gets the options of this ShowReplicationJobResponse.
|
260
|
+
|
261
|
+
:return: The options of this ShowReplicationJobResponse.
|
262
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.BackupRestoreOptionInfo`
|
263
|
+
"""
|
264
|
+
return self._options
|
265
|
+
|
266
|
+
@options.setter
|
267
|
+
def options(self, options):
|
268
|
+
"""Sets the options of this ShowReplicationJobResponse.
|
269
|
+
|
270
|
+
:param options: The options of this ShowReplicationJobResponse.
|
271
|
+
:type options: :class:`huaweicloudsdkdrs.v5.BackupRestoreOptionInfo`
|
272
|
+
"""
|
273
|
+
self._options = options
|
274
|
+
|
275
|
+
@property
|
276
|
+
def new_db_names(self):
|
277
|
+
"""Gets the new_db_names of this ShowReplicationJobResponse.
|
278
|
+
|
279
|
+
备份恢复数据库映射新名称。
|
280
|
+
|
281
|
+
:return: The new_db_names of this ShowReplicationJobResponse.
|
282
|
+
:rtype: str
|
283
|
+
"""
|
284
|
+
return self._new_db_names
|
285
|
+
|
286
|
+
@new_db_names.setter
|
287
|
+
def new_db_names(self, new_db_names):
|
288
|
+
"""Sets the new_db_names of this ShowReplicationJobResponse.
|
289
|
+
|
290
|
+
备份恢复数据库映射新名称。
|
291
|
+
|
292
|
+
:param new_db_names: The new_db_names of this ShowReplicationJobResponse.
|
293
|
+
:type new_db_names: str
|
294
|
+
"""
|
295
|
+
self._new_db_names = new_db_names
|
296
|
+
|
297
|
+
@property
|
298
|
+
def instance_name(self):
|
299
|
+
"""Gets the instance_name of this ShowReplicationJobResponse.
|
300
|
+
|
301
|
+
RDS实例名称。
|
302
|
+
|
303
|
+
:return: The instance_name of this ShowReplicationJobResponse.
|
304
|
+
:rtype: str
|
305
|
+
"""
|
306
|
+
return self._instance_name
|
307
|
+
|
308
|
+
@instance_name.setter
|
309
|
+
def instance_name(self, instance_name):
|
310
|
+
"""Sets the instance_name of this ShowReplicationJobResponse.
|
311
|
+
|
312
|
+
RDS实例名称。
|
313
|
+
|
314
|
+
:param instance_name: The instance_name of this ShowReplicationJobResponse.
|
315
|
+
:type instance_name: str
|
316
|
+
"""
|
317
|
+
self._instance_name = instance_name
|
318
|
+
|
319
|
+
@property
|
320
|
+
def error_log(self):
|
321
|
+
"""Gets the error_log of this ShowReplicationJobResponse.
|
322
|
+
|
323
|
+
迁移过程中失败原因。
|
324
|
+
|
325
|
+
:return: The error_log of this ShowReplicationJobResponse.
|
326
|
+
:rtype: str
|
327
|
+
"""
|
328
|
+
return self._error_log
|
329
|
+
|
330
|
+
@error_log.setter
|
331
|
+
def error_log(self, error_log):
|
332
|
+
"""Sets the error_log of this ShowReplicationJobResponse.
|
333
|
+
|
334
|
+
迁移过程中失败原因。
|
335
|
+
|
336
|
+
:param error_log: The error_log of this ShowReplicationJobResponse.
|
337
|
+
:type error_log: str
|
338
|
+
"""
|
339
|
+
self._error_log = error_log
|
340
|
+
|
341
|
+
def to_dict(self):
|
342
|
+
"""Returns the model properties as a dict"""
|
343
|
+
result = {}
|
344
|
+
|
345
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
346
|
+
value = getattr(self, attr)
|
347
|
+
if isinstance(value, list):
|
348
|
+
result[attr] = list(map(
|
349
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
350
|
+
value
|
351
|
+
))
|
352
|
+
elif hasattr(value, "to_dict"):
|
353
|
+
result[attr] = value.to_dict()
|
354
|
+
elif isinstance(value, dict):
|
355
|
+
result[attr] = dict(map(
|
356
|
+
lambda item: (item[0], item[1].to_dict())
|
357
|
+
if hasattr(item[1], "to_dict") else item,
|
358
|
+
value.items()
|
359
|
+
))
|
360
|
+
else:
|
361
|
+
if attr in self.sensitive_list:
|
362
|
+
result[attr] = "****"
|
363
|
+
else:
|
364
|
+
result[attr] = value
|
365
|
+
|
366
|
+
return result
|
367
|
+
|
368
|
+
def to_str(self):
|
369
|
+
"""Returns the string representation of the model"""
|
370
|
+
import simplejson as json
|
371
|
+
if six.PY2:
|
372
|
+
import sys
|
373
|
+
reload(sys)
|
374
|
+
sys.setdefaultencoding("utf-8")
|
375
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
376
|
+
|
377
|
+
def __repr__(self):
|
378
|
+
"""For `print`"""
|
379
|
+
return self.to_str()
|
380
|
+
|
381
|
+
def __eq__(self, other):
|
382
|
+
"""Returns true if both objects are equal"""
|
383
|
+
if not isinstance(other, ShowReplicationJobResponse):
|
384
|
+
return False
|
385
|
+
|
386
|
+
return self.__dict__ == other.__dict__
|
387
|
+
|
388
|
+
def __ne__(self, other):
|
389
|
+
"""Returns true if both objects are not equal"""
|
390
|
+
return not self == other
|
@@ -28,7 +28,8 @@ class ShowSupportObjectTypeResponse(SdkResponse):
|
|
28
28
|
'is_table_support_search': 'bool',
|
29
29
|
'file_size': 'str',
|
30
30
|
'previous_select': 'str',
|
31
|
-
'import_level': 'str'
|
31
|
+
'import_level': 'str',
|
32
|
+
'is_import_cloumn': 'bool'
|
32
33
|
}
|
33
34
|
|
34
35
|
attribute_map = {
|
@@ -42,10 +43,11 @@ class ShowSupportObjectTypeResponse(SdkResponse):
|
|
42
43
|
'is_table_support_search': 'is_table_support_search',
|
43
44
|
'file_size': 'file_size',
|
44
45
|
'previous_select': 'previous_select',
|
45
|
-
'import_level': 'import_level'
|
46
|
+
'import_level': 'import_level',
|
47
|
+
'is_import_cloumn': 'is_import_cloumn'
|
46
48
|
}
|
47
49
|
|
48
|
-
def __init__(self, is_full_trans_support_object=None, is_incre_trans_support_object=None, is_full_incre_trans_support_object=None, support_object_import_engine=None, is_support_column_mapping=None, is_database_support_search=None, is_schema_support_search=None, is_table_support_search=None, file_size=None, previous_select=None, import_level=None):
|
50
|
+
def __init__(self, is_full_trans_support_object=None, is_incre_trans_support_object=None, is_full_incre_trans_support_object=None, support_object_import_engine=None, is_support_column_mapping=None, is_database_support_search=None, is_schema_support_search=None, is_table_support_search=None, file_size=None, previous_select=None, import_level=None, is_import_cloumn=None):
|
49
51
|
"""ShowSupportObjectTypeResponse
|
50
52
|
|
51
53
|
The model defined in huaweicloud sdk
|
@@ -72,6 +74,8 @@ class ShowSupportObjectTypeResponse(SdkResponse):
|
|
72
74
|
:type previous_select: str
|
73
75
|
:param import_level: 对象导入类型。 - table:表级 - database:库级
|
74
76
|
:type import_level: str
|
77
|
+
:param is_import_cloumn: 取值: - true: 当前任务上次选择列加工方式为导入方式 - false 或者 空:当前任务上次选择列加工方式为手动选择方式
|
78
|
+
:type is_import_cloumn: bool
|
75
79
|
"""
|
76
80
|
|
77
81
|
super(ShowSupportObjectTypeResponse, self).__init__()
|
@@ -87,6 +91,7 @@ class ShowSupportObjectTypeResponse(SdkResponse):
|
|
87
91
|
self._file_size = None
|
88
92
|
self._previous_select = None
|
89
93
|
self._import_level = None
|
94
|
+
self._is_import_cloumn = None
|
90
95
|
self.discriminator = None
|
91
96
|
|
92
97
|
if is_full_trans_support_object is not None:
|
@@ -111,6 +116,8 @@ class ShowSupportObjectTypeResponse(SdkResponse):
|
|
111
116
|
self.previous_select = previous_select
|
112
117
|
if import_level is not None:
|
113
118
|
self.import_level = import_level
|
119
|
+
if is_import_cloumn is not None:
|
120
|
+
self.is_import_cloumn = is_import_cloumn
|
114
121
|
|
115
122
|
@property
|
116
123
|
def is_full_trans_support_object(self):
|
@@ -354,6 +361,28 @@ class ShowSupportObjectTypeResponse(SdkResponse):
|
|
354
361
|
"""
|
355
362
|
self._import_level = import_level
|
356
363
|
|
364
|
+
@property
|
365
|
+
def is_import_cloumn(self):
|
366
|
+
"""Gets the is_import_cloumn of this ShowSupportObjectTypeResponse.
|
367
|
+
|
368
|
+
取值: - true: 当前任务上次选择列加工方式为导入方式 - false 或者 空:当前任务上次选择列加工方式为手动选择方式
|
369
|
+
|
370
|
+
:return: The is_import_cloumn of this ShowSupportObjectTypeResponse.
|
371
|
+
:rtype: bool
|
372
|
+
"""
|
373
|
+
return self._is_import_cloumn
|
374
|
+
|
375
|
+
@is_import_cloumn.setter
|
376
|
+
def is_import_cloumn(self, is_import_cloumn):
|
377
|
+
"""Sets the is_import_cloumn of this ShowSupportObjectTypeResponse.
|
378
|
+
|
379
|
+
取值: - true: 当前任务上次选择列加工方式为导入方式 - false 或者 空:当前任务上次选择列加工方式为手动选择方式
|
380
|
+
|
381
|
+
:param is_import_cloumn: The is_import_cloumn of this ShowSupportObjectTypeResponse.
|
382
|
+
:type is_import_cloumn: bool
|
383
|
+
"""
|
384
|
+
self._is_import_cloumn = is_import_cloumn
|
385
|
+
|
357
386
|
def to_dict(self):
|
358
387
|
"""Returns the model properties as a dict"""
|
359
388
|
result = {}
|
@@ -19,35 +19,42 @@ class ShowUpdateObjectSavingStatusResponse(SdkResponse):
|
|
19
19
|
|
20
20
|
openapi_types = {
|
21
21
|
'id': 'str',
|
22
|
-
'status': 'str'
|
22
|
+
'status': 'str',
|
23
|
+
'job_id': 'str'
|
23
24
|
}
|
24
25
|
|
25
26
|
attribute_map = {
|
26
27
|
'id': 'id',
|
27
|
-
'status': 'status'
|
28
|
+
'status': 'status',
|
29
|
+
'job_id': 'job_id'
|
28
30
|
}
|
29
31
|
|
30
|
-
def __init__(self, id=None, status=None):
|
32
|
+
def __init__(self, id=None, status=None, job_id=None):
|
31
33
|
"""ShowUpdateObjectSavingStatusResponse
|
32
34
|
|
33
35
|
The model defined in huaweicloud sdk
|
34
36
|
|
35
37
|
:param id: 查询结果id
|
36
38
|
:type id: str
|
37
|
-
:param status: 查询状态
|
39
|
+
:param status: 查询状态 pending:处理中 failed:失败 success:成功
|
38
40
|
:type status: str
|
41
|
+
:param job_id: 任务ID
|
42
|
+
:type job_id: str
|
39
43
|
"""
|
40
44
|
|
41
45
|
super(ShowUpdateObjectSavingStatusResponse, self).__init__()
|
42
46
|
|
43
47
|
self._id = None
|
44
48
|
self._status = None
|
49
|
+
self._job_id = None
|
45
50
|
self.discriminator = None
|
46
51
|
|
47
52
|
if id is not None:
|
48
53
|
self.id = id
|
49
54
|
if status is not None:
|
50
55
|
self.status = status
|
56
|
+
if job_id is not None:
|
57
|
+
self.job_id = job_id
|
51
58
|
|
52
59
|
@property
|
53
60
|
def id(self):
|
@@ -75,7 +82,7 @@ class ShowUpdateObjectSavingStatusResponse(SdkResponse):
|
|
75
82
|
def status(self):
|
76
83
|
"""Gets the status of this ShowUpdateObjectSavingStatusResponse.
|
77
84
|
|
78
|
-
查询状态
|
85
|
+
查询状态 pending:处理中 failed:失败 success:成功
|
79
86
|
|
80
87
|
:return: The status of this ShowUpdateObjectSavingStatusResponse.
|
81
88
|
:rtype: str
|
@@ -86,13 +93,35 @@ class ShowUpdateObjectSavingStatusResponse(SdkResponse):
|
|
86
93
|
def status(self, status):
|
87
94
|
"""Sets the status of this ShowUpdateObjectSavingStatusResponse.
|
88
95
|
|
89
|
-
查询状态
|
96
|
+
查询状态 pending:处理中 failed:失败 success:成功
|
90
97
|
|
91
98
|
:param status: The status of this ShowUpdateObjectSavingStatusResponse.
|
92
99
|
:type status: str
|
93
100
|
"""
|
94
101
|
self._status = status
|
95
102
|
|
103
|
+
@property
|
104
|
+
def job_id(self):
|
105
|
+
"""Gets the job_id of this ShowUpdateObjectSavingStatusResponse.
|
106
|
+
|
107
|
+
任务ID
|
108
|
+
|
109
|
+
:return: The job_id of this ShowUpdateObjectSavingStatusResponse.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._job_id
|
113
|
+
|
114
|
+
@job_id.setter
|
115
|
+
def job_id(self, job_id):
|
116
|
+
"""Sets the job_id of this ShowUpdateObjectSavingStatusResponse.
|
117
|
+
|
118
|
+
任务ID
|
119
|
+
|
120
|
+
:param job_id: The job_id of this ShowUpdateObjectSavingStatusResponse.
|
121
|
+
:type job_id: str
|
122
|
+
"""
|
123
|
+
self._job_id = job_id
|
124
|
+
|
96
125
|
def to_dict(self):
|
97
126
|
"""Returns the model properties as a dict"""
|
98
127
|
result = {}
|