@alicloud/adb20211201 4.2.5 → 4.4.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 +75 -0
- package/dist/client.js +308 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ConfigureResultExportRequest.d.ts +90 -0
- package/dist/models/ConfigureResultExportRequest.js +118 -0
- package/dist/models/ConfigureResultExportRequest.js.map +1 -0
- package/dist/models/ConfigureResultExportResponse.d.ts +19 -0
- package/dist/models/ConfigureResultExportResponse.js +69 -0
- package/dist/models/ConfigureResultExportResponse.js.map +1 -0
- package/dist/models/ConfigureResultExportResponseBody.d.ts +112 -0
- package/dist/models/ConfigureResultExportResponseBody.js +146 -0
- package/dist/models/ConfigureResultExportResponseBody.js.map +1 -0
- package/dist/models/ConfigureResultExportShrinkRequest.d.ts +36 -0
- package/dist/models/ConfigureResultExportShrinkRequest.js +66 -0
- package/dist/models/ConfigureResultExportShrinkRequest.js.map +1 -0
- package/dist/models/CreateBackupRequest.d.ts +30 -0
- package/dist/models/CreateBackupRequest.js +68 -0
- package/dist/models/CreateBackupRequest.js.map +1 -0
- package/dist/models/CreateBackupResponse.d.ts +19 -0
- package/dist/models/CreateBackupResponse.js +69 -0
- package/dist/models/CreateBackupResponse.js.map +1 -0
- package/dist/models/CreateBackupResponseBody.d.ts +21 -0
- package/dist/models/CreateBackupResponseBody.js +58 -0
- package/dist/models/CreateBackupResponseBody.js.map +1 -0
- package/dist/models/CreateDbclusterRequest.d.ts +1 -0
- package/dist/models/CreateDbclusterRequest.js +2 -0
- package/dist/models/CreateDbclusterRequest.js.map +1 -1
- package/dist/models/DescribeJobResourceUsageResponseBody.d.ts +1 -0
- package/dist/models/DescribeJobResourceUsageResponseBody.js +2 -0
- package/dist/models/DescribeJobResourceUsageResponseBody.js.map +1 -1
- package/dist/models/DescribeResultExportConfigRequest.d.ts +34 -0
- package/dist/models/DescribeResultExportConfigRequest.js +62 -0
- package/dist/models/DescribeResultExportConfigRequest.js.map +1 -0
- package/dist/models/DescribeResultExportConfigResponse.d.ts +19 -0
- package/dist/models/DescribeResultExportConfigResponse.js +69 -0
- package/dist/models/DescribeResultExportConfigResponse.js.map +1 -0
- package/dist/models/DescribeResultExportConfigResponseBody.d.ts +112 -0
- package/dist/models/DescribeResultExportConfigResponseBody.js +146 -0
- package/dist/models/DescribeResultExportConfigResponseBody.js.map +1 -0
- package/dist/models/DescribeSparkAuditLogRecordsRequest.d.ts +111 -0
- package/dist/models/DescribeSparkAuditLogRecordsRequest.js +98 -0
- package/dist/models/DescribeSparkAuditLogRecordsRequest.js.map +1 -0
- package/dist/models/DescribeSparkAuditLogRecordsResponse.d.ts +19 -0
- package/dist/models/DescribeSparkAuditLogRecordsResponse.js +69 -0
- package/dist/models/DescribeSparkAuditLogRecordsResponse.js.map +1 -0
- package/dist/models/DescribeSparkAuditLogRecordsResponseBody.d.ts +142 -0
- package/dist/models/DescribeSparkAuditLogRecordsResponseBody.js +120 -0
- package/dist/models/DescribeSparkAuditLogRecordsResponseBody.js.map +1 -0
- package/dist/models/ModifySqlTemplatePositionRequest.d.ts +45 -0
- package/dist/models/ModifySqlTemplatePositionRequest.js +64 -0
- package/dist/models/ModifySqlTemplatePositionRequest.js.map +1 -0
- package/dist/models/ModifySqlTemplatePositionResponse.d.ts +19 -0
- package/dist/models/ModifySqlTemplatePositionResponse.js +69 -0
- package/dist/models/ModifySqlTemplatePositionResponse.js.map +1 -0
- package/dist/models/ModifySqlTemplatePositionResponseBody.d.ts +28 -0
- package/dist/models/ModifySqlTemplatePositionResponseBody.js +62 -0
- package/dist/models/ModifySqlTemplatePositionResponseBody.js.map +1 -0
- package/dist/models/OpenStructMvDetailModel.d.ts +3 -0
- package/dist/models/OpenStructMvDetailModel.js +6 -0
- package/dist/models/OpenStructMvDetailModel.js.map +1 -1
- package/dist/models/OpenStructMvRecommendSubTaskModel.d.ts +3 -0
- package/dist/models/OpenStructMvRecommendSubTaskModel.js +6 -0
- package/dist/models/OpenStructMvRecommendSubTaskModel.js.map +1 -1
- package/dist/models/OpenStructMvRecommendTaskModel.d.ts +3 -0
- package/dist/models/OpenStructMvRecommendTaskModel.js +6 -0
- package/dist/models/OpenStructMvRecommendTaskModel.js.map +1 -1
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +70 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +360 -0
- package/src/models/ConfigureResultExportRequest.ts +145 -0
- package/src/models/ConfigureResultExportResponse.ts +40 -0
- package/src/models/ConfigureResultExportResponseBody.ts +186 -0
- package/src/models/ConfigureResultExportShrinkRequest.ts +57 -0
- package/src/models/CreateBackupRequest.ts +53 -0
- package/src/models/CreateBackupResponse.ts +40 -0
- package/src/models/CreateBackupResponseBody.ts +34 -0
- package/src/models/CreateDbclusterRequest.ts +3 -0
- package/src/models/DescribeJobResourceUsageResponseBody.ts +3 -0
- package/src/models/DescribeResultExportConfigRequest.ts +51 -0
- package/src/models/DescribeResultExportConfigResponse.ts +40 -0
- package/src/models/DescribeResultExportConfigResponseBody.ts +186 -0
- package/src/models/DescribeSparkAuditLogRecordsRequest.ts +164 -0
- package/src/models/DescribeSparkAuditLogRecordsResponse.ts +40 -0
- package/src/models/DescribeSparkAuditLogRecordsResponseBody.ts +208 -0
- package/src/models/ModifySqlTemplatePositionRequest.ts +64 -0
- package/src/models/ModifySqlTemplatePositionResponse.ts +40 -0
- package/src/models/ModifySqlTemplatePositionResponseBody.ts +45 -0
- package/src/models/OpenStructMvDetailModel.ts +9 -0
- package/src/models/OpenStructMvRecommendSubTaskModel.ts +9 -0
- package/src/models/OpenStructMvRecommendTaskModel.ts +9 -0
- package/src/models/model.ts +25 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ConfigureResultExportResponseBodyDataOssInfo extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* oss://testBucketName/data_result
|
|
9
|
+
*/
|
|
10
|
+
exportBasePath?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* aps
|
|
14
|
+
*/
|
|
15
|
+
resourceGroup?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 10
|
|
19
|
+
*/
|
|
20
|
+
resultFileTtl?: number;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
exportBasePath: 'ExportBasePath',
|
|
24
|
+
resourceGroup: 'ResourceGroup',
|
|
25
|
+
resultFileTtl: 'ResultFileTtl',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
exportBasePath: 'string',
|
|
32
|
+
resourceGroup: 'string',
|
|
33
|
+
resultFileTtl: 'number',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class ConfigureResultExportResponseBodyDataSlsInfo extends $dara.Model {
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* 10
|
|
50
|
+
*/
|
|
51
|
+
logstoreTtl?: number;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* aps
|
|
55
|
+
*/
|
|
56
|
+
resourceGroup?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* test-project
|
|
60
|
+
*/
|
|
61
|
+
slsProject?: string;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
logstoreTtl: 'LogstoreTtl',
|
|
65
|
+
resourceGroup: 'ResourceGroup',
|
|
66
|
+
slsProject: 'SlsProject',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static types(): { [key: string]: any } {
|
|
71
|
+
return {
|
|
72
|
+
logstoreTtl: 'number',
|
|
73
|
+
resourceGroup: 'string',
|
|
74
|
+
slsProject: 'string',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
validate() {
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class ConfigureResultExportResponseBodyData extends $dara.Model {
|
|
88
|
+
/**
|
|
89
|
+
* @example
|
|
90
|
+
* SLS
|
|
91
|
+
*/
|
|
92
|
+
exportType?: string;
|
|
93
|
+
ossInfo?: ConfigureResultExportResponseBodyDataOssInfo;
|
|
94
|
+
slsInfo?: ConfigureResultExportResponseBodyDataSlsInfo;
|
|
95
|
+
static names(): { [key: string]: string } {
|
|
96
|
+
return {
|
|
97
|
+
exportType: 'ExportType',
|
|
98
|
+
ossInfo: 'OssInfo',
|
|
99
|
+
slsInfo: 'SlsInfo',
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
static types(): { [key: string]: any } {
|
|
104
|
+
return {
|
|
105
|
+
exportType: 'string',
|
|
106
|
+
ossInfo: ConfigureResultExportResponseBodyDataOssInfo,
|
|
107
|
+
slsInfo: ConfigureResultExportResponseBodyDataSlsInfo,
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
validate() {
|
|
112
|
+
if(this.ossInfo && typeof (this.ossInfo as any).validate === 'function') {
|
|
113
|
+
(this.ossInfo as any).validate();
|
|
114
|
+
}
|
|
115
|
+
if(this.slsInfo && typeof (this.slsInfo as any).validate === 'function') {
|
|
116
|
+
(this.slsInfo as any).validate();
|
|
117
|
+
}
|
|
118
|
+
super.validate();
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
constructor(map?: { [key: string]: any }) {
|
|
122
|
+
super(map);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export class ConfigureResultExportResponseBody extends $dara.Model {
|
|
127
|
+
/**
|
|
128
|
+
* @example
|
|
129
|
+
* 200
|
|
130
|
+
*/
|
|
131
|
+
code?: string;
|
|
132
|
+
data?: ConfigureResultExportResponseBodyData;
|
|
133
|
+
/**
|
|
134
|
+
* @example
|
|
135
|
+
* 200
|
|
136
|
+
*/
|
|
137
|
+
httpStatusCode?: number;
|
|
138
|
+
/**
|
|
139
|
+
* @example
|
|
140
|
+
* OK
|
|
141
|
+
*/
|
|
142
|
+
message?: string;
|
|
143
|
+
/**
|
|
144
|
+
* @example
|
|
145
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
146
|
+
*/
|
|
147
|
+
requestId?: string;
|
|
148
|
+
/**
|
|
149
|
+
* @example
|
|
150
|
+
* true
|
|
151
|
+
*/
|
|
152
|
+
success?: boolean;
|
|
153
|
+
static names(): { [key: string]: string } {
|
|
154
|
+
return {
|
|
155
|
+
code: 'Code',
|
|
156
|
+
data: 'Data',
|
|
157
|
+
httpStatusCode: 'HttpStatusCode',
|
|
158
|
+
message: 'Message',
|
|
159
|
+
requestId: 'RequestId',
|
|
160
|
+
success: 'Success',
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
static types(): { [key: string]: any } {
|
|
165
|
+
return {
|
|
166
|
+
code: 'string',
|
|
167
|
+
data: ConfigureResultExportResponseBodyData,
|
|
168
|
+
httpStatusCode: 'number',
|
|
169
|
+
message: 'string',
|
|
170
|
+
requestId: 'string',
|
|
171
|
+
success: 'boolean',
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
validate() {
|
|
176
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
177
|
+
(this.data as any).validate();
|
|
178
|
+
}
|
|
179
|
+
super.validate();
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
constructor(map?: { [key: string]: any }) {
|
|
183
|
+
super(map);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
@@ -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 ConfigureResultExportShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* amv-wz9509beptiz****
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* SLS
|
|
17
|
+
*/
|
|
18
|
+
exportType?: string;
|
|
19
|
+
ossInfoShrink?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* This parameter is required.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* cn-shenzhen
|
|
26
|
+
*/
|
|
27
|
+
regionId?: string;
|
|
28
|
+
slsInfoShrink?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
DBClusterId: 'DBClusterId',
|
|
32
|
+
exportType: 'ExportType',
|
|
33
|
+
ossInfoShrink: 'OssInfo',
|
|
34
|
+
regionId: 'RegionId',
|
|
35
|
+
slsInfoShrink: 'SlsInfo',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static types(): { [key: string]: any } {
|
|
40
|
+
return {
|
|
41
|
+
DBClusterId: 'string',
|
|
42
|
+
exportType: 'string',
|
|
43
|
+
ossInfoShrink: 'string',
|
|
44
|
+
regionId: 'string',
|
|
45
|
+
slsInfoShrink: 'string',
|
|
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,53 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateBackupRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* amv-wz9or2xawpnc****
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
ownerAccount?: string;
|
|
15
|
+
ownerId?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* cn-hangzhou
|
|
19
|
+
*/
|
|
20
|
+
regionId?: string;
|
|
21
|
+
resourceOwnerAccount?: string;
|
|
22
|
+
resourceOwnerId?: number;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
DBClusterId: 'DBClusterId',
|
|
26
|
+
ownerAccount: 'OwnerAccount',
|
|
27
|
+
ownerId: 'OwnerId',
|
|
28
|
+
regionId: 'RegionId',
|
|
29
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
30
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
static types(): { [key: string]: any } {
|
|
35
|
+
return {
|
|
36
|
+
DBClusterId: 'string',
|
|
37
|
+
ownerAccount: 'string',
|
|
38
|
+
ownerId: 'number',
|
|
39
|
+
regionId: 'string',
|
|
40
|
+
resourceOwnerAccount: 'string',
|
|
41
|
+
resourceOwnerId: 'number',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
validate() {
|
|
46
|
+
super.validate();
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
constructor(map?: { [key: string]: any }) {
|
|
50
|
+
super(map);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateBackupResponseBody } from "./CreateBackupResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateBackupResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateBackupResponseBody;
|
|
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: CreateBackupResponseBody,
|
|
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,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateBackupResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Id of the request
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 421794A3-72A5-5D27-9E8B-A75A4C50****
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -125,6 +125,7 @@ export class CreateDBClusterRequest extends $dara.Model {
|
|
|
125
125
|
* true
|
|
126
126
|
*/
|
|
127
127
|
enableDefaultResourcePool?: boolean;
|
|
128
|
+
enableSSL?: boolean;
|
|
128
129
|
/**
|
|
129
130
|
* @remarks
|
|
130
131
|
* The ID of the key that is used to encrypt disk data.
|
|
@@ -344,6 +345,7 @@ export class CreateDBClusterRequest extends $dara.Model {
|
|
|
344
345
|
DBClusterVersion: 'DBClusterVersion',
|
|
345
346
|
diskEncryption: 'DiskEncryption',
|
|
346
347
|
enableDefaultResourcePool: 'EnableDefaultResourcePool',
|
|
348
|
+
enableSSL: 'EnableSSL',
|
|
347
349
|
kmsId: 'KmsId',
|
|
348
350
|
payType: 'PayType',
|
|
349
351
|
period: 'Period',
|
|
@@ -377,6 +379,7 @@ export class CreateDBClusterRequest extends $dara.Model {
|
|
|
377
379
|
DBClusterVersion: 'string',
|
|
378
380
|
diskEncryption: 'boolean',
|
|
379
381
|
enableDefaultResourcePool: 'boolean',
|
|
382
|
+
enableSSL: 'boolean',
|
|
380
383
|
kmsId: 'string',
|
|
381
384
|
payType: 'string',
|
|
382
385
|
period: 'string',
|
|
@@ -110,6 +110,7 @@ export class DescribeJobResourceUsageResponseBodyDataJobAcuUsage extends $dara.M
|
|
|
110
110
|
* job_default
|
|
111
111
|
*/
|
|
112
112
|
resourceGroupName?: string;
|
|
113
|
+
useCachePool?: boolean;
|
|
113
114
|
static names(): { [key: string]: string } {
|
|
114
115
|
return {
|
|
115
116
|
acuUsageDetail: 'AcuUsageDetail',
|
|
@@ -117,6 +118,7 @@ export class DescribeJobResourceUsageResponseBodyDataJobAcuUsage extends $dara.M
|
|
|
117
118
|
jobId: 'JobId',
|
|
118
119
|
jobStartTime: 'JobStartTime',
|
|
119
120
|
resourceGroupName: 'ResourceGroupName',
|
|
121
|
+
useCachePool: 'UseCachePool',
|
|
120
122
|
};
|
|
121
123
|
}
|
|
122
124
|
|
|
@@ -127,6 +129,7 @@ export class DescribeJobResourceUsageResponseBodyDataJobAcuUsage extends $dara.M
|
|
|
127
129
|
jobId: 'string',
|
|
128
130
|
jobStartTime: 'string',
|
|
129
131
|
resourceGroupName: 'string',
|
|
132
|
+
useCachePool: 'boolean',
|
|
130
133
|
};
|
|
131
134
|
}
|
|
132
135
|
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeResultExportConfigRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* amv-8vbf80pjcz*****
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* SLS
|
|
17
|
+
*/
|
|
18
|
+
exportType?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* cn-shenzhen
|
|
25
|
+
*/
|
|
26
|
+
regionId?: string;
|
|
27
|
+
static names(): { [key: string]: string } {
|
|
28
|
+
return {
|
|
29
|
+
DBClusterId: 'DBClusterId',
|
|
30
|
+
exportType: 'ExportType',
|
|
31
|
+
regionId: 'RegionId',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
DBClusterId: 'string',
|
|
38
|
+
exportType: 'string',
|
|
39
|
+
regionId: 'string',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
validate() {
|
|
44
|
+
super.validate();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
constructor(map?: { [key: string]: any }) {
|
|
48
|
+
super(map);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeResultExportConfigResponseBody } from "./DescribeResultExportConfigResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeResultExportConfigResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeResultExportConfigResponseBody;
|
|
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: DescribeResultExportConfigResponseBody,
|
|
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,186 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeResultExportConfigResponseBodyDataOssInfo extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* oss://testBucketName/data_result
|
|
9
|
+
*/
|
|
10
|
+
exportBasePath?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* aps
|
|
14
|
+
*/
|
|
15
|
+
resourceGroup?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 10
|
|
19
|
+
*/
|
|
20
|
+
resultFileTtl?: number;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
exportBasePath: 'ExportBasePath',
|
|
24
|
+
resourceGroup: 'ResourceGroup',
|
|
25
|
+
resultFileTtl: 'ResultFileTtl',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
exportBasePath: 'string',
|
|
32
|
+
resourceGroup: 'string',
|
|
33
|
+
resultFileTtl: 'number',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class DescribeResultExportConfigResponseBodyDataSlsInfo extends $dara.Model {
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* 10
|
|
50
|
+
*/
|
|
51
|
+
logstoreTtl?: number;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* aps
|
|
55
|
+
*/
|
|
56
|
+
resourceGroup?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* test-project
|
|
60
|
+
*/
|
|
61
|
+
slsProject?: string;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
logstoreTtl: 'LogstoreTtl',
|
|
65
|
+
resourceGroup: 'ResourceGroup',
|
|
66
|
+
slsProject: 'SlsProject',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static types(): { [key: string]: any } {
|
|
71
|
+
return {
|
|
72
|
+
logstoreTtl: 'number',
|
|
73
|
+
resourceGroup: 'string',
|
|
74
|
+
slsProject: 'string',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
validate() {
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class DescribeResultExportConfigResponseBodyData extends $dara.Model {
|
|
88
|
+
/**
|
|
89
|
+
* @example
|
|
90
|
+
* OSS
|
|
91
|
+
*/
|
|
92
|
+
exportType?: string;
|
|
93
|
+
ossInfo?: DescribeResultExportConfigResponseBodyDataOssInfo;
|
|
94
|
+
slsInfo?: DescribeResultExportConfigResponseBodyDataSlsInfo;
|
|
95
|
+
static names(): { [key: string]: string } {
|
|
96
|
+
return {
|
|
97
|
+
exportType: 'ExportType',
|
|
98
|
+
ossInfo: 'OssInfo',
|
|
99
|
+
slsInfo: 'SlsInfo',
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
static types(): { [key: string]: any } {
|
|
104
|
+
return {
|
|
105
|
+
exportType: 'string',
|
|
106
|
+
ossInfo: DescribeResultExportConfigResponseBodyDataOssInfo,
|
|
107
|
+
slsInfo: DescribeResultExportConfigResponseBodyDataSlsInfo,
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
validate() {
|
|
112
|
+
if(this.ossInfo && typeof (this.ossInfo as any).validate === 'function') {
|
|
113
|
+
(this.ossInfo as any).validate();
|
|
114
|
+
}
|
|
115
|
+
if(this.slsInfo && typeof (this.slsInfo as any).validate === 'function') {
|
|
116
|
+
(this.slsInfo as any).validate();
|
|
117
|
+
}
|
|
118
|
+
super.validate();
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
constructor(map?: { [key: string]: any }) {
|
|
122
|
+
super(map);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export class DescribeResultExportConfigResponseBody extends $dara.Model {
|
|
127
|
+
/**
|
|
128
|
+
* @example
|
|
129
|
+
* InvalidInput
|
|
130
|
+
*/
|
|
131
|
+
code?: string;
|
|
132
|
+
data?: DescribeResultExportConfigResponseBodyData;
|
|
133
|
+
/**
|
|
134
|
+
* @example
|
|
135
|
+
* 200
|
|
136
|
+
*/
|
|
137
|
+
httpStatusCode?: number;
|
|
138
|
+
/**
|
|
139
|
+
* @example
|
|
140
|
+
* OK
|
|
141
|
+
*/
|
|
142
|
+
message?: string;
|
|
143
|
+
/**
|
|
144
|
+
* @example
|
|
145
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
146
|
+
*/
|
|
147
|
+
requestId?: string;
|
|
148
|
+
/**
|
|
149
|
+
* @example
|
|
150
|
+
* true
|
|
151
|
+
*/
|
|
152
|
+
success?: boolean;
|
|
153
|
+
static names(): { [key: string]: string } {
|
|
154
|
+
return {
|
|
155
|
+
code: 'Code',
|
|
156
|
+
data: 'Data',
|
|
157
|
+
httpStatusCode: 'HttpStatusCode',
|
|
158
|
+
message: 'Message',
|
|
159
|
+
requestId: 'RequestId',
|
|
160
|
+
success: 'Success',
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
static types(): { [key: string]: any } {
|
|
165
|
+
return {
|
|
166
|
+
code: 'string',
|
|
167
|
+
data: DescribeResultExportConfigResponseBodyData,
|
|
168
|
+
httpStatusCode: 'number',
|
|
169
|
+
message: 'string',
|
|
170
|
+
requestId: 'string',
|
|
171
|
+
success: 'boolean',
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
validate() {
|
|
176
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
177
|
+
(this.data as any).validate();
|
|
178
|
+
}
|
|
179
|
+
super.validate();
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
constructor(map?: { [key: string]: any }) {
|
|
183
|
+
super(map);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|