huaweicloudsdkgaussdb 3.1.131__py2.py3-none-any.whl → 3.1.133__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.
- huaweicloudsdkgaussdb/v3/__init__.py +8 -0
- huaweicloudsdkgaussdb/v3/gaussdb_async_client.py +223 -14
- huaweicloudsdkgaussdb/v3/gaussdb_client.py +223 -14
- huaweicloudsdkgaussdb/v3/model/__init__.py +8 -0
- huaweicloudsdkgaussdb/v3/model/check_ch_database_config_request_body.py +3 -3
- huaweicloudsdkgaussdb/v3/model/check_ch_database_table_config_request_body.py +3 -3
- huaweicloudsdkgaussdb/v3/model/check_data_base_config_response.py +6 -6
- huaweicloudsdkgaussdb/v3/model/check_table_config_response.py +3 -3
- huaweicloudsdkgaussdb/v3/model/copy_configurations_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/copy_instance_configurations_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/create_ch_database_replication_request_body.py +3 -3
- huaweicloudsdkgaussdb/v3/model/create_ch_instance_request_body.py +3 -3
- huaweicloudsdkgaussdb/v3/model/create_click_house_instance_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/create_database_user_list.py +3 -3
- huaweicloudsdkgaussdb/v3/model/create_star_rocks_data_replication.py +6 -6
- huaweicloudsdkgaussdb/v3/model/create_starrocks_instance_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/db_config_check_request_v3.py +9 -9
- huaweicloudsdkgaussdb/v3/model/db_parameter.py +32 -3
- huaweicloudsdkgaussdb/v3/model/delete_click_house_instance_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/delete_gauss_my_sql_backup_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/delete_starrocks_instance_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/list_click_house_instance_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/list_configurations_instances_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/list_htap_instance_info_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/list_modify_history_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_replication_config_by_data_base_request.py +170 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_replication_config_by_data_base_response.py +336 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_replication_config_response.py +6 -6
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_db_parameters_request.py +32 -3
- huaweicloudsdkgaussdb/v3/model/list_starrocks_instance_info_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/modify_data_sync_config_request_v3.py +314 -0
- huaweicloudsdkgaussdb/v3/model/modify_data_sync_request.py +167 -0
- huaweicloudsdkgaussdb/v3/model/modify_data_sync_response.py +261 -0
- huaweicloudsdkgaussdb/v3/model/modify_port_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/mysql_create_readonly_node_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/mysql_datastore_in_backup.py +3 -3
- huaweicloudsdkgaussdb/v3/model/mysql_datastore_in_req.py +6 -6
- huaweicloudsdkgaussdb/v3/model/mysql_datastore_in_res.py +6 -6
- huaweicloudsdkgaussdb/v3/model/mysql_instance_list_info.py +3 -3
- huaweicloudsdkgaussdb/v3/model/mysql_instance_list_info_unify_status.py +3 -3
- huaweicloudsdkgaussdb/v3/model/resize_star_rocks_flavor_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/resource_check_resource.py +3 -3
- huaweicloudsdkgaussdb/v3/model/show_restore_tables_request.py +3 -3
- huaweicloudsdkgaussdb/v3/model/star_rocks_replication_info.py +3 -3
- huaweicloudsdkgaussdb/v3/model/table_config_check_request_v3.py +9 -9
- huaweicloudsdkgaussdb/v3/model/update_backup_offsite_policy_info.py +3 -3
- huaweicloudsdkgaussdb/v3/model/update_proxy_port_request_body.py +3 -3
- huaweicloudsdkgaussdb/v3/model/upgrade_sr_kernel_version_request.py +167 -0
- huaweicloudsdkgaussdb/v3/model/upgrade_sr_kernel_version_request_v3.py +144 -0
- huaweicloudsdkgaussdb/v3/model/upgrade_sr_kernel_version_response.py +116 -0
- {huaweicloudsdkgaussdb-3.1.131.dist-info → huaweicloudsdkgaussdb-3.1.133.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdb-3.1.131.dist-info → huaweicloudsdkgaussdb-3.1.133.dist-info}/RECORD +55 -47
- {huaweicloudsdkgaussdb-3.1.131.dist-info → huaweicloudsdkgaussdb-3.1.133.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdb-3.1.131.dist-info → huaweicloudsdkgaussdb-3.1.133.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdb-3.1.131.dist-info → huaweicloudsdkgaussdb-3.1.133.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,261 @@
|
|
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 ModifyDataSyncResponse(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
|
+
'source_database_name': 'str',
|
22
|
+
'target_database_name': 'str',
|
23
|
+
'source_db_config_check_results': 'list[DbConfigCheckResult]',
|
24
|
+
'tbl_config_check_results': 'list[TableConfigCheckResult]',
|
25
|
+
'task_name': 'str',
|
26
|
+
'job_id': 'str'
|
27
|
+
}
|
28
|
+
|
29
|
+
attribute_map = {
|
30
|
+
'source_database_name': 'source_database_name',
|
31
|
+
'target_database_name': 'target_database_name',
|
32
|
+
'source_db_config_check_results': 'source_db_config_check_results',
|
33
|
+
'tbl_config_check_results': 'tbl_config_check_results',
|
34
|
+
'task_name': 'task_name',
|
35
|
+
'job_id': 'job_id'
|
36
|
+
}
|
37
|
+
|
38
|
+
def __init__(self, source_database_name=None, target_database_name=None, source_db_config_check_results=None, tbl_config_check_results=None, task_name=None, job_id=None):
|
39
|
+
"""ModifyDataSyncResponse
|
40
|
+
|
41
|
+
The model defined in huaweicloud sdk
|
42
|
+
|
43
|
+
:param source_database_name: **参数解释**: TaurusDB数据库名。 **取值范围**: 长度限制3~1024位,仅支持英文大小写字母、数字以及下划线。
|
44
|
+
:type source_database_name: str
|
45
|
+
:param target_database_name: **参数解释**: 目标数据库名。 **取值范围**: 长度限制3~1024位,仅支持英文大小写字母、数字以及下划线。
|
46
|
+
:type target_database_name: str
|
47
|
+
:param source_db_config_check_results: **参数解释**: TaurusDB数据库配置检查结果。 **取值范围**: 不涉及。
|
48
|
+
:type source_db_config_check_results: list[:class:`huaweicloudsdkgaussdb.v3.DbConfigCheckResult`]
|
49
|
+
:param tbl_config_check_results: **参数解释**: 表配置检查结果。 **取值范围**: 不涉及。
|
50
|
+
:type tbl_config_check_results: list[:class:`huaweicloudsdkgaussdb.v3.TableConfigCheckResult`]
|
51
|
+
:param task_name: **参数解释**: 同步任务名称。 **取值范围**: 长度限制3~128位,仅支持英文大小写字母、数字以及下划线。
|
52
|
+
:type task_name: str
|
53
|
+
:param job_id: **参数解释**: 修改同步配置工作流ID。 **取值范围**: 不涉及。
|
54
|
+
:type job_id: str
|
55
|
+
"""
|
56
|
+
|
57
|
+
super(ModifyDataSyncResponse, self).__init__()
|
58
|
+
|
59
|
+
self._source_database_name = None
|
60
|
+
self._target_database_name = None
|
61
|
+
self._source_db_config_check_results = None
|
62
|
+
self._tbl_config_check_results = None
|
63
|
+
self._task_name = None
|
64
|
+
self._job_id = None
|
65
|
+
self.discriminator = None
|
66
|
+
|
67
|
+
if source_database_name is not None:
|
68
|
+
self.source_database_name = source_database_name
|
69
|
+
if target_database_name is not None:
|
70
|
+
self.target_database_name = target_database_name
|
71
|
+
if source_db_config_check_results is not None:
|
72
|
+
self.source_db_config_check_results = source_db_config_check_results
|
73
|
+
if tbl_config_check_results is not None:
|
74
|
+
self.tbl_config_check_results = tbl_config_check_results
|
75
|
+
if task_name is not None:
|
76
|
+
self.task_name = task_name
|
77
|
+
if job_id is not None:
|
78
|
+
self.job_id = job_id
|
79
|
+
|
80
|
+
@property
|
81
|
+
def source_database_name(self):
|
82
|
+
"""Gets the source_database_name of this ModifyDataSyncResponse.
|
83
|
+
|
84
|
+
**参数解释**: TaurusDB数据库名。 **取值范围**: 长度限制3~1024位,仅支持英文大小写字母、数字以及下划线。
|
85
|
+
|
86
|
+
:return: The source_database_name of this ModifyDataSyncResponse.
|
87
|
+
:rtype: str
|
88
|
+
"""
|
89
|
+
return self._source_database_name
|
90
|
+
|
91
|
+
@source_database_name.setter
|
92
|
+
def source_database_name(self, source_database_name):
|
93
|
+
"""Sets the source_database_name of this ModifyDataSyncResponse.
|
94
|
+
|
95
|
+
**参数解释**: TaurusDB数据库名。 **取值范围**: 长度限制3~1024位,仅支持英文大小写字母、数字以及下划线。
|
96
|
+
|
97
|
+
:param source_database_name: The source_database_name of this ModifyDataSyncResponse.
|
98
|
+
:type source_database_name: str
|
99
|
+
"""
|
100
|
+
self._source_database_name = source_database_name
|
101
|
+
|
102
|
+
@property
|
103
|
+
def target_database_name(self):
|
104
|
+
"""Gets the target_database_name of this ModifyDataSyncResponse.
|
105
|
+
|
106
|
+
**参数解释**: 目标数据库名。 **取值范围**: 长度限制3~1024位,仅支持英文大小写字母、数字以及下划线。
|
107
|
+
|
108
|
+
:return: The target_database_name of this ModifyDataSyncResponse.
|
109
|
+
:rtype: str
|
110
|
+
"""
|
111
|
+
return self._target_database_name
|
112
|
+
|
113
|
+
@target_database_name.setter
|
114
|
+
def target_database_name(self, target_database_name):
|
115
|
+
"""Sets the target_database_name of this ModifyDataSyncResponse.
|
116
|
+
|
117
|
+
**参数解释**: 目标数据库名。 **取值范围**: 长度限制3~1024位,仅支持英文大小写字母、数字以及下划线。
|
118
|
+
|
119
|
+
:param target_database_name: The target_database_name of this ModifyDataSyncResponse.
|
120
|
+
:type target_database_name: str
|
121
|
+
"""
|
122
|
+
self._target_database_name = target_database_name
|
123
|
+
|
124
|
+
@property
|
125
|
+
def source_db_config_check_results(self):
|
126
|
+
"""Gets the source_db_config_check_results of this ModifyDataSyncResponse.
|
127
|
+
|
128
|
+
**参数解释**: TaurusDB数据库配置检查结果。 **取值范围**: 不涉及。
|
129
|
+
|
130
|
+
:return: The source_db_config_check_results of this ModifyDataSyncResponse.
|
131
|
+
:rtype: list[:class:`huaweicloudsdkgaussdb.v3.DbConfigCheckResult`]
|
132
|
+
"""
|
133
|
+
return self._source_db_config_check_results
|
134
|
+
|
135
|
+
@source_db_config_check_results.setter
|
136
|
+
def source_db_config_check_results(self, source_db_config_check_results):
|
137
|
+
"""Sets the source_db_config_check_results of this ModifyDataSyncResponse.
|
138
|
+
|
139
|
+
**参数解释**: TaurusDB数据库配置检查结果。 **取值范围**: 不涉及。
|
140
|
+
|
141
|
+
:param source_db_config_check_results: The source_db_config_check_results of this ModifyDataSyncResponse.
|
142
|
+
:type source_db_config_check_results: list[:class:`huaweicloudsdkgaussdb.v3.DbConfigCheckResult`]
|
143
|
+
"""
|
144
|
+
self._source_db_config_check_results = source_db_config_check_results
|
145
|
+
|
146
|
+
@property
|
147
|
+
def tbl_config_check_results(self):
|
148
|
+
"""Gets the tbl_config_check_results of this ModifyDataSyncResponse.
|
149
|
+
|
150
|
+
**参数解释**: 表配置检查结果。 **取值范围**: 不涉及。
|
151
|
+
|
152
|
+
:return: The tbl_config_check_results of this ModifyDataSyncResponse.
|
153
|
+
:rtype: list[:class:`huaweicloudsdkgaussdb.v3.TableConfigCheckResult`]
|
154
|
+
"""
|
155
|
+
return self._tbl_config_check_results
|
156
|
+
|
157
|
+
@tbl_config_check_results.setter
|
158
|
+
def tbl_config_check_results(self, tbl_config_check_results):
|
159
|
+
"""Sets the tbl_config_check_results of this ModifyDataSyncResponse.
|
160
|
+
|
161
|
+
**参数解释**: 表配置检查结果。 **取值范围**: 不涉及。
|
162
|
+
|
163
|
+
:param tbl_config_check_results: The tbl_config_check_results of this ModifyDataSyncResponse.
|
164
|
+
:type tbl_config_check_results: list[:class:`huaweicloudsdkgaussdb.v3.TableConfigCheckResult`]
|
165
|
+
"""
|
166
|
+
self._tbl_config_check_results = tbl_config_check_results
|
167
|
+
|
168
|
+
@property
|
169
|
+
def task_name(self):
|
170
|
+
"""Gets the task_name of this ModifyDataSyncResponse.
|
171
|
+
|
172
|
+
**参数解释**: 同步任务名称。 **取值范围**: 长度限制3~128位,仅支持英文大小写字母、数字以及下划线。
|
173
|
+
|
174
|
+
:return: The task_name of this ModifyDataSyncResponse.
|
175
|
+
:rtype: str
|
176
|
+
"""
|
177
|
+
return self._task_name
|
178
|
+
|
179
|
+
@task_name.setter
|
180
|
+
def task_name(self, task_name):
|
181
|
+
"""Sets the task_name of this ModifyDataSyncResponse.
|
182
|
+
|
183
|
+
**参数解释**: 同步任务名称。 **取值范围**: 长度限制3~128位,仅支持英文大小写字母、数字以及下划线。
|
184
|
+
|
185
|
+
:param task_name: The task_name of this ModifyDataSyncResponse.
|
186
|
+
:type task_name: str
|
187
|
+
"""
|
188
|
+
self._task_name = task_name
|
189
|
+
|
190
|
+
@property
|
191
|
+
def job_id(self):
|
192
|
+
"""Gets the job_id of this ModifyDataSyncResponse.
|
193
|
+
|
194
|
+
**参数解释**: 修改同步配置工作流ID。 **取值范围**: 不涉及。
|
195
|
+
|
196
|
+
:return: The job_id of this ModifyDataSyncResponse.
|
197
|
+
:rtype: str
|
198
|
+
"""
|
199
|
+
return self._job_id
|
200
|
+
|
201
|
+
@job_id.setter
|
202
|
+
def job_id(self, job_id):
|
203
|
+
"""Sets the job_id of this ModifyDataSyncResponse.
|
204
|
+
|
205
|
+
**参数解释**: 修改同步配置工作流ID。 **取值范围**: 不涉及。
|
206
|
+
|
207
|
+
:param job_id: The job_id of this ModifyDataSyncResponse.
|
208
|
+
:type job_id: str
|
209
|
+
"""
|
210
|
+
self._job_id = job_id
|
211
|
+
|
212
|
+
def to_dict(self):
|
213
|
+
"""Returns the model properties as a dict"""
|
214
|
+
result = {}
|
215
|
+
|
216
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
217
|
+
value = getattr(self, attr)
|
218
|
+
if isinstance(value, list):
|
219
|
+
result[attr] = list(map(
|
220
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
221
|
+
value
|
222
|
+
))
|
223
|
+
elif hasattr(value, "to_dict"):
|
224
|
+
result[attr] = value.to_dict()
|
225
|
+
elif isinstance(value, dict):
|
226
|
+
result[attr] = dict(map(
|
227
|
+
lambda item: (item[0], item[1].to_dict())
|
228
|
+
if hasattr(item[1], "to_dict") else item,
|
229
|
+
value.items()
|
230
|
+
))
|
231
|
+
else:
|
232
|
+
if attr in self.sensitive_list:
|
233
|
+
result[attr] = "****"
|
234
|
+
else:
|
235
|
+
result[attr] = value
|
236
|
+
|
237
|
+
return result
|
238
|
+
|
239
|
+
def to_str(self):
|
240
|
+
"""Returns the string representation of the model"""
|
241
|
+
import simplejson as json
|
242
|
+
if six.PY2:
|
243
|
+
import sys
|
244
|
+
reload(sys)
|
245
|
+
sys.setdefaultencoding("utf-8")
|
246
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
247
|
+
|
248
|
+
def __repr__(self):
|
249
|
+
"""For `print`"""
|
250
|
+
return self.to_str()
|
251
|
+
|
252
|
+
def __eq__(self, other):
|
253
|
+
"""Returns true if both objects are equal"""
|
254
|
+
if not isinstance(other, ModifyDataSyncResponse):
|
255
|
+
return False
|
256
|
+
|
257
|
+
return self.__dict__ == other.__dict__
|
258
|
+
|
259
|
+
def __ne__(self, other):
|
260
|
+
"""Returns true if both objects are not equal"""
|
261
|
+
return not self == other
|
@@ -29,7 +29,7 @@ class ModifyPortRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param port: 端口号。
|
32
|
+
:param port: 端口号。 TaurusDB端口号范围:大于等于1024,小于等于65535,不包含端口5342-5345、12017、20000、20201、20202、33062。
|
33
33
|
:type port: int
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class ModifyPortRequest:
|
|
44
44
|
def port(self):
|
45
45
|
"""Gets the port of this ModifyPortRequest.
|
46
46
|
|
47
|
-
端口号。
|
47
|
+
端口号。 TaurusDB端口号范围:大于等于1024,小于等于65535,不包含端口5342-5345、12017、20000、20201、20202、33062。
|
48
48
|
|
49
49
|
:return: The port of this ModifyPortRequest.
|
50
50
|
:rtype: int
|
@@ -55,7 +55,7 @@ class ModifyPortRequest:
|
|
55
55
|
def port(self, port):
|
56
56
|
"""Sets the port of this ModifyPortRequest.
|
57
57
|
|
58
|
-
端口号。
|
58
|
+
端口号。 TaurusDB端口号范围:大于等于1024,小于等于65535,不包含端口5342-5345、12017、20000、20201、20202、33062。
|
59
59
|
|
60
60
|
:param port: The port of this ModifyPortRequest.
|
61
61
|
:type port: int
|
@@ -37,7 +37,7 @@ class MysqlCreateReadonlyNodeRequest:
|
|
37
37
|
:type priorities: list[int]
|
38
38
|
:param is_auto_pay: 创建包周期时可指定,表示是否自动从客户的账户中支付,此字段不影响自动续订的支付方式。 - true,为自动支付,默认该方式。 - false,为手动支付。
|
39
39
|
:type is_auto_pay: str
|
40
|
-
:param availability_zones: 可用区。可指定可用区创建只读节点,不传该参数时默认为自动选择可用区。 调用[查询数据库规格](https://support.huaweicloud.com/api-
|
40
|
+
:param availability_zones: 可用区。可指定可用区创建只读节点,不传该参数时默认为自动选择可用区。 调用[查询数据库规格](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlFlavors.html)获取,其中az_status中的key为availability_zone。 注:指定可用区创建只读节点,可能由于资源不足创建失败。
|
41
41
|
:type availability_zones: list[str]
|
42
42
|
"""
|
43
43
|
|
@@ -102,7 +102,7 @@ class MysqlCreateReadonlyNodeRequest:
|
|
102
102
|
def availability_zones(self):
|
103
103
|
"""Gets the availability_zones of this MysqlCreateReadonlyNodeRequest.
|
104
104
|
|
105
|
-
可用区。可指定可用区创建只读节点,不传该参数时默认为自动选择可用区。 调用[查询数据库规格](https://support.huaweicloud.com/api-
|
105
|
+
可用区。可指定可用区创建只读节点,不传该参数时默认为自动选择可用区。 调用[查询数据库规格](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlFlavors.html)获取,其中az_status中的key为availability_zone。 注:指定可用区创建只读节点,可能由于资源不足创建失败。
|
106
106
|
|
107
107
|
:return: The availability_zones of this MysqlCreateReadonlyNodeRequest.
|
108
108
|
:rtype: list[str]
|
@@ -113,7 +113,7 @@ class MysqlCreateReadonlyNodeRequest:
|
|
113
113
|
def availability_zones(self, availability_zones):
|
114
114
|
"""Sets the availability_zones of this MysqlCreateReadonlyNodeRequest.
|
115
115
|
|
116
|
-
可用区。可指定可用区创建只读节点,不传该参数时默认为自动选择可用区。 调用[查询数据库规格](https://support.huaweicloud.com/api-
|
116
|
+
可用区。可指定可用区创建只读节点,不传该参数时默认为自动选择可用区。 调用[查询数据库规格](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlFlavors.html)获取,其中az_status中的key为availability_zone。 注:指定可用区创建只读节点,可能由于资源不足创建失败。
|
117
117
|
|
118
118
|
:param availability_zones: The availability_zones of this MysqlCreateReadonlyNodeRequest.
|
119
119
|
:type availability_zones: list[str]
|
@@ -33,7 +33,7 @@ class MysqlDatastoreInBackup:
|
|
33
33
|
|
34
34
|
:param type: 数据库引擎,现在只支持gaussdb-mysql。
|
35
35
|
:type type: str
|
36
|
-
:param version: 数据库版本。 数据库支持的版本信息,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
36
|
+
:param version: 数据库版本。 数据库支持的版本信息,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的name字段。
|
37
37
|
:type version: str
|
38
38
|
"""
|
39
39
|
|
@@ -72,7 +72,7 @@ class MysqlDatastoreInBackup:
|
|
72
72
|
def version(self):
|
73
73
|
"""Gets the version of this MysqlDatastoreInBackup.
|
74
74
|
|
75
|
-
数据库版本。 数据库支持的版本信息,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
75
|
+
数据库版本。 数据库支持的版本信息,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的name字段。
|
76
76
|
|
77
77
|
:return: The version of this MysqlDatastoreInBackup.
|
78
78
|
:rtype: str
|
@@ -83,7 +83,7 @@ class MysqlDatastoreInBackup:
|
|
83
83
|
def version(self, version):
|
84
84
|
"""Sets the version of this MysqlDatastoreInBackup.
|
85
85
|
|
86
|
-
数据库版本。 数据库支持的版本信息,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
86
|
+
数据库版本。 数据库支持的版本信息,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的name字段。
|
87
87
|
|
88
88
|
:param version: The version of this MysqlDatastoreInBackup.
|
89
89
|
:type version: str
|
@@ -35,9 +35,9 @@ class MysqlDatastoreInReq:
|
|
35
35
|
|
36
36
|
:param type: 数据库引擎,现在只支持gaussdb-mysql。
|
37
37
|
:type type: str
|
38
|
-
:param version: 兼容的三位开源数据库版本号。 获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
38
|
+
:param version: 兼容的三位开源数据库版本号。 获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的version字段。
|
39
39
|
:type version: str
|
40
|
-
:param kernel_version: 内核数据库版本。如果需要指定具体的内核版本,请联系客服人员添加白名单。 完整的四位内核数据库版本,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
40
|
+
:param kernel_version: 内核数据库版本。如果需要指定具体的内核版本,请联系客服人员添加白名单。 完整的四位内核数据库版本,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的kernel_version字段。
|
41
41
|
:type kernel_version: str
|
42
42
|
"""
|
43
43
|
|
@@ -79,7 +79,7 @@ class MysqlDatastoreInReq:
|
|
79
79
|
def version(self):
|
80
80
|
"""Gets the version of this MysqlDatastoreInReq.
|
81
81
|
|
82
|
-
兼容的三位开源数据库版本号。 获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
82
|
+
兼容的三位开源数据库版本号。 获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的version字段。
|
83
83
|
|
84
84
|
:return: The version of this MysqlDatastoreInReq.
|
85
85
|
:rtype: str
|
@@ -90,7 +90,7 @@ class MysqlDatastoreInReq:
|
|
90
90
|
def version(self, version):
|
91
91
|
"""Sets the version of this MysqlDatastoreInReq.
|
92
92
|
|
93
|
-
兼容的三位开源数据库版本号。 获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
93
|
+
兼容的三位开源数据库版本号。 获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的version字段。
|
94
94
|
|
95
95
|
:param version: The version of this MysqlDatastoreInReq.
|
96
96
|
:type version: str
|
@@ -101,7 +101,7 @@ class MysqlDatastoreInReq:
|
|
101
101
|
def kernel_version(self):
|
102
102
|
"""Gets the kernel_version of this MysqlDatastoreInReq.
|
103
103
|
|
104
|
-
内核数据库版本。如果需要指定具体的内核版本,请联系客服人员添加白名单。 完整的四位内核数据库版本,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
104
|
+
内核数据库版本。如果需要指定具体的内核版本,请联系客服人员添加白名单。 完整的四位内核数据库版本,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的kernel_version字段。
|
105
105
|
|
106
106
|
:return: The kernel_version of this MysqlDatastoreInReq.
|
107
107
|
:rtype: str
|
@@ -112,7 +112,7 @@ class MysqlDatastoreInReq:
|
|
112
112
|
def kernel_version(self, kernel_version):
|
113
113
|
"""Sets the kernel_version of this MysqlDatastoreInReq.
|
114
114
|
|
115
|
-
内核数据库版本。如果需要指定具体的内核版本,请联系客服人员添加白名单。 完整的四位内核数据库版本,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
115
|
+
内核数据库版本。如果需要指定具体的内核版本,请联系客服人员添加白名单。 完整的四位内核数据库版本,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的kernel_version字段。
|
116
116
|
|
117
117
|
:param kernel_version: The kernel_version of this MysqlDatastoreInReq.
|
118
118
|
:type kernel_version: str
|
@@ -35,9 +35,9 @@ class MysqlDatastoreInRes:
|
|
35
35
|
|
36
36
|
:param type: 数据库引擎,现在只支持gaussdb-mysql。
|
37
37
|
:type type: str
|
38
|
-
:param version: 兼容的三位开源数据库版本号。 获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
38
|
+
:param version: 兼容的三位开源数据库版本号。 获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的version字段。
|
39
39
|
:type version: str
|
40
|
-
:param kernel_version: 内核数据库版本。 完整的四位内核数据库版本号,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
40
|
+
:param kernel_version: 内核数据库版本。 完整的四位内核数据库版本号,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的kernel_version字段。
|
41
41
|
:type kernel_version: str
|
42
42
|
"""
|
43
43
|
|
@@ -79,7 +79,7 @@ class MysqlDatastoreInRes:
|
|
79
79
|
def version(self):
|
80
80
|
"""Gets the version of this MysqlDatastoreInRes.
|
81
81
|
|
82
|
-
兼容的三位开源数据库版本号。 获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
82
|
+
兼容的三位开源数据库版本号。 获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的version字段。
|
83
83
|
|
84
84
|
:return: The version of this MysqlDatastoreInRes.
|
85
85
|
:rtype: str
|
@@ -90,7 +90,7 @@ class MysqlDatastoreInRes:
|
|
90
90
|
def version(self, version):
|
91
91
|
"""Sets the version of this MysqlDatastoreInRes.
|
92
92
|
|
93
|
-
兼容的三位开源数据库版本号。 获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
93
|
+
兼容的三位开源数据库版本号。 获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的version字段。
|
94
94
|
|
95
95
|
:param version: The version of this MysqlDatastoreInRes.
|
96
96
|
:type version: str
|
@@ -101,7 +101,7 @@ class MysqlDatastoreInRes:
|
|
101
101
|
def kernel_version(self):
|
102
102
|
"""Gets the kernel_version of this MysqlDatastoreInRes.
|
103
103
|
|
104
|
-
内核数据库版本。 完整的四位内核数据库版本号,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
104
|
+
内核数据库版本。 完整的四位内核数据库版本号,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的kernel_version字段。
|
105
105
|
|
106
106
|
:return: The kernel_version of this MysqlDatastoreInRes.
|
107
107
|
:rtype: str
|
@@ -112,7 +112,7 @@ class MysqlDatastoreInRes:
|
|
112
112
|
def kernel_version(self, kernel_version):
|
113
113
|
"""Sets the kernel_version of this MysqlDatastoreInRes.
|
114
114
|
|
115
|
-
内核数据库版本。 完整的四位内核数据库版本号,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-
|
115
|
+
内核数据库版本。 完整的四位内核数据库版本号,获取方法请参见[查询数据库引擎的版本](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlEngineVersion.html)返回的kernel_version字段。
|
116
116
|
|
117
117
|
:param kernel_version: The kernel_version of this MysqlDatastoreInRes.
|
118
118
|
:type kernel_version: str
|
@@ -87,7 +87,7 @@ class MysqlInstanceListInfo:
|
|
87
87
|
:type status: str
|
88
88
|
:param private_ips: 实例写内网IP地址列表。弹性云服务器创建成功后该值存在,其他情况下为空字列表。
|
89
89
|
:type private_ips: list[str]
|
90
|
-
:param proxy_ips: 实例读写分离IP地址列表。
|
90
|
+
:param proxy_ips: 实例读写分离IP地址列表。TaurusDB实例开启代理成功后该值存在,其他情况下为空列表。
|
91
91
|
:type proxy_ips: list[str]
|
92
92
|
:param readonly_private_ips: 实例读内网IP地址列表。弹性云服务器创建成功后该值存在,其他情况下为空列表。
|
93
93
|
:type readonly_private_ips: list[str]
|
@@ -306,7 +306,7 @@ class MysqlInstanceListInfo:
|
|
306
306
|
def proxy_ips(self):
|
307
307
|
"""Gets the proxy_ips of this MysqlInstanceListInfo.
|
308
308
|
|
309
|
-
实例读写分离IP地址列表。
|
309
|
+
实例读写分离IP地址列表。TaurusDB实例开启代理成功后该值存在,其他情况下为空列表。
|
310
310
|
|
311
311
|
:return: The proxy_ips of this MysqlInstanceListInfo.
|
312
312
|
:rtype: list[str]
|
@@ -317,7 +317,7 @@ class MysqlInstanceListInfo:
|
|
317
317
|
def proxy_ips(self, proxy_ips):
|
318
318
|
"""Sets the proxy_ips of this MysqlInstanceListInfo.
|
319
319
|
|
320
|
-
实例读写分离IP地址列表。
|
320
|
+
实例读写分离IP地址列表。TaurusDB实例开启代理成功后该值存在,其他情况下为空列表。
|
321
321
|
|
322
322
|
:param proxy_ips: The proxy_ips of this MysqlInstanceListInfo.
|
323
323
|
:type proxy_ips: list[str]
|
@@ -87,7 +87,7 @@ class MysqlInstanceListInfoUnifyStatus:
|
|
87
87
|
:type status: str
|
88
88
|
:param private_ips: 实例写内网IP地址列表。弹性云服务器创建成功后该值存在,其他情况下为空字列表。
|
89
89
|
:type private_ips: list[str]
|
90
|
-
:param proxy_ips: 实例读写分离IP地址列表。
|
90
|
+
:param proxy_ips: 实例读写分离IP地址列表。TaurusDB实例开启代理成功后该值存在,其他情况下为空列表。
|
91
91
|
:type proxy_ips: list[str]
|
92
92
|
:param readonly_private_ips: 实例读内网IP地址列表。弹性云服务器创建成功后该值存在,其他情况下为空列表。
|
93
93
|
:type readonly_private_ips: list[str]
|
@@ -306,7 +306,7 @@ class MysqlInstanceListInfoUnifyStatus:
|
|
306
306
|
def proxy_ips(self):
|
307
307
|
"""Gets the proxy_ips of this MysqlInstanceListInfoUnifyStatus.
|
308
308
|
|
309
|
-
实例读写分离IP地址列表。
|
309
|
+
实例读写分离IP地址列表。TaurusDB实例开启代理成功后该值存在,其他情况下为空列表。
|
310
310
|
|
311
311
|
:return: The proxy_ips of this MysqlInstanceListInfoUnifyStatus.
|
312
312
|
:rtype: list[str]
|
@@ -317,7 +317,7 @@ class MysqlInstanceListInfoUnifyStatus:
|
|
317
317
|
def proxy_ips(self, proxy_ips):
|
318
318
|
"""Sets the proxy_ips of this MysqlInstanceListInfoUnifyStatus.
|
319
319
|
|
320
|
-
实例读写分离IP地址列表。
|
320
|
+
实例读写分离IP地址列表。TaurusDB实例开启代理成功后该值存在,其他情况下为空列表。
|
321
321
|
|
322
322
|
:param proxy_ips: The proxy_ips of this MysqlInstanceListInfoUnifyStatus.
|
323
323
|
:type proxy_ips: list[str]
|
@@ -33,7 +33,7 @@ class ResizeStarRocksFlavorRequest:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param instance_id:
|
36
|
+
:param instance_id: TaurusDB实例ID,严格匹配UUID规则。
|
37
37
|
:type instance_id: str
|
38
38
|
:param x_language: 请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
39
39
|
:type x_language: str
|
@@ -58,7 +58,7 @@ class ResizeStarRocksFlavorRequest:
|
|
58
58
|
def instance_id(self):
|
59
59
|
"""Gets the instance_id of this ResizeStarRocksFlavorRequest.
|
60
60
|
|
61
|
-
|
61
|
+
TaurusDB实例ID,严格匹配UUID规则。
|
62
62
|
|
63
63
|
:return: The instance_id of this ResizeStarRocksFlavorRequest.
|
64
64
|
:rtype: str
|
@@ -69,7 +69,7 @@ class ResizeStarRocksFlavorRequest:
|
|
69
69
|
def instance_id(self, instance_id):
|
70
70
|
"""Sets the instance_id of this ResizeStarRocksFlavorRequest.
|
71
71
|
|
72
|
-
|
72
|
+
TaurusDB实例ID,严格匹配UUID规则。
|
73
73
|
|
74
74
|
:param instance_id: The instance_id of this ResizeStarRocksFlavorRequest.
|
75
75
|
:type instance_id: str
|
@@ -65,7 +65,7 @@ class ResourceCheckResource:
|
|
65
65
|
:type be_flavor_ref: str
|
66
66
|
:param availability_zone: 可用区码。选填,校验可用区码是否正确。
|
67
67
|
:type availability_zone: str
|
68
|
-
:param subnet_id: HTAP实例子网即
|
68
|
+
:param subnet_id: HTAP实例子网即TaurusDB实例子网。 获取方法请参见[获取子网ID](https://support.huaweicloud.com/api-vpc/vpc_subnet01_0003.html)。
|
69
69
|
:type subnet_id: str
|
70
70
|
"""
|
71
71
|
|
@@ -297,7 +297,7 @@ class ResourceCheckResource:
|
|
297
297
|
def subnet_id(self):
|
298
298
|
"""Gets the subnet_id of this ResourceCheckResource.
|
299
299
|
|
300
|
-
HTAP实例子网即
|
300
|
+
HTAP实例子网即TaurusDB实例子网。 获取方法请参见[获取子网ID](https://support.huaweicloud.com/api-vpc/vpc_subnet01_0003.html)。
|
301
301
|
|
302
302
|
:return: The subnet_id of this ResourceCheckResource.
|
303
303
|
:rtype: str
|
@@ -308,7 +308,7 @@ class ResourceCheckResource:
|
|
308
308
|
def subnet_id(self, subnet_id):
|
309
309
|
"""Sets the subnet_id of this ResourceCheckResource.
|
310
310
|
|
311
|
-
HTAP实例子网即
|
311
|
+
HTAP实例子网即TaurusDB实例子网。 获取方法请参见[获取子网ID](https://support.huaweicloud.com/api-vpc/vpc_subnet01_0003.html)。
|
312
312
|
|
313
313
|
:param subnet_id: The subnet_id of this ResourceCheckResource.
|
314
314
|
:type subnet_id: str
|
@@ -43,7 +43,7 @@ class ShowRestoreTablesRequest:
|
|
43
43
|
:type x_language: str
|
44
44
|
:param instance_id: 实例ID,严格匹配UUID规则。
|
45
45
|
:type instance_id: str
|
46
|
-
:param restore_time: 备份时间点,时间戳格式。 通过[查询可恢复时间段](https://support.huaweicloud.com/api-
|
46
|
+
:param restore_time: 备份时间点,时间戳格式。 通过[查询可恢复时间段](https://support.huaweicloud.com/api-taurusdb/ShowBackupRestoreTime.html)获取。
|
47
47
|
:type restore_time: str
|
48
48
|
:param last_table_info: 是否是最新库表。 - true:是最新库表。 - false:是恢复时间点库表。
|
49
49
|
:type last_table_info: str
|
@@ -121,7 +121,7 @@ class ShowRestoreTablesRequest:
|
|
121
121
|
def restore_time(self):
|
122
122
|
"""Gets the restore_time of this ShowRestoreTablesRequest.
|
123
123
|
|
124
|
-
备份时间点,时间戳格式。 通过[查询可恢复时间段](https://support.huaweicloud.com/api-
|
124
|
+
备份时间点,时间戳格式。 通过[查询可恢复时间段](https://support.huaweicloud.com/api-taurusdb/ShowBackupRestoreTime.html)获取。
|
125
125
|
|
126
126
|
:return: The restore_time of this ShowRestoreTablesRequest.
|
127
127
|
:rtype: str
|
@@ -132,7 +132,7 @@ class ShowRestoreTablesRequest:
|
|
132
132
|
def restore_time(self, restore_time):
|
133
133
|
"""Sets the restore_time of this ShowRestoreTablesRequest.
|
134
134
|
|
135
|
-
备份时间点,时间戳格式。 通过[查询可恢复时间段](https://support.huaweicloud.com/api-
|
135
|
+
备份时间点,时间戳格式。 通过[查询可恢复时间段](https://support.huaweicloud.com/api-taurusdb/ShowBackupRestoreTime.html)获取。
|
136
136
|
|
137
137
|
:param restore_time: The restore_time of this ShowRestoreTablesRequest.
|
138
138
|
:type restore_time: str
|
@@ -43,7 +43,7 @@ class StarRocksReplicationInfo:
|
|
43
43
|
|
44
44
|
The model defined in huaweicloud sdk
|
45
45
|
|
46
|
-
:param source_database:
|
46
|
+
:param source_database: TaurusDB数据库。
|
47
47
|
:type source_database: str
|
48
48
|
:param target_database: 目标数据库。
|
49
49
|
:type target_database: str
|
@@ -94,7 +94,7 @@ class StarRocksReplicationInfo:
|
|
94
94
|
def source_database(self):
|
95
95
|
"""Gets the source_database of this StarRocksReplicationInfo.
|
96
96
|
|
97
|
-
|
97
|
+
TaurusDB数据库。
|
98
98
|
|
99
99
|
:return: The source_database of this StarRocksReplicationInfo.
|
100
100
|
:rtype: str
|
@@ -105,7 +105,7 @@ class StarRocksReplicationInfo:
|
|
105
105
|
def source_database(self, source_database):
|
106
106
|
"""Sets the source_database of this StarRocksReplicationInfo.
|
107
107
|
|
108
|
-
|
108
|
+
TaurusDB数据库。
|
109
109
|
|
110
110
|
:param source_database: The source_database of this StarRocksReplicationInfo.
|
111
111
|
:type source_database: str
|