huaweicloudsdkgaussdbforopengauss 3.1.103__py2.py3-none-any.whl → 3.1.105__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.
- huaweicloudsdkgaussdbforopengauss/v3/__init__.py +17 -1
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py +408 -0
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py +408 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +17 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request_body.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastore.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/plugin_extensions.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/recovery_backup_source.py +8 -65
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request_body.py +198 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_response.py +112 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.103.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.105.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdbforopengauss-3.1.103.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.105.dist-info}/RECORD +28 -12
- huaweicloudsdkgaussdbforopengauss/v3/model/restore_table_list_detail.py +0 -259
- {huaweicloudsdkgaussdbforopengauss-3.1.103.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.105.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.103.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.105.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.103.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.105.dist-info}/top_level.txt +0 -0
@@ -94,6 +94,9 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.hotfix_info import HotfixInfo
|
|
94
94
|
from huaweicloudsdkgaussdbforopengauss.v3.model.hotfix_rollback_infos import HotfixRollbackInfos
|
95
95
|
from huaweicloudsdkgaussdbforopengauss.v3.model.hotfix_upgrade_infos import HotfixUpgradeInfos
|
96
96
|
from huaweicloudsdkgaussdbforopengauss.v3.model.hotfix_version_info import HotfixVersionInfo
|
97
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.install_kernel_plugin_request import InstallKernelPluginRequest
|
98
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.install_kernel_plugin_request_body import InstallKernelPluginRequestBody
|
99
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.install_kernel_plugin_response import InstallKernelPluginResponse
|
97
100
|
from huaweicloudsdkgaussdbforopengauss.v3.model.instance_info_result import InstanceInfoResult
|
98
101
|
from huaweicloudsdkgaussdbforopengauss.v3.model.instance_log_file import InstanceLogFile
|
99
102
|
from huaweicloudsdkgaussdbforopengauss.v3.model.instances_list_result import InstancesListResult
|
@@ -158,8 +161,13 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.list_instances_details_response
|
|
158
161
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_instances_request import ListInstancesRequest
|
159
162
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_instances_response import ListInstancesResponse
|
160
163
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_instances_result import ListInstancesResult
|
164
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.list_kernel_plugins_request import ListKernelPluginsRequest
|
165
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.list_kernel_plugins_response import ListKernelPluginsResponse
|
161
166
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_param_group_templates_request import ListParamGroupTemplatesRequest
|
162
167
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_param_group_templates_response import ListParamGroupTemplatesResponse
|
168
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.list_plugin_extensions_request import ListPluginExtensionsRequest
|
169
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.list_plugin_extensions_request_body import ListPluginExtensionsRequestBody
|
170
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.list_plugin_extensions_response import ListPluginExtensionsResponse
|
163
171
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_predefined_tags_request import ListPredefinedTagsRequest
|
164
172
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_predefined_tags_response import ListPredefinedTagsResponse
|
165
173
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_project_tags_request import ListProjectTagsRequest
|
@@ -173,6 +181,8 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.list_restore_times_request impor
|
|
173
181
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_restore_times_response import ListRestoreTimesResponse
|
174
182
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_storage_types_request import ListStorageTypesRequest
|
175
183
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_storage_types_response import ListStorageTypesResponse
|
184
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.list_support_kernel_plugins_request import ListSupportKernelPluginsRequest
|
185
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.list_support_kernel_plugins_response import ListSupportKernelPluginsResponse
|
176
186
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_tasks_request import ListTasksRequest
|
177
187
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_tasks_response import ListTasksResponse
|
178
188
|
from huaweicloudsdkgaussdbforopengauss.v3.model.list_top_io_traffics_request import ListTopIoTrafficsRequest
|
@@ -220,6 +230,7 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.para_error_response_body import
|
|
220
230
|
from huaweicloudsdkgaussdbforopengauss.v3.model.para_group_parameter_result import ParaGroupParameterResult
|
221
231
|
from huaweicloudsdkgaussdbforopengauss.v3.model.param_group_copy_request_body import ParamGroupCopyRequestBody
|
222
232
|
from huaweicloudsdkgaussdbforopengauss.v3.model.param_group_diff_request_body import ParamGroupDiffRequestBody
|
233
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.plugin_extensions import PluginExtensions
|
223
234
|
from huaweicloudsdkgaussdbforopengauss.v3.model.project_quotas_result import ProjectQuotasResult
|
224
235
|
from huaweicloudsdkgaussdbforopengauss.v3.model.pwd_reset_request import PwdResetRequest
|
225
236
|
from huaweicloudsdkgaussdbforopengauss.v3.model.recovery_backup_source import RecoveryBackupSource
|
@@ -241,7 +252,9 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.restore_instance_request import
|
|
241
252
|
from huaweicloudsdkgaussdbforopengauss.v3.model.restore_instance_request_body import RestoreInstanceRequestBody
|
242
253
|
from huaweicloudsdkgaussdbforopengauss.v3.model.restore_instance_response import RestoreInstanceResponse
|
243
254
|
from huaweicloudsdkgaussdbforopengauss.v3.model.restore_point import RestorePoint
|
244
|
-
from huaweicloudsdkgaussdbforopengauss.v3.model.
|
255
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.resume_plugin_extensions_request import ResumePluginExtensionsRequest
|
256
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.resume_plugin_extensions_request_body import ResumePluginExtensionsRequestBody
|
257
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.resume_plugin_extensions_response import ResumePluginExtensionsResponse
|
245
258
|
from huaweicloudsdkgaussdbforopengauss.v3.model.roll_upgrade_progress import RollUpgradeProgress
|
246
259
|
from huaweicloudsdkgaussdbforopengauss.v3.model.run_instance_action_request import RunInstanceActionRequest
|
247
260
|
from huaweicloudsdkgaussdbforopengauss.v3.model.run_instance_action_response import RunInstanceActionResponse
|
@@ -252,6 +265,9 @@ from huaweicloudsdkgaussdbforopengauss.v3.model.set_backup_policy_request_body i
|
|
252
265
|
from huaweicloudsdkgaussdbforopengauss.v3.model.set_backup_policy_response import SetBackupPolicyResponse
|
253
266
|
from huaweicloudsdkgaussdbforopengauss.v3.model.set_db_user_pwd_request import SetDbUserPwdRequest
|
254
267
|
from huaweicloudsdkgaussdbforopengauss.v3.model.set_db_user_pwd_response import SetDbUserPwdResponse
|
268
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.set_kernel_plugin_license_request import SetKernelPluginLicenseRequest
|
269
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.set_kernel_plugin_license_request_body import SetKernelPluginLicenseRequestBody
|
270
|
+
from huaweicloudsdkgaussdbforopengauss.v3.model.set_kernel_plugin_license_response import SetKernelPluginLicenseResponse
|
255
271
|
from huaweicloudsdkgaussdbforopengauss.v3.model.set_new_backup_policy_request import SetNewBackupPolicyRequest
|
256
272
|
from huaweicloudsdkgaussdbforopengauss.v3.model.set_new_backup_policy_request_body import SetNewBackupPolicyRequestBody
|
257
273
|
from huaweicloudsdkgaussdbforopengauss.v3.model.set_new_backup_policy_response import SetNewBackupPolicyResponse
|
@@ -1459,6 +1459,75 @@ class GaussDBforopenGaussAsyncClient(Client):
|
|
1459
1459
|
|
1460
1460
|
return http_info
|
1461
1461
|
|
1462
|
+
def install_kernel_plugin_async(self, request):
|
1463
|
+
"""安装插件
|
1464
|
+
|
1465
|
+
安装插件
|
1466
|
+
|
1467
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
1468
|
+
|
1469
|
+
|
1470
|
+
:param request: Request instance for InstallKernelPlugin
|
1471
|
+
:type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.InstallKernelPluginRequest`
|
1472
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.InstallKernelPluginResponse`
|
1473
|
+
"""
|
1474
|
+
http_info = self._install_kernel_plugin_http_info(request)
|
1475
|
+
return self._call_api(**http_info)
|
1476
|
+
|
1477
|
+
def install_kernel_plugin_async_invoker(self, request):
|
1478
|
+
http_info = self._install_kernel_plugin_http_info(request)
|
1479
|
+
return AsyncInvoker(self, http_info)
|
1480
|
+
|
1481
|
+
def _install_kernel_plugin_http_info(self, request):
|
1482
|
+
http_info = {
|
1483
|
+
"method": "POST",
|
1484
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/kernel-plugin",
|
1485
|
+
"request_type": request.__class__.__name__,
|
1486
|
+
"response_type": "InstallKernelPluginResponse"
|
1487
|
+
}
|
1488
|
+
|
1489
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1490
|
+
|
1491
|
+
cname = None
|
1492
|
+
|
1493
|
+
collection_formats = {}
|
1494
|
+
|
1495
|
+
path_params = {}
|
1496
|
+
if 'instance_id' in local_var_params:
|
1497
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
1498
|
+
|
1499
|
+
query_params = []
|
1500
|
+
|
1501
|
+
header_params = {}
|
1502
|
+
if 'x_language' in local_var_params:
|
1503
|
+
header_params['X-Language'] = local_var_params['x_language']
|
1504
|
+
|
1505
|
+
form_params = {}
|
1506
|
+
|
1507
|
+
body = None
|
1508
|
+
if 'body' in local_var_params:
|
1509
|
+
body = local_var_params['body']
|
1510
|
+
if isinstance(request, SdkStreamRequest):
|
1511
|
+
body = request.get_file_stream()
|
1512
|
+
|
1513
|
+
response_headers = []
|
1514
|
+
|
1515
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
1516
|
+
['application/json;charset=UTF-8'])
|
1517
|
+
|
1518
|
+
auth_settings = []
|
1519
|
+
|
1520
|
+
http_info["cname"] = cname
|
1521
|
+
http_info["collection_formats"] = collection_formats
|
1522
|
+
http_info["path_params"] = path_params
|
1523
|
+
http_info["query_params"] = query_params
|
1524
|
+
http_info["header_params"] = header_params
|
1525
|
+
http_info["post_params"] = form_params
|
1526
|
+
http_info["body"] = body
|
1527
|
+
http_info["response_headers"] = response_headers
|
1528
|
+
|
1529
|
+
return http_info
|
1530
|
+
|
1462
1531
|
def list_applicable_instances_async(self, request):
|
1463
1532
|
"""查询可应用实例列表
|
1464
1533
|
|
@@ -3216,6 +3285,73 @@ class GaussDBforopenGaussAsyncClient(Client):
|
|
3216
3285
|
|
3217
3286
|
return http_info
|
3218
3287
|
|
3288
|
+
def list_kernel_plugins_async(self, request):
|
3289
|
+
"""查询实例已安装的插件列表
|
3290
|
+
|
3291
|
+
查询实例已安装的插件列表
|
3292
|
+
|
3293
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
3294
|
+
|
3295
|
+
|
3296
|
+
:param request: Request instance for ListKernelPlugins
|
3297
|
+
:type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListKernelPluginsRequest`
|
3298
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListKernelPluginsResponse`
|
3299
|
+
"""
|
3300
|
+
http_info = self._list_kernel_plugins_http_info(request)
|
3301
|
+
return self._call_api(**http_info)
|
3302
|
+
|
3303
|
+
def list_kernel_plugins_async_invoker(self, request):
|
3304
|
+
http_info = self._list_kernel_plugins_http_info(request)
|
3305
|
+
return AsyncInvoker(self, http_info)
|
3306
|
+
|
3307
|
+
def _list_kernel_plugins_http_info(self, request):
|
3308
|
+
http_info = {
|
3309
|
+
"method": "GET",
|
3310
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/kernel-plugins",
|
3311
|
+
"request_type": request.__class__.__name__,
|
3312
|
+
"response_type": "ListKernelPluginsResponse"
|
3313
|
+
}
|
3314
|
+
|
3315
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
3316
|
+
|
3317
|
+
cname = None
|
3318
|
+
|
3319
|
+
collection_formats = {}
|
3320
|
+
|
3321
|
+
path_params = {}
|
3322
|
+
if 'instance_id' in local_var_params:
|
3323
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
3324
|
+
|
3325
|
+
query_params = []
|
3326
|
+
|
3327
|
+
header_params = {}
|
3328
|
+
if 'x_language' in local_var_params:
|
3329
|
+
header_params['X-Language'] = local_var_params['x_language']
|
3330
|
+
|
3331
|
+
form_params = {}
|
3332
|
+
|
3333
|
+
body = None
|
3334
|
+
if isinstance(request, SdkStreamRequest):
|
3335
|
+
body = request.get_file_stream()
|
3336
|
+
|
3337
|
+
response_headers = []
|
3338
|
+
|
3339
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
3340
|
+
['application/json'])
|
3341
|
+
|
3342
|
+
auth_settings = []
|
3343
|
+
|
3344
|
+
http_info["cname"] = cname
|
3345
|
+
http_info["collection_formats"] = collection_formats
|
3346
|
+
http_info["path_params"] = path_params
|
3347
|
+
http_info["query_params"] = query_params
|
3348
|
+
http_info["header_params"] = header_params
|
3349
|
+
http_info["post_params"] = form_params
|
3350
|
+
http_info["body"] = body
|
3351
|
+
http_info["response_headers"] = response_headers
|
3352
|
+
|
3353
|
+
return http_info
|
3354
|
+
|
3219
3355
|
def list_param_group_templates_async(self, request):
|
3220
3356
|
"""获取参数模板列表
|
3221
3357
|
|
@@ -3285,6 +3421,75 @@ class GaussDBforopenGaussAsyncClient(Client):
|
|
3285
3421
|
|
3286
3422
|
return http_info
|
3287
3423
|
|
3424
|
+
def list_plugin_extensions_async(self, request):
|
3425
|
+
"""查询实例插件拓展信息
|
3426
|
+
|
3427
|
+
查询实例插件拓展信息
|
3428
|
+
|
3429
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
3430
|
+
|
3431
|
+
|
3432
|
+
:param request: Request instance for ListPluginExtensions
|
3433
|
+
:type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListPluginExtensionsRequest`
|
3434
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListPluginExtensionsResponse`
|
3435
|
+
"""
|
3436
|
+
http_info = self._list_plugin_extensions_http_info(request)
|
3437
|
+
return self._call_api(**http_info)
|
3438
|
+
|
3439
|
+
def list_plugin_extensions_async_invoker(self, request):
|
3440
|
+
http_info = self._list_plugin_extensions_http_info(request)
|
3441
|
+
return AsyncInvoker(self, http_info)
|
3442
|
+
|
3443
|
+
def _list_plugin_extensions_http_info(self, request):
|
3444
|
+
http_info = {
|
3445
|
+
"method": "GET",
|
3446
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/plugin-extensions",
|
3447
|
+
"request_type": request.__class__.__name__,
|
3448
|
+
"response_type": "ListPluginExtensionsResponse"
|
3449
|
+
}
|
3450
|
+
|
3451
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
3452
|
+
|
3453
|
+
cname = None
|
3454
|
+
|
3455
|
+
collection_formats = {}
|
3456
|
+
|
3457
|
+
path_params = {}
|
3458
|
+
if 'instance_id' in local_var_params:
|
3459
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
3460
|
+
|
3461
|
+
query_params = []
|
3462
|
+
|
3463
|
+
header_params = {}
|
3464
|
+
if 'x_language' in local_var_params:
|
3465
|
+
header_params['X-Language'] = local_var_params['x_language']
|
3466
|
+
|
3467
|
+
form_params = {}
|
3468
|
+
|
3469
|
+
body = None
|
3470
|
+
if 'body' in local_var_params:
|
3471
|
+
body = local_var_params['body']
|
3472
|
+
if isinstance(request, SdkStreamRequest):
|
3473
|
+
body = request.get_file_stream()
|
3474
|
+
|
3475
|
+
response_headers = []
|
3476
|
+
|
3477
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
3478
|
+
['application/json;charset=UTF-8'])
|
3479
|
+
|
3480
|
+
auth_settings = []
|
3481
|
+
|
3482
|
+
http_info["cname"] = cname
|
3483
|
+
http_info["collection_formats"] = collection_formats
|
3484
|
+
http_info["path_params"] = path_params
|
3485
|
+
http_info["query_params"] = query_params
|
3486
|
+
http_info["header_params"] = header_params
|
3487
|
+
http_info["post_params"] = form_params
|
3488
|
+
http_info["body"] = body
|
3489
|
+
http_info["response_headers"] = response_headers
|
3490
|
+
|
3491
|
+
return http_info
|
3492
|
+
|
3288
3493
|
def list_predefined_tags_async(self, request):
|
3289
3494
|
"""查询预定义标签
|
3290
3495
|
|
@@ -3700,6 +3905,71 @@ class GaussDBforopenGaussAsyncClient(Client):
|
|
3700
3905
|
|
3701
3906
|
return http_info
|
3702
3907
|
|
3908
|
+
def list_support_kernel_plugins_async(self, request):
|
3909
|
+
"""查询支持的插件列表
|
3910
|
+
|
3911
|
+
查询支持的插件列表
|
3912
|
+
|
3913
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
3914
|
+
|
3915
|
+
|
3916
|
+
:param request: Request instance for ListSupportKernelPlugins
|
3917
|
+
:type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListSupportKernelPluginsRequest`
|
3918
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ListSupportKernelPluginsResponse`
|
3919
|
+
"""
|
3920
|
+
http_info = self._list_support_kernel_plugins_http_info(request)
|
3921
|
+
return self._call_api(**http_info)
|
3922
|
+
|
3923
|
+
def list_support_kernel_plugins_async_invoker(self, request):
|
3924
|
+
http_info = self._list_support_kernel_plugins_http_info(request)
|
3925
|
+
return AsyncInvoker(self, http_info)
|
3926
|
+
|
3927
|
+
def _list_support_kernel_plugins_http_info(self, request):
|
3928
|
+
http_info = {
|
3929
|
+
"method": "GET",
|
3930
|
+
"resource_path": "/v3/{project_id}/instances/kernel-plugins",
|
3931
|
+
"request_type": request.__class__.__name__,
|
3932
|
+
"response_type": "ListSupportKernelPluginsResponse"
|
3933
|
+
}
|
3934
|
+
|
3935
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
3936
|
+
|
3937
|
+
cname = None
|
3938
|
+
|
3939
|
+
collection_formats = {}
|
3940
|
+
|
3941
|
+
path_params = {}
|
3942
|
+
|
3943
|
+
query_params = []
|
3944
|
+
|
3945
|
+
header_params = {}
|
3946
|
+
if 'x_language' in local_var_params:
|
3947
|
+
header_params['X-Language'] = local_var_params['x_language']
|
3948
|
+
|
3949
|
+
form_params = {}
|
3950
|
+
|
3951
|
+
body = None
|
3952
|
+
if isinstance(request, SdkStreamRequest):
|
3953
|
+
body = request.get_file_stream()
|
3954
|
+
|
3955
|
+
response_headers = []
|
3956
|
+
|
3957
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
3958
|
+
['application/json'])
|
3959
|
+
|
3960
|
+
auth_settings = []
|
3961
|
+
|
3962
|
+
http_info["cname"] = cname
|
3963
|
+
http_info["collection_formats"] = collection_formats
|
3964
|
+
http_info["path_params"] = path_params
|
3965
|
+
http_info["query_params"] = query_params
|
3966
|
+
http_info["header_params"] = header_params
|
3967
|
+
http_info["post_params"] = form_params
|
3968
|
+
http_info["body"] = body
|
3969
|
+
http_info["response_headers"] = response_headers
|
3970
|
+
|
3971
|
+
return http_info
|
3972
|
+
|
3703
3973
|
def list_tasks_async(self, request):
|
3704
3974
|
"""查询任务列表
|
3705
3975
|
|
@@ -4258,6 +4528,75 @@ class GaussDBforopenGaussAsyncClient(Client):
|
|
4258
4528
|
|
4259
4529
|
return http_info
|
4260
4530
|
|
4531
|
+
def resume_plugin_extensions_async(self, request):
|
4532
|
+
"""配置插件拓展能力
|
4533
|
+
|
4534
|
+
配置插件拓展能力
|
4535
|
+
|
4536
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
4537
|
+
|
4538
|
+
|
4539
|
+
:param request: Request instance for ResumePluginExtensions
|
4540
|
+
:type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.ResumePluginExtensionsRequest`
|
4541
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.ResumePluginExtensionsResponse`
|
4542
|
+
"""
|
4543
|
+
http_info = self._resume_plugin_extensions_http_info(request)
|
4544
|
+
return self._call_api(**http_info)
|
4545
|
+
|
4546
|
+
def resume_plugin_extensions_async_invoker(self, request):
|
4547
|
+
http_info = self._resume_plugin_extensions_http_info(request)
|
4548
|
+
return AsyncInvoker(self, http_info)
|
4549
|
+
|
4550
|
+
def _resume_plugin_extensions_http_info(self, request):
|
4551
|
+
http_info = {
|
4552
|
+
"method": "POST",
|
4553
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/config-plugin-extensions",
|
4554
|
+
"request_type": request.__class__.__name__,
|
4555
|
+
"response_type": "ResumePluginExtensionsResponse"
|
4556
|
+
}
|
4557
|
+
|
4558
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
4559
|
+
|
4560
|
+
cname = None
|
4561
|
+
|
4562
|
+
collection_formats = {}
|
4563
|
+
|
4564
|
+
path_params = {}
|
4565
|
+
if 'instance_id' in local_var_params:
|
4566
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
4567
|
+
|
4568
|
+
query_params = []
|
4569
|
+
|
4570
|
+
header_params = {}
|
4571
|
+
if 'x_language' in local_var_params:
|
4572
|
+
header_params['X-Language'] = local_var_params['x_language']
|
4573
|
+
|
4574
|
+
form_params = {}
|
4575
|
+
|
4576
|
+
body = None
|
4577
|
+
if 'body' in local_var_params:
|
4578
|
+
body = local_var_params['body']
|
4579
|
+
if isinstance(request, SdkStreamRequest):
|
4580
|
+
body = request.get_file_stream()
|
4581
|
+
|
4582
|
+
response_headers = []
|
4583
|
+
|
4584
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
4585
|
+
['application/json;charset=UTF-8'])
|
4586
|
+
|
4587
|
+
auth_settings = []
|
4588
|
+
|
4589
|
+
http_info["cname"] = cname
|
4590
|
+
http_info["collection_formats"] = collection_formats
|
4591
|
+
http_info["path_params"] = path_params
|
4592
|
+
http_info["query_params"] = query_params
|
4593
|
+
http_info["header_params"] = header_params
|
4594
|
+
http_info["post_params"] = form_params
|
4595
|
+
http_info["body"] = body
|
4596
|
+
http_info["response_headers"] = response_headers
|
4597
|
+
|
4598
|
+
return http_info
|
4599
|
+
|
4261
4600
|
def run_instance_action_async(self, request):
|
4262
4601
|
"""CN横向扩容/DN分片扩容/磁盘扩容
|
4263
4602
|
|
@@ -4532,6 +4871,75 @@ class GaussDBforopenGaussAsyncClient(Client):
|
|
4532
4871
|
|
4533
4872
|
return http_info
|
4534
4873
|
|
4874
|
+
def set_kernel_plugin_license_async(self, request):
|
4875
|
+
"""配置插件license
|
4876
|
+
|
4877
|
+
配置插件license
|
4878
|
+
|
4879
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
4880
|
+
|
4881
|
+
|
4882
|
+
:param request: Request instance for SetKernelPluginLicense
|
4883
|
+
:type request: :class:`huaweicloudsdkgaussdbforopengauss.v3.SetKernelPluginLicenseRequest`
|
4884
|
+
:rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.SetKernelPluginLicenseResponse`
|
4885
|
+
"""
|
4886
|
+
http_info = self._set_kernel_plugin_license_http_info(request)
|
4887
|
+
return self._call_api(**http_info)
|
4888
|
+
|
4889
|
+
def set_kernel_plugin_license_async_invoker(self, request):
|
4890
|
+
http_info = self._set_kernel_plugin_license_http_info(request)
|
4891
|
+
return AsyncInvoker(self, http_info)
|
4892
|
+
|
4893
|
+
def _set_kernel_plugin_license_http_info(self, request):
|
4894
|
+
http_info = {
|
4895
|
+
"method": "PUT",
|
4896
|
+
"resource_path": "/v3/{project_id}/instances/{instance_id}/kernel-plugin-license",
|
4897
|
+
"request_type": request.__class__.__name__,
|
4898
|
+
"response_type": "SetKernelPluginLicenseResponse"
|
4899
|
+
}
|
4900
|
+
|
4901
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
4902
|
+
|
4903
|
+
cname = None
|
4904
|
+
|
4905
|
+
collection_formats = {}
|
4906
|
+
|
4907
|
+
path_params = {}
|
4908
|
+
if 'instance_id' in local_var_params:
|
4909
|
+
path_params['instance_id'] = local_var_params['instance_id']
|
4910
|
+
|
4911
|
+
query_params = []
|
4912
|
+
|
4913
|
+
header_params = {}
|
4914
|
+
if 'x_language' in local_var_params:
|
4915
|
+
header_params['X-Language'] = local_var_params['x_language']
|
4916
|
+
|
4917
|
+
form_params = {}
|
4918
|
+
|
4919
|
+
body = None
|
4920
|
+
if 'body' in local_var_params:
|
4921
|
+
body = local_var_params['body']
|
4922
|
+
if isinstance(request, SdkStreamRequest):
|
4923
|
+
body = request.get_file_stream()
|
4924
|
+
|
4925
|
+
response_headers = []
|
4926
|
+
|
4927
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
4928
|
+
['application/json;charset=UTF-8'])
|
4929
|
+
|
4930
|
+
auth_settings = []
|
4931
|
+
|
4932
|
+
http_info["cname"] = cname
|
4933
|
+
http_info["collection_formats"] = collection_formats
|
4934
|
+
http_info["path_params"] = path_params
|
4935
|
+
http_info["query_params"] = query_params
|
4936
|
+
http_info["header_params"] = header_params
|
4937
|
+
http_info["post_params"] = form_params
|
4938
|
+
http_info["body"] = body
|
4939
|
+
http_info["response_headers"] = response_headers
|
4940
|
+
|
4941
|
+
return http_info
|
4942
|
+
|
4535
4943
|
def set_new_backup_policy_async(self, request):
|
4536
4944
|
"""设置自动备份策略
|
4537
4945
|
|