@alicloud/ecd20200930 5.4.0 → 5.5.1

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 (181) hide show
  1. package/dist/client.d.ts +170 -110
  2. package/dist/client.js +254 -110
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchModifyEntitlementRequest.d.ts +9 -10
  5. package/dist/models/BatchModifyEntitlementRequest.js.map +1 -1
  6. package/dist/models/BatchModifyEntitlementResponseBody.d.ts +5 -5
  7. package/dist/models/CancelAutoSnapshotPolicyRequest.d.ts +2 -2
  8. package/dist/models/CancelAutoSnapshotPolicyResponseBody.d.ts +1 -1
  9. package/dist/models/CopyImageRequest.d.ts +3 -3
  10. package/dist/models/CopyImageResponseBody.d.ts +1 -1
  11. package/dist/models/CreateCenterPolicyRequest.d.ts +1 -0
  12. package/dist/models/CreateCenterPolicyRequest.js +2 -0
  13. package/dist/models/CreateCenterPolicyRequest.js.map +1 -1
  14. package/dist/models/CreateCloudDriveGroupRequest.d.ts +5 -5
  15. package/dist/models/CreateCloudDriveGroupResponseBody.d.ts +4 -4
  16. package/dist/models/CreateDesktopsRequest.d.ts +92 -84
  17. package/dist/models/CreateDesktopsRequest.js +2 -0
  18. package/dist/models/CreateDesktopsRequest.js.map +1 -1
  19. package/dist/models/CreateDesktopsResponseBody.d.ts +1 -1
  20. package/dist/models/CreateDesktopsShrinkRequest.d.ts +77 -69
  21. package/dist/models/CreateDesktopsShrinkRequest.js +2 -0
  22. package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
  23. package/dist/models/CreateVirtualBridgeRequest.d.ts +10 -10
  24. package/dist/models/DeleteAutoSnapshotPolicyRequest.d.ts +2 -2
  25. package/dist/models/DeleteAutoSnapshotPolicyResponseBody.d.ts +1 -1
  26. package/dist/models/DeleteQosRulesRequest.d.ts +1 -1
  27. package/dist/models/DeleteVirtualBridgeRequest.d.ts +2 -2
  28. package/dist/models/DescribeCenterPolicyListResponseBody.d.ts +5 -0
  29. package/dist/models/DescribeCenterPolicyListResponseBody.js +2 -0
  30. package/dist/models/DescribeCenterPolicyListResponseBody.js.map +1 -1
  31. package/dist/models/DescribeConsoleMessagesRequest.d.ts +84 -0
  32. package/dist/models/DescribeConsoleMessagesRequest.js +85 -0
  33. package/dist/models/DescribeConsoleMessagesRequest.js.map +1 -0
  34. package/dist/models/DescribeConsoleMessagesResponse.d.ts +19 -0
  35. package/dist/models/DescribeConsoleMessagesResponse.js +69 -0
  36. package/dist/models/DescribeConsoleMessagesResponse.js.map +1 -0
  37. package/dist/models/DescribeConsoleMessagesResponseBody.d.ts +365 -0
  38. package/dist/models/DescribeConsoleMessagesResponseBody.js +258 -0
  39. package/dist/models/DescribeConsoleMessagesResponseBody.js.map +1 -0
  40. package/dist/models/DescribeDesktopGroupsRequest.d.ts +27 -16
  41. package/dist/models/DescribeDesktopGroupsRequest.js.map +1 -1
  42. package/dist/models/DescribeDesktopGroupsResponseBody.d.ts +49 -44
  43. package/dist/models/DescribeDesktopGroupsResponseBody.js +2 -0
  44. package/dist/models/DescribeDesktopGroupsResponseBody.js.map +1 -1
  45. package/dist/models/DescribeDesktopSessionsRequest.d.ts +10 -12
  46. package/dist/models/DescribeDesktopSessionsRequest.js.map +1 -1
  47. package/dist/models/DescribeDesktopSessionsResponseBody.d.ts +17 -11
  48. package/dist/models/DescribeDesktopSessionsResponseBody.js +2 -0
  49. package/dist/models/DescribeDesktopSessionsResponseBody.js.map +1 -1
  50. package/dist/models/DescribeDesktopsRequest.d.ts +30 -23
  51. package/dist/models/DescribeDesktopsRequest.js.map +1 -1
  52. package/dist/models/DescribeDesktopsResponseBody.d.ts +73 -59
  53. package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
  54. package/dist/models/DescribeFotaPendingDesktopsRequest.d.ts +9 -9
  55. package/dist/models/DescribeFotaPendingDesktopsResponseBody.d.ts +11 -22
  56. package/dist/models/DescribeFotaPendingDesktopsResponseBody.js.map +1 -1
  57. package/dist/models/DescribeNasfileSystemsRequest.d.ts +5 -5
  58. package/dist/models/DescribeNasfileSystemsResponseBody.d.ts +25 -22
  59. package/dist/models/DescribeNasfileSystemsResponseBody.js.map +1 -1
  60. package/dist/models/DescribePeripheralDriversRequest.d.ts +9 -13
  61. package/dist/models/DescribePeripheralDriversRequest.js.map +1 -1
  62. package/dist/models/DescribePeripheralDriversResponseBody.d.ts +9 -16
  63. package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -1
  64. package/dist/models/DescribePolicyGroupsResponseBody.d.ts +5 -0
  65. package/dist/models/DescribePolicyGroupsResponseBody.js +2 -0
  66. package/dist/models/DescribePolicyGroupsResponseBody.js.map +1 -1
  67. package/dist/models/DescribeResourceByCenterPolicyIdRequest.d.ts +5 -12
  68. package/dist/models/DescribeResourceByCenterPolicyIdRequest.js.map +1 -1
  69. package/dist/models/DescribeResourceByCenterPolicyIdResponseBody.d.ts +11 -11
  70. package/dist/models/DescribeSnapshotsRequest.d.ts +11 -14
  71. package/dist/models/DescribeSnapshotsRequest.js.map +1 -1
  72. package/dist/models/DescribeSnapshotsResponseBody.d.ts +22 -22
  73. package/dist/models/DescribeUserConnectionRecordsRequest.d.ts +13 -18
  74. package/dist/models/DescribeUserConnectionRecordsRequest.js.map +1 -1
  75. package/dist/models/DescribeUserConnectionRecordsResponseBody.d.ts +7 -5
  76. package/dist/models/DescribeUserConnectionRecordsResponseBody.js.map +1 -1
  77. package/dist/models/GetAggregatedDesktopsRequest.d.ts +5 -1
  78. package/dist/models/GetAggregatedDesktopsRequest.js.map +1 -1
  79. package/dist/models/GetAggregatedDesktopsResponseBody.d.ts +1 -1
  80. package/dist/models/GetDesktopGroupDetailRequest.d.ts +2 -2
  81. package/dist/models/GetDesktopGroupDetailResponseBody.d.ts +60 -52
  82. package/dist/models/GetDesktopGroupDetailResponseBody.js +2 -0
  83. package/dist/models/GetDesktopGroupDetailResponseBody.js.map +1 -1
  84. package/dist/models/ListVirtualBridgesRequest.d.ts +3 -3
  85. package/dist/models/ListVirtualBridgesResponseBody.d.ts +5 -3
  86. package/dist/models/ListVirtualBridgesResponseBody.js.map +1 -1
  87. package/dist/models/ModifyAutoSnapshotPolicyRequest.d.ts +4 -4
  88. package/dist/models/ModifyCenterPolicyRequest.d.ts +1 -0
  89. package/dist/models/ModifyCenterPolicyRequest.js +2 -0
  90. package/dist/models/ModifyCenterPolicyRequest.js.map +1 -1
  91. package/dist/models/ModifyDiskSpecRequest.d.ts +8 -8
  92. package/dist/models/ModifyDiskSpecResponseBody.d.ts +2 -3
  93. package/dist/models/ModifyDiskSpecResponseBody.js.map +1 -1
  94. package/dist/models/ModifyOfficeSiteBridgeInfoRequest.d.ts +4 -4
  95. package/dist/models/ModifyVirtualBridgeLevelRequest.d.ts +5 -5
  96. package/dist/models/ModifyVirtualBridgeStatusRequest.d.ts +3 -3
  97. package/dist/models/Permission.d.ts +40 -0
  98. package/dist/models/Permission.js.map +1 -1
  99. package/dist/models/QueryActiveUserStatisticRequest.d.ts +8 -8
  100. package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +1 -1
  101. package/dist/models/QueryEndUserHistoryUsageRequest.d.ts +5 -3
  102. package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -1
  103. package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +15 -15
  104. package/dist/models/RenewVirtualBridgeRequest.d.ts +3 -3
  105. package/dist/models/SendConsoleMessageRequest.d.ts +23 -0
  106. package/dist/models/SendConsoleMessageRequest.js +58 -0
  107. package/dist/models/SendConsoleMessageRequest.js.map +1 -0
  108. package/dist/models/SendConsoleMessageResponse.d.ts +19 -0
  109. package/dist/models/SendConsoleMessageResponse.js +69 -0
  110. package/dist/models/SendConsoleMessageResponse.js.map +1 -0
  111. package/dist/models/SendConsoleMessageResponseBody.d.ts +29 -0
  112. package/dist/models/SendConsoleMessageResponseBody.js +60 -0
  113. package/dist/models/SendConsoleMessageResponseBody.js.map +1 -0
  114. package/dist/models/model.d.ts +12 -0
  115. package/dist/models/model.js +48 -24
  116. package/dist/models/model.js.map +1 -1
  117. package/package.json +1 -1
  118. package/src/client.ts +272 -110
  119. package/src/models/BatchModifyEntitlementRequest.ts +9 -10
  120. package/src/models/BatchModifyEntitlementResponseBody.ts +5 -5
  121. package/src/models/CancelAutoSnapshotPolicyRequest.ts +2 -2
  122. package/src/models/CancelAutoSnapshotPolicyResponseBody.ts +1 -1
  123. package/src/models/CopyImageRequest.ts +3 -3
  124. package/src/models/CopyImageResponseBody.ts +1 -1
  125. package/src/models/CreateCenterPolicyRequest.ts +3 -0
  126. package/src/models/CreateCloudDriveGroupRequest.ts +5 -5
  127. package/src/models/CreateCloudDriveGroupResponseBody.ts +4 -4
  128. package/src/models/CreateDesktopsRequest.ts +94 -84
  129. package/src/models/CreateDesktopsResponseBody.ts +1 -1
  130. package/src/models/CreateDesktopsShrinkRequest.ts +79 -69
  131. package/src/models/CreateVirtualBridgeRequest.ts +10 -10
  132. package/src/models/DeleteAutoSnapshotPolicyRequest.ts +2 -2
  133. package/src/models/DeleteAutoSnapshotPolicyResponseBody.ts +1 -1
  134. package/src/models/DeleteQosRulesRequest.ts +1 -1
  135. package/src/models/DeleteVirtualBridgeRequest.ts +2 -2
  136. package/src/models/DescribeCenterPolicyListResponseBody.ts +7 -0
  137. package/src/models/DescribeConsoleMessagesRequest.ts +124 -0
  138. package/src/models/DescribeConsoleMessagesResponse.ts +40 -0
  139. package/src/models/DescribeConsoleMessagesResponseBody.ts +524 -0
  140. package/src/models/DescribeDesktopGroupsRequest.ts +27 -16
  141. package/src/models/DescribeDesktopGroupsResponseBody.ts +51 -44
  142. package/src/models/DescribeDesktopSessionsRequest.ts +10 -12
  143. package/src/models/DescribeDesktopSessionsResponseBody.ts +19 -11
  144. package/src/models/DescribeDesktopsRequest.ts +30 -23
  145. package/src/models/DescribeDesktopsResponseBody.ts +73 -59
  146. package/src/models/DescribeFotaPendingDesktopsRequest.ts +9 -9
  147. package/src/models/DescribeFotaPendingDesktopsResponseBody.ts +11 -22
  148. package/src/models/DescribeNasfileSystemsRequest.ts +5 -5
  149. package/src/models/DescribeNasfileSystemsResponseBody.ts +25 -22
  150. package/src/models/DescribePeripheralDriversRequest.ts +9 -13
  151. package/src/models/DescribePeripheralDriversResponseBody.ts +9 -16
  152. package/src/models/DescribePolicyGroupsResponseBody.ts +7 -0
  153. package/src/models/DescribeResourceByCenterPolicyIdRequest.ts +5 -12
  154. package/src/models/DescribeResourceByCenterPolicyIdResponseBody.ts +11 -11
  155. package/src/models/DescribeSnapshotsRequest.ts +11 -14
  156. package/src/models/DescribeSnapshotsResponseBody.ts +22 -22
  157. package/src/models/DescribeUserConnectionRecordsRequest.ts +13 -18
  158. package/src/models/DescribeUserConnectionRecordsResponseBody.ts +7 -5
  159. package/src/models/GetAggregatedDesktopsRequest.ts +5 -1
  160. package/src/models/GetAggregatedDesktopsResponseBody.ts +1 -1
  161. package/src/models/GetDesktopGroupDetailRequest.ts +2 -2
  162. package/src/models/GetDesktopGroupDetailResponseBody.ts +62 -52
  163. package/src/models/ListVirtualBridgesRequest.ts +3 -3
  164. package/src/models/ListVirtualBridgesResponseBody.ts +5 -3
  165. package/src/models/ModifyAutoSnapshotPolicyRequest.ts +4 -4
  166. package/src/models/ModifyCenterPolicyRequest.ts +3 -0
  167. package/src/models/ModifyDiskSpecRequest.ts +8 -8
  168. package/src/models/ModifyDiskSpecResponseBody.ts +2 -3
  169. package/src/models/ModifyOfficeSiteBridgeInfoRequest.ts +4 -4
  170. package/src/models/ModifyVirtualBridgeLevelRequest.ts +5 -5
  171. package/src/models/ModifyVirtualBridgeStatusRequest.ts +3 -3
  172. package/src/models/Permission.ts +40 -0
  173. package/src/models/QueryActiveUserStatisticRequest.ts +8 -8
  174. package/src/models/QueryActiveUserStatisticResponseBody.ts +1 -1
  175. package/src/models/QueryEndUserHistoryUsageRequest.ts +5 -3
  176. package/src/models/QueryEndUserHistoryUsageResponseBody.ts +15 -15
  177. package/src/models/RenewVirtualBridgeRequest.ts +3 -3
  178. package/src/models/SendConsoleMessageRequest.ts +36 -0
  179. package/src/models/SendConsoleMessageResponse.ts +40 -0
  180. package/src/models/SendConsoleMessageResponseBody.ts +44 -0
  181. package/src/models/model.ts +12 -0
@@ -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 DescribeConsoleMessagesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The business channel, which is used to restrict the business to which the messages to query belong. Valid values: enterprise, standard, office, business, lincore_team, and AGENTIC_CLOUD_COMPUTER. The values are not case-sensitive. Default value: enterprise. Unrecognized channel values are also processed as enterprise.
9
+ *
10
+ * @example
11
+ * Enterprise
12
+ */
13
+ businessChannel?: string;
14
+ /**
15
+ * @remarks
16
+ * The filter list of client types to which operational messages apply. A maximum of 100 items can be included. Valid values: Windows (Windows client), Mac (macOS client), Web (web client), and Hardware (hardware terminal). For Mac, macOS is also supported. The matching is not case-sensitive. If multiple types are specified, a match occurs if any type matches. Do not pass the same type repeatedly. To filter by client type, provide a non-empty list. If this parameter is not specified, messages are not filtered by client type. Do not specify this parameter when querying NOTIFICATION messages.
17
+ */
18
+ clientTypes?: string[];
19
+ /**
20
+ * @remarks
21
+ * The search keyword, which is used to perform a fuzzy match on the message title or body. A match occurs if either the title or the body matches the keyword. If this parameter is not specified or an empty string is provided, messages are not filtered by keyword.
22
+ *
23
+ * @example
24
+ * System maintenance
25
+ */
26
+ keyword?: string;
27
+ /**
28
+ * @remarks
29
+ * The list of message IDs to query. A maximum of 100 message IDs can be included. If multiple IDs are provided, a match occurs if any ID matches. If this parameter is not specified or an empty list is provided, messages are not filtered by message ID. If no message ID matches, an empty list is returned.
30
+ */
31
+ messageIds?: string[];
32
+ /**
33
+ * @remarks
34
+ * The message level filter condition for notification messages. Valid values: STRONG (strong message) and WEAK (weak message). The values are not case-sensitive. If this parameter is not specified or the value is unrecognized, messages are not filtered by message level. Do not specify this parameter when querying OPERATIONAL messages.
35
+ *
36
+ * @example
37
+ * STRONG
38
+ */
39
+ messageLevel?: string;
40
+ /**
41
+ * @remarks
42
+ * The message type. Valid values: OPERATIONAL (client operational message), WALLPAPER (desktop wallpaper text message), NOTIFICATION (message center notification), and CUSTOM_WALLPAPER (custom desktop wallpaper). The values are not case-sensitive. If this parameter is not specified or the value is unrecognized, messages are not filtered by message type.
43
+ *
44
+ * @example
45
+ * NOTIFICATION
46
+ */
47
+ messageType?: string;
48
+ /**
49
+ * @remarks
50
+ * The page number of the query result. Pages start from 1. Default value: 1. If the value is less than 1, it is processed as 1.
51
+ *
52
+ * @example
53
+ * 1
54
+ */
55
+ pageNum?: number;
56
+ /**
57
+ * @remarks
58
+ * The number of entries per page. Valid values: 1 to 200. Default value: 200. If the value is less than 1 or greater than 200, it is processed as 200.
59
+ *
60
+ * @example
61
+ * 200
62
+ */
63
+ pageSize?: number;
64
+ /**
65
+ * @remarks
66
+ * The list of target IDs to match. A maximum of 100 items can be included. To filter by target, provide a non-empty list and specify TargetType at the same time. Currently, only the first ID is used for Organization, EndUser, and AdUser. Queries for EndUser and AdUser also match messages targeted at the organization to which the user belongs and all users. Queries for Organization include messages for all convenience users and are compatible with fuzzy matching of organization IDs. Other target matching methods match based on target IDs, and the target type of the returned records is not guaranteed to be consistent with TargetType. Currently, Tag does not perform target ID filtering.
67
+ */
68
+ targetIds?: string[];
69
+ /**
70
+ * @remarks
71
+ * The target matching method. Valid values: AllUsers (all convenience users), EndUser (specified convenience user), Organization (convenience user organization), Desktop (cloud computer), ResourceGroup (resource group), Region (region), Tag (tag), AdAllUsers (all AD users), AdUser (specified AD user), and AdOrg (AD organization). The values are not case-sensitive. If TargetIds is specified, this parameter must also be specified. The target type in the query results is not guaranteed to be consistent with this parameter. If only this parameter is specified without target IDs, no target filtering is applied. Currently, Tag does not perform target filtering.
72
+ *
73
+ * @example
74
+ * EndUser
75
+ */
76
+ targetType?: string;
77
+ static names(): { [key: string]: string } {
78
+ return {
79
+ businessChannel: 'BusinessChannel',
80
+ clientTypes: 'ClientTypes',
81
+ keyword: 'Keyword',
82
+ messageIds: 'MessageIds',
83
+ messageLevel: 'MessageLevel',
84
+ messageType: 'MessageType',
85
+ pageNum: 'PageNum',
86
+ pageSize: 'PageSize',
87
+ targetIds: 'TargetIds',
88
+ targetType: 'TargetType',
89
+ };
90
+ }
91
+
92
+ static types(): { [key: string]: any } {
93
+ return {
94
+ businessChannel: 'string',
95
+ clientTypes: { 'type': 'array', 'itemType': 'string' },
96
+ keyword: 'string',
97
+ messageIds: { 'type': 'array', 'itemType': 'string' },
98
+ messageLevel: 'string',
99
+ messageType: 'string',
100
+ pageNum: 'number',
101
+ pageSize: 'number',
102
+ targetIds: { 'type': 'array', 'itemType': 'string' },
103
+ targetType: 'string',
104
+ };
105
+ }
106
+
107
+ validate() {
108
+ if(Array.isArray(this.clientTypes)) {
109
+ $dara.Model.validateArray(this.clientTypes);
110
+ }
111
+ if(Array.isArray(this.messageIds)) {
112
+ $dara.Model.validateArray(this.messageIds);
113
+ }
114
+ if(Array.isArray(this.targetIds)) {
115
+ $dara.Model.validateArray(this.targetIds);
116
+ }
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 { DescribeConsoleMessagesResponseBody } from "./DescribeConsoleMessagesResponseBody";
4
+
5
+
6
+ export class DescribeConsoleMessagesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeConsoleMessagesResponseBody;
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: DescribeConsoleMessagesResponseBody,
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,524 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeConsoleMessagesResponseBodyMessageListContentConfigs extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The color of the body text. The color value saved when the message is created or modified is used.
9
+ *
10
+ * @example
11
+ * #666666
12
+ */
13
+ color?: string;
14
+ /**
15
+ * @remarks
16
+ * The message body text in the specified language.
17
+ *
18
+ * @example
19
+ * The cloud computer will undergo routine maintenance. Please save your work in advance
20
+ */
21
+ contentText?: string;
22
+ /**
23
+ * @remarks
24
+ * The body language. Valid values: CN (Chinese), EN (English), and JP (Japanese). The query returns the language value saved when the message is created or modified, retaining the original case.
25
+ *
26
+ * @example
27
+ * CN
28
+ */
29
+ langType?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ color: 'Color',
33
+ contentText: 'ContentText',
34
+ langType: 'LangType',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ color: 'string',
41
+ contentText: 'string',
42
+ langType: 'string',
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 DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The text displayed on the hyperlink button.
59
+ *
60
+ * @example
61
+ * View Details
62
+ */
63
+ title?: string;
64
+ /**
65
+ * @remarks
66
+ * The URL accessed after the hyperlink button is clicked.
67
+ *
68
+ * @example
69
+ * https://example.com/announcements/maintenance
70
+ */
71
+ url?: string;
72
+ static names(): { [key: string]: string } {
73
+ return {
74
+ title: 'Title',
75
+ url: 'Url',
76
+ };
77
+ }
78
+
79
+ static types(): { [key: string]: any } {
80
+ return {
81
+ title: 'string',
82
+ url: '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 DescribeConsoleMessagesResponseBodyMessageListImageInfoList extends $dara.Model {
96
+ /**
97
+ * @remarks
98
+ * The name of the image file.
99
+ *
100
+ * @example
101
+ * img0.jpg
102
+ */
103
+ fileName?: string;
104
+ /**
105
+ * @remarks
106
+ * The storage path of the image file.
107
+ *
108
+ * @example
109
+ * image_file/CUSTOM_WALLPAPER/00000000-0000-img0.jpg
110
+ */
111
+ imageFilePath?: string;
112
+ /**
113
+ * @remarks
114
+ * The image type. Configuration types defined by the backend include Operational (operational message image), WallpaperBasic (basic wallpaper image), and WallpaperAppend (appended wallpaper image). The query returns the image type value saved when the message is created or modified, retaining the original case.
115
+ *
116
+ * @example
117
+ * WallpaperBasic
118
+ */
119
+ imageType?: string;
120
+ /**
121
+ * @remarks
122
+ * The temporary download URL of the image file. The link has a limited validity period. If the link expires, you can query again to obtain a new one.
123
+ *
124
+ * @example
125
+ * https://example.com/images/img0.jpg
126
+ */
127
+ imageUrl?: string;
128
+ static names(): { [key: string]: string } {
129
+ return {
130
+ fileName: 'FileName',
131
+ imageFilePath: 'ImageFilePath',
132
+ imageType: 'ImageType',
133
+ imageUrl: 'ImageUrl',
134
+ };
135
+ }
136
+
137
+ static types(): { [key: string]: any } {
138
+ return {
139
+ fileName: 'string',
140
+ imageFilePath: 'string',
141
+ imageType: 'string',
142
+ imageUrl: 'string',
143
+ };
144
+ }
145
+
146
+ validate() {
147
+ super.validate();
148
+ }
149
+
150
+ constructor(map?: { [key: string]: any }) {
151
+ super(map);
152
+ }
153
+ }
154
+
155
+ export class DescribeConsoleMessagesResponseBodyMessageListMetaData extends $dara.Model {
156
+ /**
157
+ * @remarks
158
+ * The AD domain name associated with the message configuration.
159
+ *
160
+ * @example
161
+ * ad.example.com
162
+ */
163
+ adDomain?: string;
164
+ /**
165
+ * @remarks
166
+ * The workspace ID associated with the message configuration.
167
+ *
168
+ * @example
169
+ * cn-shanghai+dir-example01
170
+ */
171
+ officeSiteId?: string;
172
+ /**
173
+ * @remarks
174
+ * The list of scheduled sending configurations. If TimerType is CRON, the elements are cron expressions. If TimerType is Timestamp, the elements are millisecond timestamps represented as strings.
175
+ */
176
+ timer?: string[];
177
+ /**
178
+ * @remarks
179
+ * The scheduled sending type. Valid values: CRON (cron expression) and Timestamp (timestamp). The configuration values are case-sensitive.
180
+ *
181
+ * @example
182
+ * CRON
183
+ */
184
+ timerType?: string;
185
+ static names(): { [key: string]: string } {
186
+ return {
187
+ adDomain: 'AdDomain',
188
+ officeSiteId: 'OfficeSiteId',
189
+ timer: 'Timer',
190
+ timerType: 'TimerType',
191
+ };
192
+ }
193
+
194
+ static types(): { [key: string]: any } {
195
+ return {
196
+ adDomain: 'string',
197
+ officeSiteId: 'string',
198
+ timer: { 'type': 'array', 'itemType': 'string' },
199
+ timerType: 'string',
200
+ };
201
+ }
202
+
203
+ validate() {
204
+ if(Array.isArray(this.timer)) {
205
+ $dara.Model.validateArray(this.timer);
206
+ }
207
+ super.validate();
208
+ }
209
+
210
+ constructor(map?: { [key: string]: any }) {
211
+ super(map);
212
+ }
213
+ }
214
+
215
+ export class DescribeConsoleMessagesResponseBodyMessageListTitleConfigs extends $dara.Model {
216
+ /**
217
+ * @remarks
218
+ * The color of the title text. The color value saved when the message is created or modified is used.
219
+ *
220
+ * @example
221
+ * #333333
222
+ */
223
+ color?: string;
224
+ /**
225
+ * @remarks
226
+ * The title language. Valid values: CN (Chinese), EN (English), and JP (Japanese). The query returns the language value saved when the message is created or modified, retaining the original case.
227
+ *
228
+ * @example
229
+ * CN
230
+ */
231
+ langType?: string;
232
+ /**
233
+ * @remarks
234
+ * The message title text in the specified language.
235
+ *
236
+ * @example
237
+ * System Maintenance Notice
238
+ */
239
+ titleText?: string;
240
+ static names(): { [key: string]: string } {
241
+ return {
242
+ color: 'Color',
243
+ langType: 'LangType',
244
+ titleText: 'TitleText',
245
+ };
246
+ }
247
+
248
+ static types(): { [key: string]: any } {
249
+ return {
250
+ color: 'string',
251
+ langType: 'string',
252
+ titleText: 'string',
253
+ };
254
+ }
255
+
256
+ validate() {
257
+ super.validate();
258
+ }
259
+
260
+ constructor(map?: { [key: string]: any }) {
261
+ super(map);
262
+ }
263
+ }
264
+
265
+ export class DescribeConsoleMessagesResponseBodyMessageList extends $dara.Model {
266
+ /**
267
+ * @remarks
268
+ * The list of client types to which the message applies. Standard names are returned: Windows, Mac, Web, and Hardware.
269
+ */
270
+ clientTypes?: string[];
271
+ /**
272
+ * @remarks
273
+ * The list of message body configurations for each language.
274
+ */
275
+ contentConfigs?: DescribeConsoleMessagesResponseBodyMessageListContentConfigs[];
276
+ /**
277
+ * @remarks
278
+ * The time when the operational message stops taking effect. The time is in ISO 8601 format. A time zone offset of +00:00 indicates UTC time.
279
+ *
280
+ * @example
281
+ * 2026-10-11T02:00:00.000+00:00
282
+ */
283
+ endTime?: string;
284
+ /**
285
+ * @remarks
286
+ * The time when the message was created.
287
+ *
288
+ * @example
289
+ * 2026-10-10T00:00:00.000+00:00
290
+ */
291
+ gmtCreate?: string;
292
+ /**
293
+ * @remarks
294
+ * The time when the message was last modified. This time is also updated when the message status changes.
295
+ *
296
+ * @example
297
+ * 2026-10-10T01:00:00.000+00:00
298
+ */
299
+ gmtModified?: string;
300
+ /**
301
+ * @remarks
302
+ * The list of hyperlink button configurations in the message.
303
+ */
304
+ hyperLinkConfigs?: DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs[];
305
+ /**
306
+ * @remarks
307
+ * The storage path of the image file for the operational message.
308
+ *
309
+ * @example
310
+ * image_file/OPERATIONAL/00000000-0000-console-message.png
311
+ */
312
+ imageFilePath?: string;
313
+ /**
314
+ * @remarks
315
+ * The list of image configurations, which is mainly used for custom wallpaper messages. Each item includes the image name, image type, storage path, and temporary download URL.
316
+ */
317
+ imageInfoList?: DescribeConsoleMessagesResponseBodyMessageListImageInfoList[];
318
+ /**
319
+ * @remarks
320
+ * The temporary download URL of the operational message image. The link has a limited validity period. If the link expires, you can query again to obtain a new one.
321
+ *
322
+ * @example
323
+ * https://example.com/images/console-message.png
324
+ */
325
+ imageUrl?: string;
326
+ /**
327
+ * @remarks
328
+ * The message ID, which can be used to send, modify, or delete a specified message.
329
+ *
330
+ * @example
331
+ * msg-123456
332
+ */
333
+ messageId?: string;
334
+ /**
335
+ * @remarks
336
+ * The message level of the notification message. Valid values: STRONG (strong message) and WEAK (weak message).
337
+ *
338
+ * @example
339
+ * STRONG
340
+ */
341
+ messageLevel?: string;
342
+ /**
343
+ * @remarks
344
+ * The message type. Valid values: OPERATIONAL (client operational message), WALLPAPER (desktop wallpaper text message), NOTIFICATION (message center notification), and CUSTOM_WALLPAPER (custom desktop wallpaper).
345
+ *
346
+ * @example
347
+ * NOTIFICATION
348
+ */
349
+ messageType?: string;
350
+ /**
351
+ * @remarks
352
+ * The additional configuration of the message, including the associated workspace, AD domain name, and scheduled sending configuration. Whether specific fields are returned depends on the message type and its saved configuration.
353
+ */
354
+ metaData?: DescribeConsoleMessagesResponseBodyMessageListMetaData;
355
+ /**
356
+ * @remarks
357
+ * The display position of the message. For wallpaper text messages, valid values are CENTER (center), TOP_RIGHT (top right), BOTTOM_RIGHT (bottom right), and BOTTOM_LEFT (bottom left). For client operational messages, valid values are CLIENT_ENTERPRISE_RESOURCE_PAGE (Enterprise Edition client cloud resource page) and CLIENT_BUSINESS_RESOURCE_PAGE (Business Edition client cloud resource page).
358
+ *
359
+ * @example
360
+ * CENTER
361
+ */
362
+ position?: string;
363
+ /**
364
+ * @remarks
365
+ * The time when the operational message starts taking effect. The time is in ISO 8601 format. A time zone offset of +00:00 indicates UTC time.
366
+ *
367
+ * @example
368
+ * 2026-10-10T02:00:00.000+00:00
369
+ */
370
+ startTime?: string;
371
+ /**
372
+ * @remarks
373
+ * The current status of the message. Valid values: Init (initializing), Pushing (pushing), Published (published), Expired (expired), Deleting (deleting), and Failed (failed). Published indicates that the message has been published or the server-side push processing has finished, but it does not indicate that all target terminals have successfully received the message.
374
+ *
375
+ * @example
376
+ * Published
377
+ */
378
+ status?: string;
379
+ /**
380
+ * @remarks
381
+ * The JSON string of the list of targets to which the message applies. For Organization and AdOrg, it is an array of objects containing orgId (organization ID) and orgName (organization name). The organization name may be empty, and records in the old format may not contain orgName. For Tag, it is an array of objects containing tagKey (tag key), tagValue (tag value), and regionId (region ID). For other target types, it is an array of strings. The all-users target is represented by ALL_USERS.
382
+ *
383
+ * @example
384
+ * ["user01"]
385
+ */
386
+ targetIds?: string;
387
+ /**
388
+ * @remarks
389
+ * The type of the target to which the message applies. Valid values: AllUsers (all convenience users), EndUser (specified convenience user), Organization (specified convenience user organization), Desktop (cloud computer), ResourceGroup (resource group), Region (region), Tag (tag), AdAllUsers (all AD users), AdUser (specified AD user), and AdOrg (specified AD organization).
390
+ *
391
+ * @example
392
+ * EndUser
393
+ */
394
+ targetType?: string;
395
+ /**
396
+ * @remarks
397
+ * The list of message title configurations for each language.
398
+ */
399
+ titleConfigs?: DescribeConsoleMessagesResponseBodyMessageListTitleConfigs[];
400
+ static names(): { [key: string]: string } {
401
+ return {
402
+ clientTypes: 'ClientTypes',
403
+ contentConfigs: 'ContentConfigs',
404
+ endTime: 'EndTime',
405
+ gmtCreate: 'GmtCreate',
406
+ gmtModified: 'GmtModified',
407
+ hyperLinkConfigs: 'HyperLinkConfigs',
408
+ imageFilePath: 'ImageFilePath',
409
+ imageInfoList: 'ImageInfoList',
410
+ imageUrl: 'ImageUrl',
411
+ messageId: 'MessageId',
412
+ messageLevel: 'MessageLevel',
413
+ messageType: 'MessageType',
414
+ metaData: 'MetaData',
415
+ position: 'Position',
416
+ startTime: 'StartTime',
417
+ status: 'Status',
418
+ targetIds: 'TargetIds',
419
+ targetType: 'TargetType',
420
+ titleConfigs: 'TitleConfigs',
421
+ };
422
+ }
423
+
424
+ static types(): { [key: string]: any } {
425
+ return {
426
+ clientTypes: { 'type': 'array', 'itemType': 'string' },
427
+ contentConfigs: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageListContentConfigs },
428
+ endTime: 'string',
429
+ gmtCreate: 'string',
430
+ gmtModified: 'string',
431
+ hyperLinkConfigs: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageListHyperLinkConfigs },
432
+ imageFilePath: 'string',
433
+ imageInfoList: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageListImageInfoList },
434
+ imageUrl: 'string',
435
+ messageId: 'string',
436
+ messageLevel: 'string',
437
+ messageType: 'string',
438
+ metaData: DescribeConsoleMessagesResponseBodyMessageListMetaData,
439
+ position: 'string',
440
+ startTime: 'string',
441
+ status: 'string',
442
+ targetIds: 'string',
443
+ targetType: 'string',
444
+ titleConfigs: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageListTitleConfigs },
445
+ };
446
+ }
447
+
448
+ validate() {
449
+ if(Array.isArray(this.clientTypes)) {
450
+ $dara.Model.validateArray(this.clientTypes);
451
+ }
452
+ if(Array.isArray(this.contentConfigs)) {
453
+ $dara.Model.validateArray(this.contentConfigs);
454
+ }
455
+ if(Array.isArray(this.hyperLinkConfigs)) {
456
+ $dara.Model.validateArray(this.hyperLinkConfigs);
457
+ }
458
+ if(Array.isArray(this.imageInfoList)) {
459
+ $dara.Model.validateArray(this.imageInfoList);
460
+ }
461
+ if(this.metaData && typeof (this.metaData as any).validate === 'function') {
462
+ (this.metaData as any).validate();
463
+ }
464
+ if(Array.isArray(this.titleConfigs)) {
465
+ $dara.Model.validateArray(this.titleConfigs);
466
+ }
467
+ super.validate();
468
+ }
469
+
470
+ constructor(map?: { [key: string]: any }) {
471
+ super(map);
472
+ }
473
+ }
474
+
475
+ export class DescribeConsoleMessagesResponseBody extends $dara.Model {
476
+ /**
477
+ * @remarks
478
+ * The list of console messages queried for the current page. If no messages match, an empty list is returned.
479
+ */
480
+ messageList?: DescribeConsoleMessagesResponseBodyMessageList[];
481
+ /**
482
+ * @remarks
483
+ * The ID of the current request, which is used to locate and troubleshoot issues.
484
+ *
485
+ * @example
486
+ * 9F1D7E42-06A8-4B50-9A21-6E0C8D3F5B72
487
+ */
488
+ requestId?: string;
489
+ /**
490
+ * @remarks
491
+ * The total number of messages that match the query conditions, not the number of messages returned on the current page.
492
+ *
493
+ * @example
494
+ * 1
495
+ */
496
+ totalCount?: string;
497
+ static names(): { [key: string]: string } {
498
+ return {
499
+ messageList: 'MessageList',
500
+ requestId: 'RequestId',
501
+ totalCount: 'TotalCount',
502
+ };
503
+ }
504
+
505
+ static types(): { [key: string]: any } {
506
+ return {
507
+ messageList: { 'type': 'array', 'itemType': DescribeConsoleMessagesResponseBodyMessageList },
508
+ requestId: 'string',
509
+ totalCount: 'string',
510
+ };
511
+ }
512
+
513
+ validate() {
514
+ if(Array.isArray(this.messageList)) {
515
+ $dara.Model.validateArray(this.messageList);
516
+ }
517
+ super.validate();
518
+ }
519
+
520
+ constructor(map?: { [key: string]: any }) {
521
+ super(map);
522
+ }
523
+ }
524
+