@alicloud/ebs20210730 4.4.0 → 4.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 +62 -32
- package/dist/client.js +155 -32
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDiagnoseReportRequest.d.ts +51 -0
- package/dist/models/CreateDiagnoseReportRequest.js +70 -0
- package/dist/models/CreateDiagnoseReportRequest.js.map +1 -0
- package/dist/models/CreateDiagnoseReportResponse.d.ts +19 -0
- package/dist/models/CreateDiagnoseReportResponse.js +69 -0
- package/dist/models/CreateDiagnoseReportResponse.js.map +1 -0
- package/dist/models/CreateDiagnoseReportResponseBody.d.ts +23 -0
- package/dist/models/CreateDiagnoseReportResponseBody.js +60 -0
- package/dist/models/CreateDiagnoseReportResponseBody.js.map +1 -0
- package/dist/models/DescribeDedicatedBlockStorageClustersRequest.d.ts +25 -0
- package/dist/models/DescribeDedicatedBlockStorageClustersRequest.js.map +1 -1
- package/dist/models/DescribeDiagnoseReportRequest.d.ts +63 -0
- package/dist/models/DescribeDiagnoseReportRequest.js +82 -0
- package/dist/models/DescribeDiagnoseReportRequest.js.map +1 -0
- package/dist/models/DescribeDiagnoseReportResponse.d.ts +19 -0
- package/dist/models/DescribeDiagnoseReportResponse.js +69 -0
- package/dist/models/DescribeDiagnoseReportResponse.js.map +1 -0
- package/dist/models/DescribeDiagnoseReportResponseBody.d.ts +136 -0
- package/dist/models/DescribeDiagnoseReportResponseBody.js +142 -0
- package/dist/models/DescribeDiagnoseReportResponseBody.js.map +1 -0
- package/dist/models/ListReplicaEdgeSupportedResponseBody.d.ts +1 -0
- package/dist/models/ListReplicaEdgeSupportedResponseBody.js +2 -0
- package/dist/models/ListReplicaEdgeSupportedResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +22 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +176 -32
- package/src/models/CreateDiagnoseReportRequest.ts +76 -0
- package/src/models/CreateDiagnoseReportResponse.ts +40 -0
- package/src/models/CreateDiagnoseReportResponseBody.ts +38 -0
- package/src/models/DescribeDedicatedBlockStorageClustersRequest.ts +25 -0
- package/src/models/DescribeDiagnoseReportRequest.ts +100 -0
- package/src/models/DescribeDiagnoseReportResponse.ts +40 -0
- package/src/models/DescribeDiagnoseReportResponseBody.ts +215 -0
- package/src/models/ListReplicaEdgeSupportedResponseBody.ts +3 -0
- package/src/models/model.ts +8 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDiagnoseReportRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 123e4567-e89b-12d3-a456-42665544****
|
|
9
|
+
*/
|
|
10
|
+
clientToken?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* Performance
|
|
14
|
+
*/
|
|
15
|
+
diagnoseType?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 2024-08-26T02:06:00Z
|
|
19
|
+
*/
|
|
20
|
+
endTime?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 10
|
|
24
|
+
*/
|
|
25
|
+
maxResults?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* adf8a2534f1c0a23e0b5e8707e68181f
|
|
29
|
+
*/
|
|
30
|
+
nextToken?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* cn-zhangjiakou
|
|
34
|
+
*/
|
|
35
|
+
regionId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* report-asb1s8***
|
|
39
|
+
*/
|
|
40
|
+
reportIds?: string[];
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* d-asb1s8***
|
|
44
|
+
*/
|
|
45
|
+
resourceIds?: string[];
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* 2024-08-26T01:00:00Z
|
|
49
|
+
*/
|
|
50
|
+
startTime?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* Running
|
|
54
|
+
*/
|
|
55
|
+
status?: string;
|
|
56
|
+
static names(): { [key: string]: string } {
|
|
57
|
+
return {
|
|
58
|
+
clientToken: 'ClientToken',
|
|
59
|
+
diagnoseType: 'DiagnoseType',
|
|
60
|
+
endTime: 'EndTime',
|
|
61
|
+
maxResults: 'MaxResults',
|
|
62
|
+
nextToken: 'NextToken',
|
|
63
|
+
regionId: 'RegionId',
|
|
64
|
+
reportIds: 'ReportIds',
|
|
65
|
+
resourceIds: 'ResourceIds',
|
|
66
|
+
startTime: 'StartTime',
|
|
67
|
+
status: 'Status',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static types(): { [key: string]: any } {
|
|
72
|
+
return {
|
|
73
|
+
clientToken: 'string',
|
|
74
|
+
diagnoseType: 'string',
|
|
75
|
+
endTime: 'string',
|
|
76
|
+
maxResults: 'number',
|
|
77
|
+
nextToken: 'string',
|
|
78
|
+
regionId: 'string',
|
|
79
|
+
reportIds: { 'type': 'array', 'itemType': 'string' },
|
|
80
|
+
resourceIds: { 'type': 'array', 'itemType': 'string' },
|
|
81
|
+
startTime: 'string',
|
|
82
|
+
status: 'string',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
validate() {
|
|
87
|
+
if(Array.isArray(this.reportIds)) {
|
|
88
|
+
$dara.Model.validateArray(this.reportIds);
|
|
89
|
+
}
|
|
90
|
+
if(Array.isArray(this.resourceIds)) {
|
|
91
|
+
$dara.Model.validateArray(this.resourceIds);
|
|
92
|
+
}
|
|
93
|
+
super.validate();
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
constructor(map?: { [key: string]: any }) {
|
|
97
|
+
super(map);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeDiagnoseReportResponseBody } from "./DescribeDiagnoseReportResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeDiagnoseReportResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeDiagnoseReportResponseBody;
|
|
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: DescribeDiagnoseReportResponseBody,
|
|
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,215 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDiagnoseReportResponseBodyReportsEvents extends $dara.Model {
|
|
6
|
+
description?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* DiskIOPSExceedDiskMaxLimit
|
|
10
|
+
*/
|
|
11
|
+
eventName?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* ResizeDisk
|
|
15
|
+
*/
|
|
16
|
+
recommendAction?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* 4096
|
|
20
|
+
*/
|
|
21
|
+
recommendParams?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* Warn
|
|
25
|
+
*/
|
|
26
|
+
severity?: string;
|
|
27
|
+
startTime?: number;
|
|
28
|
+
static names(): { [key: string]: string } {
|
|
29
|
+
return {
|
|
30
|
+
description: 'Description',
|
|
31
|
+
eventName: 'EventName',
|
|
32
|
+
recommendAction: 'RecommendAction',
|
|
33
|
+
recommendParams: 'RecommendParams',
|
|
34
|
+
severity: 'Severity',
|
|
35
|
+
startTime: 'StartTime',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static types(): { [key: string]: any } {
|
|
40
|
+
return {
|
|
41
|
+
description: 'string',
|
|
42
|
+
eventName: 'string',
|
|
43
|
+
recommendAction: 'string',
|
|
44
|
+
recommendParams: 'string',
|
|
45
|
+
severity: 'string',
|
|
46
|
+
startTime: 'number',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export class DescribeDiagnoseReportResponseBodyReports extends $dara.Model {
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* 196380451****
|
|
63
|
+
*/
|
|
64
|
+
aliUid?: number;
|
|
65
|
+
/**
|
|
66
|
+
* @example
|
|
67
|
+
* 1727239294
|
|
68
|
+
*/
|
|
69
|
+
creationTime?: number;
|
|
70
|
+
/**
|
|
71
|
+
* @example
|
|
72
|
+
* 1727239294
|
|
73
|
+
*/
|
|
74
|
+
diagnoseEndTime?: number;
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* 1727229294
|
|
78
|
+
*/
|
|
79
|
+
diagnoseStartTime?: number;
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* Performance
|
|
83
|
+
*/
|
|
84
|
+
diagnoseType?: string;
|
|
85
|
+
events?: DescribeDiagnoseReportResponseBodyReportsEvents[];
|
|
86
|
+
/**
|
|
87
|
+
* @example
|
|
88
|
+
* 1727239295
|
|
89
|
+
*/
|
|
90
|
+
finishedTime?: number;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* cn-zhangjiakou
|
|
94
|
+
*/
|
|
95
|
+
regionId?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @example
|
|
98
|
+
* report-sag8d****
|
|
99
|
+
*/
|
|
100
|
+
reportId?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @example
|
|
103
|
+
* d-wz95ycu****
|
|
104
|
+
*/
|
|
105
|
+
resourceId?: string;
|
|
106
|
+
/**
|
|
107
|
+
* @example
|
|
108
|
+
* Disk
|
|
109
|
+
*/
|
|
110
|
+
resourceType?: string;
|
|
111
|
+
/**
|
|
112
|
+
* @example
|
|
113
|
+
* Warn
|
|
114
|
+
*/
|
|
115
|
+
severity?: string;
|
|
116
|
+
/**
|
|
117
|
+
* @example
|
|
118
|
+
* Success
|
|
119
|
+
*/
|
|
120
|
+
status?: string;
|
|
121
|
+
static names(): { [key: string]: string } {
|
|
122
|
+
return {
|
|
123
|
+
aliUid: 'AliUid',
|
|
124
|
+
creationTime: 'CreationTime',
|
|
125
|
+
diagnoseEndTime: 'DiagnoseEndTime',
|
|
126
|
+
diagnoseStartTime: 'DiagnoseStartTime',
|
|
127
|
+
diagnoseType: 'DiagnoseType',
|
|
128
|
+
events: 'Events',
|
|
129
|
+
finishedTime: 'FinishedTime',
|
|
130
|
+
regionId: 'RegionId',
|
|
131
|
+
reportId: 'ReportId',
|
|
132
|
+
resourceId: 'ResourceId',
|
|
133
|
+
resourceType: 'ResourceType',
|
|
134
|
+
severity: 'Severity',
|
|
135
|
+
status: 'Status',
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
static types(): { [key: string]: any } {
|
|
140
|
+
return {
|
|
141
|
+
aliUid: 'number',
|
|
142
|
+
creationTime: 'number',
|
|
143
|
+
diagnoseEndTime: 'number',
|
|
144
|
+
diagnoseStartTime: 'number',
|
|
145
|
+
diagnoseType: 'string',
|
|
146
|
+
events: { 'type': 'array', 'itemType': DescribeDiagnoseReportResponseBodyReportsEvents },
|
|
147
|
+
finishedTime: 'number',
|
|
148
|
+
regionId: 'string',
|
|
149
|
+
reportId: 'string',
|
|
150
|
+
resourceId: 'string',
|
|
151
|
+
resourceType: 'string',
|
|
152
|
+
severity: 'string',
|
|
153
|
+
status: 'string',
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
validate() {
|
|
158
|
+
if(Array.isArray(this.events)) {
|
|
159
|
+
$dara.Model.validateArray(this.events);
|
|
160
|
+
}
|
|
161
|
+
super.validate();
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
constructor(map?: { [key: string]: any }) {
|
|
165
|
+
super(map);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export class DescribeDiagnoseReportResponseBody extends $dara.Model {
|
|
170
|
+
/**
|
|
171
|
+
* @example
|
|
172
|
+
* f07b150eadfa1d7a
|
|
173
|
+
*/
|
|
174
|
+
nextToken?: string;
|
|
175
|
+
reports?: DescribeDiagnoseReportResponseBodyReports[];
|
|
176
|
+
/**
|
|
177
|
+
* @example
|
|
178
|
+
* AAA478A0-BEE6-1D42-BEB6-A9CFEAD6****
|
|
179
|
+
*/
|
|
180
|
+
requestId?: string;
|
|
181
|
+
/**
|
|
182
|
+
* @example
|
|
183
|
+
* 10
|
|
184
|
+
*/
|
|
185
|
+
totalCount?: number;
|
|
186
|
+
static names(): { [key: string]: string } {
|
|
187
|
+
return {
|
|
188
|
+
nextToken: 'NextToken',
|
|
189
|
+
reports: 'Reports',
|
|
190
|
+
requestId: 'RequestId',
|
|
191
|
+
totalCount: 'TotalCount',
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
static types(): { [key: string]: any } {
|
|
196
|
+
return {
|
|
197
|
+
nextToken: 'string',
|
|
198
|
+
reports: { 'type': 'array', 'itemType': DescribeDiagnoseReportResponseBodyReports },
|
|
199
|
+
requestId: 'string',
|
|
200
|
+
totalCount: 'number',
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
validate() {
|
|
205
|
+
if(Array.isArray(this.reports)) {
|
|
206
|
+
$dara.Model.validateArray(this.reports);
|
|
207
|
+
}
|
|
208
|
+
super.validate();
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
constructor(map?: { [key: string]: any }) {
|
|
212
|
+
super(map);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListReplicaEdgeSupportedResponseBodySupportedRegionsZones extends $dara.Model {
|
|
6
|
+
supportRtc?: boolean;
|
|
6
7
|
/**
|
|
7
8
|
* @example
|
|
8
9
|
* cn-hangzhou-i
|
|
@@ -10,12 +11,14 @@ export class ListReplicaEdgeSupportedResponseBodySupportedRegionsZones extends $
|
|
|
10
11
|
zoneId?: string;
|
|
11
12
|
static names(): { [key: string]: string } {
|
|
12
13
|
return {
|
|
14
|
+
supportRtc: 'SupportRtc',
|
|
13
15
|
zoneId: 'ZoneId',
|
|
14
16
|
};
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
static types(): { [key: string]: any } {
|
|
18
20
|
return {
|
|
21
|
+
supportRtc: 'boolean',
|
|
19
22
|
zoneId: 'string',
|
|
20
23
|
};
|
|
21
24
|
}
|
package/src/models/model.ts
CHANGED
|
@@ -20,6 +20,8 @@ export { DescribeDedicatedBlockStorageClustersRequestTag } from './DescribeDedic
|
|
|
20
20
|
export { DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity } from './DescribeDedicatedBlockStorageClustersResponseBody';
|
|
21
21
|
export { DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersTags } from './DescribeDedicatedBlockStorageClustersResponseBody';
|
|
22
22
|
export { DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters } from './DescribeDedicatedBlockStorageClustersResponseBody';
|
|
23
|
+
export { DescribeDiagnoseReportResponseBodyReportsEvents } from './DescribeDiagnoseReportResponseBody';
|
|
24
|
+
export { DescribeDiagnoseReportResponseBodyReports } from './DescribeDiagnoseReportResponseBody';
|
|
23
25
|
export { DescribeDiskEventsResponseBodyDiskEvents } from './DescribeDiskEventsResponseBody';
|
|
24
26
|
export { DescribeDiskMonitorDataResponseBodyMonitorData } from './DescribeDiskMonitorDataResponseBody';
|
|
25
27
|
export { DescribeDiskMonitorDataListResponseBodyMonitorData } from './DescribeDiskMonitorDataListResponseBody';
|
|
@@ -92,6 +94,9 @@ export { CreateAppResponse } from './CreateAppResponse';
|
|
|
92
94
|
export { CreateDedicatedBlockStorageClusterRequest } from './CreateDedicatedBlockStorageClusterRequest';
|
|
93
95
|
export { CreateDedicatedBlockStorageClusterResponseBody } from './CreateDedicatedBlockStorageClusterResponseBody';
|
|
94
96
|
export { CreateDedicatedBlockStorageClusterResponse } from './CreateDedicatedBlockStorageClusterResponse';
|
|
97
|
+
export { CreateDiagnoseReportRequest } from './CreateDiagnoseReportRequest';
|
|
98
|
+
export { CreateDiagnoseReportResponseBody } from './CreateDiagnoseReportResponseBody';
|
|
99
|
+
export { CreateDiagnoseReportResponse } from './CreateDiagnoseReportResponse';
|
|
95
100
|
export { CreateDiskReplicaGroupRequest } from './CreateDiskReplicaGroupRequest';
|
|
96
101
|
export { CreateDiskReplicaGroupResponseBody } from './CreateDiskReplicaGroupResponseBody';
|
|
97
102
|
export { CreateDiskReplicaGroupResponse } from './CreateDiskReplicaGroupResponse';
|
|
@@ -123,6 +128,9 @@ export { DescribeDedicatedBlockStorageClusterDisksResponse } from './DescribeDed
|
|
|
123
128
|
export { DescribeDedicatedBlockStorageClustersRequest } from './DescribeDedicatedBlockStorageClustersRequest';
|
|
124
129
|
export { DescribeDedicatedBlockStorageClustersResponseBody } from './DescribeDedicatedBlockStorageClustersResponseBody';
|
|
125
130
|
export { DescribeDedicatedBlockStorageClustersResponse } from './DescribeDedicatedBlockStorageClustersResponse';
|
|
131
|
+
export { DescribeDiagnoseReportRequest } from './DescribeDiagnoseReportRequest';
|
|
132
|
+
export { DescribeDiagnoseReportResponseBody } from './DescribeDiagnoseReportResponseBody';
|
|
133
|
+
export { DescribeDiagnoseReportResponse } from './DescribeDiagnoseReportResponse';
|
|
126
134
|
export { DescribeDiskEventsRequest } from './DescribeDiskEventsRequest';
|
|
127
135
|
export { DescribeDiskEventsResponseBody } from './DescribeDiskEventsResponseBody';
|
|
128
136
|
export { DescribeDiskEventsResponse } from './DescribeDiskEventsResponse';
|