@alicloud/polardb20170801 6.12.2 → 6.14.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 +120 -0
- package/dist/client.js +537 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAidbclusterDatasetRequest.d.ts +47 -0
- package/dist/models/CreateAidbclusterDatasetRequest.js +76 -0
- package/dist/models/CreateAidbclusterDatasetRequest.js.map +1 -0
- package/dist/models/CreateAidbclusterDatasetResponse.d.ts +19 -0
- package/dist/models/CreateAidbclusterDatasetResponse.js +69 -0
- package/dist/models/CreateAidbclusterDatasetResponse.js.map +1 -0
- package/dist/models/CreateAidbclusterDatasetResponseBody.d.ts +46 -0
- package/dist/models/CreateAidbclusterDatasetResponseBody.js +68 -0
- package/dist/models/CreateAidbclusterDatasetResponseBody.js.map +1 -0
- package/dist/models/CreateAidbclusterTaskRequest.d.ts +107 -0
- package/dist/models/CreateAidbclusterTaskRequest.js +94 -0
- package/dist/models/CreateAidbclusterTaskRequest.js.map +1 -0
- package/dist/models/CreateAidbclusterTaskResponse.d.ts +19 -0
- package/dist/models/CreateAidbclusterTaskResponse.js +69 -0
- package/dist/models/CreateAidbclusterTaskResponse.js.map +1 -0
- package/dist/models/CreateAidbclusterTaskResponseBody.d.ts +31 -0
- package/dist/models/CreateAidbclusterTaskResponseBody.js +62 -0
- package/dist/models/CreateAidbclusterTaskResponseBody.js.map +1 -0
- package/dist/models/DeleteAidbclusterDatasetRequest.d.ts +35 -0
- package/dist/models/DeleteAidbclusterDatasetRequest.js +70 -0
- package/dist/models/DeleteAidbclusterDatasetRequest.js.map +1 -0
- package/dist/models/DeleteAidbclusterDatasetResponse.d.ts +19 -0
- package/dist/models/DeleteAidbclusterDatasetResponse.js +69 -0
- package/dist/models/DeleteAidbclusterDatasetResponse.js.map +1 -0
- package/dist/models/DeleteAidbclusterDatasetResponseBody.d.ts +31 -0
- package/dist/models/DeleteAidbclusterDatasetResponseBody.js +62 -0
- package/dist/models/DeleteAidbclusterDatasetResponseBody.js.map +1 -0
- package/dist/models/DeleteAidbclusterTaskRequest.d.ts +32 -0
- package/dist/models/DeleteAidbclusterTaskRequest.js +70 -0
- package/dist/models/DeleteAidbclusterTaskRequest.js.map +1 -0
- package/dist/models/DeleteAidbclusterTaskResponse.d.ts +19 -0
- package/dist/models/DeleteAidbclusterTaskResponse.js +69 -0
- package/dist/models/DeleteAidbclusterTaskResponse.js.map +1 -0
- package/dist/models/DeleteAidbclusterTaskResponseBody.d.ts +31 -0
- package/dist/models/DeleteAidbclusterTaskResponseBody.js +62 -0
- package/dist/models/DeleteAidbclusterTaskResponseBody.js.map +1 -0
- package/dist/models/DescribeAidbclusterDatasetsRequest.d.ts +57 -0
- package/dist/models/DescribeAidbclusterDatasetsRequest.js +80 -0
- package/dist/models/DescribeAidbclusterDatasetsRequest.js.map +1 -0
- package/dist/models/DescribeAidbclusterDatasetsResponse.d.ts +19 -0
- package/dist/models/DescribeAidbclusterDatasetsResponse.js +69 -0
- package/dist/models/DescribeAidbclusterDatasetsResponse.js.map +1 -0
- package/dist/models/DescribeAidbclusterDatasetsResponseBody.d.ts +149 -0
- package/dist/models/DescribeAidbclusterDatasetsResponseBody.js +126 -0
- package/dist/models/DescribeAidbclusterDatasetsResponseBody.js.map +1 -0
- package/dist/models/DescribeAidbclusterTaskAttributeRequest.d.ts +32 -0
- package/dist/models/DescribeAidbclusterTaskAttributeRequest.js +70 -0
- package/dist/models/DescribeAidbclusterTaskAttributeRequest.js.map +1 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponse.d.ts +19 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponse.js +69 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponse.js.map +1 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +186 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js +163 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js.map +1 -0
- package/dist/models/DescribeAidbclusterTasksRequest.d.ts +32 -0
- package/dist/models/DescribeAidbclusterTasksRequest.js +70 -0
- package/dist/models/DescribeAidbclusterTasksRequest.js.map +1 -0
- package/dist/models/DescribeAidbclusterTasksResponse.d.ts +19 -0
- package/dist/models/DescribeAidbclusterTasksResponse.js +69 -0
- package/dist/models/DescribeAidbclusterTasksResponse.js.map +1 -0
- package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +134 -0
- package/dist/models/DescribeAidbclusterTasksResponseBody.js +120 -0
- package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -0
- package/dist/models/DescribeApplicationLogsRequest.d.ts +75 -0
- package/dist/models/DescribeApplicationLogsRequest.js +84 -0
- package/dist/models/DescribeApplicationLogsRequest.js.map +1 -0
- package/dist/models/DescribeApplicationLogsResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationLogsResponse.js +69 -0
- package/dist/models/DescribeApplicationLogsResponse.js.map +1 -0
- package/dist/models/DescribeApplicationLogsResponseBody.d.ts +79 -0
- package/dist/models/DescribeApplicationLogsResponseBody.js +140 -0
- package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +30 -0
- package/dist/models/model.js +84 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +636 -0
- package/src/models/CreateAidbclusterDatasetRequest.ts +78 -0
- package/src/models/CreateAidbclusterDatasetResponse.ts +40 -0
- package/src/models/CreateAidbclusterDatasetResponseBody.ts +69 -0
- package/src/models/CreateAidbclusterTaskRequest.ts +156 -0
- package/src/models/CreateAidbclusterTaskResponse.ts +40 -0
- package/src/models/CreateAidbclusterTaskResponseBody.ts +48 -0
- package/src/models/DeleteAidbclusterDatasetRequest.ts +60 -0
- package/src/models/DeleteAidbclusterDatasetResponse.ts +40 -0
- package/src/models/DeleteAidbclusterDatasetResponseBody.ts +48 -0
- package/src/models/DeleteAidbclusterTaskRequest.ts +57 -0
- package/src/models/DeleteAidbclusterTaskResponse.ts +40 -0
- package/src/models/DeleteAidbclusterTaskResponseBody.ts +48 -0
- package/src/models/DescribeAidbclusterDatasetsRequest.ts +92 -0
- package/src/models/DescribeAidbclusterDatasetsResponse.ts +40 -0
- package/src/models/DescribeAidbclusterDatasetsResponseBody.ts +221 -0
- package/src/models/DescribeAidbclusterTaskAttributeRequest.ts +57 -0
- package/src/models/DescribeAidbclusterTaskAttributeResponse.ts +40 -0
- package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +284 -0
- package/src/models/DescribeAidbclusterTasksRequest.ts +57 -0
- package/src/models/DescribeAidbclusterTasksResponse.ts +40 -0
- package/src/models/DescribeAidbclusterTasksResponseBody.ts +200 -0
- package/src/models/DescribeApplicationLogsRequest.ts +114 -0
- package/src/models/DescribeApplicationLogsResponse.ts +40 -0
- package/src/models/DescribeApplicationLogsResponseBody.ts +156 -0
- package/src/models/model.ts +30 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateAIDBClusterDatasetRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pc-2ze88***
|
|
9
|
+
*/
|
|
10
|
+
DBClusterId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* dataset01
|
|
14
|
+
*/
|
|
15
|
+
datasetName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* train
|
|
19
|
+
*/
|
|
20
|
+
datasetType?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* LocalImport
|
|
24
|
+
*/
|
|
25
|
+
importMode?: string;
|
|
26
|
+
ownerAccount?: string;
|
|
27
|
+
ownerId?: number;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* cn-beijing
|
|
31
|
+
*/
|
|
32
|
+
regionId?: string;
|
|
33
|
+
resourceOwnerAccount?: string;
|
|
34
|
+
resourceOwnerId?: number;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* sft
|
|
38
|
+
*/
|
|
39
|
+
trainMode?: string;
|
|
40
|
+
static names(): { [key: string]: string } {
|
|
41
|
+
return {
|
|
42
|
+
DBClusterId: 'DBClusterId',
|
|
43
|
+
datasetName: 'DatasetName',
|
|
44
|
+
datasetType: 'DatasetType',
|
|
45
|
+
importMode: 'ImportMode',
|
|
46
|
+
ownerAccount: 'OwnerAccount',
|
|
47
|
+
ownerId: 'OwnerId',
|
|
48
|
+
regionId: 'RegionId',
|
|
49
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
50
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
51
|
+
trainMode: 'TrainMode',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
static types(): { [key: string]: any } {
|
|
56
|
+
return {
|
|
57
|
+
DBClusterId: 'string',
|
|
58
|
+
datasetName: 'string',
|
|
59
|
+
datasetType: 'string',
|
|
60
|
+
importMode: 'string',
|
|
61
|
+
ownerAccount: 'string',
|
|
62
|
+
ownerId: 'number',
|
|
63
|
+
regionId: 'string',
|
|
64
|
+
resourceOwnerAccount: 'string',
|
|
65
|
+
resourceOwnerId: 'number',
|
|
66
|
+
trainMode: 'string',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
validate() {
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateAIDBClusterDatasetResponseBody } from "./CreateAidbclusterDatasetResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateAIDBClusterDatasetResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateAIDBClusterDatasetResponseBody;
|
|
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: CreateAIDBClusterDatasetResponseBody,
|
|
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,69 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateAIDBClusterDatasetResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pc-****************
|
|
9
|
+
*/
|
|
10
|
+
DBClusterId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* pcs-2zeei***
|
|
14
|
+
*/
|
|
15
|
+
dataServiceId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* pds-2ze88***
|
|
19
|
+
*/
|
|
20
|
+
datasetId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* dataset01
|
|
24
|
+
*/
|
|
25
|
+
datasetName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* polardb_ai/datasets/train/sft/dataset01
|
|
29
|
+
*/
|
|
30
|
+
path?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* Id of the request
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* CD35F3-F3-44CA-AFFF-BAF869******
|
|
37
|
+
*/
|
|
38
|
+
requestId?: string;
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
DBClusterId: 'DBClusterId',
|
|
42
|
+
dataServiceId: 'DataServiceId',
|
|
43
|
+
datasetId: 'DatasetId',
|
|
44
|
+
datasetName: 'DatasetName',
|
|
45
|
+
path: 'Path',
|
|
46
|
+
requestId: 'RequestId',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static types(): { [key: string]: any } {
|
|
51
|
+
return {
|
|
52
|
+
DBClusterId: 'string',
|
|
53
|
+
dataServiceId: 'string',
|
|
54
|
+
datasetId: 'string',
|
|
55
|
+
datasetName: 'string',
|
|
56
|
+
path: 'string',
|
|
57
|
+
requestId: 'string',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
validate() {
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
constructor(map?: { [key: string]: any }) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pc-****************
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* polar.pg.g6.4xlarge.guh
|
|
17
|
+
*/
|
|
18
|
+
DBInstanceClass?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* pds-2zetrain***
|
|
22
|
+
*/
|
|
23
|
+
datasetPath?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* pds-2zetrain***
|
|
27
|
+
*/
|
|
28
|
+
evalDatasetPath?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* This parameter is required.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* aitrain
|
|
35
|
+
*/
|
|
36
|
+
kubeType?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* This parameter is required.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* Qwen3-8B
|
|
43
|
+
*/
|
|
44
|
+
modelName?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* This parameter is required.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* public
|
|
51
|
+
*/
|
|
52
|
+
modelSource?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* qwen3
|
|
56
|
+
*/
|
|
57
|
+
modelType?: string;
|
|
58
|
+
ownerAccount?: string;
|
|
59
|
+
ownerId?: number;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* cn-beijing
|
|
63
|
+
*/
|
|
64
|
+
regionId?: string;
|
|
65
|
+
resourceOwnerAccount?: string;
|
|
66
|
+
resourceOwnerId?: number;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* This parameter is required.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* {"split_dataset_ratio": 0.1,"train_mode": "grpo","train_type": "lora","num_epochs": 1,"batch_size": 2,"eval_batch_size": 2, "num_generations": 2, "learning_rate": "1e-6", "data_file_list": "test-00000-of-00001.jsonl#1000", "lora_rank": 8, "lora_alpha": 32, "external_plugins": "/plugin/train/plugin.py", "reward_funcs": "format,external_countdown", "gpu_memory_utilization": 0.4}
|
|
73
|
+
*/
|
|
74
|
+
runningParameter?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* sg-bp**************
|
|
78
|
+
*/
|
|
79
|
+
securityGroupId?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* xxxx
|
|
83
|
+
*/
|
|
84
|
+
taskName?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @example
|
|
87
|
+
* vpc-*******************
|
|
88
|
+
*/
|
|
89
|
+
VPCId?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @example
|
|
92
|
+
* vsw-*********************
|
|
93
|
+
*/
|
|
94
|
+
vSwitchId?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @example
|
|
97
|
+
* cn-hangzhou-k
|
|
98
|
+
*/
|
|
99
|
+
zoneId?: string;
|
|
100
|
+
static names(): { [key: string]: string } {
|
|
101
|
+
return {
|
|
102
|
+
DBClusterId: 'DBClusterId',
|
|
103
|
+
DBInstanceClass: 'DBInstanceClass',
|
|
104
|
+
datasetPath: 'DatasetPath',
|
|
105
|
+
evalDatasetPath: 'EvalDatasetPath',
|
|
106
|
+
kubeType: 'KubeType',
|
|
107
|
+
modelName: 'ModelName',
|
|
108
|
+
modelSource: 'ModelSource',
|
|
109
|
+
modelType: 'ModelType',
|
|
110
|
+
ownerAccount: 'OwnerAccount',
|
|
111
|
+
ownerId: 'OwnerId',
|
|
112
|
+
regionId: 'RegionId',
|
|
113
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
114
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
115
|
+
runningParameter: 'RunningParameter',
|
|
116
|
+
securityGroupId: 'SecurityGroupId',
|
|
117
|
+
taskName: 'TaskName',
|
|
118
|
+
VPCId: 'VPCId',
|
|
119
|
+
vSwitchId: 'VSwitchId',
|
|
120
|
+
zoneId: 'ZoneId',
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
static types(): { [key: string]: any } {
|
|
125
|
+
return {
|
|
126
|
+
DBClusterId: 'string',
|
|
127
|
+
DBInstanceClass: 'string',
|
|
128
|
+
datasetPath: 'string',
|
|
129
|
+
evalDatasetPath: 'string',
|
|
130
|
+
kubeType: 'string',
|
|
131
|
+
modelName: 'string',
|
|
132
|
+
modelSource: 'string',
|
|
133
|
+
modelType: 'string',
|
|
134
|
+
ownerAccount: 'string',
|
|
135
|
+
ownerId: 'number',
|
|
136
|
+
regionId: 'string',
|
|
137
|
+
resourceOwnerAccount: 'string',
|
|
138
|
+
resourceOwnerId: 'number',
|
|
139
|
+
runningParameter: 'string',
|
|
140
|
+
securityGroupId: 'string',
|
|
141
|
+
taskName: 'string',
|
|
142
|
+
VPCId: 'string',
|
|
143
|
+
vSwitchId: 'string',
|
|
144
|
+
zoneId: 'string',
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
validate() {
|
|
149
|
+
super.validate();
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
constructor(map?: { [key: string]: any }) {
|
|
153
|
+
super(map);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateAIDBClusterTaskResponseBody } from "./CreateAidbclusterTaskResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateAIDBClusterTaskResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateAIDBClusterTaskResponseBody;
|
|
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: CreateAIDBClusterTaskResponseBody,
|
|
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,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateAIDBClusterTaskResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pm-2zo88***
|
|
9
|
+
*/
|
|
10
|
+
DBClusterId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 2035638*******
|
|
14
|
+
*/
|
|
15
|
+
orderId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* Id of the request
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* CED079B7-A408-41A1-BFF1-EC608E******
|
|
22
|
+
*/
|
|
23
|
+
requestId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
DBClusterId: 'DBClusterId',
|
|
27
|
+
orderId: 'OrderId',
|
|
28
|
+
requestId: 'RequestId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
DBClusterId: 'string',
|
|
35
|
+
orderId: 'string',
|
|
36
|
+
requestId: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteAIDBClusterDatasetRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pc-**************
|
|
9
|
+
*/
|
|
10
|
+
DBClusterId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* d-0npezigk8d3amuojqc
|
|
17
|
+
*/
|
|
18
|
+
datasetId?: string;
|
|
19
|
+
ownerAccount?: string;
|
|
20
|
+
ownerId?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* cn-beijing
|
|
24
|
+
*/
|
|
25
|
+
regionId?: string;
|
|
26
|
+
resourceOwnerAccount?: string;
|
|
27
|
+
resourceOwnerId?: number;
|
|
28
|
+
static names(): { [key: string]: string } {
|
|
29
|
+
return {
|
|
30
|
+
DBClusterId: 'DBClusterId',
|
|
31
|
+
datasetId: 'DatasetId',
|
|
32
|
+
ownerAccount: 'OwnerAccount',
|
|
33
|
+
ownerId: 'OwnerId',
|
|
34
|
+
regionId: 'RegionId',
|
|
35
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
36
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
DBClusterId: 'string',
|
|
43
|
+
datasetId: 'string',
|
|
44
|
+
ownerAccount: 'string',
|
|
45
|
+
ownerId: 'number',
|
|
46
|
+
regionId: 'string',
|
|
47
|
+
resourceOwnerAccount: 'string',
|
|
48
|
+
resourceOwnerId: 'number',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
constructor(map?: { [key: string]: any }) {
|
|
57
|
+
super(map);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteAIDBClusterDatasetResponseBody } from "./DeleteAidbclusterDatasetResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteAIDBClusterDatasetResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteAIDBClusterDatasetResponseBody;
|
|
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: DeleteAIDBClusterDatasetResponseBody,
|
|
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,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteAIDBClusterDatasetResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pcs-2zeei***
|
|
9
|
+
*/
|
|
10
|
+
dataServiceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* pds-xxxxxxxxxxxxxxxx
|
|
14
|
+
*/
|
|
15
|
+
datasetId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* Id of the request
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* CD35F3-F3-44CA-AFFF-BAF869******
|
|
22
|
+
*/
|
|
23
|
+
requestId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
dataServiceId: 'DataServiceId',
|
|
27
|
+
datasetId: 'DatasetId',
|
|
28
|
+
requestId: 'RequestId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
dataServiceId: 'string',
|
|
35
|
+
datasetId: 'string',
|
|
36
|
+
requestId: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteAIDBClusterTaskRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pm-2ze9***
|
|
9
|
+
*/
|
|
10
|
+
DBClusterId?: string;
|
|
11
|
+
ownerAccount?: string;
|
|
12
|
+
ownerId?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* cn-beijing
|
|
16
|
+
*/
|
|
17
|
+
regionId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* pc-2zejpr***
|
|
21
|
+
*/
|
|
22
|
+
relativeDBClusterId?: string;
|
|
23
|
+
resourceOwnerAccount?: string;
|
|
24
|
+
resourceOwnerId?: number;
|
|
25
|
+
static names(): { [key: string]: string } {
|
|
26
|
+
return {
|
|
27
|
+
DBClusterId: 'DBClusterId',
|
|
28
|
+
ownerAccount: 'OwnerAccount',
|
|
29
|
+
ownerId: 'OwnerId',
|
|
30
|
+
regionId: 'RegionId',
|
|
31
|
+
relativeDBClusterId: 'RelativeDBClusterId',
|
|
32
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
33
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static types(): { [key: string]: any } {
|
|
38
|
+
return {
|
|
39
|
+
DBClusterId: 'string',
|
|
40
|
+
ownerAccount: 'string',
|
|
41
|
+
ownerId: 'number',
|
|
42
|
+
regionId: 'string',
|
|
43
|
+
relativeDBClusterId: 'string',
|
|
44
|
+
resourceOwnerAccount: 'string',
|
|
45
|
+
resourceOwnerId: 'number',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
validate() {
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteAIDBClusterTaskResponseBody } from "./DeleteAidbclusterTaskResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteAIDBClusterTaskResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteAIDBClusterTaskResponseBody;
|
|
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: DeleteAIDBClusterTaskResponseBody,
|
|
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
|
+
|