alibabacloud-ecd20201002 1.2.1__py3-none-any.whl → 1.2.3__py3-none-any.whl
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.
- alibabacloud_ecd20201002/__init__.py +1 -1
- alibabacloud_ecd20201002/client.py +320 -628
- alibabacloud_ecd20201002/models.py +149 -0
- {alibabacloud_ecd20201002-1.2.1.dist-info → alibabacloud_ecd20201002-1.2.3.dist-info}/METADATA +2 -2
- alibabacloud_ecd20201002-1.2.3.dist-info/RECORD +8 -0
- alibabacloud_ecd20201002-1.2.1.dist-info/RECORD +0 -8
- {alibabacloud_ecd20201002-1.2.1.dist-info → alibabacloud_ecd20201002-1.2.3.dist-info}/LICENSE +0 -0
- {alibabacloud_ecd20201002-1.2.1.dist-info → alibabacloud_ecd20201002-1.2.3.dist-info}/WHEEL +0 -0
- {alibabacloud_ecd20201002-1.2.1.dist-info → alibabacloud_ecd20201002-1.2.3.dist-info}/top_level.txt +0 -0
|
@@ -68,6 +68,8 @@ class Client(OpenApiClient):
|
|
|
68
68
|
query['RegionId'] = request.region_id
|
|
69
69
|
if not UtilClient.is_unset(request.session_id):
|
|
70
70
|
query['SessionId'] = request.session_id
|
|
71
|
+
if not UtilClient.is_unset(request.target_status):
|
|
72
|
+
query['TargetStatus'] = request.target_status
|
|
71
73
|
if not UtilClient.is_unset(request.uuid):
|
|
72
74
|
query['Uuid'] = request.uuid
|
|
73
75
|
req = open_api_models.OpenApiRequest(
|
|
@@ -84,16 +86,10 @@ class Client(OpenApiClient):
|
|
|
84
86
|
req_body_type='formData',
|
|
85
87
|
body_type='json'
|
|
86
88
|
)
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
)
|
|
92
|
-
else:
|
|
93
|
-
return TeaCore.from_map(
|
|
94
|
-
ecd_20201002_models.ApproveFotaUpdateResponse(),
|
|
95
|
-
self.execute(params, req, runtime)
|
|
96
|
-
)
|
|
89
|
+
return TeaCore.from_map(
|
|
90
|
+
ecd_20201002_models.ApproveFotaUpdateResponse(),
|
|
91
|
+
self.call_api(params, req, runtime)
|
|
92
|
+
)
|
|
97
93
|
|
|
98
94
|
async def approve_fota_update_with_options_async(
|
|
99
95
|
self,
|
|
@@ -121,6 +117,8 @@ class Client(OpenApiClient):
|
|
|
121
117
|
query['RegionId'] = request.region_id
|
|
122
118
|
if not UtilClient.is_unset(request.session_id):
|
|
123
119
|
query['SessionId'] = request.session_id
|
|
120
|
+
if not UtilClient.is_unset(request.target_status):
|
|
121
|
+
query['TargetStatus'] = request.target_status
|
|
124
122
|
if not UtilClient.is_unset(request.uuid):
|
|
125
123
|
query['Uuid'] = request.uuid
|
|
126
124
|
req = open_api_models.OpenApiRequest(
|
|
@@ -137,16 +135,10 @@ class Client(OpenApiClient):
|
|
|
137
135
|
req_body_type='formData',
|
|
138
136
|
body_type='json'
|
|
139
137
|
)
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
)
|
|
145
|
-
else:
|
|
146
|
-
return TeaCore.from_map(
|
|
147
|
-
ecd_20201002_models.ApproveFotaUpdateResponse(),
|
|
148
|
-
await self.execute_async(params, req, runtime)
|
|
149
|
-
)
|
|
138
|
+
return TeaCore.from_map(
|
|
139
|
+
ecd_20201002_models.ApproveFotaUpdateResponse(),
|
|
140
|
+
await self.call_api_async(params, req, runtime)
|
|
141
|
+
)
|
|
150
142
|
|
|
151
143
|
def approve_fota_update(
|
|
152
144
|
self,
|
|
@@ -180,6 +172,8 @@ class Client(OpenApiClient):
|
|
|
180
172
|
runtime: util_models.RuntimeOptions,
|
|
181
173
|
) -> ecd_20201002_models.ChangePasswordResponse:
|
|
182
174
|
"""
|
|
175
|
+
@summary Changes the password of a user account.
|
|
176
|
+
|
|
183
177
|
@param request: ChangePasswordRequest
|
|
184
178
|
@param runtime: runtime options for this request RuntimeOptions
|
|
185
179
|
@return: ChangePasswordResponse
|
|
@@ -216,16 +210,10 @@ class Client(OpenApiClient):
|
|
|
216
210
|
req_body_type='formData',
|
|
217
211
|
body_type='json'
|
|
218
212
|
)
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
)
|
|
224
|
-
else:
|
|
225
|
-
return TeaCore.from_map(
|
|
226
|
-
ecd_20201002_models.ChangePasswordResponse(),
|
|
227
|
-
self.execute(params, req, runtime)
|
|
228
|
-
)
|
|
213
|
+
return TeaCore.from_map(
|
|
214
|
+
ecd_20201002_models.ChangePasswordResponse(),
|
|
215
|
+
self.call_api(params, req, runtime)
|
|
216
|
+
)
|
|
229
217
|
|
|
230
218
|
async def change_password_with_options_async(
|
|
231
219
|
self,
|
|
@@ -233,6 +221,8 @@ class Client(OpenApiClient):
|
|
|
233
221
|
runtime: util_models.RuntimeOptions,
|
|
234
222
|
) -> ecd_20201002_models.ChangePasswordResponse:
|
|
235
223
|
"""
|
|
224
|
+
@summary Changes the password of a user account.
|
|
225
|
+
|
|
236
226
|
@param request: ChangePasswordRequest
|
|
237
227
|
@param runtime: runtime options for this request RuntimeOptions
|
|
238
228
|
@return: ChangePasswordResponse
|
|
@@ -269,22 +259,18 @@ class Client(OpenApiClient):
|
|
|
269
259
|
req_body_type='formData',
|
|
270
260
|
body_type='json'
|
|
271
261
|
)
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
)
|
|
277
|
-
else:
|
|
278
|
-
return TeaCore.from_map(
|
|
279
|
-
ecd_20201002_models.ChangePasswordResponse(),
|
|
280
|
-
await self.execute_async(params, req, runtime)
|
|
281
|
-
)
|
|
262
|
+
return TeaCore.from_map(
|
|
263
|
+
ecd_20201002_models.ChangePasswordResponse(),
|
|
264
|
+
await self.call_api_async(params, req, runtime)
|
|
265
|
+
)
|
|
282
266
|
|
|
283
267
|
def change_password(
|
|
284
268
|
self,
|
|
285
269
|
request: ecd_20201002_models.ChangePasswordRequest,
|
|
286
270
|
) -> ecd_20201002_models.ChangePasswordResponse:
|
|
287
271
|
"""
|
|
272
|
+
@summary Changes the password of a user account.
|
|
273
|
+
|
|
288
274
|
@param request: ChangePasswordRequest
|
|
289
275
|
@return: ChangePasswordResponse
|
|
290
276
|
"""
|
|
@@ -296,6 +282,8 @@ class Client(OpenApiClient):
|
|
|
296
282
|
request: ecd_20201002_models.ChangePasswordRequest,
|
|
297
283
|
) -> ecd_20201002_models.ChangePasswordResponse:
|
|
298
284
|
"""
|
|
285
|
+
@summary Changes the password of a user account.
|
|
286
|
+
|
|
299
287
|
@param request: ChangePasswordRequest
|
|
300
288
|
@return: ChangePasswordResponse
|
|
301
289
|
"""
|
|
@@ -340,16 +328,10 @@ class Client(OpenApiClient):
|
|
|
340
328
|
req_body_type='formData',
|
|
341
329
|
body_type='json'
|
|
342
330
|
)
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
)
|
|
348
|
-
else:
|
|
349
|
-
return TeaCore.from_map(
|
|
350
|
-
ecd_20201002_models.DeleteFingerPrintTemplateResponse(),
|
|
351
|
-
self.execute(params, req, runtime)
|
|
352
|
-
)
|
|
331
|
+
return TeaCore.from_map(
|
|
332
|
+
ecd_20201002_models.DeleteFingerPrintTemplateResponse(),
|
|
333
|
+
self.call_api(params, req, runtime)
|
|
334
|
+
)
|
|
353
335
|
|
|
354
336
|
async def delete_finger_print_template_with_options_async(
|
|
355
337
|
self,
|
|
@@ -389,16 +371,10 @@ class Client(OpenApiClient):
|
|
|
389
371
|
req_body_type='formData',
|
|
390
372
|
body_type='json'
|
|
391
373
|
)
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
)
|
|
397
|
-
else:
|
|
398
|
-
return TeaCore.from_map(
|
|
399
|
-
ecd_20201002_models.DeleteFingerPrintTemplateResponse(),
|
|
400
|
-
await self.execute_async(params, req, runtime)
|
|
401
|
-
)
|
|
374
|
+
return TeaCore.from_map(
|
|
375
|
+
ecd_20201002_models.DeleteFingerPrintTemplateResponse(),
|
|
376
|
+
await self.call_api_async(params, req, runtime)
|
|
377
|
+
)
|
|
402
378
|
|
|
403
379
|
def delete_finger_print_template(
|
|
404
380
|
self,
|
|
@@ -428,6 +404,8 @@ class Client(OpenApiClient):
|
|
|
428
404
|
runtime: util_models.RuntimeOptions,
|
|
429
405
|
) -> ecd_20201002_models.DescribeDirectoriesResponse:
|
|
430
406
|
"""
|
|
407
|
+
@summary Queries directory details.
|
|
408
|
+
|
|
431
409
|
@param request: DescribeDirectoriesRequest
|
|
432
410
|
@param runtime: runtime options for this request RuntimeOptions
|
|
433
411
|
@return: DescribeDirectoriesResponse
|
|
@@ -454,16 +432,10 @@ class Client(OpenApiClient):
|
|
|
454
432
|
req_body_type='formData',
|
|
455
433
|
body_type='json'
|
|
456
434
|
)
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
)
|
|
462
|
-
else:
|
|
463
|
-
return TeaCore.from_map(
|
|
464
|
-
ecd_20201002_models.DescribeDirectoriesResponse(),
|
|
465
|
-
self.execute(params, req, runtime)
|
|
466
|
-
)
|
|
435
|
+
return TeaCore.from_map(
|
|
436
|
+
ecd_20201002_models.DescribeDirectoriesResponse(),
|
|
437
|
+
self.call_api(params, req, runtime)
|
|
438
|
+
)
|
|
467
439
|
|
|
468
440
|
async def describe_directories_with_options_async(
|
|
469
441
|
self,
|
|
@@ -471,6 +443,8 @@ class Client(OpenApiClient):
|
|
|
471
443
|
runtime: util_models.RuntimeOptions,
|
|
472
444
|
) -> ecd_20201002_models.DescribeDirectoriesResponse:
|
|
473
445
|
"""
|
|
446
|
+
@summary Queries directory details.
|
|
447
|
+
|
|
474
448
|
@param request: DescribeDirectoriesRequest
|
|
475
449
|
@param runtime: runtime options for this request RuntimeOptions
|
|
476
450
|
@return: DescribeDirectoriesResponse
|
|
@@ -497,22 +471,18 @@ class Client(OpenApiClient):
|
|
|
497
471
|
req_body_type='formData',
|
|
498
472
|
body_type='json'
|
|
499
473
|
)
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
)
|
|
505
|
-
else:
|
|
506
|
-
return TeaCore.from_map(
|
|
507
|
-
ecd_20201002_models.DescribeDirectoriesResponse(),
|
|
508
|
-
await self.execute_async(params, req, runtime)
|
|
509
|
-
)
|
|
474
|
+
return TeaCore.from_map(
|
|
475
|
+
ecd_20201002_models.DescribeDirectoriesResponse(),
|
|
476
|
+
await self.call_api_async(params, req, runtime)
|
|
477
|
+
)
|
|
510
478
|
|
|
511
479
|
def describe_directories(
|
|
512
480
|
self,
|
|
513
481
|
request: ecd_20201002_models.DescribeDirectoriesRequest,
|
|
514
482
|
) -> ecd_20201002_models.DescribeDirectoriesResponse:
|
|
515
483
|
"""
|
|
484
|
+
@summary Queries directory details.
|
|
485
|
+
|
|
516
486
|
@param request: DescribeDirectoriesRequest
|
|
517
487
|
@return: DescribeDirectoriesResponse
|
|
518
488
|
"""
|
|
@@ -524,6 +494,8 @@ class Client(OpenApiClient):
|
|
|
524
494
|
request: ecd_20201002_models.DescribeDirectoriesRequest,
|
|
525
495
|
) -> ecd_20201002_models.DescribeDirectoriesResponse:
|
|
526
496
|
"""
|
|
497
|
+
@summary Queries directory details.
|
|
498
|
+
|
|
527
499
|
@param request: DescribeDirectoriesRequest
|
|
528
500
|
@return: DescribeDirectoriesResponse
|
|
529
501
|
"""
|
|
@@ -536,6 +508,8 @@ class Client(OpenApiClient):
|
|
|
536
508
|
runtime: util_models.RuntimeOptions,
|
|
537
509
|
) -> ecd_20201002_models.DescribeFingerPrintTemplatesResponse:
|
|
538
510
|
"""
|
|
511
|
+
@summary Queries fingerprint templates.
|
|
512
|
+
|
|
539
513
|
@param request: DescribeFingerPrintTemplatesRequest
|
|
540
514
|
@param runtime: runtime options for this request RuntimeOptions
|
|
541
515
|
@return: DescribeFingerPrintTemplatesResponse
|
|
@@ -564,16 +538,10 @@ class Client(OpenApiClient):
|
|
|
564
538
|
req_body_type='formData',
|
|
565
539
|
body_type='json'
|
|
566
540
|
)
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
)
|
|
572
|
-
else:
|
|
573
|
-
return TeaCore.from_map(
|
|
574
|
-
ecd_20201002_models.DescribeFingerPrintTemplatesResponse(),
|
|
575
|
-
self.execute(params, req, runtime)
|
|
576
|
-
)
|
|
541
|
+
return TeaCore.from_map(
|
|
542
|
+
ecd_20201002_models.DescribeFingerPrintTemplatesResponse(),
|
|
543
|
+
self.call_api(params, req, runtime)
|
|
544
|
+
)
|
|
577
545
|
|
|
578
546
|
async def describe_finger_print_templates_with_options_async(
|
|
579
547
|
self,
|
|
@@ -581,6 +549,8 @@ class Client(OpenApiClient):
|
|
|
581
549
|
runtime: util_models.RuntimeOptions,
|
|
582
550
|
) -> ecd_20201002_models.DescribeFingerPrintTemplatesResponse:
|
|
583
551
|
"""
|
|
552
|
+
@summary Queries fingerprint templates.
|
|
553
|
+
|
|
584
554
|
@param request: DescribeFingerPrintTemplatesRequest
|
|
585
555
|
@param runtime: runtime options for this request RuntimeOptions
|
|
586
556
|
@return: DescribeFingerPrintTemplatesResponse
|
|
@@ -609,22 +579,18 @@ class Client(OpenApiClient):
|
|
|
609
579
|
req_body_type='formData',
|
|
610
580
|
body_type='json'
|
|
611
581
|
)
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
)
|
|
617
|
-
else:
|
|
618
|
-
return TeaCore.from_map(
|
|
619
|
-
ecd_20201002_models.DescribeFingerPrintTemplatesResponse(),
|
|
620
|
-
await self.execute_async(params, req, runtime)
|
|
621
|
-
)
|
|
582
|
+
return TeaCore.from_map(
|
|
583
|
+
ecd_20201002_models.DescribeFingerPrintTemplatesResponse(),
|
|
584
|
+
await self.call_api_async(params, req, runtime)
|
|
585
|
+
)
|
|
622
586
|
|
|
623
587
|
def describe_finger_print_templates(
|
|
624
588
|
self,
|
|
625
589
|
request: ecd_20201002_models.DescribeFingerPrintTemplatesRequest,
|
|
626
590
|
) -> ecd_20201002_models.DescribeFingerPrintTemplatesResponse:
|
|
627
591
|
"""
|
|
592
|
+
@summary Queries fingerprint templates.
|
|
593
|
+
|
|
628
594
|
@param request: DescribeFingerPrintTemplatesRequest
|
|
629
595
|
@return: DescribeFingerPrintTemplatesResponse
|
|
630
596
|
"""
|
|
@@ -636,6 +602,8 @@ class Client(OpenApiClient):
|
|
|
636
602
|
request: ecd_20201002_models.DescribeFingerPrintTemplatesRequest,
|
|
637
603
|
) -> ecd_20201002_models.DescribeFingerPrintTemplatesResponse:
|
|
638
604
|
"""
|
|
605
|
+
@summary Queries fingerprint templates.
|
|
606
|
+
|
|
639
607
|
@param request: DescribeFingerPrintTemplatesRequest
|
|
640
608
|
@return: DescribeFingerPrintTemplatesResponse
|
|
641
609
|
"""
|
|
@@ -708,16 +676,10 @@ class Client(OpenApiClient):
|
|
|
708
676
|
req_body_type='formData',
|
|
709
677
|
body_type='json'
|
|
710
678
|
)
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
)
|
|
716
|
-
else:
|
|
717
|
-
return TeaCore.from_map(
|
|
718
|
-
ecd_20201002_models.DescribeGlobalDesktopsResponse(),
|
|
719
|
-
self.execute(params, req, runtime)
|
|
720
|
-
)
|
|
679
|
+
return TeaCore.from_map(
|
|
680
|
+
ecd_20201002_models.DescribeGlobalDesktopsResponse(),
|
|
681
|
+
self.call_api(params, req, runtime)
|
|
682
|
+
)
|
|
721
683
|
|
|
722
684
|
async def describe_global_desktops_with_options_async(
|
|
723
685
|
self,
|
|
@@ -785,16 +747,10 @@ class Client(OpenApiClient):
|
|
|
785
747
|
req_body_type='formData',
|
|
786
748
|
body_type='json'
|
|
787
749
|
)
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
)
|
|
793
|
-
else:
|
|
794
|
-
return TeaCore.from_map(
|
|
795
|
-
ecd_20201002_models.DescribeGlobalDesktopsResponse(),
|
|
796
|
-
await self.execute_async(params, req, runtime)
|
|
797
|
-
)
|
|
750
|
+
return TeaCore.from_map(
|
|
751
|
+
ecd_20201002_models.DescribeGlobalDesktopsResponse(),
|
|
752
|
+
await self.call_api_async(params, req, runtime)
|
|
753
|
+
)
|
|
798
754
|
|
|
799
755
|
def describe_global_desktops(
|
|
800
756
|
self,
|
|
@@ -850,16 +806,10 @@ class Client(OpenApiClient):
|
|
|
850
806
|
req_body_type='formData',
|
|
851
807
|
body_type='json'
|
|
852
808
|
)
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
)
|
|
858
|
-
else:
|
|
859
|
-
return TeaCore.from_map(
|
|
860
|
-
ecd_20201002_models.DescribeOfficeSitesResponse(),
|
|
861
|
-
self.execute(params, req, runtime)
|
|
862
|
-
)
|
|
809
|
+
return TeaCore.from_map(
|
|
810
|
+
ecd_20201002_models.DescribeOfficeSitesResponse(),
|
|
811
|
+
self.call_api(params, req, runtime)
|
|
812
|
+
)
|
|
863
813
|
|
|
864
814
|
async def describe_office_sites_with_options_async(
|
|
865
815
|
self,
|
|
@@ -893,16 +843,10 @@ class Client(OpenApiClient):
|
|
|
893
843
|
req_body_type='formData',
|
|
894
844
|
body_type='json'
|
|
895
845
|
)
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
)
|
|
901
|
-
else:
|
|
902
|
-
return TeaCore.from_map(
|
|
903
|
-
ecd_20201002_models.DescribeOfficeSitesResponse(),
|
|
904
|
-
await self.execute_async(params, req, runtime)
|
|
905
|
-
)
|
|
846
|
+
return TeaCore.from_map(
|
|
847
|
+
ecd_20201002_models.DescribeOfficeSitesResponse(),
|
|
848
|
+
await self.call_api_async(params, req, runtime)
|
|
849
|
+
)
|
|
906
850
|
|
|
907
851
|
def describe_office_sites(
|
|
908
852
|
self,
|
|
@@ -956,16 +900,10 @@ class Client(OpenApiClient):
|
|
|
956
900
|
req_body_type='formData',
|
|
957
901
|
body_type='json'
|
|
958
902
|
)
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
)
|
|
964
|
-
else:
|
|
965
|
-
return TeaCore.from_map(
|
|
966
|
-
ecd_20201002_models.DescribeRegionsResponse(),
|
|
967
|
-
self.execute(params, req, runtime)
|
|
968
|
-
)
|
|
903
|
+
return TeaCore.from_map(
|
|
904
|
+
ecd_20201002_models.DescribeRegionsResponse(),
|
|
905
|
+
self.call_api(params, req, runtime)
|
|
906
|
+
)
|
|
969
907
|
|
|
970
908
|
async def describe_regions_with_options_async(
|
|
971
909
|
self,
|
|
@@ -997,16 +935,10 @@ class Client(OpenApiClient):
|
|
|
997
935
|
req_body_type='formData',
|
|
998
936
|
body_type='json'
|
|
999
937
|
)
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
)
|
|
1005
|
-
else:
|
|
1006
|
-
return TeaCore.from_map(
|
|
1007
|
-
ecd_20201002_models.DescribeRegionsResponse(),
|
|
1008
|
-
await self.execute_async(params, req, runtime)
|
|
1009
|
-
)
|
|
938
|
+
return TeaCore.from_map(
|
|
939
|
+
ecd_20201002_models.DescribeRegionsResponse(),
|
|
940
|
+
await self.call_api_async(params, req, runtime)
|
|
941
|
+
)
|
|
1010
942
|
|
|
1011
943
|
def describe_regions(
|
|
1012
944
|
self,
|
|
@@ -1074,16 +1006,10 @@ class Client(OpenApiClient):
|
|
|
1074
1006
|
req_body_type='formData',
|
|
1075
1007
|
body_type='json'
|
|
1076
1008
|
)
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
)
|
|
1082
|
-
else:
|
|
1083
|
-
return TeaCore.from_map(
|
|
1084
|
-
ecd_20201002_models.DescribeSnapshotsResponse(),
|
|
1085
|
-
self.execute(params, req, runtime)
|
|
1086
|
-
)
|
|
1009
|
+
return TeaCore.from_map(
|
|
1010
|
+
ecd_20201002_models.DescribeSnapshotsResponse(),
|
|
1011
|
+
self.call_api(params, req, runtime)
|
|
1012
|
+
)
|
|
1087
1013
|
|
|
1088
1014
|
async def describe_snapshots_with_options_async(
|
|
1089
1015
|
self,
|
|
@@ -1129,16 +1055,10 @@ class Client(OpenApiClient):
|
|
|
1129
1055
|
req_body_type='formData',
|
|
1130
1056
|
body_type='json'
|
|
1131
1057
|
)
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
)
|
|
1137
|
-
else:
|
|
1138
|
-
return TeaCore.from_map(
|
|
1139
|
-
ecd_20201002_models.DescribeSnapshotsResponse(),
|
|
1140
|
-
await self.execute_async(params, req, runtime)
|
|
1141
|
-
)
|
|
1058
|
+
return TeaCore.from_map(
|
|
1059
|
+
ecd_20201002_models.DescribeSnapshotsResponse(),
|
|
1060
|
+
await self.call_api_async(params, req, runtime)
|
|
1061
|
+
)
|
|
1142
1062
|
|
|
1143
1063
|
def describe_snapshots(
|
|
1144
1064
|
self,
|
|
@@ -1246,16 +1166,10 @@ class Client(OpenApiClient):
|
|
|
1246
1166
|
req_body_type='formData',
|
|
1247
1167
|
body_type='json'
|
|
1248
1168
|
)
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
)
|
|
1254
|
-
else:
|
|
1255
|
-
return TeaCore.from_map(
|
|
1256
|
-
ecd_20201002_models.DescribeUserResourcesResponse(),
|
|
1257
|
-
self.execute(params, req, runtime)
|
|
1258
|
-
)
|
|
1169
|
+
return TeaCore.from_map(
|
|
1170
|
+
ecd_20201002_models.DescribeUserResourcesResponse(),
|
|
1171
|
+
self.call_api(params, req, runtime)
|
|
1172
|
+
)
|
|
1259
1173
|
|
|
1260
1174
|
async def describe_user_resources_with_options_async(
|
|
1261
1175
|
self,
|
|
@@ -1337,16 +1251,10 @@ class Client(OpenApiClient):
|
|
|
1337
1251
|
req_body_type='formData',
|
|
1338
1252
|
body_type='json'
|
|
1339
1253
|
)
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
)
|
|
1345
|
-
else:
|
|
1346
|
-
return TeaCore.from_map(
|
|
1347
|
-
ecd_20201002_models.DescribeUserResourcesResponse(),
|
|
1348
|
-
await self.execute_async(params, req, runtime)
|
|
1349
|
-
)
|
|
1254
|
+
return TeaCore.from_map(
|
|
1255
|
+
ecd_20201002_models.DescribeUserResourcesResponse(),
|
|
1256
|
+
await self.call_api_async(params, req, runtime)
|
|
1257
|
+
)
|
|
1350
1258
|
|
|
1351
1259
|
def describe_user_resources(
|
|
1352
1260
|
self,
|
|
@@ -1380,6 +1288,8 @@ class Client(OpenApiClient):
|
|
|
1380
1288
|
runtime: util_models.RuntimeOptions,
|
|
1381
1289
|
) -> ecd_20201002_models.EncryptPasswordResponse:
|
|
1382
1290
|
"""
|
|
1291
|
+
@summary Encrypts a password.
|
|
1292
|
+
|
|
1383
1293
|
@param request: EncryptPasswordRequest
|
|
1384
1294
|
@param runtime: runtime options for this request RuntimeOptions
|
|
1385
1295
|
@return: EncryptPasswordResponse
|
|
@@ -1414,16 +1324,10 @@ class Client(OpenApiClient):
|
|
|
1414
1324
|
req_body_type='formData',
|
|
1415
1325
|
body_type='json'
|
|
1416
1326
|
)
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
)
|
|
1422
|
-
else:
|
|
1423
|
-
return TeaCore.from_map(
|
|
1424
|
-
ecd_20201002_models.EncryptPasswordResponse(),
|
|
1425
|
-
self.execute(params, req, runtime)
|
|
1426
|
-
)
|
|
1327
|
+
return TeaCore.from_map(
|
|
1328
|
+
ecd_20201002_models.EncryptPasswordResponse(),
|
|
1329
|
+
self.call_api(params, req, runtime)
|
|
1330
|
+
)
|
|
1427
1331
|
|
|
1428
1332
|
async def encrypt_password_with_options_async(
|
|
1429
1333
|
self,
|
|
@@ -1431,6 +1335,8 @@ class Client(OpenApiClient):
|
|
|
1431
1335
|
runtime: util_models.RuntimeOptions,
|
|
1432
1336
|
) -> ecd_20201002_models.EncryptPasswordResponse:
|
|
1433
1337
|
"""
|
|
1338
|
+
@summary Encrypts a password.
|
|
1339
|
+
|
|
1434
1340
|
@param request: EncryptPasswordRequest
|
|
1435
1341
|
@param runtime: runtime options for this request RuntimeOptions
|
|
1436
1342
|
@return: EncryptPasswordResponse
|
|
@@ -1465,22 +1371,18 @@ class Client(OpenApiClient):
|
|
|
1465
1371
|
req_body_type='formData',
|
|
1466
1372
|
body_type='json'
|
|
1467
1373
|
)
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
)
|
|
1473
|
-
else:
|
|
1474
|
-
return TeaCore.from_map(
|
|
1475
|
-
ecd_20201002_models.EncryptPasswordResponse(),
|
|
1476
|
-
await self.execute_async(params, req, runtime)
|
|
1477
|
-
)
|
|
1374
|
+
return TeaCore.from_map(
|
|
1375
|
+
ecd_20201002_models.EncryptPasswordResponse(),
|
|
1376
|
+
await self.call_api_async(params, req, runtime)
|
|
1377
|
+
)
|
|
1478
1378
|
|
|
1479
1379
|
def encrypt_password(
|
|
1480
1380
|
self,
|
|
1481
1381
|
request: ecd_20201002_models.EncryptPasswordRequest,
|
|
1482
1382
|
) -> ecd_20201002_models.EncryptPasswordResponse:
|
|
1483
1383
|
"""
|
|
1384
|
+
@summary Encrypts a password.
|
|
1385
|
+
|
|
1484
1386
|
@param request: EncryptPasswordRequest
|
|
1485
1387
|
@return: EncryptPasswordResponse
|
|
1486
1388
|
"""
|
|
@@ -1492,6 +1394,8 @@ class Client(OpenApiClient):
|
|
|
1492
1394
|
request: ecd_20201002_models.EncryptPasswordRequest,
|
|
1493
1395
|
) -> ecd_20201002_models.EncryptPasswordResponse:
|
|
1494
1396
|
"""
|
|
1397
|
+
@summary Encrypts a password.
|
|
1398
|
+
|
|
1495
1399
|
@param request: EncryptPasswordRequest
|
|
1496
1400
|
@return: EncryptPasswordResponse
|
|
1497
1401
|
"""
|
|
@@ -1536,16 +1440,10 @@ class Client(OpenApiClient):
|
|
|
1536
1440
|
req_body_type='formData',
|
|
1537
1441
|
body_type='json'
|
|
1538
1442
|
)
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
)
|
|
1544
|
-
else:
|
|
1545
|
-
return TeaCore.from_map(
|
|
1546
|
-
ecd_20201002_models.GetCloudDriveServiceMountTokenResponse(),
|
|
1547
|
-
self.execute(params, req, runtime)
|
|
1548
|
-
)
|
|
1443
|
+
return TeaCore.from_map(
|
|
1444
|
+
ecd_20201002_models.GetCloudDriveServiceMountTokenResponse(),
|
|
1445
|
+
self.call_api(params, req, runtime)
|
|
1446
|
+
)
|
|
1549
1447
|
|
|
1550
1448
|
async def get_cloud_drive_service_mount_token_with_options_async(
|
|
1551
1449
|
self,
|
|
@@ -1585,16 +1483,10 @@ class Client(OpenApiClient):
|
|
|
1585
1483
|
req_body_type='formData',
|
|
1586
1484
|
body_type='json'
|
|
1587
1485
|
)
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
)
|
|
1593
|
-
else:
|
|
1594
|
-
return TeaCore.from_map(
|
|
1595
|
-
ecd_20201002_models.GetCloudDriveServiceMountTokenResponse(),
|
|
1596
|
-
await self.execute_async(params, req, runtime)
|
|
1597
|
-
)
|
|
1486
|
+
return TeaCore.from_map(
|
|
1487
|
+
ecd_20201002_models.GetCloudDriveServiceMountTokenResponse(),
|
|
1488
|
+
await self.call_api_async(params, req, runtime)
|
|
1489
|
+
)
|
|
1598
1490
|
|
|
1599
1491
|
def get_cloud_drive_service_mount_token(
|
|
1600
1492
|
self,
|
|
@@ -1678,16 +1570,10 @@ class Client(OpenApiClient):
|
|
|
1678
1570
|
req_body_type='formData',
|
|
1679
1571
|
body_type='json'
|
|
1680
1572
|
)
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
)
|
|
1686
|
-
else:
|
|
1687
|
-
return TeaCore.from_map(
|
|
1688
|
-
ecd_20201002_models.GetConnectionTicketResponse(),
|
|
1689
|
-
self.execute(params, req, runtime)
|
|
1690
|
-
)
|
|
1573
|
+
return TeaCore.from_map(
|
|
1574
|
+
ecd_20201002_models.GetConnectionTicketResponse(),
|
|
1575
|
+
self.call_api(params, req, runtime)
|
|
1576
|
+
)
|
|
1691
1577
|
|
|
1692
1578
|
async def get_connection_ticket_with_options_async(
|
|
1693
1579
|
self,
|
|
@@ -1745,16 +1631,10 @@ class Client(OpenApiClient):
|
|
|
1745
1631
|
req_body_type='formData',
|
|
1746
1632
|
body_type='json'
|
|
1747
1633
|
)
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
)
|
|
1753
|
-
else:
|
|
1754
|
-
return TeaCore.from_map(
|
|
1755
|
-
ecd_20201002_models.GetConnectionTicketResponse(),
|
|
1756
|
-
await self.execute_async(params, req, runtime)
|
|
1757
|
-
)
|
|
1634
|
+
return TeaCore.from_map(
|
|
1635
|
+
ecd_20201002_models.GetConnectionTicketResponse(),
|
|
1636
|
+
await self.call_api_async(params, req, runtime)
|
|
1637
|
+
)
|
|
1758
1638
|
|
|
1759
1639
|
def get_connection_ticket(
|
|
1760
1640
|
self,
|
|
@@ -1842,16 +1722,10 @@ class Client(OpenApiClient):
|
|
|
1842
1722
|
req_body_type='formData',
|
|
1843
1723
|
body_type='json'
|
|
1844
1724
|
)
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
)
|
|
1850
|
-
else:
|
|
1851
|
-
return TeaCore.from_map(
|
|
1852
|
-
ecd_20201002_models.GetLoginTokenResponse(),
|
|
1853
|
-
self.execute(params, req, runtime)
|
|
1854
|
-
)
|
|
1725
|
+
return TeaCore.from_map(
|
|
1726
|
+
ecd_20201002_models.GetLoginTokenResponse(),
|
|
1727
|
+
self.call_api(params, req, runtime)
|
|
1728
|
+
)
|
|
1855
1729
|
|
|
1856
1730
|
async def get_login_token_with_options_async(
|
|
1857
1731
|
self,
|
|
@@ -1917,16 +1791,10 @@ class Client(OpenApiClient):
|
|
|
1917
1791
|
req_body_type='formData',
|
|
1918
1792
|
body_type='json'
|
|
1919
1793
|
)
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
)
|
|
1925
|
-
else:
|
|
1926
|
-
return TeaCore.from_map(
|
|
1927
|
-
ecd_20201002_models.GetLoginTokenResponse(),
|
|
1928
|
-
await self.execute_async(params, req, runtime)
|
|
1929
|
-
)
|
|
1794
|
+
return TeaCore.from_map(
|
|
1795
|
+
ecd_20201002_models.GetLoginTokenResponse(),
|
|
1796
|
+
await self.call_api_async(params, req, runtime)
|
|
1797
|
+
)
|
|
1930
1798
|
|
|
1931
1799
|
def get_login_token(
|
|
1932
1800
|
self,
|
|
@@ -1988,16 +1856,10 @@ class Client(OpenApiClient):
|
|
|
1988
1856
|
req_body_type='formData',
|
|
1989
1857
|
body_type='json'
|
|
1990
1858
|
)
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
)
|
|
1996
|
-
else:
|
|
1997
|
-
return TeaCore.from_map(
|
|
1998
|
-
ecd_20201002_models.IsKeepAliveResponse(),
|
|
1999
|
-
self.execute(params, req, runtime)
|
|
2000
|
-
)
|
|
1859
|
+
return TeaCore.from_map(
|
|
1860
|
+
ecd_20201002_models.IsKeepAliveResponse(),
|
|
1861
|
+
self.call_api(params, req, runtime)
|
|
1862
|
+
)
|
|
2001
1863
|
|
|
2002
1864
|
async def is_keep_alive_with_options_async(
|
|
2003
1865
|
self,
|
|
@@ -2033,16 +1895,10 @@ class Client(OpenApiClient):
|
|
|
2033
1895
|
req_body_type='formData',
|
|
2034
1896
|
body_type='json'
|
|
2035
1897
|
)
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
)
|
|
2041
|
-
else:
|
|
2042
|
-
return TeaCore.from_map(
|
|
2043
|
-
ecd_20201002_models.IsKeepAliveResponse(),
|
|
2044
|
-
await self.execute_async(params, req, runtime)
|
|
2045
|
-
)
|
|
1898
|
+
return TeaCore.from_map(
|
|
1899
|
+
ecd_20201002_models.IsKeepAliveResponse(),
|
|
1900
|
+
await self.call_api_async(params, req, runtime)
|
|
1901
|
+
)
|
|
2046
1902
|
|
|
2047
1903
|
def is_keep_alive(
|
|
2048
1904
|
self,
|
|
@@ -2104,16 +1960,10 @@ class Client(OpenApiClient):
|
|
|
2104
1960
|
req_body_type='formData',
|
|
2105
1961
|
body_type='json'
|
|
2106
1962
|
)
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
)
|
|
2112
|
-
else:
|
|
2113
|
-
return TeaCore.from_map(
|
|
2114
|
-
ecd_20201002_models.QueryEdsAgentReportConfigResponse(),
|
|
2115
|
-
self.execute(params, req, runtime)
|
|
2116
|
-
)
|
|
1963
|
+
return TeaCore.from_map(
|
|
1964
|
+
ecd_20201002_models.QueryEdsAgentReportConfigResponse(),
|
|
1965
|
+
self.call_api(params, req, runtime)
|
|
1966
|
+
)
|
|
2117
1967
|
|
|
2118
1968
|
async def query_eds_agent_report_config_with_options_async(
|
|
2119
1969
|
self,
|
|
@@ -2149,16 +1999,10 @@ class Client(OpenApiClient):
|
|
|
2149
1999
|
req_body_type='formData',
|
|
2150
2000
|
body_type='json'
|
|
2151
2001
|
)
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
)
|
|
2157
|
-
else:
|
|
2158
|
-
return TeaCore.from_map(
|
|
2159
|
-
ecd_20201002_models.QueryEdsAgentReportConfigResponse(),
|
|
2160
|
-
await self.execute_async(params, req, runtime)
|
|
2161
|
-
)
|
|
2002
|
+
return TeaCore.from_map(
|
|
2003
|
+
ecd_20201002_models.QueryEdsAgentReportConfigResponse(),
|
|
2004
|
+
await self.call_api_async(params, req, runtime)
|
|
2005
|
+
)
|
|
2162
2006
|
|
|
2163
2007
|
def query_eds_agent_report_config(
|
|
2164
2008
|
self,
|
|
@@ -2212,6 +2056,8 @@ class Client(OpenApiClient):
|
|
|
2212
2056
|
query['DesktopId'] = request.desktop_id
|
|
2213
2057
|
if not UtilClient.is_unset(request.login_token):
|
|
2214
2058
|
query['LoginToken'] = request.login_token
|
|
2059
|
+
if not UtilClient.is_unset(request.os_update):
|
|
2060
|
+
query['OsUpdate'] = request.os_update
|
|
2215
2061
|
if not UtilClient.is_unset(request.region_id):
|
|
2216
2062
|
query['RegionId'] = request.region_id
|
|
2217
2063
|
if not UtilClient.is_unset(request.session_id):
|
|
@@ -2234,16 +2080,10 @@ class Client(OpenApiClient):
|
|
|
2234
2080
|
req_body_type='formData',
|
|
2235
2081
|
body_type='json'
|
|
2236
2082
|
)
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
)
|
|
2242
|
-
else:
|
|
2243
|
-
return TeaCore.from_map(
|
|
2244
|
-
ecd_20201002_models.RebootDesktopsResponse(),
|
|
2245
|
-
self.execute(params, req, runtime)
|
|
2246
|
-
)
|
|
2083
|
+
return TeaCore.from_map(
|
|
2084
|
+
ecd_20201002_models.RebootDesktopsResponse(),
|
|
2085
|
+
self.call_api(params, req, runtime)
|
|
2086
|
+
)
|
|
2247
2087
|
|
|
2248
2088
|
async def reboot_desktops_with_options_async(
|
|
2249
2089
|
self,
|
|
@@ -2271,6 +2111,8 @@ class Client(OpenApiClient):
|
|
|
2271
2111
|
query['DesktopId'] = request.desktop_id
|
|
2272
2112
|
if not UtilClient.is_unset(request.login_token):
|
|
2273
2113
|
query['LoginToken'] = request.login_token
|
|
2114
|
+
if not UtilClient.is_unset(request.os_update):
|
|
2115
|
+
query['OsUpdate'] = request.os_update
|
|
2274
2116
|
if not UtilClient.is_unset(request.region_id):
|
|
2275
2117
|
query['RegionId'] = request.region_id
|
|
2276
2118
|
if not UtilClient.is_unset(request.session_id):
|
|
@@ -2293,16 +2135,10 @@ class Client(OpenApiClient):
|
|
|
2293
2135
|
req_body_type='formData',
|
|
2294
2136
|
body_type='json'
|
|
2295
2137
|
)
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
)
|
|
2301
|
-
else:
|
|
2302
|
-
return TeaCore.from_map(
|
|
2303
|
-
ecd_20201002_models.RebootDesktopsResponse(),
|
|
2304
|
-
await self.execute_async(params, req, runtime)
|
|
2305
|
-
)
|
|
2138
|
+
return TeaCore.from_map(
|
|
2139
|
+
ecd_20201002_models.RebootDesktopsResponse(),
|
|
2140
|
+
await self.call_api_async(params, req, runtime)
|
|
2141
|
+
)
|
|
2306
2142
|
|
|
2307
2143
|
def reboot_desktops(
|
|
2308
2144
|
self,
|
|
@@ -2370,16 +2206,10 @@ class Client(OpenApiClient):
|
|
|
2370
2206
|
req_body_type='formData',
|
|
2371
2207
|
body_type='json'
|
|
2372
2208
|
)
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
)
|
|
2378
|
-
else:
|
|
2379
|
-
return TeaCore.from_map(
|
|
2380
|
-
ecd_20201002_models.RefreshLoginTokenResponse(),
|
|
2381
|
-
self.execute(params, req, runtime)
|
|
2382
|
-
)
|
|
2209
|
+
return TeaCore.from_map(
|
|
2210
|
+
ecd_20201002_models.RefreshLoginTokenResponse(),
|
|
2211
|
+
self.call_api(params, req, runtime)
|
|
2212
|
+
)
|
|
2383
2213
|
|
|
2384
2214
|
async def refresh_login_token_with_options_async(
|
|
2385
2215
|
self,
|
|
@@ -2421,16 +2251,10 @@ class Client(OpenApiClient):
|
|
|
2421
2251
|
req_body_type='formData',
|
|
2422
2252
|
body_type='json'
|
|
2423
2253
|
)
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
)
|
|
2429
|
-
else:
|
|
2430
|
-
return TeaCore.from_map(
|
|
2431
|
-
ecd_20201002_models.RefreshLoginTokenResponse(),
|
|
2432
|
-
await self.execute_async(params, req, runtime)
|
|
2433
|
-
)
|
|
2254
|
+
return TeaCore.from_map(
|
|
2255
|
+
ecd_20201002_models.RefreshLoginTokenResponse(),
|
|
2256
|
+
await self.call_api_async(params, req, runtime)
|
|
2257
|
+
)
|
|
2434
2258
|
|
|
2435
2259
|
def refresh_login_token(
|
|
2436
2260
|
self,
|
|
@@ -2490,16 +2314,10 @@ class Client(OpenApiClient):
|
|
|
2490
2314
|
req_body_type='formData',
|
|
2491
2315
|
body_type='json'
|
|
2492
2316
|
)
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
)
|
|
2498
|
-
else:
|
|
2499
|
-
return TeaCore.from_map(
|
|
2500
|
-
ecd_20201002_models.ReportEdsAgentInfoResponse(),
|
|
2501
|
-
self.execute(params, req, runtime)
|
|
2502
|
-
)
|
|
2317
|
+
return TeaCore.from_map(
|
|
2318
|
+
ecd_20201002_models.ReportEdsAgentInfoResponse(),
|
|
2319
|
+
self.call_api(params, req, runtime)
|
|
2320
|
+
)
|
|
2503
2321
|
|
|
2504
2322
|
async def report_eds_agent_info_with_options_async(
|
|
2505
2323
|
self,
|
|
@@ -2537,16 +2355,10 @@ class Client(OpenApiClient):
|
|
|
2537
2355
|
req_body_type='formData',
|
|
2538
2356
|
body_type='json'
|
|
2539
2357
|
)
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
)
|
|
2545
|
-
else:
|
|
2546
|
-
return TeaCore.from_map(
|
|
2547
|
-
ecd_20201002_models.ReportEdsAgentInfoResponse(),
|
|
2548
|
-
await self.execute_async(params, req, runtime)
|
|
2549
|
-
)
|
|
2358
|
+
return TeaCore.from_map(
|
|
2359
|
+
ecd_20201002_models.ReportEdsAgentInfoResponse(),
|
|
2360
|
+
await self.call_api_async(params, req, runtime)
|
|
2361
|
+
)
|
|
2550
2362
|
|
|
2551
2363
|
def report_eds_agent_info(
|
|
2552
2364
|
self,
|
|
@@ -2612,16 +2424,10 @@ class Client(OpenApiClient):
|
|
|
2612
2424
|
req_body_type='formData',
|
|
2613
2425
|
body_type='json'
|
|
2614
2426
|
)
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
)
|
|
2620
|
-
else:
|
|
2621
|
-
return TeaCore.from_map(
|
|
2622
|
-
ecd_20201002_models.ReportSessionStatusResponse(),
|
|
2623
|
-
self.execute(params, req, runtime)
|
|
2624
|
-
)
|
|
2427
|
+
return TeaCore.from_map(
|
|
2428
|
+
ecd_20201002_models.ReportSessionStatusResponse(),
|
|
2429
|
+
self.call_api(params, req, runtime)
|
|
2430
|
+
)
|
|
2625
2431
|
|
|
2626
2432
|
async def report_session_status_with_options_async(
|
|
2627
2433
|
self,
|
|
@@ -2661,16 +2467,10 @@ class Client(OpenApiClient):
|
|
|
2661
2467
|
req_body_type='formData',
|
|
2662
2468
|
body_type='json'
|
|
2663
2469
|
)
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
)
|
|
2669
|
-
else:
|
|
2670
|
-
return TeaCore.from_map(
|
|
2671
|
-
ecd_20201002_models.ReportSessionStatusResponse(),
|
|
2672
|
-
await self.execute_async(params, req, runtime)
|
|
2673
|
-
)
|
|
2470
|
+
return TeaCore.from_map(
|
|
2471
|
+
ecd_20201002_models.ReportSessionStatusResponse(),
|
|
2472
|
+
await self.call_api_async(params, req, runtime)
|
|
2473
|
+
)
|
|
2674
2474
|
|
|
2675
2475
|
def report_session_status(
|
|
2676
2476
|
self,
|
|
@@ -2700,6 +2500,8 @@ class Client(OpenApiClient):
|
|
|
2700
2500
|
runtime: util_models.RuntimeOptions,
|
|
2701
2501
|
) -> ecd_20201002_models.ResetPasswordResponse:
|
|
2702
2502
|
"""
|
|
2503
|
+
@summary Resets a password.
|
|
2504
|
+
|
|
2703
2505
|
@param request: ResetPasswordRequest
|
|
2704
2506
|
@param runtime: runtime options for this request RuntimeOptions
|
|
2705
2507
|
@return: ResetPasswordResponse
|
|
@@ -2734,16 +2536,10 @@ class Client(OpenApiClient):
|
|
|
2734
2536
|
req_body_type='formData',
|
|
2735
2537
|
body_type='json'
|
|
2736
2538
|
)
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
)
|
|
2742
|
-
else:
|
|
2743
|
-
return TeaCore.from_map(
|
|
2744
|
-
ecd_20201002_models.ResetPasswordResponse(),
|
|
2745
|
-
self.execute(params, req, runtime)
|
|
2746
|
-
)
|
|
2539
|
+
return TeaCore.from_map(
|
|
2540
|
+
ecd_20201002_models.ResetPasswordResponse(),
|
|
2541
|
+
self.call_api(params, req, runtime)
|
|
2542
|
+
)
|
|
2747
2543
|
|
|
2748
2544
|
async def reset_password_with_options_async(
|
|
2749
2545
|
self,
|
|
@@ -2751,6 +2547,8 @@ class Client(OpenApiClient):
|
|
|
2751
2547
|
runtime: util_models.RuntimeOptions,
|
|
2752
2548
|
) -> ecd_20201002_models.ResetPasswordResponse:
|
|
2753
2549
|
"""
|
|
2550
|
+
@summary Resets a password.
|
|
2551
|
+
|
|
2754
2552
|
@param request: ResetPasswordRequest
|
|
2755
2553
|
@param runtime: runtime options for this request RuntimeOptions
|
|
2756
2554
|
@return: ResetPasswordResponse
|
|
@@ -2785,22 +2583,18 @@ class Client(OpenApiClient):
|
|
|
2785
2583
|
req_body_type='formData',
|
|
2786
2584
|
body_type='json'
|
|
2787
2585
|
)
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
)
|
|
2793
|
-
else:
|
|
2794
|
-
return TeaCore.from_map(
|
|
2795
|
-
ecd_20201002_models.ResetPasswordResponse(),
|
|
2796
|
-
await self.execute_async(params, req, runtime)
|
|
2797
|
-
)
|
|
2586
|
+
return TeaCore.from_map(
|
|
2587
|
+
ecd_20201002_models.ResetPasswordResponse(),
|
|
2588
|
+
await self.call_api_async(params, req, runtime)
|
|
2589
|
+
)
|
|
2798
2590
|
|
|
2799
2591
|
def reset_password(
|
|
2800
2592
|
self,
|
|
2801
2593
|
request: ecd_20201002_models.ResetPasswordRequest,
|
|
2802
2594
|
) -> ecd_20201002_models.ResetPasswordResponse:
|
|
2803
2595
|
"""
|
|
2596
|
+
@summary Resets a password.
|
|
2597
|
+
|
|
2804
2598
|
@param request: ResetPasswordRequest
|
|
2805
2599
|
@return: ResetPasswordResponse
|
|
2806
2600
|
"""
|
|
@@ -2812,6 +2606,8 @@ class Client(OpenApiClient):
|
|
|
2812
2606
|
request: ecd_20201002_models.ResetPasswordRequest,
|
|
2813
2607
|
) -> ecd_20201002_models.ResetPasswordResponse:
|
|
2814
2608
|
"""
|
|
2609
|
+
@summary Resets a password.
|
|
2610
|
+
|
|
2815
2611
|
@param request: ResetPasswordRequest
|
|
2816
2612
|
@return: ResetPasswordResponse
|
|
2817
2613
|
"""
|
|
@@ -2824,7 +2620,7 @@ class Client(OpenApiClient):
|
|
|
2824
2620
|
runtime: util_models.RuntimeOptions,
|
|
2825
2621
|
) -> ecd_20201002_models.ResetSnapshotResponse:
|
|
2826
2622
|
"""
|
|
2827
|
-
@summary
|
|
2623
|
+
@summary Restores the data of a disk from a snapshot.
|
|
2828
2624
|
|
|
2829
2625
|
@param request: ResetSnapshotRequest
|
|
2830
2626
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -2860,16 +2656,10 @@ class Client(OpenApiClient):
|
|
|
2860
2656
|
req_body_type='formData',
|
|
2861
2657
|
body_type='json'
|
|
2862
2658
|
)
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
)
|
|
2868
|
-
else:
|
|
2869
|
-
return TeaCore.from_map(
|
|
2870
|
-
ecd_20201002_models.ResetSnapshotResponse(),
|
|
2871
|
-
self.execute(params, req, runtime)
|
|
2872
|
-
)
|
|
2659
|
+
return TeaCore.from_map(
|
|
2660
|
+
ecd_20201002_models.ResetSnapshotResponse(),
|
|
2661
|
+
self.call_api(params, req, runtime)
|
|
2662
|
+
)
|
|
2873
2663
|
|
|
2874
2664
|
async def reset_snapshot_with_options_async(
|
|
2875
2665
|
self,
|
|
@@ -2877,7 +2667,7 @@ class Client(OpenApiClient):
|
|
|
2877
2667
|
runtime: util_models.RuntimeOptions,
|
|
2878
2668
|
) -> ecd_20201002_models.ResetSnapshotResponse:
|
|
2879
2669
|
"""
|
|
2880
|
-
@summary
|
|
2670
|
+
@summary Restores the data of a disk from a snapshot.
|
|
2881
2671
|
|
|
2882
2672
|
@param request: ResetSnapshotRequest
|
|
2883
2673
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -2913,23 +2703,17 @@ class Client(OpenApiClient):
|
|
|
2913
2703
|
req_body_type='formData',
|
|
2914
2704
|
body_type='json'
|
|
2915
2705
|
)
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
)
|
|
2921
|
-
else:
|
|
2922
|
-
return TeaCore.from_map(
|
|
2923
|
-
ecd_20201002_models.ResetSnapshotResponse(),
|
|
2924
|
-
await self.execute_async(params, req, runtime)
|
|
2925
|
-
)
|
|
2706
|
+
return TeaCore.from_map(
|
|
2707
|
+
ecd_20201002_models.ResetSnapshotResponse(),
|
|
2708
|
+
await self.call_api_async(params, req, runtime)
|
|
2709
|
+
)
|
|
2926
2710
|
|
|
2927
2711
|
def reset_snapshot(
|
|
2928
2712
|
self,
|
|
2929
2713
|
request: ecd_20201002_models.ResetSnapshotRequest,
|
|
2930
2714
|
) -> ecd_20201002_models.ResetSnapshotResponse:
|
|
2931
2715
|
"""
|
|
2932
|
-
@summary
|
|
2716
|
+
@summary Restores the data of a disk from a snapshot.
|
|
2933
2717
|
|
|
2934
2718
|
@param request: ResetSnapshotRequest
|
|
2935
2719
|
@return: ResetSnapshotResponse
|
|
@@ -2942,7 +2726,7 @@ class Client(OpenApiClient):
|
|
|
2942
2726
|
request: ecd_20201002_models.ResetSnapshotRequest,
|
|
2943
2727
|
) -> ecd_20201002_models.ResetSnapshotResponse:
|
|
2944
2728
|
"""
|
|
2945
|
-
@summary
|
|
2729
|
+
@summary Restores the data of a disk from a snapshot.
|
|
2946
2730
|
|
|
2947
2731
|
@param request: ResetSnapshotRequest
|
|
2948
2732
|
@return: ResetSnapshotResponse
|
|
@@ -2956,6 +2740,8 @@ class Client(OpenApiClient):
|
|
|
2956
2740
|
runtime: util_models.RuntimeOptions,
|
|
2957
2741
|
) -> ecd_20201002_models.SendTokenCodeResponse:
|
|
2958
2742
|
"""
|
|
2743
|
+
@summary Sends a logon verification code.
|
|
2744
|
+
|
|
2959
2745
|
@param request: SendTokenCodeRequest
|
|
2960
2746
|
@param runtime: runtime options for this request RuntimeOptions
|
|
2961
2747
|
@return: SendTokenCodeResponse
|
|
@@ -2992,16 +2778,10 @@ class Client(OpenApiClient):
|
|
|
2992
2778
|
req_body_type='formData',
|
|
2993
2779
|
body_type='json'
|
|
2994
2780
|
)
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
)
|
|
3000
|
-
else:
|
|
3001
|
-
return TeaCore.from_map(
|
|
3002
|
-
ecd_20201002_models.SendTokenCodeResponse(),
|
|
3003
|
-
self.execute(params, req, runtime)
|
|
3004
|
-
)
|
|
2781
|
+
return TeaCore.from_map(
|
|
2782
|
+
ecd_20201002_models.SendTokenCodeResponse(),
|
|
2783
|
+
self.call_api(params, req, runtime)
|
|
2784
|
+
)
|
|
3005
2785
|
|
|
3006
2786
|
async def send_token_code_with_options_async(
|
|
3007
2787
|
self,
|
|
@@ -3009,6 +2789,8 @@ class Client(OpenApiClient):
|
|
|
3009
2789
|
runtime: util_models.RuntimeOptions,
|
|
3010
2790
|
) -> ecd_20201002_models.SendTokenCodeResponse:
|
|
3011
2791
|
"""
|
|
2792
|
+
@summary Sends a logon verification code.
|
|
2793
|
+
|
|
3012
2794
|
@param request: SendTokenCodeRequest
|
|
3013
2795
|
@param runtime: runtime options for this request RuntimeOptions
|
|
3014
2796
|
@return: SendTokenCodeResponse
|
|
@@ -3045,22 +2827,18 @@ class Client(OpenApiClient):
|
|
|
3045
2827
|
req_body_type='formData',
|
|
3046
2828
|
body_type='json'
|
|
3047
2829
|
)
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
)
|
|
3053
|
-
else:
|
|
3054
|
-
return TeaCore.from_map(
|
|
3055
|
-
ecd_20201002_models.SendTokenCodeResponse(),
|
|
3056
|
-
await self.execute_async(params, req, runtime)
|
|
3057
|
-
)
|
|
2830
|
+
return TeaCore.from_map(
|
|
2831
|
+
ecd_20201002_models.SendTokenCodeResponse(),
|
|
2832
|
+
await self.call_api_async(params, req, runtime)
|
|
2833
|
+
)
|
|
3058
2834
|
|
|
3059
2835
|
def send_token_code(
|
|
3060
2836
|
self,
|
|
3061
2837
|
request: ecd_20201002_models.SendTokenCodeRequest,
|
|
3062
2838
|
) -> ecd_20201002_models.SendTokenCodeResponse:
|
|
3063
2839
|
"""
|
|
2840
|
+
@summary Sends a logon verification code.
|
|
2841
|
+
|
|
3064
2842
|
@param request: SendTokenCodeRequest
|
|
3065
2843
|
@return: SendTokenCodeResponse
|
|
3066
2844
|
"""
|
|
@@ -3072,6 +2850,8 @@ class Client(OpenApiClient):
|
|
|
3072
2850
|
request: ecd_20201002_models.SendTokenCodeRequest,
|
|
3073
2851
|
) -> ecd_20201002_models.SendTokenCodeResponse:
|
|
3074
2852
|
"""
|
|
2853
|
+
@summary Sends a logon verification code.
|
|
2854
|
+
|
|
3075
2855
|
@param request: SendTokenCodeRequest
|
|
3076
2856
|
@return: SendTokenCodeResponse
|
|
3077
2857
|
"""
|
|
@@ -3124,16 +2904,10 @@ class Client(OpenApiClient):
|
|
|
3124
2904
|
req_body_type='formData',
|
|
3125
2905
|
body_type='json'
|
|
3126
2906
|
)
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
)
|
|
3132
|
-
else:
|
|
3133
|
-
return TeaCore.from_map(
|
|
3134
|
-
ecd_20201002_models.SetFingerPrintTemplateResponse(),
|
|
3135
|
-
self.execute(params, req, runtime)
|
|
3136
|
-
)
|
|
2907
|
+
return TeaCore.from_map(
|
|
2908
|
+
ecd_20201002_models.SetFingerPrintTemplateResponse(),
|
|
2909
|
+
self.call_api(params, req, runtime)
|
|
2910
|
+
)
|
|
3137
2911
|
|
|
3138
2912
|
async def set_finger_print_template_with_options_async(
|
|
3139
2913
|
self,
|
|
@@ -3181,16 +2955,10 @@ class Client(OpenApiClient):
|
|
|
3181
2955
|
req_body_type='formData',
|
|
3182
2956
|
body_type='json'
|
|
3183
2957
|
)
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
)
|
|
3189
|
-
else:
|
|
3190
|
-
return TeaCore.from_map(
|
|
3191
|
-
ecd_20201002_models.SetFingerPrintTemplateResponse(),
|
|
3192
|
-
await self.execute_async(params, req, runtime)
|
|
3193
|
-
)
|
|
2958
|
+
return TeaCore.from_map(
|
|
2959
|
+
ecd_20201002_models.SetFingerPrintTemplateResponse(),
|
|
2960
|
+
await self.call_api_async(params, req, runtime)
|
|
2961
|
+
)
|
|
3194
2962
|
|
|
3195
2963
|
def set_finger_print_template(
|
|
3196
2964
|
self,
|
|
@@ -3254,16 +3022,10 @@ class Client(OpenApiClient):
|
|
|
3254
3022
|
req_body_type='formData',
|
|
3255
3023
|
body_type='json'
|
|
3256
3024
|
)
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
)
|
|
3262
|
-
else:
|
|
3263
|
-
return TeaCore.from_map(
|
|
3264
|
-
ecd_20201002_models.SetFingerPrintTemplateDescriptionResponse(),
|
|
3265
|
-
self.execute(params, req, runtime)
|
|
3266
|
-
)
|
|
3025
|
+
return TeaCore.from_map(
|
|
3026
|
+
ecd_20201002_models.SetFingerPrintTemplateDescriptionResponse(),
|
|
3027
|
+
self.call_api(params, req, runtime)
|
|
3028
|
+
)
|
|
3267
3029
|
|
|
3268
3030
|
async def set_finger_print_template_description_with_options_async(
|
|
3269
3031
|
self,
|
|
@@ -3305,16 +3067,10 @@ class Client(OpenApiClient):
|
|
|
3305
3067
|
req_body_type='formData',
|
|
3306
3068
|
body_type='json'
|
|
3307
3069
|
)
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
)
|
|
3313
|
-
else:
|
|
3314
|
-
return TeaCore.from_map(
|
|
3315
|
-
ecd_20201002_models.SetFingerPrintTemplateDescriptionResponse(),
|
|
3316
|
-
await self.execute_async(params, req, runtime)
|
|
3317
|
-
)
|
|
3070
|
+
return TeaCore.from_map(
|
|
3071
|
+
ecd_20201002_models.SetFingerPrintTemplateDescriptionResponse(),
|
|
3072
|
+
await self.call_api_async(params, req, runtime)
|
|
3073
|
+
)
|
|
3318
3074
|
|
|
3319
3075
|
def set_finger_print_template_description(
|
|
3320
3076
|
self,
|
|
@@ -3386,16 +3142,10 @@ class Client(OpenApiClient):
|
|
|
3386
3142
|
req_body_type='formData',
|
|
3387
3143
|
body_type='json'
|
|
3388
3144
|
)
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
)
|
|
3394
|
-
else:
|
|
3395
|
-
return TeaCore.from_map(
|
|
3396
|
-
ecd_20201002_models.StartDesktopsResponse(),
|
|
3397
|
-
self.execute(params, req, runtime)
|
|
3398
|
-
)
|
|
3145
|
+
return TeaCore.from_map(
|
|
3146
|
+
ecd_20201002_models.StartDesktopsResponse(),
|
|
3147
|
+
self.call_api(params, req, runtime)
|
|
3148
|
+
)
|
|
3399
3149
|
|
|
3400
3150
|
async def start_desktops_with_options_async(
|
|
3401
3151
|
self,
|
|
@@ -3445,16 +3195,10 @@ class Client(OpenApiClient):
|
|
|
3445
3195
|
req_body_type='formData',
|
|
3446
3196
|
body_type='json'
|
|
3447
3197
|
)
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
)
|
|
3453
|
-
else:
|
|
3454
|
-
return TeaCore.from_map(
|
|
3455
|
-
ecd_20201002_models.StartDesktopsResponse(),
|
|
3456
|
-
await self.execute_async(params, req, runtime)
|
|
3457
|
-
)
|
|
3198
|
+
return TeaCore.from_map(
|
|
3199
|
+
ecd_20201002_models.StartDesktopsResponse(),
|
|
3200
|
+
await self.call_api_async(params, req, runtime)
|
|
3201
|
+
)
|
|
3458
3202
|
|
|
3459
3203
|
def start_desktops(
|
|
3460
3204
|
self,
|
|
@@ -3528,16 +3272,10 @@ class Client(OpenApiClient):
|
|
|
3528
3272
|
req_body_type='formData',
|
|
3529
3273
|
body_type='json'
|
|
3530
3274
|
)
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
)
|
|
3536
|
-
else:
|
|
3537
|
-
return TeaCore.from_map(
|
|
3538
|
-
ecd_20201002_models.StartRecordContentResponse(),
|
|
3539
|
-
self.execute(params, req, runtime)
|
|
3540
|
-
)
|
|
3275
|
+
return TeaCore.from_map(
|
|
3276
|
+
ecd_20201002_models.StartRecordContentResponse(),
|
|
3277
|
+
self.call_api(params, req, runtime)
|
|
3278
|
+
)
|
|
3541
3279
|
|
|
3542
3280
|
async def start_record_content_with_options_async(
|
|
3543
3281
|
self,
|
|
@@ -3581,16 +3319,10 @@ class Client(OpenApiClient):
|
|
|
3581
3319
|
req_body_type='formData',
|
|
3582
3320
|
body_type='json'
|
|
3583
3321
|
)
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
)
|
|
3589
|
-
else:
|
|
3590
|
-
return TeaCore.from_map(
|
|
3591
|
-
ecd_20201002_models.StartRecordContentResponse(),
|
|
3592
|
-
await self.execute_async(params, req, runtime)
|
|
3593
|
-
)
|
|
3322
|
+
return TeaCore.from_map(
|
|
3323
|
+
ecd_20201002_models.StartRecordContentResponse(),
|
|
3324
|
+
await self.call_api_async(params, req, runtime)
|
|
3325
|
+
)
|
|
3594
3326
|
|
|
3595
3327
|
def start_record_content(
|
|
3596
3328
|
self,
|
|
@@ -3642,12 +3374,16 @@ class Client(OpenApiClient):
|
|
|
3642
3374
|
query['DesktopId'] = request.desktop_id
|
|
3643
3375
|
if not UtilClient.is_unset(request.login_token):
|
|
3644
3376
|
query['LoginToken'] = request.login_token
|
|
3377
|
+
if not UtilClient.is_unset(request.os_update):
|
|
3378
|
+
query['OsUpdate'] = request.os_update
|
|
3645
3379
|
if not UtilClient.is_unset(request.region_id):
|
|
3646
3380
|
query['RegionId'] = request.region_id
|
|
3647
3381
|
if not UtilClient.is_unset(request.session_id):
|
|
3648
3382
|
query['SessionId'] = request.session_id
|
|
3649
3383
|
if not UtilClient.is_unset(request.session_token):
|
|
3650
3384
|
query['SessionToken'] = request.session_token
|
|
3385
|
+
if not UtilClient.is_unset(request.uuid):
|
|
3386
|
+
query['Uuid'] = request.uuid
|
|
3651
3387
|
req = open_api_models.OpenApiRequest(
|
|
3652
3388
|
query=OpenApiUtilClient.query(query)
|
|
3653
3389
|
)
|
|
@@ -3662,16 +3398,10 @@ class Client(OpenApiClient):
|
|
|
3662
3398
|
req_body_type='formData',
|
|
3663
3399
|
body_type='json'
|
|
3664
3400
|
)
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
)
|
|
3670
|
-
else:
|
|
3671
|
-
return TeaCore.from_map(
|
|
3672
|
-
ecd_20201002_models.StopDesktopsResponse(),
|
|
3673
|
-
self.execute(params, req, runtime)
|
|
3674
|
-
)
|
|
3401
|
+
return TeaCore.from_map(
|
|
3402
|
+
ecd_20201002_models.StopDesktopsResponse(),
|
|
3403
|
+
self.call_api(params, req, runtime)
|
|
3404
|
+
)
|
|
3675
3405
|
|
|
3676
3406
|
async def stop_desktops_with_options_async(
|
|
3677
3407
|
self,
|
|
@@ -3701,12 +3431,16 @@ class Client(OpenApiClient):
|
|
|
3701
3431
|
query['DesktopId'] = request.desktop_id
|
|
3702
3432
|
if not UtilClient.is_unset(request.login_token):
|
|
3703
3433
|
query['LoginToken'] = request.login_token
|
|
3434
|
+
if not UtilClient.is_unset(request.os_update):
|
|
3435
|
+
query['OsUpdate'] = request.os_update
|
|
3704
3436
|
if not UtilClient.is_unset(request.region_id):
|
|
3705
3437
|
query['RegionId'] = request.region_id
|
|
3706
3438
|
if not UtilClient.is_unset(request.session_id):
|
|
3707
3439
|
query['SessionId'] = request.session_id
|
|
3708
3440
|
if not UtilClient.is_unset(request.session_token):
|
|
3709
3441
|
query['SessionToken'] = request.session_token
|
|
3442
|
+
if not UtilClient.is_unset(request.uuid):
|
|
3443
|
+
query['Uuid'] = request.uuid
|
|
3710
3444
|
req = open_api_models.OpenApiRequest(
|
|
3711
3445
|
query=OpenApiUtilClient.query(query)
|
|
3712
3446
|
)
|
|
@@ -3721,16 +3455,10 @@ class Client(OpenApiClient):
|
|
|
3721
3455
|
req_body_type='formData',
|
|
3722
3456
|
body_type='json'
|
|
3723
3457
|
)
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
)
|
|
3729
|
-
else:
|
|
3730
|
-
return TeaCore.from_map(
|
|
3731
|
-
ecd_20201002_models.StopDesktopsResponse(),
|
|
3732
|
-
await self.execute_async(params, req, runtime)
|
|
3733
|
-
)
|
|
3458
|
+
return TeaCore.from_map(
|
|
3459
|
+
ecd_20201002_models.StopDesktopsResponse(),
|
|
3460
|
+
await self.call_api_async(params, req, runtime)
|
|
3461
|
+
)
|
|
3734
3462
|
|
|
3735
3463
|
def stop_desktops(
|
|
3736
3464
|
self,
|
|
@@ -3802,16 +3530,10 @@ class Client(OpenApiClient):
|
|
|
3802
3530
|
req_body_type='formData',
|
|
3803
3531
|
body_type='json'
|
|
3804
3532
|
)
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
)
|
|
3810
|
-
else:
|
|
3811
|
-
return TeaCore.from_map(
|
|
3812
|
-
ecd_20201002_models.StopRecordContentResponse(),
|
|
3813
|
-
self.execute(params, req, runtime)
|
|
3814
|
-
)
|
|
3533
|
+
return TeaCore.from_map(
|
|
3534
|
+
ecd_20201002_models.StopRecordContentResponse(),
|
|
3535
|
+
self.call_api(params, req, runtime)
|
|
3536
|
+
)
|
|
3815
3537
|
|
|
3816
3538
|
async def stop_record_content_with_options_async(
|
|
3817
3539
|
self,
|
|
@@ -3853,16 +3575,10 @@ class Client(OpenApiClient):
|
|
|
3853
3575
|
req_body_type='formData',
|
|
3854
3576
|
body_type='json'
|
|
3855
3577
|
)
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
)
|
|
3861
|
-
else:
|
|
3862
|
-
return TeaCore.from_map(
|
|
3863
|
-
ecd_20201002_models.StopRecordContentResponse(),
|
|
3864
|
-
await self.execute_async(params, req, runtime)
|
|
3865
|
-
)
|
|
3578
|
+
return TeaCore.from_map(
|
|
3579
|
+
ecd_20201002_models.StopRecordContentResponse(),
|
|
3580
|
+
await self.call_api_async(params, req, runtime)
|
|
3581
|
+
)
|
|
3866
3582
|
|
|
3867
3583
|
def stop_record_content(
|
|
3868
3584
|
self,
|
|
@@ -3892,7 +3608,7 @@ class Client(OpenApiClient):
|
|
|
3892
3608
|
runtime: util_models.RuntimeOptions,
|
|
3893
3609
|
) -> ecd_20201002_models.UnbindUserDesktopResponse:
|
|
3894
3610
|
"""
|
|
3895
|
-
@summary
|
|
3611
|
+
@summary Unbinds end users from cloud computers.
|
|
3896
3612
|
|
|
3897
3613
|
@param request: UnbindUserDesktopRequest
|
|
3898
3614
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -3928,16 +3644,10 @@ class Client(OpenApiClient):
|
|
|
3928
3644
|
req_body_type='formData',
|
|
3929
3645
|
body_type='json'
|
|
3930
3646
|
)
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
)
|
|
3936
|
-
else:
|
|
3937
|
-
return TeaCore.from_map(
|
|
3938
|
-
ecd_20201002_models.UnbindUserDesktopResponse(),
|
|
3939
|
-
self.execute(params, req, runtime)
|
|
3940
|
-
)
|
|
3647
|
+
return TeaCore.from_map(
|
|
3648
|
+
ecd_20201002_models.UnbindUserDesktopResponse(),
|
|
3649
|
+
self.call_api(params, req, runtime)
|
|
3650
|
+
)
|
|
3941
3651
|
|
|
3942
3652
|
async def unbind_user_desktop_with_options_async(
|
|
3943
3653
|
self,
|
|
@@ -3945,7 +3655,7 @@ class Client(OpenApiClient):
|
|
|
3945
3655
|
runtime: util_models.RuntimeOptions,
|
|
3946
3656
|
) -> ecd_20201002_models.UnbindUserDesktopResponse:
|
|
3947
3657
|
"""
|
|
3948
|
-
@summary
|
|
3658
|
+
@summary Unbinds end users from cloud computers.
|
|
3949
3659
|
|
|
3950
3660
|
@param request: UnbindUserDesktopRequest
|
|
3951
3661
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -3981,23 +3691,17 @@ class Client(OpenApiClient):
|
|
|
3981
3691
|
req_body_type='formData',
|
|
3982
3692
|
body_type='json'
|
|
3983
3693
|
)
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
)
|
|
3989
|
-
else:
|
|
3990
|
-
return TeaCore.from_map(
|
|
3991
|
-
ecd_20201002_models.UnbindUserDesktopResponse(),
|
|
3992
|
-
await self.execute_async(params, req, runtime)
|
|
3993
|
-
)
|
|
3694
|
+
return TeaCore.from_map(
|
|
3695
|
+
ecd_20201002_models.UnbindUserDesktopResponse(),
|
|
3696
|
+
await self.call_api_async(params, req, runtime)
|
|
3697
|
+
)
|
|
3994
3698
|
|
|
3995
3699
|
def unbind_user_desktop(
|
|
3996
3700
|
self,
|
|
3997
3701
|
request: ecd_20201002_models.UnbindUserDesktopRequest,
|
|
3998
3702
|
) -> ecd_20201002_models.UnbindUserDesktopResponse:
|
|
3999
3703
|
"""
|
|
4000
|
-
@summary
|
|
3704
|
+
@summary Unbinds end users from cloud computers.
|
|
4001
3705
|
|
|
4002
3706
|
@param request: UnbindUserDesktopRequest
|
|
4003
3707
|
@return: UnbindUserDesktopResponse
|
|
@@ -4010,7 +3714,7 @@ class Client(OpenApiClient):
|
|
|
4010
3714
|
request: ecd_20201002_models.UnbindUserDesktopRequest,
|
|
4011
3715
|
) -> ecd_20201002_models.UnbindUserDesktopResponse:
|
|
4012
3716
|
"""
|
|
4013
|
-
@summary
|
|
3717
|
+
@summary Unbinds end users from cloud computers.
|
|
4014
3718
|
|
|
4015
3719
|
@param request: UnbindUserDesktopRequest
|
|
4016
3720
|
@return: UnbindUserDesktopResponse
|
|
@@ -4060,16 +3764,10 @@ class Client(OpenApiClient):
|
|
|
4060
3764
|
req_body_type='formData',
|
|
4061
3765
|
body_type='json'
|
|
4062
3766
|
)
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
)
|
|
4068
|
-
else:
|
|
4069
|
-
return TeaCore.from_map(
|
|
4070
|
-
ecd_20201002_models.VerifyCredentialResponse(),
|
|
4071
|
-
self.execute(params, req, runtime)
|
|
4072
|
-
)
|
|
3767
|
+
return TeaCore.from_map(
|
|
3768
|
+
ecd_20201002_models.VerifyCredentialResponse(),
|
|
3769
|
+
self.call_api(params, req, runtime)
|
|
3770
|
+
)
|
|
4073
3771
|
|
|
4074
3772
|
async def verify_credential_with_options_async(
|
|
4075
3773
|
self,
|
|
@@ -4113,16 +3811,10 @@ class Client(OpenApiClient):
|
|
|
4113
3811
|
req_body_type='formData',
|
|
4114
3812
|
body_type='json'
|
|
4115
3813
|
)
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
)
|
|
4121
|
-
else:
|
|
4122
|
-
return TeaCore.from_map(
|
|
4123
|
-
ecd_20201002_models.VerifyCredentialResponse(),
|
|
4124
|
-
await self.execute_async(params, req, runtime)
|
|
4125
|
-
)
|
|
3814
|
+
return TeaCore.from_map(
|
|
3815
|
+
ecd_20201002_models.VerifyCredentialResponse(),
|
|
3816
|
+
await self.call_api_async(params, req, runtime)
|
|
3817
|
+
)
|
|
4126
3818
|
|
|
4127
3819
|
def verify_credential(
|
|
4128
3820
|
self,
|