@alicloud/ecd20201002 2.0.15 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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;
@@ -1049,9 +1166,9 @@ export class GetLoginTokenResponseBody extends $tea.Model {
1049
1166
  }
1050
1167
 
1051
1168
  export class GetLoginTokenResponse extends $tea.Model {
1052
- headers: { [key: string]: string };
1053
- statusCode: number;
1054
- body: GetLoginTokenResponseBody;
1169
+ headers?: { [key: string]: string };
1170
+ statusCode?: number;
1171
+ body?: GetLoginTokenResponseBody;
1055
1172
  static names(): { [key: string]: string } {
1056
1173
  return {
1057
1174
  headers: 'headers',
@@ -1127,9 +1244,9 @@ export class IsKeepAliveResponseBody extends $tea.Model {
1127
1244
  }
1128
1245
 
1129
1246
  export class IsKeepAliveResponse extends $tea.Model {
1130
- headers: { [key: string]: string };
1131
- statusCode: number;
1132
- body: IsKeepAliveResponseBody;
1247
+ headers?: { [key: string]: string };
1248
+ statusCode?: number;
1249
+ body?: IsKeepAliveResponseBody;
1133
1250
  static names(): { [key: string]: string } {
1134
1251
  return {
1135
1252
  headers: 'headers',
@@ -1151,6 +1268,78 @@ export class IsKeepAliveResponse extends $tea.Model {
1151
1268
  }
1152
1269
  }
1153
1270
 
1271
+ export class QueryEdsAgentReportConfigRequest extends $tea.Model {
1272
+ aliUid?: number;
1273
+ desktopId?: string;
1274
+ ecsInstanceId?: string;
1275
+ static names(): { [key: string]: string } {
1276
+ return {
1277
+ aliUid: 'AliUid',
1278
+ desktopId: 'DesktopId',
1279
+ ecsInstanceId: 'EcsInstanceId',
1280
+ };
1281
+ }
1282
+
1283
+ static types(): { [key: string]: any } {
1284
+ return {
1285
+ aliUid: 'number',
1286
+ desktopId: 'string',
1287
+ ecsInstanceId: 'string',
1288
+ };
1289
+ }
1290
+
1291
+ constructor(map?: { [key: string]: any }) {
1292
+ super(map);
1293
+ }
1294
+ }
1295
+
1296
+ export class QueryEdsAgentReportConfigResponseBody extends $tea.Model {
1297
+ data?: QueryEdsAgentReportConfigResponseBodyData;
1298
+ requestId?: string;
1299
+ static names(): { [key: string]: string } {
1300
+ return {
1301
+ data: 'Data',
1302
+ requestId: 'RequestId',
1303
+ };
1304
+ }
1305
+
1306
+ static types(): { [key: string]: any } {
1307
+ return {
1308
+ data: QueryEdsAgentReportConfigResponseBodyData,
1309
+ requestId: 'string',
1310
+ };
1311
+ }
1312
+
1313
+ constructor(map?: { [key: string]: any }) {
1314
+ super(map);
1315
+ }
1316
+ }
1317
+
1318
+ export class QueryEdsAgentReportConfigResponse extends $tea.Model {
1319
+ headers?: { [key: string]: string };
1320
+ statusCode?: number;
1321
+ body?: QueryEdsAgentReportConfigResponseBody;
1322
+ static names(): { [key: string]: string } {
1323
+ return {
1324
+ headers: 'headers',
1325
+ statusCode: 'statusCode',
1326
+ body: 'body',
1327
+ };
1328
+ }
1329
+
1330
+ static types(): { [key: string]: any } {
1331
+ return {
1332
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1333
+ statusCode: 'number',
1334
+ body: QueryEdsAgentReportConfigResponseBody,
1335
+ };
1336
+ }
1337
+
1338
+ constructor(map?: { [key: string]: any }) {
1339
+ super(map);
1340
+ }
1341
+ }
1342
+
1154
1343
  export class RebootDesktopsRequest extends $tea.Model {
1155
1344
  clientId?: string;
1156
1345
  clientOS?: string;
@@ -1160,6 +1349,7 @@ export class RebootDesktopsRequest extends $tea.Model {
1160
1349
  loginToken?: string;
1161
1350
  regionId?: string;
1162
1351
  sessionId?: string;
1352
+ sessionToken?: string;
1163
1353
  static names(): { [key: string]: string } {
1164
1354
  return {
1165
1355
  clientId: 'ClientId',
@@ -1170,6 +1360,7 @@ export class RebootDesktopsRequest extends $tea.Model {
1170
1360
  loginToken: 'LoginToken',
1171
1361
  regionId: 'RegionId',
1172
1362
  sessionId: 'SessionId',
1363
+ sessionToken: 'SessionToken',
1173
1364
  };
1174
1365
  }
1175
1366
 
@@ -1183,6 +1374,7 @@ export class RebootDesktopsRequest extends $tea.Model {
1183
1374
  loginToken: 'string',
1184
1375
  regionId: 'string',
1185
1376
  sessionId: 'string',
1377
+ sessionToken: 'string',
1186
1378
  };
1187
1379
  }
1188
1380
 
@@ -1211,9 +1403,9 @@ export class RebootDesktopsResponseBody extends $tea.Model {
1211
1403
  }
1212
1404
 
1213
1405
  export class RebootDesktopsResponse extends $tea.Model {
1214
- headers: { [key: string]: string };
1215
- statusCode: number;
1216
- body: RebootDesktopsResponseBody;
1406
+ headers?: { [key: string]: string };
1407
+ statusCode?: number;
1408
+ body?: RebootDesktopsResponseBody;
1217
1409
  static names(): { [key: string]: string } {
1218
1410
  return {
1219
1411
  headers: 'headers',
@@ -1295,9 +1487,9 @@ export class RefreshLoginTokenResponseBody extends $tea.Model {
1295
1487
  }
1296
1488
 
1297
1489
  export class RefreshLoginTokenResponse extends $tea.Model {
1298
- headers: { [key: string]: string };
1299
- statusCode: number;
1300
- body: RefreshLoginTokenResponseBody;
1490
+ headers?: { [key: string]: string };
1491
+ statusCode?: number;
1492
+ body?: RefreshLoginTokenResponseBody;
1301
1493
  static names(): { [key: string]: string } {
1302
1494
  return {
1303
1495
  headers: 'headers',
@@ -1319,6 +1511,78 @@ export class RefreshLoginTokenResponse extends $tea.Model {
1319
1511
  }
1320
1512
  }
1321
1513
 
1514
+ export class ReportEdsAgentInfoRequest extends $tea.Model {
1515
+ aliUid?: number;
1516
+ desktopId?: string;
1517
+ ecsInstanceId?: string;
1518
+ edsAgentInfo?: string;
1519
+ static names(): { [key: string]: string } {
1520
+ return {
1521
+ aliUid: 'AliUid',
1522
+ desktopId: 'DesktopId',
1523
+ ecsInstanceId: 'EcsInstanceId',
1524
+ edsAgentInfo: 'EdsAgentInfo',
1525
+ };
1526
+ }
1527
+
1528
+ static types(): { [key: string]: any } {
1529
+ return {
1530
+ aliUid: 'number',
1531
+ desktopId: 'string',
1532
+ ecsInstanceId: 'string',
1533
+ edsAgentInfo: 'string',
1534
+ };
1535
+ }
1536
+
1537
+ constructor(map?: { [key: string]: any }) {
1538
+ super(map);
1539
+ }
1540
+ }
1541
+
1542
+ export class ReportEdsAgentInfoResponseBody extends $tea.Model {
1543
+ requestId?: string;
1544
+ static names(): { [key: string]: string } {
1545
+ return {
1546
+ requestId: 'RequestId',
1547
+ };
1548
+ }
1549
+
1550
+ static types(): { [key: string]: any } {
1551
+ return {
1552
+ requestId: 'string',
1553
+ };
1554
+ }
1555
+
1556
+ constructor(map?: { [key: string]: any }) {
1557
+ super(map);
1558
+ }
1559
+ }
1560
+
1561
+ export class ReportEdsAgentInfoResponse extends $tea.Model {
1562
+ headers?: { [key: string]: string };
1563
+ statusCode?: number;
1564
+ body?: ReportEdsAgentInfoResponseBody;
1565
+ static names(): { [key: string]: string } {
1566
+ return {
1567
+ headers: 'headers',
1568
+ statusCode: 'statusCode',
1569
+ body: 'body',
1570
+ };
1571
+ }
1572
+
1573
+ static types(): { [key: string]: any } {
1574
+ return {
1575
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1576
+ statusCode: 'number',
1577
+ body: ReportEdsAgentInfoResponseBody,
1578
+ };
1579
+ }
1580
+
1581
+ constructor(map?: { [key: string]: any }) {
1582
+ super(map);
1583
+ }
1584
+ }
1585
+
1322
1586
  export class ReportSessionStatusRequest extends $tea.Model {
1323
1587
  endUserId?: string;
1324
1588
  instanceId?: string;
@@ -1373,9 +1637,9 @@ export class ReportSessionStatusResponseBody extends $tea.Model {
1373
1637
  }
1374
1638
 
1375
1639
  export class ReportSessionStatusResponse extends $tea.Model {
1376
- headers: { [key: string]: string };
1377
- statusCode: number;
1378
- body: ReportSessionStatusResponseBody;
1640
+ headers?: { [key: string]: string };
1641
+ statusCode?: number;
1642
+ body?: ReportSessionStatusResponseBody;
1379
1643
  static names(): { [key: string]: string } {
1380
1644
  return {
1381
1645
  headers: 'headers',
@@ -1454,9 +1718,9 @@ export class ResetPasswordResponseBody extends $tea.Model {
1454
1718
  }
1455
1719
 
1456
1720
  export class ResetPasswordResponse extends $tea.Model {
1457
- headers: { [key: string]: string };
1458
- statusCode: number;
1459
- body: ResetPasswordResponseBody;
1721
+ headers?: { [key: string]: string };
1722
+ statusCode?: number;
1723
+ body?: ResetPasswordResponseBody;
1460
1724
  static names(): { [key: string]: string } {
1461
1725
  return {
1462
1726
  headers: 'headers',
@@ -1529,9 +1793,9 @@ export class ResetSnapshotResponseBody extends $tea.Model {
1529
1793
  }
1530
1794
 
1531
1795
  export class ResetSnapshotResponse extends $tea.Model {
1532
- headers: { [key: string]: string };
1533
- statusCode: number;
1534
- body: ResetSnapshotResponseBody;
1796
+ headers?: { [key: string]: string };
1797
+ statusCode?: number;
1798
+ body?: ResetSnapshotResponseBody;
1535
1799
  static names(): { [key: string]: string } {
1536
1800
  return {
1537
1801
  headers: 'headers',
@@ -1613,9 +1877,9 @@ export class SendTokenCodeResponseBody extends $tea.Model {
1613
1877
  }
1614
1878
 
1615
1879
  export class SendTokenCodeResponse extends $tea.Model {
1616
- headers: { [key: string]: string };
1617
- statusCode: number;
1618
- body: SendTokenCodeResponseBody;
1880
+ headers?: { [key: string]: string };
1881
+ statusCode?: number;
1882
+ body?: SendTokenCodeResponseBody;
1619
1883
  static names(): { [key: string]: string } {
1620
1884
  return {
1621
1885
  headers: 'headers',
@@ -1709,9 +1973,9 @@ export class SetFingerPrintTemplateResponseBody extends $tea.Model {
1709
1973
  }
1710
1974
 
1711
1975
  export class SetFingerPrintTemplateResponse extends $tea.Model {
1712
- headers: { [key: string]: string };
1713
- statusCode: number;
1714
- body: SetFingerPrintTemplateResponseBody;
1976
+ headers?: { [key: string]: string };
1977
+ statusCode?: number;
1978
+ body?: SetFingerPrintTemplateResponseBody;
1715
1979
  static names(): { [key: string]: string } {
1716
1980
  return {
1717
1981
  headers: 'headers',
@@ -1790,9 +2054,9 @@ export class SetFingerPrintTemplateDescriptionResponseBody extends $tea.Model {
1790
2054
  }
1791
2055
 
1792
2056
  export class SetFingerPrintTemplateDescriptionResponse extends $tea.Model {
1793
- headers: { [key: string]: string };
1794
- statusCode: number;
1795
- body: SetFingerPrintTemplateDescriptionResponseBody;
2057
+ headers?: { [key: string]: string };
2058
+ statusCode?: number;
2059
+ body?: SetFingerPrintTemplateDescriptionResponseBody;
1796
2060
  static names(): { [key: string]: string } {
1797
2061
  return {
1798
2062
  headers: 'headers',
@@ -1874,9 +2138,9 @@ export class StartDesktopsResponseBody extends $tea.Model {
1874
2138
  }
1875
2139
 
1876
2140
  export class StartDesktopsResponse extends $tea.Model {
1877
- headers: { [key: string]: string };
1878
- statusCode: number;
1879
- body: StartDesktopsResponseBody;
2141
+ headers?: { [key: string]: string };
2142
+ statusCode?: number;
2143
+ body?: StartDesktopsResponseBody;
1880
2144
  static names(): { [key: string]: string } {
1881
2145
  return {
1882
2146
  headers: 'headers',
@@ -1958,9 +2222,9 @@ export class StartRecordContentResponseBody extends $tea.Model {
1958
2222
  }
1959
2223
 
1960
2224
  export class StartRecordContentResponse extends $tea.Model {
1961
- headers: { [key: string]: string };
1962
- statusCode: number;
1963
- body: StartRecordContentResponseBody;
2225
+ headers?: { [key: string]: string };
2226
+ statusCode?: number;
2227
+ body?: StartRecordContentResponseBody;
1964
2228
  static names(): { [key: string]: string } {
1965
2229
  return {
1966
2230
  headers: 'headers',
@@ -1991,6 +2255,7 @@ export class StopDesktopsRequest extends $tea.Model {
1991
2255
  loginToken?: string;
1992
2256
  regionId?: string;
1993
2257
  sessionId?: string;
2258
+ sessionToken?: string;
1994
2259
  static names(): { [key: string]: string } {
1995
2260
  return {
1996
2261
  clientId: 'ClientId',
@@ -2001,6 +2266,7 @@ export class StopDesktopsRequest extends $tea.Model {
2001
2266
  loginToken: 'LoginToken',
2002
2267
  regionId: 'RegionId',
2003
2268
  sessionId: 'SessionId',
2269
+ sessionToken: 'SessionToken',
2004
2270
  };
2005
2271
  }
2006
2272
 
@@ -2014,6 +2280,7 @@ export class StopDesktopsRequest extends $tea.Model {
2014
2280
  loginToken: 'string',
2015
2281
  regionId: 'string',
2016
2282
  sessionId: 'string',
2283
+ sessionToken: 'string',
2017
2284
  };
2018
2285
  }
2019
2286
 
@@ -2042,9 +2309,9 @@ export class StopDesktopsResponseBody extends $tea.Model {
2042
2309
  }
2043
2310
 
2044
2311
  export class StopDesktopsResponse extends $tea.Model {
2045
- headers: { [key: string]: string };
2046
- statusCode: number;
2047
- body: StopDesktopsResponseBody;
2312
+ headers?: { [key: string]: string };
2313
+ statusCode?: number;
2314
+ body?: StopDesktopsResponseBody;
2048
2315
  static names(): { [key: string]: string } {
2049
2316
  return {
2050
2317
  headers: 'headers',
@@ -2123,9 +2390,9 @@ export class StopRecordContentResponseBody extends $tea.Model {
2123
2390
  }
2124
2391
 
2125
2392
  export class StopRecordContentResponse extends $tea.Model {
2126
- headers: { [key: string]: string };
2127
- statusCode: number;
2128
- body: StopRecordContentResponseBody;
2393
+ headers?: { [key: string]: string };
2394
+ statusCode?: number;
2395
+ body?: StopRecordContentResponseBody;
2129
2396
  static names(): { [key: string]: string } {
2130
2397
  return {
2131
2398
  headers: 'headers',
@@ -2204,9 +2471,9 @@ export class UnbindUserDesktopResponseBody extends $tea.Model {
2204
2471
  }
2205
2472
 
2206
2473
  export class UnbindUserDesktopResponse extends $tea.Model {
2207
- headers: { [key: string]: string };
2208
- statusCode: number;
2209
- body: UnbindUserDesktopResponseBody;
2474
+ headers?: { [key: string]: string };
2475
+ statusCode?: number;
2476
+ body?: UnbindUserDesktopResponseBody;
2210
2477
  static names(): { [key: string]: string } {
2211
2478
  return {
2212
2479
  headers: 'headers',
@@ -2288,9 +2555,9 @@ export class VerifyCredentialResponseBody extends $tea.Model {
2288
2555
  }
2289
2556
 
2290
2557
  export class VerifyCredentialResponse extends $tea.Model {
2291
- headers: { [key: string]: string };
2292
- statusCode: number;
2293
- body: VerifyCredentialResponseBody;
2558
+ headers?: { [key: string]: string };
2559
+ statusCode?: number;
2560
+ body?: VerifyCredentialResponseBody;
2294
2561
  static names(): { [key: string]: string } {
2295
2562
  return {
2296
2563
  headers: 'headers',
@@ -2403,16 +2670,22 @@ export class DescribeGlobalDesktopsResponseBodyDesktopsClients extends $tea.Mode
2403
2670
  }
2404
2671
 
2405
2672
  export class DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers extends $tea.Model {
2673
+ allowClientSetting?: boolean;
2406
2674
  cronExpression?: string;
2407
2675
  enforce?: boolean;
2676
+ executionTime?: string;
2408
2677
  interval?: number;
2678
+ operationType?: string;
2409
2679
  resetType?: string;
2410
2680
  timerType?: string;
2411
2681
  static names(): { [key: string]: string } {
2412
2682
  return {
2683
+ allowClientSetting: 'AllowClientSetting',
2413
2684
  cronExpression: 'CronExpression',
2414
2685
  enforce: 'Enforce',
2686
+ executionTime: 'ExecutionTime',
2415
2687
  interval: 'Interval',
2688
+ operationType: 'OperationType',
2416
2689
  resetType: 'ResetType',
2417
2690
  timerType: 'TimerType',
2418
2691
  };
@@ -2420,9 +2693,12 @@ export class DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers extends $te
2420
2693
 
2421
2694
  static types(): { [key: string]: any } {
2422
2695
  return {
2696
+ allowClientSetting: 'boolean',
2423
2697
  cronExpression: 'string',
2424
2698
  enforce: 'boolean',
2699
+ executionTime: 'string',
2425
2700
  interval: 'number',
2701
+ operationType: 'string',
2426
2702
  resetType: 'string',
2427
2703
  timerType: 'string',
2428
2704
  };
@@ -2465,6 +2741,8 @@ export class DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate extends $tea.M
2465
2741
  newAppVersion?: string;
2466
2742
  project?: string;
2467
2743
  releaseNote?: string;
2744
+ releaseNoteEn?: string;
2745
+ releaseNoteJp?: string;
2468
2746
  size?: string;
2469
2747
  static names(): { [key: string]: string } {
2470
2748
  return {
@@ -2474,6 +2752,8 @@ export class DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate extends $tea.M
2474
2752
  newAppVersion: 'NewAppVersion',
2475
2753
  project: 'Project',
2476
2754
  releaseNote: 'ReleaseNote',
2755
+ releaseNoteEn: 'ReleaseNoteEn',
2756
+ releaseNoteJp: 'ReleaseNoteJp',
2477
2757
  size: 'Size',
2478
2758
  };
2479
2759
  }
@@ -2486,6 +2766,8 @@ export class DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate extends $tea.M
2486
2766
  newAppVersion: 'string',
2487
2767
  project: 'string',
2488
2768
  releaseNote: 'string',
2769
+ releaseNoteEn: 'string',
2770
+ releaseNoteJp: 'string',
2489
2771
  size: 'string',
2490
2772
  };
2491
2773
  }
@@ -2536,6 +2818,7 @@ export class DescribeGlobalDesktopsResponseBodyDesktops extends $tea.Model {
2536
2818
  expiredTime?: string;
2537
2819
  fotaUpdate?: DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate;
2538
2820
  gpuMemory?: number;
2821
+ hibernationBeta?: boolean;
2539
2822
  hostName?: string;
2540
2823
  imageId?: string;
2541
2824
  lastStartTime?: string;
@@ -2544,11 +2827,14 @@ export class DescribeGlobalDesktopsResponseBodyDesktops extends $tea.Model {
2544
2827
  memory?: number;
2545
2828
  networkInterfaceIp?: string;
2546
2829
  officeSiteId?: string;
2830
+ os?: string;
2547
2831
  osType?: string;
2832
+ platform?: string;
2548
2833
  policyGroupId?: string;
2549
2834
  protocolType?: string;
2550
2835
  realDesktopId?: string;
2551
2836
  regionId?: string;
2837
+ sessionType?: string;
2552
2838
  sessions?: DescribeGlobalDesktopsResponseBodyDesktopsSessions[];
2553
2839
  supportHibernation?: boolean;
2554
2840
  userCustomName?: string;
@@ -2572,6 +2858,7 @@ export class DescribeGlobalDesktopsResponseBodyDesktops extends $tea.Model {
2572
2858
  expiredTime: 'ExpiredTime',
2573
2859
  fotaUpdate: 'FotaUpdate',
2574
2860
  gpuMemory: 'GpuMemory',
2861
+ hibernationBeta: 'HibernationBeta',
2575
2862
  hostName: 'HostName',
2576
2863
  imageId: 'ImageId',
2577
2864
  lastStartTime: 'LastStartTime',
@@ -2580,11 +2867,14 @@ export class DescribeGlobalDesktopsResponseBodyDesktops extends $tea.Model {
2580
2867
  memory: 'Memory',
2581
2868
  networkInterfaceIp: 'NetworkInterfaceIp',
2582
2869
  officeSiteId: 'OfficeSiteId',
2870
+ os: 'Os',
2583
2871
  osType: 'OsType',
2872
+ platform: 'Platform',
2584
2873
  policyGroupId: 'PolicyGroupId',
2585
2874
  protocolType: 'ProtocolType',
2586
2875
  realDesktopId: 'RealDesktopId',
2587
2876
  regionId: 'RegionId',
2877
+ sessionType: 'SessionType',
2588
2878
  sessions: 'Sessions',
2589
2879
  supportHibernation: 'SupportHibernation',
2590
2880
  userCustomName: 'UserCustomName',
@@ -2611,6 +2901,7 @@ export class DescribeGlobalDesktopsResponseBodyDesktops extends $tea.Model {
2611
2901
  expiredTime: 'string',
2612
2902
  fotaUpdate: DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate,
2613
2903
  gpuMemory: 'number',
2904
+ hibernationBeta: 'boolean',
2614
2905
  hostName: 'string',
2615
2906
  imageId: 'string',
2616
2907
  lastStartTime: 'string',
@@ -2619,11 +2910,14 @@ export class DescribeGlobalDesktopsResponseBodyDesktops extends $tea.Model {
2619
2910
  memory: 'number',
2620
2911
  networkInterfaceIp: 'string',
2621
2912
  officeSiteId: 'string',
2913
+ os: 'string',
2622
2914
  osType: 'string',
2915
+ platform: 'string',
2623
2916
  policyGroupId: 'string',
2624
2917
  protocolType: 'string',
2625
2918
  realDesktopId: 'string',
2626
2919
  regionId: 'string',
2920
+ sessionType: 'string',
2627
2921
  sessions: { 'type': 'array', 'itemType': DescribeGlobalDesktopsResponseBodyDesktopsSessions },
2628
2922
  supportHibernation: 'boolean',
2629
2923
  userCustomName: 'string',
@@ -2774,6 +3068,25 @@ export class GetCloudDriveServiceMountTokenResponseBodyToken extends $tea.Model
2774
3068
  }
2775
3069
  }
2776
3070
 
3071
+ export class QueryEdsAgentReportConfigResponseBodyData extends $tea.Model {
3072
+ config?: string;
3073
+ static names(): { [key: string]: string } {
3074
+ return {
3075
+ config: 'Config',
3076
+ };
3077
+ }
3078
+
3079
+ static types(): { [key: string]: any } {
3080
+ return {
3081
+ config: 'string',
3082
+ };
3083
+ }
3084
+
3085
+ constructor(map?: { [key: string]: any }) {
3086
+ super(map);
3087
+ }
3088
+ }
3089
+
2777
3090
 
2778
3091
  export default class Client extends OpenApi {
2779
3092
 
@@ -3361,6 +3674,87 @@ export default class Client extends OpenApi {
3361
3674
  return await this.getCloudDriveServiceMountTokenWithOptions(request, runtime);
3362
3675
  }
3363
3676
 
3677
+ async getConnectionTicketWithOptions(request: GetConnectionTicketRequest, runtime: $Util.RuntimeOptions): Promise<GetConnectionTicketResponse> {
3678
+ Util.validateModel(request);
3679
+ let query = { };
3680
+ if (!Util.isUnset(request.clientId)) {
3681
+ query["ClientId"] = request.clientId;
3682
+ }
3683
+
3684
+ if (!Util.isUnset(request.clientOS)) {
3685
+ query["ClientOS"] = request.clientOS;
3686
+ }
3687
+
3688
+ if (!Util.isUnset(request.clientType)) {
3689
+ query["ClientType"] = request.clientType;
3690
+ }
3691
+
3692
+ if (!Util.isUnset(request.clientVersion)) {
3693
+ query["ClientVersion"] = request.clientVersion;
3694
+ }
3695
+
3696
+ if (!Util.isUnset(request.commandContent)) {
3697
+ query["CommandContent"] = request.commandContent;
3698
+ }
3699
+
3700
+ if (!Util.isUnset(request.desktopId)) {
3701
+ query["DesktopId"] = request.desktopId;
3702
+ }
3703
+
3704
+ if (!Util.isUnset(request.loginToken)) {
3705
+ query["LoginToken"] = request.loginToken;
3706
+ }
3707
+
3708
+ if (!Util.isUnset(request.ownerId)) {
3709
+ query["OwnerId"] = request.ownerId;
3710
+ }
3711
+
3712
+ if (!Util.isUnset(request.regionId)) {
3713
+ query["RegionId"] = request.regionId;
3714
+ }
3715
+
3716
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
3717
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3718
+ }
3719
+
3720
+ if (!Util.isUnset(request.resourceOwnerId)) {
3721
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3722
+ }
3723
+
3724
+ if (!Util.isUnset(request.sessionId)) {
3725
+ query["SessionId"] = request.sessionId;
3726
+ }
3727
+
3728
+ if (!Util.isUnset(request.taskId)) {
3729
+ query["TaskId"] = request.taskId;
3730
+ }
3731
+
3732
+ if (!Util.isUnset(request.uuid)) {
3733
+ query["Uuid"] = request.uuid;
3734
+ }
3735
+
3736
+ let req = new $OpenApi.OpenApiRequest({
3737
+ query: OpenApiUtil.query(query),
3738
+ });
3739
+ let params = new $OpenApi.Params({
3740
+ action: "GetConnectionTicket",
3741
+ version: "2020-10-02",
3742
+ protocol: "HTTPS",
3743
+ pathname: "/",
3744
+ method: "POST",
3745
+ authType: "Anonymous",
3746
+ style: "RPC",
3747
+ reqBodyType: "formData",
3748
+ bodyType: "json",
3749
+ });
3750
+ return $tea.cast<GetConnectionTicketResponse>(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
3751
+ }
3752
+
3753
+ async getConnectionTicket(request: GetConnectionTicketRequest): Promise<GetConnectionTicketResponse> {
3754
+ let runtime = new $Util.RuntimeOptions({ });
3755
+ return await this.getConnectionTicketWithOptions(request, runtime);
3756
+ }
3757
+
3364
3758
  async getLoginTokenWithOptions(request: GetLoginTokenRequest, runtime: $Util.RuntimeOptions): Promise<GetLoginTokenResponse> {
3365
3759
  Util.validateModel(request);
3366
3760
  let query = { };
@@ -3495,6 +3889,43 @@ export default class Client extends OpenApi {
3495
3889
  return await this.isKeepAliveWithOptions(request, runtime);
3496
3890
  }
3497
3891
 
3892
+ async queryEdsAgentReportConfigWithOptions(request: QueryEdsAgentReportConfigRequest, runtime: $Util.RuntimeOptions): Promise<QueryEdsAgentReportConfigResponse> {
3893
+ Util.validateModel(request);
3894
+ let query = { };
3895
+ if (!Util.isUnset(request.aliUid)) {
3896
+ query["AliUid"] = request.aliUid;
3897
+ }
3898
+
3899
+ if (!Util.isUnset(request.desktopId)) {
3900
+ query["DesktopId"] = request.desktopId;
3901
+ }
3902
+
3903
+ if (!Util.isUnset(request.ecsInstanceId)) {
3904
+ query["EcsInstanceId"] = request.ecsInstanceId;
3905
+ }
3906
+
3907
+ let req = new $OpenApi.OpenApiRequest({
3908
+ query: OpenApiUtil.query(query),
3909
+ });
3910
+ let params = new $OpenApi.Params({
3911
+ action: "QueryEdsAgentReportConfig",
3912
+ version: "2020-10-02",
3913
+ protocol: "HTTPS",
3914
+ pathname: "/",
3915
+ method: "POST",
3916
+ authType: "Anonymous",
3917
+ style: "RPC",
3918
+ reqBodyType: "formData",
3919
+ bodyType: "json",
3920
+ });
3921
+ return $tea.cast<QueryEdsAgentReportConfigResponse>(await this.callApi(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
3922
+ }
3923
+
3924
+ async queryEdsAgentReportConfig(request: QueryEdsAgentReportConfigRequest): Promise<QueryEdsAgentReportConfigResponse> {
3925
+ let runtime = new $Util.RuntimeOptions({ });
3926
+ return await this.queryEdsAgentReportConfigWithOptions(request, runtime);
3927
+ }
3928
+
3498
3929
  async rebootDesktopsWithOptions(request: RebootDesktopsRequest, runtime: $Util.RuntimeOptions): Promise<RebootDesktopsResponse> {
3499
3930
  Util.validateModel(request);
3500
3931
  let query = { };
@@ -3530,6 +3961,10 @@ export default class Client extends OpenApi {
3530
3961
  query["SessionId"] = request.sessionId;
3531
3962
  }
3532
3963
 
3964
+ if (!Util.isUnset(request.sessionToken)) {
3965
+ query["SessionToken"] = request.sessionToken;
3966
+ }
3967
+
3533
3968
  let req = new $OpenApi.OpenApiRequest({
3534
3969
  query: OpenApiUtil.query(query),
3535
3970
  });
@@ -3605,6 +4040,47 @@ export default class Client extends OpenApi {
3605
4040
  return await this.refreshLoginTokenWithOptions(request, runtime);
3606
4041
  }
3607
4042
 
4043
+ async reportEdsAgentInfoWithOptions(request: ReportEdsAgentInfoRequest, runtime: $Util.RuntimeOptions): Promise<ReportEdsAgentInfoResponse> {
4044
+ Util.validateModel(request);
4045
+ let query = { };
4046
+ if (!Util.isUnset(request.aliUid)) {
4047
+ query["AliUid"] = request.aliUid;
4048
+ }
4049
+
4050
+ if (!Util.isUnset(request.desktopId)) {
4051
+ query["DesktopId"] = request.desktopId;
4052
+ }
4053
+
4054
+ if (!Util.isUnset(request.ecsInstanceId)) {
4055
+ query["EcsInstanceId"] = request.ecsInstanceId;
4056
+ }
4057
+
4058
+ if (!Util.isUnset(request.edsAgentInfo)) {
4059
+ query["EdsAgentInfo"] = request.edsAgentInfo;
4060
+ }
4061
+
4062
+ let req = new $OpenApi.OpenApiRequest({
4063
+ query: OpenApiUtil.query(query),
4064
+ });
4065
+ let params = new $OpenApi.Params({
4066
+ action: "ReportEdsAgentInfo",
4067
+ version: "2020-10-02",
4068
+ protocol: "HTTPS",
4069
+ pathname: "/",
4070
+ method: "POST",
4071
+ authType: "Anonymous",
4072
+ style: "RPC",
4073
+ reqBodyType: "formData",
4074
+ bodyType: "json",
4075
+ });
4076
+ return $tea.cast<ReportEdsAgentInfoResponse>(await this.callApi(params, req, runtime), new ReportEdsAgentInfoResponse({}));
4077
+ }
4078
+
4079
+ async reportEdsAgentInfo(request: ReportEdsAgentInfoRequest): Promise<ReportEdsAgentInfoResponse> {
4080
+ let runtime = new $Util.RuntimeOptions({ });
4081
+ return await this.reportEdsAgentInfoWithOptions(request, runtime);
4082
+ }
4083
+
3608
4084
  async reportSessionStatusWithOptions(request: ReportSessionStatusRequest, runtime: $Util.RuntimeOptions): Promise<ReportSessionStatusResponse> {
3609
4085
  Util.validateModel(request);
3610
4086
  let query = { };
@@ -4055,7 +4531,7 @@ export default class Client extends OpenApi {
4055
4531
  }
4056
4532
 
4057
4533
  /**
4058
- * The ID of the region.
4534
+ * The cloud desktops that you want to stop by calling this operation must be in the Running state. If the call is successful, the cloud desktops enter the Stopped state.
4059
4535
  *
4060
4536
  * @param request StopDesktopsRequest
4061
4537
  * @param runtime runtime options for this request RuntimeOptions
@@ -4096,6 +4572,10 @@ export default class Client extends OpenApi {
4096
4572
  query["SessionId"] = request.sessionId;
4097
4573
  }
4098
4574
 
4575
+ if (!Util.isUnset(request.sessionToken)) {
4576
+ query["SessionToken"] = request.sessionToken;
4577
+ }
4578
+
4099
4579
  let req = new $OpenApi.OpenApiRequest({
4100
4580
  query: OpenApiUtil.query(query),
4101
4581
  });
@@ -4114,7 +4594,7 @@ export default class Client extends OpenApi {
4114
4594
  }
4115
4595
 
4116
4596
  /**
4117
- * The ID of the region.
4597
+ * The cloud desktops that you want to stop by calling this operation must be in the Running state. If the call is successful, the cloud desktops enter the Stopped state.
4118
4598
  *
4119
4599
  * @param request StopDesktopsRequest
4120
4600
  * @return StopDesktopsResponse