@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.
- package/dist/client.d.ts +280 -40
- package/dist/client.js +550 -40
- package/dist/client.js.map +1 -1
- package/dist/models/ConfigAdconnectorTrustRequest.d.ts +1 -1
- package/dist/models/CreateDesktopsRequest.d.ts +59 -59
- package/dist/models/CreateDesktopsResponseBody.d.ts +1 -1
- package/dist/models/CreateDesktopsShrinkRequest.d.ts +48 -48
- package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +7 -8
- package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -1
- package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +1 -1
- package/dist/models/DeleteDesktopsRequest.d.ts +1 -1
- package/dist/models/DescribeFlowMetricRequest.d.ts +5 -5
- package/dist/models/DescribeOfficeSitesRequest.d.ts +6 -6
- package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -23
- package/dist/models/DescribePeripheralDriversRequest.d.ts +86 -0
- package/dist/models/DescribePeripheralDriversRequest.js +77 -0
- package/dist/models/DescribePeripheralDriversRequest.js.map +1 -0
- package/dist/models/DescribePeripheralDriversResponse.d.ts +19 -0
- package/dist/models/DescribePeripheralDriversResponse.js +69 -0
- package/dist/models/DescribePeripheralDriversResponse.js.map +1 -0
- package/dist/models/DescribePeripheralDriversResponseBody.d.ts +141 -0
- package/dist/models/DescribePeripheralDriversResponseBody.js +104 -0
- package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -0
- package/dist/models/DescribeSnapshotsRequest.d.ts +4 -4
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +2 -2
- package/dist/models/DescribeVulDesktopsRequest.d.ts +137 -0
- package/dist/models/DescribeVulDesktopsRequest.js +92 -0
- package/dist/models/DescribeVulDesktopsRequest.js.map +1 -0
- package/dist/models/DescribeVulDesktopsResponse.d.ts +19 -0
- package/dist/models/DescribeVulDesktopsResponse.js +69 -0
- package/dist/models/DescribeVulDesktopsResponse.js.map +1 -0
- package/dist/models/DescribeVulDesktopsResponseBody.d.ts +273 -0
- package/dist/models/DescribeVulDesktopsResponseBody.js +177 -0
- package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -0
- package/dist/models/DescribeVulnerabilityRequest.d.ts +78 -0
- package/dist/models/DescribeVulnerabilityRequest.js +72 -0
- package/dist/models/DescribeVulnerabilityRequest.js.map +1 -0
- package/dist/models/DescribeVulnerabilityResponse.d.ts +19 -0
- package/dist/models/DescribeVulnerabilityResponse.js +69 -0
- package/dist/models/DescribeVulnerabilityResponse.js.map +1 -0
- package/dist/models/DescribeVulnerabilityResponseBody.d.ts +267 -0
- package/dist/models/DescribeVulnerabilityResponseBody.js +172 -0
- package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -0
- package/dist/models/ListDirectoryUsersRequest.d.ts +3 -3
- package/dist/models/ListDirectoryUsersResponseBody.d.ts +3 -3
- package/dist/models/MigrateDesktopsRequest.d.ts +3 -3
- package/dist/models/ModifyUserEntitlementRequest.d.ts +4 -4
- package/dist/models/QueryActiveUserStatisticRequest.d.ts +72 -0
- package/dist/models/QueryActiveUserStatisticRequest.js +66 -0
- package/dist/models/QueryActiveUserStatisticRequest.js.map +1 -0
- package/dist/models/QueryActiveUserStatisticResponse.d.ts +19 -0
- package/dist/models/QueryActiveUserStatisticResponse.js +69 -0
- package/dist/models/QueryActiveUserStatisticResponse.js.map +1 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +70 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.js +88 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.d.ts +50 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.js +66 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.d.ts +19 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.js +69 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +165 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.js +151 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.d.ts +61 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.js +68 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.d.ts +19 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.js +69 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.d.ts +70 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js +88 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js.map +1 -0
- package/dist/models/RebootDesktopsRequest.d.ts +9 -2
- package/dist/models/RebootDesktopsRequest.js.map +1 -1
- package/dist/models/RunCommandRequest.d.ts +8 -5
- package/dist/models/RunCommandRequest.js.map +1 -1
- package/dist/models/StartDesktopsRequest.d.ts +2 -2
- package/dist/models/model.d.ts +30 -0
- package/dist/models/model.js +82 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +610 -40
- package/src/models/ConfigAdconnectorTrustRequest.ts +1 -1
- package/src/models/CreateDesktopsRequest.ts +59 -59
- package/src/models/CreateDesktopsResponseBody.ts +1 -1
- package/src/models/CreateDesktopsShrinkRequest.ts +48 -48
- package/src/models/CreateOfficeSiteAcceleratorRequest.ts +7 -8
- package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +1 -1
- package/src/models/DeleteDesktopsRequest.ts +1 -1
- package/src/models/DescribeFlowMetricRequest.ts +5 -5
- package/src/models/DescribeOfficeSitesRequest.ts +6 -6
- package/src/models/DescribeOfficeSitesResponseBody.ts +23 -23
- package/src/models/DescribePeripheralDriversRequest.ts +118 -0
- package/src/models/DescribePeripheralDriversResponse.ts +40 -0
- package/src/models/DescribePeripheralDriversResponseBody.ts +191 -0
- package/src/models/DescribeSnapshotsRequest.ts +4 -4
- package/src/models/DescribeSnapshotsResponseBody.ts +2 -2
- package/src/models/DescribeVulDesktopsRequest.ts +184 -0
- package/src/models/DescribeVulDesktopsResponse.ts +40 -0
- package/src/models/DescribeVulDesktopsResponseBody.ts +378 -0
- package/src/models/DescribeVulnerabilityRequest.ts +105 -0
- package/src/models/DescribeVulnerabilityResponse.ts +40 -0
- package/src/models/DescribeVulnerabilityResponseBody.ts +367 -0
- package/src/models/ListDirectoryUsersRequest.ts +3 -3
- package/src/models/ListDirectoryUsersResponseBody.ts +3 -3
- package/src/models/MigrateDesktopsRequest.ts +3 -3
- package/src/models/ModifyUserEntitlementRequest.ts +4 -4
- package/src/models/QueryActiveUserStatisticRequest.ts +93 -0
- package/src/models/QueryActiveUserStatisticResponse.ts +40 -0
- package/src/models/QueryActiveUserStatisticResponseBody.ts +104 -0
- package/src/models/QueryEndUserHistoryUsageRequest.ts +71 -0
- package/src/models/QueryEndUserHistoryUsageResponse.ts +40 -0
- package/src/models/QueryEndUserHistoryUsageResponseBody.ts +244 -0
- package/src/models/QueryHistoryActiveUserStatisticRequest.ts +84 -0
- package/src/models/QueryHistoryActiveUserStatisticResponse.ts +40 -0
- package/src/models/QueryHistoryActiveUserStatisticResponseBody.ts +104 -0
- package/src/models/RebootDesktopsRequest.ts +9 -2
- package/src/models/RunCommandRequest.ts +8 -5
- package/src/models/StartDesktopsRequest.ts +2 -2
- package/src/models/model.ts +30 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeVulnerabilityResponseBody } from "./DescribeVulnerabilityResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeVulnerabilityResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeVulnerabilityResponseBody;
|
|
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: DescribeVulnerabilityResponseBody,
|
|
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,367 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeVulnerabilityResponseBodyVulnerabilityPatchesCves 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 severity level of the vulnerability.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* low
|
|
20
|
+
*/
|
|
21
|
+
cveLevel?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The name of the vulnerability.
|
|
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 impact 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 time when the vulnerability was disclosed.
|
|
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 DescribeVulnerabilityResponseBodyVulnerabilityPatches extends $dara.Model {
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The list of CVE details associated with the patch.
|
|
99
|
+
*/
|
|
100
|
+
cves?: DescribeVulnerabilityResponseBodyVulnerabilityPatchesCves[];
|
|
101
|
+
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* The time when the patch was disclosed.
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* 2026-08-11 00:00:00
|
|
107
|
+
*/
|
|
108
|
+
firstDetectedAt?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The patch ID.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* KB5120238
|
|
115
|
+
*/
|
|
116
|
+
patchId?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The patch level.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* high
|
|
123
|
+
*/
|
|
124
|
+
patchLevel?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* The patch title.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* 2026-08 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5120238)
|
|
131
|
+
*/
|
|
132
|
+
patchTitle?: string;
|
|
133
|
+
/**
|
|
134
|
+
* @remarks
|
|
135
|
+
* The URL of the patch.
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* https://support.microsoft.com/help/5120238
|
|
139
|
+
*/
|
|
140
|
+
patchUrl?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* The number of cloud desktops that can be upgraded to this version.
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* 20
|
|
147
|
+
*/
|
|
148
|
+
pendingDesktopCount?: number;
|
|
149
|
+
static names(): { [key: string]: string } {
|
|
150
|
+
return {
|
|
151
|
+
cves: 'Cves',
|
|
152
|
+
firstDetectedAt: 'FirstDetectedAt',
|
|
153
|
+
patchId: 'PatchId',
|
|
154
|
+
patchLevel: 'PatchLevel',
|
|
155
|
+
patchTitle: 'PatchTitle',
|
|
156
|
+
patchUrl: 'PatchUrl',
|
|
157
|
+
pendingDesktopCount: 'PendingDesktopCount',
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
static types(): { [key: string]: any } {
|
|
162
|
+
return {
|
|
163
|
+
cves: { 'type': 'array', 'itemType': DescribeVulnerabilityResponseBodyVulnerabilityPatchesCves },
|
|
164
|
+
firstDetectedAt: 'string',
|
|
165
|
+
patchId: 'string',
|
|
166
|
+
patchLevel: 'string',
|
|
167
|
+
patchTitle: 'string',
|
|
168
|
+
patchUrl: 'string',
|
|
169
|
+
pendingDesktopCount: 'number',
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
validate() {
|
|
174
|
+
if(Array.isArray(this.cves)) {
|
|
175
|
+
$dara.Model.validateArray(this.cves);
|
|
176
|
+
}
|
|
177
|
+
super.validate();
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
constructor(map?: { [key: string]: any }) {
|
|
181
|
+
super(map);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export class DescribeVulnerabilityResponseBodyVulnerability extends $dara.Model {
|
|
186
|
+
/**
|
|
187
|
+
* @remarks
|
|
188
|
+
* The number of cloud desktops on which no vulnerabilities are detected.
|
|
189
|
+
*
|
|
190
|
+
* @example
|
|
191
|
+
* 100
|
|
192
|
+
*/
|
|
193
|
+
cleanDesktopCount?: number;
|
|
194
|
+
/**
|
|
195
|
+
* @remarks
|
|
196
|
+
* The total number of processed vulnerabilities.
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* 600
|
|
200
|
+
*/
|
|
201
|
+
cumulativeProcessedVulCount?: number;
|
|
202
|
+
/**
|
|
203
|
+
* @remarks
|
|
204
|
+
* The number of cloud desktops that failed to be fixed this month.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* 0
|
|
208
|
+
*/
|
|
209
|
+
fixFailedDesktopCountThisMonth?: number;
|
|
210
|
+
/**
|
|
211
|
+
* @remarks
|
|
212
|
+
* The number of cloud desktops that were fixed this month.
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* 20
|
|
216
|
+
*/
|
|
217
|
+
fixedDesktopCountThisMonth?: number;
|
|
218
|
+
/**
|
|
219
|
+
* @remarks
|
|
220
|
+
* The list of patch details.
|
|
221
|
+
*/
|
|
222
|
+
patches?: DescribeVulnerabilityResponseBodyVulnerabilityPatches[];
|
|
223
|
+
/**
|
|
224
|
+
* @remarks
|
|
225
|
+
* The number of vulnerabilities pending fix.
|
|
226
|
+
*
|
|
227
|
+
* @example
|
|
228
|
+
* 330
|
|
229
|
+
*/
|
|
230
|
+
pendingVulCount?: number;
|
|
231
|
+
/**
|
|
232
|
+
* @remarks
|
|
233
|
+
* The number of cloud desktops being fixed.
|
|
234
|
+
*
|
|
235
|
+
* @example
|
|
236
|
+
* 160
|
|
237
|
+
*/
|
|
238
|
+
remediationInProgressDesktopCount?: number;
|
|
239
|
+
/**
|
|
240
|
+
* @remarks
|
|
241
|
+
* The total number of cloud desktops managed by patch management.
|
|
242
|
+
*
|
|
243
|
+
* @example
|
|
244
|
+
* 1000
|
|
245
|
+
*/
|
|
246
|
+
totalDesktopCount?: number;
|
|
247
|
+
/**
|
|
248
|
+
* @remarks
|
|
249
|
+
* The number of cloud desktops for which updates are blocked.
|
|
250
|
+
*
|
|
251
|
+
* @example
|
|
252
|
+
* 10
|
|
253
|
+
*/
|
|
254
|
+
updateBlockedDesktopCount?: number;
|
|
255
|
+
/**
|
|
256
|
+
* @remarks
|
|
257
|
+
* The number of cloud desktops with vulnerabilities.
|
|
258
|
+
*
|
|
259
|
+
* @example
|
|
260
|
+
* 200
|
|
261
|
+
*/
|
|
262
|
+
vulnerableDesktopCount?: number;
|
|
263
|
+
static names(): { [key: string]: string } {
|
|
264
|
+
return {
|
|
265
|
+
cleanDesktopCount: 'CleanDesktopCount',
|
|
266
|
+
cumulativeProcessedVulCount: 'CumulativeProcessedVulCount',
|
|
267
|
+
fixFailedDesktopCountThisMonth: 'FixFailedDesktopCountThisMonth',
|
|
268
|
+
fixedDesktopCountThisMonth: 'FixedDesktopCountThisMonth',
|
|
269
|
+
patches: 'Patches',
|
|
270
|
+
pendingVulCount: 'PendingVulCount',
|
|
271
|
+
remediationInProgressDesktopCount: 'RemediationInProgressDesktopCount',
|
|
272
|
+
totalDesktopCount: 'TotalDesktopCount',
|
|
273
|
+
updateBlockedDesktopCount: 'UpdateBlockedDesktopCount',
|
|
274
|
+
vulnerableDesktopCount: 'VulnerableDesktopCount',
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
static types(): { [key: string]: any } {
|
|
279
|
+
return {
|
|
280
|
+
cleanDesktopCount: 'number',
|
|
281
|
+
cumulativeProcessedVulCount: 'number',
|
|
282
|
+
fixFailedDesktopCountThisMonth: 'number',
|
|
283
|
+
fixedDesktopCountThisMonth: 'number',
|
|
284
|
+
patches: { 'type': 'array', 'itemType': DescribeVulnerabilityResponseBodyVulnerabilityPatches },
|
|
285
|
+
pendingVulCount: 'number',
|
|
286
|
+
remediationInProgressDesktopCount: 'number',
|
|
287
|
+
totalDesktopCount: 'number',
|
|
288
|
+
updateBlockedDesktopCount: 'number',
|
|
289
|
+
vulnerableDesktopCount: 'number',
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
validate() {
|
|
294
|
+
if(Array.isArray(this.patches)) {
|
|
295
|
+
$dara.Model.validateArray(this.patches);
|
|
296
|
+
}
|
|
297
|
+
super.validate();
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
constructor(map?: { [key: string]: any }) {
|
|
301
|
+
super(map);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export class DescribeVulnerabilityResponseBody extends $dara.Model {
|
|
306
|
+
/**
|
|
307
|
+
* @remarks
|
|
308
|
+
* The number of entries per page for a paged query.
|
|
309
|
+
*
|
|
310
|
+
* - Maximum value: 100.
|
|
311
|
+
* - Default value: 10.
|
|
312
|
+
*
|
|
313
|
+
* @example
|
|
314
|
+
* 10
|
|
315
|
+
*/
|
|
316
|
+
maxResults?: number;
|
|
317
|
+
/**
|
|
318
|
+
* @remarks
|
|
319
|
+
* The pagination token for the next query.
|
|
320
|
+
*
|
|
321
|
+
* @example
|
|
322
|
+
* caeba0bbb2be03f84eb48b699f0a4883
|
|
323
|
+
*/
|
|
324
|
+
nextToken?: string;
|
|
325
|
+
/**
|
|
326
|
+
* @remarks
|
|
327
|
+
* The request ID.
|
|
328
|
+
*
|
|
329
|
+
* @example
|
|
330
|
+
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
|
|
331
|
+
*/
|
|
332
|
+
requestId?: string;
|
|
333
|
+
/**
|
|
334
|
+
* @remarks
|
|
335
|
+
* The cloud desktop and vulnerability details.
|
|
336
|
+
*/
|
|
337
|
+
vulnerability?: DescribeVulnerabilityResponseBodyVulnerability;
|
|
338
|
+
static names(): { [key: string]: string } {
|
|
339
|
+
return {
|
|
340
|
+
maxResults: 'MaxResults',
|
|
341
|
+
nextToken: 'NextToken',
|
|
342
|
+
requestId: 'RequestId',
|
|
343
|
+
vulnerability: 'Vulnerability',
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
static types(): { [key: string]: any } {
|
|
348
|
+
return {
|
|
349
|
+
maxResults: 'number',
|
|
350
|
+
nextToken: 'string',
|
|
351
|
+
requestId: 'string',
|
|
352
|
+
vulnerability: DescribeVulnerabilityResponseBodyVulnerability,
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
validate() {
|
|
357
|
+
if(this.vulnerability && typeof (this.vulnerability as any).validate === 'function') {
|
|
358
|
+
(this.vulnerability as any).validate();
|
|
359
|
+
}
|
|
360
|
+
super.validate();
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
constructor(map?: { [key: string]: any }) {
|
|
364
|
+
super(map);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
@@ -23,7 +23,7 @@ export class ListDirectoryUsersRequest extends $dara.Model {
|
|
|
23
23
|
directoryId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The fuzzy
|
|
26
|
+
* The fuzzy search string. All results that contain this string are matched.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* alice
|
|
@@ -39,7 +39,7 @@ export class ListDirectoryUsersRequest extends $dara.Model {
|
|
|
39
39
|
includeAssignedUser?: boolean;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The number of entries per page for a
|
|
42
|
+
* The number of entries per page for a paginated query.
|
|
43
43
|
*
|
|
44
44
|
* - Maximum value: 100.
|
|
45
45
|
* - Default value: 10.
|
|
@@ -50,7 +50,7 @@ export class ListDirectoryUsersRequest extends $dara.Model {
|
|
|
50
50
|
maxResults?: number;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The
|
|
53
|
+
* The token for the next query. If this parameter is empty, no more results are available.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* caeba0bbb2be03f84eb48b699f0a4883
|
|
@@ -24,7 +24,7 @@ export class ListDirectoryUsersResponseBodyUsers extends $dara.Model {
|
|
|
24
24
|
* The new display name of the user.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
*
|
|
27
|
+
* Zhang San
|
|
28
28
|
*/
|
|
29
29
|
displayNameNew?: string;
|
|
30
30
|
/**
|
|
@@ -45,7 +45,7 @@ export class ListDirectoryUsersResponseBodyUsers extends $dara.Model {
|
|
|
45
45
|
endUser?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The phone number.
|
|
48
|
+
* The mobile phone number.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 130********
|
|
@@ -95,7 +95,7 @@ export class ListDirectoryUsersResponseBodyUsers extends $dara.Model {
|
|
|
95
95
|
export class ListDirectoryUsersResponseBody extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The
|
|
98
|
+
* The token for the next query. If this parameter is empty, no more results are available.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* caeba0bbb2be03f84eb48b699f0a4883
|
|
@@ -22,7 +22,7 @@ export class MigrateDesktopsRequest extends $dara.Model {
|
|
|
22
22
|
regionId?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The member IP address of the
|
|
25
|
+
* The member IP address of the destination node for migration.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 192.168.1.10
|
|
@@ -30,7 +30,7 @@ export class MigrateDesktopsRequest extends $dara.Model {
|
|
|
30
30
|
targetMemberIp?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The ID of the
|
|
33
|
+
* The ID of the destination office network.
|
|
34
34
|
*
|
|
35
35
|
* This parameter is required.
|
|
36
36
|
*
|
|
@@ -40,7 +40,7 @@ export class MigrateDesktopsRequest extends $dara.Model {
|
|
|
40
40
|
targetOfficeSiteId?: string;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* > This parameter is not
|
|
43
|
+
* > This parameter is not yet available for use.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* vsw-bp1m3o4kbjxwe****
|
|
@@ -5,17 +5,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyUserEntitlementRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The list of cloud computer IDs for which to add authorized users.
|
|
9
9
|
*/
|
|
10
10
|
authorizeDesktopId?: string[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The list of user IDs (usernames).
|
|
14
14
|
*/
|
|
15
15
|
endUserId?: string[];
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The region ID. You can call
|
|
18
|
+
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) to query the regions supported by Elastic Desktop Service.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -25,7 +25,7 @@ export class ModifyUserEntitlementRequest extends $dara.Model {
|
|
|
25
25
|
regionId?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The
|
|
28
|
+
* The list of cloud computer IDs for which to remove authorized users.
|
|
29
29
|
*/
|
|
30
30
|
revokeDesktopId?: string[];
|
|
31
31
|
static names(): { [key: string]: string } {
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryActiveUserStatisticRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The business channel type code. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* - 1 (default): Enterprise Edition.
|
|
11
|
+
* - 3: Cloud Office.
|
|
12
|
+
* - 10: Standard Edition.
|
|
13
|
+
* - 20: Business Edition.
|
|
14
|
+
* - 30: Education Business Edition.
|
|
15
|
+
* - 40: Cloud Phone isolated resources.
|
|
16
|
+
* - 50: AgentBay.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1
|
|
20
|
+
*/
|
|
21
|
+
bizType?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The end time of the query. The format is the same as StartTime. If the value is later than the current time, it is automatically truncated to the current time.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 2020-12-01T06:32:31Z
|
|
28
|
+
*/
|
|
29
|
+
endTime?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The workspace ID. If specified, only active users of cloud desktops in this workspace are counted.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* cn-hangzhou+dir-885351****
|
|
36
|
+
*/
|
|
37
|
+
officeSiteId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The aggregation interval for statistics. Valid values:
|
|
41
|
+
*
|
|
42
|
+
* - ONE_MINUTE: 1 minute.
|
|
43
|
+
* - TWO_MINUTE: 2 minutes.
|
|
44
|
+
* - FIVE_MINUTE (default): 5 minutes.
|
|
45
|
+
* - ONE_HOUR: 1 hour.
|
|
46
|
+
* - ONE_DAY: 1 day.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* FIVE_MINUTE
|
|
50
|
+
*/
|
|
51
|
+
period?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The start time of the query. The following formats are supported:
|
|
55
|
+
*
|
|
56
|
+
* - UTC format: yyyy-MM-ddTHH:mm:ssZ.
|
|
57
|
+
* - Standard format: yyyy-MM-dd HH:mm:ss.
|
|
58
|
+
*
|
|
59
|
+
* The value cannot be earlier than 6 months before the current time or later than EndTime.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* 2020-11-30T06:32:31Z
|
|
63
|
+
*/
|
|
64
|
+
startTime?: string;
|
|
65
|
+
static names(): { [key: string]: string } {
|
|
66
|
+
return {
|
|
67
|
+
bizType: 'BizType',
|
|
68
|
+
endTime: 'EndTime',
|
|
69
|
+
officeSiteId: 'OfficeSiteId',
|
|
70
|
+
period: 'Period',
|
|
71
|
+
startTime: 'StartTime',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
static types(): { [key: string]: any } {
|
|
76
|
+
return {
|
|
77
|
+
bizType: 'number',
|
|
78
|
+
endTime: 'string',
|
|
79
|
+
officeSiteId: 'string',
|
|
80
|
+
period: 'string',
|
|
81
|
+
startTime: 'string',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
validate() {
|
|
86
|
+
super.validate();
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
constructor(map?: { [key: string]: any }) {
|
|
90
|
+
super(map);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { QueryActiveUserStatisticResponseBody } from "./QueryActiveUserStatisticResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryActiveUserStatisticResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryActiveUserStatisticResponseBody;
|
|
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: QueryActiveUserStatisticResponseBody,
|
|
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
|
+
|