huaweicloudsdkdrs 3.1.94__py2.py3-none-any.whl → 3.1.95__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.
Files changed (60) hide show
  1. huaweicloudsdkdrs/v3/__init__.py +17 -0
  2. huaweicloudsdkdrs/v3/drs_async_client.py +434 -0
  3. huaweicloudsdkdrs/v3/drs_client.py +434 -0
  4. huaweicloudsdkdrs/v3/model/__init__.py +17 -0
  5. huaweicloudsdkdrs/v3/model/batch_job_action_req.py +3 -3
  6. huaweicloudsdkdrs/v3/model/compare_job_content_detail_info.py +202 -0
  7. huaweicloudsdkdrs/v3/model/create_compare_result_file_request.py +196 -0
  8. huaweicloudsdkdrs/v3/model/create_compare_result_file_response.py +116 -0
  9. huaweicloudsdkdrs/v3/model/create_object_compare_job_req.py +115 -0
  10. huaweicloudsdkdrs/v3/model/create_object_level_compare_job_request.py +168 -0
  11. huaweicloudsdkdrs/v3/model/create_object_level_compare_job_response.py +116 -0
  12. huaweicloudsdkdrs/v3/model/download_compare_result_file_request.py +255 -0
  13. huaweicloudsdkdrs/v3/model/download_compare_result_file_response.py +85 -0
  14. huaweicloudsdkdrs/v3/model/endpoint.py +28 -3
  15. huaweicloudsdkdrs/v3/model/export_compare_result_req.py +172 -0
  16. huaweicloudsdkdrs/v3/model/kafka_security.py +290 -29
  17. huaweicloudsdkdrs/v3/model/list_content_compare_detail_request.py +3 -3
  18. huaweicloudsdkdrs/v3/model/list_content_compare_difference_request.py +287 -0
  19. huaweicloudsdkdrs/v3/model/list_content_compare_difference_response.py +232 -0
  20. huaweicloudsdkdrs/v3/model/list_content_compare_overview_request.py +3 -3
  21. huaweicloudsdkdrs/v3/model/list_data_compare_detail_request.py +3 -3
  22. huaweicloudsdkdrs/v3/model/list_data_compare_overview_request.py +3 -3
  23. huaweicloudsdkdrs/v3/model/list_data_level_table_compare_jobs_request.py +3 -3
  24. huaweicloudsdkdrs/v3/model/list_obeject_level_compare_detail_request.py +258 -0
  25. huaweicloudsdkdrs/v3/model/list_obeject_level_compare_detail_response.py +145 -0
  26. huaweicloudsdkdrs/v3/model/list_obeject_level_compare_overview_request.py +143 -0
  27. huaweicloudsdkdrs/v3/model/list_obeject_level_compare_overview_response.py +319 -0
  28. huaweicloudsdkdrs/v3/model/objects_compare_detail_info.py +260 -0
  29. huaweicloudsdkdrs/v3/model/objects_compare_overview_info.py +202 -0
  30. huaweicloudsdkdrs/v5/__init__.py +11 -0
  31. huaweicloudsdkdrs/v5/drs_async_client.py +207 -0
  32. huaweicloudsdkdrs/v5/drs_client.py +207 -0
  33. huaweicloudsdkdrs/v5/model/__init__.py +11 -0
  34. huaweicloudsdkdrs/v5/model/action_params.py +28 -3
  35. huaweicloudsdkdrs/v5/model/action_req.py +3 -3
  36. huaweicloudsdkdrs/v5/model/children_job_list_resp.py +3 -3
  37. huaweicloudsdkdrs/v5/model/compare_result_info.py +28 -3
  38. huaweicloudsdkdrs/v5/model/content_compare_overview_info.py +3 -3
  39. huaweicloudsdkdrs/v5/model/content_diff_detail_info.py +231 -0
  40. huaweicloudsdkdrs/v5/model/content_diff_detail_vo.py +202 -0
  41. huaweicloudsdkdrs/v5/model/health_compare_job.py +9 -9
  42. huaweicloudsdkdrs/v5/model/job_detail_resp.py +32 -3
  43. huaweicloudsdkdrs/v5/model/job_list_resp.py +3 -3
  44. huaweicloudsdkdrs/v5/model/modify_compare_policy_req.py +288 -0
  45. huaweicloudsdkdrs/v5/model/objects_health_compare_overview_info.py +202 -0
  46. huaweicloudsdkdrs/v5/model/replay_config_info.py +282 -0
  47. huaweicloudsdkdrs/v5/model/show_compare_policy_response.py +3 -3
  48. huaweicloudsdkdrs/v5/model/show_health_compare_job_detail_request.py +171 -0
  49. huaweicloudsdkdrs/v5/model/show_health_compare_job_detail_response.py +261 -0
  50. huaweicloudsdkdrs/v5/model/show_health_object_compare_job_overview_request.py +171 -0
  51. huaweicloudsdkdrs/v5/model/show_health_object_compare_job_overview_response.py +116 -0
  52. huaweicloudsdkdrs/v5/model/show_job_detail_request.py +3 -3
  53. huaweicloudsdkdrs/v5/model/update_compare_policy_request.py +168 -0
  54. huaweicloudsdkdrs/v5/model/update_compare_policy_response.py +116 -0
  55. huaweicloudsdkdrs/v5/model/update_job_req.py +3 -3
  56. {huaweicloudsdkdrs-3.1.94.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/METADATA +2 -2
  57. {huaweicloudsdkdrs-3.1.94.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/RECORD +60 -32
  58. {huaweicloudsdkdrs-3.1.94.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/LICENSE +0 -0
  59. {huaweicloudsdkdrs-3.1.94.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/WHEEL +0 -0
  60. {huaweicloudsdkdrs-3.1.94.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,231 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ContentDiffDetailInfo:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'count': 'int',
21
+ 'target_meta_is_null': 'int',
22
+ 'source_meta_is_null': 'int',
23
+ 'source_target_meta_not_null': 'int',
24
+ 'contents_infos': 'list[ContentDiffDetailVO]'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'count': 'count',
29
+ 'target_meta_is_null': 'target_meta_is_null',
30
+ 'source_meta_is_null': 'source_meta_is_null',
31
+ 'source_target_meta_not_null': 'source_target_meta_not_null',
32
+ 'contents_infos': 'contents_infos'
33
+ }
34
+
35
+ def __init__(self, count=None, target_meta_is_null=None, source_meta_is_null=None, source_target_meta_not_null=None, contents_infos=None):
36
+ """ContentDiffDetailInfo
37
+
38
+ The model defined in huaweicloud sdk
39
+
40
+ :param count: 数量。
41
+ :type count: int
42
+ :param target_meta_is_null: 对比不一致详情:只有源库存在。
43
+ :type target_meta_is_null: int
44
+ :param source_meta_is_null: 对比不一致详情:只有目标库存在。
45
+ :type source_meta_is_null: int
46
+ :param source_target_meta_not_null: 对比不一致详情:源和目标端均存在。
47
+ :type source_target_meta_not_null: int
48
+ :param contents_infos: 信息列表。
49
+ :type contents_infos: list[:class:`huaweicloudsdkdrs.v5.ContentDiffDetailVO`]
50
+ """
51
+
52
+
53
+
54
+ self._count = None
55
+ self._target_meta_is_null = None
56
+ self._source_meta_is_null = None
57
+ self._source_target_meta_not_null = None
58
+ self._contents_infos = None
59
+ self.discriminator = None
60
+
61
+ if count is not None:
62
+ self.count = count
63
+ if target_meta_is_null is not None:
64
+ self.target_meta_is_null = target_meta_is_null
65
+ if source_meta_is_null is not None:
66
+ self.source_meta_is_null = source_meta_is_null
67
+ if source_target_meta_not_null is not None:
68
+ self.source_target_meta_not_null = source_target_meta_not_null
69
+ if contents_infos is not None:
70
+ self.contents_infos = contents_infos
71
+
72
+ @property
73
+ def count(self):
74
+ """Gets the count of this ContentDiffDetailInfo.
75
+
76
+ 数量。
77
+
78
+ :return: The count of this ContentDiffDetailInfo.
79
+ :rtype: int
80
+ """
81
+ return self._count
82
+
83
+ @count.setter
84
+ def count(self, count):
85
+ """Sets the count of this ContentDiffDetailInfo.
86
+
87
+ 数量。
88
+
89
+ :param count: The count of this ContentDiffDetailInfo.
90
+ :type count: int
91
+ """
92
+ self._count = count
93
+
94
+ @property
95
+ def target_meta_is_null(self):
96
+ """Gets the target_meta_is_null of this ContentDiffDetailInfo.
97
+
98
+ 对比不一致详情:只有源库存在。
99
+
100
+ :return: The target_meta_is_null of this ContentDiffDetailInfo.
101
+ :rtype: int
102
+ """
103
+ return self._target_meta_is_null
104
+
105
+ @target_meta_is_null.setter
106
+ def target_meta_is_null(self, target_meta_is_null):
107
+ """Sets the target_meta_is_null of this ContentDiffDetailInfo.
108
+
109
+ 对比不一致详情:只有源库存在。
110
+
111
+ :param target_meta_is_null: The target_meta_is_null of this ContentDiffDetailInfo.
112
+ :type target_meta_is_null: int
113
+ """
114
+ self._target_meta_is_null = target_meta_is_null
115
+
116
+ @property
117
+ def source_meta_is_null(self):
118
+ """Gets the source_meta_is_null of this ContentDiffDetailInfo.
119
+
120
+ 对比不一致详情:只有目标库存在。
121
+
122
+ :return: The source_meta_is_null of this ContentDiffDetailInfo.
123
+ :rtype: int
124
+ """
125
+ return self._source_meta_is_null
126
+
127
+ @source_meta_is_null.setter
128
+ def source_meta_is_null(self, source_meta_is_null):
129
+ """Sets the source_meta_is_null of this ContentDiffDetailInfo.
130
+
131
+ 对比不一致详情:只有目标库存在。
132
+
133
+ :param source_meta_is_null: The source_meta_is_null of this ContentDiffDetailInfo.
134
+ :type source_meta_is_null: int
135
+ """
136
+ self._source_meta_is_null = source_meta_is_null
137
+
138
+ @property
139
+ def source_target_meta_not_null(self):
140
+ """Gets the source_target_meta_not_null of this ContentDiffDetailInfo.
141
+
142
+ 对比不一致详情:源和目标端均存在。
143
+
144
+ :return: The source_target_meta_not_null of this ContentDiffDetailInfo.
145
+ :rtype: int
146
+ """
147
+ return self._source_target_meta_not_null
148
+
149
+ @source_target_meta_not_null.setter
150
+ def source_target_meta_not_null(self, source_target_meta_not_null):
151
+ """Sets the source_target_meta_not_null of this ContentDiffDetailInfo.
152
+
153
+ 对比不一致详情:源和目标端均存在。
154
+
155
+ :param source_target_meta_not_null: The source_target_meta_not_null of this ContentDiffDetailInfo.
156
+ :type source_target_meta_not_null: int
157
+ """
158
+ self._source_target_meta_not_null = source_target_meta_not_null
159
+
160
+ @property
161
+ def contents_infos(self):
162
+ """Gets the contents_infos of this ContentDiffDetailInfo.
163
+
164
+ 信息列表。
165
+
166
+ :return: The contents_infos of this ContentDiffDetailInfo.
167
+ :rtype: list[:class:`huaweicloudsdkdrs.v5.ContentDiffDetailVO`]
168
+ """
169
+ return self._contents_infos
170
+
171
+ @contents_infos.setter
172
+ def contents_infos(self, contents_infos):
173
+ """Sets the contents_infos of this ContentDiffDetailInfo.
174
+
175
+ 信息列表。
176
+
177
+ :param contents_infos: The contents_infos of this ContentDiffDetailInfo.
178
+ :type contents_infos: list[:class:`huaweicloudsdkdrs.v5.ContentDiffDetailVO`]
179
+ """
180
+ self._contents_infos = contents_infos
181
+
182
+ def to_dict(self):
183
+ """Returns the model properties as a dict"""
184
+ result = {}
185
+
186
+ for attr, _ in six.iteritems(self.openapi_types):
187
+ value = getattr(self, attr)
188
+ if isinstance(value, list):
189
+ result[attr] = list(map(
190
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
191
+ value
192
+ ))
193
+ elif hasattr(value, "to_dict"):
194
+ result[attr] = value.to_dict()
195
+ elif isinstance(value, dict):
196
+ result[attr] = dict(map(
197
+ lambda item: (item[0], item[1].to_dict())
198
+ if hasattr(item[1], "to_dict") else item,
199
+ value.items()
200
+ ))
201
+ else:
202
+ if attr in self.sensitive_list:
203
+ result[attr] = "****"
204
+ else:
205
+ result[attr] = value
206
+
207
+ return result
208
+
209
+ def to_str(self):
210
+ """Returns the string representation of the model"""
211
+ import simplejson as json
212
+ if six.PY2:
213
+ import sys
214
+ reload(sys)
215
+ sys.setdefaultencoding("utf-8")
216
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
217
+
218
+ def __repr__(self):
219
+ """For `print`"""
220
+ return self.to_str()
221
+
222
+ def __eq__(self, other):
223
+ """Returns true if both objects are equal"""
224
+ if not isinstance(other, ContentDiffDetailInfo):
225
+ return False
226
+
227
+ return self.__dict__ == other.__dict__
228
+
229
+ def __ne__(self, other):
230
+ """Returns true if both objects are not equal"""
231
+ return not self == other
@@ -0,0 +1,202 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ContentDiffDetailVO:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'source_key_value': 'list[str]',
21
+ 'target_key_value': 'list[str]',
22
+ 'source_select_sql': 'str',
23
+ 'target_select_sql': 'str'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'source_key_value': 'source_key_value',
28
+ 'target_key_value': 'target_key_value',
29
+ 'source_select_sql': 'source_select_sql',
30
+ 'target_select_sql': 'target_select_sql'
31
+ }
32
+
33
+ def __init__(self, source_key_value=None, target_key_value=None, source_select_sql=None, target_select_sql=None):
34
+ """ContentDiffDetailVO
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param source_key_value: 源库KEY值。
39
+ :type source_key_value: list[str]
40
+ :param target_key_value: 目标库KEY值。
41
+ :type target_key_value: list[str]
42
+ :param source_select_sql: 查询源库SQL。
43
+ :type source_select_sql: str
44
+ :param target_select_sql: 查询目标库SQL。
45
+ :type target_select_sql: str
46
+ """
47
+
48
+
49
+
50
+ self._source_key_value = None
51
+ self._target_key_value = None
52
+ self._source_select_sql = None
53
+ self._target_select_sql = None
54
+ self.discriminator = None
55
+
56
+ if source_key_value is not None:
57
+ self.source_key_value = source_key_value
58
+ if target_key_value is not None:
59
+ self.target_key_value = target_key_value
60
+ if source_select_sql is not None:
61
+ self.source_select_sql = source_select_sql
62
+ if target_select_sql is not None:
63
+ self.target_select_sql = target_select_sql
64
+
65
+ @property
66
+ def source_key_value(self):
67
+ """Gets the source_key_value of this ContentDiffDetailVO.
68
+
69
+ 源库KEY值。
70
+
71
+ :return: The source_key_value of this ContentDiffDetailVO.
72
+ :rtype: list[str]
73
+ """
74
+ return self._source_key_value
75
+
76
+ @source_key_value.setter
77
+ def source_key_value(self, source_key_value):
78
+ """Sets the source_key_value of this ContentDiffDetailVO.
79
+
80
+ 源库KEY值。
81
+
82
+ :param source_key_value: The source_key_value of this ContentDiffDetailVO.
83
+ :type source_key_value: list[str]
84
+ """
85
+ self._source_key_value = source_key_value
86
+
87
+ @property
88
+ def target_key_value(self):
89
+ """Gets the target_key_value of this ContentDiffDetailVO.
90
+
91
+ 目标库KEY值。
92
+
93
+ :return: The target_key_value of this ContentDiffDetailVO.
94
+ :rtype: list[str]
95
+ """
96
+ return self._target_key_value
97
+
98
+ @target_key_value.setter
99
+ def target_key_value(self, target_key_value):
100
+ """Sets the target_key_value of this ContentDiffDetailVO.
101
+
102
+ 目标库KEY值。
103
+
104
+ :param target_key_value: The target_key_value of this ContentDiffDetailVO.
105
+ :type target_key_value: list[str]
106
+ """
107
+ self._target_key_value = target_key_value
108
+
109
+ @property
110
+ def source_select_sql(self):
111
+ """Gets the source_select_sql of this ContentDiffDetailVO.
112
+
113
+ 查询源库SQL。
114
+
115
+ :return: The source_select_sql of this ContentDiffDetailVO.
116
+ :rtype: str
117
+ """
118
+ return self._source_select_sql
119
+
120
+ @source_select_sql.setter
121
+ def source_select_sql(self, source_select_sql):
122
+ """Sets the source_select_sql of this ContentDiffDetailVO.
123
+
124
+ 查询源库SQL。
125
+
126
+ :param source_select_sql: The source_select_sql of this ContentDiffDetailVO.
127
+ :type source_select_sql: str
128
+ """
129
+ self._source_select_sql = source_select_sql
130
+
131
+ @property
132
+ def target_select_sql(self):
133
+ """Gets the target_select_sql of this ContentDiffDetailVO.
134
+
135
+ 查询目标库SQL。
136
+
137
+ :return: The target_select_sql of this ContentDiffDetailVO.
138
+ :rtype: str
139
+ """
140
+ return self._target_select_sql
141
+
142
+ @target_select_sql.setter
143
+ def target_select_sql(self, target_select_sql):
144
+ """Sets the target_select_sql of this ContentDiffDetailVO.
145
+
146
+ 查询目标库SQL。
147
+
148
+ :param target_select_sql: The target_select_sql of this ContentDiffDetailVO.
149
+ :type target_select_sql: str
150
+ """
151
+ self._target_select_sql = target_select_sql
152
+
153
+ def to_dict(self):
154
+ """Returns the model properties as a dict"""
155
+ result = {}
156
+
157
+ for attr, _ in six.iteritems(self.openapi_types):
158
+ value = getattr(self, attr)
159
+ if isinstance(value, list):
160
+ result[attr] = list(map(
161
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
162
+ value
163
+ ))
164
+ elif hasattr(value, "to_dict"):
165
+ result[attr] = value.to_dict()
166
+ elif isinstance(value, dict):
167
+ result[attr] = dict(map(
168
+ lambda item: (item[0], item[1].to_dict())
169
+ if hasattr(item[1], "to_dict") else item,
170
+ value.items()
171
+ ))
172
+ else:
173
+ if attr in self.sensitive_list:
174
+ result[attr] = "****"
175
+ else:
176
+ result[attr] = value
177
+
178
+ return result
179
+
180
+ def to_str(self):
181
+ """Returns the string representation of the model"""
182
+ import simplejson as json
183
+ if six.PY2:
184
+ import sys
185
+ reload(sys)
186
+ sys.setdefaultencoding("utf-8")
187
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
188
+
189
+ def __repr__(self):
190
+ """For `print`"""
191
+ return self.to_str()
192
+
193
+ def __eq__(self, other):
194
+ """Returns true if both objects are equal"""
195
+ if not isinstance(other, ContentDiffDetailVO):
196
+ return False
197
+
198
+ return self.__dict__ == other.__dict__
199
+
200
+ def __ne__(self, other):
201
+ """Returns true if both objects are not equal"""
202
+ return not self == other
@@ -41,13 +41,13 @@ class HealthCompareJob:
41
41
 
42
42
  :param id: 对比任务ID。
43
43
  :type id: str
44
- :param type: 对比类型。 - object:对象对比 - lines:行对比 - contents:内容对比 - account:用户对比
44
+ :param type: 对比类型: - object_comparison:对象对比。 - lines:行对比。 - account:用户对比。
45
45
  :type type: str
46
46
  :param status: 状态。 - WAITING_FOR_RUNNING:等待启动中 - RUNNING:运行中 - SUCCESSFUL:完成 - FAILED:失败 - CANCELLED:已取消 - TIMEOUT_INTERRUPT:超时中断 - FULL_DOING:全量校验中 - INCRE_DOING:增量校验中
47
47
  :type status: str
48
- :param start_time: 对比开始时间。
48
+ :param start_time: 对比开始时间,UTC时间。
49
49
  :type start_time: str
50
- :param end_time: 对比结束时间。
50
+ :param end_time: 对比结束时间,UTC时间。
51
51
  :type end_time: str
52
52
  :param compute_type: 对比计算资源。
53
53
  :type compute_type: str
@@ -102,7 +102,7 @@ class HealthCompareJob:
102
102
  def type(self):
103
103
  """Gets the type of this HealthCompareJob.
104
104
 
105
- 对比类型。 - object:对象对比 - lines:行对比 - contents:内容对比 - account:用户对比
105
+ 对比类型: - object_comparison:对象对比。 - lines:行对比。 - account:用户对比。
106
106
 
107
107
  :return: The type of this HealthCompareJob.
108
108
  :rtype: str
@@ -113,7 +113,7 @@ class HealthCompareJob:
113
113
  def type(self, type):
114
114
  """Sets the type of this HealthCompareJob.
115
115
 
116
- 对比类型。 - object:对象对比 - lines:行对比 - contents:内容对比 - account:用户对比
116
+ 对比类型: - object_comparison:对象对比。 - lines:行对比。 - account:用户对比。
117
117
 
118
118
  :param type: The type of this HealthCompareJob.
119
119
  :type type: str
@@ -146,7 +146,7 @@ class HealthCompareJob:
146
146
  def start_time(self):
147
147
  """Gets the start_time of this HealthCompareJob.
148
148
 
149
- 对比开始时间。
149
+ 对比开始时间,UTC时间。
150
150
 
151
151
  :return: The start_time of this HealthCompareJob.
152
152
  :rtype: str
@@ -157,7 +157,7 @@ class HealthCompareJob:
157
157
  def start_time(self, start_time):
158
158
  """Sets the start_time of this HealthCompareJob.
159
159
 
160
- 对比开始时间。
160
+ 对比开始时间,UTC时间。
161
161
 
162
162
  :param start_time: The start_time of this HealthCompareJob.
163
163
  :type start_time: str
@@ -168,7 +168,7 @@ class HealthCompareJob:
168
168
  def end_time(self):
169
169
  """Gets the end_time of this HealthCompareJob.
170
170
 
171
- 对比结束时间。
171
+ 对比结束时间,UTC时间。
172
172
 
173
173
  :return: The end_time of this HealthCompareJob.
174
174
  :rtype: str
@@ -179,7 +179,7 @@ class HealthCompareJob:
179
179
  def end_time(self, end_time):
180
180
  """Sets the end_time of this HealthCompareJob.
181
181
 
182
- 对比结束时间。
182
+ 对比结束时间,UTC时间。
183
183
 
184
184
  :param end_time: The end_time of this HealthCompareJob.
185
185
  :type end_time: str
@@ -46,7 +46,8 @@ class JobDetailResp:
46
46
  'connection_management': 'ConnectionManagement',
47
47
  'public_ip_list': 'list[PublicIpConfig]',
48
48
  'bind_public_ip_state': 'str',
49
- 'children': 'list[FailedToBindEipChildInfo]'
49
+ 'children': 'list[FailedToBindEipChildInfo]',
50
+ 'is_writable': 'str'
50
51
  }
51
52
 
52
53
  attribute_map = {
@@ -79,10 +80,11 @@ class JobDetailResp:
79
80
  'connection_management': 'connection_management',
80
81
  'public_ip_list': 'public_ip_list',
81
82
  'bind_public_ip_state': 'bind_public_ip_state',
82
- 'children': 'children'
83
+ 'children': 'children',
84
+ 'is_writable': 'is_writable'
83
85
  }
84
86
 
85
- def __init__(self, id=None, status=None, create_time=None, total_count=None, master_job_id=None, base_info=None, source_endpoint=None, target_endpoint=None, alarm_notify=None, speed_limit=None, user_migration=None, policy_config=None, db_param=None, tuning_params=None, period_order=None, node_info=None, logs=None, network_results=None, precheck_result=None, progress_info=None, migration_object_progress_info=None, metrics=None, compare_result=None, support_import_file_resp=None, instance_features=None, task_version=None, connection_management=None, public_ip_list=None, bind_public_ip_state=None, children=None):
87
+ def __init__(self, id=None, status=None, create_time=None, total_count=None, master_job_id=None, base_info=None, source_endpoint=None, target_endpoint=None, alarm_notify=None, speed_limit=None, user_migration=None, policy_config=None, db_param=None, tuning_params=None, period_order=None, node_info=None, logs=None, network_results=None, precheck_result=None, progress_info=None, migration_object_progress_info=None, metrics=None, compare_result=None, support_import_file_resp=None, instance_features=None, task_version=None, connection_management=None, public_ip_list=None, bind_public_ip_state=None, children=None, is_writable=None):
86
88
  """JobDetailResp
87
89
 
88
90
  The model defined in huaweicloud sdk
@@ -147,6 +149,8 @@ class JobDetailResp:
147
149
  :type bind_public_ip_state: str
148
150
  :param children: 多任务时,存在子任务绑定失败时,返回子任务的信息
149
151
  :type children: list[:class:`huaweicloudsdkdrs.v5.FailedToBindEipChildInfo`]
152
+ :param is_writable: 解除目标库只读操作后,目标库解除只读是否成功。 - pending:目标库解除操作进行中。 - success:目标库解除只读操作成功。
153
+ :type is_writable: str
150
154
  """
151
155
 
152
156
 
@@ -181,6 +185,7 @@ class JobDetailResp:
181
185
  self._public_ip_list = None
182
186
  self._bind_public_ip_state = None
183
187
  self._children = None
188
+ self._is_writable = None
184
189
  self.discriminator = None
185
190
 
186
191
  if id is not None:
@@ -243,6 +248,8 @@ class JobDetailResp:
243
248
  self.bind_public_ip_state = bind_public_ip_state
244
249
  if children is not None:
245
250
  self.children = children
251
+ if is_writable is not None:
252
+ self.is_writable = is_writable
246
253
 
247
254
  @property
248
255
  def id(self):
@@ -844,6 +851,28 @@ class JobDetailResp:
844
851
  """
845
852
  self._children = children
846
853
 
854
+ @property
855
+ def is_writable(self):
856
+ """Gets the is_writable of this JobDetailResp.
857
+
858
+ 解除目标库只读操作后,目标库解除只读是否成功。 - pending:目标库解除操作进行中。 - success:目标库解除只读操作成功。
859
+
860
+ :return: The is_writable of this JobDetailResp.
861
+ :rtype: str
862
+ """
863
+ return self._is_writable
864
+
865
+ @is_writable.setter
866
+ def is_writable(self, is_writable):
867
+ """Sets the is_writable of this JobDetailResp.
868
+
869
+ 解除目标库只读操作后,目标库解除只读是否成功。 - pending:目标库解除操作进行中。 - success:目标库解除只读操作成功。
870
+
871
+ :param is_writable: The is_writable of this JobDetailResp.
872
+ :type is_writable: str
873
+ """
874
+ self._is_writable = is_writable
875
+
847
876
  def to_dict(self):
848
877
  """Returns the model properties as a dict"""
849
878
  result = {}
@@ -71,7 +71,7 @@ class JobListResp:
71
71
  :type id: str
72
72
  :param name: 任务名称。
73
73
  :type name: str
74
- :param status: 任务状态。取值: - CREATING:创建中。 - CREATE_FAILED:创建失败。 - CONFIGURATION:配置中。 - STARTJOBING:启动中。 - WAITING_FOR_START:等待启动中。 - START_JOB_FAILED:任务启动失败。 - FULL_TRANSFER_STARTED:全量迁移中 灾备场景为初始化。 - FULL_TRANSFER_FAILED:全量迁移失败 灾备场景为初始化失败。 - FULL_TRANSFER_COMPLETE:全量迁移完成 灾备场景为初始化完成。 - INCRE_TRANSFER_STARTED:增量迁移中 灾备场景为灾备中。 - INCRE_TRANSFER_FAILED:增量迁移失败 灾备场景为灾备异常。 - RELEASE_RESOURCE_STARTED:结束任务中。 - RELEASE_RESOURCE_FAILED:结束任务失败。 - RELEASE_RESOURCE_COMPLETE:已结束。 - CHANGE_JOB_STARTED:任务变更中。 - CHANGE_JOB_FAILED:任务变更失败。 - CHILD_TRANSFER_STARTING:子任务启动中。 - CHILD_TRANSFER_STARTED:子任务迁移中。 - CHILD_TRANSFER_COMPLETE:子任务迁移完成。 - CHILD_TRANSFER_FAILED:子任务迁移失败。 - RELEASE_CHILD_TRANSFER_STARTED:子任务结束中。 - RELEASE_CHILD_TRANSFER_COMPLETE:子任务已结束。
74
+ :param status: 任务状态。取值: - CREATING:创建中。 - CREATE_FAILED:创建失败。 - CONFIGURATION:配置中。 - STARTJOBING:启动中。 - WAITING_FOR_START:等待启动中。 - START_JOB_FAILED:任务启动失败。 - FULL_TRANSFER_STARTED:全量迁移中,灾备场景为初始化。 - FULL_TRANSFER_FAILED:全量迁移失败,灾备场景为初始化失败。 - FULL_TRANSFER_COMPLETE:全量迁移完成,灾备场景为初始化完成。 - INCRE_TRANSFER_STARTED:增量迁移中,灾备场景为灾备中。 - INCRE_TRANSFER_FAILED:增量迁移失败,灾备场景为灾备异常。 - RELEASE_RESOURCE_STARTED:结束任务中。 - RELEASE_RESOURCE_FAILED:结束任务失败。 - RELEASE_RESOURCE_COMPLETE:已结束。 - CHANGE_JOB_STARTED:任务变更中。 - CHANGE_JOB_FAILED:任务变更失败。 - CHILD_TRANSFER_STARTING:子任务启动中。 - CHILD_TRANSFER_STARTED:子任务迁移中。 - CHILD_TRANSFER_COMPLETE:子任务迁移完成。 - CHILD_TRANSFER_FAILED:子任务迁移失败。 - RELEASE_CHILD_TRANSFER_STARTED:子任务结束中。 - RELEASE_CHILD_TRANSFER_COMPLETE:子任务已结束。
75
75
  :type status: str
76
76
  :param description: 任务描述。
77
77
  :type description: str
@@ -203,7 +203,7 @@ class JobListResp:
203
203
  def status(self):
204
204
  """Gets the status of this JobListResp.
205
205
 
206
- 任务状态。取值: - CREATING:创建中。 - CREATE_FAILED:创建失败。 - CONFIGURATION:配置中。 - STARTJOBING:启动中。 - WAITING_FOR_START:等待启动中。 - START_JOB_FAILED:任务启动失败。 - FULL_TRANSFER_STARTED:全量迁移中 灾备场景为初始化。 - FULL_TRANSFER_FAILED:全量迁移失败 灾备场景为初始化失败。 - FULL_TRANSFER_COMPLETE:全量迁移完成 灾备场景为初始化完成。 - INCRE_TRANSFER_STARTED:增量迁移中 灾备场景为灾备中。 - INCRE_TRANSFER_FAILED:增量迁移失败 灾备场景为灾备异常。 - RELEASE_RESOURCE_STARTED:结束任务中。 - RELEASE_RESOURCE_FAILED:结束任务失败。 - RELEASE_RESOURCE_COMPLETE:已结束。 - CHANGE_JOB_STARTED:任务变更中。 - CHANGE_JOB_FAILED:任务变更失败。 - CHILD_TRANSFER_STARTING:子任务启动中。 - CHILD_TRANSFER_STARTED:子任务迁移中。 - CHILD_TRANSFER_COMPLETE:子任务迁移完成。 - CHILD_TRANSFER_FAILED:子任务迁移失败。 - RELEASE_CHILD_TRANSFER_STARTED:子任务结束中。 - RELEASE_CHILD_TRANSFER_COMPLETE:子任务已结束。
206
+ 任务状态。取值: - CREATING:创建中。 - CREATE_FAILED:创建失败。 - CONFIGURATION:配置中。 - STARTJOBING:启动中。 - WAITING_FOR_START:等待启动中。 - START_JOB_FAILED:任务启动失败。 - FULL_TRANSFER_STARTED:全量迁移中,灾备场景为初始化。 - FULL_TRANSFER_FAILED:全量迁移失败,灾备场景为初始化失败。 - FULL_TRANSFER_COMPLETE:全量迁移完成,灾备场景为初始化完成。 - INCRE_TRANSFER_STARTED:增量迁移中,灾备场景为灾备中。 - INCRE_TRANSFER_FAILED:增量迁移失败,灾备场景为灾备异常。 - RELEASE_RESOURCE_STARTED:结束任务中。 - RELEASE_RESOURCE_FAILED:结束任务失败。 - RELEASE_RESOURCE_COMPLETE:已结束。 - CHANGE_JOB_STARTED:任务变更中。 - CHANGE_JOB_FAILED:任务变更失败。 - CHILD_TRANSFER_STARTING:子任务启动中。 - CHILD_TRANSFER_STARTED:子任务迁移中。 - CHILD_TRANSFER_COMPLETE:子任务迁移完成。 - CHILD_TRANSFER_FAILED:子任务迁移失败。 - RELEASE_CHILD_TRANSFER_STARTED:子任务结束中。 - RELEASE_CHILD_TRANSFER_COMPLETE:子任务已结束。
207
207
 
208
208
  :return: The status of this JobListResp.
209
209
  :rtype: str
@@ -214,7 +214,7 @@ class JobListResp:
214
214
  def status(self, status):
215
215
  """Sets the status of this JobListResp.
216
216
 
217
- 任务状态。取值: - CREATING:创建中。 - CREATE_FAILED:创建失败。 - CONFIGURATION:配置中。 - STARTJOBING:启动中。 - WAITING_FOR_START:等待启动中。 - START_JOB_FAILED:任务启动失败。 - FULL_TRANSFER_STARTED:全量迁移中 灾备场景为初始化。 - FULL_TRANSFER_FAILED:全量迁移失败 灾备场景为初始化失败。 - FULL_TRANSFER_COMPLETE:全量迁移完成 灾备场景为初始化完成。 - INCRE_TRANSFER_STARTED:增量迁移中 灾备场景为灾备中。 - INCRE_TRANSFER_FAILED:增量迁移失败 灾备场景为灾备异常。 - RELEASE_RESOURCE_STARTED:结束任务中。 - RELEASE_RESOURCE_FAILED:结束任务失败。 - RELEASE_RESOURCE_COMPLETE:已结束。 - CHANGE_JOB_STARTED:任务变更中。 - CHANGE_JOB_FAILED:任务变更失败。 - CHILD_TRANSFER_STARTING:子任务启动中。 - CHILD_TRANSFER_STARTED:子任务迁移中。 - CHILD_TRANSFER_COMPLETE:子任务迁移完成。 - CHILD_TRANSFER_FAILED:子任务迁移失败。 - RELEASE_CHILD_TRANSFER_STARTED:子任务结束中。 - RELEASE_CHILD_TRANSFER_COMPLETE:子任务已结束。
217
+ 任务状态。取值: - CREATING:创建中。 - CREATE_FAILED:创建失败。 - CONFIGURATION:配置中。 - STARTJOBING:启动中。 - WAITING_FOR_START:等待启动中。 - START_JOB_FAILED:任务启动失败。 - FULL_TRANSFER_STARTED:全量迁移中,灾备场景为初始化。 - FULL_TRANSFER_FAILED:全量迁移失败,灾备场景为初始化失败。 - FULL_TRANSFER_COMPLETE:全量迁移完成,灾备场景为初始化完成。 - INCRE_TRANSFER_STARTED:增量迁移中,灾备场景为灾备中。 - INCRE_TRANSFER_FAILED:增量迁移失败,灾备场景为灾备异常。 - RELEASE_RESOURCE_STARTED:结束任务中。 - RELEASE_RESOURCE_FAILED:结束任务失败。 - RELEASE_RESOURCE_COMPLETE:已结束。 - CHANGE_JOB_STARTED:任务变更中。 - CHANGE_JOB_FAILED:任务变更失败。 - CHILD_TRANSFER_STARTING:子任务启动中。 - CHILD_TRANSFER_STARTED:子任务迁移中。 - CHILD_TRANSFER_COMPLETE:子任务迁移完成。 - CHILD_TRANSFER_FAILED:子任务迁移失败。 - RELEASE_CHILD_TRANSFER_STARTED:子任务结束中。 - RELEASE_CHILD_TRANSFER_COMPLETE:子任务已结束。
218
218
 
219
219
  :param status: The status of this JobListResp.
220
220
  :type status: str