@alicloud/adb20211201 5.1.3 → 5.2.0
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.
- package/dist/client.d.ts +128 -38
- package/dist/client.js +347 -38
- package/dist/client.js.map +1 -1
- package/dist/models/AddKnowledgeTagsRequest.d.ts +41 -0
- package/dist/models/AddKnowledgeTagsRequest.js +62 -0
- package/dist/models/AddKnowledgeTagsRequest.js.map +1 -0
- package/dist/models/AddKnowledgeTagsResponse.d.ts +19 -0
- package/dist/models/AddKnowledgeTagsResponse.js +69 -0
- package/dist/models/AddKnowledgeTagsResponse.js.map +1 -0
- package/dist/models/AddKnowledgeTagsResponseBody.d.ts +121 -0
- package/dist/models/AddKnowledgeTagsResponseBody.js +118 -0
- package/dist/models/AddKnowledgeTagsResponseBody.js.map +1 -0
- package/dist/models/AddKnowledgeUploadUserRequest.d.ts +43 -0
- package/dist/models/AddKnowledgeUploadUserRequest.js +62 -0
- package/dist/models/AddKnowledgeUploadUserRequest.js.map +1 -0
- package/dist/models/AddKnowledgeUploadUserResponse.d.ts +19 -0
- package/dist/models/AddKnowledgeUploadUserResponse.js +69 -0
- package/dist/models/AddKnowledgeUploadUserResponse.js.map +1 -0
- package/dist/models/AddKnowledgeUploadUserResponseBody.d.ts +106 -0
- package/dist/models/AddKnowledgeUploadUserResponseBody.js +114 -0
- package/dist/models/AddKnowledgeUploadUserResponseBody.js.map +1 -0
- package/dist/models/CreateAccountRequest.d.ts +8 -4
- package/dist/models/CreateAccountRequest.js +14 -0
- package/dist/models/CreateAccountRequest.js.map +1 -1
- package/dist/models/CreateAccountShrinkRequest.d.ts +8 -4
- package/dist/models/CreateAccountShrinkRequest.js +8 -0
- package/dist/models/CreateAccountShrinkRequest.js.map +1 -1
- package/dist/models/CreateDbresourceGroupRequest.d.ts +27 -27
- package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +13 -13
- package/dist/models/DeleteAccountRequest.d.ts +7 -6
- package/dist/models/DeleteAccountRequest.js +2 -0
- package/dist/models/DeleteAccountRequest.js.map +1 -1
- package/dist/models/DeleteKnowledgeFileRequest.d.ts +33 -0
- package/dist/models/DeleteKnowledgeFileRequest.js +60 -0
- package/dist/models/DeleteKnowledgeFileRequest.js.map +1 -0
- package/dist/models/DeleteKnowledgeFileResponse.d.ts +19 -0
- package/dist/models/DeleteKnowledgeFileResponse.js +69 -0
- package/dist/models/DeleteKnowledgeFileResponse.js.map +1 -0
- package/dist/models/DeleteKnowledgeFileResponseBody.d.ts +65 -0
- package/dist/models/DeleteKnowledgeFileResponseBody.js +86 -0
- package/dist/models/DeleteKnowledgeFileResponseBody.js.map +1 -0
- package/dist/models/DescribeAccountsRequest.d.ts +7 -4
- package/dist/models/DescribeAccountsRequest.js +2 -0
- package/dist/models/DescribeAccountsRequest.js.map +1 -1
- package/dist/models/DescribeAccountsResponseBody.d.ts +43 -0
- package/dist/models/DescribeAccountsResponseBody.js +84 -1
- package/dist/models/DescribeAccountsResponseBody.js.map +1 -1
- package/dist/models/DescribeDbclusterPerformanceRequest.d.ts +9 -11
- package/dist/models/DescribeDbclusterPerformanceRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterPerformanceResponseBody.d.ts +9 -10
- package/dist/models/DescribeDbclusterPerformanceResponseBody.js.map +1 -1
- package/dist/models/GetTableResponseBody.d.ts +1 -1
- package/dist/models/ListKnowledgeTagsRequest.d.ts +33 -0
- package/dist/models/ListKnowledgeTagsRequest.js +60 -0
- package/dist/models/ListKnowledgeTagsRequest.js.map +1 -0
- package/dist/models/ListKnowledgeTagsResponse.d.ts +19 -0
- package/dist/models/ListKnowledgeTagsResponse.js +69 -0
- package/dist/models/ListKnowledgeTagsResponse.js.map +1 -0
- package/dist/models/ListKnowledgeTagsResponseBody.d.ts +98 -0
- package/dist/models/ListKnowledgeTagsResponseBody.js +112 -0
- package/dist/models/ListKnowledgeTagsResponseBody.js.map +1 -0
- package/dist/models/ListKnowledgeUploadUserRequest.d.ts +33 -0
- package/dist/models/ListKnowledgeUploadUserRequest.js +60 -0
- package/dist/models/ListKnowledgeUploadUserRequest.js.map +1 -0
- package/dist/models/ListKnowledgeUploadUserResponse.d.ts +19 -0
- package/dist/models/ListKnowledgeUploadUserResponse.js +69 -0
- package/dist/models/ListKnowledgeUploadUserResponse.js.map +1 -0
- package/dist/models/ListKnowledgeUploadUserResponseBody.d.ts +70 -0
- package/dist/models/ListKnowledgeUploadUserResponseBody.js +91 -0
- package/dist/models/ListKnowledgeUploadUserResponseBody.js.map +1 -0
- package/dist/models/ModifyAccountDescriptionRequest.d.ts +11 -11
- package/dist/models/ModifyAccountDescriptionRequest.js +2 -0
- package/dist/models/ModifyAccountDescriptionRequest.js.map +1 -1
- package/dist/models/ModifyAccountPrivilegesRequest.d.ts +13 -10
- package/dist/models/ModifyAccountPrivilegesRequest.js +14 -0
- package/dist/models/ModifyAccountPrivilegesRequest.js.map +1 -1
- package/dist/models/ModifyAccountPrivilegesShrinkRequest.d.ts +7 -4
- package/dist/models/ModifyAccountPrivilegesShrinkRequest.js +8 -0
- package/dist/models/ModifyAccountPrivilegesShrinkRequest.js.map +1 -1
- package/dist/models/ModifyAuditLogConfigRequest.d.ts +11 -13
- package/dist/models/ModifyAuditLogConfigRequest.js.map +1 -1
- package/dist/models/ModifyAuditLogConfigResponseBody.d.ts +3 -4
- package/dist/models/ModifyAuditLogConfigResponseBody.js.map +1 -1
- package/dist/models/ModifyBackupPolicyRequest.d.ts +21 -25
- package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
- package/dist/models/ModifyDbresourceGroupRequest.d.ts +31 -31
- package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +19 -19
- package/dist/models/RemoveKnowledgeTagsRequest.d.ts +41 -0
- package/dist/models/RemoveKnowledgeTagsRequest.js +62 -0
- package/dist/models/RemoveKnowledgeTagsRequest.js.map +1 -0
- package/dist/models/RemoveKnowledgeTagsResponse.d.ts +19 -0
- package/dist/models/RemoveKnowledgeTagsResponse.js +69 -0
- package/dist/models/RemoveKnowledgeTagsResponse.js.map +1 -0
- package/dist/models/RemoveKnowledgeTagsResponseBody.d.ts +73 -0
- package/dist/models/RemoveKnowledgeTagsResponseBody.js +88 -0
- package/dist/models/RemoveKnowledgeTagsResponseBody.js.map +1 -0
- package/dist/models/ResetAccountPasswordRequest.d.ts +14 -15
- package/dist/models/ResetAccountPasswordRequest.js +2 -0
- package/dist/models/ResetAccountPasswordRequest.js.map +1 -1
- package/dist/models/model.d.ts +30 -0
- package/dist/models/model.js +88 -28
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +390 -38
- package/src/models/AddKnowledgeTagsRequest.ts +58 -0
- package/src/models/AddKnowledgeTagsResponse.ts +40 -0
- package/src/models/AddKnowledgeTagsResponseBody.ts +176 -0
- package/src/models/AddKnowledgeUploadUserRequest.ts +60 -0
- package/src/models/AddKnowledgeUploadUserResponse.ts +40 -0
- package/src/models/AddKnowledgeUploadUserResponseBody.ts +157 -0
- package/src/models/CreateAccountRequest.ts +22 -4
- package/src/models/CreateAccountShrinkRequest.ts +16 -4
- package/src/models/CreateDbresourceGroupRequest.ts +27 -27
- package/src/models/CreateDbresourceGroupShrinkRequest.ts +13 -13
- package/src/models/DeleteAccountRequest.ts +9 -6
- package/src/models/DeleteKnowledgeFileRequest.ts +48 -0
- package/src/models/DeleteKnowledgeFileResponse.ts +40 -0
- package/src/models/DeleteKnowledgeFileResponseBody.ts +97 -0
- package/src/models/DescribeAccountsRequest.ts +9 -4
- package/src/models/DescribeAccountsResponseBody.ts +99 -0
- package/src/models/DescribeDbclusterPerformanceRequest.ts +9 -11
- package/src/models/DescribeDbclusterPerformanceResponseBody.ts +9 -10
- package/src/models/GetTableResponseBody.ts +1 -1
- package/src/models/ListKnowledgeTagsRequest.ts +48 -0
- package/src/models/ListKnowledgeTagsResponse.ts +40 -0
- package/src/models/ListKnowledgeTagsResponseBody.ts +147 -0
- package/src/models/ListKnowledgeUploadUserRequest.ts +48 -0
- package/src/models/ListKnowledgeUploadUserResponse.ts +40 -0
- package/src/models/ListKnowledgeUploadUserResponseBody.ts +107 -0
- package/src/models/ModifyAccountDescriptionRequest.ts +13 -11
- package/src/models/ModifyAccountPrivilegesRequest.ts +27 -10
- package/src/models/ModifyAccountPrivilegesShrinkRequest.ts +15 -4
- package/src/models/ModifyAuditLogConfigRequest.ts +11 -13
- package/src/models/ModifyAuditLogConfigResponseBody.ts +3 -4
- package/src/models/ModifyBackupPolicyRequest.ts +21 -25
- package/src/models/ModifyDbresourceGroupRequest.ts +31 -31
- package/src/models/ModifyDbresourceGroupShrinkRequest.ts +19 -19
- package/src/models/RemoveKnowledgeTagsRequest.ts +58 -0
- package/src/models/RemoveKnowledgeTagsResponse.ts +40 -0
- package/src/models/RemoveKnowledgeTagsResponseBody.ts +107 -0
- package/src/models/ResetAccountPasswordRequest.ts +16 -15
- package/src/models/model.ts +30 -0
package/dist/client.js
CHANGED
|
@@ -164,6 +164,96 @@ class Client extends openapi_core_1.default {
|
|
|
164
164
|
let runtime = new $dara.RuntimeOptions({});
|
|
165
165
|
return await this.addKnowledgeFileWithOptions(request, runtime);
|
|
166
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* Adds tags to a knowledge base document.
|
|
169
|
+
*
|
|
170
|
+
* @param request - AddKnowledgeTagsRequest
|
|
171
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
172
|
+
* @returns AddKnowledgeTagsResponse
|
|
173
|
+
*/
|
|
174
|
+
async addKnowledgeTagsWithOptions(request, runtime) {
|
|
175
|
+
request.validate();
|
|
176
|
+
let query = {};
|
|
177
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
178
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
179
|
+
}
|
|
180
|
+
if (!$dara.isNull(request.fileLocation)) {
|
|
181
|
+
query["FileLocation"] = request.fileLocation;
|
|
182
|
+
}
|
|
183
|
+
if (!$dara.isNull(request.tags)) {
|
|
184
|
+
query["Tags"] = request.tags;
|
|
185
|
+
}
|
|
186
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
187
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
188
|
+
});
|
|
189
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
190
|
+
action: "AddKnowledgeTags",
|
|
191
|
+
version: "2021-12-01",
|
|
192
|
+
protocol: "HTTPS",
|
|
193
|
+
pathname: "/",
|
|
194
|
+
method: "POST",
|
|
195
|
+
authType: "AK",
|
|
196
|
+
style: "RPC",
|
|
197
|
+
reqBodyType: "formData",
|
|
198
|
+
bodyType: "json",
|
|
199
|
+
});
|
|
200
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddKnowledgeTagsResponse({}));
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Adds tags to a knowledge base document.
|
|
204
|
+
*
|
|
205
|
+
* @param request - AddKnowledgeTagsRequest
|
|
206
|
+
* @returns AddKnowledgeTagsResponse
|
|
207
|
+
*/
|
|
208
|
+
async addKnowledgeTags(request) {
|
|
209
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
210
|
+
return await this.addKnowledgeTagsWithOptions(request, runtime);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Adds authorized users to a knowledge base document.
|
|
214
|
+
*
|
|
215
|
+
* @param request - AddKnowledgeUploadUserRequest
|
|
216
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
217
|
+
* @returns AddKnowledgeUploadUserResponse
|
|
218
|
+
*/
|
|
219
|
+
async addKnowledgeUploadUserWithOptions(request, runtime) {
|
|
220
|
+
request.validate();
|
|
221
|
+
let query = {};
|
|
222
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
223
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
224
|
+
}
|
|
225
|
+
if (!$dara.isNull(request.fileLocation)) {
|
|
226
|
+
query["FileLocation"] = request.fileLocation;
|
|
227
|
+
}
|
|
228
|
+
if (!$dara.isNull(request.users)) {
|
|
229
|
+
query["Users"] = request.users;
|
|
230
|
+
}
|
|
231
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
232
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
233
|
+
});
|
|
234
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
235
|
+
action: "AddKnowledgeUploadUser",
|
|
236
|
+
version: "2021-12-01",
|
|
237
|
+
protocol: "HTTPS",
|
|
238
|
+
pathname: "/",
|
|
239
|
+
method: "POST",
|
|
240
|
+
authType: "AK",
|
|
241
|
+
style: "RPC",
|
|
242
|
+
reqBodyType: "formData",
|
|
243
|
+
bodyType: "json",
|
|
244
|
+
});
|
|
245
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddKnowledgeUploadUserResponse({}));
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Adds authorized users to a knowledge base document.
|
|
249
|
+
*
|
|
250
|
+
* @param request - AddKnowledgeUploadUserRequest
|
|
251
|
+
* @returns AddKnowledgeUploadUserResponse
|
|
252
|
+
*/
|
|
253
|
+
async addKnowledgeUploadUser(request) {
|
|
254
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
255
|
+
return await this.addKnowledgeUploadUserWithOptions(request, runtime);
|
|
256
|
+
}
|
|
167
257
|
/**
|
|
168
258
|
* Allocates a public connection address for a cluster.
|
|
169
259
|
*
|
|
@@ -926,7 +1016,7 @@ class Client extends openapi_core_1.default {
|
|
|
926
1016
|
* Creates a database account for a cluster.
|
|
927
1017
|
*
|
|
928
1018
|
* @remarks
|
|
929
|
-
* For information about the endpoint of
|
|
1019
|
+
* For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
930
1020
|
*
|
|
931
1021
|
* @param tmpReq - CreateAccountRequest
|
|
932
1022
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -936,6 +1026,12 @@ class Client extends openapi_core_1.default {
|
|
|
936
1026
|
tmpReq.validate();
|
|
937
1027
|
let request = new $_model.CreateAccountShrinkRequest({});
|
|
938
1028
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
1029
|
+
if (!$dara.isNull(tmpReq.promqlInsertPrivileges)) {
|
|
1030
|
+
request.promqlInsertPrivilegesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.promqlInsertPrivileges, "PromqlInsertPrivileges", "json");
|
|
1031
|
+
}
|
|
1032
|
+
if (!$dara.isNull(tmpReq.promqlSelectPrivileges)) {
|
|
1033
|
+
request.promqlSelectPrivilegesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.promqlSelectPrivileges, "PromqlSelectPrivileges", "json");
|
|
1034
|
+
}
|
|
939
1035
|
if (!$dara.isNull(tmpReq.ramUserList)) {
|
|
940
1036
|
request.ramUserListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ramUserList, "RamUserList", "json");
|
|
941
1037
|
}
|
|
@@ -958,9 +1054,21 @@ class Client extends openapi_core_1.default {
|
|
|
958
1054
|
if (!$dara.isNull(request.engine)) {
|
|
959
1055
|
query["Engine"] = request.engine;
|
|
960
1056
|
}
|
|
1057
|
+
if (!$dara.isNull(request.promqlInsertPrivilegesShrink)) {
|
|
1058
|
+
query["PromqlInsertPrivileges"] = request.promqlInsertPrivilegesShrink;
|
|
1059
|
+
}
|
|
1060
|
+
if (!$dara.isNull(request.promqlSelectNodePercentage)) {
|
|
1061
|
+
query["PromqlSelectNodePercentage"] = request.promqlSelectNodePercentage;
|
|
1062
|
+
}
|
|
1063
|
+
if (!$dara.isNull(request.promqlSelectPrivilegesShrink)) {
|
|
1064
|
+
query["PromqlSelectPrivileges"] = request.promqlSelectPrivilegesShrink;
|
|
1065
|
+
}
|
|
961
1066
|
if (!$dara.isNull(request.ramUserListShrink)) {
|
|
962
1067
|
query["RamUserList"] = request.ramUserListShrink;
|
|
963
1068
|
}
|
|
1069
|
+
if (!$dara.isNull(request.resourceGroupName)) {
|
|
1070
|
+
query["ResourceGroupName"] = request.resourceGroupName;
|
|
1071
|
+
}
|
|
964
1072
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
965
1073
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
966
1074
|
});
|
|
@@ -981,7 +1089,7 @@ class Client extends openapi_core_1.default {
|
|
|
981
1089
|
* Creates a database account for a cluster.
|
|
982
1090
|
*
|
|
983
1091
|
* @remarks
|
|
984
|
-
* For information about the endpoint of
|
|
1092
|
+
* For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
985
1093
|
*
|
|
986
1094
|
* @param request - CreateAccountRequest
|
|
987
1095
|
* @returns CreateAccountResponse
|
|
@@ -1764,7 +1872,7 @@ class Client extends openapi_core_1.default {
|
|
|
1764
1872
|
* Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
1765
1873
|
*
|
|
1766
1874
|
* @remarks
|
|
1767
|
-
* For the
|
|
1875
|
+
* For the endpoints of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
1768
1876
|
*
|
|
1769
1877
|
* @param tmpReq - CreateDBResourceGroupRequest
|
|
1770
1878
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1882,7 +1990,7 @@ class Client extends openapi_core_1.default {
|
|
|
1882
1990
|
* Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
1883
1991
|
*
|
|
1884
1992
|
* @remarks
|
|
1885
|
-
* For the
|
|
1993
|
+
* For the endpoints of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
1886
1994
|
*
|
|
1887
1995
|
* @param request - CreateDBResourceGroupRequest
|
|
1888
1996
|
* @returns CreateDBResourceGroupResponse
|
|
@@ -2404,10 +2512,10 @@ class Client extends openapi_core_1.default {
|
|
|
2404
2512
|
return await this.createSparkTemplateWithOptions(request, runtime);
|
|
2405
2513
|
}
|
|
2406
2514
|
/**
|
|
2407
|
-
* Deletes a database account from
|
|
2515
|
+
* Deletes a database account from a cluster.
|
|
2408
2516
|
*
|
|
2409
2517
|
* @remarks
|
|
2410
|
-
* For
|
|
2518
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
2411
2519
|
*
|
|
2412
2520
|
* @param request - DeleteAccountRequest
|
|
2413
2521
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2425,6 +2533,9 @@ class Client extends openapi_core_1.default {
|
|
|
2425
2533
|
if (!$dara.isNull(request.engine)) {
|
|
2426
2534
|
query["Engine"] = request.engine;
|
|
2427
2535
|
}
|
|
2536
|
+
if (!$dara.isNull(request.resourceGroupName)) {
|
|
2537
|
+
query["ResourceGroupName"] = request.resourceGroupName;
|
|
2538
|
+
}
|
|
2428
2539
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2429
2540
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2430
2541
|
});
|
|
@@ -2442,10 +2553,10 @@ class Client extends openapi_core_1.default {
|
|
|
2442
2553
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAccountResponse({}));
|
|
2443
2554
|
}
|
|
2444
2555
|
/**
|
|
2445
|
-
* Deletes a database account from
|
|
2556
|
+
* Deletes a database account from a cluster.
|
|
2446
2557
|
*
|
|
2447
2558
|
* @remarks
|
|
2448
|
-
* For
|
|
2559
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
2449
2560
|
*
|
|
2450
2561
|
* @param request - DeleteAccountRequest
|
|
2451
2562
|
* @returns DeleteAccountResponse
|
|
@@ -2868,6 +2979,48 @@ class Client extends openapi_core_1.default {
|
|
|
2868
2979
|
let runtime = new $dara.RuntimeOptions({});
|
|
2869
2980
|
return await this.deleteFormationCrawlerWithOptions(request, runtime);
|
|
2870
2981
|
}
|
|
2982
|
+
/**
|
|
2983
|
+
* Deletes a knowledge base document.
|
|
2984
|
+
*
|
|
2985
|
+
* @param request - DeleteKnowledgeFileRequest
|
|
2986
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2987
|
+
* @returns DeleteKnowledgeFileResponse
|
|
2988
|
+
*/
|
|
2989
|
+
async deleteKnowledgeFileWithOptions(request, runtime) {
|
|
2990
|
+
request.validate();
|
|
2991
|
+
let query = {};
|
|
2992
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
2993
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
2994
|
+
}
|
|
2995
|
+
if (!$dara.isNull(request.fileLocation)) {
|
|
2996
|
+
query["FileLocation"] = request.fileLocation;
|
|
2997
|
+
}
|
|
2998
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2999
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3000
|
+
});
|
|
3001
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3002
|
+
action: "DeleteKnowledgeFile",
|
|
3003
|
+
version: "2021-12-01",
|
|
3004
|
+
protocol: "HTTPS",
|
|
3005
|
+
pathname: "/",
|
|
3006
|
+
method: "POST",
|
|
3007
|
+
authType: "AK",
|
|
3008
|
+
style: "RPC",
|
|
3009
|
+
reqBodyType: "formData",
|
|
3010
|
+
bodyType: "json",
|
|
3011
|
+
});
|
|
3012
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteKnowledgeFileResponse({}));
|
|
3013
|
+
}
|
|
3014
|
+
/**
|
|
3015
|
+
* Deletes a knowledge base document.
|
|
3016
|
+
*
|
|
3017
|
+
* @param request - DeleteKnowledgeFileRequest
|
|
3018
|
+
* @returns DeleteKnowledgeFileResponse
|
|
3019
|
+
*/
|
|
3020
|
+
async deleteKnowledgeFile(request) {
|
|
3021
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3022
|
+
return await this.deleteKnowledgeFileWithOptions(request, runtime);
|
|
3023
|
+
}
|
|
2871
3024
|
/**
|
|
2872
3025
|
* Deletes a lake storage.
|
|
2873
3026
|
*
|
|
@@ -3485,7 +3638,7 @@ class Client extends openapi_core_1.default {
|
|
|
3485
3638
|
* Queries the database accounts of a cluster.
|
|
3486
3639
|
*
|
|
3487
3640
|
* @remarks
|
|
3488
|
-
* For the
|
|
3641
|
+
* For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
3489
3642
|
*
|
|
3490
3643
|
* @param request - DescribeAccountsRequest
|
|
3491
3644
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3506,6 +3659,9 @@ class Client extends openapi_core_1.default {
|
|
|
3506
3659
|
if (!$dara.isNull(request.ownerId)) {
|
|
3507
3660
|
query["OwnerId"] = request.ownerId;
|
|
3508
3661
|
}
|
|
3662
|
+
if (!$dara.isNull(request.resourceGroupName)) {
|
|
3663
|
+
query["ResourceGroupName"] = request.resourceGroupName;
|
|
3664
|
+
}
|
|
3509
3665
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3510
3666
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3511
3667
|
});
|
|
@@ -3526,7 +3682,7 @@ class Client extends openapi_core_1.default {
|
|
|
3526
3682
|
* Queries the database accounts of a cluster.
|
|
3527
3683
|
*
|
|
3528
3684
|
* @remarks
|
|
3529
|
-
* For the
|
|
3685
|
+
* For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
3530
3686
|
*
|
|
3531
3687
|
* @param request - DescribeAccountsRequest
|
|
3532
3688
|
* @returns DescribeAccountsResponse
|
|
@@ -5392,10 +5548,10 @@ class Client extends openapi_core_1.default {
|
|
|
5392
5548
|
return await this.describeDBClusterHealthStatusWithOptions(request, runtime);
|
|
5393
5549
|
}
|
|
5394
5550
|
/**
|
|
5395
|
-
*
|
|
5551
|
+
* Queries the performance data of a specified cluster.
|
|
5396
5552
|
*
|
|
5397
5553
|
* @remarks
|
|
5398
|
-
* For the
|
|
5554
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
5399
5555
|
*
|
|
5400
5556
|
* @param request - DescribeDBClusterPerformanceRequest
|
|
5401
5557
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5439,10 +5595,10 @@ class Client extends openapi_core_1.default {
|
|
|
5439
5595
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterPerformanceResponse({}));
|
|
5440
5596
|
}
|
|
5441
5597
|
/**
|
|
5442
|
-
*
|
|
5598
|
+
* Queries the performance data of a specified cluster.
|
|
5443
5599
|
*
|
|
5444
5600
|
* @remarks
|
|
5445
|
-
* For the
|
|
5601
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
5446
5602
|
*
|
|
5447
5603
|
* @param request - DescribeDBClusterPerformanceRequest
|
|
5448
5604
|
* @returns DescribeDBClusterPerformanceResponse
|
|
@@ -10576,8 +10732,8 @@ class Client extends openapi_core_1.default {
|
|
|
10576
10732
|
* Retrieves table information.
|
|
10577
10733
|
*
|
|
10578
10734
|
* @remarks
|
|
10579
|
-
* - Public endpoint of
|
|
10580
|
-
* - VPC endpoint of
|
|
10735
|
+
* - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
|
|
10736
|
+
* - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
|
|
10581
10737
|
*
|
|
10582
10738
|
* @param request - GetTableRequest
|
|
10583
10739
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10618,8 +10774,8 @@ class Client extends openapi_core_1.default {
|
|
|
10618
10774
|
* Retrieves table information.
|
|
10619
10775
|
*
|
|
10620
10776
|
* @remarks
|
|
10621
|
-
* - Public endpoint of
|
|
10622
|
-
* - VPC endpoint of
|
|
10777
|
+
* - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
|
|
10778
|
+
* - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
|
|
10623
10779
|
*
|
|
10624
10780
|
* @param request - GetTableRequest
|
|
10625
10781
|
* @returns GetTableResponse
|
|
@@ -11259,6 +11415,90 @@ class Client extends openapi_core_1.default {
|
|
|
11259
11415
|
let runtime = new $dara.RuntimeOptions({});
|
|
11260
11416
|
return await this.listApsWebhookWithOptions(request, runtime);
|
|
11261
11417
|
}
|
|
11418
|
+
/**
|
|
11419
|
+
* Queries the tags of a knowledge base document.
|
|
11420
|
+
*
|
|
11421
|
+
* @param request - ListKnowledgeTagsRequest
|
|
11422
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11423
|
+
* @returns ListKnowledgeTagsResponse
|
|
11424
|
+
*/
|
|
11425
|
+
async listKnowledgeTagsWithOptions(request, runtime) {
|
|
11426
|
+
request.validate();
|
|
11427
|
+
let query = {};
|
|
11428
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
11429
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
11430
|
+
}
|
|
11431
|
+
if (!$dara.isNull(request.fileLocation)) {
|
|
11432
|
+
query["FileLocation"] = request.fileLocation;
|
|
11433
|
+
}
|
|
11434
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11435
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11436
|
+
});
|
|
11437
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11438
|
+
action: "ListKnowledgeTags",
|
|
11439
|
+
version: "2021-12-01",
|
|
11440
|
+
protocol: "HTTPS",
|
|
11441
|
+
pathname: "/",
|
|
11442
|
+
method: "POST",
|
|
11443
|
+
authType: "AK",
|
|
11444
|
+
style: "RPC",
|
|
11445
|
+
reqBodyType: "formData",
|
|
11446
|
+
bodyType: "json",
|
|
11447
|
+
});
|
|
11448
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListKnowledgeTagsResponse({}));
|
|
11449
|
+
}
|
|
11450
|
+
/**
|
|
11451
|
+
* Queries the tags of a knowledge base document.
|
|
11452
|
+
*
|
|
11453
|
+
* @param request - ListKnowledgeTagsRequest
|
|
11454
|
+
* @returns ListKnowledgeTagsResponse
|
|
11455
|
+
*/
|
|
11456
|
+
async listKnowledgeTags(request) {
|
|
11457
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11458
|
+
return await this.listKnowledgeTagsWithOptions(request, runtime);
|
|
11459
|
+
}
|
|
11460
|
+
/**
|
|
11461
|
+
* Queries the authorized users of a knowledge base document.
|
|
11462
|
+
*
|
|
11463
|
+
* @param request - ListKnowledgeUploadUserRequest
|
|
11464
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11465
|
+
* @returns ListKnowledgeUploadUserResponse
|
|
11466
|
+
*/
|
|
11467
|
+
async listKnowledgeUploadUserWithOptions(request, runtime) {
|
|
11468
|
+
request.validate();
|
|
11469
|
+
let query = {};
|
|
11470
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
11471
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
11472
|
+
}
|
|
11473
|
+
if (!$dara.isNull(request.fileLocation)) {
|
|
11474
|
+
query["FileLocation"] = request.fileLocation;
|
|
11475
|
+
}
|
|
11476
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11477
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11478
|
+
});
|
|
11479
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11480
|
+
action: "ListKnowledgeUploadUser",
|
|
11481
|
+
version: "2021-12-01",
|
|
11482
|
+
protocol: "HTTPS",
|
|
11483
|
+
pathname: "/",
|
|
11484
|
+
method: "POST",
|
|
11485
|
+
authType: "AK",
|
|
11486
|
+
style: "RPC",
|
|
11487
|
+
reqBodyType: "formData",
|
|
11488
|
+
bodyType: "json",
|
|
11489
|
+
});
|
|
11490
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListKnowledgeUploadUserResponse({}));
|
|
11491
|
+
}
|
|
11492
|
+
/**
|
|
11493
|
+
* Queries the authorized users of a knowledge base document.
|
|
11494
|
+
*
|
|
11495
|
+
* @param request - ListKnowledgeUploadUserRequest
|
|
11496
|
+
* @returns ListKnowledgeUploadUserResponse
|
|
11497
|
+
*/
|
|
11498
|
+
async listKnowledgeUploadUser(request) {
|
|
11499
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11500
|
+
return await this.listKnowledgeUploadUserWithOptions(request, runtime);
|
|
11501
|
+
}
|
|
11262
11502
|
/**
|
|
11263
11503
|
* Queries a list of lake storages.
|
|
11264
11504
|
*
|
|
@@ -11807,10 +12047,10 @@ class Client extends openapi_core_1.default {
|
|
|
11807
12047
|
return await this.loadSampleDataSetWithOptions(request, runtime);
|
|
11808
12048
|
}
|
|
11809
12049
|
/**
|
|
11810
|
-
* Modifies the description of a database account for
|
|
12050
|
+
* Modifies the description of a database account for a specified cluster.
|
|
11811
12051
|
*
|
|
11812
12052
|
* @remarks
|
|
11813
|
-
* For information about the
|
|
12053
|
+
* For information about the service registration of the current service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
|
|
11814
12054
|
*
|
|
11815
12055
|
* @param request - ModifyAccountDescriptionRequest
|
|
11816
12056
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11831,6 +12071,9 @@ class Client extends openapi_core_1.default {
|
|
|
11831
12071
|
if (!$dara.isNull(request.engine)) {
|
|
11832
12072
|
query["Engine"] = request.engine;
|
|
11833
12073
|
}
|
|
12074
|
+
if (!$dara.isNull(request.resourceGroupName)) {
|
|
12075
|
+
query["ResourceGroupName"] = request.resourceGroupName;
|
|
12076
|
+
}
|
|
11834
12077
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11835
12078
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11836
12079
|
});
|
|
@@ -11848,10 +12091,10 @@ class Client extends openapi_core_1.default {
|
|
|
11848
12091
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAccountDescriptionResponse({}));
|
|
11849
12092
|
}
|
|
11850
12093
|
/**
|
|
11851
|
-
* Modifies the description of a database account for
|
|
12094
|
+
* Modifies the description of a database account for a specified cluster.
|
|
11852
12095
|
*
|
|
11853
12096
|
* @remarks
|
|
11854
|
-
* For information about the
|
|
12097
|
+
* For information about the service registration of the current service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
|
|
11855
12098
|
*
|
|
11856
12099
|
* @param request - ModifyAccountDescriptionRequest
|
|
11857
12100
|
* @returns ModifyAccountDescriptionResponse
|
|
@@ -11864,7 +12107,7 @@ class Client extends openapi_core_1.default {
|
|
|
11864
12107
|
* Modifies the permissions of a database account.
|
|
11865
12108
|
*
|
|
11866
12109
|
* @remarks
|
|
11867
|
-
* For
|
|
12110
|
+
* For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
11868
12111
|
*
|
|
11869
12112
|
* @param tmpReq - ModifyAccountPrivilegesRequest
|
|
11870
12113
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11877,6 +12120,12 @@ class Client extends openapi_core_1.default {
|
|
|
11877
12120
|
if (!$dara.isNull(tmpReq.accountPrivileges)) {
|
|
11878
12121
|
request.accountPrivilegesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.accountPrivileges, "AccountPrivileges", "json");
|
|
11879
12122
|
}
|
|
12123
|
+
if (!$dara.isNull(tmpReq.promqlInsertPrivileges)) {
|
|
12124
|
+
request.promqlInsertPrivilegesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.promqlInsertPrivileges, "PromqlInsertPrivileges", "json");
|
|
12125
|
+
}
|
|
12126
|
+
if (!$dara.isNull(tmpReq.promqlSelectPrivileges)) {
|
|
12127
|
+
request.promqlSelectPrivilegesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.promqlSelectPrivileges, "PromqlSelectPrivileges", "json");
|
|
12128
|
+
}
|
|
11880
12129
|
let query = {};
|
|
11881
12130
|
if (!$dara.isNull(request.accountName)) {
|
|
11882
12131
|
query["AccountName"] = request.accountName;
|
|
@@ -11887,9 +12136,21 @@ class Client extends openapi_core_1.default {
|
|
|
11887
12136
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
11888
12137
|
query["DBClusterId"] = request.DBClusterId;
|
|
11889
12138
|
}
|
|
12139
|
+
if (!$dara.isNull(request.promqlInsertPrivilegesShrink)) {
|
|
12140
|
+
query["PromqlInsertPrivileges"] = request.promqlInsertPrivilegesShrink;
|
|
12141
|
+
}
|
|
12142
|
+
if (!$dara.isNull(request.promqlSelectNodePercentage)) {
|
|
12143
|
+
query["PromqlSelectNodePercentage"] = request.promqlSelectNodePercentage;
|
|
12144
|
+
}
|
|
12145
|
+
if (!$dara.isNull(request.promqlSelectPrivilegesShrink)) {
|
|
12146
|
+
query["PromqlSelectPrivileges"] = request.promqlSelectPrivilegesShrink;
|
|
12147
|
+
}
|
|
11890
12148
|
if (!$dara.isNull(request.regionId)) {
|
|
11891
12149
|
query["RegionId"] = request.regionId;
|
|
11892
12150
|
}
|
|
12151
|
+
if (!$dara.isNull(request.resourceGroupName)) {
|
|
12152
|
+
query["ResourceGroupName"] = request.resourceGroupName;
|
|
12153
|
+
}
|
|
11893
12154
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11894
12155
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11895
12156
|
});
|
|
@@ -11910,7 +12171,7 @@ class Client extends openapi_core_1.default {
|
|
|
11910
12171
|
* Modifies the permissions of a database account.
|
|
11911
12172
|
*
|
|
11912
12173
|
* @remarks
|
|
11913
|
-
* For
|
|
12174
|
+
* For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
11914
12175
|
*
|
|
11915
12176
|
* @param request - ModifyAccountPrivilegesRequest
|
|
11916
12177
|
* @returns ModifyAccountPrivilegesResponse
|
|
@@ -12201,10 +12462,10 @@ class Client extends openapi_core_1.default {
|
|
|
12201
12462
|
return await this.modifyApsWorkloadNameWithOptions(request, runtime);
|
|
12202
12463
|
}
|
|
12203
12464
|
/**
|
|
12204
|
-
* Modifies the SQL audit settings of
|
|
12465
|
+
* Modifies the SQL audit log settings of a cluster.
|
|
12205
12466
|
*
|
|
12206
12467
|
* @remarks
|
|
12207
|
-
* For
|
|
12468
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
12208
12469
|
*
|
|
12209
12470
|
* @param request - ModifyAuditLogConfigRequest
|
|
12210
12471
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12254,10 +12515,10 @@ class Client extends openapi_core_1.default {
|
|
|
12254
12515
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAuditLogConfigResponse({}));
|
|
12255
12516
|
}
|
|
12256
12517
|
/**
|
|
12257
|
-
* Modifies the SQL audit settings of
|
|
12518
|
+
* Modifies the SQL audit log settings of a cluster.
|
|
12258
12519
|
*
|
|
12259
12520
|
* @remarks
|
|
12260
|
-
* For
|
|
12521
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
12261
12522
|
*
|
|
12262
12523
|
* @param request - ModifyAuditLogConfigRequest
|
|
12263
12524
|
* @returns ModifyAuditLogConfigResponse
|
|
@@ -12330,10 +12591,10 @@ class Client extends openapi_core_1.default {
|
|
|
12330
12591
|
return await this.modifyAutoRenewalAttributeWithOptions(request, runtime);
|
|
12331
12592
|
}
|
|
12332
12593
|
/**
|
|
12333
|
-
* Modifies the backup policy of
|
|
12594
|
+
* Modifies the backup policy of a cluster.
|
|
12334
12595
|
*
|
|
12335
12596
|
* @remarks
|
|
12336
|
-
* For information about the
|
|
12597
|
+
* For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
12337
12598
|
*
|
|
12338
12599
|
* @param request - ModifyBackupPolicyRequest
|
|
12339
12600
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12389,10 +12650,10 @@ class Client extends openapi_core_1.default {
|
|
|
12389
12650
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyBackupPolicyResponse({}));
|
|
12390
12651
|
}
|
|
12391
12652
|
/**
|
|
12392
|
-
* Modifies the backup policy of
|
|
12653
|
+
* Modifies the backup policy of a cluster.
|
|
12393
12654
|
*
|
|
12394
12655
|
* @remarks
|
|
12395
|
-
* For information about the
|
|
12656
|
+
* For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
12396
12657
|
*
|
|
12397
12658
|
* @param request - ModifyBackupPolicyRequest
|
|
12398
12659
|
* @returns ModifyBackupPolicyResponse
|
|
@@ -12882,7 +13143,7 @@ class Client extends openapi_core_1.default {
|
|
|
12882
13143
|
* Changes the resource group of a cluster.
|
|
12883
13144
|
*
|
|
12884
13145
|
* @remarks
|
|
12885
|
-
* For
|
|
13146
|
+
* For the endpoint of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
12886
13147
|
*
|
|
12887
13148
|
* @param tmpReq - ModifyDBResourceGroupRequest
|
|
12888
13149
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12994,7 +13255,7 @@ class Client extends openapi_core_1.default {
|
|
|
12994
13255
|
* Changes the resource group of a cluster.
|
|
12995
13256
|
*
|
|
12996
13257
|
* @remarks
|
|
12997
|
-
* For
|
|
13258
|
+
* For the endpoint of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
12998
13259
|
*
|
|
12999
13260
|
* @param request - ModifyDBResourceGroupRequest
|
|
13000
13261
|
* @returns ModifyDBResourceGroupResponse
|
|
@@ -13791,6 +14052,51 @@ class Client extends openapi_core_1.default {
|
|
|
13791
14052
|
let runtime = new $dara.RuntimeOptions({});
|
|
13792
14053
|
return await this.releaseClusterPublicConnectionWithOptions(request, runtime);
|
|
13793
14054
|
}
|
|
14055
|
+
/**
|
|
14056
|
+
* Deletes tags from a knowledge base document.
|
|
14057
|
+
*
|
|
14058
|
+
* @param request - RemoveKnowledgeTagsRequest
|
|
14059
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14060
|
+
* @returns RemoveKnowledgeTagsResponse
|
|
14061
|
+
*/
|
|
14062
|
+
async removeKnowledgeTagsWithOptions(request, runtime) {
|
|
14063
|
+
request.validate();
|
|
14064
|
+
let query = {};
|
|
14065
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
14066
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
14067
|
+
}
|
|
14068
|
+
if (!$dara.isNull(request.fileLocation)) {
|
|
14069
|
+
query["FileLocation"] = request.fileLocation;
|
|
14070
|
+
}
|
|
14071
|
+
if (!$dara.isNull(request.tags)) {
|
|
14072
|
+
query["Tags"] = request.tags;
|
|
14073
|
+
}
|
|
14074
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
14075
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
14076
|
+
});
|
|
14077
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
14078
|
+
action: "RemoveKnowledgeTags",
|
|
14079
|
+
version: "2021-12-01",
|
|
14080
|
+
protocol: "HTTPS",
|
|
14081
|
+
pathname: "/",
|
|
14082
|
+
method: "POST",
|
|
14083
|
+
authType: "AK",
|
|
14084
|
+
style: "RPC",
|
|
14085
|
+
reqBodyType: "formData",
|
|
14086
|
+
bodyType: "json",
|
|
14087
|
+
});
|
|
14088
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveKnowledgeTagsResponse({}));
|
|
14089
|
+
}
|
|
14090
|
+
/**
|
|
14091
|
+
* Deletes tags from a knowledge base document.
|
|
14092
|
+
*
|
|
14093
|
+
* @param request - RemoveKnowledgeTagsRequest
|
|
14094
|
+
* @returns RemoveKnowledgeTagsResponse
|
|
14095
|
+
*/
|
|
14096
|
+
async removeKnowledgeTags(request) {
|
|
14097
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
14098
|
+
return await this.removeKnowledgeTagsWithOptions(request, runtime);
|
|
14099
|
+
}
|
|
13794
14100
|
/**
|
|
13795
14101
|
* Modifies the name of a semantic view.
|
|
13796
14102
|
*
|
|
@@ -13891,10 +14197,10 @@ class Client extends openapi_core_1.default {
|
|
|
13891
14197
|
return await this.replaceSemanticViewWithOptions(request, runtime);
|
|
13892
14198
|
}
|
|
13893
14199
|
/**
|
|
13894
|
-
* Resets the password of a database account for
|
|
14200
|
+
* Resets the password of a database account for a specified cluster.
|
|
13895
14201
|
*
|
|
13896
14202
|
* @remarks
|
|
13897
|
-
* For information about the
|
|
14203
|
+
* For information about the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
13898
14204
|
*
|
|
13899
14205
|
* @param request - ResetAccountPasswordRequest
|
|
13900
14206
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13918,6 +14224,9 @@ class Client extends openapi_core_1.default {
|
|
|
13918
14224
|
if (!$dara.isNull(request.engine)) {
|
|
13919
14225
|
query["Engine"] = request.engine;
|
|
13920
14226
|
}
|
|
14227
|
+
if (!$dara.isNull(request.resourceGroupName)) {
|
|
14228
|
+
query["ResourceGroupName"] = request.resourceGroupName;
|
|
14229
|
+
}
|
|
13921
14230
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13922
14231
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13923
14232
|
});
|
|
@@ -13935,10 +14244,10 @@ class Client extends openapi_core_1.default {
|
|
|
13935
14244
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResetAccountPasswordResponse({}));
|
|
13936
14245
|
}
|
|
13937
14246
|
/**
|
|
13938
|
-
* Resets the password of a database account for
|
|
14247
|
+
* Resets the password of a database account for a specified cluster.
|
|
13939
14248
|
*
|
|
13940
14249
|
* @remarks
|
|
13941
|
-
* For information about the
|
|
14250
|
+
* For information about the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
13942
14251
|
*
|
|
13943
14252
|
* @param request - ResetAccountPasswordRequest
|
|
13944
14253
|
* @returns ResetAccountPasswordResponse
|