@alicloud/ecd20200930 5.2.0 → 5.3.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 (122) hide show
  1. package/dist/client.d.ts +280 -40
  2. package/dist/client.js +550 -40
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ConfigAdconnectorTrustRequest.d.ts +1 -1
  5. package/dist/models/CreateDesktopsRequest.d.ts +59 -59
  6. package/dist/models/CreateDesktopsResponseBody.d.ts +1 -1
  7. package/dist/models/CreateDesktopsShrinkRequest.d.ts +48 -48
  8. package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +7 -8
  9. package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -1
  10. package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +1 -1
  11. package/dist/models/DeleteDesktopsRequest.d.ts +1 -1
  12. package/dist/models/DescribeFlowMetricRequest.d.ts +5 -5
  13. package/dist/models/DescribeOfficeSitesRequest.d.ts +6 -6
  14. package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -23
  15. package/dist/models/DescribePeripheralDriversRequest.d.ts +86 -0
  16. package/dist/models/DescribePeripheralDriversRequest.js +77 -0
  17. package/dist/models/DescribePeripheralDriversRequest.js.map +1 -0
  18. package/dist/models/DescribePeripheralDriversResponse.d.ts +19 -0
  19. package/dist/models/DescribePeripheralDriversResponse.js +69 -0
  20. package/dist/models/DescribePeripheralDriversResponse.js.map +1 -0
  21. package/dist/models/DescribePeripheralDriversResponseBody.d.ts +141 -0
  22. package/dist/models/DescribePeripheralDriversResponseBody.js +104 -0
  23. package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -0
  24. package/dist/models/DescribeSnapshotsRequest.d.ts +4 -4
  25. package/dist/models/DescribeSnapshotsResponseBody.d.ts +2 -2
  26. package/dist/models/DescribeVulDesktopsRequest.d.ts +137 -0
  27. package/dist/models/DescribeVulDesktopsRequest.js +92 -0
  28. package/dist/models/DescribeVulDesktopsRequest.js.map +1 -0
  29. package/dist/models/DescribeVulDesktopsResponse.d.ts +19 -0
  30. package/dist/models/DescribeVulDesktopsResponse.js +69 -0
  31. package/dist/models/DescribeVulDesktopsResponse.js.map +1 -0
  32. package/dist/models/DescribeVulDesktopsResponseBody.d.ts +273 -0
  33. package/dist/models/DescribeVulDesktopsResponseBody.js +177 -0
  34. package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -0
  35. package/dist/models/DescribeVulnerabilityRequest.d.ts +78 -0
  36. package/dist/models/DescribeVulnerabilityRequest.js +72 -0
  37. package/dist/models/DescribeVulnerabilityRequest.js.map +1 -0
  38. package/dist/models/DescribeVulnerabilityResponse.d.ts +19 -0
  39. package/dist/models/DescribeVulnerabilityResponse.js +69 -0
  40. package/dist/models/DescribeVulnerabilityResponse.js.map +1 -0
  41. package/dist/models/DescribeVulnerabilityResponseBody.d.ts +267 -0
  42. package/dist/models/DescribeVulnerabilityResponseBody.js +172 -0
  43. package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -0
  44. package/dist/models/ListDirectoryUsersRequest.d.ts +3 -3
  45. package/dist/models/ListDirectoryUsersResponseBody.d.ts +3 -3
  46. package/dist/models/MigrateDesktopsRequest.d.ts +3 -3
  47. package/dist/models/ModifyUserEntitlementRequest.d.ts +4 -4
  48. package/dist/models/QueryActiveUserStatisticRequest.d.ts +72 -0
  49. package/dist/models/QueryActiveUserStatisticRequest.js +66 -0
  50. package/dist/models/QueryActiveUserStatisticRequest.js.map +1 -0
  51. package/dist/models/QueryActiveUserStatisticResponse.d.ts +19 -0
  52. package/dist/models/QueryActiveUserStatisticResponse.js +69 -0
  53. package/dist/models/QueryActiveUserStatisticResponse.js.map +1 -0
  54. package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +70 -0
  55. package/dist/models/QueryActiveUserStatisticResponseBody.js +88 -0
  56. package/dist/models/QueryActiveUserStatisticResponseBody.js.map +1 -0
  57. package/dist/models/QueryEndUserHistoryUsageRequest.d.ts +50 -0
  58. package/dist/models/QueryEndUserHistoryUsageRequest.js +66 -0
  59. package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -0
  60. package/dist/models/QueryEndUserHistoryUsageResponse.d.ts +19 -0
  61. package/dist/models/QueryEndUserHistoryUsageResponse.js +69 -0
  62. package/dist/models/QueryEndUserHistoryUsageResponse.js.map +1 -0
  63. package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +165 -0
  64. package/dist/models/QueryEndUserHistoryUsageResponseBody.js +151 -0
  65. package/dist/models/QueryEndUserHistoryUsageResponseBody.js.map +1 -0
  66. package/dist/models/QueryHistoryActiveUserStatisticRequest.d.ts +61 -0
  67. package/dist/models/QueryHistoryActiveUserStatisticRequest.js +68 -0
  68. package/dist/models/QueryHistoryActiveUserStatisticRequest.js.map +1 -0
  69. package/dist/models/QueryHistoryActiveUserStatisticResponse.d.ts +19 -0
  70. package/dist/models/QueryHistoryActiveUserStatisticResponse.js +69 -0
  71. package/dist/models/QueryHistoryActiveUserStatisticResponse.js.map +1 -0
  72. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.d.ts +70 -0
  73. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js +88 -0
  74. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js.map +1 -0
  75. package/dist/models/RebootDesktopsRequest.d.ts +9 -2
  76. package/dist/models/RebootDesktopsRequest.js.map +1 -1
  77. package/dist/models/RunCommandRequest.d.ts +8 -5
  78. package/dist/models/RunCommandRequest.js.map +1 -1
  79. package/dist/models/StartDesktopsRequest.d.ts +2 -2
  80. package/dist/models/model.d.ts +30 -0
  81. package/dist/models/model.js +82 -21
  82. package/dist/models/model.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/client.ts +610 -40
  85. package/src/models/ConfigAdconnectorTrustRequest.ts +1 -1
  86. package/src/models/CreateDesktopsRequest.ts +59 -59
  87. package/src/models/CreateDesktopsResponseBody.ts +1 -1
  88. package/src/models/CreateDesktopsShrinkRequest.ts +48 -48
  89. package/src/models/CreateOfficeSiteAcceleratorRequest.ts +7 -8
  90. package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +1 -1
  91. package/src/models/DeleteDesktopsRequest.ts +1 -1
  92. package/src/models/DescribeFlowMetricRequest.ts +5 -5
  93. package/src/models/DescribeOfficeSitesRequest.ts +6 -6
  94. package/src/models/DescribeOfficeSitesResponseBody.ts +23 -23
  95. package/src/models/DescribePeripheralDriversRequest.ts +118 -0
  96. package/src/models/DescribePeripheralDriversResponse.ts +40 -0
  97. package/src/models/DescribePeripheralDriversResponseBody.ts +191 -0
  98. package/src/models/DescribeSnapshotsRequest.ts +4 -4
  99. package/src/models/DescribeSnapshotsResponseBody.ts +2 -2
  100. package/src/models/DescribeVulDesktopsRequest.ts +184 -0
  101. package/src/models/DescribeVulDesktopsResponse.ts +40 -0
  102. package/src/models/DescribeVulDesktopsResponseBody.ts +378 -0
  103. package/src/models/DescribeVulnerabilityRequest.ts +105 -0
  104. package/src/models/DescribeVulnerabilityResponse.ts +40 -0
  105. package/src/models/DescribeVulnerabilityResponseBody.ts +367 -0
  106. package/src/models/ListDirectoryUsersRequest.ts +3 -3
  107. package/src/models/ListDirectoryUsersResponseBody.ts +3 -3
  108. package/src/models/MigrateDesktopsRequest.ts +3 -3
  109. package/src/models/ModifyUserEntitlementRequest.ts +4 -4
  110. package/src/models/QueryActiveUserStatisticRequest.ts +93 -0
  111. package/src/models/QueryActiveUserStatisticResponse.ts +40 -0
  112. package/src/models/QueryActiveUserStatisticResponseBody.ts +104 -0
  113. package/src/models/QueryEndUserHistoryUsageRequest.ts +71 -0
  114. package/src/models/QueryEndUserHistoryUsageResponse.ts +40 -0
  115. package/src/models/QueryEndUserHistoryUsageResponseBody.ts +244 -0
  116. package/src/models/QueryHistoryActiveUserStatisticRequest.ts +84 -0
  117. package/src/models/QueryHistoryActiveUserStatisticResponse.ts +40 -0
  118. package/src/models/QueryHistoryActiveUserStatisticResponseBody.ts +104 -0
  119. package/src/models/RebootDesktopsRequest.ts +9 -2
  120. package/src/models/RunCommandRequest.ts +8 -5
  121. package/src/models/StartDesktopsRequest.ts +2 -2
  122. package/src/models/model.ts +30 -0
@@ -0,0 +1,184 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVulDesktopsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The CVE ID.
9
+ *
10
+ * @example
11
+ * CVE-2026-43284
12
+ */
13
+ cveId?: string;
14
+ /**
15
+ * @remarks
16
+ * The list of cloud computer IDs.
17
+ */
18
+ desktopIdList?: string[];
19
+ /**
20
+ * @remarks
21
+ * Specifies whether to include patch update results.
22
+ *
23
+ * @example
24
+ * false
25
+ */
26
+ includeFixResult?: boolean;
27
+ /**
28
+ * @remarks
29
+ * The language type of the returned information.
30
+ *
31
+ * @example
32
+ * ch
33
+ */
34
+ language?: string;
35
+ /**
36
+ * @remarks
37
+ * The number of entries per page in a paged query.
38
+ *
39
+ * Maximum value: 100.
40
+ *
41
+ * Default value: 10.
42
+ *
43
+ * @example
44
+ * 20
45
+ */
46
+ maxResults?: number;
47
+ /**
48
+ * @remarks
49
+ * The pagination token for the next page.
50
+ *
51
+ * @example
52
+ * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
53
+ */
54
+ nextToken?: string;
55
+ /**
56
+ * @remarks
57
+ * Specifies whether to include only cloud computers on which fix tasks were executed in the current month.
58
+ *
59
+ * @example
60
+ * false
61
+ */
62
+ onlyCurrentMonthFixAttempted?: boolean;
63
+ /**
64
+ * @remarks
65
+ * The page number of the current page in a paged query.
66
+ *
67
+ * @example
68
+ * 1
69
+ */
70
+ pageNumber?: number;
71
+ /**
72
+ * @remarks
73
+ * The page number of the current page in a paged query.
74
+ *
75
+ * @example
76
+ * 10
77
+ */
78
+ pageSize?: number;
79
+ /**
80
+ * @remarks
81
+ * The patch ID.
82
+ *
83
+ * @example
84
+ * KB5082063
85
+ */
86
+ patchId?: string;
87
+ /**
88
+ * @remarks
89
+ * The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) to query the regions supported by WUYING Workspace.
90
+ *
91
+ * @example
92
+ * cn-shanghai
93
+ */
94
+ regionId?: string;
95
+ /**
96
+ * @remarks
97
+ * The resource group ID.
98
+ *
99
+ * @example
100
+ * rg-f3s3dgt8dtb0vlqc8
101
+ */
102
+ resourceGroupId?: string;
103
+ /**
104
+ * @remarks
105
+ * The region ID used to filter cloud computer information for a specific region.
106
+ *
107
+ * @example
108
+ * cn-shanghai
109
+ */
110
+ searchRegionId?: string;
111
+ /**
112
+ * @remarks
113
+ * The list of vulnerability status details.
114
+ */
115
+ statusList?: string[];
116
+ /**
117
+ * @remarks
118
+ * The security level of the intrusion prevention event. Valid values:
119
+ *
120
+ * - **low**: Low risk.
121
+ * - **medium**: Medium risk.
122
+ * - **critical**: High risk.
123
+ *
124
+ * > If you do not set this parameter, vulnerabilities of all security levels are queried.
125
+ *
126
+ * @example
127
+ * low
128
+ */
129
+ vulLevel?: string;
130
+ static names(): { [key: string]: string } {
131
+ return {
132
+ cveId: 'CveId',
133
+ desktopIdList: 'DesktopIdList',
134
+ includeFixResult: 'IncludeFixResult',
135
+ language: 'Language',
136
+ maxResults: 'MaxResults',
137
+ nextToken: 'NextToken',
138
+ onlyCurrentMonthFixAttempted: 'OnlyCurrentMonthFixAttempted',
139
+ pageNumber: 'PageNumber',
140
+ pageSize: 'PageSize',
141
+ patchId: 'PatchId',
142
+ regionId: 'RegionId',
143
+ resourceGroupId: 'ResourceGroupId',
144
+ searchRegionId: 'SearchRegionId',
145
+ statusList: 'StatusList',
146
+ vulLevel: 'VulLevel',
147
+ };
148
+ }
149
+
150
+ static types(): { [key: string]: any } {
151
+ return {
152
+ cveId: 'string',
153
+ desktopIdList: { 'type': 'array', 'itemType': 'string' },
154
+ includeFixResult: 'boolean',
155
+ language: 'string',
156
+ maxResults: 'number',
157
+ nextToken: 'string',
158
+ onlyCurrentMonthFixAttempted: 'boolean',
159
+ pageNumber: 'number',
160
+ pageSize: 'number',
161
+ patchId: 'string',
162
+ regionId: 'string',
163
+ resourceGroupId: 'string',
164
+ searchRegionId: 'string',
165
+ statusList: { 'type': 'array', 'itemType': 'string' },
166
+ vulLevel: 'string',
167
+ };
168
+ }
169
+
170
+ validate() {
171
+ if(Array.isArray(this.desktopIdList)) {
172
+ $dara.Model.validateArray(this.desktopIdList);
173
+ }
174
+ if(Array.isArray(this.statusList)) {
175
+ $dara.Model.validateArray(this.statusList);
176
+ }
177
+ super.validate();
178
+ }
179
+
180
+ constructor(map?: { [key: string]: any }) {
181
+ super(map);
182
+ }
183
+ }
184
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeVulDesktopsResponseBody } from "./DescribeVulDesktopsResponseBody";
4
+
5
+
6
+ export class DescribeVulDesktopsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeVulDesktopsResponseBody;
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: DescribeVulDesktopsResponseBody,
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,378 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVulDesktopsResponseBodyVulDesktopsCves extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The CVE ID.
9
+ *
10
+ * @example
11
+ * CVE-2026-62690
12
+ */
13
+ cveId?: string;
14
+ /**
15
+ * @remarks
16
+ * The vulnerability level.
17
+ *
18
+ * @example
19
+ * low
20
+ */
21
+ cveLevel?: string;
22
+ /**
23
+ * @remarks
24
+ * The vulnerability name.
25
+ *
26
+ * @example
27
+ * Windows Push Notification Elevation of Privilege Vulnerability
28
+ */
29
+ cveTitle?: string;
30
+ /**
31
+ * @remarks
32
+ * The CVE URL.
33
+ *
34
+ * @example
35
+ * https://avd.aliyun.com/detail/CVE-2026-62690
36
+ */
37
+ cveUrl?: string;
38
+ /**
39
+ * @remarks
40
+ * The vulnerability score.
41
+ *
42
+ * @example
43
+ * 7.0
44
+ */
45
+ impactScore?: string;
46
+ /**
47
+ * @remarks
48
+ * The reference URL.
49
+ *
50
+ * @example
51
+ * https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-62690
52
+ */
53
+ referenceUrl?: string;
54
+ /**
55
+ * @remarks
56
+ * The release time. The time follows the ISO 8601 standard in UTC: yyyy-MM-ddTHH:mm:ssZ.
57
+ *
58
+ * @example
59
+ * 2026-08-11 07:00:00
60
+ */
61
+ releaseTime?: string;
62
+ static names(): { [key: string]: string } {
63
+ return {
64
+ cveId: 'CveId',
65
+ cveLevel: 'CveLevel',
66
+ cveTitle: 'CveTitle',
67
+ cveUrl: 'CveUrl',
68
+ impactScore: 'ImpactScore',
69
+ referenceUrl: 'ReferenceUrl',
70
+ releaseTime: 'ReleaseTime',
71
+ };
72
+ }
73
+
74
+ static types(): { [key: string]: any } {
75
+ return {
76
+ cveId: 'string',
77
+ cveLevel: 'string',
78
+ cveTitle: 'string',
79
+ cveUrl: 'string',
80
+ impactScore: 'string',
81
+ referenceUrl: 'string',
82
+ releaseTime: '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 DescribeVulDesktopsResponseBodyVulDesktopsFixRecords extends $dara.Model {
96
+ /**
97
+ * @remarks
98
+ * The batch ID of the scheduled task execution.
99
+ *
100
+ * @example
101
+ * d7f3d7bc-b98b-4da8-95ae-fea21b604b34
102
+ */
103
+ batchId?: string;
104
+ /**
105
+ * @remarks
106
+ * The failure reason.
107
+ *
108
+ * @example
109
+ * Update failed
110
+ */
111
+ fixFailureReason?: string;
112
+ /**
113
+ * @remarks
114
+ * The fix result.
115
+ *
116
+ * @example
117
+ * SUCCEED
118
+ */
119
+ fixResult?: string;
120
+ /**
121
+ * @remarks
122
+ * The timestamp when the fix task ended, in milliseconds.
123
+ *
124
+ * @example
125
+ * 2026-08-05 13:57:31
126
+ */
127
+ fixTime?: string;
128
+ /**
129
+ * @remarks
130
+ * The fix type.
131
+ *
132
+ * @example
133
+ * AutoTask
134
+ */
135
+ fixType?: string;
136
+ static names(): { [key: string]: string } {
137
+ return {
138
+ batchId: 'BatchId',
139
+ fixFailureReason: 'FixFailureReason',
140
+ fixResult: 'FixResult',
141
+ fixTime: 'FixTime',
142
+ fixType: 'FixType',
143
+ };
144
+ }
145
+
146
+ static types(): { [key: string]: any } {
147
+ return {
148
+ batchId: 'string',
149
+ fixFailureReason: 'string',
150
+ fixResult: 'string',
151
+ fixTime: 'string',
152
+ fixType: 'string',
153
+ };
154
+ }
155
+
156
+ validate() {
157
+ super.validate();
158
+ }
159
+
160
+ constructor(map?: { [key: string]: any }) {
161
+ super(map);
162
+ }
163
+ }
164
+
165
+ export class DescribeVulDesktopsResponseBodyVulDesktops extends $dara.Model {
166
+ /**
167
+ * @remarks
168
+ * The configuration task ID.
169
+ *
170
+ * @example
171
+ * ccg-0bbay4w7bwbxd****
172
+ */
173
+ configGroupId?: string;
174
+ /**
175
+ * @remarks
176
+ * The number of vulnerabilities.
177
+ *
178
+ * @example
179
+ * 60
180
+ */
181
+ cveCount?: number;
182
+ /**
183
+ * @remarks
184
+ * The list of vulnerability details.
185
+ */
186
+ cves?: DescribeVulDesktopsResponseBodyVulDesktopsCves[];
187
+ /**
188
+ * @remarks
189
+ * The ID of the cloud computer affected by the vulnerability.
190
+ *
191
+ * @example
192
+ * ecd-0jtd4z5binubxe32e
193
+ */
194
+ desktopId?: string;
195
+ /**
196
+ * @remarks
197
+ * Indicates whether the activation code is disabled.
198
+ *
199
+ * @example
200
+ * False
201
+ */
202
+ disabled?: boolean;
203
+ /**
204
+ * @remarks
205
+ * The time when the vulnerability was first discovered.
206
+ *
207
+ * @example
208
+ * 2026-08-05 00:00:00
209
+ */
210
+ firstFoundTime?: string;
211
+ /**
212
+ * @remarks
213
+ * The list of fix records for the cloud computer.
214
+ */
215
+ fixRecords?: DescribeVulDesktopsResponseBodyVulDesktopsFixRecords[];
216
+ /**
217
+ * @remarks
218
+ * The list of patch IDs.
219
+ */
220
+ patchIds?: string[];
221
+ /**
222
+ * @remarks
223
+ * The region ID. You can call [DescribeRegions](~~DescribeRegions~~) to query the regions supported by WUYING Workspace.
224
+ *
225
+ * @example
226
+ * cn-shenzhen
227
+ */
228
+ regionId?: string;
229
+ /**
230
+ * @remarks
231
+ * The enterprise resource group ID.
232
+ *
233
+ * @example
234
+ * rg-acfm2tswogr****
235
+ */
236
+ resourceGroupId?: string;
237
+ /**
238
+ * @remarks
239
+ * The fix status of the patch.
240
+ *
241
+ * @example
242
+ * Fixed
243
+ */
244
+ status?: string;
245
+ /**
246
+ * @remarks
247
+ * The patch level.
248
+ *
249
+ * @example
250
+ * high
251
+ */
252
+ vulLevel?: string;
253
+ static names(): { [key: string]: string } {
254
+ return {
255
+ configGroupId: 'ConfigGroupId',
256
+ cveCount: 'CveCount',
257
+ cves: 'Cves',
258
+ desktopId: 'DesktopId',
259
+ disabled: 'Disabled',
260
+ firstFoundTime: 'FirstFoundTime',
261
+ fixRecords: 'FixRecords',
262
+ patchIds: 'PatchIds',
263
+ regionId: 'RegionId',
264
+ resourceGroupId: 'ResourceGroupId',
265
+ status: 'Status',
266
+ vulLevel: 'VulLevel',
267
+ };
268
+ }
269
+
270
+ static types(): { [key: string]: any } {
271
+ return {
272
+ configGroupId: 'string',
273
+ cveCount: 'number',
274
+ cves: { 'type': 'array', 'itemType': DescribeVulDesktopsResponseBodyVulDesktopsCves },
275
+ desktopId: 'string',
276
+ disabled: 'boolean',
277
+ firstFoundTime: 'string',
278
+ fixRecords: { 'type': 'array', 'itemType': DescribeVulDesktopsResponseBodyVulDesktopsFixRecords },
279
+ patchIds: { 'type': 'array', 'itemType': 'string' },
280
+ regionId: 'string',
281
+ resourceGroupId: 'string',
282
+ status: 'string',
283
+ vulLevel: 'string',
284
+ };
285
+ }
286
+
287
+ validate() {
288
+ if(Array.isArray(this.cves)) {
289
+ $dara.Model.validateArray(this.cves);
290
+ }
291
+ if(Array.isArray(this.fixRecords)) {
292
+ $dara.Model.validateArray(this.fixRecords);
293
+ }
294
+ if(Array.isArray(this.patchIds)) {
295
+ $dara.Model.validateArray(this.patchIds);
296
+ }
297
+ super.validate();
298
+ }
299
+
300
+ constructor(map?: { [key: string]: any }) {
301
+ super(map);
302
+ }
303
+ }
304
+
305
+ export class DescribeVulDesktopsResponseBody extends $dara.Model {
306
+ /**
307
+ * @remarks
308
+ * The number of entries per page in a paged query.
309
+ *
310
+ * Maximum value: 100.
311
+ *
312
+ * Default value: 10.
313
+ *
314
+ * @example
315
+ * 10
316
+ */
317
+ maxResults?: number;
318
+ /**
319
+ * @remarks
320
+ * The token for the next query. An empty value indicates that no more results exist.
321
+ *
322
+ * @example
323
+ * AAAAAV3MpHK1AP0pfERHZN5pu6kRxd1mKkNnHlUy14zdjl/I
324
+ */
325
+ nextToken?: string;
326
+ /**
327
+ * @remarks
328
+ * The request ID.
329
+ *
330
+ * @example
331
+ * 269BDB16-2CD8-4865-84BD-11C40BC21DB0
332
+ */
333
+ requestId?: string;
334
+ /**
335
+ * @remarks
336
+ * The total number of entries.
337
+ *
338
+ * @example
339
+ * 20
340
+ */
341
+ totalCount?: number;
342
+ /**
343
+ * @remarks
344
+ * The list of cloud computers affected by the vulnerability.
345
+ */
346
+ vulDesktops?: DescribeVulDesktopsResponseBodyVulDesktops[];
347
+ static names(): { [key: string]: string } {
348
+ return {
349
+ maxResults: 'MaxResults',
350
+ nextToken: 'NextToken',
351
+ requestId: 'RequestId',
352
+ totalCount: 'TotalCount',
353
+ vulDesktops: 'VulDesktops',
354
+ };
355
+ }
356
+
357
+ static types(): { [key: string]: any } {
358
+ return {
359
+ maxResults: 'number',
360
+ nextToken: 'string',
361
+ requestId: 'string',
362
+ totalCount: 'number',
363
+ vulDesktops: { 'type': 'array', 'itemType': DescribeVulDesktopsResponseBodyVulDesktops },
364
+ };
365
+ }
366
+
367
+ validate() {
368
+ if(Array.isArray(this.vulDesktops)) {
369
+ $dara.Model.validateArray(this.vulDesktops);
370
+ }
371
+ super.validate();
372
+ }
373
+
374
+ constructor(map?: { [key: string]: any }) {
375
+ super(map);
376
+ }
377
+ }
378
+
@@ -0,0 +1,105 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVulnerabilityRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The CVE ID.
9
+ *
10
+ * @example
11
+ * CVE-2024-38819
12
+ */
13
+ cveId?: string;
14
+ /**
15
+ * @remarks
16
+ * Not applicable.
17
+ *
18
+ * @example
19
+ * Not applicable
20
+ */
21
+ includeDesktop?: boolean;
22
+ /**
23
+ * @remarks
24
+ * The language type of the returned information.
25
+ *
26
+ * @example
27
+ * en
28
+ */
29
+ language?: string;
30
+ /**
31
+ * @remarks
32
+ * The number of entries per page for a paged query.
33
+ * Default value: 100.
34
+ *
35
+ * @example
36
+ * 10
37
+ */
38
+ maxResults?: number;
39
+ /**
40
+ * @remarks
41
+ * The pagination token for the next query. An empty value indicates that there are no more results.
42
+ *
43
+ * @example
44
+ * AAAAAV3MpHK1AP0pfERHZN5pu6kRxd1mKkNnHlUy14zdjl/I
45
+ */
46
+ nextToken?: string;
47
+ /**
48
+ * @remarks
49
+ * The patch ID.
50
+ *
51
+ * @example
52
+ * KB5082063
53
+ */
54
+ patchId?: string;
55
+ /**
56
+ * @remarks
57
+ * The region ID. You can call [DescribeRegions](~~DescribeRegions~~) to query the regions supported by WUYING Workspace.
58
+ *
59
+ * @example
60
+ * cn-shanghai
61
+ */
62
+ regionId?: string;
63
+ /**
64
+ * @remarks
65
+ * The region ID used to filter cloud resource information in the specified region.
66
+ *
67
+ * @example
68
+ * cn-hangzhou
69
+ */
70
+ searchRegionId?: string;
71
+ static names(): { [key: string]: string } {
72
+ return {
73
+ cveId: 'CveId',
74
+ includeDesktop: 'IncludeDesktop',
75
+ language: 'Language',
76
+ maxResults: 'MaxResults',
77
+ nextToken: 'NextToken',
78
+ patchId: 'PatchId',
79
+ regionId: 'RegionId',
80
+ searchRegionId: 'SearchRegionId',
81
+ };
82
+ }
83
+
84
+ static types(): { [key: string]: any } {
85
+ return {
86
+ cveId: 'string',
87
+ includeDesktop: 'boolean',
88
+ language: 'string',
89
+ maxResults: 'number',
90
+ nextToken: 'string',
91
+ patchId: 'string',
92
+ regionId: 'string',
93
+ searchRegionId: 'string',
94
+ };
95
+ }
96
+
97
+ validate() {
98
+ super.validate();
99
+ }
100
+
101
+ constructor(map?: { [key: string]: any }) {
102
+ super(map);
103
+ }
104
+ }
105
+