@alicloud/ecd20200930 4.18.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.
@@ -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
+
@@ -86,6 +86,7 @@ export { DescribeDesktopGroupsResponseBodyDesktopGroupsCountPerStatus } from './
86
86
  export { DescribeDesktopGroupsResponseBodyDesktopGroupsTags } from './DescribeDesktopGroupsResponseBody';
87
87
  export { DescribeDesktopGroupsResponseBodyDesktopGroups } from './DescribeDesktopGroupsResponseBody';
88
88
  export { DescribeDesktopInfoResponseBodyDesktops } from './DescribeDesktopInfoResponseBody';
89
+ export { DescribeDesktopMetadataResponseBodyDesktops } from './DescribeDesktopMetadataResponseBody';
89
90
  export { DescribeDesktopOversoldGroupResponseBodyData } from './DescribeDesktopOversoldGroupResponseBody';
90
91
  export { DescribeDesktopOversoldUserResponseBodyData } from './DescribeDesktopOversoldUserResponseBody';
91
92
  export { DescribeDesktopOversoldUserGroupResponseBodyData } from './DescribeDesktopOversoldUserGroupResponseBody';
@@ -596,6 +597,9 @@ export { DescribeDesktopGroupsResponse } from './DescribeDesktopGroupsResponse';
596
597
  export { DescribeDesktopInfoRequest } from './DescribeDesktopInfoRequest';
597
598
  export { DescribeDesktopInfoResponseBody } from './DescribeDesktopInfoResponseBody';
598
599
  export { DescribeDesktopInfoResponse } from './DescribeDesktopInfoResponse';
600
+ export { DescribeDesktopMetadataRequest } from './DescribeDesktopMetadataRequest';
601
+ export { DescribeDesktopMetadataResponseBody } from './DescribeDesktopMetadataResponseBody';
602
+ export { DescribeDesktopMetadataResponse } from './DescribeDesktopMetadataResponse';
599
603
  export { DescribeDesktopOversoldGroupRequest } from './DescribeDesktopOversoldGroupRequest';
600
604
  export { DescribeDesktopOversoldGroupResponseBody } from './DescribeDesktopOversoldGroupResponseBody';
601
605
  export { DescribeDesktopOversoldGroupResponse } from './DescribeDesktopOversoldGroupResponse';