huaweicloudsdkgaussdb 3.1.94__py2.py3-none-any.whl → 3.1.95__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkgaussdb/v3/__init__.py +28 -0
- huaweicloudsdkgaussdb/v3/gaussdb_async_client.py +556 -0
- huaweicloudsdkgaussdb/v3/gaussdb_client.py +556 -0
- huaweicloudsdkgaussdb/v3/model/__init__.py +28 -0
- huaweicloudsdkgaussdb/v3/model/check_data_base_config_request.py +167 -0
- huaweicloudsdkgaussdb/v3/model/check_data_base_config_response.py +232 -0
- huaweicloudsdkgaussdb/v3/model/check_table_config_request.py +167 -0
- huaweicloudsdkgaussdb/v3/model/check_table_config_response.py +203 -0
- huaweicloudsdkgaussdb/v3/model/create_star_rocks_data_replication.py +227 -0
- huaweicloudsdkgaussdb/v3/model/create_star_rocks_data_replication_request.py +167 -0
- huaweicloudsdkgaussdb/v3/model/create_star_rocks_data_replication_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/data_base_info.py +144 -0
- huaweicloudsdkgaussdb/v3/model/db_config.py +144 -0
- huaweicloudsdkgaussdb/v3/model/db_config_check_request_v3.py +285 -0
- huaweicloudsdkgaussdb/v3/model/db_config_check_result.py +173 -0
- huaweicloudsdkgaussdb/v3/model/db_parameter.py +231 -0
- huaweicloudsdkgaussdb/v3/model/delete_star_rocks_data_replication.py +115 -0
- huaweicloudsdkgaussdb/v3/model/delete_star_rocks_data_replication_request.py +167 -0
- huaweicloudsdkgaussdb/v3/model/delete_star_rocks_data_replication_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_bases_request.py +229 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_bases_response.py +174 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_replication_config_request.py +170 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_replication_config_response.py +336 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_replications_request.py +200 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_data_replications_response.py +174 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_db_parameters_request.py +142 -0
- huaweicloudsdkgaussdb/v3/model/list_star_rocks_db_parameters_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/star_rocks_replication_info.py +318 -0
- huaweicloudsdkgaussdb/v3/model/table_config_check_request_v3.py +285 -0
- huaweicloudsdkgaussdb/v3/model/table_config_check_result.py +173 -0
- huaweicloudsdkgaussdb/v3/model/table_repl_config.py +173 -0
- huaweicloudsdkgaussdb/v3/model/tables_config.py +144 -0
- {huaweicloudsdkgaussdb-3.1.94.dist-info → huaweicloudsdkgaussdb-3.1.95.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdb-3.1.94.dist-info → huaweicloudsdkgaussdb-3.1.95.dist-info}/RECORD +37 -9
- {huaweicloudsdkgaussdb-3.1.94.dist-info → huaweicloudsdkgaussdb-3.1.95.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdb-3.1.94.dist-info → huaweicloudsdkgaussdb-3.1.95.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdb-3.1.94.dist-info → huaweicloudsdkgaussdb-3.1.95.dist-info}/top_level.txt +0 -0
@@ -8051,6 +8051,562 @@ class GaussDBClient(Client):
|
|
8051
8051
|
|
8052
8052
|
return http_info
|
8053
8053
|
|
8054
|
+
def check_data_base_config(self, request):
|
8055
|
+
"""HTAP数据同步库配置校验
|
8056
|
+
|
8057
|
+
HTAP数据同步库配置校验。
|
8058
|
+
|
8059
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
8060
|
+
|
8061
|
+
:param request: Request instance for CheckDataBaseConfig
|
8062
|
+
:type request: :class:`huaweicloudsdkgaussdb.v3.CheckDataBaseConfigRequest`
|
8063
|
+
:rtype: :class:`huaweicloudsdkgaussdb.v3.CheckDataBaseConfigResponse`
|
8064
|
+
"""
|
8065
|
+
http_info = self._check_data_base_config_http_info(request)
|
8066
|
+
return self._call_api(**http_info)
|
8067
|
+
|
8068
|
+
def check_data_base_config_invoker(self, request):
|
8069
|
+
http_info = self._check_data_base_config_http_info(request)
|
8070
|
+
return SyncInvoker(self, http_info)
|
8071
|
+
|
8072
|
+
@classmethod
|
8073
|
+
def _check_data_base_config_http_info(cls, request):
|
8074
|
+
http_info = {
|
8075
|
+
"method": "POST",
|
8076
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/databases/replication/database-config-check",
|
8077
|
+
"request_type": request.__class__.__name__,
|
8078
|
+
"response_type": "CheckDataBaseConfigResponse"
|
8079
|
+
}
|
8080
|
+
|
8081
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
8082
|
+
|
8083
|
+
cname = None
|
8084
|
+
|
8085
|
+
collection_formats = {}
|
8086
|
+
|
8087
|
+
path_params = {}
|
8088
|
+
if 'instance_id' in local_var_params:
|
8089
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
8090
|
+
|
8091
|
+
query_params = []
|
8092
|
+
|
8093
|
+
header_params = {}
|
8094
|
+
if 'x_language' in local_var_params:
|
8095
|
+
header_params['X-Language'] = local_var_params['x_language']
|
8096
|
+
|
8097
|
+
form_params = {}
|
8098
|
+
|
8099
|
+
body = None
|
8100
|
+
if 'body' in local_var_params:
|
8101
|
+
body = local_var_params['body']
|
8102
|
+
if isinstance(request, SdkStreamRequest):
|
8103
|
+
body = request.get_file_stream()
|
8104
|
+
|
8105
|
+
response_headers = []
|
8106
|
+
|
8107
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
8108
|
+
['application/json;charset=UTF-8'])
|
8109
|
+
|
8110
|
+
auth_settings = []
|
8111
|
+
|
8112
|
+
http_info["cname"] = cname
|
8113
|
+
http_info["collection_formats"] = collection_formats
|
8114
|
+
http_info["path_params"] = path_params
|
8115
|
+
http_info["query_params"] = query_params
|
8116
|
+
http_info["header_params"] = header_params
|
8117
|
+
http_info["post_params"] = form_params
|
8118
|
+
http_info["body"] = body
|
8119
|
+
http_info["response_headers"] = response_headers
|
8120
|
+
|
8121
|
+
return http_info
|
8122
|
+
|
8123
|
+
def check_table_config(self, request):
|
8124
|
+
"""HTAP数据同步表配置校验
|
8125
|
+
|
8126
|
+
HTAP数据同步表配置校验。
|
8127
|
+
|
8128
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
8129
|
+
|
8130
|
+
:param request: Request instance for CheckTableConfig
|
8131
|
+
:type request: :class:`huaweicloudsdkgaussdb.v3.CheckTableConfigRequest`
|
8132
|
+
:rtype: :class:`huaweicloudsdkgaussdb.v3.CheckTableConfigResponse`
|
8133
|
+
"""
|
8134
|
+
http_info = self._check_table_config_http_info(request)
|
8135
|
+
return self._call_api(**http_info)
|
8136
|
+
|
8137
|
+
def check_table_config_invoker(self, request):
|
8138
|
+
http_info = self._check_table_config_http_info(request)
|
8139
|
+
return SyncInvoker(self, http_info)
|
8140
|
+
|
8141
|
+
@classmethod
|
8142
|
+
def _check_table_config_http_info(cls, request):
|
8143
|
+
http_info = {
|
8144
|
+
"method": "POST",
|
8145
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/databases/replication/table-config-check",
|
8146
|
+
"request_type": request.__class__.__name__,
|
8147
|
+
"response_type": "CheckTableConfigResponse"
|
8148
|
+
}
|
8149
|
+
|
8150
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
8151
|
+
|
8152
|
+
cname = None
|
8153
|
+
|
8154
|
+
collection_formats = {}
|
8155
|
+
|
8156
|
+
path_params = {}
|
8157
|
+
if 'instance_id' in local_var_params:
|
8158
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
8159
|
+
|
8160
|
+
query_params = []
|
8161
|
+
|
8162
|
+
header_params = {}
|
8163
|
+
if 'x_language' in local_var_params:
|
8164
|
+
header_params['X-Language'] = local_var_params['x_language']
|
8165
|
+
|
8166
|
+
form_params = {}
|
8167
|
+
|
8168
|
+
body = None
|
8169
|
+
if 'body' in local_var_params:
|
8170
|
+
body = local_var_params['body']
|
8171
|
+
if isinstance(request, SdkStreamRequest):
|
8172
|
+
body = request.get_file_stream()
|
8173
|
+
|
8174
|
+
response_headers = []
|
8175
|
+
|
8176
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
8177
|
+
['application/json;charset=UTF-8'])
|
8178
|
+
|
8179
|
+
auth_settings = []
|
8180
|
+
|
8181
|
+
http_info["cname"] = cname
|
8182
|
+
http_info["collection_formats"] = collection_formats
|
8183
|
+
http_info["path_params"] = path_params
|
8184
|
+
http_info["query_params"] = query_params
|
8185
|
+
http_info["header_params"] = header_params
|
8186
|
+
http_info["post_params"] = form_params
|
8187
|
+
http_info["body"] = body
|
8188
|
+
http_info["response_headers"] = response_headers
|
8189
|
+
|
8190
|
+
return http_info
|
8191
|
+
|
8192
|
+
def create_star_rocks_data_replication(self, request):
|
8193
|
+
"""创建StarRocks数据同步
|
8194
|
+
|
8195
|
+
创建StarRocks数据同步。
|
8196
|
+
|
8197
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
8198
|
+
|
8199
|
+
:param request: Request instance for CreateStarRocksDataReplication
|
8200
|
+
:type request: :class:`huaweicloudsdkgaussdb.v3.CreateStarRocksDataReplicationRequest`
|
8201
|
+
:rtype: :class:`huaweicloudsdkgaussdb.v3.CreateStarRocksDataReplicationResponse`
|
8202
|
+
"""
|
8203
|
+
http_info = self._create_star_rocks_data_replication_http_info(request)
|
8204
|
+
return self._call_api(**http_info)
|
8205
|
+
|
8206
|
+
def create_star_rocks_data_replication_invoker(self, request):
|
8207
|
+
http_info = self._create_star_rocks_data_replication_http_info(request)
|
8208
|
+
return SyncInvoker(self, http_info)
|
8209
|
+
|
8210
|
+
@classmethod
|
8211
|
+
def _create_star_rocks_data_replication_http_info(cls, request):
|
8212
|
+
http_info = {
|
8213
|
+
"method": "POST",
|
8214
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/databases/replication",
|
8215
|
+
"request_type": request.__class__.__name__,
|
8216
|
+
"response_type": "CreateStarRocksDataReplicationResponse"
|
8217
|
+
}
|
8218
|
+
|
8219
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
8220
|
+
|
8221
|
+
cname = None
|
8222
|
+
|
8223
|
+
collection_formats = {}
|
8224
|
+
|
8225
|
+
path_params = {}
|
8226
|
+
if 'instance_id' in local_var_params:
|
8227
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
8228
|
+
|
8229
|
+
query_params = []
|
8230
|
+
|
8231
|
+
header_params = {}
|
8232
|
+
if 'x_language' in local_var_params:
|
8233
|
+
header_params['X-Language'] = local_var_params['x_language']
|
8234
|
+
|
8235
|
+
form_params = {}
|
8236
|
+
|
8237
|
+
body = None
|
8238
|
+
if 'body' in local_var_params:
|
8239
|
+
body = local_var_params['body']
|
8240
|
+
if isinstance(request, SdkStreamRequest):
|
8241
|
+
body = request.get_file_stream()
|
8242
|
+
|
8243
|
+
response_headers = []
|
8244
|
+
|
8245
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
8246
|
+
['application/json;charset=UTF-8'])
|
8247
|
+
|
8248
|
+
auth_settings = []
|
8249
|
+
|
8250
|
+
http_info["cname"] = cname
|
8251
|
+
http_info["collection_formats"] = collection_formats
|
8252
|
+
http_info["path_params"] = path_params
|
8253
|
+
http_info["query_params"] = query_params
|
8254
|
+
http_info["header_params"] = header_params
|
8255
|
+
http_info["post_params"] = form_params
|
8256
|
+
http_info["body"] = body
|
8257
|
+
http_info["response_headers"] = response_headers
|
8258
|
+
|
8259
|
+
return http_info
|
8260
|
+
|
8261
|
+
def delete_star_rocks_data_replication(self, request):
|
8262
|
+
"""删除StarRocks数据同步
|
8263
|
+
|
8264
|
+
删除StarRocks数据同步。
|
8265
|
+
|
8266
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
8267
|
+
|
8268
|
+
:param request: Request instance for DeleteStarRocksDataReplication
|
8269
|
+
:type request: :class:`huaweicloudsdkgaussdb.v3.DeleteStarRocksDataReplicationRequest`
|
8270
|
+
:rtype: :class:`huaweicloudsdkgaussdb.v3.DeleteStarRocksDataReplicationResponse`
|
8271
|
+
"""
|
8272
|
+
http_info = self._delete_star_rocks_data_replication_http_info(request)
|
8273
|
+
return self._call_api(**http_info)
|
8274
|
+
|
8275
|
+
def delete_star_rocks_data_replication_invoker(self, request):
|
8276
|
+
http_info = self._delete_star_rocks_data_replication_http_info(request)
|
8277
|
+
return SyncInvoker(self, http_info)
|
8278
|
+
|
8279
|
+
@classmethod
|
8280
|
+
def _delete_star_rocks_data_replication_http_info(cls, request):
|
8281
|
+
http_info = {
|
8282
|
+
"method": "DELETE",
|
8283
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/databases/replication",
|
8284
|
+
"request_type": request.__class__.__name__,
|
8285
|
+
"response_type": "DeleteStarRocksDataReplicationResponse"
|
8286
|
+
}
|
8287
|
+
|
8288
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
8289
|
+
|
8290
|
+
cname = None
|
8291
|
+
|
8292
|
+
collection_formats = {}
|
8293
|
+
|
8294
|
+
path_params = {}
|
8295
|
+
if 'instance_id' in local_var_params:
|
8296
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
8297
|
+
|
8298
|
+
query_params = []
|
8299
|
+
|
8300
|
+
header_params = {}
|
8301
|
+
if 'x_language' in local_var_params:
|
8302
|
+
header_params['X-Language'] = local_var_params['x_language']
|
8303
|
+
|
8304
|
+
form_params = {}
|
8305
|
+
|
8306
|
+
body = None
|
8307
|
+
if 'body' in local_var_params:
|
8308
|
+
body = local_var_params['body']
|
8309
|
+
if isinstance(request, SdkStreamRequest):
|
8310
|
+
body = request.get_file_stream()
|
8311
|
+
|
8312
|
+
response_headers = []
|
8313
|
+
|
8314
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
8315
|
+
['application/json;charset=UTF-8'])
|
8316
|
+
|
8317
|
+
auth_settings = []
|
8318
|
+
|
8319
|
+
http_info["cname"] = cname
|
8320
|
+
http_info["collection_formats"] = collection_formats
|
8321
|
+
http_info["path_params"] = path_params
|
8322
|
+
http_info["query_params"] = query_params
|
8323
|
+
http_info["header_params"] = header_params
|
8324
|
+
http_info["post_params"] = form_params
|
8325
|
+
http_info["body"] = body
|
8326
|
+
http_info["response_headers"] = response_headers
|
8327
|
+
|
8328
|
+
return http_info
|
8329
|
+
|
8330
|
+
def list_star_rocks_data_bases(self, request):
|
8331
|
+
"""查询StarRocks数据库
|
8332
|
+
|
8333
|
+
查询StarRocks数据库。
|
8334
|
+
|
8335
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
8336
|
+
|
8337
|
+
:param request: Request instance for ListStarRocksDataBases
|
8338
|
+
:type request: :class:`huaweicloudsdkgaussdb.v3.ListStarRocksDataBasesRequest`
|
8339
|
+
:rtype: :class:`huaweicloudsdkgaussdb.v3.ListStarRocksDataBasesResponse`
|
8340
|
+
"""
|
8341
|
+
http_info = self._list_star_rocks_data_bases_http_info(request)
|
8342
|
+
return self._call_api(**http_info)
|
8343
|
+
|
8344
|
+
def list_star_rocks_data_bases_invoker(self, request):
|
8345
|
+
http_info = self._list_star_rocks_data_bases_http_info(request)
|
8346
|
+
return SyncInvoker(self, http_info)
|
8347
|
+
|
8348
|
+
@classmethod
|
8349
|
+
def _list_star_rocks_data_bases_http_info(cls, request):
|
8350
|
+
http_info = {
|
8351
|
+
"method": "GET",
|
8352
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/databases",
|
8353
|
+
"request_type": request.__class__.__name__,
|
8354
|
+
"response_type": "ListStarRocksDataBasesResponse"
|
8355
|
+
}
|
8356
|
+
|
8357
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
8358
|
+
|
8359
|
+
cname = None
|
8360
|
+
|
8361
|
+
collection_formats = {}
|
8362
|
+
|
8363
|
+
path_params = {}
|
8364
|
+
if 'instance_id' in local_var_params:
|
8365
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
8366
|
+
|
8367
|
+
query_params = []
|
8368
|
+
if 'limit' in local_var_params:
|
8369
|
+
query_params.append(('limit', local_var_params['limit']))
|
8370
|
+
if 'offset' in local_var_params:
|
8371
|
+
query_params.append(('offset', local_var_params['offset']))
|
8372
|
+
if 'database_name' in local_var_params:
|
8373
|
+
query_params.append(('database_name', local_var_params['database_name']))
|
8374
|
+
|
8375
|
+
header_params = {}
|
8376
|
+
if 'x_language' in local_var_params:
|
8377
|
+
header_params['X-Language'] = local_var_params['x_language']
|
8378
|
+
|
8379
|
+
form_params = {}
|
8380
|
+
|
8381
|
+
body = None
|
8382
|
+
if isinstance(request, SdkStreamRequest):
|
8383
|
+
body = request.get_file_stream()
|
8384
|
+
|
8385
|
+
response_headers = []
|
8386
|
+
|
8387
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
8388
|
+
['application/json'])
|
8389
|
+
|
8390
|
+
auth_settings = []
|
8391
|
+
|
8392
|
+
http_info["cname"] = cname
|
8393
|
+
http_info["collection_formats"] = collection_formats
|
8394
|
+
http_info["path_params"] = path_params
|
8395
|
+
http_info["query_params"] = query_params
|
8396
|
+
http_info["header_params"] = header_params
|
8397
|
+
http_info["post_params"] = form_params
|
8398
|
+
http_info["body"] = body
|
8399
|
+
http_info["response_headers"] = response_headers
|
8400
|
+
|
8401
|
+
return http_info
|
8402
|
+
|
8403
|
+
def list_star_rocks_data_replication_config(self, request):
|
8404
|
+
"""查询StarRocks数据同步配置信息
|
8405
|
+
|
8406
|
+
查询StarRocks数据同步配置信息。
|
8407
|
+
|
8408
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
8409
|
+
|
8410
|
+
:param request: Request instance for ListStarRocksDataReplicationConfig
|
8411
|
+
:type request: :class:`huaweicloudsdkgaussdb.v3.ListStarRocksDataReplicationConfigRequest`
|
8412
|
+
:rtype: :class:`huaweicloudsdkgaussdb.v3.ListStarRocksDataReplicationConfigResponse`
|
8413
|
+
"""
|
8414
|
+
http_info = self._list_star_rocks_data_replication_config_http_info(request)
|
8415
|
+
return self._call_api(**http_info)
|
8416
|
+
|
8417
|
+
def list_star_rocks_data_replication_config_invoker(self, request):
|
8418
|
+
http_info = self._list_star_rocks_data_replication_config_http_info(request)
|
8419
|
+
return SyncInvoker(self, http_info)
|
8420
|
+
|
8421
|
+
@classmethod
|
8422
|
+
def _list_star_rocks_data_replication_config_http_info(cls, request):
|
8423
|
+
http_info = {
|
8424
|
+
"method": "GET",
|
8425
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/databases/replication/configuration",
|
8426
|
+
"request_type": request.__class__.__name__,
|
8427
|
+
"response_type": "ListStarRocksDataReplicationConfigResponse"
|
8428
|
+
}
|
8429
|
+
|
8430
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
8431
|
+
|
8432
|
+
cname = None
|
8433
|
+
|
8434
|
+
collection_formats = {}
|
8435
|
+
|
8436
|
+
path_params = {}
|
8437
|
+
if 'instance_id' in local_var_params:
|
8438
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
8439
|
+
|
8440
|
+
query_params = []
|
8441
|
+
if 'task_name' in local_var_params:
|
8442
|
+
query_params.append(('task_name', local_var_params['task_name']))
|
8443
|
+
|
8444
|
+
header_params = {}
|
8445
|
+
if 'x_language' in local_var_params:
|
8446
|
+
header_params['X-Language'] = local_var_params['x_language']
|
8447
|
+
|
8448
|
+
form_params = {}
|
8449
|
+
|
8450
|
+
body = None
|
8451
|
+
if isinstance(request, SdkStreamRequest):
|
8452
|
+
body = request.get_file_stream()
|
8453
|
+
|
8454
|
+
response_headers = []
|
8455
|
+
|
8456
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
8457
|
+
['application/json'])
|
8458
|
+
|
8459
|
+
auth_settings = []
|
8460
|
+
|
8461
|
+
http_info["cname"] = cname
|
8462
|
+
http_info["collection_formats"] = collection_formats
|
8463
|
+
http_info["path_params"] = path_params
|
8464
|
+
http_info["query_params"] = query_params
|
8465
|
+
http_info["header_params"] = header_params
|
8466
|
+
http_info["post_params"] = form_params
|
8467
|
+
http_info["body"] = body
|
8468
|
+
http_info["response_headers"] = response_headers
|
8469
|
+
|
8470
|
+
return http_info
|
8471
|
+
|
8472
|
+
def list_star_rocks_data_replications(self, request):
|
8473
|
+
"""查询StarRocks数据同步状态信息
|
8474
|
+
|
8475
|
+
查询StarRocks数据同步状态信息。
|
8476
|
+
|
8477
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
8478
|
+
|
8479
|
+
:param request: Request instance for ListStarRocksDataReplications
|
8480
|
+
:type request: :class:`huaweicloudsdkgaussdb.v3.ListStarRocksDataReplicationsRequest`
|
8481
|
+
:rtype: :class:`huaweicloudsdkgaussdb.v3.ListStarRocksDataReplicationsResponse`
|
8482
|
+
"""
|
8483
|
+
http_info = self._list_star_rocks_data_replications_http_info(request)
|
8484
|
+
return self._call_api(**http_info)
|
8485
|
+
|
8486
|
+
def list_star_rocks_data_replications_invoker(self, request):
|
8487
|
+
http_info = self._list_star_rocks_data_replications_http_info(request)
|
8488
|
+
return SyncInvoker(self, http_info)
|
8489
|
+
|
8490
|
+
@classmethod
|
8491
|
+
def _list_star_rocks_data_replications_http_info(cls, request):
|
8492
|
+
http_info = {
|
8493
|
+
"method": "GET",
|
8494
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/databases/replication",
|
8495
|
+
"request_type": request.__class__.__name__,
|
8496
|
+
"response_type": "ListStarRocksDataReplicationsResponse"
|
8497
|
+
}
|
8498
|
+
|
8499
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
8500
|
+
|
8501
|
+
cname = None
|
8502
|
+
|
8503
|
+
collection_formats = {}
|
8504
|
+
|
8505
|
+
path_params = {}
|
8506
|
+
if 'instance_id' in local_var_params:
|
8507
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
8508
|
+
|
8509
|
+
query_params = []
|
8510
|
+
if 'limit' in local_var_params:
|
8511
|
+
query_params.append(('limit', local_var_params['limit']))
|
8512
|
+
if 'offset' in local_var_params:
|
8513
|
+
query_params.append(('offset', local_var_params['offset']))
|
8514
|
+
|
8515
|
+
header_params = {}
|
8516
|
+
if 'x_language' in local_var_params:
|
8517
|
+
header_params['X-Language'] = local_var_params['x_language']
|
8518
|
+
|
8519
|
+
form_params = {}
|
8520
|
+
|
8521
|
+
body = None
|
8522
|
+
if isinstance(request, SdkStreamRequest):
|
8523
|
+
body = request.get_file_stream()
|
8524
|
+
|
8525
|
+
response_headers = []
|
8526
|
+
|
8527
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
8528
|
+
['application/json'])
|
8529
|
+
|
8530
|
+
auth_settings = []
|
8531
|
+
|
8532
|
+
http_info["cname"] = cname
|
8533
|
+
http_info["collection_formats"] = collection_formats
|
8534
|
+
http_info["path_params"] = path_params
|
8535
|
+
http_info["query_params"] = query_params
|
8536
|
+
http_info["header_params"] = header_params
|
8537
|
+
http_info["post_params"] = form_params
|
8538
|
+
http_info["body"] = body
|
8539
|
+
http_info["response_headers"] = response_headers
|
8540
|
+
|
8541
|
+
return http_info
|
8542
|
+
|
8543
|
+
def list_star_rocks_db_parameters(self, request):
|
8544
|
+
"""查询StarRocks数据同步的库参数配置
|
8545
|
+
|
8546
|
+
查询StarRocks数据同步的库参数配置。
|
8547
|
+
|
8548
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
8549
|
+
|
8550
|
+
:param request: Request instance for ListStarRocksDbParameters
|
8551
|
+
:type request: :class:`huaweicloudsdkgaussdb.v3.ListStarRocksDbParametersRequest`
|
8552
|
+
:rtype: :class:`huaweicloudsdkgaussdb.v3.ListStarRocksDbParametersResponse`
|
8553
|
+
"""
|
8554
|
+
http_info = self._list_star_rocks_db_parameters_http_info(request)
|
8555
|
+
return self._call_api(**http_info)
|
8556
|
+
|
8557
|
+
def list_star_rocks_db_parameters_invoker(self, request):
|
8558
|
+
http_info = self._list_star_rocks_db_parameters_http_info(request)
|
8559
|
+
return SyncInvoker(self, http_info)
|
8560
|
+
|
8561
|
+
@classmethod
|
8562
|
+
def _list_star_rocks_db_parameters_http_info(cls, request):
|
8563
|
+
http_info = {
|
8564
|
+
"method": "GET",
|
8565
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/databases/replication/database-parameters",
|
8566
|
+
"request_type": request.__class__.__name__,
|
8567
|
+
"response_type": "ListStarRocksDbParametersResponse"
|
8568
|
+
}
|
8569
|
+
|
8570
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
8571
|
+
|
8572
|
+
cname = None
|
8573
|
+
|
8574
|
+
collection_formats = {}
|
8575
|
+
|
8576
|
+
path_params = {}
|
8577
|
+
if 'instance_id' in local_var_params:
|
8578
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
8579
|
+
|
8580
|
+
query_params = []
|
8581
|
+
|
8582
|
+
header_params = {}
|
8583
|
+
if 'x_language' in local_var_params:
|
8584
|
+
header_params['X-Language'] = local_var_params['x_language']
|
8585
|
+
|
8586
|
+
form_params = {}
|
8587
|
+
|
8588
|
+
body = None
|
8589
|
+
if isinstance(request, SdkStreamRequest):
|
8590
|
+
body = request.get_file_stream()
|
8591
|
+
|
8592
|
+
response_headers = []
|
8593
|
+
|
8594
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
8595
|
+
['application/json'])
|
8596
|
+
|
8597
|
+
auth_settings = []
|
8598
|
+
|
8599
|
+
http_info["cname"] = cname
|
8600
|
+
http_info["collection_formats"] = collection_formats
|
8601
|
+
http_info["path_params"] = path_params
|
8602
|
+
http_info["query_params"] = query_params
|
8603
|
+
http_info["header_params"] = header_params
|
8604
|
+
http_info["post_params"] = form_params
|
8605
|
+
http_info["body"] = body
|
8606
|
+
http_info["response_headers"] = response_headers
|
8607
|
+
|
8608
|
+
return http_info
|
8609
|
+
|
8054
8610
|
def delete_sql_filter_rule(self, request):
|
8055
8611
|
"""删除SQL限流规则
|
8056
8612
|
|
@@ -25,10 +25,14 @@ from huaweicloudsdkgaussdb.v3.model.change_gauss_my_sql_instance_specification_r
|
|
25
25
|
from huaweicloudsdkgaussdb.v3.model.change_gauss_my_sql_instance_specification_response import ChangeGaussMySqlInstanceSpecificationResponse
|
26
26
|
from huaweicloudsdkgaussdb.v3.model.change_gauss_my_sql_proxy_specification_request import ChangeGaussMySqlProxySpecificationRequest
|
27
27
|
from huaweicloudsdkgaussdb.v3.model.change_gauss_my_sql_proxy_specification_response import ChangeGaussMySqlProxySpecificationResponse
|
28
|
+
from huaweicloudsdkgaussdb.v3.model.check_data_base_config_request import CheckDataBaseConfigRequest
|
29
|
+
from huaweicloudsdkgaussdb.v3.model.check_data_base_config_response import CheckDataBaseConfigResponse
|
28
30
|
from huaweicloudsdkgaussdb.v3.model.check_resource_info import CheckResourceInfo
|
29
31
|
from huaweicloudsdkgaussdb.v3.model.check_resource_request import CheckResourceRequest
|
30
32
|
from huaweicloudsdkgaussdb.v3.model.check_resource_request_body import CheckResourceRequestBody
|
31
33
|
from huaweicloudsdkgaussdb.v3.model.check_resource_response import CheckResourceResponse
|
34
|
+
from huaweicloudsdkgaussdb.v3.model.check_table_config_request import CheckTableConfigRequest
|
35
|
+
from huaweicloudsdkgaussdb.v3.model.check_table_config_response import CheckTableConfigResponse
|
32
36
|
from huaweicloudsdkgaussdb.v3.model.close_mysql_proxy_request_body import CloseMysqlProxyRequestBody
|
33
37
|
from huaweicloudsdkgaussdb.v3.model.configuration_summary import ConfigurationSummary
|
34
38
|
from huaweicloudsdkgaussdb.v3.model.configuration_summary2 import ConfigurationSummary2
|
@@ -69,8 +73,16 @@ from huaweicloudsdkgaussdb.v3.model.create_restore_table_info import CreateResto
|
|
69
73
|
from huaweicloudsdkgaussdb.v3.model.create_restore_tables_request import CreateRestoreTablesRequest
|
70
74
|
from huaweicloudsdkgaussdb.v3.model.create_restore_tables_request_body import CreateRestoreTablesRequestBody
|
71
75
|
from huaweicloudsdkgaussdb.v3.model.create_restore_tables_response import CreateRestoreTablesResponse
|
76
|
+
from huaweicloudsdkgaussdb.v3.model.create_star_rocks_data_replication import CreateStarRocksDataReplication
|
77
|
+
from huaweicloudsdkgaussdb.v3.model.create_star_rocks_data_replication_request import CreateStarRocksDataReplicationRequest
|
78
|
+
from huaweicloudsdkgaussdb.v3.model.create_star_rocks_data_replication_response import CreateStarRocksDataReplicationResponse
|
79
|
+
from huaweicloudsdkgaussdb.v3.model.data_base_info import DataBaseInfo
|
72
80
|
from huaweicloudsdkgaussdb.v3.model.database_permission import DatabasePermission
|
73
81
|
from huaweicloudsdkgaussdb.v3.model.datastore_result import DatastoreResult
|
82
|
+
from huaweicloudsdkgaussdb.v3.model.db_config import DbConfig
|
83
|
+
from huaweicloudsdkgaussdb.v3.model.db_config_check_request_v3 import DbConfigCheckRequestV3
|
84
|
+
from huaweicloudsdkgaussdb.v3.model.db_config_check_result import DbConfigCheckResult
|
85
|
+
from huaweicloudsdkgaussdb.v3.model.db_parameter import DbParameter
|
74
86
|
from huaweicloudsdkgaussdb.v3.model.dedicated_compute_info import DedicatedComputeInfo
|
75
87
|
from huaweicloudsdkgaussdb.v3.model.dedicated_resource import DedicatedResource
|
76
88
|
from huaweicloudsdkgaussdb.v3.model.dedicated_resource_capacity import DedicatedResourceCapacity
|
@@ -103,6 +115,9 @@ from huaweicloudsdkgaussdb.v3.model.delete_schedule_tas_k_response import Delete
|
|
103
115
|
from huaweicloudsdkgaussdb.v3.model.delete_sql_filter_rule_req import DeleteSqlFilterRuleReq
|
104
116
|
from huaweicloudsdkgaussdb.v3.model.delete_sql_filter_rule_request import DeleteSqlFilterRuleRequest
|
105
117
|
from huaweicloudsdkgaussdb.v3.model.delete_sql_filter_rule_response import DeleteSqlFilterRuleResponse
|
118
|
+
from huaweicloudsdkgaussdb.v3.model.delete_star_rocks_data_replication import DeleteStarRocksDataReplication
|
119
|
+
from huaweicloudsdkgaussdb.v3.model.delete_star_rocks_data_replication_request import DeleteStarRocksDataReplicationRequest
|
120
|
+
from huaweicloudsdkgaussdb.v3.model.delete_star_rocks_data_replication_response import DeleteStarRocksDataReplicationResponse
|
106
121
|
from huaweicloudsdkgaussdb.v3.model.delete_task_record_request import DeleteTaskRecordRequest
|
107
122
|
from huaweicloudsdkgaussdb.v3.model.delete_task_record_response import DeleteTaskRecordResponse
|
108
123
|
from huaweicloudsdkgaussdb.v3.model.describe_backup_encrypt_status_request import DescribeBackupEncryptStatusRequest
|
@@ -175,6 +190,14 @@ from huaweicloudsdkgaussdb.v3.model.list_project_tags_request import ListProject
|
|
175
190
|
from huaweicloudsdkgaussdb.v3.model.list_project_tags_response import ListProjectTagsResponse
|
176
191
|
from huaweicloudsdkgaussdb.v3.model.list_schedule_jobs_request import ListScheduleJobsRequest
|
177
192
|
from huaweicloudsdkgaussdb.v3.model.list_schedule_jobs_response import ListScheduleJobsResponse
|
193
|
+
from huaweicloudsdkgaussdb.v3.model.list_star_rocks_data_bases_request import ListStarRocksDataBasesRequest
|
194
|
+
from huaweicloudsdkgaussdb.v3.model.list_star_rocks_data_bases_response import ListStarRocksDataBasesResponse
|
195
|
+
from huaweicloudsdkgaussdb.v3.model.list_star_rocks_data_replication_config_request import ListStarRocksDataReplicationConfigRequest
|
196
|
+
from huaweicloudsdkgaussdb.v3.model.list_star_rocks_data_replication_config_response import ListStarRocksDataReplicationConfigResponse
|
197
|
+
from huaweicloudsdkgaussdb.v3.model.list_star_rocks_data_replications_request import ListStarRocksDataReplicationsRequest
|
198
|
+
from huaweicloudsdkgaussdb.v3.model.list_star_rocks_data_replications_response import ListStarRocksDataReplicationsResponse
|
199
|
+
from huaweicloudsdkgaussdb.v3.model.list_star_rocks_db_parameters_request import ListStarRocksDbParametersRequest
|
200
|
+
from huaweicloudsdkgaussdb.v3.model.list_star_rocks_db_parameters_response import ListStarRocksDbParametersResponse
|
178
201
|
from huaweicloudsdkgaussdb.v3.model.lts_log_error_detail import LtsLogErrorDetail
|
179
202
|
from huaweicloudsdkgaussdb.v3.model.lts_log_error_query_request import LtsLogErrorQueryRequest
|
180
203
|
from huaweicloudsdkgaussdb.v3.model.lts_log_slow_detail import LtsLogSlowDetail
|
@@ -337,6 +360,7 @@ from huaweicloudsdkgaussdb.v3.model.shrink_gauss_my_sql_proxy_request_body impor
|
|
337
360
|
from huaweicloudsdkgaussdb.v3.model.shrink_gauss_my_sql_proxy_response import ShrinkGaussMySqlProxyResponse
|
338
361
|
from huaweicloudsdkgaussdb.v3.model.sql_filter_rule import SqlFilterRule
|
339
362
|
from huaweicloudsdkgaussdb.v3.model.sql_filter_rule_pattern import SqlFilterRulePattern
|
363
|
+
from huaweicloudsdkgaussdb.v3.model.star_rocks_replication_info import StarRocksReplicationInfo
|
340
364
|
from huaweicloudsdkgaussdb.v3.model.switch_access_control_request import SwitchAccessControlRequest
|
341
365
|
from huaweicloudsdkgaussdb.v3.model.switch_access_control_request_body import SwitchAccessControlRequestBody
|
342
366
|
from huaweicloudsdkgaussdb.v3.model.switch_access_control_response import SwitchAccessControlResponse
|
@@ -348,6 +372,10 @@ from huaweicloudsdkgaussdb.v3.model.switch_gauss_my_sql_proxy_ssl_request import
|
|
348
372
|
from huaweicloudsdkgaussdb.v3.model.switch_gauss_my_sql_proxy_ssl_response import SwitchGaussMySqlProxySslResponse
|
349
373
|
from huaweicloudsdkgaussdb.v3.model.switch_proxy_ssl_request import SwitchProxySSLRequest
|
350
374
|
from huaweicloudsdkgaussdb.v3.model.switch_ssl_request import SwitchSSLRequest
|
375
|
+
from huaweicloudsdkgaussdb.v3.model.table_config_check_request_v3 import TableConfigCheckRequestV3
|
376
|
+
from huaweicloudsdkgaussdb.v3.model.table_config_check_result import TableConfigCheckResult
|
377
|
+
from huaweicloudsdkgaussdb.v3.model.table_repl_config import TableReplConfig
|
378
|
+
from huaweicloudsdkgaussdb.v3.model.tables_config import TablesConfig
|
351
379
|
from huaweicloudsdkgaussdb.v3.model.tag_item import TagItem
|
352
380
|
from huaweicloudsdkgaussdb.v3.model.task_detail_info import TaskDetailInfo
|
353
381
|
from huaweicloudsdkgaussdb.v3.model.taurus_modify_instance_monitor_request_body import TaurusModifyInstanceMonitorRequestBody
|