@alicloud/polardb20170801 7.12.1 → 7.13.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 +34 -4
- package/dist/client.js +151 -5
- package/dist/client.js.map +1 -1
- package/dist/models/AddPolarOssauthorizedAccountRequest.d.ts +39 -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 +33 -0
- package/dist/models/AddPolarOssauthorizedAccountResponseBody.js +64 -0
- package/dist/models/AddPolarOssauthorizedAccountResponseBody.js.map +1 -0
- package/dist/models/CreateAidbclusterApiKeyRequest.d.ts +5 -0
- package/dist/models/CreateAidbclusterApiKeyRequest.js +2 -0
- package/dist/models/CreateAidbclusterApiKeyRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterRequest.d.ts +10 -2
- package/dist/models/CreateAidbclusterRequest.js +4 -0
- package/dist/models/CreateAidbclusterRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskRequest.d.ts +10 -0
- package/dist/models/CreateAidbclusterTaskRequest.js +4 -0
- package/dist/models/CreateAidbclusterTaskRequest.js.map +1 -1
- package/dist/models/CreateCostRuleRequest.d.ts +26 -4
- package/dist/models/CreateCostRuleRequest.js +4 -0
- package/dist/models/CreateCostRuleRequest.js.map +1 -1
- package/dist/models/CreateCostRuleResponseBody.d.ts +1 -1
- package/dist/models/DeleteAidbclusterApiKeyRequest.d.ts +5 -0
- package/dist/models/DeleteAidbclusterApiKeyRequest.js +2 -0
- package/dist/models/DeleteAidbclusterApiKeyRequest.js.map +1 -1
- package/dist/models/DeleteAidbclusterRequest.d.ts +5 -0
- package/dist/models/DeleteAidbclusterRequest.js +2 -0
- package/dist/models/DeleteAidbclusterRequest.js.map +1 -1
- package/dist/models/DeletePolarOssauthorizedAccountRequest.d.ts +39 -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 +33 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponseBody.js +64 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponseBody.js.map +1 -0
- package/dist/models/DescribeAidbclusterApiKeysRequest.d.ts +5 -0
- package/dist/models/DescribeAidbclusterApiKeysRequest.js +2 -0
- package/dist/models/DescribeAidbclusterApiKeysRequest.js.map +1 -1
- package/dist/models/DescribeAidbclusterApiKeysResponseBody.d.ts +2 -0
- package/dist/models/DescribeAidbclusterApiKeysResponseBody.js +4 -0
- package/dist/models/DescribeAidbclusterApiKeysResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +29 -8
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +39 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +18 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js +25 -1
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclustersResponseBody.d.ts +1 -0
- package/dist/models/DescribeAidbclustersResponseBody.js +2 -0
- package/dist/models/DescribeAidbclustersResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationPerformanceRequest.d.ts +3 -0
- package/dist/models/DescribeApplicationPerformanceRequest.js +5 -0
- package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
- package/dist/models/DescribeApplicationPerformanceShrinkRequest.d.ts +127 -0
- package/dist/models/DescribeApplicationPerformanceShrinkRequest.js +82 -0
- package/dist/models/DescribeApplicationPerformanceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeCostRulesRequest.d.ts +20 -7
- package/dist/models/DescribeCostRulesRequest.js +4 -0
- package/dist/models/DescribeCostRulesRequest.js.map +1 -1
- package/dist/models/DescribeCostRulesResponseBody.d.ts +24 -8
- package/dist/models/DescribeCostRulesResponseBody.js +4 -0
- package/dist/models/DescribeCostRulesResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +84 -11
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
- package/dist/models/SearchMemoriesRequest.d.ts +15 -7
- package/dist/models/SearchMemoriesRequest.js +4 -0
- package/dist/models/SearchMemoriesRequest.js.map +1 -1
- package/dist/models/SearchMemoriesResponseBody.d.ts +14 -10
- package/dist/models/SearchMemoriesResponseBody.js +8 -0
- package/dist/models/SearchMemoriesResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +69 -51
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +179 -5
- package/src/models/AddPolarOssauthorizedAccountRequest.ts +58 -0
- package/src/models/AddPolarOssauthorizedAccountResponse.ts +40 -0
- package/src/models/AddPolarOssauthorizedAccountResponseBody.ts +52 -0
- package/src/models/CreateAidbclusterApiKeyRequest.ts +7 -0
- package/src/models/CreateAidbclusterRequest.ts +14 -2
- package/src/models/CreateAidbclusterTaskRequest.ts +14 -0
- package/src/models/CreateCostRuleRequest.ts +30 -4
- package/src/models/CreateCostRuleResponseBody.ts +1 -1
- package/src/models/DeleteAidbclusterApiKeyRequest.ts +7 -0
- package/src/models/DeleteAidbclusterRequest.ts +7 -0
- package/src/models/DeletePolarOssauthorizedAccountRequest.ts +58 -0
- package/src/models/DeletePolarOssauthorizedAccountResponse.ts +40 -0
- package/src/models/DeletePolarOssauthorizedAccountResponseBody.ts +52 -0
- package/src/models/DescribeAidbclusterApiKeysRequest.ts +7 -0
- package/src/models/DescribeAidbclusterApiKeysResponseBody.ts +6 -0
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +58 -8
- package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +33 -0
- package/src/models/DescribeAidbclustersResponseBody.ts +3 -0
- package/src/models/DescribeApplicationPerformanceRequest.ts +6 -0
- package/src/models/DescribeApplicationPerformanceShrinkRequest.ts +164 -0
- package/src/models/DescribeCostRulesRequest.ts +24 -7
- package/src/models/DescribeCostRulesResponseBody.ts +28 -8
- package/src/models/DescribePolarFsAttributeResponseBody.ts +84 -11
- package/src/models/SearchMemoriesRequest.ts +19 -7
- package/src/models/SearchMemoriesResponseBody.ts +22 -10
- package/src/models/model.ts +9 -0
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1234567890,acs:ram::123456:role/myrole
|
|
12
|
+
*/
|
|
13
|
+
authorizedUserIds?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* pc-xxxxxxxxxxxxxxxxx
|
|
17
|
+
*/
|
|
18
|
+
DBClusterId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* pfs-xxxxxxxxxxxxxxxxx
|
|
25
|
+
*/
|
|
26
|
+
pfsInstanceId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* cn-beijing
|
|
30
|
+
*/
|
|
31
|
+
regionId?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
authorizedUserIds: 'AuthorizedUserIds',
|
|
35
|
+
DBClusterId: 'DBClusterId',
|
|
36
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
37
|
+
regionId: 'RegionId',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
authorizedUserIds: 'string',
|
|
44
|
+
DBClusterId: 'string',
|
|
45
|
+
pfsInstanceId: 'string',
|
|
46
|
+
regionId: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -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,52 @@
|
|
|
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
|
+
* @example
|
|
8
|
+
* arn:sts::123456:assumed-role/myrole/*
|
|
9
|
+
*/
|
|
10
|
+
authorizedUserArnIds?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1234567890,9876543210
|
|
14
|
+
*/
|
|
15
|
+
authorizedUserIds?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* pfs-xxxxxxxxxxxxxxxxx
|
|
19
|
+
*/
|
|
20
|
+
pfsInstanceId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* F45FFACC-xxx
|
|
24
|
+
*/
|
|
25
|
+
requestId?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
authorizedUserArnIds: 'AuthorizedUserArnIds',
|
|
29
|
+
authorizedUserIds: 'AuthorizedUserIds',
|
|
30
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
31
|
+
requestId: 'RequestId',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
authorizedUserArnIds: 'string',
|
|
38
|
+
authorizedUserIds: 'string',
|
|
39
|
+
pfsInstanceId: 'string',
|
|
40
|
+
requestId: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -11,6 +11,11 @@ export class CreateAIDBClusterApiKeyRequest extends $dara.Model {
|
|
|
11
11
|
* test
|
|
12
12
|
*/
|
|
13
13
|
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* pms-xxx
|
|
17
|
+
*/
|
|
18
|
+
modelSpaceName?: string;
|
|
14
19
|
/**
|
|
15
20
|
* @remarks
|
|
16
21
|
* The region ID.
|
|
@@ -26,6 +31,7 @@ export class CreateAIDBClusterApiKeyRequest extends $dara.Model {
|
|
|
26
31
|
static names(): { [key: string]: string } {
|
|
27
32
|
return {
|
|
28
33
|
description: 'Description',
|
|
34
|
+
modelSpaceName: 'ModelSpaceName',
|
|
29
35
|
regionId: 'RegionId',
|
|
30
36
|
};
|
|
31
37
|
}
|
|
@@ -33,6 +39,7 @@ export class CreateAIDBClusterApiKeyRequest extends $dara.Model {
|
|
|
33
39
|
static types(): { [key: string]: any } {
|
|
34
40
|
return {
|
|
35
41
|
description: 'string',
|
|
42
|
+
modelSpaceName: 'string',
|
|
36
43
|
regionId: 'string',
|
|
37
44
|
};
|
|
38
45
|
}
|
|
@@ -80,6 +80,11 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
80
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
81
|
*/
|
|
82
82
|
clientToken?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @example
|
|
85
|
+
* ON
|
|
86
|
+
*/
|
|
87
|
+
createPublicEndpoint?: string;
|
|
83
88
|
/**
|
|
84
89
|
* @remarks
|
|
85
90
|
* The description of the cluster. You can use the description to perform a fuzzy search.
|
|
@@ -100,8 +105,6 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
100
105
|
* @remarks
|
|
101
106
|
* The node specification.
|
|
102
107
|
*
|
|
103
|
-
* This parameter is required.
|
|
104
|
-
*
|
|
105
108
|
* @example
|
|
106
109
|
* polar.pg.g4.6xlarge.gu4
|
|
107
110
|
*/
|
|
@@ -175,6 +178,11 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
175
178
|
* Qwen3-30B-A3B
|
|
176
179
|
*/
|
|
177
180
|
modelName?: string;
|
|
181
|
+
/**
|
|
182
|
+
* @example
|
|
183
|
+
* pms-xxx
|
|
184
|
+
*/
|
|
185
|
+
modelSpace?: string;
|
|
178
186
|
ownerAccount?: string;
|
|
179
187
|
ownerId?: number;
|
|
180
188
|
/**
|
|
@@ -310,6 +318,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
310
318
|
autoRenew: 'AutoRenew',
|
|
311
319
|
autoUseCoupon: 'AutoUseCoupon',
|
|
312
320
|
clientToken: 'ClientToken',
|
|
321
|
+
createPublicEndpoint: 'CreatePublicEndpoint',
|
|
313
322
|
DBClusterDescription: 'DBClusterDescription',
|
|
314
323
|
DBClusterId: 'DBClusterId',
|
|
315
324
|
DBNodeClass: 'DBNodeClass',
|
|
@@ -322,6 +331,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
322
331
|
kubernetesConfig: 'KubernetesConfig',
|
|
323
332
|
managementMode: 'ManagementMode',
|
|
324
333
|
modelName: 'ModelName',
|
|
334
|
+
modelSpace: 'ModelSpace',
|
|
325
335
|
ownerAccount: 'OwnerAccount',
|
|
326
336
|
ownerId: 'OwnerId',
|
|
327
337
|
password: 'Password',
|
|
@@ -348,6 +358,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
348
358
|
autoRenew: 'string',
|
|
349
359
|
autoUseCoupon: 'boolean',
|
|
350
360
|
clientToken: 'string',
|
|
361
|
+
createPublicEndpoint: 'string',
|
|
351
362
|
DBClusterDescription: 'string',
|
|
352
363
|
DBClusterId: 'string',
|
|
353
364
|
DBNodeClass: 'string',
|
|
@@ -360,6 +371,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
|
|
|
360
371
|
kubernetesConfig: 'string',
|
|
361
372
|
managementMode: 'string',
|
|
362
373
|
modelName: 'string',
|
|
374
|
+
modelSpace: 'string',
|
|
363
375
|
ownerAccount: 'string',
|
|
364
376
|
ownerId: 'number',
|
|
365
377
|
password: 'string',
|
|
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* my-bucket
|
|
9
|
+
*/
|
|
10
|
+
customOssBucketName?: string;
|
|
6
11
|
/**
|
|
7
12
|
* @remarks
|
|
8
13
|
* The cluster ID.
|
|
@@ -21,6 +26,11 @@ export class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
21
26
|
* polar.pg.g6.4xlarge.guh
|
|
22
27
|
*/
|
|
23
28
|
DBInstanceClass?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* cold_storage
|
|
32
|
+
*/
|
|
33
|
+
dataserviceMode?: string;
|
|
24
34
|
/**
|
|
25
35
|
* @remarks
|
|
26
36
|
* The training dataset ID. This parameter is required for fine-tuning.
|
|
@@ -145,8 +155,10 @@ export class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
145
155
|
zoneId?: string;
|
|
146
156
|
static names(): { [key: string]: string } {
|
|
147
157
|
return {
|
|
158
|
+
customOssBucketName: 'CustomOssBucketName',
|
|
148
159
|
DBClusterId: 'DBClusterId',
|
|
149
160
|
DBInstanceClass: 'DBInstanceClass',
|
|
161
|
+
dataserviceMode: 'DataserviceMode',
|
|
150
162
|
datasetPath: 'DatasetPath',
|
|
151
163
|
evalDatasetPath: 'EvalDatasetPath',
|
|
152
164
|
kubeType: 'KubeType',
|
|
@@ -170,8 +182,10 @@ export class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
170
182
|
|
|
171
183
|
static types(): { [key: string]: any } {
|
|
172
184
|
return {
|
|
185
|
+
customOssBucketName: 'string',
|
|
173
186
|
DBClusterId: 'string',
|
|
174
187
|
DBInstanceClass: 'string',
|
|
188
|
+
dataserviceMode: 'string',
|
|
175
189
|
datasetPath: 'string',
|
|
176
190
|
evalDatasetPath: 'string',
|
|
177
191
|
kubeType: 'string',
|
|
@@ -5,12 +5,34 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateCostRuleRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The cost points per million cached tokens. Default value: 0.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 0
|
|
12
12
|
*/
|
|
13
13
|
cacheCostPointsPerMillion?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The effective target type. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* - global
|
|
19
|
+
* - consumerGroup
|
|
20
|
+
* - consumer
|
|
21
|
+
*
|
|
22
|
+
* Default value: global.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* global
|
|
26
|
+
*/
|
|
27
|
+
effectiveTargetType?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The effective target value. This parameter is required when EffectiveTargetType is not set to global.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* user
|
|
34
|
+
*/
|
|
35
|
+
effectiveTargetValue?: string;
|
|
14
36
|
/**
|
|
15
37
|
* @remarks
|
|
16
38
|
* The gateway instance ID.
|
|
@@ -23,7 +45,7 @@ export class CreateCostRuleRequest extends $dara.Model {
|
|
|
23
45
|
gwClusterId?: string;
|
|
24
46
|
/**
|
|
25
47
|
* @remarks
|
|
26
|
-
* The
|
|
48
|
+
* The cost points per million input tokens. Default value: 0.
|
|
27
49
|
*
|
|
28
50
|
* @example
|
|
29
51
|
* 0
|
|
@@ -31,7 +53,7 @@ export class CreateCostRuleRequest extends $dara.Model {
|
|
|
31
53
|
inputCostPointsPerMillion?: string;
|
|
32
54
|
/**
|
|
33
55
|
* @remarks
|
|
34
|
-
* The name
|
|
56
|
+
* The model name, such as gpt-4 or qwen-turbo.
|
|
35
57
|
*
|
|
36
58
|
* This parameter is required.
|
|
37
59
|
*
|
|
@@ -51,7 +73,7 @@ export class CreateCostRuleRequest extends $dara.Model {
|
|
|
51
73
|
modelServiceId?: string;
|
|
52
74
|
/**
|
|
53
75
|
* @remarks
|
|
54
|
-
* The
|
|
76
|
+
* The cost points per million output tokens. Default value: 0.
|
|
55
77
|
*
|
|
56
78
|
* @example
|
|
57
79
|
* 0
|
|
@@ -68,6 +90,8 @@ export class CreateCostRuleRequest extends $dara.Model {
|
|
|
68
90
|
static names(): { [key: string]: string } {
|
|
69
91
|
return {
|
|
70
92
|
cacheCostPointsPerMillion: 'CacheCostPointsPerMillion',
|
|
93
|
+
effectiveTargetType: 'EffectiveTargetType',
|
|
94
|
+
effectiveTargetValue: 'EffectiveTargetValue',
|
|
71
95
|
gwClusterId: 'GwClusterId',
|
|
72
96
|
inputCostPointsPerMillion: 'InputCostPointsPerMillion',
|
|
73
97
|
modelName: 'ModelName',
|
|
@@ -80,6 +104,8 @@ export class CreateCostRuleRequest extends $dara.Model {
|
|
|
80
104
|
static types(): { [key: string]: any } {
|
|
81
105
|
return {
|
|
82
106
|
cacheCostPointsPerMillion: 'string',
|
|
107
|
+
effectiveTargetType: 'string',
|
|
108
|
+
effectiveTargetValue: 'string',
|
|
83
109
|
gwClusterId: 'string',
|
|
84
110
|
inputCostPointsPerMillion: 'string',
|
|
85
111
|
modelName: 'string',
|
|
@@ -13,6 +13,11 @@ export class DeleteAIDBClusterApiKeyRequest extends $dara.Model {
|
|
|
13
13
|
* xxx
|
|
14
14
|
*/
|
|
15
15
|
apiKey?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* pms-xxx
|
|
19
|
+
*/
|
|
20
|
+
modelSpaceName?: string;
|
|
16
21
|
/**
|
|
17
22
|
* @remarks
|
|
18
23
|
* The region ID.
|
|
@@ -27,6 +32,7 @@ export class DeleteAIDBClusterApiKeyRequest extends $dara.Model {
|
|
|
27
32
|
static names(): { [key: string]: string } {
|
|
28
33
|
return {
|
|
29
34
|
apiKey: 'ApiKey',
|
|
35
|
+
modelSpaceName: 'ModelSpaceName',
|
|
30
36
|
regionId: 'RegionId',
|
|
31
37
|
};
|
|
32
38
|
}
|
|
@@ -34,6 +40,7 @@ export class DeleteAIDBClusterApiKeyRequest extends $dara.Model {
|
|
|
34
40
|
static types(): { [key: string]: any } {
|
|
35
41
|
return {
|
|
36
42
|
apiKey: 'string',
|
|
43
|
+
modelSpaceName: 'string',
|
|
37
44
|
regionId: 'string',
|
|
38
45
|
};
|
|
39
46
|
}
|
|
@@ -13,15 +13,22 @@ export class DeleteAIDBClusterRequest extends $dara.Model {
|
|
|
13
13
|
* pc-**************
|
|
14
14
|
*/
|
|
15
15
|
DBClusterId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* pms-xxx
|
|
19
|
+
*/
|
|
20
|
+
modelSpace?: string;
|
|
16
21
|
static names(): { [key: string]: string } {
|
|
17
22
|
return {
|
|
18
23
|
DBClusterId: 'DBClusterId',
|
|
24
|
+
modelSpace: 'ModelSpace',
|
|
19
25
|
};
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
static types(): { [key: string]: any } {
|
|
23
29
|
return {
|
|
24
30
|
DBClusterId: 'string',
|
|
31
|
+
modelSpace: 'string',
|
|
25
32
|
};
|
|
26
33
|
}
|
|
27
34
|
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeletePolarOSSAuthorizedAccountRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1234567890,acs:ram::123456:role/myrole
|
|
12
|
+
*/
|
|
13
|
+
authorizedUserIds?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* pc-xxxxxxxxxxxxxxxxx
|
|
17
|
+
*/
|
|
18
|
+
DBClusterId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* pfs-xxxxxxxxxxxxxxxxx
|
|
25
|
+
*/
|
|
26
|
+
pfsInstanceId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* cn-beijing
|
|
30
|
+
*/
|
|
31
|
+
regionId?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
authorizedUserIds: 'AuthorizedUserIds',
|
|
35
|
+
DBClusterId: 'DBClusterId',
|
|
36
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
37
|
+
regionId: 'RegionId',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
authorizedUserIds: 'string',
|
|
44
|
+
DBClusterId: 'string',
|
|
45
|
+
pfsInstanceId: 'string',
|
|
46
|
+
regionId: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeletePolarOSSAuthorizedAccountResponseBody } from "./DeletePolarOssauthorizedAccountResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeletePolarOSSAuthorizedAccountResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeletePolarOSSAuthorizedAccountResponseBody;
|
|
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: DeletePolarOSSAuthorizedAccountResponseBody,
|
|
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,52 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeletePolarOSSAuthorizedAccountResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* arn:sts::123456:assumed-role/myrole/*
|
|
9
|
+
*/
|
|
10
|
+
authorizedUserArnIds?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1234567890,9876543210
|
|
14
|
+
*/
|
|
15
|
+
authorizedUserIds?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* pfs-xxxxxxxxxxxxxxxxx
|
|
19
|
+
*/
|
|
20
|
+
pfsInstanceId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* F45FFACC-xxx
|
|
24
|
+
*/
|
|
25
|
+
requestId?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
authorizedUserArnIds: 'AuthorizedUserArnIds',
|
|
29
|
+
authorizedUserIds: 'AuthorizedUserIds',
|
|
30
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
31
|
+
requestId: 'RequestId',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
authorizedUserArnIds: 'string',
|
|
38
|
+
authorizedUserIds: 'string',
|
|
39
|
+
pfsInstanceId: 'string',
|
|
40
|
+
requestId: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeAIDBClusterApiKeysRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pms-xxx
|
|
9
|
+
*/
|
|
10
|
+
modelSpaceName?: string;
|
|
6
11
|
/**
|
|
7
12
|
* @remarks
|
|
8
13
|
* The region ID.
|
|
@@ -15,12 +20,14 @@ export class DescribeAIDBClusterApiKeysRequest extends $dara.Model {
|
|
|
15
20
|
regionId?: string;
|
|
16
21
|
static names(): { [key: string]: string } {
|
|
17
22
|
return {
|
|
23
|
+
modelSpaceName: 'ModelSpaceName',
|
|
18
24
|
regionId: 'RegionId',
|
|
19
25
|
};
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
static types(): { [key: string]: any } {
|
|
23
29
|
return {
|
|
30
|
+
modelSpaceName: 'string',
|
|
24
31
|
regionId: 'string',
|
|
25
32
|
};
|
|
26
33
|
}
|
|
@@ -78,6 +78,8 @@ export class DescribeAIDBClusterApiKeysResponseBody extends $dara.Model {
|
|
|
78
78
|
* API Keys。
|
|
79
79
|
*/
|
|
80
80
|
apiKeys?: DescribeAIDBClusterApiKeysResponseBodyApiKeys[];
|
|
81
|
+
pageNumber?: string;
|
|
82
|
+
pageSize?: string;
|
|
81
83
|
/**
|
|
82
84
|
* @remarks
|
|
83
85
|
* Id of the request
|
|
@@ -89,6 +91,8 @@ export class DescribeAIDBClusterApiKeysResponseBody extends $dara.Model {
|
|
|
89
91
|
static names(): { [key: string]: string } {
|
|
90
92
|
return {
|
|
91
93
|
apiKeys: 'ApiKeys',
|
|
94
|
+
pageNumber: 'PageNumber',
|
|
95
|
+
pageSize: 'PageSize',
|
|
92
96
|
requestId: 'RequestId',
|
|
93
97
|
};
|
|
94
98
|
}
|
|
@@ -96,6 +100,8 @@ export class DescribeAIDBClusterApiKeysResponseBody extends $dara.Model {
|
|
|
96
100
|
static types(): { [key: string]: any } {
|
|
97
101
|
return {
|
|
98
102
|
apiKeys: { 'type': 'array', 'itemType': DescribeAIDBClusterApiKeysResponseBodyApiKeys },
|
|
103
|
+
pageNumber: 'string',
|
|
104
|
+
pageSize: 'string',
|
|
99
105
|
requestId: 'string',
|
|
100
106
|
};
|
|
101
107
|
}
|