@alicloud/ecd20200930 4.15.0 → 4.16.1

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.
Files changed (59) hide show
  1. package/dist/client.d.ts +23 -2
  2. package/dist/client.js +86 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AllocateIpAddressRequest.d.ts +3 -0
  5. package/dist/models/AllocateIpAddressRequest.js +6 -0
  6. package/dist/models/AllocateIpAddressRequest.js.map +1 -1
  7. package/dist/models/BatchModifyEntitlementRequest.d.ts +47 -0
  8. package/dist/models/BatchModifyEntitlementRequest.js +76 -0
  9. package/dist/models/BatchModifyEntitlementRequest.js.map +1 -0
  10. package/dist/models/BatchModifyEntitlementResponse.d.ts +19 -0
  11. package/dist/models/BatchModifyEntitlementResponse.js +69 -0
  12. package/dist/models/BatchModifyEntitlementResponse.js.map +1 -0
  13. package/dist/models/BatchModifyEntitlementResponseBody.d.ts +65 -0
  14. package/dist/models/BatchModifyEntitlementResponseBody.js +115 -0
  15. package/dist/models/BatchModifyEntitlementResponseBody.js.map +1 -0
  16. package/dist/models/CreateCenterPolicyRequest.d.ts +2 -0
  17. package/dist/models/CreateCenterPolicyRequest.js +4 -0
  18. package/dist/models/CreateCenterPolicyRequest.js.map +1 -1
  19. package/dist/models/CreateTemplateRequest.d.ts +122 -0
  20. package/dist/models/CreateTemplateRequest.js.map +1 -1
  21. package/dist/models/CreateTemplateResponseBody.d.ts +18 -0
  22. package/dist/models/CreateTemplateResponseBody.js.map +1 -1
  23. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.d.ts +5 -0
  24. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js +2 -0
  25. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js.map +1 -1
  26. package/dist/models/DescribePolicyGroupsResponseBody.d.ts +2 -0
  27. package/dist/models/DescribePolicyGroupsResponseBody.js +4 -0
  28. package/dist/models/DescribePolicyGroupsResponseBody.js.map +1 -1
  29. package/dist/models/DescribeTemplatesRequest.d.ts +41 -0
  30. package/dist/models/DescribeTemplatesRequest.js.map +1 -1
  31. package/dist/models/DescribeTemplatesResponseBody.d.ts +173 -0
  32. package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
  33. package/dist/models/ListInstalledAppsRequest.d.ts +10 -0
  34. package/dist/models/ListInstalledAppsRequest.js.map +1 -1
  35. package/dist/models/ListInstalledAppsResponseBody.d.ts +16 -0
  36. package/dist/models/ListInstalledAppsResponseBody.js.map +1 -1
  37. package/dist/models/ModifyCenterPolicyRequest.d.ts +2 -0
  38. package/dist/models/ModifyCenterPolicyRequest.js +4 -0
  39. package/dist/models/ModifyCenterPolicyRequest.js.map +1 -1
  40. package/dist/models/model.d.ts +5 -0
  41. package/dist/models/model.js +32 -22
  42. package/dist/models/model.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/client.ts +102 -2
  45. package/src/models/AllocateIpAddressRequest.ts +9 -0
  46. package/src/models/BatchModifyEntitlementRequest.ts +78 -0
  47. package/src/models/BatchModifyEntitlementResponse.ts +40 -0
  48. package/src/models/BatchModifyEntitlementResponseBody.ts +117 -0
  49. package/src/models/CreateCenterPolicyRequest.ts +6 -0
  50. package/src/models/CreateTemplateRequest.ts +122 -0
  51. package/src/models/CreateTemplateResponseBody.ts +18 -0
  52. package/src/models/DescribeGlobalDesktopRecordsResponseBody.ts +7 -0
  53. package/src/models/DescribePolicyGroupsResponseBody.ts +6 -0
  54. package/src/models/DescribeTemplatesRequest.ts +41 -0
  55. package/src/models/DescribeTemplatesResponseBody.ts +173 -0
  56. package/src/models/ListInstalledAppsRequest.ts +10 -0
  57. package/src/models/ListInstalledAppsResponseBody.ts +16 -0
  58. package/src/models/ModifyCenterPolicyRequest.ts +6 -0
  59. package/src/models/model.ts +5 -0
@@ -4,11 +4,23 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeTemplatesResponseBodyDataDataDiskList extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The PL of the data disk.
9
+ *
10
+ * Valid values:
11
+ *
12
+ * * PL1: a PL1 ESSD.
13
+ * * PL0: a PL0 ESSD.
14
+ * * AutoPL: an AutoPL SSD.
15
+ *
7
16
  * @example
8
17
  * AutoPL
9
18
  */
10
19
  performanceLevel?: string;
11
20
  /**
21
+ * @remarks
22
+ * The size of the data disk. Unit: GiB.
23
+ *
12
24
  * @example
13
25
  * 100
14
26
  */
@@ -38,51 +50,81 @@ export class DescribeTemplatesResponseBodyDataDataDiskList extends $dara.Model {
38
50
 
39
51
  export class DescribeTemplatesResponseBodyDataRegionConfigList extends $dara.Model {
40
52
  /**
53
+ * @remarks
54
+ * The number of vCPUs.
55
+ *
41
56
  * @example
42
57
  * 4
43
58
  */
44
59
  cpuCount?: number;
45
60
  /**
61
+ * @remarks
62
+ * The GPU memory information. This parameter is supported only by Graphics cloud computer types.
63
+ *
46
64
  * @example
47
65
  * 4GiB
48
66
  */
49
67
  gpuSpec?: string;
50
68
  /**
69
+ * @remarks
70
+ * The memory size. Unit: MiB.
71
+ *
51
72
  * @example
52
73
  * 8192
53
74
  */
54
75
  memorySize?: number;
55
76
  /**
77
+ * @remarks
78
+ * The office network ID.
79
+ *
56
80
  * @example
57
81
  * cn-beijing+dir-3040*****
58
82
  */
59
83
  officeSiteId?: string;
60
84
  /**
85
+ * @remarks
86
+ * The region ID.
87
+ *
61
88
  * @example
62
89
  * cn-shenzhen
63
90
  */
64
91
  regionId?: string;
65
92
  /**
93
+ * @remarks
94
+ * The ID of the cloud computer type.
95
+ *
66
96
  * @example
67
97
  * eds.enterprise_office.4c8g
68
98
  */
69
99
  resourceInstanceType?: string;
70
100
  /**
101
+ * @remarks
102
+ * The snapshot policy ID.
103
+ *
71
104
  * @example
72
105
  * sp-b9fasjuu0*****
73
106
  */
74
107
  snapshotPolicyId?: string;
75
108
  /**
109
+ * @remarks
110
+ * The subnet ID.
111
+ *
76
112
  * @example
77
113
  * vsw-dgea1*****
78
114
  */
79
115
  subnetId?: string;
80
116
  /**
117
+ * @remarks
118
+ * Indicates whether disk encryption is enabled.
119
+ *
81
120
  * @example
82
121
  * false
83
122
  */
84
123
  volumeEncryptionEnable?: boolean;
85
124
  /**
125
+ * @remarks
126
+ * The ID of the Key Management Service (KMS) key that is used to encrypt the disk.
127
+ *
86
128
  * @example
87
129
  * 3bc77be0-cbce-4a29-b07b-13f16394****
88
130
  */
@@ -128,11 +170,17 @@ export class DescribeTemplatesResponseBodyDataRegionConfigList extends $dara.Mod
128
170
 
129
171
  export class DescribeTemplatesResponseBodyDataResourceTagList extends $dara.Model {
130
172
  /**
173
+ * @remarks
174
+ * The tag key.
175
+ *
131
176
  * @example
132
177
  * env
133
178
  */
134
179
  key?: string;
135
180
  /**
181
+ * @remarks
182
+ * The property value.
183
+ *
136
184
  * @example
137
185
  * test
138
186
  */
@@ -162,11 +210,17 @@ export class DescribeTemplatesResponseBodyDataResourceTagList extends $dara.Mode
162
210
 
163
211
  export class DescribeTemplatesResponseBodyDataSiteConfigList extends $dara.Model {
164
212
  /**
213
+ * @remarks
214
+ * 应用管控策略ID
215
+ *
165
216
  * @example
166
217
  * bwr-5a5371e0*******
167
218
  */
168
219
  appRuleId?: string;
169
220
  /**
221
+ * @remarks
222
+ * 站点名称。
223
+ *
170
224
  * @example
171
225
  * mainland
172
226
  */
@@ -198,29 +252,66 @@ export class DescribeTemplatesResponseBodyData extends $dara.Model {
198
252
  autoPay?: boolean;
199
253
  autoRenew?: boolean;
200
254
  chargeType?: string;
255
+ /**
256
+ * @remarks
257
+ * The sizes of the data disks.
258
+ */
201
259
  dataDiskList?: DescribeTemplatesResponseBodyDataDataDiskList[];
202
260
  /**
261
+ * @remarks
262
+ * The default language of the template.
263
+ *
264
+ * Valid values:
265
+ *
266
+ * * en-US: English.
267
+ * * zh-HK: Chinese, Traditional (Hong Kong, China).
268
+ * * zh-CN: Simplified Chinese.
269
+ * * ja-JP: Japanese.
270
+ *
203
271
  * @example
204
272
  * zh-CN
205
273
  */
206
274
  defaultLanguage?: string;
275
+ /**
276
+ * @remarks
277
+ * The template description.
278
+ */
207
279
  description?: string;
208
280
  /**
281
+ * @remarks
282
+ * The time when the template was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in Coordinated Universal Time (UTC).
283
+ *
209
284
  * @example
210
285
  * 2025-04-25T05:18:46.000+00:00
211
286
  */
212
287
  gmtCreate?: string;
213
288
  /**
289
+ * @remarks
290
+ * The time when the template was updated. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.
291
+ *
214
292
  * @example
215
293
  * 2025-04-25T05:18:46.000+00:00
216
294
  */
217
295
  gmtModified?: string;
218
296
  /**
297
+ * @remarks
298
+ * The image ID.
299
+ *
219
300
  * @example
220
301
  * m-5q8ehbihx*****
221
302
  */
222
303
  imageId?: string;
223
304
  /**
305
+ * @remarks
306
+ * The image type.
307
+ *
308
+ * Valid values:
309
+ *
310
+ * * User: a custom image.
311
+ * * Shared: a shared image.
312
+ * * System: a system image.
313
+ * * Community: a community image.
314
+ *
224
315
  * @example
225
316
  * User
226
317
  */
@@ -228,51 +319,109 @@ export class DescribeTemplatesResponseBodyData extends $dara.Model {
228
319
  period?: number;
229
320
  periodUnit?: string;
230
321
  /**
322
+ * @remarks
323
+ * The policy ID.
324
+ *
231
325
  * @example
232
326
  * pg-0caoeogkhz*****
233
327
  */
234
328
  policyGroupId?: string;
235
329
  postPaidAfterUsedUp?: boolean;
236
330
  /**
331
+ * @remarks
332
+ * The service type.
333
+ *
334
+ * Valid value:
335
+ *
336
+ * * CloudDesktop: cloud computers.
337
+ *
237
338
  * @example
238
339
  * CLOUD_DESKTOP
239
340
  */
240
341
  productType?: string;
342
+ /**
343
+ * @remarks
344
+ * The region-related settings.
345
+ */
241
346
  regionConfigList?: DescribeTemplatesResponseBodyDataRegionConfigList[];
242
347
  /**
348
+ * @remarks
349
+ * The request ID.
350
+ *
243
351
  * @example
244
352
  * 1871984F-51F6-5588-BAF6-******
245
353
  */
246
354
  requestId?: string;
247
355
  /**
356
+ * @remarks
357
+ * The ID of the resource group.
358
+ *
248
359
  * @example
249
360
  * rg-a5fqjjqaejt***
250
361
  */
251
362
  resourceGroupId?: string;
363
+ /**
364
+ * @remarks
365
+ * The tags added to cloud computers. A tag is a key-value pair.
366
+ */
252
367
  resourceTagList?: DescribeTemplatesResponseBodyDataResourceTagList[];
368
+ /**
369
+ * @remarks
370
+ * 区域配置管理
371
+ */
253
372
  siteConfigList?: DescribeTemplatesResponseBodyDataSiteConfigList[];
254
373
  /**
374
+ * @remarks
375
+ * The performance level (PL) of the system disk.
376
+ *
377
+ * Valid value:
378
+ *
379
+ * * PL1: a PL1 Enterprise SSD (ESSD).
380
+ * * PL0: a PL0 ESSD.
381
+ * * AutoPL: an AutoPL SSD.
382
+ *
255
383
  * @example
256
384
  * AutoPL
257
385
  */
258
386
  systemDiskPerformanceLevel?: string;
259
387
  /**
388
+ * @remarks
389
+ * The size of the system disk. Unit: GiB.
390
+ *
260
391
  * @example
261
392
  * 80
262
393
  */
263
394
  systemDiskSize?: number;
264
395
  /**
396
+ * @remarks
397
+ * The template ID.
398
+ *
265
399
  * @example
266
400
  * b-0caoeogs88y*****
267
401
  */
268
402
  templateId?: string;
403
+ /**
404
+ * @remarks
405
+ * The template name.
406
+ */
269
407
  templateName?: string;
270
408
  /**
409
+ * @remarks
410
+ * The template type.
411
+ *
412
+ * Valid values:
413
+ *
414
+ * * USER_TEMPLATE: custom templates.
415
+ * * SYSTEM_TEMPLATE: system templates.
416
+ *
271
417
  * @example
272
418
  * USER_TEMPLATE
273
419
  */
274
420
  templateType?: string;
275
421
  /**
422
+ * @remarks
423
+ * The ID of the scheduled task group.
424
+ *
276
425
  * @example
277
426
  * bcc-dweha*****
278
427
  */
@@ -365,6 +514,9 @@ export class DescribeTemplatesResponseBodyData extends $dara.Model {
365
514
 
366
515
  export class DescribeTemplatesResponseBody extends $dara.Model {
367
516
  /**
517
+ * @remarks
518
+ * The modification result. If the request was successful, `success` is returned. If the request failed, an error message is returned.
519
+ *
368
520
  * @example
369
521
  * success
370
522
  */
@@ -375,36 +527,57 @@ export class DescribeTemplatesResponseBody extends $dara.Model {
375
527
  */
376
528
  data?: DescribeTemplatesResponseBodyData[];
377
529
  /**
530
+ * @remarks
531
+ * The HTTP status code returned.
532
+ *
378
533
  * @example
379
534
  * 200
380
535
  */
381
536
  httpStatusCode?: number;
382
537
  /**
538
+ * @remarks
539
+ * The error message returned. This parameter is not returned if the value of Code is `success`.
540
+ *
383
541
  * @example
384
542
  * success
385
543
  */
386
544
  message?: string;
387
545
  /**
546
+ * @remarks
547
+ * The page number.
548
+ *
388
549
  * @example
389
550
  * 1
390
551
  */
391
552
  pageNumber?: number;
392
553
  /**
554
+ * @remarks
555
+ * The number of entries per page.
556
+ *
393
557
  * @example
394
558
  * 20
395
559
  */
396
560
  pageSize?: number;
397
561
  /**
562
+ * @remarks
563
+ * The request ID.
564
+ *
398
565
  * @example
399
566
  * 1871984F-51F6-5588-BAF6-*******
400
567
  */
401
568
  requestId?: string;
402
569
  /**
570
+ * @remarks
571
+ * Indicates whether the request was successful.
572
+ *
403
573
  * @example
404
574
  * True
405
575
  */
406
576
  success?: boolean;
407
577
  /**
578
+ * @remarks
579
+ * The total number of templates.
580
+ *
408
581
  * @example
409
582
  * 94
410
583
  */
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListInstalledAppsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The cloud computer ID.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -12,11 +14,19 @@ export class ListInstalledAppsRequest extends $dara.Model {
12
14
  */
13
15
  desktopId?: string;
14
16
  /**
17
+ * @remarks
18
+ * The page number.\\
19
+ * Default value: 1.
20
+ *
15
21
  * @example
16
22
  * 1
17
23
  */
18
24
  pageNumber?: number;
19
25
  /**
26
+ * @remarks
27
+ * The number of entries per page.\\
28
+ * Default value: 20.
29
+ *
20
30
  * @example
21
31
  * 20
22
32
  */
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListInstalledAppsResponseBodyApps extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The name of the application.
9
+ *
7
10
  * @example
8
11
  * test_app
9
12
  */
10
13
  appName?: string;
11
14
  /**
15
+ * @remarks
16
+ * The application version.
17
+ *
12
18
  * @example
13
19
  * 2.0.1
14
20
  */
@@ -37,13 +43,23 @@ export class ListInstalledAppsResponseBodyApps extends $dara.Model {
37
43
  }
38
44
 
39
45
  export class ListInstalledAppsResponseBody extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The information about the application.
49
+ */
40
50
  apps?: ListInstalledAppsResponseBodyApps[];
41
51
  /**
52
+ * @remarks
53
+ * The unique ID of the request.
54
+ *
42
55
  * @example
43
56
  * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
44
57
  */
45
58
  requestId?: string;
46
59
  /**
60
+ * @remarks
61
+ * The total number of entries returned.
62
+ *
47
63
  * @example
48
64
  * 94
49
65
  */
@@ -842,6 +842,7 @@ export class ModifyCenterPolicyRequest extends $dara.Model {
842
842
  */
843
843
  cameraRedirect?: string;
844
844
  clientControlMenu?: string;
845
+ clientCreateSnapshot?: string;
845
846
  /**
846
847
  * @remarks
847
848
  * The types of Alibaba Cloud Workspace clients that end users can use to connect to cloud computers.
@@ -1818,6 +1819,7 @@ export class ModifyCenterPolicyRequest extends $dara.Model {
1818
1819
  * off
1819
1820
  */
1820
1821
  watermarkSecurity?: string;
1822
+ watermarkShadow?: string;
1821
1823
  /**
1822
1824
  * @remarks
1823
1825
  * The watermark opacity. A higher value makes the watermark more opaque. Valid values: 10 to 100.
@@ -1883,6 +1885,7 @@ export class ModifyCenterPolicyRequest extends $dara.Model {
1883
1885
  businessType: 'BusinessType',
1884
1886
  cameraRedirect: 'CameraRedirect',
1885
1887
  clientControlMenu: 'ClientControlMenu',
1888
+ clientCreateSnapshot: 'ClientCreateSnapshot',
1886
1889
  clientType: 'ClientType',
1887
1890
  clipboard: 'Clipboard',
1888
1891
  clipboardGraineds: 'ClipboardGraineds',
@@ -1991,6 +1994,7 @@ export class ModifyCenterPolicyRequest extends $dara.Model {
1991
1994
  watermarkPower: 'WatermarkPower',
1992
1995
  watermarkRowAmount: 'WatermarkRowAmount',
1993
1996
  watermarkSecurity: 'WatermarkSecurity',
1997
+ watermarkShadow: 'WatermarkShadow',
1994
1998
  watermarkTransparencyValue: 'WatermarkTransparencyValue',
1995
1999
  watermarkType: 'WatermarkType',
1996
2000
  wuyingKeeper: 'WuyingKeeper',
@@ -2008,6 +2012,7 @@ export class ModifyCenterPolicyRequest extends $dara.Model {
2008
2012
  businessType: 'number',
2009
2013
  cameraRedirect: 'string',
2010
2014
  clientControlMenu: 'string',
2015
+ clientCreateSnapshot: 'string',
2011
2016
  clientType: { 'type': 'array', 'itemType': ModifyCenterPolicyRequestClientType },
2012
2017
  clipboard: 'string',
2013
2018
  clipboardGraineds: { 'type': 'array', 'itemType': ModifyCenterPolicyRequestClipboardGraineds },
@@ -2116,6 +2121,7 @@ export class ModifyCenterPolicyRequest extends $dara.Model {
2116
2121
  watermarkPower: 'string',
2117
2122
  watermarkRowAmount: 'number',
2118
2123
  watermarkSecurity: 'string',
2124
+ watermarkShadow: 'string',
2119
2125
  watermarkTransparencyValue: 'number',
2120
2126
  watermarkType: 'string',
2121
2127
  wuyingKeeper: 'string',
@@ -5,6 +5,8 @@ export { AddFilePermissionRequestMemberListCdsIdentity } from './AddFilePermissi
5
5
  export { AddFilePermissionRequestMemberList } from './AddFilePermissionRequest';
6
6
  export { ApplyCoordinationForMonitoringRequestResourceCandidates } from './ApplyCoordinationForMonitoringRequest';
7
7
  export { ApplyCoordinationForMonitoringResponseBodyCoordinateFlowModels } from './ApplyCoordinationForMonitoringResponseBody';
8
+ export { BatchModifyEntitlementResponseBodyEntitlementsAssignModels } from './BatchModifyEntitlementResponseBody';
9
+ export { BatchModifyEntitlementResponseBodyEntitlements } from './BatchModifyEntitlementResponseBody';
8
10
  export { BindConfigGroupRequestResourceInfos } from './BindConfigGroupRequest';
9
11
  export { CopyCdsFileResponseBodyCopyCdsFileModel } from './CopyCdsFileResponseBody';
10
12
  export { CreateADConnectorDirectoryResponseBodyAdConnectors } from './CreateAdconnectorDirectoryResponseBody';
@@ -319,6 +321,9 @@ export { AttachCenResponse } from './AttachCenResponse';
319
321
  export { AttachEndUserRequest } from './AttachEndUserRequest';
320
322
  export { AttachEndUserResponseBody } from './AttachEndUserResponseBody';
321
323
  export { AttachEndUserResponse } from './AttachEndUserResponse';
324
+ export { BatchModifyEntitlementRequest } from './BatchModifyEntitlementRequest';
325
+ export { BatchModifyEntitlementResponseBody } from './BatchModifyEntitlementResponseBody';
326
+ export { BatchModifyEntitlementResponse } from './BatchModifyEntitlementResponse';
322
327
  export { BindConfigGroupRequest } from './BindConfigGroupRequest';
323
328
  export { BindConfigGroupResponseBody } from './BindConfigGroupResponseBody';
324
329
  export { BindConfigGroupResponse } from './BindConfigGroupResponse';