1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'RPC', 'product' => 'VpcIpam', 'version' => '2023-02-28'],
'directories' => [
[
'children' => ['RemoveIpamMembers', 'ListIpamMembers', 'AddIpamMembers'],
'type' => 'directory',
'title' => 'IPAM多账号管理',
'id' => 305631,
],
[
'children' => ['OpenVpcIpamService', 'GetVpcIpamServiceStatus', 'CreateIpam', 'DeleteIpam', 'UpdateIpam', 'ListIpams'],
'type' => 'directory',
'title' => 'IPAM',
'id' => 89719,
],
[
'children' => ['CreateIpamScope', 'DeleteIpamScope', 'UpdateIpamScope', 'ListIpamScopes', 'ListIpamResourceCidrs'],
'type' => 'directory',
'title' => 'IPAM作用范围',
'id' => 170709,
],
[
'children' => ['CreateIpamPool', 'DeleteIpamPool', 'UpdateIpamPool', 'ListIpamPools', 'AddIpamPoolCidr', 'DeleteIpamPoolCidr', 'ListIpamPoolCidrs', 'CreateIpamPoolAllocation', 'DeleteIpamPoolAllocation', 'UpdateIpamPoolAllocation', 'GetIpamPoolAllocation', 'ListIpamPoolAllocations', 'GetIpamPoolNextAvailableCidr'],
'type' => 'directory',
'title' => 'IPAM地址池',
'id' => 89732,
],
[
'children' => ['CreateIpamResourceDiscovery', 'DeleteIpamResourceDiscovery', 'UpdateIpamResourceDiscovery', 'ListIpamResourceDiscoveries', 'AssociateIpamResourceDiscovery', 'DissociateIpamResourceDiscovery', 'ListIpamResourceDiscoveryAssociations', 'ListIpamDiscoveredResource', 'ListIpamDiscoveredIpAddresses'],
'type' => 'directory',
'title' => '资源发现',
'id' => 89752,
],
[
'children' => ['ChangeResourceGroup', 'ListTagResources', 'TagResources', 'UntagResources'],
'title' => '其他',
'type' => 'directory',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'AddIpamMembers' => [
'summary' => '添加IPAM可信服务纳管成员。',
'path' => '',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。'."\n"
."\n"
.'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会添加IPAM可信服务纳管成员。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并添加IPAM可信服务纳管成员。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
."\n"
.'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**可能不一样。', 'type' => 'string', 'required' => false, 'example' => ' '."\n"
.'123e4567-e89b-12d3-a456-426655440000'],
],
[
'name' => 'Members',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'IPAM可信服务纳管成员。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'MemberId' => ['description' => '成员ID。'."\n"
."\n"
.'- **Folder ID**:资源夹ID。'."\n"
."\n"
.'- **Account UID**:资源目录成员账号UID。', 'type' => 'string', 'required' => false, 'example' => 'fd-ccccncASqa'],
'MemberType' => [
'description' => '成员类型,取值:'."\n"
."\n"
.'- **Folder**:资源夹。'."\n"
."\n"
.'- **Account**:资源目录成员账号。',
'type' => 'string',
'required' => false,
'enumValueTitles' => ['Account' => '资源目录成员账号', 'Folder' => '资源夹'],
'example' => 'Folder',
'enum' => ['Account', 'Folder'],
],
],
'required' => false,
'description' => '',
],
'required' => true,
'maxItems' => 10,
'minItems' => 1,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => 'BaseResult',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BB2C39DE-CEB8-595A-981A-F2EFCBE7324E'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'OperationDenied.MemberIdNotMatchMemberType', 'errorMessage' => 'The operation is not allowed because the Member ID and Member Type of members [%s] in the input parameters do not match.', 'description' => '入参Members中[%s]的Member Id和Member Type不匹配。'],
['errorCode' => 'OperationDenied.MemberExistInIpamRDService', 'errorMessage' => 'The operation is not allowed because %s is under the management of the IPAM.', 'description' => '入参中%s已经被IPAM可信服务纳管,不允许重复纳管相同的member。'],
['errorCode' => 'QuotaExceeded.MemberAccount', 'errorMessage' => 'The operation is not allowed because the number of % managed by IPAM has exceeded the limit, %s/%s.', 'description' => 'IPAM可信服务纳管的成员账号超过Quota限制。'],
['errorCode' => 'OperationDenied.IpamResourceDiscoveryAlreadySharedWithAdmin', 'errorMessage' => 'The operation is not allowed because the resource discovery has been shared with the IPAM delegated administrator by %s.', 'description' => 'IPAM可信服务不允许纳管已经将自己的资源发现共享给委派管理员的账号。'],
['errorCode' => 'OperationDenied.IpamRDServiceAlreadyEnabledInOtherRegion', 'errorMessage' => 'The operation is not allowed because the IPAM Resource Directory service is already enabled in another region.', 'description' => '只允许选择一个地域的一个IPAM实例纳管资源目录成员。'],
['errorCode' => 'OperationDenied.AccountNotRDEntity', 'errorMessage' => 'The operation is not allowed because the caller does not belong to the resource directory.', 'description' => '调用者不属于任何资源目录,不允许纳管IPAM可信服务成员。'],
['errorCode' => 'OperationDenied.NotDelegatedAdminAccount', 'errorMessage' => 'The operation is not allowed because the caller is not the delegated IPAM admin for the resource directory.', 'description' => '调用者不是所在资源目录的IPAM可信服务委派管理员,不允许纳管IPAM可信服务成员。'],
['errorCode' => 'OperationDenied.IpamNotExist', 'errorMessage' => 'The operation is not allowed because the IPAM does not exist.', 'description' => '当前地域IPAM不存在,不允许纳管IPAM可信服务成员。'],
['errorCode' => 'OperationDenied.DelegateAdminAsMember', 'errorMessage' => 'The operation is not allowed because the IPAM delegate administrator cannot be a member.', 'description' => 'IPAM委派管理员不能添加自己作为IPAM可信服务的成员。'],
['errorCode' => 'OperationDenied.NoServicePrincipalAdminPrivileges', 'errorMessage' => 'The operation is not allowed because the caller is not the delegated IPAM admin for the resource directory.', 'description' => '调用者不是所在资源目录的IPAM可信服务委派管理员,不允许纳管IPAM可信服务成员。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '添加IPAM可信服务纳管成员',
'description' => '- IPAM多账号管理仅支持资源目录IPAM委派管理员进行操作。'."\n"
.'- 仅允许IPAM委派管理员选择一个地域的IPAM进行多账号管理,支持纳管的成员账号总计不超过1000。'."\n"
.'<notice>当纳管成员为Folder类型时,按Folder下包含的资源目录成员账号计数。</notice>'."\n"
.'- 纳管成员类型包含Folder和Account'."\n"
.' - Folder:IPAM委派管理员可查看Folder下所有资源目录成员账号在IPAM生效地域的IP使用情况;'."\n"
.' - Account:IPAM委派管理员可查看指定资源目录账号在IPAM生效地域的IP使用情况。'."\n"
.'- 已纳管成员不允许将资源发现共享给IPAM委派管理员,IPAM委派管理员也不允许纳管已将资源发现共享给自己的成员。'."\n"
.'- IPAM委派管理员首次添加纳管成员后,资源目录IPAM可信服务开启。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BB2C39DE-CEB8-595A-981A-F2EFCBE7324E\\"\\n}","type":"json"}]',
],
'AddIpamPoolCidr' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '173978',
'abilityTreeNodes' => ['FEATUREvpcNCDGSE'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。'."\n"
."\n"
.'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamPoolId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-pool-6rcq3tobayc20t****'],
],
[
'name' => 'Cidr',
'in' => 'query',
'schema' => ['description' => '要预置的CIDR地址段。'."\n"
."\n"
.'> 私网顶级池仅支持通过输入CIDR地址段的方式进行预置。', 'type' => 'string', 'required' => false, 'example' => '192.168.1.0/24'],
],
[
'name' => 'NetmaskLength',
'in' => 'query',
'schema' => ['description' => '通过掩码的方式预置CIDR地址段。'."\n"
."\n"
.'> 公网IPv6顶级池仅支持通过掩码的方式进行预置。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '24'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会为IPAM地址池预置CIDR地址段。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => 'BaseResult',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '558BC336-8B88-53B0-B4AD-980EE900AB01'],
'Cidr' => ['description' => '地址池成功预置的CIDR地址段。', 'type' => 'string', 'example' => '192.168.1.0/24'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IllegalParam.IpVersion', 'errorMessage' => 'The specified IpVersion is illegal.', 'description' => 'IpVersion参数不合法。'."\n"],
['errorCode' => 'UnsupportedFeature.PublicIpamScopeType', 'errorMessage' => 'The feature of PublicIpamScopeType is not supported.', 'description' => '您指定的IPAM暂不支持创建Public类型的作用范围。'],
['errorCode' => 'IllegalParam.IpamPool', 'errorMessage' => 'The specified IPAM pool cannot be empty.', 'description' => 'IPAM Pool不可以为空。'],
['errorCode' => 'OperationDenied.PoolRegionNotSupportAddPoolCidr', 'errorMessage' => 'The operation is not allowed because pool region does not support adding CIDR.', 'description' => '操作被拒绝,因为无法在该地域执行添加地址池CIDR的操作。'],
['errorCode' => 'OperationDenied.CidrConflictWithTopCidrs', 'errorMessage' => 'The operation is not allowed because the input CIDR conflicts with existing top CIDRs.', 'description' => '操作被拒绝,因为输入的CIDR与已存在的顶级池CIDR冲突。'],
['errorCode' => 'OperationDenied.SourceCidrIsNull', 'errorMessage' => 'The operation is not allowed because the source CIDR is null.', 'description' => '操作被拒绝,因为父地址池没有CIDR.'],
['errorCode' => 'OperationDenied.CidrNotInSourceCidr', 'errorMessage' => 'The operation is not allowed because the input CIDR is not in source CIDR.', 'description' => '操作被拒绝,因为输入的CIDR不在父池CIDR的范围内。'],
['errorCode' => 'ResourceNotFound.SourceIpamPool', 'errorMessage' => 'The dependent source IPAM pool is not found.', 'description' => '依赖资源源IPAM Pool不存在。'],
['errorCode' => 'OperationDenied.CidrConflictWithExistAllocation', 'errorMessage' => 'The operation is not allowed because the input CIDR conflicts with the existing allocation.', 'description' => '操作被拒绝,因为输入的CIDR与已分配的CIDR冲突。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'IllegalParam.Cidr', 'errorMessage' => 'The specified CIDR is illegal.', 'description' => '指定的CIDR不合法。'],
['errorCode' => 'QuotaExceeded.IpamCidrQuotaPerIpamPool', 'errorMessage' => 'The quota of ipamCidrQuotaPerIpamPool count is exceeded.', 'description' => 'IPAM地址池允许的CIDR数量超过限制。'],
['errorCode' => 'OperationDenied.OperateShareResource', 'errorMessage' => 'The operation is not allowed because the instance is a shared resource.', 'description' => '该实例是共享资源,不允许操作。'],
['errorCode' => 'IncorrectStatus.IpamPool', 'errorMessage' => 'The status of the IPAM pool is incorrect.', 'description' => 'IPAM地址池的状态不正确。'],
['errorCode' => 'MissingParam.CidrOrNetmaskLength', 'errorMessage' => 'The Cidr or NetmaskLength must be input.', 'description' => '为IPAM地址池预置地址段时,请输入Cidr或NetmaskLength。'],
['errorCode' => 'Mismatch.CidrAndPoolIpVersion', 'errorMessage' => 'The ip verion of input Cidr is inconsistent with that of the input IPAM pool.', 'description' => '输入的Cidr的IP地址协议版本与输入的IPAM地址池的IP地址协议版本不一致。'],
['errorCode' => 'Mismatch.CidrAndNetmaskLength', 'errorMessage' => 'The mask of the input Cidr is inconsistent with the input NetmaskLength.', 'description' => '输入的Cidr的掩码值和输入的NetmaskLength不一致。'],
['errorCode' => 'MissingParam.Cidr', 'errorMessage' => 'The Cidr must be input when adding CIDR for IPAM private top pool.', 'description' => '为IPAM私网顶级池预置地址段时,请输入Cidr。'],
['errorCode' => 'UnsupportedFeature.AddCidrForIpamPrivateIpv6Pool', 'errorMessage' => 'Adding CIDR for IPAM private IPv6 pool is not supported for this user.', 'description' => '当前用户不支持为IPAM私网IPv6地址池预置地址段。'],
['errorCode' => 'UnsupportedFeature.AddUlaCidrForIpamPublicIpv6Pool', 'errorMessage' => 'Adding ULA CIDR for IPAM public IPv6 pool is not supported.', 'description' => '不允许为IPAM公网IPv6地址池预置ULA地址段。'],
['errorCode' => 'IllegalParam.NetmaskLength', 'errorMessage' => 'The specified NetmaskLength is illegal.', 'description' => 'NetmaskLength参数不合法。'],
['errorCode' => 'OperationDenied.CidrConflictWithOfficialGuaCidrs', 'errorMessage' => 'The operation is not allowed because the input CIDR conflicts with official GUA CIDRs.', 'description' => '操作被拒绝,因为输入的CIDR与官方GUA CIDR冲突。'],
['errorCode' => 'OperationDenied.CidrUnavailableInPool', 'errorMessage' => 'The operation is not allowed because the CIDR is unavailable in the IPAM pool.', 'description' => '操作被拒绝,原因是CIDR在IPAM地址池中不可用。'],
['errorCode' => 'OperationDenied.AvailableCidrInsufficient', 'errorMessage' => 'The operation is not allowed because available CIDR is insufficient.', 'description' => '操作被拒绝,原因是可用的CIDR资源不足。'],
['errorCode' => 'OperationDenied.OfficialCidrInsufficient', 'errorMessage' => 'The operation is not allowed because the official CIDR is insufficient.', 'description' => '操作被拒绝,原因是官方可用的CIDR资源不足。'],
['errorCode' => 'OperationDenied.OfficialCidrUnavailable', 'errorMessage' => 'The operation is not allowed because the official CIDR is unavailable.', 'description' => '操作被拒绝,原因是CIDR已被占用。'],
['errorCode' => 'OperationDenied.OfficialCidrTmpUnavailable', 'errorMessage' => 'The operation is not allowed because the official CIDR is temporarily unavailable.', 'description' => '操作被拒绝,原因是官方CIDR资源暂时不可用。'],
['errorCode' => 'UnsupportedFeature.AddUlaCidrForIpamPrivateIpv6Pool', 'errorMessage' => 'Adding ULA CIDR for IPAM private IPv6 pool is not supported for this user.', 'description' => ''],
['errorCode' => 'UnsupportedFeature.AddByoipCidrForIpamPrivateIpv6Pool', 'errorMessage' => 'Adding BYOIP CIDR for IPAM private IPv6 pool is not supported for this user.', 'description' => ''],
['errorCode' => 'OperationDenied.CidrMaskTooSmall', 'errorMessage' => 'The operation is not allowed because the CIDR mask length %s is smaller than the minimum allowed %s.', 'description' => '操作被拒绝,CIDR掩码长度%s小于允许的最小值%s。'],
['errorCode' => 'OperationDenied.CidrMaskTooLarge', 'errorMessage' => 'The operation is not allowed because the CIDR mask length %s is larger than the maximum allowed %s.', 'description' => '操作被拒绝,CIDR掩码长度%s大于允许的最大值%s。'],
],
404 => [
['errorCode' => 'ResourceNotFound.IpamPool', 'errorMessage' => 'The dependent IPAM pool is not found.', 'description' => '依赖资源IPAM Pool不存在。'],
],
],
'title' => '为IPAM地址池预置CIDR地址段',
'summary' => '为IPAM地址池预置CIDR地址段。',
'description' => '- 预置CIDR前,请确保您已经创建了IPAM地址池。您可以通过调用**CreateIpamPool**创建地址池。'."\n"
.'- 若父地址池没有预置CIDR,则子地址池不支持预置CIDR。'."\n"
.'- 若父地址池预置了CIDR,则子地址池可以预置CIDR且预置的CIDR必须是父地址池预置CIDR的子集。'."\n"
.'- 若父地址池预置了CIDR同时也创建了CIDR分配,则子地址池预置的CIDR不能和已创建的CIDR分配冲突。'."\n"
.'- 为地址池预置CIDR地址段的请求需要从IPAM托管地域发起。'."\n"
.'- 为IPAM地址池预置的CIDR不能和相同作用范围内其他地址池预置的CIDR冲突。'."\n"
.'- 地址池预置CIDR的数量存在限制,公网IPv6顶级池默认最多为1个,其余类型的地址池默认最多为50个。',
'changeSet' => [
['createdAt' => '2025-05-16T06:50:59.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-04-29T06:52:08.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-04-29T06:51:34.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AddIpamPoolCidr'],
],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"558BC336-8B88-53B0-B4AD-980EE900AB01\\",\\n \\"Cidr\\": \\"192.168.1.0/24\\"\\n}","type":"json"}]',
],
'AssociateIpamResourceDiscovery' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '请求地域。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamId',
'in' => 'query',
'schema' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-ccxbnsbhew0d6t****'],
],
[
'name' => 'IpamResourceDiscoveryId',
'in' => 'query',
'schema' => ['description' => '资源发现的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会关联资源发现和IPAM实例。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并关联资源发现和IPAM实例。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<IpamCreateModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E897D16A-50EB-543F-B002-C5A26AB818FF'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'ResourceNotFound.IpamResourceDiscovery', 'errorMessage' => 'The dependent instance of IPAM resource discovery is not found.', 'description' => '未找到IPAM资源发现实例。'],
['errorCode' => 'ResourceNotFound.Ipam', 'errorMessage' => 'The specified resource of ipam is not found.', 'description' => '输入的IPAM不存在。'],
['errorCode' => 'OperationDenied.ResourceDiscoveryAlreadyAssociated', 'errorMessage' => 'You cannot associate the resource discovery because an association already exists.', 'description' => '当前资源发现已存在关联关系,操作失败。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '关联资源发现和IPAM实例',
'summary' => '关联资源发现和IPAM实例。',
'description' => '- 指定的资源发现实例和IPAM实例只能存在一个关联关系,不能重复进行关联。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AssociateIpamResourceDiscovery'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'vpc:AssociateIpamResourceDiscovery',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'IpamResourceDiscovery', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipamresourcediscovery/{#IpamResourceDiscoveryId}'],
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'Ipam', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipam/{#IpamId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E897D16A-50EB-543F-B002-C5A26AB818FF\\"\\n}","type":"json"}]',
],
'ChangeResourceGroup' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'schema' => ['description' => '需要修改资源组的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-uq5dcfc2eqhpf4****'],
],
[
'name' => 'NewResourceGroupId',
'in' => 'query',
'schema' => ['description' => '新资源组ID。', 'type' => 'string', 'required' => true, 'example' => 'rg-aek3ctkufaw****'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => [
'description' => '资源类型,取值:'."\n"
."\n"
.'- Ipam:IPAM实例'."\n"
."\n"
.'- IpamScope:IPAM作用范围'."\n"
."\n"
.'- IpamPool:IPAM地址池'."\n"
."\n"
.'- IpamResourceDiscovery:IPAM资源发现',
'type' => 'string',
'required' => true,
'enumValueTitles' => ['Ipam' => 'Ipam', 'IpamPool' => 'IpamPool', 'IpamScope' => 'IpamScope', 'IpamResourceDiscovery' => 'IpamResourceDiscovery'],
'example' => 'Ipam',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BB2C39DE-CEB8-595A-981A-F2EFCBE7324E'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IllegalParam.ResourceGroupId', 'errorMessage' => 'The input parameter ResourceGroupId is invalid.', 'description' => '参数ResourceGroupId非法。'."\n"],
['errorCode' => 'IllegalParam.ResourceType', 'errorMessage' => 'The input parameter ResourceType is invalid.', 'description' => '参数ResourceType非法。'."\n"],
['errorCode' => 'ResourceNotFound.Ipam', 'errorMessage' => 'The specified resource of ipam is not found.', 'description' => '输入的IPAM不存在。'],
],
],
'title' => '修改IPAM资源所属的资源组',
'summary' => '修改IPAM资源所属的资源组。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ChangeResourceGroup'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'vpc:ChangeResourceGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'Ipam', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipam/{#IpamId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BB2C39DE-CEB8-595A-981A-F2EFCBE7324E\\"\\n}","type":"json"}]',
],
'CreateIpam' => [
'summary' => '创建一个IPAM实例。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamName',
'in' => 'query',
'schema' => ['description' => 'IPAM的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'abc'],
],
[
'name' => 'OperatingRegionList',
'in' => 'query',
'allowEmptyValue' => false,
'style' => 'repeatList',
'schema' => [
'description' => 'IPAM生效地域列表。',
'type' => 'array',
'items' => ['description' => 'IPAM的生效地域。'."\n"
."\n"
.'> 支持选择一个或多个地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
'required' => true,
'maxItems' => 100,
'minItems' => 1,
],
],
[
'name' => 'IpamDescription',
'in' => 'query',
'schema' => ['description' => 'IPAM的描述信息。'."\n"
."\n"
.'长度为1~256个字符,必须以大小写字母或中文开头,但不能以` http:// `和` https:// `开头。描述不填则为空,默认值为空。', 'type' => 'string', 'required' => false, 'example' => 'This is my first Ipam'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'IPAM的资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxazb4ph6aiy****'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会创建IPAM。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接创建IPAM。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表信息。',
'type' => 'array',
'items' => [
'description' => '标签列表信息。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '资源的标签键。最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
."\n"
.'最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
'Value' => ['description' => '资源的标签值。最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n"
."\n"
.'最多支持128个字符,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
],
'required' => false,
],
'required' => false,
'maxItems' => 21,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<IpamCreateModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED39DCAC0'],
'IpamId' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'example' => 'ipam-ccxbnsbhew0d6t****'],
'PrivateDefaultScopeId' => ['description' => '创建IPAM后,系统默认创建的私网IPAM作用范围。', 'type' => 'string', 'example' => 'ipam-scope-8wiontzmiy6cg0****'],
'PublicDefaultScopeId' => ['description' => '创建IPAM后,系统默认创建的公网IPAM作用范围。', 'type' => 'string', 'example' => 'ipam-scope-r5c5c7bmym1brc****'],
'DefaultResourceDiscoveryId' => ['description' => '默认资源发现实例ID。', 'type' => 'string', 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
'DefaultResourceDiscoveryAssociationId' => ['description' => '默认的资源发现关联关系ID。', 'type' => 'string', 'example' => 'ipam-res-disco-assoc-jt5fac8twugdbbgip****'],
'ResourceDiscoveryAssociationCount' => ['description' => '资源发现数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'UnsupportedRegion.Ipam', 'errorMessage' => 'Ipam is not supported in this region.', 'description' => '该地域不支持IPAM。'],
['errorCode' => 'QuotaExceeded.IpamQuotaPerRegion', 'errorMessage' => 'The quota of ipamQuotaPerRegion count is exceeded.', 'description' => 'IPAM允许的最大数量超过限制。'],
['errorCode' => 'IllegalParam.OperatingRegion', 'errorMessage' => 'The operating region is invalid.', 'description' => '生效地域非法。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'OperationFailed.OperatingRegionsNeedIncludeIpamRegion', 'errorMessage' => 'The operating regions do not contain IPAM region.', 'description' => '操作地域未包含IPAM托管地域。'],
['errorCode' => 'UnsupportedFeature.Ipam', 'errorMessage' => 'IPAM is not supported in this region.', 'description' => '该地域不支持IPAM功能。'],
['errorCode' => 'OptInRequired.Ipam', 'errorMessage' => 'You are not authorized to use the requested service of IPAM. Ensure that you have subscribed to the service you are trying to use.', 'description' => '您无权使用请求的 IPAM 服务。 确保您已经订阅了您尝试使用的服务。'],
],
],
'title' => '创建一个IPAM实例',
'description' => '## 接口说明'."\n"
."\n"
.'- 每个阿里云账号(主账号)在每个地域只支持创建1个IPAM。'."\n"
."\n"
.'- 目前,IPAM仅支持分配IPv4类型的IP地址。'."\n"
."\n"
.'- 创建IPAM实例时:'."\n"
.' - 若用户在当前地域不存在自定义类型的资源发现实例,系统会直接创建与IPAM实例关联的默认资源发现实例。'."\n"
.' - 若用户在当前地域已经存在自定义类型的资源发现实例,系统会将该资源发现转化为默认资源发现,并创建与IPAM实例的关联关系。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateIpam'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'vpc:CreateIpam',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED39DCAC0\\",\\n \\"IpamId\\": \\"ipam-ccxbnsbhew0d6t****\\",\\n \\"PrivateDefaultScopeId\\": \\"ipam-scope-8wiontzmiy6cg0****\\",\\n \\"PublicDefaultScopeId\\": \\"ipam-scope-r5c5c7bmym1brc****\\",\\n \\"DefaultResourceDiscoveryId\\": \\"ipam-res-disco-jt5f2af2u6nk2z321****\\",\\n \\"DefaultResourceDiscoveryAssociationId\\": \\"ipam-res-disco-assoc-jt5fac8twugdbbgip****\\",\\n \\"ResourceDiscoveryAssociationCount\\": 1\\n}","type":"json"}]',
],
'CreateIpamPool' => [
'summary' => '创建IPAM地址池。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamScopeId',
'in' => 'query',
'schema' => ['description' => 'IPAM作用范围的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-scope-glfmcyldpm8lsy****'],
],
[
'name' => 'IpamPoolName',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'abc'],
],
[
'name' => 'IpamPoolDescription',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的描述。'."\n"
."\n"
.'长度为1~256个字符,必须以大小写英文字母或者中文字符开头,但不能以`http://`或`https://`开头。不填则为空,默认值为空。', 'type' => 'string', 'required' => false, 'example' => 'test description'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxazb4ph6aiy****'],
],
[
'name' => 'PoolRegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池生效地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'SourceIpamPoolId',
'in' => 'query',
'schema' => ['description' => '源IPAM地址池的实例ID。'."\n"
."\n"
.'> 不输入此参数时,表示创建的地址池为父地址池。', 'type' => 'string', 'required' => false, 'example' => 'ipam-pool-6rcq3tobayc20t****'],
],
[
'name' => 'AllocationDefaultCidrMask',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池分配的默认网络掩码。'."\n"
."\n"
.'> IPv4网络掩码取值范围为**0~32**位,IPv6网络掩码取值范围为**0~128**位。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '28'],
],
[
'name' => 'AllocationMaxCidrMask',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池分配的最大网络掩码。'."\n"
."\n"
.'> IPv4网络掩码取值范围为**0~32**位,IPv6网络掩码取值范围为**0~128**位。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '32'],
],
[
'name' => 'AllocationMinCidrMask',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池分配的最小网络掩码。'."\n"
."\n"
.'> IPv4网络掩码取值范围为**0~32**位,IPv6网络掩码取值范围为**0~128**位。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会创建IPAM地址池。检查项包括是否填写了必需参数、请求格式、实例状态。如果检查不通过,则返回对应错误。如果检查通过,则返回DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
[
'name' => 'IpVersion',
'in' => 'query',
'schema' => ['description' => 'IP地址协议版本。取值:'."\n"
."\n"
.'- **IPv4**:IPv4协议。'."\n"
."\n"
.'- **IPv6**:IPv6协议。', 'type' => 'string', 'required' => false, 'example' => 'IPv4'],
],
[
'name' => 'Ipv6Isp',
'in' => 'query',
'schema' => ['description' => 'IPv6地址段类型,仅对公网IPv6地址池生效。取值:'."\n"
."\n"
.'- **BGP**(默认值):阿里云BGP IPv6。'."\n"
.'- **ChinaMobile**:中国移动(单线)。'."\n"
.'- **ChinaUnicom**:中国联通(单线)。'."\n"
.'- **ChinaTelecom**:中国电信(单线)。'."\n"
."\n"
.'> 如果是开通了单线带宽白名单的用户,该字段可以设置为**ChinaTelecom**(中国电信)、**ChinaUnicom**(中国联通)或**ChinaMobile**(中国移动)。', 'type' => 'string', 'required' => false, 'example' => 'BGP'],
],
[
'name' => 'AutoImport',
'in' => 'query',
'schema' => ['description' => '地址池是否开启自动导入功能。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表信息。',
'type' => 'array',
'items' => [
'description' => '标签列表信息。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '资源的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
."\n"
.'最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n"
."\n"
.'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
'Value' => ['description' => '资源的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
."\n"
.'最多支持128个字符,不能包含`http://`或者`https://`。'."\n"
."\n"
.'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
],
'required' => false,
],
'required' => false,
'maxItems' => 21,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<IpamPoolCreateModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BB2C39DE-CEB8-595A-981A-F2EFCBE7324E'],
'IpamPoolId' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'example' => 'ipam-pool-6rcq3tobayc20t****'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceNotFound.IpamScope', 'errorMessage' => 'The specified resource of IPAM scope is not found.', 'description' => '输入的IPAM作用范围不存在。'],
['errorCode' => 'ResourceNotFound.SourceIpamPool', 'errorMessage' => 'The dependent source IPAM pool is not found.', 'description' => '依赖资源源IPAM Pool不存在。'],
['errorCode' => 'UnsupportedFeature.PublicIpamScopeType', 'errorMessage' => 'The feature of PublicIpamScopeType is not supported.', 'description' => '您指定的IPAM暂不支持创建Public类型的作用范围。'],
['errorCode' => 'IllegalParam.AllocationDefaultNetmask', 'errorMessage' => 'The specified AllocationDefaultNetmask is illegal.', 'description' => 'AllocationDefaultNetmask参数不合法。'."\n"],
['errorCode' => 'IllegalParam.AllocationMaxNetmask', 'errorMessage' => 'The specified AllocationMaxNetmask is illegal.', 'description' => 'AllocationMaxNetmask参数不合法。'."\n"],
['errorCode' => 'IllegalParam.AllocationMinNetmask', 'errorMessage' => 'The specified AllocationMinNetmask is illegal.', 'description' => 'AllocationMinNetmask参数不合法。'."\n"],
['errorCode' => 'IllegalParam.IpVersion', 'errorMessage' => 'The specified IpVersion is illegal.', 'description' => 'IpVersion参数不合法。'."\n"],
['errorCode' => 'QuotaExceeded.IpamPoolQuotaDepth', 'errorMessage' => 'The quota of IpamPoolQuotaDepth count is exceeded.', 'description' => 'IPAM地址池深度允许的最大数量超过限制。'."\n"],
['errorCode' => 'ResourceNotFound.Ipam', 'errorMessage' => 'The specified resource of ipam is not found.', 'description' => '输入的IPAM不存在。'],
['errorCode' => 'IllegalParam.PoolRegionId', 'errorMessage' => 'The specified PoolRegionId is illegal.', 'description' => 'PoolRegionId参数不合法。'."\n"],
['errorCode' => 'QuotaExceeded.IpamSubPoolQuotaPerIpamPool', 'errorMessage' => 'The quota of ipamSubPoolQuotaPerIpamPool count is exceeded.', 'description' => '单个IPAM地址池允许创建的子池数量超过限额。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'IncorrectStatus.IpamPool', 'errorMessage' => 'The status of the IPAM pool is incorrect.', 'description' => 'IPAM地址池的状态不正确。'],
['errorCode' => 'OperationDenied.OperateShareResource', 'errorMessage' => 'The operation is not allowed because the instance is a shared resource.', 'description' => '该实例是共享资源,不允许操作。'],
['errorCode' => 'UnsupportedFeature.IpamPublicIpv4Pool', 'errorMessage' => 'The feature of public IPv4 pool is not supported in IPAM.', 'description' => 'IPAM暂不支持创建公网IPv4地址池。'],
['errorCode' => 'OperationDenied.IpamPublicIpv6PoolNeedPoolRegion', 'errorMessage' => 'The public IPv6 pool cannot be created in IPAM when its pool region is empty.', 'description' => '不支持创建生效地域为空的公网IPv6地址池。'],
['errorCode' => 'IllegalParam.Ipv6Isp', 'errorMessage' => 'The specified Ipv6Isp is illegal.', 'description' => '指定的Ipv6Isp参数不合法。'],
['errorCode' => 'UnsupportedFeature.Ipv6Isp', 'errorMessage' => 'The Ipv6Isp feature is not supported.', 'description' => '指定的Ipv6Isp特性不支持。'],
['errorCode' => 'UnsupportedRegion.Ipv6Isp', 'errorMessage' => 'The current region does not support this feature.', 'description' => '当前Region未支持该特性。'],
['errorCode' => 'QuotaExceeded.IpamPublicIpv6TopPoolQuotaPerRegionIsp', 'errorMessage' => 'The number of public IPv6 top pool in IPAM for this ISP owned by the user in this region exceeds the limit.', 'description' => '对于当前的ISP类型,用户在当前地域创建的IPAM公网IPv6顶级地址池数量超过限额。'],
['errorCode' => 'Mismatch.IpamScopeAndSourceIpamPool', 'errorMessage' => 'The input source IPAM pool is not in the input IPAM scope.', 'description' => '输入的IPAM父池不在输入的IPAM作用范围内。'],
['errorCode' => 'Mismatch.Ipv6IspAndSourceIpamPool', 'errorMessage' => 'The input Ipv6Isp is inconsistent with the Ipv6Isp of the input source IPAM pool.', 'description' => '输入的Ipv6Isp和父池的Ipv6Isp不一致。'],
['errorCode' => 'UnsupportedFeature.IpamIpv6', 'errorMessage' => 'The feature of IPv6 is not supported in this region.', 'description' => '该地域不支持在IPAM中使用IPv6功能。'],
['errorCode' => 'Mismatch.ChildIpVersionAndParentIpVersion', 'errorMessage' => 'The ChildIpVersion and ParentIpVersion are mismatched.', 'description' => '子池IP版本与父池IP版本不匹配。'],
['errorCode' => 'Mismatch.ChildPoolRegionAndParentPoolRegion', 'errorMessage' => 'The ChildPoolRegion and ParentPoolRegion are mismatched.', 'description' => '子池生效地域与父池生效地域不匹配。'],
['errorCode' => 'Mismatch.ChildIpamScopeAndParentIpamScope', 'errorMessage' => 'The ChildIpamScope and ParentIpamScope are mismatched.', 'description' => '子池ScopeId与父池ScopeId不匹配。'],
['errorCode' => 'Mismatch.ChildIpv6IspAndParentIpv6Isp', 'errorMessage' => 'The ChildIpv6Isp and ParentIpv6Isp are mismatched.', 'description' => '子池IPv6 ISP与父池IPv6 ISP不匹配。'],
],
],
'title' => '创建IPAM地址池',
'description' => '- 每个地域每种ISP类型的公网IPv6顶级池的数量默认最多为1个。',
'changeSet' => [
['createdAt' => '2025-05-16T06:50:59.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-04-29T06:52:08.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-04-29T06:51:34.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateIpamPool'],
],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BB2C39DE-CEB8-595A-981A-F2EFCBE7324E\\",\\n \\"IpamPoolId\\": \\"ipam-pool-6rcq3tobayc20t****\\"\\n}","type":"json"}]',
],
'CreateIpamPoolAllocation' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '要创建的自定义预留网段所在的地域ID。'."\n"
."\n"
.'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamPoolId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-pool-6rcq3tobayc20t****'],
],
[
'name' => 'Cidr',
'in' => 'query',
'schema' => ['description' => '通过输入地址段的方式从IPAM地址池创建自定义预留网段。'."\n"
."\n"
.'>参数**Cidr**或**CidrMask**至少输入一个。', 'type' => 'string', 'required' => false, 'example' => '192.168.1.0/24'],
],
[
'name' => 'CidrMask',
'in' => 'query',
'schema' => ['description' => '通过输入掩码的方式从IPAM地址池创建自定义预留网段。'."\n"
."\n"
.'>参数**Cidr**或**CidrMask**至少输入一个。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '24'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会创建自定义预留网段。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接创建。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
[
'name' => 'IpamPoolAllocationDescription',
'in' => 'query',
'schema' => ['description' => '自定义预留网段的描述信息。'."\n"
."\n"
.'长度为1~256个字符,必须以大小写英文字母或中文字符开头,但不能以`http://`或`https://`开头。不填则为空,默认值为空。', 'type' => 'string', 'required' => false, 'example' => 'test description'],
],
[
'name' => 'IpamPoolAllocationName',
'in' => 'query',
'schema' => ['description' => '自定义预留网段的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'test name'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<IpamPoolAllocationCreateModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'CE9CDAE5-341E-5D0B-AC8A-2BAC707D3EB2'],
'IpamPoolAllocationId' => ['description' => '创建的自定义预留网段的实例ID。', 'type' => 'string', 'example' => 'ipam-pool-alloc-112za33e4****'],
'Cidr' => ['description' => '创建的自定义预留网段。', 'type' => 'string', 'example' => '192.168.1.0/24'],
'SourceCidr' => ['description' => '源地址段。', 'type' => 'string', 'example' => '192.168.0.0/16'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'OperationDenied.ResourceTypeIsNotCustom', 'errorMessage' => 'The operation is not allowed because the resource type is not Custom.', 'description' => '操作被拒绝,原因是资源类型不是Custom类型。'],
['errorCode' => 'MissingParam.CidrOrCidrMask', 'errorMessage' => 'The CIDR or CIDR Mask must be input.', 'description' => '从IPAM地址池分配资源或查询可用资源时,请输入Cidr或CidrMask。'],
['errorCode' => 'OperationDenied.IpamPoolNotInRegion', 'errorMessage' => 'The operation is not allowed because the IPAM pool not in specific region does not support creating VPC or associating CIDR for VPC.', 'description' => '操作被拒绝,因为无法从不具备地域属性的地址池中创建VPC或为VPC添加附加网段。'],
['errorCode' => 'OperationDenied.RequestRegionInvalid', 'errorMessage' => 'The operation is not allowed because the request is not invoked in the region of the IPAM pool.', 'description' => '操作被拒绝,因为未在地址池所在地域调用请求。'],
['errorCode' => 'IllegalParam.Cidr', 'errorMessage' => 'The specified CIDR is illegal.', 'description' => '指定的CIDR不合法。'],
['errorCode' => 'IllegalParam.CidrMask', 'errorMessage' => 'The specified CidrMask is illegal.', 'description' => 'CidrMask参数不合法。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'OperationDenied.AvailableCidrInsufficient', 'errorMessage' => 'The operation is not allowed because available CIDR is insufficient.', 'description' => '操作被拒绝,原因是可用的CIDR资源不足。'],
['errorCode' => 'OperationDenied.CidrInExcludeCidrs', 'errorMessage' => 'The operation is not allowed because the input CIDR is within the illegal CIDRs.', 'description' => '操作被拒绝,原因是输入的CIDR在不合法的CIDR范围内。'],
['errorCode' => 'OperationDenied.CidrUnavailableInPool', 'errorMessage' => 'The operation is not allowed because the CIDR is unavailable in the IPAM pool.', 'description' => '操作被拒绝,原因是CIDR在IPAM地址池中不可用。'],
['errorCode' => 'OperationDenied.CidrMaskTooLarge', 'errorMessage' => 'The operation is denied because the CIDR mask %s is larger than the allocationMaxNetmask %s of the pool.', 'description' => '参数Cidr的掩码或参数CidrMask超过了地址池合规规则中的最大网络掩码长度。'],
['errorCode' => 'OperationDenied.CidrMaskTooSmall', 'errorMessage' => 'The operation is denied because the CIDR mask %s is less than the allocationMinNetmask %s of the pool.', 'description' => '参数Cidr的掩码或参数CidrMask小于地址池合规规则中的最小网络掩码长度。'],
],
404 => [
['errorCode' => 'ResourceNotFound.IpamPool', 'errorMessage' => 'The dependent IPAM pool is not found.', 'description' => '依赖资源IPAM Pool不存在。'],
],
],
'title' => '从IPAM地址池创建自定义预留网段',
'summary' => '从IPAM地址池创建自定义预留网段。',
'description' => '- 创建自定义预留网段前,请确保您已经创建了IPAM地址池并为该地址池添加了CIDR。您可以通过调用**CreateIpamPool**和**AddIpamPoolCidr**分别创建IPAM地址池并为地址池添加CIDR。'."\n"
.'- 指定参数Cidr或CidrMask创建自定义预留网段时,对应的掩码需要在IPAM地址池规定的范围内。'."\n"
.'- 当IPAM地址池具备地域属性时,创建自定义预留网段的请求需要从地址池所在的地域发起。'."\n"
.'- 需要创建的自定义预留网段不能和IPAM地址池已创建的CIDR分配冲突。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateIpamPoolAllocation'],
],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CE9CDAE5-341E-5D0B-AC8A-2BAC707D3EB2\\",\\n \\"IpamPoolAllocationId\\": \\"ipam-pool-alloc-112za33e4****\\",\\n \\"Cidr\\": \\"192.168.1.0/24\\",\\n \\"SourceCidr\\": \\"192.168.0.0/16\\"\\n}","type":"json"}]',
],
'CreateIpamResourceDiscovery' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '请求地域。'."\n"
."\n"
.'> 创建时的请求地域是资源发现实例的托管地域。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamResourceDiscoveryName',
'in' => 'query',
'schema' => ['description' => '资源发现的名称。', 'type' => 'string', 'required' => false, 'example' => 'name'],
],
[
'name' => 'IpamResourceDiscoveryDescription',
'in' => 'query',
'schema' => ['description' => '资源发现的描述。', 'type' => 'string', 'required' => false, 'example' => 'description'],
],
[
'name' => 'OperatingRegionList',
'in' => 'query',
'allowEmptyValue' => false,
'style' => 'repeatList',
'schema' => [
'description' => '资源发现的生效地域列表。',
'type' => 'array',
'items' => ['description' => '资源发现的生效地域。'."\n"
."\n"
.'> 需要包括创建时的请求地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
'required' => true,
'maxItems' => 100,
'minItems' => 1,
],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2sermdd6****'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会创建自定义类型的资源发现实例。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并创建自定义类型的资源发现实例。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表信息。',
'type' => 'array',
'items' => [
'description' => '标签列表信息。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '资源的标签键。最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
."\n"
.'最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
'Value' => ['description' => '资源的标签值。最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n"
."\n"
.'最多支持128个字符,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
],
'required' => false,
],
'required' => false,
'maxItems' => 21,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<IpamCreateModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BB2C39DE-CEB8-595A-981A-F2EFCBE7324E'],
'IpamResourceDiscoveryId' => ['description' => '资源发现的实例ID。', 'type' => 'string', 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IllegalParam.OperatingRegion', 'errorMessage' => 'The operating region is invalid.', 'description' => '生效地域非法。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'OperationDenied.OperatingRegionsNeedIncludeHomeRegion', 'errorMessage' => 'The operating regions do not contain home region.', 'description' => '生效地域未包含中心托管地域。'],
['errorCode' => 'QuotaExceeded.IpamResourceDiscoveryQuotaPerRegion', 'errorMessage' => 'The number of non-shared IPAM resource discoveries owned by the user in this region exceeds the limit.', 'description' => '单个用户在当前地域拥有的非共享资源发现的数量超过限额。'],
['errorCode' => 'OperationDenied.UnexpectedType', 'errorMessage' => 'The operation is not allowed because the input type is unexpected.', 'description' => '更新或删除资源发现时,不允许操作system类型的实例。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建自定义类型的资源发现实例',
'summary' => '创建自定义类型的资源发现实例。',
'description' => '- 每个阿里云账号(主账号)在每个地域只支持拥有1个资源发现实例。'."\n"
."\n"
.'- 该接口只支持创建自定义类型的资源发现实例。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateIpamResourceDiscovery'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'vpc:CreateIpamResourceDiscovery',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'IpamResourceDiscovery', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipamresourcediscovery/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BB2C39DE-CEB8-595A-981A-F2EFCBE7324E\\",\\n \\"IpamResourceDiscoveryId\\": \\"ipam-res-disco-jt5f2af2u6nk2z321****\\"\\n}","type":"json"}]',
],
'CreateIpamScope' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamId',
'in' => 'query',
'schema' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-ccxbnsbhew0d6t****'],
],
[
'name' => 'IpamScopeName',
'in' => 'query',
'schema' => ['description' => 'IPAM作用范围的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'IpamScopeDescription',
'in' => 'query',
'schema' => ['description' => 'IPAM作用范围的描述信息。'."\n"
."\n"
.'长度为1~256个字符,必须以英文大小写字母开头,但不能以`http://`或`https://`开头。不填则为空,默认值为空。', 'type' => 'string', 'required' => false, 'example' => 'test description'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'IPAM作用范围的资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxazb4ph6aiy****'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求,取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会创建IPAM作用范围。检查项包括AccessKey是否有效、RAM用户的授权情况和是否填写了必需参数。如果检查不通过,则返回对应错误。如果检查通过,会返回错误码`DryRunOperation`。'."\n"
."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回2xx HTTP状态码并创建IPAM作用范围。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
[
'name' => 'IpamScopeType',
'in' => 'query',
'schema' => ['description' => 'IPAM作用范围类型:'."\n"
.'**private**。'."\n"
."\n\n"
.'> 当前只支持创建私网作用范围。', 'type' => 'string', 'required' => false, 'example' => 'private'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表信息。',
'type' => 'array',
'items' => [
'description' => '标签列表信息。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '资源的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
."\n"
.'最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
'Value' => ['description' => '资源的标签值。最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n"
."\n"
.'最多支持128个字符,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
],
'required' => false,
],
'required' => false,
'maxItems' => 21,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<IpamScopeCreateModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E897D16A-50EB-543F-B002-C5A26AB818FF'],
'IpamScopeId' => ['description' => 'IPAM作用范围的实例ID。', 'type' => 'string', 'example' => 'ipam-scope-glfmcyldpm8lsy****'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceNotFound.Ipam', 'errorMessage' => 'The specified resource of ipam is not found.', 'description' => '输入的IPAM不存在。'],
['errorCode' => 'UnsupportedFeature.PublicIpamScopeType', 'errorMessage' => 'The feature of PublicIpamScopeType is not supported.', 'description' => '您指定的IPAM暂不支持创建Public类型的作用范围。'],
['errorCode' => 'QuotaExceeded.IpamScopeQuotaPerIpam', 'errorMessage' => 'The quota of ipamScopeQuotaPerIpam count is exceeded.', 'description' => 'IPAM作用范围允许的最大数量超过限制。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
],
],
'title' => '创建IPAM作用范围',
'summary' => '创建私网和公网IPAM作用范围,分别用于管理私网和公网地址。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateIpamScope'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'vpc:CreateIpamScope',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E897D16A-50EB-543F-B002-C5A26AB818FF\\",\\n \\"IpamScopeId\\": \\"ipam-scope-glfmcyldpm8lsy****\\"\\n}","type":"json"}]',
],
'DeleteIpam' => [
'summary' => '删除IPAM实例。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamId',
'in' => 'query',
'schema' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-ccxbnsbhew0d6t****'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会删除IPAM。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接删除IPAM。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '30A20EE2-6223-5D0F-BF49-D7C78F206063'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceNotFound.Ipam', 'errorMessage' => 'The specified resource of ipam is not found.', 'description' => '输入的IPAM不存在。'],
['errorCode' => 'OperationFailed.IpamScopeExist', 'errorMessage' => 'The operation is failed because user IPAM scope exist.', 'description' => '操作失败,原因是存在用户自定义scope。'],
['errorCode' => 'OperationFailed.IpamPoolExist', 'errorMessage' => 'The operation is failed because user IPAM pool exist.', 'description' => '操作失败,原因是IPAM存在用户创建地址池。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'OperationDenied.SharedResourceDiscoveryAssociated', 'errorMessage' => 'The operation is not allowed because the IPAM is associated with a shared resource discovery.', 'description' => '无法删除IPAM,原因是该IPAM关联了共享的资源发现。'],
['errorCode' => 'DependencyViolation.ShareResource', 'errorMessage' => 'The operation is not allowed because the default resource discovery of this IPAM is sharing.', 'description' => '无法删除IPAM,原因是该IPAM的默认资源发现存在共享关系。'],
['errorCode' => 'DependencyViolation.IpamMembers', 'errorMessage' => 'The IPAM [%s] has managed members [%s], so the IPAM cannot be deleted.', 'description' => 'IPAM[%s]存在纳管成员[%s],此IPAM不允许删除。'],
],
],
'title' => '删除一个IPAM实例',
'description' => '## 前提条件'."\n"
."\n"
.'- 删除IPAM前,请确保该IPAM下的地址池已全部删除。您可以通过调用**DeleteIpamPool**接口删除地址池。'."\n"
.'- 删除IPAM前,请确保该IPAM下新创建的IPAM作用范围已全部删除。您可以通过调用**DeleteIpamScope**接口删除IPAM作用范围。'."\n"
."\n"
.'- 删除IPAM前,请确保该IPAM下的默认资源发现实例不存在共享关系。'."\n"
.'- 删除IPAM前,请确保没有共享的资源发现实例关联到该IPAM实例。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteIpam'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'vpc:DeleteIpam',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"30A20EE2-6223-5D0F-BF49-D7C78F206063\\"\\n}","type":"json"}]',
],
'DeleteIpamPool' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'high', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamPoolId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-pool-6rcq3tobayc20t****'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会删除IPAM地址池实例。检查项包括是否填写了必需参数、请求格式、实例状态。如果检查不通过,则返回对应错误。如果检查通过,则返回DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '57B7DCCA-F192-5528-8AF3-2FE1413228C9'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'OperationDenied.PoolRegionNotSupportDeletePool', 'errorMessage' => 'The operation is not allowed because of pool region not support delete.', 'description' => '操作被拒绝,原因是无法在该地域执行删除地址池操作。'."\n"],
['errorCode' => 'DependencyViolation.SubCidr', 'errorMessage' => 'The specified resource of %s depends on %s, so the operation cannot be completed.', 'description' => '指定的资源被其他的资源依赖,不允许进行当前操作。'."\n"],
['errorCode' => 'DependencyViolation.CustomCidrs', 'errorMessage' => 'The specified resource of %s depends on %s, so the operation cannot be completed.', 'description' => '指定的资源被其他的资源依赖,不允许进行当前操作。'."\n"],
['errorCode' => 'Forbidden.SubPool', 'errorMessage' => 'The IPAM pool contains subpools.', 'description' => 'IPAM地址池中含有子池,不允许删除。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'OperationDenied.OperateShareResource', 'errorMessage' => 'The operation is not allowed because the instance is a shared resource.', 'description' => '该实例是共享资源,不允许操作。'],
['errorCode' => 'IncorrectStatus.IpamPool', 'errorMessage' => 'The status of the IPAM pool is incorrect.', 'description' => 'IPAM地址池的状态不正确。'],
['errorCode' => 'DependencyViolation.ShareResource', 'errorMessage' => 'The specified resource of IPAM pool depends on resource sharing, so the operation cannot be completed.', 'description' => 'IPAM地址池存在共享关系,无法完成当前操作。'],
['errorCode' => 'DependencyViolation.PoolCidr', 'errorMessage' => 'The operation is not allowed because the IpamPool has pool CIDR dependency %s.', 'description' => '操作被拒绝,地址池存在预置CIDR依赖%s。'],
['errorCode' => 'OperationDenied.IpamPoolAllocationExist', 'errorMessage' => 'The operation is not allowed because the IpamPool has existing allocations.', 'description' => '操作被拒绝,地址池下存在分配记录。'],
['errorCode' => 'DependencyViolation.CustomPoolAllocation', 'errorMessage' => 'The operation is not allowed because the IpamPool has custom pool allocation dependency.', 'description' => '操作被拒绝,地址池存在自定义分配依赖。'],
],
404 => [
['errorCode' => 'ResourceNotFound.IpamPool', 'errorMessage' => 'The dependent IPAM pool is not found.', 'description' => '依赖资源IPAM Pool不存在。'],
],
],
'title' => '删除IPAM地址池实例',
'summary' => '删除IPAM地址池实例。',
'description' => '### 使用说明'."\n"
."\n"
.'- 删除父地址池前,请确保父地址池下的子地址池已全部被删除。'."\n"
.'- 当父地址池设置了生效地域,且该父地址池有已经分配出去的地址时,该父地址池不允许被删除。'."\n"
.'- 当子地址池设置了生效地域,且该地址池有已经分配出去的地址时,该子地址池不允许被删除。'."\n"
."\n"
.'- 当地址池存在共享关系时,该地址池不允许被删除。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteIpamPool'],
],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"57B7DCCA-F192-5528-8AF3-2FE1413228C9\\"\\n}","type":"json"}]',
],
'DeleteIpamPoolAllocation' => [
'summary' => '释放IPAM地址池的CIDR分配,当前支持的类型包括专有网络、自定义分配。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '要释放的CIDR分配所在的地域ID。'."\n"
."\n"
.'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamPoolAllocationId',
'in' => 'query',
'schema' => ['description' => '要释放的CIDR分配的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-alloc-c4vhvr3b22mmc6****'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会释放IPAM地址池的CIDR分配。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接释放CIDR分配。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B90776C8-F703-51D5-893A-AD1CA699D535'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'OperationDenied.ResourceTypeIsNotCustom', 'errorMessage' => 'The operation is not allowed because the resource type is not Custom.', 'description' => '操作被拒绝,原因是资源类型不是Custom类型。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'ResourceNotFound.IpamPoolAllocation', 'errorMessage' => 'The specified resource of IPAM pool allocation is not found.', 'description' => '输入的IPAM地址池分配关系不存在。'],
['errorCode' => 'OperationDenied.UnexpectedResourceType', 'errorMessage' => 'The operation is not allowed because the resource type is unexpected.', 'description' => '资源类型非法,不允许操作。'],
['errorCode' => 'OperationDenied.Unauthorized', 'errorMessage' => 'The operation is denied because the user is not authorized.', 'description' => '操作失败,用户无权限。'],
['errorCode' => 'OperationDenied.RequestRegionInvalid', 'errorMessage' => 'The operation is not allowed because the request is not invoked in the region of the IPAM pool.', 'description' => '操作被拒绝,因为未在地址池所在地域调用请求。'],
['errorCode' => 'OperationDenied.Ipv6VpcNotSupport', 'errorMessage' => 'The allocation of IPv6 VPC is not supported to delete.', 'description' => 'IPv6网段类型的分配不支持释放。'],
],
404 => [
['errorCode' => 'ResourceNotFound.IpamPool', 'errorMessage' => 'The dependent IPAM pool is not found.', 'description' => '依赖资源IPAM Pool不存在。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B90776C8-F703-51D5-893A-AD1CA699D535\\"\\n}","type":"json"}]',
'title' => '释放IPAM地址池的CIDR分配',
'changeSet' => [
['createdAt' => '2025-05-16T06:50:59.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteIpamPoolAllocation'],
],
],
'ramActions' => [],
],
'DeleteIpamPoolCidr' => [
'summary' => '删除IPAM地址池预置的CIDR地址段。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。'."\n"
."\n"
.'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamPoolId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-pool-6rcq3tobayc20t****'],
],
[
'name' => 'Cidr',
'in' => 'query',
'schema' => ['description' => '需要删除的预置的CIDR地址段。'."\n"
."\n"
.'> 目前,只支持IPv4类型的地址段。', 'type' => 'string', 'required' => true, 'example' => '192.168.1.0/24'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会删除IPAM地址池中的CIDR地址段。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接删除。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => 'BaseResult',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'F28A239E-F88D-500E-ADE7-FA5E8CA3A170'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceNotFound.IpamPoolCidr', 'errorMessage' => 'The specified resource of IPAM pool CIDR is not found.', 'description' => '输入的IPAM地址池CIDR不存在。'],
['errorCode' => 'OperationDenied.PoolRegionNotSupportDeletePoolCidr', 'errorMessage' => 'The operation is not allowed because pool region does not support deleting cidr.', 'description' => '操作被拒绝,原因是无法在该地域执行删除地址池CIDR操作。'],
['errorCode' => 'OperationDenied.IpamPoolAllocationExist', 'errorMessage' => 'The operation is not allowed because of the existence of IPAM pool allocation.', 'description' => '操作被拒绝,原因是存在地址池分配关系。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'OperationDenied.OperateShareResource', 'errorMessage' => 'The operation is not allowed because the instance is a shared resource.', 'description' => '该实例是共享资源,不允许操作。'],
['errorCode' => 'IncorrectStatus.IpamPool', 'errorMessage' => 'The status of the IPAM pool is incorrect.', 'description' => 'IPAM地址池的状态不正确。'],
],
404 => [
['errorCode' => 'ResourceNotFound.IpamPool', 'errorMessage' => 'The dependent IPAM pool is not found.', 'description' => '依赖资源IPAM Pool不存在。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F28A239E-F88D-500E-ADE7-FA5E8CA3A170\\"\\n}","type":"json"}]',
'title' => '删除IPAM地址池预置的CIDR地址段',
'description' => '- 若父地址池和子地址池下均预置了CIDR,则删除CIDR时,需要先删除子地址池下的CIDR后再删除父地址池下的CIDR。'."\n"
.'- 若只有父地址池下预置了CIDR,则删除CIDR时直接删除父地址池下的CIDR即可。'."\n"
.'- 若预置的CIDR下存在已经创建的分配关系,删除CIDR时需要先删除已创建的CIDR分配,然后再删除CIDR。'."\n"
.'- 删除IPAM地址池预置的CIDR地址段的请求需要从IPAM托管地域发起。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteIpamPoolCidr'],
],
],
'ramActions' => [],
],
'DeleteIpamResourceDiscovery' => [
'summary' => '删除自定义类型的资源发现实例。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'paid', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '请求地域。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamResourceDiscoveryId',
'in' => 'query',
'schema' => ['description' => '资源发现的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会删除资源发现实例。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并删除资源发现实例。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<IpamCreateModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9F8315CB-560E-5F1E-B069-6E44B440CAF8'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'OperationDenied.OperateShareResource', 'errorMessage' => 'The operation is not allowed because the instance is a shared resource.', 'description' => '该实例是共享资源,不允许操作。'],
['errorCode' => 'ResourceNotFound.IpamResourceDiscovery', 'errorMessage' => 'The dependent instance of IPAM resource discovery is not found.', 'description' => '未找到IPAM资源发现实例。'],
['errorCode' => 'OperationDenied.UnexpectedType', 'errorMessage' => 'The operation is not allowed because the input type is unexpected.', 'description' => '更新或删除资源发现时,不允许操作system类型的实例。'],
['errorCode' => 'DependencyViolation.ShareResource', 'errorMessage' => 'The specified resource of IPAM resource discovery depends on resource sharing, so the operation cannot be completed.', 'description' => 'IPAM资源发现存在共享关系,无法完成当前操作。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除自定义类型的资源发现实例',
'description' => '- 当资源发现实例存在共享关系时,该资源发现不允许被删除。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteIpamResourceDiscovery'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'vpc:DeleteIpamResourceDiscovery',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'IpamResourceDiscovery', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipamresourcediscovery/{#IpamResourceDiscoveryId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9F8315CB-560E-5F1E-B069-6E44B440CAF8\\"\\n}","type":"json"}]',
],
'DeleteIpamScope' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamScopeId',
'in' => 'query',
'schema' => ['description' => 'IPAM作用范围的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-scope-glfmcyldpm8lsy****'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
.'- **true**:发送检查请求,不会删除IPAM作用范围。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '88144bdb-b190-4813-a3f5-66cc86694162'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9F8315CB-560E-5F1E-B069-6E44B440CAF8'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceNotFound.IpamScope', 'errorMessage' => 'The specified resource of IPAM scope is not found.', 'description' => '输入的IPAM作用范围不存在。'],
['errorCode' => 'IncorrectStatus.IpamScope', 'errorMessage' => 'The status of the IPAM scope is incorrect.', 'description' => 'IPAM作用范围的状态不正确。'."\n"],
['errorCode' => 'OperationDenied.DeleteDefaultScope', 'errorMessage' => 'The operation is not allowed because of deleting default scope.', 'description' => '操作被拒绝,原因是删除默认IPAM作用范围。'],
['errorCode' => 'OperationFailed.IpamPoolExist', 'errorMessage' => 'The operation is failed because user IPAM pool exist.', 'description' => '操作失败,原因是IPAM存在用户创建地址池。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
],
],
'title' => '删除IPAM作用范围',
'summary' => '删除IPAM作用范围。',
'description' => '### 使用说明'."\n"
."\n"
.'- 删除IPAM作用范围时,系统默认创建的两个IPAM作用范围无法删除。'."\n"
."\n"
.'- 删除新建的IPAM作用范围前,请确保该IPAM作用范围的地址池已全部删除。您可以调用**DeleteIpamPool**删除地址池。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteIpamScope'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'vpc:DeleteIpamScope',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'IpamScope', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipamscope/{#IpamScopeId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9F8315CB-560E-5F1E-B069-6E44B440CAF8\\"\\n}","type":"json"}]',
],
'DissociateIpamResourceDiscovery' => [
'summary' => '解关联资源发现和IPAM实例。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '请求地域。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamId',
'in' => 'query',
'schema' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-ccxbnsbhew0d6t****'],
],
[
'name' => 'IpamResourceDiscoveryId',
'in' => 'query',
'schema' => ['description' => '资源发现的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会解关联资源发现和IPAM实例。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并解关联资源发现和IPAM实例。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<IpamCreateModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '86137597-443F-5B66-B9B6-8514E0C50B8F'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'ResourceNotFound.IpamResourceDiscovery', 'errorMessage' => 'The dependent instance of IPAM resource discovery is not found.', 'description' => '未找到IPAM资源发现实例。'],
['errorCode' => 'ResourceNotFound.Ipam', 'errorMessage' => 'The specified resource of ipam is not found.', 'description' => '输入的IPAM不存在。'],
['errorCode' => 'ResourceNotFound.ResourceDiscoveryAssociation', 'errorMessage' => 'You cannot disassociate from the resource discovery because no association exists.', 'description' => '当前资源发现不存在关联关系,操作失败。'],
['errorCode' => 'OperationDenied.DissociateSelfSystemIpamResourceDiscovery', 'errorMessage' => 'The operation is not allowed because the default resource discovery cannot be disassociated.', 'description' => '默认资源发现不允许解除关联关系。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '解关联资源发现和IPAM实例',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DissociateIpamResourceDiscovery'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'vpc:DissociateIpamResourceDiscovery',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'IpamResourceDiscovery', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipamresourcediscovery/{#IpamResourceDiscoveryId}'],
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'Ipam', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipam/{#IpamId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86137597-443F-5B66-B9B6-8514E0C50B8F\\"\\n}","type":"json"}]',
],
'GetIpamPoolAllocation' => [
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池CIDR分配所属IPAM Pool的所在地域。'."\n"
."\n"
.'> 当IPAM地址池CIDR分配所属IPAM Pool具备地域属性时,该属性为IPAM Pool的所在地域。当IPAM地址池CIDR分配所属IPAM Pool不具备地域属性时,该属性为IPAM托管地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamPoolAllocationId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池CIDR分配的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-pool-alloc-112za33e4****'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<IpamPoolAllocModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '3748DEFF-68BE-5EED-9937-7C1D0C21BAB4'],
'IpamPoolAllocationId' => ['description' => 'IPAM地址池CIDR分配的实例ID。', 'type' => 'string', 'example' => 'ipam-pool-alloc-112za33e4****'],
'Cidr' => ['description' => '分配的地址段。', 'type' => 'string', 'example' => '192.168.1.0/24'],
'SourceCidr' => ['description' => '源地址段。', 'type' => 'string', 'example' => '192.168.0.0/16'],
'ResourceId' => ['description' => '分配给的资源ID。', 'type' => 'string', 'example' => 'vpc-bp16qjewdsunr41m1****'],
'ResourceType' => ['description' => '分配给的资源类型。取值:'."\n"
."\n"
.'- **VPC**:表示资源的类型为VPC。'."\n"
.'- **IpamPool**:表示资源的类型为子地址池。'."\n"
.'- **Custom**:表示资源的类型为自定义预留网段。', 'type' => 'string', 'example' => 'VPC'],
'ResourceRegionId' => ['description' => '资源生效的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'ResourceOwnerId' => ['description' => '资源归属的阿里云账号(主账号)ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1616080591216318'],
'RegionId' => ['description' => 'IPAM地址池CIDR分配所属IPAM Pool的所在地域。'."\n"
."\n"
.'> 当IPAM地址池CIDR分配所属IPAM Pool具备地域属性时,该属性为IPAM Pool的所在地域。当IPAM地址池CIDR分配所属IPAM Pool不具备地域属性时,该属性为IPAM托管地域。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'IpamPoolId' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'example' => 'ipam-pool-6rcq3tobayc20t****'],
'Status' => ['description' => '实例的状态。取值:'."\n"
."\n"
.'- **Created**:表示创建完成。'."\n"
.'- **Deleted**:表示已删除。', 'type' => 'string', 'example' => 'Created'],
'CreationTime' => ['description' => '实例创建时间。', 'type' => 'string', 'example' => '2024-10-15T10:24:19+08:00'],
'IpamPoolAllocationDescription' => ['description' => 'IPAM地址池CIDR分配的描述信息。'."\n"
."\n"
.'长度为1~256个字符,必须以大小写英文字母或中文字符开头,但不能以`http://`或`https://`开头。不填则为空,默认值为空。', 'type' => 'string', 'example' => 'ipam pool allocation description'],
'IpamPoolAllocationName' => ['description' => 'IPAM地址池CIDR分配的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'example' => 'ipam pool allocation name'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceNotFound.IpamPoolAllocation', 'errorMessage' => 'The specified resource of IPAM pool allocation is not found.', 'description' => '输入的IPAM地址池分配关系不存在。'],
['errorCode' => 'OperationDenied.IpamRegionNotSupportGetPoolAllocation', 'errorMessage' => 'The operation is not allowed because IPAM region does not support getting the allocation.', 'description' => '无法在IPAM地域执行查询指定地址池分配的操作。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询指定IPAM地址池CIDR分配的信息',
'summary' => '查询指定IPAM地址池CIDR分配的信息。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetIpamPoolAllocation'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'vpc:GetIpamPoolAllocation',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'IpamPool', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipampool/{#IpamPoolId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3748DEFF-68BE-5EED-9937-7C1D0C21BAB4\\",\\n \\"IpamPoolAllocationId\\": \\"ipam-pool-alloc-112za33e4****\\",\\n \\"Cidr\\": \\"192.168.1.0/24\\",\\n \\"SourceCidr\\": \\"192.168.0.0/16\\",\\n \\"ResourceId\\": \\"vpc-bp16qjewdsunr41m1****\\",\\n \\"ResourceType\\": \\"VPC\\",\\n \\"ResourceRegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceOwnerId\\": 1616080591216318,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"IpamPoolId\\": \\"ipam-pool-6rcq3tobayc20t****\\",\\n \\"Status\\": \\"Created\\",\\n \\"CreationTime\\": \\"2024-10-15T10:24:19+08:00\\",\\n \\"IpamPoolAllocationDescription\\": \\"ipam pool allocation description\\",\\n \\"IpamPoolAllocationName\\": \\"ipam pool allocation name\\"\\n}","type":"json"}]',
],
'GetIpamPoolNextAvailableCidr' => [
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池所在地域。'."\n"
.'> 当IPAM地址池具备地域属性时,该参数为IPAM地址池生效地域;当IPAM地址池不具备地域属性时,该参数为IPAM托管地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamPoolId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-pool-6rcq3tobayc20t****'],
],
[
'name' => 'CidrBlock',
'in' => 'query',
'schema' => ['description' => '需要分配的CIDR。'."\n"
."\n"
.'> CidrBlock、CidrMask至少输入一个。', 'type' => 'string', 'required' => false, 'example' => '172.68.0.0/26'],
],
[
'name' => 'CidrMask',
'in' => 'query',
'schema' => ['description' => '需要分配的CIDR掩码长度。'."\n"
.'> CidrBlock、CidrMask至少输入一个。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '26'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<IpamPoolAllocModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '29FC6758-9B7C-5CC7-8CBF-4DD846FE7D82'],
'CidrBlock' => ['description' => '可用的CIDR。', 'type' => 'string', 'example' => '172.68.0.0/26'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'MissingParam.CidrOrCidrMask', 'errorMessage' => 'The CIDR or CIDR Mask must be input.', 'description' => '从IPAM地址池分配资源或查询可用资源时,请输入Cidr或CidrMask。'],
['errorCode' => 'ResourceNotEnough.IpamPoolCidr', 'errorMessage' => 'The specified resource of IPAM pool CIDR is not enough.', 'description' => '指定的IPAM地址池CIDR资源不足。'],
['errorCode' => 'OperationDenied.IpamRegionNotSupportGetPoolAvailableCidr', 'errorMessage' => 'The operation is not allowed because IPAM region does not support getting available CIDR of IPAM pool.', 'description' => '无法在IPAM地域执行获取地址池可用CIDR的操作。'],
['errorCode' => 'IllegalParam.Cidr', 'errorMessage' => 'The specified CIDR is illegal.', 'description' => '指定的CIDR不合法。'],
],
404 => [
['errorCode' => 'ResourceNotFound.IpamPool', 'errorMessage' => 'The dependent IPAM pool is not found.', 'description' => '依赖资源IPAM Pool不存在。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取IPAM地址池可用的CIDR地址段',
'summary' => '获取IPAM地址池可用的CIDR地址段。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetIpamPoolNextAvailableCidr'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'vpc:GetIpamPoolNextAvailableCidr',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'IpamPool', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipampool/{#IpamPoolId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29FC6758-9B7C-5CC7-8CBF-4DD846FE7D82\\",\\n \\"CidrBlock\\": \\"172.68.0.0/26\\"\\n}","type":"json"}]',
],
'GetVpcIpamServiceStatus' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
."\n"
.'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**可能不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2FEE9FFF-57EE-5832-BE88-9308352F3B68'],
'Enabled' => ['description' => '是否已开通IPAM服务。'."\n"
."\n"
.'- **true**:已开通。'."\n"
.'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询IPAM功能的开通状态',
'summary' => '查询IPAM功能的开通状态。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetVpcIpamServiceStatus'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'vpc:GetVpcIpamServiceStatus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2FEE9FFF-57EE-5832-BE88-9308352F3B68\\",\\n \\"Enabled\\": true\\n}","type":"json"}]',
],
'ListIpamDiscoveredIpAddresses' => [
'summary' => '查询已发现资源中VPC或VSwitch下已使用IP信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '资源发现实例的托管地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamResourceDiscoveryId',
'in' => 'query',
'schema' => ['description' => '资源发现实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
],
[
'name' => 'VpcId',
'in' => 'query',
'schema' => ['description' => '已发现资源中的VPC实例ID。'."\n"
."\n"
.'> VpcId和VSwitchId至少传入其中一个。', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1fjfnrg3av6zb9e****'],
],
[
'name' => 'VSwitchId',
'in' => 'query',
'schema' => ['description' => '已发现资源中的VSwitch实例ID。'."\n"
."\n"
.'> VpcId和VSwitchId至少传入其中一个。', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1bmwg5u07e1l3q0is4w'],
],
[
'name' => 'Cidr',
'in' => 'query',
'schema' => ['description' => '通过指定地址段,查询VPC或VSwitch内该地址段中已使用的IP信息,支持/32精确匹配单个IP地址。'."\n"
."\n"
.'> 目前,只支持IPv4类型的地址段。', 'type' => 'string', 'required' => false, 'example' => '192.168.1.0/24'],
],
[
'name' => 'IpVersion',
'in' => 'query',
'schema' => [
'description' => 'IP地址协议版本。取值:'."\n"
."\n"
.'- **IPv4**:IPv4协议。',
'type' => 'string',
'required' => false,
'enumValueTitles' => ['IPv4' => 'IPv4'],
'example' => 'IPv4',
'enum' => ['IPv4'],
],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
."\n"
.'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
.'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~200,默认值为100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '200', 'minimum' => '1', 'example' => '100', 'default' => '100'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListTokenResult<IpamDiscoveredResourceModel>',
'description' => 'ListTokenResult<IpamDiscoveredResourceModel>',
'type' => 'object',
'properties' => [
'IpamDiscoveredIpAddresses' => [
'description' => '已使用IP地址信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-bp1fjfnrg3av6zb9e****'],
'VSwitchId' => ['description' => 'VSwitch实例ID。', 'type' => 'string', 'example' => 'vsw-bp1bmwg5u07e1l3q0is4w'],
'IpVersion' => ['description' => 'IP地址协议版本。取值:'."\n"
."\n"
.'- **IPv4**:IPv4协议。', 'type' => 'string', 'example' => 'IPv4'],
'IpAddress' => ['description' => '已使用IP地址。', 'type' => 'string', 'example' => '192.168.10.40/32'],
'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'eni-bp1001jpjhzmgc5m****'],
'ResourceRegionId' => ['description' => '资源归属的地域ID。', 'type' => 'string', 'example' => 'cn-shenzhen'],
'ResourceServiceType' => ['description' => '资源归属云服务类型。', 'type' => 'string', 'example' => 'ENI'],
],
'description' => '',
],
],
'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
'TotalCount' => ['description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
'MaxResults' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~200,默认值为100。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'Count' => ['description' => '分批次查询时返回的具体条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9F8315CB-560E-5F1E-B069-6E44B440CAF8'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceNotFound.IpamResourceDiscovery', 'errorMessage' => 'The dependent instance of IPAM resource discovery is not found.', 'description' => '未找到IPAM资源发现实例。'],
['errorCode' => 'MissingParam.IpamResourceDiscoveryId', 'errorMessage' => 'The IpamResourceDiscoveryId must be input.', 'description' => '查询发现的资源时,请输入参数IpamResourceDiscoveryId。'],
['errorCode' => 'Forbidden.IpResourceAccess', 'errorMessage' => 'The IPAM resource discovery instance in the parameters is not allowed to access the IP address of resource %s.', 'description' => '入参中的资源发现实例不允许访问资源%s的IP address信息。'],
['errorCode' => 'IllegalParamFormat.%s', 'errorMessage' => 'The param of %s is illegal.', 'description' => '参数%s不合法。'],
['errorCode' => 'ResourceNotFound.IpamDiscoveredResource', 'errorMessage' => 'The queried %s is not found among IPAM discovered resources.', 'description' => '所查询的%s在IPAM已发现资源中不存在。'],
['errorCode' => 'Mismatch.VpcIdAndVSwitchId', 'errorMessage' => 'VpcId and VSwitchId do not match.', 'description' => 'VpcId和VSwitchId不匹配。'],
['errorCode' => 'MissingParam.VpcIdAndVSwitchId', 'errorMessage' => 'VpcId and VSwitchId cannot both be empty please provide at least one.', 'description' => '入参VpcId和VSwitchId不能均为空值,至少填入其中一个。'],
['errorCode' => 'Mismatch.IpamResourceDiscoveryAndResource', 'errorMessage' => 'The IPAM resource discovery %s and the queried %s do not match.', 'description' => '资源发现实例%s和所查询资源%s不匹配。'],
['errorCode' => 'ResourceNotFound.IpamDiscoveredResource.Vpc', 'errorMessage' => 'The queried VPC %s is not found among IPAM discovered resources.', 'description' => '所查询的VPC %s 不存在于IPAM已发现资源列表中。'],
['errorCode' => 'ResourceNotFound.IpamDiscoveredResource.VSwitch', 'errorMessage' => 'The queried VSwitch %s is not found among IPAM discovered resources.', 'description' => '所查询的VSwitch %s 不存在于IPAM已发现资源列表中。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询已发现资源中VPC或VSwitch下已使用IP信息',
'description' => '支持的查询组合包括:仅VpcId、仅VSwitchId、VpcId+VSwitchId、VpcId+Cidr、VSwitchId+Cidr、 VpcId+VSwitchId+Cidr。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpamDiscoveredIpAddresses\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1fjfnrg3av6zb9e****\\",\\n \\"VSwitchId\\": \\"vsw-bp1bmwg5u07e1l3q0is4w\\",\\n \\"IpVersion\\": \\"IPv4\\",\\n \\"IpAddress\\": \\"192.168.10.40/32\\",\\n \\"ResourceId\\": \\"eni-bp1001jpjhzmgc5m****\\",\\n \\"ResourceRegionId\\": \\"cn-shenzhen\\",\\n \\"ResourceServiceType\\": \\"ENI\\"\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"TotalCount\\": 1000,\\n \\"MaxResults\\": 100,\\n \\"Count\\": 10,\\n \\"RequestId\\": \\"9F8315CB-560E-5F1E-B069-6E44B440CAF8\\"\\n}","type":"json"}]',
],
'ListIpamDiscoveredResource' => [
'summary' => '查询资源发现下的资源信息。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '资源发现实例的托管地域ID。'."\n"
."\n"
.'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamResourceDiscoveryId',
'in' => 'query',
'schema' => ['description' => '资源发现实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
],
[
'name' => 'ResourceRegionId',
'in' => 'query',
'schema' => ['description' => '资源发现的操作地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型。取值:'."\n"
."\n"
.'- **VPC**:表示资源类型为VPC。'."\n"
."\n"
.'- **VSwitch**:表示资源类型为交换机。', 'type' => 'string', 'required' => false, 'example' => 'VPC'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
."\n"
.'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
.'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListTokenResult<IpamDiscoveredResourceModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'IpamDiscoveredResources' => [
'description' => '资源列表信息。',
'type' => 'array',
'items' => [
'description' => '资源列表信息。',
'type' => 'object',
'properties' => [
'AliUid' => ['description' => '阿里云账号(主账号)ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '132193271328****'],
'ResourceType' => ['description' => '资源类型。取值:'."\n"
."\n"
.'- **VPC**:表示资源类型为VPC。'."\n"
."\n"
.'- **VSwitch**:表示资源类型为交换机。', 'type' => 'string', 'example' => 'VPC'],
'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'vpc-uf611fp465c7dyb4z****'],
'ResourceName' => ['description' => '资源名称。', 'type' => 'string'],
'ResourceOwnerId' => ['description' => '资源归属的阿里云账号(主账号)ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '132193271328****'],
'ResourceRegionId' => ['description' => '资源归属的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'Cidr' => ['description' => '资源的地址段。', 'type' => 'string', 'example' => '192.168.1.0/32'],
'IpUsage' => ['description' => 'IP的利用率,小数形式。', 'type' => 'string', 'example' => '0'],
'IpCountDetail' => [
'description' => '资源 IP 地址数量详情。',
'type' => 'object',
'properties' => [
'FreeIpCount' => ['description' => '可分配 IP 地址数量。', 'type' => 'string'],
'TotalIpCount' => ['description' => '总 IP 地址数量。', 'type' => 'string'],
'UsedIpCount' => ['description' => '已分配 IP 地址数量。', 'type' => 'string'],
],
],
'IpamResourceDiscoveryId' => ['description' => '资源发现实例ID。', 'type' => 'string', 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
'VpcId' => ['description' => '资源所属的VPC实例ID。', 'type' => 'string', 'example' => 'vpc-uf611fp465c7dyb4z****'],
'DiscoveryTime' => ['description' => '资源被发现的时间。'."\n"
."\n"
.'> 如果资源被创建后未被修改过,资源被发现的时间保持不变。', 'type' => 'string', 'example' => '2024-01-01 00:00:00'],
'SourceCidr' => ['description' => '源CIDR地址段。', 'type' => 'string', 'example' => '192.168.1.0/24'],
],
],
],
'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
'TotalCount' => ['description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
'MaxResults' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'Count' => ['description' => '分批次查询时返回的具体条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3748DEFF-68BE-5EED-9937-7C1D0C21BAB4'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IllegalParam.ResourceRegion', 'errorMessage' => 'The input parameter ResourceRegionId is invalid.', 'description' => '输入的参数ResourceRegionId未在操作地域中。'],
['errorCode' => 'ResourceNotFound.IpamResourceDiscovery', 'errorMessage' => 'The dependent instance of IPAM resource discovery is not found.', 'description' => '未找到IPAM资源发现实例。'],
['errorCode' => 'MissingParam.IpamResourceDiscoveryId', 'errorMessage' => 'The IpamResourceDiscoveryId must be input.', 'description' => '查询发现的资源时,请输入参数IpamResourceDiscoveryId。'],
['errorCode' => 'MissingParam.ResourceRegionId', 'errorMessage' => 'The ResourceRegionId must be input.', 'description' => '查询发现的资源时,请输入参数ResourceRegionId。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpamDiscoveredResources\\": [\\n {\\n \\"AliUid\\": 0,\\n \\"ResourceType\\": \\"VPC\\",\\n \\"ResourceId\\": \\"vpc-uf611fp465c7dyb4z****\\",\\n \\"ResourceName\\": \\"\\",\\n \\"ResourceOwnerId\\": 0,\\n \\"ResourceRegionId\\": \\"cn-hangzhou\\",\\n \\"Cidr\\": \\"192.168.1.0/32\\",\\n \\"IpUsage\\": \\"0\\",\\n \\"IpCountDetail\\": {\\n \\"FreeIpCount\\": \\"\\",\\n \\"TotalIpCount\\": \\"\\",\\n \\"UsedIpCount\\": \\"\\"\\n },\\n \\"IpamResourceDiscoveryId\\": \\"ipam-res-disco-jt5f2af2u6nk2z321****\\",\\n \\"VpcId\\": \\"vpc-uf611fp465c7dyb4z****\\",\\n \\"DiscoveryTime\\": \\"2024-01-01 00:00:00\\",\\n \\"SourceCidr\\": \\"192.168.1.0/24\\"\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"TotalCount\\": 1000,\\n \\"MaxResults\\": 10,\\n \\"Count\\": 10,\\n \\"RequestId\\": \\"3748DEFF-68BE-5EED-9937-7C1D0C21BAB4\\"\\n}","type":"json"}]',
'title' => '查询资源发现下的资源信息',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamDiscoveredResource'],
],
],
'ramActions' => [],
],
'ListIpamMembers' => [
'summary' => '查询IPAM可信服务纳管成员。',
'path' => '',
'methods' => ['get', 'post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~448570~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'MemberIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'IPAM可信服务纳管成员ID列表。',
'type' => 'array',
'items' => ['description' => 'IPAM可信服务纳管成员ID。', 'type' => 'string', 'required' => false, 'example' => 'fd-ccccncASqa'],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListTokenResult<IpamScopeModel>',
'description' => 'ListTokenResult<IpamScopeModel>',
'type' => 'object',
'properties' => [
'MemberInfos' => [
'description' => 'IPAM可信服务纳管成员信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CreationTime' => ['description' => '成员添加时间。', 'type' => 'string', 'example' => '2025-07-11T07:18:07Z'],
'MemberId' => ['description' => '成员ID。'."\n"
."\n"
.'- **Folder ID**:资源夹ID。'."\n"
."\n"
.'- **Account UID**:资源目录成员账号UID。', 'type' => 'string', 'example' => 'fd-ccccncASqa'],
'MemberType' => ['description' => '成员类型,取值:'."\n"
."\n"
.'- **Folder**:资源夹。'."\n"
."\n"
.'- **Account**:资源目录成员账号。', 'type' => 'string', 'example' => 'Folder'],
'Status' => ['description' => 'IPAM可信服务纳管成员的成员状态。取值:'."\n"
."\n"
.'- **Created**:表示成员已纳管完成。'."\n"
.'- **Deleted**:表示成员已移除。', 'type' => 'string', 'example' => 'Created'],
],
'description' => '',
],
],
'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
'TotalCount' => ['description' => '查询的条目总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'MaxResults' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'Count' => ['description' => '分批次查询时返回的具体条目数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B90776C8-F703-51D5-893A-AD1CA699D535'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'OperationDenied.IpamNotExist', 'errorMessage' => 'The operation is not allowed because the IPAM does not exist.', 'description' => '当前地域IPAM不存在,不允许纳管IPAM可信服务成员。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询IPAM可信服务纳管成员',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'vpc:ListIpamMembers',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MemberInfos\\": [\\n {\\n \\"CreationTime\\": \\"2025-07-11T07:18:07Z\\",\\n \\"MemberId\\": \\"fd-ccccncASqa\\",\\n \\"MemberType\\": \\"Folder\\",\\n \\"Status\\": \\"Created\\"\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"TotalCount\\": 20,\\n \\"MaxResults\\": 10,\\n \\"Count\\": 6,\\n \\"RequestId\\": \\"B90776C8-F703-51D5-893A-AD1CA699D535\\"\\n}","type":"json"}]',
],
'ListIpamPoolAllocations' => [
'summary' => '查询IPAM地址池的CIDR分配信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池CIDR分配所属IPAM Pool的所在地域。'."\n"
."\n"
.'> 当IPAM地址池CIDR分配所属IPAM Pool具备地域属性时,该属性为IPAM Pool的所在地域。当IPAM地址池CIDR分配所属IPAM Pool不具备地域属性时,该属性为IPAM托管地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamPoolId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-pool-6rcq3tobayc20t****'],
],
[
'name' => 'IpamPoolAllocationIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'IPAM地址池CIDR分配的实例ID列表。',
'type' => 'array',
'items' => ['description' => 'IPAM地址池CIDR分配的实例ID。最多支持输入20个实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-pool-alloc-112za33e4****'],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'Cidr',
'in' => 'query',
'schema' => ['description' => '通过指定分配的地址段查询分配信息。'."\n"
."\n"
.'> 目前,只支持IPv4类型的地址段。', 'type' => 'string', 'required' => false, 'example' => '192.168.1.0/24'],
],
[
'name' => 'IpamPoolAllocationName',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池CIDR分配的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'test name'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListTokenResult<IpamPoolAllocationModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'IpamPoolAllocations' => [
'description' => 'IPAM地址池CIDR分配列表。',
'type' => 'array',
'items' => [
'description' => 'IPAM地址池CIDR分配列表。',
'type' => 'object',
'properties' => [
'IpamPoolAllocationId' => ['description' => 'IPAM地址池CIDR分配的实例ID。', 'type' => 'string', 'example' => 'ipam-pool-alloc-112za33e4****'],
'Cidr' => ['description' => '分配的地址段。', 'type' => 'string', 'example' => '192.168.1.0/24'],
'SourceCidr' => ['description' => '源地址段。', 'type' => 'string', 'example' => '192.168.0.0/16'],
'ResourceId' => ['description' => '分配给的资源ID。', 'type' => 'string', 'example' => 'vpc-bp16qjewdsunr41m1****'],
'ResourceType' => [
'description' => '分配给的资源类型。取值:'."\n"
."\n"
.'- **VPC**:表示资源的类型为VPC。'."\n"
.'- **IpamPool**:表示资源的类型为子地址池。'."\n"
.'- **Custom**:表示资源的类型为自定义预留网段。',
'type' => 'string',
'enumValueTitles' => [],
'example' => 'Custom',
],
'ResourceRegionId' => ['description' => '资源生效的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'ResourceOwnerId' => ['description' => '资源归属的阿里云账号(主账号)ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '132193271328****'],
'RegionId' => ['description' => 'IPAM地址池CIDR分配所属IPAM Pool的所在地域。'."\n"
."\n"
.'> 当IPAM地址池CIDR分配所属IPAM Pool具备地域属性时,该属性为IPAM Pool的所在地域。当IPAM地址池CIDR分配所属IPAM Pool不具备地域属性时,该属性为IPAM托管地域。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'IpamPoolId' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'example' => 'ipam-pool-6rcq3tobayc20t****'],
'Status' => ['description' => '实例的状态。取值:'."\n"
."\n"
.'- **Created**:表示创建完成。'."\n"
.'- **Deleted**:表示已删除。', 'type' => 'string', 'example' => 'Created'],
'CreationTime' => ['description' => '实例创建时间。', 'type' => 'string', 'example' => '2023-05-19T08:59:18Z'],
'IpamPoolAllocationDescription' => ['description' => 'IPAM地址池CIDR分配的描述信息。', 'type' => 'string', 'example' => 'test description'],
'IpamPoolAllocationName' => ['description' => 'IPAM地址池CIDR分配的名称。', 'type' => 'string', 'example' => 'test name'],
],
],
],
'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
'TotalCount' => ['description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
'MaxResults' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Count' => ['description' => '分批次查询时返回的具体条目数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3748DEFF-68BE-5EED-9937-7C1D0C21BAB4'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'OperationDenied.IpamRegionNotSupportListPoolAllocation', 'errorMessage' => 'The operation is not allowed because IPAM region does not support listing allocations.', 'description' => '无法在IPAM地域执行查询地址池分配的操作。'],
],
],
'title' => '查询IPAM地址池的CIDR分配信息',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamPoolAllocations'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'vpc:ListIpamPoolAllocations',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpamPoolAllocations\\": [\\n {\\n \\"IpamPoolAllocationId\\": \\"ipam-pool-alloc-112za33e4****\\",\\n \\"Cidr\\": \\"192.168.1.0/24\\",\\n \\"SourceCidr\\": \\"192.168.0.0/16\\",\\n \\"ResourceId\\": \\"vpc-bp16qjewdsunr41m1****\\",\\n \\"ResourceType\\": \\"Custom\\",\\n \\"ResourceRegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceOwnerId\\": 0,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"IpamPoolId\\": \\"ipam-pool-6rcq3tobayc20t****\\",\\n \\"Status\\": \\"Created\\",\\n \\"CreationTime\\": \\"2023-05-19T08:59:18Z\\",\\n \\"IpamPoolAllocationDescription\\": \\"test description\\",\\n \\"IpamPoolAllocationName\\": \\"test name\\"\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"TotalCount\\": 1000,\\n \\"MaxResults\\": 10,\\n \\"Count\\": 10,\\n \\"RequestId\\": \\"3748DEFF-68BE-5EED-9937-7C1D0C21BAB4\\"\\n}","type":"json"}]',
],
'ListIpamPoolCidrs' => [
'summary' => '查询IPAM地址池预置的CIDR地址段。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。'."\n"
."\n"
.'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamPoolId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-pool-6rcq3tobayc20t****'],
],
[
'name' => 'Cidr',
'in' => 'query',
'schema' => ['description' => '要查询的预置CIDR地址段。'."\n"
."\n"
.'> 目前,只支持IPv4类型的地址段。', 'type' => 'string', 'required' => false, 'example' => '192.168.1.0/24'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListTokenResult<IpamPoolCidrModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'IpamPoolCidrs' => [
'description' => 'IPAM地址池预置的CIDR地址段列表。',
'type' => 'array',
'items' => [
'description' => 'IPAM地址池预置的CIDR地址段列表。',
'type' => 'object',
'properties' => [
'IpamPoolId' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'example' => 'ipam-pool-6rcq3tobayc20t****'],
'Cidr' => ['description' => '预置的CIDR地址段。', 'type' => 'string', 'example' => '192.168.1.0/24'],
'Status' => ['description' => 'IPAM地址池预置CIDR的实例状态。取值:'."\n"
."\n"
.'- **Created**:表示创建完成。'."\n"
.'- **Deleted**:表示已删除。', 'type' => 'string', 'example' => 'Created'],
],
],
],
'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
'TotalCount' => ['description' => '查询的条目总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
'MaxResults' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Count' => ['description' => '分批次查询时返回的具体条目数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9E7CCB95-62E0-534D-9B9A-71F27E8B71B1'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'OperationDenied.PoolRegionNotSupportListPoolCidr', 'errorMessage' => 'The operation is not allowed because pool region does not support listing cidrs.', 'description' => '操作被拒绝,原因是无法在该地域执行查询地址池CIDR操作。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpamPoolCidrs\\": [\\n {\\n \\"IpamPoolId\\": \\"ipam-pool-6rcq3tobayc20t****\\",\\n \\"Cidr\\": \\"192.168.1.0/24\\",\\n \\"Status\\": \\"Created\\"\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"TotalCount\\": 1000,\\n \\"MaxResults\\": 10,\\n \\"Count\\": 10,\\n \\"RequestId\\": \\"9E7CCB95-62E0-534D-9B9A-71F27E8B71B1\\"\\n}","type":"json"}]',
'title' => '查询IPAM地址池预置的CIDR地址段',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamPoolCidrs'],
],
],
'ramActions' => [],
],
'ListIpamPools' => [
'summary' => '查询IPAM地址池信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamScopeId',
'in' => 'query',
'schema' => ['description' => 'IPAM作用范围的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-scope-glfmcyldpm8lsy****'],
],
[
'name' => 'IpamPoolIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'IPAM地址池的实例ID列表。N的取值范围为1~100,即一次最多查询100个IPAM地址池。',
'type' => 'array',
'items' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-pool-6rcq3tobayc20t****'],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'IpamPoolName',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'SourceIpamPoolId',
'in' => 'query',
'schema' => ['title' => '不传值:正常分页获取pool', 'description' => '源IPAM地址池的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-pool-lfnwi4jok1ss0g****'],
],
[
'name' => 'PoolRegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池生效地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池所属的资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2sermdd6****'],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表信息。',
'type' => 'array',
'items' => [
'description' => '标签列表信息。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签键。最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
."\n"
.'一个标签键最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
'Value' => ['description' => '标签值。最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n"
."\n"
.'一个标签值最多支持128个字符,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
],
'required' => false,
],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
.'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'IsShared',
'in' => 'query',
'schema' => ['description' => '是否是共享的地址池。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'IpVersion',
'in' => 'query',
'schema' => ['description' => 'IP地址协议版本。取值:'."\n"
."\n"
.'- **IPv4**:IPv4协议。'."\n"
."\n"
.'- **IPv6**:IPv6协议。', 'type' => 'string', 'required' => false, 'example' => 'IPv4'],
],
[
'name' => 'Ipv6Isp',
'in' => 'query',
'schema' => ['description' => 'IPv6地址段类型,仅对公网IPv6地址池生效。取值:'."\n"
."\n"
.'- **BGP**(默认值):阿里云BGP IPv6。'."\n"
.'- **ChinaMobile**:中国移动(单线)。'."\n"
.'- **ChinaUnicom**:中国联通(单线)。'."\n"
.'- **ChinaTelecom**:中国电信(单线)。'."\n"
."\n"
.'> 如果是开通了单线带宽白名单的用户,该字段可以设置为**ChinaTelecom**(中国电信)、**ChinaUnicom**(中国联通)或**ChinaMobile**(中国移动)。', 'type' => 'string', 'required' => false, 'example' => 'BGP'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListTokenResult<IpamPoolModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'IpamPools' => [
'description' => 'IPAM地址池列表。',
'type' => 'array',
'items' => [
'description' => 'IPAM地址池列表。',
'type' => 'object',
'properties' => [
'IpamId' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'example' => 'ipam-b5mtlx3q7xcnyr****'],
'IpamScopeId' => ['description' => 'IPAM作用范围的实例ID。', 'type' => 'string', 'example' => 'ipam-scope-glfmcyldpm8lsy****'],
'IpamScopeType' => ['description' => 'IPAM作用范围的作用域类型。取值:'."\n"
."\n"
.'- **public**:表示为公网类型。'."\n"
.'- **private**:表示为私网类型。', 'type' => 'string', 'example' => 'private'],
'IpamPoolId' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'example' => 'ipam-pool-6rcq3tobayc20t****'],
'IpamPoolName' => ['description' => 'IPAM地址池的名称。', 'type' => 'string', 'example' => 'test'],
'IpamPoolDescription' => ['description' => 'IPAM地址池的描述。', 'type' => 'string', 'example' => 'test description'],
'CreateTime' => ['description' => 'IPAM地址池的创建时间。', 'type' => 'string', 'example' => '2023-04-19T16:49:01Z'],
'RegionId' => ['description' => '查询请求对应的当前地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'PoolDepth' => ['description' => 'IPAM地址池的深度。取值范围:**0~10**。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'HasSubPool' => ['description' => '是否有子地址池。取值:'."\n"
.'- **true**:是。'."\n"
.'- **false**:否。', 'type' => 'boolean', 'example' => 'true'],
'SourceIpamPoolId' => ['description' => '源IPAM地址池的实例ID。', 'type' => 'string', 'example' => 'ipam-pool-lfnwi4jok1ss0g****'],
'Status' => ['description' => 'IPAM地址池实例的状态。取值:'."\n"
."\n"
.'- **Creating**:表示创建中。'."\n"
.'- **Created**:表示创建完成。'."\n"
.'- **Modifying**:表示修改中。'."\n"
.'- **Deleting**:表示删除中。'."\n"
.'- **Deleted**:表示已删除。', 'type' => 'string', 'example' => 'Created'],
'IpVersion' => ['description' => 'IP地址协议版本。', 'type' => 'string', 'example' => 'IPv4'],
'AllocationDefaultCidrMask' => ['description' => 'IPAM地址池分配的默认网络掩码。', 'type' => 'integer', 'format' => 'int32', 'example' => '28'],
'AllocationMaxCidrMask' => ['description' => 'IPAM地址池分配的最大网络掩码。', 'type' => 'integer', 'format' => 'int32', 'example' => '32'],
'AllocationMinCidrMask' => ['description' => 'IPAM地址池分配的最小网络掩码。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
'ResourceGroupId' => ['description' => 'IPAM地址池的资源组ID。', 'type' => 'string', 'example' => 'rg-acfmxazb4ph6aiy****'],
'Tags' => [
'description' => '标签列表信息。',
'type' => 'array',
'items' => [
'description' => '标签列表信息。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'FinanceDept'],
'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'],
],
],
],
'PoolRegionId' => ['description' => '查询到的IPAM地址池的生效地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'IpamRegionId' => ['description' => '查询到的IPAM地址池所属IPAM实例的托管地域。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'OwnerId' => ['description' => 'IPAM地址池资源拥有者的阿里云主账号。', 'type' => 'integer', 'format' => 'int64', 'example' => '1210123456******'],
'AutoImport' => ['description' => '地址池是否开启自动导入功能。', 'type' => 'boolean', 'example' => 'true'],
'IsShared' => ['description' => '是否是共享的地址池。', 'type' => 'boolean', 'example' => 'true'],
'Ipv6Isp' => ['description' => 'IPv6地址段类型。', 'type' => 'string', 'example' => 'BGP'],
'Cidrs' => [
'description' => '地址池预置的CIDR地址段列表。',
'type' => 'array',
'items' => ['description' => '地址池预置的CIDR地址段。', 'type' => 'string', 'example' => '10.214.0.0/16'],
],
],
],
],
'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
'TotalCount' => ['description' => '查询的条目总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
'MaxResults' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Count' => ['description' => '分批次查询时返回的具体条目数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B54867DE-83DC-56B4-A57E-69A03119D0B1'],
],
],
],
],
'title' => '查询IPAM地址池信息',
'changeSet' => [
['createdAt' => '2025-05-16T06:50:59.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-04-29T06:52:08.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-04-29T06:51:34.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamPools'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'vpc:ListIpamPools',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'IpamPool', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipampool/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpamPools\\": [\\n {\\n \\"IpamId\\": \\"ipam-b5mtlx3q7xcnyr****\\",\\n \\"IpamScopeId\\": \\"ipam-scope-glfmcyldpm8lsy****\\",\\n \\"IpamScopeType\\": \\"private\\",\\n \\"IpamPoolId\\": \\"ipam-pool-6rcq3tobayc20t****\\",\\n \\"IpamPoolName\\": \\"test\\",\\n \\"IpamPoolDescription\\": \\"test description\\",\\n \\"CreateTime\\": \\"2023-04-19T16:49:01Z\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"PoolDepth\\": 2,\\n \\"HasSubPool\\": true,\\n \\"SourceIpamPoolId\\": \\"ipam-pool-lfnwi4jok1ss0g****\\",\\n \\"Status\\": \\"Created\\",\\n \\"IpVersion\\": \\"IPv4\\",\\n \\"AllocationDefaultCidrMask\\": 28,\\n \\"AllocationMaxCidrMask\\": 32,\\n \\"AllocationMinCidrMask\\": 8,\\n \\"ResourceGroupId\\": \\"rg-acfmxazb4ph6aiy****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"PoolRegionId\\": \\"cn-hangzhou\\",\\n \\"IpamRegionId\\": \\"cn-hangzhou\\",\\n \\"OwnerId\\": 0,\\n \\"AutoImport\\": true,\\n \\"IsShared\\": true,\\n \\"Ipv6Isp\\": \\"BGP\\",\\n \\"Cidrs\\": [\\n \\"10.214.0.0/16\\"\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"TotalCount\\": 1000,\\n \\"MaxResults\\": 10,\\n \\"Count\\": 10,\\n \\"RequestId\\": \\"B54867DE-83DC-56B4-A57E-69A03119D0B1\\"\\n}","type":"json"}]',
],
'ListIpamResourceCidrs' => [
'summary' => '查询IPAM作用范围内的资源。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。'."\n"
."\n"
.'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamScopeId',
'in' => 'query',
'schema' => ['description' => 'IPAM作用范围的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-scope-glfmcyldpm8lsy****'],
],
[
'name' => 'IpamPoolId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的实例ID。'."\n"
."\n"
.'> **IpamPoolId**不能是共享地址池的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-pool-6rcq3tobayc20t****'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'schema' => ['description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp16qjewdsunr41m1****'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型。取值:'."\n"
."\n"
.'- **VPC**:表示资源类型为VPC。'."\n"
.'- **VSwitch**:表示资源类型为交换机。', 'type' => 'string', 'required' => false, 'example' => 'VPC'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
."\n"
.'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
.'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'VpcId',
'in' => 'query',
'schema' => ['description' => '资源所属的VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1fjfnrg3av6zb9e****'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListTokenResult<IpamResourceCidrModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'IpamResourceCidrs' => [
'description' => '资源信息列表。',
'type' => 'array',
'items' => [
'description' => '资源信息列表。',
'type' => 'object',
'properties' => [
'AliUid' => ['description' => '阿里云账号(主账号)ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '132193271328****'],
'ResourceType' => ['description' => '资源类型。取值:'."\n"
."\n"
.'- **VPC**:表示资源类型为VPC。'."\n"
.'- **VSwitch**:表示资源类型为交换机。', 'type' => 'string', 'example' => 'VPC'],
'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'vpc-bp16qjewdsunr41m1****'],
'ResourceName' => ['description' => '资源名称。', 'type' => 'string'],
'ResourceOwnerId' => ['description' => '资源归属的阿里云账号(主账号)ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '132193271328****'],
'ResourceRegionId' => ['description' => '资源的生效地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'Cidr' => ['description' => '资源的地址段。', 'type' => 'string', 'example' => '192.168.1.0/24'],
'SourceCidr' => ['description' => '源CIDR地址段。', 'type' => 'string', 'example' => '192.168.1.0/24'],
'Status' => ['description' => 'IPAM地址池中的资源状态。取值:'."\n"
."\n"
.'- **Created**:表示已创建。'."\n"
.'- **Deleted**:表示已删除。', 'type' => 'string', 'example' => 'Created'],
'ManagementStatus' => ['description' => '资源的管理状态。'."\n"
."\n"
.'- **Managed(托管)**:该资源具有从IPAM地址池中分配的CIDR,IPAM 正在监控该资源是否可能与CIDR重叠以及是否符合池分配规则。'."\n"
.'- **Unmanaged(非托管)**:该资源不具有从 IPAM 池中分配的CIDR,IPAM正在监控该资源是否可能存在符合池分配规则的CIDR,并监控CIDR是否存在重叠。'."\n"
.'- **Ignored(已忽略)**:已选择该资源免于监控。不会评估忽略的资源是否存在重叠或分配规则合规性。选择忽略资源时,从IPAM地址池中分配给它的任何空间都将返回到池中,并且不会通过自动导入再次导入该资源(如果在地址池中设置了自动导入分配规则)。', 'type' => 'string', 'example' => 'Managed'],
'ComplianceStatus' => ['description' => '资源的合规状态。'."\n"
."\n"
.'- **Compliant(合规)**:托管式资源的CIDR符合IPAM地址池的分配规则。'."\n"
.'- **Noncompliant(不合规)**:托管式资源的CIDR不符合IPAM地址池的一条或多条分配规则。'."\n"
.'- **Ignored(已忽略)**:已选择该资源免于监控。不会评估忽略的资源是否存在重叠或分配规则合规性。'."\n"
.'- **Unmanaged(非托管式)**:资源不具备从IPAM地址池中分配的CIDR,IPAM不监控该资源的CIDR是否符合地址池的分配规则,将监控CIDR是否存在重叠。', 'type' => 'string', 'example' => 'Compliant'],
'OverlapStatus' => ['description' => '资源的重叠状态。'."\n"
."\n"
.'- **Nonoverlapping(不重叠)**:资源的CIDR不与相同作用范围内的其他CIDR重叠。'."\n"
.'- **Overlapping(重叠)**:资源的CIDR与相同作用范围内的另一个CIDR重叠。'."\n"
.'- **Ignored(已忽略)**:已选择该资源免于监控。不会评估忽略的资源是否存在重叠或分配规则合规性。', 'type' => 'string', 'example' => 'Nonoverlapping'],
'IpUsage' => ['description' => 'IP的利用率,小数形式。', 'type' => 'string', 'example' => '0'],
'IpCountDetail' => [
'description' => '资源IP地址数量详情。',
'type' => 'object',
'properties' => [
'FreeIpCount' => ['description' => '可分配IP地址数量。', 'type' => 'string', 'example' => '252'],
'TotalIpCount' => ['description' => '总IP地址数量。', 'type' => 'string', 'example' => '256'],
'UsedIpCount' => ['description' => '已分配IP地址数量。', 'type' => 'string', 'example' => '4'],
],
],
'IpamId' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'example' => 'ipam-uq5dcfc2eqhpf4****'],
'IpamScopeId' => ['description' => 'IPAM作用范围的实例ID。', 'type' => 'string', 'example' => 'ipam-scope-glfmcyldpm8lsy****'],
'IpamPoolId' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'example' => 'ipam-pool-6rcq3tobayc20t***'],
'IpamAllocationId' => ['description' => 'IPAM地址池CIDR分配的实例ID。', 'type' => 'string', 'example' => 'ipam-pool-alloc-112za33e4****'],
'VpcId' => ['description' => '资源所属的VPC实例ID。', 'type' => 'string', 'example' => 'vpc-bp1fjfnrg3av6zb9e****'],
'OverlapDetail' => [
'description' => '与当前资源重叠的资源信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'OverlapResourceId' => ['description' => '与当前资源重叠的实例ID。', 'type' => 'string', 'example' => 'vpc-aq3fjgnig5av6jb8d****'],
'OverlapResourceRegion' => ['description' => '与当前资源重叠的实例地域信息。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'OverlapResourceCidr' => ['description' => '与当前资源重叠的CIDR信息。', 'type' => 'string', 'example' => '192.168.1.0/24'],
],
'description' => '',
],
],
],
],
],
'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
'TotalCount' => ['description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
'MaxResults' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Count' => ['description' => '分批次查询时返回的具体条目数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '49A9DE56-B68C-5FFC-BC06-509D086F287C'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Forbidden.QueryShareResource', 'errorMessage' => 'Authentication is failed for querying a shared IPAM pool.', 'description' => '查询共享IPAM地址池的资源失败。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpamResourceCidrs\\": [\\n {\\n \\"AliUid\\": 0,\\n \\"ResourceType\\": \\"VPC\\",\\n \\"ResourceId\\": \\"vpc-bp16qjewdsunr41m1****\\",\\n \\"ResourceName\\": \\"\\",\\n \\"ResourceOwnerId\\": 0,\\n \\"ResourceRegionId\\": \\"cn-hangzhou\\",\\n \\"Cidr\\": \\"192.168.1.0/24\\",\\n \\"SourceCidr\\": \\"192.168.1.0/24\\",\\n \\"Status\\": \\"Created\\",\\n \\"ManagementStatus\\": \\"Managed\\",\\n \\"ComplianceStatus\\": \\"Compliant\\",\\n \\"OverlapStatus\\": \\"Nonoverlapping\\",\\n \\"IpUsage\\": \\"0\\",\\n \\"IpCountDetail\\": {\\n \\"FreeIpCount\\": \\"252\\",\\n \\"TotalIpCount\\": \\"256\\",\\n \\"UsedIpCount\\": \\"4\\"\\n },\\n \\"IpamId\\": \\"ipam-uq5dcfc2eqhpf4****\\",\\n \\"IpamScopeId\\": \\"ipam-scope-glfmcyldpm8lsy****\\",\\n \\"IpamPoolId\\": \\"ipam-pool-6rcq3tobayc20t***\\",\\n \\"IpamAllocationId\\": \\"ipam-pool-alloc-112za33e4****\\",\\n \\"VpcId\\": \\"vpc-bp1fjfnrg3av6zb9e****\\",\\n \\"OverlapDetail\\": [\\n {\\n \\"OverlapResourceId\\": \\"vpc-aq3fjgnig5av6jb8d****\\",\\n \\"OverlapResourceRegion\\": \\"cn-hangzhou\\",\\n \\"OverlapResourceCidr\\": \\"192.168.1.0/24\\"\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"TotalCount\\": 1000,\\n \\"MaxResults\\": 10,\\n \\"Count\\": 10,\\n \\"RequestId\\": \\"49A9DE56-B68C-5FFC-BC06-509D086F287C\\"\\n}","type":"json"}]',
'title' => '查询IPAM作用范围内的资源',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamResourceCidrs'],
],
],
'ramActions' => [],
],
'ListIpamResourceDiscoveries' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '要查询资源发现的地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源发现的资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2sermdd6****'],
],
[
'name' => 'IpamResourceDiscoveryIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '资源发现的实例ID列表。N的取值范围为1~100,即一次最多查询100个资源发现实例。',
'type' => 'array',
'items' => ['description' => '资源发现的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'IpamResourceDiscoveryName',
'in' => 'query',
'schema' => ['description' => '资源发现的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以http://或https://开头。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Type',
'in' => 'query',
'schema' => ['description' => '资源发现的类型。'."\n"
."\n"
.'> 当前支持的类型:'."\n"
.'>- system:系统创建的默认资源发现。'."\n"
.'>- custom:用户创建的自定义类型的资源发现。', 'type' => 'string', 'required' => false, 'example' => 'system'],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表信息。',
'type' => 'array',
'items' => [
'description' => '标签列表信息。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签键。最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
."\n"
.'一个标签键最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
'Value' => ['description' => '标签值。最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n"
."\n"
.'一个标签值最多支持128个字符,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
],
'required' => false,
],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'IsShared',
'in' => 'query',
'schema' => ['description' => '是否是共享的资源发现。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListTokenResult<IpamResourceDiscoveryModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'IpamResourceDiscoveries' => [
'description' => '资源发现的实例列表。',
'type' => 'array',
'items' => [
'description' => '资源发现的实例列表。',
'type' => 'object',
'properties' => [
'IpamResourceDiscoveryId' => ['description' => '资源发现的实例ID。', 'type' => 'string', 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
'IpamResourceDiscoveryName' => ['description' => '资源发现的名称。', 'type' => 'string', 'example' => 'test'],
'IpamResourceDiscoveryDescription' => ['description' => '资源发现的描述信息。', 'type' => 'string', 'example' => 'test description'],
'OperatingRegionList' => [
'description' => '资源发现的操作地域列表。',
'type' => 'array',
'items' => ['description' => '资源发现的操作地域。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
'Type' => ['description' => '资源发现的类型。', 'type' => 'string', 'example' => 'system'],
'IpamResourceDiscoveryStatus' => ['description' => '资源发现实例的状态。取值:'."\n"
.'- **Creating**:表示创建中。'."\n"
.'- **Created**:表示创建完成。'."\n"
.'- **Modifying**:表示修改中。'."\n"
.'- **Deleting**:表示删除中。'."\n"
.'- **Deleted**:表示已删除。', 'type' => 'string', 'example' => 'Created'],
'ResourceGroupId' => ['description' => '资源发现的资源组ID。', 'type' => 'string', 'example' => 'rg-aek2sermdd6****'],
'CreateTime' => ['description' => '资源发现创建的时间。', 'type' => 'string', 'example' => '2022-07-01T02:05:23Z'],
'Tags' => [
'description' => '标签列表。',
'type' => 'array',
'items' => [
'description' => '标签列表。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'FinanceDept'],
'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'],
],
],
],
'RegionId' => ['description' => '查询到的资源发现实例的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'OwnerId' => ['description' => '资源发现实例资源拥有者的阿里云主账号。', 'type' => 'integer', 'format' => 'int64', 'example' => '1210123456******'],
'ShareType' => ['description' => '资源的共享状态。'."\n"
."\n"
.'- 取值为空时,表示该资源发现为普通的实例。'."\n"
."\n"
.'- 取值为Shared时,表示该资源发现来自共享。'."\n"
."\n"
.'- 取值为Sharing时,表示该资源发现在共享中。', 'type' => 'string', 'example' => 'Shared'],
],
],
],
'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
'TotalCount' => ['description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'MaxResults' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'Count' => ['description' => '分批次查询时返回的具体条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '86137597-443F-5B66-B9B6-8514E0C50B8F'],
],
],
],
],
'title' => '查询资源发现实例',
'summary' => '查询IPAM资源发现实例。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamResourceDiscoveries'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'vpc:ListIpamResourceDiscoveries',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpamResourceDiscoveries\\": [\\n {\\n \\"IpamResourceDiscoveryId\\": \\"ipam-res-disco-jt5f2af2u6nk2z321****\\",\\n \\"IpamResourceDiscoveryName\\": \\"test\\",\\n \\"IpamResourceDiscoveryDescription\\": \\"test description\\",\\n \\"OperatingRegionList\\": [\\n \\"cn-hangzhou\\"\\n ],\\n \\"Type\\": \\"system\\",\\n \\"IpamResourceDiscoveryStatus\\": \\"Created\\",\\n \\"ResourceGroupId\\": \\"rg-aek2sermdd6****\\",\\n \\"CreateTime\\": \\"2022-07-01T02:05:23Z\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OwnerId\\": 0,\\n \\"ShareType\\": \\"Shared\\"\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 10,\\n \\"Count\\": 1,\\n \\"RequestId\\": \\"86137597-443F-5B66-B9B6-8514E0C50B8F\\"\\n}","type":"json"}]',
],
'ListIpamResourceDiscoveryAssociations' => [
'summary' => '查询资源发现和IPAM的关联关系。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '请求地域。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamId',
'in' => 'query',
'schema' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-ccxbnsbhew0d6t****'],
],
[
'name' => 'IpamResourceDiscoveryId',
'in' => 'query',
'schema' => ['description' => '资源发现的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
."\n"
.'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
.'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListTokenResult<IpamResourceDiscoveryModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'IpamResourceDiscoveryAssociations' => [
'description' => '关联关系信息列表。',
'type' => 'array',
'items' => [
'description' => '关联关系信息列表。',
'type' => 'object',
'properties' => [
'IpamResourceDiscoveryId' => ['description' => '资源发现的实例ID。', 'type' => 'string', 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
'IpamId' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'example' => 'ipam-ccxbnsbhew0d6t****'],
'Status' => ['description' => '关联关系状态。取值:'."\n"
."\n"
.'- **Created**:表示已创建。'."\n"
.'- **Deleted**:表示已删除。', 'type' => 'string', 'example' => 'Created'],
'IpamResourceDiscoveryOwnerId' => ['description' => '资源发现实例归属的阿里云账号(主账号)ID。', 'type' => 'string', 'example' => '1210123456******'],
'IpamResourceDiscoveryType' => ['description' => '资源发现的类型。取值:'."\n"
.'- **system**:表示系统创建的默认资源发现。'."\n"
.'- **custom**:表示用户创建的自定义类型的资源发现。', 'type' => 'string', 'example' => 'custom'],
'IpamResourceDiscoveryStatus' => ['description' => '资源发现实例的状态。取值:'."\n"
.'- **Creating**:表示创建中。'."\n"
.'- **Created**:表示创建完成。'."\n"
.'- **Modifying**:表示修改中。'."\n"
.'- **Deleting**:表示删除中。'."\n"
.'- **Deleted**:表示已删除。', 'type' => 'string', 'example' => 'Created'],
],
],
],
'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
'TotalCount' => ['description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'MaxResults' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'Count' => ['description' => '分批次查询时返回的具体条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F28A239E-F88D-500E-ADE7-FA5E8CA3A170'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询资源发现和IPAM的关联关系',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamResourceDiscoveryAssociations'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'vpc:ListIpamResourceDiscoveryAssociations',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpamResourceDiscoveryAssociations\\": [\\n {\\n \\"IpamResourceDiscoveryId\\": \\"ipam-res-disco-jt5f2af2u6nk2z321****\\",\\n \\"IpamId\\": \\"ipam-ccxbnsbhew0d6t****\\",\\n \\"Status\\": \\"Created\\",\\n \\"IpamResourceDiscoveryOwnerId\\": \\"1210123456******\\",\\n \\"IpamResourceDiscoveryType\\": \\"custom\\",\\n \\"IpamResourceDiscoveryStatus\\": \\"Created\\"\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"TotalCount\\": 20,\\n \\"MaxResults\\": 10,\\n \\"Count\\": 10,\\n \\"RequestId\\": \\"F28A239E-F88D-500E-ADE7-FA5E8CA3A170\\"\\n}","type":"json"}]',
],
'ListIpamScopes' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamId',
'in' => 'query',
'schema' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-ccxbnsbhew0d6t****'],
],
[
'name' => 'IpamScopeType',
'in' => 'query',
'schema' => ['description' => 'IPAM作用范围的作用域类型。取值:'."\n"
."\n"
.'- **public**:表示为公网类型。'."\n"
.'- **private**:表示为私网类型。', 'type' => 'string', 'required' => false, 'example' => 'private'],
],
[
'name' => 'IpamScopeIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'IPAM作用范围的实例ID列表信息。',
'type' => 'array',
'items' => ['description' => 'IPAM作用范围的实例ID。最多支持输入20个实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-scope-glfmcyldpm8lsy****'],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'IpamScopeName',
'in' => 'query',
'schema' => ['description' => 'IPAM作用范围的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'IPAM作用范围所属的资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2sermdd6****'],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表。',
'type' => 'array',
'items' => [
'description' => '标签列表。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签键。最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
."\n"
.'一个标签键最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
'Value' => ['description' => '资源的标签值。最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n"
."\n"
.'最多支持128个字符,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
],
'required' => false,
],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
.'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListTokenResult<IpamScopeModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'IpamScopes' => [
'description' => 'IPAM作用范围列表。',
'type' => 'array',
'items' => [
'description' => 'IPAM作用范围列表。',
'type' => 'object',
'properties' => [
'CreateTime' => ['description' => 'IPAM作用范围的创建时间。', 'type' => 'string', 'example' => '2022-04-18T03:12:37Z'],
'IpamScopeId' => ['description' => 'IPAM作用范围的实例ID。', 'type' => 'string', 'example' => 'ipam-scope-glfmcyldpm8lsy****'],
'IpamScopeType' => ['description' => 'IPAM作用范围的作用域类型。取值:'."\n"
."\n"
.'- **public**:表示为公网类型。'."\n"
.'- **private**:表示为私网类型。', 'type' => 'string', 'example' => 'private'],
'Status' => ['description' => 'IPAM作用范围的状态。取值:'."\n"
."\n"
.'- **Creating**:表示创建中。'."\n"
.'- **Created**:表示创建完成。'."\n"
.'- **Deleting**:表示删除中。'."\n"
.'- **Deleted**:表示已删除。', 'type' => 'string', 'example' => 'Created'],
'IpamId' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'example' => 'ipam-ccxbnsbhew0d6t****'],
'PoolCount' => ['description' => 'IPAM作用范围作用域下包含的地址池的个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'IpamScopeName' => ['description' => 'IPAM作用范围的名称。', 'type' => 'string', 'example' => 'test'],
'IpamScopeDescription' => ['description' => 'IPAM作用范围的描述信息。', 'type' => 'string', 'example' => 'test description'],
'ResourceGroupId' => ['description' => 'IPAM作用范围的资源组ID。', 'type' => 'string', 'example' => 'rg-acfmxazb4ph6aiy****'],
'Tags' => [
'description' => '标签列表。',
'type' => 'array',
'items' => [
'description' => '标签列表。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'FinanceDept'],
'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'FinanceDept'],
],
],
],
'IsDefault' => ['description' => '是否为默认作用域,取值:'."\n"
.' '."\n"
.'- **true**:是默认作用域。'."\n"
.'- **false**:不是默认作用域。', 'type' => 'boolean', 'example' => 'true'],
'RegionId' => ['description' => '查询到的IPAM作用范围的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'OwnerId' => ['description' => 'IPAM作用范围资源拥有者的阿里云主账号。', 'type' => 'integer', 'format' => 'int64', 'example' => '1210123456******'],
],
],
],
'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
'TotalCount' => ['description' => '查询的条目总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
'MaxResults' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Count' => ['description' => '分批次查询时返回的具体条目数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8859C501-97E7-53D4-B94B-2A9E16003B22'],
],
],
],
],
'title' => '查询IPAM作用范围的实例信息',
'summary' => '查询IPAM作用范围的实例信息。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamScopes'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'vpc:ListIpamScopes',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'IpamScope', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipamscope/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpamScopes\\": [\\n {\\n \\"CreateTime\\": \\"2022-04-18T03:12:37Z\\",\\n \\"IpamScopeId\\": \\"ipam-scope-glfmcyldpm8lsy****\\",\\n \\"IpamScopeType\\": \\"private\\",\\n \\"Status\\": \\"Created\\",\\n \\"IpamId\\": \\"ipam-ccxbnsbhew0d6t****\\",\\n \\"PoolCount\\": 2,\\n \\"IpamScopeName\\": \\"test\\",\\n \\"IpamScopeDescription\\": \\"test description\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxazb4ph6aiy****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceDept\\"\\n }\\n ],\\n \\"IsDefault\\": true,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OwnerId\\": 0\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"TotalCount\\": 1000,\\n \\"MaxResults\\": 10,\\n \\"Count\\": 10,\\n \\"RequestId\\": \\"8859C501-97E7-53D4-B94B-2A9E16003B22\\"\\n}","type":"json"}]',
],
'ListIpams' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~448570~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'IPAM的资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2sermdd6****'],
],
[
'name' => 'IpamIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'IPAM的实例ID列表。N的取值范围为1~100,即一次最多查询100个IPAM实例。',
'type' => 'array',
'items' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-ccxbnsbhew0d6t****'],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'IpamName',
'in' => 'query',
'schema' => ['description' => 'IPAM的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表信息。',
'type' => 'array',
'items' => [
'description' => '标签列表信息。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签键。最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
."\n"
.'一个标签键最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
'Value' => ['description' => '标签值。最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n"
."\n"
.'一个标签值最多支持128个字符,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
],
'required' => false,
],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
.'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListTokenResult<IpamModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'Ipams' => [
'description' => 'IPAM实例列表。',
'type' => 'array',
'items' => [
'description' => 'IPAM实例列表。',
'type' => 'object',
'properties' => [
'IpamId' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'example' => 'ipam-ccxbnsbhew0d6t****'],
'IpamName' => ['description' => 'IPAM的名称。', 'type' => 'string', 'example' => 'test'],
'IpamDescription' => ['description' => 'IPAM的描述信息。', 'type' => 'string', 'example' => 'test description'],
'OperatingRegionList' => [
'description' => 'IPAM的生效地域列表。',
'type' => 'array',
'items' => ['description' => 'IPAM生效地域。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
'PrivateDefaultScopeId' => ['description' => '创建IPAM后,系统默认创建的私网IPAM作用范围。', 'type' => 'string', 'example' => 'ipam-scope-okoerbco6unqfr****'],
'PublicDefaultScopeId' => ['description' => '创建IPAM后,系统默认创建的公网IPAM作用范围。', 'type' => 'string', 'example' => 'ipam-scope-ovb76p1g1m19dr****'],
'ScopeCount' => ['description' => 'IPAM作用范围的个数。取值范围:**2~5**。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'IpamStatus' => ['description' => 'IPAM实例的状态。取值:'."\n"
."\n"
.'- **Creating**:表示创建中。'."\n"
.'- **Created**:表示创建完成。'."\n"
.'- **Deleting**:表示删除中。'."\n"
.'- **Deleted**:表示已删除。', 'type' => 'string', 'example' => 'Created'],
'ResourceGroupId' => ['description' => 'IPAM的资源组ID。', 'type' => 'string', 'example' => 'rg-aek2dbprgpt****'],
'CreateTime' => ['description' => 'IPAM创建的时间。', 'type' => 'string', 'example' => '2022-07-01T02:05:23Z'],
'Tags' => [
'description' => '标签列表。',
'type' => 'array',
'items' => [
'description' => '标签列表。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签键', 'type' => 'string', 'example' => 'FinanceDept'],
'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'],
],
],
],
'RegionId' => ['description' => '查询到的IPAM实例的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'OwnerId' => ['description' => 'IPAM实例资源拥有者的阿里云主账号。', 'type' => 'integer', 'format' => 'int64', 'example' => '1210123456******'],
'DefaultResourceDiscoveryId' => ['description' => '默认资源发现实例ID。', 'type' => 'string', 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
'DefaultResourceDiscoveryAssociationId' => ['description' => '默认的资源发现关联关系ID。', 'type' => 'string', 'example' => 'ipam-res-disco-assoc-jt5fac8twugdbbgip****'],
'ResourceDiscoveryAssociationCount' => ['description' => '资源发现数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
'TotalCount' => ['description' => '列表条目数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'MaxResults' => ['description' => '分批次查询时返回的最多条目数。取值范围:1~100,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'Count' => ['description' => '分批次查询时返回的具体条目数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '23CA0A0B-B0F5-5495-B355-7D9A9203A46B'],
],
],
],
],
'title' => '查询IPAM实例',
'summary' => '查询ipam。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpams'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'vpc:ListIpams',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Ipams\\": [\\n {\\n \\"IpamId\\": \\"ipam-ccxbnsbhew0d6t****\\",\\n \\"IpamName\\": \\"test\\",\\n \\"IpamDescription\\": \\"test description\\",\\n \\"OperatingRegionList\\": [\\n \\"cn-hangzhou\\"\\n ],\\n \\"PrivateDefaultScopeId\\": \\"ipam-scope-okoerbco6unqfr****\\",\\n \\"PublicDefaultScopeId\\": \\"ipam-scope-ovb76p1g1m19dr****\\",\\n \\"ScopeCount\\": 2,\\n \\"IpamStatus\\": \\"Created\\",\\n \\"ResourceGroupId\\": \\"rg-aek2dbprgpt****\\",\\n \\"CreateTime\\": \\"2022-07-01T02:05:23Z\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OwnerId\\": 0,\\n \\"DefaultResourceDiscoveryId\\": \\"ipam-res-disco-jt5f2af2u6nk2z321****\\",\\n \\"DefaultResourceDiscoveryAssociationId\\": \\"ipam-res-disco-assoc-jt5fac8twugdbbgip****\\",\\n \\"ResourceDiscoveryAssociationCount\\": 1\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"TotalCount\\": 10,\\n \\"MaxResults\\": 20,\\n \\"Count\\": 10,\\n \\"RequestId\\": \\"23CA0A0B-B0F5-5495-B355-7D9A9203A46B\\"\\n}","type":"json"}]',
],
'ListTagResources' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '资源所属的地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '资源ID列表。',
'type' => 'array',
'items' => ['description' => '资源ID。最多支持输入50个资源ID。'."\n"
."\n"
.'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', 'type' => 'string', 'required' => false, 'example' => 'ipam-ccxbnsbhew0d6t****'],
'required' => false,
'maxItems' => 51,
],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型。取值:'."\n"
."\n"
.'- **IPAM**:表示资源类型为IPAM。'."\n"
.'- **IPAMSCOPE**:表示资源类型为IPAM作用范围。'."\n"
.'- **IPAMPOOL**:表示资源类型为IPAM地址池。', 'type' => 'string', 'required' => true, 'example' => 'IPAM'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表。',
'type' => 'array',
'items' => [
'description' => '标签列表。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '资源的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
."\n"
.'最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n"
."\n"
.'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
'Value' => ['description' => '资源的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
."\n"
.'最多支持128个字符,不能包含`http://`或者`https://`。'."\n"
."\n"
.'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
],
'required' => false,
],
'required' => false,
'maxItems' => 21,
],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
."\n"
.'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
.'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '分批次查询时每次显示的条目数。取值范围:1~50,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'example' => '20'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListTokenResult<TagResourceModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'TagResources' => [
'description' => '绑定标签的资源信息。',
'type' => 'array',
'items' => [
'description' => '绑定标签的资源信息。',
'type' => 'object',
'properties' => [
'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'FinanceDept'],
'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'],
'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'ipam-uq5dcfc2eqhpf4****'],
'ResourceType' => ['description' => '资源类型。取值:'."\n"
."\n"
.'- **IPAM**:表示资源类型为IPAM。'."\n"
.'- **IPAMSCOPE**:表示资源类型为IPAM作用范围。'."\n"
.'- **IPAMPOOL**:表示资源类型为IPAM地址池。', 'type' => 'string', 'example' => 'IPAM'],
],
],
],
'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
.'- 如果**NextToken**为空表示没有下一次查询。'."\n"
.'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '672053AB-90C9-5693-AB96-458F137A5ED6'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IllegalParamSize.ResourceIds', 'errorMessage' => 'The number of Param ResourceIds exceeded the limit.', 'description' => '传入的ResourceIds参数超过数量限制。'],
['errorCode' => 'IllegalParamSize.Tags', 'errorMessage' => 'The number of Parameter Tags exceeded the limit.', 'description' => '传入的Tags参数超过数量限制。'],
['errorCode' => 'MissingParameter.ResourceIds', 'errorMessage' => 'The input parameter ResourceIds that is mandatory for processing this request is not supplied.', 'description' => '参数ResourceIds未传入。'],
['errorCode' => 'MissingParameter.ResourceType', 'errorMessage' => 'The input parameter ResourceType that is mandatory for processing this request is not supplied.', 'description' => '参数ResourceType未传入。'."\n"],
['errorCode' => 'MissingParameter.TagsAndResourceIds', 'errorMessage' => 'The input parameter Tags and ResourceIds that is mandatory for processing this request is not supplied.', 'description' => '参数Tags及ResourceIds未传入。'."\n"],
['errorCode' => 'MissingParameter.Tags', 'errorMessage' => 'The input parameter Tags that is mandatory for processing this request is not supplied.', 'description' => '参数Tags未传入。'."\n"],
['errorCode' => 'DuplicatedParam.TagKey', 'errorMessage' => 'TagKey duplicate.', 'description' => 'TagKey参数重复。'],
['errorCode' => 'IllegalParam.TagKey', 'errorMessage' => 'The input parameter TagKey is invalid.', 'description' => '参数TagKey非法。'."\n"],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询资源已绑定的标签列表',
'summary' => '查询资源标签列表。',
'description' => '### 使用说明'."\n"
."\n"
.'- 请求中至少指定参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**),以确定检索对象。'."\n"
.'- **Tag.N**是资源的标签,由一个键值对组成。仅指定**Tag.N.Key**时,则返回该标签键关联的所有标签值。仅指定**Tag.N.Value**会报错。'."\n"
.'- 如果您同时指定**Tag.N**和**ResourceId.N**筛选标签,则**ResourceId.N**必须满足所有输入的标签键值对。'."\n"
.'- 如果您同时指定多个标签键值对,返回结果为同时包含被指定的多个键值对的资源。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'vpc:ListTagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'VpcIpam', 'resourceType' => 'Ipam', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipam/{#IpamId}'],
['validationType' => 'conditional', 'product' => 'VpcIpam', 'resourceType' => 'IpamPool', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipampool/{#IpamPoolId}'],
['validationType' => 'conditional', 'product' => 'VpcIpam', 'resourceType' => 'IpamScope', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipamscope/{#IpamScopeId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"FinanceDept\\",\\n \\"TagValue\\": \\"FinanceJoshua\\",\\n \\"ResourceId\\": \\"ipam-uq5dcfc2eqhpf4****\\",\\n \\"ResourceType\\": \\"IPAM\\"\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"RequestId\\": \\"672053AB-90C9-5693-AB96-458F137A5ED6\\"\\n}","type":"json"}]',
],
'OpenVpcIpamService' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
."\n"
.'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId可能不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3F814C37-B032-5477-AF5A-2925D0593CD4'],
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => 'IPAM开通成功返回的信息。', 'type' => 'string', 'example' => 'successful'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'OperationFailed.ExceedPurchaseLimit', 'errorMessage' => 'You have reached the limit of purchase quantity.', 'description' => '您已达到购买数量限制。'],
['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'The user is not authorized to operate on the specified resource, or the API operation does not support RAM.', 'description' => '用户没有权限对指定资源进行操作,或者该API操作不支持RAM。'],
['errorCode' => 'OperationFailed.AliGroupUserCanNotBuyInnerCommodity', 'errorMessage' => 'IPAM has no group cloud product label, and users within the group are not allowed to purchase.', 'description' => 'IPAM 无集团上云商品标签,不允许集团内部用户购买。'],
['errorCode' => 'Order.NoRealNameAuthentication', 'errorMessage' => 'Real-name verification has not been completed for the account.', 'description' => '您尚未进行实名认证,请前往账号中心完成实名认证。'],
['errorCode' => 'OperationFailed.BasicInfoUncompleted', 'errorMessage' => 'You have not completed your basic personal information, please complete the information and try again.', 'description' => '您未完善个人基本信息,请完善信息后重新操作。'],
['errorCode' => 'OperationFailed.AccountBalanceInsufficient', 'errorMessage' => 'The account balance of this user is insufficient to place the order.', 'description' => '账号余额不足。'],
],
],
'title' => '开通IPAM功能',
'summary' => '开通IPAM功能。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'OpenVpcIpamService'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'vpc:OpenVpcIpamService',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3F814C37-B032-5477-AF5A-2925D0593CD4\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
],
'RemoveIpamMembers' => [
'summary' => '移除IPAM可信服务纳管成员。',
'path' => '',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'paid', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会移除IPAM可信服务纳管成员。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并移除IPAM可信服务纳管成员。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。说明 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId可能不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
[
'name' => 'Members',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'IPAM可信服务纳管成员。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'MemberId' => ['description' => '成员ID。'."\n"
."\n"
.'- **Folder ID**:资源夹ID。'."\n"
."\n"
.'- **Account UID**:资源目录成员账号UID。', 'type' => 'string', 'required' => false, 'example' => 'Folder'],
'MemberType' => [
'description' => '成员类型,取值:'."\n"
."\n"
.'- **Folder**:资源夹。'."\n"
."\n"
.'- **Account**:资源目录成员账号。',
'type' => 'string',
'required' => false,
'enumValueTitles' => ['Account' => '资源目录成员账号', 'Folder' => '资源夹'],
'example' => 'fd-ccccncASqa',
'enum' => ['Account', 'Folder'],
],
],
'required' => false,
'description' => '',
],
'required' => true,
'maxItems' => 10,
'minItems' => 1,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => 'BaseResult',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3F814C37-B032-5477-AF5A-2925D0593CD4'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'OperationDenied.MemberIdNotMatchMemberType', 'errorMessage' => 'The operation is not allowed because the Member ID and Member Type of members [%s] in the input parameters do not match.', 'description' => '入参Members中[%s]的Member Id和Member Type不匹配。'],
['errorCode' => 'OperationDenied.IpamRDServiceMemberNotExist', 'errorMessage' => 'The operation is not allowed because %s is not managed by the IPAM.', 'description' => '入参中待移除member %s 未被IPAM可信服务纳管。'],
['errorCode' => 'OperationDenied.IpamRDServiceNotEnableInOperationRegion', 'errorMessage' => 'The operation is not allowed because the IPAM RD service is not enabled in the current region.', 'description' => '操作地域的IPAM实例没有纳管任何资源目录成员。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '移除IPAM可信服务纳管成员',
'description' => '- IPAM委派管理员移除最后一个纳管成员后,资源目录IPAM可信服务关闭。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3F814C37-B032-5477-AF5A-2925D0593CD4\\"\\n}","type":"json"}]',
],
'TagResources' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '资源所属的地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '资源ID列表。',
'type' => 'array',
'items' => ['description' => '资源ID。最多支持输入20个资源ID。'."\n"
."\n"
.'> 调用该API时,ResourceId.N参数必须输入。', 'type' => 'string', 'required' => false, 'example' => 'ipam-uq5dcfc2eqhpf4****'],
'required' => true,
'maxItems' => 51,
],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型。取值:'."\n"
."\n"
.'- **IPAM**:表示资源类型为IPAM。'."\n"
.'- **IPAMSCOPE**:表示资源类型为IPAM作用范围。'."\n"
.'- **IPAMPOOL**:表示资源类型为IPAM地址池。', 'type' => 'string', 'required' => true, 'example' => 'IPAM'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表。',
'type' => 'array',
'items' => [
'description' => '标签列表。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '资源的标签键。最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
."\n"
.'最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
'Value' => ['description' => '资源的标签值。最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n"
."\n"
.'最多支持128个字符,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
],
'required' => false,
],
'required' => true,
'maxItems' => 21,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BF872550-9700-52FD-839C-4D3F05543FA8'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'MissingParameter.ResourceIds', 'errorMessage' => 'The input parameter ResourceIds that is mandatory for processing this request is not supplied.', 'description' => '参数ResourceIds未传入。'],
['errorCode' => 'MissingParameter.ResourceType', 'errorMessage' => 'The input parameter ResourceType that is mandatory for processing this request is not supplied.', 'description' => '参数ResourceType未传入。'."\n"],
['errorCode' => 'MissingParameter.TagKey', 'errorMessage' => 'The input parameter TagKey that is mandatory for processing this request is not supplied.', 'description' => '参数TagKey未传入。'."\n"],
['errorCode' => 'MissingParameter.Tags', 'errorMessage' => 'The input parameter Tags that is mandatory for processing this request is not supplied.', 'description' => '参数Tags未传入。'."\n"],
['errorCode' => 'MissingParameter.TagValue', 'errorMessage' => 'The input parameter TagValue that is mandatory for processing this request is not supplied.', 'description' => '参数TagValue未传入。'."\n"],
['errorCode' => 'IllegalParamSize.ResourceIds', 'errorMessage' => 'The number of Param ResourceIds exceeded the limit.', 'description' => '传入的ResourceIds参数超过数量限制。'],
['errorCode' => 'IllegalParamSize.Tags', 'errorMessage' => 'The number of Parameter Tags exceeded the limit.', 'description' => '传入的Tags参数超过数量限制。'],
['errorCode' => 'DuplicatedParam.TagKey', 'errorMessage' => 'TagKey duplicate.', 'description' => 'TagKey参数重复。'],
['errorCode' => 'ResourceNotFound.Ipam', 'errorMessage' => 'The specified resource of ipam is not found.', 'description' => '输入的IPAM不存在。'],
['errorCode' => 'ResourceNotFound.IpamScope', 'errorMessage' => 'The specified resource of IPAM scope is not found.', 'description' => '输入的IPAM作用范围不存在。'],
['errorCode' => 'IllegalParam.TagKey', 'errorMessage' => 'The input parameter TagKey is invalid.', 'description' => '参数TagKey非法。'."\n"],
['errorCode' => 'DuplicatedParam.ResourceIds', 'errorMessage' => 'The parameter of ResourceIds contains duplicate values.', 'description' => ''],
],
404 => [
['errorCode' => 'ResourceNotFound.IpamPool', 'errorMessage' => 'The dependent IPAM pool is not found.', 'description' => '依赖资源IPAM Pool不存在。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '为IPAM资源创建并绑定标签',
'summary' => '为资源实例绑定资源标签。',
'description' => '### 使用说明'."\n"
.'标签是您为实例分配的标记,每个标签都由一对键值对(Key-Value)组成。标签的使用说明如下:'."\n"
."\n"
.'- 一个实例上的每条标签的标签键(Key)必须唯一。'."\n"
.'- 不支持未绑定实例的空标签存在,标签必须绑定在实例上。'."\n"
.'- 单个实例最多可绑定20条标签。绑定标签前,阿里云会校验资源已有标签数量。超过限制值后返回报错信息。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'vpc:TagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'VpcIpam', 'resourceType' => 'Ipam', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipam/{#IpamId}'],
['validationType' => 'conditional', 'product' => 'VpcIpam', 'resourceType' => 'IpamPool', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipampool/{#IpamPoolId}'],
['validationType' => 'conditional', 'product' => 'VpcIpam', 'resourceType' => 'IpamScope', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipamscope/{#IpamScopeId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF872550-9700-52FD-839C-4D3F05543FA8\\"\\n}","type":"json"}]',
],
'UntagResources' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '资源的地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '资源ID列表。',
'type' => 'array',
'items' => ['description' => '资源ID。最多支持解绑20个资源ID。', 'type' => 'string', 'required' => false, 'example' => 'ipam-uq5dcfc2eqhpf4****'],
'required' => true,
'maxItems' => 100,
],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型。取值:'."\n"
."\n"
.'- **IPAM**:表示资源类型为IPAM。'."\n"
.'- **IPAMSCOPE**:表示资源类型为IPAM作用范围。'."\n"
.'- **IPAMPOOL**:表示资源类型为IPAM地址池。', 'type' => 'string', 'required' => true, 'example' => 'IPAM'],
],
[
'name' => 'TagKey',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '要解绑的标签键列表。',
'type' => 'array',
'items' => ['description' => '要解绑的标签键。最多支持输入20个标签键。一旦传入该值,可以为空字符串。'."\n"
."\n"
.'一个标签键最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'All',
'in' => 'query',
'schema' => ['description' => '是否解绑资源的所有标签。取值:'."\n"
."\n"
.'- **true**:解除资源的所有标签。'."\n"
.'- **false**(默认值):不解除资源的所有标签。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '44C884BD-2D56-5637-A523-1FA920A01E7D'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'MissingParameter.ResourceIds', 'errorMessage' => 'The input parameter ResourceIds that is mandatory for processing this request is not supplied.', 'description' => '参数ResourceIds未传入。'],
['errorCode' => 'MissingParameter.ResourceType', 'errorMessage' => 'The input parameter ResourceType that is mandatory for processing this request is not supplied.', 'description' => '参数ResourceType未传入。'."\n"],
['errorCode' => 'IllegalParamSize.ResourceIds', 'errorMessage' => 'The number of Param ResourceIds exceeded the limit.', 'description' => '传入的ResourceIds参数超过数量限制。'],
['errorCode' => 'IllegalParamSize.Tags', 'errorMessage' => 'The number of Parameter Tags exceeded the limit.', 'description' => '传入的Tags参数超过数量限制。'],
['errorCode' => 'IllegalParam.ResourceType', 'errorMessage' => 'The input parameter ResourceType is invalid.', 'description' => '参数ResourceType非法。'."\n"],
['errorCode' => 'MissingParameter.Tags', 'errorMessage' => 'The input parameter Tags that is mandatory for processing this request is not supplied.', 'description' => '参数Tags未传入。'."\n"],
['errorCode' => 'IllegalParam.TagKey', 'errorMessage' => 'The input parameter TagKey is invalid.', 'description' => '参数TagKey非法。'."\n"],
['errorCode' => 'ResourceNotFound.Ipam', 'errorMessage' => 'The specified resource of ipam is not found.', 'description' => '输入的IPAM不存在。'],
['errorCode' => 'ResourceNotFound.IpamScope', 'errorMessage' => 'The specified resource of IPAM scope is not found.', 'description' => '输入的IPAM作用范围不存在。'],
['errorCode' => 'DuplicatedParam.ResourceIds', 'errorMessage' => 'The parameter of ResourceIds contains duplicate values.', 'description' => ''],
],
404 => [
['errorCode' => 'ResourceNotFound.IpamPool', 'errorMessage' => 'The dependent IPAM pool is not found.', 'description' => '依赖资源IPAM Pool不存在。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '为IPAM资源解绑标签',
'summary' => '为资源解绑资源标签。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UntagResources'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'vpc:UntagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'conditional', 'product' => 'VpcIpam', 'resourceType' => 'Ipam', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipam/{#IpamId}'],
['validationType' => 'conditional', 'product' => 'VpcIpam', 'resourceType' => 'IpamPool', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipampool/{#IpamPoolId}'],
['validationType' => 'conditional', 'product' => 'VpcIpam', 'resourceType' => 'IpamScope', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipamscope/{#IpamScopeId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44C884BD-2D56-5637-A523-1FA920A01E7D\\"\\n}","type":"json"}]',
],
'UpdateIpam' => [
'summary' => '修改IPAM实例。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamId',
'in' => 'query',
'schema' => ['description' => 'IPAM的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-ccxbnsbhew0d6t****'],
],
[
'name' => 'IpamName',
'in' => 'query',
'schema' => ['description' => 'IPAM的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'IpamDescription',
'in' => 'query',
'schema' => ['description' => 'IPAM的描述信息。'."\n"
."\n\n"
.'长度为1~256个字符,必须以英文大小写字母或中文开头。但不能以`http://`或`https://`开头。默认为空,不填则为空。', 'type' => 'string', 'required' => false, 'example' => 'test description'],
],
[
'name' => 'AddOperatingRegion',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '为IPAM添加的生效地域列表。',
'type' => 'array',
'items' => ['description' => '为IPAM添加的生效地域。', 'type' => 'string', 'required' => false, 'example' => 'eu-central-1'],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'RemoveOperatingRegion',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '为IPAM移除的生效地域列表。',
'type' => 'array',
'items' => ['description' => '为IPAM移除的生效地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会修改IPAM实例。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并修改IPAM实例。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。'."\n"
."\n", 'type' => 'string', 'example' => 'F4650E33-895C-53F0-9CD5-D1338F322DE8'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceNotFound.Ipam', 'errorMessage' => 'The specified resource of ipam is not found.', 'description' => '输入的IPAM不存在。'],
['errorCode' => 'IllegalParam.OperatingRegion', 'errorMessage' => 'The operating region is invalid.', 'description' => '生效地域非法。'],
['errorCode' => 'DependencyViolation.IpamPool', 'errorMessage' => 'The specified resource of %s depends on %s, so the operation cannot be completed.', 'description' => '指定的资源被其他的资源依赖,不允许进行当前操作。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'OperationDenied.IpamRegionCannotBeRemoved', 'errorMessage' => 'The IPAM region cannot be removed.', 'description' => '不能移除IPAM托管地域。'],
],
],
'title' => '修改IPAM实例',
'description' => '- 为IPAM实例移除生效地域时,不能包含IPAM托管地域。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIpam'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'vpc:UpdateIpam',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'Ipam', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipam/{#IpamId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F4650E33-895C-53F0-9CD5-D1338F322DE8\\"\\n}","type":"json"}]',
],
'UpdateIpamPool' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~448570~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamPoolId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-pool-6rcq3tobayc20t****'],
],
[
'name' => 'IpamPoolName',
'in' => 'query',
'schema' => ['description' => '要修改的IPAM地址池的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'IpamPoolDescription',
'in' => 'query',
'schema' => ['description' => '要修改的IPAM地址池的描述信息。'."\n"
."\n"
.'长度为1~256个字符,必须以大小写英文字母或中文字符开头,但不能以`http://`或`https://`开头。不填则为空,默认值为空。', 'type' => 'string', 'required' => false, 'example' => 'test description'],
],
[
'name' => 'AllocationDefaultCidrMask',
'in' => 'query',
'schema' => ['description' => '要修改的IPAM地址池默认网络掩码。'."\n"
."\n"
.'取值范围:**0~32**位。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '28'],
],
[
'name' => 'AllocationMaxCidrMask',
'in' => 'query',
'schema' => ['description' => '要修改的IPAM地址池最大网络掩码。'."\n"
."\n"
.'取值范围:**0~32**位。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '32'],
],
[
'name' => 'AllocationMinCidrMask',
'in' => 'query',
'schema' => ['description' => '要修改的IPAM地址池最小网络掩码。'."\n"
."\n"
.'取值范围:**0~32**位。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8'],
],
[
'name' => 'ClearAllocationDefaultCidrMask',
'in' => 'query',
'schema' => ['description' => '是否清除IPAM地址池默认网络掩码。取值:'."\n"
.'- **true**:是。'."\n"
.'- **false**:否。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会修改IPAM地址池信息。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接修改。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
[
'name' => 'AutoImport',
'in' => 'query',
'schema' => ['description' => '地址池是否开启自动导入功能。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9DED57B9-7654-5B6D-93F7-BCA5839FEE38'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'OperationDenied.PoolRegionNotSupportUpdatePool', 'errorMessage' => 'The operation is not allowed because of pool region not support update.', 'description' => '操作被拒绝,原因是无法在该地域执行更新地址池操作。'],
['errorCode' => 'IllegalParam.AllocationDefaultNetmask', 'errorMessage' => 'The specified AllocationDefaultNetmask is illegal.', 'description' => 'AllocationDefaultNetmask参数不合法。'."\n"],
['errorCode' => 'IllegalParam.AllocationMaxNetmask', 'errorMessage' => 'The specified AllocationMaxNetmask is illegal.', 'description' => 'AllocationMaxNetmask参数不合法。'."\n"],
['errorCode' => 'IllegalParam.AllocationMinNetmask', 'errorMessage' => 'The specified AllocationMinNetmask is illegal.', 'description' => 'AllocationMinNetmask参数不合法。'."\n"],
['errorCode' => 'IllegalParam.IpVersion', 'errorMessage' => 'The specified IpVersion is illegal.', 'description' => 'IpVersion参数不合法。'."\n"],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'OperationDenied.OperateShareResource', 'errorMessage' => 'The operation is not allowed because the instance is a shared resource.', 'description' => '该实例是共享资源,不允许操作。'],
],
404 => [
['errorCode' => 'ResourceNotFound.IpamPool', 'errorMessage' => 'The dependent IPAM pool is not found.', 'description' => '依赖资源IPAM Pool不存在。'],
],
],
'title' => '修改IPAM地址池信息',
'summary' => '修改IPAM地址池基本信息。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIpamPool'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'vpc:UpdateIpamPool',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9DED57B9-7654-5B6D-93F7-BCA5839FEE38\\"\\n}","type":"json"}]',
],
'UpdateIpamPoolAllocation' => [
'summary' => '修改IPAM地址池的CIDR分配信息。',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池CIDR分配所在的地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会修改IPAM地址池CIDR分配信息。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接修改IPAM地址池CIDR分配信息。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'."\n"],
],
[
'name' => 'IpamPoolAllocationDescription',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池CIDR分配的描述信息。'."\n"
."\n"
.'长度为1~256个字符,必须以大小写英文字母或中文字符开头,但不能以`http://`或`https://`开头。不填则为空,默认值为空。', 'type' => 'string', 'required' => false, 'example' => 'test description'],
],
[
'name' => 'IpamPoolAllocationName',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池CIDR分配的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'test name'],
],
[
'name' => 'IpamPoolAllocationId',
'in' => 'query',
'schema' => ['description' => 'IPAM地址池CIDR分配的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-pool-alloc-112za33e4****'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F4650E33-895C-53F0-9CD5-D1338F322DE8'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'OperationDenied.Unauthorized', 'errorMessage' => 'The operation is denied because the user is not authorized.', 'description' => '操作失败,用户无权限。'],
['errorCode' => 'OperationDenied.RequestRegionInvalid', 'errorMessage' => 'The operation is not allowed because the request is not invoked in the region of the IPAM pool.', 'description' => '操作被拒绝,因为未在地址池所在地域调用请求。'],
],
404 => [
['errorCode' => 'ResourceNotFound.IpamPool', 'errorMessage' => 'The dependent IPAM pool is not found.', 'description' => '依赖资源IPAM Pool不存在。'],
['errorCode' => 'ResourceNotFound.IpamPoolAllocation', 'errorMessage' => 'The specified resource of IPAM pool allocation is not found.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改IPAM地址池的CIDR分配信息',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIpamPoolAllocation'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'vpc:UpdateIpamPoolAllocation',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F4650E33-895C-53F0-9CD5-D1338F322DE8\\"\\n}","type":"json"}]',
],
'UpdateIpamResourceDiscovery' => [
'summary' => '修改资源发现实例。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid', 'autoTest' => true, 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '请求地域。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamResourceDiscoveryId',
'in' => 'query',
'schema' => ['description' => '资源发现的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-res-disco-jt5f2af2u6nk2z321****'],
],
[
'name' => 'IpamResourceDiscoveryName',
'in' => 'query',
'schema' => ['description' => '资源发现的名称。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'IpamResourceDiscoveryDescription',
'in' => 'query',
'schema' => ['description' => '资源发现的描述。', 'type' => 'string', 'required' => false, 'example' => 'test description'],
],
[
'name' => 'AddOperatingRegion',
'in' => 'query',
'allowEmptyValue' => false,
'style' => 'repeatList',
'schema' => [
'description' => '为资源发现添加的生效地域列表。',
'type' => 'array',
'items' => ['description' => '为资源发现添加的生效地域。', 'type' => 'string', 'required' => false, 'example' => 'eu-central-1'],
'required' => false,
'maxItems' => 100,
'minItems' => 1,
],
],
[
'name' => 'RemoveOperatingRegion',
'in' => 'query',
'allowEmptyValue' => false,
'style' => 'repeatList',
'schema' => [
'description' => '为资源发现移除的生效地域列表。',
'type' => 'array',
'items' => ['description' => '为资源发现移除的生效地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'],
'required' => false,
'maxItems' => 100,
'minItems' => 1,
],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会修改资源发现实例。检查项包括是否填写了必需参数、请求格式、实例状态。如果检查不通过,则返回对应错误。如果检查通过,则返回DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并修改资源发现实例。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PlainResult<IpamCreateModel>',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BB2C39DE-CEB8-595A-981A-F2EFCBE7324E'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IllegalParam.OperatingRegion', 'errorMessage' => 'The operating region is invalid.', 'description' => '生效地域非法。'],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
['errorCode' => 'OperationDenied.OperateShareResource', 'errorMessage' => 'The operation is not allowed because the instance is a shared resource.', 'description' => '该实例是共享资源,不允许操作。'],
['errorCode' => 'OperationDenied.UnexpectedType', 'errorMessage' => 'The operation is not allowed because the input type is unexpected.', 'description' => '更新或删除资源发现时,不允许操作system类型的实例。'],
['errorCode' => 'OperationDenied.RemoveResourceDiscoveryHomeRegion', 'errorMessage' => 'The home region of IPAM resource discovery cannot be removed.', 'description' => '不能移除资源发现的中心托管地域。'],
['errorCode' => 'ResourceNotFound.IpamResourceDiscovery', 'errorMessage' => 'The dependent instance of IPAM resource discovery is not found.', 'description' => '未找到IPAM资源发现实例。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改资源发现实例',
'description' => '- 只允许为自定义类型的资源发现实例添加或移除生效地域。'."\n"
."\n"
.'- 为资源发现实例移除生效地域时,不能包含资源发现的托管地域。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIpamResourceDiscovery'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'vpc:UpdateIpamResourceDiscovery',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => 'IpamResourceDiscovery', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:ipamresourcediscovery/{#IpamResourceDiscoveryId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BB2C39DE-CEB8-595A-981A-F2EFCBE7324E\\"\\n}","type":"json"}]',
],
'UpdateIpamScope' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'IPAM托管地域ID。您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'IpamScopeId',
'in' => 'query',
'schema' => ['description' => 'IPAM作用范围实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ipam-scope-glfmcyldpm8lsy****'],
],
[
'name' => 'IpamScopeName',
'in' => 'query',
'schema' => ['description' => '要修改的IPAM作用范围的名称。'."\n"
."\n"
.'长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'IpamScopeDescription',
'in' => 'query',
'schema' => ['description' => '要修改的IPAM作用范围的描述信息。'."\n"
."\n"
.'长度为1~256个字符,必须以英文大小写字母开头,但不能以`http://`或`https://`开头。不填则为空,默认值为空。', 'type' => 'string', 'required' => false, 'example' => 'test description'],
],
[
'name' => 'DryRun',
'in' => 'query',
'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
."\n"
.'- **true**:发送检查请求,不会修改IPAM作用范围信息。检查项包括是否填写了必需参数、请求格式、实例状态。如果检查不通过,则返回对应错误。如果检查通过,则返回DryRunOperation。'."\n"
.'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行修改。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
."\n"
.'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BaseResult',
'description' => '返回的信息列表。',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BA8054F5-852A-570A-ACFF-BCA63E0B02D5'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceNotFound.IpamScope', 'errorMessage' => 'The specified resource of IPAM scope is not found.', 'description' => '输入的IPAM作用范围不存在。'],
['errorCode' => 'IncorrectStatus.IpamScope', 'errorMessage' => 'The status of the IPAM scope is incorrect.', 'description' => 'IPAM作用范围的状态不正确。'."\n"],
['errorCode' => 'DryRunOperation', 'errorMessage' => 'Request validation has been passed with DryRun flag set.', 'description' => 'DryRun校验通过。'],
],
],
'title' => '修改IPAM作用范围的信息',
'summary' => '修改IPAM作用范围的基本信息。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIpamScope'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'vpc:UpdateIpamScope',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'VpcIpam', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BA8054F5-852A-570A-ACFF-BCA63E0B02D5\\"\\n}","type":"json"}]',
],
],
'endpoints' => [
['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.ap-northeast-1.aliyuncs.com', 'endpoint' => 'vpcipam.ap-northeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.ap-northeast-2.aliyuncs.com', 'endpoint' => 'vpcipam.ap-northeast-2.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.ap-southeast-1.aliyuncs.com', 'endpoint' => 'vpcipam.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.ap-southeast-2.aliyuncs.com', 'endpoint' => 'vpcipam.ap-southeast-2.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.ap-southeast-3.aliyuncs.com', 'endpoint' => 'vpcipam.ap-southeast-3.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.ap-southeast-5.aliyuncs.com', 'endpoint' => 'vpcipam.ap-southeast-5.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-6', 'regionName' => '菲律宾(马尼拉)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.ap-southeast-6.aliyuncs.com', 'endpoint' => 'vpcipam.ap-southeast-6.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.ap-southeast-7.aliyuncs.com', 'endpoint' => 'vpcipam.ap-southeast-7.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-beijing.aliyuncs.com', 'endpoint' => 'vpcipam.cn-beijing.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-chengdu.aliyuncs.com', 'endpoint' => 'vpcipam.cn-chengdu.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-fuzhou', 'regionName' => '华东6(福州-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-fuzhou.aliyuncs.com', 'endpoint' => 'vpcipam.cn-fuzhou.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-guangzhou.aliyuncs.com', 'endpoint' => 'vpcipam.cn-guangzhou.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-hangzhou.aliyuncs.com', 'endpoint' => 'vpcipam.cn-hangzhou.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-heyuan.aliyuncs.com', 'endpoint' => 'vpcipam.cn-heyuan.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-hongkong.aliyuncs.com', 'endpoint' => 'vpcipam.cn-hongkong.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-huhehaote.aliyuncs.com', 'endpoint' => 'vpcipam.cn-huhehaote.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-nanjing', 'regionName' => '华东5(南京-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-nanjing.aliyuncs.com', 'endpoint' => 'vpcipam.cn-nanjing.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-qingdao.aliyuncs.com', 'endpoint' => 'vpcipam.cn-qingdao.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-shanghai.aliyuncs.com', 'endpoint' => 'vpcipam.cn-shanghai.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-shenzhen.aliyuncs.com', 'endpoint' => 'vpcipam.cn-shenzhen.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-wuhan-lr', 'regionName' => '华中1(武汉-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-wuhan-lr.aliyuncs.com', 'endpoint' => 'vpcipam.cn-wuhan-lr.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'vpcipam.cn-wulanchabu.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcipam.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'vpcipam.cn-zhangjiakou.aliyuncs.com', 'vpc' => ''],
['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'vpcipam.us-west-1.aliyuncs.com', 'endpoint' => 'vpcipam.us-west-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'vpcipam.us-east-1.aliyuncs.com', 'endpoint' => 'vpcipam.us-east-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'vpcipam.eu-west-1.aliyuncs.com', 'endpoint' => 'vpcipam.eu-west-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'vpcipam.eu-central-1.aliyuncs.com', 'endpoint' => 'vpcipam.eu-central-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'vpcipam.me-east-1.aliyuncs.com', 'endpoint' => 'vpcipam.me-east-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'vpcipam.me-central-1.aliyuncs.com', 'endpoint' => 'vpcipam.me-central-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'vpcipam.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'vpcipam.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'vpcipam.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'vpcipam.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'vpcipam.cn-hangzhou-finance.aliyuncs.com', 'endpoint' => 'vpcipam.cn-hangzhou-finance.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'vpcipam.cn-beijing-finance-1.aliyuncs.com', 'endpoint' => 'vpcipam.cn-beijing-finance-1.aliyuncs.com', 'vpc' => ''],
],
'errorCodes' => [
['code' => 'DependencyViolation.CustomCidrs', 'message' => 'The specified resource of %s depends on %s, so the operation cannot be completed.', 'http_code' => 400, 'description' => '指定的资源被其他的资源依赖,不允许进行当前操作。'."\n"],
['code' => 'DependencyViolation.CustomPoolAllocation', 'message' => 'The operation is not allowed because the IpamPool has custom pool allocation dependency.', 'http_code' => 400, 'description' => '操作被拒绝,地址池存在自定义分配依赖。'],
['code' => 'DependencyViolation.IpamMembers', 'message' => 'The IPAM [%s] has managed members [%s], so the IPAM cannot be deleted.', 'http_code' => 400, 'description' => 'IPAM[%s]存在纳管成员[%s],此IPAM不允许删除。'],
['code' => 'DependencyViolation.IpamPool', 'message' => 'The specified resource of %s depends on %s, so the operation cannot be completed.', 'http_code' => 400, 'description' => '指定的资源被其他的资源依赖,不允许进行当前操作。'],
['code' => 'DependencyViolation.PoolCidr', 'message' => 'The operation is not allowed because the IpamPool has pool CIDR dependency %s.', 'http_code' => 400, 'description' => '操作被拒绝,地址池存在预置CIDR依赖%s。'],
['code' => 'DependencyViolation.ShareResource', 'message' => 'The specified resource of IPAM pool depends on resource sharing, so the operation cannot be completed.', 'http_code' => 400, 'description' => 'IPAM地址池存在共享关系,无法完成当前操作。'],
['code' => 'DependencyViolation.ShareResource', 'message' => 'The operation is not allowed because the default resource discovery of this IPAM is sharing.', 'http_code' => 400, 'description' => '无法删除IPAM,原因是该IPAM的默认资源发现存在共享关系。'],
['code' => 'DependencyViolation.ShareResource', 'message' => 'The specified resource of IPAM resource discovery depends on resource sharing, so the operation cannot be completed.', 'http_code' => 400, 'description' => 'IPAM资源发现存在共享关系,无法完成当前操作。'],
['code' => 'DependencyViolation.SubCidr', 'message' => 'The specified resource of %s depends on %s, so the operation cannot be completed.', 'http_code' => 400, 'description' => '指定的资源被其他的资源依赖,不允许进行当前操作。'."\n"],
['code' => 'DryRunOperation', 'message' => 'Request validation has been passed with DryRun flag set.', 'http_code' => 400, 'description' => 'DryRun校验通过。'],
['code' => 'DuplicatedParam.TagKey', 'message' => 'TagKey duplicate.', 'http_code' => 400, 'description' => 'TagKey参数重复。'],
['code' => 'Forbidden.IpResourceAccess', 'message' => 'The IPAM resource discovery instance in the parameters is not allowed to access the IP address of resource %s.', 'http_code' => 400, 'description' => '入参中的资源发现实例不允许访问资源%s的IP address信息。'],
['code' => 'Forbidden.QueryShareResource', 'message' => 'Authentication is failed for querying a shared IPAM pool.', 'http_code' => 400, 'description' => '查询共享IPAM地址池的资源失败。'],
['code' => 'Forbidden.RAM', 'message' => 'The user is not authorized to operate on the specified resource, or the API operation does not support RAM.', 'http_code' => 400, 'description' => '用户没有权限对指定资源进行操作,或者该API操作不支持RAM。'],
['code' => 'Forbidden.SubPool', 'message' => 'The IPAM pool contains subpools.', 'http_code' => 400, 'description' => 'IPAM地址池中含有子池,不允许删除。'],
['code' => 'IllegalParam.AllocationDefaultNetmask', 'message' => 'The specified AllocationDefaultNetmask is illegal.', 'http_code' => 400, 'description' => 'AllocationDefaultNetmask参数不合法。'."\n"],
['code' => 'IllegalParam.AllocationMaxNetmask', 'message' => 'The specified AllocationMaxNetmask is illegal.', 'http_code' => 400, 'description' => 'AllocationMaxNetmask参数不合法。'."\n"],
['code' => 'IllegalParam.AllocationMinNetmask', 'message' => 'The specified AllocationMinNetmask is illegal.', 'http_code' => 400, 'description' => 'AllocationMinNetmask参数不合法。'."\n"],
['code' => 'IllegalParam.Cidr', 'message' => 'The specified CIDR is illegal.', 'http_code' => 400, 'description' => '指定的CIDR不合法。'],
['code' => 'IllegalParam.CidrMask', 'message' => 'The specified CidrMask is illegal.', 'http_code' => 400, 'description' => 'CidrMask参数不合法。'],
['code' => 'IllegalParam.IpamPool', 'message' => 'The specified IPAM pool cannot be empty.', 'http_code' => 400, 'description' => 'IPAM Pool不可以为空。'],
['code' => 'IllegalParam.Ipv6Isp', 'message' => 'The specified Ipv6Isp is illegal.', 'http_code' => 400, 'description' => '指定的Ipv6Isp参数不合法。'],
['code' => 'IllegalParam.IpVersion', 'message' => 'The specified IpVersion is illegal.', 'http_code' => 400, 'description' => 'IpVersion参数不合法。'."\n"],
['code' => 'IllegalParam.NetmaskLength', 'message' => 'The specified NetmaskLength is illegal.', 'http_code' => 400, 'description' => 'NetmaskLength参数不合法。'],
['code' => 'IllegalParam.OperatingRegion', 'message' => 'The operating region is invalid.', 'http_code' => 400, 'description' => '生效地域非法。'],
['code' => 'IllegalParam.PoolRegionId', 'message' => 'The specified PoolRegionId is illegal.', 'http_code' => 400, 'description' => 'PoolRegionId参数不合法。'."\n"],
['code' => 'IllegalParam.ResourceGroupId', 'message' => 'The input parameter ResourceGroupId is invalid.', 'http_code' => 400, 'description' => '参数ResourceGroupId非法。'."\n"],
['code' => 'IllegalParam.ResourceRegion', 'message' => 'The input parameter ResourceRegionId is invalid.', 'http_code' => 400, 'description' => '输入的参数ResourceRegionId未在操作地域中。'],
['code' => 'IllegalParam.ResourceType', 'message' => 'The input parameter ResourceType is invalid.', 'http_code' => 400, 'description' => '参数ResourceType非法。'."\n"],
['code' => 'IllegalParam.TagKey', 'message' => 'The input parameter TagKey is invalid.', 'http_code' => 400, 'description' => '参数TagKey非法。'."\n"],
['code' => 'IllegalParamFormat.%s', 'message' => 'The param of %s is illegal.', 'http_code' => 400, 'description' => '参数%s不合法。'],
['code' => 'IllegalParamSize.ResourceIds', 'message' => 'The number of Param ResourceIds exceeded the limit.', 'http_code' => 400, 'description' => '传入的ResourceIds参数超过数量限制。'],
['code' => 'IllegalParamSize.Tags', 'message' => 'The number of Parameter Tags exceeded the limit.', 'http_code' => 400, 'description' => '传入的Tags参数超过数量限制。'],
['code' => 'IncorrectStatus.IpamPool', 'message' => 'The status of the IPAM pool is incorrect.', 'http_code' => 400, 'description' => 'IPAM地址池的状态不正确。'],
['code' => 'IncorrectStatus.IpamResourceDiscovery', 'message' => 'The status of the IPAM resource discovery is incorrect.', 'http_code' => 400, 'description' => 'IPAM资源发现的状态不正确。'],
['code' => 'IncorrectStatus.IpamScope', 'message' => 'The status of the IPAM scope is incorrect.', 'http_code' => 400, 'description' => 'IPAM作用范围的状态不正确。'."\n"],
['code' => 'Mismatch.ChildIpamScopeAndParentIpamScope', 'message' => 'The ChildIpamScope and ParentIpamScope are mismatched.', 'http_code' => 400, 'description' => '子池ScopeId与父池ScopeId不匹配。'],
['code' => 'Mismatch.ChildIpv6IspAndParentIpv6Isp', 'message' => 'The ChildIpv6Isp and ParentIpv6Isp are mismatched.', 'http_code' => 400, 'description' => '子池IPv6 ISP与父池IPv6 ISP不匹配。'],
['code' => 'Mismatch.ChildIpVersionAndParentIpVersion', 'message' => 'The ChildIpVersion and ParentIpVersion are mismatched.', 'http_code' => 400, 'description' => '子池IP版本与父池IP版本不匹配。'],
['code' => 'Mismatch.ChildPoolRegionAndParentPoolRegion', 'message' => 'The ChildPoolRegion and ParentPoolRegion are mismatched.', 'http_code' => 400, 'description' => '子池生效地域与父池生效地域不匹配。'],
['code' => 'Mismatch.CidrAndNetmaskLength', 'message' => 'The mask of the input Cidr is inconsistent with the input NetmaskLength.', 'http_code' => 400, 'description' => '输入的Cidr的掩码值和输入的NetmaskLength不一致。'],
['code' => 'Mismatch.CidrAndPoolIpVersion', 'message' => 'The ip verion of input Cidr is inconsistent with that of the input IPAM pool.', 'http_code' => 400, 'description' => '输入的Cidr的IP地址协议版本与输入的IPAM地址池的IP地址协议版本不一致。'],
['code' => 'Mismatch.IpamResourceDiscoveryAndResource', 'message' => 'The IPAM resource discovery %s and the queried %s do not match.', 'http_code' => 400, 'description' => '资源发现实例%s和所查询资源%s不匹配。'],
['code' => 'Mismatch.IpamScopeAndSourceIpamPool', 'message' => 'The input source IPAM pool is not in the input IPAM scope.', 'http_code' => 400, 'description' => '输入的IPAM父池不在输入的IPAM作用范围内。'],
['code' => 'Mismatch.Ipv6IspAndSourceIpamPool', 'message' => 'The input Ipv6Isp is inconsistent with the Ipv6Isp of the input source IPAM pool.', 'http_code' => 400, 'description' => '输入的Ipv6Isp和父池的Ipv6Isp不一致。'],
['code' => 'Mismatch.VpcIdAndVSwitchId', 'message' => 'VpcId and VSwitchId do not match.', 'http_code' => 400, 'description' => 'VpcId和VSwitchId不匹配。'],
['code' => 'MissingParam.Cidr', 'message' => 'The Cidr must be input when adding CIDR for IPAM private top pool.', 'http_code' => 400, 'description' => '为IPAM私网顶级池预置地址段时,请输入Cidr。'],
['code' => 'MissingParam.CidrOrCidrMask', 'message' => 'The CIDR or CIDR Mask must be input.', 'http_code' => 400, 'description' => '从IPAM地址池分配资源或查询可用资源时,请输入Cidr或CidrMask。'],
['code' => 'MissingParam.CidrOrNetmaskLength', 'message' => 'The Cidr or NetmaskLength must be input.', 'http_code' => 400, 'description' => '为IPAM地址池预置地址段时,请输入Cidr或NetmaskLength。'],
['code' => 'MissingParam.IpamResourceDiscoveryId', 'message' => 'The IpamResourceDiscoveryId must be input.', 'http_code' => 400, 'description' => '查询发现的资源时,请输入参数IpamResourceDiscoveryId。'],
['code' => 'MissingParam.ResourceRegionId', 'message' => 'The ResourceRegionId must be input.', 'http_code' => 400, 'description' => '查询发现的资源时,请输入参数ResourceRegionId。'],
['code' => 'MissingParam.VpcIdAndVSwitchId', 'message' => 'VpcId and VSwitchId cannot both be empty please provide at least one.', 'http_code' => 400, 'description' => '入参VpcId和VSwitchId不能均为空值,至少填入其中一个。'],
['code' => 'MissingParameter.ResourceIds', 'message' => 'The input parameter ResourceIds that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数ResourceIds未传入。'],
['code' => 'MissingParameter.ResourceType', 'message' => 'The input parameter ResourceType that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数ResourceType未传入。'."\n"],
['code' => 'MissingParameter.TagKey', 'message' => 'The input parameter TagKey that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数TagKey未传入。'."\n"],
['code' => 'MissingParameter.Tags', 'message' => 'The input parameter Tags that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数Tags未传入。'."\n"],
['code' => 'MissingParameter.TagsAndResourceIds', 'message' => 'The input parameter Tags and ResourceIds that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数Tags及ResourceIds未传入。'."\n"],
['code' => 'MissingParameter.TagValue', 'message' => 'The input parameter TagValue that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数TagValue未传入。'."\n"],
['code' => 'OperationDenied.AccountNotRDEntity', 'message' => 'The operation is not allowed because the caller does not belong to the resource directory.', 'http_code' => 400, 'description' => '调用者不属于任何资源目录,不允许纳管IPAM可信服务成员。'],
['code' => 'OperationDenied.AutoImportNeedPoolRegion', 'message' => 'The automatic import is not supported for the IPAM pool whose pool region is empty.', 'http_code' => 400, 'description' => '不支持为生效地域为空的IPAM地址池开通自动导入。'],
['code' => 'OperationDenied.AvailableCidrInsufficient', 'message' => 'The operation is not allowed because available CIDR is insufficient.', 'http_code' => 400, 'description' => '操作被拒绝,原因是可用的CIDR资源不足。'],
['code' => 'OperationDenied.CidrConflictWithExistAllocation', 'message' => 'The operation is not allowed because the input CIDR conflicts with the existing allocation.', 'http_code' => 400, 'description' => '操作被拒绝,因为输入的CIDR与已分配的CIDR冲突。'],
['code' => 'OperationDenied.CidrConflictWithOfficialGuaCidrs', 'message' => 'The operation is not allowed because the input CIDR conflicts with official GUA CIDRs.', 'http_code' => 400, 'description' => '操作被拒绝,因为输入的CIDR与官方GUA CIDR冲突。'],
['code' => 'OperationDenied.CidrConflictWithTopCidrs', 'message' => 'The operation is not allowed because the input CIDR conflicts with existing top CIDRs.', 'http_code' => 400, 'description' => '操作被拒绝,因为输入的CIDR与已存在的顶级池CIDR冲突。'],
['code' => 'OperationDenied.CidrInExcludeCidrs', 'message' => 'The operation is not allowed because the input CIDR is within the illegal CIDRs.', 'http_code' => 400, 'description' => '操作被拒绝,原因是输入的CIDR在不合法的CIDR范围内。'],
['code' => 'OperationDenied.CidrMaskTooLarge', 'message' => 'The operation is denied because the CIDR mask %s is larger than the allocationMaxNetmask %s of the pool.', 'http_code' => 400, 'description' => '参数Cidr的掩码或参数CidrMask超过了地址池合规规则中的最大网络掩码长度。'],
['code' => 'OperationDenied.CidrMaskTooLarge', 'message' => 'The operation is not allowed because the CIDR mask length %s is larger than the maximum allowed %s.', 'http_code' => 400, 'description' => '操作被拒绝,CIDR掩码长度%s大于允许的最大值%s。'],
['code' => 'OperationDenied.CidrMaskTooSmall', 'message' => 'The operation is denied because the CIDR mask %s is less than the allocationMinNetmask %s of the pool.', 'http_code' => 400, 'description' => '参数Cidr的掩码或参数CidrMask小于地址池合规规则中的最小网络掩码长度。'],
['code' => 'OperationDenied.CidrMaskTooSmall', 'message' => 'The operation is not allowed because the CIDR mask length %s is smaller than the minimum allowed %s.', 'http_code' => 400, 'description' => '操作被拒绝,CIDR掩码长度%s小于允许的最小值%s。'],
['code' => 'OperationDenied.CidrNotInSourceCidr', 'message' => 'The operation is not allowed because the input CIDR is not in source CIDR.', 'http_code' => 400, 'description' => '操作被拒绝,因为输入的CIDR不在父池CIDR的范围内。'],
['code' => 'OperationDenied.CidrUnavailableInPool', 'message' => 'The operation is not allowed because the CIDR is unavailable in the IPAM pool.', 'http_code' => 400, 'description' => '操作被拒绝,原因是CIDR在IPAM地址池中不可用。'],
['code' => 'OperationDenied.CreateVpcOrAssociateVpcCidrBlock', 'message' => 'The operation is not allowed because the IPAM pool not in specific region does not support creating VPC or associating CIDR for VPC.', 'http_code' => 400, 'description' => '操作被拒绝,因为无法从不具备地域属性的地址池中创建VPC或为VPC添加附加网段。'],
['code' => 'OperationDenied.DelegateAdminAsMember', 'message' => 'The operation is not allowed because the IPAM delegate administrator cannot be a member.', 'http_code' => 400, 'description' => 'IPAM委派管理员不能添加自己作为IPAM可信服务的成员。'],
['code' => 'OperationDenied.DeleteDefaultScope', 'message' => 'The operation is not allowed because of deleting default scope.', 'http_code' => 400, 'description' => '操作被拒绝,原因是删除默认IPAM作用范围。'],
['code' => 'OperationDenied.DissociateSelfSystemIpamResourceDiscovery', 'message' => 'The operation is not allowed because the default resource discovery cannot be disassociated.', 'http_code' => 400, 'description' => '默认资源发现不允许解除关联关系。'],
['code' => 'OperationDenied.IpamNotExist', 'message' => 'The operation is not allowed because the IPAM does not exist.', 'http_code' => 400, 'description' => '当前地域IPAM不存在,不允许纳管IPAM可信服务成员。'],
['code' => 'OperationDenied.IpamPoolAllocationExist', 'message' => 'The operation is not allowed because of the existence of IPAM pool allocation.', 'http_code' => 400, 'description' => '操作被拒绝,原因是存在地址池分配关系。'],
['code' => 'OperationDenied.IpamPoolAllocationExist', 'message' => 'The operation is not allowed because the IpamPool has existing allocations.', 'http_code' => 400, 'description' => '操作被拒绝,地址池下存在分配记录。'],
['code' => 'OperationDenied.IpamPoolNotInRegion', 'message' => 'The operation is not allowed because the IPAM pool not in specific region does not support creating VPC or associating CIDR for VPC.', 'http_code' => 400, 'description' => '操作被拒绝,因为无法从不具备地域属性的地址池中创建VPC或为VPC添加附加网段。'],
['code' => 'OperationDenied.IpamPublicIpv6PoolNeedPoolRegion', 'message' => 'The public IPv6 pool cannot be created in IPAM when its pool region is empty.', 'http_code' => 400, 'description' => '不支持创建生效地域为空的公网IPv6地址池。'],
['code' => 'OperationDenied.IpamRDServiceAlreadyEnabledInOtherRegion', 'message' => 'The operation is not allowed because the IPAM Resource Directory service is already enabled in another region.', 'http_code' => 400, 'description' => '只允许选择一个地域的一个IPAM实例纳管资源目录成员。'],
['code' => 'OperationDenied.IpamRDServiceMemberNotExist', 'message' => 'The operation is not allowed because %s is not managed by the IPAM.', 'http_code' => 400, 'description' => '入参中待移除member %s 未被IPAM可信服务纳管。'],
['code' => 'OperationDenied.IpamRDServiceNotEnableInOperationRegion', 'message' => 'The operation is not allowed because the IPAM RD service is not enabled in the current region.', 'http_code' => 400, 'description' => '操作地域的IPAM实例没有纳管任何资源目录成员。'],
['code' => 'OperationDenied.IpamRegionCannotBeRemoved', 'message' => 'The IPAM region cannot be removed.', 'http_code' => 400, 'description' => '不能移除IPAM托管地域。'],
['code' => 'OperationDenied.IpamRegionNotSupportGetPoolAllocation', 'message' => 'The operation is not allowed because IPAM region does not support getting the allocation.', 'http_code' => 400, 'description' => '无法在IPAM地域执行查询指定地址池分配的操作。'],
['code' => 'OperationDenied.IpamRegionNotSupportGetPoolAvailableCidr', 'message' => 'The operation is not allowed because IPAM region does not support getting available CIDR of IPAM pool.', 'http_code' => 400, 'description' => '无法在IPAM地域执行获取地址池可用CIDR的操作。'],
['code' => 'OperationDenied.IpamRegionNotSupportListPoolAllocation', 'message' => 'The operation is not allowed because IPAM region does not support listing allocations.', 'http_code' => 400, 'description' => '无法在IPAM地域执行查询地址池分配的操作。'],
['code' => 'OperationDenied.IpamResourceDiscoveryAlreadySharedWithAdmin', 'message' => 'The operation is not allowed because the resource discovery has been shared with the IPAM delegated administrator by %s.', 'http_code' => 400, 'description' => 'IPAM可信服务不允许纳管已经将自己的资源发现共享给委派管理员的账号。'],
['code' => 'OperationDenied.Ipv6VpcNotSupport', 'message' => 'The allocation of IPv6 VPC is not supported to delete.', 'http_code' => 400, 'description' => 'IPv6网段类型的分配不支持释放。'],
['code' => 'OperationDenied.MemberExistInIpamRDService', 'message' => 'The operation is not allowed because %s is under the management of the IPAM.', 'http_code' => 400, 'description' => '入参中%s已经被IPAM可信服务纳管,不允许重复纳管相同的member。'],
['code' => 'OperationDenied.MemberIdNotMatchMemberType', 'message' => 'The operation is not allowed because the Member ID and Member Type of members [%s] in the input parameters do not match.', 'http_code' => 400, 'description' => '入参Members中[%s]的Member Id和Member Type不匹配。'],
['code' => 'OperationDenied.NoServicePrincipalAdminPrivileges', 'message' => 'The operation is not allowed because the caller is not the delegated IPAM admin for the resource directory.', 'http_code' => 400, 'description' => '调用者不是所在资源目录的IPAM可信服务委派管理员,不允许纳管IPAM可信服务成员。'],
['code' => 'OperationDenied.NotDelegatedAdminAccount', 'message' => 'The operation is not allowed because the caller is not the delegated IPAM admin for the resource directory.', 'http_code' => 400, 'description' => '调用者不是所在资源目录的IPAM可信服务委派管理员,不允许纳管IPAM可信服务成员。'],
['code' => 'OperationDenied.OfficialCidrInsufficient', 'message' => 'The operation is not allowed because the official CIDR is insufficient.', 'http_code' => 400, 'description' => '操作被拒绝,原因是官方可用的CIDR资源不足。'],
['code' => 'OperationDenied.OfficialCidrTmpUnavailable', 'message' => 'The operation is not allowed because the official CIDR is temporarily unavailable.', 'http_code' => 400, 'description' => '操作被拒绝,原因是官方CIDR资源暂时不可用。'],
['code' => 'OperationDenied.OfficialCidrUnavailable', 'message' => 'The operation is not allowed because the official CIDR is unavailable.', 'http_code' => 400, 'description' => '操作被拒绝,原因是CIDR已被占用。'],
['code' => 'OperationDenied.OperateShareResource', 'message' => 'The operation is not allowed because the instance is a shared resource.', 'http_code' => 400, 'description' => '该实例是共享资源,不允许操作。'],
['code' => 'OperationDenied.OperatingRegionsNeedIncludeHomeRegion', 'message' => 'The operating regions do not contain home region.', 'http_code' => 400, 'description' => '生效地域未包含中心托管地域。'],
['code' => 'OperationDenied.OwnerAlreadyManagedByRecipientIpam', 'message' => 'The operation is not allowed because the resource owner is already managed by the resource recipient\'s IPAM.', 'http_code' => 400, 'description' => 'IPAM纳管成员账号不允许共享资源发现给IPAM委派管理员。'],
['code' => 'OperationDenied.PoolRegionNotSupportAddPoolCidr', 'message' => 'The operation is not allowed because pool region does not support adding CIDR.', 'http_code' => 400, 'description' => '操作被拒绝,因为无法在该地域执行添加地址池CIDR的操作。'],
['code' => 'OperationDenied.PoolRegionNotSupportDeletePool', 'message' => 'The operation is not allowed because of pool region not support delete.', 'http_code' => 400, 'description' => '操作被拒绝,原因是无法在该地域执行删除地址池操作。'."\n"],
['code' => 'OperationDenied.PoolRegionNotSupportDeletePoolCidr', 'message' => 'The operation is not allowed because pool region does not support deleting cidr.', 'http_code' => 400, 'description' => '操作被拒绝,原因是无法在该地域执行删除地址池CIDR操作。'],
['code' => 'OperationDenied.PoolRegionNotSupportListPoolCidr', 'message' => 'The operation is not allowed because pool region does not support listing cidrs.', 'http_code' => 400, 'description' => '操作被拒绝,原因是无法在该地域执行查询地址池CIDR操作。'],
['code' => 'OperationDenied.PoolRegionNotSupportUpdatePool', 'message' => 'The operation is not allowed because of pool region not support update.', 'http_code' => 400, 'description' => '操作被拒绝,原因是无法在该地域执行更新地址池操作。'],
['code' => 'OperationDenied.RemoveResourceDiscoveryHomeRegion', 'message' => 'The home region of IPAM resource discovery cannot be removed.', 'http_code' => 400, 'description' => '不能移除资源发现的中心托管地域。'],
['code' => 'OperationDenied.RequestRegionInvalid', 'message' => 'The operation is not allowed because the request is not invoked in the region of the IPAM pool.', 'http_code' => 400, 'description' => '操作被拒绝,因为未在地址池所在地域调用请求。'],
['code' => 'OperationDenied.ResourceDiscoveryAlreadyAssociated', 'message' => 'You cannot associate the resource discovery because an association already exists.', 'http_code' => 400, 'description' => '当前资源发现已存在关联关系,操作失败。'],
['code' => 'OperationDenied.ResourceRegionInvalid', 'message' => 'The operation is denied because the resource is in a different region than the IPAM pool.', 'http_code' => 400, 'description' => '操作被拒绝,因为资源所在地域与地址池所在地域不同。'],
['code' => 'OperationDenied.ResourceShareExist', 'message' => 'The operation is not allowed because the resource sharing already exists.', 'http_code' => 400, 'description' => '资源共享已经存在,不允许操作。'],
['code' => 'OperationDenied.ResourceTypeIsNotCustom', 'message' => 'The operation is not allowed because the resource type is not Custom.', 'http_code' => 400, 'description' => '操作被拒绝,原因是资源类型不是Custom类型。'],
['code' => 'OperationDenied.SharedResourceDiscoveryAssociated', 'message' => 'The operation is not allowed because the IPAM is associated with a shared resource discovery.', 'http_code' => 400, 'description' => '无法删除IPAM,原因是该IPAM关联了共享的资源发现。'],
['code' => 'OperationDenied.SourceCidrIsNull', 'message' => 'The operation is not allowed because the source CIDR is null.', 'http_code' => 400, 'description' => '操作被拒绝,因为父地址池没有CIDR.'],
['code' => 'OperationDenied.Unauthorized', 'message' => 'The operation is denied because the user is not authorized.', 'http_code' => 400, 'description' => '操作失败,用户无权限。'],
['code' => 'OperationDenied.UnexpectedResourceType', 'message' => 'The operation is not allowed because the resource type is unexpected.', 'http_code' => 400, 'description' => '资源类型非法,不允许操作。'],
['code' => 'OperationDenied.UnexpectedType', 'message' => 'The operation is not allowed because the input type is unexpected.', 'http_code' => 400, 'description' => '更新或删除资源发现时,不允许操作system类型的实例。'],
['code' => 'OperationFailed.AccountBalanceInsufficient', 'message' => 'The account balance of this user is insufficient to place the order.', 'http_code' => 400, 'description' => '账号余额不足。'],
['code' => 'OperationFailed.AliGroupUserCanNotBuyInnerCommodity', 'message' => 'IPAM has no group cloud product label, and users within the group are not allowed to purchase.', 'http_code' => 400, 'description' => 'IPAM 无集团上云商品标签,不允许集团内部用户购买。'],
['code' => 'OperationFailed.BasicInfoUncompleted', 'message' => 'You have not completed your basic personal information, please complete the information and try again.', 'http_code' => 400, 'description' => '您未完善个人基本信息,请完善信息后重新操作。'],
['code' => 'OperationFailed.ExceedPurchaseLimit', 'message' => 'You have reached the limit of purchase quantity.', 'http_code' => 400, 'description' => '您已达到购买数量限制。'],
['code' => 'OperationFailed.IpamPoolExist', 'message' => 'The operation is failed because user IPAM pool exist.', 'http_code' => 400, 'description' => '操作失败,原因是IPAM存在用户创建地址池。'],
['code' => 'OperationFailed.IpamScopeExist', 'message' => 'The operation is failed because user IPAM scope exist.', 'http_code' => 400, 'description' => '操作失败,原因是存在用户自定义scope。'],
['code' => 'OperationFailed.OperatingRegionsNeedIncludeIpamRegion', 'message' => 'The operating regions do not contain IPAM region.', 'http_code' => 400, 'description' => '操作地域未包含IPAM托管地域。'],
['code' => 'OptInRequired.Ipam', 'message' => 'You are not authorized to use the requested service of IPAM. Ensure that you have subscribed to the service you are trying to use.', 'http_code' => 400, 'description' => '您无权使用请求的 IPAM 服务。 确保您已经订阅了您尝试使用的服务。'],
['code' => 'Order.NoRealNameAuthentication', 'message' => 'Real-name verification has not been completed for the account.', 'http_code' => 400, 'description' => '您尚未进行实名认证,请前往账号中心完成实名认证。'],
['code' => 'QuotaExceeded.IpamCidrQuotaPerIpamPool', 'message' => 'The quota of ipamCidrQuotaPerIpamPool count is exceeded.', 'http_code' => 400, 'description' => 'IPAM地址池允许的CIDR数量超过限制。'],
['code' => 'QuotaExceeded.IpamPoolQuotaDepth', 'message' => 'The quota of IpamPoolQuotaDepth count is exceeded.', 'http_code' => 400, 'description' => 'IPAM地址池深度允许的最大数量超过限制。'."\n"],
['code' => 'QuotaExceeded.IpamPublicIpv6TopPoolQuotaPerRegionIsp', 'message' => 'The number of public IPv6 top pool in IPAM for this ISP owned by the user in this region exceeds the limit.', 'http_code' => 400, 'description' => '对于当前的ISP类型,用户在当前地域创建的IPAM公网IPv6顶级地址池数量超过限额。'],
['code' => 'QuotaExceeded.IpamQuotaPerRegion', 'message' => 'The quota of ipamQuotaPerRegion count is exceeded.', 'http_code' => 400, 'description' => 'IPAM允许的最大数量超过限制。'],
['code' => 'QuotaExceeded.IpamResourceDiscoveryQuotaPerRegion', 'message' => 'The number of non-shared IPAM resource discoveries owned by the user in this region exceeds the limit.', 'http_code' => 400, 'description' => '单个用户在当前地域拥有的非共享资源发现的数量超过限额。'],
['code' => 'QuotaExceeded.IpamScopeQuotaPerIpam', 'message' => 'The quota of ipamScopeQuotaPerIpam count is exceeded.', 'http_code' => 400, 'description' => 'IPAM作用范围允许的最大数量超过限制。'],
['code' => 'QuotaExceeded.IpamSubPoolQuotaPerIpamPool', 'message' => 'The quota of ipamSubPoolQuotaPerIpamPool count is exceeded.', 'http_code' => 400, 'description' => '单个IPAM地址池允许创建的子池数量超过限额。'],
['code' => 'QuotaExceeded.MemberAccount', 'message' => 'The operation is not allowed because the number of % managed by IPAM has exceeded the limit, %s/%s.', 'http_code' => 400, 'description' => 'IPAM可信服务纳管的成员账号超过Quota限制。'],
['code' => 'QuotaExceeded.ResourceSharePerIpamPool', 'message' => 'The IPAM pool exceeds the limit for sharing.', 'http_code' => 400, 'description' => '单个地址池已超出可共享的上限。'],
['code' => 'QuotaExceeded.ResourceSharePerIpamResourceDiscovery', 'message' => 'The IPAM resource discovery exceeds the limit for sharing.', 'http_code' => 400, 'description' => '单个资源发现已超出可共享的上限。'],
['code' => 'QuotaExceeded.SharedIpamPoolPerUser', 'message' => 'The number of shared IPAM pools owned by a user exceeds the limit.', 'http_code' => 400, 'description' => '单个用户拥有的共享IPAM地址池数量超过限额。'],
['code' => 'QuotaExceeded.SharedIpamResourceDiscoveryPerUser', 'message' => 'The number of shared IPAM resource discoveries owned by a user exceeds the limit.', 'http_code' => 400, 'description' => '单个用户拥有的共享IPAM资源发现的数量超过限额。'],
['code' => 'ResourceNotEnough.IpamPoolCidr', 'message' => 'The specified resource of IPAM pool CIDR is not enough.', 'http_code' => 400, 'description' => '指定的IPAM地址池CIDR资源不足。'],
['code' => 'ResourceNotFound.Ipam', 'message' => 'The specified resource of ipam is not found.', 'http_code' => 400, 'description' => '输入的IPAM不存在。'],
['code' => 'ResourceNotFound.IpamDiscoveredResource', 'message' => 'The queried %s is not found among IPAM discovered resources.', 'http_code' => 400, 'description' => '所查询的%s在IPAM已发现资源中不存在。'],
['code' => 'ResourceNotFound.IpamDiscoveredResource.Vpc', 'message' => 'The queried VPC %s is not found among IPAM discovered resources.', 'http_code' => 400, 'description' => '所查询的VPC %s 不存在于IPAM已发现资源列表中。'],
['code' => 'ResourceNotFound.IpamDiscoveredResource.VSwitch', 'message' => 'The queried VSwitch %s is not found among IPAM discovered resources.', 'http_code' => 400, 'description' => '所查询的VSwitch %s 不存在于IPAM已发现资源列表中。'],
['code' => 'ResourceNotFound.IpamPool', 'message' => 'The dependent IPAM pool is not found.', 'http_code' => 404, 'description' => '依赖资源IPAM Pool不存在。'],
['code' => 'ResourceNotFound.IpamPoolAllocation', 'message' => 'The specified resource of IPAM pool allocation is not found.', 'http_code' => 400, 'description' => '输入的IPAM地址池分配关系不存在。'],
['code' => 'ResourceNotFound.IpamPoolCidr', 'message' => 'The specified resource of IPAM pool CIDR is not found.', 'http_code' => 400, 'description' => '输入的IPAM地址池CIDR不存在。'],
['code' => 'ResourceNotFound.IpamResourceDiscovery', 'message' => 'The dependent instance of IPAM resource discovery is not found.', 'http_code' => 400, 'description' => '未找到IPAM资源发现实例。'],
['code' => 'ResourceNotFound.IpamScope', 'message' => 'The specified resource of IPAM scope is not found.', 'http_code' => 400, 'description' => '输入的IPAM作用范围不存在。'],
['code' => 'ResourceNotFound.ResourceDiscoveryAssociation', 'message' => 'You cannot disassociate from the resource discovery because no association exists.', 'http_code' => 400, 'description' => '当前资源发现不存在关联关系,操作失败。'],
['code' => 'ResourceNotFound.SourceIpamPool', 'message' => 'The dependent source IPAM pool is not found.', 'http_code' => 400, 'description' => '依赖资源源IPAM Pool不存在。'],
['code' => 'UnsupportedFeature.AddCidrForIpamPrivateIpv6Pool', 'message' => 'Adding CIDR for IPAM private IPv6 pool is not supported for this user.', 'http_code' => 400, 'description' => '当前用户不支持为IPAM私网IPv6地址池预置地址段。'],
['code' => 'UnsupportedFeature.AddUlaCidrForIpamPublicIpv6Pool', 'message' => 'Adding ULA CIDR for IPAM public IPv6 pool is not supported.', 'http_code' => 400, 'description' => '不允许为IPAM公网IPv6地址池预置ULA地址段。'],
['code' => 'UnsupportedFeature.Ipam', 'message' => 'IPAM is not supported in this region.', 'http_code' => 400, 'description' => '该地域不支持IPAM功能。'],
['code' => 'UnsupportedFeature.IpamIpv6', 'message' => 'The feature of IPv6 is not supported in this region.', 'http_code' => 400, 'description' => '该地域不支持在IPAM中使用IPv6功能。'],
['code' => 'UnsupportedFeature.IpamPublicIpv4Pool', 'message' => 'The feature of public IPv4 pool is not supported in IPAM.', 'http_code' => 400, 'description' => 'IPAM暂不支持创建公网IPv4地址池。'],
['code' => 'UnsupportedFeature.Ipv6Isp', 'message' => 'The Ipv6Isp feature is not supported.', 'http_code' => 400, 'description' => '指定的Ipv6Isp特性不支持。'],
['code' => 'UnsupportedFeature.PublicIpamScopeType', 'message' => 'The feature of PublicIpamScopeType is not supported.', 'http_code' => 400, 'description' => '您指定的IPAM暂不支持创建Public类型的作用范围。'],
['code' => 'UnsupportedRegion.Ipam', 'message' => 'Ipam is not supported in this region.', 'http_code' => 400, 'description' => '该地域不支持IPAM。'],
['code' => 'UnsupportedRegion.Ipv6Isp', 'message' => 'The current region does not support this feature.', 'http_code' => 400, 'description' => '当前Region未支持该特性。'],
],
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamResourceDiscoveryAssociations'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DissociateIpamResourceDiscovery'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamPools'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteIpam'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UntagResources'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamPoolAllocations'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetVpcIpamServiceStatus'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamPoolCidrs'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AssociateIpamResourceDiscovery'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateIpamPool'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteIpamResourceDiscovery'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteIpamPool'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIpamPoolAllocation'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamResourceCidrs'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateIpamScope'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'OpenVpcIpamService'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIpamResourceDiscovery'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateIpamPoolAllocation'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetIpamPoolNextAvailableCidr'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteIpamPoolCidr'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AddIpamPoolCidr'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateIpam'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpams'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteIpamPoolAllocation'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIpamScope'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetIpamPoolAllocation'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamResourceDiscoveries'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteIpamScope'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIpam'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamDiscoveredResource'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListIpamScopes'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateIpamResourceDiscovery'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ChangeResourceGroup'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIpamPool'],
],
],
'ram' => [
'productCode' => 'VpcIpam',
'productName' => '专有网络VPC',
'ramCodes' => ['vpc'],
'ramLevel' => '资源级',
'ramConditions' => [],
'ramActions' => [],
'resourceTypes' => [],
],
];
|