@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/src/client.ts
CHANGED
|
@@ -403,6 +403,18 @@ export default class Client extends OpenApi {
|
|
|
403
403
|
async allocateIpAddressWithOptions(request: $_model.AllocateIpAddressRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AllocateIpAddressResponse> {
|
|
404
404
|
request.validate();
|
|
405
405
|
let query = { };
|
|
406
|
+
if (!$dara.isNull(request.bandwidth)) {
|
|
407
|
+
query["Bandwidth"] = request.bandwidth;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
if (!$dara.isNull(request.internetChargeType)) {
|
|
411
|
+
query["InternetChargeType"] = request.internetChargeType;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
if (!$dara.isNull(request.name)) {
|
|
415
|
+
query["Name"] = request.name;
|
|
416
|
+
}
|
|
417
|
+
|
|
406
418
|
if (!$dara.isNull(request.networkInterfaceId)) {
|
|
407
419
|
query["NetworkInterfaceId"] = request.networkInterfaceId;
|
|
408
420
|
}
|
|
@@ -971,6 +983,68 @@ export default class Client extends OpenApi {
|
|
|
971
983
|
return await this.attachEndUserWithOptions(request, runtime);
|
|
972
984
|
}
|
|
973
985
|
|
|
986
|
+
/**
|
|
987
|
+
* @param request - BatchModifyEntitlementRequest
|
|
988
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
989
|
+
* @returns BatchModifyEntitlementResponse
|
|
990
|
+
*/
|
|
991
|
+
async batchModifyEntitlementWithOptions(request: $_model.BatchModifyEntitlementRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchModifyEntitlementResponse> {
|
|
992
|
+
request.validate();
|
|
993
|
+
let query = { };
|
|
994
|
+
if (!$dara.isNull(request.desktopId)) {
|
|
995
|
+
query["DesktopId"] = request.desktopId;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
999
|
+
query["EndUserId"] = request.endUserId;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
if (!$dara.isNull(request.maxDesktopPerUser)) {
|
|
1003
|
+
query["MaxDesktopPerUser"] = request.maxDesktopPerUser;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
if (!$dara.isNull(request.maxUserPerDesktop)) {
|
|
1007
|
+
query["MaxUserPerDesktop"] = request.maxUserPerDesktop;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
if (!$dara.isNull(request.preview)) {
|
|
1011
|
+
query["Preview"] = request.preview;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
if (!$dara.isNull(request.regionId)) {
|
|
1015
|
+
query["RegionId"] = request.regionId;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
if (!$dara.isNull(request.strategy)) {
|
|
1019
|
+
query["Strategy"] = request.strategy;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1023
|
+
query: OpenApiUtil.query(query),
|
|
1024
|
+
});
|
|
1025
|
+
let params = new $OpenApiUtil.Params({
|
|
1026
|
+
action: "BatchModifyEntitlement",
|
|
1027
|
+
version: "2020-09-30",
|
|
1028
|
+
protocol: "HTTPS",
|
|
1029
|
+
pathname: "/",
|
|
1030
|
+
method: "POST",
|
|
1031
|
+
authType: "AK",
|
|
1032
|
+
style: "RPC",
|
|
1033
|
+
reqBodyType: "formData",
|
|
1034
|
+
bodyType: "json",
|
|
1035
|
+
});
|
|
1036
|
+
return $dara.cast<$_model.BatchModifyEntitlementResponse>(await this.callApi(params, req, runtime), new $_model.BatchModifyEntitlementResponse({}));
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* @param request - BatchModifyEntitlementRequest
|
|
1041
|
+
* @returns BatchModifyEntitlementResponse
|
|
1042
|
+
*/
|
|
1043
|
+
async batchModifyEntitlement(request: $_model.BatchModifyEntitlementRequest): Promise<$_model.BatchModifyEntitlementResponse> {
|
|
1044
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1045
|
+
return await this.batchModifyEntitlementWithOptions(request, runtime);
|
|
1046
|
+
}
|
|
1047
|
+
|
|
974
1048
|
/**
|
|
975
1049
|
* Binds a configuration group to resources.
|
|
976
1050
|
*
|
|
@@ -2375,6 +2449,10 @@ export default class Client extends OpenApi {
|
|
|
2375
2449
|
query["ClientControlMenu"] = request.clientControlMenu;
|
|
2376
2450
|
}
|
|
2377
2451
|
|
|
2452
|
+
if (!$dara.isNull(request.clientCreateSnapshot)) {
|
|
2453
|
+
query["ClientCreateSnapshot"] = request.clientCreateSnapshot;
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2378
2456
|
if (!$dara.isNull(request.clientType)) {
|
|
2379
2457
|
query["ClientType"] = request.clientType;
|
|
2380
2458
|
}
|
|
@@ -2795,6 +2873,10 @@ export default class Client extends OpenApi {
|
|
|
2795
2873
|
query["WatermarkSecurity"] = request.watermarkSecurity;
|
|
2796
2874
|
}
|
|
2797
2875
|
|
|
2876
|
+
if (!$dara.isNull(request.watermarkShadow)) {
|
|
2877
|
+
query["WatermarkShadow"] = request.watermarkShadow;
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2798
2880
|
if (!$dara.isNull(request.watermarkTransparencyValue)) {
|
|
2799
2881
|
query["WatermarkTransparencyValue"] = request.watermarkTransparencyValue;
|
|
2800
2882
|
}
|
|
@@ -5066,6 +5148,11 @@ export default class Client extends OpenApi {
|
|
|
5066
5148
|
/**
|
|
5067
5149
|
* 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.
|
|
5068
5150
|
*
|
|
5151
|
+
* @remarks
|
|
5152
|
+
* When you call this operation, take note of the following item:
|
|
5153
|
+
* * 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.
|
|
5154
|
+
* * 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.
|
|
5155
|
+
*
|
|
5069
5156
|
* @param request - CreateTemplateRequest
|
|
5070
5157
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5071
5158
|
* @returns CreateTemplateResponse
|
|
@@ -5186,6 +5273,11 @@ export default class Client extends OpenApi {
|
|
|
5186
5273
|
/**
|
|
5187
5274
|
* 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.
|
|
5188
5275
|
*
|
|
5276
|
+
* @remarks
|
|
5277
|
+
* When you call this operation, take note of the following item:
|
|
5278
|
+
* * 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.
|
|
5279
|
+
* * 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.
|
|
5280
|
+
*
|
|
5189
5281
|
* @param request - CreateTemplateRequest
|
|
5190
5282
|
* @returns CreateTemplateResponse
|
|
5191
5283
|
*/
|
|
@@ -12891,7 +12983,7 @@ export default class Client extends OpenApi {
|
|
|
12891
12983
|
}
|
|
12892
12984
|
|
|
12893
12985
|
/**
|
|
12894
|
-
*
|
|
12986
|
+
* Queries applications installed on a cloud computer.
|
|
12895
12987
|
*
|
|
12896
12988
|
* @param request - ListInstalledAppsRequest
|
|
12897
12989
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12930,7 +13022,7 @@ export default class Client extends OpenApi {
|
|
|
12930
13022
|
}
|
|
12931
13023
|
|
|
12932
13024
|
/**
|
|
12933
|
-
*
|
|
13025
|
+
* Queries applications installed on a cloud computer.
|
|
12934
13026
|
*
|
|
12935
13027
|
* @param request - ListInstalledAppsRequest
|
|
12936
13028
|
* @returns ListInstalledAppsResponse
|
|
@@ -14004,6 +14096,10 @@ export default class Client extends OpenApi {
|
|
|
14004
14096
|
query["ClientControlMenu"] = request.clientControlMenu;
|
|
14005
14097
|
}
|
|
14006
14098
|
|
|
14099
|
+
if (!$dara.isNull(request.clientCreateSnapshot)) {
|
|
14100
|
+
query["ClientCreateSnapshot"] = request.clientCreateSnapshot;
|
|
14101
|
+
}
|
|
14102
|
+
|
|
14007
14103
|
if (!$dara.isNull(request.clientType)) {
|
|
14008
14104
|
query["ClientType"] = request.clientType;
|
|
14009
14105
|
}
|
|
@@ -14436,6 +14532,10 @@ export default class Client extends OpenApi {
|
|
|
14436
14532
|
query["WatermarkSecurity"] = request.watermarkSecurity;
|
|
14437
14533
|
}
|
|
14438
14534
|
|
|
14535
|
+
if (!$dara.isNull(request.watermarkShadow)) {
|
|
14536
|
+
query["WatermarkShadow"] = request.watermarkShadow;
|
|
14537
|
+
}
|
|
14538
|
+
|
|
14439
14539
|
if (!$dara.isNull(request.watermarkTransparencyValue)) {
|
|
14440
14540
|
query["WatermarkTransparencyValue"] = request.watermarkTransparencyValue;
|
|
14441
14541
|
}
|
|
@@ -3,6 +3,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class AllocateIpAddressRequest extends $dara.Model {
|
|
6
|
+
bandwidth?: number;
|
|
7
|
+
internetChargeType?: string;
|
|
8
|
+
name?: string;
|
|
6
9
|
networkInterfaceId?: string;
|
|
7
10
|
officeSiteId?: string;
|
|
8
11
|
/**
|
|
@@ -12,6 +15,9 @@ export class AllocateIpAddressRequest extends $dara.Model {
|
|
|
12
15
|
regionId?: string;
|
|
13
16
|
static names(): { [key: string]: string } {
|
|
14
17
|
return {
|
|
18
|
+
bandwidth: 'Bandwidth',
|
|
19
|
+
internetChargeType: 'InternetChargeType',
|
|
20
|
+
name: 'Name',
|
|
15
21
|
networkInterfaceId: 'NetworkInterfaceId',
|
|
16
22
|
officeSiteId: 'OfficeSiteId',
|
|
17
23
|
regionId: 'RegionId',
|
|
@@ -20,6 +26,9 @@ export class AllocateIpAddressRequest extends $dara.Model {
|
|
|
20
26
|
|
|
21
27
|
static types(): { [key: string]: any } {
|
|
22
28
|
return {
|
|
29
|
+
bandwidth: 'number',
|
|
30
|
+
internetChargeType: 'string',
|
|
31
|
+
name: 'string',
|
|
23
32
|
networkInterfaceId: 'string',
|
|
24
33
|
officeSiteId: 'string',
|
|
25
34
|
regionId: 'string',
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BatchModifyEntitlementRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*/
|
|
10
|
+
desktopId?: string[];
|
|
11
|
+
endUserId?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 0
|
|
15
|
+
*/
|
|
16
|
+
maxDesktopPerUser?: number;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* 1
|
|
20
|
+
*/
|
|
21
|
+
maxUserPerDesktop?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* true
|
|
25
|
+
*/
|
|
26
|
+
preview?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* cn-hangzhou
|
|
33
|
+
*/
|
|
34
|
+
regionId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* AVERAGE
|
|
38
|
+
*/
|
|
39
|
+
strategy?: string;
|
|
40
|
+
static names(): { [key: string]: string } {
|
|
41
|
+
return {
|
|
42
|
+
desktopId: 'DesktopId',
|
|
43
|
+
endUserId: 'EndUserId',
|
|
44
|
+
maxDesktopPerUser: 'MaxDesktopPerUser',
|
|
45
|
+
maxUserPerDesktop: 'MaxUserPerDesktop',
|
|
46
|
+
preview: 'Preview',
|
|
47
|
+
regionId: 'RegionId',
|
|
48
|
+
strategy: 'Strategy',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static types(): { [key: string]: any } {
|
|
53
|
+
return {
|
|
54
|
+
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
55
|
+
endUserId: { 'type': 'array', 'itemType': 'string' },
|
|
56
|
+
maxDesktopPerUser: 'number',
|
|
57
|
+
maxUserPerDesktop: 'number',
|
|
58
|
+
preview: 'boolean',
|
|
59
|
+
regionId: 'string',
|
|
60
|
+
strategy: 'string',
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validate() {
|
|
65
|
+
if(Array.isArray(this.desktopId)) {
|
|
66
|
+
$dara.Model.validateArray(this.desktopId);
|
|
67
|
+
}
|
|
68
|
+
if(Array.isArray(this.endUserId)) {
|
|
69
|
+
$dara.Model.validateArray(this.endUserId);
|
|
70
|
+
}
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { BatchModifyEntitlementResponseBody } from "./BatchModifyEntitlementResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class BatchModifyEntitlementResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: BatchModifyEntitlementResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: BatchModifyEntitlementResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BatchModifyEntitlementResponseBodyEntitlementsAssignModels extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ecd-e94kzikmpljjx99pl
|
|
9
|
+
*/
|
|
10
|
+
desktopId?: string;
|
|
11
|
+
endUserIds?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* FINISHED
|
|
15
|
+
*/
|
|
16
|
+
innerStatus?: string;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
desktopId: 'DesktopId',
|
|
20
|
+
endUserIds: 'EndUserIds',
|
|
21
|
+
innerStatus: 'InnerStatus',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static types(): { [key: string]: any } {
|
|
26
|
+
return {
|
|
27
|
+
desktopId: 'string',
|
|
28
|
+
endUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
29
|
+
innerStatus: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
if(Array.isArray(this.endUserIds)) {
|
|
35
|
+
$dara.Model.validateArray(this.endUserIds);
|
|
36
|
+
}
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class BatchModifyEntitlementResponseBodyEntitlements extends $dara.Model {
|
|
46
|
+
assignModels?: BatchModifyEntitlementResponseBodyEntitlementsAssignModels[];
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* FINISHED
|
|
50
|
+
*/
|
|
51
|
+
status?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* B2F4F018-0EDF-159C-B285-117B5F1C****
|
|
55
|
+
*/
|
|
56
|
+
taskId?: string;
|
|
57
|
+
static names(): { [key: string]: string } {
|
|
58
|
+
return {
|
|
59
|
+
assignModels: 'AssignModels',
|
|
60
|
+
status: 'Status',
|
|
61
|
+
taskId: 'TaskId',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
assignModels: { 'type': 'array', 'itemType': BatchModifyEntitlementResponseBodyEntitlementsAssignModels },
|
|
68
|
+
status: 'string',
|
|
69
|
+
taskId: 'string',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
validate() {
|
|
74
|
+
if(Array.isArray(this.assignModels)) {
|
|
75
|
+
$dara.Model.validateArray(this.assignModels);
|
|
76
|
+
}
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export class BatchModifyEntitlementResponseBody extends $dara.Model {
|
|
86
|
+
entitlements?: BatchModifyEntitlementResponseBodyEntitlements;
|
|
87
|
+
/**
|
|
88
|
+
* @example
|
|
89
|
+
* 51592A88-0F2C-55E6-AD2C-2AD9C10D****
|
|
90
|
+
*/
|
|
91
|
+
requestId?: string;
|
|
92
|
+
static names(): { [key: string]: string } {
|
|
93
|
+
return {
|
|
94
|
+
entitlements: 'Entitlements',
|
|
95
|
+
requestId: 'RequestId',
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
static types(): { [key: string]: any } {
|
|
100
|
+
return {
|
|
101
|
+
entitlements: BatchModifyEntitlementResponseBodyEntitlements,
|
|
102
|
+
requestId: 'string',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
validate() {
|
|
107
|
+
if(this.entitlements && typeof (this.entitlements as any).validate === 'function') {
|
|
108
|
+
(this.entitlements as any).validate();
|
|
109
|
+
}
|
|
110
|
+
super.validate();
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
constructor(map?: { [key: string]: any }) {
|
|
114
|
+
super(map);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
@@ -689,6 +689,7 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
689
689
|
*/
|
|
690
690
|
cameraRedirect?: string;
|
|
691
691
|
clientControlMenu?: string;
|
|
692
|
+
clientCreateSnapshot?: string;
|
|
692
693
|
/**
|
|
693
694
|
* @remarks
|
|
694
695
|
* The types of Alibaba Cloud Workspace clients that end users can use to connect to cloud computers.
|
|
@@ -1636,6 +1637,7 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1636
1637
|
* on
|
|
1637
1638
|
*/
|
|
1638
1639
|
watermarkSecurity?: string;
|
|
1640
|
+
watermarkShadow?: string;
|
|
1639
1641
|
/**
|
|
1640
1642
|
* @remarks
|
|
1641
1643
|
* The watermark opacity. A higher value makes the watermark more opaque. Valid values: 10 to 100.
|
|
@@ -1696,6 +1698,7 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1696
1698
|
businessType: 'BusinessType',
|
|
1697
1699
|
cameraRedirect: 'CameraRedirect',
|
|
1698
1700
|
clientControlMenu: 'ClientControlMenu',
|
|
1701
|
+
clientCreateSnapshot: 'ClientCreateSnapshot',
|
|
1699
1702
|
clientType: 'ClientType',
|
|
1700
1703
|
clipboard: 'Clipboard',
|
|
1701
1704
|
clipboardGraineds: 'ClipboardGraineds',
|
|
@@ -1801,6 +1804,7 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1801
1804
|
watermarkPower: 'WatermarkPower',
|
|
1802
1805
|
watermarkRowAmount: 'WatermarkRowAmount',
|
|
1803
1806
|
watermarkSecurity: 'WatermarkSecurity',
|
|
1807
|
+
watermarkShadow: 'WatermarkShadow',
|
|
1804
1808
|
watermarkTransparencyValue: 'WatermarkTransparencyValue',
|
|
1805
1809
|
watermarkType: 'WatermarkType',
|
|
1806
1810
|
wuyingKeeper: 'WuyingKeeper',
|
|
@@ -1818,6 +1822,7 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1818
1822
|
businessType: 'number',
|
|
1819
1823
|
cameraRedirect: 'string',
|
|
1820
1824
|
clientControlMenu: 'string',
|
|
1825
|
+
clientCreateSnapshot: 'string',
|
|
1821
1826
|
clientType: { 'type': 'array', 'itemType': CreateCenterPolicyRequestClientType },
|
|
1822
1827
|
clipboard: 'string',
|
|
1823
1828
|
clipboardGraineds: { 'type': 'array', 'itemType': CreateCenterPolicyRequestClipboardGraineds },
|
|
@@ -1923,6 +1928,7 @@ export class CreateCenterPolicyRequest extends $dara.Model {
|
|
|
1923
1928
|
watermarkPower: 'string',
|
|
1924
1929
|
watermarkRowAmount: 'number',
|
|
1925
1930
|
watermarkSecurity: 'string',
|
|
1931
|
+
watermarkShadow: 'string',
|
|
1926
1932
|
watermarkTransparencyValue: 'number',
|
|
1927
1933
|
watermarkType: 'string',
|
|
1928
1934
|
wuyingKeeper: 'string',
|