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
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'RPC', 'product' => 'hitsdb', 'version' => '2020-06-15'],
'directories' => [
[
'children' => ['DescribeRegions'],
'type' => 'directory',
'title' => '区域',
'id' => 24390,
],
[
'children' => ['CreateLindormInstance', 'ReleaseLindormInstance', 'UpgradeLindormInstance', 'GetLindormInstance', 'GetLindormInstanceEngineList', 'GetLindormInstanceList', 'RenewLindormInstance', 'ModifyInstancePayType', 'SwitchLSQLV3MySQLService'],
'type' => 'directory',
'title' => '实例',
'id' => 24395,
],
[
'children' => ['UpdateInstanceIpWhiteList', 'GetInstanceIpWhiteList'],
'type' => 'directory',
'title' => '白名单',
'id' => 24392,
],
[
'children' => ['ListTagResources', 'TagResources', 'UntagResources'],
'type' => 'directory',
'title' => '标签',
'id' => 24405,
],
[
'children' => ['ChangeResourceGroup', 'CreateLindormV2Instance', 'GetInstanceSummary', 'GetLindormFsUsedDetail', 'GetLindormV2StorageUsage', 'ReleaseLindormV2Instance', 'UpdateLindormV2Instance', 'GetLindormV2InstanceDetails', 'UpdateLindormInstanceAttribute', 'UpdateLindormV2WhiteIpList'],
'type' => 'directory',
'title' => '其他',
'id' => 148525,
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'ChangeResourceGroup' => [
'summary' => '资源转组。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '145137',
'abilityTreeNodes' => ['FEATUREhitsdb6YHIIK'],
],
'parameters' => [
[
'name' => 'ResourceId',
'in' => 'query',
'schema' => ['title' => '资源Id', 'description' => '资源Id', 'type' => 'string', 'required' => true, 'example' => 'ld-bp17j28j2y7pm****'],
],
[
'name' => 'ResourceRegionId',
'in' => 'query',
'schema' => ['title' => '地域Id', 'description' => '地域Id', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['title' => '目标资源组', 'description' => '目标资源组', 'type' => 'string', 'required' => true, 'example' => 'rg-aek2i6wee****'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'FAED4C02-AF99-5015-A075-692DE9C99630'],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NoPermission.ChangeResourceGroup', 'errorMessage' => 'You are not authorized to change resourcegroup', 'description' => ''],
['errorCode' => 'MissingParameter.ResourceRegionId', 'errorMessage' => 'The ResourceRegionId parameters that are required for processing this request are missing', 'description' => ''],
['errorCode' => 'MissingParameter.ResourceId', 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing', 'description' => ''],
['errorCode' => 'MissingParameter.ResourceGroupId', 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing', 'description' => ''],
['errorCode' => 'InvalidResourceGroup', 'errorMessage' => 'The specified ResourceGroupId is invalid', 'description' => ''],
['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request', 'description' => ''],
['errorCode' => 'ResourceNotFound', 'errorMessage' => ' The specified resource is not found', 'description' => ''],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FAED4C02-AF99-5015-A075-692DE9C99630\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
'title' => '资源转组',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:ChangeResourceGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
],
],
'CreateLindormInstance' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '64027',
'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '实例的地域ID,可调用[DescribeRegions](~~426062~~)查询,使用此参数指定要创建实例的地域。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'ZoneId',
'in' => 'query',
'schema' => ['description' => '实例的可用区ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai-f'],
],
[
'name' => 'InstanceAlias',
'in' => 'query',
'schema' => ['description' => '实例的名称。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'lindorm_test'],
],
[
'name' => 'InstanceStorage',
'in' => 'query',
'schema' => ['description' => '实例的存储容量,单位为GB。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '480'],
],
[
'name' => 'PayType',
'in' => 'query',
'schema' => ['description' => '实例的付费类型,取值:'."\n"
."\n"
.'- **PREPAY**:包年包月(预付费)。'."\n"
.'- **POSTPAY**:按量付费(后付费)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'POSTPAY'],
],
[
'name' => 'VPCId',
'in' => 'query',
'schema' => ['description' => '实例的专有网络ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-bp1nme44gek34slfc****'],
],
[
'name' => 'VSwitchId',
'in' => 'query',
'schema' => ['description' => '虚拟交换机的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vsw-bp1e7clcw529l773d****'],
],
[
'name' => 'PricingCycle',
'in' => 'query',
'schema' => ['description' => '实例购买的付费周期,取值:'."\n"
."\n"
.'- **Month**:单位为月。'."\n"
.'- **Year**:单位为年。'."\n"
."\n"
.'> PayType取值为**PREPAY**时,本参数可用且必须传入。', 'type' => 'string', 'required' => false, 'example' => 'Month'],
],
[
'name' => 'Duration',
'in' => 'query',
'schema' => ['description' => '实例包年包月的时间,取值:'."\n"
."\n"
.'- PricingCycle为**Month**,表示按月付费,取值范围为**1**~**9**。'."\n"
.'- PricingCycle为**Year**,表示按年付费,取值范围为**1**~**3**。'."\n"
."\n"
.'> PayType取值为**PREPAY**时,本参数可用且必须传入。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'DiskCategory',
'in' => 'query',
'schema' => ['description' => '实例的存储类型,取值:'."\n"
."\n"
.'- **cloud_efficiency**:标准型云存储。'."\n"
.'- **cloud_ssd**:性能型云存储。'."\n"
.'- **cloud_essd**:性能增强型云存储。'."\n"
.'- **cloud\\_essd\\_pl0**:性能型云存储 pl0。'."\n"
.'- **capacity\\_cloud\\_storage**:容量型云存储(多可用区实例不支持)。'."\n"
.'- **local\\_ssd\\_pro**:本地SSD盘(多可用区实例不支持)。'."\n"
.'- **local\\_hdd\\_pro**:本地HDD盘(多可用区实例不支持)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cloud_efficiency'],
],
[
'name' => 'CoreSpec',
'in' => 'query',
'schema' => ['description' => '实例的本地盘类型节点规格。'."\n"
."\n"
.'本地存储类型为local_ssd_pro时,本参数取值为,其中I3机型当前仅支持包年包月商品:'."\n"
."\n"
.'- **lindorm.i4.xlarge**:表示4核32GB(I4)。'."\n"
.'- **lindorm.i4.2xlarge**:表示8核64GB(I4)。'."\n"
.'- **lindorm.i4.4xlarge**:表示16核128GB(I4)。'."\n"
.'- **lindorm.i4.8xlarge**:表示32核256GB(I4)。'."\n"
.'- **lindorm.i3.xlarge**:表示4核32GB(I3)。'."\n"
.'- **lindorm.i3.2xlarge**:表示8核64GB(I3)。'."\n"
.'- **lindorm.i3.4xlarge**:表示16核128GB(I3)。'."\n"
.'- **lindorm.i3.8xlarge**:表示32核256GB(I3)。'."\n"
.'- **lindorm.i2.xlarge**:表示4核32GB(I2)。'."\n"
.'- **lindorm.i2.2xlarge**:表示8核64GB(I2)。'."\n"
.'- **lindorm.i2.4xlarge**:表示16核128GB(I2)。'."\n"
.'- **lindorm.i2.8xlarge**:表示32核256GB(I2)。'."\n"
."\n"
.'本地存储类型为local_hdd_pro时,本参数取值为:'."\n"
."\n"
.'- **lindorm.sd3c.3xlarge**:表示14核56GB(D3C PRO)。'."\n"
.'- **lindorm.sd3c.7xlarge**:表示28核112GB(D3C PRO)。'."\n"
.'- **lindorm.sd3c.14xlarge**:表示56核224GB(D3C PRO)。'."\n"
.'- **lindorm.d2c.6xlarge**:表示24核88GB(D2C)。'."\n"
.'- **lindorm.d2c.12xlarge**:表示48核176GB(D2C)。'."\n"
.'- **lindorm.d2c.24xlarge**:表示96核352GB(D2C)。'."\n"
.'- **lindorm.d2s.5xlarge**:表示20核88GB(D2S)。'."\n"
.'- **lindorm.d2s.10xlarge**:表示40核176GB(D2S)。'."\n"
.'- **lindorm.d1.2xlarge**:表示8核32GB(D1NE)。'."\n"
.'- **lindorm.d1.4xlarge**:表示16核64GB(D1NE)。'."\n"
.'- **lindorm.d1.6xlarge**:表示24核96GB(D1NE)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.i2.xlarge'],
],
[
'name' => 'LindormNum',
'in' => 'query',
'schema' => ['description' => '实例的宽表引擎节点数量。'."\n"
."\n"
.'如果需要创建单可用区实例,取值范围为:**0**\\~**90**。'."\n"
."\n"
.'**如果需要创建多可用区实例,该参数必填**。非本地盘存储类型的实例,取值范围为:**4**\\~**400**。本地盘存储类型的实例,取值范围为:**6**\\~**400**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'SolrSpec',
'in' => 'query',
'schema' => ['description' => '实例的搜索引擎节点规格,取值:'."\n"
."\n"
.'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
.'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
.'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
.'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
.'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
.'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。'."\n"
.'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'SolrNum',
'in' => 'query',
'schema' => ['description' => '实例的搜索引擎节点数量,取值:**0**~**60**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'ColdStorage',
'in' => 'query',
'schema' => ['description' => '实例的容量型云存储容量,单位为GB,不填默认不开通容量型云存储。取值范围:**800**~**1000000**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '800'],
],
[
'name' => 'TsdbSpec',
'in' => 'query',
'schema' => ['description' => '实例的时序引擎节点规格,取值:'."\n"
."\n"
.'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
.'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
.'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
.'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'TsdbNum',
'in' => 'query',
'schema' => ['description' => '实例的时序引擎节点数量,取值如下:'."\n"
.'- 如果实例的付费类型为**PREPAY**,取值范围为:**0**~**24**。'."\n"
.'- 如果实例的付费类型为**POSTPAY**,取值范围为:**0**~**32**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'LindormSpec',
'in' => 'query',
'schema' => ['description' => '实例的宽表引擎节点规格,取值:'."\n"
."\n"
.'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
.'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
.'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
.'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
.'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
.'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。'."\n"
.'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.c.xlarge'],
],
[
'name' => 'FilestoreNum',
'in' => 'query',
'schema' => ['description' => '实例的文件引擎节点数量,取值如下:'."\n"
.'- 如果实例的付费类型为**PREPAY**,取值范围为:**0**~**60**。'."\n"
.'- 如果实例的付费类型为**POSTPAY**,取值范围为:**0**~**8**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'FilestoreSpec',
'in' => 'query',
'schema' => ['description' => '实例的文件引擎节点规格,取值:'."\n"
."\n"
.'- **lindorm.c.xlarge**:表示4核8GB(标准规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.c.xlarge'],
],
[
'name' => 'StreamNum',
'in' => 'query',
'schema' => ['description' => '实例的流引擎节点数量,取值:**0**~**60**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'StreamSpec',
'in' => 'query',
'schema' => ['description' => '实例的流引擎节点规格,取值:'."\n"
."\n"
.'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
.'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
.'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
.'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
.'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
.'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。'."\n"
.'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'ArchVersion',
'in' => 'query',
'schema' => ['description' => '部署架构,取值:'."\n"
."\n"
.'- **1.0**:单可用区。'."\n"
.'- **2.0**:多可用区。'."\n"
."\n"
.'不填写此参数时,默认为1.0。创建多可用区实例,请填写2.0。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => '2.0'],
],
[
'name' => 'PrimaryZoneId',
'in' => 'query',
'schema' => ['description' => '多可用区实例,主可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-e'],
],
[
'name' => 'StandbyZoneId',
'in' => 'query',
'schema' => ['description' => '多可用区实例,备可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-f'],
],
[
'name' => 'ArbiterZoneId',
'in' => 'query',
'schema' => ['description' => '多可用区实例,协调可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-g'],
],
[
'name' => 'MultiZoneCombination',
'in' => 'query',
'schema' => ['description' => '多可用区组合。可用区组合支持情况可前往售卖页查看。'."\n"
."\n"
.'- **ap-southeast-5abc-aliyun**:印度尼西亚(雅加达)A+B+C。'."\n"
.'- **cn-hangzhou-ehi-aliyun**:华东1(杭州)E+H+I。'."\n"
.'- **cn-beijing-acd-aliyun**:华北2(北京)A+C+D。'."\n"
.'- **ap-southeast-1-abc-aliyun**:新加坡A+B+C。'."\n"
.'- **cn-zhangjiakou-abc-aliyun**:华北3(张家口)A+B+C。'."\n"
.'- **cn-shanghai-efg-aliyun**:华东2(上海)E+F+G。'."\n"
.'- **cn-shanghai-abd-aliyun**:华东2(上海)A+B+D。'."\n"
.'- **cn-hangzhou-bef-aliyun**:华东1(杭州)B+E+F。'."\n"
.'- **cn-hangzhou-bce-aliyun**:华东1(杭州)B+C+E。'."\n"
.'- **cn-beijing-fgh-aliyun**:华北2(北京)F+G+H。'."\n"
.'- **cn-shenzhen-abc-aliyun**:华南1(深圳)A+B+C。'."\n"
."\n"
.'**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-efg-aliyun'],
],
[
'name' => 'PrimaryVSwitchId',
'in' => 'query',
'schema' => ['description' => '多可用区实例,主可用区的虚拟交换机ID,必须在PrimaryZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6fdqa7c0pipnqzq****'],
],
[
'name' => 'StandbyVSwitchId',
'in' => 'query',
'schema' => ['description' => '多可用区实例,备可用区的虚拟交换机ID,必须在StandbyZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'vsw-2zec0kcn08cgdtr6****'],
],
[
'name' => 'ArbiterVSwitchId',
'in' => 'query',
'schema' => ['description' => '多可用区实例,协调可用区虚拟交换机ID,交换机需位于ArbiterZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6664pqjawb87k36****'],
],
[
'name' => 'CoreSingleStorage',
'in' => 'query',
'schema' => ['description' => '多可用区实例,core单节点容量。取值范围400~64000,单位GB。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '400'],
],
[
'name' => 'LogDiskCategory',
'in' => 'query',
'schema' => ['description' => '多可用区实例,log节点磁盘类型,返回:'."\n"
."\n"
.'- **cloud_efficiency**:标准云存储。'."\n"
.'- **cloud_ssd**:性能云存储。'."\n"
."\n"
.'**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cloud_ssd'],
],
[
'name' => 'LogSpec',
'in' => 'query',
'schema' => ['description' => '多可用区实例,log节点规格。取值如下:'."\n"
.'- **lindorm.sn1.large**:表示4核8GB(独享规格)。'."\n"
.'- **lindorm.sn1.2xlarge**:表示8核16GB(独享规格)。'."\n"
."\n"
.'**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'lindorm.sn1.large'],
],
[
'name' => 'LogNum',
'in' => 'query',
'schema' => ['description' => '多可用区实例,log节点数量。取值范围4~400。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'],
],
[
'name' => 'LogSingleStorage',
'in' => 'query',
'schema' => ['description' => '多可用区实例,log单节点磁盘容量。取值范围400~64000,单位GB。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '400'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2i6weeb4nfii'],
],
[
'name' => 'AutoRenewal',
'in' => 'query',
'schema' => ['description' => '实例是否自动续费,枚举值:'."\n"
.'- **true**:自动续费。'."\n"
.'- **false**:不自动续费。'."\n"
."\n"
.'默认值为false'."\n"
."\n"
.'> 仅当**PayType**取值为**PREPAY**(包年包月)时,此参数有效。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'AutoRenewDuration',
'in' => 'query',
'schema' => ['description' => '自动续费时长。单位:月。'."\n"
."\n"
.'取值范围:**1**~**12**。'."\n"
."\n"
.'> 仅**AutoRenewal**为**true**时,该项才生效。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'LtsSpec',
'in' => 'query',
'schema' => ['description' => '实例的LTS引擎节点规格,取值:'."\n"
."\n"
.'- **lindorm.c.xlarge**:表示4核8GB(独享规格)。'."\n"
.'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
.'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
.'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
.'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
.'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
.'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。'."\n"
.'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'LtsNum',
'in' => 'query',
'schema' => ['description' => '实例的LTS引擎节点数量,取值:**0**~**60**。', 'type' => 'string', 'required' => false, 'example' => '2'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表。',
'type' => 'array',
'items' => [
'description' => '标签列表。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签的键。N的取值范围:1~20。'."\n"
."\n"
.'> 可以传入多个标签的键。例如:第一对中的Key表示传入第一个标签的键。第二对中的Key表示传入第二个标签的键。', 'type' => 'string', 'required' => false, 'example' => 'test'],
'Value' => ['description' => '标签的值。N的取值范围:1~20。'."\n"
."\n"
.'> 可以传入多个标签的值。例如:第一对中的Value表示传入第一个标签的值。第二对中的Value表示传入第二个标签的值。', 'type' => 'string', 'required' => false, 'example' => 'value'],
],
'required' => false,
],
'required' => false,
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '93BE8227-3406-4D7A-883D-9A421D42****'],
'InstanceId' => ['description' => '创建的实例ID。', 'type' => 'string', 'example' => 'ld-bp1o3y0yme2i2****'],
'OrderId' => ['description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '111111111111111'],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
['errorCode' => 'LindormErrorCode.%s', 'errorMessage' => '%s.', 'description' => '%s.'],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'title' => '创建Lindorm实例',
'summary' => '创建Lindorm实例。',
'description' => '创建实例时至少需选择一种数据引擎。'."\n"
.'例如,想创建宽表引擎,则必须同时填写**LindormNum**(宽表引擎节点数量)和**LindormSpec**(宽表引擎节点规格)参数。关于数据引擎和存储规格请参见[如何选择数据引擎](~~174643~~)和[如何选择存储规格](~~181971~~)。'."\n"
."\n"
.'><notice>创建实例时如果未填写数据引擎参数,则会导致API调用失败。></notice>',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2025-06-04T12:13:27.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2025-05-27T03:40:19.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-05-26T08:56:43.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-05-26T08:56:35.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-05-26T07:57:09.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-05-26T07:57:02.000Z', 'description' => 'OpenAPI 下线'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'lindorm:CreateLindormInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"93BE8227-3406-4D7A-883D-9A421D42****\\",\\n \\"InstanceId\\": \\"ld-bp1o3y0yme2i2****\\",\\n \\"OrderId\\": 111111111111111,\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateLindormInstanceResponse>\\n<RequestId>93BE8227-3406-4D7A-883D-9A421D42****</RequestId>\\n<InstanceId>ld-bp1o3y0yme2i2****</InstanceId>\\n<OrderId>111111111111111</OrderId>\\n</CreateLindormInstanceResponse>","errorExample":""}]',
],
'CreateLindormV2Instance' => [
'summary' => '创建Lindorm V2实例。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeCode' => '251726',
'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '实例的地域ID,可调用[DescribeRegions](~~426062~~)查询,使用此参数指定要创建实例的地域。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'ZoneId',
'in' => 'query',
'schema' => ['description' => '实例的可用区ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai-f'],
],
[
'name' => 'InstanceAlias',
'in' => 'query',
'schema' => ['description' => '实例的名称。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'lindorm-test'],
],
[
'name' => 'CloudStorageType',
'in' => 'query',
'schema' => [
'description' => '存储类型,选择**大数据型**与**本地SSD**时,该参数可以不传'."\n"
."\n"
.'- **PerformanceStorage**: 性能型云存储'."\n"
.'- **StandardStorage**: 标准型云存储',
'type' => 'string',
'required' => false,
'docRequired' => true,
'example' => 'PerformanceStorage',
'enum' => ['StandardStorage', 'PerformanceStorage', 'CapacityStorage'],
],
],
[
'name' => 'PayType',
'in' => 'query',
'schema' => ['description' => '实例的付费类型,取值:'."\n"
."\n"
.'- **PREPAY**:包年包月(预付费)。'."\n"
.'- **POSTPAY**:按量付费(后付费)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PREPAY'],
],
[
'name' => 'VPCId',
'in' => 'query',
'schema' => ['description' => '实例的专有网络ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-wz9ydz3vg93s1ozsd****'],
],
[
'name' => 'VSwitchId',
'in' => 'query',
'schema' => ['description' => '虚拟交换机的ID。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'vsw-bp1e7clcw529l773d****'],
],
[
'name' => 'PricingCycle',
'in' => 'query',
'schema' => [
'description' => '实例购买的付费周期,取值:'."\n"
."\n"
.'- **Month**:单位为月。'."\n"
.'- **Year**:单位为年。'."\n"
."\n"
.'> PayType取值为**PREPAY**时,本参数可用且必须传入。',
'type' => 'string',
'required' => false,
'example' => 'Month',
'enum' => ['Month', 'Year'],
],
],
[
'name' => 'Duration',
'in' => 'query',
'schema' => ['description' => '实例包年包月的时间,取值:'."\n"
."\n"
.'- PricingCycle为**Month**,表示按月付费,取值范围为**1**~**9**。'."\n"
.'- PricingCycle为**Year**,表示按年付费,取值范围为**1**~**3**。'."\n"
."\n"
.'> PayType取值为**PREPAY**时,本参数可用且必须传入。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'CloudStorageSize',
'in' => 'query',
'schema' => ['description' => '云存储空间大小,单位GB', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '320'],
],
[
'name' => 'ArchVersion',
'in' => 'query',
'schema' => ['description' => '部署架构,取值:'."\n"
."\n"
.'- **1.0**:单可用区。'."\n"
.'- **2.0**:多可用区基础版。'."\n"
.'- **3.0**:多可用区高可用版。', 'type' => 'string', 'required' => false, 'example' => '2.0'],
],
[
'name' => 'PrimaryZoneId',
'in' => 'query',
'schema' => ['description' => '多可用区实例,主可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-e'],
],
[
'name' => 'StandbyZoneId',
'in' => 'query',
'schema' => ['description' => '多可用区实例,备可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-f'],
],
[
'name' => 'ArbiterZoneId',
'in' => 'query',
'schema' => ['description' => '多可用区实例,协调可用区的可用区ID。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai-g'],
],
[
'name' => 'PrimaryVSwitchId',
'in' => 'query',
'schema' => ['description' => '多可用区实例,主可用区的虚拟交换机ID,必须在PrimaryZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6fdqa7c0pipnqzq****'],
],
[
'name' => 'StandbyVSwitchId',
'in' => 'query',
'schema' => ['description' => '多可用区实例,备可用区的虚拟交换机ID,必须在StandbyZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'vsw-2zec0kcn08cgdtr6****'],
],
[
'name' => 'ArbiterVSwitchId',
'in' => 'query',
'schema' => ['description' => '多可用区实例,协调可用区虚拟交换机ID,交换机需位于ArbiterZoneId对应的可用区下。**如果需要创建多可用区实例,该参数必填。**', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6664pqjawb87k36****'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2i6weeb4nfii'],
],
[
'name' => 'AutoRenewal',
'in' => 'query',
'schema' => ['description' => '实例是否自动续费,枚举值:'."\n"
.'- **true**:自动续费。'."\n"
.'- **false**:不自动续费。'."\n"
."\n"
.'默认值为false'."\n"
."\n"
.'> 仅当**PayType**取值为**PREPAY**(包年包月)时,此参数有效。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'AutoRenewDuration',
'in' => 'query',
'schema' => ['description' => '自动续费时长。单位:月。'."\n"
."\n"
.'取值范围:**1**~**12**。'."\n"
."\n"
.'> 仅**AutoRenewal**为**true**时,该项才生效。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'ClusterPattern',
'in' => 'query',
'schema' => [
'description' => '形态选择,取值:'."\n"
."\n"
.'- **basic**:生产型',
'type' => 'string',
'required' => false,
'example' => 'basic',
'default' => 'basic',
'enum' => ['basic', 'light'],
],
],
[
'name' => 'ClusterMode',
'in' => 'query',
'schema' => [
'description' => '实例模式,非必填'."\n"
."\n"
.'- **BASIC**:通用模式',
'type' => 'string',
'required' => false,
'example' => 'BASIC ',
'default' => 'BASIC',
'enum' => ['BASIC'],
],
],
[
'name' => 'EnableCapacityStorage',
'in' => 'query',
'schema' => ['description' => '是否开通容量型存储', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'CapacityStorageSize',
'in' => 'query',
'schema' => ['description' => '容量型存储大小,单位GB', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10000'],
],
[
'name' => 'EngineList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '引擎信息列表。',
'type' => 'array',
'items' => [
'description' => '引擎信息列表。',
'type' => 'object',
'properties' => [
'EngineType' => [
'description' => '引擎类型,返回值:'."\n"
."\n"
.'- **TABLE**:宽表引擎。'."\n"
.'- **TSDB**:时序引擎。'."\n"
.'- **LSEARCH**:搜索引擎。'."\n"
.'- **LTS**:LTS引擎。'."\n"
.'- **LVECTOR**:向量引擎。'."\n"
.'- **LCOLUMN**:列存引擎。'."\n"
.'- **LAI**:AI引擎。',
'type' => 'string',
'required' => true,
'example' => 'TABLE',
'enum' => ['TABLE', 'TSDB', 'LTS', 'LSEARCH', 'LSTREAM', 'LVECTOR', 'LMESSAGE', 'LAI', 'LCOLUMN'],
],
'NodeGroupList' => [
'description' => '引擎节点列表',
'type' => 'array',
'items' => [
'description' => '引擎节点列表',
'type' => 'object',
'properties' => [
'NodeSpec' => ['description' => '节点规格'."\n"
."\n"
.'选择性能型云存储或标准型云存储,本参数取值为:'."\n"
."\n"
.'- **lindorm.c.2xlarge**:表示8核16GB。'."\n"
.'- **lindorm.g.2xlarge**:表示8核32GB。'."\n"
.'- **lindorm.c.4xlarge**:表示16核32GB。'."\n"
.'- **lindorm.g.4xlarge**:表示16核64GB。'."\n"
.'- **lindorm.c.8xlarge**:表示32核64GB。'."\n"
.'- **lindorm.g.8xlarge**:表示32核128GB。'."\n"
.'- **lindorm.r.2xlarge**:表示8核64GB。'."\n"
.'- **lindorm.r.4xlarge**:表示16核128GB。'."\n"
.'- **lindorm.r.8xlarge**:表示32核256GB。'."\n"
."\n\n"
.'选择本地SSD类型时,本参数取值为:'."\n"
."\n"
.'- **lindorm.i4.xlarge**:表示4核32GB(I4)。'."\n"
.'- **lindorm.i4.2xlarge**:表示8核64GB(I4)。'."\n"
.'- **lindorm.i4.4xlarge**:表示16核128GB(I4)。'."\n"
.'- **lindorm.i4.8xlarge**:表示32核256GB(I4)。'."\n"
.'- **lindorm.i3.xlarge**:表示4核32GB(I3)。'."\n"
.'- **lindorm.i3.2xlarge**:表示8核64GB(I3)。'."\n"
.'- **lindorm.i3.4xlarge**:表示16核128GB(I3)。'."\n"
.'- **lindorm.i3.8xlarge**:表示32核256GB(I3)。'."\n"
.'- **lindorm.i2.xlarge**:表示4核32GB(I2)。'."\n"
.'- **lindorm.i2.2xlarge**:表示8核64GB(I2)。'."\n"
.'- **lindorm.i2.4xlarge**:表示16核128GB(I2)。'."\n"
.'- **lindorm.i2.8xlarge**:表示32核256GB(I2)。'."\n"
."\n"
.'选择大数据型时,本参数取值为:'."\n"
."\n"
.'- **lindorm.sd3c.3xlarge**:表示14核56GB(D3C PRO)。'."\n"
.'- **lindorm.sd3c.7xlarge**:表示28核112GB(D3C PRO)。'."\n"
.'- **lindorm.sd3c.14xlarge**:表示56核224GB(D3C PRO)。'."\n"
.'- **lindorm.d2c.6xlarge**:表示24核88GB(D2C)。'."\n"
.'- **lindorm.d2c.12xlarge**:表示48核176GB(D2C)。'."\n"
.'- **lindorm.d2c.24xlarge**:表示96核352GB(D2C)。'."\n"
.'- **lindorm.d2s.5xlarge**:表示20核88GB(D2S)。'."\n"
.'- **lindorm.d2s.10xlarge**:表示40核176GB(D2S)。'."\n"
.'- **lindorm.d1.2xlarge**:表示8核32GB(D1NE)。'."\n"
.'- **lindorm.d1.4xlarge**:表示16核64GB(D1NE)。'."\n"
.'- **lindorm.d1.6xlarge**:表示24核96GB(D1NE)。', 'type' => 'string', 'required' => true, 'example' => 'lindorm.g.2xlarge'],
'NodeCount' => ['description' => '集群节点数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '7'],
'NodeDiskType' => [
'description' => '节点云盘类型,非必填,**特殊场景下使用,白名单开放**',
'type' => 'string',
'required' => false,
'example' => 'cloud_essd',
'default' => 'cloud_essd',
'enum' => ['cloud_essd', 'cloud_efficiency'],
],
'NodeDiskSize' => ['description' => '单节点磁盘大小,默认单位为GB。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
'ResourceGroupName' => ['description' => '节点组名称,**必填**', 'type' => 'string', 'required' => false, 'example' => 'group_name_01'],
],
'required' => false,
],
'required' => false,
'maxItems' => 12,
'minItems' => 1,
],
],
'required' => false,
],
'required' => true,
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp1mq0tdzbx1m****'],
'OrderId' => ['description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '211110656240000'],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
['errorCode' => 'LindormErrorCode.%s', 'errorMessage' => '%s.', 'description' => '%s.'],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'hitsdb::2020-06-15::GetLindormV2Instance', 'callbackInterval' => 300000, 'maxCallbackTimes' => 12],
'title' => '创建Lindorm V2实例',
'description' => '创建实例时至少需选择一种数据引擎。'."\n"
.'关于数据引擎和存储规格请参见[如何选择数据引擎](~~174643~~)和[如何选择存储规格](~~181971~~)。'."\n"
."\n"
.'><notice>创建实例时如果未填写数据引擎参数,则会导致API调用失败。></notice>',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'lindorm:CreateLindormV2Instance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"InstanceId\\": \\"ld-bp1mq0tdzbx1m****\\",\\n \\"OrderId\\": 211110656240000,\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'DescribeRegions' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '64039',
'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'AcceptLanguage',
'in' => 'query',
'schema' => ['description' => '返回结果中地域名称(LocalName)的显示语言,取值:'."\n"
."\n"
.'- **zh-CN**:中文,默认值。'."\n"
.'- **en-US**:英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '73F6E6DA-9AE5-5548-9E07-761A554DAF2E'],
'Regions' => [
'description' => '地域列表信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'RegionEndpoint' => ['description' => '地域对应的接入地址(Endpoint)。', 'type' => 'string', 'example' => 'hitsdb.cn-hangzhou.aliyuncs.com'],
'LocalName' => ['description' => '地域名称。', 'type' => 'string', 'example' => 'China (Hangzhou)'],
'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
'description' => '',
],
],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => '400', 'errorMessage' => 'Parameter is not valid', 'description' => ''],
],
],
'title' => '获取Lindorm产品支持的所有地域',
'summary' => '获取Lindorm产品支持的所有地域。',
'changeSet' => [],
'ramActions' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"73F6E6DA-9AE5-5548-9E07-761A554DAF2E\\",\\n \\"Regions\\": [\\n {\\n \\"RegionEndpoint\\": \\"hitsdb.cn-hangzhou.aliyuncs.com\\",\\n \\"LocalName\\": \\"China (Hangzhou)\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeRegionsResponse>\\n<RequestId>73F6E6DA-9AE5-5548-9E07-761A554DAF2E</RequestId>\\n<Regions>\\n <Region>\\n <RegionId>cn-hangzhou</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华东1(杭州)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-shanghai</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华东2(上海)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-qingdao</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北1(青岛)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-beijing</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北2(北京)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-zhangjiakou</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北3(张家口)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-huhehaote</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北5(呼和浩特)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-shenzhen</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华南1(深圳)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-guangzhou</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>华南3(广州)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-hongkong</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>中国(香港)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-1</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>新加坡</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-2</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>澳大利亚(悉尼)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-3</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>马来西亚(吉隆坡)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-5</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>印度尼西亚(雅加达)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-northeast-1</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>日本(东京)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>eu-central-1</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>德国(法兰克福)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>eu-west-1</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>英国(伦敦)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>us-west-1</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>美国(硅谷)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>us-east-1</RegionId>\\n <RegionEndpoint>hitsdb.aliyuncs.com</RegionEndpoint>\\n <LocalName>美国(弗吉尼亚)</LocalName>\\n </Region>\\n</Regions>\\n</DescribeRegionsResponse>","errorExample":""}]',
],
'GetInstanceIpWhiteList' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '76391',
'abilityTreeNodes' => ['FEATUREhitsdb3JDHWG'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426068~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1z3506imz2g****'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp1z3506imz2f****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1D1F6F4D-9203-53E7-84E9-5376B4657E63'],
'IpList' => [
'description' => '白名单IP地址列表。',
'type' => 'array',
'items' => ['description' => '白名单IP地址。', 'type' => 'string', 'example' => '192.168.0.0/24'],
],
'GroupList' => [
'description' => '白名单分组列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'GroupName' => ['description' => '白名单分组名称。', 'type' => 'string', 'example' => 'test'],
'SecurityIpList' => ['description' => '白名单IP列表。', 'type' => 'string', 'example' => '192.168.1.0/24'],
],
'description' => '',
],
],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'title' => '获取Lindorm实例的访问白名单',
'summary' => '获取Lindorm实例的访问白名单。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetInstanceIpWhiteList',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"ld-bp1z3506imz2f****\\",\\n \\"RequestId\\": \\"1D1F6F4D-9203-53E7-84E9-5376B4657E63\\",\\n \\"IpList\\": [\\n \\"192.168.0.0/24\\"\\n ],\\n \\"GroupList\\": [\\n {\\n \\"GroupName\\": \\"test\\",\\n \\"SecurityIpList\\": \\"192.168.1.0/24\\"\\n }\\n ],\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","errorExample":""},{"type":"xml","example":"<GetInstanceIpWhiteListResponse>\\n<RequestId>1D1F6F4D-9203-53E7-84E9-5376B4657E63</RequestId>\\n<InstanceId>ld-bp1z3506imz2f****</InstanceId>\\n<IpList>10.20.XX.XX</IpList>\\n<IpList>10.61.XX.XX</IpList>\\n<IpList>117.36.XX.XX</IpList>\\n<IpList>10.61.XX.XX/24</IpList>\\n<IpList>203.119.XX.XX</IpList>\\n<IpList>106.11.XX.XX</IpList>\\n<IpList>42.120.XX.XX</IpList>\\n<IpList>120.55.XX.XX</IpList>\\n<IpList>42.120.XX.XX</IpList>\\n<IpList>101.37.XX.XX</IpList>\\n<IpList>127.0.XX.XX</IpList>\\n</GetInstanceIpWhiteListResponse>","errorExample":""}]',
],
'GetInstanceSummary' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '76394',
'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '地域id', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-shanghai'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'LockingCount' => ['description' => '即将到期实例数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
'Total' => ['description' => '运行中及即将到期实例总数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'RunningCount' => ['description' => '运行中的实例数', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
'RegionalSummary' => [
'description' => '地域信息的集合',
'type' => 'array',
'items' => [
'description' => '地域信息的集合',
'type' => 'object',
'properties' => [
'LockingCount' => ['description' => '`{RegionId}`即将到期实例数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Total' => ['description' => '`{RegionId}`运行中及即将到期实例总数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
'RegionId' => ['description' => '地域id', 'type' => 'string', 'example' => 'cn-hangzhou'],
'RunningCount' => ['description' => '`{RegionId}`运行中的实例数', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
],
],
'title' => '获取账户实例概览',
'summary' => '获取当前账号的Lindorm实例数量概览信息',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetInstanceSummary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LockingCount\\": 1,\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"Total\\": 10,\\n \\"RunningCount\\": 9,\\n \\"RegionalSummary\\": [\\n {\\n \\"LockingCount\\": 1,\\n \\"Total\\": 6,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RunningCount\\": 5\\n }\\n ]\\n}","type":"json"}]',
],
'GetLindormFsUsedDetail' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '121530',
'abilityTreeNodes' => ['FEATUREhitsdbDXDFAS'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-xxxx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '4F23D50C-400C-592C-9486-9D1E10179065'],
'Valid' => ['description' => '返回值是否合法,true表示合法,false表示返回异常,需要提供requestid来排查。', 'type' => 'string', 'example' => 'true'],
'FsCapacity' => ['description' => '集群存储空间总量,单位:bytes。', 'type' => 'string', 'example' => '85899345920'],
'FsCapacityHot' => ['description' => '集群热存空间,单位:bytes。', 'type' => 'string', 'example' => '85899345920'],
'FsCapacityCold' => ['description' => '集群冷存空间,单位:bytes。', 'type' => 'string', 'example' => '85899345920'],
'FsUsedHot' => ['description' => '集群热存空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'FsUsedCold' => ['description' => '集群冷存空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'FsUsedOnLindormTable' => ['description' => '集群宽表引擎空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'FsUsedOnLindormTableData' => ['description' => '集群宽表引擎表数据的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'FsUsedOnLindormTableWAL' => ['description' => '集群宽表引擎日志数据的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'FsUsedOnLindormSearch' => ['description' => '集群搜索引擎空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'FsUsedOnLindormTSDB' => ['description' => '集群时序引擎空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'FsUsedHotOnLindormTable' => ['description' => '集群宽表引擎表数据热存的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'FsUsedColdOnLindormTable' => ['description' => '集群宽表引擎表数据冷存的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'FsUsedHotOnLindormSearch' => ['description' => '集群搜索引擎表数据热存的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'FsUsedColdOnLindormSearch' => ['description' => '集群搜索引擎表数据冷存的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'FsUsedHotOnLindormTSDB' => ['description' => '集群时序引擎表数据热存的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'FsUsedColdOnLindormTSDB' => ['description' => '集群时序引擎表数据冷存的空间使用量,单位:bytes。', 'type' => 'string', 'example' => '33269'],
'LStorageUsageList' => [
'description' => '底层存储引擎版本>=4.1.9 以后,存储详情展示以这个字段为准,按照存储介质进行分类。',
'type' => 'array',
'items' => [
'description' => '某种存储介质类型的存储详情。',
'type' => 'object',
'properties' => [
'DiskType' => ['description' => '集群存储类型。可能值:'."\n"
.'- StandardCloudStorage:标准型云存储。'."\n"
.'- PerformanceCloudStorage:性能型云存储。'."\n"
.'- CapacityCloudStorage:容量型云存储。'."\n"
.'- LocalSsdStorage:本地SSD盘。'."\n"
.'- LocalHddStorage:本地HDD盘。'."\n"
.'- LocalEbsStorage:本地云存储。', 'type' => 'string', 'example' => 'StandardCloudStorage'],
'Capacity' => ['description' => '该存储介质类型下,存储总容量,单位:byte。', 'type' => 'string', 'example' => '85899345920'],
'Used' => ['description' => '该存储介质类型下,存储使用量,单位:byte。', 'type' => 'string', 'example' => '33269'],
'UsedLindormTable' => ['description' => '该存储介质类型下,宽表引擎存储使用量,单位:byte。', 'type' => 'string', 'example' => '33269'],
'UsedLindormTsdb' => ['description' => '该存储介质类型下,时序引擎存储使用量,单位:byte。', 'type' => 'string', 'example' => '33269'],
'UsedLindormSearch' => ['description' => '该存储介质类型下,搜索引擎存储使用量,单位:byte。', 'type' => 'string', 'example' => '33269'],
'UsedLindormSpark' => ['description' => '该存储介质类型下,计算引擎存储使用量,单位:byte。', 'type' => 'string', 'example' => '33269'],
'UsedOther' => ['description' => '该存储介质类型下,其他存储使用量(例如log,回收站等存储占用),单位:byte。', 'type' => 'string', 'example' => '33269'],
'UsedLindormMessage3' => ['type' => 'string'],
'UsedLindormColumn3' => ['type' => 'string'],
'UsedLindormVector3' => ['type' => 'string'],
],
],
],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{}'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
],
],
'title' => '获取Lindorm实例存储详情',
'summary' => '获取某个具体的Lindorm实例下各个存储介质的存储详情。',
'description' => 'Lindorm 集群的底层存储版本>= 4.1.9 以后,存储使用详情参考 LStorageUsageList 放回的列表值。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetLindormFsUsedDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4F23D50C-400C-592C-9486-9D1E10179065\\",\\n \\"Valid\\": \\"true\\",\\n \\"FsCapacity\\": \\"85899345920\\",\\n \\"FsCapacityHot\\": \\"85899345920\\",\\n \\"FsCapacityCold\\": \\"85899345920\\",\\n \\"FsUsedHot\\": \\"33269\\",\\n \\"FsUsedCold\\": \\"33269\\",\\n \\"FsUsedOnLindormTable\\": \\"33269\\",\\n \\"FsUsedOnLindormTableData\\": \\"33269\\",\\n \\"FsUsedOnLindormTableWAL\\": \\"33269\\",\\n \\"FsUsedOnLindormSearch\\": \\"33269\\",\\n \\"FsUsedOnLindormTSDB\\": \\"33269\\",\\n \\"FsUsedHotOnLindormTable\\": \\"33269\\",\\n \\"FsUsedColdOnLindormTable\\": \\"33269\\",\\n \\"FsUsedHotOnLindormSearch\\": \\"33269\\",\\n \\"FsUsedColdOnLindormSearch\\": \\"33269\\",\\n \\"FsUsedHotOnLindormTSDB\\": \\"33269\\",\\n \\"FsUsedColdOnLindormTSDB\\": \\"33269\\",\\n \\"LStorageUsageList\\": [\\n {\\n \\"DiskType\\": \\"StandardCloudStorage\\",\\n \\"Capacity\\": \\"85899345920\\",\\n \\"Used\\": \\"33269\\",\\n \\"UsedLindormTable\\": \\"33269\\",\\n \\"UsedLindormTsdb\\": \\"33269\\",\\n \\"UsedLindormSearch\\": \\"33269\\",\\n \\"UsedLindormSpark\\": \\"33269\\",\\n \\"UsedOther\\": \\"33269\\",\\n \\"UsedLindormMessage3\\": \\"\\",\\n \\"UsedLindormColumn3\\": \\"\\",\\n \\"UsedLindormVector3\\": \\"\\"\\n }\\n ],\\n \\"AccessDeniedDetail\\": \\"{}\\"\\n}","type":"json"}]',
],
'GetLindormInstance' => [
'summary' => '获取Lindorm实例的详细信息,包括实例类型、付费类型、所属专有网络等。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '64062',
'abilityTreeNodes' => ['FEATUREhitsdbDXDFAS', 'FEATUREhitsdb6YHIIK'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1o3y0yme2i2****'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'VpcId' => ['description' => '实例所属的专有网络(VPC)的ID。', 'type' => 'string', 'example' => 'vpc-bp1n3i15v90el48nx****'],
'VswitchId' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'example' => 'vsw-bp1vbjzmod9q3l9eo****'],
'CreateTime' => ['description' => '实例创建时间,格式:**yyyy-MM-dd HH:mm:ss**。', 'type' => 'string', 'example' => '2021-07-26 17:10:26'],
'PayType' => ['description' => '实例的付费类型,返回:'."\n"
."\n"
.'- **PREPAY**:包年包月。'."\n"
.'- **POSTPAY**:按量付费。', 'type' => 'string', 'example' => 'POSTPAY'],
'NetworkType' => ['description' => '实例的网络类型。', 'type' => 'string', 'example' => 'vpc'],
'ServiceType' => ['description' => '实例类型,取值:'."\n"
."\n"
.'- **lindorm**:表示Lindorm单可用区实例。'."\n"
.'- **lindorm_multizone**:表示Lindorm多可用区实例。'."\n"
.'- **serverless_lindorm**:表示Lindorm Serverless实例。'."\n"
.'- **lindorm_standalone**:表示Lindorm单节点实例。'."\n"
.'- **lts**:表示Lindorm数据通道服务类型。', 'type' => 'string', 'example' => 'lindorm'],
'EnableKms' => ['description' => '是否开启密钥管理服务KMS,返回:'."\n"
."\n"
.'- **true**:开启。'."\n"
.'- **false**:关闭。', 'type' => 'boolean', 'example' => 'false'],
'EnableStoreTDE' => ['description' => '是否开启存储加密服务,返回:'."\n"
."\n"
.'- true:开启。'."\n"
."\n"
.'- false:关闭。', 'type' => 'boolean', 'example' => 'false'],
'DiskUsage' => ['description' => '磁盘空间使用率。', 'type' => 'string', 'example' => '0.0%'],
'DiskCategory' => ['description' => '存储类型,返回:'."\n"
."\n"
.'- **cloud_efficiency**:标准型云存储。'."\n"
.'- **cloud_ssd**:性能型云存储。'."\n"
.'- **cloud_essd**:性能增强型云存储。'."\n"
.'- **cloud\\_essd\\_pl0**:性能型云存储 pl0。'."\n"
.'- **capacity\\_cloud\\_storage**:容量型云存储。'."\n"
.'- **local\\_ssd\\_pro**:本地SSD盘。'."\n"
.'- **local\\_hdd\\_pro**:本地HDD盘。', 'type' => 'string', 'example' => 'cloud_efficiency'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '633F1BE4-C8DA-5744-8FDF-A3075C3FE37F'],
'ColdStorage' => ['description' => '容量型云存储容量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0GB'],
'ArchiveStorage' => ['description' => '归档存储类型的计费存储量,单位GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '0GB'],
'ExpiredMilliseconds' => ['description' => '实例到期时间与1970-01-01 00:00:00之间的毫秒值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1629993600000'],
'EngineType' => ['description' => '支持引擎的类型,返回值是由下列引擎类型的值做加法运算后得到的。'."\n"
."\n"
.'- 1: 搜索引擎'."\n"
.'- 2: 时序引擎'."\n"
.'- 4: 宽表引擎'."\n"
.'- 8: 文件引擎'."\n"
."\n"
.'> 例如:EngineType值为15,15=8+4+2+1,表示该实例支持搜索引擎、时序引擎、宽表引擎和文件引擎。EngineType值为6,6=4+2,表示该实例支持时序引擎和宽表引擎。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
'ExpireTime' => ['description' => '实例的到期时间,格式:**yyyy-MM-dd HH:mm:ss**。'."\n"
."\n"
.'> 付费类型为包年包月,才会返回本参数。', 'type' => 'string', 'example' => '2021-08-27 00:00:00'],
'AutoRenew' => ['description' => '是否开通自动续费,返回:'."\n"
."\n"
.'- **true**:开启。'."\n"
.'- **false**:关闭。'."\n"
."\n"
.'> 实例的付费类型为包年包月会返回此参数。', 'type' => 'boolean', 'example' => 'false'],
'DeletionProtection' => ['description' => '是否开启删除保护,返回:'."\n"
."\n"
.'- **true**:开启。'."\n"
.'- **false**:关闭。', 'type' => 'string', 'example' => 'false'],
'InstanceStorage' => ['description' => '实例的存储容量。', 'type' => 'string', 'example' => '480'],
'AliUid' => ['description' => '阿里云账号(主账号)的16位AliUid。', 'type' => 'integer', 'format' => 'int64', 'example' => '164901546557****'],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp1o3y0yme2i2****'],
'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'CreateMilliseconds' => ['description' => '表示实例创建时间与1970-01-01 00:00:00之间的毫秒值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1627290664000'],
'InstanceAlias' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'test0726'],
'DiskThreshold' => ['description' => '磁盘空间的阈值。', 'type' => 'string', 'example' => '80%'],
'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
'InstanceStatus' => ['description' => '实例状态,返回:'."\n"
."\n"
.'- **CREATING**:创建中。'."\n"
.'- **ACTIVATIO**N:运行中。'."\n"
.'- **COLD_EXPANDING**:容量型云存储扩容中。'."\n"
.'- **MINOR_VERSION_TRANSING**:小版本升级中。'."\n"
.'- **RESIZING**:节点扩容中。'."\n"
.'- **SHRINKING**:节点缩容中。'."\n"
.'- **CLASS_CHANGING**:升级规格中或者降配规格中。'."\n"
.'- **SSL_SWITCHING**:SSL变更中。'."\n"
.'- **CDC_OPENING**:数据订阅功能开通中。'."\n"
.'- **TRANSFER**:数据迁移中。'."\n"
.'- **DATABASE_TRANSFER**:数据迁移至数据库中。'."\n"
.'- **GUARD_CREATING**:生产灾备实例中。'."\n"
.'- **BACKUP_RECOVERING**:备份恢复中。'."\n"
.'- **DATABASE_IMPORTING**:数据导入中。'."\n"
.'- **NET_MODIFYING**:网络变更中。'."\n"
.'- **NET_SWITCHING**:内网和外网切换中。'."\n"
.'- **NET_CREATING**:创建网络链接中。'."\n"
.'- **NET_DELETING**:删除网络链接中。'."\n"
.'- **DELETING**:删除中。'."\n"
.'- **RESTARTING**:重启中。'."\n"
.'- **LOCKED**:实例已过期,锁定中。', 'type' => 'string', 'example' => 'ACTIVATION'],
'EngineList' => [
'description' => '引擎信息列表。',
'type' => 'array',
'items' => [
'description' => '引擎信息列表。',
'type' => 'object',
'properties' => [
'Version' => ['description' => '引擎类型的版本号。', 'type' => 'string', 'example' => '2.2.3'],
'CpuCount' => ['description' => '引擎节点CPU数量。', 'type' => 'string', 'example' => '4'],
'CoreCount' => ['description' => '引擎节点数量。', 'type' => 'string', 'example' => '2'],
'Engine' => ['description' => '引擎类型,返回:'."\n"
."\n"
.'- **lindorm**:宽表引擎。'."\n"
.'- **tsdb**:时序引擎。'."\n"
.'- **solr**:搜索引擎。'."\n"
.'- **store**:文件引擎。'."\n"
.'- **bds**:LTS引擎。'."\n"
.'- **compute**:计算引擎。', 'type' => 'string', 'example' => 'lindorm'],
'Specification' => ['description' => '引擎节点规格', 'type' => 'string', 'example' => 'lindorm.g.2xlarge'],
'MemorySize' => ['description' => '引擎类型的节点内存大小。', 'type' => 'string', 'example' => '8GB'],
'IsLastVersion' => ['description' => '引擎类型是否最新版本,返回:'."\n"
.'- **true**:最新版本。'."\n"
.'- **false**:不是最新版本。', 'type' => 'boolean', 'example' => 'false'],
'LatestVersion' => ['description' => '引擎类型对应的最新的版本号。', 'type' => 'string', 'example' => '2.2.19.2'],
'PrimaryCoreCount' => ['description' => '主可用区节点数', 'type' => 'string', 'example' => '2'],
'StandbyCoreCount' => ['description' => '备可用区节点数', 'type' => 'string', 'example' => '2'],
'ArbiterCoreCount' => ['description' => '协调可用区节点数', 'type' => 'string', 'example' => '2'],
],
],
],
'EnableCompute' => ['description' => '是否开通实例的计算引擎,返回:'."\n"
."\n"
.'- **true**:已开通。'."\n"
.'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
'EnableSSL' => ['description' => '是否开启SSL链路加密功能,返回:'."\n"
."\n"
.'- **true**:开启。'."\n"
.'- **false**:关闭。', 'type' => 'boolean', 'example' => 'false'],
'EnableMLCtrl' => ['description' => '是否开通AI控制节点'."\n"
."\n"
.'- True: 表示开通'."\n"
."\n"
.'- False: 表示未开通', 'type' => 'boolean', 'example' => 'False'],
'EnableCdc' => ['description' => '是否开通实例的数据订阅功能,返回:'."\n"
."\n"
.'- **true**:已开通。'."\n"
.'- **false**:未开通。', 'type' => 'boolean', 'example' => 'false'],
'EnableStream' => ['description' => '实例是否开通流引擎,返回值:'."\n"
."\n"
.'- **true**:开通流引擎。'."\n"
.'- **false**:未开通流引擎。', 'type' => 'boolean', 'example' => 'true'],
'EnableLTS' => ['description' => '实例是否开通LTS引擎,返回值:'."\n"
."\n"
.'- **true**:开通LTS引擎。'."\n"
.'- **false**:未开通LTS引擎。', 'type' => 'boolean', 'example' => 'true'],
'EnableShs' => ['description' => '是否开通计算引擎History Server。', 'type' => 'boolean', 'example' => 'true'],
'EnableBlob' => ['description' => '实例是否开通LBlob,返回值:'."\n"
."\n"
.'true:开通LBlob。'."\n"
.'false:未开通LBlob。', 'type' => 'boolean', 'example' => 'true'],
'MaintainStartTime' => ['description' => '可维护开始时间。', 'type' => 'string', 'example' => '00:00Z'],
'MaintainEndTime' => ['description' => '可维护结束时间。', 'type' => 'string', 'example' => '20:00Z'],
'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-aek2wvd6oia****'],
'PrimaryZoneId' => ['description' => '多可用区实例,主可用区的可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-e'],
'StandbyZoneId' => ['description' => '多可用区实例,备可用区的可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-f'],
'ArbiterZoneId' => ['description' => '多可用区实例,协调可用区的可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-g'],
'PrimaryVSwitchId' => ['description' => '多可用区实例,主可用区的虚拟交换机ID,必须在PrimaryZoneId对应的可用区下。', 'type' => 'string', 'example' => 'vsw-uf6fdqa7c0pipnqzq****'],
'StandbyVSwitchId' => ['description' => '多可用区实例,备可用区的虚拟交换机ID,必须在StandbyZoneId对应的可用区下。', 'type' => 'string', 'example' => 'vsw-2zec0kcn08cgdtr6****'],
'ArbiterVSwitchId' => ['description' => '多可用区实例,协调可用区虚拟交换机ID,交换机需位于ArbiterZoneId对应的可用区下。', 'type' => 'string', 'example' => 'vsw-uf6664pqjawb87k36****'],
'MultiZoneCombination' => ['description' => '多可用区组合。可用区组合支持情况可前往售卖页查看。'."\n"
."\n"
.'- **ap-southeast-5abc-aliyun**:印度尼西亚(雅加达)A+B+C。'."\n"
.'- **cn-hangzhou-ehi-aliyun**:华东1(杭州)E+H+I。'."\n"
.'- **cn-beijing-acd-aliyun**:华北2(北京)A+C+D。'."\n"
.'- **ap-southeast-1-abc-aliyun**:新加坡A+B+C。'."\n"
.'- **cn-zhangjiakou-abc-aliyun**:华北3(张家口)A+B+C。'."\n"
.'- **cn-shanghai-efg-aliyun**:华东2(上海)E+F+G。'."\n"
.'- **cn-shanghai-abd-aliyun**:华东2(上海)A+B+D。'."\n"
.'- **cn-hangzhou-bef-aliyun**:华东1(杭州)B+E+F。'."\n"
.'- **cn-hangzhou-bce-aliyun**:华东1(杭州)B+C+E。'."\n"
.'- **cn-beijing-fgh-aliyun**:华北2(北京)F+G+H。'."\n"
.'- **cn-shenzhen-abc-aliyun**:华南1(深圳)A+B+C。', 'type' => 'string', 'example' => 'cn-shanghai-efg-aliyun'],
'CoreDiskCategory' => ['description' => '多可用区实例,core节点磁盘类型,返回:'."\n"
."\n"
.'- **cloud_efficiency**:标准型云存储。'."\n"
.'- **cloud_ssd**:性能型云存储。'."\n"
.'- **cloud_essd**:性能增强型云存储。'."\n"
.'- **cloud\\_essd\\_pl0**:性能型云存储 pl0。', 'type' => 'string', 'example' => 'cloud_efficiency'],
'CoreSpec' => ['description' => '多可用区实例,core节点规格。', 'type' => 'string', 'example' => 'lindorm.g.xlarge'],
'CoreNum' => ['description' => '多可用区实例,core节点数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
'CoreSingleStorage' => ['description' => '多可用区实例,core单节点磁盘容量。', 'type' => 'integer', 'format' => 'int32', 'example' => '400'],
'LogDiskCategory' => ['description' => '多可用区实例,log节点磁盘类型,返回:'."\n"
."\n"
.'- **cloud_efficiency**:标准云存储。'."\n"
.'- **cloud_ssd**:性能云存储。', 'type' => 'string', 'example' => 'cloud_ssd'],
'LogSpec' => ['description' => '多可用区实例,log节点规格。', 'type' => 'string', 'example' => 'lindorm.sn1.large'],
'LogNum' => ['description' => '多可用区实例,log节点数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
'LogSingleStorage' => ['description' => '多可用区实例,log单节点磁盘容量。', 'type' => 'integer', 'format' => 'int32', 'example' => '400GB'],
'BackupInstance' => ['description' => '备份实例', 'type' => 'string', 'example' => 'ld-xxxx'],
'EnableLsqlVersionV3' => ['description' => '宽表引擎是否支持LindormSQL-V3能力,其兼容MySQL协议,'."\n"
.'2023-10-24号之后新购的实例默认支持;存量实例需要联系值班同学评估后再打开。'."\n"
."\n"
.'- True 表示支持'."\n"
."\n"
.'- False 表示不支持', 'type' => 'boolean', 'example' => 'True'],
'EnableLProxy' => ['description' => '宽表引擎是否支持Thrift、CQL协议。如不支持的话,可以通过SwitchLProxyService接口进行开通与关闭。'."\n"
."\n"
.'True 表示支持'."\n"
."\n"
.'False 表示不支持', 'type' => 'boolean', 'example' => 'False'],
'ArchVersion' => ['description' => '部署架构,取值:'."\n"
."\n"
.'- **1.0**:单可用区。'."\n"
.'- **2.0**:多可用区。', 'type' => 'string', 'example' => '1.0'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => ''],
['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
['errorCode' => 'LindormErrorCode.%s', 'errorMessage' => '%s.', 'description' => '%s.'],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'title' => '获取Lindorm实例的详细信息',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2025-06-04T12:13:27.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2025-05-27T03:40:19.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-05-27T03:40:14.000Z', 'description' => 'OpenAPI 下线'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetLindormInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"VpcId\\": \\"vpc-bp1n3i15v90el48nx****\\",\\n \\"VswitchId\\": \\"vsw-bp1vbjzmod9q3l9eo****\\",\\n \\"CreateTime\\": \\"2021-07-26 17:10:26\\",\\n \\"PayType\\": \\"POSTPAY\\",\\n \\"NetworkType\\": \\"vpc\\",\\n \\"ServiceType\\": \\"lindorm\\",\\n \\"EnableKms\\": false,\\n \\"EnableStoreTDE\\": false,\\n \\"DiskUsage\\": \\"0.0%\\",\\n \\"DiskCategory\\": \\"cloud_efficiency\\",\\n \\"RequestId\\": \\"633F1BE4-C8DA-5744-8FDF-A3075C3FE37F\\",\\n \\"ColdStorage\\": 0,\\n \\"ArchiveStorage\\": 0,\\n \\"ExpiredMilliseconds\\": 1629993600000,\\n \\"EngineType\\": 15,\\n \\"ExpireTime\\": \\"2021-08-27 00:00:00\\",\\n \\"AutoRenew\\": false,\\n \\"DeletionProtection\\": \\"false\\",\\n \\"InstanceStorage\\": \\"480\\",\\n \\"AliUid\\": 0,\\n \\"InstanceId\\": \\"ld-bp1o3y0yme2i2****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CreateMilliseconds\\": 1627290664000,\\n \\"InstanceAlias\\": \\"test0726\\",\\n \\"DiskThreshold\\": \\"80%\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceStatus\\": \\"ACTIVATION\\",\\n \\"EngineList\\": [\\n {\\n \\"Version\\": \\"2.2.3\\",\\n \\"CpuCount\\": \\"4\\",\\n \\"CoreCount\\": \\"2\\",\\n \\"Engine\\": \\"lindorm\\",\\n \\"Specification\\": \\"lindorm.g.2xlarge\\",\\n \\"MemorySize\\": \\"8GB\\",\\n \\"IsLastVersion\\": false,\\n \\"LatestVersion\\": \\"2.2.19.2\\",\\n \\"PrimaryCoreCount\\": \\"2\\",\\n \\"StandbyCoreCount\\": \\"2\\",\\n \\"ArbiterCoreCount\\": \\"2\\"\\n }\\n ],\\n \\"EnableCompute\\": true,\\n \\"EnableSSL\\": false,\\n \\"EnableMLCtrl\\": true,\\n \\"EnableCdc\\": false,\\n \\"EnableStream\\": true,\\n \\"EnableLTS\\": true,\\n \\"EnableShs\\": true,\\n \\"EnableBlob\\": true,\\n \\"MaintainStartTime\\": \\"00:00Z\\",\\n \\"MaintainEndTime\\": \\"20:00Z\\",\\n \\"ResourceGroupId\\": \\"rg-aek2wvd6oia****\\",\\n \\"PrimaryZoneId\\": \\"cn-shanghai-e\\",\\n \\"StandbyZoneId\\": \\"cn-shanghai-f\\",\\n \\"ArbiterZoneId\\": \\"cn-shanghai-g\\",\\n \\"PrimaryVSwitchId\\": \\"vsw-uf6fdqa7c0pipnqzq****\\",\\n \\"StandbyVSwitchId\\": \\"vsw-2zec0kcn08cgdtr6****\\",\\n \\"ArbiterVSwitchId\\": \\"vsw-uf6664pqjawb87k36****\\",\\n \\"MultiZoneCombination\\": \\"cn-shanghai-efg-aliyun\\",\\n \\"CoreDiskCategory\\": \\"cloud_efficiency\\",\\n \\"CoreSpec\\": \\"lindorm.g.xlarge\\",\\n \\"CoreNum\\": 4,\\n \\"CoreSingleStorage\\": 400,\\n \\"LogDiskCategory\\": \\"cloud_ssd\\",\\n \\"LogSpec\\": \\"lindorm.sn1.large\\",\\n \\"LogNum\\": 4,\\n \\"LogSingleStorage\\": 0,\\n \\"BackupInstance\\": \\"ld-xxxx\\",\\n \\"EnableLsqlVersionV3\\": true,\\n \\"EnableLProxy\\": true,\\n \\"ArchVersion\\": \\"1.0\\"\\n}","errorExample":""},{"type":"xml","example":"<GetLindormInstanceResponse>\\n<ExpiredMilliseconds>1629993600000</ExpiredMilliseconds>\\n<DiskThreshold>80%</DiskThreshold>\\n<EngineList>\\n <MemorySize>8</MemorySize>\\n <CpuCount>4</CpuCount>\\n <Version>2.2.9.1</Version>\\n <Engine>lindorm</Engine>\\n <IsLastVersion>true</IsLastVersion>\\n <CoreCount>2</CoreCount>\\n</EngineList>\\n<EngineList>\\n <MemorySize>16</MemorySize>\\n <CpuCount>4</CpuCount>\\n <Version>3.2.15</Version>\\n <Engine>tsdb</Engine>\\n <IsLastVersion>false</IsLastVersion>\\n <CoreCount>2</CoreCount>\\n</EngineList>\\n<EngineList>\\n <MemorySize>16</MemorySize>\\n <CpuCount>4</CpuCount>\\n <Version>7.7.10</Version>\\n <Engine>solr</Engine>\\n <IsLastVersion>true</IsLastVersion>\\n <CoreCount>2</CoreCount>\\n</EngineList>\\n<EngineList>\\n <MemorySize>8</MemorySize>\\n <CpuCount>4</CpuCount>\\n <Version>3.10.6</Version>\\n <Engine>store</Engine>\\n <IsLastVersion>true</IsLastVersion>\\n <CoreCount>2</CoreCount>\\n</EngineList>\\n<EnableBDS>false</EnableBDS>\\n<AutoRenew>false</AutoRenew>\\n<DiskUsage>0.0%</DiskUsage>\\n<EnableFS>true</EnableFS>\\n<EnableCompute>true</EnableCompute>\\n<InstanceAlias>test0726</InstanceAlias>\\n<InstanceStatus>ACTIVATION</InstanceStatus>\\n<NetworkType>vpc</NetworkType>\\n<ServiceType>lindorm</ServiceType>\\n<EngineType>15</EngineType>\\n<CreateMilliseconds>1627290664000</CreateMilliseconds>\\n<EnableSSL>false</EnableSSL>\\n<InstanceStorage>480</InstanceStorage>\\n<RequestId>633F1BE4-C8DA-5744-8FDF-A3075C3FE37F</RequestId>\\n<ZoneId>cn-hangzhou-h</ZoneId>\\n<InstanceId>ld-bp1o3y0yme2i2****</InstanceId>\\n<EnableKms>false</EnableKms>\\n<CreateTime>2021-07-26 17:10:26</CreateTime>\\n<ColdStorage>0</ColdStorage>\\n<DiskCategory>cloud_efficiency</DiskCategory>\\n<PayType>PREPAY</PayType>\\n<DeletionProtection>false</DeletionProtection>\\n<VswitchId>vsw-bp1vbjzmod9q3l9eo****</VswitchId>\\n<VpcId>vpc-bp1n3i15v90el48nx****</VpcId>\\n<EnableCdc>false</EnableCdc>\\n<EnablePhoenix>false</EnablePhoenix>\\n<RegionId>cn-hangzhou</RegionId>\\n<ExpireTime>2021-08-27 00:00:00</ExpireTime>\\n<AliUid>1000000000000000</AliUid>\\n</GetLindormInstanceResponse>","errorExample":""}]',
],
'GetLindormInstanceEngineList' => [
'summary' => '获取Lindorm实例支持的引擎类型。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '64064',
'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1nq34mv3smk****'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp1nq34mv3smk****'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B496BA0E-520C-59FC-BA04-196D8F3B07EF'],
'EngineList' => [
'description' => '引擎类型列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'EngineType' => ['description' => '引擎类型,返回值:'."\n"
."\n"
.'- **lindorm**:宽表引擎。'."\n"
.'- **tsdb**:时序引擎。'."\n"
.'- **solr**:搜索引擎。'."\n"
.'- **store**:文件引擎。', 'type' => 'string', 'example' => 'lindorm'],
'NetInfoList' => [
'description' => '引擎的数据库连接信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'AccessType' => ['description' => '表示宽表引擎的连接方式,返回值:'."\n"
."\n"
.'- **0**:默认为0,可以忽略'."\n"
.'- **1**:使用HBase Java API访问宽表引擎地址。'."\n"
.'- **2**:使用HBase 非Java API访问宽表引擎地址。'."\n"
.'- **3**:使用CQL访问宽表引擎地址。'."\n"
.'- **4**:使用Lindorm宽表SQL地址。'."\n"
.'- **5**:使用Lindorm宽表S3兼容地址。'."\n"
.'- **6**:使用Lindorm宽表MySQL兼容地址。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Port' => ['description' => '数据库连接地址的端口号。', 'type' => 'integer', 'format' => 'int32', 'example' => '30020'],
'ConnectionString' => ['description' => '数据库连接地址。', 'type' => 'string', 'example' => 'ld-bp1nq34mv3smk****-proxy-lindorm.lindorm.rds.aliyuncs.com'],
'NetType' => ['description' => '数据库连接地址的网络类型,返回值:'."\n"
."\n"
.'- **0**:公网。'."\n"
.'- **2**:专有网络。', 'type' => 'string', 'example' => '2'],
],
'description' => '',
],
],
],
'description' => '',
],
],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
],
403 => [
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'title' => '获取Lindorm实例支持的引擎类型',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetLindormInstanceEngineList',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InstanceId\\": \\"ld-bp1nq34mv3smk****\\",\\n \\"RequestId\\": \\"B496BA0E-520C-59FC-BA04-196D8F3B07EF\\",\\n \\"EngineList\\": [\\n {\\n \\"EngineType\\": \\"lindorm\\",\\n \\"NetInfoList\\": [\\n {\\n \\"AccessType\\": 1,\\n \\"Port\\": 30020,\\n \\"ConnectionString\\": \\"ld-bp1nq34mv3smk****-proxy-lindorm.lindorm.rds.aliyuncs.com\\",\\n \\"NetType\\": \\"2\\"\\n }\\n ]\\n }\\n ],\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'GetLindormInstanceList' => [
'summary' => '获取Lindorm实例列表。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '76395',
'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'QueryStr',
'in' => 'query',
'schema' => ['description' => '实例名称关键字,可根据该关键字模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => ['description' => '指定要查询的页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '指定分页查询时每页行数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '20', 'default' => '100'],
],
[
'name' => 'ServiceType',
'in' => 'query',
'schema' => ['description' => '实例类型,取值:'."\n"
."\n"
.'- **lindorm**:表示Lindorm单可用区实例。'."\n"
.'- **lindorm_multizone**:表示Lindorm多可用区实例。'."\n"
.'- **serverless_lindorm**:表示Lindorm Serverless实例。'."\n"
.'- **lindorm_standalone**:表示Lindorm单节点实例。'."\n"
.'- **lts**:表示Lindorm数据通道服务类型。', 'type' => 'string', 'required' => false, 'example' => 'lindorm'],
],
[
'name' => 'SupportEngine',
'in' => 'query',
'schema' => ['description' => '查询的实例支持的数据引擎类型,取值:'."\n"
."\n"
.'- **1**:支持搜索引擎。'."\n"
.'- **2**:支持时序引擎。'."\n"
.'- **4**:支持宽表引擎。'."\n"
.'- **8**:支持文件引擎。'."\n"
."\n"
.'> 例如:SupportEngine取值为15,15=8+4+2+1,表示该实例支持搜索引擎、时序引擎、宽表引擎和文件引擎。SupportEngine取值为6,6=4+2,表示该实例支持时序引擎和宽表引擎。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '7', 'minimum' => '-1', 'example' => '15', 'default' => '-1'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表。',
'type' => 'array',
'items' => [
'description' => '标签列表。',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签的键。N的取值范围:1~20。'."\n"
."\n"
.'> 可以传入多个标签的键。例如:第一对中的Key表示传入第一个标签的键。第二对中的Key表示传入第二个标签的键。', 'type' => 'string', 'required' => false, 'example' => 'test'],
'Value' => ['description' => '标签的值。N的取值范围:1~20。'."\n"
."\n"
.'> 可以传入多个标签的值。例如:第一对中的Value表示传入第一个标签的值。第二对中的Value表示传入第二个标签的值。', 'type' => 'string', 'required' => false, 'example' => '2.2.18'],
],
'required' => false,
],
'required' => false,
'maxItems' => 21,
'minItems' => 0,
],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek3b63arvg27vi'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0'],
'PageNumber' => ['description' => '实例所在页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '实例所在页的行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'Total' => ['description' => '查询到的实例总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'InstanceList' => [
'description' => '实例列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'VpcId' => ['description' => '实例所属的专有网络ID。', 'type' => 'string', 'example' => 'vpc-bp1n3i15v90el48nx****'],
'EngineType' => ['description' => '实例支持引擎的类型,返回值是由下列引擎类型的值做加法运算后得到的。'."\n"
."\n"
.'- **1**:支持搜索引擎。'."\n"
.'- **2**:支持时序引擎。'."\n"
.'- **4**:支持宽表引擎。'."\n"
.'- **8**:支持文件引擎。'."\n"
."\n"
.'> 例如:EngineType值为15,15=8+4+2+1,表示该实例支持搜索引擎、时序引擎、宽表引擎和文件引擎。EngineType值为6,6=4+2,表示该实例支持时序引擎和宽表引擎。', 'type' => 'string', 'example' => '15'],
'ExpireTime' => ['description' => '实例的到期时间。'."\n"
."\n"
.'> 实例的付费类型为包年包月,才会返回本参数。', 'type' => 'string', 'example' => '2022-04-26 00:00:00'],
'CreateTime' => ['description' => '实例的创建时间。', 'type' => 'string', 'example' => '2021-09-16 14:13:13'],
'PayType' => ['description' => '实例的付费类型,返回值:'."\n"
."\n"
.'- **PREPAY**:包年包月。'."\n"
.'- **POSTPAY**:按量付费。', 'type' => 'string', 'example' => 'PREPAY'],
'AliUid' => ['description' => '阿里云账号(主账号)的16位AliUid。', 'type' => 'integer', 'format' => 'int64', 'example' => '164901546557****'],
'InstanceStorage' => ['description' => '实例的存储容量。', 'type' => 'string', 'example' => '960'],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp17pwu1541ia****'],
'NetworkType' => ['description' => '实例的网络类型。', 'type' => 'string', 'example' => 'vpc'],
'ServiceType' => ['description' => '实例类型,返回值:'."\n"
."\n"
.'- **lindorm**:表示Lindorm实例。'."\n"
.'- **serverless_lindorm**:表示LindormServerless实例。'."\n"
.'- **lindorm_standalone**:表示Lindorm单节点实例。'."\n"
.'- **lts**:表示Lindorm数据通道服务类型。', 'type' => 'string', 'example' => 'lindorm'],
'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'CreateMilliseconds' => ['description' => '表示实例创建时间与1970-01-01 00:00:00之间的毫秒值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1631772842000'],
'InstanceAlias' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'test'],
'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
'InstanceStatus' => ['description' => '实例状态,返回值:'."\n"
."\n"
.'- **CREATING**:创建中。'."\n"
.'- **ACTIVATION**:运行中。'."\n"
.'- **COLD_EXPANDING**:容量型云存储扩容中。'."\n"
.'- **MINOR_VERSION_TRANSING**:小版本升级中。'."\n"
.'- **RESIZING**:节点扩容中。'."\n"
.'- **SHRINKING**:节点缩容中。'."\n"
.'- **CLASS_CHANGING**:升级规格中或者降配规格中。'."\n"
.'- **SSL_SWITCHING:SSL**变更中。'."\n"
.'- **CDC_OPENING**:数据订阅功能开通中。'."\n"
.'- **TRANSFER**:数据迁移中。'."\n"
.'- **DATABASE_TRANSFER**:数据迁移至数据库中。'."\n"
.'- **GUARD_CREATING**:生产灾备实例中。'."\n"
.'- **BACKUP_RECOVERING**:备份恢复中。'."\n"
.'- **DATABASE_IMPORTING**:数据导入中。'."\n"
.'- **NET_MODIFYING**:网络变更中。'."\n"
.'- **NET_SWITCHING**:内网和外网切换中。'."\n"
.'- **NET_CREATING**:创建网络链接中。'."\n"
.'- **NET_DELETING**:删除网络链接中。'."\n"
.'- **DELETING**:删除中。'."\n"
.'- **RESTARTING**:重启中。'."\n"
.'- **LOCKED**:实例已过期,锁定中。', 'type' => 'string', 'example' => 'ACTIVATION'],
'ExpiredMilliseconds' => ['description' => '实例到期时间与1970-01-01 00:00:00之间的毫秒值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1650902400000'],
'EnableStream' => ['description' => '实例是否开通流引擎,返回值:'."\n"
."\n"
.'- **true**:开通流引擎。'."\n"
.'- **false**:未开通流引擎。', 'type' => 'boolean', 'example' => 'true'],
'Tags' => [
'description' => '标签列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签的键。', 'type' => 'string', 'example' => 'test'],
'Value' => ['description' => '标签的值。', 'type' => 'string', 'example' => '2.2.18'],
],
'description' => '',
],
],
'EnableCompute' => ['description' => '是否开通实例的计算引擎,返回:'."\n"
."\n"
.'- **true**:已开通。'."\n"
.'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-aekzledqeat****'],
'EnableMessage' => ['description' => '是否开通消息引擎,返回:'."\n"
."\n"
.'- **true**:已开通。'."\n"
.'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
'EnableVector' => ['description' => '是否开通向量引擎,返回:'."\n"
."\n"
.'- **true**:已开通。'."\n"
.'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
'EnableLts' => ['description' => '是否开通LTS引擎,返回:'."\n"
."\n"
.'- **true**:已开通。'."\n"
.'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
'EnableColumn' => ['description' => '是否开通列存引擎,返回:'."\n"
."\n"
.'- **true**:已开通。'."\n"
.'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
'EnableRow' => ['description' => '是否开通宽表3.0引擎,返回:'."\n"
."\n"
.'true:已开通。'."\n"
.'false:未开通。', 'type' => 'boolean', 'example' => 'true'],
'CreateErrorCode' => ['description' => '创建失败原因', 'type' => 'string', 'example' => 'Resource is not enough'],
],
'description' => '',
],
],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
['errorCode' => 'Instance.IsNotAvailable', 'errorMessage' => 'The instance is unavailable.', 'description' => '操作失败,实例不可用。'],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
],
],
'title' => '获取Lindorm实例列表',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetLindormInstanceList',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 1,\\n \\"InstanceList\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1n3i15v90el48nx****\\",\\n \\"EngineType\\": \\"15\\",\\n \\"ExpireTime\\": \\"2022-04-26 00:00:00\\",\\n \\"CreateTime\\": \\"2021-09-16 14:13:13\\",\\n \\"PayType\\": \\"PREPAY\\",\\n \\"AliUid\\": 0,\\n \\"InstanceStorage\\": \\"960\\",\\n \\"InstanceId\\": \\"ld-bp17pwu1541ia****\\",\\n \\"NetworkType\\": \\"vpc\\",\\n \\"ServiceType\\": \\"lindorm\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CreateMilliseconds\\": 1631772842000,\\n \\"InstanceAlias\\": \\"test\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceStatus\\": \\"ACTIVATION\\",\\n \\"ExpiredMilliseconds\\": 1650902400000,\\n \\"EnableStream\\": true,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test\\",\\n \\"Value\\": \\"2.2.18\\"\\n }\\n ],\\n \\"EnableCompute\\": true,\\n \\"ResourceGroupId\\": \\"rg-aekzledqeat****\\",\\n \\"EnableMessage\\": true,\\n \\"EnableVector\\": true,\\n \\"EnableLts\\": true,\\n \\"EnableColumn\\": true,\\n \\"EnableRow\\": true,\\n \\"CreateErrorCode\\": \\"Resource is not enough\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetLindormInstanceListResponse>\\n <RequestId>1CA1FAFD-E8DC-51C2-AA7E-CA6E2D049BA0</RequestId>\\n <PageSize>20</PageSize>\\n <PageNumber>1</PageNumber>\\n <Total>1</Total>\\n <InstanceList>\\n <ExpiredMilliseconds>1650902400000</ExpiredMilliseconds>\\n <InstanceStorage>960</InstanceStorage>\\n <ZoneId>cn-hangzhou-h</ZoneId>\\n <InstanceId>ld-bp17pwu1541i****</InstanceId>\\n <CreateTime>2021-09-16 14:13:13</CreateTime>\\n <PayType>PREPAY</PayType>\\n <VpcId>vpc-bp1n3i15v90el48nx****</VpcId>\\n <NetworkType>vpc</NetworkType>\\n <ServiceType>lindorm</ServiceType>\\n <InstanceAlias>test</InstanceAlias>\\n <InstanceStatus>ACTIVATION</InstanceStatus>\\n <EnableStream>true</EnableStream>\\n <EngineType>15</EngineType>\\n <RegionId>cn-hangzhou</RegionId>\\n <ExpireTime>2022-04-26 00:00:00</ExpireTime>\\n <CreateMilliseconds>1631772842000</CreateMilliseconds>\\n <Tags>\\n <Value>2.2.18</Value>\\n <Key>test</Key>\\n </Tags>\\n <AliUid>1000000000000000</AliUid>\\n </InstanceList>\\n</GetLindormInstanceListResponse>","errorExample":""}]',
],
'GetLindormV2InstanceDetails' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '188570',
'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1mq0tdzbx1m****'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'VpcId' => ['description' => '实例所属的专有网络(VPC)的ID。', 'type' => 'string', 'example' => 'vpc-bp1xxxxxxxxxxxxxxxxxx'],
'VswitchId' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'example' => 'vsw-bp1xxxxxxxxxxxxxxxxxx'],
'PayType' => ['description' => '实例的付费类型,返回:'."\n"
."\n"
.'- **PREPAY**:包年包月。'."\n"
.'- **POSTPAY**:按量付费。', 'type' => 'string', 'example' => 'POSTPAY'],
'NetworkType' => ['description' => '实例的网络类型。', 'type' => 'string', 'example' => 'VPC'],
'DiskUsage' => ['description' => '磁盘空间使用率。', 'type' => 'string', 'example' => '0.0%'],
'DiskCategory' => ['description' => '存储类型,返回:'."\n"
."\n"
.'- **StandardStorage**:标准型云存储。'."\n"
.'- **PerformanceStorage**:性能型云存储。', 'type' => 'string', 'example' => 'PerformanceStorage'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
'ColdStorage' => ['description' => '容量型云存储容量。', 'type' => 'integer', 'format' => 'int32', 'example' => '800'],
'ExpiredMilliseconds' => ['description' => '实例到期时间与1970-01-01 00:00:00之间的毫秒值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1629993600000'],
'AutoRenew' => ['description' => '是否开通自动续费,返回:'."\n"
."\n"
.'- **true**:开启。'."\n"
.'- **false**:关闭。'."\n"
."\n"
.'> 实例的付费类型为包年包月会返回此参数。', 'type' => 'boolean', 'example' => 'true'],
'DeletionProtection' => ['description' => '是否开启删除保护,返回:'."\n"
."\n"
.'- **true**:开启。'."\n"
.'- **false**:关闭。', 'type' => 'string', 'example' => 'false'],
'AliUid' => ['description' => '阿里云账号(主账号)的16位AliUid。', 'type' => 'integer', 'format' => 'int64', 'example' => '164901546557****'],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp1mq0tdzbx1m****'],
'InstanceType' => ['description' => '形态选择,取值:'."\n"
."\n"
.'- basic:生产型', 'type' => 'string', 'example' => 'basic'],
'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'CreateMilliseconds' => ['description' => '表示实例创建时间与1970-01-01 00:00:00之间的毫秒值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1627290664000'],
'InstanceAlias' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'lindorm-test'],
'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
'InstanceStatus' => ['description' => '实例状态,返回:'."\n"
."\n"
.'- **CREATING**:创建中。'."\n"
.'- **ACTIVATIO**N:运行中。'."\n"
.'- **COLD_EXPANDING**:容量型云存储扩容中。'."\n"
.'- **MINOR_VERSION_TRANSING**:小版本升级中。'."\n"
.'- **RESIZING**:节点扩容中。'."\n"
.'- **SHRINKING**:节点缩容中。'."\n"
.'- **CLASS_CHANGING**:升级规格中或者降配规格中。'."\n"
.'- **SSL_SWITCHING**:SSL变更中。'."\n"
.'- **CDC_OPENING**:数据订阅功能开通中。'."\n"
.'- **TRANSFER**:数据迁移中。'."\n"
.'- **DATABASE_TRANSFER**:数据迁移至数据库中。'."\n"
.'- **GUARD_CREATING**:生产灾备实例中。'."\n"
.'- **BACKUP_RECOVERING**:备份恢复中。'."\n"
.'- **DATABASE_IMPORTING**:数据导入中。'."\n"
.'- **NET_MODIFYING**:网络变更中。'."\n"
.'- **NET_SWITCHING**:内网和外网切换中。'."\n"
.'- **NET_CREATING**:创建网络链接中。'."\n"
.'- **NET_DELETING**:删除网络链接中。'."\n"
.'- **DELETING**:删除中。'."\n"
.'- **RESTARTING**:重启中。'."\n"
.'- **LOCKED**:实例已过期,锁定中。', 'type' => 'string', 'example' => 'ACTIVATION'],
'PrimaryZoneId' => ['description' => '多可用区实例,主可用区的可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-e'],
'PrimaryVSwitchId' => ['description' => '多可用区实例,主可用区的虚拟交换机ID,必须在PrimaryZoneId对应的可用区下。', 'type' => 'string', 'example' => 'vsw-uf6fdqa7c0pipnqzq****'],
'StandbyZoneId' => ['description' => '多可用区实例,备可用区的可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-f'],
'StandbyVSwitchId' => ['description' => '多可用区实例,备可用区的虚拟交换机ID,必须在StandbyZoneId对应的可用区下。', 'type' => 'string', 'example' => 'vsw-2zec0kcn08cgdtr6****'],
'ArbiterZoneId' => ['description' => '多可用区实例,协调可用区的可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-g'],
'ArbiterVSwitchId' => ['description' => '多可用区实例,协调可用区虚拟交换机ID,交换机需位于ArbiterZoneId对应的可用区下。', 'type' => 'string', 'example' => 'vsw-uf6664pqjawb87k36****'],
'EngineList' => [
'description' => '引擎信息列表。',
'type' => 'array',
'items' => [
'description' => '引擎信息列表。',
'type' => 'object',
'properties' => [
'Version' => ['description' => '引擎类型的版本号。', 'type' => 'string', 'example' => '2.2.3'],
'Engine' => ['description' => '引擎类型,返回:'."\n"
."\n"
.'- **TABLE**:宽表引擎。'."\n"
.'- **TSDB**:时序引擎。'."\n"
.'- **LSEARCH**:搜索引擎。'."\n"
.'- **LTS**:LTS引擎。'."\n"
.'- **LVECTOR**:向量引擎。'."\n"
.'- **LCOLUMN**:列存引擎。', 'type' => 'string', 'example' => 'TABLE'],
'IsLastVersion' => ['description' => '引擎类型是否最新版本,返回:'."\n"
.'- **true**:最新版本。'."\n"
.'- **false**:不是最新版本。', 'type' => 'boolean', 'example' => 'false'],
'LatestVersion' => ['description' => '引擎类型对应的最新的版本号。', 'type' => 'string', 'example' => '2.2.19.2'],
'ConnectAddressList' => [
'description' => '引擎链接地址列表',
'type' => 'array',
'items' => [
'description' => '引擎链接地址列表',
'type' => 'object',
'properties' => [
'Address' => ['description' => '链接地址', 'type' => 'string', 'example' => 'ld-mxj9asg***-proxy-lindorm-vpc.lindorm.aliyuncs.com:33060'],
'Type' => ['description' => '链接地址类型'."\n"
."\n"
.'- INTRANET: VPC私网地址'."\n"
.'- INTERNET:公网地址', 'type' => 'string', 'example' => 'INTRANET'],
'Port' => ['description' => '数据库连接地址的端口号。', 'type' => 'string', 'example' => '33060'],
],
],
],
'NodeGroup' => [
'description' => '引擎节点组列表',
'type' => 'array',
'items' => [
'description' => '引擎节点组列表',
'type' => 'object',
'properties' => [
'NodeSpec' => ['description' => '节点规格'."\n"
."\n"
.'选择性能型云存储或标准型云存储,本参数取值为:'."\n"
."\n"
.'- lindorm.c.2xlarge:表示8核16GB。'."\n"
.'- lindorm.g.2xlarge:表示8核32GB。'."\n"
.'- lindorm.c.4xlarge:表示16核32GB。'."\n"
.'- lindorm.g.4xlarge:表示16核64GB。'."\n"
.'- lindorm.c.8xlarge:表示32核64GB。'."\n"
.'- lindorm.g.8xlarge:表示32核128GB。'."\n"
.'- lindorm.r.2xlarge:表示8核64GB。'."\n"
.'- lindorm.r.4xlarge:表示16核128GB。'."\n"
.'- lindorm.r.8xlarge:表示32核256GB。'."\n"
."\n"
.'选择本地SSD类型时,本参数取值为:'."\n"
."\n"
.'- lindorm.i4.xlarge:表示4核32GB(I4)。'."\n"
.'- lindorm.i4.2xlarge:表示8核64GB(I4)。'."\n"
.'- lindorm.i4.4xlarge:表示16核128GB(I4)。'."\n"
.'- lindorm.i4.8xlarge:表示32核256GB(I4)。'."\n"
.'- lindorm.i3.xlarge:表示4核32GB(I3)。'."\n"
.'- lindorm.i3.2xlarge:表示8核64GB(I3)。'."\n"
.'- lindorm.i3.4xlarge:表示16核128GB(I3)。'."\n"
.'- lindorm.i3.8xlarge:表示32核256GB(I3)。'."\n"
.'- lindorm.i2.xlarge:表示4核32GB(I2)。'."\n"
.'- lindorm.i2.2xlarge:表示8核64GB(I2)。'."\n"
.'- lindorm.i2.4xlarge:表示16核128GB(I2)。'."\n"
.'- lindorm.i2.8xlarge:表示32核256GB(I2)。'."\n"
."\n"
.'选择大数据型时,本参数取值为:'."\n"
."\n"
.'- lindorm.sd3c.3xlarge:表示14核56GB(D3C PRO)。'."\n"
.'- lindorm.sd3c.7xlarge:表示28核112GB(D3C PRO)。'."\n"
.'- lindorm.sd3c.14xlarge:表示56核224GB(D3C PRO)。'."\n"
.'- lindorm.d2c.6xlarge:表示24核88GB(D2C)。'."\n"
.'- lindorm.d2c.12xlarge:表示48核176GB(D2C)。'."\n"
.'- lindorm.d2c.24xlarge:表示96核352GB(D2C)。'."\n"
.'- lindorm.d2s.5xlarge:表示20核88GB(D2S)。'."\n"
.'- lindorm.d2s.10xlarge:表示40核176GB(D2S)。'."\n"
.'- lindorm.d1.2xlarge:表示8核32GB(D1NE)。'."\n"
.'- lindorm.d1.4xlarge:表示16核64GB(D1NE)。'."\n"
.'- lindorm.d1.6xlarge:表示24核96GB(D1NE)。', 'type' => 'string', 'example' => 'lindorm.g.2xlarge'],
'EnableAttachLocalDisk' => ['description' => '节点上是否挂载本地云盘', 'type' => 'boolean', 'example' => 'false'],
'LocalDiskCategory' => ['description' => '本地云盘类型'."\n"
."\n"
.'- cloud_essd: 性能型云盘'."\n"
.'- cloud_efficiency: 标准型云盘', 'type' => 'string', 'example' => 'cloud_essd'],
'LocalDiskCapacity' => ['description' => '本地云盘空间大小,单位GB', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'CpuCoreCount' => ['description' => '节点vCPU核数目。', 'type' => 'integer', 'format' => 'int32', 'example' => '32'],
'MemorySizeGiB' => ['description' => '节点内存大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '64'],
'Quantity' => ['description' => '节点数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'Category' => ['description' => '废弃', 'type' => 'string', 'example' => 'caculated'],
'ResourceGroupName' => ['description' => '节点组名称,**必填**,与创建时保持一致', 'type' => 'string', 'example' => 'job_debug'],
'SpecId' => ['description' => '与交付组ID唯一对应的ID。', 'type' => 'string', 'example' => 'ecs.c6.large'],
'Status' => ['description' => '节点状态', 'type' => 'string', 'example' => 'ACTIVATION'],
],
],
],
],
],
],
'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-aek2i6weeb4nfii'],
'ServiceType' => ['description' => '实例类型,取值:'."\n"
."\n"
.'- **lindorm_v2**:表示Lindorm V2单可用区实例。'."\n"
.'- **lindorm_v2_multizone**:表示Lindorm V2多可用区基础版实例。'."\n"
.'- **lindorm_v2_multizone_ha**:表示Lindorm V2多可用区g高可用版实例。', 'type' => 'string', 'example' => 'lindorm_v2'],
'WhiteIpList' => [
'description' => '实例访问白名单',
'type' => 'array',
'items' => [
'description' => '实例访问白名单',
'type' => 'object',
'properties' => [
'GroupName' => ['description' => '分组名称,只允许包含字母、数字、下划线。', 'type' => 'string', 'example' => 'swhy'],
'IpList' => ['description' => '白名单IP地址。', 'type' => 'string', 'example' => '[\'10.2.0.0/18\', \'10.0.0.0/24\', \'119.23.188.139/32\']'],
],
],
],
'StorageUsage' => [
'description' => '实例存储水位',
'type' => 'object',
'properties' => [
'CapacityByDiskCategory' => [
'description' => '实例存储水位',
'type' => 'array',
'items' => ['description' => '实例存储水位', 'type' => 'object', 'example' => 'Capacity'],
],
'EngineUsage' => ['description' => '各引擎存储使用大小', 'type' => 'object', 'example' => '16'],
],
],
'ZoneEngineInfoMap' => ['description' => '引擎可用区部署详情', 'type' => 'object', 'example' => 'ZoneEngineInfoMap'],
'InitialRootPassword' => ['description' => '初始化默认密码', 'type' => 'string', 'example' => '*****'],
'DiskThreshold' => ['description' => '磁盘空间的阈值。', 'type' => 'string', 'example' => '80%'],
'EnableCompute' => ['description' => '是否开通实例的计算引擎,返回:'."\n"
."\n"
.'- **true**:已开通。'."\n"
.'- **false**:未开通。', 'type' => 'boolean', 'example' => 'true'],
'MaintainStartTime' => ['description' => '可维护开始时间。', 'type' => 'string', 'example' => '00:00Z'],
'MaintainEndTime' => ['description' => '可维护结束时间。', 'type' => 'string', 'example' => '20:00Z'],
'CloudStorageSize' => ['description' => '云存储空间,单位GB', 'type' => 'integer', 'format' => 'int64', 'example' => '480'],
'EnableFs' => ['description' => '是否开通文件引擎', 'type' => 'string', 'example' => 'false'],
'EnableStoreTDE' => ['description' => '是否开启存储TDE加密', 'type' => 'string', 'example' => 'false'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => ''],
['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
['errorCode' => 'LindormErrorCode.%s', 'errorMessage' => '%s.', 'description' => '%s.'],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询Lindorm V2实例详情',
'summary' => '查询新架构实例详情。',
'description' => 'Lindorm 集群的底层存储版本>= 4.1.9 以后,存储使用详情参考 LStorageUsageList 放回的列表值。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetLindormV2InstanceDetails',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VpcId\\": \\"vpc-bp1xxxxxxxxxxxxxxxxxx\\",\\n \\"VswitchId\\": \\"vsw-bp1xxxxxxxxxxxxxxxxxx\\",\\n \\"PayType\\": \\"POSTPAY\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"DiskUsage\\": \\"0.0%\\",\\n \\"DiskCategory\\": \\"PerformanceStorage\\",\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"ColdStorage\\": 800,\\n \\"ExpiredMilliseconds\\": 1629993600000,\\n \\"AutoRenew\\": true,\\n \\"DeletionProtection\\": \\"false\\",\\n \\"AliUid\\": 0,\\n \\"InstanceId\\": \\"ld-bp1mq0tdzbx1m****\\",\\n \\"InstanceType\\": \\"basic\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CreateMilliseconds\\": 1627290664000,\\n \\"InstanceAlias\\": \\"lindorm-test\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"InstanceStatus\\": \\"ACTIVATION\\",\\n \\"PrimaryZoneId\\": \\"cn-shanghai-e\\",\\n \\"PrimaryVSwitchId\\": \\"vsw-uf6fdqa7c0pipnqzq****\\",\\n \\"StandbyZoneId\\": \\"cn-shanghai-f\\",\\n \\"StandbyVSwitchId\\": \\"vsw-2zec0kcn08cgdtr6****\\",\\n \\"ArbiterZoneId\\": \\"cn-shanghai-g\\",\\n \\"ArbiterVSwitchId\\": \\"vsw-uf6664pqjawb87k36****\\",\\n \\"EngineList\\": [\\n {\\n \\"Version\\": \\"2.2.3\\",\\n \\"Engine\\": \\"TABLE\\",\\n \\"IsLastVersion\\": false,\\n \\"LatestVersion\\": \\"2.2.19.2\\",\\n \\"ConnectAddressList\\": [\\n {\\n \\"Address\\": \\"ld-mxj9asg***-proxy-lindorm-vpc.lindorm.aliyuncs.com:33060\\",\\n \\"Type\\": \\"INTRANET\\",\\n \\"Port\\": \\"33060\\"\\n }\\n ],\\n \\"NodeGroup\\": [\\n {\\n \\"NodeSpec\\": \\"lindorm.g.2xlarge\\",\\n \\"EnableAttachLocalDisk\\": false,\\n \\"LocalDiskCategory\\": \\"cloud_essd\\",\\n \\"LocalDiskCapacity\\": 100,\\n \\"CpuCoreCount\\": 32,\\n \\"MemorySizeGiB\\": 64,\\n \\"Quantity\\": 10,\\n \\"Category\\": \\"caculated\\",\\n \\"ResourceGroupName\\": \\"job_debug\\",\\n \\"SpecId\\": \\"ecs.c6.large\\",\\n \\"Status\\": \\"ACTIVATION\\"\\n }\\n ]\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-aek2i6weeb4nfii\\",\\n \\"ServiceType\\": \\"lindorm_v2\\",\\n \\"WhiteIpList\\": [\\n {\\n \\"GroupName\\": \\"swhy\\",\\n \\"IpList\\": \\"[\'10.2.0.0/18\', \'10.0.0.0/24\', \'119.23.188.139/32\']\\"\\n }\\n ],\\n \\"StorageUsage\\": {\\n \\"CapacityByDiskCategory\\": [\\n {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n ],\\n \\"EngineUsage\\": 16\\n },\\n \\"ZoneEngineInfoMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"InitialRootPassword\\": \\"*****\\",\\n \\"DiskThreshold\\": \\"80%\\",\\n \\"EnableCompute\\": true,\\n \\"MaintainStartTime\\": \\"00:00Z\\",\\n \\"MaintainEndTime\\": \\"20:00Z\\",\\n \\"CloudStorageSize\\": 480,\\n \\"EnableFs\\": \\"false\\",\\n \\"EnableStoreTDE\\": \\"false\\"\\n}","type":"json"}]',
],
'GetLindormV2StorageUsage' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '194193',
'abilityTreeNodes' => ['FEATUREhitsdbDXDFAS'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-ufxxxxxxxxxx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'CapacityByDiskCategory' => [
'description' => '各存储介质的容量信息',
'type' => 'array',
'items' => [
'description' => '- **mode** 存储模式,取值:'."\n"
.' - **LOCAL_DISK** 本地盘'."\n"
.' - **CLOUD_DISK** 云盘'."\n"
.' - **REMOTE_STORAGE** 容量型/归档型 云存储'."\n"
.' - **CLOUD_STORAGE** 性能型/标准型 云存储'."\n"
.'- **category** 存储类型,取值:'."\n"
.' - **LOCAL_HDD** 本地HDD盘'."\n"
.' - **LOCAL_SSD** 本地SSD盘'."\n"
.' - **CLOUD_ESSD** ESSD云盘'."\n"
.' - **CLOUD_ESSD_PL1** ESSD_PL1云盘'."\n"
.' - **CLOUD_EFFICIENCY** 高效云盘'."\n"
.' - **STD_CLOUD_ESSD_PL0** 标准型云存储(ESSD_PL0)'."\n"
.' - **PERF_CLOUD_ESSD_PL1** 性能型云存储(ESSD_PL1) '."\n"
.' - **REMOTE_CAP_OSS** 远端容量型OSS'."\n"
.' - **REMOTE_ARCHIVE_OSS** 远端归档型OSS'."\n"
.' - **BACKUP_OSS** 备份容量'."\n"
.'- **perfLevel** 云盘性能等级,取值:'."\n"
.' - **PL0**'."\n"
.' - **PL1**'."\n"
.' - **PL2**'."\n"
.' - **PL3**'."\n"
.' - **AUTO**'."\n"
.'- **capacity** 总容量 (单位: GiB)'."\n"
.'- **usedCapacity** 已使用容量 (单位: GiB)',
'type' => 'object',
'enumValueTitles' => [],
'example' => ' {'."\n"
.' "mode": "CLOUD_STORAGE",'."\n"
.' "perfLevel": "PL1",'."\n"
.' "usedCapacity": 0,'."\n"
.' "category": "PERF_CLOUD_ESSD_PL1",'."\n"
.' "capacity": 4000'."\n"
.' }',
],
],
'UsageByDiskCategory' => [
'description' => '各存储介质的水位信息',
'type' => 'array',
'items' => ['description' => '- **capacity** 总容量(单位: Byte)'."\n"
.'- **used** 已使用容量(单位: Byte)'."\n"
.'- **diskType** 存储类型,取值:'."\n"
.' - **STANDARD_CLOUD_STORAGE** 远端云存储-标准型'."\n"
.' - **PERFORMANCE_CLOUD_STORAGE** 远端云存储-性能型'."\n"
.' - **CAPACITY_CLOUD_STORAGE** 远端云存储-容量型'."\n"
.' - **LOCAL_SSD_STORAGE** 本地SSD盘'."\n"
.' - **LOCAL_HDD_STORAGE** 本地HDD盘'."\n"
.' - **LOCAL_EBS_STORAGE** 本地数据云盘'."\n"
.' - **FOREIGN_BUFFER_STORAGE** 容量型云存储本地缓存云盘'."\n"
.' - **LOCAL_EBS_STORAGE_EFFECTIVE** 本地高效数据云盘'."\n"
.' - **LOCAL_EBS_STORAGE_PL0** 本地PL0数据云盘'."\n"
.' - **LOCAL_EBS_STORAGE_PL1** 本地PL1数据云盘'."\n"
.' - **LOCAL_EBS_STORAGE_PL2** 本地PL2数据云盘'."\n"
.' - **LOCAL_EBS_STORAGE_PL3** 本地PL3数据云盘'."\n"
.'- **usedLindormTable** 宽表引擎使用'."\n"
.'- **usedLindormTsdb** 时序引擎使用'."\n"
.'- **usedLindormSteam** 流引擎使用'."\n"
.'- **usedLindormSearch** 搜索引擎使用'."\n"
.'- **usedLindormSearch3** 搜索引擎使用'."\n"
.'- **usedLindormVector3** 向量引擎使用'."\n"
.'- **usedLindormColumn3** 列存引擎使用'."\n"
.'- **usedLindormMessage3** 消息引擎使用'."\n"
.'- **usedLindormSpark** 计算引擎使用'."\n"
.'- **usedOther** 其他使用', 'type' => 'object', 'example' => ' {'."\n"
.' "usedLindormColumn3": 688935,'."\n"
.' "usedLindormTable": 1086288931872,'."\n"
.' "usedLindormTsdb": 0,'."\n"
.' "usedOther": 0,'."\n"
.' "usedLindormMessage3": 0,'."\n"
.' "diskType": "PerformanceCloudStorage",'."\n"
.' "used": 1719816329046,'."\n"
.' "usedLindormSearch3": 36339905446,'."\n"
.' "usedLindormSpark": 2131936938,'."\n"
.' "capacity": 4294967296000,'."\n"
.' "usedLindormSearch": 0,'."\n"
.' "usedLindormVector3": 595054865855'."\n"
.' }'],
],
'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'BDDB1954-002B-4249-B2DF-2CDDA0259668'],
'InstanceStorageZoneMap' => ['description' => '多可用区实例容量信息'."\n"
."\n"
.'{"ZoneId":{"CapacityByDiskCategory":{...},"UsageByDiskCategory":{...}}}', 'type' => 'object', 'example' => '{'."\n"
.' "cn-hangzhou-i": {'."\n"
.' "diskTypeCapacity": ['."\n"
.' {'."\n"
.' "mode": "CLOUD_STORAGE",'."\n"
.' "perfLevel": "PL1",'."\n"
.' "usedCapacity": 0,'."\n"
.' "category": "PERF_CLOUD_ESSD_PL1",'."\n"
.' "capacity": 4000'."\n"
.' }'."\n"
.' ],'."\n"
.' "diskTypeUsage": ['."\n"
.' {'."\n"
.' "usedLindormColumn3": 688935,'."\n"
.' "usedLindormTable": 1086288931872,'."\n"
.' "usedLindormTsdb": 0,'."\n"
.' "usedOther": 0,'."\n"
.' "usedLindormMessage3": 0,'."\n"
.' "diskType": "PerformanceCloudStorage",'."\n"
.' "used": 1719816329046,'."\n"
.' "usedLindormSearch3": 36339905446,'."\n"
.' "usedLindormSpark": 2131936938,'."\n"
.' "capacity": 4294967296000,'."\n"
.' "usedLindormSearch": 0,'."\n"
.' "usedLindormVector3": 595054865855'."\n"
.' }'."\n"
.' ]'."\n"
.' }'."\n"
.' }'],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => ''],
['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取Lindorm_V2实例存储详情',
'summary' => '获取某个具体的Lindorm新架构实例下各个存储介质的存储详情。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetLindormV2StorageUsage',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CapacityByDiskCategory\\": [\\n {\\n \\"mode\\": \\"CLOUD_STORAGE\\",\\n \\"perfLevel\\": \\"PL1\\",\\n \\"usedCapacity\\": 0,\\n \\"category\\": \\"PERF_CLOUD_ESSD_PL1\\",\\n \\"capacity\\": 4000\\n }\\n ],\\n \\"UsageByDiskCategory\\": [\\n {\\n \\"usedLindormColumn3\\": 688935,\\n \\"usedLindormTable\\": 1086288931872,\\n \\"usedLindormTsdb\\": 0,\\n \\"usedOther\\": 0,\\n \\"usedLindormMessage3\\": 0,\\n \\"diskType\\": \\"PerformanceCloudStorage\\",\\n \\"used\\": 1719816329046,\\n \\"usedLindormSearch3\\": 36339905446,\\n \\"usedLindormSpark\\": 2131936938,\\n \\"capacity\\": 4294967296000,\\n \\"usedLindormSearch\\": 0,\\n \\"usedLindormVector3\\": 595054865855\\n }\\n ],\\n \\"RequestId\\": \\"BDDB1954-002B-4249-B2DF-2CDDA0259668\\",\\n \\"InstanceStorageZoneMap\\": {\\n \\"cn-hangzhou-i\\": {\\n \\"diskTypeCapacity\\": [\\n {\\n \\"mode\\": \\"CLOUD_STORAGE\\",\\n \\"perfLevel\\": \\"PL1\\",\\n \\"usedCapacity\\": 0,\\n \\"category\\": \\"PERF_CLOUD_ESSD_PL1\\",\\n \\"capacity\\": 4000\\n }\\n ],\\n \\"diskTypeUsage\\": [\\n {\\n \\"usedLindormColumn3\\": 688935,\\n \\"usedLindormTable\\": 1086288931872,\\n \\"usedLindormTsdb\\": 0,\\n \\"usedOther\\": 0,\\n \\"usedLindormMessage3\\": 0,\\n \\"diskType\\": \\"PerformanceCloudStorage\\",\\n \\"used\\": 1719816329046,\\n \\"usedLindormSearch3\\": 36339905446,\\n \\"usedLindormSpark\\": 2131936938,\\n \\"capacity\\": 4294967296000,\\n \\"usedLindormSearch\\": 0,\\n \\"usedLindormVector3\\": 595054865855\\n }\\n ]\\n }\\n },\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'ListTagResources' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '资源ID列表。',
'type' => 'array',
'items' => ['description' => '实例ID,可以查询多个实例和标签的绑定关系,请传入多个实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'ld-bp17j28j2y7pm****'],
'required' => false,
'docRequired' => true,
'maxItems' => 51,
'minItems' => 0,
],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '下一个查询开始Token,用来返回更多结果。'."\n"
."\n"
.'> 第一次查询不需要提供本参数,如果一次查询没有返回全部结果,则可在后续查询中传入前一次返回的**NextToken**值以继续查询。', 'type' => 'string', 'required' => false, 'example' => '212db86****'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型,取值固定为**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签的键。'."\n"
.'> 可以传入多个标签的键。例如:第一对中的Key表示传入第一个标签的键。第二对中的Key表示传入第二个标签的键。', 'type' => 'string', 'required' => false, 'example' => 'test'],
'Value' => ['description' => '标签的值。'."\n"
.'> 可以传入多个标签的值。例如:第一对中的Value表示传入第一个标签的值。第二对中的Value表示传入第二个标签的值。', 'type' => 'string', 'required' => false, 'example' => '2.2.8'],
],
'required' => false,
'description' => '',
],
'required' => false,
'maxItems' => 21,
'minItems' => 0,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '05CB115C-91CB-529F-9098-50C1F6CB3BD3'],
'TagResources' => [
'description' => '资源列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ResourceType' => ['description' => '资源类型。返回值固定为**ALIYUN::HITSDB::INSTANCE**。', 'type' => 'string', 'example' => 'ALIYUN::HITSDB::INSTANCE'],
'TagValue' => ['description' => '标签的值。', 'type' => 'string', 'example' => '2.2.8'],
'ResourceId' => ['description' => '资源ID,即实例ID。', 'type' => 'string', 'example' => 'ld-bp17j28j2y7pm****'],
'TagKey' => ['description' => '标签的键。', 'type' => 'string', 'example' => 'test'],
],
'description' => '',
],
],
'NextToken' => ['description' => '下一个查询开始Token。'."\n"
."\n"
.'> 如果一次查询没有返回全部结果,则会返回本参数,您可以后续查询中传入本参数返回的值以继续查询。', 'type' => 'string', 'example' => '212db86****'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.MissingParameter', 'errorMessage' => 'You must specify ResourceId.N or Tags', 'description' => '请指定实例ID或标签。'],
['errorCode' => 'Lindorm.Errorcode.NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded.', 'description' => '标签数量超过限制,最多不超过20个。'],
['errorCode' => 'Lindorm.Errorcode.NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded.', 'description' => '实例ID数量超过限制,最多不超过50个'],
],
403 => [
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
[
['errorCode' => 'Lindorm.Errorcode.InstanceNotFound', 'errorMessage' => 'The instance is not found.', 'description' => '操作失败,该实例不存在。'],
],
],
'title' => '获取Lindorm实例和标签的绑定关系',
'summary' => '获取Lindorm实例和标签的绑定关系。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:ListTagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"05CB115C-91CB-529F-9098-50C1F6CB3BD3\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"ALIYUN::HITSDB::INSTANCE\\",\\n \\"TagValue\\": \\"2.2.8\\",\\n \\"ResourceId\\": \\"ld-bp17j28j2y7pm****\\",\\n \\"TagKey\\": \\"test\\"\\n }\\n ],\\n \\"NextToken\\": \\"212db86****\\"\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <RequestId>48E3A4AA-808C-5480-9DC7-8F4B96E13A93</RequestId>\\n <TagResources>\\n <ResourceType>ALIYUN::HITSDB::INSTANCE</ResourceType>\\n <TagValue>2.2.8</TagValue>\\n <ResourceId>ld-bp17j28j2y7pm****</ResourceId>\\n <TagKey>test</TagKey>\\n </TagResources>\\n <NextToken>212db86****</NextToken>\\n</ListTagResourcesResponse>","errorExample":""}]',
],
'ModifyInstancePayType' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '158675',
'abilityTreeNodes' => ['FEATUREhitsdb6YHIIK'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1z3506imz2f****'],
],
[
'name' => 'Duration',
'in' => 'query',
'schema' => ['description' => '购买时长,转成包年包月类型时需要传入。'."\n"
."\n"
.'- PricingCycle为Month时,取值范围为\\[1,9\\]。'."\n"
."\n"
.'- PricingCycle为Year时,取值范围为\\[1,3\\]。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PricingCycle',
'in' => 'query',
'schema' => ['description' => '转成包年包月类型时的购买时长单位。'."\n"
."\n"
.'- Month:月。'."\n"
."\n"
.'- Year:年。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'Month'],
],
[
'name' => 'PayType',
'in' => 'query',
'schema' => ['description' => '实例的付费类型,返回:'."\n"
."\n"
.'- **PREPAY**:包年包月。'."\n"
.'- **POSTPAY**:按量付费。', 'type' => 'string', 'required' => true, 'example' => 'POSTPAY'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '587BCA54-50DA-4885-ADE9-80A848339151'],
'OrderId' => ['description' => '订单ID', 'type' => 'integer', 'format' => 'int64', 'example' => '211662251220224'],
'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'ld-bp1z3506imz2f****'],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
['errorCode' => 'Instance.IsNotAvailable', 'errorMessage' => 'The instance is unavailable.', 'description' => '操作失败,实例不可用。'],
],
403 => [
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
[
['errorCode' => 'Lindorm.Errorcode.InstanceNotFound', 'errorMessage' => 'The instance is not found.', 'description' => '操作失败,该实例不存在。'],
],
],
'title' => '变更Lindorm实例的计费方式',
'summary' => '变更Lindorm实例的计费方式。',
'description' => '调整实例的付费类型,支持包年包月与按量付费类型之间进行切换。'."\n"
."\n"
.'请确保在使用该接口前,已充分了解Lindorm产品的收费方式和<props="china">[价格](https://www.aliyun.com/price/product?spm=openapi-amp.newDocPublishment.0.0.6345281fu63xJ3#/hitsdb/detail/hitsdb_lindormpre_public_cn)。只发布国内站</props>'."\n"
.'<props="intl">[价格](https://www.alibabacloud.com/zh/pricing-calculator?_p_lc=1&spm=a2796.7960336.3034855210.1.7396b91aC5VjZ7#/commodity/vm_intl)。只发布国际站</props>',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:ModifyInstancePayType',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"587BCA54-50DA-4885-ADE9-80A848339151\\",\\n \\"OrderId\\": 211662251220224,\\n \\"InstanceId\\": \\"ld-bp1z3506imz2f****\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'ReleaseLindormInstance' => [
'summary' => '释放Lindorm实例。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeCode' => '64084',
'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1z3506imz2f****'],
],
[
'name' => 'Immediately',
'in' => 'query',
'schema' => ['description' => '是否立即释放实例。默认false,实例数据会继续保留7天,然后删除;如果选择true,实例数据会被立刻删除。', 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'example' => 'false', 'default' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F67BFFF3-F5C2-45B5-9C28-6E4A1E51****'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ChargeType.IsNotValid', 'errorMessage' => 'The charge type is invalid.', 'description' => '操作失败,实例的付费类型无效,请重新设置付费类型。'],
['errorCode' => 'Instance.IsNotPostPay', 'errorMessage' => 'The instance billing type is not pay as you go.', 'description' => '该实例的付费类型不是按量付费。'],
['errorCode' => 'Instance.DeleteProtection', 'errorMessage' => 'Instance deletion is protected. Please disable delete protection before deleting the instance.', 'description' => '实例已启用删除保护,在删除实例之前先禁用删除保护。'],
],
403 => [
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
[
['errorCode' => 'Lindorm.Errorcode.InstanceNotFound', 'errorMessage' => 'The instance is not found.', 'description' => '操作失败,该实例不存在。'],
],
],
'title' => '释放Lindorm实例',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2025-05-26T12:59:31.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-05-26T12:55:38.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2025-05-26T12:55:30.000Z', 'description' => 'OpenAPI 下线'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'lindorm:ReleaseLindormInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F67BFFF3-F5C2-45B5-9C28-6E4A1E51****\\"\\n}","type":"json"}]',
],
'ReleaseLindormV2Instance' => [
'summary' => '释放实例。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeCode' => '253512',
'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~190281~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1o3y0yme2i2****'],
],
[
'name' => 'Immediately',
'in' => 'query',
'schema' => ['description' => '是否立即释放实例。默认false,实例数据会继续保留7天,然后删除;如果选择true,实例数据会被立刻删除。', 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'example' => 'true', 'default' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0A7153E4-8354-497E-87E5-5D0EBEF5AEB1'],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ChargeType.IsNotValid', 'errorMessage' => 'The charge type is invalid.', 'description' => '操作失败,实例的付费类型无效,请重新设置付费类型。'],
['errorCode' => 'Instance.IsNotPostPay', 'errorMessage' => 'The instance billing type is not pay as you go.', 'description' => '该实例的付费类型不是按量付费。'],
['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
['errorCode' => 'Instance.DeleteProtection', 'errorMessage' => 'Instance deletion is protected. Please disable delete protection before deleting the instance.', 'description' => '实例已启用删除保护,在删除实例之前先禁用删除保护。'],
],
403 => [
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
[
['errorCode' => 'Lindorm.Errorcode.InstanceNotFound', 'errorMessage' => 'The instance is not found.', 'description' => '操作失败,该实例不存在。'],
],
],
'title' => '释放Lindorm V2实例',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'lindorm:ReleaseLindormV2Instance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0A7153E4-8354-497E-87E5-5D0EBEF5AEB1\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'RenewLindormInstance' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '158636',
'abilityTreeNodes' => ['FEATUREhitsdb6YHIIK'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'example' => 'ld-bp1z3506imz2f****'],
],
[
'name' => 'PricingCycle',
'in' => 'query',
'schema' => [
'description' => '实例购买的付费周期,取值:'."\n"
."\n"
.'- **Month**:单位为月。'."\n"
.'- **Year**:单位为年。',
'type' => 'string',
'required' => true,
'example' => 'Month',
'enum' => ['Month', 'Year'],
],
],
[
'name' => 'Duration',
'in' => 'query',
'schema' => ['description' => '实例包年包月的时间,取值:'."\n"
."\n"
.'- PricingCycle为**Month**,表示按月付费,取值范围为**1**~**9**。'."\n"
.'- PricingCycle为**Year**,表示按年付费,取值范围为**1**~**3**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '9', 'minimum' => '1', 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'ld-bp1z3506imz2f****'],
'OrderId' => ['description' => '订单ID。您可以在阿里云费用与成本的订单管理中获取。', 'type' => 'integer', 'format' => 'int64', 'example' => '213465921640411'],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
['errorCode' => 'Lindorm.Errorcode.Order.CreateFailed', 'errorMessage' => 'Create order failed.', 'description' => ''],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
[
['errorCode' => 'Lindorm.Errorcode.PayType.IsNotValid', 'errorMessage' => 'Pay type is not valid.', 'description' => ''],
['errorCode' => 'Lindorm.Errorcode.Commodity.NotFound', 'errorMessage' => 'Commodity is not found.', 'description' => ''],
],
],
'title' => '为Lindorm实例续费',
'summary' => 'Lindorm包年包月类型实例续费。',
'description' => '为包年包月类型实例进行续费操作,续费周期:月、年,续费时长1 ~ 9(月),1 ~ 3(年)。'."\n"
."\n"
.'请确保在使用该接口前,已充分了解Lindorm产品的收费方式和价格。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:RenewLindormInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"InstanceId\\": \\"ld-bp1z3506imz2f****\\",\\n \\"OrderId\\": 213465921640411,\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'SwitchLSQLV3MySQLService' => [
'summary' => '开通与关闭Lindorm MySQL兼容协议。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '195286',
'abilityTreeNodes' => ['FEATUREhitsdb7G1Y1A'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1o3y0yme2i2****'],
],
[
'name' => 'ActionType',
'in' => 'query',
'schema' => [
'description' => '操作类型'."\n"
.'取值:'."\n"
."\n"
.'- 1:开通'."\n"
."\n"
.'- 0:关闭',
'type' => 'integer',
'format' => 'int32',
'required' => true,
'docRequired' => true,
'example' => '1',
'enum' => ['0', '1'],
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'MinorVersion.TooLow', 'errorMessage' => 'The minor version is too low. Please upgrade.', 'description' => '操作失败,引擎版本过低,请升级引擎版本。'],
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
],
],
'title' => '开通LindormMySQL协议',
'description' => '前提条件:'."\n"
."\n\n"
.'- 实例宽表引擎版本号>= 2.6.0'."\n"
."\n"
.'- 宽表引擎支持lindormSQL V3版本。通过实例详情接口(GetLindormInstance)的返回值EnableLsqlVersionV3=true判断,2023-10-24号之后新购的实例默认已支持EnableLsqlVersionV3=true;存量实例需要联系值班同学评估后再打开。'."\n"
."\n"
.'满足如上两个条件才可以支持开通MySQL协议,',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:SwitchLSQLV3MySQLService',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'TagResources' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '128918',
'abilityTreeNodes' => ['FEATUREhitsdbI6NK1A'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型,取值固定为**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '资源ID列表。',
'type' => 'array',
'items' => ['description' => '实例ID,可以同时为多个实例绑定标签,请传入多个实例ID。可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'ld-bp17j28j2y7pm****'],
'required' => true,
'maxItems' => 51,
'minItems' => 1,
],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签的键。'."\n"
."\n"
.'> 可以传入多个标签的键。例如:第一对中的Key表示传入第一个标签的键。第二对中的Key表示传入第二个标签的键。', 'type' => 'string', 'required' => true, 'example' => 'test'],
'Value' => ['description' => '标签的值。'."\n"
."\n"
.'> 可以传入多个标签的值。例如:第一对中的Value表示传入第一个标签的值。第二对中的Value表示传入第二个标签的值。', 'type' => 'string', 'required' => false, 'example' => '2.2.8'],
],
'required' => false,
'description' => '',
],
'required' => true,
'maxItems' => 21,
'minItems' => 1,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4F23D50C-400C-592C-9486-9D1E10179065'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
['errorCode' => 'Lindorm.Errorcode.InvalidParameter.TagValue', 'errorMessage' => 'The Tag.N.Value parameter is invalid.', 'description' => '输入的标签Value无效'],
['errorCode' => 'Lindorm.Errorcode.InvalidParameter.TagKey', 'errorMessage' => 'The Tag.N.Key parameter is invalid.', 'description' => '输入的标签Key无效。'],
['errorCode' => 'Lindorm.Errorcode.Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', 'description' => '存在重复标签Key。'],
['errorCode' => 'Lindorm.Errorcode.NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded.', 'description' => '实例ID数量超过限制,最多不超过50个'],
['errorCode' => 'Lindorm.Errorcode.NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded.', 'description' => '标签数量超过限制,最多不超过20个。'],
['errorCode' => 'Lindorm.Errorcode.QuotaExceed.TagsPerResource', 'errorMessage' => 'The maximum number of tags for each resource is exceeded', 'description' => '单个实例标签数量超限。'],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => ''],
],
[
['errorCode' => 'Lindorm.Errorcode.InvalidResourceId', 'errorMessage' => 'The specified ResourceIds are not found in our records.', 'description' => '指定的实例不存在'],
['errorCode' => 'Lindorm.Errorcode.MissingParameter.TagKey', 'errorMessage' => 'You must specify Tag.N.Key.', 'description' => '请指定标签Key'],
],
],
'title' => '为Lindorm实例绑定标签',
'summary' => '为一个或多个Lindorm实例绑定标签。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:TagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4F23D50C-400C-592C-9486-9D1E10179065\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>4F23D50C-400C-592C-9486-9D1E10179065</RequestId>\\n</TagResourcesResponse>","errorExample":""}]',
],
'UntagResources' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '129417',
'abilityTreeNodes' => ['FEATUREhitsdbI6NK1A'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型,取值固定为**INSTANCE**。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '实例ID列表。',
'type' => 'array',
'items' => ['description' => '实例ID,可以同时为多个实例解绑标签,请传入多个实例ID。可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'ld-bp17j28j2y7pm****'],
'required' => true,
'maxItems' => 51,
'minItems' => 1,
],
],
[
'name' => 'TagKey',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签的键列表。',
'type' => 'array',
'items' => ['description' => '标签的键。'."\n"
."\n"
.'> 如果需要解绑多个实例的标签,请填写多个实例标签的键。例如:第一个TagKey表示第一个ResourceId标签的值;第二个TagKey表示第二个ResourceId标签的值。', 'type' => 'string', 'required' => false, 'example' => 'test'],
'required' => false,
'maxItems' => 21,
'minItems' => 1,
],
],
[
'name' => 'All',
'in' => 'query',
'schema' => ['description' => '是否解绑实例上的所有标签,取值:'."\n"
."\n"
.'- **true**:解绑实例上的所有标签。'."\n"
.'- **false**:不解绑实例上的所有标签。'."\n"
."\n"
.'> - 默认值为false。'."\n"
.'- 如果同时传入TagKey和本参数,本参数不生效。'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8CACBBCE-7519-545C-8695-86D4F09CED7E'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
['errorCode' => 'Lindorm.Errorcode.InvalidParameter.TagKey', 'errorMessage' => 'The Tag.N.Key parameter is invalid.', 'description' => '输入的标签Key无效。'],
['errorCode' => 'Lindorm.Errorcode.Tags.ExceedLimitation', 'errorMessage' => 'The maximum number of Tags is exceeded.', 'description' => '标签数量超限'],
['errorCode' => 'Lindorm.Errorcode.Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', 'description' => '存在重复标签Key。'],
['errorCode' => 'Lindorm.Errorcode.InvalidTagKey.Malformed', 'errorMessage' => 'The Tag.N.Key parameter is invalid.', 'description' => '无效的标签Key'],
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild.TagKeysOrDeleteAll', 'errorMessage' => 'The TagKeys or DeleteAll parameter is invalid.', 'description' => '请指定唯一标签或设置全部删除。'],
['errorCode' => 'Lindorm.Errorcode.InvalidResourceId.NotFound', 'errorMessage' => 'The specified ResourceIds are not found in our records.', 'description' => '实例资源不存在'],
['errorCode' => 'Lindorm.Errorcode.NumberExceed.ResourceIds', 'errorMessage' => 'The ResourceIds parameter\'s number is exceed.', 'description' => ''],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => ''],
],
],
'title' => '为Lindorm实例解绑标签',
'summary' => '为Lindorm实例解绑标签。',
'description' => '如果标签没有绑定到任何Lindorm实例,则该标签会被删除。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:UntagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8CACBBCE-7519-545C-8695-86D4F09CED7E\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <RequestId>8CACBBCE-7519-545C-8695-86D4F09CED7E</RequestId>\\n</UntagResourcesResponse>","errorExample":""}]',
],
'UpdateInstanceIpWhiteList' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '64089',
'abilityTreeNodes' => ['FEATUREhitsdb3JDHWG'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1z3506imz2f****'],
],
[
'name' => 'SecurityIpList',
'in' => 'query',
'schema' => ['description' => '需要设置的白名单IP地址。'."\n"
."\n"
.'> 127.0.0.1表示禁止所有地址访问,例如192.168.0.0/24表示允许所有192.168.0.X的IP地址访问该Lindorm实例。多个白名单用半角逗号(,)分隔。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '192.168.0.X/24'],
],
[
'name' => 'GroupName',
'in' => 'query',
'schema' => ['description' => '白名单分组名称,不填默认为”user“。', 'type' => 'string', 'required' => false, 'example' => 'test_group'],
],
[
'name' => 'Delete',
'in' => 'query',
'schema' => ['description' => '是否清空白名单。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4944539D-D27C-458D-95F1-2DCEB5E0EED5'],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
],
403 => [
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'title' => '设置Lindorm实例的访问白名单',
'summary' => '设置Lindorm实例的访问白名单。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:UpdateInstanceIpWhiteList',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4944539D-D27C-458D-95F1-2DCEB5E0EED5\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'UpdateLindormInstanceAttribute' => [
'summary' => '更新实例名称或删除保护。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '76409',
'abilityTreeNodes' => ['FEATUREhitsdb6YHIIK'],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1z3506imz2f****'],
],
[
'name' => 'InstanceAlias',
'in' => 'query',
'schema' => ['description' => '实例名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'lindorm-test'],
],
[
'name' => 'DeletionProtection',
'in' => 'query',
'schema' => ['description' => '是否开启删除保护,返回:'."\n"
."\n"
.'- **true**:开启。'."\n"
.'- **false**:关闭。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
'AccessDeniedDetail' => ['description' => '访问被拒绝的详细原因。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
],
403 => [
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'title' => '更新实例名称或删除保护',
'description' => '创建实例时至少需选择一种数据引擎。'."\n"
.'例如,想创建宽表引擎,则必须同时填写**LindormNum**(宽表引擎节点数量)和**LindormSpec**(宽表引擎节点规格)参数。关于数据引擎和存储规格请参见[如何选择数据引擎](~~174643~~)和[如何选择存储规格](~~181971~~)。'."\n"
."\n"
.'><notice>创建实例时如果未填写数据引擎参数,则会导致API调用失败。></notice>',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:UpdateLindormInstanceAttribute',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'UpdateLindormV2Instance' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeCode' => '251726',
'abilityTreeNodes' => ['FEATUREhitsdbUE1KPV'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '实例的地域ID,可调用[DescribeRegions](~~426062~~)查询,使用此参数指定要创建实例的地域。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'CloudStorageType',
'in' => 'query',
'schema' => [
'description' => '云存储类型'."\n"
."\n"
.'- **PerformanceStorage**:性能型云存储。'."\n"
.'- **StandardStorage**:标准型云存储。',
'type' => 'string',
'required' => false,
'docRequired' => true,
'example' => 'PerformanceStorage',
'enum' => ['StandardStorage', 'PerformanceStorage', 'CapacityStorage'],
],
],
[
'name' => 'CloudStorageSize',
'in' => 'query',
'schema' => ['description' => '云存储空间,单位GB', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '480'],
],
[
'name' => 'EnableCapacityStorage',
'in' => 'query',
'schema' => ['description' => '是否开启容量型存储', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'CapacityStorageSize',
'in' => 'query',
'schema' => ['description' => '容量型存储空间', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10000'],
],
[
'name' => 'EngineList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '引擎类型列表。',
'type' => 'array',
'items' => [
'description' => '引擎信息列表。',
'type' => 'object',
'properties' => [
'EngineType' => [
'description' => '引擎类型,返回值:'."\n"
."\n"
.'- TABLE:宽表引擎。'."\n"
.'- TSDB:时序引擎。'."\n"
.'- LSEARCH:搜索引擎。'."\n"
.'- LTS:LTS引擎。'."\n"
.'- LVECTOR:向量引擎。'."\n"
.'- LCOLUMN:列存引擎。'."\n"
.'- LAI:AI引擎。',
'type' => 'string',
'required' => true,
'example' => 'TABLE',
'enum' => ['TABLE', 'TSDB', 'LTS', 'LSEARCH', 'LSTREAM', 'LVECTOR', 'LMESSAGE', 'LAI', 'LCOLUMN'],
],
'NodeGroupList' => [
'description' => '引擎节点组列表',
'type' => 'array',
'items' => [
'description' => '引擎节点组列表',
'type' => 'object',
'properties' => [
'NodeSpec' => ['description' => '引擎节点规格'."\n"
."\n"
.'- **lindorm.c.2xlarge**:表示8核16GB。'."\n"
.'- **lindorm.g.2xlarge**:表示8核32GB。'."\n"
.'- **lindorm.c.4xlarge**:表示16核32GB。'."\n"
.'- **lindorm.g.4xlarge**:表示16核64GB。'."\n"
.'- **lindorm.c.8xlarge**:表示32核64GB。'."\n"
.'- **lindorm.g.8xlarge**:表示32核128GB。', 'type' => 'string', 'required' => true, 'example' => 'lindorm.g.2xlarge'],
'NodeCount' => ['description' => '节点数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '6'],
'NodeDiskType' => [
'description' => '节点云盘类型,非必填,**特殊场景下使用,白名单开放**',
'type' => 'string',
'required' => false,
'example' => 'cloud_essd',
'default' => 'cloud_essd',
'enum' => ['cloud_essd', 'cloud_efficiency'],
],
'NodeDiskSize' => ['description' => '单节点磁盘大小,非必填', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
'ResourceGroupName' => ['description' => '节点组名称,**必填**,通过GetLindormV2Instance接口查询返回', 'type' => 'string', 'required' => false, 'example' => 'groupName'],
'GroupId' => ['description' => '节点组Id', 'type' => 'string', 'required' => false, 'example' => 'ix90Yes'],
],
'required' => false,
],
'required' => false,
'maxItems' => 12,
'minItems' => 1,
],
],
'required' => false,
],
'required' => true,
'maxItems' => 100,
],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ld-bp1o3y0yme2i2****'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1556DCB0-043A-4444-8BD9-CF4A68E7EE64'],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ld-bp1478w1603****'],
'OrderId' => ['description' => '订单ID', 'type' => 'integer', 'format' => 'int64', 'example' => '240136741090345'],
'AccessDeniedDetail' => ['description' => '权限校验失败详情。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.ParameterInvaild', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
['errorCode' => 'LindormErrorCode.%s', 'errorMessage' => '%s.', 'description' => '%s.'],
['errorCode' => 'LindormErrorCode.OperationDenied.OrderProcessing', 'errorMessage' => 'There is an order in process, please confirm that it has been processed and try again.', 'description' => ''],
],
403 => [
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => ''],
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'hitsdb::2020-06-15::GetLindormV2Instance', 'callbackInterval' => 300000, 'maxCallbackTimes' => 12],
'title' => '变配Lindorm V2实例',
'summary' => '更新LindormV2Instance',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:UpdateLindormV2Instance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1556DCB0-043A-4444-8BD9-CF4A68E7EE64\\",\\n \\"InstanceId\\": \\"ld-bp1478w1603****\\",\\n \\"OrderId\\": 240136741090345,\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'UpdateLindormV2WhiteIpList' => [
'summary' => '设置LindormV2实例的访问白名单',
'path' => '',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREhitsdb3JDHWG'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID,可调用GetLindormV2InstanceList接口获取。'."\n"
."\n", 'type' => 'string', 'required' => true, 'example' => 'ld-2ze5ipz9zx1e4****'],
],
[
'name' => 'WhiteIpGroupList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '白名单分组列表。',
'type' => 'array',
'items' => [
'description' => '白名单分组列表。',
'type' => 'object',
'properties' => [
'GroupName' => ['description' => '白名单分组名称。', 'type' => 'string', 'required' => true, 'example' => 'user001'],
'WhiteIpList' => ['description' => '需要设置的白名单IP地址。'."\n"
.'> 127.0.0.1表示禁止所有地址访问,例如192.168.0.0/24表示允许所有192.168.0.X的IP地址访问该Lindorm实例。多个白名单用半角逗号(,)分隔。'."\n", 'type' => 'string', 'required' => true, 'example' => '192.168.0.X/24'],
],
'required' => false,
],
'required' => true,
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0A7153E4-8354-497E-87E5-5D0EBEF5AEB1'],
'AccessDeniedDetail' => ['description' => '权限校验失败详情。', 'type' => 'string', 'example' => '{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"}'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
['errorCode' => 'LindormErrorCode.%s', 'errorMessage' => '%s.', 'description' => '%s.'],
['errorCode' => 'WhiteIpInUpdating', 'errorMessage' => 'Instance is updating whiteIp now, please wait.', 'description' => '实例白名单更新中,请稍候。'],
],
403 => [
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '设置LindormV2实例的访问白名单',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'lindorm:UpdateLindormV2WhiteIpList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0A7153E4-8354-497E-87E5-5D0EBEF5AEB1\\",\\n \\"AccessDeniedDetail\\": \\"{\\\\\\"AuthAction\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"AuthPrincipalDisplayName\\\\\\":\\\\\\"222\\\\\\",\\\\\\"AuthPrincipalOwnerId\\\\\\":\\\\\\"111\\\\\\",\\\\\\"AuthPrincipalType\\\\\\":\\\\\\"SubUser\\\\\\",,\\\\\\"NoPermissionType\\\\\\":\\\\\\"ImplicitDeny\\\\\\",\\\\\\"PolicyType\\\\\\":\\\\\\"AccountLevelIdentityBasedPolicy\\\\\\",\\\\\\"EncodedDiagnosticMessage\\\\\\":\\\\\\"xxxxxx\\\\\\"}\\"\\n}","type":"json"}]',
],
'UpgradeLindormInstance' => [
'summary' => '为Lindorm实例开通冷存储,变更节点规格或节点数量,变更存储空间。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeNodes' => ['FEATUREhitsdbNQ2Q4L'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => '实例所属的地域ID,可调用[DescribeRegions](~~426062~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'ZoneId',
'in' => 'query',
'schema' => ['description' => '可用区ID,可调用[GetLindormInstance](~~426067~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai-f'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID,可调用[GetLindormInstanceList](~~426069~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ld-bp1o3y0yme2i2****'],
],
[
'name' => 'UpgradeType',
'in' => 'query',
'schema' => ['description' => '实例需要变配的类型,支持的变配类型请参见请求参数补充中的UpgradeType参数说明。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'upgrade-cold-storage'],
],
[
'name' => 'ClusterStorage',
'in' => 'query',
'schema' => ['description' => '变配后实例的存储容量,单位为GB,取值:**480**~**1017600**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '480'],
],
[
'name' => 'ColdStorage',
'in' => 'query',
'schema' => ['description' => '变配后实例的冷存储容量,单位为GB,取值:**800**~**1000000**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '800'],
],
[
'name' => 'SolrSpec',
'in' => 'query',
'schema' => ['description' => '变配后实例的搜索引擎节点规格,取值:'."\n"
."\n"
.'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
.'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
.'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
.'- **lindorm.g.8xlarg**e:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'SolrNum',
'in' => 'query',
'schema' => ['description' => '变配后实例的搜索引擎节点数量,取值:**0**~**60**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'LindormSpec',
'in' => 'query',
'schema' => ['description' => '变配后实例的宽表引擎节点规格,取值:'."\n"
."\n"
.'- **lindorm.c.xlarge**:表示4核8GB(独享规格)。'."\n"
.'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
.'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
.'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.c.xlarge'],
],
[
'name' => 'LindormNum',
'in' => 'query',
'schema' => ['description' => '变配后实例的宽表引擎节点数量,取值:**0**~**90**。'."\n"
."\n"
.'> 本参数需要和LindormSpec参数同时传入。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '2'],
],
[
'name' => 'TsdbSpec',
'in' => 'query',
'schema' => ['description' => '变配后实例的时序引擎节点规格,取值:'."\n"
."\n"
.'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
.'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。'."\n"
.'- **lindorm.g.4xlarge**:表示16核64GB(独享规格)。'."\n"
.'- **lindorm.g.8xlarge**:表示32核128GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'TsdbNum',
'in' => 'query',
'schema' => ['description' => '变配后实例的时序引擎节点数量,取值:**0**~**24**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'FilestoreSpec',
'in' => 'query',
'schema' => ['description' => '变配后实例的文件引擎节点规格,取值:'."\n"
."\n"
.'**indorm.c.xlarge**:表示4核8GB(标准规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.c.xlarge'],
],
[
'name' => 'FilestoreNum',
'in' => 'query',
'schema' => ['description' => '变配后实例的文件引擎节点数量,取值:**0**~**60**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'StreamSpec',
'in' => 'query',
'schema' => ['description' => '变配后实例的流引擎节点规格,取值:'."\n"
."\n"
.'- **lindorm.c.2xlarge**:表示8核16GB(独享规格)。'."\n"
.'- **lindorm.c.4xlarge**:表示16核32GB(独享规格)。'."\n"
.'- **lindorm.c.8xlarge**:表示32核64GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'StreamNum',
'in' => 'query',
'schema' => ['description' => '变配后实例的流引擎节点数量,取值:**0**~**90**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'LtsCoreSpec',
'in' => 'query',
'schema' => ['description' => '变配后实例的LTS节点规格,取值:'."\n"
."\n"
.'- **lindorm.g.xlarge**:表示4核16GB(独享规格)。'."\n"
.'- **lindorm.g.2xlarge**:表示8核32GB(独享规格)。', 'type' => 'string', 'required' => false, 'example' => 'lindorm.g.xlarge'],
],
[
'name' => 'LtsCoreNum',
'in' => 'query',
'schema' => ['description' => '变配后实例的LTS节点数量,取值:**0**~**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'CoreSingleStorage',
'in' => 'query',
'schema' => ['description' => '多可用区实例,变配后实例的core单节点容量。取值范围400~64000,单位GB。**如果目标实例是多可用区实例,选填该参数。**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '400GB'],
],
[
'name' => 'LogSpec',
'in' => 'query',
'schema' => ['description' => '多可用区实例,变配后实例的log节点规格。取值如下:'."\n"
.'- **lindorm.sn1.large**:表示4核8GB(独享规格)。'."\n"
.'- **lindorm.sn1.2xlarge**:表示8核16GB(独享规格)。'."\n"
."\n"
.'**如果目标实例是多可用区实例,选填该参数。**', 'type' => 'string', 'required' => false, 'example' => 'lindorm.sn1.large'],
],
[
'name' => 'LogNum',
'in' => 'query',
'schema' => ['description' => '多可用区实例,变配后实例的log节点数量。取值范围4~400。**如果目标实例是多可用区实例,选填该参数。**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'],
],
[
'name' => 'LogSingleStorage',
'in' => 'query',
'schema' => ['description' => '多可用区实例,变配后实例的log单节点磁盘容量。取值范围400-64000,单位GB。**如果目标实例是多可用区实例,选填该参数。**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '400GB'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'OrderId' => ['description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '111111111111111'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2A7D4F9D-AA26-4E15-A2B1-3E4792C6****'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Lindorm.Errorcode.InstanceStorageInvalid', 'errorMessage' => 'The instance storage parameter is invalid: %s', 'description' => ''],
['errorCode' => 'Instance.IsDeleted', 'errorMessage' => 'The instance is deleted.', 'description' => '操作失败,该实例已删除。'],
['errorCode' => 'Instance.IsNotValid', 'errorMessage' => 'The instance is invalid.', 'description' => '操作失败,实例无效。'],
['errorCode' => 'InstanceConfig.NotChanged', 'errorMessage' => 'The upgrade or downgrade configuration is not changed, please check.', 'description' => '升级或降配的配置未改变,请重新选择'],
],
403 => [
['errorCode' => 'API.Forbidden', 'errorMessage' => 'The API operation is forbidden in this environment.', 'description' => '操作失败,当前环境中该API无法使用。'],
['errorCode' => 'Lindorm.Errorcode.OperationDenied', 'errorMessage' => 'You are not authorized to operate on the specified resource.', 'description' => '操作失败,请先申请指定资源的操作权限。'],
['errorCode' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'errorMessage' => 'No permission to create service linked role.', 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
['errorCode' => 'Instance.NotActive', 'errorMessage' => 'Instance is not active.', 'description' => '实例状态不是运行中'],
['errorCode' => 'OperationDenied.OrderProcessing', 'errorMessage' => 'Order in process, please try again later.', 'description' => '存在处理中的订单,请稍后重试'],
],
],
'title' => '变配Lindorm实例',
'description' => 'Lindorm实例的数据引擎和存储规格,请参见[如何选择数据引擎](~~174643~~)和[如何选择存储规格](~~181971~~)。',
'requestParamsDescription' => 'UpgradeType参数说明'."\n"
.'------------------------------------'."\n"
."\n"
.'UpgradeLindormInstance接口中传入UpgradeType参数指定实例的变配类型后,您还需要在对应必选参数中传入配置规格,具体信息请参见下表。'."\n"
."\n\n"
.'| UpgradeType参数 | 类型 | 必选参数 | 描述 |'."\n"
.'|--------------------------|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|'."\n"
.'| upgrade-cold-storage | String | ColdStorage | 开通或扩容冷存储。 |'."\n"
.'| upgrade-disk-size | String | ClusterStorage | 扩容云盘。 |'."\n"
.'| open-search-engine | String | **本盘类型实例**:SolrNum<br>**非本盘类型**:SolrNum、SolrSpec、ClusterStorage | 开通搜索引擎。 |'."\n"
.'| upgrade-search-engine | String | SolrSpec | 升级搜索引擎规格。 **说明** 本盘类型不支持此参数变配。 |'."\n"
.'| upgrade-search-core-num | String | SolrNum和ClusterStorage | 变配搜索引擎节点数。 |'."\n"
.'| open-lindorm-engine | String | **本盘类型**:LindormNum<br>**非本盘类型**:LindormNum、LindormSpec、ClusterStorage | 开通宽表引擎。 |'."\n"
.'| upgrade-lindorm-engine | String | LindormSpec | 升级宽表引擎规格。 **说明** 本盘类型不支持此参数变配。 |'."\n"
.'| upgrade-lindorm-core-num | String | LindormNum和ClusterStorage | 变配宽表引擎节点数。 |'."\n"
.'| open-tsdb-engine | String | TsdbSpec、TsdbNum、ClusterStorage | 开通时序引擎。 |'."\n"
.'| upgrade-tsdb-engine | String | TsdbSpec | 升级时序引擎规格。 **说明** 本盘类型不支持此参数变配。 |'."\n"
.'| upgrade-tsdb-core-num | String | TsdbNum和ClusterStorage | 变配时序引擎节点数。 |'."\n"
.'| open-stream-engine | String | StreamSpec、StreamNum、ClusterStorage | 开通流引擎。 |'."\n"
.'| upgrade-stream-engine | String | StreamSpec | 升级流引擎规格。 **说明** 本盘类型不支持此参数变配。 |'."\n"
.'| upgrade-stream-core-num | String | StreamNum和ClusterStorage | 变配流引擎节点数。 |'."\n"
.'| upgrade-file-engine | String | FilestoreSpec | 升级文件引擎规格。 **说明** 本盘类型不支持此参数变配。 |'."\n"
.'| upgrade-file-core-num | String | FilestoreNum | 变配文件引擎节点数。 |'."\n"
.'| open-bds-transfer | String | **本盘类型**:LtsCoreNum、LtsCoreSpec和SolrNum<br>**非本盘类型**:LtsCoreNum、LtsCoreSpec、SolrNum和SolrSpec | 开通BDS(LTS)引擎和搜索引擎。 |'."\n"
.'| upgrade-bds-transfer | String | LtsCoreSpec | 变更BDS(LTS)引擎规格。 |'."\n"
.'| upgrade-bds-core-num | String | LtsCoreNum | 变配BDS(LTS)引擎节点数。 |'."\n"
.'| open-bds-transfer-only | String | LtsCoreNum和LtsCoreSpec | 实例已开通搜索引擎,只需开通BDS(LTS)引擎。 |'."\n"
."\n"
.'若实例是多可用区实例,请参考下表。'."\n"
."\n"
.'| UpgradeType参数 | 类型 | 必选参数 | 描述 |'."\n"
.'|--------------------------|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|'."\n"
.'| upgrade-disk-size | String | CoreSingleStorage和LogSingleStorage | 扩容Core单节点磁盘容量或Log单节点磁盘容量。 |'."\n"
.'| upgrade-lindorm-engine | String | LindormSpec和LogSpec | 升级Core节点规格或Log节点规格。 **说明** 本盘类型不支持此参数变配。 |'."\n"
.'| upgrade-lindorm-core-num | String | LindormNum和LogNum | 变配Core节点数量或Log节点数量。 |',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:UpgradeLindormInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderId\\": 111111111111111,\\n \\"RequestId\\": \\"2A7D4F9D-AA26-4E15-A2B1-3E4792C6****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpgradeLindormInstanceResponse>\\n <OrderId>111111111111111</OrderId>\\n <RequestId>2A7D4F9D-AA26-4E15-A2B1-3E4792C6****</RequestId>\\n</UpgradeLindormInstanceResponse>","errorExample":""}]',
],
],
'endpoints' => [
['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'hitsdb.cn-wulanchabu.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-wulanchabu.aliyuncs.com'],
['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-beijing.aliyuncs.com', 'endpoint' => 'hitsdb.cn-beijing.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-beijing.aliyuncs.com'],
['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-qingdao.aliyuncs.com', 'endpoint' => 'hitsdb.cn-qingdao.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-qingdao.aliyuncs.com'],
['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-shanghai.aliyuncs.com', 'endpoint' => 'hitsdb.cn-shanghai.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-shanghai.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-hongkong.aliyuncs.com', 'endpoint' => 'hitsdb.cn-hongkong.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-hongkong.aliyuncs.com'],
['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'hitsdb.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-zhangjiakou.aliyuncs.com'],
['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-shenzhen.aliyuncs.com', 'endpoint' => 'hitsdb.cn-shenzhen.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-shenzhen.aliyuncs.com'],
['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.ap-northeast-1.aliyuncs.com', 'endpoint' => 'hitsdb.ap-northeast-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.ap-northeast-1.aliyuncs.com'],
['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-chengdu.aliyuncs.com', 'endpoint' => 'hitsdb.cn-chengdu.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-chengdu.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.ap-southeast-1.aliyuncs.com', 'endpoint' => 'hitsdb.ap-southeast-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.ap-southeast-1.aliyuncs.com'],
['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.ap-southeast-3.aliyuncs.com', 'endpoint' => 'hitsdb.ap-southeast-3.aliyuncs.com', 'vpc' => 'hitsdb-vpc.ap-southeast-3.aliyuncs.com'],
['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-huhehaote.aliyuncs.com', 'endpoint' => 'hitsdb.cn-huhehaote.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-huhehaote.aliyuncs.com'],
['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.ap-southeast-5.aliyuncs.com', 'endpoint' => 'hitsdb.ap-southeast-5.aliyuncs.com', 'vpc' => 'hitsdb-vpc.ap-southeast-5.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hitsdb.cn-hangzhou.aliyuncs.com', 'endpoint' => 'hitsdb.cn-hangzhou.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-hangzhou.aliyuncs.com'],
['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hitsdb.us-east-1.aliyuncs.com', 'endpoint' => 'hitsdb.us-east-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.us-east-1.aliyuncs.com'],
['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hitsdb.eu-west-1.aliyuncs.com', 'endpoint' => 'hitsdb.eu-west-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.eu-west-1.aliyuncs.com'],
['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hitsdb.us-west-1.aliyuncs.com', 'endpoint' => 'hitsdb.us-west-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.us-west-1.aliyuncs.com'],
['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hitsdb.eu-central-1.aliyuncs.com', 'endpoint' => 'hitsdb.eu-central-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.eu-central-1.aliyuncs.com'],
['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'hitsdb.cn-hangzhou-finance.aliyuncs.com', 'endpoint' => 'hitsdb.cn-hangzhou-finance.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-hangzhou-finance.aliyuncs.com'],
['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'hitsdb.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'hitsdb.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'hitsdb.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'hitsdb.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-shanghai-finance-1.aliyuncs.com'],
['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'hitsdb.cn-north-2-gov-1.aliyuncs.com', 'endpoint' => 'hitsdb.cn-north-2-gov-1.aliyuncs.com', 'vpc' => 'hitsdb-vpc.cn-north-2-gov-1.aliyuncs.com'],
],
'errorCodes' => [
['code' => 'API.Forbidden', 'message' => 'The API operation is forbidden in this environment.', 'http_code' => 403, 'description' => '操作失败,当前环境中该API无法使用。'],
['code' => 'ChargeType.IsNotValid', 'message' => 'The charge type is invalid.', 'http_code' => 400, 'description' => '操作失败,实例的付费类型无效,请重新设置付费类型。'],
['code' => 'CloudDiskNodes.less', 'message' => 'Nodes too less, please ensure that the number of engine nodes is more than %s', 'http_code' => 400, 'description' => '请确保所选数据库引擎节点总数大于等于%s个'],
['code' => 'Commodity.NotFound', 'message' => 'The commodity is not found.', 'http_code' => 400, 'description' => '操作失败,商品信息未找到,请输入正确的商品信息。'],
['code' => 'Commodity.NotFound', 'message' => 'Failed to obtain the commodity code, it may be that the current interface does not support the creation of this type of instance.', 'http_code' => 404, 'description' => '获取商品信息失败,可能当前类型实例并不支持通过API创建。'],
['code' => 'CurrentEngineType.ClassChangingNotSupported', 'message' => 'The current engine type does not support class changing.', 'http_code' => 400, 'description' => '操作失败,当前实例的引擎类型不支持变配操作。'],
['code' => 'Forbidden', 'message' => 'User not authorized to operate on the specified resource.', 'http_code' => 403, 'description' => '用户没有权限对该资源进行操作。'],
['code' => 'Instance.DoesNotSupportShrinkStorage', 'message' => 'Storage scale in is not supported.', 'http_code' => 400, 'description' => '操作失败,不支持减少实例的存储容量。'],
['code' => 'Instance.IsDeleted', 'message' => 'The instance is deleted.', 'http_code' => 400, 'description' => '操作失败,该实例已删除。'],
['code' => 'Instance.IsModifyingClass', 'message' => 'The instance class is being modified and cannot be operated.', 'http_code' => 400, 'description' => '操作失败,实例正在执行变配操作,请变配操作结束后再重试。'],
['code' => 'Instance.IsNotAvailable', 'message' => 'The instance is unavailable.', 'http_code' => 400, 'description' => '操作失败,实例不可用。'],
['code' => 'Instance.IsNotPostPay', 'message' => 'The instance billing type is not subscription.', 'http_code' => 400, 'description' => '操作失败,付费类型为包年包月不支持该操作。'],
['code' => 'Instance.IsNotPostPay', 'message' => 'The instance billing type is not pay as you go.', 'http_code' => 400, 'description' => '该实例的付费类型不是按量付费。'],
['code' => 'Instance.IsNotValid', 'message' => 'The instance is invalid.', 'http_code' => 400, 'description' => '操作失败,实例无效。'],
['code' => 'Instance.NotActive', 'message' => 'Instance is not active.', 'http_code' => 403, 'description' => '实例状态不是运行中'],
['code' => 'Instance.RestartError', 'message' => 'An error occurred while restarting the instance.', 'http_code' => 400, 'description' => '操作失败,重启实例出错,请重试。'],
['code' => 'Instance.SpecIsNotValid', 'message' => 'The instance specification is invalid.', 'http_code' => 400, 'description' => '操作失败,当前实例的引擎规格参数无效,请检查输入的参数。'],
['code' => 'Instance.Upgrade.ParamsIsNotValid', 'message' => 'The instance upgrade parameters are invalid.', 'http_code' => 400, 'description' => '实例升级参数不合法。'],
['code' => 'Instance.Upgrade.ParamsIsNotValid', 'message' => 'The instance upgrade parameters are invalid.', 'http_code' => 400, 'description' => '操作失败,实例的升级规格参数无效,请输入正确的升级规格。'],
['code' => 'InstanceConfig.NotChanged', 'message' => 'The upgrade or downgrade configuration is not changed, please check.', 'http_code' => 400, 'description' => '升级或降配的配置未改变,请重新选择'],
['code' => 'Lindorm.Errorcode.Commodity.NotFound', 'message' => 'The specified commodity is not found.', 'http_code' => 404, 'description' => '商品类型不存在'],
['code' => 'Lindorm.Errorcode.Duplicate.TagKey', 'message' => 'The Tag.N.Key contains duplicate keys.', 'http_code' => 400, 'description' => '存在重复标签Key。'],
['code' => 'Lindorm.Errorcode.InstanceNotFound', 'message' => 'The instance is not found.', 'http_code' => 404, 'description' => '操作失败,该实例不存在。'],
['code' => 'Lindorm.Errorcode.InstanceStorageInvalid', 'message' => 'The instance storage parameter is invalid: %s', 'http_code' => 400, 'description' => '操作失败,实例的存储空间参数无效,请输入正确的存储空间数。'],
['code' => 'Lindorm.Errorcode.InvalidParameter.TagKey', 'message' => 'The Tag.N.Key parameter is invalid.', 'http_code' => 400, 'description' => '输入的标签Key无效。'],
['code' => 'Lindorm.Errorcode.InvalidParameter.TagValue', 'message' => 'The Tag.N.Value parameter is invalid.', 'http_code' => 400, 'description' => '输入的标签Value无效'],
['code' => 'Lindorm.Errorcode.InvalidResourceId', 'message' => 'The specified ResourceIds are not found in our records.', 'http_code' => 404, 'description' => '指定的实例不存在'],
['code' => 'Lindorm.Errorcode.InvalidResourceId.NotFound', 'message' => 'The specified ResourceIds are not found in our records.', 'http_code' => 400, 'description' => '实例资源不存在'],
['code' => 'Lindorm.Errorcode.InvalidTagKey.Malformed', 'message' => 'The Tag.N.Key parameter is invalid.', 'http_code' => 400, 'description' => '无效的标签Key'],
['code' => 'Lindorm.Errorcode.MissingParameter', 'message' => 'You must specify ResourceId.N or Tags', 'http_code' => 400, 'description' => '请指定实例ID或标签。'],
['code' => 'Lindorm.Errorcode.MissingParameter.TagKey', 'message' => 'You must specify Tag.N.Key.', 'http_code' => 404, 'description' => '请指定标签Key'],
['code' => 'Lindorm.Errorcode.NotSupportChange', 'message' => 'Does not support change class', 'http_code' => 400, 'description' => '规格或节点数暂不支持变更'],
['code' => 'Lindorm.Errorcode.NumberExceed.ResourceIds', 'message' => 'The ResourceIds parameter is number is exceed', 'http_code' => 400, 'description' => '实例数量超限,最多不超过50个。'],
['code' => 'Lindorm.Errorcode.NumberExceed.ResourceIds', 'message' => 'The maximum number of ResourceIds is exceeded.', 'http_code' => 400, 'description' => '实例ID数量超过限制,最多不超过50个'],
['code' => 'Lindorm.Errorcode.NumberExceed.Tags', 'message' => 'The maximum number of Tags is exceeded.', 'http_code' => 400, 'description' => '标签数量超过限制,最多不超过20个。'],
['code' => 'Lindorm.Errorcode.OperationDenied', 'message' => 'You are not authorized to operate on the specified resource.', 'http_code' => 403, 'description' => '操作失败,请先申请指定资源的操作权限。'],
['code' => 'Lindorm.Errorcode.ParameterInvaild', 'message' => 'The parameter is invalid.', 'http_code' => 400, 'description' => '操作失败,当前参数无效,请重新设置。'],
['code' => 'Lindorm.Errorcode.ParameterInvaild.TagKeysOrDeleteAll', 'message' => 'The TagKeys or DeleteAll parameter is invalid.', 'http_code' => 400, 'description' => '请指定唯一标签或设置全部删除。'],
['code' => 'Lindorm.Errorcode.ParameterInvalid', 'message' => 'The parameter is invalid.', 'http_code' => 401, 'description' => '操作失败,当前参数无效,请重新设置。'],
['code' => 'Lindorm.Errorcode.QuotaExceed.TagsPerResource', 'message' => 'The maximum number of tags for each resource is exceeded', 'http_code' => 400, 'description' => '单个实例标签数量超限。'],
['code' => 'Lindorm.Errorcode.ResourceNotReady', 'message' => 'Insufficient computing resources in this region. Please submit a ticket.', 'http_code' => 404, 'description' => '实例所在地域计算引擎资源尚未就绪,请提交工单跟进。'],
['code' => 'Lindorm.Errorcode.ServiceLinkedRoleNoPermission', 'message' => 'No permission to create service linked role.', 'http_code' => 403, 'description' => '操作失败,请先申请创建服务关联角色的权限。'],
['code' => 'Lindorm.Errorcode.SystemError', 'message' => 'Internal Error', 'http_code' => 500, 'description' => '服务异常'],
['code' => 'Lindorm.Errorcode.Tags.ExceedLimitation', 'message' => 'The maximum number of Tags is exceeded.', 'http_code' => 400, 'description' => '标签数量超限'],
['code' => 'Lindorm.ErrorCode.WeakPassword', 'message' => 'Your current password is weak. For better security, please use a strong password that includes a mix of uppercase letters, lowercase letters, numbers, and special characters, and is at least 8 characters long.', 'http_code' => 400, 'description' => '当前密码安全性较弱,处于安全考虑,请重新设置密码'],
['code' => 'LindormErrorCode.%s', 'message' => '%s.', 'http_code' => 400, 'description' => '%s.'],
['code' => 'MinorVersion.TooLow', 'message' => 'The minor version is too low. Please upgrade.', 'http_code' => 403, 'description' => '操作失败,引擎版本过低,请升级引擎版本。'],
['code' => 'ModifySecurityIpList.AddAclGetNull', 'message' => 'Failed to add access control list.', 'http_code' => 400, 'description' => '添加访问控制策略失败,请检查输入的参数。'],
['code' => 'ModifySecurityIpList.CreateAclGetNull', 'message' => 'Failed to create access control list.', 'http_code' => 400, 'description' => '创建访问控制策略失败。'],
['code' => 'ModifySecurityIpList.CreateAclGetNull', 'message' => 'Failed to create access control list.', 'http_code' => 400, 'description' => '创建访问控制策略失败,请检查输入的参数。'],
['code' => 'ModifySecurityIpList.DescribeAclFailed', 'message' => 'Failed to describe access control list.', 'http_code' => 400, 'description' => '查询访问控制策略失败,请检查输入的参数。'],
['code' => 'ModifySecurityIpList.LoadBalancerSizeAbnormal', 'message' => 'The number of load balancers is abnormal.', 'http_code' => 400, 'description' => '操作失败,负载均衡器数量输入异常,请检查输入的数量。'],
['code' => 'ModifySecurityIpList.QueryIngressFailed', 'message' => 'Failed to query SLB ingress.', 'http_code' => 400, 'description' => '查询负载均衡器的Ingress策略失败,请检查输入的参数。'],
['code' => 'ModifySecurityIpList.QueryLoadBalancersFailed', 'message' => 'Failed to query load balancers.', 'http_code' => 400, 'description' => '查询负载均衡器信息失败,请检查输入的参数。'],
['code' => 'ModifySecurityIpList.RemoveAclFailed', 'message' => 'Failed to remove access control list.', 'http_code' => 400, 'description' => '删除访问控制策略失败,请检查输入的参数。'],
['code' => 'ModifySecurityIpList.SetLBTcpListenerFailed', 'message' => 'Failed to set load balancer TCP listener attribute.', 'http_code' => 400, 'description' => '设置负载均衡器TCP监听器配置失败,请检查输入的参数。'],
['code' => 'OperationDenied.OrderProcessing', 'message' => 'Order in process, please try again later.', 'http_code' => 403, 'description' => '存在处理中的订单,请稍后重试'],
['code' => 'Order.CreateFailed', 'message' => 'Failed to create the order.', 'http_code' => 400, 'description' => '创建订单失败,请重新选择订单信息。'],
['code' => 'SecurityGroup.DescribeFailed', 'message' => 'Failed to query instance security groups.', 'http_code' => 400, 'description' => '查询实例的安全组失败,请重新输入安全组。'],
['code' => 'SecurityGroup.UpdateFailed', 'message' => 'Failed to update instance security groups.', 'http_code' => 400, 'description' => '添加实例的安全组失败,请重新选择安全组。'],
['code' => 'TSDB.Errorcode.InstanceClassAndEngineTypeMismatch', 'message' => 'The engine type and instance class parameters do not match. Instance class will take precedence.', 'http_code' => 411, 'description' => '实例的引擎类型和引擎规格不匹配,执行该操作以实例的引擎规格为准。'],
['code' => 'TSDB.Errorcode.InstanceClassInvalid', 'message' => 'The parameter of InstanceClass is invalid.', 'http_code' => 410, 'description' => '操作失败,实例的引擎规格族参数无效,请输入正确的规格。'],
['code' => 'TSDB.Errorcode.InstanceCreateFailed', 'message' => 'Failed to create the instance.', 'http_code' => 414, 'description' => '创建实例操作失败。'],
['code' => 'TSDB.Errorcode.InstanceCreateRetrying', 'message' => 'The system is trying to create the instance again.', 'http_code' => 415, 'description' => '创建实例操作失败,重试中。'],
['code' => 'TSDB.Errorcode.InstanceDeleted', 'message' => 'The instance is already deleted.', 'http_code' => 416, 'description' => '操作失败,该实例已删除。'],
['code' => 'TSDB.Errorcode.InstanceNotFound', 'message' => 'The instance is not found', 'http_code' => 404, 'description' => '操作失败,该实例不存在。'],
['code' => 'TSDB.Errorcode.InstanceNotFound', 'message' => 'The instance is not found. Please try again later.', 'http_code' => 413, 'description' => '操作失败,该实例不存在。'],
['code' => 'TSDB.Errorcode.InstanceStorageInvalid', 'message' => 'The parameter of instance storage is invalid.', 'http_code' => 412, 'description' => '操作失败,实例的存储空间参数无效,请输入正确的存储空间数。'],
['code' => 'TSDB.Errorcode.ParameterInvaild', 'message' => 'The parameter is invalid.', 'http_code' => 400, 'description' => '操作失败,当前参数无效,请重新设置。'],
['code' => 'UnsupportedServiceType', 'message' => 'The instance service type is not supported.', 'http_code' => 403, 'description' => '操作失败,该实例已开通的引擎模式不支持此功能。'],
['code' => 'VisitInstance.ApiNotSupported', 'message' => 'Action failed. Your instance version is too old.', 'http_code' => 400, 'description' => '操作失败,该实例引擎版本过低不支持此功能,请升级引擎版本。'],
['code' => 'VisitInstance.Failed', 'message' => 'Failed to connect the instance. Please contact our customer service.', 'http_code' => 503, 'description' => '连接实例失败,请提交工单处理。'],
['code' => 'VisitInstance.Timeout', 'message' => 'Timed out connecting the instance. Please check if any time-consuming task was submitted, or contact our customer service.', 'http_code' => 500, 'description' => '操作失败,连接实例超时,请检查该实例是否正在执行耗时的任务,或者请提交工单处理。'],
['code' => 'InvalidDBInstance.NotFound', 'message' => 'Specified instance does not exist or not support.', 'http_code' => 404, 'description' => '该实例不存在或者不支持该操作。'],
['code' => 'IncorrectDBState', 'message' => 'Can not do this operation, because instance status is not ACTIVATION.', 'http_code' => 403, 'description' => '不允许做当前操作,因为实例状态不是运行中。'],
['code' => 'Instance.DeleteProtection', 'message' => 'Instance deletion is protected. Please disable delete protection before deleting the instance.', 'http_code' => 400, 'description' => '实例已启用删除保护,在删除实例之前先禁用删除保护。'],
['code' => 'Resource.ecsResource.closeSale', 'message' => 'This region is currently closed for sale.', 'http_code' => 400, 'description' => '当前区域已关闭实例售卖功能,建议选择其他区域创建实例。如需协助,请咨询技术支持。'],
['code' => 'WhiteIpInUpdating', 'message' => 'Instance is updating whiteIp now, please wait.', 'http_code' => 400, 'description' => '实例白名单更新中,请稍候。'],
['code' => 'ScalingRule.ExecutionTimeConflict', 'message' => 'The execution times of the scaling rules conflict.', 'http_code' => 400, 'description' => '弹性伸缩定时任务的执行时间存在冲突'],
['code' => 'Ranger.NotEnabled', 'message' => 'For your data security, please enable Ranger service before switching public network.', 'http_code' => 403, 'description' => '为了您的数据安全,请在开通公网地址前先开通Ranger服务。'],
],
'changeSet' => [
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'GetLindormInstance'],
['description' => '错误码发生变更', 'api' => 'CreateLindormInstance'],
],
'createdAt' => '2025-06-04T12:13:27.000Z',
'description' => '',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'GetLindormInstance'],
['description' => '错误码发生变更', 'api' => 'CreateLindormInstance'],
],
'createdAt' => '2025-06-04T12:13:27.000Z',
'description' => '',
],
],
'ram' => [
'productCode' => 'Lindorm',
'productName' => '云原生多模数据库 Lindorm',
'ramCodes' => ['lindorm'],
'ramLevel' => '资源级',
'ramConditions' => [],
'ramActions' => [
[
'apiName' => 'GetLindormFsUsedDetail',
'description' => '获取Lindorm实例存储详情',
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetLindormFsUsedDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateLindormV2Instance',
'description' => '创建Lindorm V2实例',
'operationType' => 'create',
'ramAction' => [
'action' => 'lindorm:CreateLindormV2Instance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetLindormV2InstanceDetails',
'description' => '查询Lindorm V2实例详情',
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetLindormV2InstanceDetails',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpgradeLindormInstance',
'description' => '变配Lindorm实例',
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:UpgradeLindormInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
'apiName' => 'CreateLindormInstance',
'description' => '创建Lindorm实例',
'operationType' => 'create',
'ramAction' => [
'action' => 'lindorm:CreateLindormInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateLindormV2Instance',
'description' => '变配Lindorm V2实例',
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:UpdateLindormV2Instance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UntagResources',
'description' => '为Lindorm实例解绑标签',
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:UntagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
'apiName' => 'GetInstanceSummary',
'description' => '获取账户实例概览',
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetInstanceSummary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetInstanceIpWhiteList',
'description' => '获取Lindorm实例的访问白名单',
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetInstanceIpWhiteList',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
],
],
],
[
'apiName' => 'ModifyInstancePayType',
'description' => '变更Lindorm实例的计费方式',
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:ModifyInstancePayType',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetLindormInstanceList',
'description' => '获取Lindorm实例列表',
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetLindormInstanceList',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
'apiName' => 'SwitchLSQLV3MySQLService',
'description' => '开通LindormMySQL协议',
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:SwitchLSQLV3MySQLService',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateLindormInstanceAttribute',
'description' => '更新实例名称或删除保护',
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:UpdateLindormInstanceAttribute',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
'apiName' => 'UpdateLindormV2WhiteIpList',
'description' => '设置LindormV2实例的访问白名单',
'operationType' => 'none',
'ramAction' => [
'action' => 'lindorm:UpdateLindormV2WhiteIpList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListTagResources',
'description' => '获取Lindorm实例和标签的绑定关系',
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:ListTagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateInstanceIpWhiteList',
'description' => '设置Lindorm实例的访问白名单',
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:UpdateInstanceIpWhiteList',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
],
],
],
[
'apiName' => 'GetLindormInstance',
'description' => '获取Lindorm实例的详细信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetLindormInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ChangeResourceGroup',
'description' => '资源转组',
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:ChangeResourceGroup',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
'apiName' => 'ReleaseLindormV2Instance',
'description' => '释放Lindorm V2实例',
'operationType' => 'delete',
'ramAction' => [
'action' => 'lindorm:ReleaseLindormV2Instance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
'apiName' => 'GetLindormInstanceEngineList',
'description' => '获取Lindorm实例支持的引擎类型',
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetLindormInstanceEngineList',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
],
],
],
[
'apiName' => 'RenewLindormInstance',
'description' => '为Lindorm实例续费',
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:RenewLindormInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetLindormV2StorageUsage',
'description' => '获取Lindorm_V2实例存储详情',
'operationType' => 'get',
'ramAction' => [
'action' => 'lindorm:GetLindormV2StorageUsage',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ReleaseLindormInstance',
'description' => '释放Lindorm实例',
'operationType' => 'delete',
'ramAction' => [
'action' => 'lindorm:ReleaseLindormInstance',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
[
'apiName' => 'TagResources',
'description' => '为Lindorm实例绑定标签',
'operationType' => 'update',
'ramAction' => [
'action' => 'lindorm:TagResources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Lindorm', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
],
],
],
],
'resourceTypes' => [
['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/*'],
['validationType' => 'always', 'resourceType' => 'VSwitch', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vswitch/*'],
['validationType' => 'conditional', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}'],
['validationType' => 'always', 'resourceType' => 'instance', 'arn' => 'acs:lindorm:{#regionId}:{#accountId}:instance/{#instanceId}'],
['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:lindorm:{#Region}:{#AccountId}:instance/{#InstanceId}'],
],
],
];
|