@alicloud/ecd20201002 2.0.15 → 2.1.1

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
@@ -65,9 +65,9 @@ export class ApproveFotaUpdateResponseBody extends $tea.Model {
65
65
  }
66
66
 
67
67
  export class ApproveFotaUpdateResponse extends $tea.Model {
68
- headers: { [key: string]: string };
69
- statusCode: number;
70
- body: ApproveFotaUpdateResponseBody;
68
+ headers?: { [key: string]: string };
69
+ statusCode?: number;
70
+ body?: ApproveFotaUpdateResponseBody;
71
71
  static names(): { [key: string]: string } {
72
72
  return {
73
73
  headers: 'headers',
@@ -152,9 +152,9 @@ export class ChangePasswordResponseBody extends $tea.Model {
152
152
  }
153
153
 
154
154
  export class ChangePasswordResponse extends $tea.Model {
155
- headers: { [key: string]: string };
156
- statusCode: number;
157
- body: ChangePasswordResponseBody;
155
+ headers?: { [key: string]: string };
156
+ statusCode?: number;
157
+ body?: ChangePasswordResponseBody;
158
158
  static names(): { [key: string]: string } {
159
159
  return {
160
160
  headers: 'headers',
@@ -230,9 +230,9 @@ export class DeleteFingerPrintTemplateResponseBody extends $tea.Model {
230
230
  }
231
231
 
232
232
  export class DeleteFingerPrintTemplateResponse extends $tea.Model {
233
- headers: { [key: string]: string };
234
- statusCode: number;
235
- body: DeleteFingerPrintTemplateResponseBody;
233
+ headers?: { [key: string]: string };
234
+ statusCode?: number;
235
+ body?: DeleteFingerPrintTemplateResponseBody;
236
236
  static names(): { [key: string]: string } {
237
237
  return {
238
238
  headers: 'headers',
@@ -302,9 +302,9 @@ export class DescribeDirectoriesResponseBody extends $tea.Model {
302
302
  }
303
303
 
304
304
  export class DescribeDirectoriesResponse extends $tea.Model {
305
- headers: { [key: string]: string };
306
- statusCode: number;
307
- body: DescribeDirectoriesResponseBody;
305
+ headers?: { [key: string]: string };
306
+ statusCode?: number;
307
+ body?: DescribeDirectoriesResponseBody;
308
308
  static names(): { [key: string]: string } {
309
309
  return {
310
310
  headers: 'headers',
@@ -377,9 +377,9 @@ export class DescribeFingerPrintTemplatesResponseBody extends $tea.Model {
377
377
  }
378
378
 
379
379
  export class DescribeFingerPrintTemplatesResponse extends $tea.Model {
380
- headers: { [key: string]: string };
381
- statusCode: number;
382
- body: DescribeFingerPrintTemplatesResponseBody;
380
+ headers?: { [key: string]: string };
381
+ statusCode?: number;
382
+ body?: DescribeFingerPrintTemplatesResponseBody;
383
383
  static names(): { [key: string]: string } {
384
384
  return {
385
385
  headers: 'headers',
@@ -500,9 +500,9 @@ export class DescribeGlobalDesktopsResponseBody extends $tea.Model {
500
500
  }
501
501
 
502
502
  export class DescribeGlobalDesktopsResponse extends $tea.Model {
503
- headers: { [key: string]: string };
504
- statusCode: number;
505
- body: DescribeGlobalDesktopsResponseBody;
503
+ headers?: { [key: string]: string };
504
+ statusCode?: number;
505
+ body?: DescribeGlobalDesktopsResponseBody;
506
506
  static names(): { [key: string]: string } {
507
507
  return {
508
508
  headers: 'headers',
@@ -572,9 +572,9 @@ export class DescribeOfficeSitesResponseBody extends $tea.Model {
572
572
  }
573
573
 
574
574
  export class DescribeOfficeSitesResponse extends $tea.Model {
575
- headers: { [key: string]: string };
576
- statusCode: number;
577
- body: DescribeOfficeSitesResponseBody;
575
+ headers?: { [key: string]: string };
576
+ statusCode?: number;
577
+ body?: DescribeOfficeSitesResponseBody;
578
578
  static names(): { [key: string]: string } {
579
579
  return {
580
580
  headers: 'headers',
@@ -641,9 +641,9 @@ export class DescribeRegionsResponseBody extends $tea.Model {
641
641
  }
642
642
 
643
643
  export class DescribeRegionsResponse extends $tea.Model {
644
- headers: { [key: string]: string };
645
- statusCode: number;
646
- body: DescribeRegionsResponseBody;
644
+ headers?: { [key: string]: string };
645
+ statusCode?: number;
646
+ body?: DescribeRegionsResponseBody;
647
647
  static names(): { [key: string]: string } {
648
648
  return {
649
649
  headers: 'headers',
@@ -731,9 +731,9 @@ export class DescribeSnapshotsResponseBody extends $tea.Model {
731
731
  }
732
732
 
733
733
  export class DescribeSnapshotsResponse extends $tea.Model {
734
- headers: { [key: string]: string };
735
- statusCode: number;
736
- body: DescribeSnapshotsResponseBody;
734
+ headers?: { [key: string]: string };
735
+ statusCode?: number;
736
+ body?: DescribeSnapshotsResponseBody;
737
737
  static names(): { [key: string]: string } {
738
738
  return {
739
739
  headers: 'headers',
@@ -815,9 +815,9 @@ export class EncryptPasswordResponseBody extends $tea.Model {
815
815
  }
816
816
 
817
817
  export class EncryptPasswordResponse extends $tea.Model {
818
- headers: { [key: string]: string };
819
- statusCode: number;
820
- body: EncryptPasswordResponseBody;
818
+ headers?: { [key: string]: string };
819
+ statusCode?: number;
820
+ body?: EncryptPasswordResponseBody;
821
821
  static names(): { [key: string]: string } {
822
822
  return {
823
823
  headers: 'headers',
@@ -893,9 +893,9 @@ export class GetCloudDriveServiceMountTokenResponseBody extends $tea.Model {
893
893
  }
894
894
 
895
895
  export class GetCloudDriveServiceMountTokenResponse extends $tea.Model {
896
- headers: { [key: string]: string };
897
- statusCode: number;
898
- body: GetCloudDriveServiceMountTokenResponseBody;
896
+ headers?: { [key: string]: string };
897
+ statusCode?: number;
898
+ body?: GetCloudDriveServiceMountTokenResponseBody;
899
899
  static names(): { [key: string]: string } {
900
900
  return {
901
901
  headers: 'headers',
@@ -917,6 +917,123 @@ export class GetCloudDriveServiceMountTokenResponse extends $tea.Model {
917
917
  }
918
918
  }
919
919
 
920
+ export class GetConnectionTicketRequest extends $tea.Model {
921
+ clientId?: string;
922
+ clientOS?: string;
923
+ clientType?: string;
924
+ clientVersion?: string;
925
+ commandContent?: string;
926
+ desktopId?: string;
927
+ loginToken?: string;
928
+ ownerId?: number;
929
+ regionId?: string;
930
+ resourceOwnerAccount?: string;
931
+ resourceOwnerId?: number;
932
+ sessionId?: string;
933
+ taskId?: string;
934
+ uuid?: string;
935
+ static names(): { [key: string]: string } {
936
+ return {
937
+ clientId: 'ClientId',
938
+ clientOS: 'ClientOS',
939
+ clientType: 'ClientType',
940
+ clientVersion: 'ClientVersion',
941
+ commandContent: 'CommandContent',
942
+ desktopId: 'DesktopId',
943
+ loginToken: 'LoginToken',
944
+ ownerId: 'OwnerId',
945
+ regionId: 'RegionId',
946
+ resourceOwnerAccount: 'ResourceOwnerAccount',
947
+ resourceOwnerId: 'ResourceOwnerId',
948
+ sessionId: 'SessionId',
949
+ taskId: 'TaskId',
950
+ uuid: 'Uuid',
951
+ };
952
+ }
953
+
954
+ static types(): { [key: string]: any } {
955
+ return {
956
+ clientId: 'string',
957
+ clientOS: 'string',
958
+ clientType: 'string',
959
+ clientVersion: 'string',
960
+ commandContent: 'string',
961
+ desktopId: 'string',
962
+ loginToken: 'string',
963
+ ownerId: 'number',
964
+ regionId: 'string',
965
+ resourceOwnerAccount: 'string',
966
+ resourceOwnerId: 'number',
967
+ sessionId: 'string',
968
+ taskId: 'string',
969
+ uuid: 'string',
970
+ };
971
+ }
972
+
973
+ constructor(map?: { [key: string]: any }) {
974
+ super(map);
975
+ }
976
+ }
977
+
978
+ export class GetConnectionTicketResponseBody extends $tea.Model {
979
+ requestId?: string;
980
+ taskCode?: string;
981
+ taskId?: string;
982
+ taskMessage?: string;
983
+ taskStatus?: string;
984
+ ticket?: string;
985
+ static names(): { [key: string]: string } {
986
+ return {
987
+ requestId: 'RequestId',
988
+ taskCode: 'TaskCode',
989
+ taskId: 'TaskId',
990
+ taskMessage: 'TaskMessage',
991
+ taskStatus: 'TaskStatus',
992
+ ticket: 'Ticket',
993
+ };
994
+ }
995
+
996
+ static types(): { [key: string]: any } {
997
+ return {
998
+ requestId: 'string',
999
+ taskCode: 'string',
1000
+ taskId: 'string',
1001
+ taskMessage: 'string',
1002
+ taskStatus: 'string',
1003
+ ticket: 'string',
1004
+ };
1005
+ }
1006
+
1007
+ constructor(map?: { [key: string]: any }) {
1008
+ super(map);
1009
+ }
1010
+ }
1011
+
1012
+ export class GetConnectionTicketResponse extends $tea.Model {
1013
+ headers?: { [key: string]: string };
1014
+ statusCode?: number;
1015
+ body?: GetConnectionTicketResponseBody;
1016
+ static names(): { [key: string]: string } {
1017
+ return {
1018
+ headers: 'headers',
1019
+ statusCode: 'statusCode',
1020
+ body: 'body',
1021
+ };
1022
+ }
1023
+
1024
+ static types(): { [key: string]: any } {
1025
+ return {
1026
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1027
+ statusCode: 'number',
1028
+ body: GetConnectionTicketResponseBody,
1029
+ };
1030
+ }
1031
+
1032
+ constructor(map?: { [key: string]: any }) {
1033
+ super(map);
1034
+ }
1035
+ }
1036
+
920
1037
  export class GetLoginTokenRequest extends $tea.Model {
921
1038
  authenticationCode?: string;
922
1039
  clientId?: string;
@@ -999,6 +1116,7 @@ export class GetLoginTokenResponseBody extends $tea.Model {
999
1116
  props?: { [key: string]: string };
1000
1117
  qrCodePng?: string;
1001
1118
  requestId?: string;
1119
+ riskVerifyInfo?: GetLoginTokenResponseBodyRiskVerifyInfo;
1002
1120
  secret?: string;
1003
1121
  sessionId?: string;
1004
1122
  tenantId?: number;
@@ -1016,6 +1134,7 @@ export class GetLoginTokenResponseBody extends $tea.Model {
1016
1134
  props: 'Props',
1017
1135
  qrCodePng: 'QrCodePng',
1018
1136
  requestId: 'RequestId',
1137
+ riskVerifyInfo: 'RiskVerifyInfo',
1019
1138
  secret: 'Secret',
1020
1139
  sessionId: 'SessionId',
1021
1140
  tenantId: 'TenantId',
@@ -1036,6 +1155,7 @@ export class GetLoginTokenResponseBody extends $tea.Model {
1036
1155
  props: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1037
1156
  qrCodePng: 'string',
1038
1157
  requestId: 'string',
1158
+ riskVerifyInfo: GetLoginTokenResponseBodyRiskVerifyInfo,
1039
1159
  secret: 'string',
1040
1160
  sessionId: 'string',
1041
1161
  tenantId: 'number',
@@ -1049,9 +1169,9 @@ export class GetLoginTokenResponseBody extends $tea.Model {
1049
1169
  }
1050
1170
 
1051
1171
  export class GetLoginTokenResponse extends $tea.Model {
1052
- headers: { [key: string]: string };
1053
- statusCode: number;
1054
- body: GetLoginTokenResponseBody;
1172
+ headers?: { [key: string]: string };
1173
+ statusCode?: number;
1174
+ body?: GetLoginTokenResponseBody;
1055
1175
  static names(): { [key: string]: string } {
1056
1176
  return {
1057
1177
  headers: 'headers',
@@ -1127,9 +1247,9 @@ export class IsKeepAliveResponseBody extends $tea.Model {
1127
1247
  }
1128
1248
 
1129
1249
  export class IsKeepAliveResponse extends $tea.Model {
1130
- headers: { [key: string]: string };
1131
- statusCode: number;
1132
- body: IsKeepAliveResponseBody;
1250
+ headers?: { [key: string]: string };
1251
+ statusCode?: number;
1252
+ body?: IsKeepAliveResponseBody;
1133
1253
  static names(): { [key: string]: string } {
1134
1254
  return {
1135
1255
  headers: 'headers',
@@ -1151,6 +1271,78 @@ export class IsKeepAliveResponse extends $tea.Model {
1151
1271
  }
1152
1272
  }
1153
1273
 
1274
+ export class QueryEdsAgentReportConfigRequest extends $tea.Model {
1275
+ aliUid?: number;
1276
+ desktopId?: string;
1277
+ ecsInstanceId?: string;
1278
+ static names(): { [key: string]: string } {
1279
+ return {
1280
+ aliUid: 'AliUid',
1281
+ desktopId: 'DesktopId',
1282
+ ecsInstanceId: 'EcsInstanceId',
1283
+ };
1284
+ }
1285
+
1286
+ static types(): { [key: string]: any } {
1287
+ return {
1288
+ aliUid: 'number',
1289
+ desktopId: 'string',
1290
+ ecsInstanceId: 'string',
1291
+ };
1292
+ }
1293
+
1294
+ constructor(map?: { [key: string]: any }) {
1295
+ super(map);
1296
+ }
1297
+ }
1298
+
1299
+ export class QueryEdsAgentReportConfigResponseBody extends $tea.Model {
1300
+ data?: QueryEdsAgentReportConfigResponseBodyData;
1301
+ requestId?: string;
1302
+ static names(): { [key: string]: string } {
1303
+ return {
1304
+ data: 'Data',
1305
+ requestId: 'RequestId',
1306
+ };
1307
+ }
1308
+
1309
+ static types(): { [key: string]: any } {
1310
+ return {
1311
+ data: QueryEdsAgentReportConfigResponseBodyData,
1312
+ requestId: 'string',
1313
+ };
1314
+ }
1315
+
1316
+ constructor(map?: { [key: string]: any }) {
1317
+ super(map);
1318
+ }
1319
+ }
1320
+
1321
+ export class QueryEdsAgentReportConfigResponse extends $tea.Model {
1322
+ headers?: { [key: string]: string };
1323
+ statusCode?: number;
1324
+ body?: QueryEdsAgentReportConfigResponseBody;
1325
+ static names(): { [key: string]: string } {
1326
+ return {
1327
+ headers: 'headers',
1328
+ statusCode: 'statusCode',
1329
+ body: 'body',
1330
+ };
1331
+ }
1332
+
1333
+ static types(): { [key: string]: any } {
1334
+ return {
1335
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1336
+ statusCode: 'number',
1337
+ body: QueryEdsAgentReportConfigResponseBody,
1338
+ };
1339
+ }
1340
+
1341
+ constructor(map?: { [key: string]: any }) {
1342
+ super(map);
1343
+ }
1344
+ }
1345
+
1154
1346
  export class RebootDesktopsRequest extends $tea.Model {
1155
1347
  clientId?: string;
1156
1348
  clientOS?: string;
@@ -1160,6 +1352,8 @@ export class RebootDesktopsRequest extends $tea.Model {
1160
1352
  loginToken?: string;
1161
1353
  regionId?: string;
1162
1354
  sessionId?: string;
1355
+ sessionToken?: string;
1356
+ uuid?: string;
1163
1357
  static names(): { [key: string]: string } {
1164
1358
  return {
1165
1359
  clientId: 'ClientId',
@@ -1170,6 +1364,8 @@ export class RebootDesktopsRequest extends $tea.Model {
1170
1364
  loginToken: 'LoginToken',
1171
1365
  regionId: 'RegionId',
1172
1366
  sessionId: 'SessionId',
1367
+ sessionToken: 'SessionToken',
1368
+ uuid: 'Uuid',
1173
1369
  };
1174
1370
  }
1175
1371
 
@@ -1183,6 +1379,8 @@ export class RebootDesktopsRequest extends $tea.Model {
1183
1379
  loginToken: 'string',
1184
1380
  regionId: 'string',
1185
1381
  sessionId: 'string',
1382
+ sessionToken: 'string',
1383
+ uuid: 'string',
1186
1384
  };
1187
1385
  }
1188
1386
 
@@ -1211,9 +1409,9 @@ export class RebootDesktopsResponseBody extends $tea.Model {
1211
1409
  }
1212
1410
 
1213
1411
  export class RebootDesktopsResponse extends $tea.Model {
1214
- headers: { [key: string]: string };
1215
- statusCode: number;
1216
- body: RebootDesktopsResponseBody;
1412
+ headers?: { [key: string]: string };
1413
+ statusCode?: number;
1414
+ body?: RebootDesktopsResponseBody;
1217
1415
  static names(): { [key: string]: string } {
1218
1416
  return {
1219
1417
  headers: 'headers',
@@ -1295,9 +1493,9 @@ export class RefreshLoginTokenResponseBody extends $tea.Model {
1295
1493
  }
1296
1494
 
1297
1495
  export class RefreshLoginTokenResponse extends $tea.Model {
1298
- headers: { [key: string]: string };
1299
- statusCode: number;
1300
- body: RefreshLoginTokenResponseBody;
1496
+ headers?: { [key: string]: string };
1497
+ statusCode?: number;
1498
+ body?: RefreshLoginTokenResponseBody;
1301
1499
  static names(): { [key: string]: string } {
1302
1500
  return {
1303
1501
  headers: 'headers',
@@ -1319,6 +1517,78 @@ export class RefreshLoginTokenResponse extends $tea.Model {
1319
1517
  }
1320
1518
  }
1321
1519
 
1520
+ export class ReportEdsAgentInfoRequest extends $tea.Model {
1521
+ aliUid?: number;
1522
+ desktopId?: string;
1523
+ ecsInstanceId?: string;
1524
+ edsAgentInfo?: string;
1525
+ static names(): { [key: string]: string } {
1526
+ return {
1527
+ aliUid: 'AliUid',
1528
+ desktopId: 'DesktopId',
1529
+ ecsInstanceId: 'EcsInstanceId',
1530
+ edsAgentInfo: 'EdsAgentInfo',
1531
+ };
1532
+ }
1533
+
1534
+ static types(): { [key: string]: any } {
1535
+ return {
1536
+ aliUid: 'number',
1537
+ desktopId: 'string',
1538
+ ecsInstanceId: 'string',
1539
+ edsAgentInfo: 'string',
1540
+ };
1541
+ }
1542
+
1543
+ constructor(map?: { [key: string]: any }) {
1544
+ super(map);
1545
+ }
1546
+ }
1547
+
1548
+ export class ReportEdsAgentInfoResponseBody extends $tea.Model {
1549
+ requestId?: string;
1550
+ static names(): { [key: string]: string } {
1551
+ return {
1552
+ requestId: 'RequestId',
1553
+ };
1554
+ }
1555
+
1556
+ static types(): { [key: string]: any } {
1557
+ return {
1558
+ requestId: 'string',
1559
+ };
1560
+ }
1561
+
1562
+ constructor(map?: { [key: string]: any }) {
1563
+ super(map);
1564
+ }
1565
+ }
1566
+
1567
+ export class ReportEdsAgentInfoResponse extends $tea.Model {
1568
+ headers?: { [key: string]: string };
1569
+ statusCode?: number;
1570
+ body?: ReportEdsAgentInfoResponseBody;
1571
+ static names(): { [key: string]: string } {
1572
+ return {
1573
+ headers: 'headers',
1574
+ statusCode: 'statusCode',
1575
+ body: 'body',
1576
+ };
1577
+ }
1578
+
1579
+ static types(): { [key: string]: any } {
1580
+ return {
1581
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1582
+ statusCode: 'number',
1583
+ body: ReportEdsAgentInfoResponseBody,
1584
+ };
1585
+ }
1586
+
1587
+ constructor(map?: { [key: string]: any }) {
1588
+ super(map);
1589
+ }
1590
+ }
1591
+
1322
1592
  export class ReportSessionStatusRequest extends $tea.Model {
1323
1593
  endUserId?: string;
1324
1594
  instanceId?: string;
@@ -1373,9 +1643,9 @@ export class ReportSessionStatusResponseBody extends $tea.Model {
1373
1643
  }
1374
1644
 
1375
1645
  export class ReportSessionStatusResponse extends $tea.Model {
1376
- headers: { [key: string]: string };
1377
- statusCode: number;
1378
- body: ReportSessionStatusResponseBody;
1646
+ headers?: { [key: string]: string };
1647
+ statusCode?: number;
1648
+ body?: ReportSessionStatusResponseBody;
1379
1649
  static names(): { [key: string]: string } {
1380
1650
  return {
1381
1651
  headers: 'headers',
@@ -1454,9 +1724,9 @@ export class ResetPasswordResponseBody extends $tea.Model {
1454
1724
  }
1455
1725
 
1456
1726
  export class ResetPasswordResponse extends $tea.Model {
1457
- headers: { [key: string]: string };
1458
- statusCode: number;
1459
- body: ResetPasswordResponseBody;
1727
+ headers?: { [key: string]: string };
1728
+ statusCode?: number;
1729
+ body?: ResetPasswordResponseBody;
1460
1730
  static names(): { [key: string]: string } {
1461
1731
  return {
1462
1732
  headers: 'headers',
@@ -1529,9 +1799,9 @@ export class ResetSnapshotResponseBody extends $tea.Model {
1529
1799
  }
1530
1800
 
1531
1801
  export class ResetSnapshotResponse extends $tea.Model {
1532
- headers: { [key: string]: string };
1533
- statusCode: number;
1534
- body: ResetSnapshotResponseBody;
1802
+ headers?: { [key: string]: string };
1803
+ statusCode?: number;
1804
+ body?: ResetSnapshotResponseBody;
1535
1805
  static names(): { [key: string]: string } {
1536
1806
  return {
1537
1807
  headers: 'headers',
@@ -1613,9 +1883,9 @@ export class SendTokenCodeResponseBody extends $tea.Model {
1613
1883
  }
1614
1884
 
1615
1885
  export class SendTokenCodeResponse extends $tea.Model {
1616
- headers: { [key: string]: string };
1617
- statusCode: number;
1618
- body: SendTokenCodeResponseBody;
1886
+ headers?: { [key: string]: string };
1887
+ statusCode?: number;
1888
+ body?: SendTokenCodeResponseBody;
1619
1889
  static names(): { [key: string]: string } {
1620
1890
  return {
1621
1891
  headers: 'headers',
@@ -1709,9 +1979,9 @@ export class SetFingerPrintTemplateResponseBody extends $tea.Model {
1709
1979
  }
1710
1980
 
1711
1981
  export class SetFingerPrintTemplateResponse extends $tea.Model {
1712
- headers: { [key: string]: string };
1713
- statusCode: number;
1714
- body: SetFingerPrintTemplateResponseBody;
1982
+ headers?: { [key: string]: string };
1983
+ statusCode?: number;
1984
+ body?: SetFingerPrintTemplateResponseBody;
1715
1985
  static names(): { [key: string]: string } {
1716
1986
  return {
1717
1987
  headers: 'headers',
@@ -1790,9 +2060,9 @@ export class SetFingerPrintTemplateDescriptionResponseBody extends $tea.Model {
1790
2060
  }
1791
2061
 
1792
2062
  export class SetFingerPrintTemplateDescriptionResponse extends $tea.Model {
1793
- headers: { [key: string]: string };
1794
- statusCode: number;
1795
- body: SetFingerPrintTemplateDescriptionResponseBody;
2063
+ headers?: { [key: string]: string };
2064
+ statusCode?: number;
2065
+ body?: SetFingerPrintTemplateDescriptionResponseBody;
1796
2066
  static names(): { [key: string]: string } {
1797
2067
  return {
1798
2068
  headers: 'headers',
@@ -1823,6 +2093,7 @@ export class StartDesktopsRequest extends $tea.Model {
1823
2093
  loginToken?: string;
1824
2094
  regionId?: string;
1825
2095
  sessionId?: string;
2096
+ uuid?: string;
1826
2097
  static names(): { [key: string]: string } {
1827
2098
  return {
1828
2099
  clientId: 'ClientId',
@@ -1833,6 +2104,7 @@ export class StartDesktopsRequest extends $tea.Model {
1833
2104
  loginToken: 'LoginToken',
1834
2105
  regionId: 'RegionId',
1835
2106
  sessionId: 'SessionId',
2107
+ uuid: 'Uuid',
1836
2108
  };
1837
2109
  }
1838
2110
 
@@ -1846,6 +2118,7 @@ export class StartDesktopsRequest extends $tea.Model {
1846
2118
  loginToken: 'string',
1847
2119
  regionId: 'string',
1848
2120
  sessionId: 'string',
2121
+ uuid: 'string',
1849
2122
  };
1850
2123
  }
1851
2124
 
@@ -1874,9 +2147,9 @@ export class StartDesktopsResponseBody extends $tea.Model {
1874
2147
  }
1875
2148
 
1876
2149
  export class StartDesktopsResponse extends $tea.Model {
1877
- headers: { [key: string]: string };
1878
- statusCode: number;
1879
- body: StartDesktopsResponseBody;
2150
+ headers?: { [key: string]: string };
2151
+ statusCode?: number;
2152
+ body?: StartDesktopsResponseBody;
1880
2153
  static names(): { [key: string]: string } {
1881
2154
  return {
1882
2155
  headers: 'headers',
@@ -1958,9 +2231,9 @@ export class StartRecordContentResponseBody extends $tea.Model {
1958
2231
  }
1959
2232
 
1960
2233
  export class StartRecordContentResponse extends $tea.Model {
1961
- headers: { [key: string]: string };
1962
- statusCode: number;
1963
- body: StartRecordContentResponseBody;
2234
+ headers?: { [key: string]: string };
2235
+ statusCode?: number;
2236
+ body?: StartRecordContentResponseBody;
1964
2237
  static names(): { [key: string]: string } {
1965
2238
  return {
1966
2239
  headers: 'headers',
@@ -1991,6 +2264,7 @@ export class StopDesktopsRequest extends $tea.Model {
1991
2264
  loginToken?: string;
1992
2265
  regionId?: string;
1993
2266
  sessionId?: string;
2267
+ sessionToken?: string;
1994
2268
  static names(): { [key: string]: string } {
1995
2269
  return {
1996
2270
  clientId: 'ClientId',
@@ -2001,6 +2275,7 @@ export class StopDesktopsRequest extends $tea.Model {
2001
2275
  loginToken: 'LoginToken',
2002
2276
  regionId: 'RegionId',
2003
2277
  sessionId: 'SessionId',
2278
+ sessionToken: 'SessionToken',
2004
2279
  };
2005
2280
  }
2006
2281
 
@@ -2014,6 +2289,7 @@ export class StopDesktopsRequest extends $tea.Model {
2014
2289
  loginToken: 'string',
2015
2290
  regionId: 'string',
2016
2291
  sessionId: 'string',
2292
+ sessionToken: 'string',
2017
2293
  };
2018
2294
  }
2019
2295
 
@@ -2042,9 +2318,9 @@ export class StopDesktopsResponseBody extends $tea.Model {
2042
2318
  }
2043
2319
 
2044
2320
  export class StopDesktopsResponse extends $tea.Model {
2045
- headers: { [key: string]: string };
2046
- statusCode: number;
2047
- body: StopDesktopsResponseBody;
2321
+ headers?: { [key: string]: string };
2322
+ statusCode?: number;
2323
+ body?: StopDesktopsResponseBody;
2048
2324
  static names(): { [key: string]: string } {
2049
2325
  return {
2050
2326
  headers: 'headers',
@@ -2123,9 +2399,9 @@ export class StopRecordContentResponseBody extends $tea.Model {
2123
2399
  }
2124
2400
 
2125
2401
  export class StopRecordContentResponse extends $tea.Model {
2126
- headers: { [key: string]: string };
2127
- statusCode: number;
2128
- body: StopRecordContentResponseBody;
2402
+ headers?: { [key: string]: string };
2403
+ statusCode?: number;
2404
+ body?: StopRecordContentResponseBody;
2129
2405
  static names(): { [key: string]: string } {
2130
2406
  return {
2131
2407
  headers: 'headers',
@@ -2204,9 +2480,9 @@ export class UnbindUserDesktopResponseBody extends $tea.Model {
2204
2480
  }
2205
2481
 
2206
2482
  export class UnbindUserDesktopResponse extends $tea.Model {
2207
- headers: { [key: string]: string };
2208
- statusCode: number;
2209
- body: UnbindUserDesktopResponseBody;
2483
+ headers?: { [key: string]: string };
2484
+ statusCode?: number;
2485
+ body?: UnbindUserDesktopResponseBody;
2210
2486
  static names(): { [key: string]: string } {
2211
2487
  return {
2212
2488
  headers: 'headers',
@@ -2288,9 +2564,9 @@ export class VerifyCredentialResponseBody extends $tea.Model {
2288
2564
  }
2289
2565
 
2290
2566
  export class VerifyCredentialResponse extends $tea.Model {
2291
- headers: { [key: string]: string };
2292
- statusCode: number;
2293
- body: VerifyCredentialResponseBody;
2567
+ headers?: { [key: string]: string };
2568
+ statusCode?: number;
2569
+ body?: VerifyCredentialResponseBody;
2294
2570
  static names(): { [key: string]: string } {
2295
2571
  return {
2296
2572
  headers: 'headers',
@@ -2403,16 +2679,22 @@ export class DescribeGlobalDesktopsResponseBodyDesktopsClients extends $tea.Mode
2403
2679
  }
2404
2680
 
2405
2681
  export class DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers extends $tea.Model {
2682
+ allowClientSetting?: boolean;
2406
2683
  cronExpression?: string;
2407
2684
  enforce?: boolean;
2685
+ executionTime?: string;
2408
2686
  interval?: number;
2687
+ operationType?: string;
2409
2688
  resetType?: string;
2410
2689
  timerType?: string;
2411
2690
  static names(): { [key: string]: string } {
2412
2691
  return {
2692
+ allowClientSetting: 'AllowClientSetting',
2413
2693
  cronExpression: 'CronExpression',
2414
2694
  enforce: 'Enforce',
2695
+ executionTime: 'ExecutionTime',
2415
2696
  interval: 'Interval',
2697
+ operationType: 'OperationType',
2416
2698
  resetType: 'ResetType',
2417
2699
  timerType: 'TimerType',
2418
2700
  };
@@ -2420,9 +2702,12 @@ export class DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers extends $te
2420
2702
 
2421
2703
  static types(): { [key: string]: any } {
2422
2704
  return {
2705
+ allowClientSetting: 'boolean',
2423
2706
  cronExpression: 'string',
2424
2707
  enforce: 'boolean',
2708
+ executionTime: 'string',
2425
2709
  interval: 'number',
2710
+ operationType: 'string',
2426
2711
  resetType: 'string',
2427
2712
  timerType: 'string',
2428
2713
  };
@@ -2465,6 +2750,8 @@ export class DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate extends $tea.M
2465
2750
  newAppVersion?: string;
2466
2751
  project?: string;
2467
2752
  releaseNote?: string;
2753
+ releaseNoteEn?: string;
2754
+ releaseNoteJp?: string;
2468
2755
  size?: string;
2469
2756
  static names(): { [key: string]: string } {
2470
2757
  return {
@@ -2474,6 +2761,8 @@ export class DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate extends $tea.M
2474
2761
  newAppVersion: 'NewAppVersion',
2475
2762
  project: 'Project',
2476
2763
  releaseNote: 'ReleaseNote',
2764
+ releaseNoteEn: 'ReleaseNoteEn',
2765
+ releaseNoteJp: 'ReleaseNoteJp',
2477
2766
  size: 'Size',
2478
2767
  };
2479
2768
  }
@@ -2486,6 +2775,8 @@ export class DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate extends $tea.M
2486
2775
  newAppVersion: 'string',
2487
2776
  project: 'string',
2488
2777
  releaseNote: 'string',
2778
+ releaseNoteEn: 'string',
2779
+ releaseNoteJp: 'string',
2489
2780
  size: 'string',
2490
2781
  };
2491
2782
  }
@@ -2536,6 +2827,7 @@ export class DescribeGlobalDesktopsResponseBodyDesktops extends $tea.Model {
2536
2827
  expiredTime?: string;
2537
2828
  fotaUpdate?: DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate;
2538
2829
  gpuMemory?: number;
2830
+ hibernationBeta?: boolean;
2539
2831
  hostName?: string;
2540
2832
  imageId?: string;
2541
2833
  lastStartTime?: string;
@@ -2544,11 +2836,14 @@ export class DescribeGlobalDesktopsResponseBodyDesktops extends $tea.Model {
2544
2836
  memory?: number;
2545
2837
  networkInterfaceIp?: string;
2546
2838
  officeSiteId?: string;
2839
+ os?: string;
2547
2840
  osType?: string;
2841
+ platform?: string;
2548
2842
  policyGroupId?: string;
2549
2843
  protocolType?: string;
2550
2844
  realDesktopId?: string;
2551
2845
  regionId?: string;
2846
+ sessionType?: string;
2552
2847
  sessions?: DescribeGlobalDesktopsResponseBodyDesktopsSessions[];
2553
2848
  supportHibernation?: boolean;
2554
2849
  userCustomName?: string;
@@ -2572,6 +2867,7 @@ export class DescribeGlobalDesktopsResponseBodyDesktops extends $tea.Model {
2572
2867
  expiredTime: 'ExpiredTime',
2573
2868
  fotaUpdate: 'FotaUpdate',
2574
2869
  gpuMemory: 'GpuMemory',
2870
+ hibernationBeta: 'HibernationBeta',
2575
2871
  hostName: 'HostName',
2576
2872
  imageId: 'ImageId',
2577
2873
  lastStartTime: 'LastStartTime',
@@ -2580,11 +2876,14 @@ export class DescribeGlobalDesktopsResponseBodyDesktops extends $tea.Model {
2580
2876
  memory: 'Memory',
2581
2877
  networkInterfaceIp: 'NetworkInterfaceIp',
2582
2878
  officeSiteId: 'OfficeSiteId',
2879
+ os: 'Os',
2583
2880
  osType: 'OsType',
2881
+ platform: 'Platform',
2584
2882
  policyGroupId: 'PolicyGroupId',
2585
2883
  protocolType: 'ProtocolType',
2586
2884
  realDesktopId: 'RealDesktopId',
2587
2885
  regionId: 'RegionId',
2886
+ sessionType: 'SessionType',
2588
2887
  sessions: 'Sessions',
2589
2888
  supportHibernation: 'SupportHibernation',
2590
2889
  userCustomName: 'UserCustomName',
@@ -2611,6 +2910,7 @@ export class DescribeGlobalDesktopsResponseBodyDesktops extends $tea.Model {
2611
2910
  expiredTime: 'string',
2612
2911
  fotaUpdate: DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate,
2613
2912
  gpuMemory: 'number',
2913
+ hibernationBeta: 'boolean',
2614
2914
  hostName: 'string',
2615
2915
  imageId: 'string',
2616
2916
  lastStartTime: 'string',
@@ -2619,11 +2919,14 @@ export class DescribeGlobalDesktopsResponseBodyDesktops extends $tea.Model {
2619
2919
  memory: 'number',
2620
2920
  networkInterfaceIp: 'string',
2621
2921
  officeSiteId: 'string',
2922
+ os: 'string',
2622
2923
  osType: 'string',
2924
+ platform: 'string',
2623
2925
  policyGroupId: 'string',
2624
2926
  protocolType: 'string',
2625
2927
  realDesktopId: 'string',
2626
2928
  regionId: 'string',
2929
+ sessionType: 'string',
2627
2930
  sessions: { 'type': 'array', 'itemType': DescribeGlobalDesktopsResponseBodyDesktopsSessions },
2628
2931
  supportHibernation: 'boolean',
2629
2932
  userCustomName: 'string',
@@ -2774,6 +3077,53 @@ export class GetCloudDriveServiceMountTokenResponseBodyToken extends $tea.Model
2774
3077
  }
2775
3078
  }
2776
3079
 
3080
+ export class GetLoginTokenResponseBodyRiskVerifyInfo extends $tea.Model {
3081
+ email?: string;
3082
+ lastLockDuration?: number;
3083
+ locked?: string;
3084
+ phone?: string;
3085
+ static names(): { [key: string]: string } {
3086
+ return {
3087
+ email: 'Email',
3088
+ lastLockDuration: 'LastLockDuration',
3089
+ locked: 'Locked',
3090
+ phone: 'Phone',
3091
+ };
3092
+ }
3093
+
3094
+ static types(): { [key: string]: any } {
3095
+ return {
3096
+ email: 'string',
3097
+ lastLockDuration: 'number',
3098
+ locked: 'string',
3099
+ phone: 'string',
3100
+ };
3101
+ }
3102
+
3103
+ constructor(map?: { [key: string]: any }) {
3104
+ super(map);
3105
+ }
3106
+ }
3107
+
3108
+ export class QueryEdsAgentReportConfigResponseBodyData extends $tea.Model {
3109
+ config?: string;
3110
+ static names(): { [key: string]: string } {
3111
+ return {
3112
+ config: 'Config',
3113
+ };
3114
+ }
3115
+
3116
+ static types(): { [key: string]: any } {
3117
+ return {
3118
+ config: 'string',
3119
+ };
3120
+ }
3121
+
3122
+ constructor(map?: { [key: string]: any }) {
3123
+ super(map);
3124
+ }
3125
+ }
3126
+
2777
3127
 
2778
3128
  export default class Client extends OpenApi {
2779
3129
 
@@ -3361,6 +3711,87 @@ export default class Client extends OpenApi {
3361
3711
  return await this.getCloudDriveServiceMountTokenWithOptions(request, runtime);
3362
3712
  }
3363
3713
 
3714
+ async getConnectionTicketWithOptions(request: GetConnectionTicketRequest, runtime: $Util.RuntimeOptions): Promise<GetConnectionTicketResponse> {
3715
+ Util.validateModel(request);
3716
+ let query = { };
3717
+ if (!Util.isUnset(request.clientId)) {
3718
+ query["ClientId"] = request.clientId;
3719
+ }
3720
+
3721
+ if (!Util.isUnset(request.clientOS)) {
3722
+ query["ClientOS"] = request.clientOS;
3723
+ }
3724
+
3725
+ if (!Util.isUnset(request.clientType)) {
3726
+ query["ClientType"] = request.clientType;
3727
+ }
3728
+
3729
+ if (!Util.isUnset(request.clientVersion)) {
3730
+ query["ClientVersion"] = request.clientVersion;
3731
+ }
3732
+
3733
+ if (!Util.isUnset(request.commandContent)) {
3734
+ query["CommandContent"] = request.commandContent;
3735
+ }
3736
+
3737
+ if (!Util.isUnset(request.desktopId)) {
3738
+ query["DesktopId"] = request.desktopId;
3739
+ }
3740
+
3741
+ if (!Util.isUnset(request.loginToken)) {
3742
+ query["LoginToken"] = request.loginToken;
3743
+ }
3744
+
3745
+ if (!Util.isUnset(request.ownerId)) {
3746
+ query["OwnerId"] = request.ownerId;
3747
+ }
3748
+
3749
+ if (!Util.isUnset(request.regionId)) {
3750
+ query["RegionId"] = request.regionId;
3751
+ }
3752
+
3753
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
3754
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3755
+ }
3756
+
3757
+ if (!Util.isUnset(request.resourceOwnerId)) {
3758
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3759
+ }
3760
+
3761
+ if (!Util.isUnset(request.sessionId)) {
3762
+ query["SessionId"] = request.sessionId;
3763
+ }
3764
+
3765
+ if (!Util.isUnset(request.taskId)) {
3766
+ query["TaskId"] = request.taskId;
3767
+ }
3768
+
3769
+ if (!Util.isUnset(request.uuid)) {
3770
+ query["Uuid"] = request.uuid;
3771
+ }
3772
+
3773
+ let req = new $OpenApi.OpenApiRequest({
3774
+ query: OpenApiUtil.query(query),
3775
+ });
3776
+ let params = new $OpenApi.Params({
3777
+ action: "GetConnectionTicket",
3778
+ version: "2020-10-02",
3779
+ protocol: "HTTPS",
3780
+ pathname: "/",
3781
+ method: "POST",
3782
+ authType: "Anonymous",
3783
+ style: "RPC",
3784
+ reqBodyType: "formData",
3785
+ bodyType: "json",
3786
+ });
3787
+ return $tea.cast<GetConnectionTicketResponse>(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
3788
+ }
3789
+
3790
+ async getConnectionTicket(request: GetConnectionTicketRequest): Promise<GetConnectionTicketResponse> {
3791
+ let runtime = new $Util.RuntimeOptions({ });
3792
+ return await this.getConnectionTicketWithOptions(request, runtime);
3793
+ }
3794
+
3364
3795
  async getLoginTokenWithOptions(request: GetLoginTokenRequest, runtime: $Util.RuntimeOptions): Promise<GetLoginTokenResponse> {
3365
3796
  Util.validateModel(request);
3366
3797
  let query = { };
@@ -3495,6 +3926,43 @@ export default class Client extends OpenApi {
3495
3926
  return await this.isKeepAliveWithOptions(request, runtime);
3496
3927
  }
3497
3928
 
3929
+ async queryEdsAgentReportConfigWithOptions(request: QueryEdsAgentReportConfigRequest, runtime: $Util.RuntimeOptions): Promise<QueryEdsAgentReportConfigResponse> {
3930
+ Util.validateModel(request);
3931
+ let query = { };
3932
+ if (!Util.isUnset(request.aliUid)) {
3933
+ query["AliUid"] = request.aliUid;
3934
+ }
3935
+
3936
+ if (!Util.isUnset(request.desktopId)) {
3937
+ query["DesktopId"] = request.desktopId;
3938
+ }
3939
+
3940
+ if (!Util.isUnset(request.ecsInstanceId)) {
3941
+ query["EcsInstanceId"] = request.ecsInstanceId;
3942
+ }
3943
+
3944
+ let req = new $OpenApi.OpenApiRequest({
3945
+ query: OpenApiUtil.query(query),
3946
+ });
3947
+ let params = new $OpenApi.Params({
3948
+ action: "QueryEdsAgentReportConfig",
3949
+ version: "2020-10-02",
3950
+ protocol: "HTTPS",
3951
+ pathname: "/",
3952
+ method: "POST",
3953
+ authType: "Anonymous",
3954
+ style: "RPC",
3955
+ reqBodyType: "formData",
3956
+ bodyType: "json",
3957
+ });
3958
+ return $tea.cast<QueryEdsAgentReportConfigResponse>(await this.callApi(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
3959
+ }
3960
+
3961
+ async queryEdsAgentReportConfig(request: QueryEdsAgentReportConfigRequest): Promise<QueryEdsAgentReportConfigResponse> {
3962
+ let runtime = new $Util.RuntimeOptions({ });
3963
+ return await this.queryEdsAgentReportConfigWithOptions(request, runtime);
3964
+ }
3965
+
3498
3966
  async rebootDesktopsWithOptions(request: RebootDesktopsRequest, runtime: $Util.RuntimeOptions): Promise<RebootDesktopsResponse> {
3499
3967
  Util.validateModel(request);
3500
3968
  let query = { };
@@ -3530,6 +3998,14 @@ export default class Client extends OpenApi {
3530
3998
  query["SessionId"] = request.sessionId;
3531
3999
  }
3532
4000
 
4001
+ if (!Util.isUnset(request.sessionToken)) {
4002
+ query["SessionToken"] = request.sessionToken;
4003
+ }
4004
+
4005
+ if (!Util.isUnset(request.uuid)) {
4006
+ query["Uuid"] = request.uuid;
4007
+ }
4008
+
3533
4009
  let req = new $OpenApi.OpenApiRequest({
3534
4010
  query: OpenApiUtil.query(query),
3535
4011
  });
@@ -3605,6 +4081,47 @@ export default class Client extends OpenApi {
3605
4081
  return await this.refreshLoginTokenWithOptions(request, runtime);
3606
4082
  }
3607
4083
 
4084
+ async reportEdsAgentInfoWithOptions(request: ReportEdsAgentInfoRequest, runtime: $Util.RuntimeOptions): Promise<ReportEdsAgentInfoResponse> {
4085
+ Util.validateModel(request);
4086
+ let query = { };
4087
+ if (!Util.isUnset(request.aliUid)) {
4088
+ query["AliUid"] = request.aliUid;
4089
+ }
4090
+
4091
+ if (!Util.isUnset(request.desktopId)) {
4092
+ query["DesktopId"] = request.desktopId;
4093
+ }
4094
+
4095
+ if (!Util.isUnset(request.ecsInstanceId)) {
4096
+ query["EcsInstanceId"] = request.ecsInstanceId;
4097
+ }
4098
+
4099
+ if (!Util.isUnset(request.edsAgentInfo)) {
4100
+ query["EdsAgentInfo"] = request.edsAgentInfo;
4101
+ }
4102
+
4103
+ let req = new $OpenApi.OpenApiRequest({
4104
+ query: OpenApiUtil.query(query),
4105
+ });
4106
+ let params = new $OpenApi.Params({
4107
+ action: "ReportEdsAgentInfo",
4108
+ version: "2020-10-02",
4109
+ protocol: "HTTPS",
4110
+ pathname: "/",
4111
+ method: "POST",
4112
+ authType: "Anonymous",
4113
+ style: "RPC",
4114
+ reqBodyType: "formData",
4115
+ bodyType: "json",
4116
+ });
4117
+ return $tea.cast<ReportEdsAgentInfoResponse>(await this.callApi(params, req, runtime), new ReportEdsAgentInfoResponse({}));
4118
+ }
4119
+
4120
+ async reportEdsAgentInfo(request: ReportEdsAgentInfoRequest): Promise<ReportEdsAgentInfoResponse> {
4121
+ let runtime = new $Util.RuntimeOptions({ });
4122
+ return await this.reportEdsAgentInfoWithOptions(request, runtime);
4123
+ }
4124
+
3608
4125
  async reportSessionStatusWithOptions(request: ReportSessionStatusRequest, runtime: $Util.RuntimeOptions): Promise<ReportSessionStatusResponse> {
3609
4126
  Util.validateModel(request);
3610
4127
  let query = { };
@@ -3928,7 +4445,7 @@ export default class Client extends OpenApi {
3928
4445
  }
3929
4446
 
3930
4447
  /**
3931
- * The ID of the client.
4448
+ * The cloud computers that you want to start must be in the Stopped state. After you call this operation, the cloud computers enter the Running state.
3932
4449
  *
3933
4450
  * @param request StartDesktopsRequest
3934
4451
  * @param runtime runtime options for this request RuntimeOptions
@@ -3969,6 +4486,10 @@ export default class Client extends OpenApi {
3969
4486
  query["SessionId"] = request.sessionId;
3970
4487
  }
3971
4488
 
4489
+ if (!Util.isUnset(request.uuid)) {
4490
+ query["Uuid"] = request.uuid;
4491
+ }
4492
+
3972
4493
  let req = new $OpenApi.OpenApiRequest({
3973
4494
  query: OpenApiUtil.query(query),
3974
4495
  });
@@ -3987,7 +4508,7 @@ export default class Client extends OpenApi {
3987
4508
  }
3988
4509
 
3989
4510
  /**
3990
- * The ID of the client.
4511
+ * The cloud computers that you want to start must be in the Stopped state. After you call this operation, the cloud computers enter the Running state.
3991
4512
  *
3992
4513
  * @param request StartDesktopsRequest
3993
4514
  * @return StartDesktopsResponse
@@ -4055,7 +4576,7 @@ export default class Client extends OpenApi {
4055
4576
  }
4056
4577
 
4057
4578
  /**
4058
- * The ID of the region.
4579
+ * The cloud computers that you want to stop must be in the Running state. After you call this operation, the cloud computers enter the Stopped state.
4059
4580
  *
4060
4581
  * @param request StopDesktopsRequest
4061
4582
  * @param runtime runtime options for this request RuntimeOptions
@@ -4096,6 +4617,10 @@ export default class Client extends OpenApi {
4096
4617
  query["SessionId"] = request.sessionId;
4097
4618
  }
4098
4619
 
4620
+ if (!Util.isUnset(request.sessionToken)) {
4621
+ query["SessionToken"] = request.sessionToken;
4622
+ }
4623
+
4099
4624
  let req = new $OpenApi.OpenApiRequest({
4100
4625
  query: OpenApiUtil.query(query),
4101
4626
  });
@@ -4114,7 +4639,7 @@ export default class Client extends OpenApi {
4114
4639
  }
4115
4640
 
4116
4641
  /**
4117
- * The ID of the region.
4642
+ * The cloud computers that you want to stop must be in the Running state. After you call this operation, the cloud computers enter the Stopped state.
4118
4643
  *
4119
4644
  * @param request StopDesktopsRequest
4120
4645
  * @return StopDesktopsResponse