huaweicloudsdkdrs 3.1.156__py2.py3-none-any.whl → 3.1.158__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/model/data_compare_overview_info.py +119 -3
- huaweicloudsdkdrs/v3/model/node_content_compare_detail_result.py +119 -3
- huaweicloudsdkdrs/v3/model/node_content_compare_overview_result.py +119 -3
- huaweicloudsdkdrs/v3/model/query_job_resp.py +3 -3
- huaweicloudsdkdrs/v5/__init__.py +11 -0
- huaweicloudsdkdrs/v5/drs_async_client.py +274 -0
- huaweicloudsdkdrs/v5/drs_client.py +274 -0
- huaweicloudsdkdrs/v5/model/__init__.py +11 -0
- huaweicloudsdkdrs/v5/model/download_batch_create_template_request.py +32 -3
- huaweicloudsdkdrs/v5/model/download_create_template_request.py +140 -0
- huaweicloudsdkdrs/v5/model/download_create_template_response.py +85 -0
- huaweicloudsdkdrs/v5/model/export_creation_template_request.py +140 -0
- huaweicloudsdkdrs/v5/model/export_creation_template_response.py +145 -0
- huaweicloudsdkdrs/v5/model/export_files_req.py +114 -0
- huaweicloudsdkdrs/v5/model/export_jobs_template_req.py +114 -0
- huaweicloudsdkdrs/v5/model/export_report_obs_file_resp_export_report_obs_files.py +144 -0
- huaweicloudsdkdrs/v5/model/import_batch_create_jobs_request_body.py +32 -3
- huaweicloudsdkdrs/v5/model/list_templates_request.py +173 -0
- huaweicloudsdkdrs/v5/model/list_templates_response.py +145 -0
- huaweicloudsdkdrs/v5/model/show_export_progress_request.py +143 -0
- huaweicloudsdkdrs/v5/model/show_export_progress_response.py +116 -0
- {huaweicloudsdkdrs-3.1.156.dist-info → huaweicloudsdkdrs-3.1.158.dist-info}/METADATA +2 -2
- {huaweicloudsdkdrs-3.1.156.dist-info → huaweicloudsdkdrs-3.1.158.dist-info}/RECORD +26 -15
- {huaweicloudsdkdrs-3.1.156.dist-info → huaweicloudsdkdrs-3.1.158.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdrs-3.1.156.dist-info → huaweicloudsdkdrs-3.1.158.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdrs-3.1.156.dist-info → huaweicloudsdkdrs-3.1.158.dist-info}/top_level.txt +0 -0
@@ -19,16 +19,24 @@ class DataCompareOverviewInfo:
|
|
19
19
|
openapi_types = {
|
20
20
|
'source_db_name': 'str',
|
21
21
|
'target_db_name': 'str',
|
22
|
-
'status': 'int'
|
22
|
+
'status': 'int',
|
23
|
+
'compare_num': 'int',
|
24
|
+
'compare_end_num': 'int',
|
25
|
+
'data_inconsistent_num': 'int',
|
26
|
+
'uncomparable_num': 'int'
|
23
27
|
}
|
24
28
|
|
25
29
|
attribute_map = {
|
26
30
|
'source_db_name': 'source_db_name',
|
27
31
|
'target_db_name': 'target_db_name',
|
28
|
-
'status': 'status'
|
32
|
+
'status': 'status',
|
33
|
+
'compare_num': 'compare_num',
|
34
|
+
'compare_end_num': 'compare_end_num',
|
35
|
+
'data_inconsistent_num': 'data_inconsistent_num',
|
36
|
+
'uncomparable_num': 'uncomparable_num'
|
29
37
|
}
|
30
38
|
|
31
|
-
def __init__(self, source_db_name=None, target_db_name=None, status=None):
|
39
|
+
def __init__(self, source_db_name=None, target_db_name=None, status=None, compare_num=None, compare_end_num=None, data_inconsistent_num=None, uncomparable_num=None):
|
32
40
|
r"""DataCompareOverviewInfo
|
33
41
|
|
34
42
|
The model defined in huaweicloud sdk
|
@@ -39,6 +47,14 @@ class DataCompareOverviewInfo:
|
|
39
47
|
:type target_db_name: str
|
40
48
|
:param status: 对比状态。 - 0:对比不一致 - 2:对比一致 - 3:目标库表不存在 - 4:对比失败 - 5:正在对比中 - 6:等待对比中 - 7:任务已取消 - 8:源库为空 - 9:目标库为空 - 10:源库和目标库都为空 - 11:源表不存在 - 12:目标表不存在 - 13:原表和目标表都不存在 - 14:源数据库连接失败 - 15:目标库数据库连接失败 - 16:源数据库执行SQL超时 - 17:目标数据库执行SQL超时 - 18:源数据库执行SQL错误 - 19:目标数据库执行SQL错误 - 20:源库和目标库都不存在 - 21:源库不存在 - 22:目标库不存在 - 23:行数为亿行,未进行对比 - 27:超时
|
41
49
|
:type status: int
|
50
|
+
:param compare_num: 总表数。
|
51
|
+
:type compare_num: int
|
52
|
+
:param compare_end_num: 已完成表数。
|
53
|
+
:type compare_end_num: int
|
54
|
+
:param data_inconsistent_num: 不一致表数。
|
55
|
+
:type data_inconsistent_num: int
|
56
|
+
:param uncomparable_num: 无法对比表数。
|
57
|
+
:type uncomparable_num: int
|
42
58
|
"""
|
43
59
|
|
44
60
|
|
@@ -46,6 +62,10 @@ class DataCompareOverviewInfo:
|
|
46
62
|
self._source_db_name = None
|
47
63
|
self._target_db_name = None
|
48
64
|
self._status = None
|
65
|
+
self._compare_num = None
|
66
|
+
self._compare_end_num = None
|
67
|
+
self._data_inconsistent_num = None
|
68
|
+
self._uncomparable_num = None
|
49
69
|
self.discriminator = None
|
50
70
|
|
51
71
|
if source_db_name is not None:
|
@@ -54,6 +74,14 @@ class DataCompareOverviewInfo:
|
|
54
74
|
self.target_db_name = target_db_name
|
55
75
|
if status is not None:
|
56
76
|
self.status = status
|
77
|
+
if compare_num is not None:
|
78
|
+
self.compare_num = compare_num
|
79
|
+
if compare_end_num is not None:
|
80
|
+
self.compare_end_num = compare_end_num
|
81
|
+
if data_inconsistent_num is not None:
|
82
|
+
self.data_inconsistent_num = data_inconsistent_num
|
83
|
+
if uncomparable_num is not None:
|
84
|
+
self.uncomparable_num = uncomparable_num
|
57
85
|
|
58
86
|
@property
|
59
87
|
def source_db_name(self):
|
@@ -121,6 +149,94 @@ class DataCompareOverviewInfo:
|
|
121
149
|
"""
|
122
150
|
self._status = status
|
123
151
|
|
152
|
+
@property
|
153
|
+
def compare_num(self):
|
154
|
+
r"""Gets the compare_num of this DataCompareOverviewInfo.
|
155
|
+
|
156
|
+
总表数。
|
157
|
+
|
158
|
+
:return: The compare_num of this DataCompareOverviewInfo.
|
159
|
+
:rtype: int
|
160
|
+
"""
|
161
|
+
return self._compare_num
|
162
|
+
|
163
|
+
@compare_num.setter
|
164
|
+
def compare_num(self, compare_num):
|
165
|
+
r"""Sets the compare_num of this DataCompareOverviewInfo.
|
166
|
+
|
167
|
+
总表数。
|
168
|
+
|
169
|
+
:param compare_num: The compare_num of this DataCompareOverviewInfo.
|
170
|
+
:type compare_num: int
|
171
|
+
"""
|
172
|
+
self._compare_num = compare_num
|
173
|
+
|
174
|
+
@property
|
175
|
+
def compare_end_num(self):
|
176
|
+
r"""Gets the compare_end_num of this DataCompareOverviewInfo.
|
177
|
+
|
178
|
+
已完成表数。
|
179
|
+
|
180
|
+
:return: The compare_end_num of this DataCompareOverviewInfo.
|
181
|
+
:rtype: int
|
182
|
+
"""
|
183
|
+
return self._compare_end_num
|
184
|
+
|
185
|
+
@compare_end_num.setter
|
186
|
+
def compare_end_num(self, compare_end_num):
|
187
|
+
r"""Sets the compare_end_num of this DataCompareOverviewInfo.
|
188
|
+
|
189
|
+
已完成表数。
|
190
|
+
|
191
|
+
:param compare_end_num: The compare_end_num of this DataCompareOverviewInfo.
|
192
|
+
:type compare_end_num: int
|
193
|
+
"""
|
194
|
+
self._compare_end_num = compare_end_num
|
195
|
+
|
196
|
+
@property
|
197
|
+
def data_inconsistent_num(self):
|
198
|
+
r"""Gets the data_inconsistent_num of this DataCompareOverviewInfo.
|
199
|
+
|
200
|
+
不一致表数。
|
201
|
+
|
202
|
+
:return: The data_inconsistent_num of this DataCompareOverviewInfo.
|
203
|
+
:rtype: int
|
204
|
+
"""
|
205
|
+
return self._data_inconsistent_num
|
206
|
+
|
207
|
+
@data_inconsistent_num.setter
|
208
|
+
def data_inconsistent_num(self, data_inconsistent_num):
|
209
|
+
r"""Sets the data_inconsistent_num of this DataCompareOverviewInfo.
|
210
|
+
|
211
|
+
不一致表数。
|
212
|
+
|
213
|
+
:param data_inconsistent_num: The data_inconsistent_num of this DataCompareOverviewInfo.
|
214
|
+
:type data_inconsistent_num: int
|
215
|
+
"""
|
216
|
+
self._data_inconsistent_num = data_inconsistent_num
|
217
|
+
|
218
|
+
@property
|
219
|
+
def uncomparable_num(self):
|
220
|
+
r"""Gets the uncomparable_num of this DataCompareOverviewInfo.
|
221
|
+
|
222
|
+
无法对比表数。
|
223
|
+
|
224
|
+
:return: The uncomparable_num of this DataCompareOverviewInfo.
|
225
|
+
:rtype: int
|
226
|
+
"""
|
227
|
+
return self._uncomparable_num
|
228
|
+
|
229
|
+
@uncomparable_num.setter
|
230
|
+
def uncomparable_num(self, uncomparable_num):
|
231
|
+
r"""Sets the uncomparable_num of this DataCompareOverviewInfo.
|
232
|
+
|
233
|
+
无法对比表数。
|
234
|
+
|
235
|
+
:param uncomparable_num: The uncomparable_num of this DataCompareOverviewInfo.
|
236
|
+
:type uncomparable_num: int
|
237
|
+
"""
|
238
|
+
self._uncomparable_num = uncomparable_num
|
239
|
+
|
124
240
|
def to_dict(self):
|
125
241
|
"""Returns the model properties as a dict"""
|
126
242
|
result = {}
|
@@ -27,7 +27,11 @@ class NodeContentCompareDetailResult:
|
|
27
27
|
'line_compare_result': 'bool',
|
28
28
|
'content_compare_result': 'bool',
|
29
29
|
'message': 'str',
|
30
|
-
'compare_line_config_filter': 'str'
|
30
|
+
'compare_line_config_filter': 'str',
|
31
|
+
'status': 'int',
|
32
|
+
'complete_shard_count': 'int',
|
33
|
+
'total_shard_count': 'int',
|
34
|
+
'progress': 'float'
|
31
35
|
}
|
32
36
|
|
33
37
|
attribute_map = {
|
@@ -41,10 +45,14 @@ class NodeContentCompareDetailResult:
|
|
41
45
|
'line_compare_result': 'line_compare_result',
|
42
46
|
'content_compare_result': 'content_compare_result',
|
43
47
|
'message': 'message',
|
44
|
-
'compare_line_config_filter': 'compare_line_config_filter'
|
48
|
+
'compare_line_config_filter': 'compare_line_config_filter',
|
49
|
+
'status': 'status',
|
50
|
+
'complete_shard_count': 'complete_shard_count',
|
51
|
+
'total_shard_count': 'total_shard_count',
|
52
|
+
'progress': 'progress'
|
45
53
|
}
|
46
54
|
|
47
|
-
def __init__(self, source_db=None, target_db=None, source_table_name=None, target_table_name=None, source_row_num=None, target_row_num=None, difference_row_num=None, line_compare_result=None, content_compare_result=None, message=None, compare_line_config_filter=None):
|
55
|
+
def __init__(self, source_db=None, target_db=None, source_table_name=None, target_table_name=None, source_row_num=None, target_row_num=None, difference_row_num=None, line_compare_result=None, content_compare_result=None, message=None, compare_line_config_filter=None, status=None, complete_shard_count=None, total_shard_count=None, progress=None):
|
48
56
|
r"""NodeContentCompareDetailResult
|
49
57
|
|
50
58
|
The model defined in huaweicloud sdk
|
@@ -71,6 +79,14 @@ class NodeContentCompareDetailResult:
|
|
71
79
|
:type message: str
|
72
80
|
:param compare_line_config_filter: 行过滤配置条件
|
73
81
|
:type compare_line_config_filter: str
|
82
|
+
:param status: 全量比对状态。 -1:对比中 -2:已完成 -3:待对比 -4:已取消
|
83
|
+
:type status: int
|
84
|
+
:param complete_shard_count: 已对比分片数。
|
85
|
+
:type complete_shard_count: int
|
86
|
+
:param total_shard_count: 总分片数。
|
87
|
+
:type total_shard_count: int
|
88
|
+
:param progress: 比对进度。
|
89
|
+
:type progress: float
|
74
90
|
"""
|
75
91
|
|
76
92
|
|
@@ -86,6 +102,10 @@ class NodeContentCompareDetailResult:
|
|
86
102
|
self._content_compare_result = None
|
87
103
|
self._message = None
|
88
104
|
self._compare_line_config_filter = None
|
105
|
+
self._status = None
|
106
|
+
self._complete_shard_count = None
|
107
|
+
self._total_shard_count = None
|
108
|
+
self._progress = None
|
89
109
|
self.discriminator = None
|
90
110
|
|
91
111
|
if source_db is not None:
|
@@ -110,6 +130,14 @@ class NodeContentCompareDetailResult:
|
|
110
130
|
self.message = message
|
111
131
|
if compare_line_config_filter is not None:
|
112
132
|
self.compare_line_config_filter = compare_line_config_filter
|
133
|
+
if status is not None:
|
134
|
+
self.status = status
|
135
|
+
if complete_shard_count is not None:
|
136
|
+
self.complete_shard_count = complete_shard_count
|
137
|
+
if total_shard_count is not None:
|
138
|
+
self.total_shard_count = total_shard_count
|
139
|
+
if progress is not None:
|
140
|
+
self.progress = progress
|
113
141
|
|
114
142
|
@property
|
115
143
|
def source_db(self):
|
@@ -353,6 +381,94 @@ class NodeContentCompareDetailResult:
|
|
353
381
|
"""
|
354
382
|
self._compare_line_config_filter = compare_line_config_filter
|
355
383
|
|
384
|
+
@property
|
385
|
+
def status(self):
|
386
|
+
r"""Gets the status of this NodeContentCompareDetailResult.
|
387
|
+
|
388
|
+
全量比对状态。 -1:对比中 -2:已完成 -3:待对比 -4:已取消
|
389
|
+
|
390
|
+
:return: The status of this NodeContentCompareDetailResult.
|
391
|
+
:rtype: int
|
392
|
+
"""
|
393
|
+
return self._status
|
394
|
+
|
395
|
+
@status.setter
|
396
|
+
def status(self, status):
|
397
|
+
r"""Sets the status of this NodeContentCompareDetailResult.
|
398
|
+
|
399
|
+
全量比对状态。 -1:对比中 -2:已完成 -3:待对比 -4:已取消
|
400
|
+
|
401
|
+
:param status: The status of this NodeContentCompareDetailResult.
|
402
|
+
:type status: int
|
403
|
+
"""
|
404
|
+
self._status = status
|
405
|
+
|
406
|
+
@property
|
407
|
+
def complete_shard_count(self):
|
408
|
+
r"""Gets the complete_shard_count of this NodeContentCompareDetailResult.
|
409
|
+
|
410
|
+
已对比分片数。
|
411
|
+
|
412
|
+
:return: The complete_shard_count of this NodeContentCompareDetailResult.
|
413
|
+
:rtype: int
|
414
|
+
"""
|
415
|
+
return self._complete_shard_count
|
416
|
+
|
417
|
+
@complete_shard_count.setter
|
418
|
+
def complete_shard_count(self, complete_shard_count):
|
419
|
+
r"""Sets the complete_shard_count of this NodeContentCompareDetailResult.
|
420
|
+
|
421
|
+
已对比分片数。
|
422
|
+
|
423
|
+
:param complete_shard_count: The complete_shard_count of this NodeContentCompareDetailResult.
|
424
|
+
:type complete_shard_count: int
|
425
|
+
"""
|
426
|
+
self._complete_shard_count = complete_shard_count
|
427
|
+
|
428
|
+
@property
|
429
|
+
def total_shard_count(self):
|
430
|
+
r"""Gets the total_shard_count of this NodeContentCompareDetailResult.
|
431
|
+
|
432
|
+
总分片数。
|
433
|
+
|
434
|
+
:return: The total_shard_count of this NodeContentCompareDetailResult.
|
435
|
+
:rtype: int
|
436
|
+
"""
|
437
|
+
return self._total_shard_count
|
438
|
+
|
439
|
+
@total_shard_count.setter
|
440
|
+
def total_shard_count(self, total_shard_count):
|
441
|
+
r"""Sets the total_shard_count of this NodeContentCompareDetailResult.
|
442
|
+
|
443
|
+
总分片数。
|
444
|
+
|
445
|
+
:param total_shard_count: The total_shard_count of this NodeContentCompareDetailResult.
|
446
|
+
:type total_shard_count: int
|
447
|
+
"""
|
448
|
+
self._total_shard_count = total_shard_count
|
449
|
+
|
450
|
+
@property
|
451
|
+
def progress(self):
|
452
|
+
r"""Gets the progress of this NodeContentCompareDetailResult.
|
453
|
+
|
454
|
+
比对进度。
|
455
|
+
|
456
|
+
:return: The progress of this NodeContentCompareDetailResult.
|
457
|
+
:rtype: float
|
458
|
+
"""
|
459
|
+
return self._progress
|
460
|
+
|
461
|
+
@progress.setter
|
462
|
+
def progress(self, progress):
|
463
|
+
r"""Sets the progress of this NodeContentCompareDetailResult.
|
464
|
+
|
465
|
+
比对进度。
|
466
|
+
|
467
|
+
:param progress: The progress of this NodeContentCompareDetailResult.
|
468
|
+
:type progress: float
|
469
|
+
"""
|
470
|
+
self._progress = progress
|
471
|
+
|
356
472
|
def to_dict(self):
|
357
473
|
"""Returns the model properties as a dict"""
|
358
474
|
result = {}
|
@@ -19,16 +19,24 @@ class NodeContentCompareOverviewResult:
|
|
19
19
|
openapi_types = {
|
20
20
|
'source_db': 'str',
|
21
21
|
'target_db': 'str',
|
22
|
-
'status': 'int'
|
22
|
+
'status': 'int',
|
23
|
+
'compare_num': 'int',
|
24
|
+
'compare_end_num': 'int',
|
25
|
+
'data_inconsistent_num': 'int',
|
26
|
+
'uncomparable_num': 'int'
|
23
27
|
}
|
24
28
|
|
25
29
|
attribute_map = {
|
26
30
|
'source_db': 'source_db',
|
27
31
|
'target_db': 'target_db',
|
28
|
-
'status': 'status'
|
32
|
+
'status': 'status',
|
33
|
+
'compare_num': 'compare_num',
|
34
|
+
'compare_end_num': 'compare_end_num',
|
35
|
+
'data_inconsistent_num': 'data_inconsistent_num',
|
36
|
+
'uncomparable_num': 'uncomparable_num'
|
29
37
|
}
|
30
38
|
|
31
|
-
def __init__(self, source_db=None, target_db=None, status=None):
|
39
|
+
def __init__(self, source_db=None, target_db=None, status=None, compare_num=None, compare_end_num=None, data_inconsistent_num=None, uncomparable_num=None):
|
32
40
|
r"""NodeContentCompareOverviewResult
|
33
41
|
|
34
42
|
The model defined in huaweicloud sdk
|
@@ -39,6 +47,14 @@ class NodeContentCompareOverviewResult:
|
|
39
47
|
:type target_db: str
|
40
48
|
:param status: 对比状态。 - 0:对比不一致 - 2:对比一致 - 3:目标库表不存在 - 4:对比失败 - 5:正在对比中 - 6:等待对比中 - 7:任务已取消 - 8:源库为空 - 9:目标库为空 - 10:源库和目标库都为空 - 11:源表不存在 - 12:目标表不存在 - 13:原表和目标表都不存在 - 14:源数据库连接失败 - 15:目标库数据库连接失败 - 16:源数据库执行SQL超时 - 17:目标数据库执行SQL超时 - 18:源数据库执行SQL错误 - 19:目标数据库执行SQL错误 - 20:源库和目标库都不存在 - 21:源库不存在 - 22:目标库不存在 - 23:行数为亿行,未进行对比 - 27:超时
|
41
49
|
:type status: int
|
50
|
+
:param compare_num: 总表数。
|
51
|
+
:type compare_num: int
|
52
|
+
:param compare_end_num: 已完成表数。
|
53
|
+
:type compare_end_num: int
|
54
|
+
:param data_inconsistent_num: 不一致表数。
|
55
|
+
:type data_inconsistent_num: int
|
56
|
+
:param uncomparable_num: 无法对比表数。
|
57
|
+
:type uncomparable_num: int
|
42
58
|
"""
|
43
59
|
|
44
60
|
|
@@ -46,6 +62,10 @@ class NodeContentCompareOverviewResult:
|
|
46
62
|
self._source_db = None
|
47
63
|
self._target_db = None
|
48
64
|
self._status = None
|
65
|
+
self._compare_num = None
|
66
|
+
self._compare_end_num = None
|
67
|
+
self._data_inconsistent_num = None
|
68
|
+
self._uncomparable_num = None
|
49
69
|
self.discriminator = None
|
50
70
|
|
51
71
|
if source_db is not None:
|
@@ -54,6 +74,14 @@ class NodeContentCompareOverviewResult:
|
|
54
74
|
self.target_db = target_db
|
55
75
|
if status is not None:
|
56
76
|
self.status = status
|
77
|
+
if compare_num is not None:
|
78
|
+
self.compare_num = compare_num
|
79
|
+
if compare_end_num is not None:
|
80
|
+
self.compare_end_num = compare_end_num
|
81
|
+
if data_inconsistent_num is not None:
|
82
|
+
self.data_inconsistent_num = data_inconsistent_num
|
83
|
+
if uncomparable_num is not None:
|
84
|
+
self.uncomparable_num = uncomparable_num
|
57
85
|
|
58
86
|
@property
|
59
87
|
def source_db(self):
|
@@ -121,6 +149,94 @@ class NodeContentCompareOverviewResult:
|
|
121
149
|
"""
|
122
150
|
self._status = status
|
123
151
|
|
152
|
+
@property
|
153
|
+
def compare_num(self):
|
154
|
+
r"""Gets the compare_num of this NodeContentCompareOverviewResult.
|
155
|
+
|
156
|
+
总表数。
|
157
|
+
|
158
|
+
:return: The compare_num of this NodeContentCompareOverviewResult.
|
159
|
+
:rtype: int
|
160
|
+
"""
|
161
|
+
return self._compare_num
|
162
|
+
|
163
|
+
@compare_num.setter
|
164
|
+
def compare_num(self, compare_num):
|
165
|
+
r"""Sets the compare_num of this NodeContentCompareOverviewResult.
|
166
|
+
|
167
|
+
总表数。
|
168
|
+
|
169
|
+
:param compare_num: The compare_num of this NodeContentCompareOverviewResult.
|
170
|
+
:type compare_num: int
|
171
|
+
"""
|
172
|
+
self._compare_num = compare_num
|
173
|
+
|
174
|
+
@property
|
175
|
+
def compare_end_num(self):
|
176
|
+
r"""Gets the compare_end_num of this NodeContentCompareOverviewResult.
|
177
|
+
|
178
|
+
已完成表数。
|
179
|
+
|
180
|
+
:return: The compare_end_num of this NodeContentCompareOverviewResult.
|
181
|
+
:rtype: int
|
182
|
+
"""
|
183
|
+
return self._compare_end_num
|
184
|
+
|
185
|
+
@compare_end_num.setter
|
186
|
+
def compare_end_num(self, compare_end_num):
|
187
|
+
r"""Sets the compare_end_num of this NodeContentCompareOverviewResult.
|
188
|
+
|
189
|
+
已完成表数。
|
190
|
+
|
191
|
+
:param compare_end_num: The compare_end_num of this NodeContentCompareOverviewResult.
|
192
|
+
:type compare_end_num: int
|
193
|
+
"""
|
194
|
+
self._compare_end_num = compare_end_num
|
195
|
+
|
196
|
+
@property
|
197
|
+
def data_inconsistent_num(self):
|
198
|
+
r"""Gets the data_inconsistent_num of this NodeContentCompareOverviewResult.
|
199
|
+
|
200
|
+
不一致表数。
|
201
|
+
|
202
|
+
:return: The data_inconsistent_num of this NodeContentCompareOverviewResult.
|
203
|
+
:rtype: int
|
204
|
+
"""
|
205
|
+
return self._data_inconsistent_num
|
206
|
+
|
207
|
+
@data_inconsistent_num.setter
|
208
|
+
def data_inconsistent_num(self, data_inconsistent_num):
|
209
|
+
r"""Sets the data_inconsistent_num of this NodeContentCompareOverviewResult.
|
210
|
+
|
211
|
+
不一致表数。
|
212
|
+
|
213
|
+
:param data_inconsistent_num: The data_inconsistent_num of this NodeContentCompareOverviewResult.
|
214
|
+
:type data_inconsistent_num: int
|
215
|
+
"""
|
216
|
+
self._data_inconsistent_num = data_inconsistent_num
|
217
|
+
|
218
|
+
@property
|
219
|
+
def uncomparable_num(self):
|
220
|
+
r"""Gets the uncomparable_num of this NodeContentCompareOverviewResult.
|
221
|
+
|
222
|
+
无法对比表数。
|
223
|
+
|
224
|
+
:return: The uncomparable_num of this NodeContentCompareOverviewResult.
|
225
|
+
:rtype: int
|
226
|
+
"""
|
227
|
+
return self._uncomparable_num
|
228
|
+
|
229
|
+
@uncomparable_num.setter
|
230
|
+
def uncomparable_num(self, uncomparable_num):
|
231
|
+
r"""Sets the uncomparable_num of this NodeContentCompareOverviewResult.
|
232
|
+
|
233
|
+
无法对比表数。
|
234
|
+
|
235
|
+
:param uncomparable_num: The uncomparable_num of this NodeContentCompareOverviewResult.
|
236
|
+
:type uncomparable_num: int
|
237
|
+
"""
|
238
|
+
self._uncomparable_num = uncomparable_num
|
239
|
+
|
124
240
|
def to_dict(self):
|
125
241
|
"""Returns the model properties as a dict"""
|
126
242
|
result = {}
|
@@ -199,7 +199,7 @@ class QueryJobResp:
|
|
199
199
|
:type speed_limit: list[:class:`huaweicloudsdkdrs.v3.SpeedLimitInfo`]
|
200
200
|
:param schema_type: 迁移方案 - Replication-主从复制 - Tungsten-日志解析 - PGBaseBackup-PG备份
|
201
201
|
:type schema_type: str
|
202
|
-
:param node_num: 节点个数。
|
202
|
+
:param node_num: 节点个数。
|
203
203
|
:type node_num: int
|
204
204
|
:param object_switch: 对象选择开关
|
205
205
|
:type object_switch: bool
|
@@ -999,7 +999,7 @@ class QueryJobResp:
|
|
999
999
|
def node_num(self):
|
1000
1000
|
r"""Gets the node_num of this QueryJobResp.
|
1001
1001
|
|
1002
|
-
节点个数。
|
1002
|
+
节点个数。
|
1003
1003
|
|
1004
1004
|
:return: The node_num of this QueryJobResp.
|
1005
1005
|
:rtype: int
|
@@ -1010,7 +1010,7 @@ class QueryJobResp:
|
|
1010
1010
|
def node_num(self, node_num):
|
1011
1011
|
r"""Sets the node_num of this QueryJobResp.
|
1012
1012
|
|
1013
|
-
节点个数。
|
1013
|
+
节点个数。
|
1014
1014
|
|
1015
1015
|
:param node_num: The node_num of this QueryJobResp.
|
1016
1016
|
:type node_num: int
|
huaweicloudsdkdrs/v5/__init__.py
CHANGED
@@ -128,6 +128,8 @@ from huaweicloudsdkdrs.v5.model.delete_user_jdbc_driver_response import DeleteUs
|
|
128
128
|
from huaweicloudsdkdrs.v5.model.dirty_data import DirtyData
|
129
129
|
from huaweicloudsdkdrs.v5.model.download_batch_create_template_request import DownloadBatchCreateTemplateRequest
|
130
130
|
from huaweicloudsdkdrs.v5.model.download_batch_create_template_response import DownloadBatchCreateTemplateResponse
|
131
|
+
from huaweicloudsdkdrs.v5.model.download_create_template_request import DownloadCreateTemplateRequest
|
132
|
+
from huaweicloudsdkdrs.v5.model.download_create_template_response import DownloadCreateTemplateResponse
|
131
133
|
from huaweicloudsdkdrs.v5.model.download_db_object_template_request import DownloadDbObjectTemplateRequest
|
132
134
|
from huaweicloudsdkdrs.v5.model.download_db_object_template_response import DownloadDbObjectTemplateResponse
|
133
135
|
from huaweicloudsdkdrs.v5.model.driver_info import DriverInfo
|
@@ -137,8 +139,13 @@ from huaweicloudsdkdrs.v5.model.enterprise_project import EnterpriseProject
|
|
137
139
|
from huaweicloudsdkdrs.v5.model.error_resp import ErrorResp
|
138
140
|
from huaweicloudsdkdrs.v5.model.execute_job_action_request import ExecuteJobActionRequest
|
139
141
|
from huaweicloudsdkdrs.v5.model.execute_job_action_response import ExecuteJobActionResponse
|
142
|
+
from huaweicloudsdkdrs.v5.model.export_creation_template_request import ExportCreationTemplateRequest
|
143
|
+
from huaweicloudsdkdrs.v5.model.export_creation_template_response import ExportCreationTemplateResponse
|
144
|
+
from huaweicloudsdkdrs.v5.model.export_files_req import ExportFilesReq
|
145
|
+
from huaweicloudsdkdrs.v5.model.export_jobs_template_req import ExportJobsTemplateReq
|
140
146
|
from huaweicloudsdkdrs.v5.model.export_operation_info_request import ExportOperationInfoRequest
|
141
147
|
from huaweicloudsdkdrs.v5.model.export_operation_info_response import ExportOperationInfoResponse
|
148
|
+
from huaweicloudsdkdrs.v5.model.export_report_obs_file_resp_export_report_obs_files import ExportReportObsFileRespExportReportObsFiles
|
142
149
|
from huaweicloudsdkdrs.v5.model.failed_to_bind_eip_child_info import FailedToBindEipChildInfo
|
143
150
|
from huaweicloudsdkdrs.v5.model.flow_compare_data import FlowCompareData
|
144
151
|
from huaweicloudsdkdrs.v5.model.health_compare_job import HealthCompareJob
|
@@ -193,6 +200,8 @@ from huaweicloudsdkdrs.v5.model.list_replication_jobs_request import ListReplica
|
|
193
200
|
from huaweicloudsdkdrs.v5.model.list_replication_jobs_response import ListReplicationJobsResponse
|
194
201
|
from huaweicloudsdkdrs.v5.model.list_tags_request import ListTagsRequest
|
195
202
|
from huaweicloudsdkdrs.v5.model.list_tags_response import ListTagsResponse
|
203
|
+
from huaweicloudsdkdrs.v5.model.list_templates_request import ListTemplatesRequest
|
204
|
+
from huaweicloudsdkdrs.v5.model.list_templates_response import ListTemplatesResponse
|
196
205
|
from huaweicloudsdkdrs.v5.model.list_user_jdbc_drivers_request import ListUserJdbcDriversRequest
|
197
206
|
from huaweicloudsdkdrs.v5.model.list_user_jdbc_drivers_response import ListUserJdbcDriversResponse
|
198
207
|
from huaweicloudsdkdrs.v5.model.lists_agency_permissions_request import ListsAgencyPermissionsRequest
|
@@ -276,6 +285,8 @@ from huaweicloudsdkdrs.v5.model.show_dirty_data_request import ShowDirtyDataRequ
|
|
276
285
|
from huaweicloudsdkdrs.v5.model.show_dirty_data_response import ShowDirtyDataResponse
|
277
286
|
from huaweicloudsdkdrs.v5.model.show_enterprise_project_request import ShowEnterpriseProjectRequest
|
278
287
|
from huaweicloudsdkdrs.v5.model.show_enterprise_project_response import ShowEnterpriseProjectResponse
|
288
|
+
from huaweicloudsdkdrs.v5.model.show_export_progress_request import ShowExportProgressRequest
|
289
|
+
from huaweicloudsdkdrs.v5.model.show_export_progress_response import ShowExportProgressResponse
|
279
290
|
from huaweicloudsdkdrs.v5.model.show_health_compare_job_detail_request import ShowHealthCompareJobDetailRequest
|
280
291
|
from huaweicloudsdkdrs.v5.model.show_health_compare_job_detail_response import ShowHealthCompareJobDetailResponse
|
281
292
|
from huaweicloudsdkdrs.v5.model.show_health_compare_job_list_request import ShowHealthCompareJobListRequest
|