summaryrefslogtreecommitdiff
path: root/data/zh_cn/cms/2017-03-01/api-docs.php
blob: a7686ca7f0d7df4de488348c56b990534a665710 (plain)
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
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'RPC', 'product' => 'Cms', 'version' => '2017-03-01'],
    'directories' => [
        [
            'id' => 0,
            'title' => '其它',
            'type' => 'directory',
            'children' => ['CreateAlarm', 'DeleteAlarm', 'DescribeAlarms', 'DisableAlarm', 'EnableAlarm', 'ListAlarm', 'ListAlarmHistory', 'NodeInstall', 'NodeStatus', 'NodeStatusList', 'PutCustomMetric', 'QueryMetricLast', 'QueryMetricList', 'UpdateAlarm'],
        ],
    ],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'CreateAlarm' => [
            'summary' => 'CreateAlarm',
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'Name',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'callby_cms_owner',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Namespace',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'MetricName',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'Dimensions',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'Period',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '300'],
                ],
                [
                    'name' => 'Statistics',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'ComparisonOperator',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'Threshold',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'EvaluationCount',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '3'],
                ],
                [
                    'name' => 'ContactGroups',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'StartTime',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0'],
                ],
                [
                    'name' => 'EndTime',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '24'],
                ],
                [
                    'name' => 'SilenceTime',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '86400'],
                ],
                [
                    'name' => 'NotifyType',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                ],
                [
                    'name' => 'Webhook',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['type' => 'string'],
                            'Message' => ['type' => 'string'],
                            'Data' => ['type' => 'string'],
                            'RequestId' => ['type' => 'string'],
                            'Success' => ['type' => 'boolean'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '',
        ],
        'DeleteAlarm' => [
            'summary' => 'DeleteAlarm',
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'callby_cms_owner',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Id',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['type' => 'string'],
                            'Message' => ['type' => 'string'],
                            'RequestId' => ['type' => 'string'],
                            'Success' => ['type' => 'boolean'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '',
        ],
        'DescribeAlarms' => [
            'summary' => '查询告警信息。',
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'GroupId',
                    'in' => 'query',
                    'schema' => ['description' => '分组ID', 'type' => 'string', 'required' => false, 'example' => '239758093'],
                ],
                [
                    'name' => 'GroupBy',
                    'in' => 'query',
                    'schema' => ['description' => '分组的groupby。', 'type' => 'string', 'required' => false, 'example' => 'product'],
                ],
                [
                    'name' => 'MetricName',
                    'in' => 'query',
                    'schema' => ['description' => '监控项名称', 'type' => 'string', 'required' => false, 'example' => 'cpu_total'],
                ],
                [
                    'name' => 'EnableState',
                    'in' => 'query',
                    'schema' => ['description' => '报警的启用状态。取值:'."\n"
                        .'- true:启用。'."\n"
                        .'- false:禁用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
                ],
                [
                    'name' => 'Namespace',
                    'in' => 'query',
                    'schema' => ['description' => '命名空间', 'type' => 'string', 'required' => false, 'example' => 'default-aliyun'],
                ],
                [
                    'name' => 'Page',
                    'in' => 'query',
                    'schema' => ['description' => '页码。默认值:1。', 'type' => 'string', 'required' => false, 'example' => '1'],
                ],
                [
                    'name' => 'PageSize',
                    'in' => 'query',
                    'schema' => ['description' => '每页显示记录条数。', 'type' => 'string', 'required' => false, 'example' => '10'],
                ],
                [
                    'name' => 'AlertState',
                    'in' => 'query',
                    'schema' => ['description' => '报警规则状态。', 'type' => 'string', 'required' => false, 'example' => 'OK'],
                ],
                [
                    'name' => 'DisplayName',
                    'in' => 'query',
                    'schema' => ['description' => '显示名称。', 'type' => 'string', 'required' => false, 'example' => 'TestAlarm1'],
                ],
                [
                    'name' => 'Names',
                    'in' => 'query',
                    'schema' => ['description' => '报警名称。', 'type' => 'string', 'required' => false, 'example' => 'metricRuleTargets-20180308ofoa'],
                ],
                [
                    'name' => 'NameKeyword',
                    'in' => 'query',
                    'schema' => ['description' => '关键字。', 'type' => 'string', 'required' => false, 'example' => 'key1'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '4D3907D7-F747-582F-9A08-D32362857B5F'],
                            'Success' => ['description' => '操作是否成功。取值:'."\n"
                                ."\n"
                                .'- true:成功。'."\n"
                                ."\n"
                                .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
                            'Code' => ['description' => '状态码。说明 200表示成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
                            'Message' => ['description' => '消息。', 'type' => 'string', 'example' => 'success'],
                            'TraceId' => ['description' => '调用链ID。', 'type' => 'string', 'example' => '403F0D3A-30FB-5BB1-9F58-14704EA23DC0'],
                            'Total' => ['description' => '结果总数。', 'type' => 'string', 'example' => '23810'],
                            'Datapoints' => [
                                'type' => 'object',
                                'itemNode' => true,
                                'properties' => [
                                    'Alarm' => [
                                        'description' => '报警数组',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => '报警对象',
                                            'type' => 'object',
                                            'properties' => [
                                                'DisplayName' => ['description' => '显示名称', 'type' => 'string', 'example' => '过去5分钟的系统平均负载'],
                                                'MetricName' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'ResponseTime'],
                                                'EffectiveInterval' => ['description' => '报警的生效时间范围。', 'type' => 'string', 'example' => '0:00-23:59'],
                                                'NoEffectiveInterval' => ['description' => '报警不生效的时间段。', 'type' => 'string', 'example' => '00:00-05:30'],
                                                'ComparisonOperator' => ['description' => '比较符', 'type' => 'string', 'example' => 'LessThanLastWeek'],
                                                'Subject' => ['description' => '告警标题', 'type' => 'string', 'example' => 'JHighSchool_Geography'],
                                                'Dimensions' => ['description' => '维度。', 'type' => 'string', 'example' => '[{\\"instanceId\\":\\"i-2ze1f2hf4tda59jxrjim\\"}]'],
                                                'Name' => ['description' => '报警名称。', 'type' => 'string', 'example' => 'yc-api-test-rule-black-0onik7'],
                                                'Resources' => ['description' => '资源名称', 'type' => 'string', 'example' => '{\'Resource\': [{\'Category\': \'K8S_POD\', \'AliUid\': 1530662934927689, \'InstanceId\': \'7ca2a9eb-342d-11ee-a881-669fb70e3d81\', \'RegionId\': \'cn-hangzhou\', \'InstanceName\': \'logtail-fpftv\', \'Id\': 2881183319}]}'],
                                                'Threshold' => ['description' => '报警阈值。', 'type' => 'string', 'example' => '97'],
                                                'SilenceTime' => ['description' => '静默时间。', 'type' => 'string', 'example' => '60'],
                                                'EvaluationCount' => ['description' => '连续探测几次都满足阈值条件时报警。', 'type' => 'string', 'example' => '3'],
                                                'Webhook' => ['description' => '触发报警回调的URL地址。', 'type' => 'string', 'example' => '{\\"method\\":\\"post\\",\\"url\\":\\"https://dns.console.aliyun.com/gtm/webhook/alarm.json?sign=860765935a01fef8f31ea384c11dabc7&aliUid=35160428\\"}'],
                                                'State' => ['description' => '报警状态。', 'type' => 'string', 'example' => 'OK'],
                                                'ContactGroups' => ['description' => '报警联系人组。', 'type' => 'string', 'example' => '云账号报警联系人'],
                                                'Namespace' => ['description' => '命名空间。', 'type' => 'string', 'example' => 'acs_dts'],
                                                'Period' => ['description' => '统计周期。', 'type' => 'string', 'example' => '60'],
                                                'RuleName' => ['description' => '报警规则名称。', 'type' => 'string', 'example' => 'DBS_EVENT_RULE'],
                                                'Uuid' => ['description' => '报警UUID。', 'type' => 'string', 'example' => 'ddd4c5b6-38db-44fa-8ad0-7ce966efc0ba'],
                                                'GroupId' => ['description' => '分组ID。', 'type' => 'string', 'example' => '239954856'],
                                                'GroupName' => ['description' => '分组名称。', 'type' => 'string', 'example' => 'monitor_group_2018_templateNameFail'],
                                                'Level' => ['description' => '报警级别。', 'type' => 'string', 'example' => 'INFO'],
                                                'Enable' => ['description' => '报警的启用状态。取值:'."\n"
                                                    ."\n"
                                                    .'- true:启用。'."\n"
                                                    ."\n"
                                                    .'- false:禁用。', 'type' => 'boolean', 'example' => 'true'],
                                                'Statistics' => ['description' => '统计信息。', 'type' => 'string', 'example' => 'Maximum'],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is not valid.'],
                ],
                403 => [
                    ['errorCode' => 'InvalidAuthorization', 'errorMessage' => 'The Request is not authorization.'],
                ],
                500 => [
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"RequestId\\": \\"4D3907D7-F747-582F-9A08-D32362857B5F\\",\\n  \\"Success\\": true,\\n  \\"Code\\": 200,\\n  \\"Message\\": \\"success\\",\\n  \\"TraceId\\": \\"403F0D3A-30FB-5BB1-9F58-14704EA23DC0\\",\\n  \\"Total\\": \\"23810\\",\\n  \\"Datapoints\\": {\\n    \\"Alarm\\": [\\n      {\\n        \\"DisplayName\\": \\"过去5分钟的系统平均负载\\",\\n        \\"MetricName\\": \\"ResponseTime\\",\\n        \\"EffectiveInterval\\": \\"0:00-23:59\\",\\n        \\"NoEffectiveInterval\\": \\"00:00-05:30\\",\\n        \\"ComparisonOperator\\": \\"LessThanLastWeek\\",\\n        \\"Subject\\": \\"JHighSchool_Geography\\",\\n        \\"Dimensions\\": \\"[{\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"i-2ze1f2hf4tda59jxrjim\\\\\\\\\\\\\\"}]\\",\\n        \\"Name\\": \\"yc-api-test-rule-black-0onik7\\",\\n        \\"Resources\\": \\"{\'Resource\': [{\'Category\': \'K8S_POD\', \'AliUid\': 1530662934927689, \'InstanceId\': \'7ca2a9eb-342d-11ee-a881-669fb70e3d81\', \'RegionId\': \'cn-hangzhou\', \'InstanceName\': \'logtail-fpftv\', \'Id\': 2881183319}]}\\",\\n        \\"Threshold\\": \\"97\\",\\n        \\"SilenceTime\\": \\"60\\",\\n        \\"EvaluationCount\\": \\"3\\",\\n        \\"Webhook\\": \\"{\\\\\\\\\\\\\\"method\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"post\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://dns.console.aliyun.com/gtm/webhook/alarm.json?sign=860765935a01fef8f31ea384c11dabc7&aliUid=35160428\\\\\\\\\\\\\\"}\\",\\n        \\"State\\": \\"OK\\",\\n        \\"ContactGroups\\": \\"云账号报警联系人\\",\\n        \\"Namespace\\": \\"acs_dts\\",\\n        \\"Period\\": \\"60\\",\\n        \\"RuleName\\": \\"DBS_EVENT_RULE\\",\\n        \\"Uuid\\": \\"ddd4c5b6-38db-44fa-8ad0-7ce966efc0ba\\",\\n        \\"GroupId\\": \\"239954856\\",\\n        \\"GroupName\\": \\"monitor_group_2018_templateNameFail\\",\\n        \\"Level\\": \\"INFO\\",\\n        \\"Enable\\": true,\\n        \\"Statistics\\": \\"Maximum\\"\\n      }\\n    ]\\n  }\\n}","type":"json"}]',
            'title' => '查询报警信息',
        ],
        'DisableAlarm' => [
            'summary' => 'DisableAlarm',
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'callby_cms_owner',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Id',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['type' => 'string'],
                            'Message' => ['type' => 'string'],
                            'RequestId' => ['type' => 'string'],
                            'Success' => ['type' => 'boolean'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '',
        ],
        'EnableAlarm' => [
            'summary' => 'EnableAlarm',
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'callby_cms_owner',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Id',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['type' => 'string'],
                            'Message' => ['type' => 'string'],
                            'RequestId' => ['type' => 'string'],
                            'Success' => ['type' => 'boolean'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '',
        ],
        'ListAlarm' => [
            'summary' => '查询指定或全部报警规则设置。',
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'callby_cms_owner',
                    'in' => 'query',
                    'schema' => ['description' => '负责人。', 'type' => 'string', 'required' => false, 'example' => 'user789'],
                ],
                [
                    'name' => 'Id',
                    'in' => 'query',
                    'schema' => ['description' => '报警规则的id。', 'type' => 'string', 'required' => false, 'example' => 'A052CE0CC481AE6F8EE5BFDE8209E39229091623'],
                ],
                [
                    'name' => 'Name',
                    'in' => 'query',
                    'schema' => ['description' => '报警规则名称。', 'type' => 'string', 'required' => false, 'example' => '报警测试'],
                ],
                [
                    'name' => 'Namespace',
                    'in' => 'query',
                    'schema' => ['description' => '命名空间。', 'type' => 'string', 'required' => false, 'example' => 'acs_ecs_dashboard'],
                ],
                [
                    'name' => 'Dimension',
                    'in' => 'query',
                    'schema' => ['description' => '维度', 'type' => 'string', 'required' => false, 'example' => '{\\"clusterId\\":\\"C-9F308DAF783A80DF\\",\\"userId\\":\\"5654008347177444\\"}'],
                ],
                [
                    'name' => 'State',
                    'in' => 'query',
                    'schema' => ['description' => '报警状态。', 'type' => 'string', 'required' => false, 'example' => 'ok'],
                ],
                [
                    'name' => 'IsEnable',
                    'in' => 'query',
                    'schema' => ['description' => '是否启用。取值范围:'."\n"
                        ."\n"
                        .'- true:已启用。'."\n"
                        .'- false:已停用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
                ],
                [
                    'name' => 'PageNumber',
                    'in' => 'query',
                    'schema' => ['description' => '页码,默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'],
                ],
                [
                    'name' => 'PageSize',
                    'in' => 'query',
                    'schema' => ['description' => '每页记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '100'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'NextToken' => ['description' => '下一页,为空代表没有下一页。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
                            'RequestId' => ['description' => '请求ID,一次请求的唯一标识。'."\n", 'type' => 'string', 'example' => 'DC4B526D-D522-59AA-85E2-B6118D4941DC'],
                            'Success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
                            'Code' => ['description' => '状态码。说明 200表示成功。', 'type' => 'string', 'example' => '200'],
                            'Message' => ['description' => '请求返回信息', 'type' => 'string', 'example' => 'success'],
                            'Total' => ['description' => '符合条件数据总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '27'],
                            'AlarmList' => [
                                'type' => 'object',
                                'itemNode' => true,
                                'properties' => [
                                    'Alarm' => [
                                        'description' => '报警列表',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => '报警对象',
                                            'type' => 'object',
                                            'properties' => [
                                                'SilenceTime' => ['description' => '静默时间', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
                                                'MetricName' => ['description' => '监控项的名称。', 'type' => 'string', 'example' => 'cpu_total'],
                                                'EvaluationCount' => ['description' => '连续探测几次都满足阈值条件时报警。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
                                                'Webhook' => ['description' => '触发报警回调的URL地址。', 'type' => 'string', 'example' => '{\\"method\\":\\"post\\",\\"url\\":\\"https://alidns-http-proxy.aliyuncs.com/api/gtm/alert/callback?sign=494b2a13b63a77def1b3b56d63b96d0a&aliUid=1763735399554991\\"}'],
                                                'State' => ['description' => '报警状态。', 'type' => 'string', 'example' => 'ok'],
                                                'ContactGroups' => ['description' => '报警联系组。', 'type' => 'string', 'example' => '云账号报警联系人,阿里_gccs告警'],
                                                'Namespace' => ['description' => '命名空间', 'type' => 'string', 'example' => 'acs_event_sys'],
                                                'Period' => ['description' => '统计周期。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
                                                'EndTime' => ['description' => '查询报警的结束时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '2025-07-06T02:00:14Z'],
                                                'ComparisonOperator' => ['description' => '比较符。', 'type' => 'string', 'example' => 'NotEqualToThreshold'],
                                                'StartTime' => ['description' => '查询报警的起始时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '2025-05-27T16:00:00Z'],
                                                'NotifyType' => ['description' => '通知对象类型', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
                                                'GroupId' => ['description' => '分组ID。', 'type' => 'string', 'example' => '26519034'],
                                                'Dimensions' => ['description' => '维度。', 'type' => 'string', 'example' => '[{instanceId:\'rm-zf83q02vh8r0bzr9c\'}]'],
                                                'Name' => ['description' => '报警名称', 'type' => 'string', 'example' => 'emr测试集群CPU/内存报警静默'],
                                                'Threshold' => ['description' => '报警阈值。', 'type' => 'string', 'example' => '90'],
                                                'Id' => ['description' => '报警规则的id。', 'type' => 'string', 'example' => 'beec0d28-c81e-49f8-aa54-4fc1738be521'],
                                                'Enable' => ['description' => '报警的启用状态。取值:'."\n"
                                                    ."\n"
                                                    .'- true:启用。'."\n"
                                                    ."\n"
                                                    .'- false:禁用。', 'type' => 'boolean', 'example' => 'true'],
                                                'Statistics' => ['description' => '报警统计。', 'type' => 'string', 'example' => 'Maximum'],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"NextToken\\": 2,\\n  \\"RequestId\\": \\"DC4B526D-D522-59AA-85E2-B6118D4941DC\\",\\n  \\"Success\\": true,\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"success\\",\\n  \\"Total\\": 27,\\n  \\"AlarmList\\": {\\n    \\"Alarm\\": [\\n      {\\n        \\"SilenceTime\\": 60,\\n        \\"MetricName\\": \\"cpu_total\\",\\n        \\"EvaluationCount\\": 3,\\n        \\"Webhook\\": \\"{\\\\\\\\\\\\\\"method\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"post\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://alidns-http-proxy.aliyuncs.com/api/gtm/alert/callback?sign=494b2a13b63a77def1b3b56d63b96d0a&aliUid=1763735399554991\\\\\\\\\\\\\\"}\\",\\n        \\"State\\": \\"ok\\",\\n        \\"ContactGroups\\": \\"云账号报警联系人,阿里_gccs告警\\",\\n        \\"Namespace\\": \\"acs_event_sys\\",\\n        \\"Period\\": 60,\\n        \\"EndTime\\": 0,\\n        \\"ComparisonOperator\\": \\"NotEqualToThreshold\\",\\n        \\"StartTime\\": 0,\\n        \\"NotifyType\\": 2,\\n        \\"GroupId\\": \\"26519034\\",\\n        \\"Dimensions\\": \\"[{instanceId:\'rm-zf83q02vh8r0bzr9c\'}]\\",\\n        \\"Name\\": \\"emr测试集群CPU/内存报警静默\\",\\n        \\"Threshold\\": \\"90\\",\\n        \\"Id\\": \\"beec0d28-c81e-49f8-aa54-4fc1738be521\\",\\n        \\"Enable\\": true,\\n        \\"Statistics\\": \\"Maximum\\"\\n      }\\n    ]\\n  }\\n}","type":"json"}]',
            'title' => '查询指定或全部报警规则设置',
        ],
        'ListAlarmHistory' => [
            'summary' => 'ListAlarmHistory',
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'callby_cms_owner',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Id',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Size',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                ],
                [
                    'name' => 'StartTime',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'EndTime',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Cursor',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['type' => 'string'],
                            'Message' => ['type' => 'string'],
                            'Cursor' => ['type' => 'string'],
                            'RequestId' => ['type' => 'string'],
                            'Success' => ['type' => 'boolean'],
                            'AlarmHistoryList' => [
                                'type' => 'object',
                                'itemNode' => true,
                                'properties' => [
                                    'AlarmHistory' => [
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'Status' => ['type' => 'integer', 'format' => 'int32'],
                                                'MetricName' => ['type' => 'string'],
                                                'EvaluationCount' => ['type' => 'integer', 'format' => 'int32'],
                                                'State' => ['type' => 'string'],
                                                'ContactGroups' => ['type' => 'string'],
                                                'Namespace' => ['type' => 'string'],
                                                'Dimension' => ['type' => 'string'],
                                                'LastTime' => ['type' => 'integer', 'format' => 'int64'],
                                                'Value' => ['type' => 'string'],
                                                'AlarmTime' => ['type' => 'integer', 'format' => 'int64'],
                                                'Name' => ['type' => 'string'],
                                                'Id' => ['type' => 'string'],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '',
        ],
        'NodeInstall' => [
            'summary' => 'NodeInstall',
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'UserId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'InstanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Force',
                    'in' => 'query',
                    'schema' => ['type' => 'boolean', 'required' => false, 'default' => 'true'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['type' => 'string'],
                            'ErrorMessage' => ['type' => 'string'],
                            'ErrorCode' => ['type' => 'integer', 'format' => 'int32'],
                            'Success' => ['type' => 'boolean'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '',
        ],
        'NodeStatus' => [
            'summary' => 'NodeStatus',
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'InstanceId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Status' => ['type' => 'string'],
                            'ErrorMessage' => ['type' => 'string'],
                            'RequestId' => ['type' => 'string'],
                            'AutoInstall' => ['type' => 'boolean'],
                            'ErrorCode' => ['type' => 'integer', 'format' => 'int32'],
                            'Success' => ['type' => 'boolean'],
                            'InstanceId' => ['type' => 'string'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '',
        ],
        'NodeStatusList' => [
            'summary' => 'NodeStatusList',
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'InstanceIds',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['type' => 'string'],
                            'ErrorMessage' => ['type' => 'string'],
                            'ErrorCode' => ['type' => 'integer', 'format' => 'int32'],
                            'Success' => ['type' => 'boolean'],
                            'NodeStatusList' => [
                                'type' => 'object',
                                'itemNode' => true,
                                'properties' => [
                                    'NodeStatus' => [
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                'Status' => ['type' => 'string'],
                                                'InstanceId' => ['type' => 'string'],
                                                'AutoInstall' => ['type' => 'boolean'],
                                            ],
                                        ],
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '',
        ],
        'PutCustomMetric' => [
            'summary' => 'PutCustomMetric',
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'MetricList',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['type' => 'string'],
                            'Message' => ['type' => 'string'],
                            'Data' => ['type' => 'string'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '',
        ],
        'QueryMetricLast' => [
            'summary' => '查询指定监控对象的最新监控数据。',
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'callby_cms_owner',
                    'in' => 'query',
                    'schema' => ['description' => '负责人。', 'type' => 'string', 'required' => false, 'example' => 'wn32reo1'],
                ],
                [
                    'name' => 'Project',
                    'in' => 'query',
                    'schema' => ['description' => '监控项的project,用于查询监控数据。', 'type' => 'string', 'required' => true, 'example' => 'acs_ecs_dashboard'],
                ],
                [
                    'name' => 'Metric',
                    'in' => 'query',
                    'schema' => ['description' => '监控项名称。', 'type' => 'string', 'required' => true, 'example' => 'CPUUtilization'],
                ],
                [
                    'name' => 'Period',
                    'in' => 'query',
                    'schema' => ['description' => '时间间隔。单位:秒。取值:60、300、900。', 'type' => 'string', 'required' => false, 'example' => '60'],
                ],
                [
                    'name' => 'StartTime',
                    'in' => 'query',
                    'schema' => ['description' => '查询监控项的开始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-01-31 10:00:00'],
                ],
                [
                    'name' => 'EndTime',
                    'in' => 'query',
                    'schema' => ['description' => '查询监控项的结束时间。', 'type' => 'string', 'required' => false, 'example' => '2019-01-31 10:10:00'],
                ],
                [
                    'name' => 'Dimensions',
                    'in' => 'query',
                    'schema' => ['description' => '指定资源的监控维度。'."\n"
                        ."\n"
                        .'格式:`key:value`键值对形式的集合,例如:`{"userId":"120886317861****"}`和`{"instanceId":"i-2ze2d6j5uhg20x47****"}`。'."\n"
                        ."\n"
                        .'> 单次请求最多支持批量查询50个实例。', 'type' => 'string', 'required' => false, 'example' => '{\'instanceId\': \'rm-bp12cn75qrjgpb9s5\'}'],
                ],
                [
                    'name' => 'Cursor',
                    'in' => 'query',
                    'schema' => ['description' => '下一页数据,为空代表没有下一页。', 'type' => 'string', 'required' => false, 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0***********'],
                ],
                [
                    'name' => 'Page',
                    'in' => 'query',
                    'schema' => ['description' => '分页参数。', 'type' => 'string', 'required' => false, 'example' => '1'],
                ],
                [
                    'name' => 'Length',
                    'in' => 'query',
                    'schema' => ['description' => '返回监控数据的每页大小,用于分页查询。', 'type' => 'string', 'required' => false, 'example' => '1000'],
                ],
                [
                    'name' => 'Express',
                    'in' => 'query',
                    'schema' => ['description' => '对查出的现有结果进行时时计算的表达式。', 'type' => 'string', 'required' => false, 'example' => '{\\"groupby\\":[\\"userId\\",\\"instanceId\\"]}'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Cursor' => ['description' => '下一页数据,为空代表没有下一页。', 'type' => 'string', 'example' => 'v2.5eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0ODAwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQzMjdhNjU2MjY3N2E2NjZhNzczOTY2NmM3Mjc0NjM3MzY5Njg3NDcyMjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2MH0***'],
                            'RequestId' => ['description' => '请求的ID,用于定位日志,排查问题。', 'type' => 'string', 'example' => '021472A6-25E3-4094-8D00-BA4B6A5486C3'],
                            'Success' => ['description' => '用于标识本次调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
                            'Datapoints' => ['description' => '监控数据列表。', 'type' => 'string', 'example' => '[{\\"timestamp\\":1618368900000,\\"Average\\":95.8291666666667,\\"Minimum\\":65.48,\\"Maximum\\":100.0},{\\"timestamp\\":1618368960000,\\"Average\\":95.8683333333333,\\"Minimum\\":67.84,\\"Maximum\\":100.0}]'],
                            'Code' => ['description' => '状态码,200表示成功。', 'type' => 'string', 'example' => '200'],
                            'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'success'],
                            'Period' => ['description' => '时间间隔。单位:秒。', 'type' => 'string', 'example' => '60'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Cursor\\": \\"v2.5eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0ODAwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQzMjdhNjU2MjY3N2E2NjZhNzczOTY2NmM3Mjc0NjM3MzY5Njg3NDcyMjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2MH0***\\",\\n  \\"RequestId\\": \\"021472A6-25E3-4094-8D00-BA4B6A5486C3\\",\\n  \\"Success\\": true,\\n  \\"Datapoints\\": \\"[{\\\\\\\\\\\\\\"timestamp\\\\\\\\\\\\\\":1618368900000,\\\\\\\\\\\\\\"Average\\\\\\\\\\\\\\":95.8291666666667,\\\\\\\\\\\\\\"Minimum\\\\\\\\\\\\\\":65.48,\\\\\\\\\\\\\\"Maximum\\\\\\\\\\\\\\":100.0},{\\\\\\\\\\\\\\"timestamp\\\\\\\\\\\\\\":1618368960000,\\\\\\\\\\\\\\"Average\\\\\\\\\\\\\\":95.8683333333333,\\\\\\\\\\\\\\"Minimum\\\\\\\\\\\\\\":67.84,\\\\\\\\\\\\\\"Maximum\\\\\\\\\\\\\\":100.0}]\\",\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"success\\",\\n  \\"Period\\": \\"60\\"\\n}","type":"json"}]',
            'title' => '查询最新监控数据',
        ],
        'QueryMetricList' => [
            'summary' => '查询一段时间内指定产品实例的监控数据。',
            'methods' => ['get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'callby_cms_owner',
                    'in' => 'query',
                    'schema' => ['description' => '负责人。', 'type' => 'string', 'required' => false, 'example' => 'urs879e'],
                ],
                [
                    'name' => 'Project',
                    'in' => 'query',
                    'schema' => ['description' => '名字空间,表明监控数据所属产品,如 “acs_ecs_dashboard”,“acs_rds_dashboard”等。', 'type' => 'string', 'required' => true, 'example' => 'acs_ecs_dashboard'],
                ],
                [
                    'name' => 'Metric',
                    'in' => 'query',
                    'schema' => ['description' => '监控项名称。', 'type' => 'string', 'required' => true, 'example' => 'cpu_idle'],
                ],
                [
                    'name' => 'Period',
                    'in' => 'query',
                    'schema' => ['description' => '时间间隔。单位:秒。取值:60、300、900。', 'type' => 'string', 'required' => false, 'example' => '60'],
                ],
                [
                    'name' => 'StartTime',
                    'in' => 'query',
                    'schema' => ['description' => '开始时间,可以传入距离1970年1月1日0点的毫秒数,也可以传入format时间格式数据,如2015-10-20 00:00:00。 ', 'type' => 'string', 'required' => false, 'example' => '2019-01-30 00:00:00'],
                ],
                [
                    'name' => 'EndTime',
                    'in' => 'query',
                    'schema' => ['description' => '可以传入距离1970年1月1日 0点的毫秒数,也可以传入format时间格式数据,如2015-10-20 00:00:00。 ', 'type' => 'string', 'required' => false, 'example' => '2019-01-30 00:10:00'],
                ],
                [
                    'name' => 'Dimensions',
                    'in' => 'query',
                    'schema' => ['description' => '指定资源的监控维度。'."\n"
                        ."\n"
                        .'格式:`key:value`键值对形式的集合,例如:`{"userId":"120886317861****"}`和`{"instanceId":"i-2ze2d6j5uhg20x47****"}`。'."\n"
                        ."\n"
                        .'> 单次请求最多支持批量查询50个实例。', 'type' => 'string', 'required' => false, 'example' => '[{"instanceId": "i-abcdefgh123456"}]'],
                ],
                [
                    'name' => 'Page',
                    'in' => 'query',
                    'schema' => ['description' => '分页参数。', 'type' => 'string', 'required' => false, 'example' => '1'],
                ],
                [
                    'name' => 'Cursor',
                    'in' => 'query',
                    'schema' => ['description' => '下一页数据,为空代表没有下一页。', 'type' => 'string', 'required' => false, 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0***********'],
                ],
                [
                    'name' => 'Length',
                    'in' => 'query',
                    'schema' => ['description' => '每次查询大小,用于分页查询。', 'type' => 'string', 'required' => false, 'example' => '1000'],
                ],
                [
                    'name' => 'Express',
                    'in' => 'query',
                    'schema' => ['description' => '对查询出的现有结果进行实时计算的表达式。目前仅支持groupby,类似数据库的groupby语句。', 'type' => 'string', 'required' => false, 'example' => '{\\"groupby\\":[\\"instanceId\\"]}'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Cursor' => ['description' => '下一页数据,为空代表没有下一页。', 'type' => 'string', 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0'],
                            'RequestId' => ['description' => '请求的ID,用于定位日志,排查问题。', 'type' => 'string', 'example' => '3121AE7D-4AFF-4C25-8F1D-C8226EBB1F42'],
                            'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
                            'Datapoints' => ['description' => '监控数据列表。', 'type' => 'string', 'example' => '[{\\"timestamp\\":1618368900000,\\"Average\\":95.8291666666667,\\"Minimum\\":65.48,\\"Maximum\\":100.0},{\\"timestamp\\":1618368960000,\\"Average\\":95.8683333333333,\\"Minimum\\":67.84,\\"Maximum\\":100.0}]'],
                            'Code' => ['description' => '状态码,正常为"200"。', 'type' => 'string', 'example' => '200'],
                            'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'Success'],
                            'Period' => ['description' => '时间间隔。单位:秒。', 'type' => 'string', 'example' => '60'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Cursor\\": \\"v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0\\",\\n  \\"RequestId\\": \\"3121AE7D-4AFF-4C25-8F1D-C8226EBB1F42\\",\\n  \\"Success\\": true,\\n  \\"Datapoints\\": \\"[{\\\\\\\\\\\\\\"timestamp\\\\\\\\\\\\\\":1618368900000,\\\\\\\\\\\\\\"Average\\\\\\\\\\\\\\":95.8291666666667,\\\\\\\\\\\\\\"Minimum\\\\\\\\\\\\\\":65.48,\\\\\\\\\\\\\\"Maximum\\\\\\\\\\\\\\":100.0},{\\\\\\\\\\\\\\"timestamp\\\\\\\\\\\\\\":1618368960000,\\\\\\\\\\\\\\"Average\\\\\\\\\\\\\\":95.8683333333333,\\\\\\\\\\\\\\"Minimum\\\\\\\\\\\\\\":67.84,\\\\\\\\\\\\\\"Maximum\\\\\\\\\\\\\\":100.0}]\\",\\n  \\"Code\\": \\"200\\",\\n  \\"Message\\": \\"Success\\",\\n  \\"Period\\": \\"60\\"\\n}","type":"json"}]',
            'title' => '查询产品实例监控数据',
        ],
        'UpdateAlarm' => [
            'summary' => 'UpdateAlarm',
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
            'parameters' => [
                [
                    'name' => 'callby_cms_owner',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Id',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'Name',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Period',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                ],
                [
                    'name' => 'Statistics',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'ComparisonOperator',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Threshold',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'ContactGroups',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'StartTime',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                ],
                [
                    'name' => 'EndTime',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                ],
                [
                    'name' => 'SilenceTime',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                ],
                [
                    'name' => 'EvaluationCount',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                ],
                [
                    'name' => 'NotifyType',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                ],
                [
                    'name' => 'Webhook',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'Code' => ['type' => 'string'],
                            'Message' => ['type' => 'string'],
                            'RequestId' => ['type' => 'string'],
                            'Success' => ['type' => 'boolean'],
                        ],
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                403 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                ],
                500 => [
                    ['errorCode' => '%s', 'errorMessage' => '%s'],
                    ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'],
                ],
            ],
            'responseDemo' => '',
        ],
    ],
    'endpoints' => [
        ['regionId' => 'cn-qingdao', 'endpoint' => 'metrics.cn-qingdao.aliyuncs.com'],
        ['regionId' => 'cn-beijing', 'endpoint' => 'metrics.cn-beijing.aliyuncs.com'],
        ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'metrics.cn-zhangjiakou.aliyuncs.com'],
        ['regionId' => 'cn-zhengzhou-jva', 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com'],
        ['regionId' => 'cn-huhehaote', 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com'],
        ['regionId' => 'cn-wulanchabu', 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou', 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com'],
        ['regionId' => 'cn-shanghai', 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com'],
        ['regionId' => 'cn-nanjing', 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com'],
        ['regionId' => 'cn-fuzhou', 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com'],
        ['regionId' => 'cn-shenzhen', 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com'],
        ['regionId' => 'cn-heyuan', 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com'],
        ['regionId' => 'cn-guangzhou', 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com'],
        ['regionId' => 'cn-chengdu', 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com'],
        ['regionId' => 'cn-hongkong', 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com'],
        ['regionId' => 'cn-wuhan-lr', 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com'],
        ['regionId' => 'cn-zhongwei', 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com'],
        ['regionId' => 'ap-northeast-1', 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com'],
        ['regionId' => 'ap-northeast-2', 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com'],
        ['regionId' => 'ap-southeast-1', 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com'],
        ['regionId' => 'ap-southeast-2', 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com'],
        ['regionId' => 'ap-southeast-3', 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com'],
        ['regionId' => 'ap-southeast-5', 'endpoint' => 'metrics.ap-southeast-5.aliyuncs.com'],
        ['regionId' => 'ap-southeast-6', 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com'],
        ['regionId' => 'ap-southeast-7', 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com'],
        ['regionId' => 'ap-southeast-8', 'endpoint' => 'metrics.ap-southeast-8.aliyuncs.com'],
        ['regionId' => 'us-east-1', 'endpoint' => 'metrics.us-east-1.aliyuncs.com'],
        ['regionId' => 'us-west-1', 'endpoint' => 'metrics.us-west-1.aliyuncs.com'],
        ['regionId' => 'us-southeast-1', 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com'],
        ['regionId' => 'eu-west-1', 'endpoint' => 'metrics.eu-west-1.aliyuncs.com'],
        ['regionId' => 'eu-west-2', 'endpoint' => 'metrics.eu-west-2.aliyuncs.com'],
        ['regionId' => 'na-south-1', 'endpoint' => 'metrics.na-south-1.aliyuncs.com'],
        ['regionId' => 'eu-central-1', 'endpoint' => 'metrics.eu-central-1.aliyuncs.com'],
        ['regionId' => 'ap-south-1', 'endpoint' => 'metrics.ap-south-1.aliyuncs.com'],
        ['regionId' => 'me-east-1', 'endpoint' => 'metrics.me-east-1.aliyuncs.com'],
        ['regionId' => 'me-central-1', 'endpoint' => 'metrics.me-central-1.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'metrics.cn-hangzhou-finance.aliyuncs.com'],
        ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com'],
        ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com'],
        ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com'],
        ['regionId' => 'cn-heyuan-acdr-1', 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com'],
        ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com'],
        ['regionId' => 'cn-wulanchabu-gic-1', 'endpoint' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com'],
    ],
];