@alicloud/ecd20201002 2.1.6 → 2.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +678 -0
- package/dist/client.js +811 -33
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1440 -69
package/dist/client.js
CHANGED
|
@@ -36,9 +36,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.VerifyCredentialResponse = exports.VerifyCredentialResponseBody = exports.VerifyCredentialRequest = exports.UnbindUserDesktopResponse = exports.UnbindUserDesktopResponseBody = exports.UnbindUserDesktopRequest = exports.StopRecordContentResponse = void 0;
|
|
39
|
+
exports.DescribeSnapshotsRequest = exports.DescribeRegionsResponse = exports.DescribeRegionsResponseBody = exports.DescribeRegionsRequest = exports.DescribeOfficeSitesResponse = exports.DescribeOfficeSitesResponseBody = exports.DescribeOfficeSitesRequest = exports.DescribeGlobalDesktopsResponse = exports.DescribeGlobalDesktopsResponseBody = exports.DescribeGlobalDesktopsRequest = exports.DescribeFingerPrintTemplatesResponse = exports.DescribeFingerPrintTemplatesResponseBody = exports.DescribeFingerPrintTemplatesRequest = exports.DescribeDirectoriesResponse = exports.DescribeDirectoriesResponseBody = exports.DescribeDirectoriesRequest = exports.DeleteFingerPrintTemplateResponse = exports.DeleteFingerPrintTemplateResponseBody = exports.DeleteFingerPrintTemplateRequest = exports.ChangePasswordResponse = exports.ChangePasswordResponseBody = exports.ChangePasswordRequest = exports.ApproveFotaUpdateResponse = exports.ApproveFotaUpdateResponseBody = exports.ApproveFotaUpdateRequest = exports.OssUploadCredential = exports.QueryEdsAgentReportConfigResponseBodyData = exports.GetLoginTokenResponseBodyRiskVerifyInfo = exports.GetLoginTokenResponseBodyPasswordStrategy = exports.GetConnectionTicketRequestTag = exports.GetCloudDriveServiceMountTokenResponseBodyToken = exports.DescribeUserResourcesResponseBodyResources = exports.DescribeUserResourcesResponseBodyResourcesSessions = exports.DescribeUserResourcesResponseBodyResourcesOsUpdate = exports.DescribeUserResourcesResponseBodyResourcesOsUpdatePackages = exports.DescribeUserResourcesResponseBodyResourcesFotaUpdate = exports.DescribeUserResourcesResponseBodyResourcesDesktopTimers = exports.DescribeUserResourcesResponseBodyResourcesDesktopDurationList = exports.DescribeUserResourcesResponseBodyResourcesClients = exports.DescribeSnapshotsResponseBodySnapshots = exports.DescribeRegionsResponseBodyRegions = exports.DescribeOfficeSitesResponseBodyOfficeSites = exports.DescribeGlobalDesktopsResponseBodyDesktops = exports.DescribeGlobalDesktopsResponseBodyDesktopsSessions = exports.DescribeGlobalDesktopsResponseBodyDesktopsFotaUpdate = exports.DescribeGlobalDesktopsResponseBodyDesktopsDisks = exports.DescribeGlobalDesktopsResponseBodyDesktopsDesktopTimers = exports.DescribeGlobalDesktopsResponseBodyDesktopsClients = exports.DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates = exports.DescribeDirectoriesResponseBodyDirectories = void 0;
|
|
40
|
+
exports.SetFingerPrintTemplateDescriptionResponse = exports.SetFingerPrintTemplateDescriptionResponseBody = exports.SetFingerPrintTemplateDescriptionRequest = exports.SetFingerPrintTemplateResponse = exports.SetFingerPrintTemplateResponseBody = exports.SetFingerPrintTemplateRequest = exports.SendTokenCodeResponse = exports.SendTokenCodeResponseBody = exports.SendTokenCodeRequest = exports.ResetSnapshotResponse = exports.ResetSnapshotResponseBody = exports.ResetSnapshotRequest = exports.ResetPasswordResponse = exports.ResetPasswordResponseBody = exports.ResetPasswordRequest = exports.ReportSessionStatusResponse = exports.ReportSessionStatusResponseBody = exports.ReportSessionStatusRequest = exports.ReportEdsAgentInfoResponse = exports.ReportEdsAgentInfoResponseBody = exports.ReportEdsAgentInfoRequest = exports.RefreshLoginTokenResponse = exports.RefreshLoginTokenResponseBody = exports.RefreshLoginTokenRequest = exports.RebootDesktopsResponse = exports.RebootDesktopsResponseBody = exports.RebootDesktopsRequest = exports.QueryEdsAgentReportConfigResponse = exports.QueryEdsAgentReportConfigResponseBody = exports.QueryEdsAgentReportConfigRequest = exports.IsKeepAliveResponse = exports.IsKeepAliveResponseBody = exports.IsKeepAliveRequest = exports.GetLoginTokenResponse = exports.GetLoginTokenResponseBody = exports.GetLoginTokenRequest = exports.GetConnectionTicketResponse = exports.GetConnectionTicketResponseBody = exports.GetConnectionTicketRequest = exports.GetCloudDriveServiceMountTokenResponse = exports.GetCloudDriveServiceMountTokenResponseBody = exports.GetCloudDriveServiceMountTokenRequest = exports.EncryptPasswordResponse = exports.EncryptPasswordResponseBody = exports.EncryptPasswordRequest = exports.DescribeUserResourcesResponse = exports.DescribeUserResourcesResponseBody = exports.DescribeUserResourcesRequest = exports.DescribeSnapshotsResponse = exports.DescribeSnapshotsResponseBody = void 0;
|
|
41
|
+
exports.VerifyCredentialResponse = exports.VerifyCredentialResponseBody = exports.VerifyCredentialRequest = exports.UnbindUserDesktopResponse = exports.UnbindUserDesktopResponseBody = exports.UnbindUserDesktopRequest = exports.StopRecordContentResponse = exports.StopRecordContentResponseBody = exports.StopRecordContentRequest = exports.StopDesktopsResponse = exports.StopDesktopsResponseBody = exports.StopDesktopsRequest = exports.StartRecordContentResponse = exports.StartRecordContentResponseBody = exports.StartRecordContentRequest = exports.StartDesktopsResponse = exports.StartDesktopsResponseBody = exports.StartDesktopsRequest = void 0;
|
|
42
42
|
// This file is auto-generated, don't edit it
|
|
43
43
|
/**
|
|
44
44
|
*/
|
|
@@ -449,6 +449,357 @@ class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
|
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
exports.DescribeSnapshotsResponseBodySnapshots = DescribeSnapshotsResponseBodySnapshots;
|
|
452
|
+
class DescribeUserResourcesResponseBodyResourcesClients extends $dara.Model {
|
|
453
|
+
static names() {
|
|
454
|
+
return {
|
|
455
|
+
clientType: 'ClientType',
|
|
456
|
+
status: 'Status',
|
|
457
|
+
};
|
|
458
|
+
}
|
|
459
|
+
static types() {
|
|
460
|
+
return {
|
|
461
|
+
clientType: 'string',
|
|
462
|
+
status: 'string',
|
|
463
|
+
};
|
|
464
|
+
}
|
|
465
|
+
validate() {
|
|
466
|
+
super.validate();
|
|
467
|
+
}
|
|
468
|
+
constructor(map) {
|
|
469
|
+
super(map);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
exports.DescribeUserResourcesResponseBodyResourcesClients = DescribeUserResourcesResponseBodyResourcesClients;
|
|
473
|
+
class DescribeUserResourcesResponseBodyResourcesDesktopDurationList extends $dara.Model {
|
|
474
|
+
static names() {
|
|
475
|
+
return {
|
|
476
|
+
orderInstanceId: 'OrderInstanceId',
|
|
477
|
+
packageCreationTime: 'PackageCreationTime',
|
|
478
|
+
packageExpiredTime: 'PackageExpiredTime',
|
|
479
|
+
packageId: 'PackageId',
|
|
480
|
+
packageStatus: 'PackageStatus',
|
|
481
|
+
packageType: 'PackageType',
|
|
482
|
+
packageUsedUpStrategy: 'PackageUsedUpStrategy',
|
|
483
|
+
periodEndTime: 'PeriodEndTime',
|
|
484
|
+
periodStartTime: 'PeriodStartTime',
|
|
485
|
+
postPaidLimitFee: 'PostPaidLimitFee',
|
|
486
|
+
totalDuration: 'TotalDuration',
|
|
487
|
+
usedDuration: 'UsedDuration',
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
static types() {
|
|
491
|
+
return {
|
|
492
|
+
orderInstanceId: 'string',
|
|
493
|
+
packageCreationTime: 'string',
|
|
494
|
+
packageExpiredTime: 'string',
|
|
495
|
+
packageId: 'string',
|
|
496
|
+
packageStatus: 'string',
|
|
497
|
+
packageType: 'string',
|
|
498
|
+
packageUsedUpStrategy: 'string',
|
|
499
|
+
periodEndTime: 'string',
|
|
500
|
+
periodStartTime: 'string',
|
|
501
|
+
postPaidLimitFee: 'number',
|
|
502
|
+
totalDuration: 'number',
|
|
503
|
+
usedDuration: 'number',
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
validate() {
|
|
507
|
+
super.validate();
|
|
508
|
+
}
|
|
509
|
+
constructor(map) {
|
|
510
|
+
super(map);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
exports.DescribeUserResourcesResponseBodyResourcesDesktopDurationList = DescribeUserResourcesResponseBodyResourcesDesktopDurationList;
|
|
514
|
+
class DescribeUserResourcesResponseBodyResourcesDesktopTimers extends $dara.Model {
|
|
515
|
+
static names() {
|
|
516
|
+
return {
|
|
517
|
+
allowClientSetting: 'AllowClientSetting',
|
|
518
|
+
cronExpression: 'CronExpression',
|
|
519
|
+
enforce: 'Enforce',
|
|
520
|
+
executionTime: 'ExecutionTime',
|
|
521
|
+
interval: 'Interval',
|
|
522
|
+
operationType: 'OperationType',
|
|
523
|
+
resetType: 'ResetType',
|
|
524
|
+
timerType: 'TimerType',
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
static types() {
|
|
528
|
+
return {
|
|
529
|
+
allowClientSetting: 'string',
|
|
530
|
+
cronExpression: 'string',
|
|
531
|
+
enforce: 'boolean',
|
|
532
|
+
executionTime: 'string',
|
|
533
|
+
interval: 'number',
|
|
534
|
+
operationType: 'string',
|
|
535
|
+
resetType: 'string',
|
|
536
|
+
timerType: 'string',
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
validate() {
|
|
540
|
+
super.validate();
|
|
541
|
+
}
|
|
542
|
+
constructor(map) {
|
|
543
|
+
super(map);
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
exports.DescribeUserResourcesResponseBodyResourcesDesktopTimers = DescribeUserResourcesResponseBodyResourcesDesktopTimers;
|
|
547
|
+
class DescribeUserResourcesResponseBodyResourcesFotaUpdate extends $dara.Model {
|
|
548
|
+
static names() {
|
|
549
|
+
return {
|
|
550
|
+
channel: 'Channel',
|
|
551
|
+
currentAppVersion: 'CurrentAppVersion',
|
|
552
|
+
force: 'Force',
|
|
553
|
+
newAppVersion: 'NewAppVersion',
|
|
554
|
+
newDcdVersion: 'NewDcdVersion',
|
|
555
|
+
project: 'Project',
|
|
556
|
+
releaseNote: 'ReleaseNote',
|
|
557
|
+
releaseNoteEn: 'ReleaseNoteEn',
|
|
558
|
+
releaseNoteJp: 'ReleaseNoteJp',
|
|
559
|
+
size: 'Size',
|
|
560
|
+
};
|
|
561
|
+
}
|
|
562
|
+
static types() {
|
|
563
|
+
return {
|
|
564
|
+
channel: 'string',
|
|
565
|
+
currentAppVersion: 'string',
|
|
566
|
+
force: 'boolean',
|
|
567
|
+
newAppVersion: 'string',
|
|
568
|
+
newDcdVersion: 'string',
|
|
569
|
+
project: 'string',
|
|
570
|
+
releaseNote: 'string',
|
|
571
|
+
releaseNoteEn: 'string',
|
|
572
|
+
releaseNoteJp: 'string',
|
|
573
|
+
size: 'string',
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
validate() {
|
|
577
|
+
super.validate();
|
|
578
|
+
}
|
|
579
|
+
constructor(map) {
|
|
580
|
+
super(map);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
exports.DescribeUserResourcesResponseBodyResourcesFotaUpdate = DescribeUserResourcesResponseBodyResourcesFotaUpdate;
|
|
584
|
+
class DescribeUserResourcesResponseBodyResourcesOsUpdatePackages extends $dara.Model {
|
|
585
|
+
static names() {
|
|
586
|
+
return {
|
|
587
|
+
description: 'Description',
|
|
588
|
+
kb: 'Kb',
|
|
589
|
+
title: 'Title',
|
|
590
|
+
};
|
|
591
|
+
}
|
|
592
|
+
static types() {
|
|
593
|
+
return {
|
|
594
|
+
description: 'string',
|
|
595
|
+
kb: 'string',
|
|
596
|
+
title: 'string',
|
|
597
|
+
};
|
|
598
|
+
}
|
|
599
|
+
validate() {
|
|
600
|
+
super.validate();
|
|
601
|
+
}
|
|
602
|
+
constructor(map) {
|
|
603
|
+
super(map);
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
exports.DescribeUserResourcesResponseBodyResourcesOsUpdatePackages = DescribeUserResourcesResponseBodyResourcesOsUpdatePackages;
|
|
607
|
+
class DescribeUserResourcesResponseBodyResourcesOsUpdate extends $dara.Model {
|
|
608
|
+
static names() {
|
|
609
|
+
return {
|
|
610
|
+
checkId: 'CheckId',
|
|
611
|
+
kbListString: 'KbListString',
|
|
612
|
+
packageCount: 'PackageCount',
|
|
613
|
+
packages: 'Packages',
|
|
614
|
+
updateCatalogUrl: 'UpdateCatalogUrl',
|
|
615
|
+
};
|
|
616
|
+
}
|
|
617
|
+
static types() {
|
|
618
|
+
return {
|
|
619
|
+
checkId: 'string',
|
|
620
|
+
kbListString: 'string',
|
|
621
|
+
packageCount: 'number',
|
|
622
|
+
packages: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesOsUpdatePackages },
|
|
623
|
+
updateCatalogUrl: 'string',
|
|
624
|
+
};
|
|
625
|
+
}
|
|
626
|
+
validate() {
|
|
627
|
+
if (Array.isArray(this.packages)) {
|
|
628
|
+
$dara.Model.validateArray(this.packages);
|
|
629
|
+
}
|
|
630
|
+
super.validate();
|
|
631
|
+
}
|
|
632
|
+
constructor(map) {
|
|
633
|
+
super(map);
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
exports.DescribeUserResourcesResponseBodyResourcesOsUpdate = DescribeUserResourcesResponseBodyResourcesOsUpdate;
|
|
637
|
+
class DescribeUserResourcesResponseBodyResourcesSessions extends $dara.Model {
|
|
638
|
+
static names() {
|
|
639
|
+
return {
|
|
640
|
+
resourceSessionStartTime: 'ResourceSessionStartTime',
|
|
641
|
+
userId: 'UserId',
|
|
642
|
+
userPrincipalName: 'UserPrincipalName',
|
|
643
|
+
};
|
|
644
|
+
}
|
|
645
|
+
static types() {
|
|
646
|
+
return {
|
|
647
|
+
resourceSessionStartTime: 'string',
|
|
648
|
+
userId: 'string',
|
|
649
|
+
userPrincipalName: 'string',
|
|
650
|
+
};
|
|
651
|
+
}
|
|
652
|
+
validate() {
|
|
653
|
+
super.validate();
|
|
654
|
+
}
|
|
655
|
+
constructor(map) {
|
|
656
|
+
super(map);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
exports.DescribeUserResourcesResponseBodyResourcesSessions = DescribeUserResourcesResponseBodyResourcesSessions;
|
|
660
|
+
class DescribeUserResourcesResponseBodyResources extends $dara.Model {
|
|
661
|
+
static names() {
|
|
662
|
+
return {
|
|
663
|
+
accessType: 'AccessType',
|
|
664
|
+
aliUid: 'AliUid',
|
|
665
|
+
appId: 'AppId',
|
|
666
|
+
authMode: 'AuthMode',
|
|
667
|
+
categoryId: 'CategoryId',
|
|
668
|
+
categoryType: 'CategoryType',
|
|
669
|
+
cdsName: 'CdsName',
|
|
670
|
+
centerResourceId: 'CenterResourceId',
|
|
671
|
+
chargeType: 'ChargeType',
|
|
672
|
+
clients: 'Clients',
|
|
673
|
+
connectionProperties: 'ConnectionProperties',
|
|
674
|
+
createTime: 'CreateTime',
|
|
675
|
+
desktopDurationList: 'DesktopDurationList',
|
|
676
|
+
desktopTimers: 'DesktopTimers',
|
|
677
|
+
expiredTime: 'ExpiredTime',
|
|
678
|
+
externalDomainId: 'ExternalDomainId',
|
|
679
|
+
externalUserId: 'ExternalUserId',
|
|
680
|
+
fotaUpdate: 'FotaUpdate',
|
|
681
|
+
globalStatus: 'GlobalStatus',
|
|
682
|
+
hasUpgrade: 'HasUpgrade',
|
|
683
|
+
hibernationBeta: 'HibernationBeta',
|
|
684
|
+
icon: 'Icon',
|
|
685
|
+
lastStartTime: 'LastStartTime',
|
|
686
|
+
localName: 'LocalName',
|
|
687
|
+
managementStatuses: 'ManagementStatuses',
|
|
688
|
+
officeSiteId: 'OfficeSiteId',
|
|
689
|
+
orderStatus: 'OrderStatus',
|
|
690
|
+
os: 'Os',
|
|
691
|
+
osDescription: 'OsDescription',
|
|
692
|
+
osType: 'OsType',
|
|
693
|
+
osUpdate: 'OsUpdate',
|
|
694
|
+
productType: 'ProductType',
|
|
695
|
+
protocolType: 'ProtocolType',
|
|
696
|
+
realDesktopId: 'RealDesktopId',
|
|
697
|
+
regionId: 'RegionId',
|
|
698
|
+
regionLocation: 'RegionLocation',
|
|
699
|
+
resourceGroupId: 'ResourceGroupId',
|
|
700
|
+
resourceId: 'ResourceId',
|
|
701
|
+
resourceLevel: 'ResourceLevel',
|
|
702
|
+
resourceName: 'ResourceName',
|
|
703
|
+
resourceSessionStatus: 'ResourceSessionStatus',
|
|
704
|
+
resourceStatus: 'ResourceStatus',
|
|
705
|
+
resourceType: 'ResourceType',
|
|
706
|
+
sessionType: 'SessionType',
|
|
707
|
+
sessions: 'Sessions',
|
|
708
|
+
subPayType: 'SubPayType',
|
|
709
|
+
supportHibernation: 'SupportHibernation',
|
|
710
|
+
supportedActions: 'SupportedActions',
|
|
711
|
+
themeColor: 'ThemeColor',
|
|
712
|
+
userCustomName: 'UserCustomName',
|
|
713
|
+
version: 'Version',
|
|
714
|
+
};
|
|
715
|
+
}
|
|
716
|
+
static types() {
|
|
717
|
+
return {
|
|
718
|
+
accessType: 'string',
|
|
719
|
+
aliUid: 'number',
|
|
720
|
+
appId: 'string',
|
|
721
|
+
authMode: 'string',
|
|
722
|
+
categoryId: 'number',
|
|
723
|
+
categoryType: 'number',
|
|
724
|
+
cdsName: 'string',
|
|
725
|
+
centerResourceId: 'string',
|
|
726
|
+
chargeType: 'string',
|
|
727
|
+
clients: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesClients },
|
|
728
|
+
connectionProperties: 'string',
|
|
729
|
+
createTime: 'string',
|
|
730
|
+
desktopDurationList: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesDesktopDurationList },
|
|
731
|
+
desktopTimers: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesDesktopTimers },
|
|
732
|
+
expiredTime: 'string',
|
|
733
|
+
externalDomainId: 'string',
|
|
734
|
+
externalUserId: 'string',
|
|
735
|
+
fotaUpdate: DescribeUserResourcesResponseBodyResourcesFotaUpdate,
|
|
736
|
+
globalStatus: 'boolean',
|
|
737
|
+
hasUpgrade: 'boolean',
|
|
738
|
+
hibernationBeta: 'boolean',
|
|
739
|
+
icon: 'string',
|
|
740
|
+
lastStartTime: 'string',
|
|
741
|
+
localName: 'string',
|
|
742
|
+
managementStatuses: { 'type': 'array', 'itemType': 'string' },
|
|
743
|
+
officeSiteId: 'string',
|
|
744
|
+
orderStatus: 'string',
|
|
745
|
+
os: 'string',
|
|
746
|
+
osDescription: 'string',
|
|
747
|
+
osType: 'string',
|
|
748
|
+
osUpdate: DescribeUserResourcesResponseBodyResourcesOsUpdate,
|
|
749
|
+
productType: 'string',
|
|
750
|
+
protocolType: 'string',
|
|
751
|
+
realDesktopId: 'string',
|
|
752
|
+
regionId: 'string',
|
|
753
|
+
regionLocation: 'string',
|
|
754
|
+
resourceGroupId: 'string',
|
|
755
|
+
resourceId: 'string',
|
|
756
|
+
resourceLevel: 'string',
|
|
757
|
+
resourceName: 'string',
|
|
758
|
+
resourceSessionStatus: 'string',
|
|
759
|
+
resourceStatus: 'string',
|
|
760
|
+
resourceType: 'string',
|
|
761
|
+
sessionType: 'string',
|
|
762
|
+
sessions: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResourcesSessions },
|
|
763
|
+
subPayType: 'string',
|
|
764
|
+
supportHibernation: 'boolean',
|
|
765
|
+
supportedActions: { 'type': 'array', 'itemType': 'string' },
|
|
766
|
+
themeColor: 'string',
|
|
767
|
+
userCustomName: 'string',
|
|
768
|
+
version: 'string',
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
validate() {
|
|
772
|
+
if (Array.isArray(this.clients)) {
|
|
773
|
+
$dara.Model.validateArray(this.clients);
|
|
774
|
+
}
|
|
775
|
+
if (Array.isArray(this.desktopDurationList)) {
|
|
776
|
+
$dara.Model.validateArray(this.desktopDurationList);
|
|
777
|
+
}
|
|
778
|
+
if (Array.isArray(this.desktopTimers)) {
|
|
779
|
+
$dara.Model.validateArray(this.desktopTimers);
|
|
780
|
+
}
|
|
781
|
+
if (this.fotaUpdate && typeof this.fotaUpdate.validate === 'function') {
|
|
782
|
+
this.fotaUpdate.validate();
|
|
783
|
+
}
|
|
784
|
+
if (Array.isArray(this.managementStatuses)) {
|
|
785
|
+
$dara.Model.validateArray(this.managementStatuses);
|
|
786
|
+
}
|
|
787
|
+
if (this.osUpdate && typeof this.osUpdate.validate === 'function') {
|
|
788
|
+
this.osUpdate.validate();
|
|
789
|
+
}
|
|
790
|
+
if (Array.isArray(this.sessions)) {
|
|
791
|
+
$dara.Model.validateArray(this.sessions);
|
|
792
|
+
}
|
|
793
|
+
if (Array.isArray(this.supportedActions)) {
|
|
794
|
+
$dara.Model.validateArray(this.supportedActions);
|
|
795
|
+
}
|
|
796
|
+
super.validate();
|
|
797
|
+
}
|
|
798
|
+
constructor(map) {
|
|
799
|
+
super(map);
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
exports.DescribeUserResourcesResponseBodyResources = DescribeUserResourcesResponseBodyResources;
|
|
452
803
|
class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model {
|
|
453
804
|
static names() {
|
|
454
805
|
return {
|
|
@@ -605,6 +956,7 @@ class ApproveFotaUpdateRequest extends $dara.Model {
|
|
|
605
956
|
loginToken: 'LoginToken',
|
|
606
957
|
regionId: 'RegionId',
|
|
607
958
|
sessionId: 'SessionId',
|
|
959
|
+
targetStatus: 'TargetStatus',
|
|
608
960
|
uuid: 'Uuid',
|
|
609
961
|
};
|
|
610
962
|
}
|
|
@@ -616,6 +968,7 @@ class ApproveFotaUpdateRequest extends $dara.Model {
|
|
|
616
968
|
loginToken: 'string',
|
|
617
969
|
regionId: 'string',
|
|
618
970
|
sessionId: 'string',
|
|
971
|
+
targetStatus: 'string',
|
|
619
972
|
uuid: 'string',
|
|
620
973
|
};
|
|
621
974
|
}
|
|
@@ -1348,6 +1701,149 @@ class DescribeSnapshotsResponse extends $dara.Model {
|
|
|
1348
1701
|
}
|
|
1349
1702
|
}
|
|
1350
1703
|
exports.DescribeSnapshotsResponse = DescribeSnapshotsResponse;
|
|
1704
|
+
class DescribeUserResourcesRequest extends $dara.Model {
|
|
1705
|
+
static names() {
|
|
1706
|
+
return {
|
|
1707
|
+
accessType: 'AccessType',
|
|
1708
|
+
autoRefresh: 'AutoRefresh',
|
|
1709
|
+
categoryId: 'CategoryId',
|
|
1710
|
+
categoryType: 'CategoryType',
|
|
1711
|
+
clientId: 'ClientId',
|
|
1712
|
+
clientType: 'ClientType',
|
|
1713
|
+
clientVersion: 'ClientVersion',
|
|
1714
|
+
dualCenterForward: 'DualCenterForward',
|
|
1715
|
+
language: 'Language',
|
|
1716
|
+
loginRegionId: 'LoginRegionId',
|
|
1717
|
+
loginToken: 'LoginToken',
|
|
1718
|
+
maxResults: 'MaxResults',
|
|
1719
|
+
nextToken: 'NextToken',
|
|
1720
|
+
officeSiteIds: 'OfficeSiteIds',
|
|
1721
|
+
orderBy: 'OrderBy',
|
|
1722
|
+
productTypes: 'ProductTypes',
|
|
1723
|
+
protocolType: 'ProtocolType',
|
|
1724
|
+
queryFotaUpdate: 'QueryFotaUpdate',
|
|
1725
|
+
refreshFotaUpdate: 'RefreshFotaUpdate',
|
|
1726
|
+
resourceIds: 'ResourceIds',
|
|
1727
|
+
resourceName: 'ResourceName',
|
|
1728
|
+
resourceTypes: 'ResourceTypes',
|
|
1729
|
+
scene: 'Scene',
|
|
1730
|
+
searchRegionId: 'SearchRegionId',
|
|
1731
|
+
sessionId: 'SessionId',
|
|
1732
|
+
sortType: 'SortType',
|
|
1733
|
+
};
|
|
1734
|
+
}
|
|
1735
|
+
static types() {
|
|
1736
|
+
return {
|
|
1737
|
+
accessType: 'string',
|
|
1738
|
+
autoRefresh: 'boolean',
|
|
1739
|
+
categoryId: 'number',
|
|
1740
|
+
categoryType: 'number',
|
|
1741
|
+
clientId: 'string',
|
|
1742
|
+
clientType: 'string',
|
|
1743
|
+
clientVersion: 'string',
|
|
1744
|
+
dualCenterForward: 'boolean',
|
|
1745
|
+
language: 'string',
|
|
1746
|
+
loginRegionId: 'string',
|
|
1747
|
+
loginToken: 'string',
|
|
1748
|
+
maxResults: 'number',
|
|
1749
|
+
nextToken: 'string',
|
|
1750
|
+
officeSiteIds: { 'type': 'array', 'itemType': 'string' },
|
|
1751
|
+
orderBy: 'string',
|
|
1752
|
+
productTypes: { 'type': 'array', 'itemType': 'string' },
|
|
1753
|
+
protocolType: 'string',
|
|
1754
|
+
queryFotaUpdate: 'boolean',
|
|
1755
|
+
refreshFotaUpdate: 'boolean',
|
|
1756
|
+
resourceIds: { 'type': 'array', 'itemType': 'string' },
|
|
1757
|
+
resourceName: 'string',
|
|
1758
|
+
resourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
1759
|
+
scene: 'string',
|
|
1760
|
+
searchRegionId: 'string',
|
|
1761
|
+
sessionId: 'string',
|
|
1762
|
+
sortType: 'string',
|
|
1763
|
+
};
|
|
1764
|
+
}
|
|
1765
|
+
validate() {
|
|
1766
|
+
if (Array.isArray(this.officeSiteIds)) {
|
|
1767
|
+
$dara.Model.validateArray(this.officeSiteIds);
|
|
1768
|
+
}
|
|
1769
|
+
if (Array.isArray(this.productTypes)) {
|
|
1770
|
+
$dara.Model.validateArray(this.productTypes);
|
|
1771
|
+
}
|
|
1772
|
+
if (Array.isArray(this.resourceIds)) {
|
|
1773
|
+
$dara.Model.validateArray(this.resourceIds);
|
|
1774
|
+
}
|
|
1775
|
+
if (Array.isArray(this.resourceTypes)) {
|
|
1776
|
+
$dara.Model.validateArray(this.resourceTypes);
|
|
1777
|
+
}
|
|
1778
|
+
super.validate();
|
|
1779
|
+
}
|
|
1780
|
+
constructor(map) {
|
|
1781
|
+
super(map);
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
exports.DescribeUserResourcesRequest = DescribeUserResourcesRequest;
|
|
1785
|
+
class DescribeUserResourcesResponseBody extends $dara.Model {
|
|
1786
|
+
static names() {
|
|
1787
|
+
return {
|
|
1788
|
+
nextToken: 'NextToken',
|
|
1789
|
+
queryFailedResourceTypes: 'QueryFailedResourceTypes',
|
|
1790
|
+
rankVersion: 'RankVersion',
|
|
1791
|
+
requestId: 'RequestId',
|
|
1792
|
+
resources: 'Resources',
|
|
1793
|
+
};
|
|
1794
|
+
}
|
|
1795
|
+
static types() {
|
|
1796
|
+
return {
|
|
1797
|
+
nextToken: 'string',
|
|
1798
|
+
queryFailedResourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
1799
|
+
rankVersion: 'number',
|
|
1800
|
+
requestId: 'string',
|
|
1801
|
+
resources: { 'type': 'array', 'itemType': DescribeUserResourcesResponseBodyResources },
|
|
1802
|
+
};
|
|
1803
|
+
}
|
|
1804
|
+
validate() {
|
|
1805
|
+
if (Array.isArray(this.queryFailedResourceTypes)) {
|
|
1806
|
+
$dara.Model.validateArray(this.queryFailedResourceTypes);
|
|
1807
|
+
}
|
|
1808
|
+
if (Array.isArray(this.resources)) {
|
|
1809
|
+
$dara.Model.validateArray(this.resources);
|
|
1810
|
+
}
|
|
1811
|
+
super.validate();
|
|
1812
|
+
}
|
|
1813
|
+
constructor(map) {
|
|
1814
|
+
super(map);
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
exports.DescribeUserResourcesResponseBody = DescribeUserResourcesResponseBody;
|
|
1818
|
+
class DescribeUserResourcesResponse extends $dara.Model {
|
|
1819
|
+
static names() {
|
|
1820
|
+
return {
|
|
1821
|
+
headers: 'headers',
|
|
1822
|
+
statusCode: 'statusCode',
|
|
1823
|
+
body: 'body',
|
|
1824
|
+
};
|
|
1825
|
+
}
|
|
1826
|
+
static types() {
|
|
1827
|
+
return {
|
|
1828
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1829
|
+
statusCode: 'number',
|
|
1830
|
+
body: DescribeUserResourcesResponseBody,
|
|
1831
|
+
};
|
|
1832
|
+
}
|
|
1833
|
+
validate() {
|
|
1834
|
+
if (this.headers) {
|
|
1835
|
+
$dara.Model.validateMap(this.headers);
|
|
1836
|
+
}
|
|
1837
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
1838
|
+
this.body.validate();
|
|
1839
|
+
}
|
|
1840
|
+
super.validate();
|
|
1841
|
+
}
|
|
1842
|
+
constructor(map) {
|
|
1843
|
+
super(map);
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
exports.DescribeUserResourcesResponse = DescribeUserResourcesResponse;
|
|
1351
1847
|
class EncryptPasswordRequest extends $dara.Model {
|
|
1352
1848
|
static names() {
|
|
1353
1849
|
return {
|
|
@@ -1923,6 +2419,7 @@ class RebootDesktopsRequest extends $dara.Model {
|
|
|
1923
2419
|
clientVersion: 'ClientVersion',
|
|
1924
2420
|
desktopId: 'DesktopId',
|
|
1925
2421
|
loginToken: 'LoginToken',
|
|
2422
|
+
osUpdate: 'OsUpdate',
|
|
1926
2423
|
regionId: 'RegionId',
|
|
1927
2424
|
sessionId: 'SessionId',
|
|
1928
2425
|
sessionToken: 'SessionToken',
|
|
@@ -1937,6 +2434,7 @@ class RebootDesktopsRequest extends $dara.Model {
|
|
|
1937
2434
|
clientVersion: 'string',
|
|
1938
2435
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
1939
2436
|
loginToken: 'string',
|
|
2437
|
+
osUpdate: 'boolean',
|
|
1940
2438
|
regionId: 'string',
|
|
1941
2439
|
sessionId: 'string',
|
|
1942
2440
|
sessionToken: 'string',
|
|
@@ -2816,6 +3314,7 @@ class StopDesktopsRequest extends $dara.Model {
|
|
|
2816
3314
|
clientVersion: 'ClientVersion',
|
|
2817
3315
|
desktopId: 'DesktopId',
|
|
2818
3316
|
loginToken: 'LoginToken',
|
|
3317
|
+
osUpdate: 'OsUpdate',
|
|
2819
3318
|
regionId: 'RegionId',
|
|
2820
3319
|
sessionId: 'SessionId',
|
|
2821
3320
|
sessionToken: 'SessionToken',
|
|
@@ -2829,6 +3328,7 @@ class StopDesktopsRequest extends $dara.Model {
|
|
|
2829
3328
|
clientVersion: 'string',
|
|
2830
3329
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
2831
3330
|
loginToken: 'string',
|
|
3331
|
+
osUpdate: 'boolean',
|
|
2832
3332
|
regionId: 'string',
|
|
2833
3333
|
sessionId: 'string',
|
|
2834
3334
|
sessionToken: 'string',
|
|
@@ -3177,6 +3677,9 @@ class Client extends openapi_core_1.default {
|
|
|
3177
3677
|
if (!$dara.isNull(request.sessionId)) {
|
|
3178
3678
|
query["SessionId"] = request.sessionId;
|
|
3179
3679
|
}
|
|
3680
|
+
if (!$dara.isNull(request.targetStatus)) {
|
|
3681
|
+
query["TargetStatus"] = request.targetStatus;
|
|
3682
|
+
}
|
|
3180
3683
|
if (!$dara.isNull(request.uuid)) {
|
|
3181
3684
|
query["Uuid"] = request.uuid;
|
|
3182
3685
|
}
|
|
@@ -3194,7 +3697,12 @@ class Client extends openapi_core_1.default {
|
|
|
3194
3697
|
reqBodyType: "formData",
|
|
3195
3698
|
bodyType: "json",
|
|
3196
3699
|
});
|
|
3197
|
-
|
|
3700
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
3701
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
3702
|
+
}
|
|
3703
|
+
else {
|
|
3704
|
+
return $dara.cast(await this.execute(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
3705
|
+
}
|
|
3198
3706
|
}
|
|
3199
3707
|
/**
|
|
3200
3708
|
* 允许桌面FOTA升级
|
|
@@ -3252,7 +3760,12 @@ class Client extends openapi_core_1.default {
|
|
|
3252
3760
|
reqBodyType: "formData",
|
|
3253
3761
|
bodyType: "json",
|
|
3254
3762
|
});
|
|
3255
|
-
|
|
3763
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
3764
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ChangePasswordResponse({}));
|
|
3765
|
+
}
|
|
3766
|
+
else {
|
|
3767
|
+
return $dara.cast(await this.execute(params, req, runtime), new ChangePasswordResponse({}));
|
|
3768
|
+
}
|
|
3256
3769
|
}
|
|
3257
3770
|
/**
|
|
3258
3771
|
* @param request - ChangePasswordRequest
|
|
@@ -3302,7 +3815,12 @@ class Client extends openapi_core_1.default {
|
|
|
3302
3815
|
reqBodyType: "formData",
|
|
3303
3816
|
bodyType: "json",
|
|
3304
3817
|
});
|
|
3305
|
-
|
|
3818
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
3819
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
|
|
3820
|
+
}
|
|
3821
|
+
else {
|
|
3822
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
|
|
3823
|
+
}
|
|
3306
3824
|
}
|
|
3307
3825
|
/**
|
|
3308
3826
|
* @param request - DeleteFingerPrintTemplateRequest
|
|
@@ -3343,7 +3861,12 @@ class Client extends openapi_core_1.default {
|
|
|
3343
3861
|
reqBodyType: "formData",
|
|
3344
3862
|
bodyType: "json",
|
|
3345
3863
|
});
|
|
3346
|
-
|
|
3864
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
3865
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDirectoriesResponse({}));
|
|
3866
|
+
}
|
|
3867
|
+
else {
|
|
3868
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDirectoriesResponse({}));
|
|
3869
|
+
}
|
|
3347
3870
|
}
|
|
3348
3871
|
/**
|
|
3349
3872
|
* @param request - DescribeDirectoriesRequest
|
|
@@ -3387,7 +3910,12 @@ class Client extends openapi_core_1.default {
|
|
|
3387
3910
|
reqBodyType: "formData",
|
|
3388
3911
|
bodyType: "json",
|
|
3389
3912
|
});
|
|
3390
|
-
|
|
3913
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
3914
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
|
|
3915
|
+
}
|
|
3916
|
+
else {
|
|
3917
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
|
|
3918
|
+
}
|
|
3391
3919
|
}
|
|
3392
3920
|
/**
|
|
3393
3921
|
* @param request - DescribeFingerPrintTemplatesRequest
|
|
@@ -3479,7 +4007,12 @@ class Client extends openapi_core_1.default {
|
|
|
3479
4007
|
reqBodyType: "formData",
|
|
3480
4008
|
bodyType: "json",
|
|
3481
4009
|
});
|
|
3482
|
-
|
|
4010
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4011
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
|
|
4012
|
+
}
|
|
4013
|
+
else {
|
|
4014
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
|
|
4015
|
+
}
|
|
3483
4016
|
}
|
|
3484
4017
|
/**
|
|
3485
4018
|
* @param request - DescribeGlobalDesktopsRequest
|
|
@@ -3520,7 +4053,12 @@ class Client extends openapi_core_1.default {
|
|
|
3520
4053
|
reqBodyType: "formData",
|
|
3521
4054
|
bodyType: "json",
|
|
3522
4055
|
});
|
|
3523
|
-
|
|
4056
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4057
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeOfficeSitesResponse({}));
|
|
4058
|
+
}
|
|
4059
|
+
else {
|
|
4060
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeOfficeSitesResponse({}));
|
|
4061
|
+
}
|
|
3524
4062
|
}
|
|
3525
4063
|
/**
|
|
3526
4064
|
* @param request - DescribeOfficeSitesRequest
|
|
@@ -3558,7 +4096,12 @@ class Client extends openapi_core_1.default {
|
|
|
3558
4096
|
reqBodyType: "formData",
|
|
3559
4097
|
bodyType: "json",
|
|
3560
4098
|
});
|
|
3561
|
-
|
|
4099
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4100
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
4101
|
+
}
|
|
4102
|
+
else {
|
|
4103
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
|
|
4104
|
+
}
|
|
3562
4105
|
}
|
|
3563
4106
|
/**
|
|
3564
4107
|
* @param request - DescribeRegionsRequest
|
|
@@ -3616,7 +4159,12 @@ class Client extends openapi_core_1.default {
|
|
|
3616
4159
|
reqBodyType: "formData",
|
|
3617
4160
|
bodyType: "json",
|
|
3618
4161
|
});
|
|
3619
|
-
|
|
4162
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4163
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
4164
|
+
}
|
|
4165
|
+
else {
|
|
4166
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
4167
|
+
}
|
|
3620
4168
|
}
|
|
3621
4169
|
/**
|
|
3622
4170
|
* 列举快照
|
|
@@ -3628,6 +4176,125 @@ class Client extends openapi_core_1.default {
|
|
|
3628
4176
|
let runtime = new $dara.RuntimeOptions({});
|
|
3629
4177
|
return await this.describeSnapshotsWithOptions(request, runtime);
|
|
3630
4178
|
}
|
|
4179
|
+
/**
|
|
4180
|
+
* 查询用户资源列表
|
|
4181
|
+
*
|
|
4182
|
+
* @param request - DescribeUserResourcesRequest
|
|
4183
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4184
|
+
* @returns DescribeUserResourcesResponse
|
|
4185
|
+
*/
|
|
4186
|
+
async describeUserResourcesWithOptions(request, runtime) {
|
|
4187
|
+
request.validate();
|
|
4188
|
+
let query = {};
|
|
4189
|
+
if (!$dara.isNull(request.accessType)) {
|
|
4190
|
+
query["AccessType"] = request.accessType;
|
|
4191
|
+
}
|
|
4192
|
+
if (!$dara.isNull(request.autoRefresh)) {
|
|
4193
|
+
query["AutoRefresh"] = request.autoRefresh;
|
|
4194
|
+
}
|
|
4195
|
+
if (!$dara.isNull(request.categoryId)) {
|
|
4196
|
+
query["CategoryId"] = request.categoryId;
|
|
4197
|
+
}
|
|
4198
|
+
if (!$dara.isNull(request.categoryType)) {
|
|
4199
|
+
query["CategoryType"] = request.categoryType;
|
|
4200
|
+
}
|
|
4201
|
+
if (!$dara.isNull(request.clientId)) {
|
|
4202
|
+
query["ClientId"] = request.clientId;
|
|
4203
|
+
}
|
|
4204
|
+
if (!$dara.isNull(request.clientType)) {
|
|
4205
|
+
query["ClientType"] = request.clientType;
|
|
4206
|
+
}
|
|
4207
|
+
if (!$dara.isNull(request.clientVersion)) {
|
|
4208
|
+
query["ClientVersion"] = request.clientVersion;
|
|
4209
|
+
}
|
|
4210
|
+
if (!$dara.isNull(request.dualCenterForward)) {
|
|
4211
|
+
query["DualCenterForward"] = request.dualCenterForward;
|
|
4212
|
+
}
|
|
4213
|
+
if (!$dara.isNull(request.language)) {
|
|
4214
|
+
query["Language"] = request.language;
|
|
4215
|
+
}
|
|
4216
|
+
if (!$dara.isNull(request.loginRegionId)) {
|
|
4217
|
+
query["LoginRegionId"] = request.loginRegionId;
|
|
4218
|
+
}
|
|
4219
|
+
if (!$dara.isNull(request.loginToken)) {
|
|
4220
|
+
query["LoginToken"] = request.loginToken;
|
|
4221
|
+
}
|
|
4222
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4223
|
+
query["MaxResults"] = request.maxResults;
|
|
4224
|
+
}
|
|
4225
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4226
|
+
query["NextToken"] = request.nextToken;
|
|
4227
|
+
}
|
|
4228
|
+
if (!$dara.isNull(request.officeSiteIds)) {
|
|
4229
|
+
query["OfficeSiteIds"] = request.officeSiteIds;
|
|
4230
|
+
}
|
|
4231
|
+
if (!$dara.isNull(request.orderBy)) {
|
|
4232
|
+
query["OrderBy"] = request.orderBy;
|
|
4233
|
+
}
|
|
4234
|
+
if (!$dara.isNull(request.productTypes)) {
|
|
4235
|
+
query["ProductTypes"] = request.productTypes;
|
|
4236
|
+
}
|
|
4237
|
+
if (!$dara.isNull(request.protocolType)) {
|
|
4238
|
+
query["ProtocolType"] = request.protocolType;
|
|
4239
|
+
}
|
|
4240
|
+
if (!$dara.isNull(request.queryFotaUpdate)) {
|
|
4241
|
+
query["QueryFotaUpdate"] = request.queryFotaUpdate;
|
|
4242
|
+
}
|
|
4243
|
+
if (!$dara.isNull(request.refreshFotaUpdate)) {
|
|
4244
|
+
query["RefreshFotaUpdate"] = request.refreshFotaUpdate;
|
|
4245
|
+
}
|
|
4246
|
+
if (!$dara.isNull(request.resourceIds)) {
|
|
4247
|
+
query["ResourceIds"] = request.resourceIds;
|
|
4248
|
+
}
|
|
4249
|
+
if (!$dara.isNull(request.resourceName)) {
|
|
4250
|
+
query["ResourceName"] = request.resourceName;
|
|
4251
|
+
}
|
|
4252
|
+
if (!$dara.isNull(request.resourceTypes)) {
|
|
4253
|
+
query["ResourceTypes"] = request.resourceTypes;
|
|
4254
|
+
}
|
|
4255
|
+
if (!$dara.isNull(request.scene)) {
|
|
4256
|
+
query["Scene"] = request.scene;
|
|
4257
|
+
}
|
|
4258
|
+
if (!$dara.isNull(request.searchRegionId)) {
|
|
4259
|
+
query["SearchRegionId"] = request.searchRegionId;
|
|
4260
|
+
}
|
|
4261
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
4262
|
+
query["SessionId"] = request.sessionId;
|
|
4263
|
+
}
|
|
4264
|
+
if (!$dara.isNull(request.sortType)) {
|
|
4265
|
+
query["SortType"] = request.sortType;
|
|
4266
|
+
}
|
|
4267
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4268
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4269
|
+
});
|
|
4270
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4271
|
+
action: "DescribeUserResources",
|
|
4272
|
+
version: "2020-10-02",
|
|
4273
|
+
protocol: "HTTPS",
|
|
4274
|
+
pathname: "/",
|
|
4275
|
+
method: "POST",
|
|
4276
|
+
authType: "Anonymous",
|
|
4277
|
+
style: "RPC",
|
|
4278
|
+
reqBodyType: "formData",
|
|
4279
|
+
bodyType: "json",
|
|
4280
|
+
});
|
|
4281
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4282
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserResourcesResponse({}));
|
|
4283
|
+
}
|
|
4284
|
+
else {
|
|
4285
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeUserResourcesResponse({}));
|
|
4286
|
+
}
|
|
4287
|
+
}
|
|
4288
|
+
/**
|
|
4289
|
+
* 查询用户资源列表
|
|
4290
|
+
*
|
|
4291
|
+
* @param request - DescribeUserResourcesRequest
|
|
4292
|
+
* @returns DescribeUserResourcesResponse
|
|
4293
|
+
*/
|
|
4294
|
+
async describeUserResources(request) {
|
|
4295
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4296
|
+
return await this.describeUserResourcesWithOptions(request, runtime);
|
|
4297
|
+
}
|
|
3631
4298
|
/**
|
|
3632
4299
|
* @param request - EncryptPasswordRequest
|
|
3633
4300
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3671,7 +4338,12 @@ class Client extends openapi_core_1.default {
|
|
|
3671
4338
|
reqBodyType: "formData",
|
|
3672
4339
|
bodyType: "json",
|
|
3673
4340
|
});
|
|
3674
|
-
|
|
4341
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4342
|
+
return $dara.cast(await this.callApi(params, req, runtime), new EncryptPasswordResponse({}));
|
|
4343
|
+
}
|
|
4344
|
+
else {
|
|
4345
|
+
return $dara.cast(await this.execute(params, req, runtime), new EncryptPasswordResponse({}));
|
|
4346
|
+
}
|
|
3675
4347
|
}
|
|
3676
4348
|
/**
|
|
3677
4349
|
* @param request - EncryptPasswordRequest
|
|
@@ -3720,7 +4392,12 @@ class Client extends openapi_core_1.default {
|
|
|
3720
4392
|
reqBodyType: "formData",
|
|
3721
4393
|
bodyType: "json",
|
|
3722
4394
|
});
|
|
3723
|
-
|
|
4395
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4396
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
|
|
4397
|
+
}
|
|
4398
|
+
else {
|
|
4399
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
|
|
4400
|
+
}
|
|
3724
4401
|
}
|
|
3725
4402
|
/**
|
|
3726
4403
|
* 获取无影云盘的免密token
|
|
@@ -3799,7 +4476,12 @@ class Client extends openapi_core_1.default {
|
|
|
3799
4476
|
reqBodyType: "formData",
|
|
3800
4477
|
bodyType: "json",
|
|
3801
4478
|
});
|
|
3802
|
-
|
|
4479
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4480
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
4481
|
+
}
|
|
4482
|
+
else {
|
|
4483
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
4484
|
+
}
|
|
3803
4485
|
}
|
|
3804
4486
|
/**
|
|
3805
4487
|
* @param request - GetConnectionTicketRequest
|
|
@@ -3887,7 +4569,12 @@ class Client extends openapi_core_1.default {
|
|
|
3887
4569
|
reqBodyType: "formData",
|
|
3888
4570
|
bodyType: "json",
|
|
3889
4571
|
});
|
|
3890
|
-
|
|
4572
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4573
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetLoginTokenResponse({}));
|
|
4574
|
+
}
|
|
4575
|
+
else {
|
|
4576
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetLoginTokenResponse({}));
|
|
4577
|
+
}
|
|
3891
4578
|
}
|
|
3892
4579
|
/**
|
|
3893
4580
|
* Obtains logon credentials.
|
|
@@ -3932,7 +4619,12 @@ class Client extends openapi_core_1.default {
|
|
|
3932
4619
|
reqBodyType: "formData",
|
|
3933
4620
|
bodyType: "json",
|
|
3934
4621
|
});
|
|
3935
|
-
|
|
4622
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4623
|
+
return $dara.cast(await this.callApi(params, req, runtime), new IsKeepAliveResponse({}));
|
|
4624
|
+
}
|
|
4625
|
+
else {
|
|
4626
|
+
return $dara.cast(await this.execute(params, req, runtime), new IsKeepAliveResponse({}));
|
|
4627
|
+
}
|
|
3936
4628
|
}
|
|
3937
4629
|
/**
|
|
3938
4630
|
* 是否保持登录判断接口
|
|
@@ -3977,7 +4669,12 @@ class Client extends openapi_core_1.default {
|
|
|
3977
4669
|
reqBodyType: "formData",
|
|
3978
4670
|
bodyType: "json",
|
|
3979
4671
|
});
|
|
3980
|
-
|
|
4672
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4673
|
+
return $dara.cast(await this.callApi(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
|
|
4674
|
+
}
|
|
4675
|
+
else {
|
|
4676
|
+
return $dara.cast(await this.execute(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
|
|
4677
|
+
}
|
|
3981
4678
|
}
|
|
3982
4679
|
/**
|
|
3983
4680
|
* 查询Agent需要上报的配置信息
|
|
@@ -4017,6 +4714,9 @@ class Client extends openapi_core_1.default {
|
|
|
4017
4714
|
if (!$dara.isNull(request.loginToken)) {
|
|
4018
4715
|
query["LoginToken"] = request.loginToken;
|
|
4019
4716
|
}
|
|
4717
|
+
if (!$dara.isNull(request.osUpdate)) {
|
|
4718
|
+
query["OsUpdate"] = request.osUpdate;
|
|
4719
|
+
}
|
|
4020
4720
|
if (!$dara.isNull(request.regionId)) {
|
|
4021
4721
|
query["RegionId"] = request.regionId;
|
|
4022
4722
|
}
|
|
@@ -4043,7 +4743,12 @@ class Client extends openapi_core_1.default {
|
|
|
4043
4743
|
reqBodyType: "formData",
|
|
4044
4744
|
bodyType: "json",
|
|
4045
4745
|
});
|
|
4046
|
-
|
|
4746
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4747
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RebootDesktopsResponse({}));
|
|
4748
|
+
}
|
|
4749
|
+
else {
|
|
4750
|
+
return $dara.cast(await this.execute(params, req, runtime), new RebootDesktopsResponse({}));
|
|
4751
|
+
}
|
|
4047
4752
|
}
|
|
4048
4753
|
/**
|
|
4049
4754
|
* Restart cloud computers.
|
|
@@ -4098,7 +4803,12 @@ class Client extends openapi_core_1.default {
|
|
|
4098
4803
|
reqBodyType: "formData",
|
|
4099
4804
|
bodyType: "json",
|
|
4100
4805
|
});
|
|
4101
|
-
|
|
4806
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4807
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RefreshLoginTokenResponse({}));
|
|
4808
|
+
}
|
|
4809
|
+
else {
|
|
4810
|
+
return $dara.cast(await this.execute(params, req, runtime), new RefreshLoginTokenResponse({}));
|
|
4811
|
+
}
|
|
4102
4812
|
}
|
|
4103
4813
|
/**
|
|
4104
4814
|
* @param request - RefreshLoginTokenRequest
|
|
@@ -4144,7 +4854,12 @@ class Client extends openapi_core_1.default {
|
|
|
4144
4854
|
reqBodyType: "formData",
|
|
4145
4855
|
bodyType: "json",
|
|
4146
4856
|
});
|
|
4147
|
-
|
|
4857
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4858
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ReportEdsAgentInfoResponse({}));
|
|
4859
|
+
}
|
|
4860
|
+
else {
|
|
4861
|
+
return $dara.cast(await this.execute(params, req, runtime), new ReportEdsAgentInfoResponse({}));
|
|
4862
|
+
}
|
|
4148
4863
|
}
|
|
4149
4864
|
/**
|
|
4150
4865
|
* 上报edsAgent的信息
|
|
@@ -4196,7 +4911,12 @@ class Client extends openapi_core_1.default {
|
|
|
4196
4911
|
reqBodyType: "formData",
|
|
4197
4912
|
bodyType: "json",
|
|
4198
4913
|
});
|
|
4199
|
-
|
|
4914
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4915
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ReportSessionStatusResponse({}));
|
|
4916
|
+
}
|
|
4917
|
+
else {
|
|
4918
|
+
return $dara.cast(await this.execute(params, req, runtime), new ReportSessionStatusResponse({}));
|
|
4919
|
+
}
|
|
4200
4920
|
}
|
|
4201
4921
|
/**
|
|
4202
4922
|
* @param request - ReportSessionStatusRequest
|
|
@@ -4249,7 +4969,12 @@ class Client extends openapi_core_1.default {
|
|
|
4249
4969
|
reqBodyType: "formData",
|
|
4250
4970
|
bodyType: "json",
|
|
4251
4971
|
});
|
|
4252
|
-
|
|
4972
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4973
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResetPasswordResponse({}));
|
|
4974
|
+
}
|
|
4975
|
+
else {
|
|
4976
|
+
return $dara.cast(await this.execute(params, req, runtime), new ResetPasswordResponse({}));
|
|
4977
|
+
}
|
|
4253
4978
|
}
|
|
4254
4979
|
/**
|
|
4255
4980
|
* @param request - ResetPasswordRequest
|
|
@@ -4304,7 +5029,12 @@ class Client extends openapi_core_1.default {
|
|
|
4304
5029
|
reqBodyType: "formData",
|
|
4305
5030
|
bodyType: "json",
|
|
4306
5031
|
});
|
|
4307
|
-
|
|
5032
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5033
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResetSnapshotResponse({}));
|
|
5034
|
+
}
|
|
5035
|
+
else {
|
|
5036
|
+
return $dara.cast(await this.execute(params, req, runtime), new ResetSnapshotResponse({}));
|
|
5037
|
+
}
|
|
4308
5038
|
}
|
|
4309
5039
|
/**
|
|
4310
5040
|
* 还原快照
|
|
@@ -4362,7 +5092,12 @@ class Client extends openapi_core_1.default {
|
|
|
4362
5092
|
reqBodyType: "formData",
|
|
4363
5093
|
bodyType: "json",
|
|
4364
5094
|
});
|
|
4365
|
-
|
|
5095
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5096
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SendTokenCodeResponse({}));
|
|
5097
|
+
}
|
|
5098
|
+
else {
|
|
5099
|
+
return $dara.cast(await this.execute(params, req, runtime), new SendTokenCodeResponse({}));
|
|
5100
|
+
}
|
|
4366
5101
|
}
|
|
4367
5102
|
/**
|
|
4368
5103
|
* @param request - SendTokenCodeRequest
|
|
@@ -4424,7 +5159,12 @@ class Client extends openapi_core_1.default {
|
|
|
4424
5159
|
reqBodyType: "formData",
|
|
4425
5160
|
bodyType: "json",
|
|
4426
5161
|
});
|
|
4427
|
-
|
|
5162
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5163
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SetFingerPrintTemplateResponse({}));
|
|
5164
|
+
}
|
|
5165
|
+
else {
|
|
5166
|
+
return $dara.cast(await this.execute(params, req, runtime), new SetFingerPrintTemplateResponse({}));
|
|
5167
|
+
}
|
|
4428
5168
|
}
|
|
4429
5169
|
/**
|
|
4430
5170
|
* @param request - SetFingerPrintTemplateRequest
|
|
@@ -4477,7 +5217,12 @@ class Client extends openapi_core_1.default {
|
|
|
4477
5217
|
reqBodyType: "formData",
|
|
4478
5218
|
bodyType: "json",
|
|
4479
5219
|
});
|
|
4480
|
-
|
|
5220
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5221
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
|
|
5222
|
+
}
|
|
5223
|
+
else {
|
|
5224
|
+
return $dara.cast(await this.execute(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
|
|
5225
|
+
}
|
|
4481
5226
|
}
|
|
4482
5227
|
/**
|
|
4483
5228
|
* @param request - SetFingerPrintTemplateDescriptionRequest
|
|
@@ -4541,7 +5286,12 @@ class Client extends openapi_core_1.default {
|
|
|
4541
5286
|
reqBodyType: "formData",
|
|
4542
5287
|
bodyType: "json",
|
|
4543
5288
|
});
|
|
4544
|
-
|
|
5289
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5290
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StartDesktopsResponse({}));
|
|
5291
|
+
}
|
|
5292
|
+
else {
|
|
5293
|
+
return $dara.cast(await this.execute(params, req, runtime), new StartDesktopsResponse({}));
|
|
5294
|
+
}
|
|
4545
5295
|
}
|
|
4546
5296
|
/**
|
|
4547
5297
|
* Start cloud computers.
|
|
@@ -4602,7 +5352,12 @@ class Client extends openapi_core_1.default {
|
|
|
4602
5352
|
reqBodyType: "formData",
|
|
4603
5353
|
bodyType: "json",
|
|
4604
5354
|
});
|
|
4605
|
-
|
|
5355
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5356
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StartRecordContentResponse({}));
|
|
5357
|
+
}
|
|
5358
|
+
else {
|
|
5359
|
+
return $dara.cast(await this.execute(params, req, runtime), new StartRecordContentResponse({}));
|
|
5360
|
+
}
|
|
4606
5361
|
}
|
|
4607
5362
|
/**
|
|
4608
5363
|
* @param request - StartRecordContentRequest
|
|
@@ -4643,6 +5398,9 @@ class Client extends openapi_core_1.default {
|
|
|
4643
5398
|
if (!$dara.isNull(request.loginToken)) {
|
|
4644
5399
|
query["LoginToken"] = request.loginToken;
|
|
4645
5400
|
}
|
|
5401
|
+
if (!$dara.isNull(request.osUpdate)) {
|
|
5402
|
+
query["OsUpdate"] = request.osUpdate;
|
|
5403
|
+
}
|
|
4646
5404
|
if (!$dara.isNull(request.regionId)) {
|
|
4647
5405
|
query["RegionId"] = request.regionId;
|
|
4648
5406
|
}
|
|
@@ -4666,7 +5424,12 @@ class Client extends openapi_core_1.default {
|
|
|
4666
5424
|
reqBodyType: "formData",
|
|
4667
5425
|
bodyType: "json",
|
|
4668
5426
|
});
|
|
4669
|
-
|
|
5427
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5428
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StopDesktopsResponse({}));
|
|
5429
|
+
}
|
|
5430
|
+
else {
|
|
5431
|
+
return $dara.cast(await this.execute(params, req, runtime), new StopDesktopsResponse({}));
|
|
5432
|
+
}
|
|
4670
5433
|
}
|
|
4671
5434
|
/**
|
|
4672
5435
|
* Stops cloud computers.
|
|
@@ -4724,7 +5487,12 @@ class Client extends openapi_core_1.default {
|
|
|
4724
5487
|
reqBodyType: "formData",
|
|
4725
5488
|
bodyType: "json",
|
|
4726
5489
|
});
|
|
4727
|
-
|
|
5490
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5491
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StopRecordContentResponse({}));
|
|
5492
|
+
}
|
|
5493
|
+
else {
|
|
5494
|
+
return $dara.cast(await this.execute(params, req, runtime), new StopRecordContentResponse({}));
|
|
5495
|
+
}
|
|
4728
5496
|
}
|
|
4729
5497
|
/**
|
|
4730
5498
|
* @param request - StopRecordContentRequest
|
|
@@ -4779,7 +5547,12 @@ class Client extends openapi_core_1.default {
|
|
|
4779
5547
|
reqBodyType: "formData",
|
|
4780
5548
|
bodyType: "json",
|
|
4781
5549
|
});
|
|
4782
|
-
|
|
5550
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5551
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UnbindUserDesktopResponse({}));
|
|
5552
|
+
}
|
|
5553
|
+
else {
|
|
5554
|
+
return $dara.cast(await this.execute(params, req, runtime), new UnbindUserDesktopResponse({}));
|
|
5555
|
+
}
|
|
4783
5556
|
}
|
|
4784
5557
|
/**
|
|
4785
5558
|
* 解绑用户桌面
|
|
@@ -4837,7 +5610,12 @@ class Client extends openapi_core_1.default {
|
|
|
4837
5610
|
reqBodyType: "formData",
|
|
4838
5611
|
bodyType: "json",
|
|
4839
5612
|
});
|
|
4840
|
-
|
|
5613
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5614
|
+
return $dara.cast(await this.callApi(params, req, runtime), new VerifyCredentialResponse({}));
|
|
5615
|
+
}
|
|
5616
|
+
else {
|
|
5617
|
+
return $dara.cast(await this.execute(params, req, runtime), new VerifyCredentialResponse({}));
|
|
5618
|
+
}
|
|
4841
5619
|
}
|
|
4842
5620
|
/**
|
|
4843
5621
|
* @param request - VerifyCredentialRequest
|