@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.
Files changed (232) hide show
  1. package/dist/client.d.ts +334 -64
  2. package/dist/client.js +718 -64
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ConfigAdconnectorTrustRequest.d.ts +1 -1
  5. package/dist/models/CreateDesktopsRequest.d.ts +56 -45
  6. package/dist/models/CreateDesktopsRequest.js +2 -0
  7. package/dist/models/CreateDesktopsRequest.js.map +1 -1
  8. package/dist/models/CreateDesktopsShrinkRequest.d.ts +41 -33
  9. package/dist/models/CreateDesktopsShrinkRequest.js +2 -0
  10. package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
  11. package/dist/models/CreateDriveResponseBody.d.ts +1 -1
  12. package/dist/models/CreateNasfileSystemRequest.d.ts +18 -2
  13. package/dist/models/CreateNasfileSystemRequest.js +4 -0
  14. package/dist/models/CreateNasfileSystemRequest.js.map +1 -1
  15. package/dist/models/CreateNasfileSystemResponseBody.d.ts +8 -0
  16. package/dist/models/CreateNasfileSystemResponseBody.js +2 -0
  17. package/dist/models/CreateNasfileSystemResponseBody.js.map +1 -1
  18. package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +7 -8
  19. package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -1
  20. package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +1 -1
  21. package/dist/models/CreateTemplateRequest.d.ts +34 -18
  22. package/dist/models/CreateTemplateRequest.js +4 -0
  23. package/dist/models/CreateTemplateRequest.js.map +1 -1
  24. package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
  25. package/dist/models/DeleteDesktopsRequest.d.ts +1 -1
  26. package/dist/models/DeleteTemplatesResponseBody.d.ts +3 -6
  27. package/dist/models/DeleteTemplatesResponseBody.js.map +1 -1
  28. package/dist/models/DescribeCloudDiskGroupDrivesRequest.d.ts +3 -3
  29. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.d.ts +11 -3
  30. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js +2 -0
  31. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js.map +1 -1
  32. package/dist/models/DescribeDesktopsRequest.d.ts +26 -8
  33. package/dist/models/DescribeDesktopsRequest.js +2 -0
  34. package/dist/models/DescribeDesktopsRequest.js.map +1 -1
  35. package/dist/models/DescribeDesktopsResponseBody.d.ts +22 -7
  36. package/dist/models/DescribeDesktopsResponseBody.js +6 -0
  37. package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
  38. package/dist/models/DescribeFlowMetricRequest.d.ts +5 -5
  39. package/dist/models/DescribeGlobalDesktopRecordsRequest.d.ts +7 -7
  40. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.d.ts +12 -5
  41. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js +2 -0
  42. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js.map +1 -1
  43. package/dist/models/DescribeInvocationsRequest.d.ts +6 -6
  44. package/dist/models/DescribeInvocationsResponseBody.d.ts +26 -26
  45. package/dist/models/DescribeNasfileSystemsRequest.d.ts +2 -2
  46. package/dist/models/DescribeNasfileSystemsResponseBody.d.ts +23 -4
  47. package/dist/models/DescribeNasfileSystemsResponseBody.js +2 -0
  48. package/dist/models/DescribeNasfileSystemsResponseBody.js.map +1 -1
  49. package/dist/models/DescribeOfficeSitesRequest.d.ts +6 -6
  50. package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -23
  51. package/dist/models/DescribePeripheralDriversRequest.d.ts +86 -0
  52. package/dist/models/DescribePeripheralDriversRequest.js +77 -0
  53. package/dist/models/DescribePeripheralDriversRequest.js.map +1 -0
  54. package/dist/models/DescribePeripheralDriversResponse.d.ts +19 -0
  55. package/dist/models/DescribePeripheralDriversResponse.js +69 -0
  56. package/dist/models/DescribePeripheralDriversResponse.js.map +1 -0
  57. package/dist/models/DescribePeripheralDriversResponseBody.d.ts +141 -0
  58. package/dist/models/DescribePeripheralDriversResponseBody.js +104 -0
  59. package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -0
  60. package/dist/models/DescribeRecordFileRequest.d.ts +18 -5
  61. package/dist/models/DescribeRecordFileRequest.js +2 -0
  62. package/dist/models/DescribeRecordFileRequest.js.map +1 -1
  63. package/dist/models/DescribeRecordFileResponseBody.d.ts +14 -9
  64. package/dist/models/DescribeRecordFileResponseBody.js +5 -0
  65. package/dist/models/DescribeRecordFileResponseBody.js.map +1 -1
  66. package/dist/models/DescribeRenewalPriceRequest.d.ts +4 -4
  67. package/dist/models/DescribeRenewalPriceResponseBody.d.ts +3 -3
  68. package/dist/models/DescribeSnapshotsRequest.d.ts +4 -4
  69. package/dist/models/DescribeSnapshotsResponseBody.d.ts +2 -2
  70. package/dist/models/DescribeTemplatesRequest.d.ts +5 -8
  71. package/dist/models/DescribeTemplatesRequest.js.map +1 -1
  72. package/dist/models/DescribeTemplatesResponseBody.d.ts +39 -12
  73. package/dist/models/DescribeTemplatesResponseBody.js +4 -0
  74. package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
  75. package/dist/models/DescribeVulDesktopsRequest.d.ts +156 -0
  76. package/dist/models/DescribeVulDesktopsRequest.js +96 -0
  77. package/dist/models/DescribeVulDesktopsRequest.js.map +1 -0
  78. package/dist/models/DescribeVulDesktopsResponse.d.ts +19 -0
  79. package/dist/models/DescribeVulDesktopsResponse.js +69 -0
  80. package/dist/models/DescribeVulDesktopsResponse.js.map +1 -0
  81. package/dist/models/DescribeVulDesktopsResponseBody.d.ts +289 -0
  82. package/dist/models/DescribeVulDesktopsResponseBody.js +181 -0
  83. package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -0
  84. package/dist/models/DescribeVulnerabilityRequest.d.ts +78 -0
  85. package/dist/models/DescribeVulnerabilityRequest.js +72 -0
  86. package/dist/models/DescribeVulnerabilityRequest.js.map +1 -0
  87. package/dist/models/DescribeVulnerabilityResponse.d.ts +19 -0
  88. package/dist/models/DescribeVulnerabilityResponse.js +69 -0
  89. package/dist/models/DescribeVulnerabilityResponse.js.map +1 -0
  90. package/dist/models/DescribeVulnerabilityResponseBody.d.ts +267 -0
  91. package/dist/models/DescribeVulnerabilityResponseBody.js +172 -0
  92. package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -0
  93. package/dist/models/DownloadCdsFileResponseBody.d.ts +1 -1
  94. package/dist/models/GetAggregatedDesktopsRequest.d.ts +37 -0
  95. package/dist/models/GetAggregatedDesktopsRequest.js +62 -0
  96. package/dist/models/GetAggregatedDesktopsRequest.js.map +1 -0
  97. package/dist/models/GetAggregatedDesktopsResponse.d.ts +19 -0
  98. package/dist/models/GetAggregatedDesktopsResponse.js +69 -0
  99. package/dist/models/GetAggregatedDesktopsResponse.js.map +1 -0
  100. package/dist/models/GetAggregatedDesktopsResponseBody.d.ts +46 -0
  101. package/dist/models/GetAggregatedDesktopsResponseBody.js +85 -0
  102. package/dist/models/GetAggregatedDesktopsResponseBody.js.map +1 -0
  103. package/dist/models/GetConnectionTicketRequest.d.ts +12 -4
  104. package/dist/models/GetConnectionTicketRequest.js +2 -0
  105. package/dist/models/GetConnectionTicketRequest.js.map +1 -1
  106. package/dist/models/GetConnectionTicketResponseBody.d.ts +3 -3
  107. package/dist/models/ListDirectoryUsersRequest.d.ts +3 -3
  108. package/dist/models/ListDirectoryUsersResponseBody.d.ts +3 -3
  109. package/dist/models/MigrateDesktopsRequest.d.ts +3 -3
  110. package/dist/models/ModifyTemplateBaseInfoRequest.d.ts +9 -1
  111. package/dist/models/ModifyTemplateBaseInfoRequest.js +2 -0
  112. package/dist/models/ModifyTemplateBaseInfoRequest.js.map +1 -1
  113. package/dist/models/ModifyTemplateRequest.d.ts +26 -10
  114. package/dist/models/ModifyTemplateRequest.js +4 -0
  115. package/dist/models/ModifyTemplateRequest.js.map +1 -1
  116. package/dist/models/ModifyUserEntitlementRequest.d.ts +4 -4
  117. package/dist/models/QueryActiveUserStatisticRequest.d.ts +72 -0
  118. package/dist/models/QueryActiveUserStatisticRequest.js +66 -0
  119. package/dist/models/QueryActiveUserStatisticRequest.js.map +1 -0
  120. package/dist/models/QueryActiveUserStatisticResponse.d.ts +19 -0
  121. package/dist/models/QueryActiveUserStatisticResponse.js +69 -0
  122. package/dist/models/QueryActiveUserStatisticResponse.js.map +1 -0
  123. package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +70 -0
  124. package/dist/models/QueryActiveUserStatisticResponseBody.js +88 -0
  125. package/dist/models/QueryActiveUserStatisticResponseBody.js.map +1 -0
  126. package/dist/models/QueryAuthUserConnectDurationListRequest.d.ts +93 -0
  127. package/dist/models/QueryAuthUserConnectDurationListRequest.js +76 -0
  128. package/dist/models/QueryAuthUserConnectDurationListRequest.js.map +1 -0
  129. package/dist/models/QueryAuthUserConnectDurationListResponse.d.ts +19 -0
  130. package/dist/models/QueryAuthUserConnectDurationListResponse.js +69 -0
  131. package/dist/models/QueryAuthUserConnectDurationListResponse.js.map +1 -0
  132. package/dist/models/QueryAuthUserConnectDurationListResponseBody.d.ts +171 -0
  133. package/dist/models/QueryAuthUserConnectDurationListResponseBody.js +112 -0
  134. package/dist/models/QueryAuthUserConnectDurationListResponseBody.js.map +1 -0
  135. package/dist/models/QueryEndUserHistoryUsageRequest.d.ts +50 -0
  136. package/dist/models/QueryEndUserHistoryUsageRequest.js +66 -0
  137. package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -0
  138. package/dist/models/QueryEndUserHistoryUsageResponse.d.ts +19 -0
  139. package/dist/models/QueryEndUserHistoryUsageResponse.js +69 -0
  140. package/dist/models/QueryEndUserHistoryUsageResponse.js.map +1 -0
  141. package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +165 -0
  142. package/dist/models/QueryEndUserHistoryUsageResponseBody.js +151 -0
  143. package/dist/models/QueryEndUserHistoryUsageResponseBody.js.map +1 -0
  144. package/dist/models/QueryHistoryActiveUserStatisticRequest.d.ts +61 -0
  145. package/dist/models/QueryHistoryActiveUserStatisticRequest.js +68 -0
  146. package/dist/models/QueryHistoryActiveUserStatisticRequest.js.map +1 -0
  147. package/dist/models/QueryHistoryActiveUserStatisticResponse.d.ts +19 -0
  148. package/dist/models/QueryHistoryActiveUserStatisticResponse.js +69 -0
  149. package/dist/models/QueryHistoryActiveUserStatisticResponse.js.map +1 -0
  150. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.d.ts +70 -0
  151. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js +88 -0
  152. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js.map +1 -0
  153. package/dist/models/RebootDesktopsRequest.d.ts +9 -2
  154. package/dist/models/RebootDesktopsRequest.js.map +1 -1
  155. package/dist/models/RunCommandRequest.d.ts +8 -5
  156. package/dist/models/RunCommandRequest.js.map +1 -1
  157. package/dist/models/StartDesktopsRequest.d.ts +2 -2
  158. package/dist/models/model.d.ts +38 -0
  159. package/dist/models/model.js +98 -21
  160. package/dist/models/model.js.map +1 -1
  161. package/package.json +1 -1
  162. package/src/client.ts +806 -64
  163. package/src/models/ConfigAdconnectorTrustRequest.ts +1 -1
  164. package/src/models/CreateDesktopsRequest.ts +58 -45
  165. package/src/models/CreateDesktopsShrinkRequest.ts +43 -33
  166. package/src/models/CreateDriveResponseBody.ts +1 -1
  167. package/src/models/CreateNasfileSystemRequest.ts +22 -2
  168. package/src/models/CreateNasfileSystemResponseBody.ts +10 -0
  169. package/src/models/CreateOfficeSiteAcceleratorRequest.ts +7 -8
  170. package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +1 -1
  171. package/src/models/CreateTemplateRequest.ts +38 -18
  172. package/src/models/CreateTemplateResponseBody.ts +1 -1
  173. package/src/models/DeleteDesktopsRequest.ts +1 -1
  174. package/src/models/DeleteTemplatesResponseBody.ts +3 -6
  175. package/src/models/DescribeCloudDiskGroupDrivesRequest.ts +3 -3
  176. package/src/models/DescribeCloudDiskGroupDrivesResponseBody.ts +13 -3
  177. package/src/models/DescribeDesktopsRequest.ts +28 -8
  178. package/src/models/DescribeDesktopsResponseBody.ts +28 -7
  179. package/src/models/DescribeFlowMetricRequest.ts +5 -5
  180. package/src/models/DescribeGlobalDesktopRecordsRequest.ts +7 -7
  181. package/src/models/DescribeGlobalDesktopRecordsResponseBody.ts +14 -5
  182. package/src/models/DescribeInvocationsRequest.ts +6 -6
  183. package/src/models/DescribeInvocationsResponseBody.ts +26 -26
  184. package/src/models/DescribeNasfileSystemsRequest.ts +2 -2
  185. package/src/models/DescribeNasfileSystemsResponseBody.ts +25 -4
  186. package/src/models/DescribeOfficeSitesRequest.ts +6 -6
  187. package/src/models/DescribeOfficeSitesResponseBody.ts +23 -23
  188. package/src/models/DescribePeripheralDriversRequest.ts +118 -0
  189. package/src/models/DescribePeripheralDriversResponse.ts +40 -0
  190. package/src/models/DescribePeripheralDriversResponseBody.ts +191 -0
  191. package/src/models/DescribeRecordFileRequest.ts +20 -5
  192. package/src/models/DescribeRecordFileResponseBody.ts +19 -9
  193. package/src/models/DescribeRenewalPriceRequest.ts +4 -4
  194. package/src/models/DescribeRenewalPriceResponseBody.ts +3 -3
  195. package/src/models/DescribeSnapshotsRequest.ts +4 -4
  196. package/src/models/DescribeSnapshotsResponseBody.ts +2 -2
  197. package/src/models/DescribeTemplatesRequest.ts +5 -8
  198. package/src/models/DescribeTemplatesResponseBody.ts +43 -12
  199. package/src/models/DescribeVulDesktopsRequest.ts +207 -0
  200. package/src/models/DescribeVulDesktopsResponse.ts +40 -0
  201. package/src/models/DescribeVulDesktopsResponseBody.ts +398 -0
  202. package/src/models/DescribeVulnerabilityRequest.ts +105 -0
  203. package/src/models/DescribeVulnerabilityResponse.ts +40 -0
  204. package/src/models/DescribeVulnerabilityResponseBody.ts +367 -0
  205. package/src/models/DownloadCdsFileResponseBody.ts +1 -1
  206. package/src/models/GetAggregatedDesktopsRequest.ts +54 -0
  207. package/src/models/GetAggregatedDesktopsResponse.ts +40 -0
  208. package/src/models/GetAggregatedDesktopsResponseBody.ts +75 -0
  209. package/src/models/GetConnectionTicketRequest.ts +14 -4
  210. package/src/models/GetConnectionTicketResponseBody.ts +3 -3
  211. package/src/models/ListDirectoryUsersRequest.ts +3 -3
  212. package/src/models/ListDirectoryUsersResponseBody.ts +3 -3
  213. package/src/models/MigrateDesktopsRequest.ts +3 -3
  214. package/src/models/ModifyTemplateBaseInfoRequest.ts +11 -1
  215. package/src/models/ModifyTemplateRequest.ts +30 -10
  216. package/src/models/ModifyUserEntitlementRequest.ts +4 -4
  217. package/src/models/QueryActiveUserStatisticRequest.ts +93 -0
  218. package/src/models/QueryActiveUserStatisticResponse.ts +40 -0
  219. package/src/models/QueryActiveUserStatisticResponseBody.ts +104 -0
  220. package/src/models/QueryAuthUserConnectDurationListRequest.ts +124 -0
  221. package/src/models/QueryAuthUserConnectDurationListResponse.ts +40 -0
  222. package/src/models/QueryAuthUserConnectDurationListResponseBody.ts +229 -0
  223. package/src/models/QueryEndUserHistoryUsageRequest.ts +71 -0
  224. package/src/models/QueryEndUserHistoryUsageResponse.ts +40 -0
  225. package/src/models/QueryEndUserHistoryUsageResponseBody.ts +244 -0
  226. package/src/models/QueryHistoryActiveUserStatisticRequest.ts +84 -0
  227. package/src/models/QueryHistoryActiveUserStatisticResponse.ts +40 -0
  228. package/src/models/QueryHistoryActiveUserStatisticResponseBody.ts +104 -0
  229. package/src/models/RebootDesktopsRequest.ts +9 -2
  230. package/src/models/RunCommandRequest.ts +8 -5
  231. package/src/models/StartDesktopsRequest.ts +2 -2
  232. package/src/models/model.ts +38 -0
@@ -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
+
@@ -0,0 +1,71 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryEndUserHistoryUsageRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The end date of the query. Format: yyyy-MM-dd. The date cannot be later than yesterday or earlier than StartDate. Default value: yesterday.
9
+ *
10
+ * @example
11
+ * 2024-01-15
12
+ */
13
+ endDate?: string;
14
+ /**
15
+ * @remarks
16
+ * Specifies whether to query Active Directory (AD) domain users. If this parameter is set to true, AD domain users are queried. If this parameter is set to false or not specified, convenience account users are queried.
17
+ */
18
+ isAdUser?: boolean;
19
+ /**
20
+ * @remarks
21
+ * The page number. Minimum value: 1. Default value: 1.
22
+ *
23
+ * @example
24
+ * 1
25
+ */
26
+ pageNum?: number;
27
+ /**
28
+ * @remarks
29
+ * The number of entries per page. Valid values: 1 to 100. Default value: 100.
30
+ *
31
+ * @example
32
+ * 10
33
+ */
34
+ pageSize?: number;
35
+ /**
36
+ * @remarks
37
+ * The start date of the query. Format: yyyy-MM-dd. The date cannot be earlier than 32 days ago. Default value: yesterday.
38
+ *
39
+ * @example
40
+ * 2024-01-01
41
+ */
42
+ startDate?: string;
43
+ static names(): { [key: string]: string } {
44
+ return {
45
+ endDate: 'EndDate',
46
+ isAdUser: 'IsAdUser',
47
+ pageNum: 'PageNum',
48
+ pageSize: 'PageSize',
49
+ startDate: 'StartDate',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ endDate: 'string',
56
+ isAdUser: 'boolean',
57
+ pageNum: 'number',
58
+ pageSize: 'number',
59
+ startDate: 'string',
60
+ };
61
+ }
62
+
63
+ validate() {
64
+ super.validate();
65
+ }
66
+
67
+ constructor(map?: { [key: string]: any }) {
68
+ super(map);
69
+ }
70
+ }
71
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { QueryEndUserHistoryUsageResponseBody } from "./QueryEndUserHistoryUsageResponseBody";
4
+
5
+
6
+ export class QueryEndUserHistoryUsageResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: QueryEndUserHistoryUsageResponseBody;
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: QueryEndUserHistoryUsageResponseBody,
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,244 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoListDesktopUsageList extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The desktop ID.
9
+ *
10
+ * @example
11
+ * ecd-abc123
12
+ */
13
+ desktopId?: string;
14
+ /**
15
+ * @remarks
16
+ * The desktop name.
17
+ *
18
+ * @example
19
+ * DemoDesktop
20
+ */
21
+ desktopName?: string;
22
+ /**
23
+ * @remarks
24
+ * The usage duration of the user on the desktop, in seconds.
25
+ *
26
+ * @example
27
+ * 1800
28
+ */
29
+ duration?: number;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ desktopId: 'DesktopId',
33
+ desktopName: 'DesktopName',
34
+ duration: 'Duration',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ desktopId: 'string',
41
+ desktopName: 'string',
42
+ duration: '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 QueryEndUserHistoryUsageResponseBodyUserUsageInfoListUserGroupList extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The user group ID.
59
+ *
60
+ * @example
61
+ * ug-12345678
62
+ */
63
+ userGroupId?: string;
64
+ /**
65
+ * @remarks
66
+ * The user group name.
67
+ *
68
+ * @example
69
+ * Default user group
70
+ */
71
+ userGroupName?: string;
72
+ static names(): { [key: string]: string } {
73
+ return {
74
+ userGroupId: 'UserGroupId',
75
+ userGroupName: 'UserGroupName',
76
+ };
77
+ }
78
+
79
+ static types(): { [key: string]: any } {
80
+ return {
81
+ userGroupId: 'string',
82
+ userGroupName: 'string',
83
+ };
84
+ }
85
+
86
+ validate() {
87
+ super.validate();
88
+ }
89
+
90
+ constructor(map?: { [key: string]: any }) {
91
+ super(map);
92
+ }
93
+ }
94
+
95
+ export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoList extends $dara.Model {
96
+ /**
97
+ * @remarks
98
+ * The remarks of the user. This parameter has a value only for convenience account users.
99
+ *
100
+ * @example
101
+ * Test user
102
+ */
103
+ description?: string;
104
+ /**
105
+ * @remarks
106
+ * The list of usage duration details for each desktop.
107
+ */
108
+ desktopUsageList?: QueryEndUserHistoryUsageResponseBodyUserUsageInfoListDesktopUsageList[];
109
+ /**
110
+ * @remarks
111
+ * The display name of the user. For convenience account users, this is the actual nickname. For AD users, this is the display name.
112
+ *
113
+ * @example
114
+ * John Smith
115
+ */
116
+ displayName?: string;
117
+ /**
118
+ * @remarks
119
+ * The total usage duration, in seconds.
120
+ *
121
+ * @example
122
+ * 3600
123
+ */
124
+ duration?: number;
125
+ /**
126
+ * @remarks
127
+ * The end user ID.
128
+ *
129
+ * @example
130
+ * user01
131
+ */
132
+ endUserId?: string;
133
+ /**
134
+ * @remarks
135
+ * The username. For convenience account users, this is the nickname. For AD users, this is the UserPrincipalName.
136
+ *
137
+ * @example
138
+ * zhangsan
139
+ */
140
+ endUserName?: string;
141
+ /**
142
+ * @remarks
143
+ * The list of organization paths. For convenience account users, this contains multiple organization paths. For AD users, this is the organizational unit (OU) path.
144
+ */
145
+ orgPathList?: string[];
146
+ /**
147
+ * @remarks
148
+ * The list of user groups. This parameter has a value only for convenience account users.
149
+ */
150
+ userGroupList?: QueryEndUserHistoryUsageResponseBodyUserUsageInfoListUserGroupList[];
151
+ static names(): { [key: string]: string } {
152
+ return {
153
+ description: 'Description',
154
+ desktopUsageList: 'DesktopUsageList',
155
+ displayName: 'DisplayName',
156
+ duration: 'Duration',
157
+ endUserId: 'EndUserId',
158
+ endUserName: 'EndUserName',
159
+ orgPathList: 'OrgPathList',
160
+ userGroupList: 'UserGroupList',
161
+ };
162
+ }
163
+
164
+ static types(): { [key: string]: any } {
165
+ return {
166
+ description: 'string',
167
+ desktopUsageList: { 'type': 'array', 'itemType': QueryEndUserHistoryUsageResponseBodyUserUsageInfoListDesktopUsageList },
168
+ displayName: 'string',
169
+ duration: 'number',
170
+ endUserId: 'string',
171
+ endUserName: 'string',
172
+ orgPathList: { 'type': 'array', 'itemType': 'string' },
173
+ userGroupList: { 'type': 'array', 'itemType': QueryEndUserHistoryUsageResponseBodyUserUsageInfoListUserGroupList },
174
+ };
175
+ }
176
+
177
+ validate() {
178
+ if(Array.isArray(this.desktopUsageList)) {
179
+ $dara.Model.validateArray(this.desktopUsageList);
180
+ }
181
+ if(Array.isArray(this.orgPathList)) {
182
+ $dara.Model.validateArray(this.orgPathList);
183
+ }
184
+ if(Array.isArray(this.userGroupList)) {
185
+ $dara.Model.validateArray(this.userGroupList);
186
+ }
187
+ super.validate();
188
+ }
189
+
190
+ constructor(map?: { [key: string]: any }) {
191
+ super(map);
192
+ }
193
+ }
194
+
195
+ export class QueryEndUserHistoryUsageResponseBody extends $dara.Model {
196
+ /**
197
+ * @remarks
198
+ * The request ID.
199
+ *
200
+ * @example
201
+ * 269BDB16-2CD8-4865-84BD-11C40BC21DB0
202
+ */
203
+ requestId?: string;
204
+ /**
205
+ * @remarks
206
+ * The total number of users that meet the query conditions.
207
+ *
208
+ * @example
209
+ * 50
210
+ */
211
+ totalCount?: number;
212
+ /**
213
+ * @remarks
214
+ * The list of user usage duration entries on the current page.
215
+ */
216
+ userUsageInfoList?: QueryEndUserHistoryUsageResponseBodyUserUsageInfoList[];
217
+ static names(): { [key: string]: string } {
218
+ return {
219
+ requestId: 'RequestId',
220
+ totalCount: 'TotalCount',
221
+ userUsageInfoList: 'UserUsageInfoList',
222
+ };
223
+ }
224
+
225
+ static types(): { [key: string]: any } {
226
+ return {
227
+ requestId: 'string',
228
+ totalCount: 'number',
229
+ userUsageInfoList: { 'type': 'array', 'itemType': QueryEndUserHistoryUsageResponseBodyUserUsageInfoList },
230
+ };
231
+ }
232
+
233
+ validate() {
234
+ if(Array.isArray(this.userUsageInfoList)) {
235
+ $dara.Model.validateArray(this.userUsageInfoList);
236
+ }
237
+ super.validate();
238
+ }
239
+
240
+ constructor(map?: { [key: string]: any }) {
241
+ super(map);
242
+ }
243
+ }
244
+
@@ -0,0 +1,84 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryHistoryActiveUserStatisticRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The business channel type code.
9
+ *
10
+ * @example
11
+ * 1
12
+ */
13
+ bizType?: number;
14
+ /**
15
+ * @remarks
16
+ * The end date of the query. The date is in the yyyy-MM-dd format. The maximum value is yesterday (N-1 data).
17
+ *
18
+ * @example
19
+ * 2024-12-31
20
+ */
21
+ endDate?: string;
22
+ /**
23
+ * @remarks
24
+ * The workspace ID. If specified, only active users within the specified workspace are counted.
25
+ *
26
+ * @example
27
+ * cn-hangzhou+dir-467671****
28
+ */
29
+ officeSiteId?: string;
30
+ /**
31
+ * @remarks
32
+ * The statistical period.
33
+ *
34
+ * @example
35
+ * day
36
+ */
37
+ period?: string;
38
+ /**
39
+ * @remarks
40
+ * The start date of the query. The date is in the yyyy-MM-dd format. The value cannot be earlier than 6 months ago or later than EndDate.
41
+ *
42
+ * @example
43
+ * 2024-12-01
44
+ */
45
+ startDate?: string;
46
+ /**
47
+ * @remarks
48
+ * The user group ID. If specified, only active users within the specified user group are counted.
49
+ *
50
+ * @example
51
+ * ug-12345678
52
+ */
53
+ userGroupId?: string;
54
+ static names(): { [key: string]: string } {
55
+ return {
56
+ bizType: 'BizType',
57
+ endDate: 'EndDate',
58
+ officeSiteId: 'OfficeSiteId',
59
+ period: 'Period',
60
+ startDate: 'StartDate',
61
+ userGroupId: 'UserGroupId',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ bizType: 'number',
68
+ endDate: 'string',
69
+ officeSiteId: 'string',
70
+ period: 'string',
71
+ startDate: 'string',
72
+ userGroupId: 'string',
73
+ };
74
+ }
75
+
76
+ validate() {
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { QueryHistoryActiveUserStatisticResponseBody } from "./QueryHistoryActiveUserStatisticResponseBody";
4
+
5
+
6
+ export class QueryHistoryActiveUserStatisticResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: QueryHistoryActiveUserStatisticResponseBody;
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: QueryHistoryActiveUserStatisticResponseBody,
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
+