@alicloud/ebs20210730 4.5.1 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +0 -49
- package/dist/client.js +0 -136
- package/dist/client.js.map +1 -1
- package/dist/models/model.d.ts +0 -8
- package/dist/models/model.js +6 -22
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +0 -155
- package/src/models/model.ts +0 -8
- package/dist/models/DescribeDiskEventsRequest.d.ts +0 -86
- package/dist/models/DescribeDiskEventsRequest.js +0 -72
- package/dist/models/DescribeDiskEventsRequest.js.map +0 -1
- package/dist/models/DescribeDiskEventsResponse.d.ts +0 -19
- package/dist/models/DescribeDiskEventsResponse.js +0 -69
- package/dist/models/DescribeDiskEventsResponse.js.map +0 -1
- package/dist/models/DescribeDiskEventsResponseBody.d.ts +0 -117
- package/dist/models/DescribeDiskEventsResponseBody.js +0 -98
- package/dist/models/DescribeDiskEventsResponseBody.js.map +0 -1
- package/dist/models/DescribeDiskMonitorDataListRequest.d.ts +0 -83
- package/dist/models/DescribeDiskMonitorDataListRequest.js +0 -70
- package/dist/models/DescribeDiskMonitorDataListRequest.js.map +0 -1
- package/dist/models/DescribeDiskMonitorDataListResponse.d.ts +0 -19
- package/dist/models/DescribeDiskMonitorDataListResponse.js +0 -69
- package/dist/models/DescribeDiskMonitorDataListResponse.js.map +0 -1
- package/dist/models/DescribeDiskMonitorDataListResponseBody.d.ts +0 -78
- package/dist/models/DescribeDiskMonitorDataListResponseBody.js +0 -90
- package/dist/models/DescribeDiskMonitorDataListResponseBody.js.map +0 -1
- package/src/models/DescribeDiskEventsRequest.ts +0 -113
- package/src/models/DescribeDiskEventsResponse.ts +0 -40
- package/src/models/DescribeDiskEventsResponseBody.ts +0 -161
- package/src/models/DescribeDiskMonitorDataListRequest.ts +0 -108
- package/src/models/DescribeDiskMonitorDataListResponse.ts +0 -40
- package/src/models/DescribeDiskMonitorDataListResponseBody.ts +0 -114
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated, don't edit it
|
|
2
|
-
import * as $dara from '@darabonba/typescript';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export class DescribeDiskEventsRequest extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The type of the disk. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* * cloud_efficiency: ultra disk.
|
|
11
|
-
* * cloud_ssd: standard SSD.
|
|
12
|
-
* * cloud_essd: enhanced SSD (ESSD).
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* cloud_essd
|
|
16
|
-
*/
|
|
17
|
-
diskCategory?: string;
|
|
18
|
-
/**
|
|
19
|
-
* @remarks
|
|
20
|
-
* The ID of the disk.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* d-bp67acfmxazb4p****
|
|
24
|
-
*/
|
|
25
|
-
diskId?: string;
|
|
26
|
-
/**
|
|
27
|
-
* @remarks
|
|
28
|
-
* The end of the time range to query. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* 2022-06-01T05:00:00Z
|
|
32
|
-
*/
|
|
33
|
-
endTime?: string;
|
|
34
|
-
/**
|
|
35
|
-
* @remarks
|
|
36
|
-
* The maximum number of entries per page. Valid values: 1 to 100.
|
|
37
|
-
*
|
|
38
|
-
* Default values:
|
|
39
|
-
*
|
|
40
|
-
* * If this parameter is not specified or is set to a value smaller than 10, the default value is 10.
|
|
41
|
-
* * If this parameter is set to a value greater than 100, the default value is 100.
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
* 10
|
|
45
|
-
*/
|
|
46
|
-
maxResults?: number;
|
|
47
|
-
/**
|
|
48
|
-
* @remarks
|
|
49
|
-
* The pagination token that is used in this request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`.
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* caeba0bbb2be03f84eb48b699f0a****
|
|
53
|
-
*/
|
|
54
|
-
nextToken?: string;
|
|
55
|
-
/**
|
|
56
|
-
* @remarks
|
|
57
|
-
* The region ID of the disk. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/354276.html) operation to query the list of regions that support CloudLens for EBS.
|
|
58
|
-
*
|
|
59
|
-
* @example
|
|
60
|
-
* cn-hangzhou
|
|
61
|
-
*/
|
|
62
|
-
regionId?: string;
|
|
63
|
-
/**
|
|
64
|
-
* @remarks
|
|
65
|
-
* The beginning of the time range to query. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
|
|
66
|
-
*
|
|
67
|
-
* @example
|
|
68
|
-
* 2022-06-01T03:00:00Z
|
|
69
|
-
*/
|
|
70
|
-
startTime?: string;
|
|
71
|
-
/**
|
|
72
|
-
* @remarks
|
|
73
|
-
* The event type. Set the value to DataNeedProtect, which indicates that the disk data needs to be protected.
|
|
74
|
-
*
|
|
75
|
-
* @example
|
|
76
|
-
* DataNeedProtect
|
|
77
|
-
*/
|
|
78
|
-
type?: string;
|
|
79
|
-
static names(): { [key: string]: string } {
|
|
80
|
-
return {
|
|
81
|
-
diskCategory: 'DiskCategory',
|
|
82
|
-
diskId: 'DiskId',
|
|
83
|
-
endTime: 'EndTime',
|
|
84
|
-
maxResults: 'MaxResults',
|
|
85
|
-
nextToken: 'NextToken',
|
|
86
|
-
regionId: 'RegionId',
|
|
87
|
-
startTime: 'StartTime',
|
|
88
|
-
type: 'Type',
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
static types(): { [key: string]: any } {
|
|
93
|
-
return {
|
|
94
|
-
diskCategory: 'string',
|
|
95
|
-
diskId: 'string',
|
|
96
|
-
endTime: 'string',
|
|
97
|
-
maxResults: 'number',
|
|
98
|
-
nextToken: 'string',
|
|
99
|
-
regionId: 'string',
|
|
100
|
-
startTime: 'string',
|
|
101
|
-
type: 'string',
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
validate() {
|
|
106
|
-
super.validate();
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
constructor(map?: { [key: string]: any }) {
|
|
110
|
-
super(map);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated, don't edit it
|
|
2
|
-
import * as $dara from '@darabonba/typescript';
|
|
3
|
-
import { DescribeDiskEventsResponseBody } from "./DescribeDiskEventsResponseBody";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export class DescribeDiskEventsResponse extends $dara.Model {
|
|
7
|
-
headers?: { [key: string]: string };
|
|
8
|
-
statusCode?: number;
|
|
9
|
-
body?: DescribeDiskEventsResponseBody;
|
|
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: DescribeDiskEventsResponseBody,
|
|
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
|
-
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated, don't edit it
|
|
2
|
-
import * as $dara from '@darabonba/typescript';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export class DescribeDiskEventsResponseBodyDiskEvents extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The description of the event.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* This is description.
|
|
12
|
-
*/
|
|
13
|
-
description?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The ID of the disk.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* d-bp1bq5g3dxxo1x4o****
|
|
20
|
-
*/
|
|
21
|
-
diskId?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The recommended action after the event occurred. Valid values:
|
|
25
|
-
*
|
|
26
|
-
* * Resize: resizes the disk.
|
|
27
|
-
* * ModifyDiskSpec: changes the category of the disk.
|
|
28
|
-
* * NoAction: performs no operation.
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* NoAction
|
|
32
|
-
*/
|
|
33
|
-
recommendAction?: string;
|
|
34
|
-
/**
|
|
35
|
-
* @remarks
|
|
36
|
-
* The region ID of the disk.
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* cn-hangzhou
|
|
40
|
-
*/
|
|
41
|
-
regionId?: string;
|
|
42
|
-
/**
|
|
43
|
-
* @remarks
|
|
44
|
-
* The state of the event. Valid values:
|
|
45
|
-
*
|
|
46
|
-
* * Solved
|
|
47
|
-
* * UnSolved
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* Solved
|
|
51
|
-
*/
|
|
52
|
-
status?: string;
|
|
53
|
-
/**
|
|
54
|
-
* @remarks
|
|
55
|
-
* The time when the event occurred. The time follows the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* 2022-06-01T08:00:00Z
|
|
59
|
-
*/
|
|
60
|
-
timestamp?: string;
|
|
61
|
-
/**
|
|
62
|
-
* @remarks
|
|
63
|
-
* The type of the event. Only DataNeedProtect can be returned.
|
|
64
|
-
*
|
|
65
|
-
* @example
|
|
66
|
-
* DataNeedProtect
|
|
67
|
-
*/
|
|
68
|
-
type?: string;
|
|
69
|
-
static names(): { [key: string]: string } {
|
|
70
|
-
return {
|
|
71
|
-
description: 'Description',
|
|
72
|
-
diskId: 'DiskId',
|
|
73
|
-
recommendAction: 'RecommendAction',
|
|
74
|
-
regionId: 'RegionId',
|
|
75
|
-
status: 'Status',
|
|
76
|
-
timestamp: 'Timestamp',
|
|
77
|
-
type: 'Type',
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
static types(): { [key: string]: any } {
|
|
82
|
-
return {
|
|
83
|
-
description: 'string',
|
|
84
|
-
diskId: 'string',
|
|
85
|
-
recommendAction: 'string',
|
|
86
|
-
regionId: 'string',
|
|
87
|
-
status: 'string',
|
|
88
|
-
timestamp: 'string',
|
|
89
|
-
type: 'string',
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
validate() {
|
|
94
|
-
super.validate();
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
constructor(map?: { [key: string]: any }) {
|
|
98
|
-
super(map);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export class DescribeDiskEventsResponseBody extends $dara.Model {
|
|
103
|
-
/**
|
|
104
|
-
* @remarks
|
|
105
|
-
* The risk events of the disk.
|
|
106
|
-
*/
|
|
107
|
-
diskEvents?: DescribeDiskEventsResponseBodyDiskEvents[];
|
|
108
|
-
/**
|
|
109
|
-
* @remarks
|
|
110
|
-
* A pagination token. It can be used in the next request to retrieve a new page of results.
|
|
111
|
-
*
|
|
112
|
-
* @example
|
|
113
|
-
* caeba0bbb2be03f84eb48b699f0a****
|
|
114
|
-
*/
|
|
115
|
-
nextToken?: string;
|
|
116
|
-
/**
|
|
117
|
-
* @remarks
|
|
118
|
-
* The request ID.
|
|
119
|
-
*
|
|
120
|
-
* @example
|
|
121
|
-
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
122
|
-
*/
|
|
123
|
-
requestId?: string;
|
|
124
|
-
/**
|
|
125
|
-
* @remarks
|
|
126
|
-
* The total number of entries returned.
|
|
127
|
-
*
|
|
128
|
-
* @example
|
|
129
|
-
* 20
|
|
130
|
-
*/
|
|
131
|
-
totalCount?: number;
|
|
132
|
-
static names(): { [key: string]: string } {
|
|
133
|
-
return {
|
|
134
|
-
diskEvents: 'DiskEvents',
|
|
135
|
-
nextToken: 'NextToken',
|
|
136
|
-
requestId: 'RequestId',
|
|
137
|
-
totalCount: 'TotalCount',
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
static types(): { [key: string]: any } {
|
|
142
|
-
return {
|
|
143
|
-
diskEvents: { 'type': 'array', 'itemType': DescribeDiskEventsResponseBodyDiskEvents },
|
|
144
|
-
nextToken: 'string',
|
|
145
|
-
requestId: 'string',
|
|
146
|
-
totalCount: 'number',
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
validate() {
|
|
151
|
-
if(Array.isArray(this.diskEvents)) {
|
|
152
|
-
$dara.Model.validateArray(this.diskEvents);
|
|
153
|
-
}
|
|
154
|
-
super.validate();
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
constructor(map?: { [key: string]: any }) {
|
|
158
|
-
super(map);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated, don't edit it
|
|
2
|
-
import * as $dara from '@darabonba/typescript';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export class DescribeDiskMonitorDataListRequest extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The IDs of the disks. The value is a JSON array that contains multiple disk IDs. Separate the IDs with commas (,).
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ["d-bp67acfmxazb4p****","d-bp67acfmxazs5t****"]
|
|
12
|
-
*/
|
|
13
|
-
diskIds?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The end of the time range during which you want to query the near real-time monitoring data of the disks. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
|
|
17
|
-
*
|
|
18
|
-
* This parameter is required.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* 2022-06-01T05:00:00Z
|
|
22
|
-
*/
|
|
23
|
-
endTime?: string;
|
|
24
|
-
/**
|
|
25
|
-
* @remarks
|
|
26
|
-
* The number of entries per page. If you specify this parameter, both `MaxResults` and `NextToken` are used for a paged query.
|
|
27
|
-
*
|
|
28
|
-
* Valid values: 1 to 100.
|
|
29
|
-
*
|
|
30
|
-
* Default value: 10.
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* 10
|
|
34
|
-
*/
|
|
35
|
-
maxResults?: string;
|
|
36
|
-
/**
|
|
37
|
-
* @remarks
|
|
38
|
-
* The pagination token that is used in this request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* e71d8a535bd9c****
|
|
42
|
-
*/
|
|
43
|
-
nextToken?: string;
|
|
44
|
-
/**
|
|
45
|
-
* @remarks
|
|
46
|
-
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/354276.html) operation to query the list of regions that support CloudLens for EBS.
|
|
47
|
-
*
|
|
48
|
-
* This parameter is required.
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* cn-hangzhou
|
|
52
|
-
*/
|
|
53
|
-
regionId?: string;
|
|
54
|
-
/**
|
|
55
|
-
* @remarks
|
|
56
|
-
* The beginning of the time range during which you want to query the near real-time monitoring data of the disks. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
|
|
57
|
-
*
|
|
58
|
-
* This parameter is required.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* 2022-06-01T03:00:00Z
|
|
62
|
-
*/
|
|
63
|
-
startTime?: string;
|
|
64
|
-
/**
|
|
65
|
-
* @remarks
|
|
66
|
-
* The type of the monitoring data. Set the value to pro.
|
|
67
|
-
*
|
|
68
|
-
* pro: burst performance data, such as burst I/O operations.
|
|
69
|
-
*
|
|
70
|
-
* This parameter is required.
|
|
71
|
-
*
|
|
72
|
-
* @example
|
|
73
|
-
* pro
|
|
74
|
-
*/
|
|
75
|
-
type?: string;
|
|
76
|
-
static names(): { [key: string]: string } {
|
|
77
|
-
return {
|
|
78
|
-
diskIds: 'DiskIds',
|
|
79
|
-
endTime: 'EndTime',
|
|
80
|
-
maxResults: 'MaxResults',
|
|
81
|
-
nextToken: 'NextToken',
|
|
82
|
-
regionId: 'RegionId',
|
|
83
|
-
startTime: 'StartTime',
|
|
84
|
-
type: 'Type',
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
static types(): { [key: string]: any } {
|
|
89
|
-
return {
|
|
90
|
-
diskIds: 'string',
|
|
91
|
-
endTime: 'string',
|
|
92
|
-
maxResults: 'string',
|
|
93
|
-
nextToken: 'string',
|
|
94
|
-
regionId: 'string',
|
|
95
|
-
startTime: 'string',
|
|
96
|
-
type: 'string',
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
validate() {
|
|
101
|
-
super.validate();
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
constructor(map?: { [key: string]: any }) {
|
|
105
|
-
super(map);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated, don't edit it
|
|
2
|
-
import * as $dara from '@darabonba/typescript';
|
|
3
|
-
import { DescribeDiskMonitorDataListResponseBody } from "./DescribeDiskMonitorDataListResponseBody";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export class DescribeDiskMonitorDataListResponse extends $dara.Model {
|
|
7
|
-
headers?: { [key: string]: string };
|
|
8
|
-
statusCode?: number;
|
|
9
|
-
body?: DescribeDiskMonitorDataListResponseBody;
|
|
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: DescribeDiskMonitorDataListResponseBody,
|
|
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
|
-
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated, don't edit it
|
|
2
|
-
import * as $dara from '@darabonba/typescript';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export class DescribeDiskMonitorDataListResponseBodyMonitorData extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The number of burst I/O operations.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* 2000
|
|
12
|
-
*/
|
|
13
|
-
burstIOCount?: number;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The ID of the disk.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* d-bp67acfmxazb4p****
|
|
20
|
-
*/
|
|
21
|
-
diskId?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The beginning of the time range during which the performance of the disk bursts. The time follows the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* 2022-06-01T08:00:00Z
|
|
28
|
-
*/
|
|
29
|
-
timestamp?: string;
|
|
30
|
-
static names(): { [key: string]: string } {
|
|
31
|
-
return {
|
|
32
|
-
burstIOCount: 'BurstIOCount',
|
|
33
|
-
diskId: 'DiskId',
|
|
34
|
-
timestamp: 'Timestamp',
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
static types(): { [key: string]: any } {
|
|
39
|
-
return {
|
|
40
|
-
burstIOCount: 'number',
|
|
41
|
-
diskId: 'string',
|
|
42
|
-
timestamp: 'string',
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
validate() {
|
|
47
|
-
super.validate();
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
constructor(map?: { [key: string]: any }) {
|
|
51
|
-
super(map);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export class DescribeDiskMonitorDataListResponseBody extends $dara.Model {
|
|
56
|
-
/**
|
|
57
|
-
* @remarks
|
|
58
|
-
* The near real-time monitoring data of the disks.
|
|
59
|
-
*/
|
|
60
|
-
monitorData?: DescribeDiskMonitorDataListResponseBodyMonitorData[];
|
|
61
|
-
/**
|
|
62
|
-
* @remarks
|
|
63
|
-
* A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
|
|
64
|
-
*
|
|
65
|
-
* @example
|
|
66
|
-
* e71d8a535bd9c****
|
|
67
|
-
*/
|
|
68
|
-
nextToken?: string;
|
|
69
|
-
/**
|
|
70
|
-
* @remarks
|
|
71
|
-
* The request ID.
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
75
|
-
*/
|
|
76
|
-
requestId?: string;
|
|
77
|
-
/**
|
|
78
|
-
* @remarks
|
|
79
|
-
* The total number of entries returned.
|
|
80
|
-
*
|
|
81
|
-
* @example
|
|
82
|
-
* 3
|
|
83
|
-
*/
|
|
84
|
-
totalCount?: number;
|
|
85
|
-
static names(): { [key: string]: string } {
|
|
86
|
-
return {
|
|
87
|
-
monitorData: 'MonitorData',
|
|
88
|
-
nextToken: 'NextToken',
|
|
89
|
-
requestId: 'RequestId',
|
|
90
|
-
totalCount: 'TotalCount',
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
static types(): { [key: string]: any } {
|
|
95
|
-
return {
|
|
96
|
-
monitorData: { 'type': 'array', 'itemType': DescribeDiskMonitorDataListResponseBodyMonitorData },
|
|
97
|
-
nextToken: 'string',
|
|
98
|
-
requestId: 'string',
|
|
99
|
-
totalCount: 'number',
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
validate() {
|
|
104
|
-
if(Array.isArray(this.monitorData)) {
|
|
105
|
-
$dara.Model.validateArray(this.monitorData);
|
|
106
|
-
}
|
|
107
|
-
super.validate();
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
constructor(map?: { [key: string]: any }) {
|
|
111
|
-
super(map);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|