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,116 @@
|
|
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 DeleteUserJdbcDriverResponse(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
|
+
'body': 'object'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'body': 'body'
|
26
|
+
}
|
27
|
+
|
28
|
+
def __init__(self, body=None):
|
29
|
+
"""DeleteUserJdbcDriverResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param body: 空响应体。
|
34
|
+
:type body: object
|
35
|
+
"""
|
36
|
+
|
37
|
+
super(DeleteUserJdbcDriverResponse, self).__init__()
|
38
|
+
|
39
|
+
self._body = None
|
40
|
+
self.discriminator = None
|
41
|
+
|
42
|
+
if body is not None:
|
43
|
+
self.body = body
|
44
|
+
|
45
|
+
@property
|
46
|
+
def body(self):
|
47
|
+
"""Gets the body of this DeleteUserJdbcDriverResponse.
|
48
|
+
|
49
|
+
空响应体。
|
50
|
+
|
51
|
+
:return: The body of this DeleteUserJdbcDriverResponse.
|
52
|
+
:rtype: object
|
53
|
+
"""
|
54
|
+
return self._body
|
55
|
+
|
56
|
+
@body.setter
|
57
|
+
def body(self, body):
|
58
|
+
"""Sets the body of this DeleteUserJdbcDriverResponse.
|
59
|
+
|
60
|
+
空响应体。
|
61
|
+
|
62
|
+
:param body: The body of this DeleteUserJdbcDriverResponse.
|
63
|
+
:type body: object
|
64
|
+
"""
|
65
|
+
self._body = body
|
66
|
+
|
67
|
+
def to_dict(self):
|
68
|
+
"""Returns the model properties as a dict"""
|
69
|
+
result = {}
|
70
|
+
|
71
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
72
|
+
value = getattr(self, attr)
|
73
|
+
if isinstance(value, list):
|
74
|
+
result[attr] = list(map(
|
75
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
76
|
+
value
|
77
|
+
))
|
78
|
+
elif hasattr(value, "to_dict"):
|
79
|
+
result[attr] = value.to_dict()
|
80
|
+
elif isinstance(value, dict):
|
81
|
+
result[attr] = dict(map(
|
82
|
+
lambda item: (item[0], item[1].to_dict())
|
83
|
+
if hasattr(item[1], "to_dict") else item,
|
84
|
+
value.items()
|
85
|
+
))
|
86
|
+
else:
|
87
|
+
if attr in self.sensitive_list:
|
88
|
+
result[attr] = "****"
|
89
|
+
else:
|
90
|
+
result[attr] = value
|
91
|
+
|
92
|
+
return result
|
93
|
+
|
94
|
+
def to_str(self):
|
95
|
+
"""Returns the string representation of the model"""
|
96
|
+
import simplejson as json
|
97
|
+
if six.PY2:
|
98
|
+
import sys
|
99
|
+
reload(sys)
|
100
|
+
sys.setdefaultencoding("utf-8")
|
101
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
102
|
+
|
103
|
+
def __repr__(self):
|
104
|
+
"""For `print`"""
|
105
|
+
return self.to_str()
|
106
|
+
|
107
|
+
def __eq__(self, other):
|
108
|
+
"""Returns true if both objects are equal"""
|
109
|
+
if not isinstance(other, DeleteUserJdbcDriverResponse):
|
110
|
+
return False
|
111
|
+
|
112
|
+
return self.__dict__ == other.__dict__
|
113
|
+
|
114
|
+
def __ne__(self, other):
|
115
|
+
"""Returns true if both objects are not equal"""
|
116
|
+
return not self == other
|
@@ -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
|
@@ -0,0 +1,144 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class FailedToBindEipChildInfo:
|
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
|
+
'id': 'str',
|
21
|
+
'name': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'id': 'id',
|
26
|
+
'name': 'name'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, id=None, name=None):
|
30
|
+
"""FailedToBindEipChildInfo
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param id: 子任务ID
|
35
|
+
:type id: str
|
36
|
+
:param name: 子任务名称
|
37
|
+
:type name: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._id = None
|
43
|
+
self._name = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
if id is not None:
|
47
|
+
self.id = id
|
48
|
+
if name is not None:
|
49
|
+
self.name = name
|
50
|
+
|
51
|
+
@property
|
52
|
+
def id(self):
|
53
|
+
"""Gets the id of this FailedToBindEipChildInfo.
|
54
|
+
|
55
|
+
子任务ID
|
56
|
+
|
57
|
+
:return: The id of this FailedToBindEipChildInfo.
|
58
|
+
:rtype: str
|
59
|
+
"""
|
60
|
+
return self._id
|
61
|
+
|
62
|
+
@id.setter
|
63
|
+
def id(self, id):
|
64
|
+
"""Sets the id of this FailedToBindEipChildInfo.
|
65
|
+
|
66
|
+
子任务ID
|
67
|
+
|
68
|
+
:param id: The id of this FailedToBindEipChildInfo.
|
69
|
+
:type id: str
|
70
|
+
"""
|
71
|
+
self._id = id
|
72
|
+
|
73
|
+
@property
|
74
|
+
def name(self):
|
75
|
+
"""Gets the name of this FailedToBindEipChildInfo.
|
76
|
+
|
77
|
+
子任务名称
|
78
|
+
|
79
|
+
:return: The name of this FailedToBindEipChildInfo.
|
80
|
+
:rtype: str
|
81
|
+
"""
|
82
|
+
return self._name
|
83
|
+
|
84
|
+
@name.setter
|
85
|
+
def name(self, name):
|
86
|
+
"""Sets the name of this FailedToBindEipChildInfo.
|
87
|
+
|
88
|
+
子任务名称
|
89
|
+
|
90
|
+
:param name: The name of this FailedToBindEipChildInfo.
|
91
|
+
:type name: str
|
92
|
+
"""
|
93
|
+
self._name = name
|
94
|
+
|
95
|
+
def to_dict(self):
|
96
|
+
"""Returns the model properties as a dict"""
|
97
|
+
result = {}
|
98
|
+
|
99
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
100
|
+
value = getattr(self, attr)
|
101
|
+
if isinstance(value, list):
|
102
|
+
result[attr] = list(map(
|
103
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
104
|
+
value
|
105
|
+
))
|
106
|
+
elif hasattr(value, "to_dict"):
|
107
|
+
result[attr] = value.to_dict()
|
108
|
+
elif isinstance(value, dict):
|
109
|
+
result[attr] = dict(map(
|
110
|
+
lambda item: (item[0], item[1].to_dict())
|
111
|
+
if hasattr(item[1], "to_dict") else item,
|
112
|
+
value.items()
|
113
|
+
))
|
114
|
+
else:
|
115
|
+
if attr in self.sensitive_list:
|
116
|
+
result[attr] = "****"
|
117
|
+
else:
|
118
|
+
result[attr] = value
|
119
|
+
|
120
|
+
return result
|
121
|
+
|
122
|
+
def to_str(self):
|
123
|
+
"""Returns the string representation of the model"""
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
"""For `print`"""
|
133
|
+
return self.to_str()
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
"""Returns true if both objects are equal"""
|
137
|
+
if not isinstance(other, FailedToBindEipChildInfo):
|
138
|
+
return False
|
139
|
+
|
140
|
+
return self.__dict__ == other.__dict__
|
141
|
+
|
142
|
+
def __ne__(self, other):
|
143
|
+
"""Returns true if both objects are not equal"""
|
144
|
+
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:
|
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
|
-
|
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
|
-
|
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
|
@@ -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
|
@@ -59,7 +61,7 @@ class JobBaseInfo:
|
|
59
61
|
:type job_type: str
|
60
62
|
:param multi_write: 灾备类型是否双主灾备。说明: - job_type 是cloudDataGuard时,必填,灾备类型是双主灾备时,multi_write取值true, 否则为false。 - job_type 是其他类型时,multi_write是非必选参数。
|
61
63
|
:type multi_write: bool
|
62
|
-
:param engine_type: 引擎类型。取值: - oracle-to-gaussdbv5:Oracle同步到GaussDB分布式版,实时同步场景使用。 - redis-to-gaussredis:Redis同步到GeminiDB Redis,实时迁移场景使用。 - rediscluster-to-gaussredis:Redis集群同步到GeminiDB Redis,实时迁移场景使用。
|
64
|
+
:param engine_type: 引擎类型。取值: - oracle-to-gaussdbv5:Oracle同步到GaussDB分布式版,实时同步场景使用。 - redis-to-gaussredis:Redis同步到GeminiDB Redis,实时迁移场景使用。 - rediscluster-to-gaussredis:Redis集群同步到GeminiDB Redis,实时迁移场景使用。 - mysql-to-mysql:MySQL同步到MySQL,实时同步场景使用。
|
63
65
|
:type engine_type: str
|
64
66
|
:param job_direction: 迁移方向。取值: - up:入云 ,灾备场景时对应本云为备。 - down:出云,灾备场景时对应本云为主。 - non-dbs:自建。
|
65
67
|
:type job_direction: str
|
@@ -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):
|
@@ -195,7 +202,7 @@ class JobBaseInfo:
|
|
195
202
|
def engine_type(self):
|
196
203
|
"""Gets the engine_type of this JobBaseInfo.
|
197
204
|
|
198
|
-
引擎类型。取值: - oracle-to-gaussdbv5:Oracle同步到GaussDB分布式版,实时同步场景使用。 - redis-to-gaussredis:Redis同步到GeminiDB Redis,实时迁移场景使用。 - rediscluster-to-gaussredis:Redis集群同步到GeminiDB Redis,实时迁移场景使用。
|
205
|
+
引擎类型。取值: - oracle-to-gaussdbv5:Oracle同步到GaussDB分布式版,实时同步场景使用。 - redis-to-gaussredis:Redis同步到GeminiDB Redis,实时迁移场景使用。 - rediscluster-to-gaussredis:Redis集群同步到GeminiDB Redis,实时迁移场景使用。 - mysql-to-mysql:MySQL同步到MySQL,实时同步场景使用。
|
199
206
|
|
200
207
|
:return: The engine_type of this JobBaseInfo.
|
201
208
|
:rtype: str
|
@@ -206,7 +213,7 @@ class JobBaseInfo:
|
|
206
213
|
def engine_type(self, engine_type):
|
207
214
|
"""Sets the engine_type of this JobBaseInfo.
|
208
215
|
|
209
|
-
引擎类型。取值: - oracle-to-gaussdbv5:Oracle同步到GaussDB分布式版,实时同步场景使用。 - redis-to-gaussredis:Redis同步到GeminiDB Redis,实时迁移场景使用。 - rediscluster-to-gaussredis:Redis集群同步到GeminiDB Redis,实时迁移场景使用。
|
216
|
+
引擎类型。取值: - oracle-to-gaussdbv5:Oracle同步到GaussDB分布式版,实时同步场景使用。 - redis-to-gaussredis:Redis同步到GeminiDB Redis,实时迁移场景使用。 - rediscluster-to-gaussredis:Redis集群同步到GeminiDB Redis,实时迁移场景使用。 - mysql-to-mysql:MySQL同步到MySQL,实时同步场景使用。
|
210
217
|
|
211
218
|
:param engine_type: The engine_type of this JobBaseInfo.
|
212
219
|
:type engine_type: str
|
@@ -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 = {}
|
@@ -43,7 +43,11 @@ class JobDetailResp:
|
|
43
43
|
'support_import_file_resp': 'SupportImportFileResult',
|
44
44
|
'instance_features': 'dict(str, str)',
|
45
45
|
'task_version': 'str',
|
46
|
-
'connection_management': 'ConnectionManagement'
|
46
|
+
'connection_management': 'ConnectionManagement',
|
47
|
+
'public_ip_list': 'list[PublicIpConfig]',
|
48
|
+
'bind_public_ip_state': 'str',
|
49
|
+
'children': 'list[FailedToBindEipChildInfo]',
|
50
|
+
'is_writable': 'str'
|
47
51
|
}
|
48
52
|
|
49
53
|
attribute_map = {
|
@@ -73,17 +77,21 @@ class JobDetailResp:
|
|
73
77
|
'support_import_file_resp': 'support_import_file_resp',
|
74
78
|
'instance_features': 'instance_features',
|
75
79
|
'task_version': 'task_version',
|
76
|
-
'connection_management': 'connection_management'
|
80
|
+
'connection_management': 'connection_management',
|
81
|
+
'public_ip_list': 'public_ip_list',
|
82
|
+
'bind_public_ip_state': 'bind_public_ip_state',
|
83
|
+
'children': 'children',
|
84
|
+
'is_writable': 'is_writable'
|
77
85
|
}
|
78
86
|
|
79
|
-
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):
|
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):
|
80
88
|
"""JobDetailResp
|
81
89
|
|
82
90
|
The model defined in huaweicloud sdk
|
83
91
|
|
84
92
|
:param id: 任务ID。
|
85
93
|
:type id: str
|
86
|
-
:param status: 任务状态。
|
94
|
+
:param status: 任务状态。 - CREATING:创建中 - CREATE_FAILED:创建失败 - CONFIGURATION:配置中 - STARTJOBING:启动中 - WAITING_FOR_START:等待启动中 - START_JOB_FAILED:启动失败 - PAUSING:已暂停 - FULL_TRANSFER_STARTED:全量开始,灾备场景下为初始化 - FULL_TRANSFER_FAILED:全量失败,灾备场景下为初始化失败 - FULL_TRANSFER_COMPLETE:全量完成,灾备场景下为初始化完成 - INCRE_TRANSFER_STARTED:增量开始,灾备场景下为灾备中 - INCRE_TRANSFER_FAILED:增量失败,灾备场景下为灾备异常 - RELEASE_RESOURCE_STARTED:结束任务中 - RELEASE_RESOURCE_FAILED:结束任务失败 - RELEASE_RESOURCE_COMPLETE:已结束 - REBUILD_NODE_STARTED:故障恢复中 - REBUILD_NODE_FAILED:故障恢复失败 - CHANGE_JOB_STARTED:任务变更中 - CHANGE_JOB_FAILED:任务变更失败 - DELETED:已删除 - CHILD_TRANSFER_STARTING:再编辑子任务启动中 - CHILD_TRANSFER_STARTED:再编辑子任务迁移中 - CHILD_TRANSFER_COMPLETE:再编辑子任务迁移完成 - CHILD_TRANSFER_FAILED:再编辑子任务迁移失败 - RELEASE_CHILD_TRANSFER_STARTED:再编辑子任务结束中 - RELEASE_CHILD_TRANSFER_COMPLETE:再编辑子任务已结束 - NODE_UPGRADE_START:升级开始 - NODE_UPGRADE_COMPLETE:升级完成 - NODE_UPGRADE_FAILED:升级失败
|
87
95
|
:type status: str
|
88
96
|
:param create_time: 任务创建时间。
|
89
97
|
:type create_time: str
|
@@ -135,6 +143,14 @@ class JobDetailResp:
|
|
135
143
|
:type task_version: str
|
136
144
|
:param connection_management:
|
137
145
|
:type connection_management: :class:`huaweicloudsdkdrs.v5.ConnectionManagement`
|
146
|
+
:param public_ip_list: 指定公网IP的信息
|
147
|
+
:type public_ip_list: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`]
|
148
|
+
:param bind_public_ip_state: 是否成功绑定公网IP
|
149
|
+
:type bind_public_ip_state: str
|
150
|
+
:param children: 多任务时,存在子任务绑定失败时,返回子任务的信息
|
151
|
+
:type children: list[:class:`huaweicloudsdkdrs.v5.FailedToBindEipChildInfo`]
|
152
|
+
:param is_writable: 解除目标库只读操作后,目标库解除只读是否成功。 - pending:目标库解除操作进行中。 - success:目标库解除只读操作成功。
|
153
|
+
:type is_writable: str
|
138
154
|
"""
|
139
155
|
|
140
156
|
|
@@ -166,6 +182,10 @@ class JobDetailResp:
|
|
166
182
|
self._instance_features = None
|
167
183
|
self._task_version = None
|
168
184
|
self._connection_management = None
|
185
|
+
self._public_ip_list = None
|
186
|
+
self._bind_public_ip_state = None
|
187
|
+
self._children = None
|
188
|
+
self._is_writable = None
|
169
189
|
self.discriminator = None
|
170
190
|
|
171
191
|
if id is not None:
|
@@ -222,6 +242,14 @@ class JobDetailResp:
|
|
222
242
|
self.task_version = task_version
|
223
243
|
if connection_management is not None:
|
224
244
|
self.connection_management = connection_management
|
245
|
+
if public_ip_list is not None:
|
246
|
+
self.public_ip_list = public_ip_list
|
247
|
+
if bind_public_ip_state is not None:
|
248
|
+
self.bind_public_ip_state = bind_public_ip_state
|
249
|
+
if children is not None:
|
250
|
+
self.children = children
|
251
|
+
if is_writable is not None:
|
252
|
+
self.is_writable = is_writable
|
225
253
|
|
226
254
|
@property
|
227
255
|
def id(self):
|
@@ -249,7 +277,7 @@ class JobDetailResp:
|
|
249
277
|
def status(self):
|
250
278
|
"""Gets the status of this JobDetailResp.
|
251
279
|
|
252
|
-
任务状态。
|
280
|
+
任务状态。 - CREATING:创建中 - CREATE_FAILED:创建失败 - CONFIGURATION:配置中 - STARTJOBING:启动中 - WAITING_FOR_START:等待启动中 - START_JOB_FAILED:启动失败 - PAUSING:已暂停 - FULL_TRANSFER_STARTED:全量开始,灾备场景下为初始化 - FULL_TRANSFER_FAILED:全量失败,灾备场景下为初始化失败 - FULL_TRANSFER_COMPLETE:全量完成,灾备场景下为初始化完成 - INCRE_TRANSFER_STARTED:增量开始,灾备场景下为灾备中 - INCRE_TRANSFER_FAILED:增量失败,灾备场景下为灾备异常 - RELEASE_RESOURCE_STARTED:结束任务中 - RELEASE_RESOURCE_FAILED:结束任务失败 - RELEASE_RESOURCE_COMPLETE:已结束 - REBUILD_NODE_STARTED:故障恢复中 - REBUILD_NODE_FAILED:故障恢复失败 - CHANGE_JOB_STARTED:任务变更中 - CHANGE_JOB_FAILED:任务变更失败 - DELETED:已删除 - CHILD_TRANSFER_STARTING:再编辑子任务启动中 - CHILD_TRANSFER_STARTED:再编辑子任务迁移中 - CHILD_TRANSFER_COMPLETE:再编辑子任务迁移完成 - CHILD_TRANSFER_FAILED:再编辑子任务迁移失败 - RELEASE_CHILD_TRANSFER_STARTED:再编辑子任务结束中 - RELEASE_CHILD_TRANSFER_COMPLETE:再编辑子任务已结束 - NODE_UPGRADE_START:升级开始 - NODE_UPGRADE_COMPLETE:升级完成 - NODE_UPGRADE_FAILED:升级失败
|
253
281
|
|
254
282
|
:return: The status of this JobDetailResp.
|
255
283
|
:rtype: str
|
@@ -260,7 +288,7 @@ class JobDetailResp:
|
|
260
288
|
def status(self, status):
|
261
289
|
"""Sets the status of this JobDetailResp.
|
262
290
|
|
263
|
-
任务状态。
|
291
|
+
任务状态。 - CREATING:创建中 - CREATE_FAILED:创建失败 - CONFIGURATION:配置中 - STARTJOBING:启动中 - WAITING_FOR_START:等待启动中 - START_JOB_FAILED:启动失败 - PAUSING:已暂停 - FULL_TRANSFER_STARTED:全量开始,灾备场景下为初始化 - FULL_TRANSFER_FAILED:全量失败,灾备场景下为初始化失败 - FULL_TRANSFER_COMPLETE:全量完成,灾备场景下为初始化完成 - INCRE_TRANSFER_STARTED:增量开始,灾备场景下为灾备中 - INCRE_TRANSFER_FAILED:增量失败,灾备场景下为灾备异常 - RELEASE_RESOURCE_STARTED:结束任务中 - RELEASE_RESOURCE_FAILED:结束任务失败 - RELEASE_RESOURCE_COMPLETE:已结束 - REBUILD_NODE_STARTED:故障恢复中 - REBUILD_NODE_FAILED:故障恢复失败 - CHANGE_JOB_STARTED:任务变更中 - CHANGE_JOB_FAILED:任务变更失败 - DELETED:已删除 - CHILD_TRANSFER_STARTING:再编辑子任务启动中 - CHILD_TRANSFER_STARTED:再编辑子任务迁移中 - CHILD_TRANSFER_COMPLETE:再编辑子任务迁移完成 - CHILD_TRANSFER_FAILED:再编辑子任务迁移失败 - RELEASE_CHILD_TRANSFER_STARTED:再编辑子任务结束中 - RELEASE_CHILD_TRANSFER_COMPLETE:再编辑子任务已结束 - NODE_UPGRADE_START:升级开始 - NODE_UPGRADE_COMPLETE:升级完成 - NODE_UPGRADE_FAILED:升级失败
|
264
292
|
|
265
293
|
:param status: The status of this JobDetailResp.
|
266
294
|
:type status: str
|
@@ -757,6 +785,94 @@ class JobDetailResp:
|
|
757
785
|
"""
|
758
786
|
self._connection_management = connection_management
|
759
787
|
|
788
|
+
@property
|
789
|
+
def public_ip_list(self):
|
790
|
+
"""Gets the public_ip_list of this JobDetailResp.
|
791
|
+
|
792
|
+
指定公网IP的信息
|
793
|
+
|
794
|
+
:return: The public_ip_list of this JobDetailResp.
|
795
|
+
:rtype: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`]
|
796
|
+
"""
|
797
|
+
return self._public_ip_list
|
798
|
+
|
799
|
+
@public_ip_list.setter
|
800
|
+
def public_ip_list(self, public_ip_list):
|
801
|
+
"""Sets the public_ip_list of this JobDetailResp.
|
802
|
+
|
803
|
+
指定公网IP的信息
|
804
|
+
|
805
|
+
:param public_ip_list: The public_ip_list of this JobDetailResp.
|
806
|
+
:type public_ip_list: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`]
|
807
|
+
"""
|
808
|
+
self._public_ip_list = public_ip_list
|
809
|
+
|
810
|
+
@property
|
811
|
+
def bind_public_ip_state(self):
|
812
|
+
"""Gets the bind_public_ip_state of this JobDetailResp.
|
813
|
+
|
814
|
+
是否成功绑定公网IP
|
815
|
+
|
816
|
+
:return: The bind_public_ip_state of this JobDetailResp.
|
817
|
+
:rtype: str
|
818
|
+
"""
|
819
|
+
return self._bind_public_ip_state
|
820
|
+
|
821
|
+
@bind_public_ip_state.setter
|
822
|
+
def bind_public_ip_state(self, bind_public_ip_state):
|
823
|
+
"""Sets the bind_public_ip_state of this JobDetailResp.
|
824
|
+
|
825
|
+
是否成功绑定公网IP
|
826
|
+
|
827
|
+
:param bind_public_ip_state: The bind_public_ip_state of this JobDetailResp.
|
828
|
+
:type bind_public_ip_state: str
|
829
|
+
"""
|
830
|
+
self._bind_public_ip_state = bind_public_ip_state
|
831
|
+
|
832
|
+
@property
|
833
|
+
def children(self):
|
834
|
+
"""Gets the children of this JobDetailResp.
|
835
|
+
|
836
|
+
多任务时,存在子任务绑定失败时,返回子任务的信息
|
837
|
+
|
838
|
+
:return: The children of this JobDetailResp.
|
839
|
+
:rtype: list[:class:`huaweicloudsdkdrs.v5.FailedToBindEipChildInfo`]
|
840
|
+
"""
|
841
|
+
return self._children
|
842
|
+
|
843
|
+
@children.setter
|
844
|
+
def children(self, children):
|
845
|
+
"""Sets the children of this JobDetailResp.
|
846
|
+
|
847
|
+
多任务时,存在子任务绑定失败时,返回子任务的信息
|
848
|
+
|
849
|
+
:param children: The children of this JobDetailResp.
|
850
|
+
:type children: list[:class:`huaweicloudsdkdrs.v5.FailedToBindEipChildInfo`]
|
851
|
+
"""
|
852
|
+
self._children = children
|
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
|
+
|
760
876
|
def to_dict(self):
|
761
877
|
"""Returns the model properties as a dict"""
|
762
878
|
result = {}
|