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
@@ -43,7 +43,7 @@ class CreateDatabaseUserList:
|
|
43
43
|
:type comment: str
|
44
44
|
:param password: 数据库用户密码,不能同用户名称相同,非空,至少包含以下字符中的三种:大写字母、小写字母、数字和特殊符号~!@#$%^*-_=+?,()&组成,长度8~32个字符。 建议您输入高强度密码,以提高安全性,防止出现密码被暴力破解等安全风险。
|
45
45
|
:type password: str
|
46
|
-
:param hosts: 主机IP地址,即允许数据库用户在当前主机连接数据库,默认IP地址为%,表示允许所有地址访问
|
46
|
+
:param hosts: 主机IP地址,即允许数据库用户在当前主机连接数据库,默认IP地址为%,表示允许所有地址访问TaurusDB实例。若IP地址为“10.10.10.%”,则表示10.10.10.X的IP地址都可以访问该TaurusDB实例。若您需要添加多个IP地址,请用英文逗号隔开(逗号前后都不能加空格),例如192.168.0.1,172.16.213.9,一次最多创建50个。
|
47
47
|
:type hosts: list[str]
|
48
48
|
:param databases:
|
49
49
|
:type databases: list[:class:`huaweicloudsdkgaussdb.v3.CreateDatabaseList`]
|
@@ -137,7 +137,7 @@ class CreateDatabaseUserList:
|
|
137
137
|
def hosts(self):
|
138
138
|
"""Gets the hosts of this CreateDatabaseUserList.
|
139
139
|
|
140
|
-
主机IP地址,即允许数据库用户在当前主机连接数据库,默认IP地址为%,表示允许所有地址访问
|
140
|
+
主机IP地址,即允许数据库用户在当前主机连接数据库,默认IP地址为%,表示允许所有地址访问TaurusDB实例。若IP地址为“10.10.10.%”,则表示10.10.10.X的IP地址都可以访问该TaurusDB实例。若您需要添加多个IP地址,请用英文逗号隔开(逗号前后都不能加空格),例如192.168.0.1,172.16.213.9,一次最多创建50个。
|
141
141
|
|
142
142
|
:return: The hosts of this CreateDatabaseUserList.
|
143
143
|
:rtype: list[str]
|
@@ -148,7 +148,7 @@ class CreateDatabaseUserList:
|
|
148
148
|
def hosts(self, hosts):
|
149
149
|
"""Sets the hosts of this CreateDatabaseUserList.
|
150
150
|
|
151
|
-
主机IP地址,即允许数据库用户在当前主机连接数据库,默认IP地址为%,表示允许所有地址访问
|
151
|
+
主机IP地址,即允许数据库用户在当前主机连接数据库,默认IP地址为%,表示允许所有地址访问TaurusDB实例。若IP地址为“10.10.10.%”,则表示10.10.10.X的IP地址都可以访问该TaurusDB实例。若您需要添加多个IP地址,请用英文逗号隔开(逗号前后都不能加空格),例如192.168.0.1,172.16.213.9,一次最多创建50个。
|
152
152
|
|
153
153
|
:param hosts: The hosts of this CreateDatabaseUserList.
|
154
154
|
:type hosts: list[str]
|
@@ -37,9 +37,9 @@ class CreateStarRocksDataReplication:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
40
|
-
:param source_instance_id:
|
40
|
+
:param source_instance_id: TaurusDB实例ID。
|
41
41
|
:type source_instance_id: str
|
42
|
-
:param source_node_id:
|
42
|
+
:param source_node_id: TaurusDB只读节点ID。如为空,则取TaurusDB主节点ID
|
43
43
|
:type source_node_id: str
|
44
44
|
:param source_database: 源数据库。
|
45
45
|
:type source_database: str
|
@@ -69,7 +69,7 @@ class CreateStarRocksDataReplication:
|
|
69
69
|
def source_instance_id(self):
|
70
70
|
"""Gets the source_instance_id of this CreateStarRocksDataReplication.
|
71
71
|
|
72
|
-
|
72
|
+
TaurusDB实例ID。
|
73
73
|
|
74
74
|
:return: The source_instance_id of this CreateStarRocksDataReplication.
|
75
75
|
:rtype: str
|
@@ -80,7 +80,7 @@ class CreateStarRocksDataReplication:
|
|
80
80
|
def source_instance_id(self, source_instance_id):
|
81
81
|
"""Sets the source_instance_id of this CreateStarRocksDataReplication.
|
82
82
|
|
83
|
-
|
83
|
+
TaurusDB实例ID。
|
84
84
|
|
85
85
|
:param source_instance_id: The source_instance_id of this CreateStarRocksDataReplication.
|
86
86
|
:type source_instance_id: str
|
@@ -91,7 +91,7 @@ class CreateStarRocksDataReplication:
|
|
91
91
|
def source_node_id(self):
|
92
92
|
"""Gets the source_node_id of this CreateStarRocksDataReplication.
|
93
93
|
|
94
|
-
|
94
|
+
TaurusDB只读节点ID。如为空,则取TaurusDB主节点ID
|
95
95
|
|
96
96
|
:return: The source_node_id of this CreateStarRocksDataReplication.
|
97
97
|
:rtype: str
|
@@ -102,7 +102,7 @@ class CreateStarRocksDataReplication:
|
|
102
102
|
def source_node_id(self, source_node_id):
|
103
103
|
"""Sets the source_node_id of this CreateStarRocksDataReplication.
|
104
104
|
|
105
|
-
|
105
|
+
TaurusDB只读节点ID。如为空,则取TaurusDB主节点ID
|
106
106
|
|
107
107
|
:param source_node_id: The source_node_id of this CreateStarRocksDataReplication.
|
108
108
|
:type source_node_id: str
|
@@ -33,7 +33,7 @@ class CreateStarrocksInstanceRequest:
|
|
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 CreateStarrocksInstanceRequest:
|
|
58
58
|
def instance_id(self):
|
59
59
|
"""Gets the instance_id of this CreateStarrocksInstanceRequest.
|
60
60
|
|
61
|
-
|
61
|
+
TaurusDB数据库实例ID,严格匹配UUID规则。
|
62
62
|
|
63
63
|
:return: The instance_id of this CreateStarrocksInstanceRequest.
|
64
64
|
:rtype: str
|
@@ -69,7 +69,7 @@ class CreateStarrocksInstanceRequest:
|
|
69
69
|
def instance_id(self, instance_id):
|
70
70
|
"""Sets the instance_id of this CreateStarrocksInstanceRequest.
|
71
71
|
|
72
|
-
|
72
|
+
TaurusDB数据库实例ID,严格匹配UUID规则。
|
73
73
|
|
74
74
|
:param instance_id: The instance_id of this CreateStarrocksInstanceRequest.
|
75
75
|
:type instance_id: str
|
@@ -41,11 +41,11 @@ class DbConfigCheckRequestV3:
|
|
41
41
|
|
42
42
|
The model defined in huaweicloud sdk
|
43
43
|
|
44
|
-
:param source_instance_id:
|
44
|
+
:param source_instance_id: TaurusDB实例ID。
|
45
45
|
:type source_instance_id: str
|
46
|
-
:param source_node_id:
|
46
|
+
:param source_node_id: TaurusDB只读节点ID。如为空,则取TaurusDB主节点ID
|
47
47
|
:type source_node_id: str
|
48
|
-
:param source_database_name:
|
48
|
+
:param source_database_name: TaurusDB数据库名。
|
49
49
|
:type source_database_name: str
|
50
50
|
:param target_database_name: 目标数据库名。字符长度限制3~128位,仅支持英文大小写字母、数字以及下划线_。
|
51
51
|
:type target_database_name: str
|
@@ -87,7 +87,7 @@ class DbConfigCheckRequestV3:
|
|
87
87
|
def source_instance_id(self):
|
88
88
|
"""Gets the source_instance_id of this DbConfigCheckRequestV3.
|
89
89
|
|
90
|
-
|
90
|
+
TaurusDB实例ID。
|
91
91
|
|
92
92
|
:return: The source_instance_id of this DbConfigCheckRequestV3.
|
93
93
|
:rtype: str
|
@@ -98,7 +98,7 @@ class DbConfigCheckRequestV3:
|
|
98
98
|
def source_instance_id(self, source_instance_id):
|
99
99
|
"""Sets the source_instance_id of this DbConfigCheckRequestV3.
|
100
100
|
|
101
|
-
|
101
|
+
TaurusDB实例ID。
|
102
102
|
|
103
103
|
:param source_instance_id: The source_instance_id of this DbConfigCheckRequestV3.
|
104
104
|
:type source_instance_id: str
|
@@ -109,7 +109,7 @@ class DbConfigCheckRequestV3:
|
|
109
109
|
def source_node_id(self):
|
110
110
|
"""Gets the source_node_id of this DbConfigCheckRequestV3.
|
111
111
|
|
112
|
-
|
112
|
+
TaurusDB只读节点ID。如为空,则取TaurusDB主节点ID
|
113
113
|
|
114
114
|
:return: The source_node_id of this DbConfigCheckRequestV3.
|
115
115
|
:rtype: str
|
@@ -120,7 +120,7 @@ class DbConfigCheckRequestV3:
|
|
120
120
|
def source_node_id(self, source_node_id):
|
121
121
|
"""Sets the source_node_id of this DbConfigCheckRequestV3.
|
122
122
|
|
123
|
-
|
123
|
+
TaurusDB只读节点ID。如为空,则取TaurusDB主节点ID
|
124
124
|
|
125
125
|
:param source_node_id: The source_node_id of this DbConfigCheckRequestV3.
|
126
126
|
:type source_node_id: str
|
@@ -131,7 +131,7 @@ class DbConfigCheckRequestV3:
|
|
131
131
|
def source_database_name(self):
|
132
132
|
"""Gets the source_database_name of this DbConfigCheckRequestV3.
|
133
133
|
|
134
|
-
|
134
|
+
TaurusDB数据库名。
|
135
135
|
|
136
136
|
:return: The source_database_name of this DbConfigCheckRequestV3.
|
137
137
|
:rtype: str
|
@@ -142,7 +142,7 @@ class DbConfigCheckRequestV3:
|
|
142
142
|
def source_database_name(self, source_database_name):
|
143
143
|
"""Sets the source_database_name of this DbConfigCheckRequestV3.
|
144
144
|
|
145
|
-
|
145
|
+
TaurusDB数据库名。
|
146
146
|
|
147
147
|
:param source_database_name: The source_database_name of this DbConfigCheckRequestV3.
|
148
148
|
:type source_database_name: str
|
@@ -21,7 +21,8 @@ class DbParameter:
|
|
21
21
|
'data_type': 'str',
|
22
22
|
'default_value': 'str',
|
23
23
|
'value_range': 'str',
|
24
|
-
'description': 'str'
|
24
|
+
'description': 'str',
|
25
|
+
'is_modifiable': 'str'
|
25
26
|
}
|
26
27
|
|
27
28
|
attribute_map = {
|
@@ -29,10 +30,11 @@ class DbParameter:
|
|
29
30
|
'data_type': 'data_type',
|
30
31
|
'default_value': 'default_value',
|
31
32
|
'value_range': 'value_range',
|
32
|
-
'description': 'description'
|
33
|
+
'description': 'description',
|
34
|
+
'is_modifiable': 'is_modifiable'
|
33
35
|
}
|
34
36
|
|
35
|
-
def __init__(self, param_name=None, data_type=None, default_value=None, value_range=None, description=None):
|
37
|
+
def __init__(self, param_name=None, data_type=None, default_value=None, value_range=None, description=None, is_modifiable=None):
|
36
38
|
"""DbParameter
|
37
39
|
|
38
40
|
The model defined in huaweicloud sdk
|
@@ -47,6 +49,8 @@ class DbParameter:
|
|
47
49
|
:type value_range: str
|
48
50
|
:param description: 参数描述。
|
49
51
|
:type description: str
|
52
|
+
:param is_modifiable: **参数解释**: 新增子任务的场景,用于区分库参数是否支持修改。 **取值范围**: 不涉及。
|
53
|
+
:type is_modifiable: str
|
50
54
|
"""
|
51
55
|
|
52
56
|
|
@@ -56,6 +60,7 @@ class DbParameter:
|
|
56
60
|
self._default_value = None
|
57
61
|
self._value_range = None
|
58
62
|
self._description = None
|
63
|
+
self._is_modifiable = None
|
59
64
|
self.discriminator = None
|
60
65
|
|
61
66
|
if param_name is not None:
|
@@ -68,6 +73,8 @@ class DbParameter:
|
|
68
73
|
self.value_range = value_range
|
69
74
|
if description is not None:
|
70
75
|
self.description = description
|
76
|
+
if is_modifiable is not None:
|
77
|
+
self.is_modifiable = is_modifiable
|
71
78
|
|
72
79
|
@property
|
73
80
|
def param_name(self):
|
@@ -179,6 +186,28 @@ class DbParameter:
|
|
179
186
|
"""
|
180
187
|
self._description = description
|
181
188
|
|
189
|
+
@property
|
190
|
+
def is_modifiable(self):
|
191
|
+
"""Gets the is_modifiable of this DbParameter.
|
192
|
+
|
193
|
+
**参数解释**: 新增子任务的场景,用于区分库参数是否支持修改。 **取值范围**: 不涉及。
|
194
|
+
|
195
|
+
:return: The is_modifiable of this DbParameter.
|
196
|
+
:rtype: str
|
197
|
+
"""
|
198
|
+
return self._is_modifiable
|
199
|
+
|
200
|
+
@is_modifiable.setter
|
201
|
+
def is_modifiable(self, is_modifiable):
|
202
|
+
"""Sets the is_modifiable of this DbParameter.
|
203
|
+
|
204
|
+
**参数解释**: 新增子任务的场景,用于区分库参数是否支持修改。 **取值范围**: 不涉及。
|
205
|
+
|
206
|
+
:param is_modifiable: The is_modifiable of this DbParameter.
|
207
|
+
:type is_modifiable: str
|
208
|
+
"""
|
209
|
+
self._is_modifiable = is_modifiable
|
210
|
+
|
182
211
|
def to_dict(self):
|
183
212
|
"""Returns the model properties as a dict"""
|
184
213
|
result = {}
|
@@ -33,7 +33,7 @@ class DeleteClickHouseInstanceRequest:
|
|
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 clickhouse_instance_id: ClickHouse实例ID,严格匹配UUID规则。
|
39
39
|
:type clickhouse_instance_id: str
|
@@ -57,7 +57,7 @@ class DeleteClickHouseInstanceRequest:
|
|
57
57
|
def instance_id(self):
|
58
58
|
"""Gets the instance_id of this DeleteClickHouseInstanceRequest.
|
59
59
|
|
60
|
-
|
60
|
+
TaurusDB实例ID,严格匹配UUID规则。
|
61
61
|
|
62
62
|
:return: The instance_id of this DeleteClickHouseInstanceRequest.
|
63
63
|
:rtype: str
|
@@ -68,7 +68,7 @@ class DeleteClickHouseInstanceRequest:
|
|
68
68
|
def instance_id(self, instance_id):
|
69
69
|
"""Sets the instance_id of this DeleteClickHouseInstanceRequest.
|
70
70
|
|
71
|
-
|
71
|
+
TaurusDB实例ID,严格匹配UUID规则。
|
72
72
|
|
73
73
|
:param instance_id: The instance_id of this DeleteClickHouseInstanceRequest.
|
74
74
|
:type instance_id: str
|
@@ -33,7 +33,7 @@ class DeleteGaussMySqlBackupRequest:
|
|
33
33
|
|
34
34
|
:param x_language: 语言。
|
35
35
|
:type x_language: str
|
36
|
-
:param backup_id: 备份文件ID。 获取方法参见[查询备份列表](https://support.huaweicloud.com/api-
|
36
|
+
:param backup_id: 备份文件ID。 获取方法参见[查询备份列表](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlBackupList.html)。
|
37
37
|
:type backup_id: str
|
38
38
|
"""
|
39
39
|
|
@@ -73,7 +73,7 @@ class DeleteGaussMySqlBackupRequest:
|
|
73
73
|
def backup_id(self):
|
74
74
|
"""Gets the backup_id of this DeleteGaussMySqlBackupRequest.
|
75
75
|
|
76
|
-
备份文件ID。 获取方法参见[查询备份列表](https://support.huaweicloud.com/api-
|
76
|
+
备份文件ID。 获取方法参见[查询备份列表](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlBackupList.html)。
|
77
77
|
|
78
78
|
:return: The backup_id of this DeleteGaussMySqlBackupRequest.
|
79
79
|
:rtype: str
|
@@ -84,7 +84,7 @@ class DeleteGaussMySqlBackupRequest:
|
|
84
84
|
def backup_id(self, backup_id):
|
85
85
|
"""Sets the backup_id of this DeleteGaussMySqlBackupRequest.
|
86
86
|
|
87
|
-
备份文件ID。 获取方法参见[查询备份列表](https://support.huaweicloud.com/api-
|
87
|
+
备份文件ID。 获取方法参见[查询备份列表](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlBackupList.html)。
|
88
88
|
|
89
89
|
:param backup_id: The backup_id of this DeleteGaussMySqlBackupRequest.
|
90
90
|
:type backup_id: str
|
@@ -33,7 +33,7 @@ class DeleteStarrocksInstanceRequest:
|
|
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 starrocks_instance_id: StarRocks实例ID,严格匹配UUID规则。
|
39
39
|
:type starrocks_instance_id: str
|
@@ -57,7 +57,7 @@ class DeleteStarrocksInstanceRequest:
|
|
57
57
|
def instance_id(self):
|
58
58
|
"""Gets the instance_id of this DeleteStarrocksInstanceRequest.
|
59
59
|
|
60
|
-
|
60
|
+
TaurusDB实例ID,严格匹配UUID规则。
|
61
61
|
|
62
62
|
:return: The instance_id of this DeleteStarrocksInstanceRequest.
|
63
63
|
:rtype: str
|
@@ -68,7 +68,7 @@ class DeleteStarrocksInstanceRequest:
|
|
68
68
|
def instance_id(self, instance_id):
|
69
69
|
"""Sets the instance_id of this DeleteStarrocksInstanceRequest.
|
70
70
|
|
71
|
-
|
71
|
+
TaurusDB实例ID,严格匹配UUID规则。
|
72
72
|
|
73
73
|
:param instance_id: The instance_id of this DeleteStarrocksInstanceRequest.
|
74
74
|
:type instance_id: str
|
@@ -33,7 +33,7 @@ class ListClickHouseInstanceRequest:
|
|
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 clickhouse_instance_id: ClickHouse实例ID,严格匹配UUID规则。
|
39
39
|
:type clickhouse_instance_id: str
|
@@ -57,7 +57,7 @@ class ListClickHouseInstanceRequest:
|
|
57
57
|
def instance_id(self):
|
58
58
|
"""Gets the instance_id of this ListClickHouseInstanceRequest.
|
59
59
|
|
60
|
-
|
60
|
+
TaurusDB实例ID,严格匹配UUID规则。
|
61
61
|
|
62
62
|
:return: The instance_id of this ListClickHouseInstanceRequest.
|
63
63
|
:rtype: str
|
@@ -68,7 +68,7 @@ class ListClickHouseInstanceRequest:
|
|
68
68
|
def instance_id(self, instance_id):
|
69
69
|
"""Sets the instance_id of this ListClickHouseInstanceRequest.
|
70
70
|
|
71
|
-
|
71
|
+
TaurusDB实例ID,严格匹配UUID规则。
|
72
72
|
|
73
73
|
:param instance_id: The instance_id of this ListClickHouseInstanceRequest.
|
74
74
|
:type instance_id: str
|
@@ -37,7 +37,7 @@ class ListConfigurationsInstancesRequest:
|
|
37
37
|
|
38
38
|
:param x_language: 请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
39
39
|
:type x_language: str
|
40
|
-
:param configuration_id: 参数模板ID。 通过调用[查询参数模板](https://support.huaweicloud.com/api-
|
40
|
+
:param configuration_id: 参数模板ID。 通过调用[查询参数模板](https://support.huaweicloud.com/api-taurusdb/ListGaussMySqlConfigurations.html)接口获取。 请求响应成功后在响应消息体中包含的“id”的值即为configuration_id值。
|
41
41
|
:type configuration_id: str
|
42
42
|
:param offset: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
|
43
43
|
:type offset: int
|
@@ -87,7 +87,7 @@ class ListConfigurationsInstancesRequest:
|
|
87
87
|
def configuration_id(self):
|
88
88
|
"""Gets the configuration_id of this ListConfigurationsInstancesRequest.
|
89
89
|
|
90
|
-
参数模板ID。 通过调用[查询参数模板](https://support.huaweicloud.com/api-
|
90
|
+
参数模板ID。 通过调用[查询参数模板](https://support.huaweicloud.com/api-taurusdb/ListGaussMySqlConfigurations.html)接口获取。 请求响应成功后在响应消息体中包含的“id”的值即为configuration_id值。
|
91
91
|
|
92
92
|
:return: The configuration_id of this ListConfigurationsInstancesRequest.
|
93
93
|
:rtype: str
|
@@ -98,7 +98,7 @@ class ListConfigurationsInstancesRequest:
|
|
98
98
|
def configuration_id(self, configuration_id):
|
99
99
|
"""Sets the configuration_id of this ListConfigurationsInstancesRequest.
|
100
100
|
|
101
|
-
参数模板ID。 通过调用[查询参数模板](https://support.huaweicloud.com/api-
|
101
|
+
参数模板ID。 通过调用[查询参数模板](https://support.huaweicloud.com/api-taurusdb/ListGaussMySqlConfigurations.html)接口获取。 请求响应成功后在响应消息体中包含的“id”的值即为configuration_id值。
|
102
102
|
|
103
103
|
:param configuration_id: The configuration_id of this ListConfigurationsInstancesRequest.
|
104
104
|
:type configuration_id: str
|
@@ -31,7 +31,7 @@ class ListHtapInstanceInfoRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param instance_id:
|
34
|
+
:param instance_id: TaurusDB实例ID,严格匹配UUID规则。
|
35
35
|
:type instance_id: str
|
36
36
|
:param x_language: 请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
37
37
|
:type x_language: str
|
@@ -51,7 +51,7 @@ class ListHtapInstanceInfoRequest:
|
|
51
51
|
def instance_id(self):
|
52
52
|
"""Gets the instance_id of this ListHtapInstanceInfoRequest.
|
53
53
|
|
54
|
-
|
54
|
+
TaurusDB实例ID,严格匹配UUID规则。
|
55
55
|
|
56
56
|
:return: The instance_id of this ListHtapInstanceInfoRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class ListHtapInstanceInfoRequest:
|
|
62
62
|
def instance_id(self, instance_id):
|
63
63
|
"""Sets the instance_id of this ListHtapInstanceInfoRequest.
|
64
64
|
|
65
|
-
|
65
|
+
TaurusDB实例ID,严格匹配UUID规则。
|
66
66
|
|
67
67
|
:param instance_id: The instance_id of this ListHtapInstanceInfoRequest.
|
68
68
|
:type instance_id: str
|
@@ -37,7 +37,7 @@ class ListModifyHistoryRequest:
|
|
37
37
|
|
38
38
|
:param x_language: 请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
39
39
|
:type x_language: str
|
40
|
-
:param configuration_id: 参数组ID。 通过调用[查询实例详情信息](https://support.huaweicloud.com/api-
|
40
|
+
:param configuration_id: 参数组ID。 通过调用[查询实例详情信息](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlInstanceInfo.html)接口获取。 请求响应成功后在响应消息体中包含的“configuration_id”的值即为configuration_id值。
|
41
41
|
:type configuration_id: str
|
42
42
|
:param offset: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
|
43
43
|
:type offset: int
|
@@ -87,7 +87,7 @@ class ListModifyHistoryRequest:
|
|
87
87
|
def configuration_id(self):
|
88
88
|
"""Gets the configuration_id of this ListModifyHistoryRequest.
|
89
89
|
|
90
|
-
参数组ID。 通过调用[查询实例详情信息](https://support.huaweicloud.com/api-
|
90
|
+
参数组ID。 通过调用[查询实例详情信息](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlInstanceInfo.html)接口获取。 请求响应成功后在响应消息体中包含的“configuration_id”的值即为configuration_id值。
|
91
91
|
|
92
92
|
:return: The configuration_id of this ListModifyHistoryRequest.
|
93
93
|
:rtype: str
|
@@ -98,7 +98,7 @@ class ListModifyHistoryRequest:
|
|
98
98
|
def configuration_id(self, configuration_id):
|
99
99
|
"""Sets the configuration_id of this ListModifyHistoryRequest.
|
100
100
|
|
101
|
-
参数组ID。 通过调用[查询实例详情信息](https://support.huaweicloud.com/api-
|
101
|
+
参数组ID。 通过调用[查询实例详情信息](https://support.huaweicloud.com/api-taurusdb/ShowGaussMySqlInstanceInfo.html)接口获取。 请求响应成功后在响应消息体中包含的“configuration_id”的值即为configuration_id值。
|
102
102
|
|
103
103
|
:param configuration_id: The configuration_id of this ListModifyHistoryRequest.
|
104
104
|
:type configuration_id: str
|
huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_replication_config_by_data_base_request.py
ADDED
@@ -0,0 +1,170 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListStarRocksDataReplicationConfigByDataBaseRequest:
|
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
|
+
'instance_id': 'str',
|
21
|
+
'x_language': 'str',
|
22
|
+
'database': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'instance_id': 'instance_id',
|
27
|
+
'x_language': 'X-Language',
|
28
|
+
'database': 'database'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, instance_id=None, x_language=None, database=None):
|
32
|
+
"""ListStarRocksDataReplicationConfigByDataBaseRequest
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param instance_id: **参数解释**: StarRocks实例ID,严格匹配UUID规则。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in17,且长度为36个字符。 **默认值**: 不涉及。
|
37
|
+
:type instance_id: str
|
38
|
+
:param x_language: **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认值**: en-us。
|
39
|
+
:type x_language: str
|
40
|
+
:param database: **参数解释**: 目标数据库名。 **约束限制**: 不涉及。 **取值范围**: 字符长度限制3~128位,仅支持英文大小写字母、数字以及下划线。 **默认值**: 不涉及。
|
41
|
+
:type database: str
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._instance_id = None
|
47
|
+
self._x_language = None
|
48
|
+
self._database = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.instance_id = instance_id
|
52
|
+
self.x_language = x_language
|
53
|
+
self.database = database
|
54
|
+
|
55
|
+
@property
|
56
|
+
def instance_id(self):
|
57
|
+
"""Gets the instance_id of this ListStarRocksDataReplicationConfigByDataBaseRequest.
|
58
|
+
|
59
|
+
**参数解释**: StarRocks实例ID,严格匹配UUID规则。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in17,且长度为36个字符。 **默认值**: 不涉及。
|
60
|
+
|
61
|
+
:return: The instance_id of this ListStarRocksDataReplicationConfigByDataBaseRequest.
|
62
|
+
:rtype: str
|
63
|
+
"""
|
64
|
+
return self._instance_id
|
65
|
+
|
66
|
+
@instance_id.setter
|
67
|
+
def instance_id(self, instance_id):
|
68
|
+
"""Sets the instance_id of this ListStarRocksDataReplicationConfigByDataBaseRequest.
|
69
|
+
|
70
|
+
**参数解释**: StarRocks实例ID,严格匹配UUID规则。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,后缀为in17,且长度为36个字符。 **默认值**: 不涉及。
|
71
|
+
|
72
|
+
:param instance_id: The instance_id of this ListStarRocksDataReplicationConfigByDataBaseRequest.
|
73
|
+
:type instance_id: str
|
74
|
+
"""
|
75
|
+
self._instance_id = instance_id
|
76
|
+
|
77
|
+
@property
|
78
|
+
def x_language(self):
|
79
|
+
"""Gets the x_language of this ListStarRocksDataReplicationConfigByDataBaseRequest.
|
80
|
+
|
81
|
+
**参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认值**: en-us。
|
82
|
+
|
83
|
+
:return: The x_language of this ListStarRocksDataReplicationConfigByDataBaseRequest.
|
84
|
+
:rtype: str
|
85
|
+
"""
|
86
|
+
return self._x_language
|
87
|
+
|
88
|
+
@x_language.setter
|
89
|
+
def x_language(self, x_language):
|
90
|
+
"""Sets the x_language of this ListStarRocksDataReplicationConfigByDataBaseRequest.
|
91
|
+
|
92
|
+
**参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认值**: en-us。
|
93
|
+
|
94
|
+
:param x_language: The x_language of this ListStarRocksDataReplicationConfigByDataBaseRequest.
|
95
|
+
:type x_language: str
|
96
|
+
"""
|
97
|
+
self._x_language = x_language
|
98
|
+
|
99
|
+
@property
|
100
|
+
def database(self):
|
101
|
+
"""Gets the database of this ListStarRocksDataReplicationConfigByDataBaseRequest.
|
102
|
+
|
103
|
+
**参数解释**: 目标数据库名。 **约束限制**: 不涉及。 **取值范围**: 字符长度限制3~128位,仅支持英文大小写字母、数字以及下划线。 **默认值**: 不涉及。
|
104
|
+
|
105
|
+
:return: The database of this ListStarRocksDataReplicationConfigByDataBaseRequest.
|
106
|
+
:rtype: str
|
107
|
+
"""
|
108
|
+
return self._database
|
109
|
+
|
110
|
+
@database.setter
|
111
|
+
def database(self, database):
|
112
|
+
"""Sets the database of this ListStarRocksDataReplicationConfigByDataBaseRequest.
|
113
|
+
|
114
|
+
**参数解释**: 目标数据库名。 **约束限制**: 不涉及。 **取值范围**: 字符长度限制3~128位,仅支持英文大小写字母、数字以及下划线。 **默认值**: 不涉及。
|
115
|
+
|
116
|
+
:param database: The database of this ListStarRocksDataReplicationConfigByDataBaseRequest.
|
117
|
+
:type database: str
|
118
|
+
"""
|
119
|
+
self._database = database
|
120
|
+
|
121
|
+
def to_dict(self):
|
122
|
+
"""Returns the model properties as a dict"""
|
123
|
+
result = {}
|
124
|
+
|
125
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
126
|
+
value = getattr(self, attr)
|
127
|
+
if isinstance(value, list):
|
128
|
+
result[attr] = list(map(
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
130
|
+
value
|
131
|
+
))
|
132
|
+
elif hasattr(value, "to_dict"):
|
133
|
+
result[attr] = value.to_dict()
|
134
|
+
elif isinstance(value, dict):
|
135
|
+
result[attr] = dict(map(
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
138
|
+
value.items()
|
139
|
+
))
|
140
|
+
else:
|
141
|
+
if attr in self.sensitive_list:
|
142
|
+
result[attr] = "****"
|
143
|
+
else:
|
144
|
+
result[attr] = value
|
145
|
+
|
146
|
+
return result
|
147
|
+
|
148
|
+
def to_str(self):
|
149
|
+
"""Returns the string representation of the model"""
|
150
|
+
import simplejson as json
|
151
|
+
if six.PY2:
|
152
|
+
import sys
|
153
|
+
reload(sys)
|
154
|
+
sys.setdefaultencoding("utf-8")
|
155
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
156
|
+
|
157
|
+
def __repr__(self):
|
158
|
+
"""For `print`"""
|
159
|
+
return self.to_str()
|
160
|
+
|
161
|
+
def __eq__(self, other):
|
162
|
+
"""Returns true if both objects are equal"""
|
163
|
+
if not isinstance(other, ListStarRocksDataReplicationConfigByDataBaseRequest):
|
164
|
+
return False
|
165
|
+
|
166
|
+
return self.__dict__ == other.__dict__
|
167
|
+
|
168
|
+
def __ne__(self, other):
|
169
|
+
"""Returns true if both objects are not equal"""
|
170
|
+
return not self == other
|