@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 CHANGED
@@ -553,6 +553,488 @@ export declare class DescribeSnapshotsResponseBodySnapshots extends $dara.Model
553
553
  [key: string]: any;
554
554
  });
555
555
  }
556
+ export declare class DescribeUserResourcesResponseBodyResourcesClients extends $dara.Model {
557
+ /**
558
+ * @example
559
+ * windows
560
+ */
561
+ clientType?: string;
562
+ /**
563
+ * @example
564
+ * ON
565
+ */
566
+ status?: string;
567
+ static names(): {
568
+ [key: string]: string;
569
+ };
570
+ static types(): {
571
+ [key: string]: any;
572
+ };
573
+ validate(): void;
574
+ constructor(map?: {
575
+ [key: string]: any;
576
+ });
577
+ }
578
+ export declare class DescribeUserResourcesResponseBodyResourcesDesktopDurationList extends $dara.Model {
579
+ /**
580
+ * @example
581
+ * mdp-0bxls4qpi6bl6****
582
+ */
583
+ orderInstanceId?: string;
584
+ /**
585
+ * @example
586
+ * 2025-01-17T07:01Z
587
+ */
588
+ packageCreationTime?: string;
589
+ /**
590
+ * @example
591
+ * 2025-02-17T15:59Z
592
+ */
593
+ packageExpiredTime?: string;
594
+ /**
595
+ * @example
596
+ * mdp-0bxls4qpi6bl6****
597
+ */
598
+ packageId?: string;
599
+ /**
600
+ * @example
601
+ * Available
602
+ */
603
+ packageStatus?: string;
604
+ /**
605
+ * @example
606
+ * NORMAL_PACKAGE
607
+ */
608
+ packageType?: string;
609
+ /**
610
+ * @example
611
+ * Postpaid
612
+ */
613
+ packageUsedUpStrategy?: string;
614
+ /**
615
+ * @example
616
+ * 2025-02-17T15:59Z
617
+ */
618
+ periodEndTime?: string;
619
+ /**
620
+ * @example
621
+ * 2025-01-17T07:01Z
622
+ */
623
+ periodStartTime?: string;
624
+ /**
625
+ * @example
626
+ * 199
627
+ */
628
+ postPaidLimitFee?: number;
629
+ /**
630
+ * @example
631
+ * 432000
632
+ */
633
+ totalDuration?: number;
634
+ /**
635
+ * @example
636
+ * 16850
637
+ */
638
+ usedDuration?: number;
639
+ static names(): {
640
+ [key: string]: string;
641
+ };
642
+ static types(): {
643
+ [key: string]: any;
644
+ };
645
+ validate(): void;
646
+ constructor(map?: {
647
+ [key: string]: any;
648
+ });
649
+ }
650
+ export declare class DescribeUserResourcesResponseBodyResourcesDesktopTimers extends $dara.Model {
651
+ /**
652
+ * @example
653
+ * false
654
+ */
655
+ allowClientSetting?: string;
656
+ /**
657
+ * @example
658
+ * 0 30 13 ? * 1-7
659
+ */
660
+ cronExpression?: string;
661
+ /**
662
+ * @example
663
+ * false
664
+ */
665
+ enforce?: boolean;
666
+ /**
667
+ * @example
668
+ * 2025-01-21T11:37Z
669
+ */
670
+ executionTime?: string;
671
+ /**
672
+ * @example
673
+ * 15
674
+ */
675
+ interval?: number;
676
+ /**
677
+ * @example
678
+ * Hibernate
679
+ */
680
+ operationType?: string;
681
+ /**
682
+ * @example
683
+ * RESET_TYPE_SYSTEM
684
+ */
685
+ resetType?: string;
686
+ /**
687
+ * @example
688
+ * TimerBoot
689
+ */
690
+ timerType?: string;
691
+ static names(): {
692
+ [key: string]: string;
693
+ };
694
+ static types(): {
695
+ [key: string]: any;
696
+ };
697
+ validate(): void;
698
+ constructor(map?: {
699
+ [key: string]: any;
700
+ });
701
+ }
702
+ export declare class DescribeUserResourcesResponseBodyResourcesFotaUpdate extends $dara.Model {
703
+ /**
704
+ * @example
705
+ * aliyun
706
+ */
707
+ channel?: string;
708
+ /**
709
+ * @example
710
+ * 2.7.0-R-20250122.154826
711
+ */
712
+ currentAppVersion?: string;
713
+ /**
714
+ * @example
715
+ * false
716
+ */
717
+ force?: boolean;
718
+ /**
719
+ * @example
720
+ * 2.7.0-R-20250125.154826
721
+ */
722
+ newAppVersion?: string;
723
+ /**
724
+ * @example
725
+ * 2.6.9-R-20250123.153415
726
+ */
727
+ newDcdVersion?: string;
728
+ /**
729
+ * @example
730
+ * wuying-asp_single_session_desktop_win_x64
731
+ */
732
+ project?: string;
733
+ /**
734
+ * @example
735
+ * up
736
+ */
737
+ releaseNote?: string;
738
+ /**
739
+ * @example
740
+ * up
741
+ */
742
+ releaseNoteEn?: string;
743
+ /**
744
+ * @example
745
+ * up
746
+ */
747
+ releaseNoteJp?: string;
748
+ /**
749
+ * @example
750
+ * 474981930
751
+ */
752
+ size?: string;
753
+ static names(): {
754
+ [key: string]: string;
755
+ };
756
+ static types(): {
757
+ [key: string]: any;
758
+ };
759
+ validate(): void;
760
+ constructor(map?: {
761
+ [key: string]: any;
762
+ });
763
+ }
764
+ export declare class DescribeUserResourcesResponseBodyResourcesOsUpdatePackages extends $dara.Model {
765
+ description?: string;
766
+ kb?: string;
767
+ title?: string;
768
+ static names(): {
769
+ [key: string]: string;
770
+ };
771
+ static types(): {
772
+ [key: string]: any;
773
+ };
774
+ validate(): void;
775
+ constructor(map?: {
776
+ [key: string]: any;
777
+ });
778
+ }
779
+ export declare class DescribeUserResourcesResponseBodyResourcesOsUpdate extends $dara.Model {
780
+ checkId?: string;
781
+ kbListString?: string;
782
+ packageCount?: number;
783
+ packages?: DescribeUserResourcesResponseBodyResourcesOsUpdatePackages[];
784
+ updateCatalogUrl?: string;
785
+ static names(): {
786
+ [key: string]: string;
787
+ };
788
+ static types(): {
789
+ [key: string]: any;
790
+ };
791
+ validate(): void;
792
+ constructor(map?: {
793
+ [key: string]: any;
794
+ });
795
+ }
796
+ export declare class DescribeUserResourcesResponseBodyResourcesSessions extends $dara.Model {
797
+ /**
798
+ * @example
799
+ * 2025-01-22T11:03:36Z
800
+ */
801
+ resourceSessionStartTime?: string;
802
+ /**
803
+ * @example
804
+ * user001
805
+ */
806
+ userId?: string;
807
+ /**
808
+ * @example
809
+ * benchmark_test@test.shenzhen
810
+ */
811
+ userPrincipalName?: string;
812
+ static names(): {
813
+ [key: string]: string;
814
+ };
815
+ static types(): {
816
+ [key: string]: any;
817
+ };
818
+ validate(): void;
819
+ constructor(map?: {
820
+ [key: string]: any;
821
+ });
822
+ }
823
+ export declare class DescribeUserResourcesResponseBodyResources extends $dara.Model {
824
+ /**
825
+ * @example
826
+ * INTERNET
827
+ */
828
+ accessType?: string;
829
+ /**
830
+ * @example
831
+ * 194101959****
832
+ */
833
+ aliUid?: number;
834
+ /**
835
+ * @example
836
+ * app-0001
837
+ */
838
+ appId?: string;
839
+ /**
840
+ * @example
841
+ * App
842
+ */
843
+ authMode?: string;
844
+ /**
845
+ * @example
846
+ * 0
847
+ */
848
+ categoryId?: number;
849
+ /**
850
+ * @example
851
+ * 1
852
+ */
853
+ categoryType?: number;
854
+ /**
855
+ * @example
856
+ * cn-shanghai+cds-695277****
857
+ */
858
+ cdsName?: string;
859
+ /**
860
+ * @example
861
+ * ecds-0****
862
+ */
863
+ centerResourceId?: string;
864
+ /**
865
+ * @example
866
+ * PrePaid
867
+ */
868
+ chargeType?: string;
869
+ clients?: DescribeUserResourcesResponseBodyResourcesClients[];
870
+ /**
871
+ * @example
872
+ * {"authMode":"App"}
873
+ */
874
+ connectionProperties?: string;
875
+ /**
876
+ * @example
877
+ * 2024-12-11T07:12:12Z
878
+ */
879
+ createTime?: string;
880
+ desktopDurationList?: DescribeUserResourcesResponseBodyResourcesDesktopDurationList[];
881
+ desktopTimers?: DescribeUserResourcesResponseBodyResourcesDesktopTimers[];
882
+ /**
883
+ * @example
884
+ * 2025-02-22T16:00:00Z
885
+ */
886
+ expiredTime?: string;
887
+ /**
888
+ * @example
889
+ * stg114510
890
+ */
891
+ externalDomainId?: string;
892
+ /**
893
+ * @example
894
+ * test001
895
+ */
896
+ externalUserId?: string;
897
+ fotaUpdate?: DescribeUserResourcesResponseBodyResourcesFotaUpdate;
898
+ /**
899
+ * @example
900
+ * true
901
+ */
902
+ globalStatus?: boolean;
903
+ hasUpgrade?: boolean;
904
+ /**
905
+ * @example
906
+ * false
907
+ */
908
+ hibernationBeta?: boolean;
909
+ /**
910
+ * @example
911
+ * http://example.com/icon.png
912
+ */
913
+ icon?: string;
914
+ /**
915
+ * @example
916
+ * 2025-01-24T03:12:04Z
917
+ */
918
+ lastStartTime?: string;
919
+ localName?: string;
920
+ managementStatuses?: string[];
921
+ /**
922
+ * @example
923
+ * cn-shanghai+dir-3367****
924
+ */
925
+ officeSiteId?: string;
926
+ /**
927
+ * @example
928
+ * Normal
929
+ */
930
+ orderStatus?: string;
931
+ /**
932
+ * @example
933
+ * Windows Server 2022
934
+ */
935
+ os?: string;
936
+ osDescription?: string;
937
+ /**
938
+ * @example
939
+ * Windows
940
+ */
941
+ osType?: string;
942
+ osUpdate?: DescribeUserResourcesResponseBodyResourcesOsUpdate;
943
+ /**
944
+ * @example
945
+ * AndroidCloud
946
+ */
947
+ productType?: string;
948
+ /**
949
+ * @example
950
+ * ASP
951
+ */
952
+ protocolType?: string;
953
+ /**
954
+ * @example
955
+ * ecd-0001
956
+ */
957
+ realDesktopId?: string;
958
+ /**
959
+ * @example
960
+ * cn-hangzhou
961
+ */
962
+ regionId?: string;
963
+ /**
964
+ * @example
965
+ * Mainland
966
+ */
967
+ regionLocation?: string;
968
+ /**
969
+ * @example
970
+ * dg-0****
971
+ */
972
+ resourceGroupId?: string;
973
+ /**
974
+ * @example
975
+ * ecd-d19tya8zi4****
976
+ */
977
+ resourceId?: string;
978
+ /**
979
+ * @example
980
+ * Center
981
+ */
982
+ resourceLevel?: string;
983
+ /**
984
+ * @example
985
+ * testName01
986
+ */
987
+ resourceName?: string;
988
+ /**
989
+ * @example
990
+ * Connected
991
+ */
992
+ resourceSessionStatus?: string;
993
+ /**
994
+ * @example
995
+ * Running
996
+ */
997
+ resourceStatus?: string;
998
+ /**
999
+ * @example
1000
+ * Desktop
1001
+ */
1002
+ resourceType?: string;
1003
+ /**
1004
+ * @example
1005
+ * SINGLE_SESSION
1006
+ */
1007
+ sessionType?: string;
1008
+ sessions?: DescribeUserResourcesResponseBodyResourcesSessions[];
1009
+ /**
1010
+ * @example
1011
+ * PrePaid
1012
+ */
1013
+ subPayType?: string;
1014
+ /**
1015
+ * @example
1016
+ * true
1017
+ */
1018
+ supportHibernation?: boolean;
1019
+ supportedActions?: string[];
1020
+ /**
1021
+ * @example
1022
+ * #FFFFFF
1023
+ */
1024
+ themeColor?: string;
1025
+ userCustomName?: string;
1026
+ version?: string;
1027
+ static names(): {
1028
+ [key: string]: string;
1029
+ };
1030
+ static types(): {
1031
+ [key: string]: any;
1032
+ };
1033
+ validate(): void;
1034
+ constructor(map?: {
1035
+ [key: string]: any;
1036
+ });
1037
+ }
556
1038
  export declare class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model {
557
1039
  /**
558
1040
  * @example
@@ -752,6 +1234,7 @@ export declare class ApproveFotaUpdateRequest extends $dara.Model {
752
1234
  * 4771b873-c757-4893-973c-7f5beejh****
753
1235
  */
754
1236
  sessionId?: string;
1237
+ targetStatus?: string;
755
1238
  uuid?: string;
756
1239
  static names(): {
757
1240
  [key: string]: string;
@@ -1522,6 +2005,184 @@ export declare class DescribeSnapshotsResponse extends $dara.Model {
1522
2005
  [key: string]: any;
1523
2006
  });
1524
2007
  }
2008
+ export declare class DescribeUserResourcesRequest extends $dara.Model {
2009
+ /**
2010
+ * @example
2011
+ * INTERNET
2012
+ */
2013
+ accessType?: string;
2014
+ /**
2015
+ * @example
2016
+ * false
2017
+ */
2018
+ autoRefresh?: boolean;
2019
+ /**
2020
+ * @example
2021
+ * 0
2022
+ */
2023
+ categoryId?: number;
2024
+ /**
2025
+ * @example
2026
+ * 1
2027
+ */
2028
+ categoryType?: number;
2029
+ /**
2030
+ * @remarks
2031
+ * This parameter is required.
2032
+ *
2033
+ * @example
2034
+ * 54c17e1d-2d72-4b87-aa33-25f3b3f2****
2035
+ */
2036
+ clientId?: string;
2037
+ /**
2038
+ * @example
2039
+ * windows
2040
+ */
2041
+ clientType?: string;
2042
+ /**
2043
+ * @example
2044
+ * 7.6.0-R-20241112.222305
2045
+ */
2046
+ clientVersion?: string;
2047
+ /**
2048
+ * @example
2049
+ * false
2050
+ */
2051
+ dualCenterForward?: boolean;
2052
+ /**
2053
+ * @example
2054
+ * zh-CN
2055
+ */
2056
+ language?: string;
2057
+ /**
2058
+ * @example
2059
+ * cn-hangzhou
2060
+ */
2061
+ loginRegionId?: string;
2062
+ /**
2063
+ * @remarks
2064
+ * This parameter is required.
2065
+ *
2066
+ * @example
2067
+ * v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
2068
+ */
2069
+ loginToken?: string;
2070
+ /**
2071
+ * @example
2072
+ * 500
2073
+ */
2074
+ maxResults?: number;
2075
+ /**
2076
+ * @example
2077
+ * caeba0bbb2be03f84eb48b699f0a4883
2078
+ */
2079
+ nextToken?: string;
2080
+ officeSiteIds?: string[];
2081
+ /**
2082
+ * @example
2083
+ * AssignTime
2084
+ */
2085
+ orderBy?: string;
2086
+ productTypes?: string[];
2087
+ /**
2088
+ * @example
2089
+ * ASP
2090
+ */
2091
+ protocolType?: string;
2092
+ /**
2093
+ * @example
2094
+ * false
2095
+ */
2096
+ queryFotaUpdate?: boolean;
2097
+ /**
2098
+ * @example
2099
+ * false
2100
+ */
2101
+ refreshFotaUpdate?: boolean;
2102
+ resourceIds?: string[];
2103
+ /**
2104
+ * @example
2105
+ * testName
2106
+ */
2107
+ resourceName?: string;
2108
+ resourceTypes?: string[];
2109
+ /**
2110
+ * @example
2111
+ * desktop
2112
+ */
2113
+ scene?: string;
2114
+ /**
2115
+ * @example
2116
+ * cn-hangzhou
2117
+ */
2118
+ searchRegionId?: string;
2119
+ /**
2120
+ * @example
2121
+ * cd45e873-650d-4d70-acb9-f996187a****
2122
+ */
2123
+ sessionId?: string;
2124
+ /**
2125
+ * @example
2126
+ * ASC
2127
+ */
2128
+ sortType?: string;
2129
+ static names(): {
2130
+ [key: string]: string;
2131
+ };
2132
+ static types(): {
2133
+ [key: string]: any;
2134
+ };
2135
+ validate(): void;
2136
+ constructor(map?: {
2137
+ [key: string]: any;
2138
+ });
2139
+ }
2140
+ export declare class DescribeUserResourcesResponseBody extends $dara.Model {
2141
+ /**
2142
+ * @example
2143
+ * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
2144
+ */
2145
+ nextToken?: string;
2146
+ queryFailedResourceTypes?: string[];
2147
+ /**
2148
+ * @example
2149
+ * 1732869815062
2150
+ */
2151
+ rankVersion?: number;
2152
+ /**
2153
+ * @example
2154
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
2155
+ */
2156
+ requestId?: string;
2157
+ resources?: DescribeUserResourcesResponseBodyResources[];
2158
+ static names(): {
2159
+ [key: string]: string;
2160
+ };
2161
+ static types(): {
2162
+ [key: string]: any;
2163
+ };
2164
+ validate(): void;
2165
+ constructor(map?: {
2166
+ [key: string]: any;
2167
+ });
2168
+ }
2169
+ export declare class DescribeUserResourcesResponse extends $dara.Model {
2170
+ headers?: {
2171
+ [key: string]: string;
2172
+ };
2173
+ statusCode?: number;
2174
+ body?: DescribeUserResourcesResponseBody;
2175
+ static names(): {
2176
+ [key: string]: string;
2177
+ };
2178
+ static types(): {
2179
+ [key: string]: any;
2180
+ };
2181
+ validate(): void;
2182
+ constructor(map?: {
2183
+ [key: string]: any;
2184
+ });
2185
+ }
1525
2186
  export declare class EncryptPasswordRequest extends $dara.Model {
1526
2187
  /**
1527
2188
  * @remarks
@@ -2359,6 +3020,7 @@ export declare class RebootDesktopsRequest extends $dara.Model {
2359
3020
  * v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
2360
3021
  */
2361
3022
  loginToken?: string;
3023
+ osUpdate?: boolean;
2362
3024
  /**
2363
3025
  * @remarks
2364
3026
  * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by WUYING Workspace.
@@ -3415,6 +4077,7 @@ export declare class StopDesktopsRequest extends $dara.Model {
3415
4077
  * v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
3416
4078
  */
3417
4079
  loginToken?: string;
4080
+ osUpdate?: boolean;
3418
4081
  /**
3419
4082
  * @remarks
3420
4083
  * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by WUYING Workspace.
@@ -3867,6 +4530,21 @@ export default class Client extends OpenApi {
3867
4530
  * @returns DescribeSnapshotsResponse
3868
4531
  */
3869
4532
  describeSnapshots(request: DescribeSnapshotsRequest): Promise<DescribeSnapshotsResponse>;
4533
+ /**
4534
+ * 查询用户资源列表
4535
+ *
4536
+ * @param request - DescribeUserResourcesRequest
4537
+ * @param runtime - runtime options for this request RuntimeOptions
4538
+ * @returns DescribeUserResourcesResponse
4539
+ */
4540
+ describeUserResourcesWithOptions(request: DescribeUserResourcesRequest, runtime: $dara.RuntimeOptions): Promise<DescribeUserResourcesResponse>;
4541
+ /**
4542
+ * 查询用户资源列表
4543
+ *
4544
+ * @param request - DescribeUserResourcesRequest
4545
+ * @returns DescribeUserResourcesResponse
4546
+ */
4547
+ describeUserResources(request: DescribeUserResourcesRequest): Promise<DescribeUserResourcesResponse>;
3870
4548
  /**
3871
4549
  * @param request - EncryptPasswordRequest
3872
4550
  * @param runtime - runtime options for this request RuntimeOptions