@alicloud/ecd20201002 2.1.8 → 2.1.9
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 +262 -4
- package/dist/client.js +64 -190
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +299 -190
package/dist/client.js
CHANGED
|
@@ -3318,6 +3318,7 @@ class StopDesktopsRequest extends $dara.Model {
|
|
|
3318
3318
|
regionId: 'RegionId',
|
|
3319
3319
|
sessionId: 'SessionId',
|
|
3320
3320
|
sessionToken: 'SessionToken',
|
|
3321
|
+
uuid: 'Uuid',
|
|
3321
3322
|
};
|
|
3322
3323
|
}
|
|
3323
3324
|
static types() {
|
|
@@ -3332,6 +3333,7 @@ class StopDesktopsRequest extends $dara.Model {
|
|
|
3332
3333
|
regionId: 'string',
|
|
3333
3334
|
sessionId: 'string',
|
|
3334
3335
|
sessionToken: 'string',
|
|
3336
|
+
uuid: 'string',
|
|
3335
3337
|
};
|
|
3336
3338
|
}
|
|
3337
3339
|
validate() {
|
|
@@ -3697,12 +3699,7 @@ class Client extends openapi_core_1.default {
|
|
|
3697
3699
|
reqBodyType: "formData",
|
|
3698
3700
|
bodyType: "json",
|
|
3699
3701
|
});
|
|
3700
|
-
|
|
3701
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
3702
|
-
}
|
|
3703
|
-
else {
|
|
3704
|
-
return $dara.cast(await this.execute(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
3705
|
-
}
|
|
3702
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ApproveFotaUpdateResponse({}));
|
|
3706
3703
|
}
|
|
3707
3704
|
/**
|
|
3708
3705
|
* 允许桌面FOTA升级
|
|
@@ -3715,6 +3712,8 @@ class Client extends openapi_core_1.default {
|
|
|
3715
3712
|
return await this.approveFotaUpdateWithOptions(request, runtime);
|
|
3716
3713
|
}
|
|
3717
3714
|
/**
|
|
3715
|
+
* Changes the password of a user account.
|
|
3716
|
+
*
|
|
3718
3717
|
* @param request - ChangePasswordRequest
|
|
3719
3718
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3720
3719
|
* @returns ChangePasswordResponse
|
|
@@ -3760,14 +3759,11 @@ class Client extends openapi_core_1.default {
|
|
|
3760
3759
|
reqBodyType: "formData",
|
|
3761
3760
|
bodyType: "json",
|
|
3762
3761
|
});
|
|
3763
|
-
|
|
3764
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ChangePasswordResponse({}));
|
|
3765
|
-
}
|
|
3766
|
-
else {
|
|
3767
|
-
return $dara.cast(await this.execute(params, req, runtime), new ChangePasswordResponse({}));
|
|
3768
|
-
}
|
|
3762
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ChangePasswordResponse({}));
|
|
3769
3763
|
}
|
|
3770
3764
|
/**
|
|
3765
|
+
* Changes the password of a user account.
|
|
3766
|
+
*
|
|
3771
3767
|
* @param request - ChangePasswordRequest
|
|
3772
3768
|
* @returns ChangePasswordResponse
|
|
3773
3769
|
*/
|
|
@@ -3815,12 +3811,7 @@ class Client extends openapi_core_1.default {
|
|
|
3815
3811
|
reqBodyType: "formData",
|
|
3816
3812
|
bodyType: "json",
|
|
3817
3813
|
});
|
|
3818
|
-
|
|
3819
|
-
return $dara.cast(await this.callApi(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
|
|
3820
|
-
}
|
|
3821
|
-
else {
|
|
3822
|
-
return $dara.cast(await this.execute(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
|
|
3823
|
-
}
|
|
3814
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteFingerPrintTemplateResponse({}));
|
|
3824
3815
|
}
|
|
3825
3816
|
/**
|
|
3826
3817
|
* @param request - DeleteFingerPrintTemplateRequest
|
|
@@ -3831,6 +3822,8 @@ class Client extends openapi_core_1.default {
|
|
|
3831
3822
|
return await this.deleteFingerPrintTemplateWithOptions(request, runtime);
|
|
3832
3823
|
}
|
|
3833
3824
|
/**
|
|
3825
|
+
* Queries directory details.
|
|
3826
|
+
*
|
|
3834
3827
|
* @param request - DescribeDirectoriesRequest
|
|
3835
3828
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3836
3829
|
* @returns DescribeDirectoriesResponse
|
|
@@ -3861,14 +3854,11 @@ class Client extends openapi_core_1.default {
|
|
|
3861
3854
|
reqBodyType: "formData",
|
|
3862
3855
|
bodyType: "json",
|
|
3863
3856
|
});
|
|
3864
|
-
|
|
3865
|
-
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDirectoriesResponse({}));
|
|
3866
|
-
}
|
|
3867
|
-
else {
|
|
3868
|
-
return $dara.cast(await this.execute(params, req, runtime), new DescribeDirectoriesResponse({}));
|
|
3869
|
-
}
|
|
3857
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDirectoriesResponse({}));
|
|
3870
3858
|
}
|
|
3871
3859
|
/**
|
|
3860
|
+
* Queries directory details.
|
|
3861
|
+
*
|
|
3872
3862
|
* @param request - DescribeDirectoriesRequest
|
|
3873
3863
|
* @returns DescribeDirectoriesResponse
|
|
3874
3864
|
*/
|
|
@@ -3877,6 +3867,8 @@ class Client extends openapi_core_1.default {
|
|
|
3877
3867
|
return await this.describeDirectoriesWithOptions(request, runtime);
|
|
3878
3868
|
}
|
|
3879
3869
|
/**
|
|
3870
|
+
* Queries fingerprint templates.
|
|
3871
|
+
*
|
|
3880
3872
|
* @param request - DescribeFingerPrintTemplatesRequest
|
|
3881
3873
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3882
3874
|
* @returns DescribeFingerPrintTemplatesResponse
|
|
@@ -3910,14 +3902,11 @@ class Client extends openapi_core_1.default {
|
|
|
3910
3902
|
reqBodyType: "formData",
|
|
3911
3903
|
bodyType: "json",
|
|
3912
3904
|
});
|
|
3913
|
-
|
|
3914
|
-
return $dara.cast(await this.callApi(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
|
|
3915
|
-
}
|
|
3916
|
-
else {
|
|
3917
|
-
return $dara.cast(await this.execute(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
|
|
3918
|
-
}
|
|
3905
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeFingerPrintTemplatesResponse({}));
|
|
3919
3906
|
}
|
|
3920
3907
|
/**
|
|
3908
|
+
* Queries fingerprint templates.
|
|
3909
|
+
*
|
|
3921
3910
|
* @param request - DescribeFingerPrintTemplatesRequest
|
|
3922
3911
|
* @returns DescribeFingerPrintTemplatesResponse
|
|
3923
3912
|
*/
|
|
@@ -4007,12 +3996,7 @@ class Client extends openapi_core_1.default {
|
|
|
4007
3996
|
reqBodyType: "formData",
|
|
4008
3997
|
bodyType: "json",
|
|
4009
3998
|
});
|
|
4010
|
-
|
|
4011
|
-
return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
|
|
4012
|
-
}
|
|
4013
|
-
else {
|
|
4014
|
-
return $dara.cast(await this.execute(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
|
|
4015
|
-
}
|
|
3999
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalDesktopsResponse({}));
|
|
4016
4000
|
}
|
|
4017
4001
|
/**
|
|
4018
4002
|
* @param request - DescribeGlobalDesktopsRequest
|
|
@@ -4053,12 +4037,7 @@ class Client extends openapi_core_1.default {
|
|
|
4053
4037
|
reqBodyType: "formData",
|
|
4054
4038
|
bodyType: "json",
|
|
4055
4039
|
});
|
|
4056
|
-
|
|
4057
|
-
return $dara.cast(await this.callApi(params, req, runtime), new DescribeOfficeSitesResponse({}));
|
|
4058
|
-
}
|
|
4059
|
-
else {
|
|
4060
|
-
return $dara.cast(await this.execute(params, req, runtime), new DescribeOfficeSitesResponse({}));
|
|
4061
|
-
}
|
|
4040
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeOfficeSitesResponse({}));
|
|
4062
4041
|
}
|
|
4063
4042
|
/**
|
|
4064
4043
|
* @param request - DescribeOfficeSitesRequest
|
|
@@ -4096,12 +4075,7 @@ class Client extends openapi_core_1.default {
|
|
|
4096
4075
|
reqBodyType: "formData",
|
|
4097
4076
|
bodyType: "json",
|
|
4098
4077
|
});
|
|
4099
|
-
|
|
4100
|
-
return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
4101
|
-
}
|
|
4102
|
-
else {
|
|
4103
|
-
return $dara.cast(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
|
|
4104
|
-
}
|
|
4078
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
4105
4079
|
}
|
|
4106
4080
|
/**
|
|
4107
4081
|
* @param request - DescribeRegionsRequest
|
|
@@ -4159,12 +4133,7 @@ class Client extends openapi_core_1.default {
|
|
|
4159
4133
|
reqBodyType: "formData",
|
|
4160
4134
|
bodyType: "json",
|
|
4161
4135
|
});
|
|
4162
|
-
|
|
4163
|
-
return $dara.cast(await this.callApi(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
4164
|
-
}
|
|
4165
|
-
else {
|
|
4166
|
-
return $dara.cast(await this.execute(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
4167
|
-
}
|
|
4136
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeSnapshotsResponse({}));
|
|
4168
4137
|
}
|
|
4169
4138
|
/**
|
|
4170
4139
|
* 列举快照
|
|
@@ -4278,12 +4247,7 @@ class Client extends openapi_core_1.default {
|
|
|
4278
4247
|
reqBodyType: "formData",
|
|
4279
4248
|
bodyType: "json",
|
|
4280
4249
|
});
|
|
4281
|
-
|
|
4282
|
-
return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserResourcesResponse({}));
|
|
4283
|
-
}
|
|
4284
|
-
else {
|
|
4285
|
-
return $dara.cast(await this.execute(params, req, runtime), new DescribeUserResourcesResponse({}));
|
|
4286
|
-
}
|
|
4250
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserResourcesResponse({}));
|
|
4287
4251
|
}
|
|
4288
4252
|
/**
|
|
4289
4253
|
* 查询用户资源列表
|
|
@@ -4296,6 +4260,8 @@ class Client extends openapi_core_1.default {
|
|
|
4296
4260
|
return await this.describeUserResourcesWithOptions(request, runtime);
|
|
4297
4261
|
}
|
|
4298
4262
|
/**
|
|
4263
|
+
* Encrypts a password.
|
|
4264
|
+
*
|
|
4299
4265
|
* @param request - EncryptPasswordRequest
|
|
4300
4266
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4301
4267
|
* @returns EncryptPasswordResponse
|
|
@@ -4338,14 +4304,11 @@ class Client extends openapi_core_1.default {
|
|
|
4338
4304
|
reqBodyType: "formData",
|
|
4339
4305
|
bodyType: "json",
|
|
4340
4306
|
});
|
|
4341
|
-
|
|
4342
|
-
return $dara.cast(await this.callApi(params, req, runtime), new EncryptPasswordResponse({}));
|
|
4343
|
-
}
|
|
4344
|
-
else {
|
|
4345
|
-
return $dara.cast(await this.execute(params, req, runtime), new EncryptPasswordResponse({}));
|
|
4346
|
-
}
|
|
4307
|
+
return $dara.cast(await this.callApi(params, req, runtime), new EncryptPasswordResponse({}));
|
|
4347
4308
|
}
|
|
4348
4309
|
/**
|
|
4310
|
+
* Encrypts a password.
|
|
4311
|
+
*
|
|
4349
4312
|
* @param request - EncryptPasswordRequest
|
|
4350
4313
|
* @returns EncryptPasswordResponse
|
|
4351
4314
|
*/
|
|
@@ -4392,12 +4355,7 @@ class Client extends openapi_core_1.default {
|
|
|
4392
4355
|
reqBodyType: "formData",
|
|
4393
4356
|
bodyType: "json",
|
|
4394
4357
|
});
|
|
4395
|
-
|
|
4396
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
|
|
4397
|
-
}
|
|
4398
|
-
else {
|
|
4399
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
|
|
4400
|
-
}
|
|
4358
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetCloudDriveServiceMountTokenResponse({}));
|
|
4401
4359
|
}
|
|
4402
4360
|
/**
|
|
4403
4361
|
* 获取无影云盘的免密token
|
|
@@ -4476,12 +4434,7 @@ class Client extends openapi_core_1.default {
|
|
|
4476
4434
|
reqBodyType: "formData",
|
|
4477
4435
|
bodyType: "json",
|
|
4478
4436
|
});
|
|
4479
|
-
|
|
4480
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
4481
|
-
}
|
|
4482
|
-
else {
|
|
4483
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
4484
|
-
}
|
|
4437
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
|
|
4485
4438
|
}
|
|
4486
4439
|
/**
|
|
4487
4440
|
* @param request - GetConnectionTicketRequest
|
|
@@ -4569,12 +4522,7 @@ class Client extends openapi_core_1.default {
|
|
|
4569
4522
|
reqBodyType: "formData",
|
|
4570
4523
|
bodyType: "json",
|
|
4571
4524
|
});
|
|
4572
|
-
|
|
4573
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetLoginTokenResponse({}));
|
|
4574
|
-
}
|
|
4575
|
-
else {
|
|
4576
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetLoginTokenResponse({}));
|
|
4577
|
-
}
|
|
4525
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetLoginTokenResponse({}));
|
|
4578
4526
|
}
|
|
4579
4527
|
/**
|
|
4580
4528
|
* Obtains logon credentials.
|
|
@@ -4619,12 +4567,7 @@ class Client extends openapi_core_1.default {
|
|
|
4619
4567
|
reqBodyType: "formData",
|
|
4620
4568
|
bodyType: "json",
|
|
4621
4569
|
});
|
|
4622
|
-
|
|
4623
|
-
return $dara.cast(await this.callApi(params, req, runtime), new IsKeepAliveResponse({}));
|
|
4624
|
-
}
|
|
4625
|
-
else {
|
|
4626
|
-
return $dara.cast(await this.execute(params, req, runtime), new IsKeepAliveResponse({}));
|
|
4627
|
-
}
|
|
4570
|
+
return $dara.cast(await this.callApi(params, req, runtime), new IsKeepAliveResponse({}));
|
|
4628
4571
|
}
|
|
4629
4572
|
/**
|
|
4630
4573
|
* 是否保持登录判断接口
|
|
@@ -4669,12 +4612,7 @@ class Client extends openapi_core_1.default {
|
|
|
4669
4612
|
reqBodyType: "formData",
|
|
4670
4613
|
bodyType: "json",
|
|
4671
4614
|
});
|
|
4672
|
-
|
|
4673
|
-
return $dara.cast(await this.callApi(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
|
|
4674
|
-
}
|
|
4675
|
-
else {
|
|
4676
|
-
return $dara.cast(await this.execute(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
|
|
4677
|
-
}
|
|
4615
|
+
return $dara.cast(await this.callApi(params, req, runtime), new QueryEdsAgentReportConfigResponse({}));
|
|
4678
4616
|
}
|
|
4679
4617
|
/**
|
|
4680
4618
|
* 查询Agent需要上报的配置信息
|
|
@@ -4743,12 +4681,7 @@ class Client extends openapi_core_1.default {
|
|
|
4743
4681
|
reqBodyType: "formData",
|
|
4744
4682
|
bodyType: "json",
|
|
4745
4683
|
});
|
|
4746
|
-
|
|
4747
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RebootDesktopsResponse({}));
|
|
4748
|
-
}
|
|
4749
|
-
else {
|
|
4750
|
-
return $dara.cast(await this.execute(params, req, runtime), new RebootDesktopsResponse({}));
|
|
4751
|
-
}
|
|
4684
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RebootDesktopsResponse({}));
|
|
4752
4685
|
}
|
|
4753
4686
|
/**
|
|
4754
4687
|
* Restart cloud computers.
|
|
@@ -4803,12 +4736,7 @@ class Client extends openapi_core_1.default {
|
|
|
4803
4736
|
reqBodyType: "formData",
|
|
4804
4737
|
bodyType: "json",
|
|
4805
4738
|
});
|
|
4806
|
-
|
|
4807
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RefreshLoginTokenResponse({}));
|
|
4808
|
-
}
|
|
4809
|
-
else {
|
|
4810
|
-
return $dara.cast(await this.execute(params, req, runtime), new RefreshLoginTokenResponse({}));
|
|
4811
|
-
}
|
|
4739
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RefreshLoginTokenResponse({}));
|
|
4812
4740
|
}
|
|
4813
4741
|
/**
|
|
4814
4742
|
* @param request - RefreshLoginTokenRequest
|
|
@@ -4854,12 +4782,7 @@ class Client extends openapi_core_1.default {
|
|
|
4854
4782
|
reqBodyType: "formData",
|
|
4855
4783
|
bodyType: "json",
|
|
4856
4784
|
});
|
|
4857
|
-
|
|
4858
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ReportEdsAgentInfoResponse({}));
|
|
4859
|
-
}
|
|
4860
|
-
else {
|
|
4861
|
-
return $dara.cast(await this.execute(params, req, runtime), new ReportEdsAgentInfoResponse({}));
|
|
4862
|
-
}
|
|
4785
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ReportEdsAgentInfoResponse({}));
|
|
4863
4786
|
}
|
|
4864
4787
|
/**
|
|
4865
4788
|
* 上报edsAgent的信息
|
|
@@ -4911,12 +4834,7 @@ class Client extends openapi_core_1.default {
|
|
|
4911
4834
|
reqBodyType: "formData",
|
|
4912
4835
|
bodyType: "json",
|
|
4913
4836
|
});
|
|
4914
|
-
|
|
4915
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ReportSessionStatusResponse({}));
|
|
4916
|
-
}
|
|
4917
|
-
else {
|
|
4918
|
-
return $dara.cast(await this.execute(params, req, runtime), new ReportSessionStatusResponse({}));
|
|
4919
|
-
}
|
|
4837
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ReportSessionStatusResponse({}));
|
|
4920
4838
|
}
|
|
4921
4839
|
/**
|
|
4922
4840
|
* @param request - ReportSessionStatusRequest
|
|
@@ -4927,6 +4845,8 @@ class Client extends openapi_core_1.default {
|
|
|
4927
4845
|
return await this.reportSessionStatusWithOptions(request, runtime);
|
|
4928
4846
|
}
|
|
4929
4847
|
/**
|
|
4848
|
+
* Resets a password.
|
|
4849
|
+
*
|
|
4930
4850
|
* @param request - ResetPasswordRequest
|
|
4931
4851
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4932
4852
|
* @returns ResetPasswordResponse
|
|
@@ -4969,14 +4889,11 @@ class Client extends openapi_core_1.default {
|
|
|
4969
4889
|
reqBodyType: "formData",
|
|
4970
4890
|
bodyType: "json",
|
|
4971
4891
|
});
|
|
4972
|
-
|
|
4973
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ResetPasswordResponse({}));
|
|
4974
|
-
}
|
|
4975
|
-
else {
|
|
4976
|
-
return $dara.cast(await this.execute(params, req, runtime), new ResetPasswordResponse({}));
|
|
4977
|
-
}
|
|
4892
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResetPasswordResponse({}));
|
|
4978
4893
|
}
|
|
4979
4894
|
/**
|
|
4895
|
+
* Resets a password.
|
|
4896
|
+
*
|
|
4980
4897
|
* @param request - ResetPasswordRequest
|
|
4981
4898
|
* @returns ResetPasswordResponse
|
|
4982
4899
|
*/
|
|
@@ -4985,7 +4902,7 @@ class Client extends openapi_core_1.default {
|
|
|
4985
4902
|
return await this.resetPasswordWithOptions(request, runtime);
|
|
4986
4903
|
}
|
|
4987
4904
|
/**
|
|
4988
|
-
*
|
|
4905
|
+
* Restores the data of a disk from a snapshot.
|
|
4989
4906
|
*
|
|
4990
4907
|
* @param request - ResetSnapshotRequest
|
|
4991
4908
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5029,15 +4946,10 @@ class Client extends openapi_core_1.default {
|
|
|
5029
4946
|
reqBodyType: "formData",
|
|
5030
4947
|
bodyType: "json",
|
|
5031
4948
|
});
|
|
5032
|
-
|
|
5033
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ResetSnapshotResponse({}));
|
|
5034
|
-
}
|
|
5035
|
-
else {
|
|
5036
|
-
return $dara.cast(await this.execute(params, req, runtime), new ResetSnapshotResponse({}));
|
|
5037
|
-
}
|
|
4949
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResetSnapshotResponse({}));
|
|
5038
4950
|
}
|
|
5039
4951
|
/**
|
|
5040
|
-
*
|
|
4952
|
+
* Restores the data of a disk from a snapshot.
|
|
5041
4953
|
*
|
|
5042
4954
|
* @param request - ResetSnapshotRequest
|
|
5043
4955
|
* @returns ResetSnapshotResponse
|
|
@@ -5047,6 +4959,8 @@ class Client extends openapi_core_1.default {
|
|
|
5047
4959
|
return await this.resetSnapshotWithOptions(request, runtime);
|
|
5048
4960
|
}
|
|
5049
4961
|
/**
|
|
4962
|
+
* Sends a logon verification code.
|
|
4963
|
+
*
|
|
5050
4964
|
* @param request - SendTokenCodeRequest
|
|
5051
4965
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5052
4966
|
* @returns SendTokenCodeResponse
|
|
@@ -5092,14 +5006,11 @@ class Client extends openapi_core_1.default {
|
|
|
5092
5006
|
reqBodyType: "formData",
|
|
5093
5007
|
bodyType: "json",
|
|
5094
5008
|
});
|
|
5095
|
-
|
|
5096
|
-
return $dara.cast(await this.callApi(params, req, runtime), new SendTokenCodeResponse({}));
|
|
5097
|
-
}
|
|
5098
|
-
else {
|
|
5099
|
-
return $dara.cast(await this.execute(params, req, runtime), new SendTokenCodeResponse({}));
|
|
5100
|
-
}
|
|
5009
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SendTokenCodeResponse({}));
|
|
5101
5010
|
}
|
|
5102
5011
|
/**
|
|
5012
|
+
* Sends a logon verification code.
|
|
5013
|
+
*
|
|
5103
5014
|
* @param request - SendTokenCodeRequest
|
|
5104
5015
|
* @returns SendTokenCodeResponse
|
|
5105
5016
|
*/
|
|
@@ -5159,12 +5070,7 @@ class Client extends openapi_core_1.default {
|
|
|
5159
5070
|
reqBodyType: "formData",
|
|
5160
5071
|
bodyType: "json",
|
|
5161
5072
|
});
|
|
5162
|
-
|
|
5163
|
-
return $dara.cast(await this.callApi(params, req, runtime), new SetFingerPrintTemplateResponse({}));
|
|
5164
|
-
}
|
|
5165
|
-
else {
|
|
5166
|
-
return $dara.cast(await this.execute(params, req, runtime), new SetFingerPrintTemplateResponse({}));
|
|
5167
|
-
}
|
|
5073
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SetFingerPrintTemplateResponse({}));
|
|
5168
5074
|
}
|
|
5169
5075
|
/**
|
|
5170
5076
|
* @param request - SetFingerPrintTemplateRequest
|
|
@@ -5217,12 +5123,7 @@ class Client extends openapi_core_1.default {
|
|
|
5217
5123
|
reqBodyType: "formData",
|
|
5218
5124
|
bodyType: "json",
|
|
5219
5125
|
});
|
|
5220
|
-
|
|
5221
|
-
return $dara.cast(await this.callApi(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
|
|
5222
|
-
}
|
|
5223
|
-
else {
|
|
5224
|
-
return $dara.cast(await this.execute(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
|
|
5225
|
-
}
|
|
5126
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SetFingerPrintTemplateDescriptionResponse({}));
|
|
5226
5127
|
}
|
|
5227
5128
|
/**
|
|
5228
5129
|
* @param request - SetFingerPrintTemplateDescriptionRequest
|
|
@@ -5286,12 +5187,7 @@ class Client extends openapi_core_1.default {
|
|
|
5286
5187
|
reqBodyType: "formData",
|
|
5287
5188
|
bodyType: "json",
|
|
5288
5189
|
});
|
|
5289
|
-
|
|
5290
|
-
return $dara.cast(await this.callApi(params, req, runtime), new StartDesktopsResponse({}));
|
|
5291
|
-
}
|
|
5292
|
-
else {
|
|
5293
|
-
return $dara.cast(await this.execute(params, req, runtime), new StartDesktopsResponse({}));
|
|
5294
|
-
}
|
|
5190
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StartDesktopsResponse({}));
|
|
5295
5191
|
}
|
|
5296
5192
|
/**
|
|
5297
5193
|
* Start cloud computers.
|
|
@@ -5352,12 +5248,7 @@ class Client extends openapi_core_1.default {
|
|
|
5352
5248
|
reqBodyType: "formData",
|
|
5353
5249
|
bodyType: "json",
|
|
5354
5250
|
});
|
|
5355
|
-
|
|
5356
|
-
return $dara.cast(await this.callApi(params, req, runtime), new StartRecordContentResponse({}));
|
|
5357
|
-
}
|
|
5358
|
-
else {
|
|
5359
|
-
return $dara.cast(await this.execute(params, req, runtime), new StartRecordContentResponse({}));
|
|
5360
|
-
}
|
|
5251
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StartRecordContentResponse({}));
|
|
5361
5252
|
}
|
|
5362
5253
|
/**
|
|
5363
5254
|
* @param request - StartRecordContentRequest
|
|
@@ -5410,6 +5301,9 @@ class Client extends openapi_core_1.default {
|
|
|
5410
5301
|
if (!$dara.isNull(request.sessionToken)) {
|
|
5411
5302
|
query["SessionToken"] = request.sessionToken;
|
|
5412
5303
|
}
|
|
5304
|
+
if (!$dara.isNull(request.uuid)) {
|
|
5305
|
+
query["Uuid"] = request.uuid;
|
|
5306
|
+
}
|
|
5413
5307
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5414
5308
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5415
5309
|
});
|
|
@@ -5424,12 +5318,7 @@ class Client extends openapi_core_1.default {
|
|
|
5424
5318
|
reqBodyType: "formData",
|
|
5425
5319
|
bodyType: "json",
|
|
5426
5320
|
});
|
|
5427
|
-
|
|
5428
|
-
return $dara.cast(await this.callApi(params, req, runtime), new StopDesktopsResponse({}));
|
|
5429
|
-
}
|
|
5430
|
-
else {
|
|
5431
|
-
return $dara.cast(await this.execute(params, req, runtime), new StopDesktopsResponse({}));
|
|
5432
|
-
}
|
|
5321
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StopDesktopsResponse({}));
|
|
5433
5322
|
}
|
|
5434
5323
|
/**
|
|
5435
5324
|
* Stops cloud computers.
|
|
@@ -5487,12 +5376,7 @@ class Client extends openapi_core_1.default {
|
|
|
5487
5376
|
reqBodyType: "formData",
|
|
5488
5377
|
bodyType: "json",
|
|
5489
5378
|
});
|
|
5490
|
-
|
|
5491
|
-
return $dara.cast(await this.callApi(params, req, runtime), new StopRecordContentResponse({}));
|
|
5492
|
-
}
|
|
5493
|
-
else {
|
|
5494
|
-
return $dara.cast(await this.execute(params, req, runtime), new StopRecordContentResponse({}));
|
|
5495
|
-
}
|
|
5379
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StopRecordContentResponse({}));
|
|
5496
5380
|
}
|
|
5497
5381
|
/**
|
|
5498
5382
|
* @param request - StopRecordContentRequest
|
|
@@ -5503,7 +5387,7 @@ class Client extends openapi_core_1.default {
|
|
|
5503
5387
|
return await this.stopRecordContentWithOptions(request, runtime);
|
|
5504
5388
|
}
|
|
5505
5389
|
/**
|
|
5506
|
-
*
|
|
5390
|
+
* Unbinds end users from cloud computers.
|
|
5507
5391
|
*
|
|
5508
5392
|
* @param request - UnbindUserDesktopRequest
|
|
5509
5393
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5547,15 +5431,10 @@ class Client extends openapi_core_1.default {
|
|
|
5547
5431
|
reqBodyType: "formData",
|
|
5548
5432
|
bodyType: "json",
|
|
5549
5433
|
});
|
|
5550
|
-
|
|
5551
|
-
return $dara.cast(await this.callApi(params, req, runtime), new UnbindUserDesktopResponse({}));
|
|
5552
|
-
}
|
|
5553
|
-
else {
|
|
5554
|
-
return $dara.cast(await this.execute(params, req, runtime), new UnbindUserDesktopResponse({}));
|
|
5555
|
-
}
|
|
5434
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UnbindUserDesktopResponse({}));
|
|
5556
5435
|
}
|
|
5557
5436
|
/**
|
|
5558
|
-
*
|
|
5437
|
+
* Unbinds end users from cloud computers.
|
|
5559
5438
|
*
|
|
5560
5439
|
* @param request - UnbindUserDesktopRequest
|
|
5561
5440
|
* @returns UnbindUserDesktopResponse
|
|
@@ -5610,12 +5489,7 @@ class Client extends openapi_core_1.default {
|
|
|
5610
5489
|
reqBodyType: "formData",
|
|
5611
5490
|
bodyType: "json",
|
|
5612
5491
|
});
|
|
5613
|
-
|
|
5614
|
-
return $dara.cast(await this.callApi(params, req, runtime), new VerifyCredentialResponse({}));
|
|
5615
|
-
}
|
|
5616
|
-
else {
|
|
5617
|
-
return $dara.cast(await this.execute(params, req, runtime), new VerifyCredentialResponse({}));
|
|
5618
|
-
}
|
|
5492
|
+
return $dara.cast(await this.callApi(params, req, runtime), new VerifyCredentialResponse({}));
|
|
5619
5493
|
}
|
|
5620
5494
|
/**
|
|
5621
5495
|
* @param request - VerifyCredentialRequest
|