1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'RPC', 'product' => 'Ess', 'version' => '2014-08-28'],
'directories' => [
[
'children' => ['DeactivateScalingConfiguration'],
'type' => 'directory',
'title' => 'Scaling configuration',
],
[
'children' => [
'ApplyScalingGroup', 'AttachAlbServerGroups', 'AttachDBInstances', 'AttachInstances', 'AttachLoadBalancers', 'AttachServerGroups', 'AttachVServerGroups', 'CancelInstanceRefresh', 'ChangeResourceGroup', 'CompleteLifecycleAction', 'CreateAlarm', 'CreateEciScalingConfiguration', 'CreateLifecycleHook', 'CreateNotificationConfiguration', 'CreateScalingConfiguration', 'CreateScalingGroup', 'CreateScalingRule', 'CreateScheduledTask', 'DeleteAlarm', 'DeleteEciScalingConfiguration',
'DeleteLifecycleHook', 'DeleteNotificationConfiguration', 'DeleteScalingConfiguration', 'DeleteScalingGroup', 'DeleteScalingRule', 'DeleteScheduledTask', 'DescribeAlarms', 'DescribeAlertConfiguration', 'DescribeEciScalingConfigurations', 'DescribeElasticStrength', 'DescribeInstanceRefreshes', 'DescribeLifecycleActions', 'DescribeLifecycleHooks', 'DescribeLimitation', 'DescribeNotificationConfigurations', 'DescribeNotificationTypes', 'DescribePatternTypes', 'DescribeRegions', 'DescribeScalingActivities', 'DescribeScalingActivityDetail',
'DescribeScalingConfigurations', 'DescribeScalingGroups', 'DescribeScalingInstances', 'DescribeScalingRules', 'DescribeScheduledTasks', 'DetachAlbServerGroups', 'DetachDBInstances', 'DetachInstances', 'DetachLoadBalancers', 'DetachServerGroups', 'DetachVServerGroups', 'DisableAlarm', 'DisableScalingGroup', 'EnableAlarm', 'EnableScalingGroup', 'EnterStandby', 'ExecuteScalingRule', 'ExitStandby', 'ListTagKeys', 'ListTagResources',
'ListTagValues', 'ModifyAlarm', 'ModifyAlertConfiguration', 'ModifyEciScalingConfiguration', 'ModifyInstanceAttribute', 'ModifyLifecycleHook', 'ModifyNotificationConfiguration', 'ModifyScalingConfiguration', 'ModifyScalingGroup', 'ModifyScalingRule', 'ModifyScheduledTask', 'RebalanceInstances', 'RecordLifecycleActionHeartbeat', 'RemoveInstances', 'ResumeInstanceRefresh', 'ResumeProcesses', 'RollbackInstanceRefresh', 'ScaleWithAdjustment', 'SetGroupDeletionProtection', 'SetInstanceHealth',
'SetInstancesProtection', 'StartInstanceRefresh', 'SuspendInstanceRefresh', 'SuspendProcesses', 'TagResources', 'UntagResources', 'VerifyAuthentication', 'VerifyUser',
],
'title' => 'Others',
'type' => 'directory',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'ApplyScalingGroup' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '206918',
'abilityTreeNodes' => ['FEATUREessGIWHSQ', 'FEATUREessXN6KX4'],
],
'parameters' => [
[
'name' => 'ClientToken',
'in' => 'query',
'allowEmptyValue' => false,
'schema' => ['title' => '', 'description' => 'Ensures the idempotence of the request. Generate a value from your client that is unique across different requests. The value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****'],
],
[
'name' => 'Content',
'in' => 'query',
'schema' => ['description' => 'The content of the configuration file.', 'type' => 'string', 'required' => true, 'example' => 'apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx annotations: k8s.aliyun.com/eip-bandwidth: 10 k8s.aliyun.com/eci-with-eip: true spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CC107349-57B7-4405-B1BF-9BF5AF7F****'],
'ScalingGroupId' => ['description' => 'The ID of the scaling group that takes effect.', 'type' => 'string', 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ApplyScalingGroup',
'summary' => 'Creates and manages ECI-based scaling groups by using a configuration file. You can call the ApplyScalingGroup operation to implement this feature.',
'description' => '## Operation description'."\n"
.'ApplyScalingGroup allows you to quickly create ECI scaling groups in the Kubernetes Deployment resource definition format. ECI instances also support Kubernetes YAML extended annotations. For more information, see the "Supported annotations" section of this topic.'."\n"
."\n\n"
.'Mapping between YAML configurations and scaling groups: A scaling group name is mapped by the `namespace`, `kind`, and `name` triplet defined in the YAML. Within a region, a YAML configuration can map to only one scaling group. For example:'."\n"
.'If you use a Deployment YAML configuration with `name` set to `nginx` under the default namespace, it maps to a scaling group named `k8s_default_Deployment_nginx` in the same region.'."\n"
."\n\n"
.'Logic for managing scaling groups based on YAML configurations:'."\n"
."\n"
.'- If the scaling group mapped by the YAML configuration exists, the scaling group is updated based on the YAML configuration.'."\n"
.'- If the scaling group mapped by the YAML configuration does not exist, a scaling group is created based on the YAML configuration.'."\n"
."\n"
.'### Before you begin '."\n"
."\n"
.'- If the YAML configuration does not specify VPC, vSwitch, or security group annotations, the system performs automatic creation of a default VPC, a default vSwitch within the VPC, and a default Auto Scaling security group (`ess-default-sg`). The security group policy opens TCP ports 22 and 3389 and the ICMP (IPv4) protocol by default. If you require other port protocols, adjust the security group policy accordingly.'."\n"
.'- When using a public image, enable public network access. Settings the `k8s.aliyun.com/eci-with-eip pod annotation` to enable the EIP feature.'."\n"
.'- After ApplyScalingGroup applies the YAML configuration, the scaling group and scaling configuration take effect immediately. If replicas is set to a value greater than 0, automatic creation of resources occurs.'."\n"
."\n"
.'### Supported annotations'."\n"
.'For more information about annotations, see [ECI Pod Annotation](~~186939~~).'."\n"
.'|Parameter|Example|Description|'."\n"
.'|-----|-----|-----|'."\n"
.'|k8s.aliyun.com/ess-scaling-group-min-size|1|The minimum number of instances in the scaling group. Default value: 0.'."\n"
.'|k8s.aliyun.com/ess-scaling-group-max-size|20|The maximum number of instances in the scaling group. Default value: max(replicas, 30).'."\n"
.'|k8s.aliyun.com/eci-ntp-server|100.100.*.*|The NTP server.'."\n"
.'|k8s.aliyun.com/eci-use-specs|2-4Gi|The specification of 2 vCPUs and 4 GiB of memory. For more information, see [Create a pod with multiple specifications](~~451267~~).'."\n"
.'|k8s.aliyun.com/eci-vswitch|vsw-bp1xpiowfm5vo8o3c****|The vSwitch ID. You can specify multiple vSwitches to enable the multi-zone feature.'."\n"
.'|k8s.aliyun.com/eci-security-group|sg-bp1dktddjsg5nktv****|The security group ID. You can specify one or more security groups, up to a maximum of five. The specified security groups must belong to the same VPC and must be of the same type.'."\n"
.'|k8s.aliyun.com/eci-sls-enable|"false"|Settings this parameter to false to shutdown log collection. When you collect logs by using SLS CRDs, if specific pods do not require log collection, configure this annotation to shutdown log collection and avoid unnecessary resource consumption caused by automatic creation of Logtail.'."\n"
.'|k8s.aliyun.com/eci-spot-strategy|SpotAsPriceGo|The bidding policy for spot instances. Configure as needed. SpotWithPriceLimit: settings a custom price limit for spot instances. You must also set `k8s.aliyun.com/eci-spot-price-limit`. SpotAsPriceGo: the system automatically bids based on the current marketplace price.'."\n"
.'|k8s.aliyun.com/eci-spot-price-limit|"0.5"|The maximum hourly price for spot instances, accurate to three decimal places. This parameter is active only when `k8s.aliyun.com/eci-spot-strategy` is set to `SpotWithPriceLimit`.'."\n"
.'|k8s.aliyun.com/eci-with-eip|"true"|Settings this parameter to true for automatic creation and attach of an EIP.'."\n"
.'|k8s.aliyun.com/eci-data-cache-bucket|default|The DataCache bucket. This parameter is required when you create a pod by using DataCache.'."\n"
.'|k8s.aliyun.com/eci-data-cache-pl|PL1|The performance level (PL) of the cloud disk created based on DataCache. Standard SSD is used by default, and the default PL is PL1.'."\n"
.'|k8s.aliyun.com/eci-data-cache-provisionedIops|"40000"|The provisioned read/write IOPS of the ESSD AutoPL cloud disk. Valid values: 0 to min{50000, 1000 × capacity - baseline performance}. Baseline performance = min{1800 + 50 × capacity, 50000}. For more information, see [ESSD AutoPL cloud disk](~~368372~~). If this annotation is added, the cloud disk created based on DataCache is an ESSD AutoPL cloud disk.'."\n"
.'|k8s.aliyun.com/eci-data-cache-burstingEnabled|"true"|Specifies whether to enable burst (I/O burst) for the ESSD AutoPL cloud disk. For more information, see [ESSD AutoPL cloud disk](~~368372~~). If this annotation is added, the cloud disk created based on DataCache is an ESSD AutoPL cloud disk.'."\n"
.'|k8s.aliyun.com/eci-custom-tags|"env:test,name:alice"|The label (Tag) character string to attach. You can attach up to three labels. Separate label keys and label values with colons (:), and separate multiple labels with commas (,).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:ApplyScalingGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CC107349-57B7-4405-B1BF-9BF5AF7F****\\",\\n \\"ScalingGroupId\\": \\"asg-bp1igpak5ft1flyp****\\"\\n}","type":"json"}]',
],
'AttachAlbServerGroups' => [
'summary' => 'Adds one or more Application Load Balancer (ALB) server groups to a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92647',
'abilityTreeNodes' => ['FEATUREess2GK585'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where the scaling group resides.'."\n"
."\n"
.'Examples: `ap-southeast-1` and `cn-shanghai`. For more information, see [Regions and zones](~~40654~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'ForceAttach',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to add the existing ECS instances or elastic container instances in the scaling group to the new ALB server group. Valid values:'."\n"
."\n"
.'- true: The instances are added. The system returns a ScalingActivityId. You can use the scaling activity ID to check whether the existing instances are added.'."\n"
."\n"
.'- false: The instances are not added.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''],
],
[
'name' => 'AlbServerGroup',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of ALB server groups.',
'type' => 'array',
'items' => [
'description' => 'The list of ALB server groups.',
'type' => 'object',
'properties' => [
'AlbServerGroupId' => ['description' => 'The ID of the ALB server group.'."\n"
."\n"
.'N specifies the number of the ALB server group. The number of ALB server groups that can be associated with a scaling group is limited. To view or request a quota increase, go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas).', 'type' => 'string', 'required' => true, 'example' => 'sgp-ddwb0y0g6y9bjm****', 'title' => ''],
'Weight' => ['description' => 'The weight of the ECS instance or elastic container instance as a backend server after Auto Scaling adds the instance to the ALB server group. N specifies the number of the ALB server group.'."\n"
."\n"
.'A higher weight indicates that the instance receives more requests. If the weight is 0, the instance does not receive any requests. Valid values: 0 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '100', 'title' => ''],
'Port' => ['description' => 'The port number used by the ECS instance or elastic container instance after Auto Scaling adds the instance to the ALB server group. Valid values: 1 to 65535.'."\n"
."\n"
.'> N specifies the number of the ALB server group. If the values of N are the same but the values of Port are different, the system associates the ALB server group with the scaling group multiple times, each with a different port.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '22', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingActivityId' => ['description' => 'The ID of the scaling activity that is triggered when the ALB server group is added and the existing ECS instances or elastic container instances in the scaling group are added to the ALB server group.'."\n"
."\n"
.'> This parameter is returned only when ForceAttach is set to true.', 'type' => 'string', 'example' => 'asa-2ze6wxj8vsohn6j9****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivityId\\": \\"asa-2ze6wxj8vsohn6j9****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Add one or more ALB server groups',
'description' => '## Operation description'."\n"
."\n"
.'To add ALB server groups to a scaling group, the following conditions must be met:'."\n"
."\n"
.'- The network type of the scaling group must be Virtual Private Cloud (VPC), and the scaling group must reside in the same VPC as the ALB server groups.'."\n"
."\n"
.'- The ALB server groups must be in the Available state.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|AlbServerGroup.NotExist|The ServerGroup "%s" do(es) not exist.|The specified ALB server group does not exist in the current account.|'."\n"
.'|400|AlbServerGroup.AlreadyAttached|The ALB ServerGroups are already attached.|The ALB server groups are already added to the scaling group.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachAlbServerGroups'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:AttachAlbServerGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'AttachDBInstances' => [
'summary' => 'Adds one or more ApsaraDB RDS instances.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92648',
'abilityTreeNodes' => ['FEATUREessJZ6DNF'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1avr6ensitts3w****', 'title' => ''],
],
[
'name' => 'ForceAttach',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to add the private IP addresses of all instances in the current scaling group to the IP whitelist of the RDS instance when the RDS instance is added to the scaling group. Valid values:'."\n"
."\n"
.'- true: Adds the private IP addresses.'."\n"
."\n"
.'- false: Does not add the private IP addresses.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, refer to [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'DBInstance',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the RDS instance. Valid values of N: 1 to 5.',
'type' => 'array',
'items' => ['description' => 'The ID of the RDS instance. Valid values of N: 1 to 5.', 'type' => 'string', 'required' => false, 'example' => 'rm-bp12cy3****', 'title' => ''],
'required' => true,
'example' => 'rm-bp12cy3****',
'maxItems' => 5,
'title' => '',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'AttachMode',
'in' => 'query',
'schema' => ['description' => 'The mode in which the scaling group is associated with the database. Valid values:'."\n"
."\n"
.'- SecurityIp: IP whitelist mode. The system automatically adds the private IP addresses of scaled-out instances to the IP whitelist of the database. Currently, only ApsaraDB RDS databases are supported.'."\n"
.'- SecurityGroup: security group mode. The system adds the security group specified in the scaling configuration to the security group whitelist of the database, which allows instances in the security group to access the database.'."\n"
."\n"
.'Default value: SecurityIp.', 'type' => 'string', 'required' => false, 'example' => 'SecurityIp', 'title' => ''],
],
[
'name' => 'Type',
'in' => 'query',
'schema' => ['description' => 'The type of the database. Valid values:'."\n"
."\n"
.'- RDS'."\n"
.'- Redis'."\n"
.'- MongoDB'."\n"
."\n"
.'Default value: RDS.', 'type' => 'string', 'required' => false, 'example' => 'RDS', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Add one or more apsaraDB RDS instances',
'description' => '## Operation description'."\n"
."\n"
.'The following conditions must be met when you add ApsaraDB RDS instances to a scaling group:'."\n"
."\n"
.'- The RDS instances and the scaling group must belong to the same Alibaba Cloud account.'."\n"
."\n"
.'- The RDS instances must be in an unlocked state. For more information about the lock policy, refer to [Chinese documentation](~~41872~~).'."\n"
."\n"
.'- The RDS instances must be in the Running state.'."\n"
."\n"
.'- If you add an RDS instance that already exists in the scaling group, the number of RDS instances in the scaling group does not change. However, the system attempts to add the private IP addresses of all ECS instances in the scaling group to the IP whitelist of the RDS instance.'."\n"
."\n"
.'> After you add an RDS instance, the default group of the RDS IP whitelist can contain a maximum of 1,000 IP addresses. For more information about IP whitelists, refer to [Set a whitelist](~~96118~~).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in the current account.|'."\n"
.'|400|QuotaExceeded.RDS|"RDS" quota exceeded.|The number of RDS instances in the scaling group exceeds the quota.|'."\n"
.'|400|InvalidDBInstanceId.NotFound|The specified value of parameter "%s" is not valid.|The specified RDS instance does not exist.|'."\n"
.'|400|IncorrectDBInstanceStatus|The instance status of DB instance "%s" does not support this action.|The instance status of the RDS instance does not support this operation.|'."\n"
.'|400|QuotaExceeded.DBInstanceSecurityIP|Security IP quota exceeded in DB instance "%s".|The number of IP addresses in the IP whitelist of the RDS instance exceeds the quota.|'."\n"
.'|400|InvalidInstanceIds.PrivateIpNotFound|Can not find all private ips of instances in specific scaling group.|The private IP addresses of instances in the scaling group cannot be retrieved.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachDBInstances'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:AttachDBInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'AttachInstances' => [
'summary' => 'Manually adds ECS instances to a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92649',
'abilityTreeNodes' => ['FEATUREessBFHJ1B'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'Entrusted',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to entrust the lifecycle of the instance to the scaling group when you manually add an existing instance to the scaling group. Valid values:'."\n"
."\n"
.'- true: The lifecycle of the instance is managed by Auto Scaling, consistent with instances that are created through automatic creation by the scaling group. The instance is subject to automatic release when it is removed from the scaling group, except when it is removed by invoking the `DetachInstances` operation.'."\n"
.'- false: The lifecycle of the instance is not managed by the scaling group. The instance is not released when it is removed from the scaling group.'."\n"
."\n"
.'> Settings for this parameter are not supported for subscription instances, managed instances, or instances in the economy mode (stopped) state within the scaling group.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'Instance ID of the ECS instance, ECI instance, managed instance, or instance in the economy mode (stopped) state within the scaling group that you want to add. Valid values of N: 1 to 20.'."\n"
."\n"
.'Examples:'."\n"
."\n"
.'- Instance ID of the ECS instance to add: `i-28wt4****`.'."\n"
.'- Instance ID of the ECI instance to add: `eci-bp17gw49eu09yiwm****`.'."\n"
.'- Instance ID of the managed instance to add: `mi-2cx*****`.'."\n"
.'- Instance ID of the instance in the economy mode (stopped) state within the scaling group to restart: `i-2cd2f****`.'."\n"
."\n"
.'> Only one type of instance can be processed in a single request.',
'type' => 'array',
'items' => ['description' => 'Instance ID of the ECS instance, ECI instance, managed instance, or instance in the economy mode (stopped) state within the scaling group that you want to add. Valid values of N: 1 to 20.'."\n"
."\n"
.'Examples:'."\n"
."\n"
.'- Instance ID of the ECS instance to add: `i-28wt4****`.'."\n"
.'- Instance ID of the ECI instance to add: `eci-bp17gw49eu09yiwm****`.'."\n"
.'- Instance ID of the managed instance to add: `mi-2cx*****`.'."\n"
.'- Instance ID of the instance in the economy mode (stopped) state within the scaling group to restart: `i-2cd2f****`.'."\n"
."\n"
.'> Only one type of instance can be processed in a single request.', 'type' => 'string', 'required' => false, 'example' => 'i-28wt4****', 'title' => ''],
'required' => false,
'example' => 'i-28wt4****',
'maxItems' => 100,
'title' => '',
],
],
[
'name' => 'LoadBalancerWeight',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The weight of the ECS instance or ECI instance as a backend server of the load balancing instance.'."\n"
.'> Settings for this parameter are not supported for managed instances or instances in the economy mode (stopped) state within the scaling group.',
'type' => 'array',
'items' => ['description' => 'The weight of the ECS instance or ECI instance as a backend server of the load balancing instance. Valid values of N: 1 to 20. Valid values of this parameter: 1 to 100.'."\n"
."\n"
.'> Settings for this parameter are not supported for managed instances or instances in the economy mode (stopped) state within the scaling group.'."\n"
."\n"
.'Default value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
'required' => false,
'example' => '50',
'maxItems' => 100,
'title' => '',
],
],
[
'name' => 'LifecycleHook',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to trigger a scale-out lifecycle hook when instances are added to the scaling group. Valid values:'."\n"
.'- true: triggers the lifecycle hook.'."\n"
.'- false: does not trigger the lifecycle hook.'."\n"
."\n"
.'> This parameter is not supported for managed instances or instances in the economy mode (stopped) state within the scaling group.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'example' => 'false', 'required' => false, 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'IgnoreInvalidInstance',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to ignore invalid instances when adding a batch of instances to the scaling group. Valid values:'."\n"
."\n"
.'- true: Invalid instances are ignored when a batch of instances is added to the scaling group. If invalid instances exist and valid instances are successfully added, the scaling activity status is displayed as Warning. You can view the invalid instances in the scaling activity details.'."\n"
."\n"
.'- false: Invalid instances are not ignored when a batch of instances is added to the scaling group. If any invalid instance exists in the batch, the request returns an error.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingActivityId' => ['description' => 'The ID of the scaling activity.', 'type' => 'string', 'example' => 'asa-bp1crxor24s28xf1****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivityId\\": \\"asa-bp1crxor24s28xf1****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Manually add ECS instances to a scaling group',
'description' => '## Operation description'."\n"
."\n"
.'- Before you invoke this operation, make sure that the following conditions are met:'."\n"
.' - The scaling group is in the Active state.'."\n"
.' - No scaling activity is in progress in the scaling group.'."\n"
."\n"
.'- The following limits apply to ECS instances or Elastic Container Instance (ECI) instances that you want to add to a scaling group:'."\n"
.' - The instances must be in the same region as the scaling group.'."\n"
.' - The instances must be in the Running state.'."\n"
.' - The instances cannot already belong to another scaling group.'."\n"
.' - The payer of the instances must be subscription, pay-as-you-go, or spot instance.'."\n"
.' - If the scaling group has a specified VswitchID, ECS instances or ECI instances of the Classic network type cannot be added to the scaling group. ECS instances or ECI instances in a different VPC cannot be added to the scaling group either.'."\n"
.' - If the scaling group does not have a specified VswitchID, ECS instances or ECI instances of the VPC network type cannot be added to the scaling group.'."\n"
."\n"
.'- The following limits apply to managed instances that you want to add to a scaling group:'."\n"
.' - The managed instances must be in the same region as the scaling group.'."\n"
.' - Only managed instances that do not belong to a scaling group can be added to an ECS-type scaling group.'."\n"
.' - Managed instances do not support lifecycle hooks, load balancing association, or health check features.'."\n"
.' - After managed instances are added to an ECS-type scaling group, the scaling group does not manage the lifecycle of the managed instances.'."\n"
.' - Managed instances can only be manually added to or removed from a scaling group. Managed instances are not released after they are removed.'."\n"
."\n"
.'- Take note of the following items when you invoke this operation:'."\n"
.' - When no scaling activity is in progress in the scaling group, this operation can bypass the cooldown time (Cooldown) and be executed immediately.'."\n"
.' - A successful invocation only indicates that Auto Scaling has accepted the request. The scaling activity can be executed, but a successful invocation does not guarantee that the scaling activity will succeed. You can check the execution status of the scaling activity based on the returned ScalingActivityId.'."\n"
.' - If the number of instances specified in this operation plus the current number of instances in the scaling group (Total Capacity) exceeds the maximum size (MaxSize), the invocation is failed.'."\n"
.' - ECS instances, ECI instances, or managed instances that are manually added by invoking this operation are not associated with the active scaling configuration of the scaling group.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in the current account.|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You have not fully authorized Auto Scaling to invoke API operations.|'."\n"
.'|400|IncorrectScalingGroupStatus|The current status of the specified scaling group does not support this action.|The specified scaling group is not in the Active state.|'."\n"
.'|404|InvalidInstanceId.NotFound|Instance "XXX" does not exist.|The specified ECS instance or ECI instance does not exist in the current account.|'."\n"
.'|400|InvalidInstanceId. RegionMismatch|Instance "XXX" and the specified scaling group are not in the same Region.|The specified ECS instance or ECI instance is not in the same region as the scaling group.|'."\n"
.'|400|InvalidInstanceId.InstanceTypeMismatch|Instance "XXX" and existing Active scaling configurations have different instance types.|The instance type of the specified ECS instance or ECI instance does not match the scaling configuration.|'."\n"
.'|400|IncorrectInstanceStatus|The current status of instance "XXX" does not support this action.|The specified ECS instance or ECI instance is not in the Running state.|'."\n"
.'|400|InvalidInstanceId. NetworkTypeMismatch|The network type of instance "XXX" does not support this action.|The network type of the ECS instance or ECI instance does not match the network type of the scaling group.|'."\n"
.'|400|InvalidInstanceId.VPCMismatch|Instance "XXX" and the specified scaling group are not in the same VPC.|The specified scaling group and the ECS instance or ECI instance to add are not in the same VPC.|'."\n"
.'|400|InvalidInstanceId.InUse|Instance "XXX" is already attached to another scaling group.|The specified ECS instance or ECI instance already belongs to another scaling group.|'."\n"
.'|400|ScalingActivityInProgress|You cannot delete a scaling group or launch a new scaling activity while there is a scaling activity in progress for the specified scaling group.|A scaling activity is in progress in the specified scaling group.|'."\n"
.'|400|IncorrectLoadBalancerStatus|The current status of the specified load balancer does not support this action.|The load balancing instance associated with the specified scaling group is not in the Active state.|'."\n"
.'|400|IncorrectLoadBalancerHealthCheck|The current health check type of specified load balancer does not support this action.|The health check is not enabled for the load balancing instance associated with the specified scaling group.|'."\n"
.'|400|InvalidLoadBalancerId.IncorrectInstanceNetworkType|The network type of the instance in specified load balancer does not support this action.|The network type of the ECS instance or ECI instance in the specified load balancing instance does not match the network type of the scaling group.|'."\n"
.'|400|InvalidLoadBalancerId.VPCMismatch|The specified virtual switch and the instance in specified load balancer are not in the same VPC.|The ECS instance or ECI instance in the load balancing instance associated with the scaling group is not in the same VPC as the specified vSwitch.|'."\n"
.'|400|IncorrectDBInstanceStatus|The current status of DB instance "XXX" does not support this action.|The ApsaraDB RDS instance associated with the specified scaling group is not in the Running state.|'."\n"
.'|400|QuotaExceeded.DBInstanceSecurityIP|Security IP quota exceeded in DB instance "XXX".|The number of IP addresses in the whitelist of the ApsaraDB RDS instance associated with the specified scaling group has reached the upper limit.|'."\n"
.'|400|QuotaExceeded.SecurityGroupInstance|Instance quota exceeded in the specified security group.|The number of ECS instances or ECI instances in the specified security group has reached the upper limit.|'."\n"
.'|400|IncorrectCapacity.MaxSize|To attach the instances, the total capacity will be greater than the MaxSize.|The number of ECS instances or ECI instances to add causes the Total Capacity to exceed the MaxSize.|',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachInstances'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:AttachInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'AttachLoadBalancers' => [
'summary' => 'Adds one or more load balancing instances.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92650',
'abilityTreeNodes' => ['FEATUREess2GK585'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asg-bp1avr6ensitts3w****', 'title' => ''],
],
[
'name' => 'ForceAttach',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to add all existing instances in the scaling group as backend servers of the load balancing CLB (formerly SLB) instances. Valid values:'."\n"
.' '."\n"
.'- true: All existing instances in the scaling group are added as backend servers of the load balancing instances when the load balancing instances are added to the scaling group.'."\n"
.' > If a load balancing instance has already been added to the scaling group and you want to add all instances in the scaling group as backend servers of the load balancing instance, you can add the load balancing instance to the scaling group again with the `ForceAttach` parameter set to `true`.'."\n"
."\n"
.'- false: Existing instances in the scaling group are not added as backend servers of the load balancing instances when the load balancing instances are added to the scaling group.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'Async',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to use asynchronous invocation when adding load balancing CLB (formerly SLB) instances. Asynchronous invocation ensures the transactional nature of the operation, which means that either all operations execute successfully or none of the operations take effect if one is failed. Use asynchronous invocation.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'- true: Asynchronous invocation. The request returns the ID of the scaling activity.'."\n"
."\n"
.'- false: Synchronous call.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'LoadBalancer',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The IDs of the load balancing CLB (formerly SLB) instances to be added. Valid values of N: 1 to 5.',
'type' => 'array',
'items' => ['description' => 'The IDs of the load balancing CLB (formerly SLB) instances to be added. Valid values of N: 1 to 5.'."\n"
."\n"
.'> You can add up to five load balancing instances to a scaling group at a time.', 'type' => 'string', 'required' => false, 'example' => 'lb-2zeur05gfs****', 'title' => ''],
'required' => false,
'example' => 'lb-2zeur05gfs****',
'maxItems' => 5,
'title' => '',
],
],
[
'name' => 'LoadBalancerConfig',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The load balancing CLB (formerly SLB) configuration list.',
'type' => 'array',
'items' => [
'description' => 'The load balancing CLB (formerly SLB) configuration list.',
'type' => 'object',
'properties' => [
'LoadBalancerId' => ['description' => 'The ID of the load balancing CLB (formerly SLB) instance.', 'type' => 'string', 'required' => false, 'example' => '147b46d767c-cn-qingdao-cm5****', 'title' => ''],
'Weight' => ['description' => 'The weight of an ECS instance or elastic container instance as a backend server after Auto Scaling adds the instance to the CLB server group. A higher weight indicates that the instance receives more requests. If the weight is 0, the instance does not receive any requests.'."\n"
."\n"
.'Valid values: 0 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingActivityId' => ['description' => 'The ID of the scaling activity.'."\n"
."\n"
.'This value is returned only when Async is set to true. You can call the [DescribeScalingActivities](~~25961~~) operation to query the returned scaling activity ID and check the execution status of the scaling activity.', 'type' => 'string', 'example' => 'asa-bp140qd7mak8k63f****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivityId\\": \\"asa-bp140qd7mak8k63f****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Add one or more load balancing instances',
'description' => '## Operation description'."\n"
."\n"
.'When you add load balancing instances to a scaling group, the following conditions must be met: '."\n"
."\n"
.'- The load balancing instances and the scaling group must belong to the same Alibaba Cloud account and the same region.'."\n"
."\n"
.'- The load balancing instances must be in the `Running` state. '."\n"
."\n"
.'- The load balancing instances must have at least one listener configured and health checks must be enabled.'."\n"
."\n"
.'- If both the load balancing instances and the scaling group are of the VPC network type, they must be in the same VPC.'."\n"
."\n"
.'- If the scaling group is of the VPC network type and the load balancing instances are of the classic network type, and the backend servers of the load balancing instances include VPC-connected instances, those instances must be in the same VPC as the scaling group.'."\n"
."\n"
.'- The number of load balancing instances associated with the scaling group cannot exceed the quota limit. For more information, see [Limits](~~25863~~).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HTTP status code|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You have not granted Auto Scaling full permissions to invoke API operations.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in your account.|'."\n"
.'|400|QuotaExceeded.LoadBalancer|LoadBalancer quota exceeded in the scaling group "%s".|The number of load balancing instances in the scaling group exceeds the quota limit.|'."\n"
.'|404|InvalidLoadBalancerId.NotFound|The load balancer "%s" does not exist.|The specified load balancing instance does not exist.|'."\n"
.'|400|InvalidLoadBalancerId.RegionMismatch|The load balancer "%s" and the specified scaling group are not in the same Region.|The load balancing instance and the scaling group are not in the same region.|'."\n"
.'|400|IncorrectLoadBalancerStatus|The current status of the load balancer "%s" does not support this action.|The instance status of the load balancing instance does not support this operation.|'."\n"
.'|400|IncorrectLoadBalancerHealthCheck|The current health check type of the load balancer "%s" does not support this action.|Health checks are not enabled for the load balancing instance.|'."\n"
.'|400|InvalidLoadBalancerId.VPCMismatch|The specified virtual switch and the instance in the load balancer "%s" are not in the same VPC.|The load balancing instance and the scaling group are not in the same VPC.|'."\n"
.'|400|QuotaExceeded.BackendServer|Backend server quota exceeded in the load balancer "%s".|The number of backend servers of the load balancing instance exceeds the quota limit.|'."\n"
.'|404|InvalidScalingConfigurationId.NotFound|The specified scaling configuration does not exist.|The scaling configuration that is enabled for the scaling group does not exist.|',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachLoadBalancers'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:AttachLoadBalancers',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'AttachServerGroups' => [
'summary' => 'Adds one or more load balancing server groups to a scaling group. Supported server group types include Application Load Balancer (ALB) and Network Load Balancer (NLB).',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '166340',
'abilityTreeNodes' => ['FEATUREess2GK585'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'ForceAttach',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to add the existing ECS instances or Elastic Container Instance (ECI) instances in the scaling group to the new server group. Valid values:'."\n"
."\n"
.'- true: Adds the instances.'."\n"
."\n"
.'- false: Does not add the instances.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''],
],
[
'name' => 'ServerGroup',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The information about the load balancing server groups.',
'type' => 'array',
'items' => [
'description' => 'The information about the load balancing server groups.',
'type' => 'object',
'properties' => [
'ServerGroupId' => ['description' => 'The ID of the load balancing server group.', 'type' => 'string', 'required' => true, 'example' => 'sgp-60ofsqhwer0b***', 'title' => ''],
'Type' => ['description' => 'The type of the load balancing server group. Valid values:'."\n"
."\n"
.'- ALB: Application Load Balancer (ALB).'."\n"
.'- NLB: Network Load Balancer (NLB).'."\n"
.'- GWLB: Gateway Load Balancer (GWLB).', 'type' => 'string', 'required' => true, 'example' => 'ALB', 'title' => ''],
'Weight' => ['description' => 'The weight of an ECS instance or ECI instance as a backend server after Auto Scaling adds the instance to the server group. Valid values: 0 to 100.'."\n"
."\n"
.'A higher weight indicates that the instance is allocated more access requests. If the weight is 0, the instance does not receive any access requests.'."\n"
."\n"
.'> This parameter is required for ALB and NLB load balancing server groups. You cannot configure this parameter in Settings for GWLB load balancing server groups.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
'Port' => ['description' => 'The port number used by an ECS instance or ECI instance after Auto Scaling adds the instance to the server group.'."\n"
."\n"
.'Valid values: 1 to 65535.'."\n"
."\n"
.'> This parameter is required for ALB and NLB load balancing server groups. You cannot configure this parameter in Settings for GWLB load balancing server groups, and the default value is 6081.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '22', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingActivityId' => ['description' => 'The ID of the scaling activity that is triggered when the load balancing server group is added and the existing ECS instances or ECI instances in the scaling group are added to the server group.'."\n"
.'> This parameter is returned only when ForceAttach is set to true.', 'type' => 'string', 'example' => 'asa-bp1c9djwrgxjyk31****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '74C4E313-8570-479F-8791-DC25360D****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivityId\\": \\"asa-bp1c9djwrgxjyk31****\\",\\n \\"RequestId\\": \\"74C4E313-8570-479F-8791-DC25360D****\\"\\n}","type":"json"}]',
'title' => 'Add one or more load balancing server groups',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachServerGroups'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:AttachServerGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'AttachVServerGroups' => [
'summary' => 'Adds one or more virtual service groups under a load balancing instance.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92651',
'abilityTreeNodes' => ['FEATUREess2GK585'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where the scaling group resides, such as ap-southeast-1. For more information, refer to [Regions and zones](~~40654~~).', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, refer to [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'ForceAttach',
'in' => 'query',
'schema' => ['description' => 'Indicates whether to add the ECS instances or elastic container instances in the current scaling group to the new virtual service groups.'."\n"
."\n"
.'- true: adds the instances.'."\n"
."\n"
.'- false: does not add the instances.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''],
],
[
'name' => 'VServerGroup',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The collection of information about the virtual service groups associated with the scaling group.',
'type' => 'array',
'items' => [
'description' => 'The collection of information about the virtual service groups associated with the scaling group.',
'type' => 'object',
'properties' => [
'VServerGroupAttribute' => [
'description' => 'The virtual service group properties.',
'type' => 'array',
'items' => [
'description' => 'The virtual service group properties.',
'type' => 'object',
'properties' => [
'VServerGroupId' => ['description' => 'The ID of the virtual service group. In this parameter:'."\n"
."\n"
.'- The first N specifies the load balancing instance number. Valid values: 1 to 5.'."\n"
."\n"
.'- The second N specifies the virtual service group number under the load balancing instance. Valid values: 1 to 5.', 'type' => 'string', 'required' => false, 'example' => 'rsp-bp1jp1rge****', 'title' => ''],
'Weight' => ['description' => 'The weight that Auto Scaling sets when it adds ECS instances or elastic container instances to the virtual service group. Valid values: 0 to 100. In this parameter:'."\n"
."\n"
.'- The first N specifies the load balancing instance number. Valid values: 1 to 5.'."\n"
."\n"
.'- The second N specifies the virtual service group number under the load balancing instance. Valid values: 1 to 5.'."\n"
."\n"
.'Default value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
'Port' => ['description' => 'The port number that Auto Scaling uses when it adds ECS instances or elastic container instances to the virtual service group. Valid values: 1 to 65535. In this parameter:'."\n"
."\n"
.'- The first N specifies the load balancing instance number. Valid values: 1 to 5.'."\n"
."\n"
.'- The second N specifies the virtual service group number under the load balancing instance. Valid values: 1 to 5.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '22', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
'LoadBalancerId' => ['description' => 'The ID of the load balancing instance to which the virtual service group belongs. N specifies the load balancing instance number. Valid values: 1 to 5.', 'type' => 'string', 'required' => false, 'example' => 'lb-bp1u7etiogg38yvwz****', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'AttachVServerGroups',
'description' => '## Operation description'."\n"
."\n"
.'- The following conditions must be met when you add virtual service groups to a scaling group:'."\n"
."\n"
.' - The load balancing instance and the scaling group must belong to the same account.'."\n"
."\n"
.' - The load balancing instance and the scaling group must be in the same region.'."\n"
."\n"
.' - The load balancing instance must be in the Running state.'."\n"
."\n"
.' - The load balancing instance must have at least one listener configured, and health check must be enabled.'."\n"
."\n"
.' - If both the load balancing instance and the scaling group are in a VPC, they must be in the same VPC.'."\n"
."\n"
.' - If the network type of the scaling group is VPC and the network type of the load balancing instance is classic network, and the virtual service group contains a VPC-connected instance, the instance must be in the same VPC as the scaling group.'."\n"
."\n"
.' - The virtual service groups to be added must belong to the corresponding load balancing instance.'."\n"
."\n"
.' - The number of virtual service groups in the scaling group cannot exceed the quota. For more information about the quota, refer to [Limits](~~40654~~).'."\n"
."\n"
.'- When you add virtual service groups to a scaling group, you must specify the following properties:'."\n"
."\n"
.' - Load balancing instance ID (LoadBalancerId)'."\n"
."\n"
.' - Virtual service group ID (VServerGroupId)'."\n"
."\n"
.' - Virtual service group port number (Port)'."\n"
."\n"
.' >If you add the same virtual service group to a scaling group by using different port numbers, the virtual service group is considered as multiple virtual service groups in the scaling group. If the virtual service group ID and port number are both duplicated in the request parameters, the first configured group is used by default, and the remaining virtual service groups are ignored.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You have not granted Auto Scaling full permissions to call API operations.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in your account.|'."\n"
.'|404|InvalidLoadBalancerId.NotFound|The load balancer "%s" does not exist.|The specified load balancing instance does not exist in your account.|'."\n"
.'|400|InvalidLoadBalancerId.RegionMismatch|The load balancer "%s" and the specified scaling group are not in the same Region.|The load balancing instance and the scaling group are not in the same region.|'."\n"
.'|400|IncorrectLoadBalancerStatus|The instance status of the load balancer "%s" does not support this action.|The instance status of the load balancing instance does not support this operation.|'."\n"
.'|400|IncorrectLoadBalancerHealthCheck|The current health check type of the load balancer "%s" does not support this action.|Health check is not enabled for the load balancing instance.|'."\n"
.'|400|InvalidLoadBalancerId.VPCMismatch|The specified virtual switch and the instance in the load balancer "%s" are not in the same VPC.|The load balancing instance and the scaling group are not in the same VPC.|'."\n"
.'|400|InvalidVServerGroupId.ForLoadBalancer|Invalid VServerGroupId For LoadBalancer "%s".|The virtual service group specified by VServerGroupId does not belong to the specified load balancing instance.|'."\n"
.'|400|QuotaExceeded.VServerGroup|VServerGroup quota exceeded in the specified scaling group.|The number of virtual service groups in the scaling group has reached the upper limit.|',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:AttachVServerGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachVServerGroups'],
],
],
],
'CancelInstanceRefresh' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '232214',
'abilityTreeNodes' => ['FEATUREessPV8ZVU'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
],
[
'name' => 'InstanceRefreshTaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the instance refresh task.', 'type' => 'string', 'required' => false, 'example' => 'ir-aca123sf****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
],
],
'title' => 'CancelInstanceRefresh',
'summary' => 'Cancels an instance refresh task. Instances that have already been replaced or added during scale-out are retained.',
'description' => '## Operation description'."\n"
.'An instance refresh task that is being rolled back cannot be canceled.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:CancelInstanceRefresh',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
],
'ChangeResourceGroup' => [
'summary' => 'Adds a scaling group as a resource to a resource group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '163910',
'abilityTreeNodes' => ['FEATUREessXN6KX4'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where the scaling group resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => 'The resource type. Only scaling groups are supported. Set the value to scalinggroup.', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup', 'title' => ''],
],
[
'name' => 'ResourceId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group whose resource group you want to change.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp17xb4x1vr29lgt****', 'title' => ''],
],
[
'name' => 'NewResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the new resource group to which you want to move the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'rg-aek2ckjqe3****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Change the resource group of a scaling group',
'description' => '## Operation description'."\n"
."\n"
.'- A resource is a cloud service entity that you create on Alibaba Cloud. For example, a scaling group is a resource.'."\n"
."\n"
.'- A resource group is a mechanism for managing resources by group within an Alibaba Cloud account. Resource groups help you resolve complex issues related to resource grouping and authorization management within a single cloud account. For more information, see [What is Resource Management](~~94475~~).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ChangeResourceGroup'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ChangeResourceGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'CompleteLifecycleAction' => [
'summary' => 'Completes the wait state of a scaling activity ahead of schedule.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92652',
'abilityTreeNodes' => ['FEATUREessKFTMD6'],
],
'parameters' => [
[
'name' => 'LifecycleHookId',
'in' => 'query',
'schema' => ['description' => 'The ID of the lifecycle hook.', 'type' => 'string', 'required' => true, 'example' => 'ash-bp14g3ee6bt3sc98****', 'title' => ''],
],
[
'name' => 'LifecycleActionToken',
'in' => 'query',
'schema' => ['description' => 'The token that indicates the wait state of the scaling activity. You can obtain this value from the MNS queue or MNS topic specified by the lifecycle hook.', 'type' => 'string', 'required' => true, 'example' => 'aaaa-bbbbb-cccc-ddddd', 'title' => ''],
],
[
'name' => 'LifecycleActionResult',
'in' => 'query',
'schema' => ['description' => 'The next action to take after the lifecycle hook wait state ends. Valid values:'."\n"
."\n"
.'- CONTINUE: continues responding to a scale-out activity and adds ECS instances to the scaling group. Continues responding to a scale-down activity and removes ECS instances from the scaling group.'."\n"
.'- ABANDON: terminates the scale-out activity and releases the created ECS instances. Continues responding to the scale-down activity and removes ECS instances from the scaling group.'."\n"
.'- ROLLBACK: rejects the release of ECS instances during a scale-down activity and performs a rollback. For a scale-out activity, the effect is the same as ABANDON.'."\n"
."\n"
.'If you do not specify this parameter, the next action after the lifecycle hook wait state ends remains the `DefaultResult` value configured for the lifecycle hook.'."\n"
."\n"
.'When multiple lifecycle hooks in a scaling group are triggered simultaneously, the final next action is determined as follows:'."\n"
."\n"
.'- For a scale-down activity, when the wait state triggered by a lifecycle hook of the `ABANDON` or `ROLLBACK` type ends, the wait states of subsequent lifecycle hooks are completed ahead of schedule.'."\n"
.'- For a `CONTINUE` type lifecycle hook that suspends a scale-down activity, or for a scale-out activity, subsequent lifecycle hooks continue to suspend the scaling activity until the wait state triggered by the last lifecycle hook ends. The final next action is determined by the type of the last lifecycle hook whose wait state ends.', 'type' => 'string', 'required' => false, 'example' => 'CONTINUE', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Complete the wait state of a scaling activity ahead of schedule',
'description' => '## Operation description'."\n"
."\n"
.'You can set the next action after the wait state ends to continue responding to the scaling activity (CONTINUE), abandon the scaling activity (ABANDON), or perform a rollback (ROLLBACK).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidParamter|The specified value of parameter is invalid.|The specified parameter value is invalid.|'."\n"
.'|400|LifecycleHookIdAndLifecycleActionToken.Invalid|The specified lifecycleActionToken and lifecycleHookId you provided does not match any in process lifecycle action.|The specified LifecycleActionToken does not match the specified LifecycleHookId.|.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:CompleteLifecycleAction',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '1500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CompleteLifecycleAction'],
],
],
],
'CreateAlarm' => [
'summary' => 'Creates an event-triggered task.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '92653',
'abilityTreeNodes' => ['FEATUREessBFLAJQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['description' => 'The name of the event-triggered task.', 'type' => 'string', 'required' => false, 'example' => 'TestAlarmTask', 'title' => ''],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => 'The description of the event-triggered task.', 'type' => 'string', 'required' => false, 'example' => 'Test alarm task.', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group associated with the event-triggered task.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'MetricName',
'in' => 'query',
'schema' => ['description' => 'The name of the monitoring metric. Valid values vary based on the monitoring type of the event-triggered task:'."\n"
."\n"
.'- If the event-triggered task is of the custom monitoring type (MetricType=custom), valid values are your custom monitoring metrics.'."\n"
."\n"
.'- If the event-triggered task is of the system monitoring type (MetricType=system), valid values: '."\n"
.' - CpuUtilization: (ECS) CPU utilization (%).'."\n"
."\n"
.' - ConcurrentConnections: (ECS) number of concurrent connections to an ECS instance.'."\n"
."\n"
.' - IntranetTx: (ECS) outbound traffic over the internal network (Kbit/min).'."\n"
."\n"
.' - IntranetRx: (ECS) inbound traffic over the internal network (Kbit/min).'."\n"
."\n"
.' - VpcInternetTx: (ECS) outbound traffic over the Internet (Kbit/min).'."\n"
."\n"
.' - VpcInternetRx: (ECS) inbound traffic over the Internet (Kbit/min).'."\n"
."\n"
.' - SystemDiskReadBps: (ECS) system cloud disk read BPS (byte/s).'."\n"
."\n"
.' - SystemDiskWriteBps: (ECS) system cloud disk write BPS (byte/s).'."\n"
."\n"
.' - SystemDiskReadOps: (ECS) system cloud disk read IOPS (count/s).'."\n"
."\n"
.' - SystemDiskWriteOps: (ECS) system cloud disk write IOPS (count/s).'."\n"
."\n"
.' - CpuUtilizationAgent: (Agent) CPU utilization (%).'."\n"
."\n"
.' - GpuUtilizationAgent: (Agent) GPU utilization (%).'."\n"
."\n"
.' - GpuMemoryFreeUtilizationAgent: (Agent) GPU memory idle rate (%).'."\n"
."\n"
.' - GpuMemoryUtilizationAgent: (Agent) GPU memory utilization (%).'."\n"
."\n"
.' - MemoryUtilization: (Agent) memory utilization (%).'."\n"
."\n"
.' - LoadAverage: (Agent) average system load.'."\n"
."\n"
.' - TcpConnection: (Agent) total number of TCP connections.'."\n"
.' '."\n"
.' - TcpConnection: (Agent) number of established TCP connections.'."\n"
."\n"
.' - PackagesNetOut: (Agent) number of packets sent by the internal NIC (count/s).'."\n"
."\n"
.' - PackagesNetIn: (Agent) number of packets received by the internal NIC (count/s).'."\n"
.' '."\n"
.' - PackagesNetOut: (Agent) number of packets sent by the public NIC (count/s).'."\n"
."\n"
.' - PackagesNetIn: (Agent) number of packets received by the public NIC (count/s).'."\n"
."\n"
.' - EciPodCpuUtilization: CPU utilization (%).'."\n"
."\n"
.' - EciPodMemoryUtilization: memory utilization (%).'."\n"
."\n"
.' - LoadBalancerRealServerAverageQps: (ALB) average QPS per server in a server group (count/s).'."\n"
."\n"
.'For more information, see [Event-triggered tasks of the system monitoring type](~~74854~~).', 'type' => 'string', 'required' => false, 'example' => 'CpuUtilization', 'title' => ''],
],
[
'name' => 'MetricType',
'in' => 'query',
'schema' => ['description' => 'The type of the monitoring metric. Valid values:'."\n"
.'- system: uses CloudMonitor system metrics.'."\n"
.'- custom: uses custom metrics reported to CloudMonitor.', 'type' => 'string', 'required' => false, 'default' => 'system', 'example' => 'system', 'title' => ''],
],
[
'name' => 'Period',
'in' => 'query',
'schema' => ['description' => 'The statistical period for the monitoring metric data. Unit: seconds. Valid values:'."\n"
."\n"
.'- 15'."\n"
.'- 60'."\n"
.'- 120'."\n"
.'- 300'."\n"
.'- 900'."\n"
."\n"
.'> Only scaling groups of the ECS type support a statistical period of 15 seconds.'."\n"
."\n"
.'Default value: 300.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '300', 'example' => '300', 'title' => ''],
],
[
'name' => 'Statistics',
'in' => 'query',
'schema' => ['description' => 'The method used to aggregate the monitoring metric data. Valid values:'."\n"
."\n"
.'- Average: average value.'."\n"
.'- Minimum: minimum value.'."\n"
.'- Maximum: maximum value.'."\n"
."\n"
.'Default value: Average.', 'type' => 'string', 'required' => false, 'default' => 'Average', 'example' => 'Average', 'title' => ''],
],
[
'name' => 'Threshold',
'in' => 'query',
'schema' => ['description' => 'The threshold of the monitoring metrics. An alert is triggered and the scaling rule is executed when the threshold expression is met for the specified number of times.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '80.0', 'title' => ''],
],
[
'name' => 'ComparisonOperator',
'in' => 'query',
'schema' => ['description' => 'The comparison operator between the aggregated value of the monitoring metric and the threshold. This parameter specifies the relationship under which the condition is met. Valid values:'."\n"
."\n"
.'- The aggregated value is greater than or equal to the threshold. Value: >=.'."\n"
.'- The aggregated value is less than or equal to the threshold. Value: <=.'."\n"
.'- The aggregated value is greater than the threshold. Value: >.'."\n"
.'- The aggregated value is less than the threshold. Value: <.'."\n"
."\n"
.'Default value: >=.', 'type' => 'string', 'required' => false, 'default' => '>=', 'example' => '>=', 'title' => ''],
],
[
'name' => 'EvaluationCount',
'in' => 'query',
'schema' => ['description' => 'The number of consecutive times that the threshold expression must be met before the scaling rule is executed. For example, the average CPU utilization must be greater than or equal to 80% for three consecutive statistical periods.'."\n"
."\n"
.'Default value: 3.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '3', 'example' => '3', 'title' => ''],
],
[
'name' => 'GroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the CloudMonitor application group to which the custom monitoring metric belongs. This parameter is required only when MetricType is set to custom.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4055401', 'title' => ''],
],
[
'name' => 'Effective',
'in' => 'query',
'schema' => ['description' => 'The effective period of the event-triggered task. By default, the event-triggered task is effective at all times.'."\n"
."\n"
.'This parameter follows cron expressions. The default format is `X X X X X ?`, where:'."\n"
.'- X: a placeholder for a field, which represents seconds, minutes, hours, day of month, and month in sequence. X can be a specific value or a special character with logical meaning. For more information about the valid values of X, see [Cron expression](~~25907~~).'."\n"
."\n"
.'- ?: specifies no value.'."\n"
."\n"
.'> The value of this parameter is **in the UTC+8 time zone by default**. You can add the time zone information `TZ=+yy` before the cron expression to specify a time zone, where y represents the numeric value of the time zone. For example, `TZ=+00 * * 1-2 * * ?` specifies that the event-triggered task is effective between 01:00 and 02:59 in the UTC+0 time zone every day.'."\n"
."\n"
.'Examples:'."\n"
."\n"
.'- `* * * * * ? `: effective at all times.'."\n"
."\n"
.'- `* * 17-18 * * ? `: effective between 17:00 and 18:59 in the UTC+8 time zone every day.'."\n"
."\n"
.'- `TZ=+00 * * 1-2 * * ?`: effective between 01:00 and 02:59 in the UTC+0 time zone every day.', 'type' => 'string', 'required' => false, 'example' => 'TZ=+00 * * 1-2 * * ?', 'title' => ''],
],
[
'name' => 'AlarmAction',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The unique identifier of the scaling rule associated with the event-triggered task.',
'type' => 'array',
'items' => ['description' => 'The unique identifier of the scaling rule associated with the event-triggered task.', 'type' => 'string', 'required' => false, 'example' => 'ari:acs:ess:cn-hangzhou:1406926****:scalingrule/asr-bp163l21e07uhn****', 'title' => ''],
'required' => false,
'example' => 'ari:acs:ess:cn-hangzhou:1406926****:scalingrule/asr-bp163l21e07uhn****',
'maxItems' => 5,
'title' => '',
],
],
[
'name' => 'Dimension',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of dimensions associated with the monitoring metric.',
'type' => 'array',
'items' => [
'description' => 'The list of dimensions associated with the monitoring metric.',
'type' => 'object',
'properties' => [
'DimensionKey' => ['description' => 'The key of the dimension associated with the monitoring metric. Valid values vary based on the monitoring type of the event-triggered task:'."\n"
."\n"
.'- If the event-triggered task is of the custom monitoring type (MetricType=custom), you can specify any value.'."\n"
."\n"
.'- If the event-triggered task is of the system monitoring type (MetricType=system), valid values:'."\n"
."\n"
.' - user_id: your account ID.'."\n"
.' - scaling_group: the scaling group to be monitored.'."\n"
.' - device: the type of the network interface controller (NIC) device.'."\n"
.' - state: the state of the TCP connection.'."\n"
.' - rulePool: the server group specified for the ALB QPS monitoring metrics node.', 'type' => 'string', 'required' => false, 'example' => 'device', 'title' => ''],
'DimensionValue' => ['description' => 'The value of the dimension associated with the monitoring metric. Valid values are determined by Dimension.N.DimensionKey:'."\n"
."\n"
.'- If Dimension.N.DimensionKey is a custom value, meaning the event-triggered task is of the custom monitoring type (MetricType=custom), you can specify any value.'."\n"
."\n"
.'- If Dimension.N.DimensionKey is a system-specified value, meaning the event-triggered task is of the system monitoring type (MetricType=system), valid values:'."\n"
."\n"
.' - user_id: automatically populated by the system.'."\n"
."\n"
.' - scaling_group: automatically populated by the system.'."\n"
."\n"
.' - device:'."\n"
."\n"
.' - eth0: for classic network instances, eth0 represents the internal NIC. For VPC-connected instances, only the eth0 NIC exists.'."\n"
.' - eth1: for classic network instances, eth1 represents the public NIC.'."\n"
."\n"
.' - state:'."\n"
."\n"
.' - TCP_TOTAL: the total number of TCP connections.'."\n"
.' - ESTABLISHED: the number of established TCP connections.'."\n"
.' - rulePool: the ID of the ALB server group. Example: sgp-xxxxx.', 'type' => 'string', 'required' => false, 'example' => 'eth0', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 5,
'title' => '',
'example' => '',
],
],
[
'name' => 'Expression',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The information about multi-metric alert rules.',
'type' => 'array',
'items' => [
'description' => 'The information about multi-metric alert rules.',
'type' => 'object',
'properties' => [
'MetricName' => ['description' => 'The name of the monitoring metric in the multi-metric alert rule. Valid values vary based on the monitoring type of the event-triggered task:'."\n"
.'- If the event-triggered task is of the custom monitoring type (MetricType=custom), valid values are your custom monitoring metrics.'."\n"
.'- If the event-triggered task is of the system monitoring type (MetricType=system), valid values:'."\n"
."\n"
.' - CpuUtilization: (ECS) CPU utilization (%).'."\n"
."\n"
.' - ConcurrentConnections: (ECS) number of concurrent connections to an ECS instance.'."\n"
."\n"
.' - IntranetTx: (ECS) outbound traffic over the internal network (Kbit/min).'."\n"
."\n"
.' - IntranetRx: (ECS) inbound traffic over the internal network (Kbit/min).'."\n"
."\n"
.' - VpcInternetTx: (ECS) outbound traffic over the Internet (Kbit/min).'."\n"
."\n"
.' - VpcInternetRx: (ECS) inbound traffic over the Internet (Kbit/min).'."\n"
."\n"
.' - SystemDiskReadBps: (ECS) system cloud disk read BPS (byte/s).'."\n"
."\n"
.' - SystemDiskWriteBps: (ECS) system cloud disk write BPS (byte/s).'."\n"
."\n"
.' - SystemDiskReadOps: (ECS) system cloud disk read IOPS (count/s).'."\n"
."\n"
.' - SystemDiskWriteOps: (ECS) system cloud disk write IOPS (count/s).'."\n"
."\n"
.' - CpuUtilizationAgent: (Agent) CPU utilization (%).'."\n"
."\n"
.' - GpuUtilizationAgent: (Agent) GPU utilization (%).'."\n"
."\n"
.' - GpuMemoryFreeUtilizationAgent: (Agent) GPU memory idle rate (%).'."\n"
."\n"
.' - GpuMemoryUtilizationAgent: (Agent) GPU memory utilization (%).'."\n"
."\n"
.' - MemoryUtilization: (Agent) memory utilization (%).'."\n"
."\n"
.' - LoadAverage: (Agent) average system load.'."\n"
."\n"
.' - TcpConnection: (Agent) total number of TCP connections.'."\n"
.' '."\n"
.' - TcpConnection: (Agent) number of established TCP connections.'."\n"
."\n"
.' - PackagesNetOut: (Agent) number of packets sent by the internal NIC (count/s).'."\n"
."\n"
.' - PackagesNetIn: (Agent) number of packets received by the internal NIC (count/s).'."\n"
."\n"
.' - PackagesNetOut: (Agent) number of packets sent by the public NIC (count/s).'."\n"
."\n"
.' - PackagesNetIn: (Agent) number of packets received by the public NIC (count/s).'."\n"
.' '."\n"
.' - EciPodCpuUtilization: CPU utilization (%).'."\n"
."\n"
.' - EciPodMemoryUtilization: memory utilization (%).'."\n"
."\n"
.' - LoadBalancerRealServerAverageQps: (ALB) average QPS per server in a server group (count/s).'."\n"
."\n"
.'For more information, see [Event-triggered tasks of the system monitoring type](~~74854~~).', 'type' => 'string', 'required' => false, 'example' => 'CpuUtilization', 'title' => ''],
'ComparisonOperator' => ['description' => 'The comparison operator between the aggregated value of the monitoring metric and the threshold in the multi-metric alert rule. This parameter specifies the relationship under which the condition is met. Valid values:'."\n"
."\n"
.'- The aggregated value is greater than or equal to the threshold. Value: >=.'."\n"
.'- The aggregated value is less than or equal to the threshold. Value: <=.'."\n"
.'- The aggregated value is greater than the threshold. Value: >.'."\n"
.'- The aggregated value is less than the threshold. Value: <.'."\n"
."\n"
.'Default value: >=.', 'type' => 'string', 'required' => false, 'example' => '>=', 'title' => ''],
'Period' => ['description' => 'The statistical period for the monitoring metric data in the multi-metric alert rule. Unit: seconds. Valid values:'."\n"
."\n"
.'- 15'."\n"
.'- 60'."\n"
.'- 120'."\n"
.'- 300'."\n"
.'- 900'."\n"
."\n"
.'> Only scaling groups of the ECS type support a statistical period of 15 seconds.'."\n"
.'Default value: 300.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '900', 'title' => ''],
'Statistics' => ['description' => 'The method used to aggregate the monitoring metric data in the multi-metric alert rule. Valid values:'."\n"
."\n"
.'- Average: average value.'."\n"
.'- Minimum: minimum value.'."\n"
.'- Maximum: maximum value.'."\n"
."\n"
.'Default value: Average.', 'type' => 'string', 'required' => false, 'example' => 'Average', 'title' => ''],
'Threshold' => ['description' => 'The threshold of the monitoring metrics in the multi-metric alert rule. An alert is triggered and the scaling rule is executed when the threshold expression is met for the specified number of times.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '40.0', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'ExpressionsLogicOperator',
'in' => 'query',
'schema' => ['description' => 'The relationship between multiple metric alert conditions. Valid values:'."\n"
."\n"
.'- `&&`: an alert is triggered only when all monitoring metrics meet the alert conditions. An alert is triggered only when all expressions in the multi-metric alert rule evaluate to `true`.'."\n"
.'- `||`: an alert is triggered when any monitoring metric meets the alert condition.'."\n"
."\n"
.'Default value: `&&`.', 'type' => 'string', 'required' => false, 'example' => '&&', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AlarmTaskId' => ['description' => 'The ID of the event-triggered task.', 'type' => 'string', 'example' => 'asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AlarmTaskId\\": \\"asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Create an event-triggered task',
'description' => '## Operation description'."\n"
."\n"
.'- If you create an event-triggered task of the custom monitoring type (MetricType=custom), you must report custom monitoring metrics to CloudMonitor in advance. For more information, see [Event-triggered tasks of the custom monitoring type](~~74861~~).'."\n"
."\n"
.'- When you create an event-triggered task, you must specify a monitoring metric (MetricName) and use dimension information (Dimension.N.DimensionKey and Dimension.N.DimensionValue) to determine the aggregation scope of the monitoring metric data in the scaling group. For example, you can specify user\\_id and scaling\\_group to aggregate the monitoring metric data of all ECS instances or elastic container instances in the scaling group of the specified user.'."\n"
.' - The monitoring metrics of event-triggered tasks of the custom monitoring type (MetricType=custom) depend on your custom monitoring metrics. '."\n"
.' - For more information about the monitoring metrics supported by event-triggered tasks of the system monitoring type (MetricType=system), see [Event-triggered tasks of the system monitoring type](~~74854~~).'."\n"
."\n"
.'> In the dimension information, user_id and scaling_group are automatically populated by the system. You must manually specify device and state. For more information, see the Dimension.N.DimensionKey and Dimension.N.DimensionValue parameters.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidParameter|The specified value of parameter "%s" is not valid.|The specified value of parameter "%s" is invalid.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAlarm'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateAlarm',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'CreateEciScalingConfiguration' => [
'summary' => 'Creates a scaling configuration of the Elastic Container Instance (ECI) type.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '92654',
'abilityTreeNodes' => ['FEATUREessWJGIW5'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group to which the scaling configuration belongs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asg-bp14wlu85wrpchm0****', 'title' => ''],
],
[
'name' => 'ScalingConfigurationName',
'in' => 'query',
'schema' => ['description' => 'The name of the scaling configuration. The name must be 2 to 64 characters in length and can contain letters, digits, underscores (\\_), hyphens (-), and periods (.). The name must start with a digit, letter, or Chinese character.'."\n"
."\n"
.'The scaling configuration name must be unique within a scaling group in a region. If you do not specify this parameter, the scaling configuration ID is used by default.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'scalingconfig****', 'title' => ''],
],
[
'name' => 'SecurityGroupId',
'in' => 'query',
'schema' => ['description' => 'ECI实例所属的安全组ID。同一个安全组内的ECI实例之间可以互相访问。'."\n"
."\n"
.'如果没有指定安全组,系统将自动使用您选择的地域下的默认安全组,您需要确保该安全组的入方向规则中包含容器需要暴露的协议和端口。如果您在该地域下没有默认安全组,系统将自动创建一个默认安全组,并将您声明的容器协议和端口添加到该安全组的入方向规则中。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'sg-uf66jeqopgqa9hdn****', 'title' => ''],
],
[
'name' => 'ContainerGroupName',
'in' => 'query',
'schema' => ['description' => 'The name of the ECI instance, which is also the container group name.'."\n"
."\n"
.'To set sequential names, use the format `name_prefix(AUTO_INCREMENT)[begin_number,bits]name_suffix`.'."\n"
."\n"
.'- **name_prefix**: the prefix of the hostname.'."\n"
."\n"
.'- **(AUTO_INCREMENT)**: a fixed value that indicates the sequential naming method.'."\n"
."\n"
.'- **begin_number**: the start value of the sequential number. Valid values: `[0,999999]`.'."\n"
."\n"
.'- **bits**: the number of digits of the sequential number. Valid values: `[1,6]`. If the number of digits of begin_number is greater than the value of bits, bits defaults to 6.'."\n"
.'> Set bits to at least 3. Otherwise, the sequential number may reach the upper limit. If the upper limit is reached and scale-out is still required, the scaling activity reports an error and stops the scale-out. In this case, you must reconfigure the hostname naming rule.'."\n"
."\n"
.'- **name_suffix** (optional): the suffix of the hostname.'."\n"
."\n"
.'> `[begin_number,bits]` cannot contain spaces. The system increments the sequential number by default. However, if an ECI instance fails to start during scale-out, the scaling group removes the instance and creates a new one. As a result, the hostnames of ECI instances in the scaling group may not be consecutive.'."\n"
."\n"
.'**Example:** If you set this parameter to `nginx-test-(AUTO_INCREMENT)[0,3]`, the container group names are nginx-test-000, nginx-test-001, and nginx-test-002.'."\n"
."\n"
.'The rules for setting sequential ECI instance names are the same as those for setting sequential ECS instance names. For more information, see [Configure sequential and unique instance names or hostnames](~~203831~~).', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'nginx-test[0,3]', 'title' => ''],
],
[
'name' => 'RestartPolicy',
'in' => 'query',
'schema' => ['description' => 'The restart policy of the ECI instance. Valid values:'."\n"
."\n"
.'- Always: always restarts the instance.'."\n"
.'- Never: never restarts the instance.'."\n"
.'- OnFailure: restarts the instance upon failure.'."\n"
."\n"
.'Default value: Always.', 'type' => 'string', 'required' => false, 'example' => 'Always', 'title' => ''],
],
[
'name' => 'Cpu',
'in' => 'query',
'schema' => ['description' => 'The number of vCPUs at the instance level. Unit: cores.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1.0', 'title' => ''],
],
[
'name' => 'Memory',
'in' => 'query',
'schema' => ['description' => 'The memory size at the instance level. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '2.0', 'title' => ''],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-uf66jeqopgqa9hdn****', 'title' => ''],
],
[
'name' => 'DnsPolicy',
'in' => 'query',
'schema' => ['description' => 'The DNS policy. Valid values:'."\n"
."\n"
.'- None: uses the DNS configured by the DnsConfig field.'."\n"
.'- Default: inherits the DNS settings from the runtime environment.', 'type' => 'string', 'required' => false, 'example' => 'Default', 'title' => ''],
],
[
'name' => 'ImageSnapshotId',
'in' => 'query',
'schema' => ['description' => 'The image cache ID.', 'type' => 'string', 'required' => false, 'example' => 'imc-2zebxkiifuyzzlhl****', 'title' => ''],
],
[
'name' => 'RamRoleName',
'in' => 'query',
'schema' => ['description' => 'The name of the instance RAM role. ECI and ECS share the same instance RAM role. For more information, see [Instance RAM roles](~~61175~~).', 'type' => 'string', 'required' => false, 'example' => 'RamTestRole', 'title' => ''],
],
[
'name' => 'TerminationGracePeriodSeconds',
'in' => 'query',
'schema' => ['description' => 'The buffer time for the program to handle operations before shutdown. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'title' => ''],
],
[
'name' => 'AutoMatchImageCache',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to automatically match the image cache. Valid values:'."\n"
.'- true'."\n"
.'- false'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'Ipv6AddressCount',
'in' => 'query',
'schema' => ['description' => 'The number of IPv6 addresses.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'ActiveDeadlineSeconds',
'in' => 'query',
'schema' => ['description' => 'The validity period. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000', 'title' => ''],
],
[
'name' => 'SpotStrategy',
'in' => 'query',
'schema' => ['description' => 'The bidding policy for the instance. Valid values:'."\n"
."\n"
.'- NoSpot: a pay-as-you-go instance.'."\n"
.'- SpotWithPriceLimit: a spot instance with a maximum price limit.'."\n"
.'- SpotAsPriceGo: a spot instance that uses the market price at the time of purchase as the bid price.'."\n"
."\n"
.'Default value: NoSpot.', 'type' => 'string', 'required' => false, 'example' => 'SpotWithPriceLimit', 'title' => ''],
],
[
'name' => 'SpotPriceLimit',
'in' => 'query',
'schema' => ['description' => 'The maximum hourly price of the spot instance. The value can be accurate to three decimal places.'."\n"
."\n"
.'This parameter is required when SpotStrategy is set to SpotWithPriceLimit.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.025', 'title' => ''],
],
[
'name' => 'AutoCreateEip',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to automatically create an elastic IP address (EIP) and associate it with the ECI instance.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'EipBandwidth',
'in' => 'query',
'schema' => ['description' => 'The bandwidth of the EIP. Default value: 5. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000000', 'minimum' => '0', 'example' => '5', 'title' => ''],
],
[
'name' => 'HostName',
'in' => 'query',
'schema' => ['description' => 'The hostname, which is also the container group name.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
[
'name' => 'IngressBandwidth',
'in' => 'query',
'schema' => ['description' => 'The maximum inbound bandwidth. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1024000', 'title' => ''],
],
[
'name' => 'EgressBandwidth',
'in' => 'query',
'schema' => ['description' => 'The maximum outbound bandwidth. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1024000', 'title' => ''],
],
[
'name' => 'CpuOptionsCore',
'in' => 'query',
'schema' => ['description' => 'The number of physical CPU cores. Only specific instance types support custom settings. For more information, see [Customize CPU options](~~197781~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '0', 'example' => '2', 'title' => ''],
],
[
'name' => 'CpuOptionsThreadsPerCore',
'in' => 'query',
'schema' => ['description' => 'The number of threads per core. Only specific instance types support custom settings. A value of 1 disables hyper-threading. For more information, see [Customize CPU options](~~197781~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'EphemeralStorage',
'in' => 'query',
'schema' => ['description' => 'The size of the ephemeral storage. ESSD PL1 cloud disks are used by default. Unit: GiB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '5000', 'minimum' => '0', 'example' => '20', 'title' => ''],
],
[
'name' => 'LoadBalancerWeight',
'in' => 'query',
'schema' => ['description' => 'ECI实例作为负载均衡后端服务器时的权重,取值范围:1~100。'."\n"
."\n"
.'默认值:50。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The tags of the instance as key-value pairs.',
'type' => 'array',
'items' => [
'description' => 'The tags of the instance as key-value pairs.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key of the instance. Valid values of N: 1 to 20.'."\n"
."\n"
.'The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. The tag key cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'version', 'title' => ''],
'Value' => ['description' => 'The tag value of the instance. Valid values of N: 1 to 20.'."\n"
."\n"
.'The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with `acs:`. The tag value cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => '3', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
[
'name' => 'ImageRegistryCredential',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The image repository information.',
'type' => 'array',
'items' => [
'description' => 'The image repository information.',
'type' => 'object',
'properties' => [
'Password' => ['description' => 'The password of the image repository.', 'type' => 'string', 'required' => false, 'example' => 'yourpassword', 'title' => ''],
'Server' => ['description' => 'The address of the image repository.', 'type' => 'string', 'required' => false, 'example' => 'registry-vpc.cn-shanghai.aliyuncs.com', 'title' => ''],
'UserName' => ['description' => 'The username of the image repository.', 'type' => 'string', 'required' => false, 'example' => 'yourusername', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 11,
'title' => '',
'example' => '',
],
],
[
'name' => 'Container',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The container information of the instance.',
'type' => 'array',
'items' => [
'description' => 'The container information of the instance.',
'type' => 'object',
'properties' => [
'ReadinessProbe.TimeoutSeconds' => ['description' => '检查超时的时间,默认值为1秒,最小值为1秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
'ReadinessProbe.SuccessThreshold' => ['description' => '从上次检查失败后重新认定检查成功的检查次数阈值(必须是连续成功),默认值为1。当前值必须为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'SecurityContext.Capability.Add' => [
'description' => '为容器内的进程授予某些特定的权限。目前仅支持配置为NET_ADMIN和NET_RAW。'."\n"
."\n"
.'> NET_RAW默认不支持,需提交工单申请。',
'type' => 'array',
'items' => ['description' => '为容器内的进程授予某些特定的权限。目前仅支持配置为NET_ADMIN和NET_RAW。'."\n"
."\n"
.'> NET_RAW默认不支持,需提交工单申请。', 'type' => 'string', 'required' => false, 'example' => 'NET_ADMIN', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
'ReadinessProbe.TcpSocket.Port' => ['description' => '使用TCP Socket方式进行健康检查时,TCP Socket检测的端口。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8000', 'title' => ''],
'ReadinessProbe.HttpGet.Scheme' => ['description' => '使用HTTP请求方式进行健康检查时,HTTP Get请求对应的协议类型,取值范围:'."\n"
.'- HTTP。'."\n"
.'- HTTPS。', 'type' => 'string', 'required' => false, 'example' => 'HTTP', 'title' => ''],
'LivenessProbe.PeriodSeconds' => ['description' => '检查执行的周期,默认值为10秒,最小值为1秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
'Port' => [
'description' => 'The exposed ports and protocols.',
'type' => 'array',
'items' => [
'description' => 'The exposed ports and protocols.',
'type' => 'object',
'properties' => [
'Protocol' => ['description' => 'The protocol type. Valid values:'."\n"
."\n"
.'- TCP'."\n"
.'- UDP.', 'type' => 'string', 'required' => false, 'example' => 'TCP', 'title' => ''],
'Port' => ['description' => 'The port number. Valid values: 1 to 65535.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'EnvironmentVar' => [
'description' => 'The environment variables.',
'type' => 'array',
'items' => [
'description' => 'The environment variables.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The name of the environment variable. The name must be 1 to 128 characters in length and must match the format `[0-9a-zA-Z]` and underscores (\\_). The name cannot start with a digit.', 'type' => 'string', 'required' => false, 'example' => 'PATH', 'title' => ''],
'Value' => ['description' => 'The value of the environment variable. The value can be up to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => '/usr/local/bin', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 301,
'title' => '',
'example' => '',
],
'LivenessProbe.TcpSocket.Port' => ['description' => '使用TCP Socket方式进行健康检查时,TCP Socket检测的端口。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8000', 'title' => ''],
'Tty' => ['description' => 'Specifies whether to enable interaction. Valid values:'."\n"
.'- true: enabled.'."\n"
.'- false: disabled.'."\n"
."\n"
.'Default value: false.'."\n"
."\n"
.'Set this parameter to true when Command is set to /bin/bash.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'WorkingDir' => ['description' => 'The working directory of the container.', 'type' => 'string', 'required' => false, 'example' => '/usr/local/', 'title' => ''],
'LivenessProbe.HttpGet.Scheme' => ['description' => '使用HTTP请求方式进行健康检查时,HTTP Get请求对应的协议类型,取值范围:'."\n"
."\n"
.'- HTTP。'."\n"
.'- HTTPS。', 'type' => 'string', 'required' => false, 'example' => 'HTTP', 'title' => ''],
'ReadinessProbe.HttpGet.Port' => ['description' => '使用HTTP请求方式进行健康检查时,HTTP Get请求检测的端口号。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8080', 'title' => ''],
'Arg' => [
'description' => 'The arguments of the container startup command. A maximum of 10 arguments are supported.',
'type' => 'array',
'items' => ['description' => 'The arguments of the container startup command. A maximum of 10 arguments are supported.', 'type' => 'string', 'required' => false, 'example' => '100', 'title' => ''],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'Gpu' => ['description' => 'The number of GPUs used by the container.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'ReadinessProbe.InitialDelaySeconds' => ['description' => '检查开始执行的时间,以容器启动完成为起点计算。单位为秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''],
'Stdin' => ['description' => 'Specifies whether to allocate a buffer for standard input in the container runtime. If this parameter is not set, reads from standard input in the container result in EOF.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'Memory' => ['description' => 'The memory size of the container. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5', 'title' => ''],
'Name' => ['description' => 'The name of the container image.', 'type' => 'string', 'required' => false, 'example' => 'nginx', 'title' => ''],
'Image' => ['description' => 'The container image.', 'type' => 'string', 'required' => false, 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:latest', 'title' => ''],
'LivenessProbe.InitialDelaySeconds' => ['description' => '检查开始执行的时间,以容器启动完成为起点计算。单位为秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
'VolumeMount' => [
'description' => 'The volume mount information.',
'type' => 'array',
'items' => [
'description' => 'The volume mount information.',
'type' => 'object',
'properties' => [
'MountPropagation' => ['description' => 'The mount propagation setting of the volume. Mount propagation allows volumes mounted by a container to be shared with other containers in the same pod, or even with other pods on the same node. Valid values:'."\n"
."\n"
.'- None: the volume does not detect any subsequent mounts on this volume or its subdirectories.'."\n"
.'- HostToCotainer: the volume detects subsequent mounts on this volume or its subdirectories.'."\n"
.'- Bidirectional: similar to HostToCotainer, the volume detects mount operations. In addition, the volume is propagated back to the host and all containers of all pods that use the same volume.'."\n"
."\n"
.'Default value: None.', 'type' => 'string', 'required' => false, 'example' => 'None', 'title' => ''],
'MountPath' => ['description' => 'The directory in the container where the volume is mounted.'."\n"
."\n"
.'> The content in the mount directory of the container is overwritten by the volume content. Use caution when you configure this parameter.', 'type' => 'string', 'required' => false, 'example' => '/pod/data', 'title' => ''],
'ReadOnly' => ['description' => 'Specifies whether the volume is read-only. Valid values:'."\n"
.'- true'."\n"
.'- false'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'Name' => ['description' => 'The name of the volume. This value is the same as the Name value in Volume.', 'type' => 'string', 'required' => false, 'example' => 'default-volume1', 'title' => ''],
'SubPath' => ['description' => 'The subpath of the volume.', 'type' => 'string', 'required' => false, 'example' => 'data2/', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'LivenessProbe.FailureThreshold' => ['description' => '从上次检查成功后认定检查失败的检查次数阈值(必须是连续失败)。'."\n"
."\n"
.'默认值:3。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''],
'ReadinessProbe.Exec.Command' => [
'description' => '使用命令行方式进行健康检查时,在容器内执行的命令。',
'type' => 'array',
'items' => ['description' => '使用命令行方式进行健康检查时,在容器内执行的命令。', 'type' => 'string', 'required' => false, 'example' => 'cat /tmp/healthy', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
'ReadinessProbe.FailureThreshold' => ['description' => '从上次检查成功后认定检查失败的检查次数阈值(必须是连续失败)。默认值:3。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''],
'ImagePullPolicy' => ['description' => 'The image pull policy of the container. Valid values:'."\n"
."\n"
.'- Always: always pulls the image.'."\n"
.'- IfNotPresent: pulls the image only if it is not available locally.'."\n"
.'- Never: never pulls the image. Only uses the local image.', 'type' => 'string', 'required' => false, 'example' => 'Always', 'title' => ''],
'StdinOnce' => ['description' => '当标准输入为true时,标准输入流将在多个附加会话中是否保持开启状态。'."\n"
."\n"
.'如果StdinOnce设为true,标准输入在容器开启时被打开,在首个客户端附加到标准输入之前都为空,然后会一直保持开启状态,接收数据,直到客户端连接断开,此时标准输入被关闭,在容器重启前一直保持关闭状态。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'Cpu' => ['description' => 'The number of vCPUs of the container. Unit: cores.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.25', 'title' => ''],
'LivenessProbe.HttpGet.Port' => ['description' => '使用HTTP请求方式进行健康检查时,HTTP Get请求检测的端口号。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8888', 'title' => ''],
'LivenessProbe.HttpGet.Path' => ['description' => '使用HTTP请求方式进行健康检查时,HTTP Get请求检测的路径。', 'type' => 'string', 'required' => false, 'example' => '/healthyz', 'title' => ''],
'LivenessProbe.SuccessThreshold' => ['description' => '从上次检查失败后重新认定检查成功的检查次数阈值(必须是连续成功),默认值为1。当前值必须为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'ReadinessProbe.PeriodSeconds' => ['description' => '检查执行的周期,默认值为10秒,最小值为1秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''],
'LivenessProbe.TimeoutSeconds' => ['description' => '检查超时的时间,默认值为1秒,最小值为1秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'Command' => [
'description' => 'The container startup commands. A maximum of 20 commands are supported. Each command can contain up to 256 characters.',
'type' => 'array',
'items' => ['description' => 'The container startup commands. A maximum of 20 commands are supported. Each command can contain up to 256 characters.', 'type' => 'string', 'required' => false, 'example' => 'sleep', 'title' => ''],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'SecurityContext.RunAsUser' => ['description' => '设置运行容器的用户ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000', 'title' => ''],
'ReadinessProbe.HttpGet.Path' => ['description' => '使用HTTP请求方式进行健康检查时,HTTP Get请求检测的路径。', 'type' => 'string', 'required' => false, 'example' => '/healthz', 'title' => ''],
'LivenessProbe.Exec.Command' => [
'description' => '使用命令行方式进行健康检查时,在容器内执行的命令。',
'type' => 'array',
'items' => ['description' => '使用命令行方式进行健康检查时,在容器内执行的命令。', 'type' => 'string', 'required' => false, 'example' => 'cat/tmp/healthy', 'title' => ''],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
'LifecyclePostStartHandlerHttpGetHost' => ['description' => 'The host address that receives the HTTP Get request when the HTTP request method is used to set the PostStart callback function.', 'type' => 'string', 'required' => false, 'example' => '10.0.XX.XX', 'title' => ''],
'LifecyclePostStartHandlerHttpGetPort' => ['description' => 'The port number for the HTTP Get request when the HTTP request method is used to set the PostStart callback function.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5050', 'title' => ''],
'LifecyclePostStartHandlerHttpGetPath' => ['description' => 'The path for the HTTP Get request when the HTTP request method is used to set the PostStart callback function.', 'type' => 'string', 'required' => false, 'example' => '/healthyz', 'title' => ''],
'LifecyclePostStartHandlerHttpGetScheme' => ['description' => 'The protocol type of the HTTP Get request when the HTTP request method is used to set the PostStart callback function. Valid values:'."\n"
."\n"
.'- HTTP'."\n"
.'- HTTPS.', 'type' => 'string', 'required' => false, 'example' => 'HTTPS', 'title' => ''],
'LifecyclePostStartHandlerExec' => [
'description' => 'The command executed in the container when the command-line method is used to set the PostStart callback function.',
'type' => 'array',
'items' => ['description' => 'The command executed in the container when the command-line method is used to set the PostStart callback function.', 'type' => 'string', 'required' => false, 'example' => '[ "/bin/sh", "-c", "echo Hello from the postStart handler /usr/share/message" ]', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
'LifecyclePostStartHandlerTcpSocketHost' => ['description' => 'The host address for TCP Socket detection when the TCP Socket method is used to set the PostStart callback function.', 'type' => 'string', 'required' => false, 'example' => '10.0.XX.XX', 'title' => ''],
'LifecyclePostStartHandlerTcpSocketPort' => ['description' => 'The port for TCP Socket detection when the TCP Socket method is used to set the PostStart callback function.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''],
'LifecyclePreStopHandlerHttpGetHost' => ['description' => 'The host address that receives the HTTP Get request when the HTTP request method is used to set the PreStop callback function.', 'type' => 'string', 'required' => false, 'example' => '10.0.XX.XX', 'title' => ''],
'LifecyclePreStopHandlerHttpGetPort' => ['description' => 'The port number for the HTTP Get request when the HTTP request method is used to set the PreStop callback function.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '88', 'title' => ''],
'LifecyclePreStopHandlerHttpGetPath' => ['description' => 'The path for the HTTP Get request when the HTTP request method is used to set the PreStop callback function.', 'type' => 'string', 'required' => false, 'example' => '/healthyz', 'title' => ''],
'LifecyclePreStopHandlerHttpGetScheme' => ['description' => 'The protocol type of the HTTP Get request when the HTTP request method is used to set the PreStop callback function. Valid values:'."\n"
."\n"
.'- HTTP'."\n"
.'- HTTPS.', 'type' => 'string', 'required' => false, 'example' => 'HTTP', 'title' => ''],
'LifecyclePreStopHandlerExec' => [
'description' => 'The command executed in the container when the command-line method is used to set the PreStop callback function.',
'type' => 'array',
'items' => ['description' => 'The command executed in the container when the command-line method is used to set the PreStop callback function.', 'type' => 'string', 'required' => false, 'example' => '[ "/bin/sh", "-c", "echo Hello from the preStop handler /usr/share/message" ]', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
'LifecyclePreStopHandlerTcpSocketHost' => ['description' => 'The host address for TCP Socket detection when the TCP Socket method is used to set the PreStop callback function.', 'type' => 'string', 'required' => false, 'example' => '10.0.XX.XX', 'title' => ''],
'LifecyclePreStopHandlerTcpSocketPort' => ['description' => 'The port for TCP Socket detection when the TCP Socket method is used to set the PreStop callback function.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '90', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
[
'name' => 'Volume',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The volume information.',
'type' => 'array',
'items' => [
'description' => 'The volume information.',
'type' => 'object',
'properties' => [
'Type' => ['description' => 'The type of the volume. Valid values:'."\n"
."\n"
.'- EmptyDirVolume: an EmptyDir volume that represents an empty directory.'."\n"
.'- NFSVolume: an NFS volume that represents a Network File System.'."\n"
.'- ConfigFileVolume: a ConfigFile volume that represents a configuration file.'."\n"
.'- FlexVolume: a FlexVolume that uses the FlexVolume plugin to extend storage types and supports mounting cloud disks.'."\n"
.'- HostPathVolume: a HostPath volume that represents a file or directory on the host node.'."\n"
.'- DiskVolume (not recommended): a cloud disk volume. We recommend that you use FlexVolume to mount cloud disks.', 'type' => 'string', 'required' => false, 'example' => 'ConfigFileVolume', 'title' => ''],
'DiskVolume.DiskSize' => ['description' => 'DiskVolume的大小。单位:GiB。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '15', 'title' => ''],
'NFSVolume.Path' => ['description' => 'NFS数据卷路径。', 'type' => 'string', 'required' => false, 'example' => '/share', 'title' => ''],
'FlexVolume.FsType' => ['description' => '挂载的文件系统类型,默认取决于FlexVolume的script。', 'type' => 'string', 'required' => false, 'example' => 'ext4', 'title' => ''],
'DiskVolume.FsType' => ['description' => '该系统类型不推荐使用,建议您使用`FlexVolume.FsType`参数。', 'type' => 'string', 'required' => false, 'example' => 'xfs', 'title' => ''],
'HostPathVolume.Type' => ['description' => 'Host目录的类型。例如:File、Directory、Socket等。', 'type' => 'string', 'required' => false, 'example' => 'Directory', 'title' => ''],
'NFSVolume.ReadOnly' => ['description' => 'NFS数据卷是否只读。取值范围:'."\n"
.'- true:是。'."\n"
.'- false:否。'."\n"
."\n"
.'默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'HostPathVolume.Path' => ['description' => 'Host上的绝对路径。', 'type' => 'string', 'required' => false, 'example' => '/xx/xx/path', 'title' => ''],
'FlexVolume.Options' => ['description' => 'FlexVolume对象选项列表。为KV形式,采用JSON传递。'."\n"
."\n"
.'例如:通过FlexVolume挂载云盘时,Options的格式为`{"volumeId":"d-2zehdahrwoa7srg****","performanceLevel": "PL2"}`。', 'type' => 'string', 'required' => false, 'example' => '{"volumeId":"d-2zehdahrwoa7srg****","performanceLevel": "PL2"}', 'title' => ''],
'FlexVolume.Driver' => ['description' => '用于FlexVolume的驱动程序名称。', 'type' => 'string', 'required' => false, 'example' => 'flexvolume', 'title' => ''],
'ConfigFileVolumeDefaultMode' => ['description' => 'The default permissions of the ConfigFileVolume.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0644', 'title' => ''],
'NFSVolume.Server' => ['description' => 'NFS服务器地址。', 'type' => 'string', 'required' => false, 'example' => '3f9cd4a596-naw76.cn-shanghai.nas.aliyuncs.com', 'title' => ''],
'DiskVolume.DiskId' => ['description' => 'DiskVolume的ID。', 'type' => 'string', 'required' => false, 'example' => 'd-xx', 'title' => ''],
'Name' => ['description' => 'The name of the volume.', 'type' => 'string', 'required' => false, 'example' => 'default-volume1', 'title' => ''],
'EmptyDirVolume.Medium' => ['description' => 'EmptyDirVolume的存储媒介,默认为空,使用node文件系统;支持memory,表示使用内存。', 'type' => 'string', 'required' => false, 'example' => 'memory', 'title' => ''],
'ConfigFileVolumeConfigFileToPath' => [
'description' => 'The list of configuration file paths.',
'type' => 'array',
'items' => [
'description' => 'The list of configuration file paths.',
'type' => 'object',
'properties' => [
'Path' => ['description' => 'The relative file path of the configuration file.', 'type' => 'string', 'required' => false, 'example' => 'PATH', 'title' => ''],
'Mode' => ['description' => 'The permissions of the ConfigFileVolume directory.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0644', 'title' => ''],
'Content' => ['description' => 'The content of the configuration file (32 KB).', 'type' => 'string', 'required' => false, 'example' => 'bGl1bWk=', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 90,
'title' => '',
'example' => '',
],
'EmptyDirVolume.SizeLimit' => ['description' => 'EmptyDir数据卷的大小。取值时请带上单位,建议使用Gi或Mi。', 'type' => 'string', 'required' => false, 'example' => '256 Mi', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
],
[
'name' => 'InitContainer',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of init containers.',
'type' => 'array',
'items' => [
'description' => 'The list of init containers.',
'type' => 'object',
'properties' => [
'InitContainerEnvironmentVar' => [
'description' => 'The environment variable information.',
'type' => 'array',
'items' => [
'description' => 'The environment variable information.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The name of the environment variable. The name must be 1 to 128 characters in length and must match the format `[0-9a-zA-Z]` and underscores (\\_). The name cannot start with a digit.', 'type' => 'string', 'required' => false, 'example' => 'Path', 'title' => ''],
'Value' => ['description' => 'The value of the environment variable. The value can be up to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => '/usr/bin/', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 301,
'title' => '',
'example' => '',
],
'SecurityContext.Capability.Add' => [
'description' => '为容器内的进程授予某些特定的权限。目前仅支持配置为NET_ADMIN和NET_RAW。'."\n"
."\n"
.'> NET_RAW默认不支持,需提交工单申请。',
'type' => 'array',
'items' => ['description' => '为容器内的进程授予某些特定的权限。目前仅支持配置为NET_ADMIN和NET_RAW。'."\n"
."\n"
.'> NET_RAW默认不支持,需提交工单申请。', 'type' => 'string', 'required' => false, 'example' => 'NET_ADMIN', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
'Image' => ['description' => 'The image used by the container.', 'type' => 'string', 'required' => false, 'example' => 'nginx', 'title' => ''],
'InitContainerVolumeMount' => [
'description' => 'The volume mount information.',
'type' => 'array',
'items' => [
'description' => 'The volume mount information.',
'type' => 'object',
'properties' => [
'MountPropagation' => ['description' => 'The mount propagation setting of the volume. Mount propagation allows volumes mounted by a container to be shared with other containers in the same pod, or even with other pods on the same node. Valid values:'."\n"
."\n"
.'- None: the volume does not detect any subsequent mounts on this volume or its subdirectories.'."\n"
.'- HostToCotainer: the volume detects subsequent mounts on this volume or its subdirectories.'."\n"
.'- Bidirectional: similar to HostToCotainer, the volume detects mount operations. In addition, the volume is propagated back to the host and all containers of all pods that use the same volume.', 'type' => 'string', 'required' => false, 'example' => 'None', 'title' => ''],
'MountPath' => ['description' => 'The mount directory. The content in the mount directory of the container is overwritten by the volume content.', 'type' => 'string', 'required' => false, 'example' => '/usr/share/', 'title' => ''],
'ReadOnly' => ['description' => 'Specifies whether the mount path is read-only.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'Name' => ['description' => 'The name of the mounted volume.', 'type' => 'string', 'required' => false, 'example' => 'test-empty', 'title' => ''],
'SubPath' => ['description' => 'The subdirectory of the volume. This allows a pod to mount different directories of the same volume to different directories in the container.', 'type' => 'string', 'required' => false, 'example' => '/usr/sub/', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'ImagePullPolicy' => ['description' => 'The image pull policy.', 'type' => 'string', 'required' => false, 'example' => 'Always', 'title' => ''],
'Cpu' => ['description' => 'The number of vCPUs of the container. Unit: cores.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5', 'title' => ''],
'WorkingDir' => ['description' => 'The working directory.', 'type' => 'string', 'required' => false, 'example' => '/usr/local', 'title' => ''],
'Command' => [
'description' => 'The container startup command.',
'type' => 'array',
'items' => ['description' => 'The container startup command.', 'type' => 'string', 'required' => false, 'example' => 'sleep', 'title' => ''],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'Arg' => [
'description' => 'The container startup arguments.',
'type' => 'array',
'items' => ['description' => 'The container startup arguments.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'SecurityContext.RunAsUser' => ['description' => '设置运行容器的用户ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '587', 'title' => ''],
'Gpu' => ['description' => 'The number of GPUs used by the container.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'Memory' => ['description' => 'The memory size. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1.0', 'title' => ''],
'Name' => ['description' => 'The container name.', 'type' => 'string', 'required' => false, 'example' => 'test-init', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
[
'name' => 'DnsConfigNameServer',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of IP addresses of DNS servers.',
'type' => 'array',
'items' => ['description' => 'The list of IP addresses of DNS servers.', 'type' => 'string', 'required' => false, 'example' => '172.10.*.**', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'DnsConfigSearch',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of DNS search domains.',
'type' => 'array',
'items' => ['description' => 'The list of DNS search domains.', 'type' => 'string', 'required' => false, 'example' => 'svc.local.kubenetes', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'DnsConfigOption',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of object options. Each object consists of a Name and an optional Value.',
'type' => 'array',
'items' => [
'description' => 'The list of object options. Each object consists of a Name and an optional Value.',
'type' => 'object',
'properties' => [
'Value' => ['description' => 'The value of the object variable.', 'type' => 'string', 'required' => false, 'example' => 'value', 'title' => ''],
'Name' => ['description' => 'The name of the object variable.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'HostAliase',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The custom hostname mapping for a container in the instance.',
'type' => 'array',
'items' => [
'description' => 'The custom hostname mapping for a container in the instance.',
'type' => 'object',
'properties' => [
'Ip' => ['description' => 'The IP address to add.', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1', 'title' => ''],
'Hostname' => [
'description' => 'The hostname to add.',
'type' => 'array',
'items' => ['description' => 'The hostname to add.', 'type' => 'string', 'required' => false, 'example' => 'hehe.com', 'title' => ''],
'required' => false,
'maxItems' => 51,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
],
[
'name' => 'SecurityContextSysctl',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The system information.',
'type' => 'array',
'items' => [
'description' => 'The system information.',
'type' => 'object',
'properties' => [
'Value' => ['description' => '实例运行的安全上下文的变量值。', 'type' => 'string', 'required' => false, 'example' => '65536', 'title' => ''],
'Name' => ['description' => 'The system name of the security context in which the instance runs.', 'type' => 'string', 'required' => false, 'example' => 'kernel.msgmax', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 11,
'title' => '',
'example' => '',
],
],
[
'name' => 'NtpServer',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The NTP server.',
'type' => 'array',
'items' => ['description' => 'The NTP server.', 'type' => 'string', 'required' => false, 'example' => 'ntp.cloud.aliyuncs.com', 'title' => ''],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
[
'name' => 'AcrRegistryInfo',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'ACR企业版实例信息。',
'type' => 'array',
'items' => [
'description' => 'ACR企业版实例信息。',
'type' => 'object',
'properties' => [
'Domain' => [
'description' => 'ACR企业版实例的域名。默认为相应实例的所有域名。支持指定个别域名,多个以半角逗号(,)分隔。',
'type' => 'array',
'items' => ['description' => 'ACR企业版实例的域名。默认为相应实例的所有域名。支持指定个别域名,多个以半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => '*****-****-registry.cn-beijing.cr.aliyuncs.com', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
'InstanceName' => ['description' => 'ACR企业版实例的名称。', 'type' => 'string', 'required' => false, 'example' => 'acr-test', 'title' => ''],
'InstanceId' => ['description' => 'ACR企业版实例ID。', 'type' => 'string', 'required' => false, 'example' => 'cri-nwj395hgf6f3****', 'title' => ''],
'RegionId' => ['description' => 'ACR企业版实例所属地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
[
'name' => 'CostOptimization',
'in' => 'query',
'allowEmptyValue' => false,
'schema' => ['description' => 'Specifies whether to enable cost optimization. Valid values:'."\n"
.'- true: enabled.'."\n"
.'- false: disabled.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'InstanceFamilyLevel',
'in' => 'query',
'schema' => ['description' => 'The level of the instance family, which is used to filter instance types that meet the requirements. This parameter takes effect only when CostOptimization is enabled. Valid values:'."\n"
."\n"
.'- EntryLevel: shared instance types. Lower cost but no guaranteed stability of computing performance. Suitable for scenarios with low CPU utilization. For more information, see [Shared instance families](~~108489~~).'."\n"
.'- EnterpriseLevel: enterprise-level instance types. Stable performance with dedicated resources. Suitable for scenarios that require high stability. For more information, see [Instance families](~~25378~~).'."\n"
.'- CreditEntryLevel: burstable instance types. CPU credits are used to ensure computing performance. Suitable for scenarios with low average CPU utilization and occasional bursts. For more information, see [Overview of burstable instances](~~59977~~).', 'type' => 'string', 'required' => false, 'example' => 'EnterpriseLevel', 'title' => ''],
],
[
'name' => 'InstanceType',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The specified ECS instance types. You can specify up to five instance types.',
'type' => 'array',
'items' => ['description' => 'The specified ECS instance type. You can specify up to five instance types. For more information, see [Create instances by specifying ECS instance types](~~114664~~).', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.large', 'title' => ''],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'DataCacheBucket',
'in' => 'query',
'schema' => ['description' => 'The data cache bucket.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
'name' => 'DataCachePL',
'in' => 'query',
'schema' => ['description' => 'The performance level (PL) of the cloud disk used for data caching. We recommend that you use ESSDs. Valid values for ESSD performance levels:'."\n"
."\n"
.'- PL0: a maximum of 10,000 random read/write IOPS per disk.'."\n"
.'- PL1: a maximum of 50,000 random read/write IOPS per disk.'."\n"
.'- PL2: a maximum of 100,000 random read/write IOPS per disk.'."\n"
.'- PL3: a maximum of 1,000,000 random read/write IOPS per disk.'."\n"
."\n"
.'Default value: PL1.'."\n"
.'> For more information about ESSDs, see [ESSDs](~~122389~~).', 'type' => 'string', 'required' => false, 'example' => 'PL1', 'title' => ''],
],
[
'name' => 'DataCacheProvisionedIops',
'in' => 'query',
'schema' => ['description' => 'The provisioned read/write IOPS of the ESSD AutoPL disk used for data caching. Valid values: 0 to min{50000, 1000 × Capacity - Baseline Performance}, where Baseline Performance = min{1800 + 50 × Capacity, 50000}.'."\n"
."\n"
.'> For more information about ESSD AutoPL disks, see [ESSD AutoPL disks](~~368372~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '40000', 'title' => ''],
],
[
'name' => 'DataCacheBurstingEnabled',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable burst (performance bursting) for the ESSD AutoPL disk used for data caching. Valid values:'."\n"
."\n"
.'- true: enabled.'."\n"
.'- false: disabled.'."\n"
."\n"
.'Default value: false.'."\n"
."\n"
.'> For more information about ESSD AutoPL disks, see [ESSD AutoPL disks](~~122389~~).', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'GpuDriverVersion',
'in' => 'query',
'schema' => ['description' => 'The GPU driver version. Valid values:'."\n"
.'- tesla=470.82.01 (default)'."\n"
.'- tesla=525.85.12'."\n"
."\n"
.'> Only specific instance types support switching GPU driver versions. For more information, see [Create instances by specifying GPU instance types](~~2579486~~).', 'type' => 'string', 'required' => false, 'example' => 'tesla=525.85.12', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingConfigurationId' => ['description' => 'The ID of the scaling configuration.', 'type' => 'string', 'example' => 'asc-uf6fonnghi50u374****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '89945DD3-9072-47D0-A318-353284CF****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'Forbidden.RiskControl', 'errorMessage' => 'Forbidden.RiskControl', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingConfigurationId\\": \\"asc-uf6fonnghi50u374****\\",\\n \\"RequestId\\": \\"89945DD3-9072-47D0-A318-353284CF****\\"\\n}","type":"json"}]',
'title' => 'Create a scaling configuration',
'description' => '## Operation description'."\n"
."\n"
.'A scaling configuration specifies the ECI instance template used for elastic scale-out.'."\n"
."\n"
.'The Cpu and Memory parameters specify the range of instance types by defining the CPU and memory requirements. Auto Scaling determines the available instance types based on factors such as I/O optimization and zones, and then creates instances at the lowest price by sorting the instance types by price. This method applies only when the scaling group uses the cost optimization policy and no instance type is specified in the scaling configuration.',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InstanceType.Mismatch|The specified scaling configuration and existing active scaling configuration have different instance type.|The instance type of the specified scaling configuration does not match the instance type of the active scaling configuration.|'."\n"
.'|404|InvalidDataDiskSnapshotId.NotFound|Snapshot "XXX" does not exist.|The specified snapshot does not exist.|'."\n"
.'|400|InvalidDataDiskSnapshotId.SizeNotSupported|The capacity of snapshot "XXX" exceeds the size limit of the specified disk category.|The size of the specified snapshot exceeds the disk size limit.|'."\n"
.'|403|InvalidDevice.InUse|Device "XXX" has been occupied.|The data cloud disk mount point is duplicated.|'."\n"
.'|400|InvalidImageId.InstanceTypeMismatch|The specified image does not support the specified instance type.|The specified image cannot be used with the specified instance type.|'."\n"
.'|404|InvalidImageId.NotFound|The specified image does not exist.|The specified image does not exist in this account.|'."\n"
.'|400|InvalidKeyPairName.NotFound|The specified KeyPairName does not exist in our records.|The specified KeyPairName does not exist.|'."\n"
.'|400|InvalidNetworkType.ForRAMRole|RAMRole can\'t be used For classic instance.|The RamRoleName parameter is not supported for classic network instances.|'."\n"
.'|400|InvalidParameter|The specified value of parameter KeyPairName is not valid.|The KeyPairName parameter is not supported for Windows operating systems.|'."\n"
.'|400|InvalidParameter.Conflict|The value of parameter SystemDisk.Category and parameter DataDisk.N.Category are conflict.|The specified system cloud disk type conflicts with the data cloud disk type.|'."\n"
.'|400|InvalidRamRole.NotFound|The specified RamRoleName does not exist.|The specified RamRoleName does not exist.|'."\n"
.'|400|InvalidScalingConfigurationName.Duplicate|The specified value of parameter ScalingConfigurationName is duplicated.|A scaling configuration with the same name already exists.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in this account.|'."\n"
.'|400|InvalidSecurityGroupId.IncorrectNetworkType|The network type of specified security Group does not support this action.|The network type of the specified security group does not match the network type of the scaling group.|'."\n"
.'|404|InvalidSecurityGroupId.NotFound|The specified security group does not exist.|The specified security group does not exist in this account.|'."\n"
.'|400|InvalidSecurityGroupId.VPCMismatch|The specified security group and the specified virtual switch are not in the same VPC.|The specified security group and the vSwitch do not belong to the same VPC.|'."\n"
.'|403|InvalidSnapshot.TooOld|This operation is denied because the specified snapshot is created before 2013-07-15.|The specified snapshot was created on or before July 15, 2013. The request is denied.|'."\n"
.'|403|InvalidSystemDiskCategory.ValueUnauthorized|The system disk category is not authorized.|You are not authorized to create a system cloud disk of the ephemeral disk type.|'."\n"
.'|400|InvalidUserData.Base64FormatInvalid|The specified parameter UserData must be base64 encoded.|The UserData value does not comply with the Base64 encoding specification.|'."\n"
.'|400|InvalidUserData.SizeExceeded|The specified parameter UserData exceeds the size.|The specified UserData value is too long.|'."\n"
.'|403|QuotaExceeded.EphemeralDiskSize|Ephemeral disk size quota exceeded.|The total capacity of ephemeral data cloud disks exceeds 2 TiB (2048 GiB).|'."\n"
.'|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateEciScalingConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateEciScalingConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'CreateLifecycleHook' => [
'summary' => 'Creates one or more lifecycle hooks for a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '92655',
'abilityTreeNodes' => ['FEATUREessZQ2TYX'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1eyv4qn8ssgv43****', 'title' => ''],
],
[
'name' => 'LifecycleHookName',
'in' => 'query',
'schema' => ['description' => 'The name of the lifecycle hook. The name must be unique within the scaling group. The name must be 2 to 64 characters in length and can contain letters, digits, underscores (\\_), hyphens (-), and periods (.). The name must start with a letter, digit, or Chinese character.'."\n"
."\n"
.'Default value: the value of LifecycleHookId.', 'type' => 'string', 'required' => false, 'example' => 'lifecyclehook****', 'title' => ''],
],
[
'name' => 'LifecycleTransition',
'in' => 'query',
'schema' => ['description' => 'The type of scaling activity to which the lifecycle hook applies. Valid values:'."\n"
."\n"
.'- SCALE_OUT: scale-out activity of the scaling group.'."\n"
.'- SCALE_IN: scale-down activity of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'SCALE_OUT', 'title' => ''],
],
[
'name' => 'DefaultResult',
'in' => 'query',
'schema' => ['description' => 'The action to take after the wait state ends. Valid values:'."\n"
."\n"
.'- CONTINUE: continues to response to the scale-out or scale-down activity.'."\n"
.'- ABANDON: releases the ECS instances that are created during the scale-out activity, or removes the ECS instances from the scaling group during the scale-down activity.'."\n"
.'- ROLLBACK: for a scale-down activity, the system deny the release of ECS instances and performs a rollback. For a scale-out activity, the system releases the created ECS instances, which has the same effect as ABANDON.'."\n"
."\n"
.'When a scale-down activity (SCALE_IN) triggers multiple lifecycle hooks in a scaling group, if the DefaultResult of one lifecycle hook is set to ABANDON or ROLLBACK and the wait state of that hook ends, the wait states of the other lifecycle hooks end early. In other cases, the action to take is determined by the last lifecycle hook whose wait state ends.'."\n"
."\n"
.'Default value: CONTINUE.', 'type' => 'string', 'required' => false, 'example' => 'CONTINUE', 'title' => ''],
],
[
'name' => 'HeartbeatTimeout',
'in' => 'query',
'schema' => ['description' => 'The wait period that the lifecycle hook sets for the scaling group activity. After the wait state times out, the next action is performed. Valid values: 30 to 21600. Unit: seconds.'."\n"
."\n"
.'After a lifecycle hook is created, you can call [RecordLifecycleActionHeartbeat](~~73846~~) to extend the wait period of an ECS instance, or call [CompleteLifecycleAction](~~73847~~) to end the wait state of a scaling activity early.'."\n"
."\n"
.'Default value: 600.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600', 'title' => ''],
],
[
'name' => 'NotificationMetadata',
'in' => 'query',
'schema' => ['description' => 'The notification information that is pushed to NotificationArn (the notification recipient) when the lifecycle hook suspends a scaling activity. This parameter helps you manage and tag notification information of different categories. You must also specify NotificationArn. The value can be up to 4,096 characters in length.'."\n"
."\n"
.'If NotificationArn is set to an OOS template, including a public template or a custom template, NotificationMetadata must be set to a JSON string that matches the parameters of the OOS template.'."\n"
."\n"
.'For example, `{"dbInstanceId": "dds-bp17661e0135****", "modifyMode": "Append"}`, where `dbInstanceId` and `modifyMode` are parameters defined in the OOS template. Some parameters of the OOS template have default values. NotificationMetadata must specify parameters that do not have default values. If you specify parameters that have default values, the specified values overwrite the original default values. However, keep the default values for the following parameters, which are used to retrieve relevant information during scaling activities:'."\n"
."\n"
.'- regionId: the region where the scaling activity is performed. Default value: ${regionId}.'."\n"
."\n"
.'- instanceIds: the list of instances associated with the scaling activity. Default value: ${instanceIds}.'."\n"
."\n"
.'- lifecycleHookId: the lifecycle hook ID. Default value: ${lifecycleHookId}.'."\n"
."\n"
.'- lifecycleActionToken: the identifier of the wait state for the scaling activity, which is used to end the current suspended activity early. Default value: ${lifecycleActionToken}.'."\n"
."\n"
.'- scalingGroupId: the ID of the scaling group to which the scaling activity belongs. Default value: ${scalingGroupId}.'."\n"
."\n"
.'- lifecycleActionResult: the action to take after the lifecycle hook wait state ends, which is used to end the current suspended activity early when the OOS template fails. When DefaultResult is set to ROLLBACK, the default value is ROLLBACK. In other cases, the default value is ABANDON.'."\n"
.'>- You can set the value of lifecycleActionResult to overwrite the current default value. Valid values: ABANDON, CONTINUE, ROLLBACK, and ${lifecycleActionResult}. ${lifecycleActionResult} indicates that the value of lifecycleActionResult is consistent with the value of DefaultResult.'."\n"
.'- You can obtain detailed information about the parameters of the corresponding template in the [OOS console](https://oos.console.aliyun.com/).', 'type' => 'string', 'required' => false, 'example' => 'Test lifecycle hook.', 'title' => ''],
],
[
'name' => 'NotificationArn',
'in' => 'query',
'schema' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the notification recipient of the lifecycle hook. If this parameter is not set, no notification is sent. The following notification methods are supported when you set this parameter:'."\n"
."\n"
.'- MNS queue. The value is in the format of `acs:mns:{region-id}:{account-id}:queue/{queuename}`.'."\n"
.'- MNS topic. The value is in the format of `acs:mns:{region-id}:{account-id}:topic/{topicname}`.'."\n"
.'- OOS template. The value is in the format of `acs:oos:{region-id}:{account-id}:template/{templatename}`.'."\n"
.'- EventBridge. The value is in the format of `acs:eventbridge:{region-id}:{account-id}:eventbus/default`.'."\n"
."\n"
.'The variables in the format have the following meanings:'."\n"
."\n"
.'- region-id: the region ID of the scaling group.'."\n"
.'- account-id: the Alibaba Cloud account ID. The account ID of a Resource Access Management (RAM) user is not supported.'."\n"
.'- queuename: the name of the MNS queue.'."\n"
.'- topicname: the name of the MNS topic.'."\n"
.'- templatename: the name of the OOS template.', 'type' => 'string', 'required' => false, 'example' => 'acs:mns:cn-beijing:161456884340****:queue/modifyLifecycleHo****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'LifecycleHookId' => ['description' => 'The ID of the lifecycle hook.', 'type' => 'string', 'example' => 'ash-bp1at9ufhmcf9cmy****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"LifecycleHookId\\": \\"ash-bp1at9ufhmcf9cmy****\\"\\n}","type":"json"}]',
'title' => 'Create one or more lifecycle hooks for a scaling group',
'description' => '## Operation description'."\n"
."\n"
.'- A scaling group can have a maximum of 6 lifecycle hooks. When a scaling activity occurs in a scaling group that has lifecycle hooks, the lifecycle hooks pause the scaling activity for an epoch. You can specify the wait epoch by using the HeartbeatTimeout parameter. During the wait epoch, you can perform operations such as initialization of ECS instance configurations and retrieving ECS instance data.'."\n"
."\n"
.'- During a scale-out activity, ECS instances enter the wait state after they are added to the RDS instance whitelist, and are added to the backend server group of the SLB instance after the wait state ends. During a scale-down activity, ECS instances enter the wait state after they are removed from the backend server group of the SLB instance, and are removed from the RDS instance whitelist after the wait state ends.'."\n"
."\n"
.'- You can configure notification methods for lifecycle hooks. The supported notification methods include MNS topics, MNS queues, and OOS templates. If you configure an OOS template, create a RAM role for the OOS service. For more information, see [Settings RAM permissions for OOS](~~120810~~).'."\n"
."\n"
.'> If the scaling group has existing ECS instances and the configured OOS template is used to add or remove instances from the whitelist of a database other than RDS, you must manually add the existing ECS instances to the whitelist of the database.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidParamter|The specified value of parameter is not valid.|The specified parameter value is invalid.|'."\n"
.'|400|InvalidNotificationArn|The specified parameter notificationArn is invalid.|The specified NotificationArn is invalid.|'."\n"
.'|400|UnsupportedNotificationType.CurrentRegion|The notificationType is not supported in the special region which scalingGroup belongs to.|The notification method is not supported in the region of the scaling group.|'."\n"
.'|400|QueueNotExist|The specified queue does not exist.|The specified MNS queue does not exist.|'."\n"
.'|400|TopicNotExist|The specified topic does not exist.|The specified MNS topic does not exist.|'."\n"
.'|400|InvalidLifecycleHookName.Duplicate|The specified value of parameter lifecycleHookName is duplicated.|A lifecycle hook with the same name already exists.|'."\n"
.'|400|QuotaExceeded.LifecycleHook|Lifecycle hook quota exceeded in the specified scaling group.|A maximum of 6 lifecycle hooks can be created for a scaling group.|.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateLifecycleHook',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateLifecycleHook'],
],
],
],
'CreateNotificationConfiguration' => [
'summary' => 'Creates auto scaling event and resource change notifications.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92656',
'abilityTreeNodes' => ['FEATUREess6E26FJ', 'FEATUREessFY8KDA'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
],
[
'name' => 'NotificationArn',
'in' => 'query',
'schema' => ['description' => 'The identifier of the notification recipient. The following notification methods are supported:'."\n"
."\n"
.'- CloudMonitor. Format: `acs:ess:{region-id}:{account-id}:cloudmonitor`.'."\n"
.'- MNS queue. Format: `acs:mns:{region-id}:{account-id}:queue/{queuename}`.'."\n"
.'- MNS topic. Format: `acs:mns:{region-id}:{account-id}:topic/{topicname}`.'."\n"
."\n"
.'The variables in the format are described as follows:'."\n"
.'- `region-id`: the region ID of the scaling group.'."\n"
.'- `account-id`: the Alibaba Cloud account ID.'."\n"
.'- `queuename`: the name of the MNS queue.'."\n"
.'- `topicname`: the name of the MNS topic.', 'type' => 'string', 'required' => true, 'example' => 'acs:mns:cn-beijing:161456884340****:queue/modifyLifecycleHo****', 'title' => ''],
],
[
'name' => 'NotificationType',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'One or more types of Auto Scaling event and resource change notifications. Valid values of N: 1 to 8. Specify multiple values in a repeated list format.',
'type' => 'array',
'items' => ['description' => 'One or more types of auto scaling event and resource change notifications. Valid values of N: 1 to 8. Specify multiple values in a repeated list format.'."\n"
."\n"
.'You can call the [DescribeNotificationTypes](~~71117~~) operation to query the valid values of this query parameter.', 'type' => 'string', 'required' => false, 'example' => 'AUTOSCALING:SCALE_OUT_SUCCESS', 'title' => ''],
'required' => true,
'example' => 'AUTOSCALING:SCALE_OUT_SUCCESS',
'maxItems' => 12,
'title' => '',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''],
],
[
'name' => 'TimeZone',
'in' => 'query',
'schema' => ['description' => 'The time zone for message notifications. The time zone is expressed as an offset from Coordinated Universal Time (UTC), such as UTC+8 or UTC-7.', 'type' => 'string', 'required' => false, 'example' => 'UTC+8', 'title' => ''],
],
[
'name' => 'MessageEncoding',
'in' => 'query',
'schema' => ['description' => 'The encoding method for the notification content. Valid values:'."\n"
."\n"
.'- PlainText: no encoding. The content is transmitted in plaintext.'."\n"
.'- Base64: Base64 encoding.'."\n"
."\n"
.'Default value: Base64.'."\n"
."\n"
.'> This parameter is supported only for MNS notification recipients.', 'type' => 'string', 'required' => false, 'example' => 'PlainText', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Create Auto Scaling event and resource change notifications',
'description' => '## Operation description'."\n"
."\n"
.'- You can configure CloudMonitor system events, Message Service (MNS) queues, or MNS topics to receive notifications. When a specified type of scaling event or resource change occurs in a scaling group, Auto Scaling sends notifications to CloudMonitor or MNS.'."\n"
."\n"
.'- Different event notifications within the same scaling group cannot share the same recipient.'."\n"
."\n"
.' For example, different event notifications cannot use the same CloudMonitor instance, the same MNS topic, or the same MNS queue.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidNotificationArn|The specified parameter notificationArn is invalid.|The specified NotificationArn is invalid.|'."\n"
.'|400|InvalidNotificationTypes|The specified notification type is invalid.|The specified NotificationType.N is invalid.|'."\n"
.'|400|NotificationConfigurationExist|The specified notification configuration already exist for the scalingGroup.|The specified event notification already exists in the scaling group.|'."\n"
.'|400|NotificationConfigurationQuotaExceed.ForScalingGroup|NotificationConfiguration num exceed for the specified scalingGroup.|The number of notification configurations for the scaling group exceeds the upper limit.|'."\n"
.'|400|QueueNotExist|The specified queue queuename does not exist.|The specified MNS queue does not exist.|'."\n"
.'|400|TopicNotExist|The specified topic topicname does not exist.|The specified MNS topic does not exist.|'."\n"
.'|400|UnsupportedNotificationType.CurrentRegion|The NotificationType is not supported in the special region which scaling group belongs to.|The notification method is not supported in the region of the scaling group.|'."\n"
.'|400|InvalidParameter.TimeZone|The specified parameter TimeZone is not valid.|The specified TimeZone parameter is invalid.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNotificationConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateNotificationConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'CreateScalingConfiguration' => [
'summary' => 'Creates an ECS-type scaling configuration for a scaling group by calling the CreateScalingConfiguration operation with the scaling group ID, instance type, instance image, and other information specified.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92657',
'abilityTreeNodes' => ['FEATUREessWJGIW5'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group to which the scaling configuration belongs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asg-bp14wlu85wrpchm0****', 'title' => ''],
],
[
'name' => 'ImageId',
'in' => 'query',
'schema' => ['description' => 'The ID of the image file used for automatic creation of instances.'."\n"
."\n"
.'>This parameter has the same effect as the `ImageName` parameter. You can choose one of the two settings. If you set the ImageName parameter, the ImageId parameter is ignored (optional).', 'type' => 'string', 'required' => false, 'example' => 'centos6u5_64_20G_aliaegis****.vhd', 'title' => ''],
],
[
'name' => 'ImageName',
'in' => 'query',
'schema' => ['description' => 'The name of the image file. Image names are unique within a region. You cannot use this parameter to specify images from Alibaba Cloud Marketplace.'."\n"
.'> This parameter has the same effect as the `ImageId` parameter. You can set only one of them. If you set the `ImageId` parameter, the `ImageName` parameter is ignored (optional).', 'type' => 'string', 'required' => false, 'example' => 'image****', 'title' => ''],
],
[
'name' => 'InstanceType',
'in' => 'query',
'schema' => ['description' => 'An instance type of the ECS instance. For more information, see [Instance families](~~25378~~).'."\n"
.'> The four methods InstanceType, InstanceTypes, InstanceTypeOverrides, and Cpu and Memory cannot be specified simultaneously. However, InstanceType can be specified together with InstancePatternInfo. In this case, Auto Scaling preferentially uses the instance types you specified for scale-out. When the specified instance types are out of stock, instance types that match the InstancePatternInfo configuration are used.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.large', 'title' => ''],
],
[
'name' => 'Cpu',
'in' => 'query',
'schema' => ['description' => 'The number of vCPUs. Unit: cores.'."\n"
."\n"
.'Specifying both CPU and Memory defines the range of instance types. For example, CPU=2 and Memory=16 defines all instance types with 2 vCPUs and 16 GiB of memory. Auto Scaling determines the set of available instance types based on factors such as I/O optimization and zones, and creates instances with the lowest price based on price sorting.'."\n"
."\n"
.'> This range configuration takes effect only in cost optimization mode when no instance type is specified in the scaling configuration.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'Memory',
'in' => 'query',
'schema' => ['description' => 'The memory size. Unit: GiB.'."\n"
."\n"
.'Specifying both CPU and Memory defines the range of instance types. For example, CPU=2 and Memory=16 defines all instance types with 2 vCPUs and 16 GiB of memory. Auto Scaling determines the set of available instance types based on factors such as I/O optimization and zones, and creates instances with the lowest price based on price sorting.'."\n"
."\n"
.'> This range configuration takes effect only in cost optimization mode when no instance type is specified in the scaling configuration.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '16', 'title' => ''],
],
[
'name' => 'DeploymentSetId',
'in' => 'query',
'schema' => ['description' => 'The ID of the deployment set to which the ECS instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'ds-bp1frxuzdg87zh4pz****', 'title' => ''],
],
[
'name' => 'SecurityGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the security group to which the ECS instance belongs. ECS instances in the same security group can access each other.', 'type' => 'string', 'required' => false, 'example' => 'sg-280ih****', 'title' => ''],
],
[
'name' => 'IoOptimized',
'in' => 'query',
'schema' => ['description' => 'Specifies whether the instance is I/O optimized. Valid values:'."\n"
."\n"
.'- none: non-I/O optimized.'."\n"
.'- optimized: I/O optimized.'."\n"
."\n"
.'The default I/O optimized instances of [retired instance types](~~55263~~) is none. The default I/O optimized instances of other instance types is optimized.', 'type' => 'string', 'required' => false, 'example' => 'optimized', 'title' => ''],
],
[
'name' => 'InternetChargeType',
'in' => 'query',
'schema' => ['description' => 'The billing method for network usage. Valid values:'."\n"
."\n"
.'- PayByBandwidth: pay-by-bandwidth. The value of InternetMaxBandwidthOut is used as the fixed bandwidth value.'."\n"
.'- PayByTraffic: pay-by-traffic. The value of InternetMaxBandwidthOut is used as the maximum bandwidth. Billing is based on the actual network traffic.'."\n"
."\n"
.'If this parameter is not specified, the default value is PayByBandwidth for the classic network and PayByTraffic for VPC.', 'type' => 'string', 'required' => false, 'example' => 'PayByTraffic', 'title' => ''],
],
[
'name' => 'InternetMaxBandwidthIn',
'in' => 'query',
'schema' => ['description' => 'The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:'."\n"
."\n"
.'- If the maximum outbound public bandwidth is less than or equal to 10 Mbit/s: 1 to 10. Default value: 10.'."\n"
.'- If the maximum outbound public bandwidth is greater than 10 Mbit/s: 1 to the value of `InternetMaxBandwidthOut`. Default value: the value of `InternetMaxBandwidthOut`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'InternetMaxBandwidthOut',
'in' => 'query',
'schema' => ['description' => 'The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.'."\n"
."\n"
.'Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'SystemDisk.Category',
'in' => 'query',
'schema' => ['description' => 'The category of the system cloud disk. Valid values:'."\n"
."\n"
.'- cloud: basic cloud disk.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- ephemeral_ssd: local SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
.'- cloud_auto: ESSD AutoPL cloud disk.'."\n"
."\n"
.'This parameter cannot be specified together with `SystemDiskCategories.N`. If neither this parameter nor `SystemDiskCategories.N` is specified, a default value is used. If the InstanceType is a Series I instance type and the instance is a non-I/O optimized instance, the default value is cloud. Otherwise, the default value is cloud_efficiency.', 'type' => 'string', 'required' => false, 'example' => 'cloud_ssd', 'title' => ''],
],
[
'name' => 'SystemDisk.Size',
'in' => 'query',
'schema' => ['description' => 'The size of the system cloud disk. Unit: GiB. Valid values:'."\n"
."\n"
.'- Basic cloud disk: 20 to 500.'."\n"
.'- ESSD:'."\n"
.' - PL0: 1 to 2048.'."\n"
.' - PL1: 20 to 2048.'."\n"
.' - PL2: 461 to 2048.'."\n"
.' - PL3: 1261 to 2048.'."\n"
.'- ESSD AutoPL cloud disk: 1 to 2048.'."\n"
.'- Other cloud disk types: 20 to 2048.'."\n"
."\n"
.'The value of this parameter must be greater than or equal to max{1, ImageSize}.'."\n"
."\n"
.'Default value: max{40, ImageSize}.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'SystemDisk.DiskName',
'in' => 'query',
'schema' => ['description' => 'The name of the system cloud disk. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter or a Chinese character and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'cloud_ssdSystem', 'title' => ''],
],
[
'name' => 'SystemDisk.Description',
'in' => 'query',
'schema' => ['description' => 'The description of the system cloud disk. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'Test system disk.', 'title' => ''],
],
[
'name' => 'SystemDisk.AutoSnapshotPolicyId',
'in' => 'query',
'schema' => ['description' => 'The ID of the automatic snapshot policy applied to the system cloud disk.', 'type' => 'string', 'required' => false, 'example' => 'sp-bp12m37ccmxvbmi5****', 'title' => ''],
],
[
'name' => 'SystemDisk.PerformanceLevel',
'in' => 'query',
'schema' => ['description' => 'The performance level (PL) of the system cloud disk when the cloud disk is an ESSD. Valid values:'."\n"
."\n"
.'- PL0: a single cloud disk can deliver up to 10,000 random read/write IOPS.'."\n"
.'- PL1: a single cloud disk can deliver up to 50,000 random read/write IOPS.'."\n"
.'- PL2: a single cloud disk can deliver up to 100,000 random read/write IOPS.'."\n"
.'- PL3: a single cloud disk can deliver up to 1,000,000 random read/write IOPS.'."\n"
."\n"
.'Default value: PL1.'."\n"
.'> For more information about how to select an ESSD performance level, see [ESSDs](~~122389~~).', 'type' => 'string', 'required' => false, 'example' => 'PL1', 'title' => ''],
],
[
'name' => 'ScalingConfigurationName',
'in' => 'query',
'schema' => ['description' => 'The name of the scaling configuration. The name must be 2 to 64 characters in length and can contain letters, digits, underscores (_), hyphens (-), and periods (.). It must start with a digit, letter, or Chinese character.'."\n"
."\n"
.'The scaling configuration name must be unique within a scaling group in the same region. If you do not specify this parameter, the scaling configuration ID is used by default.', 'type' => 'string', 'required' => false, 'example' => 'scalingconfig****', 'title' => ''],
],
[
'name' => 'LoadBalancerWeight',
'in' => 'query',
'schema' => ['description' => 'The weight of the ECS instance as a backend server of the associated load balancing instance. Valid values: 1 to 100.'."\n"
."\n"
.'Default value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'schema' => ['description' => 'The tags of the ECS instance. Tags are specified as key-value pairs. You can specify up to 20 tags. The following limits apply to tag keys and values:'."\n"
.' '."\n"
.'- A tag key can be up to 64 characters in length and cannot start with aliyun or acs:. It cannot contain `http://` or `https://`. A tag key cannot be an empty string.'."\n"
.'- A tag value can be up to 128 characters in length and cannot start with aliyun or acs:. It cannot contain `http://` or `https://`. A tag value can be an empty string.', 'type' => 'string', 'required' => false, 'example' => '{"key1":"value1","key2":"value2", ... "key5":"value5"}', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'The user data of the ECS instance. The data must be encoded in Base64. The maximum size of the raw data before encoding is 32 KB.', 'type' => 'string', 'required' => false, 'example' => 'ZWNobyBoZWxsbyBlY3Mh', 'title' => ''],
],
[
'name' => 'KeyPairName',
'in' => 'query',
'schema' => ['description' => 'The name of the key pair used to log on to the ECS instance.'."\n"
.' '."\n"
.'- For Windows instances, this parameter is ignored and is empty by default.'."\n"
.'- For Linux instances, password-based logon is disabled during initialization.', 'type' => 'string', 'required' => false, 'example' => 'KeyPairTest', 'title' => ''],
],
[
'name' => 'RamRoleName',
'in' => 'query',
'schema' => ['description' => 'The name of the RAM role associated with the ECS instance. The name is provided and maintained by Resource Access Management (RAM). You can call [ListRoles](~~28713~~) to query available RAM roles. For more information about how to create a RAM role, see [CreateRole](~~28710~~).', 'type' => 'string', 'required' => false, 'example' => 'ramrole****', 'title' => ''],
],
[
'name' => 'SecurityEnhancementStrategy',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable security hardening. Valid values:'."\n"
."\n"
.'- Active: enables security hardening. This value is applicable only to public images.'."\n"
.'- Deactive: disables security hardening. This value is applicable to all image types.', 'type' => 'string', 'required' => false, 'example' => 'Active', 'title' => ''],
],
[
'name' => 'InstanceName',
'in' => 'query',
'schema' => ['description' => 'The name of the ECS instance that is created through automatic creation based on this scaling configuration.', 'type' => 'string', 'required' => false, 'example' => 'instance****', 'title' => ''],
],
[
'name' => 'HostName',
'in' => 'query',
'schema' => ['description' => 'The hostname of the ECS instance. A period (.) or a hyphen (-) cannot be used as the first or last character, and consecutive periods (.) or hyphens (-) are not allowed. Naming conventions vary by instance type:'."\n"
."\n"
.'- Windows instances: The hostname must be 2 to 15 characters in length and can contain letters, digits, and hyphens (-). It cannot contain periods (.) or consist entirely of digits.'."\n"
.'- Other instances (such as Linux): The hostname must be 2 to 64 characters in length and can contain multiple periods (.). Each segment between two periods (.) can contain letters, digits, and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'host****', 'title' => ''],
],
[
'name' => 'SpotStrategy',
'in' => 'query',
'schema' => ['description' => 'The preemption policy for pay-as-you-go instances. Valid values:'."\n"
.' '."\n"
.'- NoSpot: a regular pay-as-you-go instance.'."\n"
.'- SpotWithPriceLimit: a spot instance with a user-defined maximum hourly price.'."\n"
.'- SpotAsPriceGo: a spot instance priced at the market price at the time of purchase.'."\n"
."\n"
.'Default value: NoSpot.', 'type' => 'string', 'required' => false, 'example' => 'NoSpot', 'title' => ''],
],
[
'name' => 'PasswordInherit',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to use the password preset in the image. To use this parameter, make sure that a password is configured for the image. Valid values:'."\n"
."\n"
.'- true: uses the password preset in the image.'."\n"
.'- false: does not use the password preset in the image.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'Password',
'in' => 'query',
'schema' => ['description' => 'The password of the ECS instance. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The following special characters are supported:'."\n"
."\n"
.'```()` ~!@#$%^&*-_+=\\|{}[]:;\'<>,.?/```'."\n"
."\n"
.'For Windows instances, the password cannot start with a forward slash (/).'."\n"
."\n"
.'> If you specify the Password parameter, use HTTPS to send the request to prevent password leaks.', 'type' => 'string', 'required' => false, 'example' => '123abc****', 'title' => ''],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the resource group to which the ECS instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'rg-resource****', 'title' => ''],
],
[
'name' => 'HpcClusterId',
'in' => 'query',
'schema' => ['description' => 'The ID of the HPC cluster to which the ECS instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'hpc-clusterid', 'title' => ''],
],
[
'name' => 'InstanceDescription',
'in' => 'query',
'schema' => ['description' => 'The description of the ECS instance. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'Test instance.', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'Generate a value from your client that is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'Ipv6AddressCount',
'in' => 'query',
'schema' => ['description' => 'The number of randomly generated IPv6 addresses allocated to the elastic network interface (ENI).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'CreditSpecification',
'in' => 'query',
'schema' => ['description' => 'The performance pattern of the burstable instance. Valid values:'."\n"
."\n"
.'- Standard: standard pattern.'."\n"
."\n"
.'- Unlimited: unlimited pattern.'."\n"
."\n"
.'For more information, see the performance schema section in [Overview of burstable instances](~~59977~~).', 'type' => 'string', 'required' => false, 'example' => 'Standard', 'title' => ''],
],
[
'name' => 'ImageFamily',
'in' => 'query',
'schema' => ['description' => 'The name of the image family. You can set this parameter to obtain the latest available image from the specified image family for instance creation. If you have set the `ImageId` parameter, you cannot set this parameter.', 'type' => 'string', 'required' => false, 'example' => 'hangzhou-daily-update', 'title' => ''],
],
[
'name' => 'ZoneId',
'in' => 'query',
'schema' => ['description' => 'The zone ID of the ECS instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-g', 'title' => ''],
],
[
'name' => 'DedicatedHostId',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to create the ECS instance on a dedicated host. Because dedicated hosts do not support the creation of spot instances, the SpotStrategy and SpotPriceLimit settings in the request are automatically ignored when DedicatedHostId is specified.'."\n"
."\n"
.'You can call [DescribeDedicatedHosts](~~134242~~) to query the list of dedicated host IDs.', 'type' => 'string', 'required' => false, 'example' => 'dh-bp67acfmxazb4p****', 'title' => ''],
],
[
'name' => 'Affinity',
'in' => 'query',
'schema' => ['description' => 'Specifies whether the instance on a dedicated host is associated with the dedicated host. Valid values:'."\n"
."\n"
.'- default: the instance is not associated with the dedicated host. When an instance that has the economical mode enabled is restarted, the instance may be placed on another dedicated host in the automatic deployment resource pool if the original dedicated host has insufficient available resources.'."\n"
."\n"
.'- host: the instance is associated with the dedicated host. When an instance that has the economical mode enabled is restarted, the instance remains on the original dedicated host. If the original dedicated host has insufficient available resources, the instance fails to restart.'."\n"
."\n"
.'Default value: default.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
'name' => 'Tenancy',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to create the instance on a dedicated host. Valid values:'."\n"
."\n"
.'- default: creates a non-dedicated host instance.'."\n"
."\n"
.'- host: creates a dedicated host instance. If you do not specify DedicatedHostId, Alibaba Cloud automatically selects a dedicated host for the instance.'."\n"
."\n"
.'Default value: default.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
'name' => 'SchedulerOptions',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The scheduler options.', 'type' => 'object', 'required' => false, 'example' => '["testManagedPrivateSpaceId****"]', 'title' => ''],
],
[
'name' => 'PrivatePoolOptions.MatchCriteria',
'in' => 'query',
'schema' => ['description' => 'The private pool option for instance startup. A private pool is generated after an elasticity assurance or capacity reservation takes effect. You can select a private pool when you start an instance. Valid values:'."\n"
."\n"
.'- Open: open mode. The system automatically matches an open private pool. If no matching private pool is available, the public pool is used to start the instance. You do not need to set the PrivatePoolOptions.Id parameter in this mode.'."\n"
."\n"
.'- Target: specified mode. A specified private pool is used to start the instance. If the specified private pool is unavailable, the instance fails to start. In this mode, you must specify the private pool ID. The PrivatePoolOptions.Id parameter is required.'."\n"
."\n"
.'- None: no private pool is used. The instance does not use any private pool capacity for startup.', 'type' => 'string', 'required' => false, 'example' => 'Open', 'title' => ''],
],
[
'name' => 'PrivatePoolOptions.Id',
'in' => 'query',
'schema' => ['description' => 'The private pool ID, which is the ID of the elasticity assurance or capacity reservation.', 'type' => 'string', 'required' => false, 'example' => 'eap-bp67acfmxazb4****', 'title' => ''],
],
[
'name' => 'SpotDuration',
'in' => 'query',
'schema' => ['description' => 'The protection period of the spot instance. Unit: hours. Valid values:'."\n"
.'- 1: After the instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After 1 hour, the system automatically compares the bid price with the marketplace price and checks the resource inventory to determine whether to retain or revoke the instance.'."\n"
.'- 0: After the instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system automatically compares the bid price with the marketplace price and checks the resource inventory to determine whether to retain or revoke the instance.'."\n"
.'> Alibaba Cloud sends an ECS system event notification 5 minutes before the instance is revoked. Spot instances are billed by second. Select an appropriate protection period based on the execution duration of your specific tasks.'."\n"
."\n"
.'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'SpotInterruptionBehavior',
'in' => 'query',
'schema' => ['description' => 'The interruption mode of the spot instance. Only Terminate (default) is supported, which directly releases the instance.', 'type' => 'string', 'required' => false, 'example' => 'Terminate', 'title' => ''],
],
[
'name' => 'InstanceTypes',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The instance types.',
'type' => 'array',
'items' => ['description' => 'The instance types. Valid values of N: 1 to 20. You can specify up to 20 instance types in a scaling configuration.'."\n"
."\n"
.'N represents the priority of the instance type in the current scaling configuration. Instance type 1 has the highest priority. The priority decreases as the number increases. When an instance cannot be created by using the instance type with a higher priority, Auto Scaling automatically selects the instance type with the next priority to create the instance.'."\n"
."\n"
.'> The four methods InstanceType, InstanceTypes, InstanceTypeOverrides, and Cpu and Memory cannot be specified simultaneously. However, InstanceTypes can be specified together with InstancePatternInfo. In this case, Auto Scaling preferentially uses the instance types you specified for scale-out. When the specified instance types are out of stock, instance types that match the InstancePatternInfo configuration are used.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.large', 'title' => ''],
'required' => false,
'example' => 'ecs.g6.large',
'maxItems' => 20,
'title' => '',
],
],
[
'name' => 'InstanceTypeOverride',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The instance type information.',
'type' => 'array',
'items' => [
'description' => 'The instance type information.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'To specify the capacity of an instance type in the scaling configuration, specify both this parameter and InstanceTypeOverride.N.WeightedCapacity.'."\n"
."\n"
.'This parameter specifies the instance type. You can specify N values for this parameter. Combined with the InstanceTypeOverride.N.WeightedCapacity parameter, this extends multi-instance-type support with custom weights. Valid values of N: 1 to 20.'."\n"
."\n"
.'> You cannot specify this parameter together with InstanceTypes.N or InstanceType.'."\n"
."\n"
.'Valid values of InstanceType: ECS instance types that are available for purchase. For more information, see [Instance families](~~25378~~).', 'type' => 'string', 'required' => false, 'example' => 'ecs.c5.xlarge', 'title' => ''],
'WeightedCapacity' => ['description' => 'To specify the capacity of an instance type in the scaling configuration, first specify InstanceTypeOverride.N.InstanceType, and then specify this parameter. The two parameters must correspond one-to-one, and N must be consistent.'."\n"
."\n"
.'This parameter specifies the weight of the instance type, which represents the capacity of a single instance of this type in the scaling group. A larger weight means fewer instances of this type are needed to meet the expected capacity.'."\n"
."\n"
.'Because performance metrics such as the number of vCPUs and memory size vary by instance type, you can configure different weights for different instance types based on your requirements.'."\n"
."\n"
.' Example:'."\n"
."\n"
.'- Current capacity: 0.'."\n"
.'- Expected number of instances: 6.'."\n"
.'- Capacity of ecs.c5.xlarge: 4.'."\n"
."\n"
.'To meet the expected capacity, the scaling group scales out two ecs.c5.xlarge instances.'."\n"
."\n"
.'> During scale-out, the capacity of the scaling group cannot exceed the sum of the maximum capacity (MaxSize) and the maximum weight of the instance types.'."\n"
."\n"
.'Valid values of WeightedCapacity: 1 to 500.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'DataDisk',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The data cloud disk information.',
'type' => 'array',
'items' => [
'description' => 'The data cloud disk information.',
'type' => 'object',
'properties' => [
'PerformanceLevel' => ['description' => 'The performance level (PL) of the data cloud disk when the cloud disk is an ESSD. The value of N must be consistent with the N in DataDisk.N.Category=cloud_essd. Valid values:'."\n"
."\n"
.'- PL0: a single cloud disk can deliver up to 10,000 random read/write IOPS.'."\n"
.'- PL1: a single cloud disk can deliver up to 50,000 random read/write IOPS.'."\n"
.'- PL2: a single cloud disk can deliver up to 100,000 random read/write IOPS.'."\n"
.'- PL3: a single cloud disk can deliver up to 1,000,000 random read/write IOPS.'."\n"
."\n"
.'Default value: PL1.'."\n"
.'> For more information about how to select an ESSD performance level, see [ESSDs](~~122389~~).', 'type' => 'string', 'required' => false, 'example' => 'PL1', 'title' => ''],
'AutoSnapshotPolicyId' => ['description' => 'The ID of the automatic snapshot policy applied to the data cloud disk. Valid values of N: 1 to 16.', 'type' => 'string', 'required' => false, 'example' => 'sp-bp19nq9enxqkomib****', 'title' => ''],
'Encrypted' => ['description' => 'Specifies whether data cloud disk N is encrypted. Valid values of N: 1 to 16. Valid values:'."\n"
."\n"
.'- true: encrypted.'."\n"
.'- false: not encrypted.'."\n"
."\n"
.'Default value: false.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''],
'Description' => ['description' => 'The description of the data cloud disk. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'Test data disk.', 'title' => ''],
'SnapshotId' => ['description' => 'The ID of the snapshot used to create the data cloud disk. Valid values of N: 1 to 16. After this parameter is specified, DataDisk.N.Size is ignored, and the size of the created cloud disk is the size of the specified snapshot.'."\n"
."\n"
.'If the snapshot was created on or before July 15, 2013, the call is rejected and the error message InvalidSnapshot.TooOld is returned.', 'type' => 'string', 'required' => false, 'example' => 's-280s7****', 'title' => ''],
'Categories' => [
'description' => 'The disk types of data cloud disk N. The first N indicates the Nth data cloud disk. Valid values: 1 to 16. The second N indicates the Nth disk type for the data cloud disk. Valid values: 1 to 4. You can specify up to 4 disk types for a data cloud disk in a scaling configuration. A smaller N value indicates a higher priority. When a disk type with a higher priority cannot be used, Auto Scaling automatically attempts the next-priority disk type to create the data cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk. The DeleteWithInstance property of a basic cloud disk created with the instance is set to true.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
.'- ephemeral_ssd: local SSD.'."\n"
.'- cloud_auto: ESSD AutoPL cloud disk.'."\n"
.'- cloud_regional_disk_auto: regional ESSD.'."\n"
."\n"
.'> You cannot specify this parameter together with `DataDisk.N.Category`.',
'type' => 'array',
'items' => ['description' => 'The disk types of data cloud disk N. The first N indicates the Nth data cloud disk. Valid values: 1 to 16. The second N indicates the Nth disk type for the data cloud disk. Valid values: 1 to 4. You can specify up to 4 disk types for a data cloud disk in a scaling configuration. A smaller N value indicates a higher priority. When a disk type with a higher priority cannot be used, Auto Scaling automatically attempts the next-priority disk type to create the data cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk. The DeleteWithInstance property of a basic cloud disk created with the instance is set to true.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
.'- ephemeral_ssd: local SSD.'."\n"
.'- cloud_auto: ESSD AutoPL cloud disk.'."\n"
.'- cloud_regional_disk_auto: regional ESSD.'."\n"
."\n"
.'> You cannot specify this parameter together with `DataDisk.N.Category`.', 'type' => 'string', 'required' => false, 'example' => 'cloud', 'title' => ''],
'required' => false,
'example' => 'cloud',
'maxItems' => 10,
'title' => '',
],
'Size' => ['description' => 'The size of data cloud disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values:'."\n"
."\n"
.'- cloud: 5 to 2000.'."\n"
.'- cloud_efficiency: 20 to 32768.'."\n"
.'- cloud_ssd: 20 to 32768.'."\n"
.'- cloud_essd: 20 to 32768.'."\n"
.'- ephemeral_ssd: 5 to 800.'."\n"
."\n"
.'After this parameter is specified, the cloud disk size must be greater than or equal to the snapshot size (the snapshot is specified by SnapshotId).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
'Device' => ['description' => 'The mount point of the data cloud disk. Valid values of N: 1 to 16. If you do not specify this parameter, the system allocates a mount point by default during automatic creation of ECS instances. The mount points start from /dev/xvdb and end at /dev/xvdz.', 'type' => 'string', 'required' => false, 'example' => '/dev/xvdb', 'title' => ''],
'DiskName' => ['description' => 'The name of data cloud disk N. Valid values of N: 1 to 16. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter or a Chinese character and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'cloud_ssdData', 'title' => ''],
'Category' => ['description' => 'The category of data cloud disk N. Valid values of N: 1 to 16. Valid values:'."\n"
.'- cloud: basic cloud disk. The DeleteWithInstance property of a basic cloud disk created with the instance is set to true.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
.'- ephemeral_ssd: local SSD.'."\n"
.'- cloud_auto: ESSD AutoPL cloud disk.'."\n"
.'- cloud_regional_disk_auto: regional ESSD.'."\n"
."\n"
.'This parameter cannot be specified together with `DataDisk.N.Categories.N`. If neither this parameter nor `DataDisk.N.Categories.N` is specified, the default value is used:'."\n"
."\n"
.'- For I/O optimized instances, the default value is cloud_efficiency.'."\n"
."\n"
.'- For non-I/O optimized instances, the default value is cloud.', 'type' => 'string', 'required' => false, 'example' => 'cloud_ssd', 'title' => ''],
'DeleteWithInstance' => ['description' => 'Specifies whether data cloud disk N is released with the instance. Valid values of N: 1 to 16. Valid values:'."\n"
."\n"
.'- true: the cloud disk is released with the instance.'."\n"
.'- false: the cloud disk is retained when the instance is released.'."\n"
."\n"
.'This parameter can be set only for independent cloud disks (DataDisk.N.Category is cloud, cloud_efficiency, cloud_ssd, cloud_essd, or cloud_auto). Otherwise, an error is returned.'."\n"
."\n"
.'Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'KMSKeyId' => ['description' => 'The ID of the KMS key for data cloud disk N. Valid values of N: 1 to 16.', 'type' => 'string', 'required' => false, 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', 'title' => ''],
'ProvisionedIops' => ['description' => 'The provisioned IOPS (Input/Output Operations Per Second) performance metrics of the data cloud disk.'."\n"
."\n"
.'> IOPS (Input/Output Operations Per Second) measures the number of I/O operations that can be processed per second, representing the read/write capability of block storage. The unit is operations per second.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', 'title' => ''],
'BurstingEnabled' => ['description' => 'Specifies whether to enable the burst (performance burst) feature for the data cloud disk. Valid values:'."\n"
."\n"
.'- true: enabled.'."\n"
.'- false: disabled.'."\n"
.'> This parameter is supported only when `DataDisk.Category` is set to `cloud_auto`.'."\n"
."\n"
.'For more information, see [ESSD AutoPL cloud disks](~~368372~~).', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 16,
'title' => '',
'example' => '',
],
],
[
'name' => 'SpotPriceLimit',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The spot instance information.',
'type' => 'array',
'items' => [
'description' => 'The spot instance information.',
'type' => 'object',
'properties' => [
'PriceLimit' => ['description' => 'The bid price for the spot instance. Valid values of N: 1 to 20. This parameter takes effect only when SpotStrategy is set to SpotWithPriceLimit.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5', 'title' => ''],
'InstanceType' => ['description' => 'The instance type of the spot instance. Valid values of N: 1 to 20. This parameter takes effect only when SpotStrategy is set to SpotWithPriceLimit.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.large', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'SecurityGroupIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The IDs of the security groups to which the ECS instance is added. The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see the security group section in [Limits](~~25412~~).'."\n"
."\n"
.'> You cannot specify both SecurityGroupId and SecurityGroupIds.N.',
'type' => 'array',
'items' => ['description' => 'The IDs of the security groups to which the ECS instance is added. The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see the security group section in [Limits](~~25412~~).'."\n"
."\n"
.'> You cannot specify both SecurityGroupId and SecurityGroupIds.N.', 'type' => 'string', 'required' => false, 'example' => 'sg-bp18kz60mefs****', 'title' => ''],
'required' => false,
'example' => 'sg-bp18kz60mefs****',
'maxItems' => 16,
'title' => '',
],
],
[
'name' => 'InstancePatternInfo',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The instance type information in intelligent mode.',
'type' => 'array',
'items' => [
'description' => 'The instance type information in intelligent mode.',
'type' => 'object',
'properties' => [
'Cores' => ['description' => 'The number of vCPU cores of the instance type in intelligent configuration mode, used to filter instance types that meet the requirements. For more information, see [Instance families](~~25378~~). Valid values of N: 1 to 10.'."\n"
."\n"
.'Note the following:'."\n"
."\n"
.'- The InstancePatternInfo.N parameter applies only to scaling groups whose network type is VPC.'."\n"
."\n"
.'- You must specify both InstancePatternInfo.N.Cores and InstancePatternInfo.N.Memory for the InstancePatternInfo.N parameter.'."\n"
."\n"
.'- If you have specified instance types by using the InstanceType or InstanceTypes.N parameter, Auto Scaling preferentially uses the specified instance types for scale-out. When the specified instance types are out of stock, Auto Scaling uses the instance type with the lowest price among those that match the InstancePatternInfo.N parameter values.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
'InstanceFamilyLevel' => ['description' => 'The instance family level in intelligent configuration mode, used to filter instance types that meet the requirements. Valid values:'."\n"
."\n"
.'- EntryLevel: entry level, which refers to shared instance types. These types are more cost-effective but cannot guarantee stable instance computing performance. They are suitable for scenarios with low average CPU utilization. For more information, see [Shared instance types](~~108489~~).'."\n"
.'- EnterpriseLevel: enterprise level. These types provide stable performance and dedicated resources. They are suitable for scenarios that require high stability. For more information, see [Instance families](~~25378~~).'."\n"
.'- CreditEntryLevel: credit-based entry level, which refers to burstable instances. These types use CPU credits to ensure computing performance. They are suitable for scenarios with low average CPU utilization and occasional CPU usage spikes. For more information, see [Overview of burstable instances](~~59977~~).'."\n"
."\n"
.'Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'EnterpriseLevel', 'title' => ''],
'MaxPrice' => ['description' => 'The maximum acceptable hourly price for pay-as-you-go or spot instances in intelligent configuration mode, used to filter instance types that meet the requirements. Valid values of N: 1 to 10.'."\n"
."\n"
.'> This parameter is required when SpotStrategy is set to SpotWithPriceLimit. In other cases, this parameter is optional.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '2', 'title' => ''],
'Memory' => ['description' => 'The memory size of the instance type in intelligent configuration mode. Unit: GiB. This parameter is used to filter instance types that meet the requirements. For more information, see [Instance families](~~25378~~). Valid values of N: 1 to 10.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4', 'title' => ''],
'ExcludedInstanceType' => [
'description' => 'The instance types to exclude. You can use wildcard characters (*) to exclude a single instance type or an entire instance family. Examples:'."\n"
.'- ecs.c6.large: excludes the ecs.c6.large instance type.'."\n"
.'- ecs.c6.*: excludes the entire c6 instance family.',
'type' => 'array',
'items' => ['description' => 'The instance types to exclude. You can use wildcard characters (*) to exclude a single instance type or an entire instance family. Examples:'."\n"
.'- ecs.c6.large: excludes the ecs.c6.large instance type.'."\n"
.'- ecs.c6.*: excludes the entire c6 instance family.', 'type' => 'string', 'required' => false, 'example' => 'ecs.n1.small/ecs.n1.*/*7*', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
'Architecture' => [
'description' => 'The architecture types of the instance type. Valid values:'."\n"
.'- X86: X86 computing.'."\n"
.'- Heterogeneous: heterogeneous computing, such as GPU or FPGA.'."\n"
.'- BareMetal: ECS Bare Metal Instance.'."\n"
.'- Arm: Arm computing.'."\n"
."\n"
.'Default value: all architecture types are included.',
'type' => 'array',
'items' => ['description' => 'The architecture type of the instance type. Valid values:'."\n"
.'- X86: X86 computing.'."\n"
.'- Heterogeneous: heterogeneous computing, such as GPU or FPGA.'."\n"
.'- BareMetal: ECS Bare Metal Instance.'."\n"
.'- Arm: Arm computing.'."\n"
."\n"
.'Default value: all architecture types are included.', 'type' => 'string', 'required' => false, 'example' => 'X86', 'title' => ''],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
'BurstablePerformance' => ['description' => 'Specifies whether to include burstable instance types. Valid values:'."\n"
.'- Exclude: excludes burstable instance types.'."\n"
.'- Include: includes burstable instance types.'."\n"
.'- Required: includes only burstable instance types.'."\n"
."\n"
.'Default value: Include.'."\n"
.'[_single.params.InstancePatternInfo.items.InstanceTyp', 'type' => 'string', 'required' => false, 'example' => 'Include', 'title' => ''],
'InstanceTypeFamilies' => [
'description' => 'The instance families to query. N indicates that you can set multiple instance families. Valid values of N: 1 to 10.',
'type' => 'array',
'items' => ['description' => 'The instance family. N indicates that you can set multiple instance families. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6', 'title' => ''],
'required' => false,
'maxItems' => 20,
'minItems' => 0,
'title' => '',
'example' => '',
],
'MinimumCpuCoreCount' => ['description' => 'The minimum number of vCPU cores of the instance type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
'MaximumCpuCoreCount' => ['description' => 'The maximum number of vCPU cores of the instance type.'."\n"
."\n"
.'> The value of `MaximumCpuCoreCount` cannot exceed 4 times the value of `MinimumCpuCoreCount`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4', 'title' => ''],
'GpuSpecs' => [
'description' => 'The GPU types.',
'type' => 'array',
'items' => ['description' => 'The GPU type.', 'type' => 'string', 'required' => false, 'example' => 'NVIDIA V100', 'title' => ''],
'required' => false,
'maxItems' => 20,
'minItems' => 0,
'title' => '',
'example' => '',
],
'InstanceCategories' => [
'description' => 'The instance categories. Valid values:'."\n"
.'> N indicates that you can set multiple instance categories. Valid values of N: 1 to 10.'."\n"
."\n"
.'- General-purpose: general-purpose.'."\n"
.'- Compute-optimized: compute-optimized.'."\n"
.'- Memory-optimized: memory-optimized.'."\n"
.'- Big data: big data.'."\n"
.'- Local SSDs: local SSD.'."\n"
.'- High Clock Speed: high clock speed.'."\n"
.'- Enhanced: enhanced.'."\n"
.'- Shared: shared.'."\n"
.'- Compute-optimized with GPU: GPU-accelerated compute-optimized.'."\n"
.'- Visual Compute-optimized: visual compute-optimized.'."\n"
.'- Heterogeneous Service: heterogeneous service.'."\n"
.'- Compute-optimized with FPGA: FPGA-accelerated compute-optimized.'."\n"
.'- Compute-optimized with NPU: NPU-accelerated compute-optimized.'."\n"
.'- ECS Bare Metal: ECS Bare Metal Instance.'."\n"
.'- High Performance Compute: high-performance computing.',
'type' => 'array',
'items' => ['description' => 'The instance category. Valid values:'."\n"
.'> N indicates that you can set multiple instance categories. Valid values of N: 1 to 10.'."\n"
."\n"
.'- General-purpose: general-purpose.'."\n"
.'- Compute-optimized: compute-optimized.'."\n"
.'- Memory-optimized: memory-optimized.'."\n"
.'- Big data: big data.'."\n"
.'- Local SSDs: local SSD.'."\n"
.'- High Clock Speed: high clock speed.'."\n"
.'- Enhanced: enhanced.'."\n"
.'- Shared: shared.'."\n"
.'- Compute-optimized with GPU: GPU-accelerated compute-optimized.'."\n"
.'- Visual Compute-optimized: visual compute-optimized.'."\n"
.'- Heterogeneous Service: heterogeneous service.'."\n"
.'- Compute-optimized with FPGA: FPGA-accelerated compute-optimized.'."\n"
.'- Compute-optimized with NPU: NPU-accelerated compute-optimized.'."\n"
.'- ECS Bare Metal: ECS Bare Metal Instance.'."\n"
.'- High Performance Compute: high-performance computing.', 'type' => 'string', 'required' => false, 'example' => 'Compute-optimized with GPU', 'title' => ''],
'required' => false,
'maxItems' => 20,
'minItems' => 0,
'title' => '',
'example' => '',
],
'CpuArchitectures' => [
'description' => 'The CPU architectures of the instance. Valid values:'."\n"
.'>N indicates that you can set multiple CPU architectures. Valid values of N: 1 to 2.'."\n"
."\n"
.'- X86.'."\n"
.'- ARM.',
'type' => 'array',
'items' => ['description' => 'The CPU architecture of the instance. Valid values:'."\n"
.'>N indicates that you can set multiple CPU architectures. Valid values of N: 1 to 2.'."\n"
."\n"
.'- X86.'."\n"
.'- ARM.', 'type' => 'string', 'required' => false, 'example' => 'X86', 'title' => ''],
'required' => false,
'maxItems' => 20,
'minItems' => 0,
'title' => '',
'example' => '',
],
'PhysicalProcessorModels' => [
'description' => 'The processor models of the instance. N indicates that you can set multiple processor models. Valid values of N: 1 to 10.',
'type' => 'array',
'items' => ['description' => 'The processor model of the instance. N indicates that you can set multiple processor models. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'Intel Xeon(Ice Lake) Platinum 8369B", "Intel Xeon(Skylake) Platinum 8163", … "Intel Xeon(Cascade Lake) Platinum 8269CY', 'title' => ''],
'required' => false,
'maxItems' => 20,
'minItems' => 0,
'title' => '',
'example' => '',
],
'MinimumEniQuantity' => ['description' => 'The minimum number of ENIs that the instance supports.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
'MinimumEniPrivateIpAddressQuantity' => ['description' => 'The minimum number of IPv4 addresses per ENI of the instance.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
'MinimumEniIpv6AddressQuantity' => ['description' => 'The minimum number of IPv6 addresses per ENI of the instance.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'MinimumInitialCredit' => ['description' => 'The minimum initial vCPU credits for burstable instances (t5 and t6).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', 'title' => ''],
'MinimumBaselineCredit' => ['description' => 'The minimum baseline vCPU computing performance (sum of all vCPUs) for burstable instances (t5 and t6).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', 'title' => ''],
'MinimumMemorySize' => ['description' => 'The minimum memory size of the instance. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4', 'title' => ''],
'MaximumMemorySize' => ['description' => 'The maximum memory size of the instance. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4', 'title' => ''],
'MinimumGpuAmount' => ['description' => 'The minimum number of GPUs of the instance. Valid values: positive integers.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
'MaximumGpuAmount' => ['description' => 'The maximum number of GPUs of the instance. Valid values: positive integers.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'SystemDiskCategories',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The disk types of the system cloud disk. Valid values of N: 1 to 4. You can specify up to 4 disk types for the system cloud disk in a scaling configuration. A smaller N value indicates a higher priority. When a disk type with a higher priority cannot be used, Auto Scaling automatically attempts the next-priority disk type to create the system cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
."\n"
.'> You cannot specify this parameter together with `SystemDisk.Category`.',
'type' => 'array',
'items' => ['description' => 'The disk types of the system cloud disk. Valid values of N: 1 to 4. You can specify up to 4 disk types for the system cloud disk in a scaling configuration. A smaller N value indicates a higher priority. When a disk type with a higher priority cannot be used, Auto Scaling automatically attempts the next-priority disk type to create the system cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
."\n"
.'> You cannot specify this parameter together with `SystemDisk.Category`.', 'type' => 'string', 'required' => false, 'example' => 'cloud', 'title' => ''],
'required' => false,
'example' => 'cloud',
'maxItems' => 10,
'title' => '',
],
],
[
'name' => 'SystemDisk.Encrypted',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to encrypt the system cloud disk. Valid values:'."\n"
."\n"
.'- true: encrypted.'."\n"
.'- false: not encrypted.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'SystemDisk.KMSKeyId',
'in' => 'query',
'schema' => ['description' => 'The ID of the KMS key used by the system cloud disk.', 'type' => 'string', 'required' => false, 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', 'title' => ''],
],
[
'name' => 'SystemDisk.EncryptAlgorithm',
'in' => 'query',
'schema' => ['description' => 'The encryption algorithm used by the system cloud disk. Valid values:'."\n"
."\n"
.'- AES-256.'."\n"
.'- SM4-128.'."\n"
."\n"
.'Default value: AES-256.', 'type' => 'string', 'required' => false, 'example' => 'AES-256', 'title' => ''],
],
[
'name' => 'SystemDisk.ProvisionedIops',
'in' => 'query',
'schema' => ['description' => 'The provisioned IOPS (Input/Output Operations Per Second) performance metric of the system cloud disk.'."\n"
."\n"
.'> IOPS (Input/Output Operations Per Second) measures the number of read and write (output/input) operations that block storage can process per second.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'SystemDisk.BurstingEnabled',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable the burst (performance burst) feature for the system cloud disk. Valid values:'."\n"
."\n"
.'- true: enabled.'."\n"
.'- false: disabled.'."\n"
.'> This parameter is supported only when `SystemDisk.Category` is set to `cloud_auto`.'."\n"
."\n"
.'For more information, see [ESSD AutoPL cloud disks](~~368372~~).', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'ImageOptions.LoginAsNonRoot',
'in' => 'query',
'schema' => ['description' => 'Specifies whether the ECS instance uses the `ecs-user` user for logon. For more information, see [Manage the logon name of an ECS instance](~~388447~~). Valid values:'."\n"
."\n"
.'- true: yes.'."\n"
.'- false: no.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'DeletionProtection',
'in' => 'query',
'schema' => ['description' => 'The release protection property of the ECS instance. This property applies only to pay-as-you-go instances and specifies whether the instance can be directly released from the ECS console or by calling the DeleteInstance operation. Valid values:'."\n"
.'- true: enables release protection. The instance cannot be directly released from the ECS console or by calling the API. This prevents instances scaled out by Auto Scaling from being accidentally deleted.'."\n"
.'- false: disables release protection. The instance can be directly released from the ECS console or by calling the API.'."\n"
."\n"
.'Default value: false.'."\n"
."\n"
.'> This property does not affect normal scale-in activities of Auto Scaling. Pay-as-you-go instances with release protection enabled can still be released during scale-in activities.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'StorageSetId',
'in' => 'query',
'schema' => ['description' => 'The storage set ID.', 'type' => 'string', 'required' => false, 'example' => 'ss-bp67acfmxazb4p****', 'title' => ''],
],
[
'name' => 'StorageSetPartitionNumber',
'in' => 'query',
'schema' => ['description' => 'The maximum number of partitions in the storage set. The value must be an integer that is greater than or equal to 2.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'CustomPriorities',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The custom priorities of **ECS instance type + vSwitch** combinations.'."\n"
."\n"
.'> This parameter takes effect only when the `scaling policy` of the scaling group is set to `priority policy`.'."\n"
."\n"
.'When an ECS instance cannot be created by using the **ECS instance type + vSwitch** combination with a higher priority, Auto Scaling automatically selects the **ECS instance type + vSwitch** combination with the next priority to create the ECS instance.'."\n"
."\n"
.'> If you specify custom priorities for only some **ECS instance type + vSwitch** combinations, the unspecified combinations have lower priorities than the specified ones. The unspecified combinations are still prioritized based on the vSwitch order of the scaling group and the instance type order of the scaling configuration. For example, if the vSwitch order of the scaling group is vsw1 and vsw2, and the instance type order of the scaling configuration is type1 and type2, and the custom priority order is `["vsw2+type2", "vsw1+type2"]`, the final priority is `vsw2+type2` > `vsw1+type2` > `vsw1+type1` > `vsw2+type1`.',
'type' => 'array',
'items' => [
'description' => 'The custom priority of an **ECS instance type + vSwitch** combination.'."\n"
."\n"
.'><notice>This parameter takes effect only when the `scaling policy` of the scaling group is set to `priority policy`.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'The `CustomPriorities` field specifies the custom priority of an **ECS instance type + vSwitch** combination. The `CustomPriorities.N.InstanceType` parameter specifies the instance type of the ECS instance in the custom priority.'."\n"
."\n"
.'> This parameter takes effect only when the `scaling policy` of the scaling group is set to `priority policy`. The instance type (InstanceType) must be included in the instance type list of the scaling configuration.'."\n"
."\n"
.'When an ECS instance cannot be created by using the **ECS instance type + vSwitch** combination with a higher priority, Auto Scaling automatically selects the **ECS instance type + vSwitch** combination with the next priority to create the ECS instance.'."\n"
."\n"
.'> If you specify custom priorities for only some **ECS instance type + vSwitch** combinations, the unspecified combinations have lower priorities than the specified ones. The unspecified combinations are still prioritized based on the vSwitch order of the scaling group and the instance type order of the scaling configuration. For example, if the vSwitch order of the scaling group is vsw1 and vsw2, and the instance type order of the scaling configuration is type1 and type2, and the custom priority order is `["vsw2+type2", "vsw1+type2"]`, the final priority is `vsw2+type2` > `vsw1+type2` > `vsw1+type1` > `vsw2+type1`.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.large', 'title' => ''],
'VswitchId' => ['description' => 'The `CustomPriorities.N.VswitchId` parameter specifies the ID of the vSwitch in the custom priority.'."\n"
."\n"
.'> This parameter takes effect only when the `scaling policy` of the scaling group is set to `priority policy`. The vSwitch must be included in the vSwitch list of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp14zolna43z266bq****', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'NetworkInterfaces',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of elastic network interfaces (ENIs).',
'type' => 'array',
'items' => [
'description' => 'The elastic network interface (ENI) information.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'The type of the elastic network interface (ENI). When you use `NetworkInterfaces.N`, you must configure the primary network interface but cannot set the `SecurityGroupId` or `SecurityGroupIds.N` parameter at the same time. Valid values:'."\n"
."\n"
.'- Primary: primary network interface.'."\n"
."\n"
.'- Secondary: secondary network interface.'."\n"
."\n"
.'Default value: Secondary.', 'type' => 'string', 'required' => false, 'example' => 'Primary', 'title' => ''],
'NetworkInterfaceTrafficMode' => ['description' => 'The communication mode of the network interface. Valid values:'."\n"
."\n"
.'- Standard: uses the TCP communication mode.'."\n"
.'- HighPerformance: enables the Elastic RDMA Interface (ERI) and uses the RDMA communication mode.'."\n"
."\n"
.'Default value: Standard.'."\n"
.'> The number of elastic network interfaces (ENIs) in RDMA mode cannot exceed the limit of the instance family. For more information, see [Instance families](~~25378~~).', 'type' => 'string', 'required' => false, 'example' => 'HighPerformance', 'title' => ''],
'Ipv6AddressCount' => ['description' => 'The number of randomly generated IPv6 addresses allocated to the primary network interface. Note the following:'."\n"
."\n"
.'- This parameter takes effect only when `NetworkInterfaces.N.InstanceType` is set to `Primary`.'."\n"
.'- If `NetworkInterface.N.InstanceType` is set to `Secondary` or left empty, this parameter cannot be set.'."\n"
.'- After this parameter is set, you cannot set the `Ipv6AddressCount` parameter.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'SecurityGroupIds' => [
'description' => 'The IDs of one or more security groups to which the elastic network interface (ENI) belongs.',
'type' => 'array',
'items' => ['description' => 'The ID of a security group to which the elastic network interface (ENI) belongs. Note the following:'."\n"
."\n"
.'- If `NetworkInterfaces.N.InstanceType` is set to `Primary`, this parameter is required. In this case, this parameter has the same effect as `SecurityGroupIds.N`, but you cannot set `SecurityGroupId` or `SecurityGroupIds.N` at the same time.'."\n"
."\n"
.'- If `NetworkInterfaces.N.InstanceType` is set to `Secondary` or left empty, this parameter is optional. The default value is the security group of the ECS instance (the security group of the primary network interface).', 'type' => 'string', 'required' => false, 'example' => 'sg-uf6ij8dwxh****', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
'SecondaryPrivateIpAddressCount' => ['description' => 'The number of secondary private IPv4 addresses assigned to the network interface. Valid values: 1 to 49.'."\n"
."\n"
.'- The value cannot exceed the limit on the number of IP addresses for the instance type. For more information, see [Instance families](~~25378~~).'."\n"
.'- NetworkInterface.N.SecondaryPrivateIpAddressCount specifies the number of secondary private IPv4 addresses assigned to the network interface (excluding the primary private IP address of the network interface). The system randomly assigns addresses from the available CIDR block of the vSwitch (NetworkInterface.N.VSwitchId) associated with the network interface.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'DedicatedHostClusterId',
'in' => 'query',
'schema' => ['description' => 'The ID of the dedicated host cluster.', 'type' => 'string', 'required' => false, 'example' => 'dc-2zedxc67zqzt7lb4****', 'title' => ''],
],
[
'name' => 'SecurityOptions',
'in' => 'query',
'style' => 'flat',
'schema' => [
'description' => 'The security options.',
'type' => 'object',
'properties' => [
'ConfidentialComputingMode' => ['description' => 'The confidential computing mode. Valid values:'."\n"
.'- Enclave: the ECS instance uses Enclave to build a confidential computing environment. For more information, see [Build a confidential computing environment by using Enclave](~~203433~~).'."\n"
.'- TDX: builds a TDX confidential computing environment. For more information, see [Build a TDX confidential computing environment](~~479090~~).', 'type' => 'string', 'required' => false, 'example' => 'TDX', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'HttpEndpoint',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable the access channel for instance metadata. Valid values:'."\n"
."\n"
.'- enabled: enabled.'."\n"
.'- disabled: disabled.'."\n"
."\n"
.'Default value: enabled.'."\n"
."\n"
.'> For more information about instance metadata, see [Overview of instance metadata](~~108460~~).', 'type' => 'string', 'required' => false, 'example' => 'enabled', 'title' => ''],
],
[
'name' => 'HttpTokens',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to forcefully use the security-hardened mode (IMDSv2) when you access instance metadata. Valid values:'."\n"
."\n"
.'- optional: does not forcefully use the security-hardened mode.'."\n"
.'- required: forcefully uses the security-hardened mode. After this value is set, instance metadata cannot be accessed in normal mode.'."\n"
."\n"
.'Default value: optional.'."\n"
."\n"
.'> For more information about instance metadata access modes, see [Instance metadata access modes](~~108460~~).', 'type' => 'string', 'required' => false, 'example' => 'optional', 'title' => ''],
],
[
'name' => 'ResourcePoolOptions',
'in' => 'query',
'style' => 'flat',
'schema' => [
'description' => 'The resource pool policy used when instances are created. Note the following when you set this parameter:'."\n"
."\n"
.'- This parameter takes effect only when pay-as-you-go instances are created.'."\n"
."\n"
.'- This parameter cannot be specified together with PrivatePoolOptions.MatchCriteria or PrivatePoolOptions.Id.',
'type' => 'object',
'properties' => [
'Strategy' => ['description' => 'A resource pool includes private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools. You can select a resource pool when you start an instance. Valid values:'."\n"
."\n"
.'- PrivatePoolFirst: private pool first. When this policy is selected and ResourcePoolOptions.PrivatePoolIds is specified or PrivatePoolTags conditions are met, the corresponding private pools are used first. If no private pool is specified or the specified private pool has insufficient capacity, open private pools are automatically matched. If no matching private pool is available, the public pool is used to create instances.'."\n"
."\n"
.'- PrivatePoolOnly: private pool only. When this policy is selected, you must specify ResourcePoolOptions.PrivatePoolIds. If the specified private pool has insufficient capacity, the instance fails to start.'."\n"
."\n"
.'- PublicPoolFirst: public pool first. The public pool is used first to create instances. When the public pool has insufficient resources, private pools are used as supplements. Open private pools are automatically matched first. If no matching private pool is available, the Target private pools specified by ResourcePoolOptions.PrivatePoolIds or matching PrivatePoolTags conditions are used.'."\n"
.' > This policy is in invitational preview and is not available for use.'."\n"
."\n"
.'- None: no resource pool policy is used.'."\n"
."\n"
.'Default value: None.', 'type' => 'string', 'required' => false, 'example' => 'PrivatePoolFirst', 'title' => ''],
'PrivatePoolIds' => [
'description' => 'The IDs of private pools. A private pool ID is the ID of an elasticity assurance or capacity reservation. Only Target-mode private pool IDs can be specified. This parameter cannot be specified together with the PrivatePoolTags parameter.',
'type' => 'array',
'items' => ['description' => 'The private pool ID, which is the ID of an elasticity assurance or capacity reservation. Only Target-mode private pool IDs can be specified. This parameter cannot be specified together with the PrivatePoolTags parameter. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'eap-bp67acfmxazb4****', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'PrivatePoolTags' => [
'description' => 'Filters available Target private pools by tag. Valid values of N: 1 to 20.'."\n"
.'Note the following:'."\n"
."\n"
.'- When this parameter is set, the system filters only Target private pools that are associated with your account, match the specified tags, and meet the scaling group constraints such as zone and instance type.'."\n"
."\n"
.'- Tag matching rule: the private pool must match all specified tags.'."\n"
."\n"
.'- This parameter cannot be specified together with the PrivatePoolIds parameter.',
'type' => 'array',
'items' => [
'description' => 'Filters available Target private pools by tag. Valid values of N: 1 to 20.'."\n"
.'Note the following:'."\n"
."\n"
.'- When this parameter is set, the system filters only Target private pools that are associated with your account, match the specified tags, and meet the scaling group constraints such as zone and instance type.'."\n"
."\n"
.'- Tag matching rule: the private pool must match all specified tags.'."\n"
."\n"
.'- This parameter cannot be specified together with the PrivatePoolIds parameter.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key of the private pool.'."\n"
."\n"
.'This parameter is used to filter available Target private pools by tag. Valid values of N: 1 to 20. Note the following:'."\n"
."\n"
.'When this parameter is set, the system filters only Target private pools that are associated with your account, match the specified tags, and meet the scaling group constraints such as zone and instance type.'."\n"
.'Tag matching rule: the private pool must match all specified tags.'."\n"
.'This parameter cannot be specified together with the PrivatePoolIds parameter.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''],
'Value' => ['description' => 'The tag value of the private pool.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingConfigurationId' => ['description' => 'The scaling configuration ID.', 'type' => 'string', 'example' => 'asc-bp1ffogfdauy0nu5****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingConfigurationId\\": \\"asc-bp1ffogfdauy0nu5****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'gatewayOptions' => [
'gatewayProtocols' => [],
],
'title' => 'CreateScalingConfiguration',
'description' => '## Operation description'."\n"
."\n"
.'A scaling configuration specifies the ECS instance template used for elastic scale-out. The following instance configuration methods are supported:'."\n"
."\n"
.'- InstancePatternInfo.N: intelligent configuration mode. You do not need to specify specific instance types. You only need to specify the number of vCPU cores, memory size, instance family level, and maximum price based on your business requirements. The system automatically filters instance types that meet the requirements and preferentially selects the instance type with the lowest price to create ECS instances. This mode applies only to scaling groups whose network type is Virtual Private Cloud (VPC) and can effectively reduce the risk of insufficient instance type inventory during scale-out.'."\n"
."\n"
.'- InstanceType: specifies a single instance type.'."\n"
."\n"
.'- InstanceTypes.N: specifies multiple instance types.'."\n"
."\n"
.'- InstanceTypeOverride.N: specifies multiple instance types and configures weights for different instance types.'."\n"
."\n"
.'- Cpu and Memory: specifies the CPU and memory to define the range of instance types. Auto Scaling determines the set of available instance types based on factors such as I/O optimization and zones, and creates instances with the lowest price based on price sorting. This method applies only when the scaling policy of the scaling group is cost optimization and no instance type is specified in the scaling configuration.'."\n"
."\n"
.'- You can use either of the following methods to configure the primary network interface. However, you can use only one method per API call. Using both methods simultaneously causes the API call to fail and returns an error message.'."\n"
.' - Use parameters such as `SecurityGroupId`, `SecurityGroupIds.N`, and `Ipv6AddressCount` to directly configure the primary network interface.'."\n"
.' - Use `NetworkInterfaces.N` to configure both the primary and secondary network interfaces. When you use this parameter, you must configure the primary network interface. When `NetworkInterfaces.N.InstanceType` is set to `Primary`, the primary network interface is configured. When `NetworkInterfaces.N.InstanceType` is set to `Secondary` or left empty, a secondary network interface is configured.'."\n"
."\n"
.'> The four methods InstanceType, InstanceTypes.N, InstanceTypeOverride.N, and Cpu and Memory cannot be specified simultaneously. However, InstanceType or InstanceTypes.N can be specified together with InstancePatternInfo.N. When specified together with InstancePatternInfo.N, Auto Scaling preferentially uses the instance types you specified for scale-out. When the specified instance types are out of stock, instance types that match the InstancePatternInfo.N configuration are used.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InstanceType.Mismatch|The specified scaling configuration and existing active scaling configuration have different instance type.|The instance type of the specified scaling configuration does not match the instance type of the current scaling configuration.|'."\n"
.'|404|InvalidDataDiskSnapshotId.NotFound|Snapshot "XXX" does not exist.|The specified snapshot does not exist.|'."\n"
.'|400|InvalidDataDiskSnapshotId.SizeNotSupported|The capacity of snapshot "XXX" exceeds the size limit of the specified disk category.|The size of the specified snapshot exceeds the size limit of the cloud disk.|'."\n"
.'|403|InvalidDevice.InUse|Device "XXX" has been occupied.|The data cloud disk mount point is duplicated.|'."\n"
.'|400|InvalidImageId.InstanceTypeMismatch|The specified image does not support the specified instance type.|The specified image cannot be used with the specified instance type.|'."\n"
.'|404|InvalidImageId.NotFound|The specified image does not exist.|The specified image does not exist in this account.|'."\n"
.'|400|InvalidKeyPairName.NotFound|The specified KeyPairName does not exist in our records.|The specified KeyPairName does not exist.|'."\n"
.'|400|InvalidNetworkType.ForRAMRole|RAMRole can\'t be used For classic instance.|The RamRoleName parameter is not supported for classic network instances.|'."\n"
.'|400|InvalidParameter|The specified value of parameter KeyPairName is not valid.|The KeyPairName parameter is not supported for Windows instances.|'."\n"
.'|400|InvalidParameter.Conflict|The value of parameter SystemDisk.Category and parameter DataDisk.N.Category are conflict.|The specified system cloud disk type conflicts with the data cloud disk type.|'."\n"
.'|400|InvalidRamRole.NotFound|The specified RamRoleName does not exist.|The specified RamRoleName does not exist.|'."\n"
.'|400|InvalidScalingConfigurationName.Duplicate|The specified value of parameter ScalingConfigurationName is duplicated.|A scaling configuration with the same name already exists.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in this account.|'."\n"
.'|400|InvalidSecurityGroupId.IncorrectNetworkType|The network type of specified security Group does not support this action.|The network type of the specified security group does not match the network type of the scaling group.|'."\n"
.'|404|InvalidSecurityGroupId.NotFound|The specified security group does not exist.|The specified security group does not exist in this account.|'."\n"
.'|400|InvalidSecurityGroupId.VPCMismatch|The specified security group and the specified virtual switch are not in the same VPC.|The specified security group and the specified vSwitch do not belong to the same VPC.|'."\n"
.'|403|InvalidSnapshot.TooOld|This operation is denied because the specified snapshot is created before 2013-07-15.|The snapshot was created on or before July 15, 2013. The call is rejected.|'."\n"
.'|403|InvalidSystemDiskCategory.ValueUnauthorized|The system disk category is not authorized.|You do not have the permission to create a system cloud disk of the specified type.|'."\n"
.'|400|InvalidUserData.Base64FormatInvalid|The specified parameter UserData must be base64 encoded.|The UserData parameter does not comply with the Base64 encoding specification.|'."\n"
.'|400|InvalidUserData.SizeExceeded|The specified parameter UserData exceeds the size.|The specified UserData is too long.|'."\n"
.'|403|QuotaExceeded.EphemeralDiskSize|Ephemeral disk size quota exceeded.|The total capacity of local data cloud disks exceeds 2 TiB (2048 GiB).|'."\n"
.'|400|QuotaExceeded.ScalingConfiguration|Scaling configuration quota exceeded in the specified scaling group.|The number of scaling configurations has reached the upper limit.|'."\n"
.'|400|QuotaExceeded.SecurityGroupInstance|Instance quota exceeded in the specified security group.|The number of ECS instances in the specified security group has reached the upper limit.|'."\n"
.'|400|InvalidSecurityGroupId.IncorrectType|The managed security group "XXX" is not supported.|The managed security group "XXX" is not supported.|',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScalingConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateScalingConfiguration',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'CreateScalingGroup' => [
'summary' => 'To automatically increase or decrease the number of instances of a specified type based on business changes and policies, you can call the CreateScalingGroup API to create a scaling group that automatically adjusts your business computing capacity (i.e., the number of instances).',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92658',
'abilityTreeNodes' => ['FEATUREessGIWHSQ'],
],
'parameters' => [
[
'name' => 'ScalingGroupName',
'in' => 'query',
'schema' => ['description' => 'The name of the scaling group. The name must be unique within the same region.'."\n"
."\n"
.'The name must be 2 to 64 characters in length and can contain letters, digits, underscores (_), hyphens (-), and periods (.). It must start with a digit, letter, or Chinese character.'."\n"
."\n"
.'Default value: the value of ScalingGroupId.', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'LaunchTemplateId',
'in' => 'query',
'schema' => ['description' => 'The ID of the launch template from which the scaling group obtains launch configuration information.', 'type' => 'string', 'required' => false, 'example' => 'lt-m5e3ofjr1zn1aw7****', 'title' => ''],
],
[
'name' => 'LaunchTemplateVersion',
'in' => 'query',
'schema' => ['description' => 'The version of the launch template. Valid values:'."\n"
."\n"
.'- A fixed template version number.'."\n"
.'- Default: always uses the default version of the template.'."\n"
.'- Latest: always uses the latest version of the template.', 'type' => 'string', 'required' => false, 'example' => 'Default', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => 'The ID of the instance. When creating a scaling group, the required configuration information is obtained from the specified instance, and a scaling configuration is automatically created.', 'type' => 'string', 'required' => false, 'example' => 'i-28wt4****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group. For more information, see [Regions and zones](~~40654~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'MinSize',
'in' => 'query',
'schema' => ['description' => 'The minimum number of instances in the scaling group. When the number of instances in the scaling group is less than the value of `MinSize`, Auto Scaling automatically creates instances.'."\n"
."\n"
.'> The value of `MinSize` must be less than or equal to the value of `MaxSize`.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '2', 'title' => ''],
],
[
'name' => 'MaxSize',
'in' => 'query',
'schema' => ['description' => 'The maximum number of instances in the scaling group. When the number of instances in the scaling group is greater than the value of `MaxSize`, Auto Scaling automatically removes instances.'."\n"
."\n"
.'<props="china">The value range of MaxSize depends on your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value for **Maximum number of instances that can be set for a single scaling group**.</props>'."\n"
."\n"
.'<props="intl">The value range of MaxSize depends on your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value for **Maximum number of instances that can be set for a single scaling group**.</props>'."\n"
."\n"
.'<props="partner">The value range of MaxSize depends on your Auto Scaling usage. Go to Quota Center to view the quota value for **Maximum number of instances that can be set for a single scaling group**.</props>'."\n"
."\n"
.'If the quota value for **Maximum number of instances that can be set for a single scaling group** is 2000, the value range of `MaxSize` is 0 to 2000.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '20', 'title' => ''],
],
[
'name' => 'DefaultCooldown',
'in' => 'query',
'schema' => ['description' => 'The cooldown period after a scaling activity (adding or removing instances) ends. Valid values: 0 to 86400. Unit: seconds.'."\n"
."\n"
.'During the cooldown period, the scaling group does not execute any other scaling activities. This only applies to scaling activities triggered by CloudMonitor alarm tasks.'."\n"
."\n"
.'Default value: 300.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '300', 'title' => ''],
],
[
'name' => 'LoadBalancerIds',
'in' => 'query',
'schema' => ['description' => 'The IDs of Classic Load Balancer (CLB, formerly SLB) instances. The value can be a JSON array of multiple CLB instance IDs, separated by commas (,).'."\n"
."\n"
.'<props="china">The total number of CLB instances that can be associated with a single scaling group depends on your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value for **Total number of load balancer instances that can be associated with a single scaling group**.</props>'."\n"
."\n"
.'<props="intl">The total number of CLB instances that can be associated with a single scaling group depends on your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value for **Total number of load balancer instances that can be associated with a single scaling group**.</props>'."\n"
."\n"
.'<props="partner">The total number of CLB instances that can be associated with a single scaling group depends on your Auto Scaling usage. Go to Quota Center to view the quota value for **Total number of load balancer instances that can be associated with a single scaling group**.</props>', 'type' => 'string', 'required' => false, 'example' => '["lb-bp1u7etiogg38yvwz****", "lb-bp168cqrux9ai9l7f****", "lb-bp1jv3m9zvj22ufxp****"]', 'title' => ''],
],
[
'name' => 'DBInstanceIds',
'in' => 'query',
'schema' => ['description' => 'The IDs of RDS instances. The value can be a JSON array of multiple RDS instance IDs, separated by commas (,).'."\n"
."\n"
.'<props="china">The total number of RDS instances that can be associated with a single scaling group depends on your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value for **Total number of RDS instances that can be associated with a single scaling group**.</props>'."\n"
."\n"
.'<props="intl">The total number of RDS instances that can be associated with a single scaling group depends on your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value for **Total number of RDS instances that can be associated with a single scaling group**.</props>'."\n"
."\n"
.'<props="partner">The total number of RDS instances that can be associated with a single scaling group depends on your Auto Scaling usage. Go to Quota Center to view the quota value for **Total number of RDS instances that can be associated with a single scaling group**.</props>', 'type' => 'string', 'required' => false, 'example' => '["rm-bp142f86de0t7****", "rm-bp18l1z42ar4o****", "rm-bp1lqr97h4aqk****"]', 'title' => ''],
],
[
'name' => 'RemovalPolicy.1',
'in' => 'query',
'schema' => ['description' => 'The first-stage filter policy for instance removal. It cannot have the same value as RemovalPolicy.2 or RemovalPolicy.3. Valid values:'."\n"
."\n"
.'- OldestInstance: removes the instance that was earliest added to the scaling group.'."\n"
.'- NewestInstance: removes the instance that was most recently added to the scaling group.'."\n"
.'- OldestScalingConfiguration: removes the instance created from the earliest scaling configuration.'."\n"
.'- CustomPolicy: removes ECS instances based on a custom scale-in policy Function.'."\n"
."\n"
.'The scaling configuration mentioned in OldestScalingConfiguration refers to the source of instance configuration information within the group, including scaling configurations and launch templates. CustomPolicy can only be set as the first removal policy. When specifying CustomPolicy, the CustomPolicyARN parameter must also be specified.'."\n"
."\n"
.'> The removal of ECS instances from a scaling group is also affected by the scaling group\'s multi-zone scaling policy (MultiAZPolicy). For more information, see [Set combination policies for instance removal](~~254822~~).', 'type' => 'string', 'required' => false, 'example' => 'OldestScalingConfiguration', 'title' => ''],
],
[
'name' => 'RemovalPolicy.2',
'in' => 'query',
'schema' => ['description' => 'The second-stage filter policy for instance removal. It cannot have the same value as RemovalPolicy.1 or RemovalPolicy.3. Valid values:'."\n"
."\n"
.'- OldestInstance: removes the instance that was earliest added to the scaling group.'."\n"
.'- NewestInstance: removes the instance that was most recently added to the scaling group.'."\n"
.'- OldestScalingConfiguration: removes the instance created from the earliest scaling configuration.'."\n"
."\n"
.'> The removal of ECS instances from a scaling group is also affected by the scaling group\'s multi-zone scaling policy (MultiAZPolicy). For more information, see [Set combination policies for instance removal](~~254822~~).', 'type' => 'string', 'required' => false, 'example' => 'OldestInstance', 'title' => ''],
],
[
'name' => 'RemovalPolicy.3',
'in' => 'query',
'schema' => ['description' => 'The third-stage filter policy for instance removal. It cannot have the same value as RemovalPolicy.1 or RemovalPolicy.2. Valid values:'."\n"
."\n"
.'- OldestInstance: removes the instance that was earliest added to the scaling group.'."\n"
.'- NewestInstance: removes the instance that was most recently added to the scaling group.'."\n"
.'- OldestScalingConfiguration: removes the instance created from the earliest scaling configuration.'."\n"
."\n"
.'> The removal of ECS instances from a scaling group is also affected by the scaling group\'s multi-zone scaling policy (MultiAZPolicy). For more information, see [Set combination policies for instance removal](~~254822~~).', 'type' => 'string', 'required' => false, 'example' => 'NewestInstance', 'title' => ''],
],
[
'name' => 'VSwitchId',
'in' => 'query',
'schema' => ['description' => 'The ID of the vSwitch. After this parameter is specified, the network type of the scaling group is VPC.'."\n"
."\n"
.'> When neither the VSwitchId nor VSwitchIds.N parameter is specified for the scaling group, the network type of the scaling group defaults to classic network.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp14zolna43z266bq****', 'title' => ''],
],
[
'name' => 'MultiAZPolicy',
'in' => 'query',
'schema' => ['description' => 'The ECS instance scaling policy for the multi-zone scaling group. Valid values:'."\n"
."\n"
.'- PRIORITY: The vSwitch specified first (VSwitchIds.N) has the highest priority. Auto Scaling preferentially attempts to scale in the zone of the highest-priority vSwitch. If scaling cannot be performed, it automatically attempts to scale in the zone of the next highest-priority vSwitch.'."\n"
.'- COST_OPTIMIZED: During scale-out, Auto Scaling attempts to create ECS instances in order of vCPU unit price from lowest to highest. During scale-in, it attempts to remove ECS instances in order of vCPU unit price from highest to lowest. When the scaling configuration specifies multiple instance types with preemptible billing, preemptible instances are created first. You can use the CompensateWithOnDemand parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory or other reasons.'."\n"
."\n"
.' > COST_OPTIMIZED only takes effect when the scaling configuration specifies multiple instance types or uses preemptible instances.'."\n"
.'- BALANCE: ECS instances are evenly distributed across the multiple zones specified by the scaling group. If zones become unbalanced due to insufficient inventory, you can call the [RebalanceInstance](~~71516~~) API to rebalance resources.'."\n"
.'- COMPOSABLE: A composite policy that allows you to combine the above multi-zone scaling group ECS instance scaling policies as needed, or further specify parameters for more granular control over the scaling group capacity.'."\n"
."\n"
.'Default value: PRIORITY.', 'type' => 'string', 'required' => false, 'example' => 'PRIORITY', 'title' => ''],
],
[
'name' => 'HealthCheckType',
'in' => 'query',
'schema' => ['description' => 'The health check mode of the scaling group. Valid values:'."\n"
."\n"
.'- NONE: No health check is performed.'."\n"
.'- ECS: Health checks are performed on instances in the scaling group (both ECS-type and ECI-type scaling groups use this value to enable instance health checks).'."\n"
.'- LOAD_BALANCER: Instance health status is determined based on load balancer health check results (CLB load balancer type is currently not supported).'."\n"
."\n"
.'Default value: ECS.'."\n"
."\n"
.'> To enable both instance health checks and load balancer health checks simultaneously, use the `HealthCheckTypes` parameter.', 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''],
],
[
'name' => 'ScalingPolicy',
'in' => 'query',
'schema' => ['description' => 'The reclaim mode of the scaling group. Valid values:'."\n"
."\n"
.'- recycle: The reclaim mode of the scaling group is stop and reclaim mode.'."\n"
.'- release: The reclaim mode of the scaling group is release mode.'."\n"
.'- forcerelease: The reclaim mode of the scaling group is force release mode.'."\n"
."\n"
.' > After selecting `forcerelease`, the system will forcibly release `Running` instances during scale-in activities. Force releasing an instance is equivalent to a power-off operation, which will erase temporary data in the instance\'s memory and storage. Data cannot be recovered. Please use this option with caution.'."\n"
."\n"
.'- forcerecycle: The reclaim mode of the scaling group is force stop and reclaim mode.'."\n"
."\n"
.' > After selecting `forcerecycle`, the system will forcibly shut down `Running` instances during scale-in activities. Force shutdown is equivalent to a power-off operation, which will erase temporary data in the instance\'s memory and storage. Data cannot be recovered. Please use this option with caution.'."\n"
."\n"
.'ScalingPolicy specifies the reclaim mode of the scaling group, but the specific action when an instance is removed from the scaling group is determined by the RemovePolicy parameter of RemoveInstances. For more information, see [RemoveInstances](~~25955~~).', 'type' => 'string', 'required' => false, 'example' => 'recycle', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'Generate a unique parameter value from your client, ensuring that the value is unique across different requests. Only ASCII characters are supported. The value cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'OnDemandBaseCapacity',
'in' => 'query',
'schema' => ['description' => 'The minimum number of pay-as-you-go instances required in the scaling group. Valid values: 0 to 1000. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.'."\n"
."\n"
.'When the `MultiAZPolicy` parameter is set to `COMPOSABLE`, the default value is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''],
],
[
'name' => 'OnDemandPercentageAboveBaseCapacity',
'in' => 'query',
'schema' => ['description' => 'The percentage of pay-as-you-go instances among the excess instances after the minimum number of pay-as-you-go instances (OnDemandBaseCapacity) is met. Valid values: 0 to 100.'."\n"
."\n"
.'When the `MultiAZPolicy` parameter is set to `COMPOSABLE`, the default value is 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
],
[
'name' => 'SpotInstanceRemedy',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable supplementing preemptible instances. When enabled, if a system message is received indicating that a preemptible instance will be reclaimed, the scaling group will attempt to create a new instance to replace the preemptible instance that is about to be reclaimed.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'CompensateWithOnDemand',
'in' => 'query',
'schema' => ['description' => 'When `MultiAZPolicy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet the ECS instance quantity requirement when preemptible instances cannot be created due to price, inventory, or other reasons. Valid values:'."\n"
."\n"
.'- true: Allowed.'."\n"
.'- false: Not allowed.'."\n"
."\n"
.'Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'SpotInstancePools',
'in' => 'query',
'schema' => ['description' => 'The number of available instance types. The scaling group creates preemptible instances evenly across multiple types with the lowest cost. Valid values: 1 to 10.'."\n"
."\n"
.'When the `MultiAZPolicy` parameter is set to `COMPOSABLE`, the default value is 2.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
],
[
'name' => 'DesiredCapacity',
'in' => 'query',
'schema' => ['description' => 'The expected number of ECS instances in the scaling group. The scaling group automatically maintains the number of ECS instances at the desired capacity. The value must not be greater than MaxSize or less than MinSize.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
],
[
'name' => 'GroupDeletionProtection',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable deletion protection for the scaling group. Valid values:'."\n"
."\n"
.'- true: Enables deletion protection for the scaling group. The scaling group cannot be deleted.'."\n"
.'- false: Disables deletion protection for the scaling group.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'GroupType',
'in' => 'query',
'schema' => ['description' => 'The type of instances managed by the scaling group. Valid values:'."\n"
."\n"
.'- ECS: The instances managed in the scaling group are ECS instances.'."\n"
.'- ECI: The instances managed in the scaling group are ECI instances.'."\n"
."\n"
.'Default value: ECS.', 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''],
],
[
'name' => 'ContainerGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the ECI instance, i.e., the container group ID.', 'type' => 'string', 'required' => false, 'example' => 'eci-uf6fonnghi50u374****', 'title' => ''],
],
[
'name' => 'VSwitchIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The IDs of one or more vSwitches. If you use the VSwitchIds parameter, the VSwitchId parameter is ignored. After this parameter is specified, the network type of the scaling group is VPC.'."\n"
."\n"
.'When multiple vSwitches are specified:'."\n"
."\n"
.'- They must belong to the same VPC.'."\n"
.'- They can belong to different zones.'."\n"
.'- The priority of vSwitches is sorted in ascending numerical order, with 1 indicating the highest priority. When an ECS instance cannot be created in the zone of the highest-priority vSwitch, the next highest-priority vSwitch is automatically selected.'."\n"
."\n"
.'> When neither the VSwitchId nor VSwitchIds parameter is specified for the scaling group, the network type of the scaling group defaults to classic network.',
'type' => 'array',
'items' => ['description' => 'The IDs of one or more vSwitches. If you use the VSwitchIds.N parameter, the VSwitchId parameter is ignored. After this parameter is specified, the network type of the scaling group is VPC.'."\n"
."\n"
.'When multiple vSwitches are specified:'."\n"
."\n"
.'- They must belong to the same VPC.'."\n"
.'- They can belong to different zones.'."\n"
.'- The priority of vSwitches is sorted in ascending numerical order, with 1 indicating the highest priority. When an ECS instance cannot be created in the zone of the highest-priority vSwitch, the next highest-priority vSwitch is automatically selected.'."\n"
."\n"
.'> When neither the VSwitchId nor VSwitchIds.N parameter is specified for the scaling group, the network type of the scaling group defaults to classic network.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp14zolna43z266bq****', 'title' => ''],
'required' => false,
'example' => 'vsw-bp14zolna43z266bq****',
'maxItems' => 8,
'title' => '',
],
],
[
'name' => 'LifecycleHook',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The lifecycle hook information.',
'type' => 'array',
'items' => [
'description' => 'The lifecycle hook information.',
'type' => 'object',
'properties' => [
'DefaultResult' => ['description' => 'The action to take after the wait state ends. Valid values:'."\n"
."\n"
.'- CONTINUE: continues to respond to the scale-out activity or continues to respond to the scale-in activity.'."\n"
.'- ABANDON: directly releases the ECS instance created during the scale-out activity, or directly removes the ECS instance from the scaling group during the scale-in activity.'."\n"
."\n"
.'When a scale-in activity (SCALE_IN) triggers multiple lifecycle hooks, and the wait state of a lifecycle hook with DefaultResult set to ABANDON ends, all other corresponding wait states are ended early. In other cases, the action is determined by the last lifecycle hook whose wait state ends.'."\n"
."\n"
.'Default value: CONTINUE.', 'type' => 'string', 'required' => false, 'example' => 'CONTINUE', 'title' => ''],
'LifecycleHookName' => ['description' => 'The name of the lifecycle hook. Once specified, it cannot be modified. If not specified, the default value is the same as the lifecycle hook ID.', 'type' => 'string', 'required' => false, 'example' => 'lifecyclehook****', 'title' => ''],
'LifecycleTransition' => ['description' => 'The type of scaling activity to which the lifecycle hook applies. Valid values:'."\n"
."\n"
.'- SCALE_OUT: scale-out activity of the scaling group.'."\n"
.'- SCALE_IN: scale-in activity of the scaling group.'."\n"
."\n"
.'> If a lifecycle hook is specified for the scaling group, this parameter is required. Other related parameters are optional.', 'type' => 'string', 'required' => false, 'example' => 'SCALE_OUT', 'title' => ''],
'NotificationMetadata' => ['description' => 'The fixed string information for the wait state of the scaling activity. The parameter value cannot exceed 128 characters in length. Each time Auto Scaling sends a message to the notification object, it also sends the pre-specified NotificationMetadata parameter value, which facilitates managing and identifying different categories of notification information. This parameter only takes effect when the NotificationArn parameter is also specified.', 'type' => 'string', 'required' => false, 'example' => 'Test', 'title' => ''],
'NotificationArn' => ['description' => 'The identifier of the notification object for the lifecycle hook. Supports queues or topics of Simple Message Queue (formerly MNS). The parameter value format is: acs:ess:{region}:{account-id}:{resource-relative-id}.'."\n"
."\n"
.'- region: the region where the scaling group resides.'."\n"
.'- account-id: the Alibaba Cloud account ID.'."\n"
."\n"
.'Examples:'."\n"
."\n"
.'- MNS queue: acs:ess:{region}:{account-id}:queue/{queuename}.'."\n"
.'- MNS topic: acs:ess:{region}:{account-id}:topic/{topicname}.', 'type' => 'string', 'required' => false, 'example' => 'acs:ess:cn-hangzhou:1111111111:queue/queue2', 'title' => ''],
'HeartbeatTimeout' => ['description' => 'The wait time set by the lifecycle hook for the scaling group activity. After the wait state times out, the next action is executed. Valid values: 30 to 21600. Unit: seconds.'."\n"
."\n"
.'After creating a lifecycle hook, you can call [RecordLifecycleActionHeartbeat](~~73846~~) to extend the wait time of the ECS instance, or call [CompleteLifecycleAction](~~73847~~) to end the wait state of the scaling activity early.'."\n"
."\n"
.'Default value: 600.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'VServerGroup',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The information collection of vServer groups associated with the scaling group.',
'type' => 'array',
'items' => [
'description' => 'The information collection of vServer groups associated with the scaling group.',
'type' => 'object',
'properties' => [
'VServerGroupAttribute' => [
'description' => 'The backend server group attributes.',
'type' => 'array',
'items' => [
'description' => 'The backend server group attributes.',
'type' => 'object',
'properties' => [
'VServerGroupId' => ['description' => 'The ID of the vServer group.'."\n"
."\n"
.'For more information, see [AttachVServerGroups](~~98983~~).', 'type' => 'string', 'required' => false, 'example' => 'rsp-bp1443g77****', 'title' => ''],
'Weight' => ['description' => 'The weight of the instance as a backend server after Auto Scaling adds the instance to the vServer group. A higher weight results in more access requests being distributed to the instance. If the weight is 0, the instance does not receive any access requests. Valid values: 0 to 100. Default value: 50.'."\n"
."\n"
.'For more information, see [AttachVServerGroups](~~98983~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
'Port' => ['description' => 'The port number used by the instance after Auto Scaling adds the instance to the vServer group. Valid values: 1 to 65535.'."\n"
."\n"
.'For more information, see [AttachVServerGroups](~~98983~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '22', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
'LoadBalancerId' => ['description' => 'The ID of the CLB (formerly SLB) instance to which the vServer group belongs.'."\n"
."\n"
.'For more information, see [AttachVServerGroups](~~98983~~).', 'type' => 'string', 'required' => false, 'example' => 'lb-bp1u7etiogg38yvwz****', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The tag information collection of the scaling group.',
'type' => 'array',
'items' => [
'description' => 'The tag information collection of the scaling group.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'Department', 'title' => ''],
'Value' => ['description' => 'The tag value of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'Finance', 'title' => ''],
'Propagate' => ['description' => 'Specifies whether the tag is a propagatable tag. Valid values:'."\n"
.'- true: The tag on the scaling group is only propagated to newly created instances, and is not propagated to instances already running in the scaling group.'."\n"
.'- false: The tag on the scaling group is not propagated to instances.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
[
'name' => 'LaunchTemplateOverride',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The launch template override information.',
'type' => 'array',
'items' => [
'description' => 'The launch template override information.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'When you need the scaling group to scale based on instance type capacity, specify both this parameter and LaunchTemplateOverride.N.WeightedCapacity.'."\n"
."\n"
.'This parameter specifies the instance type and overrides the instance type in the launch template. You can specify N values for this parameter to extend the launch template to support N instance types. Valid values of N: 1 to 20.'."\n"
.'> This parameter only takes effect when the LaunchTemplateId parameter specifies a launch template.'."\n"
."\n"
.'Valid values of InstanceType: ECS instance types that are available for purchase. For more information, see [Instance families](~~25378~~).', 'type' => 'string', 'required' => false, 'example' => 'ecs.c5.xlarge', 'title' => ''],
'WeightedCapacity' => ['description' => 'When you need the scaling group to scale based on instance type capacity, after specifying LaunchTemplateOverride.N.InstanceType, also specify this parameter. The two parameters correspond one-to-one, and N must be consistent.'."\n"
."\n"
.'This parameter specifies the weight of the instance type, i.e., the capacity size that a single instance of this type represents in the scaling group. A higher weight means fewer instances of this type are needed to meet the desired capacity.'."\n"
."\n"
.'Since performance metrics such as the number of vCPUs and memory size vary across instance types, you can configure different weights for different instance types based on your needs.'."\n"
."\n"
.'Example:'."\n"
."\n"
.'- Current capacity: 0.'."\n"
.'- Desired capacity: 6.'."\n"
.'- ecs.c5.xlarge capacity: 4.'."\n"
."\n"
.'To meet the desired capacity, the scaling group will scale out 2 ecs.c5.xlarge instances.'."\n"
."\n"
.'> During scale-out, the capacity of the scaling group must not exceed the sum of the maximum capacity (MaxSize) and the maximum weight of the instance types.'."\n"
."\n"
.'Valid values of WeightedCapacity: 1 to 500.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4', 'title' => ''],
'SpotPriceLimit' => ['description' => 'The maximum bid price for the instance type specified in the launch template override (`LaunchTemplateOverride.N.InstanceType`). You can specify N values for this parameter to extend the launch template to support N instance types. Valid values of N: 1 to 20.'."\n"
.'> This parameter only takes effect when the `LaunchTemplateId` parameter specifies a launch template.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.025', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'AlbServerGroup',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The information collection of ALB server groups.',
'type' => 'array',
'items' => [
'description' => 'The information collection of ALB server groups.',
'type' => 'object',
'properties' => [
'AlbServerGroupId' => ['description' => 'The ID of the ALB server group.'."\n"
."\n"
.'N is the sequence number of the ALB server group. The number of ALB server groups that can be associated with a single scaling group is limited. To view or request an increase in the quota value, go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas).', 'type' => 'string', 'required' => false, 'example' => 'sgp-ddwb0y0g6y9bjm****', 'title' => ''],
'Weight' => ['description' => 'The weight of the instance as a backend server after Auto Scaling adds the instance to the ALB server group. A higher weight results in more access requests being distributed to the instance. If the weight is 0, the instance does not receive any access requests. Valid values: 0 to 100.'."\n"
."\n"
.'N is the sequence number of the ALB server group.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
'Port' => ['description' => 'The port number used by the instance after Auto Scaling adds the instance to the ALB server group. Valid values: 1 to 65535.'."\n"
."\n"
.'N is the sequence number of the ALB server group.'."\n"
."\n"
.'> If N is the same but Port is different, the system will associate multiple ALB server groups with different Ports to the scaling group by default.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '22', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'ServerGroup',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The information collection of load balancer server groups.'."\n"
.'> Setting the same server group information in both `AlbServerGroups` and `ServerGroups` simultaneously is not supported.',
'type' => 'array',
'items' => [
'description' => 'The information collection of load balancer server groups.',
'type' => 'object',
'properties' => [
'ServerGroupId' => ['description' => 'The ID of the server group.', 'type' => 'string', 'required' => false, 'example' => 'sgp-5yc3bd9lfyh*****', 'title' => ''],
'Type' => ['description' => 'The type of the server group. Valid values:'."\n"
."\n"
.'- ALB: Application Load Balancer.'."\n"
.'- NLB: Network Load Balancer.'."\n"
.'- GWLB: Gateway Load Balancer.', 'type' => 'string', 'required' => false, 'example' => 'ALB', 'title' => ''],
'Weight' => ['description' => 'The weight of the instance as a backend server after Auto Scaling adds the instance to the server group. Valid values: 0 to 100.'."\n"
."\n"
.'A higher weight results in more access requests being distributed to the instance. If the weight is 0, the instance does not receive any access requests.'."\n"
."\n"
.'> This parameter is required for ALB and NLB type load balancers. This parameter cannot be set for GWLB type load balancers.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
'Port' => ['description' => 'The port number used by the instance after Auto Scaling adds the instance to the server group. Valid values: 1 to 65535.'."\n"
."\n"
.'> This parameter is required for ALB and NLB type load balancers. This parameter cannot be set for GWLB type load balancers, and the default value is 6081.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '22', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'AzBalance',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to evenly distribute the capacity of the scaling group across multiple zones (only takes effect when the `MultiAZPolicy` parameter is set to `COMPOSABLE`). Valid values:'."\n"
.'- true: The capacity of the scaling group is evenly distributed across multiple zones.'."\n"
.'- false: The capacity of the scaling group is not evenly distributed across multiple zones.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'AllocationStrategy',
'in' => 'query',
'schema' => ['description' => 'The capacity allocation strategy that determines how the scaling group selects available instance types to meet capacity requirements. The capacity distribution strategy applies to both pay-as-you-go and preemptible capacity (only takes effect when the `MultiAZPolicy` parameter is set to `COMPOSABLE`). Valid values:'."\n"
."\n"
.'- priority: Instances are created in the order of configured instance types.'."\n"
.'- lowestPrice: Instances are created in order of unit vCPU price from lowest to highest.'."\n"
."\n"
.'Default value: priority.', 'type' => 'string', 'required' => false, 'example' => 'priority', 'title' => ''],
],
[
'name' => 'SpotAllocationStrategy',
'in' => 'query',
'schema' => ['description' => 'The preemptible capacity distribution strategy. You can use this parameter to separately specify the distribution strategy for preemptible capacity (only takes effect when the `MultiAZPolicy` parameter is set to `COMPOSABLE`). Valid values:'."\n"
."\n"
.'- priority: Instances are created in the order of configured instance types.'."\n"
.'- lowestPrice: Instances are created in order of unit vCPU price from lowest to highest.'."\n"
."\n"
.'Default value: priority.', 'type' => 'string', 'required' => false, 'example' => 'lowestPrice', 'title' => ''],
],
[
'name' => 'MaxInstanceLifetime',
'in' => 'query',
'schema' => ['description' => 'The maximum time that an instance can survive in the scaling group. Unit: seconds.'."\n"
."\n"
.'Valid values: `[86400, Integer.maxValue]`.'."\n"
."\n"
.'Default value: null.'."\n"
.'> This parameter is not supported for ECI-type scaling groups or scaling groups with the stop-and-no-charge feature enabled.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'null', 'title' => ''],
],
[
'name' => 'CustomPolicyARN',
'in' => 'query',
'schema' => ['description' => 'The ARN of the custom scale-in policy Function. This parameter only takes effect when the first removal policy in RemovalPolicies is configured as CustomPolicy.', 'type' => 'string', 'required' => false, 'example' => 'acs:fc:cn-zhangjiakou:16145688****:services/ess_custom_terminate_policy.LATEST/functions/ess_custom_terminate_policy_name', 'title' => ''],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the resource group to which the newly created scaling group belongs.'."\n"
.'> The newly created scaling group is assigned to the specified resource group. If this parameter is not specified, the scaling group is assigned to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-123****', 'title' => ''],
],
[
'name' => 'LoadBalancerConfig',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of CLB (formerly SLB) configurations.',
'type' => 'array',
'items' => [
'description' => 'The list of CLB (formerly SLB) configurations.',
'type' => 'object',
'properties' => [
'LoadBalancerId' => ['description' => 'The ID of the CLB (formerly SLB) instance.', 'type' => 'string', 'required' => false, 'example' => '147b46d767c-cn-qingdao-cm5****', 'title' => ''],
'Weight' => ['description' => 'The weight of the instance as a backend server after Auto Scaling adds the instance to the CLB (formerly SLB) server group. A higher weight results in more access requests being distributed to the instance. If the weight is 0, the instance does not receive any access requests.'."\n"
."\n"
.'Valid values: 0 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'HealthCheckTypes',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The health check modes of the scaling group.'."\n"
.'> This parameter allows setting multiple values to enable multiple health check options. If the `HealthCheckType` parameter is set, this parameter is ignored.',
'type' => 'array',
'items' => ['description' => 'The list of health check modes for the scaling group. Valid values:'."\n"
."\n"
.'- NONE: No health check is performed.'."\n"
.'- ECS: Health checks are performed on instances in the scaling group (both ECS-type and ECI-type scaling groups use this value to enable instance health checks).'."\n"
.'- LOAD_BALANCER: Instance health status is determined based on load balancer health check results (CLB load balancer type is currently not supported).'."\n"
."\n"
.'Default value: ECS.', 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'DBInstance',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of databases associated with the scaling group.',
'type' => 'array',
'items' => [
'description' => 'The configuration information of databases associated with the scaling group.',
'type' => 'object',
'properties' => [
'DBInstanceId' => ['description' => 'The ID of the database instance.', 'type' => 'string', 'required' => false, 'example' => 'rm-m5eqju85s45mu0***', 'title' => ''],
'Type' => ['description' => 'The type of the database. Valid values:'."\n"
."\n"
.'- RDS.'."\n"
.'- Redis.'."\n"
.'- MongoDB.'."\n"
."\n"
.'Default value: RDS.', 'type' => 'string', 'required' => false, 'example' => 'RDS', 'title' => ''],
'AttachMode' => ['description' => 'The association mode between the scaling group and the database. Valid values:'."\n"
."\n"
.'- SecurityIp: IP whitelist mode. The IP addresses of scaled-out instances are automatically added to the database IP whitelist (currently only supported for RDS databases).'."\n"
.'- SecurityGroup: Security group mode. The security group from the scaling configuration is added to the database security group whitelist, enabling instances in the security group to access the database.', 'type' => 'string', 'required' => false, 'example' => 'SecurityIp', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 5,
'title' => '',
'example' => '',
],
],
[
'name' => 'StopInstanceTimeout',
'in' => 'query',
'schema' => ['description' => 'The timeout period for waiting for ECS instances to stop during the scale-in process. Unit: seconds.'."\n"
.'Valid values: 30 to 240.'."\n"
."\n"
.'> - This parameter only takes effect during the scale-in process when ScalingPolicy is set to release mode.'."\n"
.'- If this parameter is set, the system waits up to StopInstanceTimeout seconds for the instance to stop successfully. After the timeout, the scale-in continues regardless of whether the instance has successfully stopped.'."\n"
.'- If this parameter is not set, the system waits indefinitely for the instance to stop successfully. The scale-in continues only after the instance has successfully stopped. If the instance fails to stop, the scale-in process rolls back and fails.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''],
],
[
'name' => 'CapacityOptions',
'in' => 'query',
'style' => 'flat',
'schema' => [
'description' => 'The capacity options.',
'type' => 'object',
'properties' => [
'OnDemandBaseCapacity' => ['description' => 'The minimum number of pay-as-you-go instances required in the existing scaling group. When the number of pay-as-you-go instances in the scaling group is less than this value, the system preferentially creates pay-as-you-go instances. Valid values: 0 to 1000.'."\n"
."\n"
.'When the `MultiAZPolicy` parameter is set to `COMPOSABLE`, the default value is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''],
'OnDemandPercentageAboveBaseCapacity' => ['description' => 'The percentage of pay-as-you-go instances among the excess instances after the minimum number of pay-as-you-go instances `OnDemandBaseCapacity` is met. Valid values: 0 to 100.'."\n"
."\n"
.'When the `MultiAZPolicy` parameter is set to `COMPOSABLE`, the default value is 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
'CompensateWithOnDemand' => ['description' => 'When `MultiAZPolicy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet the ECS instance quantity requirement when preemptible instances cannot be created due to price, inventory, or other reasons. Valid values:'."\n"
."\n"
.'- true: Allowed.'."\n"
.'- false: Not allowed.'."\n"
."\n"
.'Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'SpotAutoReplaceOnDemand' => ['description' => 'When `CompensateWithOnDemand` is enabled, if the pay-as-you-go ratio exceeds the `OnDemandPercentageAboveBaseCapacity` ratio, the system attempts to replace pay-as-you-go capacity with spot instances. A common scenario is when `CompensateWithOnDemand` causes spot instances to be degraded to pay-as-you-go instances due to spot inventory or pricing issues. To avoid prolonged existence of pay-as-you-go instances, the system attempts to replace excess pay-as-you-go capacity with spot instances. Valid values:'."\n"
."\n"
.'- true: Allowed.'."\n"
.'- false: Not allowed.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'PriceComparisonMode' => ['description' => 'The price comparison mode for the cost optimization strategy of the scaling group. Valid values:'."\n"
."\n"
.'- PricePerUnit: Compare prices per unit of capacity.'."\n"
."\n"
.' The capacity size of an instance in the scaling group equals the weight set for the instance type, which defaults to 1, meaning one ECS instance occupies a capacity of 1.'."\n"
."\n"
.'- PricePerVCpu: Compare prices per unit of vCPU.'."\n"
."\n"
.'Default value: PricePerUnit.', 'type' => 'string', 'required' => false, 'example' => 'PricePerUnit', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'BalanceMode',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The zone balancing mode. This parameter only takes effect when zone balancing is enabled. Valid values:'."\n"
."\n"
.'- BalancedBestEffort: When resource creation fails in a zone, it falls back to other zones to ensure best-effort resource delivery.'."\n"
."\n"
.'- BalancedOnly: When resource creation fails in a zone, it does not fall back to other zones. The scale-out activity partially succeeds, avoiding excessive imbalance of resources across zones.'."\n"
."\n"
.'Default value: BalancedBestEffort.', 'type' => 'string', 'required' => false, 'example' => 'BalancedBestEffort'],
],
[
'name' => 'AutoRebalance',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Specifies whether to enable automatic rebalancing for the scaling group. This parameter only takes effect when BalancedOnly is enabled for the zone-balanced scaling group. Valid values:'."\n"
.'- false: Disables automatic rebalancing for the scaling group.'."\n"
.'- true: When enabled, the scaling group automatically monitors the capacity across zones. When the capacity becomes unbalanced across zones, it proactively scales in and out to rebalance the capacity across zones.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'ScalingGroupId' => ['description' => 'The scaling group ID.', 'type' => 'string', 'example' => 'asg-bp14wlu85wrpchm0****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ResourceNotAvailable.VPCNetwork', 'errorMessage' => 'The specified zone does not support vpc network or sold out.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"ScalingGroupId\\": \\"asg-bp14wlu85wrpchm0****\\"\\n}","type":"json"}]',
'title' => 'Create a scaling group',
'description' => '## API Description'."\n"
."\n"
.'A scaling group is a collection of ECS instances with the same application scenario.'."\n"
."\n"
.'<props="china">The number of scaling groups that can be created in a region depends on your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value for **Total number of scaling groups**.</props>'."\n"
."\n"
.'<props="intl">The number of scaling groups that can be created in a region depends on your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value for **Total number of scaling groups**.</props>'."\n"
."\n"
.'<props="partner">The number of scaling groups that can be created in a region depends on your Auto Scaling usage. Go to Quota Center to view the quota value for **Total number of scaling groups**.</props>'."\n"
."\n\n"
.'A scaling group does not take effect immediately after it is created. You must first call the [EnableScalingGroup](~~25939~~) API to enable the scaling group before it can trigger scaling activities and execute scaling rules.'."\n"
."\n"
.'The scaling group, associated CLB (formerly SLB) instances, and associated RDS instances must be in the same region. For more information, see [Regions and zones](~~40654~~).'."\n"
."\n"
.'If you associate a CLB instance with the scaling group, the scaling group automatically adds the ECS instances that join the scaling group to the backend server group of the CLB instance. You can specify the server groups to which the ECS instances are added, including the default server group and vServer groups, as described below:'."\n"
."\n"
.'> If you specify both the default server group and multiple vServer groups, the ECS instances are added to all these server groups simultaneously.'."\n"
."\n"
.'- Default server group: receives frontend requests. If a listener does not have a vServer group or primary/secondary server group configured, requests are forwarded to the ECS instances in the default server group by default.'."\n"
.'- vServer group: When you need to forward different requests to different backend servers, or need to forward requests based on domain names and URLs, you can use vServer groups.'."\n"
."\n"
.'After an ECS instance is added to the backend server group of a CLB instance, the default weight is 50. The CLB instance must meet the following conditions:'."\n"
."\n"
.'- The CLB instance must be in the active state. You can call the [DescribeLoadBalancers](~~27582~~) API to view the status of a specified CLB instance.'."\n"
."\n"
.'- Health checks must be enabled for all listener ports configured on the CLB instance. Otherwise, the scaling group creation fails.'."\n"
."\n"
.'If you associate ALB server groups, NLB server groups, or GWLB server groups with the scaling group, the scaling group automatically adds the ECS instances that join the scaling group as backend servers to the ALB, NLB, or GWLB server groups to process access requests distributed by the ALB, NLB, or GWLB instances. You can specify multiple ALB, NLB, or GWLB server groups, but the server groups must belong to the same VPC as the scaling group. For more information, see [AttachAlbServerGroups](~~266800~~) or [AttachServerGroups](~~600535~~).'."\n"
."\n\n"
.'If you associate an RDS instance with the scaling group, the scaling group automatically adds the private IP addresses of the ECS instances that join the scaling group to the whitelist of the RDS instance. The RDS instance must meet the following conditions:'."\n"
."\n"
.'- The RDS instance must be in the Running state. You can call the [DescribeDBInstances](~~26232~~) API to view the status of a specified RDS instance.'."\n"
."\n"
.'- The number of IPs in the whitelist of the RDS instance must not exceed the upper limit. For more information, see the RDS documentation [Configure a whitelist](~~43185~~).'."\n"
."\n"
.'If the `MultiAZPolicy` of the scaling group is set to `COST_OPTIMIZED`:'."\n"
."\n"
.'- When the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools parameters are specified, the instance allocation method under the cost optimization strategy is defined. During scaling, this instance allocation method is prioritized.'."\n"
."\n"
.'- When the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools parameters are not specified, the cost optimization strategy only creates instances in the most cost-effective manner. (In this mode, creating instances through Elasticity Assurance or Capacity Reservation is not supported.)'."\n"
."\n"
.'If you set propagatable tags for the scaling group, i.e., `Tag.N.Propagate` is set to `true`:'."\n"
."\n"
.'- Tags on the scaling group are only propagated to newly created instances, and are not propagated to instances already running in the scaling group.'."\n"
.'- If you specify instance tags in the scaling configuration and also choose to propagate the scaling group tags to the instance, all tags coexist.'."\n"
.'- If the propagatable tag in the scaling group and the tag in the scaling configuration specify the same tag key, the tag value in the scaling configuration takes precedence.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error Code|Error Message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|IncorrectDBInstanceStatus|The current status of DB instance "XXX" does not support this action.|The specified RDS instance must be in the Running state.|'."\n"
.'|400|IncorrectLoadBalancerHealthCheck|The current health check type of specified load balancer does not support this action.|Health checks must be enabled for the specified CLB instance.|'."\n"
.'|400|IncorrectLoadBalancerStatus|The current status of the specified load balancer does not support this action.|The specified CLB instance must be in the active state.|'."\n"
.'|400|IncorrectVSwitchStatus|The current status of virtual switch does not support this operation.|The vSwitch is unavailable, and ECS instances cannot be created.|'."\n"
.'|400|InvalidDBInstanceId. RegionMismatch|DB instance "XXX" and the specified scaling group are not in the same Region.|The specified RDS instance and the scaling group must be in the same region.|'."\n"
.'|400|InvalidLoadBalancerId.IncorrectAddressType|The current address type of specified load balancer does not support this action.|After a vSwitch is specified, the CLB instance must be of the private network type.|'."\n"
.'|400|InvalidLoadBalancerId.IncorrectInstanceNetworkType|The network type of the instance in specified Load Balancer does not support this action.|The network type of ECS instances in the specified CLB instance must be the same as that of the scaling group.|'."\n"
.'|400|InvalidLoadBalancerId.RegionMismatch|The specified Load Balancer and the specified scaling group are not in the same Region.|The specified CLB instance and the scaling group must be in the same region.|'."\n"
.'|400|InvalidLoadBalancerId.VPCMismatch|The specified virtual switch and the instance in specified Load Balancer are not in the same VPC.|The ECS instances in the CLB instance associated with the scaling group must be in the same VPC as the vSwitch.|'."\n"
.'|400|InvalidParameter|The specified value of parameter "ScalingPolicy" is not valid.|The specified reclaim mode parameter does not exist.|'."\n"
.'|400|InvalidParameter.Conflict|The value of parameter <parameter name> and parameter <parameter name> are conflict.|The specified MinSize cannot be greater than MaxSize.|'."\n"
.'|400|InvalidScalingGroupName.Duplicate|The specified value of parameter <parameter name> is duplicated.|The scaling group name already exists.|'."\n"
.'|400|QuotaExceeded.DBInstanceSecurityIP|Security IP quota exceeded in DB instance "XXX".|The number of IPs in the whitelist of the specified RDS instance has reached the upper limit.|'."\n"
.'|400|QuotaExceeded.PrivateIpAddress|Private IP address quota exceeded in the specified virtual switch.|The vSwitch cannot allocate any more private IP addresses.|'."\n"
.'|400|QuotaExceeded.ScalingGroup|Scaling group quota exceeded.|The number of scaling groups used by the user has reached the upper limit.|'."\n"
.'|400|QuotaExceeded.VPCInstance|Instance quota exceeded in the specified VPC.|The number of instances in the VPC exceeds the limit.|'."\n"
.'|404|InvalidDBInstanceId.NotFound|DB instance "XXX" does not exist.|The specified RDS instance does not exist.|'."\n"
.'|404|InvalidLoadBalancerId.NotFound|The specified Load Balancer does not exist.|The specified CLB instance does not exist.|'."\n"
.'|404|InvalidRegionId.NotFound|The specified region does not exist.|The specified region does not exist.|'."\n"
.'|404|InvalidVSwitchId.NotFound|The specified virtual switch does not exist.|The specified vSwitch does not exist.|'."\n"
.'|400|LaunchTemplateVersionSet.NotFound|The specific version of launch template is not exist.|The specified version of the launch template does not exist.|'."\n"
.'|400|LaunchTemplateSet.NotFound|The specified launch template set is not found.|The specified launch template does not exist.|'."\n"
.'|400|TemplateMissingParameter.ImageId|The input parameter "ImageId" that is mandatory for processing this request is not supplied.|The specified version of the launch template is missing image information.|'."\n"
.'|400|TemplateMissingParameter.InstanceTypes|The input parameter "InstanceTypes" that is mandatory for processing this request is not supplied.|The specified version of the launch template is missing instance type information.|'."\n"
.'|400|TemplateMissingParameter.SecurityGroup|The input parameter "SecurityGroup" that is mandatory for processing this request is not supplied.|The specified version of the launch template is missing security group information.|'."\n"
.'|400|TemplateVersion.NotNumber|The input parameter "LaunchTemplateVersion" is supposed to be a string representing the version number.|The specified fixed version number of the launch template is not a number.|'."\n"
.'|400|AlbServerGroup.NotExist|The ServerGroup "%s" do(es) not exist.|The specified ALB server group does not exist in the account.|',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScalingGroup'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateScalingGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/*'],
],
],
],
],
],
'CreateScalingRule' => [
'summary' => 'Creates a scaling rule.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '92659',
'abilityTreeNodes' => ['FEATUREessRTZKQT'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group to which the scaling rule belongs.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1ffogfdauy0jw0****', 'title' => ''],
],
[
'name' => 'ScalingRuleName',
'in' => 'query',
'schema' => ['description' => 'The name of the scaling rule. The name must be 2 to 64 characters in length and start with a digit, letter, or Chinese character. It can contain digits, underscores (_), hyphens (-), or periods (.).'."\n"
."\n"
.'The scaling rule name must be unique within a scaling group under the same user account in the same region.'."\n"
."\n"
.'>If this parameter is not specified, the default value is the value of ScalingRuleId.', 'type' => 'string', 'required' => false, 'example' => 'scalingrule****', 'title' => ''],
],
[
'name' => 'Cooldown',
'in' => 'query',
'schema' => ['description' => 'The cooldown period of the scaling rule. This parameter is applicable only to simple scaling rules. Valid values: 0 to 86400. Unit: seconds.'."\n"
."\n"
.'Default value: empty.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''],
],
[
'name' => 'MinAdjustmentMagnitude',
'in' => 'query',
'schema' => ['description' => 'The minimum number of instances to adjust in a scaling rule. This parameter takes effect only when the scaling rule type is `SimpleScalingRule` or `StepScalingRule`, and `AdjustmentType` is set to `PercentChangeInCapacity`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'AdjustmentType',
'in' => 'query',
'schema' => ['description' => 'The adjustment method of the scaling rule. This parameter is applicable to simple scaling rules and step scaling rules, and is required in these cases. Valid values:'."\n"
."\n"
.'- QuantityChangeInCapacity: adds or removes the specified number of ECS instances.'."\n"
.'- PercentChangeInCapacity: adds or removes the specified percentage of ECS instances.'."\n"
.'- TotalCapacity: adjusts the number of ECS instances in the current scaling group to the specified number.', 'type' => 'string', 'required' => false, 'example' => 'QuantityChangeInCapacity', 'title' => ''],
],
[
'name' => 'AdjustmentValue',
'in' => 'query',
'schema' => ['description' => 'The adjustment value of the scaling rule. This parameter is applicable to simple scaling rules and step scaling rules, and is required in these cases. The number of ECS instances adjusted in a single scaling activity cannot exceed 1,000. Valid values for different adjustment methods:'."\n"
.'- QuantityChangeInCapacity: -1000 to 1000.'."\n"
.'- PercentChangeInCapacity: -100 to 10000.'."\n"
.'- TotalCapacity: 0 to 2000.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'ScalingRuleType',
'in' => 'query',
'schema' => ['description' => 'The type of the scaling rule. Valid values:'."\n"
."\n"
.'- SimpleScalingRule: simple scaling rule. Adjusts the number of ECS or ECI instances based on the adjustment method (AdjustmentType) and adjustment value (AdjustmentValue).'."\n"
.'- TargetTrackingScalingRule: target tracking scaling rule. Dynamically calculates the number of ECS or ECI instances to scale based on the predefined metric (MetricName) and attempts to keep the metric value close to the target value (TargetValue).'."\n"
.'- StepScalingRule: step scaling rule. Provides a step-based scaling method based on thresholds and metric values.'."\n"
.'- PredictiveScalingRule: predictive scaling rule. Uses machine learning to analyze the historical monitoring data of a scaling group, predict future metric values, and supports automatically creating scheduled tasks to set scaling group boundaries.'."\n"
."\n"
.'Default value: SimpleScalingRule.', 'type' => 'string', 'required' => false, 'default' => 'SimpleScalingRule', 'example' => 'SimpleScalingRule', 'title' => ''],
],
[
'name' => 'EstimatedInstanceWarmup',
'in' => 'query',
'schema' => ['description' => 'The warm-up period of instances. This parameter is applicable to target tracking scaling rules and step scaling rules. ECS instances in the warm-up state are added to the scaling group as normal but do not report monitoring data to CloudMonitor during the warm-up period.'."\n"
.'> When dynamically calculating the number of ECS instances to scale, instances in the warm-up state are not counted as part of the existing instance count.'."\n"
.' '."\n"
.'Valid values: 0 to 86400. Unit: seconds.'."\n"
."\n"
.'Default value: 300.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '300', 'title' => ''],
],
[
'name' => 'MetricName',
'in' => 'query',
'schema' => ['description' => 'The predefined metric. This parameter is applicable to target tracking scaling rules and predictive scaling rules, and is required in these cases.'."\n"
."\n\n"
.'Valid values for target tracking scaling rules: '."\n"
.'- CpuUtilizationAgent: (Agent) CPU utilization (recommended).'."\n"
.'- MemoryUtilization: (Agent) memory utilization (recommended).'."\n"
.'- CpuUtilization: (ECS) average CPU utilization.'."\n"
.'- IntranetTx: (ECS) average outbound traffic over the internal network.'."\n"
.'- IntranetRx: (ECS) average inbound traffic over the internal network.'."\n"
.'- VpcInternetTx: (ECS) average outbound traffic over the public network.'."\n"
.'- VpcInternetRx: (ECS) average inbound traffic over the public network.'."\n"
.'- LoadBalancerRealServerAverageQps: (ALB) average QPS per server in the server group.'."\n"
."\n"
.'Valid values for predictive scaling rules: '."\n"
.'- CpuUtilization: (ECS) average CPU utilization.'."\n"
.'- IntranetRx: (ECS) average inbound traffic over the internal network.'."\n"
.'- IntranetTx: (ECS) average outbound traffic over the internal network.'."\n"
."\n"
.'For more information, see [System monitoring alert tasks](~~74854~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'CpuUtilization', 'title' => ''],
],
[
'name' => 'TargetValue',
'in' => 'query',
'schema' => ['description' => 'The target value. This parameter is applicable to target tracking scaling rules and predictive scaling rules, and is required in these cases. The TargetValue can have up to three decimal places and must be greater than 0.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.125', 'title' => ''],
],
[
'name' => 'DisableScaleIn',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to disable scale-in. This parameter is applicable only to target tracking scaling rules.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''],
],
[
'name' => 'ScaleInEvaluationCount',
'in' => 'query',
'schema' => ['description' => 'After a target tracking scaling rule is created, an alert task is automatically created. This parameter specifies the number of consecutive times that the threshold condition must be met before the corresponding scale-in alert task triggers an alert.'."\n"
."\n"
.'Default value: 15.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '15', 'title' => ''],
],
[
'name' => 'ScaleOutEvaluationCount',
'in' => 'query',
'schema' => ['description' => 'After a target tracking scaling rule is created, an alert task is automatically created. This parameter specifies the number of consecutive times that the threshold condition must be met before the corresponding scale-out alert task triggers an alert.'."\n"
."\n"
.'Default value: 3.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''],
],
[
'name' => 'PredictiveScalingMode',
'in' => 'query',
'schema' => ['description' => 'The mode of the predictive scaling rule. Valid values:'."\n"
."\n"
.'- PredictAndScale: generates prediction results and creates prediction tasks.'."\n"
.'- PredictOnly: generates prediction results but does not create prediction tasks.'."\n"
."\n"
.'Default value: PredictAndScale.', 'type' => 'string', 'required' => false, 'example' => 'PredictAndScale', 'title' => ''],
],
[
'name' => 'PredictiveValueBehavior',
'in' => 'query',
'schema' => ['description' => 'The method used to process the maximum value for the predictive scaling rule. Valid values:'."\n"
."\n"
.'- MaxOverridePredictiveValue: the initial maximum value overrides the predicted value. When the predicted value is greater than the initial maximum value, the maximum value of the prediction task uses the initial maximum value.'."\n"
.'- PredictiveValueOverrideMax: the predicted value overrides the initial maximum value. When the predicted value is greater than the initial maximum value, the maximum value of the prediction task uses the predicted value.'."\n"
.'- PredictiveValueOverrideMaxWithBuffer: the predicted value is increased by a specified ratio. The predicted value is increased based on the PredictiveValueBuffer ratio. When the increased value is greater than the initial maximum value, the increased value is used.'."\n"
."\n"
.'Default value: MaxOverridePredictiveValue.', 'type' => 'string', 'required' => false, 'example' => 'MaxOverridePredictiveValue', 'title' => ''],
],
[
'name' => 'PredictiveValueBuffer',
'in' => 'query',
'schema' => ['description' => 'This parameter takes effect only when `PredictiveValueBehavior` is set to `PredictiveValueOverrideMaxWithBuffer`. The predicted value is increased by the specified ratio. When the increased value is greater than the initial maximum value, the increased value is used. Valid values: 0 to 100.'."\n"
."\n"
.'Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
'name' => 'PredictiveTaskBufferTime',
'in' => 'query',
'schema' => ['description' => 'Prediction tasks automatically created by a predictive scaling rule are executed at the start of each hour by default. You can set a pre-launch time to execute prediction tasks in advance to prepare resources ahead of time. Valid values: 0 to 60. Unit: minutes.'."\n"
."\n"
.'Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''],
],
[
'name' => 'InitialMaxSize',
'in' => 'query',
'schema' => ['description' => 'The maximum number of instances in the scaling group. This parameter is used in combination with PredictiveValueBehavior.'."\n"
."\n"
.'Default value: the maximum number of instances in the scaling group (the value of MaxSize).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'StepAdjustment',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The collection of instance scaling information corresponding to step adjustments.',
'type' => 'array',
'items' => [
'description' => 'The collection of instance scaling information corresponding to step adjustments.',
'type' => 'object',
'properties' => [
'MetricIntervalUpperBound' => ['description' => 'The upper boundary of a step adjustment. This parameter is applicable only to step scaling rules. Valid values: -9.999999E18 to 9.999999E18.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '5.0', 'title' => ''],
'ScalingAdjustment' => ['description' => 'The number of instances to scale corresponding to a step adjustment. This parameter is applicable only to step scaling rules.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'MetricIntervalLowerBound' => ['description' => 'The lower boundary of a step adjustment. This parameter is applicable only to step scaling rules. Valid values: -9.999999E18 to 9.999999E18.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1.0', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'AlarmDimension',
'in' => 'query',
'allowEmptyValue' => false,
'style' => 'repeatList',
'schema' => [
'description' => 'The dimension information associated with the metric. This parameter is applicable to target tracking scaling rules. Set this parameter when the metric requires additional dimension information. For example, the `LoadBalancerRealServerAverageQps` metric requires the `rulePool` dimension information.',
'type' => 'array',
'items' => [
'description' => 'The dimension information associated with the metric. This parameter is applicable to target tracking scaling rules. Set this parameter when the metric requires additional dimension information. For example, the `LoadBalancerRealServerAverageQps` metric requires the `rulePool` dimension information.',
'type' => 'object',
'properties' => [
'DimensionKey' => ['description' => 'The key of the dimension associated with the metric.', 'type' => 'string', 'required' => false, 'example' => 'rulePool', 'title' => ''],
'DimensionValue' => ['description' => 'The value of the dimension associated with the metric.', 'type' => 'string', 'required' => false, 'example' => 'sgp-l1cbirz451yxu2****', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 5,
'title' => '',
'example' => '',
],
],
[
'name' => 'MetricType',
'in' => 'query',
'schema' => ['description' => 'The type of the metric. Valid values:'."\n"
."\n"
.'- system: uses CloudMonitor system metrics.'."\n"
.'- custom: uses custom metrics reported to CloudMonitor.'."\n"
.'- hybrid: uses Hybrid Cloud Monitoring metrics.', 'type' => 'string', 'required' => false, 'example' => 'system', 'title' => ''],
],
[
'name' => 'HybridMonitorNamespace',
'in' => 'query',
'schema' => ['description' => 'The ID of the Hybrid Cloud Monitoring metric namespace.'."\n"
."\n"
.'To manage metric namespaces, see [Manage metric namespaces](~~217606~~).', 'type' => 'string', 'required' => false, 'example' => 'aliyun-test', 'title' => ''],
],
[
'name' => 'HybridMetrics',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The Hybrid Cloud Monitoring metric settings. For information about how to configure them, see [Use formula-based custom target tracking rules](~~2852162~~).',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Id' => ['description' => 'The reference ID of the metric in the metric expression.', 'type' => 'string', 'required' => false, 'example' => 'a', 'title' => ''],
'Expression' => ['description' => 'The metric expression for multiple Hybrid Cloud Monitoring metrics. The calculation result of the expression is used to trigger scaling.'."\n"
."\n"
.'The expression must conform to the Reverse Polish Notation (RPN) specification, and only the operators `+ - * /` are supported.', 'type' => 'string', 'required' => false, 'example' => '(a+b)/2', 'title' => ''],
'MetricName' => ['description' => 'The metric name in the Hybrid Cloud Monitoring metric namespace.', 'type' => 'string', 'required' => false, 'example' => 'AliyunSmq_NumberOfMessagesVisible', 'title' => ''],
'Statistic' => ['description' => 'The statistical method of the metric. Valid values:'."\n"
.'- Average: the average of all data points within the specified period.'."\n"
.'- Minimum: the minimum value of all data points within the specified period.'."\n"
.'- Maximum: the maximum value of all data points within the specified period.', 'type' => 'string', 'required' => false, 'example' => 'Average', 'title' => ''],
'Dimensions' => [
'description' => 'The metric dimensions. Used to specify the resources monitored by the metric.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'DimensionKey' => ['description' => 'The key of the metric dimension.', 'type' => 'string', 'required' => false, 'example' => 'queue', 'title' => ''],
'DimensionValue' => ['description' => 'The value of the metric dimension.', 'type' => 'string', 'required' => false, 'example' => 'testQueue', 'title' => ''],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'AlarmOptions',
'in' => 'query',
'style' => 'flat',
'schema' => [
'description' => 'The alert attribute definitions.',
'type' => 'object',
'properties' => [
'Period' => ['description' => 'The period for collecting metric data in the target tracking scaling rule. Unit: seconds. Valid values:'."\n"
."\n"
.'- 15.'."\n"
.'- 60.'."\n"
.'- 120.'."\n"
.'- 300.'."\n"
.'- 900.'."\n"
."\n"
.'> Default value: 60.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingRuleAri' => ['description' => 'The unique identifier of the scaling rule.', 'type' => 'string', 'example' => 'ari:acs:ess:cn-hangzhou:140692647406****:scalingrule/asr-bp1dvirgwkoowxk7****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'ScalingRuleId' => ['description' => 'The ID of the scaling rule, which is generated by the system and is globally unique.', 'type' => 'string', 'example' => 'asr-bp1dvirgwkoowxk7****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingRuleAri\\": \\"ari:acs:ess:cn-hangzhou:140692647406****:scalingrule/asr-bp1dvirgwkoowxk7****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"ScalingRuleId\\": \\"asr-bp1dvirgwkoowxk7****\\"\\n}","type":"json"}]',
'title' => 'CreateScalingRule',
'description' => '## API Description'."\n"
."\n"
.'Note the following about the related parameters:'."\n"
."\n"
.'- When AdjustmentType is TotalCapacity, it adjusts the number of ECS or ECI instances in the current scaling group to the specified number. The corresponding AdjustmentValue must be greater than or equal to 0.'."\n"
.'- When AdjustmentType is QuantityChangeInCapacity or PercentChangeInCapacity, a positive AdjustmentValue indicates adding instances and a negative value indicates removing instances.'."\n"
.'- When AdjustmentType is PercentChangeInCapacity, Auto Scaling calculates the number of ECS or ECI instances to add or remove using the formula: current instance count (Total Capacity) x AdjustmentValue / 100, with rounding applied.'."\n"
.'- When a cooldown period (Cooldown) is specified in the scaling rule, the scaling group will be cooled down for the specified period after the scaling activity triggered by this rule is completed. If no cooldown period is specified in the scaling rule, the cooldown period specified for the scaling group (DefaultCooldown) is used.'."\n"
.'- The number of scaling rules that can be created in a scaling group is limited. For more information, see [Limits](~~25863~~).'."\n"
.'- The returned unique identifier of the scaling rule (ScalingRuleAri) can be used in the following APIs:'."\n"
.' - Specified in the ScalingRuleAri parameter of ExecuteScalingRule to manually execute the scaling rule.'."\n"
.' - Specified in the ScheduledAction parameter of CreateScheduledTask to execute the scaling rule on a schedule.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error Code|Error Message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist under this user account.|'."\n"
.'|400|InvalidScalingRuleName.Duplicate|The specified value of parameter <parameter name> is duplicated.|The scaling rule name already exists.|'."\n"
.'|400|QuotaExceeded.ScalingRule|Scaling rule quota exceeded in the specified scaling group.|The number of scaling rules used by the user has reached the upper limit.|'."\n"
.'|400|TargetTrackingScalingRule.UnsupportedMetric|Specific metric is not supported for target tracking scaling rule.|The current metric is not supported for target tracking scaling rules.|'."\n"
.'|400|TargetTrackingScalingRule.DumplicateMetric|Only one TargetTrackingScaling rule for a given metric specification is allowed.|Only one target tracking scaling rule is allowed for the same metric within a scaling group.|'."\n"
.'|400|InvalidMinAdjustmentMagnitudeMismatchAdjustmentType|MinAdjustmentMagnitude is not supported by the specified adjustment type.|MinAdjustmentMagnitude does not support the current scaling rule adjustment type.|'."\n"
.'|400|InvalidStepAdjustments.MultipleNullUpperBound|At most one StepAdjustment may have an unspecified upper bound.|At most one step adjustment can have an unspecified upper boundary.|'."\n"
.'|400|InvalidStepAdjustments.MultipleNullLowerBound|At most one StepAdjustment may have an unspecified lower bound.|At most one step adjustment can have an unspecified lower boundary.|'."\n"
.'|400|InvalidStepAdjustments.NoNullLowerBound|There must be a StepAdjustment with an unspecified lower bound when one StepAdjustment has a negative lower bound.|When a step adjustment has a negative lower boundary, there must be a step adjustment with an unspecified lower boundary.|'."\n"
.'|400|InvalidStepAdjustments.NoNullUpperBound|There must be a StepAdjustment with an unspecified upper bound when one StepAdjustment has a positive upper bound.|When a step adjustment has a positive upper boundary, there must be a step adjustment with an unspecified upper boundary.|'."\n"
.'|400|InvalidStepAdjustments.Gap|StepAdjustment intervals can not have gaps between them.|There must be no gaps between step adjustment intervals.|'."\n"
.'|400|InvalidStepAdjustments.Overlap|StepAdjustment intervals can not overlap.|Step adjustment intervals must not overlap.|'."\n"
.'|400|InvalidStepAdjustments.LowerGtUpper|LowerBound must be less than the UpperBound for StepAdjustment :%s.|Within the same step adjustment, the lower boundary must be less than the upper boundary.|'."\n"
.'|400|InvalidStepAdjustments.BothNull|Both lower and upper bounds of a StepAdjustment can not be left unspecified.|Within the same step adjustment, both the upper and lower boundaries cannot be left unspecified.|'."\n"
.'|400|InvalidStepAdjustments.MaxNum|Your scaling rule can have at most %s StepAdjustments.|The number of step adjustments within the same scaling group exceeds the threshold.|'."\n"
.'|400|StepBeyondPermitRange|Specific parameter "%s" beyond permit range.|The upper or lower boundary of a step adjustment exceeds the permitted range.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateScalingRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScalingRule'],
],
],
],
'CreateScheduledTask' => [
'summary' => 'Creates a scheduled task.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '92660',
'abilityTreeNodes' => ['FEATUREess30IPAO'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where the scheduled task resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'ScheduledTaskName',
'in' => 'query',
'schema' => ['description' => 'The name of the scheduled task. The name must be 2 to 64 characters in length and can contain letters, digits, underscores (_), hyphens (-), and periods (.). It must start with a digit, letter, or Chinese character. The name must be unique within the same account in the same region. '."\n"
."\n"
.'Default value: the value of `ScheduledTaskId`.', 'type' => 'string', 'required' => false, 'example' => 'scheduled****', 'title' => ''],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => 'The description of the scheduled task. The description must be 2 to 200 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'Test scheduled task.', 'title' => ''],
],
[
'name' => 'ScheduledAction',
'in' => 'query',
'schema' => ['description' => 'The scaling rule to execute when the scheduled task is triggered. Set this parameter to the unique identifier of the scaling rule.'."\n"
."\n"
.'If you specify this parameter, the scaling method of the scheduled task is to use an existing scaling rule.'."\n"
."\n"
.'> You cannot specify both `ScheduledAction` and `ScalingGroupId`.', 'type' => 'string', 'required' => false, 'example' => 'ari:acs:ess:cn-hangzhou:140692647****:scalingrule/asr-bp12tcnol686y1ik****', 'title' => ''],
],
[
'name' => 'RecurrenceEndTime',
'in' => 'query',
'schema' => ['description' => 'The end time of the recurrence for the scheduled task.'."\n"
."\n"
.'Specify the time in the ISO 8601 standard in UTC. Format: `YYYY-MM-DDThh:mmZ`. The end time cannot be more than 365 days from the date of creation.', 'type' => 'string', 'required' => false, 'example' => '2014-08-17T16:55Z', 'title' => ''],
],
[
'name' => 'LaunchTime',
'in' => 'query',
'schema' => ['description' => 'The point in time at which the scheduled task is triggered.'."\n"
."\n"
.'Specify the time in the ISO 8601 standard in UTC. Format: `YYYY-MM-DDThh:mmZ`. The time cannot be more than 90 days from the date of creation. '."\n"
."\n"
.'- If you specify `RecurrenceType`, the scheduled task is executed repeatedly at the time specified by this parameter.'."\n"
."\n"
.'- If you do not specify `RecurrenceType`, the task is executed only once at the specified date and time.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2014-08-17T16:52Z', 'title' => ''],
],
[
'name' => 'RecurrenceType',
'in' => 'query',
'schema' => ['description' => 'The recurrence type of the scheduled task. Valid values: '."\n"
.'- Daily: The scheduled task is executed once every specified number of days. '."\n"
.'- Weekly: The scheduled task is executed on specified days of each week. '."\n"
.'- Monthly: The scheduled task is executed on specified days of each month. '."\n"
.'- Cron: The scheduled task is executed based on the specified cron expression. '."\n"
."\n"
.'You must specify both `RecurrenceType` and `RecurrenceValue`.', 'type' => 'string', 'required' => false, 'example' => 'Daily', 'title' => ''],
],
[
'name' => 'RecurrenceValue',
'in' => 'query',
'schema' => ['description' => 'The recurrence value of the scheduled task. '."\n"
."\n"
.'- If `RecurrenceType` is set to `Daily`, you can specify only one value. Valid values: 1 to 31. '."\n"
.'- If `RecurrenceType` is set to `Weekly`, you can specify multiple values separated by commas (,). The values that correspond to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday are `0,1,2,3,4,5,6`. '."\n"
.'- If `RecurrenceType` is set to `Monthly`, the value is in the `A-B` format. Valid values of A and B: 1 to 31. B must be greater than or equal to A. '."\n"
.'- If `RecurrenceType` is set to `Cron`, the value is a UTC-based cron expression that supports five fields: minute, hour, day, month, and day of week. The following wildcard characters are supported: comma (,), question mark (?), hyphen (-), asterisk (\\*), pound sign (#), forward slash (/), L, and W. '."\n"
."\n"
.'You must specify both `RecurrenceType` and `RecurrenceValue`.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'TaskEnabled',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable the scheduled task. Valid values: '."\n"
.'- true: enables the task.'."\n"
.'- false: disables the task.'."\n"
."\n"
.'Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'LaunchExpirationTime',
'in' => 'query',
'schema' => ['description' => 'The time period during which a failed scheduled task is retried. Unit: seconds. Valid values: 0 to 1800.'."\n"
."\n"
.'Default value: 600.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '86400', 'minimum' => '0', 'default' => '600', 'example' => '600', 'title' => ''],
],
[
'name' => 'MinValue',
'in' => 'query',
'schema' => ['description' => 'The minimum number of instances in the scaling group when the scaling method of the scheduled task is to set the number of instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''],
],
[
'name' => 'MaxValue',
'in' => 'query',
'schema' => ['description' => 'The maximum number of instances in the scaling group when the scaling method of the scheduled task is to set the number of instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'DesiredCapacity',
'in' => 'query',
'schema' => ['description' => 'The expected number of instances in the scaling group when the scaling method of the scheduled task is to set the number of instances in the scaling group.'."\n"
."\n"
.'> The scaling group must have the expected number of instances feature enabled, which means `DesiredCapacity` was specified when the scaling group was created.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group whose number of instances is modified when the scheduled task is triggered.'."\n"
."\n"
.'If you specify this parameter, the scaling method of the scheduled task is to set the number of instances in the scaling group. You must specify a value for at least one of the following parameters: `MinValue`, `MaxValue`, and `DesiredCapacity`.'."\n"
."\n"
.'> You cannot specify both `ScheduledAction` and `ScalingGroupId`.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScheduledTaskId' => ['description' => 'The ID of the scheduled task. The ID is globally unique and generated by the system.', 'type' => 'string', 'example' => 'edRtShc57WGXdt8TlPbr****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScheduledTaskId\\": \\"edRtShc57WGXdt8TlPbr****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Create a scheduled task',
'description' => '## Operation description'."\n"
."\n"
.'- If a scheduled task fails to trigger a scaling rule because a scaling activity is in progress in the scaling group or the scaling group is disabled, the scheduled task automatically retries within the period specified by `LaunchExpirationTime`. Otherwise, the scheduled task is skipped.'."\n"
.'- If multiple scheduled tasks trigger scaling rules for the same scaling group within a similar time frame, the details of the triggered scaling activities are as follows:'."\n"
.' - **Scaling groups with the expected number of instances configured**: The scaling activities triggered by multiple scheduled tasks are parallel scaling activities. For example, when multiple scheduled tasks are executed within a similar time frame, the scaling group can trigger multiple parallel scaling activities simultaneously.'."\n"
.' - **Scaling groups without the expected number of instances configured**: The earliest triggered scheduled task executes the scaling activity first. Because a scaling group can have only one scaling activity at a time, subsequent scheduled tasks automatically retry within the period specified by `LaunchExpirationTime`. If the previous scaling activity is completed while a subsequent scheduled task is still retrying within the `LaunchExpirationTime` period, the scaling rule of that scheduled task is executed and the corresponding scaling activity is triggered.'."\n"
.'- Scheduled tasks support the following two scaling methods:'."\n"
.' - Use the `ScheduledAction` parameter to specify the scaling rule to execute.'."\n"
.' - Use the `ScalingGroupId` parameter to specify the number of instances in the scaling group.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidRegionId.NotFound|The specified region does not exist.|The specified region does not exist.|'."\n"
.'|400|InvalidScheduledTaskName.Duplicate|The specified value of parameter ScheduledTaskName is duplicated.|The scheduled task name already exists.|'."\n"
.'|400|QuotaExceeded.ScheduledTask|Scheduled task quota exceeded.|The number of scheduled tasks has reached the upper limit.|'."\n"
.'|400|ScheduledAction.RegionMismatch|The specified scheduled task and the specified scheduled action are not in the same Region.|The specified ScheduledAction and the scheduled task are not in the same region.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScheduledTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateScheduledTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DeactivateScalingConfiguration' => [
'summary' => 'Deactivates a specified scaling configuration.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92661',
'abilityTreeNodes' => ['FEATUREessT4M3WE'],
],
'parameters' => [
[
'name' => 'ScalingConfigurationId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling configuration.', 'type' => 'string', 'required' => true, 'example' => 'asc-bp1ahp2ud7qkzt2a****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D09C9E64-7D19-4E1C-8CD6-123D34A4****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D09C9E64-7D19-4E1C-8CD6-123D34A4****\\"\\n}","type":"json"}]',
'title' => 'Deactivate a specified scaling configuration',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|IncorrectScalingGroupStatus|The current status of the specified scaling group does not support this action.|The scaling group to which the scaling configuration belongs must be in the Inactive state.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DeactivateScalingConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeactivateScalingConfiguration'],
],
],
],
'DeleteAlarm' => [
'summary' => 'Deletes an event-triggered task.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '92662',
'abilityTreeNodes' => ['FEATUREessBFLAJQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'AlarmTaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the event-triggered task.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AlarmTaskId' => ['description' => 'The ID of the event-triggered task.', 'type' => 'string', 'example' => 'asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6EF9BFEE-FE07-4627-B8FB-14326FB9****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AlarmTaskId\\": \\"asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1****\\",\\n \\"RequestId\\": \\"6EF9BFEE-FE07-4627-B8FB-14326FB9****\\"\\n}","type":"json"}]',
'title' => 'Delete an event-triggered task',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAlarm'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteAlarm',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DeleteEciScalingConfiguration' => [
'summary' => 'Deletes a scaling configuration of the Elastic Container Instance (ECI) type.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92663',
'abilityTreeNodes' => ['FEATUREessTZHE2G'],
],
'parameters' => [
[
'name' => 'ScalingConfigurationId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling configuration that you want to delete.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asc-bp1bx8mzur534edp****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.'."\n"
."\n"
.'The system returns a request ID regardless of whether the API call is successful.', 'type' => 'string', 'example' => '45D5B0AD-3B00-4A9B-9911-6D5303B0****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'Forbidden.RiskControl', 'errorMessage' => 'Forbidden.RiskControl', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"45D5B0AD-3B00-4A9B-9911-6D5303B0****\\"\\n}","type":"json"}]',
'title' => 'Delete a scaling configuration',
'description' => '## Operation description'."\n"
."\n"
.'Before you delete an ECI-type scaling configuration, take note of the following conditions under which the scaling configuration cannot be deleted:'."\n"
."\n"
.'- The scaling configuration is in the Active state in the scaling group.'."\n"
.'- ECI instances created from the scaling configuration still exist in the scaling group.',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingConfigurationId.NotFound|The specified scaling configuration does not exist.|The specified scaling configuration does not exist in your account.|'."\n"
.'|400|IncorrectScalingConfigurationLifecycleState|The current lifecycle state of specified scaling configuration does not support this action.|The specified scaling configuration is not in the Inactive state.|'."\n"
.'|400|InstanceInUse|You cannot delete a scaling configuration or scaling group while there is an instance associated with it.|ECI instances associated with the specified scaling configuration have not been deleted.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteEciScalingConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DeleteEciScalingConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DeleteLifecycleHook' => [
'summary' => 'Deletes a lifecycle hook.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '92664',
'abilityTreeNodes' => ['FEATUREessZQ2TYX'],
],
'parameters' => [
[
'name' => 'LifecycleHookId',
'in' => 'query',
'schema' => ['description' => 'The ID of the lifecycle hook.', 'type' => 'string', 'required' => false, 'example' => 'ash-bp14g3ee6bt3sc98****', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'LifecycleHookName',
'in' => 'query',
'schema' => ['description' => 'The name of the lifecycle hook.', 'type' => 'string', 'required' => false, 'example' => 'lifecyclehook****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Delete a lifecycle hook',
'description' => '## Operation description'."\n"
."\n"
.'If a lifecycle hook has triggered a scaling activity wait state, deleting the lifecycle hook ends the corresponding wait state early. You can delete a lifecycle hook by using one of the following methods:'."\n"
."\n"
.'- Specify the lifecycle hook ID (`LifecycleHookId`). In this case, the `ScalingGroupId` and `LifecycleHookName` parameters are ignored.'."\n"
."\n"
.'- Specify both the scaling group ID (`ScalingGroupId`) and the lifecycle hook name (`LifecycleHookName`).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidParamter|The specified value of parameter is invalid.|The specified parameter value is invalid.|'."\n"
.'|400|InvalidLifecycleHookId.NotExist|The specified lifecycleHookId does not exist.|The specified lifecycle hook ID does not exist.|'."\n"
.'|400|InvalidLifecycleHookName.NotExist|The specified lifecycleHookName you provided does not exist.|The specified lifecycle hook name does not exist.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteLifecycleHook',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteLifecycleHook'],
],
],
],
'DeleteNotificationConfiguration' => [
'summary' => 'Deletes an auto scaling event and resource change notification.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '92665',
'abilityTreeNodes' => ['FEATUREessJ2FJEV'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'NotificationArn',
'in' => 'query',
'schema' => ['description' => 'The identity of the Notification Recipient. The parameter format varies by notification method:'."\n"
."\n"
.'- monitoring: `acs:ess:{region-id}:{account-id}:cloudmonitor`.'."\n"
.'- MNS queue: `acs:mns:{region-id}:{account-id}:queue/{queuename}`.'."\n"
.'- MNS topic: `acs:mns:{region-id}:{account-id}:topic/{topicname}`.'."\n"
."\n"
.'The variables in the parameter format have the following meanings:'."\n"
."\n"
.'- region-id: the region ID of the scaling group.'."\n"
.'- account-id: the Alibaba Cloud account ID.'."\n"
.'- queuename: the name of the MNS queue.'."\n"
.'- topicname: the name of the MNS topic.', 'type' => 'string', 'required' => true, 'example' => 'acs:ess:cn-beijing:161456884340****:cloudmonitor', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Delete an auto scaling event and resource change notification',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|NotificationConfigurationNotExist|The specified notification configuration not exist for the scaling group.|The specified auto scaling event and resource change notification does not exist for the scaling group.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteNotificationConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteNotificationConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DeleteScalingConfiguration' => [
'summary' => 'Deletes a scaling configuration.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '92666',
'abilityTreeNodes' => ['FEATUREessTZHE2G'],
],
'parameters' => [
[
'name' => 'ScalingConfigurationId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling configuration that you want to delete.', 'type' => 'string', 'required' => true, 'example' => 'asc-bp1bx8mzur534edp****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID. The request ID is returned regardless of whether the call is successful.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Delete a scaling configuration',
'description' => '## Operation description'."\n"
."\n"
.'You cannot delete a scaling configuration in the following scenarios:'."\n"
."\n"
.'- The scaling configuration is in the Active state in the scaling group.'."\n"
.'- ECS instances that were created from the scaling configuration still exist in the scaling group.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingConfigurationId.NotFound|The specified scaling configuration does not exist.|The specified scaling configuration does not exist in the current account.|'."\n"
.'|400|IncorrectScalingConfigurationLifecycleState|The current lifecycle state of specified scaling configuration does not support this action.|The specified scaling configuration is not in the Inactive state.|'."\n"
.'|400|InstanceInUse|You cannot delete a scaling configuration or scaling group while there is an instance associated with it.|ECS instances associated with the specified scaling configuration have not been deleted.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScalingConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteScalingConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DeleteScalingGroup' => [
'summary' => 'Deletes a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '92667',
'abilityTreeNodes' => ['FEATUREess909XOL'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'ForceDelete',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to force delete the scaling group and remove and release ECS instances or elastic container instances if the scaling group contains ECS instances or elastic container instances, or if a scaling activity is in progress. Valid values:'."\n"
."\n"
.'- true: Force deletes the scaling group. The scaling group is first stopped and new scaling activity requests are rejected. After existing scaling activities are complete, all ECS instances and elastic container instances in the scaling group are removed from the scaling group. Manually added ECS instances and elastic container instances are removed, and ECS instances and elastic container instances that are automatically created by Auto Scaling are deleted. Then, the scaling group is deleted.'."\n"
."\n"
.'- false: Does not force delete the scaling group. The scaling group is stopped and then deleted if the following conditions are met:'."\n"
."\n"
.' - No scaling activity is being executed in the scaling group.'."\n"
."\n"
.' - The current number of ECS instances or elastic container instances (Total Capacity) in the scaling group is 0.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Delete a scaling group',
'description' => '## Operation description'."\n"
."\n"
.'Take note of the following items when you delete a scaling group:'."\n"
."\n"
.'- Deleting a scaling group also deletes the associated scaling configurations, scaling rules, scaling activities, and scaling requests.'."\n"
."\n"
.'- Deleting a scaling group does not delete scheduled nodes, CloudMonitor event-triggered tasks, load balancing instances, or ApsaraDB RDS instances.'."\n"
."\n"
.'- If you enabled the `Enable Scaling Group Protection` feature when you created the scaling group, you cannot delete the scaling group in the console or by calling an API operation. This effectively prevents accidental deletion of the scaling group.'."\n"
."\n"
.'- If you enabled the `Instance Release Protection` feature when you created ECS instances and then added the instances to a scaling group for management, manually added ECS instances are forcibly removed from the scaling group and automatically created ECS instances are automatically released together with the scaling group when you delete the scaling group.'."\n"
."\n"
.' >Before you delete a scaling group, to prevent ECS instances in the scaling group from being forcibly released, you must enable the protection feature for ECS instances in the scaling group even if you have separately enabled instance release protection for the ECS instances. This ensures that the instances are not forcibly released when the scaling group is deleted. For more information, see [SetInstancesProtection](~~459342~~).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in the current account.|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You have not fully authorized Auto Scaling to call API operations.|'."\n"
.'|400|InstanceInUse|You cannot delete a scaling configuration or scaling group while there is an instance associated with it.|The specified scaling group contains ECS instances or elastic container instances.|.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteScalingGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScalingGroup'],
],
],
],
'DeleteScalingRule' => [
'summary' => 'Deletes a scaling rule.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '92668',
'abilityTreeNodes' => ['FEATUREessRTZKQT'],
],
'parameters' => [
[
'name' => 'ScalingRuleId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling rule to be deleted.', 'type' => 'string', 'required' => true, 'example' => 'asr-bp163l21e07uhnyt****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Delete a scaling rule',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingRuleId.NotFound|The specified scaling rule does not exist.|The specified scaling rule does not exist in the current account.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteScalingRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScalingRule'],
],
],
],
'DeleteScheduledTask' => [
'summary' => 'Deletes a scheduled task.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '92669',
'abilityTreeNodes' => ['FEATUREess30IPAO'],
],
'parameters' => [
[
'name' => 'ScheduledTaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scheduled task. The ID is generated by the system and is globally unique.', 'type' => 'string', 'required' => true, 'example' => 'edRtShc57WGXdt8TlPbr****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scheduled task.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Delete a scheduled task',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScheduledTaskId.NotFound|The specified scheduled task does not exist.|The specified scheduled task does not exist in the current account.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteScheduledTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScheduledTask'],
],
],
],
'DescribeAlarms' => [
'summary' => 'Queries information about event-triggered tasks.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92670',
'abilityTreeNodes' => ['FEATUREessBFLAJQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where the event-triggered task resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group associated with the event-triggered task.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'AlarmTaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the event-triggered task.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1****', 'title' => ''],
],
[
'name' => 'State',
'in' => 'query',
'schema' => ['description' => 'The state of the event-triggered task. Valid values:'."\n"
."\n"
.'- ALARM: The alert condition is met.'."\n"
.'- OK: The alert condition is not met.'."\n"
.'- INSUFFICIENT_DATA: Insufficient data to determine whether the alert condition is met.', 'type' => 'string', 'required' => false, 'example' => 'OK', 'title' => ''],
],
[
'name' => 'IsEnable',
'in' => 'query',
'schema' => ['description' => 'Specifies whether the event-triggered task is enabled. Valid values:'."\n"
."\n"
.'- true: enabled.'."\n"
.'- false: disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'MetricType',
'in' => 'query',
'schema' => ['description' => 'The type of the monitoring metric. Valid values:'."\n"
."\n"
.'- system: uses CloudMonitor system metrics.'."\n"
.'- custom: uses custom metrics reported to CloudMonitor.', 'type' => 'string', 'required' => false, 'default' => 'system', 'example' => 'system', 'title' => ''],
],
[
'name' => 'MetricName',
'in' => 'query',
'schema' => ['description' => 'The name of the monitoring metric.', 'type' => 'string', 'required' => false, 'example' => 'CpuUtilization', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page for paging queries. Settings the number of rows per page. Maximum value: 50.'."\n"
."\n"
.'Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'default' => '10', 'example' => '10', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number of the event-triggered task list. Minimum value: 1.'."\n"
."\n"
.'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The information about event-triggered tasks.',
'type' => 'object',
'properties' => [
'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '871C7C53-34A4-45AA-8C14-4B72FA6A****', 'title' => ''],
'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'TotalCount' => ['description' => 'The total number of event-triggered tasks.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'AlarmList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Alarm' => [
'description' => 'The list of event-triggered tasks.',
'type' => 'array',
'items' => [
'description' => 'The list of event-triggered tasks.',
'type' => 'object',
'properties' => [
'AlarmTaskId' => ['description' => 'The ID of the event-triggered task.', 'type' => 'string', 'example' => 'asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1****', 'title' => ''],
'MetricName' => ['description' => 'The name of the monitoring metric. Valid values:'."\n"
."\n"
.'- CpuUtilization: (ECS) CPU utilization (%).'."\n"
.'- ConcurrentConnections: (ECS) number of concurrent connections to an ECS instance.'."\n"
.'- IntranetTx: (ECS) outbound traffic over the internal network (KB/min).'."\n"
.'- IntranetRx: (ECS) inbound traffic over the internal network (KB/min).'."\n"
.'- VpcInternetTx: (ECS) outbound traffic over the Internet (KB/min).'."\n"
.'- VpcInternetRx: (ECS) inbound traffic over the Internet (KB/min).'."\n"
.'- SystemDiskReadBps: (ECS) system cloud disk read BPS (bytes/s).'."\n"
.'- SystemDiskWriteBps: (ECS) system cloud disk write BPS (bytes/s).'."\n"
.'- SystemDiskReadOps: (ECS) system cloud disk read IOPS (operations/s).'."\n"
.'- SystemDiskWriteOps: (ECS) system cloud disk write IOPS (operations/s).'."\n"
.'- CpuUtilizationAgent: (Agent) CPU utilization (%).'."\n"
.'- GpuUtilizationAgent: (Agent) GPU utilization (%).'."\n"
.'- GpuMemoryFreeUtilizationAgent: (Agent) idle GPU memory (%).'."\n"
.'- GpuMemoryUtilizationAgent: (Agent) GPU memory usage (%).'."\n"
.'- MemoryUtilization: (Agent) memory usage (%).'."\n"
.'- LoadAverage: (Agent) average system load.'."\n"
.'- TcpConnection: (Agent) total number of TCP connections.'."\n"
.'- TcpConnection: (Agent) number of established TCP connections.'."\n"
.'- PackagesNetOut: (Agent) number of packets sent by the internal NIC (packets/s).'."\n"
.'- PackagesNetIn: (Agent) number of packets received by the internal NIC (packets/s).'."\n"
.'- PackagesNetOut: (Agent) number of packets sent by the public NIC (packets/s).'."\n"
.'- PackagesNetIn: (Agent) number of packets received by the public NIC (packets/s).'."\n"
.'- EciPodCpuUtilization: CPU utilization (%).'."\n"
.'- EciPodMemoryUtilization: memory usage (%).'."\n"
.'- LoadBalancerRealServerAverageQps: (ALB) average QPS per server in a server group (queries/s).'."\n"
."\n"
.'For more information, see [System monitoring event-triggered tasks](~~74854~~).', 'type' => 'string', 'example' => 'CpuUtilization', 'title' => ''],
'EvaluationCount' => ['description' => 'The number of consecutive times that the threshold expression must be met before the scaling rule is triggered. For example, the average CPU utilization must be greater than or equal to 80% for three consecutive statistical periods.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'State' => ['description' => 'The state of the event-triggered task. Valid values:'."\n"
."\n"
.'- ALARM: The alert condition is met.'."\n"
.'- OK: The alert condition is not met.'."\n"
.'- INSUFFICIENT_DATA: Insufficient data to determine whether the alert condition is met.', 'type' => 'string', 'example' => 'ALARM', 'title' => ''],
'Period' => ['description' => 'The statistical period for the monitoring metric data, in seconds. Valid values:'."\n"
."\n"
.'- 15.'."\n"
.'- 60.'."\n"
.'- 120.'."\n"
.'- 300.'."\n"
.'- 900.'."\n"
."\n"
.'> Only ECS-type scaling groups support a 15-second statistical period.', 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'title' => ''],
'ScalingGroupId' => ['description' => 'The ID of the scaling group associated with the event-triggered task.', 'type' => 'string', 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
'ComparisonOperator' => ['description' => 'The comparison operator between the statistical value and the threshold of the monitoring metric. This operator specifies the condition under which the alert is triggered. Valid values:'."\n"
."\n"
.'- The statistical value is greater than or equal to the threshold. Value: >=.'."\n"
."\n"
.'- The statistical value is less than or equal to the threshold. Value: <=.'."\n"
."\n"
.'- The statistical value is greater than the threshold. Value: >.'."\n"
."\n"
.'- The statistical value is less than the threshold. Value: <.', 'type' => 'string', 'example' => '>=', 'title' => ''],
'Effective' => ['description' => 'The effective period of the event-triggered task.', 'type' => 'string', 'example' => '* * * * * ?', 'title' => ''],
'Description' => ['description' => 'The description of the event-triggered task.', 'type' => 'string', 'example' => 'Test alarm task.', 'title' => ''],
'MetricType' => ['description' => 'The type of the monitoring metric. Valid values:'."\n"
.'- system: uses CloudMonitor system metrics.'."\n"
.'- custom: uses custom metrics reported to CloudMonitor.', 'type' => 'string', 'example' => 'system', 'title' => ''],
'Name' => ['description' => 'The name of the event-triggered task.', 'type' => 'string', 'example' => 'TestAlarmTask', 'title' => ''],
'Threshold' => ['description' => 'The threshold of the monitoring metrics. The scaling rule is triggered when the threshold expression is met for the specified number of times.', 'type' => 'number', 'format' => 'float', 'example' => '80.0', 'title' => ''],
'Enable' => ['description' => 'Indicates whether the event-triggered task is enabled. Valid values:'."\n"
."\n"
.'- true: enabled.'."\n"
.'- false: disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Statistics' => ['description' => 'The method used to aggregate the monitoring metric data. Valid values:'."\n"
."\n"
.'- Average: average value.'."\n"
.'- Minimum: minimum value.'."\n"
.'- Maximum: maximum value.', 'type' => 'string', 'example' => 'Average', 'title' => ''],
'Dimensions' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Dimension' => [
'description' => 'The dimension information associated with the monitoring metric.',
'type' => 'array',
'items' => [
'description' => 'The dimension information associated with the monitoring metric.',
'type' => 'object',
'properties' => [
'DimensionKey' => ['description' => 'The key of the dimension information associated with the monitoring metric. Valid values:'."\n"
."\n"
.'- user_id: the ID of your account.'."\n"
.'- scaling_group: the scaling group being monitored.'."\n"
.'- device: the type of the NIC device.'."\n"
.'- state: the state of the TCP connection.', 'type' => 'string', 'example' => 'device', 'title' => ''],
'DimensionValue' => ['description' => 'The value of the dimension information associated with the monitoring metric. The valid values depend on the dimension key.'."\n"
."\n"
.'- `user_id`: automatically populated by the system.'."\n"
."\n"
.'- `scaling_group`: automatically populated by the system.'."\n"
."\n"
.'- Valid values of `device`:'."\n"
.' - eth0: For classic VPC-connected instances, eth0 represents the internal NIC. For VPC instances, only the eth0 NIC exists.'."\n"
.' - eth1: For classic VPC-connected instances, eth1 represents the public NIC.'."\n"
."\n"
.'- Valid values of `state`:'."\n"
.' - TCP_TOTAL: the total number of TCP connections.'."\n"
.' - ESTABLISHED: the number of established TCP connections.', 'type' => 'string', 'example' => 'eth0', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'AlarmActions' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'AlarmAction' => [
'description' => 'The list of unique identifiers of the scaling rules associated with the event-triggered task.',
'type' => 'array',
'items' => ['description' => 'The list of unique identifiers of the scaling rules associated with the event-triggered task.', 'type' => 'string', 'example' => 'ari:acs:ess:cn-hangzhou:1406926474****:scalingrule/asr-bp163l21e07uh****', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'Expressions' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Expression' => [
'description' => 'The information about multi-metric alert rules.',
'type' => 'array',
'items' => [
'description' => 'The information about multi-metric alert rules.',
'type' => 'object',
'properties' => [
'MetricName' => ['description' => 'The name of the monitoring metric in the multi-metric alert rule. Valid values: '."\n"
."\n"
.'- CpuUtilization: (ECS) CPU utilization (%).'."\n"
.'- ConcurrentConnections: (ECS) number of concurrent connections to an ECS instance.'."\n"
.'- IntranetTx: (ECS) outbound traffic over the internal network (KB/min).'."\n"
.'- IntranetRx: (ECS) inbound traffic over the internal network (KB/min).'."\n"
.'- VpcInternetTx: (ECS) outbound traffic over the Internet (KB/min).'."\n"
.'- VpcInternetRx: (ECS) inbound traffic over the Internet (KB/min).'."\n"
.'- SystemDiskReadBps: (ECS) system cloud disk read BPS (bytes/s).'."\n"
.'- SystemDiskWriteBps: (ECS) system cloud disk write BPS (bytes/s).'."\n"
.'- SystemDiskReadOps: (ECS) system cloud disk read IOPS (operations/s).'."\n"
.'- SystemDiskWriteOps: (ECS) system cloud disk write IOPS (operations/s).'."\n"
.'- CpuUtilizationAgent: (Agent) CPU utilization (%).'."\n"
.'- GpuUtilizationAgent: (Agent) GPU utilization (%).'."\n"
.'- GpuMemoryFreeUtilizationAgent: (Agent) idle GPU memory (%).'."\n"
.'- GpuMemoryUtilizationAgent: (Agent) GPU memory usage (%).'."\n"
.'- MemoryUtilization: (Agent) memory usage (%).'."\n"
.'- LoadAverage: (Agent) average system load.'."\n"
.'- TcpConnection: (Agent) total number of TCP connections.'."\n"
.'- TcpConnection: (Agent) number of established TCP connections.'."\n"
.'- PackagesNetOut: (Agent) number of packets sent by the internal NIC (packets/s).'."\n"
.'- PackagesNetIn: (Agent) number of packets received by the internal NIC (packets/s).'."\n"
.'- PackagesNetOut: (Agent) number of packets sent by the public NIC (packets/s).'."\n"
.'- PackagesNetIn: (Agent) number of packets received by the public NIC (packets/s).'."\n"
.'- EciPodCpuUtilization: CPU utilization (%).'."\n"
.'- EciPodMemoryUtilization: memory usage (%).'."\n"
.'- LoadBalancerRealServerAverageQps: (ALB) average QPS per server in a server group (queries/s).'."\n"
."\n"
.'For more information, see [System monitoring event-triggered nodes](~~74854~~).', 'type' => 'string', 'example' => 'CpuUtilization', 'title' => ''],
'ComparisonOperator' => ['description' => 'The comparison operator between the statistical value and the threshold of the monitoring metric in the multi-metric alert rule. This operator specifies the condition under which the alert is triggered. Valid values:'."\n"
."\n"
.'- The statistical value is greater than or equal to the threshold. Value: >=.'."\n"
.'- The statistical value is less than or equal to the threshold. Value: <=.'."\n"
.'- The statistical value is greater than the threshold. Value: >.'."\n"
.'- The statistical value is less than the threshold. Value: <.'."\n"
."\n"
.'Default value: >=.', 'type' => 'string', 'example' => '>=', 'title' => ''],
'Period' => ['description' => 'The statistical period for the monitoring metric data in the multi-metric alert rule, in seconds. Valid values:'."\n"
."\n"
.'- 15.'."\n"
.'- 60.'."\n"
.'- 120.'."\n"
.'- 300.'."\n"
.'- 900.'."\n"
."\n"
.'> Only ECS-type scaling groups support a 15-second statistical period.', 'type' => 'integer', 'format' => 'int32', 'example' => '900', 'title' => ''],
'Statistics' => ['description' => 'The method used to aggregate the monitoring metric data in the multi-metric alert rule. Valid values:'."\n"
.'- Average: average value.'."\n"
.'- Minimum: minimum value.'."\n"
.'- Maximum: maximum value.', 'type' => 'string', 'example' => 'Average', 'title' => ''],
'Threshold' => ['description' => 'The threshold of the monitoring metrics in the multi-metric alert rule. The scaling rule is triggered when the threshold expression is met for the specified number of times.', 'type' => 'number', 'format' => 'float', 'example' => '40.0', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'ExpressionsLogicOperator' => ['description' => 'The logical operator between multi-metric alert conditions. Valid values:'."\n"
.'- `&&`: An alert is triggered only when all monitoring metrics meet the alert conditions. All expressions in the multi-metric alert rule must evaluate to `true` before an alert is triggered.'."\n"
.'- `||`: An alert is triggered when any one of the monitoring metrics meets the alert condition.', 'type' => 'string', 'example' => '&&', 'title' => ''],
'HybridMonitorNamespace' => ['description' => 'The ID of the Hybrid Cloud Monitoring monitoring metrics repository.'."\n"
."\n"
.'To manage metric repositories, see [Manage metric repositories](~~217606~~).', 'type' => 'string', 'example' => 'aliyun-test', 'title' => ''],
'HybridMetrics' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'HybridMetric' => [
'description' => 'The Hybrid Cloud Monitoring monitoring metrics settings. For more information, see [Use formula-based custom target tracking rules](~~2852162~~).',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Id' => ['description' => 'The reference ID of the metric in the formula expression.', 'type' => 'string', 'example' => 'a', 'title' => ''],
'Expression' => ['description' => 'The formula expression for multiple Hybrid Cloud Monitoring metrics. The calculation result of the expression is used to trigger scaling activities.'."\n"
."\n"
.'The expression must comply with the Reverse Polish Notation (RPN) specification and supports only the `+ - * /` operators.', 'type' => 'string', 'example' => '(a+b)/2', 'title' => ''],
'MetricName' => ['description' => 'The name of the monitoring metrics in the Hybrid Cloud Monitoring metric repository.', 'type' => 'string', 'example' => 'AliyunSmq_NumberOfMessagesVisible', 'title' => ''],
'Statistic' => ['description' => 'The aggregation method for the metric. Valid values:'."\n"
.'- Average: the average of all data points within the specified interval.'."\n"
.'- Minimum: the minimum of all data points within the specified interval.'."\n"
.'- Maximum: the maximum of all data points within the specified interval.', 'type' => 'string', 'example' => 'Average', 'title' => ''],
'Dimensions' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Dimension' => [
'description' => 'The metric dimension. Specifies the resource to be monitored by the metric.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'DimensionKey' => ['description' => 'The key of the metric dimension.', 'type' => 'string', 'example' => 'queue', 'title' => ''],
'DimensionValue' => ['description' => 'The value of the metric dimension.', 'type' => 'string', 'example' => 'testQueue', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'PromQL' => ['description' => 'The PromQL query statement for Hybrid Cloud Monitoring.', 'type' => 'string', 'example' => '(avg(last_over_time(AliyunMnsnew_ActiveMessages{region=\'cn-hangzhou\',userId=\'123456****\',queue=\'testQueue\'}[900s])) by (userId))/(avg(last_over_time(AliyunEss_RunningInstanceCount{instanceId=\'asg-bp1****\'}[900s])) by (userId) != 0)', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"871C7C53-34A4-45AA-8C14-4B72FA6A****\\",\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 2,\\n \\"AlarmList\\": {\\n \\"Alarm\\": [\\n {\\n \\"AlarmTaskId\\": \\"asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1****\\",\\n \\"MetricName\\": \\"CpuUtilization\\",\\n \\"EvaluationCount\\": 3,\\n \\"State\\": \\"ALARM\\",\\n \\"Period\\": 300,\\n \\"ScalingGroupId\\": \\"asg-bp18p2yfxow2dloq****\\",\\n \\"ComparisonOperator\\": \\">=\\",\\n \\"Effective\\": \\"* * * * * ?\\",\\n \\"Description\\": \\"Test alarm task.\\",\\n \\"MetricType\\": \\"system\\",\\n \\"Name\\": \\"TestAlarmTask\\",\\n \\"Threshold\\": 80,\\n \\"Enable\\": true,\\n \\"Statistics\\": \\"Average\\",\\n \\"Dimensions\\": {\\n \\"Dimension\\": [\\n {\\n \\"DimensionKey\\": \\"device\\",\\n \\"DimensionValue\\": \\"eth0\\"\\n }\\n ]\\n },\\n \\"AlarmActions\\": {\\n \\"AlarmAction\\": [\\n \\"ari:acs:ess:cn-hangzhou:1406926474****:scalingrule/asr-bp163l21e07uh****\\"\\n ]\\n },\\n \\"Expressions\\": {\\n \\"Expression\\": [\\n {\\n \\"MetricName\\": \\"CpuUtilization\\",\\n \\"ComparisonOperator\\": \\">=\\",\\n \\"Period\\": 900,\\n \\"Statistics\\": \\"Average\\",\\n \\"Threshold\\": 40\\n }\\n ]\\n },\\n \\"ExpressionsLogicOperator\\": \\"&&\\",\\n \\"HybridMonitorNamespace\\": \\"aliyun-test\\",\\n \\"HybridMetrics\\": {\\n \\"HybridMetric\\": [\\n {\\n \\"Id\\": \\"a\\",\\n \\"Expression\\": \\"(a+b)/2\\",\\n \\"MetricName\\": \\"AliyunSmq_NumberOfMessagesVisible\\",\\n \\"Statistic\\": \\"Average\\",\\n \\"Dimensions\\": {\\n \\"Dimension\\": [\\n {\\n \\"DimensionKey\\": \\"queue\\",\\n \\"DimensionValue\\": \\"testQueue\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"PromQL\\": \\"(avg(last_over_time(AliyunMnsnew_ActiveMessages{region=\'cn-hangzhou\',userId=\'123456****\',queue=\'testQueue\'}[900s])) by (userId))/(avg(last_over_time(AliyunEss_RunningInstanceCount{instanceId=\'asg-bp1****\'}[900s])) by (userId) != 0)\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Query event-triggered task information',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeAlarms',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAlarms'],
],
],
],
'DescribeAlertConfiguration' => [
'summary' => 'When a scaling activity succeeds, fails, or is rejected, Auto Scaling can send notifications through SMS or email. You must handle the related events after receiving the notifications. You can call the DescribeAlertConfiguration operation to query the scaling activity statuses for which SMS and email notifications are sent in a scaling group. This helps you stay informed about changes to scaling activities and respond quickly to improve scaling efficiency.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '208803',
'abilityTreeNodes' => ['FEATUREessFY8KDA'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where the scaling group resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'ScaleStatuses' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ScaleStatus' => [
'description' => 'The scaling activity statuses for which SMS, internal message, and email notifications are sent in the scaling group.',
'type' => 'array',
'items' => ['description' => 'The scaling activity statuses for which SMS, internal message, and email notifications are sent in the scaling group. Valid values:'."\n"
."\n"
.'- ScaleSuccessful: SMS and email notifications were sent when the scaling activity succeeded.'."\n"
.'- ScaleRejected: SMS and email notifications were sent when the scaling activity was rejected.'."\n"
.'- ScaleFailed: SMS and email notifications were sent when the scaling activity failed.', 'type' => 'string', 'example' => 'ScaleSuccessful', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'title' => 'DescribeAlertConfiguration',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeAlertConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"ScaleStatuses\\": {\\n \\"ScaleStatus\\": [\\n \\"ScaleSuccessful\\"\\n ]\\n }\\n}","type":"json"}]',
],
'DescribeEciScalingConfigurations' => [
'summary' => 'Queries scaling configurations of the ECI type.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92673',
'abilityTreeNodes' => ['FEATUREessU7F1S4'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group to which the scaling configuration belongs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number of the scaling configuration list. Minimum value: 1.'."\n"
."\n"
.'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page for a paged query. Maximum value: 50.'."\n"
."\n"
.'Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'default' => '10', 'example' => '50', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group. You can query all scaling configurations in the specified scaling group.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp17pelvl720x3v7****', 'title' => ''],
],
[
'name' => 'ScalingConfigurationId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The IDs of the scaling configurations that you want to query. You can specify 1 to 10 IDs.'."\n"
."\n"
.'The query results include scaling configurations in both the Active and Inactive states, which are identified by the LifecycleState response parameter.',
'type' => 'array',
'items' => ['description' => 'The ID of the scaling configuration that you want to query.'."\n"
."\n"
.'The query results include scaling configurations in both the Active and Inactive states, which are identified by the LifecycleState response parameter.', 'type' => 'string', 'required' => false, 'example' => 'asc-bp17pelvl720x5ub****', 'title' => ''],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'ScalingConfigurationName',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The names of the scaling configurations that you want to query. You can specify 1 to 10 names.'."\n"
."\n"
.'Invalid scaling configuration names are ignored in the query results, and no error is returned.',
'type' => 'array',
'items' => ['description' => 'The name of the scaling configuration that you want to query.'."\n"
."\n"
.'Invalid scaling configuration names are ignored in the query results, and no error is returned.', 'type' => 'string', 'required' => false, 'example' => 'scalingcon****', 'title' => ''],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'TotalCount' => ['description' => 'The total number of scaling configurations.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ScalingConfigurations' => [
'description' => 'The collection of scaling configuration information.',
'type' => 'array',
'items' => [
'description' => 'The collection of scaling configuration information.',
'type' => 'object',
'properties' => [
'CreationTime' => ['description' => 'The time when the scaling configuration was created.', 'type' => 'string', 'example' => '2014-08-14T10:58Z', 'title' => ''],
'ScalingConfigurationName' => ['description' => 'The name of the scaling configuration.', 'type' => 'string', 'example' => 'scalingconfi****', 'title' => ''],
'SecurityGroupId' => ['description' => 'The ID of the security group to which the ECI instance belongs. ECI instances within the same security group can access each other.', 'type' => 'string', 'example' => 'sg-bp18kz60mefs****', 'title' => ''],
'ActiveDeadlineSeconds' => ['description' => 'The validity period. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''],
'SpotStrategy' => ['description' => 'The bidding policy for the instance. Valid values:'."\n"
."\n"
.'- NoSpot: a pay-as-you-go instance.'."\n"
.'- SpotWithPriceLimit: a spot instance with a maximum price limit.'."\n"
.'- SpotAsPriceGo: a spot instance for which the system automatically bids based on the current market price.', 'type' => 'string', 'example' => 'NoSpot', 'title' => ''],
'AutoCreateEip' => ['description' => 'Indicates whether automatic creation of an elastic IP address (EIP) and attaching it to the ECI instance is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'ScalingGroupId' => ['description' => 'The ID of the scaling group to which the scaling configuration belongs.', 'type' => 'string', 'example' => 'asg-bp17pelvl720x3v7****', 'title' => ''],
'EphemeralStorage' => ['description' => 'The size of the ephemeral storage. Unit: GiB.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
'Ipv6AddressCount' => ['description' => 'The number of IPv6 addresses.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'EipBandwidth' => ['description' => 'The bandwidth of the EIP. Default value: 5 Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
'ImageSnapshotId' => ['description' => 'The image cache ID.', 'type' => 'string', 'example' => 'imc-2zebxkiifuyzzlhl****', 'title' => ''],
'Memory' => ['description' => 'The memory size.'."\n"
."\n"
.'If you specify both CPU and Memory, the instance type range is defined. For example, CPU=2 and Memory=16 defines all instance types with 2 vCPUs and 16 GiB of memory. Auto Scaling determines the set of available instance types based on factors such as I/O optimization and zones, and then creates instances of the lowest-priced instance type.'."\n"
."\n"
.'> This configuration takes effect only when cost optimization mode is enabled and no instance type is specified in the scaling configuration.', 'type' => 'number', 'format' => 'float', 'example' => '16', 'title' => ''],
'RestartPolicy' => ['description' => 'The restart policy for the container group. Valid values:'."\n"
."\n"
.'- Never: never restarts.'."\n"
.'- Always: always restarts.'."\n"
.'- OnFailure: restarts upon failure.', 'type' => 'string', 'example' => 'Never', 'title' => ''],
'SpotPriceLimit' => ['description' => 'The maximum hourly price for the spot instance.'."\n"
."\n"
.'This parameter is returned only when SpotStrategy is set to SpotWithPriceLimit.', 'type' => 'number', 'format' => 'float', 'example' => '0.025', 'title' => ''],
'IngressBandwidth' => ['description' => 'The inbound bandwidth limit. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '1024000', 'title' => ''],
'CpuOptionsThreadsPerCore' => ['description' => 'The number of threads per core. Only specific instance types support custom settings. A value of 1 disables hyper-threading. For more information, see [Customize CPU options](~~197781~~).', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'TerminationGracePeriodSeconds' => ['description' => 'The buffer time for the program to handle operations before shutdown.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''],
'LoadBalancerWeight' => ['description' => 'The weight of the ECI instance as a backend server. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'DnsPolicy' => ['description' => 'The DNS policy.', 'type' => 'string', 'example' => 'Default', 'title' => ''],
'HostName' => ['description' => 'The hostname.', 'type' => 'string', 'example' => '[\'hehe.com\', \'haha.com\']', 'title' => ''],
'EgressBandwidth' => ['description' => 'The outbound bandwidth limit. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '1024000', 'title' => ''],
'RegionId' => ['description' => 'The region ID of the ECI instance.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
'RamRoleName' => ['description' => 'The name of the instance RAM role. ECI and ECS share instance RAM roles. For more information, see [Use an instance RAM role by calling API operations](~~61178~~).', 'type' => 'string', 'example' => 'ram:PassRole', 'title' => ''],
'Cpu' => ['description' => 'The instance-level vCPU size.', 'type' => 'number', 'format' => 'float', 'example' => '2.0', 'title' => ''],
'AutoMatchImageCache' => ['description' => 'Indicates whether image caches are automatically matched. Valid values:'."\n"
.'- true: automatically matched.'."\n"
.'- false: not automatically matched.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-8db03793gfrz****', 'title' => ''],
'ContainerGroupName' => ['description' => 'The name of the ECI instance, which is the container group name.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'ScalingConfigurationId' => ['description' => 'The ID of the scaling configuration.', 'type' => 'string', 'example' => 'asc-bp1ezrfgoyn5kijl****', 'title' => ''],
'CpuOptionsCore' => ['description' => 'The number of physical CPU cores. Only specific instance types support custom settings. For more information, see [Customize CPU options](~~197781~~).', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'Containers' => [
'description' => 'The list of containers in the ECI instance.',
'type' => 'array',
'items' => [
'description' => 'The information about a container in the ECI instance.',
'type' => 'object',
'properties' => [
'ReadinessProbeHttpGetPath' => ['description' => 'The path for HTTP GET-based health checks.', 'type' => 'string', 'example' => '/usr/local', 'title' => ''],
'ReadinessProbeSuccessThreshold' => ['description' => 'The minimum number of consecutive successes required to transition from a failure status to a success status. Default value: 1. The current value must be 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'LivenessProbePeriodSeconds' => ['description' => 'The interval at which health checks are performed. Default value: 10 seconds. Minimum value: 1 second.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
'LivenessProbeTcpSocketPort' => ['description' => 'The port number for TCP Socket-based health checks.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''],
'LivenessProbeHttpGetScheme' => ['description' => 'The protocol type for HTTP GET-based health checks. Valid values:'."\n"
."\n"
.'- HTTP.'."\n"
.'- HTTPS.', 'type' => 'string', 'example' => 'HTTP', 'title' => ''],
'WorkingDir' => ['description' => 'The working directory of the container.', 'type' => 'string', 'example' => '/usr/local/nginx', 'title' => ''],
'Tty' => ['description' => 'Indicates whether interaction is enabled. Valid values:'."\n"
.'- true: enabled.'."\n"
.'- false: not enabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'LivenessProbeHttpGetPort' => ['description' => 'The port for HTTP GET-based health checks.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''],
'Gpu' => ['description' => 'The number of GPUs.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ReadinessProbeInitialDelaySeconds' => ['description' => 'The time to wait before the first health check starts, calculated from the time the container finishes starting.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
'Stdin' => ['description' => 'Specifies whether the container runtime allocates a buffer for standard input. If this parameter is not set, reads from standard input in the container result in EOF.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Memory' => ['description' => 'The memory size of the container.', 'type' => 'number', 'format' => 'float', 'example' => '2.0', 'title' => ''],
'Name' => ['description' => 'The custom container name.', 'type' => 'string', 'example' => 'nginx', 'title' => ''],
'LivenessProbeHttpGetPath' => ['description' => 'The path for HTTP GET-based health checks.', 'type' => 'string', 'example' => '/usr/nginx/', 'title' => ''],
'Image' => ['description' => 'The container image.', 'type' => 'string', 'example' => 'mysql', 'title' => ''],
'ReadinessProbeTcpSocketPort' => ['description' => 'The port number for TCP Socket-based health checks.', 'type' => 'integer', 'format' => 'int32', 'example' => '8888', 'title' => ''],
'ReadinessProbeHttpGetScheme' => ['description' => 'The protocol type for HTTP GET-based health checks. Valid values:'."\n"
.'- HTTP.'."\n"
.'- HTTPS.', 'type' => 'string', 'example' => 'HTTP', 'title' => ''],
'ReadinessProbeHttpGetPort' => ['description' => 'The path for HTTP GET-based health checks.', 'type' => 'integer', 'format' => 'int32', 'example' => '/usr/nginx/', 'title' => ''],
'LivenessProbeSuccessThreshold' => ['description' => 'The minimum number of consecutive successes required to transition from a failure status to a success status. Default value: 1. The current value must be 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ReadinessProbeTimeoutSeconds' => ['description' => 'The timeout period for health checks. Default value: 1 second. Minimum value: 1 second.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
'SecurityContextRunAsUser' => ['description' => 'The UID used to run the container process entry point.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
'LivenessProbeInitialDelaySeconds' => ['description' => 'The time to wait before the first health check starts, calculated from the time the container finishes starting.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'ReadinessProbePeriodSeconds' => ['description' => 'The interval at which health checks are performed. Default value: 10 seconds. Minimum value: 1 second.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ImagePullPolicy' => ['description' => 'The image pull policy. Valid values:'."\n"
."\n"
.'- Always: always pulls the image. The image is pulled each time.'."\n"
.'- IfNotPresent: pulls the image only when needed. The local image is used first. If no local image is available, the image is pulled.'."\n"
.'- Never: never pulls the image. Only the local image is used.', 'type' => 'string', 'example' => 'Always', 'title' => ''],
'StdinOnce' => ['description' => 'When standard input is set to true, the standard input stream remains open across multiple attach sessions.'."\n"
."\n"
.'If StdinOnce is set to true, standard input is opened when the container starts and remains empty until the first client attaches to it. It then stays open and accepts data until the client disconnects, at which point standard input enters the shutdown enabling status and remains shutdown until the container restarts.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Cpu' => ['description' => 'The vCPU size of the container.', 'type' => 'number', 'format' => 'float', 'example' => '2.0', 'title' => ''],
'LivenessProbeTimeoutSeconds' => ['description' => 'The timeout period for health checks. Default value: 1 second. Minimum value: 1 second.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'ReadinessProbeFailureThreshold' => ['description' => 'The minimum number of consecutive failures required to transition from a success status to a failure status.'."\n"
."\n"
.'Default value: 3.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'LivenessProbeFailureThreshold' => ['description' => 'The minimum number of consecutive failures required to transition from a success status to a failure status.'."\n"
."\n"
.'Default value: 3.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'Ports' => [
'description' => 'The list of exposed ports and protocols.',
'type' => 'array',
'items' => [
'description' => 'The exposed port and protocol.',
'type' => 'object',
'properties' => [
'Port' => ['description' => 'The port number. Valid values: 1 to 65535.', 'type' => 'integer', 'format' => 'int32', 'example' => '8888', 'title' => ''],
'Protocol' => ['description' => 'The protocol type. Valid values:'."\n"
.'- TCP.'."\n"
.'- UDP.', 'type' => 'string', 'example' => 'TCP', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'VolumeMounts' => [
'description' => 'The list of volume mounts.',
'type' => 'array',
'items' => [
'description' => 'The volume mount.',
'type' => 'object',
'properties' => [
'ReadOnly' => ['description' => 'Indicates whether the volume is read-only. Valid values:'."\n"
.'- true: read-only.'."\n"
.'- false: not read-only.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'SubPath' => ['description' => 'The subpath of the volume.', 'type' => 'string', 'example' => 'data2/', 'title' => ''],
'Name' => ['description' => 'The name of the volume. This value is the same as the Name value in Volume.', 'type' => 'string', 'example' => 'default-volume1', 'title' => ''],
'MountPropagation' => ['description' => 'The mount propagation setting of the volume. Mount propagation allows volumes mounted by a container to be shared with other containers in the same pod, or even with other pods on the same node. Valid values:'."\n"
."\n"
.'- None: the volume does not detect any subsequent mounts performed on this volume or its subdirectories.'."\n"
.'- HostToCotainer: the volume detects subsequent mounts performed on this volume or its subdirectories.'."\n"
.'- Bidirectional: similar to HostToCotainer, the volume detects mount operations. In addition, the volume is propagated back to the host and all containers of all pods that use the same volume.', 'type' => 'string', 'example' => 'None', 'title' => ''],
'MountPath' => ['description' => 'The directory where the container mounts the volume.'."\n"
."\n"
.'> The content in the mount directory of the container is overwritten by the volume content. Use this parameter with caution.', 'type' => 'string', 'example' => '/pod/data', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'EnvironmentVars' => [
'description' => 'The list of environment variables.',
'type' => 'array',
'items' => [
'description' => 'The environment variable information.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The name of the environment variable.', 'type' => 'string', 'example' => 'PATH', 'title' => ''],
'Value' => ['description' => 'The value of the environment variable.', 'type' => 'string', 'example' => '/usr/bin/', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'Commands' => [
'description' => 'The list of container startup commands. A maximum of 20 commands are supported. Each command can contain up to 256 characters.',
'type' => 'array',
'items' => ['description' => 'The container startup command. A maximum of 20 commands are supported. Each command can contain up to 256 characters.', 'type' => 'string', 'example' => 'sleep', 'title' => ''],
'title' => '',
'example' => '',
],
'LivenessProbeExecCommands' => [
'description' => 'The list of commands executed in the container for command-based health checks.',
'type' => 'array',
'items' => ['description' => 'The command executed in the container for command-based health checks.', 'type' => 'string', 'example' => 'cat/tmp/healthy', 'title' => ''],
'title' => '',
'example' => '',
],
'Args' => [
'description' => 'The list of arguments for the container startup command. A maximum of 10 arguments are supported.',
'type' => 'array',
'items' => ['description' => 'The argument for the container startup command. A maximum of 10 arguments are supported.', 'type' => 'string', 'example' => '100', 'title' => ''],
'title' => '',
'example' => '',
],
'ReadinessProbeExecCommands' => [
'description' => 'The list of commands executed in the container for command-based health checks.',
'type' => 'array',
'items' => ['description' => 'The command executed in the container for command-based health checks.', 'type' => 'string', 'example' => 'cat/tmp/healthy', 'title' => ''],
'title' => '',
'example' => '',
],
'SecurityContextCapabilityAdds' => [
'description' => 'The specific permissions granted to processes in the container. Currently, only NET_ADMIN and NET_RAW are supported.'."\n"
.'>NET_RAW is not supported by default. Submit a ticket to apply for this permission.',
'type' => 'array',
'items' => ['description' => 'The specific permissions granted to processes in the container. Currently, only NET_ADMIN and NET_RAW are supported.'."\n"
.'>NET_RAW is not supported by default. Submit a ticket to apply for this permission.', 'type' => 'string', 'example' => 'NET_ADMIN', 'title' => ''],
'title' => '',
'example' => '',
],
'LifecyclePostStartHandlerHttpGetHost' => ['description' => 'The host address that receives the HTTP GET request when the PostStart callback function is configured with the HTTP request method.', 'type' => 'string', 'example' => '10.0.XX.XX', 'title' => ''],
'LifecyclePostStartHandlerHttpGetPort' => ['description' => 'The port number for the HTTP GET request when the PostStart callback function is configured with the HTTP request method.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''],
'LifecyclePostStartHandlerHttpGetPath' => ['description' => 'The path for the HTTP GET request when the PostStart callback function is configured with the HTTP request method.', 'type' => 'string', 'example' => '/healthyz', 'title' => ''],
'LifecyclePostStartHandlerHttpGetScheme' => ['description' => 'The protocol type for the HTTP GET request when the PostStart callback function is configured with the HTTP request method.', 'type' => 'string', 'example' => 'HTTP', 'title' => ''],
'LifecyclePostStartHandlerExecs' => [
'description' => 'The commands executed in the container when the PostStart callback function is configured with the command-line method.',
'type' => 'array',
'items' => ['description' => 'The commands executed in the container when the PostStart callback function is configured with the command-line method.', 'type' => 'string', 'example' => '[ "/bin/sh", "-c", "echo Hello from the preStop handler /usr/share/message" ]', 'title' => ''],
'title' => '',
'example' => '',
],
'LifecyclePostStartHandlerTcpSocketHost' => ['description' => 'The host address for TCP Socket-based detection when the PostStart callback function is configured with the TCP Socket method.', 'type' => 'string', 'example' => '10.0.XX.XX', 'title' => ''],
'LifecyclePostStartHandlerTcpSocketPort' => ['description' => 'The port for TCP Socket-based detection when the PostStart callback function is configured with the TCP Socket method.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''],
'LifecyclePreStopHandlerHttpGetHost' => ['description' => 'The host address that receives the HTTP GET request when the PreStop callback function is configured with the HTTP request method.', 'type' => 'string', 'example' => '10.0.XX.XX', 'title' => ''],
'LifecyclePreStopHandlerHttpGetPort' => ['description' => 'The port number for the HTTP GET request when the PreStop callback function is configured with the HTTP request method.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''],
'LifecyclePreStopHandlerHttpGetPath' => ['description' => 'The path for the HTTP GET request when the PreStop callback function is configured with the HTTP request method.', 'type' => 'string', 'example' => '/healthyz', 'title' => ''],
'LifecyclePreStopHandlerHttpGetScheme' => ['description' => 'The protocol type for the HTTP GET request when the PreStop callback function is configured with the HTTP request method.', 'type' => 'string', 'example' => 'HTTP', 'title' => ''],
'LifecyclePreStopHandlerExecs' => [
'description' => 'The commands executed in the container when the PreStop callback function is configured with the command-line method.',
'type' => 'array',
'items' => ['description' => 'The commands executed in the container when the PreStop callback function is configured with the command-line method.', 'type' => 'string', 'example' => '[ "/bin/sh", "-c", "echo Hello from the preStop handler /usr/share/message" ]', 'title' => ''],
'title' => '',
'example' => '',
],
'LifecyclePreStopHandlerTcpSocketHost' => ['description' => 'The host address for TCP Socket-based detection when the PreStop callback function is configured with the TCP Socket method.', 'type' => 'string', 'example' => '10.0.XX.XX', 'title' => ''],
'LifecyclePreStopHandlerTcpSocketPort' => ['description' => 'The port for TCP Socket-based detection when the PreStop callback function is configured with the TCP Socket method.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'InitContainers' => [
'description' => 'The list of init containers.',
'type' => 'array',
'items' => [
'description' => 'The list of init containers.',
'type' => 'object',
'properties' => [
'SecurityContextReadOnlyRootFilesystem' => ['description' => 'Indicates whether the root file system on which the container runs is read-only. Currently, only true is supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'ImagePullPolicy' => ['description' => 'The image pull policy.', 'type' => 'string', 'example' => 'Always', 'title' => ''],
'WorkingDir' => ['description' => 'The working directory.', 'type' => 'string', 'example' => '/usr/local', 'title' => ''],
'Cpu' => ['description' => 'The CPU size.', 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''],
'Image' => ['description' => 'The image used by the container.', 'type' => 'string', 'example' => 'nginx', 'title' => ''],
'Gpu' => ['description' => 'The number of GPUs used by the container.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'SecurityContextRunAsUser' => ['description' => 'The user ID used to run the container.', 'type' => 'string', 'example' => '587', 'title' => ''],
'Memory' => ['description' => 'The memory size.', 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''],
'Name' => ['description' => 'The container name.', 'type' => 'string', 'example' => 'test-init', 'title' => ''],
'InitContainerEnvironmentVars' => [
'description' => 'The environment variable information.',
'type' => 'array',
'items' => [
'description' => 'The environment variable information.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The name of the environment variable.', 'type' => 'string', 'example' => 'PATH', 'title' => ''],
'Value' => ['description' => 'The value of the environment variable.', 'type' => 'string', 'example' => '/usr/local/bin', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'InitContainerVolumeMounts' => [
'description' => 'The volume mounts.',
'type' => 'array',
'items' => [
'description' => 'The volume mounts.',
'type' => 'object',
'properties' => [
'ReadOnly' => ['description' => 'Indicates whether the mount path is read-only.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'SubPath' => ['description' => 'The subdirectory of the volume. This allows a pod to mount different directories of the same volume to different directories in the container.', 'type' => 'string', 'example' => '/usr/sub/', 'title' => ''],
'Name' => ['description' => 'The name of the mounted volume.', 'type' => 'string', 'example' => 'test-empty', 'title' => ''],
'MountPropagation' => ['description' => 'The mount propagation setting of the volume. Mount propagation allows volumes mounted by a container to be shared with other containers in the same pod, or even with other pods on the same node. Valid values:'."\n"
."\n"
.'- None: the volume does not detect any subsequent mounts performed on this volume or its subdirectories.'."\n"
.'- HostToCotainer: the volume detects subsequent mounts performed on this volume or its subdirectories.'."\n"
.'- Bidirectional: similar to HostToCotainer, the volume detects mount operations. In addition, the volume is propagated back to the host and all containers of all pods that use the same volume.', 'type' => 'string', 'example' => 'None', 'title' => ''],
'MountPath' => ['description' => 'The mount directory. The content in the mount directory of the container is overwritten by the volume content. Use this parameter with caution.', 'type' => 'string', 'example' => '/usr/share/', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'SecurityContextCapabilityAdds' => [
'description' => 'The specific permissions granted to processes in the container. Currently, only NET_ADMIN and NET_RAW are supported.',
'type' => 'array',
'items' => ['description' => 'The specific permissions granted to processes in the container. Currently, only NET_ADMIN and NET_RAW are supported.', 'type' => 'string', 'example' => 'NET_ADMIN', 'title' => ''],
'title' => '',
'example' => '',
],
'InitContainerCommands' => [
'description' => 'The container startup commands.',
'type' => 'array',
'items' => ['description' => 'The container startup commands.', 'type' => 'string', 'example' => 'sleep', 'title' => ''],
'title' => '',
'example' => '',
],
'InitContainerArgs' => [
'description' => 'The container startup arguments.',
'type' => 'array',
'items' => ['description' => 'The container startup arguments.', 'type' => 'string', 'example' => '10', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'Tags' => [
'description' => 'The tag key-value pairs of the instance.',
'type' => 'array',
'items' => [
'description' => 'The tag key-value pairs of the instance.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'version', 'title' => ''],
'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => '3', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'Volumes' => [
'description' => 'The volume information.',
'type' => 'array',
'items' => [
'description' => 'The volume information.',
'type' => 'object',
'properties' => [
'Type' => ['description' => 'The volume type. Valid values:'."\n"
.'- EmptyDirVolume.'."\n"
.'- NFSVolume.'."\n"
.'- ConfigFileVolume.'."\n"
.'- FlexVolume.', 'type' => 'string', 'example' => 'EmptyDirVolume', 'title' => ''],
'DiskVolumeDiskId' => ['description' => 'The size of the DiskVolume. Unit: GiB.', 'type' => 'string', 'example' => '15', 'title' => ''],
'DiskVolumeFsType' => ['description' => 'The file system type of the DiskVolume.', 'type' => 'string', 'example' => 'xfs', 'title' => ''],
'EmptyDirVolumeMedium' => ['description' => 'The storage medium of the EmptyDirVolume. By default, this parameter is empty, which indicates that the node file system is used. A value of memory indicates that memory is used.', 'type' => 'string', 'example' => 'memory', 'title' => ''],
'NFSVolumePath' => ['description' => 'The path of the NFS volume.', 'type' => 'string', 'example' => '/share', 'title' => ''],
'DiskVolumeDiskSize' => ['description' => 'The size of the DiskVolume. Unit: GiB.', 'type' => 'integer', 'format' => 'int32', 'example' => '15', 'title' => ''],
'NFSVolumeReadOnly' => ['description' => 'Indicates whether the NFS volume is read-only.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'FlexVolumeFsType' => ['description' => 'The file system type to mount. The default value depends on the FlexVolume script.', 'type' => 'string', 'example' => 'ext4', 'title' => ''],
'ConfigFileVolumeDefaultMode' => ['description' => 'The default permissions of the ConfigFileVolume.', 'type' => 'integer', 'format' => 'int32', 'example' => '0644', 'title' => ''],
'FlexVolumeDriver' => ['description' => 'The driver name for the FlexVolume.', 'type' => 'string', 'example' => 'flexvolume', 'title' => ''],
'FlexVolumeOptions' => ['description' => 'The list of FlexVolume object options. The options are in key-value format and passed as JSON.'."\n"
."\n"
.'For example, when you mount a cloud disk by using FlexVolume, the Options format is `{"volumeId":"d-2zehdahrwoa7srg****","performanceLevel": "PL2"}`.', 'type' => 'string', 'example' => '{"volumeId":"d-2zehdahrwoa7srg****","performanceLevel": "PL2"}', 'title' => ''],
'NFSVolumeServer' => ['description' => 'The NFS server address.', 'type' => 'string', 'example' => '3f9cd4****-na***.cn-shanghai.nas.aliyuncs.com', 'title' => ''],
'Name' => ['description' => 'The volume name.', 'type' => 'string', 'example' => 'default-volume1', 'title' => ''],
'ConfigFileVolumeConfigFileToPaths' => [
'description' => 'The list of configuration file paths.',
'type' => 'array',
'items' => [
'description' => 'The list of configuration file paths.',
'type' => 'object',
'properties' => [
'Path' => ['description' => 'The relative file path.', 'type' => 'string', 'example' => '/usr/bin/', 'title' => ''],
'Mode' => ['description' => 'The permissions of the ConfigFileVolume directory.', 'type' => 'integer', 'format' => 'int32', 'example' => '0644', 'title' => ''],
'Content' => ['description' => 'The content of the configuration file (32 KB).', 'type' => 'string', 'example' => 'bGl1bWk=', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'EmptyDirVolumeSizeLimit' => ['description' => 'The size of the EmptyDir volume.', 'type' => 'string', 'example' => '256 Mi', 'title' => ''],
'HostPathVolumeType' => ['description' => 'The type of the HostPath volume.', 'type' => 'string', 'example' => 'Directory', 'title' => ''],
'HostPathVolumePath' => ['description' => 'The directory path of the HostPath volume on the host.', 'type' => 'string', 'example' => '/pod/data', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'ImageRegistryCredentials' => [
'description' => 'The image repository information.',
'type' => 'array',
'items' => [
'description' => 'The image repository information.',
'type' => 'object',
'properties' => [
'Password' => ['description' => 'The password of the image repository.', 'type' => 'string', 'example' => 'yourpaasword', 'title' => ''],
'Server' => ['description' => 'The address of the image repository.', 'type' => 'string', 'example' => 'registry-vpc.cn-shanghai.aliyuncs.com', 'title' => ''],
'UserName' => ['description' => 'The username of the image repository.', 'type' => 'string', 'example' => 'yourusername', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'DnsConfigOptions' => [
'description' => 'The list of object options. Each object consists of a Name and an optional Value.',
'type' => 'array',
'items' => [
'description' => 'The list of object options. Each object consists of a Name and an optional Value.',
'type' => 'object',
'properties' => [
'Name' => ['description' => 'The variable name of the object.', 'type' => 'string', 'example' => 'name', 'title' => ''],
'Value' => ['description' => 'The variable value of the object.', 'type' => 'string', 'example' => 'value', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'HostAliases' => [
'description' => 'The custom hostname mappings for a container in the instance.',
'type' => 'array',
'items' => [
'description' => 'The custom hostname mappings for a container in the instance.',
'type' => 'object',
'properties' => [
'Ip' => ['description' => 'The added IP address.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''],
'Hostnames' => [
'description' => 'The added hostnames.',
'type' => 'array',
'items' => ['description' => 'The added hostnames.', 'type' => 'string', 'example' => '[\'hehe.com\', \'haha.com\']', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'SecurityContextSysCtls' => [
'description' => 'The system information of the security context in which the instance runs.',
'type' => 'array',
'items' => [
'description' => 'The system information of the security context in which the instance runs.',
'type' => 'object',
'properties' => [
'Name' => ['description' => 'The system name of the security context in which the instance runs.', 'type' => 'string', 'example' => 'kernel.msgmax', 'title' => ''],
'Value' => ['description' => 'The variable value of the security context in which the instance runs.', 'type' => 'string', 'example' => '65536', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'AcrRegistryInfos' => [
'description' => 'The information about Container Registry Enterprise Edition instances.',
'type' => 'array',
'items' => [
'description' => 'The information about Container Registry Enterprise Edition instances.',
'type' => 'object',
'properties' => [
'InstanceId' => ['description' => 'The ID of the Container Registry Enterprise Edition instance.', 'type' => 'string', 'example' => 'cri-nwj395hgf6f3****', 'title' => ''],
'InstanceName' => ['description' => 'The name of the Container Registry Enterprise Edition instance.', 'type' => 'string', 'example' => 'acr-test', 'title' => ''],
'RegionId' => ['description' => 'The region ID of the Container Registry Enterprise Edition instance.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
'Domains' => [
'description' => 'The domain names of the Container Registry Enterprise Edition instance. By default, all domain names of the instance are returned. You can specify individual domain names. Separate multiple domain names with commas (,).',
'type' => 'array',
'items' => ['description' => 'The domain names of the Container Registry Enterprise Edition instance. By default, all domain names of the instance are returned. You can specify individual domain names. Separate multiple domain names with commas (,).', 'type' => 'string', 'example' => '*****-****-registry.cn-beijing.cr.aliyuncs.com', 'title' => ''],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'DnsConfigNameServers' => [
'description' => 'The list of IP addresses of DNS servers.',
'type' => 'array',
'items' => ['description' => 'The list of IP addresses of DNS servers.', 'type' => 'string', 'example' => '172.10.*.**', 'title' => ''],
'title' => '',
'example' => '',
],
'DnsConfigSearches' => [
'description' => 'The list of DNS search domains.',
'type' => 'array',
'items' => ['description' => 'The list of DNS search domains.', 'type' => 'string', 'example' => 'svc.local.kubenetes', 'title' => ''],
'title' => '',
'example' => '',
],
'NtpServers' => [
'description' => 'The NTP servers.',
'type' => 'array',
'items' => ['description' => 'The NTP servers.', 'type' => 'string', 'example' => 'ntp.cloud.aliyuncs.com', 'title' => ''],
'title' => '',
'example' => '',
],
'LifecycleState' => ['description' => 'The status of the scaling configuration in the scaling group. Valid values:'."\n"
."\n"
.'- Active: the scaling configuration is in the Active state. The scaling group uses scaling configurations in the Active state to automatically create ECI instances.'."\n"
.'- Inacitve: the scaling configuration is in the Inactive state. Scaling configurations in the Inactive state still exist in the scaling group, but the scaling group does not use such scaling configurations to automatically create ECI instances.', 'type' => 'string', 'example' => 'Active', 'title' => ''],
'CostOptimization' => ['description' => 'Indicates whether the cost optimization feature is enabled. Valid values:'."\n"
."\n"
.'- true: enabled.'."\n"
.'- false: not enabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'InstanceFamilyLevel' => ['description' => 'The instance family level, which is used to filter instance types that meet the requirements. This parameter takes effect only when `CostOptimization` is enabled. Valid values:'."\n"
."\n"
.'- EntryLevel: entry level, which refers to shared instance types. These instance types are more cost-effective but do not guarantee stable computing performance. They are suitable for scenarios with low CPU utilization. For more information, see [Shared instance types](~~108489~~).'."\n"
.'- EnterpriseLevel: enterprise level. These instance types provide stable performance and dedicated resources. They are suitable for scenarios that require high stability. For more information, see [Instance families](~~25378~~).'."\n"
.'- CreditEntryLevel: credit-based entry level, which refers to burstable instance types. These instance types use CPU credits to guarantee computing performance. They are suitable for scenarios with low CPU utilization and occasional bursts of CPU usage. For more information, see [Overview of burstable instances](~~59977~~).', 'type' => 'string', 'example' => 'EnterpriseLevel', 'title' => ''],
'InstanceTypes' => [
'description' => 'The specified ECS instance types. You can specify multiple instance types (up to 5).',
'type' => 'array',
'items' => ['description' => 'The specified ECS instance type. You can specify multiple instance types (up to 5). For more information, see [Create an instance by specifying an ECS instance type](~~114664~~).', 'type' => 'string', 'example' => 'ecs.g6.large', 'title' => ''],
'title' => '',
'example' => '',
],
'DataCacheBucket' => ['description' => 'The data cache bucket.', 'type' => 'string', 'example' => 'default', 'title' => ''],
'DataCachePL' => ['description' => 'The performance level of the cloud disk used for data caching. We recommend that you use enhanced SSDs (ESSDs). Valid values for the performance level of an ESSD:'."\n"
."\n"
.'- PL0: a single disk can deliver up to 10,000 random read/write IOPS.'."\n"
.'- PL1: a single disk can deliver up to 50,000 random read/write IOPS.'."\n"
.'- PL2: a single disk can deliver up to 100,000 random read/write IOPS.'."\n"
.'- PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.'."\n"
."\n"
.'>For more information about ESSDs, see [ESSDs](~~122389~~).', 'type' => 'string', 'example' => 'PL1', 'title' => ''],
'DataCacheProvisionedIops' => ['description' => 'The provisioned read/write IOPS of the ESSD AutoPL disk used for data caching. Valid values: 0 to min{50000, 1000 × capacity - baseline performance}, where baseline performance = min{1800 + 50 × capacity, 50000}.'."\n"
.'>For more information about ESSD AutoPL disks, see [ESSD AutoPL disks](~~368372~~).', 'type' => 'integer', 'format' => 'int32', 'example' => '40000', 'title' => ''],
'DataCacheBurstingEnabled' => ['description' => 'Indicates whether the burst (performance burst) feature is enabled for the ESSD AutoPL disk used for data caching. Valid values:'."\n"
.'- true: enabled.'."\n"
.'- false: not enabled.'."\n"
."\n"
.'>For more information about ESSD AutoPL disks, see [ESSD AutoPL disks](~~368372~~).', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'GpuDriverVersion' => ['description' => 'The GPU driver version.', 'type' => 'string', 'example' => 'tesla=470.82.01', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'Forbidden.RiskControl', 'errorMessage' => 'Forbidden.RiskControl', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 50,\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"TotalCount\\": 1,\\n \\"ScalingConfigurations\\": [\\n {\\n \\"CreationTime\\": \\"2014-08-14T10:58Z\\",\\n \\"ScalingConfigurationName\\": \\"scalingconfi****\\",\\n \\"SecurityGroupId\\": \\"sg-bp18kz60mefs****\\",\\n \\"ActiveDeadlineSeconds\\": 1000,\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"AutoCreateEip\\": true,\\n \\"ScalingGroupId\\": \\"asg-bp17pelvl720x3v7****\\",\\n \\"EphemeralStorage\\": 20,\\n \\"Ipv6AddressCount\\": 1,\\n \\"EipBandwidth\\": 5,\\n \\"ImageSnapshotId\\": \\"imc-2zebxkiifuyzzlhl****\\",\\n \\"Memory\\": 16,\\n \\"RestartPolicy\\": \\"Never\\",\\n \\"SpotPriceLimit\\": 0.025,\\n \\"IngressBandwidth\\": 1024000,\\n \\"CpuOptionsThreadsPerCore\\": 2,\\n \\"TerminationGracePeriodSeconds\\": 60,\\n \\"LoadBalancerWeight\\": 1,\\n \\"DnsPolicy\\": \\"Default\\",\\n \\"HostName\\": \\"[\'hehe.com\', \'haha.com\']\\",\\n \\"EgressBandwidth\\": 1024000,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RamRoleName\\": \\"ram:PassRole\\",\\n \\"Cpu\\": 2,\\n \\"AutoMatchImageCache\\": false,\\n \\"ResourceGroupId\\": \\"rg-8db03793gfrz****\\",\\n \\"ContainerGroupName\\": \\"test\\",\\n \\"ScalingConfigurationId\\": \\"asc-bp1ezrfgoyn5kijl****\\",\\n \\"CpuOptionsCore\\": 2,\\n \\"Containers\\": [\\n {\\n \\"ReadinessProbeHttpGetPath\\": \\"/usr/local\\",\\n \\"ReadinessProbeSuccessThreshold\\": 1,\\n \\"LivenessProbePeriodSeconds\\": 5,\\n \\"LivenessProbeTcpSocketPort\\": 80,\\n \\"LivenessProbeHttpGetScheme\\": \\"HTTP\\",\\n \\"WorkingDir\\": \\"/usr/local/nginx\\",\\n \\"Tty\\": false,\\n \\"LivenessProbeHttpGetPort\\": 80,\\n \\"Gpu\\": 1,\\n \\"ReadinessProbeInitialDelaySeconds\\": 5,\\n \\"Stdin\\": true,\\n \\"Memory\\": 2,\\n \\"Name\\": \\"nginx\\",\\n \\"LivenessProbeHttpGetPath\\": \\"/usr/nginx/\\",\\n \\"Image\\": \\"mysql\\",\\n \\"ReadinessProbeTcpSocketPort\\": 8888,\\n \\"ReadinessProbeHttpGetScheme\\": \\"HTTP\\",\\n \\"ReadinessProbeHttpGetPort\\": 0,\\n \\"LivenessProbeSuccessThreshold\\": 1,\\n \\"ReadinessProbeTimeoutSeconds\\": 5,\\n \\"SecurityContextRunAsUser\\": 1000,\\n \\"LivenessProbeInitialDelaySeconds\\": 10,\\n \\"ReadinessProbePeriodSeconds\\": 1,\\n \\"ImagePullPolicy\\": \\"Always\\",\\n \\"StdinOnce\\": true,\\n \\"Cpu\\": 2,\\n \\"LivenessProbeTimeoutSeconds\\": 10,\\n \\"ReadinessProbeFailureThreshold\\": 3,\\n \\"LivenessProbeFailureThreshold\\": 3,\\n \\"Ports\\": [\\n {\\n \\"Port\\": 8888,\\n \\"Protocol\\": \\"TCP\\"\\n }\\n ],\\n \\"VolumeMounts\\": [\\n {\\n \\"ReadOnly\\": false,\\n \\"SubPath\\": \\"data2/\\",\\n \\"Name\\": \\"default-volume1\\",\\n \\"MountPropagation\\": \\"None\\",\\n \\"MountPath\\": \\"/pod/data\\"\\n }\\n ],\\n \\"EnvironmentVars\\": [\\n {\\n \\"Key\\": \\"PATH\\",\\n \\"Value\\": \\"/usr/bin/\\"\\n }\\n ],\\n \\"Commands\\": [\\n \\"sleep\\"\\n ],\\n \\"LivenessProbeExecCommands\\": [\\n \\"cat/tmp/healthy\\"\\n ],\\n \\"Args\\": [\\n \\"100\\"\\n ],\\n \\"ReadinessProbeExecCommands\\": [\\n \\"cat/tmp/healthy\\"\\n ],\\n \\"SecurityContextCapabilityAdds\\": [\\n \\"NET_ADMIN\\"\\n ],\\n \\"LifecyclePostStartHandlerHttpGetHost\\": \\"10.0.XX.XX\\",\\n \\"LifecyclePostStartHandlerHttpGetPort\\": 80,\\n \\"LifecyclePostStartHandlerHttpGetPath\\": \\"/healthyz\\",\\n \\"LifecyclePostStartHandlerHttpGetScheme\\": \\"HTTP\\",\\n \\"LifecyclePostStartHandlerExecs\\": [\\n \\"[ \\\\\\"/bin/sh\\\\\\", \\\\\\"-c\\\\\\", \\\\\\"echo Hello from the preStop handler /usr/share/message\\\\\\" ]\\"\\n ],\\n \\"LifecyclePostStartHandlerTcpSocketHost\\": \\"10.0.XX.XX\\",\\n \\"LifecyclePostStartHandlerTcpSocketPort\\": 80,\\n \\"LifecyclePreStopHandlerHttpGetHost\\": \\"10.0.XX.XX\\",\\n \\"LifecyclePreStopHandlerHttpGetPort\\": 80,\\n \\"LifecyclePreStopHandlerHttpGetPath\\": \\"/healthyz\\",\\n \\"LifecyclePreStopHandlerHttpGetScheme\\": \\"HTTP\\",\\n \\"LifecyclePreStopHandlerExecs\\": [\\n \\"[ \\\\\\"/bin/sh\\\\\\", \\\\\\"-c\\\\\\", \\\\\\"echo Hello from the preStop handler /usr/share/message\\\\\\" ]\\"\\n ],\\n \\"LifecyclePreStopHandlerTcpSocketHost\\": \\"10.0.XX.XX\\",\\n \\"LifecyclePreStopHandlerTcpSocketPort\\": 80\\n }\\n ],\\n \\"InitContainers\\": [\\n {\\n \\"SecurityContextReadOnlyRootFilesystem\\": true,\\n \\"ImagePullPolicy\\": \\"Always\\",\\n \\"WorkingDir\\": \\"/usr/local\\",\\n \\"Cpu\\": 0.5,\\n \\"Image\\": \\"nginx\\",\\n \\"Gpu\\": 1,\\n \\"SecurityContextRunAsUser\\": \\"587\\",\\n \\"Memory\\": 1,\\n \\"Name\\": \\"test-init\\",\\n \\"InitContainerEnvironmentVars\\": [\\n {\\n \\"Key\\": \\"PATH\\",\\n \\"Value\\": \\"/usr/local/bin\\"\\n }\\n ],\\n \\"InitContainerVolumeMounts\\": [\\n {\\n \\"ReadOnly\\": false,\\n \\"SubPath\\": \\"/usr/sub/\\",\\n \\"Name\\": \\"test-empty\\",\\n \\"MountPropagation\\": \\"None\\",\\n \\"MountPath\\": \\"/usr/share/\\"\\n }\\n ],\\n \\"SecurityContextCapabilityAdds\\": [\\n \\"NET_ADMIN\\"\\n ],\\n \\"InitContainerCommands\\": [\\n \\"sleep\\"\\n ],\\n \\"InitContainerArgs\\": [\\n \\"10\\"\\n ]\\n }\\n ],\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"version\\",\\n \\"Value\\": \\"3\\"\\n }\\n ],\\n \\"Volumes\\": [\\n {\\n \\"Type\\": \\"EmptyDirVolume\\",\\n \\"DiskVolumeDiskId\\": \\"15\\",\\n \\"DiskVolumeFsType\\": \\"xfs\\",\\n \\"EmptyDirVolumeMedium\\": \\"memory\\",\\n \\"NFSVolumePath\\": \\"/share\\",\\n \\"DiskVolumeDiskSize\\": 15,\\n \\"NFSVolumeReadOnly\\": false,\\n \\"FlexVolumeFsType\\": \\"ext4\\",\\n \\"ConfigFileVolumeDefaultMode\\": 644,\\n \\"FlexVolumeDriver\\": \\"flexvolume\\",\\n \\"FlexVolumeOptions\\": \\"{\\\\\\"volumeId\\\\\\":\\\\\\"d-2zehdahrwoa7srg****\\\\\\",\\\\\\"performanceLevel\\\\\\": \\\\\\"PL2\\\\\\"}\\",\\n \\"NFSVolumeServer\\": \\"3f9cd4****-na***.cn-shanghai.nas.aliyuncs.com\\",\\n \\"Name\\": \\"default-volume1\\",\\n \\"ConfigFileVolumeConfigFileToPaths\\": [\\n {\\n \\"Path\\": \\"/usr/bin/\\",\\n \\"Mode\\": 644,\\n \\"Content\\": \\"bGl1bWk=\\"\\n }\\n ],\\n \\"EmptyDirVolumeSizeLimit\\": \\"256 Mi\\",\\n \\"HostPathVolumeType\\": \\"Directory\\",\\n \\"HostPathVolumePath\\": \\"/pod/data\\"\\n }\\n ],\\n \\"ImageRegistryCredentials\\": [\\n {\\n \\"Password\\": \\"yourpaasword\\",\\n \\"Server\\": \\"registry-vpc.cn-shanghai.aliyuncs.com\\",\\n \\"UserName\\": \\"yourusername\\"\\n }\\n ],\\n \\"DnsConfigOptions\\": [\\n {\\n \\"Name\\": \\"name\\",\\n \\"Value\\": \\"value\\"\\n }\\n ],\\n \\"HostAliases\\": [\\n {\\n \\"Ip\\": \\"192.0.XX.XX\\",\\n \\"Hostnames\\": [\\n \\"[\'hehe.com\', \'haha.com\']\\"\\n ]\\n }\\n ],\\n \\"SecurityContextSysCtls\\": [\\n {\\n \\"Name\\": \\"kernel.msgmax\\",\\n \\"Value\\": \\"65536\\"\\n }\\n ],\\n \\"AcrRegistryInfos\\": [\\n {\\n \\"InstanceId\\": \\"cri-nwj395hgf6f3****\\",\\n \\"InstanceName\\": \\"acr-test\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Domains\\": [\\n \\"*****-****-registry.cn-beijing.cr.aliyuncs.com\\"\\n ]\\n }\\n ],\\n \\"DnsConfigNameServers\\": [\\n \\"172.10.*.**\\"\\n ],\\n \\"DnsConfigSearches\\": [\\n \\"svc.local.kubenetes\\"\\n ],\\n \\"NtpServers\\": [\\n \\"ntp.cloud.aliyuncs.com\\"\\n ],\\n \\"LifecycleState\\": \\"Active\\",\\n \\"CostOptimization\\": false,\\n \\"InstanceFamilyLevel\\": \\"EnterpriseLevel\\",\\n \\"InstanceTypes\\": [\\n \\"ecs.g6.large\\"\\n ],\\n \\"DataCacheBucket\\": \\"default\\",\\n \\"DataCachePL\\": \\"PL1\\",\\n \\"DataCacheProvisionedIops\\": 40000,\\n \\"DataCacheBurstingEnabled\\": false,\\n \\"GpuDriverVersion\\": \\"tesla=470.82.01\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Query scaling configuration information',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeEciScalingConfigurations'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeEciScalingConfigurations',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DescribeElasticStrength' => [
'summary' => 'The validity of a scaling group configuration largely determines the success rate of scale-out operations. Auto Scaling uses elastic strength to describe the validity of scaling configurations, quantifying configuration quality and helping you optimize scaling configurations accordingly.',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232309',
'abilityTreeNodes' => ['FEATUREess7569XW'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'InstanceTypes',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The collection of instance types for ECS instances. If specified, this parameter overrides the instance types in the scaling configuration.',
'type' => 'array',
'items' => ['description' => 'The instance type of the ECS instance.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.large', 'title' => ''],
'required' => false,
'maxItems' => 50,
'title' => '',
'example' => '',
],
],
[
'name' => 'PriorityStrategy',
'in' => 'query',
'schema' => ['description' => '> This parameter is deprecated. Use SpotStrategy instead.'."\n"
."\n"
.'The preemption policy for pay-as-you-go instances. If specified, this parameter overrides the preemption policy configured for the scaling group. Valid values:'."\n"
."\n"
.'- NoSpot: a regular pay-as-you-go instance.'."\n"
.'- SpotWithPriceLimit: a spot instance with a maximum price limit.'."\n"
.'- SpotAsPriceGo: a spot instance priced at the current market rate.'."\n"
."\n"
.'Default value: NoSpot.', 'type' => 'string', 'required' => false, 'example' => 'NoSpot', 'title' => ''],
],
[
'name' => 'SystemDiskCategories',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The system cloud disk types. If specified, this parameter overrides the system cloud disk types in the scaling configuration. Valid values:'."\n"
.'- cloud: basic cloud disk.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: Enterprise SSD (ESSD).'."\n"
."\n"
.'> If you do not specify a scaling group ID, you must specify this parameter.',
'type' => 'array',
'items' => ['description' => 'The system cloud disk types. Valid values:'."\n"
.'- cloud: basic cloud disk.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: Enterprise SSD (ESSD).', 'type' => 'string', 'required' => false, 'example' => 'cloud', 'title' => ''],
'required' => false,
'maxItems' => 50,
'title' => '',
'example' => '',
],
],
[
'name' => 'ScalingGroupIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The IDs of scaling groups for batch queries.',
'type' => 'array',
'items' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp14wlu85wrpchm0****', 'title' => ''],
'required' => false,
'maxItems' => 50,
'title' => '',
'example' => '',
],
],
[
'name' => 'SpotStrategy',
'in' => 'query',
'schema' => ['description' => 'The preemption policy for instances. Valid values:'."\n"
."\n"
.'- NoSpot: a regular pay-as-you-go instance.'."\n"
.'- SpotWithPriceLimit: a spot instance with a maximum price limit.'."\n"
.'- SpotAsPriceGo: a spot instance priced at the current market rate.'."\n"
."\n"
.'Default value: NoSpot.', 'type' => 'string', 'required' => false, 'example' => 'NoSpot', 'title' => ''],
],
[
'name' => 'VSwitchIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The IDs of multiple vSwitches.'."\n"
.'> If you do not specify a scaling group ID, you must specify this parameter.',
'type' => 'array',
'items' => ['description' => 'The IDs of multiple vSwitches.'."\n"
.'> If you do not specify a scaling group ID, you must specify this parameter.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1whw2u46cn8zubm****', 'title' => ''],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'ImageId',
'in' => 'query',
'schema' => ['description' => 'The ID of the image file. The image resource used for automatic creation of instances.'."\n"
.'> If you do not specify a scaling group ID, you must specify at least one of ImageId, ImageName, or ImageFamily.', 'type' => 'string', 'required' => false, 'example' => 'centos6u5_64_20G_aliaegis****.vhd', 'title' => ''],
],
[
'name' => 'ImageName',
'in' => 'query',
'schema' => ['description' => 'The name of the image. Image names are unique within a region. If ImageId is specified, ImageName is ignored.'."\n"
."\n"
.'You cannot use ImageName to specify images from Alibaba Cloud Marketplace.'."\n"
.'> If you do not specify a scaling group ID, you must specify at least one of ImageId, ImageName, or ImageFamily.', 'type' => 'string', 'required' => false, 'example' => 'ubuntu_18_04_x64_20G_alibase_20231225.vhd', 'title' => ''],
],
[
'name' => 'ImageFamily',
'in' => 'query',
'schema' => ['description' => 'The name of the image family. If you specify this parameter, the latest available image in the specified image family is used to create instances. If ImageId is already specified, you cannot specify this parameter.'."\n"
.'> If you do not specify a scaling group ID, you must specify at least one of ImageId, ImageName, or ImageFamily.', 'type' => 'string', 'required' => false, 'example' => 'CentOS7', 'title' => ''],
],
[
'name' => 'DataDiskCategories',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The elastic strength when multiple data cloud disk types are specified. If a data cloud disk type does not match, the specific mismatched disk type is returned in the query result.'."\n"
.'> If you do not specify a scaling group ID, you can specify this parameter.',
'type' => 'array',
'items' => ['description' => 'The data cloud disk type. Valid values:'."\n"
."\n"
.'- cloud: basic cloud disk'."\n"
.'- cloud_efficiency: ultra cloud disk'."\n"
.'- cloud_ssd: standard SSD'."\n"
.'- cloud_essd: Enterprise SSD (ESSD)'."\n"
.'- ephemeral_ssd: local SSD.', 'type' => 'string', 'required' => false, 'example' => 'cloud_essd', 'title' => ''],
'required' => false,
'maxItems' => 50,
'title' => '',
'example' => '',
],
],
[
'name' => 'Ipv6AddressCount',
'in' => 'query',
'schema' => ['description' => 'The number of IPv6 addresses. If the instance type does not meet the IPv6 address count requirement, the elastic strength is degraded.'."\n"
.'> If you do not specify a scaling group ID, you can specify this parameter.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '73469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
'TotalStrength' => ['description' => 'The elastic strength of the scaling group. Each combination of instance type and zone is scored from 0 to 1 based on supply conditions, where 0 indicates low elastic strength and 1 indicates high elastic strength. The sum of scores for all instance type and zone combinations represents the elastic strength of the scaling group.'."\n"
.'><warning>This parameter is deprecated.'."\n"
.'></warning>.', 'type' => 'number', 'format' => 'double', 'example' => '1.5', 'title' => ''],
'ElasticStrength' => ['description' => 'The elastic strength of the current scaling group. Valid values:'."\n"
."\n"
.'- Strong: high elastic strength.'."\n"
.'- Medium: medium elastic strength.'."\n"
.'- Weak: low elastic strength.', 'type' => 'string', 'example' => 'Strong', 'title' => ''],
'ResourcePools' => [
'description' => 'The elastic strength when querying a single scaling group.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Strength' => ['description' => 'The elastic strength of the resource pool.', 'type' => 'number', 'format' => 'double', 'example' => '0.6', 'title' => ''],
'InstanceType' => ['description' => 'The instance type of the resource pool.', 'type' => 'string', 'example' => 'ecs.c7t.xlarge', 'title' => ''],
'ZoneId' => ['description' => 'The zone ID of the resource pool.', 'type' => 'string', 'example' => 'cn-hangzhou-g', 'title' => ''],
'VSwitchIds' => [
'description' => 'The vSwitches in the zone of the resource pool.',
'type' => 'array',
'items' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-2ze0uc933kantv******', 'title' => ''],
'title' => '',
'example' => '',
],
'Code' => ['description' => 'The reason (error code) when the elastic strength is 0.', 'type' => 'string', 'example' => 'InstanceTypesOrDiskTypesNotSupported', 'title' => ''],
'Msg' => ['description' => 'The reason (error description) when the elastic strength is 0.', 'type' => 'string', 'example' => 'The instanceTypes or diskTypes are not supported.', 'title' => ''],
'Status' => ['description' => 'Indicates whether the resource pool is available. Valid values:'."\n"
."\n"
.'- Available: available.'."\n"
.'- Unavailable: unavailable. Constraint violations, undeployed instance types, or out-of-stock instance types can cause the instance type to be unavailable.', 'type' => 'string', 'example' => 'Available', 'title' => ''],
'InventoryHealth' => [
'description' => 'The inventory health information.',
'type' => 'object',
'properties' => [
'HealthScore' => ['description' => 'The inventory health score.'."\n"
."\n"
.'- 5 to 6: indicates high supply certainty.'."\n"
.'- 1 to 4: indicates uncertain supply. Consider reservations as needed.'."\n"
.'- -3 to 0: indicates a supply health warning. Consider switching to a different instance type.'."\n"
."\n"
.'Formula: `HealthScore` (inventory health score) = `AdequacyScore` (adequacy) + `SupplyScore` (replenishment capability) - `HotScore` (demand intensity).', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'AdequacyScore' => ['description' => 'The adequacy score.'."\n"
."\n"
.'Valid values: 0 to 3.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'SupplyScore' => ['description' => 'The replenishment capability score.'."\n"
."\n"
.'Valid values: 0 to 3.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'HotScore' => ['description' => 'The demand intensity score.'."\n"
."\n"
.'Valid values: 0 to 3.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
],
'title' => '',
'example' => '',
],
'ElasticStrength' => ['description' => 'The elastic strength of the current resource pool, which takes into account both the inventory health and current inventory status of the resource pool. Valid values:'."\n"
."\n"
.'- Strong: high elastic strength.'."\n"
.'- Medium: medium elastic strength.'."\n"
.'- Weak: low elastic strength.', 'type' => 'string', 'example' => 'Medium', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'ElasticStrengthModels' => [
'description' => 'The elastic strength when querying scaling groups in batches.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ScalingGroupId' => ['description' => 'The scaling group ID.', 'type' => 'string', 'example' => 'asg-wz98mnj7nblv9gc****', 'title' => ''],
'ElasticStrength' => ['description' => 'The elastic strength of the current scaling group. Valid values:'."\n"
."\n"
.'- Strong: high elastic strength.'."\n"
.'- Medium: medium elastic strength.'."\n"
.'- Weak: low elastic strength.', 'type' => 'string', 'example' => 'Strong', 'title' => ''],
'TotalStrength' => ['description' => 'The elastic strength of the current scaling group. Each combination of instance type and zone is scored from 0 to 1 based on supply conditions, where 0 indicates low elastic strength and 1 indicates high elastic strength. The sum of scores for all instance type and zone combinations represents the elastic strength of the scaling group.'."\n"
.'><warning>This parameter is deprecated.'."\n"
.'></warning>.', 'type' => 'number', 'format' => 'double', 'example' => '5', 'title' => ''],
'ResourcePools' => [
'description' => 'The elastic strength information for each resource pool.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'The instance type of the resource pool.', 'type' => 'string', 'example' => 'ecs.r7.large', 'title' => ''],
'Strength' => ['description' => 'The elastic strength of the resource pool.'."\n"
.'><warning>This parameter is deprecated.'."\n"
.'></warning>.', 'type' => 'number', 'format' => 'double', 'example' => '0.6', 'title' => ''],
'ZoneId' => ['description' => 'The zone ID of the resource pool.', 'type' => 'string', 'example' => 'cn-hangzhou-g', 'title' => ''],
'VSwitchIds' => [
'description' => 'The vSwitches in the zone of the resource pool.',
'type' => 'array',
'items' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-2ze6e8p4aid08lymlsguv', 'title' => ''],
'title' => '',
'example' => '',
],
'Code' => ['description' => 'The reason (error code) when the elastic strength is 0.', 'type' => 'string', 'example' => 'InstanceTypesOrDiskTypesNotSupported', 'title' => ''],
'Msg' => ['description' => 'The reason (error description) when the elastic strength is 0.', 'type' => 'string', 'example' => 'The instanceTypes or diskTypes are not supported.', 'title' => ''],
'Status' => ['description' => 'Indicates whether the resource pool is available. Valid values:'."\n"
."\n"
.'- Available: available.'."\n"
.'- Unavailable: unavailable. Constraint violations, undeployed instance types, or out-of-stock instance types can cause the instance type to be unavailable.', 'type' => 'string', 'example' => 'Available', 'title' => ''],
'InventoryHealth' => [
'description' => 'The inventory health information.',
'type' => 'object',
'properties' => [
'HealthScore' => ['description' => 'The inventory health score.'."\n"
."\n"
.'- 5 to 6: indicates high supply certainty.'."\n"
.'- 1 to 4: indicates uncertain supply. Consider reservations as needed.'."\n"
.'- -3 to 0: indicates a supply health warning. Consider switching to a different instance type.'."\n"
."\n"
.'Formula: `HealthScore` (inventory health score) = `AdequacyScore` (adequacy) + `SupplyScore` (replenishment capability) - `HotScore` (demand intensity).', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'AdequacyScore' => ['description' => 'The adequacy score.'."\n"
."\n"
.'Valid values: 0 to 3.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'SupplyScore' => ['description' => 'The replenishment capability score.'."\n"
."\n"
.'Valid values: 0 to 3.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'HotScore' => ['description' => 'The demand intensity score.'."\n"
."\n"
.'Valid values: 0 to 3.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
],
'title' => '',
'example' => '',
],
'ElasticStrength' => ['description' => 'The elastic strength of the current resource pool, which takes into account both the inventory health and current inventory status of the resource pool. Valid values:'."\n"
."\n"
.'- Strong: high elastic strength.'."\n"
.'- Medium: medium elastic strength.'."\n"
.'- Weak: low elastic strength.', 'type' => 'string', 'example' => 'Strong', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"73469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"TotalStrength\\": 1.5,\\n \\"ElasticStrength\\": \\"Strong\\",\\n \\"ResourcePools\\": [\\n {\\n \\"Strength\\": 0.6,\\n \\"InstanceType\\": \\"ecs.c7t.xlarge\\",\\n \\"ZoneId\\": \\"cn-hangzhou-g\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-2ze0uc933kantv******\\"\\n ],\\n \\"Code\\": \\"InstanceTypesOrDiskTypesNotSupported\\",\\n \\"Msg\\": \\"The instanceTypes or diskTypes are not supported.\\",\\n \\"Status\\": \\"Available\\",\\n \\"InventoryHealth\\": {\\n \\"HealthScore\\": 3,\\n \\"AdequacyScore\\": 3,\\n \\"SupplyScore\\": 3,\\n \\"HotScore\\": 3\\n },\\n \\"ElasticStrength\\": \\"Medium\\"\\n }\\n ],\\n \\"ElasticStrengthModels\\": [\\n {\\n \\"ScalingGroupId\\": \\"asg-wz98mnj7nblv9gc****\\",\\n \\"ElasticStrength\\": \\"Strong\\",\\n \\"TotalStrength\\": 5,\\n \\"ResourcePools\\": [\\n {\\n \\"InstanceType\\": \\"ecs.r7.large\\",\\n \\"Strength\\": 0.6,\\n \\"ZoneId\\": \\"cn-hangzhou-g\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-2ze6e8p4aid08lymlsguv\\"\\n ],\\n \\"Code\\": \\"InstanceTypesOrDiskTypesNotSupported\\",\\n \\"Msg\\": \\"The instanceTypes or diskTypes are not supported.\\",\\n \\"Status\\": \\"Available\\",\\n \\"InventoryHealth\\": {\\n \\"HealthScore\\": 3,\\n \\"AdequacyScore\\": 3,\\n \\"SupplyScore\\": 2,\\n \\"HotScore\\": 0\\n },\\n \\"ElasticStrength\\": \\"Strong\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Query elastic strength of a scaling group',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeElasticStrength'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeElasticStrength',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'DescribeInstanceRefreshes' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232225',
'abilityTreeNodes' => ['FEATUREessACRSW1'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token. Set this parameter to the NextToken value returned in the previous call. You do not need to set this parameter for the first request.', 'type' => 'string', 'docRequired' => false, 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of entries per page in a paging query. Valid values: 1 to 50. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '50', 'default' => '10', 'example' => '10', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'asg-bp1ffogfdauy0jw0****', 'title' => ''],
],
[
'name' => 'InstanceRefreshTaskId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the instance refresh task that you want to query.',
'type' => 'array',
'items' => ['description' => 'The ID of the instance refresh task that you want to query. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'ir-adfa12312*****', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'NextToken' => ['description' => 'The pagination token for the next query. If this parameter is empty, no more results exist.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f****', 'title' => ''],
'MaxResults' => ['description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
'TotalCount' => ['description' => 'The total number of instance refresh tasks.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'InstanceRefreshTasks' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'InstanceRefreshTask' => [
'description' => 'The list of instance refresh tasks.',
'type' => 'array',
'items' => [
'description' => 'The instance refresh task.',
'type' => 'object',
'properties' => [
'InstanceRefreshTaskId' => ['description' => 'The ID of the instance refresh task.', 'type' => 'string', 'example' => 'ir-1adfa123****', 'title' => ''],
'ScalingGroupId' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'example' => 'asg-bp16pbfcr8j9*****', 'title' => ''],
'RegionId' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
'EndTime' => ['description' => 'The end time of the instance refresh task.', 'type' => 'string', 'example' => '2024-08-22T02:09:00Z', 'title' => ''],
'StartTime' => ['description' => 'The start time of the instance refresh task.', 'type' => 'string', 'example' => '2024-08-22T01:09:00Z', 'title' => ''],
'Status' => ['description' => 'The current status of the instance refresh task. Valid values:'."\n"
."\n"
.'- Pending: The instance refresh task is created and waiting to be scheduled.'."\n"
.'- InProgress: The instance refresh task is in progress.'."\n"
.'- Paused: The instance refresh task is paused.'."\n"
.'- CheckpointPause: The instance refresh task is paused because the task progress reached a checkpoint (`Checkpoint.Percentage`).'."\n"
.'- Failed: The instance refresh task failed.'."\n"
.'- Successful: The instance refresh task succeeded.'."\n"
.'- Cancelling: The instance refresh task is being canceled.'."\n"
.'- Cancelled: The instance refresh task is canceled.'."\n"
.'- RollbackInProgress: The instance refresh task is being rolled back.'."\n"
.'- RollbackSuccessful: The instance refresh task is rolled back.'."\n"
.'- RollbackFailed: The instance refresh task rollback failed.', 'type' => 'string', 'example' => 'InProgress', 'title' => ''],
'Detail' => ['description' => 'The failure reason when the instance refresh task fails.', 'type' => 'string', 'example' => 'The task exceeded its maximum run time of one week. So the task failed.', 'title' => ''],
'MinHealthyPercentage' => ['description' => 'The minimum percentage of instances that must remain in service in the scaling group during the instance refresh.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''],
'MaxHealthyPercentage' => ['description' => 'The maximum percentage by which the number of instances in the scaling group can exceed the scaling group capacity during the instance refresh.', 'type' => 'integer', 'format' => 'int32', 'example' => '120', 'title' => ''],
'DesiredConfiguration' => [
'description' => 'The desired configuration for the instance refresh.',
'type' => 'object',
'properties' => [
'ImageId' => ['description' => 'The ID of the image file used for automatic creation of instances.', 'type' => 'string', 'example' => 'm-uf6g5noisr****', 'title' => ''],
'ScalingConfigurationId' => ['description' => 'The ID of the scaling configuration.', 'type' => 'string', 'example' => 'asc-wz91ibkhfor****', 'title' => ''],
'LaunchTemplateId' => ['description' => 'The ID of the launch template from which the scaling group obtains launch configuration information.', 'type' => 'string', 'example' => 'lt-2ze5x4mp*****', 'title' => ''],
'LaunchTemplateVersion' => ['description' => 'The version of the launch template. Valid values:'."\n"
."\n"
.'- A fixed template version number.'."\n"
.'- Default: always uses the default version of the template.'."\n"
.'- Latest: always uses the latest version of the template.', 'type' => 'string', 'example' => 'Latest', 'title' => ''],
'LaunchTemplateOverrides' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'LaunchTemplateOverride' => [
'description' => 'The instance type information that extends the launch template.',
'type' => 'array',
'items' => [
'description' => 'The instance type information that extends the launch template.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'The specified instance type, which overrides the instance type in the launch template.', 'type' => 'string', 'example' => 'ecs.g7.2xlarge', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'Containers' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Container' => [
'description' => 'The list of containers in the instance.',
'type' => 'array',
'items' => [
'description' => 'The list of containers in the instance.',
'type' => 'object',
'properties' => [
'Name' => ['description' => 'The custom container name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
'Image' => ['description' => 'The container image.', 'type' => 'string', 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:latest', 'title' => ''],
'Commands' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Command' => [
'description' => 'The container startup command.',
'type' => 'array',
'items' => ['description' => 'The container startup command.', 'type' => 'string', 'example' => 'sleep', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'EnvironmentVars' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'EnvironmentVar' => [
'description' => 'The environment variable information.',
'type' => 'array',
'items' => [
'description' => 'The environment variable information.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The name of the environment variable.', 'type' => 'string', 'example' => 'PATH', 'title' => ''],
'Value' => ['description' => 'The value of the environment variable.', 'type' => 'string', 'example' => '/usr/local/bin', 'title' => ''],
'FieldRefFieldPath' => ['description' => '> This parameter is not available for use.', 'type' => 'string', 'example' => 'fieldPath', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'Args' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Arg' => [
'description' => 'The arguments for the container startup command.',
'type' => 'array',
'items' => ['description' => 'The arguments for the container startup command.', 'type' => 'string', 'example' => '100', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'FinishedUpdateCapacity' => ['description' => 'The capacity that has been refreshed.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'TotalNeedUpdateCapacity' => ['description' => 'The total capacity that needs to be refreshed.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
'SkipMatching' => ['description' => 'Specifies whether to skip instances that already match the desired configuration.'."\n"
."\n"
.'> The system determines whether an instance matches based on the ID of the desired scaling configuration, not by comparing individual configuration items.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'- true: Instances that were already created with the desired configuration are skipped during the refresh.'."\n"
.'- false: All instances in the scaling group are refreshed when the instance refresh task starts.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'CheckpointPauseTime' => ['description' => 'The pause duration when the refresh task reaches a checkpoint. Unit: minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
'Checkpoints' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Checkpoint' => [
'description' => 'The refresh task checkpoint. When the proportion of new instances reaches the specified value during the instance refresh, the task is automatically paused for CheckpointPauseTime minutes.',
'type' => 'array',
'items' => [
'description' => 'The refresh task checkpoint. When the proportion of new instances reaches the specified value during the instance refresh, the task is automatically paused for CheckpointPauseTime minutes.',
'type' => 'object',
'properties' => [
'Percentage' => ['description' => 'The percentage of new instances relative to the total instances in the scaling group. The task is automatically paused when this percentage is reached.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'Strategy' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'title' => 'DescribeInstanceRefreshes',
'summary' => 'Queries instance refresh tasks for a scaling group, including basic information and progress of each task.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeInstanceRefreshes',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f****\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": 100,\\n \\"InstanceRefreshTasks\\": {\\n \\"InstanceRefreshTask\\": [\\n {\\n \\"InstanceRefreshTaskId\\": \\"ir-1adfa123****\\",\\n \\"ScalingGroupId\\": \\"asg-bp16pbfcr8j9*****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"EndTime\\": \\"2024-08-22T02:09:00Z\\",\\n \\"StartTime\\": \\"2024-08-22T01:09:00Z\\",\\n \\"Status\\": \\"InProgress\\",\\n \\"Detail\\": \\"The task exceeded its maximum run time of one week. So the task failed.\\",\\n \\"MinHealthyPercentage\\": 80,\\n \\"MaxHealthyPercentage\\": 120,\\n \\"DesiredConfiguration\\": {\\n \\"ImageId\\": \\"m-uf6g5noisr****\\",\\n \\"ScalingConfigurationId\\": \\"asc-wz91ibkhfor****\\",\\n \\"LaunchTemplateId\\": \\"lt-2ze5x4mp*****\\",\\n \\"LaunchTemplateVersion\\": \\"Latest\\",\\n \\"LaunchTemplateOverrides\\": {\\n \\"LaunchTemplateOverride\\": [\\n {\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\"\\n }\\n ]\\n },\\n \\"Containers\\": {\\n \\"Container\\": [\\n {\\n \\"Name\\": \\"name\\",\\n \\"Image\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:latest\\",\\n \\"Commands\\": {\\n \\"Command\\": [\\n \\"sleep\\"\\n ]\\n },\\n \\"EnvironmentVars\\": {\\n \\"EnvironmentVar\\": [\\n {\\n \\"Key\\": \\"PATH\\",\\n \\"Value\\": \\"/usr/local/bin\\",\\n \\"FieldRefFieldPath\\": \\"fieldPath\\"\\n }\\n ]\\n },\\n \\"Args\\": {\\n \\"Arg\\": [\\n \\"100\\"\\n ]\\n }\\n }\\n ]\\n }\\n },\\n \\"FinishedUpdateCapacity\\": 10,\\n \\"TotalNeedUpdateCapacity\\": 20,\\n \\"SkipMatching\\": true,\\n \\"CheckpointPauseTime\\": 30,\\n \\"Checkpoints\\": {\\n \\"Checkpoint\\": [\\n {\\n \\"Percentage\\": 60\\n }\\n ]\\n },\\n \\"Strategy\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'DescribeLifecycleActions' => [
'summary' => 'Queries lifecycle tokens by scaling activity ID and status.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92674',
'abilityTreeNodes' => ['FEATUREess54US0Q'],
],
'parameters' => [
[
'name' => 'ScalingActivityId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling activity.', 'type' => 'string', 'required' => true, 'example' => 'asa-bp17mug9t0pegagw****', 'title' => ''],
],
[
'name' => 'LifecycleActionStatus',
'in' => 'query',
'schema' => ['description' => 'The status of the lifecycle action. Valid values:'."\n"
."\n"
.'- Pending: The ECS instance is still in the wait state.'."\n"
.'- Timeout: The timeout period of the lifecycle hook has been reached, and the wait state of the ECS instance is automatically ended.'."\n"
.'- Completed: You manually ended the wait state of the ECS instance ahead of schedule.', 'type' => 'string', 'required' => false, 'example' => 'Pending', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token that is used to specify the position from which to start the query.'."\n"
."\n"
.'For example, if you queried 10 lifecycle actions in the previous request, you can set this parameter to the value of NextToken returned in the previous response to query lifecycle actions starting from the 11th one. If you do not specify this parameter, the query starts from the beginning.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAcSz4VTb1Nq****', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of entries per page. Valid values: 1 to 50.'."\n"
."\n"
.'Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'NextToken' => ['description' => 'The pagination token returned in this response.', 'type' => 'string', 'example' => 'AAAAAcSz4VTb1Nq****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '42A742EB-FCF3-459E-9C62-E107048C17E3', 'title' => ''],
'TotalCount' => ['description' => 'The total number of lifecycle actions returned in this query.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'MaxResults' => ['description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'LifecycleActions' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'LifecycleAction' => [
'description' => 'The list of lifecycle actions that correspond to lifecycle hooks.',
'type' => 'array',
'items' => [
'description' => 'The lifecycle action that corresponds to a lifecycle hook.',
'type' => 'object',
'properties' => [
'LifecycleHookId' => ['description' => 'The ID of the lifecycle hook.', 'type' => 'string', 'example' => 'ash-bp18uoft0deax0f7****', 'title' => ''],
'LifecycleActionToken' => ['description' => 'The identifier of the lifecycle action.', 'type' => 'string', 'example' => '9C2E9DA7-F794-449A-ACF6-CEE24444****', 'title' => ''],
'LifecycleActionStatus' => ['description' => 'The status of the lifecycle action.', 'type' => 'string', 'example' => 'Pending', 'title' => ''],
'LifecycleActionResult' => ['description' => 'The next action to take after the lifecycle action triggered by the lifecycle hook is complete. Valid values:'."\n"
."\n"
.'- CONTINUE: Auto Scaling continues to respond to a scale-out activity and adds the ECS instance to the scaling group, or continues to respond to a scale-down activity and removes the ECS instance from the scaling group.'."\n"
.'- ABANDON: Auto Scaling terminates the scale-out activity and releases the created ECS instance, or continues to respond to a scale-down activity and removes the ECS instance from the scaling group.', 'type' => 'string', 'example' => 'CONTINUE', 'title' => ''],
'InstanceIds' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'InstanceId' => [
'description' => 'The list of IDs of ECS instances that are suspended by the lifecycle hook.',
'type' => 'array',
'items' => ['description' => 'The ID of the ECS instance that is suspended by the lifecycle hook.', 'type' => 'string', 'example' => '["i-bp11m3fzlqrgk5vh****","i-bp11m3fzlqrgk5vh****"]', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAcSz4VTb1Nq****\\",\\n \\"RequestId\\": \\"42A742EB-FCF3-459E-9C62-E107048C17E3\\",\\n \\"TotalCount\\": 3,\\n \\"MaxResults\\": 3,\\n \\"LifecycleActions\\": {\\n \\"LifecycleAction\\": [\\n {\\n \\"LifecycleHookId\\": \\"ash-bp18uoft0deax0f7****\\",\\n \\"LifecycleActionToken\\": \\"9C2E9DA7-F794-449A-ACF6-CEE24444****\\",\\n \\"LifecycleActionStatus\\": \\"Pending\\",\\n \\"LifecycleActionResult\\": \\"CONTINUE\\",\\n \\"InstanceIds\\": {\\n \\"InstanceId\\": [\\n \\"[\\\\\\"i-bp11m3fzlqrgk5vh****\\\\\\",\\\\\\"i-bp11m3fzlqrgk5vh****\\\\\\"]\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Query lifecycle tokens',
'description' => '## Operation description'."\n"
."\n"
.'If a scaling activity that matches the type applicable to a lifecycle hook occurs in a scaling group, each lifecycle hook triggers a lifecycle action. A lifecycle action can be in one of the following states:'."\n"
."\n"
.'- Pending: The ECS instance is still in the wait state.'."\n"
.'- Timeout: The timeout period of the lifecycle hook has elapsed, and the wait state of the ECS instance is automatically ended.'."\n"
.'- Completed: You manually ended the wait state of the ECS instance ahead of schedule.'."\n"
."\n"
.'If you did not configure a subsequent action when you created the lifecycle hook, such as triggering a specific OOS template after the wait state ends, you can call this operation to obtain the identifier of the lifecycle action that corresponds to the current scaling activity. This way, you can customize subsequent actions.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidParameter|The specified value of parameter "ScalingActivityId" is not valid.|The specified ScalingActivityId parameter is invalid.|'."\n"
.'|400|InvalidParameter|The specified value of parameter "MaxResults" is not valid.|The specified MaxResults parameter is invalid.|'."\n"
.'|400|InvalidParameter|The specified value of parameter "LifecycleActionStatus" is not valid.|The specified LifecycleActionStatus parameter is invalid.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeLifecycleActions'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeLifecycleActions',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DescribeLifecycleHooks' => [
'summary' => 'Queries lifecycle hooks.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92675',
'abilityTreeNodes' => ['FEATUREess54US0Q'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
],
[
'name' => 'LifecycleHookName',
'in' => 'query',
'schema' => ['description' => 'The name of the lifecycle hook.', 'type' => 'string', 'required' => false, 'example' => 'lifecyclehook****', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number of the instance status list. Minimum value: 1.'."\n"
."\n"
.'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page for a paged query. Maximum value: 50.'."\n"
."\n"
.'Default value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
'name' => 'LifecycleHookId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The IDs of the lifecycle hooks.',
'type' => 'array',
'items' => ['description' => 'The ID of the lifecycle hook.', 'type' => 'string', 'required' => false, 'example' => 'ash-bp1at9ufhmcf9cmy****', 'title' => ''],
'required' => false,
'example' => 'ash-bp19d1032y9kij96****',
'maxItems' => 100,
'title' => '',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where the scaling group resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''],
'PageNumber' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
'TotalCount' => ['description' => 'The total number of lifecycle hooks.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'LifecycleHooks' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'LifecycleHook' => [
'description' => 'The list of lifecycle hooks.',
'type' => 'array',
'items' => [
'description' => 'The lifecycle hook information.',
'type' => 'object',
'properties' => [
'DefaultResult' => ['description' => 'The action to take after the instance leaves the wait state.', 'type' => 'string', 'example' => 'CONTINUE', 'title' => ''],
'LifecycleHookId' => ['description' => 'The ID of the lifecycle hook.', 'type' => 'string', 'example' => 'ash-bp19d1032y9kij96****', 'title' => ''],
'LifecycleHookName' => ['description' => 'The name of the lifecycle hook.', 'type' => 'string', 'example' => 'lifecyclehook****', 'title' => ''],
'LifecycleTransition' => ['description' => 'The type of scaling activity to which the lifecycle hook applies.', 'type' => 'string', 'example' => 'SCALE_OUT', 'title' => ''],
'NotificationMetadata' => ['description' => 'The fixed string information that is associated with the wait state of the scaling activity.', 'type' => 'string', 'example' => 'Test Lifecycle Hook.', 'title' => ''],
'NotificationArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the notification recipient of the lifecycle hook. The parameter value is in one of the following formats:'."\n"
.'- No notification settings: `acs:ess:{region-id}:{account-id}:null/null`.'."\n"
.'- MNS queue: `acs:mns:{region-id}:{account-id}:queue/{queuename}`.'."\n"
.'- MNS topic: `acs:mns:{region-id}:{account-id}:topic/{topicname}`.'."\n"
.'- OOS template: `acs:oos:{region-id}:{account-id}:template/{templatename}`.'."\n"
.'- EventBridge: `acs:eventbridge:{region-id}:{account-id}:eventbus/default`.'."\n"
."\n"
.'The variables in the parameter formats have the following meanings:'."\n"
.'- region-id: the ID of the region where the scaling group resides.'."\n"
.'- account-id: the Alibaba Cloud account ID.'."\n"
.'- queuename: the name of the MNS queue.'."\n"
.'- topicname: the name of the MNS topic.'."\n"
.'- templatename: the name of the OOS template.', 'type' => 'string', 'example' => 'acs:ess:cn-beijing:161456884340****:null/null', 'title' => ''],
'HeartbeatTimeout' => ['description' => 'The wait period that the lifecycle hook sets for the scaling activity. After the wait period times out, the next action is taken.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''],
'ScalingGroupId' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
'LifecycleHookStatus' => ['description' => 'The status of the lifecycle hook. Valid values:'."\n"
.'- Active: enabled.'."\n"
.'- InActive: disabled.', 'type' => 'string', 'example' => 'Active', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 50,\\n \\"TotalCount\\": 1,\\n \\"LifecycleHooks\\": {\\n \\"LifecycleHook\\": [\\n {\\n \\"DefaultResult\\": \\"CONTINUE\\",\\n \\"LifecycleHookId\\": \\"ash-bp19d1032y9kij96****\\",\\n \\"LifecycleHookName\\": \\"lifecyclehook****\\",\\n \\"LifecycleTransition\\": \\"SCALE_OUT\\",\\n \\"NotificationMetadata\\": \\"Test Lifecycle Hook.\\",\\n \\"NotificationArn\\": \\"acs:ess:cn-beijing:161456884340****:null/null\\",\\n \\"HeartbeatTimeout\\": 60,\\n \\"ScalingGroupId\\": \\"asg-bp1igpak5ft1flyp****\\",\\n \\"LifecycleHookStatus\\": \\"Active\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'DescribeLifecycleHooks',
'description' => '## Operation description'."\n"
."\n"
.'You can query lifecycle hooks by using one of the following methods:'."\n"
."\n"
.'- Specify a list of lifecycle hook IDs (LifecycleHookId.N). In this case, the scaling group ID (ScalingGroupId) and lifecycle hook name (LifecycleHookName) parameters are ignored.'."\n"
."\n"
.'- Specify a scaling group ID (ScalingGroupId).'."\n"
."\n"
.'- Specify both a scaling group ID (ScalingGroupId) and a lifecycle hook name (LifecycleHookName).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidParamter|The specified value of parameter is not valid.|The specified parameter value is invalid.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeLifecycleHooks',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeLifecycleHooks'],
],
],
],
'DescribeLimitation' => [
'summary' => 'Queries resource quota limits.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92676',
'abilityTreeNodes' => ['FEATUREessZ1KWHS'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'MaxNumberOfScheduledTasks' => ['description' => 'The maximum number of scheduled tasks that can be created by an account in a region.'."\n"
.'>The quota is related to your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value. You can also request a quota increase.', 'type' => 'integer', 'format' => 'int32', 'example' => '70', 'title' => ''],
'MaxNumberOfLoadBalancers' => ['description' => 'The maximum number of Classic Load Balancer (CLB, formerly SLB) instances that can be associated with a scaling group.'."\n"
.'>The quota is related to your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value. You can also request a quota increase.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
'MaxNumberOfMaxSize' => ['description' => 'The maximum number of instances that can be set for a scaling group.'."\n"
.'>The quota is related to your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value. You can also request a quota increase.', 'type' => 'integer', 'format' => 'int32', 'example' => '2000', 'title' => ''],
'MaxNumberOfAlbServerGroup' => ['description' => 'The maximum number of Application Load Balancer (ALB) server groups that can be associated with a scaling group.'."\n"
.'>The quota is related to your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value. You can also request a quota increase.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
'MaxNumberOfNlbServerGroup' => ['description' => 'The maximum number of Network Load Balancer (NLB) server groups that can be associated with a scaling group.'."\n"
.'>The quota is related to your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value. You can also request a quota increase.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
'MaxNumberOfDBInstances' => ['description' => 'The maximum number of ApsaraDB RDS instances that can be associated with a scaling group.'."\n"
.'>The quota is related to your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value. You can also request a quota increase.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
'MaxNumberOfScalingConfigurations' => ['description' => 'The maximum number of scaling configurations that can be created in a scaling group.'."\n"
.'>The quota is related to your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value. You can also request a quota increase.', 'type' => 'integer', 'format' => 'int32', 'example' => '70', 'title' => ''],
'MaxNumberOfMinSize' => ['description' => 'The minimum number of instances that can be set for a scaling group. The quota value of MaxNumberOfMinSize is the same as that of MaxNumberOfMaxSize.', 'type' => 'integer', 'format' => 'int32', 'example' => '2000', 'title' => ''],
'MaxNumberOfLifecycleHooks' => ['description' => 'The maximum number of lifecycle hooks that can be created in a scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'MaxNumberOfScalingInstances' => ['description' => 'The maximum number of ECS instances or elastic container instances that can be automatically scaled in or out at a time in a scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '500', 'title' => ''],
'MaxNumberOfScalingGroups' => ['description' => 'The maximum number of scaling groups that can be created by an account in a region.'."\n"
.'>The quota is related to your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value. You can also request a quota increase.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BE9BEB41-E7B8-4C7D-A3CF-2DCB1066****', 'title' => ''],
'MaxNumberOfNotificationConfigurations' => ['description' => 'The maximum number of event notifications that can be created in a scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''],
'MaxNumberOfVServerGroups' => ['description' => 'The maximum number of virtual server groups that can be specified in a scaling group when the scaling group is associated with Classic Load Balancer (CLB, formerly SLB) instances.'."\n"
.'>The quota is related to your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value. You can also request a quota increase.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
'MaxNumberOfScalingRules' => ['description' => 'The maximum number of scaling rules that can be created in a scaling group.'."\n"
.'>The quota is related to your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to view the quota value. You can also request a quota increase.', 'type' => 'integer', 'format' => 'int32', 'example' => '70', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'title' => 'Query resource quota limits',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeLimitation'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeLimitation',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxNumberOfScheduledTasks\\": 70,\\n \\"MaxNumberOfLoadBalancers\\": 30,\\n \\"MaxNumberOfMaxSize\\": 2000,\\n \\"MaxNumberOfAlbServerGroup\\": 30,\\n \\"MaxNumberOfNlbServerGroup\\": 30,\\n \\"MaxNumberOfDBInstances\\": 30,\\n \\"MaxNumberOfScalingConfigurations\\": 70,\\n \\"MaxNumberOfMinSize\\": 2000,\\n \\"MaxNumberOfLifecycleHooks\\": 10,\\n \\"MaxNumberOfScalingInstances\\": 500,\\n \\"MaxNumberOfScalingGroups\\": 200,\\n \\"RequestId\\": \\"BE9BEB41-E7B8-4C7D-A3CF-2DCB1066****\\",\\n \\"MaxNumberOfNotificationConfigurations\\": 6,\\n \\"MaxNumberOfVServerGroups\\": 5,\\n \\"MaxNumberOfScalingRules\\": 70\\n}","type":"json"}]',
],
'DescribeNotificationConfigurations' => [
'summary' => 'Queries the auto scaling events and resource change notifications that you created.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92677',
'abilityTreeNodes' => ['FEATUREess6E26FJ', 'FEATUREessFY8KDA'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''],
'NotificationConfigurationModels' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'NotificationConfigurationModel' => [
'description' => 'The collection of auto scaling events and resource change notifications.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'NotificationArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the notification recipient. The following formats are supported:'."\n"
."\n"
.'- CloudMonitor: acs:ess:{region-id}:{account-id}:cloudmonitor.'."\n"
.'- MNS queue: acs:mns:{region-id}:{account-id}:queue/{queuename}.'."\n"
.'- MNS topic: acs:mns:{region-id}:{account-id}:topic/{topicname}.'."\n"
."\n"
.'The variables in the formats have the following meanings:'."\n"
.'- region-id: The region ID of the scaling group.'."\n"
.'- account-id: The Alibaba Cloud account ID.'."\n"
.'- queuename: The name of the MNS queue.'."\n"
.'- topicname: The name of the MNS topic.', 'type' => 'string', 'example' => 'acs:mns:cn-beijing:161456884340****:topic/modifyLifecycleHo****', 'title' => ''],
'ScalingGroupId' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
'NotificationTypes' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'NotificationType' => [
'type' => 'array',
'items' => ['description' => 'The list of auto scaling event and resource change notification types.', 'type' => 'string', 'example' => 'AUTOSCALING:SCALE_IN_SUCCESS', 'title' => ''],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'TimeZone' => ['description' => 'The time zone of the notification. The time zone offset from Coordinated Universal Time (UTC), such as UTC+8 or UTC-7.', 'type' => 'string', 'example' => 'UTC+8', 'title' => ''],
'MessageEncoding' => ['description' => 'The encoding method of the notification content. Valid values:'."\n"
."\n"
.'- PlainText: no encoding. The notification is sent in plaintext.'."\n"
.'- Base64: Base64 encoding.', 'type' => 'string', 'example' => 'PlainText', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"NotificationConfigurationModels\\": {\\n \\"NotificationConfigurationModel\\": [\\n {\\n \\"NotificationArn\\": \\"acs:mns:cn-beijing:161456884340****:topic/modifyLifecycleHo****\\",\\n \\"ScalingGroupId\\": \\"asg-bp1igpak5ft1flyp****\\",\\n \\"NotificationTypes\\": {\\n \\"NotificationType\\": [\\n \\"AUTOSCALING:SCALE_IN_SUCCESS\\"\\n ]\\n },\\n \\"TimeZone\\": \\"UTC+8\\",\\n \\"MessageEncoding\\": \\"PlainText\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Query auto scaling events and resource change notifications',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeNotificationConfigurations'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeNotificationConfigurations',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DescribeNotificationTypes' => [
'summary' => 'Queries the types of Auto Scaling events and resource change notifications.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92678',
'abilityTreeNodes' => ['FEATUREessFY8KDA'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'NotificationTypes' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'NotificationType' => [
'description' => 'The list of Auto Scaling event and resource change notification types.',
'type' => 'array',
'items' => ['description' => 'The list of Auto Scaling event and resource change notification types. Valid values:'."\n"
.'- AUTOSCALING:SCALE_OUT_SUCCESS: Scale-out scaling activity succeeded.'."\n"
.'- AUTOSCALING:SCALE_IN_SUCCESS: Scale-in scaling activity succeeded.'."\n"
.'- AUTOSCALING:SCALE_OUT_ERROR: Scale-out scaling activity failed.'."\n"
.'- AUTOSCALING:SCALE_IN_ERROR: Scale-in scaling activity failed.'."\n"
.'- AUTOSCALING:SCALE_REJECT: Scaling activity was rejected.'."\n"
.'- AUTOSCALING:SCALE_OUT_START: Scale-out scaling activity started.'."\n"
.'- AUTOSCALING:SCALE_IN_START: Scale-in scaling activity started.'."\n"
.'- AUTOSCALING:SCHEDULE_TASK_EXPIRING: Scheduled task expiration reminder.'."\n"
.'- SCALING_GROUP_DIAGNOSE: Scaling group diagnostics.'."\n"
.'- AUTOSCALING:SCALE_OUT_WARN: Scale-out scaling activity partially succeeded.'."\n"
.'- AUTOSCALG:SCALE_IN_WARN: Scale-down scaling activity partially succeeded.', 'type' => 'string', 'example' => 'AUTOSCALING:SCALE_OUT_SUCCESS', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'title' => 'Query types of Auto Scaling events and resource change notifications',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeNotificationTypes'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeNotificationTypes',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"NotificationTypes\\": {\\n \\"NotificationType\\": [\\n \\"AUTOSCALING:SCALE_OUT_SUCCESS\\"\\n ]\\n }\\n}","type":"json"}]',
],
'DescribePatternTypes' => [
'summary' => 'When configuring scaling configurations using the instance attribute-based method, call the DescribePatternTypes API to filter eligible instance types based on specified instance attributes such as the number of vCPU cores, memory size, instance family level, and the maximum acceptable price.',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '222292',
'abilityTreeNodes' => ['FEATUREessWJGIW5'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'VSwitchId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of vSwitch IDs.',
'type' => 'array',
'items' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp14zolna43z266bq****', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'ZoneId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of zone IDs. This parameter is invalid when vSwitch IDs are specified.',
'type' => 'array',
'items' => ['description' => 'The zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-g', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'SpotStrategy',
'in' => 'query',
'schema' => ['description' => 'The bidding policy for pay-as-you-go instances. Valid values:'."\n"
."\n"
.'- NoSpot: a regular pay-as-you-go instance.'."\n"
.'- SpotWithPriceLimit: a preemptible instance with a user-defined maximum hourly price.'."\n"
.'- SpotAsPriceGo: a preemptible instance for which the system automatically bids with the current market price.'."\n"
."\n"
.'Default value: NoSpot.', 'type' => 'string', 'required' => false, 'example' => 'NoSpot', 'title' => ''],
],
[
'name' => 'Cores',
'in' => 'query',
'schema' => ['description' => 'The number of vCPU cores of the instance type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'Memory',
'in' => 'query',
'schema' => ['description' => 'The memory size of the instance type. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4', 'title' => ''],
],
[
'name' => 'MaxPrice',
'in' => 'query',
'schema' => ['description' => 'The maximum acceptable hourly price for pay-as-you-go or preemptible instances.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'InstanceFamilyLevel',
'in' => 'query',
'schema' => ['description' => 'The level of the instance family. Valid values:'."\n"
."\n"
.'- EntryLevel: entry-level, shared instance type. Lower cost but no guaranteed stable computing performance. Suitable for scenarios with generally low CPU utilization. For more information, see [Shared instance families](~~108489~~).'."\n"
.'- EnterpriseLevel: enterprise-level. Stable performance with dedicated resources. Suitable for scenarios that require high stability. For more information, see [Instance families](~~25378~~).'."\n"
.'- CreditEntryLevel: credit-based entry-level, burstable performance instance. Uses CPU credits to ensure computing performance. Suitable for scenarios with normally low CPU utilization and occasional spikes. For more information, see [Burstable performance instances](~~59977~~).', 'type' => 'string', 'required' => false, 'example' => 'EnterpriseLevel', 'title' => ''],
],
[
'name' => 'ExcludedInstanceType',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The instance types to exclude. You can use wildcard characters (*) to exclude a single instance type or an entire instance family. Examples:'."\n"
."\n"
.'- ecs.c6.large: excludes the ecs.c6.large instance type.'."\n"
.'- ecs.c6.*: excludes all instance types in the c6 instance family.'."\n"
."\n"
.'>To exclude multiple instance types, separate them with forward slashes (/). Example: `ecs.n1.small/ecs.n1.*/*7*`.',
'type' => 'array',
'items' => ['description' => 'The instance types to exclude. You can use wildcard characters (*) to exclude a single instance type or an entire instance family. Examples:'."\n"
."\n"
.'- ecs.c6.large: excludes the ecs.c6.large instance type.'."\n"
.'- ecs.c6.*: excludes all instance types in the c6 instance family.'."\n"
."\n"
.'>To exclude multiple instance types, separate them with forward slashes (/). Example: `ecs.n1.small/ecs.n1.*/*7*`.', 'type' => 'string', 'required' => false, 'example' => 'ecs.c6.xlarge', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'Architecture',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The architecture types of the instance type. Valid values:'."\n"
."\n"
.'- X86: x86 computing.'."\n"
.'- Heterogeneous: heterogeneous computing, such as GPU or FPGA.'."\n"
.'- BareMental: ECS Bare Metal Instance.'."\n"
.'- Arm: Arm computing.'."\n"
."\n"
.'Default value: all architecture types.',
'type' => 'array',
'items' => ['description' => 'The architecture types of the instance type. Valid values:'."\n"
."\n"
.'- X86: x86 computing.'."\n"
.'- Heterogeneous: heterogeneous computing, such as GPU or FPGA.'."\n"
.'- BareMental: ECS Bare Metal Instance.'."\n"
.'- Arm: Arm computing.'."\n"
."\n"
.'Default value: all architecture types.', 'type' => 'string', 'required' => false, 'example' => 'X86', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'BurstablePerformance',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to include burstable performance instance types. Valid values:'."\n"
."\n"
.'- Exclude: excludes burstable performance instance types.'."\n"
.'- Include: includes burstable performance instance types.'."\n"
.'- Required: includes only burstable performance instance types.'."\n"
."\n"
.'Default value: Include.', 'type' => 'string', 'required' => false, 'example' => 'Include', 'title' => ''],
],
[
'name' => 'CoresList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The number of vCPU cores of the instance type. You can specify multiple values.',
'type' => 'array',
'items' => ['description' => 'The number of vCPU cores of the instance type. You can specify multiple values.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'MemoryList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The memory size of the instance type. Unit: GiB. You can specify multiple values.',
'type' => 'array',
'items' => ['description' => 'The memory size of the instance type. Unit: GiB. You can specify multiple values.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4', 'title' => ''],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'ChannelId',
'in' => 'query',
'schema' => ['description' => 'The channel ID.'."\n"
.'>This parameter is not publicly available (internal reserved parameter only).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '79425074', 'title' => ''],
],
[
'name' => 'InstanceTypeFamilies',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The instance type families to query. N indicates that you can specify multiple instance type families. Valid values of N: 1 to 10.',
'type' => 'array',
'items' => ['description' => 'The instance type families to query. N indicates that you can specify multiple instance type families. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'MinimumCpuCoreCount',
'in' => 'query',
'schema' => ['description' => 'The minimum number of vCPU cores of the instance type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'MaximumCpuCoreCount',
'in' => 'query',
'schema' => ['description' => 'The maximum number of vCPU cores of the instance type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4', 'title' => ''],
],
[
'name' => 'GpuSpecs',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The GPU types.',
'type' => 'array',
'items' => ['description' => 'The GPU type.', 'type' => 'string', 'required' => false, 'example' => 'NVIDIA V100', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'InstanceCategories',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The instance type categories. Valid values:'."\n"
."\n"
.'- General-purpose: general-purpose type.'."\n"
.'- Compute-optimized: compute-optimized type.'."\n"
.'- Memory-optimized: memory-optimized type.'."\n"
.'- Big data: big data type.'."\n"
.'- Local SSDs: local SSD type.'."\n"
.'- High Clock Speed: high clock speed type.'."\n"
.'- Enhanced: enhanced type.'."\n"
.'- Shared: shared type.'."\n"
.'- Compute-optimized with GPU: GPU compute-optimized type.'."\n"
.'- Visual Compute-optimized: visual compute-optimized type.'."\n"
.'- Heterogeneous Service: heterogeneous service type.'."\n"
.'- Compute-optimized with FPGA: FPGA compute-optimized type.'."\n"
.'- Compute-optimized with NPU: NPU compute-optimized type.'."\n"
.'- ECS Bare Metal: ECS Bare Metal Instance.'."\n"
.'- High Performance Compute: high performance computing type.',
'type' => 'array',
'items' => ['description' => 'The instance type categories. Valid values:'."\n"
."\n"
.'- General-purpose: general-purpose type.'."\n"
.'- Compute-optimized: compute-optimized type.'."\n"
.'- Memory-optimized: memory-optimized type.'."\n"
.'- Big data: big data type.'."\n"
.'- Local SSDs: local SSD type.'."\n"
.'- High Clock Speed: high clock speed type.'."\n"
.'- Enhanced: enhanced type.'."\n"
.'- Shared: shared type.'."\n"
.'- Compute-optimized with GPU: GPU compute-optimized type.'."\n"
.'- Visual Compute-optimized: visual compute-optimized type.'."\n"
.'- Heterogeneous Service: heterogeneous service type.'."\n"
.'- Compute-optimized with FPGA: FPGA compute-optimized type.'."\n"
.'- Compute-optimized with NPU: NPU compute-optimized type.'."\n"
.'- ECS Bare Metal: ECS Bare Metal Instance.'."\n"
.'- High Performance Compute: high performance computing type.', 'type' => 'string', 'required' => false, 'example' => 'Compute-optimized with GPU', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'CpuArchitectures',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The CPU architectures of the instance type.',
'type' => 'array',
'items' => ['description' => 'The CPU architecture of the instance type. Valid values:'."\n"
."\n"
.'> N indicates that you can specify multiple CPU architectures. Valid values of N: 1 to 2.'."\n"
."\n"
.'- X86.'."\n"
.'- ARM.', 'type' => 'string', 'required' => false, 'example' => 'X86', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'PhysicalProcessorModels',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The processor models of the instance. N indicates that you can specify multiple processor models. Valid values of N: 1 to 10.',
'type' => 'array',
'items' => ['description' => 'The processor models of the instance. N indicates that you can specify multiple processor models. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'Intel Xeon(Ice Lake) Platinum 8369B', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'MinimumEniQuantity',
'in' => 'query',
'schema' => ['description' => 'The minimum number of elastic network interfaces (ENIs) supported by the instance.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'MinimumEniPrivateIpAddressQuantity',
'in' => 'query',
'schema' => ['description' => 'The minimum number of IPv4 addresses per ENI for the instance.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'MinimumEniIpv6AddressQuantity',
'in' => 'query',
'schema' => ['description' => 'The minimum number of IPv6 addresses per ENI for the instance.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'MinimumInitialCredit',
'in' => 'query',
'schema' => ['description' => 'The minimum initial vCPU credits for burstable performance instances t5 and t6.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', 'title' => ''],
],
[
'name' => 'MinimumBaselineCredit',
'in' => 'query',
'schema' => ['description' => 'The minimum baseline vCPU computing performance (sum of all vCPUs) for burstable performance instances t5 and t6.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', 'title' => ''],
],
[
'name' => 'MinimumMemorySize',
'in' => 'query',
'schema' => ['description' => 'The minimum memory size of the instance. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4', 'title' => ''],
],
[
'name' => 'MaximumMemorySize',
'in' => 'query',
'schema' => ['description' => 'The maximum memory size of the instance. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4', 'title' => ''],
],
[
'name' => 'MinimumGpuAmount',
'in' => 'query',
'schema' => ['description' => 'The minimum number of GPUs of the instance. Valid values: positive integers.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'MaximumGpuAmount',
'in' => 'query',
'schema' => ['description' => 'The maximum number of GPUs of the instance. Valid values: positive integers.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'],
'PatternTypes' => [
'description' => 'The eligible instance types.',
'type' => 'array',
'items' => [
'description' => 'The eligible instance types.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'The name of the instance type.', 'type' => 'string', 'example' => 'ecs.c7.xlarge', 'title' => ''],
'InstanceFamilyLevel' => ['description' => 'The level of the instance family. Valid values:'."\n"
."\n"
.'- EntryLevel: entry-level, shared instance type. Lower cost but no guaranteed stable computing performance. Suitable for scenarios with generally low CPU utilization. For more information, see [Shared instance families](~~108489~~).'."\n"
.'- EnterpriseLevel: enterprise-level. Stable performance with dedicated resources. Suitable for scenarios that require high stability. For more information, see [Instance families](~~25378~~).'."\n"
.'- CreditEntryLevel: credit-based entry-level, burstable performance instance. Uses CPU credits to ensure computing performance. Suitable for scenarios with normally low CPU utilization and occasional spikes. For more information, see [Burstable performance instances](~~59977~~).', 'type' => 'string', 'example' => 'EnterpriseLevel', 'title' => ''],
'InstanceTypeFamily' => ['description' => 'The instance type family.', 'type' => 'string', 'example' => 'ecs.c7', 'title' => ''],
'Cores' => ['description' => 'The number of vCPU cores of the instance type.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
'Memory' => ['description' => 'The memory size of the instance type. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'example' => '8', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"PatternTypes\\": [\\n {\\n \\"InstanceType\\": \\"ecs.c7.xlarge\\",\\n \\"InstanceFamilyLevel\\": \\"EnterpriseLevel\\",\\n \\"InstanceTypeFamily\\": \\"ecs.c7\\",\\n \\"Cores\\": 4,\\n \\"Memory\\": 8\\n }\\n ]\\n}","type":"json"}]',
'title' => 'DescribePatternTypes',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribePatternTypes'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'ess:DescribePatternTypes',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'DescribeRegions' => [
'summary' => 'Queries the regions where Auto Scaling is available.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92679',
'abilityTreeNodes' => ['FEATUREessZ1KWHS'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'AcceptLanguage',
'in' => 'query',
'schema' => ['description' => 'Filters the results based on the specified language. For more information, see [RFC7231](https://tools.ietf.org/html/rfc7231). Valid values:'."\n"
."\n"
.'- zh-CN: Chinese.'."\n"
.'- en-US: English.'."\n"
.'- ja: Japanese.'."\n"
."\n"
.'Default value: zh-CN.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '73469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'Regions' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Region' => [
'description' => 'The collection of region information.',
'type' => 'array',
'items' => [
'description' => 'The collection of region information.',
'type' => 'object',
'properties' => [
'ClassicUnavailable' => ['description' => 'Indicates whether scaling groups of the classic network type are supported in the current region. Valid values:'."\n"
."\n"
.'- true: Not supported.'."\n"
.'- false: Supported.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'RegionEndpoint' => ['description' => 'The endpoint of the region.', 'type' => 'string', 'example' => 'ess.aliyuncs.com', 'title' => ''],
'LocalName' => ['description' => 'The name of the region.', 'type' => 'string', 'example' => '华北2 (北京)', 'title' => ''],
'VpcUnavailable' => ['description' => 'Indicates whether scaling groups of the VPC network type are supported in the current region. Valid values:'."\n"
."\n"
.'- true: Not supported.'."\n"
.'- false: Supported.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'title' => 'Query regions where Auto Scaling is available',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidAcceptLanguage.NotFound|Only Chinese (zh-CN), English (en-US), and Japanese (ja) are allowed.|The specified language is not supported.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeRegions'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeRegions',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"73469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"ClassicUnavailable\\": false,\\n \\"RegionEndpoint\\": \\"ess.aliyuncs.com\\",\\n \\"LocalName\\": \\"华北2 (北京)\\",\\n \\"VpcUnavailable\\": false,\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'DescribeScalingActivities' => [
'summary' => 'Queries scaling activities.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92680',
'abilityTreeNodes' => ['FEATUREessACRSW1'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group to which the scaling activities belong.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number of the scaling activity list. Minimum value: 1.'."\n"
."\n"
.'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'default' => '1', 'example' => '1', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page for paging query. Maximum value: 50.'."\n"
."\n"
.'Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '50', 'default' => '10', 'example' => '10', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.'."\n"
.'>When you call this operation, you must specify either ScalingGroupId or ScalingActivityId.N. If you do not specify either parameter, an error is returned.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'StatusCode',
'in' => 'query',
'schema' => ['description' => 'The status of the scaling activity. Valid values:'."\n"
.'- Successful: The scaling activity was executed successfully. '."\n"
.'- Warning: The scaling activity was partially successful. '."\n"
.'- Failed: The scaling activity failed.'."\n"
.'- InProgress: The scaling activity is being executed.'."\n"
.'- Rejected: The request to execute the scaling activity was rejected.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'Successful', 'title' => ''],
],
[
'name' => 'ScalingActivityId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The IDs of the scaling activities that you want to query.'."\n"
.'>When you call this operation, you must specify either ScalingGroupId or ScalingActivityId.N. If you do not specify either parameter, an error is returned.',
'type' => 'array',
'items' => ['description' => 'The ID of the scaling activity that you want to query.'."\n"
.'>When you call this operation, you must specify either ScalingGroupId or ScalingActivityId.N. If you do not specify either parameter, an error is returned.', 'type' => 'string', 'required' => false, 'example' => 'asa-bp161xudmuxdzofe****', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'InstanceRefreshTaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the instance refresh task. You can set this parameter to query the list of scaling activities associated with the instance refresh task.', 'type' => 'string', 'required' => false, 'example' => 'ir-a12ds234fasd*****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CC107349-57B7-4405-B1BF-9BF5AF7F****', 'title' => ''],
'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'TotalCount' => ['description' => 'The total number of scaling activities.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ScalingActivities' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ScalingActivity' => [
'description' => 'The collection of scaling activity information.',
'type' => 'array',
'items' => [
'description' => 'The collection of scaling activity information.',
'type' => 'object',
'properties' => [
'Progress' => ['description' => 'The execution progress of the scaling activity.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'ScalingInstanceNumber' => ['description' => '- If the scaling activity is a scale-out activity, this parameter indicates the number of instances that were created or started from the economy mode during the scaling activity.'."\n"
.'- If the scaling activity is a scale-in activity, this parameter indicates the number of instances that were deleted or entered the economy mode during the scaling activity.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'AttachedCapacity' => ['description' => 'The total number of instances that were manually added to the scaling group after the scaling activity was complete.', 'type' => 'string', 'example' => '0', 'title' => ''],
'TotalCapacity' => ['description' => 'The total number of instances in the scaling group after the scaling activity was complete.', 'type' => 'string', 'example' => '2', 'title' => ''],
'ScalingGroupId' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
'AutoCreatedCapacity' => ['description' => 'The total number of instances in the scaling group that were subject to automatic creation by the scaling group after the scaling activity was executed.', 'type' => 'string', 'example' => '2', 'title' => ''],
'EndTime' => ['description' => 'The end time of the scaling activity.', 'type' => 'string', 'example' => '2020-09-10T09:54Z', 'title' => ''],
'StartTime' => ['description' => 'The start time of the scaling activity.', 'type' => 'string', 'example' => '2020-09-10T09:54Z', 'title' => ''],
'Description' => ['description' => 'The description of the scaling activity.', 'type' => 'string', 'example' => 'Add \\"1\\" ECS instance', 'title' => ''],
'StatusCode' => ['description' => 'The status of the scaling activity. Valid values:'."\n"
.'- Successful: The scaling activity was executed successfully. '."\n"
.'- Warning: The scaling activity was partially successful. '."\n"
.'- Failed: The scaling activity failed. '."\n"
.'- InProgress: The scaling activity is being executed.'."\n"
.'- Rejected: The request to execute the scaling activity was rejected.', 'type' => 'string', 'example' => 'Successful', 'title' => ''],
'Cause' => ['description' => 'The cause that triggered the scaling activity.', 'type' => 'string', 'example' => 'A user requests to execute scaling rule \\"asr-bp12tcnol686y1ik****\\", changing the Total Capacity from \\"1\\" to \\"2\\".', 'title' => ''],
'ScalingActivityId' => ['description' => 'The ID of the scaling activity.', 'type' => 'string', 'example' => 'asa-bp161xudmuxdzofe****', 'title' => ''],
'StatusMessage' => ['description' => 'The status message of the scaling activity.', 'type' => 'string', 'example' => '\\"1\\" ECS instances are added', 'title' => ''],
'CreatedCapacity' => ['description' => 'The number of instances created during the current scaling activity.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'DestroyedCapacity' => ['description' => 'The number of instances released during the current scaling activity.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'StartedCapacity' => ['description' => 'The number of instances started from the economy mode during the current scaling activity.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'StoppedCapacity' => ['description' => 'The number of instances that entered the economy mode during the current scaling activity.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'CreatedInstances' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'CreatedInstance' => [
'description' => 'The list of instances created during the current scaling activity.',
'type' => 'array',
'items' => ['description' => 'The list of instances created during the current scaling activity.', 'type' => 'string', 'example' => '[ "i-abc1", "i-abc2" ]', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'DestroyedInstances' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'DestroyedInstance' => [
'description' => 'The list of instances released during the current scaling activity.',
'type' => 'array',
'items' => ['description' => 'The list of instances released during the current scaling activity.', 'type' => 'string', 'example' => '[ "i-abc1", "i-abc2" ]', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'StartedInstances' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'StartedInstance' => [
'description' => 'The list of instances started from the economy mode during the current scaling activity.',
'type' => 'array',
'items' => ['description' => 'The list of instances started from the economy mode during the current scaling activity.', 'type' => 'string', 'example' => '[ "i-abc1", "i-abc2" ]', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'StoppedInstances' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'StoppedInstance' => [
'description' => 'The list of instances that entered the economy mode during the current scaling activity.',
'type' => 'array',
'items' => ['description' => 'The list of instances that entered the economy mode during the current scaling activity.', 'type' => 'string', 'example' => '[ "i-abc1", "i-abc2" ]', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'ErrorCode' => ['description' => 'The error code returned when the scaling activity failed.', 'type' => 'string', 'example' => 'OperationDenied.NoStock', 'title' => ''],
'ErrorMessage' => ['description' => 'The error message returned when the scaling activity failed.', 'type' => 'string', 'example' => 'The specified ECS resource is out of stock in this region. Please try again later.', 'title' => ''],
'Detail' => ['description' => 'The details of the scaling activity.', 'type' => 'string', 'example' => '"new ECS instances "i-j6c8ilerw, i-j6c8iler4mx" are created."', 'title' => ''],
'TriggerSourceType' => ['description' => 'The type of the trigger source for the scaling activity. Valid values:'."\n"
."\n"
.'- Cms: The scaling activity was triggered by an event-triggered task.'."\n"
.'- Api: The scaling activity was triggered by a user through an API call.'."\n"
.'- Ess: The scaling activity was triggered by a system task.', 'type' => 'string', 'example' => 'Api', 'title' => ''],
'TriggerSourceId' => ['description' => 'The ID of the trigger source for the scaling activity. Valid values:'."\n"
."\n"
.'- Cms trigger source ID: the ID of the event-triggered task.'."\n"
.'- Api trigger source ID: the UID of the Alibaba Cloud account or RAM user.'."\n"
.'- Ess trigger source ID: empty.', 'type' => 'string', 'example' => '2346366580*****', 'title' => ''],
'LifecycleHookContext' => [
'description' => 'The context information of lifecycle hooks.',
'type' => 'object',
'properties' => [
'DisableLifecycleHook' => ['description' => 'Indicates whether all lifecycle hooks are disabled for the scaling activity. Valid values:'."\n"
."\n"
.'- true: Disabled.'."\n"
.'- false: Not disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'IgnoredLifecycleHookIds' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'IgnoredLifecycleHookId' => [
'description' => 'The list of lifecycle hook IDs that are disabled for the scaling activity.',
'type' => 'array',
'items' => ['description' => 'The list of lifecycle hook IDs that are disabled for the scaling activity.', 'type' => 'string', 'example' => 'ash-bp14zolna43z266bq***', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'ActivityMetadata' => ['description' => 'The metadata of the scaling activity.', 'type' => 'string', 'example' => '{\\"goatscaler.io/managed\\":\\"true\\"}', 'title' => ''],
'InstanceRefreshTaskId' => ['description' => 'The ID of the instance refresh task.', 'type' => 'string', 'example' => 'ir-asdf12adsxg*****', 'title' => ''],
'ErrorMessages' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ErrorMessages' => [
'description' => 'The error messages returned when the scaling activity failed or was partially successful.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Description' => ['description' => 'The exception description of the scaling activity.', 'type' => 'string', 'example' => 'Fail to create instances into scaling group.', 'title' => ''],
'Code' => ['description' => 'The error code returned when the scaling activity failed or was partially successful.', 'type' => 'string', 'example' => 'OperationDenied.NoStock', 'title' => ''],
'Message' => ['description' => 'The error messages returned when the scaling activity failed or was partially successful.', 'type' => 'string', 'example' => 'The resource is out of stock in the specified zone. Please try other types, or choose other regions and zones.', 'title' => ''],
'FailedInstanceIds' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'FailedInstanceIds' => [
'description' => 'The list of failed instance IDs.',
'type' => 'array',
'items' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'i-8vbedazhjj6a6******', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CC107349-57B7-4405-B1BF-9BF5AF7F****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"ScalingActivities\\": {\\n \\"ScalingActivity\\": [\\n {\\n \\"Progress\\": 100,\\n \\"ScalingInstanceNumber\\": 1,\\n \\"AttachedCapacity\\": \\"0\\",\\n \\"TotalCapacity\\": \\"2\\",\\n \\"ScalingGroupId\\": \\"asg-bp18p2yfxow2dloq****\\",\\n \\"AutoCreatedCapacity\\": \\"2\\",\\n \\"EndTime\\": \\"2020-09-10T09:54Z\\",\\n \\"StartTime\\": \\"2020-09-10T09:54Z\\",\\n \\"Description\\": \\"Add \\\\\\\\\\\\\\"1\\\\\\\\\\\\\\" ECS instance\\",\\n \\"StatusCode\\": \\"Successful\\",\\n \\"Cause\\": \\"A user requests to execute scaling rule \\\\\\\\\\\\\\"asr-bp12tcnol686y1ik****\\\\\\\\\\\\\\", changing the Total Capacity from \\\\\\\\\\\\\\"1\\\\\\\\\\\\\\" to \\\\\\\\\\\\\\"2\\\\\\\\\\\\\\".\\",\\n \\"ScalingActivityId\\": \\"asa-bp161xudmuxdzofe****\\",\\n \\"StatusMessage\\": \\"\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\" ECS instances are added\\",\\n \\"CreatedCapacity\\": 1,\\n \\"DestroyedCapacity\\": 1,\\n \\"StartedCapacity\\": 1,\\n \\"StoppedCapacity\\": 1,\\n \\"CreatedInstances\\": {\\n \\"CreatedInstance\\": [\\n \\"[ \\\\\\"i-abc1\\\\\\", \\\\\\"i-abc2\\\\\\" ]\\"\\n ]\\n },\\n \\"DestroyedInstances\\": {\\n \\"DestroyedInstance\\": [\\n \\"[ \\\\\\"i-abc1\\\\\\", \\\\\\"i-abc2\\\\\\" ]\\"\\n ]\\n },\\n \\"StartedInstances\\": {\\n \\"StartedInstance\\": [\\n \\"[ \\\\\\"i-abc1\\\\\\", \\\\\\"i-abc2\\\\\\" ]\\"\\n ]\\n },\\n \\"StoppedInstances\\": {\\n \\"StoppedInstance\\": [\\n \\"[ \\\\\\"i-abc1\\\\\\", \\\\\\"i-abc2\\\\\\" ]\\"\\n ]\\n },\\n \\"ErrorCode\\": \\"OperationDenied.NoStock\\",\\n \\"ErrorMessage\\": \\"The specified ECS resource is out of stock in this region. Please try again later.\\",\\n \\"Detail\\": \\"\\\\\\"new ECS instances \\\\\\"i-j6c8ilerw, i-j6c8iler4mx\\\\\\" are created.\\\\\\"\\",\\n \\"TriggerSourceType\\": \\"Api\\",\\n \\"TriggerSourceId\\": \\"2346366580*****\\",\\n \\"LifecycleHookContext\\": {\\n \\"DisableLifecycleHook\\": false,\\n \\"IgnoredLifecycleHookIds\\": {\\n \\"IgnoredLifecycleHookId\\": [\\n \\"ash-bp14zolna43z266bq***\\"\\n ]\\n }\\n },\\n \\"ActivityMetadata\\": \\"{\\\\\\\\\\\\\\"goatscaler.io/managed\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"true\\\\\\\\\\\\\\"}\\",\\n \\"InstanceRefreshTaskId\\": \\"ir-asdf12adsxg*****\\",\\n \\"ErrorMessages\\": {\\n \\"ErrorMessages\\": [\\n {\\n \\"Description\\": \\"Fail to create instances into scaling group.\\",\\n \\"Code\\": \\"OperationDenied.NoStock\\",\\n \\"Message\\": \\"The resource is out of stock in the specified zone. Please try other types, or choose other regions and zones.\\",\\n \\"FailedInstanceIds\\": {\\n \\"FailedInstanceIds\\": [\\n \\"i-8vbedazhjj6a6******\\"\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Query scaling activities',
'description' => '## Operation description'."\n"
."\n"
.'- You can specify a scaling group ID to query all scaling activities in the scaling group.'."\n"
."\n"
.'- You can filter query results by the status of scaling activities.'."\n"
."\n"
.'- You can query scaling activities within the last 30 days.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScalingActivities',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScalingActivities'],
],
],
],
'DescribeScalingActivityDetail' => [
'summary' => 'Queries the details of a scaling activity.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92681',
'abilityTreeNodes' => ['FEATUREessACRSW1'],
],
'parameters' => [
[
'name' => 'ScalingActivityId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling activity that you want to query. You can call [DescribeScalingActivities](~~25961~~) to query scaling activity IDs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asa-bp1c9djwrgxjyk31****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B13527BF-1FBD-4334-A512-20F5E9D3FB4D', 'title' => ''],
'ScalingActivityId' => ['description' => 'The ID of the scaling activity.', 'type' => 'string', 'example' => 'asa-bp1c9djwrgxjyk31****', 'title' => ''],
'Detail' => ['description' => 'The details of the scaling activity, including whether the scaling activity succeeded or failed. This parameter is not returned when the scaling activity is in the reject state.', 'type' => 'string', 'example' => 'new ECS instances \\"i-bp16t2cgmiiymeqv****\\" are created.', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B13527BF-1FBD-4334-A512-20F5E9D3FB4D\\",\\n \\"ScalingActivityId\\": \\"asa-bp1c9djwrgxjyk31****\\",\\n \\"Detail\\": \\"new ECS instances \\\\\\\\\\\\\\"i-bp16t2cgmiiymeqv****\\\\\\\\\\\\\\" are created.\\"\\n}","type":"json"}]',
'title' => 'Query the details of a scaling activity',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' |HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidParameter|The input parameter \\"ScalingActivityId\\" that is mandatory for processing this request is not supplied|The ID of the scaling activity to query is not specified.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScalingActivityDetail'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScalingActivityDetail',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DescribeScalingConfigurations' => [
'summary' => 'Queries the information about scaling configurations.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92682',
'abilityTreeNodes' => ['FEATUREessVYTHU5'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group to which the scaling configuration belongs.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number of the scaling configuration list. Minimum value: 1.'."\n"
."\n"
.'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page for a paged query. Maximum value: 50.'."\n"
."\n"
.'Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'default' => '10', 'example' => '50', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group. You can query all scaling configurations in the specified scaling group.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp17pelvl720x3v7****', 'title' => ''],
],
[
'name' => 'ScalingConfigurationId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the scaling configuration that you want to query.'."\n"
."\n"
.'The query results include scaling configurations in both the Active and Inactive states, which are identified by the LifecycleState response element.',
'type' => 'array',
'items' => ['description' => 'The ID of the scaling configuration that you want to query.'."\n"
."\n"
.'The query results include scaling configurations in both the Active and Inactive states, which are identified by the LifecycleState response element.', 'type' => 'string', 'required' => false, 'example' => 'asc-bp17pelvl720x5ub****', 'title' => ''],
'required' => false,
'example' => 'asc-bp17pelvl720x5ub****',
'maxItems' => 10,
'title' => '',
],
],
[
'name' => 'ScalingConfigurationName',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The name of the scaling configuration that you want to query.'."\n"
."\n"
.'The query results ignore invalid scaling configuration names without returning an error.',
'type' => 'array',
'items' => ['description' => 'The name of the scaling configuration that you want to query.'."\n"
."\n"
.'The query results ignore invalid scaling configuration names without returning an error.', 'type' => 'string', 'required' => false, 'example' => 'scalingcon****', 'title' => ''],
'required' => false,
'example' => 'scalingcon****',
'maxItems' => 10,
'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
'TotalCount' => ['description' => 'The total number of scaling configurations.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ScalingConfigurations' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ScalingConfiguration' => [
'description' => 'The collection of scaling configuration information.',
'type' => 'array',
'items' => [
'description' => 'The collection of scaling configuration information.',
'type' => 'object',
'properties' => [
'DeploymentSetId' => ['description' => 'The ID of the deployment set to which the ECS instance belongs.', 'type' => 'string', 'example' => 'ds-bp1frxuzdg87zh4p****', 'title' => ''],
'CreationTime' => ['description' => 'The time when the scaling configuration was created.', 'type' => 'string', 'example' => '2014-08-14T10:58Z', 'title' => ''],
'ScalingConfigurationName' => ['description' => 'The name of the scaling configuration.', 'type' => 'string', 'example' => 'scalingconfigura****', 'title' => ''],
'SystemDiskDescription' => ['description' => 'The description of the system cloud disk.', 'type' => 'string', 'example' => 'Test system disk.', 'title' => ''],
'KeyPairName' => ['description' => 'The name of the key pair used to log on to the ECS instance.', 'type' => 'string', 'example' => 'keypair****', 'title' => ''],
'SecurityGroupId' => ['description' => 'The ID of the security group to which the ECS instance belongs. ECS instances in the same security group can access each other.', 'type' => 'string', 'example' => 'sg-bp18kz60mefs****', 'title' => ''],
'PrivatePoolOptions.Id' => ['description' => 'The ID of the private pool. The ID of an elasticity assurance or a capacity reservation.', 'type' => 'string', 'example' => 'eap-bp67acfmxazb4****', 'title' => ''],
'SystemDiskAutoSnapshotPolicyId' => ['description' => 'The ID of the automatic snapshot policy applied to the system cloud disk.', 'type' => 'string', 'example' => 'sp-bp12m37ccmxvbmi5****', 'title' => ''],
'SpotStrategy' => ['description' => 'The preemption strategy for pay-as-you-go instances. Valid values:'."\n"
.' '."\n"
.'- NoSpot: a regular pay-as-you-go instance.'."\n"
.'- SpotWithPriceLimit: a spot instance with a user-defined maximum hourly price.'."\n"
.'- SpotAsPriceGo: a spot instance priced at the market price at the time of purchase.', 'type' => 'string', 'example' => 'NoSpot', 'title' => ''],
'ScalingGroupId' => ['description' => 'The ID of the scaling group to which the scaling configuration belongs.', 'type' => 'string', 'example' => 'asg-bp17pelvl720x3v7****', 'title' => ''],
'Affinity' => ['description' => 'Specifies whether the instance on a dedicated host is associated with the dedicated host. Valid values:'."\n"
."\n"
.'- default: The instance is not associated with the dedicated host. When an instance that has the economical mode enabled is restarted, the instance may be placed on another dedicated host in the automatic deployment resource pool if the resources of the original dedicated host are insufficient.'."\n"
."\n"
.'- host: The instance is associated with the dedicated host. When an instance that has the economical mode enabled is restarted, the instance remains on the original dedicated host. If the resources of the original dedicated host are insufficient, the instance fails to restart.', 'type' => 'string', 'example' => 'default', 'title' => ''],
'Tenancy' => ['description' => 'Specifies whether to create the instance on a dedicated host. Valid values:'."\n"
."\n"
.'- default: The instance is not created on a dedicated host.'."\n"
."\n"
.'- host: The instance is created on a dedicated host. If you do not specify DedicatedHostId, Alibaba Cloud automatically selects a dedicated host for the instance.', 'type' => 'string', 'example' => 'default', 'title' => ''],
'SystemDiskSize' => ['description' => 'The size of the system cloud disk. Unit: GiB.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'Ipv6AddressCount' => ['description' => 'The number of randomly generated IPv6 addresses allocated to the network interface controller (NIC).', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'SpotDuration' => ['description' => 'The retention period of the spot instance. Unit: hours.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'LifecycleState' => ['description' => 'The status of the scaling configuration in the scaling group. Valid values:'."\n"
."\n"
.'- Active: The scaling configuration is active. The scaling group uses the active scaling configuration for automatic creation of ECS instances.'."\n"
.'- Inacitve: The scaling configuration is inactive. Inactive scaling configurations are retained in the scaling group, but the scaling group does not use them for automatic creation of ECS instances.', 'type' => 'string', 'example' => 'Active', 'title' => ''],
'InstanceName' => ['description' => 'The name of the ECS instance.', 'type' => 'string', 'example' => 'instance****', 'title' => ''],
'SecurityEnhancementStrategy' => ['description' => 'Specifies whether security hardening is enabled. Valid values:'."\n"
."\n"
.'- Active: Security hardening is enabled. This value is applicable only to public images.'."\n"
.'- Deactive: Security hardening is disabled. This value is applicable to all image types.', 'type' => 'string', 'example' => 'Active', 'title' => ''],
'UserData' => ['description' => 'The user data of the ECS instance, which is encoded in Base64.', 'type' => 'string', 'example' => 'echo hello ecs!', 'title' => ''],
'PrivatePoolOptions.MatchCriteria' => ['description' => 'The private pool capacity option for instance startup. A private pool is generated after an elasticity assurance or a capacity reservation takes effect. You can select a private pool when you start an instance. Valid values:'."\n"
."\n"
.'- Open: open mode. The system automatically matches an open private pool. If no matching private pool is available, the public pool is used to start the instance.'."\n"
."\n"
.'- Target: specified mode. A specified private pool is used to start the instance. If the specified private pool is unavailable, the instance fails to start.'."\n"
."\n"
.'- None: none mode. No private pool is used to start the instance.', 'type' => 'string', 'example' => 'Open', 'title' => ''],
'DedicatedHostId' => ['description' => 'Specifies whether to create the ECS instance on a dedicated host. Because dedicated hosts do not support the creation of spot instances, the SpotStrategy and SpotPriceLimit settings are automatically ignored when DedicatedHostId is specified.'."\n"
."\n"
.'You can call [DescribeDedicatedHosts](~~134242~~) to query the list of dedicated host IDs.', 'type' => 'string', 'example' => 'dh-bp67acfmxazb4p****', 'title' => ''],
'InstanceGeneration' => ['description' => 'The generation of the ECS instance.', 'type' => 'string', 'example' => 'ecs-3', 'title' => ''],
'HpcClusterId' => ['description' => 'The ID of the HPC cluster to which the ECS instance belongs.', 'type' => 'string', 'example' => 'hpc-clus****', 'title' => ''],
'PasswordInherit' => ['description' => 'Specifies whether to use the password preset in the image.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Memory' => ['description' => 'The memory size. Unit: GiB.'."\n"
."\n"
.'You can specify both CPU and Memory to define the range of instance types. For example, you can set CPU to 2 and Memory to 16 to define all instance types that have 2 vCPUs and 16 GiB of memory. Auto Scaling determines the set of available instance types based on factors such as I/O optimization and zones, and then creates instances at the lowest price.'."\n"
."\n"
.'> This setting takes effect only when the cost optimization mode is enabled and no instance type is specified in the scaling configuration.', 'type' => 'integer', 'format' => 'int32', 'example' => '16', 'title' => ''],
'ImageId' => ['description' => 'The ID of the image file used for automatic creation of instances.', 'type' => 'string', 'example' => 'centos6u5_64_20G_aliaegis_2014****.vhd', 'title' => ''],
'ImageFamily' => ['description' => 'The name of the image family. You can set this parameter to obtain the latest available image from the specified image family for instance creation. If ImageId is already specified, this parameter cannot be set.', 'type' => 'string', 'example' => 'hangzhou-daily-update', 'title' => ''],
'ImageOwnerAlias' => ['description' => 'The source of the image. Valid values:'."\n"
.'- system: a public image provided by Alibaba Cloud.'."\n"
.'- self: a custom image that you created.'."\n"
.'- others: a shared image or community image from other Alibaba Cloud accounts.'."\n"
.'- marketplace: an image from Alibaba Cloud Marketplace.', 'type' => 'string', 'example' => 'system', 'title' => ''],
'LoadBalancerWeight' => ['description' => 'The weight of the ECS instance as a backend server. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'SystemDiskCategory' => ['description' => 'The category of the system cloud disk. Valid values:'."\n"
."\n"
.'- cloud: basic cloud disk.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- ephemeral_ssd: local SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
.'- cloud_auto: ESSD AutoPL cloud disk.', 'type' => 'string', 'example' => 'cloud', 'title' => ''],
'HostName' => ['description' => 'The hostname of the ECS instance.', 'type' => 'string', 'example' => 'LocalHost', 'title' => ''],
'SystemDiskName' => ['description' => 'The name of the system cloud disk.', 'type' => 'string', 'example' => 'cloud_ssd_Test', 'title' => ''],
'InternetMaxBandwidthOut' => ['description' => 'The maximum outbound public bandwidth. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'InternetMaxBandwidthIn' => ['description' => 'The maximum inbound public bandwidth. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'InstanceType' => ['description' => 'The instance type of the ECS instance.', 'type' => 'string', 'example' => 'ecs.g6.large', 'title' => ''],
'InstanceDescription' => ['description' => 'The description of the ECS instance.', 'type' => 'string', 'example' => 'FinanceDept', 'title' => ''],
'IoOptimized' => ['description' => 'Indicates whether the instance is an I/O optimized instance. Valid values:'."\n"
."\n"
.'- none: non-I/O optimization.'."\n"
.'- optimized: I/O optimization.', 'type' => 'string', 'example' => 'none', 'title' => ''],
'RamRoleName' => ['description' => 'The name of the RAM role associated with the ECS instance. The RAM role is provided and maintained by RAM. You can call [ListRoles](~~28713~~) to query available RAM roles. For information about how to create a RAM role, see [CreateRole](~~28710~~).', 'type' => 'string', 'example' => 'ramrole****', 'title' => ''],
'SystemDiskPerformanceLevel' => ['description' => 'The performance level (PL) of the system cloud disk when the system cloud disk is an ESSD.', 'type' => 'string', 'example' => 'PL1', 'title' => ''],
'Cpu' => ['description' => 'The number of vCPUs.'."\n"
."\n"
.'You can specify both CPU and Memory to define the range of instance types. For example, you can set CPU to 2 and Memory to 16 to define all instance types that have 2 vCPUs and 16 GiB of memory. Auto Scaling determines the set of available instance types based on factors such as I/O optimization and zones, and then creates instances at the lowest price.'."\n"
."\n"
.'> This setting takes effect only when the cost optimization mode is enabled and no instance type is specified in the scaling configuration.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'ResourceGroupId' => ['description' => 'The ID of the resource group to which the ECS instance belongs.', 'type' => 'string', 'example' => 'rg-aekzn2ou7xo****', 'title' => ''],
'ZoneId' => ['description' => 'The zone ID of the instance. You can call [DescribeZones](~~25610~~) to query the list of available zones.', 'type' => 'string', 'example' => 'cn-hangzhou-g', 'title' => ''],
'InternetChargeType' => ['description' => 'The billing method for network usage. Valid values:'."\n"
."\n"
.'- PayByBandwidth: pay-by-bandwidth. The value of InternetMaxBandwidthOut is the fixed bandwidth value.'."\n"
.'- PayByTraffic: pay-by-traffic. The value of InternetMaxBandwidthOut is the bandwidth upper limit. Billing is based on the actual network traffic.', 'type' => 'string', 'example' => 'PayByTraffic', 'title' => ''],
'ImageName' => ['description' => 'The name of the image file.', 'type' => 'string', 'example' => 'centos6u5_64_20G_aliaegis_20140703.vhd', 'title' => ''],
'ScalingConfigurationId' => ['description' => 'The ID of the scaling configuration.', 'type' => 'string', 'example' => 'asc-bp1ezrfgoyn5kijl****', 'title' => ''],
'CreditSpecification' => ['description' => 'The running mode of the burstable instance. Valid values:'."\n"
.'- Standard: standard mode. For more information, see the performance constrained mode section in [What are burstable instances?](~~59977~~).'."\n"
.'- Unlimited: unlimited mode. For more information, see the unlimited mode section in [What are burstable instances?](~~59977~~).', 'type' => 'string', 'example' => 'Standard', 'title' => ''],
'SpotInterruptionBehavior' => ['description' => 'The interruption pattern of the spot instance.', 'type' => 'string', 'example' => 'Terminate', 'title' => ''],
'DataDisks' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'DataDisk' => [
'description' => 'The collection of data cloud disk information.',
'type' => 'array',
'items' => [
'description' => 'The collection of data cloud disk information.',
'type' => 'object',
'properties' => [
'PerformanceLevel' => ['description' => 'The performance level (PL) of the data cloud disk when the data cloud disk is an ESSD.', 'type' => 'string', 'example' => 'PL1', 'title' => ''],
'Description' => ['description' => 'The description of the data cloud disk.', 'type' => 'string', 'example' => 'FinanceDept', 'title' => ''],
'SnapshotId' => ['description' => 'The ID of the snapshot used to create the data cloud disk.', 'type' => 'string', 'example' => 's-23f2i****', 'title' => ''],
'Device' => ['description' => 'The mount point of the data cloud disk.', 'type' => 'string', 'example' => '/dev/xvdb', 'title' => ''],
'Size' => ['description' => 'The size of the data cloud disk. Unit: GiB. Valid values:'."\n"
."\n"
.'- cloud: 5 to 2000.'."\n"
.'- cloud_efficiency: 20 to 32768.'."\n"
.'- cloud_ssd: 20 to 32768.'."\n"
.'- cloud_essd: 20 to 32768.'."\n"
.'- ephemeral_ssd: 5 to 800.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''],
'DiskName' => ['description' => 'The name of the data cloud disk.', 'type' => 'string', 'example' => 'cloud_ssdData', 'title' => ''],
'AutoSnapshotPolicyId' => ['description' => 'The ID of the automatic snapshot policy applied to the data cloud disk.', 'type' => 'string', 'example' => 'sp-bp19nq9enxqkomib****', 'title' => ''],
'Category' => ['description' => 'The category of the data cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk. The DeleteWithInstance property of a basic cloud disk created along with the instance is set to true.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
.'- ephemeral_ssd: local SSD.'."\n"
.'- cloud_auto: ESSD AutoPL cloud disk.'."\n"
.'- cloud_regional_disk_auto: regional ESSD.', 'type' => 'string', 'example' => 'cloud', 'title' => ''],
'KMSKeyId' => ['description' => 'The ID of the KMS key for the data cloud disk.', 'type' => 'string', 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', 'title' => ''],
'DeleteWithInstance' => ['description' => 'Indicates whether the data cloud disk is released when the instance is released. Valid values:'."\n"
."\n"
.'- true: The data cloud disk is released when the instance is released.'."\n"
.'- false: The data cloud disk is retained when the instance is released.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Encrypted' => ['description' => 'Indicates whether the data cloud disk is encrypted. Valid values:'."\n"
."\n"
.'- true: encrypted.'."\n"
.'- false: not encrypted.', 'type' => 'string', 'example' => 'false', 'title' => ''],
'Categories' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Category' => [
'description' => 'The multiple disk types of the data cloud disk. The first disk type has the highest priority, and the priority decreases in order. When a higher-priority disk type is unavailable, Auto Scaling automatically attempts the next-priority disk type to create the data cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk. The DeleteWithInstance property of a basic cloud disk created along with the instance is set to true.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
.'- ephemeral_ssd: local SSD.'."\n"
.'- cloud_auto: ESSD AutoPL cloud disk.'."\n"
.'- cloud_regional_disk_auto: regional ESSD.',
'type' => 'array',
'items' => ['description' => 'The multiple disk types of the data cloud disk. The first disk type has the highest priority, and the priority decreases in order. When a higher-priority disk type is unavailable, Auto Scaling automatically attempts the next-priority disk type to create the data cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk. The DeleteWithInstance property of a basic cloud disk created along with the instance is set to true.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.', 'type' => 'string', 'example' => 'cloud_essd', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'ProvisionedIops' => ['description' => 'The provisioned IOPS (Input/Output Operations Per Second) performance metrics of the data cloud disk.'."\n"
."\n"
.'> IOPS refers to the number of I/O operations that a block storage device can process per second.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'BurstingEnabled' => ['description' => 'Indicates whether the Burst (performance burst) feature is enabled for the data cloud disk. Valid values:'."\n"
.'- true: enabled.'."\n"
.'- false: not enabled.'."\n"
."\n"
.'> This parameter is returned only when DataDisk.Category is set to cloud_auto.'."\n"
."\n"
.'<props="china">For more information, see [ESSD AutoPL cloud disks](~~368372~~).</props>', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'Tags' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Tag' => [
'description' => 'The collection of tag information.',
'type' => 'array',
'items' => [
'description' => 'The collection of tag information.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key of the instance. Valid values of N: 1 to 20.'."\n"
."\n"
.'The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. The tag key cannot contain `http://` or `https://`.', 'type' => 'string', 'example' => 'binary', 'title' => ''],
'Value' => ['description' => 'The tag value of the instance. Valid values of N: 1 to 20.'."\n"
."\n"
.'The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with `acs:`. The tag value cannot contain `http://` or `https://`.', 'type' => 'string', 'example' => 'alterTable', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'SpotPriceLimit' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'SpotPriceModel' => [
'description' => 'The collection of spot instance information.',
'type' => 'array',
'items' => [
'description' => 'The collection of spot instance information.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'The instance type of the spot instance.', 'type' => 'string', 'example' => 'ecs.g6.large', 'title' => ''],
'PriceLimit' => ['description' => 'The price limit of the spot instance.', 'type' => 'number', 'format' => 'float', 'example' => '0.125', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'InstancePatternInfos' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'InstancePatternInfo' => [
'description' => 'The collection of intelligent configuration information used to filter instance types that meet the specified requirements.',
'type' => 'array',
'items' => [
'description' => 'The collection of intelligent configuration information used to filter instance types that meet the specified requirements.',
'type' => 'object',
'properties' => [
'MaxPrice' => ['description' => 'The maximum hourly price for pay-as-you-go or spot instances.', 'type' => 'number', 'format' => 'float', 'example' => '2', 'title' => ''],
'Cores' => ['description' => 'The number of vCPU cores of the instance type.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'Memory' => ['description' => 'The memory size of the instance type. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'example' => '4', 'title' => ''],
'InstanceFamilyLevel' => ['description' => 'The level of the instance family.'."\n"
."\n"
.'- EntryLevel: entry level, which refers to shared instance types. These instance types are more cost-effective but do not guarantee stable computing performance. They are suitable for scenarios with low CPU utilization. For more information, see [Shared instance families](~~108489~~).'."\n"
.'- EnterpriseLevel: enterprise level. These instance types provide stable performance and dedicated resources. They are suitable for scenarios that require high stability. For more information, see [Instance families](~~25378~~).'."\n"
.'- CreditEntryLevel: credit entry level, which refers to burstable instances. These instance types use CPU credits to ensure computing performance. They are suitable for scenarios with low average CPU utilization and occasional bursts. For more information, see [Burstable instances](~~59977~~).', 'type' => 'string', 'example' => 'EnterpriseLevel', 'title' => ''],
'Architectures' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Architecture' => [
'description' => 'The architecture type of the instance type. Valid values:'."\n"
."\n"
.'- X86: x86 computing.'."\n"
.'- Heterogeneous: heterogeneous computing, such as GPU or FPGA.'."\n"
.'- BareMental: ECS Bare Metal Instance server.'."\n"
.'- Arm: Arm computing.'."\n"
."\n"
.'Default value: all architecture types.',
'type' => 'array',
'items' => ['description' => 'The architecture type of the instance type. Valid values:'."\n"
."\n"
.'- X86: x86 computing.'."\n"
.'- Heterogeneous: heterogeneous computing, such as GPU or FPGA.'."\n"
.'- BareMental: ECS Bare Metal Instance server.'."\n"
.'- Arm: Arm computing.'."\n"
."\n"
.'Default value: all architecture types.', 'type' => 'string', 'example' => 'X86', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'BurstablePerformance' => ['description' => 'Specifies whether burstable instance types are included. Valid values:'."\n"
."\n"
.'- Exclude: Burstable instance types are excluded.'."\n"
.'- Include: Burstable instance types are included.'."\n"
.'- Required: Only burstable instance types are included.'."\n"
."\n"
.'Default value: Include.', 'type' => 'string', 'example' => 'Include', 'title' => ''],
'ExcludedInstanceTypes' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ExcludedInstanceType' => [
'description' => 'The instance types to exclude. You can use wildcard characters (*) to exclude a single instance type or an entire instance family. Examples:'."\n"
."\n"
.'- ecs.c6.large: excludes the ecs.c6.large instance type.'."\n"
.'- ecs.c6.*: excludes the entire c6 instance family.',
'type' => 'array',
'items' => ['description' => 'The instance types to exclude. You can use wildcard characters (*) to exclude a single instance type or an entire instance family. Examples:'."\n"
."\n"
.'- ecs.c6.large: excludes the ecs.c6.large instance type.'."\n"
.'- ecs.c6.*: excludes the entire c6 instance family.', 'type' => 'string', 'example' => 'ecs.n1.small/ecs.n1.*/*7*', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'InstanceTypeFamilies' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'InstanceTypeFamily' => [
'description' => 'The instance families to query. N indicates that you can specify multiple instance families. Valid values of N: 1 to 10.',
'type' => 'array',
'items' => ['description' => 'The instance families to query. N indicates that you can specify multiple instance families. Valid values of N: 1 to 10.', 'type' => 'string', 'example' => 'ecs.g6', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'MinimumCpuCoreCount' => ['description' => 'The minimum number of vCPU cores of the instance type.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'MaximumCpuCoreCount' => ['description' => 'The maximum number of vCPU cores of the instance type.'."\n"
.'> The value of MaximumCpuCoreCount cannot exceed four times the value of MinimumCpuCoreCount.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
'GpuSpecs' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'GpuSpec' => [
'description' => 'The GPU type.',
'type' => 'array',
'items' => ['description' => 'The GPU type.', 'type' => 'string', 'example' => 'NVIDIA V100', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'InstanceCategories' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'InstanceCategory' => [
'description' => 'The instance type category.',
'type' => 'array',
'items' => ['description' => 'The instance categorization. Valid values:'."\n"
.'>N specifies that you can configure multiple instance categories. Valid values of N: 1 to 10.'."\n"
."\n"
.'- General-purpose: general-purpose.'."\n"
.'- Compute-optimized: compute-optimized.'."\n"
.'- Memory-optimized: memory-optimized.'."\n"
.'- Big data: big data.'."\n"
.'- Local SSDs: local SSD.'."\n"
.'- High Clock Speed: high frequency.'."\n"
.'- Enhanced: enhanced.'."\n"
.'- Shared: shared.'."\n"
.'- Compute-optimized with GPU: GPU computing.'."\n"
.'- Visual Compute-optimized: visual compute-optimized.'."\n"
.'- Heterogeneous Service: heterogeneous service.'."\n"
.'- Compute-optimized with FPGA: FPGA-accelerated compute-optimized.'."\n"
.'- Compute-optimized with NPU: NPU-accelerated compute-optimized.'."\n"
.'- ECS Bare Metal: ECS Bare Metal Instance server.'."\n"
.'- High Performance Compute: high-performance computing (HPC).', 'type' => 'string', 'example' => 'Compute-optimized with GPU', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'CpuArchitectures' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'CpuArchitecture' => [
'description' => 'The CPU architecture of the instance type.',
'type' => 'array',
'items' => ['description' => 'The CPU architecture of the instance type. Valid values:'."\n"
.'> N indicates that you can specify multiple CPU architectures. Valid values of N: 1 to 2.'."\n"
."\n"
.'- X86.'."\n"
.'- ARM.', 'type' => 'string', 'example' => 'X86', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'PhysicalProcessorModels' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'PhysicalProcessorModel' => [
'description' => 'The processor model of the instance. N indicates that you can specify multiple processor models. Valid values of N: 1 to 10.',
'type' => 'array',
'items' => ['description' => 'The processor model of the instance. N indicates that you can specify multiple processor models. Valid values of N: 1 to 10.', 'type' => 'string', 'example' => 'Intel Xeon(Ice Lake) Platinum 8369B", "Intel Xeon(Skylake) Platinum 8163", … "Intel Xeon(Cascade Lake) Platinum 8269CY', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'MinimumEniQuantity' => ['description' => 'The minimum number of network interface controllers (NICs) that the instance supports.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'MinimumEniPrivateIpAddressQuantity' => ['description' => 'The expected minimum number of IPv4 addresses per network interface controller (NIC) on the instance.'."\n"
.'[_single.resp.200.props.ScalingConfigurations.ScalingConfiguration.items.InstancePatternInfos.InstancePatternInfo.items.Minimum', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'MinimumEniIpv6AddressQuantity' => ['description' => 'The maximum number of IPv6 addresses supported by the minimum number of elastic network interfaces (ENIs) per instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'MinimumInitialCredit' => ['description' => 'The minimum initial vCPU credit value for burstable instances (t5 and t6).', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''],
'MinimumBaselineCredit' => ['description' => 'The minimum baseline vCPU computing performance (sum of all vCPUs) for burstable instances (t5 and t6).', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''],
'MinimumMemorySize' => ['description' => 'The minimum memory size of the instance. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'example' => '4', 'title' => ''],
'MaximumMemorySize' => ['description' => 'The maximum memory size of the instance. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'example' => '4', 'title' => ''],
'MinimumGpuAmount' => ['description' => 'The minimum number of GPUs of the instance. Valid values: positive integers.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'MaximumGpuAmount' => ['description' => 'The maximum number of GPUs of the instance. Valid values: positive integers.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'SystemDiskCategories' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'SystemDiskCategory' => [
'description' => 'The multiple disk types of the system cloud disk. The first disk type has the highest priority, and the priority decreases in order. When a higher-priority disk type is unavailable, Auto Scaling automatically attempts the next-priority disk type to create the system cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.',
'type' => 'array',
'items' => ['description' => 'The multiple disk types of the system cloud disk. The first disk type has the highest priority, and the priority decreases in order. When a higher-priority disk type is unavailable, Auto Scaling automatically attempts the next-priority disk type to create the system cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.', 'type' => 'string', 'example' => 'cloud', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'WeightedCapacities' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'WeightedCapacity' => [
'description' => 'The weight of the specified instance type, which indicates the capacity of a single instance of this type in the scaling group. A higher weight means fewer instances of this type are required to meet the expected capacity.',
'type' => 'array',
'items' => ['description' => 'The weight of the specified instance type, which indicates the capacity of a single instance of this type in the scaling group. A higher weight means fewer instances of this type are required to meet the expected capacity.', 'type' => 'string', 'example' => '4', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'InstanceTypes' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'InstanceType' => [
'description' => 'The collection of instance types of the ECS instance.',
'type' => 'array',
'items' => ['description' => 'The collection of instance types of the ECS instance.', 'type' => 'string', 'example' => 'ecs.g6.large', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'SecurityGroupIds' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'SecurityGroupId' => [
'description' => 'The IDs of the multiple security groups to which the ECS instance belongs. ECS instances in the same security group can access each other.',
'type' => 'array',
'items' => ['description' => 'The IDs of the multiple security groups to which the ECS instance belongs. ECS instances in the same security group can access each other.', 'type' => 'string', 'example' => 'sg-bp18kz60mefs****', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'SchedulerOptions' => [
'description' => 'The scheduling options.',
'type' => 'object',
'properties' => [
'ManagedPrivateSpaceId' => ['description' => 'The intelligent fully managed resource pool.', 'type' => 'string', 'example' => 'testManagedPrivateSpaceId', 'title' => ''],
],
'title' => '',
'example' => '',
],
'SystemDisk.Encrypted' => ['description' => 'Indicates whether the system cloud disk is encrypted. Valid values:'."\n"
.'- true: encrypted.'."\n"
.'- false: not encrypted.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'SystemDisk.KMSKeyId' => ['description' => 'The ID of the KMS key used for the system cloud disk.'."\n"
.'[_single.resp.200.props.ScalingConfigurations.ScalingConfiguration.items.SystemD', 'type' => 'string', 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', 'title' => ''],
'SystemDisk.EncryptAlgorithm' => ['description' => 'The encryption algorithm used for the system cloud disk. Valid values:'."\n"
.'- AES-256.'."\n"
.'- SM4-128.', 'type' => 'string', 'example' => 'AES-256', 'title' => ''],
'SystemDisk.ProvisionedIops' => ['description' => 'The provisioned IOPS (Input/Output Operations Per Second) performance metrics of the system cloud disk.'."\n"
."\n"
.'> IOPS (Input/Output Operations Per Second) refers to the number of I/O operations that can be processed per second, indicating the read/write capability of block storage.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'SystemDisk.BurstingEnabled' => ['description' => 'Indicates whether the burst feature is enabled for the system cloud disk. Valid values:'."\n"
."\n"
.'- true: Enabled.'."\n"
.'- false: Not enabled.'."\n"
."\n"
.'> This parameter is supported only when SystemDisk.Category is set to cloud_auto.'."\n"
."\n"
.'<props="china">For more information, see [ESSD AutoPL cloud disks](~~368372~~).</props>', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'ImageOptions.LoginAsNonRoot' => ['description' => 'Indicates whether the ECS instance uses the ecs-user user for logon. Valid values:'."\n"
."\n"
.'- true: Yes.'."\n"
.'- false: No.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'DeletionProtection' => ['description' => 'The release protection property of the ECS instance. This property applies only to pay-as-you-go instances and specifies whether the instance can be directly released from the ECS console or by calling the DeleteInstance operation. Valid values:'."\n"
."\n"
.'- true: Release protection is enabled. The instance cannot be directly released from the ECS console or by calling the API operation. This prevents instances that are scaled out by Auto Scaling from being accidentally deleted.'."\n"
."\n"
.'- false: Release protection is disabled. The instance can be directly released from the ECS console or by calling the API operation.'."\n"
."\n"
.'> This property does not affect normal scale-in activities. When a scale-in activity occurs, pay-as-you-go instances with release protection enabled can still be released.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'StorageSetId' => ['description' => 'The ID of the storage set.', 'type' => 'string', 'example' => 'ss-bp67acfmxazb4p****', 'title' => ''],
'StorageSetPartitionNumber' => ['description' => 'The maximum number of partitions in the storage set. The value must be an integer that is greater than or equal to 2.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'CustomPriorities' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'CustomPriority' => [
'description' => 'The custom priority of the **ECS instance type + vSwitch** combination.'."\n"
."\n"
.'> This parameter takes effect only when the ``scaling policy`` of the scaling group is set to `Priority`.'."\n"
."\n"
.'When Auto Scaling cannot create ECS instances by using the **ECS instance type + vSwitch** combination with a higher priority, Auto Scaling automatically uses the **ECS instance type + vSwitch** combination with the next priority to create ECS instances.'."\n"
."\n"
.'> If you specify custom priorities for only some **ECS instance type + vSwitch** combinations, the unspecified combinations have lower priorities than the specified ones. The unspecified combinations are still prioritized based on the vSwitch order of the scaling group and the instance type order of the scaling configuration. For example, if the vSwitch order of the scaling group is vsw1 and vsw2, the instance type order of the scaling configuration is type1 and type2, and the custom priority order is `["vsw2+type2", "vsw1+type2"]`, the final priority is `vsw2+type2` > `vsw1+type2` > `vsw1+type1` > `vsw2+type1`.',
'type' => 'array',
'items' => [
'description' => 'The custom priority of the **ECS instance type + vSwitch** combination.'."\n"
."\n"
.'><notice>This parameter takes effect only when the ``scaling policy`` of the scaling group is set to `Priority`.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'The instance type of the ECS instance.'."\n"
.'> The instance type must be included in the instance type list of the scaling configuration.', 'type' => 'string', 'example' => 'ecs.g6.large', 'title' => ''],
'VswitchId' => ['description' => 'The ID of the vSwitch.'."\n"
.'> The vSwitch must be included in the vSwitch list of the scaling group.', 'type' => 'string', 'example' => 'vsw-bp14zolna43z266bq****', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'NetworkInterfaces' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'NetworkInterface' => [
'description' => 'The list of elastic network interfaces (ENIs).',
'type' => 'array',
'items' => [
'description' => 'The list of elastic network interfaces (ENIs).',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'The type of the elastic network interfaces (ENIs). Valid values:'."\n"
."\n"
.'- Primary: primary network interface controller (NIC).'."\n"
."\n"
.'- Secondary: secondary elastic network interfaces (ENIs).', 'type' => 'string', 'example' => 'Primary', 'title' => ''],
'NetworkInterfaceTrafficMode' => ['description' => 'The communication pattern of the elastic network interfaces (ENIs). Valid values:'."\n"
."\n"
.'- Standard: uses the TCP communication pattern.'."\n"
.'- HighPerformance: enables the Elastic RDMA Interface (ERI) on the network interface controller (NIC) and uses the RDMA communication pattern.', 'type' => 'string', 'example' => 'HighPerformance', 'title' => ''],
'Ipv6AddressCount' => ['description' => 'The number of randomly generated IPv6 addresses allocated to the primary ENI.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'SecurityGroupIds' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'SecurityGroupId' => [
'description' => 'The IDs of one or more security groups to which the elastic network interfaces (ENIs) belong. The network interface controller (NIC) can belong to multiple security groups.',
'type' => 'array',
'items' => ['description' => 'The IDs of one or more security groups to which the elastic network interfaces (ENIs) belong. The network interface controller (NIC) can belong to multiple security groups.', 'type' => 'string', 'example' => 'sg-2vc3e1v7h****', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'SecondaryPrivateIpAddressCount' => ['description' => 'The number of secondary private IPv4 addresses assigned to the ENI. Valid values: 1 to 49.'."\n"
."\n"
.'- The value cannot exceed the IP address limit for the instance type. For more information, see [Instance families](~~25378~~).'."\n"
.'- NetworkInterface.N.SecondaryPrivateIpAddressCount specifies the number of secondary private IPv4 addresses assigned to the ENI (excluding the primary private IP address of the ENI). The system randomly assigns IP addresses from the available CIDR block of the vSwitch (NetworkInterface.N.VSwitchId) associated with the ENI.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'DedicatedHostClusterId' => ['description' => 'The ID of the dedicated host cluster.', 'type' => 'string', 'example' => 'dc-2zedxc67zqzt7lb4****', 'title' => ''],
'PasswordSetted' => ['description' => 'Indicates whether a password is set for the instance. Valid values:'."\n"
."\n"
.'- true: A password is set.'."\n"
.'- false: No password is set.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'SecurityOptions' => [
'description' => 'The security options.',
'type' => 'object',
'properties' => [
'ConfidentialComputingMode' => ['description' => 'The confidential computing mode. Valid values:'."\n"
.'- Enclave: The ECS instance uses Enclave to build a confidential computing environment. For more information, see [Build a confidential computing environment by using Enclave](~~203433~~).'."\n"
.'- TDX: builds a TDX confidential computing environment. For more information, see [Build a TDX confidential computing environment](~~479090~~).', 'type' => 'string', 'example' => 'TDX', 'title' => ''],
],
'title' => '',
'example' => '',
],
'HttpEndpoint' => ['description' => 'Indicates whether the access channel for instance metadata is enabled. Valid values:'."\n"
."\n"
.'- enabled: Enabled.'."\n"
.'- disabled: Disabled.', 'type' => 'string', 'example' => 'enabled', 'title' => ''],
'HttpTokens' => ['description' => 'Indicates whether the China mode (IMDSv2) is forcefully used to access instance metadata. Valid values:'."\n"
."\n"
.'- optional: Not forcefully used.'."\n"
.'- required: Forcefully used. After this value is set, instance metadata cannot be accessed in normal mode.', 'type' => 'string', 'example' => 'optional', 'title' => ''],
'ResourcePoolOptions' => [
'description' => 'The resource pool policy used when instances are created.'."\n"
."\n"
.'- This parameter takes effect only when pay-as-you-go instances are created.',
'type' => 'object',
'properties' => [
'Strategy' => ['description' => 'Resource pools include private pools generated after elasticity assurance or capacity reservation takes effect, and public pools. You can select a resource pool when instances are started. Valid values:'."\n"
."\n"
.'- PrivatePoolFirst: private pool first. If ResourcePoolOptions.PrivatePoolIds is specified or the PrivatePoolTags conditions are met, the corresponding private pool is used first. If no private pool is specified or the specified private pool has insufficient capacity, open-type private pools are automatically matched. If no matching private pool is available, the public pool is used to create instances.'."\n"
."\n"
.'- PrivatePoolOnly: private pool only. ResourcePoolOptions.PrivatePoolIds must be specified. If the specified private pool has insufficient capacity, the instance fails to start.'."\n"
."\n"
.'- PublicPoolFirst: public pool first. The public pool is used first to create instances. When public pool resources are insufficient, private pool resources are used as a supplement. Open-type private pools are automatically matched first. If no matching private pool is available, the Target-type private pools specified by ResourcePoolOptions.PrivatePoolIds or matching the PrivatePoolTags conditions are used.'."\n"
."\n"
.'- None: no resource pool policy is used.'."\n"
."\n"
.'Default value: None.', 'type' => 'string', 'example' => 'PrivatePoolFirst', 'title' => ''],
'PrivatePoolIds' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'PrivatePoolId' => [
'description' => 'The private pool ID, which is the elasticity assurance ID or capacity reservation ID. This parameter cannot be specified together with the PrivatePoolTags parameter.',
'type' => 'array',
'items' => ['description' => 'The private pool ID, which is the elasticity assurance ID or capacity reservation ID. This parameter cannot be specified together with the PrivatePoolTags parameter.', 'type' => 'string', 'example' => 'eap-bp67acfmxazb4****', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'PrivatePoolTags' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'PrivatePoolTag' => [
'description' => 'Filters available Target private pools by tag.',
'type' => 'array',
'items' => [
'description' => 'Filters available Target private pools by tag.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key of the private pool.'."\n"
."\n"
.'Filters available Target private pools by tag.', 'type' => 'string', 'example' => 'TestKey', 'title' => ''],
'Value' => ['description' => 'The tag value of the private pool.', 'type' => 'string', 'example' => 'TestValue', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'CpuOptions' => [
'description' => 'The CPU options.',
'type' => 'object',
'properties' => [
'NestedVirtualization' => ['description' => 'Indicates whether hardware-based nested virtualization is enabled. Valid values:'."\n"
."\n"
.'* enabled: Enabled.'."\n"
.'* disabled: Not enabled.', 'type' => 'string', 'example' => 'enabled', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 50,\\n \\"TotalCount\\": 1,\\n \\"ScalingConfigurations\\": {\\n \\"ScalingConfiguration\\": [\\n {\\n \\"DeploymentSetId\\": \\"ds-bp1frxuzdg87zh4p****\\",\\n \\"CreationTime\\": \\"2014-08-14T10:58Z\\",\\n \\"ScalingConfigurationName\\": \\"scalingconfigura****\\",\\n \\"SystemDiskDescription\\": \\"Test system disk.\\",\\n \\"KeyPairName\\": \\"keypair****\\",\\n \\"SecurityGroupId\\": \\"sg-bp18kz60mefs****\\",\\n \\"PrivatePoolOptions.Id\\": \\"eap-bp67acfmxazb4****\\",\\n \\"SystemDiskAutoSnapshotPolicyId\\": \\"sp-bp12m37ccmxvbmi5****\\",\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"ScalingGroupId\\": \\"asg-bp17pelvl720x3v7****\\",\\n \\"Affinity\\": \\"default\\",\\n \\"Tenancy\\": \\"default\\",\\n \\"SystemDiskSize\\": 100,\\n \\"Ipv6AddressCount\\": 1,\\n \\"SpotDuration\\": 1,\\n \\"LifecycleState\\": \\"Active\\",\\n \\"InstanceName\\": \\"instance****\\",\\n \\"SecurityEnhancementStrategy\\": \\"Active\\",\\n \\"UserData\\": \\"echo hello ecs!\\",\\n \\"PrivatePoolOptions.MatchCriteria\\": \\"Open\\",\\n \\"DedicatedHostId\\": \\"dh-bp67acfmxazb4p****\\",\\n \\"InstanceGeneration\\": \\"ecs-3\\",\\n \\"HpcClusterId\\": \\"hpc-clus****\\",\\n \\"PasswordInherit\\": true,\\n \\"Memory\\": 16,\\n \\"ImageId\\": \\"centos6u5_64_20G_aliaegis_2014****.vhd\\",\\n \\"ImageFamily\\": \\"hangzhou-daily-update\\",\\n \\"ImageOwnerAlias\\": \\"system\\",\\n \\"LoadBalancerWeight\\": 1,\\n \\"SystemDiskCategory\\": \\"cloud\\",\\n \\"HostName\\": \\"LocalHost\\",\\n \\"SystemDiskName\\": \\"cloud_ssd_Test\\",\\n \\"InternetMaxBandwidthOut\\": 10,\\n \\"InternetMaxBandwidthIn\\": 10,\\n \\"InstanceType\\": \\"ecs.g6.large\\",\\n \\"InstanceDescription\\": \\"FinanceDept\\",\\n \\"IoOptimized\\": \\"none\\",\\n \\"RamRoleName\\": \\"ramrole****\\",\\n \\"SystemDiskPerformanceLevel\\": \\"PL1\\",\\n \\"Cpu\\": 2,\\n \\"ResourceGroupId\\": \\"rg-aekzn2ou7xo****\\",\\n \\"ZoneId\\": \\"cn-hangzhou-g\\",\\n \\"InternetChargeType\\": \\"PayByTraffic\\",\\n \\"ImageName\\": \\"centos6u5_64_20G_aliaegis_20140703.vhd\\",\\n \\"ScalingConfigurationId\\": \\"asc-bp1ezrfgoyn5kijl****\\",\\n \\"CreditSpecification\\": \\"Standard\\",\\n \\"SpotInterruptionBehavior\\": \\"Terminate\\",\\n \\"DataDisks\\": {\\n \\"DataDisk\\": [\\n {\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Description\\": \\"FinanceDept\\",\\n \\"SnapshotId\\": \\"s-23f2i****\\",\\n \\"Device\\": \\"/dev/xvdb\\",\\n \\"Size\\": 200,\\n \\"DiskName\\": \\"cloud_ssdData\\",\\n \\"AutoSnapshotPolicyId\\": \\"sp-bp19nq9enxqkomib****\\",\\n \\"Category\\": \\"cloud\\",\\n \\"KMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DeleteWithInstance\\": true,\\n \\"Encrypted\\": \\"false\\",\\n \\"Categories\\": {\\n \\"Category\\": [\\n \\"cloud_essd\\"\\n ]\\n },\\n \\"ProvisionedIops\\": 100,\\n \\"BurstingEnabled\\": false\\n }\\n ]\\n },\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"binary\\",\\n \\"Value\\": \\"alterTable\\"\\n }\\n ]\\n },\\n \\"SpotPriceLimit\\": {\\n \\"SpotPriceModel\\": [\\n {\\n \\"InstanceType\\": \\"ecs.g6.large\\",\\n \\"PriceLimit\\": 0.125\\n }\\n ]\\n },\\n \\"InstancePatternInfos\\": {\\n \\"InstancePatternInfo\\": [\\n {\\n \\"MaxPrice\\": 2,\\n \\"Cores\\": 2,\\n \\"Memory\\": 4,\\n \\"InstanceFamilyLevel\\": \\"EnterpriseLevel\\",\\n \\"Architectures\\": {\\n \\"Architecture\\": [\\n \\"X86\\"\\n ]\\n },\\n \\"BurstablePerformance\\": \\"Include\\",\\n \\"ExcludedInstanceTypes\\": {\\n \\"ExcludedInstanceType\\": [\\n \\"ecs.n1.small/ecs.n1.*/*7*\\"\\n ]\\n },\\n \\"InstanceTypeFamilies\\": {\\n \\"InstanceTypeFamily\\": [\\n \\"ecs.g6\\"\\n ]\\n },\\n \\"MinimumCpuCoreCount\\": 2,\\n \\"MaximumCpuCoreCount\\": 4,\\n \\"GpuSpecs\\": {\\n \\"GpuSpec\\": [\\n \\"NVIDIA V100\\"\\n ]\\n },\\n \\"InstanceCategories\\": {\\n \\"InstanceCategory\\": [\\n \\"Compute-optimized with GPU\\"\\n ]\\n },\\n \\"CpuArchitectures\\": {\\n \\"CpuArchitecture\\": [\\n \\"X86\\"\\n ]\\n },\\n \\"PhysicalProcessorModels\\": {\\n \\"PhysicalProcessorModel\\": [\\n \\"Intel Xeon(Ice Lake) Platinum 8369B\\\\\\", \\\\\\"Intel Xeon(Skylake) Platinum 8163\\\\\\", … \\\\\\"Intel Xeon(Cascade Lake) Platinum 8269CY\\"\\n ]\\n },\\n \\"MinimumEniQuantity\\": 2,\\n \\"MinimumEniPrivateIpAddressQuantity\\": 2,\\n \\"MinimumEniIpv6AddressQuantity\\": 1,\\n \\"MinimumInitialCredit\\": 12,\\n \\"MinimumBaselineCredit\\": 12,\\n \\"MinimumMemorySize\\": 4,\\n \\"MaximumMemorySize\\": 4,\\n \\"MinimumGpuAmount\\": 2,\\n \\"MaximumGpuAmount\\": 2\\n }\\n ]\\n },\\n \\"SystemDiskCategories\\": {\\n \\"SystemDiskCategory\\": [\\n \\"cloud\\"\\n ]\\n },\\n \\"WeightedCapacities\\": {\\n \\"WeightedCapacity\\": [\\n \\"4\\"\\n ]\\n },\\n \\"InstanceTypes\\": {\\n \\"InstanceType\\": [\\n \\"ecs.g6.large\\"\\n ]\\n },\\n \\"SecurityGroupIds\\": {\\n \\"SecurityGroupId\\": [\\n \\"sg-bp18kz60mefs****\\"\\n ]\\n },\\n \\"SchedulerOptions\\": {\\n \\"ManagedPrivateSpaceId\\": \\"testManagedPrivateSpaceId\\"\\n },\\n \\"SystemDisk.Encrypted\\": false,\\n \\"SystemDisk.KMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"SystemDisk.EncryptAlgorithm\\": \\"AES-256\\",\\n \\"SystemDisk.ProvisionedIops\\": 100,\\n \\"SystemDisk.BurstingEnabled\\": false,\\n \\"ImageOptions.LoginAsNonRoot\\": false,\\n \\"DeletionProtection\\": false,\\n \\"StorageSetId\\": \\"ss-bp67acfmxazb4p****\\",\\n \\"StorageSetPartitionNumber\\": 2,\\n \\"CustomPriorities\\": {\\n \\"CustomPriority\\": [\\n {\\n \\"InstanceType\\": \\"ecs.g6.large\\",\\n \\"VswitchId\\": \\"vsw-bp14zolna43z266bq****\\"\\n }\\n ]\\n },\\n \\"NetworkInterfaces\\": {\\n \\"NetworkInterface\\": [\\n {\\n \\"InstanceType\\": \\"Primary\\",\\n \\"NetworkInterfaceTrafficMode\\": \\"HighPerformance\\",\\n \\"Ipv6AddressCount\\": 1,\\n \\"SecurityGroupIds\\": {\\n \\"SecurityGroupId\\": [\\n \\"sg-2vc3e1v7h****\\"\\n ]\\n },\\n \\"SecondaryPrivateIpAddressCount\\": 2\\n }\\n ]\\n },\\n \\"DedicatedHostClusterId\\": \\"dc-2zedxc67zqzt7lb4****\\",\\n \\"PasswordSetted\\": false,\\n \\"SecurityOptions\\": {\\n \\"ConfidentialComputingMode\\": \\"TDX\\"\\n },\\n \\"HttpEndpoint\\": \\"enabled\\",\\n \\"HttpTokens\\": \\"optional\\",\\n \\"ResourcePoolOptions\\": {\\n \\"Strategy\\": \\"PrivatePoolFirst\\",\\n \\"PrivatePoolIds\\": {\\n \\"PrivatePoolId\\": [\\n \\"eap-bp67acfmxazb4****\\"\\n ]\\n },\\n \\"PrivatePoolTags\\": {\\n \\"PrivatePoolTag\\": [\\n {\\n \\"Key\\": \\"TestKey\\",\\n \\"Value\\": \\"TestValue\\"\\n }\\n ]\\n }\\n },\\n \\"CpuOptions\\": {\\n \\"NestedVirtualization\\": \\"enabled\\"\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
'gatewayOptions' => [
'gatewayProtocols' => [],
],
'title' => 'Query scaling configuration information',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScalingConfigurations'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScalingConfigurations',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'DescribeScalingGroups' => [
'summary' => 'Queries scaling groups.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92683',
'abilityTreeNodes' => ['FEATUREess7569XW'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number of the scaling group list. Minimum value: 1.'."\n"
."\n"
.'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'default' => '1', 'example' => '1', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => [
'description' => 'The number of entries per page for paging queries. Maximum value: 50.'."\n"
."\n"
.'Default value: 10.',
'enumValueTitles' => [10 => '10'],
'type' => 'integer',
'format' => 'int32',
'required' => false,
'maximum' => '50',
'default' => '10',
'example' => '10',
'title' => '',
],
],
[
'name' => 'ScalingGroupName',
'in' => 'query',
'schema' => ['description' => 'The name of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.1',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.1为待查询的伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.2',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.2为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.3',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.3为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.4',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.4为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.5',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.5为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.6',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.6为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.7',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.7为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.8',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.8为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.9',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.9为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.10',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.10为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.11',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.11为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.12',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.12为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.13',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.13为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.14',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.14为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.15',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.15为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.16',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.16为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.17',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.17为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.18',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.18为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.19',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.19为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'ScalingGroupName.20',
'in' => 'query',
'schema' => ['description' => 'ScalingGroupName.20为待查询伸缩组的名称。查询结果会忽略失效的伸缩组名称,并且不报错。', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'GroupType',
'in' => 'query',
'schema' => ['description' => 'The type of instances managed by the scaling group. Valid values:'."\n"
."\n"
.'- ECS: The scaling group manages ECS instances.'."\n"
."\n"
.'- ECI: The scaling group manages ECI instances.', 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the scaling group to query. ScalingGroupId.N specifies the Nth scaling group ID. Valid values of N: 1 to 20. Invalid scaling group IDs are ignored in the query results, and no error is returned.',
'type' => 'array',
'items' => ['description' => 'The ID of the scaling group to query. ScalingGroupId.N specifies the Nth scaling group ID. Valid values of N: 1 to 20. Invalid scaling group IDs are ignored in the query results, and no error is returned.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp14wlu85wrpchm0****', 'title' => ''],
'required' => false,
'example' => 'asg-bp14wlu85wrpchm0****',
'maxItems' => 20,
'title' => '',
],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the resource group to which the scaling group belongs.'."\n"
.'>If no scaling group belongs to the specified resource group, an empty result is returned, and no error is returned.', 'type' => 'string', 'required' => false, 'example' => 'rg-123****', 'title' => ''],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The tags of the scaling group.',
'type' => 'array',
'items' => [
'description' => 'The tags of the scaling group.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'Department', 'title' => ''],
'Value' => ['description' => 'The tag value of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'Finance', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'TotalCount' => ['description' => 'The total number of scaling groups.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ScalingGroups' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ScalingGroup' => [
'description' => 'The collection of scaling group information.',
'type' => 'array',
'items' => [
'description' => 'The collection of scaling group information.',
'type' => 'object',
'properties' => [
'VpcId' => ['description' => 'The ID of the VPC to which the scaling group belongs.', 'type' => 'string', 'example' => 'vpc-bp1vwnn14rqpyiczj****', 'title' => ''],
'CreationTime' => ['description' => 'The time when the scaling group was created.', 'type' => 'string', 'example' => '2014-08-14T10:58Z', 'title' => ''],
'TotalInstanceCount' => ['description' => 'The total number of ECS instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ScalingGroupName' => ['description' => 'The name of the scaling group.', 'type' => 'string', 'example' => 'dyrSuvBOtO1dEdIlIbp****', 'title' => ''],
'SpotInstancePools' => ['description' => 'The number of available instance types. The scaling group creates spot instances across multiple instance types at the lowest cost. Valid values: 0 to 10.'."\n"
."\n"
.'When `MultiAZPolicy` is set to `COMPOSABLE`, the default value is 2.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
'StoppedCapacity' => ['description' => 'The number of instances in the scaling group that are in the economy mode (stopped).', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'OnDemandPercentageAboveBaseCapacity' => ['description' => 'The percentage of pay-as-you-go instances among the excess instances when the minimum number of pay-as-you-go instances (OnDemandBaseCapacity) is met. Valid values: 0 to 100.'."\n"
."\n"
.'When `MultiAZPolicy` is set to `COMPOSABLE`, the default value is 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
'ModificationTime' => ['description' => 'The time when the scaling group was last modified.', 'type' => 'string', 'example' => '2014-08-14T10:58Z', 'title' => ''],
'MinSize' => ['description' => 'The minimum number of ECS instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ScalingGroupId' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'example' => 'asg-bp14wlu85wrpchm0****', 'title' => ''],
'CompensateWithOnDemand' => ['description' => 'Indicates whether pay-as-you-go instances are automatically created to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons. This parameter takes effect only when `MultiAZPolicy` is set to `COST_OPTIMIZED`. Valid values:'."\n"
."\n"
.'- true: Pay-as-you-go instances are automatically created.'."\n"
.'- false: Pay-as-you-go instances are not automatically created.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'ScalingPolicy' => ['description' => 'The reclaim mode of the scaling group. Valid values:'."\n"
.' '."\n"
.'- recycle: The scaling group uses the shutdown and reclaim mode.'."\n"
.'- release: The scaling group uses the release mode.'."\n"
.'- forcerelease: The scaling group uses the forced release mode.'."\n"
."\n"
.'For more information about actions on removed instances, see [RemoveInstances](~~25955~~).', 'type' => 'string', 'example' => 'recycle', 'title' => ''],
'RemovingWaitCapacity' => ['description' => 'The number of ECS instances that are in the pending removal state in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ActiveCapacity' => ['description' => 'The number of ECS instances that have been added to the scaling group and are running as expected.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'OnDemandBaseCapacity' => ['description' => 'The minimum number of pay-as-you-go instances required in the scaling group. Valid values: 0 to 1000. When the number of pay-as-you-go instances in the scaling group is less than this value, the system preferentially creates pay-as-you-go instances.'."\n"
."\n"
.'When `MultiAZPolicy` is set to `COMPOSABLE`, the default value is 0.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
'ProtectedCapacity' => ['description' => 'The number of ECS instances in the protected state in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'HealthCheckType' => ['description' => 'The health check mode of the scaling group. Valid values:'."\n"
."\n"
.'- NONE: No health check is performed.'."\n"
.'- ECS: Health checks are performed on instances in the scaling group. This value applies to both ECS-type and ECI-type scaling groups.'."\n"
.'- LOAD_BALANCER: The health status of instances is determined based on the health check results of the associated load balancing instance. CLB-type load balancing instances are not supported.', 'type' => 'string', 'example' => 'ECS', 'title' => ''],
'LifecycleState' => ['description' => 'The status of the scaling group. Valid values:'."\n"
."\n"
.'- Active: The scaling group is active. Active scaling groups can accept requests to execute scaling rules and trigger scaling activities.'."\n"
."\n"
.'- Inactive: The scaling group is inactive. Inactive scaling groups do not accept any requests to execute scaling rules.'."\n"
."\n"
.'- Deleting: The scaling group is being deleted. Scaling groups that are being deleted do not accept any requests to execute scaling rules, and their parameters cannot be modified.', 'type' => 'string', 'example' => 'Active', 'title' => ''],
'GroupDeletionProtection' => ['description' => 'Indicates whether deletion protection is enabled for the scaling group. Valid values:'."\n"
."\n"
.'- true: Deletion protection is enabled. The scaling group cannot be deleted.'."\n"
.'- false: Deletion protection is disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'ActiveScalingConfigurationId' => ['description' => 'The ID of the active scaling configuration in the scaling group.', 'type' => 'string', 'example' => 'asc-bp1et2qekq3ojr33****', 'title' => ''],
'GroupType' => ['description' => 'The type of instances managed by the scaling group.', 'type' => 'string', 'example' => 'ECS', 'title' => ''],
'MultiAZPolicy' => ['description' => 'The multi-zone scaling policy for ECS instances in the scaling group. Valid values:'."\n"
.' '."\n"
.'- PRIORITY: ECS instances are scaled based on the vSwitches (VSwitchIds.N) that you specify. When an ECS instance cannot be created in the zone of the vSwitch with the highest priority, the system uses the vSwitch with the next highest priority.'."\n"
."\n"
.'- COST_OPTIMIZED: ECS instances are created based on the unit vCPU price in ascending order. When the scaling configuration specifies multiple instance types with the spot billing method, spot instances are preferentially created. You can use the CompensateWithOnDemand parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to inventory reasons.'."\n"
.' > COST_OPTIMIZED takes effect only when multiple instance types are set in the scaling configuration or spot instances are used.'."\n"
."\n"
.'- BALANCE: ECS instances are evenly allocated across the active zones specified for the scaling group. If instances become unevenly distributed across zones due to reasons such as insufficient inventory, you can call the [RebalanceInstance](~~71516~~) operation to rebalance resources.'."\n"
.'- COMPOSABLE: A composite policy that allows you to customize a combination of the multi-zone scale-in and scale-out policies described above.', 'type' => 'string', 'example' => 'PRIORITY', 'title' => ''],
'RemovingCapacity' => ['description' => 'The number of ECS instances that are being removed from the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
'PendingWaitCapacity' => ['description' => 'The number of ECS instances that are in the pending addition state in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'StandbyCapacity' => ['description' => 'The number of instances in the standby state in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'PendingCapacity' => ['description' => 'The number of ECS instances that are being added to the scaling group and have not been configured.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
'LaunchTemplateId' => ['description' => 'The ID of the launch template used by the scaling group.', 'type' => 'string', 'example' => 'lt-m5e3ofjr1zn1aw7****', 'title' => ''],
'TotalCapacity' => ['description' => 'The total weighted capacity of all ECS instances in the scaling group if instance type weights are configured. Otherwise, the total number of ECS instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'DesiredCapacity' => ['description' => 'The expected number of instances in the scaling group. The scaling group automatically maintains the number of ECS instances at the expected number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''],
'SpotInstanceRemedy' => ['description' => 'Indicates whether supplemental spot instances are enabled. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed after receiving a reclamation notification.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'LaunchTemplateVersion' => ['description' => 'The version of the launch template used by the scaling group.', 'type' => 'string', 'example' => 'Default', 'title' => ''],
'RegionId' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'example' => 'cn-qingdao', 'title' => ''],
'VSwitchId' => ['description' => 'The ID of the vSwitch associated with the scaling group.', 'type' => 'string', 'example' => 'vsw-bp1whw2u46cn8zubm****', 'title' => ''],
'MaxSize' => ['description' => 'The maximum number of ECS instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'DefaultCooldown' => ['description' => 'The default cooldown time of the scaling group. During the cooldown time, the scaling group does not execute other scaling activities. This parameter applies only to scaling activities triggered by [CloudMonitor](~~35170~~) event-triggered tasks.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''],
'VServerGroups' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'VServerGroup' => [
'description' => 'The list of backend server groups.',
'type' => 'array',
'items' => [
'description' => 'The list of backend server groups.',
'type' => 'object',
'properties' => [
'LoadBalancerId' => ['description' => 'The ID of the load balancing instance to which the backend server group belongs.', 'type' => 'string', 'example' => '147b46d767c-cn-qingdao-cm5****', 'title' => ''],
'VServerGroupAttributes' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'VServerGroupAttribute' => [
'description' => 'The attributes of the backend server group.',
'type' => 'array',
'items' => [
'description' => 'The attributes of the backend server group.',
'type' => 'object',
'properties' => [
'VServerGroupId' => ['description' => 'The ID of the backend server group.', 'type' => 'string', 'example' => 'rsp-bp12bjrny****', 'title' => ''],
'Weight' => ['description' => 'The weight of the backend server group.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'Port' => ['description' => 'The port number used by the load balancing instance to serve external requests.', 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'LaunchTemplateOverrides' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'LaunchTemplateOverride' => [
'description' => 'The instance type information that overrides the launch template.',
'type' => 'array',
'items' => [
'description' => 'The instance type information that overrides the launch template.',
'type' => 'object',
'properties' => [
'WeightedCapacity' => ['description' => 'The weight of the instance type, which represents the capacity of a single instance of this type in the scaling group. A higher weight means fewer instances of this type are needed to meet the desired capacity.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
'InstanceType' => ['description' => 'The instance type that overrides the instance type specified in the launch template.', 'type' => 'string', 'example' => 'ecs.c5.xlarge', 'title' => ''],
'SpotPriceLimit' => ['description' => 'The maximum bid price for the instance type specified by `LaunchTemplateOverride.N.InstanceType`. You can specify up to N values for this parameter, corresponding to N instance types supported by the launch template override. Valid values of N: 1 to 10.'."\n"
.'>This parameter takes effect only when the `LaunchTemplateId` parameter specifies a launch template.', 'type' => 'number', 'format' => 'float', 'example' => '0.025', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'AlbServerGroups' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'AlbServerGroup' => [
'description' => 'The information about ALB server groups.',
'type' => 'array',
'items' => [
'description' => 'The information about ALB server groups.',
'type' => 'object',
'properties' => [
'AlbServerGroupId' => ['description' => 'The ID of the ALB server group.', 'type' => 'string', 'example' => 'sgp-ddwb0y0g6y9bjm****', 'title' => ''],
'Weight' => ['description' => 'The weight of the ECS instance as a backend server after Auto Scaling adds the instance to the ALB server group.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'Port' => ['description' => 'The port number used by the ECS instance after Auto Scaling adds the instance to the ALB server group.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'ServerGroups' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ServerGroup' => [
'description' => 'The information about load balancing server groups.'."\n"
.'>You can use this parameter to retrieve information about ALB-type, NLB-type, and GWLB-type server groups associated with the scaling group.',
'type' => 'array',
'items' => [
'description' => 'The information about load balancing server groups.',
'type' => 'object',
'properties' => [
'ServerGroupId' => ['description' => 'The ID of the server group.', 'type' => 'string', 'example' => 'sgp-i9ouakeaerr*****', 'title' => ''],
'Type' => ['description' => 'The type of the server group. Valid values:'."\n"
."\n"
.'- ALB: Application Load Balancer (ALB).'."\n"
.'- NLB: Network Load Balancer (NLB).'."\n"
.'- GWLB: Gateway Load Balancer (GWLB).', 'type' => 'string', 'example' => 'ALB', 'title' => ''],
'Weight' => ['description' => 'The weight of the ECS instance as a backend server after Auto Scaling adds the instance to the server group.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'Port' => ['description' => 'The port number used by the ECS instance after Auto Scaling adds the instance to the server group.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'RemovalPolicies' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'RemovalPolicy' => [
'description' => 'The collection of scale-in policies for ECS instances. Valid values:'."\n"
.'- OldestInstance: The earliest created ECS instance is removed.'."\n"
.'- NewestInstance: The most recently created ECS instance is removed.'."\n"
.'- OldestScalingConfiguration: The ECS instance created from the earliest scaling configuration is removed.'."\n"
.'- CustomPolicy: ECS instances are removed based on a custom scale-in policy defined by a Function Compute function.',
'type' => 'array',
'items' => ['description' => 'The collection of scale-in policies for ECS instances. Valid values:'."\n"
.'- OldestInstance: The earliest created ECS instance is removed.'."\n"
.'- NewestInstance: The most recently created ECS instance is removed.'."\n"
.'- OldestScalingConfiguration: The ECS instance created from the earliest scaling configuration is removed.'."\n"
.'- CustomPolicy: ECS instances are removed based on a custom scale-in policy defined by a Function Compute function.', 'type' => 'string', 'example' => 'OldestScalingConfiguration', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'DBInstanceIds' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'DBInstanceId' => [
'description' => 'The ID of the RDS instance associated with the scaling group.',
'type' => 'array',
'items' => ['description' => 'The ID of the RDS instance associated with the scaling group.', 'type' => 'string', 'example' => 'rm-bp15556qzebg1****', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'LoadBalancerIds' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'LoadBalancerId' => [
'description' => 'The list of load balancing instance IDs associated with the scaling group.',
'type' => 'array',
'items' => ['description' => 'The list of load balancing instance IDs associated with the scaling group.', 'type' => 'string', 'example' => 'lb-bp19byhscefk3x0li****', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'VSwitchIds' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'VSwitchId' => [
'description' => 'The collection of vSwitch IDs associated with the scaling group. If you specify the VSwitchIds parameter, the VSwitchId parameter is ignored.',
'type' => 'array',
'items' => ['description' => 'The collection of vSwitch IDs associated with the scaling group. If you specify the VSwitchIds parameter, the VSwitchId parameter is ignored.', 'type' => 'string', 'example' => 'vsw-bp1whw2u46cn8zubm****', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'SuspendedProcesses' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'SuspendedProcess' => [
'description' => 'The suspended scaling processes. If no process is suspended, an empty value is returned. Valid values:'."\n"
."\n"
.'- ScaleIn: scale-in process.'."\n"
.'- ScaleOut: scale-out process.'."\n"
.'- HealthCheck: health check.'."\n"
.'- AlarmNotification: event-triggered task.'."\n"
.'- ScheduledAction: scheduled task.',
'type' => 'array',
'items' => ['description' => 'The suspended scaling processes. If no process is suspended, an empty value is returned. Valid values:'."\n"
."\n"
.'- ScaleIn: scale-in process.'."\n"
.'- ScaleOut: scale-out process.'."\n"
.'- HealthCheck: health check.'."\n"
.'- AlarmNotification: event-triggered task.'."\n"
.'- ScheduledAction: scheduled task.', 'type' => 'string', 'example' => 'ScaleIn', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'SystemSuspended' => ['description' => 'Indicates whether Auto Scaling has stopped executing scaling activities in the scaling group. Valid values:'."\n"
."\n"
.'- true: Auto Scaling has stopped executing scaling activities because the scaling group has failed to scale in or scale out for more than 7 consecutive days. Modify the scaling group or scaling configuration to resume the execution of scaling activities.'."\n"
."\n"
.'- false: Auto Scaling executes scaling activities in the scaling group.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'MonitorGroupId' => ['description' => 'The ID of the CloudMonitor application group associated with the scaling group.', 'type' => 'string', 'example' => '1497****', 'title' => ''],
'AzBalance' => ['description' => 'Indicates whether the capacity of the scaling group is evenly distributed across multiple zones. Valid values:'."\n"
.'- true: The capacity is evenly distributed across multiple zones.'."\n"
.'- false: The capacity is not evenly distributed across multiple zones.'."\n"
.'>This parameter takes effect only when `MultiAZPolicy` is set to `COMPOSABLE`.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'AllocationStrategy' => ['description' => 'The capacity allocation strategy that determines how the scaling group selects available instance types to meet capacity requirements. This strategy applies to both pay-as-you-go and spot capacity. Valid values:'."\n"
.'- priority: Instances are created in the order of the configured instance types.'."\n"
.'- lowestPrice: Instances are created in ascending order of the unit vCPU price of instance types.'."\n"
.'>This parameter takes effect only when `MultiAZPolicy` is set to `COMPOSABLE`.', 'type' => 'string', 'example' => 'priority', 'title' => ''],
'SpotAllocationStrategy' => ['description' => 'The allocation strategy for spot capacity. You can use this parameter to separately specify the allocation strategy for spot capacity. This parameter takes effect only when `MultiAZPolicy` is set to `COMPOSABLE`. Valid values:'."\n"
."\n"
.'- priority: Instances are created in the order of the configured instance types.'."\n"
.'- lowestPrice: Instances are created in ascending order of the unit vCPU price of instance types.', 'type' => 'string', 'example' => 'lowestPrice', 'title' => ''],
'MaxInstanceLifetime' => ['description' => 'The maximum amount of time that an instance can remain in the scaling group. Unit: seconds.'."\n"
."\n"
.'Valid values: 0 or `[86400, Integer.maxValue]`. A value of 0 clears the previously set MaxInstanceLifetime value (meaning MaxInstanceLifetime is not set).'."\n"
."\n"
.'Default value: null.'."\n"
."\n"
.'>This parameter is not supported for ECI-type scaling groups or scaling groups with the no-charge-on-stop feature enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => 'null', 'title' => ''],
'CustomPolicyARN' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the custom scale-in policy Function Compute function. This parameter takes effect only when the first removal policy in RemovalPolicies is set to CustomPolicy.', 'type' => 'string', 'example' => 'acs:fc:cn-zhangjiakou:16145688****:services/ess_custom_terminate_policy.LATEST/functions/ess_custom_terminate_policy_name', 'title' => ''],
'InitCapacity' => ['description' => 'The number of instances in the scaling group that are in the initialization state before scale-out.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
'ResourceGroupId' => ['description' => 'The ID of the resource group to which the scaling group belongs.', 'type' => 'string', 'example' => 'rg-123****', 'title' => ''],
'LoadBalancerConfigs' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'LoadBalancerConfig' => [
'description' => 'The list of load balancing CLB (formerly SLB) configurations.',
'type' => 'array',
'items' => [
'description' => 'The list of load balancing CLB (formerly SLB) configurations.',
'type' => 'object',
'properties' => [
'LoadBalancerId' => ['description' => 'The ID of the load balancing CLB (formerly SLB) instance.', 'type' => 'string', 'example' => '147b46d767c-cn-qingdao-cm5****', 'title' => ''],
'Weight' => ['description' => 'The weight of the ECS instance as a backend server after Auto Scaling adds the instance to the load balancing CLB (formerly SLB) server group. A higher weight means more access requests are allocated to the ECS instance. If the weight is 0, the ECS instance does not receive access requests.'."\n"
."\n"
.'Valid values: 0 to 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'EnableDesiredCapacity' => ['description' => 'Indicates whether the expected number of instances feature is enabled. Valid values:'."\n"
.'- true: Enabled. The expected number of instances information is returned when you query the scaling group.'."\n"
.'- false: Disabled. The expected number of instances information is not returned when you query the scaling group.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'Tags' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Tag' => [
'description' => 'The tags of the scaling group.',
'type' => 'array',
'items' => [
'description' => 'The tags of the scaling group.',
'type' => 'object',
'properties' => [
'TagKey' => ['description' => 'The tag key of the scaling group.', 'type' => 'string', 'example' => 'Department', 'title' => ''],
'TagValue' => ['description' => 'The tag value of the scaling group.', 'type' => 'string', 'example' => 'Finance', 'title' => ''],
'Propagate' => ['description' => 'Indicates whether the tag is a propagated tag. Valid values:'."\n"
."\n"
.'- true: The tag on the scaling group is propagated only to newly created instances, not to instances already running in the scaling group.'."\n"
.'- false: The tag on the scaling group is not propagated to instances.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'HealthCheckTypes' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'HealthCheckType' => [
'description' => 'The health check mode of the scaling group. Valid values:'."\n"
."\n"
.'- NONE: No health check is performed.'."\n"
.'- ECS: Health checks are performed on instances in the scaling group. This value applies to both ECS-type and ECI-type scaling groups.'."\n"
.'- LOAD_BALANCER: The health status of instances is determined based on the health check results of the associated load balancing instance. CLB-type load balancing instances are not',
'type' => 'array',
'items' => ['description' => '伸缩组的健康检查方式。可能值:'."\n"
."\n"
.'- NONE:不做健康检查。'."\n"
.'- ECS:对伸缩组内的实例做健康检查(ECS类型和ECI类型的伸缩组均使用本取值开启实例健康检查)。'."\n"
.'- LOAD_BALANCER: 根据负载均衡(暂不支持clb负载均衡类型)健康检查结果判断实例健康状态。', 'type' => 'string', 'example' => 'ECS', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'DBInstances' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'DBInstance' => [
'description' => 'The list of databases associated with the scaling group.',
'type' => 'array',
'items' => [
'description' => 'The database configuration information associated with the scaling group.',
'type' => 'object',
'properties' => [
'DBInstanceId' => ['description' => '数据库实例ID。', 'type' => 'string', 'example' => 'rm-m5eqju85s45mu0***', 'title' => ''],
'Type' => ['description' => 'The type of the database. Valid values:'."\n"
."\n"
.'- RDS.'."\n"
.'- Redis.'."\n"
.'- MongoDB.', 'type' => 'string', 'example' => 'RDS', 'title' => ''],
'SecurityGroupIds' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'SecurityGroupId' => [
'description' => 'The list of security groups added to the database whitelist by the scaling group.',
'type' => 'array',
'items' => ['description' => 'Indicates whether the scaling group removes the security groups in this list from the database security group whitelist. This parameter takes effect only when the `AttachMode` parameter in the CreateScalingGroup operation is set to `SecurityGroup`. Valid values:'."\n"
."\n"
.'- true: The security groups in this list are removed from the database security group whitelist.'."\n"
.'- false: The security groups in this list are not removed from the database security group whitelist.', 'type' => 'string', 'example' => 'sg-uf65zt66cf2a0q47***', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'SpotCapacity' => ['description' => 'The number of spot instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
'StopInstanceTimeout' => ['description' => 'The timeout period for waiting for ECS instances to stop during the scale-in process. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''],
'CapacityOptions' => [
'description' => 'The capacity options.',
'type' => 'object',
'properties' => [
'OnDemandBaseCapacity' => ['description' => 'The minimum number of pay-as-you-go instances required in the scaling group. When the number of pay-as-you-go instances in the scaling group is less than this value, the system preferentially creates pay-as-you-go instances. Valid values: 0 to 1000.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
'OnDemandPercentageAboveBaseCapacity' => ['description' => 'The percentage of pay-as-you-go instances among the excess instances when the minimum number of pay-as-you-go instances (`OnDemandBaseCapacity`) is met. Valid values: 0 to 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
'CompensateWithOnDemand' => ['description' => 'Indicates whether pay-as-you-go instances are automatically created to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons. This parameter takes effect only when `MultiAZPolicy` is set to `COST_OPTIMIZED`. Valid values:'."\n"
."\n"
.'- true: Pay-as-you-go instances are automatically created.'."\n"
.'- false: Pay-as-you-go instances are not automatically created.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'SpotAutoReplaceOnDemand' => ['description' => 'Specifies whether to replace excess pay-as-you-go instances with spot instances when `CompensateWithOnDemand` is enabled and the pay-as-you-go ratio exceeds `OnDemandPercentageAboveBaseCapacity`. A common scenario is when `CompensateWithOnDemand` causes spot instances to be downgraded to pay-as-you-go instances due to spot inventory or pricing reasons. To prevent pay-as-you-go instances from persisting for a long time, the system attempts to replace excess pay-as-you-go capacity with spot instances. Valid values:'."\n"
."\n"
.'- true: Replacement is allowed.'."\n"
.'- false: Replacement is not allowed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'PriceComparisonMode' => ['description' => 'The price comparison mode for the cost optimization strategy of the scaling group. Valid values:'."\n"
."\n"
.'- PricePerUnit: Prices are compared based on the price per unit of capacity.'."\n"
."\n"
.' The capacity of an instance in the scaling group equals the weight configured for the instance type. The default weight is 1, meaning one ECS instance occupies a capacity of 1.'."\n"
."\n"
.'- PricePerVCpu: Prices are compared based on the price per vCPU.'."\n"
."\n"
.'Default value: PricePerUnit.', 'type' => 'string', 'example' => 'PricePerUnit', 'title' => ''],
],
'title' => '',
'example' => '',
],
'BalanceMode' => ['title' => '', 'description' => 'The zone balancing mode. This parameter takes effect only when zone balancing is enabled. Valid values:'."\n"
.' '."\n"
.'- BalancedBestEffort: When resource creation fails in a zone, the system falls back to other zones to ensure best-effort resource delivery.'."\n"
."\n"
.'- BalancedOnly: When resource creation.', 'type' => 'string', 'example' => 'BalancedBestEffort'],
'AutoRebalance' => ['title' => '', 'description' => '是否开启伸缩组自动均衡,仅当可用区均衡伸缩组开启了BalancedOnly才生效。可能值:'."\n"
.'- false:不开启伸缩组自动均衡。'."\n"
.'- true:开启伸缩组自动均衡时,伸缩组会自动检测可用区见容量,当可用区容量不均衡时,会主动进行可用区扩缩,进行可用区容量再均衡。', 'type' => 'boolean', 'example' => 'false'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"ScalingGroups\\": {\\n \\"ScalingGroup\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1vwnn14rqpyiczj****\\",\\n \\"CreationTime\\": \\"2014-08-14T10:58Z\\",\\n \\"TotalInstanceCount\\": 1,\\n \\"ScalingGroupName\\": \\"dyrSuvBOtO1dEdIlIbp****\\",\\n \\"SpotInstancePools\\": 5,\\n \\"StoppedCapacity\\": 1,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 20,\\n \\"ModificationTime\\": \\"2014-08-14T10:58Z\\",\\n \\"MinSize\\": 1,\\n \\"ScalingGroupId\\": \\"asg-bp14wlu85wrpchm0****\\",\\n \\"CompensateWithOnDemand\\": true,\\n \\"ScalingPolicy\\": \\"recycle\\",\\n \\"RemovingWaitCapacity\\": 1,\\n \\"ActiveCapacity\\": 1,\\n \\"OnDemandBaseCapacity\\": 30,\\n \\"ProtectedCapacity\\": 1,\\n \\"HealthCheckType\\": \\"ECS\\",\\n \\"LifecycleState\\": \\"Active\\",\\n \\"GroupDeletionProtection\\": true,\\n \\"ActiveScalingConfigurationId\\": \\"asc-bp1et2qekq3ojr33****\\",\\n \\"GroupType\\": \\"ECS\\",\\n \\"MultiAZPolicy\\": \\"PRIORITY\\",\\n \\"RemovingCapacity\\": 0,\\n \\"PendingWaitCapacity\\": 1,\\n \\"StandbyCapacity\\": 1,\\n \\"PendingCapacity\\": 0,\\n \\"LaunchTemplateId\\": \\"lt-m5e3ofjr1zn1aw7****\\",\\n \\"TotalCapacity\\": 1,\\n \\"DesiredCapacity\\": 5,\\n \\"SpotInstanceRemedy\\": true,\\n \\"LaunchTemplateVersion\\": \\"Default\\",\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"VSwitchId\\": \\"vsw-bp1whw2u46cn8zubm****\\",\\n \\"MaxSize\\": 2,\\n \\"DefaultCooldown\\": 60,\\n \\"VServerGroups\\": {\\n \\"VServerGroup\\": [\\n {\\n \\"LoadBalancerId\\": \\"147b46d767c-cn-qingdao-cm5****\\",\\n \\"VServerGroupAttributes\\": {\\n \\"VServerGroupAttribute\\": [\\n {\\n \\"VServerGroupId\\": \\"rsp-bp12bjrny****\\",\\n \\"Weight\\": 1,\\n \\"Port\\": 22\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"LaunchTemplateOverrides\\": {\\n \\"LaunchTemplateOverride\\": [\\n {\\n \\"WeightedCapacity\\": 4,\\n \\"InstanceType\\": \\"ecs.c5.xlarge\\",\\n \\"SpotPriceLimit\\": 0.025\\n }\\n ]\\n },\\n \\"AlbServerGroups\\": {\\n \\"AlbServerGroup\\": [\\n {\\n \\"AlbServerGroupId\\": \\"sgp-ddwb0y0g6y9bjm****\\",\\n \\"Weight\\": 100,\\n \\"Port\\": 80\\n }\\n ]\\n },\\n \\"ServerGroups\\": {\\n \\"ServerGroup\\": [\\n {\\n \\"ServerGroupId\\": \\"sgp-i9ouakeaerr*****\\",\\n \\"Type\\": \\"ALB\\",\\n \\"Weight\\": 100,\\n \\"Port\\": 80\\n }\\n ]\\n },\\n \\"RemovalPolicies\\": {\\n \\"RemovalPolicy\\": [\\n \\"OldestScalingConfiguration\\"\\n ]\\n },\\n \\"DBInstanceIds\\": {\\n \\"DBInstanceId\\": [\\n \\"rm-bp15556qzebg1****\\"\\n ]\\n },\\n \\"LoadBalancerIds\\": {\\n \\"LoadBalancerId\\": [\\n \\"lb-bp19byhscefk3x0li****\\"\\n ]\\n },\\n \\"VSwitchIds\\": {\\n \\"VSwitchId\\": [\\n \\"vsw-bp1whw2u46cn8zubm****\\"\\n ]\\n },\\n \\"SuspendedProcesses\\": {\\n \\"SuspendedProcess\\": [\\n \\"ScaleIn\\"\\n ]\\n },\\n \\"SystemSuspended\\": true,\\n \\"MonitorGroupId\\": \\"1497****\\",\\n \\"AzBalance\\": false,\\n \\"AllocationStrategy\\": \\"priority\\",\\n \\"SpotAllocationStrategy\\": \\"lowestPrice\\",\\n \\"MaxInstanceLifetime\\": 0,\\n \\"CustomPolicyARN\\": \\"acs:fc:cn-zhangjiakou:16145688****:services/ess_custom_terminate_policy.LATEST/functions/ess_custom_terminate_policy_name\\",\\n \\"InitCapacity\\": 0,\\n \\"ResourceGroupId\\": \\"rg-123****\\",\\n \\"LoadBalancerConfigs\\": {\\n \\"LoadBalancerConfig\\": [\\n {\\n \\"LoadBalancerId\\": \\"147b46d767c-cn-qingdao-cm5****\\",\\n \\"Weight\\": 10\\n }\\n ]\\n },\\n \\"EnableDesiredCapacity\\": false,\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"TagKey\\": \\"Department\\",\\n \\"TagValue\\": \\"Finance\\",\\n \\"Propagate\\": false\\n }\\n ]\\n },\\n \\"HealthCheckTypes\\": {\\n \\"HealthCheckType\\": [\\n \\"ECS\\"\\n ]\\n },\\n \\"DBInstances\\": {\\n \\"DBInstance\\": [\\n {\\n \\"DBInstanceId\\": \\"rm-m5eqju85s45mu0***\\",\\n \\"Type\\": \\"RDS\\",\\n \\"SecurityGroupIds\\": {\\n \\"SecurityGroupId\\": [\\n \\"sg-uf65zt66cf2a0q47***\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"SpotCapacity\\": 0,\\n \\"StopInstanceTimeout\\": 60,\\n \\"CapacityOptions\\": {\\n \\"OnDemandBaseCapacity\\": 0,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 0,\\n \\"CompensateWithOnDemand\\": true,\\n \\"SpotAutoReplaceOnDemand\\": false,\\n \\"PriceComparisonMode\\": \\"PricePerUnit\\"\\n },\\n \\"BalanceMode\\": \\"BalancedBestEffort\\",\\n \\"AutoRebalance\\": false\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Query scaling groups',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScalingGroups'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScalingGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DescribeScalingInstances' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92684',
'abilityTreeNodes' => ['FEATUREessPMOEEX'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
],
[
'name' => 'ScalingConfigurationId',
'in' => 'query',
'schema' => ['description' => 'The ID of the associated scaling configuration.', 'type' => 'string', 'required' => false, 'example' => 'asc-bp1i65jd06v04vdh****', 'title' => ''],
],
[
'name' => 'HealthStatus',
'in' => 'query',
'schema' => ['description' => 'The health check status of the ECS instance or ECI instance in the scaling group. ECS instances or ECI instances that are not in the Running state are considered unhealthy. Valid values:'."\n"
."\n"
.'- Healthy: The ECS instance or ECI instance is healthy.'."\n"
.'- Unhealthy: The ECS instance or ECI instance is unhealthy.'."\n"
."\n"
.'Auto Scaling automatically removes unhealthy ECS instances or ECI instances from the scaling group and releases the ones created through automatic creation.'."\n"
."\n"
.'Whether manually added ECS instances or ECI instances are released depends on their managed status. If the instance lifecycle is not managed by the scaling group, the instance is only removed but not released. If the instance lifecycle is managed by the scaling group, the instance is removed and released.'."\n"
."\n"
.'> Ensure that your account has sufficient active quota. If your account has an overdue payment, all pay-as-you-go ECS instances or ECI instances, including pay-as-you-go and spot instances, are stopped or even released. For more information about how instance status changes after an overdue payment, see [Overdue payments](~~170589~~).', 'type' => 'string', 'required' => false, 'example' => 'Healthy', 'title' => ''],
],
[
'name' => 'LifecycleState',
'in' => 'query',
'schema' => ['description' => 'The lifecycle state of the ECS instance, ECI instance, or managed instance in the scaling group. Valid values:'."\n"
.' '."\n"
.'- InService: The instance is added to the scaling group and provides services in the Normal state.'."\n"
.'- Pending: The instance is being added to the scaling group. During this procedure, the instance is also added to the backend server group of the associated load balancing instance and to the access whitelist of the associated ApsaraDB RDS instance.'."\n"
.'- Pending:Wait: The instance is pending addition. If a lifecycle hook that applies to scale-out activities is created for the scaling group, the instance is suspended during addition and waits until the lifecycle hook timeout period ends.'."\n"
.'- Protected: The instance is protected. The instance provides services as expected, but Auto Scaling does not manage the lifecycle of the instance. You must manage the lifecycle of the instance manually.'."\n"
.'- Standby: The instance is in the standby state. The instance does not provide services, the weight of SLB backend server is set to zero, and Auto Scaling does not manage the lifecycle of the instance. You must manage the lifecycle of the instance manually.'."\n"
.'- Stopped: The instance is stopped. The ECS instance, ECI instance, or managed instance is stopped and does not provide services.'."\n"
.'- Removing: The instance is being removed from the scaling group. During this procedure, the instance is also removed from the backend server group of the associated load balancing instance and from the access whitelist of the associated ApsaraDB RDS instance.'."\n"
.'- Removing:Wait: The instance is pending removal. If a lifecycle hook that applies to scale-down activities is created for the scaling group, the instance is suspended during removal and waits until the lifecycle hook timeout period ends.'."\n"
.'> Managed instances do not support lifecycle hooks, load balancing association, or health check features.', 'type' => 'string', 'required' => false, 'example' => 'InService', 'title' => ''],
],
[
'name' => 'CreationType',
'in' => 'query',
'schema' => ['description' => 'The method used to create instances in the scaling group. Valid values: '."\n"
."\n"
.'- AutoCreated: The ECS instance or ECI instance is created through automatic creation by Auto Scaling based on the instance configuration source.'."\n"
.'- Attached: The ECS instance or ECI instance is not created by Auto Scaling but manually added to the scaling group.'."\n"
.'- Managed: The managed instance is not created by Auto Scaling but manually added to the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'AutoCreated', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number. Pages start from page 1.'."\n"
."\n"
.'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page for the paged query. Maximum value: 100.'."\n"
."\n"
.'Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '200', 'default' => '10', 'example' => '10', 'title' => ''],
],
[
'name' => 'ScalingActivityId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling activity.', 'type' => 'string', 'required' => false, 'example' => 'asa-bp1c9djwrgxjyk31****', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the instance in the scaling group.',
'type' => 'array',
'items' => ['description' => 'The ID of the instance in the scaling group. Valid values of N: 1 to 20.'."\n"
."\n"
.'Invalid InstanceId values are ignored in the query results, and no error is returned.', 'type' => 'string', 'required' => false, 'example' => 'i-bp109k5j3dum1ce6****', 'title' => ''],
'required' => false,
'example' => 'i-bp109k5j3dum1ce6****',
'maxItems' => 100,
'title' => '',
],
],
[
'name' => 'CreationTypes',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The methods used to create instances in the scaling group. You can specify only one of this parameter and CreationType.',
'type' => 'array',
'items' => ['description' => 'The method used to create instances in the scaling group. You cannot specify this parameter and CreationType at the same time. Valid values:'."\n"
.'- AutoCreated: The ECS instance is created through automatic creation by Auto Scaling based on the instance configuration source.'."\n"
.'- Attached: The ECS instance is not created by Auto Scaling but manually added to the scaling group.'."\n"
.'- Managed: The managed instance is not created by Auto Scaling but manually added to the scaling group.'."\n"
.'> When you specify this parameter, you can select multiple creation methods, such as AutoCreated, Attached, and Managed.', 'type' => 'string', 'required' => false, 'example' => 'AutoCreated', 'title' => ''],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'LifecycleStates',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of lifecycle states of ECS instances, ECI instances, or managed instances in the scaling group. You can specify only one of this parameter and LifecycleState. We recommend that you use this parameter.',
'type' => 'array',
'items' => ['description' => 'The lifecycle state of the ECS instance, ECI instance, or managed instance in the scaling group. Valid values:'."\n"
."\n"
.'- InService: The instance is added to the scaling group and provides services in the Normal state.'."\n"
.'- Pending: The instance is being added to the scaling group. During this procedure, the instance is also added to the backend server group of the associated load balancing instance and to the access whitelist of the associated ApsaraDB RDS instance.'."\n"
.'- Pending:Wait: The instance is pending addition. If a lifecycle hook that applies to scale-out activities is created for the scaling group, the instance is suspended during addition and waits until the lifecycle hook timeout period ends.'."\n"
.'- Protected: The instance is protected. The instance provides services as expected, but Auto Scaling does not manage the lifecycle of the instance. You must manage the lifecycle of the instance manually.'."\n"
.'- Standby: The instance is in the standby state. The instance does not provide services, the weight of SLB backend server is set to zero, and Auto Scaling does not manage the lifecycle of the instance. You must manage the lifecycle of the instance manually.'."\n"
.'- Stopped: The instance is stopped. The ECS instance, ECI instance, or managed instance is stopped and does not provide services.'."\n"
.'- Removing: The instance is being removed from the scaling group. During this procedure, the instance is also removed from the backend server group of the associated load balancing instance and from the access whitelist of the associated ApsaraDB RDS instance.'."\n"
.'- Removing:Wait: The instance is pending removal. If a lifecycle hook that applies to scale-down activities is created for the scaling group, the instance is suspended during removal and waits until the lifecycle hook timeout period ends.'."\n"
.'> Managed instances do not support lifecycle hooks, load balancing association, or health check features.', 'type' => 'string', 'required' => false, 'example' => 'InService', 'title' => ''],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B13527BF-1FBD-4334-A512-20F5E9D3****', 'title' => ''],
'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'PageNumber' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'TotalSpotCount' => ['description' => 'The total number of running spot instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
'TotalCount' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ScalingInstances' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ScalingInstance' => [
'description' => 'The collection of instance information.',
'type' => 'array',
'items' => [
'description' => 'The collection of instance information.',
'type' => 'object',
'properties' => [
'CreationTime' => ['description' => 'The time when the instance was added to the scaling group. The value is accurate to the minute.', 'type' => 'string', 'example' => '2020-05-18T03:11Z', 'title' => ''],
'LoadBalancerWeight' => ['description' => 'The weight of the load balancing instance.'."\n"
.'> This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
'LaunchTemplateId' => ['description' => 'The ID of the launch template.', 'type' => 'string', 'example' => 'lt-m5e3ofjr1zn1aw7****', 'title' => ''],
'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'i-bp109k5j3dum1ce6****', 'title' => ''],
'SpotStrategy' => ['description' => 'The preemption policy of the spot instance. Valid values:'."\n"
."\n"
.'- SpotWithPriceLimit: The spot instance has a maximum price limit.'."\n"
.'- SpotAsPriceGo: The system automatically bids at the current market price.', 'type' => 'string', 'example' => 'SpotWithPriceLimit', 'title' => ''],
'LaunchTemplateVersion' => ['description' => 'The version of the launch template.', 'type' => 'string', 'example' => '1', 'title' => ''],
'HealthStatus' => ['description' => 'The health check status of the ECS instance or ECI instance in the scaling group. ECS instances or ECI instances that are not in the Running state are considered unhealthy. Valid values: '."\n"
."\n"
.'- Healthy: The ECS instance or ECI instance is healthy.'."\n"
.'- Unhealthy: The ECS instance or ECI instance is unhealthy.'."\n"
."\n"
.'Auto Scaling automatically removes unhealthy ECS instances or ECI instances from the scaling group and releases the ones created through automatic creation.'."\n"
."\n"
.'Whether manually added ECS instances or ECI instances are released depends on their managed status. If the instance lifecycle is not managed by the scaling group, the instance is only removed but not released. If the instance lifecycle is managed by the scaling group, the instance is removed and released.'."\n"
."\n"
.'> Ensure that your account has sufficient active quota. If your account has an overdue payment, all pay-as-you-go ECS instances or ECI instances, including pay-as-you-go and spot instances, are stopped or even released. For more information about how instance status changes after an overdue payment, see [Overdue payments](~~170589~~).', 'type' => 'string', 'example' => 'Healthy', 'title' => ''],
'ScalingGroupId' => ['description' => 'The ID of the scaling group to which the instance belongs.', 'type' => 'string', 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
'WarmupState' => ['description' => 'The warmup state of the instance. Valid values:'."\n"
.' '."\n"
.'- NoNeedWarmup: No warmup is required.'."\n"
.'- WaitingForInstanceWarmup: The instance is waiting for warmup to complete.'."\n"
.'- InstanceWarmupFinish: Warmup is complete.', 'type' => 'string', 'example' => 'NoNeedWarmup', 'title' => ''],
'LifecycleState' => ['description' => 'The lifecycle state of the ECS instance, ECI instance, or managed instance in the scaling group. Valid values:'."\n"
.' '."\n"
.'- InService: The instance is added to the scaling group and provides services in the Normal state.'."\n"
.'- Pending: The instance is being added to the scaling group. During this procedure, the instance is also added to the backend server group of the associated load balancing instance and to the access whitelist of the associated ApsaraDB RDS instance.'."\n"
.'- Pending:Wait: The instance is pending addition. If a lifecycle hook that applies to scale-out activities is created for the scaling group, the instance is suspended during addition and waits until the lifecycle hook timeout period ends.'."\n"
.'- Protected: The instance is protected. The instance provides services as expected, but Auto Scaling does not manage the lifecycle of the instance. You must manage the lifecycle of the instance manually.'."\n"
.'- Standby: The instance is in the standby state. The instance does not provide services, the weight of SLB backend server is set to zero, and Auto Scaling does not manage the lifecycle of the instance. You must manage the lifecycle of the instance manually.'."\n"
.'- Stopped: The instance is stopped. The ECS instance, ECI instance, or managed instance is stopped and does not provide services.'."\n"
.'- Removing: The instance is being removed from the scaling group. During this procedure, the instance is also removed from the backend server group of the associated load balancing instance and from the access whitelist of the associated ApsaraDB RDS instance.'."\n"
.'- Removing:Wait: The instance is pending removal. If a lifecycle hook that applies to scale-down activities is created for the scaling group, the instance is suspended during removal and waits until the lifecycle hook timeout period ends.'."\n"
.'> Managed instances do not support lifecycle hooks, load balancing association, or health check features.', 'type' => 'string', 'example' => 'InService', 'title' => ''],
'CreationType' => ['description' => 'The method used to create the instance in the scaling group. Valid values:'."\n"
."\n"
.'- AutoCreated: The ECS instance is created through automatic creation by Auto Scaling based on the instance configuration source.'."\n"
.'- Attached: The ECS instance is not created by Auto Scaling but manually added to the scaling group.'."\n"
.'- Managed: The managed instance is not created by Auto Scaling but manually added to the scaling group.', 'type' => 'string', 'example' => 'AutoCreated', 'title' => ''],
'ZoneId' => ['description' => 'The zone ID of the instance.', 'type' => 'string', 'example' => 'cn-hangzhou-g', 'title' => ''],
'ScalingConfigurationId' => ['description' => 'The ID of the associated scaling configuration.', 'type' => 'string', 'example' => 'asc-bp1i65jd06v04vdh****', 'title' => ''],
'Entrusted' => ['description' => 'Indicates whether the manually added instance is managed by the scaling group. Managed instances that are manually added are released when they are removed from the scaling group (excluding manual removal). Valid values:'."\n"
.'- true: The instance is managed by the scaling group.'."\n"
.'- false: The instance is not managed by the scaling group.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'WeightedCapacity' => ['description' => 'The weight of the instance type. The weight indicates the capacity that a single instance of the specified instance type represents in the scaling group. A higher weight means that fewer instances of this type are required to meet the expected capacity.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
'CreatedTime' => ['description' => 'The time when the instance was added to the scaling group. The value is accurate to the second.', 'type' => 'string', 'example' => '2020-05-18T03:11:39Z', 'title' => ''],
'ScalingActivityId' => ['description' => 'The ID of the scaling activity during which the instance was added to the scaling group.', 'type' => 'string', 'example' => 'asa-bp1c9djwrgxjyk31****', 'title' => ''],
'InstanceType' => ['description' => 'The instance type of the instance.', 'type' => 'string', 'example' => 'ecs.n1.small', 'title' => ''],
'ScalingInstanceId' => ['description' => 'The instance identity of the instance in the scaling group, which has a one-to-one mapping with the ECS instance ID or ECI instance ID.', 'type' => 'string', 'example' => 'asi-j6cj1gcte640ekhb****', 'title' => ''],
'PrivateIpAddress' => ['description' => 'The internal IP address of the instance in the scaling group.', 'type' => 'string', 'example' => '1**.2*.1**.2**', 'title' => ''],
'ReplaceStatus' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'title' => 'Query instances in a scaling group',
'summary' => 'Queries the list of ECS instances, ECI instances, or managed instances in a scaling group, and returns information about the instances.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScalingInstances'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScalingInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B13527BF-1FBD-4334-A512-20F5E9D3****\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalSpotCount\\": 4,\\n \\"TotalCount\\": 1,\\n \\"ScalingInstances\\": {\\n \\"ScalingInstance\\": [\\n {\\n \\"CreationTime\\": \\"2020-05-18T03:11Z\\",\\n \\"LoadBalancerWeight\\": 50,\\n \\"LaunchTemplateId\\": \\"lt-m5e3ofjr1zn1aw7****\\",\\n \\"InstanceId\\": \\"i-bp109k5j3dum1ce6****\\",\\n \\"SpotStrategy\\": \\"SpotWithPriceLimit\\",\\n \\"LaunchTemplateVersion\\": \\"1\\",\\n \\"HealthStatus\\": \\"Healthy\\",\\n \\"ScalingGroupId\\": \\"asg-bp1igpak5ft1flyp****\\",\\n \\"WarmupState\\": \\"NoNeedWarmup\\",\\n \\"LifecycleState\\": \\"InService\\",\\n \\"CreationType\\": \\"AutoCreated\\",\\n \\"ZoneId\\": \\"cn-hangzhou-g\\",\\n \\"ScalingConfigurationId\\": \\"asc-bp1i65jd06v04vdh****\\",\\n \\"Entrusted\\": true,\\n \\"WeightedCapacity\\": 4,\\n \\"CreatedTime\\": \\"2020-05-18T03:11:39Z\\",\\n \\"ScalingActivityId\\": \\"asa-bp1c9djwrgxjyk31****\\",\\n \\"InstanceType\\": \\"ecs.n1.small\\",\\n \\"ScalingInstanceId\\": \\"asi-j6cj1gcte640ekhb****\\",\\n \\"PrivateIpAddress\\": \\"1**.2*.1**.2**\\",\\n \\"ReplaceStatus\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'DescribeScalingRules' => [
'summary' => 'Queries the scaling rules in a scaling group and returns information about the scaling rules.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92685',
'abilityTreeNodes' => ['FEATUREessBFLAJQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group to which the scaling rules belong.', 'type' => 'string', 'required' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number of the scaling rule list. Minimum value: 1.'."\n"
."\n"
.'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page for paging queries. Settings: maximum value: 50.'."\n"
."\n"
.'Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'default' => '10', 'example' => '50', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp1ffogfdauy0jw0****', 'title' => ''],
],
[
'name' => 'ScalingRuleType',
'in' => 'query',
'schema' => ['description' => 'The type of the scaling rule. Valid values:'."\n"
."\n"
.'- SimpleScalingRule: simple scaling. Adjusts the number of ECS instances based on the adjustment method (AdjustmentType) and adjustment value (AdjustmentValue).'."\n"
.'- TargetTrackingScalingRule: target tracking scaling rule. Dynamically calculates the number of ECS instances to scale out or scale in based on the predefined monitoring metric (MetricName) and attempts to keep the monitoring metric value close to the target value (TargetValue).'."\n"
.'- StepScalingRule: step scaling rule. Provides step-based extension based on thresholds and metric values.'."\n"
.'- PredictiveScalingRule: predictive scaling rule. Uses machine learning to analyze historical monitoring data of the scaling group, predict future monitoring metric values, and supports automatic creation of scheduled nodes to configure scaling group boundaries.', 'type' => 'string', 'required' => false, 'example' => 'SimpleScalingRule', 'title' => ''],
],
[
'name' => 'ShowAlarmRules',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to return the CloudMonitor event-triggered tasks associated with the scaling rules. Valid values:'."\n"
."\n"
.'- true: Returns the CloudMonitor event-triggered tasks associated with the scaling rules.'."\n"
.'- false: Does not return the CloudMonitor event-triggered tasks associated with the scaling rules.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''],
],
[
'name' => 'ScalingRuleId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of scaling rule N that you want to query. Valid values of N: 1 to 10.',
'type' => 'array',
'items' => ['description' => 'The ID of scaling rule N that you want to query. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'asr-bp1dvirgwkoowxk7****', 'title' => ''],
'required' => false,
'example' => 'asr-bp1dvirgwkoowxk7****',
'maxItems' => 10,
'title' => '',
],
],
[
'name' => 'ScalingRuleName',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The name of scaling rule N that you want to query. Valid values of N: 1 to 10.',
'type' => 'array',
'items' => ['description' => 'The name of scaling rule N that you want to query. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'scalingrule****', 'title' => ''],
'required' => false,
'example' => 'scalingrule****',
'maxItems' => 10,
'title' => '',
],
],
[
'name' => 'ScalingRuleAri',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The unique identifier of scaling rule N that you want to query. Valid values of N: 1 to 10.',
'type' => 'array',
'items' => ['description' => 'The unique identifier of scaling rule N that you want to query. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'ari:acs:ess:cn-hangzhou:140692647406****:scalingrule/asr-bp1dvirgwkoowxk7****', 'title' => ''],
'required' => false,
'example' => 'ari:acs:ess:cn-hangzhou:140692647406****:scalingrule/asr-bp1dvirgwkoowxk7****',
'maxItems' => 10,
'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
'TotalCount' => ['description' => 'The total number of scaling rules.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ScalingRules' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ScalingRule' => [
'description' => 'The collection of scaling rule information.',
'type' => 'array',
'items' => [
'description' => 'The collection of scaling rule information.',
'type' => 'object',
'properties' => [
'MetricName' => ['description' => 'The predefined metric. This parameter is applicable to target tracking scaling rules and predictive scaling rules.'."\n"
."\n"
.'Valid values for target tracking scaling rules:'."\n"
.'- CpuUtilization: the average CPU utilization.'."\n"
.'- ClassicInternetRx: the average inbound traffic over the public network for the classic network.'."\n"
.'- ClassicInternetTx: the average outbound traffic over the public network for the classic network.'."\n"
.'- VpcInternetRx: the average inbound traffic over the public network for VPCs.'."\n"
.'- VpcInternetTx: the average outbound traffic over the public network for VPCs.'."\n"
.'- IntranetRx: the average inbound traffic over the internal network.'."\n"
.'- IntranetTx: the average outbound traffic over the internal network.'."\n"
."\n"
.'Valid values for predictive scaling rules:'."\n"
.'- CpuUtilization: the average CPU utilization.'."\n"
.'- IntranetRx: the average inbound traffic over the internal network.'."\n"
.'- IntranetTx: the average outbound traffic over the internal network.', 'type' => 'string', 'example' => 'CpuUtilization', 'title' => ''],
'AdjustmentType' => ['description' => 'The adjustment method of the scaling rule. Valid values:'."\n"
."\n"
.'- QuantityChangeInCapacity: adds or removes a specified number of ECS instances.'."\n"
.'- PercentChangeInCapacity: adds or removes a specified percentage of ECS instances.'."\n"
.'- TotalCapacity: adjusts the number of ECS instances in the scaling group to a specified value.', 'type' => 'string', 'example' => 'QuantityChangeInCapacity', 'title' => ''],
'InitialMaxSize' => ['description' => 'The maximum number of instances in the scaling group. This parameter is used in combination with PredictiveValueBehavior.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
'EstimatedInstanceWarmup' => ['description' => 'The warm-up period of a newly created instance. During the warm-up period, the launched instance does not contribute to the monitoring metrics of the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'title' => ''],
'ScaleOutEvaluationCount' => ['description' => 'After a target tracking scaling rule is created, an event-triggered task is automatically created through automatic creation. This parameter specifies the number of consecutive times that the conditional threshold must be met before the corresponding scale-out event-triggered node triggers an alert.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'PredictiveScalingMode' => ['description' => 'The mode of the predictive scaling rule. Valid values:'."\n"
."\n"
.'- PredictAndScale: generates prediction results and creates prediction tasks.'."\n"
.'- PredictOnly: generates prediction results but does not create prediction tasks.', 'type' => 'string', 'example' => 'PredictAndScale', 'title' => ''],
'MinAdjustmentMagnitude' => ['description' => 'The minimum number of instances to adjust in the scaling rule. This parameter takes effect only when the scaling rule type is `SimpleScalingRule` or `StepScalingRule` and `AdjustmentType` is set to `PercentChangeInCapacity`.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ScalingRuleAri' => ['description' => 'The unique identifier of the scaling rule.', 'type' => 'string', 'example' => 'ari:acs:ess:cn-hangzhou:140692647406****:scalingrule/asr-bp1dvirgwkoowxk7****', 'title' => ''],
'PredictiveTaskBufferTime' => ['description' => 'The prediction nodes through automatic creation by the predictive scaling rule are executed on the hour by default. You can configure the settings for a buffer time to execute prediction nodes ahead of schedule to prepare resources in advance. Valid values: 0 to 60. Unit: minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
'MinSize' => ['description' => 'The minimum number of instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ScalingGroupId' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'example' => 'asg-bp1ffogfdauy0jw0****', 'title' => ''],
'PredictiveValueBehavior' => ['description' => 'The action on the predicted maximum value. Valid values:'."\n"
."\n"
.'- MaxOverridePredictiveValue: the initial maximum value overrides the predicted value. If the predicted value is greater than the initial maximum value, the maximum value of the prediction task is set to the initial maximum value.'."\n"
.'- PredictiveValueOverrideMax: the predicted value overrides the initial maximum value. If the predicted value is greater than the initial maximum value, the maximum value of the prediction task is set to the predicted value.'."\n"
.'- PredictiveValueOverrideMaxWithBuffer: the predicted value is increased by a specified ratio. The predicted value is increased by the ratio specified by PredictiveValueBuffer. If the increased value is greater than the initial maximum value, the increased value is used.', 'type' => 'string', 'example' => 'MaxOverridePredictiveValue', 'title' => ''],
'TargetValue' => ['description' => 'The target value. When the scaling rule is a target tracking scaling rule or a predictive scaling rule, the scaling rule adds or removes instances to keep the metric close to the target value.', 'type' => 'number', 'format' => 'float', 'example' => '0.125', 'title' => ''],
'Cooldown' => ['description' => 'The cooldown time of the scaling rule. This parameter is applicable only to simple scaling rules. Valid values: 0 to 86400. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
'MaxSize' => ['description' => 'The maximum number of instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'PredictiveValueBuffer' => ['description' => 'This parameter takes effect when PredictiveValueBehavior is set to PredictiveValueOverrideMaxWithBuffer. The predicted value is increased by the specified ratio. If the increased value is greater than the initial maximum value, the increased value is used. Valid values: 0 to 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
'ScalingRuleType' => ['description' => 'The type of the scaling rule. Valid values:'."\n"
."\n"
.'- SimpleScalingRule: simple scaling. Adjusts the number of ECS instances based on the adjustment method (AdjustmentType) and adjustment value (AdjustmentValue).'."\n"
.'- TargetTrackingScalingRule: target tracking scaling rule. Dynamically calculates the number of ECS instances to scale out or scale in based on the predefined monitoring metric (MetricName) and attempts to keep the monitoring metric value close to the target value (TargetValue).'."\n"
.'- StepScalingRule: step scaling rule. Provides step-based extension based on thresholds and metric values.'."\n"
.'- PredictiveScalingRule: predictive scaling rule. Uses machine learning to analyze historical monitoring data of the scaling group, predict future monitoring metric values, and supports automatic creation of scheduled nodes to configure scaling group boundaries.', 'type' => 'string', 'example' => 'SimpleScalingRule', 'title' => ''],
'AdjustmentValue' => ['description' => 'The adjustment value of the scaling rule.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ScaleInEvaluationCount' => ['description' => 'After a target tracking scaling rule is created, an event-triggered task is automatically created through automatic creation. This parameter specifies the number of consecutive times that the conditional threshold must be met before the corresponding scale-in event-triggered node triggers an alert.', 'type' => 'integer', 'format' => 'int32', 'example' => '15', 'title' => ''],
'DisableScaleIn' => ['description' => 'Indicates whether scale-in is disabled. This parameter is applicable only to target tracking scaling rules. Valid values:'."\n"
."\n"
.'- true: Scale-in is disabled.'."\n"
.'- false: Scale-in is allowed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'ScalingRuleName' => ['description' => 'The name of the scaling rule.', 'type' => 'string', 'example' => 'scalingrule****', 'title' => ''],
'ScalingRuleId' => ['description' => 'The ID of the scaling rule.', 'type' => 'string', 'example' => 'asr-bp1dvirgwkoowxk7****', 'title' => ''],
'Alarms' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Alarm' => [
'description' => 'The CloudMonitor event-triggered tasks associated with the scaling rule. Event-triggered tasks are returned only when the ShowAlarmRules parameter is set to true. Otherwise, an empty list is returned.',
'type' => 'array',
'items' => [
'description' => 'The CloudMonitor event-triggered tasks associated with the scaling rule. Event-triggered tasks are returned only when the ShowAlarmRules parameter is set to true. Otherwise, an empty list is returned.',
'type' => 'object',
'properties' => [
'AlarmTaskId' => ['description' => 'The ID of the event-triggered task associated with the scaling rule.', 'type' => 'string', 'example' => 'asg-bp18p2yfxow2dloq****_1f9458d1-70e1-4bee-8c7f-7a47695b****', 'title' => ''],
'ComparisonOperator' => ['description' => 'The comparison operator between the statistical value and the threshold of the metric for the event-triggered task associated with the scaling rule. The comparison operator indicates the relationship in which the statistical value and the threshold can satisfy the condition. Valid values:'."\n"
."\n"
.'- The statistical value is greater than or equal to the threshold. Value: >=.'."\n"
.'- The statistical value is less than or equal to the threshold. Value: <=.'."\n"
.'- The statistical value is greater than the threshold. Value: >.'."\n"
.'- The statistical value is less than the threshold. Value: <.', 'type' => 'string', 'example' => '>=', 'title' => ''],
'MetricName' => ['description' => 'The name of the metric for the event-triggered task associated with the scaling rule.', 'type' => 'string', 'example' => 'CpuUtilization', 'title' => ''],
'EvaluationCount' => ['description' => 'The number of consecutive times that the threshold expression must be met before the event-triggered task associated with the scaling rule enters the alert state.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'AlarmTaskName' => ['description' => 'The name of the event-triggered task associated with the scaling rule.', 'type' => 'string', 'example' => 'alarmtask****', 'title' => ''],
'MetricType' => ['description' => 'The type of the event-triggered task associated with the scaling rule. Valid values:'."\n"
."\n"
.'- system: system monitoring event-triggered task.'."\n"
.'- custom: custom monitoring event-triggered task.', 'type' => 'string', 'example' => 'system', 'title' => ''],
'Threshold' => ['description' => 'The alert threshold of the event-triggered task associated with the scaling rule.', 'type' => 'number', 'format' => 'float', 'example' => '50', 'title' => ''],
'Statistics' => ['description' => 'The statistical method of the event-triggered task associated with the scaling rule. Valid values:'."\n"
."\n"
.'- Average: the average value.'."\n"
.'- Maximum: the maximum value.'."\n"
.'- Minimum: the minimum value.', 'type' => 'string', 'example' => 'Average', 'title' => ''],
'Dimensions' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Dimension' => [
'description' => 'The dimension information of the event-triggered task associated with the scaling rule.',
'type' => 'array',
'items' => [
'description' => 'The dimension information of the event-triggered task associated with the scaling rule.',
'type' => 'object',
'properties' => [
'DimensionKey' => ['description' => 'The dimension key of the event-triggered task associated with the metric. Valid values:'."\n"
."\n"
.'- scaling_group: the scaling group ID.'."\n"
.'- userId: the user account ID.', 'type' => 'string', 'example' => 'scaling_group', 'title' => ''],
'DimensionValue' => ['description' => 'The dimension value of the event-triggered task associated with the metric.', 'type' => 'string', 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'Period' => ['description' => 'The statistical period for monitoring data in the target tracking scaling rule.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'StepAdjustments' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'StepAdjustment' => [
'description' => 'The step adjustments of the step scaling rule.',
'type' => 'array',
'items' => [
'description' => 'The step adjustments of the step scaling rule.',
'type' => 'object',
'properties' => [
'MetricIntervalUpperBound' => ['description' => 'The upper bound of the step adjustment. Valid values: -9.999999E18 to 9.999999E18.', 'type' => 'number', 'format' => 'float', 'example' => '5.0', 'title' => ''],
'ScalingAdjustment' => ['description' => 'The number of instances to scale for the step adjustment.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'MetricIntervalLowerBound' => ['description' => 'The lower bound of the step adjustment. Valid values: -9.999999E18 to 9.999999E18.', 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'AlarmDimensions' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'AlarmDimension' => [
'description' => 'The dimension information associated with the metric. This parameter is applicable to target tracking scaling rules. Set this parameter when the metric requires additional dimension information, such as the `rulePool` dimension for the `LoadBalancerRealServerAverageQps` metric.',
'type' => 'array',
'items' => [
'description' => 'The dimension information associated with the metric. This parameter is applicable to target tracking scaling rules. Set this parameter when the metric requires additional dimension information, such as the `rulePool` dimension for the `LoadBalancerRealServerAverageQps` metric.',
'type' => 'object',
'properties' => [
'DimensionKey' => ['description' => 'The dimension key associated with the metric.', 'type' => 'string', 'example' => 'rulePool', 'title' => ''],
'DimensionValue' => ['description' => 'The dimension value associated with the metric.', 'type' => 'string', 'example' => 'sgp-l1cbirz451yxu2****', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'MetricType' => ['description' => 'The type of the metric. Valid values:'."\n"
."\n"
.'- system: uses CloudMonitor system metrics.'."\n"
.'- custom: uses custom metrics reported to CloudMonitor.'."\n"
.'- hybrid: uses Hybrid Cloud Monitoring metrics.', 'type' => 'string', 'example' => 'system', 'title' => ''],
'HybridMonitorNamespace' => ['description' => 'The ID of the Hybrid Cloud Monitoring monitoring metrics repository.'."\n"
."\n"
.'To manage monitoring metrics repositories, see [Manage monitoring metrics repositories](~~217606~~).', 'type' => 'string', 'example' => 'aliyun-test', 'title' => ''],
'HybridMetrics' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'HybridMetric' => [
'description' => 'The Hybrid Cloud Monitoring monitoring metrics settings. For more information, see [Use formula-based custom target tracking scaling rules](~~2852162~~).',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Id' => ['description' => 'The reference ID of the metric in the formula expression.', 'type' => 'string', 'example' => 'a', 'title' => ''],
'Expression' => ['description' => 'The formula expression for multiple Hybrid Cloud Monitoring metrics. The calculation result of the expression is used to trigger scaling. The expression must comply with the Reverse Polish Notation (RPN) specification and supports only the `+ - * /` operators.', 'type' => 'string', 'example' => '(a+b)/2', 'title' => ''],
'MetricName' => ['description' => 'The name of the monitoring metric in the Hybrid Cloud Monitoring monitoring metrics repository.', 'type' => 'string', 'example' => 'AliyunSmq_NumberOfMessagesVisible', 'title' => ''],
'Statistic' => ['description' => 'The statistical method of the metric. Valid values:'."\n"
.'- Average: the average of all data points within the specified interval.'."\n"
.'- Minimum: the minimum of all data points within the specified interval.'."\n"
.'- Maximum: the maximum of all data points within the specified interval.', 'type' => 'string', 'example' => 'Average', 'title' => ''],
'Dimensions' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Dimension' => [
'description' => 'The metric dimension. Specifies the resource to be monitored by the metric.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'DimensionKey' => ['description' => 'The dimension key of the metric.', 'type' => 'string', 'example' => 'queue', 'title' => ''],
'DimensionValue' => ['description' => 'The dimension value of the metric.', 'type' => 'string', 'example' => 'testQueue', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 50,\\n \\"TotalCount\\": 1,\\n \\"ScalingRules\\": {\\n \\"ScalingRule\\": [\\n {\\n \\"MetricName\\": \\"CpuUtilization\\",\\n \\"AdjustmentType\\": \\"QuantityChangeInCapacity\\",\\n \\"InitialMaxSize\\": 100,\\n \\"EstimatedInstanceWarmup\\": 300,\\n \\"ScaleOutEvaluationCount\\": 3,\\n \\"PredictiveScalingMode\\": \\"PredictAndScale\\",\\n \\"MinAdjustmentMagnitude\\": 1,\\n \\"ScalingRuleAri\\": \\"ari:acs:ess:cn-hangzhou:140692647406****:scalingrule/asr-bp1dvirgwkoowxk7****\\",\\n \\"PredictiveTaskBufferTime\\": 30,\\n \\"MinSize\\": 1,\\n \\"ScalingGroupId\\": \\"asg-bp1ffogfdauy0jw0****\\",\\n \\"PredictiveValueBehavior\\": \\"MaxOverridePredictiveValue\\",\\n \\"TargetValue\\": 0.125,\\n \\"Cooldown\\": 20,\\n \\"MaxSize\\": 2,\\n \\"PredictiveValueBuffer\\": 50,\\n \\"ScalingRuleType\\": \\"SimpleScalingRule\\",\\n \\"AdjustmentValue\\": 1,\\n \\"ScaleInEvaluationCount\\": 15,\\n \\"DisableScaleIn\\": true,\\n \\"ScalingRuleName\\": \\"scalingrule****\\",\\n \\"ScalingRuleId\\": \\"asr-bp1dvirgwkoowxk7****\\",\\n \\"Alarms\\": {\\n \\"Alarm\\": [\\n {\\n \\"AlarmTaskId\\": \\"asg-bp18p2yfxow2dloq****_1f9458d1-70e1-4bee-8c7f-7a47695b****\\",\\n \\"ComparisonOperator\\": \\">=\\",\\n \\"MetricName\\": \\"CpuUtilization\\",\\n \\"EvaluationCount\\": 3,\\n \\"AlarmTaskName\\": \\"alarmtask****\\",\\n \\"MetricType\\": \\"system\\",\\n \\"Threshold\\": 50,\\n \\"Statistics\\": \\"Average\\",\\n \\"Dimensions\\": {\\n \\"Dimension\\": [\\n {\\n \\"DimensionKey\\": \\"scaling_group\\",\\n \\"DimensionValue\\": \\"asg-bp18p2yfxow2dloq****\\"\\n }\\n ]\\n },\\n \\"Period\\": 60\\n }\\n ]\\n },\\n \\"StepAdjustments\\": {\\n \\"StepAdjustment\\": [\\n {\\n \\"MetricIntervalUpperBound\\": 5,\\n \\"ScalingAdjustment\\": 1,\\n \\"MetricIntervalLowerBound\\": 1\\n }\\n ]\\n },\\n \\"AlarmDimensions\\": {\\n \\"AlarmDimension\\": [\\n {\\n \\"DimensionKey\\": \\"rulePool\\",\\n \\"DimensionValue\\": \\"sgp-l1cbirz451yxu2****\\"\\n }\\n ]\\n },\\n \\"MetricType\\": \\"system\\",\\n \\"HybridMonitorNamespace\\": \\"aliyun-test\\",\\n \\"HybridMetrics\\": {\\n \\"HybridMetric\\": [\\n {\\n \\"Id\\": \\"a\\",\\n \\"Expression\\": \\"(a+b)/2\\",\\n \\"MetricName\\": \\"AliyunSmq_NumberOfMessagesVisible\\",\\n \\"Statistic\\": \\"Average\\",\\n \\"Dimensions\\": {\\n \\"Dimension\\": [\\n {\\n \\"DimensionKey\\": \\"queue\\",\\n \\"DimensionValue\\": \\"testQueue\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Query scaling rules',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScalingRules'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScalingRules',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DescribeScheduledTasks' => [
'summary' => 'Queries information about scheduled tasks.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92686',
'abilityTreeNodes' => ['FEATUREessAWW1X1'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group to which the scheduled task belongs.', 'type' => 'string', 'required' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => ['description' => 'The page number of the scheduled task list. Minimum value: 1.'."\n"
."\n"
.'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page for a paged query. Maximum value: 50.'."\n"
."\n"
.'Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'default' => '10', 'example' => '50', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group that executes the scheduled task.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp1bo5tca4m56nap****', 'title' => ''],
],
[
'name' => 'ScheduledAction',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The scaling rule used when the scheduled task is triggered. This parameter is returned only when the scheduled task specifies a scaling rule.',
'type' => 'array',
'items' => ['description' => 'The scaling rule used when the scheduled task is triggered. This parameter is returned only when the scheduled task specifies a scaling rule. Valid values of N: 0 to 20.'."\n"
."\n"
.'The value is the unique identifier of the scaling rule (ScalingRuleAri).', 'type' => 'string', 'required' => false, 'example' => 'ari:acs:ess:cn-hangzhou:1406926474****:scalingrule/asr-bp1id5rhu8edp7kd****', 'title' => ''],
'required' => false,
'example' => 'ari:acs:ess:cn-hangzhou:1406926474****:scalingrule/asr-bp1id5rhu8edp7kd****',
'maxItems' => 20,
'title' => '',
],
],
[
'name' => 'ScheduledTaskId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the scheduled task to query.',
'type' => 'array',
'items' => ['description' => 'The ID of the scheduled task to query. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'edRtShc57WGXdt8TlPbr****', 'title' => ''],
'required' => false,
'example' => 'edRtShc57WGXdt8TlPbr****',
'maxItems' => 20,
'title' => '',
],
],
[
'name' => 'ScheduledTaskName',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The name of the scheduled task to query.',
'type' => 'array',
'items' => ['description' => 'The name of the scheduled task to query. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'scheduled****', 'title' => ''],
'required' => false,
'example' => 'scheduled****',
'maxItems' => 20,
'title' => '',
],
],
[
'name' => 'TaskName',
'in' => 'query',
'schema' => ['description' => 'The task name. Fuzzy match by keyword is supported.', 'type' => 'string', 'required' => false, 'example' => 'scheduled****', 'title' => ''],
],
[
'name' => 'RecurrenceType',
'in' => 'query',
'schema' => ['description' => 'The recurrence type of the scheduled task. Valid values:'."\n"
."\n"
.'- Daily: The scheduled task is executed every specified number of days.'."\n"
.'- Weekly: The scheduled task is executed on specified days of each week.'."\n"
.'- Monthly: The scheduled task is executed on specified days of each month.'."\n"
.'- Cron: The scheduled task is executed based on a specified cron expression.', 'type' => 'string', 'required' => false, 'example' => 'Weekly', 'title' => ''],
],
[
'name' => 'RecurrenceValue',
'in' => 'query',
'schema' => ['description' => 'The recurrence value of the scheduled task.'."\n"
."\n"
.'This parameter is supported only when RecurrenceType is set to Weekly. You can specify multiple values separated by commas (,). For example, the values for Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday are 0, 1, 2, 3, 4, 5, and 6.', 'type' => 'string', 'required' => false, 'example' => '1,2,3', 'title' => ''],
],
[
'name' => 'TaskEnabled',
'in' => 'query',
'schema' => ['description' => 'Specifies whether the scheduled task is enabled.'."\n"
."\n"
.'- true: The task is enabled.'."\n"
.'- false: The task is disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
'TotalCount' => ['description' => 'The total number of scheduled tasks.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'ScheduledTasks' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ScheduledTask' => [
'description' => 'The collection of scheduled task information.',
'type' => 'array',
'items' => [
'description' => 'The collection of scheduled task information.',
'type' => 'object',
'properties' => [
'TaskEnabled' => ['description' => 'Indicates whether the scheduled task is enabled. '."\n"
.'- true: The task is enabled.'."\n"
.'- false: The task is disabled.'."\n"
."\n"
.'Default value: true.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'RecurrenceValue' => ['description' => 'The recurrence value of the scheduled task.', 'type' => 'string', 'example' => '1', 'title' => ''],
'RecurrenceType' => ['description' => 'The recurrence type of the scheduled task.', 'type' => 'string', 'example' => 'Daily', 'title' => ''],
'MaxValue' => ['description' => 'The maximum number of instances in the scaling group. This parameter is returned when the scaling method of the scheduled task is set to configure the number of instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'ScheduledTaskName' => ['description' => 'The name of the scheduled task.', 'type' => 'string', 'example' => 'scheduled****', 'title' => ''],
'RecurrenceEndTime' => ['description' => 'The end time of the recurrence of the scheduled task.', 'type' => 'string', 'example' => '2014-08-20T16:55Z', 'title' => ''],
'DesiredCapacity' => ['description' => 'The expected number of instances in the scaling group. This parameter is returned when the scaling method of the scheduled task is set to configure the number of instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'ScheduledTaskId' => ['description' => 'The ID of the scheduled task.', 'type' => 'string', 'example' => 'edRtShc57WGXdt8TlPbr****', 'title' => ''],
'MinValue' => ['description' => 'The minimum number of instances in the scaling group. This parameter is returned when the scaling method of the scheduled task is set to configure the number of instances in the scaling group.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
'ScalingGroupId' => ['description' => 'The ID of the scaling group that executes the scheduled task.', 'type' => 'string', 'example' => 'asg-bp1bo5tca4m56nap****', 'title' => ''],
'LaunchExpirationTime' => ['description' => 'The time period during which a retry is performed after the scheduled task fails to be triggered. Unit: seconds. Valid values: 0 to 21600.', 'type' => 'integer', 'format' => 'int32', 'example' => '600', 'title' => ''],
'Description' => ['description' => 'The description of the scheduled task.', 'type' => 'string', 'example' => 'Test scheduled task.', 'title' => ''],
'ScheduledAction' => ['description' => 'The scaling rule used when the scheduled task is executed. This parameter is returned only when the scheduled task specifies a scaling rule.', 'type' => 'string', 'example' => 'ari:acs:ess:cn-hangzhou:1406926474****:scalingrule/asr-bp1id5rhu8edp7kd****', 'title' => ''],
'LaunchTime' => ['description' => 'The point in time at which the scheduled task is triggered.', 'type' => 'string', 'example' => '2014-08-18T10:52Z', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 50,\\n \\"TotalCount\\": 1,\\n \\"ScheduledTasks\\": {\\n \\"ScheduledTask\\": [\\n {\\n \\"TaskEnabled\\": true,\\n \\"RecurrenceValue\\": \\"1\\",\\n \\"RecurrenceType\\": \\"Daily\\",\\n \\"MaxValue\\": 10,\\n \\"ScheduledTaskName\\": \\"scheduled****\\",\\n \\"RecurrenceEndTime\\": \\"2014-08-20T16:55Z\\",\\n \\"DesiredCapacity\\": 10,\\n \\"ScheduledTaskId\\": \\"edRtShc57WGXdt8TlPbr****\\",\\n \\"MinValue\\": 0,\\n \\"ScalingGroupId\\": \\"asg-bp1bo5tca4m56nap****\\",\\n \\"LaunchExpirationTime\\": 600,\\n \\"Description\\": \\"Test scheduled task.\\",\\n \\"ScheduledAction\\": \\"ari:acs:ess:cn-hangzhou:1406926474****:scalingrule/asr-bp1id5rhu8edp7kd****\\",\\n \\"LaunchTime\\": \\"2014-08-18T10:52Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Query scheduled task information',
'description' => '## Operation description'."\n"
."\n"
.'You can query scheduled tasks by scheduled task ID, scheduled task name, or scaling rule associated with the scheduled task.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScheduledTasks'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScheduledTasks',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DetachAlbServerGroups' => [
'summary' => 'Removes one or more Application Load Balancer (ALB) server groups from a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92688',
'abilityTreeNodes' => ['FEATUREess2GK585'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group, such as ap-southeast-1. For more information, see [Regions and zones](~~40654~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests.'."\n"
."\n"
.'The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'ForceDetach',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to remove existing ECS instances from the ALB server groups to be detached.'."\n"
."\n"
.'- true: removes the instances and returns a ScalingActivityId. You can check the scaling activity ID to determine whether the existing instances are removed.'."\n"
."\n"
.'- false: does not remove the instances.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''],
],
[
'name' => 'AlbServerGroup',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of ALB server groups.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'AlbServerGroupId' => ['description' => 'The ID of the ALB server group. N specifies the sequence number of the ALB server group.', 'type' => 'string', 'required' => true, 'example' => 'sgp-ddwb0y0g6y9bjm****', 'title' => ''],
'Port' => ['description' => 'The port number used by ECS instances in the ALB server group. N specifies the sequence number of the ALB server group.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '22', 'title' => ''],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => true,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingActivityId' => ['description' => 'The ID of the scaling activity that is triggered when the ALB server groups are removed along with the ECS instances in the ALB server groups. This parameter is returned only when ForceDetach is set to true.', 'type' => 'string', 'example' => 'asa-2ze6wxj8vsohn6j9****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivityId\\": \\"asa-2ze6wxj8vsohn6j9****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]',
'title' => 'Remove one or more ALB server groups',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|AlbServerGroup.NotAttached|The ALB server groups are not attached to specific ScalingGroup.|The specified ALB server groups are not attached to the scaling group.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachAlbServerGroups'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DetachAlbServerGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DetachDBInstances' => [
'summary' => 'Removes one or more ApsaraDB RDS instances.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92689',
'abilityTreeNodes' => ['FEATUREessJZ6DNF'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
],
[
'name' => 'ForceDetach',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to remove the private IP addresses of instances in the scaling group from the IP whitelist of the RDS instance when the RDS instance is removed from the scaling group. Valid values:'."\n"
."\n"
.'- true: Removes the private IP addresses.'."\n"
."\n"
.'- false: Does not remove the private IP addresses.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'DBInstance',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the RDS instance. You can remove up to five RDS instances at a time.',
'type' => 'array',
'items' => ['description' => 'The ID of the RDS instance. You can remove up to five RDS instances at a time.', 'type' => 'string', 'required' => false, 'example' => 'rm-bp12cy3****', 'title' => ''],
'required' => true,
'example' => 'rm-bp12cy3****',
'maxItems' => 5,
'title' => '',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'RemoveSecurityGroup',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to remove the security group whitelist that was added when the scaling group was associated with the database. This parameter takes effect only for databases whose `AttachMode` parameter is set to `SecurityGroup`. Valid values:'."\n"
."\n"
.'- true: Removes the security group ID that was added when the scaling group was associated with the database.'."\n"
.'- false: Does not remove the security group ID that was added when the scaling group was associated with the database.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Remove one or more RDS instances',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in the current account.|'."\n"
.'|400|InvalidDBInstanceId.NotFound|DB instance "%s" does not exist.|The specified RDS instance does not exist.|.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DetachDBInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachDBInstances'],
],
],
],
'DetachInstances' => [
'summary' => 'Removes one or more ECS instances from a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92690',
'abilityTreeNodes' => ['FEATUREessDFX5TO'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
],
[
'name' => 'DecreaseDesiredCapacity',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to modify the expected number of instances. Valid values:'."\n"
."\n"
.'- true: After the ECS instances, elastic container instances, or managed instances are removed from the scaling group, the expected number of instances is decreased by the corresponding amount.'."\n"
.'- false: After the ECS instances, elastic container instances, or managed instances are removed from the scaling group, the expected number of instances remains unchanged.'."\n"
."\n"
.'Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'IgnoreInvalidInstance',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to ignore invalid instances when removing a batch of instances from the scaling group. Valid values:'."\n"
."\n"
.'- true: Invalid instances are ignored when a batch of instances is removed from the scaling group.'."\n"
."\n"
.' If a batch of instances contains invalid instances (for example, instances whose instance status is `Pending`) and the valid instances are successfully removed, the scaling activity execute status is displayed as `Warning`. You can view the invalid instances in the scaling activity details.'."\n"
.'- false: Invalid instances are not ignored when a batch of instances is removed from the scaling group.'."\n"
."\n"
.' If a batch of instances contains invalid instances (for example, instances whose instance status is `Pending`), an error is returned.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'DetachOption',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to stop using ECS instances or elastic container instances as backend servers of the associated load balancing instance (that is, remove the ECS instances or elastic container instances from the default server group and virtual server group of the load balancing instance), and whether to remove the ECS instances or elastic container instances from the access whitelist of the associated ApsaraDB RDS instance.'."\n"
."\n"
.'both: removes the ECS instances or elastic container instances from the default server group and virtual server group of the load balancing instance, and removes the ECS instances or elastic container instances from the access whitelist of the ApsaraDB RDS instance.'."\n"
."\n"
.'> Settings for this parameter are not supported when managed instances are removed from the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'both', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the ECS instance, elastic container instance, or managed instance to be removed.',
'type' => 'array',
'items' => ['description' => 'Instance ID of the ECS instance, elastic container instance, or managed instance to be removed. Valid values of N: 1 to 20.'."\n"
."\n"
.'Examples:'."\n"
."\n"
.'- Instance ID of the ECS instance to be removed is `i-bp109k5j3dum1ce6****`.'."\n"
.'- Instance ID of the elastic container instance to be removed is `eci-bp17gw49eu09yiwm****`.'."\n"
.'- Instance ID of the managed instance to be removed is `mi-d23fsd******`.'."\n"
.'> Only one type of instance can be removed in a single request.', 'type' => 'string', 'required' => false, 'example' => 'i-bp109k5j3dum1ce6****', 'title' => ''],
'required' => true,
'example' => 'i-bp109k5j3dum1ce6****',
'maxItems' => 100,
'title' => '',
],
],
[
'name' => 'LifecycleHook',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to trigger the scale-in lifecycle hook when ECS instances or elastic container instances are removed from the scaling group. Valid values:'."\n"
.'- true: triggers the lifecycle hook.'."\n"
.'- false: does not trigger the lifecycle hook.'."\n"
.'> This parameter is not supported when managed instances are removed from the scaling group.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'example' => 'false', 'required' => false, 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingActivityId' => ['description' => 'The ID of the scaling activity.', 'type' => 'string', 'example' => 'asa-bp1gbswjhjrw8tko****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivityId\\": \\"asa-bp1gbswjhjrw8tko****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Remove one or more ECS instances from a scaling group',
'description' => '## Operation description'."\n"
."\n"
.'- Before you call this operation, make sure that the following conditions are met:'."\n"
.' - The scaling group is in the **Enabled** state.'."\n"
.' - No scaling activity is in progress in the scaling group.'."\n"
."\n"
.' > If no scaling activity is in progress in the scaling group, this operation can bypass the cooldown time and directly trigger a scaling activity.'."\n"
."\n"
.'- Take note of the following items:'."\n"
.' - After an ECS instance, an elastic container instance, or a managed instance is removed from a scaling group, the instance continues to exist independently. You can call the [AttachInstances](~~25954~~) operation to add the ECS instance, elastic container instance, or managed instance to another scaling group.'."\n"
.' - Calling this operation to remove an ECS instance, an elastic container instance, or a managed instance does not stop or release the instance.'."\n"
.' - After the operation is called, it only indicates that Auto Scaling has accepted the request. A scaling activity can be triggered, but the success of the scaling activity is not guaranteed. You must check the status of the scaling activity based on the returned ScalingActivityId.'."\n"
.' - The number of ECS instances, elastic container instances, or managed instances in the scaling group minus the number of instances being removed cannot be less than the minimum number of instances (MinSize) in the scaling group. Otherwise, an error is returned.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|IncorrectScalingGroupStatus|The current status of the specified scaling group does not support this action.|The scaling group must be in the Enabled state.|'."\n"
.'|400|ScalingActivityInProgress|You cannot delete a scaling group or launch a new scaling activity while there is a scaling activity in progress for the specified scaling group.|No scaling activity can be in progress in the scaling group.|'."\n"
.'|400|IncorrectLoadBalancerStatus|The current status of the specified load balancer does not support this action.|The load balancing instance associated with the scaling group must be in the Active state.|'."\n"
.'|400|IncorrectDBInstanceStatus|The current status of DB instance "XXX" does not support this action.|The ApsaraDB RDS instance associated with the scaling group must be in the Running state.|'."\n"
.'|400|IncorrectCapacity.MinSize|To remove the instances, the total capacity will be lesser than the MinSize.|The number of ECS instances or elastic container instances in the scaling group minus the number of instances being removed cannot be less than the minimum number of instances (MinSize) in the scaling group.|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You are not authorized to call the DetachInstances operation.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist.|'."\n"
.'|404|InvalidInstanceId.NotFound|Instance "XXX" does not exist.|The specified ECS instance or elastic container instance does not exist.|',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachInstances'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DetachInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DetachLoadBalancers' => [
'summary' => 'Removes one or more load balancing instances.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92691',
'abilityTreeNodes' => ['FEATUREess2GK585'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asg-bp1ffogfdauy0jw0****', 'title' => ''],
],
[
'name' => 'ForceDetach',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to remove ECS instances that belong to the current scaling group from the backend servers of the load balancing instance after the load balancing instance is removed. Valid values:'."\n"
."\n"
.'- true: Removes the ECS instances.'."\n"
."\n"
.'- false: Does not remove the ECS instances.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests.'."\n"
."\n"
.'The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'Async',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to use asynchronous invocation when removing load balancing instances. Asynchronous invocation ensures the transactional nature of the operation, which means that either all operations execute successfully or none of the operations take effect if one fails. Use asynchronous invocation.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'- true: Asynchronous invocation. The request returns the ID of the scaling activity.'."\n"
."\n"
.'- false: Synchronous call.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'LoadBalancer',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the load balancing instance. You can remove up to five load balancing instances at a time.',
'type' => 'array',
'items' => ['description' => 'The ID of the load balancing instance. You can remove up to five load balancing instances at a time.', 'type' => 'string', 'required' => false, 'example' => 'lb-2zeur05gfs****', 'title' => ''],
'required' => true,
'example' => 'lb-2zeur05gfs****',
'maxItems' => 5,
'title' => '',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingActivityId' => ['description' => 'The ID of the scaling activity.'."\n"
."\n"
.'This value is returned only when `Async=true`. You can call the [DescribeScalingActivities](~~25961~~) operation to query the returned scaling activity ID and check the execution status of the scaling activity.', 'type' => 'string', 'example' => 'asa-bp140qd7mak8k63f****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivityId\\": \\"asa-bp140qd7mak8k63f****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Remove one or more load balancing instances',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You have not granted Auto Scaling full permissions to invoke API operations.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in your account.|'."\n"
.'|404|InvalidLoadBalancerId.NotFound|The Load Balancer "%s" does not exist.|The specified load balancing instance does not exist in the scaling group.|',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachLoadBalancers'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DetachLoadBalancers',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DetachServerGroups' => [
'summary' => 'Removes one or more load balancing server groups from a scaling group. Supported server group types include Application Load Balancer (ALB) and Network Load Balancer (NLB).',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '166341',
'abilityTreeNodes' => ['FEATUREess2GK585'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The scaling group ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'ForceDetach',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to remove ECS instances or elastic container instances in the current scaling group from the server groups to be removed. Valid values:'."\n"
."\n"
.'- true: Removes the instances.'."\n"
."\n"
.'- false: Does not remove the instances.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''],
],
[
'name' => 'ServerGroup',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The information about the load balancing server groups.',
'type' => 'array',
'items' => [
'description' => 'The information about the load balancing server groups.',
'type' => 'object',
'properties' => [
'ServerGroupId' => ['description' => 'The ID of the load balancing server group.', 'type' => 'string', 'required' => true, 'example' => 'sgp-1gv2uidn2msy****', 'title' => ''],
'Type' => ['description' => 'The type of the load balancing server group. Valid values:'."\n"
."\n"
.'- ALB: Application Load Balancer (ALB).'."\n"
.'- NLB: Network Load Balancer (NLB).'."\n"
.'- GWLB: Gateway Load Balancer (GWLB).', 'type' => 'string', 'required' => true, 'example' => 'ALB', 'title' => ''],
'Port' => ['description' => 'The port number used by ECS instances or elastic container instances in the load balancing server group.'."\n"
."\n"
.'> This parameter is required for ALB and NLB load balancing server groups. This parameter cannot be configured for GWLB load balancing server groups. Settings default value is 6081.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '22', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingActivityId' => ['description' => 'The ID of the scaling activity that is triggered when ECS instances or elastic container instances are removed from the load balancing server group along with the server group removal.'."\n"
."\n"
.'> This parameter is returned only when ForceDetach is set to true.', 'type' => 'string', 'example' => 'asa-bp1gbswjhjrw8tko****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6EF9BFEE-FE07-4627-B8FB-14326FB9****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivityId\\": \\"asa-bp1gbswjhjrw8tko****\\",\\n \\"RequestId\\": \\"6EF9BFEE-FE07-4627-B8FB-14326FB9****\\"\\n}","type":"json"}]',
'title' => 'Remove one or more load balancing server groups',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachServerGroups'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DetachServerGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'DetachVServerGroups' => [
'summary' => 'Removes one or more virtual server groups.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92692',
'abilityTreeNodes' => ['FEATUREess2GK585'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where the scaling group resides, such as `ap-southeast-1` or `cn-shanghai`. For more information, see [Regions and zones](~~40654~~).', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1fo0dbtsbmqa9h****', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'ForceDetach',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to remove the instances in the current scaling group from the virtual server groups to be removed. '."\n"
."\n"
.'- true: removes the instances. If you set this parameter to `true`, the system removes the instances that are associated with the scaling group from the backend servers of the load balancing instance when the load balancing instance is removed from the scaling group.'."\n"
."\n"
.'- false: does not remove the instances. If you set this parameter to `false`, the system does not remove the instances that are associated with the scaling group from the backend servers of the load balancing instance when the load balancing instance is removed from the scaling group.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''],
],
[
'name' => 'VServerGroup',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The information about the virtual server groups associated with the scaling group.',
'type' => 'array',
'items' => [
'description' => 'The information about the virtual server groups to be removed.',
'type' => 'object',
'properties' => [
'VServerGroupAttribute' => [
'description' => 'The attribute column list of virtual server groups.',
'type' => 'array',
'items' => [
'description' => 'The list of virtual server groups.',
'type' => 'object',
'properties' => [
'VServerGroupId' => ['description' => 'The ID of the virtual server group.'."\n"
."\n"
.'- The first N specifies the load balancing instance number. Valid values: 1 to 5.'."\n"
."\n"
.'- The second N specifies the virtual server group number under the load balancing instance. Valid values: 1 to 5.', 'type' => 'string', 'required' => false, 'example' => 'rsp-bp1jp1rge****', 'title' => ''],
'Port' => ['description' => 'The port number used by Auto Scaling to add ECS instances or elastic container instances to the virtual server group. Valid values: 1 to 65535.'."\n"
."\n"
.'- The first N specifies the load balancing instance number. Valid values: 1 to 5.'."\n"
."\n"
.'- The second N specifies the virtual server group number under the load balancing instance. Valid values: 1 to 5.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '22', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
'LoadBalancerId' => ['description' => 'The ID of the load balancing instance to which the virtual server group belongs.'."\n"
."\n"
.'N specifies the load balancing instance number. Valid values: 1 to 5.'."\n"
."\n"
.'>You can remove up to five load balancing instances from a scaling group at a time.', 'type' => 'string', 'required' => false, 'example' => 'lb-bp1p90y3ya9h8s62d****', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'DetachVServerGroups',
'description' => '## Operation description'."\n"
."\n"
.'- To confirm the virtual server groups to remove, you must specify the following request parameters at the same time:'."\n"
."\n"
.' - LoadBalancerId: the instance ID of the load balancing instance.'."\n"
.' - VServerGroupId: the ID of the virtual server group. '."\n"
.' - Port: the port number of the virtual server group.'."\n"
."\n"
.'- If the virtual server groups specified in the request parameters match those associated with the scaling group, the virtual server groups are removed. If no match is found, the removal request is ignored and no error is returned.'."\n"
."\n"
.'- When you remove a load balancing instance from a scaling group, confirm that the load balancing instance no longer distributes requests to instances in the scaling group to prevent service request loss.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You have not granted Auto Scaling full permissions to call API operations.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in your account.|'."\n"
.'|400|InvalidParameter|The specified value of parameter "%s" is not valid.|The specified parameter value is invalid.|'."\n"
.'|400|MissingParameter|The input parameter "%s" that is mandatory for processing this request is not supplied.|A required parameter is missing.|.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DetachVServerGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachVServerGroups'],
],
],
],
'DisableAlarm' => [
'summary' => 'Disables an event-triggered task.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92693',
'abilityTreeNodes' => ['FEATUREessBFLAJQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'AlarmTaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the event-triggered task.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '086EFCD4-C76F-4DC6-9EE9-0D9B711E****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"086EFCD4-C76F-4DC6-9EE9-0D9B711E****\\"\\n}","type":"json"}]',
'title' => 'Disable an event-triggered task',
'description' => '## Operation description'."\n"
."\n"
.'Before you disable an event-triggered task, the task must be in the Normal, Alerting, or Insufficient Data state.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DisableAlarm',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DisableAlarm'],
],
],
],
'DisableScalingGroup' => [
'summary' => 'Disables a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92694',
'abilityTreeNodes' => ['FEATUREessUCEVTM'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Disable a scaling group',
'description' => '## Operation description'."\n"
."\n"
.'Before you disable a specified scaling group, take note of the following items:'."\n"
."\n"
.'- Scaling activities that were triggered before the scaling group is disabled continue to completion. Scaling activities triggered after the scaling group is disabled are rejected.'."\n"
."\n"
.'- You can invoke this operation only when the scaling group is in the Active state.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in the current account.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DisableScalingGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DisableScalingGroup'],
],
],
],
'EnableAlarm' => [
'summary' => 'Enables an event-triggered task.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92695',
'abilityTreeNodes' => ['FEATUREessBFLAJQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'AlarmTaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the event-triggered task.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '688B18B8-FB1E-42EB-A1ED-7F55B090****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"688B18B8-FB1E-42EB-A1ED-7F55B090****\\"\\n}","type":"json"}]',
'title' => 'Enable an event-triggered task',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnableAlarm'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:EnableAlarm',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'EnableScalingGroup' => [
'summary' => 'Enables a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92696',
'abilityTreeNodes' => ['FEATUREessUCEVTM'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp14wlu85wrpchm0****', 'title' => ''],
],
[
'name' => 'ActiveScalingConfigurationId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling configuration to be activated in the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'asc-bp1ffogfdauy0nu5****', 'title' => ''],
],
[
'name' => 'LaunchTemplateId',
'in' => 'query',
'schema' => ['description' => 'The ID of the launch template. This parameter specifies that the scaling group obtains launch configuration information from the launch template.', 'type' => 'string', 'required' => false, 'example' => 'lt-m5e3ofjr1zn1aw7****', 'title' => ''],
],
[
'name' => 'LaunchTemplateVersion',
'in' => 'query',
'schema' => ['description' => 'The version of the launch template. Valid values: '."\n"
."\n"
.'- A fixed template version number.'."\n"
.'- Default: always uses the default version of the template.'."\n"
.'- Latest: always uses the latest version of the template.', 'type' => 'string', 'required' => false, 'example' => 'Default', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the ECS instance to add to the scaling group after the scaling group is enabled. Valid values of N: 1 to 20.'."\n"
."\n"
.'The ECS instances to be added to the scaling group must meet the following conditions: '."\n"
.' '."\n"
.'- The instances must be in the same region as the scaling group.'."\n"
."\n"
.'- The instances must be in the Running state.'."\n"
."\n"
.'- The instances must not already belong to another scaling group.'."\n"
."\n"
.'- The billing method of the instances must be subscription, pay-as-you-go, or spot instance.'."\n"
."\n"
.'- If the scaling group has a specified VswitchID, classic network ECS instances cannot be added to the scaling group, and ECS instances from other VPCs cannot be added to the scaling group.'."\n"
."\n"
.'- If the scaling group does not have a specified VswitchID, VPC-type ECS instances cannot be added to the scaling group.',
'type' => 'array',
'items' => ['description' => 'The ID of the ECS instance to add to the scaling group after the scaling group is enabled. Valid values of N: 1 to 20.'."\n"
."\n"
.'The ECS instances to be added to the scaling group must meet the following conditions: '."\n"
.' '."\n"
.'- The instances must be in the same region as the scaling group.'."\n"
."\n"
.'- The instances must be in the Running state.'."\n"
."\n"
.'- The instances must not already belong to another scaling group.'."\n"
."\n"
.'- The billing method of the instances must be subscription, pay-as-you-go, or spot instance.'."\n"
."\n"
.'- If the scaling group has a specified VswitchID, classic network ECS instances cannot be added to the scaling group, and ECS instances from other VPCs cannot be added to the scaling group.'."\n"
."\n"
.'- If the scaling group does not have a specified VswitchID, VPC-type ECS instances cannot be added to the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'i-283vv****', 'title' => ''],
'required' => false,
'example' => 'i-283vv****',
'maxItems' => 100,
'title' => '',
],
],
[
'name' => 'LoadBalancerWeight',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The weight of the ECS instance or elastic container instance as a backend server of the associated Server Load Balancer (SLB) instance. Valid values of N: 1 to 20. Valid values of this parameter: 1 to 100.'."\n"
."\n"
.'Default value: 50.',
'type' => 'array',
'items' => ['description' => 'The weight of the ECS instance or elastic container instance as a backend server of the associated SLB instance. Valid values of N: 1 to 20. Valid values of this parameter: 1 to 100.'."\n"
."\n"
.'Default value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
'required' => false,
'example' => '50',
'maxItems' => 100,
'title' => '',
],
],
[
'name' => 'LaunchTemplateOverride',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The override information of the launch template.',
'type' => 'array',
'items' => [
'description' => 'The override information of the launch template.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'If you want the scaling group to scale based on the capacity of instance types, specify both this parameter and LaunchTemplateOverride.N.WeightedCapacity.'."\n"
."\n"
.'This parameter specifies ECS instance type and overrides ECS instance type in the launch template. You can specify N values for this parameter to extend the launch template to support N instance types. Valid values of N: 1 to 10.'."\n"
.'> This parameter takes effect only when the LaunchTemplateId parameter specifies a launch template.'."\n"
."\n"
.'For valid values of InstanceType, see [Instance families](~~25378~~).', 'type' => 'string', 'required' => false, 'example' => 'ecs.c5.xlarge', 'title' => ''],
'WeightedCapacity' => ['description' => 'If you want the scaling group to scale based on the capacity of instance types, specify this parameter after you specify LaunchTemplateOverride.N.InstanceType. The two parameters correspond to each other on a one-to-one basis, and the values of N must be the same.'."\n"
."\n"
.'This parameter specifies the weight of the instance type, which represents the capacity of a single instance of this type in the scaling group. A higher weight means that fewer instances of this type are required to meet the expected capacity.'."\n"
."\n"
.'Because instance types differ in the number of vCPUs, memory size, and other performance metrics, you can assign different weights to different instance types based on your requirements.'."\n"
."\n"
.' For example:'."\n"
."\n"
.'- Current capacity: 0.'."\n"
.'- Expected capacity: 6.'."\n"
.'- Capacity of the ecs.c5.xlarge instance type: 4.'."\n"
."\n"
.'To meet the expected capacity, the scaling group scales out by adding 2 ecs.c5.xlarge instances.'."\n"
."\n"
.'>During a scale-out, the capacity of the scaling group cannot exceed the sum of the maximum capacity (MaxSize) and the maximum weight among the instance types.'."\n"
."\n"
.'Valid values of WeightedCapacity: 1 to 500.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Enable a scaling group',
'description' => '## Operation description'."\n"
."\n"
.'- You can invoke this operation to enable a scaling group only when the scaling group is in the Inactive state and has an instance configuration source (a scaling configuration, a launch template, or ECS instances specified during scaling group creation). Otherwise, the invocation fails.'."\n"
."\n"
.' >A scaling group can have only one active instance configuration source at a time. When you invoke this operation, you can specify a scaling configuration or launch template for the scaling group. If you have already configured an instance configuration source for the scaling group before invoking this operation, specifying a scaling configuration or launch template overwrites the existing configuration.'."\n"
."\n"
.'- If you specify ECS instances (InstanceId.N) to add to the scaling group when invoking this operation, Auto Scaling checks whether the total number of ECS instances (Total Capacity) in the scaling group falls between the minimum value (MinSize) and the maximum value (MaxSize) after the ECS instances are added:'."\n"
."\n"
.' - If the Total Capacity of the scaling group is less than MinSize, Auto Scaling performs automatic creation of pay-as-you-go ECS instances to make up the difference.'."\n"
."\n"
.' For example, if you set MinSize to 5 when creating the scaling group and specify 2 existing ECS instances in the InstanceId.N parameter when enabling the scaling group, Auto Scaling adds the 2 existing ECS instances and then performs automatic creation of 3 more ECS instances. '."\n"
."\n"
.' - If the Total Capacity of the scaling group is greater than MaxSize, the invocation failed.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in the current account.|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You have not fully authorized Auto Scaling to call API operations.|'."\n"
.'|400|IncorrectScalingGroupStatus|The current status of the specified scaling group does not support this action.|The specified scaling group is in the Deleting state.|'."\n"
.'|404|InvalidScalingConfigurationId.NotFound|The specified scaling configuration does not exist.|The specified scaling configuration does not exist in the specified scaling group.|'."\n"
.'|400|InvalidScalingConfigurationId.InstanceTypeMismatch|The specified scaling configuration and existing active scaling configuration have different instance type.|The instance type of the specified scaling configuration does not match the instance type of the active scaling configuration.|'."\n"
.'|400|MissingActiveScalingConfiguration|An active scaling configuration for the specified scaling group is not supplied.|No active scaling configuration is specified for the scaling group.|'."\n"
.'|404|InvalidInstanceId.NotFound|Instance "XXX" does not exist.|The specified ECS instance does not exist in the current account.|'."\n"
.'|400|InvalidInstanceId. RegionMismatch|Instance "XXX" and the specified scaling group are not in the same Region.|The specified ECS instance is not in the same region as the scaling group.|'."\n"
.'|400|InvalidInstanceId. InstanceTypeMismatch|Instance "XXX" and existing active scaling configuration have different instance type.|The instance type of the specified ECS instance does not match the instance type of the scaling configuration.|'."\n"
.'|400|IncorrectInstanceStatus|The current status of instance "XXX" does not support this action.|The specified ECS instance is not in the Running state.|'."\n"
.'|400|InvalidInstanceId. NetworkTypeMismatch|The network type of instance "XXX" does not support this action.|The network type of the specified ECS instance does not match the network type of the scaling group.|'."\n"
.'|400|InvalidInstanceId.VPCMismatch|Instance "XXX" and the specified scaling group are not in the same VPC.|The specified scaling group and the ECS instance to be added are not in the same VPC.|'."\n"
.'|400|InvalidInstanceId.InUse|Instance "XXX" is already attached to another scaling group.|The specified ECS instance is already added to another scaling group.|'."\n"
.'|400|IncorrectLoadBalancerStatus|The current status of the specified load balancer does not support this action.|The specified SLB instance is not in the Active state.|'."\n"
.'|400|IncorrectLoadBalancerHealthCheck|The current health check type of specified load balancer does not support this action.|Health check is not enabled for the specified SLB instance.|'."\n"
.'|400|InvalidLoadBalancerId.IncorrectInstanceNetworkType|The network type of the instance in specified Load Balancer does not support this action.|The network type of the ECS instances in the specified SLB instance does not match the network type of the scaling group.|'."\n"
.'|400|InvalidLoadBalancerId.VPCMismatch|The specified virtual switch and the instance in specified Load Balancer are not in the same VPC.|The ECS instances in the SLB instance associated with the scaling group and the specified VSwitchId are not in the same VPC.|'."\n"
.'|400|IncorrectDBInstanceStatus|The current status of DB instance "XXX" does not support this action.|The specified ApsaraDB RDS instance is not in the Running state.|'."\n"
.'|400|IncorrectCapacity.MaxSize|To attach the instances, the total capacity will be greater than the max size.|The number of ECS instances to be added causes the Total Capacity to exceed MaxSize.|'."\n"
.'|400|LaunchTemplateVersionSet.NotFound|The specific version of launch template is not exist.|The specified version of the launch template does not exist.|'."\n"
.'|400|LaunchTemplateSet.NotFound|The specified launch template set is not found.|The specified launch template does not exist.|'."\n"
.'|400|TemplateMissingParameter.ImageId|The input parameter "ImageId" that is mandatory for processing this request is not supplied.|The specified version of the launch template does not contain image information.|'."\n"
.'|400|TemplateMissingParameter.InstanceTypes|The input parameter "InstanceTypes" that is mandatory for processing this request is not supplied.|The specified version of the launch template does not contain instance type information.|'."\n"
.'|400|TemplateMissingParameter.SecurityGroup|The input parameter "SecurityGroup" that is mandatory for processing this request is not supplied.|The specified version of the launch template does not contain security group information.|'."\n"
.'|400|TemplateVersion.NotNumber|The input parameter "LaunchTemplateVersion" is supposed to be a string representing the version number.|The fixed version number specified for the launch template is not a number.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnableScalingGroup'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:EnableScalingGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'EnterStandby' => [
'summary' => 'Sets ECS instances in a scaling group to the standby state.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92697',
'abilityTreeNodes' => ['FEATUREessBFHJ1B'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1fo0dbtsbmqa9h****', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests.'."\n"
."\n"
.'The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the ECS instance or elastic container instance.',
'type' => 'array',
'items' => ['description' => 'The ID of the ECS instance or elastic container instance.', 'type' => 'string', 'required' => false, 'example' => 'i-28wt4****', 'title' => ''],
'required' => true,
'example' => 'i-28wt4****',
'maxItems' => 20,
'title' => '',
],
],
[
'name' => 'Async',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to use an asynchronous task. Valid values:'."\n"
.'- true: The request is processed asynchronously.'."\n"
.'- false: The request is processed synchronously.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'ScalingActivityId' => ['title' => '', 'description' => 'The ID of the scaling activity.', 'type' => 'string', 'example' => 'asa-2zeb04oym05qaceq****'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"ScalingActivityId\\": \\"asa-2zeb04oym05qaceq****\\"\\n}","type":"json"}]',
'title' => 'Set ECS instances in a scaling group to the standby state',
'description' => '## Operation description'."\n"
."\n"
.'- If the scaling group is associated with a load balancing instance, the weight of the corresponding instance in the load balancing instance is set to 0.'."\n"
."\n"
.'- When an instance is in the standby state, you can manually remove and release the instance from the scaling group as Normal.'."\n"
."\n"
.'- For scaling activities triggered by changes in the number of instances in the scaling group or by monitoring nodes for automatic scale-in, instances in the standby state are not removed.'."\n"
."\n"
.'- When an instance is in the standby state, if the instance enters an unhealthy state (for example, stopping or restarting), the health check status of the instance is not updated, and no scaling activity is triggered to remove the unhealthy instance. The health check status is updated only after the instance exits the standby state.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|The RAM user is not authorized to call this operation. Grant the required permissions by using the Alibaba Cloud account and try again.|'."\n"
.'|404|InvalidInstanceId.NotFound|Instance "XXX" does not exist.|The specified ECS instance or elastic container instance does not exist.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnterStandby'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:EnterStandby',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'ExecuteScalingRule' => [
'summary' => 'Executes a scaling rule.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92698',
'abilityTreeNodes' => ['FEATUREessKCZYL8'],
],
'parameters' => [
[
'name' => 'ScalingRuleAri',
'in' => 'query',
'schema' => ['description' => 'The unique identifier of the scaling rule.'."\n"
.'>When you call this operation to execute a scaling rule, only simple scaling rules and step scaling rules are supported. To execute a step scaling rule, you must specify both the `BreachThreshold` and `MetricValue` parameters.', 'type' => 'string', 'required' => true, 'example' => 'ari:acs:ess:cn-hangzhou:140692647406****:scalingrule/asr-bp1dvirgwkoowxk7****', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'The value of this parameter is generated by the client and must be unique among different requests. The value can be up to 64 ASCII characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''],
],
[
'name' => 'BreachThreshold',
'in' => 'query',
'schema' => ['description' => 'The threshold that is specified when the step scaling rule is executed. Valid values: -9.999999E18 to 9.999999E18.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1.0', 'title' => ''],
],
[
'name' => 'MetricValue',
'in' => 'query',
'schema' => ['description' => 'The metric value that is specified when the step scaling rule is executed. Valid values: -9.999999E18 to 9.999999E18.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1.0', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling rule.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingActivityId' => ['description' => 'The ID of the scaling activity.', 'type' => 'string', 'example' => 'asa-bp13o672yeautiil****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivityId\\": \\"asa-bp13o672yeautiil****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Execute a scaling rule',
'description' => '# Operation description'."\n"
.'Note the following items when you invoke this operation:'."\n"
.'- Before you invoke this operation, make sure that the following conditions are met:'."\n"
."\n"
.' - The scaling group is in the `Active` state.'."\n"
.' - The scaling group has no ongoing scaling activities.'."\n"
."\n"
.'- When the scaling group has no ongoing scaling activities, this operation can bypass the cooldown time and directly trigger a scaling activity.'."\n"
."\n"
.'- If the number of ECS instances to increase based on the scaling rule plus the current number of instances in the scaling group (Total Capacity) is greater than the maximum number of instances (MaxSize), the scaling activity is executed with Total Capacity set to MaxSize.'."\n"
."\n"
.'- If the current number of instances in the scaling group (Total Capacity) minus the number of ECS instances to be removed based on the scaling rule is less than the minimum number of instances (MinSize), the scaling activity is executed with Total Capacity set to MinSize.'."\n"
."\n"
.'A successful response to this operation only indicates that Auto Scaling has accepted the request and can execute the scaling activity. It does not mean that the scaling activity will succeed. You can check the execution status of the scaling activity by using the returned `ScalingActivityId`.'."\n"
.'>The number of ECS instances that can be adjusted in a single operation is limited. For more information, see the metric description of the AdjustmentValue parameter in [CreateScalingRule](~~25948~~).',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingRuleAri.NotFound|The specified scaling rule Ari does not exist.|The specified scaling rule does not exist in the current account.|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You have not fully authorized Auto Scaling to call API operations.|'."\n"
.'|400|IncorrectScalingGroupStatus|The current status of the specified scaling group does not support this action.|The scaling group to which the specified scaling rule belongs is not in the Active state.|'."\n"
.'|400|ScalingActivityInProgress|You cannot delete a scaling group or launch a new scaling activity while there is a scaling activity in progress for the specified scaling group.|A scaling activity is in progress in the scaling group to which the specified scaling rule belongs.|'."\n"
.'|400|InsufficientBalance|Your account does not have enough balance.|The account balance is insufficient.|'."\n"
.'|400|QuotaExceed.Instance|Living instance quota exceeded.|The number of ECS instances has reached the upper limit.|'."\n"
.'|400|IncorrectLoadBalancerStatus|The current status of the specified load balancer does not support this action.|The Server Load Balancer (SLB) instance associated with the scaling group to which the specified scaling rule belongs is not in the Active state.|'."\n"
.'|400|IncorrectLoadBalancerHealthCheck|The current health check type of specified load balancer does not support this action.|Health check is not enabled for the SLB instance associated with the scaling group to which the specified scaling rule belongs.|'."\n"
.'|400|InvalidLoadBalancerId.IncorrectInstanceNetworkType|The network type of the instance in specified load balancer does not support this action.|The network type of the ECS instances in the specified SLB instance does not match the network type of the scaling group.|'."\n"
.'|400|InvalidLoadBalancerId.VPCMismatch|The specified virtual switch and the instance in specified load balancer are not in the same VPC.|The ECS instances in the SLB instance associated with the scaling group and the specified vSwitch are not in the same VPC.|'."\n"
.'|400|IncorrectDBInstanceStatus|The current status of DB instance "XXX" does not support this action.|The ApsaraDB RDS instance associated with the scaling group to which the specified scaling rule belongs is not in the Running state.|'."\n"
.'|400|QuotaExceeded.DBInstanceSecurityIP|Security IP quota exceeded in DB instance "XXX".|The number of IP addresses in the whitelist of the ApsaraDB RDS instance associated with the scaling group to which the specified scaling rule belongs has reached the upper limit.|'."\n"
.'|400|QuotaExceeded.SecurityGroupInstance|Instance quota exceeded in the specified security group.|The number of ECS instances added to the specified security group has reached the upper limit.|'."\n"
.'|400|IncorrectCapacity.NoChange|To execute the specified scaling rule, the total capacity will not change.|The scaling rule does not cause any change in the number of instances in the scaling group.|'."\n"
.'|400|QuotaExceeded.ScalingInstance|Scaling instance quota exceeded.|The number of ECS instances managed by Auto Scaling has reached the upper limit.|'."\n"
.'|400|QuotaExceeded.AfterpayInstance|Living afterpay instance quota exceeded.|The number of pay-as-you-go ECS instances has reached the upper limit.|'."\n"
.'|400|ResourceNotAvailable.ECS|The specified region or zone does not offer the specified disk or instance category.|The specified ECS instance type or cloud disk type cannot be created in the specified region.|'."\n"
.'|400|ScalingRule.InvalidScalingRuleType|Specific scaling rule type: %s can not be executed.|The scaling rule of the current type cannot be executed.|'."\n"
.'|400|InvalidStepAdjustments.NoStepFound|No adjustment step found for a metric value of: %s.|No matching step adjustment was found for the specified metric value.|'."\n"
.'|400|MissingParameter.MetricValue|Metric value must be specified for StepScalingRule.|A metric value must be specified when you execute a step scaling rule.|'."\n"
.'|400|MissingParameter.BreachThreshold|Breach threshold must be specified for StepScalingRule.|A breach threshold must be specified when you execute a step scaling rule.|'."\n"
.'|400|MetricValueBeyondPermitRange|Specific parameter "%s" beyond permit range.|The metric value exceeds the permitted range.|'."\n"
.'|400|BreachThresholdBeyondPermitRange|Specific parameter "%s" beyond permit range.|The breach threshold exceeds the permitted range.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '1800', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ExecuteScalingRule'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ExecuteScalingRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'ExitStandby' => [
'summary' => 'Transitions ECS instances in standby state within a scaling group to the running state.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92699',
'abilityTreeNodes' => ['FEATUREessBFHJ1B'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1fo0dbtsbmqa9h****', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the ECS instance.',
'type' => 'array',
'items' => ['description' => 'The ID of the ECS instance. The value can be a JSON array that consists of up to 20 instance IDs. Separate multiple instance IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'i-28wt4****', 'title' => ''],
'required' => true,
'example' => 'i-28wt4****',
'maxItems' => 20,
'title' => '',
],
],
[
'name' => 'Async',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to use an asynchronous task. Valid values:'."\n"
."\n"
.'- true: The task is executed asynchronously.'."\n"
.'- false: The task is executed synchronously.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'ScalingActivityId' => ['title' => '', 'description' => 'The scaling activity ID.', 'type' => 'string', 'example' => 'asa-2zeb04oym05qaceq****'],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"ScalingActivityId\\": \\"asa-2zeb04oym05qaceq****\\"\\n}","type":"json"}]',
'title' => 'Transition standby instances to running state',
'description' => '## Operation description'."\n"
."\n"
.'After instances in a scaling group are removed from standby state, note the following items:'."\n"
."\n"
.'- The ECS instances or ECI instances transition to the running state (that is, recover to the in-service state).'."\n"
."\n"
.'- If the scaling group that contains the ECS instances or ECI instances is associated with a load balancing instance, the weight of the ECS instances or ECI instances is set to 50 by default when they are added back to the load balancing instance.'."\n"
."\n"
.'- If the ECS instances or ECI instances are stopped or restarted, their health check status is updated.'."\n"
."\n"
.'- When a scale-in scaling activity is triggered in the scaling group, Auto Scaling can remove the ECS instances or ECI instances from the scaling group.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|The RAM user is not authorized to invoke this operation. Grant the required permissions and try again.|'."\n"
.'|404|InvalidInstanceId.NotFound|A required authorization for the specified action is not supplied.|The specified ECS instance or ECI instance does not exist.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist under your account.|',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ExitStandby'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ExitStandby',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'ListTagKeys' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92700',
'abilityTreeNodes' => ['FEATUREess7569XW'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where the Auto Scaling resource resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => 'The Auto Scaling resource type. Set the value to `scalinggroup`, which indicates that the tagged object is a scaling group.', 'type' => 'string', 'required' => true, 'example' => 'scalinggroup', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token for the next query. If this parameter is empty, no additional results exist.', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page in a paged query. Maximum value: 50.'."\n"
."\n"
.'Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'NextToken' => ['description' => 'The pagination token for the next query. If this parameter is empty, no additional results exist.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DC09A6AA-2713-4E10-A2E9-E6C5C43A****', 'title' => ''],
'PageSize' => ['description' => 'The number of entries per page in the query.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'Keys' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Key' => [
'description' => 'The tag key information.',
'type' => 'array',
'items' => ['description' => 'The tag key information.', 'type' => 'string', 'example' => 'ESS', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'title' => 'Query tag keys of Auto Scaling resources',
'summary' => 'Queries the list of tag keys for Auto Scaling resources.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidResourceType.NotFound|The ResourceType provided does not exist in our records.|The specified resource type is invalid.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagKeys'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:ListTagKeys',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"RequestId\\": \\"DC09A6AA-2713-4E10-A2E9-E6C5C43A****\\",\\n \\"PageSize\\": 10,\\n \\"Keys\\": {\\n \\"Key\\": [\\n \\"ESS\\"\\n ]\\n }\\n}","type":"json"}]',
],
'ListTagResources' => [
'summary' => 'Queries the labels that are attached to one or more elastic scaling resources.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92701',
'abilityTreeNodes' => ['FEATUREess7569XW'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the resource. You can call [DescribeRegions](~~25609~~) to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => 'The resource type. Only scaling groups are supported. Valid values: scalinggroup.', 'type' => 'string', 'required' => true, 'example' => 'scalinggroup', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'The token that determines the start point of the next query.', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The resource ID. Valid values of N: 1 to 50.',
'type' => 'array',
'items' => ['description' => 'The resource ID. Valid values of N: 1 to 50.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp17xb4x1vr29lgt****', 'title' => ''],
'required' => false,
'example' => 'asg-bp17xb4x1vr29lgt****',
'maxItems' => 51,
'title' => '',
],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The tags.',
'type' => 'array',
'items' => [
'description' => 'The tags.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key used to perform an exact search for Elastic scaling resources. The tag key must be 1 to 128 characters in length. Valid values of N: 1 to 20.'."\n"
."\n"
.'Tag.N is used to perform an exact search for Elastic scaling resources that have the specified tag bound. Tag.N consists of a key-value pair.'."\n"
."\n"
.'- If you specify only Tag.N.Key, all resources that are associated with the tag key are returned.'."\n"
."\n"
.'- If you specify only Tag.N.Value, the MissingParameter.TagKey error is returned.'."\n"
."\n"
.'- If you specify multiple tag key-value pairs at the same time, only Elastic scaling resources that match all the specified tag key-value pairs are returned.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''],
'Value' => ['description' => 'The label value used to perform an exact search for elastic scaling resources. The label value can be an empty string. Maximum length: 128 characters. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'NextToken' => ['description' => 'The token that determines the start point of the next query.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DE65F6B7-7566-4802-9007-96F2494A****', 'title' => ''],
'TagResources' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'TagResource' => [
'description' => 'The collection of resources and their tags, which contains information such as the resource ID, resource type, and tag key-value pairs.',
'type' => 'array',
'items' => [
'description' => 'The collection of resources and their tags, which contains information such as the resource ID, resource type, and tag key-value pairs.',
'type' => 'object',
'properties' => [
'TagValue' => ['description' => 'The tag value of the resource.', 'type' => 'string', 'example' => 'TestValue', 'title' => ''],
'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'ALIYUN::ESS::SCALINGGROUP', 'title' => ''],
'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'asg-bp17xb4x1vr29lgt****', 'title' => ''],
'TagKey' => ['description' => 'The tag key of the resource.', 'type' => 'string', 'example' => 'TestKey', 'title' => ''],
'Propagate' => ['description' => 'Indicates whether the tag is a propagatable tag. Valid values:'."\n"
.'- true: The tag on the scaling group is propagated only to instances that are about to be scaled out. The tag is not propagated to instances that are already running in the scaling group.'."\n"
.'- false: The tag on the scaling group is not propagated to instances.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"RequestId\\": \\"DE65F6B7-7566-4802-9007-96F2494A****\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagValue\\": \\"TestValue\\",\\n \\"ResourceType\\": \\"ALIYUN::ESS::SCALINGGROUP\\",\\n \\"ResourceId\\": \\"asg-bp17xb4x1vr29lgt****\\",\\n \\"TagKey\\": \\"TestKey\\",\\n \\"Propagate\\": false\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'ListTagResources',
'description' => '## Operation description'."\n"
."\n"
.'- Specify at least one of the following request parameters: ResourceId.N or Tag.N (Tag.N.Key and Tag.N.Value) to determine the query object.'."\n"
."\n"
.'- If you specify both Tag.N and ResourceId.N, the response contains only elastic scaling resources that satisfy both conditional criteria.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:ListTagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'ListTagValues' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92702',
'abilityTreeNodes' => ['FEATUREess7569XW'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where the Auto Scaling resources reside.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => 'The Auto Scaling resource type. Set the value to scalinggroup, which indicates that the tagged object is a scaling group.', 'type' => 'string', 'required' => true, 'example' => 'scalinggroup', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'The token that determines the start point of the next query. If this parameter is empty, no additional results exist.', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page for a paged query. Maximum value: 50.'."\n"
."\n"
.'Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'Key',
'in' => 'query',
'schema' => ['description' => 'The tag key.', 'type' => 'string', 'required' => true, 'example' => 'ESS', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'NextToken' => ['description' => 'The token that determines the start point of the next query. If this parameter is empty, no additional results exist.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'AB444F46-1CFF-4B06-B8F0-B45D3158****', 'title' => ''],
'PageSize' => ['description' => 'The number of entries per page that was specified in the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'Values' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Value' => [
'description' => 'The tag key information.',
'type' => 'array',
'items' => ['description' => 'The tag value information.', 'type' => 'string', 'example' => 'Doc', 'title' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'title' => 'Query tag values of Auto Scaling resources by tag key',
'summary' => 'Queries the tag values that correspond to a tag key of Auto Scaling resources.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' |HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidResourceType.NotFound|The ResourceType provided does not exist in our records.|The specified resource type is invalid.|'."\n"
.'|400|InvalidTagKey.Malformed|The specified tag key \\"%s\\" is not valid.|The specified tag key does not exist.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagValues'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:ListTagValues',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"RequestId\\": \\"AB444F46-1CFF-4B06-B8F0-B45D3158****\\",\\n \\"PageSize\\": 10,\\n \\"Values\\": {\\n \\"Value\\": [\\n \\"Doc\\"\\n ]\\n }\\n}","type":"json"}]',
],
'ModifyAlarm' => [
'summary' => 'Modifies an event-triggered task.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92703',
'abilityTreeNodes' => ['FEATUREessBFLAJQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the event-triggered task.', 'type' => 'string', 'required' => true, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'AlarmTaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the event-triggered task.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1hvbnmkl10vll5****_f95ce797-dc2e-4bad-9618-14fee7d1****', 'title' => ''],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['description' => 'The name of the event-triggered task.', 'type' => 'string', 'required' => false, 'example' => 'alarmtask****', 'title' => ''],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => 'The description of the event-triggered task.', 'type' => 'string', 'required' => false, 'example' => 'Test alarm task.', 'title' => ''],
],
[
'name' => 'MetricName',
'in' => 'query',
'schema' => ['description' => 'The name of the monitoring metric. Valid values vary based on the monitoring type of the event-triggered task: '."\n"
.'- If the event-triggered task is of the custom monitoring type (MetricType=custom), valid values are your custom monitoring metrics.'."\n"
."\n"
.'- If the event-triggered task is of the system monitoring type (MetricType=system), valid values:'."\n"
."\n"
.' - CpuUtilization: (ECS) CPU utilization (%).'."\n"
."\n"
.' - IntranetTx: (ECS) outbound traffic over the internal network (Kbit/min).'."\n"
."\n"
.' - IntranetRx: (ECS) inbound traffic over the internal network (Kbit/min).'."\n"
."\n"
.' - VpcInternetTx: (ECS) outbound traffic over the Internet (Kbit/min).'."\n"
."\n"
.' - VpcInternetRx: (ECS) inbound traffic over the Internet (Kbit/min).'."\n"
."\n"
.' - SystemDiskReadBps: (ECS) system cloud disk read BPS (byte/s).'."\n"
."\n"
.' - SystemDiskWriteBps: (ECS) system cloud disk write BPS (byte/s).'."\n"
."\n"
.' - SystemDiskReadOps: (ECS) system cloud disk read IOPS (count/s).'."\n"
."\n"
.' - SystemDiskWriteOps: (ECS) system cloud disk write IOPS (count/s).'."\n"
."\n"
.' - CpuUtilizationAgent: (Agent) CPU utilization (%).'."\n"
."\n"
.' - GpuUtilizationAgent: (Agent) GPU utilization (%).'."\n"
."\n"
.' - GpuMemoryFreeUtilizationAgent: (Agent) GPU memory idle rate (%).'."\n"
."\n"
.' - GpuMemoryUtilizationAgent: (Agent) GPU memory usage (%).'."\n"
."\n"
.' - MemoryUtilization: (Agent) memory usage (%).'."\n"
."\n"
.' - LoadAverage: (Agent) average system load.'."\n"
."\n"
.' - TcpConnection: (Agent) total number of TCP connections.'."\n"
."\n"
.' - TcpConnection: (Agent) number of established TCP connections.'."\n"
."\n"
.' - PackagesNetOut: (Agent) number of packets sent by the NIC (count/s).'."\n"
."\n"
.' - PackagesNetIn: (Agent) number of packets received by the NIC (count/s).'."\n"
."\n"
.' - PackagesNetOut: (Agent) number of packets sent by the public NIC (count/s).'."\n"
."\n"
.' - PackagesNetIn: (Agent) number of packets received by the public NIC (count/s).'."\n"
."\n"
.' - EciPodCpuUtilization: CPU utilization (%).'."\n"
."\n"
.' - EciPodMemoryUtilization: memory usage (%).'."\n"
."\n"
.' - LoadBalancerRealServerAverageQps: (ALB) average QPS per server in the server group (count/s).'."\n"
."\n"
.'For more information, see [Event-triggered tasks of the system monitoring type](~~74854~~).', 'type' => 'string', 'required' => false, 'example' => 'MemoryUtilization', 'title' => ''],
],
[
'name' => 'MetricType',
'in' => 'query',
'schema' => ['description' => 'The type of the monitoring metric. Valid values:'."\n"
.'- system: uses CloudMonitor system metrics.'."\n"
.'- custom: uses custom metrics reported to CloudMonitor.', 'type' => 'string', 'required' => false, 'default' => 'system', 'example' => 'system', 'title' => ''],
],
[
'name' => 'Period',
'in' => 'query',
'schema' => ['description' => 'The statistical period for the monitoring metric data. Unit: seconds. Valid values:'."\n"
."\n"
.'- 15.'."\n"
.'- 60.'."\n"
.'- 120.'."\n"
.'- 300.'."\n"
.'- 900.'."\n"
.'> Only scaling groups of the ECS type support a 15-second statistical period.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '300', 'title' => ''],
],
[
'name' => 'Statistics',
'in' => 'query',
'schema' => ['description' => 'The method used to aggregate the monitoring metric data. Valid values:'."\n"
."\n"
.'- Average: average value.'."\n"
.'- Minimum: minimum value.'."\n"
.'- Maximum: maximum value.', 'type' => 'string', 'required' => false, 'example' => 'Average', 'title' => ''],
],
[
'name' => 'Threshold',
'in' => 'query',
'schema' => ['description' => 'The threshold of the monitoring metrics. An alert is triggered and the scaling rule is executed when the threshold expression is met the specified number of times.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '80', 'title' => ''],
],
[
'name' => 'ComparisonOperator',
'in' => 'query',
'schema' => ['description' => 'The comparison operator between the statistical value and the threshold of the monitoring metric. The comparison operator indicates the relationship in which the statistical value and the threshold can satisfy the condition. Valid values:'."\n"
."\n"
.'- The statistical value is greater than or equal to the threshold. Value: `>=`.'."\n"
.'- The statistical value is less than or equal to the threshold. Value: `<=`.'."\n"
.'- The statistical value is greater than the threshold. Value: `>`.'."\n"
.'- The statistical value is less than the threshold. Value: `<`.', 'type' => 'string', 'required' => false, 'example' => '>=', 'title' => ''],
],
[
'name' => 'EvaluationCount',
'in' => 'query',
'schema' => ['description' => 'The number of times that the threshold expression must be met before the scaling rule is executed.'."\n"
."\n"
.'For example, the average CPU utilization is greater than or equal to 80% for three consecutive statistical periods.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''],
],
[
'name' => 'GroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the CloudMonitor application group to which the custom monitoring metric belongs. This parameter must be specified only when the monitoring type is custom.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4055401', 'title' => ''],
],
[
'name' => 'Effective',
'in' => 'query',
'schema' => ['description' => 'The effective period of the event-triggered task.'."\n"
."\n"
.'This parameter follows cron expressions. The default format is `X X X X X ?`, where:'."\n"
.'- X: a placeholder for a field, which sequentially represents seconds, minutes, hours, day of month, and month. X can be a specific value or a special character with logical meaning. For more information about the valid values of X, see [Cron expression](~~25907~~).'."\n"
."\n"
.'- ?: specifies no particular value.'."\n"
."\n"
.'> The value of this parameter is **in the UTC+8 time zone by default**. You can add the time zone information `TZ=+yy` before the cron expression to specify a time zone, where y represents the numeric value of the time zone. For example, `TZ=+00 * * 1-2 * * ?` specifies that the event-triggered task takes effect between 01:00 and 02:59 every day in the UTC+0 time zone.'."\n"
."\n"
.'Sample values and their meanings:'."\n"
."\n"
.'- `* * * * * ? `: takes effect at all times.'."\n"
."\n"
.'- `* * 17-18 * * ? `: takes effect between 17:00 and 18:59 every day in the UTC+8 time zone.'."\n"
."\n"
.'- `TZ=+00 * * 1-2 * * ?`: takes effect between 01:00 and 02:59 every day in the UTC+0 time zone.', 'type' => 'string', 'required' => false, 'example' => 'TZ=+00 * * 1-2 * * ?', 'title' => ''],
],
[
'name' => 'AlarmAction',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The unique identifiers of the scaling rules associated with the event-triggered task.',
'type' => 'array',
'items' => ['description' => 'The unique identifiers of the scaling rules associated with the event-triggered task.', 'type' => 'string', 'required' => false, 'example' => 'ari:acs:ess:cn-hangzhou:140692647****:scalingrule/asr-bp163l21e07uhn****', 'title' => ''],
'required' => false,
'example' => 'ari:acs:ess:cn-hangzhou:140692647****:scalingrule/asr-bp163l21e07uhn****',
'maxItems' => 5,
'title' => '',
],
],
[
'name' => 'Dimension',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The dimension information associated with the monitoring metric.',
'type' => 'array',
'items' => [
'description' => 'The dimension information associated with the monitoring metric.',
'type' => 'object',
'properties' => [
'DimensionKey' => ['description' => 'The key of the dimension information associated with the monitoring metric. Valid values vary based on the monitoring type of the event-triggered task:'."\n"
."\n"
.'- If the event-triggered task is of the custom monitoring type (MetricType=custom), valid values are not restricted and can be specified as needed.'."\n"
."\n\n"
.'- If the event-triggered task is of the system monitoring type (MetricType=system), valid values:'."\n"
."\n"
.' - user_id: your account ID.'."\n"
.' - scaling_group: the scaling group being monitored.'."\n"
.' - device: the type of the network interface controller (NIC) device.'."\n"
.' - state: the state of the TCP connection.'."\n"
.' - rulePool: the server group specified for the ALB QPS monitoring metrics node.', 'type' => 'string', 'required' => false, 'example' => 'device', 'title' => ''],
'DimensionValue' => ['description' => 'The value of the dimension information associated with the monitoring metric. Valid values are determined by Dimension.N.DimensionKey:'."\n"
."\n"
.'- If the value of Dimension.N.DimensionKey is custom, meaning the event-triggered task is of the custom monitoring type (MetricType=custom), valid values are not restricted and can be specified as needed.'."\n"
."\n"
.'- If the value of Dimension.N.DimensionKey is from the system-specified range, meaning the event-triggered task is of the system monitoring type (MetricType=system), valid values:'."\n"
."\n"
.' - user_id: automatically populated by the system.'."\n"
."\n"
.' - scaling_group: automatically populated by the system.'."\n"
."\n"
.' - device:'."\n"
.' - eth0: for classic network instances, eth0 represents the internal NIC. For VPC-connected instances, only the eth0 NIC exists.'."\n"
.' - eth1: for classic network instances, eth1 represents the public NIC.'."\n"
."\n"
.' - state:'."\n"
.' - TCP_TOTAL: the total number of TCP connections.'."\n"
.' - ESTABLISHED: the number of established TCP connections.', 'type' => 'string', 'required' => false, 'example' => 'eth0', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 5,
'title' => '',
'example' => '',
],
],
[
'name' => 'Expression',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The information about multi-metric alert rules.',
'type' => 'array',
'items' => [
'description' => 'The information about multi-metric alert rules.',
'type' => 'object',
'properties' => [
'MetricName' => ['description' => 'The name of the monitoring metric in the multi-metric alert rule. Valid values vary based on the monitoring type of the event-triggered task:'."\n"
."\n"
.'- If the event-triggered task is of the custom monitoring type (MetricType=custom), valid values are your custom monitoring metrics.'."\n"
.'- If the event-triggered task is of the system monitoring type (MetricType=system), valid values: '."\n"
."\n"
.' - CpuUtilization: (ECS) CPU utilization (%).'."\n"
."\n"
.' - IntranetTx: (ECS) outbound traffic over the internal network (Kbit/min).'."\n"
."\n"
.' - IntranetRx: (ECS) inbound traffic over the internal network (Kbit/min).'."\n"
."\n"
.' - VpcInternetTx: (ECS) outbound traffic over the Internet (Kbit/min).'."\n"
."\n"
.' - VpcInternetRx: (ECS) inbound traffic over the Internet (Kbit/min).'."\n"
."\n"
.' - SystemDiskReadBps: (ECS) system cloud disk read BPS (byte/s).'."\n"
."\n"
.' - SystemDiskWriteBps: (ECS) system cloud disk write BPS (byte/s).'."\n"
."\n"
.' - SystemDiskReadOps: (ECS) system cloud disk read IOPS (count/s).'."\n"
."\n"
.' - SystemDiskWriteOps: (ECS) system cloud disk write IOPS (count/s).'."\n"
."\n"
.' - CpuUtilizationAgent: (Agent) CPU utilization (%).'."\n"
."\n"
.' - GpuUtilizationAgent: (Agent) GPU utilization (%).'."\n"
."\n"
.' - GpuMemoryFreeUtilizationAgent: (Agent) GPU memory idle rate (%).'."\n"
."\n"
.' - GpuMemoryUtilizationAgent: (Agent) GPU memory usage (%).'."\n"
."\n"
.' - MemoryUtilization: (Agent) memory usage (%).'."\n"
."\n"
.' - LoadAverage: (Agent) average system load.'."\n"
."\n"
.' - TcpConnection: (Agent) total number of TCP connections.'."\n"
."\n"
.' - TcpConnection: (Agent) number of established TCP connections.'."\n"
."\n"
.' - PackagesNetOut: (Agent) number of packets sent by the NIC (count/s).'."\n"
."\n"
.' - PackagesNetIn: (Agent) number of packets received by the NIC (count/s).'."\n"
."\n"
.' - PackagesNetOut: (Agent) number of packets sent by the public NIC (count/s).'."\n"
."\n"
.' - PackagesNetIn: (Agent) number of packets received by the public NIC (count/s).'."\n"
."\n"
.' - EciPodCpuUtilization: CPU utilization (%).'."\n"
."\n"
.' - EciPodMemoryUtilization: memory usage (%).'."\n"
."\n"
.' - LoadBalancerRealServerAverageQps: (ALB) average QPS per server in the server group (count/s).'."\n"
."\n"
.'For more information, see [Event-triggered tasks of the system monitoring type](~~74854~~).', 'type' => 'string', 'required' => false, 'example' => 'CpuUtilization', 'title' => ''],
'ComparisonOperator' => ['description' => 'The comparison operator between the statistical value and the threshold of the monitoring metric in the multi-metric alert rule. The comparison operator indicates the relationship in which the statistical value and the threshold can satisfy the condition. Valid values:'."\n"
."\n"
.'- The statistical value is greater than or equal to the threshold. Value: `>=`.'."\n"
.'- The statistical value is less than or equal to the threshold. Value: `<=`.'."\n"
.'- The statistical value is greater than the threshold. Value: `>`.'."\n"
.'- The statistical value is less than the threshold. Value: `<`.'."\n"
."\n"
.'Default value: `>=`.', 'type' => 'string', 'required' => false, 'example' => '>=', 'title' => ''],
'Period' => ['description' => 'The statistical period for the monitoring metric data in the multi-metric alert rule. Unit: seconds. Valid values:'."\n"
."\n"
.'- 15.'."\n"
.'- 60.'."\n"
.'- 120.'."\n"
.'- 300.'."\n"
.'- 900.'."\n"
.'> Only scaling groups of the ECS type support a 15-second statistical period.'."\n"
."\n"
.'Default value: 300.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '300', 'title' => ''],
'Statistics' => ['description' => 'The method used to aggregate the monitoring metric data in the multi-metric alert rule. Valid values:'."\n"
."\n"
.'- Average: average value.'."\n"
.'- Minimum: minimum value.'."\n"
.'- Maximum: maximum value.', 'type' => 'string', 'required' => false, 'example' => 'Average', 'title' => ''],
'Threshold' => ['description' => 'The threshold of the monitoring metrics in the multi-metric alert rule. An alert is triggered and the scaling rule is executed when the threshold expression is met the specified number of times.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '40.0', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'ExpressionsLogicOperator',
'in' => 'query',
'schema' => ['description' => 'The relationship between multiple metric alert conditions. Valid values:'."\n"
."\n"
.'- `&&`: an alert is triggered only when all monitoring metrics meet the alert conditions. An alert is triggered only when all expressions in the multi-metric alert rule evaluate to `true`.'."\n"
.'- `||`: an alert is triggered when any one of the monitoring metrics meets the alert condition.'."\n"
."\n"
.'Default value: `&&`.', 'type' => 'string', 'required' => false, 'example' => '&&', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AlarmTaskId' => ['description' => 'The ID of the event-triggered task.', 'type' => 'string', 'example' => 'asg-bp1hvbnmkl10vll5****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BACACF83-7070-4953-A8FD-D81F89F1****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AlarmTaskId\\": \\"asg-bp1hvbnmkl10vll5****\\",\\n \\"RequestId\\": \\"BACACF83-7070-4953-A8FD-D81F89F1****\\"\\n}","type":"json"}]',
'title' => 'ModifyAlarm',
'description' => '## Operation description'."\n"
."\n"
.'- If you create an event-triggered task of the custom monitoring type (MetricType=custom), you must report the custom monitoring metric to CloudMonitor in advance. For more information, see [Event-triggered tasks of the custom monitoring type](~~74861~~).'."\n"
."\n"
.'- When you create an event-triggered task, you must specify the monitoring metric (MetricName) and use the dimension information (`Dimension.N.DimensionKey` and `Dimension.N.DimensionValue`) to determine the scope of data aggregation for the monitoring metric in the scaling group. For example, you can specify `user_id` and `scaling_group` to aggregate the monitoring metric data of all ECS instances or elastic container instances in the scaling group of the specified user.'."\n"
.' - The monitoring metrics of event-triggered tasks of the custom monitoring type (MetricType=custom) depend on your custom monitoring metrics.'."\n"
.' - For more information about the monitoring metrics supported by event-triggered tasks of the system monitoring type (MetricType=system), see [Event-triggered tasks of the system monitoring type](~~74854~~).'."\n"
."\n"
.'> In the dimension information, `user_id` and `scaling_group` are automatically populated by the system. You must manually specify `device` and `state`. For more information, see the `Dimension.N.DimensionKey` and `Dimension.N.DimensionValue` parameters.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyAlarm'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyAlarm',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'ModifyAlertConfiguration' => [
'summary' => 'When a scaling activity succeeds, fails, or is rejected, Auto Scaling can send notifications through SMS or email. You must handle the related events after receiving the notifications. You can call the ModifyAlertConfiguration operation to set the scaling activity statuses for which SMS and email notifications are sent in a scaling group. This helps you stay informed about scaling activity changes and respond promptly to improve scaling efficiency.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '208787',
'abilityTreeNodes' => ['FEATUREessLTO4TI'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1eyv4qn8ssgv43****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ScaleStatus',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The scaling activity statuses for which SMS and email notifications are sent in the scaling group.',
'type' => 'array',
'items' => ['description' => 'The scaling activity statuses for which SMS and email notifications are sent in the scaling group. Valid values:'."\n"
."\n"
.'- ScaleSuccessful: sends SMS and email notifications when a scaling activity succeeds.'."\n"
.'- ScaleRejected: sends SMS and email notifications when a scaling activity is rejected.'."\n"
.'- ScaleFailed: sends SMS and email notifications when a scaling activity fails.'."\n"
."\n"
.'>If you do not set this parameter (leave it empty), all SMS and email notifications are canceled.', 'type' => 'string', 'required' => false, 'example' => 'ScaleSuccessful', 'title' => ''],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '73469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'title' => 'ModifyAlertConfiguration',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyAlertConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"73469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
],
'ModifyEciScalingConfiguration' => [
'summary' => 'Modifies a scaling configuration of the Elastic Container Instance (ECI) type.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92705',
'abilityTreeNodes' => ['FEATUREessT4M3WE'],
],
'parameters' => [
[
'name' => 'ScalingConfigurationId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling configuration that you want to modify.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asc-bp16har3jpj6fjbx****', 'title' => ''],
],
[
'name' => 'ScalingConfigurationName',
'in' => 'query',
'schema' => ['description' => 'The name of the scaling configuration. The name must be 2 to 64 characters in length and can contain letters, digits, and the following special characters: underscores (_), hyphens (-), and periods (.). The name must start with a letter, digit, or Chinese character.'."\n"
."\n"
.'The name of the scaling configuration must be unique within a scaling group in the same region. If you do not specify this parameter, the ID of the scaling configuration is used by default.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'test-modify', 'title' => ''],
],
[
'name' => 'SecurityGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the security group to which the ECI instance belongs. ECI instances in the same security group can access each other.'."\n"
."\n"
.'If you do not specify a security group, the system uses the default security group in the region that you select. Make sure that the inbound rules of the security group contain the protocols and ports that the containers need to expose. If no default security group exists in the region, the system uses automatic creation to create a default security group and adds the container protocols and ports that you declare to the inbound rules of the security group.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'sg-uf66jeqopgqa9hdn****', 'title' => ''],
],
[
'name' => 'ContainerGroupName',
'in' => 'query',
'schema' => ['description' => 'The name of the ECI instance, which is also the container group name. The name must meet the following requirements:'."\n"
."\n"
.'- The name must be 2 to 128 characters in length.'."\n"
.'- The name can contain lowercase letters, digits, and hyphens (-). It cannot start or end with a hyphen (-).', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'nginx-test', 'title' => ''],
],
[
'name' => 'RestartPolicy',
'in' => 'query',
'schema' => ['description' => 'The restart policy of the instance. Valid values:'."\n"
.'- Always: always restarts the instance.'."\n"
.'- Never: never restarts the instance.'."\n"
.'- OnFailure: restarts the instance upon failure.'."\n"
."\n"
.'Default value: Always.', 'type' => 'string', 'required' => false, 'example' => 'Always', 'title' => ''],
],
[
'name' => 'Cpu',
'in' => 'query',
'schema' => ['description' => 'The number of vCPUs at the instance level. Unit: cores.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1.0', 'title' => ''],
],
[
'name' => 'Memory',
'in' => 'query',
'schema' => ['description' => 'The memory size at the instance level. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '2.0', 'title' => ''],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-uf66jeqopgqa9hdn****', 'title' => ''],
],
[
'name' => 'DnsPolicy',
'in' => 'query',
'schema' => ['description' => 'The DNS policy. Valid values:'."\n"
."\n"
.'- None: uses the DNS configured by the DnsConfig field.'."\n"
.'- Default: inherits the DNS settings from the runtime environment.', 'type' => 'string', 'required' => false, 'example' => 'Default', 'title' => ''],
],
[
'name' => 'ImageSnapshotId',
'in' => 'query',
'schema' => ['description' => 'The image cache ID.', 'type' => 'string', 'required' => false, 'example' => 'imc-2zebxkiifuyzzlhl****', 'title' => ''],
],
[
'name' => 'RamRoleName',
'in' => 'query',
'schema' => ['description' => 'The name of the instance RAM role. ECI and ECS share the same instance RAM role. For more information, see [Use an instance RAM role by calling API operations](~~61178~~).', 'type' => 'string', 'required' => false, 'example' => 'RamTestRole', 'title' => ''],
],
[
'name' => 'TerminationGracePeriodSeconds',
'in' => 'query',
'schema' => ['description' => 'The buffer time during which a program handles operations before the program is stopped. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'title' => ''],
],
[
'name' => 'AutoMatchImageCache',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to automatically match image caches. Valid values:'."\n"
.'- true: Automatically matches image caches.'."\n"
.'- false: Does not automatically match image caches.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'Ipv6AddressCount',
'in' => 'query',
'schema' => ['description' => 'The number of IPv6 addresses.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'ActiveDeadlineSeconds',
'in' => 'query',
'schema' => ['description' => 'The validity period. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000', 'title' => ''],
],
[
'name' => 'SpotStrategy',
'in' => 'query',
'schema' => ['description' => 'The bidding policy for the instance. Valid values:'."\n"
."\n"
.'- NoSpot: a pay-as-you-go instance.'."\n"
.'- SpotWithPriceLimit: a spot instance with a maximum price limit.'."\n"
.'- SpotAsPriceGo: a spot instance that uses the market price at the time of purchase as the bid price.'."\n"
."\n"
.'Default value: NoSpot.', 'type' => 'string', 'required' => false, 'example' => 'SpotPriceLimit', 'title' => ''],
],
[
'name' => 'SpotPriceLimit',
'in' => 'query',
'schema' => ['description' => 'The maximum hourly price of the spot instance. The value can be accurate to three decimal places.'."\n"
."\n"
.'This parameter is required when SpotStrategy is set to SpotWithPriceLimit.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.025', 'title' => ''],
],
[
'name' => 'AutoCreateEip',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to automatically create an elastic IP address (EIP) and attach it to the ECI instance.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'EipBandwidth',
'in' => 'query',
'schema' => ['description' => 'The bandwidth of the EIP.'."\n"
."\n"
.'Default value: 5 Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000000', 'minimum' => '0', 'example' => '5', 'title' => ''],
],
[
'name' => 'HostName',
'in' => 'query',
'schema' => ['description' => 'The hostname, which is also the container group name.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
[
'name' => 'IngressBandwidth',
'in' => 'query',
'schema' => ['description' => 'The inbound bandwidth limit. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1024000', 'title' => ''],
],
[
'name' => 'EgressBandwidth',
'in' => 'query',
'schema' => ['description' => 'The outbound bandwidth limit. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '1024000', 'title' => ''],
],
[
'name' => 'CpuOptionsCore',
'in' => 'query',
'schema' => ['description' => 'The number of physical CPU cores. Only specific instance types support custom settings. For more information, see [Customize CPU options](~~197781~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '0', 'example' => '2', 'title' => ''],
],
[
'name' => 'CpuOptionsThreadsPerCore',
'in' => 'query',
'schema' => ['description' => 'The number of threads per core. Only specific instance types support custom settings. A value of 1 indicates that hyper-threading is disabled. For more information, see [Customize CPU options](~~197781~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'EphemeralStorage',
'in' => 'query',
'schema' => ['description' => 'The size of the ephemeral storage. ESSD PL1 cloud disks are used by default. Unit: GiB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '5000', 'minimum' => '0', 'example' => '20', 'title' => ''],
],
[
'name' => 'LoadBalancerWeight',
'in' => 'query',
'schema' => ['description' => 'The weight of the backend server. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The tag key-value pairs of the instance.',
'type' => 'array',
'items' => [
'description' => 'The tag key-value pairs of the instance.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'version', 'title' => ''],
'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => '3', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
[
'name' => 'ImageRegistryCredential',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The information about the image repository.',
'type' => 'array',
'items' => [
'description' => 'The information about the image repository.',
'type' => 'object',
'properties' => [
'Password' => ['description' => 'The password of the image repository.', 'type' => 'string', 'required' => false, 'example' => 'yourpaasword', 'title' => ''],
'Server' => ['description' => 'The address of the image repository.', 'type' => 'string', 'required' => false, 'example' => 'registry-vpc.cn-shanghai.aliyuncs.com', 'title' => ''],
'UserName' => ['description' => 'The username of the image repository.', 'type' => 'string', 'required' => false, 'example' => 'yourusername', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 11,
'title' => '',
'example' => '',
],
],
[
'name' => 'Container',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of containers in the instance.',
'type' => 'array',
'items' => [
'description' => 'The list of containers in the instance.',
'type' => 'object',
'properties' => [
'ReadinessProbe.TimeoutSeconds' => ['description' => '检查超时的时间,默认值为1秒,最小值为1秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'ReadinessProbe.SuccessThreshold' => ['description' => '从上次检查失败后重新认定检查成功的检查次数阈值(必须是连续成功),默认值为1。当前值必须为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'SecurityContext.Capability.Add' => [
'description' => '为容器内的进程授予某些特定的权限。目前仅支持配置为NET_ADMIN和NET_RAW。'."\n"
."\n"
.'> NET_RAW默认不支持,需提交工单申请。',
'type' => 'array',
'items' => ['description' => '为容器内的进程授予某些特定的权限。目前仅支持配置为NET_ADMIN和NET_RAW。'."\n"
."\n"
.'> NET_RAW默认不支持,需提交工单申请。', 'type' => 'string', 'required' => false, 'example' => 'NET_ADMIN', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
'ReadinessProbe.TcpSocket.Port' => ['description' => '使用TCP Socket方式进行健康检查时,TCP Socket检测的端口。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8000', 'title' => ''],
'ReadinessProbe.HttpGet.Scheme' => ['description' => '使用HTTP请求方式进行健康检查时,HTTP Get请求对应的协议类型,取值范围:'."\n"
."\n"
.'- HTTP。'."\n"
.'- HTTPS。', 'type' => 'string', 'required' => false, 'example' => 'HTTP', 'title' => ''],
'LivenessProbe.PeriodSeconds' => ['description' => '检查执行的周期,默认为值10秒,最小值为1秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
'Port' => [
'description' => 'The exposed ports and protocols.',
'type' => 'array',
'items' => [
'description' => 'The exposed ports and protocols.',
'type' => 'object',
'properties' => [
'Protocol' => ['description' => 'The protocol type. Valid values:'."\n"
."\n"
.'- TCP.'."\n"
.'- UDP.', 'type' => 'string', 'required' => false, 'example' => 'TCP', 'title' => ''],
'Port' => ['description' => 'The port number. Valid values: 1 to 65535.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'SecurityContext.ReadOnlyRootFilesystem' => ['description' => '容器运行的根文件系统是否为只读,目前仅支持配置为true。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'EnvironmentVar' => [
'description' => 'The information about environment variables.',
'type' => 'array',
'items' => [
'description' => 'The information about environment variables.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The name of the environment variable. The name must be 1 to 128 characters in length and must match the format `[0-9a-zA-Z]` and underscores. It cannot start with a digit.', 'type' => 'string', 'required' => false, 'example' => 'PATH', 'title' => ''],
'Value' => ['description' => 'The value of the environment variable. The value can be up to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => '/usr/local/bin', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 301,
'title' => '',
'example' => '',
],
'LivenessProbe.TcpSocket.Port' => ['description' => '使用TCP Socket方式进行健康检查时,TCP Socket检测的端口。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8000', 'title' => ''],
'Tty' => ['description' => 'Specifies whether to enable interaction. Default value: false.'."\n"
."\n"
.'Set this parameter to true when Command is set to `/bin/bash`.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'WorkingDir' => ['description' => 'The working directory of the container.', 'type' => 'string', 'required' => false, 'example' => '/usr/local/', 'title' => ''],
'LivenessProbe.HttpGet.Scheme' => ['description' => '使用HTTP请求方式进行健康检查时,HTTP Get请求对应的协议类型,取值范围:'."\n"
."\n"
.'- HTTP。'."\n"
.'- HTTPS。', 'type' => 'string', 'required' => false, 'example' => 'HTTP', 'title' => ''],
'ReadinessProbe.HttpGet.Port' => ['description' => '使用HTTP请求方式进行健康检查时,HTTP Get请求检测的端口号。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8080', 'title' => ''],
'Arg' => [
'description' => 'The arguments that correspond to the startup command of the container. A maximum of 10 arguments are supported.',
'type' => 'array',
'items' => ['description' => 'The arguments that correspond to the startup command of the container. A maximum of 10 arguments are supported.', 'type' => 'string', 'required' => false, 'example' => '100', 'title' => ''],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'Gpu' => ['description' => 'The number of GPUs for the container.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'ReadinessProbe.InitialDelaySeconds' => ['description' => '检查开始执行的时间,以容器启动完成为起点计算。单位为秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''],
'Stdin' => ['description' => 'Specifies whether this container should allocate a buffer for standard input in the container runtime. If this parameter is not set, reads from standard input in the container will result in EOF.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'Memory' => ['description' => 'The memory size of the container. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5', 'title' => ''],
'Name' => ['description' => 'The name of the container image.', 'type' => 'string', 'required' => false, 'example' => 'nginx', 'title' => ''],
'Image' => ['description' => 'The container image.', 'type' => 'string', 'required' => false, 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:latest', 'title' => ''],
'LivenessProbe.InitialDelaySeconds' => ['description' => '检查开始执行的时间,以容器启动完成为起点计算。单位为秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
'VolumeMount' => [
'description' => 'The volume mount information.',
'type' => 'array',
'items' => [
'description' => 'The volume mount information.',
'type' => 'object',
'properties' => [
'MountPropagation' => ['description' => 'The mount propagation setting of the volume. Mount propagation allows volumes mounted by a container to be shared with other containers in the same pod, or even with other pods on the same node. Valid values:'."\n"
."\n"
.'- None: the volume does not sense any subsequent mounts performed on this volume or its subdirectories.'."\n"
.'- HostToCotainer: the volume senses subsequent mounts performed on this volume or its subdirectories.'."\n"
.'- Bidirectional: similar to HostToCotainer, the volume senses mount operations. In addition, the volume is propagated back to the host and all containers of all pods that use the same volume.'."\n"
."\n"
.'Default value: None.', 'type' => 'string', 'required' => false, 'example' => 'None', 'title' => ''],
'MountPath' => ['description' => 'The directory to which the volume is mounted in the container.'."\n"
."\n"
.'><notice>The content in the container mount directory is overwritten by the content of the volume. Use this parameter with caution.'."\n"
.'></notice>.', 'type' => 'string', 'required' => false, 'example' => '/pod/data', 'title' => ''],
'ReadOnly' => ['description' => 'Specifies whether the volume is read-only.'."\n"
.'- true: read-only.'."\n"
.'- false: read and write.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'Name' => ['description' => 'The name of the volume. This value is the same as the Name value in Volume.', 'type' => 'string', 'required' => false, 'example' => 'default-volume1', 'title' => ''],
'SubPath' => ['description' => 'The sub-path of the volume.', 'type' => 'string', 'required' => false, 'example' => 'data2/', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'LivenessProbe.FailureThreshold' => ['description' => '从上次检查成功后认定检查失败的检查次数阈值(必须是连续失败)。'."\n"
."\n"
.'默认值:3。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''],
'ReadinessProbe.Exec.Command' => [
'description' => '使用命令行方式进行健康检查时,在容器内执行的命令。',
'type' => 'array',
'items' => ['description' => '使用命令行方式进行健康检查时,在容器内执行的命令。', 'type' => 'string', 'required' => false, 'example' => 'cat/tmp/healthy', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
'ReadinessProbe.FailureThreshold' => ['description' => '从上次检查成功后认定检查失败的检查次数阈值(必须是连续失败)。'."\n"
."\n"
.'默认值:3。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''],
'ImagePullPolicy' => ['description' => 'The image pull policy of the container. Valid values:'."\n"
."\n"
.'- Always: always pulls the image. The image is pulled each time.'."\n"
.'- IfNotPresent: pulls the image only when needed. The local image is used first. If no local image is available, the image is pulled.'."\n"
.'- Never: never pulls the image. Only the local image is used.', 'type' => 'string', 'required' => false, 'example' => 'Always', 'title' => ''],
'StdinOnce' => ['description' => 'Specifies whether the standard input stream remains in the enabling status across multiple attach sessions when standard input is set to true.'."\n"
."\n"
.'If StdinOnce is set to true, standard input is opened when the container starts and remains empty until the first client attaches to it. It then remains open and accepts data until the client disconnects, at which point standard input undergoes shutdown and remains closed until the container restarts.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'Cpu' => ['description' => 'The number of vCPUs of the container. Unit: cores.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.25', 'title' => ''],
'LivenessProbe.HttpGet.Port' => ['description' => '使用HTTP请求方式进行健康检查时,HTTP Get请求检测的端口号。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8888', 'title' => ''],
'LivenessProbe.HttpGet.Path' => ['description' => '使用HTTP请求方式进行健康检查时,HTTP Get请求检测的路径。', 'type' => 'string', 'required' => false, 'example' => '/healthyz', 'title' => ''],
'LivenessProbe.SuccessThreshold' => ['description' => '从上次检查失败后重新认定检查成功的检查次数阈值(必须是连续成功),默认值为1。当前值必须为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'ReadinessProbe.PeriodSeconds' => ['description' => '检查执行的周期,默认值为10秒,最小值为1秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''],
'LivenessProbe.TimeoutSeconds' => ['description' => '检查超时的时间,默认值为1秒,最小值为1秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'Command' => [
'description' => 'The startup commands of the container. A maximum of 20 commands are supported. Each command can contain up to 256 characters.',
'type' => 'array',
'items' => ['description' => 'The startup commands of the container. A maximum of 20 commands are supported. Each command can contain up to 256 characters.', 'type' => 'string', 'required' => false, 'example' => 'sleep', 'title' => ''],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'SecurityContext.RunAsUser' => ['description' => '设置运行容器的用户ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000', 'title' => ''],
'ReadinessProbe.HttpGet.Path' => ['description' => '使用HTTP请求方式进行健康检查时,HTTP Get请求检测的路径。', 'type' => 'string', 'required' => false, 'example' => '/healthz', 'title' => ''],
'LivenessProbe.Exec.Command' => [
'description' => '使用命令行方式进行健康检查时,在容器内执行的命令。',
'type' => 'array',
'items' => ['description' => '使用命令行方式进行健康检查时,在容器内执行的命令。', 'type' => 'string', 'required' => false, 'example' => 'cat /tmp/healthy', 'title' => ''],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
'LifecyclePostStartHandlerHttpGetHost' => ['description' => 'The host address that receives the HTTP Get request when the HTTP request method is used to set the PostStart callback function.', 'type' => 'string', 'required' => false, 'example' => '10.0.XX.XX', 'title' => ''],
'LifecyclePostStartHandlerHttpGetPort' => ['description' => 'The port number for HTTP Get request detection when the HTTP request method is used to set the PostStart callback function.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5050', 'title' => ''],
'LifecyclePostStartHandlerHttpGetPath' => ['description' => 'The path for HTTP Get request detection when the HTTP request method is used to set the PostStart callback function.', 'type' => 'string', 'required' => false, 'example' => '/healthyz', 'title' => ''],
'LifecyclePostStartHandlerHttpGetScheme' => ['description' => 'The protocol type for HTTP Get requests when the HTTP request method is used to set the PostStart callback function. Valid values:'."\n"
."\n"
.'- HTTP.'."\n"
.'- HTTPS.', 'type' => 'string', 'required' => false, 'example' => 'HTTPS', 'title' => ''],
'LifecyclePostStartHandlerExec' => [
'description' => 'The command to run in the container when the command-line method is used to set the PostStart callback function.',
'type' => 'array',
'items' => ['description' => 'The command to run in the container when the command-line method is used to set the PostStart callback function.', 'type' => 'string', 'required' => false, 'example' => '[ "/bin/sh", "-c", "echo Hello from the postStart handler /usr/share/message" ]', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
'LifecyclePostStartHandlerTcpSocketHost' => ['description' => 'The host address for TCP Socket detection when the TCP Socket method is used to set the PostStart callback function.', 'type' => 'string', 'required' => false, 'example' => '10.0.XX.XX', 'title' => ''],
'LifecyclePostStartHandlerTcpSocketPort' => ['description' => 'The port for TCP Socket detection when the TCP Socket method is used to set the PostStart callback function.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''],
'LifecyclePreStopHandlerHttpGetHost' => ['description' => 'The host address that receives the HTTP Get request when the HTTP request method is used to set the PreStop callback function.', 'type' => 'string', 'required' => false, 'example' => '10.0.XX.XX', 'title' => ''],
'LifecyclePreStopHandlerHttpGetPort' => ['description' => 'The port number for HTTP Get request detection when the HTTP request method is used to set the PreStop callback function.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''],
'LifecyclePreStopHandlerHttpGetPath' => ['description' => 'The path for HTTP Get request detection when the HTTP request method is used to set the PreStop callback function.', 'type' => 'string', 'required' => false, 'example' => '/healthyz', 'title' => ''],
'LifecyclePreStopHandlerHttpGetScheme' => ['description' => 'The protocol type for HTTP Get requests when the HTTP request method is used to set the PreStop callback function. Valid values:'."\n"
."\n"
.'- HTTP.'."\n"
.'- HTTPS.', 'type' => 'string', 'required' => false, 'example' => 'HTTP', 'title' => ''],
'LifecyclePreStopHandlerExec' => [
'description' => 'The command to run in the container when the command-line method is used to set the PreStop callback function.',
'type' => 'array',
'items' => ['description' => 'The command to run in the container when the command-line method is used to set the PreStop callback function.', 'type' => 'string', 'required' => false, 'example' => '[ "/bin/sh", "-c", "echo Hello from the preStop handler /usr/share/message" ]', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
'LifecyclePreStopHandlerTcpSocketHost' => ['description' => 'The host address for TCP Socket detection when the TCP Socket method is used to set the PreStop callback function.', 'type' => 'string', 'required' => false, 'example' => '10.0.XX.XX', 'title' => ''],
'LifecyclePreStopHandlerTcpSocketPort' => ['description' => 'The port for TCP Socket detection when the TCP Socket method is used to set the PreStop callback function.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
[
'name' => 'Volume',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The volume information.',
'type' => 'array',
'items' => [
'description' => 'The volume information.',
'type' => 'object',
'properties' => [
'Type' => ['description' => 'The type of the volume. Valid values:'."\n"
."\n"
.'- EmptyDirVolume.'."\n"
.'- NFSVolume.'."\n"
.'- ConfigFileVolume.'."\n"
.'- FlexVolume.', 'type' => 'string', 'required' => false, 'example' => 'EmptyDirVolume', 'title' => ''],
'DiskVolume.DiskSize' => ['description' => 'DiskVolume的大小。单位:GiB。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '15', 'title' => ''],
'NFSVolume.Path' => ['description' => 'NFS数据卷路径。', 'type' => 'string', 'required' => false, 'example' => '/share', 'title' => ''],
'FlexVolume.FsType' => ['description' => '挂载的文件系统类型,默认取决于FlexVolume的script。', 'type' => 'string', 'required' => false, 'example' => 'ext4', 'title' => ''],
'DiskVolume.FsType' => ['description' => '该系统类型不推荐使用,建议您使用`FlexVolume.FsType`参数。', 'type' => 'string', 'required' => false, 'example' => 'xfs', 'title' => ''],
'HostPathVolume.Type' => ['description' => 'Host目录的类型。例如:File、Directory、Socket等。', 'type' => 'string', 'required' => false, 'example' => 'Directory', 'title' => ''],
'NFSVolume.ReadOnly' => ['description' => 'NFS数据卷是否只读。'."\n"
.'- true:只读。'."\n"
.'- false:可读可写。'."\n"
."\n"
.'默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'HostPathVolume.Path' => ['description' => 'Host上的绝对路径。', 'type' => 'string', 'required' => false, 'example' => '/xx/xx/name', 'title' => ''],
'FlexVolume.Options' => ['description' => 'FlexVolume对象选项列表。为KV形式,采用JSON传递。'."\n"
."\n"
.'例如:通过FlexVolume挂载云盘时,Options的格式为`{"volumeId":"d-2zehdahrwoa7srg****","performanceLevel": "PL2"}`。', 'type' => 'string', 'required' => false, 'example' => '{"volumeId":"d-2zehdahrwoa7srg****","performanceLevel": "PL2"}', 'title' => ''],
'FlexVolume.Driver' => ['description' => '用于FlexVolume的驱动程序名称。', 'type' => 'string', 'required' => false, 'example' => 'flexvolume', 'title' => ''],
'ConfigFileVolumeDefaultMode' => ['description' => 'The default permissions of the ConfigFileVolume.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0644', 'title' => ''],
'NFSVolume.Server' => ['description' => 'NFS服务器地址。', 'type' => 'string', 'required' => false, 'example' => '3f9cd4a596-n****.cn-shanghai.nas.aliyuncs.com', 'title' => ''],
'DiskVolume.DiskId' => ['description' => 'DiskVolume的ID。', 'type' => 'string', 'required' => false, 'example' => 'd-xx', 'title' => ''],
'Name' => ['description' => 'The name of the volume.', 'type' => 'string', 'required' => false, 'example' => 'default-volume1', 'title' => ''],
'EmptyDirVolume.Medium' => ['description' => 'EmptyDirVolume的存储媒介,默认为空,使用node文件系统;支持memory,表示使用内存。', 'type' => 'string', 'required' => false, 'example' => 'memory', 'title' => ''],
'ConfigFileVolumeConfigFileToPath' => [
'description' => 'The list of configuration file paths.',
'type' => 'array',
'items' => [
'description' => 'The list of configuration file paths.',
'type' => 'object',
'properties' => [
'Path' => ['description' => 'The relative file path.', 'type' => 'string', 'required' => false, 'example' => '/usr/bin/', 'title' => ''],
'Mode' => ['description' => 'The permissions of the ConfigFileVolume directory.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0644', 'title' => ''],
'Content' => ['description' => 'The content of the configuration file (32 KB).', 'type' => 'string', 'required' => false, 'example' => 'bGl1bWk=', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 90,
'title' => '',
'example' => '',
],
'EmptyDirVolume.SizeLimit' => ['description' => 'EmptyDir数据卷的大小。取值时请带上单位,建议使用Gi或Mi。', 'type' => 'string', 'required' => false, 'example' => '256 Mi', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
],
[
'name' => 'InitContainer',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of init containers.',
'type' => 'array',
'items' => [
'description' => 'The list of init containers.',
'type' => 'object',
'properties' => [
'InitContainerEnvironmentVar' => [
'description' => 'The information about environment variables.',
'type' => 'array',
'items' => [
'description' => 'The information about environment variables.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The name of the environment variable. The name must be 1 to 128 characters in length and must match the format `[0-9a-zA-Z]` and underscores. It cannot start with a digit.', 'type' => 'string', 'required' => false, 'example' => 'Path', 'title' => ''],
'Value' => ['description' => 'The value of the environment variable. The value can be up to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => '/usr/bin/', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 301,
'title' => '',
'example' => '',
],
'SecurityContext.Capability.Add' => [
'description' => '为容器内的进程授予某些特定的权限。目前仅支持配置为NET_ADMIN和NET_RAW。'."\n"
."\n"
.'>NET_RAW默认不支持,需提交工单申请。',
'type' => 'array',
'items' => ['description' => '为容器内的进程授予某些特定的权限。目前仅支持配置为NET_ADMIN和NET_RAW。'."\n"
."\n"
.'>NET_RAW默认不支持,需提交工单申请。', 'type' => 'string', 'required' => false, 'example' => 'NET_ADMIN', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
'Image' => ['description' => 'The image used by the container.', 'type' => 'string', 'required' => false, 'example' => 'nginx', 'title' => ''],
'InitContainerVolumeMount' => [
'description' => 'The volume mount information.',
'type' => 'array',
'items' => [
'description' => 'The volume mount information.',
'type' => 'object',
'properties' => [
'MountPropagation' => ['description' => 'The mount propagation setting of the volume. Mount propagation allows volumes mounted by a container to be shared with other containers in the same pod, or even with other pods on the same node. Valid values:'."\n"
."\n"
.'- None: the volume does not sense any subsequent mounts performed on this volume or its subdirectories.'."\n"
.'- HostToCotainer: the volume senses subsequent mounts performed on this volume or its subdirectories.'."\n"
.'- Bidirectional: similar to HostToCotainer, the volume senses mount operations. In addition, the volume is propagated back to the host and all containers of all pods that use the same volume.'."\n"
."\n"
.'Default value: None.', 'type' => 'string', 'required' => false, 'example' => 'None', 'title' => ''],
'MountPath' => ['description' => 'The mount directory.'."\n"
."\n"
.'><notice>The content in the container mount directory is overwritten by the content of the volume. Use this parameter with caution.'."\n"
.'></notice>.', 'type' => 'string', 'required' => false, 'example' => '/usr/share/', 'title' => ''],
'ReadOnly' => ['description' => 'Specifies whether the mount path is read-only.'."\n"
.'- true: read-only.'."\n"
.'- false: read and write.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'Name' => ['description' => 'The name of the mounted volume.', 'type' => 'string', 'required' => false, 'example' => 'test-empty', 'title' => ''],
'SubPath' => ['description' => 'The subdirectory of the volume. This allows a pod to mount different directories of the same volume to different directories in the container.', 'type' => 'string', 'required' => false, 'example' => '/usr/sub/', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'ImagePullPolicy' => ['description' => 'The image pull policy. Valid values:'."\n"
."\n"
.'- Always: always pulls the image. The image is pulled each time.'."\n"
.'- IfNotPresent: pulls the image only when needed. The local image is used first. If no local image is available, the image is pulled.'."\n"
.'- Never: never pulls the image. Only the local image is used.', 'type' => 'string', 'required' => false, 'example' => 'Always', 'title' => ''],
'Cpu' => ['description' => 'The number of vCPUs of the container. Unit: cores.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.5', 'title' => ''],
'WorkingDir' => ['description' => 'The working directory.', 'type' => 'string', 'required' => false, 'example' => '/usr/local', 'title' => ''],
'Command' => [
'description' => 'The startup commands of the container.',
'type' => 'array',
'items' => ['description' => 'The startup commands of the container.', 'type' => 'string', 'required' => false, 'example' => 'sleep', 'title' => ''],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'Arg' => [
'description' => 'The startup arguments of the container.',
'type' => 'array',
'items' => ['description' => 'The startup arguments of the container.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
'SecurityContext.RunAsUser' => ['description' => '设置运行容器的用户ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '587', 'title' => ''],
'Gpu' => ['description' => 'The number of GPUs for the container.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'Memory' => ['description' => 'The memory size. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1.0', 'title' => ''],
'Name' => ['description' => 'The container name.', 'type' => 'string', 'required' => false, 'example' => 'test-init', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
[
'name' => 'DnsConfigNameServer',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of IP addresses of DNS servers.',
'type' => 'array',
'items' => ['description' => 'The list of IP addresses of DNS servers.', 'type' => 'string', 'required' => false, 'example' => '172.10.*.**', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'DnsConfigSearch',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of DNS search domains.',
'type' => 'array',
'items' => ['description' => 'The list of DNS search domains.', 'type' => 'string', 'required' => false, 'example' => 'svc.local.kubenetes', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'DnsConfigOption',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of object options. Each object consists of a Name and an optional Value.',
'type' => 'array',
'items' => [
'description' => 'The list of object options. Each object consists of a Name and an optional Value.',
'type' => 'object',
'properties' => [
'Value' => ['description' => 'The value of the object variable.', 'type' => 'string', 'required' => false, 'example' => 'value', 'title' => ''],
'Name' => ['description' => 'The name of the object variable.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'HostAliase',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The custom hostname mapping for a container in the instance.',
'type' => 'array',
'items' => [
'description' => 'The custom hostname mapping for a container in the instance.',
'type' => 'object',
'properties' => [
'Ip' => ['description' => 'The IP address to add.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''],
'Hostname' => [
'description' => 'The hostname to add.',
'type' => 'array',
'items' => ['description' => 'The hostname to add.', 'type' => 'string', 'required' => false, 'example' => '[\'hehe.com\', \'haha.com\']', 'title' => ''],
'required' => false,
'maxItems' => 51,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 101,
'title' => '',
'example' => '',
],
],
[
'name' => 'SecurityContextSysctl',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The security context in which the container group runs.',
'type' => 'array',
'items' => [
'description' => 'The security context in which the container group runs.',
'type' => 'object',
'properties' => [
'Value' => ['description' => 'The contextual variable value of the security context in which the instance runs.', 'type' => 'string', 'required' => false, 'example' => '65536', 'title' => ''],
'Name' => ['description' => 'The system name of the security context in which the instance runs.', 'type' => 'string', 'required' => false, 'example' => 'kernel.msgmax', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 11,
'title' => '',
'example' => '',
],
],
[
'name' => 'NtpServer',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The NTP server.',
'type' => 'array',
'items' => ['description' => 'The NTP server.', 'type' => 'string', 'required' => false, 'example' => 'ntp.cloud.aliyuncs.com', 'title' => ''],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
[
'name' => 'AcrRegistryInfo',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The information about the ACR Enterprise instance.',
'type' => 'array',
'items' => [
'description' => 'The information about the ACR Enterprise instance.',
'type' => 'object',
'properties' => [
'Domain' => [
'description' => 'The domain name of the ACR Enterprise instance. By default, all domain names of the instance are used. You can specify individual domain names. Separate multiple domain names with commas (,).',
'type' => 'array',
'items' => ['description' => 'The domain name of the ACR Enterprise instance. By default, all domain names of the instance are used. You can specify individual domain names. Separate multiple domain names with commas (,).', 'type' => 'string', 'required' => false, 'example' => '*****-****-registry.cn-beijing.cr.aliyuncs.com', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
'InstanceName' => ['description' => 'The name of the ACR Enterprise instance.', 'type' => 'string', 'required' => false, 'example' => 'acr-test', 'title' => ''],
'InstanceId' => ['description' => 'The instance ID of the ACR Enterprise instance.', 'type' => 'string', 'required' => false, 'example' => 'cri-nwj395hgf6f3****', 'title' => ''],
'RegionId' => ['description' => 'The region of the ACR Enterprise instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
[
'name' => 'CostOptimization',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable cost optimization. Valid values:'."\n"
."\n"
.'- true: Enabled.'."\n"
.'- false: Not enabled.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'InstanceFamilyLevel',
'in' => 'query',
'schema' => ['description' => 'The level of the instance family, which is used to filter instance types that meet the requirements. This parameter takes effect when `CostOptimization` is enabled. Valid values:'."\n"
."\n"
.'- EntryLevel: shared instance types. Lower cost, but instance computing performance is not guaranteed to be stable. Applicable to scenarios with low CPU usage. For more information, see [Shared instance families](~~108489~~).'."\n"
.'- EnterpriseLevel: enterprise-level instance types. Stable performance with dedicated resources. Applicable to scenarios that require high stability. For more information, see [Instance families](~~25378~~).'."\n"
.'- CreditEntryLevel: burstable instance types. CPU credits are used to ensure computing performance. Applicable to scenarios with low average CPU usage and occasional bursts. For more information, see [Overview of burstable instances](~~59977~~).', 'type' => 'string', 'required' => false, 'example' => 'EnterpriseLevel', 'title' => ''],
],
[
'name' => 'ContainersUpdateType',
'in' => 'query',
'allowEmptyValue' => false,
'schema' => ['description' => 'The control request parameter for the Containers parameter update method. Valid values:'."\n"
."\n"
.'- RenewUpdate: full update. The Containers request parameters in the update request overwrite the existing Containers parameter configurations.'."\n"
.'- IncrementalUpdate: incremental update. Containers are matched by Containers.Name, and only the request parameters specified in the request are updated. Parameters that are not specified are not updated.'."\n"
."\n"
.'Default value: RenewUpdate.', 'type' => 'string', 'required' => false, 'example' => 'RenewUpdate', 'title' => ''],
],
[
'name' => 'InstanceType',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The specified ECS instance types. You can specify up to five instance types.',
'type' => 'array',
'items' => ['description' => 'The specified ECS instance type. You can specify up to five instance types. For more information, see [Create instances by specifying ECS instance types](~~114664~~).', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.large', 'title' => ''],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'DataCacheBucket',
'in' => 'query',
'schema' => ['description' => 'The data cache bucket.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
'name' => 'DataCachePL',
'in' => 'query',
'schema' => ['description' => '数据缓存使用的云盘的性能等级。建议优先使用ESSD云盘,该云盘的性能等级取值范围:'."\n"
."\n"
.'- PL0:单盘最高随机读写IOPS 1万。'."\n"
.'- PL1:单盘最高随机读写IOPS 5万。'."\n"
.'- PL2:单盘最高随机读写IOPS 10万。'."\n"
.'- PL3:单盘最高随机读写IOPS 100万。'."\n"
."\n"
.'默认值:PL1。'."\n"
.'>关于ESSD云盘的更多信息,请参见[ESSD云盘](~~122389~~)。', 'type' => 'string', 'required' => false, 'example' => 'PL1', 'title' => ''],
],
[
'name' => 'DataCacheProvisionedIops',
'in' => 'query',
'schema' => ['description' => 'The provisioned read/write IOPS of the ESSD AutoPL disk when the data cache uses an ESSD AutoPL disk. Valid values: 0 to min{50000, 1000 × Capacity - Baseline performance}, where Baseline performance = min{1800 + 50 × Capacity, 50000}.'."\n"
."\n"
.'>For more information about ESSD AutoPL disks, see [ESSD AutoPL disks](~~368372~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '40000', 'title' => ''],
],
[
'name' => 'DataCacheBurstingEnabled',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable burst (performance bursting) when the data cache uses an ESSD AutoPL disk. Valid values:'."\n"
.'- true: Enabled.'."\n"
.'- false: Not enabled.'."\n"
."\n"
.'Default value: false.'."\n"
.'>For more information about ESSD AutoPL disks, see [ESSD AutoPL disks](~~368372~~).', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'GpuDriverVersion',
'in' => 'query',
'schema' => ['description' => 'The GPU driver version. Valid values:'."\n"
.'- tesla=470.82.01 (default)'."\n"
.'- tesla=525.85.12'."\n"
."\n"
.'> Only specific instance types support switching the GPU driver version. For more information, see [Create instances by specifying GPU specifications](~~2579486~~).', 'type' => 'string', 'required' => false, 'example' => 'tesla=525.85.12', 'title' => ''],
],
[
'name' => 'Override',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to overwrite. Valid values:'."\n"
."\n"
.'- true: Overwrite.'."\n"
.'- false: Do not overwrite.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID, which is a unique identifier.', 'type' => 'string', 'example' => '89945DD3-9072-47D0-A318-353284CF****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'Forbidden.RiskControl', 'errorMessage' => 'Forbidden.RiskControl', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"89945DD3-9072-47D0-A318-353284CF****\\"\\n}","type":"json"}]',
'title' => 'Modify a scaling configuration',
'description' => '## Operation description'."\n"
."\n"
.'- If you modify the name of a scaling configuration, make sure that no scaling configuration with the same name exists in the same scaling group.'."\n"
."\n"
.'- You can call [DescribeEciScalingConfigurations](~~426144~~) to query and verify the modification result.',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You are not authorized to perform the specified action.|'."\n"
.'|404|InvalidDataDiskSnapshotId.NotFound|Snapshot "XXX" does not exist.|The specified snapshot does not exist.|'."\n"
.'|400|InvalidDataDiskSnapshotId.SizeNotSupported|The capacity of snapshot "XXX" exceeds the size limit of the specified disk category.|The size of the specified snapshot exceeds the disk size limit.|'."\n"
.'|404|InvalidImageId.NotFound|The specified image does not exist.|The specified image does not exist.|'."\n"
.'|400|InvalidKeyPairName.NotFound|The specified KeyPairName does not exist in our records.|The specified KeyPairName does not exist.|'."\n"
.'|400|InvalidNetworkType.ForRAMRole|RAMRole can\'t be used For classic instance.|The RamRoleName parameter is not supported for classic network instances.|'."\n"
.'|400|InvalidParamter|The specified value of parameter is not valid.|The specified parameter value is invalid.|'."\n"
.'|400|InvalidScalingConfigurationName.Duplicate|The specified value of parameter is duplicated.|The scaling configuration name already exists.|'."\n"
.'|400|InvalidSecurityGroupId.IncorrectNetworkType|The network type of specified Security Group does not support this action.|The network type of the specified security group does not match the network type of the scaling group.|'."\n"
.'|400|InvalidSecurityGroupId.VPCMismatch|The specified security group and the specified virtual switch are not in the same VPC.|The specified security group and vSwitch do not belong to the same VPC.|'."\n"
.'|400|InvalidTags.KeyValue|The specified tags key/value cannot be empty.|The Tags parameter is required.|'."\n"
.'|400|InvalidTags.ListSize|The specified tags list size cannot be more than "20".|The number of tags exceeds the maximum limit.|'."\n"
.'|400|InvalidUserData.Base64FormatInvalid|The specified parameter UserData must be base64 encoded.|The UserData parameter does not conform to the Base64 encoding specification.|'."\n"
.'|400|InvalidUserData.SizeExceeded|The specified parameter UserData exceeds the size.|The specified UserData is too long.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyEciScalingConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyEciScalingConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'ModifyInstanceAttribute' => [
'summary' => 'Modifies partial information of an ECS instance in a scaling group by calling the ModifyInstanceAttribute API. Currently, only the lifecycle management property of instances manually added to a scaling group can be modified, allowing Auto Scaling to manage ECS instances in the scaling group more flexibly.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '201545',
'abilityTreeNodes' => ['FEATUREessBFHJ1B'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the ECS instance in the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'i-bp109k5j3dum1ce6****', 'title' => ''],
],
[
'name' => 'Entrusted',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to entrust the lifecycle of a manually added ECS instance to the scaling group. Valid values:'."\n"
."\n"
.'- true: Entrusted. The lifecycle of the instance is managed by Auto Scaling, the same as instances of automatic creation in the scaling group. The instance is subject to automatic release when removed from the scaling group (excluding instances removed by invoking the DetachInstances operation).'."\n"
.'- false: Not entrusted. The instance is not released when removed from the scaling group.'."\n"
."\n"
.'> This parameter is supported only for instances manually added to the scaling group, not for instances created within the scaling group.', 'type' => 'boolean', 'docRequired' => true, 'required' => true, 'example' => 'true', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'InstanceIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'items' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'i-bp109k5j3dum1ce6****', 'title' => ''],
'required' => false,
'maxItems' => 20,
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Modify partial information of an ECS instance in a scaling group',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyInstanceAttribute',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyInstanceAttribute'],
],
],
],
'ModifyLifecycleHook' => [
'summary' => 'Modifies the information of a lifecycle hook.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92706',
'abilityTreeNodes' => ['FEATUREessKFTMD6'],
],
'parameters' => [
[
'name' => 'LifecycleHookId',
'in' => 'query',
'schema' => ['description' => 'The ID of the lifecycle hook that you want to modify. This parameter is used to specify the lifecycle hook.', 'type' => 'string', 'required' => false, 'example' => 'ash-bp1fxuqyi98w0aib****', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group. This parameter is used to specify the lifecycle hook.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'LifecycleHookName',
'in' => 'query',
'schema' => ['description' => 'The name of the lifecycle hook that you want to modify. This parameter is used to specify the lifecycle hook.', 'type' => 'string', 'required' => false, 'example' => 'test_SCAL****', 'title' => ''],
],
[
'name' => 'DefaultResult',
'in' => 'query',
'schema' => ['description' => 'The action that Auto Scaling takes when the lifecycle hook times out. Valid values: '."\n"
."\n"
.'- CONTINUE: Auto Scaling continues to response to scale-out or scale-down activities.'."\n"
.'- ABANDON: Auto Scaling releases the ECS instances that are created during scale-out activities or removes the ECS instances from the scaling group during scale-down activities.'."\n"
.'- ROLLBACK: For scale-down activities, Auto Scaling rejects the release of ECS instances and performs a rollback. For scale-out activities, Auto Scaling releases the created ECS instances, which has the same effect as ABANDON.'."\n"
."\n"
.'When a scale-down activity (SCALE_IN) occurs in a scaling group and triggers multiple lifecycle hooks, if the DefaultResult of a lifecycle hook is set to ABANDON or ROLLBACK and the wait state of the hook ends, the wait states of the other lifecycle hooks end early. In other cases, the action is determined by the last lifecycle hook whose wait state ends.', 'type' => 'string', 'required' => false, 'example' => 'CONTINUE', 'title' => ''],
],
[
'name' => 'HeartbeatTimeout',
'in' => 'query',
'schema' => ['description' => 'The wait time that the lifecycle hook sets for the scaling activity. After the wait state times out, the default action is taken. Valid values: 30 to 21600. Unit: seconds.'."\n"
."\n"
.'You can call [RecordLifecycleActionHeartbeat](~~73846~~) to extend the wait time for an ECS instance, or call [CompleteLifecycleAction](~~73847~~) to end the wait state of a scaling activity early.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600', 'title' => ''],
],
[
'name' => 'LifecycleTransition',
'in' => 'query',
'schema' => ['description' => 'The type of scaling activity to which the lifecycle hook applies. Valid values:'."\n"
.'- SCALE_OUT: scale-out activities of the scaling group.'."\n"
.'- SCALE_IN: scale-down activities of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'SCALE_IN', 'title' => ''],
],
[
'name' => 'NotificationMetadata',
'in' => 'query',
'schema' => ['description' => 'The fixed string information that is associated with the wait state of a scaling activity. The parameter value cannot exceed 4,096 characters in length.'."\n"
."\n"
.'Each time Auto Scaling pushes a message to the Notification Recipient, it also sends the NotificationMetadata parameter value that you specify. This helps you manage and mark notifications of different categories. The NotificationMetadata parameter takes effect only when you also specify the NotificationArn parameter.', 'type' => 'string', 'required' => false, 'example' => 'Test', 'title' => ''],
],
[
'name' => 'NotificationArn',
'in' => 'query',
'schema' => ['description' => 'The identifier of the Notification Recipient for the lifecycle hook. This parameter supports the following notification methods:'."\n"
.'- Simple Message Queue (formerly MNS) queue: `acs:mns:{region-id}:{account-id}:queue/{queuename}`.'."\n"
.'- Simple Message Queue (formerly MNS) topic: `acs:mns:{region-id}:{account-id}:topic/{topicname}`.'."\n"
.'- OOS template: `acs:oos:{region-id}:{account-id}:template/{templatename}`.'."\n"
.'- EventBridge: `acs:eventbridge:{region-id}:{account-id}:eventbus/default`.'."\n"
."\n"
.'The variables in the parameter format are described as follows:'."\n"
.'- region-id: the region ID of the scaling group.'."\n"
.'- account-id: the Alibaba Cloud account ID.'."\n"
.'- queuename: the name of the Simple Message Queue (formerly MNS) queue.'."\n"
.'- topicname: the name of the Simple Message Queue (formerly MNS) topic.'."\n"
.'- templatename: the name of the OOS template.', 'type' => 'string', 'required' => false, 'example' => 'acs:mns:cn-beijing:161456884340****:queue/modifyLifecycleHo****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''],
],
[
'name' => 'LifecycleHookStatus',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['description' => 'The status to which you want to change the lifecycle hook. Valid values:'."\n"
.'- Active: starts the lifecycle hook.'."\n"
.'- InActive: pauses the lifecycle hook.'."\n"
."\n"
.'If you do not specify this parameter, the lifecycle hook retains its current status.'."\n"
.'>After a lifecycle hook is created, it is in the Active state by default.', 'type' => 'string', 'required' => false, 'example' => 'Active', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Modify a lifecycle hook',
'description' => '## Operation description'."\n"
."\n"
.'You can specify the lifecycle hook to modify in one of the following ways:'."\n"
."\n"
.'- Specify only the lifecycle hook ID (LifecycleHookId). The scaling group ID (ScalingGroupId) and lifecycle hook name (LifecycleHookName) parameters are ignored.'."\n"
."\n"
.'- Specify both the scaling group ID (ScalingGroupId) and lifecycle hook name (LifecycleHookName), because the lifecycle hook name is unique within a scaling group.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidParamter|The specified value of parameter is not valid.|The specified parameter value is invalid.|'."\n"
.'|400|InvalidLifecycleHookId.NotExist|The specified lifecycleHookId not exist.|The specified LifecycleHookId does not exist.|'."\n"
.'|400|InvalidLifecycleHookName.NotExist|The specified lifecycleHookName you provided not exist.|The specified LifecycleHookName does not exist.|'."\n"
.'|400|InvalidNotificationArn|The specified parameter NotificationArn is invalid.|The specified NotificationArn does not exist.|'."\n"
.'|400|UnsupportedNotificationType.CurrentRegion|The NotificationType is not supported in the special region which scalingGroup belongs to.|The notification method is not supported in the region of the scaling group.|'."\n"
.'|400|LifecycleHook|The specified queue does not exist.|The specified Simple Message Queue (formerly MNS) queue does not exist.|'."\n"
.'|400|TopicNotExist|The specified topic does not exist.|The specified Simple Message Queue (formerly MNS) topic does not exist.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyLifecycleHook',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyLifecycleHook'],
],
],
],
'ModifyNotificationConfiguration' => [
'summary' => 'Modifies a notification for Auto Scaling events and resource changes.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92707',
'abilityTreeNodes' => ['FEATUREess6E26FJ', 'FEATUREessFY8KDA'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
],
[
'name' => 'NotificationArn',
'in' => 'query',
'schema' => ['description' => 'The identity of the Notification Recipient. The following notification methods are supported when you configure the Settings for this parameter:'."\n"
."\n"
.'- CloudMonitor monitoring. The parameter value is in the format of `acs:ess:{region-id}:{account-id}:cloudmonitor`.'."\n"
.'- MNS queue. The parameter value is in the format of `acs:mns:{region-id}:{account-id}:queue/{queuename}`.'."\n"
.'- MNS topic. The parameter value is in the format of `acs:mns:{region-id}:{account-id}:topic/{topicname}`.'."\n"
."\n"
.'The variables in the parameter format have the following meanings:'."\n"
.'- region-id: the region ID of the scaling group.'."\n"
.'- account-id: the Alibaba Cloud account ID.'."\n"
.'- queuename: the name of the MNS queue.'."\n"
.'- topicname: the name of the MNS topic.', 'type' => 'string', 'required' => true, 'example' => 'acs:ess:cn-beijing:161456884340****:cloudmonitor', 'title' => ''],
],
[
'name' => 'NotificationType',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'One or more types of Auto Scaling event and resource change notifications. Valid values of N: 1 to 8.',
'type' => 'array',
'items' => ['description' => 'One or more types of Auto Scaling event and resource change notifications. Valid values of N: 1 to 8.'."\n"
."\n"
.'- AUTOSCALING:SCALE_OUT_SUCCESS: The scale-out scaling activity succeeded.'."\n"
.'- AUTOSCALING:SCALE_IN_SUCCESS: The scale-in scaling activity succeeded.'."\n"
.'- AUTOSCALING:SCALE_OUT_ERROR: The scale-out scaling activity failed.'."\n"
.'- AUTOSCALING:SCALE_IN_ERROR: The scale-in scaling activity failed.'."\n"
.'- AUTOSCALING:SCALE_REJECT: The scaling activity was rejected.'."\n"
.'- AUTOSCALING:SCALE_OUT_START: The scale-out scaling activity started.'."\n"
.'- AUTOSCALING:SCALE_IN_START: The scale-in scaling activity started.'."\n"
.'- AUTOSCALING:SCHEDULE_TASK_EXPIRING: A reminder that a scheduled task is about to expire.'."\n"
.'- SCALING_GROUP_DIAGNOSE: Scaling group diagnostics.'."\n"
.'- AUTOSCALING:SCALE_OUT_WARN: The scale-out scaling activity partially succeeded.'."\n"
.'- AUTOSCALG:SCALE_IN_WARN: The scale-down scaling activity partially succeeded.', 'type' => 'string', 'required' => false, 'example' => 'AUTOSCALING:SCALE_OUT_SUCCESS', 'title' => ''],
'required' => true,
'example' => 'AUTOSCALING:SCALE_OUT_SUCCESS',
'maxItems' => 12,
'title' => '',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''],
],
[
'name' => 'TimeZone',
'in' => 'query',
'schema' => ['description' => 'The time zone for message notifications.'."\n"
.'The offset relative to Coordinated Universal Time (UTC), such as UTC+8 or UTC-7.', 'type' => 'string', 'required' => false, 'example' => 'UTC+8', 'title' => ''],
],
[
'name' => 'MessageEncoding',
'in' => 'query',
'schema' => ['description' => 'The encoding method for the notification content. Valid values:'."\n"
."\n"
.'- PlainText: no encoding. The content is transmitted in plaintext.'."\n"
.'- Base64: Base64 encoding.'."\n"
."\n"
.'Default value: Base64.'."\n"
."\n"
.'> This parameter can be set only for MNS Notification Recipient Settings.', 'type' => 'string', 'required' => false, 'example' => 'PlainText', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Modify a notification for Auto Scaling events and resource changes',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidNotificationTypes|The specified NotificationType is invalid.|The specified NotificationType.N is invalid.|'."\n"
.'|400|NotificationConfigurationNotExist|The specified notification configuration not exist for the scaling group.|The specified Auto Scaling event and resource change notification type does not exist for the scaling group.|'."\n"
.'|400|InvalidParameter.TimeZone| The specified parameter TimeZone is not valid.|The specified TimeZone parameter is invalid.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyNotificationConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyNotificationConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'ModifyScalingConfiguration' => [
'summary' => 'Modifies an ECS-type scaling configuration, which serves as the template for ECS instances to be created during scale-out events.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92708',
'abilityTreeNodes' => ['FEATUREessT4M3WE'],
],
'parameters' => [
[
'name' => 'ScalingConfigurationId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling configuration that you want to modify.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asc-bp16har3jpj6fjbx****', 'title' => ''],
],
[
'name' => 'IoOptimized',
'in' => 'query',
'schema' => ['description' => 'Specifies whether the instance is an I/O optimization instance. Valid values:'."\n"
.'- none: The instance is not an I/O optimization instance.'."\n"
.'- optimized: The instance is an I/O optimization instance.', 'type' => 'string', 'required' => false, 'example' => 'none', 'title' => ''],
],
[
'name' => 'SpotStrategy',
'in' => 'query',
'schema' => ['description' => 'The preemption policy for pay-as-you-go instances. Valid values:'."\n"
.' '."\n"
.'- NoSpot: a regular pay-as-you-go instance.'."\n"
.'- SpotWithPriceLimit: a spot instance with a user-defined maximum hourly price.'."\n"
.'- SpotAsPriceGo: a spot instance for which the market price at the time of purchase is automatically used as the bid price.', 'type' => 'string', 'required' => false, 'example' => 'NoSpot', 'title' => ''],
],
[
'name' => 'ScalingConfigurationName',
'in' => 'query',
'schema' => ['description' => 'The name of the scaling configuration. The name must be 2 to 64 characters in length and can contain letters, digits, underscores (\\_), hyphens (-), and periods (.). It must start with a letter, digit, or Chinese character.'."\n"
."\n"
.'The name must be unique within a scaling group in the same region. If you do not specify this parameter, the ID of the scaling configuration is used by default.', 'type' => 'string', 'required' => false, 'example' => 'test-modify', 'title' => ''],
],
[
'name' => 'InstanceName',
'in' => 'query',
'schema' => ['description' => 'The name of the ECS instance that is created by automatic creation based on the scaling configuration.', 'type' => 'string', 'required' => false, 'example' => 'inst****', 'title' => ''],
],
[
'name' => 'HostName',
'in' => 'query',
'schema' => ['description' => 'The hostname of the Elastic Compute Service (ECS) server. A period (.) or a hyphen (-) cannot be used as the first or last character, or used consecutively. Naming conventions vary by instance type: '."\n"
."\n"
.'- Windows instances: The hostname must be 2 to 15 characters in length and can contain letters, digits, and hyphens (-). It cannot contain periods (.) or consist entirely of digits. '."\n"
.'- Other instances (such as Linux): The hostname must be 2 to 64 characters in length and can contain multiple periods (.). Each segment separated by a period (.) can contain letters, digits, and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'hos****', 'title' => ''],
],
[
'name' => 'ImageId',
'in' => 'query',
'schema' => ['description' => 'The ID of the image file used to automatically create instances.'."\n"
."\n"
.'> If the image previously used in the scaling configuration includes a system cloud disk and data cloud disks, the data cloud disk information is purged after you change the image. This is because automatic creation of instances uses the new image, which does not retain the previous data cloud disk configuration.', 'type' => 'string', 'required' => false, 'example' => 'centos6u5_64_20G_aliaegis_2014****.vhd', 'title' => ''],
],
[
'name' => 'ImageName',
'in' => 'query',
'schema' => ['description' => 'The name of the image. Image names must be unique within a region. If you specify ImageId, ImageName is ignored.'."\n"
."\n\n"
.'You cannot use ImageName to specify images from Alibaba Cloud Marketplace.', 'type' => 'string', 'required' => false, 'example' => 'suse11sp3_64_20G_aliaegis_2015****.vhd', 'title' => ''],
],
[
'name' => 'Cpu',
'in' => 'query',
'schema' => ['description' => 'The number of vCPUs.'."\n"
."\n"
.'You can specify both Cpu and Memory to define the range of instance types. For example, setting Cpu to 2 and Memory to 16 defines all instance types with 2 vCPUs and 16 GiB of memory. Auto Scaling determines the set of active instance types based on factors such as I/O optimization and zones, and then creates instances of the lowest-priced instance type by sorting.'."\n"
."\n"
.'> This configuration takes effect only when the cost optimization mode is enabled and no instance type is specified in the scaling configuration.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'Memory',
'in' => 'query',
'schema' => ['description' => 'The memory size.'."\n"
."\n"
.'You can specify both Cpu and Memory to define the range of instance types. For example, setting Cpu to 2 and Memory to 16 defines all instance types with 2 vCPUs and 16 GiB of memory. Auto Scaling determines the set of active instance types based on factors such as I/O optimization and zones, and then creates instances of the lowest-priced instance type by sorting.'."\n"
."\n"
.'> This configuration takes effect only when the cost optimization mode is enabled and no instance type is specified in the scaling configuration.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '16', 'title' => ''],
],
[
'name' => 'InternetChargeType',
'in' => 'query',
'schema' => ['description' => 'The billing method for network usage. Valid values:'."\n"
."\n"
.'- PayByBandwidth: You are charged for the fixed bandwidth that you specify by using InternetMaxBandwidthOut. '."\n"
.'- PayByTraffic: You are charged based on the actual network traffic. InternetMaxBandwidthOut specifies only the maximum outbound bandwidth.', 'type' => 'string', 'required' => false, 'example' => 'PayByBandwidth', 'title' => ''],
],
[
'name' => 'InternetMaxBandwidthOut',
'in' => 'query',
'schema' => ['description' => 'The maximum outbound bandwidth for the public network. Unit: Mbit/s. Valid values: 0 to 100.'."\n"
."\n"
.'Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'SystemDisk.Category',
'in' => 'query',
'schema' => ['description' => 'The category of the system cloud disk. Valid values:'."\n"
."\n"
.'- cloud: basic cloud disk. The DeleteWithInstance property of a basic cloud disk created together with the instance is set to true.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
.'- ephemeral_ssd: local SSD.'."\n"
.'- cloud_auto: ESSD AutoPL cloud disk.'."\n"
."\n"
.'You cannot specify this parameter together with SystemDiskCategories.N. If neither this parameter nor SystemDiskCategories.N is specified, the default value is used. If the instance type belongs to Generation I instance families and the instance is not an I/O optimization instance, the default value is cloud. Otherwise, the default value is cloud_efficiency.', 'type' => 'string', 'required' => false, 'example' => 'cloud_efficiency', 'title' => ''],
],
[
'name' => 'SystemDisk.Size',
'in' => 'query',
'schema' => ['description' => 'The size of the system cloud disk. Unit: GiB. Valid values:'."\n"
."\n"
.'- Basic cloud disk: 20 to 500.'."\n"
.'- ESSD:'."\n"
.' - PL0: 1 to 2048.'."\n"
.' - PL1: 20 to 2048.'."\n"
.' - PL2: 461 to 2048.'."\n"
.' - PL3: 1261 to 2048.'."\n"
.'- ESSD AutoPL cloud disk: 1 to 2048.'."\n"
.'- Other cloud disk types: 20 to 2048.'."\n"
."\n"
.'The value of this parameter must be greater than or equal to max{1, ImageSize}.'."\n"
."\n"
.'Default value: max{40, ImageSize}.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
'name' => 'SystemDisk.DiskName',
'in' => 'query',
'schema' => ['description' => 'The name of the system cloud disk. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (\\_), and hyphens (-). It must start with a letter or Chinese character and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'cloud_ssdSystem', 'title' => ''],
],
[
'name' => 'SystemDisk.Description',
'in' => 'query',
'schema' => ['description' => 'The description of the system cloud disk. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'Test system disk.', 'title' => ''],
],
[
'name' => 'SystemDisk.AutoSnapshotPolicyId',
'in' => 'query',
'schema' => ['description' => 'The ID of the automatic snapshot policy that is applied to the system cloud disk.', 'type' => 'string', 'required' => false, 'example' => 'sp-bp12m37ccmxvbmi5****', 'title' => ''],
],
[
'name' => 'SystemDisk.PerformanceLevel',
'in' => 'query',
'schema' => ['description' => 'The performance level (PL) of the system cloud disk when the disk is an ESSD. Valid values:'."\n"
."\n"
.'- PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.'."\n"
.'- PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.'."\n"
.'- PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.'."\n"
.'- PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.'."\n"
."\n"
.'> For more information about how to select an ESSD performance level, see [ESSDs](~~122389~~).', 'type' => 'string', 'required' => false, 'example' => 'PL0', 'title' => ''],
],
[
'name' => 'LoadBalancerWeight',
'in' => 'query',
'schema' => ['description' => 'The weight of SLB backend server. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'The user data of the ECS instance. The data must be Base64-encoded. The maximum size of the raw data before encoding is 32 KB.', 'type' => 'string', 'required' => false, 'example' => 'ZWNobyBoZWxsbyBlY3Mh', 'title' => ''],
],
[
'name' => 'KeyPairName',
'in' => 'query',
'schema' => ['description' => 'The name of the key pair used to log on to the ECS instance. '."\n"
.' '."\n"
.'- For Windows instances, this parameter is ignored and is empty by default. '."\n"
.'- For Linux instances, password-based logon is disabled during initialization.', 'type' => 'string', 'required' => false, 'example' => 'KeyPair_Name', 'title' => ''],
],
[
'name' => 'RamRoleName',
'in' => 'query',
'schema' => ['description' => 'The name of the RAM role associated with the ECS instance. The name is provided and maintained by RAM. You can call [ListRoles](~~28713~~) to query available RAM roles. For more information about how to create a RAM role, see [CreateRole](~~28710~~).', 'type' => 'string', 'required' => false, 'example' => 'RamRoleTest', 'title' => ''],
],
[
'name' => 'PasswordInherit',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to use the password preset in the image. To use this parameter, make sure that a password is configured for the image.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'schema' => ['description' => 'The tags of the ECS instance. Tags are specified as key-value pairs. You can specify up to 20 tags. The following limits apply to tag keys and values: '."\n"
.' '."\n"
.'- A tag key can be up to 64 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`. A tag key cannot be an empty string. '."\n"
.'- A tag value can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`. A tag value can be an empty string.', 'type' => 'string', 'required' => false, 'example' => '{"key1":"value1","key2":"value2", ... "key5":"value5"}', 'title' => ''],
],
[
'name' => 'DeploymentSetId',
'in' => 'query',
'schema' => ['description' => 'The ID of the deployment set to which the ECS instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'ds-bp13v7bjnj9gis****', 'title' => ''],
],
[
'name' => 'SecurityGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the security group to which the ECS instance belongs. ECS instances in the same security group can communicate with each other.', 'type' => 'string', 'required' => false, 'example' => 'sg-F876F****', 'title' => ''],
],
[
'name' => 'Override',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to override the existing data. Valid values:'."\n"
.'- true: overrides the existing data.'."\n"
.'- false: does not override the existing data.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'true', 'title' => ''],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the resource group to which the ECS instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'abcd1234abcd****', 'title' => ''],
],
[
'name' => 'HpcClusterId',
'in' => 'query',
'schema' => ['description' => 'The ID of the HPC cluster to which the ECS instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'hpc-clusterid', 'title' => ''],
],
[
'name' => 'InstanceDescription',
'in' => 'query',
'schema' => ['description' => 'The description of the ECS instance. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'Test instance.', 'title' => ''],
],
[
'name' => 'Ipv6AddressCount',
'in' => 'query',
'schema' => ['description' => 'The number of randomly generated IPv6 addresses allocated to the elastic network interfaces (ENIs).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'CreditSpecification',
'in' => 'query',
'schema' => ['description' => 'The running mode of the burstable instance. Valid values:'."\n"
."\n"
.'- Standard: standard mode. For more information, see the performance constrained mode section in [Overview of burstable instances](~~59977~~).'."\n"
."\n"
.'- Unlimited: unlimited mode. For more information, see the unlimited mode section in [Overview of burstable instances](~~59977~~).', 'type' => 'string', 'required' => false, 'example' => 'Standard', 'title' => ''],
],
[
'name' => 'ImageFamily',
'in' => 'query',
'schema' => ['description' => 'The name of the image family. You can specify this parameter to obtain the latest available image from the specified image family for instance creation. If you have specified ImageId, you cannot specify this parameter.', 'type' => 'string', 'required' => false, 'example' => 'hangzhou-daily-update', 'title' => ''],
],
[
'name' => 'ZoneId',
'in' => 'query',
'schema' => ['description' => 'The zone ID of the ECS instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-g', 'title' => ''],
],
[
'name' => 'DedicatedHostId',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to create the ECS instance on a dedicated host. Because dedicated hosts do not support the creation of spot instances, the SpotStrategy and SpotPriceLimit settings in the request are automatically ignored when you specify DedicatedHostId.'."\n"
."\n"
.'You can call [DescribeDedicatedHosts](~~134242~~) to query the list of dedicated host IDs.', 'type' => 'string', 'required' => false, 'example' => 'dh-bp67acfmxazb4p****', 'title' => ''],
],
[
'name' => 'Affinity',
'in' => 'query',
'schema' => ['description' => 'Specifies whether the instance on a dedicated host is associated with the dedicated host. Valid values:'."\n"
."\n"
.'- default: The instance is not associated with the dedicated host. When an instance that has the economical mode enabled is restarted after it is stopped, the instance is deployed on another dedicated host in the automatic deployment resource pool if the resources of the original dedicated host are insufficient.'."\n"
."\n"
.'- host: The instance is associated with the dedicated host. When an instance that has the economical mode enabled is restarted after it is stopped, the instance remains on the original dedicated host. If the resources of the original dedicated host are insufficient, the instance fails to restart.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
'name' => 'Tenancy',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to create the instance on a dedicated host. Valid values:'."\n"
."\n"
.'- default: creates a non-dedicated-host instance.'."\n"
."\n"
.'- host: creates a dedicated-host instance. If you do not specify DedicatedHostId, Alibaba Cloud automatically selects a dedicated host for the instance.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''],
],
[
'name' => 'SchedulerOptions',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The scheduler options.', 'type' => 'object', 'required' => false, 'example' => '["testManagedPrivateSpaceId****"]', 'title' => ''],
],
[
'name' => 'PrivatePoolOptions.MatchCriteria',
'in' => 'query',
'schema' => ['description' => 'The private pool option for launching the instance. A private pool is generated when an elasticity assurance or capacity reservation takes effect. You can select a private pool when you start an instance. Valid values:'."\n"
."\n"
.'- Open: open mode. The system automatically matches an open private pool. If no matching private pool is available, the system uses resources from the public pool. You do not need to specify PrivatePoolOptions.Id.'."\n"
."\n"
.'- Target: specified mode. The instance is started by using the capacity of the specified private pool. If the specified private pool is unavailable, the instance fails to start. You must specify the private pool ID, which means that PrivatePoolOptions.Id is required.'."\n"
."\n"
.'- None: no private pool is used. The instance does not use private pool capacity.', 'type' => 'string', 'required' => false, 'example' => 'Open', 'title' => ''],
],
[
'name' => 'PrivatePoolOptions.Id',
'in' => 'query',
'schema' => ['description' => 'The ID of the private pool. The ID of an elasticity assurance or capacity reservation.', 'type' => 'string', 'required' => false, 'example' => 'eap-bp67acfmxazb4****', 'title' => ''],
],
[
'name' => 'SpotDuration',
'in' => 'query',
'schema' => ['description' => 'The protection period of the spot instance. Unit: hours. Valid values:'."\n"
."\n"
.'- 1: After a spot instance is created, Alibaba Cloud ensures that the instance is not automatically released within 1 hour. After the 1-hour protection period ends, the system compares the bid price with the market price and checks the resource inventory to determine whether to retain automatic release the instance.'."\n"
.'- 0: After a spot instance is created, Alibaba Cloud does not ensure that the instance runs for 1 hour. The system compares the bid price with the market price and checks the resource inventory to determine whether to retain automatic release the instance.'."\n"
."\n"
.'> Alibaba Cloud sends an ECS system event notification 5 minutes before the instance is released. Spot instances are billed by second. Select an appropriate protection period based on the expected task execution duration.'."\n"
."\n"
.'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'SpotInterruptionBehavior',
'in' => 'query',
'schema' => ['description' => 'The interruption pattern of the spot instance. Only Terminate (default) is supported, which directly releases the instance.', 'type' => 'string', 'required' => false, 'example' => 'Terminate', 'title' => ''],
],
[
'name' => 'DataDisk',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of data cloud disks.',
'type' => 'array',
'items' => [
'description' => 'The list of data cloud disks.',
'type' => 'object',
'properties' => [
'PerformanceLevel' => ['description' => 'The performance level (PL) of the data cloud disk when the disk is an ESSD. The value of N must be consistent with the N in DataDisk.N.Category=cloud_essd. Valid values:'."\n"
."\n"
.'- PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.'."\n"
.'- PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.'."\n"
.'- PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.'."\n"
.'- PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.'."\n"
."\n"
.'> For more information about how to select an ESSD performance level, see [ESSDs](~~122389~~).', 'type' => 'string', 'required' => false, 'example' => 'PL1', 'title' => ''],
'AutoSnapshotPolicyId' => ['description' => 'The ID of the automatic snapshot policy applied to data cloud disk N. Valid values of N: 1 to 16.', 'type' => 'string', 'required' => false, 'example' => 'sp-bp19nq9enxqkomib****', 'title' => ''],
'Encrypted' => ['description' => 'Specifies whether data cloud disk N is encrypted. Valid values of N: 1 to 16. Valid values:'."\n"
."\n"
.'- true: encrypted.'."\n"
.'- false: not encrypted.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''],
'Description' => ['description' => 'The description of data cloud disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'Test data disk.', 'title' => ''],
'SnapshotId' => ['description' => 'The ID of the snapshot used to create data cloud disk N. Valid values of N: 1 to 16. After you specify this parameter, DataDisk.N.Size is ignored. The actual size of the created cloud disk is the size of the specified snapshot.'."\n"
."\n"
.'If the snapshot was created on or before July 15, 2013, the call is rejected and InvalidSnapshot.TooOld is returned.', 'type' => 'string', 'required' => false, 'example' => 's-snapshot****', 'title' => ''],
'Categories' => [
'description' => 'The multiple disk types of data cloud disk N. The first N indicates the Nth data cloud disk. Valid values: 1 to 16. The second N indicates the Nth disk type for the data cloud disk. Valid values: 1 to 4. A scaling configuration supports up to 4 disk types for a data cloud disk. A smaller value of N indicates a higher priority. When a higher-priority disk type is unavailable, Auto Scaling automatically attempts the next-priority disk type to create the data cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk. The DeleteWithInstance property of a basic cloud disk created together with the instance is set to true.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
.'- ephemeral_ssd: local SSD.'."\n"
.'- cloud_auto: ESSD AutoPL cloud disk.'."\n"
.'- cloud_regional_disk_auto: regional ESSD.'."\n"
."\n"
.'> You cannot specify this parameter together with DataDisk.N.Category.',
'type' => 'array',
'items' => ['description' => 'The multiple disk types of data cloud disk N. The first N indicates the Nth data cloud disk. Valid values: 1 to 16. The second N indicates the Nth disk type for the data cloud disk. Valid values: 1 to 4. A scaling configuration supports up to 4 disk types for a data cloud disk. A smaller value of N indicates a higher priority. When a higher-priority disk type is unavailable, Auto Scaling automatically attempts the next-priority disk type to create the data cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk. The DeleteWithInstance property of a basic cloud disk created together with the instance is set to true.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
."\n"
.'> You cannot specify this parameter together with DataDisk.N.Category.', 'type' => 'string', 'required' => false, 'example' => 'cloud', 'title' => ''],
'required' => false,
'example' => 'cloud',
'maxItems' => 10,
'title' => '',
],
'Size' => ['description' => 'The size of data cloud disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values:'."\n"
."\n"
.'- cloud: 5 to 2000.'."\n"
.'- cloud_efficiency: 20 to 32768.'."\n"
.'- cloud_essd: 20 to 32768.'."\n"
.'- ephemeral_ssd: 5 to 800.'."\n"
."\n"
.'The value of this parameter must be greater than or equal to the size of the snapshot specified by SnapshotId.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
'Device' => ['description' => 'The mount point of data cloud disk N. Valid values of N: 1 to 16. If you do not specify this parameter, the default behavior during automatic creation of the ECS instance is that the system allocates a mount point, ranging from /dev/xvdb to /dev/xvdz.', 'type' => 'string', 'required' => false, 'example' => '/dev/xvdb', 'title' => ''],
'DiskName' => ['description' => 'The name of data cloud disk N. Valid values of N: 1 to 16. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (\\_), and hyphens (-). It must start with a letter or Chinese character and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'cloud_ssdData', 'title' => ''],
'Category' => ['description' => 'The category of data cloud disk N. Valid values of N: 1 to 16. Valid values:'."\n"
.'- cloud: basic cloud disk. The DeleteWithInstance property of a basic cloud disk created together with the instance is set to true.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
.'- ephemeral_ssd: local SSD.'."\n"
.'- cloud_auto: ESSD AutoPL cloud disk.'."\n"
.'- cloud_regional_disk_auto: regional ESSD.'."\n"
."\n"
.'You cannot specify this parameter together with DataDisk.N.Categories.N. If neither this parameter nor DataDisk.N.Categories.N is specified, the default value is used:'."\n"
."\n"
.'- For I/O optimized instances, the default value is cloud_efficiency.'."\n"
."\n"
.'- For non-I/O optimized instances, the default value is cloud.', 'type' => 'string', 'required' => false, 'example' => 'cloud_ssd', 'title' => ''],
'DeleteWithInstance' => ['description' => 'Specifies whether data cloud disk N is released when the instance is released. Valid values of N: 1 to 16. Valid values:'."\n"
."\n"
.'- true: The cloud disk is released when the instance is released.'."\n"
.'- false: The cloud disk is retained when the instance is released.'."\n"
."\n"
.'This parameter can be specified only for independent cloud disks (DataDisk.N.Category is set to cloud, cloud_efficiency, cloud_ssd, or cloud_essd). An error is returned if you specify this parameter for other types of cloud disks.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'KMSKeyId' => ['description' => 'The ID of the KMS key for data cloud disk N. Valid values of N: 1 to 16.', 'type' => 'string', 'required' => false, 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', 'title' => ''],
'ProvisionedIops' => ['description' => 'The provisioned IOPS (Input/Output Operations Per Second) performance metrics of the data cloud disk.'."\n"
."\n"
.'> IOPS refers to the number of read and write (output/input) operations that a block storage device can process per second.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', 'title' => ''],
'BurstingEnabled' => ['description' => 'Specifies whether to enable the burst (performance burst) feature for the data cloud disk. Valid values:'."\n"
."\n"
.'- true: enabled.'."\n"
.'- false: not enabled. '."\n"
.'> This parameter is supported only when DataDisk.Category is set to cloud_auto.'."\n"
."\n"
.'<props="china">For more information, see [ESSD AutoPL cloud disks](~~368372~~).</props>', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 16,
'title' => '',
'example' => '',
],
],
[
'name' => 'SpotPriceLimit',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The collection of spot instance information.',
'type' => 'array',
'items' => [
'description' => 'The collection of spot instance information.',
'type' => 'object',
'properties' => [
'PriceLimit' => ['description' => 'The bid price for the spot instance. Valid values of N: 1 to 20. This parameter takes effect only when SpotStrategy is set to SpotWithPriceLimit.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.125', 'title' => ''],
'InstanceType' => ['description' => 'The instance type of the spot instance. Valid values of N: 1 to 20. This parameter takes effect only when SpotStrategy is set to SpotWithPriceLimit.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.large', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'InstanceTypes',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The instance types for multiple instance type support. If InstanceTypes.N is specified, InstanceType is ignored. Valid values of N: 1 to 20. A scaling configuration supports up to 20 instance types.'."\n"
."\n"
.'N indicates the priority of the instance type in the scaling configuration. Instance type 1 has the highest priority. The priority decreases as the number increases. When an instance cannot be created by using a higher-priority instance type, Auto Scaling automatically selects the next-priority instance type.',
'type' => 'array',
'items' => ['description' => 'The instance types for multiple instance type support. If InstanceTypes.N is specified, InstanceType is ignored. Valid values of N: 1 to 20. A scaling configuration supports up to 20 instance types.'."\n"
."\n"
.'N indicates the priority of the instance type in the scaling configuration. Instance type 1 has the highest priority. The priority decreases as the number increases. When an instance cannot be created by using a higher-priority instance type, Auto Scaling automatically selects the next-priority instance type.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.large', 'title' => ''],
'required' => false,
'example' => 'ecs.g6.large',
'maxItems' => 20,
'title' => '',
],
],
[
'name' => 'InstanceTypeOverride',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The information about instance types.',
'type' => 'array',
'items' => [
'description' => 'The information about instance types.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'To specify the capacity of instance types in the scaling configuration, specify both this parameter and InstanceTypeOverride.N.WeightedCapacity.'."\n"
."\n"
.'This parameter specifies the instance type. You can specify N values for this parameter. Combined with the InstanceTypeOverride.N.WeightedCapacity parameter, this extends multi-instance-type support with custom weights. Valid values of N: 1 to 20.'."\n"
.'> You cannot specify this parameter together with InstanceTypes.'."\n"
."\n"
.'Valid values of InstanceType: ECS instance types that are available for purchase. For more information, see [Instance families](~~25378~~).', 'type' => 'string', 'required' => false, 'example' => 'ecs.c5.xlarge', 'title' => ''],
'WeightedCapacity' => ['description' => 'To specify the capacity of instance types in the scaling configuration, specify this parameter after you specify InstanceTypeOverride.N.InstanceType. The two parameters correspond one-to-one, and the values of N must be consistent.'."\n"
."\n"
.'This parameter specifies the weight of the instance type, which represents the capacity of a single instance of this type in the scaling group. A larger weight means fewer instances of this type are required to meet the expected capacity.'."\n"
."\n"
.'Because instance types differ in vCPU count, memory size, and other performance metrics, you can assign different weights to different instance types based on your requirements.'."\n"
."\n"
.' Example:'."\n"
."\n"
.'- Current capacity: 0.'."\n"
.'- Expected number of instances: 6.'."\n"
.'- Capacity of ecs.c5.xlarge: 4.'."\n"
."\n"
.'To meet the expected capacity, the scaling group scales out 2 ecs.c5.xlarge instances.'."\n"
."\n"
.'> During scale-out, the capacity of the scaling group cannot exceed the sum of the maximum capacity (MaxSize) and the maximum weight of the instance types.'."\n"
."\n"
.'Valid values of WeightedCapacity: 1 to 500.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'SecurityGroupIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The IDs of the security groups to which the ECS instance is added. The valid values of N depend on the maximum number of security groups to which an instance can belong. For more information, see the security group section in [Limits](~~25412~~).'."\n"
."\n"
.'> You cannot specify both SecurityGroupId and SecurityGroupIds.N.',
'type' => 'array',
'items' => ['description' => 'The ID of the security group.', 'type' => 'string', 'required' => false, 'example' => 'sg-bp18kz60mefs****', 'title' => ''],
'required' => false,
'example' => 'sg-bp18kz60mefs****',
'maxItems' => 16,
'title' => '',
],
],
[
'name' => 'InstancePatternInfo',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The information about instance types in intelligent mode.',
'type' => 'array',
'items' => [
'description' => 'The information about instance types in intelligent mode.',
'type' => 'object',
'properties' => [
'Cores' => ['description' => 'The number of vCPU cores of the instance type in intelligent configuration mode, which is used to filter instance types that meet the requirements. For more information, see [Instance families](~~25378~~). Valid values of N: 1 to 10.'."\n"
."\n"
.'Note the following information:'."\n"
."\n"
.'- The InstancePatternInfo.N parameter applies only to scaling groups whose network type is VPC.'."\n"
."\n"
.'- You must specify both InstancePatternInfo.N.Cores and InstancePatternInfo.N.Memory when you use InstancePatternInfo.N.'."\n"
."\n"
.'- If you have specified instance types by using the InstanceType or InstanceTypes.N parameter, Auto Scaling preferentially uses the specified instance types for scale-out. When the specified instance types are out of stock, Auto Scaling selects the lowest-priced instance type from those that match the InstancePatternInfo.N values.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
'InstanceFamilyLevel' => ['description' => 'The level of the instance family in intelligent configuration mode, which is used to filter instance types that meet the requirements. Valid values:'."\n"
."\n"
.'- EntryLevel: entry level, which refers to shared instance types. These instance types are more cost-effective but do not guarantee stable computing performance. They are suitable for scenarios with low CPU utilization. For more information, see [Shared instance families](~~108489~~).'."\n"
.'- EnterpriseLevel: enterprise level. These instance types provide stable performance and dedicated resources. They are suitable for scenarios that require high stability. For more information, see [Instance families](~~25378~~).'."\n"
.'- CreditEntryLevel: credit-based entry level, which refers to burstable instances. These instance types use CPU credits to ensure computing performance. They are suitable for scenarios with low average CPU utilization and occasional bursts. For more information, see [Overview of burstable instances](~~59977~~).'."\n"
."\n"
.'Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'EnterpriseLevel', 'title' => ''],
'MaxPrice' => ['description' => 'The maximum hourly price for pay-as-you-go or spot instances in intelligent configuration mode, which is used to filter instance types that meet the requirements. Valid values of N: 1 to 10.'."\n"
."\n"
.'> This parameter is required when SpotStrategy is set to SpotWithPriceLimit. In other cases, this parameter is optional.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '2', 'title' => ''],
'Memory' => ['description' => 'The memory size of the instance type in intelligent configuration mode. Unit: GiB. This parameter is used to filter instance types that meet the requirements. For more information, see [Instance families](~~25378~~). Valid values of N: 1 to 10.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4', 'title' => ''],
'Architecture' => [
'description' => 'The architecture type of the instance type. Valid values:'."\n"
."\n"
.'- X86: x86 computing.'."\n"
.'- Heterogeneous: heterogeneous computing, such as GPU or FPGA.'."\n"
.'- BareMental: Elastic Compute Service Bare Metal Instance server.'."\n"
.'- Arm: Arm computing.'."\n"
."\n"
.'Default value: all architecture types are included.',
'type' => 'array',
'items' => ['description' => 'The architecture type of the instance type. Valid values:'."\n"
."\n"
.'- X86: x86 computing.'."\n"
.'- Heterogeneous: heterogeneous computing, such as GPU or FPGA.'."\n"
.'- BareMental: Elastic Compute Service Bare Metal Instance server.'."\n"
.'- Arm: Arm computing.'."\n"
."\n"
.'Default value: all architecture types are included.', 'type' => 'string', 'required' => false, 'example' => 'X86', 'title' => ''],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
'BurstablePerformance' => ['description' => 'Specifies whether to include burstable instance types. Valid values:'."\n"
."\n"
.'- Exclude: Burstable instance types are excluded.'."\n"
.'- Include: Burstable instance types are included.'."\n"
.'- Required: Only burstable instance types are included.'."\n"
."\n"
.'Default value: Include.', 'type' => 'string', 'required' => false, 'example' => 'Include', 'title' => ''],
'ExcludedInstanceType' => [
'description' => 'The instance types to exclude. You can use wildcard characters (*) to exclude a single instance type or an entire instance family. Examples:'."\n"
."\n"
.'- ecs.c6.large: excludes the ecs.c6.large instance type.'."\n"
.'- ecs.c6.*: excludes the entire c6 instance family.',
'type' => 'array',
'items' => ['description' => 'The instance types to exclude. You can use wildcard characters (*) to exclude a single instance type or an entire instance family. Examples:'."\n"
."\n"
.'- ecs.c6.large: excludes the ecs.c6.large instance type.'."\n"
.'- ecs.c6.*: excludes the entire c6 instance family.'."\n"
."\n"
.'> To exclude multiple instance types, separate them with forward slashes (/). Example: `ecs.n1.small/ecs.n1.*/*7*`.', 'type' => 'string', 'required' => false, 'example' => 'ecs.n1.small/ecs.n1.*/*7*', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
'InstanceTypeFamilies' => [
'description' => 'The specified instance families.',
'type' => 'array',
'items' => ['description' => 'The specified instance families. N indicates that you can specify multiple instance families. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => '["ecs.g6", "ecs.c6", … "ecs.r6"]', 'title' => ''],
'required' => false,
'maxItems' => 20,
'minItems' => 0,
'title' => '',
'example' => '',
],
'MinimumCpuCoreCount' => ['description' => 'The minimum number of vCPU cores of the instance type.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
'MaximumCpuCoreCount' => ['description' => 'The maximum number of vCPU cores of the instance type.'."\n"
."\n"
.'> The value of MaximumCpuCoreCount cannot exceed 4 times the value of MinimumCpuCoreCount.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4', 'title' => ''],
'GpuSpecs' => [
'description' => 'The specified GPU types.',
'type' => 'array',
'items' => ['description' => 'The specified GPU types.', 'type' => 'string', 'required' => false, 'example' => '["NVIDIA V100"]', 'title' => ''],
'required' => false,
'maxItems' => 20,
'minItems' => 0,
'title' => '',
'example' => '',
],
'InstanceCategories' => [
'description' => 'The categorization of instance types. Valid values:'."\n"
."\n"
.'- General-purpose: general-purpose.'."\n"
.'- Compute-optimized: compute-optimized.'."\n"
.'- Memory-optimized: memory-optimized.'."\n"
.'- Big data: big data.'."\n"
.'- Local SSDs: local SSD.'."\n"
.'- High Clock Speed: high frequency.'."\n"
.'- Enhanced: enhanced.'."\n"
.'- Shared: shared.'."\n"
.'- Compute-optimized with GPU: GPU-accelerated instances.'."\n"
.'- Visual Compute-optimized: visual compute-optimized.'."\n"
.'- Heterogeneous Service: heterogeneous service.'."\n"
.'- Compute-optimized with FPGA: FPGA compute-optimized.'."\n"
.'- Compute-optimized with NPU: NP',
'type' => 'array',
'items' => ['description' => 'The instance type categorization.'."\n"
.'>N specifies that you can set multiple instance categories. Valid values of N: 1 to 10.'."\n"
."\n"
.'- General-purpose: general-purpose'."\n"
.'- Compute-optimized: compute-optimized'."\n"
.'- Memory-optimized: memory-optimized'."\n"
.'- Big data: big data'."\n"
.'- Local SSDs: local SSD'."\n"
.'- High Clock Speed: high frequency'."\n"
.'- Enhanced: enhanced'."\n"
.'- Shared: shared'."\n"
.'- Compute-optimized with GPU: GPU computing'."\n"
.'- Visual Compute-optimized: visual compute-optimized'."\n"
.'- Heterogeneous Service: heterogeneous service'."\n"
.'- Compute-optimized with FPGA: FPGA-accelerated compute-optimized'."\n"
.'- Compute-optimized with NPU: NPU-accelerated compute-optimized'."\n"
.'- ECS Bare Metal: ECS Bare Metal Instance server'."\n"
.'- High Performance Compute: high-performance computing (HPC)', 'type' => 'string', 'required' => false, 'example' => 'Compute-optimized with GPU', 'title' => ''],
'required' => false,
'maxItems' => 20,
'minItems' => 0,
'title' => '',
'example' => '',
],
'CpuArchitectures' => [
'description' => 'The CPU architectures of the instance.',
'type' => 'array',
'items' => ['description' => 'The CPU architectures of the instance. Valid values:'."\n"
.'> N indicates that you can specify multiple CPU architectures. Valid values of N: 1 to 2.'."\n"
."\n"
.'- X86.'."\n"
.'- ARM.'."\n"
.'[_single.params.InstancePatternInfo.items.PhysicalProcessorModels.desc', 'type' => 'string', 'required' => false, 'example' => '["X86", "ARM"]', 'title' => ''],
'required' => false,
'maxItems' => 20,
'minItems' => 0,
'title' => '',
'example' => '',
],
'PhysicalProcessorModels' => [
'description' => 'The processor model of the instance.',
'type' => 'array',
'items' => ['description' => 'The processor model of the instance. N specifies that you can set multiple processor models. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => '["Intel Xeon(Ice Lake) Platinum 8369B", "Intel Xeon(Skylake) Platinum 8163", … "Intel Xeon(Cascade Lake) Platinum 8269CY"]', 'title' => ''],
'required' => false,
'maxItems' => 20,
'minItems' => 0,
'title' => '',
'example' => '',
],
'MinimumEniQuantity' => ['description' => 'The expected minimum number of elastic network interfaces (ENIs) supported by the instance.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
'MinimumEniPrivateIpAddressQuantity' => ['description' => 'The expected minimum number of IPv4 addresses per elastic network interface (ENI) for the instance.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
'MinimumEniIpv6AddressQuantity' => ['description' => 'The expected minimum number of IPv6 addresses per elastic network interface (ENI) for the instance.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'MinimumInitialCredit' => ['description' => 'The expected minimum initial vCPU credits for burstable instances (t5 and t6).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', 'title' => ''],
'MinimumBaselineCredit' => ['description' => 'The expected minimum baseline vCPU computing performance (sum of all vCPUs) for burstable instances (t5 and t6).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', 'title' => ''],
'MinimumMemorySize' => ['description' => 'The expected minimum memory size of the instance. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4', 'title' => ''],
'MaximumMemorySize' => ['description' => 'The expected maximum memory size of the instance. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4', 'title' => ''],
'MinimumGpuAmount' => ['description' => 'The expected minimum number of GPUs for the instance. Valid values: positive integers ≥ 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
'MaximumGpuAmount' => ['description' => 'The expected maximum number of GPUs for the instance. Valid values: positive integers ≥ 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'SystemDiskCategories',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The multiple disk types for the system cloud disk. Valid values of N: 1 to 4. You can specify up to four disk types for the system cloud disk in a scaling configuration. A smaller value of N indicates a higher priority. When a disk type with a higher priority is unavailable, Auto Scaling automatically attempts the next-priority disk type to create the system cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
."\n"
.'> You cannot specify this parameter and `SystemDisk.Category` at the same time.',
'type' => 'array',
'items' => ['description' => 'The multiple disk types for the system cloud disk. Valid values of N: 1 to 4. You can specify up to four disk types for the system cloud disk in a scaling configuration. A smaller value of N indicates a higher priority. When a disk type with a higher priority is unavailable, Auto Scaling automatically attempts the next-priority disk type to create the system cloud disk. Valid values:'."\n"
.'- cloud: basic cloud disk.'."\n"
.'- cloud_efficiency: ultra cloud disk.'."\n"
.'- cloud_ssd: standard SSD.'."\n"
.'- cloud_essd: ESSD.'."\n"
."\n"
.'> You cannot specify this parameter and `SystemDisk.Category` at the same time.', 'type' => 'string', 'required' => false, 'example' => 'cloud', 'title' => ''],
'required' => false,
'example' => 'cloud',
'maxItems' => 10,
'title' => '',
],
],
[
'name' => 'Password',
'in' => 'query',
'schema' => ['description' => 'The password of the ECS instance. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The following special characters are supported:'."\n"
."\n"
.'`()~!@#$%^&*-_+=\\|{}[]:;\'<>,.?/'."\n"
."\n"
.'For Windows instances, the password cannot start with a forward slash (/).'."\n"
."\n"
.'> If you specify the Password parameter, use HTTPS to send the request to avoid password leaks.', 'type' => 'string', 'required' => false, 'example' => '123abc****', 'title' => ''],
],
[
'name' => 'SystemDisk.Encrypted',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to encrypt the system cloud disk. Valid values:'."\n"
."\n"
.'- true: Encrypted.'."\n"
.'- false: Not encrypted.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'SystemDisk.KMSKeyId',
'in' => 'query',
'schema' => ['description' => 'The ID of the KMS key used for the system cloud disk.', 'type' => 'string', 'required' => false, 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', 'title' => ''],
],
[
'name' => 'SystemDisk.EncryptAlgorithm',
'in' => 'query',
'schema' => ['description' => 'The encryption algorithm used for the system cloud disk. Valid values:'."\n"
."\n"
.'- AES-256.'."\n"
.'- SM4-128.'."\n"
."\n"
.'Default value: AES-256.', 'type' => 'string', 'required' => false, 'example' => 'AES-256', 'title' => ''],
],
[
'name' => 'SystemDisk.ProvisionedIops',
'in' => 'query',
'schema' => ['description' => 'The provisioned IOPS (Input/Output Operations Per Second) performance metrics for the system cloud disk.'."\n"
."\n"
.'> IOPS (Input/Output Operations Per Second) measures the number of read and write (output/input) operations that a block storage device can process per second.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'SystemDisk.BurstingEnabled',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable Burst (performance burst) for the system cloud disk. Valid values:'."\n"
."\n"
.'- true: Enabled.'."\n"
.'- false: Not enabled. '."\n"
.'> This parameter is supported only when `SystemDisk.Category` is set to `cloud_auto`.'."\n"
."\n"
.'<props="china">For more information, see [ESSD AutoPL cloud disks](~~368372~~).</props>', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'ImageOptions.LoginAsNonRoot',
'in' => 'query',
'schema' => ['description' => 'Specifies whether the ECS instance uses the ecs-user account for logon. For more information, see [Manage the logon name of an ECS instance](~~388447~~). Valid values:'."\n"
."\n"
.'- true: Yes.'."\n"
."\n"
.'- false: No.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'DeletionProtection',
'in' => 'query',
'schema' => ['description' => 'The release protection property of the ECS instance. This property applies only to pay-as-you-go instances and specifies whether the instance can be directly released from the ECS console or by calling the DeleteInstance operation. Valid values:'."\n"
.'- true: Enables release protection, which prevents the instance from being directly released from the ECS console or by calling the API operation. This prevents instances created during scale-out from being accidentally deleted.'."\n"
.'- false: Disables release protection, which allows the instance to be directly released from the ECS console or by calling the API operation.'."\n"
."\n"
.'>This property does not affect normal scale-in activities of Auto Scaling. Pay-as-you-go instances with release protection enabled can still be released during scale-in activities.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'StorageSetId',
'in' => 'query',
'schema' => ['description' => 'The ID of the storage set.', 'type' => 'string', 'required' => false, 'example' => 'ss-bp67acfmxazb4p****', 'title' => ''],
],
[
'name' => 'StorageSetPartitionNumber',
'in' => 'query',
'schema' => ['description' => 'The maximum number of partitions in the storage set. Valid values: integers ≥ 2.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'CustomPriorities',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The custom priority of the **ECS instance type + vSwitch** combination.'."\n"
."\n"
.'>This parameter takes effect only when the ``scaling policy`` of the scaling group is set to `Priority`.'."\n"
."\n"
.'When an ECS instance cannot be created based on a higher-priority **ECS instance type + vSwitch** combination, Auto Scaling automatically selects the next-priority **ECS instance type + vSwitch** combination to create the instance.'."\n"
."\n"
.'>If you specify custom priorities for only some **ECS instance type + vSwitch** combinations, the unspecified combinations have lower priorities than the specified ones. The unspecified combinations are still prioritized based on the vSwitch order of the scaling group and the instance type order of the scaling configuration. For example, if the vSwitch order of the scaling group is vsw1 and vsw2, the instance type order of the scaling configuration is type1 and type2, and the custom priority order is `["vsw2+type2", "vsw1+type2"]`, the final priority is `vsw2+type2` > `vsw1+type2` > `vsw1+type1` > `vsw2+type1`.',
'type' => 'array',
'items' => [
'description' => 'The custom priority of the **ECS instance type + vSwitch** combination.'."\n"
."\n"
.'><notice>This parameter takes effect only when the ``scaling policy`` of the scaling group is set to `Priority`.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'The `CustomPriorities` field specifies the custom priority of the **ECS instance type + vSwitch** combination. The `CustomPriorities.N.InstanceType` parameter specifies the instance type in the custom priority.'."\n"
."\n"
.'>This parameter takes effect only when the ``scaling policy`` of the scaling group is set to `Priority`. The instance type (InstanceType) must be included in the instance type list of the scaling configuration.'."\n"
."\n"
.'When an ECS instance cannot be created based on a higher-priority **ECS instance type + vSwitch** combination, Auto Scaling automatically selects the next-priority **ECS instance type + vSwitch** combination to create the instance.'."\n"
."\n"
.'>If you specify custom priorities for only some **ECS instance type + vSwitch** combinations, the unspecified combinations have lower priorities than the specified ones. The unspecified combinations are still prioritized based on the vSwitch order of the scaling group and the instance type order of the scaling configuration. For example, if the vSwitch order of the scaling group is vsw1 and vsw2, the instance type order of the scaling configuration is type1 and type2, and the custom priority order is `["vsw2+type2", "vsw1+type2"]`, the final priority is `vsw2+type2` > `vsw1+type2` > `vsw1+type1` > `vsw2+type1`.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.large', 'title' => ''],
'VswitchId' => ['description' => 'The `CustomPriorities.N.VswitchId` parameter specifies the ID of the vSwitch in the custom priority.'."\n"
."\n"
.'>This parameter takes effect only when the ``scaling policy`` of the scaling group is set to `Priority`. The vSwitch must be included in the vSwitch list of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp14zolna43z266bq****', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'NetworkInterfaces',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The list of elastic network interfaces (ENIs).',
'type' => 'array',
'items' => [
'description' => 'The list of elastic network interfaces (ENIs).',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'The type of the elastic network interface (ENI). When you use this parameter, you must set the primary elastic network interface (ENI) by using `NetworkInterfaces.N`, but you cannot specify `SecurityGroupId` or `SecurityGroupIds.N` at the same time. Valid values:'."\n"
."\n"
.'- Primary: primary elastic network interface (ENI).'."\n"
."\n"
.'- Secondary: secondary elastic network interface (ENI).'."\n"
."\n"
.'Default value: Secondary.', 'type' => 'string', 'required' => false, 'example' => 'Primary', 'title' => ''],
'NetworkInterfaceTrafficMode' => ['description' => 'The communication mode of the network interface controller (NIC). Valid values:'."\n"
."\n"
.'- Standard: uses the TCP communication mode.'."\n"
.'- HighPerformance: enables the Elastic RDMA Interface (ERI) and uses the RDMA communication mode.'."\n"
."\n"
.'Default value: Standard.'."\n"
.'>The number of elastic network interfaces (ENIs) in RDMA mode cannot exceed the limit of the instance family. For more information, see [Instance families](~~25378~~).', 'type' => 'string', 'required' => false, 'example' => 'HighPerformance', 'title' => ''],
'Ipv6AddressCount' => ['description' => 'The number of randomly generated IPv6 addresses for the primary ENI. Note the following items:'."\n"
."\n"
.'- This parameter takes effect only when `NetworkInterfaces.N.InstanceType` is set to `Primary`.'."\n"
.'- You cannot set this parameter when `NetworkInterfaces.N.InstanceType` is set to `Secondary` or left empty.'."\n"
.'- After you set this parameter, you cannot set the `Ipv6AddressCount` parameter.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'SecurityGroupIds' => [
'description' => 'The IDs of one or more security groups to which the elastic network interface (ENI) belongs.',
'type' => 'array',
'items' => ['description' => 'The IDs of one or more security groups to which the elastic network interface (ENI) belongs. Note the following items:'."\n"
."\n"
.'- If `NetworkInterfaces.N.InstanceType` is set to `Primary`, this parameter is required. In this case, this parameter has the same effect as `SecurityGroupIds.N`, but you cannot set `SecurityGroupId` or `SecurityGroupIds.N` at the same time.'."\n"
."\n"
.'- If `NetworkInterfaces.N.InstanceType` is set to `Secondary` or left empty, this parameter is optional. The default value is the security group of the ECS instance (the security group of the primary elastic network interface (ENI)).', 'type' => 'string', 'required' => false, 'example' => 'sg-2ze55shrh****', 'title' => ''],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
'SecondaryPrivateIpAddressCount' => ['description' => 'The number of secondary private IPv4 addresses to assign to the ENI. Valid values: 1 to 49.'."\n"
."\n"
.'- The value cannot exceed the limit on the number of IP addresses for the instance type. For more information, see [Instance families](~~25378~~).'."\n"
.'- NetworkInterface.N.SecondaryPrivateIpAddressCount specifies the number of secondary private IPv4 addresses to assign to the ENI (excluding the primary private IP address of the ENI). The system randomly assigns IP addresses from the available CIDR block of the vSwitch (NetworkInterface.N.VSwitchId) associated with the ENI.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
[
'name' => 'DedicatedHostClusterId',
'in' => 'query',
'schema' => ['description' => 'The ID of the dedicated host cluster.', 'type' => 'string', 'required' => false, 'example' => 'dc-2zedxc67zqzt7lb4****', 'title' => ''],
],
[
'name' => 'SecurityOptions',
'in' => 'query',
'style' => 'flat',
'schema' => [
'description' => 'The security options.',
'type' => 'object',
'properties' => [
'ConfidentialComputingMode' => ['description' => 'The confidential computing mode. Valid values:'."\n"
.'- Enclave: indicates that the ECS instance uses Enclave to build a confidential computing environment. For more information, see [Build a confidential computing environment by using Enclave](~~203433~~).'."\n"
.'- TDX: indicates that a TDX confidential computing environment is built. For more information, see [Build a TDX confidential computing environment](~~479090~~).', 'type' => 'string', 'required' => false, 'example' => 'TDX', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'HttpEndpoint',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable the access channel for instance metadata. Valid values:'."\n"
."\n"
.'- enabled: Enabled.'."\n"
.'- disabled: Disabled.'."\n"
."\n"
.'Default value: enabled.'."\n"
."\n"
.'> For more information about instance metadata, see [Overview of instance metadata](~~108460~~).', 'type' => 'string', 'required' => false, 'example' => 'enabled', 'title' => ''],
],
[
'name' => 'HttpTokens',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to forcefully use the security-hardened mode (IMDSv2) when accessing instance metadata. Valid values:'."\n"
."\n"
.'- optional: Does not forcefully use.'."\n"
.'- required: Forcefully uses. After this value is set, instance metadata cannot be accessed in normal mode.'."\n"
."\n"
.'Default value: optional.'."\n"
."\n"
.'> For more information about instance metadata access modes, see [Instance metadata access modes](~~108460~~).', 'type' => 'string', 'required' => false, 'example' => 'optional', 'title' => ''],
],
[
'name' => 'InternetMaxBandwidthIn',
'in' => 'query',
'schema' => ['description' => 'The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:'."\n"
."\n"
.'- If the purchased maximum outbound public bandwidth is less than or equal to 10 Mbit/s: 1 to 10. Default value: 10.'."\n"
.'- If the purchased maximum outbound public bandwidth is greater than 10 Mbit/s: 1 to the value of `InternetMaxBandwidthOut`. Default value: the value of `InternetMaxBandwidthOut`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'ResourcePoolOptions',
'in' => 'query',
'style' => 'flat',
'schema' => [
'description' => 'The resource pool policy used when creating instances. After you set this parameter, note the following items:'."\n"
."\n"
.'- This parameter takes effect only when creating pay-as-you-go instances.'."\n"
."\n"
.'- This parameter cannot be set together with PrivatePoolOptions.MatchCriteria or PrivatePoolOptions.Id.',
'type' => 'object',
'properties' => [
'Strategy' => ['description' => 'Resource pools include private pools generated after elasticity assurance or capacity reservation takes effect, and public pools, which are available for instance startup. Valid values:'."\n"
."\n"
.'- PrivatePoolFirst: Private pool first. When this strategy is selected and ResourcePoolOptions.PrivatePoolIds is specified or PrivatePoolTags conditions are met, the corresponding private pools are used first. If no private pool is specified or the specified private pool has insufficient capacity, open-type private pools are automatically matched. If no matching private pool is available, the public pool is used to create instances.'."\n"
."\n"
.'- PrivatePoolOnly: Private pool only. When this strategy is selected, you must specify ResourcePoolOptions.PrivatePoolIds. If the specified private pool has insufficient capacity, instance creation fails.'."\n"
."\n"
.'- PublicPoolFirst: Public pool first. The public pool is used first to create instances. When public pool resources are insufficient, private pool resources are used as a supplement. Open-type private pools are automatically matched first. If no matching private pool is available, the Target-type private pools specified by ResourcePoolOptions.PrivatePoolIds or matching PrivatePoolTags conditions are used.'."\n"
.' > This strategy is in invitational preview and is not available for use.'."\n"
."\n"
.'- None: Does not use a resource pool policy.'."\n"
."\n"
.'Default value: None.', 'type' => 'string', 'required' => false, 'example' => 'PrivatePoolFirst', 'title' => ''],
'PrivatePoolIds' => [
'description' => 'The IDs of private pools, which are elasticity assurance IDs or capacity reservation IDs. Only Target-type private pool IDs can be specified. This parameter cannot be specified together with the PrivatePoolTags parameter.',
'type' => 'array',
'items' => ['description' => 'The ID of a private pool, which is an elasticity assurance ID or capacity reservation ID. Only Target-type private pool IDs can be specified. This parameter cannot be specified together with the PrivatePoolTags parameter. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'eap-bp67acfmxazb4****', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'PrivatePoolTags' => [
'description' => 'Filters available Target private pools by tag. Valid values of N: 1 to 20.'."\n"
.'Notes:'."\n"
."\n"
.'- When this parameter is configured, the system filters only the Target private pools associated with the account that match the specified tags and satisfy the scaling group constraints (such as zone and instance type).'."\n"
."\n"
.'- Tag matching rule: a private pool must match all specified tags.'."\n"
."\n"
.'- This parameter cannot be specified together with the PrivatePoolIds parameter.',
'type' => 'array',
'items' => [
'description' => 'Filters available Target private pools by tag. Valid values of N: 1 to 20.'."\n"
.'Notes:'."\n"
."\n"
.'- When this parameter is configured, the system filters only the Target private pools associated with the account that match the specified tags and satisfy the scaling group constraints (such as zone and instance type).'."\n"
."\n"
.'- Tag matching rule: a private pool must match all specified tags.'."\n"
."\n"
.'- This parameter cannot be specified together with the PrivatePoolIds parameter.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key of the private pool.'."\n"
."\n"
.'Filters available Target private pools by tag. Valid values of N: 1 to 20.'."\n"
.'Notes:'."\n"
."\n"
.'- When this parameter is configured, the system filters only the Target private pools associated with the account that match the specified tags and satisfy the scaling group constraints (such as zone and instance type).'."\n"
."\n"
.'- Tag matching rule: a private pool must match all specified tags.'."\n"
."\n"
.'- This parameter cannot be specified together with the PrivatePoolIds parameter.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''],
'Value' => ['description' => 'The tag value of the private pool.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'gatewayOptions' => [
'gatewayProtocols' => [],
],
'title' => 'ModifyScalingConfiguration',
'description' => '## Operation description'."\n"
."\n"
.'- If you modify the name of a scaling configuration, make sure that no scaling configuration with the same name exists in the same scaling group.'."\n"
.'- You can use one of the following methods to bind a primary network interface controller (NIC). Each API call supports only one method. If you use both methods at the same time, the call fails and an error message is returned.'."\n"
.' - Use parameters such as SecurityGroupId, SecurityGroupIds.N, and Ipv6AddressCount to directly configure the primary NIC.'."\n"
.' - Use NetworkInterfaces.N to configure both the primary and secondary NICs. When you use this parameter, you must configure the primary NIC. When NetworkInterfaces.N.InstanceType is set to Primary, the primary NIC is configured. When NetworkInterfaces.N.InstanceType is set to Secondary or left empty, a secondary NIC is configured.'."\n"
."\n"
.' >When you modify a scaling configuration and choose one of the preceding methods to configure NICs, the NIC configurations set by the other method are cleared.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|错误码|错误信息|描述|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|未授权操作当前Action。|'."\n"
.'|404|InvalidDataDiskSnapshotId.NotFound|Snapshot "XXX" does not exist.|不存在指定的快照。|'."\n"
.'|400|InvalidDataDiskSnapshotId.SizeNotSupported|The capacity of snapshot "XXX" exceeds the size limit of the specified disk category.|指定快照的大小超过了磁盘大小的限制。|'."\n"
.'|404|InvalidImageId.NotFound|The specified image does not exist.|指定的镜像不存在。|'."\n"
.'|400|InvalidKeyPairName.NotFound|The specified KeyPairName does not exist in our records.|指定的KeyPairName不存在。|'."\n"
.'|400|InvalidNetworkType.ForRAMRole|RAMRole can’t be used For classic instance.|经典网络实例不支持RamRoleName参数。|'."\n"
.'|400|InvalidParamter|The specified value of parameter is not valid.|指定的参数值无效。|'."\n"
.'|400|InvalidScalingConfigurationName.Duplicate|The specified value of parameter is duplicated.|伸缩配置名已存在。|'."\n"
.'|400|InvalidSecurityGroupId.IncorrectNetworkType|The network type of specified Security Group does not support this action.|指定的安全组与伸缩组指定网络类型不一致。|'."\n"
.'|400|InvalidSecurityGroupId.VPCMismatch|The specified security group and the specified virtual switch are not in the same VPC.|指定的安全组和虚拟交换机不属于同一个虚拟专有网络。|'."\n"
.'|400|InvalidTags.KeyValue|The specified tags key/value cannot be empty.|必须指定Tags参数。|'."\n"
.'|400|InvalidTags.ListSize|The specified tags list size cannot be more than "20".|Tags列表长度超过限制长度。|'."\n"
.'|400|InvalidUserData.Base64FormatInvalid|The specified parameter UserData must be base64 encoded.|UserData不符合Base64编码规范。|'."\n"
.'|400|InvalidUserData.SizeExceeded|The specified parameter UserData exceeds the size.|指定的UserData过长。'."\n"
.'|400|InvalidSecurityGroupId.IncorrectType|The managed security group "XXX" is not supported.|不支持 "XXX" 托管安全组。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyScalingConfiguration'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyScalingConfiguration',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ModifyScalingGroup' => [
'summary' => 'Modifies a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92709',
'abilityTreeNodes' => ['FEATUREessXN6KX4'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group that you want to modify.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asg-bp1ffogfdauy0jw0****', 'title' => ''],
],
[
'name' => 'ScalingGroupName',
'in' => 'query',
'schema' => ['description' => 'The name of the scaling group. The name must be unique within a region. The name must be 2 to 64 characters in length and can contain digits, uppercase letters, lowercase letters, Chinese characters, underscores (\\_), hyphens (-), and periods (.).', 'type' => 'string', 'required' => false, 'example' => 'scalinggroup****', 'title' => ''],
],
[
'name' => 'MinSize',
'in' => 'query',
'schema' => ['description' => 'The minimum number of ECS instances or elastic container instances in the scaling group. When the number of instances in the scaling group is less than `MinSize`, Auto Scaling performs automatic creation of ECS instances or elastic container instances.'."\n"
."\n"
.'> The value of `MinSize` must be less than or equal to the value of `MaxSize`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'MaxSize',
'in' => 'query',
'schema' => ['description' => 'The maximum number of ECS instances or elastic container instances in the scaling group. When the number of instances in the scaling group exceeds `MaxSize`, Auto Scaling automatically removes instances from the scaling group.'."\n"
."\n"
.'<props="china">The valid values of MaxSize depend on your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to check the quota value of **Maximum Number of Instances in a Scaling Group**.</props>'."\n"
."\n"
.'<props="intl">The valid values of MaxSize depend on your Auto Scaling usage. Go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas) to check the quota value of **Maximum Number of Instances in a Scaling Group**.</props>'."\n"
."\n"
.'<props="partner">The valid values of MaxSize depend on your Auto Scaling usage. Go to Quota Center to check the quota value of **Maximum Number of Instances in a Scaling Group**.</props>'."\n"
."\n"
.'For example, if the quota value of **Maximum Number of Instances in a Scaling Group** is 2000, the valid values of `MaxSize` are 0 to 2000.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '99', 'title' => ''],
],
[
'name' => 'DefaultCooldown',
'in' => 'query',
'schema' => ['description' => 'The cooldown time after a scaling activity (adding or removing ECS instances or elastic container instances) is complete. Valid values: 0 to 86400. Unit: seconds.'."\n"
."\n"
.'During the cooldown time, the scaling group does not execute other scaling activities. This parameter applies only to scaling activities triggered by CloudMonitor event-triggered tasks.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '86400', 'minimum' => '0', 'example' => '600', 'title' => ''],
],
[
'name' => 'RemovalPolicy.1',
'in' => 'query',
'schema' => ['description' => '指定移出ECS实例的第一段伸缩组策略。取值范围:'."\n"
."\n"
.'- OldestInstance:移出最早加入伸缩组的ECS实例。'."\n"
.'- NewestInstance:移出最新加入伸缩组的ECS实例。'."\n"
.'- OldestScalingConfiguration:移出最早伸缩配置创建的ECS实例。'."\n"
.'- CustomPolicy:基于自定义缩容策略Function函数移除ECS实例。'."\n"
."\n"
.'>OldestScalingConfiguration中提到的伸缩配置泛指组内实例配置信息来源,包括伸缩配置和启动模板。CustomPolicy仅支持设置为首位移除策略,当指定CustomPolicy需同时指定CustomPolicyARN参数。', 'type' => 'string', 'required' => false, 'example' => 'OldestScalingConfiguration', 'title' => ''],
],
[
'name' => 'RemovalPolicy.2',
'in' => 'query',
'schema' => ['description' => '指定移出ECS实例的第二段伸缩组策略。取值范围:'."\n"
."\n"
.'- OldestInstance:移出最早加入伸缩组的ECS实例。'."\n"
.'- NewestInstance:移出最新加入伸缩组的ECS实例。'."\n"
.'- OldestScalingConfiguration:移出最早伸缩配置创建的ECS实例。'."\n"
.'>OldestScalingConfiguration中提到的伸缩配置泛指组内实例配置信息来源,包括伸缩配置和启动模板。', 'type' => 'string', 'required' => false, 'example' => 'NewestInstance', 'title' => ''],
],
[
'name' => 'RemovalPolicy.3',
'in' => 'query',
'schema' => ['description' => '指定移出ECS实例的第三段伸缩组策略。取值范围:'."\n"
."\n"
.'- OldestInstance:移出最早加入伸缩组的ECS实例。'."\n"
.'- NewestInstance:移出最新加入伸缩组的ECS实例。'."\n"
.'- OldestScalingConfiguration:移出最早伸缩配置创建的ECS实例。'."\n"
."\n"
.'>OldestScalingConfiguration中提到的伸缩配置泛指组内实例配置信息来源,包括伸缩配置和启动模板。', 'type' => 'string', 'required' => false, 'example' => 'OldestInstance', 'title' => ''],
],
[
'name' => 'ActiveScalingConfigurationId',
'in' => 'query',
'schema' => ['description' => 'The ID of the active scaling configuration in the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'asc-bp17pelvl720x5ub****', 'title' => ''],
],
[
'name' => 'HealthCheckType',
'in' => 'query',
'schema' => ['description' => 'The health check mode of the scaling group. Valid values:'."\n"
."\n"
.'- NONE: no health check is performed.'."\n"
.'- ECS: health checks are performed on instances in the scaling group. This value applies to both ECS-type and ECI-type scaling groups.'."\n"
.'- LOAD_BALANCER: the health status of instances is determined based on load balancing health check results. Classic Load Balancer (CLB) is not supported.'."\n"
."\n"
.'Default value: ECS.'."\n"
."\n"
.'> To enable both instance health checks and load balancing health checks, use the `HealthCheckTypes` parameter.', 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''],
],
[
'name' => 'LaunchTemplateId',
'in' => 'query',
'schema' => ['description' => 'The ID of the launch template from which the scaling group obtains launch configuration information.', 'type' => 'string', 'required' => false, 'example' => 'lt-m5e3ofjr1zn1aw7****', 'title' => ''],
],
[
'name' => 'LaunchTemplateVersion',
'in' => 'query',
'schema' => ['description' => 'The version of the launch template. Valid values:'."\n"
.' '."\n"
.'- A fixed template version number.'."\n"
.'- Default: always uses the default version of the template.'."\n"
.'- Latest: always uses the latest version of the template.', 'type' => 'string', 'required' => false, 'example' => 'Default', 'title' => ''],
],
[
'name' => 'OnDemandBaseCapacity',
'in' => 'query',
'schema' => ['description' => 'The minimum number of pay-as-you-go instances required in the scaling group. Valid values: 0 to 1000. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are preferentially created.'."\n"
."\n"
.'When the `MultiAZPolicy` parameter is set to `COMPOSABLE`, the default value is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''],
],
[
'name' => 'OnDemandPercentageAboveBaseCapacity',
'in' => 'query',
'schema' => ['description' => 'The percentage of pay-as-you-go instances among the excess instances after the minimum number of pay-as-you-go instances (OnDemandBaseCapacity) is met. Valid values: 0 to 100.'."\n"
."\n"
.'When the `MultiAZPolicy` parameter is set to `COMPOSABLE`, the default value is 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
],
[
'name' => 'SpotInstanceRemedy',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to supplement spot instances. If this feature is enabled, Auto Scaling creates new instances to replace spot instances that are about to be reclaimed when the system sends a reclamation notification.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'CompensateWithOnDemand',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect only when the `MultiAZPolicy` parameter of the `CreateScalingGroup` operation is set to `COST_OPTIMIZED`. Valid values:'."\n"
."\n"
.'- true: allows automatic creation.'."\n"
.'- false: does not allow automatic creation.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'SpotInstancePools',
'in' => 'query',
'schema' => ['description' => 'The number of available instance types. Auto Scaling creates spot instances across multiple lowest-cost instance types in a balanced manner. Valid values: 0 to 10.'."\n"
."\n"
.'When the `MultiAZPolicy` parameter is set to `COMPOSABLE`, the default value is 2.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
],
[
'name' => 'DesiredCapacity',
'in' => 'query',
'schema' => ['description' => 'The expected number of ECS instances or elastic container instances in the scaling group. Setting this parameter enables the expected number of instances feature. Auto Scaling automatically maintains the number of instances at the expected level. Valid values: MinSize ≤ expected number of instances ≤ MaxSize.'."\n"
."\n"
.'> If you disable and then re-enable the expected number of instances feature, you must set the `DesiredCapacity` value again.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
],
[
'name' => 'GroupDeletionProtection',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable deletion protection for the scaling group. Valid values:'."\n"
."\n"
.'- true: enables deletion protection. The scaling group cannot be deleted.'."\n"
.'- false: disables deletion protection.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'MultiAZPolicy',
'in' => 'query',
'schema' => ['description' => 'The multi-zone scaling policy for ECS instances in the scaling group. Valid values:'."\n"
.' '."\n"
.'- PRIORITY: scales instances based on the priority of the vSwitches (VSwitchIds.N). Auto Scaling preferentially performs scaling in the zone of the highest-priority vSwitch. If scaling cannot be performed in that zone, Auto Scaling automatically attempts the next-priority zone.'."\n"
."\n"
.'- COST_OPTIMIZED: during scale-out, Auto Scaling creates ECS instances in ascending order of vCPU unit price. During scale-in, Auto Scaling removes ECS instances in descending order of vCPU unit price. When the scaling configuration specifies multiple instance types with preemptible billing methods, spot instances are preferentially created. You can use the `CompensateWithOnDemand` parameter to specify whether Auto Scaling automatically creates pay-as-you-go instances when spot instances cannot be created.'."\n"
."\n"
.' > COST_OPTIMIZED takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.'."\n"
."\n"
.'- BALANCE: allocates ECS instances evenly across the active zones specified for the scaling group. If the zones become unbalanced due to reasons such as insufficient inventory, you can call the [RebalanceInstance](~~71516~~) operation to rebalance resources.'."\n"
.'- COMPOSABLE: a composite policy that allows you to combine the preceding multi-zone scaling policies as needed. Settings can be customized based on your requirements. This is a composite policy. You can determine whether to combine the preceding multi-zone scaling policies based on your requirements.', 'type' => 'string', 'required' => false, 'example' => 'PRIORITY', 'title' => ''],
],
[
'name' => 'VSwitchIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The IDs of one or more vSwitches.'."\n"
."\n"
.'This parameter takes effect only when the network type of the scaling group is VPC. The specified vSwitches must belong to the same VPC as the scaling group.'."\n"
."\n"
.'The vSwitches can span multiple zones. The priority of vSwitches is sorted in ascending numerical order, where 1 indicates the highest priority. When an ECS instance cannot be created in the zone of a higher-priority vSwitch, Auto Scaling automatically selects the next-priority vSwitch.',
'type' => 'array',
'items' => ['description' => 'The IDs of one or more vSwitches. Valid values of N: 1 to 5.'."\n"
."\n"
.'This parameter takes effect only when the network type of the scaling group is VPC. The specified vSwitches must belong to the same VPC as the scaling group.'."\n"
."\n"
.'The vSwitches can span multiple zones. The priority of vSwitches is sorted in ascending numerical order, where 1 indicates the highest priority. When an ECS instance cannot be created in the zone of a higher-priority vSwitch, Auto Scaling automatically selects the next-priority vSwitch.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1oo2a7isyrb8igf****', 'title' => ''],
'required' => false,
'example' => 'vsw-bp1oo2a7isyrb8igf****',
'maxItems' => 8,
'title' => '',
],
],
[
'name' => 'LaunchTemplateOverride',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The launch template override information.',
'type' => 'array',
'items' => [
'description' => 'The launch template override information.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'To scale the scaling group based on the capacity of instance types, specify both this parameter and LaunchTemplateOverride.N.WeightedCapacity.'."\n"
."\n"
.'This parameter specifies the instance type, which overrides the instance type in the launch template. You can specify N values for this parameter to extend the launch template to support N instance types. Valid values of N: 1 to 20.'."\n"
."\n"
.'> This parameter takes effect only when the LaunchTemplateId parameter specifies a launch template.'."\n"
."\n"
.'Valid values of InstanceType: ECS instance types that are available for purchase. For more information, see [Instance families](~~25378~~).', 'type' => 'string', 'required' => false, 'example' => 'ecs.c5.xlarge', 'title' => ''],
'WeightedCapacity' => ['description' => 'To scale the scaling group based on the capacity of instance types, specify this parameter after you specify LaunchTemplateOverride.N.InstanceType. The two parameters correspond to each other, and the values of N must be consistent.'."\n"
."\n"
.'This parameter specifies the weight of the instance type, which represents the capacity of a single instance of this type in the scaling group. A larger weight means fewer instances of this type are needed to meet the expected capacity.'."\n"
."\n"
.'Because instance types differ in vCPU count, memory size, and other performance metrics, you can assign different weights to different instance types based on your requirements.'."\n"
."\n"
.'Example:'."\n"
."\n"
.'- Current capacity: 0.'."\n"
.'- Expected capacity: 6.'."\n"
.'- Capacity of ecs.c5.xlarge: 4.'."\n"
."\n"
.'To meet the expected capacity, Auto Scaling scales out 2 ecs.c5.xlarge instances.'."\n"
."\n"
.'> During scale-out, the capacity of the scaling group cannot exceed the sum of the maximum capacity (MaxSize) and the maximum weight of the instance types.'."\n"
."\n"
.'Valid values of WeightedCapacity: 1 to 500.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4', 'title' => ''],
'SpotPriceLimit' => ['description' => 'The maximum bid price for the instance type specified by `LaunchTemplateOverride.N.InstanceType`. You can specify N values for this parameter to extend the launch template to support N instance types. Valid values of N: 1 to 20.'."\n"
."\n"
.'> This parameter takes effect only when the `LaunchTemplateId` parameter specifies a launch template.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.025', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'AzBalance',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to evenly distribute the capacity of the scaling group across multiple zones. This parameter takes effect only when the `MultiAZPolicy` parameter is set to `COMPOSABLE`. Valid values:'."\n"
.'- true: evenly distributes the capacity across multiple zones.'."\n"
.'- false: does not evenly distribute the capacity across multiple zones.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'AllocationStrategy',
'in' => 'query',
'schema' => ['description' => 'The capacity allocation strategy that determines how the scaling group selects available instance types to meet capacity requirements. The strategy applies to both pay-as-you-go and spot capacity. This parameter takes effect only when the `MultiAZPolicy` parameter is set to `COMPOSABLE`. Valid values:'."\n"
."\n"
.'- priority: creates instances in the order of the configured instance types.'."\n"
.'- lowestPrice: creates instances in ascending order of vCPU unit price.'."\n"
."\n"
.'Default value: priority.', 'type' => 'string', 'required' => false, 'example' => 'priority', 'title' => ''],
],
[
'name' => 'SpotAllocationStrategy',
'in' => 'query',
'schema' => ['description' => 'The spot capacity allocation strategy. You can use this parameter to separately specify the allocation strategy for spot capacity. This parameter takes effect only when the `MultiAZPolicy` parameter is set to `COMPOSABLE`. Valid values:'."\n"
."\n"
.'- priority: creates instances in the order of the configured instance types.'."\n"
.'- lowestPrice: creates instances in ascending order of vCPU unit price.'."\n"
."\n"
.'Default value: priority.', 'type' => 'string', 'required' => false, 'example' => 'lowestPrice', 'title' => ''],
],
[
'name' => 'MaxInstanceLifetime',
'in' => 'query',
'schema' => ['description' => 'The maximum amount of time that an instance can remain in the scaling group. Unit: seconds.'."\n"
."\n"
.'Valid values: 0 or `[86400, Integer.maxValue]`. A value of 0 clears any previously set MaxInstanceLifetime value (that is, MaxInstanceLifetime is not set).'."\n"
."\n"
.'Default value: null.'."\n"
."\n"
.'> This parameter is not supported for ECI-type scaling groups or scaling groups with the no-fees-for-stopped-instances feature enabled.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'null', 'title' => ''],
],
[
'name' => 'CustomPolicyARN',
'in' => 'query',
'schema' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the custom scale-in policy Function Compute function. This parameter takes effect only when the first scale-in policy in RemovalPolicies is set to CustomPolicy.', 'type' => 'string', 'required' => false, 'example' => 'acs:fc:cn-zhangjiakou:16145688****:services/ess_custom_terminate_policy.LATEST/functions/ess_custom_terminate_policy_name', 'title' => ''],
],
[
'name' => 'DisableDesiredCapacity',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to disable the expected number of instances feature for the scaling group. Valid values:'."\n"
.'- false: enables the expected number of instances feature.'."\n"
.'- true: disables the expected number of instances feature.'."\n"
."\n"
.'> You can set this parameter to true only when no scaling activity is in progress. When the expected number of instances feature is disabled, the `DesiredCapacity` property of the scaling group is cleared, but the current number of instances in the scaling group remains unchanged.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'ScalingPolicy',
'in' => 'query',
'schema' => ['description' => 'The reclaim mode of the scaling group. Valid values:'."\n"
."\n"
.'- recycle: the reclaim mode of the scaling group is stop and recycle mode.'."\n"
."\n"
.'- release: the reclaim mode of the scaling group is release mode.'."\n"
."\n"
.'- forcerelease: the reclaim mode of the scaling group is forced release mode.'."\n"
."\n"
.' > If you select `forcerelease`, running instances are forcefully released during scale-in activities. A forced release is equivalent to a power-off operation, which erases temporary data in the memory and storage of the instance. The data cannot be recovered. Proceed with caution.'."\n"
."\n"
.'- forcerecycle: the reclaim mode of the scaling group is forced stop and recycle mode.'."\n"
."\n"
.' > If you select `forcerecycle`, running instances are forcefully stopped during scale-in activities. A forced stop is equivalent to a power-off operation, which erases temporary data in the memory and storage of the instance. The data cannot be recovered. Proceed with caution.'."\n"
."\n"
.'ScalingPolicy specifies the reclaim mode of the scaling group, but the specific action taken when instances are removed from the scaling group is determined by the RemovePolicy parameter of RemoveInstances. For more information, see [RemoveInstances](~~25955~~).', 'type' => 'string', 'required' => false, 'example' => 'recycle', 'title' => ''],
],
[
'name' => 'HealthCheckTypes',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The health check modes of the scaling group.'."\n"
."\n"
.'> You can set multiple values for this parameter to enable multiple health check options. If the `HealthCheckType` parameter is set, this parameter is ignored.',
'type' => 'array',
'items' => ['description' => 'The list of health check modes for the scaling group. Valid values:'."\n"
."\n"
.'- NONE: no health check is performed.'."\n"
.'- ECS: health checks are performed on instances in the scaling group. This value applies to both ECS-type and ECI-type scaling groups.'."\n"
.'- LOAD_BALANCER: the health status of instances is determined based on load balancing health check results. CLB is not supported.'."\n"
."\n"
.'Default value: ECS.', 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'StopInstanceTimeout',
'in' => 'query',
'schema' => ['description' => 'The timeout period for waiting for an ECS instance to stop during a scale-in flow. Unit: seconds. Valid values: 30 to 240.'."\n"
."\n"
.'> - This parameter takes effect only in scale-in flows where ScalingPolicy is set to release mode. '."\n"
.'- If this parameter is set, the system waits up to StopInstanceTimeout seconds for the instance to stop. After the timeout, the scale-in flow continues regardless of whether the instance has stopped. '."\n"
.'- If this parameter is not set, the system waits indefinitely for the instance to stop. The scale-in flow continues only after the instance stops. If the instance fails to stop, the scale-in flow is rolled back and the scale-in fails.'."\n"
.'- Setting this parameter to 0 clears the parameter settings.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''],
],
[
'name' => 'CapacityOptions',
'in' => 'query',
'style' => 'flat',
'schema' => [
'description' => 'The capacity options.',
'type' => 'object',
'properties' => [
'OnDemandBaseCapacity' => ['description' => 'The minimum number of pay-as-you-go instances required in the scaling group. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are preferentially created. Valid values: 0 to 1000.'."\n"
."\n"
.'When the `MultiAZPolicy` parameter is set to `COMPOSABLE`, the default value is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''],
'OnDemandPercentageAboveBaseCapacity' => ['description' => 'The percentage of pay-as-you-go instances among the excess instances after the minimum number of pay-as-you-go instances (`OnDemandBaseCapacity`) is met. Valid values: 0 to 100.'."\n"
."\n"
.'When the `MultiAZPolicy` parameter is set to `COMPOSABLE`, the default value is 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
'CompensateWithOnDemand' => ['description' => 'Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect only when the `MultiAZPolicy` parameter of the `CreateScalingGroup` operation is set to `COST_OPTIMIZED`. Valid values:'."\n"
."\n"
.'- true: allows automatic creation.'."\n"
.'- false: does not allow automatic creation.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'SpotAutoReplaceOnDemand' => ['description' => 'Specifies whether to use spot instances to replace pay-as-you-go instances when `CompensateWithOnDemand` is enabled and the pay-as-you-go ratio exceeds the `OnDemandPercentageAboveBaseCapacity` ratio. A common scenario is when `CompensateWithOnDemand` causes spot instances to be downgraded to pay-as-you-go instances due to spot inventory or pricing issues. To prevent pay-as-you-go instances from persisting for an extended period, the system attempts to replace excess pay-as-you-go capacity with spot instances. Valid values:'."\n"
."\n"
.'- true: allows replacement.'."\n"
.'- false: does not allow replacement.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
'PriceComparisonMode' => ['description' => 'The price comparison mode for the cost optimization strategy of the scaling group. Valid values:'."\n"
."\n"
.'- PricePerUnit: compares prices based on the price per unit of capacity.'."\n"
."\n"
.' The capacity of an instance in the scaling group equals the weight assigned to the instance type. The default weight is 1, meaning one ECS instance occupies a capacity of 1.'."\n"
."\n"
.'- PricePerVCpu: compares prices based on the price per vCPU.'."\n"
."\n"
.'Default value: PricePerUnit.', 'type' => 'string', 'required' => false, 'example' => 'PricePerUnit', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'BalanceMode',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The zone balancing mode. This parameter takes effect only when zone balancing is enabled. Valid values:'."\n"
.' '."\n"
.'- BalancedBestEffort: when resource creation fails in a zone, the system falls back to other zones to ensure best-effort resource delivery.'."\n"
."\n"
.'- BalancedOnly: when resource creation fails in a zone, the system does not fall back to other zones. The scale-out activity partially succeeds to prevent excessive imbalance across zones.'."\n"
."\n"
.'Default value: BalancedBestEffort.', 'type' => 'string', 'required' => false, 'example' => 'BalancedBestEffort'],
],
[
'name' => 'AutoRebalance',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable automatic rebalancing for the scaling group. This parameter takes effect only when BalancedOnly is enabled for a zone-balanced scaling group. Valid values:'."\n"
.'- false: disables automatic rebalancing.'."\n"
.'- true: enables automatic rebalancing. The scaling group automatically detects capacity across zones and proactively performs scaling to rebalance zone capacity when an imbalance is detected.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Modify a scaling group',
'description' => '## Operation description'."\n"
."\n"
.'- The following parameters cannot be modified:'."\n"
."\n"
.' - RegionId'."\n"
."\n"
.' - LoadBalancerId'."\n"
."\n"
.' > To modify load balancing instances, use the [AttachLoadBalancers](~~85125~~) and [DetachLoadBalancers](~~85141~~) operations. '."\n"
."\n"
.' - DBInstanceId'."\n"
."\n"
.' > To modify ApsaraDB RDS instances, use the [AttachDBInstances](~~85379~~) and [DetachDBInstances](~~85380~~) operations. '."\n"
.' '."\n"
.'- You can invoke this operation only when the scaling group is in the Active or Inactive state.'."\n"
."\n"
.'- Enabling a new scaling configuration does not affect ECS instances or elastic container instances that were created based on the previous scaling configuration and are still running.'."\n"
."\n"
.'- If you modify MaxSize and the current number of ECS or elastic container instances in the scaling group exceeds the new MaxSize value, Auto Scaling automatically removes instances from the scaling group until the number equals MaxSize.'."\n"
."\n"
.'- If you modify MinSize and the current number of ECS or elastic container instances in the scaling group is less than the new MinSize value, Auto Scaling automatically adds instances to the scaling group until the number equals MinSize.'."\n"
."\n"
.'- If DesiredCapacity is set for the scaling group and you modify DesiredCapacity, Auto Scaling automatically adds or removes ECS or elastic container instances to make the number of instances in the scaling group equal to the new DesiredCapacity value.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in the current account.|'."\n"
.'|400|InvalidScalingGroupName.Duplicate|The specified value of parameter `parameter name` is duplicated.|The scaling group name already exists.|'."\n"
.'|404|InvalidScalingConfigurationId.NotFound|The specified scaling configuration does not exist.|The specified scaling configuration does not exist in the scaling group.|'."\n"
.'|400|InvalidScalingConfigurationId.InstanceTypeMismatch|The specified scaling configuration and existing active scaling configuration have different instance type.|The instance type of the specified scaling configuration does not match the instance type of the active scaling configuration.|'."\n"
.'|400|InvalidParameter.Conflict|The value of parameter `parameter name` and parameter `parameter name` are confilict.|The specified MinSize is greater than MaxSize.|'."\n"
.'|400|LaunchTemplateVersionSet.NotFound|The specific version of launch template is not exist.|The specified version of the launch template does not exist.|'."\n"
.'|400|LaunchTemplateSet.NotFound|The specified launch template set is not found.|The specified launch template does not exist.|'."\n"
.'|400|TemplateMissingParameter.ImageId|The input parameter "ImageId" that is mandatory for processing this request is not supplied.|The specified version of the launch template does not contain image information.|'."\n"
.'|400|TemplateMissingParameter.InstanceTypes|The input parameter "InstanceTypes" that is mandatory for processing this request is not supplied.|The specified version of the launch template does not contain instance type information.|'."\n"
.'|400|TemplateMissingParameter.SecurityGroup|The input parameter "SecurityGroup" that is mandatory for processing this request is not supplied.|The specified version of the launch template does not contain security group information.|'."\n"
.'|400|TemplateVersion.NotNumber|The input parameter "LaunchTemplateVersion" is supposed to be a string representing the version number.|The fixed version number of the launch template must be a number.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyScalingGroup'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyScalingGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'ModifyScalingRule' => [
'summary' => 'Modifies a scaling rule.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92710',
'abilityTreeNodes' => ['FEATUREessBFLAJQ'],
],
'parameters' => [
[
'name' => 'ScalingRuleId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling rule that you want to modify.', 'type' => 'string', 'required' => true, 'example' => 'asr-bp1dvirgwkoowxk7****', 'title' => ''],
],
[
'name' => 'ScalingRuleName',
'in' => 'query',
'schema' => ['description' => 'The name of the scaling rule. The name must be 2 to 64 characters in length and can contain digits, uppercase letters, lowercase letters, Chinese characters, underscores (\\_), hyphens (-), and periods (.). It must start with a digit, letter, or Chinese character.'."\n"
."\n"
.'>The name of a scaling rule must be unique within the same scaling group under the same Alibaba Cloud account in the same region.', 'type' => 'string', 'required' => false, 'example' => 'scalingrule****', 'title' => ''],
],
[
'name' => 'Cooldown',
'in' => 'query',
'schema' => ['description' => 'The cooldown time of the scaling rule. This parameter is applicable only to simple scaling rules.'."\n"
."\n"
.'Valid values: 0 to 86400. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''],
],
[
'name' => 'MinAdjustmentMagnitude',
'in' => 'query',
'schema' => ['description' => 'The minimum number of instances to adjust in a scaling rule. This parameter takes effect only when the scaling rule type is `SimpleScalingRule` or `StepScalingRule` and `AdjustmentType` is set to `PercentChangeInCapacity`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'AdjustmentType',
'in' => 'query',
'schema' => ['description' => 'The adjustment method of the scaling rule. This parameter is applicable to simple scaling rules and step scaling rules, and is required in this case. Valid values:'."\n"
."\n"
.'- QuantityChangeInCapacity: adds or removes a specified number of ECS instances.'."\n"
.'- PercentChangeInCapacity: adds or removes a specified percentage of ECS instances.'."\n"
.'- TotalCapacity: adjusts the number of ECS instances in the current scaling group to a specified value.', 'type' => 'string', 'required' => false, 'example' => 'QuantityChangeInCapacity', 'title' => ''],
],
[
'name' => 'AdjustmentValue',
'in' => 'query',
'schema' => ['description' => 'The adjustment value of the scaling rule. This parameter is applicable to simple scaling rules and step scaling rules, and is required in this case. The number of ECS instances adjusted in a single scaling activity cannot exceed 1,000. Valid values vary based on the adjustment method:'."\n"
.'- QuantityChangeInCapacity: -1000 to 1000.'."\n"
.'- PercentChangeInCapacity: -100 to 10000.'."\n"
.'- TotalCapacity: 0 to 2000.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'EstimatedInstanceWarmup',
'in' => 'query',
'schema' => ['description' => 'The warm-up period of an instance. This parameter is applicable to target tracking scaling rules and step scaling rules. An ECS instance in the warm-up state is added to the scaling group as expected, but CloudMonitor does not report monitoring data for the instance during this period.'."\n"
.'> When the number of ECS instances to scale is dynamically calculated, instances in the warm-up state are not counted toward the existing instance count.'."\n"
."\n"
.'Valid values: 0 to 86400. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''],
],
[
'name' => 'MetricName',
'in' => 'query',
'schema' => ['description' => 'The predefined metric. This parameter is applicable to target tracking scaling rules and predictive scaling rules, and is required in this case.'."\n"
."\n"
.'Valid values for target tracking scaling rules: '."\n"
.'- CpuUtilizationAgent: (Agent) CPU utilization (recommended).'."\n"
.'- MemoryUtilization: (Agent) memory utilization (recommended).'."\n"
.'- CpuUtilization: (ECS) average CPU utilization.'."\n"
.'- IntranetTx: (ECS) average outbound traffic over the internal network.'."\n"
.'- IntranetRx: (ECS) average inbound traffic over the internal network.'."\n"
.'- VpcInternetTx: (ECS) average outbound traffic over the Internet.'."\n"
.'- VpcInternetRx: (ECS) average inbound traffic over the Internet.'."\n"
.'- LoadBalancerRealServerAverageQps: (ALB) QPS per server in a server group.'."\n"
."\n"
.'Valid values for predictive scaling rules: '."\n"
.'- CpuUtilization: (ECS) average CPU utilization.'."\n"
.'- IntranetRx: (ECS) average inbound traffic over the internal network.'."\n"
.'- IntranetTx: (ECS) average outbound traffic over the internal network.'."\n"
."\n"
.'For more information, see [Event-triggered tasks for system monitoring](~~74854~~).', 'type' => 'string', 'required' => false, 'example' => 'CpuUtilization', 'title' => ''],
],
[
'name' => 'TargetValue',
'in' => 'query',
'schema' => ['description' => 'The target value. This parameter is applicable to target tracking scaling rules and predictive scaling rules. The value of TargetValue can have up to three decimal places and must be greater than 0.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.125', 'title' => ''],
],
[
'name' => 'DisableScaleIn',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to disable scale-in. This parameter is applicable only to target tracking scaling rules.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'ScaleInEvaluationCount',
'in' => 'query',
'schema' => ['description' => 'After a target tracking scaling rule is created, an event-triggered task is automatically created. This parameter specifies the number of consecutive times that the threshold condition must be met before the corresponding scale-in event-triggered task triggers an alert.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '15', 'title' => ''],
],
[
'name' => 'ScaleOutEvaluationCount',
'in' => 'query',
'schema' => ['description' => 'After a target tracking scaling rule is created, an event-triggered task is automatically created. This parameter specifies the number of consecutive times that the threshold condition must be met before the corresponding scale-out event-triggered task triggers an alert.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''],
],
[
'name' => 'PredictiveScalingMode',
'in' => 'query',
'schema' => ['description' => 'The mode of the predictive scaling rule. Valid values:'."\n"
."\n"
.'- PredictAndScale: generates prediction results and creates prediction tasks.'."\n"
.'- PredictOnly: generates prediction results but does not create prediction tasks.', 'type' => 'string', 'required' => false, 'example' => 'PredictAndScale', 'title' => ''],
],
[
'name' => 'PredictiveValueBehavior',
'in' => 'query',
'schema' => ['description' => 'The method used to handle the maximum value of the predictive scaling rule. Valid values:'."\n"
."\n"
.'- MaxOverridePredictiveValue: the initial maximum value overrides the predicted value. If the predicted value is greater than the initial maximum value, the maximum value of the prediction task is set to the initial maximum value.'."\n"
.'- PredictiveValueOverrideMax: the predicted value overrides the initial maximum value. If the predicted value is greater than the initial maximum value, the maximum value of the prediction task is set to the predicted value.'."\n"
.'- PredictiveValueOverrideMaxWithBuffer: the predicted value is increased by a specified percentage. The predicted value is increased based on the PredictiveValueBuffer percentage. If the increased value is greater than the initial maximum value, the increased value is used.', 'type' => 'string', 'required' => false, 'example' => 'MaxOverridePredictiveValue', 'title' => ''],
],
[
'name' => 'PredictiveValueBuffer',
'in' => 'query',
'schema' => ['description' => 'This parameter takes effect when `PredictiveValueBehavior` is set to `PredictiveValueOverrideMaxWithBuffer`. The predicted value is increased by this percentage. If the increased value is greater than the initial maximum value, the increased value is used. Valid values: 0 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
],
[
'name' => 'PredictiveTaskBufferTime',
'in' => 'query',
'schema' => ['description' => 'Prediction tasks automatically created by a predictive scaling rule execute on the hour by default. You can configure a buffer time to execute prediction tasks ahead of schedule and prepare resources in advance. Valid values: 0 to 60.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''],
],
[
'name' => 'InitialMaxSize',
'in' => 'query',
'schema' => ['description' => 'The maximum number of instances in the scaling group. This parameter is used together with PredictiveValueBehavior.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'StepAdjustment',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The collection of step adjustment information for step scaling.',
'type' => 'array',
'items' => [
'description' => 'The collection of step adjustment information for step scaling.',
'type' => 'object',
'properties' => [
'MetricIntervalUpperBound' => ['description' => 'The upper bound of a step adjustment. This parameter is applicable only to step scaling rules. Valid values: -9.999999E18 to 9.999999E18.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '5.0', 'title' => ''],
'ScalingAdjustment' => ['description' => 'The number of instances to scale in a step adjustment. This parameter is applicable only to step scaling rules.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
'MetricIntervalLowerBound' => ['description' => 'The lower bound of a step adjustment. This parameter is applicable only to step scaling rules. Valid values: -9.999999E18 to 9.999999E18.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1.0', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'AlarmDimension',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The dimension information associated with the metric. This parameter is applicable to target tracking scaling rules. Set this parameter when the metric requires additional dimension information. For example, the `LoadBalancerRealServerAverageQps` metric requires the `rulePool` dimension information.',
'type' => 'array',
'items' => [
'description' => 'The dimension information associated with the metric. This parameter is applicable to target tracking scaling rules. Set this parameter when the metric requires additional dimension information. For example, the `LoadBalancerRealServerAverageQps` metric requires the `rulePool` dimension information.',
'type' => 'object',
'properties' => [
'DimensionKey' => ['description' => 'The key of the dimension associated with the metric.', 'type' => 'string', 'required' => false, 'example' => 'rulePool', 'title' => ''],
'DimensionValue' => ['description' => 'The value of the dimension associated with the metric.', 'type' => 'string', 'required' => false, 'example' => 'sgp-l1cbirz451yxu2****', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 5,
'title' => '',
'example' => '',
],
],
[
'name' => 'MetricType',
'in' => 'query',
'schema' => ['description' => 'The type of the metric. Valid values:'."\n"
."\n"
.'- system: uses CloudMonitor system metrics.'."\n"
.'- custom: uses custom metrics reported to CloudMonitor.'."\n"
.'- hybrid: uses Hybrid Cloud Monitoring metrics.', 'type' => 'string', 'required' => false, 'example' => 'system', 'title' => ''],
],
[
'name' => 'HybridMonitorNamespace',
'in' => 'query',
'schema' => ['description' => 'The ID of the Hybrid Cloud Monitoring monitoring metrics repository.'."\n"
."\n"
.'To manage monitoring metrics repositories, see [Manage monitoring metrics repositories](~~217606~~).', 'type' => 'string', 'required' => false, 'example' => 'aliyun-test', 'title' => ''],
],
[
'name' => 'HybridMetrics',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The Hybrid Cloud Monitoring monitoring metrics settings. For more information about how to configure this parameter, see [Use formula-based custom target tracking scaling rules](~~2852162~~).',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Id' => ['description' => 'The reference ID of the metric in the formula expression.', 'type' => 'string', 'required' => false, 'example' => 'a', 'title' => ''],
'Expression' => ['description' => 'The formula expression for multiple Hybrid Cloud Monitoring metrics. The calculation result of the expression is used to trigger scaling activities.'."\n"
."\n"
.'The expression must comply with the Reverse Polish Notation (RPN) specification, and only the `+ - * /` operators are supported.', 'type' => 'string', 'required' => false, 'example' => '(a+b)/2', 'title' => ''],
'MetricName' => ['description' => 'The name of the monitoring metrics in the Hybrid Cloud Monitoring monitoring metrics repository.', 'type' => 'string', 'required' => false, 'example' => 'AliyunSmq_NumberOfMessagesVisible', 'title' => ''],
'Statistic' => ['description' => 'The statistical method of the metric. Valid values:'."\n"
.'- Average: the average of all data points within the specified interval.'."\n"
.'- Minimum: the minimum value of all data points within the specified interval.'."\n"
.'- Maximum: the maximum value of all data points within the specified interval.', 'type' => 'string', 'required' => false, 'example' => 'Average', 'title' => ''],
'Dimensions' => [
'description' => 'The metric dimensions. Specifies the resources to monitor for the metric.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'DimensionKey' => ['description' => 'The key of the metric dimension.', 'type' => 'string', 'required' => false, 'example' => 'queue', 'title' => ''],
'DimensionValue' => ['description' => 'The value of the metric dimension.', 'type' => 'string', 'required' => false, 'example' => 'testQueue', 'title' => ''],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 10,
'title' => '',
'example' => '',
],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'AlarmOptions',
'in' => 'query',
'style' => 'flat',
'schema' => [
'description' => 'The alert property definitions.',
'type' => 'object',
'properties' => [
'Period' => ['description' => 'The statistical period for monitoring data in the target tracking scaling rule. Unit: seconds. Valid values:'."\n"
."\n"
.'- 15.'."\n"
.'- 60.'."\n"
.'- 120.'."\n"
.'- 300.'."\n"
.'- 900.'."\n"
."\n"
.'> Default value: 60.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Modify a scaling rule',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingRuleId.NotFound|The specified scaling rule does not exist.|The specified scaling rule does not exist under this account.|'."\n"
.'|400|InvalidScalingRuleName.Duplicate|The specified value of parameter <parameter name> is duplicated.|The scaling rule name already exists.|'."\n"
.'|400|QuotaExceeded.ScalingRule|Scaling rule quota exceeded in the specified scaling group.|The number of scaling rules has reached the upper limit.|'."\n"
.'|400|TargetTrackingScalingRule.UnsupportedMetric|Specific metric is not supported for target tracking scaling rule.|The specified monitoring metrics is not supported for target tracking scaling rules.|'."\n"
.'|400|TargetTrackingScalingRule.DumplicateMetric|Only one TargetTrackingScaling rule for a given metric specification is allowed.|Only one target tracking scaling rule is allowed for each monitoring metrics in a scaling group.|'."\n"
.'|400|InvalidMinAdjustmentMagnitudeMismatchAdjustmentType|MinAdjustmentMagnitude is not supported by the specified adjustment type.|MinAdjustmentMagnitude is not supported by the current adjustment type of the scaling rule.|'."\n"
.'|400|InvalidStepAdjustments.MultipleNullUpperBound|At most one StepAdjustment may have an unspecified upper bound.|At most one step adjustment can have an unspecified upper bound.|'."\n"
.'|400|InvalidStepAdjustments.MultipleNullLowerBound|At most one StepAdjustment may have an unspecified lower bound.|At most one step adjustment can have an unspecified lower bound.|'."\n"
.'|400|InvalidStepAdjustments.NoNullLowerBound|There must be a StepAdjustment with an unspecified lower bound when one StepAdjustment has a negative lower bound.|When a step adjustment has a negative lower bound, there must be a step adjustment with an unspecified lower bound.|'."\n"
.'|400|InvalidStepAdjustments.NoNullUpperBound|There must be a StepAdjustment with an unspecified upper bound when one StepAdjustment has a positive upper bound.|When a step adjustment has a positive upper bound, there must be a step adjustment with an unspecified upper bound.|'."\n"
.'|400|InvalidStepAdjustments.Gap|StepAdjustment intervals can not have gaps between them.|Step adjustment intervals cannot have gaps between them.|'."\n"
.'|400|InvalidStepAdjustments.Overlap|StepAdjustment intervals can not overlap.|Step adjustment intervals cannot overlap.|'."\n"
.'|400|InvalidStepAdjustments.LowerGtUpper|LowerBound must be less than the UpperBound for StepAdjustment :%s.|The lower bound must be less than the upper bound within the same step adjustment.|'."\n"
.'|400|InvalidStepAdjustments.BothNull|Both lower and upper bounds of a StepAdjustment can not be left unspecified.|Both the upper bound and lower bound of a step adjustment cannot be left unspecified.|'."\n"
.'|400|InvalidStepAdjustments.MaxNum|Your scaling rule can have at most %s StepAdjustments.|The number of step adjustments in the scaling group exceeds the upper limit.|'."\n"
.'|400|StepBeyondPermitRange|Specific parameter "%s" beyond permit range.|The upper bound or lower bound of the step adjustment exceeds the permitted range.|',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyScalingRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyScalingRule'],
],
],
],
'ModifyScheduledTask' => [
'summary' => 'Modifies the information of a scheduled task.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92711',
'abilityTreeNodes' => ['FEATUREessAWW1X1'],
],
'parameters' => [
[
'name' => 'ScheduledTaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scheduled task.', 'type' => 'string', 'required' => true, 'example' => 'edRtShc57WGXdt8TlPbr****', 'title' => ''],
],
[
'name' => 'ScheduledTaskName',
'in' => 'query',
'schema' => ['description' => 'The name of the scheduled task. The name must be 2 to 64 characters in length and can contain letters, digits, and Chinese characters. It can also contain periods (.), underscores (_), or hyphens (-). The name must be unique within the same account in the same region.', 'type' => 'string', 'required' => false, 'example' => 'scheduled****', 'title' => ''],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => 'The description of the scheduled task. The description must be 2 to 200 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'Test scheduled task.', 'title' => ''],
],
[
'name' => 'ScheduledAction',
'in' => 'query',
'schema' => ['description' => 'The unique identifier of the scaling rule to execute. This parameter takes effect only when the scaling method is set to use an existing scaling rule. You can view the identifier on the scaling rule details page.'."\n"
."\n"
.'> You cannot specify both `ScheduledAction` and `ScalingGroupId` at the same time.', 'type' => 'string', 'required' => false, 'example' => 'ari:acs:ess:cn-hangzhou:14069264****:scalingrule/asr-bp12tcnol686y1ik****', 'title' => ''],
],
[
'name' => 'RecurrenceEndTime',
'in' => 'query',
'schema' => ['description' => 'The end time of the recurrence for the scheduled task. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mmZ format. The time must be in UTC. The end time cannot be more than 365 days from the modification date.', 'type' => 'string', 'required' => false, 'example' => '2014-08-20T16:55Z', 'title' => ''],
],
[
'name' => 'LaunchTime',
'in' => 'query',
'schema' => ['description' => 'The time at which the scheduled task is triggered. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mmZ format. The time must be in UTC. The time cannot be more than 90 days from the modification date.'."\n"
."\n"
.'- If you specify `RecurrenceType`, the time specified by this parameter is the default time for recurring execution.'."\n"
."\n"
.'- If you do not specify `RecurrenceType`, the task is executed only once at the specified date and time.', 'type' => 'string', 'required' => false, 'example' => '2014-08-18T10:52Z', 'title' => ''],
],
[
'name' => 'RecurrenceType',
'in' => 'query',
'schema' => ['description' => 'The recurrence type of the scheduled task. The task can be executed on a daily, weekly, monthly, or cron-based schedule. Valid values:'."\n"
.' '."\n"
.'- Daily: The scheduled task is executed every specified number of days.'."\n"
.'- Weekly: The scheduled task is executed on specified days of each week.'."\n"
.'- Monthly: The scheduled task is executed on specified days of each month.'."\n"
.'- Cron: The scheduled task is executed based on the specified cron expression.'."\n"
."\n"
.'After modification, `RecurrenceType` and `RecurrenceValue` must both be valid.', 'type' => 'string', 'required' => false, 'example' => 'Daily', 'title' => ''],
],
[
'name' => 'RecurrenceValue',
'in' => 'query',
'schema' => ['description' => 'The value that corresponds to the recurrence type of the scheduled task.'."\n"
."\n"
.'- If `RecurrenceType` is set to `Daily`, you can specify only one value. Valid values: 1 to 31.'."\n"
.'- If `RecurrenceType` is set to `Weekly`, you can specify multiple values separated by commas (,). For example, the values for Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday are `0,1,2,3,4,5,6`.'."\n"
.'- If `RecurrenceType` is set to `Monthly`, the value is in the `A-B` format. Valid values of A and B: 1 to 31. B must be greater than or equal to A.'."\n"
.'- If `RecurrenceType` is set to `Cron`, the value is a UTC-based cron expression that supports five fields: minute, hour, day, month, and day of week. The following wildcard characters are supported: comma (,), question mark (?), hyphen (-), asterisk (*), pound sign (#), forward slash (/), L, and W.'."\n"
."\n"
.'After modification, `RecurrenceType` and `RecurrenceValue` must both be valid.', 'type' => 'string', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'TaskEnabled',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable the scheduled task. Valid values:'."\n"
."\n"
.'- true: enables the scheduled task.'."\n"
.'- false: disables the scheduled task.'."\n"
."\n"
.'Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'LaunchExpirationTime',
'in' => 'query',
'schema' => ['description' => 'The time period during which Auto Scaling retries the execution of a scheduled task after the task fails to be triggered. Unit: seconds. Valid values: 0 to 1800.'."\n"
."\n"
.'Default value: 600.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '86400', 'minimum' => '0', 'example' => '600', 'title' => ''],
],
[
'name' => 'MinValue',
'in' => 'query',
'schema' => ['description' => 'The minimum number of instances in the scaling group. This parameter takes effect only when the scaling method is set to configure the number of instances in a scaling group.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''],
],
[
'name' => 'MaxValue',
'in' => 'query',
'schema' => ['description' => 'The maximum number of instances in the scaling group. This parameter takes effect only when the scaling method is set to configure the number of instances in a scaling group.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'DesiredCapacity',
'in' => 'query',
'schema' => ['description' => 'The expected number of instances in the scaling group. This parameter takes effect only when the scaling method is set to configure the number of instances in a scaling group.'."\n"
."\n"
.'> The scaling group must support the expected number of instances feature, which means `DesiredCapacity` was specified when the scaling group was created.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group whose instance count you want to modify when the scheduled task is triggered. This parameter takes effect only when the scaling method is set to configure the number of instances in a scaling group. After you specify `ScalingGroupId`, you must specify a value for at least one of the following parameters: `MinValue`, `MaxValue`, and `DesiredCapacity`.'."\n"
."\n"
.'> You cannot specify both `ScheduledAction` and `ScalingGroupId` at the same time.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Throttling', 'errorMessage' => 'Request was denied due to request throttling.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Modify a scheduled task',
'description' => '## Operation description'."\n"
."\n"
.'Scheduled tasks support two scaling methods:'."\n"
.'- Use the `ScheduledAction` parameter to specify a scaling rule to execute.'."\n"
.'- Use the `ScalingGroupId` parameter to set the number of instances in a scaling group.'."\n"
."\n"
.'> You cannot specify both `ScheduledAction` and `ScalingGroupId` at the same time.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScheduledTaskId.NotFound|The specified scheduled task does not exist.|The specified scheduled task does not exist in the current account.|'."\n"
.'|400|InvalidScheduledTaskName.Duplicate|The specified value of parameter `ScheduledTaskName` is duplicated.|The specified scheduled task name already exists.|'."\n"
.'|400|ScheduledAction.RegionMismatch|The specified scheduled task and the specified scheduled action are not in the same Region.|The specified ScheduledAction and the scheduled task are not in the same region.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyScheduledTask'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyScheduledTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'RebalanceInstances' => [
'summary' => 'Rebalances the distribution of ECS instances across zones in a multi-zone scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92712',
'abilityTreeNodes' => ['FEATUREessPV8ZVU'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingActivityId' => ['description' => 'The ID of the scaling activity.', 'type' => 'string', 'example' => 'asa-kjgffgdfadah****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivityId\\": \\"asa-kjgffgdfadah****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Rebalance ECS instance distribution',
'description' => '## Operation description'."\n"
."\n"
.'The rebalancing operation compensates for imbalanced zones by creating new ECS instances to replace existing ones. New ECS instances are started before existing ones are terminated, so the rebalancing operation does not affect your application performance or availability.'."\n"
."\n"
.'- This operation is supported only for multi-zone scaling groups whose `MultiAZPolicy` is set to `BALANCE`, and is used to balance the distribution of ECS instances across zones.'."\n"
."\n"
.'- You can perform a rebalancing operation only when the instance distribution in the scaling group is severely imbalanced. A single rebalancing activity can replace up to 20 ECS instances.'."\n"
."\n"
.'- During a rebalancing activity, if the number of instances in the scaling group approaches or reaches the specified maximum number of ECS instances (MaxSize) but further balancing is required, Auto Scaling allows the number of ECS instances to temporarily exceed MaxSize by 10%. This excess state persists until the instance distribution is balanced, typically for 1 to 6 minutes.'."\n"
."\n"
.' >If 10% of the maximum number of instances is not an integer, the decimal part is rounded up to allow one additional instance. For example, if the maximum number of instances is 15, 10% is 1.5, so a temporary excess of 2 instances is allowed.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|IncorrectScalingGroupStatus|The current status of the specified scaling group does not support this action.|Enable the scaling group first.|'."\n"
.'|400|OperationDenied|This operation is denied because the specified scaling group does not support this action.|The `MultiAZPolicy` of the specified scaling group is not set to `BALANCE`, or the ECS instance distribution is not severely imbalanced.|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You are not authorized to call the RebalanceInstances operation.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist under your account.|.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:RebalanceInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RebalanceInstances'],
],
],
],
'RecordLifecycleActionHeartbeat' => [
'summary' => 'Extends the wait time for an ECS instance that is suspended after a lifecycle hook is triggered.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92713',
'abilityTreeNodes' => ['FEATUREessKFTMD6'],
],
'parameters' => [
[
'name' => 'lifecycleHookId',
'in' => 'query',
'schema' => ['description' => 'The ID of the lifecycle hook.', 'type' => 'string', 'required' => true, 'example' => 'ash-bp1fxuqyi98w0aib****', 'title' => ''],
],
[
'name' => 'lifecycleActionToken',
'in' => 'query',
'schema' => ['description' => 'The token that indicates the wait state of the scaling activity. You can obtain this token from the details of the message received from the Simple Message Queue (formerly MNS) queue specified by the lifecycle hook when the instance is in the suspended state.'."\n"
."\n"
.'You can also call [DescribeLifecycleActions](~~202473~~) to obtain this token.'."\n"
."\n"
.'Alternatively, you can obtain this value from the Simple Message Queue (formerly MNS) topic specified by the lifecycle hook.', 'type' => 'string', 'required' => true, 'example' => 'F324B880-900E-4968-85DD-81691113****', 'title' => ''],
],
[
'name' => 'heartbeatTimeout',
'in' => 'query',
'schema' => ['description' => 'The wait time that the lifecycle hook sets for the scaling group activity. After the wait state times out, the default policy is executed. Valid values: 30 to 21600. Unit: seconds.'."\n"
."\n"
.'After a lifecycle hook is created, you can call this operation to extend the wait time of the ECS instance, or call [CompleteLifecycleAction](~~73847~~) to end the wait state of the scaling activity in advance.'."\n"
."\n"
.'Default value: 600.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]',
'title' => 'Extend the wait time after a lifecycle hook is triggered',
'description' => '## Operation description'."\n"
."\n"
.'You can call this operation to extend the wait time only when the ECS instance is in the suspended state.'."\n"
."\n"
.'The wait time of an ECS instance cannot exceed 6 hours, and each wait state can be extended up to 20 times.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidParamter|The specified value of parameter is not valid.|The specified parameter value is invalid.|'."\n"
.'|400|LifecycleHookIdAndLifecycleActionToken.Invalid|The specified lifecycleActionToken and LifecycleHookId you provided does not match any in process lifecycle action.|The specified lifecycleActionToken does not match any LifecycleHookId.|'."\n"
.'|400|LifecycleAction.TimeExceeded|The specified parameter heartbeatTime exceed lifecycleAction max suspend time.|The wait time cannot exceed 6 hours.|'."\n"
.'|400|LifecycleAction.RecordTimesExceeded|The specified lifecycleAction exceed lifecycleAction max record times.|Each wait state can be extended up to 20 times.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RecordLifecycleActionHeartbeat'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:RecordLifecycleActionHeartbeat',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'RemoveInstances' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'high',
'chargeType' => 'free',
'abilityTreeCode' => '92714',
'abilityTreeNodes' => ['FEATUREessDFX5TO'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'RemovePolicy',
'in' => 'query',
'schema' => ['description' => 'The action to take on the ECS instances that are removed. Valid values:'."\n"
."\n"
.'- recycle: The ECS instance enters the economy mode.'."\n"
."\n"
.' > This value takes effect only when `ScalingPolicy` is set to `recycle`.'."\n"
."\n"
.'- release: The ECS instance is released.'."\n"
."\n"
.' The `ScalingPolicy` parameter of CreateScalingGroup specifies the reclaim mode of the scaling group, but the specific action taken when an instance is removed is determined by the `RemovePolicy` parameter of RemoveInstances. Examples:'."\n"
."\n"
.' - If `ScalingPolicy` is set to `recycle` and `RemovePolicy` is set to `recycle`, the ECS instance enters the economy mode.'."\n"
.' - If `ScalingPolicy` is set to `recycle` and `RemovePolicy` is set to `release`, the ECS instance is released.'."\n"
.' - If `ScalingPolicy` is set to `release` and `RemovePolicy` is set to `recycle`, the ECS instance is released.'."\n"
.' - If `ScalingPolicy` is set to `release` and `RemovePolicy` is set to `release`, the ECS instance is released.'."\n"
."\n"
.'Default value: release.', 'type' => 'string', 'required' => false, 'example' => 'release', 'title' => ''],
],
[
'name' => 'DecreaseDesiredCapacity',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to modify the expected number of instances. Valid values:'."\n"
."\n"
.'- true: After ECS instances are removed from the scaling group, the expected number of instances is decreased by the corresponding number.'."\n"
.'- false: After ECS instances are removed from the scaling group, the expected number of instances remains unchanged.'."\n"
."\n"
.'Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'IgnoreInvalidInstance',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to ignore invalid instances when you delete a batch of instances from the scaling group. Valid values:'."\n"
."\n"
.'- true: Invalid instances are ignored when a batch of instances is deleted from the scaling group.'."\n"
.' '."\n"
.' If a batch of instances contains invalid instances (for example, instances whose instance status is `Pending`), the valid instances are successfully deleted, and the scaling activity execute status is displayed as `Warning`. You can view the invalid instances in the scaling activity details.'."\n"
.'- false: Invalid instances are not ignored when a batch of instances is deleted from the scaling group.'."\n"
."\n"
.' If a batch of instances contains invalid instances, an error is returned.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the ECS instance to be removed.',
'type' => 'array',
'items' => ['description' => 'The ID of the ECS instance to be removed. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'i-28wt4****', 'title' => ''],
'required' => true,
'example' => 'i-28wt4****',
'maxItems' => 1000,
'title' => '',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'You can use the client to generate the token, but make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'StopInstanceTimeout',
'in' => 'query',
'schema' => ['description' => 'The timeout period for waiting for an ECS instance to be stopped during the scale-in process. Unit: seconds.'."\n"
.'Valid values: 30 to 240.'."\n"
."\n"
.'> - By default, this parameter value is inherited from the scaling group. You can also reset this value when you call RemoveInstances.'."\n"
.'- This parameter takes effect only in scale-in processes where RemovePolicy is set to release. '."\n"
.'- If this parameter is specified, the system waits up to the StopInstanceTimeout period for the instance to stop. After the timeout period elapses, the scale-in process continues regardless of whether the instance is stopped. '."\n"
.'- If this parameter is not specified, the system waits until the instance is stopped before continuing the scale-in process. If the instance fails to stop, the scale-in process is rolled back and the scale-in fails.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''],
],
[
'name' => 'LifecycleHookContext',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The context information of the lifecycle hook.',
'type' => 'object',
'properties' => [
'DisableLifecycleHook' => ['description' => 'Specifies whether to disable all lifecycle hooks for the scaling activity. Valid values:'."\n"
."\n"
.'- true: Disabled.'."\n"
.'- false: Not disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'IgnoredLifecycleHookIds' => [
'description' => 'The list of lifecycle hook IDs to be disabled for the scaling activity.',
'type' => 'array',
'items' => ['description' => 'The list of lifecycle hook IDs to be disabled for the scaling activity.', 'type' => 'string', 'required' => false, 'example' => 'ash-bp14zolna43z266bq***', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'LifecycleHookResult' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ScalingActivityId' => ['description' => 'The ID of the scaling activity.', 'type' => 'string', 'example' => 'asa-bp175o6f6ego3r2j****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'IgnoredInstances' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'IgnoredInstance' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'InstanceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'Code' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'Message' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
],
],
'title' => 'Remove one or more ECS instances from a scaling group',
'summary' => 'Removes one or more ECS instances from a scaling group.',
'description' => '## Operation description'."\n"
."\n"
.'- Before you invoke this operation, make sure that the following conditions are met:'."\n"
."\n"
.' - The scaling group is in the enable (Active) state.'."\n"
."\n"
.' - No scaling activity is being executed in the scaling group.'."\n"
."\n"
.'If no scaling activity is being executed in the scaling group, this operation can bypass the cooldown time (DefaultCooldown) and be executed immediately.'."\n"
."\n"
.'- If an ECS instance is automatically created by Auto Scaling through automatic creation, or is manually added but has been entrusted to the scaling group, the ECS instance triggers the economy mode or is released when it is deleted from the scaling group.'."\n"
."\n"
.'- If an ECS instance is manually added and has not been entrusted to the scaling group, the ECS instance is not stopped or released when it is deleted from the scaling group.'."\n"
."\n"
.'- If the current number of instances (TotalCapacity) in the scaling group minus the number of instances specified in this operation is less than the minimum number of instances (MinSize) in the scaling group, the invocation is failed.'."\n"
."\n"
.'A successful response only indicates that Auto Scaling accepted the request. The scaling activity can be executed, but a successful response does not guarantee that the scaling activity will succeed. You can check the execution status of the scaling activity based on the returned `ScalingActivityId`.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in the current account.|'."\n"
.'|404|InvalidInstanceId.NotFound|Instance "XXX" does not exist.|The specified ECS instance does not exist in the scaling group.|'."\n"
.'|400|InvalidParameter|The specified group does not support the specified RemovePolicy.|The current scaling group does not support the economy mode revoke policy.|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You have not granted Auto Scaling full API operation permissions.|'."\n"
.'|400|IncorrectScalingGroupStatus|The current status of the specified scaling group does not support this action.|The specified scaling group is not in the Active state.|'."\n"
.'|400|ScalingActivityInProgress|You cannot delete a scaling group or launch a new scaling activity while there is a scaling activity in progress for the specified scaling group.|A scaling activity is in progress in the specified scaling group.|'."\n"
.'|400|IncorrectLoadBalancerStatus|The current status of the specified load balancer does not support this action.|The Server Load Balancer (SLB) instance associated with the scaling group to which the specified scaling rule belongs is not in the Active state.|'."\n"
.'|400|IncorrectDBInstanceStatus|The current status of DB instance "XXX" does not support this action.|The ApsaraDB RDS instance associated with the scaling group to which the specified scaling rule belongs is not in the Running state.|'."\n"
.'|400|IncorrectCapacity.MinSize|To remove the instances, the total capacity will be lesser than the MinSize.|Deleting the ECS instances would cause TotalCapacity to fall below MinSize.|',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RemoveInstances'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DetachInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivityId\\": \\"asa-bp175o6f6ego3r2j****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"IgnoredInstances\\": {\\n \\"IgnoredInstance\\": [\\n {\\n \\"InstanceId\\": \\"\\",\\n \\"Code\\": \\"\\",\\n \\"Message\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'ResumeInstanceRefresh' => [
'summary' => 'Resumes an instance refresh task that is in the paused state.',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '232223',
'abilityTreeNodes' => ['FEATUREessPV8ZVU'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'InstanceRefreshTaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the instance refresh task.', 'type' => 'string', 'required' => false, 'example' => 'ir-a12ds234fasd*****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
],
],
'title' => 'ResumeInstanceRefresh',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ResumeInstanceRefresh',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
],
'ResumeProcesses' => [
'summary' => 'Resumes paused scaling processes in a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92715',
'abilityTreeNodes' => ['FEATUREess4ZDI6R'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp15oubotmrq11xe****', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
."\n"
.'Generate a unique value from your client to ensure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'Process',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The type of scaling process that you want to resume. Valid values of N: 1 to 100. Valid values:'."\n"
."\n"
.'- `ScaleIn`: scale-in process.'."\n"
.'- `ScaleOut`: scale-out process.'."\n"
.'- `HealthCheck`: health check.'."\n"
.'- `AlarmNotification`: event-triggered task.'."\n"
.'- `ScheduledAction`: scheduled task.'."\n"
."\n"
.'>The system supports resuming the preceding five types of scaling processes. If you specify more than these five types, the system automatically removes duplicate types.',
'type' => 'array',
'items' => ['description' => 'The type of scaling process that you want to resume. Valid values of N: 1 to 100. Valid values:'."\n"
."\n"
.'- `ScaleIn`: scale-in process.'."\n"
.'- `ScaleOut`: scale-out process.'."\n"
.'- `HealthCheck`: health check.'."\n"
.'- `AlarmNotification`: event-triggered task.'."\n"
.'- `ScheduledAction`: scheduled task.'."\n"
."\n"
.'>The system supports resuming the preceding five types of scaling processes. If you specify more than these five types, the system automatically removes duplicate types.', 'type' => 'string', 'required' => false, 'example' => 'ScaleIn', 'title' => ''],
'required' => true,
'example' => 'ScaleIn',
'maxItems' => 100,
'title' => '',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E38EB733-D714-4658-8A5F-0688AB68****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E38EB733-D714-4658-8A5F-0688AB68****\\"\\n}","type":"json"}]',
'title' => 'Resume paused scaling processes in a scaling group',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in the current account.|'."\n"
.'|400|InvalidParameter|The specified value of parameter "%s" is not valid.|The specified parameter is invalid.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ResumeProcesses'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ResumeProcesses',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'RollbackInstanceRefresh' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '232220',
'abilityTreeNodes' => ['FEATUREessPV8ZVU'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where the scaling group resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'InstanceRefreshTaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the instance refresh task.', 'type' => 'string', 'required' => false, 'example' => 'ir-a12ds234fasd*****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B13527BF-1FBD-4334-A512-20F5E9D3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
],
],
'title' => 'Roll back an instance refresh task',
'summary' => 'Rolls back an instance refresh task during execution. If the desired configuration no longer meets your requirements during an instance refresh task, you can call this operation to roll back the task. During the rollback, the system creates new instances based on the currently active configuration of the scaling group to replace instances that were created based on the desired configuration.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:RollbackInstanceRefresh',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B13527BF-1FBD-4334-A512-20F5E9D3****\\"\\n}","type":"json"}]',
],
'ScaleWithAdjustment' => [
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92716',
'abilityTreeNodes' => ['FEATUREessSQIS9M'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'asg-j6c1o397427hyjdc****', 'title' => ''],
],
[
'name' => 'AdjustmentType',
'in' => 'query',
'schema' => ['description' => 'The adjustment method of the scaling activity. Valid values:'."\n"
."\n"
.'- QuantityChangeInCapacity: adds or removes a specified number of ECS instances.'."\n"
.'- PercentChangeInCapacity: adds or removes a specified percentage of ECS instances.'."\n"
.'- TotalCapacity: adjusts the number of ECS instances in the current scaling group to a specified value.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'QuantityChangeInCapacity', 'title' => ''],
],
[
'name' => 'AdjustmentValue',
'in' => 'query',
'schema' => ['description' => 'The adjustment value of the scaling activity. The number of ECS instances adjusted in a single scaling activity cannot exceed 1000. Otherwise, the adjustment fails. Valid values for different adjustment methods:'."\n"
.'- QuantityChangeInCapacity: -1000 to 1000.'."\n"
.'- PercentChangeInCapacity: -100 to 10000.'."\n"
.'- TotalCapacity: 0 to 2000.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '2147483647', 'minimum' => '-2147483648', 'isFileTransferUrl' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'MinAdjustmentMagnitude',
'in' => 'query',
'schema' => ['description' => 'The minimum number of instances to adjust in a scaling activity. This parameter takes effect only when `AdjustmentType` is set to `PercentChangeInCapacity`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request and prevent repeated submissions. The value is generated by the client and must be unique across different requests. The value can be up to 64 ASCII characters in length and cannot contain non-ASCII characters.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'SyncActivity',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to synchronously execute the scaling activity. This parameter is valid only for scaling groups that have the expected number of instances configured. Valid values:'."\n"
."\n"
.'- true: synchronous execution. The scaling rule directly triggers the scaling activity of the scaling group.'."\n"
.'- false: asynchronous execution. When the expected number of instances in the scaling group is modified, the scaling activity is not immediately triggered. The system waits until it detects a difference between the expected number of instances and the current number of instances in the scaling group, and then triggers the scaling activity.'."\n"
."\n"
.'> For more information about the expected number of instances, see [Expected number of instances](~~146231~~).'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'Overrides',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The override parameters for scale-out in ECI-type scaling groups.',
'type' => 'object',
'properties' => [
'Cpu' => ['description' => 'The number of vCPUs at the instance level. Unit: cores.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '2', 'title' => ''],
'Memory' => ['description' => 'The memory size at the instance level. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4', 'title' => ''],
'UserData' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'ContainerOverride' => [
'description' => 'The override parameters for the container list.',
'type' => 'array',
'items' => [
'description' => 'The override parameters for the container list.',
'type' => 'object',
'properties' => [
'Command' => [
'description' => 'The container startup commands. A maximum of 20 commands are supported. Each command can contain up to 256 characters.',
'type' => 'array',
'items' => ['description' => 'The container startup commands. A maximum of 20 commands are supported. Each command can contain up to 256 characters.', 'type' => 'string', 'required' => false, 'example' => 'sleep', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'Memory' => ['description' => 'The memory size of the container. Unit: GiB.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4', 'title' => ''],
'Arg' => [
'description' => 'The arguments for the container startup commands. A maximum of 10 arguments are supported.',
'type' => 'array',
'items' => ['description' => 'The arguments for the container startup commands. A maximum of 10 arguments are supported.', 'type' => 'string', 'required' => false, 'example' => 'arg', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'Cpu' => ['description' => 'The number of vCPUs of the container. Unit: cores.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '2', 'title' => ''],
'EnvironmentVar' => [
'description' => 'The list of environment variable information.',
'type' => 'array',
'items' => [
'description' => 'The list of environment variable information.',
'type' => 'object',
'properties' => [
'Value' => ['description' => 'The value of the environment variable. The value can be 0 to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => '/usr/local/tomcat', 'title' => ''],
'Key' => ['description' => 'The name of the environment variable. The name must be 1 to 128 characters in length. The name must match the format `[0-9a-zA-Z]` and can contain underscores (_). It cannot start with a digit.', 'type' => 'string', 'required' => false, 'example' => 'PATH', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
'Name' => ['description' => 'The container name. If you want to override container parameters, you must specify the container name. The container parameters can be overridden only when the container name matches the container name in the scaling configuration.', 'type' => 'string', 'required' => false, 'example' => 'container-1', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'LifecycleHookContext',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The context information of the lifecycle hook.',
'type' => 'object',
'properties' => [
'DisableLifecycleHook' => ['description' => 'Specifies whether to disable all lifecycle hook features for the scaling activity. Valid values:'."\n"
."\n"
.'- true: disabled.'."\n"
.'- false: not disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'IgnoredLifecycleHookIds' => [
'description' => 'The list of lifecycle hook IDs to be disabled for the scaling activity.',
'type' => 'array',
'items' => ['description' => 'The list of lifecycle hook IDs to be disabled for the scaling activity.', 'type' => 'string', 'required' => false, 'example' => 'ash-bp14zolna43z266bq***', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'LifecycleHookResult' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'ActivityMetadata',
'in' => 'query',
'schema' => ['description' => 'The metadata of the scaling activity.', 'type' => 'string', 'required' => false, 'example' => '{"key":"value"}', 'title' => ''],
],
[
'name' => 'ExecutionMode',
'in' => 'query',
'schema' => ['description' => 'The execution mode. Valid values:'."\n"
."\n"
.'- None: not specified. Normal scaling is performed.'."\n"
.'- PlanOnly: scaling is not triggered. Only elastic planning is performed, and the planning results are returned in PlanResult, including instance type, zone ID, billing method, and the number of instances to be created.'."\n"
."\n"
.'Default value: None.', 'type' => 'string', 'required' => false, 'example' => 'PlanOnly', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response parameters for triggering elastic scaling based on a specified adjustment rule.',
'type' => 'object',
'properties' => [
'ScalingActivityId' => ['description' => 'The ID of the scaling activity.', 'type' => 'string', 'example' => 'asa-bp175o6f6ego3r2j****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'ActivityType' => ['description' => 'The type of the scaling activity.'."\n"
."\n"
.'If `ActivityType` is set to `CapacityChange`, the scaling activity corresponding to the returned `ScalingActivityId` only modifies the expected number of instances in the scaling group without immediately performing scaling.'."\n"
."\n"
.'Applicable scope: scaling groups with the expected number of instances configured.', 'type' => 'string', 'example' => 'CapacityChange', 'title' => ''],
'PlanResult' => [
'description' => 'The elastic planning results returned when ExecutionMode is set to PlanOnly.',
'type' => 'object',
'properties' => [
'ResourceAllocations' => [
'description' => 'The resource allocation information in the elastic planning results.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-beijing-g', 'title' => ''],
'InstanceType' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'ecs.u1-c1m8.large', 'title' => ''],
'SpotStrategy' => ['description' => 'The preemption policy of the instance. Valid values:'."\n"
."\n"
.'- NoSpot: a pay-as-you-go instance.'."\n"
.'- SpotWithPriceLimit: a spot instance with a maximum price limit.'."\n"
.'- SpotAsPriceGo: a spot instance priced at the market price at the time of purchase.', 'type' => 'string', 'example' => 'NoSpot', 'title' => ''],
'Amount' => ['description' => 'The number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'InstanceChargeType' => ['description' => 'The billing method. Valid values:'."\n"
."\n"
.'- Prepaid: subscription.'."\n"
.'- Postpaid: pay-as-you-go.', 'type' => 'string', 'example' => 'Postpaid', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'Forbidden.Forbidden', 'errorMessage' => 'Operation Forbidden', 'description' => ''],
],
],
'title' => 'Trigger elastic scaling based on a specified adjustment rule',
'summary' => 'Triggers elastic scaling based on a specified adjustment rule.',
'description' => '## Operation description'."\n"
."\n"
.'- Before you call this operation, make sure that the following conditions are met:'."\n"
.' - The scaling group is in the Active state.'."\n"
.' - No scaling activity is in progress in the scaling group.'."\n"
."\n"
.'- If no scaling activity is in progress in the scaling group, this operation can bypass the cooldown time and directly trigger a scaling activity.'."\n"
.'- If the number of ECS instances to be added based on the scaling rule plus the current number of instances in the scaling group (Total Capacity) is greater than the maximum number of instances (MaxSize), the scaling activity is performed with Total Capacity set to MaxSize.'."\n"
.'- If the current number of instances in the scaling group (Total Capacity) minus the number of ECS instances to be removed based on the scaling rule is less than the minimum number of instances (MinSize), the scaling activity is performed with Total Capacity set to MinSize.'."\n"
."\n"
.'A successful response only indicates that Auto Scaling has accepted the request and can perform the scaling activity. It does not mean that the scaling activity will succeed. You can check the execution status of the scaling activity based on the returned `ScalingActivityId`.',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You have not fully authorized Auto Scaling to call API operations.|'."\n"
.'|400|IncorrectScalingGroupStatus|The current status of the specified scaling group does not support this action.|The scaling group to which the specified scaling rule belongs is not in the Active state.|'."\n"
.'|400|ScalingActivityInProgress|You cannot delete a scaling group or launch a new scaling activity while there is a scaling activity in progress for the specified scaling group.|A scaling activity is in progress in the scaling group to which the specified scaling rule belongs.|'."\n"
.'|400|InsufficientBalance|Your account does not have enough balance.|The account balance is insufficient.|'."\n"
.'|400|QuotaExceed.Instance|Living instance quota exceeded.|The number of ECS instances has reached the upper limit.|'."\n"
.'|400|IncorrectLoadBalancerStatus|The current status of the specified load balancer does not support this action.|The Server Load Balancer (SLB) instance associated with the scaling group to which the specified scaling rule belongs is not in the Active state.|'."\n"
.'|400|IncorrectLoadBalancerHealthCheck|The current health check type of specified load balancer does not support this action.|Health check is not enabled for the SLB instance associated with the scaling group to which the specified scaling rule belongs.|'."\n"
.'|400|InvalidLoadBalancerId.IncorrectInstanceNetworkType|The network type of the instance in specified load balancer does not support this action.|The network type of the ECS instances in the specified SLB instance does not match the network type of the scaling group.|'."\n"
.'|400|InvalidLoadBalancerId.VPCMismatch|The specified virtual switch and the instance in specified load balancer are not in the same VPC.|The ECS instances in the SLB instance associated with the scaling group and the specified vSwitch are not in the same VPC.|'."\n"
.'|400|IncorrectDBInstanceStatus|The current status of DB instance "XXX" does not support this action.|The ApsaraDB RDS instance associated with the scaling group to which the specified scaling rule belongs is not in the Running state.|'."\n"
.'|400|QuotaExceeded.DBInstanceSecurityIP|Security IP quota exceeded in DB instance "XXX".|The number of IP addresses in the whitelist of the ApsaraDB RDS instance associated with the scaling group to which the specified scaling rule belongs has reached the upper limit.|'."\n"
.'|400|QuotaExceeded.SecurityGroupInstance|Instance quota exceeded in the specified security group.|The number of ECS instances added to the specified security group has reached the upper limit.|'."\n"
.'|400|IncorrectCapacity.NoChange|To execute the specified scaling rule, the total capacity will not change.|The scaling rule does not cause a change in the number of instances in the scaling group.|'."\n"
.'|400|QuotaExceeded.ScalingInstance|Scaling instance quota exceeded.|The number of ECS instances used by Auto Scaling has reached the upper limit.|'."\n"
.'|400|QuotaExceeded.AfterpayInstance|Living afterpay instance quota exceeded.|The number of pay-as-you-go ECS instances has reached the upper limit.|'."\n"
.'|400|ResourceNotAvailable.ECS|The specified region or zone does not offer the specified disk or instance category.|The specified ECS instance type or disk type cannot be created in the specified region.|'."\n"
.'|400|ScalingRule.InvalidScalingRuleType|Specific scaling rule type: %s can not be executed.|The scaling rule of the current type cannot be executed.|'."\n"
.'|400|InvalidStepAdjustments.NoStepFound|No adjustment step found for a metric value of: %s.|No step that meets the conditions is found for the step scaling rule.|'."\n"
.'|400|MissingParameter.MetricValue|Metric value must be specified for StepScalingRule.|A metric value must be specified to execute a step scaling rule.|'."\n"
.'|400|MissingParameter.BreachThreshold|Breach threshold must be specified for StepScalingRule.|A breach threshold must be specified to execute a step scaling rule.|'."\n"
.'|400|BreachThresholdBeyondPermitRange|Specific parameter "%s" beyond permit range.|The threshold exceeds the permitted range.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ScaleWithAdjustment'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ScaleWithAdjustment',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#scalinggroupId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivityId\\": \\"asa-bp175o6f6ego3r2j****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"ActivityType\\": \\"CapacityChange\\",\\n \\"PlanResult\\": {\\n \\"ResourceAllocations\\": [\\n {\\n \\"ZoneId\\": \\"cn-beijing-g\\",\\n \\"InstanceType\\": \\"ecs.u1-c1m8.large\\",\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"Amount\\": 1,\\n \\"InstanceChargeType\\": \\"Postpaid\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'SetGroupDeletionProtection' => [
'summary' => 'Enables or disables deletion protection for a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92717',
'abilityTreeNodes' => ['FEATUREessF87COY'],
],
'parameters' => [
[
'name' => 'GroupDeletionProtection',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable deletion protection for the scaling group. Valid values:'."\n"
."\n"
.'- true: Enables deletion protection. After deletion protection is enabled, the scaling group cannot be deleted in the console or by calling an API operation. To delete the scaling group, disable deletion protection first.'."\n"
.'- false: Disables deletion protection.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => true, 'example' => 'true', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp1igpak5ft1flyp****', 'title' => ''],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CCC29E24-3AEC-4F2C-8A14-78B14FA7****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CCC29E24-3AEC-4F2C-8A14-78B14FA7****\\"\\n}","type":"json"}]',
'title' => 'Enable or disable deletion protection for a scaling group',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' |HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist.|'."\n"
.'|400|InvalidOperation.Conflict|Specific operation may conflicts with other operations, please retry later.|The operation conflicts with another operation. Try again later.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:SetGroupDeletionProtection',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SetGroupDeletionProtection'],
],
],
],
'SetInstanceHealth' => [
'summary' => 'Sets the health status of an ECS instance in a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92718',
'abilityTreeNodes' => ['FEATUREessBFHJ1B'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => 'The ID of the instance in the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'i-bp1ap6bro51a7fsa****', 'title' => ''],
],
[
'name' => 'HealthStatus',
'in' => 'query',
'schema' => ['description' => 'The health status that you want to set for the instance. Valid values:'."\n"
."\n"
.'- Healthy: sets the instance to the healthy state.'."\n"
.'- Unhealthy: sets the instance to the unhealthy state.', 'type' => 'string', 'required' => true, 'example' => 'Healthy', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B755AE57-6093-43E4-938E-DEA422A9****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B755AE57-6093-43E4-938E-DEA422A9****\\"\\n}","type":"json"}]',
'title' => 'Set the health status of an ECS instance in a scaling group',
'description' => '## Operation description'."\n"
."\n"
.'The scaling group detects and removes instances that are in an unhealthy state, including ECS instances and elastic container instances. If you want to retain specific ECS instances or elastic container instances, put them in the standby or protection status. For more information, see [EnterStandby](~~69678~~) and [SetInstancesProtection](~~71517~~).',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|400|InvalidInstanceId.NotFound|Instance "%s" does not exist.|The specified instance does not exist in the scaling group.|'."\n"
.'|400|InvalidParameter|The specified value of parameter "%s" is not valid.|The specified parameter is invalid.|.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:SetInstanceHealth',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SetInstanceHealth'],
],
],
],
'SetInstancesProtection' => [
'summary' => 'Starts or stops protection for one or more ECS instances in a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92719',
'abilityTreeNodes' => ['FEATUREessBFHJ1B'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'ProtectedFromScaleIn',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to protect ECS instances from being terminated or removed from the scaling group during a scale-in activity. Valid values: '."\n"
."\n"
.'- true: Protects the ECS instances.'."\n"
.'- false: Does not protect the ECS instances.', 'type' => 'boolean', 'required' => true, 'example' => 'true', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The ID of the ECS instance.',
'type' => 'array',
'items' => ['description' => 'The ID of the ECS instance. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'i-28wt4****', 'title' => ''],
'required' => true,
'example' => 'i-28wt4****',
'maxItems' => 20,
'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Start or stop protection for ECS instances in a scaling group',
'description' => '## Operation description'."\n"
."\n"
.'After the protection status is enabled for an ECS instance:'."\n"
."\n"
.'- The instance remains in this state until you stop the protection status.'."\n"
."\n"
.'- Even if the number of instances in the scaling group changes or a monitoring node triggers a scale-in scaling activity, ECS instances in the protection status are not removed. You must remove the ECS instances before you can release them. For more information, see [Remove ECS instances](~~25955~~).'."\n"
."\n"
.'- The health check status of an ECS instance is not updated when the instance is stopped or restarted.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description'."\n"
.'|-----|-----|-----|'."\n"
.'|400|IncorrectScalingGroupStatus|The current status of the specified scaling group does not support this action.|Enable the scaling group.|'."\n"
.'|403|Forbidden.Unauthorized|A required authorization for the specified action is not supplied.|You are not authorized to use the SetInstancesProtection operation.|'."\n"
.'|404|InvalidInstanceId.NotFound|Instance "XXX" does not exist.|The specified ECS instance does not exist.|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:SetInstancesProtection',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SetInstancesProtection'],
],
],
],
'StartInstanceRefresh' => [
'summary' => 'Starts an instance refresh task in a scaling group to apply a new scaling configuration or update the image of instances in the scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '232212',
'abilityTreeNodes' => ['FEATUREessPV8ZVU'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'MinHealthyPercentage',
'in' => 'query',
'schema' => ['description' => 'The minimum percentage of instances that must remain in service in the scaling group during the instance refresh. Valid values: 0 to 100. Default value: 80.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''],
],
[
'name' => 'MaxHealthyPercentage',
'in' => 'query',
'schema' => ['description' => 'The maximum percentage by which the number of instances in the scaling group can exceed the scaling group capacity during the instance refresh. Valid values: 100 to 200. Default value: 120.'."\n"
."\n"
.'> If you set both MinHealthyPercentage and MaxHealthyPercentage to 100, one instance is refreshed at a time.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'DesiredConfiguration',
'in' => 'query',
'style' => 'flat',
'schema' => [
'description' => 'The desired configuration for the instance refresh.'."\n"
."\n"
.'> - You cannot specify ScalingConfigurationId, ImageId, LaunchTemplateId, and Containers at the same time. You must specify one of them.'."\n"
.'- The refresh task skips instances in the scaling group that already match the desired configuration.',
'type' => 'object',
'properties' => [
'ImageId' => ['description' => 'The image ID.'."\n"
."\n"
.'> - After the instance refresh task is completed, the image configuration in the active configuration of the scaling group is updated to this image.'."\n"
.'- This parameter is not supported if the instance configuration source of the scaling group is a launch template.'."\n"
.'- Images that contain data cloud disks are not supported.', 'type' => 'string', 'required' => false, 'example' => 'm-2ze8cqacj7opnf***', 'title' => ''],
'ScalingConfigurationId' => ['description' => 'The ID of the scaling configuration.'."\n"
."\n"
.'> After the instance refresh task is completed, the active scaling configuration of the scaling group is updated to this configuration.', 'type' => 'string', 'required' => false, 'example' => 'asc-2zed7lqn4ts4****', 'title' => ''],
'LaunchTemplateId' => ['description' => 'The ID of the launch template from which the scaling group obtains launch configuration information.', 'type' => 'string', 'required' => false, 'example' => 'lt-2ze2qli30u***', 'title' => ''],
'LaunchTemplateVersion' => ['description' => 'The version of the launch template. Valid values:'."\n"
."\n"
.'- A fixed template version number.'."\n"
.'- Default: always uses the default template version.'."\n"
.'- Latest: always uses the latest template version.'."\n"
."\n"
.'> If the version is set to Default or Latest, the instance refresh task does not support rollback.', 'type' => 'string', 'required' => false, 'example' => '8', 'title' => ''],
'LaunchTemplateOverrides' => [
'description' => 'The instance type information that extends the launch template.',
'type' => 'array',
'items' => [
'description' => 'The instance type information that extends the launch template.',
'type' => 'object',
'properties' => [
'InstanceType' => ['description' => 'The instance type that overrides the instance type specified in the launch template.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g7.2xlarge', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
'Containers' => [
'description' => 'The list of containers included in the instance.',
'type' => 'array',
'items' => [
'description' => 'The list of containers included in the instance.',
'type' => 'object',
'properties' => [
'Name' => ['description' => 'The custom container name.', 'type' => 'string', 'required' => false, 'example' => 'nginx', 'title' => ''],
'Image' => ['description' => 'The container image.', 'type' => 'string', 'required' => false, 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:latest', 'title' => ''],
'Commands' => [
'description' => 'The container startup commands. A maximum of 20 commands are supported. Each command can contain up to 256 characters.',
'type' => 'array',
'items' => ['description' => 'The container startup command. The command can contain up to 256 characters.', 'type' => 'string', 'required' => false, 'example' => 'sleep', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'Args' => [
'description' => 'The arguments for the container startup command. A maximum of 10 arguments are supported.',
'type' => 'array',
'items' => ['description' => 'The argument for the container startup command.', 'type' => 'string', 'required' => false, 'example' => '100', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'EnvironmentVars' => [
'description' => 'The environment variable information.',
'type' => 'array',
'items' => [
'description' => 'The environment variable information.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The environment variable name. The name must be 1 to 128 characters in length. The name can contain digits, letters, and underscores (\\_) and cannot start with a digit. Format: \\[0-9a-zA-Z\\].', 'type' => 'string', 'required' => false, 'example' => 'PATH', 'title' => ''],
'Value' => ['description' => 'The environment variable value. The value can be 0 to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => '/usr/local/bin', 'title' => ''],
'FieldRefFieldPath' => ['description' => '> This parameter is not available for use.', 'type' => 'string', 'required' => false, 'example' => 'fieldPath', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'SkipMatching',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to skip instances that match the desired configuration.'."\n"
."\n"
.'> The system determines whether an instance matches based on the ID of the desired scaling configuration, not by comparing specific configuration items.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'- true: Instances that were already created with the desired configuration are skipped.'."\n"
.'- false: All instances in the scaling group are refreshed when the instance refresh task starts.'."\n"
."\n"
.'Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'Checkpoints',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The checkpoints for the refresh task. When the percentage of new instances reaches the specified value, the task is automatically paused for the duration specified by CheckpointPauseTime.',
'type' => 'array',
'items' => [
'description' => 'The checkpoints for the refresh task. When the percentage of new instances reaches the specified value, the task is automatically paused for the duration specified by CheckpointPauseTime.',
'type' => 'object',
'properties' => [
'Percentage' => ['description' => 'The percentage of new instances to total instances in the scaling group at which the task is automatically paused. Valid values: 1 to 100 (%).'."\n"
."\n"
.'> The values must be specified in ascending order, and the last percentage value must be 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 100,
'title' => '',
'example' => '',
],
],
[
'name' => 'CheckpointPauseTime',
'in' => 'query',
'schema' => ['description' => 'The duration for which the task is paused when a checkpoint is reached.'."\n"
.'- Unit: minutes.'."\n"
.'- Valid values: 1 to 2880.'."\n"
.'- Default value: 60.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'Strategy',
'in' => 'query',
'schema' => ['description' => 'The execution strategy for the instance refresh task. Valid values:'."\n"
."\n"
.'* Rolling: refreshes instances by creating new instances and releasing old instances.'."\n"
.'* ReplaceSystemDisk: updates the system cloud disk of existing instances by specifying DesiredConfiguration.image.'."\n"
."\n"
.'Default value: Rolling.', 'type' => 'string', 'required' => false, 'example' => 'Rolling', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
'InstanceRefreshTaskId' => ['description' => 'The ID of the instance refresh task.', 'type' => 'string', 'example' => 'ir-a12ds234fasd*****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"InstanceRefreshTaskId\\": \\"ir-a12ds234fasd*****\\"\\n}","type":"json"}]',
'title' => 'StartInstanceRefresh',
'description' => '## Operation description'."\n"
.'- A scaling group can have only one instance refresh task running at a time.'."\n"
.'- This feature supports only ECS scaling groups whose scale-out policy is set to **Priority Policy**. Scaling groups that use **vCPU-based capacity calculation** and scaling groups whose instance recycle pattern is set to **Shutdown and Reclaim Mode** or **Forced Shutdown and Reclaim Mode** do not support this feature.'."\n"
.'- During an instance refresh, normal scale-out and scale-in operations can be performed. However, scale-out operations use the desired configuration of the instance refresh task.'."\n"
.'- Instances that are manually added to the scaling group, instances in the standby state, and instances in the protection status are ignored by the instance refresh task and do not participate in the instance refresh.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:StartInstanceRefresh',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'SuspendInstanceRefresh' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '232222',
'abilityTreeNodes' => ['FEATUREessPV8ZVU'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The scaling group ID.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp18p2yfxow2dloq****', 'title' => ''],
],
[
'name' => 'InstanceRefreshTaskId',
'in' => 'query',
'schema' => ['description' => 'The instance refresh task ID.', 'type' => 'string', 'required' => false, 'example' => 'ir-a12ds234fasd*****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
],
],
'title' => 'SuspendInstanceRefresh',
'summary' => 'Pauses an instance refresh task during execution. If you suspect that the configuration has issues but are not sure whether a rollback is needed, you can call this operation to pause the instance refresh task and check whether the configuration is correct.',
'description' => '## Operation description'."\n"
.'This operation is not supported for instance refresh tasks that are in the rollback phase.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:SuspendInstanceRefresh',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
],
'SuspendProcesses' => [
'summary' => 'Suspends specified scaling processes in a scaling group.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92720',
'abilityTreeNodes' => ['FEATUREess4ZDI6R'],
],
'parameters' => [
[
'name' => 'ScalingGroupId',
'in' => 'query',
'schema' => ['description' => 'The ID of the scaling group.', 'type' => 'string', 'required' => true, 'example' => 'asg-bp15oubotmrq11xe****', 'title' => ''],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => 'The client token that is used to ensure the idempotency of the request.'."\n"
.'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotency](~~25965~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-42665544****', 'title' => ''],
],
[
'name' => 'Process',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The type of scaling process to suspend. Valid values of N: 1 to 100. Valid values:'."\n"
.'- ScaleIn: scale-in process.'."\n"
.'- ScaleOut: scale-out process.'."\n"
.'- HealthCheck: health check.'."\n"
.'- AlarmNotification: event-triggered task.'."\n"
.'- ScheduledAction: scheduled task.'."\n"
."\n"
.'The system supports suspending the preceding five types of scaling processes. If you specify more than these five types, the system automatically removes duplicate types.',
'type' => 'array',
'items' => ['description' => 'The type of scaling process to suspend. Valid values of N: 1 to 100. Valid values:'."\n"
."\n"
.'- ScaleIn: scale-in process.'."\n"
.'- ScaleOut: scale-out process.'."\n"
.'- HealthCheck: health check.'."\n"
.'- AlarmNotification: event-triggered task.'."\n"
.'- ScheduledAction: scheduled task.'."\n"
."\n"
.'The system supports suspending five types of scaling processes. If you specify more than these five types, the system automatically removes duplicate types.', 'type' => 'string', 'required' => false, 'example' => 'ScaleIn', 'title' => ''],
'required' => true,
'example' => 'ScaleIn',
'maxItems' => 100,
'title' => '',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the scaling group.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '3E2033F0-03B4-419D-BCE2-C2339DB5****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3E2033F0-03B4-419D-BCE2-C2339DB5****\\"\\n}","type":"json"}]',
'title' => 'Suspend specified scaling processes in a scaling group',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => '|HttpCode|Error code|Error message|Description|'."\n"
.'|-----|-----|-----|-----|'."\n"
.'|404|InvalidScalingGroupId.NotFound|The specified scaling group does not exist.|The specified scaling group does not exist in the current account.|'."\n"
.'|400|InvalidParameter|The specified value of parameter "%s" is not valid.|The specified parameter is invalid.|.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SuspendProcesses'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:SuspendProcesses',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'TagResources' => [
'summary' => 'Creates and binds tags to a specified list of Auto Scaling resources.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92721',
'abilityTreeNodes' => ['FEATUREessXN6KX4'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the resource. You can call [DescribeRegions](~~25609~~) to view the latest list of Alibaba Cloud regions.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => 'The resource type. Currently, only scaling groups are supported. Set the value to scalinggroup.', 'type' => 'string', 'required' => true, 'example' => 'scalinggroup', 'title' => ''],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The resource ID. Valid values of N: 1 to 50.',
'type' => 'array',
'items' => ['description' => 'The resource ID. Valid values of N: 1 to 50.', 'type' => 'string', 'required' => false, 'example' => 'asg-2zej7nf7hea77k5a****', 'title' => ''],
'required' => true,
'example' => 'asg-bp17xb4x1vr29lgt****',
'maxItems' => 51,
'title' => '',
],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The tag information of the resource.',
'type' => 'array',
'items' => [
'description' => 'The tag information of the resource.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key of the resource. Valid values of N: 1 to 20.'."\n"
."\n"
.'Once specified, the tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with `aliyun` or `acs:`, or contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''],
'Value' => ['description' => 'The tag value of the resource. Valid values of N: 1 to 20.'."\n"
."\n"
.'The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''],
'Propagate' => ['description' => 'Specifies whether the tag is a propagated tag. Valid values:'."\n"
."\n"
.'- true: The tags on the scaling group are propagated only to instances that are about to be created, and are not propagated to instances that are already running in the scaling group.'."\n"
.'- false: The tags on the scaling group are not propagated to instances.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'maxItems' => 21,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '74C4E313-8570-479F-8791-DC25360D****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"74C4E313-8570-479F-8791-DC25360D****\\"\\n}","type":"json"}]',
'title' => 'TagResources',
'description' => '## Description'."\n"
."\n"
.'- A scaling group supports binding up to 20 tags.'."\n"
.' >Before binding tags, Alibaba Cloud verifies the number of existing tags on the resource. If the limit is exceeded, an error message is returned.'."\n"
."\n"
.'- If the `Tag.N.Propagate` parameter is set to `true`, the tags set on the scaling group are only propagated to instances that are about to be created in the scaling group, and are not propagated to instances that are already running in the scaling group.'."\n"
."\n"
.'- If tags are configured in the scaling configuration and the tags set on the scaling group are propagated, the tags on the instances that are about to be created are expected as follows:'."\n"
.' - The instances contain all tags from both the scaling configuration and the propagated tags from the scaling group.'."\n"
.' - If a tag in the scaling configuration has the same tag key as a propagated tag from the scaling group, the propagated tag from the scaling group is overridden by the tag in the scaling configuration.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:TagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'UntagResources' => [
'summary' => 'After a tag is unbound, the tag is automatically deleted if it is not bound to any other resources.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '92722',
'abilityTreeNodes' => ['FEATUREessXN6KX4'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID of the resource. You can call [DescribeRegions](~~25609~~) to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => 'The type of the resource. Only scaling groups are supported. Set the value to scalinggroup.', 'type' => 'string', 'required' => true, 'example' => 'scalinggroup', 'title' => ''],
],
[
'name' => 'All',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to unbind all tags from the resource. This parameter takes effect only if TagKey.N is not set in the request. Valid values:'."\n"
."\n"
.'- true: All tags are unbound from the resource.'."\n"
.'- false: Not all tags are unbound from the resource.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The resource ID. Valid values of N: 1 to 50.',
'type' => 'array',
'items' => ['description' => 'The resource ID. Valid values of N: 1 to 50.', 'type' => 'string', 'required' => false, 'example' => 'asg-bp17xb4x1vr29lgt****', 'title' => ''],
'required' => true,
'example' => 'asg-bp17xb4x1vr29lgt****',
'maxItems' => 51,
'title' => '',
],
],
[
'name' => 'TagKey',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The tag key of the resource. Valid values of N: 1 to 20.',
'type' => 'array',
'items' => ['description' => 'The tag key of the resource. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''],
'required' => false,
'example' => 'TestKey',
'maxItems' => 21,
'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '3AEBB1B9-5B13-4311-951F-C3C7FA2B****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3AEBB1B9-5B13-4311-951F-C3C7FA2B****\\"\\n}","type":"json"}]',
'title' => 'Unbind tags from specified Auto Scaling resources',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UntagResources'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:UntagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
],
'VerifyAuthentication' => [
'summary' => 'Checks whether Auto Scaling is authorized to operate on ECS resources.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '92723',
'abilityTreeNodes' => ['FEATUREessZ1KWHS'],
],
'parameters' => [
[
'name' => 'Uid',
'in' => 'query',
'schema' => ['description' => 'The ID of your Alibaba Cloud account.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '123456781234****', 'title' => ''],
],
[
'name' => 'OnlyCheck',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to only check the authorization status. Valid values:'."\n"
."\n"
.'- true: Only checks the authorization status without creating a service-linked role.'."\n"
.'- false: Checks the authorization status. If Auto Scaling is not authorized to operate on ECS or Elastic Container Instance (ECI) resources, a service-linked role is associated through automatic creation.'."\n"
."\n"
.'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'UserNotAuthorizeEss', 'errorMessage' => 'Ess should be authorized in ram to operate user ecs resource.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\"\\n}","type":"json"}]',
'title' => 'Check whether Auto Scaling is authorized to operate on ECS resources',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeRegions',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'VerifyAuthentication'],
],
],
],
'VerifyUser' => [
'summary' => 'Verifies whether Auto Scaling is activated.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '92724',
'abilityTreeNodes' => ['FEATUREessZ1KWHS'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where you want to use Auto Scaling.'."\n"
."\n"
.'Examples: `ap-southeast-1` and `ap-southeast-5`. For more information, see [Regions and zones](~~40654~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'title' => 'Verify whether Auto Scaling is activated',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'VerifyUser'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeRegions',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
],
],
'endpoints' => [
['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.ap-northeast-1.aliyuncs.com', 'endpoint' => 'ess.ap-northeast-1.aliyuncs.com', 'vpc' => 'ess-vpc.ap-northeast-1.aliyuncs.com'],
['regionId' => 'ap-northeast-2', 'regionName' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.ap-northeast-2.aliyuncs.com', 'endpoint' => 'ess.ap-northeast-2.aliyuncs.com', 'vpc' => 'ess-vpc.ap-northeast-2.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.ap-southeast-1.aliyuncs.com', 'endpoint' => 'ess.ap-southeast-1.aliyuncs.com', 'vpc' => 'ess-vpc.ap-southeast-1.aliyuncs.com'],
['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.ap-southeast-2.aliyuncs.com', 'endpoint' => 'ess.ap-southeast-2.aliyuncs.com', 'vpc' => 'ess-vpc.ap-southeast-2.aliyuncs.com'],
['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.ap-southeast-3.aliyuncs.com', 'endpoint' => 'ess.ap-southeast-3.aliyuncs.com', 'vpc' => 'ess-vpc.ap-southeast-3.aliyuncs.com'],
['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.ap-southeast-5.aliyuncs.com', 'endpoint' => 'ess.ap-southeast-5.aliyuncs.com', 'vpc' => 'ess-vpc.ap-southeast-5.aliyuncs.com'],
['regionId' => 'ap-southeast-6', 'regionName' => 'Philippines (Manila)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.ap-southeast-6.aliyuncs.com', 'endpoint' => 'ess.ap-southeast-6.aliyuncs.com', 'vpc' => 'ess-vpc.ap-southeast-6.aliyuncs.com'],
['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.ap-southeast-7.aliyuncs.com', 'endpoint' => 'ess.ap-southeast-7.aliyuncs.com', 'vpc' => 'ess-vpc.ap-southeast-7.aliyuncs.com'],
['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.aliyuncs.com', 'endpoint' => 'ess.aliyuncs.com', 'vpc' => 'ess-vpc.cn-beijing.aliyuncs.com'],
['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.cn-chengdu.aliyuncs.com', 'endpoint' => 'ess.cn-chengdu.aliyuncs.com', 'vpc' => 'ess-vpc.cn-chengdu.aliyuncs.com'],
['regionId' => 'cn-fuzhou', 'regionName' => 'China (Fuzhou - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.cn-fuzhou.aliyuncs.com', 'endpoint' => 'ess.cn-fuzhou.aliyuncs.com', 'vpc' => 'ess-vpc.cn-fuzhou.aliyuncs.com'],
['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.cn-guangzhou.aliyuncs.com', 'endpoint' => 'ess.cn-guangzhou.aliyuncs.com', 'vpc' => 'ess-vpc.cn-guangzhou.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.aliyuncs.com', 'endpoint' => 'ess.aliyuncs.com', 'vpc' => 'ess-vpc.cn-hangzhou.aliyuncs.com'],
['regionId' => 'cn-heyuan', 'regionName' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.cn-heyuan.aliyuncs.com', 'endpoint' => 'ess.cn-heyuan.aliyuncs.com', 'vpc' => 'ess-vpc.cn-heyuan.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.cn-hongkong.aliyuncs.com', 'endpoint' => 'ess.cn-hongkong.aliyuncs.com', 'vpc' => 'ess-vpc.cn-hongkong.aliyuncs.com'],
['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.cn-huhehaote.aliyuncs.com', 'endpoint' => 'ess.cn-huhehaote.aliyuncs.com', 'vpc' => 'ess-vpc.cn-huhehaote.aliyuncs.com'],
['regionId' => 'cn-nanjing', 'regionName' => 'China (Nanjing - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.aliyuncs.com', 'endpoint' => 'ess.aliyuncs.com', 'vpc' => 'ess-vpc.cn-nanjing.aliyuncs.com'],
['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.aliyuncs.com', 'endpoint' => 'ess.aliyuncs.com', 'vpc' => 'ess-vpc.cn-qingdao.aliyuncs.com'],
['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.aliyuncs.com', 'endpoint' => 'ess.aliyuncs.com', 'vpc' => 'ess-vpc.cn-shanghai.aliyuncs.com'],
['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.aliyuncs.com', 'endpoint' => 'ess.aliyuncs.com', 'vpc' => 'ess-vpc.cn-shenzhen.aliyuncs.com'],
['regionId' => 'cn-wuhan-lr', 'regionName' => 'China (Wuhan - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.cn-wuhan-lr.aliyuncs.com', 'endpoint' => 'ess.cn-wuhan-lr.aliyuncs.com', 'vpc' => 'ess-vpc.cn-wuhan-lr.aliyuncs.com'],
['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'ess.cn-wulanchabu.aliyuncs.com', 'vpc' => 'ess-vpc.cn-wulanchabu.aliyuncs.com'],
['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'ess.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'ess-vpc.cn-zhangjiakou.aliyuncs.com'],
['regionId' => 'cn-zhengzhou-jva', 'regionName' => 'Zhengzhou (China Unicom Joint Venture)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.cn-zhengzhou-jva.aliyuncs.com', 'endpoint' => 'ess.cn-zhengzhou-jva.aliyuncs.com', 'vpc' => 'ess-vpc.cn-zhengzhou-jva.aliyuncs.com'],
['regionId' => 'cn-zhongwei', 'regionName' => 'China (Zhongwei)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ess.cn-zhongwei.aliyuncs.com', 'endpoint' => 'ess.cn-zhongwei.aliyuncs.com', 'vpc' => 'ess-vpc.cn-zhongwei.aliyuncs.com'],
['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'ess.us-west-1.aliyuncs.com', 'endpoint' => 'ess.us-west-1.aliyuncs.com', 'vpc' => 'ess-vpc.us-west-1.aliyuncs.com'],
['regionId' => 'us-southeast-1', 'regionName' => 'US(Atlanta)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'ess.us-southeast-1.aliyuncs.com', 'endpoint' => 'ess.us-southeast-1.aliyuncs.com', 'vpc' => 'ess-vpc.us-southeast-1.aliyuncs.com'],
['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'ess.us-east-1.aliyuncs.com', 'endpoint' => 'ess.us-east-1.aliyuncs.com', 'vpc' => 'ess-vpc.us-east-1.aliyuncs.com'],
['regionId' => 'na-south-1', 'regionName' => 'Mexico', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'ess.na-south-1.aliyuncs.com', 'endpoint' => 'ess.na-south-1.aliyuncs.com', 'vpc' => 'ess-vpc.na-south-1.aliyuncs.com'],
['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'ess.eu-west-1.aliyuncs.com', 'endpoint' => 'ess.eu-west-1.aliyuncs.com', 'vpc' => 'ess-vpc.eu-west-1.aliyuncs.com'],
['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'ess.eu-central-1.aliyuncs.com', 'endpoint' => 'ess.eu-central-1.aliyuncs.com', 'vpc' => 'ess-vpc.eu-central-1.aliyuncs.com'],
['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'ess.me-east-1.aliyuncs.com', 'endpoint' => 'ess.me-east-1.aliyuncs.com', 'vpc' => 'ess-vpc.me-east-1.aliyuncs.com'],
['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'ess.me-central-1.aliyuncs.com', 'endpoint' => 'ess.me-central-1.aliyuncs.com', 'vpc' => 'ess-vpc.me-central-1.aliyuncs.com'],
['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'ess.ap-south-1.aliyuncs.com', 'endpoint' => 'ess.ap-south-1.aliyuncs.com', 'vpc' => 'ess-vpc.ap-south-1.aliyuncs.com'],
['regionId' => 'cn-wulanchabu-gic-1', 'regionName' => 'China (Ulanqab) GIC', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'ess.cn-wulanchabu-gic-1.aliyuncs.com', 'endpoint' => 'ess.cn-wulanchabu-gic-1.aliyuncs.com', 'vpc' => 'ess-vpc.cn-wulanchabu-gic-1.aliyuncs.com'],
['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'ess.aliyuncs.com', 'endpoint' => 'ess.aliyuncs.com', 'vpc' => 'ess-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'ess.aliyuncs.com', 'endpoint' => 'ess.aliyuncs.com', 'vpc' => 'ess-vpc.cn-shanghai-finance-1.aliyuncs.com'],
['regionId' => 'cn-north-2-gov-1', 'regionName' => 'Beijing Government Cloud', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'ess.aliyuncs.com', 'endpoint' => 'ess.aliyuncs.com', 'vpc' => 'ess-vpc.cn-north-2-gov-1.aliyuncs.com'],
['regionId' => 'cn-heyuan-acdr-1', 'regionName' => 'Heyuan ACDR Auto', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'ess.cn-heyuan-acdr-1.aliyuncs.com', 'endpoint' => 'ess.cn-heyuan-acdr-1.aliyuncs.com', 'vpc' => 'ess-vpc.cn-heyuan-acdr-1.aliyuncs.com'],
['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'ess.aliyuncs.com', 'endpoint' => 'ess.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'ess.aliyuncs.com', 'endpoint' => 'ess.aliyuncs.com', 'vpc' => ''],
],
'errorCodes' => [
['code' => 'AlbServerGroup.NotExist', 'message' => 'The ServerGroup "%s" do(es) not exist.', 'http_code' => 400, 'description' => ''],
['code' => 'CMSSystemError', 'message' => null, 'http_code' => null, 'description' => 'Request failed'],
['code' => 'ConsoleSystemError', 'message' => null, 'http_code' => null, 'description' => 'Request failed'],
['code' => 'CustomMetric.NotFound', 'message' => 'Can not find custom metric of specific dimension.', 'http_code' => 404, 'description' => ''],
['code' => 'DiskCreatingSnapshot', 'message' => 'The operation is denied due to a snapshot of the specified disk is not completed yet.', 'http_code' => 400, 'description' => ''],
['code' => 'Duplicate.TagKey', 'message' => 'The Tag.N.Key contain duplicate value.', 'http_code' => 400, 'description' => ''],
['code' => 'Forbidden.Forbidden', 'message' => null, 'http_code' => null, 'description' => 'The operation is not permitted'],
['code' => 'Forbidden.RAM', 'message' => null, 'http_code' => null, 'description' => 'The user is not authorized to operate on the specified resource, or this API doesn\'t support RAM.'],
['code' => 'Forbidden.RiskControl', 'message' => null, 'http_code' => null, 'description' => 'The operation is forbidden by the risk control system'],
['code' => 'Forbidden.Unauthorized', 'message' => null, 'http_code' => null, 'description' => 'The user has not granted Open API authorization to Auto Scaling.'],
['code' => 'Forbidden.Unsubscribed', 'message' => null, 'http_code' => null, 'description' => 'The user has not activated Auto Scaling and does not have permission to call this API.'],
['code' => 'Forbidden.UserVerification', 'message' => null, 'http_code' => null, 'description' => 'No real-name verification'],
['code' => 'HostNameExhausted', 'message' => 'The HostName resource exhausted, please reset HostName.', 'http_code' => 400, 'description' => 'the begin number in the auto-increment HostName of the scaling configuration exceeds the defined bits.'],
['code' => 'IDEMPOTENCE_PROCESSING', 'message' => 'The previous request is still processing.', 'http_code' => 400, 'description' => 'The request is in progress.'],
['code' => 'IDEMPOTENCE_SIGNATURE_MISMATCH', 'message' => 'There is a idempotence signature mismatch between this and last request.', 'http_code' => 400, 'description' => ''],
['code' => 'IncorrectCapacity.MaxSize', 'message' => null, 'http_code' => null, 'description' => 'The quantity of ECS instances to be added will make the Total Capacity exceed the MaxSize.'],
['code' => 'IncorrectCapacity.MinSize', 'message' => null, 'http_code' => null, 'description' => 'The quantity of ECS instances to be removed will make the Total Capacity less than the MinSize.'],
['code' => 'IncorrectCapacity.NoChange', 'message' => null, 'http_code' => null, 'description' => 'The action has not changed the quantity of scaling group instances'],
['code' => 'IncorrectDBInstanceStatus', 'message' => null, 'http_code' => null, 'description' => 'The specified RDS instance is not in Running status.'],
['code' => 'IncorrectInstanceStatus', 'message' => null, 'http_code' => null, 'description' => 'The specified ECS instance is not in Running status.'],
['code' => 'IncorrectLoadBalancerHealthCheck', 'message' => null, 'http_code' => null, 'description' => 'Health check is not enabled for the specified Server Load Balancer instance'],
['code' => 'IncorrectLoadBalancerHealthCheck', 'message' => 'The current health check type of specified load balancer does not support this action.', 'http_code' => null, 'description' => 'Health check is not enabled for the specified Server Load Balancer instance'],
['code' => 'IncorrectLoadBalancerStatus', 'message' => null, 'http_code' => null, 'description' => 'The specified Server Load Balancer instance is not in Active status.'],
['code' => 'IncorrectLoadBalancerStatus', 'message' => 'The current status of the specified load balancer does not support this action.', 'http_code' => null, 'description' => 'The specified Server Load Balancer instance is not in Active status.'],
['code' => 'IncorrectScalingConfigurationLifecycleState', 'message' => null, 'http_code' => null, 'description' => 'The specified scaling configuration is not in Inactive status.'],
['code' => 'IncorrectScalingConfigurationLifecycleState', 'message' => 'The current lifecycle state of specified scaling configuration does not support this action.', 'http_code' => null, 'description' => 'The specified scaling configuration is not in Inactive status.'],
['code' => 'IncorrectScalingGroupStatus', 'message' => null, 'http_code' => null, 'description' => 'The current scaling group does not support this operation (check if the scaling group is in Enabled status).'],
['code' => 'IncorrectStatus.serverGroup', 'message' => 'The status of %s [%s] is incorrect.', 'http_code' => 400, 'description' => ''],
['code' => 'IncorrectVSwitchStatus', 'message' => null, 'http_code' => null, 'description' => 'VSwitch unavailable, the instance cannot be created'],
['code' => 'IncorrectVSwitchStatus', 'message' => 'The current status of virtual switch does not support this operation.', 'http_code' => null, 'description' => 'VSwitch unavailable, the instance cannot be created'],
['code' => 'InstanceChargeType.NotSupported', 'message' => 'Specific instance charge type "%s" is not supported.', 'http_code' => 400, 'description' => 'When an instance is added to a scaling group and its lifecycle is managed to the scaling group. The billing type of the current instance does not support hosting.'],
['code' => 'InstanceInUse', 'message' => null, 'http_code' => null, 'description' => 'The specified scaling configuration still has an associated ECS instance.'],
['code' => 'InstanceType.Mismatch', 'message' => null, 'http_code' => null, 'description' => 'The instance type of the specified scaling configuration does not match the instance type of the current scaling configuration'],
['code' => 'InsufficientBalance', 'message' => null, 'http_code' => null, 'description' => 'Insufficient user account balance'],
['code' => 'InternalError', 'message' => null, 'http_code' => null, 'description' => 'The server cannot process the request'],
['code' => 'InvalidAccessKeyId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'Invalid Access Key'],
['code' => 'InvalidAction.NotFound', 'message' => 'Specified api is not found, please check your url and method.', 'http_code' => 404, 'description' => ''],
['code' => 'InvalidDataDiskSnapshotId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified snapshot does not exist'],
['code' => 'InvalidDataDiskSnapshotId.SizeNotSupported', 'message' => null, 'http_code' => null, 'description' => 'The size of the specified snapshot exceeds the size limit of the disk'],
['code' => 'InvalidDBInstanceId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified RDS instance does not exist under this user account'],
['code' => 'InvalidDBInstanceId.RegionMismatch', 'message' => null, 'http_code' => null, 'description' => 'The specified RDS instance and scaling group are in different regions.'],
['code' => 'InvalidDevice.InUse', 'message' => null, 'http_code' => null, 'description' => 'The data disk mounting point is already in use'],
['code' => 'InvalidImageId.InstanceTypeMismatch', 'message' => null, 'http_code' => null, 'description' => 'The specified instance type does not allow the use of the specified image'],
['code' => 'InvalidImageId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified image does not exist under this user account'],
['code' => 'InvalidImageId.NotFound', 'message' => 'The specified image does not exist.', 'http_code' => null, 'description' => 'The specfied image ID does not exist.'],
['code' => 'InvalidInstanceId.InstanceTypeMismatch', 'message' => null, 'http_code' => null, 'description' => 'The specified ECS instance does not match the instance type of the scaling configuration.'],
['code' => 'InvalidInstanceId.InUse', 'message' => null, 'http_code' => null, 'description' => 'The specified ECS instance has been added to another scaling group'],
['code' => 'InvalidInstanceId.NetworkTypeMismatch', 'message' => null, 'http_code' => null, 'description' => 'The network types of the specified ECS instance and scaling group do not match.'],
['code' => 'InvalidInstanceId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified ECS instance does not exist under this user account'],
['code' => 'InvalidInstanceId.RegionMismatch', 'message' => null, 'http_code' => null, 'description' => 'The specified ECS instance and scaling group are in different regions.'],
['code' => 'InvalidInstanceId.VPCMismatch', 'message' => null, 'http_code' => null, 'description' => 'The specified scaling group and ECS instance to be added are in different VPCs.'],
['code' => 'InvalidInstanceType.Mismatch', 'message' => 'Instance types don\'t match the specified disk category.', 'http_code' => 403, 'description' => ''],
['code' => 'InvalidInstanceType.NotAuthorized', 'message' => 'Instance types are not authorized.', 'http_code' => 403, 'description' => ''],
['code' => 'InvalidInstanceType.NotSupported', 'message' => 'The instance type "%s" is not supported by ess.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidLoadBalancerId.IncorrectAddressType', 'message' => null, 'http_code' => null, 'description' => 'After a VSwitchID is specified, the specified Server Load Balancer instance type must be private network'],
['code' => 'InvalidLoadBalancerId.IncorrectInstanceNetworkType', 'message' => null, 'http_code' => null, 'description' => 'The network types of the ECS instances in the Server Load Balancer instance and scaling group do not match.'],
['code' => 'InvalidLoadBalancerId.IncorrectInstanceNetworkType', 'message' => 'The network type of the instance in specified load balancer does not support this action.', 'http_code' => null, 'description' => 'The network types of the ECS instances in the Server Load Balancer instance and scaling group do not match.'],
['code' => 'InvalidLoadBalancerId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified Server Load Balancer instance does not exist under this user account'],
['code' => 'InvalidLoadBalancerId.NotFound', 'message' => 'The specified Load Balancer does not exist.', 'http_code' => null, 'description' => 'The specified Server Load Balancer instance does not exist under this user account'],
['code' => 'InvalidLoadBalancerId.RegionMismatch', 'message' => null, 'http_code' => null, 'description' => 'The specified Server Load Balancer instance and scaling group are in different regions'],
['code' => 'InvalidLoadBalancerId.VPCMismatch', 'message' => null, 'http_code' => null, 'description' => 'The ECS instances of the specified scaling group\'s Server Load Balancer instance are not in the same VPC as the VSwitchID'],
['code' => 'InvalidLoadBalancerId.VPCMismatch', 'message' => 'The specified virtual switch and the instance in specified load balancer are not in the same VPC.', 'http_code' => null, 'description' => 'The ECS instances of the specified scaling group\'s Server Load Balancer instance are not in the same VPC as the VSwitchID'],
['code' => 'InvalidNotificationArn', 'message' => 'The specified param "notificationArn" is invalid.', 'http_code' => 400, 'description' => 'The parameter NotificationArn is invalid.'],
['code' => 'InvalidOperation.Conflict', 'message' => 'Specific operation may conflicts with other operations, please retry later.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidOperation.GroupDeletionProtection', 'message' => 'The operation is not allowed due to "%s" is protected by deletion protection.', 'http_code' => 403, 'description' => ''],
['code' => 'InvalidOperation.Suspended', 'message' => 'Specific operation is rejected while "%s" process is suspended.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidParameter', 'message' => 'The specified value of parameter %s is not valid.', 'http_code' => 400, 'description' => 'The specified value of parameter %s is not valid.'],
['code' => 'InvalidParameter', 'message' => 'The specified value of parameter "%s" is not valid.', 'http_code' => 400, 'description' => 'The specified value of parameter "%s" is not valid.'],
['code' => 'InvalidParameter', 'message' => 'The ServerGroupType of "%s" is not supported, only "Instance" ServerGroupType is currently supported.', 'http_code' => 400, 'description' => 'The ServerGroupType of "%s" is not supported, only "Instance" ServerGroupType is currently supported.'],
['code' => 'InvalidParameter.Conflict', 'message' => 'DesiredCapacity can\'t be less than the number of managed instances in the scaling group.', 'http_code' => 400, 'description' => 'DesiredCapacity can\'t be less than the number of managed instances in the scaling group.'],
['code' => 'InvalidParameter.Conflict', 'message' => 'MaxSize can\'t be less than the number of managed instances in the scaling group.', 'http_code' => 400, 'description' => 'MaxSize can\'t be less than the number of managed instances in the scaling group.'],
['code' => 'InvalidParameter.Conflict', 'message' => 'The value of parameter PrivatePoolOptions.MatchCriteria and parameter ResourcePoolOptions are conflict, please use ResourcePoolOptions.', 'http_code' => 400, 'description' => 'The value of parameter PrivatePoolOptions.MatchCriteria and parameter ResourcePoolOptions are conflict, please use ResourcePoolOptions.'],
['code' => 'InvalidParameter.Conflict', 'message' => 'Only InstanceTypes are supported when ResourcePoolOptions are used.', 'http_code' => 400, 'description' => 'Only InstanceTypes are supported when ResourcePoolOptions are used.'],
['code' => 'InvalidParameter.Conflict', 'message' => 'The value of parameter ImageId and parameter LaunchTemplateId are conflict.', 'http_code' => 400, 'description' => 'The value of parameter ImageId and parameter LaunchTemplateId are conflict.'],
['code' => 'InvalidParameter.Conflict', 'message' => 'The value of parameter ImageId and parameter ScalingConfigurationId'."\n"
.'are conflict.', 'http_code' => 400, 'description' => 'Scaling configuration conflicts with image'],
['code' => 'InvalidParameter.Conflict', 'message' => 'The value of parameter ScalingConfigurationId and parameter InstanceTypeOverrides are conflict.', 'http_code' => 400, 'description' => 'Scaling configuration conflicts with specifying multiple instance types and configuring weights for different instance types.'],
['code' => 'InvalidParameter.Conflict', 'message' => 'The value of parameter LaunchTemplateId and parameter ScalingConfigurationId are conflict.', 'http_code' => 400, 'description' => 'The scaling configuration conflicts with the startup template.'],
['code' => 'InvalidParameter.Conflict', 'message' => 'The value of parameter ImageId and parameter ScalingConfigurationId are conflict.', 'http_code' => 400, 'description' => 'The value of parameter ImageId and parameter ScalingConfigurationId are conflict.'],
['code' => 'InvalidParameter.InvalidParameter', 'message' => null, 'http_code' => null, 'description' => 'Invalid parameter value'],
['code' => 'InvalidParameter.InvalidParameter.Conflict', 'message' => null, 'http_code' => null, 'description' => 'The specified parameter value causes a conflict'],
['code' => 'InvalidParameter.TimeZone', 'message' => 'The specified parameter TimeZone is not valid.', 'http_code' => 400, 'description' => 'The specified parameter TimeZone is not valid.'],
['code' => 'InvalidRamRole.NotFound', 'message' => 'The specified RamRoleName does not exist.', 'http_code' => null, 'description' => ''],
['code' => 'InvalidRegionId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified region does not exist'],
['code' => 'InvalidResourceId.NotFound', 'message' => 'The specified ResourceIds are not found in our records.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidScalingActivityId.NotFound', 'message' => 'The specified scaling activity does not exist.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidScalingConfigurationId.InstanceTypeMismatch', 'message' => null, 'http_code' => null, 'description' => 'The instance type of the specified scaling configuration does not match the instance type of the current scaling configuration'],
['code' => 'InvalidScalingConfigurationId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified scaling configuration does not exist in the specified scaling group.'],
['code' => 'InvalidScalingConfigurationId.NotFound', 'message' => 'The specified scaling configuration does not exist.', 'http_code' => null, 'description' => 'The specified scaling configuration does not exist in the specified scaling group.'],
['code' => 'InvalidScalingConfigurationName.Duplicate', 'message' => null, 'http_code' => null, 'description' => 'This scaling configuration name already exists.'],
['code' => 'InvalidScalingGroupId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified scaling group does not exist under this user account'],
['code' => 'InvalidScalingGroupId.NotFound', 'message' => 'The specified scaling group does not exist.', 'http_code' => null, 'description' => 'The specified scaling group does not exist under this user account'],
['code' => 'InvalidScalingGroupName.Duplicate', 'message' => null, 'http_code' => null, 'description' => 'This scaling group name already exists.'],
['code' => 'InvalidScalingRuleAri.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified action does not exist under this user account.'],
['code' => 'InvalidScalingRuleId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified action does not exist under this user account.'],
['code' => 'InvalidScalingRuleId.NotFound', 'message' => 'The specified scaling rule "%s" does not exist.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidScalingRuleName.Duplicate', 'message' => null, 'http_code' => null, 'description' => 'This action name already exists.'],
['code' => 'InvalidScheduledTaskId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified scheduled task does not exist under this user account'],
['code' => 'InvalidScheduledTaskId.NotFound', 'message' => 'The specified scheduled task does not exist.', 'http_code' => null, 'description' => 'The specified scheduled task does not exist under this user account'],
['code' => 'InvalidScheduledTaskName.Duplicate', 'message' => null, 'http_code' => null, 'description' => 'This scheduled task name already exists.'],
['code' => 'InvalidSecurityGroupId.IncorrectNetworkType', 'message' => null, 'http_code' => null, 'description' => 'The specified security group does not match the network type specified by the scaling group'],
['code' => 'InvalidSecurityGroupId.IncorrectNetworkType', 'message' => 'The network type of specified Security Group does not support this action.', 'http_code' => null, 'description' => 'The specified security group does not match the network type specified by the scaling group'],
['code' => 'InvalidSecurityGroupId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified security group does not exist under this user account'],
['code' => 'InvalidSecurityGroupId.NotFound', 'message' => 'The specified security group does not exist.', 'http_code' => null, 'description' => 'The specified security group ID does not exist.'],
['code' => 'InvalidSecurityGroupId.VPCMismatch', 'message' => null, 'http_code' => null, 'description' => 'The specified security group and VSwitch do not belong to the same VPC'],
['code' => 'InvalidSecurityGroupId.VPCMismatch', 'message' => 'The specified security group and the specified virtual switch are not in the same VPC.', 'http_code' => null, 'description' => 'The specified security group and VSwitch do not belong to the same VPC'],
['code' => 'InvalidServerId.NotFound', 'message' => 'The specified ServerId does not exist.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidSnapshot.TooOld', 'message' => null, 'http_code' => null, 'description' => 'This snapshot was created on or before 7/15/2013, which means this call will be rejected.'],
['code' => 'InvalidSystemDiskCategory.ValueUnauthorized', 'message' => null, 'http_code' => null, 'description' => 'The user does not have permission to create a temporary system disk'],
['code' => 'InvalidSystemDiskSize.LessThanImageSize', 'message' => 'The specified parameter SystemDisk.Size is less than the image size.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidVSwitchId.NotFound', 'message' => null, 'http_code' => null, 'description' => 'The specified VSwitch does not exist'],
['code' => 'InvalidVSwitchId.NotFound', 'message' => 'The specified virtual switch does not exist.', 'http_code' => null, 'description' => 'The specified VSwitch does not exist'],
['code' => 'InvalidVSwitchId.NotFoundSpecifiedVSwitch', 'message' => 'The specified vSwitch(%s) does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'LastActivity.NotFinished', 'message' => 'Last activity is not finished', 'http_code' => 400, 'description' => ''],
['code' => 'LifecycleAction.InProcess', 'message' => 'The specified lifecycleHook you provided has in process lifecycle action.', 'http_code' => 400, 'description' => ''],
['code' => 'LifecycleActionTokenCompleted', 'message' => 'The specified lifecycleActionToken you provided has been completed.', 'http_code' => 400, 'description' => ''],
['code' => 'LifecycleActionTokenExpired', 'message' => 'The specified lifecycleActionToken you provided has expired.', 'http_code' => 400, 'description' => ''],
['code' => 'LifecycleHookIdAndLifecycleActionToken.Invalid', 'message' => 'The specified lifecycleActionToken and lifecycleHookId you provided does not match any in process lifecycle action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingActiveScalingConfiguration', 'message' => null, 'http_code' => null, 'description' => 'An effective scaling configuration has not been specified in this scaling group'],
['code' => 'MissingParameter', 'message' => null, 'http_code' => null, 'description' => 'Enter a value for the parameters.'],
['code' => 'MissingParameter', 'message' => 'The input parameter <parameter name> that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingSecurityToken', 'message' => 'SecurityToken is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'NoSuchVersion', 'message' => null, 'http_code' => null, 'description' => 'Invalid version'],
['code' => 'NotExist.ResourceGroup', 'message' => 'NotExist.ResourceGroup', 'http_code' => 400, 'description' => ''],
['code' => 'NotificationConfigurationExist', 'message' => 'The specified notificationConfiguration already exist for the scalingGroup.', 'http_code' => 400, 'description' => 'The specified scaling group event receiving object already exists.'],
['code' => 'NotificationMetadata.UnsupportedFormat', 'message' => 'metadata for Oos execution only support \'JSON\' format.', 'http_code' => 400, 'description' => ''],
['code' => 'OperationDenied', 'message' => 'This operation is denied because the specified scaling group does not support this action.', 'http_code' => 400, 'description' => ''],
['code' => 'PAYFOR.ACCOUNT_MONEY_VALIDATE_ERROR', 'message' => null, 'http_code' => null, 'description' => 'Insufficient agent credit, please contact your agent'],
['code' => 'PAYFOR.CREDIT_PAY_INSUFFICIENT_BALANCE', 'message' => null, 'http_code' => null, 'description' => 'Insufficient credit, please contact your agent for revisions'],
['code' => 'PostonlyOrTokenError', 'message' => null, 'http_code' => null, 'description' => ' '],
['code' => 'PutMetricRuleTargets.Failed', 'message' => 'PutMetricRuleTargets for alarm has failed.', 'http_code' => 400, 'description' => 'Alarm task setting fails to trigger scaling.'],
['code' => 'QUERY_QUOTA_BOOK_FAILED', 'message' => null, 'http_code' => null, 'description' => 'Credit limit query failed'],
['code' => 'QuotaExceeded.AfterpayInstance', 'message' => null, 'http_code' => null, 'description' => 'The quota for Pay-As-You-Go ECS instances has been reached'],
['code' => 'QuotaExceeded.BackendServer', 'message' => 'Backend server quota exceeded in load balancer "%s".', 'http_code' => 400, 'description' => ''],
['code' => 'QuotaExceeded.DBInstanceSecurityIP', 'message' => null, 'http_code' => null, 'description' => 'The number of IP addresses in the specified access white list for RDS instances has reached the upper limit'],
['code' => 'QuotaExceeded.EphemeralDiskSize', 'message' => null, 'http_code' => null, 'description' => 'The total temporary data disk capacity exceeds 2T (2008G)'],
['code' => 'QuotaExceeded.Instance', 'message' => null, 'http_code' => null, 'description' => 'The user\'s ECS instance quota has been reached'],
['code' => 'QuotaExceeded.LoadBalancer', 'message' => 'LoadBalancer quota exceeded in scalingGroup.', 'http_code' => 400, 'description' => ''],
['code' => 'QuotaExceeded.PrivateIpAddress', 'message' => null, 'http_code' => null, 'description' => 'All private IP addresses of the VSwitch are already in use.'],
['code' => 'QuotaExceeded.ScalingConfiguration', 'message' => null, 'http_code' => null, 'description' => 'The user\'s scaling configuration quota has been reached'],
['code' => 'QuotaExceeded.ScalingGroup', 'message' => null, 'http_code' => null, 'description' => 'The user\'s scaling group quota has been reached'],
['code' => 'QuotaExceeded.ScalingInstance', 'message' => null, 'http_code' => null, 'description' => 'The quota for Auto Scaling ECS instances has been reached'],
['code' => 'QuotaExceeded.ScalingRule', 'message' => null, 'http_code' => null, 'description' => 'The user\'s action quota has been reached.'],
['code' => 'QuotaExceeded.ScheduledTask', 'message' => null, 'http_code' => null, 'description' => 'The user\'s scheduled task quota has been reached'],
['code' => 'QuotaExceeded.SecurityGroupInstance', 'message' => null, 'http_code' => null, 'description' => 'The ECS instance quota for the specified security group has been reached'],
['code' => 'QuotaExceeded.VPCInstance', 'message' => null, 'http_code' => null, 'description' => 'The instance quota for this VPC has been reached'],
['code' => 'QuotaExceeded.VServerGroup', 'message' => 'VServerGroup quota exceeded in the specified scaling group.', 'http_code' => 400, 'description' => ''],
['code' => 'RAM.UnknownCallerType', 'message' => 'Unknown caller type "%s".', 'http_code' => 403, 'description' => ''],
['code' => 'RecommendEmpty.DiskTypeNoStock', 'message' => 'The diskTypes are out of usage.', 'http_code' => 403, 'description' => ''],
['code' => 'RecommendEmpty.InstanceTypeNoStock', 'message' => 'The instanceTypes are out of usage.', 'http_code' => 403, 'description' => ''],
['code' => 'RecommendEmpty.InstanceTypeNotAuthorized', 'message' => 'The recommend instanceTypes are not authorized.', 'http_code' => 403, 'description' => ''],
['code' => 'RecommendEmpty.InstanceTypeNotAuthorized', 'message' => 'The recommended instance type is unavailable or does not match the specified disk category.', 'http_code' => 403, 'description' => ''],
['code' => 'ResourceNotAvailable', 'message' => null, 'http_code' => null, 'description' => 'The specified region does not support Auto Scaling'],
['code' => 'ResourceNotAvailable.ClassicNetwork', 'message' => null, 'http_code' => null, 'description' => 'The specified zone does not support classic network.'],
['code' => 'ResourceNotAvailable.ClassicNetwork', 'message' => 'The specified region does not support classic network, or you are the default vpc user.', 'http_code' => 400, 'description' => ''],
['code' => 'ResourceNotAvailable.ECS', 'message' => null, 'http_code' => null, 'description' => 'The specified ECS instance type or disk type cannot be created in the specified region'],
['code' => 'ScalingActivityInProgress', 'message' => null, 'http_code' => null, 'description' => 'The scaling group of the specified action has a scaling activity in progress.'],
['code' => 'ScalingRule.InvalidScalingRuleType', 'message' => 'Specific scaling rule type: %s can not be executed.', 'http_code' => 400, 'description' => ''],
['code' => 'ScheduledAction.RegionMismatch', 'message' => null, 'http_code' => null, 'description' => 'The specified ScheduledAction does not match the region of the scheduled task'],
['code' => 'ServiceNotEnabled', 'message' => 'The OwnerId that your Access Key Id associated to has not enabled.', 'http_code' => 403, 'description' => ''],
['code' => 'ServiceUnavailable', 'message' => null, 'http_code' => null, 'description' => 'The server cannot currently process the request.'],
['code' => 'ServiceUnavailable', 'message' => 'The request has failed due to a temporary failure of the server.', 'http_code' => 503, 'description' => ''],
['code' => 'SignatureDoesNotMatch', 'message' => null, 'http_code' => null, 'description' => 'Invalid signature'],
['code' => 'TemplateMissingParameter.SecurityGroup', 'message' => 'The input parameter "SecurityGroup" that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => ''],
['code' => 'TemplateVersion.NotNumber', 'message' => 'The input parameter "LaunchTemplateVersion" is supposed to be a string representing the version number.', 'http_code' => 400, 'description' => 'The version of the startup template is invalid.'],
['code' => 'Throttling', 'message' => null, 'http_code' => null, 'description' => 'You have exceeded the maximum traffic. To increase the limit, submit a ticket.'],
['code' => 'UnsupportedOperation', 'message' => null, 'http_code' => null, 'description' => 'Invalid interface'],
['code' => 'UnsupportedOperation', 'message' => 'The specified action is not supported.The specified action is not supported by ECS group.', 'http_code' => 403, 'description' => 'You cannot call the CreateEciScalingConfiguration API to create a scaling configuration for an ECS-type scaling group.'],
['code' => 'UnsupportedOperation', 'message' => 'There are currently no instances need to refresh.', 'http_code' => 400, 'description' => 'There are no instances in the scaling group that need to be refreshed.'],
['code' => 'UnsupportedOperation', 'message' => 'The specified action is not supported. RecurrenceValue.', 'http_code' => 403, 'description' => 'The specified action is not supported. RecurrenceValue'],
['code' => 'UnsupportedOperation', 'message' => 'The specified action is not supported. This ScalingGroup is managed by %s.', 'http_code' => 403, 'description' => 'The specified action is not supported. This ScalingGroup is managed by %s.'],
['code' => 'UnsupportedOperation', 'message' => 'The specified action is not supported. The specified action is not supported by ECI group.', 'http_code' => 403, 'description' => 'The ECI scaling group does not support the specified operation.'],
['code' => 'UnsupportedOperation', 'message' => 'The specified action is not supported. Your account has been deleted.', 'http_code' => 403, 'description' => 'Your account has been deleted.'],
['code' => 'UnsupportedOperation', 'message' => 'The specified action is not supported. The specified action is not supported by weighted group.', 'http_code' => 403, 'description' => 'The weighted scaling group does not support the specified operation.'],
['code' => 'UnsupportedOperation', 'message' => 'The specified action is not supported. Managed Instance can\'t be attached into ECI ScalingGroup.', 'http_code' => 403, 'description' => 'Managed instances cannot be added to scaling groups of the ECI type.'],
['code' => 'UnsupportedOperation', 'message' => 'The specified action is not supported. The specified action is not supported for Managed instance.', 'http_code' => 403, 'description' => 'The specified action is not supported. The specified action is not supported for Managed instance.'],
['code' => 'UnsupportedOperation', 'message' => 'This operation is not supported because the Load Balancer is currently being processed. Please try again later or reduce the call frequency.', 'http_code' => 400, 'description' => 'This operation is not supported because load balancing is in progress. Please try again later or retry less frequently.'],
['code' => 'UnsupportedOperation', 'message' => 'This operation cannot be performed because a InstanceRefresh task is running.', 'http_code' => 400, 'description' => 'This operation cannot be performed because a InstanceRefresh task is running.'],
['code' => 'UnsupportedOperation', 'message' => 'The current alarm task is not associated with simple scaling rules, so it does not support the modification of multi metric.', 'http_code' => 403, 'description' => ''],
['code' => 'UserNotAuthorizeEss', 'message' => null, 'http_code' => null, 'description' => 'ESS should be authorized in RAM to operate user resource.'],
['code' => 'UserNotAuthorizeEss', 'message' => 'Ess should be authorized in ram to operate user resource.', 'http_code' => 403, 'description' => ''],
['code' => 'WeightedCapacity.NotFound', 'message' => 'Weighted capacity can not be found for instance type "%s".', 'http_code' => 400, 'description' => ''],
],
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnterStandby'],
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachVServerGroups'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateEciScalingConfiguration'],
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyScalingGroup'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UntagResources'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RebalanceInstances'],
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'VerifyAuthentication'],
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScheduledTask'],
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScheduledTask'],
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachVServerGroups'],
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyNotificationConfiguration'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribePatternTypes'],
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScalingRule'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScalingConfigurations'],
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachAlbServerGroups'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RemoveInstances'],
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachAlbServerGroups'],
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeNotificationTypes'],
['threshold' => '1800', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ExecuteScalingRule'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScalingInstances'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteLifecycleHook'],
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScheduledTasks'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyEciScalingConfiguration'],
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteNotificationConfiguration'],
['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeLifecycleHooks'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyAlarm'],
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAlarm'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachServerGroups'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SetGroupDeletionProtection'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScalingActivityDetail'],
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DisableAlarm'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagKeys'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'VerifyUser'],
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAlarms'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachInstances'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScalingGroups'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScalingActivities'],
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ExitStandby'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeNotificationConfigurations'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachLoadBalancers'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyLifecycleHook'],
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAlarm'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeScalingRules'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeactivateScalingConfiguration'],
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnableScalingGroup'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagValues'],
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNotificationConfiguration'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeElasticStrength'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyScheduledTask'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RecordLifecycleActionHeartbeat'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ScaleWithAdjustment'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScalingGroup'],
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScalingConfiguration'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachServerGroups'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeRegions'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachDBInstances'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SetInstancesProtection'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachLoadBalancers'],
['threshold' => '1500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CompleteLifecycleAction'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SuspendProcesses'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteEciScalingConfiguration'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyInstanceAttribute'],
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachInstances'],
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyScalingConfiguration'],
['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeLimitation'],
['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScalingGroup'],
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScalingConfiguration'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ResumeProcesses'],
['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DisableScalingGroup'],
['threshold' => '2000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeEciScalingConfigurations'],
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyScalingRule'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'],
['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SetInstanceHealth'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachDBInstances'],
['threshold' => '700', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScalingRule'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateLifecycleHook'],
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnableAlarm'],
['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ChangeResourceGroup'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeLifecycleActions'],
],
],
'ram' => [
'productCode' => 'AutoScaling',
'productName' => 'Auto Scaling',
'ramCodes' => ['ess'],
'ramLevel' => 'OPERATION',
'ramConditions' => [],
'ramActions' => [
[
'apiName' => 'CreateNotificationConfiguration',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateNotificationConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DeleteNotificationConfiguration',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteNotificationConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'SuspendInstanceRefresh',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:SuspendInstanceRefresh',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeLifecycleActions',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeLifecycleActions',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeLifecycleHooks',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeLifecycleHooks',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'CreateScalingGroup',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateScalingGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/*'],
],
],
],
[
'apiName' => 'AttachLoadBalancers',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:AttachLoadBalancers',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DeleteScalingGroup',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteScalingGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ListTagKeys',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:ListTagKeys',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ModifyLifecycleHook',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyLifecycleHook',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'AttachDBInstances',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:AttachDBInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'CompleteLifecycleAction',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:CompleteLifecycleAction',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'SetGroupDeletionProtection',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:SetGroupDeletionProtection',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'CreateAlarm',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateAlarm',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeAlertConfiguration',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeAlertConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ModifyNotificationConfiguration',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyNotificationConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeScalingActivityDetail',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScalingActivityDetail',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ExecuteScalingRule',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ExecuteScalingRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'AttachVServerGroups',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:AttachVServerGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeCapacityHistory',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeCapacityHistory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeAlarms',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeAlarms',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ResumeProcesses',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ResumeProcesses',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DeleteScalingRule',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteScalingRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DeleteEciScalingConfiguration',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DeleteEciScalingConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'EnterStandby',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:EnterStandby',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'EnableScalingGroup',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:EnableScalingGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeEciScalingConfigurations',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeEciScalingConfigurations',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DetachAlbServerGroups',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DetachAlbServerGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'RemoveInstances',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DetachInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DeleteAlarm',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteAlarm',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeScalingRules',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScalingRules',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeUser',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ModifyInstanceAttribute',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyInstanceAttribute',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeScalingGroups',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScalingGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ModifyAlertConfig',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyAlertConfig',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeScheduledTasks',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScheduledTasks',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DisableScalingGroup',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DisableScalingGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'EnableAlarm',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:EnableAlarm',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeScalingInstances',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScalingInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'AttachAlbServerGroups',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:AttachAlbServerGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DetachDBInstances',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DetachDBInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ModifyScalingRule',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyScalingRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'CreateEciScalingConfiguration',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateEciScalingConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeScalingConfigurations',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScalingConfigurations',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeRegions',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeRegions',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ApplyScalingGroup',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:ApplyScalingGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ModifyScalingGroup',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyScalingGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'VerifyAuthentication',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeRegions',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ModifyAlarm',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyAlarm',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'UntagResources',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:UntagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'CreateScheduledTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateScheduledTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DeleteLifecycleHook',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteLifecycleHook',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DetachLoadBalancers',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DetachLoadBalancers',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeNotificationTypes',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeNotificationTypes',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'SuspendProcesses',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:SuspendProcesses',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'CreateLifecycleHook',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateLifecycleHook',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DisableAlarm',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DisableAlarm',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'RecordLifecycleActionHeartbeat',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:RecordLifecycleActionHeartbeat',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ModifyEciScalingConfiguration',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyEciScalingConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ResumeInstanceRefresh',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ResumeInstanceRefresh',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeLimitation',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeLimitation',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DetachServerGroups',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DetachServerGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ScaleWithAdjustment',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ScaleWithAdjustment',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#scalinggroupId}'],
],
],
],
[
'apiName' => 'DetachVServerGroups',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DetachVServerGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DeactivateScalingConfiguration',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DeactivateScalingConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeAlertConfig',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeAlertConfig',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'AttachInstances',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:AttachInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribePatternTypes',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'ess:DescribePatternTypes',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ModifyAlertConfiguration',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyAlertConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ChangeResourceGroup',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ChangeResourceGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeElasticStrength',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeElasticStrength',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteScalingConfiguration',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteScalingConfiguration',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ReplaceSystemDisk',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:ReplaceSystemDisk',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'CreateScalingRule',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateScalingRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeInstanceRefreshes',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeInstanceRefreshes',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeNotificationConfigurations',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeNotificationConfigurations',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'StartInstanceRefresh',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:StartInstanceRefresh',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'RollbackInstanceRefresh',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:RollbackInstanceRefresh',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ExitStandby',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ExitStandby',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ListTagResources',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:ListTagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ModifyScalingConfiguration',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyScalingConfiguration',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CancelInstanceRefresh',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:CancelInstanceRefresh',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'AttachServerGroups',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:AttachServerGroups',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DetachInstances',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:DetachInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DeleteScheduledTask',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'ess:DeleteScheduledTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ListTagValues',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:ListTagValues',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'SetInstanceHealth',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:SetInstanceHealth',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'DescribeScalingActivities',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeScalingActivities',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'VerifyUser',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'ess:DescribeRegions',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'TagResources',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:TagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'RebalanceInstances',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:RebalanceInstances',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'CreateScalingConfiguration',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'ess:CreateScalingConfiguration',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'SetInstancesProtection',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:SetInstancesProtection',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
[
'apiName' => 'ModifyScheduledTask',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'ess:ModifyScheduledTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'AutoScaling', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
],
],
],
],
'resourceTypes' => [
['validationType' => 'always', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}'],
['validationType' => 'always', 'resourceType' => 'ScalingGroup', 'arn' => 'acs:ess:{#regionId}:{#accountId}:scalinggroup/*'],
],
],
];
|