@alicloud/ecd20200930 4.17.0 → 4.19.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 +30 -0
- package/dist/client.js +147 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeDesktopMetadataRequest.d.ts +74 -0
- package/dist/models/DescribeDesktopMetadataRequest.js +85 -0
- package/dist/models/DescribeDesktopMetadataRequest.js.map +1 -0
- package/dist/models/DescribeDesktopMetadataResponse.d.ts +19 -0
- package/dist/models/DescribeDesktopMetadataResponse.js +69 -0
- package/dist/models/DescribeDesktopMetadataResponse.js.map +1 -0
- package/dist/models/DescribeDesktopMetadataResponseBody.d.ts +103 -0
- package/dist/models/DescribeDesktopMetadataResponseBody.js +115 -0
- package/dist/models/DescribeDesktopMetadataResponseBody.js.map +1 -0
- package/dist/models/DescribeRecordFileRequest.d.ts +76 -0
- package/dist/models/DescribeRecordFileRequest.js +80 -0
- package/dist/models/DescribeRecordFileRequest.js.map +1 -0
- package/dist/models/DescribeRecordFileResponse.d.ts +19 -0
- package/dist/models/DescribeRecordFileResponse.js +69 -0
- package/dist/models/DescribeRecordFileResponse.js.map +1 -0
- package/dist/models/DescribeRecordFileResponseBody.d.ts +137 -0
- package/dist/models/DescribeRecordFileResponseBody.js +138 -0
- package/dist/models/DescribeRecordFileResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +40 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +176 -0
- package/src/models/DescribeDesktopMetadataRequest.ts +114 -0
- package/src/models/DescribeDesktopMetadataResponse.ts +40 -0
- package/src/models/DescribeDesktopMetadataResponseBody.ts +164 -0
- package/src/models/DescribeRecordFileRequest.ts +111 -0
- package/src/models/DescribeRecordFileResponse.ts +40 -0
- package/src/models/DescribeRecordFileResponseBody.ts +212 -0
- package/src/models/model.ts +9 -0
package/src/client.ts
CHANGED
|
@@ -7936,6 +7936,96 @@ export default class Client extends OpenApi {
|
|
|
7936
7936
|
return await this.describeDesktopInfoWithOptions(request, runtime);
|
|
7937
7937
|
}
|
|
7938
7938
|
|
|
7939
|
+
/**
|
|
7940
|
+
* 查询云电脑基础元数据
|
|
7941
|
+
*
|
|
7942
|
+
* @param request - DescribeDesktopMetadataRequest
|
|
7943
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7944
|
+
* @returns DescribeDesktopMetadataResponse
|
|
7945
|
+
*/
|
|
7946
|
+
async describeDesktopMetadataWithOptions(request: $_model.DescribeDesktopMetadataRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDesktopMetadataResponse> {
|
|
7947
|
+
request.validate();
|
|
7948
|
+
let query = { };
|
|
7949
|
+
if (!$dara.isNull(request.creationTimeStart)) {
|
|
7950
|
+
query["CreationTimeStart"] = request.creationTimeStart;
|
|
7951
|
+
}
|
|
7952
|
+
|
|
7953
|
+
if (!$dara.isNull(request.desktopIds)) {
|
|
7954
|
+
query["DesktopIds"] = request.desktopIds;
|
|
7955
|
+
}
|
|
7956
|
+
|
|
7957
|
+
if (!$dara.isNull(request.groupId)) {
|
|
7958
|
+
query["GroupId"] = request.groupId;
|
|
7959
|
+
}
|
|
7960
|
+
|
|
7961
|
+
if (!$dara.isNull(request.hostName)) {
|
|
7962
|
+
query["HostName"] = request.hostName;
|
|
7963
|
+
}
|
|
7964
|
+
|
|
7965
|
+
if (!$dara.isNull(request.imageId)) {
|
|
7966
|
+
query["ImageId"] = request.imageId;
|
|
7967
|
+
}
|
|
7968
|
+
|
|
7969
|
+
if (!$dara.isNull(request.includeDesktopGroup)) {
|
|
7970
|
+
query["IncludeDesktopGroup"] = request.includeDesktopGroup;
|
|
7971
|
+
}
|
|
7972
|
+
|
|
7973
|
+
if (!$dara.isNull(request.keyword)) {
|
|
7974
|
+
query["Keyword"] = request.keyword;
|
|
7975
|
+
}
|
|
7976
|
+
|
|
7977
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
7978
|
+
query["MaxResults"] = request.maxResults;
|
|
7979
|
+
}
|
|
7980
|
+
|
|
7981
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
7982
|
+
query["NextToken"] = request.nextToken;
|
|
7983
|
+
}
|
|
7984
|
+
|
|
7985
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
7986
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
7987
|
+
}
|
|
7988
|
+
|
|
7989
|
+
if (!$dara.isNull(request.operationTimeStart)) {
|
|
7990
|
+
query["OperationTimeStart"] = request.operationTimeStart;
|
|
7991
|
+
}
|
|
7992
|
+
|
|
7993
|
+
if (!$dara.isNull(request.regionId)) {
|
|
7994
|
+
query["RegionId"] = request.regionId;
|
|
7995
|
+
}
|
|
7996
|
+
|
|
7997
|
+
if (!$dara.isNull(request.searchRegionId)) {
|
|
7998
|
+
query["SearchRegionId"] = request.searchRegionId;
|
|
7999
|
+
}
|
|
8000
|
+
|
|
8001
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8002
|
+
query: OpenApiUtil.query(query),
|
|
8003
|
+
});
|
|
8004
|
+
let params = new $OpenApiUtil.Params({
|
|
8005
|
+
action: "DescribeDesktopMetadata",
|
|
8006
|
+
version: "2020-09-30",
|
|
8007
|
+
protocol: "HTTPS",
|
|
8008
|
+
pathname: "/",
|
|
8009
|
+
method: "POST",
|
|
8010
|
+
authType: "AK",
|
|
8011
|
+
style: "RPC",
|
|
8012
|
+
reqBodyType: "formData",
|
|
8013
|
+
bodyType: "json",
|
|
8014
|
+
});
|
|
8015
|
+
return $dara.cast<$_model.DescribeDesktopMetadataResponse>(await this.callApi(params, req, runtime), new $_model.DescribeDesktopMetadataResponse({}));
|
|
8016
|
+
}
|
|
8017
|
+
|
|
8018
|
+
/**
|
|
8019
|
+
* 查询云电脑基础元数据
|
|
8020
|
+
*
|
|
8021
|
+
* @param request - DescribeDesktopMetadataRequest
|
|
8022
|
+
* @returns DescribeDesktopMetadataResponse
|
|
8023
|
+
*/
|
|
8024
|
+
async describeDesktopMetadata(request: $_model.DescribeDesktopMetadataRequest): Promise<$_model.DescribeDesktopMetadataResponse> {
|
|
8025
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
8026
|
+
return await this.describeDesktopMetadataWithOptions(request, runtime);
|
|
8027
|
+
}
|
|
8028
|
+
|
|
7939
8029
|
/**
|
|
7940
8030
|
* 查询超卖组
|
|
7941
8031
|
*
|
|
@@ -10584,6 +10674,92 @@ export default class Client extends OpenApi {
|
|
|
10584
10674
|
return await this.describePriceForRenewDesktopOversoldGroupWithOptions(request, runtime);
|
|
10585
10675
|
}
|
|
10586
10676
|
|
|
10677
|
+
/**
|
|
10678
|
+
* 查询录屏文件列表
|
|
10679
|
+
*
|
|
10680
|
+
* @param request - DescribeRecordFileRequest
|
|
10681
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10682
|
+
* @returns DescribeRecordFileResponse
|
|
10683
|
+
*/
|
|
10684
|
+
async describeRecordFileWithOptions(request: $_model.DescribeRecordFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRecordFileResponse> {
|
|
10685
|
+
request.validate();
|
|
10686
|
+
let query = { };
|
|
10687
|
+
if (!$dara.isNull(request.desktopId)) {
|
|
10688
|
+
query["DesktopId"] = request.desktopId;
|
|
10689
|
+
}
|
|
10690
|
+
|
|
10691
|
+
if (!$dara.isNull(request.endTime)) {
|
|
10692
|
+
query["EndTime"] = request.endTime;
|
|
10693
|
+
}
|
|
10694
|
+
|
|
10695
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
10696
|
+
query["EndUserId"] = request.endUserId;
|
|
10697
|
+
}
|
|
10698
|
+
|
|
10699
|
+
if (!$dara.isNull(request.fileName)) {
|
|
10700
|
+
query["FileName"] = request.fileName;
|
|
10701
|
+
}
|
|
10702
|
+
|
|
10703
|
+
if (!$dara.isNull(request.orderBy)) {
|
|
10704
|
+
query["OrderBy"] = request.orderBy;
|
|
10705
|
+
}
|
|
10706
|
+
|
|
10707
|
+
if (!$dara.isNull(request.orderSort)) {
|
|
10708
|
+
query["OrderSort"] = request.orderSort;
|
|
10709
|
+
}
|
|
10710
|
+
|
|
10711
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
10712
|
+
query["PageNumber"] = request.pageNumber;
|
|
10713
|
+
}
|
|
10714
|
+
|
|
10715
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
10716
|
+
query["PageSize"] = request.pageSize;
|
|
10717
|
+
}
|
|
10718
|
+
|
|
10719
|
+
if (!$dara.isNull(request.recordType)) {
|
|
10720
|
+
query["RecordType"] = request.recordType;
|
|
10721
|
+
}
|
|
10722
|
+
|
|
10723
|
+
if (!$dara.isNull(request.regionId)) {
|
|
10724
|
+
query["RegionId"] = request.regionId;
|
|
10725
|
+
}
|
|
10726
|
+
|
|
10727
|
+
if (!$dara.isNull(request.startTime)) {
|
|
10728
|
+
query["StartTime"] = request.startTime;
|
|
10729
|
+
}
|
|
10730
|
+
|
|
10731
|
+
if (!$dara.isNull(request.status)) {
|
|
10732
|
+
query["Status"] = request.status;
|
|
10733
|
+
}
|
|
10734
|
+
|
|
10735
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
10736
|
+
query: OpenApiUtil.query(query),
|
|
10737
|
+
});
|
|
10738
|
+
let params = new $OpenApiUtil.Params({
|
|
10739
|
+
action: "DescribeRecordFile",
|
|
10740
|
+
version: "2020-09-30",
|
|
10741
|
+
protocol: "HTTPS",
|
|
10742
|
+
pathname: "/",
|
|
10743
|
+
method: "POST",
|
|
10744
|
+
authType: "AK",
|
|
10745
|
+
style: "RPC",
|
|
10746
|
+
reqBodyType: "formData",
|
|
10747
|
+
bodyType: "json",
|
|
10748
|
+
});
|
|
10749
|
+
return $dara.cast<$_model.DescribeRecordFileResponse>(await this.callApi(params, req, runtime), new $_model.DescribeRecordFileResponse({}));
|
|
10750
|
+
}
|
|
10751
|
+
|
|
10752
|
+
/**
|
|
10753
|
+
* 查询录屏文件列表
|
|
10754
|
+
*
|
|
10755
|
+
* @param request - DescribeRecordFileRequest
|
|
10756
|
+
* @returns DescribeRecordFileResponse
|
|
10757
|
+
*/
|
|
10758
|
+
async describeRecordFile(request: $_model.DescribeRecordFileRequest): Promise<$_model.DescribeRecordFileResponse> {
|
|
10759
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
10760
|
+
return await this.describeRecordFileWithOptions(request, runtime);
|
|
10761
|
+
}
|
|
10762
|
+
|
|
10587
10763
|
/**
|
|
10588
10764
|
* Queries the details of screen recording files.
|
|
10589
10765
|
*
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDesktopMetadataRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 2025-01-01T12:00:00Z
|
|
9
|
+
*/
|
|
10
|
+
creationTimeStart?: string;
|
|
11
|
+
desktopIds?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* dg-i1ruuudp92qpj****
|
|
15
|
+
*/
|
|
16
|
+
groupId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* ASW-2F-SRV-YXYZ-4.SHPTG
|
|
20
|
+
*/
|
|
21
|
+
hostName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* m-gx2x1dhsmusr2****
|
|
25
|
+
*/
|
|
26
|
+
imageId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* false
|
|
30
|
+
*/
|
|
31
|
+
includeDesktopGroup?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* ecd
|
|
35
|
+
*/
|
|
36
|
+
keyword?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* 10
|
|
40
|
+
*/
|
|
41
|
+
maxResults?: number;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* caeba0bbb2be03f84eb48b699f0a4883
|
|
45
|
+
*/
|
|
46
|
+
nextToken?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* cn-hangzhou+dir-778418****
|
|
50
|
+
*/
|
|
51
|
+
officeSiteId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* 2025-01-01T12:00:00Z
|
|
55
|
+
*/
|
|
56
|
+
operationTimeStart?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* cn-shanghai
|
|
60
|
+
*/
|
|
61
|
+
regionId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* cn-hangzhou
|
|
65
|
+
*/
|
|
66
|
+
searchRegionId?: string;
|
|
67
|
+
static names(): { [key: string]: string } {
|
|
68
|
+
return {
|
|
69
|
+
creationTimeStart: 'CreationTimeStart',
|
|
70
|
+
desktopIds: 'DesktopIds',
|
|
71
|
+
groupId: 'GroupId',
|
|
72
|
+
hostName: 'HostName',
|
|
73
|
+
imageId: 'ImageId',
|
|
74
|
+
includeDesktopGroup: 'IncludeDesktopGroup',
|
|
75
|
+
keyword: 'Keyword',
|
|
76
|
+
maxResults: 'MaxResults',
|
|
77
|
+
nextToken: 'NextToken',
|
|
78
|
+
officeSiteId: 'OfficeSiteId',
|
|
79
|
+
operationTimeStart: 'OperationTimeStart',
|
|
80
|
+
regionId: 'RegionId',
|
|
81
|
+
searchRegionId: 'SearchRegionId',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
static types(): { [key: string]: any } {
|
|
86
|
+
return {
|
|
87
|
+
creationTimeStart: 'string',
|
|
88
|
+
desktopIds: { 'type': 'array', 'itemType': 'string' },
|
|
89
|
+
groupId: 'string',
|
|
90
|
+
hostName: 'string',
|
|
91
|
+
imageId: 'string',
|
|
92
|
+
includeDesktopGroup: 'boolean',
|
|
93
|
+
keyword: 'string',
|
|
94
|
+
maxResults: 'number',
|
|
95
|
+
nextToken: 'string',
|
|
96
|
+
officeSiteId: 'string',
|
|
97
|
+
operationTimeStart: 'string',
|
|
98
|
+
regionId: 'string',
|
|
99
|
+
searchRegionId: 'string',
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
validate() {
|
|
104
|
+
if(Array.isArray(this.desktopIds)) {
|
|
105
|
+
$dara.Model.validateArray(this.desktopIds);
|
|
106
|
+
}
|
|
107
|
+
super.validate();
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
constructor(map?: { [key: string]: any }) {
|
|
111
|
+
super(map);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeDesktopMetadataResponseBody } from "./DescribeDesktopMetadataResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeDesktopMetadataResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeDesktopMetadataResponseBody;
|
|
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: DescribeDesktopMetadataResponseBody,
|
|
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,164 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDesktopMetadataResponseBodyDesktops extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* PostPaid
|
|
9
|
+
*/
|
|
10
|
+
chargeType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 2020-11-06T08:28Z
|
|
14
|
+
*/
|
|
15
|
+
creationTime?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* dg-3uiojcc0j4kh7****
|
|
19
|
+
*/
|
|
20
|
+
desktopGroupId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* ecd-gx2x1dhsmucyy****
|
|
24
|
+
*/
|
|
25
|
+
desktopId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* testDesktopName
|
|
29
|
+
*/
|
|
30
|
+
desktopName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* Running
|
|
34
|
+
*/
|
|
35
|
+
desktopStatus?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 2021-12-31T15:59Z
|
|
39
|
+
*/
|
|
40
|
+
expiredTime?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* m-4zfb6zj728hhr****
|
|
44
|
+
*/
|
|
45
|
+
imageId?: string;
|
|
46
|
+
localName?: string;
|
|
47
|
+
managementFlags?: string[];
|
|
48
|
+
/**
|
|
49
|
+
* @example
|
|
50
|
+
* cn-hangzhou+dir-363353****
|
|
51
|
+
*/
|
|
52
|
+
officeSiteId?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* cn-hangzhou
|
|
56
|
+
*/
|
|
57
|
+
regionId?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* rg-f3s3dgt8dtb0vlqc8
|
|
61
|
+
*/
|
|
62
|
+
resourceGroupId?: string;
|
|
63
|
+
/**
|
|
64
|
+
* @example
|
|
65
|
+
* serverless_new
|
|
66
|
+
*/
|
|
67
|
+
resourceGroupName?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @example
|
|
70
|
+
* 2020-11-06T08:31Z
|
|
71
|
+
*/
|
|
72
|
+
startTime?: string;
|
|
73
|
+
static names(): { [key: string]: string } {
|
|
74
|
+
return {
|
|
75
|
+
chargeType: 'ChargeType',
|
|
76
|
+
creationTime: 'CreationTime',
|
|
77
|
+
desktopGroupId: 'DesktopGroupId',
|
|
78
|
+
desktopId: 'DesktopId',
|
|
79
|
+
desktopName: 'DesktopName',
|
|
80
|
+
desktopStatus: 'DesktopStatus',
|
|
81
|
+
expiredTime: 'ExpiredTime',
|
|
82
|
+
imageId: 'ImageId',
|
|
83
|
+
localName: 'LocalName',
|
|
84
|
+
managementFlags: 'ManagementFlags',
|
|
85
|
+
officeSiteId: 'OfficeSiteId',
|
|
86
|
+
regionId: 'RegionId',
|
|
87
|
+
resourceGroupId: 'ResourceGroupId',
|
|
88
|
+
resourceGroupName: 'ResourceGroupName',
|
|
89
|
+
startTime: 'StartTime',
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
static types(): { [key: string]: any } {
|
|
94
|
+
return {
|
|
95
|
+
chargeType: 'string',
|
|
96
|
+
creationTime: 'string',
|
|
97
|
+
desktopGroupId: 'string',
|
|
98
|
+
desktopId: 'string',
|
|
99
|
+
desktopName: 'string',
|
|
100
|
+
desktopStatus: 'string',
|
|
101
|
+
expiredTime: 'string',
|
|
102
|
+
imageId: 'string',
|
|
103
|
+
localName: 'string',
|
|
104
|
+
managementFlags: { 'type': 'array', 'itemType': 'string' },
|
|
105
|
+
officeSiteId: 'string',
|
|
106
|
+
regionId: 'string',
|
|
107
|
+
resourceGroupId: 'string',
|
|
108
|
+
resourceGroupName: 'string',
|
|
109
|
+
startTime: 'string',
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
validate() {
|
|
114
|
+
if(Array.isArray(this.managementFlags)) {
|
|
115
|
+
$dara.Model.validateArray(this.managementFlags);
|
|
116
|
+
}
|
|
117
|
+
super.validate();
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
constructor(map?: { [key: string]: any }) {
|
|
121
|
+
super(map);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export class DescribeDesktopMetadataResponseBody extends $dara.Model {
|
|
126
|
+
desktops?: DescribeDesktopMetadataResponseBodyDesktops[];
|
|
127
|
+
/**
|
|
128
|
+
* @example
|
|
129
|
+
* caeba0bbb2be03f84eb48b699f0a4883
|
|
130
|
+
*/
|
|
131
|
+
nextToken?: string;
|
|
132
|
+
/**
|
|
133
|
+
* @example
|
|
134
|
+
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
|
|
135
|
+
*/
|
|
136
|
+
requestId?: string;
|
|
137
|
+
static names(): { [key: string]: string } {
|
|
138
|
+
return {
|
|
139
|
+
desktops: 'Desktops',
|
|
140
|
+
nextToken: 'NextToken',
|
|
141
|
+
requestId: 'RequestId',
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
static types(): { [key: string]: any } {
|
|
146
|
+
return {
|
|
147
|
+
desktops: { 'type': 'array', 'itemType': DescribeDesktopMetadataResponseBodyDesktops },
|
|
148
|
+
nextToken: 'string',
|
|
149
|
+
requestId: 'string',
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
validate() {
|
|
154
|
+
if(Array.isArray(this.desktops)) {
|
|
155
|
+
$dara.Model.validateArray(this.desktops);
|
|
156
|
+
}
|
|
157
|
+
super.validate();
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
constructor(map?: { [key: string]: any }) {
|
|
161
|
+
super(map);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeRecordFileRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ecd-7w78ozhjcwa3u****
|
|
9
|
+
*/
|
|
10
|
+
desktopId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 20251218205715
|
|
14
|
+
*/
|
|
15
|
+
endTime?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* Alice
|
|
19
|
+
*/
|
|
20
|
+
endUserId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* Task7
|
|
24
|
+
*/
|
|
25
|
+
fileName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* startTime
|
|
29
|
+
*/
|
|
30
|
+
orderBy?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* asc
|
|
34
|
+
*/
|
|
35
|
+
orderSort?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 1
|
|
39
|
+
*/
|
|
40
|
+
pageNumber?: number;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 20
|
|
44
|
+
*/
|
|
45
|
+
pageSize?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* alltime
|
|
49
|
+
*/
|
|
50
|
+
recordType?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* This parameter is required.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* cn-shanghai
|
|
57
|
+
*/
|
|
58
|
+
regionId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* 20251218175715
|
|
62
|
+
*/
|
|
63
|
+
startTime?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* 1
|
|
67
|
+
*/
|
|
68
|
+
status?: number;
|
|
69
|
+
static names(): { [key: string]: string } {
|
|
70
|
+
return {
|
|
71
|
+
desktopId: 'DesktopId',
|
|
72
|
+
endTime: 'EndTime',
|
|
73
|
+
endUserId: 'EndUserId',
|
|
74
|
+
fileName: 'FileName',
|
|
75
|
+
orderBy: 'OrderBy',
|
|
76
|
+
orderSort: 'OrderSort',
|
|
77
|
+
pageNumber: 'PageNumber',
|
|
78
|
+
pageSize: 'PageSize',
|
|
79
|
+
recordType: 'RecordType',
|
|
80
|
+
regionId: 'RegionId',
|
|
81
|
+
startTime: 'StartTime',
|
|
82
|
+
status: 'Status',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
static types(): { [key: string]: any } {
|
|
87
|
+
return {
|
|
88
|
+
desktopId: 'string',
|
|
89
|
+
endTime: 'string',
|
|
90
|
+
endUserId: 'string',
|
|
91
|
+
fileName: 'string',
|
|
92
|
+
orderBy: 'string',
|
|
93
|
+
orderSort: 'string',
|
|
94
|
+
pageNumber: 'number',
|
|
95
|
+
pageSize: 'number',
|
|
96
|
+
recordType: 'string',
|
|
97
|
+
regionId: 'string',
|
|
98
|
+
startTime: 'string',
|
|
99
|
+
status: 'number',
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
validate() {
|
|
104
|
+
super.validate();
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
constructor(map?: { [key: string]: any }) {
|
|
108
|
+
super(map);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeRecordFileResponseBody } from "./DescribeRecordFileResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeRecordFileResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeRecordFileResponseBody;
|
|
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: DescribeRecordFileResponseBody,
|
|
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
|
+
|