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
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'ROA', 'product' => 'Cms', 'version' => '2024-03-30'],
'directories' => [
[
'children' => ['ExecuteQuery'],
'type' => 'directory',
'title' => 'Datasets',
],
[
'children' => ['CreateContextStore', 'UpdateContextStore', 'ListContextStores', 'GetContextStore', 'DeleteContextStore', 'AddContexts', 'UpdateContext', 'SearchContext', 'GetContext', 'DeleteContexts', 'DeleteContext', 'CreateContextStoreAPIKey', 'ListContextStoreAPIKeys', 'DeleteContextStoreAPIKey'],
'type' => 'directory',
'title' => 'Context library',
],
[
'children' => ['UpdateMemoryStore', 'UpdateMemory', 'ListMemoryStores', 'GetMemoryStore', 'GetMemoryHistory', 'GetMemory', 'GetMemories', 'DeleteMemoryStore', 'DeleteMemory', 'DeleteMemories', 'AddMemories', 'CreateMemoryStore'],
'type' => 'directory',
'title' => 'Memory library',
],
[
'children' => [
'PutWorkspace', 'GetWorkspace', 'ListWorkspaces', 'DeleteWorkspace', 'CreateCloudResource', 'GetCloudResource', 'GetCloudResourceData', 'DeleteCloudResource', 'CreateEntityStore', 'GetEntityStore', 'GetEntityStoreData', 'DeleteEntityStore', 'CreateUmodel', 'GetUmodel', 'UpdateUmodel', 'DeleteUmodel', 'GetUmodelData', 'UpsertUmodelData', 'DeleteUmodelData', 'GetUmodelCommonSchemaRef',
'DeleteUmodelCommonSchemaRef', 'UpsertUmodelCommonSchemaRef',
],
'type' => 'directory',
'title' => 'Workspaces',
],
[
'children' => ['GetAddon', 'GetAddonSchema', 'UpdateIntegrationPolicy', 'DeleteIntegrationPolicy', 'CreateIntegrationPolicy', 'UpdateAddonRelease', 'ListIntegrationPolicyStorageRequirements', 'ListIntegrationPolicyPodMonitors', 'ListIntegrationPolicyDashboards', 'ListIntegrationPolicyCustomScrapeJobRules', 'ListIntegrationPolicies', 'GetIntegrationPolicy', 'GetAddonRelease', 'CreateAddonRelease', 'ListIntegrationPolicyServiceMonitors', 'ListIntegrationPolicyCollectors', 'ListIntegrationPolicyAddons'],
'type' => 'directory',
'title' => 'Data access',
],
[
'children' => ['CreateServiceObservability', 'GetServiceObservability', 'DeleteService', 'UpdateService', 'GetService', 'CreateService', 'ListServices'],
'type' => 'directory',
'title' => 'Application monitoring/user experience monitoring',
],
[
'children' => [
'CreatePrometheusInstance', 'GetPrometheusInstance', 'ListPrometheusInstances', 'UpdatePrometheusInstance', 'DeletePrometheusInstance', 'DeleteDeliveryTask', 'UpdateDeliveryTask', 'ListDeliveryTasks', 'GetDeliveryTask', 'CreateDeliveryTask', 'CreatePrometheusVirtualInstance', 'ListPrometheusVirtualInstances', 'DeletePrometheusVirtualInstance', 'GetAggTaskGroup', 'CreateAggTaskGroup', 'DeleteAggTaskGroup', 'UpdateAggTaskGroupStatus', 'UpdateAggTaskGroup', 'ListAggTaskGroups', 'ListPrometheusDashboards',
'DeletePrometheusView', 'GetPrometheusView', 'UpdatePrometheusView', 'ListPrometheusViews', 'CreatePrometheusView',
],
'type' => 'directory',
'title' => 'Prometheus',
],
[
'children' => ['ListAlertActions', 'CreateAlertWebhook', 'DeleteAlertWebhooks', 'ListAlertWebhooks', 'UpdateAlertWebhook', 'UpdateNotifyStrategy'],
'type' => 'directory',
'title' => 'Alerting',
],
[
'children' => ['CreateTicket'],
'type' => 'directory',
'title' => 'Console embedding',
],
[
'children' => ['GetCmsService'],
'type' => 'directory',
'title' => 'Service activation',
],
[
'children' => [
'CreateBizTrace', 'DeleteBizTrace', 'GetAddonCodeTemplate', 'GetBizTrace', 'GetIntegrationVersionForCS', 'GetPrometheusUserSetting', 'ListAlertRobots', 'ListBizTraces', 'ListContactGroups', 'ListContacts', 'OpenCmsService', 'UpdateBizTrace', 'UpdatePrometheusUserSetting', 'ChangeResourceGroup', 'CreateDataset', 'CreatePipeline', 'DeleteAddonRelease', 'DeleteDataset', 'DeletePipeline', 'DescribeRegions',
'GetDataset', 'GetPipeline', 'ListAddonReleases', 'ListAddons', 'ListDatasets', 'ListPipelines', 'ListTagResources', 'ManageAlertRules', 'QueryAlertRules', 'SearchMemories', 'TagResources', 'UntagResources', 'UpdateDataset', 'UpdatePipeline', 'UpdateSubscription', 'DescribeMetricMetaList', 'CreateServiceRecord', 'DeleteServiceRecord', 'GetServiceRecord', 'ListServiceRecords',
'UpdateServiceRecord',
],
'type' => 'directory',
'title' => 'Others',
],
],
'components' => [
'schemas' => [
'ActionIntegrationConfig' => [
'description' => 'Contains configuration for action integration.',
'type' => 'object',
'properties' => [
'enabled' => ['description' => 'Indicates whether action integration is enabled.', 'type' => 'boolean', 'title' => '', 'example' => ''],
'actions' => [
'description' => 'A list of actions to perform.',
'type' => 'array',
'items' => ['description' => 'The name of the action to perform.', 'type' => 'string', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'AddonMeta' => [
'description' => 'Information about the integration component.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The name of the component.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => 'cloud-acs-ecs'],
'version' => ['description' => 'The version number.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'version', 'title' => '', 'example' => '0.0.1'],
'language' => ['description' => 'The language. Valid values:'."\n"
."\n"
.'- zh: Chinese (default)'."\n"
."\n"
.'- en: English', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'language', 'title' => '', 'example' => 'zh'],
'description' => ['description' => 'The description.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'title' => '', 'example' => 'The out-of-the-box and comprehensive ECS observe dashboards and alarm rules. Based on AliYun CloudMonitor agentless metrics, exporter agent metrics, host audit logs, host events and other data.'],
'scene' => ['description' => 'The scenario.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'scene', 'title' => '', 'example' => 'feature'],
'alias' => ['description' => 'The alias of the component. This is the display name.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'alias', 'title' => '', 'example' => 'ECS 监控'],
'icon' => ['description' => 'The icon of the component.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'icon', 'title' => '', 'example' => 'assets/logos/ecs.svg'],
'keywords' => [
'description' => 'The list of keywords.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'A keyword.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'Monitor'],
'backendName' => 'keywords',
'title' => '',
'example' => '',
],
'once' => ['description' => 'Indicates whether the component can be installed only once under a policy.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'once', 'title' => '', 'example' => 'true/false'],
'environments' => [
'description' => 'The list of supported environment types.',
'visibility' => 'Public',
'type' => 'array',
'items' => [
'description' => 'The description of the integration environment type.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The name of the environment type.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => 'CS/ECS/Cloud/Client'],
'enable' => ['description' => 'Indicates whether the environment type is enabled.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'enable', 'title' => '', 'example' => 'true/false'],
'label' => ['description' => 'The display name of the environment type.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'label', 'title' => '', 'example' => '容器环境'],
'description' => ['description' => 'The description of the environment type.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'title' => '', 'example' => '支持容器集群的工作覆盖监控'],
'policies' => [
'description' => 'Information about the control policy group for the component.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'defaultInstall' => ['description' => 'Indicates whether the component is installed by default.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'defaultInstall', 'title' => '', 'example' => 'true/false'],
'targetAddonName' => ['description' => 'The name of the target component for redirection.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'targetAddonName', 'title' => '', 'example' => 'cloud-acs-ecs'],
'alertDefaultStatus' => ['description' => 'Indicates whether the alert rule is enabled by default after installation.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'alertDefaultStatus', 'title' => '', 'example' => 'RUNNING'],
'protocols' => [
'description' => 'The list of supported client protocols.',
'visibility' => 'Public',
'type' => 'array',
'items' => [
'description' => 'Information about the protocol.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The name of the protocol.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => 'Prometheus'],
'label' => ['description' => 'The display name of the protocol.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'label', 'title' => '', 'example' => 'Prometheus 协议'],
'description' => ['description' => 'The description of the protocol.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'title' => '', 'example' => '使用 Prometheus 协议写入指标数据'],
'icon' => ['description' => 'The display icon for the protocol.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'icon', 'title' => '', 'example' => 'assets/logos/ecs.svg'."\n"],
],
'extendType' => 'true',
'title' => '',
'example' => '',
],
'backendName' => 'protocols',
'title' => '',
'example' => '',
],
'metricCheckRule' => [
'description' => 'The data check rule after the component is integrated.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'promQL' => [
'description' => 'The Prometheus Query Language (PromQL) for the check rule.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The PromQL for the check rule.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'up{job="acs-ecs"}==1'],
'backendName' => 'promQL',
'title' => '',
'example' => '',
],
],
'backendName' => 'metricCheckRule',
'title' => '',
'example' => '',
],
'needRestartAfterIntegration' => ['description' => 'Indicates whether to prompt for a workload restart after integration.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'needRestartAfterIntegration', 'title' => '', 'example' => 'true/false'],
'enableServiceAccount' => ['description' => 'Indicates whether to enable internal authorization token allocation.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'enableServiceAccount', 'title' => '', 'example' => 'true/false'],
'bindEntity' => [
'description' => 'Information about the attached target entity.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'entityGroupMode' => ['description' => 'Indicates whether group mode is used.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'entityGroupMode', 'title' => '', 'example' => 'true/false'],
'singleEntityMode' => ['description' => 'Indicates whether single-entity mode is used.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'singleEntityMode', 'title' => '', 'example' => 'true/false'."\n"],
'entityType' => ['description' => 'The entity type.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'entityType', 'title' => '', 'example' => 'acs.ecs.instance'],
'vpcIdFieldKey' => ['description' => 'The field in the entity from which to fetch the VPC ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'vpcIdFieldKey', 'title' => '', 'example' => 'vpcId'],
],
'backendName' => 'bindEntity',
'title' => '',
'example' => '',
],
'bindDefaultPolicy' => ['description' => 'The default mode. This integration mode does not require attaching an entity.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'bindDefaultPolicy', 'title' => '', 'example' => 'true/false'],
],
'backendName' => 'policies',
'title' => '',
'example' => '',
],
'dependencies' => [
'description' => 'The dependency description.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'features' => [
'description' => 'The probe dependency description. This is the component name. In later versions, this field is replaced by the collectors field.',
'visibility' => 'Public',
'type' => 'object',
'additionalProperties' => ['description' => 'Indicates whether there is a dependency.', 'visibility' => 'Public', 'type' => 'boolean', 'title' => '', 'example' => 'true/false'],
'backendName' => 'features',
'title' => '',
'example' => '',
],
'services' => [
'description' => 'The list of dependent services.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The code name of the service. The service check is performed by the frontend.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'cmee'],
'backendName' => 'services',
'title' => '',
'example' => '',
],
'clusterTypes' => [
'description' => 'The supported cluster types.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The name of the cluster type.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'ManagedKubernetes/Default'],
'backendName' => 'clusterTypes',
'title' => '',
'example' => '',
],
],
'backendName' => 'dependencies',
'title' => '',
'example' => '',
],
'policyType' => ['description' => 'The policy type.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'policyType', 'title' => '', 'example' => 'ECS'],
'commonSchemaRefs' => [
'description' => 'The list of attached CommonSchemas.',
'visibility' => 'Public',
'type' => 'array',
'items' => [
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'group' => ['description' => 'The group name of the CommonSchema.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'group', 'title' => '', 'example' => 'acs-ecs'],
'version' => ['description' => 'The group version of the CommonSchema.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'version', 'title' => '', 'example' => '0.1.0'],
],
'extendType' => 'true',
'description' => '',
'title' => '',
'example' => '',
],
'backendName' => 'commonSchemaRefs',
'title' => '',
'example' => '',
],
],
'extendType' => 'true',
'title' => '',
'example' => '',
],
'backendName' => 'environments',
'title' => '',
'example' => '',
],
'categories' => [
'description' => 'The categorization information of the component.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The category name.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'infrastructure'],
'backendName' => 'categories',
'title' => '',
'example' => '',
],
'dashboards' => [
'description' => 'A list of component diagrams.',
'visibility' => 'Public',
'type' => 'array',
'items' => [
'description' => 'A list of diagrams.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The name of the diagram.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => 'ECS 监控概览大盘'],
'url' => ['description' => 'The URL of the diagram.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'url', 'title' => '', 'example' => 'assets/dashboards/ecs.png'."\n"],
'description' => ['description' => 'The description.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'title' => '', 'example' => '描述信息'],
],
'extendType' => 'true',
'title' => '',
'example' => '',
],
'backendName' => 'dashboards',
'title' => '',
'example' => '',
],
'weight' => ['description' => 'The sorting weight of the component.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'backendName' => 'weight', 'title' => '', 'example' => '1000'],
'latestReleaseCreateTime' => ['description' => 'The last time the component was integrated.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'latestReleaseCreateTime', 'title' => '', 'example' => '2025-10-25 09:12:12'],
],
'title' => '',
'example' => '',
],
'AlertEventIntegrationPolicyForModify' => [
'title' => 'A short description of struct',
'description' => 'The entity.',
'type' => 'object',
'properties' => [
'transformerSetting' => [
'description' => 'The transform settings.',
'type' => 'array',
'items' => ['description' => 'A single transform configuration.', '$ref' => '#/components/schemas/TransformAction', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'],
'title' => '',
'example' => '',
'visibility' => 'Public',
'backendName' => 'transformerSetting',
],
'description' => ['title' => '描述', 'description' => 'The description.', 'type' => 'string', 'example' => 'test', 'visibility' => 'Public', 'backendName' => 'description'],
'filterSetting' => ['description' => 'The filter settings.', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'filterSetting'],
'integrationSetting' => ['title' => '订阅设置', 'description' => 'The subscription settings.', 'type' => 'string', 'example' => '{"region":"cn-hangzhou"}', 'visibility' => 'Public', 'backendName' => 'integrationSetting'],
'type' => ['title' => '类型', 'description' => 'The type.', 'type' => 'string', 'example' => 'ALERT_CUSTOM', 'visibility' => 'Public', 'backendName' => 'type'],
'alertEventIntegrationPolicyName' => ['title' => '名称', 'description' => 'The name.', 'type' => 'string', 'required' => true, 'example' => 'test integration', 'visibility' => 'Public', 'backendName' => 'alertEventIntegrationPolicyName'],
],
'example' => '',
'visibility' => 'Public',
],
'AlertEventIntegrationPolicyForView' => [
'title' => 'A short description of struct',
'description' => 'The entity for viewing.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'workspace' => ['title' => 'workspace', 'description' => 'The workspace.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'workspace', 'example' => 'workspace-test'],
'description' => ['title' => '描述', 'description' => 'The description.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'example' => 'workspace test'],
'filterSetting' => ['description' => 'The filter configuration.', 'visibility' => 'Public', 'backendName' => 'filterSetting', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => ''],
'updateTime' => ['title' => '更新时间', 'description' => 'The time when the policy was last updated.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'updateTime', 'example' => '2024-12-16T02:00:23Z'],
'type' => ['title' => '类型', 'description' => 'The type.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'type', 'example' => 'ALERT_CUSTOM'],
'userId' => ['title' => '用户id', 'description' => 'The user ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'userId', 'example' => '123123'],
'alertEventIntegrationPolicyId' => ['title' => 'UUID', 'description' => 'The universally unique identifier (UUID).', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'alertEventIntegrationPolicyId', 'example' => '123123123'],
'token' => ['description' => 'The key for the integration\'s reporting endpoint.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'token', 'title' => '', 'example' => '10-16818f1445e10a1d012922b285bfb334'],
'transformerSetting' => [
'description' => 'The transformation settings.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'A single transformation configuration.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/TransformAction', 'title' => '', 'example' => ''],
'backendName' => 'transformerSetting',
'title' => '',
'example' => '',
],
'createTime' => ['title' => '创建时间', 'description' => 'The time when the policy was created.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'createTime', 'example' => '2025-03-11T08:21:58Z'],
'enable' => ['title' => '是否启用', 'description' => 'Indicates whether the policy is enabled.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'enabled', 'example' => 'true'],
'integrationSetting' => ['title' => '订阅设置', 'description' => 'The subscription settings.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'integrationSetting', 'example' => '{"region":"cn-hangzhou"}'],
'alertEventIntegrationPolicyName' => ['title' => '名称', 'description' => 'The name.', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'backendName' => 'alertEventIntegrationPolicyName', 'example' => '集成名'],
],
'example' => '',
],
'AlertRuleAction' => [
'description' => 'The action integration configuration for the alert rule.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'actions' => [
'description' => 'A list of action integration IDs.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The action integration ID.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'myTestAction'],
'backendName' => 'actions',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'AlertRuleAlertMetricFilterDef' => [
'description' => 'An object that defines the metric filter for an alert rule.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'opt' => ['description' => 'The operator for the filter condition.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'opt', 'title' => '', 'example' => '='],
'hidden' => ['title' => '是否隐藏。 如果隐藏则在前端交互中不显示,但在渲染promQL时可将该过滤条件的值上传上来。 典型的例子是APM场景中的pid这个过滤条件,一般不会通过配置化的方式进行显示,而是前端显为独立的应用搜索列表。', 'description' => 'Specifies whether to hide the filter. If hidden, the filter does not appear in the frontend UI. However, its value can be uploaded when rendering a PromQL query. For example, in an Application Performance Management (APM) scenario, the pid filter is typically hidden from the configuration UI. The frontend displays it as a separate application search list.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'hidden', 'example' => 'true'],
'displayNameCn' => ['description' => 'The display name in Chinese.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'displayNameCn', 'title' => '', 'example' => '应用状态'],
'dim' => ['description' => 'The dimension in APM metrics.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'dim', 'title' => '', 'example' => 'status'],
'displayNameEn' => ['description' => 'The display name in English.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'displayNameEn', 'title' => '', 'example' => 'Application Status'],
'labelDisabled' => ['title' => '为true时,过滤项不出现在promQL的label filter中', 'description' => 'If set to \\`true\\`, the filter item does not appear in the label filter of a PromQL query.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'labelDisabled', 'example' => 'true'],
'dimDisabled' => ['title' => '为true是,过滤项不出现在promQL的group by中', 'description' => 'If set to \\`true\\`, the filter item does not appear in the \\`group by\\` clause of a PromQL query.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'dimDisabled', 'example' => 'true'],
'supportedOpts' => [
'description' => 'A list of supported options.',
'visibility' => 'Public',
'type' => 'array',
'items' => [
'description' => 'A supported option.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'displayNameCn' => ['description' => 'The display name in Chinese.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'displayNameCn', 'title' => '', 'example' => '在线'],
'displayNameEn' => ['description' => 'The display name in English.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'displayNameEn', 'title' => '', 'example' => 'Online'],
'value' => ['description' => 'The matching value.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'value', 'title' => '', 'example' => 'online'],
],
'extendType' => 'true',
'title' => '',
'example' => '',
],
'backendName' => 'supportedOpts',
'itemName' => 'opt',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'AlertRuleAlertMetricFilterDef_array' => [
'description' => 'An array of alert metric filter definition objects.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'An alert metric filter definition object.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/AlertRuleAlertMetricFilterDef', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'AlertRuleAlertMetricInput' => [
'description' => 'The input configuration for a predefined metric.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'filterValues' => [
'title' => '用户输入的过滤条件列表。指标所支持的参数列表、过滤条件列表可通过ListAlertMetrics进行查询。',
'description' => 'A list of filter conditions. Call the ListAlertMetrics operation to query the lists of parameters and filter conditions that the metric supports.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The configuration of a filter item.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/AlertRuleAlertMetricInputFilterValue', 'title' => '', 'example' => ''],
'backendName' => 'filterValues',
'example' => '',
],
'paramValues' => [
'title' => '输入的参数列表。 指标所支持的参数列表、过滤条件列表可通过ListAlertMetrics进行查询。',
'description' => 'A list of parameters. Call the ListAlertMetrics operation to query the lists of parameters and filter conditions that the metric supports.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The parameter configuration for the predefined metric.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/AlertRuleAlertMetricInputParamValue', 'title' => '', 'example' => ''],
'backendName' => 'paramValues',
'example' => '',
],
'metricId' => ['title' => '用户所选预定义指标的key', 'description' => 'The key of the predefined metric.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'metricKey', 'example' => 'appstat.jvm.GcPsMarkSweepCount'],
'groupId' => ['title' => '用户所选指标组的key', 'description' => 'The key of the metric group.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'groupKey', 'example' => 'apm.jvm'."\n"],
],
'title' => '',
'example' => '',
],
'AlertRuleAlertMetricInputFilterValue' => [
'description' => 'The configuration object for the filter condition.',
'type' => 'object',
'properties' => [
'opt' => ['title' => '过滤条件操作符', 'description' => 'The operator for the filter condition.', 'type' => 'string', 'required' => true, 'example' => 'ALL', 'visibility' => 'Public', 'backendName' => 'opt'],
'dim' => ['title' => '过滤条件的维度', 'description' => 'The dimension of the filter condition.', 'type' => 'string', 'required' => true, 'example' => 'rootIp', 'visibility' => 'Public', 'backendName' => 'dim'],
'value' => ['description' => 'The value of the filter condition.', 'type' => 'string', 'title' => '', 'example' => '127.0.0.1', 'visibility' => 'Public', 'backendName' => 'value'],
],
'title' => '',
'example' => '',
'visibility' => 'Public',
],
'AlertRuleAlertMetricInputParamValue' => [
'description' => 'The parameter settings object for a predefined metric.',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The name of the predefined metric parameter.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'paramName', 'visibility' => 'Public', 'backendName' => 'name'],
'value' => ['description' => 'The value of the predefined metric parameter.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'paramValue', 'visibility' => 'Public', 'backendName' => 'value'],
],
'title' => '',
'example' => '',
'visibility' => 'Public',
],
'AlertRuleAlertMetricParamDef' => [
'description' => 'Defines the alert metric parameters for an alert rule.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'placeholderEn' => ['title' => '仅对INPUT_PARAM有效。用于前端展示的英文展位符', 'description' => 'The English placeholder text displayed on the frontend. This parameter is valid only for INPUT\\_PARAM.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'placeholderEn', 'example' => 'Enter value'],
'placeholderCn' => ['title' => '仅对INPUT_PARAM有效。用于前端展示的中文展位符', 'description' => 'The Chinese placeholder text displayed on the frontend. This parameter is valid only for INPUT\\_PARAM.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'placeholderCn', 'example' => '请输入值'],
'values' => [
'title' => '仅对SELECT_PARAM有效。 下拉列表的可选值列表。',
'description' => 'The list of available options in the drop-down list. This parameter is valid only for SELECT\\_PARAM.',
'visibility' => 'Public',
'type' => 'array',
'items' => [
'description' => 'An object that represents an option.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'labelCn' => ['title' => '选项的中文显示名称', 'description' => 'The Chinese display name of the option.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'labelCn', 'example' => '测试环境'],
'labelEn' => ['title' => '选项的英文显示名称', 'description' => 'The English display name of the option.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'labelEn', 'example' => 'Staging'],
'value' => ['description' => 'The value.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'value', 'title' => '', 'example' => 'staging'],
],
'extendType' => 'true',
'title' => '',
'example' => '',
],
'backendName' => 'values',
'itemName' => 'value',
'example' => '',
],
'name' => ['description' => 'The name.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => 'env'],
'minWidth' => ['title' => '输入框的最小宽度,仅对SELECT_PARAM、INPUT_PARAM生效', 'description' => 'The minimum width of the input control. This parameter is valid only for SELECT\\_PARAM and INPUT\\_PARAM.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'backendName' => 'minWidth', 'example' => '100'],
'type' => ['title' => '● TEXT_PARAM: 只读文本参数,由后台定义,前端不显示用户输入控件'."\n"
.'● INPUT_PARAM:输入框参数'."\n"
.'● SELECT_PARAM:选择框参数', 'description' => '● TEXT\\_PARAM: A read-only text parameter defined by the backend. No user input control is displayed on the frontend.● INPUT\\_PARAM: An input box parameter.● SELECT\\_PARAM: A selection box parameter.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'type', 'example' => 'TEXT_PARAM'],
'value' => ['description' => 'The value.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'value', 'title' => '', 'example' => 'staging'],
'maxWidth' => ['title' => '输入框的最大宽度,仅对SELECT_PARAM、INPUT_PARAM生效', 'description' => 'The maximum width of the input control. This parameter is valid only for SELECT\\_PARAM and INPUT\\_PARAM.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'backendName' => 'maxWidth', 'example' => '200'],
],
'title' => '',
'example' => '',
],
'AlertRuleAlertMetricParamDef_array' => [
'description' => 'A list of parameter definition objects for alert rule metrics.',
'type' => 'array',
'items' => ['description' => 'A parameter definition object for an alert rule metric.', '$ref' => '#/components/schemas/AlertRuleAlertMetricParamDef', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'],
'title' => '',
'example' => '',
'visibility' => 'Public',
],
'AlertRuleCondition' => [
'description' => 'The alert rule condition configuration. The fields included in this configuration object depend on the condition type (the type field). Different condition types use different fields.',
'type' => 'object',
'properties' => [
'alertCount' => ['title' => '', 'description' => 'Applicable condition type: SLS_CONDITION.'."\n"
."\n"
.'The number of times the condition must be met before an alert is triggered. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'pattern' => '', 'default' => '1', 'example' => '1'],
'caseList' => [
'title' => '',
'description' => 'Applicable condition type: SLS_CONDITION.'."\n"
."\n"
.'The list of Simple Log Service alert conditions.',
'type' => 'array',
'items' => [
'description' => 'The SLS alert condition object.',
'type' => 'object',
'properties' => [
'condition' => ['title' => '', 'description' => 'The match expression. Example: logLevel: error.', 'type' => 'string', 'example' => 'logLevel: error'],
'countCondition' => ['title' => '', 'description' => 'The count match expression. Examples:'."\n"
.'Range combination: __count__ >= 3 && __count__ <= 10'."\n"
.'Single range: __count__ >= 3', 'type' => 'string', 'example' => 'count >= 3'],
'level' => ['title' => '', 'description' => 'The alert level when the condition is met.', 'type' => 'string', 'example' => 'INFO'],
'type' => [
'title' => '',
'description' => 'The match type: has data, has a specific number of data entries, has data match, or has a specific number of data matches.'."\n"
."\n"
.'Valid values:'."\n"
.'- HasData: has data'."\n"
.'- HasDataCount: has a specific number of data entries'."\n"
.'- HasDataMatch: has data match'."\n"
.'- HasDataMatchCount: has a specific number of data matches',
'type' => 'string',
'enum' => ['HasData', 'HasDataCount', 'HasDataMatch', 'HasDataMatchCount'],
'example' => 'HasData',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'compareList' => [
'title' => '',
'description' => 'Applicable condition type: APM_CONDITION.'."\n"
."\n"
.'The list of Application Performance Monitoring (APM) alert comparison conditions.',
'type' => 'array',
'items' => [
'description' => 'The APM alert condition object.',
'type' => 'object',
'properties' => [
'aggregate' => [
'title' => '',
'description' => 'The aggregate functions applied after time series aggregation.'."\n"
."\n"
.'- count'."\n"
.'- sum'."\n"
.'- avg'."\n"
.'- min'."\n"
.'- max'."\n"
.'- p90'."\n"
.'- p95'."\n"
.'- p99',
'enumValueTitles' => ['p99' => 'p99', 'avg' => 'avg', 'min' => 'min', 'max' => 'max', 'p90' => 'p90', 'count' => 'count', 'sum' => 'sum', 'p95' => 'p95'],
'type' => 'string',
'example' => 'count',
],
'oper' => [
'title' => '',
'description' => 'The comparison operator. Determines whether year-over-year or period-over-period comparison is used.'."\n"
."\n"
.'- Greater than: GT'."\n"
.'- Greater than or equal to: GTE'."\n"
.'- Less than: LT'."\n"
.'- Less than or equal to: LTE'."\n"
.'- Equal to: EQ'."\n"
.'- Not equal to: NE'."\n"
.'- Year-over-year increase: YOY_UP'."\n"
.'- Year-over-year decrease: YOY_DOWN',
'enumValueTitles' => ['YOY_DOWN' => 'YOY_DOWN', 'YOY_UP' => 'YOY_UP', 'NE' => 'NE', 'LT' => 'LT', 'GTE' => 'GTE', 'LTE' => 'LTE', 'EQ' => 'EQ', 'GT' => 'GT'],
'type' => 'string',
'example' => 'GT',
],
'value' => ['title' => '', 'description' => 'The comparison threshold.', 'type' => 'number', 'format' => 'double', 'example' => '50'],
'valueLevelList' => [
'title' => '',
'description' => 'The list of alert levels for different values.',
'type' => 'array',
'items' => [
'description' => 'The alert level for a specific value. Used in multi-level scenarios.',
'type' => 'object',
'properties' => [
'level' => ['title' => '', 'description' => 'The level corresponding to the threshold.', 'type' => 'string', 'example' => 'INFO'],
'value' => ['title' => '', 'description' => 'The comparison threshold.', 'type' => 'number', 'format' => 'double', 'example' => '120'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'yoyTimeUnit' => ['title' => '', 'description' => 'The time unit for year-over-year comparison. Valid only when oper is set to YOY_UP or YOY_DOWN.'."\n"
.'Valid values: minute, hour, day, week, month.', 'type' => 'string', 'example' => 'month'],
'yoyTimeValue' => ['title' => '', 'description' => 'The value of the year-over-year time period. Used together with yoyTimeUnit.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'baseUnit' => ['title' => '', 'description' => 'The data unit.', 'type' => 'string', 'example' => '%'],
'displayUnit' => ['title' => '', 'description' => 'The display unit.', 'type' => 'string', 'example' => '%'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'noDataAppendValue' => ['title' => '', 'description' => 'Applicable condition type: APM_CONDITION.'."\n"
."\n"
.'The compensation value when no data is available.', 'type' => 'string', 'example' => '1'],
'noDataAlertLevel' => ['title' => '', 'description' => 'Applicable condition type: APM_CONDITION.'."\n"
."\n"
.'The alert level when no data is available. If this parameter is not specified, no alert is triggered when no data is available.', 'type' => 'string', 'pattern' => '', 'default' => '', 'example' => 'INFO'],
'type' => [
'title' => '',
'description' => 'The rule condition type. Valid values:'."\n"
.'- SLS_CONDITION: Simple Log Service alert condition.'."\n"
.'- APM_CONDITION: APM alert condition.'."\n"
.'- CMS_BASIC_CONDITION: CloudMonitor Basic monitoring alert condition.',
'enumValueTitles' => ['SLS_CONDITION' => 'SLS alert condition.', 'CMS_BASIC_CONDITION' => 'CloudMonitor alerts condition.', 'APM_CONDITION' => 'APM alert condition.'],
'type' => 'string',
'required' => true,
'pattern' => '',
'default' => 'SLS_CONDITION',
'enum' => ['SLS_CONDITION', 'APM_CONDITION', 'CMS_BASIC_CONDITION', 'PROMETHEUS_MULTI_CONDITION', 'BASIC_CONDITION', 'LOG_SET_CONDITION', 'UMODEL_METRICSET_MULTI_CONDITION'],
'example' => 'SLS_CONDITION',
],
'relation' => [
'title' => '',
'description' => 'Applicable condition type: APM_CONDITION.'."\n"
."\n"
.'The logical relationship between multiple conditions. Valid values:'."\n"
.'- and'."\n"
.'- or',
'enumValueTitles' => ['or' => 'OR.', 'and' => 'AND.'],
'type' => 'string',
'example' => 'and',
],
'escalationType' => ['title' => '', 'description' => 'Applicable condition type: CMS_BASIC_CONDITION.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'- simple: simple metric condition.'."\n"
.'- composite: composite metric condition.'."\n"
.'- express: expression condition.', 'type' => 'string', 'example' => 'simple'],
'simpleEscalation' => [
'title' => '',
'description' => 'Applicable condition type: CMS_BASIC_CONDITION.'."\n"
."\n"
.'This parameter takes effect only when escalationType is set to simple. The alert condition configured for a single metric.',
'type' => 'object',
'properties' => [
'metricName' => ['title' => '', 'description' => 'Applicable condition type: CMS_BASIC_CONDITION.'."\n"
."\n"
.'The metric associated with the alert condition.', 'type' => 'string', 'example' => 'cpu_total'],
'period' => ['title' => '', 'description' => 'The time window of the metric. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '60'],
'escalations' => [
'title' => '',
'description' => 'The list of conditions. When an alert rule corresponds to multiple levels, each level has a condition object.',
'type' => 'array',
'items' => [
'description' => 'The alert condition object.',
'type' => 'object',
'properties' => [
'level' => [
'title' => '',
'description' => 'The alert level triggered when the condition is met. Expression-based alerts support only one level.'."\n"
."\n"
.'- CRITICAL'."\n"
.'- WARNING'."\n"
.'- INFO',
'enumValueTitles' => ['INFO' => 'INFO', 'WARNING' => 'WARNING', 'CRITICAL' => 'CRITICAL'],
'type' => 'string',
'example' => 'INFO',
],
'comparisonOperator' => ['title' => '', 'description' => 'The threshold comparison operator. Valid values:'."\n"
."\n"
.'- GreaterThanOrEqualToThreshold: Greater than or equal to.'."\n"
.'- GreaterThanThreshold: Greater than.'."\n"
.'- LessThanOrEqualToThreshold: Less than or equal to.'."\n"
.'- LessThanThreshold: Less than.'."\n"
.'- NotEqualToThreshold: Not equal to.'."\n"
.'- EqualToThreshold: Equal to.'."\n"
.'- GreaterThanYesterday: Year-over-year increase compared with the same time yesterday.'."\n"
.'- LessThanYesterday: Year-over-year decrease compared with the same time yesterday.'."\n"
.'- GreaterThanLastWeek: Year-over-year increase compared with the same time last week.'."\n"
.'- LessThanLastWeek: Year-over-year decrease compared with the same time last week.'."\n"
.'- GreaterThanLastPeriod: Period-over-period increase compared with the previous period.'."\n"
.'- LessThanLastPeriod: Period-over-period decrease compared with the previous period.', 'type' => 'string', 'example' => 'GreaterThanOrEqualToThreshold'],
'statistics' => ['title' => '', 'description' => 'The statistical method. The value of this parameter is determined by the Statistics column corresponding to the MetricName of the specified cloud service. Examples: Maximum, Minimum, and Average.', 'type' => 'string', 'example' => 'Average'],
'times' => ['title' => '', 'description' => 'The number of times the condition must be met to trigger an alert.', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
'threshold' => ['title' => '', 'description' => 'The alert threshold.', 'type' => 'number', 'format' => 'double', 'example' => '100'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
'compositeEscalation' => [
'title' => '',
'description' => 'Applicable condition type: CMS_BASIC_CONDITION.'."\n"
."\n"
.'This parameter takes effect only when escalationType is set to composite. The composite metric alert condition.',
'type' => 'object',
'properties' => [
'relation' => [
'title' => '',
'description' => 'The relationship between multiple metric conditions. Valid values: and, or.',
'enumValueTitles' => ['or' => 'or', 'and' => 'and'],
'type' => 'string',
'example' => 'and',
],
'level' => ['title' => '', 'description' => 'The alert level triggered when the condition is met. Composite metric alerts support only one level.', 'type' => 'string', 'example' => 'INFO'],
'times' => ['title' => '', 'description' => 'The number of times the condition must be met to trigger an alert.', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
'escalations' => [
'title' => '',
'description' => 'The list of composite conditions for multiple metrics.',
'type' => 'array',
'items' => [
'description' => 'The condition object.',
'type' => 'object',
'properties' => [
'comparisonOperator' => ['title' => '', 'description' => 'The threshold comparison operator. Valid values:'."\n"
."\n"
.'- GreaterThanOrEqualToThreshold: Greater than or equal to.'."\n"
.'- GreaterThanThreshold: Greater than.'."\n"
.'- LessThanOrEqualToThreshold: Less than or equal to.'."\n"
.'- LessThanThreshold: Less than.'."\n"
.'- NotEqualToThreshold: Not equal to.'."\n"
.'- EqualToThreshold: Equal to.'."\n"
.'- GreaterThanYesterday: Year-over-year increase compared with the same time yesterday.'."\n"
.'- LessThanYesterday: Year-over-year decrease compared with the same time yesterday.'."\n"
.'- GreaterThanLastWeek: Year-over-year increase compared with the same time last week.'."\n"
.'- LessThanLastWeek: Year-over-year decrease compared with the same time last week.'."\n"
.'- GreaterThanLastPeriod: Period-over-period increase compared with the previous period.'."\n"
.'- LessThanLastPeriod: Period-over-period decrease compared with the previous period.', 'type' => 'string', 'example' => 'GreaterThanOrEqualToThreshold'],
'metricName' => ['title' => '', 'description' => 'The metric name.', 'type' => 'string', 'example' => 'cpu_total'],
'period' => ['title' => '', 'description' => 'The time window of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '60'],
'statistics' => ['title' => '', 'description' => 'The statistical method. The value of this parameter is determined by the Statistics column corresponding to the MetricName of the specified cloud service. Example values for the statistical method of a metric:'."\n"
."\n"
.'- $Maximum: Maximum value.'."\n"
.'- $Minimum: Minimum value.'."\n"
.'- $Average: Average value.'."\n"
.'- $Availability: Availability rate (typically used for site monitoring).'."\n"
."\n"
.'Note: $ is the unified prefix symbol for metrics.', 'type' => 'string', 'example' => '$Maximum'],
'threshold' => ['title' => '', 'description' => 'The alert threshold.', 'type' => 'number', 'format' => 'double', 'example' => '50'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
'expressEscalation' => [
'title' => '',
'description' => 'Applicable condition type: CMS_BASIC_CONDITION.'."\n"
."\n"
.'This parameter takes effect only when escalationType is set to composite. The multi-metric composite alert condition.',
'type' => 'object',
'properties' => [
'level' => ['title' => '', 'description' => 'The alert level triggered when the condition is met. Expression-based alerts support only one level.'."\n"
."\n"
.'- CRITICAL'."\n"
.'- WARNING'."\n"
.'- INFO', 'type' => 'string', 'example' => 'INFO'],
'times' => ['description' => 'The number of times the condition must be met to trigger an alert.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '3'],
'rawExpression' => ['title' => '', 'description' => 'The alert condition expression.', 'type' => 'string', 'example' => '@cpu_total[60].$Average > 60'],
],
'example' => '',
],
'noDataPolicy' => [
'title' => '',
'description' => 'Applicable condition type: CMS_BASIC_CONDITION.'."\n"
."\n"
.'The method used to handle alerts when no monitoring data is available. Valid values:'."\n"
."\n"
.'- KEEP_LAST_STATE (default): No action is taken.'."\n"
.'- INSUFFICIENT_DATA: The alert content indicates that no data is available.'."\n"
.'- OK: Normal.',
'enumValueTitles' => ['KEEP_LAST_STATE' => 'No action is taken.', 'INSUFFICIENT_DATA' => 'The alert content indicates no data.', 'OK' => 'Treated as normal.'],
'type' => 'string',
'example' => 'KEEP_LAST_STATE',
],
'oper' => ['title' => '', 'description' => 'The comparison operator. Specifies whether to use year-over-year or period-over-period comparison. Valid values:'."\n"
."\n"
.'- GT: greater than.'."\n"
.'- GTE: greater than or equal to.'."\n"
.'- LT: less than.'."\n"
.'- LTE: less than or equal to.'."\n"
.'- EQ: equal to.'."\n"
.'- NE: not equal to.'."\n"
.'- YOY_UP: year-over-year increase.'."\n"
.'- YOY_DOWN: year-over-year decrease.', 'type' => 'string', 'example' => 'LT'],
'value' => ['title' => '', 'description' => 'The threshold that triggers the alert.', 'type' => 'number', 'format' => 'double', 'example' => '60'],
'min' => ['title' => '', 'type' => 'number', 'description' => '', 'example' => '', 'format' => 'double'],
'max' => ['title' => '', 'type' => 'number', 'description' => '', 'example' => '', 'format' => 'double'],
'matchField' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'matchOperator' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['PRESENT', 'NOT_PRESENT', 'CONTAINS', 'EQUALS', 'REGEX'],
],
'matchValue' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'countOperator' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['GTE', 'GT', 'EQ', 'LTE', 'LT'],
],
'countThreshold' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int64'],
'thresholdList' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'severity' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'threshold' => ['title' => '', 'type' => 'number', 'format' => 'double', 'description' => '', 'example' => ''],
'min' => ['title' => '', 'type' => 'number', 'format' => 'double', 'description' => '', 'example' => ''],
'max' => ['title' => '', 'type' => 'number', 'format' => 'double', 'description' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'title' => '',
'example' => '',
],
'triggers' => [
'title' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'severity' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'durationSecs' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'],
'expression' => [
'type' => 'object',
'properties' => [
'expressionType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'logicOperator' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'conditions' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'expressionType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'queryName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'operator' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'threshold' => ['type' => 'number', 'description' => '', 'title' => '', 'example' => '', 'format' => 'double'],
],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'example' => '',
],
'enableSeveritySuppression' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'AlertRuleDataSource' => [
'description' => 'The data source configuration for the alert rule. The fields in this object depend on the data source type specified in the type field. Different data source types use different fields.',
'type' => 'object',
'properties' => [
'dsList' => [
'title' => 'type=SLS_MULTI_DS时才需要指定,子数据源列表',
'description' => 'Applies to the SLS\\_MULTI\\_DS data source type.'."\n"
."\n"
.'A list of sub-data sources.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'project' => ['title' => 'sls project', 'description' => 'The SLS project.', 'type' => 'string', 'example' => 'mySlsProject'],
'regionId' => ['title' => 'sls project所在的region', 'description' => 'The region where the SLS project is located.', 'type' => 'string', 'example' => 'cn-hangzhou'],
'store' => ['title' => 'log/metric store名称', 'description' => 'The name of the LogStore or MetricStore.', 'type' => 'string', 'example' => 'mySlsLogStore'],
'type' => [
'title' => 'sls数据子源的类型:'."\n"
.'SLS_LOG_DS: log store数据源'."\n"
.'SLS_METRIC_DS: metric store数据源',
'description' => 'The type of the SLS sub-data source. Valid values:'."\n"
."\n"
.'- SLS\\_LOG\\_DS: A LogStore data source.'."\n"
."\n"
.'- SLS\\_METRIC\\_DS: A MetricStore data source.',
'type' => 'string',
'default' => 'SLS_LOG_DS',
'enum' => ['SLS_LOG_DS', 'SLS_METRIC_DS'],
'example' => 'SLS_LOG_DS',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'instanceId' => ['title' => 'type=PROMETHUES_DS时需指定prometheus实例id', 'description' => 'Applies to the PROMETHEUS\\_DS data source type.'."\n"
."\n"
.'The ID of the Prometheus instance.', 'type' => 'string', 'pattern' => '', 'default' => '', 'example' => 'rw-bbe8961b4a59be0'],
'namespace' => ['title' => 'type=ENTERPRISE_DS时需指定,企业云监控指标仓库的名称', 'description' => 'Applies to the ENTERPRISE\\_DS data source type.'."\n"
."\n"
.'The name of the Hybrid Cloud Monitoring metric repository.', 'type' => 'string', 'example' => 'aliyun-default'],
'type' => [
'title' => '数据源类型:'."\n"
.'ENTERPRISE_DS: 企业云监控数据源'."\n"
.'PROMETHEUS_DS:Prometheus数据源(ARMS)'."\n"
.'SLS_MULTI_DS:sls数据源'."\n"
.'APM_DS: APM数据源'."\n"
.'CMS_BASIC_DS: 基础云监控数据源',
'description' => 'The data source type.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'- PROMETHEUS\\_DS: A Prometheus data source.'."\n"
."\n"
.'- SLS\\_MULTI\\_DS: An SLS data source.'."\n"
."\n"
.'- APM\\_DS: An Application Monitoring data source.'."\n"
."\n"
.'- CMS\\_BASIC\\_DS: A basic Cloud Monitor data source.'."\n"
."\n"
.'- ENTERPRISE\\_DS: A Hybrid Cloud Monitoring data source.',
'enumValueTitles' => ['CMS_BASIC_DS' => '基础云监控数据源', 'APM_DS' => '应用监控数据源', 'ENTERPRISE_DS' => '企业云监控数据源', 'SLS_MULTI_DS' => 'SLS数据源', 'PROMETHEUS_DS' => 'Prometheus数据源'],
'type' => 'string',
'required' => true,
'pattern' => '',
'default' => '',
'enum' => ['ENTERPRISE_DS', 'PROMETHEUS_DS', 'SLS_MULTI_DS', 'APM_DS', 'CMS_BASIC_DS', 'ENTITY_DS'],
'example' => 'PROMETHEUS_DS',
],
'regionId' => ['title' => '数据源所属的regionId。'."\n"
.'对APM_DS,指应用所属的地域'."\n"
.'对于PROMETHEUS_DS,指prometheus实例所属地域。'."\n"
.'如果未指定,则通过规则的regionId访问数据源。', 'description' => 'Applies to the APM\\_DS and PROMETHEUS\\_DS data source types.'."\n"
."\n"
.'The ID of the region where the data source is located.', 'type' => 'string', 'example' => 'cn-hangzhou'],
'appType' => [
'title' => '仅对APM_DS有效,应用的类型:'."\n"
.'* apm'."\n"
.'* rum'."\n"
.'* ebpf'."\n"
.'* xtrace',
'description' => 'Applies to the APM\\_DS data source type.'."\n"
."\n"
.'The type of the application. Valid value:'."\n"
."\n"
.'- apm',
'enumValueTitles' => ['apm' => 'APM应用'],
'type' => 'string',
'example' => 'apm',
],
'tenantId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'AlertRuleLabelFilter' => [
'description' => 'The label filter configuration.',
'type' => 'object',
'properties' => [
'opt' => [
'description' => 'The relationship operator between multiple labels.',
'type' => 'string',
'required' => false,
'default' => 'AND',
'enum' => ['AND', 'OR'],
'title' => '',
'example' => 'AND',
'visibility' => 'Public',
'backendName' => 'opt',
],
'labels' => [
'description' => 'The label filter.',
'type' => 'object',
'additionalProperties' => ['description' => 'The value of the label.', 'type' => 'string', 'title' => '', 'example' => 'cn-shanghai', 'visibility' => 'Public'],
'title' => '',
'example' => '',
'visibility' => 'Public',
'backendName' => 'labels',
],
],
'title' => '',
'example' => '',
'visibility' => 'Public',
],
'AlertRuleNotification' => [
'description' => 'The alert notification configuration object.',
'type' => 'object',
'properties' => [
'contacts' => [
'description' => 'A list of contact IDs.',
'type' => 'array',
'items' => ['description' => 'A contact ID.', 'type' => 'string', 'title' => '', 'example' => 'myContactId'],
'title' => '',
'example' => '',
],
'customWebhooks' => [
'description' => 'A list of custom webhook notification object IDs.',
'type' => 'array',
'items' => ['description' => 'A custom webhook notification object ID.', 'type' => 'string', 'title' => '', 'example' => 'myCustomWebhookId'],
'title' => '',
'example' => '',
],
'dingWebhooks' => [
'description' => 'A list of DingTalk webhook notification object IDs.',
'type' => 'array',
'items' => ['description' => 'A DingTalk webhook notification object ID.', 'type' => 'string', 'title' => '', 'example' => 'myDingWebhookId'],
'title' => '',
'example' => '',
],
'fsWebhooks' => [
'description' => 'A list of Lark webhook notification object IDs.',
'type' => 'array',
'items' => ['description' => 'A Lark webhook notification object ID.', 'type' => 'string', 'title' => '', 'example' => 'myFsWebhookId'],
'title' => '',
'example' => '',
],
'groups' => [
'description' => 'A list of contact group IDs.',
'type' => 'array',
'items' => ['description' => 'A contact group ID.', 'type' => 'string', 'title' => '', 'example' => 'myContactGroupId'],
'title' => '',
'example' => '',
],
'silenceTime' => ['description' => 'The notification silence period. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '86400'],
'slackWebhooks' => [
'description' => 'A list of Slack webhook notification object IDs.',
'type' => 'array',
'items' => ['description' => 'A Slack webhook notification object ID.', 'type' => 'string', 'title' => '', 'example' => 'mySlackWebhookId'],
'title' => '',
'example' => '',
],
'wxWebhooks' => [
'description' => 'A list of WeChat webhook notification object IDs.',
'type' => 'array',
'items' => ['description' => 'A WeChat webhook notification object ID.', 'type' => 'string', 'title' => '', 'example' => 'myWxWebhookId'],
'title' => '',
'example' => '',
],
'notifyTime' => ['title' => '', 'description' => 'The notification period. Notifications are sent only within this period.', '$ref' => '#/components/schemas/AlertRuleTimeSpan', 'example' => ''],
'dingCoolAppWebhooks' => [
'type' => 'array',
'items' => ['description' => 'A single DingTalk Cool App webhook ID.', 'type' => 'string', 'title' => '', 'example' => 'myDingCoolAppWebhookId'],
'description' => 'A list of DingTalk Cool App webhook notification object IDs.',
'title' => '',
'example' => '',
],
'qwencloudContacts' => [
'type' => 'object',
'additionalProperties' => [
'type' => 'object',
'additionalProperties' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'AlertRuleNotificationFilter' => [
'description' => 'Filter configuration for notification recipients.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'slackWebhooks' => [
'description' => 'A list of Slack webhook IDs for filtering.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The webhook ID.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'myWebhookId'],
'backendName' => 'slackWebhooks',
'title' => '',
'example' => '',
],
'wxWebhooks' => [
'description' => 'A list of WeChat webhook IDs for filtering.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The webhook ID.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'myWebhookId'],
'backendName' => 'wxWebhooks',
'title' => '',
'example' => '',
],
'dingWebhooks' => [
'description' => 'A list of DingTalk webhook IDs for filtering.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The webhook ID.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'myWebhookId'],
'backendName' => 'dingWebhooks',
'title' => '',
'example' => '',
],
'customWebhooks' => [
'description' => 'A list of custom webhook IDs for filtering.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The webhook ID.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'myWebhookId'],
'backendName' => 'customWebhooks',
'title' => '',
'example' => '',
],
'groups' => [
'description' => 'A list of contact group IDs for filtering.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The contact group ID.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'myContactGroup'],
'backendName' => 'groups',
'title' => '',
'example' => '',
],
'fsWebhooks' => [
'description' => 'A list of Lark webhook IDs for filtering.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The webhook ID.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'myWebhookId'],
'backendName' => 'fsWebhooks',
'title' => '',
'example' => '',
],
'contacts' => [
'description' => 'A list of contact IDs for filtering.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The contact ID.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'myContactId'],
'backendName' => 'contacts',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'AlertRuleQuery' => [
'description' => 'The query configuration of the alert rule. The fields included in this configuration object depend on the query type (the type field). Different data query types use different fields.',
'type' => 'object',
'properties' => [
'duration' => ['title' => '', 'description' => 'Applicable query type: PROMQL_QUERY.'."\n"
."\n"
.'The duration for which alert data persists. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '60'],
'expr' => ['title' => '', 'description' => 'Applicable query type: PROMQL_QUERY.'."\n"
."\n"
.'The query expression (PromQL).', 'type' => 'string', 'example' => 'sum(sum(max_over_time(kube_pod_status_phase{phase=~\\"Pending\\",job=\\"_kube-state-metrics\\"}[5m])) by (pod)) > 1000'],
'groupFieldList' => [
'title' => '',
'description' => 'Applicable query type: SLS_MULTI_QUERY.'."\n"
."\n"
.'The list of group field names.',
'type' => 'array',
'items' => ['description' => 'The grouping field name.', 'type' => 'string', 'title' => '', 'example' => 'host_name'],
'example' => '',
],
'groupType' => [
'title' => '',
'description' => 'Applicable query type: SLS_MULTI_QUERY.'."\n"
."\n"
.'The group type. Valid values:'."\n"
.'- none: no grouping.'."\n"
.'- label: automatic label-based grouping.'."\n"
.'- custom: custom label-based grouping.',
'type' => 'string',
'enum' => ['none', 'label', 'custom'],
'example' => 'label',
],
'queries' => [
'title' => '',
'description' => 'Applicable query types: SLS_MULTI_QUERY and APM_MULTI_QUERY.'."\n"
."\n"
.'The list of subqueries.'."\n"
."\n"
.'For the SLS_MULTI_QUERY query type, a maximum of three subqueries are supported. The number and order of subqueries must match the sub-datasource config in datasource.dsList.',
'type' => 'array',
'items' => [
'title' => '',
'description' => 'The subquery.',
'type' => 'object',
'properties' => [
'duration' => ['title' => '', 'description' => 'Applicable query type: ARMS_MULTI_QUERY.'."\n"
."\n"
.'The alert data duration.', 'type' => 'integer', 'format' => 'int64', 'example' => '120'],
'end' => ['title' => '', 'description' => 'Applicable query type: SLS_MULTI_QUERY.'."\n"
."\n"
.'The relative time offset end time.'."\n"
."\n"
.'If start and end are specified, do not specify window.', 'type' => 'integer', 'format' => 'int64', 'pattern' => '', 'default' => '', 'example' => '0'],
'expr' => ['title' => '', 'description' => 'Applicable query types: APM_MULTI_QUERY, SLS_MULTI_QUERY.'."\n"
."\n"
.'The query expression.'."\n"
."\n"
.'- For APM_MULTI_QUERY, this field is optional and contains the PromQL generated for predefined metrics (used for data preview).'."\n"
.'- For SLS_MULTI_QUERY, this field contains the SQL query statement.', 'type' => 'string', 'pattern' => '', 'default' => '', 'example' => 'sum by (rpc,acs_arms_service_id,pid,rpcType) (sum_over_time_lorc(arms_app_requests_count_ign_destid_endpoint_parent_ppid_prpc{callKind=~\\"http|rpc|custom_entry|server|consumer\\",pid=\\"gaddp9ap8q@cb005ffdf44b8ac\\",source=\\"apm\\"}[1m]))'],
'start' => ['title' => '', 'description' => 'Applicable query type: SLS_MULTI_QUERY.'."\n"
."\n"
.'The relative time offset start time for the SLS query.'."\n"
."\n"
.'If start and end are specified, do not specify window. Example: start=15, timeUnit=minute indicates 15 minutes ago.', 'type' => 'integer', 'format' => 'int64', 'pattern' => '', 'default' => '', 'example' => '15'],
'timeUnit' => [
'title' => '',
'description' => 'Applicable query type: SLS_MULTI_QUERY.'."\n"
."\n"
.'The time unit for the start, end, and window parameters: day/hour/minute/second.',
'type' => 'string',
'pattern' => '',
'default' => 'minute',
'enum' => ['second', 'minute', 'hour', 'day'],
'example' => 'hour',
],
'window' => ['title' => '', 'description' => 'Applicable query type: SLS_MULTI_QUERY.'."\n"
."\n"
.'The time frame query interval. If window is specified, do not specify start or end.', 'type' => 'integer', 'format' => 'int64', 'pattern' => '', 'default' => '', 'example' => '1'],
'apmAlertMetricId' => ['title' => '', 'description' => 'Applicable query type: APM_MULTI_QUERY.'."\n"
."\n"
.'The ID of the APM predefined metric.', 'type' => 'string', 'example' => 'appstat.jvm.ThreadNewCount'],
'apmFilters' => [
'title' => '',
'description' => 'Applicable query type: ARMS_MULTI_QUERY.'."\n"
."\n"
.'The dimension filter configuration for the APM metric. Must be used together with apmAlertMetricId.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'dim' => ['title' => '', 'description' => 'The dimension in the APM metric.', 'type' => 'string', 'example' => 'rpcType'],
'type' => ['title' => '', 'description' => 'The filter operation type. Valid values:'."\n"
.'- eq: equal to'."\n"
.'- neq: not equal to'."\n"
.'- match: regex match'."\n"
.'- nmatch: regex not match', 'type' => 'string', 'example' => 'eq'],
'value' => ['title' => '', 'description' => 'The value corresponding to the filter operation.', 'type' => 'string', 'example' => 'h3ji7a0y9i@2ac80e27fdfd0a2'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'apmGroupBy' => [
'title' => '',
'description' => 'Applicable query type: ARMS_MULTI_QUERY.'."\n"
."\n"
.'The list of aggregation dimensions for the query, specifying which metric dimensions to aggregate by.',
'type' => 'array',
'items' => ['description' => 'The aggregation dimension of the metric.', 'type' => 'string', 'title' => '', 'example' => 'rpcType'],
'example' => '',
],
'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'promQl' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'metricSet' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'metric' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'labelFilters' => [
'title' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'operator' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'example' => '',
],
],
'example' => '',
],
'example' => '',
],
'firstJoin' => ['description' => 'Applicable query type: SLS_MULTI_QUERY.'."\n"
."\n"
.'The set join operation configuration for the results of subquery 1 (queries[0]) and subquery 2 (queries[1]).', '$ref' => '#/components/schemas/AlertRuleSlsQueryJoin', 'title' => '', 'example' => ''],
'type' => [
'title' => '',
'description' => 'The query type. '."\n"
."\n"
.'Valid values:'."\n"
.'- PROMQL_QUERY: PromQL query.'."\n"
.'- SLS_MULTI_QUERY: SLS query.'."\n"
.'- APM_MULTI_QUERY: APM query.'."\n"
.'- CMS_BASIC_QUERY: basic cloud service monitoring query.'."\n"
."\n"
.'Different query types use different valid fields in the query object. For more information, see the "Applicable query type" description of each field.'."\n"
."\n"
.'The query type must match the data source type. The mappings are as follows:'."\n"
.'- Prometheus data source (PROMETHEUS_DS): PROMQL_QUERY'."\n"
.'- APM data source (APM_DS): APM_MULTI_QUERY'."\n"
.'- SLS data source (SLS_MULTI_DS): SLS_MULTI_QUERY'."\n"
.'- Basic cloud service monitoring data source (CMS_BASIC_DS): CMS_BASIC_QUERY',
'enumValueTitles' => ['PROMQL_QUERY' => 'PROMQL_QUERY', 'CMS_BASIC_QUERY' => 'CMS_BASIC_QUERY', 'APM_MULTI_QUERY' => 'APM_MULTI_QUERY', 'SLS_MULTI_QUERY' => 'SLS_MULTI_QUERY'],
'type' => 'string',
'required' => true,
'pattern' => '',
'default' => 'PROMQL_QUERY',
'enum' => ['PROMQL_QUERY', 'SLS_MULTI_QUERY', 'APM_MULTI_QUERY', 'CMS_BASIC_QUERY', 'METRIC_SET_QUERY', 'LOG_SET_QUERY', 'PROMETHEUS_MULTI_QUERY', 'METRIC_SET_MULTI_QUERY'],
'example' => 'PROMQL_QUERY',
],
'secondJoin' => ['description' => 'Applicable query type: SLS_MULTI_QUERY.'."\n"
."\n"
.'The set join operation configuration for the results of subquery 2 (queries[2]) and subquery 3 (queries[3]).', '$ref' => '#/components/schemas/AlertRuleSlsQueryJoin', 'title' => '', 'example' => ''],
'checkAfterDataComplete' => ['title' => '', 'description' => 'Applicable query type: PROMQL_QUERY.'."\n"
."\n"
.'Specifies whether to perform alert detection only after data is complete.', 'type' => 'boolean', 'example' => 'true'],
'relationType' => [
'title' => '',
'description' => 'Applicable query type: CMS_BASIC_QUERY.'."\n"
."\n"
.'The resource scope of the rule query. Valid values:'."\n"
.'- USER: all resources under the user UID.'."\n"
.'- GROUP: application group.'."\n"
.'- INSTANCE: specified instance list.',
'enumValueTitles' => ['GROUP' => 'GROUP', 'INSTANCE' => 'INSTANCE', 'USER' => 'USER'],
'type' => 'string',
'example' => 'USER',
],
'groupId' => ['title' => '', 'description' => 'Applicable query type: CMS_BASIC_QUERY.'."\n"
."\n"
.'The ID of the associated application group. This parameter takes effect only when relationType is set to GROUP.', 'type' => 'string', 'example' => '23423'],
'namespace' => ['title' => '', 'description' => 'Applicable query type: CMS_BASIC_QUERY.'."\n"
."\n"
.'The namespace of the metric.', 'type' => 'string', 'example' => 'acs_ecs_dashboard'],
'entityFilter' => [
'description' => 'The resource filter used to filter target resources.',
'type' => 'object',
'properties' => [
'domain' => ['description' => 'The resource type domain.', 'type' => 'string', 'title' => '', 'example' => 'rum'],
'type' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'apm'],
'filters' => [
'description' => 'The list of filter conditions used to further filter resources.',
'type' => 'array',
'items' => [
'description' => 'The filter condition object.',
'type' => 'object',
'properties' => [
'field' => ['description' => 'The field.', 'type' => 'string', 'title' => '', 'example' => 'instanceId'],
'operator' => ['description' => 'The comparison operator.', 'type' => 'string', 'title' => '', 'example' => '='],
'value' => ['description' => 'The matched value.', 'type' => 'string', 'title' => '', 'example' => 'wait_throw'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'domain' => ['description' => 'The domain to which the resource belongs.', 'type' => 'string', 'title' => '', 'example' => 'rum'],
'metricSet' => ['description' => 'The collection of monitoring metrics.', 'type' => 'string', 'title' => '', 'example' => 'cpu_usage'],
'metric' => ['description' => 'The metric name.', 'type' => 'string', 'title' => '', 'example' => 'memory'],
'logSet' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'windowSecs' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int64'],
'offsetSecs' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int64'],
'aggregate' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['AVG', 'MAX', 'MIN', 'SUM', 'LAST'],
],
'dimensions' => [
'title' => '',
'description' => 'Applicable query type: CMS_BASIC_QUERY. '."\n"
."\n"
.'The list of filter dimensions for the resource.',
'type' => 'array',
'items' => [
'description' => 'The resource filter dimension for CloudMonitor Basic.',
'type' => 'object',
'additionalProperties' => ['description' => 'The dimension value.', 'type' => 'string', 'title' => '', 'example' => 'i-f8zbbutcvfpx7gn457pi'],
'title' => '',
'example' => '',
],
'example' => '',
],
'serviceIds' => [
'description' => 'The list of service IDs.',
'type' => 'array',
'items' => ['description' => 'The service ID.', 'type' => 'string', 'title' => '', 'example' => 'i-bp1234567890abcdef'],
'title' => '',
'example' => '',
],
'labelFilters' => [
'description' => 'The array of label filters.',
'type' => 'array',
'items' => [
'description' => 'The label filter object.',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The label name.', 'type' => 'string', 'title' => '', 'example' => 'app'],
'value' => ['description' => 'The label value.', 'type' => 'string', 'title' => '', 'example' => 'web'],
'operator' => ['description' => 'The comparison operator that determines how to match the label value.', 'type' => 'string', 'title' => '', 'example' => '='],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'entityFields' => [
'description' => 'The array of entity field filters.',
'type' => 'array',
'items' => [
'description' => 'The entity field filter object.',
'type' => 'object',
'properties' => [
'field' => ['description' => 'The entity field name.', 'type' => 'string', 'title' => '', 'example' => 'instanceId'],
'value' => ['description' => 'The field value.', 'type' => 'string', 'title' => '', 'example' => 'i-abc123'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'markTags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'key' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'AlertRuleRcaConfig' => [
'type' => 'object',
'properties' => [
'enableRca' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
'digitalEmployeeName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'AlertRuleSend' => [
'description' => 'The alert delivery configuration object.',
'type' => 'object',
'properties' => [
'notification' => ['description' => 'The alert notification configuration.', '$ref' => '#/components/schemas/AlertRuleNotification', 'title' => '', 'example' => ''],
'action' => ['description' => 'The integrated alert action configuration.', '$ref' => '#/components/schemas/AlertRuleAction', 'title' => '', 'example' => ''],
'sendToArms' => ['title' => '是否将告警事件投递至ARMS告警管理', 'description' => 'Specifies whether to deliver alert events to Alert Management of Application Real-Time Monitoring Service (ARMS).', 'type' => 'boolean', 'example' => 'true'],
'notifyStrategies' => [
'type' => 'array',
'items' => ['description' => 'The notification policy.', 'type' => 'string', 'title' => '', 'example' => '["trigger", "recovery"]'],
'description' => 'The list of notification policies. Each policy defines the notification method or policy name to use for a specific alert state, such as trigger or recovery.',
'title' => '',
'example' => '',
],
'rcaConfig' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/AlertRuleRcaConfig'],
],
'title' => '',
'example' => '',
],
'AlertRuleSlsQueryJoin' => [
'description' => 'The SLS query join configuration.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'conditions' => [
'description' => 'The list of join conditions.',
'visibility' => 'Public',
'type' => 'array',
'items' => [
'title' => '集合操作条件',
'description' => 'The condition for the collection operation.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'oper' => [
'title' => '集合联接条件操作符', 'description' => 'The comparison operator. Valid values are <, >, ==, !=, <=, and >=.', 'visibility' => 'Public', 'type' => 'string', 'deprecated' => false, 'hasServerDefaultValue' => false, 'pattern' => '', 'readOnly' => false, 'backendName' => 'oper', 'sensitive' => false,
'extMonitorInfo' => false, 'descriptionEn' => 'join operator', 'default' => '', 'example' => '==',
],
'secondField' => [
'title' => '条件的右操作参数', 'description' => 'The right operand of the condition. The format is $\\<query\\_idx>.\\<field\\_name\\_in\\_result\\_set>.', 'visibility' => 'Public', 'type' => 'string', 'deprecated' => false, 'hasServerDefaultValue' => false, 'pattern' => '', 'readOnly' => false, 'backendName' => 'secondField', 'sensitive' => false,
'extMonitorInfo' => false, 'descriptionEn' => 'right parameter of join condition', 'default' => '', 'example' => '$0.__topic__',
],
'firstField' => [
'title' => '条件的左操作参数', 'description' => 'The left operand of the condition. The format is $\\<query\\_idx>.\\<field\\_name\\_in\\_result\\_set>.', 'visibility' => 'Public', 'type' => 'string', 'deprecated' => false, 'hasServerDefaultValue' => false, 'pattern' => '', 'readOnly' => false, 'backendName' => 'firstField', 'sensitive' => false,
'extMonitorInfo' => false, 'descriptionEn' => 'left parameter of join condition', 'default' => '', 'example' => '$0.__topic__',
],
],
'deprecated' => false,
'hasServerDefaultValue' => false,
'readOnly' => false,
'sensitive' => false,
'extMonitorInfo' => false,
'descriptionEn' => 'join condition',
'extendType' => 'true',
'unordered' => false,
'example' => '',
],
'backendName' => 'conditions',
'title' => '',
'example' => '',
],
'type' => [
'title' => '查询结果集合操作类型',
'description' => 'The type of the collection operation.'."\n"
."\n"
.'- CrossJoin: The Cartesian product.'."\n"
."\n"
.'- FullJoin: The full join.'."\n"
."\n"
.'- InnerJoin: The inner join.'."\n"
."\n"
.'- LeftExclude: The left exclusion.'."\n"
."\n"
.'- RightExclude: The right exclusion.'."\n"
."\n"
.'- LeftJoin: The left join.'."\n"
."\n"
.'- RightJoin: The right join.'."\n"
."\n"
.'- NoJoin: No merge operation is performed.'."\n"
."\n"
.'- Concat: Concatenation.'."\n"
."\n"
.'For more information, see https\\://www\\.alibabacloud.com/help/en/sls/user-guide/set-operations.',
'visibility' => 'Public',
'type' => 'string',
'required' => true,
'pattern' => '',
'backendName' => 'type',
'sensitive' => false,
'default' => '',
'enum' => ['CrossJoin', 'FullJoin', 'InnerJoin', 'LeftExclude', 'RightExclude', 'LeftJoin', 'RightJoin', 'NoJoin', 'Concat'],
'example' => 'CrossJoin',
],
],
'title' => '',
'example' => '',
],
'AlertRuleTemplate' => [
'type' => 'object',
'properties' => [
'id' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'],
'uuid' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'gmtCreate' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'],
'gmtModified' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'],
'userId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'templateName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'isSystem' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'],
'alertType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'subType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'status' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'],
'applyCount' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'],
'ruleConfigs' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'labels' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'datasource' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'scenes' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'sourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'bizType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'schemaVersion' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'AlertRuleTimeSpan' => [
'description' => 'The configuration object for a time segment.',
'type' => 'object',
'properties' => [
'dayOfWeek' => [
'title' => '每周的星期几',
'description' => 'The days of the week.',
'type' => 'array',
'items' => [
'description' => 'The day of the week.',
'type' => 'integer',
'format' => 'int32',
'enum' => ['1', '2', '3', '4', '5', '6', '7'],
'title' => '',
'example' => '1',
'visibility' => 'Public',
'extendType' => 'true',
],
'example' => '',
'visibility' => 'Public',
'backendName' => 'dayOfWeek',
],
'gmtOffset' => ['title' => '默认北京时间: +0800', 'description' => 'The default value is +0800 (UTC+8).', 'type' => 'string', 'example' => '+0800', 'visibility' => 'Public', 'backendName' => 'gmtOffset'],
'startTime' => ['title' => '开始时间,格式HH:mm', 'description' => 'The start time. The format is HH:mm.', 'type' => 'string', 'example' => '09:00', 'visibility' => 'Public', 'backendName' => 'startTime'],
'endTime' => ['title' => '结束时间,格式HH:mm', 'description' => 'The end time. The format is HH:mm.', 'type' => 'string', 'example' => '23:00', 'visibility' => 'Public', 'backendName' => 'endTime'],
],
'title' => '',
'example' => '',
'visibility' => 'Public',
],
'AlertRuleV2' => [
'description' => 'The `AlertRuleV2` object contains the complete configuration for an alert rule.',
'type' => 'object',
'properties' => [
'uuid' => ['description' => 'The unique identifier for the alert rule.', 'type' => 'string', 'title' => '', 'example' => '', 'readOnly' => true],
'createdAt' => ['description' => 'The time the alert rule was created.', 'type' => 'string', 'title' => '', 'example' => '', 'readOnly' => true],
'updatedAt' => ['description' => 'The time the alert rule was last updated.', 'type' => 'string', 'title' => '', 'example' => '', 'readOnly' => true],
'status' => [
'description' => 'The current status of the alert rule. Examples: `RUNNING`, `STOPPED`.',
'type' => 'string',
'title' => '',
'example' => '',
'readOnly' => true,
'enum' => ['Alarm', 'Ok'],
],
'workspace' => ['description' => 'The ID of the workspace that contains the alert rule.', 'type' => 'string', 'title' => '', 'example' => '', 'required' => false],
'displayName' => ['description' => 'The user-defined display name for the alert rule.', 'type' => 'string', 'title' => '', 'example' => ''],
'contentTemplate' => ['description' => 'The template for the alert notification content.', 'type' => 'string', 'title' => '', 'example' => ''],
'enabled' => ['description' => 'Indicates whether the alert rule is active. Set to `true` to enable the rule, or `false` to disable it.', 'type' => 'boolean', 'title' => '', 'example' => ''],
'datasourceConfig' => ['description' => 'The configuration for the data source to be evaluated.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DatasourceConfigUnified'],
'queryConfig' => ['description' => 'The configuration for querying and processing data from the data source.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/QueryConfigUnified'],
'conditionConfig' => ['description' => 'The configuration for the conditions that trigger an alert.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ConditionConfigUnified'],
'scheduleConfig' => ['description' => 'The configuration for how often the alert rule is evaluated.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ScheduleConfigUnified'],
'notifyConfig' => ['description' => 'The configuration for sending notifications when an alert is triggered.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/NotifyConfigUnified'],
'actionIntegrationConfig' => ['description' => 'Configuration for action integrations, such as webhooks, that execute when an alert is triggered.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ActionIntegrationConfig'],
'armsIntegrationConfig' => ['description' => 'The configuration for integrating the alert rule with Application Real-Time Monitoring Service (ARMS).', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ArmsIntegrationConfig'],
'labels' => [
'description' => 'A set of key-value pairs that serve as labels to filter and group alert rules.',
'type' => 'object',
'additionalProperties' => ['description' => 'The value of the label.', 'type' => 'string', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'annotations' => [
'description' => 'A set of key-value pairs that serve as annotations, providing additional, non-identifying information, such as a description or a runbook link.',
'type' => 'object',
'additionalProperties' => ['description' => 'The value of the annotation.', 'type' => 'string', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'datasourceType' => ['description' => 'The data source type. Examples: `sls`, `prometheus`.', 'type' => 'string', 'title' => '', 'example' => ''],
'observeResourceType' => ['description' => 'The type of resource that the alert rule monitors.', 'type' => 'string', 'title' => '', 'example' => ''],
'observeResourceGlobalScope' => ['description' => 'Indicates whether the alert rule monitors all resources of the specified type. If `true`, the rule applies globally within the workspace.', 'type' => 'boolean', 'title' => '', 'example' => ''],
'observeResourceList' => [
'description' => 'A list of specific resource IDs to monitor, used only when `observeResourceGlobalScope` is `false`.',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'type' => 'array',
'title' => '',
'example' => '',
],
'severityLevels' => ['description' => 'The severity level of the alert. Examples: `critical`, `warning`.', 'type' => 'string', 'title' => '', 'example' => ''],
'notifyStrategyId' => ['description' => 'The ID of the notification strategy to use for this alert rule.', 'type' => 'string', 'title' => '', 'example' => ''],
'partitionKey' => ['description' => 'The partition key used to group alerts. Alerts with the same partition key are treated as a single incident.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'ApmCompositeCompareConfig' => [
'description' => 'Defines a composite comparison condition for an alert rule.',
'type' => 'object',
'properties' => [
'aggregate' => [
'description' => 'The aggregation method for metric data. For example, `AVG`, `SUM`, or `MAX`.',
'type' => 'string',
'title' => '',
'example' => '',
'required' => true,
'enum' => ['AVG', 'SUM', 'COUNT', 'CONTINUES', 'MAX', 'MIN', 'P50', 'P75', 'P90', 'P99'],
],
'operator' => [
'description' => 'The operator for comparing the aggregated metric data against the `threshold`. For example, `GREATER_THAN` or `LESS_THAN`.',
'type' => 'string',
'title' => '',
'example' => '',
'required' => true,
'enum' => ['GT', 'GTE', 'LT', 'LTE', 'EQ', 'NE', 'YOY_UP', 'YOY_DOWN'],
],
'threshold' => ['description' => 'The value to compare the aggregated metric data against. An alert is triggered when the metric data meets the condition defined by the `operator`.', 'type' => 'number', 'title' => '', 'example' => '', 'format' => 'float', 'required' => true],
'yoyTimeUnit' => [
'description' => 'The time unit for the year-over-year (YoY) comparison. Use this parameter with `yoyTimeValue` to define the comparison period. Valid values are `day` and `week`.',
'type' => 'string',
'title' => '',
'example' => '',
'enum' => ['minute', 'hour', 'day', 'week', 'month'],
],
'yoyTimeValue' => ['description' => 'The time value for the YoY comparison. For example, if `yoyTimeUnit` is `day` and `yoyTimeValue` is `7`, the system compares current data with data from 7 days ago.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
],
'title' => '',
'example' => '',
],
'ApmFilterConfig' => [
'description' => 'Defines a single condition for filtering APM data traces.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The tag key to filter by. For example, to filter traces by region, set this parameter to `RegionId`.', 'type' => 'string', 'title' => '', 'example' => '', 'required' => true],
'type' => [
'description' => 'The comparison operator used to match the tag\'s value. Valid values: `EQUAL` and `NOT_EQUAL`.',
'type' => 'string',
'title' => '',
'example' => '',
'required' => true,
'enum' => ['ALL', 'EQ', 'NE', 'DISABLED'],
],
'value' => ['description' => 'The value to compare against the tag\'s value. Used with the `key` and `type` parameters to form a complete filter condition.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'ApmMeasureConfig' => [
'description' => 'The configuration for querying an Application Performance Monitoring (APM) metric.',
'type' => 'object',
'properties' => [
'measureCode' => ['description' => 'The unique code that identifies the metric.', 'type' => 'string', 'title' => '', 'example' => '', 'required' => true],
'windowSecs' => ['description' => 'The aggregation period in seconds, which determines the time granularity of data points.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32', 'required' => true],
'groupBy' => [
'description' => 'An array of dimension keys used to group the results.',
'type' => 'array',
'items' => ['description' => 'A dimension key used for grouping.', 'type' => 'string', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'ApmThresholdConfig' => [
'title' => '',
'type' => 'object',
'properties' => [
'severity' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'required' => true,
'enum' => ['INFO', 'WARN', 'WARNING', 'ERROR', 'CRITICAL'],
],
'threshold' => ['title' => '', 'type' => 'number', 'description' => '', 'example' => '', 'format' => 'float'],
'min' => ['title' => '', 'type' => 'number', 'description' => '', 'example' => '', 'format' => 'double'],
'max' => ['title' => '', 'type' => 'number', 'description' => '', 'example' => '', 'format' => 'double'],
],
'description' => '',
'example' => '',
],
'ArmsIntegrationConfig' => [
'description' => 'The settings for Application Real-Time Monitoring Service (ARMS) integration.',
'type' => 'object',
'properties' => [
'enabled' => ['description' => 'Whether ARMS integration is enabled.', 'type' => 'boolean', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'BizTraceConfig' => [
'type' => 'object',
'properties' => [
'workspace' => ['title' => '工作空间。', 'description' => 'The workspace.', 'type' => 'string', 'example' => 'default-cms-xxxxxxx-cn-hangzhou'],
'bizTraceId' => ['title' => '业务链路id', 'description' => 'The business trace ID.', 'type' => 'string', 'example' => 'e339260ed64c95d'],
'bizTraceName' => ['title' => '业务链路名称', 'description' => 'The business trace name.', 'type' => 'string', 'example' => 'just test'],
'bizTraceCode' => ['title' => '业务链路标识', 'description' => 'The business trace identifier.', 'type' => 'string', 'example' => 'label_env'],
'ruleConfig' => ['title' => '配置规则列表', 'description' => 'The list of configuration rules.', 'type' => 'string', 'example' => '[{"entrancePid":"xxxxx@b57c44xx6e86","rpcMatcher":{"matchType":"EQUALS","pattern":"/createApp"},"characteristics":{"operation":"AND","rules":[{"target":"CUSTOM_EXTRACT","matcher":{"matchType":"CONTAINS","pattern":[]}}]}}]'],
'advancedConfig' => ['title' => '高级配置', 'description' => 'The advanced configuration.', 'type' => 'string', 'example' => '{"sample":{"strategy":"BY_APP"}}'],
'createTime' => ['title' => '创建时间', 'description' => 'The creation time.', 'type' => 'string', 'example' => '2025-12-12 00:00:00'],
'regionId' => ['title' => '地域id', 'description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing'],
],
'description' => 'The business trace configuration.',
'title' => '',
'example' => '',
],
'CloudMonitoringCompositeEscalation' => [
'title' => '',
'type' => 'object',
'properties' => [
'relation' => ['title' => '', 'description' => 'Specifies the logical relationship for evaluating the conditions of the composite alert rule. Valid values: `and` and `or`.', 'type' => 'string', 'example' => ''],
'severity' => [
'title' => '',
'description' => 'Specifies the severity level of the alert. For example: `Critical`, `Warning`, and `Info`.',
'type' => 'string',
'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'],
'example' => '',
],
'times' => ['title' => '', 'description' => 'Specifies the number of times the alert conditions must be met to trigger this escalation policy.', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
'escalations' => [
'title' => '',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/CloudMonitoringCompositeEscalationEntry', 'description' => '', 'title' => '', 'example' => ''],
'description' => 'A single entry in the escalation policy. See the `CloudMonitoringCompositeEscalationEntry` object for details.',
'example' => '',
],
],
'description' => 'The `CloudMonitoringCompositeEscalation` object defines the escalation policy for a composite alert rule. It specifies the conditions that trigger an escalation.',
'example' => '',
],
'CloudMonitoringCompositeEscalationEntry' => [
'title' => '',
'type' => 'object',
'properties' => [
'comparisonOperator' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'metricName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'period' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
'statistics' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'threshold' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'preCondition' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
],
'description' => '',
'example' => '',
],
'CloudMonitoringExpressEscalation' => [
'title' => '',
'type' => 'object',
'properties' => [
'times' => ['title' => '', 'description' => 'The number of alert occurrences required to trigger the escalation.', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
'severity' => [
'title' => '',
'description' => 'The alert severity that triggers the escalation.',
'type' => 'string',
'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'],
'example' => '',
],
'rawExpression' => ['title' => '', 'description' => 'The expression that defines the alert condition.', 'type' => 'string', 'example' => ''],
],
'description' => 'Specifies the conditions for an express alert escalation.',
'example' => '',
],
'CloudMonitoringPrometheusEscalation' => [
'title' => '',
'type' => 'object',
'properties' => [
'severity' => [
'title' => '',
'description' => 'The severity of the alert that triggers the escalation. This parameter is required.',
'type' => 'string',
'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'],
'example' => '',
],
'promQl' => ['title' => '', 'description' => 'The PromQL expression that defines the alert condition. This parameter is required.', 'type' => 'string', 'example' => ''],
'times' => ['title' => '', 'description' => 'The number of consecutive times the condition must be met to trigger an escalation. This parameter is required.', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
],
'description' => 'Specifies the escalation rule for a Prometheus alert.',
'example' => '',
],
'CloudMonitoringSimpleEscalation' => [
'title' => '',
'type' => 'object',
'properties' => [
'metricName' => ['title' => '', 'description' => 'The name of the metric.', 'type' => 'string', 'example' => ''],
'period' => ['title' => '', 'description' => 'The evaluation period for the metric, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
'escalations' => [
'title' => '',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/CloudMonitoringSimpleEscalationEntry', 'description' => '', 'title' => '', 'example' => ''],
'description' => 'An object that defines a single escalation rule.',
'example' => '',
],
],
'description' => 'Specifies the simple escalation policy for a Cloud Monitor alert.',
'example' => '',
],
'CloudMonitoringSimpleEscalationEntry' => [
'title' => '',
'type' => 'object',
'properties' => [
'comparisonOperator' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'statistics' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'threshold' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'severity' => [
'title' => '',
'type' => 'string',
'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'],
'description' => '',
'example' => '',
],
'times' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
'preCondition' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
],
'description' => '',
'example' => '',
],
'CmsEventForView' => [
'type' => 'object',
'properties' => [
'id' => ['description' => 'The unique identifier for the event. The system generates this globally unique ID.', 'type' => 'string', 'title' => '', 'example' => '"event-1234567890"'],
'dedupId' => ['description' => 'The deduplication ID. It identifies different instances of the same event, such as a repeatedly reported event.', 'type' => 'string', 'title' => '', 'example' => '"dedup-abc123"'],
'type' => ['description' => 'The event type.', 'type' => 'string', 'title' => '', 'example' => '"Alert"'],
'subtype' => ['description' => 'The event subtype.', 'type' => 'string', 'title' => '', 'example' => '"HighCPUUsage"'],
'source' => ['description' => 'The name of the source system or service, such as ECS, RDS, or VPC.', 'type' => 'string', 'title' => '', 'example' => '"ECS"'],
'time' => ['description' => 'The time when the event occurred.', 'type' => 'string', 'title' => '', 'example' => '"2025-04-05T10:30:00Z"'],
'timestamp' => ['description' => 'The timestamp of the event occurrence.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1743846600000'],
'subject' => ['description' => 'The subject or title of the event. It briefly describes the event.', 'type' => 'string', 'title' => '', 'example' => '"Instance cpu usage exceeds threshold"'],
'severity' => ['description' => 'The severity level of the event.', 'type' => 'string', 'title' => '', 'example' => '"CRITICAL"'],
'status' => ['description' => 'The current status of the event.', 'type' => 'string', 'title' => '', 'example' => 'Running'],
'resource' => ['description' => 'Information about the resource associated with the event, such as the instance ID, IP address, and region.', '$ref' => '#/components/schemas/EventResourceForEventView', 'title' => '', 'example' => ''],
'labels' => ['description' => 'The key-value pairs of the event labels.', 'type' => 'object', 'title' => '', 'example' => '{\'source\': \'system\'}'],
'annotations' => ['description' => 'Additional annotations for the event. This is an unstructured description field.', 'type' => 'object', 'title' => '', 'example' => '{ "description": "High load detected on server", "operator": "auto" }'],
'dataschema' => ['description' => 'The data schema definition, which describes the structure of the data field.', 'type' => 'string', 'title' => '', 'example' => '"https://schema.alibabacloud.com/cms/alert/v1"'],
'datacontenttype' => ['description' => 'The content type of the data field.', 'type' => 'string', 'title' => '', 'example' => '"application/json"'],
'data' => ['description' => 'The raw data of the event. The format depends on the event type and dataschema.', 'type' => 'any', 'title' => '', 'example' => '{ "metricName": "cpu_usage", "value": 95.2, "threshold": 80 }'],
'receiveTime' => ['description' => 'The timestamp when the event was received and processed.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1743846610000'],
'workspace' => ['description' => 'The ID or name of the workspace. It is used for multi-tenant or organization fencing.', 'type' => 'string', 'title' => '', 'example' => '"ws-abc123"'],
'workspaceTags' => ['description' => 'The workspace tags. They help you manage events by tag.', 'type' => 'object', 'title' => '', 'example' => '{ "department": "finance", "project": "payment-gateway" }'],
'sysId' => ['description' => 'The internal system event ID. It is used for internal tracking and log association.', 'type' => 'string', 'title' => '', 'example' => '"sys-event-987654321"'],
'integrationUuid' => ['description' => 'The unique integration identifier. It is used for identity recognition in cross-system integrations.', 'type' => 'string', 'title' => '', 'example' => '"integration-xyz"'],
'sourcetype' => ['description' => 'The type of event source. It distinguishes between sources such as monitoring systems, Simple Log Service, and application observability.', 'type' => 'string', 'title' => '', 'example' => '"CloudMonitor"'],
],
'description' => 'The event object. It contains the core information and context of an event.',
'title' => '',
'example' => '',
],
'ConditionConfigUnified' => [
'title' => '',
'type' => 'object',
'properties' => [
'type' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'required' => true,
'enum' => ['PROMETHEUS_SIMPLE_CONDITION', 'UMODEL_METRICSET_CONDITION', 'UMODEL_LOGSET_CONDITION', 'UMODEL_METRICSET_MULTI_CONDITION', 'APM_SIMPLE_CONDITION', 'APM_COMPOSITE_CONDITION', 'CLOUD_MONITORING_CONDITION', 'UNKNOWN_CONDITION'],
],
'durationSecs' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int32'],
'severity' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['INFO', 'WARN', 'WARNING', 'ERROR', 'CRITICAL'],
],
'operator' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['GT', 'GE', 'GTE', 'LT', 'LE', 'LTE', 'EQ', 'NE', 'IN_RANGE', 'OUT_OF_RANGE', 'PRESENT', 'NOT_PRESENT', 'YOY_UP', 'YOY_DOWN'],
],
'threshold' => ['title' => '', 'type' => 'number', 'description' => '', 'example' => '', 'format' => 'double'],
'min' => ['title' => '', 'type' => 'number', 'description' => '', 'example' => '', 'format' => 'double'],
'max' => ['title' => '', 'type' => 'number', 'description' => '', 'example' => '', 'format' => 'double'],
'aggregate' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['AVG', 'SUM', 'COUNT', 'CONTINUES', 'MAX', 'MIN', 'P50', 'P75', 'P90', 'P99'],
],
'matchField' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'matchOperator' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['PRESENT', 'NOT_PRESENT', 'CONTAINS', 'EQUALS', 'REGEX'],
],
'matchValue' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'countOperator' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['GTE', 'GT', 'EQ', 'LTE', 'LT'],
],
'countThreshold' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int64'],
'thresholdList' => [
'title' => '',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ApmThresholdConfig'],
'description' => '',
'example' => '',
],
'compareList' => [
'title' => '',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ApmCompositeCompareConfig'],
'description' => '',
'example' => '',
],
'relation' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['OR', 'AND'],
],
'escalationType' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['simple', 'composite', 'express', 'prometheus'],
],
'simpleEscalation' => ['title' => '', 'description' => '', 'example' => '', '$ref' => '#/components/schemas/CloudMonitoringSimpleEscalation'],
'compositeEscalation' => ['title' => '', 'description' => '', 'example' => '', '$ref' => '#/components/schemas/CloudMonitoringCompositeEscalation'],
'expressEscalation' => ['title' => '', 'description' => '', 'example' => '', '$ref' => '#/components/schemas/CloudMonitoringExpressEscalation'],
'prometheus' => ['title' => '', 'description' => '', 'example' => '', '$ref' => '#/components/schemas/CloudMonitoringPrometheusEscalation'],
'noDataPolicy' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'legacyType' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'yoyTimeUnit' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['minute', 'hour', 'day', 'week', 'month'],
],
'yoyTimeValue' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int32'],
'triggers' => [
'title' => '',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/MetricSetMultiTrigger', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
'enableSeveritySuppression' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''],
'legacyRaw' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
],
'description' => '',
'example' => '',
],
'ContactForIncidentView' => [
'type' => 'object',
'properties' => [
'contactId' => ['description' => 'The contact ID.', 'type' => 'string', 'title' => '', 'example' => '"contact-123456"'],
'name' => ['description' => 'The contact name.', 'type' => 'string', 'title' => '', 'example' => '"张三"'],
],
'description' => 'The contact object.',
'title' => '',
'example' => '',
],
'CustomExtractionStrategy' => [
'type' => 'object',
'properties' => [
'strategyName' => ['description' => 'Policy Name', 'type' => 'string', 'title' => '', 'example' => 'test1'],
'strategyType' => ['description' => 'Policy type. Supports "Episodic", "Summary", and "Fact".', 'type' => 'string', 'title' => '', 'example' => 'Fact'],
'extractionPrompt' => ['description' => 'Extraction prompt', 'type' => 'string', 'title' => '', 'example' => 'test'],
'updatePrompt' => ['description' => 'Update prompt', 'type' => 'string', 'title' => '', 'example' => 'test'],
'description' => ['description' => 'Description', 'type' => 'string', 'title' => '', 'example' => 'test'],
],
'description' => 'Custom extraction policy',
'title' => '',
'example' => '',
],
'DatasourceConfigUnified' => [
'description' => 'Specifies the configuration for a unified data source.',
'type' => 'object',
'properties' => [
'type' => [
'description' => 'The type of the data source.',
'type' => 'string',
'title' => '',
'example' => '',
'required' => true,
'enum' => ['PROMETHEUS', 'UMODEL', 'APM', 'CLOUD_MONITORING', 'UNKNOWN'],
],
'instanceId' => ['description' => 'The unique instance ID.', 'type' => 'string', 'title' => '', 'example' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => ''],
'productCategory' => ['description' => 'The product category of the data source.', 'type' => 'string', 'title' => '', 'example' => ''],
'legacyType' => ['description' => 'The legacy type of the data source, used for backward compatibility.', 'type' => 'string', 'title' => '', 'example' => ''],
'legacyRaw' => ['description' => 'The raw string value of the legacy configuration, used for backward compatibility.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'DatasourceTypeFilter' => [
'title' => '',
'type' => 'object',
'properties' => [
'eq' => ['title' => '', 'description' => 'Specifies the data source type for an exact match.', 'type' => 'string', 'example' => ''],
],
'description' => 'A filter for the data source type.',
'example' => '',
],
'DirectNotifyChannel' => [
'description' => 'Defines the configuration for a direct notification channel.',
'type' => 'object',
'properties' => [
'type' => [
'description' => 'The notification channel type. For example, `sms` or `email`.',
'type' => 'string',
'title' => '',
'example' => '',
'required' => true,
'enum' => ['CONTACT', 'GROUP', 'DINGTALK', 'FEISHU', 'SLACK', 'WEIXIN', 'WEBHOOK'],
],
'identifiers' => [
'description' => 'An array of recipient identifiers. The format of each identifier depends on the `type`. For example, if `type` is `email`, the identifiers are email addresses.',
'type' => 'array',
'items' => ['description' => 'A recipient identifier, such as a phone number or an email address.', 'type' => 'string', 'title' => '', 'example' => ''],
'required' => true,
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'DisplayNameFilter' => [
'description' => 'Filters resources by their display name.',
'type' => 'object',
'properties' => [
'contains' => ['description' => 'Returns only resources whose display name contains the specified string. The match is case-sensitive.', 'type' => 'string', 'title' => '', 'example' => ''],
'notContains' => ['description' => 'Returns only resources whose display name does not contain the specified string. The match is case-sensitive.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'EffectTimeRange' => [
'type' => 'object',
'properties' => [
'dayInWeek' => [
'type' => 'array',
'items' => ['description' => 'The values 0 to 6 indicate Sunday to Saturday.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '[1, 2, 3]'],
'description' => 'The values 0 to 6 indicate Sunday to Saturday.',
'title' => '',
'example' => '',
],
'startTimeInMinute' => ['description' => 'The start time in minutes.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '360'],
'endTimeInMinute' => ['description' => 'The end time in minutes.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1080'],
'timeZone' => ['description' => 'The time zone.', 'type' => 'string', 'title' => '', 'example' => '"Asia/Shanghai"'],
],
'description' => 'The configuration of the effective time range.',
'title' => '',
'example' => '',
],
'EnabledFilter' => [
'description' => 'A filter for querying resources by their enabled state.',
'type' => 'object',
'properties' => [
'eq' => ['description' => 'The value to filter by. Set to `true` to return only enabled resources. Set to `false` to return only disabled resources.', 'type' => 'boolean', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'EntityDiscoverRule' => [
'description' => 'The entity discovery rule model.',
'type' => 'object',
'properties' => [
'resourceGroupId' => ['title' => '资源组ID。', 'description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfm2m7atreujs1'],
'ipMatchRule' => [
'title' => 'IP 匹配规则',
'description' => 'A collection of IP address matching rules.',
'type' => 'object',
'items' => [
'title' => 'IP匹配规则。',
'description' => 'IP匹配规则。',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'ipFieldKey' => ['title' => 'IP字段的Key。', 'description' => 'IP字段的Key。', 'visibility' => 'Public', 'type' => 'string', 'example' => 'hostIp', 'backendName' => 'ipFieldKey'],
'ipCIDR' => ['title' => 'IP的CIDR。', 'description' => 'IP的CIDR。', 'visibility' => 'Public', 'type' => 'string', 'example' => '192.168.0.1/10', 'backendName' => 'ipCIDR'],
],
'extendType' => 'true',
],
'example' => '',
'properties' => [
'ipFieldKey' => ['title' => 'IP 的属性 Key', 'type' => 'string', 'description' => '', 'example' => ''],
'ipCIDR' => ['title' => 'IP 的网段 CIDR', 'type' => 'string', 'description' => '', 'example' => ''],
],
],
'tags' => [
'title' => '通过Tag进行服务发现。',
'description' => 'The tag-based service discovery rules.',
'type' => 'array',
'items' => [
'title' => '使用Tag的发现信息。',
'description' => 'The details of a tag-based discovery rule.',
'type' => 'object',
'properties' => [
'tagKey' => ['title' => 'Tag的Key。', 'description' => 'The key of the tag.', 'type' => 'string', 'example' => 'project'],
'op' => ['title' => '操作。', 'description' => 'The operation.', 'type' => 'string', 'example' => 'in'],
'tagValues' => [
'title' => 'Tag的值集合。',
'description' => 'A collection of tag values.',
'type' => 'array',
'items' => ['title' => 'Tag的值。', 'description' => 'A tag value.', 'type' => 'string', 'example' => 'demo'],
'example' => '',
],
],
'example' => '',
],
'example' => '',
],
'instanceIds' => [
'title' => '实例ID集合。',
'description' => 'A collection of instance IDs.',
'type' => 'array',
'items' => ['title' => '实例ID。', 'description' => 'An instance ID.', 'type' => 'string', 'example' => 'i-bp1gj8wyq4fxk28k6iy2'],
'example' => '',
],
'entityTypes' => [
'title' => '实体类型集合。',
'description' => 'A collection of entity types.',
'type' => 'array',
'items' => ['title' => '实体类型。', 'description' => 'An entity type.', 'type' => 'string', 'example' => 'acs.ecs.instance'],
'example' => '',
],
'regionIds' => [
'title' => '地域ID集合。',
'description' => 'A collection of region IDs.',
'type' => 'array',
'items' => ['title' => '地域ID。', 'description' => 'A region ID.', 'type' => 'string', 'example' => 'cn-shanghai'],
'example' => '',
],
'labels' => [
'title' => '标签匹配集合。',
'description' => 'A collection of label matching rules.',
'type' => 'array',
'items' => [
'title' => '标签详情。',
'description' => 'The label details.',
'type' => 'object',
'properties' => [
'tagKey' => ['title' => '标签的Key。', 'description' => 'The key of the label.', 'type' => 'string', 'example' => 'project'],
'op' => ['title' => '操作。', 'description' => 'The operation.', 'type' => 'string', 'example' => 'in'],
'tagValues' => [
'title' => '标签的值集合。',
'description' => 'A collection of label values.',
'type' => 'array',
'items' => ['title' => '标签的值。', 'description' => 'A label value.', 'type' => 'string', 'example' => 'demo'],
'example' => '',
],
],
'example' => '',
],
'example' => '',
],
'annotations' => [
'title' => '注解匹配集合。',
'description' => 'A collection of annotation matching rules.',
'type' => 'array',
'items' => [
'title' => '注解详情。',
'description' => 'The annotation details.',
'type' => 'object',
'properties' => [
'tagKey' => ['title' => '注解的Key。', 'description' => 'The key of the annotation.', 'type' => 'string', 'example' => 'instanceId'],
'op' => ['title' => '操作。', 'description' => 'The operation.', 'type' => 'string', 'example' => 'in'],
'tagValues' => [
'title' => '注解的值集合。',
'description' => 'A collection of annotation values.',
'type' => 'array',
'items' => ['title' => '注解的值。', 'description' => 'An annotation value.', 'type' => 'string', 'example' => 'i-bp1gj8wyq4fxk28k6iy2'."\n"],
'example' => '',
],
],
'example' => '',
],
'example' => '',
],
'fieldRules' => [
'title' => '属性匹配规则。',
'description' => 'The property matching rules.',
'type' => 'array',
'items' => [
'title' => '属性详情。',
'description' => 'The property details.',
'type' => 'object',
'properties' => [
'fieldKey' => ['title' => '属性的Key。', 'description' => 'The key of the property.', 'type' => 'string', 'example' => 'instanceId'],
'op' => ['title' => '操作。', 'description' => 'The operation.', 'type' => 'string', 'example' => 'in'],
'fieldValues' => [
'title' => '属性的值集合。',
'description' => 'A collection of property values.',
'type' => 'array',
'items' => ['title' => '属性的值。', 'description' => 'A property value.', 'type' => 'string', 'example' => 'i-bp1gj8wyq4fxk28k6iy2'],
'example' => '',
],
],
'example' => '',
],
'example' => '',
],
],
'title' => '',
'example' => '',
],
'EntityGroupBase' => [
'title' => '实体的基础结构。',
'description' => 'The base structure for an entity.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'workspace' => ['title' => '工作空间。', 'description' => 'The workspace.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'workspace', 'example' => 'default-cms-1654218***343050-cn-hangzhou'],
'regionId' => ['title' => '地域ID。', 'description' => 'The region ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'regionId', 'example' => 'cn-heyuan'],
'entityQueries' => [
'title' => '实体查询规则集合。',
'description' => 'A collection of entity query rules.',
'visibility' => 'Public',
'type' => 'array',
'items' => [
'title' => '实体查询规则。',
'description' => 'An entity query rule.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'entityType' => ['title' => '实体类型。', 'description' => 'The entity type.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'entityType', 'example' => 'acs.ecs.instance'],
'spl' => ['title' => 'SPL查询语句。', 'description' => 'The Structured Process Language (SPL) search statement.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'spl', 'example' => '.entity with(type=\'acs.ecs.instance\') | where region_id in (\'cn-beijing\')'],
],
'extendType' => 'true',
'example' => '',
],
'backendName' => 'entityQueries',
'example' => '',
],
'description' => ['title' => '实体描述。', 'description' => 'The entity description.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'example' => 'ECS 实例'],
'entityGroupId' => ['title' => '实体ID。', 'description' => 'The entity ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'entityGroupId', 'example' => 'eg-1234567890'],
'entityRules' => ['title' => '用于实体发现的规则。', 'description' => 'The rule for entity discovery.', 'visibility' => 'Public', 'backendName' => 'entityRules', '$ref' => '#/components/schemas/EntityDiscoverRule', 'example' => ''],
'entityGroupName' => ['title' => '实体名称。', 'description' => 'The entity name.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'entityGroupName', 'example' => 'ECS 全部实体'],
'userId' => ['title' => '用户ID。', 'description' => 'The user ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'userId', 'example' => '1654218***343050'],
],
'example' => '',
],
'Evaluator' => [
'type' => 'object',
'properties' => [
'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'resultName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'resultType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'config' => ['type' => 'object', 'description' => '', 'title' => '', 'example' => ''],
'filters' => [
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'title' => '',
'example' => '',
],
'variableMapping' => [
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'EventResourceForEventView' => [
'type' => 'object',
'properties' => [
'entity' => [
'type' => 'object',
'properties' => [
'domain' => ['description' => 'The product domain to which the resource belongs.', 'type' => 'string', 'title' => '', 'example' => '"ECS"'],
'entityType' => ['description' => 'The specific type of the resource.', 'type' => 'string', 'title' => '', 'example' => '"Instance"'],
'entityId' => ['description' => 'The instance ID.', 'type' => 'string', 'title' => '', 'example' => '"i-bp123456"'],
'prop' => ['description' => 'Extra properties of the resource.', 'type' => 'object', 'title' => '', 'example' => '{ "name": "web-server-01", "ip": "10.0.0.1" }'],
],
'description' => 'The resource entity.',
'title' => '',
'example' => '',
],
'tags' => ['description' => 'The tags.', 'type' => 'object', 'title' => '', 'example' => '{ "env": "prod", "project": "payment-gateway" }'],
],
'description' => 'The resource display object.',
'title' => '',
'example' => '',
],
'EventResourceForIncidentView' => [
'type' => 'object',
'properties' => [
'tags' => ['description' => 'The tags.', 'type' => 'string', 'title' => '', 'example' => '[{\\"value\\":\\"测试\\",\\"key\\":\\"环境\\"}]'],
'probs' => ['description' => 'The string that describes the properties of the resource.', 'type' => 'string', 'title' => '', 'example' => '"{"name":"web-server-01","ip":"10.0.0.1"}"'],
'entityType' => ['description' => 'The entity type.', 'type' => 'string', 'title' => '', 'example' => '"Instance"'],
'entityId' => ['description' => 'The entity ID.', 'type' => 'string', 'title' => '', 'example' => 'default'],
'domain' => ['description' => 'The domain of the resource type.', 'type' => 'string', 'title' => '', 'example' => 'rum'],
],
'description' => 'The resource associated with the event.',
'title' => '',
'example' => '',
],
'ExperimentConfig' => [
'type' => 'object',
'properties' => [
'label' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'modelName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'modelProvider' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'modelParameters' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ModelParameters'],
'endpointConnectorId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'promptTemplate' => [
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/PromptTemplateItem'],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'ExperimentPlanData' => [
'type' => 'object',
'properties' => [
'planId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'planName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'datasetId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'experimentCount' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'],
'createdAt' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'],
'updatedAt' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'],
],
'description' => '',
'title' => '',
'example' => '',
],
'ExperimentRecord' => [
'type' => 'object',
'properties' => [
'planId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'experimentName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'totalTasks' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'],
'failedTasks' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'],
'completedTasks' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'],
'progress' => ['type' => 'number', 'description' => '', 'title' => '', 'example' => '', 'format' => 'float'],
'executedAt' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'],
'completedAt' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'],
'datasetId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'planName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'recordId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'experimentConfig' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ExperimentConfig'],
'dataSourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'modelName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'errorMessage' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'datasetProject' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'evaluators' => [
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/Evaluator'],
'description' => '',
'title' => '',
'example' => '',
],
'input' => ['type' => 'object', 'description' => '', 'title' => '', 'example' => ''],
'selectedItemIds' => [
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'Filter' => [
'description' => 'The fields in this filter are combined with a logical AND.',
'type' => 'object',
'properties' => [
'uuid' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/UuidFilter'],
'displayName' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DisplayNameFilter'],
'labels' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/LabelsFilter'],
'status' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/StatusFilter'],
'enabled' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/EnabledFilter'],
],
'title' => '',
'example' => '',
],
'FilterCondition' => [
'title' => '过滤条件',
'description' => 'A field/op/value triplet for event filtering.',
'type' => 'object',
'properties' => [
'field' => ['title' => '字段名', 'description' => 'The name of the field to filter on.', 'type' => 'string', 'example' => ''],
'op' => [
'title' => '操作符',
'description' => 'The comparison operator, such as `equals` or `startsWith`.',
'type' => 'string',
'example' => '',
'enum' => ['EQ', 'EQI', 'START_WITH', 'END_WITH', 'CONTAIN', 'NOT_CONTAIN', 'IN', 'NOT_IN', 'KEYWORD', 'KEYWORD_ALL_MATCH', 'KEYWORD_NOT_MATCH', 'INTERSECT', 'NOT_INTERSECT', 'PATTERN', 'PATTERN_ALL_MATCH', 'PATTERN_NOT_IN', 'EXIST'],
],
'value' => ['title' => '比较值', 'description' => 'The value to match for the specified field and operator.', 'type' => 'string', 'example' => ''],
],
'example' => '',
],
'FilterSetting' => [
'description' => 'The filter configuration.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'expression' => ['title' => '表达式', 'description' => 'The expression.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'expression', 'example' => '1 and 2 or 3'],
'conditions' => [
'title' => '订阅条件',
'description' => 'The subscription conditions.',
'visibility' => 'Public',
'type' => 'array',
'items' => [
'description' => 'A single condition.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'op' => ['title' => '比较符', 'description' => 'The comparison operator.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'op', 'example' => 'EQ'],
'field' => ['title' => '字段', 'description' => 'The field.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'field', 'example' => 'severity'],
'value' => ['title' => '值', 'description' => 'The value.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'value', 'example' => 'CRITICAL'],
],
'extendType' => 'true',
'title' => '',
'example' => '',
],
'maxItems' => 10,
'backendName' => 'conditions',
'example' => '',
],
'relation' => ['title' => '条件间关系', 'description' => 'The relationship between conditions.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'relation', 'example' => 'AND'],
],
'title' => '',
'example' => '',
],
'IncidentContactStruct' => [
'description' => 'The event contact structure.',
'type' => 'object',
'properties' => [
'contactId' => ['description' => 'The contact ID.', 'type' => 'string', 'title' => '', 'example' => '627415', 'visibility' => 'Public', 'backendName' => 'contactId'],
'channel' => [
'description' => 'The channel list.',
'type' => 'array',
'items' => ['description' => 'The channel name.', 'type' => 'string', 'title' => '', 'example' => 'ecs', 'visibility' => 'Public', 'extendType' => 'true'],
'title' => '',
'example' => '',
'visibility' => 'Public',
'backendName' => 'channel',
],
'contactType' => ['description' => 'The contact type.', 'type' => 'string', 'title' => '', 'example' => 'GROUP', 'visibility' => 'Public', 'backendName' => 'contactType'],
],
'title' => '',
'example' => '',
'visibility' => 'Public',
],
'IncidentEscalationPolicyForModify' => [
'title' => 'A short description of struct',
'description' => 'The entity to view.',
'type' => 'object',
'properties' => [
'description' => ['title' => '描述', 'description' => 'The description.', 'type' => 'string', 'example' => 'workspace api monitor create test'],
'enable' => ['title' => '是否启用', 'description' => 'Indicates whether the policy is enabled.', 'type' => 'boolean', 'example' => 'false'],
'name' => ['title' => '名称', 'description' => 'The name.', 'type' => 'string', 'required' => true, 'example' => '"Critical-Alert-Escalation"'],
'escalationStageList' => [
'type' => 'array',
'items' => ['description' => 'The list of escalation stages. This list defines multiple progressive escalation steps. Each stage contains trigger conditions and notification targets.', '$ref' => '#/components/schemas/IncidentEscalationStageForView', 'title' => '', 'example' => ''],
'description' => 'The list of escalation stages. This list defines multiple progressive escalation steps. Each stage contains trigger conditions and notification targets.',
'title' => '',
'example' => '',
],
],
'example' => '',
],
'IncidentEscalationPolicyForView' => [
'title' => 'A short description of struct',
'description' => 'The entity for viewing.',
'type' => 'object',
'properties' => [
'createTime' => ['title' => '创建时间', 'description' => 'The creation time.', 'type' => 'string', 'example' => '2025-03-11T08:21:58Z'],
'description' => ['title' => '描述', 'description' => 'The description.', 'type' => 'string', 'example' => 'workspace api monitor update test'],
'enable' => ['title' => '是否启用', 'description' => 'Indicates whether the policy is enabled.', 'type' => 'boolean', 'example' => 'true'],
'name' => ['title' => '名称', 'description' => 'The name.', 'type' => 'string', 'required' => true, 'example' => '"Critical-Alert-Escalation"'],
'updateTime' => ['title' => '更新时间', 'description' => 'The update time.', 'type' => 'string', 'example' => '2025-04-15T02:02:50Z'],
'userId' => ['title' => '用户id', 'description' => 'The user ID.', 'type' => 'string', 'example' => '"user-abc123"'],
'workspace' => ['title' => 'workspace', 'description' => 'The workspace.', 'type' => 'string', 'example' => '"ws-xyz789"'],
'ownerType' => ['description' => 'The owner type.'."\n"
."\n"
.'- **USER**: User. This is the default value.'."\n"
."\n"
.'- **APP**: Application.', 'type' => 'string', 'title' => '', 'example' => '"USER"'],
'source' => ['description' => 'The source.', 'type' => 'string', 'title' => '', 'example' => '"MANUAL"'],
'syncFromType' => ['description' => 'The source type of the synchronization policy.', 'type' => 'string', 'title' => '', 'example' => '"ARMS"'],
'uuid' => ['description' => 'The globally unique identifier.', 'type' => 'string', 'title' => '', 'example' => '"a1b2c3d4-e5f6-7890-1234-567890abcdef"'],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => '"cn-hangzhou"'],
'escalationStageList' => [
'type' => 'array',
'items' => ['description' => 'The list of escalation stages.', '$ref' => '#/components/schemas/IncidentEscalationStageForView', 'title' => '', 'example' => ''],
'description' => 'The list of escalation stages.',
'title' => '',
'example' => '',
],
],
'example' => '',
],
'IncidentEscalationStageForView' => [
'type' => 'object',
'properties' => [
'cycleNotifyInterval' => ['description' => 'The loop notification interval.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'],
'cycleNotifyCount' => ['description' => 'The number of loop notifications.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '3'],
'triggerDelay' => ['description' => 'The trigger delay time.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '30'],
'effectTimeRange' => ['description' => 'The effective time range.', '$ref' => '#/components/schemas/EffectTimeRange', 'title' => '', 'example' => ''],
'targetIncidentState' => ['description' => 'The target event state.', 'type' => 'string', 'title' => '', 'example' => '"Open"'],
'index' => ['description' => 'The stage index.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1'],
'notifyChannels' => [
'type' => 'array',
'items' => ['description' => 'The notification channel.', '$ref' => '#/components/schemas/NotifyChannel', 'title' => '', 'example' => ''],
'description' => 'The list of notification channels.',
'title' => '',
'example' => '',
],
],
'description' => 'The escalation stage object.',
'title' => '',
'example' => '',
],
'IncidentEscalationStageStruct' => [
'description' => 'The event escalation stage structure.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'stageIndex' => ['description' => 'The stage index.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'backendName' => 'index', 'title' => '', 'example' => '1'],
'cycleNotifyTime' => ['description' => 'The notification interval.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'backendName' => 'cycleNotifyTime', 'title' => '', 'example' => '300'],
'contact' => [
'description' => 'The list of contacts.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The event contact struct.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/IncidentContactStruct', 'title' => '', 'example' => ''],
'backendName' => 'contactList',
'title' => '',
'example' => '',
],
'name' => ['description' => 'The name.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => '运维团队'],
'description' => ['description' => 'The description.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'title' => '', 'example' => '负责处理生产环境告警的主负责人'],
'timeZone' => ['description' => 'The time zone.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'timeZone', 'title' => '', 'example' => 'Asia/Shanghai'],
'effectTime' => ['description' => 'The effective time.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'effectTime', 'title' => '', 'example' => '2025-04-05T00:00:00Z'],
'waitToNextStageTime' => ['description' => 'The waiting time before the next stage begins.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'backendName' => 'waitToNextStageTime', 'title' => '', 'example' => '600'],
'cycleNotifyCount' => ['description' => 'The number of notifications sent per cycle.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'backendName' => 'cycleNotifyCount', 'title' => '', 'example' => '3'],
],
'title' => '',
'example' => '',
],
'IncidentEscalationStruct' => [
'description' => 'The event escalation structure.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'incidentEscalationId' => ['description' => 'The ID of the event escalation.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'uuid', 'title' => '', 'example' => '52631388567'],
'workspace' => ['description' => 'The workspace.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'workspace', 'title' => '', 'example' => 'workspace-test'],
'modifyTime' => ['description' => 'The time when the event escalation was last modified.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'gmtModified', 'title' => '', 'example' => '2025-03-11T08:21:58Z'],
'stage' => [
'description' => 'The stages.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The event escalation stage struct.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/IncidentEscalationStageStruct', 'title' => '', 'example' => ''],
'backendName' => 'stageList',
'title' => '',
'example' => '',
],
'createTime' => ['description' => 'The time when the event escalation was created.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'gmtCreate', 'title' => '', 'example' => '2025-03-11T08:21:58Z'],
'regionId' => ['description' => 'The region ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'regionId', 'title' => '', 'example' => 'cn-hangzhou'],
'name' => ['description' => 'The name.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => '生产环境告警升级策略'],
'description' => ['description' => 'The description.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'title' => '', 'example' => '当告警未响应时,依次通知运维团队、值班经理、CTO'],
],
'title' => '',
'example' => '',
],
'IncidentEventForView' => [
'type' => 'object',
'properties' => [
'incidentUuid' => ['description' => 'The unique ID of the incident to which the event belongs.', 'type' => 'string', 'title' => '', 'example' => '"a1b2c3d4-e5f6-7890-1234-567890abcdef"'],
'userId' => ['description' => 'The ID of the user who created or triggered the event.', 'type' => 'string', 'title' => '', 'example' => '"user-abc123"'],
'time' => ['description' => 'The UNIX timestamp when the event occurred.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1743876000000'],
'incidentEventUuid' => ['description' => 'The unique ID of the event.', 'type' => 'string', 'title' => '', 'example' => '"x1y2z3a4-b5c6-d7e8-f9g0-h1i2j3k4l5m6"'],
'title' => ['description' => 'The title of the event.', 'type' => 'string', 'title' => '', 'example' => '"ECS 实例 i-bp123456 CPU 使用率超过 90%"'],
'workspace' => ['description' => 'The name of the workspace.', 'type' => 'string', 'title' => '', 'example' => '"ws-xyz789"'],
'dimension' => ['description' => 'The dimension information of the event.', 'type' => 'object', 'title' => '', 'example' => '{ "env": "prod", "module": "payment" }'],
'labels' => ['description' => 'The key-value pairs of custom tags.', 'type' => 'object', 'title' => '', 'example' => '{ "project": "payment-gateway", "owner": "ops-team" }'],
'groupBy' => ['description' => 'The criteria for grouping.', 'type' => 'object', 'title' => '', 'example' => '{ "resourceId": "i-bp123456", "severity": "Critical" }'],
'eventResource' => ['description' => 'The information about the associated resource.', '$ref' => '#/components/schemas/EventResourceForIncidentView', 'title' => '', 'example' => ''],
'content' => ['description' => 'The details of the event.', '$ref' => '#/components/schemas/CmsEventForView', 'title' => '', 'example' => ''],
'severity' => ['description' => 'The severity level of the event.', 'type' => 'string', 'title' => '', 'example' => '"Critical"'],
'count' => ['description' => 'The number of times the event was triggered.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '3'],
'severityCountMap' => ['description' => 'The statistics on the number of events for each severity level.', 'type' => 'object', 'title' => '', 'example' => '{ "Critical": 2, "High": 1 }'],
'lastTime' => ['description' => 'The UNIX timestamp of the last occurrence.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1743876000000'],
'recoverTime' => ['description' => 'The UNIX timestamp of the recovery.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1743876600000'],
'autoRecoverTime' => ['description' => 'The UNIX timestamp of the automatic recovery.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1743876600000'],
'state' => ['description' => 'The current status code of the event.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'searchIndex' => [
'type' => 'array',
'items' => ['description' => 'The search index field.', 'type' => 'string', 'title' => '', 'example' => '["ECS", "CPU", "high"]'],
'description' => 'The list of search index fields.',
'title' => '',
'example' => '',
],
'textIndex' => ['description' => 'The text index field.', 'type' => 'string', 'title' => '', 'example' => '"ECS 实例 CPU 使用率过高"'],
],
'description' => 'The event object.',
'title' => '',
'example' => '',
],
'IncidentEventStruct' => [
'description' => 'The structure of an incident event.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'lastTime' => ['description' => 'The time of the last occurrence.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'lastTime', 'title' => '', 'example' => '1741234567890'],
'recoverTime' => ['description' => 'The time of manual recovery.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'recoverTime', 'title' => '', 'example' => '1741234567890'],
'autoRecoverTime' => ['description' => 'The time of automatic recovery.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'autoRecoverTime', 'title' => '', 'example' => '1741234567890'],
'resource' => [
'description' => 'The resource associated with the event.',
'visibility' => 'Public',
'type' => 'object',
'additionalProperties' => ['description' => 'A map.', 'visibility' => 'Public', 'type' => 'string', 'title' => '', 'example' => 'map'],
'backendName' => 'resource',
'title' => '',
'example' => '',
],
'count' => ['description' => 'The total count.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'backendName' => 'count', 'title' => '', 'example' => '6'],
'groupBy' => [
'description' => 'The dimension for grouping.',
'visibility' => 'Public',
'type' => 'object',
'additionalProperties' => ['description' => 'A map.', 'visibility' => 'Public', 'type' => 'string', 'title' => '', 'example' => 'map'],
'backendName' => 'groupBy',
'title' => '',
'example' => '',
],
'title' => ['description' => 'The title.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'title', 'title' => '', 'example' => '用户服务 CPU 使用率过高'],
'userId' => ['description' => 'The user ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'userId', 'title' => '', 'example' => 'user-12345'],
'content' => ['description' => 'The content.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'content', 'title' => '', 'example' => '检测到 user-service 实例 i-abc123 的 CPU 使用率达到 95%,已触发告警。'],
'time' => ['description' => 'The time.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'time', 'title' => '', 'example' => '2025-03-11T08:21:58Z'],
'incidentId' => ['description' => 'The incident ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'incidentId', 'title' => '', 'example' => 'incident-001'],
'incidentEventId' => ['description' => 'The incident event ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'incidentEventUuid', 'title' => '', 'example' => 'event-001'],
'dimension' => [
'description' => 'The dimension.',
'visibility' => 'Public',
'type' => 'object',
'additionalProperties' => ['description' => 'A map.', 'visibility' => 'Public', 'type' => 'string', 'title' => '', 'example' => 'map'],
'backendName' => 'dimension',
'title' => '',
'example' => '',
],
'status' => ['description' => 'The status.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'status', 'title' => '', 'example' => 'Running'],
],
'title' => '',
'example' => '',
],
'IncidentForView' => [
'type' => 'object',
'properties' => [
'content' => ['description' => 'The details of the incident.', 'type' => 'string', 'title' => '', 'example' => '"{"description":"ECS实例CPU过高","impact":"支付服务延迟"}"'],
'incidentId' => ['description' => 'The unique identifier of the incident.', 'type' => 'string', 'title' => '', 'example' => '"incident-abc123"'],
'plan' => ['description' => 'The response plan.', '$ref' => '#/components/schemas/IncidentResponsePlanForView', 'title' => '', 'example' => ''],
'severity' => ['description' => 'The severity level of the incident.', 'type' => 'string', 'title' => '', 'example' => '"Critical"'],
'time' => ['description' => 'The timestamp when the incident was created.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1743876000000'],
'title' => ['description' => 'The title of the incident.', 'type' => 'string', 'title' => '', 'example' => '"支付服务不可用"'],
'userId' => ['description' => 'The ID of the user who created the incident.', 'type' => 'string', 'title' => '', 'example' => '"user-abc123"'],
'workspace' => ['description' => 'The name of the workspace.', 'type' => 'string', 'title' => '', 'example' => '"ws-xyz789"'],
'groupUuid' => ['description' => 'The group identifier.', 'type' => 'string', 'title' => '', 'example' => '"group-123456"'],
'state' => ['description' => 'The current state of the incident.', 'type' => 'string', 'title' => '', 'example' => '"Open"'],
'notifyStrategyUuid' => ['description' => 'The UUID of the associated notification policy, which is used to trigger notifications.', 'type' => 'string', 'title' => '', 'example' => '"notify-strategy-789"'],
'subscriptionUuid' => ['description' => 'The UUID of the subscription policy.', 'type' => 'string', 'title' => '', 'example' => '"subscription-abc"'],
'operator' => ['description' => 'The information about the operator.', '$ref' => '#/components/schemas/ContactForIncidentView', 'title' => '', 'example' => ''],
'notifyStrategyName' => ['description' => 'The name of the notification policy.', 'type' => 'string', 'title' => '', 'example' => '{ "contactId": "contact-123", "name": "张三" }'],
'subscriptionName' => ['description' => 'The name of the subscription policy.', 'type' => 'string', 'title' => '', 'example' => '"P1-Alert-Notification"'],
'escalations' => [
'type' => 'array',
'items' => ['description' => 'The escalation policy.', '$ref' => '#/components/schemas/IncidentEscalationPolicyForView', 'title' => '', 'example' => ''],
'description' => 'The list of escalation policies.',
'title' => '',
'example' => '',
],
'owners' => [
'type' => 'array',
'items' => ['description' => 'The owner.', '$ref' => '#/components/schemas/ContactForIncidentView', 'title' => '', 'example' => ''],
'description' => 'The list of owners.',
'title' => '',
'example' => '',
],
'participants' => [
'type' => 'array',
'items' => ['description' => 'The participant.', '$ref' => '#/components/schemas/ContactForIncidentView', 'title' => '', 'example' => ''],
'description' => 'The list of participants.',
'title' => '',
'example' => '',
],
'groupingKeys' => [
'type' => 'object',
'additionalProperties' => ['description' => 'The key-value pairs for grouping.', 'type' => 'string', 'title' => '', 'example' => '{ "resourceId": "i-bp123456", "severity": "Critical" }'],
'description' => 'The key-value pairs for grouping.',
'title' => '',
'example' => '',
],
'relatedResources' => [
'type' => 'array',
'items' => ['description' => 'The associated resource.', '$ref' => '#/components/schemas/EventResourceForIncidentView', 'title' => '', 'example' => ''],
'description' => 'The list of associated resources.',
'title' => '',
'example' => '',
],
'solution' => ['description' => 'The description of the solution.', 'type' => 'string', 'title' => '', 'example' => '"重启ECS实例后恢复正常"'],
'rootCauseCategory' => ['description' => 'The root cause category.', 'type' => 'string', 'title' => '', 'example' => '"Network"'],
],
'description' => 'The incident object.',
'title' => '',
'example' => '',
],
'IncidentMemberStruct' => [
'description' => 'The structure of an event member.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'acknowledge' => [
'description' => 'The structure of the confirmation information.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'breakLevel' => ['description' => 'The confirmation level.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'breakLevel', 'title' => '', 'example' => '2'],
'verifyTime' => ['description' => 'The verification time.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'verifyTime', 'title' => '', 'example' => '1741234567890'],
],
'backendName' => 'acknowledge',
'title' => '',
'example' => '',
],
'incidentMemberId' => ['description' => 'The ID of the event member.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'incidentItemToken', 'title' => '', 'example' => 'member-001'],
'contactId' => ['description' => 'The ID of the contact.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'contactId', 'title' => '', 'example' => 'user-12345'],
'escalation' => [
'description' => 'Information about the escalation stage.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'stageIndex' => ['description' => 'The index of the escalation stage.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'stageIndex', 'title' => '', 'example' => '1'],
'incidentEscalationId' => ['description' => 'The ID of the event escalation.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'escalationId', 'title' => '', 'example' => 'escalation-001'],
'name' => ['description' => 'The name.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => '第一阶段'],
'description' => ['description' => 'The description.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'title' => '', 'example' => '通知运维团队'],
'title' => ['description' => 'The title.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'title', 'title' => '', 'example' => '告警升级至运维团队'],
],
'backendName' => 'escalation',
'title' => '',
'example' => '',
],
'scheduleGroup' => [
'description' => 'The scheduling group.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'contactId' => ['description' => 'The ID of the contact.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'contactId', 'title' => '', 'example' => 'group-001'],
'name' => ['description' => 'The name.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => '夜间值班组'],
],
'backendName' => 'schedule',
'title' => '',
'example' => '',
],
'time' => ['description' => 'The time.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'time', 'title' => '', 'example' => '2025-10-08 10:18:58'],
'incidentId' => ['description' => 'The ID of the event.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'incidentUuid', 'title' => '', 'example' => 'incident-001'],
'userId' => ['description' => 'The user ID.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'userId', 'title' => '', 'example' => '4123456'],
'contacts' => [
'description' => 'A list of contacts.',
'visibility' => 'Public',
'type' => 'array',
'items' => [
'description' => 'The details of a contact.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'contactMask' => ['description' => 'The masked ID of the contact.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'contactMask', 'title' => '', 'example' => 'user-12345'],
'channel' => ['description' => 'The channel.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'channel', 'title' => '', 'example' => 'dingtalk'],
],
'extendType' => 'true',
'title' => '',
'example' => '',
],
'backendName' => 'contacts',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'IncidentNoteStruct' => [
'description' => 'The structure of the event record.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'format' => ['description' => 'The content format.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'format', 'title' => '', 'example' => 'markdown'],
'noteId' => ['description' => 'The record ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'noteId', 'title' => '', 'example' => 'note-001'],
'time' => ['description' => 'The time.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'time', 'title' => '', 'example' => '1741234567890'],
'incidentId' => ['description' => 'The event ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'incidentUuid', 'title' => '', 'example' => 'incident-001'],
'type' => ['description' => 'The type.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'type', 'title' => '', 'example' => 'apm'],
'content' => ['description' => 'The content.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'content', 'title' => '', 'example' => '已联系运维团队,正在排查问题。'],
'operator' => [
'description' => 'The operator.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'contactId' => ['description' => 'The contact ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'contactId', 'title' => '', 'example' => 'user-12345'],
'contact' => ['description' => 'The contact.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'contact', 'title' => '', 'example' => '{\\"mobile_phone_num\\":\\"153xxxx8040\\",\\"mobile_country_code\\":\\"86\\",\\"email\\":\\"flightxxg@dida.com\\"}'],
'name' => ['description' => 'The name.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => '张三'],
'userId' => ['description' => 'The user ID.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'userId', 'title' => '', 'example' => '4123456'],
],
'backendName' => 'opera',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'IncidentPlanCorporationStruct' => [
'description' => 'The incident plan collaboration structure.',
'type' => 'object',
'properties' => [
'channel' => ['description' => 'The channel name.', 'type' => 'string', 'title' => '', 'example' => 'ecs', 'visibility' => 'Public', 'backendName' => 'channel'],
'robotId' => ['description' => 'The unique ID of the robot.', 'type' => 'string', 'title' => '', 'example' => 'robotId-cs-api-test', 'visibility' => 'Public', 'backendName' => 'robotId'],
],
'title' => '',
'example' => '',
'visibility' => 'Public',
],
'IncidentPlanFieldPath' => [
'description' => 'A struct that defines the field mapping path for an incident plan.',
'type' => 'object',
'properties' => [
'fieldAlias' => ['description' => 'The field alias.', 'type' => 'string', 'title' => '', 'example' => '服务名称', 'visibility' => 'Public', 'backendName' => 'alias'],
'fieldPath' => [
'description' => 'A list of field paths.',
'type' => 'array',
'items' => ['description' => 'The field path.', 'type' => 'string', 'title' => '', 'example' => 'service.name', 'visibility' => 'Public', 'extendType' => 'true'],
'title' => '',
'example' => '',
'visibility' => 'Public',
'backendName' => 'name',
],
],
'title' => '',
'example' => '',
'visibility' => 'Public',
],
'IncidentPlanStruct' => [
'description' => 'The incident plan struct.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'escalationId' => [
'description' => 'A list of escalation policy IDs.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The escalation policy ID.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'escalation-001'],
'backendName' => 'escalationId',
'title' => '',
'example' => '',
],
'gmtModified' => ['description' => 'The time when the plan was last modified.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'gmtModified', 'title' => '', 'example' => '1741234567890'],
'workspace' => ['description' => 'The name of the workspace.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'workspace', 'title' => '', 'example' => 'workspace-test'],
'resourceFiled' => [
'description' => 'A list of resource field mapping paths.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The resource field mapping path.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/IncidentPlanFieldPath', 'title' => '', 'example' => ''],
'backendName' => 'resourceField',
'title' => '',
'example' => '',
],
'corporation' => [
'description' => 'A list of collaborating teams or roles.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The incident plan struct.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/IncidentPlanCorporationStruct', 'title' => '', 'example' => ''],
'backendName' => 'corporation',
'title' => '',
'example' => '',
],
'description' => ['description' => 'The description of the plan.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'title' => '', 'example' => '针对数据库连接数过高的应急处理方案'],
'autoRecoverSeconds' => ['description' => 'The wait time for automatic recovery.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'backendName' => 'autoRecoverSeconds', 'title' => '', 'example' => '3600'],
'groupBy' => [
'description' => 'The grouping field path.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The struct for the field mapping path in the incident plan.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/IncidentPlanFieldPath', 'title' => '', 'example' => ''],
'backendName' => 'groupBy',
'title' => '',
'example' => '',
],
'gmtCreate' => ['description' => 'The time when the plan was created.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'gmtCreate', 'title' => '', 'example' => '1741234567890'],
'userId' => ['description' => 'The user ID.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'userId', 'title' => '', 'example' => 'uesr-12345'],
'closeExpire' => ['description' => 'The timeout period for closing an event.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'closeExpire', 'title' => '', 'example' => '86400000'],
'name' => ['description' => 'The name of the plan.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => '数据库连接数告警预案'],
'incidentPlanId' => ['description' => 'The incident plan ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'uuid', 'title' => '', 'example' => 'plan-001'],
'status' => ['description' => 'The status.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'status', 'title' => '', 'example' => 'Running'],
],
'title' => '',
'example' => '',
],
'IncidentResourceDetail' => [
'description' => 'A struct that describes the details of a resource linked to an event.',
'type' => 'object',
'properties' => [
'resourceId' => ['description' => 'The resource ID object.', 'type' => 'object', 'title' => '', 'example' => '{ "type": "ecs", "id": "i-bp1234567890abcdef" }', 'visibility' => 'Public', 'backendName' => 'resourceId'],
'extraId' => ['description' => 'An additional resource identifier.', 'type' => 'string', 'title' => '', 'example' => 'app-prod-web-01', 'visibility' => 'Public', 'backendName' => 'extraId'],
'type' => ['description' => 'The resource type. This indicates the cloud product to which the resource belongs.', 'type' => 'string', 'title' => '', 'example' => 'ecs', 'visibility' => 'Public', 'backendName' => 'type'],
],
'title' => '',
'example' => '',
'visibility' => 'Public',
],
'IncidentResourceStruct' => [
'description' => 'A struct that describes the linked instance of an event.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'resource' => ['description' => 'The details object for the event resource.', 'visibility' => 'Public', 'backendName' => 'resource', '$ref' => '#/components/schemas/IncidentResourceDetail', 'title' => '', 'example' => ''],
'description' => ['description' => 'The description.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'title' => '', 'example' => '生产环境 Web 服务器'],
'incidentResourceId' => ['description' => 'The unique ID of the resource in the event.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'incidentItemToken', 'title' => '', 'example' => 'res-001'],
'source' => ['description' => 'The source.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'source', 'title' => '', 'example' => 'cloudmonitor'],
'time' => ['description' => 'The timestamp.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'time', 'title' => '', 'example' => '1741234567890'],
'incidentId' => ['description' => 'The event ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'incidentUuid', 'title' => '', 'example' => 'incident-001'],
'userId' => ['description' => 'The user ID.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'userId', 'title' => '', 'example' => 'user-12345'],
],
'title' => '',
'example' => '',
],
'IncidentResponsePlanForModify' => [
'title' => 'Incident 响应计划修改入参',
'description' => 'The payload to create or update an incident management response plan. The fields are the same as in `IncidentResponsePlanForView`, excluding read-only fields such as `createTime`, `updateTime`, and `workspace`.',
'type' => 'object',
'properties' => [
'uuid' => ['title' => '响应计划 uuid', 'description' => 'Required for update operations. Optional for create operations; if omitted, the backend generates one. `NotifyStrategy` also uses this UUID.', 'type' => 'string', 'example' => ''],
'name' => ['title' => '名称', 'type' => 'string', 'description' => '', 'example' => ''],
'description' => ['title' => '描述', 'type' => 'string', 'description' => '', 'example' => ''],
'enabled' => ['title' => '是否启用', 'type' => 'boolean', 'description' => '', 'example' => ''],
'type' => ['title' => '类型', 'type' => 'string', 'description' => '', 'example' => ''],
'source' => ['title' => '来源', 'type' => 'string', 'description' => '', 'example' => ''],
'mode' => ['title' => '生命周期模式', 'type' => 'string', 'description' => '', 'example' => ''],
'syncFromType' => ['title' => '同步来源类型', 'type' => 'string', 'description' => '', 'example' => ''],
'autoRecoverSeconds' => ['title' => '无事件自动恢复时间(秒)', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int64'],
'escalationId' => [
'title' => '升级规划 ID 列表',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
'repeatNotifySetting' => ['title' => '重复通知配置', 'description' => '', 'example' => '', '$ref' => '#/components/schemas/RepeatNotifySetting'],
'pushingSetting' => ['title' => '推送设置', 'description' => '', 'example' => '', '$ref' => '#/components/schemas/PushingSetting'],
],
'example' => '',
],
'IncidentResponsePlanForSNSModify' => [
'title' => 'SNS 内嵌的响应计划入参',
'description' => 'The input parameters for the `responsePlan` sub-entity of the `SubscriptionAndNotifyStrategy` aggregation API. The following read-only backend fields are not exposed: `uuid`, `name`, `type`, `source`, `mode`, `syncFromType`, and `enabled`.'."\n"
."\n"
.'- The `uuid` is the same as the `snsUuid` of `notifyStrategy`.'."\n"
."\n"
.'- The `type` is set to `NOTIFY_STRATEGY_DEFINED`, and the `source` is set to `CUSTOM`.'."\n"
."\n"
.'- The `mode` is set to `BundleStrategy`, and the `syncFromType` is set to `OBS`.',
'type' => 'object',
'properties' => [
'escalationId' => [
'title' => '升级规划 id 列表',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => 'The IDs of the escalation policies.',
'example' => '',
],
'repeatNotifySetting' => [
'title' => '重复通知配置',
'type' => 'object',
'properties' => [
'endIncidentState' => ['description' => 'The incident state that stops repeat notifications.', 'type' => 'string', 'title' => '', 'example' => ''],
'repeatInterval' => ['description' => 'The repeat interval for notifications, in seconds.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
],
'description' => 'The repeat notification setting.',
'example' => '',
],
'autoRecoverSeconds' => ['title' => '自动恢复秒数(无事件持续时长)', 'description' => 'The auto recovery time, in seconds. After this period, the incident is automatically resolved.', 'type' => 'integer', 'example' => '', 'format' => 'int64'],
'pushingSetting' => [
'title' => '推送设置',
'type' => 'object',
'properties' => [
'templateUuid' => ['description' => 'The UUID of the notification template.', 'type' => 'string', 'title' => '', 'example' => ''],
'alertActionIds' => [
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => 'The IDs of the alert actions.',
'title' => '',
'example' => '',
],
'restoreActionIds' => [
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => 'The IDs of the restore actions.',
'title' => '',
'example' => '',
],
],
'description' => 'The push setting for notifications.',
'example' => '',
],
],
'example' => '',
],
'IncidentResponsePlanForSNSView' => [
'title' => 'SNS 内嵌的响应计划查看视图',
'type' => 'object',
'properties' => [
'uuid' => ['title' => 'uuid(D8:= notifyStrategyUuid = SNS uuid)', 'description' => 'The unique ID of the incident response plan.', 'type' => 'string', 'example' => ''],
'name' => ['description' => 'The name of the incident response plan.', 'type' => 'string', 'title' => '', 'example' => ''],
'enable' => ['description' => 'Indicates if the incident response plan is enabled. Valid values: `true` and `false`.', 'type' => 'boolean', 'title' => '', 'example' => ''],
'syncFromType' => ['description' => 'The synchronization source type.', 'type' => 'string', 'title' => '', 'example' => ''],
'mode' => ['description' => 'The mode of the incident response plan. Valid values: `AUTO` and `MANUAL`.', 'type' => 'string', 'title' => '', 'example' => ''],
'type' => ['title' => '响应计划类型(SNS 内必为 NOTIFY_STRATEGY_DEFINED)', 'description' => 'The type of the incident response plan.', 'type' => 'string', 'example' => ''],
'source' => ['title' => '来源(SNS 内必为 CUSTOM)', 'description' => 'The source of the incident.', 'type' => 'string', 'example' => ''],
'escalationId' => [
'title' => '升级规划 id 列表',
'type' => 'array',
'items' => ['description' => 'The ID of the escalation policy.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'The IDs of the escalation policies.',
'example' => '',
],
'repeatNotifySetting' => [
'type' => 'object',
'properties' => [
'endIncidentState' => ['description' => 'The incident state at which repeated notifications stop. For example, `resolved`.', 'type' => 'string', 'title' => '', 'example' => ''],
'repeatInterval' => ['description' => 'The interval, in seconds, for repeated notifications.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
],
'description' => 'The settings for repeated notifications.',
'title' => '',
'example' => '',
],
'autoRecoverSeconds' => ['description' => 'The duration, in seconds, after which an incident without new alerts is automatically resolved.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
'pushingSetting' => [
'type' => 'object',
'properties' => [
'templateUuid' => ['description' => 'The ID of the notification template.', 'type' => 'string', 'title' => '', 'example' => ''],
'alertActionIds' => [
'type' => 'array',
'items' => ['description' => 'The ID of the action to run when an alert is triggered.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'The IDs of actions to run when an alert is triggered.',
'title' => '',
'example' => '',
],
'restoreActionIds' => [
'type' => 'array',
'items' => ['description' => 'The ID of the action to run when the incident is resolved.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'The IDs of actions to run when the incident is resolved.',
'title' => '',
'example' => '',
],
],
'description' => 'The settings for sending notifications.',
'title' => '',
'example' => '',
],
'createTime' => ['description' => 'The time when the incident response plan was created, in UTC and in the `YYYY-MM-DDThh:mm:ssZ` format.', 'type' => 'string', 'title' => '', 'example' => ''],
'updateTime' => ['description' => 'The time when the incident response plan was last updated, in UTC and in the `YYYY-MM-DDThh:mm:ssZ` format.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'description' => 'The details of the incident response plan.',
'example' => '',
],
'IncidentResponsePlanForView' => [
'type' => 'object',
'properties' => [
'type' => ['description' => 'The type of the response plan.', 'type' => 'string', 'title' => '', 'example' => '"Standard"'],
'source' => ['description' => 'The source.', 'type' => 'string', 'title' => '', 'example' => '"MANUAL"'],
'escalationId' => [
'type' => 'array',
'items' => ['description' => 'The ID of the escalation policy.', 'type' => 'string', 'title' => '', 'example' => '"escalation-123"'],
'description' => 'A list of the IDs of associated escalation policies.',
'title' => '',
'example' => '',
],
'repeatNotifySetting' => ['description' => 'The settings for repeated notifications.', '$ref' => '#/components/schemas/RepeatNotifySetting', 'title' => '', 'example' => ''],
'mode' => ['description' => 'The response pattern.', 'type' => 'string', 'title' => '', 'example' => '"Manual"'],
'autoRecoverSeconds' => ['description' => 'The automatic recovery time.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '300'],
'syncFromType' => ['description' => 'The source type of the synchronization policy.', 'type' => 'string', 'title' => '', 'example' => '"ARMS"'],
'pushingSetting' => ['description' => 'The push notification settings.', '$ref' => '#/components/schemas/PushingSetting', 'title' => '', 'example' => ''],
'name' => ['description' => 'The name of the response plan.', 'type' => 'string', 'title' => '', 'example' => '"P1-Critical-Response-Plan"'],
'uuid' => ['description' => 'The globally unique identifier.', 'type' => 'string', 'title' => '', 'example' => '"a1b2c3d4-e5f6-7890-1234-567890abcdef"'],
'workspace' => ['description' => 'The workspace.', 'type' => 'string', 'title' => '', 'example' => '"ws-xyz789"'],
'description' => ['description' => 'The description of the response plan.', 'type' => 'string', 'title' => '', 'example' => '"针对支付服务不可用的紧急响应流程"'],
'enabled' => ['description' => 'Indicates whether the response plan is enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'createTime' => ['description' => 'The time when the plan was created.', 'type' => 'string', 'title' => '', 'example' => '"2025-04-05T10:30:00Z"'],
'updateTime' => ['description' => 'The time when the plan was last updated.', 'type' => 'string', 'title' => '', 'example' => '"2025-04-06T09:15:00Z"'],
],
'description' => 'The response plan object.',
'title' => '',
'example' => '',
],
'IncidentStruct' => [
'description' => 'The core struct that represents a complete event.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'severity' => ['description' => 'The severity level of the event.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'severity', 'title' => '', 'example' => 'P1'],
'escalations' => [
'description' => 'The list of escalation policies.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The event escalation struct.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/IncidentEscalationStruct', 'title' => '', 'example' => ''],
'backendName' => 'escalations',
'title' => '',
'example' => '',
],
'resource' => ['description' => 'The details of the associated resource.', 'visibility' => 'Public', 'backendName' => 'resource', '$ref' => '#/components/schemas/IncidentResourceDetail', 'title' => '', 'example' => ''],
'incidentPlan' => ['description' => 'The associated incident plan.', 'visibility' => 'Public', 'backendName' => 'plan', '$ref' => '#/components/schemas/IncidentPlanStruct', 'title' => '', 'example' => ''],
'time' => ['description' => 'The timestamp.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'time', 'title' => '', 'example' => '1741234567890'],
'incidentId' => ['description' => 'The unique ID of the event.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'incidentUuid', 'title' => '', 'example' => 'incident-001'],
'title' => ['description' => 'The title of the event.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'title', 'title' => '', 'example' => '数据库连接数过高'],
'userId' => ['description' => 'The user ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'userId', 'title' => '', 'example' => 'user-12345'],
'content' => ['description' => 'The content of the event.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'content', 'title' => '', 'example' => '检测到 RDS 实例 rds-bp1234567890abcdef 的连接数达到 1000,已触发告警。'],
'status' => ['description' => 'The current status.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'status', 'title' => '', 'example' => 'OPEN'],
],
'title' => '',
'example' => '',
],
'IncidentTimeline' => [
'description' => 'A struct that represents a timeline node in the event handling process.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'childType' => ['description' => 'The child type.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'childType', 'title' => '', 'example' => 'comment'],
'incidentTimelineId' => ['description' => 'The unique ID of the timeline node.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'incidentItemToken', 'title' => '', 'example' => 'timeline-001'],
'timelineId' => ['description' => 'The ID of the timeline.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'timelineUuid', 'title' => '', 'example' => 'timeline-main-001'],
'time' => ['description' => 'The timestamp.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'backendName' => 'time', 'title' => '', 'example' => '1741234567890'],
'incidentId' => ['description' => 'The ID of the event.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'incidentUuid', 'title' => '', 'example' => 'incident-001'],
'title' => ['description' => 'The timeline title.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'title', 'title' => '', 'example' => '已联系运维团队'],
'type' => ['description' => 'The type.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'type', 'title' => '', 'example' => 'ACTION'],
'userId' => ['description' => 'The user ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'userId', 'title' => '', 'example' => 'user-12345'],
'content' => ['description' => 'The content.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'content', 'title' => '', 'example' => '已通知运维团队进行排查'],
],
'title' => '',
'example' => '',
],
'IncidentTimelineForView' => [
'type' => 'object',
'properties' => [
'incidentUuid' => ['description' => 'The unique identifier of the incident.', 'type' => 'string', 'title' => '', 'example' => '"a1b2c3d4-e5f6-7890-1234-567890abcdef"'],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'title' => '', 'example' => '"user-abc123"'],
'time' => ['description' => 'The UNIX timestamp when the timeline event occurred.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1743876000000'],
'timelineUuid' => ['description' => 'The unique identifier of the timeline record.', 'type' => 'string', 'title' => '', 'example' => '"x1y2z3a4-b5c6-d7e8-f9g0-h1i2j3k4l5m6"'],
'type' => ['description' => 'The type of the timeline event.', 'type' => 'string', 'title' => '', 'example' => '"Comment"'],
'changeType' => ['description' => 'The type of status change.', 'type' => 'string', 'title' => '', 'example' => '"Open -> In Progress"'],
'title' => ['description' => 'The title of the timeline event.', 'type' => 'string', 'title' => '', 'example' => '"故障已升级至值班主管"'],
'content' => ['description' => 'The content of the timeline event.', 'type' => 'any', 'title' => '', 'example' => '"{"action":"restart","resourceId":"i-bp123456"}"'],
'workspace' => ['description' => 'The workspace.', 'type' => 'string', 'title' => '', 'example' => '"ws-xyz789"'],
'operator' => ['description' => 'Information about the operator.', '$ref' => '#/components/schemas/ContactForIncidentView', 'title' => '', 'example' => ''],
],
'description' => 'The incident timeline object.',
'title' => '',
'example' => '',
],
'IndexJsonKey' => [
'type' => 'object',
'properties' => [
'type' => ['description' => 'The field type.', 'type' => 'string', 'title' => '', 'example' => 'text'],
'chn' => ['description' => 'Specifies whether the field contains Chinese characters.'."\n"
."\n"
.'- `true`: The field contains Chinese characters.'."\n"
."\n"
.'- `false`: The field does not contain Chinese characters.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'description' => 'The configuration for a json key.',
'title' => '',
'example' => '',
],
'IndexKey' => [
'type' => 'object',
'properties' => [
'chn' => ['description' => 'Indicates whether the value contains Chinese characters.'."\n"
."\n"
.'- `true`: Contains Chinese characters.'."\n"
."\n"
.'- `false`: Does not contain Chinese characters.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'type' => ['description' => 'Specifies the field type.', 'type' => 'string', 'title' => '', 'example' => 'text'],
'embedding' => ['description' => 'Specifies the model name.', 'type' => 'string', 'title' => '', 'example' => 'text-embedding-v4'],
'jsonKeys' => [
'type' => 'object',
'additionalProperties' => ['description' => 'The name of the json key.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/IndexJsonKey'],
'description' => 'Describes the json keys.',
'title' => '',
'example' => '',
],
],
'description' => 'Describes the table structure.',
'title' => '',
'example' => '',
],
'LabelMatcher' => [
'description' => 'A `LabelMatcher` defines a query that selects resources by exactly matching a label\'s `key` and `value`.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The label key to match.', 'type' => 'string', 'title' => '', 'example' => ''],
'value' => ['description' => 'The label value to match.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'LabelsFilter' => [
'description' => 'A `LabelsFilter` defines a query for selecting objects based on their labels. It allows you to construct complex selection logic by combining multiple label matchers. The filter has two optional fields, `anyOf` and `allOf`. If both are specified, an object is selected only if it satisfies the conditions in both fields.',
'type' => 'object',
'properties' => [
'anyOf' => [
'description' => 'An array of `LabelMatcher` requirements. An object is selected if it satisfies at least one of the requirements in this list (a logical OR). If provided, the list cannot be empty.',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/LabelMatcher'],
'title' => '',
'example' => '',
],
'allOf' => [
'description' => 'An array of `LabelMatcher` requirements. An object is selected only if it satisfies all of the requirements in this list (a logical AND). If provided, the list cannot be empty.',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/LabelMatcher'],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'ListEventMetaCacheAllKeys_DataResult' => [
'type' => 'object',
'properties' => [
'label' => [
'description' => 'label类型的Key列表',
'type' => 'array',
'items' => ['description' => 'Key名称', 'type' => 'string', 'example' => '_cms_rule_id'],
'example' => '["_cms_rule_id","_cms_rule_name"]',
],
'annotation' => [
'description' => 'annotation类型的Key列表',
'type' => 'array',
'items' => ['description' => 'Key名称', 'type' => 'string', 'example' => 'message'],
'example' => '["message","current_value"]',
],
'resourceTag' => [
'description' => 'resource.tag类型的Key列表',
'type' => 'array',
'items' => ['description' => 'Key名称', 'type' => 'string', 'example' => 'arn'],
'example' => '["arn","callType"]',
],
],
],
'MaintainWindowForModify' => [
'title' => 'A short description of struct',
'description' => 'The silence policy object.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'effective' => ['title' => 'Crontab 表达式', 'description' => 'The Crontab expression.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'effective', 'example' => '* * 14-18 ? * *'],
'description' => ['title' => '创建时间', 'description' => 'The description.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'example' => 'workspace test'],
'filterSetting' => ['description' => 'The filter conditions.', 'visibility' => 'Public', 'backendName' => 'filterSetting', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => ''],
'maintainWindowName' => ['title' => '名称', 'description' => 'The name.', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'backendName' => 'maintainWindowName', 'example' => 'test strategy'],
'startTime' => ['title' => '生效开始时间', 'description' => 'The time when the policy starts to take effect.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'startTime', 'example' => '2025-04-11 07:55:00'],
'effectTimeRange' => [
'description' => 'The effective time range.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'startTimeInMinute' => ['title' => '开始时间(分钟数)', 'description' => 'The start time in minutes.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'maximum' => '1438', 'minimum' => '0', 'backendName' => 'startTimeInMinute', 'example' => '60'],
'timeZone' => ['title' => '时区', 'description' => 'The time zone.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'timeZone', 'example' => '+08:00'],
'dayInWeek' => [
'title' => '生效天(周一到周日)',
'description' => 'The days of the week when the policy is effective (Monday to Sunday).',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The values 0 to 6 represent Sunday to Saturday.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'extendType' => 'true', 'title' => '', 'example' => '0'],
'backendName' => 'dayInWeek',
'example' => '',
],
'endTimeInMinute' => ['title' => '结束时间(分钟数)', 'description' => 'The end time in minutes.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'maximum' => '1439', 'minimum' => '0', 'backendName' => 'endTimeInMinute', 'example' => '60'],
],
'backendName' => 'effectTimeRange',
'title' => '',
'example' => '',
],
'endTime' => ['title' => '生效结束时间', 'description' => 'The time when the policy stops taking effect.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'endTime', 'example' => '2024-09-05 09:30:40'],
],
'example' => '',
],
'MaintainWindowForView' => [
'title' => 'A short description of struct',
'description' => 'The alert silencing policy object.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'workspace' => ['title' => 'workspace', 'description' => 'The workspace.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'workspace', 'example' => 'workspace-test'],
'maintainWindowId' => ['title' => 'UUID', 'description' => 'The UUID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'maintainWindowId', 'example' => '123-12-312-31-23123'],
'description' => ['title' => '描述', 'description' => 'The description.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'example' => 'test'],
'filterSetting' => ['description' => 'The filter conditions.', 'visibility' => 'Public', 'backendName' => 'filterSetting', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => ''],
'maintainWindowName' => ['title' => '名称', 'description' => 'The name.', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'backendName' => 'maintainWindowName', 'example' => '测试策略'],
'updateTime' => ['title' => '更新时间', 'description' => 'The last time the resource was updated.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'updateTime', 'example' => '2025-05-07T02:19:05Z'],
'effectTimeRange' => [
'description' => 'The effective time range.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'startTimeInMinute' => ['title' => '开始时间(分钟数)', 'description' => 'The start time in minutes.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'maximum' => '1438', 'minimum' => '0', 'backendName' => 'startTimeInMinute', 'example' => '60'],
'timeZone' => ['title' => '时区', 'description' => 'The time zone.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'timeZone', 'example' => '+08:00'],
'dayInWeek' => [
'title' => '生效天(周一到周日)',
'description' => 'The days of the week when the policy is effective.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The values 0 to 6 represent Sunday to Saturday.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'extendType' => 'true', 'title' => '', 'example' => '3'],
'backendName' => 'dayInWeek',
'example' => '',
],
'endTimeInMinute' => ['title' => '结束时间(分钟数)', 'description' => 'The end time in minutes.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'maximum' => '1439', 'minimum' => '0', 'backendName' => 'endTimeInMinute', 'example' => '360'],
],
'backendName' => 'effectTimeRange',
'title' => '',
'example' => '',
],
'userId' => ['title' => '用户id', 'description' => 'The user ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'userId', 'example' => '12312312***'],
'effective' => ['title' => 'Crontab 表达式', 'description' => 'The crontab expression.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'effective', 'example' => '* * 14-18 ? * *'],
'createTime' => ['title' => '创建时间', 'description' => 'The time when the policy was created.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'createTime', 'example' => '2025-03-11T08:21:58Z'],
'enable' => ['title' => '是否启用', 'description' => 'Indicates whether the policy is enabled.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'enabled', 'example' => 'true'],
'startTime' => ['title' => '生效开始时间', 'description' => 'The start time of the effective period.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'startTime', 'example' => '2024-11-26 10:02:01'],
'endTime' => ['title' => '生效结束时间', 'description' => 'The end time of the effective period.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'endTime', 'example' => '2024-11-26 12:02:01'],
],
'example' => '',
],
'ManageAlertRulesResult' => [
'description' => 'The result of managing alert rules.',
'type' => 'object',
'properties' => [
'alertRule' => ['description' => 'The details of the created or updated alert rule.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/AlertRuleV2'],
'deletedCount' => ['description' => 'The number of deleted alert rules.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
'deletedUuidList' => [
'description' => 'A list of UUIDs of deleted alert rules.',
'type' => 'array',
'items' => ['description' => 'The UUID of a deleted alert rule.', 'type' => 'string', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'updatedCount' => ['description' => 'The number of updated alert rules.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
'updatedUuidList' => [
'title' => '',
'type' => 'array',
'items' => ['description' => 'The UUID of an updated alert rule.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'A list of UUIDs of updated alert rules.',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'ManageAlertRulesUnifiedActionInput' => [
'title' => '',
'type' => 'object',
'properties' => [
'action' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'required' => true,
'enum' => ['CREATE', 'UPDATE', 'PATCH', 'BATCH_DELETE', 'BATCH_ENABLE', 'BATCH_DISABLE', 'DELETE', 'ENABLE', 'DISABLE'],
],
'uuid' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'workspace' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'displayName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'contentTemplate' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'enabled' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''],
'datasourceConfig' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DatasourceConfigUnified'],
'queryConfig' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/QueryConfigUnified'],
'conditionConfig' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ConditionConfigUnified'],
'scheduleConfig' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ScheduleConfigUnified'],
'notifyConfig' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/NotifyConfigUnified'],
'actionIntegrationConfig' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ActionIntegrationConfig'],
'armsIntegrationConfig' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ArmsIntegrationConfig'],
'observeResourceInstanceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'observeResourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'labels' => [
'title' => '',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
'annotations' => [
'title' => '',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
'uuidList' => [
'title' => '',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
],
'description' => '',
'example' => '',
],
'MergeContact' => [
'description' => 'The struct for a merged contact object.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'gmtModified' => ['description' => 'The time when the contact was last modified.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'gmtModified', 'title' => '', 'example' => '2025-03-11T08:21:58.789Z'],
'name' => ['description' => 'The name of the contact.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => '张三'],
'gmtCreate' => ['description' => 'The time when the contact was created.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'gmtCreate', 'title' => '', 'example' => '2025-03-11T08:21:58.789Z'],
'identifier' => ['description' => 'The unique identifier of the contact.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'identifier', 'title' => '', 'example' => 'user-12345'],
'phoneCode' => ['description' => 'The country code for the mobile phone number.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'phoneCode', 'title' => '', 'example' => '86'],
'phone' => ['description' => 'The mobile phone number.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'phone', 'sensitive' => true, 'title' => '', 'example' => '13800138000'],
'phoneVerify' => ['description' => 'Specifies whether the mobile phone number is authenticated.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'phoneVerify', 'title' => '', 'example' => 'true'],
'email' => ['description' => 'The email address.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'email', 'sensitive' => true, 'title' => '', 'example' => 'zhangsan@company.com'],
'emailVerify' => ['description' => 'Specifies whether the email address is authenticated.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'emailVerify', 'title' => '', 'example' => 'true'],
'lang' => ['description' => 'The language preference.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'lang', 'title' => '', 'example' => 'zh-CN'],
'source' => ['description' => 'The source system of the contact.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'source', 'title' => '', 'example' => 'dingtalk'],
'extend' => ['description' => 'An extension field used to store additional information.', 'visibility' => 'Public', 'type' => 'object', 'backendName' => 'extend', 'title' => '', 'example' => '{ "department": "运维部", "role": "工程师" }'],
],
'title' => '',
'example' => '',
],
'MergeContactGroup' => [
'description' => 'A struct for a merged contact group object.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The name of the contact group.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => '运维团队'],
'gmtModified' => ['description' => 'The time when the contact group was last modified.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'gmtCreate', 'title' => '', 'example' => '2025-03-11T08:21:58.789Z'],
'identifier' => ['description' => 'The unique identifier of the contact group.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'identifier', 'title' => '', 'example' => 'group-12345'],
'gmtCreate' => ['description' => 'The time when the contact group was created.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'plan', 'title' => '', 'example' => '2025-03-11T08:21:58.789Z'],
'contacts' => [
'description' => 'A list of unique identifiers for the members in the group.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The unique identifier of a member in the group.', 'visibility' => 'Public', 'type' => 'string', 'extendType' => 'true', 'title' => '', 'example' => 'user-12345'],
'backendName' => 'contacts',
'title' => '',
'example' => '',
],
'extend' => ['description' => 'An extension field that stores additional information.', 'visibility' => 'Public', 'type' => 'object', 'backendName' => 'extend', 'title' => '', 'example' => '{ "department": "运维部", "role": "工程师" }'],
'source' => ['description' => 'The source system of the contact group.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'source', 'title' => '', 'example' => 'dingtalk'],
],
'title' => '',
'example' => '',
],
'MergeOncallSchedule' => [
'type' => 'object',
'properties' => [
'gmtModified' => ['description' => 'The UTC time when the on-call schedule was last modified.', 'type' => 'string', 'title' => '', 'example' => ''],
'name' => ['description' => 'The name of the on-call schedule.', 'type' => 'string', 'title' => '', 'example' => ''],
'gmtCreate' => ['description' => 'The UTC time when the on-call schedule was created.', 'type' => 'string', 'title' => '', 'example' => ''],
'identifier' => ['description' => 'The unique identifier of the on-call schedule.', 'type' => 'string', 'title' => '', 'example' => ''],
'source' => ['description' => 'The creation source of the on-call schedule.', 'type' => 'string', 'title' => '', 'example' => ''],
'detail' => ['description' => 'Details of the on-call schedule.', 'type' => 'object', 'title' => '', 'example' => ''],
'workspace' => ['description' => 'The workspace that the on-call schedule belongs to.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'description' => 'Details of the merged on-call schedule.',
'title' => '',
'example' => '',
],
'MergeRobot' => [
'description' => 'The struct for the merge object of a bot.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The name of the bot.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => '运维告警机器人'],
'webhook' => ['description' => 'The webhook address.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'webhook', 'title' => '', 'example' => 'https://oapi.dingtalk.com/robot/send?access_token=abc123'],
'type' => ['description' => 'The type of the bot.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'type', 'title' => '', 'example' => 'dingtalk'],
'createTime' => ['description' => 'The time when the bot was created.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'gmtCreate', 'title' => '', 'example' => '2025-03-11T08:21:58.789Z'],
'gmtModified' => ['description' => 'The time when the bot was last modified.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'gmtModified', 'title' => '', 'example' => '2025-03-11T08:21:58.789Z'],
'identifier' => ['description' => 'The unique identifier of the bot.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'identifier', 'title' => '', 'example' => 'robot-12345'],
'lang' => ['description' => 'The language preference.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'lang', 'title' => '', 'example' => 'zh-CN'],
'extend' => [
'description' => 'The extension fields.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'dailyNoc' => ['description' => 'Specifies whether to enable the daily on-duty report.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'dailyNoc', 'title' => '', 'example' => 'true'],
'dingSignKey' => ['description' => 'The signature key for DingTalk.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'dingSignKey', 'title' => '', 'example' => 'abc123'],
'enableOutgoing' => ['description' => 'Specifies whether to enable outbound requests.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'enableOutgoing', 'title' => '', 'example' => 'false'],
'cardTemplate' => ['description' => 'The card template.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'cardTemplate', 'title' => '', 'example' => 'incident-card-template'],
'dailyNocTime' => ['description' => 'The time for the daily on-duty report.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'dailyNocTime', 'title' => '', 'example' => '09:00'],
'token' => ['description' => 'The authentication token.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'token', 'sensitive' => true, 'title' => '', 'example' => 'token-abc123'],
],
'backendName' => 'extend',
'title' => '',
'example' => '',
],
'source' => ['description' => 'The source system of the bot.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'source', 'title' => '', 'example' => 'dingtalk'],
],
'title' => '',
'example' => '',
],
'MergeWebhook' => [
'description' => 'The struct of the merged webhook object.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'gmtCreate' => ['description' => 'The creation time.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'gmtCreate', 'title' => '', 'example' => '2025-03-11T08:21:58.789Z'],
'name' => ['description' => 'The name of the webhook.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'name', 'title' => '', 'example' => '运维告警通知'],
'gmtModified' => ['description' => 'The last modification time.', 'visibility' => 'Public', 'type' => 'object', 'backendName' => 'gmtModified', 'title' => '', 'example' => '2025-03-11T08:21:58.789Z'],
'identifier' => ['description' => 'The unique identifier of the webhook.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'identifier', 'title' => '', 'example' => 'webhook-12345'],
'webhook' => ['description' => 'The webhook URL used to send requests.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'webhook', 'title' => '', 'example' => 'https://oapi.dingtalk.com/robot/send?access_token=abc123'],
'type' => ['description' => 'The type of the webhook. It indicates the destination platform.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'type', 'title' => '', 'example' => 'dingtalk'],
'headers' => ['description' => 'The request header.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'headers', 'title' => '', 'example' => '{"Authorization": "Bearer abc123"}'],
'method' => ['description' => 'The HTTP request method.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'method', 'title' => '', 'example' => 'POST'],
'contentType' => ['description' => 'The content type.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'contentType', 'title' => '', 'example' => 'application/json'],
'lang' => ['description' => 'The language preference.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'lang', 'title' => '', 'example' => 'zh-CN'],
'extend' => ['description' => 'An extension field used to store additional configurations.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'extend', 'title' => '', 'example' => '{"timeout": 3000}'],
'source' => ['description' => 'The source system of the webhook.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'source', 'title' => '', 'example' => 'dingtalk'],
],
'title' => '',
'example' => '',
],
'MetricSetMultiTrigger' => [
'title' => '',
'type' => 'object',
'properties' => [
'severity' => [
'title' => '',
'type' => 'string',
'enum' => ['INFO', 'WARN', 'WARNING', 'ERROR', 'CRITICAL'],
'description' => '',
'example' => '',
],
'durationSecs' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'description' => '', 'example' => ''],
'expressionType' => [
'title' => '',
'type' => 'string',
'enum' => ['SIMPLE', 'COMPOSITE'],
'description' => '',
'example' => '',
],
'queryName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'operator' => [
'title' => '',
'type' => 'string',
'enum' => ['GT', 'GE', 'GTE', 'LT', 'LE', 'LTE', 'EQ', 'NE', 'IN_RANGE', 'OUT_OF_RANGE', 'PRESENT', 'NOT_PRESENT', 'YOY_UP', 'YOY_DOWN'],
'description' => '',
'example' => '',
],
'threshold' => ['title' => '', 'type' => 'number', 'format' => 'double', 'description' => '', 'example' => ''],
'min' => ['title' => '', 'type' => 'number', 'format' => 'double', 'description' => '', 'example' => ''],
'max' => ['title' => '', 'type' => 'number', 'format' => 'double', 'description' => '', 'example' => ''],
'logicOperator' => [
'title' => '',
'type' => 'string',
'enum' => ['AND', 'OR', 'UNLESS'],
'description' => '',
'example' => '',
],
'conditions' => [
'title' => '',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/MetricSetTriggerSimpleExpression', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
],
'description' => '',
'example' => '',
],
'MetricSetNamedQueryEntry' => [
'title' => '',
'type' => 'object',
'properties' => [
'name' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'metricSet' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'metric' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'labelFilters' => [
'title' => '',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/UmodelLabelFilter', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
],
'description' => '',
'example' => '',
],
'MetricSetTriggerCompositeExpression' => [
'title' => '',
'type' => 'object',
'properties' => [
'expressionType' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'logicOperator' => [
'title' => '',
'type' => 'string',
'enum' => ['AND', 'OR', 'UNLESS'],
'description' => '',
'example' => '',
],
'conditions' => [
'title' => '',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/MetricSetTriggerSimpleExpression', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
],
'description' => '',
'example' => '',
],
'MetricSetTriggerSimpleExpression' => [
'title' => '',
'type' => 'object',
'properties' => [
'expressionType' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'queryName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'operator' => [
'title' => '',
'type' => 'string',
'enum' => ['GT', 'GE', 'GTE', 'LT', 'LE', 'LTE', 'EQ', 'NE', 'IN_RANGE', 'OUT_OF_RANGE', 'PRESENT', 'NOT_PRESENT', 'YOY_UP', 'YOY_DOWN'],
'description' => '',
'example' => '',
],
'threshold' => ['title' => '', 'type' => 'number', 'format' => 'double', 'description' => '', 'example' => ''],
'min' => ['title' => '', 'type' => 'number', 'format' => 'double', 'description' => '', 'example' => ''],
'max' => ['title' => '', 'type' => 'number', 'format' => 'double', 'description' => '', 'example' => ''],
],
'description' => '',
'example' => '',
],
'ModelParameters' => [
'type' => 'object',
'properties' => [
'temperature' => ['type' => 'number', 'description' => '', 'title' => '', 'example' => '', 'format' => 'float'],
'maxTokens' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'],
'topP' => ['type' => 'number', 'description' => '', 'title' => '', 'example' => '', 'format' => 'float'],
'topK' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'],
'frequencyPenalty' => ['type' => 'number', 'description' => '', 'title' => '', 'example' => '', 'format' => 'float'],
'presencePenalty' => ['type' => 'number', 'description' => '', 'title' => '', 'example' => '', 'format' => 'float'],
'stopSequences' => [
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'NotifyChannel' => [
'type' => 'object',
'properties' => [
'channelType' => ['description' => 'The type of the notification channel.', 'type' => 'string', 'title' => '', 'example' => '"DingTalk"'],
'receivers' => [
'type' => 'array',
'items' => ['description' => 'A receiver.', 'type' => 'string', 'title' => '', 'example' => '[]'],
'description' => 'The list of receivers.',
'title' => '',
'example' => '',
],
'enabledSubChannels' => [
'type' => 'array',
'items' => ['description' => 'A channel.', 'type' => 'string', 'title' => '', 'example' => '[]'],
'description' => 'The list of enabled sub-channels.',
'title' => '',
'example' => '',
],
],
'description' => 'The notification channel configuration object.',
'title' => '',
'example' => '',
],
'NotifyConfigUnified' => [
'title' => '',
'type' => 'object',
'properties' => [
'type' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'required' => true,
'enum' => ['DIRECT_NOTIFY', 'NOTIFY_POLICY'],
],
'channels' => [
'title' => '',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DirectNotifyChannel'],
'description' => '',
'required' => true,
'example' => '',
],
'silenceTimeSecs' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int32'],
'activeDays' => [
'title' => '',
'type' => 'array',
'items' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'],
'description' => '',
'example' => '',
],
'activeStartTime' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'activeEndTime' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'utcOffset' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'notifyStrategies' => [
'title' => '',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
],
'description' => '',
'example' => '',
],
'NotifyRouteForSubscription' => [
'type' => 'object',
'properties' => [
'channels' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'channelType' => ['description' => 'The channel type. For example, `Email`, `SMS`, or `Webhook`.', 'type' => 'string', 'title' => '', 'example' => ''],
'receivers' => [
'type' => 'array',
'items' => ['description' => 'A single receiver. For example, an email address or a phone number.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'A list of notification receivers. The receiver format depends on the `channelType`.',
'title' => '',
'example' => '',
],
'enabledSubChannels' => [
'type' => 'array',
'items' => ['description' => 'A single enabled sub-channel.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'A list of enabled sub-channels. Applicable to channels that support finer-grained topics or categories.',
'title' => '',
'example' => '',
],
],
'description' => 'The configuration for a notification channel.',
'title' => '',
'example' => '',
],
'description' => 'An array of objects, each defining a notification channel.',
'title' => '',
'example' => '',
],
'effectTimeRange' => [
'type' => 'object',
'properties' => [
'timeZone' => ['description' => 'The time zone for the effect time range, specified in the IANA Time Zone Database format. For example, `UTC` or `Asia/Shanghai`.', 'type' => 'string', 'title' => '', 'example' => ''],
'dayInWeek' => [
'type' => 'array',
'items' => ['description' => 'A day of the week. Valid values are from 1 (Monday) to 7 (Sunday).', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
'description' => 'The active days of the week, specified as an array of integers.',
'title' => '',
'example' => '',
],
'startTimeInMinute' => ['description' => 'The start of the active period, in minutes from 00:00. The value ranges from 0 to 1439.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
'endTimeInMinute' => ['description' => 'The end of the active period, in minutes from 00:00. The value ranges from 0 to 1439.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
],
'description' => 'The active period for the notification rule.',
'title' => '',
'example' => '',
],
],
'description' => 'Defines the notification routing rules for a subscription.',
'title' => '',
'example' => '',
],
'NotifyStrategyForModify' => [
'title' => 'A short description of struct',
'description' => 'The entity.',
'type' => 'object',
'properties' => [
'description' => ['title' => '描述', 'description' => 'The description.', 'type' => 'string', 'example' => 'test'],
'groupingSetting' => [
'title' => '合并设置',
'description' => 'The grouping settings.',
'type' => 'object',
'properties' => [
'groupingKeys' => [
'title' => '合并keys',
'description' => 'The keys used for merging.',
'type' => 'array',
'items' => ['description' => 'The grouping field.', 'type' => 'string', 'title' => '', 'example' => 'severity'],
'example' => '',
],
'periodMin' => ['title' => '检查周期分钟数', 'description' => 'The check period in minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
'silenceSec' => ['title' => '沉默秒数', 'description' => 'The silence period in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '300'],
'times' => ['title' => '触发次数', 'description' => 'The number of triggers.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
'required' => true,
'example' => '',
],
'ignoreRestoredNotification' => ['title' => '恢复是否通知', 'description' => 'Specifies whether to send a notification upon recovery.', 'type' => 'boolean', 'example' => 'false'],
'notifyStrategyName' => ['title' => '名称', 'description' => 'The name.', 'type' => 'string', 'required' => true, 'example' => '策略名称'],
'routes' => [
'title' => '通知渠道路由设置',
'description' => 'The routing settings for the notification channel.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'channels' => [
'title' => '通知渠道',
'description' => 'The notification channel.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'channelType' => [
'title' => '渠道类型',
'description' => 'The channel type.',
'type' => 'string',
'required' => true,
'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'],
'example' => 'CONTACT',
],
'enabledSubChannels' => [
'title' => '启用通知类型',
'description' => 'The enabled notification types.',
'type' => 'array',
'items' => ['description' => 'The notification channel.', 'type' => 'string', 'title' => '', 'example' => 'SMS'],
'example' => '',
],
'receivers' => [
'title' => '渠道接收方',
'description' => 'The channel receivers.',
'type' => 'array',
'items' => ['description' => 'The specified recipient.', 'type' => 'string', 'title' => '', 'example' => 'contactId'],
'required' => true,
'example' => '',
],
],
'description' => 'The notification channel.',
'title' => '',
'example' => '',
],
'example' => '',
],
'effectTimeRange' => [
'title' => '字段',
'description' => 'The effective time range.',
'type' => 'object',
'properties' => [
'dayInWeek' => [
'title' => '生效天(周一到周日)',
'description' => 'The days of the week when the policy is active. Monday to Sunday.',
'type' => 'array',
'items' => ['description' => 'A value from 1 to 7. 1 indicates Monday and 7 indicates Sunday.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'example' => '',
],
'endTimeInMinute' => ['title' => '结束时间(分钟数)', 'description' => 'The end time in minutes.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '1439', 'minimum' => '0', 'example' => '30'],
'startTimeInMinute' => ['title' => '开始时间(分钟数)', 'description' => 'The start time in minutes.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '1438', 'minimum' => '0', 'example' => '60'],
'timeZone' => ['title' => '时区', 'description' => 'The time zone.', 'type' => 'string', 'example' => '+08:00'],
],
'example' => '',
],
'filterSetting' => ['description' => 'The routing conditions.', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => ''],
'severities' => [
'description' => 'The list of severity levels.',
'type' => 'array',
'items' => ['description' => 'The severity level. Valid values: CRITICAL, WARNING, and INFO.', 'type' => 'string', 'title' => '', 'example' => 'INFO'],
'title' => '',
'example' => '',
],
'digitalEmployeeName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'enableRca' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => 'The routing settings for the notification channel.',
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
'customTemplateEntries' => [
'title' => '通知渠道模板',
'description' => 'The notification channel template.',
'type' => 'array',
'items' => [
'description' => 'The template details.',
'type' => 'object',
'properties' => [
'targetType' => ['title' => '通知类型', 'description' => 'The notification type.', 'type' => 'string', 'required' => true, 'example' => 'SMS'],
'templateUuid' => ['title' => '模板UUID', 'description' => 'The template UUID.', 'type' => 'string', 'required' => true, 'example' => '123123-12-31-231-23-12-3123'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'enableIncidentManagement' => ['description' => 'Specifies whether to enable incident management.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'filterSetting' => ['description' => 'The filter settings.', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => ''],
'workspaceFilterSetting' => ['description' => 'The workspace filter settings.', '$ref' => '#/components/schemas/WorkspaceFilterSetting', 'title' => '', 'example' => ''],
'pushingSetting' => [
'type' => 'object',
'properties' => [
'templateUuid' => ['description' => 'The message template UUID.', 'type' => 'string', 'title' => '', 'example' => '模板 UUID'],
'alertActionIds' => [
'type' => 'array',
'items' => ['description' => 'The alert action ID.', 'type' => 'string', 'title' => '', 'example' => '["action-123", "action-456"]'],
'description' => 'The list of alert action IDs.',
'title' => '',
'example' => '',
],
'restoreActionIds' => [
'type' => 'array',
'items' => ['description' => 'The restore action ID.', 'type' => 'string', 'title' => '', 'example' => '["restore-789"]'],
'description' => 'The list of restore action IDs.',
'title' => '',
'example' => '',
],
],
'description' => 'The push settings.',
'title' => '',
'example' => '',
],
'repeatNotifySetting' => [
'type' => 'object',
'properties' => [
'endIncidentState' => ['description' => 'The incident state that stops the repeated notifications.', 'type' => 'string', 'title' => '', 'example' => '"Resolved"'],
'repeatInterval' => ['description' => 'The interval for repeated notifications.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'],
],
'description' => 'The settings for repeated notifications.',
'title' => '',
'example' => '',
],
'autoRecoverSeconds' => ['description' => 'The auto-recovery time in seconds.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '300'],
'escalationId' => [
'type' => 'array',
'items' => ['description' => 'The escalation policy ID.', 'type' => 'string', 'title' => '', 'example' => '["escalation-123", "escalation-456"]'],
'description' => 'The list of escalation policy IDs.',
'title' => '',
'example' => '',
],
],
'example' => '',
],
'NotifyStrategyForSNSModify' => [
'title' => '',
'description' => 'The notifyStrategy sub-entity input parameters used for the SubscriptionAndNotifyStrategy aggregate operation.'."\n"
.'Differences from the legacy NotifyStrategyForModify:'."\n"
.'- Removed filterSetting / workspaceFilterSetting (now carried by sns.subscription).'."\n"
.'- Removed pushingSetting / repeatNotifySetting / autoRecoverSeconds / escalationId (now carried by sns.responsePlan).'."\n"
.'- Does not expose uuid / mode / syncFromType / incidentResponsePlanId / enabled (forcibly overwritten by the backend).',
'type' => 'object',
'properties' => [
'description' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'groupingSetting' => [
'title' => '',
'type' => 'object',
'properties' => [
'groupingKeys' => [
'title' => '',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
'periodMin' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int32'],
'silenceSec' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int32'],
'times' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int32'],
],
'required' => true,
'description' => '',
'example' => '',
],
'ignoreRestoredNotification' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''],
'enableIncidentManagement' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''],
'routes' => [
'title' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'channels' => [
'title' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'channelType' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'required' => true,
'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'],
],
'enabledSubChannels' => [
'title' => '',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
'receivers' => [
'title' => '',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'required' => true,
'description' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'example' => '',
],
'effectTimeRange' => [
'title' => '',
'type' => 'object',
'properties' => [
'dayInWeek' => [
'title' => '',
'type' => 'array',
'items' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'],
'description' => '',
'example' => '',
],
'endTimeInMinute' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int32'],
'startTimeInMinute' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int32'],
'timeZone' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
],
'description' => '',
'example' => '',
],
'filterSetting' => [
'title' => '',
'type' => 'object',
'properties' => [
'conditions' => [
'title' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'field' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'op' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'value' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'maxItems' => 10,
'description' => '',
'example' => '',
],
'expression' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'relation' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
],
'description' => '',
'example' => '',
],
'severities' => [
'title' => '',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
'digitalEmployeeName' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'enableRca' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'required' => true,
'description' => '',
'example' => '',
],
'customTemplateEntries' => [
'title' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'targetType' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => '', 'required' => false],
'templateUuid' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => '', 'required' => false],
],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'example' => '',
],
],
'example' => '',
],
'NotifyStrategyForSNSView' => [
'title' => 'SNS 内嵌的通知策略查看视图',
'description' => 'The value of the `SubscriptionAndNotifyStrategyForView.notifyStrategy` sub-field.',
'type' => 'object',
'properties' => [
'notifyStrategyId' => ['title' => 'uuid(= SNS uuid,D8)', 'description' => 'The ID of the notification strategy.', 'type' => 'string', 'example' => ''],
'notifyStrategyName' => ['title' => '名称', 'description' => 'The name of the notification strategy.', 'type' => 'string', 'example' => ''],
'description' => ['title' => '描述', 'description' => 'The description of the notification strategy.', 'type' => 'string', 'example' => ''],
'enable' => ['title' => '是否启用', 'description' => 'Specifies whether to enable the notification strategy. Valid values: true, false.', 'type' => 'boolean', 'example' => ''],
'userId' => ['title' => '用户id', 'description' => 'The user ID.', 'type' => 'string', 'example' => ''],
'workspace' => ['title' => 'workspace', 'description' => 'The workspace to which the notification strategy belongs.', 'type' => 'string', 'example' => ''],
'syncFromType' => ['title' => '同步来源(SNS 新建必为 OBS)', 'description' => 'The source from which the strategy is synchronized.', 'type' => 'string', 'example' => ''],
'mode' => ['title' => '生命周期模式(SNS 内必为 BundleStrategy)', 'description' => 'The mode of the notification strategy.', 'type' => 'string', 'example' => ''],
'enableIncidentManagement' => ['title' => '是否启用事件管理', 'description' => 'Specifies whether to enable incident management. Valid values: true, false.', 'type' => 'boolean', 'example' => ''],
'ignoreRestoredNotification' => ['title' => '恢复是否通知', 'description' => 'Specifies whether to ignore notifications for restored alerts. Valid values: true, false.', 'type' => 'boolean', 'example' => ''],
'incidentResponsePlanId' => ['title' => '关联响应计划 uuid(= notifyStrategyId)', 'description' => 'The ID of the incident response plan.', 'type' => 'string', 'example' => ''],
'groupingSetting' => [
'title' => '合并设置',
'type' => 'object',
'properties' => [
'groupingKeys' => [
'title' => '合并keys',
'type' => 'array',
'items' => ['description' => 'A grouping key. For example, \'alertname\'.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'The keys for grouping alerts.',
'example' => '',
],
'periodMin' => ['title' => '检查周期分钟数', 'description' => 'The time window in minutes for grouping alerts.', 'type' => 'integer', 'example' => '', 'format' => 'int32'],
'silenceSec' => ['title' => '沉默秒数', 'description' => 'The silence period in seconds after a notification is sent for a group.', 'type' => 'integer', 'example' => '', 'format' => 'int32'],
'times' => ['title' => '触发次数', 'description' => 'The number of times to send notifications for a group.', 'type' => 'integer', 'example' => '', 'format' => 'int32'],
],
'description' => 'The settings for alert grouping.',
'example' => '',
],
'routes' => [
'title' => '通知渠道路由设置',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'channels' => [
'title' => '通知渠道',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'channelType' => [
'title' => '渠道类型',
'description' => 'The type of the notification channel, such as \'sms\' or \'email\'.',
'type' => 'string',
'example' => '',
'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'],
],
'enabledSubChannels' => [
'title' => '启用通知类型',
'type' => 'array',
'items' => ['description' => 'An enabled sub-channel.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'The enabled sub-channels.',
'example' => '',
],
'receivers' => [
'title' => '渠道接收方',
'type' => 'array',
'items' => ['description' => 'A receiver, which can be a user ID or a contact group ID.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'The list of receivers for the channel.',
'example' => '',
],
],
'description' => 'The configuration for a single notification channel.',
'title' => '',
'example' => '',
],
'description' => 'The notification channels for the route.',
'example' => '',
],
'effectTimeRange' => [
'title' => '生效时段',
'type' => 'object',
'properties' => [
'dayInWeek' => [
'title' => '生效天(周一到周日)',
'type' => 'array',
'items' => ['description' => 'A day of the week, where 1 represents Monday and 7 represents Sunday.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
'description' => 'The days of the week when the route is active.',
'example' => '',
],
'endTimeInMinute' => ['title' => '结束时间(分钟数)', 'description' => 'The end time of the active period, specified in minutes from 00:00.', 'type' => 'integer', 'example' => '', 'format' => 'int32', 'maximum' => '1439', 'minimum' => '0'],
'startTimeInMinute' => ['title' => '开始时间(分钟数)', 'description' => 'The start time of the active period, specified in minutes from 00:00.', 'type' => 'integer', 'example' => '', 'format' => 'int32', 'maximum' => '1438', 'minimum' => '0'],
'timeZone' => ['title' => '时区', 'description' => 'The time zone for the active period. For example, \'Asia/Shanghai\'.', 'type' => 'string', 'example' => ''],
],
'description' => 'The time range during which the notification route is active.',
'example' => '',
],
'filterSetting' => ['title' => '路由级 filter', 'description' => 'The filter settings for the route.', 'example' => '', '$ref' => '#/components/schemas/FilterSetting'],
'severities' => [
'title' => '等级过滤',
'type' => 'array',
'items' => ['description' => 'An alert severity level, such as \'P1\' or \'Critical\'.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'The alert severities that trigger this route.',
'example' => '',
],
'digitalEmployeeName' => ['title' => '数字员工名', 'description' => 'The name of the digital employee assigned to this route.', 'type' => 'string', 'example' => ''],
'enableRca' => ['title' => '是否启用 RCA', 'description' => 'Specifies whether to enable root cause analysis (RCA) for alerts that match this route. Valid values: true, false.', 'type' => 'boolean', 'example' => ''],
],
'description' => 'The configuration for a single notification route.',
'title' => '',
'example' => '',
],
'description' => 'The list of notification routes.',
'example' => '',
],
'customTemplateEntries' => [
'title' => '通知渠道模板',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'targetType' => ['title' => '通知类型', 'description' => 'The target type for the custom template.', 'type' => 'string', 'example' => ''],
'templateUuid' => ['title' => '模板UUID', 'description' => 'The unique identifier (UUID) of the template.', 'type' => 'string', 'example' => ''],
],
'description' => 'The settings for a custom template entry.',
'title' => '',
'example' => '',
],
'description' => 'The list of custom templates.',
'example' => '',
],
'createTime' => ['title' => '创建时间', 'description' => 'The creation time of the notification strategy.', 'type' => 'string', 'example' => ''],
'updateTime' => ['title' => '更新时间', 'description' => 'The last update time of the notification strategy.', 'type' => 'string', 'example' => ''],
],
'example' => '',
],
'NotifyStrategyForView' => [
'title' => 'A short description of struct',
'description' => 'An entity used for viewing.',
'type' => 'object',
'properties' => [
'createTime' => ['title' => '创建时间', 'description' => 'The creation time.', 'type' => 'string', 'example' => '2025-03-11T08:21:58Z'],
'description' => ['title' => '描述', 'description' => 'The description.', 'type' => 'string', 'example' => 'test'],
'enable' => ['title' => '是否启用', 'description' => 'Indicates whether the policy is enabled.', 'type' => 'boolean', 'example' => 'false'],
'groupingSetting' => [
'title' => '合并设置',
'description' => 'The merge settings.',
'type' => 'object',
'properties' => [
'groupingKeys' => [
'title' => '合并keys',
'description' => 'The merge keys.',
'type' => 'array',
'items' => ['description' => 'The merge key.', 'type' => 'string', 'title' => '', 'example' => 'severity'],
'example' => '',
],
'periodMin' => ['title' => '检查周期分钟数', 'description' => 'The check period in minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
'silenceSec' => ['title' => '沉默秒数', 'description' => 'The silence period in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '300'],
'times' => ['title' => '触发次数', 'description' => 'The number of triggers.', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
],
'required' => true,
'example' => '',
],
'ignoreRestoredNotification' => ['title' => '恢复是否通知', 'description' => 'Indicates whether to send a notification upon recovery.', 'type' => 'boolean', 'example' => 'true'],
'notifyStrategyName' => ['title' => '名称', 'description' => 'The name.', 'type' => 'string', 'required' => true, 'example' => '测试策略'],
'routes' => [
'title' => '通知渠道路由设置',
'description' => 'The routing settings for notification channels.',
'type' => 'array',
'items' => [
'description' => 'The routing object.',
'type' => 'object',
'properties' => [
'channels' => [
'title' => '通知渠道',
'description' => 'The notification channels.',
'type' => 'array',
'items' => [
'description' => 'The notification channel.',
'type' => 'object',
'properties' => [
'channelType' => [
'title' => '渠道类型',
'description' => 'The channel type.',
'type' => 'string',
'required' => true,
'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'],
'example' => 'CONTACT',
],
'enabledSubChannels' => [
'title' => '启用通知类型',
'description' => 'The enabled notification types.',
'type' => 'array',
'items' => ['description' => 'The channel.', 'type' => 'string', 'title' => '', 'example' => 'SMS'],
'example' => '',
],
'receivers' => [
'title' => '渠道接收方',
'description' => 'The channel receivers.',
'type' => 'array',
'items' => ['description' => 'The receiver.', 'type' => 'string', 'title' => '', 'example' => 'user1'],
'required' => true,
'example' => '',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'effectTimeRange' => [
'title' => '字段',
'description' => 'The field.',
'type' => 'object',
'properties' => [
'dayInWeek' => [
'title' => '生效天(周一到周日)',
'description' => 'The days of the week when the policy is effective (Monday to Sunday).',
'type' => 'array',
'items' => ['description' => 'The day of the week. 1 indicates Monday, and 7 indicates Sunday.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'example' => '',
],
'endTimeInMinute' => ['title' => '结束时间(分钟数)', 'description' => 'The end time in minutes.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '1439', 'minimum' => '0', 'example' => '60'],
'startTimeInMinute' => ['title' => '开始时间(分钟数)', 'description' => 'The start time in minutes.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '1438', 'minimum' => '0', 'example' => '60'],
'timeZone' => ['title' => '时区', 'description' => 'The time zone.', 'type' => 'string', 'example' => '+08:00'],
],
'example' => '',
],
'filterSetting' => ['description' => 'The routing settings.', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => ''],
'severities' => [
'description' => 'The list of severity levels.',
'type' => 'array',
'items' => ['description' => 'The severity level. Valid values: CRITICAL, WARNING, and INFO.', 'type' => 'string', 'title' => '', 'example' => 'INFO'],
'title' => '',
'example' => '',
],
'digitalEmployeeName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'enableRca' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
'customTemplateEntries' => [
'title' => '通知渠道模板',
'description' => 'The notification channel templates.',
'type' => 'array',
'items' => [
'description' => 'The notification template configuration.',
'type' => 'object',
'properties' => [
'targetType' => ['title' => '通知类型', 'description' => 'The notification type.', 'type' => 'string', 'required' => true, 'example' => 'SMS'],
'templateUuid' => ['title' => '模板UUID', 'description' => 'The template UUID.', 'type' => 'string', 'required' => true, 'example' => '123-12-312-312-31-23'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'updateTime' => ['title' => '更新时间', 'description' => 'The update time.', 'type' => 'string', 'example' => '2025-05-30T02:29:09Z'],
'userId' => ['title' => '用户id', 'description' => 'The user ID.', 'type' => 'string', 'example' => '123123****'],
'notifyStrategyId' => ['title' => 'UUID', 'description' => 'The UUID.', 'type' => 'string', 'example' => '12312-31-23-123-1-23123'],
'workspace' => ['title' => 'workspace', 'description' => 'The workspace.', 'type' => 'string', 'example' => 'workspace-test'],
'filterSetting' => ['description' => 'The filter settings.', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => ''],
'workspaceFilterSetting' => ['description' => 'The workspace filter settings.', '$ref' => '#/components/schemas/WorkspaceFilterSetting', 'title' => '', 'example' => ''],
'pushingSetting' => [
'type' => 'object',
'properties' => [
'templateUuid' => ['description' => 'The template UUID.', 'type' => 'string', 'title' => '', 'example' => '"template-abc123"'],
'alertActionIds' => [
'type' => 'array',
'items' => ['description' => 'The alert action ID.', 'type' => 'string', 'title' => '', 'example' => '"action-123"'],
'description' => 'The list of alert action IDs.',
'title' => '',
'example' => '',
],
'restoreActionIds' => [
'type' => 'array',
'items' => ['description' => 'The recovery action ID.', 'type' => 'string', 'title' => '', 'example' => '"restore-789"'],
'description' => 'The list of recovery action IDs.',
'title' => '',
'example' => '',
],
],
'description' => 'The push settings.',
'title' => '',
'example' => '',
],
'repeatNotifySetting' => [
'type' => 'object',
'properties' => [
'endIncidentState' => ['description' => 'The event state at which to stop.', 'type' => 'string', 'title' => '', 'example' => '"Resolved"'],
'repeatInterval' => ['description' => 'The interval for repeated notifications.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'],
],
'description' => 'The settings for repeated notifications.',
'title' => '',
'example' => '',
],
'autoRecoverSeconds' => ['description' => 'The automatic recovery time.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '300'],
'syncFromType' => ['description' => 'The source type of the synchronization policy.', 'type' => 'string', 'title' => '', 'example' => '"ARMS"'],
'receiverNames' => [
'type' => 'array',
'items' => ['description' => 'The receiver name.', 'type' => 'string', 'title' => '', 'example' => '"张三"'],
'description' => 'The list of receiver names.',
'title' => '',
'example' => '',
],
'incidentEscalationPolicies' => [
'type' => 'array',
'items' => ['description' => 'The escalation policy.', 'type' => 'any', 'title' => '', 'example' => '{ "name": "Critical-Escalation"}'],
'description' => 'The list of associated escalation policies.',
'title' => '',
'example' => '',
],
],
'example' => '',
],
'NotifyStrategyIdFilter' => [
'title' => '',
'type' => 'object',
'properties' => [
'eq' => ['title' => '', 'description' => 'The exact ID of the notification strategy to retrieve.', 'type' => 'string', 'example' => ''],
],
'description' => 'Filters notification strategies by ID.',
'example' => '',
],
'ObserveGroup' => [
'type' => 'object',
'properties' => [
'groupId' => ['title' => '', 'description' => 'The globally unique ID of the observability group. Format: og-<16-character hash>. Used uniformly across metrics, alerts, and consoles.', 'type' => 'string', 'example' => ''],
'groupName' => ['title' => '', 'description' => 'The name of the observability group. Must be unique within the same workspace.', 'type' => 'string', 'example' => ''],
'description' => ['title' => '', 'description' => 'The description of the observability group, which explains its business purpose.', 'type' => 'string', 'example' => ''],
'resourceGroupId' => ['title' => '', 'description' => 'The Alibaba Cloud resource group ID.', 'type' => 'string', 'example' => ''],
'aliUid' => ['title' => '', 'description' => 'The UID of the Alibaba Cloud account to which the group belongs.', 'type' => 'string', 'example' => ''],
'regionId' => ['title' => '', 'description' => 'The region ID to which the group belongs.', 'type' => 'string', 'example' => ''],
'createTime' => ['title' => '', 'description' => 'The creation time in UTC format: yyyy-MM-ddTHH:mm:ssZ.', 'type' => 'string', 'example' => ''],
'modifyTime' => ['title' => '', 'description' => 'The last modification time in UTC format: yyyy-MM-ddTHH:mm:ssZ. Automatically updated when any resource attribute changes.', 'type' => 'string', 'example' => ''],
'groupType' => ['title' => '', 'description' => 'The type of the observability group.', 'type' => 'string', 'example' => ''],
'discoverRules' => [
'title' => '',
'description' => 'The list of entity discovery rules that define which entities the group automatically matches.',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ObserveGroupDiscoverRule'],
'example' => '',
],
'extraInfo' => ['title' => '', 'description' => 'The extended information as a JSON string, which carries alert templates, alert contact groups, and suspension policies.', 'type' => 'string', 'example' => ''],
'workspaceId' => ['title' => '', 'description' => 'The workspace ID to which the group belongs. This value is set at the workspace level and cannot be changed after creation.', 'type' => 'string', 'example' => ''],
'sourceOrigin' => ['title' => '', 'description' => 'The data source. Valid values:'."\n"
.'- native_2_0: created natively in version 2.0.'."\n"
.'- synced_from_1_0: synchronized from a version 1.0 application group.', 'type' => 'string', 'example' => ''],
'originGroupId' => ['title' => '', 'description' => 'The product_group.id of the version 1.0 application group. This parameter is valid only when sourceOrigin is set to synced_from_1_0.', 'type' => 'string', 'example' => ''],
'entityCounts' => [
'title' => '',
'description' => 'The number of entities in each category. The key is the category domain (acs for cloud services, apm, or rum, which is extensible). The value is the number of entities in that category that belong to this group. Returned only when withEntityCount is set to true.',
'type' => 'object',
'additionalProperties' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int32'],
'example' => '',
],
'health' => ['title' => '', 'description' => 'The health status of the group. Valid values:'."\n"
.'- -1: unknown (placeholder).'."\n"
.'- 1: healthy.'."\n"
.'- 0: unhealthy.', 'type' => 'integer', 'example' => '', 'format' => 'int32'],
'favorited' => ['title' => '', 'description' => 'Indicates whether the current user has followed this group. This value is used as the filter criterion for the My Favorites feature.', 'type' => 'boolean', 'example' => ''],
'ogEntityInfoEnabled' => ['title' => '', 'description' => 'Specifies whether og_entity_info metric output is enabled. When enabled, the data plane writes the group membership information to the target Prometheus instance.', 'type' => 'boolean', 'example' => ''],
'ogEntityInfoPromInstances' => [
'title' => '',
'description' => 'The set of Prometheus instances to which og_entity_info is written. Includes two source types: system (automatically identified by the system) and custom (user-defined).',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/ObserveGroupPromInstance', 'description' => '', 'title' => '', 'example' => ''],
'example' => '',
],
'tags' => [
'title' => '',
'description' => 'The resource tags (Alibaba Cloud standard tags) as an array of key-value pairs.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'tagKey' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'example' => ''],
'tagValue' => ['title' => '', 'description' => 'The tag value.', 'type' => 'string', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'ObserveGroupDetail' => [
'type' => 'object',
'properties' => [
'groupId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'groupName' => ['title' => '', 'description' => 'The name of the observability group. The name must be unique within the same workspace.', 'type' => 'string', 'example' => ''],
'description' => ['title' => '', 'description' => 'The description of the observability group, which explains its business purpose.', 'type' => 'string', 'example' => ''],
'resourceGroupId' => ['title' => '', 'description' => 'The Alibaba Cloud resource group ID.', 'type' => 'string', 'example' => ''],
'aliUid' => ['title' => '', 'description' => 'The UID of the Alibaba Cloud account to which the group belongs.', 'type' => 'string', 'example' => ''],
'regionId' => ['title' => '', 'description' => 'The region ID of the group.', 'type' => 'string', 'example' => ''],
'groupType' => ['title' => '', 'description' => 'The type of the observability group.', 'type' => 'string', 'example' => ''],
'createTime' => ['title' => '', 'description' => 'The time when the group was created, in UTC format (yyyy-MM-ddTHH:mm:ssZ).', 'type' => 'string', 'example' => ''],
'modifyTime' => ['title' => '', 'description' => 'The time when the group was last modified, in UTC format (yyyy-MM-ddTHH:mm:ssZ). This value is automatically updated when any property of the resource changes.', 'type' => 'string', 'example' => ''],
'discoverRules' => [
'title' => '',
'description' => 'The list of entity discovery rules that define which entities the group automatically matches.',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ObserveGroupDiscoverRule'],
'example' => '',
],
'extraInfo' => ['title' => '', 'description' => 'The extended information in JSON string format, which carries alert templates, alert contact groups, suspension policies, and other configurations.', 'type' => 'string', 'example' => ''],
'workspaceId' => ['title' => '', 'description' => 'The workspace ID to which the group belongs. This value is set at the workspace level and cannot be changed after the group is created.', 'type' => 'string', 'example' => ''],
'sourceOrigin' => ['title' => '', 'description' => 'The data source. Valid values:'."\n"
.'- native_2_0: created natively in version 2.0.'."\n"
.'- synced_from_1_0: synchronized from a version 1.0 application group.', 'type' => 'string', 'example' => ''],
'originGroupId' => ['title' => '', 'description' => 'The product_group.id of the version 1.0 application group. This parameter is valid only when sourceOrigin is set to synced_from_1_0.', 'type' => 'string', 'example' => ''],
'entitySummaries' => [
'title' => '',
'description' => 'The statistics of entities in the group, categorized by entity type.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'entityDomain' => ['title' => '', 'description' => 'The entity domain.', 'type' => 'string', 'example' => ''],
'entityType' => ['title' => '', 'description' => 'The entity type.', 'type' => 'string', 'example' => ''],
'entityCount' => ['title' => '', 'description' => 'The number of entities.', 'type' => 'integer', 'example' => '', 'format' => 'int32'],
'entityCategory' => ['title' => '', 'description' => 'The entity category.', 'type' => 'string', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'favorited' => ['title' => '', 'description' => 'Indicates whether the current user has followed the group.', 'type' => 'boolean', 'example' => ''],
'ogEntityInfoEnabled' => ['title' => '', 'description' => 'Specifies whether to enable the og_entity_info metric output. When enabled, the data plane writes the group ownership information to the target Prometheus instance.', 'type' => 'boolean', 'example' => ''],
'ogEntityInfoPromInstances' => [
'title' => '',
'description' => 'The set of Prometheus instances to which og_entity_info is written. This includes two source types: system (automatically identified by the system) and custom (user-defined).',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/ObserveGroupPromInstance', 'description' => '', 'title' => '', 'example' => ''],
'example' => '',
],
'tags' => [
'title' => '',
'description' => 'The resource tags (Alibaba Cloud standard tags), represented as an array of key-value pairs.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'tagKey' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'example' => ''],
'tagValue' => ['title' => '', 'description' => 'The tag value.', 'type' => 'string', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'ObserveGroupDiscoverRule' => [
'type' => 'object',
'properties' => [
'ruleId' => ['title' => '', 'description' => 'The stable rule ID used as an anchor for editing, deleting, and enabling or disabling operations. Format: dr-<16-character hash>.', 'type' => 'string', 'example' => ''],
'ruleType' => ['title' => '', 'description' => 'The matching method. Valid values: byTag, byResourceGroup, byInstanceName, byManual, and bySpl.', 'type' => 'string', 'example' => ''],
'scope' => ['title' => '', 'description' => 'The applicable scope. Valid values: all (all entity types, exclusive) and entity (specified entity types).', 'type' => 'string', 'example' => ''],
'enabled' => ['title' => '', 'description' => 'Indicates whether the rule is enabled. If set to false, the data plane skips this rule and does not perform matching, tagging, or delivery.', 'type' => 'boolean', 'example' => ''],
'gmtCreate' => ['title' => '', 'description' => 'The time when the rule was created, in UNIX millisecond timestamp format. This value is used for display in the console.', 'type' => 'integer', 'example' => '', 'format' => 'int64'],
'entityType' => ['title' => '', 'description' => 'The entity type (legacy). Retained for backward compatibility. Use entityTypes instead.', 'type' => 'string', 'example' => ''],
'entityTypes' => [
'title' => '',
'description' => 'The list of entity types. A single rule can match multiple types, such as acs.ecs.instance, acs.rds.instance, and acs.arms.service.',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'example' => '',
],
'spl' => ['title' => '', 'description' => 'The full SPL expression for advanced configuration. If this parameter is not empty, it takes precedence over other filter fields.', 'type' => 'string', 'example' => ''],
'userId' => ['title' => '', 'description' => 'The UID of the user to whom the rule belongs.', 'type' => 'string', 'example' => ''],
'resourceGroupId' => ['title' => '', 'description' => 'The resource group ID used for filtering.', 'type' => 'string', 'example' => ''],
'tagRules' => [
'title' => '',
'description' => 'The tag matching rules.',
'type' => 'object',
'properties' => [
'op' => ['title' => '', 'description' => 'The tag matching logic.', 'type' => 'string', 'example' => ''],
'tags' => [
'title' => '',
'description' => 'The tag condition list.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'tagKey' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'example' => ''],
'op' => ['title' => '', 'description' => 'The matching operation.', 'type' => 'string', 'example' => ''],
'tagValues' => [
'title' => '',
'description' => 'The tag value list.',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
'nameRules' => [
'title' => '',
'description' => 'The name matching rules.',
'type' => 'object',
'properties' => [
'op' => ['title' => '', 'description' => 'The name matching logic.', 'type' => 'string', 'example' => ''],
'tags' => [
'title' => '',
'description' => 'The name condition list.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'op' => ['title' => '', 'description' => 'The matching operation.', 'type' => 'string', 'example' => ''],
'tagValues' => [
'title' => '',
'description' => 'The matching value list.',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
'instanceIds' => [
'title' => '',
'description' => 'The list of manually specified instance IDs in enumeration mode, including instances synchronized manually in version 1.0.',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'example' => '',
],
'regionIds' => [
'title' => '',
'description' => 'The list of region IDs used for filtering by region.',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'ObserveGroupInstance' => [
'type' => 'object',
'properties' => [
'entityDomain' => ['title' => '', 'description' => 'The entity domain (such as acs).', 'type' => 'string', 'example' => ''],
'entityType' => ['title' => '', 'description' => 'The entity type (such as acs.ecs.instance).', 'type' => 'string', 'example' => ''],
'instanceId' => ['title' => '', 'description' => 'The instance ID.', 'type' => 'string', 'example' => ''],
'instanceName' => ['title' => '', 'description' => 'The instance name.', 'type' => 'string', 'example' => ''],
'regionId' => ['title' => '', 'description' => 'The region ID of the instance.', 'type' => 'string', 'example' => ''],
'resourceGroupId' => ['title' => '', 'description' => 'The resource group ID of the instance.', 'type' => 'string', 'example' => ''],
'userId' => ['title' => '', 'description' => 'The UID of the user to which the instance belongs.', 'type' => 'string', 'example' => ''],
'category' => ['title' => '', 'description' => 'The entity category (adapted by entityType).', 'type' => 'string', 'example' => ''],
'groupId' => ['title' => '', 'description' => 'The ID of the observation group to which the entity belongs.', 'type' => 'string', 'example' => ''],
'tags' => [
'title' => '',
'description' => 'The key-value pairs of instance tags.',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'example' => '',
],
'dimension' => [
'title' => '',
'description' => 'The key-value pairs of monitoring dimensions.',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'ObserveGroupPromInstance' => [
'type' => 'object',
'properties' => [
'id' => ['title' => '', 'description' => 'The ID of the Managed Service for Prometheus instance, such as rw-xxxxxxxxxx.', 'type' => 'string', 'example' => ''],
'region' => ['title' => '', 'description' => 'The region where the Managed Service for Prometheus instance resides. If this parameter is left empty, the backend automatically populates the region based on the workspace to which the application group belongs.', 'type' => 'string', 'example' => ''],
'kind' => ['title' => '', 'description' => 'The source of the instance. Valid values:'."\n"
.'- system: The system automatically identifies the instance based on the workspace or UModel.'."\n"
.'- custom: The user manually selects the instance in the console.', 'type' => 'string', 'example' => ''],
'time' => ['title' => '', 'description' => 'The time when the record was written or selected. Format: yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'ObserveResourceGlobalScopeFilter' => [
'title' => '',
'type' => 'object',
'properties' => [
'eq' => ['title' => '', 'description' => 'Specifies whether to retrieve only resources that are exclusive to the global scope.', 'type' => 'boolean', 'example' => ''],
],
'description' => 'Defines the filter criteria for resources within the global scope.',
'example' => '',
],
'ObserveResourceListFilter' => [
'title' => '',
'type' => 'object',
'properties' => [
'contains' => [
'title' => '',
'type' => 'array',
'items' => ['description' => 'A string value to match.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'Returns resources if a specified property contains any string in this array.',
'example' => '',
],
],
'description' => 'Filters for observed resources.',
'example' => '',
],
'ObserveResourceTypeFilter' => [
'title' => '',
'type' => 'object',
'properties' => [
'eq' => ['title' => '', 'description' => 'The exact resource type to query. Returns only resources of this type.', 'type' => 'string', 'example' => ''],
],
'description' => 'A filter for a resource type.',
'example' => '',
],
'Pagination' => [
'description' => 'Details of the paginated response.',
'type' => 'object',
'properties' => [
'pageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
'pageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
],
'title' => '',
'example' => '',
],
'PartitionKeyFilter' => [
'title' => '',
'type' => 'object',
'properties' => [
'eq' => ['title' => '', 'description' => 'Returns only items whose partition key value equals this string.', 'type' => 'string', 'example' => ''],
],
'description' => 'This filter routes requests directly to the correct physical partition, greatly improving query speed and lowering costs.',
'example' => '',
],
'PrometheusManagedInstance' => [
'description' => 'The structure of a Prometheus managed instance.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'prometheusInstanceId' => ['title' => 'RUM关联的Prometheus实例ID', 'description' => 'The ID of the Prometheus instance that is associated with Real User Monitoring (RUM).', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'prometheusInstanceId', 'example' => 'rum-xxx'],
'prometheusInstanceName' => ['title' => 'RUM关联的Prometheus实例名称', 'description' => 'The name of the Prometheus instance that is associated with RUM.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'prometheusInstanceName', 'example' => 'rum-xxx'],
'regionId' => ['title' => '阿里云RegionId', 'description' => 'The ID of the Alibaba Cloud region.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'regionId', 'example' => 'cn-hangzhou'],
'workspace' => ['title' => '云监控2.0 workspace', 'description' => 'The Cloud Monitor 2.0 workspace.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'workspace', 'example' => 'workspace-test'],
'createTime' => ['title' => '创建时间', 'description' => 'The time when the instance was created.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'createTime', 'example' => '2025-03-11T08:21:58Z'],
'instanceType' => ['title' => '实例类型', 'description' => 'The type of the instance.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'instanceType', 'example' => 'test'],
'status' => ['title' => '实例状态', 'description' => 'The status of the instance.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'status', 'example' => 'Running'],
],
'title' => '',
'example' => '',
],
'PromptTemplateItem' => [
'type' => 'object',
'properties' => [
'role' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'content' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'PushingSetting' => [
'type' => 'object',
'properties' => [
'templateUuid' => ['description' => 'The UUID of the message template.', 'type' => 'string', 'title' => '', 'example' => '"template-abc123"'],
'alertActionIds' => [
'type' => 'array',
'items' => ['description' => 'The alert action ID.', 'type' => 'string', 'title' => '', 'example' => '"action-123"'],
'description' => 'The list of alert action IDs.',
'title' => '',
'example' => '',
],
'restoreActionIds' => [
'type' => 'array',
'items' => ['description' => 'The restore action ID.', 'type' => 'string', 'title' => '', 'example' => '"restore-789"'],
'description' => 'The list of restore action IDs.',
'title' => '',
'example' => '',
],
],
'description' => 'The push settings object.',
'title' => '',
'example' => '',
],
'QueryAlertRulesFilter' => [
'description' => 'Filter conditions. Fields at the same level are combined with a logical AND.',
'type' => 'object',
'properties' => [
'uuid' => ['description' => 'Filters alert rules by UUID.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/UuidFilter'],
'displayName' => ['description' => 'Filters alert rules by display name.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DisplayNameFilter'],
'labels' => ['description' => 'Filters alert rules by label.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/LabelsFilter'],
'status' => ['description' => 'Filters alert rules by status.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/StatusFilter'],
'enabled' => ['description' => 'Filters alert rules by enabled status.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/EnabledFilter'],
'datasourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DatasourceTypeFilter'],
'observeResourceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ObserveResourceTypeFilter'],
'observeResourceGlobalScope' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ObserveResourceGlobalScopeFilter'],
'observeResourceList' => ['$ref' => '#/components/schemas/ObserveResourceListFilter', 'description' => '', 'title' => '', 'example' => ''],
'observeResourceInstanceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => 'i-bp1abcxxxxxxxx', 'deprecated' => true],
'severityLevels' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/SeverityLevelsFilter'],
'notifyStrategyId' => ['$ref' => '#/components/schemas/NotifyStrategyIdFilter', 'description' => '', 'title' => '', 'example' => ''],
'partitionKey' => ['$ref' => '#/components/schemas/PartitionKeyFilter', 'description' => '', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'QueryAlertRulesInput' => [
'description' => 'The request body of the QueryAlertRules operation.',
'type' => 'object',
'properties' => [
'filter' => ['description' => 'The filter criteria. Only alert rules that match these criteria are returned.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/QueryAlertRulesFilter'],
'pagination' => ['description' => 'The pagination settings for the query. If omitted, the system returns the first page of results with the default page size.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/Pagination'],
'workspace' => ['description' => 'The ID of the workspace that contains the alert rules.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'QueryAlertRulesResult' => [
'description' => 'The result of a query for alert rules.',
'type' => 'object',
'properties' => [
'totalCount' => ['description' => 'The total number of alert rules that match the query.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
'alertRules' => [
'description' => 'The list of alert rules for the current page.',
'type' => 'array',
'items' => ['description' => 'An alert rule.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/AlertRuleV2'],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'QueryConfigUnified' => [
'title' => '',
'type' => 'object',
'properties' => [
'type' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'required' => true,
'enum' => ['PROMETHEUS_SINGLE_QUERY', 'UMODEL_METRICSET_QUERY', 'UMODEL_LOGSET_QUERY', 'APM_MULTI_QUERY', 'CLOUD_MONITORING_QUERY', 'UMODEL_METRICSET_MULTI_QUERY', 'UNKNOWN_QUERY'],
],
'expr' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'promQl' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => '', 'deprecated' => true],
'enableDataCompleteCheck' => ['title' => '', 'type' => 'boolean', 'description' => '', 'example' => ''],
'metricSet' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'metric' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'queries' => [
'title' => '',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/MetricSetNamedQueryEntry', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
'logSet' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'windowSecs' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int64'],
'offsetSecs' => ['title' => '', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int64'],
'aggregate' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['AVG', 'MAX', 'MIN', 'SUM', 'LAST'],
],
'entityDomain' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'entityType' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'entityFilters' => [
'title' => '',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/UmodelEntityFilter'],
'description' => '',
'example' => '',
],
'labelFilters' => [
'title' => '',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/UmodelLabelFilter'],
'description' => '',
'example' => '',
],
'entityFields' => [
'title' => '',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/UmodelEntityField'],
'description' => '',
'example' => '',
],
'serviceIdList' => [
'title' => '',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'example' => '',
],
'filterList' => [
'title' => '',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ApmFilterConfig'],
'description' => '',
'example' => '',
],
'measureList' => [
'title' => '',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ApmMeasureConfig'],
'description' => '',
'example' => '',
],
'namespace' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'relationType' => [
'title' => '',
'type' => 'string',
'description' => '',
'example' => '',
'enum' => ['INSTANCE', 'GROUP', 'USER'],
],
'dimensions' => [
'title' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'example' => '',
],
'groupId' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'legacyType' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
'legacyRaw' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''],
],
'description' => '',
'example' => '',
],
'RepeatNotifySetting' => [
'type' => 'object',
'properties' => [
'endIncidentState' => ['description' => 'The state that ends the management event.', 'type' => 'string', 'title' => '', 'example' => '"Resolved"'],
'repeatInterval' => ['description' => 'The interval between repeated notifications.', 'type' => 'string', 'title' => '', 'example' => '5'],
],
'description' => 'The recurring notification settings object.',
'title' => '',
'example' => '',
],
'RumDnsResponse' => [
'description' => 'The domain name for RUM reporting.',
'type' => 'object',
'properties' => [
'domain' => ['title' => 'RUM上报域名', 'description' => 'The domain name for RUM reporting.', 'type' => 'string', 'example' => 'rum', 'visibility' => 'Public', 'backendName' => 'domain'],
'result' => ['title' => '域名DNS初始化状态', 'description' => 'The DNS initialization status of the domain name.', 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'result'],
'message' => ['title' => '初始化message(失败场景)', 'description' => 'The message returned if initialization fails.', 'type' => 'string', 'example' => '""', 'visibility' => 'Public', 'backendName' => 'message'],
],
'title' => '',
'example' => '',
'visibility' => 'Public',
],
'ScheduleConfigUnified' => [
'description' => 'The scheduling configuration.',
'type' => 'object',
'properties' => [
'type' => [
'description' => 'The type of the schedule.',
'type' => 'string',
'title' => '',
'example' => '',
'required' => true,
'enum' => ['FIXED'],
],
'intervalSecs' => ['description' => 'The interval between scheduled runs, in seconds.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
],
'title' => '',
'example' => '',
],
'ServerResponseManageAlertRulesResult' => [
'description' => 'The response object for the request.',
'type' => 'object',
'properties' => [
'data' => ['description' => 'The result of the operation.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ManageAlertRulesResult'],
'code' => ['description' => 'The operation status code.', 'type' => 'string', 'title' => '', 'example' => ''],
'success' => ['description' => 'Indicates whether the request succeeded (`true`) or failed (`false`).', 'type' => 'boolean', 'title' => '', 'example' => ''],
'requestId' => ['description' => 'The unique ID for the request. Provide this ID when contacting support for assistance.', 'type' => 'string', 'title' => '', 'example' => ''],
'message' => ['description' => 'A message detailing the outcome of the request, such as a success message or an error description.', 'type' => 'string', 'title' => '', 'example' => ''],
'total' => ['description' => 'The total number of entries that match the query.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
'pageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
'pageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
'nextToken' => ['description' => 'The token used to retrieve the next page of results. If the token is not returned, there are no more results.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'ServerResponseQueryAlertRulesResult' => [
'description' => 'The response object.',
'type' => 'object',
'properties' => [
'data' => ['description' => 'The response payload.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/QueryAlertRulesResult'],
'code' => ['description' => 'The status code of the response. A status code of `200` indicates a successful request.', 'type' => 'string', 'title' => '', 'example' => ''],
'success' => ['description' => 'Indicates whether the request was successful. Valid values: `true` and `false`.', 'type' => 'boolean', 'title' => '', 'example' => ''],
'requestId' => ['description' => 'The unique request ID, used for troubleshooting.', 'type' => 'string', 'title' => '', 'example' => ''],
'message' => ['description' => 'The response message. If the request fails, this field contains details about the error.', 'type' => 'string', 'title' => '', 'example' => ''],
'total' => ['description' => 'The total number of alert rules that match the query.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
'pageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
'pageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'],
'nextToken' => ['description' => 'The token to retrieve the next page of results. A null value indicates that no more results are available.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'SeverityLevelsFilter' => [
'title' => '',
'type' => 'object',
'properties' => [
'contains' => [
'title' => '',
'type' => 'array',
'items' => ['description' => 'A single severity level. Common values include `FATAL`, `ERROR`, `WARN`, `INFO`, and `DEBUG`.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'Matches a log entry if its severity level appears in this array of strings.',
'example' => '',
],
],
'description' => 'Filters logs or events by severity level.',
'example' => '',
],
'StatusFilter' => [
'description' => 'A filter used to query resources by status.',
'type' => 'object',
'properties' => [
'eq' => [
'description' => 'Filters the results to include only resources with the specified status.',
'type' => 'string',
'title' => '',
'example' => '',
'enum' => ['Alarm', 'Ok'],
],
],
'title' => '',
'example' => '',
],
'SubscriptionAndNotifyStrategyForListView' => [
'title' => '订阅与通知策略详情视图',
'description' => 'An output view of an aggregated entity, which includes its own fields such as notifyStrategyUuid, subscriptionUuid, migrationBatchId, and version.'."\n"
."\n"
.'- Snapshots of child entities populated at runtime, such as notifyStrategy, subscription, subscriptions, and responsePlan.',
'type' => 'object',
'properties' => [
'uuid' => ['title' => '聚合实体 uuid', 'type' => 'string', 'description' => '', 'example' => ''],
'name' => ['title' => '名称', 'type' => 'string', 'description' => '', 'example' => ''],
'description' => ['title' => '描述', 'type' => 'string', 'description' => '', 'example' => ''],
'enabled' => ['title' => '是否启用', 'type' => 'boolean', 'description' => '', 'example' => ''],
'notifyStrategyUuid' => ['title' => '关联的 notifyStrategy uuid(与 responsePlan uuid 共享)', 'type' => 'string', 'description' => '', 'example' => ''],
'subscriptionUuid' => ['title' => '直接绑定的主订阅 uuid(NOTIFY 形态下的 1:1 关联)', 'type' => 'string', 'description' => '', 'example' => ''],
'migrationBatchId' => ['title' => '迁移批次 ID(用户自建为空;迁移产物有值)', 'type' => 'string', 'description' => '', 'example' => ''],
'migrationMeta' => ['title' => '迁移元数据 JSON 字符串', 'type' => 'string', 'description' => '', 'example' => ''],
'version' => ['title' => '乐观锁版本号', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int32'],
'workspace' => ['title' => '工作空间标识', 'type' => 'string', 'description' => '', 'example' => ''],
'userId' => ['title' => '所有者 userId', 'type' => 'string', 'description' => '', 'example' => ''],
'createTime' => ['title' => '创建时间', 'type' => 'string', 'description' => '', 'example' => ''],
'updateTime' => ['title' => '更新时间', 'type' => 'string', 'description' => '', 'example' => ''],
'notifyStrategy' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/NotifyStrategyForSNSView'],
],
'example' => '',
],
'SubscriptionAndNotifyStrategyForModify' => [
'title' => '订阅与通知策略修改入参',
'description' => 'The write payload for an aggregate entity, used for Create and Update operations.'."\n"
."\n"
.'- **Create**: The `notifyStrategy` parameter is required. Provide either `subscription` (for a single main subscription) or `subscriptions`. The two parameters are mutually exclusive.'."\n"
."\n"
.'- **Update**: The `uuid` and `version` parameters are required. The operation updates only the sub-entities you provide. For bulk changes to member subscriptions, use the `subscriptions` parameter (an array of `SubscriptionOp`).',
'type' => 'object',
'properties' => [
'uuid' => ['title' => '聚合实体 uuid', 'description' => 'Required for update operations but optional for create operations. If omitted during creation, the backend automatically generates a UUID.', 'type' => 'string', 'example' => ''],
'version' => ['title' => '乐观锁版本号', 'description' => 'Required for update operations. The value must match the current version of the record. If the versions do not match, the request fails with an `OPTIMISTIC_LOCK_FAILED` error.', 'type' => 'integer', 'example' => '', 'format' => 'int32'],
'name' => ['title' => '名称', 'description' => 'Optional. If omitted, the backend derives the name from `notifyStrategy`.', 'type' => 'string', 'example' => ''],
'description' => ['title' => '描述', 'type' => 'string', 'description' => '', 'example' => ''],
'enabled' => ['title' => '是否启用(创建时默认启用)', 'type' => 'boolean', 'description' => '', 'example' => ''],
'notifyStrategy' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/NotifyStrategyForSNSModify'],
'subscription' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/SubscriptionForSNSModify'],
'subscriptions' => [
'title' => '成员订阅批量操作',
'description' => 'For update operations only. Use this parameter to batch create, update, and remove member subscriptions.',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/SubscriptionOp'],
'example' => '',
],
'responsePlan' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/IncidentResponsePlanForSNSModify'],
],
'example' => '',
],
'SubscriptionAndNotifyStrategyForView' => [
'title' => '订阅与通知策略详情视图',
'description' => 'The output view of an aggregate entity, including fields such as `notifyStrategyUuid`, `subscriptionUuid`, `migrationBatchId`, and `version`.'."\n"
."\n"
.'- Snapshots of child entities populated at runtime (`notifyStrategy`, `subscription`, `subscriptions`, and `responsePlan`).',
'type' => 'object',
'properties' => [
'uuid' => ['title' => '聚合实体 uuid', 'type' => 'string', 'description' => '', 'example' => ''],
'name' => ['title' => '名称', 'type' => 'string', 'description' => '', 'example' => ''],
'description' => ['title' => '描述', 'type' => 'string', 'description' => '', 'example' => ''],
'enabled' => ['title' => '是否启用', 'type' => 'boolean', 'description' => '', 'example' => ''],
'notifyStrategyUuid' => ['title' => '关联的 notifyStrategy uuid(与 responsePlan uuid 共享)', 'type' => 'string', 'description' => '', 'example' => ''],
'subscriptionUuid' => ['title' => '直接绑定的主订阅 uuid(NOTIFY 形态下的 1:1 关联)', 'type' => 'string', 'description' => '', 'example' => ''],
'migrationBatchId' => ['title' => '迁移批次 ID(用户自建为空;迁移产物有值)', 'type' => 'string', 'description' => '', 'example' => ''],
'migrationMeta' => ['title' => '迁移元数据 JSON 字符串', 'type' => 'string', 'description' => '', 'example' => ''],
'version' => ['title' => '乐观锁版本号', 'type' => 'integer', 'description' => '', 'example' => '', 'format' => 'int32'],
'workspace' => ['title' => '工作空间标识', 'type' => 'string', 'description' => '', 'example' => ''],
'userId' => ['title' => '所有者 userId', 'type' => 'string', 'description' => '', 'example' => ''],
'createTime' => ['title' => '创建时间', 'type' => 'string', 'description' => '', 'example' => ''],
'updateTime' => ['title' => '更新时间', 'type' => 'string', 'description' => '', 'example' => ''],
'subscription' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/SubscriptionForSNSView'],
'responsePlan' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/IncidentResponsePlanForSNSView'],
'notifyStrategy' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/NotifyStrategyForSNSView'],
'subscriptions' => [
'title' => '全部成员订阅(含主订阅,反查得出)',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/SubscriptionForView'],
'description' => '',
'example' => '',
],
],
'example' => '',
],
'SubscriptionForModify' => [
'title' => '',
'description' => 'The entity for viewing.',
'type' => 'object',
'properties' => [
'description' => ['title' => '', 'description' => 'The description.', 'type' => 'string', 'example' => 'workspace test'],
'subscriptionName' => ['title' => '', 'description' => 'The name.', 'type' => 'string', 'required' => true, 'example' => '测试订阅'],
'notifyStrategyId' => ['title' => '', 'description' => 'The UUID of the notification policy.', 'type' => 'string', 'example' => '123123'],
'filterSetting' => ['description' => 'The filter settings.', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => ''],
'pushingSetting' => [
'title' => '',
'description' => 'The push settings.',
'type' => 'object',
'properties' => [
'templateUuid' => ['title' => '', 'description' => 'The UUID of the template.', 'type' => 'string', 'example' => '123123123'],
'alertActionIds' => [
'title' => '',
'description' => 'The list of action plan IDs for alert pushing.',
'type' => 'array',
'items' => ['description' => 'The action integration ID.', 'type' => 'string', 'title' => '', 'example' => '123123123'],
'example' => '',
],
'restoreActionIds' => [
'title' => '',
'description' => 'The list of action integration plan IDs for recovery pushing.',
'type' => 'array',
'items' => ['description' => 'The action integration plan ID.', 'type' => 'string', 'title' => '', 'example' => '123123123'],
'example' => '',
],
'responsePlanId' => ['title' => '', 'description' => 'The action plan ID.', 'type' => 'string', 'example' => '123123123'],
],
'example' => '',
],
'workspaceFilterSetting' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/WorkspaceFilterSetting'],
'agentConfig' => [
'type' => 'object',
'properties' => [
'agentUuid' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'routes' => [
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/NotifyRouteForSubscription'],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'subscribeLegacyEvent' => ['title' => '', 'description' => 'Specifies whether to subscribe to legacy product events (CMS 1.0, ARMS, or SLS events where workspace is null). Valid values:'."\n"
.'- true: Subscribe.'."\n"
.'- false or null: Do not subscribe.', 'type' => 'boolean', 'example' => ''],
],
'example' => '',
],
'SubscriptionForSNSModify' => [
'title' => 'SNS 内嵌的订阅入参',
'description' => 'Specifies the `subscription` child entity, which is an input parameter for the `SubscriptionAndNotifyStrategy` aggregation API.'."\n"
.'The API does not expose the following read-only backend fields:'."\n"
."\n"
.'- `uuid` (auto-generated) and `name` (defaults to the primary SNS name, D9)'."\n"
."\n"
.'- `regionId`, `mode` (BundleStrategy), and `subscriptionType` (forced to `NORMAL`; `AI_AGENT` is rejected, D10)'."\n"
."\n"
.'- `agentConfig` (forced to `null`), `notifyStrategyUuid` (auto-bound), `syncFromType` (forced to `OBS`), and `enabled`',
'type' => 'object',
'properties' => [
'filterSetting' => ['title' => 'filter 配置', 'description' => '', 'example' => '', '$ref' => '#/components/schemas/FilterSetting'],
'workspaceFilterSetting' => ['title' => 'workspace filter 配置', 'description' => '', 'example' => '', '$ref' => '#/components/schemas/WorkspaceFilterSetting'],
],
'example' => '',
],
'SubscriptionForSNSView' => [
'title' => 'SNS 内嵌的订阅查看视图',
'type' => 'object',
'properties' => [
'uuid' => ['type' => 'string'],
'name' => ['type' => 'string'],
'enable' => ['type' => 'boolean'],
'userId' => ['type' => 'string'],
'workspace' => ['type' => 'string'],
'regionId' => ['type' => 'string'],
'notifyStrategyUuid' => ['title' => '反向关联到 SNS(= snsUuid)', 'type' => 'string'],
'syncFromType' => ['type' => 'string'],
'mode' => ['type' => 'string'],
'subscriptionType' => ['type' => 'string'],
'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'],
'createTime' => ['type' => 'string'],
'updateTime' => ['type' => 'string'],
],
],
'SubscriptionForView' => [
'title' => '',
'description' => 'The entity for viewing.',
'type' => 'object',
'properties' => [
'createTime' => ['title' => '', 'description' => 'The creation time.', 'type' => 'string', 'example' => '2025-03-11T08:21:58Z'],
'description' => ['title' => '', 'description' => 'The description.', 'type' => 'string', 'example' => 'workspace test'],
'enable' => ['title' => '', 'description' => 'Indicates whether the subscription is enabled.', 'type' => 'boolean', 'example' => 'false'],
'subscriptionName' => ['title' => '', 'description' => 'The name.', 'type' => 'string', 'required' => true, 'example' => '订阅测试'],
'notifyStrategyId' => ['title' => '', 'description' => 'The UUID of the notification policy.', 'type' => 'string', 'example' => '23123123'],
'updateTime' => ['title' => '', 'description' => 'The update time.', 'type' => 'string', 'example' => '2025-05-23T02:29:02Z'],
'userId' => ['title' => '', 'description' => 'The user ID.', 'type' => 'string', 'example' => '123123123'],
'subscriptionId' => ['title' => '', 'description' => 'UUID', 'type' => 'string', 'example' => '123123123123'],
'workspace' => ['title' => '', 'description' => 'workspace', 'type' => 'string', 'example' => 'workspace-test'],
'filterSetting' => ['description' => 'The filter settings.', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => ''],
'pushingSetting' => [
'title' => '',
'description' => 'The push settings.',
'type' => 'object',
'properties' => [
'templateUuid' => ['title' => '', 'description' => 'The UUID of the template.', 'type' => 'string', 'example' => '123123123'],
'alertActionIds' => [
'title' => '',
'description' => 'The list of action integration IDs for alert pushing.',
'type' => 'array',
'items' => ['description' => 'The action integration ID.', 'type' => 'string', 'title' => '', 'example' => '123123123'],
'example' => '',
],
'restoreActionIds' => [
'title' => '',
'description' => 'The list of action integration IDs for recovery pushing.',
'type' => 'array',
'items' => ['description' => 'The action integration ID.', 'type' => 'string', 'title' => '', 'example' => '123123123'],
'example' => '',
],
'responsePlanId' => ['title' => '', 'description' => 'The action plan ID.', 'type' => 'string', 'example' => '123123123'],
],
'example' => '',
],
'syncFromType' => ['description' => 'The source type of the synchronization policy.', 'type' => 'string', 'title' => '', 'example' => '"ARMS"'],
'workspaceFilterSetting' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/WorkspaceFilterSetting'],
'subscriptionType' => [
'type' => 'string',
'description' => '',
'title' => '',
'example' => 'NORMAL',
'default' => 'NORMAL',
'enum' => ['NORMAL', 'AI_AGENT'],
],
'agentConfig' => [
'type' => 'object',
'properties' => [
'agentUuid' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'routes' => [
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/NotifyRouteForSubscription'],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'subscribeLegacyEvent' => ['title' => '', 'description' => 'Specifies whether to subscribe to legacy product events (CMS 1.0, ARMS, or SLS events where workspace is null). Valid values:'."\n"
.'- true: Subscribe.'."\n"
.'- false or null: Do not subscribe.', 'type' => 'boolean', 'example' => ''],
],
'example' => '',
],
'SubscriptionOp' => [
'title' => '订阅批量操作单元',
'description' => 'Update 接口中用于批量增删改成员订阅的操作描述。'."\n"
.'- op=create:必填 payload,uuid 由后端生成'."\n"
.'- op=update:必填 uuid + payload'."\n"
.'- op=remove:必填 uuid,payload 忽略'."\n",
'type' => 'object',
'properties' => [
'op' => [
'title' => '操作类型',
'type' => 'string',
'enum' => ['create', 'update', 'remove'],
],
'uuid' => ['title' => '目标订阅 uuid', 'description' => 'update/remove 必填', 'type' => 'string'],
'payload' => ['title' => '订阅完整载荷', 'description' => 'create/update 必填', '$ref' => '#/components/schemas/SubscriptionForModify'],
],
],
'Tag' => [
'type' => 'object',
'properties' => [
'key' => ['title' => '标签键', 'description' => 'The tag key.', 'type' => 'string', 'example' => 'env', 'maxLength' => 128],
'value' => ['title' => '标签值', 'description' => 'The tag value.', 'type' => 'string', 'example' => 'test', 'maxLength' => 256],
],
'description' => 'The tag.',
'title' => '标签',
'example' => '',
],
'TagCondition' => [
'title' => '标签过滤条件',
'description' => '基于 tag key/value 的过滤单元',
'type' => 'object',
'properties' => [
'key' => ['title' => '标签键', 'type' => 'string'],
'op' => [
'title' => '操作符',
'type' => 'string',
'enum' => ['EQ', 'EQI', 'START_WITH', 'END_WITH', 'CONTAIN', 'NOT_CONTAIN', 'IN', 'NOT_IN', 'EXIST'],
],
'value' => ['title' => '标签值', 'type' => 'string'],
],
],
'TagSelector' => [
'title' => '标签选择器',
'description' => 'A tag-based selector defined by either `conditions` and `relation` or a custom `expression`.',
'type' => 'object',
'properties' => [
'conditions' => [
'title' => '标签过滤条件列表',
'type' => 'array',
'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/TagCondition'],
'description' => '',
'example' => '',
],
'relation' => [
'title' => '条件关系',
'type' => 'string',
'description' => '',
'example' => '',
'default' => 'AND',
'enum' => ['AND', 'OR'],
],
'expression' => ['title' => '自定义表达式(高级模式,覆盖 conditions+relation)', 'type' => 'string', 'description' => '', 'example' => ''],
],
'example' => '',
],
'TransformAction' => [
'description' => 'The transform configuration.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'mapping' => [
'description' => 'The mapping configuration.',
'visibility' => 'Public',
'type' => 'object',
'additionalProperties' => ['description' => 'The severity level mapping configuration.', 'visibility' => 'Public', 'type' => 'string', 'title' => '', 'example' => '{"warning":"WARNING"}'],
'backendName' => 'mapping',
'title' => '',
'example' => '',
],
'variable' => ['description' => 'The variable name.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'variable', 'title' => '', 'example' => 'var1'],
'filterSetting' => ['description' => 'The filter configuration.', 'visibility' => 'Public', 'backendName' => 'filterSetting', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => ''],
'source' => ['description' => 'The reference path.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'source', 'title' => '', 'example' => 'data.subject'],
'labelKey' => ['description' => 'The label name.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'labelKey', 'title' => '', 'example' => 'labelkey1'],
'type' => ['description' => 'The transform type.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'type', 'title' => '', 'example' => 'SET_FIELD'],
'value' => ['description' => 'The value to set.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'value', 'title' => '', 'example' => 'value1'],
'regExp' => ['description' => 'The regular expression.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'regExp', 'title' => '', 'example' => '(.*):(.*)'],
'target' => ['description' => 'The target location.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'target', 'title' => '', 'example' => 'SUBJECT'],
],
'title' => '',
'example' => '',
],
'TransformerForModify' => [
'title' => 'A short description of struct',
'description' => 'The data converter.',
'type' => 'object',
'properties' => [
'sortId' => ['title' => '排序数', 'description' => 'The sort number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'sortId'],
'quitAfterMatch' => ['title' => '匹配处理后退出', 'description' => 'Specifies whether to exit after a match is processed.', 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'quitAfterMatch'],
'description' => ['title' => '描述', 'description' => 'The description.', 'type' => 'string', 'example' => 'workspace test', 'visibility' => 'Public', 'backendName' => 'description'],
'filterSetting' => ['description' => 'The filter criteria.', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'filterSetting'],
'transformerName' => ['title' => '名称', 'description' => 'The name.', 'type' => 'string', 'required' => true, 'example' => 'name', 'visibility' => 'Public', 'backendName' => 'transformerName'],
'actions' => [
'title' => '转换操作',
'description' => 'The transform operations.',
'type' => 'array',
'items' => ['description' => 'The transform action.', '$ref' => '#/components/schemas/TransformAction', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'],
'example' => '',
'visibility' => 'Public',
'backendName' => 'actions',
],
],
'example' => '',
'visibility' => 'Public',
],
'TransformerForView' => [
'title' => 'A short description of struct',
'description' => 'The data converter.',
'visibility' => 'Public',
'type' => 'object',
'properties' => [
'workspace' => ['title' => 'workspace', 'description' => 'The workspace.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'workspace', 'example' => 'workspace-test'],
'createTime' => ['title' => '创建时间', 'description' => 'The time when the converter was created.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'createTime', 'example' => '2025-03-11T08:21:58Z'],
'enable' => ['title' => '是否启用', 'description' => 'Indicates whether the converter is enabled.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'enabled', 'example' => 'false'],
'sortId' => ['title' => '排序数', 'description' => 'The sort ID.', 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'backendName' => 'sortId', 'example' => '1'],
'transformerId' => ['title' => 'transformer Id', 'description' => 'The transformer ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'transformerId', 'example' => '1123123123123'],
'quitAfterMatch' => ['title' => '匹配处理后退出', 'description' => 'Indicates whether to exit after a match is processed.', 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'quitAfterMatch', 'example' => 'false'],
'description' => ['title' => '描述', 'description' => 'The description.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'description', 'example' => 'workspace test'],
'filterSetting' => ['description' => 'The filter settings.', 'visibility' => 'Public', 'backendName' => 'filterSetting', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => ''],
'updateTime' => ['title' => '更新时间', 'description' => 'The time when the converter was last updated.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'updateTime', 'example' => '2025-01-16T02:27:01Z'],
'transformerName' => ['title' => '名称', 'description' => 'The name.', 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'backendName' => 'transformerName', 'example' => '测试处理流'],
'actions' => [
'title' => '转换操作',
'description' => 'The transform operations.',
'visibility' => 'Public',
'type' => 'array',
'items' => ['description' => 'The transform action.', 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/TransformAction', 'title' => '', 'example' => ''],
'backendName' => 'actions',
'example' => '',
],
'userId' => ['title' => '用户id', 'description' => 'The user ID.', 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'userId', 'example' => '123123123**'],
],
'example' => '',
],
'UmodelEntityField' => [
'description' => 'The display configuration for a UModel entity field.',
'type' => 'object',
'properties' => [
'field' => ['description' => 'The name of the entity field.', 'type' => 'string', 'title' => '', 'example' => ''],
'value' => ['description' => 'The field alias or display value.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'UmodelEntityFilter' => [
'description' => 'The filter to apply when querying entities. A filter consists of a `field`, an `operator`, and a `value`.',
'type' => 'object',
'properties' => [
'field' => ['description' => 'The field name to filter on.', 'type' => 'string', 'title' => '', 'example' => ''],
'operator' => [
'description' => 'The comparison operator to use. Supported operators include `=`, `>`, `<`, `!=`, `IN`, and `NOT IN`.',
'type' => 'string',
'title' => '',
'example' => '',
'enum' => ['=', '!='],
],
'value' => ['description' => 'The value to compare the field against.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'UmodelLabelFilter' => [
'description' => 'A filter that selects resources based on a label. A label is a key-value pair that you can assign to resources.',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The key of the label used for filtering.', 'type' => 'string', 'title' => '', 'example' => ''],
'value' => ['description' => 'The value of the label to match.', 'type' => 'string', 'title' => '', 'example' => ''],
'operator' => [
'description' => 'The logical operator used to compare the label\'s value.',
'type' => 'string',
'title' => '',
'example' => '',
'enum' => ['=', '!='],
],
],
'title' => '',
'example' => '',
],
'UuidFilter' => [
'description' => 'Contains the criteria for filtering by uuid.',
'type' => 'object',
'properties' => [
'eq' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'in' => [
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'WorkspaceFilterSetting' => [
'type' => 'object',
'properties' => [
'tagSelector' => ['description' => 'The tag filter.', '$ref' => '#/components/schemas/FilterSetting', 'title' => '', 'example' => ''],
'workspaceUuids' => [
'type' => 'array',
'items' => ['description' => 'The workspace UUID.', 'type' => 'string', 'title' => '', 'example' => '"ws-abc123"'],
'description' => 'A list of workspace UUIDs.',
'title' => '',
'example' => '',
],
],
'description' => 'The workspace filter settings object.',
'title' => '',
'example' => '',
],
],
],
'apis' => [
'AddContexts' => [
'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'path',
'schema' => ['description' => 'The context store name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-context-store', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'contextType' => ['description' => 'The context type.', 'type' => 'string', 'required' => true, 'example' => 'memory', 'title' => ''],
'memoryType' => ['description' => 'The memory type.', 'type' => 'string', 'required' => false, 'example' => 'short', 'title' => ''],
'items' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'messages' => [
'type' => 'array',
'items' => [
'type' => 'object',
'additionalProperties' => ['description' => 'The properties of the message, such as `role` and `content`.', 'type' => 'any', 'example' => '{"content":"xxxx","role":"xxxx"}', 'title' => ''],
'description' => 'A single message object.',
'required' => false,
'title' => '',
'example' => '',
],
'description' => 'An array of message objects.',
'required' => false,
'title' => '',
'example' => '',
],
'content' => ['description' => 'The content of the context item.', 'type' => 'string', 'required' => false, 'example' => 'You are a conversation assistant.', 'title' => ''],
'userId' => ['description' => 'The unique user ID.', 'type' => 'string', 'required' => false, 'example' => 'test_user_001', 'title' => ''],
'agentId' => ['description' => 'The unique agent ID.', 'type' => 'string', 'required' => false, 'example' => '952730733889060865', 'title' => ''],
'appId' => ['description' => 'The application ID.', 'type' => 'string', 'required' => false, 'example' => 'mm_480d961a1b5e4efe84603f4cbc0f', 'title' => ''],
'runId' => ['description' => 'The run ID.', 'type' => 'string', 'required' => false, 'example' => 'jr-80ded1d6953c64ea', 'title' => ''],
'labels' => [
'type' => 'object',
'additionalProperties' => ['description' => 'A key-value pair representing a single label.', 'type' => 'string', 'example' => '{"key":"xxxx","value":"xxxx"}', 'title' => ''],
'description' => 'A map of key-value pairs to apply as labels.',
'required' => false,
'title' => '',
'example' => '',
],
'metadata' => ['description' => 'Key-value pairs to store as metadata.', 'type' => 'object', 'required' => false, 'example' => '{"sessionId":"test_session_001"}', 'title' => ''],
'infer' => ['description' => 'Specifies whether to perform inference based on the context. The default value is `false`.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'customInstructions' => ['description' => 'The custom instructions for processing the context.', 'type' => 'string', 'required' => false, 'example' => 'Your custom instructions here', 'title' => ''],
'timestamp' => ['description' => 'The timestamp of the context item.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1774578167', 'title' => ''],
'categories' => [
'type' => 'array',
'items' => ['description' => 'A category name.', 'type' => 'string', 'required' => false, 'example' => '[]', 'title' => ''],
'description' => 'A list of categories to apply to the context item.',
'required' => false,
'title' => '',
'example' => '',
],
'immutable' => ['description' => 'Specifies whether the context item is immutable. If set to `true`, the item cannot be changed after it is created. The default value is `false`.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'expirationDate' => ['description' => 'The expiration timestamp for the context item.', 'type' => 'string', 'required' => false, 'example' => '1731231212334396', 'title' => ''],
'triggerCondition' => ['description' => 'The condition that triggers the context.', 'type' => 'string', 'required' => false, 'example' => 'Identify and troubleshoot SLs issues', 'title' => ''],
'experience' => ['description' => 'An object containing experience information for the context.', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
.' "taskType": "troubleshooting",'."\n"
.' "complexity": "medium",'."\n"
.' "confidence": 0.95'."\n"
.'}', 'title' => ''],
],
'description' => 'A single context item.',
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'description' => 'An array of context items.',
'title' => '',
'example' => '',
],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The unique ID for the request.', 'type' => 'string', 'example' => '0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8', 'title' => ''],
'results' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'contextId' => ['description' => 'The ID of the written record or event.', 'type' => 'string', 'title' => '', 'example' => '897294a7-67a4-4f60-976c-e136edc5f97e'],
'status' => ['description' => 'The write status. Can be "accepted", "queued", or "created".', 'type' => 'string', 'title' => '', 'example' => 'accepted'],
],
'description' => 'An object that represents a single result.',
'title' => '',
'example' => '',
],
'description' => 'An array of objects containing the results of the write operation.',
'title' => '',
'example' => '',
],
],
'description' => 'The response data.',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'AddContexts',
'summary' => 'Write to the context',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8\\",\\n \\"results\\": [\\n {\\n \\"contextId\\": \\"897294a7-67a4-4f60-976c-e136edc5f97e\\",\\n \\"status\\": \\"accepted\\"\\n }\\n ]\\n}","type":"json"}]',
],
'AddMemories' => [
'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'Workspace name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'memoryStoreName',
'in' => 'path',
'schema' => ['description' => 'Memory store name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-memory-store', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'timestamp' => ['type' => 'integer', 'format' => 'int64', 'example' => '12312314214', 'description' => '', 'title' => ''],
'asyncMode' => ['description' => 'Asynchronous mode.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'messages' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'content' => ['description' => 'Content.', 'type' => 'string', 'required' => false, 'example' => 'My name is Zhang San and I live in Hangzhou.', 'title' => ''],
'role' => ['description' => 'Role.', 'type' => 'string', 'required' => false, 'example' => 'user', 'title' => ''],
],
'description' => 'Message.',
'required' => false,
'title' => '',
'example' => '',
],
'description' => 'Messages.',
'required' => false,
'title' => '',
'example' => '',
],
'userId' => ['description' => 'User ID.', 'type' => 'string', 'required' => false, 'example' => 'test_user_001', 'title' => ''],
'agentId' => ['description' => 'Application agent ID.', 'type' => 'string', 'required' => false, 'example' => '952730733889060865', 'title' => ''],
'appId' => ['description' => 'Application ID.', 'type' => 'string', 'required' => false, 'example' => 'mm_480d961a1b5e4efe84603f4cbc0f', 'title' => ''],
'runId' => ['description' => 'Run ID.', 'type' => 'string', 'required' => false, 'example' => 'jr-80ded1d6953c64ea', 'title' => ''],
'infer' => ['description' => 'Infer.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'customInstructions' => ['description' => 'Custom instructions.', 'type' => 'string', 'required' => false, 'example' => 'Your custom instructions here', 'title' => ''],
'metadata' => ['description' => 'Metadata.', 'type' => 'object', 'required' => false, 'example' => '{"sessionId":"test_session_001"}', 'title' => ''],
],
'description' => 'Request body parameters.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****', 'title' => ''],
'results' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'message' => ['description' => 'Details.', 'type' => 'string', 'example' => 'Memory processing has been queued for background execution', 'title' => ''],
'status' => ['description' => 'Processing status.', 'type' => 'string', 'example' => 'Pending', 'title' => ''],
'eventId' => ['description' => 'Event ID.', 'type' => 'string', 'example' => '897294a7-67a4-4f60-976c-e136edc5f97e', 'title' => ''],
],
'description' => 'Request result.',
'title' => '',
'example' => '',
],
'description' => 'Request results.',
'title' => '',
'example' => '',
],
],
'title' => '',
'description' => 'Response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'AddMemories',
'summary' => 'Add new facts, messages, or metadata to a user’s memory store. The AddMemories endpoint accepts raw text or conversation turns and commits them asynchronously, preparing the memories for subsequent search, retrieval, and graph queries.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:AddMemories',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'MemoryStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/memorystore/{#memoryStore}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"results\\": [\\n {\\n \\"message\\": \\"Memory processing has been queued for background execution\\",\\n \\"status\\": \\"Pending\\",\\n \\"eventId\\": \\"897294a7-67a4-4f60-976c-e136edc5f97e\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ChangeResourceGroup' => [
'summary' => 'Changes the resource group of a resource.',
'path' => '/resourcegroup',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'resourceType' => ['description' => 'The resource type.', 'type' => 'string', 'required' => false, 'example' => 'Service', 'title' => ''],
'resourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-ae******ey', 'title' => ''],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'title' => '',
'description' => 'The schema of the response.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ChangeResourceGroup',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'CreateAddonRelease' => [
'summary' => 'Installs an add-on.',
'path' => '/integration-policies/{policyId}/addon-releases',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => '请求体参数。',
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'addonName' => ['title' => '需要接入监控的组件 Addon 名称。', 'description' => 'The name of the add-on to integrate.', 'type' => 'string', 'required' => true, 'example' => 'cs-gpu'],
'aliyunLang' => [
'title' => '组件的语言类型。',
'description' => 'The language of the add-on.',
'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'],
'type' => 'string',
'required' => false,
'example' => 'zh',
],
'dryRun' => [
'title' => '是否试运行,默认为 false。',
'description' => 'Specifies whether to perform a dry run. The default value is false.',
'enumValueTitles' => ['true' => 'Performs a dry run.', 'false' => 'Does not perform a dry run.'],
'type' => 'boolean',
'required' => false,
'example' => 'false',
],
'envType' => [
'title' => '环境类型。如果 Policy 类型为 CS 和 ECS,对应使用,其他类型统一为 Cloud。',
'description' => 'The environment type. Set this parameter to CS for container environments or ECS for ECS environments. For all other environment types, set this parameter to Cloud.',
'enumValueTitles' => ['CS' => 'container environment', 'ECS' => 'ECS environment', 'Cloud' => 'Alibaba Cloud service environment'],
'type' => 'string',
'required' => false,
'example' => 'CS',
],
'parentAddonReleaseId' => ['title' => '父级 AddonReleaseId。', 'description' => 'The ID of the parent AddonRelease.', 'type' => 'string', 'required' => false, 'example' => 'policy-xxxxxxxxxxx'],
'releaseName' => ['title' => '接入后的插件名称,如果不指定则生成默认规则名称。', 'description' => 'The name of the release after the integration. If you do not specify this parameter, a default name is generated.', 'type' => 'string', 'required' => false, 'example' => 'test-gpu-integration-name'],
'values' => ['title' => '输入的元数据。', 'description' => 'The metadata.', 'type' => 'string', 'required' => false, 'example' => '{"install":{"mode":"auto-install","listenPort":"9400"},"discoverMode":"instances","discover":{"instances":"worker-k8s-for-cs-c126d87c76218487e83ab322017f11b44"},"scrapeInterval":"15","enableSecuritecs-nodeyGroupInjection":"true","metricTags":""}'],
'version' => ['title' => '需要接入监控的组件 Addon 版本。', 'description' => 'The version of the add-on to integrate.', 'type' => 'string', 'required' => true, 'example' => '0.0.2'],
'workspace' => ['title' => '安装组件资源的工作空间名称。'."\n", 'description' => 'The name of the workspace where the add-on is installed.', 'type' => 'string', 'required' => false, 'example' => 'default'],
'entityRules' => ['title' => '实体发现规则。', 'description' => 'The entity discovery rules.', '$ref' => '#/components/schemas/EntityDiscoverRule', 'required' => false, 'example' => ''],
],
'required' => false,
'example' => '',
],
],
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['title' => '环境策略 ID。', 'description' => 'The ID of the environment policy.', 'type' => 'string', 'required' => true, 'example' => 'policy-yyyyyyyyyy'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '返回数据。',
'description' => 'The returned data.',
'type' => 'object',
'properties' => [
'release' => [
'title' => '接入组件信息。',
'description' => 'The information about the integrated add-on.',
'type' => 'object',
'properties' => [
'addonName' => ['title' => '接入监控的组件 Addon 名称。', 'description' => 'The name of the integrated add-on.', 'type' => 'string', 'example' => 'cs-gpu'],
'alertRuleCount' => ['title' => '告警组数量。', 'description' => 'The number of alert rules.', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
'conditions' => [
'title' => '组件安装阶段信息。',
'description' => 'The information about the add-on installation phases.',
'type' => 'array',
'items' => [
'description' => 'The operator. The supported matching methods are exact match, prefix match, and regular expression.',
'type' => 'object',
'properties' => [
'firstTransitionTime' => ['title' => '第一次转换时间。', 'description' => 'The time when the phase first transitioned.', 'type' => 'string', 'example' => '2024-11-04T16:10:22+08:00'],
'lastTransitionTime' => ['title' => '最后一次转换时间。', 'description' => 'The time when the phase last transitioned.', 'type' => 'string', 'example' => '2024-11-04T16:10:22+08:00'],
'message' => ['title' => '详细信息。', 'description' => 'The details of the phase.', 'type' => 'string', 'example' => 'The addon loaded successfully'],
'status' => ['title' => '阶段状态。', 'description' => 'The status of the phase.', 'type' => 'string', 'example' => '{\'phase\': \'Created\', \'executionDetails\': [], \'invocations\': [], \'latestExecError\': {\'message\': \'\', \'code\': \'\', \'requestId\': \'\', \'extraInfo\': \'\', \'title\': \'\'}}'],
'type' => ['title' => '阶段类型。', 'description' => 'The type of the phase.', 'type' => 'string', 'example' => 'Loaded'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'config' => ['title' => '组件配置。', 'description' => 'The configuration of the add-on.', 'type' => 'string', 'example' => '{"install":{"mode":"auto-install","listenPort":"9400"},"discoverMode":"instances","discover":{"instances":"worker-k8s-for-cs-c126d87c76218487e83ab322017f11b44"},"scrapeInterval":"15","enableSecuritecs-nodeyGroupInjection":"true","metricTags":""}'],
'createTime' => ['title' => '接入时间。', 'description' => 'The time when the add-on was integrated.', 'type' => 'string', 'example' => '2024-11-05T15:21:30+08:00'],
'dashboardCount' => ['title' => '大盘数量。', 'description' => 'The number of dashboards.', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'environmentId' => ['title' => '环境 ID。', 'description' => 'The environment ID.', 'type' => 'string', 'example' => 'policy-xxxxxxxxxxx'],
'exporterCount' => ['title' => '插件数量。', 'description' => 'The number of exporters.', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'haveConfig' => ['title' => '是否有配置。', 'description' => 'Indicates whether a configuration is available.', 'type' => 'boolean', 'example' => 'true'],
'installUserId' => ['title' => '安装的用户 ID。', 'description' => 'The ID of the user who installed the add-on.', 'type' => 'string', 'example' => '1654218965xxxxxx'],
'language' => ['title' => '语言。', 'description' => 'The language.', 'type' => 'string', 'example' => 'zh'],
'managed' => ['title' => '是否为托管组件。', 'description' => 'Indicates whether the add-on is a managed add-on.', 'type' => 'boolean', 'example' => 'true'],
'parentAddonReleaseId' => ['title' => '父级 AddonReleaseId。', 'description' => 'The ID of the parent AddonRelease.', 'type' => 'string', 'example' => 'policy-xxxxxxxxxxx'],
'policyId' => ['title' => '策略环境 ID。', 'description' => 'The ID of the environment policy.', 'type' => 'string', 'example' => 'policy-xxxxxxxxxx'],
'regionId' => ['title' => '地域 ID。', 'description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'],
'releaseId' => ['title' => '安装后的 ReleaseID。', 'description' => 'The ID of the release.', 'type' => 'string', 'example' => '2e898e60-5e6a-46d1-a994-xxxxxxxxxx'],
'releaseName' => ['title' => 'Release 的名称。', 'description' => 'The name of the release.', 'type' => 'string', 'example' => 'test-gpu-integration-name'],
'scene' => ['title' => '组件场景。', 'description' => 'The scenario of the add-on.', 'type' => 'string', 'example' => '1'],
'status' => ['title' => '组件状态。', 'description' => 'The status of the add-on.', 'type' => 'string', 'example' => '200'],
'updateTime' => ['title' => '更新时间。', 'description' => 'The time when the add-on was last updated.', 'type' => 'string', 'example' => '2024-09-13T02:21:02Z'],
'userId' => ['title' => '所属用户 ID。', 'description' => 'The user ID.', 'type' => 'string', 'example' => '165421896xxxxxx'],
'version' => ['title' => '组件版本。', 'description' => 'The version of the add-on.', 'type' => 'string', 'example' => '1.0.0'],
'envType' => ['title' => '环境类型。', 'description' => 'The environment type.', 'type' => 'string', 'example' => 'CS'],
'workspace' => ['title' => '工作空间。', 'description' => 'The workspace.', 'type' => 'string', 'example' => 'default'],
'entityRules' => ['title' => '实体详情。', 'description' => 'The details of the entity.', '$ref' => '#/components/schemas/EntityGroupBase', 'example' => ''],
],
'example' => '',
],
'requestId' => ['title' => '请求 ID。', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0CEC5375-C554-562B-A65F-9A629907C1F0'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Install Access Component',
'description' => 'Creates a release for an add-on.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '210', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAddonRelease'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreateAddonRelease',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'AddonRelease', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#PolicyId}/addonrelease/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"release\\": {\\n \\"addonName\\": \\"cs-gpu\\",\\n \\"alertRuleCount\\": 6,\\n \\"conditions\\": [\\n {\\n \\"firstTransitionTime\\": \\"2024-11-04T16:10:22+08:00\\",\\n \\"lastTransitionTime\\": \\"2024-11-04T16:10:22+08:00\\",\\n \\"message\\": \\"The addon loaded successfully\\",\\n \\"status\\": \\"{\'phase\': \'Created\', \'executionDetails\': [], \'invocations\': [], \'latestExecError\': {\'message\': \'\', \'code\': \'\', \'requestId\': \'\', \'extraInfo\': \'\', \'title\': \'\'}}\\",\\n \\"type\\": \\"Loaded\\"\\n }\\n ],\\n \\"config\\": \\"{\\\\\\"install\\\\\\":{\\\\\\"mode\\\\\\":\\\\\\"auto-install\\\\\\",\\\\\\"listenPort\\\\\\":\\\\\\"9400\\\\\\"},\\\\\\"discoverMode\\\\\\":\\\\\\"instances\\\\\\",\\\\\\"discover\\\\\\":{\\\\\\"instances\\\\\\":\\\\\\"worker-k8s-for-cs-c126d87c76218487e83ab322017f11b44\\\\\\"},\\\\\\"scrapeInterval\\\\\\":\\\\\\"15\\\\\\",\\\\\\"enableSecuritecs-nodeyGroupInjection\\\\\\":\\\\\\"true\\\\\\",\\\\\\"metricTags\\\\\\":\\\\\\"\\\\\\"}\\",\\n \\"createTime\\": \\"2024-11-05T15:21:30+08:00\\",\\n \\"dashboardCount\\": 3,\\n \\"environmentId\\": \\"policy-xxxxxxxxxxx\\",\\n \\"exporterCount\\": 2,\\n \\"haveConfig\\": true,\\n \\"installUserId\\": \\"1654218965xxxxxx\\",\\n \\"language\\": \\"zh\\",\\n \\"managed\\": true,\\n \\"parentAddonReleaseId\\": \\"policy-xxxxxxxxxxx\\",\\n \\"policyId\\": \\"policy-xxxxxxxxxx\\",\\n \\"regionId\\": \\"cn-hangzhou\\",\\n \\"releaseId\\": \\"2e898e60-5e6a-46d1-a994-xxxxxxxxxx\\",\\n \\"releaseName\\": \\"test-gpu-integration-name\\",\\n \\"scene\\": \\"1\\",\\n \\"status\\": \\"200\\",\\n \\"updateTime\\": \\"2024-09-13T02:21:02Z\\",\\n \\"userId\\": \\"165421896xxxxxx\\",\\n \\"version\\": \\"1.0.0\\",\\n \\"envType\\": \\"CS\\",\\n \\"workspace\\": \\"default\\",\\n \\"entityRules\\": {\\n \\"workspace\\": \\"default-cms-1654218***343050-cn-hangzhou\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"entityQueries\\": [\\n {\\n \\"entityType\\": \\"acs.ecs.instance\\",\\n \\"spl\\": \\".entity with(type=\'acs.ecs.instance\') | where region_id in (\'cn-beijing\')\\"\\n }\\n ],\\n \\"description\\": \\"ECS 实例\\",\\n \\"entityGroupId\\": \\"eg-1234567890\\",\\n \\"entityRules\\": {\\n \\"ipMatchRule\\": [\\n {\\n \\"ipFieldKey\\": \\"hostIp\\",\\n \\"ipCIDR\\": \\"192.168.0.1/10\\"\\n }\\n ],\\n \\"instanceIds\\": [\\n \\"i-bp1gj8wyq4fxk28k6iy2\\"\\n ],\\n \\"fieldRules\\": [\\n {\\n \\"op\\": \\"in\\",\\n \\"fieldKey\\": \\"instanceId\\",\\n \\"fieldValues\\": [\\n \\"i-bp1gj8wyq4fxk28k6iy2\\"\\n ]\\n }\\n ],\\n \\"annotations\\": [\\n {\\n \\"op\\": \\"in\\",\\n \\"tagKey\\": \\"instanceId\\",\\n \\"tagValues\\": [\\n \\"i-bp1gj8wyq4fxk28k6iy2\\\\n\\"\\n ]\\n }\\n ],\\n \\"resourceGroupId\\": \\"rg-acfm2m7atreujs1\\",\\n \\"entityTypes\\": [\\n \\"acs.ecs.instance\\"\\n ],\\n \\"regionIds\\": [\\n \\"cn-shanghai\\"\\n ],\\n \\"tags\\": [\\n {\\n \\"op\\": \\"in\\",\\n \\"tagKey\\": \\"project\\",\\n \\"tagValues\\": [\\n \\"demo\\"\\n ]\\n }\\n ],\\n \\"labels\\": [\\n {\\n \\"op\\": \\"in\\",\\n \\"tagKey\\": \\"project\\",\\n \\"tagValues\\": [\\n \\"demo\\"\\n ]\\n }\\n ]\\n },\\n \\"entityGroupName\\": \\"ECS 全部实体\\",\\n \\"userId\\": \\"1654218***343050\\"\\n }\\n },\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-9A629907C1F0\\"\\n}","type":"json"}]',
],
'CreateAggTaskGroup' => [
'summary' => 'Create an aggregation task group.',
'path' => '/prometheus-instances/{instanceId}/agg-task-groups',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
'schema' => ['title' => '', 'description' => 'Source Prometheus instance ID of the aggregation task group.', 'type' => 'string', 'required' => true, 'example' => 'pq4apob9jm'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'Request body structure.',
'type' => 'object',
'properties' => [
'aggTaskGroupConfig' => ['title' => '', 'description' => 'Aggregation task group configuration.'."\n"
.'Currently only the "RecordingRuleYaml" format is supported, which must conform to the RecordingRule format requirements of open-source Prometheus.', 'type' => 'string', 'required' => true, 'example' => 'groups:'."\n"
.'- name: "node.rules"'."\n"
.' interval: "60s"'."\n"
.' rules:'."\n"
.' - record: "node_namespace_pod:kube_pod_info:"'."\n"
.' expr: "max(label_replace(kube_pod_info{job=\\"kubernetes-pods-kube-state-metrics\\"\\'."\n"
.' }, \\"pod\\", \\"$1\\", \\"pod\\", \\"(.*)\\")) by (node, namespace, pod, cluster)"'."\n"],
'aggTaskGroupConfigType' => ['title' => '', 'description' => 'Aggregation task group configuration type. Default: "RecordingRuleYaml" (open-source Prometheus RecordingRule format).', 'type' => 'string', 'example' => 'RecordingRuleYaml', 'default' => 'RecordingRuleYaml', 'required' => false],
'aggTaskGroupName' => ['title' => '', 'description' => 'Aggregation task group name.', 'type' => 'string', 'required' => true, 'example' => 'test-group'],
'cronExpr' => ['title' => '', 'description' => 'The specific scheduling expression when the scheduling mode is set to "Cron". For example, "0/1 * * * *" means scheduling every 1 minute starting from minute 0.', 'type' => 'string', 'example' => '0/1 * * * *', 'required' => false],
'delay' => ['title' => '', 'description' => 'Fixed delay time for scheduling. Unit: seconds. Default: 30.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '120', 'minimum' => '0', 'example' => '30', 'default' => '30', 'required' => false],
'description' => ['title' => '', 'description' => 'Aggregation task group description.', 'type' => 'string', 'example' => 'desc', 'required' => false],
'fromTime' => ['title' => '', 'description' => 'Second-level timestamp corresponding to the scheduling start time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1724996015', 'required' => false],
'maxRetries' => ['title' => '', 'description' => 'Maximum number of retries for executing aggregation tasks. Default: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'default' => '20', 'required' => false],
'maxRunTimeInSeconds' => ['title' => '', 'description' => 'Maximum retry duration for executing aggregation tasks. Unit: seconds. Default: 600.', 'type' => 'integer', 'format' => 'int32', 'example' => '600', 'default' => '600', 'required' => false],
'precheckString' => ['title' => '', 'description' => 'Pre-check configuration. Not configured by default. The input string must be valid JSON.', 'type' => 'string', 'example' => '{"policy":"skip","prometheusId":"xxx","query":"scalar(sum(count_over_time(up{job=\\"_arms/kubelet/cadvisor\\"}[15s])) / 21)","threshold":0.5,"timeout":15,"type":"promql"}', 'required' => false],
'scheduleMode' => [
'title' => '',
'description' => 'Scheduling mode. "Cron" or "FixedRate". Default: "FixedRate".',
'enumValueTitles' => ['FixedRate' => 'Fixed rate', 'Cron' => 'Cron expression'],
'type' => 'string',
'required' => false,
'example' => 'FixedRate',
'default' => 'FixedRate',
'enum' => ['FixedRate', 'Cron'],
],
'scheduleTimeExpr' => ['title' => '', 'description' => 'Scheduling time expression. "@s" or "@m" is recommended, indicating the granularity of scheduling time window alignment. Default: "@m".', 'type' => 'string', 'example' => '@m', 'default' => '@m', 'required' => false],
'status' => [
'title' => '',
'description' => 'Aggregation task group status. "Running" or "Stopped". Default: Running.',
'enumValueTitles' => ['Stopped' => 'Disabled', 'Running' => 'Enabled'],
'type' => 'string',
'example' => 'Running',
'default' => 'Running',
'enum' => ['Running', 'Stopped'],
'required' => false,
],
'tags' => [
'title' => '',
'description' => 'Resource group tags.',
'type' => 'array',
'items' => [
'description' => 'Resource tag value.',
'type' => 'object',
'properties' => [
'key' => ['title' => '', 'description' => 'Key of the resource group tag.', 'type' => 'string', 'required' => false, 'example' => 'key1'],
'value' => ['title' => '', 'description' => 'Value of the resource group tag.', 'type' => 'string', 'required' => false, 'example' => 'value1'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'targetPrometheusId' => ['title' => '', 'description' => 'Target Prometheus instance ID of the aggregation task group.', 'type' => 'string', 'required' => true, 'example' => 'rw-pq4apob9jm'],
'toTime' => ['title' => '', 'description' => 'Second-level timestamp corresponding to the scheduling end time. 0 means scheduling will not stop.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'required' => false],
],
'required' => false,
'example' => '',
],
],
[
'name' => 'overrideIfExists',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Whether to override and update when a resource with the same name exists during aggregation task group creation.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Response body structure.',
'type' => 'object',
'properties' => [
'aggTaskGroupConfigHash' => ['title' => '', 'description' => 'Digest of the aggregation task group configuration.', 'type' => 'string', 'example' => 'a54136014dc386a92c83a6ef1e97ff22'],
'aggTaskGroupId' => ['title' => '', 'description' => 'Aggregation task group ID.', 'type' => 'string', 'example' => 'aggTaskGroup-f4b8e50525cf41c894488c0c71ec483f'],
'aggTaskGroupName' => ['title' => '', 'description' => 'Aggregation task group name.', 'type' => 'string', 'example' => 'pipeline-aggtask-group'],
'requestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '16C0A6D6-C3E7-511D-A60B-A87FD85F5BA7'],
'sourcePrometheusId' => ['title' => '', 'description' => 'Source Prometheus instance ID of the aggregation task group.', 'type' => 'string', 'example' => 'rw-ecc04af14729b1a16e40a0d10068'],
'status' => ['title' => '', 'description' => 'Current status of the aggregation task group.', 'type' => 'string', 'example' => 'Pending2Running'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"aggTaskGroupConfigHash\\": \\"a54136014dc386a92c83a6ef1e97ff22\\",\\n \\"aggTaskGroupId\\": \\"aggTaskGroup-f4b8e50525cf41c894488c0c71ec483f\\",\\n \\"aggTaskGroupName\\": \\"pipeline-aggtask-group\\",\\n \\"requestId\\": \\"16C0A6D6-C3E7-511D-A60B-A87FD85F5BA7\\",\\n \\"sourcePrometheusId\\": \\"rw-ecc04af14729b1a16e40a0d10068\\",\\n \\"status\\": \\"Pending2Running\\"\\n}","type":"json"}]',
'title' => 'Create Aggregation Task Group',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAggTaskGroup'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreateAggTaskGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'AggTaskGroup', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}/aggtaskgroup/*'],
],
],
],
],
],
'CreateAlertWebhook' => [
'summary' => 'Create a webhook',
'path' => '/webhook',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request parameters.',
'type' => 'object',
'properties' => [
'contentType' => [
'description' => 'The content type. Valid values:'."\n"
."\n"
.'- JSON (default)'."\n"
."\n"
.'- FORM',
'type' => 'string',
'default' => 'JSON',
'enum' => ['JSON', 'FORM'],
'required' => false,
'example' => 'JSON',
'title' => '',
],
'headers' => [
'description' => 'The headers.',
'type' => 'object',
'required' => false,
'additionalProperties' => ['description' => 'The header.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'title' => '',
'example' => '',
],
'lang' => [
'description' => 'The language. Valid values:'."\n"
."\n"
.'- zh\\_CN'."\n"
."\n"
.'- en\\_US',
'type' => 'string',
'enum' => ['zh_CN', 'en_US'],
'required' => false,
'example' => 'zh_CN',
'title' => '',
],
'method' => [
'description' => 'The request method. Valid values:'."\n"
."\n"
.'- GET'."\n"
."\n"
.'- POST',
'type' => 'string',
'required' => false,
'default' => 'POST',
'enum' => ['GET', 'POST'],
'example' => 'GET',
'title' => '',
],
'name' => ['description' => 'The name of the webhook.', 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''],
'url' => ['description' => 'The URL for the alert callback.', 'type' => 'string', 'required' => true, 'example' => 'https://aliyun.com/test', 'title' => ''],
'webhookId' => ['description' => 'The unique ID of the webhook.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'workspace' => ['type' => 'string', 'example' => 'my-workspace', 'description' => '', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'alertWebhookId' => ['description' => 'The unique ID of the webhook.', 'type' => 'string', 'example' => 'test', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceExist', 'errorMessage' => 'Resource already exist .', 'description' => 'The resource already exists.'],
['errorCode' => 'InvalidParameter', 'errorMessage' => '%s is missing or invalid.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'CreateAlertWebhook',
'description' => 'Creates an alert webhook to use as a notification recipient.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"alertWebhookId\\": \\"test\\"\\n}","type":"json"}]',
],
'CreateBizTrace' => [
'path' => '/bizTrace',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'workspace' => ['type' => 'string', 'description' => 'The workspace.', 'required' => false, 'title' => '', 'example' => 'default-cms-xxxxxxx-cn-hangzhou'],
'bizTraceCode' => ['type' => 'string', 'description' => 'The identifier for the business trace. It can contain only letters, digits, and underscores (\\_). The first character must be a lowercase letter.', 'required' => false, 'title' => '', 'example' => 'label_env'],
'bizTraceName' => ['type' => 'string', 'description' => 'The name of the business trace.', 'required' => false, 'title' => '', 'example' => 'just test'],
'ruleConfig' => ['type' => 'string', 'description' => 'The configuration rules.', 'required' => false, 'title' => '', 'example' => '[{"entrancePid":"xxx@d9w3jd9j3","rpcMatcher":{"matchType":"EQUALS","pattern":"/"},"characteristics":{"operation":"OR","rules":[{"target":"CUSTOM_EXTRACT","id":"oi0b3bb7","key":"biz.test","matcher":{"matchType":"CONTAINS","pattern":["1"]}}]}}]'."\n"],
'advancedConfig' => ['type' => 'string', 'description' => 'The advanced configuration.', 'required' => false, 'title' => '', 'example' => '{"sample":{"strategy":"BY_APP"}}'],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['type' => 'string', 'description' => 'The ID of the request.', 'title' => '', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'bizTraceId' => ['type' => 'string', 'description' => 'The ID of the business trace.', 'title' => '', 'example' => 'e339260ed64c95d'],
],
'title' => '',
'description' => 'The response schema.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'CreateBizTrace',
'summary' => 'Creates a business trace.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"bizTraceId\\": \\"e339260ed64c95d\\"\\n}","type":"json"}]',
],
'CreateCloudResource' => [
'path' => '/cloudresource',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'CreateCloudResource',
'summary' => 'Creates a cloud resource.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreateCloudResource',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'CloudResource', 'arn' => 'acs:cms:{#regionId}:{#accountId}:cloudresource'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\"\\n}","type":"json"}]',
],
'CreateContextStore' => [
'summary' => 'Creates a context store.',
'path' => '/workspace/{workspace}/contextstore',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'contextStoreName' => ['description' => 'The name of the context store.', 'type' => 'string', 'required' => true, 'example' => 'test-context-store', 'title' => ''],
'contextType' => ['description' => 'The type of the context store.', 'type' => 'string', 'required' => true, 'example' => 'memory', 'title' => ''],
'description' => ['description' => 'The description of the context store.', 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => ''],
'config' => [
'type' => 'object',
'properties' => [
'source' => [
'type' => 'object',
'properties' => [
'project' => ['description' => 'The name of the Log Service project.', 'type' => 'string', 'required' => false, 'example' => 'sls-test-project', 'title' => ''],
'logstore' => ['description' => 'The name of the Log Service Logstore.', 'type' => 'string', 'required' => false, 'example' => 'sls-test-logstore', 'title' => ''],
'startTime' => ['description' => 'The effective start time.', 'type' => 'string', 'format' => 'iso8601_normal', 'required' => false, 'example' => '1751508233000', 'title' => ''],
],
'description' => 'The configuration source.',
'required' => false,
'title' => '',
'example' => '',
],
'metadataField' => [
'type' => 'object',
'additionalProperties' => ['description' => 'A key-value map that defines the metadata fields and their corresponding data sources.', 'type' => 'string', 'example' => ' {'."\n"
.' "project": "attributes.project",'."\n"
.' "logstore": "attributes.logstore",'."\n"
.' "agentId": "attributes.agent_id",'."\n"
.' "scene": "attributes.scene"'."\n"
.' }', 'title' => ''],
'description' => 'The metadata fields.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The configuration.',
'required' => false,
'title' => '',
'example' => '',
],
'dataset' => [
'type' => 'object',
'properties' => [
'name' => ['description' => 'The name of the dataset.', 'type' => 'string', 'required' => false, 'example' => 'test_dataset', 'title' => ''],
],
'description' => 'The properties of the dataset.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E5B1D3D4-BB28-5996-8AD2-***********', 'title' => ''],
],
'description' => 'The returned data.',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'CreateContextStore',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E5B1D3D4-BB28-5996-8AD2-***********\\"\\n}","type":"json"}]',
],
'CreateContextStoreAPIKey' => [
'summary' => 'Creates an API key for a context store.',
'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/apikey',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'path',
'schema' => ['description' => 'The context store name.', 'type' => 'string', 'required' => true, 'example' => 'test-context-store', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'name' => ['description' => 'The display name of the API key. Use this name to identify its purpose.', 'type' => 'string', 'required' => true, 'example' => 'Production Service Key', 'title' => ''],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '3B311FD9-A60B-55E0-A896-A0C73*********'],
'apiKey' => ['description' => 'The value of the API key. This value is returned only upon creation. Store it in a secure location.', 'type' => 'string', 'example' => 'sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'title' => ''],
'name' => ['description' => 'The display name of the API key.', 'type' => 'string', 'example' => 'Production Service Key', 'title' => ''],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'CreateContextStoreAPIKey',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3B311FD9-A60B-55E0-A896-A0C73*********\\",\\n \\"apiKey\\": \\"sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\\",\\n \\"name\\": \\"Production Service Key\\"\\n}","type":"json"}]',
],
'CreateDataset' => [
'summary' => 'Creates a dataset.',
'path' => '/workspace/{workspace}/dataset',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'datasetName' => ['description' => 'The name of the dataset.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test_dataset', 'title' => ''],
'description' => ['description' => 'The description of the dataset.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'schema' => [
'type' => 'object',
'required' => true,
'additionalProperties' => ['description' => 'The definition of a field in the schema.', '$ref' => '#/components/schemas/IndexKey', 'title' => '', 'example' => ''],
'description' => 'The schema of the dataset.',
'title' => '',
'example' => '',
],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
],
'title' => '',
'description' => 'The data returned.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'CreateDataset',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\"\\n}","type":"json"}]',
],
'CreateDeliveryTask' => [
'summary' => 'Create a data delivery task to deliver metric data from a data source to a storage destination or message queue. This task supports three delivery types: Prometheus Remote Write, Kafka, and MaxCompute. You can also use tags to filter which metrics are delivered and attach custom tags to them.',
'path' => '/delivery-tasks',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'taskName' => ['description' => 'The name of the task. The name can contain Chinese characters, English letters, underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => true, 'example' => 'my-task', 'title' => ''],
'dataSourceId' => ['description' => 'The ID of the Prometheus instance that serves as the data source.', 'type' => 'string', 'required' => true, 'example' => 'rw-xxxxxx', 'title' => ''],
'taskDescription' => ['description' => 'The task description.', 'type' => 'string', 'required' => false, 'example' => 'my delivery task', 'title' => ''],
'labelFiltersType' => [
'description' => 'The mode for applying the label filters.',
'type' => 'string',
'enum' => ['Allow', 'Deny'],
'required' => false,
'example' => 'Allow',
'title' => '',
],
'labelFilters' => [
'type' => 'object',
'additionalProperties' => ['description' => 'A key-value pair that specifies a filter condition. For example, `__name__: up` or `job: my_job`.', 'type' => 'string', 'example' => '__name__: up', 'title' => ''],
'description' => 'The label conditions for filtering metrics. The key is the label name and the value is the value to match. The filtering behavior is controlled by `labelFiltersType`.',
'required' => false,
'title' => '',
'example' => '',
],
'externalLabels' => [
'type' => 'object',
'additionalProperties' => ['description' => 'A key-value pair for an external label. For example, `region: cn-hangzhou`.', 'type' => 'string', 'example' => 'region: cn-hangzhou', 'title' => ''],
'description' => 'A map of key-value pairs to attach as additional labels to all delivered metrics.',
'required' => false,
'title' => '',
'example' => '',
],
'sinkList' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'sinkType' => [
'description' => 'The type of the delivery destination (sink).',
'type' => 'string',
'required' => true,
'enum' => ['Prometheus', 'AcsMaxCompute', 'AcsKafka'],
'example' => 'Prometheus',
'title' => '',
],
'sinkConfigs' => [
'type' => 'object',
'additionalProperties' => ['description' => 'A configuration setting for the sink. The available settings depend on the `sinkType`.', 'type' => 'string', 'example' => 'Url: http://xxxx/api/v1/write', 'title' => ''],
'description' => 'The configuration for the sink, specified as key-value pairs. The valid keys and values depend on the value of `sinkType`.',
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => true,
'description' => 'An object that contains the configuration for a delivery destination.',
'title' => '',
'example' => '',
],
'required' => true,
'description' => 'An array of delivery destination objects.',
'title' => '',
'example' => '',
],
'resourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-ae******ey', 'title' => ''],
'tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'key' => ['description' => 'The key of the resource tag.', 'type' => 'string', 'required' => false, 'example' => '_cms_workspace', 'title' => ''],
'value' => ['description' => 'The value of the resource tag.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
'description' => 'A resource tag, specified as a key-value pair.',
'required' => false,
'title' => '',
'example' => '',
],
'description' => 'An array of resource tags.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The unique ID for the request.', 'type' => 'string', 'title' => '', 'example' => '4CB23A2E-B426-5D4B-9AA2-6C7A508D954B'],
'taskId' => ['description' => 'The ID of the delivery task.', 'type' => 'string', 'example' => '98e367d8fb8cc83b', 'title' => ''],
],
'title' => '',
'description' => 'The data returned in the response.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'CreateDeliveryTask',
'requestParamsDescription' => '### SinkConfigs parameters'."\n"
."\n"
.'**sinkType = Prometheus**'."\n"
."\n"
.'| Key | Required | Description | Example value | Enumerated values |'."\n"
.'| --------------- | -------- | ------------------------------------------------------------------------- | --------------------------- | ---------------------------------------------------------------------------- |'."\n"
.'| Url | Yes | Remote Write endpoint. | `http://xxxx/api/v1/write` | |'."\n"
.'| Network | No | Network type. | `PublicNetwork` | \\- PublicNetwork (public network)<br>\\- PrivateNetwork (private network/VPC) |'."\n"
.'| VpcId | No | VPC ID. Required if `Network` is `PrivateNetwork`. | `vpc-xxxxxx` | |'."\n"
.'| VSwitchId | No | VSwitch ID. | `vsw-xxxxxx` | |'."\n"
.'| SecurityGroupId | No | Security group ID. | `sg-xxxxxx` | |'."\n"
.'| Header | No | Custom HTTP headers, specified as a JSON-formatted map string. | `{"aaa":"bbb","ccc":"ddd"}` | |'."\n"
.'| AuthType | No | Authentication type. | `BasicAuth` | \\- BasicAuth<br>\\- None |'."\n"
.'| Username | No | Username for basic authentication. Required if `AuthType` is `BasicAuth`. | `admin` | |'."\n"
.'| Password | No | Password for basic authentication. Required if `AuthType` is `BasicAuth`. | `xxxxxx` | |'."\n"
."\n"
.'**sinkType = AcsKafka**'."\n"
."\n"
.'| Key | Required | Description | Example value |'."\n"
.'| ---------- | -------- | ------------------ | ---------------- |'."\n"
.'| InstanceId | Yes | Kafka instance ID. | `alikafka_xxxxx` |'."\n"
.'| Topic | Yes | Kafka topic name. | `my-topic` |'."\n"
."\n"
.'**sinkType = AcsMaxCompute**'."\n"
."\n"
.'| Key | Required | Description | Example value |'."\n"
.'| ----------- | -------- | ------------------------ | --------------- |'."\n"
.'| ServiceName | Yes | MaxCompute service name. | `my-mc-service` |',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4CB23A2E-B426-5D4B-9AA2-6C7A508D954B\\",\\n \\"taskId\\": \\"98e367d8fb8cc83b\\"\\n}","type":"json"}]',
],
'CreateEntityStore' => [
'path' => '/workspace/{workspaceName}/entitystore',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceName',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test-001'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'workspaceName' => ['description' => 'The name of the workspace.', 'type' => 'string', 'title' => '', 'example' => 'workspace-test-001'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Create EntityStore',
'summary' => 'Creates storage for an EntityStore.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEntityStore'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreateEntityStore',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'EntityStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/entitystore'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"workspaceName\\": \\"workspace-test-001\\"\\n}","type":"json"}]',
],
'CreateIntegrationPolicy' => [
'summary' => 'Creates an Integration Center policy.',
'path' => '/integration-policies',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'entityGroup' => [
'description' => 'The entity group used to create the policy. You can quickly create a policy using an entity group. The clusterId and vpcId parameters are independent of each other.',
'type' => 'object',
'properties' => [
'clusterEntityType' => ['description' => 'The cluster entity type. Examples: acs.ack.cluster, acs.one.cluster, and acs.asi.cluster.', 'type' => 'string', 'required' => false, 'example' => 'acs.ack.cluster', 'title' => ''],
'clusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'example' => 'na61prod3-na61cloudhdfsssd', 'title' => ''],
'entityUserId' => ['description' => 'The ID of the user who owns the cluster.', 'type' => 'string', 'required' => false, 'example' => '12xxxx', 'title' => ''],
'entityGroupId' => ['description' => 'The entity group ID.', 'type' => 'string', 'required' => false, 'example' => 'eg-b79f65d11fb94e779867cf937c3a3002', 'title' => ''],
'vpcId' => ['description' => 'The virtual private cloud (VPC) ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp18fgg3ffxa9czna40xt', 'title' => ''],
'disablePolicyShare' => ['description' => 'Specifies whether to disable unique policy binding. If this parameter is set to true, you can create multiple policies for a container cluster.', 'type' => 'boolean', 'required' => false, 'example' => 'ture', 'title' => ''],
'clusterNamespace' => ['type' => 'string', 'title' => '', 'description' => '', 'required' => false, 'example' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'policyName' => ['title' => '', 'description' => 'The policy name.', 'type' => 'string', 'required' => false, 'example' => 'prod-database'],
'policyType' => ['title' => '', 'description' => 'The policy type. Valid values: CS, ECS, and Cloud.', 'type' => 'string', 'required' => true, 'example' => 'CS'],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekz2km4kmhtbii', 'title' => ''],
'tags' => [
'description' => 'The resource tags.',
'type' => 'array',
'items' => [
'description' => 'The resource tags.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The key of the tag.', 'type' => 'string', 'required' => false, 'example' => 'use', 'title' => ''],
'value' => ['description' => 'The value of the tag.', 'type' => 'string', 'required' => false, 'example' => 'database', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
'workspace' => ['title' => '', 'description' => 'The workspace.', 'type' => 'string', 'required' => false, 'example' => 'prometheus'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'policy' => [
'description' => 'The upload policy.',
'type' => 'object',
'properties' => [
'entityGroupId' => ['description' => 'The entity group ID.', 'type' => 'string', 'example' => 'eg-b79f65d11fb94e779867cf937c3a3002', 'title' => ''],
'policyId' => ['title' => '', 'description' => 'The policy ID.', 'type' => 'string', 'example' => 'policy-14c8e9a29b0a46da843f8781471062ff'],
'policyName' => ['title' => '', 'description' => 'The policy name.', 'type' => 'string', 'example' => 'metrics-inner-manage'],
'policyType' => ['title' => '', 'description' => 'The policy type.', 'type' => 'string', 'example' => 'CS'],
'regionId' => ['title' => '', 'description' => 'The region.', 'type' => 'string', 'example' => 'cn-heyuan'],
'userId' => ['title' => '', 'description' => 'The user ID.', 'type' => 'string', 'example' => 'u1234567'],
'workspace' => ['title' => '', 'description' => 'The workspace where the policy resides.', 'type' => 'string', 'example' => 'prometheus'],
],
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'CD8BA7D6-995D-578D-9941-78B0FECD14B5'],
'created' => ['description' => 'Indicates whether the policy was created.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"policy\\": {\\n \\"entityGroupId\\": \\"eg-b79f65d11fb94e779867cf937c3a3002\\",\\n \\"policyId\\": \\"policy-14c8e9a29b0a46da843f8781471062ff\\",\\n \\"policyName\\": \\"metrics-inner-manage\\",\\n \\"policyType\\": \\"CS\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"userId\\": \\"u1234567\\",\\n \\"workspace\\": \\"prometheus\\"\\n },\\n \\"requestId\\": \\"CD8BA7D6-995D-578D-9941-78B0FECD14B5\\",\\n \\"created\\": true\\n}","type":"json"}]',
'title' => 'Create Access Center Policy',
'description' => 'This operation creates an event integration.',
'changeSet' => [
['createdAt' => '2025-10-28T08:08:20.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2025-10-13T07:13:42.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIntegrationPolicy'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreateIntegrationPolicy',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreateMemoryStore' => [
'path' => '/workspace/{workspace}/memorystore',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'autoTest' => true],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'memoryStoreName' => ['description' => 'The name of the MemoryStore. The name must be unique within the workspace.', 'type' => 'string', 'required' => true, 'example' => 'test-memory-store', 'title' => ''],
'description' => ['description' => 'The description of the MemoryStore.', 'type' => 'string', 'required' => false, 'example' => 'Test memory store for demonstration.', 'title' => ''],
'shortTermTtl' => ['description' => 'The short-term TTL, which is the number of conversation rounds to retain.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
'extractionStrategies' => [
'description' => 'The extraction strategies to use. Valid values include `Episodic`, `Summary`, and `Fact`.',
'type' => 'array',
'items' => ['description' => 'An extraction strategy.', 'type' => 'string', 'required' => false, 'example' => 'Fact', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'customExtractionStrategies' => [
'description' => 'A list of custom extraction strategies.',
'type' => 'array',
'items' => ['description' => 'A custom extraction strategy.', '$ref' => '#/components/schemas/CustomExtractionStrategy', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'sourceType' => ['description' => 'The source type of the memory. Valid values are `None` and `Trace`.', 'type' => 'string', 'example' => 'None/Trace', 'title' => ''],
'traceSourceConfig' => [
'type' => 'object',
'properties' => [
'workspace' => ['description' => 'The name of the workspace that contains the trace source.', 'type' => 'string', 'example' => 'test-workspace', 'title' => ''],
'query' => ['description' => 'The query to filter traces.', 'type' => 'string', 'example' => '(serviceName : "langchain-rag" or serviceName : "agentscope-code-correction") and hostname = frontend-proxy-999c48c8d-hvk6c ', 'title' => ''],
'includeOutput' => ['description' => 'Specifies whether to include the output in the trace.', 'type' => 'boolean', 'title' => '', 'example' => ''],
],
'description' => 'Configuration for the trace source. Required if `sourceType` is `Trace`.',
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response data.',
'title' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'ID of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Create a memory store',
'summary' => 'Creates a MemoryStore.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreateMemoryStore',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'MemoryStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'CreatePipeline' => [
'path' => '/workspace/{workspace}/pipeline',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'workspace-test'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'pipelineName' => ['description' => 'The pipeline name.', 'type' => 'string', 'required' => false, 'example' => 'pipeline-name-1', 'title' => ''],
'description' => ['description' => 'The pipeline description.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'pipeline' => [
'type' => 'object',
'properties' => [
'nodes' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'id' => ['description' => 'The node ID.', 'type' => 'string', 'required' => false, 'example' => 'node_1', 'title' => ''],
'type' => ['description' => 'The node type.', 'type' => 'string', 'required' => false, 'example' => 'dedup-fuzzy', 'title' => ''],
'parameters' => [
'type' => 'object',
'additionalProperties' => ['description' => 'A key-value map of the node parameters.', 'type' => 'any', 'example' => '{'."\n"
.' "output": "ID,key_0,key_2,key_3,key_4",'."\n"
.' "workspace": "workspace-test-dataset",'."\n"
.' "field": "key_0",'."\n"
.' "global": true,'."\n"
.' "dataset": "dataset_1"'."\n"
.' }', 'title' => ''],
'description' => 'The node parameters.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'A node object.',
'required' => false,
'title' => '',
'example' => '',
],
'description' => 'The pipeline nodes.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The pipeline configuration.',
'required' => false,
'title' => '',
'example' => '',
],
'source' => [
'type' => 'object',
'properties' => [
'type' => ['description' => 'The data source type.', 'type' => 'string', 'required' => false, 'example' => 'logstore', 'title' => ''],
'logstore' => [
'type' => 'object',
'properties' => [
'project' => ['description' => 'The Log Service Project name.', 'type' => 'string', 'required' => false, 'example' => 'test-project', 'title' => ''],
'logstore' => ['description' => 'The Logstore name.', 'type' => 'string', 'required' => false, 'example' => 'test-logstore', 'title' => ''],
'query' => ['description' => 'The query statement to filter logs.', 'type' => 'string', 'required' => false, 'example' => 'status:500 and method:GET', 'title' => ''],
],
'description' => 'The Log Service Logstore configuration. This parameter is required when `source.type` is set to `logstore`.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The data source.',
'required' => false,
'title' => '',
'example' => '',
],
'sink' => [
'type' => 'object',
'properties' => [
'type' => ['description' => 'The sink type.', 'type' => 'string', 'required' => false, 'example' => 'dataset', 'title' => ''],
'dataset' => [
'type' => 'object',
'properties' => [
'workspace' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => false, 'example' => 'workspace-test', 'title' => ''],
'dataset' => ['description' => 'The dataset name.', 'type' => 'string', 'required' => false, 'example' => 'dataset_1', 'title' => ''],
],
'description' => 'The destination dataset configuration. This parameter is required when `sink.type` is set to `dataset`.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The data sink for the processed output.',
'required' => false,
'title' => '',
'example' => '',
],
'executePolicy' => [
'type' => 'object',
'properties' => [
'mode' => ['description' => 'The execution mode. Set to `runOnce` for a single execution, or `scheduled` for a recurring execution.', 'type' => 'string', 'required' => false, 'example' => 'runOnce', 'title' => ''],
'runOnce' => [
'type' => 'object',
'properties' => [
'fromTime' => ['description' => 'The start timestamp.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1772519013', 'title' => ''],
'toTime' => ['description' => 'The end timestamp.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1772519013', 'title' => ''],
],
'description' => 'The configuration for a one-time execution. This parameter is required when `executePolicy.mode` is set to `runOnce`.',
'required' => false,
'title' => '',
'example' => '',
],
'scheduled' => [
'type' => 'object',
'properties' => [
'interval' => ['description' => 'The execution interval in seconds.', 'type' => 'string', 'required' => false, 'example' => '86400', 'title' => ''],
'fromTime' => ['description' => 'The start timestamp.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1772519013', 'title' => ''],
],
'description' => 'The configuration for a scheduled execution. This parameter is required when `executePolicy.mode` is set to `scheduled`.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The execution policy.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0CEC5375-C554-562B-A65F-***'],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'CreatePipeline',
'summary' => 'Create a pipeline.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-***\\"\\n}","type":"json"}]',
],
'CreatePrometheusInstance' => [
'summary' => 'Creates a Managed Service for Prometheus instance.',
'path' => '/prometheus-instances',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request struct.',
'type' => 'object',
'properties' => [
'archiveDuration' => [
'title' => '',
'description' => 'The number of days that data is automatically archived after the storage period expires. A value of 0 indicates that data is not archived. Valid values for the archive duration:'."\n"
.'* V1: 60 to 365 days.'."\n"
.'* V2: 60 to 3650 days (3650 indicates permanent retention).',
'type' => 'integer',
'format' => 'int32',
'enum' => [],
'required' => false,
'example' => '60',
],
'authFreeReadPolicy' => ['description' => 'The authentication-free read policy. IP CIDR blocks and VPC IDs are supported.', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
.' "SourceIp": ['."\n"
.' "192.168.1.0/24",'."\n"
.' "172.168.2.22"'."\n"
.' ],'."\n"
.' "SourceVpc": ['."\n"
.' "vpc-xx1",'."\n"
.' "vpc-xx2"'."\n"
.' ]'."\n"
.'}', 'title' => ''],
'authFreeWritePolicy' => ['description' => 'The authentication-free write policy.', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
.' "SourceIp": ['."\n"
.' "192.168.1.0/24",'."\n"
.' "172.168.2.22"'."\n"
.' ],'."\n"
.' "SourceVpc": ['."\n"
.' "vpc-xx1",'."\n"
.' "vpc-xx2"'."\n"
.' ]'."\n"
.'}', 'title' => ''],
'enableAuthFreeRead' => ['description' => 'Specifies whether to enable authentication-free read. This parameter is supported only for V2 instances.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'enableAuthFreeWrite' => ['description' => 'Specifies whether to enable authentication-free write. This parameter is supported only for V2 instances.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'enableAuthToken' => ['description' => 'Specifies whether to enable the authorization token. This parameter is supported only for V1 instances.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'prometheusInstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'required' => true, 'example' => 'name1', 'title' => ''],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekz5qqvjyatgoy', 'title' => ''],
'status' => [
'description' => 'The instance status.',
'enumValueTitles' => ['Running' => 'Running', 'Stoped' => 'Stoped'],
'type' => 'string',
'default' => 'Running',
'enum' => ['Running'],
'required' => false,
'example' => 'Running',
'title' => '',
],
'storageDuration' => [
'title' => '',
'description' => 'The storage duration (in days):'."\n"
.'* By write volume: 90 or 180.'."\n"
.'* By metric reporting volume: 15, 30, 60, 90, or 180.',
'enumValueTitles' => [15 => '15 days.', 30 => '30 days.', 60 => '60 days.', 90 => '90 days.', 180 => '180 days.'],
'type' => 'integer',
'format' => 'int32',
'enum' => ['15', '30', '60', '90', '180'],
'required' => false,
'example' => '90',
],
'tags' => [
'description' => 'The tags.',
'type' => 'array',
'items' => [
'description' => 'The tags.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key1', 'title' => ''],
'value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => '110109200001214284', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
'workspace' => ['title' => '', 'description' => 'The workspace to which the instance belongs. Default value: default-cms-{userId}-{regionId}.', 'type' => 'string', 'required' => false, 'example' => 'wokspace1'],
'paymentType' => [
'title' => '',
'description' => 'The billable methods. Valid values:'."\n"
.'* POSTPAY: pay-as-you-go by metric reporting volume.'."\n"
.'* POSTPAY_GB: pay-as-you-go by metric write volume.'."\n"
.'If this parameter is left empty, the default billing method configured by the user is used. If the user has not configured a default billing method, the system uses pay-as-you-go by metric reporting volume.',
'enumValueTitles' => ['POSTPAY' => 'reporting volume.', 'POSTPAY_GB' => 'write volume.'],
'type' => 'string',
'enum' => ['POSTPAY', 'POSTPAY_GB'],
'required' => false,
'example' => 'POSTPAY',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'prometheusInstanceId' => ['title' => '', 'description' => 'The instance ID.', 'type' => 'string', 'example' => 'rw-abc123'],
'requestId' => ['description' => 'Id of the request', 'type' => 'string', 'example' => '264C3E89-BE6E-5F82-A484-CE9C2196C7DC', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"prometheusInstanceId\\": \\"rw-abc123\\",\\n \\"requestId\\": \\"264C3E89-BE6E-5F82-A484-CE9C2196C7DC\\"\\n}","type":"json"}]',
'title' => 'Create a prometheus instance',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePrometheusInstance'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreatePrometheusInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'PrometheusInstance', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusinstance/*'],
],
],
],
],
],
'CreatePrometheusView' => [
'summary' => 'Creates a Prometheus view.',
'path' => '/prometheus-views',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'authFreeReadPolicy' => ['description' => 'Not in use.', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
.' "SourceIp": ['."\n"
.' "192.168.1.0/24",'."\n"
.' "172.168.2.22"'."\n"
.' ],'."\n"
.' "SourceVpc": ['."\n"
.' "vpc-xx1",'."\n"
.' "vpc-xx2"'."\n"
.' ]'."\n"
.'}', 'title' => ''],
'enableAuthFreeRead' => ['title' => '', 'description' => 'Specifies whether anonymous read is supported.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
'enableAuthToken' => ['title' => '', 'description' => 'Specifies whether authToken is supported.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
'prometheusInstances' => [
'description' => 'The list of Prometheus instances.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'prometheusInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'arms-1d581fac20a462dcde743d9628', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-wulanchabu', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'required' => false, 'example' => '167271234567890', 'title' => ''],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
'prometheusViewName' => ['description' => 'The Prometheus view name.', 'type' => 'string', 'required' => true, 'example' => 'test-prom-view-name', 'title' => ''],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm3gn5i6bigbi', 'title' => ''],
'status' => [
'description' => 'Not in use.',
'enumValueTitles' => ['Running' => 'Running.'],
'type' => 'string',
'default' => 'Running',
'enum' => ['Running'],
'required' => false,
'example' => 'null',
'title' => '',
],
'tags' => [
'description' => 'The tags.',
'type' => 'array',
'items' => [
'description' => 'The tag key.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'test-key', 'title' => ''],
'value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'test-value', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
'version' => [
'title' => '',
'description' => 'Valid values:'."\n"
.'- V1: legacy version'."\n"
.'- V2: new version.',
'enumValueTitles' => ['V1' => 'V1 version.', 'V2' => 'V2 version.'],
'type' => 'string',
'required' => true,
'enum' => ['V1', 'V2'],
'example' => 'V2',
],
'workspace' => ['title' => '', 'description' => 'Default value: default-cms-{userId}-{regionId}.', 'type' => 'string', 'required' => false, 'example' => 'cms-monitor-test-aysls-pub-cn-zhangjiakou-spe-monitor'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'prometheusViewId' => ['description' => 'The Prometheus view ID.', 'type' => 'string', 'example' => 'cd5237f7dbd574cf9bbd648ff9efb16cd', 'title' => ''],
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"prometheusViewId\\": \\"cd5237f7dbd574cf9bbd648ff9efb16cd\\",\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
'title' => 'Create a prometheus view',
'description' => 'Creates a site monitoring task.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePrometheusView'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreatePrometheusView',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'PrometheusView', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusview/*'],
],
],
],
],
],
'CreatePrometheusVirtualInstance' => [
'path' => '/virtual-instances',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'namespace' => ['title' => '每个云产品在每个Regin只能创建一个虚拟实例', 'description' => 'Each cloud product supports only one virtual instance per region.', 'type' => 'string', 'required' => true, 'example' => 'cms_prometheus'],
'tenantId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'type' => 'string', 'example' => '0B9377D9-C56B-5C2E-A8A4-************', 'title' => ''],
'instance' => [
'title' => '实例ID',
'description' => 'The instance.',
'type' => 'object',
'properties' => [
'instanceId' => ['title' => '地域ID', 'description' => 'The instance ID.', 'type' => 'string', 'example' => 'rw-e815960b4c9ebc5c3d89790c7e82'],
'regionId' => ['title' => '用户ID', 'description' => 'Region ID', 'type' => 'string', 'example' => 'cn-zhengzhou-jva'],
'userId' => ['title' => '用户ID', 'description' => 'The user ID.', 'type' => 'string', 'example' => '167212345678'],
'namespace' => ['title' => '云产品', 'description' => 'The cloud product.', 'type' => 'string', 'example' => 'ack-csi-fuse'],
'httpApiUrl' => ['title' => 'HTTP API查询地址', 'description' => 'The HTTP API query URL.', 'type' => 'string', 'example' => 'http://xxxxxxx'],
'createdAt' => ['title' => '创建时间', 'description' => 'The time when the instance was created.', 'type' => 'string', 'example' => '1751520976660'],
],
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Create Prometheus Monitoring Virtual Instance',
'summary' => 'Creates a virtual instance for Prometheus monitoring.',
'description' => 'Creates a virtual instance for Prometheus monitoring.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePrometheusVirtualInstance'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreatePrometheusVirtualInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0B9377D9-C56B-5C2E-A8A4-************\\",\\n \\"instance\\": {\\n \\"instanceId\\": \\"rw-e815960b4c9ebc5c3d89790c7e82\\",\\n \\"regionId\\": \\"cn-zhengzhou-jva\\",\\n \\"userId\\": \\"167212345678\\",\\n \\"namespace\\": \\"ack-csi-fuse\\",\\n \\"httpApiUrl\\": \\"http://xxxxxxx\\",\\n \\"createdAt\\": \\"1751520976660\\"\\n }\\n}","type":"json"}]',
],
'CreateService' => [
'summary' => 'Creates a service for application observability.',
'path' => '/workspace/{workspace}/service',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'serviceName' => ['description' => 'The service name.', 'type' => 'string', 'required' => true, 'example' => 'mag_test', 'title' => ''],
'serviceType' => [
'description' => 'The service type.',
'enumValueTitles' => ['TRACE' => 'application performance monitoring', 'RUM' => 'Real User Monitoring', 'XTRACE' => 'OpenTelemetry Tracing Analysis'],
'type' => 'string',
'required' => true,
'example' => 'TRACE',
'title' => '',
],
'displayName' => ['description' => 'The display name. This parameter is valid only when serviceType is set to RUM.', 'type' => 'string', 'example' => 'Mag test application', 'title' => '', 'required' => false],
'description' => ['description' => 'The service description. This parameter is valid only when serviceType is set to RUM.', 'type' => 'string', 'example' => 'Mag test application', 'title' => '', 'required' => false],
'attributes' => ['description' => 'The extended properties.', 'type' => 'string', 'example' => '{"language":"java"}', 'title' => '', 'required' => false],
'serviceStatus' => ['description' => 'The service status. Do not specify this parameter when you create a service.', 'type' => 'string', 'example' => 'Created', 'title' => '', 'required' => false],
'pid' => ['description' => 'The application ID. You do not typically need to specify this parameter.', 'type' => 'string', 'example' => 'bx3udsi5ie@ed2ba6beebdb6de', 'title' => '', 'required' => false],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-xxxxxxx', 'title' => '', 'required' => false],
'tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'key' => ['description' => 'The `key` of the tag.', 'type' => 'string', 'example' => 'env', 'title' => '', 'required' => false],
'value' => ['description' => 'The `value` of the tag.', 'type' => 'string', 'example' => 'prod', 'title' => '', 'required' => false],
],
'description' => 'A tag.',
'title' => '',
'required' => false,
'example' => '',
],
'description' => 'An array of tags.',
'title' => '',
'example' => '',
'required' => false,
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'default-cms-1793369865235921-cn-shenzhen', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '3A2FA9E9-9CF1-5CB1-A808-52828F14310D', 'title' => ''],
'serviceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'cwzxvuc6uo@4bc6b15ad81f166174ffb', 'title' => ''],
'pid' => ['description' => 'The ID of the ARMS application for backward compatibility.', 'type' => 'string', 'example' => 'cwzxvuc6uo@d60088ad4797d26', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3A2FA9E9-9CF1-5CB1-A808-52828F14310D\\",\\n \\"serviceId\\": \\"cwzxvuc6uo@4bc6b15ad81f166174ffb\\",\\n \\"pid\\": \\"cwzxvuc6uo@d60088ad4797d26\\"\\n}","type":"json"}]',
'title' => 'Create Application Observability Service',
'requestParamsDescription' => 'For the attributes extended property, you can specify the language property. If serviceType is set to TRACE, valid values for language are java, python, and golang. If serviceType is set to XTRACE, see the open source specifications at https\\://opentelemetry.io/docs/specs/semconv/registry/attributes/telemetry/ for valid language values.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateService'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreateService',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Service', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/service/*'],
],
],
],
],
'translator' => 'manual',
],
'CreateServiceObservability' => [
'summary' => 'Creates application observability and prepares the prerequisite resources required for integration.',
'path' => '/workspace/{workspace}/service-observability/{type}',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'example' => 'default-cms-1654218965343050-cn-hangzhou', 'title' => ''],
],
[
'name' => 'type',
'in' => 'path',
'schema' => [
'description' => 'The type of application observability.',
'enumValueTitles' => ['rum' => 'Real User Monitoring', 'apm' => 'Application Performance Monitoring'],
'type' => 'string',
'required' => true,
'example' => 'apm',
'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Create application observability',
'extraInfo' => 'Description:'."\n"
."\n"
.'- Resource initialization involves multiple actions and may incur a delay. The API call only needs to be initiated successfully. You can call GetServiceObservability to check the status; if status returns running, the resource initialization is successful.'."\n"
."\n"
.'- Application Performance Monitoring (APM), OpenTelemetry tracing, and Real User Monitoring (RUM) require separate resource initialization.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreateServiceObservability',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Workspace', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service-observability/{#type}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'CreateServiceRecord' => [
'path' => '/workspace/{workspace}/service/{serviceId}/record',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'serviceId',
'in' => 'path',
'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'em87vd@c2e25bcfe0e21ce0***', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'allowEmptyValue' => false,
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'recordType' => [
'title' => '',
'description' => 'The type of the linked entry. Valid values:'."\n"
.'- logCorrelation: application log association.',
'type' => 'string',
'required' => true,
'enum' => ['logCorrelation'],
'example' => 'logCorrelation',
],
'recordContent' => ['title' => '', 'description' => 'The entry content in JSON string format. The format may vary depending on the value of recordType.', 'type' => 'string', 'required' => true, 'example' => '{'."\n"
.' "project": "proj-xtrace-16c988dcfe21fcb73c5e6f234927d998-cn-hangzhou",'."\n"
.' "storeName": "app-biz-log",'."\n"
.' "regionId": "cn-hangzhou",'."\n"
.' "bindType": "logstore",'."\n"
.' "traceIdRelateField": ""'."\n"
.'}'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Create a service-linked entry',
'summary' => 'Creates a service-linked entry for associating configurations with the application monitoring service, such as log association.',
'extraInfo' => 'When recordType is set to logCorrelation, two log binding types are supported:'."\n"
.'- bindType=logstore: indicates a Logstore.'."\n"
.'- bindType=storeview: indicates a StoreView.'."\n"
."\n"
.'Ensure that the storage corresponding to the specified project and storeName values exists.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'CreateTicket' => [
'summary' => 'To share a console page or embed it into a third-party system without requiring a password, you can call the CreateTicket operation to generate a ticket. You can then use the ticket to create a password-free link.',
'path' => '/tickets',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'expirationTime',
'in' => 'query',
'schema' => ['description' => '- The expiration time of the URL for the embedded page, in seconds. The value can range from 0 to 2,592,000 seconds (30 days). The default value is 86,400 seconds (one day).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '86400'],
],
[
'name' => 'accessTokenExpirationTime',
'in' => 'query',
'schema' => ['description' => '- The expiration time of the access token, in seconds. This is the period during which a user can access the page APIs. The value can range from 0 to 86,400 seconds (one day). The default value is 86,400 seconds (one day).'."\n"
."\n"
.'- The effective expiration time of the access token is the minimum value of accessTokenExpirationTime and expirationTime.'."\n"
."\n"
.'- If you call the operation using a Security Token Service (STS) token, the effective expiration time of the access token is the minimum value of accessTokenExpirationTime, expirationTime, and the expiration time of the STS token.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '600'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'ticket' => ['title' => 'Id of the request', 'description' => 'The password-free ticket.', 'type' => 'string', 'example' => 'eyJ***************.eyJ******************.KUT****************'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ticket\\": \\"eyJ***************.eyJ******************.KUT****************\\"\\n}","type":"json"}]',
'title' => 'Create Login-free Ticket',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTicket'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreateTicket',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreateUmodel' => [
'summary' => 'Creates a Umodel configuration.',
'path' => '/workspace/{workspace}/umodel',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'The description of the Umodel.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'workspace test'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '123-0F43-23423-AC43-34234'],
'workspace' => ['description' => 'The name of the workspace.', 'type' => 'string', 'title' => '', 'example' => 'workspace-test'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"123-0F43-23423-AC43-34234\\",\\n \\"workspace\\": \\"workspace-test\\"\\n}","type":"json"}]',
'title' => 'Create Umodel',
'description' => 'Creates a Umodel configuration in a specified workspace.',
'changeSet' => [
['createdAt' => '2025-08-12T02:41:41.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUmodel'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:CreateUmodel',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Umodel', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel'],
],
],
],
],
],
'DeleteAddonRelease' => [
'summary' => 'Deletes add-on release information.',
'path' => '/integration-policies/{policyId}/addon-releases',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'releaseName',
'in' => 'query',
'schema' => ['title' => 'AddonRelease 的名称。', 'description' => 'The name of the AddonRelease.', 'type' => 'string', 'required' => false, 'example' => 'test-gpu-integration-name'],
],
[
'name' => 'force',
'in' => 'query',
'schema' => [
'title' => '是否硬性删除,默认 false。',
'description' => 'Specifies whether to forcibly delete the add-on release. The default value is false.',
'type' => 'boolean',
'required' => false,
'enumValueTitles' => ['true' => 'Yes', 'false' => 'No'],
'example' => 'false',
],
],
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['title' => '环境 ID。', 'description' => 'The environment ID.', 'type' => 'string', 'required' => true, 'example' => 'policy-xxxxxxxxxxxxx'],
],
[
'name' => 'addonName',
'in' => 'query',
'schema' => ['title' => 'Addon 名称,当 AddonName 赋值时,将忽略 ReleaseName 参数批量卸载所属于同一个 Addon 的所有 AddonRelease。', 'description' => 'The name of the add-on. If you specify this parameter, the ReleaseName parameter is ignored and all AddonReleases that belong to the add-on are uninstalled in a batch.', 'type' => 'string', 'required' => false, 'example' => 'cs-gpu'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['title' => '请求 ID。', 'description' => 'The request ID.', 'type' => 'string', 'example' => '264C3E89-BE6E-5F82-A484-CE9C2196C7DC'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-BE6E-5F82-A484-CE9C2196C7DC\\"\\n}","type":"json"}]',
'title' => 'Uninstall Access Component',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAddonRelease'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeleteAddonRelease',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'AddonRelease', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#PolicyId}/addonrelease/*'],
],
],
],
],
],
'DeleteAggTaskGroup' => [
'summary' => 'Deletes an aggregation task group.',
'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
'schema' => ['title' => '聚合任务组所属的 Prometheus 实例的 id,聚合任务从这个实例中读取数据', 'description' => 'The ID of the Prometheus instance from which the aggregation task reads data.', 'type' => 'string', 'required' => true, 'example' => 'rw-pq4apob9jm'],
],
[
'name' => 'groupId',
'in' => 'path',
'schema' => ['title' => '聚合任务组 id', 'description' => 'The ID of the aggregation task group.', 'type' => 'string', 'required' => true, 'example' => 'aggTaskGroup-xxx'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '出参结构体',
'description' => 'The response parameter struct.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '请求 id', 'description' => 'The request ID.', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\"\\n}","type":"json"}]',
'title' => 'Delete Aggregation Task Group',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAggTaskGroup'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeleteAggTaskGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'AggTaskGroup', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}/aggtaskgroup/{#aggTaskGroupId}'],
],
],
],
],
],
'DeleteAlertWebhooks' => [
'path' => '/webhooks',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'webhookIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'Unique webhook identifiers.',
'type' => 'array',
'items' => ['description' => 'Unique webhook identifier.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'required' => true,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Response structure',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'E5B1D3D4-BB28-5996-8AD2-***********'],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => '%s is missing or invalid.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeleteAlertWebhooks',
'summary' => 'Deletes one or more alert webhooks.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E5B1D3D4-BB28-5996-8AD2-***********\\"\\n}","type":"json"}]',
],
'DeleteBizTrace' => [
'path' => '/bizTrace/{bizTraceId}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'bizTraceId',
'in' => 'path',
'schema' => ['description' => 'The ID of the business trace.', 'type' => 'string', 'required' => false, 'example' => 'e339260ed64c95d', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'title' => '',
'description' => 'The response schema.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeleteBizTrace',
'summary' => 'Deletes a business trace.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeleteBizTrace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'BizTrace', 'arn' => 'acs:cms:{#regionId}:{#accountId}:biztrace/{#BizTraceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'DeleteCloudResource' => [
'path' => '/cloudresource',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeleteCloudResource',
'summary' => 'Deletes a cloud resource.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeleteCloudResource',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'CloudResource', 'arn' => 'acs:cms:{#regionId}:{#accountId}:cloudresource'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\"\\n}","type":"json"}]',
],
'DeleteContext' => [
'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/{contextId}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'path',
'schema' => ['description' => 'The name of the context store.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-context-store', 'title' => ''],
],
[
'name' => 'contextId',
'in' => 'path',
'schema' => ['description' => 'The unique identifier of the context. This can be a generated record ID or event ID.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'example' => '897294a7-67a4-4f60-976c-e136edc5f97e', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E5B1D3D4-BB28-5996-8AD2-***********', 'title' => ''],
'contextId' => ['description' => 'The unique identifier of the deleted context.', 'type' => 'string', 'example' => '897294a7-67a4-4f60-976c-e136edc5f97e', 'title' => ''],
'status' => ['description' => 'The deletion status. For example, deleted.', 'type' => 'string', 'example' => 'deleted', 'title' => ''],
],
'description' => 'The response data.',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeleteContext',
'summary' => 'Deletes a context.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E5B1D3D4-BB28-5996-8AD2-***********\\",\\n \\"contextId\\": \\"897294a7-67a4-4f60-976c-e136edc5f97e\\",\\n \\"status\\": \\"deleted\\"\\n}","type":"json"}]',
],
'DeleteContextStore' => [
'summary' => 'Deletes a context store.',
'path' => '/workspace/{workspace}/contextstore/{contextStoreName}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'path',
'schema' => ['description' => 'The context store name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-context-store', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****', 'title' => ''],
],
'description' => 'The response data.',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeleteContextStore',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'DeleteContextStoreAPIKey' => [
'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/apikey/{name}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => false, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'path',
'schema' => ['description' => 'The context store name.', 'type' => 'string', 'required' => false, 'example' => 'test-context-store', 'title' => ''],
],
[
'name' => 'name',
'in' => 'path',
'schema' => ['description' => 'The API key\'s display name, which identifies its purpose.', 'type' => 'string', 'required' => false, 'example' => 'Production Service Key', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeleteContextStoreAPIKey',
'summary' => 'Deletes an API key.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\"\\n}","type":"json"}]',
],
'DeleteContexts' => [
'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'path',
'schema' => ['description' => 'The name of the ContextStore.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'title' => '', 'example' => 'test-context-store'],
],
[
'name' => 'contextIds',
'in' => 'query',
'schema' => ['description' => 'A comma-separated list of context IDs.', 'type' => 'string', 'example' => 'mem_long_01,mem_long_02', 'title' => '', 'required' => false],
],
[
'name' => 'filter',
'in' => 'query',
'schema' => ['description' => 'The filter condition, specified as a JSON string in the query. The syntax is the same as the `filter` parameter of the `SearchContext` operation.', 'type' => 'string', 'example' => '{"userId":"u-10001"}', 'title' => '', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****', 'title' => ''],
'deletedCount' => ['description' => 'The number of deleted contexts.', 'type' => 'integer', 'format' => 'int32', 'example' => '55', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeleteContexts',
'summary' => 'Deletes contexts in bulk.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"deletedCount\\": 55\\n}","type":"json"}]',
],
'DeleteDataset' => [
'summary' => 'Deletes a dataset.',
'path' => '/workspace/{workspace}/dataset/{datasetName}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'datasetName',
'in' => 'path',
'schema' => ['description' => 'The name of the dataset.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test_dataset', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0CEC5375-C554-562B-A65F-9A629907C1F0'],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeleteDataset',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-9A629907C1F0\\"\\n}","type":"json"}]',
],
'DeleteDeliveryTask' => [
'summary' => 'Deletes a delivery task.',
'path' => '/delivery-task/{taskId}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'paid', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'taskId',
'in' => 'path',
'schema' => ['description' => 'The delivery task ID.', 'type' => 'string', 'required' => true, 'example' => '98e367d8fb8cc83b', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'title' => '',
'description' => 'The response object.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeleteDeliveryTask',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'DeleteEntityStore' => [
'path' => '/workspace/{workspaceName}/entitystore',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceName',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test-001'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Delete EntityStore',
'summary' => 'Deletes an EntityStore.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEntityStore'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeleteEntityStore',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'EntityStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspaceName}/entitystore'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\"\\n}","type":"json"}]',
],
'DeleteIntegrationPolicy' => [
'path' => '/integration-policies/{policyId}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'force',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to force delete the cloud native appliance.'."\n"
.'Default: `false`.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
],
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['description' => 'The policy ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'policy-273c360bed1948818c5fb861886bc405'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CD8BA7D6-995D-578D-9941-78B0FECD14B5'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Delete Access Center Policy',
'summary' => 'Deletes an Integration Center policy.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIntegrationPolicy'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeleteIntegrationPolicy',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'IntegrationPolicy', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"CD8BA7D6-995D-578D-9941-78B0FECD14B5\\"\\n}","type":"json"}]',
],
'DeleteMemories' => [
'summary' => 'Deletes memories based on filter properties. You must set at least one filter property. If no filter properties are set, a validation error is returned.',
'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'default-cms-1793369865235921-cn-shenzhen', 'title' => ''],
],
[
'name' => 'memoryStoreName',
'in' => 'path',
'schema' => ['description' => 'The name of the memory store.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-memory-store', 'title' => ''],
],
[
'name' => 'agentId',
'in' => 'query',
'schema' => ['description' => 'The agent ID of the application.', 'type' => 'string', 'required' => false, 'example' => '952730733889060865', 'title' => ''],
],
[
'name' => 'userId',
'in' => 'query',
'schema' => ['description' => 'The user ID.', 'type' => 'string', 'required' => false, 'example' => 'test_user_001', 'title' => ''],
],
[
'name' => 'runId',
'in' => 'query',
'schema' => ['description' => 'The run ID.', 'type' => 'string', 'required' => false, 'example' => 'jr-dd7c645fd6fe50d4', 'title' => ''],
],
[
'name' => 'appId',
'in' => 'query',
'schema' => ['description' => 'The application ID.', 'type' => 'string', 'required' => false, 'example' => '98ea19fe-128b-4841-b318-0359bec3c65d', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeleteMemories',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'DeleteMemory' => [
'summary' => 'Deletes a memory.',
'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'default-cms-xxxxxx-cn-beijing', 'title' => ''],
],
[
'name' => 'memoryStoreName',
'in' => 'path',
'schema' => ['description' => 'The name of the memory store.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-memory-store', 'title' => ''],
],
[
'name' => 'memoryId',
'in' => 'path',
'schema' => ['description' => 'The ID of the memory.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'example' => '019ca1e5-7307-7d50-b943-5e628326a8ed', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0B9377D9-C56B-5C2E-A8A4-************'],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeleteMemory',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0B9377D9-C56B-5C2E-A8A4-************\\"\\n}","type":"json"}]',
],
'DeleteMemoryStore' => [
'summary' => 'Deletes a Memory Store.',
'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the Workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'memoryStoreName',
'in' => 'path',
'schema' => ['description' => 'The name of the Memory Store.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-memory-store', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response data.',
'title' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'ID of the request', 'description' => 'The Request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Delete a memory store',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeleteMemoryStore',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'MemoryStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'DeletePipeline' => [
'path' => '/workspace/{workspace}/pipeline/{pipelineName}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'workspace-test'],
],
[
'name' => 'pipelineName',
'in' => 'path',
'schema' => ['description' => 'The name of the pipeline.', 'type' => 'string', 'required' => false, 'example' => 'pipeline-name-1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'CD8BA7D6-995D-578D-9941-78B0FECD14B5'],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeletePipeline',
'summary' => 'Deletes a pipeline.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"CD8BA7D6-995D-578D-9941-78B0FECD14B5\\"\\n}","type":"json"}]',
],
'DeletePrometheusInstance' => [
'path' => '/prometheus-instances/{prometheusInstanceId}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'prometheusInstanceId',
'in' => 'path',
'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'rw-abc123'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Delete Prometheus Instance',
'summary' => 'Deletes a Prometheus instance.',
'description' => 'Deletes a Prometheus instance.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePrometheusInstance'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeletePrometheusInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'PrometheusInstance', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#prometheusInstanceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'DeletePrometheusView' => [
'path' => '/prometheus-views/{prometheusViewId}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'prometheusViewId',
'in' => 'path',
'schema' => ['description' => 'The ID of the Prometheus view.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'rw-xxxxxx'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response schema.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '0CEC5375-C554-562B-A65F-9A629907C1F0'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Delete prometheus view instance.',
'summary' => 'Deletes a Prometheus view instance.',
'description' => 'Deletes a Prometheus view instance.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePrometheusView'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeletePrometheusView',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'PrometheusView', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusview/{#prometheusViewId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-9A629907C1F0\\"\\n}","type":"json"}]',
],
'DeletePrometheusVirtualInstance' => [
'summary' => 'Deletes a Prometheus virtual instance by its ID.',
'path' => '/virtual-instances/{prometheusInstanceId}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'prometheusInstanceId',
'in' => 'path',
'schema' => ['description' => 'The ID of the Prometheus virtual instance.', 'type' => 'string', 'required' => false, 'example' => 'virtual-xxxxxxxxxxxxxxxx', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DeletePrometheusVirtualInstance',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'DeleteService' => [
'summary' => 'Deletes an Application Monitoring service.',
'path' => '/workspace/{workspace}/service/{serviceId}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'serviceId',
'in' => 'path',
'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'cwzxvuc6uo@4bc6b15ad81f166174ffb', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '51B6A3E8-EA9E-5143-BE11-8E5F83474C95', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Delete Application Observability Service',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteService'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeleteService',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Service', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/service/{#ServiceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"51B6A3E8-EA9E-5143-BE11-8E5F83474C95\\"\\n}","type":"json"}]',
],
'DeleteServiceRecord' => [
'path' => '/workspace/{workspace}/service/{serviceId}/record',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'default-cms-1654218***343050-cn-hangzhou', 'title' => ''],
],
[
'name' => 'serviceId',
'in' => 'path',
'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'cwzxvuc6uo@4bc6b15ad81f166174ffb', 'title' => ''],
],
[
'name' => 'recordType',
'in' => 'query',
'schema' => [
'title' => '',
'description' => 'The type of the association entry. Valid values:'."\n"
.'logCorrelation: application log association',
'type' => 'string',
'required' => true,
'enum' => ['logCorrelation'],
'example' => 'logCorrelation',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Delete a service association entry',
'summary' => 'Deletes a service association entry.',
'description' => 'Deletes a created service association entry.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\"\\n}","type":"json"}]',
],
'DeleteUmodel' => [
'summary' => 'Deletes a Umodel configuration.',
'path' => '/workspace/{workspace}/umodel',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '123123-3213-345-9941-345345345'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"123123-3213-345-9941-345345345\\"\\n}","type":"json"}]',
'title' => 'Delete Umodel',
'description' => 'Deletes a Umodel from a specified workspace.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUmodel'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeleteUmodel',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Umodel', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel'],
],
],
],
],
],
'DeleteUmodelCommonSchemaRef' => [
'summary' => 'Deletes a public Umodel schema reference.',
'path' => '/workspace/{workspace}/umodel/common-schema-ref',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test'],
],
[
'name' => 'group',
'in' => 'query',
'schema' => [
'description' => 'The public Umodel schema group.',
'type' => 'string',
'required' => true,
'enumValueTitles' => [],
'title' => '',
'example' => 'apm-common',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
'title' => 'DeleteUmodelCommonSchemaRef',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUmodelCommonSchemaRef'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeleteUmodelCommonSchemaRef',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Umodel', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel'],
],
],
],
],
],
'DeleteUmodelData' => [
'path' => '/workspace/{workspace}/umodel/data',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test'],
],
[
'name' => 'domain',
'in' => 'query',
'schema' => ['description' => 'The name of the Umodel data to delete. Omit this parameter to delete all Umodel data.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'apm'],
],
[
'name' => 'name',
'in' => 'query',
'schema' => ['description' => 'The name of the Umodel data. If unspecified, data with any name is deleted.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test'],
],
[
'name' => 'kind',
'in' => 'query',
'schema' => ['description' => 'The kind of the Umodel data. If unspecified, data of all kinds is deleted.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'metric_set'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '111111-222-333-1111-33333'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Delete Umodel Data',
'summary' => 'Deletes Umodel elements.',
'description' => 'Deletes Umodel data from a specified workspace.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUmodelData'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeleteUmodelData',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Umodel', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"111111-222-333-1111-33333\\"\\n}","type":"json"}]',
],
'DeleteWorkspace' => [
'path' => '/workspace/{workspaceName}',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceName',
'in' => 'path',
'schema' => ['title' => '实例 ID。', 'description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'example' => 'workspace-test-001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Delete Workspace',
'summary' => 'Deletes a workspace.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWorkspace'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:DeleteWorkspace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Workspace', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspaceName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\"\\n}","type":"json"}]',
],
'DescribeMetricMetaList' => [
'summary' => 'Queries metric metadata.',
'path' => '/describe-metric-meta-list',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'namespace',
'in' => 'query',
'schema' => ['description' => 'The namespace, which is used to distinguish between services.', 'type' => 'string', 'required' => false, 'example' => 'acs_ecs_dashboard', 'title' => ''],
],
[
'name' => 'metaFormat',
'in' => 'query',
'schema' => [
'description' => 'The metadata source. Valid values:'."\n"
.'- CMS: CloudMonitor Basic monitoring metrics.'."\n"
.'- PROM_BASIC: Prometheus CloudMonitor basic monitoring metrics.',
'type' => 'string',
'enum' => ['CMS', 'PROM_BASIC'],
'required' => false,
'example' => 'CMS',
'title' => '',
],
],
[
'name' => 'metricName',
'in' => 'query',
'schema' => ['description' => 'The metric name.', 'type' => 'string', 'required' => false, 'example' => 'CPUUtilization', 'title' => ''],
],
[
'name' => 'labels',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'Filters resources by label. The following labels are available:'."\n"
.'- metricCategory: the metric category description.'."\n"
.'- alertEnable: specifies whether alerting is required.'."\n"
.'- alertUnit: the recommended alert unit.'."\n"
.'- unitFactor: the unit conversion factor.'."\n"
.'- minAlertPeriod: the minimum alert period.'."\n"
.'- productCategory: the service type category.',
'type' => 'array',
'items' => [
'description' => 'The label key.',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The label name.', 'type' => 'string', 'required' => false, 'example' => 'productCategory', 'title' => ''],
'value' => ['description' => 'The label value.', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'pageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'pageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page. Default value: 2000.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2000', 'title' => ''],
],
[
'name' => 'keywords',
'in' => 'query',
'schema' => ['description' => 'The keyword.', 'type' => 'string', 'required' => false, 'example' => '实例理论', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '6370', 'title' => ''],
'pageNumber' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '2000', 'title' => ''],
'resources' => [
'description' => 'The metric configuration information of the resources.',
'type' => 'array',
'items' => [
'description' => 'The metric configuration information of the resources.',
'type' => 'object',
'properties' => [
'namespace' => ['description' => 'The namespace.', 'type' => 'string', 'example' => 'acs_ecs_dashboard', 'title' => ''],
'metricName' => ['description' => 'The metric name.', 'type' => 'string', 'example' => 'CPUUtilization', 'title' => ''],
'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'ECS CPU Utilization', 'title' => ''],
'unit' => ['description' => 'The unit.', 'type' => 'string', 'example' => '%', 'title' => ''],
'labels' => [
'description' => 'The CloudMonitor labels. This parameter is returned only when metaFormat is set to CMS.',
'type' => 'object',
'additionalProperties' => ['description' => 'The CloudMonitor label content.', 'type' => 'string', 'example' => '{'."\n"
.' "DefaultTemplate": "false",'."\n"
.' "alertDefault": "80",'."\n"
.' "alertUnit": "%",'."\n"
.' "is_alarm": "true",'."\n"
.' "metricCategory": "instanceId",'."\n"
.' "minAlertPeriod": "60",'."\n"
.' "productCategory": "ecs",'."\n"
.' "unitFactor": "1"'."\n"
.'}', 'title' => ''],
'title' => '',
'example' => '',
],
'dimensions' => [
'description' => 'The resource filtering dimensions of CloudMonitor Basic.',
'type' => 'array',
'items' => ['description' => 'The resource filtering dimensions of CloudMonitor Basic.', 'type' => 'string', 'example' => '["userId","instanceId"]', 'title' => ''],
'title' => '',
'example' => '',
],
'type' => ['description' => 'The metric type.', 'type' => 'string', 'example' => 'Gauge', 'title' => ''],
'dimensionDescription' => [
'description' => 'The dimension description.',
'type' => 'array',
'items' => [
'description' => 'The dimension description.',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The name.', 'type' => 'string', 'example' => 'user_id', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'statistics' => ['description' => 'The statistical method of the metric. Example values:'."\n"
.'- Maximum: the maximum value.'."\n"
.'- Minimum: the minimum value.'."\n"
.'- Average: the average value.', 'type' => 'string', 'example' => 'Maximum', 'title' => ''],
'periods' => ['description' => 'The period.', 'type' => 'string', 'example' => '60', 'title' => ''],
'metaFormat' => ['description' => 'The metadata source. CMS indicates CloudMonitor Basic monitoring metrics. PROM_BASIC indicates Prometheus CloudMonitor basic monitoring metrics.'."\n"
."\n"
.'Sample value:'."\n"
.'CMS'."\n"
.'Valid values:'."\n"
.'CMS'."\n"
.'PROM_BASIC.', 'type' => 'string', 'example' => 'PROM_BASIC', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query cloudMonitor metric details',
'description' => 'Queries the details of CloudMonitor monitoring metrics metadata.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'cms:DescribeMetricMetaList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"totalCount\\": 6370,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 2000,\\n \\"resources\\": [\\n {\\n \\"namespace\\": \\"acs_ecs_dashboard\\",\\n \\"metricName\\": \\"CPUUtilization\\",\\n \\"description\\": \\"ECS CPU Utilization\\",\\n \\"unit\\": \\"%\\",\\n \\"labels\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"DefaultTemplate\\\\\\": \\\\\\"false\\\\\\",\\\\n \\\\\\"alertDefault\\\\\\": \\\\\\"80\\\\\\",\\\\n \\\\\\"alertUnit\\\\\\": \\\\\\"%\\\\\\",\\\\n \\\\\\"is_alarm\\\\\\": \\\\\\"true\\\\\\",\\\\n \\\\\\"metricCategory\\\\\\": \\\\\\"instanceId\\\\\\",\\\\n \\\\\\"minAlertPeriod\\\\\\": \\\\\\"60\\\\\\",\\\\n \\\\\\"productCategory\\\\\\": \\\\\\"ecs\\\\\\",\\\\n \\\\\\"unitFactor\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\"\\n },\\n \\"dimensions\\": [\\n \\"[\\\\\\"userId\\\\\\",\\\\\\"instanceId\\\\\\"]\\"\\n ],\\n \\"type\\": \\"Gauge\\",\\n \\"dimensionDescription\\": [\\n {\\n \\"name\\": \\"user_id\\"\\n }\\n ],\\n \\"statistics\\": \\"Maximum\\",\\n \\"periods\\": \\"60\\",\\n \\"metaFormat\\": \\"PROM_BASIC\\"\\n }\\n ]\\n}","type":"json"}]',
'translator' => 'machine',
],
'DescribeRegions' => [
'path' => '/regions',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'language',
'in' => 'query',
'schema' => [
'description' => 'The language of the response. Valid values:'."\n"
."\n"
.'- zh: Chinese. This is the default value.'."\n"
."\n"
.'- en: English.'."\n"
."\n"
.'- ja: Japanese.',
'enumValueTitles' => ['ja' => 'ja', 'en' => 'en', 'zh' => 'zh'],
'type' => 'string',
'required' => false,
'example' => 'zh',
'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
'regions' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
'localName' => ['description' => 'The name of the region.', 'type' => 'string', 'example' => 'China (Beijing)', 'title' => ''],
],
'description' => 'The region information.',
'title' => '',
'example' => '',
],
'description' => 'The list of regions.',
'title' => '',
'example' => '',
],
],
'title' => '',
'description' => 'Schema of Response',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'DescribeRegions',
'summary' => 'Retrieves a list of regions.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"regions\\": [\\n {\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"localName\\": \\"China (Beijing)\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ExecuteQuery' => [
'path' => '/workspace/{workspace}/dataset/{datasetName}/query',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'datasetName',
'in' => 'path',
'schema' => ['description' => 'The dataset name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test_dataset', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'type' => ['description' => 'The query type. Valid values: SQL and SPL.', 'type' => 'string', 'required' => true, 'example' => 'SQL', 'title' => ''],
'query' => ['description' => 'The query statement to execute.', 'type' => 'string', 'required' => true, 'example' => 'SELECT count(1) from "datasetname"', 'title' => ''],
],
'description' => 'A container for the request parameters.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The unique request ID.', 'type' => 'string', 'example' => '3B311FD9-A60B-55E0-A896-A0C73*********', 'title' => ''],
'meta' => [
'type' => 'object',
'properties' => [
'affectedRows' => ['description' => 'The number of scanned or processed log entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'elapsedMillisecond' => ['description' => 'The query execution time in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1231243', 'title' => ''],
'progress' => ['description' => 'The query completion status. A value of `Complete` indicates that the query has finished.', 'type' => 'string', 'example' => 'Complete', 'title' => ''],
'count' => ['description' => 'The number of log entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
'description' => 'Metadata about the query execution.',
'title' => '',
'example' => '',
],
'data' => [
'type' => 'array',
'items' => [
'type' => 'object',
'additionalProperties' => ['description' => 'The log entry, returned as a JSON-formatted string.', 'type' => 'string', 'example' => '{\'remote_addr\': \'198.51.XXX.XXX\', \'pv\': \'1\', \'__source__\': \'\', \'__time__\': \'1649902984\'}', 'title' => ''],
'description' => 'An object that represents a single log entry.',
'title' => '',
'example' => '',
],
'title' => '',
'description' => 'An array of log entries. Each object in the array represents a log entry.',
'example' => '',
],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ExecuteQuery',
'summary' => 'Executes SQL and SPL queries.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3B311FD9-A60B-55E0-A896-A0C73*********\\",\\n \\"meta\\": {\\n \\"affectedRows\\": 1,\\n \\"elapsedMillisecond\\": 1231243,\\n \\"progress\\": \\"Complete\\",\\n \\"count\\": 1\\n },\\n \\"data\\": [\\n {\\n \\"key\\": \\"{\'remote_addr\': \'198.51.XXX.XXX\', \'pv\': \'1\', \'__source__\': \'\', \'__time__\': \'1649902984\'}\\"\\n }\\n ]\\n}","type":"json"}]',
],
'GetAddon' => [
'summary' => 'Retrieves the details of an add-on.',
'path' => '/addons/{addonName}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'addonName',
'in' => 'path',
'schema' => ['description' => 'This is a query parameter.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'security-actiontrail'],
],
[
'name' => 'version',
'in' => 'query',
'schema' => ['description' => 'The version number of the add-on.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '*'],
],
[
'name' => 'aliyunLang',
'in' => 'query',
'schema' => ['description' => 'The language of the response. Valid values: zh and en. Default value: zh.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'data' => [
'description' => 'The data returned.',
'type' => 'object',
'properties' => [
'alias' => ['description' => 'The alias of the component.', 'type' => 'string', 'example' => 'resume_vector_alias', 'title' => ''],
'categories' => [
'description' => 'The list of component categories.',
'type' => 'array',
'items' => ['description' => 'The name of the category.', 'type' => 'string', 'example' => 'alibaba-cloud-service', 'title' => ''],
'title' => '',
'example' => '',
],
'dashboards' => [
'description' => 'The list of dashboards.',
'type' => 'array',
'items' => [
'description' => 'The information about the dashboard.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'The description of the dashboard.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'name' => ['description' => 'The name of the dashboard.', 'type' => 'string', 'example' => 'rum_api_dot_metric_set', 'title' => ''],
'url' => ['description' => 'The URL of the preview image.', 'type' => 'string', 'example' => 'http://iac-service-transfer.oss-cn-hangzhou.aliyuncs.com/78c5_288850010070719968_bdcf7cca781844c8ac4add133791713f', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'description' => ['description' => 'The description of the add-on.', 'type' => 'string', 'example' => 'o11y-demo-cn-heyuan', 'title' => ''],
'environments' => [
'description' => 'The environment information.',
'type' => 'array',
'items' => [
'description' => 'The information about a single environment.',
'type' => 'object',
'properties' => [
'enable' => ['description' => 'Indicates whether the feature is enabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'label' => ['description' => 'The display name of the environment.', 'type' => 'string', 'example' => '容器环境', 'title' => ''],
'dependencies' => [
'description' => 'The dependencies.',
'type' => 'object',
'properties' => [
'clusterTypes' => [
'description' => 'The dependencies on cluster types.',
'type' => 'array',
'items' => ['description' => 'The cluster type dependency.', 'type' => 'string', 'example' => 'ManagedKubernetes/Default', 'title' => ''],
'title' => '',
'example' => '',
],
'features' => [
'description' => 'The dependencies on probes.',
'type' => 'object',
'additionalProperties' => ['description' => 'Indicates whether the component depends on the target probe.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'title' => '',
'example' => '',
],
'services' => [
'description' => 'The dependencies on activated services.',
'type' => 'array',
'items' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'Prometheus', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'Observability integration.', 'title' => ''],
'name' => ['description' => 'The name of the add-on.', 'type' => 'string', 'example' => 'cs-default-umodel-1752755202744_k8s.metric.high_level_metric_deployment_cn-hangzhou/c0a686118449c4390b9cc0a07ea3e0e85', 'title' => ''],
'policies' => [
'description' => 'The ID of the resource group.',
'type' => 'object',
'properties' => [
'alertDefaultStatus' => ['description' => 'The status of the default policy for alert rules.', 'type' => 'string', 'example' => 'true', 'title' => ''],
'defaultInstall' => ['description' => 'Indicates whether the add-on is installed by default.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'enableServiceAccount' => ['description' => 'Indicates whether a service account is assigned for communication with the console API.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'metricCheckRule' => [
'description' => 'The metric check rule.',
'type' => 'object',
'properties' => [
'promQL' => [
'description' => 'The data check rule that is used after installation.',
'type' => 'array',
'items' => ['description' => 'The data check rule that is used after installation.', 'type' => 'string', 'example' => 'up=1', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'needRestartAfterIntegration' => ['description' => 'Indicates whether to guide the user to restart pods after the add-on is installed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'protocols' => [
'description' => 'The protocol.',
'type' => 'array',
'items' => [
'description' => 'The protocol.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'The description of the protocol.', 'type' => 'string', 'example' => 'Support OpenTelemetry Protocol', 'title' => ''],
'icon' => ['description' => 'The URL of the icon.', 'type' => 'string', 'example' => 'icon URL', 'title' => ''],
'label' => ['description' => 'The display name of the protocol.', 'type' => 'string', 'example' => 'OpenTelemetry', 'title' => ''],
'name' => ['description' => 'The name of the protocol.', 'type' => 'string', 'example' => 'OpenTelemetry', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'targetAddonName' => ['description' => 'The name of the target add-on to which the system redirects.', 'type' => 'string', 'example' => 'cs-default', 'title' => ''],
],
'title' => '',
'example' => '',
],
'policyType' => ['description' => 'The type of the integration policy.', 'type' => 'string', 'example' => 'CS', 'title' => ''],
'commonSchemaRefs' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'group' => ['description' => 'The group name of the common schema.', 'type' => 'string', 'example' => 'acs-ecs', 'title' => ''],
'version' => ['description' => 'The version of the common schema.', 'type' => 'string', 'example' => '0.1.3', 'title' => ''],
],
'description' => 'The information about the associated common schema.',
'title' => '',
'example' => '',
],
'description' => 'The list of associated common schemas.',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'icon' => ['description' => 'The URL of the icon.', 'type' => 'string', 'example' => 'https://xxxxx', 'title' => ''],
'keywords' => [
'description' => 'The keywords.',
'type' => 'array',
'items' => ['description' => 'A keyword.', 'type' => 'string', 'example' => 'metrics', 'title' => ''],
'title' => '',
'example' => '',
],
'language' => ['description' => 'The language.', 'type' => 'string', 'example' => 'zh', 'title' => ''],
'latestReleaseCreateTime' => ['description' => 'The time when the latest version was created.', 'type' => 'string', 'example' => '2023-09-12 12:30:30', 'title' => ''],
'name' => ['description' => 'The name of the add-on.', 'type' => 'string', 'example' => 'rum_api_dashboard_explorer_link_metric_set', 'title' => ''],
'once' => ['description' => 'Indicates whether the add-on can be installed only once.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'scene' => ['description' => 'The scenario of the component.', 'type' => 'string', 'example' => 'middleware', 'title' => ''],
'version' => ['description' => 'The version of the component.', 'type' => 'string', 'example' => '*', 'title' => ''],
'weight' => ['description' => 'The weight.', 'type' => 'string', 'example' => '10', 'title' => ''],
],
'title' => '',
'example' => '',
],
'requestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetAddon',
'description' => 'Retrieves the details of an add-on.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"alias\\": \\"resume_vector_alias\\",\\n \\"categories\\": [\\n \\"alibaba-cloud-service\\"\\n ],\\n \\"dashboards\\": [\\n {\\n \\"description\\": \\"test\\",\\n \\"name\\": \\"rum_api_dot_metric_set\\",\\n \\"url\\": \\"http://iac-service-transfer.oss-cn-hangzhou.aliyuncs.com/78c5_288850010070719968_bdcf7cca781844c8ac4add133791713f\\"\\n }\\n ],\\n \\"description\\": \\"o11y-demo-cn-heyuan\\",\\n \\"environments\\": [\\n {\\n \\"enable\\": false,\\n \\"label\\": \\"容器环境\\",\\n \\"dependencies\\": {\\n \\"clusterTypes\\": [\\n \\"ManagedKubernetes/Default\\"\\n ],\\n \\"features\\": {\\n \\"key\\": true\\n },\\n \\"services\\": [\\n \\"Prometheus\\"\\n ]\\n },\\n \\"description\\": \\"Observability integration.\\",\\n \\"name\\": \\"cs-default-umodel-1752755202744_k8s.metric.high_level_metric_deployment_cn-hangzhou/c0a686118449c4390b9cc0a07ea3e0e85\\",\\n \\"policies\\": {\\n \\"alertDefaultStatus\\": \\"true\\",\\n \\"defaultInstall\\": true,\\n \\"enableServiceAccount\\": true,\\n \\"metricCheckRule\\": {\\n \\"promQL\\": [\\n \\"up=1\\"\\n ]\\n },\\n \\"needRestartAfterIntegration\\": true,\\n \\"protocols\\": [\\n {\\n \\"description\\": \\"Support OpenTelemetry Protocol\\",\\n \\"icon\\": \\"icon URL\\",\\n \\"label\\": \\"OpenTelemetry\\",\\n \\"name\\": \\"OpenTelemetry\\"\\n }\\n ],\\n \\"targetAddonName\\": \\"cs-default\\"\\n },\\n \\"policyType\\": \\"CS\\",\\n \\"commonSchemaRefs\\": [\\n {\\n \\"group\\": \\"acs-ecs\\",\\n \\"version\\": \\"0.1.3\\"\\n }\\n ]\\n }\\n ],\\n \\"icon\\": \\"https://xxxxx\\",\\n \\"keywords\\": [\\n \\"metrics\\"\\n ],\\n \\"language\\": \\"zh\\",\\n \\"latestReleaseCreateTime\\": \\"2023-09-12 12:30:30\\",\\n \\"name\\": \\"rum_api_dashboard_explorer_link_metric_set\\",\\n \\"once\\": true,\\n \\"scene\\": \\"middleware\\",\\n \\"version\\": \\"*\\",\\n \\"weight\\": \\"10\\"\\n },\\n \\"requestId\\": \\"0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8\\"\\n}","type":"json"}]',
],
'GetAddonCodeTemplate' => [
'path' => '/addons/{addonName}/alert-code-template',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'addonName',
'in' => 'path',
'schema' => ['type' => 'string', 'required' => true, 'title' => '', 'description' => 'The name of the add-on.', 'example' => 'apm-opentelemetry'],
],
[
'name' => 'aliyunLang',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false, 'title' => '', 'description' => 'The language. Valid values: zh (Chinese) and en (English). Default value: zh.', 'example' => 'zh'],
],
[
'name' => 'environmentType',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false, 'title' => '', 'description' => 'The type of environment. Valid values: CS (Container Service) and ECS.', 'example' => 'Client'],
],
[
'name' => 'version',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => 'The version of the component.', 'required' => false, 'title' => '', 'example' => '0.1.0'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'codes' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'codeTemplate' => ['type' => 'string', 'description' => 'The code template.', 'title' => '', 'example' => 'javascript\\nnpm install @arms/rum-miniapp --save'],
'name' => ['type' => 'string', 'description' => 'The name of the code template.', 'title' => '', 'example' => 'cs-default-CS-cs-default-1753236205394-cs-default-CS-kubeApiserver'],
],
'description' => '',
'title' => '',
'example' => '',
],
'description' => 'The list of code templates.',
'title' => '',
'example' => '',
],
'requestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => '0CEC5375-C554-562B-A65F-***'],
],
'title' => '',
'description' => 'The response object.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetAddonCodeTemplate',
'summary' => 'Details of an add-on schema.',
'description' => 'This topic provides an example of how to modify version `1` of alert template `123456`. In this example, the alert level is set to `Critical`, the statistical method is set to `Average`, the comparison operator for the alert threshold is set to `GreaterThanOrEqualToThreshold`, the alert threshold is set to `90`, and the number of retries is set to `3`. The response indicates that the alert template was successfully modified.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"codes\\": [\\n {\\n \\"codeTemplate\\": \\"javascript\\\\\\\\nnpm install @arms/rum-miniapp --save\\",\\n \\"name\\": \\"cs-default-CS-cs-default-1753236205394-cs-default-CS-kubeApiserver\\"\\n }\\n ],\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-***\\"\\n}","type":"json"}]',
],
'GetAddonRelease' => [
'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'releaseName',
'in' => 'path',
'schema' => ['title' => 'AddonRelease 的名称。', 'description' => 'The name of the add-on release.', 'type' => 'string', 'required' => true, 'example' => 'test-gpu-integration-name'],
],
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['title' => '环境 ID。', 'description' => 'The ID of the environment.', 'type' => 'string', 'required' => true, 'example' => 'policy-xxxxxxxxxxxx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'config' => ['title' => '组件配置。', 'description' => 'The configuration of the component.', 'type' => 'string', 'example' => '{"install":{"mode":"auto-install","listenPort":"9400"},"discoverMode":"instances","discover":{"instances":"worker-k8s-for-cs-c126d87c76218487e83ab322017f11b44"},"scrapeInterval":"15","enableSecuritecs-nodeyGroupInjection":"true","metricTags":""}'],
'release' => [
'description' => 'The details of the release.',
'type' => 'object',
'properties' => [
'addonName' => ['title' => '组件 Addon 名称。', 'description' => 'The name of the add-on component.', 'type' => 'string', 'example' => 'cs-gpu'],
'alertRuleCount' => ['title' => '告警规则数量。', 'description' => 'The number of alert rules.', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
'conditions' => [
'title' => '安装阶段状况信息汇总。'."\n"
."\n"
.'Type 包括四个:Loaded(加载配置),Installed(执行安装),Ready(执行安装后就绪检查),UnInstalled(执行卸载)。四个状况理论上顺序出现。'."\n"
."\n"
.'Status: 可选值包括:Unknown(正处在当前阶段执行),True(执行就绪),False(执行失败)'."\n"
."\n"
.'完整状态判断说明:'."\n"
.'Loaded,Installed,Ready 只要有一个的 Status=False,则代表安装失败,Ready 的 Status=True,则代表安装成功,其他情况则代表正在安装中。'."\n"
."\n"
.'UnInstalled 只要存在,则代表正在执行卸载。Status=True 则代表卸载成功,Status=Unknown 代表执行卸载中,Status=False 代表卸载失败。',
'description' => 'Information about the installation phases.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'firstTransitionTime' => ['title' => '第一次转换时间。', 'description' => 'The time when the phase first transitioned.', 'type' => 'string', 'example' => '2024-11-04T16:10:22+08:00'],
'lastTransitionTime' => ['title' => '最后一次转换时间。', 'description' => 'The time when the phase last transitioned.', 'type' => 'string', 'example' => '2024-11-04T16:10:22+08:00'],
'message' => ['title' => '详细信息。', 'description' => 'The detailed message.', 'type' => 'string', 'example' => 'The addon loaded successfully'],
'status' => ['title' => '阶段状态。', 'description' => 'The status of the phase.', 'type' => 'string', 'example' => 'True'],
'type' => ['title' => '阶段类型。', 'description' => 'The type of the phase.', 'type' => 'string', 'example' => 'Loaded'],
],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
'config' => ['title' => '组件配置信息。', 'description' => 'The configuration information of the component.', 'type' => 'string', 'example' => '{"install":{"mode":"auto-install","listenPort":"9400"},"discoverMode":"instances","discover":{"instances":"worker-k8s-for-cs-c126d87c76218487e83ab322017f11b44"},"scrapeInterval":"15","enableSecuritecs-nodeyGroupInjection":"true","metricTags":""}'],
'createTime' => ['title' => '接入时间。', 'description' => 'The time when the add-on was accessed.', 'type' => 'string', 'example' => '2024-11-04T16:10:12+08:00'],
'dashboardCount' => ['title' => '大盘数量。', 'description' => 'The number of dashboards.', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'environmentId' => ['title' => '环境 ID。', 'description' => 'The ID of the environment.', 'type' => 'string', 'example' => 'policy-xxxxxxxxxxx'],
'exporterCount' => ['title' => '插件数量。', 'description' => 'The number of plug-ins.', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'haveConfig' => ['title' => '是否有配置。', 'description' => 'Indicates whether a configuration exists.', 'type' => 'boolean', 'example' => 'true'],
'installUserId' => ['title' => '接入用户 ID。', 'description' => 'The ID of the user who accessed the add-on.', 'type' => 'string', 'example' => '1707xxxxxxxxxxxx'],
'language' => ['title' => '语言。', 'description' => 'The language.', 'type' => 'string', 'example' => 'zh'],
'managed' => ['title' => '是否为托管组件。', 'description' => 'Indicates whether the component is a managed component.', 'type' => 'boolean', 'example' => 'true'],
'parentAddonReleaseId' => ['title' => '父级 AddonReleaseId。', 'description' => 'The ID of the parent add-on release.', 'type' => 'string', 'example' => 'policy-xxxxxxxxxxxxx'],
'policyId' => ['title' => '策略 ID。', 'description' => 'The ID of the policy.', 'type' => 'string', 'example' => 'policy-xxxxxxxxxxxxx'],
'regionId' => ['title' => '区域 ID。', 'description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-hangzhou'],
'releaseId' => ['title' => 'Release ID。', 'description' => 'The ID of the release.', 'type' => 'string', 'example' => '7339d808-66f9-4d40-83fa-xxxxxxxxxxx'],
'releaseName' => ['title' => 'Release 的名称。', 'description' => 'The name of the release.', 'type' => 'string', 'example' => 'test-gpu-integration-name'],
'scene' => ['title' => '组件场景。', 'description' => 'The scenario of the component.', 'type' => 'string', 'example' => 'container'],
'status' => ['title' => '组件状态。', 'description' => 'The status of the component.', 'type' => 'string', 'example' => 'running'],
'updateTime' => ['title' => '更新时间。', 'description' => 'The time when the release was last updated.', 'type' => 'string', 'example' => '2024-11-04T16:10:12+08:00'],
'userId' => ['title' => '所属用户 ID。', 'description' => 'The ID of the user to which the release belongs.', 'type' => 'string', 'example' => '1707xxxxxxxxxxxx'],
'version' => ['title' => '组件版本。', 'description' => 'The version of the component.', 'type' => 'string', 'example' => '0.0.2'],
'envType' => ['title' => '环境类型。', 'description' => 'The type of the environment.', 'type' => 'string', 'example' => 'CS'],
'workspace' => ['title' => '工作空间。', 'description' => 'The workspace.', 'type' => 'string', 'example' => 'default'],
'entityRules' => ['title' => '实体详情。', 'description' => 'The details of the entity.', '$ref' => '#/components/schemas/EntityGroupBase', 'example' => ''],
],
'title' => '',
'example' => '',
],
'requestId' => ['title' => '请求 ID。', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'View Add-on Component Information',
'summary' => 'Queries the details and accessed state of an add-on release.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '210', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAddonRelease'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetAddonRelease',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'AddonRelease', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#PolicyId}/addonrelease/{#ReleaseName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"config\\": \\"{\\\\\\"install\\\\\\":{\\\\\\"mode\\\\\\":\\\\\\"auto-install\\\\\\",\\\\\\"listenPort\\\\\\":\\\\\\"9400\\\\\\"},\\\\\\"discoverMode\\\\\\":\\\\\\"instances\\\\\\",\\\\\\"discover\\\\\\":{\\\\\\"instances\\\\\\":\\\\\\"worker-k8s-for-cs-c126d87c76218487e83ab322017f11b44\\\\\\"},\\\\\\"scrapeInterval\\\\\\":\\\\\\"15\\\\\\",\\\\\\"enableSecuritecs-nodeyGroupInjection\\\\\\":\\\\\\"true\\\\\\",\\\\\\"metricTags\\\\\\":\\\\\\"\\\\\\"}\\",\\n \\"release\\": {\\n \\"addonName\\": \\"cs-gpu\\",\\n \\"alertRuleCount\\": 6,\\n \\"conditions\\": [\\n {\\n \\"firstTransitionTime\\": \\"2024-11-04T16:10:22+08:00\\",\\n \\"lastTransitionTime\\": \\"2024-11-04T16:10:22+08:00\\",\\n \\"message\\": \\"The addon loaded successfully\\",\\n \\"status\\": \\"True\\",\\n \\"type\\": \\"Loaded\\"\\n }\\n ],\\n \\"config\\": \\"{\\\\\\"install\\\\\\":{\\\\\\"mode\\\\\\":\\\\\\"auto-install\\\\\\",\\\\\\"listenPort\\\\\\":\\\\\\"9400\\\\\\"},\\\\\\"discoverMode\\\\\\":\\\\\\"instances\\\\\\",\\\\\\"discover\\\\\\":{\\\\\\"instances\\\\\\":\\\\\\"worker-k8s-for-cs-c126d87c76218487e83ab322017f11b44\\\\\\"},\\\\\\"scrapeInterval\\\\\\":\\\\\\"15\\\\\\",\\\\\\"enableSecuritecs-nodeyGroupInjection\\\\\\":\\\\\\"true\\\\\\",\\\\\\"metricTags\\\\\\":\\\\\\"\\\\\\"}\\",\\n \\"createTime\\": \\"2024-11-04T16:10:12+08:00\\",\\n \\"dashboardCount\\": 3,\\n \\"environmentId\\": \\"policy-xxxxxxxxxxx\\",\\n \\"exporterCount\\": 2,\\n \\"haveConfig\\": true,\\n \\"installUserId\\": \\"1707xxxxxxxxxxxx\\",\\n \\"language\\": \\"zh\\",\\n \\"managed\\": true,\\n \\"parentAddonReleaseId\\": \\"policy-xxxxxxxxxxxxx\\",\\n \\"policyId\\": \\"policy-xxxxxxxxxxxxx\\",\\n \\"regionId\\": \\"cn-hangzhou\\",\\n \\"releaseId\\": \\"7339d808-66f9-4d40-83fa-xxxxxxxxxxx\\",\\n \\"releaseName\\": \\"test-gpu-integration-name\\",\\n \\"scene\\": \\"container\\",\\n \\"status\\": \\"running\\",\\n \\"updateTime\\": \\"2024-11-04T16:10:12+08:00\\",\\n \\"userId\\": \\"1707xxxxxxxxxxxx\\",\\n \\"version\\": \\"0.0.2\\",\\n \\"envType\\": \\"CS\\",\\n \\"workspace\\": \\"default\\",\\n \\"entityRules\\": {\\n \\"workspace\\": \\"default-cms-1654218***343050-cn-hangzhou\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"entityQueries\\": [\\n {\\n \\"entityType\\": \\"acs.ecs.instance\\",\\n \\"spl\\": \\".entity with(type=\'acs.ecs.instance\') | where region_id in (\'cn-beijing\')\\"\\n }\\n ],\\n \\"description\\": \\"ECS 实例\\",\\n \\"entityGroupId\\": \\"eg-1234567890\\",\\n \\"entityRules\\": {\\n \\"resourceGroupId\\": \\"rg-acfm2m7atreujs1\\",\\n \\"ipMatchRule\\": {\\n \\"ipFieldKey\\": \\"\\",\\n \\"ipCIDR\\": \\"\\"\\n },\\n \\"tags\\": [\\n {\\n \\"tagKey\\": \\"project\\",\\n \\"op\\": \\"in\\",\\n \\"tagValues\\": [\\n \\"demo\\"\\n ]\\n }\\n ],\\n \\"instanceIds\\": [\\n \\"i-bp1gj8wyq4fxk28k6iy2\\"\\n ],\\n \\"entityTypes\\": [\\n \\"acs.ecs.instance\\"\\n ],\\n \\"regionIds\\": [\\n \\"cn-shanghai\\"\\n ],\\n \\"labels\\": [\\n {\\n \\"tagKey\\": \\"project\\",\\n \\"op\\": \\"in\\",\\n \\"tagValues\\": [\\n \\"demo\\"\\n ]\\n }\\n ],\\n \\"annotations\\": [\\n {\\n \\"tagKey\\": \\"instanceId\\",\\n \\"op\\": \\"in\\",\\n \\"tagValues\\": [\\n \\"i-bp1gj8wyq4fxk28k6iy2\\\\n\\"\\n ]\\n }\\n ],\\n \\"fieldRules\\": [\\n {\\n \\"fieldKey\\": \\"instanceId\\",\\n \\"op\\": \\"in\\",\\n \\"fieldValues\\": [\\n \\"i-bp1gj8wyq4fxk28k6iy2\\"\\n ]\\n }\\n ]\\n },\\n \\"entityGroupName\\": \\"ECS 全部实体\\",\\n \\"userId\\": \\"1654218***343050\\"\\n }\\n },\\n \\"requestId\\": \\"0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8\\"\\n}","type":"json"}]',
],
'GetAddonSchema' => [
'summary' => 'The details of an add-on schema.',
'path' => '/addons/{addonName}/schema',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'addonName',
'in' => 'path',
'schema' => ['title' => '', 'description' => 'The name of the add-on.', 'type' => 'string', 'required' => true, 'example' => 'cloud-rds-audit-log'],
],
[
'name' => 'aliyunLang',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The language of the response. Valid values: \\`zh\\` and \\`en\\`. The default value is \\`zh\\`.', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'environmentType',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The environment type. Valid values: \\`CS\\` (container) and \\`ECS\\`.', 'type' => 'string', 'required' => false, 'example' => 'CS'],
],
[
'name' => 'version',
'in' => 'query',
'schema' => ['description' => 'The version of the component.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '0.1.1'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'fields' => [
'description' => 'A list of data table fields.',
'type' => 'array',
'items' => [
'description' => 'The information about a data table field.',
'type' => 'object',
'properties' => [
'conditions' => [
'description' => 'A list of display conditions.',
'type' => 'array',
'items' => [
'description' => 'A display condition.',
'type' => 'object',
'properties' => [
'action' => ['description' => 'The control mode of the field.', 'type' => 'string', 'title' => '', 'example' => 'show'],
'field' => ['description' => 'The name of the field.', 'type' => 'string', 'title' => '', 'example' => 'store.storageTarget'],
'op' => ['description' => 'The operator for the condition.', 'type' => 'string', 'title' => '', 'example' => '=='],
'value' => ['description' => 'The target value for the condition.', 'type' => 'any', 'title' => '', 'example' => 'Custom'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'defaultValue' => ['description' => 'The default value.', 'type' => 'any', 'title' => '', 'example' => 'mysql.default'],
'description' => ['description' => 'The description.', 'type' => 'string', 'title' => '', 'example' => 'MySQL datasource'],
'disabled' => ['description' => 'Specifies whether the field is hidden. Valid values: \\`true\\` (hidden) and \\`false\\` (displayed).', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'element' => ['description' => 'The type of the element.', 'type' => 'string', 'title' => '', 'example' => 'input'],
'fieldPath' => ['type' => 'string', 'description' => 'The path of the field.', 'title' => '', 'example' => 'mysql.host'],
'label' => ['description' => 'The display name of the field.', 'type' => 'string', 'title' => '', 'example' => 'mysql'],
'name' => ['description' => 'The name of the field.', 'type' => 'string', 'title' => '', 'example' => 'host'],
'placeholder' => ['description' => 'The placeholder text.', 'type' => 'string', 'title' => '', 'example' => 'Please enter the metrics collection interval'],
'props' => [
'description' => 'Other properties of the component.',
'type' => 'object',
'properties' => [
'dataSource' => [
'description' => 'The information about the data source.',
'type' => 'array',
'items' => [
'description' => 'The information about the data source.',
'type' => 'object',
'properties' => [
'label' => ['description' => 'The label.', 'type' => 'string', 'title' => '', 'example' => 'tagKey'],
'value' => ['description' => 'The value of the label.', 'type' => 'string', 'title' => '', 'example' => 'tagValue'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'related' => [
'type' => 'array',
'items' => ['type' => 'string', 'description' => 'Related data.', 'title' => '', 'example' => 'mysql.host'],
'description' => 'A collection of related data.',
'title' => '',
'example' => '',
],
'selectMode' => ['type' => 'string', 'description' => 'The mode.', 'title' => '', 'example' => 'single'],
],
'title' => '',
'example' => '',
],
'type' => ['description' => 'The type of the field.', 'type' => 'string', 'title' => '', 'example' => 'string'],
'validation' => [
'type' => 'object',
'properties' => [
'max' => ['description' => 'The maximum value. The value is inclusive.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2000'],
'maxLength' => ['description' => 'The maximum length that is supported by the text control.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '100'],
'message' => ['description' => 'The details.', 'type' => 'string', 'title' => '', 'example' => 'length limit'],
'min' => ['description' => 'The minimum value.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'minLength' => ['description' => 'The minimum length.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '16'],
'regular' => ['type' => 'string', 'description' => 'The regular expression.', 'title' => '', 'example' => '^(http|https)://'],
'required' => ['description' => 'Specifies whether the parameter is required.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
],
'description' => 'The validation rule for the field.',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'E5B1D3D4-BB28-5996-8AD2-***********'],
'type' => ['description' => 'The type of the schema.', 'type' => 'string', 'title' => '', 'example' => 'common'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetAddonSchema',
'description' => 'Retrieves the schema of an add-on.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"fields\\": [\\n {\\n \\"conditions\\": [\\n {\\n \\"action\\": \\"show\\",\\n \\"field\\": \\"store.storageTarget\\",\\n \\"op\\": \\"==\\",\\n \\"value\\": \\"Custom\\"\\n }\\n ],\\n \\"defaultValue\\": \\"mysql.default\\",\\n \\"description\\": \\"MySQL datasource\\",\\n \\"disabled\\": false,\\n \\"element\\": \\"input\\",\\n \\"fieldPath\\": \\"mysql.host\\",\\n \\"label\\": \\"mysql\\",\\n \\"name\\": \\"host\\",\\n \\"placeholder\\": \\"Please enter the metrics collection interval\\",\\n \\"props\\": {\\n \\"dataSource\\": [\\n {\\n \\"label\\": \\"tagKey\\",\\n \\"value\\": \\"tagValue\\"\\n }\\n ],\\n \\"related\\": [\\n \\"mysql.host\\"\\n ],\\n \\"selectMode\\": \\"single\\"\\n },\\n \\"type\\": \\"string\\",\\n \\"validation\\": {\\n \\"max\\": 2000,\\n \\"maxLength\\": 100,\\n \\"message\\": \\"length limit\\",\\n \\"min\\": 0,\\n \\"minLength\\": 16,\\n \\"regular\\": \\"^(http|https)://\\",\\n \\"required\\": false\\n }\\n }\\n ],\\n \\"requestId\\": \\"E5B1D3D4-BB28-5996-8AD2-***********\\",\\n \\"type\\": \\"common\\"\\n}","type":"json"}]',
],
'GetAggTaskGroup' => [
'summary' => 'Queries an aggregation task group.',
'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
'schema' => ['title' => '聚合任务组所属的 Prometheus 实例的 id,聚合任务从这个实例中读取数据', 'description' => 'The ID of the Prometheus instance to which the aggregation task group belongs.', 'type' => 'string', 'required' => true, 'example' => 'rw-xxx'],
],
[
'name' => 'groupId',
'in' => 'path',
'schema' => ['title' => '聚合任务组 id', 'description' => 'The ID of the aggregation task group.', 'type' => 'string', 'required' => true, 'example' => 'aggTaskGroup-xxx'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '出参结构体',
'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
'aggTaskGroup' => [
'title' => '聚合任务组',
'description' => 'The aggregation task group.',
'type' => 'object',
'properties' => [
'aggTaskGroupConfig' => ['title' => '聚合任务组配置', 'description' => 'The configuration of the aggregation task group.', 'type' => 'string', 'example' => 'groups:'."\n"
.'- name: "node.rules"'."\n"
.' interval: "60s"'."\n"
.' rules:'."\n"
.' - record: "node_namespace_pod:kube_pod_info:"'."\n"
.' expr: "max(label_replace(kube_pod_info{job=\\"kubernetes-pods-kube-state-metrics\\"\\'."\n"
.' }, \\"pod\\", \\"$1\\", \\"pod\\", \\"(.*)\\")) by (node, namespace, pod, cluster)"'],
'aggTaskGroupConfigHash' => ['title' => '聚合任务组配置的摘要', 'description' => 'The summary of the aggregation task group configuration.', 'type' => 'string', 'example' => 'a54136xxx'],
'aggTaskGroupId' => ['title' => '聚合任务组 id', 'description' => 'The ID of the aggregation task group.', 'type' => 'string', 'example' => 'aggTaskGroup-xx'],
'aggTaskGroupName' => ['title' => '聚合任务组名称', 'description' => 'The name of the aggregation task group.', 'type' => 'string', 'example' => 'pipeline-aggtask-group'],
'cronExpr' => ['title' => '调度模式选择“Cron”情况下,聚合任务组的调度表达式', 'description' => 'The scheduling expression of the aggregation task group when the scheduling mode is set to Cron.', 'type' => 'string', 'example' => '0 1 3 * * ? *'],
'delay' => ['title' => '调度的固定延迟时间', 'description' => 'The fixed delay time for scheduling, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'description' => ['title' => '聚合任务组描述'."\n"
."\n", 'description' => 'The description of the aggregation task group.', 'type' => 'string', 'example' => 'test'],
'fromTime' => ['title' => '调度开始时间对应的的秒级时间戳', 'description' => 'The UNIX timestamp in seconds that corresponds to the start time of the scheduling. This parameter is not yet in effect.', 'type' => 'integer', 'format' => 'int64', 'example' => '1757409495'],
'maxRetries' => ['title' => '执行聚合任务的最大重试次数', 'description' => 'The maximum number of retries to execute the aggregation task.', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'maxRunTimeInSeconds' => ['title' => '执行聚合任务的最大重试时间', 'description' => 'The maximum runtime of the aggregation task, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
'precheckString' => ['title' => '预检测配置', 'description' => 'The dry run configuration.', 'type' => 'string', 'example' => '{"policy":"skip","prometheusId":"rw-xx","query":"noPrecheck","threshold":0.5,"timeout":15,"type":"none"}'],
'regionId' => ['title' => '地域 id', 'description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-zhangjiakou'],
'scheduleMode' => ['title' => '调度模式', 'description' => 'The scheduling mode.', 'type' => 'string', 'example' => 'FixedRate'],
'scheduleTimeExpr' => ['title' => '调度时间表达式', 'description' => 'The scheduling time expression.', 'type' => 'string', 'example' => '@m'],
'sourcePrometheusId' => ['title' => '聚合任务组的源 Prometheus 实例 id', 'description' => 'The ID of the source Prometheus instance for the aggregation task group.', 'type' => 'string', 'example' => 'rw-xxx'],
'status' => ['title' => '聚合任务组状态', 'description' => 'The status of the aggregation task group.', 'type' => 'string', 'example' => 'Running'],
'tags' => [
'title' => '资源组标签',
'description' => 'The tags of the resource group.',
'type' => 'array',
'items' => [
'description' => 'The tag.',
'type' => 'object',
'properties' => [
'key' => ['title' => '资源组标签的键', 'description' => 'The key of the resource group tag.', 'type' => 'string', 'example' => 'key1'],
'value' => ['title' => '资源组标签的值', 'description' => 'The value of the resource group tag.', 'type' => 'string', 'example' => 'value1'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'targetPrometheusId' => ['title' => '聚合任务组的目标 Prometheus 实例 id', 'description' => 'The ID of the target Prometheus instance for the aggregation task group.', 'type' => 'string', 'example' => 'rw-xxx'],
'toTime' => ['title' => '调度结束时间对应的秒级时间戳', 'description' => 'The UNIX timestamp in seconds that corresponds to the end time of the scheduling.', 'type' => 'integer', 'format' => 'int64', 'example' => '1757409495'],
'updateTime' => ['title' => '聚合任务组的更新时间', 'description' => 'The time when the aggregation task group was updated. This is a timestamp.', 'type' => 'string', 'example' => '1757409499000'],
'userId' => ['title' => '聚合任务组所属用户', 'description' => 'The user to which the aggregation task group belongs.', 'type' => 'string', 'example' => '123xxx'],
],
'example' => '',
],
'requestId' => ['title' => '请求 id', 'description' => 'The request ID.', 'type' => 'string', 'example' => '68DAF543-35DF-5762-BE90-F5C00B5DC036'],
'success' => ['title' => '请求是否成功', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query Aggregation Task Group',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAggTaskGroup'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetAggTaskGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'AggTaskGroup', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}/aggtaskgroup/{#aggTaskGroupId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"aggTaskGroup\\": {\\n \\"aggTaskGroupConfig\\": \\"groups:\\\\n- name: \\\\\\"node.rules\\\\\\"\\\\n interval: \\\\\\"60s\\\\\\"\\\\n rules:\\\\n - record: \\\\\\"node_namespace_pod:kube_pod_info:\\\\\\"\\\\n expr: \\\\\\"max(label_replace(kube_pod_info{job=\\\\\\\\\\\\\\"kubernetes-pods-kube-state-metrics\\\\\\\\\\\\\\"\\\\\\\\\\\\n }, \\\\\\\\\\\\\\"pod\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"$1\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"pod\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"(.*)\\\\\\\\\\\\\\")) by (node, namespace, pod, cluster)\\\\\\"\\",\\n \\"aggTaskGroupConfigHash\\": \\"a54136xxx\\",\\n \\"aggTaskGroupId\\": \\"aggTaskGroup-xx\\",\\n \\"aggTaskGroupName\\": \\"pipeline-aggtask-group\\",\\n \\"cronExpr\\": \\"0 1 3 * * ? *\\",\\n \\"delay\\": 2,\\n \\"description\\": \\"test\\",\\n \\"fromTime\\": 1757409495,\\n \\"maxRetries\\": 2,\\n \\"maxRunTimeInSeconds\\": 50,\\n \\"precheckString\\": \\"{\\\\\\"policy\\\\\\":\\\\\\"skip\\\\\\",\\\\\\"prometheusId\\\\\\":\\\\\\"rw-xx\\\\\\",\\\\\\"query\\\\\\":\\\\\\"noPrecheck\\\\\\",\\\\\\"threshold\\\\\\":0.5,\\\\\\"timeout\\\\\\":15,\\\\\\"type\\\\\\":\\\\\\"none\\\\\\"}\\",\\n \\"regionId\\": \\"cn-zhangjiakou\\",\\n \\"scheduleMode\\": \\"FixedRate\\",\\n \\"scheduleTimeExpr\\": \\"@m\\",\\n \\"sourcePrometheusId\\": \\"rw-xxx\\",\\n \\"status\\": \\"Running\\",\\n \\"tags\\": [\\n {\\n \\"key\\": \\"key1\\",\\n \\"value\\": \\"value1\\"\\n }\\n ],\\n \\"targetPrometheusId\\": \\"rw-xxx\\",\\n \\"toTime\\": 1757409495,\\n \\"updateTime\\": \\"1757409499000\\",\\n \\"userId\\": \\"123xxx\\"\\n },\\n \\"requestId\\": \\"68DAF543-35DF-5762-BE90-F5C00B5DC036\\",\\n \\"success\\": true\\n}","type":"json"}]',
],
'GetBizTrace' => [
'summary' => 'Queries a business trace.',
'path' => '/bizTrace/{bizTraceId}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'bizTraceId',
'in' => 'path',
'schema' => ['type' => 'string', 'description' => 'The ID of the business trace.', 'required' => false, 'title' => '', 'example' => 'e339260ed64c95d'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
'item' => ['$ref' => '#/components/schemas/BizTraceConfig', 'description' => 'The business trace.', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetBizTrace',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"item\\": {\\n \\"workspace\\": \\"default-cms-xxxxxxx-cn-hangzhou\\",\\n \\"bizTraceId\\": \\"e339260ed64c95d\\",\\n \\"bizTraceName\\": \\"just test\\",\\n \\"bizTraceCode\\": \\"label_env\\",\\n \\"ruleConfig\\": \\"[{\\\\\\"entrancePid\\\\\\":\\\\\\"xxxxx@b57c44xx6e86\\\\\\",\\\\\\"rpcMatcher\\\\\\":{\\\\\\"matchType\\\\\\":\\\\\\"EQUALS\\\\\\",\\\\\\"pattern\\\\\\":\\\\\\"/createApp\\\\\\"},\\\\\\"characteristics\\\\\\":{\\\\\\"operation\\\\\\":\\\\\\"AND\\\\\\",\\\\\\"rules\\\\\\":[{\\\\\\"target\\\\\\":\\\\\\"CUSTOM_EXTRACT\\\\\\",\\\\\\"matcher\\\\\\":{\\\\\\"matchType\\\\\\":\\\\\\"CONTAINS\\\\\\",\\\\\\"pattern\\\\\\":[]}}]}}]\\",\\n \\"advancedConfig\\": \\"{\\\\\\"sample\\\\\\":{\\\\\\"strategy\\\\\\":\\\\\\"BY_APP\\\\\\"}}\\",\\n \\"createTime\\": \\"2025-12-12 00:00:00\\",\\n \\"regionId\\": \\"cn-beijing\\"\\n }\\n}","type":"json"}]',
],
'GetCloudResource' => [
'summary' => 'Retrieves information about cloud resources.',
'path' => '/cloudresource',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREcms5OJOSH'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-heyuan', 'title' => ''],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetCloudResource',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetCloudResource',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'CloudResource', 'arn' => 'acs:cms:{#regionId}:{#accountId}:cloudresource'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\"\\n}","type":"json"}]',
],
'GetCloudResourceData' => [
'summary' => 'Queries all entity information of a specific cloud service within a specified time range.',
'path' => '/cloudresource/data',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'from',
'in' => 'query',
'schema' => ['description' => 'The start of the query time range.'."\n"
."\n"
.'The value is a UNIX timestamp in seconds, which represents the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1721767203', 'title' => ''],
],
[
'name' => 'to',
'in' => 'query',
'schema' => ['description' => 'The end of the query time range.'."\n"
."\n"
.'The value is a UNIX timestamp in seconds, which represents the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1721767203', 'title' => ''],
],
[
'name' => 'query',
'in' => 'query',
'schema' => ['description' => 'The query statement.', 'type' => 'string', 'required' => true, 'example' => '.entity with(domain=\'acs\', type=\'acs.k8s.node\') | limit 0, 10', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response body that contains the request status, data, and other information.',
'type' => 'object',
'properties' => [
'data' => [
'description' => 'The total list of returned data.',
'type' => 'array',
'items' => [
'description' => 'The data list corresponding to the header.',
'type' => 'array',
'items' => ['description' => 'The data corresponding to the request header.', 'type' => 'string', 'example' => 'data1', 'title' => ''],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'header' => [
'description' => 'The list of headers.',
'type' => 'array',
'items' => ['description' => 'The header.', 'type' => 'string', 'example' => 'headerKey', 'title' => ''],
'title' => '',
'example' => '',
],
'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'responseStatus' => [
'description' => 'The result status.',
'type' => 'object',
'properties' => [
'result' => ['description' => 'The execution result.', 'type' => 'string', 'example' => 'Success,PartialSuccess,Error', 'title' => ''],
'retryPolicy' => ['description' => 'The retry policy.', 'type' => 'string', 'example' => 'None,Once,Continuous', 'title' => ''],
'level' => ['description' => 'The status level.', 'type' => 'string', 'example' => 'Info,Warn,Error', 'title' => ''],
'statusItem' => [
'description' => 'The detailed status information.',
'type' => 'array',
'items' => [
'description' => 'The detailed status information.',
'type' => 'object',
'properties' => [
'code' => ['description' => 'The status code.', 'type' => 'string', 'example' => 'Success,ExecuteTimeout,UModelNotExist', 'title' => ''],
'level' => ['description' => 'The status level.', 'type' => 'string', 'example' => 'Info,Warn,Error', 'title' => ''],
'message' => ['description' => 'The message content.', 'type' => 'string', 'example' => 'successful', 'title' => ''],
'suggestion' => ['description' => 'The suggestion when an execution error occurs.', 'type' => 'string', 'example' => 'Try to reduce the query scope or increase timeout limit, then retry', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'executionStates' => ['description' => 'The information during execution.', 'type' => 'string', 'example' => '{}', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Retrieve cloud service entity data',
'description' => '## Operation description'."\n"
.'- This operation queries all entities of a specific cloud service within a specified time range.'."\n"
.'- The `from` and `to` parameters specify the time range of the query in seconds-level timestamps.'."\n"
.'- The `spl` parameter supports entityStore query statements to filter or select the required entities and their properties.'."\n"
.'- If you need only specific fields, use the `project` clause in `spl` to filter them.'."\n"
.'- The response contains the specific property values of each entity and the corresponding list of property names for easy parsing and processing.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n [\\n \\"data1\\"\\n ]\\n ],\\n \\"header\\": [\\n \\"headerKey\\"\\n ],\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"responseStatus\\": {\\n \\"result\\": \\"Success,PartialSuccess,Error\\",\\n \\"retryPolicy\\": \\"None,Once,Continuous\\",\\n \\"level\\": \\"Info,Warn,Error\\",\\n \\"statusItem\\": [\\n {\\n \\"code\\": \\"Success,ExecuteTimeout,UModelNotExist\\",\\n \\"level\\": \\"Info,Warn,Error\\",\\n \\"message\\": \\"successful\\",\\n \\"suggestion\\": \\"Try to reduce the query scope or increase timeout limit, then retry\\"\\n }\\n ],\\n \\"executionStates\\": \\"{}\\"\\n }\\n}","type":"json"}]',
],
'GetCmsService' => [
'summary' => 'Checks whether a Prometheus service or product is activated.',
'path' => '/cmsservice',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'product',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => [
'type' => 'string',
'enum' => ['prometheus'],
'title' => '',
'description' => 'prometheus: Checks the activation status of the Prometheus service. The service is billed by reported data volume or written data volume.',
'required' => false,
'enumValueTitles' => ['prometheus' => 'prometheus'],
'example' => 'prometheus',
],
],
[
'name' => 'service',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => [
'type' => 'string',
'enum' => ['prometheus', 'prometheusgb', 'promethues', 'ackpro'],
'title' => '',
'description' => 'prometheus: Checks whether the Prometheus product that is billed by reported data volume is activated.prometheusgb: Checks whether the Prometheus product that is billed by written data volume is activated.',
'required' => false,
'enumValueTitles' => ['prometheusgb' => 'prometheusgb', 'promethues' => 'prometheus'],
'example' => 'prometheus',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['type' => 'string', 'title' => '', 'description' => 'The request ID.', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
'enabled' => ['type' => 'boolean', 'description' => 'Indicates whether the service or product is activated.', 'title' => '', 'example' => 'false'],
'errorCode' => ['type' => 'string', 'title' => '', 'description' => 'PROM\\_NOT\\_OPEN: Prometheus is not activated.SLS\\_NOT\\_OPEN: Simple Log Service (SLS), a dependency of Prometheus, is not activated.CMS\\_SLR\\_NOT\\_EXIST: The service-linked role (SLR) for CloudMonitor does not exist.SLS\\_SLR\\_NOT\\_EXIST: The SLR for SLS does not exist.', 'example' => 'PROM_NOT_OPEN'],
],
'title' => '',
'description' => 'The response schema.',
'example' => '',
],
],
],
'errorCodes' => [],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetCmsService',
'description' => 'The product and service request parameters cannot be specified in the same request.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"enabled\\": false,\\n \\"errorCode\\": \\"PROM_NOT_OPEN\\"\\n}","type":"json"}]',
'translator' => 'machine',
],
'GetContext' => [
'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/{contextId}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'path',
'schema' => ['description' => 'The name of the context store.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-context-store', 'title' => ''],
],
[
'name' => 'contextId',
'in' => 'path',
'schema' => ['description' => 'The ID of the context.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'example' => '897294a7-67a4-4f60-976c-e136edc5f97e', 'title' => ''],
],
[
'name' => 'formatted',
'in' => 'query',
'schema' => ['description' => 'Whether to return the context in a formatted structure. Valid values: `true` and `false`. Default value: `false`.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => ['description' => 'The details of the context.', 'type' => 'object', 'example' => '{}', 'title' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetContext',
'summary' => 'Retrieves a single context.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]',
],
'GetContextStore' => [
'summary' => 'Retrieves the details of a specified context store.',
'path' => '/workspace/{workspace}/contextstore/{contextStoreName}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'path',
'schema' => ['description' => 'The context store name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-context-store', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****', 'title' => ''],
'contextStoreName' => ['description' => 'The context store name.', 'type' => 'string', 'example' => 'test-context-store', 'title' => ''],
'workspace' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'workspace-test', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
'contextType' => ['description' => 'The type of the context store.', 'type' => 'string', 'example' => 'memory', 'title' => ''],
'description' => ['description' => 'The description of the context store.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'status' => ['description' => 'The status of the context store.', 'type' => 'string', 'example' => 'active', 'title' => ''],
'config' => [
'type' => 'object',
'properties' => [
'innerSource' => [
'type' => 'object',
'properties' => [
'project' => ['description' => 'The name of the Log Service project.', 'type' => 'string', 'example' => 'sls-test-project', 'title' => ''],
'logstore' => ['description' => 'The name of the Log Service logstore.', 'type' => 'string', 'example' => 'sls-test-logstore', 'title' => ''],
],
'description' => 'The internal source.',
'title' => '',
'example' => '',
],
'source' => [
'type' => 'object',
'properties' => [
'project' => ['description' => 'The name of the Log Service project.', 'type' => 'string', 'example' => 'sls-test-project', 'title' => ''],
'logstore' => ['description' => 'The name of the Log Service logstore.', 'type' => 'string', 'example' => 'sls-test-logstore', 'title' => ''],
'startTime' => ['description' => 'The time when the configuration takes effect. This value is a Unix timestamp in milliseconds.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '1754962200000', 'title' => ''],
],
'description' => 'The configuration source.',
'title' => '',
'example' => '',
],
'metadataField' => [
'type' => 'object',
'additionalProperties' => ['description' => 'The key-value pairs that map metadata fields to their source attributes.', 'type' => 'string', 'example' => '{'."\n"
.' "project": "attributes.project",'."\n"
.' "logstore": "attributes.logstore",'."\n"
.' "agentId": "attributes.agent_id",'."\n"
.' "scene": "attributes.scene"'."\n"
.' }', 'title' => ''],
'description' => 'The metadata fields.',
'title' => '',
'example' => '',
],
],
'description' => 'The configuration of the context store.',
'title' => '',
'example' => '',
],
'dataset' => [
'type' => 'object',
'properties' => [
'name' => ['description' => 'The name of the dataset.', 'type' => 'string', 'example' => 'test_dataset', 'title' => ''],
],
'description' => 'Information about the associated dataset.',
'title' => '',
'example' => '',
],
'createTime' => ['description' => 'The creation time of the context store. This value is a Unix timestamp in seconds.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '1695090077', 'title' => ''],
'updateTime' => ['description' => 'The last update time of the context store. This value is a Unix timestamp in seconds.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '1695090077', 'title' => ''],
],
'description' => 'The response data.',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetContextStore',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"contextStoreName\\": \\"test-context-store\\",\\n \\"workspace\\": \\"workspace-test\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"contextType\\": \\"memory\\",\\n \\"description\\": \\"test\\",\\n \\"status\\": \\"active\\",\\n \\"config\\": {\\n \\"innerSource\\": {\\n \\"project\\": \\"sls-test-project\\",\\n \\"logstore\\": \\"sls-test-logstore\\"\\n },\\n \\"source\\": {\\n \\"project\\": \\"sls-test-project\\",\\n \\"logstore\\": \\"sls-test-logstore\\",\\n \\"startTime\\": \\"1754962200000\\"\\n },\\n \\"metadataField\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"project\\\\\\": \\\\\\"attributes.project\\\\\\",\\\\n \\\\\\"logstore\\\\\\": \\\\\\"attributes.logstore\\\\\\",\\\\n \\\\\\"agentId\\\\\\": \\\\\\"attributes.agent_id\\\\\\",\\\\n \\\\\\"scene\\\\\\": \\\\\\"attributes.scene\\\\\\"\\\\n }\\"\\n }\\n },\\n \\"dataset\\": {\\n \\"name\\": \\"test_dataset\\"\\n },\\n \\"createTime\\": \\"1695090077\\",\\n \\"updateTime\\": \\"1695090077\\"\\n}","type":"json"}]',
],
'GetDataset' => [
'path' => '/workspace/{workspace}/dataset/{datasetName}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'datasetName',
'in' => 'path',
'schema' => ['description' => 'The dataset name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test_dataset', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'description' => ['description' => 'The description of the dataset.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'createTime' => ['description' => 'The time the dataset was created, as a Unix timestamp.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '1695090077', 'title' => ''],
'requestId' => ['description' => 'The unique identifier for the request.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****', 'title' => ''],
'updateTime' => ['description' => 'The time the dataset was last updated, as a Unix timestamp.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '1695090077', 'title' => ''],
'workspace' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'workspace-test', 'title' => ''],
'datasetName' => ['description' => 'The name of the dataset.', 'type' => 'string', 'example' => 'test_dataset', 'title' => ''],
'regionId' => ['description' => 'The ID of the region where the dataset is located.', 'type' => 'string', 'example' => 'cn-heyuan', 'title' => ''],
'schema' => [
'type' => 'object',
'additionalProperties' => ['description' => 'The structure of a field within the schema.', '$ref' => '#/components/schemas/IndexKey', 'title' => '', 'example' => ''],
'description' => 'The data schema of the dataset.',
'title' => '',
'example' => '',
],
],
'title' => '',
'description' => 'The response object.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetDataset',
'summary' => 'Retrieves the details of a specified dataset.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"description\\": \\"test\\",\\n \\"createTime\\": \\"1695090077\\",\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"updateTime\\": \\"1695090077\\",\\n \\"workspace\\": \\"workspace-test\\",\\n \\"datasetName\\": \\"test_dataset\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"schema\\": {\\n \\"key\\": {\\n \\"chn\\": false,\\n \\"type\\": \\"\\",\\n \\"embedding\\": \\"\\",\\n \\"jsonKeys\\": {\\n \\"key\\": {\\n \\"type\\": \\"\\",\\n \\"chn\\": false\\n }\\n }\\n }\\n }\\n}","type":"json"}]',
],
'GetDeliveryTask' => [
'summary' => 'Retrieves the details of a data delivery task.',
'path' => '/delivery-task/{taskId}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'taskId',
'in' => 'path',
'schema' => ['description' => 'The delivery task ID.', 'type' => 'string', 'required' => true, 'example' => '98e367d8fb8cc83b', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'deliveryTask' => [
'description' => 'The delivery task details.',
'type' => 'object',
'properties' => [
'taskId' => ['description' => 'The delivery task ID.', 'type' => 'string', 'example' => '8b07eeac8249866d', 'title' => ''],
'taskName' => ['description' => 'The task name.', 'type' => 'string', 'example' => 'test-task', 'title' => ''],
'taskDescription' => ['description' => 'The task description.', 'type' => 'string', 'example' => 'my delivery task', 'title' => ''],
'status' => ['description' => 'The current status of the task.', 'type' => 'string', 'example' => 'Enable', 'title' => ''],
'dataSourceId' => ['description' => 'The data source ID (Managed Service for Prometheus instance ID).', 'type' => 'string', 'example' => 'rw-xxxxxx', 'title' => ''],
'labelFiltersType' => [
'description' => 'The metric filtering mode.',
'enumValueTitles' => ['Deny' => 'Deny', 'Allow' => 'Allow'],
'type' => 'string',
'example' => 'Allow',
'title' => '',
],
'labelFilters' => [
'description' => 'The metric filter conditions. Used together with labelFiltersType. The key is the metric label name, and the value is the match value.',
'type' => 'object',
'additionalProperties' => ['description' => 'filterKey → filterValue. Example: __name__ → up, job → my_job.', 'type' => 'string', 'example' => '__name__: up', 'title' => ''],
'title' => '',
'example' => '',
],
'externalLabels' => [
'description' => 'The additional labels attached to all delivered metrics. The key is the label name, and the value is the label value.',
'type' => 'object',
'additionalProperties' => ['description' => 'externalLabelsKey → externalLabelsValue. Example: region → ap-southeast-1.', 'type' => 'string', 'example' => 'region: cn-hangzhou', 'title' => ''],
'title' => '',
'example' => '',
],
'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '2025-07-24T02:08:27Z', 'title' => ''],
'updateTime' => ['description' => 'The update time.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '2026-01-22T11:50:48Z', 'title' => ''],
'extraInfo' => [
'description' => 'The extended information.',
'type' => 'object',
'properties' => [
'taskNameList' => [
'description' => 'The EventBridge task list.',
'type' => 'array',
'items' => ['description' => 'The EventBridge task name.', 'type' => 'string', 'example' => 'prometheus-deliver-98e367d8fb8cc83b-0', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'sinkList' => [
'description' => 'The list of delivery targets.',
'type' => 'array',
'items' => [
'description' => 'The delivery target configuration.',
'type' => 'object',
'properties' => [
'sinkType' => [
'description' => 'The delivery target type.',
'enumValueTitles' => ['AcsKafka' => 'AcsKafka', 'Prometheus' => 'Prometheus', 'AcsMaxcompute' => 'AcsMaxcompute'],
'type' => 'string',
'example' => 'Prometheus',
'title' => '',
],
'sinkConfigs' => [
'description' => 'The detailed configuration of the delivery target. The meanings of key/value pairs vary depending on the sinkType. For more information, see CreateDeliveryTask.',
'type' => 'object',
'additionalProperties' => ['description' => 'The configuration items supported by each sinkType.', 'type' => 'string', 'example' => 'Url: http://xxxx/api/v1/write', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-chengdu', 'title' => ''],
'tags' => [
'description' => 'The resource group tags.',
'type' => 'array',
'items' => [
'description' => 'The tag value.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The tag key of the resource group.', 'type' => 'string', 'example' => 'sourcetype', 'title' => ''],
'value' => ['description' => 'The tag value of the resource group.', 'type' => 'string', 'example' => 'production', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0CEC5375-C554-562B-A65F-9A629907C1F0', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Retrieve data delivery task details',
'description' => 'Deletes a specified site monitoring task.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetDeliveryTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'DeliveryTask', 'arn' => 'acs:cms:{#regionId}:{#accountId}:deliverytask/{#TaskId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"deliveryTask\\": {\\n \\"taskId\\": \\"8b07eeac8249866d\\",\\n \\"taskName\\": \\"test-task\\",\\n \\"taskDescription\\": \\"my delivery task\\",\\n \\"status\\": \\"Enable\\",\\n \\"dataSourceId\\": \\"rw-xxxxxx\\",\\n \\"labelFiltersType\\": \\"Allow\\",\\n \\"labelFilters\\": {\\n \\"key\\": \\"__name__: up\\"\\n },\\n \\"externalLabels\\": {\\n \\"key\\": \\"region: cn-hangzhou\\"\\n },\\n \\"createTime\\": \\"2025-07-24T02:08:27Z\\",\\n \\"updateTime\\": \\"2026-01-22T11:50:48Z\\",\\n \\"extraInfo\\": {\\n \\"taskNameList\\": [\\n \\"prometheus-deliver-98e367d8fb8cc83b-0\\"\\n ]\\n },\\n \\"sinkList\\": [\\n {\\n \\"sinkType\\": \\"Prometheus\\",\\n \\"sinkConfigs\\": {\\n \\"key\\": \\"Url: http://xxxx/api/v1/write\\"\\n }\\n }\\n ],\\n \\"regionId\\": \\"cn-chengdu\\",\\n \\"tags\\": [\\n {\\n \\"key\\": \\"sourcetype\\",\\n \\"value\\": \\"production\\"\\n }\\n ]\\n },\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-9A629907C1F0\\"\\n}","type":"json"}]',
],
'GetEntityStore' => [
'path' => '/workspace/{workspaceName}/entitystore',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceName',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test-001'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-heyuan'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'."\n"],
'workspaceName' => ['description' => 'The name of the workspace.', 'type' => 'string', 'title' => '', 'example' => 'workspace-test-001'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Get EntityStore',
'summary' => 'Retrieves the storage information of an EntityStore.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEntityStore'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetEntityStore',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'EntityStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspaceName}/entitystore'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\\\n\\",\\n \\"workspaceName\\": \\"workspace-test-001\\"\\n}","type":"json"}]',
],
'GetEntityStoreData' => [
'summary' => 'Queries the entity and relational data in a specified workspace to retrieve entity data for a specific time range.',
'path' => '/workspace/{workspace}/entitiesAndRelations',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'acceptEncoding',
'in' => 'header',
'schema' => ['description' => 'The content encoding type of the compression algorithm.', 'type' => 'string', 'required' => false, 'default' => 'gzip', 'title' => '', 'example' => 'gzip'],
],
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test-001'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'from' => ['description' => 'The start point in time for the query.'."\n"
."\n"
.'This is a UNIX timestamp. It represents the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1721767203'],
'query' => ['description' => 'The search statement.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '.entity with(domain=\'acs\', type=\'acs.k8s.node\') | limit 0, 10'],
'to' => ['description' => 'The end point in time for the query.'."\n"
."\n"
.'This is a UNIX timestamp. It represents the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1721767283'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'data' => [
'description' => 'The list of returned data.',
'type' => 'array',
'items' => [
'description' => 'The list of data that corresponds to the request header.',
'type' => 'array',
'items' => ['description' => 'The data that corresponds to the request header.', 'type' => 'string', 'title' => '', 'example' => 'data1'],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'header' => [
'description' => 'The list of request headers.',
'type' => 'array',
'items' => ['description' => 'The request header.', 'type' => 'string', 'title' => '', 'example' => 'headerKey'],
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'responseStatus' => [
'description' => 'The result status.',
'type' => 'object',
'properties' => [
'result' => ['description' => 'The execution result.', 'type' => 'string', 'title' => '', 'example' => 'Success,PartialSuccess,Error'],
'retryPolicy' => ['description' => 'The retry policy.', 'type' => 'string', 'title' => '', 'example' => 'None,Once,Continuous'],
'level' => ['description' => 'The status level.', 'type' => 'string', 'title' => '', 'example' => 'Info,Warn,Error'],
'statusItem' => [
'description' => 'A list of detailed status information.',
'type' => 'array',
'items' => [
'description' => 'The detailed status information.',
'type' => 'object',
'properties' => [
'code' => ['description' => 'The status code.', 'type' => 'string', 'title' => '', 'example' => 'Success,ExecuteTimeout,UModelNotExist'],
'level' => ['description' => 'The status level.', 'type' => 'string', 'title' => '', 'example' => 'Info,Warn,Error'],
'message' => ['description' => 'The execution information.', 'type' => 'string', 'title' => '', 'example' => 'Query execution timeout after 30 seconds'],
'suggestion' => ['description' => 'The suggestion provided when an execution fault occurs.', 'type' => 'string', 'title' => '', 'example' => 'Try to reduce the query scope or increase timeout limit, then retry'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'executionStates' => ['description' => 'Information about the execution procedure.', 'type' => 'string', 'title' => '', 'example' => '{}'],
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n [\\n \\"data1\\"\\n ]\\n ],\\n \\"header\\": [\\n \\"headerKey\\"\\n ],\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"responseStatus\\": {\\n \\"result\\": \\"Success,PartialSuccess,Error\\",\\n \\"retryPolicy\\": \\"None,Once,Continuous\\",\\n \\"level\\": \\"Info,Warn,Error\\",\\n \\"statusItem\\": [\\n {\\n \\"code\\": \\"Success,ExecuteTimeout,UModelNotExist\\",\\n \\"level\\": \\"Info,Warn,Error\\",\\n \\"message\\": \\"Query execution timeout after 30 seconds\\",\\n \\"suggestion\\": \\"Try to reduce the query scope or increase timeout limit, then retry\\"\\n }\\n ],\\n \\"executionStates\\": \\"{}\\"\\n }\\n}","type":"json"}]',
'title' => 'Query Entity and Relationship Data',
'changeSet' => [
['createdAt' => '2025-09-10T09:49:36.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEntityStoreData'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetEntityStoreData',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'EntityStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspaceName}/entitystore'],
],
],
],
],
],
'GetIntegrationPolicy' => [
'path' => '/integration-policies/{policyId}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['description' => 'Policy ID.', 'type' => 'string', 'required' => true, 'example' => 'policy-ac38a7cb02d14ff48bc9f97d0a75063e', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'policy' => [
'description' => 'Integration policy.',
'type' => 'object',
'properties' => [
'bindResource' => [
'description' => 'Bound resource information.',
'type' => 'object',
'properties' => [
'clusterId' => ['description' => 'Cluster ID.', 'type' => 'string', 'example' => '00b1630f02814f95a9bce717d8d56bb2 ', 'title' => ''],
'clusterType' => ['description' => 'Cluster type.', 'type' => 'string', 'example' => 'ManagedKubernetes', 'title' => ''],
'vpcCidr' => ['description' => 'VPC CIDR block.', 'type' => 'string', 'example' => '10.12.0.1/16', 'title' => ''],
'vpcId' => ['description' => 'VPC ID.', 'type' => 'string', 'example' => 'vpc-2zegqpeyxplhtmdg70xnr', 'title' => ''],
],
'title' => '',
'example' => '',
],
'entityGroup' => [
'description' => 'Entity group.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'Description.', 'type' => 'string', 'example' => 'xxxxxx', 'title' => ''],
'entityGroupId' => ['description' => 'Entity group ID.', 'type' => 'string', 'example' => 'eg-b79f65d11fb94e779867cf937c3a3002', 'title' => ''],
'entityGroupName' => ['description' => 'Entity group name.', 'type' => 'string', 'example' => 'prod-database', 'title' => ''],
'entityRules' => [
'description' => 'Entity rules.',
'type' => 'object',
'properties' => [
'annotations' => [
'description' => 'Annotations.',
'type' => 'array',
'items' => [
'description' => 'Annotation.',
'type' => 'object',
'properties' => [
'op' => ['description' => 'The operation to perform.', 'type' => 'string', 'example' => 'add', 'title' => ''],
'tagKey' => ['description' => 'Tag key.', 'type' => 'string', 'example' => 'use', 'title' => ''],
'tagValues' => [
'description' => 'Tag values.',
'type' => 'array',
'items' => ['description' => 'Tag value.', 'type' => 'string', 'example' => 'db', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'entityTypes' => [
'description' => 'Entity type list.',
'type' => 'array',
'items' => ['description' => 'Entity type.', 'type' => 'string', 'example' => 'CS', 'title' => ''],
'title' => '',
'example' => '',
],
'fieldRules' => [
'description' => 'Field rule list.',
'type' => 'array',
'items' => [
'description' => 'Field rule.',
'type' => 'object',
'properties' => [
'fieldKey' => ['description' => 'Unique identifier of the field.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'fieldValues' => [
'description' => 'Field values.',
'type' => 'array',
'items' => ['description' => 'Field value.', 'type' => 'string', 'example' => 'test-value', 'title' => ''],
'title' => '',
'example' => '',
],
'op' => ['description' => 'The operation to perform.', 'type' => 'string', 'example' => 'add', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'instanceIds' => [
'description' => 'Instance IDs.',
'type' => 'array',
'items' => ['description' => 'Instance ID.', 'type' => 'string', 'example' => 'i-uf6bsi1aivfbn581buj6,i-uf6eu25p75drryo4712u', 'title' => ''],
'title' => '',
'example' => '',
],
'ipMatchRule' => [
'description' => 'IP match rule.',
'type' => 'object',
'properties' => [
'ipCidr' => ['description' => 'IP CIDR block.', 'type' => 'string', 'example' => '10.10.0.1/16', 'title' => ''],
'ipFieldKey' => ['description' => 'Key of the IP field.', 'type' => 'string', 'example' => 'test-key', 'title' => ''],
],
'title' => '',
'example' => '',
],
'labels' => [
'description' => 'Labels.',
'type' => 'array',
'items' => [
'description' => 'Label.',
'type' => 'object',
'properties' => [
'op' => ['description' => 'The operation to perform.', 'type' => 'string', 'example' => 'add', 'title' => ''],
'tagKey' => ['description' => 'Tag key of the instance.', 'type' => 'string', 'example' => 'key1', 'title' => ''],
'tagValues' => [
'description' => 'Tag value list.',
'type' => 'array',
'items' => ['description' => 'Tag value.', 'type' => 'string', 'example' => 'value1', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'regionIds' => [
'description' => 'Region ID list.',
'type' => 'array',
'items' => ['description' => 'Region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
'title' => '',
'example' => '',
],
'resourceGroupId' => ['description' => 'Resource group ID.', 'type' => 'string', 'example' => 'rg-aek3aqsuvlv3yyq', 'title' => ''],
'tags' => [
'description' => 'Tags.',
'type' => 'array',
'items' => [
'description' => 'Resource tag.',
'type' => 'object',
'properties' => [
'op' => ['description' => 'The operation to perform.', 'type' => 'string', 'example' => 'add', 'title' => ''],
'tagKey' => ['description' => 'Tag key of the instance.', 'type' => 'string', 'example' => 'key2', 'title' => ''],
'tagValues' => [
'description' => 'Tag value list.',
'type' => 'array',
'items' => ['description' => 'Tag value.', 'type' => 'string', 'example' => 'values', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'regionId' => ['description' => 'Region ID.', 'type' => 'string', 'example' => 'cn-heyuan', 'title' => ''],
'userId' => ['description' => 'User ID.', 'type' => 'string', 'example' => 'u123456', 'title' => ''],
'workspace' => ['description' => 'Workspace.', 'type' => 'string', 'example' => 'test-api', 'title' => ''],
'query' => ['description' => 'Used for query.', 'type' => 'string', 'example' => 'status: 200 AND totalTime > 0.5', 'title' => ''],
],
'title' => '',
'example' => '',
],
'managedInfo' => [
'description' => 'Policy management information.',
'type' => 'object',
'properties' => [
'securityGroupId' => ['description' => 'Security group ID.', 'type' => 'string', 'example' => 'sg-xxxxxx', 'title' => ''],
'vswitchId' => ['description' => 'VSwitch ID.', 'type' => 'string', 'example' => 'vsw-xxxxxxxxx', 'title' => ''],
],
'title' => '',
'example' => '',
],
'policyId' => ['description' => 'Policy ID.', 'type' => 'string', 'example' => 'policy-c9efed2b99c348d49e589c5f780fc074', 'title' => ''],
'policyName' => ['description' => 'Policy name.', 'type' => 'string', 'example' => 'ControlPolicy4DetailVportInfo', 'title' => ''],
'policyType' => ['description' => 'Integration policy type.', 'type' => 'string', 'example' => 'CS', 'title' => ''],
'regionId' => ['description' => 'Region ID.', 'type' => 'string', 'example' => 'cn-heyuan', 'title' => ''],
'resourceGroupId' => ['description' => 'Resource group ID.', 'type' => 'string', 'example' => 'rg-xxxxx', 'title' => ''],
'tags' => [
'description' => 'Tags.',
'type' => 'array',
'items' => [
'description' => 'Tag.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'Tag key.', 'type' => 'string', 'example' => 'use', 'title' => ''],
'value' => ['description' => 'Tag value.', 'type' => 'string', 'example' => 'db', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'userId' => ['description' => 'User ID.', 'type' => 'string', 'example' => 'u123456', 'title' => ''],
'workspace' => ['description' => 'Workspace.', 'type' => 'string', 'example' => 'prometheus', 'title' => ''],
'csUmodelStatus' => ['description' => 'UModel installation status in the container environment.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
],
'title' => '',
'example' => '',
],
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query Integration Center Policy Details',
'summary' => 'Query integration center policy information.',
'changeSet' => [
['createdAt' => '2025-10-30T11:46:59.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIntegrationPolicy'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetIntegrationPolicy',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'integrationPolicy', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"policy\\": {\\n \\"bindResource\\": {\\n \\"clusterId\\": \\"00b1630f02814f95a9bce717d8d56bb2 \\",\\n \\"clusterType\\": \\"ManagedKubernetes\\",\\n \\"vpcCidr\\": \\"10.12.0.1/16\\",\\n \\"vpcId\\": \\"vpc-2zegqpeyxplhtmdg70xnr\\"\\n },\\n \\"entityGroup\\": {\\n \\"description\\": \\"xxxxxx\\",\\n \\"entityGroupId\\": \\"eg-b79f65d11fb94e779867cf937c3a3002\\",\\n \\"entityGroupName\\": \\"prod-database\\",\\n \\"entityRules\\": {\\n \\"annotations\\": [\\n {\\n \\"op\\": \\"add\\",\\n \\"tagKey\\": \\"use\\",\\n \\"tagValues\\": [\\n \\"db\\"\\n ]\\n }\\n ],\\n \\"entityTypes\\": [\\n \\"CS\\"\\n ],\\n \\"fieldRules\\": [\\n {\\n \\"fieldKey\\": \\"test\\",\\n \\"fieldValues\\": [\\n \\"test-value\\"\\n ],\\n \\"op\\": \\"add\\"\\n }\\n ],\\n \\"instanceIds\\": [\\n \\"i-uf6bsi1aivfbn581buj6,i-uf6eu25p75drryo4712u\\"\\n ],\\n \\"ipMatchRule\\": {\\n \\"ipCidr\\": \\"10.10.0.1/16\\",\\n \\"ipFieldKey\\": \\"test-key\\"\\n },\\n \\"labels\\": [\\n {\\n \\"op\\": \\"add\\",\\n \\"tagKey\\": \\"key1\\",\\n \\"tagValues\\": [\\n \\"value1\\"\\n ]\\n }\\n ],\\n \\"regionIds\\": [\\n \\"cn-beijing\\"\\n ],\\n \\"resourceGroupId\\": \\"rg-aek3aqsuvlv3yyq\\",\\n \\"tags\\": [\\n {\\n \\"op\\": \\"add\\",\\n \\"tagKey\\": \\"key2\\",\\n \\"tagValues\\": [\\n \\"values\\"\\n ]\\n }\\n ]\\n },\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"userId\\": \\"u123456\\",\\n \\"workspace\\": \\"test-api\\",\\n \\"query\\": \\"status: 200 AND totalTime > 0.5\\"\\n },\\n \\"managedInfo\\": {\\n \\"securityGroupId\\": \\"sg-xxxxxx\\",\\n \\"vswitchId\\": \\"vsw-xxxxxxxxx\\"\\n },\\n \\"policyId\\": \\"policy-c9efed2b99c348d49e589c5f780fc074\\",\\n \\"policyName\\": \\"ControlPolicy4DetailVportInfo\\",\\n \\"policyType\\": \\"CS\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"resourceGroupId\\": \\"rg-xxxxx\\",\\n \\"tags\\": [\\n {\\n \\"key\\": \\"use\\",\\n \\"value\\": \\"db\\"\\n }\\n ],\\n \\"userId\\": \\"u123456\\",\\n \\"workspace\\": \\"prometheus\\",\\n \\"csUmodelStatus\\": true\\n },\\n \\"requestId\\": \\"0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8\\"\\n}","type":"json"}]',
],
'GetIntegrationVersionForCS' => [
'summary' => 'Queries the Integration Center version for a container cluster.',
'path' => '/integration-version/cs',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'clusterId',
'in' => 'query',
'schema' => ['description' => 'The ID of the cluster.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'c502646fd0d1249baaf792b3a1b589e1b'],
],
[
'name' => 'clusterType',
'in' => 'query',
'schema' => ['description' => 'The type of the cluster. Valid values: acs.ack.cluster and acs.asi.cluster.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'acs.ack.cluster'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'integrationVersion' => ['description' => 'The version of the Integration Center.', 'type' => 'string', 'title' => '', 'example' => 'V1'],
'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CD9BCF34-EA09-5643-BC11-AF41C8DFAE5A'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetIntegrationVersionForCS',
'description' => 'This operation is not available in the API Explorer.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'cms:GetIntegrationVersionForCS',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"integrationVersion\\": \\"V1\\",\\n \\"requestId\\": \\"CD9BCF34-EA09-5643-BC11-AF41C8DFAE5A\\"\\n}","type":"json"}]',
],
'GetMemories' => [
'summary' => 'Retrieves all memories.',
'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/query',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'userId' => ['description' => 'The User ID.', 'type' => 'string', 'required' => false, 'example' => 'test_user_001', 'title' => ''],
'agentId' => ['description' => 'The application\'s agent ID.', 'type' => 'string', 'required' => false, 'example' => '952730652285943809', 'title' => ''],
'appId' => ['description' => 'The Application ID.', 'type' => 'string', 'required' => false, 'example' => '150130323', 'title' => ''],
'runId' => ['description' => 'The Run ID.', 'type' => 'string', 'required' => false, 'example' => 'jr-80ded1d6953c64ea', 'title' => ''],
'filters' => [
'type' => 'object',
'additionalProperties' => ['description' => 'The key-value pairs that define the filter.', 'type' => 'any', 'title' => '', 'example' => '{"__strategy_type__":"Fact"}'],
'title' => '',
'description' => 'The filter criteria.',
'required' => false,
'example' => '{"__strategy_type__":"Fact"}',
],
'pageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1000', 'title' => ''],
'page' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'memoryStoreName',
'in' => 'path',
'schema' => ['description' => 'The memory store name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-memory-store', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****', 'title' => ''],
'results' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'actorId' => ['description' => 'The actor ID.', 'type' => 'string', 'example' => 'test_session_001', 'title' => ''],
'agentId' => ['description' => 'The agent ID.', 'type' => 'string', 'example' => '980565235819266048', 'title' => ''],
'createdAt' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1747623093939', 'title' => ''],
'hash' => ['description' => 'The memory hash.', 'type' => 'string', 'example' => '73ad89f2d56c2f8615e5dd0cef7b4c41c074277c91fa0e31fc5b41802c0481f2', 'title' => ''],
'id' => ['description' => 'The memory ID.', 'type' => 'string', 'example' => '019ca1e5-7307-7d50-b943-5e628326a8ed', 'title' => ''],
'memory' => ['description' => 'The memory content.', 'type' => 'string', 'example' => 'My name is Zhang San and I live in Hangzhou.', 'title' => ''],
'metadata' => [
'description' => 'The metadata.',
'type' => 'object',
'additionalProperties' => ['description' => 'The custom metadata.', 'type' => 'any', 'title' => '', 'example' => '{"__strategy_type__":"Fact"}'],
'example' => '{"__strategy_type__":"Fact"}',
'title' => '',
],
'role' => ['description' => 'The role that sent the message.', 'type' => 'string', 'example' => 'user', 'title' => ''],
'runId' => ['description' => 'The run ID.', 'type' => 'string', 'example' => 'jr-965a0b00cb42a43b', 'title' => ''],
'score' => ['description' => 'The similarity score.', 'type' => 'number', 'format' => 'double', 'example' => '30.12', 'title' => ''],
'updatedAt' => ['description' => 'The update time.', 'type' => 'string', 'example' => '1752825865045', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => 'test_session_001', 'title' => ''],
'appId' => ['description' => 'The application ID.', 'type' => 'string', 'example' => 'test_user_001', 'title' => ''],
],
'description' => 'A memory object.',
'title' => '',
'example' => '',
],
'description' => 'A list of results.',
'title' => '',
'example' => '',
],
'relations' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'destination' => ['description' => 'The destination of the relation.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'relationship' => ['description' => 'The type of the relation.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'source' => ['description' => 'The source of the relation.', 'type' => 'string', 'example' => 'test_namespace/RegistryModule-test2153b9f3-0be6-455e-9efd-05fd31f62885/alicloud', 'title' => ''],
],
'description' => 'A relation object.',
'title' => '',
'example' => '',
],
'description' => 'A list of relations.',
'title' => '',
'example' => '',
],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetMemories',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetMemories',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'MemoryStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"results\\": [\\n {\\n \\"actorId\\": \\"test_session_001\\",\\n \\"agentId\\": \\"980565235819266048\\",\\n \\"createdAt\\": \\"1747623093939\\",\\n \\"hash\\": \\"73ad89f2d56c2f8615e5dd0cef7b4c41c074277c91fa0e31fc5b41802c0481f2\\",\\n \\"id\\": \\"019ca1e5-7307-7d50-b943-5e628326a8ed\\",\\n \\"memory\\": \\"My name is Zhang San and I live in Hangzhou.\\",\\n \\"metadata\\": {\\n \\"key\\": \\"{\\\\\\"__strategy_type__\\\\\\":\\\\\\"Fact\\\\\\"}\\"\\n },\\n \\"role\\": \\"user\\",\\n \\"runId\\": \\"jr-965a0b00cb42a43b\\",\\n \\"score\\": 30.12,\\n \\"updatedAt\\": \\"1752825865045\\",\\n \\"userId\\": \\"test_session_001\\",\\n \\"appId\\": \\"test_user_001\\"\\n }\\n ],\\n \\"relations\\": [\\n {\\n \\"destination\\": \\"test\\",\\n \\"relationship\\": \\"test\\",\\n \\"source\\": \\"test_namespace/RegistryModule-test2153b9f3-0be6-455e-9efd-05fd31f62885/alicloud\\"\\n }\\n ]\\n}","type":"json"}]',
],
'GetMemory' => [
'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'default-cms-1793369865235921-cn-shenzhen', 'title' => ''],
],
[
'name' => 'memoryStoreName',
'in' => 'path',
'schema' => ['description' => 'The memory store name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-memory-store', 'title' => ''],
],
[
'name' => 'memoryId',
'in' => 'path',
'schema' => ['description' => 'The memory ID.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'example' => '019ca1e5-7307-7d50-b943-5e628326a8ed', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'immutable' => ['description' => 'This property is mutable.', 'type' => 'string', 'title' => '', 'example' => 'test'],
'owner' => ['description' => 'The owner of the memory.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'updatedAt' => ['description' => 'The time when the memory was last updated.', 'type' => 'string', 'example' => '1744428159434', 'title' => ''],
'organization' => ['description' => 'The organization.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'memory' => ['description' => 'The memory content.', 'type' => 'string', 'example' => 'My name is Zhang San and I live in Hangzhou.', 'title' => ''],
'metadata' => ['description' => 'The metadata.', 'type' => 'string', 'example' => '{"sessionId":"test_session_001"}', 'title' => ''],
'id' => ['description' => 'The memory ID.', 'type' => 'string', 'example' => '019ca1e5-7307-7d50-b943-5e628326a8ed', 'title' => ''],
'expirationDate' => ['description' => 'The expiration time.', 'type' => 'string', 'example' => '1751595283143', 'title' => ''],
'createdAt' => ['description' => 'The time when the memory was created.', 'type' => 'string', 'example' => '1751595283143', 'title' => ''],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****', 'title' => ''],
'userId' => ['type' => 'string', 'example' => 'test_user_001', 'description' => '', 'title' => ''],
'agentId' => ['type' => 'string', 'example' => 'test_user_001', 'description' => '', 'title' => ''],
'runId' => ['type' => 'string', 'example' => 'test_user_001', 'description' => '', 'title' => ''],
'appId' => ['type' => 'string', 'example' => 'test_user_001', 'description' => '', 'title' => ''],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetMemory',
'summary' => 'Retrieves a single memory.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetMemory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'MemoryStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"immutable\\": \\"test\\",\\n \\"owner\\": \\"test\\",\\n \\"updatedAt\\": \\"1744428159434\\",\\n \\"organization\\": \\"test\\",\\n \\"memory\\": \\"My name is Zhang San and I live in Hangzhou.\\",\\n \\"metadata\\": \\"{\\\\\\"sessionId\\\\\\":\\\\\\"test_session_001\\\\\\"}\\",\\n \\"id\\": \\"019ca1e5-7307-7d50-b943-5e628326a8ed\\",\\n \\"expirationDate\\": \\"1751595283143\\",\\n \\"createdAt\\": \\"1751595283143\\",\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"userId\\": \\"test_user_001\\",\\n \\"agentId\\": \\"test_user_001\\",\\n \\"runId\\": \\"test_user_001\\",\\n \\"appId\\": \\"test_user_001\\"\\n}","type":"json"}]',
],
'GetMemoryHistory' => [
'summary' => 'Retrieve memory history.',
'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}/history',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'Workspace name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'memoryStoreName',
'in' => 'path',
'schema' => ['description' => 'Memory store name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-memory-store', 'title' => ''],
],
[
'name' => 'memoryId',
'in' => 'path',
'schema' => ['description' => 'Memory ID.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'example' => '019ca1e5-7307-7d50-b943-5e628326a8ed', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '3B311FD9-A60B-55E0-A896-A0C73*********', 'title' => ''],
'results' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'id' => ['description' => 'Memory ID.', 'type' => 'string', 'example' => 'b25d6ad7-306f-4040-9890-4dddd2505a2e', 'title' => ''],
'memoryId' => ['description' => 'Memory ID.', 'type' => 'string', 'example' => '019cacf6-7b39-7f61-8314-548f07ca449a', 'title' => ''],
'input' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'role' => ['description' => 'Message sender role.', 'type' => 'string', 'example' => 'user', 'title' => ''],
'content' => ['description' => 'Message content.', 'type' => 'string', 'example' => 'My name is Zhang San and I live in Hangzhou.', 'title' => ''],
],
'description' => 'Message.',
'title' => '',
'example' => '',
],
'description' => 'Original message.',
'title' => '',
'example' => '',
],
'newMemory' => ['description' => 'New memory.', 'type' => 'string', 'example' => 'I really like Python.', 'title' => ''],
'userId' => ['description' => 'User ID.', 'type' => 'string', 'example' => 'test_session_001', 'title' => ''],
'event' => ['description' => 'Event type.', 'type' => 'string', 'example' => 'ADD', 'title' => ''],
'createdAt' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '1764556182850', 'title' => ''],
'updatedAt' => ['description' => 'Update time.', 'type' => 'string', 'example' => '1771036123785', 'title' => ''],
'oldMemory' => ['description' => 'Old memory.', 'type' => 'string', 'example' => 'I really don\'t like Python at all.', 'title' => ''],
'metadata' => ['description' => 'Metadata.', 'type' => 'object', 'example' => '{"sessionId":"test_session_001"}', 'title' => ''],
],
'description' => 'Return value.',
'title' => '',
'example' => '',
],
'description' => 'Return value.',
'title' => '',
'example' => '',
],
],
'description' => 'Response data.',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetMemoryHistory',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3B311FD9-A60B-55E0-A896-A0C73*********\\",\\n \\"results\\": [\\n {\\n \\"id\\": \\"b25d6ad7-306f-4040-9890-4dddd2505a2e\\",\\n \\"memoryId\\": \\"019cacf6-7b39-7f61-8314-548f07ca449a\\",\\n \\"input\\": [\\n {\\n \\"role\\": \\"user\\",\\n \\"content\\": \\"My name is Zhang San and I live in Hangzhou.\\"\\n }\\n ],\\n \\"newMemory\\": \\"I really like Python.\\",\\n \\"userId\\": \\"test_session_001\\",\\n \\"event\\": \\"ADD\\",\\n \\"createdAt\\": \\"1764556182850\\",\\n \\"updatedAt\\": \\"1771036123785\\",\\n \\"oldMemory\\": \\"I really don\'t like Python at all.\\",\\n \\"metadata\\": {\\n \\"sessionId\\": \\"test_session_001\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
],
'GetMemoryStore' => [
'summary' => 'Queries a memory store.',
'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'default-cms-1654218965343050-cn-hangzhou', 'title' => ''],
],
[
'name' => 'memoryStoreName',
'in' => 'path',
'schema' => ['description' => 'The memory store name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-memory-store', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '1764556182850', 'title' => ''],
'updateTime' => ['description' => 'The update time.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '1764556182850', 'title' => ''],
'shortTermTtl' => ['description' => 'The retention period of short-term memory.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'memoryStoreName' => ['description' => 'The memory store name.', 'type' => 'string', 'example' => 'test-memory-store', 'title' => ''],
'workspace' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'default-cms-xxxxxx-cn-beijing', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8', 'title' => ''],
'extractionStrategies' => [
'description' => 'The extraction strategies. Valid values: Episodic, Summary, and Fact.',
'type' => 'array',
'items' => ['description' => 'The extraction strategies. Valid values: Episodic, Summary, and Fact.', 'type' => 'string', 'example' => 'Fact', 'title' => ''],
'title' => '',
'example' => '',
],
'customExtractionStrategies' => [
'description' => 'The custom extraction strategies.',
'type' => 'array',
'items' => ['description' => 'The custom extraction strategies.', '$ref' => '#/components/schemas/CustomExtractionStrategy', 'example' => '[{}]', 'title' => ''],
'title' => '',
'example' => '',
],
'shortTermStorage' => [
'description' => 'The short-term memory storage.',
'type' => 'object',
'properties' => [
'project' => ['description' => 'The Simple Log Service project name.', 'type' => 'string', 'example' => 'wk_cms_data_warehouse', 'title' => ''],
'logstore' => ['description' => 'The Simple Log Service Logstore name.', 'type' => 'string', 'example' => 'memory-store', 'title' => ''],
],
'title' => '',
'example' => '',
],
'sourceType' => ['title' => '', 'description' => 'The memory source.', 'type' => 'string', 'example' => 'Trace'],
'traceSourceConfig' => [
'title' => '',
'description' => 'The configuration used when sourceType is set to Trace.',
'type' => 'object',
'properties' => [
'workspace' => ['title' => '', 'description' => 'The workspace where the trace resides.', 'type' => 'string', 'example' => 'test-workspace'],
'includeOutput' => ['title' => '', 'description' => 'Specifies whether to include LLM output in memory extraction.', 'type' => 'boolean', 'example' => ''],
'query' => ['title' => '', 'description' => 'The Simple Log Service query statement used to filter traces.', 'type' => 'string', 'example' => '(serviceName : "langchain-rag" or serviceName : "agentscope-code-correction") and hostname = frontend-proxy-999c48c8d-hvk6c '],
],
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query a memory store',
'description' => 'Typically used together with the QueryMetricMeta operation for querying metrics and the QueryMetricList/QueryMetricLast operation for querying monitoring data.'."\n"
.'## Request type '."\n"
.'POST|GET.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"description\\": \\"test\\",\\n \\"createTime\\": \\"1764556182850\\",\\n \\"updateTime\\": \\"1764556182850\\",\\n \\"shortTermTtl\\": 10,\\n \\"memoryStoreName\\": \\"test-memory-store\\",\\n \\"workspace\\": \\"default-cms-xxxxxx-cn-beijing\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"requestId\\": \\"0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8\\",\\n \\"extractionStrategies\\": [\\n \\"Fact\\"\\n ],\\n \\"customExtractionStrategies\\": [\\n {\\n \\"strategyName\\": \\"test1\\",\\n \\"strategyType\\": \\"Fact\\",\\n \\"extractionPrompt\\": \\"test\\",\\n \\"updatePrompt\\": \\"test\\",\\n \\"description\\": \\"test\\"\\n }\\n ],\\n \\"shortTermStorage\\": {\\n \\"project\\": \\"wk_cms_data_warehouse\\",\\n \\"logstore\\": \\"memory-store\\"\\n },\\n \\"sourceType\\": \\"Trace\\",\\n \\"traceSourceConfig\\": {\\n \\"workspace\\": \\"test-workspace\\",\\n \\"includeOutput\\": false,\\n \\"query\\": \\"(serviceName : \\\\\\"langchain-rag\\\\\\" or serviceName : \\\\\\"agentscope-code-correction\\\\\\") and hostname = frontend-proxy-999c48c8d-hvk6c \\"\\n }\\n}","type":"json"}]',
],
'GetPipeline' => [
'summary' => 'Query pipeline',
'path' => '/workspace/{workspace}/pipeline/{pipelineName}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => false, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'pipelineName',
'in' => 'path',
'schema' => ['description' => 'The name of the pipeline.', 'type' => 'string', 'required' => false, 'example' => 'pipeline-name-1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '3430AE20-AFFF-597C-B553-2DF04B2933AA'],
'pipelineName' => ['description' => 'The pipeline name.', 'type' => 'string', 'example' => 'pipeline-name-1', 'title' => ''],
'description' => ['description' => 'The description of the pipeline.', 'type' => 'string', 'example' => 'workspace test', 'title' => ''],
'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '2025-03-11T08:21:58Z', 'title' => ''],
'updateTime' => ['description' => 'The update time.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '2026-02-06T14:09:11Z', 'title' => ''],
'workspace' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'workspace-test', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
'source' => [
'type' => 'object',
'properties' => [
'type' => ['description' => 'The type of the data source.', 'type' => 'string', 'example' => 'logstore', 'title' => ''],
'logstore' => [
'type' => 'object',
'properties' => [
'project' => ['description' => 'The name of the Log Service project.', 'type' => 'string', 'example' => 'test-project', 'title' => ''],
'logstore' => ['description' => 'The name of the Log Service Logstore.', 'type' => 'string', 'example' => 'test-logstore', 'title' => ''],
'query' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => 'The configuration of the Log Service Logstore.',
'title' => '',
'example' => '',
],
],
'description' => 'The pipeline\'s data source.',
'title' => '',
'example' => '',
],
'pipeline' => [
'type' => 'object',
'properties' => [
'nodes' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'id' => ['description' => 'The node ID.', 'type' => 'string', 'example' => 'node_1', 'title' => ''],
'type' => ['description' => 'The node type.', 'type' => 'string', 'example' => 'dedup-fuzzy', 'title' => ''],
'parameters' => [
'type' => 'object',
'additionalProperties' => ['description' => 'The node-specific parameters.', 'type' => 'any', 'example' => '{'."\n"
.' "output": "ID,key_0,key_2,key_3,key_4",'."\n"
.' "workspace": "workspace-test-dataset",'."\n"
.' "field": "key_0",'."\n"
.' "global": true,'."\n"
.' "dataset": "dataset_1"'."\n"
.' }', 'title' => ''],
'description' => 'The parameters for the node.',
'title' => '',
'example' => '',
],
],
'description' => 'A node in the pipeline.',
'title' => '',
'example' => '',
],
'description' => 'The nodes in the pipeline.',
'title' => '',
'example' => '',
],
],
'description' => 'The pipeline configuration.',
'title' => '',
'example' => '',
],
'sink' => [
'type' => 'object',
'properties' => [
'type' => ['description' => 'The sink type.', 'type' => 'string', 'example' => 'dataset', 'title' => ''],
'dataset' => [
'type' => 'object',
'properties' => [
'workspace' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'workspace-test', 'title' => ''],
'dataset' => ['description' => 'The dataset name.', 'type' => 'string', 'example' => 'dataset_1', 'title' => ''],
],
'description' => 'The dataset configuration.',
'title' => '',
'example' => '',
],
],
'description' => 'The pipeline\'s data sink.',
'title' => '',
'example' => '',
],
'executePolicy' => [
'type' => 'object',
'properties' => [
'mode' => ['description' => 'The execution mode.', 'type' => 'string', 'example' => 'runOnce', 'title' => ''],
'runOnce' => [
'type' => 'object',
'properties' => [
'fromTime' => ['description' => 'The start time of the execution, as a Unix timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1772519013', 'title' => ''],
'toTime' => ['description' => 'The end time of the execution, as a Unix timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1772519013', 'title' => ''],
],
'description' => 'The configuration for a one-time execution.',
'title' => '',
'example' => '',
],
'scheduled' => [
'type' => 'object',
'properties' => [
'interval' => ['description' => 'The execution interval in seconds.', 'type' => 'string', 'example' => '86400', 'title' => ''],
'fromTime' => ['description' => 'The start time of the execution, as a Unix timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1772519013', 'title' => ''],
],
'description' => 'The configuration for a scheduled execution.',
'title' => '',
'example' => '',
],
],
'description' => 'The execution policy.',
'title' => '',
'example' => '',
],
],
'title' => '',
'description' => 'The returned data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetPipeline',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'cms:GetPipeline',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Pipeline', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/pipeline/{#PipelineName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3430AE20-AFFF-597C-B553-2DF04B2933AA\\",\\n \\"pipelineName\\": \\"pipeline-name-1\\",\\n \\"description\\": \\"workspace test\\",\\n \\"createTime\\": \\"2025-03-11T08:21:58Z\\",\\n \\"updateTime\\": \\"2026-02-06T14:09:11Z\\",\\n \\"workspace\\": \\"workspace-test\\",\\n \\"regionId\\": \\"cn-hangzhou\\",\\n \\"source\\": {\\n \\"type\\": \\"logstore\\",\\n \\"logstore\\": {\\n \\"project\\": \\"test-project\\",\\n \\"logstore\\": \\"test-logstore\\",\\n \\"query\\": \\"\\"\\n }\\n },\\n \\"pipeline\\": {\\n \\"nodes\\": [\\n {\\n \\"id\\": \\"node_1\\",\\n \\"type\\": \\"dedup-fuzzy\\",\\n \\"parameters\\": {\\n \\"key\\": \\"{\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"output\\\\\\": \\\\\\"ID,key_0,key_2,key_3,key_4\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"workspace\\\\\\": \\\\\\"workspace-test-dataset\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"field\\\\\\": \\\\\\"key_0\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"global\\\\\\": true,\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"dataset\\\\\\": \\\\\\"dataset_1\\\\\\"\\\\n\\\\t\\\\t\\\\t}\\"\\n }\\n }\\n ]\\n },\\n \\"sink\\": {\\n \\"type\\": \\"dataset\\",\\n \\"dataset\\": {\\n \\"workspace\\": \\"workspace-test\\",\\n \\"dataset\\": \\"dataset_1\\"\\n }\\n },\\n \\"executePolicy\\": {\\n \\"mode\\": \\"runOnce\\",\\n \\"runOnce\\": {\\n \\"fromTime\\": 1772519013,\\n \\"toTime\\": 1772519013\\n },\\n \\"scheduled\\": {\\n \\"interval\\": \\"86400\\",\\n \\"fromTime\\": 1772519013\\n }\\n }\\n}","type":"json"}]',
],
'GetPrometheusInstance' => [
'summary' => 'Queries the details of a specified Managed Service for Prometheus instance.',
'path' => '/prometheus-instances/{prometheusInstanceId}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREcmsCP2WWY'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'prometheusInstanceId',
'in' => 'path',
'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'rw-abc123', 'title' => ''],
],
[
'name' => 'resourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2bhocin5e2na', 'title' => ''],
],
[
'name' => 'aliyunLang',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The language. Default value: zh. Valid values: zh, en.', 'type' => 'string', 'default' => 'zh', 'required' => false, 'example' => 'zh'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'prometheusInstance' => [
'description' => 'The details of the Prometheus instance.',
'type' => 'object',
'properties' => [
'accessType' => ['title' => '', 'description' => 'The access type. Valid values:'."\n"
.'- readWrite'."\n"
.'- readOnly'."\n"
.'- httpReadOnly', 'type' => 'string', 'example' => 'readOnly'],
'archiveDuration' => ['title' => '', 'description' => 'The number of days that data is automatically archived after the storage period expires. A value of 0 indicates that data is not archived. A value of 3650 indicates that data is permanently retained.', 'type' => 'integer', 'format' => 'int32', 'example' => '90'],
'authFreeReadPolicy' => ['title' => '', 'description' => 'The authentication-free read policy. IP CIDR blocks and VPC IDs are supported.', 'type' => 'string', 'example' => '{'."\n"
.' "SourceIp": ['."\n"
.' "192.168.1.0/24",'."\n"
.' "172.168.2.22"'."\n"
.' ],'."\n"
.' "SourceVpc": ['."\n"
.' "vpc-xx1",'."\n"
.' "vpc-xx2"'."\n"
.' ]'."\n"
.'}'],
'authFreeWritePolicy' => ['title' => '', 'description' => 'The authentication-free write policy. IP CIDR blocks and VPC IDs are supported.', 'type' => 'string', 'example' => '{'."\n"
.' "SourceIp": ['."\n"
.' "192.168.1.0/24",'."\n"
.' "172.168.2.22"'."\n"
.' ],'."\n"
.' "SourceVpc": ['."\n"
.' "vpc-xx1",'."\n"
.' "vpc-xx2"'."\n"
.' ]'."\n"
.'}'],
'authToken' => ['title' => '', 'description' => 'The authentication token.', 'type' => 'string', 'example' => 'eJwixxxxx'],
'createTime' => ['title' => '', 'description' => 'The time when the instance was created. The time is in UTC+0 and in the yyyy-MM-ddTHH:mmZ format.', 'type' => 'string', 'example' => '2025-08-10T02:07:53Z'],
'enableAuthFreeRead' => ['title' => '', 'description' => 'Indicates whether authentication-free read is enabled.', 'type' => 'boolean', 'example' => 'true'],
'enableAuthFreeWrite' => ['title' => '', 'description' => 'Indicates whether authentication-free write is enabled.', 'type' => 'boolean', 'example' => 'true'],
'enableAuthToken' => ['description' => 'Indicates whether the authentication token is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'extraInfo' => [
'title' => '',
'description' => 'The extended information.',
'type' => 'object',
'additionalProperties' => ['description' => 'The additional extended information.', 'type' => 'string', 'example' => 'value', 'title' => ''],
'example' => '',
],
'httpApiInterUrl' => ['description' => 'The HTTP public endpoint.', 'type' => 'string', 'example' => ' http://workspace-default-cms-xxxxxxx', 'title' => ''],
'httpApiIntraUrl' => ['description' => 'The HTTP private endpoint.', 'type' => 'string', 'example' => ' http://workspace-default-cms-xxxxxxx', 'title' => ''],
'httpApiInternalUrl' => ['description' => 'The HTTP internal endpoint.', 'type' => 'string', 'example' => ' http://workspace-default-cms-xxxxxxx', 'title' => ''],
'instanceType' => ['title' => '', 'description' => 'The Prometheus instance type.', 'type' => 'string', 'example' => 'remote-write'],
'paymentType' => ['title' => '', 'description' => 'The billing method. Valid values:'."\n"
.'- POSTPAY: pay-as-you-go based on the number of reported metrics.'."\n"
.'- POSTPAY_GB: pay-as-you-go based on the volume of written metrics.', 'type' => 'string', 'example' => 'POSTPAY'],
'product' => ['title' => '', 'description' => 'The product to which the Prometheus instance belongs (arms or cms).', 'type' => 'string', 'example' => 'cms'],
'prometheusInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'rw-524ada714221af267c73122af2e1', 'title' => ''],
'prometheusInstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'test-prom-name', 'title' => ''],
'pushGatewayInterUrl' => ['description' => 'The PushGateway public endpoint.', 'type' => 'string', 'example' => ' http://workspace-default-cms-xxxxxxx', 'title' => ''],
'pushGatewayIntraUrl' => ['description' => 'The PushGateway private endpoint.', 'type' => 'string', 'example' => ' http://workspace-default-cms-xxxxxxx'."\n", 'title' => ''],
'pushGatewayInternalUrl' => ['description' => 'The PushGateway internal endpoint.', 'type' => 'string', 'example' => ' http://workspace-default-cms-xxxxxxx', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-heyuan', 'title' => ''],
'remoteReadInterUrl' => ['description' => 'The public read endpoint.', 'type' => 'string', 'example' => ' http://workspace-default-cms-xxxxxxx', 'title' => ''],
'remoteReadIntraUrl' => ['description' => 'The private read endpoint.', 'type' => 'string', 'example' => 'https://workspace-default-cms-1xxxxxxxxxx', 'title' => ''],
'remoteReadInternalUrl' => ['description' => 'The RemoteRead internal endpoint.', 'type' => 'string', 'example' => 'https://workspace-default-cms-1xxxxxxxxxx', 'title' => ''],
'remoteWriteInterUrl' => ['description' => 'The public write endpoint.', 'type' => 'string', 'example' => 'https://workspace-default-cms-xxxxxxxxxx', 'title' => ''],
'remoteWriteIntraUrl' => ['description' => 'The private write endpoint.', 'type' => 'string', 'example' => 'https://workspace-default-cms-xxxxxxxxxx', 'title' => ''],
'remoteWriteInternalUrl' => ['description' => 'The RemoteWrite internal endpoint.', 'type' => 'string', 'example' => 'https://workspace-default-cms-xxxxxxxxxx', 'title' => ''],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfm3gn5i6bigbi', 'title' => ''],
'resourceType' => ['title' => '', 'description' => 'Fixed value: PrometheusInstance.', 'type' => 'string', 'example' => 'Prometheus'],
'status' => ['title' => '', 'description' => 'The instance status.', 'type' => 'string', 'example' => 'Running'],
'storageDuration' => ['title' => '', 'description' => 'The storage duration, in days.', 'type' => 'integer', 'format' => 'int32', 'example' => '90'],
'supportAuthTypes' => [
'title' => '',
'description' => 'The supported authentication types.',
'type' => 'array',
'items' => [
'description' => 'The authentication type.',
'enumValueTitles' => ['BasicAuth' => 'HTTP basic authentication.', 'AuthFree' => 'Authentication-free.', 'AuthToken' => 'Token-based authentication.'],
'type' => 'string',
'enum' => ['BasicAuth', 'AuthFree', 'AuthToken'],
'example' => 'BasicAuth',
'title' => '',
],
'example' => '',
],
'tags' => [
'description' => 'The list of tags.',
'type' => 'array',
'items' => [
'description' => 'The tag.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'openStorage', 'title' => ''],
'value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => '130303196111114281', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '170731234567', 'title' => ''],
'version' => ['title' => '', 'description' => 'The version.', 'type' => 'string', 'example' => 'V1'],
'workspace' => ['title' => '', 'description' => 'The workspace to which the Prometheus instance belongs.', 'type' => 'string', 'example' => 'ws1'],
'folderUrl' => ['title' => '', 'description' => 'The dashboard directory URL.', 'type' => 'string', 'example' => 'https://gnew.console.aliyun.com/dashboards/f/c49a80d2a551d4a20a8c4b996b0be4e52/xxxxxxx'],
'grafanaInstanceId' => ['title' => '', 'description' => 'The instance ID of the attached managed Grafana instance.', 'type' => 'string', 'example' => 'SHARED'],
'grafanaInstanceName' => ['title' => '', 'description' => 'The name of the associated managed Grafana instance.', 'type' => 'string', 'example' => '共享版'],
'paymentTypeUpdateTime' => ['title' => '', 'description' => 'The time when the billing method of the instance was last modified, in UTC format.', 'type' => 'string', 'example' => '2025-08-10T02:07:53Z'],
],
'title' => '',
'example' => '',
],
'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"prometheusInstance\\": {\\n \\"accessType\\": \\"readOnly\\",\\n \\"archiveDuration\\": 90,\\n \\"authFreeReadPolicy\\": \\"{\\\\n \\\\\\"SourceIp\\\\\\": [\\\\n \\\\\\"192.168.1.0/24\\\\\\",\\\\n \\\\\\"172.168.2.22\\\\\\"\\\\n ],\\\\n \\\\\\"SourceVpc\\\\\\": [\\\\n \\\\\\"vpc-xx1\\\\\\",\\\\n \\\\\\"vpc-xx2\\\\\\"\\\\n ]\\\\n}\\",\\n \\"authFreeWritePolicy\\": \\"{\\\\n \\\\\\"SourceIp\\\\\\": [\\\\n \\\\\\"192.168.1.0/24\\\\\\",\\\\n \\\\\\"172.168.2.22\\\\\\"\\\\n ],\\\\n \\\\\\"SourceVpc\\\\\\": [\\\\n \\\\\\"vpc-xx1\\\\\\",\\\\n \\\\\\"vpc-xx2\\\\\\"\\\\n ]\\\\n}\\",\\n \\"authToken\\": \\"eJwixxxxx\\",\\n \\"createTime\\": \\"2025-08-10T02:07:53Z\\",\\n \\"enableAuthFreeRead\\": true,\\n \\"enableAuthFreeWrite\\": true,\\n \\"enableAuthToken\\": true,\\n \\"extraInfo\\": {\\n \\"key\\": \\"value\\"\\n },\\n \\"httpApiInterUrl\\": \\" http://workspace-default-cms-xxxxxxx\\",\\n \\"httpApiIntraUrl\\": \\" http://workspace-default-cms-xxxxxxx\\",\\n \\"httpApiInternalUrl\\": \\" http://workspace-default-cms-xxxxxxx\\",\\n \\"instanceType\\": \\"remote-write\\",\\n \\"paymentType\\": \\"POSTPAY\\",\\n \\"product\\": \\"cms\\",\\n \\"prometheusInstanceId\\": \\"rw-524ada714221af267c73122af2e1\\",\\n \\"prometheusInstanceName\\": \\"test-prom-name\\",\\n \\"pushGatewayInterUrl\\": \\" http://workspace-default-cms-xxxxxxx\\",\\n \\"pushGatewayIntraUrl\\": \\" http://workspace-default-cms-xxxxxxx\\\\n\\",\\n \\"pushGatewayInternalUrl\\": \\" http://workspace-default-cms-xxxxxxx\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"remoteReadInterUrl\\": \\" http://workspace-default-cms-xxxxxxx\\",\\n \\"remoteReadIntraUrl\\": \\"https://workspace-default-cms-1xxxxxxxxxx\\",\\n \\"remoteReadInternalUrl\\": \\"https://workspace-default-cms-1xxxxxxxxxx\\",\\n \\"remoteWriteInterUrl\\": \\"https://workspace-default-cms-xxxxxxxxxx\\",\\n \\"remoteWriteIntraUrl\\": \\"https://workspace-default-cms-xxxxxxxxxx\\",\\n \\"remoteWriteInternalUrl\\": \\"https://workspace-default-cms-xxxxxxxxxx\\",\\n \\"resourceGroupId\\": \\"rg-acfm3gn5i6bigbi\\",\\n \\"resourceType\\": \\"Prometheus\\",\\n \\"status\\": \\"Running\\",\\n \\"storageDuration\\": 90,\\n \\"supportAuthTypes\\": [\\n \\"BasicAuth\\"\\n ],\\n \\"tags\\": [\\n {\\n \\"key\\": \\"openStorage\\",\\n \\"value\\": \\"130303196111114281\\"\\n }\\n ],\\n \\"userId\\": \\"170731234567\\",\\n \\"version\\": \\"V1\\",\\n \\"workspace\\": \\"ws1\\",\\n \\"folderUrl\\": \\"https://gnew.console.aliyun.com/dashboards/f/c49a80d2a551d4a20a8c4b996b0be4e52/xxxxxxx\\",\\n \\"grafanaInstanceId\\": \\"SHARED\\",\\n \\"grafanaInstanceName\\": \\"共享版\\",\\n \\"paymentTypeUpdateTime\\": \\"2025-08-10T02:07:53Z\\"\\n },\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\"\\n}","type":"json"}]',
'title' => 'Get prometheus instance details',
'description' => 'Retrieves the details of a Managed Service for Prometheus instance.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPrometheusInstance'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetPrometheusInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'PrometheusInstance', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#prometheusInstanceId}'],
],
],
],
],
],
'GetPrometheusUserSetting' => [
'path' => '/prometheus-user-setting',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREcmsCP2WWY'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'aliyunLang',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The language of the response. Valid values: zh and en. Default value: zh.', 'type' => 'string', 'required' => false, 'default' => 'zh', 'example' => 'zh'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response schema.',
'type' => 'object',
'properties' => [
'prometheusUserSetting' => [
'description' => 'The details of the user settings for Prometheus.',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => 'The value of the configuration item.', 'title' => '', 'example' => 'value1'],
'title' => '',
'example' => '',
],
'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '058550FA-DDBE-519E-9C6D-93521B9A5E90'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'GetPrometheusUserSetting',
'summary' => 'Retrieves the user settings for Prometheus.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"prometheusUserSetting\\": {\\n \\"key\\": \\"value1\\"\\n },\\n \\"requestId\\": \\"058550FA-DDBE-519E-9C6D-93521B9A5E90\\"\\n}","type":"json"}]',
],
'GetPrometheusView' => [
'summary' => 'Queries the details of a specified Prometheus view instance.',
'path' => '/prometheus-views/{prometheusViewId}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREcmsCP2WWY'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'prometheusViewId',
'in' => 'path',
'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rw-xxxxxx', 'title' => ''],
],
[
'name' => 'resourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2bhocin5e2na', 'title' => ''],
],
[
'name' => 'aliyunLang',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The language. Default value: zh. Valid values: zh and en.', 'type' => 'string', 'default' => 'zh', 'required' => false, 'example' => 'zh'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'prometheusView' => [
'description' => 'The view instance.',
'type' => 'object',
'properties' => [
'authFreeReadPolicy' => ['title' => '', 'description' => 'The authentication-free read policy. IP CIDR blocks and VPC IDs are supported.', 'type' => 'string', 'example' => '{'."\n"
.' "SourceIp": ['."\n"
.' "192.168.1.0/24",'."\n"
.' "172.168.2.22"'."\n"
.' ],'."\n"
.' "SourceVpc": ['."\n"
.' "vpc-xx1",'."\n"
.' "vpc-xx2"'."\n"
.' ]'."\n"
.'}'],
'authToken' => ['title' => '', 'description' => 'The authentication token string.', 'type' => 'string', 'example' => 'eJxxxxxx'],
'createTime' => ['title' => '', 'description' => 'The time when the instance was created. The time is in UTC+0 and in the yyyy-MM-ddTHH:mmZ format.', 'type' => 'string', 'example' => '2025-08-10T02:07:53Z'],
'enableAuthFreeRead' => ['title' => '', 'description' => 'Indicates whether authentication-free read is enabled.', 'type' => 'boolean', 'example' => 'true'],
'enableAuthToken' => ['title' => '', 'description' => 'Indicates whether the authentication token is enabled.', 'type' => 'boolean', 'example' => 'true'],
'httpApiInterUrl' => ['description' => 'The public HTTP URL.', 'type' => 'string', 'example' => 'http://xxxxxxxx', 'title' => ''],
'httpApiIntraUrl' => ['description' => 'The internal HTTP URL.', 'type' => 'string', 'example' => 'http://xxxxxxxx', 'title' => ''],
'httpApiInternalUrl' => ['description' => 'The internal HTTP URL.', 'type' => 'string', 'example' => 'https://workspace-xxx.cn-hangzhou-internal.log.aliyuncs.com/prometheus/workspace-xxx/aliyun-prom-rw-xxx', 'title' => ''],
'instanceType' => ['title' => '', 'description' => 'The instance type. The value is fixed as prom-view.', 'type' => 'string', 'example' => 'prom-view'],
'paymentType' => ['title' => '', 'description' => 'The billing type. The value is currently fixed as FREE.', 'type' => 'string', 'example' => 'FREE'],
'product' => ['title' => '', 'description' => 'The product to which the Prometheus instance belongs.', 'type' => 'string', 'example' => 'cms'],
'prometheusInstances' => [
'description' => 'The list of Prometheus instances.',
'type' => 'array',
'items' => [
'description' => 'The list of Prometheus instances.',
'type' => 'object',
'properties' => [
'prometheusInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'rw-63549e054ff596a4149927961dff', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-north-2-gov-1', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '122xxxxx', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'prometheusViewId' => ['description' => 'The Prometheus view ID.', 'type' => 'string', 'example' => 'view-xxx', 'title' => ''],
'prometheusViewName' => ['description' => 'The Prometheus view name.', 'type' => 'string', 'example' => 'view1', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''],
'remoteReadInterUrl' => ['description' => 'The public URL for remote read.', 'type' => 'string', 'example' => 'http://workspace-default-cms-xxx-cn-hangzhou.cn-hangzhou.log.aliyuncs.com/prometheus/workspace-default-cms-xxx-cn-hangzhou/xxx/api/v1/read', 'title' => ''],
'remoteReadIntraUrl' => ['description' => 'The internal URL for remote read.', 'type' => 'string', 'example' => 'http://workspace-default-cms-xxx-cn-hangzhou.cn-hangzhou-intranet.log.aliyuncs.com/prometheus/workspace-default-cms-xxx-cn-hangzhou/xxx/api/v1/read', 'title' => ''],
'remoteReadInternalUrl' => ['description' => 'The internal endpoint for remote read.', 'type' => 'string', 'example' => 'http://workspace-default-cms-xxx-cn-hangzhou.cn-hangzhou-internal.log.aliyuncs.com/prometheus/workspace-default-cms-xxx-cn-hangzhou/xxx/api/v1/read', 'title' => ''],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfm3gn5i6bigbi', 'title' => ''],
'resourceType' => ['title' => '', 'description' => 'The resource type. The value is fixed as PrometheusView.', 'type' => 'string', 'example' => 'RegistryModule'],
'status' => ['title' => '', 'description' => 'The status of the backend data storage.', 'type' => 'string', 'example' => 'Pending2Running'],
'supportAuthTypes' => [
'description' => 'The supported authentication types.',
'type' => 'array',
'items' => ['description' => 'The supported authentication types.', 'type' => 'string', 'example' => 'BasicAuth', 'title' => ''],
'title' => '',
'example' => '',
],
'tags' => [
'description' => 'The tag keys of the instance.',
'type' => 'array',
'items' => [
'description' => 'The tag.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The integration key of PagerDuty.', 'type' => 'string', 'example' => 'global_score_series', 'title' => ''],
'value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => '371293199010092839', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '11222', 'title' => ''],
'version' => ['title' => '', 'description' => 'The version.', 'type' => 'string', 'example' => 'V1'],
'workspace' => ['title' => '', 'description' => 'The workspace to which the environment belongs.', 'type' => 'string', 'example' => 'cms-monitor-test-aysls-pub-cn-fuzhou-monitor'],
'folderUrl' => ['title' => '', 'description' => 'The dashboard URL.', 'type' => 'string', 'example' => 'https://xxxx'],
'grafanaInstanceId' => ['title' => '', 'description' => 'The instance ID of the attached managed Grafana instance.', 'type' => 'string', 'example' => 'g-xxx '],
'grafanaInstanceName' => ['title' => '', 'description' => 'The name of the associated managed Grafana instance.', 'type' => 'string', 'example' => 'gxxx'],
],
'title' => '',
'example' => '',
],
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"prometheusView\\": {\\n \\"authFreeReadPolicy\\": \\"{\\\\n \\\\\\"SourceIp\\\\\\": [\\\\n \\\\\\"192.168.1.0/24\\\\\\",\\\\n \\\\\\"172.168.2.22\\\\\\"\\\\n ],\\\\n \\\\\\"SourceVpc\\\\\\": [\\\\n \\\\\\"vpc-xx1\\\\\\",\\\\n \\\\\\"vpc-xx2\\\\\\"\\\\n ]\\\\n}\\",\\n \\"authToken\\": \\"eJxxxxxx\\",\\n \\"createTime\\": \\"2025-08-10T02:07:53Z\\",\\n \\"enableAuthFreeRead\\": true,\\n \\"enableAuthToken\\": true,\\n \\"httpApiInterUrl\\": \\"http://xxxxxxxx\\",\\n \\"httpApiIntraUrl\\": \\"http://xxxxxxxx\\",\\n \\"httpApiInternalUrl\\": \\"https://workspace-xxx.cn-hangzhou-internal.log.aliyuncs.com/prometheus/workspace-xxx/aliyun-prom-rw-xxx\\",\\n \\"instanceType\\": \\"prom-view\\",\\n \\"paymentType\\": \\"FREE\\",\\n \\"product\\": \\"cms\\",\\n \\"prometheusInstances\\": [\\n {\\n \\"prometheusInstanceId\\": \\"rw-63549e054ff596a4149927961dff\\",\\n \\"regionId\\": \\"cn-north-2-gov-1\\",\\n \\"userId\\": \\"122xxxxx\\"\\n }\\n ],\\n \\"prometheusViewId\\": \\"view-xxx\\",\\n \\"prometheusViewName\\": \\"view1\\",\\n \\"regionId\\": \\"cn-shanghai\\",\\n \\"remoteReadInterUrl\\": \\"http://workspace-default-cms-xxx-cn-hangzhou.cn-hangzhou.log.aliyuncs.com/prometheus/workspace-default-cms-xxx-cn-hangzhou/xxx/api/v1/read\\",\\n \\"remoteReadIntraUrl\\": \\"http://workspace-default-cms-xxx-cn-hangzhou.cn-hangzhou-intranet.log.aliyuncs.com/prometheus/workspace-default-cms-xxx-cn-hangzhou/xxx/api/v1/read\\",\\n \\"remoteReadInternalUrl\\": \\"http://workspace-default-cms-xxx-cn-hangzhou.cn-hangzhou-internal.log.aliyuncs.com/prometheus/workspace-default-cms-xxx-cn-hangzhou/xxx/api/v1/read\\",\\n \\"resourceGroupId\\": \\"rg-acfm3gn5i6bigbi\\",\\n \\"resourceType\\": \\"RegistryModule\\",\\n \\"status\\": \\"Pending2Running\\",\\n \\"supportAuthTypes\\": [\\n \\"BasicAuth\\"\\n ],\\n \\"tags\\": [\\n {\\n \\"key\\": \\"global_score_series\\",\\n \\"value\\": \\"371293199010092839\\"\\n }\\n ],\\n \\"userId\\": \\"11222\\",\\n \\"version\\": \\"V1\\",\\n \\"workspace\\": \\"cms-monitor-test-aysls-pub-cn-fuzhou-monitor\\",\\n \\"folderUrl\\": \\"https://xxxx\\",\\n \\"grafanaInstanceId\\": \\"g-xxx \\",\\n \\"grafanaInstanceName\\": \\"gxxx\\"\\n },\\n \\"requestId\\": \\"0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8\\"\\n}","type":"json"}]',
'title' => 'Query the details of a specified prometheus view instance',
'description' => 'Queries a specified Prometheus view instance.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPrometheusView'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetPrometheusView',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'PrometheusView', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusview/{#prometheusViewId}'],
],
],
],
],
],
'GetService' => [
'summary' => 'Retrieves the details of an Application Monitoring service.',
'path' => '/workspace/{workspace}/service/{serviceId}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'serviceId',
'in' => 'path',
'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'cwzxvuc6uo@4bc6b15ad81f166174ffb', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '264C3E89-BE6E-5F82-A484-CE9C2196C7DC', 'title' => ''],
'service' => [
'description' => 'The service object.',
'type' => 'object',
'properties' => [
'serviceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'cwzxvuc6uo@4bc6b15ad81f166174ffb'."\n", 'title' => ''],
'serviceName' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'demo-app', 'title' => ''],
'createTime' => ['description' => 'The time when the service was created.', 'type' => 'string', 'example' => '2025-05-13T03:32:55Z', 'title' => ''],
'serviceType' => [
'description' => 'The service type.',
'enumValueTitles' => ['TRACE' => 'TRACE', 'RUM' => 'RUM', 'XTRACE' => 'XTRACE'],
'type' => 'string',
'example' => 'TRACE',
'title' => '',
],
'serviceStatus' => ['description' => 'The service status. This parameter is valid only when serviceType is set to RUM.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
'displayName' => ['description' => 'The display name. This parameter is valid only when serviceType is set to RUM.', 'type' => 'string', 'example' => 'demo应用', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-heyuan', 'title' => ''],
'workspace' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'default-cms-1106439496876715-cn-hangzhou', 'title' => ''],
'pid' => ['description' => 'The ID of the ARMS application that is compatible with earlier versions.', 'type' => 'string', 'example' => 'by6rjzro2j@0fe8dfa799e5906', 'title' => ''],
'description' => ['description' => 'The description. This parameter is valid only when serviceType is set to RUM.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'attributes' => ['description' => 'The extended information.', 'type' => 'string', 'example' => '{"language":"java"}', 'title' => ''],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aekxxzuad5zzzz', 'title' => ''],
'tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'env', 'title' => ''],
'value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'prod', 'title' => ''],
],
'description' => 'The tag.',
'title' => '',
'example' => '',
],
'description' => 'The array of tags.',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'InvalidService.NotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-BE6E-5F82-A484-CE9C2196C7DC\\",\\n \\"service\\": {\\n \\"serviceId\\": \\"cwzxvuc6uo@4bc6b15ad81f166174ffb\\\\n\\",\\n \\"serviceName\\": \\"demo-app\\",\\n \\"createTime\\": \\"2025-05-13T03:32:55Z\\",\\n \\"serviceType\\": \\"TRACE\\",\\n \\"serviceStatus\\": \\"Running\\",\\n \\"displayName\\": \\"demo应用\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"workspace\\": \\"default-cms-1106439496876715-cn-hangzhou\\",\\n \\"pid\\": \\"by6rjzro2j@0fe8dfa799e5906\\",\\n \\"description\\": \\"test\\",\\n \\"attributes\\": \\"{\\\\\\"language\\\\\\":\\\\\\"java\\\\\\"}\\",\\n \\"resourceGroupId\\": \\"rg-aekxxzuad5zzzz\\",\\n \\"tags\\": [\\n {\\n \\"key\\": \\"env\\",\\n \\"value\\": \\"prod\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Query Application Observability Service',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetService'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetService',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Service', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/service/{#ServiceId}'],
],
],
],
],
],
'GetServiceObservability' => [
'path' => '/workspace/{workspace}/service-observability/{type}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The Cloud Monitor 2.0 workspace.', 'type' => 'string', 'required' => true, 'example' => 'my-test-ws', 'title' => ''],
],
[
'name' => 'type',
'in' => 'path',
'schema' => [
'description' => 'The application observability type.',
'enumValueTitles' => ['rum' => 'Real User Monitoring (RUM).', 'apm' => 'Application Performance Monitoring (APM).'],
'type' => 'string',
'required' => true,
'example' => 'apm',
'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response schema.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4852B9B5-345C-5CBC-A15F-786D83ECCBBA'],
'type' => [
'description' => 'The type of application observability.',
'enumValueTitles' => ['rum' => 'RUM', 'apm' => 'APM'],
'type' => 'string',
'example' => 'apm',
'title' => '',
],
'regionId' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
'workspace' => ['description' => 'The workspace name.', 'type' => 'string', 'example' => 'default-cms-1654218***343050-cn-hangzhou', 'title' => ''],
'status' => [
'description' => 'The resource initialization status.',
'enumValueTitles' => ['Running' => 'normal'],
'type' => 'string',
'example' => 'Running',
'title' => '',
],
'entryPointInfo' => [
'description' => 'The endpoint and authentication information.',
'type' => 'object',
'properties' => [
'authToken' => ['description' => 'The authentication token for reporting data.', 'type' => 'string', 'example' => 'gaddp****@de20f2***1ce***', 'title' => ''],
'publicDomain' => ['description' => 'The public endpoint.', 'type' => 'string', 'example' => 'project-xtrace-xxxx-cn-hangzhou.cn-hangzhou.log.aliyuncs.com', 'title' => ''],
'privateDomain' => ['description' => 'The internal endpoint.', 'type' => 'string', 'example' => 'project-xtrace-xxxx-cn-hangzhou.cn-hangzhou-intranet.log.aliyuncs.com', 'title' => ''],
'project' => ['description' => 'The Simple Log Service project.', 'type' => 'string', 'example' => 'proj-xtrace-xxxxx', 'title' => ''],
],
'title' => '',
'example' => '',
],
'feeType' => ['description' => 'The billing type.', 'type' => 'string', 'example' => 'arms=serverless;xtrace=serverless', 'title' => ''],
'settings' => [
'description' => 'The system configuration.',
'type' => 'object',
'additionalProperties' => ['description' => 'The configuration key-value pairs.', 'type' => 'string', 'example' => '{"trace_aggregate":"enable"}', 'title' => ''],
'title' => '',
'example' => '',
],
'quotas' => [
'description' => 'The quota configuration.',
'type' => 'object',
'additionalProperties' => ['description' => 'The quota configuration key-value pairs.', 'type' => 'string', 'example' => '{"arms_agent_hour": "48"}', 'title' => ''],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Get Application Observability',
'summary' => 'Retrieves an application observability instance.',
'extraInfo' => 'settIngs系统配置支持如下:'."\n"
.'* trace_aggregate : enable / disable,用于开源探针接入场景控制是否关闭指标生成',
'changeSet' => [
['createdAt' => '2025-07-23T04:58:08.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceObservability'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetServiceObservability',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Workspace', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service-observability/{#type}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4852B9B5-345C-5CBC-A15F-786D83ECCBBA\\",\\n \\"type\\": \\"apm\\",\\n \\"regionId\\": \\"cn-hangzhou\\",\\n \\"workspace\\": \\"default-cms-1654218***343050-cn-hangzhou\\",\\n \\"status\\": \\"Running\\",\\n \\"entryPointInfo\\": {\\n \\"authToken\\": \\"gaddp****@de20f2***1ce***\\",\\n \\"publicDomain\\": \\"project-xtrace-xxxx-cn-hangzhou.cn-hangzhou.log.aliyuncs.com\\",\\n \\"privateDomain\\": \\"project-xtrace-xxxx-cn-hangzhou.cn-hangzhou-intranet.log.aliyuncs.com\\",\\n \\"project\\": \\"proj-xtrace-xxxxx\\"\\n },\\n \\"feeType\\": \\"arms=serverless;xtrace=serverless\\",\\n \\"settings\\": {\\n \\"key\\": \\"{\\\\\\"trace_aggregate\\\\\\":\\\\\\"enable\\\\\\"}\\"\\n },\\n \\"quotas\\": {\\n \\"key\\": \\"{\\\\\\"arms_agent_hour\\\\\\": \\\\\\"48\\\\\\"}\\"\\n }\\n}","type":"json"}]',
],
'GetServiceRecord' => [
'path' => '/workspace/{workspace}/service/{serviceId}/record',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'serviceId',
'in' => 'path',
'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'cwzxvuc6uo@4bc6b15ad81f166174ffb', 'title' => ''],
],
[
'name' => 'recordType',
'in' => 'query',
'schema' => [
'title' => '',
'description' => 'The type of the linked entry. Currently supported values:'."\n"
.'logCorrelation: indicates application log association.',
'type' => 'string',
'required' => true,
'enum' => ['logCorrelation'],
'example' => 'logCorrelation',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
'record' => [
'description' => 'The record.',
'type' => 'object',
'properties' => [
'workspace' => ['title' => '', 'description' => 'The workspace.', 'type' => 'string', 'example' => 'default-cms-1610600919225911-cn-beijing'],
'serviceId' => ['title' => '', 'description' => 'The unique identifier of the service.', 'type' => 'string', 'example' => 'ckj0xn6ma3@b96491402f8e1f15a8c79'],
'recordType' => ['title' => '', 'description' => 'The type of the linked entry. Currently supported values:'."\n"
.'logCorrelation: indicates application log association.', 'type' => 'string', 'example' => 'logCorrelation'],
'recordContent' => ['title' => '', 'description' => 'The entry content in JSON string format. The returned content varies depending on the recordType.', 'type' => 'string', 'example' => '{"project":"proj-xtrace-16c988dcfe21fcb73c5e6f234927d998-cn-hangzhou","storeName":"app-biz-log","regionId":"cn-hangzhou","bindType":"logstore","traceIdRelateField":""}'],
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Get a service-linked entry',
'summary' => 'Queries a service-linked entry.',
'description' => 'Retrieves a service-linked entry.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"record\\": {\\n \\"workspace\\": \\"default-cms-1610600919225911-cn-beijing\\",\\n \\"serviceId\\": \\"ckj0xn6ma3@b96491402f8e1f15a8c79\\",\\n \\"recordType\\": \\"logCorrelation\\",\\n \\"recordContent\\": \\"{\\\\\\"project\\\\\\":\\\\\\"proj-xtrace-16c988dcfe21fcb73c5e6f234927d998-cn-hangzhou\\\\\\",\\\\\\"storeName\\\\\\":\\\\\\"app-biz-log\\\\\\",\\\\\\"regionId\\\\\\":\\\\\\"cn-hangzhou\\\\\\",\\\\\\"bindType\\\\\\":\\\\\\"logstore\\\\\\",\\\\\\"traceIdRelateField\\\\\\":\\\\\\"\\\\\\"}\\"\\n }\\n}","type":"json"}]',
],
'GetUmodel' => [
'summary' => 'Retrieves the configuration of a Umodel.',
'path' => '/workspace/{workspace}/umodel',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'commonSchemaRef' => [
'description' => 'This parameter is reserved.',
'type' => 'array',
'items' => [
'description' => 'This parameter is reserved.',
'type' => 'object',
'properties' => [
'group' => ['description' => 'The public Umodel schema group.', 'type' => 'string', 'title' => '', 'example' => 'test-job-123123'],
'version' => ['description' => 'The version.', 'type' => 'string', 'title' => '', 'example' => '5'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'description' => ['description' => 'The Umodel description.', 'type' => 'string', 'title' => '', 'example' => 'workspace test'],
'regionId' => ['description' => 'The region of the resource.', 'type' => 'string', 'title' => '', 'example' => 'cn-heyuan'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '123-123123-sdf-435-3123'],
'workspace' => ['description' => 'The workspace name.', 'type' => 'string', 'title' => '', 'example' => 'workspace-test'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"commonSchemaRef\\": [\\n {\\n \\"group\\": \\"test-job-123123\\",\\n \\"version\\": \\"5\\"\\n }\\n ],\\n \\"description\\": \\"workspace test\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"requestId\\": \\"123-123123-sdf-435-3123\\",\\n \\"workspace\\": \\"workspace-test\\"\\n}","type":"json"}]',
'title' => 'Get Umodel',
'description' => 'Retrieves the configuration of a Umodel.',
'changeSet' => [
['createdAt' => '2025-08-12T02:41:41.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUmodel'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetUmodel',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Umodel', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel'],
],
],
],
],
],
'GetUmodelCommonSchemaRef' => [
'summary' => 'Retrieves the referenced common Umodel schema.',
'path' => '/workspace/{workspace}/umodel/common-schema-ref',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'commonSchemaRef' => [
'description' => 'The referenced common Umodel Schema.',
'type' => 'array',
'items' => [
'description' => 'The referenced common Umodel Schema.',
'type' => 'object',
'properties' => [
'group' => ['description' => 'The common Umodel Schema group.', 'type' => 'string', 'title' => '', 'example' => 'apm-common'],
'version' => ['description' => 'The version.', 'type' => 'string', 'title' => '', 'example' => '0.1.0'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"commonSchemaRef\\": [\\n {\\n \\"group\\": \\"apm-common\\",\\n \\"version\\": \\"0.1.0\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'GetUmodelCommonSchemaRef',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUmodelCommonSchemaRef'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetUmodelCommonSchemaRef',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Umodel', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel'],
],
],
],
],
],
'GetUmodelData' => [
'path' => '/workspace/{workspace}/umodel/graph',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test'],
],
[
'name' => 'method',
'in' => 'query',
'schema' => ['description' => 'The method.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ListData'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'content' => ['description' => 'The query conditions.', 'type' => 'any', 'required' => false, 'title' => '', 'example' => '{'."\n"
.' "filter": {'."\n"
.' "domains": []'."\n"
.' },'."\n"
.' "offset": 0,'."\n"
.' "size": 100000'."\n"
.'}'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response.',
'type' => 'object',
'properties' => [
'nodes' => [
'description' => 'The list of nodes.',
'type' => 'array',
'items' => ['description' => 'A node.', 'type' => 'any', 'title' => '', 'example' => '{}'],
'title' => '',
'example' => '',
],
'links' => [
'description' => 'The list of links between nodes.',
'type' => 'array',
'items' => ['description' => 'A link between nodes.', 'type' => 'any', 'title' => '', 'example' => '{}'],
'title' => '',
'example' => '',
],
'totalNodesCount' => ['description' => 'The total number of nodes.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'totalLinksCount' => ['description' => 'The total number of links between nodes.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
'errors' => [
'description' => 'The error messages.',
'type' => 'array',
'items' => [
'description' => 'The error message.',
'type' => 'object',
'properties' => [
'message' => ['description' => 'The detailed information.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'type' => ['description' => 'The type of the error.', 'type' => 'string', 'title' => '', 'example' => 'external'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '123-123-234-345-123'],
],
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Get Umodel Data',
'summary' => 'Retrieves graph data associated with a Umodel.',
'description' => 'This operation retrieves the graph data associated with a Umodel.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUmodelData'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetUmodelData',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Umodel', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nodes\\": [\\n \\"{}\\"\\n ],\\n \\"links\\": [\\n \\"{}\\"\\n ],\\n \\"totalNodesCount\\": 0,\\n \\"totalLinksCount\\": 0,\\n \\"errors\\": [\\n {\\n \\"message\\": \\"ok\\",\\n \\"type\\": \\"external\\"\\n }\\n ],\\n \\"requestId\\": \\"123-123-234-345-123\\"\\n}","type":"json"}]',
],
'GetWorkspace' => [
'path' => '/workspace/{workspaceName}',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspaceName',
'in' => 'path',
'schema' => ['title' => '实例 ID。', 'description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'workspace-test-001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response body.',
'type' => 'object',
'properties' => [
'createTime' => ['description' => 'The time when the workspace was created.', 'type' => 'string', 'format' => 'iso8601_normal', 'title' => '', 'example' => '2025-03-11T08:21:58Z'],
'description' => ['title' => '工作空间描述', 'description' => 'The description of the workspace.', 'type' => 'string', 'pattern' => '', 'default' => '', 'example' => 'workspace test'],
'lastModifyTime' => ['description' => 'The time when the workspace was last modified.', 'type' => 'string', 'format' => 'iso8601_normal', 'title' => '', 'example' => '2025-03-11T08:21:58Z'],
'regionId' => ['title' => '地域ID', 'description' => 'The region ID.', 'type' => 'string', 'pattern' => '', 'default' => '', 'example' => 'cn-heyuan'],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'slsProject' => ['title' => '日志服务项目名称', 'description' => 'The name of the Simple Log Service project.', 'type' => 'string', 'pattern' => '', 'default' => '', 'example' => 'sls-project-test-001'],
'workspaceName' => ['title' => '工作空间名称', 'description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'pattern' => '', 'default' => '', 'example' => 'workspace-test-001'],
'displayName' => ['description' => 'The display name of the workspace.', 'type' => 'string', 'title' => '', 'example' => 'workspace-test'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Get Workspace',
'summary' => 'Retrieves a workspace.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetWorkspace'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'cms:GetWorkspace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Workspace', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspaceName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createTime\\": \\"2025-03-11T08:21:58Z\\",\\n \\"description\\": \\"workspace test\\",\\n \\"lastModifyTime\\": \\"2025-03-11T08:21:58Z\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"slsProject\\": \\"sls-project-test-001\\",\\n \\"workspaceName\\": \\"workspace-test-001\\",\\n \\"displayName\\": \\"workspace-test\\"\\n}","type":"json"}]',
],
'ListAddonReleases' => [
'path' => '/integration-policies/{policyId}/addon-releases',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['title' => '策略环境 ID。', 'description' => 'The policy environment ID.', 'type' => 'string', 'required' => true, 'example' => 'policy-xxxxxxxxxxxx'],
],
[
'name' => 'addonName',
'in' => 'query',
'schema' => ['title' => '组件 Addon 名称。', 'description' => 'The name of the add-on.', 'type' => 'string', 'required' => false, 'example' => 'cs-gpu'],
],
[
'name' => 'parentAddonReleaseId',
'in' => 'query',
'schema' => ['title' => '父级 AddonReleaseId。', 'description' => 'The parent AddonRelease ID.', 'type' => 'string', 'required' => false, 'example' => 'policy-xxxxxxxxxxxxx'],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'releases' => [
'description' => 'The list of add-on releases.',
'type' => 'array',
'items' => [
'description' => 'An add-on release.',
'type' => 'object',
'properties' => [
'addonName' => ['title' => 'Addon 名称。', 'description' => 'The name of the add-on.', 'type' => 'string', 'example' => 'cs-gpu'],
'alertRuleCount' => ['title' => '告警规则数量。', 'description' => 'The number of alert rules.', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
'conditions' => [
'title' => '安装阶段状况信息汇总。'."\n"
."\n"
.'Type 包括四个:Loaded(加载配置),Installed(执行安装),Ready(执行安装后就绪检查),UnInstalled(执行卸载)。四个状况理论上顺序出现。'."\n"
."\n"
.'Status: 可选值包括:Unknown(正处在当前阶段执行),True(执行就绪),False(执行失败)'."\n"
."\n"
.'完整状态判断说明:'."\n"
.'Loaded,Installed,Ready 只要有一个的 Status=False,则代表安装失败,Ready 的 Status=True,则代表安装成功,其他情况则代表正在安装中。'."\n"
."\n"
.'UnInstalled 只要存在,则代表正在执行卸载。Status=True 则代表卸载成功,Status=Unknown 代表执行卸载中,Status=False 代表卸载失败。'."\n",
'description' => 'The conditions of the release.',
'type' => 'array',
'items' => [
'description' => 'A condition of the release.',
'type' => 'object',
'properties' => [
'firstTransitionTime' => ['title' => '第一次转换时间。', 'description' => 'The timestamp of the first status transition.', 'type' => 'string', 'example' => '2024-11-04T16:10:22+08:00'],
'lastTransitionTime' => ['title' => '最后一次转换时间。', 'description' => 'The timestamp of the last status transition.', 'type' => 'string', 'example' => '2024-11-04T16:10:22+08:00'],
'message' => ['title' => '详细信息。', 'description' => 'A detailed message about the status.', 'type' => 'string', 'example' => 'The addon loaded successfully'],
'status' => ['title' => '阶段状态。', 'description' => 'The status of the condition.', 'type' => 'string', 'example' => 'True'],
'type' => ['title' => '阶段类型。', 'description' => 'The type of the condition.', 'type' => 'string', 'example' => 'Loaded'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'config' => ['title' => '组件配置信息。', 'description' => 'The configuration of the add-on.', 'type' => 'string', 'example' => '{"install":{"mode":"auto-install","listenPort":"9400"},"discoverMode":"instances","discover":{"instances":"worker-k8s-for-cs-c126d87c76218487e83ab322017f11b44"},"scrapeInterval":"15","enableSecuritecs-nodeyGroupInjection":"true","metricTags":""}'],
'createTime' => ['title' => '接入时间。', 'description' => 'The installation time of the add-on.', 'type' => 'string', 'example' => '2024-11-04T16:10:12+08:00'],
'dashboardCount' => ['title' => '大盘数量。', 'description' => 'The number of dashboards.', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'environmentId' => ['title' => '环境 ID。', 'description' => 'The environment ID.', 'type' => 'string', 'example' => 'policy-xxxxxxxxxxxx'],
'exporterCount' => ['title' => '插件数量。', 'description' => 'The number of exporters.', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'haveConfig' => ['title' => '是否有配置。', 'description' => 'Indicates whether a configuration exists.', 'type' => 'boolean', 'example' => 'true'],
'installUserId' => ['title' => '接入用户 ID。', 'description' => 'The ID of the user who installed the add-on.', 'type' => 'string', 'example' => '175xxxxxxxxx'],
'language' => ['title' => '语言。', 'description' => 'The language.', 'type' => 'string', 'example' => 'zh'],
'managed' => ['title' => '是否为托管组件。', 'description' => 'Indicates whether the add-on is managed.', 'type' => 'boolean', 'example' => 'true'],
'parentAddonReleaseId' => ['title' => '父级 AddonReleaseId。', 'description' => 'The ID of the parent release.', 'type' => 'string', 'example' => 'policy-xxxxxxxxxxxxxx'],
'policyId' => ['title' => '策略 ID。', 'description' => 'The policy ID.', 'type' => 'string', 'example' => 'policy-xxxxxxxxxxxxxx'],
'regionId' => ['title' => '区域 ID。', 'description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'],
'releaseId' => ['title' => 'Release ID。', 'description' => 'The release ID.', 'type' => 'string', 'example' => '7339d808-66f9-4d40-83fa-xxxxxxxxxxx'],
'releaseName' => ['title' => 'Release 名称。', 'description' => 'The release name.', 'type' => 'string', 'example' => 'test-gpu-integration-name'],
'scene' => ['title' => '组件场景。', 'description' => 'The usage scenario of the add-on.', 'type' => 'string', 'example' => 'container'],
'status' => ['title' => '状态。', 'description' => 'The status of the release.', 'type' => 'string', 'example' => 'running'],
'updateTime' => ['title' => '更新时间。', 'description' => 'The last update time.', 'type' => 'string', 'example' => '2024-11-04T16:10:23+08:00'],
'userId' => ['title' => '所属用户 ID。', 'description' => 'The ID of the owner.', 'type' => 'string', 'example' => '175xxxxxxxxxxxxx'],
'version' => ['title' => '组件版本。', 'description' => 'The version of the add-on.', 'type' => 'string', 'example' => '0.0.2'],
'envType' => ['title' => '环境类型。', 'description' => 'The environment type.', 'type' => 'string', 'example' => 'CS'],
'workspace' => ['title' => '工作空间。', 'description' => 'The name of the workspace.', 'type' => 'string', 'example' => 'default'],
'subAddonRelease' => [
'title' => '子AddonRelease的统计信息',
'description' => 'Statistics about sub-releases.',
'type' => 'object',
'properties' => [
'ready' => ['title' => '已就绪的子Release数量', 'description' => 'The number of ready sub-releases.', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'total' => ['title' => '子Release数量', 'description' => 'The total number of sub-releases.', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
],
'example' => '',
],
'nextVersion' => ['description' => 'The next available version of the add-on.', 'type' => 'string', 'example' => 'None', 'title' => ''],
'entityRules' => ['title' => '实体详情。', 'description' => 'Details of the entity rules.', '$ref' => '#/components/schemas/EntityGroupBase', 'example' => ''],
'apiVersion' => ['description' => 'The API version.', 'type' => 'string', 'example' => '2023-03-30', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'requestId' => ['title' => '请求 ID。', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CD8BA7D6-995D-578D-9941-78B0FECD14B5'],
'total' => ['title' => '组件数量。', 'description' => 'The total number of add-on releases that match the query.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'nextToken' => ['description' => 'A pagination token to retrieve the next page of results. If this field is empty, no more results are available.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'View Add-on Component List',
'summary' => 'Lists the releases for an add-on.',
'description' => 'This operation retrieves a list of integration configurations.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAddonReleases'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cms:ListAddonReleases',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'AddonRelease', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#PolicyId}/addonrelease/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"releases\\": [\\n {\\n \\"addonName\\": \\"cs-gpu\\",\\n \\"alertRuleCount\\": 6,\\n \\"conditions\\": [\\n {\\n \\"firstTransitionTime\\": \\"2024-11-04T16:10:22+08:00\\",\\n \\"lastTransitionTime\\": \\"2024-11-04T16:10:22+08:00\\",\\n \\"message\\": \\"The addon loaded successfully\\",\\n \\"status\\": \\"True\\",\\n \\"type\\": \\"Loaded\\"\\n }\\n ],\\n \\"config\\": \\"{\\\\\\"install\\\\\\":{\\\\\\"mode\\\\\\":\\\\\\"auto-install\\\\\\",\\\\\\"listenPort\\\\\\":\\\\\\"9400\\\\\\"},\\\\\\"discoverMode\\\\\\":\\\\\\"instances\\\\\\",\\\\\\"discover\\\\\\":{\\\\\\"instances\\\\\\":\\\\\\"worker-k8s-for-cs-c126d87c76218487e83ab322017f11b44\\\\\\"},\\\\\\"scrapeInterval\\\\\\":\\\\\\"15\\\\\\",\\\\\\"enableSecuritecs-nodeyGroupInjection\\\\\\":\\\\\\"true\\\\\\",\\\\\\"metricTags\\\\\\":\\\\\\"\\\\\\"}\\",\\n \\"createTime\\": \\"2024-11-04T16:10:12+08:00\\",\\n \\"dashboardCount\\": 3,\\n \\"environmentId\\": \\"policy-xxxxxxxxxxxx\\",\\n \\"exporterCount\\": 2,\\n \\"haveConfig\\": true,\\n \\"installUserId\\": \\"175xxxxxxxxx\\",\\n \\"language\\": \\"zh\\",\\n \\"managed\\": true,\\n \\"parentAddonReleaseId\\": \\"policy-xxxxxxxxxxxxxx\\",\\n \\"policyId\\": \\"policy-xxxxxxxxxxxxxx\\",\\n \\"regionId\\": \\"cn-hangzhou\\",\\n \\"releaseId\\": \\"7339d808-66f9-4d40-83fa-xxxxxxxxxxx\\",\\n \\"releaseName\\": \\"test-gpu-integration-name\\",\\n \\"scene\\": \\"container\\",\\n \\"status\\": \\"running\\",\\n \\"updateTime\\": \\"2024-11-04T16:10:23+08:00\\",\\n \\"userId\\": \\"175xxxxxxxxxxxxx\\",\\n \\"version\\": \\"0.0.2\\",\\n \\"envType\\": \\"CS\\",\\n \\"workspace\\": \\"default\\",\\n \\"subAddonRelease\\": {\\n \\"ready\\": 2,\\n \\"total\\": 3\\n },\\n \\"nextVersion\\": \\"None\\",\\n \\"entityRules\\": {\\n \\"workspace\\": \\"default-cms-1654218***343050-cn-hangzhou\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"entityQueries\\": [\\n {\\n \\"entityType\\": \\"acs.ecs.instance\\",\\n \\"spl\\": \\".entity with(type=\'acs.ecs.instance\') | where region_id in (\'cn-beijing\')\\"\\n }\\n ],\\n \\"description\\": \\"ECS 实例\\",\\n \\"entityGroupId\\": \\"eg-1234567890\\",\\n \\"entityRules\\": {\\n \\"resourceGroupId\\": \\"rg-acfm2m7atreujs1\\",\\n \\"ipMatchRule\\": {\\n \\"ipFieldKey\\": \\"\\",\\n \\"ipCIDR\\": \\"\\"\\n },\\n \\"tags\\": [\\n {\\n \\"tagKey\\": \\"project\\",\\n \\"op\\": \\"in\\",\\n \\"tagValues\\": [\\n \\"demo\\"\\n ]\\n }\\n ],\\n \\"instanceIds\\": [\\n \\"i-bp1gj8wyq4fxk28k6iy2\\"\\n ],\\n \\"entityTypes\\": [\\n \\"acs.ecs.instance\\"\\n ],\\n \\"regionIds\\": [\\n \\"cn-shanghai\\"\\n ],\\n \\"labels\\": [\\n {\\n \\"tagKey\\": \\"project\\",\\n \\"op\\": \\"in\\",\\n \\"tagValues\\": [\\n \\"demo\\"\\n ]\\n }\\n ],\\n \\"annotations\\": [\\n {\\n \\"tagKey\\": \\"instanceId\\",\\n \\"op\\": \\"in\\",\\n \\"tagValues\\": [\\n \\"i-bp1gj8wyq4fxk28k6iy2\\\\n\\"\\n ]\\n }\\n ],\\n \\"fieldRules\\": [\\n {\\n \\"fieldKey\\": \\"instanceId\\",\\n \\"op\\": \\"in\\",\\n \\"fieldValues\\": [\\n \\"i-bp1gj8wyq4fxk28k6iy2\\"\\n ]\\n }\\n ]\\n },\\n \\"entityGroupName\\": \\"ECS 全部实体\\",\\n \\"userId\\": \\"1654218***343050\\"\\n },\\n \\"apiVersion\\": \\"2023-03-30\\"\\n }\\n ],\\n \\"requestId\\": \\"CD8BA7D6-995D-578D-9941-78B0FECD14B5\\",\\n \\"total\\": 1,\\n \\"nextToken\\": \\"\\"\\n}","type":"json"}]',
],
'ListAddons' => [
'summary' => 'Lists the products in the new Integration Center by group.',
'path' => '/addons',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'aliyunLang',
'in' => 'query',
'schema' => ['description' => 'The language. Valid values: zh and en. The default value is zh.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'],
],
[
'name' => 'category',
'in' => 'query',
'schema' => ['description' => 'Tag filtering.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'database'],
],
[
'name' => 'search',
'in' => 'query',
'schema' => ['description' => 'The search keyword. You can search for add-ons by name, description, or keyword.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '105095'],
],
[
'name' => 'regexp',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to use regular expressions for the search. The default value is false.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'addons' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'alias' => ['description' => 'The alias of the add-on.', 'type' => 'string', 'example' => 'resume_vector_alias', 'title' => ''],
'categories' => [
'type' => 'array',
'items' => ['description' => 'Tag.', 'type' => 'string', 'example' => 'middleware', 'title' => ''],
'description' => 'A list of tags for the add-on.',
'title' => '',
'example' => '',
],
'dashboards' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'description' => ['description' => 'Dashboard description.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'name' => ['description' => 'Dashboard name.', 'type' => 'string', 'example' => 'rum_view_link_rum_api', 'title' => ''],
'url' => ['description' => 'The URL of the dashboard\'s preview image.', 'type' => 'string', 'example' => 'http://xxxxxxx', 'title' => ''],
],
'description' => 'Dashboard information.',
'title' => '',
'example' => '',
],
'description' => 'A list of dashboards.',
'title' => '',
'example' => '',
],
'description' => ['description' => 'Description', 'type' => 'string', 'example' => 'workspace api monitor test', 'title' => ''],
'environments' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'dependencies' => [
'type' => 'object',
'properties' => [
'clusterTypes' => [
'type' => 'array',
'items' => ['description' => 'Cluster type.', 'type' => 'string', 'example' => 'ManagedKubernetes/Default', 'title' => ''],
'description' => 'Supported cluster types.',
'title' => '',
'example' => '',
],
'features' => [
'type' => 'object',
'additionalProperties' => ['description' => 'Indicates whether the feature is supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'description' => 'The probes on which the integration depends.',
'title' => '',
'example' => '',
],
'services' => [
'type' => 'array',
'items' => ['description' => 'Service name.', 'type' => 'string', 'example' => 'Prometheus', 'title' => ''],
'description' => 'A list of dependent services.',
'title' => '',
'example' => '',
],
],
'description' => 'A list of dependencies for the add-on.',
'title' => '',
'example' => '',
],
'description' => ['description' => 'The description of the integration policy type.', 'type' => 'string', 'example' => 'o11y-demo-cn-heyuan', 'title' => ''],
'enable' => ['description' => 'Indicates whether the add-on is enabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'label' => ['description' => 'The label of the integration policy type.', 'type' => 'string', 'example' => '容器环境', 'title' => ''],
'name' => ['description' => 'The name of the integration policy type.', 'type' => 'string', 'example' => 'CS', 'title' => ''],
'policies' => [
'type' => 'object',
'properties' => [
'alertDefaultStatus' => ['description' => 'The default status of the alert rule policy.', 'type' => 'string', 'example' => 'RUNNING', 'title' => ''],
'defaultInstall' => ['description' => 'Indicates whether the add-on is installed by default.', 'type' => 'boolean', 'example' => 'true'."\n", 'title' => ''],
'enableServiceAccount' => ['description' => 'Indicates whether to assign a Service Account to communicate with the Console API.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'metricCheckRule' => [
'type' => 'object',
'properties' => [
'promQL' => [
'type' => 'array',
'items' => ['description' => 'A PromQL statement.', 'type' => 'string', 'example' => 'scraper_up{scraper=\\"ecs\\"}==1', 'title' => ''],
'description' => 'A list of Prometheus Query Language (PromQL) statements.',
'title' => '',
'example' => '',
],
],
'description' => 'Metric check rule.',
'title' => '',
'example' => '',
],
'needRestartAfterIntegration' => ['description' => 'Indicates whether to guide the user to restart pods after the add-on is installed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'protocols' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'description' => ['description' => 'Protocol description.', 'type' => 'string', 'example' => 'Support OpenTelemetry Protocal', 'title' => ''],
'icon' => ['description' => 'Icon URL.', 'type' => 'string', 'example' => 'http://xxxxxxx', 'title' => ''],
'label' => ['description' => 'Protocol display name.', 'type' => 'string', 'example' => 'OpenTelemetry', 'title' => ''],
'name' => ['description' => 'Protocol name.', 'type' => 'string', 'example' => 'openTelemetry', 'title' => ''],
],
'description' => 'The details of a supported protocol type.',
'title' => '',
'example' => '',
],
'description' => 'The supported protocol types.',
'title' => '',
'example' => '',
],
'targetAddonName' => ['description' => 'The name of the target add-on.', 'type' => 'string', 'example' => 'cloud-acs-ecs', 'title' => ''],
],
'description' => 'Integration policy configuration.',
'title' => '',
'example' => '',
],
'policyType' => ['description' => 'Integration Center policy type.', 'type' => 'string', 'example' => 'CS', 'title' => ''],
'commonSchemaRefs' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'group' => ['description' => 'The group name of the Common Schema.', 'type' => 'string', 'example' => 'acs-ecs', 'title' => ''],
'version' => ['description' => 'The version of the Common Schema.', 'type' => 'string', 'example' => '0.1.4', 'title' => ''],
],
'description' => 'The information about an associated Common Schema.',
'title' => '',
'example' => '',
],
'description' => 'A list of associated Common Schemas.',
'title' => '',
'example' => '',
],
],
'description' => 'Integration policy type information.',
'title' => '',
'example' => '',
],
'description' => 'A list of supported integration policy types.',
'title' => '',
'example' => '',
],
'icon' => ['description' => 'The URL of the icon.', 'type' => 'string', 'example' => 'http://xxxxxxx', 'title' => ''],
'keywords' => [
'type' => 'array',
'items' => ['description' => 'Keyword.', 'type' => 'string', 'example' => 'Container', 'title' => ''],
'description' => 'A list of keywords.',
'title' => '',
'example' => '',
],
'language' => ['description' => 'Language.', 'type' => 'string', 'example' => 'zh', 'title' => ''],
'latestReleaseCreateTime' => ['description' => 'The time when the latest version was created.', 'type' => 'string', 'example' => '2025-09-03T03:15:56Z', 'title' => ''],
'name' => ['description' => 'The name of the add-on.', 'type' => 'string', 'example' => 'rum_api_dashboard_explorer_link_metric_set', 'title' => ''],
'once' => ['description' => 'Indicates whether the add-on can be installed only once.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'scene' => ['description' => 'The scenario of the component.', 'type' => 'string', 'example' => 'middleware', 'title' => ''],
'version' => ['description' => 'The version of the component.', 'type' => 'string', 'example' => '*', 'title' => ''],
'weight' => ['description' => 'The display weight of the add-on.', 'type' => 'string', 'example' => '99', 'title' => ''],
],
'description' => 'The details of the add-on.',
'title' => '',
'example' => '',
],
'description' => 'A list of available add-ons.',
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'Id of the request', 'type' => 'string', 'title' => '', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListAddons',
'description' => 'Creates a site monitoring job.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'cms:ListAddons',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"addons\\": [\\n {\\n \\"alias\\": \\"resume_vector_alias\\",\\n \\"categories\\": [\\n \\"middleware\\"\\n ],\\n \\"dashboards\\": [\\n {\\n \\"description\\": \\"test\\",\\n \\"name\\": \\"rum_view_link_rum_api\\",\\n \\"url\\": \\"http://xxxxxxx\\"\\n }\\n ],\\n \\"description\\": \\"workspace api monitor test\\",\\n \\"environments\\": [\\n {\\n \\"dependencies\\": {\\n \\"clusterTypes\\": [\\n \\"ManagedKubernetes/Default\\"\\n ],\\n \\"features\\": {\\n \\"key\\": true\\n },\\n \\"services\\": [\\n \\"Prometheus\\"\\n ]\\n },\\n \\"description\\": \\"o11y-demo-cn-heyuan\\",\\n \\"enable\\": false,\\n \\"label\\": \\"容器环境\\",\\n \\"name\\": \\"CS\\",\\n \\"policies\\": {\\n \\"alertDefaultStatus\\": \\"RUNNING\\",\\n \\"defaultInstall\\": true,\\n \\"enableServiceAccount\\": true,\\n \\"metricCheckRule\\": {\\n \\"promQL\\": [\\n \\"scraper_up{scraper=\\\\\\\\\\\\\\"ecs\\\\\\\\\\\\\\"}==1\\"\\n ]\\n },\\n \\"needRestartAfterIntegration\\": true,\\n \\"protocols\\": [\\n {\\n \\"description\\": \\"Support OpenTelemetry Protocal\\",\\n \\"icon\\": \\"http://xxxxxxx\\",\\n \\"label\\": \\"OpenTelemetry\\",\\n \\"name\\": \\"openTelemetry\\"\\n }\\n ],\\n \\"targetAddonName\\": \\"cloud-acs-ecs\\"\\n },\\n \\"policyType\\": \\"CS\\",\\n \\"commonSchemaRefs\\": [\\n {\\n \\"group\\": \\"acs-ecs\\",\\n \\"version\\": \\"0.1.4\\"\\n }\\n ]\\n }\\n ],\\n \\"icon\\": \\"http://xxxxxxx\\",\\n \\"keywords\\": [\\n \\"Container\\"\\n ],\\n \\"language\\": \\"zh\\",\\n \\"latestReleaseCreateTime\\": \\"2025-09-03T03:15:56Z\\",\\n \\"name\\": \\"rum_api_dashboard_explorer_link_metric_set\\",\\n \\"once\\": true,\\n \\"scene\\": \\"middleware\\",\\n \\"version\\": \\"*\\",\\n \\"weight\\": \\"99\\"\\n }\\n ],\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'ListAggTaskGroups' => [
'summary' => 'Queries the list of aggregation task groups.',
'path' => '/prometheus-instances/{instanceId}/agg-task-groups',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
'schema' => ['title' => '', 'description' => 'The instance ID of the Managed Service for Prometheus instance to which the aggregation node group belongs. The aggregation node reads data from this instance.', 'type' => 'string', 'required' => true, 'example' => 'rw-pq4apob9jm'],
],
[
'name' => 'filterAggTaskGroupIds',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The list of aggregation task group IDs. The value must be a JSON-parsable string.', 'type' => 'string', 'example' => '["aggTaskGroup-xxx"]', 'required' => false],
],
[
'name' => 'filterAggTaskGroupNames',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The list of aggregation task group names. The value must be a JSON-parsable string.', 'type' => 'string', 'example' => '["apiserver_request_total"]', 'required' => false],
],
[
'name' => 'status',
'in' => 'query',
'schema' => [
'title' => '',
'description' => 'The status of the aggregation task group. Valid values:'."\n"
."\n"
.'- Running'."\n"
.'- Stopped'."\n"
."\n"
.'Default value: Running.',
'enumValueTitles' => ['Stopped' => 'Disabled.', 'Running' => 'Enabled.'],
'type' => 'string',
'example' => 'Running',
'enum' => ['Running', 'Stopped'],
'required' => false,
],
],
[
'name' => 'targetPrometheusId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The instance ID of the target Managed Service for Prometheus instance for the aggregation node group.', 'type' => 'string', 'example' => 'rw-pq4apob9jm', 'required' => false],
],
[
'name' => 'tags',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The resource group tags.',
'type' => 'array',
'items' => [
'description' => 'The resource group tags.',
'type' => 'object',
'properties' => [
'key' => ['title' => '', 'description' => 'The key of the resource group tag.', 'type' => 'string', 'required' => false, 'example' => 'key1'],
'value' => ['title' => '', 'description' => 'The value of the resource group tag.', 'type' => 'string', 'required' => false, 'example' => 'value1'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of records to return.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '0', 'example' => '20', 'default' => '20', 'required' => false],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The query token.', 'type' => 'string', 'maxLength' => 128, 'required' => false, 'example' => '28036394xxx'],
],
[
'name' => 'query',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name to search for. Fuzzy match is supported.', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'aggTaskGroups' => [
'title' => '',
'description' => 'The list of aggregation task groups.',
'type' => 'array',
'items' => [
'description' => 'The aggregation task.',
'type' => 'object',
'properties' => [
'aggTaskGroupConfigHash' => ['title' => '', 'description' => 'The hash of the aggregation task group configuration.', 'type' => 'string', 'example' => 'a54136014xxx'],
'aggTaskGroupId' => ['title' => '', 'description' => 'The ID of the aggregation task group.', 'type' => 'string', 'example' => 'aggTaskGroup-xxxx'],
'aggTaskGroupName' => ['title' => '', 'description' => 'The name of the aggregation task group.', 'type' => 'string', 'example' => 'pipeline-aggtask-group'],
'cronExpr' => ['title' => '', 'description' => 'The cron expression of the aggregation task group when the scheduling mode is set to Cron.', 'type' => 'string', 'example' => '0 10 8 1 * ? *'],
'delay' => ['title' => '', 'description' => 'The fixed scheduling delay, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
'description' => ['title' => '', 'description' => 'The description of the aggregation task group.', 'type' => 'string', 'example' => 'workspace api monitor update test'],
'fromTime' => ['title' => '', 'description' => 'The UNIX timestamp that indicates the scheduling start time, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1757409499000'],
'interval' => ['title' => '', 'description' => 'The scheduling interval.', 'type' => 'string', 'example' => '2025-04-24 00:00:00,2025-04-24 00:00:00'],
'maxRetries' => ['title' => '', 'description' => 'The maximum number of retries for executing the aggregation task.', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'maxRunTimeInSeconds' => ['title' => '', 'description' => 'The maximum retry time for executing the aggregation task, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
'regionId' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'],
'scheduleMode' => ['title' => '', 'description' => 'The scheduling mode.', 'type' => 'string', 'example' => 'FixedRate'],
'scheduleTimeExpr' => ['title' => '', 'description' => 'The schedule time expression.', 'type' => 'string', 'example' => '@m'],
'sourcePrometheusId' => ['title' => '', 'description' => 'The instance ID of the source Managed Service for Prometheus instance for the aggregation node group.', 'type' => 'string', 'example' => 'rw-xxx'],
'status' => ['title' => '', 'description' => 'The status of the aggregation task group.', 'type' => 'string', 'example' => 'Running'],
'targetPrometheusId' => ['title' => '', 'description' => 'The instance ID of the target Managed Service for Prometheus instance for the aggregation node group.', 'type' => 'string', 'example' => 'rw-xxx'],
'toTime' => ['title' => '', 'description' => 'The UNIX timestamp that indicates the scheduling end time, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'updateTime' => ['title' => '', 'description' => 'The time when the aggregation task group was last updated, in UNIX timestamp format.', 'type' => 'string', 'example' => '1757409499000'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'maxResults' => ['title' => '', 'description' => 'The maximum number of records to return.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'default' => '0'],
'nextToken' => ['title' => '', 'description' => 'The token for the next query.', 'type' => 'string', 'maxLength' => 128, 'example' => 'aa9d0e569b880xxx'],
'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7BF1F4D6-B9A8-5F0B-8C1D-4347FFCB798E'],
'totalCount' => ['title' => '', 'description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"aggTaskGroups\\": [\\n {\\n \\"aggTaskGroupConfigHash\\": \\"a54136014xxx\\",\\n \\"aggTaskGroupId\\": \\"aggTaskGroup-xxxx\\",\\n \\"aggTaskGroupName\\": \\"pipeline-aggtask-group\\",\\n \\"cronExpr\\": \\"0 10 8 1 * ? *\\",\\n \\"delay\\": 30,\\n \\"description\\": \\"workspace api monitor update test\\",\\n \\"fromTime\\": 1757409499000,\\n \\"interval\\": \\"2025-04-24 00:00:00,2025-04-24 00:00:00\\",\\n \\"maxRetries\\": 2,\\n \\"maxRunTimeInSeconds\\": 200,\\n \\"regionId\\": \\"cn-hangzhou\\",\\n \\"scheduleMode\\": \\"FixedRate\\",\\n \\"scheduleTimeExpr\\": \\"@m\\",\\n \\"sourcePrometheusId\\": \\"rw-xxx\\",\\n \\"status\\": \\"Running\\",\\n \\"targetPrometheusId\\": \\"rw-xxx\\",\\n \\"toTime\\": 0,\\n \\"updateTime\\": \\"1757409499000\\"\\n }\\n ],\\n \\"maxResults\\": 100,\\n \\"nextToken\\": \\"aa9d0e569b880xxx\\",\\n \\"requestId\\": \\"7BF1F4D6-B9A8-5F0B-8C1D-4347FFCB798E\\",\\n \\"totalCount\\": 5\\n}","type":"json"}]',
'gatewayOptions' => [
'gatewayProtocols' => [],
],
'title' => 'Query aggregation task groups',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAggTaskGroups'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
],
'ListAlertActions' => [
'path' => '/alertActions',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'high', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'alertActionIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The unique IDs of the alert action integrations.',
'type' => 'array',
'items' => ['description' => 'The unique ID of the alert action integration.', 'type' => 'string', 'required' => false, 'example' => 'testId', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'type',
'in' => 'query',
'schema' => [
'description' => 'The type of the alert action integration.',
'type' => 'string',
'enum' => ['FC', 'MNS', 'OPEN_API', 'SLS', 'ESS', 'PAGER_DUTY', 'WEBHOOK', 'EB', 'FC3'],
'required' => false,
'example' => 'FC',
'title' => '',
],
],
[
'name' => 'alertActionName',
'in' => 'query',
'schema' => ['description' => 'The name of the alert action integration.', 'type' => 'string', 'required' => false, 'example' => 'testName', 'title' => ''],
],
[
'name' => 'pageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'pageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page. Default value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****', 'title' => ''],
'total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''],
'pageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'alertActions' => [
'description' => 'The list of alert action integration configurations.',
'type' => 'array',
'items' => [
'description' => 'The list of alert action integration configurations.',
'type' => 'object',
'properties' => [
'alertActionId' => ['description' => 'The unique ID of the alert action integration.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'mnsParam' => [
'description' => 'The parameters of Simple Message Queue (formerly MNS).',
'type' => 'object',
'properties' => [
'mnsType' => ['description' => 'The resource type of Simple Message Queue (formerly MNS).', 'type' => 'string', 'example' => 'queue', 'title' => ''],
'name' => ['description' => 'The name of the resource.'."\n"
."\n"
.'- If the resource type is \\`queue\\`, this parameter specifies the queue name.'."\n"
."\n"
.'- If the resource type is \\`topic\\`, this parameter specifies the topic name.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
],
'title' => '',
'example' => '',
],
'type' => ['description' => 'The type of the alert action integration.', 'type' => 'string', 'example' => 'FC', 'title' => ''],
'slsParam' => [
'description' => 'The parameters of Simple Log Service.',
'type' => 'object',
'properties' => [
'logstore' => ['description' => 'The name of the Simple Log Service Logstore.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'project' => ['description' => 'The name of the Simple Log Service project.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
],
'title' => '',
'example' => '',
],
'alertActionName' => ['description' => 'The name of the alert action integration.', 'type' => 'string', 'example' => 'testName', 'title' => ''],
'essParam' => [
'description' => 'The parameters of Auto Scaling.',
'type' => 'object',
'properties' => [
'essGroupId' => ['description' => 'The ID of the Auto Scaling group.', 'type' => 'string', 'example' => 'testId', 'title' => ''],
'essRuleId' => ['description' => 'The ID of the scaling rule.', 'type' => 'string', 'example' => 'testId', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
],
'title' => '',
'example' => '',
],
'fcParam' => [
'description' => 'The parameters of Function Compute.',
'type' => 'object',
'properties' => [
'function' => ['description' => 'The function name of the Function Compute service.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
'service' => ['description' => 'The service name of Function Compute.', 'type' => 'string', 'example' => 'test', 'title' => ''],
],
'title' => '',
'example' => '',
],
'pagerDutyParam' => [
'description' => 'The PagerDuty parameters.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The integration key of PagerDuty.', 'type' => 'string', 'example' => 'fsfer4543t5t65g4t4', 'title' => ''],
'url' => ['description' => 'The integration webhook of PagerDuty. Versions 1 and 2 are supported.', 'type' => 'string', 'example' => 'https://events.pagerduty.com/v2/enqueue', 'title' => ''],
],
'title' => '',
'example' => '',
],
'webhookParam' => [
'description' => 'The webhook parameters.',
'type' => 'object',
'properties' => [
'method' => ['description' => 'The request method of the webhook.', 'type' => 'string', 'example' => 'GET', 'title' => ''],
'url' => ['description' => 'The callback URL for alerts.', 'type' => 'string', 'example' => 'http://www.test.com', 'title' => ''],
'contentType' => ['description' => 'The data format. This parameter is valid only when the request method is POST.', 'type' => 'string', 'example' => 'JSON', 'title' => ''],
'headers' => [
'description' => 'The request headers.',
'type' => 'object',
'additionalProperties' => ['description' => 'The request headers.', 'type' => 'string', 'example' => '{\'X-Total-Count\': 0}', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'fc3Param' => [
'description' => 'The parameters of Function Compute 3.0.',
'type' => 'object',
'properties' => [
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-qingdao', 'title' => ''],
'function' => ['description' => 'The function name of the Function Compute service.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'qualifier' => ['description' => 'The version or alias of the function.', 'type' => 'string', 'example' => 'test', 'title' => ''],
],
'title' => '',
'example' => '',
],
'ebParam' => [
'description' => 'Specifies the event bus.',
'type' => 'object',
'properties' => [
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-heyuan', 'title' => ''],
'eventBusName' => ['description' => 'The name of the event bus.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'subject' => ['description' => 'The subject.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'ebSource' => ['description' => 'The event provider.', 'type' => 'string', 'example' => 'test', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query Alert Action Integration',
'summary' => 'Queries alert action integrations.',
'changeSet' => [
['createdAt' => '2025-07-01T06:49:23.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2024-11-04T06:29:21.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAlertActions'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cms:ListAlertActions',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'AlertAction', 'arn' => 'acs:cms:{#regionId}:{#accountId}:alertaction/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"total\\": 9,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 100,\\n \\"alertActions\\": [\\n {\\n \\"alertActionId\\": \\"test\\",\\n \\"mnsParam\\": {\\n \\"mnsType\\": \\"queue\\",\\n \\"name\\": \\"test\\",\\n \\"regionId\\": \\"cn-hangzhou\\"\\n },\\n \\"type\\": \\"FC\\",\\n \\"slsParam\\": {\\n \\"logstore\\": \\"test\\",\\n \\"project\\": \\"test\\",\\n \\"regionId\\": \\"cn-hangzhou\\"\\n },\\n \\"alertActionName\\": \\"testName\\",\\n \\"essParam\\": {\\n \\"essGroupId\\": \\"testId\\",\\n \\"essRuleId\\": \\"testId\\",\\n \\"regionId\\": \\"cn-beijing\\"\\n },\\n \\"fcParam\\": {\\n \\"function\\": \\"test\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"service\\": \\"test\\"\\n },\\n \\"pagerDutyParam\\": {\\n \\"key\\": \\"fsfer4543t5t65g4t4\\",\\n \\"url\\": \\"https://events.pagerduty.com/v2/enqueue\\"\\n },\\n \\"webhookParam\\": {\\n \\"method\\": \\"GET\\",\\n \\"url\\": \\"http://www.test.com\\",\\n \\"contentType\\": \\"JSON\\",\\n \\"headers\\": {\\n \\"key\\": \\"{\'X-Total-Count\': 0}\\"\\n }\\n },\\n \\"fc3Param\\": {\\n \\"regionId\\": \\"cn-qingdao\\",\\n \\"function\\": \\"test\\",\\n \\"qualifier\\": \\"test\\"\\n },\\n \\"ebParam\\": {\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"eventBusName\\": \\"test\\",\\n \\"subject\\": \\"test\\",\\n \\"ebSource\\": \\"test\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
],
'ListAlertRobots' => [
'summary' => 'Queries alert chatbots.',
'path' => '/robots',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'pageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page. Default value: 100.', 'type' => 'integer', 'format' => 'int64', 'default' => '100', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'pageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int64', 'default' => '1', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'robotIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The chatbot ID.',
'type' => 'array',
'items' => ['description' => 'The chatbot ID.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'name',
'in' => 'query',
'schema' => ['description' => 'The chatbot name. Prefix fuzzy match is supported.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
[
'name' => 'types',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The chatbot type.',
'type' => 'array',
'items' => [
'description' => 'The chatbot type.',
'type' => 'string',
'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK'],
'required' => false,
'example' => 'DING',
'title' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'workspace',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response body structure.',
'type' => 'object',
'properties' => [
'pageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''],
'requestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
'robots' => [
'description' => 'The chatbot ID.',
'type' => 'array',
'items' => [
'description' => 'The chatbot ID.',
'type' => 'object',
'properties' => [
'lang' => ['description' => 'The language.', 'type' => 'string', 'example' => 'zh_CN', 'title' => ''],
'name' => ['description' => 'The chatbot name.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'robotId' => ['description' => 'The unique ID of the chatbot.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'type' => ['description' => 'The chatbot type.', 'type' => 'string', 'example' => 'DING', 'title' => ''],
'url' => ['description' => 'The webhook URL of the chatbot.', 'type' => 'string', 'example' => 'https://oapi.dingtalk.com/robot/send?access_token=*******', 'title' => ''],
'workspace' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'digitalEmployeeName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'robotSignKey' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'total' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => '%s is missing or invalid.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 20,\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"robots\\": [\\n {\\n \\"lang\\": \\"zh_CN\\",\\n \\"name\\": \\"test\\",\\n \\"robotId\\": \\"test\\",\\n \\"type\\": \\"DING\\",\\n \\"url\\": \\"https://oapi.dingtalk.com/robot/send?access_token=*******\\",\\n \\"workspace\\": \\"\\",\\n \\"digitalEmployeeName\\": \\"\\",\\n \\"robotSignKey\\": \\"\\"\\n }\\n ],\\n \\"total\\": 3\\n}","type":"json"}]',
'title' => 'Query alert chatbots',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cms:ListAlertRobots',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'AlertRobot', 'arn' => 'acs:cms:{#regionId}:{#accountId}:robot/{#robotId}'],
],
],
],
],
],
'ListAlertWebhooks' => [
'path' => '/webhooks',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'pageSize',
'in' => 'query',
'schema' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int64', 'default' => '100', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'pageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int64', 'default' => '1', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'webhookIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The unique ID of the webhook.',
'type' => 'array',
'items' => ['description' => 'The unique ID of the webhook.', 'type' => 'string', 'required' => false, 'example' => 'wh-def456uvw012', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'name',
'in' => 'query',
'schema' => ['description' => 'The name of the webhook.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
[
'name' => 'workspace',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The structure of the response.',
'type' => 'object',
'properties' => [
'pageNumber' => ['description' => 'The page number. The default value is 1.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8A33DBEA-*****-*****-*****-*****'],
'total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'title' => ''],
'webhooks' => [
'description' => 'The webhooks.',
'type' => 'array',
'items' => [
'description' => 'The webhook.',
'type' => 'object',
'properties' => [
'contentType' => ['description' => 'The content type of the data. Valid values:'."\n"
."\n"
.'- JSON'."\n"
."\n"
.'- FORM', 'type' => 'string', 'example' => 'JSON', 'title' => ''],
'headers' => ['description' => 'The headers.', 'type' => 'object', 'example' => 'key', 'title' => ''],
'lang' => ['description' => 'The language. Valid values:'."\n"
."\n"
.'- zh\\_CN'."\n"
."\n"
.'- en\\_US', 'type' => 'string', 'example' => 'zh_CN', 'title' => ''],
'method' => ['description' => 'The request method. Valid values:'."\n"
."\n"
.'- GET'."\n"
."\n"
.'- POST', 'type' => 'string', 'example' => 'GET', 'title' => ''],
'name' => ['description' => 'The name of the webhook.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'url' => ['description' => 'The URL of the alert callback.', 'type' => 'string', 'example' => 'http://aliyun.com/test', 'title' => ''],
'webhookId' => ['description' => 'The unique ID of the webhook.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'workspace' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => '%s is missing or invalid.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListAlertWebhooks',
'summary' => 'Query webhooks',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10,\\n \\"requestId\\": \\"8A33DBEA-*****-*****-*****-*****\\",\\n \\"total\\": 8,\\n \\"webhooks\\": [\\n {\\n \\"contentType\\": \\"JSON\\",\\n \\"headers\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"lang\\": \\"zh_CN\\",\\n \\"method\\": \\"GET\\",\\n \\"name\\": \\"test\\",\\n \\"url\\": \\"http://aliyun.com/test\\",\\n \\"webhookId\\": \\"test\\",\\n \\"workspace\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListBizTraces' => [
'summary' => 'Lists business traces.',
'path' => '/bizTraces',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => 'The name of the workspace.', 'required' => false, 'title' => '', 'example' => 'default-cms-xxxxxx-cn-beijing'],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The maximum number of results to return. The maximum value is 100.', 'required' => false, 'title' => '', 'example' => '20'],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => 'The token for the next page of results.', 'required' => false, 'title' => '', 'example' => 'aa9d0e569b88098a0e3155c29b473201a'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '0CEC5375-C554-562B-A65F-*****'],
'maxResults' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The maximum number of results returned. The maximum value is 100.', 'title' => '', 'example' => '20'],
'nextToken' => ['type' => 'string', 'description' => 'The token to use to retrieve the next page of results.', 'title' => '', 'example' => 'aa9d0e569b88098a0e3155c29b473201a'],
'totalCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of entries.', 'title' => '', 'example' => '66'],
'items' => [
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/BizTraceConfig', 'description' => 'The business trace.', 'title' => '', 'example' => ''],
'description' => 'The list of business traces.',
'title' => '',
'example' => '',
],
],
'title' => '',
'description' => 'Schema of Response',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListBizTraces',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-*****\\",\\n \\"maxResults\\": 20,\\n \\"nextToken\\": \\"aa9d0e569b88098a0e3155c29b473201a\\",\\n \\"totalCount\\": 66,\\n \\"items\\": [\\n {\\n \\"workspace\\": \\"default-cms-xxxxxxx-cn-hangzhou\\",\\n \\"bizTraceId\\": \\"e339260ed64c95d\\",\\n \\"bizTraceName\\": \\"just test\\",\\n \\"bizTraceCode\\": \\"label_env\\",\\n \\"ruleConfig\\": \\"[{\\\\\\"entrancePid\\\\\\":\\\\\\"xxxxx@b57c44xx6e86\\\\\\",\\\\\\"rpcMatcher\\\\\\":{\\\\\\"matchType\\\\\\":\\\\\\"EQUALS\\\\\\",\\\\\\"pattern\\\\\\":\\\\\\"/createApp\\\\\\"},\\\\\\"characteristics\\\\\\":{\\\\\\"operation\\\\\\":\\\\\\"AND\\\\\\",\\\\\\"rules\\\\\\":[{\\\\\\"target\\\\\\":\\\\\\"CUSTOM_EXTRACT\\\\\\",\\\\\\"matcher\\\\\\":{\\\\\\"matchType\\\\\\":\\\\\\"CONTAINS\\\\\\",\\\\\\"pattern\\\\\\":[]}}]}}]\\",\\n \\"advancedConfig\\": \\"{\\\\\\"sample\\\\\\":{\\\\\\"strategy\\\\\\":\\\\\\"BY_APP\\\\\\"}}\\",\\n \\"createTime\\": \\"2025-12-12 00:00:00\\",\\n \\"regionId\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListContactGroups' => [
'summary' => 'Queries contact groups.',
'path' => '/contactGroups',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'pageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries to return per page. The default is 100.', 'type' => 'integer', 'format' => 'int64', 'default' => '100', 'required' => false, 'example' => '20', 'title' => ''],
],
[
'name' => 'pageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number. The default is 1.', 'type' => 'integer', 'format' => 'int64', 'default' => '1', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'contactGroupIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The contact group IDs.',
'type' => 'array',
'items' => ['description' => 'A contact group ID.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'name',
'in' => 'query',
'schema' => ['description' => 'The name of the contact group.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
[
'name' => 'workspace',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response body.',
'type' => 'object',
'properties' => [
'contactGroups' => [
'description' => 'A list of contact groups.',
'type' => 'array',
'items' => [
'description' => 'The details of a contact group.',
'type' => 'object',
'properties' => [
'contactGroupId' => ['description' => 'The contact group ID.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'contactIds' => [
'type' => 'array',
'items' => ['description' => 'A contact ID.', 'type' => 'string', 'example' => '[\\"演示会议\\"]', 'title' => ''],
'description' => 'The contact IDs in the group.',
'title' => '',
'example' => '["Demo meeting"]',
],
'name' => ['description' => 'The name of the contact group.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'workspace' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'pageNumber' => ['description' => 'The returned page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
'total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '15', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => '%s is missing or invalid.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"contactGroups\\": [\\n {\\n \\"contactGroupId\\": \\"test\\",\\n \\"contactIds\\": [\\n \\"[\\\\\\\\\\\\\\"演示会议\\\\\\\\\\\\\\"]\\"\\n ],\\n \\"name\\": \\"test\\",\\n \\"workspace\\": \\"\\"\\n }\\n ],\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10,\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"total\\": 15\\n}","type":"json"}]',
'title' => 'ListContactGroups',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cms:ListContactGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'ContactGroup', 'arn' => 'acs:cms:{#regionId}:{#accountId}:contactgroup/{#contactGroupId}'],
],
],
],
],
'translator' => 'machine',
],
'ListContacts' => [
'summary' => 'Query contacts',
'path' => '/contact',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'high',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREcmsOZILZ5'],
],
'parameters' => [
[
'name' => 'pageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries to return on each page. Default value: 100.', 'type' => 'integer', 'format' => 'int64', 'default' => '100', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'pageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int64', 'default' => '1', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'contactIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The contact IDs.',
'type' => 'array',
'items' => ['description' => 'The contact ID.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'name',
'in' => 'query',
'schema' => ['description' => 'The contact name.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
[
'name' => 'phone',
'in' => 'query',
'schema' => ['description' => 'The mobile number of the contact.', 'type' => 'string', 'required' => false, 'example' => '15012345678', 'title' => ''],
],
[
'name' => 'email',
'in' => 'query',
'schema' => ['description' => 'The email address of the contact.', 'type' => 'string', 'required' => false, 'example' => 'test@aliyun.com', 'title' => ''],
],
[
'name' => 'groupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the contact group.', 'type' => 'string', 'required' => false, 'example' => 'group-id-123', 'title' => ''],
],
[
'name' => 'queryUngroupedContacts',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to query only ungrouped contacts.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
],
[
'name' => 'workspace',
'in' => 'query',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The structure of the response body.',
'type' => 'object',
'properties' => [
'contacts' => [
'description' => 'The list of contacts.',
'type' => 'array',
'items' => [
'description' => 'The details of a contact.',
'type' => 'object',
'properties' => [
'contactId' => ['description' => 'The ID of the contact.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'email' => ['description' => 'The email address of the contact.', 'type' => 'string', 'example' => 'test@aliyun.com', 'title' => ''],
'emailVerify' => ['description' => 'Indicates whether the email address is verified.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'groupList' => [
'description' => 'A list of contact group IDs to which the contact belongs.',
'type' => 'array',
'items' => ['description' => 'The ID of the contact group.', 'type' => 'string', 'example' => 'groupId', 'title' => ''],
'title' => '',
'example' => '',
],
'lang' => ['description' => 'The language preference for notifications. Valid values: zh-CN and en-US.', 'type' => 'string', 'example' => 'zh_CN', 'title' => ''],
'name' => ['description' => 'The name of the contact.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'phone' => ['description' => 'The phone number of the contact.', 'type' => 'string', 'example' => '130123456789', 'title' => ''],
'phoneVerify' => ['description' => 'Indicates whether the phone number is verified.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'updateTime' => ['description' => 'The last time the contact was updated.', 'type' => 'string', 'example' => '2024-10-22 02:21:51', 'title' => ''],
'imUserIds' => [
'type' => 'object',
'additionalProperties' => ['description' => 'The user ID for an instant messaging tool. The key indicates the tool, such as `dingtalk`, and the value is the user ID.', 'type' => 'string', 'example' => '{"dingtalk": "abc123", "wechat": "def456"}', 'title' => ''],
'description' => 'A map of user IDs for various instant messaging (IM) tools.',
'title' => '',
'example' => '',
],
'workspace' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'pageNumber' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'The number of entries per page. Default value: 100.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''],
'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
'total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '56', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => '%s is missing or invalid.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListContacts',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"contacts\\": [\\n {\\n \\"contactId\\": \\"test\\",\\n \\"email\\": \\"test@aliyun.com\\",\\n \\"emailVerify\\": true,\\n \\"groupList\\": [\\n \\"groupId\\"\\n ],\\n \\"lang\\": \\"zh_CN\\",\\n \\"name\\": \\"test\\",\\n \\"phone\\": \\"130123456789\\",\\n \\"phoneVerify\\": true,\\n \\"updateTime\\": \\"2024-10-22 02:21:51\\",\\n \\"imUserIds\\": {\\n \\"key\\": \\"{\\\\\\"dingtalk\\\\\\": \\\\\\"abc123\\\\\\", \\\\\\"wechat\\\\\\": \\\\\\"def456\\\\\\"}\\"\\n },\\n \\"workspace\\": \\"\\"\\n }\\n ],\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 20,\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"total\\": 56\\n}","type":"json"}]',
],
'ListContextStoreAPIKeys' => [
'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/apikey',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => false, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'path',
'schema' => ['description' => 'The name of the context store.', 'type' => 'string', 'required' => false, 'example' => 'test-context-Store', 'title' => ''],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token used to retrieve the next page of results. Leave this parameter empty to retrieve the first page.', 'type' => 'string', 'required' => false, 'example' => '615dfe7fd00f699ea94d5e63ba564aaf22450858c58f1387cc78f883b2254ab47232ce40fa95d9cb', 'title' => ''],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of entries to return in a single request. If this parameter is not specified, the service returns a default number of entries.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
'nextToken' => ['description' => 'A pagination token. To retrieve the next page of results, include this value in the `nextToken` parameter of your next request. If this parameter is not returned, there are no more results.', 'type' => 'string', 'example' => 'xCs4wJD41qEejNkappMSJ1OL2Ky2GeKLqmBLJrC61WrgUOj9F-31jHbo5Kgqzifv', 'title' => ''],
'maxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'total' => ['description' => 'The total count of entries that match the query.', 'type' => 'integer', 'format' => 'int32', 'example' => '454', 'title' => ''],
'results' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'name' => ['description' => 'The display name of the API key. This name helps you identify the purpose of the key.', 'type' => 'string', 'example' => 'Production Service Key', 'title' => ''],
'apiKey' => ['description' => 'The complete API key value.', 'type' => 'string', 'example' => 'sk-3ac8d45d741e4f31b81aa6ee984ce9fd', 'title' => ''],
'createTime' => ['description' => 'The time when the API key was created, represented as a Unix timestamp.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '1778205145', 'title' => ''],
'workspace' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'example' => 'test-workspace', 'title' => ''],
'contextStoreName' => ['description' => 'The name of the context store.', 'type' => 'string', 'example' => 'test-context-Store', 'title' => ''],
],
'description' => 'An object containing the details of an API key.',
'title' => '',
'example' => '',
],
'description' => 'The list of API keys.',
'title' => '',
'example' => '',
],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListContextStoreAPIKeys',
'summary' => 'Lists API keys.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"nextToken\\": \\"xCs4wJD41qEejNkappMSJ1OL2Ky2GeKLqmBLJrC61WrgUOj9F-31jHbo5Kgqzifv\\",\\n \\"maxResults\\": 100,\\n \\"total\\": 454,\\n \\"results\\": [\\n {\\n \\"name\\": \\"Production Service Key\\",\\n \\"apiKey\\": \\"sk-3ac8d45d741e4f31b81aa6ee984ce9fd\\",\\n \\"createTime\\": \\"1778205145\\",\\n \\"workspace\\": \\"test-workspace\\",\\n \\"contextStoreName\\": \\"test-context-Store\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListContextStores' => [
'summary' => 'Retrieves a list of context stores.',
'path' => '/workspace/{workspace}/contextstore',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'query',
'schema' => ['description' => 'The name of the context store.', 'type' => 'string', 'required' => false, 'example' => 'test-context-store', 'title' => ''],
],
[
'name' => 'contextType',
'in' => 'query',
'schema' => ['description' => 'The context type.', 'type' => 'string', 'required' => false, 'example' => 'memory', 'title' => ''],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of results to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['description' => 'The token for the next page of results.', 'type' => 'string', 'required' => false, 'example' => 'OCAQV0pBqldexv7EidbIZw==', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The unique ID of the request.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****', 'title' => ''],
'nextToken' => ['description' => 'The token to retrieve the next page of results. If this field is empty, all results have been returned.', 'type' => 'string', 'example' => '2-ba4d-4b9f-aa24-dcb067a30f1c', 'title' => ''],
'maxResults' => ['description' => 'The maximum number of results returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'total' => ['description' => 'The total number of context stores.', 'type' => 'integer', 'format' => 'int32', 'example' => '56', 'title' => ''],
'results' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'contextStoreName' => ['description' => 'The name of the context store.', 'type' => 'string', 'example' => 'test-context-store', 'title' => ''],
'workspace' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'example' => 'workspace-test', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-heyuan', 'title' => ''],
'contextType' => ['description' => 'The context type.', 'type' => 'string', 'example' => 'memory', 'title' => ''],
'description' => ['description' => 'The description of the context store.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'status' => ['description' => 'The status of the context store.', 'type' => 'string', 'example' => 'active', 'title' => ''],
'createTime' => ['description' => 'The creation time of the context store. The value is a Unix timestamp in milliseconds.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '173847364841938', 'title' => ''],
'updateTime' => ['description' => 'The last update time of the context store. The value is a Unix timestamp in milliseconds.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '173847364841938', 'title' => ''],
],
'description' => 'The details of a context store.',
'title' => '',
'example' => '',
],
'description' => 'A list of context stores.',
'title' => '',
'example' => '',
],
],
'description' => 'The response data.',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListContextStores',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"nextToken\\": \\"2-ba4d-4b9f-aa24-dcb067a30f1c\\",\\n \\"maxResults\\": 100,\\n \\"total\\": 56,\\n \\"results\\": [\\n {\\n \\"contextStoreName\\": \\"test-context-store\\",\\n \\"workspace\\": \\"workspace-test\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"contextType\\": \\"memory\\",\\n \\"description\\": \\"test\\",\\n \\"status\\": \\"active\\",\\n \\"createTime\\": \\"173847364841938\\",\\n \\"updateTime\\": \\"173847364841938\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListDatasets' => [
'summary' => 'Retrieves a list of datasets in a specified workspace.',
'path' => '/workspace/{workspace}/dataset',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'datasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset.', 'type' => 'string', 'required' => false, 'example' => 'test_dataset', 'title' => ''],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of results to return per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token for retrieving the next page of results. A `nextToken` is included in the response when the result set is truncated. To continue pagination, provide the `nextToken` from the previous response.', 'type' => 'string', 'required' => false, 'example' => 'd9a48d977f45aa6fcf6981ed13b885b3fab0b124c12dcbbe70edce5d81ba****************', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'nextToken' => ['description' => 'A token to retrieve the next page of results. This element is returned only when the result set is truncated.', 'type' => 'string', 'example' => 'd9a48d977f45aa6fcf6981ed13b885b3fab0b124c12dcbbe70edce5d81ba****************', 'title' => ''],
'maxResults' => ['description' => 'The maximum number of results returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'requestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****', 'title' => ''],
'total' => ['description' => 'The total number of datasets that match the query.', 'type' => 'integer', 'format' => 'int32', 'example' => '96', 'title' => ''],
'datasets' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'description' => ['description' => 'The description of the dataset.', 'type' => 'string', 'example' => 'test dataset', 'title' => ''],
'createTime' => ['description' => 'The time the dataset was created, as a UNIX timestamp.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '1695090077', 'title' => ''],
'updateTime' => ['description' => 'The time the dataset was last updated, as a UNIX timestamp.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '1695090077', 'title' => ''],
'datasetName' => ['description' => 'The name of the dataset.', 'type' => 'string', 'example' => 'test_dataset', 'title' => ''],
'workspace' => ['description' => 'The ID of the workspace that contains the dataset.', 'type' => 'string', 'example' => 'workspace-test', 'title' => ''],
'regionId' => ['description' => 'The ID of the region where the dataset resides.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
],
'description' => 'An object that represents a dataset.',
'title' => '',
'example' => '',
],
'description' => 'A list of dataset objects.',
'title' => '',
'example' => '',
],
],
'title' => '',
'description' => 'The object containing the response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListDatasets',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"d9a48d977f45aa6fcf6981ed13b885b3fab0b124c12dcbbe70edce5d81ba****************\\",\\n \\"maxResults\\": 100,\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"total\\": 96,\\n \\"datasets\\": [\\n {\\n \\"description\\": \\"test dataset\\",\\n \\"createTime\\": \\"1695090077\\",\\n \\"updateTime\\": \\"1695090077\\",\\n \\"datasetName\\": \\"test_dataset\\",\\n \\"workspace\\": \\"workspace-test\\",\\n \\"regionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListDeliveryTasks' => [
'summary' => 'Retrieves the list of data delivery tasks.',
'path' => '/delivery-tasks',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'keyWords',
'in' => 'query',
'schema' => ['description' => 'Fuzzy search by task name or task ID (LIKE semantics).', 'type' => 'string', 'required' => false, 'example' => 'test-task', 'title' => ''],
],
[
'name' => 'resourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2bhocin5e2na', 'title' => ''],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token. Leave this parameter empty for the first request. For subsequent requests, pass the nextToken value returned in the previous response.', 'type' => 'string', 'required' => false, 'example' => 'sjC5rekx93Ew7K7VcmI3wkBZBYQ-GphB2ilQu3zJCGxoZuicwyJznfo2riTjr-lq', 'title' => ''],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page. Default value: 20. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'tag',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The list of tags.',
'type' => 'array',
'items' => [
'description' => 'The list of tags.',
'type' => 'object',
'properties' => [
'value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''],
'key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'testKey', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'maxResults' => ['description' => 'The maximum number of entries returned. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'nextToken' => ['description' => 'The pagination token for the next page.', 'type' => 'string', 'example' => '2-ba4d-4b9f-aa24-dcb067a30f1c', 'title' => ''],
'totalCount' => ['description' => 'The total number of tasks.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'deliveryTasks' => [
'description' => 'The list of delivery tasks.',
'type' => 'array',
'items' => [
'description' => 'The delivery task.',
'type' => 'object',
'properties' => [
'labelFiltersType' => [
'description' => 'The metric filtering mode.',
'enumValueTitles' => ['Deny' => 'Deny', 'Allow' => 'Allow'],
'type' => 'string',
'example' => 'Allow',
'title' => '',
],
'externalLabels' => [
'description' => 'The additional labels attached to all delivered metrics. The key is the label name and the value is the label value.',
'type' => 'object',
'additionalProperties' => ['description' => 'externalLabelsKey → externalLabelsValue. Example: region → ap-southeast-1.', 'type' => 'string', 'example' => 'region: cn-hangzhou', 'title' => ''],
'title' => '',
'example' => '',
],
'sinkList' => [
'description' => 'The list of delivery targets. Multiple sinks can be configured.',
'type' => 'array',
'items' => [
'description' => 'The delivery target configuration.',
'type' => 'object',
'properties' => [
'sinkConfigs' => [
'description' => 'The detailed configuration of the delivery target. The meanings of key/value pairs vary depending on the sinkType.',
'type' => 'object',
'additionalProperties' => ['description' => 'The configuration items supported by each sinkType.', 'type' => 'string', 'example' => 'Url: http://xxxx/api/v1/write', 'title' => ''],
'title' => '',
'example' => '',
],
'sinkType' => [
'description' => 'The type of the delivery target.',
'enumValueTitles' => ['AcsKafka' => 'AcsKafka', 'Prometheus' => 'Prometheus', 'AcsMaxcompute' => 'AcsMaxcompute'],
'type' => 'string',
'example' => 'Prometheus',
'title' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'taskDescription' => ['description' => 'The task description.', 'type' => 'string', 'example' => 'my delivery task', 'title' => ''],
'updateTime' => ['description' => 'The update time.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '2026-01-22T09:02:01Z', 'title' => ''],
'tags' => [
'description' => 'The tags.',
'type' => 'array',
'items' => [
'description' => 'The tags.',
'type' => 'object',
'properties' => [
'value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'value', 'title' => ''],
'key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'dataSourceId' => ['description' => 'The data source ID (Prometheus instance ID).', 'type' => 'string', 'example' => 'rw-5f2b4c7e66342s', 'title' => ''],
'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '2026-01-22T09:02:01Z', 'title' => ''],
'labelFilters' => [
'description' => 'The metric filter conditions. Used together with labelFiltersType. The key is the metric label name and the value is the match value.',
'type' => 'object',
'additionalProperties' => ['description' => 'filterKey → filterValue. Example: __name__ → up, job → my_job.', 'type' => 'string', 'example' => '__name__: up', 'title' => ''],
'title' => '',
'example' => '',
],
'taskName' => ['description' => 'The task name.', 'type' => 'string', 'example' => 'test-task', 'title' => ''],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfm3gn5i6bigbi', 'title' => ''],
'taskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'db21f8a126d96953', 'title' => ''],
'status' => [
'description' => 'The current status of the task.',
'enumValueTitles' => ['Enable' => 'Enable', 'Disable' => 'Disable'],
'type' => 'string',
'example' => 'Enable',
'title' => '',
],
'extraInfo' => [
'description' => 'The extended information.',
'type' => 'object',
'properties' => [
'taskNameList' => [
'description' => 'The list of EventBridge tasks.',
'type' => 'array',
'items' => ['description' => 'The EventBridge task.', 'type' => 'string', 'example' => 'prometheus-deliver-98e367d8fb8cc83b-0', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7D7DF334-B2F2-5453-AD51-A27B337E3191', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Retrieve data delivery task list',
'description' => 'Deletes a specified site monitoring task.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cms:ListDeliveryTasks',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'DeliveryTask', 'arn' => 'acs:cms:{#regionId}:{#accountId}:deliverytask/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxResults\\": 100,\\n \\"nextToken\\": \\"2-ba4d-4b9f-aa24-dcb067a30f1c\\",\\n \\"totalCount\\": 100,\\n \\"deliveryTasks\\": [\\n {\\n \\"labelFiltersType\\": \\"Allow\\",\\n \\"externalLabels\\": {\\n \\"key\\": \\"region: cn-hangzhou\\"\\n },\\n \\"sinkList\\": [\\n {\\n \\"sinkConfigs\\": {\\n \\"key\\": \\"Url: http://xxxx/api/v1/write\\"\\n },\\n \\"sinkType\\": \\"Prometheus\\"\\n }\\n ],\\n \\"taskDescription\\": \\"my delivery task\\",\\n \\"updateTime\\": \\"2026-01-22T09:02:01Z\\",\\n \\"tags\\": [\\n {\\n \\"value\\": \\"value\\",\\n \\"key\\": \\"key\\"\\n }\\n ],\\n \\"dataSourceId\\": \\"rw-5f2b4c7e66342s\\",\\n \\"createTime\\": \\"2026-01-22T09:02:01Z\\",\\n \\"labelFilters\\": {\\n \\"key\\": \\"__name__: up\\"\\n },\\n \\"taskName\\": \\"test-task\\",\\n \\"resourceGroupId\\": \\"rg-acfm3gn5i6bigbi\\",\\n \\"taskId\\": \\"db21f8a126d96953\\",\\n \\"status\\": \\"Enable\\",\\n \\"extraInfo\\": {\\n \\"taskNameList\\": [\\n \\"prometheus-deliver-98e367d8fb8cc83b-0\\"\\n ]\\n }\\n }\\n ],\\n \\"requestId\\": \\"7D7DF334-B2F2-5453-AD51-A27B337E3191\\"\\n}","type":"json"}]',
],
'ListIntegrationPolicies' => [
'path' => '/integration-policies',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'policyId',
'in' => 'query',
'schema' => ['description' => 'The policy ID.', 'type' => 'string', 'required' => false, 'example' => 'policy-93817a401f78435596d745a97d2e85a1', 'title' => ''],
],
[
'name' => 'policyName',
'in' => 'query',
'schema' => ['description' => 'The rule name.', 'type' => 'string', 'required' => false, 'example' => 'prod-database', 'title' => ''],
],
[
'name' => 'policyType',
'in' => 'query',
'schema' => ['description' => 'The policy type.', 'type' => 'string', 'required' => false, 'example' => 'CS', 'title' => ''],
],
[
'name' => 'addonName',
'in' => 'query',
'schema' => ['description' => 'The addon name.', 'type' => 'string', 'required' => false, 'example' => 'cs-default', 'title' => ''],
],
[
'name' => 'filterRegionIds',
'in' => 'query',
'schema' => ['description' => 'The region IDs used for filtering, separated by commas.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing,cn-hangzhou', 'title' => ''],
],
[
'name' => 'resourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-xxxxx', 'title' => ''],
],
[
'name' => 'tag',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The tags.',
'type' => 'array',
'items' => [
'description' => 'The tags in JSON format.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['description' => 'The token used to retrieve more results. You do not need to specify this parameter for the first request. Use the token returned from the previous query for subsequent requests.', 'type' => 'string', 'required' => false, 'example' => 'mvnX6zqg3P', 'title' => ''],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of results to return. Default value: 30. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''],
],
[
'name' => 'entityGroupIds',
'in' => 'query',
'schema' => ['description' => 'The entity IDs used for filtering, separated by commas.', 'type' => 'string', 'required' => false, 'example' => 'eg-1,eg-2,eg-3', 'title' => ''],
],
[
'name' => 'workspace',
'in' => 'query',
'schema' => ['description' => 'The workspace.', 'type' => 'string', 'required' => false, 'example' => 'demo', 'title' => ''],
],
[
'name' => 'query',
'in' => 'query',
'schema' => ['description' => 'The keyword used for general queries.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
[
'name' => 'prometheusInstanceId',
'in' => 'query',
'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'cmee-622d27c2e87d49debceeebc7c642610e', 'title' => ''],
],
[
'name' => 'bindResourceId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The ID of the bound resource.', 'type' => 'string', 'required' => false, 'example' => '622d27c2e87d49debceeebc7c642610e'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'maxResults' => ['description' => 'The page size.'."\n"
.'Default value:'."\n"
.' 50'."\n"
.'Maximum value:'."\n"
.' 50.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'nextToken' => ['description' => 'The pagination token.', 'type' => 'string', 'example' => '44ANBjKZmQeKnaB1fXRq06w7sFYK3MUcCALMD9qQbmEiE', 'title' => ''],
'policies' => [
'description' => 'The list of access policies.',
'type' => 'array',
'items' => [
'description' => 'The access policy.',
'type' => 'object',
'properties' => [
'bindResource' => [
'description' => 'The bound resource information.',
'type' => 'object',
'properties' => [
'clusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'example' => 'cv68tt87d78vyc89zy9v', 'title' => ''],
'clusterType' => ['description' => 'The cluster type.', 'type' => 'string', 'example' => 'ManagedKubernetes', 'title' => ''],
'vpcCidr' => ['description' => 'The VPC CIDR block.', 'type' => 'string', 'example' => '100.100.0.1/16', 'title' => ''],
'vpcId' => ['description' => 'The virtual private cloud (VPC) ID.', 'type' => 'string', 'example' => 'vpc-uf664nyle5khp5d4d7hdo', 'title' => ''],
],
'title' => '',
'example' => '',
],
'entityGroup' => [
'description' => 'The entity group.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'xxxx', 'title' => ''],
'entityGroupId' => ['description' => 'The entity group ID.', 'type' => 'string', 'example' => 'eg-b79f65d11fb94e779867cf937c3a3002', 'title' => ''],
'entityGroupName' => ['description' => 'The entity group name.', 'type' => 'string', 'example' => 'test-eg', 'title' => ''],
'entityRules' => [
'description' => 'The entity group.',
'type' => 'object',
'properties' => [
'annotations' => [
'description' => 'The annotations.',
'type' => 'array',
'items' => [
'description' => 'The annotations.',
'type' => 'object',
'properties' => [
'op' => ['description' => 'The operation to perform.', 'type' => 'string', 'example' => 'add', 'title' => ''],
'tagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key', 'title' => ''],
'tagValues' => [
'description' => 'The tag values.',
'type' => 'array',
'items' => ['description' => 'The tag values.', 'type' => 'string', 'example' => 'value', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'entityTypes' => [
'description' => 'The list of entity types.',
'type' => 'array',
'items' => ['description' => 'The entity type.', 'type' => 'string', 'example' => 'ECS', 'title' => ''],
'title' => '',
'example' => '',
],
'fieldRules' => [
'description' => 'The field rules.',
'type' => 'array',
'items' => [
'description' => 'The field rules.',
'type' => 'object',
'properties' => [
'fieldKey' => ['description' => 'The unique identifier of the field.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'fieldValues' => [
'description' => 'The field values. Multiple values are separated by commas.',
'type' => 'array',
'items' => ['description' => 'The field values. Multiple values are separated by commas.', 'type' => 'string', 'example' => 'field1,fieled2', 'title' => ''],
'title' => '',
'example' => '',
],
'op' => ['description' => 'The operation to perform.', 'type' => 'string', 'example' => 'add', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'instanceIds' => [
'description' => 'The instance IDs.',
'type' => 'array',
'items' => ['description' => 'The instance IDs.', 'type' => 'string', 'example' => '6fq8fvvcb,owqeq789r', 'title' => ''],
'title' => '',
'example' => '',
],
'ipMatchRule' => [
'description' => 'The IP match rule.',
'type' => 'object',
'properties' => [
'ipCidr' => ['description' => 'The IP CIDR block.', 'type' => 'string', 'example' => '100.100.1.0/16', 'title' => ''],
'ipFieldKey' => ['description' => 'The key of the IP field.', 'type' => 'string', 'example' => 'xxxx', 'title' => ''],
],
'title' => '',
'example' => '',
],
'labels' => [
'description' => 'The labels.',
'type' => 'array',
'items' => [
'description' => 'The label value.',
'type' => 'object',
'properties' => [
'op' => ['description' => 'The operation to perform.', 'type' => 'string', 'example' => 'add', 'title' => ''],
'tagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'tagValues' => [
'description' => 'The tag values.',
'type' => 'array',
'items' => ['description' => 'The tag values.', 'type' => 'string', 'example' => 'value1', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'regionIds' => [
'description' => 'The list of region IDs.',
'type' => 'array',
'items' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing,cn-hangzhou', 'title' => ''],
'title' => '',
'example' => '',
],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-5i6dbwxfxuqihk7k', 'title' => ''],
'tags' => [
'description' => 'The tag information of the instance.',
'type' => 'array',
'items' => [
'description' => 'The tag value.',
'type' => 'object',
'properties' => [
'op' => ['description' => 'The operation to perform.', 'type' => 'string', 'example' => 'add', 'title' => ''],
'tagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key', 'title' => ''],
'tagValues' => [
'description' => 'The tag values.',
'type' => 'array',
'items' => ['description' => 'The tag values.', 'type' => 'string', 'example' => 'value1', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'query' => ['description' => 'The search keyword. Document library names and descriptions are supported.', 'type' => 'string', 'example' => 'Haval', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-heyuan', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '1236812738', 'title' => ''],
'workspace' => ['description' => 'The workspace.', 'type' => 'string', 'example' => 'test-api', 'title' => ''],
],
'title' => '',
'example' => '',
],
'managedInfo' => [
'description' => 'The policy network management information.',
'type' => 'object',
'properties' => [
'securityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-xxxxx', 'title' => ''],
'vswitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-xxxxxx', 'title' => ''],
'eniId' => ['title' => '', 'description' => 'The ENI ID of the managed probe. Example: eni-xxxx.', 'type' => 'string', 'example' => 'eni-12345678'],
],
'title' => '',
'example' => '',
],
'policyId' => ['description' => 'The policy ID.', 'type' => 'string', 'example' => 'policy-ac38a7cb02d14ff48bc9f97d0a75063e', 'title' => ''],
'policyName' => ['description' => 'The rule name.', 'type' => 'string', 'example' => '6f5HSsg3AP', 'title' => ''],
'policyType' => ['description' => 'The access center policy type.', 'type' => 'string', 'example' => 'ECS', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-heyuan', 'title' => ''],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-xxxxx', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '128470923', 'title' => ''],
'workspace' => ['description' => 'The workspace.', 'type' => 'string', 'example' => 'test-api', 'title' => ''],
'feePackage' => [
'description' => 'The billing type.',
'enumValueTitles' => ['CS_Pro' => 'CS_Pro', 'CS_Basic' => 'CS_Basic'],
'type' => 'string',
'example' => 'CS_Pro',
'title' => '',
],
'subAddonRelease' => [
'description' => 'The number of sub-releases.',
'type' => 'object',
'properties' => [
'total' => ['description' => 'The total number of rules.', 'type' => 'integer', 'format' => 'int32', 'example' => '278', 'title' => ''],
'ready' => ['description' => 'The number of ready sub-releases.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
],
'title' => '',
'example' => '',
],
'csUmodelStatus' => ['description' => 'The umodel installation status in the container environment.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CD8BA7D6-995D-578D-9941-78B0FECD14B5'],
'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query access center policy list',
'summary' => 'Queries the list of access center policies.',
'description' => 'Queries the integration list.',
'changeSet' => [
['createdAt' => '2025-10-30T12:36:57.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2025-10-30T11:46:59.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2025-10-15T12:10:46.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2025-10-14T08:04:01.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationPolicies'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cms:ListIntegrationPolicies',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxResults\\": 100,\\n \\"nextToken\\": \\"44ANBjKZmQeKnaB1fXRq06w7sFYK3MUcCALMD9qQbmEiE\\",\\n \\"policies\\": [\\n {\\n \\"bindResource\\": {\\n \\"clusterId\\": \\"cv68tt87d78vyc89zy9v\\",\\n \\"clusterType\\": \\"ManagedKubernetes\\",\\n \\"vpcCidr\\": \\"100.100.0.1/16\\",\\n \\"vpcId\\": \\"vpc-uf664nyle5khp5d4d7hdo\\"\\n },\\n \\"entityGroup\\": {\\n \\"description\\": \\"xxxx\\",\\n \\"entityGroupId\\": \\"eg-b79f65d11fb94e779867cf937c3a3002\\",\\n \\"entityGroupName\\": \\"test-eg\\",\\n \\"entityRules\\": {\\n \\"annotations\\": [\\n {\\n \\"op\\": \\"add\\",\\n \\"tagKey\\": \\"key\\",\\n \\"tagValues\\": [\\n \\"value\\"\\n ]\\n }\\n ],\\n \\"entityTypes\\": [\\n \\"ECS\\"\\n ],\\n \\"fieldRules\\": [\\n {\\n \\"fieldKey\\": \\"test\\",\\n \\"fieldValues\\": [\\n \\"field1,fieled2\\"\\n ],\\n \\"op\\": \\"add\\"\\n }\\n ],\\n \\"instanceIds\\": [\\n \\"6fq8fvvcb,owqeq789r\\"\\n ],\\n \\"ipMatchRule\\": {\\n \\"ipCidr\\": \\"100.100.1.0/16\\",\\n \\"ipFieldKey\\": \\"xxxx\\"\\n },\\n \\"labels\\": [\\n {\\n \\"op\\": \\"add\\",\\n \\"tagKey\\": \\"test\\",\\n \\"tagValues\\": [\\n \\"value1\\"\\n ]\\n }\\n ],\\n \\"regionIds\\": [\\n \\"cn-beijing,cn-hangzhou\\"\\n ],\\n \\"resourceGroupId\\": \\"rg-5i6dbwxfxuqihk7k\\",\\n \\"tags\\": [\\n {\\n \\"op\\": \\"add\\",\\n \\"tagKey\\": \\"key\\",\\n \\"tagValues\\": [\\n \\"value1\\"\\n ]\\n }\\n ]\\n },\\n \\"query\\": \\"Haval\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"userId\\": \\"1236812738\\",\\n \\"workspace\\": \\"test-api\\"\\n },\\n \\"managedInfo\\": {\\n \\"securityGroupId\\": \\"sg-xxxxx\\",\\n \\"vswitchId\\": \\"vsw-xxxxxx\\",\\n \\"eniId\\": \\"eni-12345678\\"\\n },\\n \\"policyId\\": \\"policy-ac38a7cb02d14ff48bc9f97d0a75063e\\",\\n \\"policyName\\": \\"6f5HSsg3AP\\",\\n \\"policyType\\": \\"ECS\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"resourceGroupId\\": \\"rg-xxxxx\\",\\n \\"userId\\": \\"128470923\\",\\n \\"workspace\\": \\"test-api\\",\\n \\"feePackage\\": \\"CS_Pro\\",\\n \\"subAddonRelease\\": {\\n \\"total\\": 278,\\n \\"ready\\": 30\\n },\\n \\"csUmodelStatus\\": true\\n }\\n ],\\n \\"requestId\\": \\"CD8BA7D6-995D-578D-9941-78B0FECD14B5\\",\\n \\"totalCount\\": 0\\n}","type":"json"}]',
],
'ListIntegrationPolicyAddons' => [
'summary' => 'Lists the add-ons that are installed for a specified policy.',
'path' => '/integration-policies/{policyId}/addons',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['description' => 'The ID of the environment.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'policy-3563e6bf338141b3b92c118e2c318c37'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'addons' => [
'description' => 'A list of add-ons.',
'type' => 'array',
'items' => [
'description' => 'The information about the add-on.',
'type' => 'object',
'properties' => [
'alias' => ['description' => 'The display name.', 'type' => 'string', 'example' => 'MySQL', 'title' => ''],
'categories' => [
'description' => 'The categories.',
'type' => 'array',
'items' => ['description' => 'A category.', 'type' => 'string', 'example' => 'database', 'title' => ''],
'title' => '',
'example' => '',
],
'dashboards' => [
'description' => 'A list of dashboards.',
'type' => 'array',
'items' => [
'description' => 'A dashboard.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'The description.', 'type' => 'string', 'example' => '用于mysql的监控大盘', 'title' => ''],
'name' => ['description' => 'The name.', 'type' => 'string', 'example' => 'MySQL Overview', 'title' => ''],
'url' => ['description' => 'The URL of the dashboard.', 'type' => 'string', 'example' => 'http://xxxxxxx', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'Observability integration.', 'title' => ''],
'environments' => [
'description' => 'A list of supported environments.',
'type' => 'array',
'items' => [
'description' => 'The environment context.',
'type' => 'object',
'properties' => [
'dependencies' => [
'description' => 'The dependencies.',
'type' => 'object',
'properties' => [
'clusterTypes' => [
'description' => 'The dependencies on cluster types.',
'type' => 'array',
'items' => ['description' => 'The cluster type.', 'type' => 'string', 'example' => 'ACK', 'title' => ''],
'title' => '',
'example' => '',
],
'features' => [
'description' => 'The dependencies on probes.',
'type' => 'object',
'additionalProperties' => ['description' => 'The metric agent.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'title' => '',
'example' => '',
],
'services' => [
'description' => 'The dependencies on product codes.',
'type' => 'array',
'items' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'Prometheus', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'o11y-demo-cn-heyuan', 'title' => ''],
'enable' => ['description' => 'Indicates whether the feature is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'label' => ['description' => 'The display name of the environment.', 'type' => 'string', 'example' => 'Cloud', 'title' => ''],
'name' => ['description' => 'The name of the environment.', 'type' => 'string', 'example' => 'Cloud', 'title' => ''],
'policies' => [
'description' => 'The policy.',
'type' => 'object',
'properties' => [
'alertDefaultStatus' => ['description' => 'The default status of the alert rule policy.', 'type' => 'string', 'example' => 'RUNNING', 'title' => ''],
'defaultInstall' => ['description' => 'Indicates whether the add-on is installed by default.', 'type' => 'boolean', 'example' => 'true'."\n", 'title' => ''],
'enableServiceAccount' => ['description' => 'Indicates whether to assign a Service Account for communication with the console API.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'metricCheckRule' => [
'description' => 'The metric check rule.',
'type' => 'object',
'properties' => [
'promQl' => [
'description' => 'The PromQL search statements.',
'type' => 'array',
'items' => ['description' => 'A PromQL search statement.', 'type' => 'string', 'example' => 'up{job="mysql"} > 0', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'needRestartAfterIntegration' => ['description' => 'Indicates whether a pod restart is required after the add-on is installed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'protocols' => [
'description' => 'The protocols.',
'type' => 'array',
'items' => [
'description' => 'A protocol.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'icon' => ['description' => 'The icon.', 'type' => 'string', 'example' => ' https://img.alixxxx', 'title' => ''],
'label' => ['description' => 'The display name.', 'type' => 'string', 'example' => 'Golang', 'title' => ''],
'name' => ['description' => 'The protocol name.', 'type' => 'string', 'example' => 'golang', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'targetAddonName' => ['description' => 'The name of the target add-on.', 'type' => 'string', 'example' => 'mysql', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'icon' => ['description' => 'The icon of the add-on.', 'type' => 'string', 'example' => 'asert/mysql.svg', 'title' => ''],
'keywords' => [
'description' => 'The keywords.',
'type' => 'array',
'items' => ['description' => 'A keyword.', 'type' => 'string', 'example' => 'container', 'title' => ''],
'title' => '',
'example' => '',
],
'language' => ['description' => 'The language.', 'type' => 'string', 'example' => 'zh', 'title' => ''],
'latestReleaseCreateTime' => ['description' => 'The time when the latest version was created.', 'type' => 'string', 'example' => '2025-09-03T03:15:56Z', 'title' => ''],
'name' => ['description' => 'The name of the add-on.', 'type' => 'string', 'example' => 'mysql', 'title' => ''],
'once' => ['description' => 'Indicates whether the add-on can be installed only once.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'scene' => ['description' => 'The scenario of the add-on.', 'type' => 'string', 'example' => 'container', 'title' => ''],
'version' => ['description' => 'The version of the add-on.', 'type' => 'string', 'example' => '0.1.1', 'title' => ''],
'weight' => ['description' => 'The weight.', 'type' => 'integer', 'format' => 'int32', 'example' => '99', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '7E00EF90-CEF9-57C9-9AE9-5AA937D37C03'],
'total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListIntegrationPolicyAddons',
'description' => 'Lists the add-ons that are installed for a specified policy.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'cms:ListIntegrationPolicyAddons',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'integrationPolicy', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"addons\\": [\\n {\\n \\"alias\\": \\"MySQL\\",\\n \\"categories\\": [\\n \\"database\\"\\n ],\\n \\"dashboards\\": [\\n {\\n \\"description\\": \\"用于mysql的监控大盘\\",\\n \\"name\\": \\"MySQL Overview\\",\\n \\"url\\": \\"http://xxxxxxx\\"\\n }\\n ],\\n \\"description\\": \\"Observability integration.\\",\\n \\"environments\\": [\\n {\\n \\"dependencies\\": {\\n \\"clusterTypes\\": [\\n \\"ACK\\"\\n ],\\n \\"features\\": {\\n \\"key\\": true\\n },\\n \\"services\\": [\\n \\"Prometheus\\"\\n ]\\n },\\n \\"description\\": \\"o11y-demo-cn-heyuan\\",\\n \\"enable\\": true,\\n \\"label\\": \\"Cloud\\",\\n \\"name\\": \\"Cloud\\",\\n \\"policies\\": {\\n \\"alertDefaultStatus\\": \\"RUNNING\\",\\n \\"defaultInstall\\": true,\\n \\"enableServiceAccount\\": true,\\n \\"metricCheckRule\\": {\\n \\"promQl\\": [\\n \\"up{job=\\\\\\"mysql\\\\\\"} > 0\\"\\n ]\\n },\\n \\"needRestartAfterIntegration\\": true,\\n \\"protocols\\": [\\n {\\n \\"description\\": \\"test\\",\\n \\"icon\\": \\" https://img.alixxxx\\",\\n \\"label\\": \\"Golang\\",\\n \\"name\\": \\"golang\\"\\n }\\n ],\\n \\"targetAddonName\\": \\"mysql\\"\\n }\\n }\\n ],\\n \\"icon\\": \\"asert/mysql.svg\\",\\n \\"keywords\\": [\\n \\"container\\"\\n ],\\n \\"language\\": \\"zh\\",\\n \\"latestReleaseCreateTime\\": \\"2025-09-03T03:15:56Z\\",\\n \\"name\\": \\"mysql\\",\\n \\"once\\": true,\\n \\"scene\\": \\"container\\",\\n \\"version\\": \\"0.1.1\\",\\n \\"weight\\": 99\\n }\\n ],\\n \\"requestId\\": \\"7E00EF90-CEF9-57C9-9AE9-5AA937D37C03\\",\\n \\"total\\": 5\\n}","type":"json"}]',
],
'ListIntegrationPolicyCollectors' => [
'summary' => 'Returns information about collectors for an Integration Center policy.',
'path' => '/integration-policies/{policyId}/collectors',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['description' => 'The ID of the Integration Center policy.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'env-d95435164593aece55f9999ce45c'],
],
[
'name' => 'addonReleaseName',
'in' => 'query',
'schema' => ['description' => 'The name of the add-on release.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'release-1234567'],
],
[
'name' => 'collectorType',
'in' => 'query',
'schema' => ['description' => 'The collector type.', 'type' => 'string', 'required' => true, 'example' => 'Exporter', 'title' => ''],
],
[
'name' => 'language',
'in' => 'query',
'schema' => ['description' => 'The language.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'collectors' => [
'description' => 'The list of collectors.',
'type' => 'array',
'items' => [
'description' => 'The collector information.',
'type' => 'object',
'properties' => [
'collectorName' => ['description' => 'The collector name.', 'type' => 'string', 'example' => 'collector-kkxx', 'title' => ''],
'collectorType' => ['description' => 'The collector type.', 'type' => 'string', 'example' => 'Exporter', 'title' => ''],
'conditions' => [
'description' => 'The phase status.',
'type' => 'array',
'items' => [
'description' => 'The details.',
'type' => 'object',
'properties' => [
'firstTransitionTime' => ['description' => 'The time of the first transition.', 'type' => 'string', 'example' => '2024-08-27T13:59:23+08:00', 'title' => ''],
'lastTransitionTime' => ['description' => 'The time of the last transition.', 'type' => 'string', 'example' => '2024-08-27T13:59:23+08:00', 'title' => ''],
'message' => ['description' => 'The details.', 'type' => 'string', 'example' => 'success', 'title' => ''],
'reason' => ['description' => 'The reason for the failure.', 'type' => 'string', 'example' => 'Probe', 'title' => ''],
'status' => ['description' => 'The phase status.', 'type' => 'string', 'example' => 'True', 'title' => ''],
'type' => ['description' => 'The phase type.', 'type' => 'string', 'example' => 'Ready', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'managed' => ['description' => 'Indicates whether the component is a managed component.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'state' => ['description' => 'The collector status.', 'type' => 'string', 'example' => 'xx', 'title' => ''],
'version' => ['description' => 'The component version.', 'type' => 'string', 'example' => '2.6.2', 'title' => ''],
'workloads' => [
'description' => 'The list of workloads.',
'type' => 'array',
'items' => [
'description' => 'The workload details.',
'type' => 'object',
'properties' => [
'hostIp' => ['description' => 'The host IP address.', 'type' => 'string', 'example' => '10.10.10.10', 'title' => ''],
'ip' => ['description' => 'The IP address of the workload.', 'type' => 'string', 'example' => '11.193.82.198', 'title' => ''],
'managed' => ['description' => 'Indicates whether the component is a managed component.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'managedInfo' => [
'description' => 'The policy management information.',
'type' => 'object',
'properties' => [
'securityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-xxxxx', 'title' => ''],
'vswitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-xxxxxx', 'title' => ''],
],
'title' => '',
'example' => '',
],
'message' => ['description' => 'The details.', 'type' => 'string', 'example' => 'ok', 'title' => ''],
'name' => ['description' => 'The workload name.', 'type' => 'string', 'example' => 'exporter-xxx', 'title' => ''],
'namespace' => ['description' => 'The workload namespace.', 'type' => 'string', 'example' => 'prod-db', 'title' => ''],
'ownerReferenceKind' => ['description' => 'The kind of the parent reference.', 'type' => 'string', 'example' => 'Deployment', 'title' => ''],
'ownerReferenceName' => ['description' => 'The name of the parent reference.', 'type' => 'string', 'example' => 'exporter', 'title' => ''],
'startTime' => ['description' => 'The start time.', 'type' => 'string', 'example' => '2024-08-27T13:59:23+08:00', 'title' => ''],
'status' => ['description' => 'The status.', 'type' => 'string', 'example' => '{}', 'title' => ''],
'version' => ['description' => 'The workload version.', 'type' => 'string', 'example' => 'v2.4.4', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'releaseName' => ['description' => 'The name of the add-on release.', 'type' => 'string', 'example' => 'ecs-loong-collector-i-f8z1176fg57rlwmc1rfi', 'title' => ''],
'addonMeta' => ['description' => 'The add-on details.', '$ref' => '#/components/schemas/AddonMeta', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListIntegrationPolicyCollectors',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'cms:ListIntegrationPolicyCollectors',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'IntegrationPolicy', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"collectors\\": [\\n {\\n \\"collectorName\\": \\"collector-kkxx\\",\\n \\"collectorType\\": \\"Exporter\\",\\n \\"conditions\\": [\\n {\\n \\"firstTransitionTime\\": \\"2024-08-27T13:59:23+08:00\\",\\n \\"lastTransitionTime\\": \\"2024-08-27T13:59:23+08:00\\",\\n \\"message\\": \\"success\\",\\n \\"reason\\": \\"Probe\\",\\n \\"status\\": \\"True\\",\\n \\"type\\": \\"Ready\\"\\n }\\n ],\\n \\"managed\\": false,\\n \\"state\\": \\"xx\\",\\n \\"version\\": \\"2.6.2\\",\\n \\"workloads\\": [\\n {\\n \\"hostIp\\": \\"10.10.10.10\\",\\n \\"ip\\": \\"11.193.82.198\\",\\n \\"managed\\": false,\\n \\"managedInfo\\": {\\n \\"securityGroupId\\": \\"sg-xxxxx\\",\\n \\"vswitchId\\": \\"vsw-xxxxxx\\"\\n },\\n \\"message\\": \\"ok\\",\\n \\"name\\": \\"exporter-xxx\\",\\n \\"namespace\\": \\"prod-db\\",\\n \\"ownerReferenceKind\\": \\"Deployment\\",\\n \\"ownerReferenceName\\": \\"exporter\\",\\n \\"startTime\\": \\"2024-08-27T13:59:23+08:00\\",\\n \\"status\\": \\"{}\\",\\n \\"version\\": \\"v2.4.4\\"\\n }\\n ],\\n \\"releaseName\\": \\"ecs-loong-collector-i-f8z1176fg57rlwmc1rfi\\",\\n \\"addonMeta\\": {\\n \\"name\\": \\"cloud-acs-ecs\\",\\n \\"version\\": \\"0.0.1\\",\\n \\"language\\": \\"zh\\",\\n \\"description\\": \\"The out-of-the-box and comprehensive ECS observe dashboards and alarm rules. Based on AliYun CloudMonitor agentless metrics, exporter agent metrics, host audit logs, host events and other data.\\",\\n \\"scene\\": \\"feature\\",\\n \\"alias\\": \\"ECS 监控\\",\\n \\"icon\\": \\"assets/logos/ecs.svg\\",\\n \\"keywords\\": [\\n \\"Monitor\\"\\n ],\\n \\"once\\": true,\\n \\"environments\\": [\\n {\\n \\"name\\": \\"CS/ECS/Cloud/Client\\",\\n \\"enable\\": true,\\n \\"label\\": \\"容器环境\\",\\n \\"description\\": \\"支持容器集群的工作覆盖监控\\",\\n \\"policies\\": {\\n \\"defaultInstall\\": true,\\n \\"targetAddonName\\": \\"cloud-acs-ecs\\",\\n \\"alertDefaultStatus\\": \\"RUNNING\\",\\n \\"protocols\\": [\\n {\\n \\"name\\": \\"Prometheus\\",\\n \\"label\\": \\"Prometheus 协议\\",\\n \\"description\\": \\"使用 Prometheus 协议写入指标数据\\",\\n \\"icon\\": \\"assets/logos/ecs.svg\\\\n\\"\\n }\\n ],\\n \\"metricCheckRule\\": {\\n \\"promQL\\": [\\n \\"up{job=\\\\\\"acs-ecs\\\\\\"}==1\\"\\n ]\\n },\\n \\"needRestartAfterIntegration\\": true,\\n \\"enableServiceAccount\\": true,\\n \\"bindEntity\\": {\\n \\"entityGroupMode\\": true,\\n \\"singleEntityMode\\": true,\\n \\"entityType\\": \\"acs.ecs.instance\\",\\n \\"vpcIdFieldKey\\": \\"vpcId\\"\\n },\\n \\"bindDefaultPolicy\\": true\\n },\\n \\"dependencies\\": {\\n \\"features\\": {\\n \\"key\\": true\\n },\\n \\"services\\": [\\n \\"cmee\\"\\n ],\\n \\"clusterTypes\\": [\\n \\"ManagedKubernetes/Default\\"\\n ]\\n },\\n \\"policyType\\": \\"ECS\\",\\n \\"commonSchemaRefs\\": [\\n {\\n \\"group\\": \\"acs-ecs\\",\\n \\"version\\": \\"0.1.0\\"\\n }\\n ]\\n }\\n ],\\n \\"categories\\": [\\n \\"infrastructure\\"\\n ],\\n \\"dashboards\\": [\\n {\\n \\"name\\": \\"ECS 监控概览大盘\\",\\n \\"url\\": \\"assets/dashboards/ecs.png\\\\n\\",\\n \\"description\\": \\"描述信息\\"\\n }\\n ],\\n \\"weight\\": 1000,\\n \\"latestReleaseCreateTime\\": \\"2025-10-25 09:12:12\\"\\n }\\n }\\n ],\\n \\"requestId\\": \\"0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8\\"\\n}","type":"json"}]',
],
'ListIntegrationPolicyCustomScrapeJobRules' => [
'summary' => 'Lists the custom service discovery rules for an Integration Center policy.',
'path' => '/integration-policies/{policyId}/custom-scrape-job-rules',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['title' => '接入中心策略ID。', 'description' => 'The ID of the Integration Center policy.', 'type' => 'string', 'required' => true, 'example' => 'policy-d95435164593aece55f9999ce45c'],
],
[
'name' => 'addonReleaseName',
'in' => 'query',
'schema' => ['title' => 'Addon Release名称。', 'description' => 'The name of the add-on release.', 'type' => 'string', 'required' => false, 'example' => 'release12345678'],
],
[
'name' => 'encryptYaml',
'in' => 'query',
'schema' => ['title' => '是否加密Yaml。', 'description' => 'Specifies whether to encrypt the YAML file.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'namespace',
'in' => 'query',
'schema' => ['title' => '命名空间。', 'description' => 'The namespace.', 'type' => 'string', 'required' => false, 'example' => 'arms-prom'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'clusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'title' => '', 'example' => 'et15prod-et15storage'],
'customScrapeJobRules' => [
'description' => 'The custom scrape job rules.',
'type' => 'array',
'items' => [
'description' => 'The custom service discovery rules.',
'type' => 'object',
'properties' => [
'addonName' => ['description' => 'The add-on name.', 'type' => 'string', 'title' => '', 'example' => 'cloud-ecs'],
'addonReleaseName' => ['description' => 'The name of the add-on release.', 'type' => 'string', 'title' => '', 'example' => 'release-12345678'],
'addonVersion' => ['description' => 'The add-on version.', 'type' => 'string', 'title' => '', 'example' => '0.0.1'],
'configYaml' => ['description' => 'The configuration YAML file.', 'type' => 'string', 'title' => '', 'example' => 'scrape_cofnigs:'."\n"
.'- jobxxxxxx'],
'enableStatus' => ['description' => 'The enabled status.', 'type' => 'string', 'title' => '', 'example' => 'mini'],
'encryptYaml' => ['description' => 'Indicates whether the YAML file is encrypted.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'matchedPodCount' => ['description' => 'The number of matched pods.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'message' => ['description' => 'The details.', 'type' => 'string', 'title' => '', 'example' => 'ok'],
'name' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => 'dlab1'],
'namespace' => ['description' => 'The namespace.', 'type' => 'string', 'title' => '', 'example' => 'prod-data'],
'scrapeConfigs' => [
'description' => 'The custom configurations.',
'type' => 'array',
'items' => [
'description' => 'The custom configuration.',
'type' => 'object',
'properties' => [
'jobName' => ['description' => 'The scrape job name.', 'type' => 'string', 'title' => '', 'example' => 'mysql-exporter'],
'message' => ['description' => 'The details.', 'type' => 'string', 'title' => '', 'example' => 'successful'],
'metricsPath' => ['description' => 'The scrape path.', 'type' => 'string', 'title' => '', 'example' => '/metrics'],
'scheme' => ['description' => 'The invocation method.', 'type' => 'string', 'title' => '', 'example' => 'http'],
'scrapeInterval' => ['description' => 'The scrape interval.', 'type' => 'string', 'title' => '', 'example' => '30s'],
'scrapeTimeout' => ['description' => 'The scrape timeout period.', 'type' => 'string', 'title' => '', 'example' => '60s'],
'serviceDiscoveryConfigs' => [
'description' => 'The service discovery configurations.',
'type' => 'array',
'items' => ['description' => 'The service discovery configuration.', 'type' => 'string', 'title' => '', 'example' => '{}'],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'policyId' => ['description' => 'The policy ID.', 'type' => 'string', 'title' => '', 'example' => 'policy-15abcc24c06f4797832b5954198e1ed1'],
'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '0CEC5375-C554-562B-A65F-9A629907C1F0'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"clusterId\\": \\"et15prod-et15storage\\",\\n \\"customScrapeJobRules\\": [\\n {\\n \\"addonName\\": \\"cloud-ecs\\",\\n \\"addonReleaseName\\": \\"release-12345678\\",\\n \\"addonVersion\\": \\"0.0.1\\",\\n \\"configYaml\\": \\"scrape_cofnigs:\\\\n- jobxxxxxx\\",\\n \\"enableStatus\\": \\"mini\\",\\n \\"encryptYaml\\": true,\\n \\"matchedPodCount\\": 1,\\n \\"message\\": \\"ok\\",\\n \\"name\\": \\"dlab1\\",\\n \\"namespace\\": \\"prod-data\\",\\n \\"scrapeConfigs\\": [\\n {\\n \\"jobName\\": \\"mysql-exporter\\",\\n \\"message\\": \\"successful\\",\\n \\"metricsPath\\": \\"/metrics\\",\\n \\"scheme\\": \\"http\\",\\n \\"scrapeInterval\\": \\"30s\\",\\n \\"scrapeTimeout\\": \\"60s\\",\\n \\"serviceDiscoveryConfigs\\": [\\n \\"{}\\"\\n ]\\n }\\n ]\\n }\\n ],\\n \\"policyId\\": \\"policy-15abcc24c06f4797832b5954198e1ed1\\",\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-9A629907C1F0\\"\\n}","type":"json"}]',
'title' => 'Get Custom Service Discovery Rules for Access Center Policy',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationPolicyCustomScrapeJobRules'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'cms:ListIntegrationPolicyCustomScrapeJobRules',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'IntegrationPolicy', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}'],
],
],
],
],
],
'ListIntegrationPolicyDashboards' => [
'summary' => 'Queries a list of integration policy dashboards.',
'path' => '/integration-policies/{policyId}/dashboards',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['description' => 'The policy ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'policy-ac38a7cb02d14ff48bc9f97d0a75063e'],
],
[
'name' => 'addonName',
'in' => 'query',
'schema' => ['description' => 'The add-on name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cs-default'],
],
[
'name' => 'scene',
'in' => 'query',
'schema' => ['description' => 'The component scenario.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'databse'],
],
[
'name' => 'language',
'in' => 'query',
'schema' => [
'title' => '',
'description' => 'The query language.',
'type' => 'string',
'required' => false,
'default' => 'zh',
'enum' => ['zh', 'en'],
'example' => 'zh',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CD8BA7D6-995D-578D-9941-78B0FECD14B5'],
'total' => ['description' => 'The number of components.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'dashboards' => [
'description' => 'The list of dashboards.',
'type' => 'array',
'items' => [
'description' => 'The list of dashboards.',
'type' => 'object',
'properties' => [
'uid' => ['description' => 'The ID of the current Alibaba Cloud account. This parameter is read-only.', 'type' => 'string', 'title' => '', 'example' => '1258199346721590'],
'engine' => ['title' => '大盘引擎:'."\n"
.'grafana:共享grafana。'."\n"
.'cms:cms自研大盘引擎。', 'description' => 'The dashboard engine. Valid values:'."\n"
.'grafana: shared Grafana.'."\n"
.'cms: the self-developed dashboard engine of CloudMonitor.', 'type' => 'string', 'example' => 'grafana'],
'title' => ['description' => 'The title of the UI module. This is different from the name parameter.', 'type' => 'string', 'title' => '', 'example' => 'test'],
'name' => ['title' => '大盘名称', 'description' => 'The dashboard name.', 'type' => 'string', 'example' => 'k8s-pod'],
'url' => ['description' => 'The webhook URL for PagerDuty integration. V1 and V2 are supported.', 'type' => 'string', 'title' => '', 'example' => 'https://agi.alicdn.com/user/0/0_0_5255362686.png?x-oss-process=image/quality,q_75/format,jpg&file=1734574878007.jpg'],
'region' => ['description' => 'The region.', 'type' => 'string', 'title' => '', 'example' => 'cn-hongkong'],
'folderUid' => ['description' => 'The UID of the dashboard folder.', 'type' => 'string', 'title' => '', 'example' => 'Env-AAA'],
'tags' => [
'description' => 'The list of tags.',
'type' => 'array',
'items' => ['description' => 'A tag.', 'type' => 'string', 'title' => '', 'example' => 'tag1'],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"CD8BA7D6-995D-578D-9941-78B0FECD14B5\\",\\n \\"total\\": 1,\\n \\"dashboards\\": [\\n {\\n \\"uid\\": \\"1258199346721590\\",\\n \\"engine\\": \\"grafana\\",\\n \\"title\\": \\"test\\",\\n \\"name\\": \\"k8s-pod\\",\\n \\"url\\": \\"https://agi.alicdn.com/user/0/0_0_5255362686.png?x-oss-process=image/quality,q_75/format,jpg&file=1734574878007.jpg\\",\\n \\"region\\": \\"cn-hongkong\\",\\n \\"folderUid\\": \\"Env-AAA\\",\\n \\"tags\\": [\\n \\"tag1\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Query Dashboard List',
'description' => 'This topic provides an example of how to query a list of integration policy dashboards.',
'changeSet' => [
['createdAt' => '2025-10-20T14:07:48.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2025-10-16T08:11:30.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2025-10-15T12:10:46.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationPolicyDashboards'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'cms:ListIntegrationPolicyDashboards',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'integrationPolicy', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}'],
],
],
],
],
],
'ListIntegrationPolicyPodMonitors' => [
'summary' => 'Lists the PodMonitor resources for an Integration Center policy.',
'path' => '/integration-policies/{policyId}/pod-monitors',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['title' => '接入中心策略ID。', 'description' => 'The ID of the Integration Center policy.', 'type' => 'string', 'required' => true, 'example' => 'policy-1d4634924c8ba599822c601fcee3'],
],
[
'name' => 'addonReleaseName',
'in' => 'query',
'schema' => ['title' => 'Addon Release名称。', 'description' => 'The name of the add-on release.', 'type' => 'string', 'required' => false, 'example' => 'release-123456789'],
],
[
'name' => 'namespace',
'in' => 'query',
'schema' => ['title' => '命名空间。', 'description' => 'The namespace.', 'type' => 'string', 'required' => false, 'example' => 'default'],
],
[
'name' => 'encryptYaml',
'in' => 'query',
'schema' => ['title' => '是否加密Yaml。', 'description' => 'Specifies whether to encrypt the YAML file.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response schema.',
'type' => 'object',
'properties' => [
'clusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'title' => '', 'example' => 'et15prod-et15storage'],
'podMonitors' => [
'description' => 'The list of PodMonitors.',
'type' => 'array',
'items' => [
'description' => 'The list of PodMonitors.',
'type' => 'object',
'properties' => [
'addonName' => ['description' => 'The name of the add-on.', 'type' => 'string', 'title' => '', 'example' => 'cloud-ecs'],
'addonReleaseName' => ['description' => 'The name of the add-on release.', 'type' => 'string', 'title' => '', 'example' => 'release-2345678'],
'addonVersion' => ['description' => 'The version of the add-on.', 'type' => 'string', 'title' => '', 'example' => '0.0.1'],
'configYaml' => ['description' => 'The YAML configuration.', 'type' => 'string', 'title' => '', 'example' => 'apiVersion: xxxxx'],
'enableStatus' => ['description' => 'The status.', 'type' => 'string', 'title' => '', 'example' => 'run'],
'encryptYaml' => ['description' => 'Indicates whether the YAML file is encrypted.', 'type' => 'boolean', 'title' => '', 'example' => 'YXBpVmVyc2lvbjogeHh4eHgK'],
'endpoints' => [
'description' => 'The endpoints of the instance.',
'type' => 'array',
'items' => [
'description' => 'The details of the endpoint.',
'type' => 'object',
'properties' => [
'interval' => ['description' => 'The collection interval.', 'type' => 'string', 'title' => '', 'example' => '30s'],
'matchedTargetCount' => ['description' => 'The number of matched targets.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'path' => ['description' => 'The metric collection path.', 'type' => 'string', 'title' => '', 'example' => '/metrics'],
'port' => ['description' => 'The port number.', 'type' => 'string', 'title' => '', 'example' => '9100'],
'targetPort' => ['description' => 'The target port.', 'type' => 'string', 'title' => '', 'example' => 'https'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'matchedPodCount' => ['description' => 'The number of matched pods.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '3'],
'name' => ['description' => 'The collection name.', 'type' => 'string', 'title' => '', 'example' => 'znzmo_entity_test'],
'namespace' => ['description' => 'The namespace.', 'type' => 'string', 'title' => '', 'example' => 'sla-ns-d5aeb2b4f91b47'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'policyId' => ['description' => 'The policy ID.', 'type' => 'string', 'title' => '', 'example' => 'policy-c9efed2b99c348d49e589c5f780fc074'],
'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CD8BA7D6-995D-578D-9941-78B0FECD14B5'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"clusterId\\": \\"et15prod-et15storage\\",\\n \\"podMonitors\\": [\\n {\\n \\"addonName\\": \\"cloud-ecs\\",\\n \\"addonReleaseName\\": \\"release-2345678\\",\\n \\"addonVersion\\": \\"0.0.1\\",\\n \\"configYaml\\": \\"apiVersion: xxxxx\\",\\n \\"enableStatus\\": \\"run\\",\\n \\"encryptYaml\\": true,\\n \\"endpoints\\": [\\n {\\n \\"interval\\": \\"30s\\",\\n \\"matchedTargetCount\\": 1,\\n \\"path\\": \\"/metrics\\",\\n \\"port\\": \\"9100\\",\\n \\"targetPort\\": \\"https\\"\\n }\\n ],\\n \\"matchedPodCount\\": 3,\\n \\"name\\": \\"znzmo_entity_test\\",\\n \\"namespace\\": \\"sla-ns-d5aeb2b4f91b47\\"\\n }\\n ],\\n \\"policyId\\": \\"policy-c9efed2b99c348d49e589c5f780fc074\\",\\n \\"requestId\\": \\"CD8BA7D6-995D-578D-9941-78B0FECD14B5\\"\\n}","type":"json"}]',
'title' => 'Query PodMonitor Resources of Access Center Policy',
'description' => 'This topic provides an example of how to list the PodMonitor resources for an Integration Center policy.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationPolicyPodMonitors'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'cms:ListIntegrationPolicyPodMonitors',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'IntegrationPolicy', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}'],
],
],
],
],
],
'ListIntegrationPolicyServiceMonitors' => [
'path' => '/integration-policies/{policyId}/service-monitors',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['title' => '', 'description' => 'The ID of the Integration Center policy.', 'type' => 'string', 'required' => true, 'example' => 'policy-ac38a7cb02d14ff48bc9f97d0a75063e'],
],
[
'name' => 'addonReleaseName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the add-on release.', 'type' => 'string', 'required' => false, 'example' => 'release-12345678'],
],
[
'name' => 'namespace',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The namespace.', 'type' => 'string', 'required' => false, 'example' => 'arms-prom'],
],
[
'name' => 'encryptYaml',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Specifies whether to encrypt the YAML file.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response schema.',
'type' => 'object',
'properties' => [
'clusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'title' => '', 'example' => 'ea119prod-ea119blinkcptssd1'],
'policyId' => ['description' => 'The policy ID.', 'type' => 'string', 'title' => '', 'example' => 'policy-ac38a7cb02d14ff48bc9f97d0a75063e'],
'serviceMonitors' => [
'description' => 'The list of ServiceMonitors.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'addonName' => ['description' => 'The add-on name.', 'type' => 'string', 'title' => '', 'example' => 'cloud-acs-ecs'],
'addonReleaseName' => ['description' => 'The name of the add-on release.', 'type' => 'string', 'title' => '', 'example' => 'release-1234567'],
'addonVersion' => ['description' => 'The add-on version.', 'type' => 'string', 'title' => '', 'example' => '0.0.1'],
'configYaml' => ['description' => 'The configuration YAML file.', 'type' => 'string', 'title' => '', 'example' => 'apiVersion: xxxxx'],
'enableStatus' => ['description' => 'The status.', 'type' => 'string', 'title' => '', 'example' => 'run'],
'encryptYaml' => ['description' => 'Indicates whether the YAML file is encrypted.', 'type' => 'boolean', 'title' => '', 'example' => 'YXBpVmVyc2lvbjogeHh4eHgK'],
'endpoints' => [
'description' => 'The list of Endpoints.',
'type' => 'array',
'items' => [
'description' => 'The list of Endpoints.',
'type' => 'object',
'properties' => [
'interval' => ['description' => 'The collection interval.', 'type' => 'string', 'title' => '', 'example' => '30s'],
'matchedTargetCount' => ['description' => 'The number of matched targets.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '65'],
'path' => ['description' => 'The collection path.', 'type' => 'string', 'title' => '', 'example' => '/metrics'],
'port' => ['description' => 'The collection port.', 'type' => 'string', 'title' => '', 'example' => '9100'],
'targetPort' => ['description' => 'The target port.', 'type' => 'string', 'title' => '', 'example' => 'http'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'matchedServiceCount' => ['description' => 'The number of matched services.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '50'],
'name' => ['description' => 'The name of the ServiceMonitor.', 'type' => 'string', 'title' => '', 'example' => '62a526c5-f6ca-4cfb-b5a4-b76974cffe51'],
'namespace' => ['description' => 'The namespace.', 'type' => 'string', 'title' => '', 'example' => 'arms-prom'],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'CD8BA7D6-995D-578D-9941-78B0FECD14B5'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListIntegrationPolicyServiceMonitors',
'summary' => 'Retrieves the ServiceMonitor information for an Integration Center policy.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"clusterId\\": \\"ea119prod-ea119blinkcptssd1\\",\\n \\"policyId\\": \\"policy-ac38a7cb02d14ff48bc9f97d0a75063e\\",\\n \\"serviceMonitors\\": [\\n {\\n \\"addonName\\": \\"cloud-acs-ecs\\",\\n \\"addonReleaseName\\": \\"release-1234567\\",\\n \\"addonVersion\\": \\"0.0.1\\",\\n \\"configYaml\\": \\"apiVersion: xxxxx\\",\\n \\"enableStatus\\": \\"run\\",\\n \\"encryptYaml\\": true,\\n \\"endpoints\\": [\\n {\\n \\"interval\\": \\"30s\\",\\n \\"matchedTargetCount\\": 65,\\n \\"path\\": \\"/metrics\\",\\n \\"port\\": \\"9100\\",\\n \\"targetPort\\": \\"http\\"\\n }\\n ],\\n \\"matchedServiceCount\\": 50,\\n \\"name\\": \\"62a526c5-f6ca-4cfb-b5a4-b76974cffe51\\",\\n \\"namespace\\": \\"arms-prom\\"\\n }\\n ],\\n \\"requestId\\": \\"CD8BA7D6-995D-578D-9941-78B0FECD14B5\\"\\n}","type":"json"}]',
],
'ListIntegrationPolicyStorageRequirements' => [
'summary' => 'Lists the storage requirements for an Integration Center policy.',
'path' => '/integration-policies/{policyId}/storage-requirements',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['title' => '接入中心策略ID', 'description' => 'The ID of the Integration Center policy.', 'type' => 'string', 'required' => true, 'example' => 'policy-ac38a7cb02d14ff48bc9f97d0a75063e'],
],
[
'name' => 'addonName',
'in' => 'query',
'schema' => ['title' => 'Addon名称,如mysql。', 'description' => 'The name of the add-on release.', 'type' => 'string', 'required' => false, 'example' => 'release-1234357'],
],
[
'name' => 'storageType',
'in' => 'query',
'schema' => ['title' => '存储类型', 'description' => 'The storage type. Valid values: LogStore, Prometheus, TraceStore, EventStore, and EntityStore.', 'type' => 'string', 'required' => false, 'example' => 'LogStore'],
],
[
'name' => 'addonReleaseName',
'in' => 'query',
'schema' => ['title' => 'AddonRelease的名称。', 'description' => 'The name of the AddonRelease.', 'type' => 'string', 'required' => false, 'example' => 'kafka-17201012937917'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0CEC5375-C554-562B-A65F-9A629907C1F0'],
'storageRequirements' => [
'description' => 'The list of storage requirements.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'apiVersion' => ['description' => 'The version number.', 'type' => 'string', 'title' => '', 'example' => 'v1'],
'kind' => ['description' => 'The kind of the resource.', 'type' => 'string', 'title' => '', 'example' => 'Pod'],
'metadata' => [
'description' => 'The metadata.',
'type' => 'object',
'properties' => [
'annotations' => [
'description' => 'The annotations.',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => 'The annotations.', 'title' => '', 'example' => 'prometheus.io/path'],
'title' => '',
'example' => '',
],
'labels' => [
'description' => 'The resource labels.',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => 'The resource labels.', 'title' => '', 'example' => 'key=value'],
'title' => '',
'example' => '',
],
'name' => ['description' => 'The resource name.', 'type' => 'string', 'title' => '', 'example' => 'pod-1234567'],
'namespace' => ['description' => 'The namespace.', 'type' => 'string', 'title' => '', 'example' => 'arms-prom'],
],
'title' => '',
'example' => '',
],
'spec' => [
'description' => 'The spec of the resource.',
'type' => 'object',
'properties' => [
'entityId' => ['description' => 'The instance ID. Specify this parameter to query data at the instance level. This parameter depends on data in EntityStore.', 'type' => 'string', 'title' => '', 'example' => 'es-xxxxx'],
'instance' => ['description' => 'The ID of the Prometheus instance.', 'type' => 'string', 'title' => '', 'example' => 'i-bp122p85gthbniw8rsu9'],
'instanceName' => ['description' => 'The name of the Prometheus instance.', 'type' => 'string', 'title' => '', 'example' => 'category_predict'],
'project' => ['description' => 'Optional. The project is determined based on the current environment type.', 'type' => 'string', 'title' => '', 'example' => 'datagrid_cdm'],
'region' => ['description' => 'The region.', 'type' => 'string', 'title' => '', 'example' => 'cn-shenzhen'],
'shareScope' => ['description' => 'The scope of storage sharing. Valid values: Environment, Region, Workspace, and Custom.', 'type' => 'string', 'title' => '', 'example' => 'Region'],
'storageType' => ['description' => 'The storage type of the instance.', 'type' => 'string', 'title' => '', 'example' => 'Prometheus'],
'systemTags' => [
'description' => 'The tags that need to be added to the destination storage. The tags are injected as system tags.',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => 'The tags that need to be added to the destination storage. The tags are injected as system tags.', 'title' => '', 'example' => 'system-key=value'],
'title' => '',
'example' => '',
],
'tags' => [
'description' => 'The tags that need to be added to the destination storage. The tags are injected as common tags.',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => 'The tags that need to be added to the destination storage. The tags are injected as common tags.', 'title' => '', 'example' => 'key=value'],
'title' => '',
'example' => '',
],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'title' => '', 'example' => '12345678'],
'workspace' => ['description' => 'The workspace.', 'type' => 'string', 'title' => '', 'example' => 'test-api'],
],
'title' => '',
'example' => '',
],
'status' => [
'description' => 'The status of the storage requirement.',
'type' => 'object',
'properties' => [
'instanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'title' => '', 'example' => 'rmq-cn-uqm3ket1t0u'],
'interUrl' => ['description' => 'The internal URL.', 'type' => 'string', 'title' => '', 'example' => 'http://192.168.xxxxxx'],
'intraUrl' => ['description' => 'The internal URL.', 'type' => 'string', 'title' => '', 'example' => 'http://100.100.xxxxxx'],
'name' => ['description' => 'The name of the storage requirement.', 'type' => 'string', 'title' => '', 'example' => 'sr-xxxx'],
'project' => ['description' => 'The project for the storage requirement.', 'type' => 'string', 'title' => '', 'example' => 'jiuwu_algo'],
'promMetricStore' => ['description' => 'The metric store of Prometheus.', 'type' => 'string', 'title' => '', 'example' => 'xxxx'],
'region' => ['description' => 'The region.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'],
'storageType' => ['description' => 'The storage type of the instance.', 'type' => 'string', 'title' => '', 'example' => 'Prometheus'],
'workspace' => ['description' => 'The workspace.', 'type' => 'string', 'title' => '', 'example' => 'default'],
],
'title' => '',
'example' => '',
],
'addonReleaseNames' => [
'description' => 'A collection of AddonRelease names.',
'type' => 'array',
'items' => ['description' => 'The name of the AddonRelease.', 'type' => 'string', 'title' => '', 'example' => 'kafka-17201238912'],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-9A629907C1F0\\",\\n \\"storageRequirements\\": [\\n {\\n \\"apiVersion\\": \\"v1\\",\\n \\"kind\\": \\"Pod\\",\\n \\"metadata\\": {\\n \\"annotations\\": {\\n \\"key\\": \\"prometheus.io/path\\"\\n },\\n \\"labels\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"name\\": \\"pod-1234567\\",\\n \\"namespace\\": \\"arms-prom\\"\\n },\\n \\"spec\\": {\\n \\"entityId\\": \\"es-xxxxx\\",\\n \\"instance\\": \\"i-bp122p85gthbniw8rsu9\\",\\n \\"instanceName\\": \\"category_predict\\",\\n \\"project\\": \\"datagrid_cdm\\",\\n \\"region\\": \\"cn-shenzhen\\",\\n \\"shareScope\\": \\"Region\\",\\n \\"storageType\\": \\"Prometheus\\",\\n \\"systemTags\\": {\\n \\"key\\": \\"system-key=value\\"\\n },\\n \\"tags\\": {\\n \\"key\\": \\"key=value\\"\\n },\\n \\"userId\\": \\"12345678\\",\\n \\"workspace\\": \\"test-api\\"\\n },\\n \\"status\\": {\\n \\"instanceId\\": \\"rmq-cn-uqm3ket1t0u\\",\\n \\"interUrl\\": \\"http://192.168.xxxxxx\\",\\n \\"intraUrl\\": \\"http://100.100.xxxxxx\\",\\n \\"name\\": \\"sr-xxxx\\",\\n \\"project\\": \\"jiuwu_algo\\",\\n \\"promMetricStore\\": \\"xxxx\\",\\n \\"region\\": \\"cn-hangzhou\\",\\n \\"storageType\\": \\"Prometheus\\",\\n \\"workspace\\": \\"default\\"\\n },\\n \\"addonReleaseNames\\": [\\n \\"kafka-17201238912\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Get Storage Requirements Information for Access Center Policy',
'description' => 'When a policy is active, alert notifications are not sent for alerts that occur in the application group.'."\n"
."\n"
.'This topic provides an example of creating a policy named `PauseNotify`. This policy pauses alert notifications for application group `7301****` from `1622949300000` to `1623208500000` (from `2021-06-06 11:15:00` to `2021-06-09 11:15:00` UTC+8).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationPolicyStorageRequirements'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'cms:ListIntegrationPolicyStorageRequirements',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'IntegrationPolicy', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}'],
],
],
],
],
],
'ListMemoryStores' => [
'path' => '/workspace/{workspace}/memorystore',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'memoryStoreName',
'in' => 'query',
'schema' => ['description' => 'The name of the memory store.', 'type' => 'string', 'required' => false, 'example' => 'qianyi_test_1', 'title' => ''],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of results to return. The maximum value is 200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['description' => 'The token for the next page of results.', 'type' => 'string', 'required' => false, 'example' => 'xxxxxxxxx', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'maxResults' => ['description' => 'The maximum number of returned entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'nextToken' => ['description' => 'The token for the next page of results.', 'type' => 'string', 'example' => 'xxxxxxxxxx', 'title' => ''],
'requestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '16C0A6D6-C3E7-511D-A60B-A87FD85F5BA7', 'title' => ''],
'total' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
'memoryStores' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'createTime' => ['description' => 'The time when the memory store was created.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '1764556182850', 'title' => ''],
'description' => ['description' => 'The description of the memory store.', 'type' => 'string', 'example' => 'Created by taishan-module-recovery', 'title' => ''],
'memoryStoreName' => ['description' => 'The name of the memory store.', 'type' => 'string', 'example' => 'qianyi_test_1', 'title' => ''],
'updateTime' => ['description' => 'The time when the memory store was last updated.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '1764556182850', 'title' => ''],
'workspace' => ['description' => 'Workspace', 'type' => 'string', 'example' => 'default-cms-1646467597142798-cn-shenzhen', 'title' => ''],
'regionId' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
],
'description' => 'The data of the memory store.',
'title' => '',
'example' => '',
],
'description' => 'The list of memory stores.',
'title' => '',
'example' => '',
],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListMemoryStores',
'summary' => 'Retrieves a list of memory stores.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cms:ListMemoryStores',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'MemoryStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxResults\\": 1,\\n \\"nextToken\\": \\"xxxxxxxxxx\\",\\n \\"requestId\\": \\"16C0A6D6-C3E7-511D-A60B-A87FD85F5BA7\\",\\n \\"total\\": 0,\\n \\"memoryStores\\": [\\n {\\n \\"createTime\\": \\"1764556182850\\",\\n \\"description\\": \\"Created by taishan-module-recovery\\",\\n \\"memoryStoreName\\": \\"qianyi_test_1\\",\\n \\"updateTime\\": \\"1764556182850\\",\\n \\"workspace\\": \\"default-cms-1646467597142798-cn-shenzhen\\",\\n \\"regionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListPipelines' => [
'path' => '/workspace/{workspace}/pipeline',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => false, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'pipelineName',
'in' => 'query',
'schema' => ['description' => 'The name of the pipeline.', 'type' => 'string', 'required' => false, 'example' => 'pipeline-name-1', 'title' => ''],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token.', 'type' => 'string', 'required' => false, 'example' => 'fff3442dac1de7950f44d5afc0c735ebd12e27f603b21d17ec30cb1d5c735b1ba7c4fb3a1c124bce', 'title' => ''],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of results to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0B9377D9-C56B-5C2E-A8A4-************'],
'nextToken' => ['description' => 'The pagination token.', 'type' => 'string', 'example' => '3f0d6785770d5fb308f0605d718d422a227c38f96117633678f029842acd19039329e8281583b3da7bc598dfc4c1973e', 'title' => ''],
'maxResults' => ['description' => 'The maximum number of results to return.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'pipelines' => [
'description' => 'The pipelines.',
'type' => 'array',
'items' => [
'description' => 'The pipeline.',
'type' => 'object',
'properties' => [
'pipelineName' => ['description' => 'The name of the pipeline.', 'type' => 'string', 'example' => 'pipeline-name-1', 'title' => ''],
'description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'test pipeline', 'title' => ''],
'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '2026-02-28T07:14:17Z', 'title' => ''],
'updateTime' => ['description' => 'The update time.', 'type' => 'string', 'format' => 'iso8601_normal', 'example' => '2026-03-24T06:58:22Z', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
'workspace' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'workspace-test', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Lists pipelines.',
'summary' => 'Lists pipelines.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cms:ListPipelines',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Pipeline', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/pipeline/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0B9377D9-C56B-5C2E-A8A4-************\\",\\n \\"nextToken\\": \\"3f0d6785770d5fb308f0605d718d422a227c38f96117633678f029842acd19039329e8281583b3da7bc598dfc4c1973e\\",\\n \\"maxResults\\": 100,\\n \\"pipelines\\": [\\n {\\n \\"pipelineName\\": \\"pipeline-name-1\\",\\n \\"description\\": \\"test pipeline\\",\\n \\"createTime\\": \\"2026-02-28T07:14:17Z\\",\\n \\"updateTime\\": \\"2026-03-24T06:58:22Z\\",\\n \\"regionId\\": \\"cn-hangzhou\\",\\n \\"workspace\\": \\"workspace-test\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListPrometheusDashboards' => [
'summary' => 'Retrieves a list of dashboards for a Prometheus instance.',
'path' => '/prometheus-instances/{prometheusInstanceId}/dashboards',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'prometheusInstanceId',
'in' => 'path',
'allowEmptyValue' => false,
'schema' => ['title' => '实例id', 'description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'rw-abc123'],
],
[
'name' => 'resourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm3gn5i6bigbi'],
],
[
'name' => 'aliyunLang',
'in' => 'query',
'schema' => ['title' => '语言环境, 默认为中文 zh | en', 'description' => 'The language of the response. Valid values: zh and en. The default value is zh.', 'type' => 'string', 'required' => false, 'default' => 'zh', 'example' => 'zh'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response schema.',
'type' => 'object',
'properties' => [
'prometheusDashboards' => [
'description' => 'A list of dashboards for the Prometheus instance.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'id' => ['title' => '', 'description' => 'The dashboard ID.', 'type' => 'string', 'example' => '1'],
'uid' => ['title' => '', 'description' => 'The dashboard UID.', 'type' => 'string', 'example' => '1987395500251724'],
'name' => ['title' => '', 'description' => 'The dashboard name.', 'type' => 'string', 'example' => 'pod'],
'title' => ['title' => '', 'description' => 'The dashboard title.', 'type' => 'string', 'example' => 'ceshi'],
'url' => ['title' => '', 'description' => 'The URL of the dashboard.', 'type' => 'string', 'example' => 'https://gnew.console.aliyun.com/d/xxx-17460385-807-7-6/cs-cost-application'],
'tags' => [
'description' => 'The tags.',
'type' => 'array',
'items' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => '[{\\"tagName\\":\\"key1\\",\\"tagDefinePrompt\\":\\"value1\\"}]'],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
'totalCount' => ['title' => '总实例数', 'description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '66'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"prometheusDashboards\\": [\\n {\\n \\"id\\": \\"1\\",\\n \\"uid\\": \\"1987395500251724\\",\\n \\"name\\": \\"pod\\",\\n \\"title\\": \\"ceshi\\",\\n \\"url\\": \\"https://gnew.console.aliyun.com/d/xxx-17460385-807-7-6/cs-cost-application\\",\\n \\"tags\\": [\\n \\"[{\\\\\\\\\\\\\\"tagName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"tagDefinePrompt\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"value1\\\\\\\\\\\\\\"}]\\"\\n ]\\n }\\n ],\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"totalCount\\": 66\\n}","type":"json"}]',
'title' => 'Get Prometheus Instance Dashboard List',
'description' => 'Retrieves a list of dashboards for a Prometheus instance.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrometheusDashboards'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cms:ListPrometheusDashboards',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'PrometheusInstance', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#prometheusInstanceId}'],
],
],
],
],
],
'ListPrometheusInstances' => [
'summary' => 'Retrieves a list of Managed Service for Prometheus instances.',
'path' => '/prometheus-instances',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'prometheusInstanceIds',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The instance IDs, separated by commas.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'rw-00001,rw-00002,rw-00003'],
],
[
'name' => 'prometheusInstanceName',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The instance name. Fuzzy match is supported.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test'],
],
[
'name' => 'workspace',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The workspace to which the instance belongs.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'workspace-test'],
],
[
'name' => 'version',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => [
'title' => '',
'description' => 'The instance version. Valid values:'."\n"
.'- V1: V1 version.'."\n"
.'- V2: V2 version.',
'enumValueTitles' => ['V1' => 'V1 version.', 'V2' => 'V2 version.'],
'type' => 'string',
'required' => false,
'docRequired' => false,
'enum' => ['V1', 'V2'],
'example' => 'V2',
],
],
[
'name' => 'resourceType',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => [
'title' => '',
'description' => 'The resource type of the instance.',
'type' => 'string',
'required' => false,
'docRequired' => false,
'enum' => [],
'example' => 'Prometheus',
],
],
[
'name' => 'filterRegionIds',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The region IDs for filtering, separated by commas.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cn-shenzhen'],
],
[
'name' => 'resourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2bhocin5e2na', 'title' => ''],
],
[
'name' => 'tag',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The tags.',
'type' => 'array',
'items' => [
'description' => 'The tag.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'testKey', 'title' => ''],
'value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'testValue', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'maxResults',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The maximum number of records to return.', 'type' => 'integer', 'format' => 'int32', 'docRequired' => false, 'maximum' => '100', 'minimum' => '0', 'required' => false, 'example' => '10'],
],
[
'name' => 'nextToken',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The query token.', 'type' => 'string', 'docRequired' => false, 'maxLength' => 128, 'required' => false, 'example' => 'xxxxxxxxxx'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'maxResults' => ['title' => '', 'description' => 'The maximum number of records to return.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '0', 'example' => '10'],
'nextToken' => ['title' => '', 'description' => 'The token for the next query.', 'type' => 'string', 'maxLength' => 128, 'example' => 'xxxxxxxxxx'],
'prometheusInstances' => [
'description' => 'The list of Prometheus instances.',
'type' => 'array',
'items' => [
'description' => 'The Prometheus instance.',
'type' => 'object',
'properties' => [
'accessType' => ['title' => '', 'description' => 'The access type. Valid values:'."\n"
.'- readWrite'."\n"
.'- readOnly'."\n"
.'- httpReadOnly', 'type' => 'string', 'example' => 'readWrite'],
'createTime' => ['title' => '', 'description' => 'The instance creation time in UTC+0, in the format of yyyy-MM-ddTHH:mmZ.', 'type' => 'string', 'example' => '2025-08-10T02:07:53Z'],
'instanceType' => ['title' => '', 'description' => 'The instance type.', 'type' => 'string', 'example' => 'remote-write'],
'paymentType' => ['title' => '', 'description' => 'The billing method. Valid values:'."\n"
.'- POSTPAY: pay-as-you-go by metric volume.'."\n"
.'- POSTPAY_GB: pay-as-you-go by write volume.'."\n"
.'- PREPAY: subscription.'."\n"
.'- FREE: free.', 'type' => 'string', 'example' => 'POSTPAY_GB'],
'product' => ['title' => '', 'description' => 'The product to which the Prometheus instance belongs.', 'type' => 'string', 'example' => 'arms'],
'prometheusInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'rw-63549e054ff596a4149927961dff', 'title' => ''],
'prometheusInstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'test-prom-name', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-nanjing', 'title' => ''],
'resourceType' => ['title' => '', 'description' => 'The resource type.', 'type' => 'string', 'example' => 'Prometheus'],
'status' => ['title' => '', 'description' => 'The backend data storage status.', 'type' => 'string', 'example' => 'Pending2Running'],
'supportAuthTypes' => [
'description' => 'The supported authentication types.',
'type' => 'array',
'items' => ['description' => 'The authentication type.', 'type' => 'string', 'example' => 'BasicAuth', 'title' => ''],
'title' => '',
'example' => '',
],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '17073812345', 'title' => ''],
'version' => ['title' => '', 'description' => 'The version.', 'type' => 'string', 'example' => '*'],
'workspace' => ['title' => '', 'description' => 'The workspace to which the Prometheus instance belongs.', 'type' => 'string', 'example' => 'default-cms-115214006-cn-hangzhou'],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aek2bhocin5e2na', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'totalCount' => ['title' => '', 'description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '66'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxResults\\": 10,\\n \\"nextToken\\": \\"xxxxxxxxxx\\",\\n \\"prometheusInstances\\": [\\n {\\n \\"accessType\\": \\"readWrite\\",\\n \\"createTime\\": \\"2025-08-10T02:07:53Z\\",\\n \\"instanceType\\": \\"remote-write\\",\\n \\"paymentType\\": \\"POSTPAY_GB\\",\\n \\"product\\": \\"arms\\",\\n \\"prometheusInstanceId\\": \\"rw-63549e054ff596a4149927961dff\\",\\n \\"prometheusInstanceName\\": \\"test-prom-name\\",\\n \\"regionId\\": \\"cn-nanjing\\",\\n \\"resourceType\\": \\"Prometheus\\",\\n \\"status\\": \\"Pending2Running\\",\\n \\"supportAuthTypes\\": [\\n \\"BasicAuth\\"\\n ],\\n \\"userId\\": \\"17073812345\\",\\n \\"version\\": \\"*\\",\\n \\"workspace\\": \\"default-cms-115214006-cn-hangzhou\\",\\n \\"resourceGroupId\\": \\"rg-aek2bhocin5e2na\\"\\n }\\n ],\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"totalCount\\": 66\\n}","type":"json"}]',
'gatewayOptions' => [
'gatewayProtocols' => [],
],
'title' => 'Query prometheus instance list',
'description' => 'Retrieves a list of Managed Service for Prometheus instances.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrometheusInstances'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
],
'ListPrometheusViews' => [
'summary' => 'Queries the list of Prometheus view instances.',
'path' => '/prometheus-views',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'prometheusViewIds',
'in' => 'query',
'schema' => ['description' => 'The list of Prometheus view instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'view-xxx', 'title' => ''],
],
[
'name' => 'prometheusViewName',
'in' => 'query',
'schema' => ['description' => 'The Prometheus view name.', 'type' => 'string', 'required' => false, 'example' => 'view1', 'title' => ''],
],
[
'name' => 'workspace',
'in' => 'query',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => false, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'version',
'in' => 'query',
'schema' => [
'title' => '',
'description' => 'The instance version: V1 or V2.',
'enumValueTitles' => ['V1' => 'V1 version.', 'V2' => 'V2 version.'],
'type' => 'string',
'enum' => ['V1', 'V2'],
'required' => false,
'example' => 'V2',
],
],
[
'name' => 'resourceType',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The resource type.', 'type' => 'string', 'required' => false, 'example' => 'PROMETHEUSVIEW'],
],
[
'name' => 'filterRegionIds',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Filters by region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-zhangjiakou,cn-beijing'],
],
[
'name' => 'resourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm3gn5i6bigbi', 'title' => ''],
],
[
'name' => 'tag',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The list of tags.',
'type' => 'array',
'items' => [
'description' => 'The list of tags.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key1', 'title' => ''],
'value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value1', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'maxResults',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The maximum number of records to return.', 'type' => 'integer', 'format' => 'int32', 'docRequired' => false, 'maximum' => '100', 'minimum' => '0', 'required' => false, 'example' => '100'],
],
[
'name' => 'nextToken',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The query token.', 'type' => 'string', 'docRequired' => false, 'maxLength' => 128, 'required' => false, 'example' => '44ANBjKZmQeKnaB1fXRq06w7sFYK3MUcCALMD9qQbmEiE'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'maxResults' => ['title' => '', 'description' => 'The maximum number of records to return.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '0', 'example' => '10'],
'nextToken' => ['title' => '', 'description' => 'The token for the next query.', 'type' => 'string', 'maxLength' => 128, 'example' => '2-ba4d-4b9f-aa24-dcb067a30f1c'],
'prometheusViews' => [
'description' => 'The list of Prometheus view instances.',
'type' => 'array',
'items' => [
'description' => 'The Prometheus view instance.',
'type' => 'object',
'properties' => [
'createTime' => ['title' => '', 'description' => 'The instance creation time in UTC+0, in the format of yyyy-MM-ddTHH:mmZ.', 'type' => 'string', 'example' => '2025-07-12T02:18:36Z'],
'instanceType' => ['title' => '', 'description' => 'The instance type:'."\n"
.'prom-view: aggregated view of the new version.'."\n"
.'global-view: aggregated view of the legacy version.', 'type' => 'string', 'example' => 'prom-view'],
'paymentType' => ['title' => '', 'description' => 'The billing type. Currently, the fixed value is FREE.', 'type' => 'string', 'example' => 'FREE'],
'product' => ['title' => '', 'description' => 'The product to which the Prometheus instance belongs (arms or cms).', 'type' => 'string', 'example' => 'cms'],
'prometheusInstanceCount' => ['title' => '', 'description' => 'The number of Prometheus instances included in the view.', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'prometheusViewId' => ['description' => 'The Prometheus view ID.', 'type' => 'string', 'example' => 'view-xxx', 'title' => ''],
'prometheusViewName' => ['description' => 'The Prometheus view name.', 'type' => 'string', 'example' => 'view1', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-zhangjiakou', 'title' => ''],
'resourceType' => ['title' => '', 'description' => 'The fixed value: PrometheusView.', 'type' => 'string', 'example' => 'PrometheusView'],
'status' => ['title' => '', 'description' => 'The backend data storage status.', 'type' => 'string', 'example' => 'Running'],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '123xxx', 'title' => ''],
'version' => ['title' => '', 'description' => 'The version.', 'type' => 'string', 'example' => 'V2'],
'workspace' => ['title' => '', 'description' => 'The workspace to which the Prometheus instance belongs.', 'type' => 'string', 'example' => 'default-cms-1490404746278495-cn-hangzhou'],
'resourceGroupId' => ['title' => '', 'description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfm3gn5i6bigbi'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0CEC5375-C554-562B-A65F-9A629907C1F0'],
'totalCount' => ['title' => '', 'description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '66'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxResults\\": 10,\\n \\"nextToken\\": \\"2-ba4d-4b9f-aa24-dcb067a30f1c\\",\\n \\"prometheusViews\\": [\\n {\\n \\"createTime\\": \\"2025-07-12T02:18:36Z\\",\\n \\"instanceType\\": \\"prom-view\\",\\n \\"paymentType\\": \\"FREE\\",\\n \\"product\\": \\"cms\\",\\n \\"prometheusInstanceCount\\": 2,\\n \\"prometheusViewId\\": \\"view-xxx\\",\\n \\"prometheusViewName\\": \\"view1\\",\\n \\"regionId\\": \\"cn-zhangjiakou\\",\\n \\"resourceType\\": \\"PrometheusView\\",\\n \\"status\\": \\"Running\\",\\n \\"userId\\": \\"123xxx\\",\\n \\"version\\": \\"V2\\",\\n \\"workspace\\": \\"default-cms-1490404746278495-cn-hangzhou\\",\\n \\"resourceGroupId\\": \\"rg-acfm3gn5i6bigbi\\"\\n }\\n ],\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-9A629907C1F0\\",\\n \\"totalCount\\": 66\\n}","type":"json"}]',
'gatewayOptions' => [
'gatewayProtocols' => [],
],
'title' => 'List prometheus view instances',
'description' => 'Queries the list of Prometheus view instances.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrometheusViews'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
],
'ListPrometheusVirtualInstances' => [
'path' => '/virtual-instances',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'namespace',
'in' => 'query',
'schema' => ['title' => '可选云产品', 'description' => 'The namespace of the cloud product. This parameter is optional.', 'type' => 'string', 'required' => false, 'example' => 'ack-csi-fuse'],
],
[
'name' => 'tenantId',
'in' => 'query',
'schema' => ['description' => 'The tenant ID.', 'type' => 'string', 'title' => '', 'example' => ''],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'instances' => [
'description' => 'A list of instances.',
'type' => 'array',
'items' => [
'description' => 'The details of an instance.',
'type' => 'object',
'properties' => [
'instanceId' => ['description' => 'Returned for the `PROMETHEUS_DS` data source type.'."\n"
."\n"
.'The Prometheus instance ID.', 'type' => 'string', 'example' => 'rw-b8cfbbe94194ac37fe83f3d2d16a', 'title' => ''],
'httpApiUrl' => ['description' => 'The HTTP API URL.', 'type' => 'string', 'example' => 'http://xxxxxxxx', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '17073812345', 'title' => ''],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-shanghai-cloudspe', 'title' => ''],
'namespace' => ['description' => 'Returned for the `CMS_BASIC_QUERY` query type.'."\n"
."\n"
.'The namespace of the metric.', 'type' => 'string', 'example' => 'arms-prom', 'title' => ''],
'createdAt' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1750315319946', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'totalCount' => ['description' => 'The total number of entries returned.', 'type' => 'string', 'title' => '', 'example' => ''],
'maxResults' => ['description' => 'The maximum number of entries returned on each page.', 'type' => 'string', 'title' => '', 'example' => ''],
'nextToken' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. If all results are returned, this parameter is left empty.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'description' => 'The response object.',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Get Prometheus Virtual Instance List',
'summary' => 'Retrieves Prometheus virtual instances.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrometheusVirtualInstances'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'cms:ListPrometheusVirtualInstances',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"instances\\": [\\n {\\n \\"instanceId\\": \\"rw-b8cfbbe94194ac37fe83f3d2d16a\\",\\n \\"httpApiUrl\\": \\"http://xxxxxxxx\\",\\n \\"userId\\": \\"17073812345\\",\\n \\"regionId\\": \\"cn-shanghai-cloudspe\\",\\n \\"namespace\\": \\"arms-prom\\",\\n \\"createdAt\\": \\"1750315319946\\"\\n }\\n ],\\n \\"totalCount\\": \\"\\",\\n \\"maxResults\\": \\"\\",\\n \\"nextToken\\": \\"\\"\\n}","type":"json"}]',
],
'ListServiceRecords' => [
'summary' => 'Lists service-linked entries.',
'path' => '/workspace/{workspace}/service-records',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'recordType',
'in' => 'query',
'schema' => [
'title' => '',
'description' => 'The type of the linked entry. Currently supported:'."\n"
.'logCorrelation, which indicates application log association.',
'type' => 'string',
'required' => true,
'enum' => ['logCorrelation'],
'example' => 'logCorrelation',
],
],
[
'name' => 'search',
'in' => 'query',
'schema' => ['description' => 'The filter information for service-linked entries.', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
.' "serviceName": "my-service",'."\n"
.' "storeName": "my-logstore"'."\n"
.'}', 'title' => ''],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of entries to return. Maximum value: 200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token.', 'type' => 'string', 'required' => false, 'example' => 'xxxxx', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0CEC5375-XXXX-XXXX-XXXX-9A629907C1F0'],
'nextToken' => ['description' => 'The pagination token.', 'type' => 'string', 'example' => '2-ba4d-4b9f-aa24-dcb067a30f1c', 'title' => ''],
'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'maxResults' => ['description' => 'The maximum number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'records' => [
'description' => 'The list of ticket operation records.',
'type' => 'array',
'items' => [
'description' => 'The record information.',
'type' => 'object',
'properties' => [
'serviceId' => ['title' => '', 'description' => 'The unique identifier of the service.', 'type' => 'string', 'example' => 'gaddp9ap8q@f8ca37734da3eda787dbb'],
'recordType' => ['title' => '', 'description' => 'The type of the linked entry. Currently supported:'."\n"
.'logCorrelation, which indicates application log association.', 'type' => 'string', 'example' => 'logCorrelation'],
'recordContent' => ['title' => '', 'description' => 'The entry content in JSON string format. The format varies depending on the recordType.', 'type' => 'string', 'example' => '{'."\n"
.' "project": "proj-xtrace-16c988dcfe21fcb73c5e6f234927d998-cn-hangzhou",'."\n"
.' "storeName": "app-biz-log",'."\n"
.' "regionId": "cn-hangzhou",'."\n"
.' "bindType": "logstore",'."\n"
.' "traceIdRelateField": ""'."\n"
.'}'],
'workspace' => ['title' => '', 'description' => 'The workspace.', 'type' => 'string', 'example' => 'workspace-test'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'List service-linked entries',
'description' => 'Queries a paginated list of service-linked entries.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-XXXX-XXXX-XXXX-9A629907C1F0\\",\\n \\"nextToken\\": \\"2-ba4d-4b9f-aa24-dcb067a30f1c\\",\\n \\"totalCount\\": 100,\\n \\"maxResults\\": 100,\\n \\"records\\": [\\n {\\n \\"serviceId\\": \\"gaddp9ap8q@f8ca37734da3eda787dbb\\",\\n \\"recordType\\": \\"logCorrelation\\",\\n \\"recordContent\\": \\"{\\\\n \\\\\\"project\\\\\\": \\\\\\"proj-xtrace-16c988dcfe21fcb73c5e6f234927d998-cn-hangzhou\\\\\\",\\\\n \\\\\\"storeName\\\\\\": \\\\\\"app-biz-log\\\\\\",\\\\n \\\\\\"regionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\",\\\\n \\\\\\"bindType\\\\\\": \\\\\\"logstore\\\\\\",\\\\n \\\\\\"traceIdRelateField\\\\\\": \\\\\\"\\\\\\"\\\\n}\\",\\n \\"workspace\\": \\"workspace-test\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListServices' => [
'summary' => 'Queries a list of application observability services.',
'path' => '/workspace/{workspace}/services',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['description' => 'The token for the next page of results. If this parameter is empty, it means you have reached the last page.', 'type' => 'string', 'example' => '7-b81a-4bc9-bbfa-a50cc6988667', 'title' => '', 'required' => false],
],
[
'name' => 'maxResults',
'in' => 'query',
'allowEmptyValue' => false,
'schema' => ['description' => 'The maximum number of records to return for this request.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '500', 'minimum' => '0', 'exclusiveMinimum' => false, 'example' => '10', 'title' => '', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'serviceType',
'in' => 'query',
'schema' => [
'description' => 'The service type.',
'type' => 'string',
'required' => false,
'example' => 'TRACE',
'enum' => ['TRACE', 'XTRACE', 'RUM'],
'title' => '',
],
],
[
'name' => 'serviceName',
'in' => 'query',
'schema' => ['description' => 'The application service name.', 'type' => 'string', 'example' => 'app-demo', 'title' => '', 'required' => false],
],
[
'name' => 'resourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aekxxzuad5zzzz', 'title' => '', 'required' => false],
],
[
'name' => 'tags',
'in' => 'query',
'allowEmptyValue' => true,
'style' => 'json',
'schema' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'evn', 'title' => '', 'required' => false],
'value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'prod', 'title' => '', 'required' => false],
],
'title' => '',
'description' => 'The tag.',
'required' => false,
'example' => '',
],
'title' => '',
'description' => 'An array of tags.',
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0CEC5375-C554-562B-A65F-9A629907C1F0', 'title' => ''],
'nextToken' => ['description' => 'The paging token.', 'type' => 'string', 'example' => '2-ba4d-4b9f-aa24-dcb067a30f1c', 'title' => ''],
'totalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '66', 'title' => ''],
'maxResults' => ['description' => 'The maximum number of results returned. The maximum value is 200.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'services' => [
'description' => 'A list of service information.',
'type' => 'array',
'items' => [
'description' => 'The service information.',
'type' => 'object',
'properties' => [
'serviceId' => ['description' => 'The service ID.', 'type' => 'string', 'example' => 'jm2pl0yoqf@d4905cb11a4f218dfb0a8', 'title' => ''],
'serviceName' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'demo-app', 'title' => ''],
'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-07-01T02:23:59Z', 'title' => ''],
'serviceType' => ['description' => 'The service type.', 'type' => 'string', 'example' => 'TRACE', 'title' => ''],
'serviceStatus' => ['description' => 'The service status. This parameter is valid only when serviceType is RUM.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
'displayName' => ['description' => 'The display name. This parameter is valid only when serviceType is RUM.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'pid' => ['description' => 'The ID of the ARMS application for backward compatibility.', 'type' => 'string', 'example' => 'kgcsf@192197e828d51aa', 'title' => ''],
'description' => ['description' => 'The service description. This parameter is valid only when serviceType is RUM.', 'type' => 'string', 'example' => 'workspace api monitor test', 'title' => ''],
'attributes' => ['description' => 'Additional information.', 'type' => 'string', 'example' => '{"language":"java"}', 'title' => ''],
'workspace' => ['description' => 'The workspace.', 'type' => 'string', 'example' => 'default-cms-1192928460540589-cn-hangzhou', 'title' => ''],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aekxxzuad5zzzz', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-9A629907C1F0\\",\\n \\"nextToken\\": \\"2-ba4d-4b9f-aa24-dcb067a30f1c\\",\\n \\"totalCount\\": 66,\\n \\"maxResults\\": 10,\\n \\"services\\": [\\n {\\n \\"serviceId\\": \\"jm2pl0yoqf@d4905cb11a4f218dfb0a8\\",\\n \\"serviceName\\": \\"demo-app\\",\\n \\"createTime\\": \\"2025-07-01T02:23:59Z\\",\\n \\"serviceType\\": \\"TRACE\\",\\n \\"serviceStatus\\": \\"Running\\",\\n \\"displayName\\": \\"test\\",\\n \\"pid\\": \\"kgcsf@192197e828d51aa\\",\\n \\"description\\": \\"workspace api monitor test\\",\\n \\"attributes\\": \\"{\\\\\\"language\\\\\\":\\\\\\"java\\\\\\"}\\",\\n \\"workspace\\": \\"default-cms-1192928460540589-cn-hangzhou\\",\\n \\"resourceGroupId\\": \\"rg-aekxxzuad5zzzz\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Batch Query Application Observability Services',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServices'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cms:ListServices',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Service', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/service/*'],
],
],
],
],
],
'ListTagResources' => [
'summary' => 'Queries the tags attached to resources.',
'path' => '/tags',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'resourceType',
'in' => 'query',
'schema' => ['description' => 'The resource type.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Service'],
],
[
'name' => 'resourceId',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'array',
'items' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'required' => false,
'title' => '',
'description' => 'A list of resource IDs.',
'example' => '',
],
],
[
'name' => 'tag',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'array',
'items' => ['description' => 'The tags. These are used as filter conditions for the query.'."\n"
."\n"
.'You can specify up to 20 tags.', '$ref' => '#/components/schemas/Tag', 'required' => false, 'title' => '', 'example' => ''],
'title' => '',
'description' => 'The tags. These are used as filter conditions for the query.'."\n"
."\n"
.'You can specify up to 20 tags.',
'required' => false,
'example' => '',
],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'xxxxxxxxxx'],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of results to return. The maximum value is 200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0CEC5375-C554-562B-A65F-***'],
'maxResults' => ['description' => 'The maximum number of results to return. The maximum value is 200.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'],
'nextToken' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'title' => '', 'example' => 'xxxxxxxxxx'],
'tagResources' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'tagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'env'],
'tagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'test'],
'resourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'test'],
'resourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'Service'],
],
'description' => 'A list of tags.',
'title' => '',
'example' => '',
],
'title' => '',
'description' => 'A list of tags.',
'example' => '',
],
],
'title' => '',
'description' => 'Schema of Response',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The ResourceType parameter is invalid.', 'description' => ''],
['errorCode' => 'MissingParameter.ResourceIdsOrTags', 'errorMessage' => 'You must specify ResourceId.N or Tags.', 'description' => ''],
['errorCode' => 'MissingParameter.ResourceType', 'errorMessage' => 'You must specify ResourceType.', 'description' => ''],
['errorCode' => 'MissingParameter.TagKey', 'errorMessage' => 'You must specify Tag.N.Key.', 'description' => ''],
['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded.', 'description' => ''],
['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded.', 'description' => ''],
['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', 'description' => ''],
['errorCode' => 'InvalidParameter.NextToken', 'errorMessage' => 'The NextToken parameter is invalid.', 'description' => ''],
],
403 => [
['errorCode' => 'NoPermission', 'errorMessage' => 'The operator is not permission for this operate', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ListTagResources',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-***\\",\\n \\"maxResults\\": 20,\\n \\"nextToken\\": \\"xxxxxxxxxx\\",\\n \\"tagResources\\": [\\n {\\n \\"tagKey\\": \\"env\\",\\n \\"tagValue\\": \\"test\\",\\n \\"resourceId\\": \\"test\\",\\n \\"resourceType\\": \\"Service\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListWorkspaces' => [
'summary' => 'Retrieves a list of workspaces.',
'path' => '/workspace',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREcms5OJOSH'],
],
'parameters' => [
[
'name' => 'workspaceName',
'in' => 'query',
'schema' => ['description' => 'The name of the workspace. This parameter supports fuzzy search.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'workspace-test-001'],
],
[
'name' => 'nextToken',
'in' => 'query',
'schema' => ['description' => 'The token for the next page of results.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'xxxxxxxxxx'],
],
[
'name' => 'maxResults',
'in' => 'query',
'schema' => ['description' => 'The number of entries to return on each page. Default value: 50. Maximum value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '200', 'minimum' => '0', 'default' => '100', 'title' => '', 'example' => '10'],
],
[
'name' => 'workspaceNameList',
'in' => 'query',
'style' => 'simple',
'schema' => [
'description' => 'The names of the workspaces. This parameter supports exact search.',
'type' => 'array',
'items' => ['description' => 'The name of a workspace. This parameter supports exact search.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'workspace-test-001'],
'required' => false,
'example' => 'workspace-test-001',
'title' => '',
],
],
[
'name' => 'region',
'in' => 'query',
'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-heyuan'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response schema.',
'type' => 'object',
'properties' => [
'maxResults' => ['description' => 'The number of entries returned per page. Default value: 50. Maximum value: 50.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
'nextToken' => ['description' => 'The token for the next page of results.', 'type' => 'string', 'title' => '', 'example' => 'xxxxxxxxxx'],
'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'total' => ['title' => '当总结果个数大于MaxResults时,用于翻页的token。', 'description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'workspaces' => [
'title' => '数组,返回示例目录。',
'description' => 'The list of workspaces.',
'type' => 'array',
'items' => [
'title' => 'WorkspaceItemType',
'description' => 'WorkspaceItemType',
'type' => 'object',
'properties' => [
'createTime' => ['description' => 'The time when the workspace was created.', 'type' => 'string', 'format' => 'iso8601_normal', 'title' => '', 'example' => '2025-03-11T08:21:58Z'],
'displayName' => ['description' => 'The display name of the workspace.', 'type' => 'string', 'title' => '', 'example' => 'workspace-test'],
'description' => ['title' => '工作空间描述', 'description' => 'The description of the workspace.', 'type' => 'string', 'pattern' => '', 'default' => '', 'example' => 'workspace test'],
'lastModifyTime' => ['description' => 'The time when the workspace was last modified.', 'type' => 'string', 'format' => 'iso8601_normal', 'title' => '', 'example' => '2025-03-11T08:21:58Z'],
'regionId' => ['title' => '地域ID', 'description' => 'The ID of the region.', 'type' => 'string', 'pattern' => '', 'default' => '', 'example' => 'cn-heyuan'],
'slsProject' => ['title' => '日志服务项目名称', 'description' => 'The name of the Simple Log Service project.', 'type' => 'string', 'pattern' => '', 'default' => '', 'example' => 'sls-project-test-001'],
'workspaceName' => ['title' => '工作空间名称', 'description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'pattern' => '', 'default' => '', 'example' => 'workspace-test-001'],
],
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Get Workspace List',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListWorkspaces'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cms:ListWorkspaces',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Workspace', 'arn' => 'acs:cms::{#accountId}:workspace/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxResults\\": 10,\\n \\"nextToken\\": \\"xxxxxxxxxx\\",\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"total\\": 1,\\n \\"workspaces\\": [\\n {\\n \\"createTime\\": \\"2025-03-11T08:21:58Z\\",\\n \\"displayName\\": \\"workspace-test\\",\\n \\"description\\": \\"workspace test\\",\\n \\"lastModifyTime\\": \\"2025-03-11T08:21:58Z\\",\\n \\"regionId\\": \\"cn-heyuan\\",\\n \\"slsProject\\": \\"sls-project-test-001\\",\\n \\"workspaceName\\": \\"workspace-test-001\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ManageAlertRules' => [
'summary' => 'Manages alert rules.',
'path' => '/manageAlertRules',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'body',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The request body for managing alert rules. This body is shared by CREATE, UPDATE, PATCH, and BATCH_DELETE operations. Specify fields based on the action.', '$ref' => '#/components/schemas/ManageAlertRulesUnifiedActionInput', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => ['description' => 'The response for managing alert rules.', '$ref' => '#/components/schemas/ServerResponseManageAlertRulesResult', 'title' => '', 'example' => ''],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ParameterInvalid', 'errorMessage' => 'The parameter is missing or invalid. %s', 'description' => 'The parameter is invalid.'],
],
403 => [
['errorCode' => 'Forbidden', 'errorMessage' => 'You are not authorized to operate the specified resource.', 'description' => 'No permission, please use RAM to authorize'],
],
[
['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.', 'description' => 'The specified resource is not found.'],
],
500 => [
['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'A service runtime error occurred.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Manage alert rules',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"alertRule\\": {\\n \\"uuid\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"workspace\\": \\"\\",\\n \\"displayName\\": \\"\\",\\n \\"contentTemplate\\": \\"\\",\\n \\"enabled\\": false,\\n \\"datasourceConfig\\": {\\n \\"type\\": \\"\\",\\n \\"instanceId\\": \\"\\",\\n \\"regionId\\": \\"\\",\\n \\"productCategory\\": \\"\\",\\n \\"legacyType\\": \\"\\",\\n \\"legacyRaw\\": \\"\\"\\n },\\n \\"queryConfig\\": {\\n \\"type\\": \\"\\",\\n \\"expr\\": \\"\\",\\n \\"promQl\\": \\"\\",\\n \\"enableDataCompleteCheck\\": false,\\n \\"metricSet\\": \\"\\",\\n \\"metric\\": \\"\\",\\n \\"queries\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"metricSet\\": \\"\\",\\n \\"metric\\": \\"\\",\\n \\"labelFilters\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"value\\": \\"\\",\\n \\"operator\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"logSet\\": \\"\\",\\n \\"windowSecs\\": 0,\\n \\"offsetSecs\\": 0,\\n \\"aggregate\\": \\"\\",\\n \\"entityDomain\\": \\"\\",\\n \\"entityType\\": \\"\\",\\n \\"entityFilters\\": [\\n {\\n \\"field\\": \\"\\",\\n \\"operator\\": \\"\\",\\n \\"value\\": \\"\\"\\n }\\n ],\\n \\"labelFilters\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"value\\": \\"\\",\\n \\"operator\\": \\"\\"\\n }\\n ],\\n \\"entityFields\\": [\\n {\\n \\"field\\": \\"\\",\\n \\"value\\": \\"\\"\\n }\\n ],\\n \\"serviceIdList\\": [\\n \\"\\"\\n ],\\n \\"filterList\\": [\\n {\\n \\"key\\": \\"\\",\\n \\"type\\": \\"\\",\\n \\"value\\": \\"\\"\\n }\\n ],\\n \\"measureList\\": [\\n {\\n \\"measureCode\\": \\"\\",\\n \\"windowSecs\\": 0,\\n \\"groupBy\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"namespace\\": \\"\\",\\n \\"relationType\\": \\"\\",\\n \\"dimensions\\": [\\n {\\n \\"key\\": \\"\\"\\n }\\n ],\\n \\"groupId\\": \\"\\",\\n \\"legacyType\\": \\"\\",\\n \\"legacyRaw\\": \\"\\"\\n },\\n \\"conditionConfig\\": {\\n \\"type\\": \\"\\",\\n \\"durationSecs\\": 0,\\n \\"severity\\": \\"\\",\\n \\"operator\\": \\"\\",\\n \\"threshold\\": 0,\\n \\"min\\": 0,\\n \\"max\\": 0,\\n \\"aggregate\\": \\"\\",\\n \\"matchField\\": \\"\\",\\n \\"matchOperator\\": \\"\\",\\n \\"matchValue\\": \\"\\",\\n \\"countOperator\\": \\"\\",\\n \\"countThreshold\\": 0,\\n \\"thresholdList\\": [\\n {\\n \\"severity\\": \\"\\",\\n \\"threshold\\": 0,\\n \\"min\\": 0,\\n \\"max\\": 0\\n }\\n ],\\n \\"compareList\\": [\\n {\\n \\"aggregate\\": \\"\\",\\n \\"operator\\": \\"\\",\\n \\"threshold\\": 0,\\n \\"yoyTimeUnit\\": \\"\\",\\n \\"yoyTimeValue\\": 0\\n }\\n ],\\n \\"relation\\": \\"\\",\\n \\"escalationType\\": \\"\\",\\n \\"simpleEscalation\\": {\\n \\"metricName\\": \\"\\",\\n \\"period\\": 0,\\n \\"escalations\\": [\\n {\\n \\"comparisonOperator\\": \\"\\",\\n \\"statistics\\": \\"\\",\\n \\"threshold\\": \\"\\",\\n \\"severity\\": \\"\\",\\n \\"times\\": 0,\\n \\"preCondition\\": \\"\\"\\n }\\n ]\\n },\\n \\"compositeEscalation\\": {\\n \\"relation\\": \\"\\",\\n \\"severity\\": \\"\\",\\n \\"times\\": 0,\\n \\"escalations\\": [\\n {\\n \\"comparisonOperator\\": \\"\\",\\n \\"metricName\\": \\"\\",\\n \\"period\\": 0,\\n \\"statistics\\": \\"\\",\\n \\"threshold\\": \\"\\",\\n \\"preCondition\\": \\"\\"\\n }\\n ]\\n },\\n \\"expressEscalation\\": {\\n \\"times\\": 0,\\n \\"severity\\": \\"\\",\\n \\"rawExpression\\": \\"\\"\\n },\\n \\"prometheus\\": {\\n \\"severity\\": \\"\\",\\n \\"promQl\\": \\"\\",\\n \\"times\\": 0\\n },\\n \\"noDataPolicy\\": \\"\\",\\n \\"legacyType\\": \\"\\",\\n \\"yoyTimeUnit\\": \\"\\",\\n \\"yoyTimeValue\\": 0,\\n \\"triggers\\": [\\n {\\n \\"severity\\": \\"\\",\\n \\"durationSecs\\": 0,\\n \\"expressionType\\": \\"\\",\\n \\"queryName\\": \\"\\",\\n \\"operator\\": \\"\\",\\n \\"threshold\\": 0,\\n \\"min\\": 0,\\n \\"max\\": 0,\\n \\"logicOperator\\": \\"\\",\\n \\"conditions\\": [\\n {\\n \\"expressionType\\": \\"\\",\\n \\"queryName\\": \\"\\",\\n \\"operator\\": \\"\\",\\n \\"threshold\\": 0,\\n \\"min\\": 0,\\n \\"max\\": 0\\n }\\n ]\\n }\\n ],\\n \\"enableSeveritySuppression\\": false,\\n \\"legacyRaw\\": \\"\\"\\n },\\n \\"scheduleConfig\\": {\\n \\"type\\": \\"\\",\\n \\"intervalSecs\\": 0\\n },\\n \\"notifyConfig\\": {\\n \\"type\\": \\"\\",\\n \\"channels\\": [\\n {\\n \\"type\\": \\"\\",\\n \\"identifiers\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"silenceTimeSecs\\": 0,\\n \\"activeDays\\": [\\n 0\\n ],\\n \\"activeStartTime\\": \\"\\",\\n \\"activeEndTime\\": \\"\\",\\n \\"utcOffset\\": \\"\\",\\n \\"notifyStrategies\\": [\\n \\"\\"\\n ]\\n },\\n \\"actionIntegrationConfig\\": {\\n \\"enabled\\": false,\\n \\"actions\\": [\\n \\"\\"\\n ]\\n },\\n \\"armsIntegrationConfig\\": {\\n \\"enabled\\": false\\n },\\n \\"labels\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"annotations\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"datasourceType\\": \\"\\",\\n \\"observeResourceType\\": \\"\\",\\n \\"observeResourceGlobalScope\\": false,\\n \\"observeResourceList\\": [\\n \\"\\"\\n ],\\n \\"severityLevels\\": \\"\\",\\n \\"notifyStrategyId\\": \\"\\",\\n \\"partitionKey\\": \\"\\"\\n },\\n \\"deletedCount\\": 0,\\n \\"deletedUuidList\\": [\\n \\"\\"\\n ],\\n \\"updatedCount\\": 0,\\n \\"updatedUuidList\\": [\\n \\"\\"\\n ]\\n },\\n \\"code\\": \\"\\",\\n \\"success\\": false,\\n \\"requestId\\": \\"\\",\\n \\"message\\": \\"\\",\\n \\"total\\": 0,\\n \\"pageSize\\": 0,\\n \\"pageNumber\\": 0,\\n \\"nextToken\\": \\"\\"\\n}","type":"json"}]',
],
'OpenCmsService' => [
'summary' => 'Activates CloudMonitor services, including Hybrid Cloud Monitoring, Managed Service for Prometheus, and Simple Log Service (SLS).',
'path' => '/cmsservice',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'enabled' => ['description' => 'Indicates whether the service or commodity is activated.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Activate cloudMonitor services',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:OpenCmsService',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'CmsService', 'arn' => 'acs:cms:*:{#accountId}:cmsservice/*'],
],
],
'additionalActions' => [
['action' => 'log:EnableService', 'validationType' => 'always'],
['action' => 'arms:OpenArmsService', 'validationType' => 'always'],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"enabled\\": true\\n}","type":"json"}]',
],
'PutWorkspace' => [
'path' => '/workspace/{workspaceName}',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => 'body参数',
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'displayName' => ['title' => '', 'description' => 'The display name of the workspace.', 'type' => 'string', 'required' => false, 'maxLength' => 256, 'example' => 'workspace-test'],
'description' => ['title' => '工作空间描述', 'description' => 'The description of the workspace.', 'type' => 'string', 'required' => false, 'maxLength' => 256, 'pattern' => '', 'default' => '', 'example' => 'workspace test'],
'slsProject' => ['title' => '日志服务项目名称', 'description' => 'The name of the Simple Log Service project.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 1, 'default' => '', 'example' => 'sls-project-test-001'],
],
'required' => false,
'example' => '',
],
],
[
'name' => 'workspaceName',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 56, 'minLength' => 1, 'title' => '', 'example' => 'workspace-test-001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'workspaceName' => ['description' => 'The name of the workspace.', 'type' => 'string', 'title' => '', 'example' => 'workspace-test-001'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Create or Modify Workspace',
'summary' => 'Creates a workspace.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutWorkspace'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:PutWorkspace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Workspace', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspaceName}'],
],
],
'additionalActions' => [],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"workspaceName\\": \\"workspace-test-001\\"\\n}","type":"json"}]',
],
'QueryAlertRules' => [
'path' => '/queryAlertRules',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'nextToken',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The token that marks the position from which you want to start reading data. If you leave this parameter empty, data is read from the beginning.', 'type' => 'string', 'required' => false, 'example' => '123456'],
],
[
'name' => 'maxResults',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The maximum number of data records to read in this request.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'clientToken',
'in' => 'query',
'allowEmptyValue' => false,
'schema' => ['title' => '', 'description' => 'The idempotency token.', 'type' => 'string', 'required' => false, 'example' => 'xxxxx-xxxx-xxxx'],
],
[
'name' => 'body',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The request body for querying alert rules.', '$ref' => '#/components/schemas/QueryAlertRulesInput', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => ['description' => 'The response for querying alert rules.', '$ref' => '#/components/schemas/ServerResponseQueryAlertRulesResult', 'title' => '', 'example' => ''],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => '%s is missing or invalid.', 'description' => 'The request parameters are invalid or required parameters are missing (such as GroupName, WorkspaceId, GroupId, or region being empty).'],
['errorCode' => 'ParameterInvalid', 'errorMessage' => 'The parameter is missing or invalid. %s', 'description' => 'The parameter is invalid.'],
],
403 => [
['errorCode' => 'Forbidden', 'errorMessage' => 'You are not authorized to operate the specified resource.', 'description' => 'No permission, please use RAM to authorize'],
],
[
['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.', 'description' => 'The specified resource is not found.'],
],
500 => [
['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'A service runtime error occurred.'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query alert rules',
'summary' => 'Queries alert rules.',
'description' => 'This topic provides an example on how to query a list of alert templates. The response shows that the alert template list contains two alert templates: `ECS_Template1` and `ECS_Template2`.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"totalCount\\": 0,\\n \\"alertRules\\": [\\n {\\n \\"uuid\\": \\"\\",\\n \\"createdAt\\": \\"\\",\\n \\"updatedAt\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"workspace\\": \\"\\",\\n \\"displayName\\": \\"\\",\\n \\"contentTemplate\\": \\"\\",\\n \\"enabled\\": false,\\n \\"datasourceConfig\\": {\\n \\"type\\": \\"\\",\\n \\"instanceId\\": \\"\\",\\n \\"regionId\\": \\"\\",\\n \\"productCategory\\": \\"\\",\\n \\"legacyType\\": \\"\\",\\n \\"legacyRaw\\": \\"\\"\\n },\\n \\"queryConfig\\": {\\n \\"type\\": \\"\\",\\n \\"expr\\": \\"\\",\\n \\"promQl\\": \\"\\",\\n \\"enableDataCompleteCheck\\": false,\\n \\"metricSet\\": \\"\\",\\n \\"metric\\": \\"\\",\\n \\"queries\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"metricSet\\": \\"\\",\\n \\"metric\\": \\"\\",\\n \\"labelFilters\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"value\\": \\"\\",\\n \\"operator\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"logSet\\": \\"\\",\\n \\"windowSecs\\": 0,\\n \\"offsetSecs\\": 0,\\n \\"aggregate\\": \\"\\",\\n \\"entityDomain\\": \\"\\",\\n \\"entityType\\": \\"\\",\\n \\"entityFilters\\": [\\n {\\n \\"field\\": \\"\\",\\n \\"operator\\": \\"\\",\\n \\"value\\": \\"\\"\\n }\\n ],\\n \\"labelFilters\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"value\\": \\"\\",\\n \\"operator\\": \\"\\"\\n }\\n ],\\n \\"entityFields\\": [\\n {\\n \\"field\\": \\"\\",\\n \\"value\\": \\"\\"\\n }\\n ],\\n \\"serviceIdList\\": [\\n \\"\\"\\n ],\\n \\"filterList\\": [\\n {\\n \\"key\\": \\"\\",\\n \\"type\\": \\"\\",\\n \\"value\\": \\"\\"\\n }\\n ],\\n \\"measureList\\": [\\n {\\n \\"measureCode\\": \\"\\",\\n \\"windowSecs\\": 0,\\n \\"groupBy\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"namespace\\": \\"\\",\\n \\"relationType\\": \\"\\",\\n \\"dimensions\\": [\\n {\\n \\"key\\": \\"\\"\\n }\\n ],\\n \\"groupId\\": \\"\\",\\n \\"legacyType\\": \\"\\",\\n \\"legacyRaw\\": \\"\\"\\n },\\n \\"conditionConfig\\": {\\n \\"type\\": \\"\\",\\n \\"durationSecs\\": 0,\\n \\"severity\\": \\"\\",\\n \\"operator\\": \\"\\",\\n \\"threshold\\": 0,\\n \\"min\\": 0,\\n \\"max\\": 0,\\n \\"aggregate\\": \\"\\",\\n \\"matchField\\": \\"\\",\\n \\"matchOperator\\": \\"\\",\\n \\"matchValue\\": \\"\\",\\n \\"countOperator\\": \\"\\",\\n \\"countThreshold\\": 0,\\n \\"thresholdList\\": [\\n {\\n \\"severity\\": \\"\\",\\n \\"threshold\\": 0,\\n \\"min\\": 0,\\n \\"max\\": 0\\n }\\n ],\\n \\"compareList\\": [\\n {\\n \\"aggregate\\": \\"\\",\\n \\"operator\\": \\"\\",\\n \\"threshold\\": 0,\\n \\"yoyTimeUnit\\": \\"\\",\\n \\"yoyTimeValue\\": 0\\n }\\n ],\\n \\"relation\\": \\"\\",\\n \\"escalationType\\": \\"\\",\\n \\"simpleEscalation\\": {\\n \\"metricName\\": \\"\\",\\n \\"period\\": 0,\\n \\"escalations\\": [\\n {\\n \\"comparisonOperator\\": \\"\\",\\n \\"statistics\\": \\"\\",\\n \\"threshold\\": \\"\\",\\n \\"severity\\": \\"\\",\\n \\"times\\": 0,\\n \\"preCondition\\": \\"\\"\\n }\\n ]\\n },\\n \\"compositeEscalation\\": {\\n \\"relation\\": \\"\\",\\n \\"severity\\": \\"\\",\\n \\"times\\": 0,\\n \\"escalations\\": [\\n {\\n \\"comparisonOperator\\": \\"\\",\\n \\"metricName\\": \\"\\",\\n \\"period\\": 0,\\n \\"statistics\\": \\"\\",\\n \\"threshold\\": \\"\\",\\n \\"preCondition\\": \\"\\"\\n }\\n ]\\n },\\n \\"expressEscalation\\": {\\n \\"times\\": 0,\\n \\"severity\\": \\"\\",\\n \\"rawExpression\\": \\"\\"\\n },\\n \\"prometheus\\": {\\n \\"severity\\": \\"\\",\\n \\"promQl\\": \\"\\",\\n \\"times\\": 0\\n },\\n \\"noDataPolicy\\": \\"\\",\\n \\"legacyType\\": \\"\\",\\n \\"yoyTimeUnit\\": \\"\\",\\n \\"yoyTimeValue\\": 0,\\n \\"triggers\\": [\\n {\\n \\"severity\\": \\"\\",\\n \\"durationSecs\\": 0,\\n \\"expressionType\\": \\"\\",\\n \\"queryName\\": \\"\\",\\n \\"operator\\": \\"\\",\\n \\"threshold\\": 0,\\n \\"min\\": 0,\\n \\"max\\": 0,\\n \\"logicOperator\\": \\"\\",\\n \\"conditions\\": [\\n {\\n \\"expressionType\\": \\"\\",\\n \\"queryName\\": \\"\\",\\n \\"operator\\": \\"\\",\\n \\"threshold\\": 0,\\n \\"min\\": 0,\\n \\"max\\": 0\\n }\\n ]\\n }\\n ],\\n \\"enableSeveritySuppression\\": false,\\n \\"legacyRaw\\": \\"\\"\\n },\\n \\"scheduleConfig\\": {\\n \\"type\\": \\"\\",\\n \\"intervalSecs\\": 0\\n },\\n \\"notifyConfig\\": {\\n \\"type\\": \\"\\",\\n \\"channels\\": [\\n {\\n \\"type\\": \\"\\",\\n \\"identifiers\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"silenceTimeSecs\\": 0,\\n \\"activeDays\\": [\\n 0\\n ],\\n \\"activeStartTime\\": \\"\\",\\n \\"activeEndTime\\": \\"\\",\\n \\"utcOffset\\": \\"\\",\\n \\"notifyStrategies\\": [\\n \\"\\"\\n ]\\n },\\n \\"actionIntegrationConfig\\": {\\n \\"enabled\\": false,\\n \\"actions\\": [\\n \\"\\"\\n ]\\n },\\n \\"armsIntegrationConfig\\": {\\n \\"enabled\\": false\\n },\\n \\"labels\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"annotations\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"datasourceType\\": \\"\\",\\n \\"observeResourceType\\": \\"\\",\\n \\"observeResourceGlobalScope\\": false,\\n \\"observeResourceList\\": [\\n \\"\\"\\n ],\\n \\"severityLevels\\": \\"\\",\\n \\"notifyStrategyId\\": \\"\\",\\n \\"partitionKey\\": \\"\\"\\n }\\n ]\\n },\\n \\"code\\": \\"\\",\\n \\"success\\": false,\\n \\"requestId\\": \\"\\",\\n \\"message\\": \\"\\",\\n \\"total\\": 0,\\n \\"pageSize\\": 0,\\n \\"pageNumber\\": 0,\\n \\"nextToken\\": \\"\\"\\n}","type":"json"}]',
],
'SearchContext' => [
'summary' => 'Search context.',
'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/search',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'Workspace ID', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'path',
'schema' => ['description' => 'Context store name', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-context-store', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body',
'type' => 'object',
'properties' => [
'query' => ['description' => 'Query content', 'type' => 'string', 'required' => true, 'example' => 'How is the cost for consuming SLS logs in Flink calculated?', 'title' => ''],
'formatted' => ['description' => 'Whether to format', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'filter' => [
'description' => 'Filter conditions',
'type' => 'object',
'required' => false,
'additionalProperties' => ['description' => 'Filter conditions', 'type' => 'any', 'example' => '{'."\n"
.' "metadata.serviceName": "sls-sop-daily",'."\n"
.' "metadata.taskType": {'."\n"
.' "in": ["troubleshooting", "knowledge_retrieval"]'."\n"
.' }', 'title' => ''],
'title' => '',
'example' => '',
],
'limit' => ['description' => 'Limit the number of items returned', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
'threshold' => ['description' => 'Similarity threshold', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.3', 'title' => ''],
'retrievalOption' => ['description' => 'Retrieval option', 'type' => 'string', 'required' => false, 'example' => 'reranker,llm_rank', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response data',
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => '123-0F43-23423-AC43-34234', 'title' => ''],
'results' => [
'description' => 'Return value',
'type' => 'array',
'items' => [
'description' => 'Return value',
'type' => 'object',
'additionalProperties' => ['description' => 'Return value', 'type' => 'any', 'example' => '{}', 'title' => ''],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Search context',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'cms:SearchContext',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'ContextStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/contextstore/{#contextStoreName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"123-0F43-23423-AC43-34234\\",\\n \\"results\\": [\\n {\\n \\"key\\": \\"{}\\"\\n }\\n ]\\n}","type":"json"}]',
],
'SearchMemories' => [
'summary' => 'Searches for memories based on query conditions and filters.',
'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/search',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'memoryStoreName',
'in' => 'path',
'schema' => ['description' => 'The memory store name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'qianyi_test_1', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'query' => ['description' => 'The query content.', 'type' => 'string', 'required' => false, 'example' => 'What I like', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'required' => false, 'example' => 'test_session_001', 'title' => ''],
'topK' => ['description' => 'The top-K entries to return in the results.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'agentId' => ['description' => 'The agent ID.', 'type' => 'string', 'required' => false, 'example' => '972772996913709056', 'title' => ''],
'appId' => ['description' => 'The app key of the project assigned by the merchant.', 'type' => 'string', 'required' => false, 'example' => 'mm_480d961a1b5e4efe84603f4cbc0f', 'title' => ''],
'runId' => ['description' => 'The run ID.', 'type' => 'string', 'required' => false, 'example' => 'test_session_001', 'title' => ''],
'rerank' => ['description' => 'Specifies whether to enable reranking.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'filters' => [
'title' => '',
'description' => 'The filter conditions.',
'type' => 'object',
'required' => false,
'additionalProperties' => ['title' => '', 'description' => 'The filter conditions.', 'type' => 'any', 'example' => '{"__strategy_type__":"Fact"}'],
'example' => '',
],
'threshold' => ['title' => '', 'description' => 'The similarity threshold.', 'type' => 'number', 'format' => 'double', 'example' => '0.3', 'required' => false],
'retrievalOption' => ['title' => '', 'description' => 'The retrieval option.', 'type' => 'string', 'example' => 'reranker,llm_rank', 'required' => false],
'searchType' => ['title' => '', 'description' => 'The search type.', 'type' => 'string', 'example' => 'experience', 'required' => false],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'results' => [
'description' => 'The returned results.',
'type' => 'array',
'items' => [
'description' => 'The returned results.',
'type' => 'object',
'properties' => [
'actorId' => ['description' => 'The actor ID.', 'type' => 'string', 'example' => 'test_session_001', 'title' => ''],
'agentId' => ['description' => 'The agent ID of the application.', 'type' => 'string', 'example' => '972772996913709056', 'title' => ''],
'createdAt' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1762773128968', 'title' => ''],
'hash' => ['description' => 'The memory hash value.', 'type' => 'string', 'example' => 'd791bf27236c5532056a13279baad3517042bb8d5b1bdb02e7871fa632debffe', 'title' => ''],
'id' => ['description' => 'The memory ID.', 'type' => 'string', 'example' => '019ca1e5-7307-7d50-b943-5e628326a8ed', 'title' => ''],
'memory' => ['description' => 'The memory content.', 'type' => 'string', 'example' => 'My name is Zhang San and I live in Hangzhou.', 'title' => ''],
'metadata' => [
'title' => '',
'description' => 'The metadata.',
'type' => 'object',
'additionalProperties' => ['title' => '', 'description' => 'The metadata.', 'type' => 'any', 'example' => '{"__strategy_type__":"Fact"}'],
'example' => '{"__strategy_type__":"Fact"}',
],
'role' => ['description' => 'The role that initiated the message.', 'type' => 'string', 'example' => 'user', 'title' => ''],
'runId' => ['description' => 'The run ID.', 'type' => 'string', 'example' => 'test_session_001', 'title' => ''],
'score' => ['description' => 'The similarity score.', 'type' => 'number', 'format' => 'double', 'example' => '13.21', 'title' => ''],
'updatedAt' => ['description' => 'The update time.', 'type' => 'string', 'example' => '1764902557784', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => 'test_session_001', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'relations' => [
'description' => 'The relations.',
'type' => 'array',
'items' => [
'description' => 'The relations.',
'type' => 'object',
'properties' => [
'destination' => ['description' => 'The destination.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'relationship' => ['description' => 'The relations.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'source' => ['description' => 'The source.', 'type' => 'string', 'example' => 'todo_open_dingoj06pvqfeayy3lkr', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0CEC5375-C554-562B-A65F-9A629907C1F0', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Search memories',
'description' => 'This topic provides an example on how to create a threshold alert rule for the cpu_total metric of the Elastic Computing Service `acs_ecs_dashboard` instance `i-uf6j91r34rnwawoo****`. The alert contact group of the alert rule is `ECS_Group`, the alert rule name is `test123`, the alert rule ID is `a151cd6023eacee2f0978e03863cc1697c89508****`, the statistical method for the Critical level is `Average`, the comparison operator for the Critical level is `GreaterThanOrEqualToThreshold`, the threshold for the Critical level is `90`, and the retry count for the Critical level is `3`.'."\n"
.'> 2024-08-15: Statistics validation is added. Only the Statistics value that corresponds to the metric can be specified. For information about how to obtain the value of this parameter, see [Cloud service monitoring metrics](https://www.alibabacloud.com/help/en/cms/support/appendix-1-metrics).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"results\\": [\\n {\\n \\"actorId\\": \\"test_session_001\\",\\n \\"agentId\\": \\"972772996913709056\\",\\n \\"createdAt\\": \\"1762773128968\\",\\n \\"hash\\": \\"d791bf27236c5532056a13279baad3517042bb8d5b1bdb02e7871fa632debffe\\",\\n \\"id\\": \\"019ca1e5-7307-7d50-b943-5e628326a8ed\\",\\n \\"memory\\": \\"My name is Zhang San and I live in Hangzhou.\\",\\n \\"metadata\\": {\\n \\"key\\": \\"{\\\\\\"__strategy_type__\\\\\\":\\\\\\"Fact\\\\\\"}\\"\\n },\\n \\"role\\": \\"user\\",\\n \\"runId\\": \\"test_session_001\\",\\n \\"score\\": 13.21,\\n \\"updatedAt\\": \\"1764902557784\\",\\n \\"userId\\": \\"test_session_001\\"\\n }\\n ],\\n \\"relations\\": [\\n {\\n \\"destination\\": \\"test\\",\\n \\"relationship\\": \\"test\\",\\n \\"source\\": \\"todo_open_dingoj06pvqfeayy3lkr\\"\\n }\\n ],\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-9A629907C1F0\\"\\n}","type":"json"}]',
],
'TagResources' => [
'path' => '/tags',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'resourceType' => ['description' => 'The resource type.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Service'],
'resourceId' => [
'type' => 'array',
'items' => ['description' => 'A resource ID.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'required' => true,
'maxItems' => 50,
'minItems' => 1,
'title' => '',
'description' => 'A list of resource IDs.',
'example' => '',
],
'tag' => [
'type' => 'array',
'items' => ['description' => 'A tag.', '$ref' => '#/components/schemas/Tag', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'description' => 'The tags.'."\n"
."\n"
.'You can attach a maximum of 20 tags.',
'example' => '',
],
],
'required' => false,
'description' => 'The request body.',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '3B311FD9-A60B-55E0-A896-A0C73*********'],
],
'title' => '',
'description' => 'Schema of Response',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter.ResourceId', 'errorMessage' => 'The ResourceId parameter is invalid.', 'description' => ''],
['errorCode' => 'InvalidResourceId.NotFound', 'errorMessage' => 'The specified ResourceIds are not found in our records.', 'description' => ''],
['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded.', 'description' => ''],
['errorCode' => 'InvalidParameter.RegionId', 'errorMessage' => 'The RegionId parameter is invalid.', 'description' => ''],
['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The ResourceType parameter is invalid.', 'description' => ''],
['errorCode' => 'MissingParameter.ResourceIds', 'errorMessage' => 'You must specify ResourceId.N.', 'description' => ''],
['errorCode' => 'MissingParameter.ResourceType', 'errorMessage' => 'You must specify ResourceType.', 'description' => ''],
['errorCode' => 'MissingParameter.Tags', 'errorMessage' => 'You must specify Tags.', 'description' => ''],
['errorCode' => 'MissingParameter.TagKey', 'errorMessage' => 'You must specify Tag.N.Key.', 'description' => ''],
['errorCode' => 'MissingParameter.TagValue', 'errorMessage' => 'You must specify Tag.N.Value.', 'description' => ''],
['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The Tag.N.Key parameter is invalid.', 'description' => ''],
['errorCode' => 'InvalidParameter.TagValue', 'errorMessage' => 'The Tag.N.Value parameter is invalid.', 'description' => ''],
['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded.', 'description' => ''],
['errorCode' => 'QuotaExceed.TagsPerResource', 'errorMessage' => 'The maximum number of tags for each resource is exceeded.', 'description' => ''],
['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', 'description' => ''],
],
403 => [
['errorCode' => 'NoPermission', 'errorMessage' => 'The operator is not permission for this operate', 'description' => ''],
],
500 => [
['errorCode' => 'InvalidOperation.ConcurrentModification', 'errorMessage' => 'The resource is modified concurrently.', 'description' => ''],
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'TagResources',
'summary' => 'Adds tags to one or more resources.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'cms:TagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3B311FD9-A60B-55E0-A896-A0C73*********\\"\\n}","type":"json"}]',
],
'UntagResources' => [
'path' => '/tags',
'methods' => ['delete'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'resourceType',
'in' => 'query',
'schema' => ['description' => 'The resource type.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Service'],
],
[
'name' => 'resourceId',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'array',
'items' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'required' => true,
'maxItems' => 50,
'minItems' => 1,
'title' => '',
'description' => 'A list of resource IDs.',
'example' => '',
],
],
[
'name' => 'tagKey',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'array',
'items' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'env', 'title' => ''],
'title' => '',
'description' => 'The tag key.'."\n"
."\n"
.'You can detach tags with up to 20 tag keys.',
'required' => false,
'example' => '',
],
],
[
'name' => 'all',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to remove all tags from the specified resources. Valid values:'."\n"
."\n"
.'false (default): No'."\n"
.'true: Yes', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'title' => '',
'description' => 'Schema of Response',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The ResourceType parameter is invalid.', 'description' => ''],
['errorCode' => 'MissingParameter.ResourceIds', 'errorMessage' => 'You must specify ResourceId.N.', 'description' => ''],
['errorCode' => 'MissingParameter.ResourceType', 'errorMessage' => 'You must specify ResourceType.', 'description' => ''],
['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The Tag.N.Key parameter is invalid.', 'description' => ''],
['errorCode' => 'InvalidParameter.TagKeysOrDeleteAll', 'errorMessage' => 'The TagKeys or DeleteAll parameter is invalid.', 'description' => ''],
['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded.', 'description' => ''],
['errorCode' => 'NumberExceed.TagKeys', 'errorMessage' => 'The maximum number of TagKeys is exceeded.', 'description' => ''],
['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', 'description' => ''],
['errorCode' => 'InvalidResourceId.NotFound', 'errorMessage' => 'The specified ResourceIds are not found in our records.', 'description' => ''],
],
403 => [
['errorCode' => 'NoPermission', 'errorMessage' => 'The operator is not permission for this operate ', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'UntagResources',
'summary' => 'Deletes a tag',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'cms:UntagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'UpdateAddonRelease' => [
'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'releaseName',
'in' => 'path',
'schema' => ['title' => 'Release 的名称。', 'description' => 'The name of the release.', 'type' => 'string', 'required' => true, 'example' => 'test-gpu-integration-name'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'addonVersion' => ['title' => 'Addon 的版本信息。', 'description' => 'The version of the add-on.', 'type' => 'string', 'required' => false, 'example' => '0.0.2'],
'dryRun' => [
'title' => '是否预检本次请求。',
'description' => 'Specifies whether to perform a dry run for the request.',
'type' => 'boolean',
'required' => false,
'enumValueTitles' => ['true' => 'Performs a dry run.', 'false' => 'Performs the actual request.'],
'example' => 'true',
],
'values' => ['title' => '元数据信息。', 'description' => 'The metadata.', 'type' => 'string', 'required' => false, 'example' => '{"install":{"mode":"auto-install","listenPort":"9400"},"discoverMode":"instances","discover":{"instances":"worker-k8s-for-cs-c126d87c76218487e83ab322017f11b44"},"scrapeInterval":"15","enableSecuritecs-nodeyGroupInjection":"true","metricTags":""}'],
'entityRules' => ['title' => '实体发现规则。', 'description' => 'The entity discovery rules.', 'required' => false, '$ref' => '#/components/schemas/EntityDiscoverRule', 'example' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'policyId',
'in' => 'path',
'schema' => ['title' => '策略环境 ID。', 'description' => 'The ID of the policy environment.', 'type' => 'string', 'required' => true, 'example' => 'policy-xxxxxxxxxxxx'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The data returned.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9F00A7AF-2728-5424-B321-79D39C00A1EC'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Update Access Component Configuration',
'summary' => 'Upgrades an add-on component.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAddonRelease'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdateAddonRelease',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'AddonRelease', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#PolicyId}/addonrelease/{#ReleaseName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"9F00A7AF-2728-5424-B321-79D39C00A1EC\\"\\n}","type":"json"}]',
],
'UpdateAggTaskGroup' => [
'summary' => 'Updates an aggregation task group.',
'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
'schema' => ['title' => '聚合任务组所属的 Prometheus 实例的 id,聚合任务从这个实例中读取数据', 'description' => 'The ID of the Prometheus instance to which the aggregation task group belongs. The aggregation task reads data from this instance.', 'type' => 'string', 'required' => true, 'example' => 'rw-pq4apob9jm'],
],
[
'name' => 'groupId',
'in' => 'path',
'schema' => ['title' => '聚合任务组 id', 'description' => 'The ID of the aggregation task group.', 'type' => 'string', 'required' => true, 'example' => 'aggTaskGroup-xxxx'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => '入参结构体',
'description' => 'The request parameters.',
'type' => 'object',
'properties' => [
'aggTaskGroupConfig' => ['title' => '聚合任务组配置。目前仅支持 “RecordingRuleYaml” 格式,要求符合开源 Prometheus 的 RecordingRule 的格式要求', 'description' => 'The configuration of the aggregation task group. Currently, only the RecordingRuleYaml format is supported. The configuration must comply with the RecordingRule format of open source Prometheus.', 'type' => 'string', 'required' => true, 'example' => 'groups:'."\n"
.'- name: "node.rules"'."\n"
.' interval: "60s"'."\n"
.' rules:'."\n"
.' - record: "node_namespace_pod:kube_pod_info:"'."\n"
.' expr: "max(label_replace(kube_pod_info{job=\\"kubernetes-pods-kube-state-metrics\\"\\'."\n"
.' }, \\"pod\\", \\"$1\\", \\"pod\\", \\"(.*)\\")) by (node, namespace, pod, cluster)"'],
'aggTaskGroupConfigType' => ['title' => '聚合任务组配置类型,默认 “RecordingRuleYaml”(开源 Prometheus 的 RecordingRule 格式)', 'description' => 'The type of the aggregation task group configuration. The default value is RecordingRuleYaml, which is the RecordingRule format of open source Prometheus.', 'type' => 'string', 'required' => false, 'default' => 'RecordingRuleYaml', 'example' => 'RecordingRuleYaml'],
'aggTaskGroupName' => ['title' => '聚合任务组名称', 'description' => 'The name of the aggregation task group.', 'type' => 'string', 'required' => false, 'example' => 'test-group'],
'cronExpr' => ['title' => '调度模式选择“Cron”情况下,具体的调度表达式。例如“0/1 * * * *”,表示从 0 分开始,每隔 1 分钟调度一次', 'description' => 'The cron expression for scheduling when the scheduling mode is set to Cron. For example, \\`0/1 \\* \\* \\* \\*\\` indicates that the task is scheduled every 1 minute, starting from the 0th minute.', 'type' => 'string', 'required' => false, 'example' => '0/1 * * * *'],
'delay' => ['title' => '调度的固定延迟时间,单位:秒,默认 30', 'description' => 'The fixed delay for scheduling. Unit: seconds. The default value is 30.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '120', 'minimum' => '0', 'default' => '30', 'example' => '30'],
'description' => ['title' => '聚合任务组描述', 'description' => 'The description of the aggregation task group.', 'type' => 'string', 'required' => false, 'example' => 'desc'],
'fromTime' => ['title' => '调度开始时间对应的的秒级时间戳', 'description' => 'The UNIX timestamp in seconds that indicates the start time of the scheduling.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1724996015'],
'maxRetries' => ['title' => '执行聚合任务的最大重试次数,默认 20', 'description' => 'The maximum number of retries to execute the aggregation task. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '20', 'example' => '20'],
'maxRunTimeInSeconds' => ['title' => '执行聚合任务的最大重试时间,单位:秒,默认 600', 'description' => 'The maximum retry time to execute the aggregation task. Unit: seconds. The default value is 600.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '600', 'example' => '600'],
'precheckString' => ['title' => '预检测配置,默认不配置。输入的字符串需要能被正确 JSON 解析', 'description' => 'The dry run configuration. This parameter is not configured by default. The input string must be a valid JSON string.', 'type' => 'string', 'required' => false, 'example' => '{"policy":"skip","prometheusId":"xxx","query":"scalar(sum(count_over_time(up{job=\\"_arms/kubelet/cadvisor\\"}[15s])) / 21)","threshold":0.5,"timeout":15,"type":"promql"}'],
'scheduleMode' => [
'title' => '调度模式,“Cron” 或 “FixedRate”,默认 “FixedRate”',
'description' => 'The scheduling mode. Valid values: Cron and FixedRate. The default value is FixedRate.',
'type' => 'string',
'required' => false,
'default' => 'FixedRate',
'enum' => ['FixedRate', 'Cron'],
'example' => 'FixedRate',
],
'scheduleTimeExpr' => ['title' => '调度时间表达式,推荐 “@s” 或者 “@m”,表示调度时间窗口对齐的粒度,默认 “@m”', 'description' => 'The scheduling time expression. Recommended values are \\`@s\\` and \\`@m\\`. This expression indicates the granularity at which the scheduling time window is snapped. The default value is \\`@m\\`.', 'type' => 'string', 'required' => false, 'default' => '@m', 'example' => '@m'],
'status' => [
'title' => '聚合任务组状态,“Running” 或者 “Stopped”。默认 Running',
'description' => 'The status of the aggregation task group. Valid values: Running and Stopped. The default value is Running.',
'type' => 'string',
'required' => false,
'default' => 'Running',
'enum' => ['Running', 'Stopped'],
'example' => 'Running',
],
'tags' => [
'title' => '资源组标签',
'description' => 'The tags of the resource group.',
'type' => 'array',
'items' => [
'description' => 'The tag.',
'type' => 'object',
'properties' => [
'key' => ['title' => '资源组标签的键', 'description' => 'The key of the resource group tag.', 'type' => 'string', 'required' => false, 'example' => 'key1'],
'value' => ['title' => '资源组标签的值', 'description' => 'The value of the resource group tag.', 'type' => 'string', 'required' => false, 'example' => 'value1'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'targetPrometheusId' => ['title' => '聚合任务组的目标 Prometheus 实例 id', 'description' => 'The ID of the target Prometheus instance for the aggregation task group.', 'type' => 'string', 'required' => true, 'example' => 'rw-pq4apob9jm'],
'toTime' => ['title' => '调度结束时间对应的秒级时间戳,0 表示不停止调度', 'description' => 'The UNIX timestamp in seconds that indicates the end time of the scheduling. A value of 0 indicates that the scheduling does not stop.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '出参结构体',
'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '请求 id', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
'aggTaskGroupConfigHash' => ['title' => '聚合任务组配置的摘要', 'description' => 'The summary of the aggregation task group configuration.', 'type' => 'string', 'example' => 'a54136014dc386a92c83a6ef1e97ff22'],
'aggTaskGroupId' => ['title' => '聚合任务组 id', 'description' => 'The ID of the aggregation task group.', 'type' => 'string', 'example' => 'aggTaskGroup-5fb2c3ade63a4709bcb059d13493b7b8'],
'aggTaskGroupName' => ['title' => '聚合任务组名称', 'description' => 'The name of the aggregation task group.', 'type' => 'string', 'example' => 'pipeline-aggtask-group'],
'sourcePrometheusId' => ['title' => '聚合任务组的源 Prometheus 实例 id', 'description' => 'The ID of the source Prometheus instance for the aggregation task group.', 'type' => 'string', 'example' => 'rw-083e17834e279f8c627fe91a2d72'],
'status' => ['title' => '聚合任务组的当前状态', 'description' => 'The current status of the aggregation task group.', 'type' => 'string', 'example' => 'Running'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"aggTaskGroupConfigHash\\": \\"a54136014dc386a92c83a6ef1e97ff22\\",\\n \\"aggTaskGroupId\\": \\"aggTaskGroup-5fb2c3ade63a4709bcb059d13493b7b8\\",\\n \\"aggTaskGroupName\\": \\"pipeline-aggtask-group\\",\\n \\"sourcePrometheusId\\": \\"rw-083e17834e279f8c627fe91a2d72\\",\\n \\"status\\": \\"Running\\"\\n}","type":"json"}]',
'title' => 'Update Aggregation Task Group',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAggTaskGroup'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdateAggTaskGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'AggTaskGroup', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}/aggtaskgroup/{#aggTaskGroupId}'],
],
],
],
],
],
'UpdateAggTaskGroupStatus' => [
'summary' => 'Updates the status of an aggregation task group.',
'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}/status',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
'schema' => ['title' => '聚合任务组所属的 Prometheus 实例的 id,聚合任务从这个实例中读取数据', 'description' => 'The ID of the Prometheus instance. The aggregation task reads data from this instance.', 'type' => 'string', 'required' => true, 'example' => 'rw-pq4apob9jm'],
],
[
'name' => 'groupId',
'in' => 'path',
'schema' => ['title' => '聚合任务组 id', 'description' => 'The ID of the aggregation task group.', 'type' => 'string', 'required' => true, 'example' => 'aggTaskGroup-xxx'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => '入参结构体',
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'status' => [
'title' => '聚合任务组状态,“Running” 或者 “Stopped”。默认 Running',
'description' => 'The status of the aggregation task group. Valid values are "Running" and "Stopped". The default value is Running.',
'type' => 'string',
'required' => true,
'enum' => ['Running', 'Stopped'],
'example' => 'Running',
],
],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '出参结构体',
'description' => 'The response body.',
'type' => 'object',
'properties' => [
'aggTaskGroupConfigHash' => ['title' => '聚合任务组配置的摘要', 'description' => 'The summary of the aggregation task group configuration.', 'type' => 'string', 'example' => 'a54136014dc386a92c83a6ef1e97ff22'],
'aggTaskGroupId' => ['title' => '聚合任务组 id', 'description' => 'The ID of the aggregation task group.', 'type' => 'string', 'example' => 'aggTaskGroup-xxx'],
'aggTaskGroupName' => ['title' => '聚合任务组名称', 'description' => 'The name of the aggregation task group.', 'type' => 'string', 'example' => 'pipeline-aggtask-group'],
'requestId' => ['title' => '请求 id', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0CEC5375-C554-562B-A65F-***'],
'sourcePrometheusId' => ['title' => '聚合任务组的源 Prometheus 实例 id', 'description' => 'The ID of the source Prometheus instance for the aggregation task group.', 'type' => 'string', 'example' => 'rw-xxx'],
'status' => ['title' => '聚合任务组的当前状态', 'description' => 'The current status of the aggregation task group.', 'type' => 'string', 'example' => 'Running'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"aggTaskGroupConfigHash\\": \\"a54136014dc386a92c83a6ef1e97ff22\\",\\n \\"aggTaskGroupId\\": \\"aggTaskGroup-xxx\\",\\n \\"aggTaskGroupName\\": \\"pipeline-aggtask-group\\",\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-***\\",\\n \\"sourcePrometheusId\\": \\"rw-xxx\\",\\n \\"status\\": \\"Running\\"\\n}","type":"json"}]',
'title' => 'Update Aggregation Task Group Status',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAggTaskGroupStatus'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdateAggTaskGroupStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'AggTaskGroup', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}/aggtaskgroup/{#aggTaskGroupId}'],
],
],
],
],
],
'UpdateAlertWebhook' => [
'path' => '/webhook/{webhookId}',
'methods' => ['patch'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'webhookId',
'in' => 'path',
'schema' => ['description' => 'The unique identifier of the webhook.', 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request struct.',
'type' => 'object',
'properties' => [
'contentType' => [
'description' => 'The content type of the data. Supported values:'."\n"
."\n"
.'- JSON'."\n"
."\n"
.'- FORM',
'type' => 'string',
'enum' => ['JSON', 'FORM'],
'required' => false,
'example' => 'JSON',
'title' => '',
],
'headers' => [
'description' => 'The headers.',
'type' => 'object',
'required' => false,
'additionalProperties' => ['description' => 'The header.', 'type' => 'string', 'example' => 'key', 'title' => ''],
'title' => '',
'example' => '',
],
'lang' => [
'description' => 'The language. Supported values:'."\n"
."\n"
.'- zh\\_CN'."\n"
."\n"
.'- en\\_US',
'type' => 'string',
'enum' => ['zh_CN', 'en_US'],
'required' => false,
'example' => 'zh_CN',
'title' => '',
],
'method' => [
'description' => 'The request method. Supported values:'."\n"
."\n"
.'- GET'."\n"
."\n"
.'- POST',
'type' => 'string',
'enum' => ['GET', 'POST'],
'required' => false,
'example' => 'GET',
'title' => '',
],
'name' => ['description' => 'The name of the webhook.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'url' => ['description' => 'The URL of the alert callback.', 'type' => 'string', 'required' => false, 'example' => 'http://aliyun.com/test', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8A33DBEA-*****-*****-*****-*****'],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => '%s is missing or invalid.', 'description' => ''],
],
404 => [
['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource %s is not found.', 'description' => 'The specified resource% s does not exist.'],
],
500 => [
['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'UpdateAlertWebhook',
'summary' => 'Updates a webhook.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8A33DBEA-*****-*****-*****-*****\\"\\n}","type":"json"}]',
],
'UpdateBizTrace' => [
'path' => '/bizTrace/{bizTraceId}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'bizTraceId',
'in' => 'path',
'schema' => ['description' => 'The ID of the business trace.', 'type' => 'string', 'required' => false, 'example' => 'e339260ed64c95d', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'bizTraceName' => ['description' => 'The name of the business trace.', 'type' => 'string', 'required' => false, 'example' => 'just test', 'title' => ''],
'workspace' => ['description' => 'The workspace.', 'type' => 'string', 'required' => false, 'example' => 'default-cms-xxxxxxx-cn-hangzhou', 'title' => ''],
'ruleConfig' => ['description' => 'The list of configuration rules.', 'type' => 'string', 'required' => false, 'example' => '[{"entrancePid":"xxx@d9w3jd9j3","rpcMatcher":{"matchType":"EQUALS","pattern":"/"},"characteristics":{"operation":"OR","rules":[{"target":"CUSTOM_EXTRACT","id":"oi0b3bb7","key":"biz.test","matcher":{"matchType":"CONTAINS","pattern":["1"]}}]}}]', 'title' => ''],
'advancedConfig' => ['description' => 'The advanced configuration.', 'type' => 'string', 'required' => false, 'example' => '{"sample":{"strategy":"BY_APP"}}', 'title' => ''],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC'],
'bizTraceId' => ['description' => 'The ID of the business trace.', 'type' => 'string', 'example' => 'e339260ed64c95d', 'title' => ''],
],
'title' => '',
'description' => 'Schema of Response',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'UpdateBizTrace',
'summary' => 'Modifies a business trace.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdateBizTrace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'BizTrace', 'arn' => 'acs:cms:{#regionId}:{#accountId}:biztrace/{#BizTraceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC\\",\\n \\"bizTraceId\\": \\"e339260ed64c95d\\"\\n}","type":"json"}]',
],
'UpdateContext' => [
'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/{contextId}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'path',
'schema' => ['description' => 'The context store name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-context-store', 'title' => ''],
],
[
'name' => 'contextId',
'in' => 'path',
'schema' => ['description' => 'The context ID.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'example' => '897294a7-67a4-4f60-976c-e136edc5f97e', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'content' => ['description' => 'The updated text for the long-term memory.', 'type' => 'string', 'required' => false, 'example' => 'Users prefer to first view the SLS error logs, index configuration, and the most recent Agent execution trace.'."\n"
."\n", 'title' => ''],
'payload' => ['description' => 'The payload to update.', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
.' "userId": "u-10001",'."\n"
.' "agentId": "sls-agent",'."\n"
.' "appId": "console",'."\n"
.' "categories": ['."\n"
.' "preference"'."\n"
.' ],'."\n"
.' "source": "user_confirmed",'."\n"
.' "topic": "debugging_preference",'."\n"
.' "immutable": false,'."\n"
.' "createdAt": 1776319200,'."\n"
.' "updatedAt": 1776319200'."\n"
.' }', 'title' => ''],
'triggerCondition' => ['description' => 'The trigger condition.', 'type' => 'string', 'required' => false, 'example' => 'Identify and troubleshoot SLs issues', 'title' => ''],
'experience' => ['description' => 'The experience object.', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
.' "taskType": "troubleshooting",'."\n"
.' "complexity": "medium",'."\n"
.' "confidence": 0.95'."\n"
.'}', 'title' => ''],
'metadata' => ['description' => 'A set of key-value pairs to attach to an object for storing custom information.', 'type' => 'object', 'required' => false, 'example' => '{"sessionId":"test_session_001"}', 'title' => ''],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => ['description' => 'Returns an empty object on success.', 'type' => 'object', 'example' => '{}', 'title' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'UpdateContext',
'summary' => 'Updates a context.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]',
],
'UpdateContextStore' => [
'summary' => 'Modifies the configuration of a context store.',
'path' => '/workspace/{workspace}/contextstore/{contextStoreName}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'contextStoreName',
'in' => 'path',
'schema' => ['description' => 'The name of the context store.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-context-store', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'The description.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'config' => [
'description' => 'The configuration information.',
'type' => 'object',
'properties' => [
'metadataField' => [
'description' => 'The metadata field.',
'type' => 'object',
'required' => false,
'additionalProperties' => ['description' => 'The metadata field.', 'type' => 'string', 'example' => '{'."\n"
.' "project": "attributes.project",'."\n"
.' "logstore": "attributes.logstore",'."\n"
.' "agentId": "attributes.agent_id",'."\n"
.' "scene": "attributes.scene"'."\n"
.' }', 'title' => ''],
'title' => '',
'example' => '',
],
'source' => [
'description' => 'The reference path.',
'type' => 'object',
'properties' => [
'startTime' => ['description' => 'The start time.', 'type' => 'string', 'required' => false, 'example' => '1776824891000', 'title' => ''],
'logstore' => ['description' => 'The name of the Simple Log Service Logstore.', 'type' => 'string', 'required' => false, 'example' => 'sls-test-logstore', 'title' => ''],
'project' => ['description' => 'The name of the Simple Log Service project.', 'type' => 'string', 'required' => false, 'example' => 'sls-test-project', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'contextType' => ['description' => 'The context type.', 'type' => 'string', 'required' => false, 'example' => 'memory', 'title' => ''],
'dataset' => [
'description' => 'The dataset information.',
'type' => 'object',
'properties' => [
'name' => ['description' => 'The name of the dataset.', 'type' => 'string', 'required' => false, 'example' => 'test_dataset', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response data.',
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Modify context store configuration',
'description' => 'Only Alibaba Cloud accounts that have activated Network Analysis and Monitoring can create one-time detection tasks.'."\n"
."\n"
.'This topic provides an example of how to create a one-time detection task. The detection task is named `task1`, the detection address is `http://www.aliyun.com`, the detection type is `HTTP`, and the number of detection points is `1`.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'UpdateDataset' => [
'summary' => 'Updates a dataset.',
'path' => '/workspace/{workspace}/dataset/{datasetName}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'datasetName',
'in' => 'path',
'schema' => ['description' => 'The dataset name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test_dataset', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'description' => ['description' => 'The new description for the dataset.', 'type' => 'string', 'required' => false, 'example' => 'test dataset', 'title' => ''],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'title' => '',
'description' => 'The response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'UpdateDataset',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
],
'UpdateDeliveryTask' => [
'summary' => 'Updates a data delivery task. The update uses patch semantics: fields that are not specified remain unchanged.',
'path' => '/delivery-task/{taskId}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'taskId',
'in' => 'path',
'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => '6afe16bece7996a3', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body. All fields are optional. Specify only the fields that you want to update.',
'type' => 'object',
'properties' => [
'taskName' => ['description' => 'The task name. The name can contain letters, digits, underscores (_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'new-task-name', 'title' => ''],
'dataSourceId' => ['description' => 'The data source ID, which is the Managed Service for Prometheus instance ID.', 'type' => 'string', 'required' => false, 'example' => 'rw-5f2b4sc7es4d66', 'title' => ''],
'taskDescription' => ['description' => 'The task description.', 'type' => 'string', 'required' => false, 'example' => 'updated desc', 'title' => ''],
'status' => [
'description' => 'The task status. This parameter is used to enable or disable the task.',
'enumValueTitles' => ['Enable' => 'Enable', 'Disable' => 'Disable'],
'type' => 'string',
'enum' => ['Running', 'Disable'],
'required' => false,
'example' => 'Enable',
'title' => '',
],
'labelFiltersType' => [
'description' => 'The metric filtering mode.',
'type' => 'string',
'enum' => ['Allow', 'Deny'],
'required' => false,
'example' => 'Deny',
'title' => '',
],
'labelFilters' => [
'description' => 'The metric filter conditions. The entire value is replaced rather than incrementally merged.',
'type' => 'object',
'required' => false,
'additionalProperties' => ['description' => 'filterKey → filterValue. Example: job → my_job.', 'type' => 'string', 'example' => '__name__: up', 'title' => ''],
'title' => '',
'example' => '',
],
'externalLabels' => [
'description' => 'The additional labels attached to all delivered metrics. The key is the label name and the value is the label value.',
'type' => 'object',
'required' => false,
'additionalProperties' => ['description' => 'externalLabelsKey → externalLabelsValue. Example: region → ap-southeast-1.', 'type' => 'string', 'example' => 'region: cn-hangzhou', 'title' => ''],
'title' => '',
'example' => '',
],
'sinkList' => [
'description' => 'The list of delivery targets.',
'type' => 'array',
'items' => [
'description' => 'The delivery target.',
'type' => 'object',
'properties' => [
'sinkType' => [
'description' => 'The delivery target type.',
'type' => 'string',
'enum' => ['Prometheus', 'AcsMaxCompute', 'AcsKafka'],
'required' => false,
'example' => 'Prometheus',
'title' => '',
],
'sinkConfigs' => [
'description' => 'The detailed configuration of the delivery target. The meanings of keys and values vary depending on the sinkType.',
'type' => 'object',
'required' => false,
'additionalProperties' => ['description' => 'The configuration items supported by each sinkType.', 'type' => 'string', 'example' => 'Url: http://xxxx/api/v1/write', 'title' => ''],
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
'resourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzoiafjtr7zyq', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '9335D7CB-2725-53DD-A2B3-187821C8F1B8'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Update a data delivery task',
'description' => 'Deletes a specified site monitoring task.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdateDeliveryTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'DeliveryTask', 'arn' => 'acs:cms:{#regionId}:{#accountId}:deliverytask/{#TaskId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"9335D7CB-2725-53DD-A2B3-187821C8F1B8\\"\\n}","type":"json"}]',
'translator' => 'machine',
],
'UpdateIntegrationPolicy' => [
'summary' => 'Updates the specified policy.',
'path' => '/integration-policies/{integrationPolicyId}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body parameters.',
'type' => 'object',
'properties' => [
'feePackage' => ['description' => 'The type of the paid plan. Valid values: CS\\_Pro, CS\\_Basic, and empty.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'CS_Pro'],
'policyName' => ['description' => 'The name of the rule. The name must be 3 to 63 characters in length and start with a letter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'metrics-inner-manage'],
'resourceGroupId' => ['description' => 'The ID of the resource group to which the instance belongs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-aekzoiafjtr7zyq'],
'tags' => [
'description' => 'The tags of the resource.',
'type' => 'array',
'items' => [
'description' => 'The tags of the resource.',
'type' => 'object',
'properties' => [
'key' => ['description' => 'The key of the tag.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'algo_bhv_expose_in_airec_exposure'],
'value' => ['description' => 'The value of the tag.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '[{\'Id\': \'kgqie6hm\', \'Name\': \'Sheet1\'}]'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'integrationPolicyId',
'in' => 'path',
'schema' => ['description' => 'The ID of the Integration Center policy.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'polixy-xxxxxxxxx'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0CEC5375-C554-562B-A65F-9A629907C1F0'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Update Access Center Policy',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIntegrationPolicy'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdateIntegrationPolicy',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'IntegrationPolicy', 'arn' => 'acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-9A629907C1F0\\"\\n}","type":"json"}]',
],
'UpdateMemory' => [
'summary' => 'Updates a specific Memory.',
'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the Workspace.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'memoryStoreName',
'in' => 'path',
'schema' => ['description' => 'The name of the Memory Store.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'test-memory-store', 'title' => ''],
],
[
'name' => 'memoryId',
'in' => 'path',
'schema' => ['description' => 'The ID of the Memory.', 'type' => 'string', 'required' => true, 'minLength' => 1, 'example' => '019ca1e5-7307-7d50-b943-5e628326a8ed', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The Request Body.',
'type' => 'object',
'properties' => [
'metadata' => ['description' => 'The metadata of the Memory.', 'type' => 'object', 'required' => false, 'example' => '{"sessionId":"test_session_001"}', 'title' => ''],
'text' => ['description' => 'The new text for the Memory.', 'type' => 'string', 'required' => false, 'example' => 'Likes to play tennis on weekends', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The Response Data.',
'title' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'ID of the request', 'description' => 'The unique ID of the request.', 'type' => 'string', 'example' => '3B311FD9-A60B-55E0-A896-A0C73*********'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Modify memory',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdateMemory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'MemoryStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3B311FD9-A60B-55E0-A896-A0C73*********\\"\\n}","type":"json"}]',
],
'UpdateMemoryStore' => [
'summary' => 'Modify a memory store.',
'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'Workspace name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'memoryStoreName',
'in' => 'path',
'schema' => ['description' => 'Memory store name.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 2, 'example' => 'qianyi_test_3', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'description' => ['description' => 'Description.', 'type' => 'string', 'required' => false, 'example' => 'memoryStore test', 'title' => ''],
'shortTermTtl' => ['description' => 'Short-term memory retention time.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '7', 'title' => ''],
'extractionStrategies' => [
'type' => 'array',
'items' => ['description' => 'Array of strategies.', 'type' => 'string', 'required' => false, 'example' => 'Fact', 'title' => ''],
'description' => 'Extraction strategies. Supports "Episodic", "Summary", and "Fact".',
'required' => false,
'title' => '',
'example' => '',
],
'customExtractionStrategies' => [
'type' => 'array',
'items' => ['description' => 'Array of strategies.', '$ref' => '#/components/schemas/CustomExtractionStrategy', 'required' => false, 'title' => '', 'example' => ''],
'description' => 'Custom extraction strategies.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'Request data.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '0CEC5375-C554-562B-A65F-9A629907C1F0'],
],
'title' => '',
'description' => 'Response data.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'UpdateMemoryStore',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdateMemoryStore',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'MemoryStore', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-9A629907C1F0\\"\\n}","type":"json"}]',
],
'UpdateNotifyStrategy' => [
'path' => '/notifyStrategies/{notifyStrategyId}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'query',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => false, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'allowEmptyValue' => false,
'schema' => ['description' => 'The request body.', '$ref' => '#/components/schemas/NotifyStrategyForModify', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'notifyStrategyId',
'in' => 'path',
'schema' => ['description' => 'The UUID of the notification policy.', 'type' => 'string', 'required' => true, 'example' => '12312-31-23-123-1-23123', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The structure of the response.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. This is a unique identifier for troubleshooting.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
'notifyStrategyId' => ['description' => 'The UUID of the notification policy.', 'type' => 'string', 'example' => '12312-31-23-123-1-23123', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'Illegal parameters.', 'description' => 'Illegal parameters.'],
['errorCode' => 'StrategyNameConflict', 'errorMessage' => 'The specified strategy name exits already.', 'description' => 'The specified strategy name already exists'],
],
403 => [
['errorCode' => 'Forbidden', 'errorMessage' => 'You are not authorized to operate the specified resource.', 'description' => 'No permission, please use RAM to authorize'],
],
[
['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.', 'description' => 'The specified resource is not found.'],
],
500 => [
['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'UpdateNotifyStrategy',
'summary' => 'Updates a notification policy.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateNotifyStrategy'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdateNotifyStrategy',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'NotifyStrategy', 'arn' => 'acs:cms:{#regionId}:{#accountId}:notifyStrategy/{#notifyStrategyId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\",\\n \\"notifyStrategyId\\": \\"12312-31-23-123-1-23123\\"\\n}","type":"json"}]',
],
'UpdatePipeline' => [
'path' => '/workspace/{workspace}/pipeline/{pipelineName}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => false, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'pipelineName',
'in' => 'path',
'schema' => ['description' => 'The pipeline name.', 'type' => 'string', 'required' => false, 'example' => 'pipeline-name-1', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'description' => ['description' => 'The pipeline description.', 'type' => 'string', 'required' => false, 'example' => 'test pipeline ', 'title' => ''],
'source' => [
'type' => 'object',
'properties' => [
'type' => ['description' => 'The source type.', 'type' => 'string', 'required' => false, 'example' => 'logstore', 'title' => ''],
'logstore' => [
'type' => 'object',
'properties' => [
'logstore' => ['description' => 'The Logstore name.', 'type' => 'string', 'required' => false, 'example' => 'test-logstore', 'title' => ''],
'query' => ['description' => 'The filter query.', 'type' => 'string', 'required' => false, 'example' => 'status:500 and method:GET', 'title' => ''],
],
'description' => 'The Log Service Logstore configuration.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The data source configuration.',
'required' => false,
'title' => '',
'example' => '',
],
'pipeline' => [
'type' => 'object',
'properties' => [
'nodes' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'id' => ['description' => 'The node ID.', 'type' => 'string', 'required' => false, 'example' => 'node_1', 'title' => ''],
'type' => ['description' => 'The node type.', 'type' => 'string', 'required' => false, 'example' => 'dedup-fuzzy', 'title' => ''],
'parameters' => [
'type' => 'object',
'additionalProperties' => ['description' => 'The node-specific parameters.', 'type' => 'any', 'example' => '{'."\n"
.' "output": "ID,key_0,key_2,key_3,key_4",'."\n"
.' "workspace": "workspace-test-dataset",'."\n"
.' "field": "key_0",'."\n"
.' "global": true,'."\n"
.' "dataset": "dataset_1"'."\n"
.' }', 'title' => ''],
'description' => 'The node parameters.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'A node object.',
'required' => false,
'title' => '',
'example' => '',
],
'description' => 'The pipeline nodes.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The pipeline configuration.',
'required' => false,
'title' => '',
'example' => '',
],
'sink' => [
'type' => 'object',
'properties' => [
'type' => ['description' => 'The sink type.', 'type' => 'string', 'required' => false, 'example' => 'dataset', 'title' => ''],
'dataset' => [
'type' => 'object',
'properties' => [
'workspace' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => false, 'example' => 'workspace-test', 'title' => ''],
'dataset' => ['description' => 'The dataset name.', 'type' => 'string', 'required' => false, 'example' => 'dataset_1', 'title' => ''],
],
'description' => 'The destination dataset configuration.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The data sink configuration.',
'required' => false,
'title' => '',
'example' => '',
],
'executePolicy' => [
'type' => 'object',
'properties' => [
'mode' => ['description' => 'The execution mode.', 'type' => 'string', 'required' => false, 'example' => 'runOnce', 'title' => ''],
'runOnce' => [
'type' => 'object',
'properties' => [
'fromTime' => ['description' => 'The start timestamp.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1772519013', 'title' => ''],
'toTime' => ['description' => 'The end timestamp.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1772605413', 'title' => ''],
],
'description' => 'The one-time execution configuration.',
'required' => false,
'title' => '',
'example' => '',
],
'scheduled' => [
'type' => 'object',
'properties' => [
'interval' => ['description' => 'The execution interval.', 'type' => 'string', 'required' => false, 'example' => '86400', 'title' => ''],
'fromTime' => ['description' => 'The start timestamp.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1772519013', 'title' => ''],
],
'description' => 'The scheduled execution configuration.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The execution policy.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'The request body.',
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The unique ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'E99F1CCD-256A-5DF9-9B67-8F4A7ACE7132'],
],
'title' => '',
'description' => 'The data returned in the response.',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'UpdatePipeline',
'summary' => 'Update pipeline',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E99F1CCD-256A-5DF9-9B67-8F4A7ACE7132\\"\\n}","type":"json"}]',
],
'UpdatePrometheusInstance' => [
'summary' => 'Updates the information of a Managed Service for Prometheus instance.',
'path' => '/prometheus-instances/{prometheusInstanceId}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'prometheusInstanceId',
'in' => 'path',
'allowEmptyValue' => false,
'schema' => ['title' => '', 'description' => 'The Prometheus instance ID.', 'type' => 'string', 'required' => true, 'example' => 'rw-xxxxxxx'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'archiveDuration' => [
'title' => '',
'description' => 'The number of days for automatic archiving after storage expires. A value of 0 indicates no archiving. Valid values for archiving days:'."\n"
.'V1: 1 to 365 days. Supported only for billing by metric write volume.'."\n"
.'V2: 1 to 3650 days (3650 indicates permanent retention).',
'type' => 'integer',
'enum' => [],
'required' => false,
'example' => '365',
],
'authFreeReadPolicy' => ['title' => '', 'description' => 'The authentication-free read policy. IP CIDR blocks and VPC IDs are supported.', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
.' "SourceIp": ['."\n"
.' "192.168.1.0/24",'."\n"
.' "172.168.2.22"'."\n"
.' ],'."\n"
.' "SourceVpc": ['."\n"
.' "vpc-xx1",'."\n"
.' "vpc-xx2"'."\n"
.' ]'."\n"
.'}'],
'authFreeWritePolicy' => ['title' => '', 'description' => 'The authentication-free read policy. IP CIDR blocks and VPC IDs are supported.', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
.' "SourceIp": ['."\n"
.' "192.168.1.0/24",'."\n"
.' "172.168.2.22"'."\n"
.' ],'."\n"
.' "SourceVpc": ['."\n"
.' "vpc-xx1",'."\n"
.' "vpc-xx2"'."\n"
.' ]'."\n"
.'}'],
'enableAuthFreeRead' => ['title' => '', 'description' => 'Specifies whether to enable authentication-free read.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
'enableAuthFreeWrite' => ['title' => '', 'description' => 'Specifies whether to enable authentication-free write.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
'enableAuthToken' => ['title' => '', 'description' => 'Specifies whether to enable access token authentication.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
'prometheusInstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'required' => false, 'example' => 'test-prom-name', 'title' => ''],
'status' => ['title' => '', 'description' => 'Instance storage database status of the instance. Only RUNNING is supported. If this parameter is left empty, instance storage database status remains unchanged.', 'type' => 'string', 'required' => false, 'example' => 'RUNNING'],
'storageDuration' => [
'title' => '',
'description' => 'The storage duration (days):'."\n"
.'By write volume: 90 or 180.'."\n"
.'By metric reporting volume: 15, 30, 60, 90, or 180.',
'enumValueTitles' => [15 => '15 days.', 30 => '30 days.', 60 => '60 days.', 90 => '90 days.', 180 => '180 days.', 365 => '365 days.'],
'type' => 'integer',
'enum' => ['15', '30', '60', '90', '180', '365'],
'required' => false,
'example' => '90',
],
'paymentType' => [
'title' => '',
'description' => 'The billing method. This parameter can be modified only once during the instance lifetime. Valid values:'."\n"
.'- POSTPAY: pay-as-you-go by metric reporting volume.'."\n"
.'- POSTPAY_GB: pay-as-you-go by metric write volume.',
'enumValueTitles' => ['POSTPAY_GB' => 'Write volume.', 'POSTPAY' => 'Reporting volume.'],
'type' => 'string',
'enum' => ['POSTPAY_GB', 'POSTPAY'],
'required' => false,
'example' => 'POSTPAY_GB',
],
'workspace' => ['title' => '', 'description' => 'The workspace to which the instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'default-cms-1500199863951574-cn-shanghai'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'prometheusInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'rw-abc123', 'title' => ''],
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '1E92F783-E057-58F1-BD5C-92DED088E7A5'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"prometheusInstanceId\\": \\"rw-abc123\\",\\n \\"requestId\\": \\"1E92F783-E057-58F1-BD5C-92DED088E7A5\\"\\n}","type":"json"}]',
'gatewayOptions' => [
'gatewayProtocols' => [],
],
'title' => 'Update prometheus instance information',
'description' => 'Updates the information of a Managed Service for Prometheus instance.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdatePrometheusInstance'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
],
'UpdatePrometheusUserSetting' => [
'summary' => 'Updates the user settings for Prometheus. Note: If you set `settingKey` to `financeUsageRegion`, Prometheus usage data is sent to Simple Log Service (SLS) in the specified region. Historical usage data will no longer be available in the Prometheus console.',
'path' => '/prometheus-user-setting/{settingKey}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'settingKey',
'in' => 'path',
'schema' => [
'description' => 'The key of the user setting.',
'enumValueTitles' => ['defaultPaymentType' => 'The default billing method.', 'defaultPostPayDays' => 'The default retention period for the pay-as-you-go billing method based on reported data.', 'financeUsageRegion' => 'The ID of the region where usage statistics are stored.', 'defaultPostPayGBDays' => 'The default retention period for the pay-as-you-go billing method based on written data.'],
'type' => 'string',
'required' => true,
'example' => 'financeUsageRegion',
'title' => '',
],
],
[
'name' => 'settingValue',
'in' => 'query',
'allowEmptyValue' => false,
'schema' => ['description' => 'The value of the user setting.', 'type' => 'string', 'required' => true, 'example' => 'ap-southeast-1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response object.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '8FDE2569-626B-5176-9844-28877A*****'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'UpdatePrometheusUserSetting',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdatePrometheusUserSetting',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8FDE2569-626B-5176-9844-28877A*****\\"\\n}","type":"json"}]',
'translator' => 'machine',
],
'UpdatePrometheusView' => [
'path' => '/prometheus-views/{prometheusViewId}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'prometheusViewId',
'in' => 'path',
'schema' => ['description' => 'The ID of the Prometheus view instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'rw-xxxxxxxx'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'authFreeReadPolicy' => ['description' => 'The policy for password-free read access. IP address segments and VPC IDs are supported.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{'."\n"
.' "SourceIp": ['."\n"
.' "192.168.1.0/24",'."\n"
.' "172.168.2.22"'."\n"
.' ],'."\n"
.' "SourceVpc": ['."\n"
.' "vpc-xx1",'."\n"
.' "vpc-xx2"'."\n"
.' ]'."\n"
.'}'],
'enableAuthFreeRead' => ['title' => '', 'description' => 'Specifies whether to enable password-free read access.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
'enableAuthToken' => ['title' => '', 'description' => 'Specifies whether to enable authentication tokens.', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
'prometheusInstances' => [
'description' => 'A list of Prometheus instances.',
'type' => 'array',
'items' => [
'description' => 'A list of Prometheus instances.',
'type' => 'object',
'properties' => [
'prometheusInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'c7ba84651c71e442c8d0653085d862164'],
'regionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-north-2-gov-1'],
'userId' => ['description' => 'The user ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '16727123456789'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
'prometheusViewName' => ['description' => 'The name of the Prometheus view.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'test-prom-view-name'],
'status' => ['description' => 'The status of the Prometheus view.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Running'],
'workspace' => ['title' => '', 'description' => 'The workspace to which the view belongs.', 'type' => 'string', 'required' => false, 'example' => 'default-cms-108490012345-cn-heyuan'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Response body',
'type' => 'object',
'properties' => [
'prometheusViewId' => ['title' => '', 'description' => 'The ID of the Prometheus view instance.', 'type' => 'string', 'example' => 'rw-xxxxxx'],
'requestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '64D964F5-76C7-19A2-9399-457744AB3619'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Update Prometheus View Instance Information',
'summary' => 'Updates the information about a Prometheus view instance.',
'description' => 'Updates the information about a Prometheus view instance.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdatePrometheusView'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdatePrometheusView',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'PrometheusView', 'arn' => 'acs:cms:{#regionId}:{#accountId}:prometheusview/{#prometheusViewId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"prometheusViewId\\": \\"rw-xxxxxx\\",\\n \\"requestId\\": \\"64D964F5-76C7-19A2-9399-457744AB3619\\"\\n}","type":"json"}]',
],
'UpdateService' => [
'path' => '/workspace/{workspace}/service/{serviceId}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'serviceId',
'in' => 'path',
'schema' => ['description' => 'The ID of the service.', 'type' => 'string', 'required' => true, 'example' => 'cwzxvuc6uo@4bc6b15ad81f166174ffb', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'displayName' => ['description' => 'The display name. This parameter is valid only when serviceType is set to RUM.', 'type' => 'string', 'example' => 'api-monitor-test', 'required' => false, 'title' => ''],
'description' => ['description' => 'The description of the service. This parameter is valid only when serviceType is set to RUM.', 'type' => 'string', 'example' => 'test', 'required' => false, 'title' => ''],
'attributes' => ['description' => 'The extended properties.', 'type' => 'string', 'example' => '{"language":"java"}', 'required' => false, 'title' => ''],
'serviceStatus' => ['description' => 'The status of the service. This parameter is valid only when serviceType is set to RUM.', 'type' => 'string', 'example' => 'Stopped', 'required' => false, 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '123-0F43-23423-AC43-34234', 'title' => ''],
'serviceId' => ['description' => 'The ID of the service.', 'type' => 'string', 'example' => 'em87vd@c2e25bcfe0e21ce0***', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Update Application Observability Service',
'summary' => 'Updates an application observability service.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateService'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdateService',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Service', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/service/{#ServiceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"123-0F43-23423-AC43-34234\\",\\n \\"serviceId\\": \\"em87vd@c2e25bcfe0e21ce0***\\"\\n}","type":"json"}]',
],
'UpdateServiceRecord' => [
'path' => '/workspace/{workspace}/service/{serviceId}/record',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'serviceId',
'in' => 'path',
'schema' => ['description' => 'The service ID.', 'type' => 'string', 'required' => true, 'example' => 'cwzxvuc6uo@4bc6b15ad81f166174ffb', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'allowEmptyValue' => false,
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'recordType' => [
'title' => '',
'description' => 'The type of the linked entry. Currently supported value:'."\n"
.'logCorrelation, which indicates application log association.',
'type' => 'string',
'required' => true,
'enum' => ['logCorrelation'],
'example' => 'logCorrelation',
],
'recordContent' => ['title' => '', 'description' => 'The entry content in JSON string format. The format varies depending on the recordType value.', 'type' => 'string', 'required' => true, 'example' => '{'."\n"
.' "project": "proj-xtrace-16c988dcfe21fcb73c5e6f234927d998-cn-hangzhou",'."\n"
.' "storeName": "app-biz-log",'."\n"
.' "regionId": "cn-hangzhou",'."\n"
.' "bindType": "logstore",'."\n"
.' "traceIdRelateField": ""'."\n"
.'}'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0CEC5375-XXXX-XXXX-XXXX-9A629907C1F0'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Update a service-linked entry',
'summary' => 'Updates a service-linked entry.',
'description' => 'Updates an existing service-linked entry.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-XXXX-XXXX-XXXX-9A629907C1F0\\"\\n}","type":"json"}]',
],
'UpdateSubscription' => [
'path' => '/subscriptions/{subscriptionId}',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'query',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => false, 'example' => 'workspace-test', 'title' => ''],
],
[
'name' => 'body',
'in' => 'body',
'allowEmptyValue' => false,
'schema' => ['description' => 'The request body.', '$ref' => '#/components/schemas/SubscriptionForModify', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'subscriptionId',
'in' => 'path',
'schema' => ['description' => 'The subscription ID.', 'type' => 'string', 'required' => true, 'example' => '123123123123', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response body structure.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => '', 'description' => 'The unique request ID.', 'type' => 'string', 'example' => '0CEC5375-C554-562B-A65F-******'],
'subscriptionId' => ['description' => 'The subscription ID.', 'type' => 'string', 'example' => '123123123123', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'Illegal parameters.', 'description' => 'Illegal parameters.'],
],
403 => [
['errorCode' => 'Forbidden', 'errorMessage' => 'You are not authorized to operate the specified resource.', 'description' => 'No permission, please use RAM to authorize'],
],
[
['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.', 'description' => 'The specified resource is not found.'],
],
500 => [
['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'gatewayOptions' => [
'gatewayProtocols' => [],
],
'title' => 'Update a subscription',
'summary' => 'Updates a subscription.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSubscription'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-******\\",\\n \\"subscriptionId\\": \\"123123123123\\"\\n}","type":"json"}]',
],
'UpdateUmodel' => [
'summary' => 'Updates the configuration of a Umodel.',
'path' => '/workspace/{workspace}/umodel',
'methods' => ['put'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'description' => ['description' => 'The description.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'workspace test'],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '234324-123-123-123-23423'],
'workspace' => ['description' => 'The name of the workspace.', 'type' => 'string', 'title' => '', 'example' => 'workspace-test'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"234324-123-123-123-23423\\",\\n \\"workspace\\": \\"workspace-test\\"\\n}","type":"json"}]',
'title' => 'Update Umodel',
'description' => 'Updates the configuration of a Umodel.',
'changeSet' => [
['createdAt' => '2025-08-12T02:41:41.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUmodel'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpdateUmodel',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Umodel', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel'],
],
],
],
],
],
'UpsertUmodelCommonSchemaRef' => [
'summary' => 'Upserts a common Umodel schema reference.',
'path' => '/workspace/{workspace}/umodel/common-schema-ref',
'methods' => ['patch'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The workspace name.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test'],
],
[
'name' => 'group',
'in' => 'query',
'schema' => ['description' => 'The group of the common Umodel schema.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'card-service-daily01'],
],
[
'name' => 'version',
'in' => 'query',
'schema' => ['description' => 'The version number.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '0.1.0'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0B9377D9-C56B-5C2E-A8A4-************'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0B9377D9-C56B-5C2E-A8A4-************\\"\\n}","type":"json"}]',
'title' => 'UpsertUmodelCommonSchemaRef',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpsertUmodelCommonSchemaRef'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpsertUmodelCommonSchemaRef',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Umodel', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel'],
],
],
],
],
],
'UpsertUmodelData' => [
'path' => '/workspace/{workspace}/umodel/data',
'methods' => ['patch'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
'schema' => ['description' => 'The name of the workspace.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'workspace-test'],
],
[
'name' => 'method',
'in' => 'query',
'schema' => ['description' => 'The method.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Upsert'],
],
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The list of elements.',
'type' => 'object',
'properties' => [
'elements' => [
'description' => 'The content of the element.',
'type' => 'array',
'items' => ['description' => 'The content of the element.', 'type' => 'any', 'required' => false, 'title' => '', 'example' => '{}'],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0CEC5375-C554-562B-A65F-9A629907C1F0'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Add or Overwrite Umodel (Elements)',
'summary' => 'Inserts or updates Umodel elements.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpsertUmodelData'],
],
'product' => ['code' => 'cms', 'title' => '云监控'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'cms:UpsertUmodelData',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Cms', 'resourceType' => 'Umodel', 'arn' => 'acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0CEC5375-C554-562B-A65F-9A629907C1F0\\"\\n}","type":"json"}]',
],
],
'endpoints' => [
['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-beijing.aliyuncs.com', 'endpoint' => 'metrics.cn-beijing.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-beijing.aliyuncs.com'],
['regionId' => 'cn-zhengzhou-jva', 'regionName' => 'Zhengzhou (China Unicom Joint Venture)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-zhengzhou-jva.aliyuncs.com', 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-zhengzhou-jva.aliyuncs.com'],
['regionId' => 'cn-heyuan', 'regionName' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-heyuan.aliyuncs.com', 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-heyuan.aliyuncs.com'],
['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'metrics.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-zhangjiakou.aliyuncs.com'],
['regionId' => 'ap-northeast-2', 'regionName' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.ap-northeast-2.aliyuncs.com', 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-northeast-2.aliyuncs.com'],
['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.ap-northeast-1.aliyuncs.com', 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-northeast-1.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.ap-southeast-1.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-1.aliyuncs.com'],
['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.ap-southeast-2.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-2.aliyuncs.com'],
['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.ap-southeast-3.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-3.aliyuncs.com'],
['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.ap-southeast-5.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-5.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-5.aliyuncs.com'],
['regionId' => 'ap-southeast-6', 'regionName' => 'Philippines (Manila)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.ap-southeast-6.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-6.aliyuncs.com'],
['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.ap-southeast-7.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-7.aliyuncs.com'],
['regionId' => 'ap-southeast-8', 'regionName' => 'Malaysia (Johor)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.ap-southeast-8.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-8.aliyuncs.com', 'vpc' => 'cms-vpc.ap-southeast-8.aliyuncs.com'],
['regionId' => 'cn-zhongwei', 'regionName' => 'China (Zhongwei)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-zhongwei.aliyuncs.com', 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com', 'vpc' => 'cms-vpc.cn-zhongwei.aliyuncs.com'],
['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-wulanchabu.aliyuncs.com'],
['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-qingdao.aliyuncs.com', 'endpoint' => 'metrics.cn-qingdao.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-qingdao.aliyuncs.com'],
['regionId' => 'cn-wuhan-lr', 'regionName' => 'China (Wuhan - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-wuhan-lr.aliyuncs.com', 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-wuhan-lr.aliyuncs.com'],
['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-shanghai.aliyuncs.com', 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shanghai.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-hongkong.aliyuncs.com', 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-hongkong.aliyuncs.com'],
['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-shenzhen.aliyuncs.com', 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shenzhen.aliyuncs.com'],
['regionId' => 'cn-nanjing', 'regionName' => 'China (Nanjing - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-nanjing.aliyuncs.com', 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-nanjing.aliyuncs.com'],
['regionId' => 'cn-fuzhou', 'regionName' => 'China (Fuzhou - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-fuzhou.aliyuncs.com', 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-fuzhou.aliyuncs.com'],
['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-chengdu.aliyuncs.com', 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-chengdu.aliyuncs.com'],
['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-guangzhou.aliyuncs.com', 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-guangzhou.aliyuncs.com'],
['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-huhehaote.aliyuncs.com', 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-huhehaote.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'metrics.cn-hangzhou.aliyuncs.com', 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-hangzhou.aliyuncs.com'],
['regionId' => 'us-southeast-1', 'regionName' => 'US(Atlanta)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'metrics.us-southeast-1.aliyuncs.com', 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com', 'vpc' => 'metrics-vpc.us-southeast-1.aliyuncs.com'],
['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'metrics.eu-west-1.aliyuncs.com', 'endpoint' => 'metrics.eu-west-1.aliyuncs.com', 'vpc' => 'metrics-vpc.eu-west-1.aliyuncs.com'],
['regionId' => 'eu-west-2', 'regionName' => 'France (Paris)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'metrics.eu-west-2.aliyuncs.com', 'endpoint' => 'metrics.eu-west-2.aliyuncs.com', 'vpc' => 'cms-vpc.eu-west-2.aliyuncs.com'],
['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'metrics.eu-central-1.aliyuncs.com', 'endpoint' => 'metrics.eu-central-1.aliyuncs.com', 'vpc' => 'metrics-vpc.eu-central-1.aliyuncs.com'],
['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'metrics.us-east-1.aliyuncs.com', 'endpoint' => 'metrics.us-east-1.aliyuncs.com', 'vpc' => 'metrics-vpc.us-east-1.aliyuncs.com'],
['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'metrics.us-west-1.aliyuncs.com', 'endpoint' => 'metrics.us-west-1.aliyuncs.com', 'vpc' => 'metrics-vpc.us-west-1.aliyuncs.com'],
['regionId' => 'na-south-1', 'regionName' => 'Mexico', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'metrics.na-south-1.aliyuncs.com', 'endpoint' => 'metrics.na-south-1.aliyuncs.com', 'vpc' => 'metrics-vpc.na-south-1.aliyuncs.com'],
['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'metrics.me-east-1.aliyuncs.com', 'endpoint' => 'metrics.me-east-1.aliyuncs.com', 'vpc' => 'metrics-vpc.me-east-1.aliyuncs.com'],
['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'metrics.ap-south-1.aliyuncs.com', 'endpoint' => 'metrics.ap-south-1.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-south-1.aliyuncs.com'],
['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'metrics.me-central-1.aliyuncs.com', 'endpoint' => 'metrics.me-central-1.aliyuncs.com', 'vpc' => 'metrics-vpc.me-central-1.aliyuncs.com'],
['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'metrics.cn-hangzhou-finance.aliyuncs.com', 'endpoint' => 'metrics.cn-hangzhou-finance.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-hangzhou-finance.aliyuncs.com'],
['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'metrics.cn-beijing-finance-1.aliyuncs.com', 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-beijing-finance-1.aliyuncs.com'],
['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'metrics.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shanghai-finance-1.aliyuncs.com'],
['regionId' => 'cn-wulanchabu-gic-1', 'regionName' => 'China (Ulanqab) GIC', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com', 'endpoint' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com', 'vpc' => 'cms-vpc.cn-wulanchabu-gic-1.aliyuncs.com'],
['regionId' => 'cn-heyuan-acdr-1', 'regionName' => 'Heyuan ACDR Auto', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com', 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-heyuan-acdr-1.aliyuncs.com'],
['regionId' => 'cn-north-2-gov-1', 'regionName' => 'Beijing Government Cloud', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'metrics.cn-north-2-gov-1.aliyuncs.com', 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-north-2-gov-1.aliyuncs.com'],
],
'errorCodes' => [
['code' => 'AccessDeniedException', 'message' => 'You do not have the authority to operate this rule.', 'http_code' => 401, 'description' => 'ess rules cannot be modified in the cloud monitoring console.'],
['code' => 'AccessForbidden', 'message' => 'No permission, please use Ram for authorization.', 'http_code' => 403, 'description' => 'No permission, please use Ram for authorization.'],
['code' => 'AgentStateError', 'message' => 'Expected agent running state is stopped.', 'http_code' => 412, 'description' => 'Uninstall the plug-in when the status is Stopped.'],
['code' => 'BadRequest', 'message' => 'Bad request.', 'http_code' => 400, 'description' => 'Error Parameter Request'],
['code' => 'ContactNotExists', 'message' => 'ContactName does not exist.', 'http_code' => 404, 'description' => 'The contact name was not found.'],
['code' => 'CSS_CREATE_ORDER_ERROR', 'message' => 'Create order error', 'http_code' => 400, 'description' => 'Failed to create order'],
['code' => 'EmptyProbeList', 'message' => 'The selected probe list is empty.', 'http_code' => 400, 'description' => 'The selected probe list is empty'],
['code' => 'ExceedingQuota', 'message' => 'You have exceeded the task limit.', 'http_code' => 406, 'description' => 'You have exceeded the task limit'],
['code' => 'ExceedingQuota', 'message' => 'Exceeding quota limits.', 'http_code' => 406, 'description' => 'The number of tasks exceeds the limit'],
['code' => 'Forbidden', 'message' => 'You are not authorized to operate the specified resource.', 'http_code' => 403, 'description' => 'No permission, please use RAM to authorize'],
['code' => 'FrequencyLimit', 'message' => 'Frequency too high, please try again later.', 'http_code' => 429, 'description' => 'Frequency too high, please try again later'],
['code' => 'Illegal Task Name', 'message' => 'The task name of the sitemonitor task is illegal.', 'http_code' => 400, 'description' => 'Site monitoring task name is illegal.'],
['code' => 'IllegalAddress', 'message' => 'illegal address.', 'http_code' => 400, 'description' => 'Illegal Address'],
['code' => 'Illgeal Task Name', 'message' => 'The task name for sitemonitor task is illegal.', 'http_code' => 400, 'description' => 'Site monitoring task name is illegal'],
['code' => 'InsecureParams', 'message' => 'The params for site monitor is insecure.', 'http_code' => 400, 'description' => 'There is a security risk to the parameters of the site monitoring task'],
['code' => 'InternalError', 'message' => '%s.', 'http_code' => 500, 'description' => '%s'],
['code' => 'InternalUnknownError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => 'A service runtime error occurred.'],
['code' => 'InternetServerError', 'message' => 'System internal error.', 'http_code' => 500, 'description' => 'System internal error'],
['code' => 'InvalidAuthorization', 'message' => 'Permission denied', 'http_code' => 403, 'description' => 'Permission denied.'],
['code' => 'InvalidAuthorization', 'message' => 'InvalidAuthorization.', 'http_code' => 403, 'description' => 'You do not have the required permissions.'],
['code' => 'InvalidAuthorization', 'message' => 'Permission denied.', 'http_code' => 403, 'description' => 'You do not have the required permissions.'],
['code' => 'InvalidAuthorizationTokenExpire', 'message' => 'Authentication token expired, please re-authenticate.', 'http_code' => 403, 'description' => 'Authentication token expired, please re-authenticate'],
['code' => 'InvalidClientTokenId', 'message' => 'not allow this operation.', 'http_code' => 403, 'description' => 'No permission'],
['code' => 'InvalidParameter', 'message' => '%s is missing or invalid.', 'http_code' => 400, 'description' => 'The request parameters are invalid or required parameters are missing (such as GroupName, WorkspaceId, GroupId, or region being empty).'],
['code' => 'InvalidParameter', 'message' => 'Invalid parameter.', 'http_code' => 400, 'description' => 'Parameter error'],
['code' => 'InvalidParameterValue', 'message' => 'Illegal parameters.', 'http_code' => 400, 'description' => 'Illegal parameters.'],
['code' => 'InvalidQueryParameter', 'message' => 'Parameter error.', 'http_code' => 400, 'description' => 'Query parameter error'],
['code' => 'InvalidQueryParameter', 'message' => 'Invalid query parameter.', 'http_code' => 400, 'description' => 'Bad query parameters'],
['code' => 'MaxRcaTimesExceed', 'message' => 'The maximum reanalysis limit has been reached.', 'http_code' => 400, 'description' => 'The maximum reanalysis limit has been reached.'],
['code' => 'NameRepeat', 'message' => 'The task name already exists.', 'http_code' => 400, 'description' => 'The task name already exists. Make sure that the task name is not used in protocol-based synthetic tests and synthetic tests for browsers.'],
['code' => 'NotAuthSLR', 'message' => 'You are not authorized role AliyunServiceRoleForCloudMonitor.', 'http_code' => 403, 'description' => 'The service-linked role AliyunServiceRoleForCloudMonitor is required.'],
['code' => 'NotFound', 'message' => 'The specified resource is not found.', 'http_code' => 404, 'description' => 'The corresponding resource was not found.'],
['code' => 'NotFound.EndpointConnector', 'message' => 'endpoint connector not found.', 'http_code' => 404, 'description' => 'endpoint connector does not exist'],
['code' => 'OperatorCityInvalid', 'message' => 'Invalid Isp.', 'http_code' => 400, 'description' => 'Invalid Isp'],
['code' => 'OperatorCityInvalid', 'message' => 'Invalid IspCity for certain probes.', 'http_code' => 400, 'description' => 'The isp or city of certain probes provided is invalid.'],
['code' => 'OperatorCityInvalid', 'message' => 'The synthetic probe info provided is incorrect. The incorrect probe info are as below. %s.', 'http_code' => 400, 'description' => 'The synthetic probe info provided is incorrect.'],
['code' => 'ParameterInvalid', 'message' => 'The parameter is missing or invalid. %s', 'http_code' => 400, 'description' => 'The parameter is invalid.'],
['code' => 'ParameterInvalid', 'message' => 'Parameter invalid.', 'http_code' => 400, 'description' => 'The parameter is invalid.'],
['code' => 'PhoneIsEmptyOrNotVerified', 'message' => 'Contact does not have a phone number configured or not verified.', 'http_code' => 400, 'description' => 'Contact does not have a phone number configured or not verified'],
['code' => 'RateLimit', 'message' => 'Service rate limit.', 'http_code' => 400, 'description' => 'Service load is high, please try again later'],
['code' => 'ResourceExist', 'message' => 'Resource already exist .', 'http_code' => 400, 'description' => 'The resource already exists.'],
['code' => 'ResourceLimit', 'message' => 'Namespace limited.', 'http_code' => 400, 'description' => 'A maximum of 30 indicator warehouses can be created for one account.'],
['code' => 'ResourceNotFound', 'message' => 'The specified resource is not found.', 'http_code' => 404, 'description' => 'The specified resource is not found.'],
['code' => 'ResourceNotFound', 'message' => 'Resource % not found.', 'http_code' => 404, 'description' => '已废弃'],
['code' => 'ResourceNotFound', 'message' => 'The specified resource %s is not found.', 'http_code' => 404, 'description' => 'The specified resource% s does not exist.'],
['code' => 'ResourceOverLimit', 'message' => 'The resource has exceeded the limit. %s', 'http_code' => 429, 'description' => 'The quantity limit has been exceeded.'],
['code' => 'RestrictedUser', 'message' => 'The user has no access to this operation. %s.', 'http_code' => 403, 'description' => 'The user does not have permission for the current action.'],
['code' => 'RmcNotEnabled', 'message' => 'ResourceCenter Service is not enabled.', 'http_code' => 403, 'description' => 'You have not activated Resource Center.'],
['code' => 'StrategyNameConflict', 'message' => 'The specified strategy name exits already.', 'http_code' => 400, 'description' => 'The specified strategy name already exists'],
['code' => 'TaskIdNotExist', 'message' => 'Task does not exist.', 'http_code' => 404, 'description' => 'Task does not exist'],
['code' => 'TaskNotExist', 'message' => 'Task does not exist.', 'http_code' => 400, 'description' => 'Site monitoring task does not exist'],
['code' => 'TaskNotExist', 'message' => 'The specified task does not exist.', 'http_code' => 404, 'description' => 'The specified task does not exist.'],
['code' => 'UnauthorizedTasks', 'message' => 'You are not permitted to operate the specified tasks.', 'http_code' => 403, 'description' => 'You are not permitted to operate the specified tasks.'],
['code' => 'UnsupportedWorkspaceRegion', 'message' => 'Synthetic monitoring is not supported in this workspace region.', 'http_code' => 400, 'description' => 'Synthetic monitoring is not supported in this workspace region.'],
['code' => 'VerifyCodeIsSent', 'message' => 'Verification code sent too often, please try again later.', 'http_code' => 400, 'description' => 'The verification code is sent too often, please try again later.'],
['code' => 'WorkspaceNotExist', 'message' => 'The specified workspace does not exist.', 'http_code' => 400, 'description' => 'The workspace does not exist.'],
['code' => 'InvalidParameter', 'message' => 'The request parameter is invalid or a required parameter is missing.', 'http_code' => 400, 'description' => 'The request parameter is invalid or a required parameter is missing.'],
['code' => 'InvalidMaxResults', 'message' => 'The MaxResults parameter is invalid.', 'http_code' => 400, 'description' => 'The MaxResults parameter is invalid, must be a positive integer within the allowed limit.'],
['code' => 'InvalidParameter.NextToken', 'message' => 'The NextToken is invalid or does not match the request parameters.', 'http_code' => 400, 'description' => 'The NextToken is invalid or does not match the request parameters.'],
['code' => 'InvalidParameter.RegionId', 'message' => 'Unable to determine the region for the observe group.', 'http_code' => 400, 'description' => 'Unable to determine the region: the account has not enabled CloudResource and no central region can be derived.'],
['code' => 'ObserveGroup.AlreadyExists', 'message' => 'An observe group with the same name already exists in the workspace.', 'http_code' => 409, 'description' => 'An observe group with the same name already exists in the workspace.'],
['code' => 'DatabaseError', 'message' => 'A database error occurred while processing the request.', 'http_code' => 500, 'description' => 'A database error occurred. Please retry later or contact the administrator.'],
['code' => 'ObserveGroup.NotFound', 'message' => 'The specified observe group does not exist.', 'http_code' => 404, 'description' => 'The specified observe group does not exist. Please check the ObserveGroupId.'],
['code' => 'InternalError', 'message' => 'An internal error occurred while processing the request.', 'http_code' => 500, 'description' => 'An internal error occurred (e.g. failed to update Diamond config or deliver MetaQ). Please retry later.'],
['code' => 'Workspace.NotFound', 'message' => 'The specified workspace does not exist or you have no permission.', 'http_code' => 404, 'description' => 'The specified workspace does not exist or you have no access.'],
],
'changeSet' => [
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'ListIntegrationPolicies'],
],
'createdAt' => '2025-10-30T12:37:24.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'GetIntegrationPolicy'],
['description' => 'Response parameters changed', 'api' => 'ListIntegrationPolicies'],
],
'createdAt' => '2025-10-30T11:47:29.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateIntegrationPolicy'],
],
'createdAt' => '2025-10-28T08:08:49.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'ListIntegrationPolicyDashboards'],
],
'createdAt' => '2025-10-20T14:08:17.000Z',
'description' => '',
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAddonReleases'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAggTaskGroup'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationPolicyStorageRequirements'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUmodelData'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAlertActions'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdatePrometheusInstance'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationPolicyCustomScrapeJobRules'],
['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPrometheusInstance'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceObservability'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrometheusVirtualInstances'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPrometheusView'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSubscription'],
['threshold' => '210', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAddonRelease'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEntityStore'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTicket'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAggTaskGroup'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEntityStore'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUmodelCommonSchemaRef'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrometheusViews'],
['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServices'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePrometheusView'],
['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEntityStoreData'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpsertUmodelCommonSchemaRef'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetWorkspace'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePrometheusVirtualInstance'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdatePrometheusView'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateService'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIntegrationPolicy'],
['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateService'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePrometheusView'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUmodelCommonSchemaRef'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutWorkspace'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationPolicies'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrometheusInstances'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWorkspace'],
['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteService'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAggTaskGroupStatus'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAggTaskGroup'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIntegrationPolicy'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAddonRelease'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUmodel'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrometheusDashboards'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpsertUmodelData'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUmodel'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUmodel'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateNotifyStrategy'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIntegrationPolicy'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAggTaskGroups'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUmodelData'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIntegrationPolicy'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListWorkspaces'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAddonRelease'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationPolicyDashboards'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationPolicyPodMonitors'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEntityStore'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePrometheusInstance'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAggTaskGroup'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePrometheusInstance'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUmodel'],
['threshold' => '40', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetService'],
['threshold' => '210', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAddonRelease'],
],
'product' => ['code' => 'cms', 'title' => 'Cms'],
],
'ram' => [
'productCode' => 'Cms',
'productName' => 'Cloud Monitor',
'ramCodes' => ['cms'],
'ramLevel' => 'SERVICE',
'ramConditions' => [
[
'name' => 'acs:Service',
'schema' => ['type' => 'String', 'description' => ''],
],
[
'name' => 'acs:ResourceGroupId',
'schema' => ['type' => 'String', 'description' => ''],
],
],
'ramActions' => [],
'resourceTypes' => [],
],
];
|