huaweicloudsdkdrs 3.1.102__py2.py3-none-any.whl → 3.1.104__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/create_job_req.py +38 -9
- huaweicloudsdkdrs/v3/model/query_job_resp.py +44 -15
- huaweicloudsdkdrs/v3/model/query_jobs_req.py +3 -3
- huaweicloudsdkdrs/v3/region/drs_region.py +3 -0
- huaweicloudsdkdrs/v5/__init__.py +1 -0
- huaweicloudsdkdrs/v5/drs_async_client.py +10 -0
- huaweicloudsdkdrs/v5/drs_client.py +10 -0
- huaweicloudsdkdrs/v5/model/__init__.py +1 -0
- huaweicloudsdkdrs/v5/model/action_req.py +3 -3
- huaweicloudsdkdrs/v5/model/base_endpoint.py +3 -3
- huaweicloudsdkdrs/v5/model/content_compare_overview_info.py +3 -3
- huaweicloudsdkdrs/v5/model/download_db_object_template_request.py +3 -3
- huaweicloudsdkdrs/v5/model/job_base_info.py +32 -3
- huaweicloudsdkdrs/v5/model/replay_error_classification.py +201 -0
- huaweicloudsdkdrs/v5/model/replay_error_sql_template_resp.py +30 -1
- huaweicloudsdkdrs/v5/model/replay_slow_sql_template_resp.py +30 -1
- 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_replay_results_request.py +93 -6
- huaweicloudsdkdrs/v5/model/show_replay_results_response.py +32 -3
- huaweicloudsdkdrs/v5/model/show_support_object_type_response.py +32 -3
- huaweicloudsdkdrs/v5/model/upload_db_object_template_request.py +3 -3
- huaweicloudsdkdrs/v5/region/drs_region.py +3 -0
- {huaweicloudsdkdrs-3.1.102.dist-info → huaweicloudsdkdrs-3.1.104.dist-info}/METADATA +2 -2
- {huaweicloudsdkdrs-3.1.102.dist-info → huaweicloudsdkdrs-3.1.104.dist-info}/RECORD +28 -27
- {huaweicloudsdkdrs-3.1.102.dist-info → huaweicloudsdkdrs-3.1.104.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdrs-3.1.102.dist-info → huaweicloudsdkdrs-3.1.104.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdrs-3.1.102.dist-info → huaweicloudsdkdrs-3.1.104.dist-info}/top_level.txt +0 -0
@@ -40,7 +40,8 @@ class CreateJobReq:
|
|
40
40
|
'slave_az': 'str',
|
41
41
|
'charging_mode': 'str',
|
42
42
|
'period_order': 'PeriodOrderInfo',
|
43
|
-
'public_ip_list': 'list[PublicIpConfig]'
|
43
|
+
'public_ip_list': 'list[PublicIpConfig]',
|
44
|
+
'is_open_fast_clean': 'bool'
|
44
45
|
}
|
45
46
|
|
46
47
|
attribute_map = {
|
@@ -67,10 +68,11 @@ class CreateJobReq:
|
|
67
68
|
'slave_az': 'slave_az',
|
68
69
|
'charging_mode': 'charging_mode',
|
69
70
|
'period_order': 'period_order',
|
70
|
-
'public_ip_list': 'public_ip_list'
|
71
|
+
'public_ip_list': 'public_ip_list',
|
72
|
+
'is_open_fast_clean': 'is_open_fast_clean'
|
71
73
|
}
|
72
74
|
|
73
|
-
def __init__(self, bind_eip=None, db_use_type=None, name=None, description=None, engine_type=None, is_target_readonly=None, job_direction=None, multi_write=None, net_type=None, node_num=None, node_type=None, source_endpoint=None, target_endpoint=None, tags=None, task_type=None, customize_sutnet_id=None, product_id=None, sys_tags=None, expired_days=None, master_az=None, slave_az=None, charging_mode=None, period_order=None, public_ip_list=None):
|
75
|
+
def __init__(self, bind_eip=None, db_use_type=None, name=None, description=None, engine_type=None, is_target_readonly=None, job_direction=None, multi_write=None, net_type=None, node_num=None, node_type=None, source_endpoint=None, target_endpoint=None, tags=None, task_type=None, customize_sutnet_id=None, product_id=None, sys_tags=None, expired_days=None, master_az=None, slave_az=None, charging_mode=None, period_order=None, public_ip_list=None, is_open_fast_clean=None):
|
74
76
|
"""CreateJobReq
|
75
77
|
|
76
78
|
The model defined in huaweicloud sdk
|
@@ -109,7 +111,7 @@ class CreateJobReq:
|
|
109
111
|
:type customize_sutnet_id: str
|
110
112
|
:param product_id: 产品id。
|
111
113
|
:type product_id: str
|
112
|
-
:param sys_tags: 企业项目,不填默认为default,key值必须为_sys_enterprise_project_id,value为企业项目ID
|
114
|
+
:param sys_tags: 企业项目,不填默认为default,key值必须为_sys_enterprise_project_id,value为企业项目ID,只能填一个企业项目。
|
113
115
|
:type sys_tags: list[:class:`huaweicloudsdkdrs.v3.ResourceTag`]
|
114
116
|
:param expired_days: 任务处于异常状态一段时间后,将会自动结束,单位为天。(范围14-100),不传默认为14天。
|
115
117
|
:type expired_days: str
|
@@ -121,8 +123,10 @@ class CreateJobReq:
|
|
121
123
|
:type charging_mode: str
|
122
124
|
:param period_order:
|
123
125
|
:type period_order: :class:`huaweicloudsdkdrs.v3.PeriodOrderInfo`
|
124
|
-
:param public_ip_list: 指定公网IP
|
126
|
+
:param public_ip_list: 指定公网IP的信息。
|
125
127
|
:type public_ip_list: list[:class:`huaweicloudsdkdrs.v3.PublicIpConfig`]
|
128
|
+
:param is_open_fast_clean: 是否开启云数据库RDS for MySQL/MariaDB的binlog快速清理。不传默认为false,不开启快速清理。
|
129
|
+
:type is_open_fast_clean: bool
|
126
130
|
"""
|
127
131
|
|
128
132
|
|
@@ -151,6 +155,7 @@ class CreateJobReq:
|
|
151
155
|
self._charging_mode = None
|
152
156
|
self._period_order = None
|
153
157
|
self._public_ip_list = None
|
158
|
+
self._is_open_fast_clean = None
|
154
159
|
self.discriminator = None
|
155
160
|
|
156
161
|
if bind_eip is not None:
|
@@ -191,6 +196,8 @@ class CreateJobReq:
|
|
191
196
|
self.period_order = period_order
|
192
197
|
if public_ip_list is not None:
|
193
198
|
self.public_ip_list = public_ip_list
|
199
|
+
if is_open_fast_clean is not None:
|
200
|
+
self.is_open_fast_clean = is_open_fast_clean
|
194
201
|
|
195
202
|
@property
|
196
203
|
def bind_eip(self):
|
@@ -562,7 +569,7 @@ class CreateJobReq:
|
|
562
569
|
def sys_tags(self):
|
563
570
|
"""Gets the sys_tags of this CreateJobReq.
|
564
571
|
|
565
|
-
企业项目,不填默认为default,key值必须为_sys_enterprise_project_id,value为企业项目ID
|
572
|
+
企业项目,不填默认为default,key值必须为_sys_enterprise_project_id,value为企业项目ID,只能填一个企业项目。
|
566
573
|
|
567
574
|
:return: The sys_tags of this CreateJobReq.
|
568
575
|
:rtype: list[:class:`huaweicloudsdkdrs.v3.ResourceTag`]
|
@@ -573,7 +580,7 @@ class CreateJobReq:
|
|
573
580
|
def sys_tags(self, sys_tags):
|
574
581
|
"""Sets the sys_tags of this CreateJobReq.
|
575
582
|
|
576
|
-
企业项目,不填默认为default,key值必须为_sys_enterprise_project_id,value为企业项目ID
|
583
|
+
企业项目,不填默认为default,key值必须为_sys_enterprise_project_id,value为企业项目ID,只能填一个企业项目。
|
577
584
|
|
578
585
|
:param sys_tags: The sys_tags of this CreateJobReq.
|
579
586
|
:type sys_tags: list[:class:`huaweicloudsdkdrs.v3.ResourceTag`]
|
@@ -690,7 +697,7 @@ class CreateJobReq:
|
|
690
697
|
def public_ip_list(self):
|
691
698
|
"""Gets the public_ip_list of this CreateJobReq.
|
692
699
|
|
693
|
-
指定公网IP
|
700
|
+
指定公网IP的信息。
|
694
701
|
|
695
702
|
:return: The public_ip_list of this CreateJobReq.
|
696
703
|
:rtype: list[:class:`huaweicloudsdkdrs.v3.PublicIpConfig`]
|
@@ -701,13 +708,35 @@ class CreateJobReq:
|
|
701
708
|
def public_ip_list(self, public_ip_list):
|
702
709
|
"""Sets the public_ip_list of this CreateJobReq.
|
703
710
|
|
704
|
-
指定公网IP
|
711
|
+
指定公网IP的信息。
|
705
712
|
|
706
713
|
:param public_ip_list: The public_ip_list of this CreateJobReq.
|
707
714
|
:type public_ip_list: list[:class:`huaweicloudsdkdrs.v3.PublicIpConfig`]
|
708
715
|
"""
|
709
716
|
self._public_ip_list = public_ip_list
|
710
717
|
|
718
|
+
@property
|
719
|
+
def is_open_fast_clean(self):
|
720
|
+
"""Gets the is_open_fast_clean of this CreateJobReq.
|
721
|
+
|
722
|
+
是否开启云数据库RDS for MySQL/MariaDB的binlog快速清理。不传默认为false,不开启快速清理。
|
723
|
+
|
724
|
+
:return: The is_open_fast_clean of this CreateJobReq.
|
725
|
+
:rtype: bool
|
726
|
+
"""
|
727
|
+
return self._is_open_fast_clean
|
728
|
+
|
729
|
+
@is_open_fast_clean.setter
|
730
|
+
def is_open_fast_clean(self, is_open_fast_clean):
|
731
|
+
"""Sets the is_open_fast_clean of this CreateJobReq.
|
732
|
+
|
733
|
+
是否开启云数据库RDS for MySQL/MariaDB的binlog快速清理。不传默认为false,不开启快速清理。
|
734
|
+
|
735
|
+
:param is_open_fast_clean: The is_open_fast_clean of this CreateJobReq.
|
736
|
+
:type is_open_fast_clean: bool
|
737
|
+
"""
|
738
|
+
self._is_open_fast_clean = is_open_fast_clean
|
739
|
+
|
711
740
|
def to_dict(self):
|
712
741
|
"""Returns the model properties as a dict"""
|
713
742
|
result = {}
|
@@ -76,7 +76,8 @@ class QueryJobResp:
|
|
76
76
|
'tags': 'list[Tag]',
|
77
77
|
'public_ip_list': 'list[PublicIpConfig]',
|
78
78
|
'bind_public_ip_state': 'str',
|
79
|
-
'children': 'list[FailedToBindEipChildInfo]'
|
79
|
+
'children': 'list[FailedToBindEipChildInfo]',
|
80
|
+
'is_open_fast_clean': 'bool'
|
80
81
|
}
|
81
82
|
|
82
83
|
attribute_map = {
|
@@ -139,10 +140,11 @@ class QueryJobResp:
|
|
139
140
|
'tags': 'tags',
|
140
141
|
'public_ip_list': 'public_ip_list',
|
141
142
|
'bind_public_ip_state': 'bind_public_ip_state',
|
142
|
-
'children': 'children'
|
143
|
+
'children': 'children',
|
144
|
+
'is_open_fast_clean': 'is_open_fast_clean'
|
143
145
|
}
|
144
146
|
|
145
|
-
def __init__(self, id=None, parent_id=None, name=None, status=None, description=None, create_time=None, task_type=None, source_endpoint=None, dmq_endpoint=None, source_sharding=None, target_endpoint=None, net_type=None, failed_reason=None, inst_info=None, actual_start_time=None, full_transfer_complete_time=None, update_time=None, job_direction=None, db_use_type=None, need_restart=None, is_target_readonly=None, conflict_policy=None, filter_ddl_policy=None, speed_limit=None, schema_type=None, node_num=None, object_switch=None, master_job_id=None, full_mode=None, struct_trans=None, index_trans=None, replace_definer=None, migrate_user=None, sync_database=None, error_code=None, error_message=None, target_root_db=None, az_code=None, vpc_id=None, subnet_id=None, security_group_id=None, multi_write=None, support_ip_v6=None, inherit_id=None, gtid=None, alarm_notify=None, incre_start_position=None, is_multi_az=None, az_name=None, master_az=None, slave_az=None, node_role=None, period_order=None, object_infos=None, original_job_direction=None, data_transformation=None, tags=None, public_ip_list=None, bind_public_ip_state=None, children=None):
|
147
|
+
def __init__(self, id=None, parent_id=None, name=None, status=None, description=None, create_time=None, task_type=None, source_endpoint=None, dmq_endpoint=None, source_sharding=None, target_endpoint=None, net_type=None, failed_reason=None, inst_info=None, actual_start_time=None, full_transfer_complete_time=None, update_time=None, job_direction=None, db_use_type=None, need_restart=None, is_target_readonly=None, conflict_policy=None, filter_ddl_policy=None, speed_limit=None, schema_type=None, node_num=None, object_switch=None, master_job_id=None, full_mode=None, struct_trans=None, index_trans=None, replace_definer=None, migrate_user=None, sync_database=None, error_code=None, error_message=None, target_root_db=None, az_code=None, vpc_id=None, subnet_id=None, security_group_id=None, multi_write=None, support_ip_v6=None, inherit_id=None, gtid=None, alarm_notify=None, incre_start_position=None, is_multi_az=None, az_name=None, master_az=None, slave_az=None, node_role=None, period_order=None, object_infos=None, original_job_direction=None, data_transformation=None, tags=None, public_ip_list=None, bind_public_ip_state=None, children=None, is_open_fast_clean=None):
|
146
148
|
"""QueryJobResp
|
147
149
|
|
148
150
|
The model defined in huaweicloud sdk
|
@@ -259,14 +261,16 @@ class QueryJobResp:
|
|
259
261
|
:type original_job_direction: str
|
260
262
|
:param data_transformation:
|
261
263
|
:type data_transformation: :class:`huaweicloudsdkdrs.v3.GetDataTransformationResp`
|
262
|
-
:param tags: DRS
|
264
|
+
:param tags: DRS任务标签。
|
263
265
|
:type tags: list[:class:`huaweicloudsdkdrs.v3.Tag`]
|
264
|
-
:param public_ip_list: 指定公网Ip
|
266
|
+
:param public_ip_list: 指定公网Ip的信息。
|
265
267
|
:type public_ip_list: list[:class:`huaweicloudsdkdrs.v3.PublicIpConfig`]
|
266
|
-
:param bind_public_ip_state: 是否成功绑定公网IP
|
268
|
+
:param bind_public_ip_state: 是否成功绑定公网IP。
|
267
269
|
:type bind_public_ip_state: str
|
268
|
-
:param children:
|
270
|
+
:param children: 多任务时,存在子任务绑定失败时,返回子任务的信息。
|
269
271
|
:type children: list[:class:`huaweicloudsdkdrs.v3.FailedToBindEipChildInfo`]
|
272
|
+
:param is_open_fast_clean: 是否开启云数据库RDS for MySQL/MariaDB的binlog快速清理。
|
273
|
+
:type is_open_fast_clean: bool
|
270
274
|
"""
|
271
275
|
|
272
276
|
|
@@ -331,6 +335,7 @@ class QueryJobResp:
|
|
331
335
|
self._public_ip_list = None
|
332
336
|
self._bind_public_ip_state = None
|
333
337
|
self._children = None
|
338
|
+
self._is_open_fast_clean = None
|
334
339
|
self.discriminator = None
|
335
340
|
|
336
341
|
if id is not None:
|
@@ -453,6 +458,8 @@ class QueryJobResp:
|
|
453
458
|
self.bind_public_ip_state = bind_public_ip_state
|
454
459
|
if children is not None:
|
455
460
|
self.children = children
|
461
|
+
if is_open_fast_clean is not None:
|
462
|
+
self.is_open_fast_clean = is_open_fast_clean
|
456
463
|
|
457
464
|
@property
|
458
465
|
def id(self):
|
@@ -1658,7 +1665,7 @@ class QueryJobResp:
|
|
1658
1665
|
def tags(self):
|
1659
1666
|
"""Gets the tags of this QueryJobResp.
|
1660
1667
|
|
1661
|
-
DRS
|
1668
|
+
DRS任务标签。
|
1662
1669
|
|
1663
1670
|
:return: The tags of this QueryJobResp.
|
1664
1671
|
:rtype: list[:class:`huaweicloudsdkdrs.v3.Tag`]
|
@@ -1669,7 +1676,7 @@ class QueryJobResp:
|
|
1669
1676
|
def tags(self, tags):
|
1670
1677
|
"""Sets the tags of this QueryJobResp.
|
1671
1678
|
|
1672
|
-
DRS
|
1679
|
+
DRS任务标签。
|
1673
1680
|
|
1674
1681
|
:param tags: The tags of this QueryJobResp.
|
1675
1682
|
:type tags: list[:class:`huaweicloudsdkdrs.v3.Tag`]
|
@@ -1680,7 +1687,7 @@ class QueryJobResp:
|
|
1680
1687
|
def public_ip_list(self):
|
1681
1688
|
"""Gets the public_ip_list of this QueryJobResp.
|
1682
1689
|
|
1683
|
-
指定公网Ip
|
1690
|
+
指定公网Ip的信息。
|
1684
1691
|
|
1685
1692
|
:return: The public_ip_list of this QueryJobResp.
|
1686
1693
|
:rtype: list[:class:`huaweicloudsdkdrs.v3.PublicIpConfig`]
|
@@ -1691,7 +1698,7 @@ class QueryJobResp:
|
|
1691
1698
|
def public_ip_list(self, public_ip_list):
|
1692
1699
|
"""Sets the public_ip_list of this QueryJobResp.
|
1693
1700
|
|
1694
|
-
指定公网Ip
|
1701
|
+
指定公网Ip的信息。
|
1695
1702
|
|
1696
1703
|
:param public_ip_list: The public_ip_list of this QueryJobResp.
|
1697
1704
|
:type public_ip_list: list[:class:`huaweicloudsdkdrs.v3.PublicIpConfig`]
|
@@ -1702,7 +1709,7 @@ class QueryJobResp:
|
|
1702
1709
|
def bind_public_ip_state(self):
|
1703
1710
|
"""Gets the bind_public_ip_state of this QueryJobResp.
|
1704
1711
|
|
1705
|
-
是否成功绑定公网IP
|
1712
|
+
是否成功绑定公网IP。
|
1706
1713
|
|
1707
1714
|
:return: The bind_public_ip_state of this QueryJobResp.
|
1708
1715
|
:rtype: str
|
@@ -1713,7 +1720,7 @@ class QueryJobResp:
|
|
1713
1720
|
def bind_public_ip_state(self, bind_public_ip_state):
|
1714
1721
|
"""Sets the bind_public_ip_state of this QueryJobResp.
|
1715
1722
|
|
1716
|
-
是否成功绑定公网IP
|
1723
|
+
是否成功绑定公网IP。
|
1717
1724
|
|
1718
1725
|
:param bind_public_ip_state: The bind_public_ip_state of this QueryJobResp.
|
1719
1726
|
:type bind_public_ip_state: str
|
@@ -1724,7 +1731,7 @@ class QueryJobResp:
|
|
1724
1731
|
def children(self):
|
1725
1732
|
"""Gets the children of this QueryJobResp.
|
1726
1733
|
|
1727
|
-
|
1734
|
+
多任务时,存在子任务绑定失败时,返回子任务的信息。
|
1728
1735
|
|
1729
1736
|
:return: The children of this QueryJobResp.
|
1730
1737
|
:rtype: list[:class:`huaweicloudsdkdrs.v3.FailedToBindEipChildInfo`]
|
@@ -1735,13 +1742,35 @@ class QueryJobResp:
|
|
1735
1742
|
def children(self, children):
|
1736
1743
|
"""Sets the children of this QueryJobResp.
|
1737
1744
|
|
1738
|
-
|
1745
|
+
多任务时,存在子任务绑定失败时,返回子任务的信息。
|
1739
1746
|
|
1740
1747
|
:param children: The children of this QueryJobResp.
|
1741
1748
|
:type children: list[:class:`huaweicloudsdkdrs.v3.FailedToBindEipChildInfo`]
|
1742
1749
|
"""
|
1743
1750
|
self._children = children
|
1744
1751
|
|
1752
|
+
@property
|
1753
|
+
def is_open_fast_clean(self):
|
1754
|
+
"""Gets the is_open_fast_clean of this QueryJobResp.
|
1755
|
+
|
1756
|
+
是否开启云数据库RDS for MySQL/MariaDB的binlog快速清理。
|
1757
|
+
|
1758
|
+
:return: The is_open_fast_clean of this QueryJobResp.
|
1759
|
+
:rtype: bool
|
1760
|
+
"""
|
1761
|
+
return self._is_open_fast_clean
|
1762
|
+
|
1763
|
+
@is_open_fast_clean.setter
|
1764
|
+
def is_open_fast_clean(self, is_open_fast_clean):
|
1765
|
+
"""Sets the is_open_fast_clean of this QueryJobResp.
|
1766
|
+
|
1767
|
+
是否开启云数据库RDS for MySQL/MariaDB的binlog快速清理。
|
1768
|
+
|
1769
|
+
:param is_open_fast_clean: The is_open_fast_clean of this QueryJobResp.
|
1770
|
+
:type is_open_fast_clean: bool
|
1771
|
+
"""
|
1772
|
+
self._is_open_fast_clean = is_open_fast_clean
|
1773
|
+
|
1745
1774
|
def to_dict(self):
|
1746
1775
|
"""Returns the model properties as a dict"""
|
1747
1776
|
result = {}
|
@@ -61,7 +61,7 @@ class QueryJobsReq:
|
|
61
61
|
:type engine_type: str
|
62
62
|
:param enterprise_project_id: 企业项目
|
63
63
|
:type enterprise_project_id: str
|
64
|
-
:param name:
|
64
|
+
:param name: Name或ID。支持传入多个任务ID,逗号分隔,最多100个。
|
65
65
|
:type name: str
|
66
66
|
:param net_type: 网络类型
|
67
67
|
:type net_type: str
|
@@ -229,7 +229,7 @@ class QueryJobsReq:
|
|
229
229
|
def name(self):
|
230
230
|
"""Gets the name of this QueryJobsReq.
|
231
231
|
|
232
|
-
|
232
|
+
Name或ID。支持传入多个任务ID,逗号分隔,最多100个。
|
233
233
|
|
234
234
|
:return: The name of this QueryJobsReq.
|
235
235
|
:rtype: str
|
@@ -240,7 +240,7 @@ class QueryJobsReq:
|
|
240
240
|
def name(self, name):
|
241
241
|
"""Sets the name of this QueryJobsReq.
|
242
242
|
|
243
|
-
|
243
|
+
Name或ID。支持传入多个任务ID,逗号分隔,最多100个。
|
244
244
|
|
245
245
|
:param name: The name of this QueryJobsReq.
|
246
246
|
:type name: str
|
@@ -56,6 +56,8 @@ class DrsRegion:
|
|
56
56
|
"https://drs.ae-ad-1.myhuaweicloud.com")
|
57
57
|
MY_KUALALUMPUR_1 = Region("my-kualalumpur-1",
|
58
58
|
"https://drs.my-kualalumpur-1.myhuaweicloud.com")
|
59
|
+
RU_NORTHWEST_2 = Region("ru-northwest-2",
|
60
|
+
"https://drs.ru-northwest-2.myhuaweicloud.com")
|
59
61
|
|
60
62
|
static_fields = {
|
61
63
|
"eu-west-101": EU_WEST_101,
|
@@ -83,6 +85,7 @@ class DrsRegion:
|
|
83
85
|
"ru-moscow-1": RU_MOSCOW_1,
|
84
86
|
"ae-ad-1": AE_AD_1,
|
85
87
|
"my-kualalumpur-1": MY_KUALALUMPUR_1,
|
88
|
+
"ru-northwest-2": RU_NORTHWEST_2,
|
86
89
|
}
|
87
90
|
|
88
91
|
@classmethod
|
huaweicloudsdkdrs/v5/__init__.py
CHANGED
@@ -188,6 +188,7 @@ from huaweicloudsdkdrs.v5.model.query_pre_check_result import QueryPreCheckResul
|
|
188
188
|
from huaweicloudsdkdrs.v5.model.query_select_object_info_req import QuerySelectObjectInfoReq
|
189
189
|
from huaweicloudsdkdrs.v5.model.query_user_selected_object_info_req import QueryUserSelectedObjectInfoReq
|
190
190
|
from huaweicloudsdkdrs.v5.model.replay_config_info import ReplayConfigInfo
|
191
|
+
from huaweicloudsdkdrs.v5.model.replay_error_classification import ReplayErrorClassification
|
191
192
|
from huaweicloudsdkdrs.v5.model.replay_error_sql_resp import ReplayErrorSqlResp
|
192
193
|
from huaweicloudsdkdrs.v5.model.replay_error_sql_template_resp import ReplayErrorSqlTemplateResp
|
193
194
|
from huaweicloudsdkdrs.v5.model.replay_shard_statics_resp import ReplayShardStaticsResp
|
@@ -3100,6 +3100,8 @@ class DrsAsyncClient(Client):
|
|
3100
3100
|
query_params.append(('offset', local_var_params['offset']))
|
3101
3101
|
if 'limit' in local_var_params:
|
3102
3102
|
query_params.append(('limit', local_var_params['limit']))
|
3103
|
+
if 'type' in local_var_params:
|
3104
|
+
query_params.append(('type', local_var_params['type']))
|
3103
3105
|
|
3104
3106
|
header_params = {}
|
3105
3107
|
if 'x_language' in local_var_params:
|
@@ -3169,6 +3171,8 @@ class DrsAsyncClient(Client):
|
|
3169
3171
|
query_params = []
|
3170
3172
|
if 'type' in local_var_params:
|
3171
3173
|
query_params.append(('type', local_var_params['type']))
|
3174
|
+
if 'file_export_object_level' in local_var_params:
|
3175
|
+
query_params.append(('file_export_object_level', local_var_params['file_export_object_level']))
|
3172
3176
|
|
3173
3177
|
header_params = {}
|
3174
3178
|
if 'x_language' in local_var_params:
|
@@ -4256,6 +4260,12 @@ class DrsAsyncClient(Client):
|
|
4256
4260
|
query_params.append(('sort_dir', local_var_params['sort_dir']))
|
4257
4261
|
if 'target_name' in local_var_params:
|
4258
4262
|
query_params.append(('target_name', local_var_params['target_name']))
|
4263
|
+
if 'is_sample' in local_var_params:
|
4264
|
+
query_params.append(('is_sample', local_var_params['is_sample']))
|
4265
|
+
if 'error_type' in local_var_params:
|
4266
|
+
query_params.append(('error_type', local_var_params['error_type']))
|
4267
|
+
if 'sql_template_md5' in local_var_params:
|
4268
|
+
query_params.append(('sql_template_md5', local_var_params['sql_template_md5']))
|
4259
4269
|
|
4260
4270
|
header_params = {}
|
4261
4271
|
if 'x_language' in local_var_params:
|
@@ -3100,6 +3100,8 @@ class DrsClient(Client):
|
|
3100
3100
|
query_params.append(('offset', local_var_params['offset']))
|
3101
3101
|
if 'limit' in local_var_params:
|
3102
3102
|
query_params.append(('limit', local_var_params['limit']))
|
3103
|
+
if 'type' in local_var_params:
|
3104
|
+
query_params.append(('type', local_var_params['type']))
|
3103
3105
|
|
3104
3106
|
header_params = {}
|
3105
3107
|
if 'x_language' in local_var_params:
|
@@ -3169,6 +3171,8 @@ class DrsClient(Client):
|
|
3169
3171
|
query_params = []
|
3170
3172
|
if 'type' in local_var_params:
|
3171
3173
|
query_params.append(('type', local_var_params['type']))
|
3174
|
+
if 'file_export_object_level' in local_var_params:
|
3175
|
+
query_params.append(('file_export_object_level', local_var_params['file_export_object_level']))
|
3172
3176
|
|
3173
3177
|
header_params = {}
|
3174
3178
|
if 'x_language' in local_var_params:
|
@@ -4256,6 +4260,12 @@ class DrsClient(Client):
|
|
4256
4260
|
query_params.append(('sort_dir', local_var_params['sort_dir']))
|
4257
4261
|
if 'target_name' in local_var_params:
|
4258
4262
|
query_params.append(('target_name', local_var_params['target_name']))
|
4263
|
+
if 'is_sample' in local_var_params:
|
4264
|
+
query_params.append(('is_sample', local_var_params['is_sample']))
|
4265
|
+
if 'error_type' in local_var_params:
|
4266
|
+
query_params.append(('error_type', local_var_params['error_type']))
|
4267
|
+
if 'sql_template_md5' in local_var_params:
|
4268
|
+
query_params.append(('sql_template_md5', local_var_params['sql_template_md5']))
|
4259
4269
|
|
4260
4270
|
header_params = {}
|
4261
4271
|
if 'x_language' in local_var_params:
|
@@ -186,6 +186,7 @@ from huaweicloudsdkdrs.v5.model.query_pre_check_result import QueryPreCheckResul
|
|
186
186
|
from huaweicloudsdkdrs.v5.model.query_select_object_info_req import QuerySelectObjectInfoReq
|
187
187
|
from huaweicloudsdkdrs.v5.model.query_user_selected_object_info_req import QueryUserSelectedObjectInfoReq
|
188
188
|
from huaweicloudsdkdrs.v5.model.replay_config_info import ReplayConfigInfo
|
189
|
+
from huaweicloudsdkdrs.v5.model.replay_error_classification import ReplayErrorClassification
|
189
190
|
from huaweicloudsdkdrs.v5.model.replay_error_sql_resp import ReplayErrorSqlResp
|
190
191
|
from huaweicloudsdkdrs.v5.model.replay_error_sql_template_resp import ReplayErrorSqlTemplateResp
|
191
192
|
from huaweicloudsdkdrs.v5.model.replay_shard_statics_resp import ReplayShardStaticsResp
|
@@ -35,7 +35,7 @@ class ActionReq:
|
|
35
35
|
|
36
36
|
:param job_id: 任务ID (对比任务相关操作,多任务场景传父任务详情返回的master_job_id),批量操作时必填
|
37
37
|
:type job_id: str
|
38
|
-
:param action_name: 操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset
|
38
|
+
:param action_name: 操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset:重置任务,需要先调用预检查接口并且预检查通过率为100%。 - terminate:结束任务。 - skip_precheck:跳过预检查。 - create_compare:创建对比任务。 - cancel_compare:取消对比任务。 - column_limit:字段过滤。 - reload_parameters:重新加载任务参数。 - bind_eip:绑定公网IP。 - unbind_eip:解绑公网IP。 - set_writable:目标库解除只读。 - cloud_connection:录制回放他云连通性测试。 - set_readonly: 灾备任务目标库设置只读。
|
39
39
|
:type action_name: str
|
40
40
|
:param action_params:
|
41
41
|
:type action_params: :class:`huaweicloudsdkdrs.v5.ActionParams`
|
@@ -80,7 +80,7 @@ class ActionReq:
|
|
80
80
|
def action_name(self):
|
81
81
|
"""Gets the action_name of this ActionReq.
|
82
82
|
|
83
|
-
操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset
|
83
|
+
操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset:重置任务,需要先调用预检查接口并且预检查通过率为100%。 - terminate:结束任务。 - skip_precheck:跳过预检查。 - create_compare:创建对比任务。 - cancel_compare:取消对比任务。 - column_limit:字段过滤。 - reload_parameters:重新加载任务参数。 - bind_eip:绑定公网IP。 - unbind_eip:解绑公网IP。 - set_writable:目标库解除只读。 - cloud_connection:录制回放他云连通性测试。 - set_readonly: 灾备任务目标库设置只读。
|
84
84
|
|
85
85
|
:return: The action_name of this ActionReq.
|
86
86
|
:rtype: str
|
@@ -91,7 +91,7 @@ class ActionReq:
|
|
91
91
|
def action_name(self, action_name):
|
92
92
|
"""Sets the action_name of this ActionReq.
|
93
93
|
|
94
|
-
操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset
|
94
|
+
操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset:重置任务,需要先调用预检查接口并且预检查通过率为100%。 - terminate:结束任务。 - skip_precheck:跳过预检查。 - create_compare:创建对比任务。 - cancel_compare:取消对比任务。 - column_limit:字段过滤。 - reload_parameters:重新加载任务参数。 - bind_eip:绑定公网IP。 - unbind_eip:解绑公网IP。 - set_writable:目标库解除只读。 - cloud_connection:录制回放他云连通性测试。 - set_readonly: 灾备任务目标库设置只读。
|
95
95
|
|
96
96
|
:param action_name: The action_name of this ActionReq.
|
97
97
|
:type action_name: str
|
@@ -49,7 +49,7 @@ class BaseEndpoint:
|
|
49
49
|
|
50
50
|
:param id: 数据库信息ID。
|
51
51
|
:type id: str
|
52
|
-
:param endpoint_name: 数据库场景类型。取值: - oracle:云下自建Oracle数据库。 - ecs_oracle:华为云ECS自建Oracle数据库。 - cloud_gaussdbv5:华为云数据库GaussDB分布式。 - mysql:他云/本地自建MySQL数据库。 - ecs_mysql:华为云ECS自建MySQL数据库。 - cloud_mysql:华为云数据库RDS for MySQL。 - redis:云下自建Redis数据。 - ecs_redis:华为云ECS自建Redis数据。 - rediscluster:云下自建Redis集群数据库。 - ecs_rediscluster:华为云ECS自建Redis集群数据库。 - cloud_gaussdb_redis:华为云数据库GeminiDB Redis。
|
52
|
+
:param endpoint_name: 数据库场景类型。取值: - oracle:云下自建Oracle数据库。 - ecs_oracle:华为云ECS自建Oracle数据库。 - cloud_gaussdbv5:华为云数据库GaussDB分布式。 - mysql:他云/本地自建MySQL数据库。 - ecs_mysql:华为云ECS自建MySQL数据库。 - cloud_mysql:华为云数据库RDS for MySQL。 - redis:云下自建Redis数据。 - ecs_redis:华为云ECS自建Redis数据。 - rediscluster:云下自建Redis集群数据库。 - ecs_rediscluster:华为云ECS自建Redis集群数据库。 - cloud_gaussdb_redis:华为云数据库GeminiDB Redis。 - postgresql: 云下自建PostgreSQL数据库。 - ecs_postgresql: 华为云ECS自建PostgreSQL数据库。 - cloud_postgresql: 华为云数据库RDS for PostgreSQL。 - mongodb: 云下自建MongoDB数据库。 - ecs_mongodb: 华为云ECS自建MongoDB数据库。 - cloud_mongodb: 华为云文档数据库服务DDS。
|
53
53
|
:type endpoint_name: str
|
54
54
|
:param ip: 数据库IP。 约束: - 数据库为自建MongoDB时,数据库IP与端口之间用“:”英文冒号拼接,多个值之间请用“,”英文逗号隔开,最多支持填写3个IP地址或域名。 - 数据库为DDS实例时,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔。 - 数据库为Redis集群时,请填写源端Redis集群所有分片的IP地址和对应端口,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔,并且推荐填写集群分片的Slave节点的IP地址。最多支持填写32个IP地址或域名,多个值之间请用英文逗号隔开。 示例: - MySQL:ip - MongoDB:ip:port,ip:port,ip:port - DDS:ip:port,ip:port - Redis集群:ip:port,ip:port
|
55
55
|
:type ip: str
|
@@ -127,7 +127,7 @@ class BaseEndpoint:
|
|
127
127
|
def endpoint_name(self):
|
128
128
|
"""Gets the endpoint_name of this BaseEndpoint.
|
129
129
|
|
130
|
-
数据库场景类型。取值: - oracle:云下自建Oracle数据库。 - ecs_oracle:华为云ECS自建Oracle数据库。 - cloud_gaussdbv5:华为云数据库GaussDB分布式。 - mysql:他云/本地自建MySQL数据库。 - ecs_mysql:华为云ECS自建MySQL数据库。 - cloud_mysql:华为云数据库RDS for MySQL。 - redis:云下自建Redis数据。 - ecs_redis:华为云ECS自建Redis数据。 - rediscluster:云下自建Redis集群数据库。 - ecs_rediscluster:华为云ECS自建Redis集群数据库。 - cloud_gaussdb_redis:华为云数据库GeminiDB Redis。
|
130
|
+
数据库场景类型。取值: - oracle:云下自建Oracle数据库。 - ecs_oracle:华为云ECS自建Oracle数据库。 - cloud_gaussdbv5:华为云数据库GaussDB分布式。 - mysql:他云/本地自建MySQL数据库。 - ecs_mysql:华为云ECS自建MySQL数据库。 - cloud_mysql:华为云数据库RDS for MySQL。 - redis:云下自建Redis数据。 - ecs_redis:华为云ECS自建Redis数据。 - rediscluster:云下自建Redis集群数据库。 - ecs_rediscluster:华为云ECS自建Redis集群数据库。 - cloud_gaussdb_redis:华为云数据库GeminiDB Redis。 - postgresql: 云下自建PostgreSQL数据库。 - ecs_postgresql: 华为云ECS自建PostgreSQL数据库。 - cloud_postgresql: 华为云数据库RDS for PostgreSQL。 - mongodb: 云下自建MongoDB数据库。 - ecs_mongodb: 华为云ECS自建MongoDB数据库。 - cloud_mongodb: 华为云文档数据库服务DDS。
|
131
131
|
|
132
132
|
:return: The endpoint_name of this BaseEndpoint.
|
133
133
|
:rtype: str
|
@@ -138,7 +138,7 @@ class BaseEndpoint:
|
|
138
138
|
def endpoint_name(self, endpoint_name):
|
139
139
|
"""Sets the endpoint_name of this BaseEndpoint.
|
140
140
|
|
141
|
-
数据库场景类型。取值: - oracle:云下自建Oracle数据库。 - ecs_oracle:华为云ECS自建Oracle数据库。 - cloud_gaussdbv5:华为云数据库GaussDB分布式。 - mysql:他云/本地自建MySQL数据库。 - ecs_mysql:华为云ECS自建MySQL数据库。 - cloud_mysql:华为云数据库RDS for MySQL。 - redis:云下自建Redis数据。 - ecs_redis:华为云ECS自建Redis数据。 - rediscluster:云下自建Redis集群数据库。 - ecs_rediscluster:华为云ECS自建Redis集群数据库。 - cloud_gaussdb_redis:华为云数据库GeminiDB Redis。
|
141
|
+
数据库场景类型。取值: - oracle:云下自建Oracle数据库。 - ecs_oracle:华为云ECS自建Oracle数据库。 - cloud_gaussdbv5:华为云数据库GaussDB分布式。 - mysql:他云/本地自建MySQL数据库。 - ecs_mysql:华为云ECS自建MySQL数据库。 - cloud_mysql:华为云数据库RDS for MySQL。 - redis:云下自建Redis数据。 - ecs_redis:华为云ECS自建Redis数据。 - rediscluster:云下自建Redis集群数据库。 - ecs_rediscluster:华为云ECS自建Redis集群数据库。 - cloud_gaussdb_redis:华为云数据库GeminiDB Redis。 - postgresql: 云下自建PostgreSQL数据库。 - ecs_postgresql: 华为云ECS自建PostgreSQL数据库。 - cloud_postgresql: 华为云数据库RDS for PostgreSQL。 - mongodb: 云下自建MongoDB数据库。 - ecs_mongodb: 华为云ECS自建MongoDB数据库。 - cloud_mongodb: 华为云文档数据库服务DDS。
|
142
142
|
|
143
143
|
:param endpoint_name: The endpoint_name of this BaseEndpoint.
|
144
144
|
:type endpoint_name: str
|
@@ -39,7 +39,7 @@ class ContentCompareOverviewInfo:
|
|
39
39
|
:type source_db: str
|
40
40
|
:param target_db: 目标库库名。
|
41
41
|
:type target_db: str
|
42
|
-
:param status: 对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。 - WAIT_FOR_COMPARE
|
42
|
+
:param status: 对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。 - WAIT_FOR_COMPARE:命令已下发,等待对比结果。 - CANCELED:已取消。
|
43
43
|
:type status: str
|
44
44
|
:param compare_result: 对比结果。
|
45
45
|
:type compare_result: bool
|
@@ -110,7 +110,7 @@ class ContentCompareOverviewInfo:
|
|
110
110
|
def status(self):
|
111
111
|
"""Gets the status of this ContentCompareOverviewInfo.
|
112
112
|
|
113
|
-
对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。 - WAIT_FOR_COMPARE
|
113
|
+
对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。 - WAIT_FOR_COMPARE:命令已下发,等待对比结果。 - CANCELED:已取消。
|
114
114
|
|
115
115
|
:return: The status of this ContentCompareOverviewInfo.
|
116
116
|
:rtype: str
|
@@ -121,7 +121,7 @@ class ContentCompareOverviewInfo:
|
|
121
121
|
def status(self, status):
|
122
122
|
"""Sets the status of this ContentCompareOverviewInfo.
|
123
123
|
|
124
|
-
对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。 - WAIT_FOR_COMPARE
|
124
|
+
对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。 - WAIT_FOR_COMPARE:命令已下发,等待对比结果。 - CANCELED:已取消。
|
125
125
|
|
126
126
|
:param status: The status of this ContentCompareOverviewInfo.
|
127
127
|
:type status: str
|
@@ -37,7 +37,7 @@ class DownloadDbObjectTemplateRequest:
|
|
37
37
|
:type job_id: str
|
38
38
|
:param x_language: 请求语言类型。
|
39
39
|
:type x_language: str
|
40
|
-
:param file_import_db_level: 文件模板支持数据同步级别,不填默认为table表级。 - database:库级 - table:表级
|
40
|
+
:param file_import_db_level: 文件模板支持数据同步级别,不填默认为table表级。 - database:库级 - table:表级 - column:列级
|
41
41
|
:type file_import_db_level: str
|
42
42
|
"""
|
43
43
|
|
@@ -102,7 +102,7 @@ class DownloadDbObjectTemplateRequest:
|
|
102
102
|
def file_import_db_level(self):
|
103
103
|
"""Gets the file_import_db_level of this DownloadDbObjectTemplateRequest.
|
104
104
|
|
105
|
-
文件模板支持数据同步级别,不填默认为table表级。 - database:库级 - table:表级
|
105
|
+
文件模板支持数据同步级别,不填默认为table表级。 - database:库级 - table:表级 - column:列级
|
106
106
|
|
107
107
|
:return: The file_import_db_level of this DownloadDbObjectTemplateRequest.
|
108
108
|
:rtype: str
|
@@ -113,7 +113,7 @@ class DownloadDbObjectTemplateRequest:
|
|
113
113
|
def file_import_db_level(self, file_import_db_level):
|
114
114
|
"""Sets the file_import_db_level of this DownloadDbObjectTemplateRequest.
|
115
115
|
|
116
|
-
文件模板支持数据同步级别,不填默认为table表级。 - database:库级 - table:表级
|
116
|
+
文件模板支持数据同步级别,不填默认为table表级。 - database:库级 - table:表级 - column:列级
|
117
117
|
|
118
118
|
:param file_import_db_level: The file_import_db_level of this DownloadDbObjectTemplateRequest.
|
119
119
|
:type file_import_db_level: str
|
@@ -29,7 +29,8 @@ class JobBaseInfo:
|
|
29
29
|
'description': 'str',
|
30
30
|
'start_time': 'str',
|
31
31
|
'expired_days': 'str',
|
32
|
-
'tags': 'list[ResourceTag]'
|
32
|
+
'tags': 'list[ResourceTag]',
|
33
|
+
'is_open_fast_clean': 'bool'
|
33
34
|
}
|
34
35
|
|
35
36
|
attribute_map = {
|
@@ -45,10 +46,11 @@ class JobBaseInfo:
|
|
45
46
|
'description': 'description',
|
46
47
|
'start_time': 'start_time',
|
47
48
|
'expired_days': 'expired_days',
|
48
|
-
'tags': 'tags'
|
49
|
+
'tags': 'tags',
|
50
|
+
'is_open_fast_clean': 'is_open_fast_clean'
|
49
51
|
}
|
50
52
|
|
51
|
-
def __init__(self, name=None, job_type=None, multi_write=None, engine_type=None, job_direction=None, task_type=None, net_type=None, charging_mode=None, enterprise_project_id=None, description=None, start_time=None, expired_days=None, tags=None):
|
53
|
+
def __init__(self, name=None, job_type=None, multi_write=None, engine_type=None, job_direction=None, task_type=None, net_type=None, charging_mode=None, enterprise_project_id=None, description=None, start_time=None, expired_days=None, tags=None, is_open_fast_clean=None):
|
52
54
|
"""JobBaseInfo
|
53
55
|
|
54
56
|
The model defined in huaweicloud sdk
|
@@ -79,6 +81,8 @@ class JobBaseInfo:
|
|
79
81
|
:type expired_days: str
|
80
82
|
:param tags: 标签信息,最多添加10个标签。
|
81
83
|
:type tags: list[:class:`huaweicloudsdkdrs.v5.ResourceTag`]
|
84
|
+
:param is_open_fast_clean: 是否开启云数据库RDS for MySQL/MariaDB的binlog快速清理。
|
85
|
+
:type is_open_fast_clean: bool
|
82
86
|
"""
|
83
87
|
|
84
88
|
|
@@ -96,6 +100,7 @@ class JobBaseInfo:
|
|
96
100
|
self._start_time = None
|
97
101
|
self._expired_days = None
|
98
102
|
self._tags = None
|
103
|
+
self._is_open_fast_clean = None
|
99
104
|
self.discriminator = None
|
100
105
|
|
101
106
|
if name is not None:
|
@@ -124,6 +129,8 @@ class JobBaseInfo:
|
|
124
129
|
self.expired_days = expired_days
|
125
130
|
if tags is not None:
|
126
131
|
self.tags = tags
|
132
|
+
if is_open_fast_clean is not None:
|
133
|
+
self.is_open_fast_clean = is_open_fast_clean
|
127
134
|
|
128
135
|
@property
|
129
136
|
def name(self):
|
@@ -411,6 +418,28 @@ class JobBaseInfo:
|
|
411
418
|
"""
|
412
419
|
self._tags = tags
|
413
420
|
|
421
|
+
@property
|
422
|
+
def is_open_fast_clean(self):
|
423
|
+
"""Gets the is_open_fast_clean of this JobBaseInfo.
|
424
|
+
|
425
|
+
是否开启云数据库RDS for MySQL/MariaDB的binlog快速清理。
|
426
|
+
|
427
|
+
:return: The is_open_fast_clean of this JobBaseInfo.
|
428
|
+
:rtype: bool
|
429
|
+
"""
|
430
|
+
return self._is_open_fast_clean
|
431
|
+
|
432
|
+
@is_open_fast_clean.setter
|
433
|
+
def is_open_fast_clean(self, is_open_fast_clean):
|
434
|
+
"""Sets the is_open_fast_clean of this JobBaseInfo.
|
435
|
+
|
436
|
+
是否开启云数据库RDS for MySQL/MariaDB的binlog快速清理。
|
437
|
+
|
438
|
+
:param is_open_fast_clean: The is_open_fast_clean of this JobBaseInfo.
|
439
|
+
:type is_open_fast_clean: bool
|
440
|
+
"""
|
441
|
+
self._is_open_fast_clean = is_open_fast_clean
|
442
|
+
|
414
443
|
def to_dict(self):
|
415
444
|
"""Returns the model properties as a dict"""
|
416
445
|
result = {}
|