@alicloud/ecd20201002 2.1.6 → 2.1.9

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/src/client.ts CHANGED
@@ -7,26 +7,47 @@ import * as $dara from '@darabonba/typescript';
7
7
 
8
8
  export class DescribeDirectoriesResponseBodyDirectories extends $dara.Model {
9
9
  /**
10
+ * @remarks
11
+ * The connection method.
12
+ *
13
+ * Valid values:
14
+ *
15
+ * * VPC: End users connect to cloud computers over an enterprise virtual private cloud (VPC).
16
+ * * INTERNET: End users connect to cloud computers over the Internet.
17
+ * * ANY: End users connect to cloud computers over the Internet or an enterprise VPC.
18
+ *
10
19
  * @example
11
20
  * INTERNET
12
21
  */
13
22
  desktopAccessType?: string;
14
23
  /**
24
+ * @remarks
25
+ * The directory ID.
26
+ *
15
27
  * @example
16
28
  * cn-hangzhou+dir-gx2x1dhsmu52rd****
17
29
  */
18
30
  directoryId?: string;
19
31
  /**
32
+ * @remarks
33
+ * The directory type.
34
+ *
20
35
  * @example
21
36
  * AD_CONNECTOR
22
37
  */
23
38
  directoryType?: string;
24
39
  /**
40
+ * @remarks
41
+ * The provider ID.
42
+ *
25
43
  * @example
26
44
  * 26842
27
45
  */
28
46
  providerId?: string;
29
47
  /**
48
+ * @remarks
49
+ * The URL of the SSO service.
50
+ *
30
51
  * @example
31
52
  * https://eds-cn-shanghai-67726****
32
53
  */
@@ -62,36 +83,57 @@ export class DescribeDirectoriesResponseBodyDirectories extends $dara.Model {
62
83
 
63
84
  export class DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates extends $dara.Model {
64
85
  /**
86
+ * @remarks
87
+ * The client ID. The system generates a unique ID for each client.
88
+ *
65
89
  * @example
66
90
  * 2258a3d5-b8f8-4d79-a221-eaecf211****
67
91
  */
68
92
  clientId?: string;
69
93
  /**
94
+ * @remarks
95
+ * The time when the template was created.
96
+ *
70
97
  * @example
71
98
  * 2022-03-13T13:26:29Z
72
99
  */
73
100
  creationTime?: string;
74
101
  /**
102
+ * @remarks
103
+ * The description of the template.
104
+ *
75
105
  * @example
76
106
  * Finger 1
77
107
  */
78
108
  description?: string;
79
109
  /**
110
+ * @remarks
111
+ * The user ID.
112
+ *
80
113
  * @example
81
114
  * liming
82
115
  */
83
116
  endUserId?: string;
84
117
  /**
118
+ * @remarks
119
+ * The index.
120
+ *
85
121
  * @example
86
122
  * 1
87
123
  */
88
124
  index?: number;
89
125
  /**
126
+ * @remarks
127
+ * The logon time.
128
+ *
90
129
  * @example
91
130
  * 2022-03-13T13:26:29Z
92
131
  */
93
132
  loginTime?: string;
94
133
  /**
134
+ * @remarks
135
+ * The office network ID.
136
+ *
95
137
  * @example
96
138
  * cn-hangzhou+dir-074949****
97
139
  */
@@ -725,11 +767,17 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
725
767
 
726
768
  export class DescribeRegionsResponseBodyRegions extends $dara.Model {
727
769
  /**
770
+ * @remarks
771
+ * The region endpoint.
772
+ *
728
773
  * @example
729
774
  * ecd.cn-hangzhou.aliyuncs.com
730
775
  */
731
776
  regionEndpoint?: string;
732
777
  /**
778
+ * @remarks
779
+ * The region ID.
780
+ *
733
781
  * @example
734
782
  * cn-hangzhou
735
783
  */
@@ -860,56 +908,28 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
860
908
  }
861
909
  }
862
910
 
863
- export class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model {
864
- /**
865
- * @example
866
- * h****
867
- */
868
- domainId?: string;
911
+ export class DescribeUserResourcesResponseBodyResourcesClients extends $dara.Model {
869
912
  /**
870
913
  * @example
871
- * 2022-10-10T04:41:35Z
914
+ * windows
872
915
  */
873
- expiredAfter?: string;
916
+ clientType?: string;
874
917
  /**
875
918
  * @example
876
- * enabled
919
+ * ON
877
920
  */
878
921
  status?: string;
879
- /**
880
- * @example
881
- * 7836fa6eced7dc8d54c775k34iu3h4i2kh534f****
882
- */
883
- token?: string;
884
- /**
885
- * @example
886
- * 6050416754750
887
- */
888
- totalSize?: number;
889
- /**
890
- * @example
891
- * 605089
892
- */
893
- usedSize?: number;
894
922
  static names(): { [key: string]: string } {
895
923
  return {
896
- domainId: 'DomainId',
897
- expiredAfter: 'ExpiredAfter',
924
+ clientType: 'ClientType',
898
925
  status: 'Status',
899
- token: 'Token',
900
- totalSize: 'TotalSize',
901
- usedSize: 'UsedSize',
902
926
  };
903
927
  }
904
928
 
905
929
  static types(): { [key: string]: any } {
906
930
  return {
907
- domainId: 'string',
908
- expiredAfter: 'string',
931
+ clientType: 'string',
909
932
  status: 'string',
910
- token: 'string',
911
- totalSize: 'number',
912
- usedSize: 'number',
913
933
  };
914
934
  }
915
935
 
@@ -922,20 +942,98 @@ export class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model
922
942
  }
923
943
  }
924
944
 
925
- export class GetConnectionTicketRequestTag extends $dara.Model {
926
- key?: string;
927
- value?: string;
945
+ export class DescribeUserResourcesResponseBodyResourcesDesktopDurationList extends $dara.Model {
946
+ /**
947
+ * @example
948
+ * mdp-0bxls4qpi6bl6****
949
+ */
950
+ orderInstanceId?: string;
951
+ /**
952
+ * @example
953
+ * 2025-01-17T07:01Z
954
+ */
955
+ packageCreationTime?: string;
956
+ /**
957
+ * @example
958
+ * 2025-02-17T15:59Z
959
+ */
960
+ packageExpiredTime?: string;
961
+ /**
962
+ * @example
963
+ * mdp-0bxls4qpi6bl6****
964
+ */
965
+ packageId?: string;
966
+ /**
967
+ * @example
968
+ * Available
969
+ */
970
+ packageStatus?: string;
971
+ /**
972
+ * @example
973
+ * NORMAL_PACKAGE
974
+ */
975
+ packageType?: string;
976
+ /**
977
+ * @example
978
+ * Postpaid
979
+ */
980
+ packageUsedUpStrategy?: string;
981
+ /**
982
+ * @example
983
+ * 2025-02-17T15:59Z
984
+ */
985
+ periodEndTime?: string;
986
+ /**
987
+ * @example
988
+ * 2025-01-17T07:01Z
989
+ */
990
+ periodStartTime?: string;
991
+ /**
992
+ * @example
993
+ * 199
994
+ */
995
+ postPaidLimitFee?: number;
996
+ /**
997
+ * @example
998
+ * 432000
999
+ */
1000
+ totalDuration?: number;
1001
+ /**
1002
+ * @example
1003
+ * 16850
1004
+ */
1005
+ usedDuration?: number;
928
1006
  static names(): { [key: string]: string } {
929
1007
  return {
930
- key: 'Key',
931
- value: 'Value',
1008
+ orderInstanceId: 'OrderInstanceId',
1009
+ packageCreationTime: 'PackageCreationTime',
1010
+ packageExpiredTime: 'PackageExpiredTime',
1011
+ packageId: 'PackageId',
1012
+ packageStatus: 'PackageStatus',
1013
+ packageType: 'PackageType',
1014
+ packageUsedUpStrategy: 'PackageUsedUpStrategy',
1015
+ periodEndTime: 'PeriodEndTime',
1016
+ periodStartTime: 'PeriodStartTime',
1017
+ postPaidLimitFee: 'PostPaidLimitFee',
1018
+ totalDuration: 'TotalDuration',
1019
+ usedDuration: 'UsedDuration',
932
1020
  };
933
1021
  }
934
1022
 
935
1023
  static types(): { [key: string]: any } {
936
1024
  return {
937
- key: 'string',
938
- value: 'string',
1025
+ orderInstanceId: 'string',
1026
+ packageCreationTime: 'string',
1027
+ packageExpiredTime: 'string',
1028
+ packageId: 'string',
1029
+ packageStatus: 'string',
1030
+ packageType: 'string',
1031
+ packageUsedUpStrategy: 'string',
1032
+ periodEndTime: 'string',
1033
+ periodStartTime: 'string',
1034
+ postPaidLimitFee: 'number',
1035
+ totalDuration: 'number',
1036
+ usedDuration: 'number',
939
1037
  };
940
1038
  }
941
1039
 
@@ -948,38 +1046,74 @@ export class GetConnectionTicketRequestTag extends $dara.Model {
948
1046
  }
949
1047
  }
950
1048
 
951
- export class GetLoginTokenResponseBodyPasswordStrategy extends $dara.Model {
1049
+ export class DescribeUserResourcesResponseBodyResourcesDesktopTimers extends $dara.Model {
952
1050
  /**
953
- * @remarks
954
- * > This is a parameter only for internal use.
1051
+ * @example
1052
+ * false
955
1053
  */
956
- tenantAlternativeChars?: string[];
1054
+ allowClientSetting?: string;
957
1055
  /**
958
- * @remarks
959
- * > This is a parameter only for internal use.
960
- *
961
1056
  * @example
962
- * null
1057
+ * 0 30 13 ? * 1-7
963
1058
  */
964
- tenantPasswordLength?: string;
1059
+ cronExpression?: string;
1060
+ /**
1061
+ * @example
1062
+ * false
1063
+ */
1064
+ enforce?: boolean;
1065
+ /**
1066
+ * @example
1067
+ * 2025-01-21T11:37Z
1068
+ */
1069
+ executionTime?: string;
1070
+ /**
1071
+ * @example
1072
+ * 15
1073
+ */
1074
+ interval?: number;
1075
+ /**
1076
+ * @example
1077
+ * Hibernate
1078
+ */
1079
+ operationType?: string;
1080
+ /**
1081
+ * @example
1082
+ * RESET_TYPE_SYSTEM
1083
+ */
1084
+ resetType?: string;
1085
+ /**
1086
+ * @example
1087
+ * TimerBoot
1088
+ */
1089
+ timerType?: string;
965
1090
  static names(): { [key: string]: string } {
966
1091
  return {
967
- tenantAlternativeChars: 'TenantAlternativeChars',
968
- tenantPasswordLength: 'TenantPasswordLength',
1092
+ allowClientSetting: 'AllowClientSetting',
1093
+ cronExpression: 'CronExpression',
1094
+ enforce: 'Enforce',
1095
+ executionTime: 'ExecutionTime',
1096
+ interval: 'Interval',
1097
+ operationType: 'OperationType',
1098
+ resetType: 'ResetType',
1099
+ timerType: 'TimerType',
969
1100
  };
970
1101
  }
971
1102
 
972
1103
  static types(): { [key: string]: any } {
973
1104
  return {
974
- tenantAlternativeChars: { 'type': 'array', 'itemType': 'string' },
975
- tenantPasswordLength: 'string',
1105
+ allowClientSetting: 'string',
1106
+ cronExpression: 'string',
1107
+ enforce: 'boolean',
1108
+ executionTime: 'string',
1109
+ interval: 'number',
1110
+ operationType: 'string',
1111
+ resetType: 'string',
1112
+ timerType: 'string',
976
1113
  };
977
1114
  }
978
1115
 
979
1116
  validate() {
980
- if(Array.isArray(this.tenantAlternativeChars)) {
981
- $dara.Model.validateArray(this.tenantAlternativeChars);
982
- }
983
1117
  super.validate();
984
1118
  }
985
1119
 
@@ -988,54 +1122,84 @@ export class GetLoginTokenResponseBodyPasswordStrategy extends $dara.Model {
988
1122
  }
989
1123
  }
990
1124
 
991
- export class GetLoginTokenResponseBodyRiskVerifyInfo extends $dara.Model {
1125
+ export class DescribeUserResourcesResponseBodyResourcesFotaUpdate extends $dara.Model {
992
1126
  /**
993
- * @remarks
994
- * The email used for authentication.
995
- *
996
1127
  * @example
997
- * user@example.com
1128
+ * aliyun
998
1129
  */
999
- email?: string;
1130
+ channel?: string;
1000
1131
  /**
1001
- * @remarks
1002
- * The duration of the lock.
1003
- *
1004
1132
  * @example
1005
- * 1713749778
1133
+ * 2.7.0-R-20250122.154826
1006
1134
  */
1007
- lastLockDuration?: number;
1135
+ currentAppVersion?: string;
1008
1136
  /**
1009
- * @remarks
1010
- * Whether the account is locked or not.
1011
- *
1012
1137
  * @example
1013
- * true
1138
+ * false
1014
1139
  */
1015
- locked?: string;
1140
+ force?: boolean;
1016
1141
  /**
1017
- * @remarks
1018
- * The mobile number used for authentication.
1019
- *
1020
1142
  * @example
1021
- * 1388888****
1143
+ * 2.7.0-R-20250125.154826
1022
1144
  */
1023
- phone?: string;
1145
+ newAppVersion?: string;
1146
+ /**
1147
+ * @example
1148
+ * 2.6.9-R-20250123.153415
1149
+ */
1150
+ newDcdVersion?: string;
1151
+ /**
1152
+ * @example
1153
+ * wuying-asp_single_session_desktop_win_x64
1154
+ */
1155
+ project?: string;
1156
+ /**
1157
+ * @example
1158
+ * up
1159
+ */
1160
+ releaseNote?: string;
1161
+ /**
1162
+ * @example
1163
+ * up
1164
+ */
1165
+ releaseNoteEn?: string;
1166
+ /**
1167
+ * @example
1168
+ * up
1169
+ */
1170
+ releaseNoteJp?: string;
1171
+ /**
1172
+ * @example
1173
+ * 474981930
1174
+ */
1175
+ size?: string;
1024
1176
  static names(): { [key: string]: string } {
1025
1177
  return {
1026
- email: 'Email',
1027
- lastLockDuration: 'LastLockDuration',
1028
- locked: 'Locked',
1029
- phone: 'Phone',
1178
+ channel: 'Channel',
1179
+ currentAppVersion: 'CurrentAppVersion',
1180
+ force: 'Force',
1181
+ newAppVersion: 'NewAppVersion',
1182
+ newDcdVersion: 'NewDcdVersion',
1183
+ project: 'Project',
1184
+ releaseNote: 'ReleaseNote',
1185
+ releaseNoteEn: 'ReleaseNoteEn',
1186
+ releaseNoteJp: 'ReleaseNoteJp',
1187
+ size: 'Size',
1030
1188
  };
1031
1189
  }
1032
1190
 
1033
1191
  static types(): { [key: string]: any } {
1034
1192
  return {
1035
- email: 'string',
1036
- lastLockDuration: 'number',
1037
- locked: 'string',
1038
- phone: 'string',
1193
+ channel: 'string',
1194
+ currentAppVersion: 'string',
1195
+ force: 'boolean',
1196
+ newAppVersion: 'string',
1197
+ newDcdVersion: 'string',
1198
+ project: 'string',
1199
+ releaseNote: 'string',
1200
+ releaseNoteEn: 'string',
1201
+ releaseNoteJp: 'string',
1202
+ size: 'string',
1039
1203
  };
1040
1204
  }
1041
1205
 
@@ -1048,11 +1212,656 @@ export class GetLoginTokenResponseBodyRiskVerifyInfo extends $dara.Model {
1048
1212
  }
1049
1213
  }
1050
1214
 
1051
- export class QueryEdsAgentReportConfigResponseBodyData extends $dara.Model {
1052
- config?: string;
1215
+ export class DescribeUserResourcesResponseBodyResourcesOsUpdatePackages extends $dara.Model {
1216
+ description?: string;
1217
+ kb?: string;
1218
+ title?: string;
1053
1219
  static names(): { [key: string]: string } {
1054
1220
  return {
1055
- config: 'Config',
1221
+ description: 'Description',
1222
+ kb: 'Kb',
1223
+ title: 'Title',
1224
+ };
1225
+ }
1226
+
1227
+ static types(): { [key: string]: any } {
1228
+ return {
1229
+ description: 'string',
1230
+ kb: 'string',
1231
+ title: 'string',
1232
+ };
1233
+ }
1234
+
1235
+ validate() {
1236
+ super.validate();
1237
+ }
1238
+
1239
+ constructor(map?: { [key: string]: any }) {
1240
+ super(map);
1241
+ }
1242
+ }
1243
+
1244
+ export class DescribeUserResourcesResponseBodyResourcesOsUpdate extends $dara.Model {
1245
+ checkId?: string;
1246
+ kbListString?: string;
1247
+ packageCount?: number;
1248
+ packages?: DescribeUserResourcesResponseBodyResourcesOsUpdatePackages[];
1249
+ updateCatalogUrl?: string;
1250
+ static names(): { [key: string]: string } {
1251
+ return {
1252
+ checkId: 'CheckId',
1253
+ kbListString: 'KbListString',
1254
+ packageCount: 'PackageCount',
1255
+ packages: 'Packages',
1256
+ updateCatalogUrl: 'UpdateCatalogUrl',
1257
+ };
1258
+ }
1259
+
1260
+ static types(): { [key: string]: any } {
1261
+ return {
1262
+ checkId: 'string',
1263
+ kbListString: 'string',
1264
+ packageCount: 'number',
1265
+ packages: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesOsUpdatePackages },
1266
+ updateCatalogUrl: 'string',
1267
+ };
1268
+ }
1269
+
1270
+ validate() {
1271
+ if(Array.isArray(this.packages)) {
1272
+ $dara.Model.validateArray(this.packages);
1273
+ }
1274
+ super.validate();
1275
+ }
1276
+
1277
+ constructor(map?: { [key: string]: any }) {
1278
+ super(map);
1279
+ }
1280
+ }
1281
+
1282
+ export class DescribeUserResourcesResponseBodyResourcesSessions extends $dara.Model {
1283
+ /**
1284
+ * @example
1285
+ * 2025-01-22T11:03:36Z
1286
+ */
1287
+ resourceSessionStartTime?: string;
1288
+ /**
1289
+ * @example
1290
+ * user001
1291
+ */
1292
+ userId?: string;
1293
+ /**
1294
+ * @example
1295
+ * benchmark_test@test.shenzhen
1296
+ */
1297
+ userPrincipalName?: string;
1298
+ static names(): { [key: string]: string } {
1299
+ return {
1300
+ resourceSessionStartTime: 'ResourceSessionStartTime',
1301
+ userId: 'UserId',
1302
+ userPrincipalName: 'UserPrincipalName',
1303
+ };
1304
+ }
1305
+
1306
+ static types(): { [key: string]: any } {
1307
+ return {
1308
+ resourceSessionStartTime: 'string',
1309
+ userId: 'string',
1310
+ userPrincipalName: 'string',
1311
+ };
1312
+ }
1313
+
1314
+ validate() {
1315
+ super.validate();
1316
+ }
1317
+
1318
+ constructor(map?: { [key: string]: any }) {
1319
+ super(map);
1320
+ }
1321
+ }
1322
+
1323
+ export class DescribeUserResourcesResponseBodyResources extends $dara.Model {
1324
+ /**
1325
+ * @example
1326
+ * INTERNET
1327
+ */
1328
+ accessType?: string;
1329
+ /**
1330
+ * @example
1331
+ * 194101959****
1332
+ */
1333
+ aliUid?: number;
1334
+ /**
1335
+ * @example
1336
+ * app-0001
1337
+ */
1338
+ appId?: string;
1339
+ /**
1340
+ * @example
1341
+ * App
1342
+ */
1343
+ authMode?: string;
1344
+ /**
1345
+ * @example
1346
+ * 0
1347
+ */
1348
+ categoryId?: number;
1349
+ /**
1350
+ * @example
1351
+ * 1
1352
+ */
1353
+ categoryType?: number;
1354
+ /**
1355
+ * @example
1356
+ * cn-shanghai+cds-695277****
1357
+ */
1358
+ cdsName?: string;
1359
+ /**
1360
+ * @example
1361
+ * ecds-0****
1362
+ */
1363
+ centerResourceId?: string;
1364
+ /**
1365
+ * @example
1366
+ * PrePaid
1367
+ */
1368
+ chargeType?: string;
1369
+ clients?: DescribeUserResourcesResponseBodyResourcesClients[];
1370
+ /**
1371
+ * @example
1372
+ * {"authMode":"App"}
1373
+ */
1374
+ connectionProperties?: string;
1375
+ /**
1376
+ * @example
1377
+ * 2024-12-11T07:12:12Z
1378
+ */
1379
+ createTime?: string;
1380
+ desktopDurationList?: DescribeUserResourcesResponseBodyResourcesDesktopDurationList[];
1381
+ desktopTimers?: DescribeUserResourcesResponseBodyResourcesDesktopTimers[];
1382
+ /**
1383
+ * @example
1384
+ * 2025-02-22T16:00:00Z
1385
+ */
1386
+ expiredTime?: string;
1387
+ /**
1388
+ * @example
1389
+ * stg114510
1390
+ */
1391
+ externalDomainId?: string;
1392
+ /**
1393
+ * @example
1394
+ * test001
1395
+ */
1396
+ externalUserId?: string;
1397
+ fotaUpdate?: DescribeUserResourcesResponseBodyResourcesFotaUpdate;
1398
+ /**
1399
+ * @example
1400
+ * true
1401
+ */
1402
+ globalStatus?: boolean;
1403
+ hasUpgrade?: boolean;
1404
+ /**
1405
+ * @example
1406
+ * false
1407
+ */
1408
+ hibernationBeta?: boolean;
1409
+ /**
1410
+ * @example
1411
+ * http://example.com/icon.png
1412
+ */
1413
+ icon?: string;
1414
+ /**
1415
+ * @example
1416
+ * 2025-01-24T03:12:04Z
1417
+ */
1418
+ lastStartTime?: string;
1419
+ localName?: string;
1420
+ managementStatuses?: string[];
1421
+ /**
1422
+ * @example
1423
+ * cn-shanghai+dir-3367****
1424
+ */
1425
+ officeSiteId?: string;
1426
+ /**
1427
+ * @example
1428
+ * Normal
1429
+ */
1430
+ orderStatus?: string;
1431
+ /**
1432
+ * @example
1433
+ * Windows Server 2022
1434
+ */
1435
+ os?: string;
1436
+ osDescription?: string;
1437
+ /**
1438
+ * @example
1439
+ * Windows
1440
+ */
1441
+ osType?: string;
1442
+ osUpdate?: DescribeUserResourcesResponseBodyResourcesOsUpdate;
1443
+ /**
1444
+ * @example
1445
+ * AndroidCloud
1446
+ */
1447
+ productType?: string;
1448
+ /**
1449
+ * @example
1450
+ * ASP
1451
+ */
1452
+ protocolType?: string;
1453
+ /**
1454
+ * @example
1455
+ * ecd-0001
1456
+ */
1457
+ realDesktopId?: string;
1458
+ /**
1459
+ * @example
1460
+ * cn-hangzhou
1461
+ */
1462
+ regionId?: string;
1463
+ /**
1464
+ * @example
1465
+ * Mainland
1466
+ */
1467
+ regionLocation?: string;
1468
+ /**
1469
+ * @example
1470
+ * dg-0****
1471
+ */
1472
+ resourceGroupId?: string;
1473
+ /**
1474
+ * @example
1475
+ * ecd-d19tya8zi4****
1476
+ */
1477
+ resourceId?: string;
1478
+ /**
1479
+ * @example
1480
+ * Center
1481
+ */
1482
+ resourceLevel?: string;
1483
+ /**
1484
+ * @example
1485
+ * testName01
1486
+ */
1487
+ resourceName?: string;
1488
+ /**
1489
+ * @example
1490
+ * Connected
1491
+ */
1492
+ resourceSessionStatus?: string;
1493
+ /**
1494
+ * @example
1495
+ * Running
1496
+ */
1497
+ resourceStatus?: string;
1498
+ /**
1499
+ * @example
1500
+ * Desktop
1501
+ */
1502
+ resourceType?: string;
1503
+ /**
1504
+ * @example
1505
+ * SINGLE_SESSION
1506
+ */
1507
+ sessionType?: string;
1508
+ sessions?: DescribeUserResourcesResponseBodyResourcesSessions[];
1509
+ /**
1510
+ * @example
1511
+ * PrePaid
1512
+ */
1513
+ subPayType?: string;
1514
+ /**
1515
+ * @example
1516
+ * true
1517
+ */
1518
+ supportHibernation?: boolean;
1519
+ supportedActions?: string[];
1520
+ /**
1521
+ * @example
1522
+ * #FFFFFF
1523
+ */
1524
+ themeColor?: string;
1525
+ userCustomName?: string;
1526
+ version?: string;
1527
+ static names(): { [key: string]: string } {
1528
+ return {
1529
+ accessType: 'AccessType',
1530
+ aliUid: 'AliUid',
1531
+ appId: 'AppId',
1532
+ authMode: 'AuthMode',
1533
+ categoryId: 'CategoryId',
1534
+ categoryType: 'CategoryType',
1535
+ cdsName: 'CdsName',
1536
+ centerResourceId: 'CenterResourceId',
1537
+ chargeType: 'ChargeType',
1538
+ clients: 'Clients',
1539
+ connectionProperties: 'ConnectionProperties',
1540
+ createTime: 'CreateTime',
1541
+ desktopDurationList: 'DesktopDurationList',
1542
+ desktopTimers: 'DesktopTimers',
1543
+ expiredTime: 'ExpiredTime',
1544
+ externalDomainId: 'ExternalDomainId',
1545
+ externalUserId: 'ExternalUserId',
1546
+ fotaUpdate: 'FotaUpdate',
1547
+ globalStatus: 'GlobalStatus',
1548
+ hasUpgrade: 'HasUpgrade',
1549
+ hibernationBeta: 'HibernationBeta',
1550
+ icon: 'Icon',
1551
+ lastStartTime: 'LastStartTime',
1552
+ localName: 'LocalName',
1553
+ managementStatuses: 'ManagementStatuses',
1554
+ officeSiteId: 'OfficeSiteId',
1555
+ orderStatus: 'OrderStatus',
1556
+ os: 'Os',
1557
+ osDescription: 'OsDescription',
1558
+ osType: 'OsType',
1559
+ osUpdate: 'OsUpdate',
1560
+ productType: 'ProductType',
1561
+ protocolType: 'ProtocolType',
1562
+ realDesktopId: 'RealDesktopId',
1563
+ regionId: 'RegionId',
1564
+ regionLocation: 'RegionLocation',
1565
+ resourceGroupId: 'ResourceGroupId',
1566
+ resourceId: 'ResourceId',
1567
+ resourceLevel: 'ResourceLevel',
1568
+ resourceName: 'ResourceName',
1569
+ resourceSessionStatus: 'ResourceSessionStatus',
1570
+ resourceStatus: 'ResourceStatus',
1571
+ resourceType: 'ResourceType',
1572
+ sessionType: 'SessionType',
1573
+ sessions: 'Sessions',
1574
+ subPayType: 'SubPayType',
1575
+ supportHibernation: 'SupportHibernation',
1576
+ supportedActions: 'SupportedActions',
1577
+ themeColor: 'ThemeColor',
1578
+ userCustomName: 'UserCustomName',
1579
+ version: 'Version',
1580
+ };
1581
+ }
1582
+
1583
+ static types(): { [key: string]: any } {
1584
+ return {
1585
+ accessType: 'string',
1586
+ aliUid: 'number',
1587
+ appId: 'string',
1588
+ authMode: 'string',
1589
+ categoryId: 'number',
1590
+ categoryType: 'number',
1591
+ cdsName: 'string',
1592
+ centerResourceId: 'string',
1593
+ chargeType: 'string',
1594
+ clients: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesClients },
1595
+ connectionProperties: 'string',
1596
+ createTime: 'string',
1597
+ desktopDurationList: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesDesktopDurationList },
1598
+ desktopTimers: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesDesktopTimers },
1599
+ expiredTime: 'string',
1600
+ externalDomainId: 'string',
1601
+ externalUserId: 'string',
1602
+ fotaUpdate: DescribeUserResourcesResponseBodyResourcesFotaUpdate,
1603
+ globalStatus: 'boolean',
1604
+ hasUpgrade: 'boolean',
1605
+ hibernationBeta: 'boolean',
1606
+ icon: 'string',
1607
+ lastStartTime: 'string',
1608
+ localName: 'string',
1609
+ managementStatuses: { 'type': 'array', 'itemType': 'string' },
1610
+ officeSiteId: 'string',
1611
+ orderStatus: 'string',
1612
+ os: 'string',
1613
+ osDescription: 'string',
1614
+ osType: 'string',
1615
+ osUpdate: DescribeUserResourcesResponseBodyResourcesOsUpdate,
1616
+ productType: 'string',
1617
+ protocolType: 'string',
1618
+ realDesktopId: 'string',
1619
+ regionId: 'string',
1620
+ regionLocation: 'string',
1621
+ resourceGroupId: 'string',
1622
+ resourceId: 'string',
1623
+ resourceLevel: 'string',
1624
+ resourceName: 'string',
1625
+ resourceSessionStatus: 'string',
1626
+ resourceStatus: 'string',
1627
+ resourceType: 'string',
1628
+ sessionType: 'string',
1629
+ sessions: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesSessions },
1630
+ subPayType: 'string',
1631
+ supportHibernation: 'boolean',
1632
+ supportedActions: { 'type': 'array', 'itemType': 'string' },
1633
+ themeColor: 'string',
1634
+ userCustomName: 'string',
1635
+ version: 'string',
1636
+ };
1637
+ }
1638
+
1639
+ validate() {
1640
+ if(Array.isArray(this.clients)) {
1641
+ $dara.Model.validateArray(this.clients);
1642
+ }
1643
+ if(Array.isArray(this.desktopDurationList)) {
1644
+ $dara.Model.validateArray(this.desktopDurationList);
1645
+ }
1646
+ if(Array.isArray(this.desktopTimers)) {
1647
+ $dara.Model.validateArray(this.desktopTimers);
1648
+ }
1649
+ if(this.fotaUpdate && typeof (this.fotaUpdate as any).validate === 'function') {
1650
+ (this.fotaUpdate as any).validate();
1651
+ }
1652
+ if(Array.isArray(this.managementStatuses)) {
1653
+ $dara.Model.validateArray(this.managementStatuses);
1654
+ }
1655
+ if(this.osUpdate && typeof (this.osUpdate as any).validate === 'function') {
1656
+ (this.osUpdate as any).validate();
1657
+ }
1658
+ if(Array.isArray(this.sessions)) {
1659
+ $dara.Model.validateArray(this.sessions);
1660
+ }
1661
+ if(Array.isArray(this.supportedActions)) {
1662
+ $dara.Model.validateArray(this.supportedActions);
1663
+ }
1664
+ super.validate();
1665
+ }
1666
+
1667
+ constructor(map?: { [key: string]: any }) {
1668
+ super(map);
1669
+ }
1670
+ }
1671
+
1672
+ export class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model {
1673
+ /**
1674
+ * @example
1675
+ * h****
1676
+ */
1677
+ domainId?: string;
1678
+ /**
1679
+ * @example
1680
+ * 2022-10-10T04:41:35Z
1681
+ */
1682
+ expiredAfter?: string;
1683
+ /**
1684
+ * @example
1685
+ * enabled
1686
+ */
1687
+ status?: string;
1688
+ /**
1689
+ * @example
1690
+ * 7836fa6eced7dc8d54c775k34iu3h4i2kh534f****
1691
+ */
1692
+ token?: string;
1693
+ /**
1694
+ * @example
1695
+ * 6050416754750
1696
+ */
1697
+ totalSize?: number;
1698
+ /**
1699
+ * @example
1700
+ * 605089
1701
+ */
1702
+ usedSize?: number;
1703
+ static names(): { [key: string]: string } {
1704
+ return {
1705
+ domainId: 'DomainId',
1706
+ expiredAfter: 'ExpiredAfter',
1707
+ status: 'Status',
1708
+ token: 'Token',
1709
+ totalSize: 'TotalSize',
1710
+ usedSize: 'UsedSize',
1711
+ };
1712
+ }
1713
+
1714
+ static types(): { [key: string]: any } {
1715
+ return {
1716
+ domainId: 'string',
1717
+ expiredAfter: 'string',
1718
+ status: 'string',
1719
+ token: 'string',
1720
+ totalSize: 'number',
1721
+ usedSize: 'number',
1722
+ };
1723
+ }
1724
+
1725
+ validate() {
1726
+ super.validate();
1727
+ }
1728
+
1729
+ constructor(map?: { [key: string]: any }) {
1730
+ super(map);
1731
+ }
1732
+ }
1733
+
1734
+ export class GetConnectionTicketRequestTag extends $dara.Model {
1735
+ key?: string;
1736
+ value?: string;
1737
+ static names(): { [key: string]: string } {
1738
+ return {
1739
+ key: 'Key',
1740
+ value: 'Value',
1741
+ };
1742
+ }
1743
+
1744
+ static types(): { [key: string]: any } {
1745
+ return {
1746
+ key: 'string',
1747
+ value: 'string',
1748
+ };
1749
+ }
1750
+
1751
+ validate() {
1752
+ super.validate();
1753
+ }
1754
+
1755
+ constructor(map?: { [key: string]: any }) {
1756
+ super(map);
1757
+ }
1758
+ }
1759
+
1760
+ export class GetLoginTokenResponseBodyPasswordStrategy extends $dara.Model {
1761
+ /**
1762
+ * @remarks
1763
+ * > This is a parameter only for internal use.
1764
+ */
1765
+ tenantAlternativeChars?: string[];
1766
+ /**
1767
+ * @remarks
1768
+ * > This is a parameter only for internal use.
1769
+ *
1770
+ * @example
1771
+ * null
1772
+ */
1773
+ tenantPasswordLength?: string;
1774
+ static names(): { [key: string]: string } {
1775
+ return {
1776
+ tenantAlternativeChars: 'TenantAlternativeChars',
1777
+ tenantPasswordLength: 'TenantPasswordLength',
1778
+ };
1779
+ }
1780
+
1781
+ static types(): { [key: string]: any } {
1782
+ return {
1783
+ tenantAlternativeChars: { 'type': 'array', 'itemType': 'string' },
1784
+ tenantPasswordLength: 'string',
1785
+ };
1786
+ }
1787
+
1788
+ validate() {
1789
+ if(Array.isArray(this.tenantAlternativeChars)) {
1790
+ $dara.Model.validateArray(this.tenantAlternativeChars);
1791
+ }
1792
+ super.validate();
1793
+ }
1794
+
1795
+ constructor(map?: { [key: string]: any }) {
1796
+ super(map);
1797
+ }
1798
+ }
1799
+
1800
+ export class GetLoginTokenResponseBodyRiskVerifyInfo extends $dara.Model {
1801
+ /**
1802
+ * @remarks
1803
+ * The email used for authentication.
1804
+ *
1805
+ * @example
1806
+ * user@example.com
1807
+ */
1808
+ email?: string;
1809
+ /**
1810
+ * @remarks
1811
+ * The duration of the lock.
1812
+ *
1813
+ * @example
1814
+ * 1713749778
1815
+ */
1816
+ lastLockDuration?: number;
1817
+ /**
1818
+ * @remarks
1819
+ * Whether the account is locked or not.
1820
+ *
1821
+ * @example
1822
+ * true
1823
+ */
1824
+ locked?: string;
1825
+ /**
1826
+ * @remarks
1827
+ * The mobile number used for authentication.
1828
+ *
1829
+ * @example
1830
+ * 1388888****
1831
+ */
1832
+ phone?: string;
1833
+ static names(): { [key: string]: string } {
1834
+ return {
1835
+ email: 'Email',
1836
+ lastLockDuration: 'LastLockDuration',
1837
+ locked: 'Locked',
1838
+ phone: 'Phone',
1839
+ };
1840
+ }
1841
+
1842
+ static types(): { [key: string]: any } {
1843
+ return {
1844
+ email: 'string',
1845
+ lastLockDuration: 'number',
1846
+ locked: 'string',
1847
+ phone: 'string',
1848
+ };
1849
+ }
1850
+
1851
+ validate() {
1852
+ super.validate();
1853
+ }
1854
+
1855
+ constructor(map?: { [key: string]: any }) {
1856
+ super(map);
1857
+ }
1858
+ }
1859
+
1860
+ export class QueryEdsAgentReportConfigResponseBodyData extends $dara.Model {
1861
+ config?: string;
1862
+ static names(): { [key: string]: string } {
1863
+ return {
1864
+ config: 'Config',
1056
1865
  };
1057
1866
  }
1058
1867
 
@@ -1152,6 +1961,7 @@ export class ApproveFotaUpdateRequest extends $dara.Model {
1152
1961
  * 4771b873-c757-4893-973c-7f5beejh****
1153
1962
  */
1154
1963
  sessionId?: string;
1964
+ targetStatus?: string;
1155
1965
  uuid?: string;
1156
1966
  static names(): { [key: string]: string } {
1157
1967
  return {
@@ -1161,6 +1971,7 @@ export class ApproveFotaUpdateRequest extends $dara.Model {
1161
1971
  loginToken: 'LoginToken',
1162
1972
  regionId: 'RegionId',
1163
1973
  sessionId: 'SessionId',
1974
+ targetStatus: 'TargetStatus',
1164
1975
  uuid: 'Uuid',
1165
1976
  };
1166
1977
  }
@@ -1173,6 +1984,7 @@ export class ApproveFotaUpdateRequest extends $dara.Model {
1173
1984
  loginToken: 'string',
1174
1985
  regionId: 'string',
1175
1986
  sessionId: 'string',
1987
+ targetStatus: 'string',
1176
1988
  uuid: 'string',
1177
1989
  };
1178
1990
  }
@@ -1251,6 +2063,8 @@ export class ApproveFotaUpdateResponse extends $dara.Model {
1251
2063
  export class ChangePasswordRequest extends $dara.Model {
1252
2064
  /**
1253
2065
  * @remarks
2066
+ * The client ID. The system generates a unique ID for each client.
2067
+ *
1254
2068
  * This parameter is required.
1255
2069
  *
1256
2070
  * @example
@@ -1259,6 +2073,8 @@ export class ChangePasswordRequest extends $dara.Model {
1259
2073
  clientId?: string;
1260
2074
  /**
1261
2075
  * @remarks
2076
+ * The user ID.
2077
+ *
1262
2078
  * This parameter is required.
1263
2079
  *
1264
2080
  * @example
@@ -1267,6 +2083,8 @@ export class ChangePasswordRequest extends $dara.Model {
1267
2083
  endUserId?: string;
1268
2084
  /**
1269
2085
  * @remarks
2086
+ * The logon token.
2087
+ *
1270
2088
  * This parameter is required.
1271
2089
  *
1272
2090
  * @example
@@ -1275,6 +2093,8 @@ export class ChangePasswordRequest extends $dara.Model {
1275
2093
  loginToken?: string;
1276
2094
  /**
1277
2095
  * @remarks
2096
+ * The new password.
2097
+ *
1278
2098
  * This parameter is required.
1279
2099
  *
1280
2100
  * @example
@@ -1283,6 +2103,8 @@ export class ChangePasswordRequest extends $dara.Model {
1283
2103
  newPassword?: string;
1284
2104
  /**
1285
2105
  * @remarks
2106
+ * The office network ID.
2107
+ *
1286
2108
  * This parameter is required.
1287
2109
  *
1288
2110
  * @example
@@ -1291,6 +2113,8 @@ export class ChangePasswordRequest extends $dara.Model {
1291
2113
  officeSiteId?: string;
1292
2114
  /**
1293
2115
  * @remarks
2116
+ * The current password.
2117
+ *
1294
2118
  * This parameter is required.
1295
2119
  *
1296
2120
  * @example
@@ -1299,6 +2123,8 @@ export class ChangePasswordRequest extends $dara.Model {
1299
2123
  oldPassword?: string;
1300
2124
  /**
1301
2125
  * @remarks
2126
+ * The region ID.
2127
+ *
1302
2128
  * This parameter is required.
1303
2129
  *
1304
2130
  * @example
@@ -1306,6 +2132,9 @@ export class ChangePasswordRequest extends $dara.Model {
1306
2132
  */
1307
2133
  regionId?: string;
1308
2134
  /**
2135
+ * @remarks
2136
+ * The session ID.
2137
+ *
1309
2138
  * @example
1310
2139
  * 1
1311
2140
  */
@@ -1347,11 +2176,17 @@ export class ChangePasswordRequest extends $dara.Model {
1347
2176
 
1348
2177
  export class ChangePasswordResponseBody extends $dara.Model {
1349
2178
  /**
2179
+ * @remarks
2180
+ * The logon token.
2181
+ *
1350
2182
  * @example
1351
2183
  * v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
1352
2184
  */
1353
2185
  loginToken?: string;
1354
2186
  /**
2187
+ * @remarks
2188
+ * The request ID.
2189
+ *
1355
2190
  * @example
1356
2191
  * 484256DA-D816-44D2-9D86-B6EE4D5B****
1357
2192
  */
@@ -1556,15 +2391,23 @@ export class DeleteFingerPrintTemplateResponse extends $dara.Model {
1556
2391
  export class DescribeDirectoriesRequest extends $dara.Model {
1557
2392
  /**
1558
2393
  * @remarks
2394
+ * The client ID. The system generates a unique ID for each client.
2395
+ *
1559
2396
  * This parameter is required.
1560
2397
  *
1561
2398
  * @example
1562
2399
  * 54c17e1d-2d72-4b87-aa33-25f3b3f2****
1563
2400
  */
1564
2401
  clientId?: string;
2402
+ /**
2403
+ * @remarks
2404
+ * The directory IDs.
2405
+ */
1565
2406
  directoryId?: string[];
1566
2407
  /**
1567
2408
  * @remarks
2409
+ * The region ID.
2410
+ *
1568
2411
  * This parameter is required.
1569
2412
  *
1570
2413
  * @example
@@ -1600,8 +2443,15 @@ export class DescribeDirectoriesRequest extends $dara.Model {
1600
2443
  }
1601
2444
 
1602
2445
  export class DescribeDirectoriesResponseBody extends $dara.Model {
2446
+ /**
2447
+ * @remarks
2448
+ * The directories.
2449
+ */
1603
2450
  directories?: DescribeDirectoriesResponseBodyDirectories[];
1604
2451
  /**
2452
+ * @remarks
2453
+ * The request ID.
2454
+ *
1605
2455
  * @example
1606
2456
  * F369A091-002F-49C8-AD55-02A77629****
1607
2457
  */
@@ -1670,6 +2520,8 @@ export class DescribeDirectoriesResponse extends $dara.Model {
1670
2520
  export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
1671
2521
  /**
1672
2522
  * @remarks
2523
+ * The client ID. The system generates a unique ID for each client.
2524
+ *
1673
2525
  * This parameter is required.
1674
2526
  *
1675
2527
  * @example
@@ -1678,6 +2530,8 @@ export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
1678
2530
  clientId?: string;
1679
2531
  /**
1680
2532
  * @remarks
2533
+ * The logon token.
2534
+ *
1681
2535
  * This parameter is required.
1682
2536
  *
1683
2537
  * @example
@@ -1686,6 +2540,8 @@ export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
1686
2540
  loginToken?: string;
1687
2541
  /**
1688
2542
  * @remarks
2543
+ * The region ID
2544
+ *
1689
2545
  * This parameter is required.
1690
2546
  *
1691
2547
  * @example
@@ -1694,6 +2550,8 @@ export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
1694
2550
  regionId?: string;
1695
2551
  /**
1696
2552
  * @remarks
2553
+ * The session ID.
2554
+ *
1697
2555
  * This parameter is required.
1698
2556
  *
1699
2557
  * @example
@@ -1728,8 +2586,15 @@ export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
1728
2586
  }
1729
2587
 
1730
2588
  export class DescribeFingerPrintTemplatesResponseBody extends $dara.Model {
2589
+ /**
2590
+ * @remarks
2591
+ * The fingerprint templates.
2592
+ */
1731
2593
  fingerPrintTemplates?: DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates[];
1732
2594
  /**
2595
+ * @remarks
2596
+ * The request ID.
2597
+ *
1733
2598
  * @example
1734
2599
  * 9C1D3FBE-84E1-5ABB-AD98-2003AC71****
1735
2600
  */
@@ -2151,6 +3016,8 @@ export class DescribeOfficeSitesResponse extends $dara.Model {
2151
3016
  export class DescribeRegionsRequest extends $dara.Model {
2152
3017
  /**
2153
3018
  * @remarks
3019
+ * The client ID. The system generates a unique ID for each client.
3020
+ *
2154
3021
  * This parameter is required.
2155
3022
  *
2156
3023
  * @example
@@ -2158,6 +3025,9 @@ export class DescribeRegionsRequest extends $dara.Model {
2158
3025
  */
2159
3026
  clientId?: string;
2160
3027
  /**
3028
+ * @remarks
3029
+ * The region ID.
3030
+ *
2161
3031
  * @example
2162
3032
  * cn-hangzhou
2163
3033
  */
@@ -2186,8 +3056,15 @@ export class DescribeRegionsRequest extends $dara.Model {
2186
3056
  }
2187
3057
 
2188
3058
  export class DescribeRegionsResponseBody extends $dara.Model {
3059
+ /**
3060
+ * @remarks
3061
+ * The regions.
3062
+ */
2189
3063
  regions?: DescribeRegionsResponseBodyRegions[];
2190
3064
  /**
3065
+ * @remarks
3066
+ * The request ID.
3067
+ *
2191
3068
  * @example
2192
3069
  * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
2193
3070
  */
@@ -2319,17 +3196,296 @@ export class DescribeSnapshotsRequest extends $dara.Model {
2319
3196
  static types(): { [key: string]: any } {
2320
3197
  return {
2321
3198
  clientId: 'string',
2322
- desktopId: 'string',
3199
+ desktopId: 'string',
3200
+ loginToken: 'string',
3201
+ maxResults: 'number',
3202
+ nextToken: 'string',
3203
+ regionId: 'string',
3204
+ sessionId: 'string',
3205
+ snapshotId: 'string',
3206
+ };
3207
+ }
3208
+
3209
+ validate() {
3210
+ super.validate();
3211
+ }
3212
+
3213
+ constructor(map?: { [key: string]: any }) {
3214
+ super(map);
3215
+ }
3216
+ }
3217
+
3218
+ export class DescribeSnapshotsResponseBody extends $dara.Model {
3219
+ /**
3220
+ * @example
3221
+ * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
3222
+ */
3223
+ nextToken?: string;
3224
+ /**
3225
+ * @example
3226
+ * 51592A88-0F2C-55E6-AD2C-2AD9C10D****
3227
+ */
3228
+ requestId?: string;
3229
+ snapshots?: DescribeSnapshotsResponseBodySnapshots[];
3230
+ static names(): { [key: string]: string } {
3231
+ return {
3232
+ nextToken: 'NextToken',
3233
+ requestId: 'RequestId',
3234
+ snapshots: 'Snapshots',
3235
+ };
3236
+ }
3237
+
3238
+ static types(): { [key: string]: any } {
3239
+ return {
3240
+ nextToken: 'string',
3241
+ requestId: 'string',
3242
+ snapshots: { 'type': 'array', 'itemType': DescribeSnapshotsResponseBodySnapshots },
3243
+ };
3244
+ }
3245
+
3246
+ validate() {
3247
+ if(Array.isArray(this.snapshots)) {
3248
+ $dara.Model.validateArray(this.snapshots);
3249
+ }
3250
+ super.validate();
3251
+ }
3252
+
3253
+ constructor(map?: { [key: string]: any }) {
3254
+ super(map);
3255
+ }
3256
+ }
3257
+
3258
+ export class DescribeSnapshotsResponse extends $dara.Model {
3259
+ headers?: { [key: string]: string };
3260
+ statusCode?: number;
3261
+ body?: DescribeSnapshotsResponseBody;
3262
+ static names(): { [key: string]: string } {
3263
+ return {
3264
+ headers: 'headers',
3265
+ statusCode: 'statusCode',
3266
+ body: 'body',
3267
+ };
3268
+ }
3269
+
3270
+ static types(): { [key: string]: any } {
3271
+ return {
3272
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3273
+ statusCode: 'number',
3274
+ body: DescribeSnapshotsResponseBody,
3275
+ };
3276
+ }
3277
+
3278
+ validate() {
3279
+ if(this.headers) {
3280
+ $dara.Model.validateMap(this.headers);
3281
+ }
3282
+ if(this.body && typeof (this.body as any).validate === 'function') {
3283
+ (this.body as any).validate();
3284
+ }
3285
+ super.validate();
3286
+ }
3287
+
3288
+ constructor(map?: { [key: string]: any }) {
3289
+ super(map);
3290
+ }
3291
+ }
3292
+
3293
+ export class DescribeUserResourcesRequest extends $dara.Model {
3294
+ /**
3295
+ * @example
3296
+ * INTERNET
3297
+ */
3298
+ accessType?: string;
3299
+ /**
3300
+ * @example
3301
+ * false
3302
+ */
3303
+ autoRefresh?: boolean;
3304
+ /**
3305
+ * @example
3306
+ * 0
3307
+ */
3308
+ categoryId?: number;
3309
+ /**
3310
+ * @example
3311
+ * 1
3312
+ */
3313
+ categoryType?: number;
3314
+ /**
3315
+ * @remarks
3316
+ * This parameter is required.
3317
+ *
3318
+ * @example
3319
+ * 54c17e1d-2d72-4b87-aa33-25f3b3f2****
3320
+ */
3321
+ clientId?: string;
3322
+ /**
3323
+ * @example
3324
+ * windows
3325
+ */
3326
+ clientType?: string;
3327
+ /**
3328
+ * @example
3329
+ * 7.6.0-R-20241112.222305
3330
+ */
3331
+ clientVersion?: string;
3332
+ /**
3333
+ * @example
3334
+ * false
3335
+ */
3336
+ dualCenterForward?: boolean;
3337
+ /**
3338
+ * @example
3339
+ * zh-CN
3340
+ */
3341
+ language?: string;
3342
+ /**
3343
+ * @example
3344
+ * cn-hangzhou
3345
+ */
3346
+ loginRegionId?: string;
3347
+ /**
3348
+ * @remarks
3349
+ * This parameter is required.
3350
+ *
3351
+ * @example
3352
+ * v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
3353
+ */
3354
+ loginToken?: string;
3355
+ /**
3356
+ * @example
3357
+ * 500
3358
+ */
3359
+ maxResults?: number;
3360
+ /**
3361
+ * @example
3362
+ * caeba0bbb2be03f84eb48b699f0a4883
3363
+ */
3364
+ nextToken?: string;
3365
+ officeSiteIds?: string[];
3366
+ /**
3367
+ * @example
3368
+ * AssignTime
3369
+ */
3370
+ orderBy?: string;
3371
+ productTypes?: string[];
3372
+ /**
3373
+ * @example
3374
+ * ASP
3375
+ */
3376
+ protocolType?: string;
3377
+ /**
3378
+ * @example
3379
+ * false
3380
+ */
3381
+ queryFotaUpdate?: boolean;
3382
+ /**
3383
+ * @example
3384
+ * false
3385
+ */
3386
+ refreshFotaUpdate?: boolean;
3387
+ resourceIds?: string[];
3388
+ /**
3389
+ * @example
3390
+ * testName
3391
+ */
3392
+ resourceName?: string;
3393
+ resourceTypes?: string[];
3394
+ /**
3395
+ * @example
3396
+ * desktop
3397
+ */
3398
+ scene?: string;
3399
+ /**
3400
+ * @example
3401
+ * cn-hangzhou
3402
+ */
3403
+ searchRegionId?: string;
3404
+ /**
3405
+ * @example
3406
+ * cd45e873-650d-4d70-acb9-f996187a****
3407
+ */
3408
+ sessionId?: string;
3409
+ /**
3410
+ * @example
3411
+ * ASC
3412
+ */
3413
+ sortType?: string;
3414
+ static names(): { [key: string]: string } {
3415
+ return {
3416
+ accessType: 'AccessType',
3417
+ autoRefresh: 'AutoRefresh',
3418
+ categoryId: 'CategoryId',
3419
+ categoryType: 'CategoryType',
3420
+ clientId: 'ClientId',
3421
+ clientType: 'ClientType',
3422
+ clientVersion: 'ClientVersion',
3423
+ dualCenterForward: 'DualCenterForward',
3424
+ language: 'Language',
3425
+ loginRegionId: 'LoginRegionId',
3426
+ loginToken: 'LoginToken',
3427
+ maxResults: 'MaxResults',
3428
+ nextToken: 'NextToken',
3429
+ officeSiteIds: 'OfficeSiteIds',
3430
+ orderBy: 'OrderBy',
3431
+ productTypes: 'ProductTypes',
3432
+ protocolType: 'ProtocolType',
3433
+ queryFotaUpdate: 'QueryFotaUpdate',
3434
+ refreshFotaUpdate: 'RefreshFotaUpdate',
3435
+ resourceIds: 'ResourceIds',
3436
+ resourceName: 'ResourceName',
3437
+ resourceTypes: 'ResourceTypes',
3438
+ scene: 'Scene',
3439
+ searchRegionId: 'SearchRegionId',
3440
+ sessionId: 'SessionId',
3441
+ sortType: 'SortType',
3442
+ };
3443
+ }
3444
+
3445
+ static types(): { [key: string]: any } {
3446
+ return {
3447
+ accessType: 'string',
3448
+ autoRefresh: 'boolean',
3449
+ categoryId: 'number',
3450
+ categoryType: 'number',
3451
+ clientId: 'string',
3452
+ clientType: 'string',
3453
+ clientVersion: 'string',
3454
+ dualCenterForward: 'boolean',
3455
+ language: 'string',
3456
+ loginRegionId: 'string',
2323
3457
  loginToken: 'string',
2324
3458
  maxResults: 'number',
2325
3459
  nextToken: 'string',
2326
- regionId: 'string',
3460
+ officeSiteIds: { 'type': 'array', 'itemType': 'string' },
3461
+ orderBy: 'string',
3462
+ productTypes: { 'type': 'array', 'itemType': 'string' },
3463
+ protocolType: 'string',
3464
+ queryFotaUpdate: 'boolean',
3465
+ refreshFotaUpdate: 'boolean',
3466
+ resourceIds: { 'type': 'array', 'itemType': 'string' },
3467
+ resourceName: 'string',
3468
+ resourceTypes: { 'type': 'array', 'itemType': 'string' },
3469
+ scene: 'string',
3470
+ searchRegionId: 'string',
2327
3471
  sessionId: 'string',
2328
- snapshotId: 'string',
3472
+ sortType: 'string',
2329
3473
  };
2330
3474
  }
2331
3475
 
2332
3476
  validate() {
3477
+ if(Array.isArray(this.officeSiteIds)) {
3478
+ $dara.Model.validateArray(this.officeSiteIds);
3479
+ }
3480
+ if(Array.isArray(this.productTypes)) {
3481
+ $dara.Model.validateArray(this.productTypes);
3482
+ }
3483
+ if(Array.isArray(this.resourceIds)) {
3484
+ $dara.Model.validateArray(this.resourceIds);
3485
+ }
3486
+ if(Array.isArray(this.resourceTypes)) {
3487
+ $dara.Model.validateArray(this.resourceTypes);
3488
+ }
2333
3489
  super.validate();
2334
3490
  }
2335
3491
 
@@ -2338,37 +3494,50 @@ export class DescribeSnapshotsRequest extends $dara.Model {
2338
3494
  }
2339
3495
  }
2340
3496
 
2341
- export class DescribeSnapshotsResponseBody extends $dara.Model {
3497
+ export class DescribeUserResourcesResponseBody extends $dara.Model {
2342
3498
  /**
2343
3499
  * @example
2344
3500
  * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
2345
3501
  */
2346
3502
  nextToken?: string;
3503
+ queryFailedResourceTypes?: string[];
2347
3504
  /**
2348
3505
  * @example
2349
- * 51592A88-0F2C-55E6-AD2C-2AD9C10D****
3506
+ * 1732869815062
3507
+ */
3508
+ rankVersion?: number;
3509
+ /**
3510
+ * @example
3511
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
2350
3512
  */
2351
3513
  requestId?: string;
2352
- snapshots?: DescribeSnapshotsResponseBodySnapshots[];
3514
+ resources?: DescribeUserResourcesResponseBodyResources[];
2353
3515
  static names(): { [key: string]: string } {
2354
3516
  return {
2355
3517
  nextToken: 'NextToken',
3518
+ queryFailedResourceTypes: 'QueryFailedResourceTypes',
3519
+ rankVersion: 'RankVersion',
2356
3520
  requestId: 'RequestId',
2357
- snapshots: 'Snapshots',
3521
+ resources: 'Resources',
2358
3522
  };
2359
3523
  }
2360
3524
 
2361
3525
  static types(): { [key: string]: any } {
2362
3526
  return {
2363
3527
  nextToken: 'string',
3528
+ queryFailedResourceTypes: { 'type': 'array', 'itemType': 'string' },
3529
+ rankVersion: 'number',
2364
3530
  requestId: 'string',
2365
- snapshots: { 'type': 'array', 'itemType': DescribeSnapshotsResponseBodySnapshots },
3531
+ resources: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResources },
2366
3532
  };
2367
3533
  }
2368
3534
 
2369
3535
  validate() {
2370
- if(Array.isArray(this.snapshots)) {
2371
- $dara.Model.validateArray(this.snapshots);
3536
+ if(Array.isArray(this.queryFailedResourceTypes)) {
3537
+ $dara.Model.validateArray(this.queryFailedResourceTypes);
3538
+ }
3539
+ if(Array.isArray(this.resources)) {
3540
+ $dara.Model.validateArray(this.resources);
2372
3541
  }
2373
3542
  super.validate();
2374
3543
  }
@@ -2378,10 +3547,10 @@ export class DescribeSnapshotsResponseBody extends $dara.Model {
2378
3547
  }
2379
3548
  }
2380
3549
 
2381
- export class DescribeSnapshotsResponse extends $dara.Model {
3550
+ export class DescribeUserResourcesResponse extends $dara.Model {
2382
3551
  headers?: { [key: string]: string };
2383
3552
  statusCode?: number;
2384
- body?: DescribeSnapshotsResponseBody;
3553
+ body?: DescribeUserResourcesResponseBody;
2385
3554
  static names(): { [key: string]: string } {
2386
3555
  return {
2387
3556
  headers: 'headers',
@@ -2394,7 +3563,7 @@ export class DescribeSnapshotsResponse extends $dara.Model {
2394
3563
  return {
2395
3564
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2396
3565
  statusCode: 'number',
2397
- body: DescribeSnapshotsResponseBody,
3566
+ body: DescribeUserResourcesResponseBody,
2398
3567
  };
2399
3568
  }
2400
3569
 
@@ -2416,6 +3585,8 @@ export class DescribeSnapshotsResponse extends $dara.Model {
2416
3585
  export class EncryptPasswordRequest extends $dara.Model {
2417
3586
  /**
2418
3587
  * @remarks
3588
+ * The ID of the client. The system generates a unique ID for each client.
3589
+ *
2419
3590
  * This parameter is required.
2420
3591
  *
2421
3592
  * @example
@@ -2423,12 +3594,17 @@ export class EncryptPasswordRequest extends $dara.Model {
2423
3594
  */
2424
3595
  clientId?: string;
2425
3596
  /**
3597
+ * @remarks
3598
+ * The directory ID.
3599
+ *
2426
3600
  * @example
2427
3601
  * cn-beijing+dir-131196****
2428
3602
  */
2429
3603
  directoryId?: string;
2430
3604
  /**
2431
3605
  * @remarks
3606
+ * The logon token.
3607
+ *
2432
3608
  * This parameter is required.
2433
3609
  *
2434
3610
  * @example
@@ -2436,12 +3612,17 @@ export class EncryptPasswordRequest extends $dara.Model {
2436
3612
  */
2437
3613
  loginToken?: string;
2438
3614
  /**
3615
+ * @remarks
3616
+ * The office network ID.
3617
+ *
2439
3618
  * @example
2440
3619
  * cn-beijing+dir-131196****
2441
3620
  */
2442
3621
  officeSiteId?: string;
2443
3622
  /**
2444
3623
  * @remarks
3624
+ * The password that you want to encrypt.
3625
+ *
2445
3626
  * This parameter is required.
2446
3627
  *
2447
3628
  * @example
@@ -2450,6 +3631,8 @@ export class EncryptPasswordRequest extends $dara.Model {
2450
3631
  password?: string;
2451
3632
  /**
2452
3633
  * @remarks
3634
+ * The region ID.
3635
+ *
2453
3636
  * This parameter is required.
2454
3637
  *
2455
3638
  * @example
@@ -2458,6 +3641,8 @@ export class EncryptPasswordRequest extends $dara.Model {
2458
3641
  regionId?: string;
2459
3642
  /**
2460
3643
  * @remarks
3644
+ * The session ID.
3645
+ *
2461
3646
  * This parameter is required.
2462
3647
  *
2463
3648
  * @example
@@ -2499,11 +3684,17 @@ export class EncryptPasswordRequest extends $dara.Model {
2499
3684
 
2500
3685
  export class EncryptPasswordResponseBody extends $dara.Model {
2501
3686
  /**
3687
+ * @remarks
3688
+ * The encrypted password.
3689
+ *
2502
3690
  * @example
2503
3691
  * d34601bc-e6b1-4433-b0cc-8f6c5e52;n4apvGub3OBoj4Grwg==;thhO4UEomJfdvwnwlA==
2504
3692
  */
2505
3693
  encryptedPassword?: string;
2506
3694
  /**
3695
+ * @remarks
3696
+ * The request ID.
3697
+ *
2507
3698
  * @example
2508
3699
  * AF538DA8-FFC6-52DA-8FF8-7B92579F****
2509
3700
  */
@@ -3640,6 +4831,7 @@ export class RebootDesktopsRequest extends $dara.Model {
3640
4831
  * v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
3641
4832
  */
3642
4833
  loginToken?: string;
4834
+ osUpdate?: boolean;
3643
4835
  /**
3644
4836
  * @remarks
3645
4837
  * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by WUYING Workspace.
@@ -3682,6 +4874,7 @@ export class RebootDesktopsRequest extends $dara.Model {
3682
4874
  clientVersion: 'ClientVersion',
3683
4875
  desktopId: 'DesktopId',
3684
4876
  loginToken: 'LoginToken',
4877
+ osUpdate: 'OsUpdate',
3685
4878
  regionId: 'RegionId',
3686
4879
  sessionId: 'SessionId',
3687
4880
  sessionToken: 'SessionToken',
@@ -3697,6 +4890,7 @@ export class RebootDesktopsRequest extends $dara.Model {
3697
4890
  clientVersion: 'string',
3698
4891
  desktopId: { 'type': 'array', 'itemType': 'string' },
3699
4892
  loginToken: 'string',
4893
+ osUpdate: 'boolean',
3700
4894
  regionId: 'string',
3701
4895
  sessionId: 'string',
3702
4896
  sessionToken: 'string',
@@ -4163,6 +5357,8 @@ export class ReportSessionStatusResponse extends $dara.Model {
4163
5357
  export class ResetPasswordRequest extends $dara.Model {
4164
5358
  /**
4165
5359
  * @remarks
5360
+ * The client ID. The system generates a unique ID for each client.
5361
+ *
4166
5362
  * This parameter is required.
4167
5363
  *
4168
5364
  * @example
@@ -4170,17 +5366,25 @@ export class ResetPasswordRequest extends $dara.Model {
4170
5366
  */
4171
5367
  clientId?: string;
4172
5368
  /**
5369
+ * @remarks
5370
+ * The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
5371
+ *
4173
5372
  * @example
4174
5373
  * 2f00ab32-a473-4c90-9aae-dd8842ae****
4175
5374
  */
4176
5375
  clientToken?: string;
4177
5376
  /**
5377
+ * @remarks
5378
+ * The email address of the user.
5379
+ *
4178
5380
  * @example
4179
5381
  * a***@example.edu
4180
5382
  */
4181
5383
  email?: string;
4182
5384
  /**
4183
5385
  * @remarks
5386
+ * The user ID.
5387
+ *
4184
5388
  * This parameter is required.
4185
5389
  *
4186
5390
  * @example
@@ -4189,6 +5393,8 @@ export class ResetPasswordRequest extends $dara.Model {
4189
5393
  endUserId?: string;
4190
5394
  /**
4191
5395
  * @remarks
5396
+ * The office network ID.
5397
+ *
4192
5398
  * This parameter is required.
4193
5399
  *
4194
5400
  * @example
@@ -4197,6 +5403,8 @@ export class ResetPasswordRequest extends $dara.Model {
4197
5403
  officeSiteId?: string;
4198
5404
  /**
4199
5405
  * @remarks
5406
+ * The region ID.
5407
+ *
4200
5408
  * This parameter is required.
4201
5409
  *
4202
5410
  * @example
@@ -4204,6 +5412,9 @@ export class ResetPasswordRequest extends $dara.Model {
4204
5412
  */
4205
5413
  regionId?: string;
4206
5414
  /**
5415
+ * @remarks
5416
+ * The phone number of the user.
5417
+ *
4207
5418
  * @example
4208
5419
  * 1827912****
4209
5420
  */
@@ -4243,6 +5454,9 @@ export class ResetPasswordRequest extends $dara.Model {
4243
5454
 
4244
5455
  export class ResetPasswordResponseBody extends $dara.Model {
4245
5456
  /**
5457
+ * @remarks
5458
+ * The request ID.
5459
+ *
4246
5460
  * @example
4247
5461
  * A00477A5-167F-56D2-A315-EA77E4BD****
4248
5462
  */
@@ -4306,15 +5520,26 @@ export class ResetPasswordResponse extends $dara.Model {
4306
5520
  export class ResetSnapshotRequest extends $dara.Model {
4307
5521
  /**
4308
5522
  * @remarks
5523
+ * The client ID. The system generates a unique ID for each client.
5524
+ *
4309
5525
  * This parameter is required.
4310
5526
  *
4311
5527
  * @example
4312
5528
  * b9d8ddfd-65d4-4857-9e97-56477d1f****
4313
5529
  */
4314
5530
  clientId?: string;
5531
+ /**
5532
+ * @remarks
5533
+ * The cloud computer ID.
5534
+ *
5535
+ * @example
5536
+ * ecd-e964cr92klwqb****
5537
+ */
4315
5538
  desktopId?: string;
4316
5539
  /**
4317
5540
  * @remarks
5541
+ * The logon token.
5542
+ *
4318
5543
  * This parameter is required.
4319
5544
  *
4320
5545
  * @example
@@ -4323,6 +5548,8 @@ export class ResetSnapshotRequest extends $dara.Model {
4323
5548
  loginToken?: string;
4324
5549
  /**
4325
5550
  * @remarks
5551
+ * The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.
5552
+ *
4326
5553
  * This parameter is required.
4327
5554
  *
4328
5555
  * @example
@@ -4330,18 +5557,30 @@ export class ResetSnapshotRequest extends $dara.Model {
4330
5557
  */
4331
5558
  regionId?: string;
4332
5559
  /**
5560
+ * @remarks
5561
+ * The session ID.
5562
+ *
4333
5563
  * @example
4334
5564
  * 05182b8c-bb0d-49d3-963c-ee63a507****
4335
5565
  */
4336
5566
  sessionId?: string;
4337
5567
  /**
4338
5568
  * @remarks
5569
+ * The snapshot ID.
5570
+ *
4339
5571
  * This parameter is required.
4340
5572
  *
4341
5573
  * @example
4342
5574
  * s-2zeipxmnhej803x7****
4343
5575
  */
4344
5576
  snapshotId?: string;
5577
+ /**
5578
+ * @remarks
5579
+ * Specifies whether to stop the cloud computer.
5580
+ *
5581
+ * @example
5582
+ * true
5583
+ */
4345
5584
  stopDesktop?: boolean;
4346
5585
  static names(): { [key: string]: string } {
4347
5586
  return {
@@ -4378,6 +5617,9 @@ export class ResetSnapshotRequest extends $dara.Model {
4378
5617
 
4379
5618
  export class ResetSnapshotResponseBody extends $dara.Model {
4380
5619
  /**
5620
+ * @remarks
5621
+ * The request ID.
5622
+ *
4381
5623
  * @example
4382
5624
  * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
4383
5625
  */
@@ -4441,6 +5683,8 @@ export class ResetSnapshotResponse extends $dara.Model {
4441
5683
  export class SendTokenCodeRequest extends $dara.Model {
4442
5684
  /**
4443
5685
  * @remarks
5686
+ * The client ID. The system generates a unique ID for each client.
5687
+ *
4444
5688
  * This parameter is required.
4445
5689
  *
4446
5690
  * @example
@@ -4448,36 +5692,57 @@ export class SendTokenCodeRequest extends $dara.Model {
4448
5692
  */
4449
5693
  clientId?: string;
4450
5694
  /**
5695
+ * @remarks
5696
+ * The operating system on which the client runs.
5697
+ *
4451
5698
  * @example
4452
5699
  * Windows_NT 10.0.18363 x64
4453
5700
  */
4454
5701
  clientOS?: string;
4455
5702
  /**
5703
+ * @remarks
5704
+ * The client version. If you use an Alibaba Cloud Workspace client, you can view the client version in the "About" dialog box on the client logon page.
5705
+ *
4456
5706
  * @example
4457
5707
  * 2.1.0-R-20210731.151756
4458
5708
  */
4459
5709
  clientVersion?: string;
4460
5710
  /**
5711
+ * @remarks
5712
+ * The username of the account.
5713
+ *
4461
5714
  * @example
4462
5715
  * alice
4463
5716
  */
4464
5717
  endUserId?: string;
4465
5718
  /**
5719
+ * @remarks
5720
+ * The logon token.
5721
+ *
4466
5722
  * @example
4467
5723
  * v28101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
4468
5724
  */
4469
5725
  loginToken?: string;
4470
5726
  /**
5727
+ * @remarks
5728
+ * The office network ID.
5729
+ *
4471
5730
  * @example
4472
5731
  * cn-hangzhou+dir-2925105532
4473
5732
  */
4474
5733
  officeSiteId?: string;
4475
5734
  /**
5735
+ * @remarks
5736
+ * The session ID.
5737
+ *
4476
5738
  * @example
4477
5739
  * cd45e873-650d-4d70-acb9-f996187a****
4478
5740
  */
4479
5741
  sessionId?: string;
4480
5742
  /**
5743
+ * @remarks
5744
+ * If two-factor authentication is enabled for clients in the Elastic Desktop Service (EDS) Enterprise console, the system will send a verification code to the user\\"s email address if it detects that the current logged-on user is at risk. This parameter is required if you set `CurrentStage` to `TokenVerify`.
5745
+ *
4481
5746
  * @example
4482
5747
  * 63****
4483
5748
  */
@@ -4519,6 +5784,9 @@ export class SendTokenCodeRequest extends $dara.Model {
4519
5784
 
4520
5785
  export class SendTokenCodeResponseBody extends $dara.Model {
4521
5786
  /**
5787
+ * @remarks
5788
+ * The request ID.
5789
+ *
4522
5790
  * @example
4523
5791
  * 134BD0B2-B848-5743-9CE2-C1FD3D5F****
4524
5792
  */
@@ -5270,6 +6538,7 @@ export class StopDesktopsRequest extends $dara.Model {
5270
6538
  * v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
5271
6539
  */
5272
6540
  loginToken?: string;
6541
+ osUpdate?: boolean;
5273
6542
  /**
5274
6543
  * @remarks
5275
6544
  * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by WUYING Workspace.
@@ -5296,6 +6565,7 @@ export class StopDesktopsRequest extends $dara.Model {
5296
6565
  * 04b7b80a0b020715c5c1b4175fc4771698****9e2a759557a4624665fd53ae40
5297
6566
  */
5298
6567
  sessionToken?: string;
6568
+ uuid?: string;
5299
6569
  static names(): { [key: string]: string } {
5300
6570
  return {
5301
6571
  clientId: 'ClientId',
@@ -5304,9 +6574,11 @@ export class StopDesktopsRequest extends $dara.Model {
5304
6574
  clientVersion: 'ClientVersion',
5305
6575
  desktopId: 'DesktopId',
5306
6576
  loginToken: 'LoginToken',
6577
+ osUpdate: 'OsUpdate',
5307
6578
  regionId: 'RegionId',
5308
6579
  sessionId: 'SessionId',
5309
6580
  sessionToken: 'SessionToken',
6581
+ uuid: 'Uuid',
5310
6582
  };
5311
6583
  }
5312
6584
 
@@ -5318,9 +6590,11 @@ export class StopDesktopsRequest extends $dara.Model {
5318
6590
  clientVersion: 'string',
5319
6591
  desktopId: { 'type': 'array', 'itemType': 'string' },
5320
6592
  loginToken: 'string',
6593
+ osUpdate: 'boolean',
5321
6594
  regionId: 'string',
5322
6595
  sessionId: 'string',
5323
6596
  sessionToken: 'string',
6597
+ uuid: 'string',
5324
6598
  };
5325
6599
  }
5326
6600
 
@@ -5523,6 +6797,8 @@ export class StopRecordContentResponse extends $dara.Model {
5523
6797
  export class UnbindUserDesktopRequest extends $dara.Model {
5524
6798
  /**
5525
6799
  * @remarks
6800
+ * The client ID.
6801
+ *
5526
6802
  * This parameter is required.
5527
6803
  *
5528
6804
  * @example
@@ -5530,17 +6806,30 @@ export class UnbindUserDesktopRequest extends $dara.Model {
5530
6806
  */
5531
6807
  clientId?: string;
5532
6808
  /**
6809
+ * @remarks
6810
+ * The client type.
6811
+ *
5533
6812
  * @example
5534
6813
  * windows
5535
6814
  */
5536
6815
  clientType?: string;
5537
6816
  /**
6817
+ * @remarks
6818
+ * Specifies whether to enable forced unbinding.
6819
+ *
6820
+ * Valid values:
6821
+ *
6822
+ * * true: Even when end users connect to cloud computers, the forced unbinding is still enforced.
6823
+ * * false: Forced unbinding is only enforced when end users are disconnected from cloud computers.
6824
+ *
5538
6825
  * @example
5539
6826
  * true
5540
6827
  */
5541
6828
  force?: boolean;
5542
6829
  /**
5543
6830
  * @remarks
6831
+ * The logon token.
6832
+ *
5544
6833
  * This parameter is required.
5545
6834
  *
5546
6835
  * @example
@@ -5549,6 +6838,8 @@ export class UnbindUserDesktopRequest extends $dara.Model {
5549
6838
  loginToken?: string;
5550
6839
  /**
5551
6840
  * @remarks
6841
+ * The region ID.
6842
+ *
5552
6843
  * This parameter is required.
5553
6844
  *
5554
6845
  * @example
@@ -5557,6 +6848,8 @@ export class UnbindUserDesktopRequest extends $dara.Model {
5557
6848
  regionId?: string;
5558
6849
  /**
5559
6850
  * @remarks
6851
+ * The session ID.
6852
+ *
5560
6853
  * This parameter is required.
5561
6854
  *
5562
6855
  * @example
@@ -5565,6 +6858,8 @@ export class UnbindUserDesktopRequest extends $dara.Model {
5565
6858
  sessionId?: string;
5566
6859
  /**
5567
6860
  * @remarks
6861
+ * The cloud computer ID.
6862
+ *
5568
6863
  * This parameter is required.
5569
6864
  *
5570
6865
  * @example
@@ -5606,6 +6901,9 @@ export class UnbindUserDesktopRequest extends $dara.Model {
5606
6901
 
5607
6902
  export class UnbindUserDesktopResponseBody extends $dara.Model {
5608
6903
  /**
6904
+ * @remarks
6905
+ * The request ID.
6906
+ *
5609
6907
  * @example
5610
6908
  * D5B7CF35-E078-5EBF-A010-****
5611
6909
  */
@@ -5877,6 +7175,10 @@ export default class Client extends OpenApi {
5877
7175
  query["SessionId"] = request.sessionId;
5878
7176
  }
5879
7177
 
7178
+ if (!$dara.isNull(request.targetStatus)) {
7179
+ query["TargetStatus"] = request.targetStatus;
7180
+ }
7181
+
5880
7182
  if (!$dara.isNull(request.uuid)) {
5881
7183
  query["Uuid"] = request.uuid;
5882
7184
  }
@@ -5910,6 +7212,8 @@ export default class Client extends OpenApi {
5910
7212
  }
5911
7213
 
5912
7214
  /**
7215
+ * Changes the password of a user account.
7216
+ *
5913
7217
  * @param request - ChangePasswordRequest
5914
7218
  * @param runtime - runtime options for this request RuntimeOptions
5915
7219
  * @returns ChangePasswordResponse
@@ -5967,6 +7271,8 @@ export default class Client extends OpenApi {
5967
7271
  }
5968
7272
 
5969
7273
  /**
7274
+ * Changes the password of a user account.
7275
+ *
5970
7276
  * @param request - ChangePasswordRequest
5971
7277
  * @returns ChangePasswordResponse
5972
7278
  */
@@ -6034,6 +7340,8 @@ export default class Client extends OpenApi {
6034
7340
  }
6035
7341
 
6036
7342
  /**
7343
+ * Queries directory details.
7344
+ *
6037
7345
  * @param request - DescribeDirectoriesRequest
6038
7346
  * @param runtime - runtime options for this request RuntimeOptions
6039
7347
  * @returns DescribeDirectoriesResponse
@@ -6071,6 +7379,8 @@ export default class Client extends OpenApi {
6071
7379
  }
6072
7380
 
6073
7381
  /**
7382
+ * Queries directory details.
7383
+ *
6074
7384
  * @param request - DescribeDirectoriesRequest
6075
7385
  * @returns DescribeDirectoriesResponse
6076
7386
  */
@@ -6080,6 +7390,8 @@ export default class Client extends OpenApi {
6080
7390
  }
6081
7391
 
6082
7392
  /**
7393
+ * Queries fingerprint templates.
7394
+ *
6083
7395
  * @param request - DescribeFingerPrintTemplatesRequest
6084
7396
  * @param runtime - runtime options for this request RuntimeOptions
6085
7397
  * @returns DescribeFingerPrintTemplatesResponse
@@ -6121,6 +7433,8 @@ export default class Client extends OpenApi {
6121
7433
  }
6122
7434
 
6123
7435
  /**
7436
+ * Queries fingerprint templates.
7437
+ *
6124
7438
  * @param request - DescribeFingerPrintTemplatesRequest
6125
7439
  * @returns DescribeFingerPrintTemplatesResponse
6126
7440
  */
@@ -6402,6 +7716,150 @@ export default class Client extends OpenApi {
6402
7716
  }
6403
7717
 
6404
7718
  /**
7719
+ * 查询用户资源列表
7720
+ *
7721
+ * @param request - DescribeUserResourcesRequest
7722
+ * @param runtime - runtime options for this request RuntimeOptions
7723
+ * @returns DescribeUserResourcesResponse
7724
+ */
7725
+ async describeUserResourcesWithOptions(request: DescribeUserResourcesRequest, runtime: $dara.RuntimeOptions): Promise<DescribeUserResourcesResponse> {
7726
+ request.validate();
7727
+ let query = { };
7728
+ if (!$dara.isNull(request.accessType)) {
7729
+ query["AccessType"] = request.accessType;
7730
+ }
7731
+
7732
+ if (!$dara.isNull(request.autoRefresh)) {
7733
+ query["AutoRefresh"] = request.autoRefresh;
7734
+ }
7735
+
7736
+ if (!$dara.isNull(request.categoryId)) {
7737
+ query["CategoryId"] = request.categoryId;
7738
+ }
7739
+
7740
+ if (!$dara.isNull(request.categoryType)) {
7741
+ query["CategoryType"] = request.categoryType;
7742
+ }
7743
+
7744
+ if (!$dara.isNull(request.clientId)) {
7745
+ query["ClientId"] = request.clientId;
7746
+ }
7747
+
7748
+ if (!$dara.isNull(request.clientType)) {
7749
+ query["ClientType"] = request.clientType;
7750
+ }
7751
+
7752
+ if (!$dara.isNull(request.clientVersion)) {
7753
+ query["ClientVersion"] = request.clientVersion;
7754
+ }
7755
+
7756
+ if (!$dara.isNull(request.dualCenterForward)) {
7757
+ query["DualCenterForward"] = request.dualCenterForward;
7758
+ }
7759
+
7760
+ if (!$dara.isNull(request.language)) {
7761
+ query["Language"] = request.language;
7762
+ }
7763
+
7764
+ if (!$dara.isNull(request.loginRegionId)) {
7765
+ query["LoginRegionId"] = request.loginRegionId;
7766
+ }
7767
+
7768
+ if (!$dara.isNull(request.loginToken)) {
7769
+ query["LoginToken"] = request.loginToken;
7770
+ }
7771
+
7772
+ if (!$dara.isNull(request.maxResults)) {
7773
+ query["MaxResults"] = request.maxResults;
7774
+ }
7775
+
7776
+ if (!$dara.isNull(request.nextToken)) {
7777
+ query["NextToken"] = request.nextToken;
7778
+ }
7779
+
7780
+ if (!$dara.isNull(request.officeSiteIds)) {
7781
+ query["OfficeSiteIds"] = request.officeSiteIds;
7782
+ }
7783
+
7784
+ if (!$dara.isNull(request.orderBy)) {
7785
+ query["OrderBy"] = request.orderBy;
7786
+ }
7787
+
7788
+ if (!$dara.isNull(request.productTypes)) {
7789
+ query["ProductTypes"] = request.productTypes;
7790
+ }
7791
+
7792
+ if (!$dara.isNull(request.protocolType)) {
7793
+ query["ProtocolType"] = request.protocolType;
7794
+ }
7795
+
7796
+ if (!$dara.isNull(request.queryFotaUpdate)) {
7797
+ query["QueryFotaUpdate"] = request.queryFotaUpdate;
7798
+ }
7799
+
7800
+ if (!$dara.isNull(request.refreshFotaUpdate)) {
7801
+ query["RefreshFotaUpdate"] = request.refreshFotaUpdate;
7802
+ }
7803
+
7804
+ if (!$dara.isNull(request.resourceIds)) {
7805
+ query["ResourceIds"] = request.resourceIds;
7806
+ }
7807
+
7808
+ if (!$dara.isNull(request.resourceName)) {
7809
+ query["ResourceName"] = request.resourceName;
7810
+ }
7811
+
7812
+ if (!$dara.isNull(request.resourceTypes)) {
7813
+ query["ResourceTypes"] = request.resourceTypes;
7814
+ }
7815
+
7816
+ if (!$dara.isNull(request.scene)) {
7817
+ query["Scene"] = request.scene;
7818
+ }
7819
+
7820
+ if (!$dara.isNull(request.searchRegionId)) {
7821
+ query["SearchRegionId"] = request.searchRegionId;
7822
+ }
7823
+
7824
+ if (!$dara.isNull(request.sessionId)) {
7825
+ query["SessionId"] = request.sessionId;
7826
+ }
7827
+
7828
+ if (!$dara.isNull(request.sortType)) {
7829
+ query["SortType"] = request.sortType;
7830
+ }
7831
+
7832
+ let req = new $OpenApiUtil.OpenApiRequest({
7833
+ query: OpenApiUtil.query(query),
7834
+ });
7835
+ let params = new $OpenApiUtil.Params({
7836
+ action: "DescribeUserResources",
7837
+ version: "2020-10-02",
7838
+ protocol: "HTTPS",
7839
+ pathname: "/",
7840
+ method: "POST",
7841
+ authType: "Anonymous",
7842
+ style: "RPC",
7843
+ reqBodyType: "formData",
7844
+ bodyType: "json",
7845
+ });
7846
+ return $dara.cast<DescribeUserResourcesResponse>(await this.callApi(params, req, runtime), new DescribeUserResourcesResponse({}));
7847
+ }
7848
+
7849
+ /**
7850
+ * 查询用户资源列表
7851
+ *
7852
+ * @param request - DescribeUserResourcesRequest
7853
+ * @returns DescribeUserResourcesResponse
7854
+ */
7855
+ async describeUserResources(request: DescribeUserResourcesRequest): Promise<DescribeUserResourcesResponse> {
7856
+ let runtime = new $dara.RuntimeOptions({ });
7857
+ return await this.describeUserResourcesWithOptions(request, runtime);
7858
+ }
7859
+
7860
+ /**
7861
+ * Encrypts a password.
7862
+ *
6405
7863
  * @param request - EncryptPasswordRequest
6406
7864
  * @param runtime - runtime options for this request RuntimeOptions
6407
7865
  * @returns EncryptPasswordResponse
@@ -6455,6 +7913,8 @@ export default class Client extends OpenApi {
6455
7913
  }
6456
7914
 
6457
7915
  /**
7916
+ * Encrypts a password.
7917
+ *
6458
7918
  * @param request - EncryptPasswordRequest
6459
7919
  * @returns EncryptPasswordResponse
6460
7920
  */
@@ -6859,6 +8319,10 @@ export default class Client extends OpenApi {
6859
8319
  query["LoginToken"] = request.loginToken;
6860
8320
  }
6861
8321
 
8322
+ if (!$dara.isNull(request.osUpdate)) {
8323
+ query["OsUpdate"] = request.osUpdate;
8324
+ }
8325
+
6862
8326
  if (!$dara.isNull(request.regionId)) {
6863
8327
  query["RegionId"] = request.regionId;
6864
8328
  }
@@ -7078,6 +8542,8 @@ export default class Client extends OpenApi {
7078
8542
  }
7079
8543
 
7080
8544
  /**
8545
+ * Resets a password.
8546
+ *
7081
8547
  * @param request - ResetPasswordRequest
7082
8548
  * @param runtime - runtime options for this request RuntimeOptions
7083
8549
  * @returns ResetPasswordResponse
@@ -7131,6 +8597,8 @@ export default class Client extends OpenApi {
7131
8597
  }
7132
8598
 
7133
8599
  /**
8600
+ * Resets a password.
8601
+ *
7134
8602
  * @param request - ResetPasswordRequest
7135
8603
  * @returns ResetPasswordResponse
7136
8604
  */
@@ -7140,7 +8608,7 @@ export default class Client extends OpenApi {
7140
8608
  }
7141
8609
 
7142
8610
  /**
7143
- * 还原快照
8611
+ * Restores the data of a disk from a snapshot.
7144
8612
  *
7145
8613
  * @param request - ResetSnapshotRequest
7146
8614
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7195,7 +8663,7 @@ export default class Client extends OpenApi {
7195
8663
  }
7196
8664
 
7197
8665
  /**
7198
- * 还原快照
8666
+ * Restores the data of a disk from a snapshot.
7199
8667
  *
7200
8668
  * @param request - ResetSnapshotRequest
7201
8669
  * @returns ResetSnapshotResponse
@@ -7206,6 +8674,8 @@ export default class Client extends OpenApi {
7206
8674
  }
7207
8675
 
7208
8676
  /**
8677
+ * Sends a logon verification code.
8678
+ *
7209
8679
  * @param request - SendTokenCodeRequest
7210
8680
  * @param runtime - runtime options for this request RuntimeOptions
7211
8681
  * @returns SendTokenCodeResponse
@@ -7263,6 +8733,8 @@ export default class Client extends OpenApi {
7263
8733
  }
7264
8734
 
7265
8735
  /**
8736
+ * Sends a logon verification code.
8737
+ *
7266
8738
  * @param request - SendTokenCodeRequest
7267
8739
  * @returns SendTokenCodeResponse
7268
8740
  */
@@ -7590,6 +9062,10 @@ export default class Client extends OpenApi {
7590
9062
  query["LoginToken"] = request.loginToken;
7591
9063
  }
7592
9064
 
9065
+ if (!$dara.isNull(request.osUpdate)) {
9066
+ query["OsUpdate"] = request.osUpdate;
9067
+ }
9068
+
7593
9069
  if (!$dara.isNull(request.regionId)) {
7594
9070
  query["RegionId"] = request.regionId;
7595
9071
  }
@@ -7602,6 +9078,10 @@ export default class Client extends OpenApi {
7602
9078
  query["SessionToken"] = request.sessionToken;
7603
9079
  }
7604
9080
 
9081
+ if (!$dara.isNull(request.uuid)) {
9082
+ query["Uuid"] = request.uuid;
9083
+ }
9084
+
7605
9085
  let req = new $OpenApiUtil.OpenApiRequest({
7606
9086
  query: OpenApiUtil.query(query),
7607
9087
  });
@@ -7696,7 +9176,7 @@ export default class Client extends OpenApi {
7696
9176
  }
7697
9177
 
7698
9178
  /**
7699
- * 解绑用户桌面
9179
+ * Unbinds end users from cloud computers.
7700
9180
  *
7701
9181
  * @param request - UnbindUserDesktopRequest
7702
9182
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7751,7 +9231,7 @@ export default class Client extends OpenApi {
7751
9231
  }
7752
9232
 
7753
9233
  /**
7754
- * 解绑用户桌面
9234
+ * Unbinds end users from cloud computers.
7755
9235
  *
7756
9236
  * @param request - UnbindUserDesktopRequest
7757
9237
  * @returns UnbindUserDesktopResponse