@alicloud/ecd20200930 4.15.0 → 4.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +23 -2
- package/dist/client.js +86 -2
- package/dist/client.js.map +1 -1
- package/dist/models/AllocateIpAddressRequest.d.ts +3 -0
- package/dist/models/AllocateIpAddressRequest.js +6 -0
- package/dist/models/AllocateIpAddressRequest.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 +102 -2
- package/src/models/AllocateIpAddressRequest.ts +9 -0
- 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
|
@@ -394,6 +394,15 @@ class Client extends openapi_core_1.default {
|
|
|
394
394
|
async allocateIpAddressWithOptions(request, runtime) {
|
|
395
395
|
request.validate();
|
|
396
396
|
let query = {};
|
|
397
|
+
if (!$dara.isNull(request.bandwidth)) {
|
|
398
|
+
query["Bandwidth"] = request.bandwidth;
|
|
399
|
+
}
|
|
400
|
+
if (!$dara.isNull(request.internetChargeType)) {
|
|
401
|
+
query["InternetChargeType"] = request.internetChargeType;
|
|
402
|
+
}
|
|
403
|
+
if (!$dara.isNull(request.name)) {
|
|
404
|
+
query["Name"] = request.name;
|
|
405
|
+
}
|
|
397
406
|
if (!$dara.isNull(request.networkInterfaceId)) {
|
|
398
407
|
query["NetworkInterfaceId"] = request.networkInterfaceId;
|
|
399
408
|
}
|
|
@@ -899,6 +908,59 @@ class Client extends openapi_core_1.default {
|
|
|
899
908
|
let runtime = new $dara.RuntimeOptions({});
|
|
900
909
|
return await this.attachEndUserWithOptions(request, runtime);
|
|
901
910
|
}
|
|
911
|
+
/**
|
|
912
|
+
* @param request - BatchModifyEntitlementRequest
|
|
913
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
914
|
+
* @returns BatchModifyEntitlementResponse
|
|
915
|
+
*/
|
|
916
|
+
async batchModifyEntitlementWithOptions(request, runtime) {
|
|
917
|
+
request.validate();
|
|
918
|
+
let query = {};
|
|
919
|
+
if (!$dara.isNull(request.desktopId)) {
|
|
920
|
+
query["DesktopId"] = request.desktopId;
|
|
921
|
+
}
|
|
922
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
923
|
+
query["EndUserId"] = request.endUserId;
|
|
924
|
+
}
|
|
925
|
+
if (!$dara.isNull(request.maxDesktopPerUser)) {
|
|
926
|
+
query["MaxDesktopPerUser"] = request.maxDesktopPerUser;
|
|
927
|
+
}
|
|
928
|
+
if (!$dara.isNull(request.maxUserPerDesktop)) {
|
|
929
|
+
query["MaxUserPerDesktop"] = request.maxUserPerDesktop;
|
|
930
|
+
}
|
|
931
|
+
if (!$dara.isNull(request.preview)) {
|
|
932
|
+
query["Preview"] = request.preview;
|
|
933
|
+
}
|
|
934
|
+
if (!$dara.isNull(request.regionId)) {
|
|
935
|
+
query["RegionId"] = request.regionId;
|
|
936
|
+
}
|
|
937
|
+
if (!$dara.isNull(request.strategy)) {
|
|
938
|
+
query["Strategy"] = request.strategy;
|
|
939
|
+
}
|
|
940
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
941
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
942
|
+
});
|
|
943
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
944
|
+
action: "BatchModifyEntitlement",
|
|
945
|
+
version: "2020-09-30",
|
|
946
|
+
protocol: "HTTPS",
|
|
947
|
+
pathname: "/",
|
|
948
|
+
method: "POST",
|
|
949
|
+
authType: "AK",
|
|
950
|
+
style: "RPC",
|
|
951
|
+
reqBodyType: "formData",
|
|
952
|
+
bodyType: "json",
|
|
953
|
+
});
|
|
954
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchModifyEntitlementResponse({}));
|
|
955
|
+
}
|
|
956
|
+
/**
|
|
957
|
+
* @param request - BatchModifyEntitlementRequest
|
|
958
|
+
* @returns BatchModifyEntitlementResponse
|
|
959
|
+
*/
|
|
960
|
+
async batchModifyEntitlement(request) {
|
|
961
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
962
|
+
return await this.batchModifyEntitlementWithOptions(request, runtime);
|
|
963
|
+
}
|
|
902
964
|
/**
|
|
903
965
|
* Binds a configuration group to resources.
|
|
904
966
|
*
|
|
@@ -2114,6 +2176,9 @@ class Client extends openapi_core_1.default {
|
|
|
2114
2176
|
if (!$dara.isNull(request.clientControlMenu)) {
|
|
2115
2177
|
query["ClientControlMenu"] = request.clientControlMenu;
|
|
2116
2178
|
}
|
|
2179
|
+
if (!$dara.isNull(request.clientCreateSnapshot)) {
|
|
2180
|
+
query["ClientCreateSnapshot"] = request.clientCreateSnapshot;
|
|
2181
|
+
}
|
|
2117
2182
|
if (!$dara.isNull(request.clientType)) {
|
|
2118
2183
|
query["ClientType"] = request.clientType;
|
|
2119
2184
|
}
|
|
@@ -2429,6 +2494,9 @@ class Client extends openapi_core_1.default {
|
|
|
2429
2494
|
if (!$dara.isNull(request.watermarkSecurity)) {
|
|
2430
2495
|
query["WatermarkSecurity"] = request.watermarkSecurity;
|
|
2431
2496
|
}
|
|
2497
|
+
if (!$dara.isNull(request.watermarkShadow)) {
|
|
2498
|
+
query["WatermarkShadow"] = request.watermarkShadow;
|
|
2499
|
+
}
|
|
2432
2500
|
if (!$dara.isNull(request.watermarkTransparencyValue)) {
|
|
2433
2501
|
query["WatermarkTransparencyValue"] = request.watermarkTransparencyValue;
|
|
2434
2502
|
}
|
|
@@ -4332,6 +4400,11 @@ class Client extends openapi_core_1.default {
|
|
|
4332
4400
|
/**
|
|
4333
4401
|
* 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
4402
|
*
|
|
4403
|
+
* @remarks
|
|
4404
|
+
* When you call this operation, take note of the following item:
|
|
4405
|
+
* * 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.
|
|
4406
|
+
* * 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.
|
|
4407
|
+
*
|
|
4335
4408
|
* @param request - CreateTemplateRequest
|
|
4336
4409
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4337
4410
|
* @returns CreateTemplateResponse
|
|
@@ -4426,6 +4499,11 @@ class Client extends openapi_core_1.default {
|
|
|
4426
4499
|
/**
|
|
4427
4500
|
* 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
4501
|
*
|
|
4502
|
+
* @remarks
|
|
4503
|
+
* When you call this operation, take note of the following item:
|
|
4504
|
+
* * 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.
|
|
4505
|
+
* * 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.
|
|
4506
|
+
*
|
|
4429
4507
|
* @param request - CreateTemplateRequest
|
|
4430
4508
|
* @returns CreateTemplateResponse
|
|
4431
4509
|
*/
|
|
@@ -11149,7 +11227,7 @@ class Client extends openapi_core_1.default {
|
|
|
11149
11227
|
return await this.listFilePermissionWithOptions(request, runtime);
|
|
11150
11228
|
}
|
|
11151
11229
|
/**
|
|
11152
|
-
*
|
|
11230
|
+
* Queries applications installed on a cloud computer.
|
|
11153
11231
|
*
|
|
11154
11232
|
* @param request - ListInstalledAppsRequest
|
|
11155
11233
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11184,7 +11262,7 @@ class Client extends openapi_core_1.default {
|
|
|
11184
11262
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstalledAppsResponse({}));
|
|
11185
11263
|
}
|
|
11186
11264
|
/**
|
|
11187
|
-
*
|
|
11265
|
+
* Queries applications installed on a cloud computer.
|
|
11188
11266
|
*
|
|
11189
11267
|
* @param request - ListInstalledAppsRequest
|
|
11190
11268
|
* @returns ListInstalledAppsResponse
|
|
@@ -12115,6 +12193,9 @@ class Client extends openapi_core_1.default {
|
|
|
12115
12193
|
if (!$dara.isNull(request.clientControlMenu)) {
|
|
12116
12194
|
query["ClientControlMenu"] = request.clientControlMenu;
|
|
12117
12195
|
}
|
|
12196
|
+
if (!$dara.isNull(request.clientCreateSnapshot)) {
|
|
12197
|
+
query["ClientCreateSnapshot"] = request.clientCreateSnapshot;
|
|
12198
|
+
}
|
|
12118
12199
|
if (!$dara.isNull(request.clientType)) {
|
|
12119
12200
|
query["ClientType"] = request.clientType;
|
|
12120
12201
|
}
|
|
@@ -12439,6 +12520,9 @@ class Client extends openapi_core_1.default {
|
|
|
12439
12520
|
if (!$dara.isNull(request.watermarkSecurity)) {
|
|
12440
12521
|
query["WatermarkSecurity"] = request.watermarkSecurity;
|
|
12441
12522
|
}
|
|
12523
|
+
if (!$dara.isNull(request.watermarkShadow)) {
|
|
12524
|
+
query["WatermarkShadow"] = request.watermarkShadow;
|
|
12525
|
+
}
|
|
12442
12526
|
if (!$dara.isNull(request.watermarkTransparencyValue)) {
|
|
12443
12527
|
query["WatermarkTransparencyValue"] = request.watermarkTransparencyValue;
|
|
12444
12528
|
}
|