@alicloud/cms20190101 4.0.8 → 4.0.9

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 (182) hide show
  1. package/dist/client.d.ts +8 -4
  2. package/dist/client.js +11 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateGroupMetricRulesRequest.d.ts +132 -0
  5. package/dist/models/CreateGroupMetricRulesRequest.js.map +1 -1
  6. package/dist/models/CreateGroupMetricRulesResponseBody.d.ts +0 -44
  7. package/dist/models/CreateGroupMetricRulesResponseBody.js.map +1 -1
  8. package/dist/models/CreateMetricRuleTemplateRequest.d.ts +174 -0
  9. package/dist/models/CreateMetricRuleTemplateRequest.js.map +1 -1
  10. package/dist/models/CreateSiteMonitorResponseBody.d.ts +0 -64
  11. package/dist/models/CreateSiteMonitorResponseBody.js.map +1 -1
  12. package/dist/models/DeleteMetricRuleTargetsResponseBody.d.ts +0 -4
  13. package/dist/models/DeleteMetricRuleTargetsResponseBody.js.map +1 -1
  14. package/dist/models/DeleteMonitorGroupResponseBody.d.ts +0 -11
  15. package/dist/models/DeleteMonitorGroupResponseBody.js.map +1 -1
  16. package/dist/models/DescribeActiveMetricRuleListResponseBody.d.ts +0 -394
  17. package/dist/models/DescribeActiveMetricRuleListResponseBody.js.map +1 -1
  18. package/dist/models/DescribeAlertHistoryListResponseBody.d.ts +0 -150
  19. package/dist/models/DescribeAlertHistoryListResponseBody.js.map +1 -1
  20. package/dist/models/DescribeAlertingMetricRuleResourcesResponseBody.d.ts +0 -290
  21. package/dist/models/DescribeAlertingMetricRuleResourcesResponseBody.js.map +1 -1
  22. package/dist/models/DescribeContactGroupListResponseBody.d.ts +0 -58
  23. package/dist/models/DescribeContactGroupListResponseBody.js.map +1 -1
  24. package/dist/models/DescribeContactListByContactGroupResponseBody.d.ts +0 -72
  25. package/dist/models/DescribeContactListByContactGroupResponseBody.js.map +1 -1
  26. package/dist/models/DescribeContactListResponseBody.d.ts +0 -127
  27. package/dist/models/DescribeContactListResponseBody.js.map +1 -1
  28. package/dist/models/DescribeCustomEventAttributeResponseBody.d.ts +0 -41
  29. package/dist/models/DescribeCustomEventAttributeResponseBody.js.map +1 -1
  30. package/dist/models/DescribeCustomEventCountResponseBody.d.ts +0 -27
  31. package/dist/models/DescribeCustomEventCountResponseBody.js.map +1 -1
  32. package/dist/models/DescribeCustomEventHistogramResponseBody.d.ts +0 -29
  33. package/dist/models/DescribeCustomEventHistogramResponseBody.js.map +1 -1
  34. package/dist/models/DescribeDynamicTagRuleListResponseBody.d.ts +0 -89
  35. package/dist/models/DescribeDynamicTagRuleListResponseBody.js.map +1 -1
  36. package/dist/models/DescribeEventRuleAttributeResponseBody.d.ts +0 -8
  37. package/dist/models/DescribeEventRuleAttributeResponseBody.js.map +1 -1
  38. package/dist/models/DescribeEventRuleListResponseBody.d.ts +0 -107
  39. package/dist/models/DescribeEventRuleListResponseBody.js.map +1 -1
  40. package/dist/models/DescribeEventRuleTargetListResponseBody.d.ts +0 -253
  41. package/dist/models/DescribeEventRuleTargetListResponseBody.js.map +1 -1
  42. package/dist/models/DescribeExporterOutputListResponseBody.d.ts +0 -59
  43. package/dist/models/DescribeExporterOutputListResponseBody.js.map +1 -1
  44. package/dist/models/DescribeExporterRuleListResponseBody.d.ts +0 -67
  45. package/dist/models/DescribeExporterRuleListResponseBody.js.map +1 -1
  46. package/dist/models/DescribeGroupMonitoringAgentProcessResponseBody.d.ts +0 -213
  47. package/dist/models/DescribeGroupMonitoringAgentProcessResponseBody.js.map +1 -1
  48. package/dist/models/DescribeHostAvailabilityListResponseBody.d.ts +0 -288
  49. package/dist/models/DescribeHostAvailabilityListResponseBody.js.map +1 -1
  50. package/dist/models/DescribeMetricMetaListResponseBody.d.ts +0 -71
  51. package/dist/models/DescribeMetricMetaListResponseBody.js.map +1 -1
  52. package/dist/models/DescribeMetricRuleListResponseBody.d.ts +0 -497
  53. package/dist/models/DescribeMetricRuleListResponseBody.js.map +1 -1
  54. package/dist/models/DescribeMetricRuleTargetsResponseBody.d.ts +0 -41
  55. package/dist/models/DescribeMetricRuleTargetsResponseBody.js.map +1 -1
  56. package/dist/models/DescribeMetricRuleTemplateAttributeResponseBody.d.ts +0 -217
  57. package/dist/models/DescribeMetricRuleTemplateAttributeResponseBody.js.map +1 -1
  58. package/dist/models/DescribeMetricRuleTemplateListResponseBody.d.ts +0 -76
  59. package/dist/models/DescribeMetricRuleTemplateListResponseBody.js.map +1 -1
  60. package/dist/models/DescribeMonitorGroupCategoriesResponseBody.d.ts +0 -20
  61. package/dist/models/DescribeMonitorGroupCategoriesResponseBody.js.map +1 -1
  62. package/dist/models/DescribeMonitorGroupDynamicRulesResponseBody.d.ts +0 -54
  63. package/dist/models/DescribeMonitorGroupDynamicRulesResponseBody.js.map +1 -1
  64. package/dist/models/DescribeMonitorGroupInstanceAttributeResponseBody.d.ts +0 -100
  65. package/dist/models/DescribeMonitorGroupInstanceAttributeResponseBody.js.map +1 -1
  66. package/dist/models/DescribeMonitorGroupInstancesResponseBody.d.ts +0 -39
  67. package/dist/models/DescribeMonitorGroupInstancesResponseBody.js.map +1 -1
  68. package/dist/models/DescribeMonitorGroupNotifyPolicyListResponseBody.d.ts +0 -43
  69. package/dist/models/DescribeMonitorGroupNotifyPolicyListResponseBody.js.map +1 -1
  70. package/dist/models/DescribeMonitorGroupsResponseBody.d.ts +0 -118
  71. package/dist/models/DescribeMonitorGroupsResponseBody.js.map +1 -1
  72. package/dist/models/DescribeMonitoringAgentHostsResponseBody.d.ts +0 -109
  73. package/dist/models/DescribeMonitoringAgentHostsResponseBody.js.map +1 -1
  74. package/dist/models/DescribeMonitoringAgentProcessesResponseBody.d.ts +0 -48
  75. package/dist/models/DescribeMonitoringAgentProcessesResponseBody.js.map +1 -1
  76. package/dist/models/DescribeMonitoringAgentStatusesResponseBody.d.ts +0 -102
  77. package/dist/models/DescribeMonitoringAgentStatusesResponseBody.js.map +1 -1
  78. package/dist/models/DescribeProductsOfActiveMetricRuleResponseBody.d.ts +0 -121
  79. package/dist/models/DescribeProductsOfActiveMetricRuleResponseBody.js.map +1 -1
  80. package/dist/models/DescribeProjectMetaResponseBody.d.ts +0 -32
  81. package/dist/models/DescribeProjectMetaResponseBody.js.map +1 -1
  82. package/dist/models/DescribeSiteMonitorAttributeResponseBody.d.ts +0 -284
  83. package/dist/models/DescribeSiteMonitorAttributeResponseBody.js.map +1 -1
  84. package/dist/models/DescribeSiteMonitorIspcityListResponseBody.d.ts +0 -52
  85. package/dist/models/DescribeSiteMonitorIspcityListResponseBody.js.map +1 -1
  86. package/dist/models/DescribeSiteMonitorListResponseBody.d.ts +0 -391
  87. package/dist/models/DescribeSiteMonitorListResponseBody.js.map +1 -1
  88. package/dist/models/DescribeSystemEventAttributeResponseBody.d.ts +0 -87
  89. package/dist/models/DescribeSystemEventAttributeResponseBody.js.map +1 -1
  90. package/dist/models/DescribeSystemEventCountResponseBody.d.ts +0 -82
  91. package/dist/models/DescribeSystemEventCountResponseBody.js.map +1 -1
  92. package/dist/models/DescribeSystemEventHistogramResponseBody.d.ts +0 -29
  93. package/dist/models/DescribeSystemEventHistogramResponseBody.js.map +1 -1
  94. package/dist/models/DescribeSystemEventMetaListResponseBody.d.ts +0 -61
  95. package/dist/models/DescribeSystemEventMetaListResponseBody.js.map +1 -1
  96. package/dist/models/DescribeUnhealthyHostAvailabilityResponseBody.d.ts +0 -11
  97. package/dist/models/DescribeUnhealthyHostAvailabilityResponseBody.js.map +1 -1
  98. package/dist/models/Dimension.d.ts +14 -0
  99. package/dist/models/Dimension.js.map +1 -1
  100. package/dist/models/Matcher.d.ts +21 -0
  101. package/dist/models/Matcher.js.map +1 -1
  102. package/dist/models/MetricStat.d.ts +49 -0
  103. package/dist/models/MetricStat.js.map +1 -1
  104. package/dist/models/ModifyMetricRuleTemplateRequest.d.ts +174 -0
  105. package/dist/models/ModifyMetricRuleTemplateRequest.js.map +1 -1
  106. package/dist/models/PutEventRuleTargetsResponseBody.d.ts +0 -81
  107. package/dist/models/PutEventRuleTargetsResponseBody.js.map +1 -1
  108. package/dist/models/PutMetricRuleTargetsResponseBody.d.ts +0 -45
  109. package/dist/models/PutMetricRuleTargetsResponseBody.js.map +1 -1
  110. package/dist/models/PutResourceMetricRuleRequest.d.ts +1 -0
  111. package/dist/models/PutResourceMetricRuleRequest.js +2 -0
  112. package/dist/models/PutResourceMetricRuleRequest.js.map +1 -1
  113. package/dist/models/PutResourceMetricRuleShrinkRequest.d.ts +1 -0
  114. package/dist/models/PutResourceMetricRuleShrinkRequest.js +2 -0
  115. package/dist/models/PutResourceMetricRuleShrinkRequest.js.map +1 -1
  116. package/dist/models/PutResourceMetricRulesRequest.d.ts +176 -0
  117. package/dist/models/PutResourceMetricRulesRequest.js +2 -0
  118. package/dist/models/PutResourceMetricRulesRequest.js.map +1 -1
  119. package/dist/models/PutResourceMetricRulesResponseBody.d.ts +0 -39
  120. package/dist/models/PutResourceMetricRulesResponseBody.js.map +1 -1
  121. package/dist/models/RemoveTagsResponseBody.d.ts +0 -4
  122. package/dist/models/RemoveTagsResponseBody.js.map +1 -1
  123. package/package.json +1 -1
  124. package/src/client.ts +12 -4
  125. package/src/models/CreateGroupMetricRulesRequest.ts +132 -0
  126. package/src/models/CreateGroupMetricRulesResponseBody.ts +0 -44
  127. package/src/models/CreateMetricRuleTemplateRequest.ts +174 -0
  128. package/src/models/CreateSiteMonitorResponseBody.ts +0 -64
  129. package/src/models/DeleteMetricRuleTargetsResponseBody.ts +0 -4
  130. package/src/models/DeleteMonitorGroupResponseBody.ts +0 -11
  131. package/src/models/DescribeActiveMetricRuleListResponseBody.ts +0 -394
  132. package/src/models/DescribeAlertHistoryListResponseBody.ts +0 -150
  133. package/src/models/DescribeAlertingMetricRuleResourcesResponseBody.ts +0 -290
  134. package/src/models/DescribeContactGroupListResponseBody.ts +0 -58
  135. package/src/models/DescribeContactListByContactGroupResponseBody.ts +0 -72
  136. package/src/models/DescribeContactListResponseBody.ts +0 -127
  137. package/src/models/DescribeCustomEventAttributeResponseBody.ts +0 -41
  138. package/src/models/DescribeCustomEventCountResponseBody.ts +0 -27
  139. package/src/models/DescribeCustomEventHistogramResponseBody.ts +0 -29
  140. package/src/models/DescribeDynamicTagRuleListResponseBody.ts +0 -89
  141. package/src/models/DescribeEventRuleAttributeResponseBody.ts +0 -8
  142. package/src/models/DescribeEventRuleListResponseBody.ts +0 -107
  143. package/src/models/DescribeEventRuleTargetListResponseBody.ts +0 -253
  144. package/src/models/DescribeExporterOutputListResponseBody.ts +0 -59
  145. package/src/models/DescribeExporterRuleListResponseBody.ts +0 -67
  146. package/src/models/DescribeGroupMonitoringAgentProcessResponseBody.ts +0 -213
  147. package/src/models/DescribeHostAvailabilityListResponseBody.ts +0 -288
  148. package/src/models/DescribeMetricMetaListResponseBody.ts +0 -71
  149. package/src/models/DescribeMetricRuleListResponseBody.ts +0 -497
  150. package/src/models/DescribeMetricRuleTargetsResponseBody.ts +0 -41
  151. package/src/models/DescribeMetricRuleTemplateAttributeResponseBody.ts +0 -217
  152. package/src/models/DescribeMetricRuleTemplateListResponseBody.ts +0 -76
  153. package/src/models/DescribeMonitorGroupCategoriesResponseBody.ts +0 -20
  154. package/src/models/DescribeMonitorGroupDynamicRulesResponseBody.ts +0 -54
  155. package/src/models/DescribeMonitorGroupInstanceAttributeResponseBody.ts +0 -100
  156. package/src/models/DescribeMonitorGroupInstancesResponseBody.ts +0 -39
  157. package/src/models/DescribeMonitorGroupNotifyPolicyListResponseBody.ts +0 -43
  158. package/src/models/DescribeMonitorGroupsResponseBody.ts +0 -118
  159. package/src/models/DescribeMonitoringAgentHostsResponseBody.ts +0 -109
  160. package/src/models/DescribeMonitoringAgentProcessesResponseBody.ts +0 -48
  161. package/src/models/DescribeMonitoringAgentStatusesResponseBody.ts +0 -102
  162. package/src/models/DescribeProductsOfActiveMetricRuleResponseBody.ts +0 -121
  163. package/src/models/DescribeProjectMetaResponseBody.ts +0 -32
  164. package/src/models/DescribeSiteMonitorAttributeResponseBody.ts +0 -284
  165. package/src/models/DescribeSiteMonitorIspcityListResponseBody.ts +0 -52
  166. package/src/models/DescribeSiteMonitorListResponseBody.ts +0 -391
  167. package/src/models/DescribeSystemEventAttributeResponseBody.ts +0 -87
  168. package/src/models/DescribeSystemEventCountResponseBody.ts +0 -82
  169. package/src/models/DescribeSystemEventHistogramResponseBody.ts +0 -29
  170. package/src/models/DescribeSystemEventMetaListResponseBody.ts +0 -61
  171. package/src/models/DescribeUnhealthyHostAvailabilityResponseBody.ts +0 -11
  172. package/src/models/Dimension.ts +14 -0
  173. package/src/models/Matcher.ts +21 -0
  174. package/src/models/MetricStat.ts +49 -0
  175. package/src/models/ModifyMetricRuleTemplateRequest.ts +174 -0
  176. package/src/models/PutEventRuleTargetsResponseBody.ts +0 -81
  177. package/src/models/PutMetricRuleTargetsResponseBody.ts +0 -45
  178. package/src/models/PutResourceMetricRuleRequest.ts +3 -0
  179. package/src/models/PutResourceMetricRuleShrinkRequest.ts +3 -0
  180. package/src/models/PutResourceMetricRulesRequest.ts +178 -0
  181. package/src/models/PutResourceMetricRulesResponseBody.ts +0 -39
  182. package/src/models/RemoveTagsResponseBody.ts +0 -4
@@ -3,56 +3,9 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeSiteMonitorListResponseBodySiteMonitorsSiteMonitorOptionsJsonAssertionsAssertions extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The comparison operator of the assertion. Valid values:
9
- *
10
- * * contains: contains
11
- * * doesNotContain: does not contain
12
- * * matches: matches regular expressions
13
- * * doesNotMatch: does not match regular expressions
14
- * * is: equal to a numeric value or matches a character
15
- * * isNot: not equal to
16
- * * lessThan: less than
17
- * * moreThan: greater than
18
- *
19
- * @example
20
- * lessThan
21
- */
22
6
  operator?: string;
23
- /**
24
- * @remarks
25
- * The parsing path of the assertion.
26
- *
27
- * * If the assertion type is `body_json`, the path is `json path`.
28
- * * If the assertion type is `body_xml`, the path is `xml path`.
29
- *
30
- * @example
31
- * json path
32
- */
33
7
  property?: string;
34
- /**
35
- * @remarks
36
- * The numeric value or character used for matching.
37
- *
38
- * @example
39
- * 1000
40
- */
41
8
  target?: string;
42
- /**
43
- * @remarks
44
- * The assertion type. Valid values:
45
- *
46
- * * response_time: checks whether the response time meets expectations.
47
- * * status_code: checks whether the HTTP status code meets expectations.
48
- * * header: checks whether the fields in the response header meet expectations.
49
- * * body_text: checks whether the content in the response body meets expectations by using text matching.
50
- * * body_json: checks whether the content in the response body meets expectations by using JSON parsing (JSONPath).
51
- * * body_xml: checks whether the content in the response body meets expectations by using XML parsing (XPath).
52
- *
53
- * @example
54
- * response_time
55
- */
56
9
  type?: string;
57
10
  static names(): { [key: string]: string } {
58
11
  return {
@@ -108,302 +61,35 @@ export class DescribeSiteMonitorListResponseBodySiteMonitorsSiteMonitorOptionsJs
108
61
  }
109
62
 
110
63
  export class DescribeSiteMonitorListResponseBodySiteMonitorsSiteMonitorOptionsJson extends $dara.Model {
111
- /**
112
- * @remarks
113
- * The acceptable status code.
114
- *
115
- * > We recommend that you configure assertions.
116
- *
117
- * @example
118
- * 400
119
- */
120
64
  acceptableResponseCode?: string;
121
- /**
122
- * @remarks
123
- * The assertions.
124
- */
125
65
  assertions?: DescribeSiteMonitorListResponseBodySiteMonitorsSiteMonitorOptionsJsonAssertions;
126
- /**
127
- * @remarks
128
- * The number of retries after a DNS failure occurred.
129
- *
130
- * @example
131
- * 3
132
- */
133
66
  attempts?: number;
134
- /**
135
- * @remarks
136
- * Indicates whether the security authentication feature is enabled. Valid values:
137
- *
138
- * * 0: The feature is enabled.
139
- * * 1: The feature is disabled.
140
- *
141
- * @example
142
- * 1
143
- */
144
67
  authentication?: number;
145
- /**
146
- * @remarks
147
- * Indicates whether the certificate is verified. Valid values:
148
- *
149
- * * false (default): The certificate is not verified.
150
- * * true: The certificate is verified.
151
- *
152
- * @example
153
- * false
154
- */
155
68
  certVerify?: boolean;
156
- /**
157
- * @remarks
158
- * The cookie of the HTTP request.
159
- *
160
- * @example
161
- * lang=en
162
- */
163
69
  cookie?: string;
164
- /**
165
- * @remarks
166
- * Indicates whether MTR is automatically used to diagnose network issues if a task fails. Valid values:
167
- *
168
- * * false (default): MTR is not automatically used to diagnose network issues if a task fails.
169
- * * true: MTR is automatically used to diagnose network issues if a task fails.
170
- *
171
- * @example
172
- * false
173
- */
174
70
  diagnosisMtr?: boolean;
175
- /**
176
- * @remarks
177
- * Indicates whether ping requests are automatically sent to detect network latency if a detection task fails. Valid values:
178
- *
179
- * * false (default): Ping requests are not automatically sent to detect network latency if a detection task fails.
180
- * * true: Ping requests are automatically sent to detect network latency if a detection task fails.
181
- *
182
- * @example
183
- * false
184
- */
185
71
  diagnosisPing?: boolean;
186
- /**
187
- * @remarks
188
- * The relationship between the list of expected aliases or IP addresses and the list of DNS results. Valid values:
189
- *
190
- * * IN_DNS: The list of expected values is a subset of the list of DNS results.
191
- * * DNS_IN: The list of DNS results is a subset of the list of expected values.
192
- * * EQUAL: The list of DNS results is the same as the list of expected values.
193
- * * ANY: The list of DNS results intersects with the list of expected values.
194
- *
195
- * @example
196
- * IN_DNS
197
- */
198
72
  dnsMatchRule?: string;
199
- /**
200
- * @remarks
201
- * The domain name or IP address of the DNS server.
202
- *
203
- * @example
204
- * 192.168.XX.XX
205
- */
206
73
  dnsServer?: string;
207
- /**
208
- * @remarks
209
- * The type of the DNS record. This parameter is returned only if the TaskType parameter is set to DNS. Valid values:
210
- *
211
- * * A (default): a record that specifies an IP address related to the specified host name or domain name.
212
- * * CNAME: a record that maps multiple domain names to a domain name.
213
- * * NS: a record that specifies a DNS server used to parse domain names.
214
- * * MX: a record that links domain names to the address of a mail server.
215
- * * TXT: a record that stores the text information of host name or domain names. The text must be 1 to 512 bytes in length. The TXT record serves as a Sender Policy Framework (SPF) record to fight against spam.
216
- * * AAAA: a record that maps a domain name to the relevant IPv6 address.
217
- *
218
- * @example
219
- * A
220
- */
221
74
  dnsType?: string;
222
- /**
223
- * @remarks
224
- * Indicates whether the DNS server of the carrier is used.
225
- *
226
- * * true (default): The DNS server of the carrier is used.
227
- * * false: The DNS server of the carrier is not used. The default DNS server or the specified DNS server is used.
228
- *
229
- * @example
230
- * true
231
- */
232
75
  enableOperatorDns?: boolean;
233
- /**
234
- * @remarks
235
- * The packet loss rate.
236
- *
237
- * > This parameter is returned only if the TaskType parameter is set to PING.
238
- *
239
- * @example
240
- * 0.5
241
- */
242
76
  failureRate?: number;
243
- /**
244
- * @remarks
245
- * The header of the HTTP request. An HTTP header is a key-value pair in which the key and the value are separated by a colon (:). The format is `key1:value1`. Each HTTP header occupies a line.
246
- *
247
- * @example
248
- * testKey:testValue
249
- */
250
77
  header?: string;
251
- /**
252
- * @remarks
253
- * The HTTP request method. Valid values:
254
- *
255
- * * get
256
- * * post
257
- * * head
258
- *
259
- * @example
260
- * get
261
- */
262
78
  httpMethod?: string;
263
- /**
264
- * @remarks
265
- * Indicates whether the password is decoded by using the Base64 algorithm. Valid values:
266
- *
267
- * * true: The password is decoded by using the Base64 algorithm.
268
- * * false (default): The password is not decoded by using the Base64 algorithm.
269
- *
270
- * @example
271
- * false
272
- */
273
79
  isBase64Encode?: string;
274
- /**
275
- * @remarks
276
- * Indicates whether the alert rule is included. Valid values:
277
- *
278
- * * 0: The alert rule is included.
279
- * * 1: The alert rule is not included.
280
- *
281
- * @example
282
- * 0
283
- */
284
80
  matchRule?: number;
285
- /**
286
- * @remarks
287
- * The password of the SMTP, POP3, or FTP protocol.
288
- *
289
- * @example
290
- * 123****
291
- */
292
81
  password?: string;
293
- /**
294
- * @remarks
295
- * The number of hops for the PING protocol.
296
- *
297
- * @example
298
- * 20
299
- */
300
82
  pingNum?: number;
301
- /**
302
- * @remarks
303
- * The port number of the TCP, UDP, SMTP, or POP3 protocol.
304
- *
305
- * @example
306
- * 80
307
- */
308
83
  port?: number;
309
- /**
310
- * @remarks
311
- * The protocol type of DNS detection. Valid values:
312
- *
313
- * * udp (default)
314
- * * tcp
315
- * * tcp-tls
316
- *
317
- * @example
318
- * udp
319
- */
320
84
  protocol?: string;
321
- /**
322
- * @remarks
323
- * Indicates whether the PROXY protocol is enabled. Valid values:
324
- *
325
- * * false (default): The PROXY protocol is disabled.
326
- * * true: The PROXY protocol is enabled.
327
- *
328
- * @example
329
- * false
330
- */
331
85
  proxyProtocol?: boolean;
332
- /**
333
- * @remarks
334
- * The content of the HTTP request.
335
- *
336
- * @example
337
- * cf0f85
338
- */
339
86
  requestContent?: string;
340
- /**
341
- * @remarks
342
- * The format of the HTTP request. Valid values:
343
- *
344
- * * hex: hexadecimal
345
- * * txt: text
346
- *
347
- * @example
348
- * hex
349
- */
350
87
  requestFormat?: string;
351
- /**
352
- * @remarks
353
- * The response to the HTTP request.
354
- *
355
- * * Hexadecimal format: If the request content is a byte string and cannot be represented in printable characters, you can convert the byte string to printable characters in the hexadecimal format. If you convert the byte string to printable characters in the hexadecimal format, one byte is converted to two hexadecimal characters. For example, (byte)1 is converted to `01` and (byte)27 is converted to `1B`. If the request content is a binary array in the Java format, for example, `{(byte)1, (byte)27}`, you can convert the binary array to `011b` or `011B`. Hexadecimal characters are not case-sensitive in site monitoring tasks. You can enter `011B` in the request content and set the request_format parameter to hex.
356
- * * Text format: Common text refers to strings that consist of printable characters.
357
- *
358
- * @example
359
- * cf0f85
360
- */
361
88
  responseContent?: string;
362
- /**
363
- * @remarks
364
- * The format of the HTTP response. Valid values:
365
- *
366
- * * hex: hexadecimal
367
- * * txt: text
368
- *
369
- * @example
370
- * hex
371
- */
372
89
  responseFormat?: string;
373
- /**
374
- * @remarks
375
- * The number of times a failed detection request is retried.
376
- *
377
- * @example
378
- * 1
379
- */
380
90
  retryDelay?: number;
381
- /**
382
- * @remarks
383
- * The timeout period. Unit: milliseconds.
384
- *
385
- * @example
386
- * 3000
387
- */
388
91
  timeOut?: number;
389
- /**
390
- * @remarks
391
- * Indicates whether redirects are followed if the status code 301 or 302 is returned. Valid values:
392
- *
393
- * * true: Redirects are not followed.
394
- * * false (default): Redirects are followed.
395
- *
396
- * @example
397
- * false
398
- */
399
92
  unfollowRedirect?: boolean;
400
- /**
401
- * @remarks
402
- * The username of the FTP, SMTP, or POP3 protocol.
403
- *
404
- * @example
405
- * testUser
406
- */
407
93
  username?: string;
408
94
  static names(): { [key: string]: string } {
409
95
  return {
@@ -488,88 +174,15 @@ export class DescribeSiteMonitorListResponseBodySiteMonitorsSiteMonitorOptionsJs
488
174
  }
489
175
 
490
176
  export class DescribeSiteMonitorListResponseBodySiteMonitorsSiteMonitor extends $dara.Model {
491
- /**
492
- * @remarks
493
- * The URL or IP address that is monitored by the site monitoring task.
494
- *
495
- * @example
496
- * https://aliyun.com
497
- */
498
177
  address?: string;
499
- /**
500
- * @remarks
501
- * The detection point type. Valid values:
502
- *
503
- * * PC
504
- * * MOBILE
505
- *
506
- * @example
507
- * PC
508
- */
509
178
  agentGroup?: string;
510
- /**
511
- * @remarks
512
- * The time when the site monitoring task was created.
513
- *
514
- * @example
515
- * 2021-11-01 11:05:18
516
- */
517
179
  createTime?: string;
518
- /**
519
- * @remarks
520
- * The interval at which detection requests are sent. Unit: minutes.
521
- *
522
- * @example
523
- * 1
524
- */
525
180
  interval?: string;
526
- /**
527
- * @remarks
528
- * The extended options of the site monitoring task. The options vary based on the specified protocol. For more information, see [CreateSiteMonitor](https://help.aliyun.com/document_detail/115048.html).
529
- */
530
181
  optionsJson?: DescribeSiteMonitorListResponseBodySiteMonitorsSiteMonitorOptionsJson;
531
- /**
532
- * @remarks
533
- * The ID of the site monitoring task.
534
- *
535
- * @example
536
- * f5783760-1b39-4b6b-80e8-453d962a****
537
- */
538
182
  taskId?: string;
539
- /**
540
- * @remarks
541
- * The name of the site monitoring task.
542
- *
543
- * @example
544
- * 域名检测_example.com.cn
545
- */
546
183
  taskName?: string;
547
- /**
548
- * @remarks
549
- * The task status. Valid values:
550
- *
551
- * * 1: The task is enabled.
552
- * * 2: The task is disabled.
553
- *
554
- * @example
555
- * 1
556
- */
557
184
  taskState?: string;
558
- /**
559
- * @remarks
560
- * The protocol that is used by the site monitoring task. Valid values: HTTP, PING, TCP, UDP, DNS, SMTP, POP3, and FTP.
561
- *
562
- * @example
563
- * TCP
564
- */
565
185
  taskType?: string;
566
- /**
567
- * @remarks
568
- * The time when the site monitoring task was updated.
569
- *
570
- * @example
571
- * 2022-03-08 17:14:31
572
- */
573
186
  updateTime?: string;
574
187
  static names(): { [key: string]: string } {
575
188
  return {
@@ -682,10 +295,6 @@ export class DescribeSiteMonitorListResponseBody extends $dara.Model {
682
295
  * A80DB41C-AF6C-50E1-ADB5-66DCBA3D266B
683
296
  */
684
297
  requestId?: string;
685
- /**
686
- * @remarks
687
- * The site monitoring tasks that are returned.
688
- */
689
298
  siteMonitors?: DescribeSiteMonitorListResponseBodySiteMonitors;
690
299
  /**
691
300
  * @remarks
@@ -3,99 +3,16 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeSystemEventAttributeResponseBodySystemEventsSystemEvent extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The details of the event.
9
- *
10
- * @example
11
- * [{"product":"CloudMonitor","content":"{\\"ipGroup\\":\\"112.126.XX.XX,10.163.XX.XX\\",\\"tianjimonVersion\\":\\"1.2.22\\"}","groupId":"176,177,178,179,180,692,120812,1663836,96,2028302","time":"1552209568000","resourceId":"acs:ecs:cn-beijing:173651113438****:instance/i-25k35****","level":"CRITICAL","status":"stopped","instanceName":"cmssiteprobebj-6","name":"Agent_Status_Stopped","regionId":"cn-beijing"}]
12
- */
13
6
  content?: string;
14
- /**
15
- * @remarks
16
- * The ID of the application group.
17
- *
18
- * @example
19
- * 12345
20
- */
21
7
  groupId?: string;
22
- /**
23
- * @remarks
24
- * The event ID.
25
- *
26
- * @example
27
- * b936efc9-f621-4e8a-a6eb-076be40e****
28
- */
29
8
  id?: string;
30
- /**
31
- * @remarks
32
- * The instance name.
33
- *
34
- * @example
35
- * instanceId1
36
- */
37
9
  instanceName?: string;
38
- /**
39
- * @remarks
40
- * The level of the event. Valid values:
41
- *
42
- * * CRITICAL
43
- * * WARN
44
- * * INFO
45
- *
46
- * @example
47
- * WARN
48
- */
49
10
  level?: string;
50
- /**
51
- * @remarks
52
- * The event name.
53
- *
54
- * @example
55
- * Agent_Status_Stopped
56
- */
57
11
  name?: string;
58
- /**
59
- * @remarks
60
- * The abbreviation of the service name.
61
- *
62
- * @example
63
- * CloudMonitor
64
- */
65
12
  product?: string;
66
- /**
67
- * @remarks
68
- * The region ID.
69
- *
70
- * @example
71
- * cn-hangzhou
72
- */
73
13
  regionId?: string;
74
- /**
75
- * @remarks
76
- * The resource ID.
77
- *
78
- * @example
79
- * xxxxx-1
80
- */
81
14
  resourceId?: string;
82
- /**
83
- * @remarks
84
- * The status of the event.
85
- *
86
- * @example
87
- * normal
88
- */
89
15
  status?: string;
90
- /**
91
- * @remarks
92
- * The time when the event occurred. The value is a timestamp.
93
- *
94
- * Unit: milliseconds.
95
- *
96
- * @example
97
- * 1552199984000
98
- */
99
16
  time?: number;
100
17
  static names(): { [key: string]: string } {
101
18
  return {
@@ -199,10 +116,6 @@ export class DescribeSystemEventAttributeResponseBody extends $dara.Model {
199
116
  * true
200
117
  */
201
118
  success?: string;
202
- /**
203
- * @remarks
204
- * The details of the event.
205
- */
206
119
  systemEvents?: DescribeSystemEventAttributeResponseBodySystemEvents;
207
120
  static names(): { [key: string]: string } {
208
121
  return {
@@ -3,94 +3,16 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeSystemEventCountResponseBodySystemEventCountsSystemEventCount extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The description of the system event.
9
- */
10
6
  content?: string;
11
- /**
12
- * @remarks
13
- * The ID of the application group.
14
- *
15
- * @example
16
- * 17285****
17
- */
18
7
  groupId?: string;
19
- /**
20
- * @remarks
21
- * The name of the instance.
22
- *
23
- * @example
24
- * ECS-test
25
- */
26
8
  instanceName?: string;
27
- /**
28
- * @remarks
29
- * The level of the system event. Valid values:
30
- *
31
- * * Critical
32
- * * Warn
33
- * * Info
34
- *
35
- * @example
36
- * Info
37
- */
38
9
  level?: string;
39
- /**
40
- * @remarks
41
- * The name of the system event.
42
- *
43
- * @example
44
- * Instance:StateChange
45
- */
46
10
  name?: string;
47
- /**
48
- * @remarks
49
- * The number of times that the system event has occurred.
50
- *
51
- * @example
52
- * 3
53
- */
54
11
  num?: number;
55
- /**
56
- * @remarks
57
- * The name of the cloud service in which the system event occurred.
58
- *
59
- * @example
60
- * ECS
61
- */
62
12
  product?: string;
63
- /**
64
- * @remarks
65
- * The region ID.
66
- *
67
- * @example
68
- * cn-hangzhou
69
- */
70
13
  regionId?: string;
71
- /**
72
- * @remarks
73
- * The resource ID.
74
- *
75
- * @example
76
- * i-rj99xc6cptkk64ml****
77
- */
78
14
  resourceId?: string;
79
- /**
80
- * @remarks
81
- * The status of the system event.
82
- *
83
- * @example
84
- * Normal
85
- */
86
15
  status?: string;
87
- /**
88
- * @remarks
89
- * The time when the system event occurred. The value is a timestamp. Unit: milliseconds.
90
- *
91
- * @example
92
- * 1635993751000
93
- */
94
16
  time?: number;
95
17
  static names(): { [key: string]: string } {
96
18
  return {
@@ -199,10 +121,6 @@ export class DescribeSystemEventCountResponseBody extends $dara.Model {
199
121
  * true
200
122
  */
201
123
  success?: string;
202
- /**
203
- * @remarks
204
- * The details of the system event.
205
- */
206
124
  systemEventCounts?: DescribeSystemEventCountResponseBodySystemEventCounts;
207
125
  static names(): { [key: string]: string } {
208
126
  return {
@@ -3,33 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeSystemEventHistogramResponseBodySystemEventHistogramsSystemEventHistogram extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The number of times the system event occurred.
9
- *
10
- * @example
11
- * 2
12
- */
13
6
  count?: number;
14
- /**
15
- * @remarks
16
- * The end time.
17
- *
18
- * This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
19
- *
20
- * @example
21
- * 1552225753000
22
- */
23
7
  endTime?: number;
24
- /**
25
- * @remarks
26
- * The start time.
27
- *
28
- * This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
29
- *
30
- * @example
31
- * 1552225770000
32
- */
33
8
  startTime?: number;
34
9
  static names(): { [key: string]: string } {
35
10
  return {
@@ -117,10 +92,6 @@ export class DescribeSystemEventHistogramResponseBody extends $dara.Model {
117
92
  * true
118
93
  */
119
94
  success?: string;
120
- /**
121
- * @remarks
122
- * The information about the number of times the system event occurred during each interval of a time period.
123
- */
124
95
  systemEventHistograms?: DescribeSystemEventHistogramResponseBodySystemEventHistograms;
125
96
  static names(): { [key: string]: string } {
126
97
  return {