@alicloud/ecd20200930 5.3.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 +80 -50
- package/dist/client.js +194 -50
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDesktopsRequest.d.ts +68 -57
- package/dist/models/CreateDesktopsRequest.js +2 -0
- package/dist/models/CreateDesktopsRequest.js.map +1 -1
- package/dist/models/CreateDesktopsResponseBody.d.ts +1 -1
- package/dist/models/CreateDesktopsShrinkRequest.d.ts +56 -48
- 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/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/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/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/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/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 +29 -10
- package/dist/models/DescribeVulDesktopsRequest.js +4 -0
- package/dist/models/DescribeVulDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeVulDesktopsResponseBody.d.ts +26 -10
- package/dist/models/DescribeVulDesktopsResponseBody.js +4 -0
- package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribeVulnerabilityRequest.d.ts +1 -1
- package/dist/models/DescribeVulnerabilityResponseBody.d.ts +5 -5
- 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/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/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/model.d.ts +8 -0
- package/dist/models/model.js +37 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +222 -50
- package/src/models/CreateDesktopsRequest.ts +70 -57
- package/src/models/CreateDesktopsResponseBody.ts +1 -1
- package/src/models/CreateDesktopsShrinkRequest.ts +58 -48
- package/src/models/CreateDriveResponseBody.ts +1 -1
- package/src/models/CreateNasfileSystemRequest.ts +22 -2
- package/src/models/CreateNasfileSystemResponseBody.ts +10 -0
- package/src/models/CreateTemplateRequest.ts +38 -18
- package/src/models/CreateTemplateResponseBody.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/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/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/DescribeTemplatesRequest.ts +5 -8
- package/src/models/DescribeTemplatesResponseBody.ts +43 -12
- package/src/models/DescribeVulDesktopsRequest.ts +33 -10
- package/src/models/DescribeVulDesktopsResponseBody.ts +30 -10
- package/src/models/DescribeVulnerabilityRequest.ts +1 -1
- package/src/models/DescribeVulnerabilityResponseBody.ts +5 -5
- 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/ModifyTemplateBaseInfoRequest.ts +11 -1
- package/src/models/ModifyTemplateRequest.ts +30 -10
- package/src/models/QueryAuthUserConnectDurationListRequest.ts +124 -0
- package/src/models/QueryAuthUserConnectDurationListResponse.ts +40 -0
- package/src/models/QueryAuthUserConnectDurationListResponseBody.ts +229 -0
- package/src/models/model.ts +8 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetConnectionTicketResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The cloud computer
|
|
8
|
+
* The ID of the cloud computer.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ecd-gx2x1dhsmucyy****
|
|
@@ -21,7 +21,7 @@ export class GetConnectionTicketResponseBody extends $dara.Model {
|
|
|
21
21
|
requestId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The ticket used to connect to the user instance. Before you use the ticket, Base64-decode its content
|
|
24
|
+
* The ticket used to connect to the user instance. Before you use the ticket, Base64-decode its content, save the decoded content as an xxx.ica file, and then open the file. Python code example:
|
|
25
25
|
*
|
|
26
26
|
* ```
|
|
27
27
|
* import base64
|
|
@@ -65,7 +65,7 @@ export class GetConnectionTicketResponseBody extends $dara.Model {
|
|
|
65
65
|
taskStatus?: string;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The connection credential
|
|
68
|
+
* The connection credential of the cloud computer.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* W0VuY29kaW5nXQ0KSW5wdXRFbmNvZGluZz1V********
|
|
@@ -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',
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryAuthUserConnectDurationListResponseBodyAuthUserConnectDurationList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The connection duration of the user, in seconds.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 3600
|
|
12
|
+
*/
|
|
13
|
+
connectDuration?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The end time of the connection, as a UNIX timestamp in milliseconds. This parameter is returned only when statistics are collected by individual session details (StatisticType=SingleSession).
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1719208800000
|
|
20
|
+
*/
|
|
21
|
+
connectEndTime?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The start time of the connection, as a UNIX timestamp in milliseconds. This parameter is returned only when statistics are collected by individual session details (StatisticType=SingleSession).
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1719205200000
|
|
28
|
+
*/
|
|
29
|
+
connectStartTime?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The remarks of the user. This parameter is returned only for convenience users when WithDetail is set to true.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* R&D department employee
|
|
36
|
+
*/
|
|
37
|
+
description?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The cloud desktop ID.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ecd-gx2x1dhsmusr2****
|
|
44
|
+
*/
|
|
45
|
+
desktopId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The cloud desktop name.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* test-desktop
|
|
52
|
+
*/
|
|
53
|
+
desktopName?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The type of the directory to which the user belongs. Valid values:
|
|
57
|
+
*
|
|
58
|
+
* - 1: convenience account.
|
|
59
|
+
* - 2: RAM account.
|
|
60
|
+
* - 3: AD account.
|
|
61
|
+
* - 4: personal edition.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* 3
|
|
65
|
+
*/
|
|
66
|
+
directoryType?: number;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The display name of the user. This parameter is returned only for AD users when WithDetail is set to true.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* Zhang San
|
|
73
|
+
*/
|
|
74
|
+
displayName?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* The new display name of the user. This parameter is returned only for AD users when WithDetail is set to true.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* Zhang San
|
|
81
|
+
*/
|
|
82
|
+
displayNameNew?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* The AD domain name.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* example.com
|
|
89
|
+
*/
|
|
90
|
+
domainName?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The end user ID.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* alice
|
|
97
|
+
*/
|
|
98
|
+
endUserId?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* The nickname of the user. This parameter is returned only for convenience users when WithDetail is set to true.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* Xiao Zhang
|
|
105
|
+
*/
|
|
106
|
+
nickName?: string;
|
|
107
|
+
/**
|
|
108
|
+
* @remarks
|
|
109
|
+
* The region ID.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* cn-hangzhou
|
|
113
|
+
*/
|
|
114
|
+
regionId?: string;
|
|
115
|
+
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* The user principal name (UPN). This parameter is returned only for AD users when WithDetail is set to true.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* alice@example.com
|
|
121
|
+
*/
|
|
122
|
+
userPrincipalName?: string;
|
|
123
|
+
static names(): { [key: string]: string } {
|
|
124
|
+
return {
|
|
125
|
+
connectDuration: 'ConnectDuration',
|
|
126
|
+
connectEndTime: 'ConnectEndTime',
|
|
127
|
+
connectStartTime: 'ConnectStartTime',
|
|
128
|
+
description: 'Description',
|
|
129
|
+
desktopId: 'DesktopId',
|
|
130
|
+
desktopName: 'DesktopName',
|
|
131
|
+
directoryType: 'DirectoryType',
|
|
132
|
+
displayName: 'DisplayName',
|
|
133
|
+
displayNameNew: 'DisplayNameNew',
|
|
134
|
+
domainName: 'DomainName',
|
|
135
|
+
endUserId: 'EndUserId',
|
|
136
|
+
nickName: 'NickName',
|
|
137
|
+
regionId: 'RegionId',
|
|
138
|
+
userPrincipalName: 'UserPrincipalName',
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
static types(): { [key: string]: any } {
|
|
143
|
+
return {
|
|
144
|
+
connectDuration: 'number',
|
|
145
|
+
connectEndTime: 'string',
|
|
146
|
+
connectStartTime: 'string',
|
|
147
|
+
description: 'string',
|
|
148
|
+
desktopId: 'string',
|
|
149
|
+
desktopName: 'string',
|
|
150
|
+
directoryType: 'number',
|
|
151
|
+
displayName: 'string',
|
|
152
|
+
displayNameNew: 'string',
|
|
153
|
+
domainName: 'string',
|
|
154
|
+
endUserId: 'string',
|
|
155
|
+
nickName: 'string',
|
|
156
|
+
regionId: 'string',
|
|
157
|
+
userPrincipalName: 'string',
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
validate() {
|
|
162
|
+
super.validate();
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
constructor(map?: { [key: string]: any }) {
|
|
166
|
+
super(map);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export class QueryAuthUserConnectDurationListResponseBody extends $dara.Model {
|
|
171
|
+
/**
|
|
172
|
+
* @remarks
|
|
173
|
+
* The connection duration list of authorized users.
|
|
174
|
+
*/
|
|
175
|
+
authUserConnectDurationList?: QueryAuthUserConnectDurationListResponseBodyAuthUserConnectDurationList[];
|
|
176
|
+
/**
|
|
177
|
+
* @remarks
|
|
178
|
+
* The pagination token for the next page. This parameter is returned when the results span multiple pages. Pass this value as the NextToken in the next request to retrieve the next page. This parameter is returned only when statistics are collected by individual session details.
|
|
179
|
+
*
|
|
180
|
+
* @example
|
|
181
|
+
* d129c6c0e8c04c8a9f0e2b7c1a3f5e6d
|
|
182
|
+
*/
|
|
183
|
+
nextToken?: string;
|
|
184
|
+
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* The request ID.
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F0F0F
|
|
190
|
+
*/
|
|
191
|
+
requestId?: string;
|
|
192
|
+
/**
|
|
193
|
+
* @remarks
|
|
194
|
+
* The total number of records that match the specified conditions.
|
|
195
|
+
*
|
|
196
|
+
* @example
|
|
197
|
+
* 100
|
|
198
|
+
*/
|
|
199
|
+
totalCount?: number;
|
|
200
|
+
static names(): { [key: string]: string } {
|
|
201
|
+
return {
|
|
202
|
+
authUserConnectDurationList: 'AuthUserConnectDurationList',
|
|
203
|
+
nextToken: 'NextToken',
|
|
204
|
+
requestId: 'RequestId',
|
|
205
|
+
totalCount: 'TotalCount',
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
static types(): { [key: string]: any } {
|
|
210
|
+
return {
|
|
211
|
+
authUserConnectDurationList: { 'type': 'array', 'itemType': QueryAuthUserConnectDurationListResponseBodyAuthUserConnectDurationList },
|
|
212
|
+
nextToken: 'string',
|
|
213
|
+
requestId: 'string',
|
|
214
|
+
totalCount: 'number',
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
validate() {
|
|
219
|
+
if(Array.isArray(this.authUserConnectDurationList)) {
|
|
220
|
+
$dara.Model.validateArray(this.authUserConnectDurationList);
|
|
221
|
+
}
|
|
222
|
+
super.validate();
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
constructor(map?: { [key: string]: any }) {
|
|
226
|
+
super(map);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -225,6 +225,7 @@ export { DisconnectDesktopSessionsResponseBodyInvalidSessions } from './Disconne
|
|
|
225
225
|
export { DownloadCdsFileResponseBodyDownloadFileModel } from './DownloadCdsFileResponseBody';
|
|
226
226
|
export { ExportDesktopGroupInfoRequestTag } from './ExportDesktopGroupInfoRequest';
|
|
227
227
|
export { ExportDesktopListInfoRequestTag } from './ExportDesktopListInfoRequest';
|
|
228
|
+
export { GetAggregatedDesktopsResponseBodyAggregations } from './GetAggregatedDesktopsResponseBody';
|
|
228
229
|
export { GetAsyncTaskResponseBodyData } from './GetAsyncTaskResponseBody';
|
|
229
230
|
export { GetDesktopGroupDetailResponseBodyDesktopsScaleTimerInfos } from './GetDesktopGroupDetailResponseBody';
|
|
230
231
|
export { GetDesktopGroupDetailResponseBodyDesktopsTimerInfos } from './GetDesktopGroupDetailResponseBody';
|
|
@@ -282,6 +283,7 @@ export { ModifyTimerGroupRequestConfigTimersSegmentTimers } from './ModifyTimerG
|
|
|
282
283
|
export { ModifyTimerGroupRequestConfigTimers } from './ModifyTimerGroupRequest';
|
|
283
284
|
export { MoveCdsFileResponseBodyMoveCdsFileModel } from './MoveCdsFileResponseBody';
|
|
284
285
|
export { QueryActiveUserStatisticResponseBodyUserStatisticList } from './QueryActiveUserStatisticResponseBody';
|
|
286
|
+
export { QueryAuthUserConnectDurationListResponseBodyAuthUserConnectDurationList } from './QueryAuthUserConnectDurationListResponseBody';
|
|
285
287
|
export { QueryEndUserHistoryUsageResponseBodyUserUsageInfoListDesktopUsageList } from './QueryEndUserHistoryUsageResponseBody';
|
|
286
288
|
export { QueryEndUserHistoryUsageResponseBodyUserUsageInfoListUserGroupList } from './QueryEndUserHistoryUsageResponseBody';
|
|
287
289
|
export { QueryEndUserHistoryUsageResponseBodyUserUsageInfoList } from './QueryEndUserHistoryUsageResponseBody';
|
|
@@ -870,6 +872,9 @@ export { ExportDesktopGroupInfoResponse } from './ExportDesktopGroupInfoResponse
|
|
|
870
872
|
export { ExportDesktopListInfoRequest } from './ExportDesktopListInfoRequest';
|
|
871
873
|
export { ExportDesktopListInfoResponseBody } from './ExportDesktopListInfoResponseBody';
|
|
872
874
|
export { ExportDesktopListInfoResponse } from './ExportDesktopListInfoResponse';
|
|
875
|
+
export { GetAggregatedDesktopsRequest } from './GetAggregatedDesktopsRequest';
|
|
876
|
+
export { GetAggregatedDesktopsResponseBody } from './GetAggregatedDesktopsResponseBody';
|
|
877
|
+
export { GetAggregatedDesktopsResponse } from './GetAggregatedDesktopsResponse';
|
|
873
878
|
export { GetAsyncTaskRequest } from './GetAsyncTaskRequest';
|
|
874
879
|
export { GetAsyncTaskResponseBody } from './GetAsyncTaskResponseBody';
|
|
875
880
|
export { GetAsyncTaskResponse } from './GetAsyncTaskResponse';
|
|
@@ -1084,6 +1089,9 @@ export { MoveCdsFileResponse } from './MoveCdsFileResponse';
|
|
|
1084
1089
|
export { QueryActiveUserStatisticRequest } from './QueryActiveUserStatisticRequest';
|
|
1085
1090
|
export { QueryActiveUserStatisticResponseBody } from './QueryActiveUserStatisticResponseBody';
|
|
1086
1091
|
export { QueryActiveUserStatisticResponse } from './QueryActiveUserStatisticResponse';
|
|
1092
|
+
export { QueryAuthUserConnectDurationListRequest } from './QueryAuthUserConnectDurationListRequest';
|
|
1093
|
+
export { QueryAuthUserConnectDurationListResponseBody } from './QueryAuthUserConnectDurationListResponseBody';
|
|
1094
|
+
export { QueryAuthUserConnectDurationListResponse } from './QueryAuthUserConnectDurationListResponse';
|
|
1087
1095
|
export { QueryEndUserHistoryUsageRequest } from './QueryEndUserHistoryUsageRequest';
|
|
1088
1096
|
export { QueryEndUserHistoryUsageResponseBody } from './QueryEndUserHistoryUsageResponseBody';
|
|
1089
1097
|
export { QueryEndUserHistoryUsageResponse } from './QueryEndUserHistoryUsageResponse';
|