@alicloud/ecd20201002 3.0.0 → 3.0.1
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 +56 -40
- package/dist/client.js +62 -66
- package/dist/client.js.map +1 -1
- package/dist/models/ApproveFotaUpdateRequest.d.ts +5 -7
- package/dist/models/ApproveFotaUpdateRequest.js.map +1 -1
- package/dist/models/ChangePasswordRequest.d.ts +3 -3
- package/dist/models/DeleteFingerPrintTemplateRequest.d.ts +6 -6
- package/dist/models/DeleteFingerPrintTemplateResponseBody.d.ts +1 -1
- package/dist/models/DescribeFingerPrintTemplatesRequest.d.ts +3 -3
- package/dist/models/DescribeFingerPrintTemplatesResponseBody.d.ts +5 -5
- package/dist/models/DescribeGlobalDesktopsRequest.d.ts +35 -28
- package/dist/models/DescribeGlobalDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeGlobalDesktopsResponseBody.d.ts +89 -70
- package/dist/models/DescribeGlobalDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +1 -1
- package/dist/models/DescribeSnapshotsRequest.d.ts +5 -5
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +11 -27
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/DescribeUserResourcesRequest.d.ts +35 -21
- package/dist/models/DescribeUserResourcesRequest.js +2 -0
- package/dist/models/DescribeUserResourcesRequest.js.map +1 -1
- package/dist/models/DescribeUserResourcesResponseBody.d.ts +216 -68
- package/dist/models/DescribeUserResourcesResponseBody.js +42 -1
- package/dist/models/DescribeUserResourcesResponseBody.js.map +1 -1
- package/dist/models/EncryptPasswordRequest.d.ts +2 -2
- package/dist/models/GetConnectionTicketRequest.d.ts +23 -17
- package/dist/models/GetConnectionTicketRequest.js.map +1 -1
- package/dist/models/GetConnectionTicketResponseBody.d.ts +8 -4
- package/dist/models/GetConnectionTicketResponseBody.js.map +1 -1
- package/dist/models/GetLoginTokenRequest.d.ts +34 -23
- package/dist/models/GetLoginTokenRequest.js.map +1 -1
- package/dist/models/GetLoginTokenResponseBody.d.ts +50 -25
- package/dist/models/GetLoginTokenResponseBody.js.map +1 -1
- package/dist/models/GetLoginTokenShrinkRequest.d.ts +34 -23
- package/dist/models/GetLoginTokenShrinkRequest.js.map +1 -1
- package/dist/models/RefreshLoginTokenRequest.d.ts +2 -2
- package/dist/models/ReportSessionStatusRequest.d.ts +20 -6
- package/dist/models/ReportSessionStatusRequest.js.map +1 -1
- package/dist/models/ReportSessionStatusResponseBody.d.ts +1 -1
- package/dist/models/ResetPasswordRequest.d.ts +5 -5
- package/dist/models/ResetSnapshotRequest.d.ts +4 -4
- package/dist/models/SendTokenCodeRequest.d.ts +6 -6
- package/dist/models/SetFingerPrintTemplateDescriptionRequest.d.ts +2 -2
- package/dist/models/SetFingerPrintTemplateRequest.d.ts +8 -8
- package/dist/models/SetFingerPrintTemplateResponseBody.d.ts +3 -3
- package/dist/models/StopDesktopsRequest.d.ts +33 -8
- package/dist/models/StopDesktopsRequest.js +2 -0
- package/dist/models/StopDesktopsRequest.js.map +1 -1
- package/dist/models/UnbindUserDesktopRequest.d.ts +4 -9
- package/dist/models/UnbindUserDesktopRequest.js.map +1 -1
- package/dist/models/VerifyCredentialRequest.d.ts +7 -9
- package/dist/models/VerifyCredentialRequest.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +12 -10
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +64 -66
- package/src/models/ApproveFotaUpdateRequest.ts +5 -7
- package/src/models/ChangePasswordRequest.ts +3 -3
- package/src/models/DeleteFingerPrintTemplateRequest.ts +6 -6
- package/src/models/DeleteFingerPrintTemplateResponseBody.ts +1 -1
- package/src/models/DescribeFingerPrintTemplatesRequest.ts +3 -3
- package/src/models/DescribeFingerPrintTemplatesResponseBody.ts +5 -5
- package/src/models/DescribeGlobalDesktopsRequest.ts +35 -28
- package/src/models/DescribeGlobalDesktopsResponseBody.ts +89 -70
- package/src/models/DescribeRegionsRequest.ts +1 -1
- package/src/models/DescribeRegionsResponseBody.ts +1 -1
- package/src/models/DescribeSnapshotsRequest.ts +5 -5
- package/src/models/DescribeSnapshotsResponseBody.ts +11 -27
- package/src/models/DescribeUserResourcesRequest.ts +37 -21
- package/src/models/DescribeUserResourcesResponseBody.ts +248 -68
- package/src/models/EncryptPasswordRequest.ts +2 -2
- package/src/models/GetConnectionTicketRequest.ts +23 -17
- package/src/models/GetConnectionTicketResponseBody.ts +8 -4
- package/src/models/GetLoginTokenRequest.ts +34 -23
- package/src/models/GetLoginTokenResponseBody.ts +50 -25
- package/src/models/GetLoginTokenShrinkRequest.ts +34 -23
- package/src/models/RefreshLoginTokenRequest.ts +2 -2
- package/src/models/ReportSessionStatusRequest.ts +20 -6
- package/src/models/ReportSessionStatusResponseBody.ts +1 -1
- package/src/models/ResetPasswordRequest.ts +5 -5
- package/src/models/ResetSnapshotRequest.ts +4 -4
- package/src/models/SendTokenCodeRequest.ts +6 -6
- package/src/models/SetFingerPrintTemplateDescriptionRequest.ts +2 -2
- package/src/models/SetFingerPrintTemplateRequest.ts +8 -8
- package/src/models/SetFingerPrintTemplateResponseBody.ts +3 -3
- package/src/models/StopDesktopsRequest.ts +35 -8
- package/src/models/UnbindUserDesktopRequest.ts +4 -9
- package/src/models/VerifyCredentialRequest.ts +7 -9
- package/src/models/model.ts +1 -0
|
@@ -5,12 +5,16 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The security code generated by the virtual MFA device. This parameter is required when
|
|
8
|
+
* The security code generated by the virtual MFA device. This parameter is required when CurrentStage is set to MFAVerify.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 47****
|
|
12
12
|
*/
|
|
13
13
|
authenticationCode?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The features supported by the client.
|
|
17
|
+
*/
|
|
14
18
|
availableFeaturesShrink?: string;
|
|
15
19
|
/**
|
|
16
20
|
* @remarks
|
|
@@ -22,6 +26,13 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
22
26
|
* f4a0dc8e-1702-4728-9a60-95b27a35****
|
|
23
27
|
*/
|
|
24
28
|
clientId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The name of the client.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* demo-client
|
|
35
|
+
*/
|
|
25
36
|
clientName?: string;
|
|
26
37
|
/**
|
|
27
38
|
* @remarks
|
|
@@ -33,7 +44,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
33
44
|
clientOS?: string;
|
|
34
45
|
/**
|
|
35
46
|
* @remarks
|
|
36
|
-
* The type of the
|
|
47
|
+
* The type of the Wuying software client.
|
|
37
48
|
*
|
|
38
49
|
* @example
|
|
39
50
|
* WINDOWS
|
|
@@ -41,7 +52,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
41
52
|
clientType?: string;
|
|
42
53
|
/**
|
|
43
54
|
* @remarks
|
|
44
|
-
* The client version. If you use the
|
|
55
|
+
* The client version. If you use the Wuying client, you can view this parameter in the **About** dialog box on the client logon page.
|
|
45
56
|
*
|
|
46
57
|
* @example
|
|
47
58
|
* 2.1.0-R-20210731.151756
|
|
@@ -49,14 +60,14 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
49
60
|
clientVersion?: string;
|
|
50
61
|
/**
|
|
51
62
|
* @remarks
|
|
52
|
-
* The current logon authentication stage.
|
|
63
|
+
* The current logon authentication stage. Valid values:
|
|
53
64
|
*
|
|
54
|
-
* -
|
|
55
|
-
* -
|
|
56
|
-
* -
|
|
57
|
-
* -
|
|
58
|
-
* -
|
|
59
|
-
* -
|
|
65
|
+
* - ADPassword: verifies user information. Specify this value when password-based authentication is used for a convenience account or an Active Directory (AD) account.
|
|
66
|
+
* - MFABind: binds a virtual MFA device.
|
|
67
|
+
* - MFAVerify: verifies the security code generated by the virtual MFA device.
|
|
68
|
+
* - TokenVerify: performs client-side secondary authentication.
|
|
69
|
+
* - ChangePassword: changes the user password.
|
|
70
|
+
* - KeepAliveVerify: exchanges a valid KeepAliveToken for a LoginToken.
|
|
60
71
|
*
|
|
61
72
|
* @example
|
|
62
73
|
* ADPassword
|
|
@@ -64,7 +75,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
64
75
|
currentStage?: string;
|
|
65
76
|
/**
|
|
66
77
|
* @remarks
|
|
67
|
-
* The
|
|
78
|
+
* The ID of the workspace. This parameter has the same meaning as OfficeSiteId. We recommend that you use OfficeSiteId instead of DirectoryId. You can specify only one of DirectoryId and OfficeSiteId.
|
|
68
79
|
*
|
|
69
80
|
* @example
|
|
70
81
|
* cn-hangzhou+dir-885351****
|
|
@@ -72,7 +83,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
72
83
|
directoryId?: string;
|
|
73
84
|
/**
|
|
74
85
|
* @remarks
|
|
75
|
-
* The username of the convenience user or AD user. This parameter is required when
|
|
86
|
+
* The username of the convenience user or AD user. This parameter is required when CurrentStage is set to ADPassword.
|
|
76
87
|
*
|
|
77
88
|
* @example
|
|
78
89
|
* alice
|
|
@@ -80,7 +91,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
80
91
|
endUserId?: string;
|
|
81
92
|
/**
|
|
82
93
|
* @remarks
|
|
83
|
-
* Specifies whether to keep the
|
|
94
|
+
* Specifies whether to keep the user logged on.
|
|
84
95
|
*
|
|
85
96
|
* @example
|
|
86
97
|
* false
|
|
@@ -88,7 +99,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
88
99
|
keepAlive?: boolean;
|
|
89
100
|
/**
|
|
90
101
|
* @remarks
|
|
91
|
-
* The token used to keep the
|
|
102
|
+
* The token used to keep the user logged on. After a successful logon and if the user enables the keep-logged-on option, the API returns KeepAliveToken. Within the validity period of KeepAliveToken, you can call the GetLoginToken operation and set CurrentStage to KeepAliveVerify to exchange it for a logon token (LoginToken). This parameter is required when CurrentStage is set to KeepAliveVerify.
|
|
92
103
|
*
|
|
93
104
|
* @example
|
|
94
105
|
* hide
|
|
@@ -96,7 +107,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
96
107
|
keepAliveToken?: string;
|
|
97
108
|
/**
|
|
98
109
|
* @remarks
|
|
99
|
-
* The new password. This parameter is required when
|
|
110
|
+
* The new password. This parameter is required when CurrentStage is set to ChangePassword.
|
|
100
111
|
*
|
|
101
112
|
* @example
|
|
102
113
|
* NewPassword
|
|
@@ -104,7 +115,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
104
115
|
newPassword?: string;
|
|
105
116
|
/**
|
|
106
117
|
* @remarks
|
|
107
|
-
* The
|
|
118
|
+
* The ID of the workspace.
|
|
108
119
|
*
|
|
109
120
|
* @example
|
|
110
121
|
* cn-hangzhou+dir-885351****
|
|
@@ -112,7 +123,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
112
123
|
officeSiteId?: string;
|
|
113
124
|
/**
|
|
114
125
|
* @remarks
|
|
115
|
-
* The old password. This parameter is required when
|
|
126
|
+
* The old password. This parameter is required when CurrentStage is set to ChangePassword.
|
|
116
127
|
*
|
|
117
128
|
* @example
|
|
118
129
|
* OldPassword
|
|
@@ -120,7 +131,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
120
131
|
oldPassword?: string;
|
|
121
132
|
/**
|
|
122
133
|
* @remarks
|
|
123
|
-
* The password of the convenience user or AD user. This parameter is required when
|
|
134
|
+
* The password of the convenience user or AD user. This parameter is required when CurrentStage is set to ADPassword.
|
|
124
135
|
*
|
|
125
136
|
* @example
|
|
126
137
|
* Password1234
|
|
@@ -128,7 +139,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
128
139
|
password?: string;
|
|
129
140
|
/**
|
|
130
141
|
* @remarks
|
|
131
|
-
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) to query the regions supported by Elastic Desktop Service.
|
|
142
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by Elastic Desktop Service.
|
|
132
143
|
*
|
|
133
144
|
* This parameter is required.
|
|
134
145
|
*
|
|
@@ -140,8 +151,8 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
140
151
|
* @remarks
|
|
141
152
|
* The session ID for logon.
|
|
142
153
|
*
|
|
143
|
-
* - If no virtual MFA device is bound or client secondary authentication is not enabled, you do not need to specify
|
|
144
|
-
* - If a virtual MFA device is bound or client secondary authentication is enabled, you must specify
|
|
154
|
+
* - If no virtual MFA device is bound or client-side secondary authentication is not enabled, you do not need to specify SessionId.
|
|
155
|
+
* - If a virtual MFA device is bound or client-side secondary authentication is enabled, you must specify SessionId in the logon authentication stages after ADPassword. You can obtain SessionId from the response of the convenience account verification (when the GetLoginToken request is in the ADPassword stage).
|
|
145
156
|
*
|
|
146
157
|
* @example
|
|
147
158
|
* cd45e873-650d-4d70-acb9-f996187a****
|
|
@@ -149,7 +160,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
149
160
|
sessionId?: string;
|
|
150
161
|
/**
|
|
151
162
|
* @remarks
|
|
152
|
-
* If client secondary authentication is enabled in the Elastic Desktop Service console and the current logon user is identified as risky,
|
|
163
|
+
* The verification code for secondary authentication. If client-side secondary authentication is enabled in the Elastic Desktop Service console and the current logon user is identified as risky, the verification code is sent to the email address of the end user. This parameter is required when CurrentStage is set to TokenVerify.
|
|
153
164
|
*
|
|
154
165
|
* @example
|
|
155
166
|
* 63****
|
|
@@ -157,7 +168,7 @@ export class GetLoginTokenShrinkRequest extends $dara.Model {
|
|
|
157
168
|
tokenCode?: string;
|
|
158
169
|
/**
|
|
159
170
|
* @remarks
|
|
160
|
-
* The unique identifier of the client. If you use the
|
|
171
|
+
* The unique identifier of the client. If you use the Wuying client, you can view this parameter in the **About** dialog box on the client logon page.
|
|
161
172
|
*
|
|
162
173
|
* @example
|
|
163
174
|
* C78CA9E99315687575DD2844C1F3****
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class RefreshLoginTokenRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The unique ID generated by the client, which follows the UUID format. This parameter is not a sensitive field and does not require encryption.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -51,7 +51,7 @@ export class RefreshLoginTokenRequest extends $dara.Model {
|
|
|
51
51
|
officeSiteId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The
|
|
54
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the list of regions supported by Elastic Desktop Service.
|
|
55
55
|
*
|
|
56
56
|
* This parameter is required.
|
|
57
57
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ReportSessionStatusRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The connected user.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* liming
|
|
@@ -13,7 +13,7 @@ export class ReportSessionStatusRequest extends $dara.Model {
|
|
|
13
13
|
endUserId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The instance ID.
|
|
17
17
|
*
|
|
18
18
|
* This parameter is required.
|
|
19
19
|
*
|
|
@@ -23,7 +23,7 @@ export class ReportSessionStatusRequest extends $dara.Model {
|
|
|
23
23
|
instanceId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* The region ID.
|
|
27
27
|
*
|
|
28
28
|
* This parameter is required.
|
|
29
29
|
*
|
|
@@ -33,7 +33,7 @@ export class ReportSessionStatusRequest extends $dara.Model {
|
|
|
33
33
|
regionId?: string;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
*
|
|
36
|
+
* The duration of the session change.
|
|
37
37
|
*
|
|
38
38
|
* This parameter is required.
|
|
39
39
|
*
|
|
@@ -43,7 +43,7 @@ export class ReportSessionStatusRequest extends $dara.Model {
|
|
|
43
43
|
sessionChangeTime?: number;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
*
|
|
46
|
+
* The session ID.
|
|
47
47
|
*
|
|
48
48
|
* This parameter is required.
|
|
49
49
|
*
|
|
@@ -53,7 +53,21 @@ export class ReportSessionStatusRequest extends $dara.Model {
|
|
|
53
53
|
sessionId?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
*
|
|
56
|
+
* The session status. Valid values:
|
|
57
|
+
*
|
|
58
|
+
* - SessionLogOff: The session is closed.
|
|
59
|
+
* - DesktopTimerDisconnection: The cloud computer is disconnected by a scheduled task.
|
|
60
|
+
* - SessionReboot: The session is rebooted.
|
|
61
|
+
* - DesktopTimerShutdown: The cloud computer is started by a scheduled task.
|
|
62
|
+
* - SessionLock: The logged-on user locks the session.
|
|
63
|
+
* - SessionShutdown: The session is shut down.
|
|
64
|
+
* - SessionUnLock: The logged-on user unlocks the session.
|
|
65
|
+
* - DesktopTimerReboot: The cloud computer is rebooted by a scheduled task.
|
|
66
|
+
* - ConsoleConnect: The console is connected before the session starts.
|
|
67
|
+
* - SessionLogOn: The session starts.
|
|
68
|
+
* - SessionPopup: The session exits before disconnection.
|
|
69
|
+
* - SessionDisconnect: The session is disconnected.
|
|
70
|
+
* - ConsoleDisconnect: The console is disconnected after the session is logged off.
|
|
57
71
|
*
|
|
58
72
|
* This parameter is required.
|
|
59
73
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ResetPasswordRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The unique ID generated by the client.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class ResetPasswordRequest extends $dara.Model {
|
|
|
15
15
|
clientId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but
|
|
18
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but 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).
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 2f00ab32-a473-4c90-9aae-dd8842ae****
|
|
@@ -23,7 +23,7 @@ export class ResetPasswordRequest extends $dara.Model {
|
|
|
23
23
|
clientToken?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The email address
|
|
26
|
+
* The email address.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* a***@example.edu
|
|
@@ -31,7 +31,7 @@ export class ResetPasswordRequest extends $dara.Model {
|
|
|
31
31
|
email?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The
|
|
34
|
+
* The username.
|
|
35
35
|
*
|
|
36
36
|
* This parameter is required.
|
|
37
37
|
*
|
|
@@ -61,7 +61,7 @@ export class ResetPasswordRequest extends $dara.Model {
|
|
|
61
61
|
regionId?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The phone number
|
|
64
|
+
* The phone number.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* 138****1111
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ResetSnapshotRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The unique ID generated by the client.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class ResetSnapshotRequest extends $dara.Model {
|
|
|
15
15
|
clientId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The cloud
|
|
18
|
+
* The cloud desktop ID.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* ecd-e964cr92klwqb****
|
|
@@ -33,7 +33,7 @@ export class ResetSnapshotRequest extends $dara.Model {
|
|
|
33
33
|
loginToken?: string;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The region ID. You can call the [DescribeRegions](
|
|
36
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/437810.html) operation to query the list of regions supported by Elastic Desktop Service.
|
|
37
37
|
*
|
|
38
38
|
* This parameter is required.
|
|
39
39
|
*
|
|
@@ -61,7 +61,7 @@ export class ResetSnapshotRequest extends $dara.Model {
|
|
|
61
61
|
snapshotId?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* Specifies whether to
|
|
64
|
+
* Specifies whether to shut down the cloud desktop.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* true
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SendTokenCodeRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The unique ID generated by the client.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class SendTokenCodeRequest extends $dara.Model {
|
|
|
15
15
|
clientId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The operating system on
|
|
18
|
+
* The operating system that runs on the client.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* Windows_NT 10.0.18363 x64
|
|
@@ -23,7 +23,7 @@ export class SendTokenCodeRequest extends $dara.Model {
|
|
|
23
23
|
clientOS?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The client version. If you use
|
|
26
|
+
* The client version. If you use the China Desktop Service (China Desktop Service) client, you can view this parameter on the **About** panel on the client logon page.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* 2.1.0-R-20210731.151756
|
|
@@ -31,7 +31,7 @@ export class SendTokenCodeRequest extends $dara.Model {
|
|
|
31
31
|
clientVersion?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The username
|
|
34
|
+
* The username.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* alice
|
|
@@ -39,7 +39,7 @@ export class SendTokenCodeRequest extends $dara.Model {
|
|
|
39
39
|
endUserId?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The logon
|
|
42
|
+
* The logon credential.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* v28101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
|
|
@@ -63,7 +63,7 @@ export class SendTokenCodeRequest extends $dara.Model {
|
|
|
63
63
|
sessionId?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* If
|
|
66
|
+
* The secondary authentication verification code. If secondary authentication is enabled on the China Desktop Service Enterprise Edition console and a risk is detected for the current logon user, this verification code is sent to the email address of the end user. This parameter is required when `CurrentStage` is set to `TokenVerify`.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* 63****
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SetFingerPrintTemplateDescriptionRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The unique ID generated by the client.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class SetFingerPrintTemplateDescriptionRequest extends $dara.Model {
|
|
|
15
15
|
clientId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but 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).
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 40401e62-5caf-4508-8de7-bf98af12****
|
|
@@ -15,7 +15,7 @@ export class SetFingerPrintTemplateRequest extends $dara.Model {
|
|
|
15
15
|
clientId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but 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).
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 123e4567-e89b-12d3-a456-42665544****
|
|
@@ -23,7 +23,7 @@ export class SetFingerPrintTemplateRequest extends $dara.Model {
|
|
|
23
23
|
clientToken?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* The description.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* testDescription
|
|
@@ -39,7 +39,7 @@ export class SetFingerPrintTemplateRequest extends $dara.Model {
|
|
|
39
39
|
encryptedFingerPrintTemplate?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
*
|
|
42
|
+
* The encryption key.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* drjfspchj
|
|
@@ -47,7 +47,7 @@ export class SetFingerPrintTemplateRequest extends $dara.Model {
|
|
|
47
47
|
encryptedKey?: string;
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
*
|
|
50
|
+
* The fingerprint template.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* goG3gG8AAABhujtscn
|
|
@@ -55,7 +55,7 @@ export class SetFingerPrintTemplateRequest extends $dara.Model {
|
|
|
55
55
|
fingerPrintTemplate?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
*
|
|
58
|
+
* The logon credential.
|
|
59
59
|
*
|
|
60
60
|
* This parameter is required.
|
|
61
61
|
*
|
|
@@ -65,7 +65,7 @@ export class SetFingerPrintTemplateRequest extends $dara.Model {
|
|
|
65
65
|
loginToken?: string;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
*
|
|
68
|
+
* The password.
|
|
69
69
|
*
|
|
70
70
|
* This parameter is required.
|
|
71
71
|
*
|
|
@@ -75,7 +75,7 @@ export class SetFingerPrintTemplateRequest extends $dara.Model {
|
|
|
75
75
|
password?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
*
|
|
78
|
+
* The region ID.
|
|
79
79
|
*
|
|
80
80
|
* This parameter is required.
|
|
81
81
|
*
|
|
@@ -85,7 +85,7 @@ export class SetFingerPrintTemplateRequest extends $dara.Model {
|
|
|
85
85
|
regionId?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
*
|
|
88
|
+
* The session ID.
|
|
89
89
|
*
|
|
90
90
|
* This parameter is required.
|
|
91
91
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SetFingerPrintTemplateResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The encrypted password.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 0711abb9-4cf8-41b2-9d0e-b51209468631;da4VFPNxwY3CZegFjOrCNw==;iHp2l9/qGcfD4tWx7jZIZQ==
|
|
@@ -13,7 +13,7 @@ export class SetFingerPrintTemplateResponseBody extends $dara.Model {
|
|
|
13
13
|
encryptedPassword?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The index.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1
|
|
@@ -21,7 +21,7 @@ export class SetFingerPrintTemplateResponseBody extends $dara.Model {
|
|
|
21
21
|
index?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
24
|
+
* The request ID.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* CDE666EA-4FCD-5024-895C-8698E3D3****
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class StopDesktopsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The unique ID generated by the client.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
15
15
|
clientId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The operating system of the device
|
|
18
|
+
* The operating system of the device on which the client runs.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* Windows_NT 10.0.18363 x64
|
|
@@ -23,7 +23,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
23
23
|
clientOS?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* The client token that is used to ensure the idempotence of the request. You can generate the token on your client and ensure that the token is unique across different requests. The client 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).
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* 6ce412a8-399f-49f9-9518-66ee028a****
|
|
@@ -31,7 +31,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
31
31
|
clientToken?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The client version. If you use the
|
|
34
|
+
* The client version. If you use the Wuying client, you can view this parameter in the **About** dialog box on the client logon page.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* 2.1.0-R-20210731.151756
|
|
@@ -39,7 +39,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
39
39
|
clientVersion?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The
|
|
42
|
+
* The list of cloud desktop IDs. You can specify 1 to 20 IDs.
|
|
43
43
|
*
|
|
44
44
|
* This parameter is required.
|
|
45
45
|
*
|
|
@@ -49,16 +49,34 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
49
49
|
desktopId?: string[];
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
*
|
|
52
|
+
* Specifies whether to force stop the cloud desktop. Valid values:
|
|
53
|
+
*
|
|
54
|
+
* - true: Force stops the cloud desktop.
|
|
55
|
+
* >Warning: Force stopping is equivalent to a power outage and may result in the loss of data that is not written to the disk in the instance operating system. Proceed with caution.
|
|
56
|
+
* - false: Normally shuts down the cloud desktop.
|
|
57
|
+
*
|
|
58
|
+
* Default value: false.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* true
|
|
62
|
+
*/
|
|
63
|
+
forceStop?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The logon token.
|
|
53
67
|
*
|
|
54
68
|
* @example
|
|
55
69
|
* v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
|
|
56
70
|
*/
|
|
57
71
|
loginToken?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* Specifies whether to update the operating system when stopping the cloud desktop.
|
|
75
|
+
*/
|
|
58
76
|
osUpdate?: boolean;
|
|
59
77
|
/**
|
|
60
78
|
* @remarks
|
|
61
|
-
* The region ID.
|
|
79
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the list of regions supported by Wuying Cloud Desktop.
|
|
62
80
|
*
|
|
63
81
|
* This parameter is required.
|
|
64
82
|
*
|
|
@@ -76,12 +94,19 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
76
94
|
sessionId?: string;
|
|
77
95
|
/**
|
|
78
96
|
* @remarks
|
|
79
|
-
* The logon
|
|
97
|
+
* The logon token.
|
|
80
98
|
*
|
|
81
99
|
* @example
|
|
82
100
|
* 04b7b80a0b020715c5c1b4175fc4771698****9e2a759557a4624665fd53ae40
|
|
83
101
|
*/
|
|
84
102
|
sessionToken?: string;
|
|
103
|
+
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* The unique identifier of the client.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* 91761ED27169E2FC564F29388E2D****
|
|
109
|
+
*/
|
|
85
110
|
uuid?: string;
|
|
86
111
|
static names(): { [key: string]: string } {
|
|
87
112
|
return {
|
|
@@ -90,6 +115,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
90
115
|
clientToken: 'ClientToken',
|
|
91
116
|
clientVersion: 'ClientVersion',
|
|
92
117
|
desktopId: 'DesktopId',
|
|
118
|
+
forceStop: 'ForceStop',
|
|
93
119
|
loginToken: 'LoginToken',
|
|
94
120
|
osUpdate: 'OsUpdate',
|
|
95
121
|
regionId: 'RegionId',
|
|
@@ -106,6 +132,7 @@ export class StopDesktopsRequest extends $dara.Model {
|
|
|
106
132
|
clientToken: 'string',
|
|
107
133
|
clientVersion: 'string',
|
|
108
134
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
135
|
+
forceStop: 'boolean',
|
|
109
136
|
loginToken: 'string',
|
|
110
137
|
osUpdate: 'boolean',
|
|
111
138
|
regionId: 'string',
|