huaweicloudsdkgaussdb 3.1.165__py3-none-any.whl → 3.1.166__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.
Files changed (63) hide show
  1. huaweicloudsdkgaussdb/v3/__init__.py +54 -0
  2. huaweicloudsdkgaussdb/v3/gaussdb_async_client.py +1239 -48
  3. huaweicloudsdkgaussdb/v3/gaussdb_client.py +1239 -48
  4. huaweicloudsdkgaussdb/v3/model/__init__.py +54 -0
  5. huaweicloudsdkgaussdb/v3/model/audit_log_detail.py +231 -0
  6. huaweicloudsdkgaussdb/v3/model/audit_log_download_link_request_body.py +114 -0
  7. huaweicloudsdkgaussdb/v3/model/batch_upgrade_databases_request.py +140 -0
  8. huaweicloudsdkgaussdb/v3/model/batch_upgrade_databases_request_body.py +171 -0
  9. huaweicloudsdkgaussdb/v3/model/batch_upgrade_databases_response.py +116 -0
  10. huaweicloudsdkgaussdb/v3/model/create_proxy_dns_name_request.py +171 -0
  11. huaweicloudsdkgaussdb/v3/model/create_proxy_dns_name_response.py +116 -0
  12. huaweicloudsdkgaussdb/v3/model/database_tables_info.py +144 -0
  13. huaweicloudsdkgaussdb/v3/model/delete_proxy_private_dns_name_request.py +171 -0
  14. huaweicloudsdkgaussdb/v3/model/delete_proxy_private_dns_name_response.py +116 -0
  15. huaweicloudsdkgaussdb/v3/model/htap_error_log_detail_response_error_log_list.py +226 -0
  16. huaweicloudsdkgaussdb/v3/model/htap_error_log_query_request_body.py +255 -0
  17. huaweicloudsdkgaussdb/v3/model/htap_lts_config_response_instance.py +284 -0
  18. huaweicloudsdkgaussdb/v3/model/htap_lts_config_response_instance_lts_configs.py +138 -0
  19. huaweicloudsdkgaussdb/v3/model/htap_lts_config_response_lts_configs.py +198 -0
  20. huaweicloudsdkgaussdb/v3/model/htap_node_info_response_body_node_list.py +170 -0
  21. huaweicloudsdkgaussdb/v3/model/list_audit_logs_request.py +255 -0
  22. huaweicloudsdkgaussdb/v3/model/list_audit_logs_response.py +145 -0
  23. huaweicloudsdkgaussdb/v3/model/list_instance_node_request.py +142 -0
  24. huaweicloudsdkgaussdb/v3/model/list_instance_node_response.py +116 -0
  25. huaweicloudsdkgaussdb/v3/model/modify_star_rocks_security_group_req.py +114 -0
  26. huaweicloudsdkgaussdb/v3/model/modify_star_rocks_security_group_request.py +168 -0
  27. huaweicloudsdkgaussdb/v3/model/modify_star_rocks_security_group_response.py +116 -0
  28. huaweicloudsdkgaussdb/v3/model/proxy_flavor.py +260 -0
  29. huaweicloudsdkgaussdb/v3/model/proxy_flavor_group.py +144 -0
  30. huaweicloudsdkgaussdb/v3/model/query_data_base_request_v3.py +144 -0
  31. huaweicloudsdkgaussdb/v3/model/query_table_request_v3.py +202 -0
  32. huaweicloudsdkgaussdb/v3/model/rds_error_log_download.py +289 -0
  33. huaweicloudsdkgaussdb/v3/model/set_audit_log_policy_request.py +168 -0
  34. huaweicloudsdkgaussdb/v3/model/set_audit_log_policy_request_body.py +172 -0
  35. huaweicloudsdkgaussdb/v3/model/set_audit_log_policy_response.py +145 -0
  36. huaweicloudsdkgaussdb/v3/model/show_audit_log_download_link_request.py +168 -0
  37. huaweicloudsdkgaussdb/v3/model/show_audit_log_download_link_response.py +116 -0
  38. huaweicloudsdkgaussdb/v3/model/show_audit_log_policy_request.py +143 -0
  39. huaweicloudsdkgaussdb/v3/model/show_audit_log_policy_response.py +174 -0
  40. huaweicloudsdkgaussdb/v3/model/show_error_log_download_link_request.py +171 -0
  41. huaweicloudsdkgaussdb/v3/model/show_error_log_download_link_response.py +145 -0
  42. huaweicloudsdkgaussdb/v3/model/show_htap_error_log_detail_request.py +167 -0
  43. huaweicloudsdkgaussdb/v3/model/show_htap_error_log_detail_response.py +116 -0
  44. huaweicloudsdkgaussdb/v3/model/show_htap_lts_config_request.py +259 -0
  45. huaweicloudsdkgaussdb/v3/model/show_htap_lts_config_response.py +145 -0
  46. huaweicloudsdkgaussdb/v3/model/show_instance_databases_for_htap_request.py +225 -0
  47. huaweicloudsdkgaussdb/v3/model/show_instance_databases_for_htap_response.py +174 -0
  48. huaweicloudsdkgaussdb/v3/model/show_instance_tables_for_htap_request.py +225 -0
  49. huaweicloudsdkgaussdb/v3/model/show_instance_tables_for_htap_response.py +145 -0
  50. huaweicloudsdkgaussdb/v3/model/show_proxy_flavors_by_az_code_request.py +171 -0
  51. huaweicloudsdkgaussdb/v3/model/show_proxy_flavors_by_az_code_response.py +116 -0
  52. huaweicloudsdkgaussdb/v3/model/show_table_meta_info_request.py +201 -0
  53. huaweicloudsdkgaussdb/v3/model/show_table_meta_info_response.py +174 -0
  54. huaweicloudsdkgaussdb/v3/model/table_meta_info.py +260 -0
  55. huaweicloudsdkgaussdb/v3/model/update_proxy_private_dns_name.py +142 -0
  56. huaweicloudsdkgaussdb/v3/model/update_proxy_private_dns_name_request.py +196 -0
  57. huaweicloudsdkgaussdb/v3/model/update_proxy_private_dns_name_response.py +116 -0
  58. huaweicloudsdkgaussdb/v3/model/upgrade_databases_single_instance.py +142 -0
  59. {huaweicloudsdkgaussdb-3.1.165.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info}/METADATA +9 -10
  60. {huaweicloudsdkgaussdb-3.1.165.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info}/RECORD +62 -9
  61. {huaweicloudsdkgaussdb-3.1.165.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info}/WHEEL +1 -2
  62. huaweicloudsdkgaussdb-3.1.165.dist-info/top_level.txt +0 -1
  63. {huaweicloudsdkgaussdb-3.1.165.dist-info → huaweicloudsdkgaussdb-3.1.166.dist-info/licenses}/LICENSE +0 -0
@@ -171,6 +171,73 @@ class GaussDBClient(Client):
171
171
 
172
172
  return http_info
173
173
 
174
+ def batch_upgrade_databases(self, request):
175
+ r"""批量实例小版本升级
176
+
177
+ 批量实例小版本升级
178
+
179
+ Please refer to HUAWEI cloud API Explorer for details.
180
+
181
+ :param request: Request instance for BatchUpgradeDatabases
182
+ :type request: :class:`huaweicloudsdkgaussdb.v3.BatchUpgradeDatabasesRequest`
183
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.BatchUpgradeDatabasesResponse`
184
+ """
185
+ http_info = self._batch_upgrade_databases_http_info(request)
186
+ return self._call_api(**http_info)
187
+
188
+ def batch_upgrade_databases_invoker(self, request):
189
+ http_info = self._batch_upgrade_databases_http_info(request)
190
+ return SyncInvoker(self, http_info)
191
+
192
+ @classmethod
193
+ def _batch_upgrade_databases_http_info(cls, request):
194
+ http_info = {
195
+ "method": "POST",
196
+ "resource_path": "/v3/{project_id}/instances/database-version/upgrade",
197
+ "request_type": request.__class__.__name__,
198
+ "response_type": "BatchUpgradeDatabasesResponse"
199
+ }
200
+
201
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
202
+
203
+ cname = None
204
+
205
+ collection_formats = {}
206
+
207
+ path_params = {}
208
+
209
+ query_params = []
210
+
211
+ header_params = {}
212
+ if 'x_language' in local_var_params:
213
+ header_params['X-Language'] = local_var_params['x_language']
214
+
215
+ form_params = {}
216
+
217
+ body = None
218
+ if 'body' in local_var_params:
219
+ body = local_var_params['body']
220
+ if isinstance(request, SdkStreamRequest):
221
+ body = request.get_file_stream()
222
+
223
+ response_headers = []
224
+
225
+ header_params['Content-Type'] = http_utils.select_header_content_type(
226
+ ['application/json;charset=UTF-8'])
227
+
228
+ auth_settings = []
229
+
230
+ http_info["cname"] = cname
231
+ http_info["collection_formats"] = collection_formats
232
+ http_info["path_params"] = path_params
233
+ http_info["query_params"] = query_params
234
+ http_info["header_params"] = header_params
235
+ http_info["post_params"] = form_params
236
+ http_info["body"] = body
237
+ http_info["response_headers"] = response_headers
238
+
239
+ return http_info
240
+
174
241
  def cancel_gauss_my_sql_instance_eip(self, request):
175
242
  r"""解绑弹性公网IP
176
243
 
@@ -1336,6 +1403,75 @@ class GaussDBClient(Client):
1336
1403
 
1337
1404
  return http_info
1338
1405
 
1406
+ def create_proxy_dns_name(self, request):
1407
+ r"""开启proxy内网DNS
1408
+
1409
+ 开启proxy内网DNS。
1410
+
1411
+ Please refer to HUAWEI cloud API Explorer for details.
1412
+
1413
+ :param request: Request instance for CreateProxyDnsName
1414
+ :type request: :class:`huaweicloudsdkgaussdb.v3.CreateProxyDnsNameRequest`
1415
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.CreateProxyDnsNameResponse`
1416
+ """
1417
+ http_info = self._create_proxy_dns_name_http_info(request)
1418
+ return self._call_api(**http_info)
1419
+
1420
+ def create_proxy_dns_name_invoker(self, request):
1421
+ http_info = self._create_proxy_dns_name_http_info(request)
1422
+ return SyncInvoker(self, http_info)
1423
+
1424
+ @classmethod
1425
+ def _create_proxy_dns_name_http_info(cls, request):
1426
+ http_info = {
1427
+ "method": "POST",
1428
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/proxy/{proxy_id}/dns",
1429
+ "request_type": request.__class__.__name__,
1430
+ "response_type": "CreateProxyDnsNameResponse"
1431
+ }
1432
+
1433
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
1434
+
1435
+ cname = None
1436
+
1437
+ collection_formats = {}
1438
+
1439
+ path_params = {}
1440
+ if 'instance_id' in local_var_params:
1441
+ path_params['instance_id'] = local_var_params['instance_id']
1442
+ if 'proxy_id' in local_var_params:
1443
+ path_params['proxy_id'] = local_var_params['proxy_id']
1444
+
1445
+ query_params = []
1446
+
1447
+ header_params = {}
1448
+ if 'x_language' in local_var_params:
1449
+ header_params['X-Language'] = local_var_params['x_language']
1450
+
1451
+ form_params = {}
1452
+
1453
+ body = None
1454
+ if isinstance(request, SdkStreamRequest):
1455
+ body = request.get_file_stream()
1456
+
1457
+ response_headers = []
1458
+
1459
+ header_params['Content-Type'] = http_utils.select_header_content_type(
1460
+ ['application/json'])
1461
+
1462
+ auth_settings = []
1463
+
1464
+ http_info["cname"] = cname
1465
+ http_info["collection_formats"] = collection_formats
1466
+ http_info["path_params"] = path_params
1467
+ http_info["query_params"] = query_params
1468
+ http_info["header_params"] = header_params
1469
+ http_info["post_params"] = form_params
1470
+ http_info["body"] = body
1471
+ http_info["response_headers"] = response_headers
1472
+
1473
+ return http_info
1474
+
1339
1475
  def create_restore_tables(self, request):
1340
1476
  r"""表级时间点恢复
1341
1477
 
@@ -2018,6 +2154,75 @@ class GaussDBClient(Client):
2018
2154
 
2019
2155
  return http_info
2020
2156
 
2157
+ def delete_proxy_private_dns_name(self, request):
2158
+ r"""删除proxy内网dns
2159
+
2160
+ 删除proxy内网dns。
2161
+
2162
+ Please refer to HUAWEI cloud API Explorer for details.
2163
+
2164
+ :param request: Request instance for DeleteProxyPrivateDnsName
2165
+ :type request: :class:`huaweicloudsdkgaussdb.v3.DeleteProxyPrivateDnsNameRequest`
2166
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.DeleteProxyPrivateDnsNameResponse`
2167
+ """
2168
+ http_info = self._delete_proxy_private_dns_name_http_info(request)
2169
+ return self._call_api(**http_info)
2170
+
2171
+ def delete_proxy_private_dns_name_invoker(self, request):
2172
+ http_info = self._delete_proxy_private_dns_name_http_info(request)
2173
+ return SyncInvoker(self, http_info)
2174
+
2175
+ @classmethod
2176
+ def _delete_proxy_private_dns_name_http_info(cls, request):
2177
+ http_info = {
2178
+ "method": "DELETE",
2179
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/proxy/{proxy_id}/dns",
2180
+ "request_type": request.__class__.__name__,
2181
+ "response_type": "DeleteProxyPrivateDnsNameResponse"
2182
+ }
2183
+
2184
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2185
+
2186
+ cname = None
2187
+
2188
+ collection_formats = {}
2189
+
2190
+ path_params = {}
2191
+ if 'instance_id' in local_var_params:
2192
+ path_params['instance_id'] = local_var_params['instance_id']
2193
+ if 'proxy_id' in local_var_params:
2194
+ path_params['proxy_id'] = local_var_params['proxy_id']
2195
+
2196
+ query_params = []
2197
+
2198
+ header_params = {}
2199
+ if 'x_language' in local_var_params:
2200
+ header_params['X-Language'] = local_var_params['x_language']
2201
+
2202
+ form_params = {}
2203
+
2204
+ body = None
2205
+ if isinstance(request, SdkStreamRequest):
2206
+ body = request.get_file_stream()
2207
+
2208
+ response_headers = []
2209
+
2210
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2211
+ ['application/json'])
2212
+
2213
+ auth_settings = []
2214
+
2215
+ http_info["cname"] = cname
2216
+ http_info["collection_formats"] = collection_formats
2217
+ http_info["path_params"] = path_params
2218
+ http_info["query_params"] = query_params
2219
+ http_info["header_params"] = header_params
2220
+ http_info["post_params"] = form_params
2221
+ http_info["body"] = body
2222
+ http_info["response_headers"] = response_headers
2223
+
2224
+ return http_info
2225
+
2021
2226
  def delete_schedule_tas_k(self, request):
2022
2227
  r"""删除定时任务
2023
2228
 
@@ -2715,6 +2920,81 @@ class GaussDBClient(Client):
2715
2920
 
2716
2921
  return http_info
2717
2922
 
2923
+ def list_audit_logs(self, request):
2924
+ r"""获取审计日志列表
2925
+
2926
+ 获取审计日志列表。
2927
+
2928
+ Please refer to HUAWEI cloud API Explorer for details.
2929
+
2930
+ :param request: Request instance for ListAuditLogs
2931
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ListAuditLogsRequest`
2932
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ListAuditLogsResponse`
2933
+ """
2934
+ http_info = self._list_audit_logs_http_info(request)
2935
+ return self._call_api(**http_info)
2936
+
2937
+ def list_audit_logs_invoker(self, request):
2938
+ http_info = self._list_audit_logs_http_info(request)
2939
+ return SyncInvoker(self, http_info)
2940
+
2941
+ @classmethod
2942
+ def _list_audit_logs_http_info(cls, request):
2943
+ http_info = {
2944
+ "method": "GET",
2945
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/audit-logs",
2946
+ "request_type": request.__class__.__name__,
2947
+ "response_type": "ListAuditLogsResponse"
2948
+ }
2949
+
2950
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2951
+
2952
+ cname = None
2953
+
2954
+ collection_formats = {}
2955
+
2956
+ path_params = {}
2957
+ if 'instance_id' in local_var_params:
2958
+ path_params['instance_id'] = local_var_params['instance_id']
2959
+
2960
+ query_params = []
2961
+ if 'start_time' in local_var_params:
2962
+ query_params.append(('start_time', local_var_params['start_time']))
2963
+ if 'end_time' in local_var_params:
2964
+ query_params.append(('end_time', local_var_params['end_time']))
2965
+ if 'offset' in local_var_params:
2966
+ query_params.append(('offset', local_var_params['offset']))
2967
+ if 'limit' in local_var_params:
2968
+ query_params.append(('limit', local_var_params['limit']))
2969
+
2970
+ header_params = {}
2971
+ if 'x_language' in local_var_params:
2972
+ header_params['X-Language'] = local_var_params['x_language']
2973
+
2974
+ form_params = {}
2975
+
2976
+ body = None
2977
+ if isinstance(request, SdkStreamRequest):
2978
+ body = request.get_file_stream()
2979
+
2980
+ response_headers = []
2981
+
2982
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2983
+ ['application/json'])
2984
+
2985
+ auth_settings = []
2986
+
2987
+ http_info["cname"] = cname
2988
+ http_info["collection_formats"] = collection_formats
2989
+ http_info["path_params"] = path_params
2990
+ http_info["query_params"] = query_params
2991
+ http_info["header_params"] = header_params
2992
+ http_info["post_params"] = form_params
2993
+ http_info["body"] = body
2994
+ http_info["response_headers"] = response_headers
2995
+
2996
+ return http_info
2997
+
2718
2998
  def list_configurations_differences(self, request):
2719
2999
  r"""对比参数模板
2720
3000
 
@@ -5206,31 +5486,31 @@ class GaussDBClient(Client):
5206
5486
 
5207
5487
  return http_info
5208
5488
 
5209
- def set_gauss_my_sql_proxy_weight(self, request):
5210
- r"""设置读写分离权重
5489
+ def set_audit_log_policy(self, request):
5490
+ r"""设置审计日志策略
5211
5491
 
5212
- 设置读写分离权重。
5492
+ 设置审计日志策略。
5213
5493
 
5214
5494
  Please refer to HUAWEI cloud API Explorer for details.
5215
5495
 
5216
- :param request: Request instance for SetGaussMySqlProxyWeight
5217
- :type request: :class:`huaweicloudsdkgaussdb.v3.SetGaussMySqlProxyWeightRequest`
5218
- :rtype: :class:`huaweicloudsdkgaussdb.v3.SetGaussMySqlProxyWeightResponse`
5496
+ :param request: Request instance for SetAuditLogPolicy
5497
+ :type request: :class:`huaweicloudsdkgaussdb.v3.SetAuditLogPolicyRequest`
5498
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.SetAuditLogPolicyResponse`
5219
5499
  """
5220
- http_info = self._set_gauss_my_sql_proxy_weight_http_info(request)
5500
+ http_info = self._set_audit_log_policy_http_info(request)
5221
5501
  return self._call_api(**http_info)
5222
5502
 
5223
- def set_gauss_my_sql_proxy_weight_invoker(self, request):
5224
- http_info = self._set_gauss_my_sql_proxy_weight_http_info(request)
5503
+ def set_audit_log_policy_invoker(self, request):
5504
+ http_info = self._set_audit_log_policy_http_info(request)
5225
5505
  return SyncInvoker(self, http_info)
5226
5506
 
5227
5507
  @classmethod
5228
- def _set_gauss_my_sql_proxy_weight_http_info(cls, request):
5508
+ def _set_audit_log_policy_http_info(cls, request):
5229
5509
  http_info = {
5230
5510
  "method": "PUT",
5231
- "resource_path": "/v3/{project_id}/instances/{instance_id}/proxy/{proxy_id}/weight",
5511
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/audit-log-policy",
5232
5512
  "request_type": request.__class__.__name__,
5233
- "response_type": "SetGaussMySqlProxyWeightResponse"
5513
+ "response_type": "SetAuditLogPolicyResponse"
5234
5514
  }
5235
5515
 
5236
5516
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -5242,8 +5522,6 @@ class GaussDBClient(Client):
5242
5522
  path_params = {}
5243
5523
  if 'instance_id' in local_var_params:
5244
5524
  path_params['instance_id'] = local_var_params['instance_id']
5245
- if 'proxy_id' in local_var_params:
5246
- path_params['proxy_id'] = local_var_params['proxy_id']
5247
5525
 
5248
5526
  query_params = []
5249
5527
 
@@ -5277,17 +5555,88 @@ class GaussDBClient(Client):
5277
5555
 
5278
5556
  return http_info
5279
5557
 
5280
- def set_gauss_my_sql_quotas(self, request):
5281
- r"""设置租户基于企业项目的资源配额
5558
+ def set_gauss_my_sql_proxy_weight(self, request):
5559
+ r"""设置读写分离权重
5282
5560
 
5283
- 设置指定企业项目的资源配额。
5561
+ 设置读写分离权重。
5284
5562
 
5285
5563
  Please refer to HUAWEI cloud API Explorer for details.
5286
5564
 
5287
- :param request: Request instance for SetGaussMySqlQuotas
5288
- :type request: :class:`huaweicloudsdkgaussdb.v3.SetGaussMySqlQuotasRequest`
5289
- :rtype: :class:`huaweicloudsdkgaussdb.v3.SetGaussMySqlQuotasResponse`
5290
- """
5565
+ :param request: Request instance for SetGaussMySqlProxyWeight
5566
+ :type request: :class:`huaweicloudsdkgaussdb.v3.SetGaussMySqlProxyWeightRequest`
5567
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.SetGaussMySqlProxyWeightResponse`
5568
+ """
5569
+ http_info = self._set_gauss_my_sql_proxy_weight_http_info(request)
5570
+ return self._call_api(**http_info)
5571
+
5572
+ def set_gauss_my_sql_proxy_weight_invoker(self, request):
5573
+ http_info = self._set_gauss_my_sql_proxy_weight_http_info(request)
5574
+ return SyncInvoker(self, http_info)
5575
+
5576
+ @classmethod
5577
+ def _set_gauss_my_sql_proxy_weight_http_info(cls, request):
5578
+ http_info = {
5579
+ "method": "PUT",
5580
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/proxy/{proxy_id}/weight",
5581
+ "request_type": request.__class__.__name__,
5582
+ "response_type": "SetGaussMySqlProxyWeightResponse"
5583
+ }
5584
+
5585
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
5586
+
5587
+ cname = None
5588
+
5589
+ collection_formats = {}
5590
+
5591
+ path_params = {}
5592
+ if 'instance_id' in local_var_params:
5593
+ path_params['instance_id'] = local_var_params['instance_id']
5594
+ if 'proxy_id' in local_var_params:
5595
+ path_params['proxy_id'] = local_var_params['proxy_id']
5596
+
5597
+ query_params = []
5598
+
5599
+ header_params = {}
5600
+ if 'x_language' in local_var_params:
5601
+ header_params['X-Language'] = local_var_params['x_language']
5602
+
5603
+ form_params = {}
5604
+
5605
+ body = None
5606
+ if 'body' in local_var_params:
5607
+ body = local_var_params['body']
5608
+ if isinstance(request, SdkStreamRequest):
5609
+ body = request.get_file_stream()
5610
+
5611
+ response_headers = []
5612
+
5613
+ header_params['Content-Type'] = http_utils.select_header_content_type(
5614
+ ['application/json;charset=UTF-8'])
5615
+
5616
+ auth_settings = []
5617
+
5618
+ http_info["cname"] = cname
5619
+ http_info["collection_formats"] = collection_formats
5620
+ http_info["path_params"] = path_params
5621
+ http_info["query_params"] = query_params
5622
+ http_info["header_params"] = header_params
5623
+ http_info["post_params"] = form_params
5624
+ http_info["body"] = body
5625
+ http_info["response_headers"] = response_headers
5626
+
5627
+ return http_info
5628
+
5629
+ def set_gauss_my_sql_quotas(self, request):
5630
+ r"""设置租户基于企业项目的资源配额
5631
+
5632
+ 设置指定企业项目的资源配额。
5633
+
5634
+ Please refer to HUAWEI cloud API Explorer for details.
5635
+
5636
+ :param request: Request instance for SetGaussMySqlQuotas
5637
+ :type request: :class:`huaweicloudsdkgaussdb.v3.SetGaussMySqlQuotasRequest`
5638
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.SetGaussMySqlQuotasResponse`
5639
+ """
5291
5640
  http_info = self._set_gauss_my_sql_quotas_http_info(request)
5292
5641
  return self._call_api(**http_info)
5293
5642
 
@@ -5547,6 +5896,142 @@ class GaussDBClient(Client):
5547
5896
 
5548
5897
  return http_info
5549
5898
 
5899
+ def show_audit_log_download_link(self, request):
5900
+ r"""生成审计日志下载链接
5901
+
5902
+ 生成审计日志下载链接。
5903
+
5904
+ Please refer to HUAWEI cloud API Explorer for details.
5905
+
5906
+ :param request: Request instance for ShowAuditLogDownloadLink
5907
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ShowAuditLogDownloadLinkRequest`
5908
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ShowAuditLogDownloadLinkResponse`
5909
+ """
5910
+ http_info = self._show_audit_log_download_link_http_info(request)
5911
+ return self._call_api(**http_info)
5912
+
5913
+ def show_audit_log_download_link_invoker(self, request):
5914
+ http_info = self._show_audit_log_download_link_http_info(request)
5915
+ return SyncInvoker(self, http_info)
5916
+
5917
+ @classmethod
5918
+ def _show_audit_log_download_link_http_info(cls, request):
5919
+ http_info = {
5920
+ "method": "POST",
5921
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/audit-log-link",
5922
+ "request_type": request.__class__.__name__,
5923
+ "response_type": "ShowAuditLogDownloadLinkResponse"
5924
+ }
5925
+
5926
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
5927
+
5928
+ cname = None
5929
+
5930
+ collection_formats = {}
5931
+
5932
+ path_params = {}
5933
+ if 'instance_id' in local_var_params:
5934
+ path_params['instance_id'] = local_var_params['instance_id']
5935
+
5936
+ query_params = []
5937
+
5938
+ header_params = {}
5939
+ if 'x_language' in local_var_params:
5940
+ header_params['X-Language'] = local_var_params['x_language']
5941
+
5942
+ form_params = {}
5943
+
5944
+ body = None
5945
+ if 'body' in local_var_params:
5946
+ body = local_var_params['body']
5947
+ if isinstance(request, SdkStreamRequest):
5948
+ body = request.get_file_stream()
5949
+
5950
+ response_headers = []
5951
+
5952
+ header_params['Content-Type'] = http_utils.select_header_content_type(
5953
+ ['application/json;charset=UTF-8'])
5954
+
5955
+ auth_settings = []
5956
+
5957
+ http_info["cname"] = cname
5958
+ http_info["collection_formats"] = collection_formats
5959
+ http_info["path_params"] = path_params
5960
+ http_info["query_params"] = query_params
5961
+ http_info["header_params"] = header_params
5962
+ http_info["post_params"] = form_params
5963
+ http_info["body"] = body
5964
+ http_info["response_headers"] = response_headers
5965
+
5966
+ return http_info
5967
+
5968
+ def show_audit_log_policy(self, request):
5969
+ r"""查询审计日志策略
5970
+
5971
+ 查询审计日志策略。
5972
+
5973
+ Please refer to HUAWEI cloud API Explorer for details.
5974
+
5975
+ :param request: Request instance for ShowAuditLogPolicy
5976
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ShowAuditLogPolicyRequest`
5977
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ShowAuditLogPolicyResponse`
5978
+ """
5979
+ http_info = self._show_audit_log_policy_http_info(request)
5980
+ return self._call_api(**http_info)
5981
+
5982
+ def show_audit_log_policy_invoker(self, request):
5983
+ http_info = self._show_audit_log_policy_http_info(request)
5984
+ return SyncInvoker(self, http_info)
5985
+
5986
+ @classmethod
5987
+ def _show_audit_log_policy_http_info(cls, request):
5988
+ http_info = {
5989
+ "method": "GET",
5990
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/audit-log-policy",
5991
+ "request_type": request.__class__.__name__,
5992
+ "response_type": "ShowAuditLogPolicyResponse"
5993
+ }
5994
+
5995
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
5996
+
5997
+ cname = None
5998
+
5999
+ collection_formats = {}
6000
+
6001
+ path_params = {}
6002
+ if 'instance_id' in local_var_params:
6003
+ path_params['instance_id'] = local_var_params['instance_id']
6004
+
6005
+ query_params = []
6006
+
6007
+ header_params = {}
6008
+ if 'x_language' in local_var_params:
6009
+ header_params['X-Language'] = local_var_params['x_language']
6010
+
6011
+ form_params = {}
6012
+
6013
+ body = None
6014
+ if isinstance(request, SdkStreamRequest):
6015
+ body = request.get_file_stream()
6016
+
6017
+ response_headers = []
6018
+
6019
+ header_params['Content-Type'] = http_utils.select_header_content_type(
6020
+ ['application/json'])
6021
+
6022
+ auth_settings = []
6023
+
6024
+ http_info["cname"] = cname
6025
+ http_info["collection_formats"] = collection_formats
6026
+ http_info["path_params"] = path_params
6027
+ http_info["query_params"] = query_params
6028
+ http_info["header_params"] = header_params
6029
+ http_info["post_params"] = form_params
6030
+ http_info["body"] = body
6031
+ http_info["response_headers"] = response_headers
6032
+
6033
+ return http_info
6034
+
5550
6035
  def show_auto_expand_policy(self, request):
5551
6036
  r"""查询存储空间自动扩容策略。
5552
6037
 
@@ -5888,6 +6373,75 @@ class GaussDBClient(Client):
5888
6373
 
5889
6374
  return http_info
5890
6375
 
6376
+ def show_error_log_download_link(self, request):
6377
+ r"""错误日志下载
6378
+
6379
+ 错误日志下载。
6380
+
6381
+ Please refer to HUAWEI cloud API Explorer for details.
6382
+
6383
+ :param request: Request instance for ShowErrorLogDownloadLink
6384
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ShowErrorLogDownloadLinkRequest`
6385
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ShowErrorLogDownloadLinkResponse`
6386
+ """
6387
+ http_info = self._show_error_log_download_link_http_info(request)
6388
+ return self._call_api(**http_info)
6389
+
6390
+ def show_error_log_download_link_invoker(self, request):
6391
+ http_info = self._show_error_log_download_link_http_info(request)
6392
+ return SyncInvoker(self, http_info)
6393
+
6394
+ @classmethod
6395
+ def _show_error_log_download_link_http_info(cls, request):
6396
+ http_info = {
6397
+ "method": "POST",
6398
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/{node_id}/errorlog-download",
6399
+ "request_type": request.__class__.__name__,
6400
+ "response_type": "ShowErrorLogDownloadLinkResponse"
6401
+ }
6402
+
6403
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
6404
+
6405
+ cname = None
6406
+
6407
+ collection_formats = {}
6408
+
6409
+ path_params = {}
6410
+ if 'instance_id' in local_var_params:
6411
+ path_params['instance_id'] = local_var_params['instance_id']
6412
+ if 'node_id' in local_var_params:
6413
+ path_params['node_id'] = local_var_params['node_id']
6414
+
6415
+ query_params = []
6416
+
6417
+ header_params = {}
6418
+ if 'x_language' in local_var_params:
6419
+ header_params['X-Language'] = local_var_params['x_language']
6420
+
6421
+ form_params = {}
6422
+
6423
+ body = None
6424
+ if isinstance(request, SdkStreamRequest):
6425
+ body = request.get_file_stream()
6426
+
6427
+ response_headers = []
6428
+
6429
+ header_params['Content-Type'] = http_utils.select_header_content_type(
6430
+ ['application/json'])
6431
+
6432
+ auth_settings = []
6433
+
6434
+ http_info["cname"] = cname
6435
+ http_info["collection_formats"] = collection_formats
6436
+ http_info["path_params"] = path_params
6437
+ http_info["query_params"] = query_params
6438
+ http_info["header_params"] = header_params
6439
+ http_info["post_params"] = form_params
6440
+ http_info["body"] = body
6441
+ http_info["response_headers"] = response_headers
6442
+
6443
+ return http_info
6444
+
5891
6445
  def show_gauss_my_sql_backup_list(self, request):
5892
6446
  r"""查询全量备份列表
5893
6447
 
@@ -7351,31 +7905,100 @@ class GaussDBClient(Client):
7351
7905
 
7352
7906
  return http_info
7353
7907
 
7354
- def show_proxy_ipgroup(self, request):
7355
- r"""查询代理实例访问控制
7908
+ def show_proxy_flavors_by_az_code(self, request):
7909
+ r"""根据azCode查询数据库代理规格信息
7356
7910
 
7357
- 查询代理实例访问控制
7911
+ 根据azCode查询数据库代理规格信息。
7358
7912
 
7359
7913
  Please refer to HUAWEI cloud API Explorer for details.
7360
7914
 
7361
- :param request: Request instance for ShowProxyIpgroup
7362
- :type request: :class:`huaweicloudsdkgaussdb.v3.ShowProxyIpgroupRequest`
7363
- :rtype: :class:`huaweicloudsdkgaussdb.v3.ShowProxyIpgroupResponse`
7915
+ :param request: Request instance for ShowProxyFlavorsByAzCode
7916
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ShowProxyFlavorsByAzCodeRequest`
7917
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ShowProxyFlavorsByAzCodeResponse`
7364
7918
  """
7365
- http_info = self._show_proxy_ipgroup_http_info(request)
7919
+ http_info = self._show_proxy_flavors_by_az_code_http_info(request)
7366
7920
  return self._call_api(**http_info)
7367
7921
 
7368
- def show_proxy_ipgroup_invoker(self, request):
7369
- http_info = self._show_proxy_ipgroup_http_info(request)
7922
+ def show_proxy_flavors_by_az_code_invoker(self, request):
7923
+ http_info = self._show_proxy_flavors_by_az_code_http_info(request)
7370
7924
  return SyncInvoker(self, http_info)
7371
7925
 
7372
7926
  @classmethod
7373
- def _show_proxy_ipgroup_http_info(cls, request):
7927
+ def _show_proxy_flavors_by_az_code_http_info(cls, request):
7374
7928
  http_info = {
7375
7929
  "method": "GET",
7376
- "resource_path": "/v3/{project_id}/instances/{instance_id}/proxy/{proxy_id}/ipgroup",
7930
+ "resource_path": "/v3/{project_id}/proxy/flavors",
7377
7931
  "request_type": request.__class__.__name__,
7378
- "response_type": "ShowProxyIpgroupResponse"
7932
+ "response_type": "ShowProxyFlavorsByAzCodeResponse"
7933
+ }
7934
+
7935
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
7936
+
7937
+ cname = None
7938
+
7939
+ collection_formats = {}
7940
+
7941
+ path_params = {}
7942
+
7943
+ query_params = []
7944
+ if 'az_codes' in local_var_params:
7945
+ query_params.append(('az_codes', local_var_params['az_codes']))
7946
+ if 'proxy_engine_name' in local_var_params:
7947
+ query_params.append(('proxy_engine_name', local_var_params['proxy_engine_name']))
7948
+
7949
+ header_params = {}
7950
+ if 'x_language' in local_var_params:
7951
+ header_params['X-Language'] = local_var_params['x_language']
7952
+
7953
+ form_params = {}
7954
+
7955
+ body = None
7956
+ if isinstance(request, SdkStreamRequest):
7957
+ body = request.get_file_stream()
7958
+
7959
+ response_headers = []
7960
+
7961
+ header_params['Content-Type'] = http_utils.select_header_content_type(
7962
+ ['application/json'])
7963
+
7964
+ auth_settings = []
7965
+
7966
+ http_info["cname"] = cname
7967
+ http_info["collection_formats"] = collection_formats
7968
+ http_info["path_params"] = path_params
7969
+ http_info["query_params"] = query_params
7970
+ http_info["header_params"] = header_params
7971
+ http_info["post_params"] = form_params
7972
+ http_info["body"] = body
7973
+ http_info["response_headers"] = response_headers
7974
+
7975
+ return http_info
7976
+
7977
+ def show_proxy_ipgroup(self, request):
7978
+ r"""查询代理实例访问控制
7979
+
7980
+ 查询代理实例访问控制
7981
+
7982
+ Please refer to HUAWEI cloud API Explorer for details.
7983
+
7984
+ :param request: Request instance for ShowProxyIpgroup
7985
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ShowProxyIpgroupRequest`
7986
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ShowProxyIpgroupResponse`
7987
+ """
7988
+ http_info = self._show_proxy_ipgroup_http_info(request)
7989
+ return self._call_api(**http_info)
7990
+
7991
+ def show_proxy_ipgroup_invoker(self, request):
7992
+ http_info = self._show_proxy_ipgroup_http_info(request)
7993
+ return SyncInvoker(self, http_info)
7994
+
7995
+ @classmethod
7996
+ def _show_proxy_ipgroup_http_info(cls, request):
7997
+ http_info = {
7998
+ "method": "GET",
7999
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/proxy/{proxy_id}/ipgroup",
8000
+ "request_type": request.__class__.__name__,
8001
+ "response_type": "ShowProxyIpgroupResponse"
7379
8002
  }
7380
8003
 
7381
8004
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -7980,6 +8603,77 @@ class GaussDBClient(Client):
7980
8603
 
7981
8604
  return http_info
7982
8605
 
8606
+ def show_table_meta_info(self, request):
8607
+ r"""查询实例库表信息
8608
+
8609
+ 查询实例库表信息
8610
+
8611
+ Please refer to HUAWEI cloud API Explorer for details.
8612
+
8613
+ :param request: Request instance for ShowTableMetaInfo
8614
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ShowTableMetaInfoRequest`
8615
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ShowTableMetaInfoResponse`
8616
+ """
8617
+ http_info = self._show_table_meta_info_http_info(request)
8618
+ return self._call_api(**http_info)
8619
+
8620
+ def show_table_meta_info_invoker(self, request):
8621
+ http_info = self._show_table_meta_info_http_info(request)
8622
+ return SyncInvoker(self, http_info)
8623
+
8624
+ @classmethod
8625
+ def _show_table_meta_info_http_info(cls, request):
8626
+ http_info = {
8627
+ "method": "GET",
8628
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/table-info",
8629
+ "request_type": request.__class__.__name__,
8630
+ "response_type": "ShowTableMetaInfoResponse"
8631
+ }
8632
+
8633
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
8634
+
8635
+ cname = None
8636
+
8637
+ collection_formats = {}
8638
+
8639
+ path_params = {}
8640
+ if 'instance_id' in local_var_params:
8641
+ path_params['instance_id'] = local_var_params['instance_id']
8642
+
8643
+ query_params = []
8644
+ if 'database_name' in local_var_params:
8645
+ query_params.append(('database_name', local_var_params['database_name']))
8646
+ if 'table_name' in local_var_params:
8647
+ query_params.append(('table_name', local_var_params['table_name']))
8648
+
8649
+ header_params = {}
8650
+ if 'x_language' in local_var_params:
8651
+ header_params['X-Language'] = local_var_params['x_language']
8652
+
8653
+ form_params = {}
8654
+
8655
+ body = None
8656
+ if isinstance(request, SdkStreamRequest):
8657
+ body = request.get_file_stream()
8658
+
8659
+ response_headers = []
8660
+
8661
+ header_params['Content-Type'] = http_utils.select_header_content_type(
8662
+ ['application/json'])
8663
+
8664
+ auth_settings = []
8665
+
8666
+ http_info["cname"] = cname
8667
+ http_info["collection_formats"] = collection_formats
8668
+ http_info["path_params"] = path_params
8669
+ http_info["query_params"] = query_params
8670
+ http_info["header_params"] = header_params
8671
+ http_info["post_params"] = form_params
8672
+ http_info["body"] = body
8673
+ http_info["response_headers"] = response_headers
8674
+
8675
+ return http_info
8676
+
7983
8677
  def shrink_gauss_my_sql_proxy(self, request):
7984
8678
  r"""减少数据库代理节点的数量
7985
8679
 
@@ -9998,6 +10692,77 @@ class GaussDBClient(Client):
9998
10692
 
9999
10693
  return http_info
10000
10694
 
10695
+ def update_proxy_private_dns_name(self, request):
10696
+ r"""修改proxy内网dns
10697
+
10698
+ 修改proxy内网dns
10699
+
10700
+ Please refer to HUAWEI cloud API Explorer for details.
10701
+
10702
+ :param request: Request instance for UpdateProxyPrivateDnsName
10703
+ :type request: :class:`huaweicloudsdkgaussdb.v3.UpdateProxyPrivateDnsNameRequest`
10704
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.UpdateProxyPrivateDnsNameResponse`
10705
+ """
10706
+ http_info = self._update_proxy_private_dns_name_http_info(request)
10707
+ return self._call_api(**http_info)
10708
+
10709
+ def update_proxy_private_dns_name_invoker(self, request):
10710
+ http_info = self._update_proxy_private_dns_name_http_info(request)
10711
+ return SyncInvoker(self, http_info)
10712
+
10713
+ @classmethod
10714
+ def _update_proxy_private_dns_name_http_info(cls, request):
10715
+ http_info = {
10716
+ "method": "PUT",
10717
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/proxy/{proxy_id}/dns",
10718
+ "request_type": request.__class__.__name__,
10719
+ "response_type": "UpdateProxyPrivateDnsNameResponse"
10720
+ }
10721
+
10722
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
10723
+
10724
+ cname = None
10725
+
10726
+ collection_formats = {}
10727
+
10728
+ path_params = {}
10729
+ if 'instance_id' in local_var_params:
10730
+ path_params['instance_id'] = local_var_params['instance_id']
10731
+ if 'proxy_id' in local_var_params:
10732
+ path_params['proxy_id'] = local_var_params['proxy_id']
10733
+
10734
+ query_params = []
10735
+
10736
+ header_params = {}
10737
+ if 'x_language' in local_var_params:
10738
+ header_params['X-Language'] = local_var_params['x_language']
10739
+
10740
+ form_params = {}
10741
+
10742
+ body = None
10743
+ if 'body' in local_var_params:
10744
+ body = local_var_params['body']
10745
+ if isinstance(request, SdkStreamRequest):
10746
+ body = request.get_file_stream()
10747
+
10748
+ response_headers = []
10749
+
10750
+ header_params['Content-Type'] = http_utils.select_header_content_type(
10751
+ ['application/json;charset=UTF-8'])
10752
+
10753
+ auth_settings = []
10754
+
10755
+ http_info["cname"] = cname
10756
+ http_info["collection_formats"] = collection_formats
10757
+ http_info["path_params"] = path_params
10758
+ http_info["query_params"] = query_params
10759
+ http_info["header_params"] = header_params
10760
+ http_info["post_params"] = form_params
10761
+ http_info["body"] = body
10762
+ http_info["response_headers"] = response_headers
10763
+
10764
+ return http_info
10765
+
10001
10766
  def update_proxy_session_consistence(self, request):
10002
10767
  r"""修改代理会话一致性
10003
10768
 
@@ -12622,6 +13387,73 @@ class GaussDBClient(Client):
12622
13387
 
12623
13388
  return http_info
12624
13389
 
13390
+ def list_instance_node(self, request):
13391
+ r"""查询节点信息
13392
+
13393
+ 查询节点信息
13394
+
13395
+ Please refer to HUAWEI cloud API Explorer for details.
13396
+
13397
+ :param request: Request instance for ListInstanceNode
13398
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ListInstanceNodeRequest`
13399
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ListInstanceNodeResponse`
13400
+ """
13401
+ http_info = self._list_instance_node_http_info(request)
13402
+ return self._call_api(**http_info)
13403
+
13404
+ def list_instance_node_invoker(self, request):
13405
+ http_info = self._list_instance_node_http_info(request)
13406
+ return SyncInvoker(self, http_info)
13407
+
13408
+ @classmethod
13409
+ def _list_instance_node_http_info(cls, request):
13410
+ http_info = {
13411
+ "method": "GET",
13412
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/nodes",
13413
+ "request_type": request.__class__.__name__,
13414
+ "response_type": "ListInstanceNodeResponse"
13415
+ }
13416
+
13417
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
13418
+
13419
+ cname = None
13420
+
13421
+ collection_formats = {}
13422
+
13423
+ path_params = {}
13424
+ if 'instance_id' in local_var_params:
13425
+ path_params['instance_id'] = local_var_params['instance_id']
13426
+
13427
+ query_params = []
13428
+
13429
+ header_params = {}
13430
+ if 'x_language' in local_var_params:
13431
+ header_params['X-Language'] = local_var_params['x_language']
13432
+
13433
+ form_params = {}
13434
+
13435
+ body = None
13436
+ if isinstance(request, SdkStreamRequest):
13437
+ body = request.get_file_stream()
13438
+
13439
+ response_headers = []
13440
+
13441
+ header_params['Content-Type'] = http_utils.select_header_content_type(
13442
+ ['application/json'])
13443
+
13444
+ auth_settings = []
13445
+
13446
+ http_info["cname"] = cname
13447
+ http_info["collection_formats"] = collection_formats
13448
+ http_info["path_params"] = path_params
13449
+ http_info["query_params"] = query_params
13450
+ http_info["header_params"] = header_params
13451
+ http_info["post_params"] = form_params
13452
+ http_info["body"] = body
13453
+ http_info["response_headers"] = response_headers
13454
+
13455
+ return http_info
13456
+
12625
13457
  def list_star_rocks_data_bases(self, request):
12626
13458
  r"""查询StarRocks数据库
12627
13459
 
@@ -13113,31 +13945,31 @@ class GaussDBClient(Client):
13113
13945
 
13114
13946
  return http_info
13115
13947
 
13116
- def pause_star_rocks_data_replication(self, request):
13117
- r"""暂停StarRocks数据同步
13948
+ def modify_star_rocks_security_group(self, request):
13949
+ r"""修改StarRocks安全组
13118
13950
 
13119
- 暂停StarRocks数据同步。
13951
+ 修改StarRocks安全组。
13120
13952
 
13121
13953
  Please refer to HUAWEI cloud API Explorer for details.
13122
13954
 
13123
- :param request: Request instance for PauseStarRocksDataReplication
13124
- :type request: :class:`huaweicloudsdkgaussdb.v3.PauseStarRocksDataReplicationRequest`
13125
- :rtype: :class:`huaweicloudsdkgaussdb.v3.PauseStarRocksDataReplicationResponse`
13955
+ :param request: Request instance for ModifyStarRocksSecurityGroup
13956
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ModifyStarRocksSecurityGroupRequest`
13957
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ModifyStarRocksSecurityGroupResponse`
13126
13958
  """
13127
- http_info = self._pause_star_rocks_data_replication_http_info(request)
13959
+ http_info = self._modify_star_rocks_security_group_http_info(request)
13128
13960
  return self._call_api(**http_info)
13129
13961
 
13130
- def pause_star_rocks_data_replication_invoker(self, request):
13131
- http_info = self._pause_star_rocks_data_replication_http_info(request)
13962
+ def modify_star_rocks_security_group_invoker(self, request):
13963
+ http_info = self._modify_star_rocks_security_group_http_info(request)
13132
13964
  return SyncInvoker(self, http_info)
13133
13965
 
13134
13966
  @classmethod
13135
- def _pause_star_rocks_data_replication_http_info(cls, request):
13967
+ def _modify_star_rocks_security_group_http_info(cls, request):
13136
13968
  http_info = {
13137
- "method": "POST",
13138
- "resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/databases/replication/pause",
13969
+ "method": "PUT",
13970
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/security-group",
13139
13971
  "request_type": request.__class__.__name__,
13140
- "response_type": "PauseStarRocksDataReplicationResponse"
13972
+ "response_type": "ModifyStarRocksSecurityGroupResponse"
13141
13973
  }
13142
13974
 
13143
13975
  local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
@@ -13182,8 +14014,77 @@ class GaussDBClient(Client):
13182
14014
 
13183
14015
  return http_info
13184
14016
 
13185
- def reboot_click_house_instance(self, request):
13186
- r"""重启实例
14017
+ def pause_star_rocks_data_replication(self, request):
14018
+ r"""暂停StarRocks数据同步
14019
+
14020
+ 暂停StarRocks数据同步。
14021
+
14022
+ Please refer to HUAWEI cloud API Explorer for details.
14023
+
14024
+ :param request: Request instance for PauseStarRocksDataReplication
14025
+ :type request: :class:`huaweicloudsdkgaussdb.v3.PauseStarRocksDataReplicationRequest`
14026
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.PauseStarRocksDataReplicationResponse`
14027
+ """
14028
+ http_info = self._pause_star_rocks_data_replication_http_info(request)
14029
+ return self._call_api(**http_info)
14030
+
14031
+ def pause_star_rocks_data_replication_invoker(self, request):
14032
+ http_info = self._pause_star_rocks_data_replication_http_info(request)
14033
+ return SyncInvoker(self, http_info)
14034
+
14035
+ @classmethod
14036
+ def _pause_star_rocks_data_replication_http_info(cls, request):
14037
+ http_info = {
14038
+ "method": "POST",
14039
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/databases/replication/pause",
14040
+ "request_type": request.__class__.__name__,
14041
+ "response_type": "PauseStarRocksDataReplicationResponse"
14042
+ }
14043
+
14044
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
14045
+
14046
+ cname = None
14047
+
14048
+ collection_formats = {}
14049
+
14050
+ path_params = {}
14051
+ if 'instance_id' in local_var_params:
14052
+ path_params['instance_id'] = local_var_params['instance_id']
14053
+
14054
+ query_params = []
14055
+
14056
+ header_params = {}
14057
+ if 'x_language' in local_var_params:
14058
+ header_params['X-Language'] = local_var_params['x_language']
14059
+
14060
+ form_params = {}
14061
+
14062
+ body = None
14063
+ if 'body' in local_var_params:
14064
+ body = local_var_params['body']
14065
+ if isinstance(request, SdkStreamRequest):
14066
+ body = request.get_file_stream()
14067
+
14068
+ response_headers = []
14069
+
14070
+ header_params['Content-Type'] = http_utils.select_header_content_type(
14071
+ ['application/json;charset=UTF-8'])
14072
+
14073
+ auth_settings = []
14074
+
14075
+ http_info["cname"] = cname
14076
+ http_info["collection_formats"] = collection_formats
14077
+ http_info["path_params"] = path_params
14078
+ http_info["query_params"] = query_params
14079
+ http_info["header_params"] = header_params
14080
+ http_info["post_params"] = form_params
14081
+ http_info["body"] = body
14082
+ http_info["response_headers"] = response_headers
14083
+
14084
+ return http_info
14085
+
14086
+ def reboot_click_house_instance(self, request):
14087
+ r"""重启实例
13187
14088
 
13188
14089
  重启实例。
13189
14090
 
@@ -13945,6 +14846,296 @@ class GaussDBClient(Client):
13945
14846
 
13946
14847
  return http_info
13947
14848
 
14849
+ def show_htap_error_log_detail(self, request):
14850
+ r"""查询错误日志
14851
+
14852
+ 获取内核错误日志信息
14853
+
14854
+ Please refer to HUAWEI cloud API Explorer for details.
14855
+
14856
+ :param request: Request instance for ShowHtapErrorLogDetail
14857
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ShowHtapErrorLogDetailRequest`
14858
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ShowHtapErrorLogDetailResponse`
14859
+ """
14860
+ http_info = self._show_htap_error_log_detail_http_info(request)
14861
+ return self._call_api(**http_info)
14862
+
14863
+ def show_htap_error_log_detail_invoker(self, request):
14864
+ http_info = self._show_htap_error_log_detail_http_info(request)
14865
+ return SyncInvoker(self, http_info)
14866
+
14867
+ @classmethod
14868
+ def _show_htap_error_log_detail_http_info(cls, request):
14869
+ http_info = {
14870
+ "method": "POST",
14871
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/starrocks/error-logs",
14872
+ "request_type": request.__class__.__name__,
14873
+ "response_type": "ShowHtapErrorLogDetailResponse"
14874
+ }
14875
+
14876
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
14877
+
14878
+ cname = None
14879
+
14880
+ collection_formats = {}
14881
+
14882
+ path_params = {}
14883
+ if 'instance_id' in local_var_params:
14884
+ path_params['instance_id'] = local_var_params['instance_id']
14885
+
14886
+ query_params = []
14887
+
14888
+ header_params = {}
14889
+ if 'x_language' in local_var_params:
14890
+ header_params['X-Language'] = local_var_params['x_language']
14891
+
14892
+ form_params = {}
14893
+
14894
+ body = None
14895
+ if 'body' in local_var_params:
14896
+ body = local_var_params['body']
14897
+ if isinstance(request, SdkStreamRequest):
14898
+ body = request.get_file_stream()
14899
+
14900
+ response_headers = []
14901
+
14902
+ header_params['Content-Type'] = http_utils.select_header_content_type(
14903
+ ['application/json;charset=UTF-8'])
14904
+
14905
+ auth_settings = []
14906
+
14907
+ http_info["cname"] = cname
14908
+ http_info["collection_formats"] = collection_formats
14909
+ http_info["path_params"] = path_params
14910
+ http_info["query_params"] = query_params
14911
+ http_info["header_params"] = header_params
14912
+ http_info["post_params"] = form_params
14913
+ http_info["body"] = body
14914
+ http_info["response_headers"] = response_headers
14915
+
14916
+ return http_info
14917
+
14918
+ def show_htap_lts_config(self, request):
14919
+ r"""查询实例LTS日志配置列表
14920
+
14921
+ 查询实例LTS日志配置列表
14922
+
14923
+ Please refer to HUAWEI cloud API Explorer for details.
14924
+
14925
+ :param request: Request instance for ShowHtapLtsConfig
14926
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ShowHtapLtsConfigRequest`
14927
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ShowHtapLtsConfigResponse`
14928
+ """
14929
+ http_info = self._show_htap_lts_config_http_info(request)
14930
+ return self._call_api(**http_info)
14931
+
14932
+ def show_htap_lts_config_invoker(self, request):
14933
+ http_info = self._show_htap_lts_config_http_info(request)
14934
+ return SyncInvoker(self, http_info)
14935
+
14936
+ @classmethod
14937
+ def _show_htap_lts_config_http_info(cls, request):
14938
+ http_info = {
14939
+ "method": "GET",
14940
+ "resource_path": "/v3/{project_id}/starrocks/instances/logs/lts-configs",
14941
+ "request_type": request.__class__.__name__,
14942
+ "response_type": "ShowHtapLtsConfigResponse"
14943
+ }
14944
+
14945
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
14946
+
14947
+ cname = None
14948
+
14949
+ collection_formats = {}
14950
+
14951
+ path_params = {}
14952
+
14953
+ query_params = []
14954
+ if 'instance_id' in local_var_params:
14955
+ query_params.append(('instance_id', local_var_params['instance_id']))
14956
+ if 'enterprise_project_id' in local_var_params:
14957
+ query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id']))
14958
+ if 'instance_name' in local_var_params:
14959
+ query_params.append(('instance_name', local_var_params['instance_name']))
14960
+ if 'limit' in local_var_params:
14961
+ query_params.append(('limit', local_var_params['limit']))
14962
+ if 'offset' in local_var_params:
14963
+ query_params.append(('offset', local_var_params['offset']))
14964
+
14965
+ header_params = {}
14966
+ if 'x_language' in local_var_params:
14967
+ header_params['X-Language'] = local_var_params['x_language']
14968
+
14969
+ form_params = {}
14970
+
14971
+ body = None
14972
+ if isinstance(request, SdkStreamRequest):
14973
+ body = request.get_file_stream()
14974
+
14975
+ response_headers = []
14976
+
14977
+ header_params['Content-Type'] = http_utils.select_header_content_type(
14978
+ ['application/json'])
14979
+
14980
+ auth_settings = []
14981
+
14982
+ http_info["cname"] = cname
14983
+ http_info["collection_formats"] = collection_formats
14984
+ http_info["path_params"] = path_params
14985
+ http_info["query_params"] = query_params
14986
+ http_info["header_params"] = header_params
14987
+ http_info["post_params"] = form_params
14988
+ http_info["body"] = body
14989
+ http_info["response_headers"] = response_headers
14990
+
14991
+ return http_info
14992
+
14993
+ def show_instance_databases_for_htap(self, request):
14994
+ r"""查询HTAP主实例数据库
14995
+
14996
+ 查询HTAP主实例数据库。
14997
+
14998
+ Please refer to HUAWEI cloud API Explorer for details.
14999
+
15000
+ :param request: Request instance for ShowInstanceDatabasesForHtap
15001
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ShowInstanceDatabasesForHtapRequest`
15002
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ShowInstanceDatabasesForHtapResponse`
15003
+ """
15004
+ http_info = self._show_instance_databases_for_htap_http_info(request)
15005
+ return self._call_api(**http_info)
15006
+
15007
+ def show_instance_databases_for_htap_invoker(self, request):
15008
+ http_info = self._show_instance_databases_for_htap_http_info(request)
15009
+ return SyncInvoker(self, http_info)
15010
+
15011
+ @classmethod
15012
+ def _show_instance_databases_for_htap_http_info(cls, request):
15013
+ http_info = {
15014
+ "method": "POST",
15015
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/htap/databases",
15016
+ "request_type": request.__class__.__name__,
15017
+ "response_type": "ShowInstanceDatabasesForHtapResponse"
15018
+ }
15019
+
15020
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
15021
+
15022
+ cname = None
15023
+
15024
+ collection_formats = {}
15025
+
15026
+ path_params = {}
15027
+ if 'instance_id' in local_var_params:
15028
+ path_params['instance_id'] = local_var_params['instance_id']
15029
+
15030
+ query_params = []
15031
+ if 'limit' in local_var_params:
15032
+ query_params.append(('limit', local_var_params['limit']))
15033
+ if 'offset' in local_var_params:
15034
+ query_params.append(('offset', local_var_params['offset']))
15035
+
15036
+ header_params = {}
15037
+ if 'x_language' in local_var_params:
15038
+ header_params['X-Language'] = local_var_params['x_language']
15039
+
15040
+ form_params = {}
15041
+
15042
+ body = None
15043
+ if 'body' in local_var_params:
15044
+ body = local_var_params['body']
15045
+ if isinstance(request, SdkStreamRequest):
15046
+ body = request.get_file_stream()
15047
+
15048
+ response_headers = []
15049
+
15050
+ header_params['Content-Type'] = http_utils.select_header_content_type(
15051
+ ['application/json;charset=UTF-8'])
15052
+
15053
+ auth_settings = []
15054
+
15055
+ http_info["cname"] = cname
15056
+ http_info["collection_formats"] = collection_formats
15057
+ http_info["path_params"] = path_params
15058
+ http_info["query_params"] = query_params
15059
+ http_info["header_params"] = header_params
15060
+ http_info["post_params"] = form_params
15061
+ http_info["body"] = body
15062
+ http_info["response_headers"] = response_headers
15063
+
15064
+ return http_info
15065
+
15066
+ def show_instance_tables_for_htap(self, request):
15067
+ r"""查询HTAP主实例数据库表列表
15068
+
15069
+ 查询HTAP主实例数据表列表。
15070
+
15071
+ Please refer to HUAWEI cloud API Explorer for details.
15072
+
15073
+ :param request: Request instance for ShowInstanceTablesForHtap
15074
+ :type request: :class:`huaweicloudsdkgaussdb.v3.ShowInstanceTablesForHtapRequest`
15075
+ :rtype: :class:`huaweicloudsdkgaussdb.v3.ShowInstanceTablesForHtapResponse`
15076
+ """
15077
+ http_info = self._show_instance_tables_for_htap_http_info(request)
15078
+ return self._call_api(**http_info)
15079
+
15080
+ def show_instance_tables_for_htap_invoker(self, request):
15081
+ http_info = self._show_instance_tables_for_htap_http_info(request)
15082
+ return SyncInvoker(self, http_info)
15083
+
15084
+ @classmethod
15085
+ def _show_instance_tables_for_htap_http_info(cls, request):
15086
+ http_info = {
15087
+ "method": "POST",
15088
+ "resource_path": "/v3/{project_id}/instances/{instance_id}/htap/tables",
15089
+ "request_type": request.__class__.__name__,
15090
+ "response_type": "ShowInstanceTablesForHtapResponse"
15091
+ }
15092
+
15093
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
15094
+
15095
+ cname = None
15096
+
15097
+ collection_formats = {}
15098
+
15099
+ path_params = {}
15100
+ if 'instance_id' in local_var_params:
15101
+ path_params['instance_id'] = local_var_params['instance_id']
15102
+
15103
+ query_params = []
15104
+ if 'limit' in local_var_params:
15105
+ query_params.append(('limit', local_var_params['limit']))
15106
+ if 'offset' in local_var_params:
15107
+ query_params.append(('offset', local_var_params['offset']))
15108
+
15109
+ header_params = {}
15110
+ if 'x_language' in local_var_params:
15111
+ header_params['X-Language'] = local_var_params['x_language']
15112
+
15113
+ form_params = {}
15114
+
15115
+ body = None
15116
+ if 'body' in local_var_params:
15117
+ body = local_var_params['body']
15118
+ if isinstance(request, SdkStreamRequest):
15119
+ body = request.get_file_stream()
15120
+
15121
+ response_headers = []
15122
+
15123
+ header_params['Content-Type'] = http_utils.select_header_content_type(
15124
+ ['application/json;charset=UTF-8'])
15125
+
15126
+ auth_settings = []
15127
+
15128
+ http_info["cname"] = cname
15129
+ http_info["collection_formats"] = collection_formats
15130
+ http_info["path_params"] = path_params
15131
+ http_info["query_params"] = query_params
15132
+ http_info["header_params"] = header_params
15133
+ http_info["post_params"] = form_params
15134
+ http_info["body"] = body
15135
+ http_info["response_headers"] = response_headers
15136
+
15137
+ return http_info
15138
+
13948
15139
  def show_star_rocks_database_user(self, request):
13949
15140
  r"""查询数据库账户
13950
15141