1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'RPC', 'product' => 'cms-export', 'version' => '2021-11-01'],
'directories' => ['BatchGet', 'Cursor'],
'components' => [
'schemas' => [],
],
'apis' => [
'BatchGet' => [
'summary' => 'Exports monitoring data defined in the Cursor operation.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Namespace',
'in' => 'formData',
'schema' => ['description' => 'The namespace of the cloud service.'."\n"
."\n"
.'For information about how to obtain the namespace of a cloud service, see [Cloud service metrics](~~163515~~).'."\n"
."\n"
.'> This parameter must be the same as the Namespace request parameter in the Cursor operation.', 'type' => 'string', 'required' => true, 'example' => 'acs_ecs_dashboard', 'title' => ''],
],
[
'name' => 'Metric',
'in' => 'formData',
'schema' => ['description' => 'The metric name of the cloud service.'."\n"
."\n"
.'For information about how to obtain the metric name of a cloud service, see [Cloud service metrics](~~163515~~).'."\n"
."\n"
.'> This parameter must be the same as the Metric request parameter in the Cursor operation.', 'type' => 'string', 'required' => true, 'example' => 'cpu_idle', 'title' => ''],
],
[
'name' => 'Cursor',
'in' => 'formData',
'schema' => ['description' => 'The cursor value that must be specified when you call this operation in a loop to export data. You can obtain the cursor value by using the following methods:'."\n"
."\n"
.'- When you call this operation for the first time, call the Cursor operation to obtain the cursor value. For more information, see [Cursor](~~391206~~).'."\n"
."\n"
.'- When you call this operation again, obtain the cursor value from the response of the previous call.', 'type' => 'string', 'required' => true, 'example' => 'eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0MzIwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQ3NTY2MzYzMjY3NmI2ZjM5MzU2YjY4MzAzMTYyNzg3MTcwNjkzMTM3MjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTQ3OTU4MjMsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTQ3OTU4MjMsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDE5NTgyMywiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDE5NTgyMywic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2****', 'title' => ''],
],
[
'name' => 'Length',
'in' => 'formData',
'schema' => ['description' => 'The maximum number of data entries returned each time.'."\n"
."\n"
.'Valid values: 1 to 10000.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1000', 'title' => ''],
],
[
'name' => 'CompressionType',
'in' => 'formData',
'schema' => ['description' => 'The compression type of the monitoring data.'."\n"
."\n"
.'Only `normal` (no compression) is supported.', 'type' => 'string', 'required' => false, 'example' => 'normal', 'title' => ''],
],
[
'name' => 'RecordKeyWhiteList',
'in' => 'formData',
'schema' => ['description' => 'The whitelist of statistical methods for the metric.'."\n"
."\n"
.'- If you do not set this parameter, monitoring data of all statistical methods for the metric is returned.'."\n"
."\n"
.'- If you set this parameter, only monitoring data of the statistical methods in the whitelist is returned.'."\n"
."\n"
.'For information about how to obtain the statistical methods of a metric, see the `Statistics` parameter in [Cloud service metrics](~~163515~~).', 'type' => 'string', 'required' => false, 'example' => 'Maximum', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '251402CD-305C-1617-808E-D8C11FC8138D'],
'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
'Data' => [
'description' => 'The returned data body.',
'type' => 'object',
'properties' => [
'Cursor' => ['description' => 'The cursor used to call this operation again.'."\n"
."\n"
.'> If the returned value is `null`, the monitoring data export is complete.', 'type' => 'string', 'example' => 'eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0ODAwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQzMjdhNjU2MjY3N2E2NjZhNzczOTY2NmM3Mjc0NjM3MzY5Njg3NDcyMjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2MH0=', 'title' => ''],
'Records' => [
'description' => 'The list of exported monitoring data.',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'Namespace' => ['description' => 'The namespace of the cloud service.', 'type' => 'string', 'example' => 'acs_ecs_dashboard', 'title' => ''],
'Metric' => ['description' => 'The metric name of the cloud service.', 'type' => 'string', 'example' => 'cpu_idle', 'title' => ''],
'MeasureLabels' => [
'description' => 'The keys of the statistical methods for the metric.'."\n"
."\n"
.'The statistical methods are in the format of a collection of key-value pairs.',
'type' => 'array',
'items' => ['description' => 'The keys of the statistical methods for the metric.'."\n"
."\n"
.'The statistical methods are in the format of a collection of key-value pairs.', 'type' => 'string', 'example' => '[Minimum, Maximum, Average]', 'title' => ''],
'title' => '',
'example' => '',
],
'MeasureValues' => [
'description' => 'The values of the statistical methods for the metric.'."\n"
."\n"
.'The statistical methods are in the format of a collection of key-value pairs.',
'type' => 'array',
'items' => ['description' => 'The values of the statistical methods for the metric.'."\n"
."\n"
.'The statistical methods are in the format of a collection of key-value pairs.', 'type' => 'string', 'example' => '[0.71, 0.81, 0.91]', 'title' => ''],
'title' => '',
'example' => '',
],
'Labels' => [
'description' => 'The keys of the metric dimensions.'."\n"
."\n"
.'The metric dimensions are in the format of a collection of key-value pairs.',
'type' => 'array',
'items' => ['description' => 'The keys of the metric dimensions.'."\n"
."\n"
.'The metric dimensions are in the format of a collection of key-value pairs.', 'type' => 'string', 'example' => '[instanceId, userId]', 'title' => ''],
'title' => '',
'example' => '',
],
'LabelValues' => [
'description' => 'The values of the metric dimensions.'."\n"
."\n"
.'The metric dimensions are in the format of a collection of key-value pairs.',
'type' => 'array',
'items' => ['description' => 'The values of the metric dimensions.'."\n"
."\n"
.'The metric dimensions are in the format of a collection of key-value pairs.', 'type' => 'string', 'example' => '[i-0jl0z6wbjh8w4xcv****, 173651113438****]', 'title' => ''],
'title' => '',
'example' => '',
],
'Tags' => [
'description' => 'The tag keys of the resource.'."\n"
."\n"
.'> This parameter is empty.',
'type' => 'array',
'items' => ['description' => 'The tag keys of the resource.'."\n"
."\n"
.'> This parameter is empty.', 'type' => 'string', 'example' => '-', 'title' => ''],
'title' => '',
'example' => '',
],
'TagValues' => [
'description' => 'The tag values of the resource.'."\n"
."\n"
.'> This parameter is empty.',
'type' => 'array',
'items' => ['description' => 'The tag values of the resource.'."\n"
."\n"
.'> This parameter is empty.', 'type' => 'string', 'example' => '-', 'title' => ''],
'title' => '',
'example' => '',
],
'Timestamp' => ['description' => 'The timestamp of the monitoring data.'."\n"
."\n"
.'Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1641454680000', 'title' => ''],
'Period' => ['description' => 'The statistical period of the monitoring data.'."\n"
."\n"
.'Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'Length' => ['description' => 'The maximum number of data entries returned each time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
'CompressionKeys' => [
'description' => 'The keys of the monitoring data compression type.'."\n"
."\n"
.'> When CompressionType is set to `normal`, this parameter is empty.',
'type' => 'array',
'items' => ['description' => 'The keys of the monitoring data compression type.'."\n"
."\n"
.'> When CompressionType is set to `normal`, this parameter is empty.', 'type' => 'string', 'example' => '-', 'title' => ''],
'title' => '',
'example' => '',
],
'CompressionValues' => [
'description' => 'The values of the monitoring data compression type.',
'type' => 'array',
'items' => [
'description' => 'The values of the monitoring data compression type.'."\n"
."\n"
.'> When CompressionType is set to `normal`, this parameter is empty.',
'type' => 'array',
'items' => ['description' => 'The value of the monitoring data compression type.'."\n"
."\n"
.'> If CompressionType is set to `normal`, this parameter is empty.', 'type' => 'string', 'example' => '-', 'title' => ''],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'__anchorTs__' => ['description' => 'The anchor timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1727085162975', 'title' => ''],
],
'title' => '',
'example' => '',
],
'Code' => ['description' => 'The status code.'."\n"
."\n"
.'> 200 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Success' => ['description' => 'Indicates whether the operation was successful. Valid values:'."\n"
."\n"
.'- true: The operation was successful.'."\n"
."\n"
.'- false: The operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"251402CD-305C-1617-808E-D8C11FC8138D\\",\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"Cursor\\": \\"eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0ODAwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQzMjdhNjU2MjY3N2E2NjZhNzczOTY2NmM3Mjc0NjM3MzY5Njg3NDcyMjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2MH0=\\",\\n \\"Records\\": [\\n {\\n \\"Namespace\\": \\"acs_ecs_dashboard\\",\\n \\"Metric\\": \\"cpu_idle\\",\\n \\"MeasureLabels\\": [\\n \\"[Minimum, Maximum, Average]\\"\\n ],\\n \\"MeasureValues\\": [\\n \\"[0.71, 0.81, 0.91]\\"\\n ],\\n \\"Labels\\": [\\n \\"[instanceId, userId]\\"\\n ],\\n \\"LabelValues\\": [\\n \\"[i-0jl0z6wbjh8w4xcv****, 173651113438****]\\"\\n ],\\n \\"Tags\\": [\\n \\"-\\"\\n ],\\n \\"TagValues\\": [\\n \\"-\\"\\n ],\\n \\"Timestamp\\": 1641454680000,\\n \\"Period\\": 60\\n }\\n ],\\n \\"Length\\": 1000,\\n \\"CompressionKeys\\": [\\n \\"-\\"\\n ],\\n \\"CompressionValues\\": [\\n [\\n \\"-\\"\\n ]\\n ],\\n \\"__anchorTs__\\": 1727085162975\\n },\\n \\"Code\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => 'Export monitoring data',
'description' => '### Before you begin'."\n"
.'Make sure that you have called the Cursor operation to obtain the initial `Cursor`. For more information, see [Cursor](~~391206~~).'."\n"
."\n"
.'### Operation description'."\n"
.'This topic provides an example on how to export monitoring data of the initial `Cursor` for the `cpu_idle` metric of the cloud service `acs_ecs_dashboard`, with a maximum of 1000 data entries returned each time.',
'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~382265~~).',
'changeSet' => [],
],
'Cursor' => [
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'Namespace',
'in' => 'formData',
'schema' => ['description' => 'The data namespace of the cloud service.'."\n"
."\n"
.'For information about how to obtain the data namespace of a cloud service, see [Cloud service metrics](~~163515~~).', 'type' => 'string', 'required' => true, 'example' => 'acs_ecs_dashboard', 'title' => ''],
],
[
'name' => 'Metric',
'in' => 'formData',
'schema' => ['description' => 'The metric name of the cloud service.'."\n"
."\n"
.'For information about how to obtain the metric name of a cloud service, see [Cloud service metrics](~~163515~~).', 'type' => 'string', 'required' => true, 'example' => 'cpu_idle', 'title' => ''],
],
[
'name' => 'Period',
'in' => 'formData',
'schema' => ['description' => 'The interval of the metric.'."\n"
."\n"
.'Unit: seconds.'."\n"
."\n"
.'> The interval of a metric is typically 60 seconds. For special values, see the `Period` parameter in [Cloud service metrics](~~163515~~).', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60', 'title' => ''],
],
[
'name' => 'StartTime',
'in' => 'formData',
'schema' => ['description' => 'The start timestamp.'."\n"
."\n"
.'Unit: milliseconds.'."\n"
."\n"
.'> Because monitoring data in CloudMonitor is retained for only 90 days, the interval between the start time and the current time should be no more than 90 days.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1641627000000', 'title' => ''],
],
[
'name' => 'EndTime',
'in' => 'formData',
'schema' => ['description' => 'The end timestamp.'."\n"
."\n"
.'Unit: milliseconds.'."\n"
."\n"
.'> The end time has no limit and can be set to a future time.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1641645000000', 'title' => ''],
],
[
'name' => 'Matchers',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The dimension information of the metric.',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'Label' => ['description' => 'The key of the metric dimension.'."\n"
."\n"
.'The metric dimension is in the format of a collection of key-value pairs, for example, `instanceId:i-2ze2d6j5uhg20x47****` or `userId:120886317861****`.'."\n"
."\n"
.'For information about how to obtain the dimensions of a metric, see the `Dimension` parameter in [Cloud service metrics](~~163515~~).', 'type' => 'string', 'required' => false, 'example' => 'userId', 'title' => ''],
'Value' => ['description' => 'The value of the metric dimension.'."\n"
."\n"
.'The metric dimension is in the format of a collection of key-value pairs, for example, `instanceId:i-2ze2d6j5uhg20x47****` or `userId:120886317861****`.'."\n"
."\n"
.'For information about how to obtain the dimensions of a metric, see the `Dimension` parameter in [Cloud service metrics](~~163515~~).', 'type' => 'string', 'required' => false, 'example' => '120886317861****', 'title' => ''],
'Operator' => ['description' => 'The matching relationship of the metric dimension.'."\n"
."\n"
.'Currently, only EQUALS is supported.', 'type' => 'string', 'required' => false, 'example' => 'EQUALS', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '915C2D7A-E6A4-17C3-8E13-4DBDD61E7919', 'title' => ''],
'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
'Data' => [
'description' => 'The returned data.',
'type' => 'object',
'properties' => [
'Cursor' => ['description' => 'The cursor used for the initial call to the BatchGet operation.', 'type' => 'string', 'example' => 'eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0MzIwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQ3NTY2MzYzMjY3NmI2ZjM5MzU2YjY4MzAzMTYyNzg3MTcwNjkzMTM3MjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTQ3OTU4MjMsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTQ3OTU4MjMsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDE5NTgyMywiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDE5NTgyMywic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2****', 'title' => ''],
],
'title' => '',
'example' => '',
],
'Code' => ['description' => 'The status code.'."\n"
."\n"
.'> 200 indicates success.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'Success' => ['description' => 'Indicates whether the operation was successful. Valid values:'."\n"
."\n"
.'- true: The operation was successful.'."\n"
."\n"
.'- false: The operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
],
'example' => '',
],
],
],
'title' => 'Obtain initial cursor for data export',
'summary' => 'Defines the scope of monitoring data to export and returns the Cursor parameter for the initial call to the BatchGet operation.',
'description' => '### Before you begin'."\n"
.'Make sure that you have activated Hybrid Cloud Monitoring. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).'."\n"
."\n"
.'### Background information'."\n"
.'Call this operation to obtain the initial Cursor, and then call the BatchGet operation to export monitoring data. For more information, see [BatchGet](~~391205~~).'."\n"
."\n"
.'### Operation description'."\n"
.'This topic provides an example on how to define the export scope for the `cpu_idle` metric of the `acs_ecs_dashboard` cloud service at 60-second intervals from `1641627000000` (2022-01-08 15:30:00) to `1641645000000` (2022-01-08 20:30:00). The `Cursor` information is returned.',
'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~382265~~).',
'changeSet' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"915C2D7A-E6A4-17C3-8E13-4DBDD61E7919\\",\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"Cursor\\": \\"eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0MzIwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQ3NTY2MzYzMjY3NmI2ZjM5MzU2YjY4MzAzMTYyNzg3MTcwNjkzMTM3MjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTQ3OTU4MjMsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTQ3OTU4MjMsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDE5NTgyMywiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDE5NTgyMywic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2****\\"\\n },\\n \\"Code\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]',
],
],
'endpoints' => [
['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cms-export.cn-shanghai.aliyuncs.com', 'endpoint' => 'cms-export.cn-shanghai.aliyuncs.com', 'vpc' => 'cms-export-vpc.cn-shanghai.aliyuncs.com'],
],
'errorCodes' => [],
'changeSet' => [],
];
|