@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.
- package/dist/client.d.ts +40 -41
- package/dist/client.js +66 -71
- package/dist/client.js.map +1 -1
- package/dist/models/ChangePasswordRequest.d.ts +1 -1
- package/dist/models/DeleteFingerPrintTemplateRequest.d.ts +6 -6
- package/dist/models/DeleteFingerPrintTemplateResponseBody.d.ts +1 -1
- package/dist/models/DescribeFingerPrintTemplatesResponseBody.d.ts +1 -1
- package/dist/models/DescribeGlobalDesktopsRequest.d.ts +28 -56
- package/dist/models/DescribeGlobalDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeGlobalDesktopsResponseBody.d.ts +77 -153
- package/dist/models/DescribeGlobalDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribeOfficeSitesRequest.d.ts +8 -0
- package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
- package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -0
- package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +2 -2
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +1 -1
- package/dist/models/DescribeUserResourcesRequest.d.ts +26 -75
- package/dist/models/DescribeUserResourcesRequest.js.map +1 -1
- package/dist/models/DescribeUserResourcesResponseBody.d.ts +173 -195
- package/dist/models/DescribeUserResourcesResponseBody.js +69 -1
- package/dist/models/DescribeUserResourcesResponseBody.js.map +1 -1
- package/dist/models/GetCloudDriveServiceMountTokenRequest.d.ts +15 -0
- package/dist/models/GetCloudDriveServiceMountTokenRequest.js.map +1 -1
- package/dist/models/GetCloudDriveServiceMountTokenResponseBody.d.ts +15 -0
- package/dist/models/GetCloudDriveServiceMountTokenResponseBody.js.map +1 -1
- package/dist/models/GetConnectionTicketRequest.d.ts +30 -17
- package/dist/models/GetConnectionTicketRequest.js.map +1 -1
- package/dist/models/GetConnectionTicketResponseBody.d.ts +26 -2
- package/dist/models/GetConnectionTicketResponseBody.js.map +1 -1
- package/dist/models/GetLoginTokenRequest.d.ts +28 -44
- package/dist/models/GetLoginTokenRequest.js.map +1 -1
- package/dist/models/GetLoginTokenResponseBody.d.ts +34 -32
- package/dist/models/GetLoginTokenResponseBody.js +4 -0
- package/dist/models/GetLoginTokenResponseBody.js.map +1 -1
- package/dist/models/GetLoginTokenShrinkRequest.d.ts +28 -44
- package/dist/models/GetLoginTokenShrinkRequest.js.map +1 -1
- package/dist/models/RebootDesktopsRequest.d.ts +10 -10
- package/dist/models/RebootDesktopsResponseBody.d.ts +1 -1
- package/dist/models/RefreshLoginTokenRequest.d.ts +17 -0
- package/dist/models/RefreshLoginTokenRequest.js.map +1 -1
- package/dist/models/RefreshLoginTokenResponseBody.d.ts +6 -0
- package/dist/models/RefreshLoginTokenResponseBody.js.map +1 -1
- package/dist/models/ReportSessionStatusRequest.d.ts +13 -0
- package/dist/models/ReportSessionStatusRequest.js.map +1 -1
- package/dist/models/ReportSessionStatusResponseBody.d.ts +3 -0
- package/dist/models/ReportSessionStatusResponseBody.js.map +1 -1
- package/dist/models/ResetPasswordRequest.d.ts +2 -2
- package/dist/models/SetFingerPrintTemplateDescriptionRequest.d.ts +3 -3
- package/dist/models/SetFingerPrintTemplateRequest.d.ts +9 -9
- package/dist/models/SetFingerPrintTemplateResponseBody.d.ts +3 -3
- package/dist/models/StopDesktopsRequest.d.ts +8 -8
- package/dist/models/model.d.ts +2 -3
- package/dist/models/model.js +17 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +66 -76
- package/src/models/ChangePasswordRequest.ts +1 -1
- package/src/models/DeleteFingerPrintTemplateRequest.ts +6 -6
- package/src/models/DeleteFingerPrintTemplateResponseBody.ts +1 -1
- package/src/models/DescribeFingerPrintTemplatesResponseBody.ts +1 -1
- package/src/models/DescribeGlobalDesktopsRequest.ts +28 -56
- package/src/models/DescribeGlobalDesktopsResponseBody.ts +77 -153
- package/src/models/DescribeOfficeSitesRequest.ts +8 -0
- package/src/models/DescribeOfficeSitesResponseBody.ts +23 -0
- package/src/models/DescribeRegionsRequest.ts +1 -1
- package/src/models/DescribeRegionsResponseBody.ts +2 -2
- package/src/models/DescribeSnapshotsResponseBody.ts +1 -1
- package/src/models/DescribeUserResourcesRequest.ts +26 -75
- package/src/models/DescribeUserResourcesResponseBody.ts +223 -195
- package/src/models/GetCloudDriveServiceMountTokenRequest.ts +15 -0
- package/src/models/GetCloudDriveServiceMountTokenResponseBody.ts +15 -0
- package/src/models/GetConnectionTicketRequest.ts +30 -17
- package/src/models/GetConnectionTicketResponseBody.ts +26 -2
- package/src/models/GetLoginTokenRequest.ts +28 -44
- package/src/models/GetLoginTokenResponseBody.ts +38 -32
- package/src/models/GetLoginTokenShrinkRequest.ts +28 -44
- package/src/models/RebootDesktopsRequest.ts +10 -10
- package/src/models/RebootDesktopsResponseBody.ts +1 -1
- package/src/models/RefreshLoginTokenRequest.ts +17 -0
- package/src/models/RefreshLoginTokenResponseBody.ts +6 -0
- package/src/models/ReportSessionStatusRequest.ts +13 -0
- package/src/models/ReportSessionStatusResponseBody.ts +3 -0
- package/src/models/ResetPasswordRequest.ts +2 -2
- package/src/models/SetFingerPrintTemplateDescriptionRequest.ts +3 -3
- package/src/models/SetFingerPrintTemplateRequest.ts +9 -9
- package/src/models/SetFingerPrintTemplateResponseBody.ts +3 -3
- package/src/models/StopDesktopsRequest.ts +8 -8
- package/src/models/model.ts +2 -3
- package/dist/models/IsKeepAliveRequest.d.ts +0 -39
- package/dist/models/IsKeepAliveRequest.js +0 -62
- package/dist/models/IsKeepAliveRequest.js.map +0 -1
- package/dist/models/IsKeepAliveResponse.d.ts +0 -19
- package/dist/models/IsKeepAliveResponse.js +0 -69
- package/dist/models/IsKeepAliveResponse.js.map +0 -1
- package/dist/models/IsKeepAliveResponseBody.d.ts +0 -45
- package/dist/models/IsKeepAliveResponseBody.js +0 -64
- package/dist/models/IsKeepAliveResponseBody.js.map +0 -1
- package/src/models/IsKeepAliveRequest.ts +0 -56
- package/src/models/IsKeepAliveResponse.ts +0 -40
- package/src/models/IsKeepAliveResponseBody.ts +0 -64
package/dist/client.d.ts
CHANGED
|
@@ -80,11 +80,11 @@ export default class Client extends OpenApi {
|
|
|
80
80
|
*/
|
|
81
81
|
describeFingerPrintTemplates(request: $_model.DescribeFingerPrintTemplatesRequest): Promise<$_model.DescribeFingerPrintTemplatesResponse>;
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* Query detailed information about cloud desktops across multiple regions. You can query only regions in the Chinese mainland (excluding Nanjing – Local Region – Shutting Down).
|
|
84
84
|
*
|
|
85
85
|
* @remarks
|
|
86
|
-
*
|
|
87
|
-
*
|
|
86
|
+
* - This API uses a centralized domain name with its endpoint in Shanghai. You cannot call this API from other regions.
|
|
87
|
+
* - The cloud desktop status returned by this API may be delayed by 1 to 3 seconds.
|
|
88
88
|
*
|
|
89
89
|
* @param request - DescribeGlobalDesktopsRequest
|
|
90
90
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -92,18 +92,18 @@ export default class Client extends OpenApi {
|
|
|
92
92
|
*/
|
|
93
93
|
describeGlobalDesktopsWithOptions(request: $_model.DescribeGlobalDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGlobalDesktopsResponse>;
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* Query detailed information about cloud desktops across multiple regions. You can query only regions in the Chinese mainland (excluding Nanjing – Local Region – Shutting Down).
|
|
96
96
|
*
|
|
97
97
|
* @remarks
|
|
98
|
-
*
|
|
99
|
-
*
|
|
98
|
+
* - This API uses a centralized domain name with its endpoint in Shanghai. You cannot call this API from other regions.
|
|
99
|
+
* - The cloud desktop status returned by this API may be delayed by 1 to 3 seconds.
|
|
100
100
|
*
|
|
101
101
|
* @param request - DescribeGlobalDesktopsRequest
|
|
102
102
|
* @returns DescribeGlobalDesktopsResponse
|
|
103
103
|
*/
|
|
104
104
|
describeGlobalDesktops(request: $_model.DescribeGlobalDesktopsRequest): Promise<$_model.DescribeGlobalDesktopsResponse>;
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* Query the details of an office network.
|
|
107
107
|
*
|
|
108
108
|
* @param request - DescribeOfficeSitesRequest
|
|
109
109
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -111,7 +111,7 @@ export default class Client extends OpenApi {
|
|
|
111
111
|
*/
|
|
112
112
|
describeOfficeSitesWithOptions(request: $_model.DescribeOfficeSitesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeOfficeSitesResponse>;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* Query the details of an office network.
|
|
115
115
|
*
|
|
116
116
|
* @param request - DescribeOfficeSitesRequest
|
|
117
117
|
* @returns DescribeOfficeSitesResponse
|
|
@@ -144,10 +144,10 @@ export default class Client extends OpenApi {
|
|
|
144
144
|
*/
|
|
145
145
|
describeSnapshots(request: $_model.DescribeSnapshotsRequest): Promise<$_model.DescribeSnapshotsResponse>;
|
|
146
146
|
/**
|
|
147
|
-
* Queries
|
|
147
|
+
* Queries the list of resources owned by a user.
|
|
148
148
|
*
|
|
149
149
|
* @remarks
|
|
150
|
-
*
|
|
150
|
+
* Make sure that you are familiar with the resource types and product types of WUYING before you call this operation.
|
|
151
151
|
*
|
|
152
152
|
* @param request - DescribeUserResourcesRequest
|
|
153
153
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -155,10 +155,10 @@ export default class Client extends OpenApi {
|
|
|
155
155
|
*/
|
|
156
156
|
describeUserResourcesWithOptions(request: $_model.DescribeUserResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeUserResourcesResponse>;
|
|
157
157
|
/**
|
|
158
|
-
* Queries
|
|
158
|
+
* Queries the list of resources owned by a user.
|
|
159
159
|
*
|
|
160
160
|
* @remarks
|
|
161
|
-
*
|
|
161
|
+
* Make sure that you are familiar with the resource types and product types of WUYING before you call this operation.
|
|
162
162
|
*
|
|
163
163
|
* @param request - DescribeUserResourcesRequest
|
|
164
164
|
* @returns DescribeUserResourcesResponse
|
|
@@ -180,7 +180,7 @@ export default class Client extends OpenApi {
|
|
|
180
180
|
*/
|
|
181
181
|
encryptPassword(request: $_model.EncryptPasswordRequest): Promise<$_model.EncryptPasswordResponse>;
|
|
182
182
|
/**
|
|
183
|
-
*
|
|
183
|
+
* Obtain the logon credential for Enterprise File Gateway.
|
|
184
184
|
*
|
|
185
185
|
* @param request - GetCloudDriveServiceMountTokenRequest
|
|
186
186
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -188,17 +188,17 @@ export default class Client extends OpenApi {
|
|
|
188
188
|
*/
|
|
189
189
|
getCloudDriveServiceMountTokenWithOptions(request: $_model.GetCloudDriveServiceMountTokenRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCloudDriveServiceMountTokenResponse>;
|
|
190
190
|
/**
|
|
191
|
-
*
|
|
191
|
+
* Obtain the logon credential for Enterprise File Gateway.
|
|
192
192
|
*
|
|
193
193
|
* @param request - GetCloudDriveServiceMountTokenRequest
|
|
194
194
|
* @returns GetCloudDriveServiceMountTokenResponse
|
|
195
195
|
*/
|
|
196
196
|
getCloudDriveServiceMountToken(request: $_model.GetCloudDriveServiceMountTokenRequest): Promise<$_model.GetCloudDriveServiceMountTokenResponse>;
|
|
197
197
|
/**
|
|
198
|
-
*
|
|
198
|
+
* Obtains a connection ticket for a cloud computer.
|
|
199
199
|
*
|
|
200
200
|
* @remarks
|
|
201
|
-
* The first time you call this operation,
|
|
201
|
+
* The first time you call this operation, it returns a `TaskID`. You can use this `TaskID` to call the operation again until `TaskStatus` changes to `FINISHED` or `FAILED`. If `TaskStatus` is `FINISHED`, the `Ticket` value is the connection ticket that the client uses to connect to the cloud computer.
|
|
202
202
|
*
|
|
203
203
|
* @param request - GetConnectionTicketRequest
|
|
204
204
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -206,17 +206,17 @@ export default class Client extends OpenApi {
|
|
|
206
206
|
*/
|
|
207
207
|
getConnectionTicketWithOptions(request: $_model.GetConnectionTicketRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetConnectionTicketResponse>;
|
|
208
208
|
/**
|
|
209
|
-
*
|
|
209
|
+
* Obtains a connection ticket for a cloud computer.
|
|
210
210
|
*
|
|
211
211
|
* @remarks
|
|
212
|
-
* The first time you call this operation,
|
|
212
|
+
* The first time you call this operation, it returns a `TaskID`. You can use this `TaskID` to call the operation again until `TaskStatus` changes to `FINISHED` or `FAILED`. If `TaskStatus` is `FINISHED`, the `Ticket` value is the connection ticket that the client uses to connect to the cloud computer.
|
|
213
213
|
*
|
|
214
214
|
* @param request - GetConnectionTicketRequest
|
|
215
215
|
* @returns GetConnectionTicketResponse
|
|
216
216
|
*/
|
|
217
217
|
getConnectionTicket(request: $_model.GetConnectionTicketRequest): Promise<$_model.GetConnectionTicketResponse>;
|
|
218
218
|
/**
|
|
219
|
-
*
|
|
219
|
+
* Retrieves logon credentials.
|
|
220
220
|
*
|
|
221
221
|
* @param tmpReq - GetLoginTokenRequest
|
|
222
222
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -224,27 +224,12 @@ export default class Client extends OpenApi {
|
|
|
224
224
|
*/
|
|
225
225
|
getLoginTokenWithOptions(tmpReq: $_model.GetLoginTokenRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLoginTokenResponse>;
|
|
226
226
|
/**
|
|
227
|
-
*
|
|
227
|
+
* Retrieves logon credentials.
|
|
228
228
|
*
|
|
229
229
|
* @param request - GetLoginTokenRequest
|
|
230
230
|
* @returns GetLoginTokenResponse
|
|
231
231
|
*/
|
|
232
232
|
getLoginToken(request: $_model.GetLoginTokenRequest): Promise<$_model.GetLoginTokenResponse>;
|
|
233
|
-
/**
|
|
234
|
-
* Verifies whether the client\\"s logon session is still active.
|
|
235
|
-
*
|
|
236
|
-
* @param request - IsKeepAliveRequest
|
|
237
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
238
|
-
* @returns IsKeepAliveResponse
|
|
239
|
-
*/
|
|
240
|
-
isKeepAliveWithOptions(request: $_model.IsKeepAliveRequest, runtime: $dara.RuntimeOptions): Promise<$_model.IsKeepAliveResponse>;
|
|
241
|
-
/**
|
|
242
|
-
* Verifies whether the client\\"s logon session is still active.
|
|
243
|
-
*
|
|
244
|
-
* @param request - IsKeepAliveRequest
|
|
245
|
-
* @returns IsKeepAliveResponse
|
|
246
|
-
*/
|
|
247
|
-
isKeepAlive(request: $_model.IsKeepAliveRequest): Promise<$_model.IsKeepAliveResponse>;
|
|
248
233
|
/**
|
|
249
234
|
* 查询Agent需要上报的配置信息
|
|
250
235
|
*
|
|
@@ -261,7 +246,7 @@ export default class Client extends OpenApi {
|
|
|
261
246
|
*/
|
|
262
247
|
queryEdsAgentReportConfig(request: $_model.QueryEdsAgentReportConfigRequest): Promise<$_model.QueryEdsAgentReportConfigResponse>;
|
|
263
248
|
/**
|
|
264
|
-
*
|
|
249
|
+
* You can restart one or more cloud desktops.
|
|
265
250
|
*
|
|
266
251
|
* @param request - RebootDesktopsRequest
|
|
267
252
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -269,19 +254,29 @@ export default class Client extends OpenApi {
|
|
|
269
254
|
*/
|
|
270
255
|
rebootDesktopsWithOptions(request: $_model.RebootDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RebootDesktopsResponse>;
|
|
271
256
|
/**
|
|
272
|
-
*
|
|
257
|
+
* You can restart one or more cloud desktops.
|
|
273
258
|
*
|
|
274
259
|
* @param request - RebootDesktopsRequest
|
|
275
260
|
* @returns RebootDesktopsResponse
|
|
276
261
|
*/
|
|
277
262
|
rebootDesktops(request: $_model.RebootDesktopsRequest): Promise<$_model.RebootDesktopsResponse>;
|
|
278
263
|
/**
|
|
264
|
+
* Purge the logon credential.
|
|
265
|
+
*
|
|
266
|
+
* @remarks
|
|
267
|
+
* The validity period of a logon credential (LoginToken) is 8 hours. If the end user does not log off from the client within 8 hours, the client must purge the logon credential.
|
|
268
|
+
*
|
|
279
269
|
* @param request - RefreshLoginTokenRequest
|
|
280
270
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
281
271
|
* @returns RefreshLoginTokenResponse
|
|
282
272
|
*/
|
|
283
273
|
refreshLoginTokenWithOptions(request: $_model.RefreshLoginTokenRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RefreshLoginTokenResponse>;
|
|
284
274
|
/**
|
|
275
|
+
* Purge the logon credential.
|
|
276
|
+
*
|
|
277
|
+
* @remarks
|
|
278
|
+
* The validity period of a logon credential (LoginToken) is 8 hours. If the end user does not log off from the client within 8 hours, the client must purge the logon credential.
|
|
279
|
+
*
|
|
285
280
|
* @param request - RefreshLoginTokenRequest
|
|
286
281
|
* @returns RefreshLoginTokenResponse
|
|
287
282
|
*/
|
|
@@ -302,12 +297,16 @@ export default class Client extends OpenApi {
|
|
|
302
297
|
*/
|
|
303
298
|
reportEdsAgentInfo(request: $_model.ReportEdsAgentInfoRequest): Promise<$_model.ReportEdsAgentInfoResponse>;
|
|
304
299
|
/**
|
|
300
|
+
* Report session status.
|
|
301
|
+
*
|
|
305
302
|
* @param request - ReportSessionStatusRequest
|
|
306
303
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
307
304
|
* @returns ReportSessionStatusResponse
|
|
308
305
|
*/
|
|
309
306
|
reportSessionStatusWithOptions(request: $_model.ReportSessionStatusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReportSessionStatusResponse>;
|
|
310
307
|
/**
|
|
308
|
+
* Report session status.
|
|
309
|
+
*
|
|
311
310
|
* @param request - ReportSessionStatusRequest
|
|
312
311
|
* @returns ReportSessionStatusResponse
|
|
313
312
|
*/
|
|
@@ -412,10 +411,10 @@ export default class Client extends OpenApi {
|
|
|
412
411
|
*/
|
|
413
412
|
startRecordContent(request: $_model.StartRecordContentRequest): Promise<$_model.StartRecordContentResponse>;
|
|
414
413
|
/**
|
|
415
|
-
* Stops cloud computers.
|
|
414
|
+
* Stops one or more cloud computers.
|
|
416
415
|
*
|
|
417
416
|
* @remarks
|
|
418
|
-
*
|
|
417
|
+
* You can stop only cloud computers that are in the Running state. After you call this operation, their state changes to Stopped.
|
|
419
418
|
*
|
|
420
419
|
* @param request - StopDesktopsRequest
|
|
421
420
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -423,10 +422,10 @@ export default class Client extends OpenApi {
|
|
|
423
422
|
*/
|
|
424
423
|
stopDesktopsWithOptions(request: $_model.StopDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StopDesktopsResponse>;
|
|
425
424
|
/**
|
|
426
|
-
* Stops cloud computers.
|
|
425
|
+
* Stops one or more cloud computers.
|
|
427
426
|
*
|
|
428
427
|
* @remarks
|
|
429
|
-
*
|
|
428
|
+
* You can stop only cloud computers that are in the Running state. After you call this operation, their state changes to Stopped.
|
|
430
429
|
*
|
|
431
430
|
* @param request - StopDesktopsRequest
|
|
432
431
|
* @returns StopDesktopsResponse
|
package/dist/client.js
CHANGED
|
@@ -49,6 +49,32 @@ class Client extends openapi_core_1.default {
|
|
|
49
49
|
constructor(config) {
|
|
50
50
|
super(config);
|
|
51
51
|
this._endpointRule = "regional";
|
|
52
|
+
this._endpointMap = {
|
|
53
|
+
'us-west-1': "ecd.us-west-1.aliyuncs.com",
|
|
54
|
+
'us-east-1': "ecd.us-east-1.aliyuncs.com",
|
|
55
|
+
'me-east-1': "ecd.me-east-1.aliyuncs.com",
|
|
56
|
+
'me-central-1': "ecd.me-central-1.aliyuncs.com",
|
|
57
|
+
'eu-west-1': "ecd.eu-west-1.aliyuncs.com",
|
|
58
|
+
'eu-central-1': "ecd.eu-central-1.aliyuncs.com",
|
|
59
|
+
'cn-zhangjiakou': "ecd.cn-zhangjiakou.aliyuncs.com",
|
|
60
|
+
'cn-wulanchabu': "ecd.cn-wulanchabu.aliyuncs.com",
|
|
61
|
+
'cn-shenzhen': "ecd.cn-shenzhen.aliyuncs.com",
|
|
62
|
+
'cn-shanghai-finance-1': "ecd.cn-shanghai-finance-1.aliyuncs.com",
|
|
63
|
+
'cn-shanghai': "ecd.cn-shanghai.aliyuncs.com",
|
|
64
|
+
'cn-qingdao': "ecd.cn-qingdao.aliyuncs.com",
|
|
65
|
+
'cn-nanjing': "ecd.cn-nanjing.aliyuncs.com",
|
|
66
|
+
'cn-hongkong': "ecd.cn-hongkong.aliyuncs.com",
|
|
67
|
+
'cn-hangzhou-finance': "ecd.cn-hangzhou-finance.aliyuncs.com",
|
|
68
|
+
'cn-hangzhou': "ecd.cn-hangzhou.aliyuncs.com",
|
|
69
|
+
'cn-guangzhou': "ecd.cn-guangzhou.aliyuncs.com",
|
|
70
|
+
'cn-chengdu': "ecd.cn-chengdu.aliyuncs.com",
|
|
71
|
+
'cn-beijing': "ecd.cn-beijing.aliyuncs.com",
|
|
72
|
+
'ap-southeast-7': "ecd.ap-southeast-7.aliyuncs.com",
|
|
73
|
+
'ap-southeast-6': "ecd.ap-southeast-6.aliyuncs.com",
|
|
74
|
+
'ap-southeast-5': "ecd.ap-southeast-5.aliyuncs.com",
|
|
75
|
+
'ap-southeast-1': "ecd.ap-southeast-1.aliyuncs.com",
|
|
76
|
+
'ap-northeast-1': "ecd.ap-northeast-1.aliyuncs.com",
|
|
77
|
+
};
|
|
52
78
|
this.checkConfig(config);
|
|
53
79
|
this._endpoint = this.getEndpoint("ecd", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
54
80
|
}
|
|
@@ -325,11 +351,11 @@ class Client extends openapi_core_1.default {
|
|
|
325
351
|
return await this.describeFingerPrintTemplatesWithOptions(request, runtime);
|
|
326
352
|
}
|
|
327
353
|
/**
|
|
328
|
-
*
|
|
354
|
+
* Query detailed information about cloud desktops across multiple regions. You can query only regions in the Chinese mainland (excluding Nanjing – Local Region – Shutting Down).
|
|
329
355
|
*
|
|
330
356
|
* @remarks
|
|
331
|
-
*
|
|
332
|
-
*
|
|
357
|
+
* - This API uses a centralized domain name with its endpoint in Shanghai. You cannot call this API from other regions.
|
|
358
|
+
* - The cloud desktop status returned by this API may be delayed by 1 to 3 seconds.
|
|
333
359
|
*
|
|
334
360
|
* @param request - DescribeGlobalDesktopsRequest
|
|
335
361
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -415,11 +441,11 @@ class Client extends openapi_core_1.default {
|
|
|
415
441
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.DescribeGlobalDesktopsResponse({}));
|
|
416
442
|
}
|
|
417
443
|
/**
|
|
418
|
-
*
|
|
444
|
+
* Query detailed information about cloud desktops across multiple regions. You can query only regions in the Chinese mainland (excluding Nanjing – Local Region – Shutting Down).
|
|
419
445
|
*
|
|
420
446
|
* @remarks
|
|
421
|
-
*
|
|
422
|
-
*
|
|
447
|
+
* - This API uses a centralized domain name with its endpoint in Shanghai. You cannot call this API from other regions.
|
|
448
|
+
* - The cloud desktop status returned by this API may be delayed by 1 to 3 seconds.
|
|
423
449
|
*
|
|
424
450
|
* @param request - DescribeGlobalDesktopsRequest
|
|
425
451
|
* @returns DescribeGlobalDesktopsResponse
|
|
@@ -429,7 +455,7 @@ class Client extends openapi_core_1.default {
|
|
|
429
455
|
return await this.describeGlobalDesktopsWithOptions(request, runtime);
|
|
430
456
|
}
|
|
431
457
|
/**
|
|
432
|
-
*
|
|
458
|
+
* Query the details of an office network.
|
|
433
459
|
*
|
|
434
460
|
* @param request - DescribeOfficeSitesRequest
|
|
435
461
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -467,7 +493,7 @@ class Client extends openapi_core_1.default {
|
|
|
467
493
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.DescribeOfficeSitesResponse({}));
|
|
468
494
|
}
|
|
469
495
|
/**
|
|
470
|
-
*
|
|
496
|
+
* Query the details of an office network.
|
|
471
497
|
*
|
|
472
498
|
* @param request - DescribeOfficeSitesRequest
|
|
473
499
|
* @returns DescribeOfficeSitesResponse
|
|
@@ -575,10 +601,10 @@ class Client extends openapi_core_1.default {
|
|
|
575
601
|
return await this.describeSnapshotsWithOptions(request, runtime);
|
|
576
602
|
}
|
|
577
603
|
/**
|
|
578
|
-
* Queries
|
|
604
|
+
* Queries the list of resources owned by a user.
|
|
579
605
|
*
|
|
580
606
|
* @remarks
|
|
581
|
-
*
|
|
607
|
+
* Make sure that you are familiar with the resource types and product types of WUYING before you call this operation.
|
|
582
608
|
*
|
|
583
609
|
* @param request - DescribeUserResourcesRequest
|
|
584
610
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -688,10 +714,10 @@ class Client extends openapi_core_1.default {
|
|
|
688
714
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.DescribeUserResourcesResponse({}));
|
|
689
715
|
}
|
|
690
716
|
/**
|
|
691
|
-
* Queries
|
|
717
|
+
* Queries the list of resources owned by a user.
|
|
692
718
|
*
|
|
693
719
|
* @remarks
|
|
694
|
-
*
|
|
720
|
+
* Make sure that you are familiar with the resource types and product types of WUYING before you call this operation.
|
|
695
721
|
*
|
|
696
722
|
* @param request - DescribeUserResourcesRequest
|
|
697
723
|
* @returns DescribeUserResourcesResponse
|
|
@@ -758,7 +784,7 @@ class Client extends openapi_core_1.default {
|
|
|
758
784
|
return await this.encryptPasswordWithOptions(request, runtime);
|
|
759
785
|
}
|
|
760
786
|
/**
|
|
761
|
-
*
|
|
787
|
+
* Obtain the logon credential for Enterprise File Gateway.
|
|
762
788
|
*
|
|
763
789
|
* @param request - GetCloudDriveServiceMountTokenRequest
|
|
764
790
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -799,7 +825,7 @@ class Client extends openapi_core_1.default {
|
|
|
799
825
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.GetCloudDriveServiceMountTokenResponse({}));
|
|
800
826
|
}
|
|
801
827
|
/**
|
|
802
|
-
*
|
|
828
|
+
* Obtain the logon credential for Enterprise File Gateway.
|
|
803
829
|
*
|
|
804
830
|
* @param request - GetCloudDriveServiceMountTokenRequest
|
|
805
831
|
* @returns GetCloudDriveServiceMountTokenResponse
|
|
@@ -809,10 +835,10 @@ class Client extends openapi_core_1.default {
|
|
|
809
835
|
return await this.getCloudDriveServiceMountTokenWithOptions(request, runtime);
|
|
810
836
|
}
|
|
811
837
|
/**
|
|
812
|
-
*
|
|
838
|
+
* Obtains a connection ticket for a cloud computer.
|
|
813
839
|
*
|
|
814
840
|
* @remarks
|
|
815
|
-
* The first time you call this operation,
|
|
841
|
+
* The first time you call this operation, it returns a `TaskID`. You can use this `TaskID` to call the operation again until `TaskStatus` changes to `FINISHED` or `FAILED`. If `TaskStatus` is `FINISHED`, the `Ticket` value is the connection ticket that the client uses to connect to the cloud computer.
|
|
816
842
|
*
|
|
817
843
|
* @param request - GetConnectionTicketRequest
|
|
818
844
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -889,10 +915,10 @@ class Client extends openapi_core_1.default {
|
|
|
889
915
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.GetConnectionTicketResponse({}));
|
|
890
916
|
}
|
|
891
917
|
/**
|
|
892
|
-
*
|
|
918
|
+
* Obtains a connection ticket for a cloud computer.
|
|
893
919
|
*
|
|
894
920
|
* @remarks
|
|
895
|
-
* The first time you call this operation,
|
|
921
|
+
* The first time you call this operation, it returns a `TaskID`. You can use this `TaskID` to call the operation again until `TaskStatus` changes to `FINISHED` or `FAILED`. If `TaskStatus` is `FINISHED`, the `Ticket` value is the connection ticket that the client uses to connect to the cloud computer.
|
|
896
922
|
*
|
|
897
923
|
* @param request - GetConnectionTicketRequest
|
|
898
924
|
* @returns GetConnectionTicketResponse
|
|
@@ -902,7 +928,7 @@ class Client extends openapi_core_1.default {
|
|
|
902
928
|
return await this.getConnectionTicketWithOptions(request, runtime);
|
|
903
929
|
}
|
|
904
930
|
/**
|
|
905
|
-
*
|
|
931
|
+
* Retrieves logon credentials.
|
|
906
932
|
*
|
|
907
933
|
* @param tmpReq - GetLoginTokenRequest
|
|
908
934
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -993,7 +1019,7 @@ class Client extends openapi_core_1.default {
|
|
|
993
1019
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.GetLoginTokenResponse({}));
|
|
994
1020
|
}
|
|
995
1021
|
/**
|
|
996
|
-
*
|
|
1022
|
+
* Retrieves logon credentials.
|
|
997
1023
|
*
|
|
998
1024
|
* @param request - GetLoginTokenRequest
|
|
999
1025
|
* @returns GetLoginTokenResponse
|
|
@@ -1002,51 +1028,6 @@ class Client extends openapi_core_1.default {
|
|
|
1002
1028
|
let runtime = new $dara.RuntimeOptions({});
|
|
1003
1029
|
return await this.getLoginTokenWithOptions(request, runtime);
|
|
1004
1030
|
}
|
|
1005
|
-
/**
|
|
1006
|
-
* Verifies whether the client\\"s logon session is still active.
|
|
1007
|
-
*
|
|
1008
|
-
* @param request - IsKeepAliveRequest
|
|
1009
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
1010
|
-
* @returns IsKeepAliveResponse
|
|
1011
|
-
*/
|
|
1012
|
-
async isKeepAliveWithOptions(request, runtime) {
|
|
1013
|
-
request.validate();
|
|
1014
|
-
let query = {};
|
|
1015
|
-
if (!$dara.isNull(request.clientId)) {
|
|
1016
|
-
query["ClientId"] = request.clientId;
|
|
1017
|
-
}
|
|
1018
|
-
if (!$dara.isNull(request.officeSiteId)) {
|
|
1019
|
-
query["OfficeSiteId"] = request.officeSiteId;
|
|
1020
|
-
}
|
|
1021
|
-
if (!$dara.isNull(request.regionId)) {
|
|
1022
|
-
query["RegionId"] = request.regionId;
|
|
1023
|
-
}
|
|
1024
|
-
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1025
|
-
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1026
|
-
});
|
|
1027
|
-
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1028
|
-
action: "IsKeepAlive",
|
|
1029
|
-
version: "2020-10-02",
|
|
1030
|
-
protocol: "HTTPS",
|
|
1031
|
-
pathname: "/",
|
|
1032
|
-
method: "POST",
|
|
1033
|
-
authType: "Anonymous",
|
|
1034
|
-
style: "RPC",
|
|
1035
|
-
reqBodyType: "formData",
|
|
1036
|
-
bodyType: "json",
|
|
1037
|
-
});
|
|
1038
|
-
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.IsKeepAliveResponse({}));
|
|
1039
|
-
}
|
|
1040
|
-
/**
|
|
1041
|
-
* Verifies whether the client\\"s logon session is still active.
|
|
1042
|
-
*
|
|
1043
|
-
* @param request - IsKeepAliveRequest
|
|
1044
|
-
* @returns IsKeepAliveResponse
|
|
1045
|
-
*/
|
|
1046
|
-
async isKeepAlive(request) {
|
|
1047
|
-
let runtime = new $dara.RuntimeOptions({});
|
|
1048
|
-
return await this.isKeepAliveWithOptions(request, runtime);
|
|
1049
|
-
}
|
|
1050
1031
|
/**
|
|
1051
1032
|
* 查询Agent需要上报的配置信息
|
|
1052
1033
|
*
|
|
@@ -1093,7 +1074,7 @@ class Client extends openapi_core_1.default {
|
|
|
1093
1074
|
return await this.queryEdsAgentReportConfigWithOptions(request, runtime);
|
|
1094
1075
|
}
|
|
1095
1076
|
/**
|
|
1096
|
-
*
|
|
1077
|
+
* You can restart one or more cloud desktops.
|
|
1097
1078
|
*
|
|
1098
1079
|
* @param request - RebootDesktopsRequest
|
|
1099
1080
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1152,7 +1133,7 @@ class Client extends openapi_core_1.default {
|
|
|
1152
1133
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.RebootDesktopsResponse({}));
|
|
1153
1134
|
}
|
|
1154
1135
|
/**
|
|
1155
|
-
*
|
|
1136
|
+
* You can restart one or more cloud desktops.
|
|
1156
1137
|
*
|
|
1157
1138
|
* @param request - RebootDesktopsRequest
|
|
1158
1139
|
* @returns RebootDesktopsResponse
|
|
@@ -1162,6 +1143,11 @@ class Client extends openapi_core_1.default {
|
|
|
1162
1143
|
return await this.rebootDesktopsWithOptions(request, runtime);
|
|
1163
1144
|
}
|
|
1164
1145
|
/**
|
|
1146
|
+
* Purge the logon credential.
|
|
1147
|
+
*
|
|
1148
|
+
* @remarks
|
|
1149
|
+
* The validity period of a logon credential (LoginToken) is 8 hours. If the end user does not log off from the client within 8 hours, the client must purge the logon credential.
|
|
1150
|
+
*
|
|
1165
1151
|
* @param request - RefreshLoginTokenRequest
|
|
1166
1152
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1167
1153
|
* @returns RefreshLoginTokenResponse
|
|
@@ -1207,6 +1193,11 @@ class Client extends openapi_core_1.default {
|
|
|
1207
1193
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.RefreshLoginTokenResponse({}));
|
|
1208
1194
|
}
|
|
1209
1195
|
/**
|
|
1196
|
+
* Purge the logon credential.
|
|
1197
|
+
*
|
|
1198
|
+
* @remarks
|
|
1199
|
+
* The validity period of a logon credential (LoginToken) is 8 hours. If the end user does not log off from the client within 8 hours, the client must purge the logon credential.
|
|
1200
|
+
*
|
|
1210
1201
|
* @param request - RefreshLoginTokenRequest
|
|
1211
1202
|
* @returns RefreshLoginTokenResponse
|
|
1212
1203
|
*/
|
|
@@ -1263,6 +1254,8 @@ class Client extends openapi_core_1.default {
|
|
|
1263
1254
|
return await this.reportEdsAgentInfoWithOptions(request, runtime);
|
|
1264
1255
|
}
|
|
1265
1256
|
/**
|
|
1257
|
+
* Report session status.
|
|
1258
|
+
*
|
|
1266
1259
|
* @param request - ReportSessionStatusRequest
|
|
1267
1260
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1268
1261
|
* @returns ReportSessionStatusResponse
|
|
@@ -1305,6 +1298,8 @@ class Client extends openapi_core_1.default {
|
|
|
1305
1298
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.ReportSessionStatusResponse({}));
|
|
1306
1299
|
}
|
|
1307
1300
|
/**
|
|
1301
|
+
* Report session status.
|
|
1302
|
+
*
|
|
1308
1303
|
* @param request - ReportSessionStatusRequest
|
|
1309
1304
|
* @returns ReportSessionStatusResponse
|
|
1310
1305
|
*/
|
|
@@ -1727,10 +1722,10 @@ class Client extends openapi_core_1.default {
|
|
|
1727
1722
|
return await this.startRecordContentWithOptions(request, runtime);
|
|
1728
1723
|
}
|
|
1729
1724
|
/**
|
|
1730
|
-
* Stops cloud computers.
|
|
1725
|
+
* Stops one or more cloud computers.
|
|
1731
1726
|
*
|
|
1732
1727
|
* @remarks
|
|
1733
|
-
*
|
|
1728
|
+
* You can stop only cloud computers that are in the Running state. After you call this operation, their state changes to Stopped.
|
|
1734
1729
|
*
|
|
1735
1730
|
* @param request - StopDesktopsRequest
|
|
1736
1731
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1789,10 +1784,10 @@ class Client extends openapi_core_1.default {
|
|
|
1789
1784
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.StopDesktopsResponse({}));
|
|
1790
1785
|
}
|
|
1791
1786
|
/**
|
|
1792
|
-
* Stops cloud computers.
|
|
1787
|
+
* Stops one or more cloud computers.
|
|
1793
1788
|
*
|
|
1794
1789
|
* @remarks
|
|
1795
|
-
*
|
|
1790
|
+
* You can stop only cloud computers that are in the Running state. After you call this operation, their state changes to Stopped.
|
|
1796
1791
|
*
|
|
1797
1792
|
* @param request - StopDesktopsRequest
|
|
1798
1793
|
* @returns StopDesktopsResponse
|