@alicloud/polardb20170801 7.13.0 → 8.1.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 +126 -36
- package/dist/client.js +400 -58
- package/dist/client.js.map +1 -1
- package/dist/models/AddPolarOssauthorizedAccountRequest.d.ts +10 -0
- package/dist/models/AddPolarOssauthorizedAccountRequest.js.map +1 -1
- package/dist/models/AddPolarOssauthorizedAccountResponseBody.d.ts +12 -0
- package/dist/models/AddPolarOssauthorizedAccountResponseBody.js.map +1 -1
- 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 +10 -0
- package/dist/models/DeletePolarOssauthorizedAccountRequest.js.map +1 -1
- package/dist/models/DeletePolarOssauthorizedAccountResponseBody.d.ts +12 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponseBody.js.map +1 -1
- 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 +49 -31
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +4 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +8 -8
- package/dist/models/DescribeAidbclusterTasksRequest.d.ts +10 -0
- package/dist/models/DescribeAidbclusterTasksRequest.js +4 -0
- package/dist/models/DescribeAidbclusterTasksRequest.js.map +1 -1
- package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +25 -1
- package/dist/models/DescribeAidbclusterTasksResponseBody.js +8 -0
- package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -1
- 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/DescribeApplicationAttributeResponseBody.d.ts +86 -24
- package/dist/models/DescribeApplicationAttributeResponseBody.js +31 -1
- package/dist/models/DescribeApplicationAttributeResponseBody.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/DescribeApplicationSslrequest.d.ts +23 -0
- package/dist/models/DescribeApplicationSslrequest.js +58 -0
- package/dist/models/DescribeApplicationSslrequest.js.map +1 -0
- package/dist/models/DescribeApplicationSslresponse.d.ts +19 -0
- package/dist/models/DescribeApplicationSslresponse.js +69 -0
- package/dist/models/DescribeApplicationSslresponse.js.map +1 -0
- package/dist/models/DescribeApplicationSslresponseBody.d.ts +82 -0
- package/dist/models/DescribeApplicationSslresponseBody.js +72 -0
- package/dist/models/DescribeApplicationSslresponseBody.js.map +1 -0
- 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/DescribeVswitchesRequest.d.ts +0 -53
- package/dist/models/DescribeVswitchesRequest.js.map +1 -1
- package/dist/models/DescribeVswitchesResponseBody.d.ts +0 -96
- package/dist/models/DescribeVswitchesResponseBody.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/ModifyDbnodeHotReplicaModeRequest.d.ts +2 -2
- package/dist/models/ModifyDbnodeHotReplicaModeResponseBody.d.ts +2 -2
- 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 +21 -0
- package/dist/models/model.js +88 -45
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +455 -59
- package/src/models/AddPolarOssauthorizedAccountRequest.ts +10 -0
- package/src/models/AddPolarOssauthorizedAccountResponseBody.ts +12 -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 +10 -0
- package/src/models/DeletePolarOssauthorizedAccountResponseBody.ts +12 -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 +53 -31
- package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +8 -8
- package/src/models/DescribeAidbclusterTasksRequest.ts +14 -0
- package/src/models/DescribeAidbclusterTasksResponseBody.ts +33 -1
- package/src/models/DescribeAidbclustersRequest.ts +25 -39
- package/src/models/DescribeAidbclustersResponseBody.ts +3 -7
- package/src/models/DescribeApplicationAttributeResponseBody.ts +107 -24
- package/src/models/DescribeApplicationPerformanceRequest.ts +4 -4
- package/src/models/DescribeApplicationPerformanceShrinkRequest.ts +4 -4
- package/src/models/DescribeApplicationSslrequest.ts +36 -0
- package/src/models/DescribeApplicationSslresponse.ts +40 -0
- package/src/models/DescribeApplicationSslresponseBody.ts +109 -0
- 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/DescribeVswitchesRequest.ts +0 -53
- package/src/models/DescribeVswitchesResponseBody.ts +0 -96
- package/src/models/InstallPolarClawPluginRequest.ts +2 -4
- package/src/models/InstallPolarClawPluginResponseBody.ts +4 -4
- package/src/models/ModifyDbnodeHotReplicaModeRequest.ts +2 -2
- package/src/models/ModifyDbnodeHotReplicaModeResponseBody.ts +2 -2
- package/src/models/ModifyModelApiRequest.ts +29 -17
- package/src/models/ModifyModelApiResponseBody.ts +1 -1
- package/src/models/model.ts +21 -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);
|
|
@@ -501,7 +501,7 @@ class Client extends openapi_core_1.default {
|
|
|
501
501
|
return await this.addPolarFsQuotaWithOptions(request, runtime);
|
|
502
502
|
}
|
|
503
503
|
/**
|
|
504
|
-
*
|
|
504
|
+
* Adds authorized accounts for cold storage.
|
|
505
505
|
*
|
|
506
506
|
* @param request - AddPolarOSSAuthorizedAccountRequest
|
|
507
507
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -539,7 +539,7 @@ class Client extends openapi_core_1.default {
|
|
|
539
539
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddPolarOSSAuthorizedAccountResponse({}));
|
|
540
540
|
}
|
|
541
541
|
/**
|
|
542
|
-
*
|
|
542
|
+
* Adds authorized accounts for cold storage.
|
|
543
543
|
*
|
|
544
544
|
* @param request - AddPolarOSSAuthorizedAccountRequest
|
|
545
545
|
* @returns AddPolarOSSAuthorizedAccountResponse
|
|
@@ -1784,7 +1784,7 @@ class Client extends openapi_core_1.default {
|
|
|
1784
1784
|
return await this.continueDBClusterMigrationWithOptions(request, runtime);
|
|
1785
1785
|
}
|
|
1786
1786
|
/**
|
|
1787
|
-
*
|
|
1787
|
+
* Creates an AI cluster.
|
|
1788
1788
|
*
|
|
1789
1789
|
* @param request - CreateAIDBClusterRequest
|
|
1790
1790
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1915,7 +1915,7 @@ class Client extends openapi_core_1.default {
|
|
|
1915
1915
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAIDBClusterResponse({}));
|
|
1916
1916
|
}
|
|
1917
1917
|
/**
|
|
1918
|
-
*
|
|
1918
|
+
* Creates an AI cluster.
|
|
1919
1919
|
*
|
|
1920
1920
|
* @param request - CreateAIDBClusterRequest
|
|
1921
1921
|
* @returns CreateAIDBClusterResponse
|
|
@@ -1925,7 +1925,7 @@ class Client extends openapi_core_1.default {
|
|
|
1925
1925
|
return await this.createAIDBClusterWithOptions(request, runtime);
|
|
1926
1926
|
}
|
|
1927
1927
|
/**
|
|
1928
|
-
* Creates a model service API key.
|
|
1928
|
+
* Creates a model creation service API key.
|
|
1929
1929
|
*
|
|
1930
1930
|
* @param request - CreateAIDBClusterApiKeyRequest
|
|
1931
1931
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1960,7 +1960,7 @@ class Client extends openapi_core_1.default {
|
|
|
1960
1960
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAIDBClusterApiKeyResponse({}));
|
|
1961
1961
|
}
|
|
1962
1962
|
/**
|
|
1963
|
-
* Creates a model service API key.
|
|
1963
|
+
* Creates a model creation service API key.
|
|
1964
1964
|
*
|
|
1965
1965
|
* @param request - CreateAIDBClusterApiKeyRequest
|
|
1966
1966
|
* @returns CreateAIDBClusterApiKeyResponse
|
|
@@ -2510,7 +2510,7 @@ class Client extends openapi_core_1.default {
|
|
|
2510
2510
|
return await this.createAgenticDBProjectWithOptions(request, runtime);
|
|
2511
2511
|
}
|
|
2512
2512
|
/**
|
|
2513
|
-
*
|
|
2513
|
+
* Creates an API key for an AgenticDB tenant.
|
|
2514
2514
|
*
|
|
2515
2515
|
* @param request - CreateAgenticDBTenantApiKeyRequest
|
|
2516
2516
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2551,7 +2551,7 @@ class Client extends openapi_core_1.default {
|
|
|
2551
2551
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAgenticDBTenantApiKeyResponse({}));
|
|
2552
2552
|
}
|
|
2553
2553
|
/**
|
|
2554
|
-
*
|
|
2554
|
+
* Creates an API key for an AgenticDB tenant.
|
|
2555
2555
|
*
|
|
2556
2556
|
* @param request - CreateAgenticDBTenantApiKeyRequest
|
|
2557
2557
|
* @returns CreateAgenticDBTenantApiKeyResponse
|
|
@@ -4680,6 +4680,150 @@ class Client extends openapi_core_1.default {
|
|
|
4680
4680
|
let runtime = new $dara.RuntimeOptions({});
|
|
4681
4681
|
return await this.createGwConsumerOrderWithOptions(request, runtime);
|
|
4682
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
|
+
}
|
|
4683
4827
|
/**
|
|
4684
4828
|
* Creates a PolarFS S3 account.
|
|
4685
4829
|
*
|
|
@@ -4732,7 +4876,7 @@ class Client extends openapi_core_1.default {
|
|
|
4732
4876
|
return await this.createLakebaseS3AccountWithOptions(request, runtime);
|
|
4733
4877
|
}
|
|
4734
4878
|
/**
|
|
4735
|
-
* Creates a
|
|
4879
|
+
* Creates a routing rule.
|
|
4736
4880
|
*
|
|
4737
4881
|
* @param request - CreateModelApiRequest
|
|
4738
4882
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4741,6 +4885,9 @@ class Client extends openapi_core_1.default {
|
|
|
4741
4885
|
async createModelApiWithOptions(request, runtime) {
|
|
4742
4886
|
request.validate();
|
|
4743
4887
|
let query = {};
|
|
4888
|
+
if (!$dara.isNull(request.config)) {
|
|
4889
|
+
query["Config"] = request.config;
|
|
4890
|
+
}
|
|
4744
4891
|
if (!$dara.isNull(request.forceModel)) {
|
|
4745
4892
|
query["ForceModel"] = request.forceModel;
|
|
4746
4893
|
}
|
|
@@ -4788,7 +4935,7 @@ class Client extends openapi_core_1.default {
|
|
|
4788
4935
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateModelApiResponse({}));
|
|
4789
4936
|
}
|
|
4790
4937
|
/**
|
|
4791
|
-
* Creates a
|
|
4938
|
+
* Creates a routing rule.
|
|
4792
4939
|
*
|
|
4793
4940
|
* @param request - CreateModelApiRequest
|
|
4794
4941
|
* @returns CreateModelApiResponse
|
|
@@ -6126,15 +6273,24 @@ class Client extends openapi_core_1.default {
|
|
|
6126
6273
|
async deleteAgenticDBComputeClusterWithOptions(request, runtime) {
|
|
6127
6274
|
request.validate();
|
|
6128
6275
|
let query = {};
|
|
6276
|
+
if (!$dara.isNull(request.branchId)) {
|
|
6277
|
+
query["BranchId"] = request.branchId;
|
|
6278
|
+
}
|
|
6129
6279
|
if (!$dara.isNull(request.computeClusterId)) {
|
|
6130
6280
|
query["ComputeClusterId"] = request.computeClusterId;
|
|
6131
6281
|
}
|
|
6132
6282
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
6133
6283
|
query["DBClusterId"] = request.DBClusterId;
|
|
6134
6284
|
}
|
|
6285
|
+
if (!$dara.isNull(request.projectId)) {
|
|
6286
|
+
query["ProjectId"] = request.projectId;
|
|
6287
|
+
}
|
|
6135
6288
|
if (!$dara.isNull(request.regionId)) {
|
|
6136
6289
|
query["RegionId"] = request.regionId;
|
|
6137
6290
|
}
|
|
6291
|
+
if (!$dara.isNull(request.tenantId)) {
|
|
6292
|
+
query["TenantId"] = request.tenantId;
|
|
6293
|
+
}
|
|
6138
6294
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6139
6295
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6140
6296
|
});
|
|
@@ -7501,6 +7657,48 @@ class Client extends openapi_core_1.default {
|
|
|
7501
7657
|
let runtime = new $dara.RuntimeOptions({});
|
|
7502
7658
|
return await this.deleteGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
7503
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
|
+
}
|
|
7504
7702
|
/**
|
|
7505
7703
|
* Deletes a PolarFS S3 account.
|
|
7506
7704
|
*
|
|
@@ -8188,7 +8386,7 @@ class Client extends openapi_core_1.default {
|
|
|
8188
8386
|
return await this.deletePolarFsQuotaWithOptions(request, runtime);
|
|
8189
8387
|
}
|
|
8190
8388
|
/**
|
|
8191
|
-
*
|
|
8389
|
+
* Deletes authorized accounts for cold storage.
|
|
8192
8390
|
*
|
|
8193
8391
|
* @param request - DeletePolarOSSAuthorizedAccountRequest
|
|
8194
8392
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8226,7 +8424,7 @@ class Client extends openapi_core_1.default {
|
|
|
8226
8424
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePolarOSSAuthorizedAccountResponse({}));
|
|
8227
8425
|
}
|
|
8228
8426
|
/**
|
|
8229
|
-
*
|
|
8427
|
+
* Deletes authorized accounts for cold storage.
|
|
8230
8428
|
*
|
|
8231
8429
|
* @param request - DeletePolarOSSAuthorizedAccountRequest
|
|
8232
8430
|
* @returns DeletePolarOSSAuthorizedAccountResponse
|
|
@@ -8436,7 +8634,7 @@ class Client extends openapi_core_1.default {
|
|
|
8436
8634
|
return await this.describeAIDBClusterApiKeysWithOptions(request, runtime);
|
|
8437
8635
|
}
|
|
8438
8636
|
/**
|
|
8439
|
-
* Queries the
|
|
8637
|
+
* Queries the detailed attributes of a custom instance.
|
|
8440
8638
|
*
|
|
8441
8639
|
* @param request - DescribeAIDBClusterAttributeRequest
|
|
8442
8640
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8477,7 +8675,7 @@ class Client extends openapi_core_1.default {
|
|
|
8477
8675
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClusterAttributeResponse({}));
|
|
8478
8676
|
}
|
|
8479
8677
|
/**
|
|
8480
|
-
* Queries the
|
|
8678
|
+
* Queries the detailed attributes of a custom instance.
|
|
8481
8679
|
*
|
|
8482
8680
|
* @param request - DescribeAIDBClusterAttributeRequest
|
|
8483
8681
|
* @returns DescribeAIDBClusterAttributeResponse
|
|
@@ -8793,11 +8991,11 @@ class Client extends openapi_core_1.default {
|
|
|
8793
8991
|
return await this.describeAIDBClusterTaskMetricsWithOptions(request, runtime);
|
|
8794
8992
|
}
|
|
8795
8993
|
/**
|
|
8796
|
-
* Retrieves the list of
|
|
8994
|
+
* Retrieves the list of template operators for a specified PolarDB database instance.
|
|
8797
8995
|
*
|
|
8798
8996
|
* @remarks
|
|
8799
|
-
* ##
|
|
8800
|
-
* - This operation supports filtering and returning the list of
|
|
8997
|
+
* ## Request description
|
|
8998
|
+
* - This operation supports filtering and returning the list of template operators based on the `RelativeDBClusterId` and `KubeType` parameters.
|
|
8801
8999
|
* - Note: Ensure that the `RelativeDBClusterId` provided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
|
|
8802
9000
|
*
|
|
8803
9001
|
* @param request - DescribeAIDBClusterTasksRequest
|
|
@@ -8816,6 +9014,12 @@ class Client extends openapi_core_1.default {
|
|
|
8816
9014
|
if (!$dara.isNull(request.ownerId)) {
|
|
8817
9015
|
query["OwnerId"] = request.ownerId;
|
|
8818
9016
|
}
|
|
9017
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
9018
|
+
query["PageNumber"] = request.pageNumber;
|
|
9019
|
+
}
|
|
9020
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
9021
|
+
query["PageSize"] = request.pageSize;
|
|
9022
|
+
}
|
|
8819
9023
|
if (!$dara.isNull(request.regionId)) {
|
|
8820
9024
|
query["RegionId"] = request.regionId;
|
|
8821
9025
|
}
|
|
@@ -8845,11 +9049,11 @@ class Client extends openapi_core_1.default {
|
|
|
8845
9049
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClusterTasksResponse({}));
|
|
8846
9050
|
}
|
|
8847
9051
|
/**
|
|
8848
|
-
* Retrieves the list of
|
|
9052
|
+
* Retrieves the list of template operators for a specified PolarDB database instance.
|
|
8849
9053
|
*
|
|
8850
9054
|
* @remarks
|
|
8851
|
-
* ##
|
|
8852
|
-
* - This operation supports filtering and returning the list of
|
|
9055
|
+
* ## Request description
|
|
9056
|
+
* - This operation supports filtering and returning the list of template operators based on the `RelativeDBClusterId` and `KubeType` parameters.
|
|
8853
9057
|
* - Note: Ensure that the `RelativeDBClusterId` provided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
|
|
8854
9058
|
*
|
|
8855
9059
|
* @param request - DescribeAIDBClusterTasksRequest
|
|
@@ -8860,7 +9064,7 @@ class Client extends openapi_core_1.default {
|
|
|
8860
9064
|
return await this.describeAIDBClusterTasksWithOptions(request, runtime);
|
|
8861
9065
|
}
|
|
8862
9066
|
/**
|
|
8863
|
-
*
|
|
9067
|
+
* Queries the list of custom AI clusters.
|
|
8864
9068
|
*
|
|
8865
9069
|
* @param request - DescribeAIDBClustersRequest
|
|
8866
9070
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8925,7 +9129,7 @@ class Client extends openapi_core_1.default {
|
|
|
8925
9129
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClustersResponse({}));
|
|
8926
9130
|
}
|
|
8927
9131
|
/**
|
|
8928
|
-
*
|
|
9132
|
+
* Queries the list of custom AI clusters.
|
|
8929
9133
|
*
|
|
8930
9134
|
* @param request - DescribeAIDBClustersRequest
|
|
8931
9135
|
* @returns DescribeAIDBClustersResponse
|
|
@@ -9758,7 +9962,7 @@ class Client extends openapi_core_1.default {
|
|
|
9758
9962
|
return await this.describeAgenticDBProjectWithOptions(request, runtime);
|
|
9759
9963
|
}
|
|
9760
9964
|
/**
|
|
9761
|
-
*
|
|
9965
|
+
* Queries the list of AgenticDB projects.
|
|
9762
9966
|
*
|
|
9763
9967
|
* @param request - DescribeAgenticDBProjectsRequest
|
|
9764
9968
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9805,7 +10009,7 @@ class Client extends openapi_core_1.default {
|
|
|
9805
10009
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAgenticDBProjectsResponse({}));
|
|
9806
10010
|
}
|
|
9807
10011
|
/**
|
|
9808
|
-
*
|
|
10012
|
+
* Queries the list of AgenticDB projects.
|
|
9809
10013
|
*
|
|
9810
10014
|
* @param request - DescribeAgenticDBProjectsRequest
|
|
9811
10015
|
* @returns DescribeAgenticDBProjectsResponse
|
|
@@ -9914,10 +10118,10 @@ class Client extends openapi_core_1.default {
|
|
|
9914
10118
|
return await this.describeApikeyAttributeWithOptions(request, runtime);
|
|
9915
10119
|
}
|
|
9916
10120
|
/**
|
|
9917
|
-
* Retrieves the
|
|
10121
|
+
* Retrieves the details of a specified PolarDB instance application.
|
|
9918
10122
|
*
|
|
9919
10123
|
* @remarks
|
|
9920
|
-
* This API
|
|
10124
|
+
* This API operation queries all information about a specific PolarDB application, including but not limited to component details and endpoints.
|
|
9921
10125
|
*
|
|
9922
10126
|
* @param request - DescribeApplicationAttributeRequest
|
|
9923
10127
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9946,10 +10150,10 @@ class Client extends openapi_core_1.default {
|
|
|
9946
10150
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationAttributeResponse({}));
|
|
9947
10151
|
}
|
|
9948
10152
|
/**
|
|
9949
|
-
* Retrieves the
|
|
10153
|
+
* Retrieves the details of a specified PolarDB instance application.
|
|
9950
10154
|
*
|
|
9951
10155
|
* @remarks
|
|
9952
|
-
* This API
|
|
10156
|
+
* This API operation queries all information about a specific PolarDB application, including but not limited to component details and endpoints.
|
|
9953
10157
|
*
|
|
9954
10158
|
* @param request - DescribeApplicationAttributeRequest
|
|
9955
10159
|
* @returns DescribeApplicationAttributeResponse
|
|
@@ -10095,7 +10299,7 @@ class Client extends openapi_core_1.default {
|
|
|
10095
10299
|
let request = new $_model.DescribeApplicationPerformanceShrinkRequest({});
|
|
10096
10300
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
10097
10301
|
if (!$dara.isNull(tmpReq.filter)) {
|
|
10098
|
-
request.filterShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filter, "
|
|
10302
|
+
request.filterShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filter, "Filter", "json");
|
|
10099
10303
|
}
|
|
10100
10304
|
let query = {};
|
|
10101
10305
|
if (!$dara.isNull(request.applicationId)) {
|
|
@@ -10116,6 +10320,9 @@ class Client extends openapi_core_1.default {
|
|
|
10116
10320
|
if (!$dara.isNull(request.endTime)) {
|
|
10117
10321
|
query["EndTime"] = request.endTime;
|
|
10118
10322
|
}
|
|
10323
|
+
if (!$dara.isNull(request.filterShrink)) {
|
|
10324
|
+
query["Filter"] = request.filterShrink;
|
|
10325
|
+
}
|
|
10119
10326
|
if (!$dara.isNull(request.interval)) {
|
|
10120
10327
|
query["Interval"] = request.interval;
|
|
10121
10328
|
}
|
|
@@ -10134,9 +10341,6 @@ class Client extends openapi_core_1.default {
|
|
|
10134
10341
|
if (!$dara.isNull(request.startTime)) {
|
|
10135
10342
|
query["StartTime"] = request.startTime;
|
|
10136
10343
|
}
|
|
10137
|
-
if (!$dara.isNull(request.filterShrink)) {
|
|
10138
|
-
query["filter"] = request.filterShrink;
|
|
10139
|
-
}
|
|
10140
10344
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10141
10345
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
10142
10346
|
});
|
|
@@ -10208,6 +10412,45 @@ class Client extends openapi_core_1.default {
|
|
|
10208
10412
|
let runtime = new $dara.RuntimeOptions({});
|
|
10209
10413
|
return await this.describeApplicationPromptsWithOptions(request, runtime);
|
|
10210
10414
|
}
|
|
10415
|
+
/**
|
|
10416
|
+
* Queries the SSL configuration of an application.
|
|
10417
|
+
*
|
|
10418
|
+
* @param request - DescribeApplicationSSLRequest
|
|
10419
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10420
|
+
* @returns DescribeApplicationSSLResponse
|
|
10421
|
+
*/
|
|
10422
|
+
async describeApplicationSSLWithOptions(request, runtime) {
|
|
10423
|
+
request.validate();
|
|
10424
|
+
let query = {};
|
|
10425
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
10426
|
+
query["ApplicationId"] = request.applicationId;
|
|
10427
|
+
}
|
|
10428
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10429
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
10430
|
+
});
|
|
10431
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
10432
|
+
action: "DescribeApplicationSSL",
|
|
10433
|
+
version: "2017-08-01",
|
|
10434
|
+
protocol: "HTTPS",
|
|
10435
|
+
pathname: "/",
|
|
10436
|
+
method: "POST",
|
|
10437
|
+
authType: "AK",
|
|
10438
|
+
style: "RPC",
|
|
10439
|
+
reqBodyType: "formData",
|
|
10440
|
+
bodyType: "json",
|
|
10441
|
+
});
|
|
10442
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationSSLResponse({}));
|
|
10443
|
+
}
|
|
10444
|
+
/**
|
|
10445
|
+
* Queries the SSL configuration of an application.
|
|
10446
|
+
*
|
|
10447
|
+
* @param request - DescribeApplicationSSLRequest
|
|
10448
|
+
* @returns DescribeApplicationSSLResponse
|
|
10449
|
+
*/
|
|
10450
|
+
async describeApplicationSSL(request) {
|
|
10451
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
10452
|
+
return await this.describeApplicationSSLWithOptions(request, runtime);
|
|
10453
|
+
}
|
|
10211
10454
|
/**
|
|
10212
10455
|
* Queries the Serverless configuration for a PolarDB application.
|
|
10213
10456
|
*
|
|
@@ -12625,7 +12868,7 @@ class Client extends openapi_core_1.default {
|
|
|
12625
12868
|
return await this.describeDBClusterServerlessConfWithOptions(request, runtime);
|
|
12626
12869
|
}
|
|
12627
12870
|
/**
|
|
12628
|
-
* Queries the
|
|
12871
|
+
* Queries the Transparent Data Encryption (TDE) settings of a PolarDB cluster.
|
|
12629
12872
|
*
|
|
12630
12873
|
* @param request - DescribeDBClusterTDERequest
|
|
12631
12874
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12666,7 +12909,7 @@ class Client extends openapi_core_1.default {
|
|
|
12666
12909
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterTDEResponse({}));
|
|
12667
12910
|
}
|
|
12668
12911
|
/**
|
|
12669
|
-
* Queries the
|
|
12912
|
+
* Queries the Transparent Data Encryption (TDE) settings of a PolarDB cluster.
|
|
12670
12913
|
*
|
|
12671
12914
|
* @param request - DescribeDBClusterTDERequest
|
|
12672
12915
|
* @returns DescribeDBClusterTDEResponse
|
|
@@ -14841,6 +15084,102 @@ class Client extends openapi_core_1.default {
|
|
|
14841
15084
|
let runtime = new $dara.RuntimeOptions({});
|
|
14842
15085
|
return await this.describeHistoryTasksStatWithOptions(request, runtime);
|
|
14843
15086
|
}
|
|
15087
|
+
/**
|
|
15088
|
+
* Queries the details of a knowledge base.
|
|
15089
|
+
*
|
|
15090
|
+
* @param request - DescribeKnowledgeBaseAttributeRequest
|
|
15091
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15092
|
+
* @returns DescribeKnowledgeBaseAttributeResponse
|
|
15093
|
+
*/
|
|
15094
|
+
async describeKnowledgeBaseAttributeWithOptions(request, runtime) {
|
|
15095
|
+
request.validate();
|
|
15096
|
+
let query = {};
|
|
15097
|
+
if (!$dara.isNull(request.knowledgeBaseId)) {
|
|
15098
|
+
query["KnowledgeBaseId"] = request.knowledgeBaseId;
|
|
15099
|
+
}
|
|
15100
|
+
if (!$dara.isNull(request.regionId)) {
|
|
15101
|
+
query["RegionId"] = request.regionId;
|
|
15102
|
+
}
|
|
15103
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
15104
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
15105
|
+
});
|
|
15106
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
15107
|
+
action: "DescribeKnowledgeBaseAttribute",
|
|
15108
|
+
version: "2017-08-01",
|
|
15109
|
+
protocol: "HTTPS",
|
|
15110
|
+
pathname: "/",
|
|
15111
|
+
method: "POST",
|
|
15112
|
+
authType: "AK",
|
|
15113
|
+
style: "RPC",
|
|
15114
|
+
reqBodyType: "formData",
|
|
15115
|
+
bodyType: "json",
|
|
15116
|
+
});
|
|
15117
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKnowledgeBaseAttributeResponse({}));
|
|
15118
|
+
}
|
|
15119
|
+
/**
|
|
15120
|
+
* Queries the details of a knowledge base.
|
|
15121
|
+
*
|
|
15122
|
+
* @param request - DescribeKnowledgeBaseAttributeRequest
|
|
15123
|
+
* @returns DescribeKnowledgeBaseAttributeResponse
|
|
15124
|
+
*/
|
|
15125
|
+
async describeKnowledgeBaseAttribute(request) {
|
|
15126
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
15127
|
+
return await this.describeKnowledgeBaseAttributeWithOptions(request, runtime);
|
|
15128
|
+
}
|
|
15129
|
+
/**
|
|
15130
|
+
* Queries a list of knowledge bases.
|
|
15131
|
+
*
|
|
15132
|
+
* @param request - DescribeKnowledgeBasesRequest
|
|
15133
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15134
|
+
* @returns DescribeKnowledgeBasesResponse
|
|
15135
|
+
*/
|
|
15136
|
+
async describeKnowledgeBasesWithOptions(request, runtime) {
|
|
15137
|
+
request.validate();
|
|
15138
|
+
let query = {};
|
|
15139
|
+
if (!$dara.isNull(request.keyword)) {
|
|
15140
|
+
query["Keyword"] = request.keyword;
|
|
15141
|
+
}
|
|
15142
|
+
if (!$dara.isNull(request.knowledgeSpaceId)) {
|
|
15143
|
+
query["KnowledgeSpaceId"] = request.knowledgeSpaceId;
|
|
15144
|
+
}
|
|
15145
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
15146
|
+
query["PageNumber"] = request.pageNumber;
|
|
15147
|
+
}
|
|
15148
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
15149
|
+
query["PageSize"] = request.pageSize;
|
|
15150
|
+
}
|
|
15151
|
+
if (!$dara.isNull(request.regionId)) {
|
|
15152
|
+
query["RegionId"] = request.regionId;
|
|
15153
|
+
}
|
|
15154
|
+
if (!$dara.isNull(request.status)) {
|
|
15155
|
+
query["Status"] = request.status;
|
|
15156
|
+
}
|
|
15157
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
15158
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
15159
|
+
});
|
|
15160
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
15161
|
+
action: "DescribeKnowledgeBases",
|
|
15162
|
+
version: "2017-08-01",
|
|
15163
|
+
protocol: "HTTPS",
|
|
15164
|
+
pathname: "/",
|
|
15165
|
+
method: "POST",
|
|
15166
|
+
authType: "AK",
|
|
15167
|
+
style: "RPC",
|
|
15168
|
+
reqBodyType: "formData",
|
|
15169
|
+
bodyType: "json",
|
|
15170
|
+
});
|
|
15171
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKnowledgeBasesResponse({}));
|
|
15172
|
+
}
|
|
15173
|
+
/**
|
|
15174
|
+
* Queries a list of knowledge bases.
|
|
15175
|
+
*
|
|
15176
|
+
* @param request - DescribeKnowledgeBasesRequest
|
|
15177
|
+
* @returns DescribeKnowledgeBasesResponse
|
|
15178
|
+
*/
|
|
15179
|
+
async describeKnowledgeBases(request) {
|
|
15180
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
15181
|
+
return await this.describeKnowledgeBasesWithOptions(request, runtime);
|
|
15182
|
+
}
|
|
14844
15183
|
/**
|
|
14845
15184
|
* Queries the details of a PolarFS S3 account.
|
|
14846
15185
|
*
|
|
@@ -15226,7 +15565,7 @@ class Client extends openapi_core_1.default {
|
|
|
15226
15565
|
return await this.describeMetaListWithOptions(request, runtime);
|
|
15227
15566
|
}
|
|
15228
15567
|
/**
|
|
15229
|
-
*
|
|
15568
|
+
* Queries model APIs.
|
|
15230
15569
|
*
|
|
15231
15570
|
* @param request - DescribeModelApisRequest
|
|
15232
15571
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15282,7 +15621,7 @@ class Client extends openapi_core_1.default {
|
|
|
15282
15621
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeModelApisResponse({}));
|
|
15283
15622
|
}
|
|
15284
15623
|
/**
|
|
15285
|
-
*
|
|
15624
|
+
* Queries model APIs.
|
|
15286
15625
|
*
|
|
15287
15626
|
* @param request - DescribeModelApisRequest
|
|
15288
15627
|
* @returns DescribeModelApisResponse
|
|
@@ -17653,7 +17992,7 @@ class Client extends openapi_core_1.default {
|
|
|
17653
17992
|
return await this.describeVSwitchListWithOptions(request, runtime);
|
|
17654
17993
|
}
|
|
17655
17994
|
/**
|
|
17656
|
-
*
|
|
17995
|
+
* 查询交换机
|
|
17657
17996
|
*
|
|
17658
17997
|
* @param request - DescribeVSwitchesRequest
|
|
17659
17998
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17715,7 +18054,7 @@ class Client extends openapi_core_1.default {
|
|
|
17715
18054
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVSwitchesResponse({}));
|
|
17716
18055
|
}
|
|
17717
18056
|
/**
|
|
17718
|
-
*
|
|
18057
|
+
* 查询交换机
|
|
17719
18058
|
*
|
|
17720
18059
|
* @param request - DescribeVSwitchesRequest
|
|
17721
18060
|
* @returns DescribeVSwitchesResponse
|
|
@@ -19226,7 +19565,7 @@ class Client extends openapi_core_1.default {
|
|
|
19226
19565
|
return await this.grantAccountPrivilegeZonalWithOptions(request, runtime);
|
|
19227
19566
|
}
|
|
19228
19567
|
/**
|
|
19229
|
-
* Installs
|
|
19568
|
+
* Installs the PolarClaw plug-in.
|
|
19230
19569
|
*
|
|
19231
19570
|
* @param request - InstallPolarClawPluginRequest
|
|
19232
19571
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19264,7 +19603,7 @@ class Client extends openapi_core_1.default {
|
|
|
19264
19603
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallPolarClawPluginResponse({}));
|
|
19265
19604
|
}
|
|
19266
19605
|
/**
|
|
19267
|
-
* Installs
|
|
19606
|
+
* Installs the PolarClaw plug-in.
|
|
19268
19607
|
*
|
|
19269
19608
|
* @param request - InstallPolarClawPluginRequest
|
|
19270
19609
|
* @returns InstallPolarClawPluginResponse
|
|
@@ -23849,6 +24188,9 @@ class Client extends openapi_core_1.default {
|
|
|
23849
24188
|
async modifyModelApiWithOptions(request, runtime) {
|
|
23850
24189
|
request.validate();
|
|
23851
24190
|
let query = {};
|
|
24191
|
+
if (!$dara.isNull(request.config)) {
|
|
24192
|
+
query["Config"] = request.config;
|
|
24193
|
+
}
|
|
23852
24194
|
if (!$dara.isNull(request.gwClusterId)) {
|
|
23853
24195
|
query["GwClusterId"] = request.gwClusterId;
|
|
23854
24196
|
}
|