@alicloud/ecd20200930 4.15.0 → 4.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +23 -2
- package/dist/client.js +77 -2
- package/dist/client.js.map +1 -1
- package/dist/models/BatchModifyEntitlementRequest.d.ts +47 -0
- package/dist/models/BatchModifyEntitlementRequest.js +76 -0
- package/dist/models/BatchModifyEntitlementRequest.js.map +1 -0
- package/dist/models/BatchModifyEntitlementResponse.d.ts +19 -0
- package/dist/models/BatchModifyEntitlementResponse.js +69 -0
- package/dist/models/BatchModifyEntitlementResponse.js.map +1 -0
- package/dist/models/BatchModifyEntitlementResponseBody.d.ts +65 -0
- package/dist/models/BatchModifyEntitlementResponseBody.js +115 -0
- package/dist/models/BatchModifyEntitlementResponseBody.js.map +1 -0
- package/dist/models/CreateCenterPolicyRequest.d.ts +2 -0
- package/dist/models/CreateCenterPolicyRequest.js +4 -0
- package/dist/models/CreateCenterPolicyRequest.js.map +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +122 -0
- package/dist/models/CreateTemplateRequest.js.map +1 -1
- package/dist/models/CreateTemplateResponseBody.d.ts +18 -0
- package/dist/models/CreateTemplateResponseBody.js.map +1 -1
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.d.ts +5 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js +2 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyGroupsResponseBody.d.ts +2 -0
- package/dist/models/DescribePolicyGroupsResponseBody.js +4 -0
- package/dist/models/DescribePolicyGroupsResponseBody.js.map +1 -1
- package/dist/models/DescribeTemplatesRequest.d.ts +41 -0
- package/dist/models/DescribeTemplatesRequest.js.map +1 -1
- package/dist/models/DescribeTemplatesResponseBody.d.ts +173 -0
- package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
- package/dist/models/ListInstalledAppsRequest.d.ts +10 -0
- package/dist/models/ListInstalledAppsRequest.js.map +1 -1
- package/dist/models/ListInstalledAppsResponseBody.d.ts +16 -0
- package/dist/models/ListInstalledAppsResponseBody.js.map +1 -1
- package/dist/models/ModifyCenterPolicyRequest.d.ts +2 -0
- package/dist/models/ModifyCenterPolicyRequest.js +4 -0
- package/dist/models/ModifyCenterPolicyRequest.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +32 -22
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +90 -2
- package/src/models/BatchModifyEntitlementRequest.ts +78 -0
- package/src/models/BatchModifyEntitlementResponse.ts +40 -0
- package/src/models/BatchModifyEntitlementResponseBody.ts +117 -0
- package/src/models/CreateCenterPolicyRequest.ts +6 -0
- package/src/models/CreateTemplateRequest.ts +122 -0
- package/src/models/CreateTemplateResponseBody.ts +18 -0
- package/src/models/DescribeGlobalDesktopRecordsResponseBody.ts +7 -0
- package/src/models/DescribePolicyGroupsResponseBody.ts +6 -0
- package/src/models/DescribeTemplatesRequest.ts +41 -0
- package/src/models/DescribeTemplatesResponseBody.ts +173 -0
- package/src/models/ListInstalledAppsRequest.ts +10 -0
- package/src/models/ListInstalledAppsResponseBody.ts +16 -0
- package/src/models/ModifyCenterPolicyRequest.ts +6 -0
- package/src/models/model.ts +5 -0
package/dist/client.d.ts
CHANGED
|
@@ -292,6 +292,17 @@ export default class Client extends OpenApi {
|
|
|
292
292
|
* @returns AttachEndUserResponse
|
|
293
293
|
*/
|
|
294
294
|
attachEndUser(request: $_model.AttachEndUserRequest): Promise<$_model.AttachEndUserResponse>;
|
|
295
|
+
/**
|
|
296
|
+
* @param request - BatchModifyEntitlementRequest
|
|
297
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
298
|
+
* @returns BatchModifyEntitlementResponse
|
|
299
|
+
*/
|
|
300
|
+
batchModifyEntitlementWithOptions(request: $_model.BatchModifyEntitlementRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchModifyEntitlementResponse>;
|
|
301
|
+
/**
|
|
302
|
+
* @param request - BatchModifyEntitlementRequest
|
|
303
|
+
* @returns BatchModifyEntitlementResponse
|
|
304
|
+
*/
|
|
305
|
+
batchModifyEntitlement(request: $_model.BatchModifyEntitlementRequest): Promise<$_model.BatchModifyEntitlementResponse>;
|
|
295
306
|
/**
|
|
296
307
|
* Binds a configuration group to resources.
|
|
297
308
|
*
|
|
@@ -1077,6 +1088,11 @@ export default class Client extends OpenApi {
|
|
|
1077
1088
|
/**
|
|
1078
1089
|
* Creates a custom cloud computer template. A cloud computer template (or simply "template") simplifies the process of creating cloud computers by providing a predefined set of configurations. This eliminates the need to manually configure each setting, saving significant time and effort.
|
|
1079
1090
|
*
|
|
1091
|
+
* @remarks
|
|
1092
|
+
* When you call this operation, take note of the following item:
|
|
1093
|
+
* * Most parameters in templates are optional. When you create a template, Elastic Desktop Service (EDS) does not validate the existence or correctness of the parameter values you specify. The parameter values in the template are only verified when you use the template to create cloud computers.
|
|
1094
|
+
* * For parameters that include the region attribute in the template, it\\"s important to note that if the specified region doesn’t match the region where the template is used to create a cloud computer, those parameters will not take effect.
|
|
1095
|
+
*
|
|
1080
1096
|
* @param request - CreateTemplateRequest
|
|
1081
1097
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1082
1098
|
* @returns CreateTemplateResponse
|
|
@@ -1085,6 +1101,11 @@ export default class Client extends OpenApi {
|
|
|
1085
1101
|
/**
|
|
1086
1102
|
* Creates a custom cloud computer template. A cloud computer template (or simply "template") simplifies the process of creating cloud computers by providing a predefined set of configurations. This eliminates the need to manually configure each setting, saving significant time and effort.
|
|
1087
1103
|
*
|
|
1104
|
+
* @remarks
|
|
1105
|
+
* When you call this operation, take note of the following item:
|
|
1106
|
+
* * Most parameters in templates are optional. When you create a template, Elastic Desktop Service (EDS) does not validate the existence or correctness of the parameter values you specify. The parameter values in the template are only verified when you use the template to create cloud computers.
|
|
1107
|
+
* * For parameters that include the region attribute in the template, it\\"s important to note that if the specified region doesn’t match the region where the template is used to create a cloud computer, those parameters will not take effect.
|
|
1108
|
+
*
|
|
1088
1109
|
* @param request - CreateTemplateRequest
|
|
1089
1110
|
* @returns CreateTemplateResponse
|
|
1090
1111
|
*/
|
|
@@ -3075,7 +3096,7 @@ export default class Client extends OpenApi {
|
|
|
3075
3096
|
*/
|
|
3076
3097
|
listFilePermission(request: $_model.ListFilePermissionRequest): Promise<$_model.ListFilePermissionResponse>;
|
|
3077
3098
|
/**
|
|
3078
|
-
*
|
|
3099
|
+
* Queries applications installed on a cloud computer.
|
|
3079
3100
|
*
|
|
3080
3101
|
* @param request - ListInstalledAppsRequest
|
|
3081
3102
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3083,7 +3104,7 @@ export default class Client extends OpenApi {
|
|
|
3083
3104
|
*/
|
|
3084
3105
|
listInstalledAppsWithOptions(request: $_model.ListInstalledAppsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListInstalledAppsResponse>;
|
|
3085
3106
|
/**
|
|
3086
|
-
*
|
|
3107
|
+
* Queries applications installed on a cloud computer.
|
|
3087
3108
|
*
|
|
3088
3109
|
* @param request - ListInstalledAppsRequest
|
|
3089
3110
|
* @returns ListInstalledAppsResponse
|
package/dist/client.js
CHANGED
|
@@ -899,6 +899,59 @@ class Client extends openapi_core_1.default {
|
|
|
899
899
|
let runtime = new $dara.RuntimeOptions({});
|
|
900
900
|
return await this.attachEndUserWithOptions(request, runtime);
|
|
901
901
|
}
|
|
902
|
+
/**
|
|
903
|
+
* @param request - BatchModifyEntitlementRequest
|
|
904
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
905
|
+
* @returns BatchModifyEntitlementResponse
|
|
906
|
+
*/
|
|
907
|
+
async batchModifyEntitlementWithOptions(request, runtime) {
|
|
908
|
+
request.validate();
|
|
909
|
+
let query = {};
|
|
910
|
+
if (!$dara.isNull(request.desktopId)) {
|
|
911
|
+
query["DesktopId"] = request.desktopId;
|
|
912
|
+
}
|
|
913
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
914
|
+
query["EndUserId"] = request.endUserId;
|
|
915
|
+
}
|
|
916
|
+
if (!$dara.isNull(request.maxDesktopPerUser)) {
|
|
917
|
+
query["MaxDesktopPerUser"] = request.maxDesktopPerUser;
|
|
918
|
+
}
|
|
919
|
+
if (!$dara.isNull(request.maxUserPerDesktop)) {
|
|
920
|
+
query["MaxUserPerDesktop"] = request.maxUserPerDesktop;
|
|
921
|
+
}
|
|
922
|
+
if (!$dara.isNull(request.preview)) {
|
|
923
|
+
query["Preview"] = request.preview;
|
|
924
|
+
}
|
|
925
|
+
if (!$dara.isNull(request.regionId)) {
|
|
926
|
+
query["RegionId"] = request.regionId;
|
|
927
|
+
}
|
|
928
|
+
if (!$dara.isNull(request.strategy)) {
|
|
929
|
+
query["Strategy"] = request.strategy;
|
|
930
|
+
}
|
|
931
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
932
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
933
|
+
});
|
|
934
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
935
|
+
action: "BatchModifyEntitlement",
|
|
936
|
+
version: "2020-09-30",
|
|
937
|
+
protocol: "HTTPS",
|
|
938
|
+
pathname: "/",
|
|
939
|
+
method: "POST",
|
|
940
|
+
authType: "AK",
|
|
941
|
+
style: "RPC",
|
|
942
|
+
reqBodyType: "formData",
|
|
943
|
+
bodyType: "json",
|
|
944
|
+
});
|
|
945
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchModifyEntitlementResponse({}));
|
|
946
|
+
}
|
|
947
|
+
/**
|
|
948
|
+
* @param request - BatchModifyEntitlementRequest
|
|
949
|
+
* @returns BatchModifyEntitlementResponse
|
|
950
|
+
*/
|
|
951
|
+
async batchModifyEntitlement(request) {
|
|
952
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
953
|
+
return await this.batchModifyEntitlementWithOptions(request, runtime);
|
|
954
|
+
}
|
|
902
955
|
/**
|
|
903
956
|
* Binds a configuration group to resources.
|
|
904
957
|
*
|
|
@@ -2114,6 +2167,9 @@ class Client extends openapi_core_1.default {
|
|
|
2114
2167
|
if (!$dara.isNull(request.clientControlMenu)) {
|
|
2115
2168
|
query["ClientControlMenu"] = request.clientControlMenu;
|
|
2116
2169
|
}
|
|
2170
|
+
if (!$dara.isNull(request.clientCreateSnapshot)) {
|
|
2171
|
+
query["ClientCreateSnapshot"] = request.clientCreateSnapshot;
|
|
2172
|
+
}
|
|
2117
2173
|
if (!$dara.isNull(request.clientType)) {
|
|
2118
2174
|
query["ClientType"] = request.clientType;
|
|
2119
2175
|
}
|
|
@@ -2429,6 +2485,9 @@ class Client extends openapi_core_1.default {
|
|
|
2429
2485
|
if (!$dara.isNull(request.watermarkSecurity)) {
|
|
2430
2486
|
query["WatermarkSecurity"] = request.watermarkSecurity;
|
|
2431
2487
|
}
|
|
2488
|
+
if (!$dara.isNull(request.watermarkShadow)) {
|
|
2489
|
+
query["WatermarkShadow"] = request.watermarkShadow;
|
|
2490
|
+
}
|
|
2432
2491
|
if (!$dara.isNull(request.watermarkTransparencyValue)) {
|
|
2433
2492
|
query["WatermarkTransparencyValue"] = request.watermarkTransparencyValue;
|
|
2434
2493
|
}
|
|
@@ -4332,6 +4391,11 @@ class Client extends openapi_core_1.default {
|
|
|
4332
4391
|
/**
|
|
4333
4392
|
* Creates a custom cloud computer template. A cloud computer template (or simply "template") simplifies the process of creating cloud computers by providing a predefined set of configurations. This eliminates the need to manually configure each setting, saving significant time and effort.
|
|
4334
4393
|
*
|
|
4394
|
+
* @remarks
|
|
4395
|
+
* When you call this operation, take note of the following item:
|
|
4396
|
+
* * Most parameters in templates are optional. When you create a template, Elastic Desktop Service (EDS) does not validate the existence or correctness of the parameter values you specify. The parameter values in the template are only verified when you use the template to create cloud computers.
|
|
4397
|
+
* * For parameters that include the region attribute in the template, it\\"s important to note that if the specified region doesn’t match the region where the template is used to create a cloud computer, those parameters will not take effect.
|
|
4398
|
+
*
|
|
4335
4399
|
* @param request - CreateTemplateRequest
|
|
4336
4400
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4337
4401
|
* @returns CreateTemplateResponse
|
|
@@ -4426,6 +4490,11 @@ class Client extends openapi_core_1.default {
|
|
|
4426
4490
|
/**
|
|
4427
4491
|
* Creates a custom cloud computer template. A cloud computer template (or simply "template") simplifies the process of creating cloud computers by providing a predefined set of configurations. This eliminates the need to manually configure each setting, saving significant time and effort.
|
|
4428
4492
|
*
|
|
4493
|
+
* @remarks
|
|
4494
|
+
* When you call this operation, take note of the following item:
|
|
4495
|
+
* * Most parameters in templates are optional. When you create a template, Elastic Desktop Service (EDS) does not validate the existence or correctness of the parameter values you specify. The parameter values in the template are only verified when you use the template to create cloud computers.
|
|
4496
|
+
* * For parameters that include the region attribute in the template, it\\"s important to note that if the specified region doesn’t match the region where the template is used to create a cloud computer, those parameters will not take effect.
|
|
4497
|
+
*
|
|
4429
4498
|
* @param request - CreateTemplateRequest
|
|
4430
4499
|
* @returns CreateTemplateResponse
|
|
4431
4500
|
*/
|
|
@@ -11149,7 +11218,7 @@ class Client extends openapi_core_1.default {
|
|
|
11149
11218
|
return await this.listFilePermissionWithOptions(request, runtime);
|
|
11150
11219
|
}
|
|
11151
11220
|
/**
|
|
11152
|
-
*
|
|
11221
|
+
* Queries applications installed on a cloud computer.
|
|
11153
11222
|
*
|
|
11154
11223
|
* @param request - ListInstalledAppsRequest
|
|
11155
11224
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11184,7 +11253,7 @@ class Client extends openapi_core_1.default {
|
|
|
11184
11253
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstalledAppsResponse({}));
|
|
11185
11254
|
}
|
|
11186
11255
|
/**
|
|
11187
|
-
*
|
|
11256
|
+
* Queries applications installed on a cloud computer.
|
|
11188
11257
|
*
|
|
11189
11258
|
* @param request - ListInstalledAppsRequest
|
|
11190
11259
|
* @returns ListInstalledAppsResponse
|
|
@@ -12115,6 +12184,9 @@ class Client extends openapi_core_1.default {
|
|
|
12115
12184
|
if (!$dara.isNull(request.clientControlMenu)) {
|
|
12116
12185
|
query["ClientControlMenu"] = request.clientControlMenu;
|
|
12117
12186
|
}
|
|
12187
|
+
if (!$dara.isNull(request.clientCreateSnapshot)) {
|
|
12188
|
+
query["ClientCreateSnapshot"] = request.clientCreateSnapshot;
|
|
12189
|
+
}
|
|
12118
12190
|
if (!$dara.isNull(request.clientType)) {
|
|
12119
12191
|
query["ClientType"] = request.clientType;
|
|
12120
12192
|
}
|
|
@@ -12439,6 +12511,9 @@ class Client extends openapi_core_1.default {
|
|
|
12439
12511
|
if (!$dara.isNull(request.watermarkSecurity)) {
|
|
12440
12512
|
query["WatermarkSecurity"] = request.watermarkSecurity;
|
|
12441
12513
|
}
|
|
12514
|
+
if (!$dara.isNull(request.watermarkShadow)) {
|
|
12515
|
+
query["WatermarkShadow"] = request.watermarkShadow;
|
|
12516
|
+
}
|
|
12442
12517
|
if (!$dara.isNull(request.watermarkTransparencyValue)) {
|
|
12443
12518
|
query["WatermarkTransparencyValue"] = request.watermarkTransparencyValue;
|
|
12444
12519
|
}
|