@alicloud/ecd20200930 5.2.0 → 5.4.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 +334 -64
- package/dist/client.js +718 -64
- package/dist/client.js.map +1 -1
- package/dist/models/ConfigAdconnectorTrustRequest.d.ts +1 -1
- package/dist/models/CreateDesktopsRequest.d.ts +56 -45
- package/dist/models/CreateDesktopsRequest.js +2 -0
- package/dist/models/CreateDesktopsRequest.js.map +1 -1
- package/dist/models/CreateDesktopsShrinkRequest.d.ts +41 -33
- package/dist/models/CreateDesktopsShrinkRequest.js +2 -0
- package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
- package/dist/models/CreateDriveResponseBody.d.ts +1 -1
- package/dist/models/CreateNasfileSystemRequest.d.ts +18 -2
- package/dist/models/CreateNasfileSystemRequest.js +4 -0
- package/dist/models/CreateNasfileSystemRequest.js.map +1 -1
- package/dist/models/CreateNasfileSystemResponseBody.d.ts +8 -0
- package/dist/models/CreateNasfileSystemResponseBody.js +2 -0
- package/dist/models/CreateNasfileSystemResponseBody.js.map +1 -1
- package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +7 -8
- package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -1
- package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +34 -18
- package/dist/models/CreateTemplateRequest.js +4 -0
- package/dist/models/CreateTemplateRequest.js.map +1 -1
- package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
- package/dist/models/DeleteDesktopsRequest.d.ts +1 -1
- package/dist/models/DeleteTemplatesResponseBody.d.ts +3 -6
- package/dist/models/DeleteTemplatesResponseBody.js.map +1 -1
- package/dist/models/DescribeCloudDiskGroupDrivesRequest.d.ts +3 -3
- package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.d.ts +11 -3
- package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js +2 -0
- package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js.map +1 -1
- package/dist/models/DescribeDesktopsRequest.d.ts +26 -8
- package/dist/models/DescribeDesktopsRequest.js +2 -0
- package/dist/models/DescribeDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeDesktopsResponseBody.d.ts +22 -7
- package/dist/models/DescribeDesktopsResponseBody.js +6 -0
- package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribeFlowMetricRequest.d.ts +5 -5
- package/dist/models/DescribeGlobalDesktopRecordsRequest.d.ts +7 -7
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.d.ts +12 -5
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js +2 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsRequest.d.ts +6 -6
- package/dist/models/DescribeInvocationsResponseBody.d.ts +26 -26
- package/dist/models/DescribeNasfileSystemsRequest.d.ts +2 -2
- package/dist/models/DescribeNasfileSystemsResponseBody.d.ts +23 -4
- package/dist/models/DescribeNasfileSystemsResponseBody.js +2 -0
- package/dist/models/DescribeNasfileSystemsResponseBody.js.map +1 -1
- package/dist/models/DescribeOfficeSitesRequest.d.ts +6 -6
- package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -23
- package/dist/models/DescribePeripheralDriversRequest.d.ts +86 -0
- package/dist/models/DescribePeripheralDriversRequest.js +77 -0
- package/dist/models/DescribePeripheralDriversRequest.js.map +1 -0
- package/dist/models/DescribePeripheralDriversResponse.d.ts +19 -0
- package/dist/models/DescribePeripheralDriversResponse.js +69 -0
- package/dist/models/DescribePeripheralDriversResponse.js.map +1 -0
- package/dist/models/DescribePeripheralDriversResponseBody.d.ts +141 -0
- package/dist/models/DescribePeripheralDriversResponseBody.js +104 -0
- package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -0
- package/dist/models/DescribeRecordFileRequest.d.ts +18 -5
- package/dist/models/DescribeRecordFileRequest.js +2 -0
- package/dist/models/DescribeRecordFileRequest.js.map +1 -1
- package/dist/models/DescribeRecordFileResponseBody.d.ts +14 -9
- package/dist/models/DescribeRecordFileResponseBody.js +5 -0
- package/dist/models/DescribeRecordFileResponseBody.js.map +1 -1
- package/dist/models/DescribeRenewalPriceRequest.d.ts +4 -4
- package/dist/models/DescribeRenewalPriceResponseBody.d.ts +3 -3
- package/dist/models/DescribeSnapshotsRequest.d.ts +4 -4
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +2 -2
- package/dist/models/DescribeTemplatesRequest.d.ts +5 -8
- package/dist/models/DescribeTemplatesRequest.js.map +1 -1
- package/dist/models/DescribeTemplatesResponseBody.d.ts +39 -12
- package/dist/models/DescribeTemplatesResponseBody.js +4 -0
- package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
- package/dist/models/DescribeVulDesktopsRequest.d.ts +156 -0
- package/dist/models/DescribeVulDesktopsRequest.js +96 -0
- package/dist/models/DescribeVulDesktopsRequest.js.map +1 -0
- package/dist/models/DescribeVulDesktopsResponse.d.ts +19 -0
- package/dist/models/DescribeVulDesktopsResponse.js +69 -0
- package/dist/models/DescribeVulDesktopsResponse.js.map +1 -0
- package/dist/models/DescribeVulDesktopsResponseBody.d.ts +289 -0
- package/dist/models/DescribeVulDesktopsResponseBody.js +181 -0
- package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -0
- package/dist/models/DescribeVulnerabilityRequest.d.ts +78 -0
- package/dist/models/DescribeVulnerabilityRequest.js +72 -0
- package/dist/models/DescribeVulnerabilityRequest.js.map +1 -0
- package/dist/models/DescribeVulnerabilityResponse.d.ts +19 -0
- package/dist/models/DescribeVulnerabilityResponse.js +69 -0
- package/dist/models/DescribeVulnerabilityResponse.js.map +1 -0
- package/dist/models/DescribeVulnerabilityResponseBody.d.ts +267 -0
- package/dist/models/DescribeVulnerabilityResponseBody.js +172 -0
- package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -0
- package/dist/models/DownloadCdsFileResponseBody.d.ts +1 -1
- package/dist/models/GetAggregatedDesktopsRequest.d.ts +37 -0
- package/dist/models/GetAggregatedDesktopsRequest.js +62 -0
- package/dist/models/GetAggregatedDesktopsRequest.js.map +1 -0
- package/dist/models/GetAggregatedDesktopsResponse.d.ts +19 -0
- package/dist/models/GetAggregatedDesktopsResponse.js +69 -0
- package/dist/models/GetAggregatedDesktopsResponse.js.map +1 -0
- package/dist/models/GetAggregatedDesktopsResponseBody.d.ts +46 -0
- package/dist/models/GetAggregatedDesktopsResponseBody.js +85 -0
- package/dist/models/GetAggregatedDesktopsResponseBody.js.map +1 -0
- package/dist/models/GetConnectionTicketRequest.d.ts +12 -4
- package/dist/models/GetConnectionTicketRequest.js +2 -0
- package/dist/models/GetConnectionTicketRequest.js.map +1 -1
- package/dist/models/GetConnectionTicketResponseBody.d.ts +3 -3
- package/dist/models/ListDirectoryUsersRequest.d.ts +3 -3
- package/dist/models/ListDirectoryUsersResponseBody.d.ts +3 -3
- package/dist/models/MigrateDesktopsRequest.d.ts +3 -3
- package/dist/models/ModifyTemplateBaseInfoRequest.d.ts +9 -1
- package/dist/models/ModifyTemplateBaseInfoRequest.js +2 -0
- package/dist/models/ModifyTemplateBaseInfoRequest.js.map +1 -1
- package/dist/models/ModifyTemplateRequest.d.ts +26 -10
- package/dist/models/ModifyTemplateRequest.js +4 -0
- package/dist/models/ModifyTemplateRequest.js.map +1 -1
- package/dist/models/ModifyUserEntitlementRequest.d.ts +4 -4
- package/dist/models/QueryActiveUserStatisticRequest.d.ts +72 -0
- package/dist/models/QueryActiveUserStatisticRequest.js +66 -0
- package/dist/models/QueryActiveUserStatisticRequest.js.map +1 -0
- package/dist/models/QueryActiveUserStatisticResponse.d.ts +19 -0
- package/dist/models/QueryActiveUserStatisticResponse.js +69 -0
- package/dist/models/QueryActiveUserStatisticResponse.js.map +1 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +70 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.js +88 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.js.map +1 -0
- package/dist/models/QueryAuthUserConnectDurationListRequest.d.ts +93 -0
- package/dist/models/QueryAuthUserConnectDurationListRequest.js +76 -0
- package/dist/models/QueryAuthUserConnectDurationListRequest.js.map +1 -0
- package/dist/models/QueryAuthUserConnectDurationListResponse.d.ts +19 -0
- package/dist/models/QueryAuthUserConnectDurationListResponse.js +69 -0
- package/dist/models/QueryAuthUserConnectDurationListResponse.js.map +1 -0
- package/dist/models/QueryAuthUserConnectDurationListResponseBody.d.ts +171 -0
- package/dist/models/QueryAuthUserConnectDurationListResponseBody.js +112 -0
- package/dist/models/QueryAuthUserConnectDurationListResponseBody.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.d.ts +50 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.js +66 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.d.ts +19 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.js +69 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +165 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.js +151 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.d.ts +61 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.js +68 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.d.ts +19 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.js +69 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.d.ts +70 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js +88 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js.map +1 -0
- package/dist/models/RebootDesktopsRequest.d.ts +9 -2
- package/dist/models/RebootDesktopsRequest.js.map +1 -1
- package/dist/models/RunCommandRequest.d.ts +8 -5
- package/dist/models/RunCommandRequest.js.map +1 -1
- package/dist/models/StartDesktopsRequest.d.ts +2 -2
- package/dist/models/model.d.ts +38 -0
- package/dist/models/model.js +98 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +806 -64
- package/src/models/ConfigAdconnectorTrustRequest.ts +1 -1
- package/src/models/CreateDesktopsRequest.ts +58 -45
- package/src/models/CreateDesktopsShrinkRequest.ts +43 -33
- package/src/models/CreateDriveResponseBody.ts +1 -1
- package/src/models/CreateNasfileSystemRequest.ts +22 -2
- package/src/models/CreateNasfileSystemResponseBody.ts +10 -0
- package/src/models/CreateOfficeSiteAcceleratorRequest.ts +7 -8
- package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +1 -1
- package/src/models/CreateTemplateRequest.ts +38 -18
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/DeleteDesktopsRequest.ts +1 -1
- package/src/models/DeleteTemplatesResponseBody.ts +3 -6
- package/src/models/DescribeCloudDiskGroupDrivesRequest.ts +3 -3
- package/src/models/DescribeCloudDiskGroupDrivesResponseBody.ts +13 -3
- package/src/models/DescribeDesktopsRequest.ts +28 -8
- package/src/models/DescribeDesktopsResponseBody.ts +28 -7
- package/src/models/DescribeFlowMetricRequest.ts +5 -5
- package/src/models/DescribeGlobalDesktopRecordsRequest.ts +7 -7
- package/src/models/DescribeGlobalDesktopRecordsResponseBody.ts +14 -5
- package/src/models/DescribeInvocationsRequest.ts +6 -6
- package/src/models/DescribeInvocationsResponseBody.ts +26 -26
- package/src/models/DescribeNasfileSystemsRequest.ts +2 -2
- package/src/models/DescribeNasfileSystemsResponseBody.ts +25 -4
- package/src/models/DescribeOfficeSitesRequest.ts +6 -6
- package/src/models/DescribeOfficeSitesResponseBody.ts +23 -23
- package/src/models/DescribePeripheralDriversRequest.ts +118 -0
- package/src/models/DescribePeripheralDriversResponse.ts +40 -0
- package/src/models/DescribePeripheralDriversResponseBody.ts +191 -0
- package/src/models/DescribeRecordFileRequest.ts +20 -5
- package/src/models/DescribeRecordFileResponseBody.ts +19 -9
- package/src/models/DescribeRenewalPriceRequest.ts +4 -4
- package/src/models/DescribeRenewalPriceResponseBody.ts +3 -3
- package/src/models/DescribeSnapshotsRequest.ts +4 -4
- package/src/models/DescribeSnapshotsResponseBody.ts +2 -2
- package/src/models/DescribeTemplatesRequest.ts +5 -8
- package/src/models/DescribeTemplatesResponseBody.ts +43 -12
- package/src/models/DescribeVulDesktopsRequest.ts +207 -0
- package/src/models/DescribeVulDesktopsResponse.ts +40 -0
- package/src/models/DescribeVulDesktopsResponseBody.ts +398 -0
- package/src/models/DescribeVulnerabilityRequest.ts +105 -0
- package/src/models/DescribeVulnerabilityResponse.ts +40 -0
- package/src/models/DescribeVulnerabilityResponseBody.ts +367 -0
- package/src/models/DownloadCdsFileResponseBody.ts +1 -1
- package/src/models/GetAggregatedDesktopsRequest.ts +54 -0
- package/src/models/GetAggregatedDesktopsResponse.ts +40 -0
- package/src/models/GetAggregatedDesktopsResponseBody.ts +75 -0
- package/src/models/GetConnectionTicketRequest.ts +14 -4
- package/src/models/GetConnectionTicketResponseBody.ts +3 -3
- package/src/models/ListDirectoryUsersRequest.ts +3 -3
- package/src/models/ListDirectoryUsersResponseBody.ts +3 -3
- package/src/models/MigrateDesktopsRequest.ts +3 -3
- package/src/models/ModifyTemplateBaseInfoRequest.ts +11 -1
- package/src/models/ModifyTemplateRequest.ts +30 -10
- package/src/models/ModifyUserEntitlementRequest.ts +4 -4
- package/src/models/QueryActiveUserStatisticRequest.ts +93 -0
- package/src/models/QueryActiveUserStatisticResponse.ts +40 -0
- package/src/models/QueryActiveUserStatisticResponseBody.ts +104 -0
- package/src/models/QueryAuthUserConnectDurationListRequest.ts +124 -0
- package/src/models/QueryAuthUserConnectDurationListResponse.ts +40 -0
- package/src/models/QueryAuthUserConnectDurationListResponseBody.ts +229 -0
- package/src/models/QueryEndUserHistoryUsageRequest.ts +71 -0
- package/src/models/QueryEndUserHistoryUsageResponse.ts +40 -0
- package/src/models/QueryEndUserHistoryUsageResponseBody.ts +244 -0
- package/src/models/QueryHistoryActiveUserStatisticRequest.ts +84 -0
- package/src/models/QueryHistoryActiveUserStatisticResponse.ts +40 -0
- package/src/models/QueryHistoryActiveUserStatisticResponseBody.ts +104 -0
- package/src/models/RebootDesktopsRequest.ts +9 -2
- package/src/models/RunCommandRequest.ts +8 -5
- package/src/models/StartDesktopsRequest.ts +2 -2
- package/src/models/model.ts +38 -0
|
@@ -11,6 +11,14 @@ export class ModifyTemplateBaseInfoRequest extends $dara.Model {
|
|
|
11
11
|
* This is description.
|
|
12
12
|
*/
|
|
13
13
|
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The instance name.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* myHost
|
|
20
|
+
*/
|
|
21
|
+
instanceName?: string;
|
|
14
22
|
/**
|
|
15
23
|
* @remarks
|
|
16
24
|
* The template ID.
|
|
@@ -26,12 +34,13 @@ export class ModifyTemplateBaseInfoRequest extends $dara.Model {
|
|
|
26
34
|
* The template name.
|
|
27
35
|
*
|
|
28
36
|
* @example
|
|
29
|
-
*
|
|
37
|
+
* ShanghaiTemplate1
|
|
30
38
|
*/
|
|
31
39
|
templateName?: string;
|
|
32
40
|
static names(): { [key: string]: string } {
|
|
33
41
|
return {
|
|
34
42
|
description: 'Description',
|
|
43
|
+
instanceName: 'InstanceName',
|
|
35
44
|
templateId: 'TemplateId',
|
|
36
45
|
templateName: 'TemplateName',
|
|
37
46
|
};
|
|
@@ -40,6 +49,7 @@ export class ModifyTemplateBaseInfoRequest extends $dara.Model {
|
|
|
40
49
|
static types(): { [key: string]: any } {
|
|
41
50
|
return {
|
|
42
51
|
description: 'string',
|
|
52
|
+
instanceName: 'string',
|
|
43
53
|
templateId: 'string',
|
|
44
54
|
templateName: 'string',
|
|
45
55
|
};
|
|
@@ -13,7 +13,7 @@ export class ModifyTemplateRequestDataDiskList extends $dara.Model {
|
|
|
13
13
|
performanceLevel?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The size of the data cloud disk. Unit: GiB. Valid values: 40 to 2040
|
|
16
|
+
* The size of the data cloud disk. Unit: GiB. Valid values: 40 to 2040, in increments of 10 GiB.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 40
|
|
@@ -69,7 +69,7 @@ export class ModifyTemplateRequestRegionConfigList extends $dara.Model {
|
|
|
69
69
|
resourceInstanceType?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The
|
|
72
|
+
* The automatic snapshot policy ID.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* sp-35fvn8m2*****
|
|
@@ -83,6 +83,14 @@ export class ModifyTemplateRequestRegionConfigList extends $dara.Model {
|
|
|
83
83
|
* vsw-adjrehad1****
|
|
84
84
|
*/
|
|
85
85
|
subnetId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The virtual node pool ID.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* vnp-0bz55ic*******
|
|
92
|
+
*/
|
|
93
|
+
virtualNodePoolId?: string;
|
|
86
94
|
/**
|
|
87
95
|
* @remarks
|
|
88
96
|
* Specifies whether to enable disk encryption.
|
|
@@ -106,6 +114,7 @@ export class ModifyTemplateRequestRegionConfigList extends $dara.Model {
|
|
|
106
114
|
resourceInstanceType: 'ResourceInstanceType',
|
|
107
115
|
snapshotPolicyId: 'SnapshotPolicyId',
|
|
108
116
|
subnetId: 'SubnetId',
|
|
117
|
+
virtualNodePoolId: 'VirtualNodePoolId',
|
|
109
118
|
volumeEncryptionEnable: 'VolumeEncryptionEnable',
|
|
110
119
|
volumeEncryptionKey: 'VolumeEncryptionKey',
|
|
111
120
|
};
|
|
@@ -118,6 +127,7 @@ export class ModifyTemplateRequestRegionConfigList extends $dara.Model {
|
|
|
118
127
|
resourceInstanceType: 'string',
|
|
119
128
|
snapshotPolicyId: 'string',
|
|
120
129
|
subnetId: 'string',
|
|
130
|
+
virtualNodePoolId: 'string',
|
|
121
131
|
volumeEncryptionEnable: 'boolean',
|
|
122
132
|
volumeEncryptionKey: 'string',
|
|
123
133
|
};
|
|
@@ -248,7 +258,7 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
248
258
|
* @remarks
|
|
249
259
|
* The description of the template. The description must meet the following requirements:
|
|
250
260
|
*
|
|
251
|
-
* - The description must be 2 to 256 characters in length
|
|
261
|
+
* - The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
252
262
|
* - The description can contain Chinese characters, letters, digits, spaces, and special characters. Line breaks are supported.
|
|
253
263
|
*
|
|
254
264
|
* @example
|
|
@@ -257,12 +267,20 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
257
267
|
description?: string;
|
|
258
268
|
/**
|
|
259
269
|
* @remarks
|
|
260
|
-
* The
|
|
270
|
+
* The cloud computer image ID. You can query the ID on the image management page. System images, custom images, and other image types are supported.
|
|
261
271
|
*
|
|
262
272
|
* @example
|
|
263
273
|
* m-gx2x1dhsmusr2****
|
|
264
274
|
*/
|
|
265
275
|
imageId?: string;
|
|
276
|
+
/**
|
|
277
|
+
* @remarks
|
|
278
|
+
* The instance name.
|
|
279
|
+
*
|
|
280
|
+
* @example
|
|
281
|
+
* wework-aim-test
|
|
282
|
+
*/
|
|
283
|
+
instanceName?: string;
|
|
266
284
|
/**
|
|
267
285
|
* @remarks
|
|
268
286
|
* The subscription duration of the subscription cloud computer. This parameter takes effect and is required only when `ChargeType` is set to `PrePaid`. The unit is specified by `PeriodUnit`.
|
|
@@ -320,7 +338,7 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
320
338
|
resourceGroupId?: string;
|
|
321
339
|
/**
|
|
322
340
|
* @remarks
|
|
323
|
-
* The
|
|
341
|
+
* The cloud computer tags in key-value format. You can specify up to 20 tags.
|
|
324
342
|
*/
|
|
325
343
|
resourceTagList?: ModifyTemplateRequestResourceTagList[];
|
|
326
344
|
/**
|
|
@@ -332,7 +350,7 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
332
350
|
* @remarks
|
|
333
351
|
* The type of the system cloud disk.
|
|
334
352
|
*
|
|
335
|
-
* > Only high frequency and
|
|
353
|
+
* > Only high frequency and GPU-accelerated cloud computer specifications support ESSD cloud disks.
|
|
336
354
|
*
|
|
337
355
|
* @example
|
|
338
356
|
* AutoPL
|
|
@@ -340,7 +358,7 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
340
358
|
systemDiskPerformanceLevel?: string;
|
|
341
359
|
/**
|
|
342
360
|
* @remarks
|
|
343
|
-
* The size of the system cloud disk. Unit: GiB. Valid values: 40 to 500
|
|
361
|
+
* The size of the system cloud disk. Unit: GiB. Valid values: 40 to 500, in increments of 10 GiB.
|
|
344
362
|
*
|
|
345
363
|
* > The system cloud disk size cannot be smaller than the size of the configured image.
|
|
346
364
|
*
|
|
@@ -362,8 +380,8 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
362
380
|
* @remarks
|
|
363
381
|
* The name of the template. The name must meet the following requirements:
|
|
364
382
|
*
|
|
365
|
-
* - The name must be 2 to 126 characters in length.
|
|
366
|
-
* - The name must start with a letter or a Chinese character.
|
|
383
|
+
* - The name must be 2 to 126 characters in length and can contain letters and Chinese characters.
|
|
384
|
+
* - The name must start with a letter or a Chinese character. The name cannot start with `http://` or `https://`.
|
|
367
385
|
* - The name can contain letters, digits, Chinese characters, colons (:), underscores (_), or hyphens (-). Periods (.) are not supported.
|
|
368
386
|
*
|
|
369
387
|
* @example
|
|
@@ -380,7 +398,7 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
380
398
|
timerGroupId?: string;
|
|
381
399
|
/**
|
|
382
400
|
* @remarks
|
|
383
|
-
* The
|
|
401
|
+
* The duration plan for a single user.
|
|
384
402
|
*
|
|
385
403
|
* @example
|
|
386
404
|
* 120
|
|
@@ -395,6 +413,7 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
395
413
|
defaultLanguage: 'DefaultLanguage',
|
|
396
414
|
description: 'Description',
|
|
397
415
|
imageId: 'ImageId',
|
|
416
|
+
instanceName: 'InstanceName',
|
|
398
417
|
period: 'Period',
|
|
399
418
|
periodUnit: 'PeriodUnit',
|
|
400
419
|
policyGroupId: 'PolicyGroupId',
|
|
@@ -421,6 +440,7 @@ export class ModifyTemplateRequest extends $dara.Model {
|
|
|
421
440
|
defaultLanguage: 'string',
|
|
422
441
|
description: 'string',
|
|
423
442
|
imageId: 'string',
|
|
443
|
+
instanceName: 'string',
|
|
424
444
|
period: 'number',
|
|
425
445
|
periodUnit: 'string',
|
|
426
446
|
policyGroupId: 'string',
|
|
@@ -5,17 +5,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyUserEntitlementRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The list of cloud computer IDs for which to add authorized users.
|
|
9
9
|
*/
|
|
10
10
|
authorizeDesktopId?: string[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The list of user IDs (usernames).
|
|
14
14
|
*/
|
|
15
15
|
endUserId?: string[];
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The region ID. You can call
|
|
18
|
+
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) to query the regions supported by Elastic Desktop Service.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -25,7 +25,7 @@ export class ModifyUserEntitlementRequest extends $dara.Model {
|
|
|
25
25
|
regionId?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The
|
|
28
|
+
* The list of cloud computer IDs for which to remove authorized users.
|
|
29
29
|
*/
|
|
30
30
|
revokeDesktopId?: string[];
|
|
31
31
|
static names(): { [key: string]: string } {
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryActiveUserStatisticRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The business channel type code. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* - 1 (default): Enterprise Edition.
|
|
11
|
+
* - 3: Cloud Office.
|
|
12
|
+
* - 10: Standard Edition.
|
|
13
|
+
* - 20: Business Edition.
|
|
14
|
+
* - 30: Education Business Edition.
|
|
15
|
+
* - 40: Cloud Phone isolated resources.
|
|
16
|
+
* - 50: AgentBay.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1
|
|
20
|
+
*/
|
|
21
|
+
bizType?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The end time of the query. The format is the same as StartTime. If the value is later than the current time, it is automatically truncated to the current time.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 2020-12-01T06:32:31Z
|
|
28
|
+
*/
|
|
29
|
+
endTime?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The workspace ID. If specified, only active users of cloud desktops in this workspace are counted.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* cn-hangzhou+dir-885351****
|
|
36
|
+
*/
|
|
37
|
+
officeSiteId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The aggregation interval for statistics. Valid values:
|
|
41
|
+
*
|
|
42
|
+
* - ONE_MINUTE: 1 minute.
|
|
43
|
+
* - TWO_MINUTE: 2 minutes.
|
|
44
|
+
* - FIVE_MINUTE (default): 5 minutes.
|
|
45
|
+
* - ONE_HOUR: 1 hour.
|
|
46
|
+
* - ONE_DAY: 1 day.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* FIVE_MINUTE
|
|
50
|
+
*/
|
|
51
|
+
period?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The start time of the query. The following formats are supported:
|
|
55
|
+
*
|
|
56
|
+
* - UTC format: yyyy-MM-ddTHH:mm:ssZ.
|
|
57
|
+
* - Standard format: yyyy-MM-dd HH:mm:ss.
|
|
58
|
+
*
|
|
59
|
+
* The value cannot be earlier than 6 months before the current time or later than EndTime.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* 2020-11-30T06:32:31Z
|
|
63
|
+
*/
|
|
64
|
+
startTime?: string;
|
|
65
|
+
static names(): { [key: string]: string } {
|
|
66
|
+
return {
|
|
67
|
+
bizType: 'BizType',
|
|
68
|
+
endTime: 'EndTime',
|
|
69
|
+
officeSiteId: 'OfficeSiteId',
|
|
70
|
+
period: 'Period',
|
|
71
|
+
startTime: 'StartTime',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
static types(): { [key: string]: any } {
|
|
76
|
+
return {
|
|
77
|
+
bizType: 'number',
|
|
78
|
+
endTime: 'string',
|
|
79
|
+
officeSiteId: 'string',
|
|
80
|
+
period: 'string',
|
|
81
|
+
startTime: 'string',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
validate() {
|
|
86
|
+
super.validate();
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
constructor(map?: { [key: string]: any }) {
|
|
90
|
+
super(map);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { QueryActiveUserStatisticResponseBody } from "./QueryActiveUserStatisticResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryActiveUserStatisticResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryActiveUserStatisticResponseBody;
|
|
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: QueryActiveUserStatisticResponseBody,
|
|
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,104 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryActiveUserStatisticResponseBodyUserStatisticList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The number of deduplicated active users within the statistical period.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 56
|
|
12
|
+
*/
|
|
13
|
+
activeUserCount?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The formatted date string in UTC+8, in the format of yyyy-MM-dd.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2020-11-30
|
|
20
|
+
*/
|
|
21
|
+
formatDate?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The epoch timestamp in milliseconds corresponding to the data point.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1606723951000
|
|
28
|
+
*/
|
|
29
|
+
timeStamp?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
activeUserCount: 'ActiveUserCount',
|
|
33
|
+
formatDate: 'FormatDate',
|
|
34
|
+
timeStamp: 'TimeStamp',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
activeUserCount: 'number',
|
|
41
|
+
formatDate: 'string',
|
|
42
|
+
timeStamp: 'number',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class QueryActiveUserStatisticResponseBody extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The request ID.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
|
|
62
|
+
*/
|
|
63
|
+
requestId?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The total number of data points.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 20
|
|
70
|
+
*/
|
|
71
|
+
totalCount?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The list of active user statistics.
|
|
75
|
+
*/
|
|
76
|
+
userStatisticList?: QueryActiveUserStatisticResponseBodyUserStatisticList[];
|
|
77
|
+
static names(): { [key: string]: string } {
|
|
78
|
+
return {
|
|
79
|
+
requestId: 'RequestId',
|
|
80
|
+
totalCount: 'TotalCount',
|
|
81
|
+
userStatisticList: 'UserStatisticList',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
static types(): { [key: string]: any } {
|
|
86
|
+
return {
|
|
87
|
+
requestId: 'string',
|
|
88
|
+
totalCount: 'number',
|
|
89
|
+
userStatisticList: { 'type': 'array', 'itemType': QueryActiveUserStatisticResponseBodyUserStatisticList },
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
validate() {
|
|
94
|
+
if(Array.isArray(this.userStatisticList)) {
|
|
95
|
+
$dara.Model.validateArray(this.userStatisticList);
|
|
96
|
+
}
|
|
97
|
+
super.validate();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
constructor(map?: { [key: string]: any }) {
|
|
101
|
+
super(map);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryAuthUserConnectDurationListRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The comparison operator for connection duration. This parameter is used together with Threshold to filter users by a threshold. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* - GreaterThanThreshold: greater than the threshold.
|
|
11
|
+
* - LessThanThreshold: less than the threshold.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* GreaterThanThreshold
|
|
15
|
+
*/
|
|
16
|
+
comparisonOperator?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* The date for the statistics, in the yyyy-MM-dd format. If this parameter is left empty, statistics from the previous day are returned by default.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* 2026-06-24
|
|
23
|
+
*/
|
|
24
|
+
dataDate?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* Specifies whether to query only Active Directory (AD) users. This parameter is required when UserName or WithDetail is specified.
|
|
28
|
+
*/
|
|
29
|
+
isAdUser?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The paging token. This parameter is used only when statistics are collected by individual session details (StatisticType=SingleSession). You do not need to specify this parameter for the first request. For subsequent requests, set this parameter to the NextToken value returned in the previous response to retrieve the next page.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* d129c6c0e8c04c8a9f0e2b7c1a3f5e6d
|
|
36
|
+
*/
|
|
37
|
+
nextToken?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The page number, starting from 1. Default value: 1. This parameter takes effect only when statistics are collected by daily cumulative duration (StatisticType=Daily).
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 1
|
|
44
|
+
*/
|
|
45
|
+
pageNum?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The number of entries per page. Default value: 100. Maximum value: 100.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 100
|
|
52
|
+
*/
|
|
53
|
+
pageSize?: number;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The statistics type. Valid values:
|
|
57
|
+
*
|
|
58
|
+
* - Daily: collects statistics by daily cumulative connection duration. This is the default value.
|
|
59
|
+
* - SingleSession: collects statistics by individual session details.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* Daily
|
|
63
|
+
*/
|
|
64
|
+
statisticType?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* The connection duration threshold, in seconds. This parameter must be used together with ComparisonOperator.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* 3600
|
|
71
|
+
*/
|
|
72
|
+
threshold?: number;
|
|
73
|
+
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* The name of the end user. Fuzzy match is supported. When you use this parameter, you must also specify IsAdUser.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* alice
|
|
79
|
+
*/
|
|
80
|
+
userName?: string;
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* Specifies whether to backfill user details such as display name and nickname. This parameter supports both AD users and convenience users. When you use this parameter, you must also specify IsAdUser.
|
|
84
|
+
*/
|
|
85
|
+
withDetail?: boolean;
|
|
86
|
+
static names(): { [key: string]: string } {
|
|
87
|
+
return {
|
|
88
|
+
comparisonOperator: 'ComparisonOperator',
|
|
89
|
+
dataDate: 'DataDate',
|
|
90
|
+
isAdUser: 'IsAdUser',
|
|
91
|
+
nextToken: 'NextToken',
|
|
92
|
+
pageNum: 'PageNum',
|
|
93
|
+
pageSize: 'PageSize',
|
|
94
|
+
statisticType: 'StatisticType',
|
|
95
|
+
threshold: 'Threshold',
|
|
96
|
+
userName: 'UserName',
|
|
97
|
+
withDetail: 'WithDetail',
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
static types(): { [key: string]: any } {
|
|
102
|
+
return {
|
|
103
|
+
comparisonOperator: 'string',
|
|
104
|
+
dataDate: 'string',
|
|
105
|
+
isAdUser: 'boolean',
|
|
106
|
+
nextToken: 'string',
|
|
107
|
+
pageNum: 'number',
|
|
108
|
+
pageSize: 'number',
|
|
109
|
+
statisticType: 'string',
|
|
110
|
+
threshold: 'number',
|
|
111
|
+
userName: 'string',
|
|
112
|
+
withDetail: 'boolean',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
super.validate();
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
constructor(map?: { [key: string]: any }) {
|
|
121
|
+
super(map);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { QueryAuthUserConnectDurationListResponseBody } from "./QueryAuthUserConnectDurationListResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryAuthUserConnectDurationListResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryAuthUserConnectDurationListResponseBody;
|
|
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: QueryAuthUserConnectDurationListResponseBody,
|
|
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
|
+
|