@alicloud/polardb20170801 6.4.1 → 6.5.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 +30 -0
- package/dist/client.js +120 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeAidbclusterTaskLogFilesRequest.d.ts +65 -0
- package/dist/models/DescribeAidbclusterTaskLogFilesRequest.js +72 -0
- package/dist/models/DescribeAidbclusterTaskLogFilesRequest.js.map +1 -0
- package/dist/models/DescribeAidbclusterTaskLogFilesResponse.d.ts +19 -0
- package/dist/models/DescribeAidbclusterTaskLogFilesResponse.js +69 -0
- package/dist/models/DescribeAidbclusterTaskLogFilesResponse.js.map +1 -0
- package/dist/models/DescribeAidbclusterTaskLogFilesResponseBody.d.ts +87 -0
- package/dist/models/DescribeAidbclusterTaskLogFilesResponseBody.js +118 -0
- package/dist/models/DescribeAidbclusterTaskLogFilesResponseBody.js.map +1 -0
- package/dist/models/DescribeAidbclusterTaskMetricsRequest.d.ts +62 -0
- package/dist/models/DescribeAidbclusterTaskMetricsRequest.js +72 -0
- package/dist/models/DescribeAidbclusterTaskMetricsRequest.js.map +1 -0
- package/dist/models/DescribeAidbclusterTaskMetricsResponse.d.ts +19 -0
- package/dist/models/DescribeAidbclusterTaskMetricsResponse.js +69 -0
- package/dist/models/DescribeAidbclusterTaskMetricsResponse.js.map +1 -0
- package/dist/models/DescribeAidbclusterTaskMetricsResponseBody.d.ts +124 -0
- package/dist/models/DescribeAidbclusterTaskMetricsResponseBody.js +135 -0
- package/dist/models/DescribeAidbclusterTaskMetricsResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +10 -0
- package/dist/models/model.js +42 -22
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +140 -0
- package/src/models/DescribeAidbclusterTaskLogFilesRequest.ts +92 -0
- package/src/models/DescribeAidbclusterTaskLogFilesResponse.ts +40 -0
- package/src/models/DescribeAidbclusterTaskLogFilesResponseBody.ts +142 -0
- package/src/models/DescribeAidbclusterTaskMetricsRequest.ts +89 -0
- package/src/models/DescribeAidbclusterTaskMetricsResponse.ts +40 -0
- package/src/models/DescribeAidbclusterTaskMetricsResponseBody.ts +194 -0
- package/src/models/model.ts +10 -0
package/src/client.ts
CHANGED
|
@@ -5560,6 +5560,146 @@ export default class Client extends OpenApi {
|
|
|
5560
5560
|
return await this.describeAIDBClusterPerformanceWithOptions(request, runtime);
|
|
5561
5561
|
}
|
|
5562
5562
|
|
|
5563
|
+
/**
|
|
5564
|
+
* 查询模型算子日志
|
|
5565
|
+
*
|
|
5566
|
+
* @param request - DescribeAIDBClusterTaskLogFilesRequest
|
|
5567
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5568
|
+
* @returns DescribeAIDBClusterTaskLogFilesResponse
|
|
5569
|
+
*/
|
|
5570
|
+
async describeAIDBClusterTaskLogFilesWithOptions(request: $_model.DescribeAIDBClusterTaskLogFilesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAIDBClusterTaskLogFilesResponse> {
|
|
5571
|
+
request.validate();
|
|
5572
|
+
let query = { };
|
|
5573
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
5574
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
5575
|
+
}
|
|
5576
|
+
|
|
5577
|
+
if (!$dara.isNull(request.endTime)) {
|
|
5578
|
+
query["EndTime"] = request.endTime;
|
|
5579
|
+
}
|
|
5580
|
+
|
|
5581
|
+
if (!$dara.isNull(request.logType)) {
|
|
5582
|
+
query["LogType"] = request.logType;
|
|
5583
|
+
}
|
|
5584
|
+
|
|
5585
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
5586
|
+
query["PageNumber"] = request.pageNumber;
|
|
5587
|
+
}
|
|
5588
|
+
|
|
5589
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
5590
|
+
query["PageSize"] = request.pageSize;
|
|
5591
|
+
}
|
|
5592
|
+
|
|
5593
|
+
if (!$dara.isNull(request.relativeDBClusterId)) {
|
|
5594
|
+
query["RelativeDBClusterId"] = request.relativeDBClusterId;
|
|
5595
|
+
}
|
|
5596
|
+
|
|
5597
|
+
if (!$dara.isNull(request.reverse)) {
|
|
5598
|
+
query["Reverse"] = request.reverse;
|
|
5599
|
+
}
|
|
5600
|
+
|
|
5601
|
+
if (!$dara.isNull(request.startTime)) {
|
|
5602
|
+
query["StartTime"] = request.startTime;
|
|
5603
|
+
}
|
|
5604
|
+
|
|
5605
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5606
|
+
query: OpenApiUtil.query(query),
|
|
5607
|
+
});
|
|
5608
|
+
let params = new $OpenApiUtil.Params({
|
|
5609
|
+
action: "DescribeAIDBClusterTaskLogFiles",
|
|
5610
|
+
version: "2017-08-01",
|
|
5611
|
+
protocol: "HTTPS",
|
|
5612
|
+
pathname: "/",
|
|
5613
|
+
method: "POST",
|
|
5614
|
+
authType: "AK",
|
|
5615
|
+
style: "RPC",
|
|
5616
|
+
reqBodyType: "formData",
|
|
5617
|
+
bodyType: "json",
|
|
5618
|
+
});
|
|
5619
|
+
return $dara.cast<$_model.DescribeAIDBClusterTaskLogFilesResponse>(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClusterTaskLogFilesResponse({}));
|
|
5620
|
+
}
|
|
5621
|
+
|
|
5622
|
+
/**
|
|
5623
|
+
* 查询模型算子日志
|
|
5624
|
+
*
|
|
5625
|
+
* @param request - DescribeAIDBClusterTaskLogFilesRequest
|
|
5626
|
+
* @returns DescribeAIDBClusterTaskLogFilesResponse
|
|
5627
|
+
*/
|
|
5628
|
+
async describeAIDBClusterTaskLogFiles(request: $_model.DescribeAIDBClusterTaskLogFilesRequest): Promise<$_model.DescribeAIDBClusterTaskLogFilesResponse> {
|
|
5629
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5630
|
+
return await this.describeAIDBClusterTaskLogFilesWithOptions(request, runtime);
|
|
5631
|
+
}
|
|
5632
|
+
|
|
5633
|
+
/**
|
|
5634
|
+
* 查询模型算子指标
|
|
5635
|
+
*
|
|
5636
|
+
* @param request - DescribeAIDBClusterTaskMetricsRequest
|
|
5637
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5638
|
+
* @returns DescribeAIDBClusterTaskMetricsResponse
|
|
5639
|
+
*/
|
|
5640
|
+
async describeAIDBClusterTaskMetricsWithOptions(request: $_model.DescribeAIDBClusterTaskMetricsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAIDBClusterTaskMetricsResponse> {
|
|
5641
|
+
request.validate();
|
|
5642
|
+
let query = { };
|
|
5643
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
5644
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
5645
|
+
}
|
|
5646
|
+
|
|
5647
|
+
if (!$dara.isNull(request.endTime)) {
|
|
5648
|
+
query["EndTime"] = request.endTime;
|
|
5649
|
+
}
|
|
5650
|
+
|
|
5651
|
+
if (!$dara.isNull(request.metricType)) {
|
|
5652
|
+
query["MetricType"] = request.metricType;
|
|
5653
|
+
}
|
|
5654
|
+
|
|
5655
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
5656
|
+
query["PageNumber"] = request.pageNumber;
|
|
5657
|
+
}
|
|
5658
|
+
|
|
5659
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
5660
|
+
query["PageSize"] = request.pageSize;
|
|
5661
|
+
}
|
|
5662
|
+
|
|
5663
|
+
if (!$dara.isNull(request.relativeDBClusterId)) {
|
|
5664
|
+
query["RelativeDBClusterId"] = request.relativeDBClusterId;
|
|
5665
|
+
}
|
|
5666
|
+
|
|
5667
|
+
if (!$dara.isNull(request.reverse)) {
|
|
5668
|
+
query["Reverse"] = request.reverse;
|
|
5669
|
+
}
|
|
5670
|
+
|
|
5671
|
+
if (!$dara.isNull(request.startTime)) {
|
|
5672
|
+
query["StartTime"] = request.startTime;
|
|
5673
|
+
}
|
|
5674
|
+
|
|
5675
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5676
|
+
query: OpenApiUtil.query(query),
|
|
5677
|
+
});
|
|
5678
|
+
let params = new $OpenApiUtil.Params({
|
|
5679
|
+
action: "DescribeAIDBClusterTaskMetrics",
|
|
5680
|
+
version: "2017-08-01",
|
|
5681
|
+
protocol: "HTTPS",
|
|
5682
|
+
pathname: "/",
|
|
5683
|
+
method: "POST",
|
|
5684
|
+
authType: "AK",
|
|
5685
|
+
style: "RPC",
|
|
5686
|
+
reqBodyType: "formData",
|
|
5687
|
+
bodyType: "json",
|
|
5688
|
+
});
|
|
5689
|
+
return $dara.cast<$_model.DescribeAIDBClusterTaskMetricsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClusterTaskMetricsResponse({}));
|
|
5690
|
+
}
|
|
5691
|
+
|
|
5692
|
+
/**
|
|
5693
|
+
* 查询模型算子指标
|
|
5694
|
+
*
|
|
5695
|
+
* @param request - DescribeAIDBClusterTaskMetricsRequest
|
|
5696
|
+
* @returns DescribeAIDBClusterTaskMetricsResponse
|
|
5697
|
+
*/
|
|
5698
|
+
async describeAIDBClusterTaskMetrics(request: $_model.DescribeAIDBClusterTaskMetricsRequest): Promise<$_model.DescribeAIDBClusterTaskMetricsResponse> {
|
|
5699
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5700
|
+
return await this.describeAIDBClusterTaskMetricsWithOptions(request, runtime);
|
|
5701
|
+
}
|
|
5702
|
+
|
|
5563
5703
|
/**
|
|
5564
5704
|
* 查看custom集群列表
|
|
5565
5705
|
*
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeAIDBClusterTaskLogFilesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pm-bp10gr***
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2026-01-15T15:00:00Z
|
|
20
|
+
*/
|
|
21
|
+
endTime?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* sls
|
|
28
|
+
*/
|
|
29
|
+
logType?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* 1
|
|
33
|
+
*/
|
|
34
|
+
pageNumber?: number;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* 100
|
|
38
|
+
*/
|
|
39
|
+
pageSize?: number;
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* pc-bp10ze***
|
|
43
|
+
*/
|
|
44
|
+
relativeDBClusterId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* false
|
|
48
|
+
*/
|
|
49
|
+
reverse?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* This parameter is required.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* 2026-01-15T14:00:00Z
|
|
56
|
+
*/
|
|
57
|
+
startTime?: string;
|
|
58
|
+
static names(): { [key: string]: string } {
|
|
59
|
+
return {
|
|
60
|
+
DBClusterId: 'DBClusterId',
|
|
61
|
+
endTime: 'EndTime',
|
|
62
|
+
logType: 'LogType',
|
|
63
|
+
pageNumber: 'PageNumber',
|
|
64
|
+
pageSize: 'PageSize',
|
|
65
|
+
relativeDBClusterId: 'RelativeDBClusterId',
|
|
66
|
+
reverse: 'Reverse',
|
|
67
|
+
startTime: 'StartTime',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static types(): { [key: string]: any } {
|
|
72
|
+
return {
|
|
73
|
+
DBClusterId: 'string',
|
|
74
|
+
endTime: 'string',
|
|
75
|
+
logType: 'string',
|
|
76
|
+
pageNumber: 'number',
|
|
77
|
+
pageSize: 'number',
|
|
78
|
+
relativeDBClusterId: 'string',
|
|
79
|
+
reverse: 'boolean',
|
|
80
|
+
startTime: 'string',
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
validate() {
|
|
85
|
+
super.validate();
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
constructor(map?: { [key: string]: any }) {
|
|
89
|
+
super(map);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeAIDBClusterTaskLogFilesResponseBody } from "./DescribeAidbclusterTaskLogFilesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeAIDBClusterTaskLogFilesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeAIDBClusterTaskLogFilesResponseBody;
|
|
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: DescribeAIDBClusterTaskLogFilesResponseBody,
|
|
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,142 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeAIDBClusterTaskLogFilesResponseBodyItemsSlsLogItems extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 2026-01-15T14:13:50.830295892Z
|
|
9
|
+
*/
|
|
10
|
+
logTime?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* test
|
|
14
|
+
*/
|
|
15
|
+
message?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 1765677660
|
|
19
|
+
*/
|
|
20
|
+
timestamp?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
logTime: 'LogTime',
|
|
24
|
+
message: 'Message',
|
|
25
|
+
timestamp: 'Timestamp',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
logTime: 'string',
|
|
32
|
+
message: 'string',
|
|
33
|
+
timestamp: 'string',
|
|
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 DescribeAIDBClusterTaskLogFilesResponseBodyItems extends $dara.Model {
|
|
47
|
+
slsLogItems?: DescribeAIDBClusterTaskLogFilesResponseBodyItemsSlsLogItems[];
|
|
48
|
+
static names(): { [key: string]: string } {
|
|
49
|
+
return {
|
|
50
|
+
slsLogItems: 'SlsLogItems',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
static types(): { [key: string]: any } {
|
|
55
|
+
return {
|
|
56
|
+
slsLogItems: { 'type': 'array', 'itemType': DescribeAIDBClusterTaskLogFilesResponseBodyItemsSlsLogItems },
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validate() {
|
|
61
|
+
if(Array.isArray(this.slsLogItems)) {
|
|
62
|
+
$dara.Model.validateArray(this.slsLogItems);
|
|
63
|
+
}
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class DescribeAIDBClusterTaskLogFilesResponseBody extends $dara.Model {
|
|
73
|
+
/**
|
|
74
|
+
* @example
|
|
75
|
+
* 2026-01-15T15:00:00Z
|
|
76
|
+
*/
|
|
77
|
+
endTime?: string;
|
|
78
|
+
items?: DescribeAIDBClusterTaskLogFilesResponseBodyItems;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* 1
|
|
82
|
+
*/
|
|
83
|
+
pageNumber?: number;
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* 7
|
|
87
|
+
*/
|
|
88
|
+
pageRecordCount?: number;
|
|
89
|
+
/**
|
|
90
|
+
* @example
|
|
91
|
+
* 30
|
|
92
|
+
*/
|
|
93
|
+
pageSize?: number;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* Id of the request
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* 7E2FE3BB-C677-5FF9-9FC5-9CF364BD6BE5
|
|
100
|
+
*/
|
|
101
|
+
requestId?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @example
|
|
104
|
+
* 2026-01-15T14:00:00Z
|
|
105
|
+
*/
|
|
106
|
+
startTime?: string;
|
|
107
|
+
static names(): { [key: string]: string } {
|
|
108
|
+
return {
|
|
109
|
+
endTime: 'EndTime',
|
|
110
|
+
items: 'Items',
|
|
111
|
+
pageNumber: 'PageNumber',
|
|
112
|
+
pageRecordCount: 'PageRecordCount',
|
|
113
|
+
pageSize: 'PageSize',
|
|
114
|
+
requestId: 'RequestId',
|
|
115
|
+
startTime: 'StartTime',
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
static types(): { [key: string]: any } {
|
|
120
|
+
return {
|
|
121
|
+
endTime: 'string',
|
|
122
|
+
items: DescribeAIDBClusterTaskLogFilesResponseBodyItems,
|
|
123
|
+
pageNumber: 'number',
|
|
124
|
+
pageRecordCount: 'number',
|
|
125
|
+
pageSize: 'number',
|
|
126
|
+
requestId: 'string',
|
|
127
|
+
startTime: 'string',
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
validate() {
|
|
132
|
+
if(this.items && typeof (this.items as any).validate === 'function') {
|
|
133
|
+
(this.items as any).validate();
|
|
134
|
+
}
|
|
135
|
+
super.validate();
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
constructor(map?: { [key: string]: any }) {
|
|
139
|
+
super(map);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeAIDBClusterTaskMetricsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pm-2zejpr***
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2026-01-15T15:00:00Z
|
|
20
|
+
*/
|
|
21
|
+
endTime?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* all
|
|
25
|
+
*/
|
|
26
|
+
metricType?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* 1
|
|
30
|
+
*/
|
|
31
|
+
pageNumber?: number;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* 100
|
|
35
|
+
*/
|
|
36
|
+
pageSize?: number;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* pc-2zejpr***
|
|
40
|
+
*/
|
|
41
|
+
relativeDBClusterId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* false
|
|
45
|
+
*/
|
|
46
|
+
reverse?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* This parameter is required.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* 2026-01-15T14:00:00Z
|
|
53
|
+
*/
|
|
54
|
+
startTime?: string;
|
|
55
|
+
static names(): { [key: string]: string } {
|
|
56
|
+
return {
|
|
57
|
+
DBClusterId: 'DBClusterId',
|
|
58
|
+
endTime: 'EndTime',
|
|
59
|
+
metricType: 'MetricType',
|
|
60
|
+
pageNumber: 'PageNumber',
|
|
61
|
+
pageSize: 'PageSize',
|
|
62
|
+
relativeDBClusterId: 'RelativeDBClusterId',
|
|
63
|
+
reverse: 'Reverse',
|
|
64
|
+
startTime: 'StartTime',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
static types(): { [key: string]: any } {
|
|
69
|
+
return {
|
|
70
|
+
DBClusterId: 'string',
|
|
71
|
+
endTime: 'string',
|
|
72
|
+
metricType: 'string',
|
|
73
|
+
pageNumber: 'number',
|
|
74
|
+
pageSize: 'number',
|
|
75
|
+
relativeDBClusterId: 'string',
|
|
76
|
+
reverse: 'boolean',
|
|
77
|
+
startTime: 'string',
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
validate() {
|
|
82
|
+
super.validate();
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
constructor(map?: { [key: string]: any }) {
|
|
86
|
+
super(map);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeAIDBClusterTaskMetricsResponseBody } from "./DescribeAidbclusterTaskMetricsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeAIDBClusterTaskMetricsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeAIDBClusterTaskMetricsResponseBody;
|
|
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: DescribeAIDBClusterTaskMetricsResponseBody,
|
|
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
|
+
|