@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,273 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeVulDesktopsResponseBodyVulDesktopsCves extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The CVE ID.
6
+ *
7
+ * @example
8
+ * CVE-2026-62690
9
+ */
10
+ cveId?: string;
11
+ /**
12
+ * @remarks
13
+ * The vulnerability level.
14
+ *
15
+ * @example
16
+ * low
17
+ */
18
+ cveLevel?: string;
19
+ /**
20
+ * @remarks
21
+ * The vulnerability name.
22
+ *
23
+ * @example
24
+ * Windows Push Notification Elevation of Privilege Vulnerability
25
+ */
26
+ cveTitle?: string;
27
+ /**
28
+ * @remarks
29
+ * The CVE URL.
30
+ *
31
+ * @example
32
+ * https://avd.aliyun.com/detail/CVE-2026-62690
33
+ */
34
+ cveUrl?: string;
35
+ /**
36
+ * @remarks
37
+ * The vulnerability score.
38
+ *
39
+ * @example
40
+ * 7.0
41
+ */
42
+ impactScore?: string;
43
+ /**
44
+ * @remarks
45
+ * The reference URL.
46
+ *
47
+ * @example
48
+ * https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-62690
49
+ */
50
+ referenceUrl?: string;
51
+ /**
52
+ * @remarks
53
+ * The release time. The time follows the ISO 8601 standard in UTC: yyyy-MM-ddTHH:mm:ssZ.
54
+ *
55
+ * @example
56
+ * 2026-08-11 07:00:00
57
+ */
58
+ releaseTime?: string;
59
+ static names(): {
60
+ [key: string]: string;
61
+ };
62
+ static types(): {
63
+ [key: string]: any;
64
+ };
65
+ validate(): void;
66
+ constructor(map?: {
67
+ [key: string]: any;
68
+ });
69
+ }
70
+ export declare class DescribeVulDesktopsResponseBodyVulDesktopsFixRecords extends $dara.Model {
71
+ /**
72
+ * @remarks
73
+ * The batch ID of the scheduled task execution.
74
+ *
75
+ * @example
76
+ * d7f3d7bc-b98b-4da8-95ae-fea21b604b34
77
+ */
78
+ batchId?: string;
79
+ /**
80
+ * @remarks
81
+ * The failure reason.
82
+ *
83
+ * @example
84
+ * Update failed
85
+ */
86
+ fixFailureReason?: string;
87
+ /**
88
+ * @remarks
89
+ * The fix result.
90
+ *
91
+ * @example
92
+ * SUCCEED
93
+ */
94
+ fixResult?: string;
95
+ /**
96
+ * @remarks
97
+ * The timestamp when the fix task ended, in milliseconds.
98
+ *
99
+ * @example
100
+ * 2026-08-05 13:57:31
101
+ */
102
+ fixTime?: string;
103
+ /**
104
+ * @remarks
105
+ * The fix type.
106
+ *
107
+ * @example
108
+ * AutoTask
109
+ */
110
+ fixType?: string;
111
+ static names(): {
112
+ [key: string]: string;
113
+ };
114
+ static types(): {
115
+ [key: string]: any;
116
+ };
117
+ validate(): void;
118
+ constructor(map?: {
119
+ [key: string]: any;
120
+ });
121
+ }
122
+ export declare class DescribeVulDesktopsResponseBodyVulDesktops extends $dara.Model {
123
+ /**
124
+ * @remarks
125
+ * The configuration task ID.
126
+ *
127
+ * @example
128
+ * ccg-0bbay4w7bwbxd****
129
+ */
130
+ configGroupId?: string;
131
+ /**
132
+ * @remarks
133
+ * The number of vulnerabilities.
134
+ *
135
+ * @example
136
+ * 60
137
+ */
138
+ cveCount?: number;
139
+ /**
140
+ * @remarks
141
+ * The list of vulnerability details.
142
+ */
143
+ cves?: DescribeVulDesktopsResponseBodyVulDesktopsCves[];
144
+ /**
145
+ * @remarks
146
+ * The ID of the cloud computer affected by the vulnerability.
147
+ *
148
+ * @example
149
+ * ecd-0jtd4z5binubxe32e
150
+ */
151
+ desktopId?: string;
152
+ /**
153
+ * @remarks
154
+ * Indicates whether the activation code is disabled.
155
+ *
156
+ * @example
157
+ * False
158
+ */
159
+ disabled?: boolean;
160
+ /**
161
+ * @remarks
162
+ * The time when the vulnerability was first discovered.
163
+ *
164
+ * @example
165
+ * 2026-08-05 00:00:00
166
+ */
167
+ firstFoundTime?: string;
168
+ /**
169
+ * @remarks
170
+ * The list of fix records for the cloud computer.
171
+ */
172
+ fixRecords?: DescribeVulDesktopsResponseBodyVulDesktopsFixRecords[];
173
+ /**
174
+ * @remarks
175
+ * The list of patch IDs.
176
+ */
177
+ patchIds?: string[];
178
+ /**
179
+ * @remarks
180
+ * The region ID. You can call [DescribeRegions](~~DescribeRegions~~) to query the regions supported by WUYING Workspace.
181
+ *
182
+ * @example
183
+ * cn-shenzhen
184
+ */
185
+ regionId?: string;
186
+ /**
187
+ * @remarks
188
+ * The enterprise resource group ID.
189
+ *
190
+ * @example
191
+ * rg-acfm2tswogr****
192
+ */
193
+ resourceGroupId?: string;
194
+ /**
195
+ * @remarks
196
+ * The fix status of the patch.
197
+ *
198
+ * @example
199
+ * Fixed
200
+ */
201
+ status?: string;
202
+ /**
203
+ * @remarks
204
+ * The patch level.
205
+ *
206
+ * @example
207
+ * high
208
+ */
209
+ vulLevel?: string;
210
+ static names(): {
211
+ [key: string]: string;
212
+ };
213
+ static types(): {
214
+ [key: string]: any;
215
+ };
216
+ validate(): void;
217
+ constructor(map?: {
218
+ [key: string]: any;
219
+ });
220
+ }
221
+ export declare class DescribeVulDesktopsResponseBody extends $dara.Model {
222
+ /**
223
+ * @remarks
224
+ * The number of entries per page in a paged query.
225
+ *
226
+ * Maximum value: 100.
227
+ *
228
+ * Default value: 10.
229
+ *
230
+ * @example
231
+ * 10
232
+ */
233
+ maxResults?: number;
234
+ /**
235
+ * @remarks
236
+ * The token for the next query. An empty value indicates that no more results exist.
237
+ *
238
+ * @example
239
+ * AAAAAV3MpHK1AP0pfERHZN5pu6kRxd1mKkNnHlUy14zdjl/I
240
+ */
241
+ nextToken?: string;
242
+ /**
243
+ * @remarks
244
+ * The request ID.
245
+ *
246
+ * @example
247
+ * 269BDB16-2CD8-4865-84BD-11C40BC21DB0
248
+ */
249
+ requestId?: string;
250
+ /**
251
+ * @remarks
252
+ * The total number of entries.
253
+ *
254
+ * @example
255
+ * 20
256
+ */
257
+ totalCount?: number;
258
+ /**
259
+ * @remarks
260
+ * The list of cloud computers affected by the vulnerability.
261
+ */
262
+ vulDesktops?: DescribeVulDesktopsResponseBodyVulDesktops[];
263
+ static names(): {
264
+ [key: string]: string;
265
+ };
266
+ static types(): {
267
+ [key: string]: any;
268
+ };
269
+ validate(): void;
270
+ constructor(map?: {
271
+ [key: string]: any;
272
+ });
273
+ }
@@ -0,0 +1,177 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeVulDesktopsResponseBody = exports.DescribeVulDesktopsResponseBodyVulDesktops = exports.DescribeVulDesktopsResponseBodyVulDesktopsFixRecords = exports.DescribeVulDesktopsResponseBodyVulDesktopsCves = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeVulDesktopsResponseBodyVulDesktopsCves extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ cveId: 'CveId',
43
+ cveLevel: 'CveLevel',
44
+ cveTitle: 'CveTitle',
45
+ cveUrl: 'CveUrl',
46
+ impactScore: 'ImpactScore',
47
+ referenceUrl: 'ReferenceUrl',
48
+ releaseTime: 'ReleaseTime',
49
+ };
50
+ }
51
+ static types() {
52
+ return {
53
+ cveId: 'string',
54
+ cveLevel: 'string',
55
+ cveTitle: 'string',
56
+ cveUrl: 'string',
57
+ impactScore: 'string',
58
+ referenceUrl: 'string',
59
+ releaseTime: 'string',
60
+ };
61
+ }
62
+ validate() {
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.DescribeVulDesktopsResponseBodyVulDesktopsCves = DescribeVulDesktopsResponseBodyVulDesktopsCves;
70
+ class DescribeVulDesktopsResponseBodyVulDesktopsFixRecords extends $dara.Model {
71
+ static names() {
72
+ return {
73
+ batchId: 'BatchId',
74
+ fixFailureReason: 'FixFailureReason',
75
+ fixResult: 'FixResult',
76
+ fixTime: 'FixTime',
77
+ fixType: 'FixType',
78
+ };
79
+ }
80
+ static types() {
81
+ return {
82
+ batchId: 'string',
83
+ fixFailureReason: 'string',
84
+ fixResult: 'string',
85
+ fixTime: 'string',
86
+ fixType: 'string',
87
+ };
88
+ }
89
+ validate() {
90
+ super.validate();
91
+ }
92
+ constructor(map) {
93
+ super(map);
94
+ }
95
+ }
96
+ exports.DescribeVulDesktopsResponseBodyVulDesktopsFixRecords = DescribeVulDesktopsResponseBodyVulDesktopsFixRecords;
97
+ class DescribeVulDesktopsResponseBodyVulDesktops extends $dara.Model {
98
+ static names() {
99
+ return {
100
+ configGroupId: 'ConfigGroupId',
101
+ cveCount: 'CveCount',
102
+ cves: 'Cves',
103
+ desktopId: 'DesktopId',
104
+ disabled: 'Disabled',
105
+ firstFoundTime: 'FirstFoundTime',
106
+ fixRecords: 'FixRecords',
107
+ patchIds: 'PatchIds',
108
+ regionId: 'RegionId',
109
+ resourceGroupId: 'ResourceGroupId',
110
+ status: 'Status',
111
+ vulLevel: 'VulLevel',
112
+ };
113
+ }
114
+ static types() {
115
+ return {
116
+ configGroupId: 'string',
117
+ cveCount: 'number',
118
+ cves: { 'type': 'array', 'itemType': DescribeVulDesktopsResponseBodyVulDesktopsCves },
119
+ desktopId: 'string',
120
+ disabled: 'boolean',
121
+ firstFoundTime: 'string',
122
+ fixRecords: { 'type': 'array', 'itemType': DescribeVulDesktopsResponseBodyVulDesktopsFixRecords },
123
+ patchIds: { 'type': 'array', 'itemType': 'string' },
124
+ regionId: 'string',
125
+ resourceGroupId: 'string',
126
+ status: 'string',
127
+ vulLevel: 'string',
128
+ };
129
+ }
130
+ validate() {
131
+ if (Array.isArray(this.cves)) {
132
+ $dara.Model.validateArray(this.cves);
133
+ }
134
+ if (Array.isArray(this.fixRecords)) {
135
+ $dara.Model.validateArray(this.fixRecords);
136
+ }
137
+ if (Array.isArray(this.patchIds)) {
138
+ $dara.Model.validateArray(this.patchIds);
139
+ }
140
+ super.validate();
141
+ }
142
+ constructor(map) {
143
+ super(map);
144
+ }
145
+ }
146
+ exports.DescribeVulDesktopsResponseBodyVulDesktops = DescribeVulDesktopsResponseBodyVulDesktops;
147
+ class DescribeVulDesktopsResponseBody extends $dara.Model {
148
+ static names() {
149
+ return {
150
+ maxResults: 'MaxResults',
151
+ nextToken: 'NextToken',
152
+ requestId: 'RequestId',
153
+ totalCount: 'TotalCount',
154
+ vulDesktops: 'VulDesktops',
155
+ };
156
+ }
157
+ static types() {
158
+ return {
159
+ maxResults: 'number',
160
+ nextToken: 'string',
161
+ requestId: 'string',
162
+ totalCount: 'number',
163
+ vulDesktops: { 'type': 'array', 'itemType': DescribeVulDesktopsResponseBodyVulDesktops },
164
+ };
165
+ }
166
+ validate() {
167
+ if (Array.isArray(this.vulDesktops)) {
168
+ $dara.Model.validateArray(this.vulDesktops);
169
+ }
170
+ super.validate();
171
+ }
172
+ constructor(map) {
173
+ super(map);
174
+ }
175
+ }
176
+ exports.DescribeVulDesktopsResponseBody = DescribeVulDesktopsResponseBody;
177
+ //# sourceMappingURL=DescribeVulDesktopsResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeVulDesktopsResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeVulDesktopsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8CAA+C,SAAQ,KAAK,CAAC,KAAK;IAyD7E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxFD,wGAwFC;AAED,MAAa,oDAAqD,SAAQ,KAAK,CAAC,KAAK;IAyCnF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,gBAAgB,EAAE,kBAAkB;YACpC,SAAS,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C,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxED,0EAwEC"}
@@ -0,0 +1,78 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeVulnerabilityRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The CVE ID.
6
+ *
7
+ * @example
8
+ * CVE-2024-38819
9
+ */
10
+ cveId?: string;
11
+ /**
12
+ * @remarks
13
+ * Not applicable.
14
+ *
15
+ * @example
16
+ * Not applicable
17
+ */
18
+ includeDesktop?: boolean;
19
+ /**
20
+ * @remarks
21
+ * The language type of the returned information.
22
+ *
23
+ * @example
24
+ * en
25
+ */
26
+ language?: string;
27
+ /**
28
+ * @remarks
29
+ * The number of entries per page for a paged query.
30
+ * Default value: 100.
31
+ *
32
+ * @example
33
+ * 10
34
+ */
35
+ maxResults?: number;
36
+ /**
37
+ * @remarks
38
+ * The pagination token for the next query. An empty value indicates that there are no more results.
39
+ *
40
+ * @example
41
+ * AAAAAV3MpHK1AP0pfERHZN5pu6kRxd1mKkNnHlUy14zdjl/I
42
+ */
43
+ nextToken?: string;
44
+ /**
45
+ * @remarks
46
+ * The patch ID.
47
+ *
48
+ * @example
49
+ * KB5082063
50
+ */
51
+ patchId?: string;
52
+ /**
53
+ * @remarks
54
+ * The region ID. You can call [DescribeRegions](~~DescribeRegions~~) to query the regions supported by WUYING Workspace.
55
+ *
56
+ * @example
57
+ * cn-shanghai
58
+ */
59
+ regionId?: string;
60
+ /**
61
+ * @remarks
62
+ * The region ID used to filter cloud resource information in the specified region.
63
+ *
64
+ * @example
65
+ * cn-hangzhou
66
+ */
67
+ searchRegionId?: string;
68
+ static names(): {
69
+ [key: string]: string;
70
+ };
71
+ static types(): {
72
+ [key: string]: any;
73
+ };
74
+ validate(): void;
75
+ constructor(map?: {
76
+ [key: string]: any;
77
+ });
78
+ }
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeVulnerabilityRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeVulnerabilityRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ cveId: 'CveId',
43
+ includeDesktop: 'IncludeDesktop',
44
+ language: 'Language',
45
+ maxResults: 'MaxResults',
46
+ nextToken: 'NextToken',
47
+ patchId: 'PatchId',
48
+ regionId: 'RegionId',
49
+ searchRegionId: 'SearchRegionId',
50
+ };
51
+ }
52
+ static types() {
53
+ return {
54
+ cveId: 'string',
55
+ includeDesktop: 'boolean',
56
+ language: 'string',
57
+ maxResults: 'number',
58
+ nextToken: 'string',
59
+ patchId: 'string',
60
+ regionId: 'string',
61
+ searchRegionId: 'string',
62
+ };
63
+ }
64
+ validate() {
65
+ super.validate();
66
+ }
67
+ constructor(map) {
68
+ super(map);
69
+ }
70
+ }
71
+ exports.DescribeVulnerabilityRequest = DescribeVulnerabilityRequest;
72
+ //# sourceMappingURL=DescribeVulnerabilityRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeVulnerabilityRequest.js","sourceRoot":"","sources":["../../src/models/DescribeVulnerabilityRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAkE3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,cAAc,EAAE,SAAS;YACzB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnGD,oEAmGC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeVulnerabilityResponseBody } from "./DescribeVulnerabilityResponseBody";
3
+ export declare class DescribeVulnerabilityResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeVulnerabilityResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeVulnerabilityResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeVulnerabilityResponseBody_1 = require("./DescribeVulnerabilityResponseBody");
40
+ class DescribeVulnerabilityResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DescribeVulnerabilityResponseBody_1.DescribeVulnerabilityResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DescribeVulnerabilityResponse = DescribeVulnerabilityResponse;
69
+ //# sourceMappingURL=DescribeVulnerabilityResponse.js.map