@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,21 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateTemplateRequestDataDiskList extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The PL of the data disk. Default value: `AutoPL`.
9
+ *
7
10
  * @example
8
11
  * AutoPL
9
12
  */
10
13
  performanceLevel?: string;
11
14
  /**
15
+ * @remarks
16
+ * The size of the data disk. Unit: GiB. Valid values: 40 to 2040. Increments: 10 GiB.
17
+ *
18
+ * **
19
+ *
20
+ * **Keep in mind** that the larger the ESSD disk capacity, the higher the available PL (for example, PL2 is available for disks larger than 460 GiB). A higher PL comes with a higher cost. Select an ESSD based on your specific needs.
21
+ *
12
22
  * @example
13
23
  * 40
14
24
  */
@@ -38,36 +48,62 @@ export class CreateTemplateRequestDataDiskList extends $dara.Model {
38
48
 
39
49
  export class CreateTemplateRequestRegionConfigList extends $dara.Model {
40
50
  /**
51
+ * @remarks
52
+ * The office network ID.
53
+ *
41
54
  * @example
42
55
  * cn-hangzhou+dir-709******
43
56
  */
44
57
  officeSiteId?: string;
45
58
  /**
59
+ * @remarks
60
+ * The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.
61
+ *
46
62
  * @example
47
63
  * cn-hangzhou
48
64
  */
49
65
  regionId?: string;
50
66
  /**
67
+ * @remarks
68
+ * The ID of the cloud computer type.
69
+ *
51
70
  * @example
52
71
  * eds.enterprise_office.8c16g
53
72
  */
54
73
  resourceInstanceType?: string;
55
74
  /**
75
+ * @remarks
76
+ * The ID of the automatic snapshot policy.
77
+ *
56
78
  * @example
57
79
  * sp-35fvn8m21pnx2****
58
80
  */
59
81
  snapshotPolicyId?: string;
60
82
  /**
83
+ * @remarks
84
+ * The subnet ID.
85
+ *
61
86
  * @example
62
87
  * vsw-bp1yiu**********
63
88
  */
64
89
  subnetId?: string;
65
90
  /**
91
+ * @remarks
92
+ * Specifies whether to enable disk encryption.
93
+ *
94
+ * Valid values:
95
+ *
96
+ * * false (default): disables disk encryption.
97
+ * * true: enables disk encryption.
98
+ *
66
99
  * @example
67
100
  * false
68
101
  */
69
102
  volumeEncryptionEnable?: boolean;
70
103
  /**
104
+ * @remarks
105
+ * The ID of the Key Management Service (KMS) key that you want to use to encrypt disks. You can call the [ListKeys](https://help.aliyun.com/document_detail/28951.html) operation to query KMS keys.
106
+ *
71
107
  * @example
72
108
  * a7b3c0c8-b3a2-4876-b1cc-*********
73
109
  */
@@ -107,11 +143,17 @@ export class CreateTemplateRequestRegionConfigList extends $dara.Model {
107
143
 
108
144
  export class CreateTemplateRequestResourceTagList extends $dara.Model {
109
145
  /**
146
+ * @remarks
147
+ * The tag key.
148
+ *
110
149
  * @example
111
150
  * department
112
151
  */
113
152
  key?: string;
114
153
  /**
154
+ * @remarks
155
+ * The tag value.
156
+ *
115
157
  * @example
116
158
  * design
117
159
  */
@@ -141,11 +183,17 @@ export class CreateTemplateRequestResourceTagList extends $dara.Model {
141
183
 
142
184
  export class CreateTemplateRequestSiteConfigList extends $dara.Model {
143
185
  /**
186
+ * @remarks
187
+ * 应用管控策略ID
188
+ *
144
189
  * @example
145
190
  * bwr-5a5371e0db954d********
146
191
  */
147
192
  appRuleId?: string;
148
193
  /**
194
+ * @remarks
195
+ * 站点ID。
196
+ *
149
197
  * @example
150
198
  * mainland
151
199
  */
@@ -177,19 +225,43 @@ export class CreateTemplateRequest extends $dara.Model {
177
225
  autoPay?: boolean;
178
226
  autoRenew?: boolean;
179
227
  /**
228
+ * @remarks
229
+ * > This parameter is not publicly available.
230
+ *
231
+ * Valid values:
232
+ *
233
+ * * 1: the Enterprise edition.
234
+ *
180
235
  * @example
181
236
  * 1
182
237
  */
183
238
  bizType?: string;
184
239
  chargeType?: string;
240
+ /**
241
+ * @remarks
242
+ * The data disks.
243
+ */
185
244
  dataDiskList?: CreateTemplateRequestDataDiskList[];
186
245
  /**
246
+ * @remarks
247
+ * The default language of cloud computers during startup. This parameter takes effect only when cloud computers are created from system images.
248
+ *
187
249
  * @example
188
250
  * zh-CN
189
251
  */
190
252
  defaultLanguage?: string;
253
+ /**
254
+ * @remarks
255
+ * The template description. It must meet the following criteria:
256
+ *
257
+ * * It can be 2 to 256 characters in length and cannot start with `http://` or `https://`.
258
+ * * It can contain letters, digits, and special characters, including spaces. Note: You can use carriage returns to break lines.
259
+ */
191
260
  description?: string;
192
261
  /**
262
+ * @remarks
263
+ * The ID of the cloud computer image. You can query image IDs on the Images page. System images and custom images are supported.
264
+ *
193
265
  * @example
194
266
  * desktopimage-windows-server-2022-64-asp
195
267
  */
@@ -197,40 +269,90 @@ export class CreateTemplateRequest extends $dara.Model {
197
269
  period?: number;
198
270
  periodUnit?: string;
199
271
  /**
272
+ * @remarks
273
+ * The ID of the policy group.
274
+ *
200
275
  * @example
201
276
  * pg-8hlryfn331******
202
277
  */
203
278
  policyGroupId?: string;
204
279
  postPaidAfterUsedUp?: boolean;
205
280
  /**
281
+ * @remarks
282
+ * The service type. Set the value to `CloudDesktop`.
283
+ *
284
+ * *
285
+ *
206
286
  * @example
207
287
  * CloudDesktop
208
288
  */
209
289
  productType?: string;
290
+ /**
291
+ * @remarks
292
+ * The regions of the template. You can create cloud computers by using a template only within the same region as the template itself.
293
+ *
294
+ * > You can specify up to 20 regions.
295
+ */
210
296
  regionConfigList?: CreateTemplateRequestRegionConfigList[];
211
297
  /**
298
+ * @remarks
299
+ * The ID of the resource group.
300
+ *
212
301
  * @example
213
302
  * rg-4knxmfneq1e******
214
303
  */
215
304
  resourceGroupId?: string;
305
+ /**
306
+ * @remarks
307
+ * The tags added to cloud computers. Specify tags in key-value pairs. You can specify up to 20 tags.
308
+ */
216
309
  resourceTagList?: CreateTemplateRequestResourceTagList[];
310
+ /**
311
+ * @remarks
312
+ * 区域配置管理
313
+ */
217
314
  siteConfigList?: CreateTemplateRequestSiteConfigList[];
218
315
  /**
316
+ * @remarks
317
+ * The performance level (PL) of the system disk.
318
+ *
319
+ * > Only cloud computers of the Graphics or High Frequency type support Enterprise SSDs (ESSDs).
320
+ *
321
+ * Valid values:
322
+ *
323
+ * * PL1: a PL1 ESSD.
324
+ * * PL0: a PL0 ESSD.
325
+ * * AutoPL: an AutoPL ESSD.
326
+ *
219
327
  * @example
220
328
  * AutoPL
221
329
  */
222
330
  systemDiskPerformanceLevel?: string;
223
331
  /**
332
+ * @remarks
333
+ * The size of the system disk. Unit: GiB. Valid values: 40 to 500. Increments: 10 GiB.
334
+ *
335
+ * > The system disk size must be at least as large as the configured image size.
336
+ *
224
337
  * @example
225
338
  * 80
226
339
  */
227
340
  systemDiskSize?: number;
228
341
  /**
229
342
  * @remarks
343
+ * The template name. It must meet the following criteria:
344
+ *
345
+ * * It can be 2 to 126 characters in length.
346
+ * * It must begin with a letter and cannot start with `http://` or `https://`.
347
+ * * It can contain letters, digits, colons (:), underscores (_), and hyphens (-). Note: Periods (.) are not supported in the name.
348
+ *
230
349
  * This parameter is required.
231
350
  */
232
351
  templateName?: string;
233
352
  /**
353
+ * @remarks
354
+ * The ID of the scheduled task group.
355
+ *
234
356
  * @example
235
357
  * ccg-0caoeogrk9m5****
236
358
  */
@@ -4,31 +4,49 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateTemplateResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The execution result of the operation. If the request was successful, `success` is returned. If the request failed, an error message is returned.
9
+ *
7
10
  * @example
8
11
  * success
9
12
  */
10
13
  code?: string;
11
14
  /**
15
+ * @remarks
16
+ * The template ID.
17
+ *
12
18
  * @example
13
19
  * b-0cc7rx533*****
14
20
  */
15
21
  data?: string;
16
22
  /**
23
+ * @remarks
24
+ * The HTTP status code returned.
25
+ *
17
26
  * @example
18
27
  * 200
19
28
  */
20
29
  httpStatusCode?: number;
21
30
  /**
31
+ * @remarks
32
+ * The creation result.
33
+ *
22
34
  * @example
23
35
  * success
24
36
  */
25
37
  message?: string;
26
38
  /**
39
+ * @remarks
40
+ * The request ID.
41
+ *
27
42
  * @example
28
43
  * 791CC0D3-1A38-573B-8F5F-********
29
44
  */
30
45
  requestId?: string;
31
46
  /**
47
+ * @remarks
48
+ * Indicates whether the request was successful.
49
+ *
32
50
  * @example
33
51
  * True
34
52
  */
@@ -192,6 +192,11 @@ export class DescribeGlobalDesktopRecordsResponseBodySessions extends $dara.Mode
192
192
  * TestOfficeSite
193
193
  */
194
194
  officeSiteName?: string;
195
+ /**
196
+ * @example
197
+ * Simple
198
+ */
199
+ officeSiteType?: string;
195
200
  /**
196
201
  * @remarks
197
202
  * The OS type. Valid values:
@@ -300,6 +305,7 @@ export class DescribeGlobalDesktopRecordsResponseBodySessions extends $dara.Mode
300
305
  memory: 'Memory',
301
306
  officeSiteId: 'OfficeSiteId',
302
307
  officeSiteName: 'OfficeSiteName',
308
+ officeSiteType: 'OfficeSiteType',
303
309
  osType: 'OsType',
304
310
  platform: 'Platform',
305
311
  protocolType: 'ProtocolType',
@@ -330,6 +336,7 @@ export class DescribeGlobalDesktopRecordsResponseBodySessions extends $dara.Mode
330
336
  memory: 'number',
331
337
  officeSiteId: 'string',
332
338
  officeSiteName: 'string',
339
+ officeSiteType: 'string',
333
340
  osType: 'string',
334
341
  platform: 'string',
335
342
  protocolType: 'string',
@@ -661,6 +661,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
661
661
  */
662
662
  cameraRedirect?: string;
663
663
  clientControlMenu?: string;
664
+ clientCreateSnapshot?: string;
664
665
  /**
665
666
  * @remarks
666
667
  * The logon method control rules to limit the type of the Alibaba Cloud Workspace client used by end users to connect to cloud computers.
@@ -1618,6 +1619,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
1618
1619
  * on
1619
1620
  */
1620
1621
  watermarkSecurity?: string;
1622
+ watermarkShadow?: string;
1621
1623
  /**
1622
1624
  * @remarks
1623
1625
  * The watermark transparency.
@@ -1682,6 +1684,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
1682
1684
  autoReconnect: 'AutoReconnect',
1683
1685
  cameraRedirect: 'CameraRedirect',
1684
1686
  clientControlMenu: 'ClientControlMenu',
1687
+ clientCreateSnapshot: 'ClientCreateSnapshot',
1685
1688
  clientTypes: 'ClientTypes',
1686
1689
  clipboard: 'Clipboard',
1687
1690
  colorEnhancement: 'ColorEnhancement',
@@ -1789,6 +1792,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
1789
1792
  watermarkPower: 'WatermarkPower',
1790
1793
  watermarkRowAmount: 'WatermarkRowAmount',
1791
1794
  watermarkSecurity: 'WatermarkSecurity',
1795
+ watermarkShadow: 'WatermarkShadow',
1792
1796
  watermarkTransparency: 'WatermarkTransparency',
1793
1797
  watermarkTransparencyValue: 'WatermarkTransparencyValue',
1794
1798
  watermarkType: 'WatermarkType',
@@ -1806,6 +1810,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
1806
1810
  autoReconnect: 'string',
1807
1811
  cameraRedirect: 'string',
1808
1812
  clientControlMenu: 'string',
1813
+ clientCreateSnapshot: 'string',
1809
1814
  clientTypes: { 'type': 'array', 'itemType': DescribePolicyGroupsResponseBodyDescribePolicyGroupsClientTypes },
1810
1815
  clipboard: 'string',
1811
1816
  colorEnhancement: 'string',
@@ -1913,6 +1918,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
1913
1918
  watermarkPower: 'string',
1914
1919
  watermarkRowAmount: 'number',
1915
1920
  watermarkSecurity: 'string',
1921
+ watermarkShadow: 'string',
1916
1922
  watermarkTransparency: 'string',
1917
1923
  watermarkTransparencyValue: 'number',
1918
1924
  watermarkType: 'string',
@@ -4,43 +4,84 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeTemplatesRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The region that you can use to filter templates.
9
+ *
10
+ * > If you specify this parameter, only templates that are created in the specified region are returned.
11
+ *
7
12
  * @example
8
13
  * cn-beijing
9
14
  */
10
15
  bizRegionId?: string;
11
16
  /**
17
+ * @remarks
18
+ * > This parameter is not publicly available.
19
+ *
12
20
  * @example
13
21
  * null
14
22
  */
15
23
  bizType?: string;
16
24
  /**
25
+ * @remarks
26
+ * The ID of the cloud computer image. You can query image IDs on the Images page. System images and custom images are supported.
27
+ *
17
28
  * @example
18
29
  * m-dnz9xjgbm8*****
19
30
  */
20
31
  imageId?: string;
21
32
  /**
33
+ * @remarks
34
+ * The keyword that you can use to search for the template. It can be the template ID or the template name. Fuzzy search is supported.
35
+ *
22
36
  * @example
23
37
  * abc
24
38
  */
25
39
  keyword?: string;
26
40
  /**
41
+ * @remarks
42
+ * The page number.
43
+ *
27
44
  * @example
28
45
  * 1
29
46
  */
30
47
  pageNumber?: number;
31
48
  /**
49
+ * @remarks
50
+ * The number of entries per page.
51
+ *
32
52
  * @example
33
53
  * 20
34
54
  */
35
55
  pageSize?: number;
36
56
  /**
57
+ * @remarks
58
+ * The service type. Set the value to `CloudDesktop`.
59
+ *
60
+ * *
61
+ *
37
62
  * @example
38
63
  * CloudDesktop
39
64
  */
40
65
  productType?: string;
66
+ /**
67
+ * @remarks
68
+ * The IDs of the templates that you want to query.
69
+ */
41
70
  templateIds?: string[];
71
+ /**
72
+ * @remarks
73
+ * The name of the template. You can search for template by name.
74
+ */
42
75
  templateName?: string;
43
76
  /**
77
+ * @remarks
78
+ * The type of the template that you want to query. If you leave this parameter empty, all types of templates are queried.
79
+ *
80
+ * Valid values:
81
+ *
82
+ * * USER_TEMPLATE: custom templates.
83
+ * * SYSTEM_TEMPLATE: system templates provided by Alibaba Cloud.
84
+ *
44
85
  * @example
45
86
  * USER_TEMPLATE
46
87
  */