@alicloud/ecd20201002 2.1.6 → 2.2.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/dist/client.d.ts CHANGED
@@ -553,6 +553,454 @@ 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 DescribeUserResourcesResponseBodyResourcesSessions extends $dara.Model {
765
+ /**
766
+ * @example
767
+ * 2025-01-22T11:03:36Z
768
+ */
769
+ resourceSessionStartTime?: string;
770
+ /**
771
+ * @example
772
+ * user001
773
+ */
774
+ userId?: string;
775
+ /**
776
+ * @example
777
+ * benchmark_test@test.shenzhen
778
+ */
779
+ userPrincipalName?: string;
780
+ static names(): {
781
+ [key: string]: string;
782
+ };
783
+ static types(): {
784
+ [key: string]: any;
785
+ };
786
+ validate(): void;
787
+ constructor(map?: {
788
+ [key: string]: any;
789
+ });
790
+ }
791
+ export declare class DescribeUserResourcesResponseBodyResources extends $dara.Model {
792
+ /**
793
+ * @example
794
+ * INTERNET
795
+ */
796
+ accessType?: string;
797
+ /**
798
+ * @example
799
+ * 194101959****
800
+ */
801
+ aliUid?: number;
802
+ /**
803
+ * @example
804
+ * app-0001
805
+ */
806
+ appId?: string;
807
+ /**
808
+ * @example
809
+ * App
810
+ */
811
+ authMode?: string;
812
+ /**
813
+ * @example
814
+ * 0
815
+ */
816
+ categoryId?: number;
817
+ /**
818
+ * @example
819
+ * 1
820
+ */
821
+ categoryType?: number;
822
+ /**
823
+ * @example
824
+ * cn-shanghai+cds-695277****
825
+ */
826
+ cdsName?: string;
827
+ /**
828
+ * @example
829
+ * ecds-0****
830
+ */
831
+ centerResourceId?: string;
832
+ /**
833
+ * @example
834
+ * PrePaid
835
+ */
836
+ chargeType?: string;
837
+ clients?: DescribeUserResourcesResponseBodyResourcesClients[];
838
+ /**
839
+ * @example
840
+ * {"authMode":"App"}
841
+ */
842
+ connectionProperties?: string;
843
+ /**
844
+ * @example
845
+ * 2024-12-11T07:12:12Z
846
+ */
847
+ createTime?: string;
848
+ desktopDurationList?: DescribeUserResourcesResponseBodyResourcesDesktopDurationList[];
849
+ desktopTimers?: DescribeUserResourcesResponseBodyResourcesDesktopTimers[];
850
+ /**
851
+ * @example
852
+ * 2025-02-22T16:00:00Z
853
+ */
854
+ expiredTime?: string;
855
+ /**
856
+ * @example
857
+ * stg114510
858
+ */
859
+ externalDomainId?: string;
860
+ /**
861
+ * @example
862
+ * test001
863
+ */
864
+ externalUserId?: string;
865
+ fotaUpdate?: DescribeUserResourcesResponseBodyResourcesFotaUpdate;
866
+ /**
867
+ * @example
868
+ * true
869
+ */
870
+ globalStatus?: boolean;
871
+ /**
872
+ * @example
873
+ * false
874
+ */
875
+ hibernationBeta?: boolean;
876
+ /**
877
+ * @example
878
+ * http://example.com/icon.png
879
+ */
880
+ icon?: string;
881
+ /**
882
+ * @example
883
+ * 2025-01-24T03:12:04Z
884
+ */
885
+ lastStartTime?: string;
886
+ localName?: string;
887
+ managementStatuses?: string[];
888
+ /**
889
+ * @example
890
+ * cn-shanghai+dir-3367****
891
+ */
892
+ officeSiteId?: string;
893
+ /**
894
+ * @example
895
+ * Normal
896
+ */
897
+ orderStatus?: string;
898
+ /**
899
+ * @example
900
+ * Windows Server 2022
901
+ */
902
+ os?: string;
903
+ osDescription?: string;
904
+ /**
905
+ * @example
906
+ * Windows
907
+ */
908
+ osType?: string;
909
+ /**
910
+ * @example
911
+ * AndroidCloud
912
+ */
913
+ productType?: string;
914
+ /**
915
+ * @example
916
+ * ASP
917
+ */
918
+ protocolType?: string;
919
+ /**
920
+ * @example
921
+ * ecd-0001
922
+ */
923
+ realDesktopId?: string;
924
+ /**
925
+ * @example
926
+ * cn-hangzhou
927
+ */
928
+ regionId?: string;
929
+ /**
930
+ * @example
931
+ * Mainland
932
+ */
933
+ regionLocation?: string;
934
+ /**
935
+ * @example
936
+ * dg-0****
937
+ */
938
+ resourceGroupId?: string;
939
+ /**
940
+ * @example
941
+ * ecd-d19tya8zi4****
942
+ */
943
+ resourceId?: string;
944
+ /**
945
+ * @example
946
+ * Center
947
+ */
948
+ resourceLevel?: string;
949
+ /**
950
+ * @example
951
+ * testName01
952
+ */
953
+ resourceName?: string;
954
+ /**
955
+ * @example
956
+ * Connected
957
+ */
958
+ resourceSessionStatus?: string;
959
+ /**
960
+ * @example
961
+ * Running
962
+ */
963
+ resourceStatus?: string;
964
+ /**
965
+ * @example
966
+ * Desktop
967
+ */
968
+ resourceType?: string;
969
+ /**
970
+ * @example
971
+ * SINGLE_SESSION
972
+ */
973
+ sessionType?: string;
974
+ sessions?: DescribeUserResourcesResponseBodyResourcesSessions[];
975
+ /**
976
+ * @example
977
+ * PrePaid
978
+ */
979
+ subPayType?: string;
980
+ /**
981
+ * @example
982
+ * true
983
+ */
984
+ supportHibernation?: boolean;
985
+ supportedActions?: string[];
986
+ /**
987
+ * @example
988
+ * #FFFFFF
989
+ */
990
+ themeColor?: string;
991
+ userCustomName?: string;
992
+ version?: string;
993
+ static names(): {
994
+ [key: string]: string;
995
+ };
996
+ static types(): {
997
+ [key: string]: any;
998
+ };
999
+ validate(): void;
1000
+ constructor(map?: {
1001
+ [key: string]: any;
1002
+ });
1003
+ }
556
1004
  export declare class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model {
557
1005
  /**
558
1006
  * @example
@@ -1522,6 +1970,184 @@ export declare class DescribeSnapshotsResponse extends $dara.Model {
1522
1970
  [key: string]: any;
1523
1971
  });
1524
1972
  }
1973
+ export declare class DescribeUserResourcesRequest extends $dara.Model {
1974
+ /**
1975
+ * @example
1976
+ * INTERNET
1977
+ */
1978
+ accessType?: string;
1979
+ /**
1980
+ * @example
1981
+ * false
1982
+ */
1983
+ autoRefresh?: boolean;
1984
+ /**
1985
+ * @example
1986
+ * 0
1987
+ */
1988
+ categoryId?: number;
1989
+ /**
1990
+ * @example
1991
+ * 1
1992
+ */
1993
+ categoryType?: number;
1994
+ /**
1995
+ * @remarks
1996
+ * This parameter is required.
1997
+ *
1998
+ * @example
1999
+ * 54c17e1d-2d72-4b87-aa33-25f3b3f2****
2000
+ */
2001
+ clientId?: string;
2002
+ /**
2003
+ * @example
2004
+ * windows
2005
+ */
2006
+ clientType?: string;
2007
+ /**
2008
+ * @example
2009
+ * 7.6.0-R-20241112.222305
2010
+ */
2011
+ clientVersion?: string;
2012
+ /**
2013
+ * @example
2014
+ * false
2015
+ */
2016
+ dualCenterForward?: boolean;
2017
+ /**
2018
+ * @example
2019
+ * zh-CN
2020
+ */
2021
+ language?: string;
2022
+ /**
2023
+ * @example
2024
+ * cn-hangzhou
2025
+ */
2026
+ loginRegionId?: string;
2027
+ /**
2028
+ * @remarks
2029
+ * This parameter is required.
2030
+ *
2031
+ * @example
2032
+ * v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
2033
+ */
2034
+ loginToken?: string;
2035
+ /**
2036
+ * @example
2037
+ * 500
2038
+ */
2039
+ maxResults?: number;
2040
+ /**
2041
+ * @example
2042
+ * caeba0bbb2be03f84eb48b699f0a4883
2043
+ */
2044
+ nextToken?: string;
2045
+ officeSiteIds?: string[];
2046
+ /**
2047
+ * @example
2048
+ * AssignTime
2049
+ */
2050
+ orderBy?: string;
2051
+ productTypes?: string[];
2052
+ /**
2053
+ * @example
2054
+ * ASP
2055
+ */
2056
+ protocolType?: string;
2057
+ /**
2058
+ * @example
2059
+ * false
2060
+ */
2061
+ queryFotaUpdate?: boolean;
2062
+ /**
2063
+ * @example
2064
+ * false
2065
+ */
2066
+ refreshFotaUpdate?: boolean;
2067
+ resourceIds?: string[];
2068
+ /**
2069
+ * @example
2070
+ * testName
2071
+ */
2072
+ resourceName?: string;
2073
+ resourceTypes?: string[];
2074
+ /**
2075
+ * @example
2076
+ * desktop
2077
+ */
2078
+ scene?: string;
2079
+ /**
2080
+ * @example
2081
+ * cn-hangzhou
2082
+ */
2083
+ searchRegionId?: string;
2084
+ /**
2085
+ * @example
2086
+ * cd45e873-650d-4d70-acb9-f996187a****
2087
+ */
2088
+ sessionId?: string;
2089
+ /**
2090
+ * @example
2091
+ * ASC
2092
+ */
2093
+ sortType?: string;
2094
+ static names(): {
2095
+ [key: string]: string;
2096
+ };
2097
+ static types(): {
2098
+ [key: string]: any;
2099
+ };
2100
+ validate(): void;
2101
+ constructor(map?: {
2102
+ [key: string]: any;
2103
+ });
2104
+ }
2105
+ export declare class DescribeUserResourcesResponseBody extends $dara.Model {
2106
+ /**
2107
+ * @example
2108
+ * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
2109
+ */
2110
+ nextToken?: string;
2111
+ queryFailedResourceTypes?: string[];
2112
+ /**
2113
+ * @example
2114
+ * 1732869815062
2115
+ */
2116
+ rankVersion?: number;
2117
+ /**
2118
+ * @example
2119
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
2120
+ */
2121
+ requestId?: string;
2122
+ resources?: DescribeUserResourcesResponseBodyResources[];
2123
+ static names(): {
2124
+ [key: string]: string;
2125
+ };
2126
+ static types(): {
2127
+ [key: string]: any;
2128
+ };
2129
+ validate(): void;
2130
+ constructor(map?: {
2131
+ [key: string]: any;
2132
+ });
2133
+ }
2134
+ export declare class DescribeUserResourcesResponse extends $dara.Model {
2135
+ headers?: {
2136
+ [key: string]: string;
2137
+ };
2138
+ statusCode?: number;
2139
+ body?: DescribeUserResourcesResponseBody;
2140
+ static names(): {
2141
+ [key: string]: string;
2142
+ };
2143
+ static types(): {
2144
+ [key: string]: any;
2145
+ };
2146
+ validate(): void;
2147
+ constructor(map?: {
2148
+ [key: string]: any;
2149
+ });
2150
+ }
1525
2151
  export declare class EncryptPasswordRequest extends $dara.Model {
1526
2152
  /**
1527
2153
  * @remarks
@@ -3867,6 +4493,21 @@ export default class Client extends OpenApi {
3867
4493
  * @returns DescribeSnapshotsResponse
3868
4494
  */
3869
4495
  describeSnapshots(request: DescribeSnapshotsRequest): Promise<DescribeSnapshotsResponse>;
4496
+ /**
4497
+ * 查询用户资源列表
4498
+ *
4499
+ * @param request - DescribeUserResourcesRequest
4500
+ * @param runtime - runtime options for this request RuntimeOptions
4501
+ * @returns DescribeUserResourcesResponse
4502
+ */
4503
+ describeUserResourcesWithOptions(request: DescribeUserResourcesRequest, runtime: $dara.RuntimeOptions): Promise<DescribeUserResourcesResponse>;
4504
+ /**
4505
+ * 查询用户资源列表
4506
+ *
4507
+ * @param request - DescribeUserResourcesRequest
4508
+ * @returns DescribeUserResourcesResponse
4509
+ */
4510
+ describeUserResources(request: DescribeUserResourcesRequest): Promise<DescribeUserResourcesResponse>;
3870
4511
  /**
3871
4512
  * @param request - EncryptPasswordRequest
3872
4513
  * @param runtime - runtime options for this request RuntimeOptions