@alicloud/ecd20201002 2.1.17 → 3.0.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.
Files changed (102) hide show
  1. package/dist/client.d.ts +40 -41
  2. package/dist/client.js +66 -71
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ChangePasswordRequest.d.ts +1 -1
  5. package/dist/models/DeleteFingerPrintTemplateRequest.d.ts +6 -6
  6. package/dist/models/DeleteFingerPrintTemplateResponseBody.d.ts +1 -1
  7. package/dist/models/DescribeFingerPrintTemplatesResponseBody.d.ts +1 -1
  8. package/dist/models/DescribeGlobalDesktopsRequest.d.ts +28 -56
  9. package/dist/models/DescribeGlobalDesktopsRequest.js.map +1 -1
  10. package/dist/models/DescribeGlobalDesktopsResponseBody.d.ts +77 -153
  11. package/dist/models/DescribeGlobalDesktopsResponseBody.js.map +1 -1
  12. package/dist/models/DescribeOfficeSitesRequest.d.ts +8 -0
  13. package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
  14. package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -0
  15. package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
  16. package/dist/models/DescribeRegionsRequest.d.ts +1 -1
  17. package/dist/models/DescribeRegionsResponseBody.d.ts +2 -2
  18. package/dist/models/DescribeSnapshotsResponseBody.d.ts +1 -1
  19. package/dist/models/DescribeUserResourcesRequest.d.ts +26 -75
  20. package/dist/models/DescribeUserResourcesRequest.js.map +1 -1
  21. package/dist/models/DescribeUserResourcesResponseBody.d.ts +173 -195
  22. package/dist/models/DescribeUserResourcesResponseBody.js +69 -1
  23. package/dist/models/DescribeUserResourcesResponseBody.js.map +1 -1
  24. package/dist/models/GetCloudDriveServiceMountTokenRequest.d.ts +15 -0
  25. package/dist/models/GetCloudDriveServiceMountTokenRequest.js.map +1 -1
  26. package/dist/models/GetCloudDriveServiceMountTokenResponseBody.d.ts +15 -0
  27. package/dist/models/GetCloudDriveServiceMountTokenResponseBody.js.map +1 -1
  28. package/dist/models/GetConnectionTicketRequest.d.ts +30 -17
  29. package/dist/models/GetConnectionTicketRequest.js.map +1 -1
  30. package/dist/models/GetConnectionTicketResponseBody.d.ts +26 -2
  31. package/dist/models/GetConnectionTicketResponseBody.js.map +1 -1
  32. package/dist/models/GetLoginTokenRequest.d.ts +28 -44
  33. package/dist/models/GetLoginTokenRequest.js.map +1 -1
  34. package/dist/models/GetLoginTokenResponseBody.d.ts +34 -32
  35. package/dist/models/GetLoginTokenResponseBody.js +4 -0
  36. package/dist/models/GetLoginTokenResponseBody.js.map +1 -1
  37. package/dist/models/GetLoginTokenShrinkRequest.d.ts +28 -44
  38. package/dist/models/GetLoginTokenShrinkRequest.js.map +1 -1
  39. package/dist/models/RebootDesktopsRequest.d.ts +10 -10
  40. package/dist/models/RebootDesktopsResponseBody.d.ts +1 -1
  41. package/dist/models/RefreshLoginTokenRequest.d.ts +17 -0
  42. package/dist/models/RefreshLoginTokenRequest.js.map +1 -1
  43. package/dist/models/RefreshLoginTokenResponseBody.d.ts +6 -0
  44. package/dist/models/RefreshLoginTokenResponseBody.js.map +1 -1
  45. package/dist/models/ReportSessionStatusRequest.d.ts +13 -0
  46. package/dist/models/ReportSessionStatusRequest.js.map +1 -1
  47. package/dist/models/ReportSessionStatusResponseBody.d.ts +3 -0
  48. package/dist/models/ReportSessionStatusResponseBody.js.map +1 -1
  49. package/dist/models/ResetPasswordRequest.d.ts +2 -2
  50. package/dist/models/SetFingerPrintTemplateDescriptionRequest.d.ts +3 -3
  51. package/dist/models/SetFingerPrintTemplateRequest.d.ts +9 -9
  52. package/dist/models/SetFingerPrintTemplateResponseBody.d.ts +3 -3
  53. package/dist/models/StopDesktopsRequest.d.ts +8 -8
  54. package/dist/models/model.d.ts +2 -3
  55. package/dist/models/model.js +17 -19
  56. package/dist/models/model.js.map +1 -1
  57. package/package.json +2 -2
  58. package/src/client.ts +66 -76
  59. package/src/models/ChangePasswordRequest.ts +1 -1
  60. package/src/models/DeleteFingerPrintTemplateRequest.ts +6 -6
  61. package/src/models/DeleteFingerPrintTemplateResponseBody.ts +1 -1
  62. package/src/models/DescribeFingerPrintTemplatesResponseBody.ts +1 -1
  63. package/src/models/DescribeGlobalDesktopsRequest.ts +28 -56
  64. package/src/models/DescribeGlobalDesktopsResponseBody.ts +77 -153
  65. package/src/models/DescribeOfficeSitesRequest.ts +8 -0
  66. package/src/models/DescribeOfficeSitesResponseBody.ts +23 -0
  67. package/src/models/DescribeRegionsRequest.ts +1 -1
  68. package/src/models/DescribeRegionsResponseBody.ts +2 -2
  69. package/src/models/DescribeSnapshotsResponseBody.ts +1 -1
  70. package/src/models/DescribeUserResourcesRequest.ts +26 -75
  71. package/src/models/DescribeUserResourcesResponseBody.ts +223 -195
  72. package/src/models/GetCloudDriveServiceMountTokenRequest.ts +15 -0
  73. package/src/models/GetCloudDriveServiceMountTokenResponseBody.ts +15 -0
  74. package/src/models/GetConnectionTicketRequest.ts +30 -17
  75. package/src/models/GetConnectionTicketResponseBody.ts +26 -2
  76. package/src/models/GetLoginTokenRequest.ts +28 -44
  77. package/src/models/GetLoginTokenResponseBody.ts +38 -32
  78. package/src/models/GetLoginTokenShrinkRequest.ts +28 -44
  79. package/src/models/RebootDesktopsRequest.ts +10 -10
  80. package/src/models/RebootDesktopsResponseBody.ts +1 -1
  81. package/src/models/RefreshLoginTokenRequest.ts +17 -0
  82. package/src/models/RefreshLoginTokenResponseBody.ts +6 -0
  83. package/src/models/ReportSessionStatusRequest.ts +13 -0
  84. package/src/models/ReportSessionStatusResponseBody.ts +3 -0
  85. package/src/models/ResetPasswordRequest.ts +2 -2
  86. package/src/models/SetFingerPrintTemplateDescriptionRequest.ts +3 -3
  87. package/src/models/SetFingerPrintTemplateRequest.ts +9 -9
  88. package/src/models/SetFingerPrintTemplateResponseBody.ts +3 -3
  89. package/src/models/StopDesktopsRequest.ts +8 -8
  90. package/src/models/model.ts +2 -3
  91. package/dist/models/IsKeepAliveRequest.d.ts +0 -39
  92. package/dist/models/IsKeepAliveRequest.js +0 -62
  93. package/dist/models/IsKeepAliveRequest.js.map +0 -1
  94. package/dist/models/IsKeepAliveResponse.d.ts +0 -19
  95. package/dist/models/IsKeepAliveResponse.js +0 -69
  96. package/dist/models/IsKeepAliveResponse.js.map +0 -1
  97. package/dist/models/IsKeepAliveResponseBody.d.ts +0 -45
  98. package/dist/models/IsKeepAliveResponseBody.js +0 -64
  99. package/dist/models/IsKeepAliveResponseBody.js.map +0 -1
  100. package/src/models/IsKeepAliveRequest.ts +0 -56
  101. package/src/models/IsKeepAliveResponse.ts +0 -40
  102. package/src/models/IsKeepAliveResponseBody.ts +0 -64
@@ -4,26 +4,41 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class GetCloudDriveServiceMountTokenRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Unique ID generated by the client.
9
+ *
7
10
  * @example
8
11
  * 00e122c3-13fb-4fc3-bc7a-5d9acb89****
9
12
  */
10
13
  clientId?: string;
11
14
  /**
15
+ * @remarks
16
+ * Logon credential.
17
+ *
12
18
  * @example
13
19
  * v1972cd3446f0e523598916520951742474e6624fcdea6652994d47bc6157d27f7cc900c339db67882j3no4nh5bk3b4****
14
20
  */
15
21
  loginToken?: string;
16
22
  /**
23
+ * @remarks
24
+ * Office Network ID.
25
+ *
17
26
  * @example
18
27
  * cn-hangzhou+dir-7186763****
19
28
  */
20
29
  officeSiteId?: string;
21
30
  /**
31
+ * @remarks
32
+ * Region ID.
33
+ *
22
34
  * @example
23
35
  * cn-hangzhou
24
36
  */
25
37
  regionId?: string;
26
38
  /**
39
+ * @remarks
40
+ * Session ID.
41
+ *
27
42
  * @example
28
43
  * 14e1fe41-ce9b-491d-aa8c-345jk2n4bk****
29
44
  */
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Enterprise File Gateway domain name.
9
+ *
7
10
  * @example
8
11
  * h****
9
12
  */
10
13
  domainId?: string;
11
14
  /**
15
+ * @remarks
16
+ * Expiration Time.
17
+ *
12
18
  * @example
13
19
  * 2022-10-10T04:41:35Z
14
20
  */
15
21
  expiredAfter?: string;
16
22
  /**
23
+ * @remarks
24
+ * Current status of the Enterprise File Gateway user.
25
+ *
17
26
  * @example
18
27
  * enabled
19
28
  */
@@ -35,6 +44,9 @@ export class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model
35
44
  */
36
45
  totalSize?: number;
37
46
  /**
47
+ * @remarks
48
+ * Used capacity. Unit: GiB.
49
+ *
38
50
  * @example
39
51
  * 605089
40
52
  */
@@ -72,6 +84,9 @@ export class GetCloudDriveServiceMountTokenResponseBodyToken extends $dara.Model
72
84
 
73
85
  export class GetCloudDriveServiceMountTokenResponseBody extends $dara.Model {
74
86
  /**
87
+ * @remarks
88
+ * Request ID.
89
+ *
75
90
  * @example
76
91
  * DC27288A-F9E1-5092-9B5B-71C27D15****
77
92
  */
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetConnectionTicketRequestTag extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The tag key. If you specify the `Tag` parameter, you must also specify the `Key` parameter. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun` and contain only spaces.
8
+ * The tag key. If you specify `Tag`, `Key` is required. The key cannot exceed 128 characters in length. It cannot start with `aliyun` or `acs:`, contain `http://` or `https://`, or consist of only spaces.
9
9
  *
10
10
  * @example
11
11
  * TestKey
@@ -13,7 +13,7 @@ export class GetConnectionTicketRequestTag extends $dara.Model {
13
13
  key?: string;
14
14
  /**
15
15
  * @remarks
16
- * The tag value. You can specify an empty string as a tag value. A tag value can be up to 128 characters in length and cannot start with `acs:`. It cannot contain `http://` or `https://`.
16
+ * The tag value. The value can be an empty string. It can be up to 128 characters in length. It cannot start with `acs:` or contain `http://` or `https://`.
17
17
  *
18
18
  * @example
19
19
  * TestValue
@@ -46,6 +46,8 @@ export class GetConnectionTicketRequest extends $dara.Model {
46
46
  accessType?: string;
47
47
  /**
48
48
  * @remarks
49
+ * A unique ID generated by the client.
50
+ *
49
51
  * This parameter is required.
50
52
  *
51
53
  * @example
@@ -53,33 +55,37 @@ export class GetConnectionTicketRequest extends $dara.Model {
53
55
  */
54
56
  clientId?: string;
55
57
  /**
58
+ * @remarks
59
+ * The client operating system.
60
+ *
56
61
  * @example
57
62
  * Windows_NT 10.0.18363 x64
58
63
  */
59
64
  clientOS?: string;
60
65
  /**
61
66
  * @remarks
62
- * The type of the client.
63
- *
64
- * Valid values:
65
- *
66
- * * html5: web client
67
- * * Linux: self-developed hardware terminal
68
- * * android: Android client
69
- * * windows: Windows client
70
- * * ios: iOS client
71
- * * macos: macOS client
67
+ * The client type.
72
68
  *
73
69
  * @example
74
70
  * windows
75
71
  */
76
72
  clientType?: string;
77
73
  /**
74
+ * @remarks
75
+ * The client version.
76
+ *
78
77
  * @example
79
78
  * 2.1.0-R-20210731.151756
80
79
  */
81
80
  clientVersion?: string;
82
81
  /**
82
+ * @remarks
83
+ * This parameter lets you configure a custom user-mode application. After a ticket is obtained, the application is automatically run.
84
+ *
85
+ * - appPath: A string that specifies the path of the application startup file. For example, `"C:\\Program Files (x86)\\000\\000.exe"`. Note: Use double backslashes (\\) as separators.
86
+ *
87
+ * - appParameter: A string that specifies the startup parameters of the application. For example, `"meetingid 000 meetingname aaa"`. Note: Use spaces to separate parameters.
88
+ *
83
89
  * @example
84
90
  * {
85
91
  * "startApplication": {
@@ -100,7 +106,7 @@ export class GetConnectionTicketRequest extends $dara.Model {
100
106
  commandContent?: string;
101
107
  /**
102
108
  * @remarks
103
- * The cloud compute ID.
109
+ * The cloud computer ID.
104
110
  *
105
111
  * @example
106
112
  * ecd-gx2x1dhsmucyy****
@@ -108,6 +114,8 @@ export class GetConnectionTicketRequest extends $dara.Model {
108
114
  desktopId?: string;
109
115
  /**
110
116
  * @remarks
117
+ * The logon credential. Call GetLoginToken to obtain this credential.
118
+ *
111
119
  * This parameter is required.
112
120
  *
113
121
  * @example
@@ -117,7 +125,7 @@ export class GetConnectionTicketRequest extends $dara.Model {
117
125
  ownerId?: number;
118
126
  /**
119
127
  * @remarks
120
- * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.
128
+ * The region ID. Call [](t2223508.xdita#)to get a list of regions that Elastic Desktop Service (EDS) supports.
121
129
  *
122
130
  * This parameter is required.
123
131
  *
@@ -128,19 +136,21 @@ export class GetConnectionTicketRequest extends $dara.Model {
128
136
  resourceOwnerAccount?: string;
129
137
  resourceOwnerId?: number;
130
138
  /**
139
+ * @remarks
140
+ * The session ID. Call GetLoginToken to obtain this ID.
141
+ *
131
142
  * @example
132
143
  * cd45e873-650d-4d70-acb9-f996187a****
133
144
  */
134
145
  sessionId?: string;
135
146
  /**
136
147
  * @remarks
137
- * The tags. You can specify 1 to 20 tags.
148
+ * A list of tags. You can include 1 to 20 tags.
138
149
  */
139
150
  tag?: GetConnectionTicketRequestTag[];
140
151
  /**
141
152
  * @remarks
142
- * The ID of the cloud computer connection task.\\
143
- * The first time you call the GetConnectionTicket operation, you do not need to configure this parameter. When you call the GetConnectionTicket operation later, set this parameter to the value of the `TaskId` parameter returned from the previous invocation.
153
+ * The ID of the cloud computer connection task.<br>Do not specify this parameter in your first call. For subsequent calls, set this parameter to the `TaskId` returned from the previous call.<br>
144
154
  *
145
155
  * @example
146
156
  * 2afbad19-778a-4fc5-9674-1f19c638****
@@ -148,6 +158,9 @@ export class GetConnectionTicketRequest extends $dara.Model {
148
158
  taskId?: string;
149
159
  ticketBlackList?: string[];
150
160
  /**
161
+ * @remarks
162
+ * The unique identifier of the client. If you use a Alibaba Cloud Workspace client, find this parameter in the **About** dialog box on the logon screen.
163
+ *
151
164
  * @example
152
165
  * 28c80e90-f71e-4c23-93d6-1225329cf949
153
166
  */
@@ -6,36 +6,60 @@ export class GetConnectionTicketResponseBody extends $dara.Model {
6
6
  desktopId?: string;
7
7
  p2PToken?: string;
8
8
  /**
9
+ * @remarks
10
+ * The request ID.
11
+ *
9
12
  * @example
10
13
  * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
11
14
  */
12
15
  requestId?: string;
13
16
  /**
17
+ * @remarks
18
+ * The ticket used to connect to the user instance. Before you use the ticket, decode its content from Base64, save it as an .ica file, and then open the file. The following code provides a Python example:
19
+ *
20
+ * ```
21
+ * import base64
22
+ * response = {
23
+ * "Ticket": "W0VuY29kaW5nXQ0KSW5wdXRFbmNvZGluZz1V********",
24
+ * "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
25
+ * }
26
+ * f = open (\\"xxx.ica\\", \\"w\\")
27
+ * out = base64.b64decode(response[\\"Ticket\\"])
28
+ * f.write(out)
29
+ * f.close()
30
+ * ```
31
+ *
14
32
  * @example
15
33
  * W0VuY29kaW5nXQ0KSW5wdXRFbmNvZGluZz1V********
16
34
  */
17
35
  taskCode?: string;
18
36
  /**
19
37
  * @remarks
20
- * The ID of the task to connect to the cloud computer.
38
+ * The ID of the cloud computer connection task.
21
39
  *
22
40
  * @example
23
41
  * 2afbad19-778a-4fc5-9674-1f19c63862da
24
42
  */
25
43
  taskId?: string;
26
44
  /**
45
+ * @remarks
46
+ * The ID of the cloud computer connection task.
47
+ *
27
48
  * @example
28
49
  * 2afbad19-778a-4fc5-9674-1f19c638****
29
50
  */
30
51
  taskMessage?: string;
31
52
  /**
53
+ * @remarks
54
+ * The task status.
55
+ *
32
56
  * @example
33
57
  * FINISHED
34
58
  */
35
59
  taskStatus?: string;
36
60
  /**
37
61
  * @remarks
38
- * The credentials for connecting to the cloud computer.
62
+ * The connection ticket for the cloud computer.
39
63
  *
40
64
  * @example
41
65
  * W0VuY29kaW5nXQ0KSW5wdXRFbmNvZGluZz1V********
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetLoginTokenRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The verification code that is generated by the virtual MFA device. This parameter is required if you set `CurrentStage` to `MFAVerify`.
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****
@@ -14,7 +14,7 @@ export class GetLoginTokenRequest extends $dara.Model {
14
14
  availableFeatures?: { [key: string]: string };
15
15
  /**
16
16
  * @remarks
17
- * The ID of the Alibaba Cloud Workspace client. The system generates a unique ID for each client.
17
+ * The unique ID generated by the client.
18
18
  *
19
19
  * This parameter is required.
20
20
  *
@@ -25,50 +25,38 @@ export class GetLoginTokenRequest extends $dara.Model {
25
25
  clientName?: string;
26
26
  /**
27
27
  * @remarks
28
- * The operating system (OS) of the device that runs an Alibaba Cloud Workspace client.
28
+ * The operating system of the device on which the client runs.
29
29
  *
30
30
  * @example
31
- * Windows_NT 10.0.1**** x64
31
+ * Windows_NT 10.0.18363 x64
32
32
  */
33
33
  clientOS?: string;
34
34
  /**
35
35
  * @remarks
36
- * The type of Alibaba Cloud Workspace clients.
37
- *
38
- * Valid values:
39
- *
40
- * * HTML5: web client.
41
- *
42
- * * WINDOWS: Windows client.
43
- *
44
- * * MACOS: macOS client.
45
- *
46
- * * IOS: iOS client.
47
- *
48
- * * ANDROID: Android client.
36
+ * The type of the Elastic Desktop Service software client.
49
37
  *
50
38
  * @example
51
- * Windows
39
+ * WINDOWS
52
40
  */
53
41
  clientType?: string;
54
42
  /**
55
43
  * @remarks
56
- * The version of the client. When you use an Alibaba Cloud Workspace client, you can view the client version in the **About** dialog box on the client logon page.
44
+ * The client version. If you use the Elastic Desktop Service client, you can view this parameter in the **About** dialog box on the client logon page.
57
45
  *
58
46
  * @example
59
- * 2.1.0-R-20210731.1****
47
+ * 2.1.0-R-20210731.151756
60
48
  */
61
49
  clientVersion?: string;
62
50
  /**
63
51
  * @remarks
64
- * The logon authentication stage. Valid values:
52
+ * The current logon authentication stage. The stages are as follows:
65
53
  *
66
- * * `ADPassword`: the stage to verify the identity of the Active Directory (AD) user. You must specify the value when the system verifies the identity of a convenience account or an AD account.
67
- * * `MFABind: the stage to bind a virtual multi-factor authentication (MFA) device.`
68
- * * `MFAVerify: the stage to verify the verification code that is generated by the virtual MFA device.`
69
- * * `TokenVerify`: the stage to perform two-factor authentication on an Alibaba Cloud Workspace client (hereinafter referred to as the client).
70
- * * `ChangePassword`: the stage to change the password of the user.
71
- * * `KeepAliveVerify`: the stage to obtain LoginToken if KeepAliveToken is valid.
54
+ * - `ADPassword`: verifies user information. Specify this value when authenticating with the credentials of a convenience account or an AD account.
55
+ * - `MFABind`: binds a virtual MFA device.
56
+ * - `MFAVerify`: verifies the security code generated by the virtual MFA device.
57
+ * - `TokenVerify`: performs client secondary authentication.
58
+ * - `ChangePassword`: changes the user password.
59
+ * - `KeepAliveVerify`: exchanges a valid KeepAliveToken for a LoginToken.
72
60
  *
73
61
  * @example
74
62
  * ADPassword
@@ -76,7 +64,7 @@ export class GetLoginTokenRequest extends $dara.Model {
76
64
  currentStage?: string;
77
65
  /**
78
66
  * @remarks
79
- * The office network ID. This parameter has the same meaning as `OfficeSiteId`. We recommend that you replace `DirectoryId` with `OfficeSiteId`. You can specify a value for `DirectoryId` or `OfficeSiteId`.
67
+ * The office network ID, which has the same meaning as `OfficeSiteId`. We recommend that you stop using `DirectoryId` and use `OfficeSiteId` instead. You can specify only one of `DirectoryId` and `OfficeSiteId`, not both.
80
68
  *
81
69
  * @example
82
70
  * cn-hangzhou+dir-885351****
@@ -84,7 +72,7 @@ export class GetLoginTokenRequest extends $dara.Model {
84
72
  directoryId?: string;
85
73
  /**
86
74
  * @remarks
87
- * The name of the convenience user or the AD user. This parameter is required if you set `CurrentStage` to `ADPassword`.
75
+ * The username of the convenience user or AD user. This parameter is required when `CurrentStage` is set to `ADPassword`.
88
76
  *
89
77
  * @example
90
78
  * alice
@@ -92,11 +80,7 @@ export class GetLoginTokenRequest extends $dara.Model {
92
80
  endUserId?: string;
93
81
  /**
94
82
  * @remarks
95
- * Specifies whether to keep the user logged on to the client.
96
- * Valid values:
97
- * * null: Default value. Do not keep the user logged on to the client.
98
- * * true: Keep the user logged on to the client.
99
- * * false: Do not keep the user logged on to the client.
83
+ * Specifies whether to keep the logon session alive.
100
84
  *
101
85
  * @example
102
86
  * false
@@ -104,7 +88,7 @@ export class GetLoginTokenRequest extends $dara.Model {
104
88
  keepAlive?: boolean;
105
89
  /**
106
90
  * @remarks
107
- * The token to keep logging on to an Alibaba Cloud Workspace client. When an end user logs on to the Alibaba Cloud Workspace client and select Auto Sign-in, `KeepAliveToken` is returned after you call this operation. Within the valid period of the returned token``, you can call the `GetLoginToken` operation and set `CurrentStage` to `KeepAliveVerify`. Then, you can obtain LoginToken. If you set `CurrentStage` to `KeepAliveVerify`, `KeepAliveToken` is required.
91
+ * The token used to keep the logon session alive. After a successful logon with the keep-alive option enabled, the operation returns a `KeepAliveToken`. While the `KeepAliveToken` is valid, you can call the `GetLoginToken` operation with `CurrentStage` set to `KeepAliveVerify` to exchange it for a logon credential (LoginToken). This parameter is required when `CurrentStage` is set to `KeepAliveVerify`.
108
92
  *
109
93
  * @example
110
94
  * hide
@@ -112,7 +96,7 @@ export class GetLoginTokenRequest extends $dara.Model {
112
96
  keepAliveToken?: string;
113
97
  /**
114
98
  * @remarks
115
- * The new password. This parameter is required if you set `CurrentStage` to `ChangePassword`.
99
+ * The new password. This parameter is required when `CurrentStage` is set to `ChangePassword`.
116
100
  *
117
101
  * @example
118
102
  * NewPassword
@@ -128,7 +112,7 @@ export class GetLoginTokenRequest extends $dara.Model {
128
112
  officeSiteId?: string;
129
113
  /**
130
114
  * @remarks
131
- * The current password. This parameter is required if you set `CurrentStage` to `ChangePassword`.
115
+ * The old password. This parameter is required when `CurrentStage` is set to `ChangePassword`.
132
116
  *
133
117
  * @example
134
118
  * OldPassword
@@ -136,7 +120,7 @@ export class GetLoginTokenRequest extends $dara.Model {
136
120
  oldPassword?: string;
137
121
  /**
138
122
  * @remarks
139
- * The password of the convenience user or the AD user. This parameter is required if you set `CurrentStage` to `ADPassword`.
123
+ * The password of the convenience user or AD user. This parameter is required when `CurrentStage` is set to `ADPassword`.
140
124
  *
141
125
  * @example
142
126
  * Password1234
@@ -144,7 +128,7 @@ export class GetLoginTokenRequest extends $dara.Model {
144
128
  password?: string;
145
129
  /**
146
130
  * @remarks
147
- * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by EDS.
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.
148
132
  *
149
133
  * This parameter is required.
150
134
  *
@@ -154,10 +138,10 @@ export class GetLoginTokenRequest extends $dara.Model {
154
138
  regionId?: string;
155
139
  /**
156
140
  * @remarks
157
- * The ID of the session.
141
+ * The session ID for logon.
158
142
  *
159
- * * If the virtual multi-factor authentication (MFA) device is not bound or two-factor authentication is not enabled for the client, you do not need to specify a value for `SessionId`.
160
- * * If the virtual MFA device is not bound or two-factor authentication is enabled for the client, you must specify a value for `SessionId` to verify the user identity after you specify a value for `ADPassword`. The value of the `SessionId` parameter is returned only if the CurrentStage parameter is set to `ADPassword` when you call the `GetLoginToken` operation.
143
+ * - If no virtual MFA device is bound or client secondary authentication is not enabled, you do not need to specify `SessionId`.
144
+ * - If a virtual MFA device is bound or client secondary authentication is enabled, you must specify `SessionId` for the 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).
161
145
  *
162
146
  * @example
163
147
  * cd45e873-650d-4d70-acb9-f996187a****
@@ -165,7 +149,7 @@ export class GetLoginTokenRequest extends $dara.Model {
165
149
  sessionId?: string;
166
150
  /**
167
151
  * @remarks
168
- * If two-factor authentication is enabled for Alibaba Cloud Workspace terminals in the EDS console and the system detects that the current logon user is exposed to risks, the system sends a verification code to the email address of the user. This parameter is required if you set `CurrentStage` to `TokenVerify`.
152
+ * If client secondary authentication is enabled in the Elastic Desktop Service console and the current logon user is identified as risky, a secondary authentication verification code is sent to the end user\\"s email address. This parameter is required when `CurrentStage` is set to `TokenVerify`.
169
153
  *
170
154
  * @example
171
155
  * 63****
@@ -173,7 +157,7 @@ export class GetLoginTokenRequest extends $dara.Model {
173
157
  tokenCode?: string;
174
158
  /**
175
159
  * @remarks
176
- * The unique identifier of the client. When you use an Alibaba Cloud Workspace client, you can view the client version in the **About** dialog box on the client logon page.
160
+ * The unique identifier of the client. If you use the Elastic Desktop Service client, you can view this parameter in the **About** dialog box on the client logon page.
177
161
  *
178
162
  * @example
179
163
  * C78CA9E99315687575DD2844C1F3****