@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
package/dist/client.js
CHANGED
|
@@ -49,32 +49,6 @@ 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
|
-
};
|
|
78
52
|
this.checkConfig(config);
|
|
79
53
|
this._endpoint = this.getEndpoint("ecd", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
80
54
|
}
|
|
@@ -88,7 +62,7 @@ class Client extends openapi_core_1.default {
|
|
|
88
62
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
89
63
|
}
|
|
90
64
|
/**
|
|
91
|
-
*
|
|
65
|
+
* Allows over-the-air updates for cloud computers.
|
|
92
66
|
*
|
|
93
67
|
* @param request - ApproveFotaUpdateRequest
|
|
94
68
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -138,7 +112,7 @@ class Client extends openapi_core_1.default {
|
|
|
138
112
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.ApproveFotaUpdateResponse({}));
|
|
139
113
|
}
|
|
140
114
|
/**
|
|
141
|
-
*
|
|
115
|
+
* Allows over-the-air updates for cloud computers.
|
|
142
116
|
*
|
|
143
117
|
* @param request - ApproveFotaUpdateRequest
|
|
144
118
|
* @returns ApproveFotaUpdateResponse
|
|
@@ -148,7 +122,7 @@ class Client extends openapi_core_1.default {
|
|
|
148
122
|
return await this.approveFotaUpdateWithOptions(request, runtime);
|
|
149
123
|
}
|
|
150
124
|
/**
|
|
151
|
-
*
|
|
125
|
+
* Modifies the password of a user.
|
|
152
126
|
*
|
|
153
127
|
* @param request - ChangePasswordRequest
|
|
154
128
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -198,7 +172,7 @@ class Client extends openapi_core_1.default {
|
|
|
198
172
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.ChangePasswordResponse({}));
|
|
199
173
|
}
|
|
200
174
|
/**
|
|
201
|
-
*
|
|
175
|
+
* Modifies the password of a user.
|
|
202
176
|
*
|
|
203
177
|
* @param request - ChangePasswordRequest
|
|
204
178
|
* @returns ChangePasswordResponse
|
|
@@ -208,6 +182,8 @@ class Client extends openapi_core_1.default {
|
|
|
208
182
|
return await this.changePasswordWithOptions(request, runtime);
|
|
209
183
|
}
|
|
210
184
|
/**
|
|
185
|
+
* Deletes a specified fingerprint template.
|
|
186
|
+
*
|
|
211
187
|
* @param request - DeleteFingerPrintTemplateRequest
|
|
212
188
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
213
189
|
* @returns DeleteFingerPrintTemplateResponse
|
|
@@ -250,6 +226,8 @@ class Client extends openapi_core_1.default {
|
|
|
250
226
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.DeleteFingerPrintTemplateResponse({}));
|
|
251
227
|
}
|
|
252
228
|
/**
|
|
229
|
+
* Deletes a specified fingerprint template.
|
|
230
|
+
*
|
|
253
231
|
* @param request - DeleteFingerPrintTemplateRequest
|
|
254
232
|
* @returns DeleteFingerPrintTemplateResponse
|
|
255
233
|
*/
|
|
@@ -351,11 +329,11 @@ class Client extends openapi_core_1.default {
|
|
|
351
329
|
return await this.describeFingerPrintTemplatesWithOptions(request, runtime);
|
|
352
330
|
}
|
|
353
331
|
/**
|
|
354
|
-
*
|
|
332
|
+
* Queries the details of cloud computers in multiple regions. Currently, only regions in the Chinese mainland are supported.
|
|
355
333
|
*
|
|
356
334
|
* @remarks
|
|
357
|
-
* - This API uses a centralized domain name
|
|
358
|
-
* - The cloud
|
|
335
|
+
* - This API operation uses a centralized domain name. The endpoint is in Shanghai, and calls from other regions are not supported.
|
|
336
|
+
* - The cloud computer status information in this API operation has a delay of 1 to 3 seconds compared to the actual value.
|
|
359
337
|
*
|
|
360
338
|
* @param request - DescribeGlobalDesktopsRequest
|
|
361
339
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -441,11 +419,11 @@ class Client extends openapi_core_1.default {
|
|
|
441
419
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.DescribeGlobalDesktopsResponse({}));
|
|
442
420
|
}
|
|
443
421
|
/**
|
|
444
|
-
*
|
|
422
|
+
* Queries the details of cloud computers in multiple regions. Currently, only regions in the Chinese mainland are supported.
|
|
445
423
|
*
|
|
446
424
|
* @remarks
|
|
447
|
-
* - This API uses a centralized domain name
|
|
448
|
-
* - The cloud
|
|
425
|
+
* - This API operation uses a centralized domain name. The endpoint is in Shanghai, and calls from other regions are not supported.
|
|
426
|
+
* - The cloud computer status information in this API operation has a delay of 1 to 3 seconds compared to the actual value.
|
|
449
427
|
*
|
|
450
428
|
* @param request - DescribeGlobalDesktopsRequest
|
|
451
429
|
* @returns DescribeGlobalDesktopsResponse
|
|
@@ -503,6 +481,8 @@ class Client extends openapi_core_1.default {
|
|
|
503
481
|
return await this.describeOfficeSitesWithOptions(request, runtime);
|
|
504
482
|
}
|
|
505
483
|
/**
|
|
484
|
+
* Queries the Alibaba Cloud region information supported by WUYING Workspace by calling DescribeRegions.
|
|
485
|
+
*
|
|
506
486
|
* @param request - DescribeRegionsRequest
|
|
507
487
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
508
488
|
* @returns DescribeRegionsResponse
|
|
@@ -533,6 +513,8 @@ class Client extends openapi_core_1.default {
|
|
|
533
513
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.DescribeRegionsResponse({}));
|
|
534
514
|
}
|
|
535
515
|
/**
|
|
516
|
+
* Queries the Alibaba Cloud region information supported by WUYING Workspace by calling DescribeRegions.
|
|
517
|
+
*
|
|
536
518
|
* @param request - DescribeRegionsRequest
|
|
537
519
|
* @returns DescribeRegionsResponse
|
|
538
520
|
*/
|
|
@@ -541,7 +523,7 @@ class Client extends openapi_core_1.default {
|
|
|
541
523
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
542
524
|
}
|
|
543
525
|
/**
|
|
544
|
-
* Queries the
|
|
526
|
+
* Queries the list and details of snapshots for a cloud desktop.
|
|
545
527
|
*
|
|
546
528
|
* @param request - DescribeSnapshotsRequest
|
|
547
529
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -591,7 +573,7 @@ class Client extends openapi_core_1.default {
|
|
|
591
573
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.DescribeSnapshotsResponse({}));
|
|
592
574
|
}
|
|
593
575
|
/**
|
|
594
|
-
* Queries the
|
|
576
|
+
* Queries the list and details of snapshots for a cloud desktop.
|
|
595
577
|
*
|
|
596
578
|
* @param request - DescribeSnapshotsRequest
|
|
597
579
|
* @returns DescribeSnapshotsResponse
|
|
@@ -601,10 +583,10 @@ class Client extends openapi_core_1.default {
|
|
|
601
583
|
return await this.describeSnapshotsWithOptions(request, runtime);
|
|
602
584
|
}
|
|
603
585
|
/**
|
|
604
|
-
* Queries the list of resources
|
|
586
|
+
* Queries the list of user resources.
|
|
605
587
|
*
|
|
606
588
|
* @remarks
|
|
607
|
-
*
|
|
589
|
+
* Before you call this operation, make sure that you fully understand the resource types and product types of WUYING Workspace.
|
|
608
590
|
*
|
|
609
591
|
* @param request - DescribeUserResourcesRequest
|
|
610
592
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -697,6 +679,9 @@ class Client extends openapi_core_1.default {
|
|
|
697
679
|
if (!$dara.isNull(request.sortType)) {
|
|
698
680
|
query["SortType"] = request.sortType;
|
|
699
681
|
}
|
|
682
|
+
if (!$dara.isNull(request.uuid)) {
|
|
683
|
+
query["Uuid"] = request.uuid;
|
|
684
|
+
}
|
|
700
685
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
701
686
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
702
687
|
});
|
|
@@ -714,10 +699,10 @@ class Client extends openapi_core_1.default {
|
|
|
714
699
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.DescribeUserResourcesResponse({}));
|
|
715
700
|
}
|
|
716
701
|
/**
|
|
717
|
-
* Queries the list of resources
|
|
702
|
+
* Queries the list of user resources.
|
|
718
703
|
*
|
|
719
704
|
* @remarks
|
|
720
|
-
*
|
|
705
|
+
* Before you call this operation, make sure that you fully understand the resource types and product types of WUYING Workspace.
|
|
721
706
|
*
|
|
722
707
|
* @param request - DescribeUserResourcesRequest
|
|
723
708
|
* @returns DescribeUserResourcesResponse
|
|
@@ -727,7 +712,7 @@ class Client extends openapi_core_1.default {
|
|
|
727
712
|
return await this.describeUserResourcesWithOptions(request, runtime);
|
|
728
713
|
}
|
|
729
714
|
/**
|
|
730
|
-
* Encrypts a password.
|
|
715
|
+
* Encrypts a user password.
|
|
731
716
|
*
|
|
732
717
|
* @param request - EncryptPasswordRequest
|
|
733
718
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -774,7 +759,7 @@ class Client extends openapi_core_1.default {
|
|
|
774
759
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.EncryptPasswordResponse({}));
|
|
775
760
|
}
|
|
776
761
|
/**
|
|
777
|
-
* Encrypts a password.
|
|
762
|
+
* Encrypts a user password.
|
|
778
763
|
*
|
|
779
764
|
* @param request - EncryptPasswordRequest
|
|
780
765
|
* @returns EncryptPasswordResponse
|
|
@@ -835,10 +820,10 @@ class Client extends openapi_core_1.default {
|
|
|
835
820
|
return await this.getCloudDriveServiceMountTokenWithOptions(request, runtime);
|
|
836
821
|
}
|
|
837
822
|
/**
|
|
838
|
-
*
|
|
823
|
+
* Retrieves the connection credentials for a cloud desktop.
|
|
839
824
|
*
|
|
840
825
|
* @remarks
|
|
841
|
-
*
|
|
826
|
+
* When you call this operation for the first time, the system returns a `TaskId`. Use this `TaskId` to continue calling this operation until the value of `TaskStatus` changes to `FINISHED` or `FAILED`. When `TaskStatus` is `FINISHED`, the value of `Ticket` is the ticket that the client uses to connect to the cloud desktop.
|
|
842
827
|
*
|
|
843
828
|
* @param request - GetConnectionTicketRequest
|
|
844
829
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -915,10 +900,10 @@ class Client extends openapi_core_1.default {
|
|
|
915
900
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.GetConnectionTicketResponse({}));
|
|
916
901
|
}
|
|
917
902
|
/**
|
|
918
|
-
*
|
|
903
|
+
* Retrieves the connection credentials for a cloud desktop.
|
|
919
904
|
*
|
|
920
905
|
* @remarks
|
|
921
|
-
*
|
|
906
|
+
* When you call this operation for the first time, the system returns a `TaskId`. Use this `TaskId` to continue calling this operation until the value of `TaskStatus` changes to `FINISHED` or `FAILED`. When `TaskStatus` is `FINISHED`, the value of `Ticket` is the ticket that the client uses to connect to the cloud desktop.
|
|
922
907
|
*
|
|
923
908
|
* @param request - GetConnectionTicketRequest
|
|
924
909
|
* @returns GetConnectionTicketResponse
|
|
@@ -1143,10 +1128,10 @@ class Client extends openapi_core_1.default {
|
|
|
1143
1128
|
return await this.rebootDesktopsWithOptions(request, runtime);
|
|
1144
1129
|
}
|
|
1145
1130
|
/**
|
|
1146
|
-
*
|
|
1131
|
+
* Refreshes the logon credential.
|
|
1147
1132
|
*
|
|
1148
1133
|
* @remarks
|
|
1149
|
-
*
|
|
1134
|
+
* A logon credential (LoginToken) is valid for 8 hours. If the end user does not log off from the client within 8 hours, the client must refresh the logon credential.
|
|
1150
1135
|
*
|
|
1151
1136
|
* @param request - RefreshLoginTokenRequest
|
|
1152
1137
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1193,10 +1178,10 @@ class Client extends openapi_core_1.default {
|
|
|
1193
1178
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.RefreshLoginTokenResponse({}));
|
|
1194
1179
|
}
|
|
1195
1180
|
/**
|
|
1196
|
-
*
|
|
1181
|
+
* Refreshes the logon credential.
|
|
1197
1182
|
*
|
|
1198
1183
|
* @remarks
|
|
1199
|
-
*
|
|
1184
|
+
* A logon credential (LoginToken) is valid for 8 hours. If the end user does not log off from the client within 8 hours, the client must refresh the logon credential.
|
|
1200
1185
|
*
|
|
1201
1186
|
* @param request - RefreshLoginTokenRequest
|
|
1202
1187
|
* @returns RefreshLoginTokenResponse
|
|
@@ -1254,7 +1239,7 @@ class Client extends openapi_core_1.default {
|
|
|
1254
1239
|
return await this.reportEdsAgentInfoWithOptions(request, runtime);
|
|
1255
1240
|
}
|
|
1256
1241
|
/**
|
|
1257
|
-
*
|
|
1242
|
+
* Reports the session status.
|
|
1258
1243
|
*
|
|
1259
1244
|
* @param request - ReportSessionStatusRequest
|
|
1260
1245
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1298,7 +1283,7 @@ class Client extends openapi_core_1.default {
|
|
|
1298
1283
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.ReportSessionStatusResponse({}));
|
|
1299
1284
|
}
|
|
1300
1285
|
/**
|
|
1301
|
-
*
|
|
1286
|
+
* Reports the session status.
|
|
1302
1287
|
*
|
|
1303
1288
|
* @param request - ReportSessionStatusRequest
|
|
1304
1289
|
* @returns ReportSessionStatusResponse
|
|
@@ -1308,7 +1293,7 @@ class Client extends openapi_core_1.default {
|
|
|
1308
1293
|
return await this.reportSessionStatusWithOptions(request, runtime);
|
|
1309
1294
|
}
|
|
1310
1295
|
/**
|
|
1311
|
-
* Resets a password.
|
|
1296
|
+
* Resets a user password.
|
|
1312
1297
|
*
|
|
1313
1298
|
* @param request - ResetPasswordRequest
|
|
1314
1299
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1355,7 +1340,7 @@ class Client extends openapi_core_1.default {
|
|
|
1355
1340
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.ResetPasswordResponse({}));
|
|
1356
1341
|
}
|
|
1357
1342
|
/**
|
|
1358
|
-
* Resets a password.
|
|
1343
|
+
* Resets a user password.
|
|
1359
1344
|
*
|
|
1360
1345
|
* @param request - ResetPasswordRequest
|
|
1361
1346
|
* @returns ResetPasswordResponse
|
|
@@ -1365,7 +1350,7 @@ class Client extends openapi_core_1.default {
|
|
|
1365
1350
|
return await this.resetPasswordWithOptions(request, runtime);
|
|
1366
1351
|
}
|
|
1367
1352
|
/**
|
|
1368
|
-
* Restores the data
|
|
1353
|
+
* Restores the disk data corresponding to a snapshot.
|
|
1369
1354
|
*
|
|
1370
1355
|
* @param request - ResetSnapshotRequest
|
|
1371
1356
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1412,7 +1397,7 @@ class Client extends openapi_core_1.default {
|
|
|
1412
1397
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.ResetSnapshotResponse({}));
|
|
1413
1398
|
}
|
|
1414
1399
|
/**
|
|
1415
|
-
* Restores the data
|
|
1400
|
+
* Restores the disk data corresponding to a snapshot.
|
|
1416
1401
|
*
|
|
1417
1402
|
* @param request - ResetSnapshotRequest
|
|
1418
1403
|
* @returns ResetSnapshotResponse
|
|
@@ -1482,6 +1467,8 @@ class Client extends openapi_core_1.default {
|
|
|
1482
1467
|
return await this.sendTokenCodeWithOptions(request, runtime);
|
|
1483
1468
|
}
|
|
1484
1469
|
/**
|
|
1470
|
+
* Sets a fingerprint template.
|
|
1471
|
+
*
|
|
1485
1472
|
* @param request - SetFingerPrintTemplateRequest
|
|
1486
1473
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1487
1474
|
* @returns SetFingerPrintTemplateResponse
|
|
@@ -1536,6 +1523,8 @@ class Client extends openapi_core_1.default {
|
|
|
1536
1523
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.SetFingerPrintTemplateResponse({}));
|
|
1537
1524
|
}
|
|
1538
1525
|
/**
|
|
1526
|
+
* Sets a fingerprint template.
|
|
1527
|
+
*
|
|
1539
1528
|
* @param request - SetFingerPrintTemplateRequest
|
|
1540
1529
|
* @returns SetFingerPrintTemplateResponse
|
|
1541
1530
|
*/
|
|
@@ -1544,6 +1533,8 @@ class Client extends openapi_core_1.default {
|
|
|
1544
1533
|
return await this.setFingerPrintTemplateWithOptions(request, runtime);
|
|
1545
1534
|
}
|
|
1546
1535
|
/**
|
|
1536
|
+
* Sets the description of a fingerprint template.
|
|
1537
|
+
*
|
|
1547
1538
|
* @param request - SetFingerPrintTemplateDescriptionRequest
|
|
1548
1539
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1549
1540
|
* @returns SetFingerPrintTemplateDescriptionResponse
|
|
@@ -1589,6 +1580,8 @@ class Client extends openapi_core_1.default {
|
|
|
1589
1580
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.SetFingerPrintTemplateDescriptionResponse({}));
|
|
1590
1581
|
}
|
|
1591
1582
|
/**
|
|
1583
|
+
* Sets the description of a fingerprint template.
|
|
1584
|
+
*
|
|
1592
1585
|
* @param request - SetFingerPrintTemplateDescriptionRequest
|
|
1593
1586
|
* @returns SetFingerPrintTemplateDescriptionResponse
|
|
1594
1587
|
*/
|
|
@@ -1722,10 +1715,10 @@ class Client extends openapi_core_1.default {
|
|
|
1722
1715
|
return await this.startRecordContentWithOptions(request, runtime);
|
|
1723
1716
|
}
|
|
1724
1717
|
/**
|
|
1725
|
-
* Stops one or more cloud
|
|
1718
|
+
* Stops one or more cloud desktops.
|
|
1726
1719
|
*
|
|
1727
1720
|
* @remarks
|
|
1728
|
-
*
|
|
1721
|
+
* The cloud desktop must be in the Running state. After the API operation is called, the state of the cloud desktop changes to Stopped.
|
|
1729
1722
|
*
|
|
1730
1723
|
* @param request - StopDesktopsRequest
|
|
1731
1724
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1749,6 +1742,9 @@ class Client extends openapi_core_1.default {
|
|
|
1749
1742
|
if (!$dara.isNull(request.desktopId)) {
|
|
1750
1743
|
query["DesktopId"] = request.desktopId;
|
|
1751
1744
|
}
|
|
1745
|
+
if (!$dara.isNull(request.forceStop)) {
|
|
1746
|
+
query["ForceStop"] = request.forceStop;
|
|
1747
|
+
}
|
|
1752
1748
|
if (!$dara.isNull(request.loginToken)) {
|
|
1753
1749
|
query["LoginToken"] = request.loginToken;
|
|
1754
1750
|
}
|
|
@@ -1784,10 +1780,10 @@ class Client extends openapi_core_1.default {
|
|
|
1784
1780
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.StopDesktopsResponse({}));
|
|
1785
1781
|
}
|
|
1786
1782
|
/**
|
|
1787
|
-
* Stops one or more cloud
|
|
1783
|
+
* Stops one or more cloud desktops.
|
|
1788
1784
|
*
|
|
1789
1785
|
* @remarks
|
|
1790
|
-
*
|
|
1786
|
+
* The cloud desktop must be in the Running state. After the API operation is called, the state of the cloud desktop changes to Stopped.
|
|
1791
1787
|
*
|
|
1792
1788
|
* @param request - StopDesktopsRequest
|
|
1793
1789
|
* @returns StopDesktopsResponse
|
|
@@ -1850,7 +1846,7 @@ class Client extends openapi_core_1.default {
|
|
|
1850
1846
|
return await this.stopRecordContentWithOptions(request, runtime);
|
|
1851
1847
|
}
|
|
1852
1848
|
/**
|
|
1853
|
-
*
|
|
1849
|
+
* Disassociates a user from a cloud desktop.
|
|
1854
1850
|
*
|
|
1855
1851
|
* @param request - UnbindUserDesktopRequest
|
|
1856
1852
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1897,7 +1893,7 @@ class Client extends openapi_core_1.default {
|
|
|
1897
1893
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.UnbindUserDesktopResponse({}));
|
|
1898
1894
|
}
|
|
1899
1895
|
/**
|
|
1900
|
-
*
|
|
1896
|
+
* Disassociates a user from a cloud desktop.
|
|
1901
1897
|
*
|
|
1902
1898
|
* @param request - UnbindUserDesktopRequest
|
|
1903
1899
|
* @returns UnbindUserDesktopResponse
|
|
@@ -1907,7 +1903,7 @@ class Client extends openapi_core_1.default {
|
|
|
1907
1903
|
return await this.unbindUserDesktopWithOptions(request, runtime);
|
|
1908
1904
|
}
|
|
1909
1905
|
/**
|
|
1910
|
-
*
|
|
1906
|
+
* Verifies the credential used to unlock a local session on the client.
|
|
1911
1907
|
*
|
|
1912
1908
|
* @param request - VerifyCredentialRequest
|
|
1913
1909
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1957,7 +1953,7 @@ class Client extends openapi_core_1.default {
|
|
|
1957
1953
|
return $dara.cast(await this.doRPCRequest(params.action, params.version, params.protocol, params.method, params.authType, params.bodyType, req, runtime), new $_model.VerifyCredentialResponse({}));
|
|
1958
1954
|
}
|
|
1959
1955
|
/**
|
|
1960
|
-
*
|
|
1956
|
+
* Verifies the credential used to unlock a local session on the client.
|
|
1961
1957
|
*
|
|
1962
1958
|
* @param request - VerifyCredentialRequest
|
|
1963
1959
|
* @returns VerifyCredentialResponse
|