@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
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AddPolarOSSAuthorizedAccountRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The list of authorized accounts to add, separated by commas. You can pass in UIDs and RAM role ARNs in mixed parameter notation.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 1234567890,acs:ram::123456:role/myrole
|
|
14
|
+
*/
|
|
15
|
+
authorizedUserIds?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The ID of the PolarDB cluster.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* pc-xxxxxxxxxxxxxxxxx
|
|
22
|
+
*/
|
|
23
|
+
DBClusterId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The cold storage instance ID.
|
|
27
|
+
*
|
|
28
|
+
* This parameter is required.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* pfs-xxxxxxxxxxxxxxxxx
|
|
32
|
+
*/
|
|
33
|
+
pfsInstanceId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The region ID.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* cn-beijing
|
|
40
|
+
*/
|
|
41
|
+
regionId?: string;
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
authorizedUserIds: 'AuthorizedUserIds',
|
|
45
|
+
DBClusterId: 'DBClusterId',
|
|
46
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
47
|
+
regionId: 'RegionId',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
static types(): { [key: string]: any } {
|
|
52
|
+
return {
|
|
53
|
+
authorizedUserIds: 'string',
|
|
54
|
+
DBClusterId: 'string',
|
|
55
|
+
pfsInstanceId: 'string',
|
|
56
|
+
regionId: 'string',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validate() {
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
constructor(map?: { [key: string]: any }) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { AddPolarOSSAuthorizedAccountResponseBody } from "./AddPolarOssauthorizedAccountResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class AddPolarOSSAuthorizedAccountResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: AddPolarOSSAuthorizedAccountResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: AddPolarOSSAuthorizedAccountResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AddPolarOSSAuthorizedAccountResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The updated list of RAM role ARNs, separated by commas.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* arn:sts::123456:assumed-role/myrole/*
|
|
12
|
+
*/
|
|
13
|
+
authorizedUserArnIds?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The updated list of UIDs, separated by commas.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1234567890,9876543210
|
|
20
|
+
*/
|
|
21
|
+
authorizedUserIds?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The cold storage instance ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* pfs-xxxxxxxxxxxxxxxxx
|
|
28
|
+
*/
|
|
29
|
+
pfsInstanceId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The request ID.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* F45FFACC-xxx
|
|
36
|
+
*/
|
|
37
|
+
requestId?: string;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
authorizedUserArnIds: 'AuthorizedUserArnIds',
|
|
41
|
+
authorizedUserIds: 'AuthorizedUserIds',
|
|
42
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
43
|
+
requestId: 'RequestId',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
authorizedUserArnIds: 'string',
|
|
50
|
+
authorizedUserIds: 'string',
|
|
51
|
+
pfsInstanceId: 'string',
|
|
52
|
+
requestId: 'string',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateAgenticDBTenantApiKeyRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The AgenticDB cluster ID.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -12,17 +14,25 @@ export class CreateAgenticDBTenantApiKeyRequest extends $dara.Model {
|
|
|
12
14
|
*/
|
|
13
15
|
DBClusterId?: string;
|
|
14
16
|
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The description of the API key usage.
|
|
19
|
+
*
|
|
15
20
|
* @example
|
|
16
|
-
* MCP Server
|
|
21
|
+
* Dedicated key for MCP Server
|
|
17
22
|
*/
|
|
18
23
|
description?: string;
|
|
19
24
|
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The expiration time in ISO 8601 format. If this parameter is not specified, the API key never expires.
|
|
27
|
+
*
|
|
20
28
|
* @example
|
|
21
29
|
* 2027-01-01T00:00:00Z
|
|
22
30
|
*/
|
|
23
31
|
expireTime?: string;
|
|
24
32
|
/**
|
|
25
33
|
* @remarks
|
|
34
|
+
* The region ID.
|
|
35
|
+
*
|
|
26
36
|
* This parameter is required.
|
|
27
37
|
*
|
|
28
38
|
* @example
|
|
@@ -31,6 +41,8 @@ export class CreateAgenticDBTenantApiKeyRequest extends $dara.Model {
|
|
|
31
41
|
regionId?: string;
|
|
32
42
|
/**
|
|
33
43
|
* @remarks
|
|
44
|
+
* The tenant name. The name must be unique within the cluster and contain 2 to 64 characters.
|
|
45
|
+
*
|
|
34
46
|
* This parameter is required.
|
|
35
47
|
*
|
|
36
48
|
* @example
|
|
@@ -4,36 +4,57 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateAgenticDBTenantApiKeyResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The plaintext of the API key. This value is returned only in this response.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* pagc_key_xxxx.yyyy
|
|
9
12
|
*/
|
|
10
13
|
apiKey?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The resource ID of the API key.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* ak-xxxxxxxxxxxx
|
|
14
20
|
*/
|
|
15
21
|
apiKeyId?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The time when the API key was created.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 2026-06-10T08:00:00Z
|
|
19
28
|
*/
|
|
20
29
|
createTime?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The expiration time of the API key. This value is empty if the API key never expires.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* 2027-01-01T00:00:00Z
|
|
24
36
|
*/
|
|
25
37
|
expireTime?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The request ID.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* F45FFACC-1B2C-3D4E-5F6A-7B8C9D0E1F2A
|
|
29
44
|
*/
|
|
30
45
|
requestId?: string;
|
|
31
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The tenant ID.
|
|
49
|
+
*
|
|
32
50
|
* @example
|
|
33
51
|
* t-aaaa111122223333
|
|
34
52
|
*/
|
|
35
53
|
tenantId?: string;
|
|
36
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The tenant name.
|
|
57
|
+
*
|
|
37
58
|
* @example
|
|
38
59
|
* my-tenant
|
|
39
60
|
*/
|
|
@@ -12,6 +12,9 @@ export class CreateAIDBClusterApiKeyRequest extends $dara.Model {
|
|
|
12
12
|
*/
|
|
13
13
|
description?: string;
|
|
14
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The model space ID.
|
|
17
|
+
*
|
|
15
18
|
* @example
|
|
16
19
|
* pms-xxx
|
|
17
20
|
*/
|
|
@@ -19,8 +22,8 @@ export class CreateAIDBClusterApiKeyRequest extends $dara.Model {
|
|
|
19
22
|
/**
|
|
20
23
|
* @remarks
|
|
21
24
|
* The region ID.
|
|
22
|
-
* > * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query the
|
|
23
|
-
* > * If
|
|
25
|
+
* > * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query the region information of all clusters under the specified account.
|
|
26
|
+
* > * If this parameter is left empty, scheduled tasks in all regions under the current account are queried by default.
|
|
24
27
|
*
|
|
25
28
|
* This parameter is required.
|
|
26
29
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateAIDBClusterRequestTimeSlices extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The start time of the
|
|
8
|
+
* The start time of the task. The time is in the `YYYY-MM-DDThh:mm:ssZ` format (UTC).
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1758729600
|
|
@@ -13,7 +13,7 @@ export class CreateAIDBClusterRequestTimeSlices extends $dara.Model {
|
|
|
13
13
|
beginTime?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The end time of the
|
|
16
|
+
* The end time of the query. The end time must be later than the start time. The time is in the `YYYY-MM-DDThh:mmZ` format (UTC).
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1758733200
|
|
@@ -56,8 +56,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
56
56
|
* Specifies whether to enable auto-renewal. Valid values:
|
|
57
57
|
*
|
|
58
58
|
* - **true**: Auto-renewal is enabled.
|
|
59
|
-
*
|
|
60
|
-
* - **false**: Auto-renewal is disabled.
|
|
59
|
+
* - **false**: Auto-renewal is not enabled.
|
|
61
60
|
*
|
|
62
61
|
* Default value: **false**.
|
|
63
62
|
*
|
|
@@ -69,25 +68,26 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
69
68
|
autoRenew?: string;
|
|
70
69
|
/**
|
|
71
70
|
* @remarks
|
|
72
|
-
* Specifies whether to automatically use
|
|
71
|
+
* Specifies whether to automatically use coupons. Valid values:
|
|
72
|
+
* * true (default): Use coupons.
|
|
73
|
+
* * false: Do not use coupons.
|
|
73
74
|
*
|
|
74
75
|
* @example
|
|
75
76
|
* false
|
|
76
77
|
*/
|
|
77
78
|
autoUseCoupon?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* @remarks
|
|
80
|
-
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
|
|
81
|
-
*/
|
|
82
79
|
clientToken?: string;
|
|
83
80
|
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* Specifies whether to create a public endpoint.
|
|
83
|
+
*
|
|
84
84
|
* @example
|
|
85
85
|
* ON
|
|
86
86
|
*/
|
|
87
87
|
createPublicEndpoint?: string;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The
|
|
90
|
+
* The cluster description. Fuzzy match is supported.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
93
|
* test
|
|
@@ -95,7 +95,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
95
95
|
DBClusterDescription?: string;
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The ID of the PolarDB
|
|
98
|
+
* The instance ID of the PolarDB instance on which the application depends.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* pc-******************
|
|
@@ -103,7 +103,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
103
103
|
DBClusterId?: string;
|
|
104
104
|
/**
|
|
105
105
|
* @remarks
|
|
106
|
-
* The node
|
|
106
|
+
* The node specifications.
|
|
107
107
|
*
|
|
108
108
|
* @example
|
|
109
109
|
* polar.pg.g4.6xlarge.gu4
|
|
@@ -127,7 +127,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
127
127
|
inferenceEngine?: string;
|
|
128
128
|
/**
|
|
129
129
|
* @remarks
|
|
130
|
-
* The
|
|
130
|
+
* The ACK cluster ID.
|
|
131
131
|
*
|
|
132
132
|
* @example
|
|
133
133
|
* xxxxxxxxxxxxxxxxxxxxxxx
|
|
@@ -143,7 +143,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
143
143
|
kubeConfig?: string;
|
|
144
144
|
/**
|
|
145
145
|
* @remarks
|
|
146
|
-
* The management mode
|
|
146
|
+
* The Kubernetes cluster management mode.
|
|
147
147
|
*
|
|
148
148
|
* @example
|
|
149
149
|
* self_k8s
|
|
@@ -151,7 +151,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
151
151
|
kubeManagement?: string;
|
|
152
152
|
/**
|
|
153
153
|
* @remarks
|
|
154
|
-
*
|
|
154
|
+
* aideploy
|
|
155
155
|
*
|
|
156
156
|
* @example
|
|
157
157
|
* aideploy
|
|
@@ -174,11 +174,17 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
174
174
|
*/
|
|
175
175
|
managementMode?: string;
|
|
176
176
|
/**
|
|
177
|
+
* @remarks
|
|
178
|
+
* The model name.
|
|
179
|
+
*
|
|
177
180
|
* @example
|
|
178
181
|
* Qwen3-30B-A3B
|
|
179
182
|
*/
|
|
180
183
|
modelName?: string;
|
|
181
184
|
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* The model operator space.
|
|
187
|
+
*
|
|
182
188
|
* @example
|
|
183
189
|
* pms-xxx
|
|
184
190
|
*/
|
|
@@ -195,10 +201,9 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
195
201
|
password?: string;
|
|
196
202
|
/**
|
|
197
203
|
* @remarks
|
|
198
|
-
* The billing method. Valid values:
|
|
204
|
+
* The billing method. Valid values:
|
|
199
205
|
*
|
|
200
206
|
* - **Postpaid**: pay-as-you-go.
|
|
201
|
-
*
|
|
202
207
|
* - **Prepaid**: subscription.
|
|
203
208
|
*
|
|
204
209
|
* This parameter is required.
|
|
@@ -209,11 +214,10 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
209
214
|
payType?: string;
|
|
210
215
|
/**
|
|
211
216
|
* @remarks
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
* - **Year**
|
|
217
|
+
* This parameter is required to pass parameter when **PayType** is set to **Prepaid**. Specifies the unit of the upfront payment duration for the subscription cluster.
|
|
215
218
|
*
|
|
216
|
-
* - **
|
|
219
|
+
* - **Year**: The subscription duration is measured in years.
|
|
220
|
+
* - **Month**: The subscription duration is measured in months.
|
|
217
221
|
*
|
|
218
222
|
* @example
|
|
219
223
|
* 5
|
|
@@ -221,11 +225,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
221
225
|
period?: string;
|
|
222
226
|
/**
|
|
223
227
|
* @remarks
|
|
224
|
-
* The coupon code. If
|
|
225
|
-
*
|
|
226
|
-
* - true (default): Use a coupon.
|
|
227
|
-
*
|
|
228
|
-
* - false: Do not use a coupon.
|
|
228
|
+
* The coupon code. If this parameter is not specified, the default coupon is used.
|
|
229
229
|
*
|
|
230
230
|
* @example
|
|
231
231
|
* 727xxxxxx934
|
|
@@ -253,7 +253,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
253
253
|
securityGroupId?: string;
|
|
254
254
|
/**
|
|
255
255
|
* @remarks
|
|
256
|
-
* The storage space.
|
|
256
|
+
* The storage space.
|
|
257
257
|
*
|
|
258
258
|
* @example
|
|
259
259
|
* 1024
|
|
@@ -269,16 +269,14 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
269
269
|
storageType?: string;
|
|
270
270
|
/**
|
|
271
271
|
* @remarks
|
|
272
|
-
* The
|
|
272
|
+
* The pay-as-you-go time intervals.
|
|
273
273
|
*/
|
|
274
274
|
timeSlices?: CreateAIDBClusterRequestTimeSlices[];
|
|
275
275
|
/**
|
|
276
276
|
* @remarks
|
|
277
|
-
*
|
|
278
|
-
*
|
|
279
|
-
* - If **Period** is set to **
|
|
280
|
-
*
|
|
281
|
-
* - If **Period** is set to **Year**, the value of **UsedTime** must be an integer from `[1-3]`.
|
|
277
|
+
* This parameter is required when **PayType** is set to **Prepaid**.
|
|
278
|
+
* - If **Period** is set to **Month**, the valid values of **UsedTime** are integers in the range of `[1-9]`.
|
|
279
|
+
* - If **Period** is set to **Year**, the valid values of **UsedTime** are integers in the range of `[1-3]`.
|
|
282
280
|
*
|
|
283
281
|
* @example
|
|
284
282
|
* 1
|
|
@@ -286,7 +284,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
286
284
|
usedTime?: string;
|
|
287
285
|
/**
|
|
288
286
|
* @remarks
|
|
289
|
-
* The
|
|
287
|
+
* The VPC ID.
|
|
290
288
|
*
|
|
291
289
|
* This parameter is required.
|
|
292
290
|
*
|
|
@@ -306,7 +304,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
306
304
|
vSwitchId?: string;
|
|
307
305
|
/**
|
|
308
306
|
* @remarks
|
|
309
|
-
* The
|
|
307
|
+
* The zone ID.
|
|
310
308
|
*
|
|
311
309
|
* @example
|
|
312
310
|
* cn-beijing-i
|
|
@@ -104,7 +104,7 @@ export class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
104
104
|
resourceOwnerId?: number;
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
|
-
* The running parameters in JSON string
|
|
107
|
+
* The running parameters in a JSON string.
|
|
108
108
|
*
|
|
109
109
|
* This parameter is required.
|
|
110
110
|
*
|
|
@@ -122,7 +122,7 @@ export class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
122
122
|
securityGroupId?: string;
|
|
123
123
|
/**
|
|
124
124
|
* @remarks
|
|
125
|
-
* The
|
|
125
|
+
* The model service description.
|
|
126
126
|
*
|
|
127
127
|
* @example
|
|
128
128
|
* xxxx
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateKnowledgeBaseRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The description of the knowledge base.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* testkbDesc
|
|
12
|
+
*/
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The type of the knowledge base: PERSONAL or PUBLIC.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* PUBLIC
|
|
20
|
+
*/
|
|
21
|
+
knowledgeBaseType?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The unique identifier of the knowledge space.
|
|
25
|
+
*
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* pks-xxxxxx
|
|
30
|
+
*/
|
|
31
|
+
knowledgeSpaceId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The name of the knowledge base.
|
|
35
|
+
*
|
|
36
|
+
* This parameter is required.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* testkb
|
|
40
|
+
*/
|
|
41
|
+
name?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The region ID.
|
|
45
|
+
*
|
|
46
|
+
* This parameter is required.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* cn-beijing
|
|
50
|
+
*/
|
|
51
|
+
regionId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The search mode. Valid values:
|
|
55
|
+
*
|
|
56
|
+
* * balanced (default): balanced mode
|
|
57
|
+
* * precise: precise mode
|
|
58
|
+
* * semantic: semantic mode
|
|
59
|
+
* * knn: KNN mode
|
|
60
|
+
* * rrf: reciprocal rank fusion
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* balanced
|
|
64
|
+
*/
|
|
65
|
+
searchMode?: string;
|
|
66
|
+
static names(): { [key: string]: string } {
|
|
67
|
+
return {
|
|
68
|
+
description: 'Description',
|
|
69
|
+
knowledgeBaseType: 'KnowledgeBaseType',
|
|
70
|
+
knowledgeSpaceId: 'KnowledgeSpaceId',
|
|
71
|
+
name: 'Name',
|
|
72
|
+
regionId: 'RegionId',
|
|
73
|
+
searchMode: 'SearchMode',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static types(): { [key: string]: any } {
|
|
78
|
+
return {
|
|
79
|
+
description: 'string',
|
|
80
|
+
knowledgeBaseType: 'string',
|
|
81
|
+
knowledgeSpaceId: 'string',
|
|
82
|
+
name: 'string',
|
|
83
|
+
regionId: 'string',
|
|
84
|
+
searchMode: 'string',
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
validate() {
|
|
89
|
+
super.validate();
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
constructor(map?: { [key: string]: any }) {
|
|
93
|
+
super(map);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateKnowledgeBaseResponseBody } from "./CreateKnowledgeBaseResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateKnowledgeBaseResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateKnowledgeBaseResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: CreateKnowledgeBaseResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|