@alicloud/polardb20170801 7.12.2 → 8.0.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 +125 -20
- package/dist/client.js +435 -42
- package/dist/client.js.map +1 -1
- package/dist/models/AddPolarOssauthorizedAccountRequest.d.ts +49 -0
- package/dist/models/AddPolarOssauthorizedAccountRequest.js +64 -0
- package/dist/models/AddPolarOssauthorizedAccountRequest.js.map +1 -0
- package/dist/models/AddPolarOssauthorizedAccountResponse.d.ts +19 -0
- package/dist/models/AddPolarOssauthorizedAccountResponse.js +69 -0
- package/dist/models/AddPolarOssauthorizedAccountResponse.js.map +1 -0
- package/dist/models/AddPolarOssauthorizedAccountResponseBody.d.ts +45 -0
- package/dist/models/AddPolarOssauthorizedAccountResponseBody.js +64 -0
- package/dist/models/AddPolarOssauthorizedAccountResponseBody.js.map +1 -0
- package/dist/models/CreateAgenticDbtenantApiKeyRequest.d.ts +13 -1
- package/dist/models/CreateAgenticDbtenantApiKeyRequest.js.map +1 -1
- package/dist/models/CreateAgenticDbtenantApiKeyResponseBody.d.ts +21 -0
- package/dist/models/CreateAgenticDbtenantApiKeyResponseBody.js.map +1 -1
- package/dist/models/CreateAidbclusterApiKeyRequest.d.ts +5 -2
- package/dist/models/CreateAidbclusterApiKeyRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterApiKeyResponseBody.d.ts +1 -1
- package/dist/models/CreateAidbclusterRequest.d.ts +32 -34
- package/dist/models/CreateAidbclusterRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterResponseBody.d.ts +1 -1
- package/dist/models/CreateAidbclusterTaskRequest.d.ts +2 -2
- package/dist/models/CreateKnowledgeBaseRequest.d.ts +73 -0
- package/dist/models/CreateKnowledgeBaseRequest.js +68 -0
- package/dist/models/CreateKnowledgeBaseRequest.js.map +1 -0
- package/dist/models/CreateKnowledgeBaseResponse.d.ts +19 -0
- package/dist/models/CreateKnowledgeBaseResponse.js +69 -0
- package/dist/models/CreateKnowledgeBaseResponse.js.map +1 -0
- package/dist/models/CreateKnowledgeBaseResponseBody.d.ts +29 -0
- package/dist/models/CreateKnowledgeBaseResponseBody.js +60 -0
- package/dist/models/CreateKnowledgeBaseResponseBody.js.map +1 -0
- package/dist/models/CreateKnowledgeSpaceRequest.d.ts +186 -0
- package/dist/models/CreateKnowledgeSpaceRequest.js +92 -0
- package/dist/models/CreateKnowledgeSpaceRequest.js.map +1 -0
- package/dist/models/CreateKnowledgeSpaceResponse.d.ts +19 -0
- package/dist/models/CreateKnowledgeSpaceResponse.js +69 -0
- package/dist/models/CreateKnowledgeSpaceResponse.js.map +1 -0
- package/dist/models/CreateKnowledgeSpaceResponseBody.d.ts +45 -0
- package/dist/models/CreateKnowledgeSpaceResponseBody.js +64 -0
- package/dist/models/CreateKnowledgeSpaceResponseBody.js.map +1 -0
- package/dist/models/CreateModelApiRequest.d.ts +30 -20
- package/dist/models/CreateModelApiRequest.js +2 -0
- package/dist/models/CreateModelApiRequest.js.map +1 -1
- package/dist/models/CreateModelApiResponseBody.d.ts +2 -2
- package/dist/models/DeleteAgenticDbcomputeClusterRequest.d.ts +29 -1
- package/dist/models/DeleteAgenticDbcomputeClusterRequest.js +6 -0
- package/dist/models/DeleteAgenticDbcomputeClusterRequest.js.map +1 -1
- package/dist/models/DeleteAgenticDbcomputeClusterResponseBody.d.ts +3 -0
- package/dist/models/DeleteAgenticDbcomputeClusterResponseBody.js.map +1 -1
- package/dist/models/DeleteAidbclusterApiKeyRequest.d.ts +4 -1
- package/dist/models/DeleteAidbclusterApiKeyRequest.js.map +1 -1
- package/dist/models/DeleteAidbclusterRequest.d.ts +4 -1
- package/dist/models/DeleteAidbclusterRequest.js.map +1 -1
- package/dist/models/DeleteAidbclusterResponseBody.d.ts +2 -2
- package/dist/models/DeleteKnowledgeBaseRequest.d.ts +33 -0
- package/dist/models/DeleteKnowledgeBaseRequest.js +60 -0
- package/dist/models/DeleteKnowledgeBaseRequest.js.map +1 -0
- package/dist/models/DeleteKnowledgeBaseResponse.d.ts +19 -0
- package/dist/models/DeleteKnowledgeBaseResponse.js +69 -0
- package/dist/models/DeleteKnowledgeBaseResponse.js.map +1 -0
- package/dist/models/DeleteKnowledgeBaseResponseBody.d.ts +29 -0
- package/dist/models/DeleteKnowledgeBaseResponseBody.js +60 -0
- package/dist/models/DeleteKnowledgeBaseResponseBody.js.map +1 -0
- package/dist/models/DeletePolarOssauthorizedAccountRequest.d.ts +49 -0
- package/dist/models/DeletePolarOssauthorizedAccountRequest.js +64 -0
- package/dist/models/DeletePolarOssauthorizedAccountRequest.js.map +1 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponse.d.ts +19 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponse.js +69 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponse.js.map +1 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponseBody.d.ts +45 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponseBody.js +64 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponseBody.js.map +1 -0
- package/dist/models/DescribeAgenticDbbranchEndpointsRequest.d.ts +10 -0
- package/dist/models/DescribeAgenticDbbranchEndpointsRequest.js.map +1 -1
- package/dist/models/DescribeAgenticDbbranchEndpointsResponseBody.d.ts +80 -0
- package/dist/models/DescribeAgenticDbbranchEndpointsResponseBody.js +31 -1
- package/dist/models/DescribeAgenticDbbranchEndpointsResponseBody.js.map +1 -1
- package/dist/models/DescribeAgenticDbprojectsRequest.d.ts +19 -0
- package/dist/models/DescribeAgenticDbprojectsRequest.js.map +1 -1
- package/dist/models/DescribeAgenticDbprojectsResponseBody.d.ts +40 -0
- package/dist/models/DescribeAgenticDbprojectsResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterApiKeysRequest.d.ts +3 -0
- package/dist/models/DescribeAidbclusterApiKeysRequest.js.map +1 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +47 -53
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +8 -8
- package/dist/models/DescribeAidbclustersRequest.d.ts +23 -37
- package/dist/models/DescribeAidbclustersRequest.js.map +1 -1
- package/dist/models/DescribeAidbclustersResponseBody.d.ts +3 -7
- package/dist/models/DescribeAidbclustersResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationPerformanceRequest.d.ts +4 -4
- package/dist/models/DescribeApplicationPerformanceRequest.js +2 -2
- package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
- package/dist/models/DescribeApplicationPerformanceShrinkRequest.d.ts +2 -2
- package/dist/models/DescribeApplicationPerformanceShrinkRequest.js +2 -2
- package/dist/models/DescribeApplicationPerformanceShrinkRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterAttributeRequest.d.ts +1 -1
- package/dist/models/DescribeDbclusterAttributeResponseBody.d.ts +69 -150
- package/dist/models/DescribeDbclusterAttributeResponseBody.js +2 -0
- package/dist/models/DescribeDbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeDbclusterTderesponseBody.d.ts +19 -26
- package/dist/models/DescribeDbclusterTderesponseBody.js.map +1 -1
- package/dist/models/DescribeKnowledgeBaseAttributeRequest.d.ts +33 -0
- package/dist/models/DescribeKnowledgeBaseAttributeRequest.js +60 -0
- package/dist/models/DescribeKnowledgeBaseAttributeRequest.js.map +1 -0
- package/dist/models/DescribeKnowledgeBaseAttributeResponse.d.ts +19 -0
- package/dist/models/DescribeKnowledgeBaseAttributeResponse.js +69 -0
- package/dist/models/DescribeKnowledgeBaseAttributeResponse.js.map +1 -0
- package/dist/models/DescribeKnowledgeBaseAttributeResponseBody.d.ts +124 -0
- package/dist/models/DescribeKnowledgeBaseAttributeResponseBody.js +82 -0
- package/dist/models/DescribeKnowledgeBaseAttributeResponseBody.js.map +1 -0
- package/dist/models/DescribeKnowledgeBasesRequest.d.ts +63 -0
- package/dist/models/DescribeKnowledgeBasesRequest.js +68 -0
- package/dist/models/DescribeKnowledgeBasesRequest.js.map +1 -0
- package/dist/models/DescribeKnowledgeBasesResponse.d.ts +19 -0
- package/dist/models/DescribeKnowledgeBasesResponse.js +69 -0
- package/dist/models/DescribeKnowledgeBasesResponse.js.map +1 -0
- package/dist/models/DescribeKnowledgeBasesResponseBody.d.ts +136 -0
- package/dist/models/DescribeKnowledgeBasesResponseBody.js +104 -0
- package/dist/models/DescribeKnowledgeBasesResponseBody.js.map +1 -0
- package/dist/models/DescribeModelApisRequest.d.ts +15 -23
- package/dist/models/DescribeModelApisRequest.js.map +1 -1
- package/dist/models/DescribeModelApisResponseBody.d.ts +19 -24
- package/dist/models/DescribeModelApisResponseBody.js +2 -0
- package/dist/models/DescribeModelApisResponseBody.js.map +1 -1
- package/dist/models/InstallPolarClawPluginRequest.d.ts +2 -4
- package/dist/models/InstallPolarClawPluginRequest.js.map +1 -1
- package/dist/models/InstallPolarClawPluginResponseBody.d.ts +4 -4
- package/dist/models/ModifyModelApiRequest.d.ts +27 -17
- package/dist/models/ModifyModelApiRequest.js +2 -0
- package/dist/models/ModifyModelApiRequest.js.map +1 -1
- package/dist/models/ModifyModelApiResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +23 -0
- package/dist/models/model.js +85 -38
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +497 -43
- package/src/models/AddPolarOssauthorizedAccountRequest.ts +68 -0
- package/src/models/AddPolarOssauthorizedAccountResponse.ts +40 -0
- package/src/models/AddPolarOssauthorizedAccountResponseBody.ts +64 -0
- package/src/models/CreateAgenticDbtenantApiKeyRequest.ts +13 -1
- package/src/models/CreateAgenticDbtenantApiKeyResponseBody.ts +21 -0
- package/src/models/CreateAidbclusterApiKeyRequest.ts +5 -2
- package/src/models/CreateAidbclusterApiKeyResponseBody.ts +1 -1
- package/src/models/CreateAidbclusterRequest.ts +33 -35
- package/src/models/CreateAidbclusterResponseBody.ts +1 -1
- package/src/models/CreateAidbclusterTaskRequest.ts +2 -2
- package/src/models/CreateKnowledgeBaseRequest.ts +96 -0
- package/src/models/CreateKnowledgeBaseResponse.ts +40 -0
- package/src/models/CreateKnowledgeBaseResponseBody.ts +44 -0
- package/src/models/CreateKnowledgeSpaceRequest.ts +233 -0
- package/src/models/CreateKnowledgeSpaceResponse.ts +40 -0
- package/src/models/CreateKnowledgeSpaceResponseBody.ts +64 -0
- package/src/models/CreateModelApiRequest.ts +32 -20
- package/src/models/CreateModelApiResponseBody.ts +2 -2
- package/src/models/DeleteAgenticDbcomputeClusterRequest.ts +35 -1
- package/src/models/DeleteAgenticDbcomputeClusterResponseBody.ts +3 -0
- package/src/models/DeleteAidbclusterApiKeyRequest.ts +4 -1
- package/src/models/DeleteAidbclusterRequest.ts +4 -1
- package/src/models/DeleteAidbclusterResponseBody.ts +2 -2
- package/src/models/DeleteKnowledgeBaseRequest.ts +48 -0
- package/src/models/DeleteKnowledgeBaseResponse.ts +40 -0
- package/src/models/DeleteKnowledgeBaseResponseBody.ts +44 -0
- package/src/models/DeletePolarOssauthorizedAccountRequest.ts +68 -0
- package/src/models/DeletePolarOssauthorizedAccountResponse.ts +40 -0
- package/src/models/DeletePolarOssauthorizedAccountResponseBody.ts +64 -0
- package/src/models/DescribeAgenticDbbranchEndpointsRequest.ts +10 -0
- package/src/models/DescribeAgenticDbbranchEndpointsResponseBody.ts +101 -0
- package/src/models/DescribeAgenticDbprojectsRequest.ts +19 -0
- package/src/models/DescribeAgenticDbprojectsResponseBody.ts +40 -0
- package/src/models/DescribeAidbclusterApiKeysRequest.ts +3 -0
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +49 -53
- package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +8 -8
- package/src/models/DescribeAidbclustersRequest.ts +25 -39
- package/src/models/DescribeAidbclustersResponseBody.ts +3 -7
- package/src/models/DescribeApplicationPerformanceRequest.ts +4 -4
- package/src/models/DescribeApplicationPerformanceShrinkRequest.ts +4 -4
- package/src/models/DescribeDbclusterAttributeRequest.ts +1 -1
- package/src/models/DescribeDbclusterAttributeResponseBody.ts +73 -152
- package/src/models/DescribeDbclusterTderesponseBody.ts +19 -26
- package/src/models/DescribeKnowledgeBaseAttributeRequest.ts +48 -0
- package/src/models/DescribeKnowledgeBaseAttributeResponse.ts +40 -0
- package/src/models/DescribeKnowledgeBaseAttributeResponseBody.ts +161 -0
- package/src/models/DescribeKnowledgeBasesRequest.ts +86 -0
- package/src/models/DescribeKnowledgeBasesResponse.ts +40 -0
- package/src/models/DescribeKnowledgeBasesResponseBody.ts +186 -0
- package/src/models/DescribeModelApisRequest.ts +15 -23
- package/src/models/DescribeModelApisResponseBody.ts +21 -24
- package/src/models/InstallPolarClawPluginRequest.ts +2 -4
- package/src/models/InstallPolarClawPluginResponseBody.ts +4 -4
- package/src/models/ModifyModelApiRequest.ts +29 -17
- package/src/models/ModifyModelApiResponseBody.ts +1 -1
- package/src/models/model.ts +23 -0
package/dist/client.js
CHANGED
|
@@ -109,28 +109,28 @@ class Client extends openapi_core_1.default {
|
|
|
109
109
|
'cn-zhengzhou-nebula-1': "polardb.aliyuncs.com",
|
|
110
110
|
'eu-west-1-oxs': "polardb.aliyuncs.com",
|
|
111
111
|
'rus-west-1-pop': "polardb.aliyuncs.com",
|
|
112
|
-
'
|
|
113
|
-
'us-east-1': "polardb.us-east-1.aliyuncs.com",
|
|
114
|
-
'na-south-1': "polardb.na-south-1.aliyuncs.com",
|
|
115
|
-
'me-east-1': "polardb.me-east-1.aliyuncs.com",
|
|
116
|
-
'eu-west-1': "polardb.eu-west-1.aliyuncs.com",
|
|
117
|
-
'eu-central-1': "polardb.eu-central-1.aliyuncs.com",
|
|
112
|
+
'cn-hongkong': "polardb.cn-hongkong.aliyuncs.com",
|
|
118
113
|
'cn-zhangjiakou': "polardb.cn-zhangjiakou.aliyuncs.com",
|
|
119
|
-
'cn-shenzhen-finance-1': "polardb.cn-shenzhen-finance-1.aliyuncs.com",
|
|
120
114
|
'cn-shenzhen': "polardb.cn-shenzhen.aliyuncs.com",
|
|
121
|
-
'cn-shanghai-finance-1': "polardb.cn-shanghai-finance-1.aliyuncs.com",
|
|
122
|
-
'cn-huhehaote': "polardb.cn-huhehaote.aliyuncs.com",
|
|
123
|
-
'cn-hongkong': "polardb.cn-hongkong.aliyuncs.com",
|
|
124
|
-
'cn-guangzhou': "polardb.cn-guangzhou.aliyuncs.com",
|
|
125
|
-
'cn-chengdu': "polardb.cn-chengdu.aliyuncs.com",
|
|
126
|
-
'ap-southeast-8': "polardb.ap-southeast-8.aliyuncs.com",
|
|
127
|
-
'ap-southeast-7': "polardb.ap-southeast-7.aliyuncs.com",
|
|
128
|
-
'ap-southeast-6': "polardb.ap-southeast-6.aliyuncs.com",
|
|
129
|
-
'ap-southeast-5': "polardb.ap-southeast-5.aliyuncs.com",
|
|
130
|
-
'ap-southeast-3': "polardb.ap-southeast-3.aliyuncs.com",
|
|
131
|
-
'ap-southeast-1': "polardb.ap-southeast-1.aliyuncs.com",
|
|
132
115
|
'ap-northeast-2': "polardb.ap-northeast-2.aliyuncs.com",
|
|
133
116
|
'ap-northeast-1': "polardb.ap-northeast-1.aliyuncs.com",
|
|
117
|
+
'cn-chengdu': "polardb.cn-chengdu.aliyuncs.com",
|
|
118
|
+
'cn-guangzhou': "polardb.cn-guangzhou.aliyuncs.com",
|
|
119
|
+
'ap-southeast-1': "polardb.ap-southeast-1.aliyuncs.com",
|
|
120
|
+
'ap-southeast-3': "polardb.ap-southeast-3.aliyuncs.com",
|
|
121
|
+
'cn-huhehaote': "polardb.cn-huhehaote.aliyuncs.com",
|
|
122
|
+
'ap-southeast-5': "polardb.ap-southeast-5.aliyuncs.com",
|
|
123
|
+
'ap-southeast-6': "polardb.ap-southeast-6.aliyuncs.com",
|
|
124
|
+
'ap-southeast-7': "polardb.ap-southeast-7.aliyuncs.com",
|
|
125
|
+
'ap-southeast-8': "polardb.ap-southeast-8.aliyuncs.com",
|
|
126
|
+
'na-south-1': "polardb.na-south-1.aliyuncs.com",
|
|
127
|
+
'eu-central-1': "polardb.eu-central-1.aliyuncs.com",
|
|
128
|
+
'us-west-1': "polardb.us-west-1.aliyuncs.com",
|
|
129
|
+
'eu-west-1': "polardb.eu-west-1.aliyuncs.com",
|
|
130
|
+
'us-east-1': "polardb.us-east-1.aliyuncs.com",
|
|
131
|
+
'me-east-1': "polardb.me-east-1.aliyuncs.com",
|
|
132
|
+
'cn-shanghai-finance-1': "polardb.cn-shanghai-finance-1.aliyuncs.com",
|
|
133
|
+
'cn-shenzhen-finance-1': "polardb.cn-shenzhen-finance-1.aliyuncs.com",
|
|
134
134
|
};
|
|
135
135
|
this.checkConfig(config);
|
|
136
136
|
this._endpoint = this.getEndpoint("polardb", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -500,6 +500,54 @@ class Client extends openapi_core_1.default {
|
|
|
500
500
|
let runtime = new $dara.RuntimeOptions({});
|
|
501
501
|
return await this.addPolarFsQuotaWithOptions(request, runtime);
|
|
502
502
|
}
|
|
503
|
+
/**
|
|
504
|
+
* Adds authorized accounts for cold storage.
|
|
505
|
+
*
|
|
506
|
+
* @param request - AddPolarOSSAuthorizedAccountRequest
|
|
507
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
508
|
+
* @returns AddPolarOSSAuthorizedAccountResponse
|
|
509
|
+
*/
|
|
510
|
+
async addPolarOSSAuthorizedAccountWithOptions(request, runtime) {
|
|
511
|
+
request.validate();
|
|
512
|
+
let query = {};
|
|
513
|
+
if (!$dara.isNull(request.authorizedUserIds)) {
|
|
514
|
+
query["AuthorizedUserIds"] = request.authorizedUserIds;
|
|
515
|
+
}
|
|
516
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
517
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
518
|
+
}
|
|
519
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
520
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
521
|
+
}
|
|
522
|
+
if (!$dara.isNull(request.regionId)) {
|
|
523
|
+
query["RegionId"] = request.regionId;
|
|
524
|
+
}
|
|
525
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
526
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
527
|
+
});
|
|
528
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
529
|
+
action: "AddPolarOSSAuthorizedAccount",
|
|
530
|
+
version: "2017-08-01",
|
|
531
|
+
protocol: "HTTPS",
|
|
532
|
+
pathname: "/",
|
|
533
|
+
method: "POST",
|
|
534
|
+
authType: "AK",
|
|
535
|
+
style: "RPC",
|
|
536
|
+
reqBodyType: "formData",
|
|
537
|
+
bodyType: "json",
|
|
538
|
+
});
|
|
539
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddPolarOSSAuthorizedAccountResponse({}));
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* Adds authorized accounts for cold storage.
|
|
543
|
+
*
|
|
544
|
+
* @param request - AddPolarOSSAuthorizedAccountRequest
|
|
545
|
+
* @returns AddPolarOSSAuthorizedAccountResponse
|
|
546
|
+
*/
|
|
547
|
+
async addPolarOSSAuthorizedAccount(request) {
|
|
548
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
549
|
+
return await this.addPolarOSSAuthorizedAccountWithOptions(request, runtime);
|
|
550
|
+
}
|
|
503
551
|
/**
|
|
504
552
|
* Adds SQL throttling rules.
|
|
505
553
|
*
|
|
@@ -1736,7 +1784,7 @@ class Client extends openapi_core_1.default {
|
|
|
1736
1784
|
return await this.continueDBClusterMigrationWithOptions(request, runtime);
|
|
1737
1785
|
}
|
|
1738
1786
|
/**
|
|
1739
|
-
*
|
|
1787
|
+
* Creates an AI cluster.
|
|
1740
1788
|
*
|
|
1741
1789
|
* @param request - CreateAIDBClusterRequest
|
|
1742
1790
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1867,7 +1915,7 @@ class Client extends openapi_core_1.default {
|
|
|
1867
1915
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAIDBClusterResponse({}));
|
|
1868
1916
|
}
|
|
1869
1917
|
/**
|
|
1870
|
-
*
|
|
1918
|
+
* Creates an AI cluster.
|
|
1871
1919
|
*
|
|
1872
1920
|
* @param request - CreateAIDBClusterRequest
|
|
1873
1921
|
* @returns CreateAIDBClusterResponse
|
|
@@ -1877,7 +1925,7 @@ class Client extends openapi_core_1.default {
|
|
|
1877
1925
|
return await this.createAIDBClusterWithOptions(request, runtime);
|
|
1878
1926
|
}
|
|
1879
1927
|
/**
|
|
1880
|
-
* Creates a model service API key.
|
|
1928
|
+
* Creates a model creation service API key.
|
|
1881
1929
|
*
|
|
1882
1930
|
* @param request - CreateAIDBClusterApiKeyRequest
|
|
1883
1931
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1912,7 +1960,7 @@ class Client extends openapi_core_1.default {
|
|
|
1912
1960
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAIDBClusterApiKeyResponse({}));
|
|
1913
1961
|
}
|
|
1914
1962
|
/**
|
|
1915
|
-
* Creates a model service API key.
|
|
1963
|
+
* Creates a model creation service API key.
|
|
1916
1964
|
*
|
|
1917
1965
|
* @param request - CreateAIDBClusterApiKeyRequest
|
|
1918
1966
|
* @returns CreateAIDBClusterApiKeyResponse
|
|
@@ -2462,7 +2510,7 @@ class Client extends openapi_core_1.default {
|
|
|
2462
2510
|
return await this.createAgenticDBProjectWithOptions(request, runtime);
|
|
2463
2511
|
}
|
|
2464
2512
|
/**
|
|
2465
|
-
*
|
|
2513
|
+
* Creates an API key for an AgenticDB tenant.
|
|
2466
2514
|
*
|
|
2467
2515
|
* @param request - CreateAgenticDBTenantApiKeyRequest
|
|
2468
2516
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2503,7 +2551,7 @@ class Client extends openapi_core_1.default {
|
|
|
2503
2551
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAgenticDBTenantApiKeyResponse({}));
|
|
2504
2552
|
}
|
|
2505
2553
|
/**
|
|
2506
|
-
*
|
|
2554
|
+
* Creates an API key for an AgenticDB tenant.
|
|
2507
2555
|
*
|
|
2508
2556
|
* @param request - CreateAgenticDBTenantApiKeyRequest
|
|
2509
2557
|
* @returns CreateAgenticDBTenantApiKeyResponse
|
|
@@ -4632,6 +4680,150 @@ class Client extends openapi_core_1.default {
|
|
|
4632
4680
|
let runtime = new $dara.RuntimeOptions({});
|
|
4633
4681
|
return await this.createGwConsumerOrderWithOptions(request, runtime);
|
|
4634
4682
|
}
|
|
4683
|
+
/**
|
|
4684
|
+
* Creates a knowledge base.
|
|
4685
|
+
*
|
|
4686
|
+
* @param request - CreateKnowledgeBaseRequest
|
|
4687
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4688
|
+
* @returns CreateKnowledgeBaseResponse
|
|
4689
|
+
*/
|
|
4690
|
+
async createKnowledgeBaseWithOptions(request, runtime) {
|
|
4691
|
+
request.validate();
|
|
4692
|
+
let query = {};
|
|
4693
|
+
if (!$dara.isNull(request.description)) {
|
|
4694
|
+
query["Description"] = request.description;
|
|
4695
|
+
}
|
|
4696
|
+
if (!$dara.isNull(request.knowledgeBaseType)) {
|
|
4697
|
+
query["KnowledgeBaseType"] = request.knowledgeBaseType;
|
|
4698
|
+
}
|
|
4699
|
+
if (!$dara.isNull(request.knowledgeSpaceId)) {
|
|
4700
|
+
query["KnowledgeSpaceId"] = request.knowledgeSpaceId;
|
|
4701
|
+
}
|
|
4702
|
+
if (!$dara.isNull(request.name)) {
|
|
4703
|
+
query["Name"] = request.name;
|
|
4704
|
+
}
|
|
4705
|
+
if (!$dara.isNull(request.regionId)) {
|
|
4706
|
+
query["RegionId"] = request.regionId;
|
|
4707
|
+
}
|
|
4708
|
+
if (!$dara.isNull(request.searchMode)) {
|
|
4709
|
+
query["SearchMode"] = request.searchMode;
|
|
4710
|
+
}
|
|
4711
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4712
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4713
|
+
});
|
|
4714
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4715
|
+
action: "CreateKnowledgeBase",
|
|
4716
|
+
version: "2017-08-01",
|
|
4717
|
+
protocol: "HTTPS",
|
|
4718
|
+
pathname: "/",
|
|
4719
|
+
method: "POST",
|
|
4720
|
+
authType: "AK",
|
|
4721
|
+
style: "RPC",
|
|
4722
|
+
reqBodyType: "formData",
|
|
4723
|
+
bodyType: "json",
|
|
4724
|
+
});
|
|
4725
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateKnowledgeBaseResponse({}));
|
|
4726
|
+
}
|
|
4727
|
+
/**
|
|
4728
|
+
* Creates a knowledge base.
|
|
4729
|
+
*
|
|
4730
|
+
* @param request - CreateKnowledgeBaseRequest
|
|
4731
|
+
* @returns CreateKnowledgeBaseResponse
|
|
4732
|
+
*/
|
|
4733
|
+
async createKnowledgeBase(request) {
|
|
4734
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4735
|
+
return await this.createKnowledgeBaseWithOptions(request, runtime);
|
|
4736
|
+
}
|
|
4737
|
+
/**
|
|
4738
|
+
* Creates a knowledge space.
|
|
4739
|
+
*
|
|
4740
|
+
* @param request - CreateKnowledgeSpaceRequest
|
|
4741
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4742
|
+
* @returns CreateKnowledgeSpaceResponse
|
|
4743
|
+
*/
|
|
4744
|
+
async createKnowledgeSpaceWithOptions(request, runtime) {
|
|
4745
|
+
request.validate();
|
|
4746
|
+
let query = {};
|
|
4747
|
+
if (!$dara.isNull(request.DBType)) {
|
|
4748
|
+
query["DBType"] = request.DBType;
|
|
4749
|
+
}
|
|
4750
|
+
if (!$dara.isNull(request.description)) {
|
|
4751
|
+
query["Description"] = request.description;
|
|
4752
|
+
}
|
|
4753
|
+
if (!$dara.isNull(request.embeddingDimension)) {
|
|
4754
|
+
query["EmbeddingDimension"] = request.embeddingDimension;
|
|
4755
|
+
}
|
|
4756
|
+
if (!$dara.isNull(request.embeddingModel)) {
|
|
4757
|
+
query["EmbeddingModel"] = request.embeddingModel;
|
|
4758
|
+
}
|
|
4759
|
+
if (!$dara.isNull(request.enforceAcl)) {
|
|
4760
|
+
query["EnforceAcl"] = request.enforceAcl;
|
|
4761
|
+
}
|
|
4762
|
+
if (!$dara.isNull(request.LLMModel)) {
|
|
4763
|
+
query["LLMModel"] = request.LLMModel;
|
|
4764
|
+
}
|
|
4765
|
+
if (!$dara.isNull(request.name)) {
|
|
4766
|
+
query["Name"] = request.name;
|
|
4767
|
+
}
|
|
4768
|
+
if (!$dara.isNull(request.OSSAccessKey)) {
|
|
4769
|
+
query["OSSAccessKey"] = request.OSSAccessKey;
|
|
4770
|
+
}
|
|
4771
|
+
if (!$dara.isNull(request.OSSBucket)) {
|
|
4772
|
+
query["OSSBucket"] = request.OSSBucket;
|
|
4773
|
+
}
|
|
4774
|
+
if (!$dara.isNull(request.OSSSecretKey)) {
|
|
4775
|
+
query["OSSSecretKey"] = request.OSSSecretKey;
|
|
4776
|
+
}
|
|
4777
|
+
if (!$dara.isNull(request.regionId)) {
|
|
4778
|
+
query["RegionId"] = request.regionId;
|
|
4779
|
+
}
|
|
4780
|
+
if (!$dara.isNull(request.rerankModel)) {
|
|
4781
|
+
query["RerankModel"] = request.rerankModel;
|
|
4782
|
+
}
|
|
4783
|
+
if (!$dara.isNull(request.securityGroupId)) {
|
|
4784
|
+
query["SecurityGroupId"] = request.securityGroupId;
|
|
4785
|
+
}
|
|
4786
|
+
if (!$dara.isNull(request.shardingSize)) {
|
|
4787
|
+
query["ShardingSize"] = request.shardingSize;
|
|
4788
|
+
}
|
|
4789
|
+
if (!$dara.isNull(request.shardingStrategy)) {
|
|
4790
|
+
query["ShardingStrategy"] = request.shardingStrategy;
|
|
4791
|
+
}
|
|
4792
|
+
if (!$dara.isNull(request.vSwitchId)) {
|
|
4793
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
4794
|
+
}
|
|
4795
|
+
if (!$dara.isNull(request.vpcId)) {
|
|
4796
|
+
query["VpcId"] = request.vpcId;
|
|
4797
|
+
}
|
|
4798
|
+
if (!$dara.isNull(request.zoneId)) {
|
|
4799
|
+
query["ZoneId"] = request.zoneId;
|
|
4800
|
+
}
|
|
4801
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4802
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4803
|
+
});
|
|
4804
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4805
|
+
action: "CreateKnowledgeSpace",
|
|
4806
|
+
version: "2017-08-01",
|
|
4807
|
+
protocol: "HTTPS",
|
|
4808
|
+
pathname: "/",
|
|
4809
|
+
method: "POST",
|
|
4810
|
+
authType: "AK",
|
|
4811
|
+
style: "RPC",
|
|
4812
|
+
reqBodyType: "formData",
|
|
4813
|
+
bodyType: "json",
|
|
4814
|
+
});
|
|
4815
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateKnowledgeSpaceResponse({}));
|
|
4816
|
+
}
|
|
4817
|
+
/**
|
|
4818
|
+
* Creates a knowledge space.
|
|
4819
|
+
*
|
|
4820
|
+
* @param request - CreateKnowledgeSpaceRequest
|
|
4821
|
+
* @returns CreateKnowledgeSpaceResponse
|
|
4822
|
+
*/
|
|
4823
|
+
async createKnowledgeSpace(request) {
|
|
4824
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4825
|
+
return await this.createKnowledgeSpaceWithOptions(request, runtime);
|
|
4826
|
+
}
|
|
4635
4827
|
/**
|
|
4636
4828
|
* Creates a PolarFS S3 account.
|
|
4637
4829
|
*
|
|
@@ -4684,7 +4876,7 @@ class Client extends openapi_core_1.default {
|
|
|
4684
4876
|
return await this.createLakebaseS3AccountWithOptions(request, runtime);
|
|
4685
4877
|
}
|
|
4686
4878
|
/**
|
|
4687
|
-
* Creates a
|
|
4879
|
+
* Creates a routing rule.
|
|
4688
4880
|
*
|
|
4689
4881
|
* @param request - CreateModelApiRequest
|
|
4690
4882
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4693,6 +4885,9 @@ class Client extends openapi_core_1.default {
|
|
|
4693
4885
|
async createModelApiWithOptions(request, runtime) {
|
|
4694
4886
|
request.validate();
|
|
4695
4887
|
let query = {};
|
|
4888
|
+
if (!$dara.isNull(request.config)) {
|
|
4889
|
+
query["Config"] = request.config;
|
|
4890
|
+
}
|
|
4696
4891
|
if (!$dara.isNull(request.forceModel)) {
|
|
4697
4892
|
query["ForceModel"] = request.forceModel;
|
|
4698
4893
|
}
|
|
@@ -4740,7 +4935,7 @@ class Client extends openapi_core_1.default {
|
|
|
4740
4935
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateModelApiResponse({}));
|
|
4741
4936
|
}
|
|
4742
4937
|
/**
|
|
4743
|
-
* Creates a
|
|
4938
|
+
* Creates a routing rule.
|
|
4744
4939
|
*
|
|
4745
4940
|
* @param request - CreateModelApiRequest
|
|
4746
4941
|
* @returns CreateModelApiResponse
|
|
@@ -6078,15 +6273,24 @@ class Client extends openapi_core_1.default {
|
|
|
6078
6273
|
async deleteAgenticDBComputeClusterWithOptions(request, runtime) {
|
|
6079
6274
|
request.validate();
|
|
6080
6275
|
let query = {};
|
|
6276
|
+
if (!$dara.isNull(request.branchId)) {
|
|
6277
|
+
query["BranchId"] = request.branchId;
|
|
6278
|
+
}
|
|
6081
6279
|
if (!$dara.isNull(request.computeClusterId)) {
|
|
6082
6280
|
query["ComputeClusterId"] = request.computeClusterId;
|
|
6083
6281
|
}
|
|
6084
6282
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
6085
6283
|
query["DBClusterId"] = request.DBClusterId;
|
|
6086
6284
|
}
|
|
6285
|
+
if (!$dara.isNull(request.projectId)) {
|
|
6286
|
+
query["ProjectId"] = request.projectId;
|
|
6287
|
+
}
|
|
6087
6288
|
if (!$dara.isNull(request.regionId)) {
|
|
6088
6289
|
query["RegionId"] = request.regionId;
|
|
6089
6290
|
}
|
|
6291
|
+
if (!$dara.isNull(request.tenantId)) {
|
|
6292
|
+
query["TenantId"] = request.tenantId;
|
|
6293
|
+
}
|
|
6090
6294
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6091
6295
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6092
6296
|
});
|
|
@@ -7453,6 +7657,48 @@ class Client extends openapi_core_1.default {
|
|
|
7453
7657
|
let runtime = new $dara.RuntimeOptions({});
|
|
7454
7658
|
return await this.deleteGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
7455
7659
|
}
|
|
7660
|
+
/**
|
|
7661
|
+
* Deletes a knowledge base.
|
|
7662
|
+
*
|
|
7663
|
+
* @param request - DeleteKnowledgeBaseRequest
|
|
7664
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7665
|
+
* @returns DeleteKnowledgeBaseResponse
|
|
7666
|
+
*/
|
|
7667
|
+
async deleteKnowledgeBaseWithOptions(request, runtime) {
|
|
7668
|
+
request.validate();
|
|
7669
|
+
let query = {};
|
|
7670
|
+
if (!$dara.isNull(request.knowledgeBaseId)) {
|
|
7671
|
+
query["KnowledgeBaseId"] = request.knowledgeBaseId;
|
|
7672
|
+
}
|
|
7673
|
+
if (!$dara.isNull(request.regionId)) {
|
|
7674
|
+
query["RegionId"] = request.regionId;
|
|
7675
|
+
}
|
|
7676
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7677
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7678
|
+
});
|
|
7679
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7680
|
+
action: "DeleteKnowledgeBase",
|
|
7681
|
+
version: "2017-08-01",
|
|
7682
|
+
protocol: "HTTPS",
|
|
7683
|
+
pathname: "/",
|
|
7684
|
+
method: "POST",
|
|
7685
|
+
authType: "AK",
|
|
7686
|
+
style: "RPC",
|
|
7687
|
+
reqBodyType: "formData",
|
|
7688
|
+
bodyType: "json",
|
|
7689
|
+
});
|
|
7690
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteKnowledgeBaseResponse({}));
|
|
7691
|
+
}
|
|
7692
|
+
/**
|
|
7693
|
+
* Deletes a knowledge base.
|
|
7694
|
+
*
|
|
7695
|
+
* @param request - DeleteKnowledgeBaseRequest
|
|
7696
|
+
* @returns DeleteKnowledgeBaseResponse
|
|
7697
|
+
*/
|
|
7698
|
+
async deleteKnowledgeBase(request) {
|
|
7699
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7700
|
+
return await this.deleteKnowledgeBaseWithOptions(request, runtime);
|
|
7701
|
+
}
|
|
7456
7702
|
/**
|
|
7457
7703
|
* Deletes a PolarFS S3 account.
|
|
7458
7704
|
*
|
|
@@ -8139,6 +8385,54 @@ class Client extends openapi_core_1.default {
|
|
|
8139
8385
|
let runtime = new $dara.RuntimeOptions({});
|
|
8140
8386
|
return await this.deletePolarFsQuotaWithOptions(request, runtime);
|
|
8141
8387
|
}
|
|
8388
|
+
/**
|
|
8389
|
+
* Deletes authorized accounts for cold storage.
|
|
8390
|
+
*
|
|
8391
|
+
* @param request - DeletePolarOSSAuthorizedAccountRequest
|
|
8392
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8393
|
+
* @returns DeletePolarOSSAuthorizedAccountResponse
|
|
8394
|
+
*/
|
|
8395
|
+
async deletePolarOSSAuthorizedAccountWithOptions(request, runtime) {
|
|
8396
|
+
request.validate();
|
|
8397
|
+
let query = {};
|
|
8398
|
+
if (!$dara.isNull(request.authorizedUserIds)) {
|
|
8399
|
+
query["AuthorizedUserIds"] = request.authorizedUserIds;
|
|
8400
|
+
}
|
|
8401
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
8402
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
8403
|
+
}
|
|
8404
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
8405
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
8406
|
+
}
|
|
8407
|
+
if (!$dara.isNull(request.regionId)) {
|
|
8408
|
+
query["RegionId"] = request.regionId;
|
|
8409
|
+
}
|
|
8410
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8411
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8412
|
+
});
|
|
8413
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8414
|
+
action: "DeletePolarOSSAuthorizedAccount",
|
|
8415
|
+
version: "2017-08-01",
|
|
8416
|
+
protocol: "HTTPS",
|
|
8417
|
+
pathname: "/",
|
|
8418
|
+
method: "POST",
|
|
8419
|
+
authType: "AK",
|
|
8420
|
+
style: "RPC",
|
|
8421
|
+
reqBodyType: "formData",
|
|
8422
|
+
bodyType: "json",
|
|
8423
|
+
});
|
|
8424
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePolarOSSAuthorizedAccountResponse({}));
|
|
8425
|
+
}
|
|
8426
|
+
/**
|
|
8427
|
+
* Deletes authorized accounts for cold storage.
|
|
8428
|
+
*
|
|
8429
|
+
* @param request - DeletePolarOSSAuthorizedAccountRequest
|
|
8430
|
+
* @returns DeletePolarOSSAuthorizedAccountResponse
|
|
8431
|
+
*/
|
|
8432
|
+
async deletePolarOSSAuthorizedAccount(request) {
|
|
8433
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8434
|
+
return await this.deletePolarOSSAuthorizedAccountWithOptions(request, runtime);
|
|
8435
|
+
}
|
|
8142
8436
|
/**
|
|
8143
8437
|
* Deletes a throttling policy.
|
|
8144
8438
|
*
|
|
@@ -8340,7 +8634,7 @@ class Client extends openapi_core_1.default {
|
|
|
8340
8634
|
return await this.describeAIDBClusterApiKeysWithOptions(request, runtime);
|
|
8341
8635
|
}
|
|
8342
8636
|
/**
|
|
8343
|
-
* Queries the
|
|
8637
|
+
* Queries the detailed attributes of a custom instance.
|
|
8344
8638
|
*
|
|
8345
8639
|
* @param request - DescribeAIDBClusterAttributeRequest
|
|
8346
8640
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8381,7 +8675,7 @@ class Client extends openapi_core_1.default {
|
|
|
8381
8675
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClusterAttributeResponse({}));
|
|
8382
8676
|
}
|
|
8383
8677
|
/**
|
|
8384
|
-
* Queries the
|
|
8678
|
+
* Queries the detailed attributes of a custom instance.
|
|
8385
8679
|
*
|
|
8386
8680
|
* @param request - DescribeAIDBClusterAttributeRequest
|
|
8387
8681
|
* @returns DescribeAIDBClusterAttributeResponse
|
|
@@ -8764,7 +9058,7 @@ class Client extends openapi_core_1.default {
|
|
|
8764
9058
|
return await this.describeAIDBClusterTasksWithOptions(request, runtime);
|
|
8765
9059
|
}
|
|
8766
9060
|
/**
|
|
8767
|
-
*
|
|
9061
|
+
* Queries the list of custom AI clusters.
|
|
8768
9062
|
*
|
|
8769
9063
|
* @param request - DescribeAIDBClustersRequest
|
|
8770
9064
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8829,7 +9123,7 @@ class Client extends openapi_core_1.default {
|
|
|
8829
9123
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClustersResponse({}));
|
|
8830
9124
|
}
|
|
8831
9125
|
/**
|
|
8832
|
-
*
|
|
9126
|
+
* Queries the list of custom AI clusters.
|
|
8833
9127
|
*
|
|
8834
9128
|
* @param request - DescribeAIDBClustersRequest
|
|
8835
9129
|
* @returns DescribeAIDBClustersResponse
|
|
@@ -9662,7 +9956,7 @@ class Client extends openapi_core_1.default {
|
|
|
9662
9956
|
return await this.describeAgenticDBProjectWithOptions(request, runtime);
|
|
9663
9957
|
}
|
|
9664
9958
|
/**
|
|
9665
|
-
*
|
|
9959
|
+
* Queries the list of AgenticDB projects.
|
|
9666
9960
|
*
|
|
9667
9961
|
* @param request - DescribeAgenticDBProjectsRequest
|
|
9668
9962
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9709,7 +10003,7 @@ class Client extends openapi_core_1.default {
|
|
|
9709
10003
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAgenticDBProjectsResponse({}));
|
|
9710
10004
|
}
|
|
9711
10005
|
/**
|
|
9712
|
-
*
|
|
10006
|
+
* Queries the list of AgenticDB projects.
|
|
9713
10007
|
*
|
|
9714
10008
|
* @param request - DescribeAgenticDBProjectsRequest
|
|
9715
10009
|
* @returns DescribeAgenticDBProjectsResponse
|
|
@@ -9999,7 +10293,7 @@ class Client extends openapi_core_1.default {
|
|
|
9999
10293
|
let request = new $_model.DescribeApplicationPerformanceShrinkRequest({});
|
|
10000
10294
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
10001
10295
|
if (!$dara.isNull(tmpReq.filter)) {
|
|
10002
|
-
request.filterShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filter, "
|
|
10296
|
+
request.filterShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filter, "Filter", "json");
|
|
10003
10297
|
}
|
|
10004
10298
|
let query = {};
|
|
10005
10299
|
if (!$dara.isNull(request.applicationId)) {
|
|
@@ -10020,6 +10314,9 @@ class Client extends openapi_core_1.default {
|
|
|
10020
10314
|
if (!$dara.isNull(request.endTime)) {
|
|
10021
10315
|
query["EndTime"] = request.endTime;
|
|
10022
10316
|
}
|
|
10317
|
+
if (!$dara.isNull(request.filterShrink)) {
|
|
10318
|
+
query["Filter"] = request.filterShrink;
|
|
10319
|
+
}
|
|
10023
10320
|
if (!$dara.isNull(request.interval)) {
|
|
10024
10321
|
query["Interval"] = request.interval;
|
|
10025
10322
|
}
|
|
@@ -10038,9 +10335,6 @@ class Client extends openapi_core_1.default {
|
|
|
10038
10335
|
if (!$dara.isNull(request.startTime)) {
|
|
10039
10336
|
query["StartTime"] = request.startTime;
|
|
10040
10337
|
}
|
|
10041
|
-
if (!$dara.isNull(request.filterShrink)) {
|
|
10042
|
-
query["filter"] = request.filterShrink;
|
|
10043
|
-
}
|
|
10044
10338
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10045
10339
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
10046
10340
|
});
|
|
@@ -12529,7 +12823,7 @@ class Client extends openapi_core_1.default {
|
|
|
12529
12823
|
return await this.describeDBClusterServerlessConfWithOptions(request, runtime);
|
|
12530
12824
|
}
|
|
12531
12825
|
/**
|
|
12532
|
-
* Queries the
|
|
12826
|
+
* Queries the Transparent Data Encryption (TDE) settings of a PolarDB cluster.
|
|
12533
12827
|
*
|
|
12534
12828
|
* @param request - DescribeDBClusterTDERequest
|
|
12535
12829
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12570,7 +12864,7 @@ class Client extends openapi_core_1.default {
|
|
|
12570
12864
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterTDEResponse({}));
|
|
12571
12865
|
}
|
|
12572
12866
|
/**
|
|
12573
|
-
* Queries the
|
|
12867
|
+
* Queries the Transparent Data Encryption (TDE) settings of a PolarDB cluster.
|
|
12574
12868
|
*
|
|
12575
12869
|
* @param request - DescribeDBClusterTDERequest
|
|
12576
12870
|
* @returns DescribeDBClusterTDEResponse
|
|
@@ -14745,6 +15039,102 @@ class Client extends openapi_core_1.default {
|
|
|
14745
15039
|
let runtime = new $dara.RuntimeOptions({});
|
|
14746
15040
|
return await this.describeHistoryTasksStatWithOptions(request, runtime);
|
|
14747
15041
|
}
|
|
15042
|
+
/**
|
|
15043
|
+
* Queries the details of a knowledge base.
|
|
15044
|
+
*
|
|
15045
|
+
* @param request - DescribeKnowledgeBaseAttributeRequest
|
|
15046
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15047
|
+
* @returns DescribeKnowledgeBaseAttributeResponse
|
|
15048
|
+
*/
|
|
15049
|
+
async describeKnowledgeBaseAttributeWithOptions(request, runtime) {
|
|
15050
|
+
request.validate();
|
|
15051
|
+
let query = {};
|
|
15052
|
+
if (!$dara.isNull(request.knowledgeBaseId)) {
|
|
15053
|
+
query["KnowledgeBaseId"] = request.knowledgeBaseId;
|
|
15054
|
+
}
|
|
15055
|
+
if (!$dara.isNull(request.regionId)) {
|
|
15056
|
+
query["RegionId"] = request.regionId;
|
|
15057
|
+
}
|
|
15058
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
15059
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
15060
|
+
});
|
|
15061
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
15062
|
+
action: "DescribeKnowledgeBaseAttribute",
|
|
15063
|
+
version: "2017-08-01",
|
|
15064
|
+
protocol: "HTTPS",
|
|
15065
|
+
pathname: "/",
|
|
15066
|
+
method: "POST",
|
|
15067
|
+
authType: "AK",
|
|
15068
|
+
style: "RPC",
|
|
15069
|
+
reqBodyType: "formData",
|
|
15070
|
+
bodyType: "json",
|
|
15071
|
+
});
|
|
15072
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKnowledgeBaseAttributeResponse({}));
|
|
15073
|
+
}
|
|
15074
|
+
/**
|
|
15075
|
+
* Queries the details of a knowledge base.
|
|
15076
|
+
*
|
|
15077
|
+
* @param request - DescribeKnowledgeBaseAttributeRequest
|
|
15078
|
+
* @returns DescribeKnowledgeBaseAttributeResponse
|
|
15079
|
+
*/
|
|
15080
|
+
async describeKnowledgeBaseAttribute(request) {
|
|
15081
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
15082
|
+
return await this.describeKnowledgeBaseAttributeWithOptions(request, runtime);
|
|
15083
|
+
}
|
|
15084
|
+
/**
|
|
15085
|
+
* Queries a list of knowledge bases.
|
|
15086
|
+
*
|
|
15087
|
+
* @param request - DescribeKnowledgeBasesRequest
|
|
15088
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15089
|
+
* @returns DescribeKnowledgeBasesResponse
|
|
15090
|
+
*/
|
|
15091
|
+
async describeKnowledgeBasesWithOptions(request, runtime) {
|
|
15092
|
+
request.validate();
|
|
15093
|
+
let query = {};
|
|
15094
|
+
if (!$dara.isNull(request.keyword)) {
|
|
15095
|
+
query["Keyword"] = request.keyword;
|
|
15096
|
+
}
|
|
15097
|
+
if (!$dara.isNull(request.knowledgeSpaceId)) {
|
|
15098
|
+
query["KnowledgeSpaceId"] = request.knowledgeSpaceId;
|
|
15099
|
+
}
|
|
15100
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
15101
|
+
query["PageNumber"] = request.pageNumber;
|
|
15102
|
+
}
|
|
15103
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
15104
|
+
query["PageSize"] = request.pageSize;
|
|
15105
|
+
}
|
|
15106
|
+
if (!$dara.isNull(request.regionId)) {
|
|
15107
|
+
query["RegionId"] = request.regionId;
|
|
15108
|
+
}
|
|
15109
|
+
if (!$dara.isNull(request.status)) {
|
|
15110
|
+
query["Status"] = request.status;
|
|
15111
|
+
}
|
|
15112
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
15113
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
15114
|
+
});
|
|
15115
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
15116
|
+
action: "DescribeKnowledgeBases",
|
|
15117
|
+
version: "2017-08-01",
|
|
15118
|
+
protocol: "HTTPS",
|
|
15119
|
+
pathname: "/",
|
|
15120
|
+
method: "POST",
|
|
15121
|
+
authType: "AK",
|
|
15122
|
+
style: "RPC",
|
|
15123
|
+
reqBodyType: "formData",
|
|
15124
|
+
bodyType: "json",
|
|
15125
|
+
});
|
|
15126
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKnowledgeBasesResponse({}));
|
|
15127
|
+
}
|
|
15128
|
+
/**
|
|
15129
|
+
* Queries a list of knowledge bases.
|
|
15130
|
+
*
|
|
15131
|
+
* @param request - DescribeKnowledgeBasesRequest
|
|
15132
|
+
* @returns DescribeKnowledgeBasesResponse
|
|
15133
|
+
*/
|
|
15134
|
+
async describeKnowledgeBases(request) {
|
|
15135
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
15136
|
+
return await this.describeKnowledgeBasesWithOptions(request, runtime);
|
|
15137
|
+
}
|
|
14748
15138
|
/**
|
|
14749
15139
|
* Queries the details of a PolarFS S3 account.
|
|
14750
15140
|
*
|
|
@@ -15130,7 +15520,7 @@ class Client extends openapi_core_1.default {
|
|
|
15130
15520
|
return await this.describeMetaListWithOptions(request, runtime);
|
|
15131
15521
|
}
|
|
15132
15522
|
/**
|
|
15133
|
-
*
|
|
15523
|
+
* Queries model APIs.
|
|
15134
15524
|
*
|
|
15135
15525
|
* @param request - DescribeModelApisRequest
|
|
15136
15526
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15186,7 +15576,7 @@ class Client extends openapi_core_1.default {
|
|
|
15186
15576
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeModelApisResponse({}));
|
|
15187
15577
|
}
|
|
15188
15578
|
/**
|
|
15189
|
-
*
|
|
15579
|
+
* Queries model APIs.
|
|
15190
15580
|
*
|
|
15191
15581
|
* @param request - DescribeModelApisRequest
|
|
15192
15582
|
* @returns DescribeModelApisResponse
|
|
@@ -19130,7 +19520,7 @@ class Client extends openapi_core_1.default {
|
|
|
19130
19520
|
return await this.grantAccountPrivilegeZonalWithOptions(request, runtime);
|
|
19131
19521
|
}
|
|
19132
19522
|
/**
|
|
19133
|
-
* Installs
|
|
19523
|
+
* Installs the PolarClaw plug-in.
|
|
19134
19524
|
*
|
|
19135
19525
|
* @param request - InstallPolarClawPluginRequest
|
|
19136
19526
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19168,7 +19558,7 @@ class Client extends openapi_core_1.default {
|
|
|
19168
19558
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallPolarClawPluginResponse({}));
|
|
19169
19559
|
}
|
|
19170
19560
|
/**
|
|
19171
|
-
* Installs
|
|
19561
|
+
* Installs the PolarClaw plug-in.
|
|
19172
19562
|
*
|
|
19173
19563
|
* @param request - InstallPolarClawPluginRequest
|
|
19174
19564
|
* @returns InstallPolarClawPluginResponse
|
|
@@ -23753,6 +24143,9 @@ class Client extends openapi_core_1.default {
|
|
|
23753
24143
|
async modifyModelApiWithOptions(request, runtime) {
|
|
23754
24144
|
request.validate();
|
|
23755
24145
|
let query = {};
|
|
24146
|
+
if (!$dara.isNull(request.config)) {
|
|
24147
|
+
query["Config"] = request.config;
|
|
24148
|
+
}
|
|
23756
24149
|
if (!$dara.isNull(request.gwClusterId)) {
|
|
23757
24150
|
query["GwClusterId"] = request.gwClusterId;
|
|
23758
24151
|
}
|