@alicloud/ecd20201002 2.1.8 → 2.1.9
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 +262 -4
- package/dist/client.js +64 -190
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +299 -190
package/src/client.ts
CHANGED
|
@@ -7,26 +7,47 @@ import * as $dara from '@darabonba/typescript';
|
|
|
7
7
|
|
|
8
8
|
export class DescribeDirectoriesResponseBodyDirectories extends $dara.Model {
|
|
9
9
|
/**
|
|
10
|
+
* @remarks
|
|
11
|
+
* The connection method.
|
|
12
|
+
*
|
|
13
|
+
* Valid values:
|
|
14
|
+
*
|
|
15
|
+
* * VPC: End users connect to cloud computers over an enterprise virtual private cloud (VPC).
|
|
16
|
+
* * INTERNET: End users connect to cloud computers over the Internet.
|
|
17
|
+
* * ANY: End users connect to cloud computers over the Internet or an enterprise VPC.
|
|
18
|
+
*
|
|
10
19
|
* @example
|
|
11
20
|
* INTERNET
|
|
12
21
|
*/
|
|
13
22
|
desktopAccessType?: string;
|
|
14
23
|
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The directory ID.
|
|
26
|
+
*
|
|
15
27
|
* @example
|
|
16
28
|
* cn-hangzhou+dir-gx2x1dhsmu52rd****
|
|
17
29
|
*/
|
|
18
30
|
directoryId?: string;
|
|
19
31
|
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The directory type.
|
|
34
|
+
*
|
|
20
35
|
* @example
|
|
21
36
|
* AD_CONNECTOR
|
|
22
37
|
*/
|
|
23
38
|
directoryType?: string;
|
|
24
39
|
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The provider ID.
|
|
42
|
+
*
|
|
25
43
|
* @example
|
|
26
44
|
* 26842
|
|
27
45
|
*/
|
|
28
46
|
providerId?: string;
|
|
29
47
|
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The URL of the SSO service.
|
|
50
|
+
*
|
|
30
51
|
* @example
|
|
31
52
|
* https://eds-cn-shanghai-67726****
|
|
32
53
|
*/
|
|
@@ -62,36 +83,57 @@ export class DescribeDirectoriesResponseBodyDirectories extends $dara.Model {
|
|
|
62
83
|
|
|
63
84
|
export class DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates extends $dara.Model {
|
|
64
85
|
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The client ID. The system generates a unique ID for each client.
|
|
88
|
+
*
|
|
65
89
|
* @example
|
|
66
90
|
* 2258a3d5-b8f8-4d79-a221-eaecf211****
|
|
67
91
|
*/
|
|
68
92
|
clientId?: string;
|
|
69
93
|
/**
|
|
94
|
+
* @remarks
|
|
95
|
+
* The time when the template was created.
|
|
96
|
+
*
|
|
70
97
|
* @example
|
|
71
98
|
* 2022-03-13T13:26:29Z
|
|
72
99
|
*/
|
|
73
100
|
creationTime?: string;
|
|
74
101
|
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* The description of the template.
|
|
104
|
+
*
|
|
75
105
|
* @example
|
|
76
106
|
* Finger 1
|
|
77
107
|
*/
|
|
78
108
|
description?: string;
|
|
79
109
|
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The user ID.
|
|
112
|
+
*
|
|
80
113
|
* @example
|
|
81
114
|
* liming
|
|
82
115
|
*/
|
|
83
116
|
endUserId?: string;
|
|
84
117
|
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The index.
|
|
120
|
+
*
|
|
85
121
|
* @example
|
|
86
122
|
* 1
|
|
87
123
|
*/
|
|
88
124
|
index?: number;
|
|
89
125
|
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* The logon time.
|
|
128
|
+
*
|
|
90
129
|
* @example
|
|
91
130
|
* 2022-03-13T13:26:29Z
|
|
92
131
|
*/
|
|
93
132
|
loginTime?: string;
|
|
94
133
|
/**
|
|
134
|
+
* @remarks
|
|
135
|
+
* The office network ID.
|
|
136
|
+
*
|
|
95
137
|
* @example
|
|
96
138
|
* cn-hangzhou+dir-074949****
|
|
97
139
|
*/
|
|
@@ -725,11 +767,17 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
|
|
|
725
767
|
|
|
726
768
|
export class DescribeRegionsResponseBodyRegions extends $dara.Model {
|
|
727
769
|
/**
|
|
770
|
+
* @remarks
|
|
771
|
+
* The region endpoint.
|
|
772
|
+
*
|
|
728
773
|
* @example
|
|
729
774
|
* ecd.cn-hangzhou.aliyuncs.com
|
|
730
775
|
*/
|
|
731
776
|
regionEndpoint?: string;
|
|
732
777
|
/**
|
|
778
|
+
* @remarks
|
|
779
|
+
* The region ID.
|
|
780
|
+
*
|
|
733
781
|
* @example
|
|
734
782
|
* cn-hangzhou
|
|
735
783
|
*/
|
|
@@ -2015,6 +2063,8 @@ export class ApproveFotaUpdateResponse extends $dara.Model {
|
|
|
2015
2063
|
export class ChangePasswordRequest extends $dara.Model {
|
|
2016
2064
|
/**
|
|
2017
2065
|
* @remarks
|
|
2066
|
+
* The client ID. The system generates a unique ID for each client.
|
|
2067
|
+
*
|
|
2018
2068
|
* This parameter is required.
|
|
2019
2069
|
*
|
|
2020
2070
|
* @example
|
|
@@ -2023,6 +2073,8 @@ export class ChangePasswordRequest extends $dara.Model {
|
|
|
2023
2073
|
clientId?: string;
|
|
2024
2074
|
/**
|
|
2025
2075
|
* @remarks
|
|
2076
|
+
* The user ID.
|
|
2077
|
+
*
|
|
2026
2078
|
* This parameter is required.
|
|
2027
2079
|
*
|
|
2028
2080
|
* @example
|
|
@@ -2031,6 +2083,8 @@ export class ChangePasswordRequest extends $dara.Model {
|
|
|
2031
2083
|
endUserId?: string;
|
|
2032
2084
|
/**
|
|
2033
2085
|
* @remarks
|
|
2086
|
+
* The logon token.
|
|
2087
|
+
*
|
|
2034
2088
|
* This parameter is required.
|
|
2035
2089
|
*
|
|
2036
2090
|
* @example
|
|
@@ -2039,6 +2093,8 @@ export class ChangePasswordRequest extends $dara.Model {
|
|
|
2039
2093
|
loginToken?: string;
|
|
2040
2094
|
/**
|
|
2041
2095
|
* @remarks
|
|
2096
|
+
* The new password.
|
|
2097
|
+
*
|
|
2042
2098
|
* This parameter is required.
|
|
2043
2099
|
*
|
|
2044
2100
|
* @example
|
|
@@ -2047,6 +2103,8 @@ export class ChangePasswordRequest extends $dara.Model {
|
|
|
2047
2103
|
newPassword?: string;
|
|
2048
2104
|
/**
|
|
2049
2105
|
* @remarks
|
|
2106
|
+
* The office network ID.
|
|
2107
|
+
*
|
|
2050
2108
|
* This parameter is required.
|
|
2051
2109
|
*
|
|
2052
2110
|
* @example
|
|
@@ -2055,6 +2113,8 @@ export class ChangePasswordRequest extends $dara.Model {
|
|
|
2055
2113
|
officeSiteId?: string;
|
|
2056
2114
|
/**
|
|
2057
2115
|
* @remarks
|
|
2116
|
+
* The current password.
|
|
2117
|
+
*
|
|
2058
2118
|
* This parameter is required.
|
|
2059
2119
|
*
|
|
2060
2120
|
* @example
|
|
@@ -2063,6 +2123,8 @@ export class ChangePasswordRequest extends $dara.Model {
|
|
|
2063
2123
|
oldPassword?: string;
|
|
2064
2124
|
/**
|
|
2065
2125
|
* @remarks
|
|
2126
|
+
* The region ID.
|
|
2127
|
+
*
|
|
2066
2128
|
* This parameter is required.
|
|
2067
2129
|
*
|
|
2068
2130
|
* @example
|
|
@@ -2070,6 +2132,9 @@ export class ChangePasswordRequest extends $dara.Model {
|
|
|
2070
2132
|
*/
|
|
2071
2133
|
regionId?: string;
|
|
2072
2134
|
/**
|
|
2135
|
+
* @remarks
|
|
2136
|
+
* The session ID.
|
|
2137
|
+
*
|
|
2073
2138
|
* @example
|
|
2074
2139
|
* 1
|
|
2075
2140
|
*/
|
|
@@ -2111,11 +2176,17 @@ export class ChangePasswordRequest extends $dara.Model {
|
|
|
2111
2176
|
|
|
2112
2177
|
export class ChangePasswordResponseBody extends $dara.Model {
|
|
2113
2178
|
/**
|
|
2179
|
+
* @remarks
|
|
2180
|
+
* The logon token.
|
|
2181
|
+
*
|
|
2114
2182
|
* @example
|
|
2115
2183
|
* v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
|
|
2116
2184
|
*/
|
|
2117
2185
|
loginToken?: string;
|
|
2118
2186
|
/**
|
|
2187
|
+
* @remarks
|
|
2188
|
+
* The request ID.
|
|
2189
|
+
*
|
|
2119
2190
|
* @example
|
|
2120
2191
|
* 484256DA-D816-44D2-9D86-B6EE4D5B****
|
|
2121
2192
|
*/
|
|
@@ -2320,15 +2391,23 @@ export class DeleteFingerPrintTemplateResponse extends $dara.Model {
|
|
|
2320
2391
|
export class DescribeDirectoriesRequest extends $dara.Model {
|
|
2321
2392
|
/**
|
|
2322
2393
|
* @remarks
|
|
2394
|
+
* The client ID. The system generates a unique ID for each client.
|
|
2395
|
+
*
|
|
2323
2396
|
* This parameter is required.
|
|
2324
2397
|
*
|
|
2325
2398
|
* @example
|
|
2326
2399
|
* 54c17e1d-2d72-4b87-aa33-25f3b3f2****
|
|
2327
2400
|
*/
|
|
2328
2401
|
clientId?: string;
|
|
2402
|
+
/**
|
|
2403
|
+
* @remarks
|
|
2404
|
+
* The directory IDs.
|
|
2405
|
+
*/
|
|
2329
2406
|
directoryId?: string[];
|
|
2330
2407
|
/**
|
|
2331
2408
|
* @remarks
|
|
2409
|
+
* The region ID.
|
|
2410
|
+
*
|
|
2332
2411
|
* This parameter is required.
|
|
2333
2412
|
*
|
|
2334
2413
|
* @example
|
|
@@ -2364,8 +2443,15 @@ export class DescribeDirectoriesRequest extends $dara.Model {
|
|
|
2364
2443
|
}
|
|
2365
2444
|
|
|
2366
2445
|
export class DescribeDirectoriesResponseBody extends $dara.Model {
|
|
2446
|
+
/**
|
|
2447
|
+
* @remarks
|
|
2448
|
+
* The directories.
|
|
2449
|
+
*/
|
|
2367
2450
|
directories?: DescribeDirectoriesResponseBodyDirectories[];
|
|
2368
2451
|
/**
|
|
2452
|
+
* @remarks
|
|
2453
|
+
* The request ID.
|
|
2454
|
+
*
|
|
2369
2455
|
* @example
|
|
2370
2456
|
* F369A091-002F-49C8-AD55-02A77629****
|
|
2371
2457
|
*/
|
|
@@ -2434,6 +2520,8 @@ export class DescribeDirectoriesResponse extends $dara.Model {
|
|
|
2434
2520
|
export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
|
|
2435
2521
|
/**
|
|
2436
2522
|
* @remarks
|
|
2523
|
+
* The client ID. The system generates a unique ID for each client.
|
|
2524
|
+
*
|
|
2437
2525
|
* This parameter is required.
|
|
2438
2526
|
*
|
|
2439
2527
|
* @example
|
|
@@ -2442,6 +2530,8 @@ export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
|
|
|
2442
2530
|
clientId?: string;
|
|
2443
2531
|
/**
|
|
2444
2532
|
* @remarks
|
|
2533
|
+
* The logon token.
|
|
2534
|
+
*
|
|
2445
2535
|
* This parameter is required.
|
|
2446
2536
|
*
|
|
2447
2537
|
* @example
|
|
@@ -2450,6 +2540,8 @@ export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
|
|
|
2450
2540
|
loginToken?: string;
|
|
2451
2541
|
/**
|
|
2452
2542
|
* @remarks
|
|
2543
|
+
* The region ID
|
|
2544
|
+
*
|
|
2453
2545
|
* This parameter is required.
|
|
2454
2546
|
*
|
|
2455
2547
|
* @example
|
|
@@ -2458,6 +2550,8 @@ export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
|
|
|
2458
2550
|
regionId?: string;
|
|
2459
2551
|
/**
|
|
2460
2552
|
* @remarks
|
|
2553
|
+
* The session ID.
|
|
2554
|
+
*
|
|
2461
2555
|
* This parameter is required.
|
|
2462
2556
|
*
|
|
2463
2557
|
* @example
|
|
@@ -2492,8 +2586,15 @@ export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
|
|
|
2492
2586
|
}
|
|
2493
2587
|
|
|
2494
2588
|
export class DescribeFingerPrintTemplatesResponseBody extends $dara.Model {
|
|
2589
|
+
/**
|
|
2590
|
+
* @remarks
|
|
2591
|
+
* The fingerprint templates.
|
|
2592
|
+
*/
|
|
2495
2593
|
fingerPrintTemplates?: DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates[];
|
|
2496
2594
|
/**
|
|
2595
|
+
* @remarks
|
|
2596
|
+
* The request ID.
|
|
2597
|
+
*
|
|
2497
2598
|
* @example
|
|
2498
2599
|
* 9C1D3FBE-84E1-5ABB-AD98-2003AC71****
|
|
2499
2600
|
*/
|
|
@@ -2915,6 +3016,8 @@ export class DescribeOfficeSitesResponse extends $dara.Model {
|
|
|
2915
3016
|
export class DescribeRegionsRequest extends $dara.Model {
|
|
2916
3017
|
/**
|
|
2917
3018
|
* @remarks
|
|
3019
|
+
* The client ID. The system generates a unique ID for each client.
|
|
3020
|
+
*
|
|
2918
3021
|
* This parameter is required.
|
|
2919
3022
|
*
|
|
2920
3023
|
* @example
|
|
@@ -2922,6 +3025,9 @@ export class DescribeRegionsRequest extends $dara.Model {
|
|
|
2922
3025
|
*/
|
|
2923
3026
|
clientId?: string;
|
|
2924
3027
|
/**
|
|
3028
|
+
* @remarks
|
|
3029
|
+
* The region ID.
|
|
3030
|
+
*
|
|
2925
3031
|
* @example
|
|
2926
3032
|
* cn-hangzhou
|
|
2927
3033
|
*/
|
|
@@ -2950,8 +3056,15 @@ export class DescribeRegionsRequest extends $dara.Model {
|
|
|
2950
3056
|
}
|
|
2951
3057
|
|
|
2952
3058
|
export class DescribeRegionsResponseBody extends $dara.Model {
|
|
3059
|
+
/**
|
|
3060
|
+
* @remarks
|
|
3061
|
+
* The regions.
|
|
3062
|
+
*/
|
|
2953
3063
|
regions?: DescribeRegionsResponseBodyRegions[];
|
|
2954
3064
|
/**
|
|
3065
|
+
* @remarks
|
|
3066
|
+
* The request ID.
|
|
3067
|
+
*
|
|
2955
3068
|
* @example
|
|
2956
3069
|
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
|
|
2957
3070
|
*/
|
|
@@ -3472,6 +3585,8 @@ export class DescribeUserResourcesResponse extends $dara.Model {
|
|
|
3472
3585
|
export class EncryptPasswordRequest extends $dara.Model {
|
|
3473
3586
|
/**
|
|
3474
3587
|
* @remarks
|
|
3588
|
+
* The ID of the client. The system generates a unique ID for each client.
|
|
3589
|
+
*
|
|
3475
3590
|
* This parameter is required.
|
|
3476
3591
|
*
|
|
3477
3592
|
* @example
|
|
@@ -3479,12 +3594,17 @@ export class EncryptPasswordRequest extends $dara.Model {
|
|
|
3479
3594
|
*/
|
|
3480
3595
|
clientId?: string;
|
|
3481
3596
|
/**
|
|
3597
|
+
* @remarks
|
|
3598
|
+
* The directory ID.
|
|
3599
|
+
*
|
|
3482
3600
|
* @example
|
|
3483
3601
|
* cn-beijing+dir-131196****
|
|
3484
3602
|
*/
|
|
3485
3603
|
directoryId?: string;
|
|
3486
3604
|
/**
|
|
3487
3605
|
* @remarks
|
|
3606
|
+
* The logon token.
|
|
3607
|
+
*
|
|
3488
3608
|
* This parameter is required.
|
|
3489
3609
|
*
|
|
3490
3610
|
* @example
|
|
@@ -3492,12 +3612,17 @@ export class EncryptPasswordRequest extends $dara.Model {
|
|
|
3492
3612
|
*/
|
|
3493
3613
|
loginToken?: string;
|
|
3494
3614
|
/**
|
|
3615
|
+
* @remarks
|
|
3616
|
+
* The office network ID.
|
|
3617
|
+
*
|
|
3495
3618
|
* @example
|
|
3496
3619
|
* cn-beijing+dir-131196****
|
|
3497
3620
|
*/
|
|
3498
3621
|
officeSiteId?: string;
|
|
3499
3622
|
/**
|
|
3500
3623
|
* @remarks
|
|
3624
|
+
* The password that you want to encrypt.
|
|
3625
|
+
*
|
|
3501
3626
|
* This parameter is required.
|
|
3502
3627
|
*
|
|
3503
3628
|
* @example
|
|
@@ -3506,6 +3631,8 @@ export class EncryptPasswordRequest extends $dara.Model {
|
|
|
3506
3631
|
password?: string;
|
|
3507
3632
|
/**
|
|
3508
3633
|
* @remarks
|
|
3634
|
+
* The region ID.
|
|
3635
|
+
*
|
|
3509
3636
|
* This parameter is required.
|
|
3510
3637
|
*
|
|
3511
3638
|
* @example
|
|
@@ -3514,6 +3641,8 @@ export class EncryptPasswordRequest extends $dara.Model {
|
|
|
3514
3641
|
regionId?: string;
|
|
3515
3642
|
/**
|
|
3516
3643
|
* @remarks
|
|
3644
|
+
* The session ID.
|
|
3645
|
+
*
|
|
3517
3646
|
* This parameter is required.
|
|
3518
3647
|
*
|
|
3519
3648
|
* @example
|
|
@@ -3555,11 +3684,17 @@ export class EncryptPasswordRequest extends $dara.Model {
|
|
|
3555
3684
|
|
|
3556
3685
|
export class EncryptPasswordResponseBody extends $dara.Model {
|
|
3557
3686
|
/**
|
|
3687
|
+
* @remarks
|
|
3688
|
+
* The encrypted password.
|
|
3689
|
+
*
|
|
3558
3690
|
* @example
|
|
3559
3691
|
* d34601bc-e6b1-4433-b0cc-8f6c5e52;n4apvGub3OBoj4Grwg==;thhO4UEomJfdvwnwlA==
|
|
3560
3692
|
*/
|
|
3561
3693
|
encryptedPassword?: string;
|
|
3562
3694
|
/**
|
|
3695
|
+
* @remarks
|
|
3696
|
+
* The request ID.
|
|
3697
|
+
*
|
|
3563
3698
|
* @example
|
|
3564
3699
|
* AF538DA8-FFC6-52DA-8FF8-7B92579F****
|
|
3565
3700
|
*/
|
|
@@ -5222,6 +5357,8 @@ export class ReportSessionStatusResponse extends $dara.Model {
|
|
|
5222
5357
|
export class ResetPasswordRequest extends $dara.Model {
|
|
5223
5358
|
/**
|
|
5224
5359
|
* @remarks
|
|
5360
|
+
* The client ID. The system generates a unique ID for each client.
|
|
5361
|
+
*
|
|
5225
5362
|
* This parameter is required.
|
|
5226
5363
|
*
|
|
5227
5364
|
* @example
|
|
@@ -5229,17 +5366,25 @@ export class ResetPasswordRequest extends $dara.Model {
|
|
|
5229
5366
|
*/
|
|
5230
5367
|
clientId?: string;
|
|
5231
5368
|
/**
|
|
5369
|
+
* @remarks
|
|
5370
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
5371
|
+
*
|
|
5232
5372
|
* @example
|
|
5233
5373
|
* 2f00ab32-a473-4c90-9aae-dd8842ae****
|
|
5234
5374
|
*/
|
|
5235
5375
|
clientToken?: string;
|
|
5236
5376
|
/**
|
|
5377
|
+
* @remarks
|
|
5378
|
+
* The email address of the user.
|
|
5379
|
+
*
|
|
5237
5380
|
* @example
|
|
5238
5381
|
* a***@example.edu
|
|
5239
5382
|
*/
|
|
5240
5383
|
email?: string;
|
|
5241
5384
|
/**
|
|
5242
5385
|
* @remarks
|
|
5386
|
+
* The user ID.
|
|
5387
|
+
*
|
|
5243
5388
|
* This parameter is required.
|
|
5244
5389
|
*
|
|
5245
5390
|
* @example
|
|
@@ -5248,6 +5393,8 @@ export class ResetPasswordRequest extends $dara.Model {
|
|
|
5248
5393
|
endUserId?: string;
|
|
5249
5394
|
/**
|
|
5250
5395
|
* @remarks
|
|
5396
|
+
* The office network ID.
|
|
5397
|
+
*
|
|
5251
5398
|
* This parameter is required.
|
|
5252
5399
|
*
|
|
5253
5400
|
* @example
|
|
@@ -5256,6 +5403,8 @@ export class ResetPasswordRequest extends $dara.Model {
|
|
|
5256
5403
|
officeSiteId?: string;
|
|
5257
5404
|
/**
|
|
5258
5405
|
* @remarks
|
|
5406
|
+
* The region ID.
|
|
5407
|
+
*
|
|
5259
5408
|
* This parameter is required.
|
|
5260
5409
|
*
|
|
5261
5410
|
* @example
|
|
@@ -5263,6 +5412,9 @@ export class ResetPasswordRequest extends $dara.Model {
|
|
|
5263
5412
|
*/
|
|
5264
5413
|
regionId?: string;
|
|
5265
5414
|
/**
|
|
5415
|
+
* @remarks
|
|
5416
|
+
* The phone number of the user.
|
|
5417
|
+
*
|
|
5266
5418
|
* @example
|
|
5267
5419
|
* 1827912****
|
|
5268
5420
|
*/
|
|
@@ -5302,6 +5454,9 @@ export class ResetPasswordRequest extends $dara.Model {
|
|
|
5302
5454
|
|
|
5303
5455
|
export class ResetPasswordResponseBody extends $dara.Model {
|
|
5304
5456
|
/**
|
|
5457
|
+
* @remarks
|
|
5458
|
+
* The request ID.
|
|
5459
|
+
*
|
|
5305
5460
|
* @example
|
|
5306
5461
|
* A00477A5-167F-56D2-A315-EA77E4BD****
|
|
5307
5462
|
*/
|
|
@@ -5365,15 +5520,26 @@ export class ResetPasswordResponse extends $dara.Model {
|
|
|
5365
5520
|
export class ResetSnapshotRequest extends $dara.Model {
|
|
5366
5521
|
/**
|
|
5367
5522
|
* @remarks
|
|
5523
|
+
* The client ID. The system generates a unique ID for each client.
|
|
5524
|
+
*
|
|
5368
5525
|
* This parameter is required.
|
|
5369
5526
|
*
|
|
5370
5527
|
* @example
|
|
5371
5528
|
* b9d8ddfd-65d4-4857-9e97-56477d1f****
|
|
5372
5529
|
*/
|
|
5373
5530
|
clientId?: string;
|
|
5531
|
+
/**
|
|
5532
|
+
* @remarks
|
|
5533
|
+
* The cloud computer ID.
|
|
5534
|
+
*
|
|
5535
|
+
* @example
|
|
5536
|
+
* ecd-e964cr92klwqb****
|
|
5537
|
+
*/
|
|
5374
5538
|
desktopId?: string;
|
|
5375
5539
|
/**
|
|
5376
5540
|
* @remarks
|
|
5541
|
+
* The logon token.
|
|
5542
|
+
*
|
|
5377
5543
|
* This parameter is required.
|
|
5378
5544
|
*
|
|
5379
5545
|
* @example
|
|
@@ -5382,6 +5548,8 @@ export class ResetSnapshotRequest extends $dara.Model {
|
|
|
5382
5548
|
loginToken?: string;
|
|
5383
5549
|
/**
|
|
5384
5550
|
* @remarks
|
|
5551
|
+
* The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.
|
|
5552
|
+
*
|
|
5385
5553
|
* This parameter is required.
|
|
5386
5554
|
*
|
|
5387
5555
|
* @example
|
|
@@ -5389,18 +5557,30 @@ export class ResetSnapshotRequest extends $dara.Model {
|
|
|
5389
5557
|
*/
|
|
5390
5558
|
regionId?: string;
|
|
5391
5559
|
/**
|
|
5560
|
+
* @remarks
|
|
5561
|
+
* The session ID.
|
|
5562
|
+
*
|
|
5392
5563
|
* @example
|
|
5393
5564
|
* 05182b8c-bb0d-49d3-963c-ee63a507****
|
|
5394
5565
|
*/
|
|
5395
5566
|
sessionId?: string;
|
|
5396
5567
|
/**
|
|
5397
5568
|
* @remarks
|
|
5569
|
+
* The snapshot ID.
|
|
5570
|
+
*
|
|
5398
5571
|
* This parameter is required.
|
|
5399
5572
|
*
|
|
5400
5573
|
* @example
|
|
5401
5574
|
* s-2zeipxmnhej803x7****
|
|
5402
5575
|
*/
|
|
5403
5576
|
snapshotId?: string;
|
|
5577
|
+
/**
|
|
5578
|
+
* @remarks
|
|
5579
|
+
* Specifies whether to stop the cloud computer.
|
|
5580
|
+
*
|
|
5581
|
+
* @example
|
|
5582
|
+
* true
|
|
5583
|
+
*/
|
|
5404
5584
|
stopDesktop?: boolean;
|
|
5405
5585
|
static names(): { [key: string]: string } {
|
|
5406
5586
|
return {
|
|
@@ -5437,6 +5617,9 @@ export class ResetSnapshotRequest extends $dara.Model {
|
|
|
5437
5617
|
|
|
5438
5618
|
export class ResetSnapshotResponseBody extends $dara.Model {
|
|
5439
5619
|
/**
|
|
5620
|
+
* @remarks
|
|
5621
|
+
* The request ID.
|
|
5622
|
+
*
|
|
5440
5623
|
* @example
|
|
5441
5624
|
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
|
|
5442
5625
|
*/
|
|
@@ -5500,6 +5683,8 @@ export class ResetSnapshotResponse extends $dara.Model {
|
|
|
5500
5683
|
export class SendTokenCodeRequest extends $dara.Model {
|
|
5501
5684
|
/**
|
|
5502
5685
|
* @remarks
|
|
5686
|
+
* The client ID. The system generates a unique ID for each client.
|
|
5687
|
+
*
|
|
5503
5688
|
* This parameter is required.
|
|
5504
5689
|
*
|
|
5505
5690
|
* @example
|
|
@@ -5507,36 +5692,57 @@ export class SendTokenCodeRequest extends $dara.Model {
|
|
|
5507
5692
|
*/
|
|
5508
5693
|
clientId?: string;
|
|
5509
5694
|
/**
|
|
5695
|
+
* @remarks
|
|
5696
|
+
* The operating system on which the client runs.
|
|
5697
|
+
*
|
|
5510
5698
|
* @example
|
|
5511
5699
|
* Windows_NT 10.0.18363 x64
|
|
5512
5700
|
*/
|
|
5513
5701
|
clientOS?: string;
|
|
5514
5702
|
/**
|
|
5703
|
+
* @remarks
|
|
5704
|
+
* The client version. If you use an Alibaba Cloud Workspace client, you can view the client version in the "About" dialog box on the client logon page.
|
|
5705
|
+
*
|
|
5515
5706
|
* @example
|
|
5516
5707
|
* 2.1.0-R-20210731.151756
|
|
5517
5708
|
*/
|
|
5518
5709
|
clientVersion?: string;
|
|
5519
5710
|
/**
|
|
5711
|
+
* @remarks
|
|
5712
|
+
* The username of the account.
|
|
5713
|
+
*
|
|
5520
5714
|
* @example
|
|
5521
5715
|
* alice
|
|
5522
5716
|
*/
|
|
5523
5717
|
endUserId?: string;
|
|
5524
5718
|
/**
|
|
5719
|
+
* @remarks
|
|
5720
|
+
* The logon token.
|
|
5721
|
+
*
|
|
5525
5722
|
* @example
|
|
5526
5723
|
* v28101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
|
|
5527
5724
|
*/
|
|
5528
5725
|
loginToken?: string;
|
|
5529
5726
|
/**
|
|
5727
|
+
* @remarks
|
|
5728
|
+
* The office network ID.
|
|
5729
|
+
*
|
|
5530
5730
|
* @example
|
|
5531
5731
|
* cn-hangzhou+dir-2925105532
|
|
5532
5732
|
*/
|
|
5533
5733
|
officeSiteId?: string;
|
|
5534
5734
|
/**
|
|
5735
|
+
* @remarks
|
|
5736
|
+
* The session ID.
|
|
5737
|
+
*
|
|
5535
5738
|
* @example
|
|
5536
5739
|
* cd45e873-650d-4d70-acb9-f996187a****
|
|
5537
5740
|
*/
|
|
5538
5741
|
sessionId?: string;
|
|
5539
5742
|
/**
|
|
5743
|
+
* @remarks
|
|
5744
|
+
* If two-factor authentication is enabled for clients in the Elastic Desktop Service (EDS) Enterprise console, the system will send a verification code to the user\\"s email address if it detects that the current logged-on user is at risk. This parameter is required if you set `CurrentStage` to `TokenVerify`.
|
|
5745
|
+
*
|
|
5540
5746
|
* @example
|
|
5541
5747
|
* 63****
|
|
5542
5748
|
*/
|
|
@@ -5578,6 +5784,9 @@ export class SendTokenCodeRequest extends $dara.Model {
|
|
|
5578
5784
|
|
|
5579
5785
|
export class SendTokenCodeResponseBody extends $dara.Model {
|
|
5580
5786
|
/**
|
|
5787
|
+
* @remarks
|
|
5788
|
+
* The request ID.
|
|
5789
|
+
*
|
|
5581
5790
|
* @example
|
|
5582
5791
|
* 134BD0B2-B848-5743-9CE2-C1FD3D5F****
|
|
5583
5792
|
*/
|
|
@@ -6356,6 +6565,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
6356
6565
|
* 04b7b80a0b020715c5c1b4175fc4771698****9e2a759557a4624665fd53ae40
|
|
6357
6566
|
*/
|
|
6358
6567
|
sessionToken?: string;
|
|
6568
|
+
uuid?: string;
|
|
6359
6569
|
static names(): { [key: string]: string } {
|
|
6360
6570
|
return {
|
|
6361
6571
|
clientId: 'ClientId',
|
|
@@ -6368,6 +6578,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
6368
6578
|
regionId: 'RegionId',
|
|
6369
6579
|
sessionId: 'SessionId',
|
|
6370
6580
|
sessionToken: 'SessionToken',
|
|
6581
|
+
uuid: 'Uuid',
|
|
6371
6582
|
};
|
|
6372
6583
|
}
|
|
6373
6584
|
|
|
@@ -6383,6 +6594,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
6383
6594
|
regionId: 'string',
|
|
6384
6595
|
sessionId: 'string',
|
|
6385
6596
|
sessionToken: 'string',
|
|
6597
|
+
uuid: 'string',
|
|
6386
6598
|
};
|
|
6387
6599
|
}
|
|
6388
6600
|
|
|
@@ -6585,6 +6797,8 @@ export class StopRecordContentResponse extends $dara.Model {
|
|
|
6585
6797
|
export class UnbindUserDesktopRequest extends $dara.Model {
|
|
6586
6798
|
/**
|
|
6587
6799
|
* @remarks
|
|
6800
|
+
* The client ID.
|
|
6801
|
+
*
|
|
6588
6802
|
* This parameter is required.
|
|
6589
6803
|
*
|
|
6590
6804
|
* @example
|
|
@@ -6592,17 +6806,30 @@ export class UnbindUserDesktopRequest extends $dara.Model {
|
|
|
6592
6806
|
*/
|
|
6593
6807
|
clientId?: string;
|
|
6594
6808
|
/**
|
|
6809
|
+
* @remarks
|
|
6810
|
+
* The client type.
|
|
6811
|
+
*
|
|
6595
6812
|
* @example
|
|
6596
6813
|
* windows
|
|
6597
6814
|
*/
|
|
6598
6815
|
clientType?: string;
|
|
6599
6816
|
/**
|
|
6817
|
+
* @remarks
|
|
6818
|
+
* Specifies whether to enable forced unbinding.
|
|
6819
|
+
*
|
|
6820
|
+
* Valid values:
|
|
6821
|
+
*
|
|
6822
|
+
* * true: Even when end users connect to cloud computers, the forced unbinding is still enforced.
|
|
6823
|
+
* * false: Forced unbinding is only enforced when end users are disconnected from cloud computers.
|
|
6824
|
+
*
|
|
6600
6825
|
* @example
|
|
6601
6826
|
* true
|
|
6602
6827
|
*/
|
|
6603
6828
|
force?: boolean;
|
|
6604
6829
|
/**
|
|
6605
6830
|
* @remarks
|
|
6831
|
+
* The logon token.
|
|
6832
|
+
*
|
|
6606
6833
|
* This parameter is required.
|
|
6607
6834
|
*
|
|
6608
6835
|
* @example
|
|
@@ -6611,6 +6838,8 @@ export class UnbindUserDesktopRequest extends $dara.Model {
|
|
|
6611
6838
|
loginToken?: string;
|
|
6612
6839
|
/**
|
|
6613
6840
|
* @remarks
|
|
6841
|
+
* The region ID.
|
|
6842
|
+
*
|
|
6614
6843
|
* This parameter is required.
|
|
6615
6844
|
*
|
|
6616
6845
|
* @example
|
|
@@ -6619,6 +6848,8 @@ export class UnbindUserDesktopRequest extends $dara.Model {
|
|
|
6619
6848
|
regionId?: string;
|
|
6620
6849
|
/**
|
|
6621
6850
|
* @remarks
|
|
6851
|
+
* The session ID.
|
|
6852
|
+
*
|
|
6622
6853
|
* This parameter is required.
|
|
6623
6854
|
*
|
|
6624
6855
|
* @example
|
|
@@ -6627,6 +6858,8 @@ export class UnbindUserDesktopRequest extends $dara.Model {
|
|
|
6627
6858
|
sessionId?: string;
|
|
6628
6859
|
/**
|
|
6629
6860
|
* @remarks
|
|
6861
|
+
* The cloud computer ID.
|
|
6862
|
+
*
|
|
6630
6863
|
* This parameter is required.
|
|
6631
6864
|
*
|
|
6632
6865
|
* @example
|
|
@@ -6668,6 +6901,9 @@ export class UnbindUserDesktopRequest extends $dara.Model {
|
|
|
6668
6901
|
|
|
6669
6902
|
export class UnbindUserDesktopResponseBody extends $dara.Model {
|
|
6670
6903
|
/**
|
|
6904
|
+
* @remarks
|
|
6905
|
+
* The request ID.
|
|
6906
|
+
*
|
|
6671
6907
|
* @example
|
|
6672
6908
|
* D5B7CF35-E078-5EBF-A010-****
|
|
6673
6909
|
*/
|
|
@@ -6961,12 +7197,7 @@ export default class Client extends OpenApi {
|
|
|
6961
7197
|
reqBodyType: "formData",
|
|
6962
7198
|
bodyType: "json",
|
|
6963
7199
|
});
|
|
6964
|
-
|
|
6965
|
-
return $dara.cast<ApproveFotaUpdateResponse>(await this.callApi(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
6966
|
-
} else {
|
|
6967
|
-
return $dara.cast<ApproveFotaUpdateResponse>(await this.execute(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
6968
|
-
}
|
|
6969
|
-
|
|
7200
|
+
return $dara.cast<ApproveFotaUpdateResponse>(await this.callApi(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
6970
7201
|
}
|
|
6971
7202
|
|
|
6972
7203
|
/**
|
|
@@ -6981,6 +7212,8 @@ export default class Client extends OpenApi {
|
|
|
6981
7212
|
}
|
|
6982
7213
|
|
|
6983
7214
|
/**
|
|
7215
|
+
* Changes the password of a user account.
|
|
7216
|
+
*
|
|
6984
7217
|
* @param request - ChangePasswordRequest
|
|
6985
7218
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6986
7219
|
* @returns ChangePasswordResponse
|
|
@@ -7034,15 +7267,12 @@ export default class Client extends OpenApi {
|
|
|
7034
7267
|
reqBodyType: "formData",
|
|
7035
7268
|
bodyType: "json",
|
|
7036
7269
|
});
|
|
7037
|
-
|
|
7038
|
-
return $dara.cast<ChangePasswordResponse>(await this.callApi(params, req, runtime), new ChangePasswordResponse({}));
|
|
7039
|
-
} else {
|
|
7040
|
-
return $dara.cast<ChangePasswordResponse>(await this.execute(params, req, runtime), new ChangePasswordResponse({}));
|
|
7041
|
-
}
|
|
7042
|
-
|
|
7270
|
+
return $dara.cast<ChangePasswordResponse>(await this.callApi(params, req, runtime), new ChangePasswordResponse({}));
|
|
7043
7271
|
}
|
|
7044
7272
|
|
|
7045
7273
|
/**
|
|
7274
|
+
* Changes the password of a user account.
|
|
7275
|
+
*
|
|
7046
7276
|
* @param request - ChangePasswordRequest
|
|
7047
7277
|
* @returns ChangePasswordResponse
|
|
7048
7278
|
*/
|
|
@@ -7097,12 +7327,7 @@ export default class Client extends OpenApi {
|
|
|
7097
7327
|
reqBodyType: "formData",
|
|
7098
7328
|
bodyType: "json",
|
|
7099
7329
|
});
|
|
7100
|
-
|
|
7101
|
-
return $dara.cast<DeleteFingerPrintTemplateResponse>(await this.callApi(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
|
|
7102
|
-
} else {
|
|
7103
|
-
return $dara.cast<DeleteFingerPrintTemplateResponse>(await this.execute(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
|
|
7104
|
-
}
|
|
7105
|
-
|
|
7330
|
+
return $dara.cast<DeleteFingerPrintTemplateResponse>(await this.callApi(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
|
|
7106
7331
|
}
|
|
7107
7332
|
|
|
7108
7333
|
/**
|
|
@@ -7115,6 +7340,8 @@ export default class Client extends OpenApi {
|
|
|
7115
7340
|
}
|
|
7116
7341
|
|
|
7117
7342
|
/**
|
|
7343
|
+
* Queries directory details.
|
|
7344
|
+
*
|
|
7118
7345
|
* @param request - DescribeDirectoriesRequest
|
|
7119
7346
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
7120
7347
|
* @returns DescribeDirectoriesResponse
|
|
@@ -7148,15 +7375,12 @@ export default class Client extends OpenApi {
|
|
|
7148
7375
|
reqBodyType: "formData",
|
|
7149
7376
|
bodyType: "json",
|
|
7150
7377
|
});
|
|
7151
|
-
|
|
7152
|
-
return $dara.cast<DescribeDirectoriesResponse>(await this.callApi(params, req, runtime), new DescribeDirectoriesResponse({}));
|
|
7153
|
-
} else {
|
|
7154
|
-
return $dara.cast<DescribeDirectoriesResponse>(await this.execute(params, req, runtime), new DescribeDirectoriesResponse({}));
|
|
7155
|
-
}
|
|
7156
|
-
|
|
7378
|
+
return $dara.cast<DescribeDirectoriesResponse>(await this.callApi(params, req, runtime), new DescribeDirectoriesResponse({}));
|
|
7157
7379
|
}
|
|
7158
7380
|
|
|
7159
7381
|
/**
|
|
7382
|
+
* Queries directory details.
|
|
7383
|
+
*
|
|
7160
7384
|
* @param request - DescribeDirectoriesRequest
|
|
7161
7385
|
* @returns DescribeDirectoriesResponse
|
|
7162
7386
|
*/
|
|
@@ -7166,6 +7390,8 @@ export default class Client extends OpenApi {
|
|
|
7166
7390
|
}
|
|
7167
7391
|
|
|
7168
7392
|
/**
|
|
7393
|
+
* Queries fingerprint templates.
|
|
7394
|
+
*
|
|
7169
7395
|
* @param request - DescribeFingerPrintTemplatesRequest
|
|
7170
7396
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
7171
7397
|
* @returns DescribeFingerPrintTemplatesResponse
|
|
@@ -7203,15 +7429,12 @@ export default class Client extends OpenApi {
|
|
|
7203
7429
|
reqBodyType: "formData",
|
|
7204
7430
|
bodyType: "json",
|
|
7205
7431
|
});
|
|
7206
|
-
|
|
7207
|
-
return $dara.cast<DescribeFingerPrintTemplatesResponse>(await this.callApi(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
|
|
7208
|
-
} else {
|
|
7209
|
-
return $dara.cast<DescribeFingerPrintTemplatesResponse>(await this.execute(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
|
|
7210
|
-
}
|
|
7211
|
-
|
|
7432
|
+
return $dara.cast<DescribeFingerPrintTemplatesResponse>(await this.callApi(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
|
|
7212
7433
|
}
|
|
7213
7434
|
|
|
7214
7435
|
/**
|
|
7436
|
+
* Queries fingerprint templates.
|
|
7437
|
+
*
|
|
7215
7438
|
* @param request - DescribeFingerPrintTemplatesRequest
|
|
7216
7439
|
* @returns DescribeFingerPrintTemplatesResponse
|
|
7217
7440
|
*/
|
|
@@ -7322,12 +7545,7 @@ export default class Client extends OpenApi {
|
|
|
7322
7545
|
reqBodyType: "formData",
|
|
7323
7546
|
bodyType: "json",
|
|
7324
7547
|
});
|
|
7325
|
-
|
|
7326
|
-
return $dara.cast<DescribeGlobalDesktopsResponse>(await this.callApi(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
|
|
7327
|
-
} else {
|
|
7328
|
-
return $dara.cast<DescribeGlobalDesktopsResponse>(await this.execute(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
|
|
7329
|
-
}
|
|
7330
|
-
|
|
7548
|
+
return $dara.cast<DescribeGlobalDesktopsResponse>(await this.callApi(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
|
|
7331
7549
|
}
|
|
7332
7550
|
|
|
7333
7551
|
/**
|
|
@@ -7373,12 +7591,7 @@ export default class Client extends OpenApi {
|
|
|
7373
7591
|
reqBodyType: "formData",
|
|
7374
7592
|
bodyType: "json",
|
|
7375
7593
|
});
|
|
7376
|
-
|
|
7377
|
-
return $dara.cast<DescribeOfficeSitesResponse>(await this.callApi(params, req, runtime), new DescribeOfficeSitesResponse({}));
|
|
7378
|
-
} else {
|
|
7379
|
-
return $dara.cast<DescribeOfficeSitesResponse>(await this.execute(params, req, runtime), new DescribeOfficeSitesResponse({}));
|
|
7380
|
-
}
|
|
7381
|
-
|
|
7594
|
+
return $dara.cast<DescribeOfficeSitesResponse>(await this.callApi(params, req, runtime), new DescribeOfficeSitesResponse({}));
|
|
7382
7595
|
}
|
|
7383
7596
|
|
|
7384
7597
|
/**
|
|
@@ -7420,12 +7633,7 @@ export default class Client extends OpenApi {
|
|
|
7420
7633
|
reqBodyType: "formData",
|
|
7421
7634
|
bodyType: "json",
|
|
7422
7635
|
});
|
|
7423
|
-
|
|
7424
|
-
return $dara.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
7425
|
-
} else {
|
|
7426
|
-
return $dara.cast<DescribeRegionsResponse>(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
|
|
7427
|
-
}
|
|
7428
|
-
|
|
7636
|
+
return $dara.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
7429
7637
|
}
|
|
7430
7638
|
|
|
7431
7639
|
/**
|
|
@@ -7493,12 +7701,7 @@ export default class Client extends OpenApi {
|
|
|
7493
7701
|
reqBodyType: "formData",
|
|
7494
7702
|
bodyType: "json",
|
|
7495
7703
|
});
|
|
7496
|
-
|
|
7497
|
-
return $dara.cast<DescribeSnapshotsResponse>(await this.callApi(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
7498
|
-
} else {
|
|
7499
|
-
return $dara.cast<DescribeSnapshotsResponse>(await this.execute(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
7500
|
-
}
|
|
7501
|
-
|
|
7704
|
+
return $dara.cast<DescribeSnapshotsResponse>(await this.callApi(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
7502
7705
|
}
|
|
7503
7706
|
|
|
7504
7707
|
/**
|
|
@@ -7640,12 +7843,7 @@ export default class Client extends OpenApi {
|
|
|
7640
7843
|
reqBodyType: "formData",
|
|
7641
7844
|
bodyType: "json",
|
|
7642
7845
|
});
|
|
7643
|
-
|
|
7644
|
-
return $dara.cast<DescribeUserResourcesResponse>(await this.callApi(params, req, runtime), new DescribeUserResourcesResponse({}));
|
|
7645
|
-
} else {
|
|
7646
|
-
return $dara.cast<DescribeUserResourcesResponse>(await this.execute(params, req, runtime), new DescribeUserResourcesResponse({}));
|
|
7647
|
-
}
|
|
7648
|
-
|
|
7846
|
+
return $dara.cast<DescribeUserResourcesResponse>(await this.callApi(params, req, runtime), new DescribeUserResourcesResponse({}));
|
|
7649
7847
|
}
|
|
7650
7848
|
|
|
7651
7849
|
/**
|
|
@@ -7660,6 +7858,8 @@ export default class Client extends OpenApi {
|
|
|
7660
7858
|
}
|
|
7661
7859
|
|
|
7662
7860
|
/**
|
|
7861
|
+
* Encrypts a password.
|
|
7862
|
+
*
|
|
7663
7863
|
* @param request - EncryptPasswordRequest
|
|
7664
7864
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
7665
7865
|
* @returns EncryptPasswordResponse
|
|
@@ -7709,15 +7909,12 @@ export default class Client extends OpenApi {
|
|
|
7709
7909
|
reqBodyType: "formData",
|
|
7710
7910
|
bodyType: "json",
|
|
7711
7911
|
});
|
|
7712
|
-
|
|
7713
|
-
return $dara.cast<EncryptPasswordResponse>(await this.callApi(params, req, runtime), new EncryptPasswordResponse({}));
|
|
7714
|
-
} else {
|
|
7715
|
-
return $dara.cast<EncryptPasswordResponse>(await this.execute(params, req, runtime), new EncryptPasswordResponse({}));
|
|
7716
|
-
}
|
|
7717
|
-
|
|
7912
|
+
return $dara.cast<EncryptPasswordResponse>(await this.callApi(params, req, runtime), new EncryptPasswordResponse({}));
|
|
7718
7913
|
}
|
|
7719
7914
|
|
|
7720
7915
|
/**
|
|
7916
|
+
* Encrypts a password.
|
|
7917
|
+
*
|
|
7721
7918
|
* @param request - EncryptPasswordRequest
|
|
7722
7919
|
* @returns EncryptPasswordResponse
|
|
7723
7920
|
*/
|
|
@@ -7770,12 +7967,7 @@ export default class Client extends OpenApi {
|
|
|
7770
7967
|
reqBodyType: "formData",
|
|
7771
7968
|
bodyType: "json",
|
|
7772
7969
|
});
|
|
7773
|
-
|
|
7774
|
-
return $dara.cast<GetCloudDriveServiceMountTokenResponse>(await this.callApi(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
|
|
7775
|
-
} else {
|
|
7776
|
-
return $dara.cast<GetCloudDriveServiceMountTokenResponse>(await this.execute(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
|
|
7777
|
-
}
|
|
7778
|
-
|
|
7970
|
+
return $dara.cast<GetCloudDriveServiceMountTokenResponse>(await this.callApi(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
|
|
7779
7971
|
}
|
|
7780
7972
|
|
|
7781
7973
|
/**
|
|
@@ -7871,12 +8063,7 @@ export default class Client extends OpenApi {
|
|
|
7871
8063
|
reqBodyType: "formData",
|
|
7872
8064
|
bodyType: "json",
|
|
7873
8065
|
});
|
|
7874
|
-
|
|
7875
|
-
return $dara.cast<GetConnectionTicketResponse>(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
7876
|
-
} else {
|
|
7877
|
-
return $dara.cast<GetConnectionTicketResponse>(await this.execute(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
7878
|
-
}
|
|
7879
|
-
|
|
8066
|
+
return $dara.cast<GetConnectionTicketResponse>(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
7880
8067
|
}
|
|
7881
8068
|
|
|
7882
8069
|
/**
|
|
@@ -7984,12 +8171,7 @@ export default class Client extends OpenApi {
|
|
|
7984
8171
|
reqBodyType: "formData",
|
|
7985
8172
|
bodyType: "json",
|
|
7986
8173
|
});
|
|
7987
|
-
|
|
7988
|
-
return $dara.cast<GetLoginTokenResponse>(await this.callApi(params, req, runtime), new GetLoginTokenResponse({}));
|
|
7989
|
-
} else {
|
|
7990
|
-
return $dara.cast<GetLoginTokenResponse>(await this.execute(params, req, runtime), new GetLoginTokenResponse({}));
|
|
7991
|
-
}
|
|
7992
|
-
|
|
8174
|
+
return $dara.cast<GetLoginTokenResponse>(await this.callApi(params, req, runtime), new GetLoginTokenResponse({}));
|
|
7993
8175
|
}
|
|
7994
8176
|
|
|
7995
8177
|
/**
|
|
@@ -8039,12 +8221,7 @@ export default class Client extends OpenApi {
|
|
|
8039
8221
|
reqBodyType: "formData",
|
|
8040
8222
|
bodyType: "json",
|
|
8041
8223
|
});
|
|
8042
|
-
|
|
8043
|
-
return $dara.cast<IsKeepAliveResponse>(await this.callApi(params, req, runtime), new IsKeepAliveResponse({}));
|
|
8044
|
-
} else {
|
|
8045
|
-
return $dara.cast<IsKeepAliveResponse>(await this.execute(params, req, runtime), new IsKeepAliveResponse({}));
|
|
8046
|
-
}
|
|
8047
|
-
|
|
8224
|
+
return $dara.cast<IsKeepAliveResponse>(await this.callApi(params, req, runtime), new IsKeepAliveResponse({}));
|
|
8048
8225
|
}
|
|
8049
8226
|
|
|
8050
8227
|
/**
|
|
@@ -8094,12 +8271,7 @@ export default class Client extends OpenApi {
|
|
|
8094
8271
|
reqBodyType: "formData",
|
|
8095
8272
|
bodyType: "json",
|
|
8096
8273
|
});
|
|
8097
|
-
|
|
8098
|
-
return $dara.cast<QueryEdsAgentReportConfigResponse>(await this.callApi(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
|
|
8099
|
-
} else {
|
|
8100
|
-
return $dara.cast<QueryEdsAgentReportConfigResponse>(await this.execute(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
|
|
8101
|
-
}
|
|
8102
|
-
|
|
8274
|
+
return $dara.cast<QueryEdsAgentReportConfigResponse>(await this.callApi(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
|
|
8103
8275
|
}
|
|
8104
8276
|
|
|
8105
8277
|
/**
|
|
@@ -8181,12 +8353,7 @@ export default class Client extends OpenApi {
|
|
|
8181
8353
|
reqBodyType: "formData",
|
|
8182
8354
|
bodyType: "json",
|
|
8183
8355
|
});
|
|
8184
|
-
|
|
8185
|
-
return $dara.cast<RebootDesktopsResponse>(await this.callApi(params, req, runtime), new RebootDesktopsResponse({}));
|
|
8186
|
-
} else {
|
|
8187
|
-
return $dara.cast<RebootDesktopsResponse>(await this.execute(params, req, runtime), new RebootDesktopsResponse({}));
|
|
8188
|
-
}
|
|
8189
|
-
|
|
8356
|
+
return $dara.cast<RebootDesktopsResponse>(await this.callApi(params, req, runtime), new RebootDesktopsResponse({}));
|
|
8190
8357
|
}
|
|
8191
8358
|
|
|
8192
8359
|
/**
|
|
@@ -8250,12 +8417,7 @@ export default class Client extends OpenApi {
|
|
|
8250
8417
|
reqBodyType: "formData",
|
|
8251
8418
|
bodyType: "json",
|
|
8252
8419
|
});
|
|
8253
|
-
|
|
8254
|
-
return $dara.cast<RefreshLoginTokenResponse>(await this.callApi(params, req, runtime), new RefreshLoginTokenResponse({}));
|
|
8255
|
-
} else {
|
|
8256
|
-
return $dara.cast<RefreshLoginTokenResponse>(await this.execute(params, req, runtime), new RefreshLoginTokenResponse({}));
|
|
8257
|
-
}
|
|
8258
|
-
|
|
8420
|
+
return $dara.cast<RefreshLoginTokenResponse>(await this.callApi(params, req, runtime), new RefreshLoginTokenResponse({}));
|
|
8259
8421
|
}
|
|
8260
8422
|
|
|
8261
8423
|
/**
|
|
@@ -8307,12 +8469,7 @@ export default class Client extends OpenApi {
|
|
|
8307
8469
|
reqBodyType: "formData",
|
|
8308
8470
|
bodyType: "json",
|
|
8309
8471
|
});
|
|
8310
|
-
|
|
8311
|
-
return $dara.cast<ReportEdsAgentInfoResponse>(await this.callApi(params, req, runtime), new ReportEdsAgentInfoResponse({}));
|
|
8312
|
-
} else {
|
|
8313
|
-
return $dara.cast<ReportEdsAgentInfoResponse>(await this.execute(params, req, runtime), new ReportEdsAgentInfoResponse({}));
|
|
8314
|
-
}
|
|
8315
|
-
|
|
8472
|
+
return $dara.cast<ReportEdsAgentInfoResponse>(await this.callApi(params, req, runtime), new ReportEdsAgentInfoResponse({}));
|
|
8316
8473
|
}
|
|
8317
8474
|
|
|
8318
8475
|
/**
|
|
@@ -8372,12 +8529,7 @@ export default class Client extends OpenApi {
|
|
|
8372
8529
|
reqBodyType: "formData",
|
|
8373
8530
|
bodyType: "json",
|
|
8374
8531
|
});
|
|
8375
|
-
|
|
8376
|
-
return $dara.cast<ReportSessionStatusResponse>(await this.callApi(params, req, runtime), new ReportSessionStatusResponse({}));
|
|
8377
|
-
} else {
|
|
8378
|
-
return $dara.cast<ReportSessionStatusResponse>(await this.execute(params, req, runtime), new ReportSessionStatusResponse({}));
|
|
8379
|
-
}
|
|
8380
|
-
|
|
8532
|
+
return $dara.cast<ReportSessionStatusResponse>(await this.callApi(params, req, runtime), new ReportSessionStatusResponse({}));
|
|
8381
8533
|
}
|
|
8382
8534
|
|
|
8383
8535
|
/**
|
|
@@ -8390,6 +8542,8 @@ export default class Client extends OpenApi {
|
|
|
8390
8542
|
}
|
|
8391
8543
|
|
|
8392
8544
|
/**
|
|
8545
|
+
* Resets a password.
|
|
8546
|
+
*
|
|
8393
8547
|
* @param request - ResetPasswordRequest
|
|
8394
8548
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8395
8549
|
* @returns ResetPasswordResponse
|
|
@@ -8439,15 +8593,12 @@ export default class Client extends OpenApi {
|
|
|
8439
8593
|
reqBodyType: "formData",
|
|
8440
8594
|
bodyType: "json",
|
|
8441
8595
|
});
|
|
8442
|
-
|
|
8443
|
-
return $dara.cast<ResetPasswordResponse>(await this.callApi(params, req, runtime), new ResetPasswordResponse({}));
|
|
8444
|
-
} else {
|
|
8445
|
-
return $dara.cast<ResetPasswordResponse>(await this.execute(params, req, runtime), new ResetPasswordResponse({}));
|
|
8446
|
-
}
|
|
8447
|
-
|
|
8596
|
+
return $dara.cast<ResetPasswordResponse>(await this.callApi(params, req, runtime), new ResetPasswordResponse({}));
|
|
8448
8597
|
}
|
|
8449
8598
|
|
|
8450
8599
|
/**
|
|
8600
|
+
* Resets a password.
|
|
8601
|
+
*
|
|
8451
8602
|
* @param request - ResetPasswordRequest
|
|
8452
8603
|
* @returns ResetPasswordResponse
|
|
8453
8604
|
*/
|
|
@@ -8457,7 +8608,7 @@ export default class Client extends OpenApi {
|
|
|
8457
8608
|
}
|
|
8458
8609
|
|
|
8459
8610
|
/**
|
|
8460
|
-
*
|
|
8611
|
+
* Restores the data of a disk from a snapshot.
|
|
8461
8612
|
*
|
|
8462
8613
|
* @param request - ResetSnapshotRequest
|
|
8463
8614
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8508,16 +8659,11 @@ export default class Client extends OpenApi {
|
|
|
8508
8659
|
reqBodyType: "formData",
|
|
8509
8660
|
bodyType: "json",
|
|
8510
8661
|
});
|
|
8511
|
-
|
|
8512
|
-
return $dara.cast<ResetSnapshotResponse>(await this.callApi(params, req, runtime), new ResetSnapshotResponse({}));
|
|
8513
|
-
} else {
|
|
8514
|
-
return $dara.cast<ResetSnapshotResponse>(await this.execute(params, req, runtime), new ResetSnapshotResponse({}));
|
|
8515
|
-
}
|
|
8516
|
-
|
|
8662
|
+
return $dara.cast<ResetSnapshotResponse>(await this.callApi(params, req, runtime), new ResetSnapshotResponse({}));
|
|
8517
8663
|
}
|
|
8518
8664
|
|
|
8519
8665
|
/**
|
|
8520
|
-
*
|
|
8666
|
+
* Restores the data of a disk from a snapshot.
|
|
8521
8667
|
*
|
|
8522
8668
|
* @param request - ResetSnapshotRequest
|
|
8523
8669
|
* @returns ResetSnapshotResponse
|
|
@@ -8528,6 +8674,8 @@ export default class Client extends OpenApi {
|
|
|
8528
8674
|
}
|
|
8529
8675
|
|
|
8530
8676
|
/**
|
|
8677
|
+
* Sends a logon verification code.
|
|
8678
|
+
*
|
|
8531
8679
|
* @param request - SendTokenCodeRequest
|
|
8532
8680
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8533
8681
|
* @returns SendTokenCodeResponse
|
|
@@ -8581,15 +8729,12 @@ export default class Client extends OpenApi {
|
|
|
8581
8729
|
reqBodyType: "formData",
|
|
8582
8730
|
bodyType: "json",
|
|
8583
8731
|
});
|
|
8584
|
-
|
|
8585
|
-
return $dara.cast<SendTokenCodeResponse>(await this.callApi(params, req, runtime), new SendTokenCodeResponse({}));
|
|
8586
|
-
} else {
|
|
8587
|
-
return $dara.cast<SendTokenCodeResponse>(await this.execute(params, req, runtime), new SendTokenCodeResponse({}));
|
|
8588
|
-
}
|
|
8589
|
-
|
|
8732
|
+
return $dara.cast<SendTokenCodeResponse>(await this.callApi(params, req, runtime), new SendTokenCodeResponse({}));
|
|
8590
8733
|
}
|
|
8591
8734
|
|
|
8592
8735
|
/**
|
|
8736
|
+
* Sends a logon verification code.
|
|
8737
|
+
*
|
|
8593
8738
|
* @param request - SendTokenCodeRequest
|
|
8594
8739
|
* @returns SendTokenCodeResponse
|
|
8595
8740
|
*/
|
|
@@ -8660,12 +8805,7 @@ export default class Client extends OpenApi {
|
|
|
8660
8805
|
reqBodyType: "formData",
|
|
8661
8806
|
bodyType: "json",
|
|
8662
8807
|
});
|
|
8663
|
-
|
|
8664
|
-
return $dara.cast<SetFingerPrintTemplateResponse>(await this.callApi(params, req, runtime), new SetFingerPrintTemplateResponse({}));
|
|
8665
|
-
} else {
|
|
8666
|
-
return $dara.cast<SetFingerPrintTemplateResponse>(await this.execute(params, req, runtime), new SetFingerPrintTemplateResponse({}));
|
|
8667
|
-
}
|
|
8668
|
-
|
|
8808
|
+
return $dara.cast<SetFingerPrintTemplateResponse>(await this.callApi(params, req, runtime), new SetFingerPrintTemplateResponse({}));
|
|
8669
8809
|
}
|
|
8670
8810
|
|
|
8671
8811
|
/**
|
|
@@ -8727,12 +8867,7 @@ export default class Client extends OpenApi {
|
|
|
8727
8867
|
reqBodyType: "formData",
|
|
8728
8868
|
bodyType: "json",
|
|
8729
8869
|
});
|
|
8730
|
-
|
|
8731
|
-
return $dara.cast<SetFingerPrintTemplateDescriptionResponse>(await this.callApi(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
|
|
8732
|
-
} else {
|
|
8733
|
-
return $dara.cast<SetFingerPrintTemplateDescriptionResponse>(await this.execute(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
|
|
8734
|
-
}
|
|
8735
|
-
|
|
8870
|
+
return $dara.cast<SetFingerPrintTemplateDescriptionResponse>(await this.callApi(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
|
|
8736
8871
|
}
|
|
8737
8872
|
|
|
8738
8873
|
/**
|
|
@@ -8807,12 +8942,7 @@ export default class Client extends OpenApi {
|
|
|
8807
8942
|
reqBodyType: "formData",
|
|
8808
8943
|
bodyType: "json",
|
|
8809
8944
|
});
|
|
8810
|
-
|
|
8811
|
-
return $dara.cast<StartDesktopsResponse>(await this.callApi(params, req, runtime), new StartDesktopsResponse({}));
|
|
8812
|
-
} else {
|
|
8813
|
-
return $dara.cast<StartDesktopsResponse>(await this.execute(params, req, runtime), new StartDesktopsResponse({}));
|
|
8814
|
-
}
|
|
8815
|
-
|
|
8945
|
+
return $dara.cast<StartDesktopsResponse>(await this.callApi(params, req, runtime), new StartDesktopsResponse({}));
|
|
8816
8946
|
}
|
|
8817
8947
|
|
|
8818
8948
|
/**
|
|
@@ -8883,12 +9013,7 @@ export default class Client extends OpenApi {
|
|
|
8883
9013
|
reqBodyType: "formData",
|
|
8884
9014
|
bodyType: "json",
|
|
8885
9015
|
});
|
|
8886
|
-
|
|
8887
|
-
return $dara.cast<StartRecordContentResponse>(await this.callApi(params, req, runtime), new StartRecordContentResponse({}));
|
|
8888
|
-
} else {
|
|
8889
|
-
return $dara.cast<StartRecordContentResponse>(await this.execute(params, req, runtime), new StartRecordContentResponse({}));
|
|
8890
|
-
}
|
|
8891
|
-
|
|
9016
|
+
return $dara.cast<StartRecordContentResponse>(await this.callApi(params, req, runtime), new StartRecordContentResponse({}));
|
|
8892
9017
|
}
|
|
8893
9018
|
|
|
8894
9019
|
/**
|
|
@@ -8953,6 +9078,10 @@ export default class Client extends OpenApi {
|
|
|
8953
9078
|
query["SessionToken"] = request.sessionToken;
|
|
8954
9079
|
}
|
|
8955
9080
|
|
|
9081
|
+
if (!$dara.isNull(request.uuid)) {
|
|
9082
|
+
query["Uuid"] = request.uuid;
|
|
9083
|
+
}
|
|
9084
|
+
|
|
8956
9085
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8957
9086
|
query: OpenApiUtil.query(query),
|
|
8958
9087
|
});
|
|
@@ -8967,12 +9096,7 @@ export default class Client extends OpenApi {
|
|
|
8967
9096
|
reqBodyType: "formData",
|
|
8968
9097
|
bodyType: "json",
|
|
8969
9098
|
});
|
|
8970
|
-
|
|
8971
|
-
return $dara.cast<StopDesktopsResponse>(await this.callApi(params, req, runtime), new StopDesktopsResponse({}));
|
|
8972
|
-
} else {
|
|
8973
|
-
return $dara.cast<StopDesktopsResponse>(await this.execute(params, req, runtime), new StopDesktopsResponse({}));
|
|
8974
|
-
}
|
|
8975
|
-
|
|
9099
|
+
return $dara.cast<StopDesktopsResponse>(await this.callApi(params, req, runtime), new StopDesktopsResponse({}));
|
|
8976
9100
|
}
|
|
8977
9101
|
|
|
8978
9102
|
/**
|
|
@@ -9039,12 +9163,7 @@ export default class Client extends OpenApi {
|
|
|
9039
9163
|
reqBodyType: "formData",
|
|
9040
9164
|
bodyType: "json",
|
|
9041
9165
|
});
|
|
9042
|
-
|
|
9043
|
-
return $dara.cast<StopRecordContentResponse>(await this.callApi(params, req, runtime), new StopRecordContentResponse({}));
|
|
9044
|
-
} else {
|
|
9045
|
-
return $dara.cast<StopRecordContentResponse>(await this.execute(params, req, runtime), new StopRecordContentResponse({}));
|
|
9046
|
-
}
|
|
9047
|
-
|
|
9166
|
+
return $dara.cast<StopRecordContentResponse>(await this.callApi(params, req, runtime), new StopRecordContentResponse({}));
|
|
9048
9167
|
}
|
|
9049
9168
|
|
|
9050
9169
|
/**
|
|
@@ -9057,7 +9176,7 @@ export default class Client extends OpenApi {
|
|
|
9057
9176
|
}
|
|
9058
9177
|
|
|
9059
9178
|
/**
|
|
9060
|
-
*
|
|
9179
|
+
* Unbinds end users from cloud computers.
|
|
9061
9180
|
*
|
|
9062
9181
|
* @param request - UnbindUserDesktopRequest
|
|
9063
9182
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9108,16 +9227,11 @@ export default class Client extends OpenApi {
|
|
|
9108
9227
|
reqBodyType: "formData",
|
|
9109
9228
|
bodyType: "json",
|
|
9110
9229
|
});
|
|
9111
|
-
|
|
9112
|
-
return $dara.cast<UnbindUserDesktopResponse>(await this.callApi(params, req, runtime), new UnbindUserDesktopResponse({}));
|
|
9113
|
-
} else {
|
|
9114
|
-
return $dara.cast<UnbindUserDesktopResponse>(await this.execute(params, req, runtime), new UnbindUserDesktopResponse({}));
|
|
9115
|
-
}
|
|
9116
|
-
|
|
9230
|
+
return $dara.cast<UnbindUserDesktopResponse>(await this.callApi(params, req, runtime), new UnbindUserDesktopResponse({}));
|
|
9117
9231
|
}
|
|
9118
9232
|
|
|
9119
9233
|
/**
|
|
9120
|
-
*
|
|
9234
|
+
* Unbinds end users from cloud computers.
|
|
9121
9235
|
*
|
|
9122
9236
|
* @param request - UnbindUserDesktopRequest
|
|
9123
9237
|
* @returns UnbindUserDesktopResponse
|
|
@@ -9181,12 +9295,7 @@ export default class Client extends OpenApi {
|
|
|
9181
9295
|
reqBodyType: "formData",
|
|
9182
9296
|
bodyType: "json",
|
|
9183
9297
|
});
|
|
9184
|
-
|
|
9185
|
-
return $dara.cast<VerifyCredentialResponse>(await this.callApi(params, req, runtime), new VerifyCredentialResponse({}));
|
|
9186
|
-
} else {
|
|
9187
|
-
return $dara.cast<VerifyCredentialResponse>(await this.execute(params, req, runtime), new VerifyCredentialResponse({}));
|
|
9188
|
-
}
|
|
9189
|
-
|
|
9298
|
+
return $dara.cast<VerifyCredentialResponse>(await this.callApi(params, req, runtime), new VerifyCredentialResponse({}));
|
|
9190
9299
|
}
|
|
9191
9300
|
|
|
9192
9301
|
/**
|