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
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'RPC', 'product' => 'ddoscoo', 'version' => '2017-12-28'],
'directories' => [
[
'id' => 60475,
'title' => 'DDoS高防新BGP&国际',
'type' => 'directory',
'children' => [
[
'id' => 60476,
'title' => '实例',
'type' => 'directory',
'children' => ['ModifyElasticBandWidth', 'DescribeInstances', 'DescribeInstanceSpecs', 'DescribeInstanceStatistics', 'DescribeElasticBandwidthSpec', 'DescribeDefenseCountStatistics'],
],
[
'id' => 60483,
'title' => '监控报表',
'type' => 'directory',
'children' => ['DescribeDDoSEvents', 'DescribeDomainQpsWithCache'],
],
[
'id' => 60487,
'title' => '全量日志分析',
'type' => 'directory',
'children' => ['ModifyFullLogTtl', 'DescribeSlsOpenStatus', 'DescribeSlsAuthStatus', 'DescribeLogStoreExistStatus', 'DescribeSlsLogstoreInfo', 'EmptySlsLogstore'],
],
[
'id' => 60494,
'title' => '系统配置与日志',
'type' => 'directory',
'children' => ['DeleteAsyncTask', 'DescribeBackSourceCidr'],
],
],
],
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
'children' => [
'AddLayer7CCRule', 'CloseDomainSlsConfig', 'ConfigHealthCheck', 'ConfigLayer4Rule', 'ConfigLayer4RuleAttribute', 'ConfigLayer7BlackWhiteList', 'ConfigLayer7CCRule', 'ConfigLayer7CCTemplate', 'ConfigLayer7Cert', 'ConfigLayer7Rule', 'CreateAsyncTask', 'CreateLayer4Rule', 'CreateLayer7Rule', 'DeleteLayer4Rule', 'DeleteLayer7CCRule', 'DeleteLayer7Rule', 'DescribeBatchSlsDispatchStatus', 'DescribeDDoSTraffic', 'DescribeDomainAccessMode', 'DescribeDomainSlsStatus',
'DescribeDomains', 'DescribeHealthCheckList', 'DescribeHealthCheckStatusList', 'DescribeInstanceDetails', 'DescribeIpTraffic', 'DescribeLayer4RuleAttributes', 'DescribeLayer4Rules', 'DescribeLayer7CCRules', 'DescribeOpEntities', 'DescribeSimpleDomains', 'DescribeSlsEmptyCount', 'DescribleCertList', 'DescribleLayer7InstanceRelations', 'DisableLayer7CC', 'DisableLayer7CCRule', 'EnableLayer7CC', 'EnableLayer7CCRule', 'ListLayer7CustomPorts', 'ListAsyncTask', 'ListTagKeys',
'ListTagResources', 'ListValueAdded', 'ModifyInstanceRemark', 'OpenDomainSlsConfig', 'ReleaseInstance', 'ReleaseValueAdded', 'TagResources', 'UntagResources',
],
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'ModifyElasticBandWidth' => [
'summary' => '调用ModifyElasticBandWidth修改指定实例的弹性防护带宽。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105512',
'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ElasticBandwidth',
'in' => 'query',
'schema' => ['description' => '新的弹性带宽值。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '要操作的实例ID。单次请求只支持修改1个实例的弹性防护带宽,且目标实例必须是正常状态。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXX'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<ModifyElasticBandWidthResponse>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</ModifyElasticBandWidthResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '修改指定实例的弹性防护带宽',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeInstances' => [
'summary' => '调用DescribeInstances分页查询中国内地高防实例信息列表。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105460',
'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'InstanceIds',
'in' => 'query',
'schema' => ['description' => '通过实例Id查询实例信息,传入要查询的实例Id数组(JSON字符串)。支持精确匹配。例如,\\["ddoscoo-cn-XXXX1", "ddoscoo-cn-XXXX2"]。 '."\n"
."\n"
.'> 若传入该参数,则无需传入**Ip**和**Remark**。 ', 'type' => 'string', 'required' => false, 'example' => '["ddoscoo-cn-XXXXX"]'],
],
[
'name' => 'PageNo',
'in' => 'query',
'schema' => ['description' => '分页页号,即从几页开始显示。最小值是**1**。 ', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页大小,即每页显示多少条结果。最大值是**50**。 ', 'type' => 'string', 'required' => true, 'example' => '10'],
],
[
'name' => 'Ip',
'in' => 'query',
'schema' => ['description' => '通过实例IP查询实例信息,传入要查询的实例IP地址。支持精确匹配查询。 '."\n"
."\n"
.'> 若传入该参数,则无需传入**InstanceIds**和**Remark**。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Remark',
'in' => 'query',
'schema' => ['description' => '通过实例备注查询实例信息,传入要查询的实例的备注信息。支持模糊查询。 '."\n"
."\n"
.'> 若传入该参数,则无需传入**InstanceIds**和**Ip**。', 'type' => 'string', 'required' => false, 'example' => ' testRemark'],
],
[
'name' => 'Edition',
'in' => 'query',
'schema' => ['description' => '防护套餐版本,取值:**9**(专业版)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9'],
],
[
'name' => 'Enabled',
'in' => 'query',
'schema' => ['description' => '实例工作状态,取值:'."\n"
.'- **1**:正常转发业务'."\n"
.'- **0**:已停止业务转发', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ExpireStartTime',
'in' => 'query',
'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1578931200000'],
],
[
'name' => 'ExpireEndTime',
'in' => 'query',
'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1578931200000'],
],
[
'name' => 'Status',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '实例售卖状态,取值:'."\n"
."\n"
.'- **1**:正常'."\n"
.'- **2**:过期'."\n"
.'- **3**:释放',
'type' => 'array',
'items' => ['type' => 'integer', 'format' => 'int32'],
'required' => false,
'example' => '1',
'maxItems' => 10,
],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['description' => '实例标签的标签键。N的取值范围:1~20。一旦传入该值,则不允许为空字符串。最多支持128个字符,不能以aliyun和acs:开头,且不能包含 http:// 或者 https:// 。'."\n"
."\n"
.'> 标签键(**Tag.N.Key**)与标签值(**Tag.N.Value**)必须键值匹配。', 'type' => 'string', 'example' => 'key'],
'Value' => ['description' => '实例标签的标签值。N的取值范围:1~20。一旦传入该值,可以为空字符串。最多支持128个字符,不能以aliyun和acs:开头,且不能包含 http:// 或者 https:// 。'."\n"
."\n"
.'> 标签键(**Tag.N.Key**)与标签值(**Tag.N.Value**)必须键值匹配。', 'type' => 'string', 'example' => 'value'],
],
],
'required' => false,
'maxItems' => 20,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Total' => ['description' => '实例总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Instances' => [
'description' => '实例信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => ['description' => '实例售卖状态,取值:'."\n"
."\n"
.'- **1**:正常'."\n"
.'- **2**:过期'."\n"
.'- **3**:释放', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'DebtStatus' => ['description' => '固定取值:**0**,表示预付费实例。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'Edition' => ['description' => '防护套餐版本,固定取值:**9**(专业版)。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
'Remark' => ['description' => '实例备注信息。最大500字节。', 'type' => 'string', 'example' => 'testRemark'],
'ExpireTime' => ['description' => '实例到期时间。格式为时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '2308402384'],
'Enabled' => ['description' => '实例工作状态,取值:'."\n"
.'- **1**:正常转发业务'."\n"
.'- **0**:已停止业务转发', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'GmtCreate' => ['description' => '实例创建时间。格式为时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '2308402384'],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Instances\\": [\\n {\\n \\"Status\\": 1,\\n \\"DebtStatus\\": 0,\\n \\"Edition\\": 9,\\n \\"Remark\\": \\"testRemark\\",\\n \\"ExpireTime\\": 2308402384,\\n \\"Enabled\\": 1,\\n \\"GmtCreate\\": 2308402384,\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Total>1</Total>\\n<Instances>\\n <Status>1</Status>\\n <Edition>9</Edition>\\n <ExpireTime>1578931200000</ExpireTime>\\n <InstanceId>ddoscoo-cn-xxxxxxx</InstanceId>\\n <DebtStatus>0</DebtStatus>\\n <GmtCreate>1576236360000</GmtCreate>\\n</Instances>\\n<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>","errorExample":"{\\n \\"Total\\": 1,\\n \\"Instances\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Remark\\": \\"xxx\\",\\n \\"Status\\": 1,\\n \\"ExpireTime\\": 20384032,\\n \\"GmtCreate\\": 2308402384\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '分页查询中国内地高防实例信息列表',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeInstanceSpecs' => [
'summary' => '调用DescribeInstanceSpecs查询指定实例的规格。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105461',
'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'InstanceIds',
'in' => 'query',
'schema' => ['description' => '要查询的实例ID数组(JSON字符串)。', 'type' => 'string', 'required' => true, 'example' => '["ddoscoo-cn-XXXXX"]'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'InstanceSpecs' => [
'description' => '实例规格列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'BaseBandwidth' => ['description' => '基础带宽值。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'QpsLimit' => ['description' => 'QPS限制。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
'BandwidthMbps' => ['description' => '业务带宽值。', 'type' => 'integer', 'format' => 'int32', 'example' => '20000'],
'DefenseCount' => ['description' => '防护次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'SiteLimit' => ['description' => '站点防护数限制。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'PortLimit' => ['description' => '最大四层转发次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
'ElasticBandwidth' => ['description' => '弹性带宽值。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'FunctionVersion' => ['description' => '功能版本,取值:'."\n"
."\n"
.'- **default**:标准版'."\n"
.'- **enhance**:增强版', 'type' => 'string', 'example' => 'default'],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
'DomainLimit' => ['description' => '最大域名个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"InstanceSpecs\\": [\\n {\\n \\"BaseBandwidth\\": 20,\\n \\"QpsLimit\\": 1000,\\n \\"BandwidthMbps\\": 20000,\\n \\"DefenseCount\\": 10,\\n \\"SiteLimit\\": 10,\\n \\"PortLimit\\": 50,\\n \\"ElasticBandwidth\\": 20,\\n \\"FunctionVersion\\": \\"default\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"DomainLimit\\": 50\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<DescribeInstanceSpecsResponse>\\n <InstanceSpecs>\\n <element>\\n <BandwidthMbps>100</BandwidthMbps>\\n <BaseBandwidth>20</BaseBandwidth>\\n <DefenseCount>10</DefenseCount>\\n <DomainLimit>20</DomainLimit>\\n <ElasticBandwidth>10</ElasticBandwidth>\\n <FunctionVersion>default</FunctionVersion>\\n <InstanceId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</InstanceId>\\n <PortLimit>10</PortLimit>\\n <SiteLimit>10</SiteLimit>\\n <QpsLimit>1000</QpsLimit>\\n </element>\\n </InstanceSpecs>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</DescribeInstanceSpecsResponse>","errorExample":"{\\n \\"InstanceSpecs\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"BaseBandwidth\\": 20,\\n \\"ElasticBandwidth\\": 10,\\n \\"PortLimit\\":10,\\n \\"DomainLimit\\": 20,\\n \\"BandwidthMbps\\": 100\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询指定实例的规格',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeInstanceStatistics' => [
'summary' => '调用DescribeInstanceStatistics查询指定实例的统计信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105462',
'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'InstanceIds',
'in' => 'query',
'schema' => ['description' => '要查询的实例ID数组(JSON字符串)。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","InstanceId":"ddoscoo-cn-YYYYY"}]'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'InstanceStatistics' => [
'description' => '实例的统计信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'DomainUsage' => ['description' => '已使用域名的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'DefenseCountUsage' => ['description' => '已使用防护次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
'SiteUsage' => ['description' => '已添加站点的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PortUsage' => ['description' => '已使用四层规则的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"InstanceStatistics\\": [\\n {\\n \\"DomainUsage\\": 10,\\n \\"DefenseCountUsage\\": 1,\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"SiteUsage\\": 1,\\n \\"PortUsage\\": 20\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DescribeInstanceStatisticsResponse>\\r\\n <InstanceStatistics>\\r\\n <element>\\r\\n <DomainUsage>10</DomainUsage>\\r\\n <InstanceId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</InstanceId>\\r\\n <PortUsage>20</PortUsage>\\r\\n </element>\\r\\n </InstanceStatistics>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DescribeInstanceStatisticsResponse>","errorExample":"{\\n \\"InstanceStatistics\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"PortUsage\\": 20,\\n \\"DomainUsage\\": 10\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询指定实例的统计信息',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeElasticBandwidthSpec' => [
'summary' => '调用DescribeElasticBandwidthSpec查询指定实例的弹性带宽规格。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105455',
'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '要查询的实例ID。单次请求只支持查询1个实例。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXX'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'ElasticBandwidthSpec' => [
'type' => 'array',
'items' => ['description' => '弹性带宽规格。', 'type' => 'string', 'example' => '[5, 10, 20, 30]'],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"ElasticBandwidthSpec\\": [\\n \\"[5, 10, 20, 30]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<DescribeElasticBandwidthSpecResponse>\\n <ElasticBandwidthSpec>\\n <element>5</element>\\n <element>10</element>\\n <element>20</element>\\n <element>30</element>\\n </ElasticBandwidthSpec>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</DescribeElasticBandwidthSpecResponse>","errorExample":"{\\n \\"ElasticBandwidthSpec\\": [5,10,20,30],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询指定实例的弹性带宽规格',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDefenseCountStatistics' => [
'summary' => '查询DDoS高防的抗D包防护次数统计信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105427',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'DefenseCountStatistics' => [
'description' => '防护次数统计信息。',
'type' => 'object',
'properties' => [
'FlowPackCountRemain' => ['description' => '剩余可用的抗D包防护次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'MaxUsableDefenseCountCurrentMonth' => ['description' => '本月最大可用防护次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'DefenseCountTotalUsageOfCurrentMonth' => ['description' => '本月已消耗的抗D包防护次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DefenseCountStatistics\\": {\\n \\"FlowPackCountRemain\\": 10,\\n \\"MaxUsableDefenseCountCurrentMonth\\": 0,\\n \\"DefenseCountTotalUsageOfCurrentMonth\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"<DefenseCountStatistics>\\n <DefenseCountTotalUsageOfCurrentMonth>0</DefenseCountTotalUsageOfCurrentMonth>\\n <FlowPackCountRemain>10</FlowPackCountRemain>\\n <MaxUsableDefenseCountCurrentMonth>0</MaxUsableDefenseCountCurrentMonth>\\n</DefenseCountStatistics>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询抗D包防护次数统计信息',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDDoSEvents' => [
'summary' => '调用DescribeDDoSEvents查询指定IP的DDoS攻击事件。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105424',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => '流量查询的开始时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457398'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => '流量查询的结束时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457324'],
],
[
'name' => 'Eip',
'in' => 'query',
'schema' => ['description' => '要查询的EIP地址。', 'type' => 'string', 'required' => true, 'example' => '1.1.1.1'],
],
[
'name' => 'Offset',
'in' => 'query',
'schema' => ['description' => '返回结果开始位置,即从几个结果开始返回。 '."\n"
.'> 若不传入该参数,则从第0个结果开始返回。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页大小,即每页显示的结果个数。最大值50。 ', 'type' => 'string', 'required' => true, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Total' => ['description' => '结果总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Events' => [
'description' => 'DDoS攻击事件。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => ['description' => '事件类型:'."\n"
.'- **lackhole_start**:黑洞中'."\n"
.'- **blackhole_end**:黑洞结束'."\n"
.'- **defense_start**:清洗中'."\n"
.'- **defense_end**:清洗结束', 'type' => 'string', 'example' => 'blackhole_start'],
'EndTime' => ['description' => '事件结束时间,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '3289457398'],
'StartTime' => ['description' => '事件开始时间,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '3289457324'],
'Interval' => ['description' => '事件持续时间,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Events\\": [\\n {\\n \\"Status\\": \\"blackhole_start\\",\\n \\"EndTime\\": 3289457398,\\n \\"StartTime\\": 3289457324,\\n \\"Interval\\": 12\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Total>1</Total>\\n<Events>\\n <StartTime>3289457324</StartTime>\\n <EndTime>3289457398</EndTime>\\n <Interval>12</Interval>\\n <Status>blackhole_start</Status>\\n</Events>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询指定IP的DDoS攻击事件',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDomainQpsWithCache' => [
'summary' => '查询指定域名的QPS次数信息以及缓存命中次数。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105442',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要查询的域名。'."\n"
."\n"
.'> 不指定该参数,则默认查询第一个域名配置记录的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => '开始时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1577794536'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => '结束时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1577796336'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'StartTime' => ['description' => '开始时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1577794500'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Interval' => ['description' => '相隔两个数据之间的时间差,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
'Blocks' => [
'type' => 'array',
'items' => ['description' => '拦截的攻击请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'CcBlockQps' => [
'type' => 'array',
'items' => ['description' => '频率控制拦截的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'PreciseJsQps' => [
'type' => 'array',
'items' => ['description' => '命中精准防护规则的挑战校验的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'CcJsQps' => [
'type' => 'array',
'items' => ['description' => '命中频率控制规则触发人机识别的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'RegionBlocks' => [
'type' => 'array',
'items' => ['description' => '地域封禁拦截的QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'PreciseBlocks' => [
'type' => 'array',
'items' => ['description' => '精准防护规则拦截的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'CacheHits' => [
'type' => 'array',
'items' => ['description' => '命中页面缓存加速规则的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
'Totals' => [
'type' => 'array',
'items' => ['description' => '总的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[10,40,20]'],
],
'IpBlockQps' => [
'type' => 'array',
'items' => ['description' => 'IP封禁拦截的请求次数,单位:QPS。', 'type' => 'string', 'example' => '[0,0,0]'],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"StartTime\\": 1577794500,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Interval\\": 60,\\n \\"Blocks\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"CcBlockQps\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"PreciseJsQps\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"CcJsQps\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"RegionBlocks\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"PreciseBlocks\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"CacheHits\\": [\\n \\"[0,0,0]\\"\\n ],\\n \\"Totals\\": [\\n \\"[10,40,20]\\"\\n ],\\n \\"IpBlockQps\\": [\\n \\"[0,0,0]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Interval>60</Interval>\\n<StartTime>1577794500</StartTime>\\n<Totals>10</Totals>\\n<Totals>40</Totals>\\n<Totals>20</Totals>\\n<CacheHits>0</CacheHits>\\n<CacheHits>0</CacheHits>\\n<CacheHits>0</CacheHits>\\n<Blocks>0</Blocks>\\n<Blocks>0</Blocks>\\n<Blocks>0</Blocks>\\n<CcBlockQps>0</CcBlockQps>\\n<CcBlockQps>0</CcBlockQps>\\n<CcBlockQps>0</CcBlockQps>\\n<CcJsQps>0</CcJsQps>\\n<CcJsQps>0</CcJsQps>\\n<CcJsQps>0</CcJsQps>\\n<IpBlockQps>0</IpBlockQps>\\n<IpBlockQps>0</IpBlockQps>\\n<IpBlockQps>0</IpBlockQps>\\n<PreciseBlocks>0</PreciseBlocks>\\n<PreciseBlocks>0</PreciseBlocks>\\n<PreciseBlocks>0</PreciseBlocks>\\n<PreciseJsQps>0</PreciseJsQps>\\n<PreciseJsQps>0</PreciseJsQps>\\n<PreciseJsQps>0</PreciseJsQps>\\n<RegionBlocks>0</RegionBlocks>\\n<RegionBlocks>0</RegionBlocks>\\n<RegionBlocks>0</RegionBlocks>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询QPS次数信息以及缓存命中次数',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ModifyFullLogTtl' => [
'summary' => '调用ModifyFullLogTtl修改日志存储时长。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105513',
'abilityTreeNodes' => ['FEATUREddosAUMQ7C'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'Ttl',
'in' => 'query',
'schema' => ['description' => '日志存储时长,单位:天。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '修改日志存储时长',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeSlsOpenStatus' => [
'summary' => '调用DescribeSlsOpenStatus查询是否已开通日志服务。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105488',
'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'SlsOpenStatus' => ['description' => '是否已开通日志服务:'."\n"
.'- **true**:表示是'."\n"
.'- **false**:表示否', 'type' => 'boolean', 'example' => 'true'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsOpenStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<SlsOpenStatus>true</SlsOpenStatus>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询是否已开通日志服务',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeSlsAuthStatus' => [
'summary' => '查询是否已授权DDoS高防服务将日志存储至日志服务的专属日志库中。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105485',
'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'SlsAuthStatus' => ['description' => '是否已授权DDoS高防服务将日志存储至日志服务的专属日志库中。', 'type' => 'boolean', 'example' => 'true'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsAuthStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<SlsAuthStatus>true</SlsAuthStatus>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询是否授权将日志存储至日志服务的专属日志库中',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeLogStoreExistStatus' => [
'summary' => '调用DescribeLogStoreExistStatus查询是否已存在日志库。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105468',
'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ExistStatus' => ['description' => '是否已存在日志库。', 'type' => 'boolean', 'example' => 'true'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ExistStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<ExistStatus>true</ExistStatus>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询是否已存在日志库',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeSlsLogstoreInfo' => [
'summary' => '调用DescribeSlsLogstoreInfo查询对应的日志服务日志库信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105487',
'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Ttl' => ['type' => 'integer', 'format' => 'int32'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Quota' => ['description' => '日志库容量,单位:字节(Byte)。', 'type' => 'integer', 'format' => 'int64', 'example' => '5497558138880'],
'LogStore' => ['description' => '日志库名称。', 'type' => 'string', 'example' => 'ddoscoo-logstore'],
'Used' => ['description' => '已存储的日志量,单位:Byte(字节)。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Project' => ['description' => '日志项目名称。', 'type' => 'string', 'example' => 'ddoscoo-project-xxxx-cn-hangzhou'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Used\\": 0,\\n \\"Project\\": \\"ddoscoo-project-xxxx-cn-hangzhou\\",\\n \\"Quota\\": 5497558138880,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"LogStore\\": \\"ddoscoo-logstore\\"\\n}","errorExample":""},{"type":"xml","example":"<Project>ddoscoo-project-xxxx-cn-hangzhou</Project>\\n<Quota>5497558138880</Quota>\\n<Used>0</Used>\\n<LogStore>ddoscoo-logstore</LogStore>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询对应的日志服务日志库信息',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'EmptySlsLogstore' => [
'summary' => '调用EmptySlsLogstore清空日志库。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105502',
'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '清空日志库',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteAsyncTask' => [
'summary' => '调用DeleteAsyncTask删除指定的异步任务。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105405',
'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['description' => '要删除的任务ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '123'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DeleteAsyncTaskResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteAsyncTaskResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '删除指定的异步任务',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeBackSourceCidr' => [
'summary' => '查询回源网段。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105418',
'abilityTreeNodes' => ['FEATUREddos64TBV6'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Line',
'in' => 'query',
'schema' => ['description' => '要查询的防护线路。', 'type' => 'string', 'required' => false, 'example' => 'coop-line-001'],
],
[
'name' => 'IpVersion',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'CidrList' => [
'type' => 'array',
'items' => ['description' => '回源IP段列表。', 'type' => 'string', 'example' => '["47.97.128.0/25","47.97.128.128/25"]'],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"CidrList\\": [\\n \\"[\\\\\\"47.97.128.0/25\\\\\\",\\\\\\"47.97.128.128/25\\\\\\"]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DescribeBackSourceCidrResponse>\\r\\n <CidrList>\\r\\n <element>47.xx.xx.0/25</element>\\r\\n <element>47.xx.xx.128/25</element>\\r\\n </CidrList>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DescribeBackSourceCidrResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"CidrList\\" : [\\"47.97.128.0/25\\",\\"47.97.128.128/25\\"]\\n}\\n"}]',
'title' => '查询高防回源网段地址',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'AddLayer7CCRule' => [
'summary' => '调用AddLayer7CCRule为指定域名添加7层CC规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['description' => 'CC自定义规则名。', 'type' => 'string', 'required' => true, 'example' => 'testCcRule1'],
],
[
'name' => 'Act',
'in' => 'query',
'schema' => ['description' => '规则触发后的操作,取值:'."\n"
."\n"
.'- **close**:封禁'."\n"
.'- **captcha**:人机识别', 'type' => 'string', 'required' => true, 'example' => 'close'],
],
[
'name' => 'Count',
'in' => 'query',
'schema' => ['description' => '访问次数,与**Interval**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。取值范围为2~2,000。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'],
],
[
'name' => 'Interval',
'in' => 'query',
'schema' => ['description' => '间隔时间,与**Count**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。取值范围为5~10,800。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5'],
],
[
'name' => 'Mode',
'in' => 'query',
'schema' => ['description' => 'URI匹配模式,取值:'."\n"
."\n"
.'- **match**:完全匹配。访问请求的URI与指定的Uri完全相同,才计入访问次数。'."\n"
.'- **prefix**:前缀匹配。访问请求的URI包含指定的Uri,则计入访问次数。', 'type' => 'string', 'required' => true, 'example' => 'match'],
],
[
'name' => 'Ttl',
'in' => 'query',
'schema' => ['description' => '若规则触发后动作指定为封禁,设置封禁时间,单位为秒,取值范围为60~86,400。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'],
],
[
'name' => 'Uri',
'in' => 'query',
'schema' => ['description' => '被防护的URI。', 'type' => 'string', 'required' => true, 'example' => '/a/b/c'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<AddLayer7CCRuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</AddLayer7CCRuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n\\t\\t\\t\\t"}]',
'title' => '为指定域名添加7层CC规则',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CloseDomainSlsConfig' => [
'summary' => '调用CloseDomainSlsConfig接口关闭指定域名的全量日志分析功能。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105375',
'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '已启用全量日志分析功能的网站域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>","errorExample":""}]',
'title' => '关闭指定域名的全量日志分析功能',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigHealthCheck' => [
'summary' => '调用ConfigHealthCheck配置四层或七层健康检查。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105390',
'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '要操作的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXXX'],
],
[
'name' => 'ForwardProtocol',
'in' => 'query',
'schema' => ['description' => '转发协议,取值: '."\n"
."\n"
.'- **TCP**(四层)'."\n"
.'- **UDP**(四层)'."\n"
.'- **HTTP**(七层)', 'type' => 'string', 'required' => true, 'example' => 'tcp'],
],
[
'name' => 'FrontendPort',
'in' => 'query',
'schema' => ['description' => '前端端口。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '233'],
],
[
'name' => 'HealthCheck',
'in' => 'query',
'schema' => ['description' => '传入HealthCheck对象JSON串,具体结构描述如下:'."\n"
."\n"
.'- **Type**,String类型,必选,协议类型。取值:**TCP**(四层)、**HTTP**(七层)。'."\n"
.'- **Domain**,String类型,可选,健康检查/七层健康检查/域名。'."\n"
.'- **Uri**,String类型,可选,健康检查/七层健康检查/检查路径。'."\n"
.'- **Timeout**,Integer类型,可选,健康检查/四层健康检查/响应超时时间。'."\n"
.'- **Port**,Integer类型,可选,健康检查/四层健康检查/检查端口。'."\n"
.'- **Interval**,Integer类型,可选,健康检查/四层健康检查/检查间隔。'."\n"
.'- **Up**,Integer类型,可选,健康检查/四层健康检查/健康阈值。'."\n"
.'- **Down**,Integer类型,可选,健康检查/四层健康检查/不健康阈值。'."\n", 'type' => 'string', 'required' => true, 'example' => '{"Type":"tcp","Timeout":10,"Port":80,"Interval":10,"Up":10,"Down":40}"}'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<ConfigHealthCheckResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigHealthCheckResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '配置四层或七层健康检查',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer4Rule' => [
'summary' => '调用ConfigLayer4Rule编辑4层转发规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105392',
'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
'name' => 'Listeners',
'in' => 'query',
'schema' => ['description' => '传入要操作的Listeners的JSON数组串,每个Listener的具体结构描述如下。 '."\n"
."\n"
.'- **InstanceId**,String类型,必选,实例ID。'."\n"
.'- **Protocol**,String类型,必选,协议类型。'."\n"
.'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。'."\n"
.'- **BackendPort**,Integer类型,必选,后端使用的端口,取值范围:0-65535。'."\n"
.'- **RealServers**,Json数组类型,必选,源站IP地址。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"xxxxxx-xxxxxx-xxxxxx-xxxxxxx","Protocol":"tcp","FrontendPort":80,"BackendPort":5,"RealServers":"1.1.1.1","2.2.2.2"}]'],
],
[
'name' => 'ProxyEnable',
'in' => 'query',
'schema' => ['type' => 'integer', 'format' => 'int64'],
],
[
'name' => 'UsTimeout',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'ConnectTimeout' => ['type' => 'integer', 'format' => 'int64'],
'RsTimeout' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<ConfigLayer4RuleResponse>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</ConfigLayer4RuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '编辑4层转发规则',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer4RuleAttribute' => [
'summary' => '包括会话保持和DDoS防护策略。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105393',
'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '要操作的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXX'],
],
[
'name' => 'Module',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
'enum' => ['sla'],
],
],
[
'name' => 'ForwardProtocol',
'in' => 'query',
'schema' => ['description' => '转发协议,取值:**TCP**、**UDP**。 ', 'type' => 'string', 'required' => true, 'example' => 'TCP'],
],
[
'name' => 'FrontendPort',
'in' => 'query',
'schema' => ['description' => '前端端口。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '233'],
],
[
'name' => 'Config',
'in' => 'query',
'schema' => ['description' => '配置信息,传入**TcpConfig**或**UdpConfig**对象JSON串。'."\n"
."\n"
.'**TcpConfig**的具体结构描述见如下:'."\n"
."\n"
.'- **PersistenceTimeout**,Integer类型,必选,会话保持的超时时间,单位为秒。默认为**0**,表示关闭。'."\n"
.'- **Synproxy**,String类型,必选,DDoS防护策略的虚假源,取值:**off**、**on**。'."\n"
.'- **NodataConn**,String类型,必选,DDoS防护策略的空连接,取值:**off**、**on**。'."\n"
.'- **Sla**,Struct类型,必选,目的限制配置。具体结构描述见**Sla**。'."\n"
.'- **Slimit**,Struct类型,必选,源限制配置。具体结构描述见**Slimit**。'."\n"
.'- **PayloadLen**,Struct类型,必选,包过滤配置。具体结构描述见**PayloadLen**。'."\n"
."\n"
.'**UdpConfig**的具体结构描述如下:'."\n"
."\n"
.'- **PersistenceTimeout**,Integer类型,必选,会话保持的超时时间,单位为秒。默认为**0**,表示关闭。'."\n"
.'- **Synproxy**,String类型,必选,DDoS防护策略的虚假源,取值:**off**、**on**。'."\n"
.'- **NodataConn**,String类型,必选,DDoS防护策略的空连接,取值:**off**、**on**。'."\n"
.'- **Sla**,Struct类型,必选,目的限制配置。具体结构描述见**Sla**。'."\n"
.'- **Slimit**,Struct类型,必选,源限制配置。具体结构描述见**Slimit**。'."\n"
.'- **PayloadLen**,Struct类型,必选,包过滤配置。具体结构描述见**PayloadLen**。'."\n"
."\n"
.'**Sla**的具体结构描述如下:'."\n"
."\n"
.'- **Cps**,Integer类型,必选,DDoS防护策略/目的新建连接限速,取值范围:100~100,000。'."\n"
.'- **Maxconn**,Integer类型,必选,DDoS防护策略/目的并发连接限速,取值范围:1,000~1,000,000。'."\n"
.'- **CpsEnable**,Integer类型,必选,是否开启Cps,取值:**0**(禁用cps)、**1**(默认,启用cps)。'."\n"
.'- **MaxconnEnable**,Integer类型,必选,是否开启Maxconnection,取值:**0**(禁用maxconn)、**1**(默认,启用maxconn)。'."\n"
."\n"
.'**Slimit**的具体结构描述如下:'."\n"
."\n"
.'- **Cps**,Integer类型,必选,DDoS防护策略/源新建连接限速,取值范围:100~100,000。'."\n"
.'- **Maxconn**,Integer类型,必选,DDoS防护策略/源并发连接限速,取值范围:1,000~1,000,000。'."\n"
.'- **CpsEnable**,Integer类型,必选,是否开启Cps,取值:**0**(禁用cps)、**1**(默认,启用cps)。'."\n"
.'- **MaxconnEnable**,Integer类型,必选,是否开启Maxconnection,取值:**0**(禁用maxconn)、**1**(默认,启用maxconn)。'."\n"
.'- **CpsMode**,Integer类型,必选,源新建连接限速开关,取值:**1**(关闭)、**2**(自动)。'."\n"
."\n"
.'**PayloadLen**的具体结构描述如下:'."\n"
."\n"
.'- **Min**,Integer类型,必选,DDoS防护策略/包长度过滤,包长度的最小值,取值范围为0~6,000。'."\n"
.'- **Max**,Integer类型,必选,DDoS防护策略/包长度过滤,包长度的最大值,取值范围为0~6,000。', 'type' => 'string', 'required' => true, 'example' => '{"Slimit":{"CpsEnable":1,"MaxconnEnable":1,"Cps":1,"Maxconn":1},"Sla":{"CpsEnable":1,"MaxconnEnable":1,"Cps":100,"Maxconn":1000},"PayloadLen":{"Min":0,"Max":6000}}'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<ConfigLayer4RuleAttributeResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigLayer4RuleAttributeResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n\\t\\t\\t\\t"}]',
'title' => '配置4层转发规则属性',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer7BlackWhiteList' => [
'summary' => '调用ConfigLayer7BlackWhiteList为指定域名设置7层防护黑白名单。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要配置的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'BlackList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '黑名单列表。若有多个加黑地址,依次传入BlackList.1, BlackList.2, BlackList.3, ...',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => false,
'example' => '1.1.1.1',
'maxItems' => 2000,
],
],
[
'name' => 'WhiteList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '白名单列表。若有多个加白地址,依次传入WhiteList.1, WhiteList.2, WhiteList.3, ...',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => false,
'example' => '1.1.1.1',
'maxItems' => 2000,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<ConfigLayer7BlackWhiteListResponse>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</ConfigLayer7BlackWhiteListResponse>\\n","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名设置7层防护黑白名单',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer7CCRule' => [
'summary' => '调用ConfigLayer7CCRule编辑7层CC规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105395',
'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['description' => 'CC自定义规则名。', 'type' => 'string', 'required' => true, 'example' => 'testCcRule1'],
],
[
'name' => 'Act',
'in' => 'query',
'schema' => ['description' => '规则触发后的操作,取值:'."\n"
."\n"
.'- **close**:封禁'."\n"
.'- **captcha**:人机识别', 'type' => 'string', 'required' => true, 'example' => 'close'],
],
[
'name' => 'Count',
'in' => 'query',
'schema' => ['description' => '访问次数,与**Interval**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。取值范围为2~2,000。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'],
],
[
'name' => 'Interval',
'in' => 'query',
'schema' => ['description' => '间隔时间,与**Count**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。取值范围为5~10,800。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5'],
],
[
'name' => 'Mode',
'in' => 'query',
'schema' => ['description' => 'URI匹配模式,取值:'."\n"
."\n"
.'- **match**:完全匹配。访问请求的URI与指定的Uri完全相同,才计入访问次数。'."\n"
.'- **prefix**:前缀匹配。访问请求的URI包含指定的Uri,则计入访问次数。', 'type' => 'string', 'required' => true, 'example' => 'match'],
],
[
'name' => 'Ttl',
'in' => 'query',
'schema' => ['description' => '若规则触发后动作指定为封禁,设置封禁时间,单位为秒,取值范围为60~86,400。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'],
],
[
'name' => 'Uri',
'in' => 'query',
'schema' => ['description' => '被防护的URI。', 'type' => 'string', 'required' => true, 'example' => '/a/b/c'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<ConfigLayer7CCRuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigLayer7CCRuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n\\t\\t\\t\\t"}]',
'title' => '编辑7层CC规则',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer7CCTemplate' => [
'summary' => '调用ConfigLayer7CCTemplate为指定域名设置7层CC防护模式。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105396',
'abilityTreeNodes' => ['FEATUREddosM9SQC1'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'Template',
'in' => 'query',
'schema' => ['description' => '要应用的CC防护模式,取值:'."\n"
."\n"
.'- **default**:正常'."\n"
.'- **gf_under_attack**:攻击紧急'."\n"
.'- **gf_sos_verify**:严格'."\n"
.'- **gf_sos_enhance**:超级严格', 'type' => 'string', 'required' => true, 'example' => 'default'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<ConfigLayer7CCTemplateResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigLayer7CCTemplateResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名设置7层CC防护模式',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer7Cert' => [
'summary' => '调用ConfigLayer7Cert为指定域名配置7层证书。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105397',
'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'CertId',
'in' => 'query',
'schema' => ['description' => '证书ID。 '."\n"
."\n"
.'> 若传入此参数,则无需传入**CertName**、**Cert**、**Key**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1234'],
],
[
'name' => 'CertName',
'in' => 'query',
'schema' => ['description' => '证书名称。 '."\n"
."\n"
.'> 若传入此参数,则必须同时传入**Cert**和**Key**。若传入**CertName**、**Cert**、**Key**组合,则无需传入**CertId**。', 'type' => 'string', 'required' => false, 'example' => 'testCertName'],
],
[
'name' => 'Cert',
'in' => 'query',
'schema' => ['description' => '证书公钥。 '."\n"
."\n"
.'> 若传入此参数,则必须同时传入**CertName**和**Key**。若传入**CertName**、**Cert**、**Key**组合,则无需传入**CertId**。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'Key',
'in' => 'query',
'schema' => ['description' => '证书私钥。 '."\n"
."\n"
.'> 若传入此参数,则必须同时传入**CertName**和**Cert**。若传入**CertName**、**Cert**、**Key**组合,则无需传入**CertId**。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'CertIdentifier',
'in' => 'query',
'schema' => ['type' => 'string'],
],
[
'name' => 'CertRegion',
'in' => 'query',
'schema' => ['type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<ConfigLayer7CertResponse>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</ConfigLayer7CertResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名配置7层证书',
'description' => '设置证书。新BGP高防的证书上传功能已接入云盾证书服务,您可以直接调用该接口从证书服务拉取对应的证书上传到新BGP高防服务。当您选择重新上传一组证书和私钥时,我们会将您的这组证书和私钥重新上传到云盾证书服务,以便您可以重复使用这组证书。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ConfigLayer7Rule' => [
'summary' => '调用ConfigLayer7Rule编辑7层转发规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105398',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'ProxyTypeList',
'in' => 'query',
'schema' => ['description' => '协议数组。具体结构描述如下:'."\n"
."\n"
.'- **ProxyType**,String类型,必选,协议类型,取值:**http**、**https**、**websocket**、**websockets**。'."\n"
.'- **ProxyPorts**,Integer类型,必选,协议端口。', 'type' => 'string', 'required' => false, 'example' => '[{"ProxyPorts":[80,8080],"ProxyType":"http"},{"ProxyPorts":[443],"ProxyType":"https"}]rts\\":[443],\\"ProxyType\\":\\"https\\"}]'],
],
[
'name' => 'RsType',
'in' => 'query',
'schema' => ['description' => '源站类型,取值:'."\n"
."\n"
.'- **0**:IP'."\n"
.'- **1**:域名', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
[
'name' => 'ProxyTypes',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => false,
'example' => '[{"ProxyPorts":[80,8080],"ProxyType":"http"},{"ProxyPorts":[443],"ProxyType":"https"}]rts\\":[443],\\"ProxyType\\":\\"https\\"}]',
'maxItems' => 20,
],
],
[
'name' => 'RealServers',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '源站IP。若有多个源站IP,依次传入RealServers.1, RealServers.2, RealServers.3, ...',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => true,
'example' => '1.1.1.1',
'maxItems' => 20,
],
],
[
'name' => 'InstanceIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '要绑定的实例Id。若有多个实例,依次传入InstanceIds.1, InstanceIds.2, InstanceIds.3, ...'."\n"
."\n"
.'> 若不传入该参数,则只添加域名,不绑定到具体IP。',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => false,
'example' => 'ddoscoo-cn-XXXXXX',
'maxItems' => 20,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<ConfigLayer7RuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ConfigLayer7RuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n\\t\\t\\t\\t"}]',
'title' => '编辑7层转发规则',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateAsyncTask' => [
'summary' => '网站转发规则、端口转发规则、会话保持和健康检查配置、DDoS防护策略、IP黑白名单。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105401',
'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'TaskType',
'in' => 'query',
'schema' => ['description' => '任务类型,取值:'."\n"
."\n"
.'- **1**:4层转发规则批量导出任务'."\n"
.'- **2**:7层防护规则批量导出任务'."\n"
.'- **3**:会话和健康检查配置导出任务'."\n"
.'- **4**:DDoS防护策略导出任务', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'TaskParams',
'in' => 'query',
'schema' => ['description' => '任务参数,一组json字符串,根据TaskType不同有所区别。'."\n"
."\n"
.'- TaskType为**1**时,传入需要导出规则的新BGP高防实例Id。例如,{"instanceId": "ddoscoo-cn-XXXXX"}'."\n"
.'- TaskType为**2**时,传入一个空对象的字符串即可。例如,{}'."\n"
.'- TaskType为**3**时,传入需要导出规则的新BGP高防实例Id。例如,{"instanceId": "ddoscoo-cn-XXXXX"}'."\n"
.'- TaskType为**4**时,传入需要导出规则的新BGP高防实例Id。例如,{"instanceId": "ddoscoo-cn-XXXXX"}', 'type' => 'string', 'required' => true, 'example' => '{"timestamp": 1530276554, "instanceId": "ddoscoo-woieuroi234"}'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<CreateAsyncTaskResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</CreateAsyncTaskResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '创建异步导出任务',
'description' => '创建新BGP合作机房支持的异步任务,当前支持7层配置的导出、4层配置的导出以及会话保持、健康检查等功能配置的导出。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateLayer4Rule' => [
'summary' => '调用CreateLayer4Rule创建4层转发规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105402',
'abilityTreeNodes' => ['FEATUREddosI8LHMA'],
],
'parameters' => [
[
'name' => 'Listeners',
'in' => 'query',
'schema' => ['description' => '传入要操作的Listeners的JSON数组串,每个Listener的具体结构描述如下:'."\n"
."\n"
.'- **InstanceId**,String类型,必选,实例ID。'."\n"
.'- **Protocol**,String类型,必选,协议类型。'."\n"
.'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。'."\n"
.'- **BackendPort**,Integer类型,必选,后端使用的端口,取值范围:0-65535。'."\n"
.'- **RealServers**,Json数组类型,必选,源站IP地址。'."\n", 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"xxxxxx-xxxxxx-xxxxxx-xxxxxxx","Protocol":"tcp","FrontendPort":80,"BackendPort":5,"RealServers":"1.1.1.1","2.2.2.2"}]'],
],
[
'name' => 'ProxyEnable',
'in' => 'query',
'schema' => [
'type' => 'integer',
'format' => 'int32',
'enum' => ['0', '1'],
],
],
[
'name' => 'UsTimeout',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'ConnectTimeout' => ['type' => 'integer', 'format' => 'int64'],
'RsTimeout' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<CreateLayer4RuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</CreateLayer4RuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '创建4层转发规则',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateLayer7Rule' => [
'summary' => '调用CreateLayer7Rule创建7层转发规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105403',
'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要添加的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'RsType',
'in' => 'query',
'schema' => ['description' => '源站类型,取值:'."\n"
."\n"
.'- **0**:IP'."\n"
.'- **1**:域名', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
[
'name' => 'Rules',
'in' => 'query',
'schema' => ['description' => '传入7层规则Layer7Rule数组JSON串。具体结构描述如下:'."\n"
."\n"
.'- **ProxyRules**,数组类型,必选,规则对象数组,包含以下元素:'."\n"
.' - **ProxyPort**,Integer类型,必选,协议端口,取值:**80**、**443**。'."\n"
.' - **RealServers**,[]String类型,必选,用户源站。例如,1.1.1.1:443。'."\n"
.'- **ProxyType**,String类型,必选,协议类型,取值:**http**、**https**、**websocket**、**websockets**。', 'type' => 'string', 'required' => true, 'example' => '[{"ProxyRules":[{"ProxyPort":443,"RealServers":["1.1.1.1:443"]}],"ProxyType":"https"},{"ProxyRules":[{"ProxyPort":80,"RealServers":["1.1.1.1:80"]}],"ProxyType":"http"}]'],
],
[
'name' => 'InstanceIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '要绑定的实例ID。若有多个实例,依次传入InstanceIds.1, InstanceIds.2, InstanceIds.3, ..'."\n"
."\n"
.'> 若不传入该参数,则只添加域名,不绑定到具体IP。',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => false,
'example' => 'ddoscoo-cn-XXXXX',
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<CreateLayer7RuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</CreateLayer7RuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '创建7层转发规则',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteLayer4Rule' => [
'summary' => '调用DeleteLayer4Rule删除4层转发规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105410',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'Listeners',
'in' => 'query',
'schema' => ['description' => '传入要操作的Listeners的JSON数组串,每个Listener的具体结构描述如下:'."\n"
."\n"
.'> 目前不支持批量删除,每次只允许删除一个对象。 '."\n"
."\n"
.'- **InstanceId**,String类型,必选,实例ID。'."\n"
.'- **Protocol**,String类型,必选,协议类型。'."\n"
.'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。', 'type' => 'string', 'required' => true, 'example' => '{"InstanceId":"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc","Protocol":"tcp","FrontendPort":80}'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DeleteLayer4RuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteLayer4RuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '删除4层转发规则',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteLayer7CCRule' => [
'summary' => '调用DeleteLayer7CCRule删除7层CC规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105411',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['description' => '要删除的CC自定义规则名。', 'type' => 'string', 'required' => true, 'example' => 'testCcRule1'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DeleteLayer7CCRuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteLayer7CCRuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '删除7层CC规则',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DeleteLayer7Rule' => [
'summary' => '调用DeleteLayer7Rule删除7层转发规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105412',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DeleteLayer7RuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DeleteLayer7RuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '删除7层转发规则',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeBatchSlsDispatchStatus' => [
'summary' => '调用DescribeBatchSlsDispatchStatus接口分页查询域名的全量日志分析启用状态。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105419',
'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'PageNo',
'in' => 'query',
'schema' => ['description' => '当前页数,从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页大小,最大值20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'TotalCount' => ['description' => '域名记录总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'SlsConfigStatusList' => [
'description' => '域名的全量日志分析启用状态列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Domain' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'www.example.com'],
'Enable' => ['description' => '是否启用全量日志分析功能:'."\n"
.'- **true**:表示已启用'."\n"
.'- **false**:表示已关闭', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"SlsConfigStatusList\\": [\\n {\\n \\"Domain\\": \\"www.example.com\\",\\n \\"Enable\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<SlsConfigStatusList>\\n <Domain>www.example.com</Domain>\\n <Enable>true</Enable>\\n</SlsConfigStatusList>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>\\n<Total>1</Total>","errorExample":""}]',
'title' => '分页查询域名的全量日志分析启用状态',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDDoSTraffic' => [
'summary' => '调用DescribeDDoSTraffic查询指定IP的DDoS攻击流量信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105426',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => '查询开始时间戳(秒)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457324'],
],
[
'name' => 'Interval',
'in' => 'query',
'schema' => ['description' => '采样间隔,单位:秒。必须是60秒的倍数,默认60s。返回结果可缩放。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => '结束时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457398'],
],
[
'name' => 'Eip',
'in' => 'query',
'schema' => ['description' => '要查询的EIP地址。', 'type' => 'string', 'required' => true, 'example' => '1.1.1.1'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'DefenseInBytes' => ['description' => '清洗流量,单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '23482234'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'SourceInBytes' => ['description' => '回源流量,单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '19284762'],
'DDoSTrafficPoints' => [
'description' => '各时间点攻击流量信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Time' => ['description' => '时间点(时间戳),单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '234082304'],
'SourceMaxInBps' => ['description' => '该时间点的总流量,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '129867'],
'DefenseMaxInBps' => ['description' => '该时间点的攻击流量,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '129867'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"DefenseInBytes\\": 23482234,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"SourceInBytes\\": 19284762,\\n \\"DDoSTrafficPoints\\": [\\n {\\n \\"Time\\": 234082304,\\n \\"SourceMaxInBps\\": 129867,\\n \\"DefenseMaxInBps\\": 129867\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DefenseInBytes>23482234</DefenseInBytes>\\n<SourceInBytes>19284762</SourceInBytes>\\n<DDoSTrafficPoints>\\n <Time>234082304</Time>\\n <DefenseMaxInBps>129867</DefenseMaxInBps>\\n <SourceMaxInBps>129867</SourceMaxInBps>\\n</DDoSTrafficPoints>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询指定IP的DDoS攻击流量信息',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDomainAccessMode' => [
'summary' => '调用DescribeDomainAccessMode查询域名的接入模式。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105429',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'DomainList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '要查询的域名。所有多个域名,依次传入DomainList.1, DomainList.2, DomainList.3, ...',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => true,
'example' => 'www.aliyun.com',
'maxItems' => 20,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'DomainModeList' => [
'description' => '模式配置。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'AccessMode' => ['description' => '接入模式,取值:'."\n"
."\n"
.'- **0**:A记录'."\n"
.'- **1**:高防'."\n"
.'- **2**:回源', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'www.aliyun.com'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainModeList\\": [\\n {\\n \\"AccessMode\\": 1,\\n \\"Domain\\": \\"www.aliyun.com\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<DescribeDomainAccessModeResponse>\\n <DomainModeList>\\n <element>\\n <AccessMode>1</AccessMode>\\n <Domain>www.alibaba.com</Domain>\\n </element>\\n <element>\\n <AccessMode>2</AccessMode>\\n <Domain>www.aliyun.com</Domain>\\n </element>\\n </DomainModeList>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</DescribeDomainAccessModeResponse>","errorExample":"{\\n \\"RequestId\\":\\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"DomainModeList\\":[\\n {\\n \\"Domain\\":\\"www.alibaba.com\\",\\n \\"AccessMode\\":1\\n },\\n {\\n \\"Domain\\":\\"www.aliyun.com\\",\\n \\"AccessMode\\":2\\n }\\n ]\\n}\\n"}]',
'title' => '查询域名的接入模式',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDomainSlsStatus' => [
'summary' => '查询指定域名的全量日志分析的状态和对应日志库。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105444',
'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要查询的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'SlsLogstore' => ['description' => '对应的日志库。', 'type' => 'string', 'example' => 'ddoscoo-logstore'],
'SlsStatus' => ['description' => '是否启用全量日志分析功能:'."\n"
.'- **true**:表示已启用'."\n"
.'- **false**:表示已关闭', 'type' => 'boolean', 'example' => 'true'],
'SlsProject' => ['description' => '对应的日志项目名称。', 'type' => 'string', 'example' => 'ddoscoo-project-xxxx-cn-hangzhou'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsLogstore\\": \\"ddoscoo-logstore\\",\\n \\"SlsStatus\\": true,\\n \\"SlsProject\\": \\"ddoscoo-project-xxxx-cn-hangzhou\\",\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<SlsProject>ddoscoo-project-xxxx-cn-hangzhou</SlsProject>\\n<SlsStatus>true</SlsStatus>\\n<SlsLogstore>ddoscoo-logstore</SlsLogstore>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询全量日志分析的状态和对应日志库',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDomains' => [
'summary' => '调用DescribeDomains查询7层转发规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105443',
'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要查询的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'],
],
[
'name' => 'QueryDomainPattern',
'in' => 'query',
'schema' => ['description' => '查询匹配模式。取值:'."\n"
."\n"
.'- **fuzzy**:模糊查询(默认)'."\n"
.'- **exact**:精确查询', 'type' => 'string', 'required' => false, 'example' => 'fuzzy'],
],
[
'name' => 'Offset',
'in' => 'query',
'schema' => ['description' => '开始索引位置,即从第几条结果开始显示。默认从**0**开始。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页大小,即每页显示多少条记录。最大值**10**。 ', 'type' => 'string', 'required' => true, 'example' => '10'],
],
[
'name' => 'InstanceIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'DDoS高防实例ID。若指定多个实例,依次传入InstanceIds.1, InstanceIds.2, InstanceIds.3, ...',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => false,
'example' => 'ddoscoo-cn-XXXXXX',
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Total' => ['description' => '域名总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Domains' => [
'description' => '域名列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'SslCiphers' => ['description' => 'SSL加密套件类型。', 'type' => 'string', 'example' => 'xx'],
'CcRuleEnabled' => ['description' => '是否启用CC规则。', 'type' => 'boolean', 'example' => 'true'],
'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'www.aliyun.com'],
'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'testCertName'],
'SslProtocols' => ['description' => 'SSL协议类型。', 'type' => 'string', 'example' => 'xx'],
'Cname' => ['description' => 'DDoS高防实例分配的CNAME地址。', 'type' => 'string', 'example' => 'xxxxxxx.aliyunddos1006.com'],
'Http2Enable' => ['description' => '是否开启HTTP2。', 'type' => 'boolean', 'example' => 'true'],
'CcTemplate' => ['description' => 'CC防护模板。', 'type' => 'string', 'example' => 'normal'],
'CcEnabled' => ['description' => '是否启用CC防护。', 'type' => 'boolean', 'example' => 'true'],
'ProxyTypeList' => [
'description' => '协议类型列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ProxyType' => ['description' => '协议类型。取值:'."\n"
."\n"
.'- **http**'."\n"
.'- **https**'."\n"
.'- **websocket**'."\n"
.'- **websockets**', 'type' => 'string', 'example' => 'http'],
'ProxyPorts' => [
'type' => 'array',
'items' => ['description' => '协议端口。', 'type' => 'string', 'example' => '111'],
],
],
],
],
'RealServers' => [
'description' => '源站列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'RsType' => ['description' => '源站类型。取值:'."\n"
."\n"
.'- **0**:IP'."\n"
.'- **1**:域名', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'RealServer' => ['description' => '源站地址。', 'type' => 'string', 'example' => '1.1.1.1'],
],
],
],
'BlackList' => [
'type' => 'array',
'items' => ['description' => '黑名单IP列表。', 'type' => 'string', 'example' => '["1.1.1.1/1","1.1.1.2/2"]'],
],
'WhiteList' => [
'type' => 'array',
'items' => ['description' => '白名单IP列表。', 'type' => 'string', 'example' => '["1.1.1.1/1","1.1.1.2/2"]'],
],
'CertRegion' => ['type' => 'string'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Domains\\": [\\n {\\n \\"SslCiphers\\": \\"xx\\",\\n \\"CcRuleEnabled\\": true,\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"CertName\\": \\"testCertName\\",\\n \\"SslProtocols\\": \\"xx\\",\\n \\"Cname\\": \\"xxxxxxx.aliyunddos1006.com\\",\\n \\"Http2Enable\\": true,\\n \\"CcTemplate\\": \\"normal\\",\\n \\"CcEnabled\\": true,\\n \\"ProxyTypeList\\": [\\n {\\n \\"ProxyType\\": \\"http\\",\\n \\"ProxyPorts\\": [\\n \\"111\\"\\n ]\\n }\\n ],\\n \\"RealServers\\": [\\n {\\n \\"RsType\\": 0,\\n \\"RealServer\\": \\"1.1.1.1\\"\\n }\\n ],\\n \\"BlackList\\": [\\n \\"[\\\\\\"1.1.1.1/1\\\\\\",\\\\\\"1.1.1.2/2\\\\\\"]\\"\\n ],\\n \\"WhiteList\\": [\\n \\"[\\\\\\"1.1.1.1/1\\\\\\",\\\\\\"1.1.1.2/2\\\\\\"]\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Total>2</Total>\\n<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n<Domains>\\n <Domain>www.alibaba.com</Domain>\\n <ProxyTypeList>\\n <ProxyType>http</ProxyType>\\n <ProxyPorts>80</ProxyPorts>\\n <ProxyPorts>8080</ProxyPorts>\\n </ProxyTypeList>\\n <RealServers>\\n <RealServer>1.1.1.1</RealServer>\\n <RsType>0</RsType>\\n </RealServers>\\n <RealServers>\\n <RealServer>1.1.1.2</RealServer>\\n <RsType>1</RsType>\\n </RealServers>\\n <CcEnabled>false</CcEnabled>\\n <Cname>xxxxxxx.aliyunddos1006.com</Cname>\\n <CcRuleEnabled>true</CcRuleEnabled>\\n <CcTemplate>default</CcTemplate>\\n <BlackList>1.1.1.1/1</BlackList>\\n <BlackList>1.1.1.2/2</BlackList>\\n <WhiteList>1.1.1.1/1</WhiteList>\\n <WhiteList>1.1.1.2/2</WhiteList>\\n <CertName>www_alibaba_com.pem</CertName>\\n</Domains>\\n<Domains>\\n <Domain>www.alibaba.com</Domain>\\n <ProxyTypeList>\\n <ProxyType>http</ProxyType>\\n <ProxyPorts>80</ProxyPorts>\\n <ProxyPorts>8080</ProxyPorts>\\n </ProxyTypeList>\\n <RealServers>\\n <RealServer>1.1.1.1</RealServer>\\n <RsType>0</RsType>\\n </RealServers>\\n <RealServers>\\n <RealServer>1.1.1.2</RealServer>\\n <RsType>1</RsType>\\n </RealServers>\\n <CcEnabled>false</CcEnabled>\\n <Cname>xxxxxxx.aliyunddos1006.com</Cname>\\n <CcRuleEnabled>true</CcRuleEnabled>\\n <CcTemplate>default</CcTemplate>\\n <BlackList>1.1.1.1/1</BlackList>\\n <BlackList>1.1.1.2/2</BlackList>\\n <WhiteList>1.1.1.1/1</WhiteList>\\n <WhiteList>1.1.1.2/2</WhiteList>\\n <CertName>www_alibaba_com.pem</CertName>\\n</Domains>","errorExample":"{\\n \\"Total\\": 2,\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Domains\\": [\\n \\t{\\n\\t\\t\\"Domain\\": \\"www.alibaba.com\\",\\n\\t\\t\\"ProxyTypeList\\": [{\\n \\t\\t\\"ProxyType\\":\\"http\\",\\n \\t\\t\\"ProxyPorts\\":[\\n \\t\\t\\t80,\\n \\t\\t\\t8080\\n \\t\\t\\t\\t]\\n \\t}],\\n\\t\\t\\"RealServers\\": [{\\n\\t\\t\\t\\"RealServer\\": \\"1.1.1.1\\",\\n\\t\\t\\t\\"RsType\\":0\\n\\t\\t},{\\n\\t\\t\\t\\"RealServer\\": \\"1.1.1.2\\",\\n\\t\\t\\t\\"RsType\\":1\\n\\t\\t\\t}\\n\\t\\t],\\n\\t\\t\\"CcEnabled\\" : false,\\n\\t\\t\\"CcRuleEnabled\\" : true,\\n\\t\\t\\"CcTemplate\\" : \\"default\\",\\n\\t\\t\\"BlackList\\" : [\\"1.1.1.1/1\\",\\"1.1.1.2/2\\"],\\n\\t\\t\\"WhiteList\\" : [\\"1.1.1.1/1\\",\\"1.1.1.2/2\\"],\\n\\t\\t\\"CertName\\" : \\"www_alibaba_com.pem\\"\\n\\t},{\\n\\t\\t\\"Domain\\": \\"www.alibaba.com\\",\\n\\t\\t\\"ProxyTypeList\\": [{\\n \\t\\t\\"ProxyType\\":\\"http\\",\\n \\t\\t\\"ProxyPorts\\":[\\n \\t\\t\\t80,\\n \\t\\t\\t8080\\n \\t\\t\\t\\t]\\n \\t}],\\n\\t\\t\\"RealServers\\": [{\\n\\t\\t\\t\\"RealServer\\": \\"1.1.1.1\\",\\n\\t\\t\\t\\"RsType\\":0\\n\\t\\t},{\\n\\t\\t\\t\\"RealServer\\": \\"1.1.1.2\\",\\n\\t\\t\\t\\"RsType\\":1\\n\\t\\t\\t}\\n\\t\\t],\\n\\t\\t\\"CcEnabled\\" : false,\\n\\t\\t\\"CcRuleEnabled\\" : true,\\n\\t\\t\\"CcTemplate\\" : \\"default\\",\\n\\t\\t\\"BlackList\\" : [\\"1.1.1.1/1\\",\\"1.1.1.2/2\\"],\\n\\t\\t\\"WhiteList\\" : [\\"1.1.1.1/1\\",\\"1.1.1.2/2\\"],\\n\\t\\t\\"CertName\\" : \\"www_alibaba_com.pem\\"\\n\\t}\\n ]\\n}\\n\\t\\t\\t\\t"}]',
'title' => '查询已配置网站业务转发规则的域名',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeHealthCheckList' => [
'summary' => '查询端口转发规则的健康检查配置(四层或七层)。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105456',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Listeners',
'in' => 'query',
'schema' => ['description' => '要查询的Listeners数组JSON串,每个Listener的具体结构描述如下:'."\n"
."\n"
.'- **InstanceId**,String类型,必选,实例ID。'."\n"
.'- **Protocol**,String类型,必选,协议类型。'."\n"
.'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。'."\n"
.'- **BackendPort**,Integer类型,可选,后端使用的端口,取值范围:0-65535。'."\n"
.'- **RealServers**,Json数组类型,可选,源站IP地址。'."\n"
.'- **IsAutoCreate**,Boolean类型,可选,是否自动创建。如果是,则不允许删除和修改。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Listeners' => [
'description' => '返回的Listener信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'FrontendPort' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
'InstanceId' => ['description' => '新BGP高防实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
'Protocol' => ['description' => '协议类型。', 'type' => 'string', 'example' => 'tcp'],
'HealthCheck' => [
'description' => '健康检查信息。',
'type' => 'object',
'properties' => [
'Timeout' => ['description' => '健康检查/四层健康检查/响应超时时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
'Type' => ['description' => '协议类型,取值:'."\n"
."\n"
.'- **TCP**:四层'."\n"
.'- **HTTP**:七层', 'type' => 'string', 'example' => 'tcp'],
'Domain' => ['description' => '健康检查/七层健康检查/域名。', 'type' => 'string', 'example' => 'www.aliyun.com'],
'Interval' => ['description' => '健康检查/四层健康检查/检查间隔。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
'Up' => ['description' => '健康检查/四层健康检查/健康阈值。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
'Down' => ['description' => '健康检查/四层健康检查/不健康阈值。', 'type' => 'integer', 'format' => 'int32', 'example' => '500'],
'Port' => ['description' => '健康检查/四层健康检查/检查端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
'Uri' => ['description' => '健康检查/七层健康检查/检查路径。', 'type' => 'string', 'example' => '/a/b/c'],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Listeners\\": [\\n {\\n \\"FrontendPort\\": 233,\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"HealthCheck\\": {\\n \\"Timeout\\": 1000,\\n \\"Type\\": \\"tcp\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Interval\\": 15,\\n \\"Up\\": 1000,\\n \\"Down\\": 500,\\n \\"Port\\": 233,\\n \\"Uri\\": \\"/a/b/c\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<DescribeHealthCheckListResponse>\\n <HealthCheck>\\n <element>\\n <FrontendPort>80</FrontendPort>\\n <HealthCheck>\\n <Down>20</Down>\\n <Interval>10</Interval>\\n <Port>80</Port>\\n <Timeout>10</Timeout>\\n <Type>tcp</Type>\\n <Up>10</Up>\\n </HealthCheck>\\n <InstanceId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</InstanceId>\\n <Protocol>tcp</Protocol>\\n </element>\\n </HealthCheck>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</DescribeHealthCheckListResponse>","errorExample":"{\\n \\"Total\\": 1,\\n \\"HealthCheck\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"FrontendPort\\": 80,\\n \\"HealthCheck\\": {\\n \\"Type\\": \\"tcp\\",\\n \\"Timeout\\": 10,\\n \\"Port\\": 80,\\n \\"Interval\\": 10,\\n \\"Up\\": 10,\\n \\"Down\\": 20\\n }\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询健康检查配置',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeHealthCheckStatusList' => [
'summary' => '调用DescribeHealthCheckStatusList查询健康检查状态。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105457',
'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Listeners',
'in' => 'query',
'schema' => ['description' => '要查询的转发规则Listeners数组(JSON字符串),每个Listener的具体结构描述如下:'."\n"
."\n"
.'- **InstanceId**,String类型,必选,实例ID。'."\n"
.'- **Protocol**,String类型,必选,协议类型。'."\n"
.'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0-65535。'."\n"
.'- **BackendPort**,Integer类型,可选,后端使用的端口,取值范围:0-65535。'."\n"
.'- **RealServers**,Json数组类型,可选,源站IP地址。'."\n"
.'- **IsAutoCreate**,Boolean类型,可选,是否自动创建。如果是,则不允许删除和修改。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'HealthCheckStatusList' => [
'description' => '健康检查状态列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => ['description' => '状态,取值:**normal**、**abnormal**。 ', 'type' => 'string', 'example' => 'normal'],
'FrontendPort' => ['description' => '前端端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
'InstanceId' => ['description' => '实例Id。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
'Protocol' => ['description' => '协议类型。', 'type' => 'string', 'example' => 'tcp'],
'RealServerStatusList' => [
'description' => '源站状态JSON数组。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => ['description' => '状态,取值:**normal**、**abnormal**。 ', 'type' => 'string', 'example' => 'normal'],
'Address' => ['description' => '源站IP。', 'type' => 'string', 'example' => '1.1.1.1'],
],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"HealthCheckStatusList\\": [\\n {\\n \\"Status\\": \\"normal\\",\\n \\"FrontendPort\\": 233,\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"RealServerStatusList\\": [\\n {\\n \\"Status\\": \\"normal\\",\\n \\"Address\\": \\"1.1.1.1\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<DescribeHealthCheckStatusListResponse>\\n <HealthCheckStatusList>\\n <element>\\n <FrontendPort>80</FrontendPort>\\n <InstanceId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</InstanceId>\\n <Protocol>tcp</Protocol>\\n <RealServerStatusList>\\n <Address>1.1.1.1</Address>\\n <Status>normal</Status>\\n </RealServerStatusList>\\n <Status>normal</Status>\\n </element>\\n </HealthCheckStatusList>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</DescribeHealthCheckStatusListResponse>","errorExample":"{\\n \\"HealthCheckStatusList\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"FrontendPort\\": 80,\\n\\t \\"Status\\": \\"normal\\",\\n\\t \\"RealServerStatusList\\": [\\n \\"Status\\": \\"normal\\",\\n \\"Address\\": \\"1.1.1.1\\"\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询健康检查状态',
'description' => '查询健康检查状态列表',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeInstanceDetails' => [
'summary' => '调用DescribeInstanceDetails查询指定实例的详情信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105458',
'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'InstanceIds',
'in' => 'query',
'schema' => ['description' => '通过实例Id查询实例信息,传入要查询的实例Id数组(JSON字符串)。支持精确匹配。例如,`["ddoscoo-cn-XXXX1", "ddoscoo-cn-XXXX2"]`。', 'type' => 'string', 'required' => true, 'example' => '["ddoscoo-cn-XXXX1", "ddoscoo-cn-XXXX2"]'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'InstanceDetails' => [
'description' => '实例详情列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Line' => ['description' => '实例线路。例如,**coop-line-001**。 ', 'type' => 'string', 'example' => 'coop-line-001'],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
'EipInfoList' => [
'description' => '与该实例绑定的EIP信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => ['description' => 'EIP状态,取值:'."\n"
."\n"
.'- **normal**:正常'."\n"
.'- **cleaning**:清洗中'."\n"
.'- **blackhole**:黑洞中', 'type' => 'string', 'example' => 'normal'],
'Eip' => ['description' => 'EIP值。', 'type' => 'string', 'example' => '1.1.1.1'],
],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"InstanceDetails\\": [\\n {\\n \\"Line\\": \\"coop-line-001\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"EipInfoList\\": [\\n {\\n \\"Status\\": \\"normal\\",\\n \\"Eip\\": \\"1.1.1.1\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceDetailsResponse>\\n <InstanceDetails>\\n <element>\\n <EipInfoList>\\n <element>\\n <Eip>1.1.1.1</Eip>\\n <Status>normal</Status>\\n </element>\\n </EipInfoList>\\n <InstanceId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</InstanceId>\\n <Line>coop-line-001</Line>\\n </element>\\n </InstanceDetails>\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\n</DescribeInstanceDetailsResponse>","errorExample":"{\\n \\"InstanceDetails\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Line\\": \\"coop-line-001\\",\\n \\"EipInfoList\\": [\\n {\\n \\"Eip\\": \\"1.1.1.1\\",\\n \\"Status\\": \\"normal\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询DDoS高防实例的IP和线路信息',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeIpTraffic' => [
'summary' => '调用DescribeIpTraffic查询指定IP的业务流量信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105463',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xxx'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => '开始时间戳(秒)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1536734112'],
],
[
'name' => 'Interval',
'in' => 'query',
'schema' => ['description' => '采样间隔(秒),必须是60秒的倍数,默认值60s。采样结果可缩放。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => '结束时间戳(秒)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1536734120'],
],
[
'name' => 'Eip',
'in' => 'query',
'schema' => ['description' => '要查询的EIP地址。', 'type' => 'string', 'required' => true, 'example' => '1.1.1.1'],
],
[
'name' => 'Port',
'in' => 'query',
'schema' => ['description' => '要查询的端口。 '."\n"
."\n"
.'> 若不传入该参数,则查询EIP下所有端口的流量。 ', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '233'],
],
[
'name' => 'QueryProtocol',
'in' => 'query',
'schema' => ['description' => '要查询的协议类型。'."\n"
."\n"
.'> 若不传入该参数,则查询EIP下所有协议类型的流量。 ', 'type' => 'string', 'required' => false, 'example' => 'http'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AvgInBps' => ['description' => '平均入带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'MaxInBps' => ['description' => '最大入带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
'AvgOutBps' => ['description' => '平均出带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
'MaxOutBps' => ['description' => '最大出带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
'IpTrafficPoints' => [
'description' => '具体的时间点列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ActConns' => ['description' => '活跃的并发连接数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'Time' => ['description' => '时间点(时间戳),单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1536734112'],
'InactConns' => ['description' => '非活跃的并发连接数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'MaxInbps' => ['description' => '最大入带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
'MaxOutbps' => ['description' => '最大出带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
'Cps' => ['description' => '连接新建速率。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"AvgInBps\\": 10000,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"MaxInBps\\": 10000,\\n \\"AvgOutBps\\": 10000,\\n \\"MaxOutBps\\": 10000,\\n \\"IpTrafficPoints\\": [\\n {\\n \\"ActConns\\": 100,\\n \\"Time\\": 1536734112,\\n \\"InactConns\\": 100,\\n \\"MaxInbps\\": 10000,\\n \\"MaxOutbps\\": 10000,\\n \\"Cps\\": 100\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<MaxInBps>10000</MaxInBps>\\n<AvgInBps>10000</AvgInBps>\\n<MaxOutBps>10000</MaxOutBps>\\n<AvgOutBps>10000</AvgOutBps>\\n<IpTrafficPoints>\\n <Time>1536734112</Time>\\n <MaxInBps>10000</MaxInBps>\\n <MaxOutBps>10000</MaxOutBps>\\n <Cps>100</Cps>\\n <ActConns>100</ActConns>\\n <InactConns>100</InactConns>\\n</IpTrafficPoints>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询指定IP的业务流量信息',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeLayer4RuleAttributes' => [
'summary' => '包括会话保持和DDoS防护策略。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105465',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Listeners',
'in' => 'query',
'schema' => ['description' => '传入要查询的Listener数组JSON串,每个Listener的具体结构描述如下:'."\n"
."\n"
.'- **InstanceId**,String类型,必选,实例ID。'."\n"
.'- **Protocol**,String类型,必选,协议类型。'."\n"
.'- **FrontendPort**,Integer类型,必选,前端使用的端口,取值范围:0~65535。'."\n"
.'- **BackendPort**,Integer类型,可选,后端使用的端口,取值范围:0~65535。'."\n"
.'- **RealServers**,Json数组类型,可选,源站IP地址。'."\n"
.'- **IsAutoCreate**,Boolean类型,可选,是否自动创建。如果是,则不允许删除和修改。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Listeners' => [
'description' => 'Listener数组JSON串。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'FrontendPort' => ['description' => '前端使用的端口,范围:0~65535。', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
'Protocol' => ['description' => '协议类型。', 'type' => 'string', 'example' => 'tcp'],
'Config' => [
'description' => 'TCP配置。',
'type' => 'object',
'properties' => [
'NodataConn' => ['description' => 'DDoS防护策略的空连接,取值:**off**、**on**。 ', 'type' => 'string', 'example' => 'on'],
'Synproxy' => ['description' => 'DDoS防护策略的虚假源,取值:**off**、**on**。 ', 'type' => 'string', 'example' => 'on'],
'PersistenceTimeout' => ['description' => '会话保持的超时时间,单位为秒。默认为**0**,表示关闭。 ', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'Sla' => [
'description' => '目的限速配置。',
'type' => 'object',
'properties' => [
'MaxconnEnable' => ['description' => '是否开启目的并发连接限速,取值:'."\n"
."\n"
.'- **0**:关闭'."\n"
.'- **1**:开启(默认)', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'CpsEnable' => ['description' => '是否开启目的新建连接限速,取值:'."\n"
."\n"
.'- **0**:关闭'."\n"
.'- **1**:开启(默认)', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'Cps' => ['description' => '目的新建连接限速阈值,取值范围:100~100,000(个)。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'Maxconn' => ['description' => '目的并发连接限速阈值,取值范围:1,000~1,000,000(个)。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
],
],
'Slimit' => [
'description' => '源限速配置。',
'type' => 'object',
'properties' => [
'MaxconnEnable' => ['description' => '是否开启源并发连接限速,取值:'."\n"
."\n"
.'- **0**:关闭'."\n"
.'- **1**:开启(默认)', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'CpsEnable' => ['description' => '是否开启源新建连接限速,取值:'."\n"
."\n"
.'- **0**:关闭'."\n"
.'- **1**:开启(默认)', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'Cps' => ['description' => '源新建连接限速阈值,取值范围:100~100,000。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'Pps' => ['description' => '源PPS限速,单位Packet/s,取值范围:1~100000。'."\n"
."\n"
.'> 当参数值为**0**时,表示未开启源PPS限速。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Bps' => ['description' => '源带宽限速,单位Byte/s,取值范围:1024~68435456。'."\n"
."\n"
.'> 当参数值为**0**时,表示未开启源带宽限速。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Maxconn' => ['description' => '源并发连接限速阈值,取值范围:1,000~1,000,000。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
'CpsMode' => ['description' => '源新建连接限速状态,取值:'."\n"
."\n"
.'- **1**:手动'."\n"
.'- **2**:自动', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
'PayloadLen' => [
'description' => '包过滤配置。',
'type' => 'object',
'properties' => [
'Min' => ['description' => 'DDoS防护策略/包长度过滤,包长度的最小值。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Max' => ['description' => 'DDoS防护策略/包长度过滤,包长度的最大值。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
'Cc' => [
'description' => '源连接配置。',
'type' => 'object',
'properties' => [
'Sblack' => [
'description' => '源连接IP黑名单配置。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Type' => ['description' => 'IP黑名单配置类型,取值:'."\n"
."\n"
.'- **1**:表示源新建连接IP黑名单。'."\n"
.'- **2**:表示源并发连接IP黑名单。'."\n"
.'- **3**:表示源PPS连接IP黑名单。'."\n"
.'- **4**:表示源带宽连接IP黑名单。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'During' => ['description' => '间隔时长。单位秒,固定取值**60**。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
'Expires' => ['description' => '黑名单有效时长,单位秒,取值范围:60~604800。', 'type' => 'integer', 'format' => 'int32', 'example' => '1800'],
'Cnt' => ['description' => '新建连接次数,固定取值**5**。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Listeners\\": [\\n {\\n \\"FrontendPort\\": 233,\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"Config\\": {\\n \\"NodataConn\\": \\"on\\",\\n \\"Synproxy\\": \\"on\\",\\n \\"PersistenceTimeout\\": 0,\\n \\"Sla\\": {\\n \\"MaxconnEnable\\": 0,\\n \\"CpsEnable\\": 0,\\n \\"Cps\\": 100,\\n \\"Maxconn\\": 1000\\n },\\n \\"Slimit\\": {\\n \\"MaxconnEnable\\": 0,\\n \\"CpsEnable\\": 0,\\n \\"Cps\\": 100,\\n \\"Pps\\": 0,\\n \\"Bps\\": 0,\\n \\"Maxconn\\": 1000,\\n \\"CpsMode\\": 2\\n },\\n \\"PayloadLen\\": {\\n \\"Min\\": 1,\\n \\"Max\\": 2\\n },\\n \\"Cc\\": {\\n \\"Sblack\\": [\\n {\\n \\"Type\\": 1,\\n \\"During\\": 60,\\n \\"Expires\\": 1800,\\n \\"Cnt\\": 5\\n }\\n ]\\n }\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Listeners>\\n <InstanceId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</InstanceId>\\n <Protocol>tcp</Protocol>\\n <FrontendPort>80</FrontendPort>\\n <Config>\\n <Cc>\\n <Sblack>\\n <Type>1</Type>\\n <Cnt>5</Cnt>\\n <Expires>1800</Expires>\\n <During>60</During>\\n </Sblack>\\n </Cc>\\n <PersistenceTimeout>80</PersistenceTimeout>\\n <Synproxy>off</Synproxy>\\n <NodataConn>on</NodataConn>\\n <Sla>\\n <Cps>10</Cps>\\n <Maxconn>10</Maxconn>\\n <CpsEnable>1</CpsEnable>\\n <MaxconnEnable>1</MaxconnEnable>\\n </Sla>\\n <Slimit>\\n <bps>0</bps>\\n <Cps>10</Cps>\\n <Maxconn>10</Maxconn>\\n <CpsEnable>1</CpsEnable>\\n <MaxconnEnable>1</MaxconnEnable>\\n <pps>0</pps>\\n </Slimit>\\n <PayloadLen>\\n <Min>1</Min>\\n <Max>2</Max>\\n </PayloadLen>\\n </Config>\\n</Listeners>\\n<RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>","errorExample":"{\\n \\"Total\\": 1,\\n \\"Listeners\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"FrontendPort\\": 80,\\n \\"Config\\": {\\n \\"PersistenceTimeout\\": 80,\\n \\"Synproxy\\": \\"off\\",\\n\\t\\t\\"NodataConn\\": \\"on\\",\\n \\"Sla\\": {\\n \\"Cps\\": 10,\\n \\"Maxconn\\": 10,\\n\\t\\t \\"CpsEnable\\": 1,\\n\\t\\t \\"MaxconnEnable\\": 1\\n },\\n \\"Slimit\\": {\\n \\"Cps\\": 10,\\n \\"Maxconn\\": 10,\\n\\t\\t \\"CpsEnable\\": 1,\\n\\t\\t \\"MaxconnEnable\\": 1\\n },\\n \\"PayloadLen\\": {\\n \\"Min\\": 1,\\n \\"Max\\": 2\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询四层转发属性',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeLayer4Rules' => [
'summary' => '调用DescribeLayer4Rules查询DDoS高防实例端口转发规则的详细配置。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105466',
'abilityTreeNodes' => ['FEATUREddosRTUJBH'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源ip。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '要查询的DDoS高防实例的ID。'."\n"
."\n"
.'> 您可以调用[DescribeInstances](~~91478~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-zvp2ay9b****'],
],
[
'name' => 'ForwardProtocol',
'in' => 'query',
'schema' => ['description' => '转发协议类型。取值:'."\n"
.'- **tcp**:表示TCP协议。'."\n"
.'- **udp**:表示UDP协议。', 'type' => 'string', 'required' => false, 'example' => 'tcp'],
],
[
'name' => 'FrontendPort',
'in' => 'query',
'schema' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '233'],
],
[
'name' => 'Offset',
'in' => 'query',
'schema' => ['description' => '分页查询时,返回第几页数据。最小值为**1**,表示返回第1页数据。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页查询时,每页包含结果的数量。最大值为**50**,表示每页最多包含50个结果。', 'type' => 'string', 'required' => true, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Total' => ['description' => '返回结果的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '949919A2-6636-1444-9213-AB27DD88AAA8'],
'Listeners' => [
'description' => '端口转发规则的详细配置,包含转发端口、转发协议、源站地址等。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'FrontendPort' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
'BakMode' => ['description' => '回源模式。取值:'."\n"
."\n"
.'- **0**:表示默认回源模式。'."\n"
.'- **1**:表示主备回源模式。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'IsAutoCreate' => ['description' => '该规则是否自动创建。取值:'."\n"
."\n"
.'- **true**:表示该规则由DDoS高防自动创建。'."\n"
.'- **false**:表示该规则由您手动创建。', 'type' => 'boolean', 'example' => 'false'],
'Remark' => ['description' => '该端口转发规则的备注。', 'type' => 'string', 'example' => 'test-remark'],
'Eip' => ['description' => 'DDoS高防实例的IP。', 'type' => 'string', 'example' => '203.107.XX.XX'],
'CurrentIndex' => ['description' => '当前生效的源站类型。取值:'."\n"
."\n"
.'- **1**:表示主源站设置生效(DDoS高防将业务流量转发到主源站IP地址)。'."\n"
.'- **2**:表示备源站设置生效(DDoS高防将业务流量转发到备源站IP地址)。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Protocol' => ['description' => '转发协议类型。', 'type' => 'string', 'example' => 'tcp'],
'InstanceId' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-zvp2ay9b****'],
'BackendPort' => ['description' => '源站端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
'RealServers' => [
'description' => '源站IP地址列表。',
'type' => 'array',
'items' => ['description' => '源站IP地址。', 'type' => 'string', 'example' => '["192.0.XX.XX"]'],
],
'ProxyEnable' => ['description' => '引流开关。取值:'."\n"
.'- **0** 关闭。'."\n"
.'- **1** 开启。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'ProxyStatus' => ['description' => '引流状态。取值:'."\n"
."\n"
.'- on:引流生效'."\n"
.'- off:引流失效', 'type' => 'string', 'example' => 'on'],
'PayloadRuleEnable' => ['description' => 'Payload策略模块开关。取值:'."\n"
."\n"
.'- 1:开启'."\n"
.'- 0:关闭', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'UsTimeout' => [
'type' => 'object',
'properties' => [
'ConnectTimeout' => ['type' => 'integer', 'format' => 'int64'],
'RsTimeout' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"949919A2-6636-1444-9213-AB27DD88AAA8\\",\\n \\"Listeners\\": [\\n {\\n \\"FrontendPort\\": 233,\\n \\"BakMode\\": 0,\\n \\"IsAutoCreate\\": false,\\n \\"Remark\\": \\"test-remark\\",\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"CurrentIndex\\": 1,\\n \\"Protocol\\": \\"tcp\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2ay9b****\\",\\n \\"BackendPort\\": 233,\\n \\"RealServers\\": [\\n \\"[\\\\\\"192.0.XX.XX\\\\\\"]\\"\\n ],\\n \\"ProxyEnable\\": 0,\\n \\"ProxyStatus\\": \\"on\\",\\n \\"PayloadRuleEnable\\": 0,\\n \\"UsTimeout\\": {\\n \\"ConnectTimeout\\": 0,\\n \\"RsTimeout\\": 0\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<DescribeLayer4RulesResponse>\\n\\t<Listeners>\\n\\t\\t<IsAutoCreate>false</IsAutoCreate>\\n\\t\\t<InstanceId>ddoscoo-cn-zvp2ay9b****</InstanceId>\\n\\t\\t<BackendPort>233</BackendPort>\\n\\t\\t<BakMode>0</BakMode>\\n\\t\\t<RealServers>192.0.XX.XX</RealServers>\\n\\t\\t<FrontendPort>233</FrontendPort>\\n\\t\\t<CurrentIndex>1</CurrentIndex>\\n\\t\\t<Protocol>udp</Protocol>\\n\\t\\t<Eip>203.107.XX.XX</Eip>\\n\\t\\t<Remark>test-remark</Remark>\\n\\t</Listeners>\\n\\t<RequestId>949919A2-6636-1444-9213-AB27DD88AAA8</RequestId>\\n\\t<Total>1</Total>\\n</DescribeLayer4RulesResponse>","errorExample":"{\\n \\"Total\\": 1,\\n \\"Listeners\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"FrontendPort\\": 80,\\n\\t \\"BackendPort\\":80,\\n \\"RealServers\\": [\\n \\"1.1.1.1\\",\\n \\"2.2.2.2\\"\\n ],\\n \\"IsAutoCreate\\": true\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '查询指定实例的四层转发规则',
'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~91858~~)。'."\n"
."\n"
.'调用API的请求格式,请参见本文**示例**中的请求示例。',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeLayer7CCRules' => [
'summary' => '调用DescribeLayer7CCRules查询7层CC规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105467',
'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要查询的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
[
'name' => 'Offset',
'in' => 'query',
'schema' => ['description' => '开始索引位置,即从第几个结果开始返回。 '."\n"
."\n"
.'> 若不传入该参数,则从第0个结果开始返回。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页大小,即每页显示过少个结果。最大值**10**。 ', 'type' => 'string', 'required' => true, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Total' => ['description' => '规则总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Layer7CCRules' => [
'description' => 'CC规则数组。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Ttl' => ['description' => '若规则触发后动作指定为封禁,设置封禁时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
'Act' => ['description' => '规则触发后的操作,取值:'."\n"
."\n"
.'- **close**:封禁'."\n"
.'- **captcha**:人机识别', 'type' => 'string', 'example' => 'close'],
'Interval' => ['description' => '间隔时间,与**Count**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。 ', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
'Mode' => ['description' => 'URI匹配模式,取值:'."\n"
."\n"
.'- **match**:完全匹配。访问请求的URI与指定的Uri完全相同,才计入访问次数。'."\n"
.'- **prefix**:前缀匹配。访问请求的URI包含指定的Uri,则计入访问次数。', 'type' => 'string', 'example' => 'match'],
'Name' => ['description' => 'CC自定义规则名。', 'type' => 'string', 'example' => 'testCcRule1'],
'Uri' => ['description' => '被防护的URI。', 'type' => 'string', 'example' => '/a/b/c'],
'Count' => ['description' => '访问次数,与**Interval**结合使用。当同一个IP在Interval指定的间隔时间内连续访问Count中指定的访问次数,则触发规则。 ', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Layer7CCRules\\": [\\n {\\n \\"Ttl\\": 1000,\\n \\"Act\\": \\"close\\",\\n \\"Interval\\": 60,\\n \\"Mode\\": \\"match\\",\\n \\"Name\\": \\"testCcRule1\\",\\n \\"Uri\\": \\"/a/b/c\\",\\n \\"Count\\": 100\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DescribeLayer7CCRulesResponse>\\r\\n <Layer7CCRules>\\r\\n <element>\\r\\n <Act>close</Act>\\r\\n <Count>11</Count>\\r\\n <Interval>5</Interval>\\r\\n <Mode>match</Mode>\\r\\n <Name>XXXX</Name>\\r\\n <Ttl>1</Ttl>\\r\\n <Uri>/a/b/c.htm</Uri>\\r\\n </element>\\r\\n <element>\\r\\n <Act>close</Act>\\r\\n <Count>11</Count>\\r\\n <Interval>5</Interval>\\r\\n <Mode>match</Mode>\\r\\n <Name>XXXX</Name>\\r\\n <Ttl>1</Ttl>\\r\\n <Uri>/a/b/c.htm</Uri>\\r\\n </element>\\r\\n </Layer7CCRules>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n <Total>10</Total>\\r\\n</DescribeLayer7CCRulesResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Total\\": 10,\\n \\"Layer7CCRules\\" :[\\n \\t{\\n\\t\\t\\"Name\\":\\"XXXX\\",\\n\\t\\t\\"Act\\":\\"close\\",\\n\\t\\t\\"Count\\":11,\\n\\t\\t\\"Interval\\":5,\\n\\t\\t\\"Mode\\":\\"match\\",\\n\\t\\t\\"Ttl\\":1,\\n\\t\\t\\"Uri\\":\\"/a/b/c.htm\\"\\n\\t},{\\n\\t\\t\\"Name\\":\\"XXXX\\",\\n\\t\\t\\"Act\\":\\"close\\",\\n\\t\\t\\"Count\\":11,\\n\\t\\t\\"Interval\\":5,\\n\\t\\t\\"Mode\\":\\"match\\",\\n\\t\\t\\"Ttl\\":1,\\n\\t\\t\\"Uri\\":\\"/a/b/c.htm\\"\\n\\t}\\n ]\\n}\\n"}]',
'title' => '查询7层CC规则',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeOpEntities' => [
'summary' => '调用DescribeOpEntities查询操作日志。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105469',
'abilityTreeNodes' => ['FEATUREddosHFA00W'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'EntityType',
'in' => 'query',
'schema' => ['description' => '过滤条件对象,取值:'."\n"
."\n"
.'- **1**:表示IP。'."\n"
.'- **2**:表示抗D包。'."\n"
.'- **3**:表示ECS。'."\n"
."\n"
.'> 结合**EntityObject**参数,根据指定的过滤条件对象进行精确匹配,筛选操作日志记录。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'EntityObject',
'in' => 'query',
'schema' => ['description' => '过滤条件内容,仅支持精确匹配。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => '开始时间。格式为时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1534123558000'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => '结束时间。格式为时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1536715558000'],
],
[
'name' => 'PageNo',
'in' => 'query',
'schema' => ['description' => '页号,即从第几页开始显示。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页大小,即每页显示多少条结果。最大值50。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
],
[
'name' => 'OpAction',
'in' => 'query',
'schema' => ['type' => 'integer', 'format' => 'int32'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Total' => ['description' => '记录总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'OpEntities' => [
'description' => '操作日志。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'EntityType' => ['description' => '操作对象类型。取值:**1**(IP类型)。 ', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'EntityObject' => ['description' => '操作对象的值,即操作的IP地址。', 'type' => 'string', 'example' => '2.2.2.2'],
'GmtCreate' => ['description' => '创建日志的时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1536715558000'],
'OpAction' => ['description' => '操作类型。取值:**1**(修改弹性带宽)。 ', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'OpAccount' => ['description' => '操作人。', 'type' => 'string', 'example' => '123'],
'OpDesc' => ['description' => '操作详情。OpDesc的JSON字符串,具体结构描述如下:'."\n"
."\n"
.'- **oldValue**,Struct类型,旧值,具体结构描述如下:'."\n"
.' - **elasticBandwidth**,Integer类型,弹性带宽值。'."\n"
.'- **newValue**,Struct类型,新值,具体结构描述如下:'."\n"
.' - **elasticBandwidth**,Integer类型,弹性带宽值。', 'type' => 'string', 'example' => '{"newEntity":{"elasticBandwidth":30},"oldEntity":{"elasticBandwidth":200}}'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"OpEntities\\": [\\n {\\n \\"EntityType\\": 1,\\n \\"EntityObject\\": \\"2.2.2.2\\",\\n \\"GmtCreate\\": 1536715558000,\\n \\"OpAction\\": 1,\\n \\"OpAccount\\": \\"123\\",\\n \\"OpDesc\\": \\"{\\\\\\"newEntity\\\\\\":{\\\\\\"elasticBandwidth\\\\\\":30},\\\\\\"oldEntity\\\\\\":{\\\\\\"elasticBandwidth\\\\\\":200}}\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<DescribeOpEntitiesResponse>\\n <OpEntities>\\n <element>\\n <entityObject>1.1.1.1</entityObject>\\n <gmtCreate>1120384</gmtCreate>\\n <opAction>2</opAction>\\n <opDesc>\\n <newValue>\\n <elasticBandwidth>30</elasticBandwidth>\\n </newValue>\\n <oldValue>\\n <elasticBandwidth>10</elasticBandwidth>\\n </oldValue>\\n </opDesc>\\n <opResult>1</opResult>\\n </element>\\n </OpEntities>\\n <Total>10</Total>\\n</DescribeOpEntitiesResponse>","errorExample":"{\\n \\"Total\\": 10,\\n \\"OpEntities\\": [\\n {\\n \\"gmtCreate\\": 1120384,\\n \\"entityObject\\": \\"1.1.1.1\\",\\n \\"opAction\\": 2,\\n \\"opDesc\\": {\\n\\t \\"oldValue\\": {\\n\\t\\t \\"elasticBandwidth\\": 10\\n\\t\\t},\\n\\t\\t\\"newValue\\": {\\n\\t\\t \\"elasticBandwidth\\": 30\\n\\t\\t}\\n\\t },\\n \\"opResult\\": 1\\n }\\n ]\\n}\\n"}]',
'title' => '查询操作日志',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeSimpleDomains' => [
'summary' => '调用DescribeSimpleDomains查询已接入DDoS高防的域名列表。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105484',
'abilityTreeNodes' => ['FEATUREddos64TBV6'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'InstanceIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'DDoS高防实例ID。若指定多个实例,依次传入InstanceIds.1, InstanceIds.2, InstanceIds.3, ...'."\n"
."\n"
.'> 若不指定,则默认查询所有实例。',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => false,
'example' => 'ddoscoo-cn-XXXXXX',
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'DomainList' => [
'type' => 'array',
'items' => ['description' => '域名列表。', 'type' => 'string', 'example' => '["1.example.com","2.example.com"]'],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainList\\": [\\n \\"[\\\\\\"1.example.com\\\\\\",\\\\\\"2.example.com\\\\\\"]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DomainList>1.example.com</DomainList>\\n<DomainList>2.example.com</DomainList>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询已接入DDoS高防的域名列表',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeSlsEmptyCount' => [
'summary' => '调用DescribeSlsEmptyCount查询剩余日志库清空次数。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105486',
'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AvailableCount' => ['description' => '可用的日志库清空次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"AvailableCount\\": 0,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<AvailableCount>0</AvailableCount>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查询剩余日志库清空次数',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribleCertList' => [
'summary' => '调用DescribleCertList查询所有证书列表。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105494',
'abilityTreeNodes' => ['FEATUREddos64TBV6'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要查询的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'],
],
[
'name' => 'DomainList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'title' => '域名列表',
'type' => 'array',
'items' => ['title' => '列表中的域名', 'type' => 'string'],
'maxItems' => 10,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'CertList' => [
'description' => '证书列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'EndDate' => ['description' => '证书到期日期。', 'type' => 'string', 'example' => '2020-09-23'],
'DomainRelated' => ['description' => '是否已绑定域名配置。', 'type' => 'boolean', 'example' => 'false'],
'StartDate' => ['description' => '证书开始日期。', 'type' => 'string', 'example' => '2019-09-24'],
'Issuer' => ['description' => '证书签发者。', 'type' => 'string', 'example' => 'DigiCert Inc'],
'Name' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'testCertName'],
'Common' => ['description' => '证书绑定的域名。', 'type' => 'string', 'example' => 'www.aliyun.com'],
'Id' => ['description' => '证书ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '123'],
'CertIdentifier' => ['type' => 'string'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"CertList\\": [\\n {\\n \\"EndDate\\": \\"2020-09-23\\",\\n \\"DomainRelated\\": false,\\n \\"StartDate\\": \\"2019-09-24\\",\\n \\"Issuer\\": \\"DigiCert Inc\\",\\n \\"Name\\": \\"testCertName\\",\\n \\"Common\\": \\"www.aliyun.com\\",\\n \\"Id\\": 123\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>1F2AD7D5-EDB6-4E4B-B81F-8AA68B2E3340</RequestId>\\n<CertList>\\n <Name>leidantest</Name>\\n <Issuer>Alibaba</Issuer>\\n <EndDate>2029-06-07</EndDate>\\n <DomainRelated>false</DomainRelated>\\n <StartDate>2019-06-10</StartDate>\\n <Id>2329174</Id>\\n <Common>www.aliyun.com</Common>\\n</CertList>","errorExample":""}]',
'title' => '查询所有证书列表',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribleLayer7InstanceRelations' => [
'summary' => '调用DescribleLayer7InstanceRelations查询七层防护实例和EIP的对应关系。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105495',
'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'DomainList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '要查询的域名列表。',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => true,
'example' => 'www.aliyun.com',
'maxItems' => 20,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Layer7InstanceRelations' => [
'description' => '七层实例的防护关系列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'www.aliyun.com'],
'InstanceDetails' => [
'description' => '实例信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'IpMode' => ['type' => 'string'],
'FunctionVersion' => ['description' => '功能版本,取值:'."\n"
."\n"
.'- **default**:标准版'."\n"
.'- **enhance**:增强版', 'type' => 'string', 'example' => 'default'],
'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'],
'IpVersion' => ['type' => 'string'],
'EipList' => [
'type' => 'array',
'items' => ['description' => '绑定的EIP列表。', 'type' => 'string', 'example' => '["203.107.0.0"]'],
],
],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Layer7InstanceRelations\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"InstanceDetails\\": [\\n {\\n \\"FunctionVersion\\": \\"default\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-XXXXX\\",\\n \\"EipList\\": [\\n \\"[\\\\\\"203.107.0.0\\\\\\"]\\"\\n ]\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DescribleLayer7InstanceRelationsResponse>\\r\\n <Layer7InstanceRelations>\\r\\n <element>\\r\\n <Domain>1.aliyun.com</Domain>\\r\\n <InstanceDetails>\\r\\n <element>\\r\\n <EipList>\\r\\n <element>203.x.x.0</element>\\r\\n <element>203.x.x.1</element>\\r\\n </EipList>\\r\\n <InstanceId>xxxxxx</InstanceId>\\r\\n </element>\\r\\n <element>\\r\\n <EipList>\\r\\n <element>203.x.x.0</element>\\r\\n <element>203.x.x.1</element>\\r\\n </EipList>\\r\\n <FunctionVersion>default</FunctionVersion>\\r\\n <InstanceId>xxxxxx</InstanceId>\\r\\n </element>\\r\\n </InstanceDetails>\\r\\n </element>\\r\\n </Layer7InstanceRelations>\\r\\n</DescribleLayer7InstanceRelationsResponse>","errorExample":"{\\n \\"Layer7InstanceRelations\\":[\\n {\\n \\"Domain\\":\\"1.aliyun.com\\",\\n \\"InstanceDetails\\":[\\n {\\n \\"EipList\\":[\\n \\"203.x.x.0\\",\\n \\"203.x.x.1\\"\\n ],\\n \\"InstanceId\\":\\"xxxxxx\\"\\n },\\n {\\n \\"EipList\\":[\\n \\"203.x.x.0\\",\\n \\"203.x.x.1\\"\\n ],\\n \\"InstanceId\\":\\"xxxxxx\\"\\n }\\n ]\\n }\\n ]\\n}\\n\\t\\t\\t\\t"}]',
'title' => '查询七层防护实例和EIP的对应关系',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DisableLayer7CC' => [
'summary' => '调用DisableLayer7CC为指定域名禁用7层CC防护。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105497',
'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DisableLayer7CCResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DisableLayer7CCResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名禁用7层CC防护',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DisableLayer7CCRule' => [
'summary' => '调用DisableLayer7CCRule为指定域名禁用7层CC规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105498',
'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<DisableLayer7CCRuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</DisableLayer7CCRuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名禁用7层CC规则',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'EnableLayer7CC' => [
'summary' => '调用EnableLayer7CC为指定域名启用7层CC防护。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105503',
'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<EnableLayer7CCResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</EnableLayer7CCResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名启用7层CC防护',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'EnableLayer7CCRule' => [
'summary' => '调用EnableLayer7CCRule为指定域名启用7层CC规则。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105504',
'abilityTreeNodes' => ['FEATUREddosOZ1QOD'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要操作的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<EnableLayer7CCRuleResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</EnableLayer7CCRuleResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '为指定域名启用7层CC规则',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListLayer7CustomPorts' => [
'summary' => '调用ListLayer7CustomPorts获取7层转发规则中可添加的端口列表。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105507',
'abilityTreeNodes' => ['FEATUREddosN7DYCX'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'Layer7CustomPorts' => [
'description' => '可添加的端口信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Flag' => ['type' => 'string'],
'ProxyType' => ['description' => '协议类型。', 'type' => 'string', 'example' => 'https'],
'ProxyPorts' => [
'type' => 'array',
'items' => ['description' => '端口列表。', 'type' => 'string', 'example' => '[443,4443,5443,6443,7443,7988,8443,9443,8553,8663,9553,9663,10050,10443,18980,30050]'],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Layer7CustomPorts\\": [\\n {\\n \\"ProxyType\\": \\"https\\",\\n \\"ProxyPorts\\": [\\n \\"[443,4443,5443,6443,7443,7988,8443,9443,8553,8663,9553,9663,10050,10443,18980,30050]\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Layer7CustomPorts>\\n <ProxyPorts>80</ProxyPorts>\\n <ProxyPorts>83</ProxyPorts>\\n <ProxyPorts>84</ProxyPorts>\\n <ProxyPorts>88</ProxyPorts>\\n <ProxyPorts>89</ProxyPorts>\\n <ProxyPorts>800</ProxyPorts>\\n <ProxyPorts>808</ProxyPorts>\\n <ProxyPorts>1000</ProxyPorts>\\n <ProxyPorts>1090</ProxyPorts>\\n <ProxyPorts>3333</ProxyPorts>\\n <ProxyPorts>3501</ProxyPorts>\\n <ProxyPorts>3601</ProxyPorts>\\n <ProxyPorts>5000</ProxyPorts>\\n <ProxyPorts>5222</ProxyPorts>\\n <ProxyPorts>6001</ProxyPorts>\\n <ProxyPorts>6666</ProxyPorts>\\n <ProxyPorts>7000</ProxyPorts>\\n <ProxyPorts>7001</ProxyPorts>\\n <ProxyPorts>7002</ProxyPorts>\\n <ProxyPorts>7003</ProxyPorts>\\n <ProxyPorts>7004</ProxyPorts>\\n <ProxyPorts>7005</ProxyPorts>\\n <ProxyPorts>7006</ProxyPorts>\\n <ProxyPorts>7009</ProxyPorts>\\n <ProxyPorts>7010</ProxyPorts>\\n <ProxyPorts>7011</ProxyPorts>\\n <ProxyPorts>7012</ProxyPorts>\\n <ProxyPorts>7013</ProxyPorts>\\n <ProxyPorts>7014</ProxyPorts>\\n <ProxyPorts>7015</ProxyPorts>\\n <ProxyPorts>7016</ProxyPorts>\\n <ProxyPorts>7018</ProxyPorts>\\n <ProxyPorts>7019</ProxyPorts>\\n <ProxyPorts>7020</ProxyPorts>\\n <ProxyPorts>7021</ProxyPorts>\\n <ProxyPorts>7022</ProxyPorts>\\n <ProxyPorts>7023</ProxyPorts>\\n <ProxyPorts>7024</ProxyPorts>\\n <ProxyPorts>7025</ProxyPorts>\\n <ProxyPorts>7026</ProxyPorts>\\n <ProxyPorts>7060</ProxyPorts>\\n <ProxyPorts>7070</ProxyPorts>\\n <ProxyPorts>7081</ProxyPorts>\\n <ProxyPorts>7082</ProxyPorts>\\n <ProxyPorts>7083</ProxyPorts>\\n <ProxyPorts>7088</ProxyPorts>\\n <ProxyPorts>7097</ProxyPorts>\\n <ProxyPorts>7777</ProxyPorts>\\n <ProxyPorts>7800</ProxyPorts>\\n <ProxyPorts>8000</ProxyPorts>\\n <ProxyPorts>8001</ProxyPorts>\\n <ProxyPorts>8002</ProxyPorts>\\n <ProxyPorts>8003</ProxyPorts>\\n <ProxyPorts>8008</ProxyPorts>\\n <ProxyPorts>8009</ProxyPorts>\\n <ProxyPorts>8020</ProxyPorts>\\n <ProxyPorts>8021</ProxyPorts>\\n <ProxyPorts>8022</ProxyPorts>\\n <ProxyPorts>8025</ProxyPorts>\\n <ProxyPorts>8026</ProxyPorts>\\n <ProxyPorts>8077</ProxyPorts>\\n <ProxyPorts>8078</ProxyPorts>\\n <ProxyPorts>8080</ProxyPorts>\\n <ProxyPorts>8081</ProxyPorts>\\n <ProxyPorts>8082</ProxyPorts>\\n <ProxyPorts>8083</ProxyPorts>\\n <ProxyPorts>8084</ProxyPorts>\\n <ProxyPorts>8085</ProxyPorts>\\n <ProxyPorts>8086</ProxyPorts>\\n <ProxyPorts>8087</ProxyPorts>\\n <ProxyPorts>8088</ProxyPorts>\\n <ProxyPorts>8089</ProxyPorts>\\n <ProxyPorts>8090</ProxyPorts>\\n <ProxyPorts>8091</ProxyPorts>\\n <ProxyPorts>8106</ProxyPorts>\\n <ProxyPorts>8181</ProxyPorts>\\n <ProxyPorts>8334</ProxyPorts>\\n <ProxyPorts>8336</ProxyPorts>\\n <ProxyPorts>8800</ProxyPorts>\\n <ProxyPorts>8686</ProxyPorts>\\n <ProxyPorts>8787</ProxyPorts>\\n <ProxyPorts>8888</ProxyPorts>\\n <ProxyPorts>8889</ProxyPorts>\\n <ProxyPorts>8999</ProxyPorts>\\n <ProxyPorts>9000</ProxyPorts>\\n <ProxyPorts>9001</ProxyPorts>\\n <ProxyPorts>9002</ProxyPorts>\\n <ProxyPorts>9003</ProxyPorts>\\n <ProxyPorts>9080</ProxyPorts>\\n <ProxyPorts>9200</ProxyPorts>\\n <ProxyPorts>9999</ProxyPorts>\\n <ProxyPorts>10000</ProxyPorts>\\n <ProxyPorts>10001</ProxyPorts>\\n <ProxyPorts>10080</ProxyPorts>\\n <ProxyPorts>12601</ProxyPorts>\\n <ProxyPorts>86</ProxyPorts>\\n <ProxyPorts>9021</ProxyPorts>\\n <ProxyPorts>9023</ProxyPorts>\\n <ProxyPorts>9027</ProxyPorts>\\n <ProxyPorts>9037</ProxyPorts>\\n <ProxyPorts>9081</ProxyPorts>\\n <ProxyPorts>9082</ProxyPorts>\\n <ProxyPorts>9201</ProxyPorts>\\n <ProxyPorts>9205</ProxyPorts>\\n <ProxyPorts>9207</ProxyPorts>\\n <ProxyPorts>9208</ProxyPorts>\\n <ProxyPorts>9209</ProxyPorts>\\n <ProxyPorts>9210</ProxyPorts>\\n <ProxyPorts>9211</ProxyPorts>\\n <ProxyPorts>9212</ProxyPorts>\\n <ProxyPorts>9213</ProxyPorts>\\n <ProxyPorts>48800</ProxyPorts>\\n <ProxyPorts>87</ProxyPorts>\\n <ProxyPorts>97</ProxyPorts>\\n <ProxyPorts>7510</ProxyPorts>\\n <ProxyPorts>9180</ProxyPorts>\\n <ProxyPorts>9898</ProxyPorts>\\n <ProxyPorts>9908</ProxyPorts>\\n <ProxyPorts>9916</ProxyPorts>\\n <ProxyPorts>9918</ProxyPorts>\\n <ProxyPorts>9919</ProxyPorts>\\n <ProxyPorts>9928</ProxyPorts>\\n <ProxyPorts>9929</ProxyPorts>\\n <ProxyPorts>9939</ProxyPorts>\\n <ProxyPorts>28080</ProxyPorts>\\n <ProxyPorts>33702</ProxyPorts>\\n <ProxyType>http</ProxyType>\\n</Layer7CustomPorts>\\n<Layer7CustomPorts>\\n <ProxyPorts>443</ProxyPorts>\\n <ProxyPorts>4443</ProxyPorts>\\n <ProxyPorts>5443</ProxyPorts>\\n <ProxyPorts>6443</ProxyPorts>\\n <ProxyPorts>7443</ProxyPorts>\\n <ProxyPorts>7988</ProxyPorts>\\n <ProxyPorts>8443</ProxyPorts>\\n <ProxyPorts>9443</ProxyPorts>\\n <ProxyPorts>8553</ProxyPorts>\\n <ProxyPorts>8663</ProxyPorts>\\n <ProxyPorts>9553</ProxyPorts>\\n <ProxyPorts>9663</ProxyPorts>\\n <ProxyPorts>10050</ProxyPorts>\\n <ProxyPorts>10443</ProxyPorts>\\n <ProxyPorts>18980</ProxyPorts>\\n <ProxyPorts>30050</ProxyPorts>\\n <ProxyType>https</ProxyType>\\n</Layer7CustomPorts>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '获取7层转发规则中可添加的端口列表',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListAsyncTask' => [
'summary' => '调用ListAsyncTask查询异步任务列表。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105506',
'abilityTreeNodes' => ['FEATUREddos64TBV6'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'PageNo',
'in' => 'query',
'schema' => ['description' => '当前页数,从**1**开始。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页大小,最大值**20**。 ', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Total' => ['description' => '域名总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'AsyncTasks' => [
'description' => '任务列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'EndTime' => ['description' => '任务结束时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1533866201000'],
'TaskType' => ['description' => '任务类型,取值:'."\n"
."\n"
.'- **1**:4层转发规则批量导出任务'."\n"
.'- **2**:7层防护规则批量导出任务'."\n"
.'- **3**:会话和健康检查配置导出任务'."\n"
.'- **4**:DDoS防护策略导出任务', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'StartTime' => ['description' => '任务开始时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1533866201000'],
'TaskParams' => ['description' => '任务执行参数,为一个JSONObject类型的字符串,具体结构描述如下:'."\n"
."\n"
.'- **instanceId**,String类型,新BGP高防实例ID。'."\n"
.'- **domain**,String类型,用户域名。', 'type' => 'string', 'example' => '{"instanceId": "ddoscoo-1234-qrq2134"}'],
'TaskStatus' => ['description' => '任务状态,取值:'."\n"
."\n"
.'- **0**:任务初始化'."\n"
.'- **1**:任务进行中'."\n"
.'- **2**:任务成功'."\n"
.'- **3**:任务失败', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'TaskResult' => ['description' => '任务执行结果,JSONObject类型的字符串,具体结构描述如下:'."\n"
."\n"
.'- **instanceId**,String类型,新BGP高防实例ID。'."\n"
.'- **url**,String类型,文件下载OSS地址。', 'type' => 'string', 'example' => '{"instanceId": "ddoscoo-1234-qrq2134", "url": "https://oss.xxx.xxx"}'],
'TaskId' => ['description' => '任务ID,使用该ID可进行任务的删除操作。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"AsyncTasks\\": [\\n {\\n \\"EndTime\\": 1533866201000,\\n \\"TaskType\\": 1,\\n \\"StartTime\\": 1533866201000,\\n \\"TaskParams\\": \\"{\\\\\\"instanceId\\\\\\": \\\\\\"ddoscoo-1234-qrq2134\\\\\\"}\\",\\n \\"TaskStatus\\": 1,\\n \\"TaskResult\\": \\"{\\\\\\"instanceId\\\\\\": \\\\\\"ddoscoo-1234-qrq2134\\\\\\", \\\\\\"url\\\\\\": \\\\\\"https://oss.xxx.xxx\\\\\\"}\\",\\n \\"TaskId\\": 123\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<ListAsyncTaskResponse>\\r\\n <AsyncTasks>\\r\\n <element>\\r\\n <EndTime>156927362</EndTime>\\r\\n <StartTime>156927362</StartTime>\\r\\n <TaskId>1</TaskId>\\r\\n <TaskParams />\\r\\n <TaskResult />\\r\\n <TaskStatus>2</TaskStatus>\\r\\n <TaskType>1</TaskType>\\r\\n </element>\\r\\n </AsyncTasks>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n <Total>2</Total>\\r\\n</ListAsyncTaskResponse>","errorExample":"{\\n \\"Total\\": 2,\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"AsyncTasks\\": [\\n \\t{\\n\\t\\t\\"TaskId\\": 1,\\n\\t \\"TaskType\\": 1,\\n\\t \\"TaskStatus\\": 2,\\n\\t \\"StartTime\\": 156927362,\\n\\t \\t\\"EndTime\\": 156927362\\n\\t \\"TaskParams\\": \\"{}\\", // 四层任务:{\\"instanceId\\": \\"ddoscoo-1234-qrq2134\\"},七层任务:{\\"domain\\": \\"www.aliyun.com\\"}\\n \\t \\"TaskResult\\": \\"{}\\" // 四层任务:{\\"instanceId\\": \\"ddoscoo-1234-qrq2134\\", \\"url\\": \\"https://oss.xxx.xxx\\"},七层任务:{\\"domain\\": \\"www.aliyun.com\\", \\"url\\": \\"https://oss.xxx.xxx\\"},会话&健康检查任务:{\\"instanceId\\": \\"ddoscoo-1234-qrq2134\\", \\"url\\": \\"https://oss.xxx.xxx\\"},DDoS防护策略任务:{\\"instanceId\\": \\"ddoscoo-1234-qrq2134\\", \\"url\\": \\"https://oss.xxx.xxx\\"}\\n\\t}\\n ]\\n}\\n"}]',
'title' => '查询异步任务列表',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListTagKeys' => [
'summary' => '调用ListTagKeys接口查询所有标签。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105508',
'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '要查询的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型,取值:**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页查询时设置的每页行数,最大值为**50**,默认值为**10**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => ['description' => '列表的页码,起始值为**1**,默认值为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'CurrentPage' => ['description' => '列表的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '97935DF1-0289-4AA2-9DD1-72377838B16B'],
'PageSize' => ['description' => '每页的行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['description' => '标签的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
'TagKeys' => [
'description' => '标签信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'TagCount' => ['description' => '标签键下标签值的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'a'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"97935DF1-0289-4AA2-9DD1-72377838B16B\\",\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 6,\\n \\"TagKeys\\": [\\n {\\n \\"TagCount\\": 1,\\n \\"TagKey\\": \\"a\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<ListTagKeysResponse>\\r\\n <CurrentPage>1</CurrentPage>\\r\\n <PageSize>20</PageSize>\\r\\n <RequestId>97935DF1-0289-4AA2-9DD1-72377838B16B</RequestId>\\r\\n <TagKeys>\\r\\n <element>\\r\\n <TagCount>1</TagCount>\\r\\n <TagKey>a</TagKey>\\r\\n </element>\\r\\n <element>\\r\\n <TagCount>1</TagCount>\\r\\n <TagKey>testKey1</TagKey>\\r\\n </element>\\r\\n <element>\\r\\n <TagCount>1</TagCount>\\r\\n <TagKey>testKey2</TagKey>\\r\\n </element>\\r\\n <element>\\r\\n <TagCount>2</TagCount>\\r\\n <TagKey>testKey3</TagKey>\\r\\n </element>\\r\\n <element>\\r\\n <TagCount>1</TagCount>\\r\\n <TagKey>testKey4</TagKey>\\r\\n </element>\\r\\n <element>\\r\\n <TagCount>1</TagCount>\\r\\n <TagKey>x</TagKey>\\r\\n </element>\\r\\n </TagKeys>\\r\\n <TotalCount>6</TotalCount>\\r\\n</ListTagKeysResponse>","errorExample":""}]',
'title' => '查询所有标签',
],
'ListTagResources' => [
'summary' => '查询资源(DDoS高防实例)和标签的对应关系。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105509',
'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'DDoS高防实例的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型,取值:**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '指定下一个查询开始的Token。如果没有下一个查询,请留空。', 'type' => 'string', 'required' => false, 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '指定要查询的DDoS高防实例ID,查询实例的标签。n的取值范围为 \\[1, 50],用于指定多个实例,最多50个。例如:ResourceId.1,ResourceId.2,...,ResourceId.50。'."\n"
.'> 您必须指定**ResourceId**或者**Tag.Key**和**Tag.Value**组合。',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => false,
'example' => 'ddoscoo-cn-o4017n9q9004',
'maxItems' => 51,
],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['description' => '指定要查询的标签键,查询标签下的实例。n的取值范围为 \\[1, 20],用于指定多个标签键,最多20个。例如:Tag.1.Key,Tag.2.Key,...,Tag.20.Key。'."\n"
.'> 您必须指定**ResourceId**或者**Tag.Key**和**Tag.Value**组合。', 'type' => 'string', 'example' => 'testKey1'],
'Value' => ['description' => '指定要查询的标签值,查询标签下的实例。n的取值范围为 \\[1, 20],用于指定多个标签值,最多20个。例如:Tag.1.Value,Tag.2.Value,...,Tag.20.Value。'."\n"
.'> 您必须指定**ResourceId**或者**Tag.Key**和**Tag.Value**组合。指定标签值时,必须指定标签键;指定标签键后,标签值可以留空。', 'type' => 'string', 'example' => 'testValue1'],
],
],
'required' => false,
'maxItems' => 21,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '下一个查询开始的Token。没有下一个查询时为空。', 'type' => 'string', 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr'],
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C3F7E6AE-43B2-4730-B6A3-FD17552B8F65'],
'TagResources' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'TagResource' => [
'description' => '资源和标签的关系列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'testValue1'],
'ResourceType' => ['description' => '资源类型,取值:**INSTANCE**。', 'type' => 'string', 'example' => 'INSTANCE'],
'ResourceId' => ['description' => 'DDoS高防实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-o4017n9q9004'],
'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'testKey1'],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr\\",\\n \\"RequestId\\": \\"C3F7E6AE-43B2-4730-B6A3-FD17552B8F65\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagValue\\": \\"testValue1\\",\\n \\"ResourceType\\": \\"INSTANCE\\",\\n \\"ResourceId\\": \\"ddoscoo-cn-o4017n9q9004\\",\\n \\"TagKey\\": \\"testKey1\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<ListTagResourcesResponse>\\r\\n <NextToken>RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr</NextToken>\\r\\n <RequestId>C3F7E6AE-43B2-4730-B6A3-FD17552B8F65</RequestId>\\r\\n <TagResources>\\r\\n <TagResource>\\r\\n <element>\\r\\n <ResourceId>ddoscoo-cn-o4017n9q9004</ResourceId>\\r\\n <ResourceType>INSTANCE</ResourceType>\\r\\n <TagKey>testKey4</TagKey>\\r\\n <TagValue>testValue4</TagValue>\\r\\n </element>\\r\\n </TagResource>\\r\\n </TagResources>\\r\\n</ListTagResourcesResponse>","errorExample":""}]',
'title' => '查询资源和标签的对应关系',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListValueAdded' => [
'summary' => '查看DDoS高防增值服务(全量日志分析)信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105510',
'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
'ValueAddedList' => [
'description' => 'DDoS高防增值服务信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'LogSize' => ['description' => '日志库容量,单位:Byte(字节)。', 'type' => 'integer', 'format' => 'int64', 'example' => '5497558138880'],
'GmtCreate' => ['description' => '服务开通时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1575527305000'],
'Status' => ['description' => '开通状态:'."\n"
.'- **0**:表示未开通'."\n"
.'- **1**:表示已开通', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'InstanceId' => ['description' => '服务实例ID。', 'type' => 'string', 'example' => 'ddos_fl_pre-cn-xxxx'],
'ExpireTime' => ['description' => '服务到期时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1580918400000'],
'StoreRegion' => ['type' => 'string'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"ValueAddedList\\": [\\n {\\n \\"LogSize\\": 5497558138880,\\n \\"GmtCreate\\": 1575527305000,\\n \\"Status\\": 1,\\n \\"InstanceId\\": \\"ddos_fl_pre-cn-xxxx\\",\\n \\"ExpireTime\\": 1580918400000\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ValueAddedList>\\n <Status>1</Status>\\n <GmtCreate>1575527305000</GmtCreate>\\n <LogSize>5497558138880</LogSize>\\n <InstanceId>ddos_fl_pre-cn-xxxx</InstanceId>\\n <ExpireTime>1580918400000</ExpireTime>\\n</ValueAddedList>\\n<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '查看增值服务信息',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ModifyInstanceRemark' => [
'summary' => '调用ModifyInstanceRemark修改指定实例的备注信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105515',
'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '要操作的实例ID。单次请求只支持修改一个实例的备注信息。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-XXXXX'],
],
[
'name' => 'Remark',
'in' => 'query',
'schema' => ['description' => '新的备注信息。', 'type' => 'string', 'required' => false, 'example' => '测试备注名1'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<ModifyInstanceRemarkResponse>\\r\\n <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>\\r\\n</ModifyInstanceRemarkResponse>","errorExample":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]',
'title' => '修改指定实例的备注信息',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'OpenDomainSlsConfig' => [
'summary' => '调用OpenDomainSlsConfig为指定域名启用全量日志分析功能。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105519',
'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => '系统语言ID。', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'xx'],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['description' => '要启用全量日志分析功能的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '为指定域名启用全量日志分析功能',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ReleaseInstance' => [
'summary' => '释放实例',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'high',
'chargeType' => 'free',
'abilityTreeCode' => '105521',
'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['type' => 'string'],
],
],
],
],
'responseDemo' => '',
],
'ReleaseValueAdded' => [
'summary' => '释放DDoS高防增值服务实例(全量日志分析功能)。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105522',
'abilityTreeNodes' => ['FEATUREddosVFFSV8'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '增值服务实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ddos_fl_pre-cn-xxxx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</RequestId>","errorExample":""}]',
'title' => '释放增值服务实例',
'description' => '> 该接口将释放全量日志分析服务实例,请谨慎调用。',
],
'TagResources' => [
'summary' => '为指定资源(DDoS高防实例)绑定标签。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105524',
'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'DDoS高防实例的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源的类型,取值:**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '要操作的DDoS高防实例的ID。n的取值范围为 \\[1, 50],用于指定多个实例,最多50个。例如:ResourceId.1,ResourceId.2,...,ResourceId.50。',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => true,
'example' => 'ddoscoo-cn-v0h1fmwbc024',
'maxItems' => 51,
],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['description' => '要绑定的标签键。n的取值范围为 \\[1, 20],用于指定多个标签键,最多20个。例如:Tag.1.Key,Tag.2.Key,...,Tag.20.Key。', 'type' => 'string', 'example' => 'testKey1'],
'Value' => ['description' => '要绑定的标签值。n的取值范围为 \\[1, 20],用于指定多个标签值,最多20个。例如:Tag.1.Value,Tag.2.Value,...,Tag.20.Value。', 'type' => 'string', 'example' => 'testValue1'],
],
],
'required' => false,
'maxItems' => 21,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '7078CD1E-F609-47A4-9C39-B288CC27C686'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7078CD1E-F609-47A4-9C39-B288CC27C686\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<TagResourcesResponse>\\r\\n <requestId>7078CD1E-F609-47A4-9C39-B288CC27C686</requestId>\\r\\n</TagResourcesResponse>","errorExample":""}]',
'title' => '为指定资源绑定标签',
],
'UntagResources' => [
'summary' => '移除指定资源(DDoS高防实例)的标签。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '105526',
'abilityTreeNodes' => ['FEATUREddosMHU3MF'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'DDoS高防实例的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型,取值:**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'All',
'in' => 'query',
'schema' => ['description' => '是否移除实例上的所有标签。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '要操作的DDoS高防实例的ID。n的取值范围为 \\[1, 50],用于指定多个实例,最多50个。例如:ResourceId.1,ResourceId.2,...,ResourceId.50。',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => true,
'example' => 'ddoscoo-cn-v0h1fmwbc024',
'maxItems' => 51,
],
],
[
'name' => 'TagKey',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '要移除的标签键。n的取值范围为 \\[1, 20],用于指定多个标签键,最多20个。例如:Tag.1.Key,Tag.2.Key,...,Tag.20.Key。',
'type' => 'array',
'items' => ['type' => 'string'],
'required' => false,
'example' => 'testKey1',
'maxItems' => 21,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F2D86AED-BA27-4584-BADC-B43BDA7EEBCA'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F2D86AED-BA27-4584-BADC-B43BDA7EEBCA\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\r\\n<UntagResourcesResponse>\\r\\n <requestId>F2D86AED-BA27-4584-BADC-B43BDA7EEBCA</requestId>\\r\\n</UntagResourcesResponse>","errorExample":""}]',
'title' => '移除指定资源标签',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
],
'endpoints' => [
['regionId' => 'cn-hangzhou', 'endpoint' => 'ddoscoo.cn-hangzhou.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'endpoint' => 'ddoscoo.ap-southeast-1.aliyuncs.com'],
],
];
|