@alicloud/ecd20200930 4.16.3 → 4.18.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 (60) hide show
  1. package/dist/client.d.ts +63 -0
  2. package/dist/client.js +210 -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/DescribeGlobalTimerBatchesRequest.d.ts +43 -0
  9. package/dist/models/DescribeGlobalTimerBatchesRequest.js +68 -0
  10. package/dist/models/DescribeGlobalTimerBatchesRequest.js.map +1 -0
  11. package/dist/models/DescribeGlobalTimerBatchesResponse.d.ts +19 -0
  12. package/dist/models/DescribeGlobalTimerBatchesResponse.js +69 -0
  13. package/dist/models/DescribeGlobalTimerBatchesResponse.js.map +1 -0
  14. package/dist/models/DescribeGlobalTimerBatchesResponseBody.d.ts +79 -0
  15. package/dist/models/DescribeGlobalTimerBatchesResponseBody.js +98 -0
  16. package/dist/models/DescribeGlobalTimerBatchesResponseBody.js.map +1 -0
  17. package/dist/models/DescribeGlobalTimerRecordsRequest.d.ts +107 -0
  18. package/dist/models/DescribeGlobalTimerRecordsRequest.js +82 -0
  19. package/dist/models/DescribeGlobalTimerRecordsRequest.js.map +1 -0
  20. package/dist/models/DescribeGlobalTimerRecordsResponse.d.ts +19 -0
  21. package/dist/models/DescribeGlobalTimerRecordsResponse.js +69 -0
  22. package/dist/models/DescribeGlobalTimerRecordsResponse.js.map +1 -0
  23. package/dist/models/DescribeGlobalTimerRecordsResponseBody.d.ts +128 -0
  24. package/dist/models/DescribeGlobalTimerRecordsResponseBody.js +106 -0
  25. package/dist/models/DescribeGlobalTimerRecordsResponseBody.js.map +1 -0
  26. package/dist/models/DescribeOfficeSitesRequest.d.ts +7 -0
  27. package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
  28. package/dist/models/DescribeRecordFileRequest.d.ts +76 -0
  29. package/dist/models/DescribeRecordFileRequest.js +80 -0
  30. package/dist/models/DescribeRecordFileRequest.js.map +1 -0
  31. package/dist/models/DescribeRecordFileResponse.d.ts +19 -0
  32. package/dist/models/DescribeRecordFileResponse.js +69 -0
  33. package/dist/models/DescribeRecordFileResponse.js.map +1 -0
  34. package/dist/models/DescribeRecordFileResponseBody.d.ts +137 -0
  35. package/dist/models/DescribeRecordFileResponseBody.js +138 -0
  36. package/dist/models/DescribeRecordFileResponseBody.js.map +1 -0
  37. package/dist/models/ModifyTemplateRequest.d.ts +97 -3
  38. package/dist/models/ModifyTemplateRequest.js.map +1 -1
  39. package/dist/models/ModifyTemplateResponseBody.d.ts +15 -0
  40. package/dist/models/ModifyTemplateResponseBody.js.map +1 -1
  41. package/dist/models/model.d.ts +13 -0
  42. package/dist/models/model.js +47 -20
  43. package/dist/models/model.js.map +1 -1
  44. package/package.json +1 -1
  45. package/src/client.ts +244 -0
  46. package/src/models/BatchModifyEntitlementRequest.ts +24 -0
  47. package/src/models/BatchModifyEntitlementResponseBody.ts +35 -0
  48. package/src/models/DescribeGlobalTimerBatchesRequest.ts +66 -0
  49. package/src/models/DescribeGlobalTimerBatchesResponse.ts +40 -0
  50. package/src/models/DescribeGlobalTimerBatchesResponseBody.ts +123 -0
  51. package/src/models/DescribeGlobalTimerRecordsRequest.ts +144 -0
  52. package/src/models/DescribeGlobalTimerRecordsResponse.ts +40 -0
  53. package/src/models/DescribeGlobalTimerRecordsResponseBody.ts +180 -0
  54. package/src/models/DescribeOfficeSitesRequest.ts +7 -0
  55. package/src/models/DescribeRecordFileRequest.ts +111 -0
  56. package/src/models/DescribeRecordFileResponse.ts +40 -0
  57. package/src/models/DescribeRecordFileResponseBody.ts +212 -0
  58. package/src/models/ModifyTemplateRequest.ts +97 -3
  59. package/src/models/ModifyTemplateResponseBody.ts +15 -0
  60. package/src/models/model.ts +13 -0
@@ -0,0 +1,144 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeGlobalTimerRecordsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the batch in which the scheduled task is executed.
9
+ *
10
+ * @example
11
+ * ccg-****
12
+ */
13
+ batchId?: string;
14
+ /**
15
+ * @remarks
16
+ * The cloud computer IDs.
17
+ */
18
+ desktopIds?: string[];
19
+ /**
20
+ * @remarks
21
+ * The ID of the scheduled task group.
22
+ *
23
+ * @example
24
+ * ccg-0cvfvf6u1enx1****
25
+ */
26
+ groupId?: string;
27
+ /**
28
+ * @remarks
29
+ * The number of entries per page.
30
+ *
31
+ * Maximum value: 100.
32
+ *
33
+ * Default value: 10.
34
+ *
35
+ * @example
36
+ * 10
37
+ */
38
+ maxResults?: string;
39
+ /**
40
+ * @remarks
41
+ * The pagination token that is used in the next request to retrieve a new page of results.
42
+ *
43
+ * @example
44
+ * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
45
+ */
46
+ nextToken?: string;
47
+ /**
48
+ * @remarks
49
+ * The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.
50
+ *
51
+ * @example
52
+ * cn-shanghai
53
+ */
54
+ regionId?: string;
55
+ /**
56
+ * @remarks
57
+ * The type of the execution result. You can specify this parameter to filter the execution results.
58
+ *
59
+ * Valid values:
60
+ *
61
+ * * FAILED: The execution is successful.
62
+ * * FAILED: The execution failed.
63
+ * * RUNNING: The execution is in progress.
64
+ * * SKIPPED: The execution is skipped.
65
+ *
66
+ * @example
67
+ * SUCCEED
68
+ */
69
+ resultCategory?: string;
70
+ /**
71
+ * @remarks
72
+ * The ID of the searched region. You can specify this parameter to filter cloud computers in specific regions.
73
+ *
74
+ * @example
75
+ * cn-shanghai
76
+ */
77
+ searchRegionId?: string;
78
+ /**
79
+ * @remarks
80
+ * The execution result of the scheduled task.
81
+ *
82
+ * Valid values:
83
+ *
84
+ * * CONNECTED_NOT_RUN: The cloud computer is connected, but the scheduled task is not executed.
85
+ * * PAUSED: The scheduled task is suspended.
86
+ * * COMPLETED: The scheduled task is executed.
87
+ * * FAILED: The scheduled task failed to be executed.
88
+ * * RUNNING: The scheduled task is being executed.
89
+ * * TERMINATED: The scheduled task is stopped.
90
+ *
91
+ * @example
92
+ * RUNNING
93
+ */
94
+ timerResult?: string;
95
+ /**
96
+ * @remarks
97
+ * The scheduled tasks.
98
+ */
99
+ timerTypes?: string[];
100
+ static names(): { [key: string]: string } {
101
+ return {
102
+ batchId: 'BatchId',
103
+ desktopIds: 'DesktopIds',
104
+ groupId: 'GroupId',
105
+ maxResults: 'MaxResults',
106
+ nextToken: 'NextToken',
107
+ regionId: 'RegionId',
108
+ resultCategory: 'ResultCategory',
109
+ searchRegionId: 'SearchRegionId',
110
+ timerResult: 'TimerResult',
111
+ timerTypes: 'TimerTypes',
112
+ };
113
+ }
114
+
115
+ static types(): { [key: string]: any } {
116
+ return {
117
+ batchId: 'string',
118
+ desktopIds: { 'type': 'array', 'itemType': 'string' },
119
+ groupId: 'string',
120
+ maxResults: 'string',
121
+ nextToken: 'string',
122
+ regionId: 'string',
123
+ resultCategory: 'string',
124
+ searchRegionId: 'string',
125
+ timerResult: 'string',
126
+ timerTypes: { 'type': 'array', 'itemType': 'string' },
127
+ };
128
+ }
129
+
130
+ validate() {
131
+ if(Array.isArray(this.desktopIds)) {
132
+ $dara.Model.validateArray(this.desktopIds);
133
+ }
134
+ if(Array.isArray(this.timerTypes)) {
135
+ $dara.Model.validateArray(this.timerTypes);
136
+ }
137
+ super.validate();
138
+ }
139
+
140
+ constructor(map?: { [key: string]: any }) {
141
+ super(map);
142
+ }
143
+ }
144
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeGlobalTimerRecordsResponseBody } from "./DescribeGlobalTimerRecordsResponseBody";
4
+
5
+
6
+ export class DescribeGlobalTimerRecordsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeGlobalTimerRecordsResponseBody;
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: DescribeGlobalTimerRecordsResponseBody,
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,180 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeGlobalTimerRecordsResponseBodyResults extends $dara.Model {
6
+ actionType?: string;
7
+ /**
8
+ * @remarks
9
+ * The ID of the batch in which the scheduled task is executed.
10
+ *
11
+ * @example
12
+ * ccg-0cvfvf6u1enx1****
13
+ */
14
+ batchId?: string;
15
+ context?: string;
16
+ /**
17
+ * @remarks
18
+ * The time when the execution record was created.
19
+ *
20
+ * @example
21
+ * 2023-08-03T08:27:29Z
22
+ */
23
+ createTime?: string;
24
+ /**
25
+ * @remarks
26
+ * The cloud computer ID.
27
+ *
28
+ * @example
29
+ * ecd-0c951fy9arnk9****
30
+ */
31
+ desktopId?: string;
32
+ /**
33
+ * @remarks
34
+ * The cloud computer name.
35
+ *
36
+ * @example
37
+ * DesktopName
38
+ */
39
+ desktopName?: string;
40
+ /**
41
+ * @remarks
42
+ * The time when the scheduled task ended.
43
+ *
44
+ * @example
45
+ * 2025-01-21T02:00:45Z
46
+ */
47
+ finishTime?: string;
48
+ /**
49
+ * @remarks
50
+ * The region ID.
51
+ *
52
+ * @example
53
+ * cn-hangzhou
54
+ */
55
+ regionId?: string;
56
+ /**
57
+ * @remarks
58
+ * The ID of the scheduled task group.
59
+ *
60
+ * @example
61
+ * ccg-xxxx
62
+ */
63
+ timerGroupId?: string;
64
+ /**
65
+ * @remarks
66
+ * The execution result of the scheduled task.
67
+ *
68
+ * @example
69
+ * RUNNING
70
+ */
71
+ timerResult?: string;
72
+ /**
73
+ * @remarks
74
+ * The type of the scheduled task.
75
+ *
76
+ * @example
77
+ * TimerBoot
78
+ */
79
+ timerType?: string;
80
+ static names(): { [key: string]: string } {
81
+ return {
82
+ actionType: 'ActionType',
83
+ batchId: 'BatchId',
84
+ context: 'Context',
85
+ createTime: 'CreateTime',
86
+ desktopId: 'DesktopId',
87
+ desktopName: 'DesktopName',
88
+ finishTime: 'FinishTime',
89
+ regionId: 'RegionId',
90
+ timerGroupId: 'TimerGroupId',
91
+ timerResult: 'TimerResult',
92
+ timerType: 'TimerType',
93
+ };
94
+ }
95
+
96
+ static types(): { [key: string]: any } {
97
+ return {
98
+ actionType: 'string',
99
+ batchId: 'string',
100
+ context: 'string',
101
+ createTime: 'string',
102
+ desktopId: 'string',
103
+ desktopName: 'string',
104
+ finishTime: 'string',
105
+ regionId: 'string',
106
+ timerGroupId: 'string',
107
+ timerResult: 'string',
108
+ timerType: 'string',
109
+ };
110
+ }
111
+
112
+ validate() {
113
+ super.validate();
114
+ }
115
+
116
+ constructor(map?: { [key: string]: any }) {
117
+ super(map);
118
+ }
119
+ }
120
+
121
+ export class DescribeGlobalTimerRecordsResponseBody extends $dara.Model {
122
+ /**
123
+ * @remarks
124
+ * The total number of entries returned.
125
+ *
126
+ * @example
127
+ * 2
128
+ */
129
+ count?: number;
130
+ /**
131
+ * @remarks
132
+ * A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
133
+ *
134
+ * @example
135
+ * AAAAAV3MpHK1AP0pfERHZN5pu6mnFXZiT7NdvGNgkInJ****
136
+ */
137
+ nextToken?: string;
138
+ /**
139
+ * @remarks
140
+ * The request ID.
141
+ *
142
+ * @example
143
+ * 63740E03-1B4B-5A18-AC27-2745A4F2****
144
+ */
145
+ requestId?: string;
146
+ /**
147
+ * @remarks
148
+ * The response parameters.
149
+ */
150
+ results?: DescribeGlobalTimerRecordsResponseBodyResults[];
151
+ static names(): { [key: string]: string } {
152
+ return {
153
+ count: 'Count',
154
+ nextToken: 'NextToken',
155
+ requestId: 'RequestId',
156
+ results: 'Results',
157
+ };
158
+ }
159
+
160
+ static types(): { [key: string]: any } {
161
+ return {
162
+ count: 'number',
163
+ nextToken: 'string',
164
+ requestId: 'string',
165
+ results: { 'type': 'array', 'itemType': DescribeGlobalTimerRecordsResponseBodyResults },
166
+ };
167
+ }
168
+
169
+ validate() {
170
+ if(Array.isArray(this.results)) {
171
+ $dara.Model.validateArray(this.results);
172
+ }
173
+ super.validate();
174
+ }
175
+
176
+ constructor(map?: { [key: string]: any }) {
177
+ super(map);
178
+ }
179
+ }
180
+
@@ -161,6 +161,13 @@ export class DescribeOfficeSitesRequest extends $dara.Model {
161
161
  * REGISTERED
162
162
  */
163
163
  status?: string;
164
+ /**
165
+ * @remarks
166
+ * The ID of the virtual private cloud (VPC).
167
+ *
168
+ * @example
169
+ * vpc-uf6bpyqivwl5f3pvoxxu0
170
+ */
164
171
  vpcId?: string;
165
172
  static names(): { [key: string]: string } {
166
173
  return {
@@ -0,0 +1,111 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeRecordFileRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ecd-7w78ozhjcwa3u****
9
+ */
10
+ desktopId?: string;
11
+ /**
12
+ * @example
13
+ * 20251218205715
14
+ */
15
+ endTime?: string;
16
+ /**
17
+ * @example
18
+ * Alice
19
+ */
20
+ endUserId?: string;
21
+ /**
22
+ * @example
23
+ * Task7
24
+ */
25
+ fileName?: string;
26
+ /**
27
+ * @example
28
+ * startTime
29
+ */
30
+ orderBy?: string;
31
+ /**
32
+ * @example
33
+ * asc
34
+ */
35
+ orderSort?: string;
36
+ /**
37
+ * @example
38
+ * 1
39
+ */
40
+ pageNumber?: number;
41
+ /**
42
+ * @example
43
+ * 20
44
+ */
45
+ pageSize?: number;
46
+ /**
47
+ * @example
48
+ * alltime
49
+ */
50
+ recordType?: string;
51
+ /**
52
+ * @remarks
53
+ * This parameter is required.
54
+ *
55
+ * @example
56
+ * cn-shanghai
57
+ */
58
+ regionId?: string;
59
+ /**
60
+ * @example
61
+ * 20251218175715
62
+ */
63
+ startTime?: string;
64
+ /**
65
+ * @example
66
+ * 1
67
+ */
68
+ status?: number;
69
+ static names(): { [key: string]: string } {
70
+ return {
71
+ desktopId: 'DesktopId',
72
+ endTime: 'EndTime',
73
+ endUserId: 'EndUserId',
74
+ fileName: 'FileName',
75
+ orderBy: 'OrderBy',
76
+ orderSort: 'OrderSort',
77
+ pageNumber: 'PageNumber',
78
+ pageSize: 'PageSize',
79
+ recordType: 'RecordType',
80
+ regionId: 'RegionId',
81
+ startTime: 'StartTime',
82
+ status: 'Status',
83
+ };
84
+ }
85
+
86
+ static types(): { [key: string]: any } {
87
+ return {
88
+ desktopId: 'string',
89
+ endTime: 'string',
90
+ endUserId: 'string',
91
+ fileName: 'string',
92
+ orderBy: 'string',
93
+ orderSort: 'string',
94
+ pageNumber: 'number',
95
+ pageSize: 'number',
96
+ recordType: 'string',
97
+ regionId: 'string',
98
+ startTime: 'string',
99
+ status: 'number',
100
+ };
101
+ }
102
+
103
+ validate() {
104
+ super.validate();
105
+ }
106
+
107
+ constructor(map?: { [key: string]: any }) {
108
+ super(map);
109
+ }
110
+ }
111
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeRecordFileResponseBody } from "./DescribeRecordFileResponseBody";
4
+
5
+
6
+ export class DescribeRecordFileResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeRecordFileResponseBody;
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: DescribeRecordFileResponseBody,
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
+