@alicloud/ecd20200930 4.16.2 → 4.17.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.
Files changed (56) hide show
  1. package/dist/client.d.ts +48 -0
  2. package/dist/client.js +138 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchModifyEntitlementRequest.d.ts +24 -0
  5. package/dist/models/BatchModifyEntitlementRequest.js.map +1 -1
  6. package/dist/models/BatchModifyEntitlementResponseBody.d.ts +35 -0
  7. package/dist/models/BatchModifyEntitlementResponseBody.js.map +1 -1
  8. package/dist/models/CreateCenterPolicyRequest.d.ts +1 -0
  9. package/dist/models/CreateCenterPolicyRequest.js +2 -0
  10. package/dist/models/CreateCenterPolicyRequest.js.map +1 -1
  11. package/dist/models/DescribeGlobalTimerBatchesRequest.d.ts +43 -0
  12. package/dist/models/DescribeGlobalTimerBatchesRequest.js +68 -0
  13. package/dist/models/DescribeGlobalTimerBatchesRequest.js.map +1 -0
  14. package/dist/models/DescribeGlobalTimerBatchesResponse.d.ts +19 -0
  15. package/dist/models/DescribeGlobalTimerBatchesResponse.js +69 -0
  16. package/dist/models/DescribeGlobalTimerBatchesResponse.js.map +1 -0
  17. package/dist/models/DescribeGlobalTimerBatchesResponseBody.d.ts +79 -0
  18. package/dist/models/DescribeGlobalTimerBatchesResponseBody.js +98 -0
  19. package/dist/models/DescribeGlobalTimerBatchesResponseBody.js.map +1 -0
  20. package/dist/models/DescribeGlobalTimerRecordsRequest.d.ts +107 -0
  21. package/dist/models/DescribeGlobalTimerRecordsRequest.js +82 -0
  22. package/dist/models/DescribeGlobalTimerRecordsRequest.js.map +1 -0
  23. package/dist/models/DescribeGlobalTimerRecordsResponse.d.ts +19 -0
  24. package/dist/models/DescribeGlobalTimerRecordsResponse.js +69 -0
  25. package/dist/models/DescribeGlobalTimerRecordsResponse.js.map +1 -0
  26. package/dist/models/DescribeGlobalTimerRecordsResponseBody.d.ts +128 -0
  27. package/dist/models/DescribeGlobalTimerRecordsResponseBody.js +106 -0
  28. package/dist/models/DescribeGlobalTimerRecordsResponseBody.js.map +1 -0
  29. package/dist/models/DescribeOfficeSitesRequest.d.ts +7 -0
  30. package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
  31. package/dist/models/ModifyCenterPolicyRequest.d.ts +1 -0
  32. package/dist/models/ModifyCenterPolicyRequest.js +2 -0
  33. package/dist/models/ModifyCenterPolicyRequest.js.map +1 -1
  34. package/dist/models/ModifyTemplateRequest.d.ts +97 -3
  35. package/dist/models/ModifyTemplateRequest.js.map +1 -1
  36. package/dist/models/ModifyTemplateResponseBody.d.ts +15 -0
  37. package/dist/models/ModifyTemplateResponseBody.js.map +1 -1
  38. package/dist/models/model.d.ts +8 -0
  39. package/dist/models/model.js +36 -20
  40. package/dist/models/model.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/client.ts +158 -0
  43. package/src/models/BatchModifyEntitlementRequest.ts +24 -0
  44. package/src/models/BatchModifyEntitlementResponseBody.ts +35 -0
  45. package/src/models/CreateCenterPolicyRequest.ts +3 -0
  46. package/src/models/DescribeGlobalTimerBatchesRequest.ts +66 -0
  47. package/src/models/DescribeGlobalTimerBatchesResponse.ts +40 -0
  48. package/src/models/DescribeGlobalTimerBatchesResponseBody.ts +123 -0
  49. package/src/models/DescribeGlobalTimerRecordsRequest.ts +144 -0
  50. package/src/models/DescribeGlobalTimerRecordsResponse.ts +40 -0
  51. package/src/models/DescribeGlobalTimerRecordsResponseBody.ts +180 -0
  52. package/src/models/DescribeOfficeSitesRequest.ts +7 -0
  53. package/src/models/ModifyCenterPolicyRequest.ts +3 -0
  54. package/src/models/ModifyTemplateRequest.ts +97 -3
  55. package/src/models/ModifyTemplateResponseBody.ts +15 -0
  56. package/src/models/model.ts +8 -0
@@ -6,9 +6,7 @@ export class ModifyTemplateRequestDataDiskList extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * The PL of the data disk. Default value: `AutoPL`.
9
- *
10
9
  * Valid values:
11
- *
12
10
  * * PL1: a PL1 ESSD
13
11
  * * PL0: a PL0 ESSD
14
12
  * * AutoPL: an AutoPL ESSD
@@ -16,7 +14,7 @@ export class ModifyTemplateRequestDataDiskList extends $dara.Model {
16
14
  performanceLevel?: string;
17
15
  /**
18
16
  * @remarks
19
- * The size of the data disk. Unit: GiB. Valid range: 40 to 2040 GiB with an increment of 10 GiB.
17
+ * The size of the data disk. Unit: GiB.Valid range: 40 to 2040 GiB with an increment of 10 GiB.
20
18
  *
21
19
  * @example
22
20
  * 40
@@ -47,36 +45,62 @@ export class ModifyTemplateRequestDataDiskList extends $dara.Model {
47
45
 
48
46
  export class ModifyTemplateRequestRegionConfigList extends $dara.Model {
49
47
  /**
48
+ * @remarks
49
+ * The office network ID.
50
+ *
50
51
  * @example
51
52
  * cn-hangzhou+dir-709****
52
53
  */
53
54
  officeSiteId?: string;
54
55
  /**
56
+ * @remarks
57
+ * The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.
58
+ *
55
59
  * @example
56
60
  * cn-beijing
57
61
  */
58
62
  regionId?: string;
59
63
  /**
64
+ * @remarks
65
+ * The ID of the cloud computer type.
66
+ *
60
67
  * @example
61
68
  * eds.enterprise_office.8c16g
62
69
  */
63
70
  resourceInstanceType?: string;
64
71
  /**
72
+ * @remarks
73
+ * The ID of the automatic snapshot policy.
74
+ *
65
75
  * @example
66
76
  * sp-35fvn8m2*****
67
77
  */
68
78
  snapshotPolicyId?: string;
69
79
  /**
80
+ * @remarks
81
+ * The subnet ID.
82
+ *
70
83
  * @example
71
84
  * vsw-adjrehad1****
72
85
  */
73
86
  subnetId?: string;
74
87
  /**
88
+ * @remarks
89
+ * Specifies whether to enable disk encryption.
90
+ *
91
+ * Valid values:
92
+ *
93
+ * * false (default): disables disk encryption.
94
+ * * true: enables disk encryption.
95
+ *
75
96
  * @example
76
97
  * false
77
98
  */
78
99
  volumeEncryptionEnable?: boolean;
79
100
  /**
101
+ * @remarks
102
+ * The ID of the Key Management Service (KMS) key that you want to use to encrypt disks.
103
+ *
80
104
  * @example
81
105
  * a7b3c0c8-b3a2-4876-b1cc-116dddc9****
82
106
  */
@@ -116,11 +140,17 @@ export class ModifyTemplateRequestRegionConfigList extends $dara.Model {
116
140
 
117
141
  export class ModifyTemplateRequestResourceTagList extends $dara.Model {
118
142
  /**
143
+ * @remarks
144
+ * The tag key.
145
+ *
119
146
  * @example
120
147
  * department
121
148
  */
122
149
  key?: string;
123
150
  /**
151
+ * @remarks
152
+ * The tag value.
153
+ *
124
154
  * @example
125
155
  * design
126
156
  */
@@ -180,16 +210,35 @@ export class ModifyTemplateRequest extends $dara.Model {
180
210
  chargeType?: string;
181
211
  dataDiskList?: ModifyTemplateRequestDataDiskList[];
182
212
  /**
213
+ * @remarks
214
+ * The default language of the cloud computer during startup. This parameter takes effect only when the cloud computer is created from a system image.
215
+ *
216
+ * Valid values:
217
+ *
218
+ * * en-US: English.
219
+ * * zh-HK: Chinese, Traditional (Hong Kong, China).
220
+ * * zh-CN: Simplified Chinese.
221
+ * * ja-JP: Japanese.
222
+ *
183
223
  * @example
184
224
  * zh-CN
185
225
  */
186
226
  defaultLanguage?: string;
187
227
  /**
228
+ * @remarks
229
+ * The template description. It must meet the following criteria:
230
+ *
231
+ * * It can be 2 to 256 characters in length and cannot start with `http://` or `https://`.
232
+ * * It can contain letters, digits, and special characters, including spaces. Note: You can use carriage returns to break lines.
233
+ *
188
234
  * @example
189
235
  * testDescription
190
236
  */
191
237
  description?: string;
192
238
  /**
239
+ * @remarks
240
+ * The ID of the cloud computer image. You can query image IDs on the Images page. System images and custom images are supported.
241
+ *
193
242
  * @example
194
243
  * m-gx2x1dhsmusr2****
195
244
  */
@@ -197,39 +246,84 @@ export class ModifyTemplateRequest extends $dara.Model {
197
246
  period?: number;
198
247
  periodUnit?: string;
199
248
  /**
249
+ * @remarks
250
+ * The ID of the policy group.
251
+ *
200
252
  * @example
201
253
  * pg-gx2x1dhsmthe9****
202
254
  */
203
255
  policyGroupId?: string;
204
256
  postPaidAfterUsedUp?: boolean;
257
+ /**
258
+ * @remarks
259
+ * The regions by which you can search for cloud computer templates. When this parameter takes effect, cloud computer templates are matched based on the specified regions.
260
+ *
261
+ * > You can specify up to 20 regions.
262
+ */
205
263
  regionConfigList?: ModifyTemplateRequestRegionConfigList[];
206
264
  /**
265
+ * @remarks
266
+ * The ID of the resource group.
267
+ *
207
268
  * @example
208
269
  * rg-a5fqjjqaejt***
209
270
  */
210
271
  resourceGroupId?: string;
272
+ /**
273
+ * @remarks
274
+ * The tags added to cloud computers. Specify tags in key-value pairs. You can specify up to 20 tags.
275
+ */
211
276
  resourceTagList?: ModifyTemplateRequestResourceTagList[];
212
277
  siteConfigList?: ModifyTemplateRequestSiteConfigList[];
213
278
  /**
279
+ * @remarks
280
+ * The performance level (PL) of the system disk.
281
+ *
282
+ * > Only cloud computers of the Graphics or High Frequency type support Enterprise SSDs (ESSDs).
283
+ *
284
+ * Valid values:
285
+ *
286
+ * * PL1: a PL1 ESSD.
287
+ * * PL0: a PL0 ESSD.
288
+ * * AutoPL: an AutoPL ESSD.
289
+ *
214
290
  * @example
215
291
  * AutoPL
216
292
  */
217
293
  systemDiskPerformanceLevel?: string;
218
294
  /**
295
+ * @remarks
296
+ * The size of the system disk. Unit: GiB. Valid values: 40 to 500. Increments: 10 GiB.
297
+ *
298
+ * > The system disk size must be at least as large as the configured image size.
299
+ *
219
300
  * @example
220
301
  * 80
221
302
  */
222
303
  systemDiskSize?: number;
223
304
  /**
224
305
  * @remarks
306
+ * The template ID.
307
+ *
225
308
  * This parameter is required.
226
309
  *
227
310
  * @example
228
311
  * b-0caoeogs88y*****
229
312
  */
230
313
  templateId?: string;
314
+ /**
315
+ * @remarks
316
+ * The template name. It must meet the following criteria:
317
+ *
318
+ * * It can be 2 to 126 characters in length.
319
+ * * It must begin with a letter and cannot start with `http://` or `https://`.
320
+ * * It can contain letters, digits, colons (:), underscores (_), and hyphens (-). Note: Periods (.) are not supported in the name.
321
+ */
231
322
  templateName?: string;
232
323
  /**
324
+ * @remarks
325
+ * The ID of the scheduled task group.
326
+ *
233
327
  * @example
234
328
  * bcc-dweha*****
235
329
  */
@@ -4,26 +4,41 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ModifyTemplateResponseBody 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 HTTP status code returned.
17
+ *
12
18
  * @example
13
19
  * 200
14
20
  */
15
21
  httpStatusCode?: number;
16
22
  /**
23
+ * @remarks
24
+ * The error message returned. This parameter is not returned if the value of Code is `success`.
25
+ *
17
26
  * @example
18
27
  * success
19
28
  */
20
29
  message?: string;
21
30
  /**
31
+ * @remarks
32
+ * The request ID.
33
+ *
22
34
  * @example
23
35
  * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
24
36
  */
25
37
  requestId?: string;
26
38
  /**
39
+ * @remarks
40
+ * Indicates whether the operation is successful. Valid values: true false
41
+ *
27
42
  * @example
28
43
  * true
29
44
  */
@@ -121,6 +121,8 @@ export { DescribeFotaTasksResponseBodyFotaTasks } from './DescribeFotaTasksRespo
121
121
  export { DescribeGlobalDesktopRecordsResponseBodySessionsResourceGroups } from './DescribeGlobalDesktopRecordsResponseBody';
122
122
  export { DescribeGlobalDesktopRecordsResponseBodySessionsSessions } from './DescribeGlobalDesktopRecordsResponseBody';
123
123
  export { DescribeGlobalDesktopRecordsResponseBodySessions } from './DescribeGlobalDesktopRecordsResponseBody';
124
+ export { DescribeGlobalTimerBatchesResponseBodyResults } from './DescribeGlobalTimerBatchesResponseBody';
125
+ export { DescribeGlobalTimerRecordsResponseBodyResults } from './DescribeGlobalTimerRecordsResponseBody';
124
126
  export { DescribeGuestApplicationsResponseBodyApplicationsProcessData } from './DescribeGuestApplicationsResponseBody';
125
127
  export { DescribeGuestApplicationsResponseBodyApplications } from './DescribeGuestApplicationsResponseBody';
126
128
  export { DescribeImageModifiedRecordsResponseBodyImageModifiedRecords } from './DescribeImageModifiedRecordsResponseBody';
@@ -643,6 +645,12 @@ export { DescribeFotaTasksResponse } from './DescribeFotaTasksResponse';
643
645
  export { DescribeGlobalDesktopRecordsRequest } from './DescribeGlobalDesktopRecordsRequest';
644
646
  export { DescribeGlobalDesktopRecordsResponseBody } from './DescribeGlobalDesktopRecordsResponseBody';
645
647
  export { DescribeGlobalDesktopRecordsResponse } from './DescribeGlobalDesktopRecordsResponse';
648
+ export { DescribeGlobalTimerBatchesRequest } from './DescribeGlobalTimerBatchesRequest';
649
+ export { DescribeGlobalTimerBatchesResponseBody } from './DescribeGlobalTimerBatchesResponseBody';
650
+ export { DescribeGlobalTimerBatchesResponse } from './DescribeGlobalTimerBatchesResponse';
651
+ export { DescribeGlobalTimerRecordsRequest } from './DescribeGlobalTimerRecordsRequest';
652
+ export { DescribeGlobalTimerRecordsResponseBody } from './DescribeGlobalTimerRecordsResponseBody';
653
+ export { DescribeGlobalTimerRecordsResponse } from './DescribeGlobalTimerRecordsResponse';
646
654
  export { DescribeGuestApplicationsRequest } from './DescribeGuestApplicationsRequest';
647
655
  export { DescribeGuestApplicationsResponseBody } from './DescribeGuestApplicationsResponseBody';
648
656
  export { DescribeGuestApplicationsResponse } from './DescribeGuestApplicationsResponse';