@alicloud/ecd20200930 5.4.0 → 5.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 +80 -20
- package/dist/client.js +155 -20
- package/dist/client.js.map +1 -1
- package/dist/models/CreateVirtualBridgeRequest.d.ts +10 -10
- package/dist/models/DeleteVirtualBridgeRequest.d.ts +2 -2
- package/dist/models/DescribeConsoleMessagesRequest.d.ts +84 -0
- package/dist/models/DescribeConsoleMessagesRequest.js +85 -0
- package/dist/models/DescribeConsoleMessagesRequest.js.map +1 -0
- package/dist/models/DescribeConsoleMessagesResponse.d.ts +19 -0
- package/dist/models/DescribeConsoleMessagesResponse.js +69 -0
- package/dist/models/DescribeConsoleMessagesResponse.js.map +1 -0
- package/dist/models/DescribeConsoleMessagesResponseBody.d.ts +365 -0
- package/dist/models/DescribeConsoleMessagesResponseBody.js +258 -0
- package/dist/models/DescribeConsoleMessagesResponseBody.js.map +1 -0
- package/dist/models/DescribeDesktopsRequest.d.ts +30 -23
- package/dist/models/DescribeDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeDesktopsResponseBody.d.ts +73 -59
- package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
- package/dist/models/GetAggregatedDesktopsRequest.d.ts +5 -1
- package/dist/models/GetAggregatedDesktopsRequest.js.map +1 -1
- package/dist/models/GetAggregatedDesktopsResponseBody.d.ts +1 -1
- package/dist/models/ListVirtualBridgesRequest.d.ts +3 -3
- package/dist/models/ListVirtualBridgesResponseBody.d.ts +5 -3
- package/dist/models/ListVirtualBridgesResponseBody.js.map +1 -1
- package/dist/models/ModifyVirtualBridgeLevelRequest.d.ts +5 -5
- package/dist/models/ModifyVirtualBridgeStatusRequest.d.ts +3 -3
- package/dist/models/RenewVirtualBridgeRequest.d.ts +3 -3
- package/dist/models/SendConsoleMessageRequest.d.ts +23 -0
- package/dist/models/SendConsoleMessageRequest.js +58 -0
- package/dist/models/SendConsoleMessageRequest.js.map +1 -0
- package/dist/models/SendConsoleMessageResponse.d.ts +19 -0
- package/dist/models/SendConsoleMessageResponse.js +69 -0
- package/dist/models/SendConsoleMessageResponse.js.map +1 -0
- package/dist/models/SendConsoleMessageResponseBody.d.ts +29 -0
- package/dist/models/SendConsoleMessageResponseBody.js +60 -0
- package/dist/models/SendConsoleMessageResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +12 -0
- package/dist/models/model.js +48 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +170 -20
- package/src/models/CreateVirtualBridgeRequest.ts +10 -10
- package/src/models/DeleteVirtualBridgeRequest.ts +2 -2
- package/src/models/DescribeConsoleMessagesRequest.ts +124 -0
- package/src/models/DescribeConsoleMessagesResponse.ts +40 -0
- package/src/models/DescribeConsoleMessagesResponseBody.ts +524 -0
- package/src/models/DescribeDesktopsRequest.ts +30 -23
- package/src/models/DescribeDesktopsResponseBody.ts +73 -59
- package/src/models/GetAggregatedDesktopsRequest.ts +5 -1
- package/src/models/GetAggregatedDesktopsResponseBody.ts +1 -1
- package/src/models/ListVirtualBridgesRequest.ts +3 -3
- package/src/models/ListVirtualBridgesResponseBody.ts +5 -3
- package/src/models/ModifyVirtualBridgeLevelRequest.ts +5 -5
- package/src/models/ModifyVirtualBridgeStatusRequest.ts +3 -3
- package/src/models/RenewVirtualBridgeRequest.ts +3 -3
- package/src/models/SendConsoleMessageRequest.ts +36 -0
- package/src/models/SendConsoleMessageResponse.ts +40 -0
- package/src/models/SendConsoleMessageResponseBody.ts +44 -0
- package/src/models/model.ts +12 -0
|
@@ -0,0 +1,524 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeConsoleMessagesResponseBodyMessageListContentConfigs extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The color of the body text, which retains the color value saved when the message was created or modified.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* #666666
|
|
12
|
+
*/
|
|
13
|
+
color?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The message body text in the specified language.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* The cloud computer will undergo routine maintenance. Please save your work in advance
|
|
20
|
+
*/
|
|
21
|
+
contentText?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The body language. Valid values: CN (Chinese), EN (English), and JP (Japanese). The query returns the language value saved when the message was created or modified, retaining the original case.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* CN
|
|
28
|
+
*/
|
|
29
|
+
langType?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
color: 'Color',
|
|
33
|
+
contentText: 'ContentText',
|
|
34
|
+
langType: 'LangType',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
color: 'string',
|
|
41
|
+
contentText: 'string',
|
|
42
|
+
langType: '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 DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The text displayed on the hyperlink button.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* View Details
|
|
62
|
+
*/
|
|
63
|
+
title?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The URL accessed after clicking the hyperlink button.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* https://example.com/announcements/maintenance
|
|
70
|
+
*/
|
|
71
|
+
url?: string;
|
|
72
|
+
static names(): { [key: string]: string } {
|
|
73
|
+
return {
|
|
74
|
+
title: 'Title',
|
|
75
|
+
url: 'Url',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
static types(): { [key: string]: any } {
|
|
80
|
+
return {
|
|
81
|
+
title: 'string',
|
|
82
|
+
url: 'string',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
validate() {
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
constructor(map?: { [key: string]: any }) {
|
|
91
|
+
super(map);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class DescribeConsoleMessagesResponseBodyMessageListImageInfoList extends $dara.Model {
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The name of the image file.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* img0.jpg
|
|
102
|
+
*/
|
|
103
|
+
fileName?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The storage path of the image file.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* image_file/CUSTOM_WALLPAPER/00000000-0000-img0.jpg
|
|
110
|
+
*/
|
|
111
|
+
imageFilePath?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The image type. Configuration types defined by the backend include Operational (operational message image), WallpaperBasic (basic wallpaper image), and WallpaperAppend (appended wallpaper image). The query returns the image type value saved when the message was created or modified, retaining the original case.
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* WallpaperBasic
|
|
118
|
+
*/
|
|
119
|
+
imageType?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @remarks
|
|
122
|
+
* The temporary download URL of the image file. The link has a limited validity period. If it expires, you can query again to obtain a new one.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* https://example.com/images/img0.jpg
|
|
126
|
+
*/
|
|
127
|
+
imageUrl?: string;
|
|
128
|
+
static names(): { [key: string]: string } {
|
|
129
|
+
return {
|
|
130
|
+
fileName: 'FileName',
|
|
131
|
+
imageFilePath: 'ImageFilePath',
|
|
132
|
+
imageType: 'ImageType',
|
|
133
|
+
imageUrl: 'ImageUrl',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
static types(): { [key: string]: any } {
|
|
138
|
+
return {
|
|
139
|
+
fileName: 'string',
|
|
140
|
+
imageFilePath: 'string',
|
|
141
|
+
imageType: 'string',
|
|
142
|
+
imageUrl: 'string',
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
validate() {
|
|
147
|
+
super.validate();
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
constructor(map?: { [key: string]: any }) {
|
|
151
|
+
super(map);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export class DescribeConsoleMessagesResponseBodyMessageListMetaData extends $dara.Model {
|
|
156
|
+
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The AD domain name associated with the message configuration.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* ad.example.com
|
|
162
|
+
*/
|
|
163
|
+
adDomain?: string;
|
|
164
|
+
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The workspace ID associated with the message configuration.
|
|
167
|
+
*
|
|
168
|
+
* @example
|
|
169
|
+
* cn-shanghai+dir-example01
|
|
170
|
+
*/
|
|
171
|
+
officeSiteId?: string;
|
|
172
|
+
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* The list of scheduled sending configurations. If TimerType is CRON, the elements are cron expressions. If TimerType is Timestamp, the elements are millisecond timestamps represented as strings.
|
|
175
|
+
*/
|
|
176
|
+
timer?: string[];
|
|
177
|
+
/**
|
|
178
|
+
* @remarks
|
|
179
|
+
* The scheduled sending type. Valid values: CRON (cron expression) and Timestamp (timestamp). The configuration values are case-sensitive.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* CRON
|
|
183
|
+
*/
|
|
184
|
+
timerType?: string;
|
|
185
|
+
static names(): { [key: string]: string } {
|
|
186
|
+
return {
|
|
187
|
+
adDomain: 'AdDomain',
|
|
188
|
+
officeSiteId: 'OfficeSiteId',
|
|
189
|
+
timer: 'Timer',
|
|
190
|
+
timerType: 'TimerType',
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
static types(): { [key: string]: any } {
|
|
195
|
+
return {
|
|
196
|
+
adDomain: 'string',
|
|
197
|
+
officeSiteId: 'string',
|
|
198
|
+
timer: { 'type': 'array', 'itemType': 'string' },
|
|
199
|
+
timerType: 'string',
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
validate() {
|
|
204
|
+
if(Array.isArray(this.timer)) {
|
|
205
|
+
$dara.Model.validateArray(this.timer);
|
|
206
|
+
}
|
|
207
|
+
super.validate();
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
constructor(map?: { [key: string]: any }) {
|
|
211
|
+
super(map);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export class DescribeConsoleMessagesResponseBodyMessageListTitleConfigs extends $dara.Model {
|
|
216
|
+
/**
|
|
217
|
+
* @remarks
|
|
218
|
+
* The color of the title text, which retains the color value saved when the message was created or modified.
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* #333333
|
|
222
|
+
*/
|
|
223
|
+
color?: string;
|
|
224
|
+
/**
|
|
225
|
+
* @remarks
|
|
226
|
+
* The title language. Valid values: CN (Chinese), EN (English), and JP (Japanese). The query returns the language value saved when the message was created or modified, retaining the original case.
|
|
227
|
+
*
|
|
228
|
+
* @example
|
|
229
|
+
* CN
|
|
230
|
+
*/
|
|
231
|
+
langType?: string;
|
|
232
|
+
/**
|
|
233
|
+
* @remarks
|
|
234
|
+
* The message title text in the specified language.
|
|
235
|
+
*
|
|
236
|
+
* @example
|
|
237
|
+
* System Maintenance Notice
|
|
238
|
+
*/
|
|
239
|
+
titleText?: string;
|
|
240
|
+
static names(): { [key: string]: string } {
|
|
241
|
+
return {
|
|
242
|
+
color: 'Color',
|
|
243
|
+
langType: 'LangType',
|
|
244
|
+
titleText: 'TitleText',
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
static types(): { [key: string]: any } {
|
|
249
|
+
return {
|
|
250
|
+
color: 'string',
|
|
251
|
+
langType: 'string',
|
|
252
|
+
titleText: 'string',
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
validate() {
|
|
257
|
+
super.validate();
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
constructor(map?: { [key: string]: any }) {
|
|
261
|
+
super(map);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export class DescribeConsoleMessagesResponseBodyMessageList extends $dara.Model {
|
|
266
|
+
/**
|
|
267
|
+
* @remarks
|
|
268
|
+
* The list of client types to which the message applies. Standard names are returned: Windows, Mac, Web, and Hardware.
|
|
269
|
+
*/
|
|
270
|
+
clientTypes?: string[];
|
|
271
|
+
/**
|
|
272
|
+
* @remarks
|
|
273
|
+
* The list of message body configurations for each language.
|
|
274
|
+
*/
|
|
275
|
+
contentConfigs?: DescribeConsoleMessagesResponseBodyMessageListContentConfigs[];
|
|
276
|
+
/**
|
|
277
|
+
* @remarks
|
|
278
|
+
* The time when the operational message stops taking effect.
|
|
279
|
+
*
|
|
280
|
+
* @example
|
|
281
|
+
* 2026-10-11T02:00:00.000+00:00
|
|
282
|
+
*/
|
|
283
|
+
endTime?: string;
|
|
284
|
+
/**
|
|
285
|
+
* @remarks
|
|
286
|
+
* The time when the message was created.
|
|
287
|
+
*
|
|
288
|
+
* @example
|
|
289
|
+
* 2026-10-10T00:00:00.000+00:00
|
|
290
|
+
*/
|
|
291
|
+
gmtCreate?: string;
|
|
292
|
+
/**
|
|
293
|
+
* @remarks
|
|
294
|
+
* The time when the message was last modified. This time is also updated when the message status changes.
|
|
295
|
+
*
|
|
296
|
+
* @example
|
|
297
|
+
* 2026-10-10T01:00:00.000+00:00
|
|
298
|
+
*/
|
|
299
|
+
gmtModified?: string;
|
|
300
|
+
/**
|
|
301
|
+
* @remarks
|
|
302
|
+
* The list of hyperlink button configurations in the message.
|
|
303
|
+
*/
|
|
304
|
+
hyperLinkConfigs?: DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs[];
|
|
305
|
+
/**
|
|
306
|
+
* @remarks
|
|
307
|
+
* The storage path of the image file for the operational message.
|
|
308
|
+
*
|
|
309
|
+
* @example
|
|
310
|
+
* image_file/OPERATIONAL/00000000-0000-console-message.png
|
|
311
|
+
*/
|
|
312
|
+
imageFilePath?: string;
|
|
313
|
+
/**
|
|
314
|
+
* @remarks
|
|
315
|
+
* The list of image configurations, which is mainly used for custom wallpaper messages. Each item includes the image name, image type, storage path, and temporary download URL.
|
|
316
|
+
*/
|
|
317
|
+
imageInfoList?: DescribeConsoleMessagesResponseBodyMessageListImageInfoList[];
|
|
318
|
+
/**
|
|
319
|
+
* @remarks
|
|
320
|
+
* The temporary download URL of the operational message image. The link has a limited validity period. If it expires, you can query again to obtain a new one.
|
|
321
|
+
*
|
|
322
|
+
* @example
|
|
323
|
+
* https://example.com/images/console-message.png
|
|
324
|
+
*/
|
|
325
|
+
imageUrl?: string;
|
|
326
|
+
/**
|
|
327
|
+
* @remarks
|
|
328
|
+
* The message ID, which can be used to send, modify, or delete a specified message.
|
|
329
|
+
*
|
|
330
|
+
* @example
|
|
331
|
+
* msg-123456
|
|
332
|
+
*/
|
|
333
|
+
messageId?: string;
|
|
334
|
+
/**
|
|
335
|
+
* @remarks
|
|
336
|
+
* The message level of the notification message. Valid values: STRONG (strong message) and WEAK (weak message).
|
|
337
|
+
*
|
|
338
|
+
* @example
|
|
339
|
+
* STRONG
|
|
340
|
+
*/
|
|
341
|
+
messageLevel?: string;
|
|
342
|
+
/**
|
|
343
|
+
* @remarks
|
|
344
|
+
* The message type. Valid values: OPERATIONAL (client operational message), WALLPAPER (desktop wallpaper text message), NOTIFICATION (message center notification), and CUSTOM_WALLPAPER (custom desktop wallpaper).
|
|
345
|
+
*
|
|
346
|
+
* @example
|
|
347
|
+
* NOTIFICATION
|
|
348
|
+
*/
|
|
349
|
+
messageType?: string;
|
|
350
|
+
/**
|
|
351
|
+
* @remarks
|
|
352
|
+
* The additional configuration of the message, including the associated workspace, AD domain name, and scheduled sending configuration. Whether specific fields are returned depends on the message type and its saved configuration.
|
|
353
|
+
*/
|
|
354
|
+
metaData?: DescribeConsoleMessagesResponseBodyMessageListMetaData;
|
|
355
|
+
/**
|
|
356
|
+
* @remarks
|
|
357
|
+
* The display position of the message. For wallpaper text messages, valid values are CENTER (center), TOP_RIGHT (top right), BOTTOM_RIGHT (bottom right), and BOTTOM_LEFT (bottom left). For client operational messages, valid values are CLIENT_ENTERPRISE_RESOURCE_PAGE (Enterprise Edition client cloud resource page) and CLIENT_BUSINESS_RESOURCE_PAGE (Business Edition client cloud resource page).
|
|
358
|
+
*
|
|
359
|
+
* @example
|
|
360
|
+
* CENTER
|
|
361
|
+
*/
|
|
362
|
+
position?: string;
|
|
363
|
+
/**
|
|
364
|
+
* @remarks
|
|
365
|
+
* The time when the operational message starts taking effect.
|
|
366
|
+
*
|
|
367
|
+
* @example
|
|
368
|
+
* 2026-10-10T02:00:00.000+00:00
|
|
369
|
+
*/
|
|
370
|
+
startTime?: string;
|
|
371
|
+
/**
|
|
372
|
+
* @remarks
|
|
373
|
+
* The current status of the message. Valid values: Init (initializing), Pushing (pushing), Published (published), Expired (expired), Deleting (deleting), and Failed (failed). Published indicates that the message has been published or the server has finished pushing, but it does not indicate that all target terminals have successfully received the message.
|
|
374
|
+
*
|
|
375
|
+
* @example
|
|
376
|
+
* Published
|
|
377
|
+
*/
|
|
378
|
+
status?: string;
|
|
379
|
+
/**
|
|
380
|
+
* @remarks
|
|
381
|
+
* The JSON string of the list of targets to which the message applies. For Organization and AdOrg, it is an array of objects containing orgId (organization ID) and orgName (organization name). The organization name may be empty, and records in the old format may not contain orgName. For Tag, it is an array of objects containing tagKey (tag key), tagValue (tag value), and regionId (region ID). For other target types, it is an array of strings. The target for all users is represented by ALL_USERS.
|
|
382
|
+
*
|
|
383
|
+
* @example
|
|
384
|
+
* ["user01"]
|
|
385
|
+
*/
|
|
386
|
+
targetIds?: string;
|
|
387
|
+
/**
|
|
388
|
+
* @remarks
|
|
389
|
+
* The type of the target to which the message applies. Valid values: AllUsers (all convenience users), EndUser (specified convenience user), Organization (specified convenience user organization), Desktop (cloud computer), ResourceGroup (resource group), Region (region), Tag (tag), AdAllUsers (all AD users), AdUser (specified AD user), and AdOrg (specified AD organization).
|
|
390
|
+
*
|
|
391
|
+
* @example
|
|
392
|
+
* EndUser
|
|
393
|
+
*/
|
|
394
|
+
targetType?: string;
|
|
395
|
+
/**
|
|
396
|
+
* @remarks
|
|
397
|
+
* The list of message title configurations for each language.
|
|
398
|
+
*/
|
|
399
|
+
titleConfigs?: DescribeConsoleMessagesResponseBodyMessageListTitleConfigs[];
|
|
400
|
+
static names(): { [key: string]: string } {
|
|
401
|
+
return {
|
|
402
|
+
clientTypes: 'ClientTypes',
|
|
403
|
+
contentConfigs: 'ContentConfigs',
|
|
404
|
+
endTime: 'EndTime',
|
|
405
|
+
gmtCreate: 'GmtCreate',
|
|
406
|
+
gmtModified: 'GmtModified',
|
|
407
|
+
hyperLinkConfigs: 'HyperLinkConfigs',
|
|
408
|
+
imageFilePath: 'ImageFilePath',
|
|
409
|
+
imageInfoList: 'ImageInfoList',
|
|
410
|
+
imageUrl: 'ImageUrl',
|
|
411
|
+
messageId: 'MessageId',
|
|
412
|
+
messageLevel: 'MessageLevel',
|
|
413
|
+
messageType: 'MessageType',
|
|
414
|
+
metaData: 'MetaData',
|
|
415
|
+
position: 'Position',
|
|
416
|
+
startTime: 'StartTime',
|
|
417
|
+
status: 'Status',
|
|
418
|
+
targetIds: 'TargetIds',
|
|
419
|
+
targetType: 'TargetType',
|
|
420
|
+
titleConfigs: 'TitleConfigs',
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
static types(): { [key: string]: any } {
|
|
425
|
+
return {
|
|
426
|
+
clientTypes: { 'type': 'array', 'itemType': 'string' },
|
|
427
|
+
contentConfigs: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageListContentConfigs },
|
|
428
|
+
endTime: 'string',
|
|
429
|
+
gmtCreate: 'string',
|
|
430
|
+
gmtModified: 'string',
|
|
431
|
+
hyperLinkConfigs: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs },
|
|
432
|
+
imageFilePath: 'string',
|
|
433
|
+
imageInfoList: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageListImageInfoList },
|
|
434
|
+
imageUrl: 'string',
|
|
435
|
+
messageId: 'string',
|
|
436
|
+
messageLevel: 'string',
|
|
437
|
+
messageType: 'string',
|
|
438
|
+
metaData: DescribeConsoleMessagesResponseBodyMessageListMetaData,
|
|
439
|
+
position: 'string',
|
|
440
|
+
startTime: 'string',
|
|
441
|
+
status: 'string',
|
|
442
|
+
targetIds: 'string',
|
|
443
|
+
targetType: 'string',
|
|
444
|
+
titleConfigs: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageListTitleConfigs },
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
validate() {
|
|
449
|
+
if(Array.isArray(this.clientTypes)) {
|
|
450
|
+
$dara.Model.validateArray(this.clientTypes);
|
|
451
|
+
}
|
|
452
|
+
if(Array.isArray(this.contentConfigs)) {
|
|
453
|
+
$dara.Model.validateArray(this.contentConfigs);
|
|
454
|
+
}
|
|
455
|
+
if(Array.isArray(this.hyperLinkConfigs)) {
|
|
456
|
+
$dara.Model.validateArray(this.hyperLinkConfigs);
|
|
457
|
+
}
|
|
458
|
+
if(Array.isArray(this.imageInfoList)) {
|
|
459
|
+
$dara.Model.validateArray(this.imageInfoList);
|
|
460
|
+
}
|
|
461
|
+
if(this.metaData && typeof (this.metaData as any).validate === 'function') {
|
|
462
|
+
(this.metaData as any).validate();
|
|
463
|
+
}
|
|
464
|
+
if(Array.isArray(this.titleConfigs)) {
|
|
465
|
+
$dara.Model.validateArray(this.titleConfigs);
|
|
466
|
+
}
|
|
467
|
+
super.validate();
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
constructor(map?: { [key: string]: any }) {
|
|
471
|
+
super(map);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
export class DescribeConsoleMessagesResponseBody extends $dara.Model {
|
|
476
|
+
/**
|
|
477
|
+
* @remarks
|
|
478
|
+
* The list of console messages queried on the current page. If no messages match, an empty list is returned.
|
|
479
|
+
*/
|
|
480
|
+
messageList?: DescribeConsoleMessagesResponseBodyMessageList[];
|
|
481
|
+
/**
|
|
482
|
+
* @remarks
|
|
483
|
+
* The ID of the request, which is used to locate and troubleshoot issues.
|
|
484
|
+
*
|
|
485
|
+
* @example
|
|
486
|
+
* 9F1D7E42-06A8-4B50-9A21-6E0C8D3F5B72
|
|
487
|
+
*/
|
|
488
|
+
requestId?: string;
|
|
489
|
+
/**
|
|
490
|
+
* @remarks
|
|
491
|
+
* The total number of messages that match the query conditions, not the number of messages returned on the current page.
|
|
492
|
+
*
|
|
493
|
+
* @example
|
|
494
|
+
* 1
|
|
495
|
+
*/
|
|
496
|
+
totalCount?: string;
|
|
497
|
+
static names(): { [key: string]: string } {
|
|
498
|
+
return {
|
|
499
|
+
messageList: 'MessageList',
|
|
500
|
+
requestId: 'RequestId',
|
|
501
|
+
totalCount: 'TotalCount',
|
|
502
|
+
};
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
static types(): { [key: string]: any } {
|
|
506
|
+
return {
|
|
507
|
+
messageList: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageList },
|
|
508
|
+
requestId: 'string',
|
|
509
|
+
totalCount: 'string',
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
validate() {
|
|
514
|
+
if(Array.isArray(this.messageList)) {
|
|
515
|
+
$dara.Model.validateArray(this.messageList);
|
|
516
|
+
}
|
|
517
|
+
super.validate();
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
constructor(map?: { [key: string]: any }) {
|
|
521
|
+
super(map);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeDesktopsRequestTag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The tag key. If you specify `Tag`, `Key` is required. The
|
|
8
|
+
* The tag key. If you specify `Tag`, `Key` is required. The value cannot exceed 128 characters, cannot start with `aliyun` or `acs:`, cannot contain `http://` or `https://`, and cannot consist of spaces only.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* TestKey
|
|
@@ -13,7 +13,7 @@ export class DescribeDesktopsRequestTag extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The tag value. The
|
|
16
|
+
* The tag value. The value cannot exceed 128 characters, cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* TestValue
|
|
@@ -46,8 +46,8 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
48
|
* The business channel. Valid values:
|
|
49
|
-
*
|
|
50
|
-
*
|
|
49
|
+
* Enterprise: Enterprise Edition
|
|
50
|
+
* Business: Business Edition
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* Enterprise
|
|
@@ -63,7 +63,7 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
63
63
|
chargeType?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The cloud computer pool ID. If `DesktopId
|
|
66
|
+
* The cloud computer pool ID. If you specify `DesktopId`, this `DesktopGroupId` parameter is ignored. If `DesktopId` is empty, the system retrieves the `DesktopId` of all cloud computers in the specified cloud computer pool based on `DesktopGroupId`.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* dg-2i8qxpv6t1a03****
|
|
@@ -100,7 +100,7 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
100
100
|
desktopStatusList?: string[];
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
* The cloud computer
|
|
103
|
+
* The cloud computer instance type. Call [DescribeDesktopTypes](https://help.aliyun.com/document_detail/188882.html) to query the supported instance type IDs.
|
|
104
104
|
*
|
|
105
105
|
* @example
|
|
106
106
|
* eds.general.2c8g
|
|
@@ -108,7 +108,7 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
108
108
|
desktopType?: string;
|
|
109
109
|
/**
|
|
110
110
|
* @remarks
|
|
111
|
-
* The directory ID
|
|
111
|
+
* The directory ID. This is the same as the office network ID.
|
|
112
112
|
*
|
|
113
113
|
* @example
|
|
114
114
|
* cn-hangzhou+dir-363353****
|
|
@@ -116,9 +116,9 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
116
116
|
directoryId?: string;
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
* The list of authorized users
|
|
119
|
+
* The list of authorized users for the cloud computer. You can set 1 to 100 users.
|
|
120
120
|
*
|
|
121
|
-
* >
|
|
121
|
+
* > At any given time, only one user can connect to and use the cloud computer.
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
124
|
* alice
|
|
@@ -134,7 +134,7 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
134
134
|
excludedEndUserId?: string[];
|
|
135
135
|
/**
|
|
136
136
|
* @remarks
|
|
137
|
-
* The expiration time of the subscription cloud computer. The time follows the ISO 8601 standard in
|
|
137
|
+
* The expiration time of the subscription cloud computer. The time follows the ISO 8601 standard in UTC: yyyy-MM-ddTHH:mm:ssZ.
|
|
138
138
|
*
|
|
139
139
|
* @example
|
|
140
140
|
* 2022-12-31T15:59:59Z
|
|
@@ -142,7 +142,7 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
142
142
|
expiredTime?: string;
|
|
143
143
|
/**
|
|
144
144
|
* @remarks
|
|
145
|
-
* Specifies whether to
|
|
145
|
+
* Specifies whether to include enterprise resource group information in the response.
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
148
|
* true
|
|
@@ -174,7 +174,7 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
174
174
|
groupId?: string;
|
|
175
175
|
/**
|
|
176
176
|
* @remarks
|
|
177
|
-
* The image IDs.
|
|
177
|
+
* The list of image IDs.
|
|
178
178
|
*/
|
|
179
179
|
imageId?: string[];
|
|
180
180
|
/**
|
|
@@ -197,8 +197,8 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
197
197
|
* @remarks
|
|
198
198
|
* The number of entries per page for a paged query.
|
|
199
199
|
*
|
|
200
|
-
* - Maximum value: 100
|
|
201
|
-
* - Default value: 10
|
|
200
|
+
* - Maximum value: 100
|
|
201
|
+
* - Default value: 10
|
|
202
202
|
*
|
|
203
203
|
* @example
|
|
204
204
|
* 10
|
|
@@ -222,7 +222,7 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
222
222
|
networkInterfaceIp?: string;
|
|
223
223
|
/**
|
|
224
224
|
* @remarks
|
|
225
|
-
* The
|
|
225
|
+
* The token that marks the start of the next query. An empty NextToken value indicates that there are no more results.
|
|
226
226
|
*
|
|
227
227
|
* @example
|
|
228
228
|
* caeba0bbb2be03f84eb48b699f0a4883
|
|
@@ -254,12 +254,12 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
254
254
|
onlyDesktopGroup?: boolean;
|
|
255
255
|
/**
|
|
256
256
|
* @remarks
|
|
257
|
-
* The operating system
|
|
257
|
+
* The operating system type.
|
|
258
258
|
*/
|
|
259
259
|
osTypes?: string[];
|
|
260
260
|
/**
|
|
261
261
|
* @remarks
|
|
262
|
-
* The page number
|
|
262
|
+
* The page number in a paged query.
|
|
263
263
|
*
|
|
264
264
|
* @example
|
|
265
265
|
* 1
|
|
@@ -291,7 +291,7 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
291
291
|
protocolType?: string;
|
|
292
292
|
/**
|
|
293
293
|
* @remarks
|
|
294
|
-
* The public IP address of the instance to
|
|
294
|
+
* The public IP address of the instance. Use this parameter to filter instances by public IP address.
|
|
295
295
|
*
|
|
296
296
|
* @example
|
|
297
297
|
* 121.199.28.39
|
|
@@ -299,7 +299,7 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
299
299
|
publicIp?: string;
|
|
300
300
|
/**
|
|
301
301
|
* @remarks
|
|
302
|
-
* The
|
|
302
|
+
* The public network bandwidth throttling rule ID.
|
|
303
303
|
*
|
|
304
304
|
* @example
|
|
305
305
|
* qos-5605u0gelk200****
|
|
@@ -307,7 +307,7 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
307
307
|
qosRuleId?: string;
|
|
308
308
|
/**
|
|
309
309
|
* @remarks
|
|
310
|
-
* Specifies whether to query
|
|
310
|
+
* Specifies whether to query the image version information of the cloud computer.
|
|
311
311
|
*
|
|
312
312
|
* @example
|
|
313
313
|
* false
|
|
@@ -315,7 +315,7 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
315
315
|
queryFotaUpdate?: boolean;
|
|
316
316
|
/**
|
|
317
317
|
* @remarks
|
|
318
|
-
* The region ID.
|
|
318
|
+
* The region ID. Call [DescribeRegions](~~DescribeRegions~~) to retrieve the list of regions supported by Alibaba Cloud Workspace.
|
|
319
319
|
*
|
|
320
320
|
* This parameter is required.
|
|
321
321
|
*
|
|
@@ -323,10 +323,17 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
323
323
|
* cn-hangzhou
|
|
324
324
|
*/
|
|
325
325
|
regionId?: string;
|
|
326
|
+
/**
|
|
327
|
+
* @remarks
|
|
328
|
+
* The resource reservation pool ID (rp-xxx). Filters cloud computers by reservation pool exactly. If not specified or left empty, no filtering by reservation pool is applied.
|
|
329
|
+
*
|
|
330
|
+
* @example
|
|
331
|
+
* rp-xxx
|
|
332
|
+
*/
|
|
326
333
|
reservePoolId?: string;
|
|
327
334
|
/**
|
|
328
335
|
* @remarks
|
|
329
|
-
* The resource group ID.
|
|
336
|
+
* The enterprise resource group ID.
|
|
330
337
|
*
|
|
331
338
|
* @example
|
|
332
339
|
* rg-4hsvzbbmqdzu3s****
|
|
@@ -350,7 +357,7 @@ export class DescribeDesktopsRequest extends $dara.Model {
|
|
|
350
357
|
subPayType?: string;
|
|
351
358
|
/**
|
|
352
359
|
* @remarks
|
|
353
|
-
* The tags. A tag consists of a key-value pair and is used to
|
|
360
|
+
* The list of tags. A tag consists of a key-value pair and is used to identify resources. You can use tags to group and manage cloud computers for easier search and batch operations. For more information, see [Use tags to manage cloud computers](https://help.aliyun.com/document_detail/203781.html).
|
|
354
361
|
*/
|
|
355
362
|
tag?: DescribeDesktopsRequestTag[];
|
|
356
363
|
/**
|