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,257 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListAvailableNodeTypesRequest:
|
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
|
+
'x_language': 'str',
|
21
|
+
'engine_type': 'str',
|
22
|
+
'db_use_type': 'str',
|
23
|
+
'job_direction': 'str',
|
24
|
+
'is_use_sellout_info': 'bool',
|
25
|
+
'is_multi_write': 'bool'
|
26
|
+
}
|
27
|
+
|
28
|
+
attribute_map = {
|
29
|
+
'x_language': 'X-Language',
|
30
|
+
'engine_type': 'engine_type',
|
31
|
+
'db_use_type': 'db_use_type',
|
32
|
+
'job_direction': 'job_direction',
|
33
|
+
'is_use_sellout_info': 'is_use_sellout_info',
|
34
|
+
'is_multi_write': 'is_multi_write'
|
35
|
+
}
|
36
|
+
|
37
|
+
def __init__(self, x_language=None, engine_type=None, db_use_type=None, job_direction=None, is_use_sellout_info=None, is_multi_write=None):
|
38
|
+
"""ListAvailableNodeTypesRequest
|
39
|
+
|
40
|
+
The model defined in huaweicloud sdk
|
41
|
+
|
42
|
+
:param x_language: 请求语言类型。
|
43
|
+
:type x_language: str
|
44
|
+
:param engine_type: 引擎类型
|
45
|
+
:type engine_type: str
|
46
|
+
:param db_use_type: 迁移场景。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备
|
47
|
+
:type db_use_type: str
|
48
|
+
:param job_direction: 迁移方向,up:入云 ,down:出云,non-dbs:自建。
|
49
|
+
:type job_direction: str
|
50
|
+
:param is_use_sellout_info: 是否查询资源售罄情况
|
51
|
+
:type is_use_sellout_info: bool
|
52
|
+
:param is_multi_write: 是否是双主灾备
|
53
|
+
:type is_multi_write: bool
|
54
|
+
"""
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
self._x_language = None
|
59
|
+
self._engine_type = None
|
60
|
+
self._db_use_type = None
|
61
|
+
self._job_direction = None
|
62
|
+
self._is_use_sellout_info = None
|
63
|
+
self._is_multi_write = None
|
64
|
+
self.discriminator = None
|
65
|
+
|
66
|
+
if x_language is not None:
|
67
|
+
self.x_language = x_language
|
68
|
+
self.engine_type = engine_type
|
69
|
+
self.db_use_type = db_use_type
|
70
|
+
self.job_direction = job_direction
|
71
|
+
if is_use_sellout_info is not None:
|
72
|
+
self.is_use_sellout_info = is_use_sellout_info
|
73
|
+
if is_multi_write is not None:
|
74
|
+
self.is_multi_write = is_multi_write
|
75
|
+
|
76
|
+
@property
|
77
|
+
def x_language(self):
|
78
|
+
"""Gets the x_language of this ListAvailableNodeTypesRequest.
|
79
|
+
|
80
|
+
请求语言类型。
|
81
|
+
|
82
|
+
:return: The x_language of this ListAvailableNodeTypesRequest.
|
83
|
+
:rtype: str
|
84
|
+
"""
|
85
|
+
return self._x_language
|
86
|
+
|
87
|
+
@x_language.setter
|
88
|
+
def x_language(self, x_language):
|
89
|
+
"""Sets the x_language of this ListAvailableNodeTypesRequest.
|
90
|
+
|
91
|
+
请求语言类型。
|
92
|
+
|
93
|
+
:param x_language: The x_language of this ListAvailableNodeTypesRequest.
|
94
|
+
:type x_language: str
|
95
|
+
"""
|
96
|
+
self._x_language = x_language
|
97
|
+
|
98
|
+
@property
|
99
|
+
def engine_type(self):
|
100
|
+
"""Gets the engine_type of this ListAvailableNodeTypesRequest.
|
101
|
+
|
102
|
+
引擎类型
|
103
|
+
|
104
|
+
:return: The engine_type of this ListAvailableNodeTypesRequest.
|
105
|
+
:rtype: str
|
106
|
+
"""
|
107
|
+
return self._engine_type
|
108
|
+
|
109
|
+
@engine_type.setter
|
110
|
+
def engine_type(self, engine_type):
|
111
|
+
"""Sets the engine_type of this ListAvailableNodeTypesRequest.
|
112
|
+
|
113
|
+
引擎类型
|
114
|
+
|
115
|
+
:param engine_type: The engine_type of this ListAvailableNodeTypesRequest.
|
116
|
+
:type engine_type: str
|
117
|
+
"""
|
118
|
+
self._engine_type = engine_type
|
119
|
+
|
120
|
+
@property
|
121
|
+
def db_use_type(self):
|
122
|
+
"""Gets the db_use_type of this ListAvailableNodeTypesRequest.
|
123
|
+
|
124
|
+
迁移场景。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备
|
125
|
+
|
126
|
+
:return: The db_use_type of this ListAvailableNodeTypesRequest.
|
127
|
+
:rtype: str
|
128
|
+
"""
|
129
|
+
return self._db_use_type
|
130
|
+
|
131
|
+
@db_use_type.setter
|
132
|
+
def db_use_type(self, db_use_type):
|
133
|
+
"""Sets the db_use_type of this ListAvailableNodeTypesRequest.
|
134
|
+
|
135
|
+
迁移场景。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备
|
136
|
+
|
137
|
+
:param db_use_type: The db_use_type of this ListAvailableNodeTypesRequest.
|
138
|
+
:type db_use_type: str
|
139
|
+
"""
|
140
|
+
self._db_use_type = db_use_type
|
141
|
+
|
142
|
+
@property
|
143
|
+
def job_direction(self):
|
144
|
+
"""Gets the job_direction of this ListAvailableNodeTypesRequest.
|
145
|
+
|
146
|
+
迁移方向,up:入云 ,down:出云,non-dbs:自建。
|
147
|
+
|
148
|
+
:return: The job_direction of this ListAvailableNodeTypesRequest.
|
149
|
+
:rtype: str
|
150
|
+
"""
|
151
|
+
return self._job_direction
|
152
|
+
|
153
|
+
@job_direction.setter
|
154
|
+
def job_direction(self, job_direction):
|
155
|
+
"""Sets the job_direction of this ListAvailableNodeTypesRequest.
|
156
|
+
|
157
|
+
迁移方向,up:入云 ,down:出云,non-dbs:自建。
|
158
|
+
|
159
|
+
:param job_direction: The job_direction of this ListAvailableNodeTypesRequest.
|
160
|
+
:type job_direction: str
|
161
|
+
"""
|
162
|
+
self._job_direction = job_direction
|
163
|
+
|
164
|
+
@property
|
165
|
+
def is_use_sellout_info(self):
|
166
|
+
"""Gets the is_use_sellout_info of this ListAvailableNodeTypesRequest.
|
167
|
+
|
168
|
+
是否查询资源售罄情况
|
169
|
+
|
170
|
+
:return: The is_use_sellout_info of this ListAvailableNodeTypesRequest.
|
171
|
+
:rtype: bool
|
172
|
+
"""
|
173
|
+
return self._is_use_sellout_info
|
174
|
+
|
175
|
+
@is_use_sellout_info.setter
|
176
|
+
def is_use_sellout_info(self, is_use_sellout_info):
|
177
|
+
"""Sets the is_use_sellout_info of this ListAvailableNodeTypesRequest.
|
178
|
+
|
179
|
+
是否查询资源售罄情况
|
180
|
+
|
181
|
+
:param is_use_sellout_info: The is_use_sellout_info of this ListAvailableNodeTypesRequest.
|
182
|
+
:type is_use_sellout_info: bool
|
183
|
+
"""
|
184
|
+
self._is_use_sellout_info = is_use_sellout_info
|
185
|
+
|
186
|
+
@property
|
187
|
+
def is_multi_write(self):
|
188
|
+
"""Gets the is_multi_write of this ListAvailableNodeTypesRequest.
|
189
|
+
|
190
|
+
是否是双主灾备
|
191
|
+
|
192
|
+
:return: The is_multi_write of this ListAvailableNodeTypesRequest.
|
193
|
+
:rtype: bool
|
194
|
+
"""
|
195
|
+
return self._is_multi_write
|
196
|
+
|
197
|
+
@is_multi_write.setter
|
198
|
+
def is_multi_write(self, is_multi_write):
|
199
|
+
"""Sets the is_multi_write of this ListAvailableNodeTypesRequest.
|
200
|
+
|
201
|
+
是否是双主灾备
|
202
|
+
|
203
|
+
:param is_multi_write: The is_multi_write of this ListAvailableNodeTypesRequest.
|
204
|
+
:type is_multi_write: bool
|
205
|
+
"""
|
206
|
+
self._is_multi_write = is_multi_write
|
207
|
+
|
208
|
+
def to_dict(self):
|
209
|
+
"""Returns the model properties as a dict"""
|
210
|
+
result = {}
|
211
|
+
|
212
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
213
|
+
value = getattr(self, attr)
|
214
|
+
if isinstance(value, list):
|
215
|
+
result[attr] = list(map(
|
216
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
217
|
+
value
|
218
|
+
))
|
219
|
+
elif hasattr(value, "to_dict"):
|
220
|
+
result[attr] = value.to_dict()
|
221
|
+
elif isinstance(value, dict):
|
222
|
+
result[attr] = dict(map(
|
223
|
+
lambda item: (item[0], item[1].to_dict())
|
224
|
+
if hasattr(item[1], "to_dict") else item,
|
225
|
+
value.items()
|
226
|
+
))
|
227
|
+
else:
|
228
|
+
if attr in self.sensitive_list:
|
229
|
+
result[attr] = "****"
|
230
|
+
else:
|
231
|
+
result[attr] = value
|
232
|
+
|
233
|
+
return result
|
234
|
+
|
235
|
+
def to_str(self):
|
236
|
+
"""Returns the string representation of the model"""
|
237
|
+
import simplejson as json
|
238
|
+
if six.PY2:
|
239
|
+
import sys
|
240
|
+
reload(sys)
|
241
|
+
sys.setdefaultencoding("utf-8")
|
242
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
243
|
+
|
244
|
+
def __repr__(self):
|
245
|
+
"""For `print`"""
|
246
|
+
return self.to_str()
|
247
|
+
|
248
|
+
def __eq__(self, other):
|
249
|
+
"""Returns true if both objects are equal"""
|
250
|
+
if not isinstance(other, ListAvailableNodeTypesRequest):
|
251
|
+
return False
|
252
|
+
|
253
|
+
return self.__dict__ == other.__dict__
|
254
|
+
|
255
|
+
def __ne__(self, other):
|
256
|
+
"""Returns true if both objects are not equal"""
|
257
|
+
return not self == other
|
@@ -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 ListAvailableNodeTypesResponse(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
|
+
'node_types': 'list[QuerySupportNodeTypeBean]'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'node_types': 'node_types'
|
26
|
+
}
|
27
|
+
|
28
|
+
def __init__(self, node_types=None):
|
29
|
+
"""ListAvailableNodeTypesResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param node_types: Node规格列表
|
34
|
+
:type node_types: list[:class:`huaweicloudsdkdrs.v3.QuerySupportNodeTypeBean`]
|
35
|
+
"""
|
36
|
+
|
37
|
+
super(ListAvailableNodeTypesResponse, self).__init__()
|
38
|
+
|
39
|
+
self._node_types = None
|
40
|
+
self.discriminator = None
|
41
|
+
|
42
|
+
if node_types is not None:
|
43
|
+
self.node_types = node_types
|
44
|
+
|
45
|
+
@property
|
46
|
+
def node_types(self):
|
47
|
+
"""Gets the node_types of this ListAvailableNodeTypesResponse.
|
48
|
+
|
49
|
+
Node规格列表
|
50
|
+
|
51
|
+
:return: The node_types of this ListAvailableNodeTypesResponse.
|
52
|
+
:rtype: list[:class:`huaweicloudsdkdrs.v3.QuerySupportNodeTypeBean`]
|
53
|
+
"""
|
54
|
+
return self._node_types
|
55
|
+
|
56
|
+
@node_types.setter
|
57
|
+
def node_types(self, node_types):
|
58
|
+
"""Sets the node_types of this ListAvailableNodeTypesResponse.
|
59
|
+
|
60
|
+
Node规格列表
|
61
|
+
|
62
|
+
:param node_types: The node_types of this ListAvailableNodeTypesResponse.
|
63
|
+
:type node_types: list[:class:`huaweicloudsdkdrs.v3.QuerySupportNodeTypeBean`]
|
64
|
+
"""
|
65
|
+
self._node_types = node_types
|
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, ListAvailableNodeTypesResponse):
|
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
|
@@ -0,0 +1,316 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListContentCompareDetailRequest:
|
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
|
+
'x_language': 'str',
|
21
|
+
'job_id': 'str',
|
22
|
+
'compare_job_id': 'str',
|
23
|
+
'target_db_name': 'str',
|
24
|
+
'db_name': 'str',
|
25
|
+
'type': 'str',
|
26
|
+
'limit': 'int',
|
27
|
+
'offset': 'int'
|
28
|
+
}
|
29
|
+
|
30
|
+
attribute_map = {
|
31
|
+
'x_language': 'X-Language',
|
32
|
+
'job_id': 'job_id',
|
33
|
+
'compare_job_id': 'compare_job_id',
|
34
|
+
'target_db_name': 'target_db_name',
|
35
|
+
'db_name': 'db_name',
|
36
|
+
'type': 'type',
|
37
|
+
'limit': 'limit',
|
38
|
+
'offset': 'offset'
|
39
|
+
}
|
40
|
+
|
41
|
+
def __init__(self, x_language=None, job_id=None, compare_job_id=None, target_db_name=None, db_name=None, type=None, limit=None, offset=None):
|
42
|
+
"""ListContentCompareDetailRequest
|
43
|
+
|
44
|
+
The model defined in huaweicloud sdk
|
45
|
+
|
46
|
+
:param x_language: 请求语言类型。
|
47
|
+
:type x_language: str
|
48
|
+
:param job_id: 任务ID。
|
49
|
+
:type job_id: str
|
50
|
+
:param compare_job_id: 对比任务ID。
|
51
|
+
:type compare_job_id: str
|
52
|
+
:param target_db_name: 目标库名称。
|
53
|
+
:type target_db_name: str
|
54
|
+
:param db_name: 源库名称。
|
55
|
+
:type db_name: str
|
56
|
+
:param type: 类型。 compare:对比 unCompare:无法对比
|
57
|
+
:type type: str
|
58
|
+
:param limit: 每页显示的条目数量,最大值1000。
|
59
|
+
:type limit: int
|
60
|
+
:param offset: 偏移量,表示从此偏移量开始查询, offset大于等于0。
|
61
|
+
:type offset: int
|
62
|
+
"""
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
self._x_language = None
|
67
|
+
self._job_id = None
|
68
|
+
self._compare_job_id = None
|
69
|
+
self._target_db_name = None
|
70
|
+
self._db_name = None
|
71
|
+
self._type = None
|
72
|
+
self._limit = None
|
73
|
+
self._offset = None
|
74
|
+
self.discriminator = None
|
75
|
+
|
76
|
+
if x_language is not None:
|
77
|
+
self.x_language = x_language
|
78
|
+
self.job_id = job_id
|
79
|
+
self.compare_job_id = compare_job_id
|
80
|
+
if target_db_name is not None:
|
81
|
+
self.target_db_name = target_db_name
|
82
|
+
if db_name is not None:
|
83
|
+
self.db_name = db_name
|
84
|
+
if type is not None:
|
85
|
+
self.type = type
|
86
|
+
if limit is not None:
|
87
|
+
self.limit = limit
|
88
|
+
if offset is not None:
|
89
|
+
self.offset = offset
|
90
|
+
|
91
|
+
@property
|
92
|
+
def x_language(self):
|
93
|
+
"""Gets the x_language of this ListContentCompareDetailRequest.
|
94
|
+
|
95
|
+
请求语言类型。
|
96
|
+
|
97
|
+
:return: The x_language of this ListContentCompareDetailRequest.
|
98
|
+
:rtype: str
|
99
|
+
"""
|
100
|
+
return self._x_language
|
101
|
+
|
102
|
+
@x_language.setter
|
103
|
+
def x_language(self, x_language):
|
104
|
+
"""Sets the x_language of this ListContentCompareDetailRequest.
|
105
|
+
|
106
|
+
请求语言类型。
|
107
|
+
|
108
|
+
:param x_language: The x_language of this ListContentCompareDetailRequest.
|
109
|
+
:type x_language: str
|
110
|
+
"""
|
111
|
+
self._x_language = x_language
|
112
|
+
|
113
|
+
@property
|
114
|
+
def job_id(self):
|
115
|
+
"""Gets the job_id of this ListContentCompareDetailRequest.
|
116
|
+
|
117
|
+
任务ID。
|
118
|
+
|
119
|
+
:return: The job_id of this ListContentCompareDetailRequest.
|
120
|
+
:rtype: str
|
121
|
+
"""
|
122
|
+
return self._job_id
|
123
|
+
|
124
|
+
@job_id.setter
|
125
|
+
def job_id(self, job_id):
|
126
|
+
"""Sets the job_id of this ListContentCompareDetailRequest.
|
127
|
+
|
128
|
+
任务ID。
|
129
|
+
|
130
|
+
:param job_id: The job_id of this ListContentCompareDetailRequest.
|
131
|
+
:type job_id: str
|
132
|
+
"""
|
133
|
+
self._job_id = job_id
|
134
|
+
|
135
|
+
@property
|
136
|
+
def compare_job_id(self):
|
137
|
+
"""Gets the compare_job_id of this ListContentCompareDetailRequest.
|
138
|
+
|
139
|
+
对比任务ID。
|
140
|
+
|
141
|
+
:return: The compare_job_id of this ListContentCompareDetailRequest.
|
142
|
+
:rtype: str
|
143
|
+
"""
|
144
|
+
return self._compare_job_id
|
145
|
+
|
146
|
+
@compare_job_id.setter
|
147
|
+
def compare_job_id(self, compare_job_id):
|
148
|
+
"""Sets the compare_job_id of this ListContentCompareDetailRequest.
|
149
|
+
|
150
|
+
对比任务ID。
|
151
|
+
|
152
|
+
:param compare_job_id: The compare_job_id of this ListContentCompareDetailRequest.
|
153
|
+
:type compare_job_id: str
|
154
|
+
"""
|
155
|
+
self._compare_job_id = compare_job_id
|
156
|
+
|
157
|
+
@property
|
158
|
+
def target_db_name(self):
|
159
|
+
"""Gets the target_db_name of this ListContentCompareDetailRequest.
|
160
|
+
|
161
|
+
目标库名称。
|
162
|
+
|
163
|
+
:return: The target_db_name of this ListContentCompareDetailRequest.
|
164
|
+
:rtype: str
|
165
|
+
"""
|
166
|
+
return self._target_db_name
|
167
|
+
|
168
|
+
@target_db_name.setter
|
169
|
+
def target_db_name(self, target_db_name):
|
170
|
+
"""Sets the target_db_name of this ListContentCompareDetailRequest.
|
171
|
+
|
172
|
+
目标库名称。
|
173
|
+
|
174
|
+
:param target_db_name: The target_db_name of this ListContentCompareDetailRequest.
|
175
|
+
:type target_db_name: str
|
176
|
+
"""
|
177
|
+
self._target_db_name = target_db_name
|
178
|
+
|
179
|
+
@property
|
180
|
+
def db_name(self):
|
181
|
+
"""Gets the db_name of this ListContentCompareDetailRequest.
|
182
|
+
|
183
|
+
源库名称。
|
184
|
+
|
185
|
+
:return: The db_name of this ListContentCompareDetailRequest.
|
186
|
+
:rtype: str
|
187
|
+
"""
|
188
|
+
return self._db_name
|
189
|
+
|
190
|
+
@db_name.setter
|
191
|
+
def db_name(self, db_name):
|
192
|
+
"""Sets the db_name of this ListContentCompareDetailRequest.
|
193
|
+
|
194
|
+
源库名称。
|
195
|
+
|
196
|
+
:param db_name: The db_name of this ListContentCompareDetailRequest.
|
197
|
+
:type db_name: str
|
198
|
+
"""
|
199
|
+
self._db_name = db_name
|
200
|
+
|
201
|
+
@property
|
202
|
+
def type(self):
|
203
|
+
"""Gets the type of this ListContentCompareDetailRequest.
|
204
|
+
|
205
|
+
类型。 compare:对比 unCompare:无法对比
|
206
|
+
|
207
|
+
:return: The type of this ListContentCompareDetailRequest.
|
208
|
+
:rtype: str
|
209
|
+
"""
|
210
|
+
return self._type
|
211
|
+
|
212
|
+
@type.setter
|
213
|
+
def type(self, type):
|
214
|
+
"""Sets the type of this ListContentCompareDetailRequest.
|
215
|
+
|
216
|
+
类型。 compare:对比 unCompare:无法对比
|
217
|
+
|
218
|
+
:param type: The type of this ListContentCompareDetailRequest.
|
219
|
+
:type type: str
|
220
|
+
"""
|
221
|
+
self._type = type
|
222
|
+
|
223
|
+
@property
|
224
|
+
def limit(self):
|
225
|
+
"""Gets the limit of this ListContentCompareDetailRequest.
|
226
|
+
|
227
|
+
每页显示的条目数量,最大值1000。
|
228
|
+
|
229
|
+
:return: The limit of this ListContentCompareDetailRequest.
|
230
|
+
:rtype: int
|
231
|
+
"""
|
232
|
+
return self._limit
|
233
|
+
|
234
|
+
@limit.setter
|
235
|
+
def limit(self, limit):
|
236
|
+
"""Sets the limit of this ListContentCompareDetailRequest.
|
237
|
+
|
238
|
+
每页显示的条目数量,最大值1000。
|
239
|
+
|
240
|
+
:param limit: The limit of this ListContentCompareDetailRequest.
|
241
|
+
:type limit: int
|
242
|
+
"""
|
243
|
+
self._limit = limit
|
244
|
+
|
245
|
+
@property
|
246
|
+
def offset(self):
|
247
|
+
"""Gets the offset of this ListContentCompareDetailRequest.
|
248
|
+
|
249
|
+
偏移量,表示从此偏移量开始查询, offset大于等于0。
|
250
|
+
|
251
|
+
:return: The offset of this ListContentCompareDetailRequest.
|
252
|
+
:rtype: int
|
253
|
+
"""
|
254
|
+
return self._offset
|
255
|
+
|
256
|
+
@offset.setter
|
257
|
+
def offset(self, offset):
|
258
|
+
"""Sets the offset of this ListContentCompareDetailRequest.
|
259
|
+
|
260
|
+
偏移量,表示从此偏移量开始查询, offset大于等于0。
|
261
|
+
|
262
|
+
:param offset: The offset of this ListContentCompareDetailRequest.
|
263
|
+
:type offset: int
|
264
|
+
"""
|
265
|
+
self._offset = offset
|
266
|
+
|
267
|
+
def to_dict(self):
|
268
|
+
"""Returns the model properties as a dict"""
|
269
|
+
result = {}
|
270
|
+
|
271
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
272
|
+
value = getattr(self, attr)
|
273
|
+
if isinstance(value, list):
|
274
|
+
result[attr] = list(map(
|
275
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
276
|
+
value
|
277
|
+
))
|
278
|
+
elif hasattr(value, "to_dict"):
|
279
|
+
result[attr] = value.to_dict()
|
280
|
+
elif isinstance(value, dict):
|
281
|
+
result[attr] = dict(map(
|
282
|
+
lambda item: (item[0], item[1].to_dict())
|
283
|
+
if hasattr(item[1], "to_dict") else item,
|
284
|
+
value.items()
|
285
|
+
))
|
286
|
+
else:
|
287
|
+
if attr in self.sensitive_list:
|
288
|
+
result[attr] = "****"
|
289
|
+
else:
|
290
|
+
result[attr] = value
|
291
|
+
|
292
|
+
return result
|
293
|
+
|
294
|
+
def to_str(self):
|
295
|
+
"""Returns the string representation of the model"""
|
296
|
+
import simplejson as json
|
297
|
+
if six.PY2:
|
298
|
+
import sys
|
299
|
+
reload(sys)
|
300
|
+
sys.setdefaultencoding("utf-8")
|
301
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
302
|
+
|
303
|
+
def __repr__(self):
|
304
|
+
"""For `print`"""
|
305
|
+
return self.to_str()
|
306
|
+
|
307
|
+
def __eq__(self, other):
|
308
|
+
"""Returns true if both objects are equal"""
|
309
|
+
if not isinstance(other, ListContentCompareDetailRequest):
|
310
|
+
return False
|
311
|
+
|
312
|
+
return self.__dict__ == other.__dict__
|
313
|
+
|
314
|
+
def __ne__(self, other):
|
315
|
+
"""Returns true if both objects are not equal"""
|
316
|
+
return not self == other
|