1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'RPC', 'product' => 'BssOpenApi', 'version' => '2017-12-14'],
'directories' => [
[
'children' => ['QueryAccountBalance', 'QueryAccountTransactionDetails', 'QueryAccountTransactions'],
'type' => 'directory',
'title' => '资金流水',
'id' => 96899,
],
[
'children' => ['QueryRelationList', 'QueryPermissionList', 'GetAccountRelation', 'AddAccountRelation', 'ModifyAccountRelation', 'ConfirmRelation', 'RelieveAccountRelation'],
'type' => 'directory',
'title' => '财务关联',
'id' => 96791,
],
[
'children' => ['QueryInstanceByTag'],
'type' => 'directory',
'title' => '资源标签',
'id' => 96799,
],
[
'children' => ['QueryPrepaidCards', 'QueryRedeem', 'QueryCashCoupons'],
'type' => 'directory',
'title' => '卡券',
'id' => 96803,
],
[
'children' => ['QuerySavingsPlansInstance', 'QuerySavingsPlansDeductLog', 'DescribeSavingsPlansUsageTotal', 'DescribeSavingsPlansUsageDetail', 'DescribeSavingsPlansCoverageTotal', 'DescribeSavingsPlansCoverageDetail', 'QuerySavingsPlansDiscount'],
'type' => 'directory',
'title' => '节省计划',
'id' => 96807,
],
[
'children' => ['CreateResellerUserQuota', 'SetResellerUserQuota', 'ChangeResellerConsumeAmount', 'QueryResellerAvailableQuota', 'SetResellerUserAlarmThreshold', 'QueryResellerUserAlarmThreshold', 'SetResellerUserStatus'],
'type' => 'directory',
'title' => '虚商配额',
'id' => 96816,
],
[
'children' => ['CreateAgAccount', 'GetCustomerAccountInfo', 'GetCustomerList'],
'type' => 'directory',
'title' => '虚商账号',
'id' => 96824,
],
[
'children' => ['QueryResourcePackageInstances', 'QueryDPUtilizationDetail', 'QueryRIUtilizationDetail', 'DescribeResourceUsageTotal', 'DescribeResourceUsageDetail', 'DescribeResourceCoverageTotal', 'DescribeResourceCoverageDetail', 'DescribeResourcePackageProduct', 'GetResourcePackagePrice', 'RenewResourcePackage', 'UpgradeResourcePackage'],
'type' => 'directory',
'title' => '资源包',
'id' => 96828,
],
[
'children' => ['SubscribeBillToOSS', 'UnsubscribeBillToOSS', 'QueryBillToOSSSubscription', 'QueryBillOverview', 'QueryBill', 'QueryAccountBill', 'QuerySettleBill', 'QueryInstanceBill', 'DescribeInstanceBill', 'QueryInstanceGaapCost', 'DescribeInstanceAmortizedCostByAmortizationPeriod', 'DescribeProductAmortizedCostByAmortizationPeriod', 'DescribeInstanceAmortizedCostByConsumePeriod', 'DescribeProductAmortizedCostByConsumePeriod', 'DescribeSplitItemBill', 'QuerySplitItemBill'],
'type' => 'directory',
'title' => '财务账单',
'id' => 96841,
],
[
'children' => ['InquiryPriceRefundInstance', 'GetPayAsYouGoPrice', 'GetSubscriptionPrice'],
'type' => 'directory',
'title' => '询价',
'id' => 96858,
],
[
'children' => ['QueryAvailableInstances', 'ModifyInstance', 'SetRenewal', 'ConvertChargeType'],
'type' => 'directory',
'title' => '实例',
'id' => 96862,
],
[
'children' => ['GetOrderDetail', 'QueryOrders', 'CancelOrder'],
'type' => 'directory',
'title' => '订单',
'id' => 96871,
],
[
'children' => ['CreateCostUnit', 'AllocateCostUnitResource', 'DeleteCostUnit', 'ModifyCostUnit', 'QueryCostUnit', 'QueryCostUnitResource', 'QueryFinancialAccountInfo'],
'type' => 'directory',
'title' => '财务单元',
'id' => 96875,
],
[
'children' => ['QueryEvaluateList', 'QueryCustomerAddressList', 'QueryInvoicingCustomerList', 'ApplyInvoice'],
'type' => 'directory',
'title' => '发票',
'id' => 96883,
],
[
'children' => ['QuerySkuPriceList', 'QueryCommodityList', 'QueryPriceEntityList', 'DescribePricingModule', 'QueryProductList'],
'type' => 'directory',
'title' => '产品',
'id' => 96888,
],
[
'children' => ['QueryUserOmsData', 'SetAllExpirationDay', 'DescribeCostBudgetsSummary', 'RenewChangeInstance', 'CreateInstance', 'RefundInstance', 'ReleaseInstance', 'RenewInstance', 'TagResources', 'UntagResources'],
'type' => 'directory',
'title' => '其他',
'id' => 96894,
],
],
'components' => [
'schemas' => [
'AttributeDetailDTO' => [
'type' => 'object',
'properties' => [
'Code' => ['title' => '属性code', 'type' => 'string'],
'Status' => ['title' => '属性状态', 'type' => 'string'],
'DefaultValue' => ['title' => '默认值', 'type' => 'string'],
'Values' => [
'title' => '属性可选值列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Value' => ['title' => '属性值(对应属性值定义中的identifyKey)', 'type' => 'string'],
'CascadingAttributeValues' => [
'title' => '级联属性值列表(递归结构)',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/AttributeDetailDTO'],
],
],
],
],
],
],
'AttributeInfoDTO' => [
'type' => 'object',
'properties' => [
'OperationalAttributeConfig' => ['title' => '运维属性配置', 'type' => 'string'],
'Code' => ['title' => '属性code', 'type' => 'string'],
'Name' => ['title' => '属性名称(已翻译)', 'type' => 'string'],
'Description' => ['title' => '属性描述(已翻译)', 'type' => 'string'],
'AttributeSource' => ['title' => '属性来源', 'type' => 'string'],
'AttributeType' => ['title' => '属性类型', 'type' => 'string'],
'Unit' => ['title' => '单位', 'type' => 'string'],
'ValueType' => ['title' => '值类型', 'type' => 'string'],
'OperationalAttributeType' => ['title' => '运维属性类型', 'type' => 'string'],
'SubAttributes' => [
'title' => '子属性(完整信息)',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/AttributeInfoDTO'],
],
'DescriptionAttributes' => [
'title' => '描述属性(基础信息)',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/BaseAttributeInfoDTO'],
],
'CompositeAttributes' => [
'title' => '组合属性(基础信息)',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/BaseAttributeInfoDTO'],
],
'AttributeCategories' => [
'title' => '属性分类',
'type' => 'array',
'items' => ['type' => 'string'],
],
'Values' => [
'title' => '属性值列表',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/AttributeValueInfoDTO'],
],
],
],
'AttributeValueInfoDTO' => [
'type' => 'object',
'properties' => [
'Code' => ['title' => '属性code', 'type' => 'string'],
'IdentifyKey' => ['title' => '唯一标识', 'type' => 'string'],
'Description' => ['title' => '描述(已翻译)', 'type' => 'string'],
'Value' => ['title' => '枚举值', 'type' => 'string'],
'ValueName' => ['title' => '值名称(已翻译)', 'type' => 'string'],
'Min' => ['title' => '最小值', 'type' => 'string'],
'Max' => ['title' => '最大值', 'type' => 'string'],
'Step' => ['title' => '步长', 'type' => 'string'],
'DefaultValue' => ['title' => '默认值', 'type' => 'string'],
'BoundedValue' => [
'title' => '上下限值',
'type' => 'object',
'properties' => [
'LowerBound' => [
'title' => '下限列表',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/AttributeValueInfoDTO'],
],
'UpperBound' => [
'title' => '上限列表',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/AttributeValueInfoDTO'],
],
],
],
'OperationTags' => [
'title' => '运营标签',
'type' => 'array',
'items' => ['type' => 'string'],
],
'DescriptionAttributeValues' => [
'title' => '描述属性值',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/AttributeValueInfoDTO'],
],
'SubAttributeValues' => [
'title' => '子属性值',
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/AttributeValueInfoDTO'],
],
],
],
],
'BaseAttributeInfoDTO' => [
'type' => 'object',
'properties' => [
'Code' => ['title' => '属性code', 'type' => 'string'],
'Name' => ['title' => '属性名称(已翻译)', 'type' => 'string'],
'Description' => ['title' => '属性描述(已翻译)', 'type' => 'string'],
'AttributeSource' => ['title' => '属性来源', 'type' => 'string'],
'AttributeType' => ['title' => '属性类型', 'type' => 'string'],
'Unit' => ['title' => '单位', 'type' => 'string'],
'ValueType' => ['title' => '值类型', 'type' => 'string'],
'OperationalAttributeType' => ['title' => '运维属性类型', 'type' => 'string'],
'AttributeCategories' => [
'title' => '属性分类',
'type' => 'array',
'items' => ['type' => 'string'],
],
'Values' => [
'title' => '属性值列表',
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/AttributeValueInfoDTO'],
],
],
],
'SelectedComponentConfigDTO' => [
'type' => 'object',
'properties' => [
'Code' => ['title' => '部件code', 'type' => 'string'],
'Tag' => ['title' => '部件唯一标识(多节点、多盘场景用)', 'type' => 'string'],
'AttributeConfigs' => [
'title' => '属性配置列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'BoundedValue' => [
'title' => '上下限值(上下限类型属性使用)',
'type' => 'object',
'properties' => [
'LowerBound' => [
'title' => '下限值',
'type' => 'object',
'properties' => [
'Code' => ['title' => '属性code', 'type' => 'string'],
'Value' => ['title' => '属性值', 'type' => 'string'],
],
],
'UpperBound' => [
'title' => '上限值',
'type' => 'object',
'properties' => [
'Code' => ['title' => '属性code', 'type' => 'string'],
'Value' => ['title' => '属性值', 'type' => 'string'],
],
],
],
],
'Code' => ['title' => '属性code', 'type' => 'string'],
'Value' => ['title' => '属性值', 'type' => 'string'],
],
],
'maxItems' => 100,
],
],
],
],
],
'apis' => [
'AddAccountRelation' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'RelationType',
'in' => 'query',
'schema' => ['description' => '关系类型,目前仅支持enterprise_group', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'enterprise_group'],
],
[
'name' => 'ParentUserId',
'in' => 'query',
'schema' => ['description' => '主账号的阿里云UID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '-9223372036854775808', 'example' => '1738376485192612'],
],
[
'name' => 'ChildNick',
'in' => 'query',
'schema' => ['description' => '显示名称,用于页面显示,便于明确账号使用场景', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'xxx项目'],
],
[
'name' => 'ChildUserId',
'in' => 'query',
'schema' => ['description' => '子账号的阿里云账号UID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '-9223372036854775808', 'example' => '1512996702208737'],
],
[
'name' => 'RequestId',
'in' => 'query',
'schema' => ['description' => '请求唯一标识,用于标记一次请求,便于定位问题', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '32324242444'],
],
[
'name' => 'PermissionCodes',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '授予子账号的权限数据,权限点如下:'."\n"
."\n"
.'- 允许同步信控身份给关联账号:SYNCHRONIZE\\_FINANCE\\_IDENTITY'."\n"
.'- 允许同步优惠给关联账号:SYNCHRONIZE\\_FINANCE\\_DISCOUNT\\_POLICY\\_TO\\_TARGET'."\n"
.'- 禁止关联账户余额提现:FORBID\\_WITHDRAW\\_CASH'."\n"
.'- 禁止关联账户管理发票:FORBID\\_MANAGE\\_INVOICE'."\n"
.'- 请求查看财务关联信息:CHECK\\_FINANCE\\_INFO'."\n"
.'- 允许管理目标发票:MANAGE\\_TARGET\\_INVOICE'."\n"
.'- 允许查看关联账户消费信息:CHECK\\_TARGET\\_CONSUMPTION',
'type' => 'array',
'items' => ['description' => '权限点。', 'type' => 'string', 'required' => false, 'example' => 'SYNCHRONIZE_FINANCE_IDENTITY'],
'required' => false,
'example' => 'CHECK_TARGET_CONSUMPTION',
'maxItems' => 100,
],
],
[
'name' => 'RoleCodes',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '授予子账号角色,目前仅支持财务托管角色(trusteeship)',
'type' => 'array',
'items' => ['description' => '财务托管角色。', 'type' => 'string', 'required' => false, 'example' => 'trusteeship'],
'required' => false,
'example' => 'trusteeship',
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => '返回信息'],
'RequestId' => ['description' => '请求标识', 'type' => 'string', 'example' => '请求标识'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '数据',
'type' => 'object',
'properties' => [
'HostId' => ['description' => '请求来源ip', 'type' => 'string', 'example' => 'HostId'],
'RelationId' => ['description' => '关联关系id', 'type' => 'integer', 'format' => 'int64', 'example' => 'RelationId'],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"返回信息\\",\\n \\"RequestId\\": \\"请求标识\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"HostId\\": \\"HostId\\",\\n \\"RelationId\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message/>\\n<RequestId/>\\n<Data>\\n <HostId/>\\n</Data>\\n<Code/>\\n<Success>true</Success>","errorExample":""}]',
'title' => '创建财务关联',
'summary' => '创建一个财务关联关系。',
'description' => '1、具体财务关联业务规则参见<props="china">[邀请关联账号]( https://help.aliyun.com/document_detail/100376.html)</props><props="intl">[财务托管协议]( https://www.alibabacloud.com/help/doc-detail/116383.html)</props>。'."\n"
.'2、如果邀约主、子账号实名认证一致,则不需要子账号通过OpenAPI再次确认,否则需要调用ConfirmRelation确认。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2021-12-14T14:50:34.000Z', 'description' => '响应参数发生变更、错误码发生变更'],
],
'ramActions' => [],
],
'AllocateCostUnitResource' => [
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'FromUnitUserId',
'in' => 'query',
'schema' => ['description' => '源财务单元的属主用户ID(必传)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '273394581313325532'],
],
[
'name' => 'FromUnitId',
'in' => 'query',
'schema' => ['description' => '源财务单元ID(必传)。'."\n"
.'- 0表示未分配财务单元ID'."\n"
.'- 大于0表示已分配的财务单元ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '0'],
],
[
'name' => 'ToUnitUserId',
'in' => 'query',
'schema' => ['description' => '目标财务单元属主用户ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '241021678450941490'],
],
[
'name' => 'ToUnitId',
'in' => 'query',
'schema' => ['description' => '目标财务单元ID,取值:'."\n"
.'- -1表示已分配资源移除到未分配。'."\n"
.'- 大于0表示分配到指定财务单元。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '186419'],
],
[
'name' => 'ResourceInstanceList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '资源实例列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ApportionCode' => ['description' => '分拆型实例的分拆型,只有分拆型产品实例才需要传这个参数。'."\n"
.'- 目前分拆项产品有八种商品,其商品code分别是oss、dcdn、snapshot、vod、cdn、live、cbwp。'."\n"
.'- 这个分拆项字段一般是通过QueryCostUnitResource获取用户的某一个财务单元(包含未分配)下的所有账单实例(包括分拆型实例会带分拆项)。', 'type' => 'string', 'required' => false, 'example' => 'qwer1-cn-beijing'],
'CommodityCode' => ['description' => '账单实例的商品code(必传)。', 'type' => 'string', 'required' => true, 'example' => 'oss'],
'ResourceUserId' => ['description' => '账单实例的属主用户ID(必传)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '273394581313325532'],
'ResourceId' => ['description' => '账单的实例ID(必传)。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou;standard'],
],
'required' => false,
],
'required' => true,
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '消息码,例如:success。', 'type' => 'string', 'example' => 'success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '845C629F-47A7-4F46-A470-ED5047C4C250'],
'Success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'false'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'ToUnitUserId' => ['description' => '目标财务单元属主用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '34857693874'],
'IsSuccess' => ['description' => '财务单元资源分配是否分配成功'."\n"
.'- true表示分配成功'."\n"
.'- false表示分配失败', 'type' => 'boolean', 'example' => 'true'],
'ToUnitId' => ['description' => '目标财务单元ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '32857346527'],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"845C629F-47A7-4F46-A470-ED5047C4C250\\",\\n \\"Success\\": false,\\n \\"Data\\": {\\n \\"ToUnitUserId\\": 34857693874,\\n \\"IsSuccess\\": true,\\n \\"ToUnitId\\": 32857346527\\n }\\n}","errorExample":""},{"type":"xml","example":"<AllocateCostUnitResourceResponse>\\r\\n <Data>\\r\\n <CostUnitOperate>\\r\\n <IsSuccess>true</IsSuccess>\\r\\n <ToUnitId>1245</ToUnitId>\\r\\n <ToUnitUserId>1686</ToUnitUserId>\\r\\n </CostUnitOperate>\\r\\n </Data>\\r\\n <Message>Successful!</Message>\\r\\n <RequestId>F5B803CF-94D8-43AF-ADB3-D819AAD30E27</RequestId>\\r\\n <Success>true</Success>\\r\\n <Code>success</Code>\\r\\n</AllocateCostUnitResourceResponse>","errorExample":""}]',
'title' => '资源分配到财务单元',
'summary' => '资源实例(实例型和分拆型)从源财务单元分配到目标财务单元。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2022-11-17T06:23:55.000Z', 'description' => '错误码发生变更'],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'bss:AllocateCostUnitResource',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ApplyInvoice' => [
'summary' => '提交开票申请服务。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'InvoiceAmount',
'in' => 'query',
'schema' => ['description' => '申请开票金额(单位:分)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '10000'],
],
[
'name' => 'CustomerId',
'in' => 'query',
'schema' => ['description' => '发票抬头信息ID,对应QueryInvoicingCustomerList接口返回的ID参数。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '124132423'],
],
[
'name' => 'AddressId',
'in' => 'query',
'schema' => ['description' => '邮寄地址ID,对应QueryCustomerAddressList接口返回的ID参数。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '237958367'],
],
[
'name' => 'InvoicingType',
'in' => 'query',
'schema' => ['description' => '发票类型,取值:'."\n"
.'- 0:专票'."\n"
.'- 1:普票', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ProcessWay',
'in' => 'query',
'schema' => ['description' => '开票渠道,要求为1。取值示例:'."\n"
.'- 0:阿里云处理'."\n"
.'- 1:税务平台处理', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ApplyUserNick',
'in' => 'query',
'schema' => ['description' => '申请人昵称,系统不做校验。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test'],
],
[
'name' => 'InvoiceByAmount',
'in' => 'query',
'schema' => ['description' => '是否按金额开票,若为true则按照用户指定InvoiceAmount申请发票,否则以所选待开票对象的总金额申请发票。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'UserRemark',
'in' => 'query',
'schema' => ['description' => '用户备注', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'SelectedIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '选择开票的待开票对象ID列表,对应QueryEvaluateList接口返回的ID参数。',
'type' => 'array',
'items' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '384752367', 'description' => ''],
'required' => true,
'example' => '384752367',
'maxItems' => 10000,
],
],
[
'name' => 'emails',
'in' => 'query',
'schema' => ['description' => '发票接收邮箱。字段长度最长200,多个邮箱可用英文逗号分隔', 'type' => 'string', 'required' => false, 'example' => 'aaa@aa.com,bbb@bb.com'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'InvoiceApplyId' => ['description' => '发票申请记录ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1323125534'],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"InvoiceApplyId\\": 1323125534\\n }\\n}","errorExample":""},{"type":"xml","example":"<ApplyInvoiceResponse>\\n <Message>Successful!</Message>\\n <RequestId>6000EE23-274B-4E07-A697-FF2E999520A4</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <InvoiceApplyId>1323125534</InvoiceApplyId>\\n </Data>\\n</ApplyInvoiceResponse>","errorExample":""}]',
'title' => '发票申请服务',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2025-02-25T05:59:16.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApplyInvoice'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ApplyInvoice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CancelOrder' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => [],
'parameters' => [
[
'name' => 'OrderId',
'in' => 'query',
'schema' => ['description' => '订单号。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '73465432785'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '30D2285E-A848-4ECB-AA74-4954C60858A1'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回信息。',
'type' => 'object',
'properties' => [
'HostId' => ['description' => '主机ID。', 'type' => 'string', 'example' => 'cn'],
],
],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"30D2285E-A848-4ECB-AA74-4954C60858A1\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"HostId\\": \\"cn\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CancelOrderResponse>\\n <Data>\\n <HostId>cn</HostId>\\n </Data>\\n <Message>Successful!</Message>\\n <RequestId>30D2285E-A848-4ECB-AA74-4954C60858A1</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n</CancelOrderResponse>","errorExample":""}]',
'title' => '取消未支付订单服务',
'summary' => '调用CancelOrder取消未支付订单服务。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '4', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelOrder'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'bss:CancelOrder',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ChangeResellerConsumeAmount' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AdjustType',
'in' => 'query',
'schema' => ['description' => '消费金额调整方向 increase:增加,用户消费增加金额 decrease:减少,用户充值减少金额 [必填]', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'increase/decrease'],
],
[
'name' => 'Amount',
'in' => 'query',
'schema' => ['description' => '调整金额,单位为元,金额必须大于0。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '10.00'],
],
[
'name' => 'Currency',
'in' => 'query',
'schema' => ['description' => '币种', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'CNY'],
],
[
'name' => 'BusinessType',
'in' => 'query',
'schema' => ['description' => '业务类型', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'quota_amount_adjust'],
],
[
'name' => 'Source',
'in' => 'query',
'schema' => ['description' => '请求来源,填写系统名称即可', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'system'],
],
[
'name' => 'OutBizId',
'in' => 'query',
'schema' => ['description' => '外部业务主键ID,用于做幂等性校验使用', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1647396865'],
],
[
'name' => 'ExtendMap',
'in' => 'query',
'schema' => ['description' => '消息扩展字段。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '调用失败时,返回的错误码。更多信息,请参见错误码。', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '调用结果的附加信息。', 'type' => 'string', 'example' => 'successful'],
'Data' => ['description' => '修改后对应的quota账本消费额度', 'type' => 'string', 'example' => '300.00'],
'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F'],
'Success' => ['description' => 'success=true代表调用执行完成。success=false代表执行出现错误。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
['errorCode' => 'ParameterError', 'errorMessage' => 'Missing the must parameter.', 'description' => ''],
['errorCode' => '-1101', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
500 => [
['errorCode' => 'UndefinedError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": \\"300.00\\",\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '进行用户 Quota 消费抵扣',
'description' => '进行用户 Quota 消费抵扣。',
'changeSet' => [
['createdAt' => '2022-12-29T03:08:01.000Z', 'description' => '错误码发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeResellerConsumeAmount'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ChangeResellerConsumeAmount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ConfirmRelation' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'RelationType',
'in' => 'query',
'schema' => ['description' => '关系类型,目前仅支持enterprise_group', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'enterprise_group'],
],
[
'name' => 'ParentUserId',
'in' => 'query',
'schema' => ['description' => '主账号阿里云UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '-9223372036854775808', 'example' => '1738376485192612'],
],
[
'name' => 'ConfirmCode',
'in' => 'query',
'schema' => ['description' => '确认动作:'."\n"
."\n"
.'- 子账号同意:child_agree'."\n"
.'- 子账号拒绝:child_disagree'."\n"
.'- 主账号取消确认:主账号取消确认', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'child_agree'],
],
[
'name' => 'ChildUserId',
'in' => 'query',
'schema' => ['description' => '子账号阿里云UID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '-9223372036854775808', 'example' => '1512996702208737'],
],
[
'name' => 'RequestId',
'in' => 'query',
'schema' => ['description' => '调用请求唯一标识', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'request_id'],
],
[
'name' => 'PermissionCodes',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '授予子账号的权限数据,权限点如下:'."\n"
.'- 允许同步信控身份给关联账号:SYNCHRONIZE_FINANCE_IDENTITY'."\n"
.'- 允许同步优惠给关联账号:SYNCHRONIZE_FINANCE_DISCOUNT_POLICY_TO_TARGET'."\n"
.'- 禁止关联账户余额提现:FORBID_WITHDRAW_CASH'."\n"
.'- 禁止关联账户管理发票:FORBID_MANAGE_INVOICE'."\n"
.'- 请求查看财务关联信息:CHECK_FINANCE_INFO'."\n"
.'- 允许管理目标发票:MANAGE_TARGET_INVOICE'."\n"
.'- 允许查看关联账户消费信息:CHECK_TARGET_CONSUMPTION',
'type' => 'array',
'items' => ['type' => 'string', 'required' => false, 'example' => 'SYNCHRONIZE_FINANCE_IDENTITY'],
'required' => true,
'example' => 'SYNCHRONIZE_FINANCE_IDENTITY',
'maxItems' => 100,
],
],
[
'name' => 'RelationId',
'in' => 'query',
'schema' => ['description' => '关系ID。取值从QueryRelationList接口返回的结果字段relationId获取。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51463'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '业务后台状态码', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => '返回信息'],
'RequestId' => ['description' => '调用请求唯一标识', 'type' => 'string', 'example' => 'request_id'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据',
'type' => 'object',
'properties' => [
'HostId' => ['description' => '主机ID', 'type' => 'string', 'example' => 'HostId'],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"返回信息\\",\\n \\"RequestId\\": \\"request_id\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"HostId\\": \\"HostId\\"\\n }\\n}","errorExample":""}]',
'title' => '确认财务关联',
'summary' => '子账号确认主账号发起的邀约。',
'description' => '1、目前只有财务管理关联,在主、子实名认证不一致的情形下,才需要子账号确认'."\n"
.'2、确认的权限点,必须与主账号发起邀约权限点一致才可以确认成功',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2021-12-14T14:50:34.000Z', 'description' => '请求参数发生变更、错误码发生变更'],
],
'ramActions' => [],
],
'ConvertChargeType' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '实例当前的付费类型,取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。'."\n"
."\n"
.'> 调用成功后资源将被更变为相反的类型。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Subscription'],
],
[
'name' => 'Period',
'in' => 'query',
'schema' => ['description' => '预付费周期(月),如果转换为预付费类型,需要设置购买的预付费的周期时长。取值:'."\n"
.'- 1~9。'."\n"
.'- 12。'."\n"
.'- 24。'."\n"
.'- 36。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '6'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rds'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rm-kasjgfjshgf'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '202657601410661'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
],
405 => [
['errorCode' => 'SYSTEM.SALE_VALIDATE_NO_SPECIFIC_CODE_FAILED', 'errorMessage' => '您购买的数量超过限制。请重新购买。', 'description' => ''],
['errorCode' => 'ORDER.INST_HAS_UNPAID_ORDER', 'errorMessage' => '您选购的服务存在未支付订单,请支付或作废后再下单!', 'description' => ''],
['errorCode' => 'COMMODITY.INVALID_COMPONENT', 'errorMessage' => '必选模块未选择', 'description' => ''],
['errorCode' => 'ORDER.QUANTITY_INVALID', 'errorMessage' => '您购买的数量超过限制。请重新购买。', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"OrderId\\": \\"202657601410661\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<ConvertChargeTypeResponse>\\n <Message>Successful!</Message>\\n <RequestId>6000EE23-274B-4E07-A697-FF2E999520A4</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <OrderId>202657601410661</OrderId>\\n </Data>\\n</ConvertChargeTypeResponse>","errorExample":""}]',
'title' => '切换实例付费模式',
'summary' => '为一个实例变更订阅类型。目前支持SLB、EIP和NAT网关后付费实例转预付费实例,和SLB、EIP产品预付费转后付费实例操作。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2022-12-26T09:54:10.000Z', 'description' => '错误码发生变更'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ConvertChargeType',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CreateAgAccount' => [
'summary' => '创建一个财务关联关系。',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'LoginEmail',
'in' => 'query',
'schema' => ['description' => '登录邮箱', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'email'],
],
[
'name' => 'AccountAttr',
'in' => 'query',
'schema' => ['description' => '新增账号属性,需要在控制台的顶部菜单栏,单击账号属性,跳转至**安全设置**页面查看。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'EnterpriseName',
'in' => 'query',
'schema' => ['description' => '企业名称(统一社会信用代码对应的企业名)。', 'type' => 'string', 'required' => false, 'example' => '阿里云测试有限公司'],
],
[
'name' => 'FirstName',
'in' => 'query',
'schema' => ['description' => '一级分类名称。', 'type' => 'string', 'required' => false, 'example' => '志成'],
],
[
'name' => 'LastName',
'in' => 'query',
'schema' => ['description' => '用户的姓。'."\n"
."\n"
.'长度:最大64个字符。', 'type' => 'string', 'required' => false, 'example' => '吴'],
],
[
'name' => 'NationCode',
'in' => 'query',
'schema' => ['description' => '国家码', 'type' => 'string', 'required' => false, 'example' => 'CN'],
],
[
'name' => 'ProvinceName',
'in' => 'query',
'schema' => ['description' => '省份名称(非必填)。', 'type' => 'string', 'required' => false, 'example' => '北京'],
],
[
'name' => 'CityName',
'in' => 'query',
'schema' => ['description' => '城市名称(英文)。', 'type' => 'string', 'required' => false, 'example' => '北京'],
],
[
'name' => 'Postcode',
'in' => 'query',
'schema' => ['description' => '邮编', 'type' => 'string', 'required' => false, 'example' => '350000'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'LOGIN_EMAIL_HAS_BEEN_USED'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'loginEmail=685741089H@chinaunicom.cn,has used'],
'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'EAE08A27-386C-579E-966D-8853EC3C5D0E'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'AgRelationDto' => [
'description' => 'MPK与PK的二级关系',
'type' => 'object',
'properties' => [
'Type' => ['description' => '关联关系类型', 'type' => 'string', 'example' => 'FINACE_CLOUD'],
'Pk' => ['description' => 'MPK下PK(UID)', 'type' => 'string', 'example' => '1728240534507590'],
'RamAdminRoleName' => ['description' => 'ram角色名称', 'type' => 'string', 'example' => 'admin-role'],
'Mpk' => ['description' => 'MPK(UID)', 'type' => 'string', 'example' => '1785287436011964'],
],
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"LOGIN_EMAIL_HAS_BEEN_USED\\",\\n \\"Message\\": \\"loginEmail=685741089H@chinaunicom.cn,has used\\",\\n \\"RequestId\\": \\"EAE08A27-386C-579E-966D-8853EC3C5D0E\\",\\n \\"Success\\": true,\\n \\"AgRelationDto\\": {\\n \\"Type\\": \\"FINACE_CLOUD\\",\\n \\"Pk\\": \\"1728240534507590\\",\\n \\"RamAdminRoleName\\": \\"admin-role\\",\\n \\"Mpk\\": \\"1785287436011964\\"\\n }\\n}","type":"json"}]',
'title' => '创建平行账号',
'description' => '创建一个财务云主子关系。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAgAccount'],
],
],
'ramActions' => [],
],
'CreateCostUnit' => [
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'UnitEntityList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '财务单元列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ParentUnitId' => ['description' => '父财务单元ID,-1表示财务单元根。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '-1'],
'OwnerUid' => ['description' => '新财务单元的属主用户ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '982375623'],
'UnitName' => ['description' => '财务单元名称。', 'type' => 'string', 'required' => true, 'example' => 'test'],
],
'required' => false,
],
'required' => false,
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F5B803CF-94D8-43AF-ADB3-D819AAD30E27'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'CostUnitDtoList' => [
'description' => '财务单元实体列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ParentUnitId' => ['description' => '父财务单元ID,-1表示财务单元根。', 'type' => 'integer', 'format' => 'int64', 'example' => '-1'],
'UnitName' => ['description' => '财务单元名称。', 'type' => 'string', 'example' => 'test'],
'UnitId' => ['description' => '财务单元ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '84327659328'],
'OwnerUid' => ['description' => '新财务单元的属主用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '26387563'],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"F5B803CF-94D8-43AF-ADB3-D819AAD30E27\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"CostUnitDtoList\\": [\\n {\\n \\"ParentUnitId\\": -1,\\n \\"UnitName\\": \\"test\\",\\n \\"UnitId\\": 84327659328,\\n \\"OwnerUid\\": 26387563\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateCostUnitResponse>\\n <Data>\\n <CostUnitDtoList>\\n <UnitName>dd</UnitName>\\n <ParentUnitId>12***********45</ParentUnitId>\\n <OwnerUid>16************86</OwnerUid>\\n </CostUnitDtoList>\\n </Data>\\n <Message>Successful</Message>\\n <RequestId>F5B803CF-94D8-43AF-ADB3-D819AAD30E27</RequestId>\\n <Success>true</Success>\\n <Code>success</Code>\\n</CreateCostUnitResponse>","errorExample":""}]',
'title' => '创建财务单元',
'summary' => '创建财务单元,支持批量创建。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCostUnit'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:CreateCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CreateInstance' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。可通过接口**QueryProductList**查询产品代码', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Cdn'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'Cdn'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '付费类型,取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Subscription'],
],
[
'name' => 'Period',
'in' => 'query',
'schema' => ['description' => '预付费周期。单位为月,按年付费产品请输入12的整数倍。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12'],
],
[
'name' => 'RenewalStatus',
'in' => 'query',
'schema' => ['description' => '自动续费状态,取值:'."\n"
.'- AutoRenewal:自动续费。'."\n"
.'- ManualRenewal:手动续费。'."\n"
."\n"
.'默认ManualRenewal。', 'type' => 'string', 'required' => false, 'example' => 'ManualRenewal'],
],
[
'name' => 'RenewPeriod',
'in' => 'query',
'schema' => ['description' => '自动续费周期, 单位为月。'."\n"
.'> 当设置**RenewalStatus**为**AutoRenewal**时,必须设置。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '客户端幂等参数,服务端会查询是否有相同ClientToken的请求,如果有,直接返回上次调用结果。', 'type' => 'string', 'required' => false, 'example' => 'JASIOFKVNVIXXXXXX'],
],
[
'name' => 'Logistics',
'in' => 'query',
'schema' => ['description' => '本次订单的物流信息地址,一般对实物类订单有效', 'type' => 'string', 'required' => false, 'example' => '{"cityCode":"330100","cityName":"杭州","contactName":"测试","countryCode":"","districtName":"浦沿街道","email":"**@example.com","mobilePhone":"153564848844","phone":"1234567","provCode":"330000","provName":"浙江省","streetCode":"33010610","streetName":"转塘","zipCode":"0000"}'],
],
[
'name' => 'Parameter',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '模块列表',
'type' => 'array',
'items' => [
'description' => '模块信息',
'type' => 'object',
'properties' => [
'Value' => ['description' => '第n个模块属性value配置,n的取值范围为(1~100)。', 'type' => 'string', 'required' => true, 'example' => 'disk'],
'Code' => ['description' => '第n个模块属性code配置,n的取值范围为(1~100),如有多个模块属性参数,按照n=1,2,3…n的形式拼接多个参数。', 'type' => 'string', 'required' => true, 'example' => 'InstanceType'],
],
'required' => false,
],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'PricingCycle',
'in' => 'query',
'allowEmptyValue' => false,
'schema' => [
'description' => '预付费周期的周期类型'."\n"
."\n"
.'- PricingCycle=1-表示预付费周期的单位是年;'."\n"
."\n"
.'- PricingCycle=2-表示预付费周期的单位是月;'."\n"
."\n"
.'- PricingCycle=3-表示预付费周期的单位是天;'."\n"
."\n"
.'默认值:PricingCycle=2'."\n"
."\n"
.'仅限于部分产品类型使用(ProductType为ddos_originpre_public_cn、ddosDip、ddoscoo、ddos_originpre_public_intl、ddosDip_intl、ddoscoo_intl)',
'type' => 'integer',
'format' => 'int64',
'required' => false,
'example' => '2',
'enum' => [],
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C880B065-A781-4F19-B6DD-3E0E3B715C64'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回信息。',
'type' => 'object',
'properties' => [
'OrderId' => ['description' => '创建成功的订单ID。', 'type' => 'string', 'example' => '20240xxxx21'],
'InstanceId' => ['description' => '订单对应的实例ID。', 'type' => 'string', 'example' => 'OSSBAG-cn-v1hxxxxx23'],
],
],
],
],
],
],
'errorCodes' => [
200 => [
['errorCode' => 'INSUFFICIENT.AVAILABLE.QUOTA', 'errorMessage' => 'The account balance is negative. Add funds to the account and try again.', 'description' => '您的账户可用额度小于0,请先充值后再尝试购买'],
],
400 => [
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
['errorCode' => 'ORDER.ACCOUNT_STATUS_ILLEGAL', 'errorMessage' => 'Please complete your basic personal information first.', 'description' => ''],
['errorCode' => '400', 'errorMessage' => 'Failure to check order before create instance.', 'description' => ''],
['errorCode' => 'ORDER.ACCOUNT_INFORMATION_INCOMPLETE', 'errorMessage' => 'Your information is incomplete. Complete your information before ordering', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"C880B065-A781-4F19-B6DD-3E0E3B715C64\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"OrderId\\": \\"20240xxxx21\\",\\n \\"InstanceId\\": \\"OSSBAG-cn-v1hxxxxx23\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateInstanceResponse>\\n <Message>Successful!</Message>\\n <RequestId>6000EE23-274B-4E07-A697-FF2E999520A4</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <InstanceId>OSSBAG-cn-v1hxxxxx23</InstanceId>\\n <OrderId>20240xxxx21</OrderId>\\n </Data>\\n</CreateInstanceResponse>","errorExample":""}]',
'title' => '实例创建服务',
'summary' => '创建一个实例资源,会创建一个新购实例资源的订单,并自动支付。不支持ECS和RDS系列产品的创建。',
'requestParamsDescription' => '假设想要通过本API创建音视频通信产品应用,完整参数示例如下:'."\n"
."\n"
.'> ProductCode=rtc&SubscriptionType=PayAsYouGo&ProductType=&Parameter.1.Code=ServiceType&Parameter.1.Value=universal&Parameter.2.Code=BillType&Parameter.2.Value=PayByCR&Parameter.3.Code=ServiceAreaCn&Parameter.3.Value=true&Parameter.4.Code=ServiceAreaUs&Parameter.4.Value=false',
'responseParamsDescription' => ' ',
'extraInfo' => '创建成功后,可以使用实例[查询服务](https://www.alibabacloud.com/help/zh/boa/latest/api-bssopenapi-2017-12-14-queryavailableinstances?spm=a2c63.p38356.0.0.53aa436fJ6R68k),查询已创建的实例',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ModifyInstance',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CreateResellerUserQuota' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'Amount',
'in' => 'query',
'schema' => ['description' => '金额,单位元[Quota开户必填]', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '100'],
],
[
'name' => 'Currency',
'in' => 'query',
'schema' => ['description' => '币种名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'CNY:人民币。USD:美元。JPY:日元。'],
],
[
'name' => 'OutBizId',
'in' => 'query',
'schema' => ['description' => '外部系统业务流水号', 'type' => 'string', 'required' => false, 'example' => '7ed0bedc-056e-4a71-9249-4581615c028f'],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '调用失败时,返回的错误码。更多信息,请参见错误码。'."\n"
."\n", 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '调用结果的附加信息。', 'type' => 'string', 'example' => 'Successful!'],
'Data' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => 'success=true代表调用执行完成。success=false代表执行出现错误。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
['errorCode' => 'ParameterError', 'errorMessage' => 'Missing the must parameter.', 'description' => ''],
['errorCode' => '-303', 'errorMessage' => 'Record is exists already.', 'description' => ''],
['errorCode' => 'CreditInnerError', 'errorMessage' => 'This interface has some error. Please try again.', 'description' => ''],
],
500 => [
['errorCode' => 'UndefinedError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"Data\\": true,\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '创建配额账本和消费账本',
'summary' => '创建用户 Quota 配额账本和 Quota 消费账本。',
'changeSet' => [
['createdAt' => '2022-12-29T03:08:01.000Z', 'description' => '错误码发生变更、响应参数发生变更'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:CreateResellerUserQuota',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteCostUnit' => [
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'OwnerUid',
'in' => 'query',
'schema' => ['description' => '财务单元的属主用户ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2135342'],
],
[
'name' => 'UnitId',
'in' => 'query',
'schema' => ['description' => '财务单元ID,-1表示财务单元根。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '376348'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F5B803CF-94D8-43AF-ADB3-D819AAD30E27'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'IsSuccess' => ['description' => '是否完成。', 'type' => 'boolean', 'example' => 'true'],
'UnitId' => ['description' => '新财务单元的ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '123412343'],
'OwnerUid' => ['description' => '财务单元的属主用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '12431'],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"F5B803CF-94D8-43AF-ADB3-D819AAD30E27\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"IsSuccess\\": true,\\n \\"UnitId\\": 123412343,\\n \\"OwnerUid\\": 12431\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteCostUnitResponse>\\n <Data>\\n <CostUnitOperate>\\n <IsSuccess>true</IsSuccess>\\n <OwnerUid>1245</OwnerUid>\\n <UnitId>1686</UnitId>\\n </CostUnitOperate>\\n </Data>\\n <Message>Successful!</Message>\\n <RequestId>F5B803CF-94D8-43AF-ADB3-D819AAD30E27</RequestId>\\n <Success>true</Success>\\n <Code>success</Code>\\n</DeleteCostUnitResponse>","errorExample":""}]',
'title' => '删除财务单元',
'summary' => '删除财务单元。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2022-11-17T06:23:55.000Z', 'description' => '错误码发生变更'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'bss:DeleteCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribeCostBudgetsSummary' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'BudgetName',
'in' => 'query',
'schema' => ['title' => '预算名称', 'description' => '预算名称。模糊匹配', 'type' => 'string', 'required' => false, 'example' => '全年预算'],
],
[
'name' => 'BudgetStatus',
'in' => 'query',
'schema' => [
'title' => '预算状态',
'description' => '预算状态,枚举值:overdue(已过期),notOverdue(未过期)。不填写则默认取全部',
'type' => 'string',
'required' => false,
'enumValueTitles' => ['notOverdue' => 'notOverdue', 'overdue' => 'overdue'],
'example' => 'notOverdue',
],
],
[
'name' => 'BudgetType',
'in' => 'query',
'schema' => [
'title' => '预算类型',
'description' => '预算类型。枚举值:cost(费用预算), byquantity(按量编制预算), asset(使用率及覆盖率预算)。'."\n"
.'不填写则默认取全部',
'type' => 'string',
'required' => false,
'enumValueTitles' => ['cost' => 'cost', 'byquantity' => 'byquantity', 'asset' => 'asset'],
'example' => 'cost',
],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['title' => '开始读取的位置', 'description' => '当前调用开始读取的位置,参数值必须为空或者使用返回结果中的NextToken设值,否则会报错,空则代表从头开始读取。默认:空', 'type' => 'string', 'required' => false, 'example' => 'eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6NH0='],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['title' => '读取的最大数据记录数量', 'description' => '读取的最大数据记录数量。默认值:10,最大值:10,最小值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BssResult<CostBudgetResponse>',
'description' => 'BssResult<CostBudgetResponse>',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3BFC23FE-A182-4D96-A1E4-7521B30B8E43'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'NextToken' => ['title' => '下页token', 'description' => '下页token', 'type' => 'string', 'example' => 'eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6NH0='],
'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
'TotalCount' => ['title' => '总记录数。', 'description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'Items' => [
'description' => '列表信息。',
'type' => 'array',
'items' => [
'description' => '预算列表',
'type' => 'object',
'properties' => [
'BudgetName' => ['description' => '预算名称。', 'type' => 'string', 'example' => '全年预算'],
'BudgetStatus' => ['description' => '预算状态', 'type' => 'string', 'example' => 'overdue'],
'BudgetType' => ['description' => '预算类型。', 'type' => 'string', 'example' => 'cost'],
'Budget' => [
'description' => '预算相关信息,其中:'."\n"
."\n"
.'- BudgetCycleType是滚动周期,枚举值:daily(日),monthly(月),quarterly(季),yearly(年);'."\n"
."\n"
.'- TotalBudgetAmount是预算总额;'."\n"
."\n"
.'- BudgetMemo是预算备注。',
'type' => 'object',
'enumValueTitles' => [],
'example' => '{ "budgetCycleType": "monthly", "budgetMemo": "", "totalBudgetAmount": 220 }',
],
'CalculatedValues' => ['description' => '预实分析相关信息,其中:'."\n"
."\n"
.'- ActualConsumeSum是累计实际值;'."\n"
."\n"
.'- ActualAddForecastedAmount是累计实际与预测之和。当预算类型为费用预算时,累计实际与预测之和为从预算开始日期至当前日期的实际发生额加上从当前日期至预算截止日期的预测值。若当前日期至预算截止日期超过一年,则不会包含超过一年的预测金额部分;当预算类型为使用率及覆盖率预算时,累计实际与预测之和为从预算开始日期至预算截止日期的使用率或覆盖率,不含超过一年的预测部分。'."\n"
."\n"
.'- ActualAndBudgetComparison是预实对比,累计实际值/预算总额*100%;', 'type' => 'object', 'example' => '{ "actualConsumeSum": 88.6, "actualAddForecastedAmount": 89.6, "actualAndBudgetComparison": "20.73%" }'],
'ConsumePeriod' => ['description' => '账期相关信息。其中:'."\n"
."\n"
.'- ConsumePeriodBegin是预算起始日期;'."\n"
."\n"
.'- ConsumePeriodEnd是预算截止日期。', 'type' => 'object', 'example' => '{ "consumePeriodBegin": "2022-10", "consumePeriodEnd": "2022-11" }'],
],
],
],
'HostId' => ['title' => '站点名称', 'description' => '站点名称', 'type' => 'string', 'example' => 'cn'],
],
],
],
],
],
],
'staticInfo' => [],
'title' => '查询成本管理预算概要信息',
'summary' => '查询用户 “成本管理-预算”的概要信息。',
'description' => '本OpenAPI灰度中,仅对部分白名单用户开放,调用过多时不排除出现响应超时等性能问题。',
'changeSet' => [
['createdAt' => '2022-12-06T08:39:39.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCostBudgetsSummary'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeCostBudgetsSummary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3BFC23FE-A182-4D96-A1E4-7521B30B8E43\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6NH0=\\",\\n \\"MaxResults\\": 5,\\n \\"TotalCount\\": 20,\\n \\"Items\\": [\\n {\\n \\"BudgetName\\": \\"全年预算\\",\\n \\"BudgetStatus\\": \\"overdue\\",\\n \\"BudgetType\\": \\"cost\\",\\n \\"Budget\\": {\\n \\"budgetCycleType\\": \\"monthly\\",\\n \\"budgetMemo\\": \\"\\",\\n \\"totalBudgetAmount\\": 220\\n },\\n \\"CalculatedValues\\": {\\n \\"actualConsumeSum\\": 88.6,\\n \\"actualAddForecastedAmount\\": 89.6,\\n \\"actualAndBudgetComparison\\": \\"20.73%\\"\\n },\\n \\"ConsumePeriod\\": {\\n \\"consumePeriodBegin\\": \\"2022-10\\",\\n \\"consumePeriodEnd\\": \\"2022-11\\"\\n }\\n }\\n ],\\n \\"HostId\\": \\"cn\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeCostBudgetsSummaryResponse>\\n <RequestId>3BFC2DDB-2BC5-1AC4-AE39-AA75A6FADE7C</RequestId>\\n <Message>Successful!</Message>\\n <Data>\\n <TotalCount>75</TotalCount>\\n <NextToken>eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MX0=</NextToken>\\n <MaxResults>1</MaxResults>\\n <Items>\\n <BudgetStatus>notOverdue</BudgetStatus>\\n <ConsumePeriod>\\n <consumePeriodBegin>2022-08</consumePeriodBegin>\\n <consumePeriodEnd>2023-07</consumePeriodEnd>\\n </ConsumePeriod>\\n <Budget>\\n <budgetCycleType>annually</budgetCycleType>\\n <budgetMemo/>\\n <totalBudgetAmount>51752.64</totalBudgetAmount>\\n </Budget>\\n <BudgetName>回归验证-费用预算-按年-当月起1年</BudgetName>\\n <BudgetType>cost</BudgetType>\\n <CalculatedValues>\\n <actualConsumeSum>1189.47</actualConsumeSum>\\n <actualAddForecastedAmount>61883.91</actualAddForecastedAmount>\\n <actualAndBudgetComparison>2.3%</actualAndBudgetComparison>\\n </CalculatedValues>\\n </Items>\\n <HostId>cn</HostId>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</DescribeCostBudgetsSummaryResponse>","errorExample":""}]',
],
'DescribeInstanceAmortizedCostByAmortizationPeriod' => [
'summary' => '以摊销月视角查询月实例摊销成本。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'BillingCycle',
'in' => 'formData',
'schema' => ['title' => '账期月、摊销月', 'description' => '摊销月'."\n"
.'格式:YYYY-MM。', 'type' => 'string', 'required' => true, 'example' => '2022-10', 'maxLength' => 256],
],
[
'name' => 'ConsumePeriodFilter',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'title' => '账期月筛选条件',
'description' => '账期月筛选条件。'."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '账期月'."\n"
.'格式:YYYY-MM。', 'type' => 'string', 'required' => false, 'example' => '2022-09', 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'SubscriptionType',
'in' => 'formData',
'schema' => ['title' => '订阅类型', 'description' => '订阅类型。取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => false, 'example' => 'Subscription', 'maxLength' => 256],
],
[
'name' => 'ProductCode',
'in' => 'formData',
'schema' => ['description' => '产品。'."\n"
.'参考取值来源:'."\n"
.'查QueryProductList 查询产品信息,'."\n"
.'查DescribeResourcePackageProduct 查询某个资源包产品的信息。', 'type' => 'string', 'required' => false, 'example' => 'rds', 'maxLength' => 256],
],
[
'name' => 'ProductDetail',
'in' => 'formData',
'schema' => ['description' => '产品明细。', 'type' => 'string', 'required' => false, 'example' => 'rds', 'maxLength' => 256],
],
[
'name' => 'CostUnitCode',
'in' => 'formData',
'schema' => ['title' => '财务单元code', 'description' => '财务单元code。', 'type' => 'string', 'required' => false, 'example' => '123#', 'maxLength' => 256],
],
[
'name' => 'BillUserIdList',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'description' => '账单购买者ID筛选条件。'."\n"
.'子账号ID。设置可查看财务云子账号账单,不填默认查看当前调用账号及其所有子账号。'."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '账单购买者ID。', 'type' => 'string', 'required' => false, 'example' => '123', 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'BillOwnerIdList',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'description' => '资源归属账号筛选条件。'."\n"
.'资源归属账号ID,资源归属账号是实际使用资源的账号。'."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '资源归属账号ID。', 'type' => 'string', 'required' => false, 'example' => '123', 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'InstanceIdList',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'description' => '实例ID筛选条件。'."\n"
.'支持查询多个实例,不传默认查所有实例。'."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'abc', 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'NextToken',
'in' => 'formData',
'schema' => ['description' => '用来表示当前调用开始读取的位置,参数值必须为空或者使用返回结果中的NextToken设值,否则会报错。空代表从头开始读取。', 'type' => 'string', 'required' => false, 'example' => 'CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U', 'maxLength' => 2560],
],
[
'name' => 'MaxResults',
'in' => 'formData',
'schema' => ['description' => '本次读取的最大数据记录数量。默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BssResult<BssCostBillBaseResponse>',
'description' => 'BssResult<BssCostBillBaseResponse>',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '消息说明。', 'type' => 'string', 'example' => 'Successful!'],
'Data' => [
'description' => '返回数据'."\n",
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '用来表示当前调用开始读取的位置,参数值必须为空或者使用返回结果中的NextToken设值,否则会报错。空代表从头开始读取。', 'type' => 'string', 'example' => 'CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U'],
'AccountID' => ['description' => '账号ID。', 'type' => 'string', 'example' => '185766xxxx'],
'AccountName' => ['description' => '用户账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'MaxResults' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'Items' => [
'description' => '数据条目。',
'type' => 'array',
'items' => [
'description' => '数据项。',
'type' => 'object',
'properties' => [
'CostUnit' => ['title' => '财务单元', 'description' => '财务单元。', 'type' => 'string', 'example' => '未分配'],
'CostUnitCode' => ['title' => '财务单元code', 'description' => '财务单元code。', 'type' => 'string', 'example' => '1234'],
'InstanceID' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'i-kjhdskjgshfdlkjfdh'],
'ResourceGroup' => ['description' => '资源组。', 'type' => 'string', 'example' => '默认资源组 '],
'Tag' => ['description' => '实例标签。', 'type' => 'string', 'example' => 'tag'],
'InternetIP' => ['description' => '公网IP。', 'type' => 'string', 'example' => '34.xx.x.x'],
'IntranetIP' => ['description' => '内网IP。', 'type' => 'string', 'example' => '192.xx.xx.xx'],
'Region' => ['description' => '地域。', 'type' => 'string', 'example' => '杭州'],
'Zone' => ['description' => '可用区。', 'type' => 'string', 'example' => '杭州1'],
'SplitAccountName' => ['description' => '分拆项所属账号名称。', 'type' => 'string', 'example' => 'test**1122'],
'SplitProductDetail' => ['description' => '分拆项产品明细名称。', 'type' => 'string', 'example' => 'rds'],
'SplitItemID' => ['description' => '分拆项ID。', 'type' => 'string', 'example' => 'i-28bycvyb4'],
'SplitItemName' => ['description' => '分拆项名称。', 'type' => 'string', 'example' => 'iZ28bycvyb4Z'],
'ConsumePeriod' => ['title' => '账期', 'description' => '账期。'."\n"
.'格式:YYYYMM。', 'type' => 'string', 'example' => '202210'],
'AmortizationStatus' => ['title' => '摊销状态', 'description' => '摊销状态,取值:'."\n"
.'- amortized 已摊销'."\n"
.'- unAmortized 未摊销', 'type' => 'string', 'example' => 'amortized'],
'AmortizationPeriod' => ['title' => '摊销月', 'description' => '摊销月。'."\n"
.'格式:YYYYMM。', 'type' => 'string', 'example' => '202210'],
'BillAccountID' => ['description' => '账单所属账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '185xxxxx489'],
'BillAccountName' => ['description' => '账单所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'BillOwnerID' => ['description' => '资源归属账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '185xxxxx489'],
'BillOwnerName' => ['description' => '资源所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => '云数据库RDS'],
'ProductDetailCode' => ['description' => '产品明细code。', 'type' => 'string', 'example' => 'rds'],
'ProductDetail' => ['description' => '产品明细。', 'type' => 'string', 'example' => '云数据库RDS '],
'BizType' => ['description' => '业务类型。', 'type' => 'string', 'example' => 'trusteeship'],
'SubscriptionType' => ['description' => '订阅类型,取值:'."\n"
."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'example' => 'PayAsYouGo'],
'PretaxGrossAmount' => ['title' => '官网价', 'description' => '官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'InvoiceDiscount' => ['title' => '优惠金额', 'description' => '优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RoundDownDiscount' => ['title' => '抹零金额', 'description' => '抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PretaxAmount' => ['title' => '应付金额', 'description' => '应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'DeductedByCashCoupons' => ['title' => '代金券抵扣', 'description' => '代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'DeductedByCoupons' => ['title' => '优惠券抵扣', 'description' => '优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'DeductedByPrepaidCard' => ['title' => '储值卡支付金额', 'description' => '储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'ExpenditureAmount' => ['title' => '消费金额(可开票)', 'description' => '消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedPretaxGrossAmount' => ['description' => '期初已摊-官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedInvoiceDiscount' => ['description' => '期初已摊-优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedRoundDownDiscount' => ['description' => '期初已摊-抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedPretaxAmount' => ['description' => '期初已摊-应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedDeductedByCashCoupons' => ['description' => '期初已摊-代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedDeductedByCoupons' => ['description' => '期初已摊-优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedDeductedByPrepaidCard' => ['description' => '期初已摊-储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedExpenditureAmount' => ['description' => '期初已摊-消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationPretaxGrossAmount' => ['description' => '本期摊销-官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationInvoiceDiscount' => ['description' => '本期摊销-优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationRoundDownDiscount' => ['description' => '本期摊销-抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationPretaxAmount' => ['description' => '本期摊销-应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationDeductedByCashCoupons' => ['description' => '本期摊销-代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationDeductedByCoupons' => ['description' => '本期摊销-优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationDeductedByPrepaidCard' => ['description' => '本期摊销-储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationExpenditureAmount' => ['description' => '本期摊销-消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationPretaxGrossAmount' => ['description' => '期末待摊-官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationInvoiceDiscount' => ['description' => '期末待摊-优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationRoundDownDiscount' => ['description' => '期末待摊-抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationPretaxAmount' => ['description' => '期末待摊-应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationDeductedByCashCoupons' => ['description' => '期末待摊-代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationDeductedByCoupons' => ['description' => '期末待摊-优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationDeductedByPrepaidCard' => ['description' => '期末待摊-储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationExpenditureAmount' => ['description' => '期末待摊-消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'AfterDiscountAmount' => ['description' => '优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedAfterDiscountAmount' => ['description' => '期初已摊-优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationAfterDiscountAmount' => ['description' => '本期摊销-优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationAfterDiscountAmount' => ['description' => '期末未摊-优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotActiveService', 'errorMessage' => 'You are not active Amotized Cost ,please use after activation.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U\\",\\n \\"AccountID\\": \\"185766xxxx\\",\\n \\"AccountName\\": \\"test@test.aliyunid.com\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 100,\\n \\"Items\\": [\\n {\\n \\"CostUnit\\": \\"未分配\\",\\n \\"CostUnitCode\\": \\"1234\\",\\n \\"InstanceID\\": \\"i-kjhdskjgshfdlkjfdh\\",\\n \\"ResourceGroup\\": \\"默认资源组\\\\t\\",\\n \\"Tag\\": \\"tag\\",\\n \\"InternetIP\\": \\"34.xx.x.x\\",\\n \\"IntranetIP\\": \\"192.xx.xx.xx\\",\\n \\"Region\\": \\"杭州\\",\\n \\"Zone\\": \\"杭州1\\",\\n \\"SplitAccountName\\": \\"test**1122\\",\\n \\"SplitProductDetail\\": \\"rds\\",\\n \\"SplitItemID\\": \\"i-28bycvyb4\\",\\n \\"SplitItemName\\": \\"iZ28bycvyb4Z\\",\\n \\"ConsumePeriod\\": \\"202210\\",\\n \\"AmortizationStatus\\": \\"amortized\\",\\n \\"AmortizationPeriod\\": \\"202210\\",\\n \\"BillAccountID\\": 0,\\n \\"BillAccountName\\": \\"test@test.aliyunid.com\\",\\n \\"BillOwnerID\\": 0,\\n \\"BillOwnerName\\": \\"test@test.aliyunid.com\\",\\n \\"ProductCode\\": \\"rds\\",\\n \\"ProductName\\": \\"云数据库RDS\\",\\n \\"ProductDetailCode\\": \\"rds\\",\\n \\"ProductDetail\\": \\"云数据库RDS\\\\t\\",\\n \\"BizType\\": \\"trusteeship\\",\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"PretaxGrossAmount\\": 0,\\n \\"InvoiceDiscount\\": 0,\\n \\"RoundDownDiscount\\": 0,\\n \\"PretaxAmount\\": 0,\\n \\"DeductedByCashCoupons\\": 0,\\n \\"DeductedByCoupons\\": 0,\\n \\"DeductedByPrepaidCard\\": 0,\\n \\"ExpenditureAmount\\": 0,\\n \\"PreviouslyAmortizedPretaxGrossAmount\\": 0,\\n \\"PreviouslyAmortizedInvoiceDiscount\\": 0,\\n \\"PreviouslyAmortizedRoundDownDiscount\\": 0,\\n \\"PreviouslyAmortizedPretaxAmount\\": 0,\\n \\"PreviouslyAmortizedDeductedByCashCoupons\\": 0,\\n \\"PreviouslyAmortizedDeductedByCoupons\\": 0,\\n \\"PreviouslyAmortizedDeductedByPrepaidCard\\": 0,\\n \\"PreviouslyAmortizedExpenditureAmount\\": 0,\\n \\"CurrentAmortizationPretaxGrossAmount\\": 0,\\n \\"CurrentAmortizationInvoiceDiscount\\": 0,\\n \\"CurrentAmortizationRoundDownDiscount\\": 0,\\n \\"CurrentAmortizationPretaxAmount\\": 0,\\n \\"CurrentAmortizationDeductedByCashCoupons\\": 0,\\n \\"CurrentAmortizationDeductedByCoupons\\": 0,\\n \\"CurrentAmortizationDeductedByPrepaidCard\\": 0,\\n \\"CurrentAmortizationExpenditureAmount\\": 0,\\n \\"RemainingAmortizationPretaxGrossAmount\\": 0,\\n \\"RemainingAmortizationInvoiceDiscount\\": 0,\\n \\"RemainingAmortizationRoundDownDiscount\\": 0,\\n \\"RemainingAmortizationPretaxAmount\\": 0,\\n \\"RemainingAmortizationDeductedByCashCoupons\\": 0,\\n \\"RemainingAmortizationDeductedByCoupons\\": 0,\\n \\"RemainingAmortizationDeductedByPrepaidCard\\": 0,\\n \\"RemainingAmortizationExpenditureAmount\\": 0,\\n \\"AfterDiscountAmount\\": 0,\\n \\"PreviouslyAmortizedAfterDiscountAmount\\": 0,\\n \\"CurrentAmortizationAfterDiscountAmount\\": 0,\\n \\"RemainingAmortizationAfterDiscountAmount\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询实例摊销月摊销成本',
'description' => '- 摊销成本不作为结算及对账依据。摊销成本提供费用分摊能力,将您在云上产生的费用(含预付费和后付费)按照指定的分摊规则进行分摊。'."\n"
.'- 当月最终数据在次月6日12点后支持使用(月中会发生包括但不限于以下少数场景:延迟出账,退款,调账,欠费核销等)。当月数据中不包含未结算(未出账,累账中)的后付费数据。'."\n"
.'- 摊销成本数据支持近12个月数据。'."\n"
.'- 摊销成本中分拆项相关数据在分账账单数据出具后延迟48小时更新(若需使用分拆费用请提前开通[分账账单](https://usercenter2.aliyun.com/finance/split-bill));非分拆项相关数据在明细账单出具后延迟48小时更新。'."\n"
.'- 2021年8月(不含)之前的摊销成本月中不更新,仅于摊销次月6日12点后统一更新,也不支持提供分拆型云产品(例如:CDN、OSS、共享带宽等)各个分拆项(例如:域名、Bucket、EIP等)的具体费用。'."\n"
.'- 摊销成本数据需要用户开通[摊销成本](https://usercenter2.aliyun.com/finance/amortized-costs)后才可提供,自开通后延迟48小时可使用。',
'changeSet' => [
['createdAt' => '2023-01-10T03:48:20.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2022-12-29T06:56:28.000Z', 'description' => '错误码发生变更、响应参数发生变更'],
['createdAt' => '2022-12-23T03:13:20.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2022-12-22T07:15:03.000Z', 'description' => 'OpenAPI 下线'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeCostBill',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribeInstanceAmortizedCostByConsumePeriod' => [
'summary' => '以账期月视角查询月实例摊销成本。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'BillingCycle',
'in' => 'formData',
'schema' => ['title' => '账期月、摊销月', 'description' => '账期月'."\n"
.'格式:YYYY-MM。', 'type' => 'string', 'required' => true, 'example' => '2022-10', 'maxLength' => 256],
],
[
'name' => 'AmortizationPeriodFilter',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'title' => '摊销月筛选条件',
'description' => '摊销月筛选条件。'."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '摊销月'."\n"
.'格式:YYYY-MM。', 'type' => 'string', 'required' => false, 'example' => '2022-09'."\n", 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'SubscriptionType',
'in' => 'formData',
'schema' => ['title' => '订阅类型', 'description' => '订阅类型。取值:'."\n"
."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => false, 'example' => 'Subscription', 'maxLength' => 256],
],
[
'name' => 'ProductCode',
'in' => 'formData',
'schema' => ['description' => '产品。'."\n"
.'参考取值来源:'."\n"
.'查QueryProductList 查询产品信息,'."\n"
.'查DescribeResourcePackageProduct 查询某个资源包产品的信息。', 'type' => 'string', 'required' => false, 'example' => 'rds', 'maxLength' => 256],
],
[
'name' => 'ProductDetail',
'in' => 'formData',
'schema' => ['description' => '产品明细。', 'type' => 'string', 'required' => false, 'example' => 'rds', 'maxLength' => 256],
],
[
'name' => 'CostUnitCode',
'in' => 'formData',
'schema' => ['title' => '财务单元code', 'description' => '财务单元code。', 'type' => 'string', 'required' => false, 'example' => '123#'."\n", 'maxLength' => 256],
],
[
'name' => 'BillUserIdList',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'description' => '账单购买者ID筛选条件。'."\n"
.'子账号ID。设置可查看财务云子账号账单,不填默认查看当前调用账号及其所有子账号。'."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '账单购买者ID。', 'type' => 'string', 'required' => false, 'example' => '123', 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'BillOwnerIdList',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'description' => '资源归属账号筛选条件。 '."\n"
.'资源归属账号ID,资源归属账号是实际使用资源的账号。 '."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '资源归属账号ID。', 'type' => 'string', 'required' => false, 'example' => '123', 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'InstanceIdList',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'description' => '实例ID筛选条件。'."\n"
.'支持查询多个实例,不传默认查所有实例。'."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'abc', 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'NextToken',
'in' => 'formData',
'schema' => ['description' => '用来表示当前调用开始读取的位置,参数值必须为空或者使用返回结果中的NextToken设值,否则会报错。空代表从头开始读取。', 'type' => 'string', 'required' => false, 'example' => 'CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U'."\n", 'maxLength' => 2560],
],
[
'name' => 'MaxResults',
'in' => 'formData',
'schema' => ['description' => '本次读取的最大数据记录数量。默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BssResult<BssCostBillBaseResponse>',
'description' => 'BssResult<BssCostBillBaseResponse>',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'."\n"],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '消息说明。', 'type' => 'string', 'example' => 'Successful!'."\n"],
'Data' => [
'description' => '返回数据',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '用来表示当前调用开始读取的位置,参数值必须为空或者使用返回结果中的NextToken设值,否则会报错。空代表从头开始读取。', 'type' => 'string', 'example' => 'CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U'."\n"],
'AccountID' => ['description' => '账号ID。', 'type' => 'string', 'example' => '185766xxxx'."\n"],
'AccountName' => ['description' => '用户账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'."\n"],
'MaxResults' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'Items' => [
'description' => '数据条目。',
'type' => 'array',
'items' => [
'description' => '数据项。',
'type' => 'object',
'properties' => [
'CostUnit' => ['title' => '财务单元', 'description' => '财务单元。', 'type' => 'string', 'example' => '未分配'."\n"],
'CostUnitCode' => ['title' => '财务单元code', 'description' => '财务单元code。', 'type' => 'string', 'example' => '1234'],
'InstanceID' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'i-kjhdskjgshfdlkjfdh'."\n"],
'ResourceGroup' => ['description' => '资源组。', 'type' => 'string', 'example' => '默认资源组 '."\n"],
'Tag' => ['description' => '实例标签。', 'type' => 'string', 'example' => 'tag'],
'InternetIP' => ['description' => '公网IP。', 'type' => 'string', 'example' => '34.xx.x.x'."\n"],
'IntranetIP' => ['description' => '内网IP。', 'type' => 'string', 'example' => '192.xx.xx.xx'."\n"],
'Region' => ['description' => '地域。', 'type' => 'string', 'example' => '杭州'],
'Zone' => ['description' => '可用区。', 'type' => 'string', 'example' => '杭州1'."\n"],
'SplitAccountName' => ['description' => '分拆项所属账号名称。', 'type' => 'string', 'example' => 'test**1122'."\n"],
'SplitProductDetail' => ['description' => '分拆项产品明细名称。', 'type' => 'string', 'example' => 'rds'],
'SplitItemID' => ['description' => '分拆项ID。', 'type' => 'string', 'example' => 'i-28bycvyb4'."\n"],
'SplitItemName' => ['description' => '分拆项名称。', 'type' => 'string', 'example' => 'iZ28bycvyb4Z'."\n"],
'ConsumePeriod' => ['title' => '账期', 'description' => '账期。'."\n"
.'格式:YYYYMM。', 'type' => 'string', 'example' => '202210'],
'AmortizationStatus' => ['title' => '摊销状态', 'description' => '摊销状态,取值:'."\n"
."\n"
.'- amortized 已摊销'."\n"
.'- unAmortized 未摊销', 'type' => 'string', 'example' => 'amortized'],
'AmortizationPeriod' => ['title' => '摊销月', 'description' => '摊销月。'."\n"
.'格式:YYYYMM。', 'type' => 'string', 'example' => '202210'],
'BillAccountID' => ['description' => '账单所属账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '185xxxxx489'],
'BillAccountName' => ['description' => '账单所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'."\n"],
'BillOwnerID' => ['description' => '资源归属账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '185xxxxx489'],
'BillOwnerName' => ['description' => '资源所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'."\n"],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => '云数据库RDS'."\n"],
'ProductDetailCode' => ['description' => '产品明细code。', 'type' => 'string', 'example' => 'rds'."\n"],
'ProductDetail' => ['description' => '产品明细。', 'type' => 'string', 'example' => '云数据库RDS '."\n"],
'BizType' => ['description' => '业务类型。', 'type' => 'string', 'example' => 'trusteeship'],
'SubscriptionType' => ['description' => '订阅类型,取值:'."\n"
."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'example' => 'PayAsYouGo'],
'PretaxGrossAmount' => ['title' => '官网价', 'description' => '官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'InvoiceDiscount' => ['title' => '优惠金额', 'description' => '优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RoundDownDiscount' => ['title' => '抹零金额', 'description' => '抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PretaxAmount' => ['title' => '应付金额', 'description' => '应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'DeductedByCashCoupons' => ['title' => '代金券抵扣', 'description' => '代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'DeductedByCoupons' => ['title' => '优惠券抵扣', 'description' => '优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'DeductedByPrepaidCard' => ['title' => '储值卡支付金额', 'description' => '储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'ExpenditureAmount' => ['title' => '消费金额(可开票)', 'description' => '消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedPretaxGrossAmount' => ['description' => '期初已摊-官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedInvoiceDiscount' => ['description' => '期初已摊-优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedRoundDownDiscount' => ['description' => '期初已摊-抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedPretaxAmount' => ['description' => '期初已摊-应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedDeductedByCashCoupons' => ['description' => '期初已摊-代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedDeductedByCoupons' => ['description' => '期初已摊-优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedDeductedByPrepaidCard' => ['description' => '期初已摊-储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedExpenditureAmount' => ['description' => '期初已摊-消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationPretaxGrossAmount' => ['description' => '本期摊销-官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationInvoiceDiscount' => ['description' => '本期摊销-优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationRoundDownDiscount' => ['description' => '本期摊销-抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationPretaxAmount' => ['description' => '本期摊销-应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationDeductedByCashCoupons' => ['description' => '本期摊销-代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationDeductedByCoupons' => ['description' => '本期摊销-优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationDeductedByPrepaidCard' => ['description' => '本期摊销-储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationExpenditureAmount' => ['description' => '本期摊销-消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationPretaxGrossAmount' => ['description' => '期末待摊-官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationInvoiceDiscount' => ['description' => '期末待摊-优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationRoundDownDiscount' => ['description' => '期末待摊-抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationPretaxAmount' => ['description' => '期末待摊-应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationDeductedByCashCoupons' => ['description' => '期末待摊-代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationDeductedByCoupons' => ['description' => '期末待摊-优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationDeductedByPrepaidCard' => ['description' => '期末待摊-储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationExpenditureAmount' => ['description' => '期末待摊-消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'AfterDiscountAmount' => ['description' => '优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedAfterDiscountAmount' => ['description' => '期初已摊-优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationAfterDiscountAmount' => ['description' => '本期摊销-优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationAfterDiscountAmount' => ['description' => '期末未摊-优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotActiveService', 'errorMessage' => 'You are not active Amotized Cost ,please use after activation.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful!\\\\n\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U\\\\n\\",\\n \\"AccountID\\": \\"185766xxxx\\\\n\\",\\n \\"AccountName\\": \\"test@test.aliyunid.com\\\\n\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 100,\\n \\"Items\\": [\\n {\\n \\"CostUnit\\": \\"未分配\\\\n\\",\\n \\"CostUnitCode\\": \\"1234\\",\\n \\"InstanceID\\": \\"i-kjhdskjgshfdlkjfdh\\\\n\\",\\n \\"ResourceGroup\\": \\"默认资源组\\\\t\\\\n\\",\\n \\"Tag\\": \\"tag\\",\\n \\"InternetIP\\": \\"34.xx.x.x\\\\n\\",\\n \\"IntranetIP\\": \\"192.xx.xx.xx\\\\n\\",\\n \\"Region\\": \\"杭州\\",\\n \\"Zone\\": \\"杭州1\\\\n\\",\\n \\"SplitAccountName\\": \\"test**1122\\\\n\\",\\n \\"SplitProductDetail\\": \\"rds\\",\\n \\"SplitItemID\\": \\"i-28bycvyb4\\\\n\\",\\n \\"SplitItemName\\": \\"iZ28bycvyb4Z\\\\n\\",\\n \\"ConsumePeriod\\": \\"202210\\",\\n \\"AmortizationStatus\\": \\"amortized\\",\\n \\"AmortizationPeriod\\": \\"202210\\",\\n \\"BillAccountID\\": 0,\\n \\"BillAccountName\\": \\"test@test.aliyunid.com\\\\n\\",\\n \\"BillOwnerID\\": 0,\\n \\"BillOwnerName\\": \\"test@test.aliyunid.com\\\\n\\",\\n \\"ProductCode\\": \\"rds\\",\\n \\"ProductName\\": \\"云数据库RDS\\\\n\\",\\n \\"ProductDetailCode\\": \\"rds\\\\n\\",\\n \\"ProductDetail\\": \\"云数据库RDS\\\\t\\\\n\\",\\n \\"BizType\\": \\"trusteeship\\",\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"PretaxGrossAmount\\": 0,\\n \\"InvoiceDiscount\\": 0,\\n \\"RoundDownDiscount\\": 0,\\n \\"PretaxAmount\\": 0,\\n \\"DeductedByCashCoupons\\": 0,\\n \\"DeductedByCoupons\\": 0,\\n \\"DeductedByPrepaidCard\\": 0,\\n \\"ExpenditureAmount\\": 0,\\n \\"PreviouslyAmortizedPretaxGrossAmount\\": 0,\\n \\"PreviouslyAmortizedInvoiceDiscount\\": 0,\\n \\"PreviouslyAmortizedRoundDownDiscount\\": 0,\\n \\"PreviouslyAmortizedPretaxAmount\\": 0,\\n \\"PreviouslyAmortizedDeductedByCashCoupons\\": 0,\\n \\"PreviouslyAmortizedDeductedByCoupons\\": 0,\\n \\"PreviouslyAmortizedDeductedByPrepaidCard\\": 0,\\n \\"PreviouslyAmortizedExpenditureAmount\\": 0,\\n \\"CurrentAmortizationPretaxGrossAmount\\": 0,\\n \\"CurrentAmortizationInvoiceDiscount\\": 0,\\n \\"CurrentAmortizationRoundDownDiscount\\": 0,\\n \\"CurrentAmortizationPretaxAmount\\": 0,\\n \\"CurrentAmortizationDeductedByCashCoupons\\": 0,\\n \\"CurrentAmortizationDeductedByCoupons\\": 0,\\n \\"CurrentAmortizationDeductedByPrepaidCard\\": 0,\\n \\"CurrentAmortizationExpenditureAmount\\": 0,\\n \\"RemainingAmortizationPretaxGrossAmount\\": 0,\\n \\"RemainingAmortizationInvoiceDiscount\\": 0,\\n \\"RemainingAmortizationRoundDownDiscount\\": 0,\\n \\"RemainingAmortizationPretaxAmount\\": 0,\\n \\"RemainingAmortizationDeductedByCashCoupons\\": 0,\\n \\"RemainingAmortizationDeductedByCoupons\\": 0,\\n \\"RemainingAmortizationDeductedByPrepaidCard\\": 0,\\n \\"RemainingAmortizationExpenditureAmount\\": 0,\\n \\"AfterDiscountAmount\\": 0,\\n \\"PreviouslyAmortizedAfterDiscountAmount\\": 0,\\n \\"CurrentAmortizationAfterDiscountAmount\\": 0,\\n \\"RemainingAmortizationAfterDiscountAmount\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询实例账期月摊销成本',
'description' => '- 摊销成本不作为结算及对账依据。摊销成本提供费用分摊能力,将您在云上产生的费用(含预付费和后付费)按照指定的分摊规则进行分摊。'."\n"
.'- 当月最终数据在次月6日12点后支持使用(月中会发生包括但不限于以下少数场景:延迟出账,退款,调账,欠费核销等)。当月数据中不包含未结算(未出账,累账中)的后付费数据。'."\n"
.'- 摊销成本数据支持近12个月数据。'."\n"
.'- 摊销成本中分拆项相关数据在分账账单数据出具后延迟48小时更新(若需使用分拆费用请提前开通[分账账单](https://usercenter2.aliyun.com/finance/split-bill));非分拆项相关数据在明细账单出具后延迟48小时更新。'."\n"
.'- 2021年8月(不含)之前的摊销成本月中不更新,仅于摊销次月6日12点后统一更新,也不支持提供分拆型云产品(例如:CDN、OSS、共享带宽等)各个分拆项(例如:域名、Bucket、EIP等)的具体费用。'."\n"
.'- 摊销成本数据需要用户开通[摊销成本](https://usercenter2.aliyun.com/finance/amortized-costs)后才可提供,自开通后延迟48小时可使用。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceAmortizedCostByConsumePeriod'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeCostBill',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribeInstanceBill' => [
'summary' => '查询用户某个账期内所有商品实例或计费项的消费汇总。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
'parameters' => [
[
'name' => 'BillingCycle',
'in' => 'query',
'schema' => ['description' => '账期YYYY-MM。仅支持最近18个月账期。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2020-03'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'],
],
[
'name' => 'IsBillingItem',
'in' => 'query',
'schema' => ['description' => '是否按照计费项维度拉取数据。'."\n"
."\n"
.'- false(默认值):与费用与成本-费用账单-账单明细-实例账单一致。'."\n"
.'- true:与费用与成本-费用账单-账单明细-计费项账单一致。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '用来表示当前调用开始读取的位置,参数值必须为空或者使用返回结果中的NextToken设值,否则会报错。空代表从头开始读取。', 'type' => 'string', 'required' => false, 'example' => 'CAESEgoQCg4KCm'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '本次读取的最大数据记录数量。默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'IsHideZeroCharge',
'in' => 'query',
'schema' => ['description' => '根据原价(PretaxGrossAmount)和应付(PretaxAmount)是否都为0做过滤。取值:'."\n"
.'- false。'."\n"
.'- true。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'BillingDate',
'in' => 'query',
'schema' => ['description' => '账单日期,仅当Granularity为DAILY时必填,格式为YYYY-MM-DD。'."\n"
."\n"
.'> BillingDate参数值需和BillingCycle参数月份保持一致,例如BillingCycle设置为2020-03,BillingDate需设置为2020-03-DD。若月份设置不一致,查询的结果按BillingCycle设置的时间返回。', 'type' => 'string', 'required' => false, 'example' => '2020-03-02'],
],
[
'name' => 'Granularity',
'in' => 'query',
'schema' => ['description' => '查询账单的颗粒度。取值如下:'."\n"
."\n"
.'- MONTHLY:月。与费用与成本-费用账单-账单明细-账期账单一致。'."\n"
.'- DAILY:日。与费用与成本-费用账单-账单明细-按天账单一致。'."\n"
."\n"
.'> 选择DAILY需指定BillingDate。', 'type' => 'string', 'required' => false, 'example' => 'MONTHLY'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '122'],
],
[
'name' => 'InstanceID',
'in' => 'query',
'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'abc'],
],
[
'name' => 'PipCode',
'in' => 'query',
'schema' => ['description' => '产品Code,与费用中心账单产品Code一致。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕。下次调用时,需要将此设置到入参NextToken中。', 'type' => 'string', 'example' => 'CAESEgoQCg4KCm'],
'BillingCycle' => ['description' => '账单日期,格式:YYYY-MM。', 'type' => 'string', 'example' => '2020-03'],
'MaxResults' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'AccountID' => ['description' => '账号ID。', 'type' => 'string', 'example' => '122'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'AccountName' => ['description' => '用户账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'Items' => [
'description' => '账单详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'BillingDate' => ['description' => '账单日期,仅当Granularity为DAILY时有值,格式为YYYY-MM-DD。', 'type' => 'string', 'example' => '2020-03-20'],
'InstanceConfig' => ['description' => '实例详细配置。', 'type' => 'string', 'example' => 'CPU:12'],
'InternetIP' => ['description' => '公网IP。', 'type' => 'string', 'example' => '34.xx.x.x '],
'Item' => ['description' => '账单类型:'."\n"
.'- SubscriptionOrder (预付订单)。'."\n"
.'- PayAsYouGoBill (后付账单)。'."\n"
.'- Refund (退款)。'."\n"
.'- Adjustment (调账)。', 'type' => 'string', 'example' => 'PayAsYouGoBill'],
'Tag' => ['description' => '资源标签。', 'type' => 'string', 'example' => 'key:testKey value:testValue; key:testKey1 value:testValues1'],
'InstanceID' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'i-dadada'],
'Currency' => ['description' => '币种,取值:'."\n"
."\n"
.'- CNY。'."\n"
.'- USD。'."\n"
.'- JPY。', 'type' => 'string', 'example' => 'CNY'],
'BillAccountName' => ['description' => '账单所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'DeductedByCashCoupons' => ['description' => '代金券抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'],
'SubscriptionType' => ['description' => '订阅类型,取值:'."\n"
."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'example' => 'PayAsYouGo'],
'BizType' => ['description' => '业务类型。', 'type' => 'string', 'example' => 'trusteeship'],
'InstanceSpec' => ['description' => '实例规格。', 'type' => 'string', 'example' => 'ecs.sn1ne.3xlarge '],
'DeductedByCoupons' => ['description' => '优惠券优惠金额。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'],
'BillingItem' => ['description' => '计费项。仅当IsBillingItem=true有值。', 'type' => 'string', 'example' => '带宽'],
'BillingItemCode' => ['description' => '计费项代码。', 'type' => 'string', 'example' => 'disk'],
'Region' => ['description' => '地域。', 'type' => 'string', 'example' => '杭州'],
'OutstandingAmount' => ['description' => '未结清金额。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'],
'CostUnit' => ['description' => '财务单元。', 'type' => 'string', 'example' => '未分配 '],
'ListPriceUnit' => ['description' => '单价单位, 仅当isBillingItem为true时有效。', 'type' => 'string', 'example' => '元'],
'ResourceGroup' => ['description' => '资源组。', 'type' => 'string', 'example' => '默认资源组 '],
'PipCode' => ['description' => '产品Code,与费用中心账单产品Code一致。', 'type' => 'string', 'example' => 'rds'],
'ServicePeriodUnit' => ['description' => '服务时长单位。', 'type' => 'string', 'example' => '秒'],
'PretaxAmount' => ['description' => '应付金额。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'],
'CommodityCode' => ['description' => '商品Code,与费用中心产品明细Code一致。', 'type' => 'string', 'example' => 'rds'],
'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => '云数据库RDS '],
'AdjustAmount' => ['description' => '信用额度退款抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'NickName' => ['description' => '实例昵称。', 'type' => 'string', 'example' => 'test'],
'ProductDetail' => ['description' => '产品明细。', 'type' => 'string', 'example' => '云数据库RDS '],
'Usage' => ['description' => '用量。'."\n"
."\n"
.'> 仅当isBillingItem为true时有效。用量数据为该周期内所有账单的用量总和并非客户的实际购买量。如使用了1G的存储,每小时出账,则每小时用量为1G,按天汇总的账单用量为1G*24=24G。', 'type' => 'string', 'example' => '100'],
'IntranetIP' => ['description' => '内网IP。', 'type' => 'string', 'example' => '192.xx.xx.xx'],
'OwnerID' => ['description' => '资源Owner账号AccountID(多账号代付场景)。', 'type' => 'string', 'example' => '123'],
'DeductedByPrepaidCard' => ['description' => '储值卡抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'],
'UsageUnit' => ['description' => '用量单位, 仅当isBillingItem为true时有效。', 'type' => 'string', 'example' => 'GB'],
'BillAccountID' => ['description' => '账单所属账号ID。', 'type' => 'string', 'example' => '122'],
'PaymentAmount' => ['description' => '现金支付(含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'],
'InvoiceDiscount' => ['description' => '优惠金额。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'],
'DeductedByResourcePackage' => ['description' => '资源包抵扣, 仅当isBillingItem为true时有效。', 'type' => 'string', 'example' => '0.1'],
'ProductType' => ['description' => '产品类型。', 'type' => 'string', 'example' => 'rds'],
'ServicePeriod' => ['description' => '服务时长。', 'type' => 'string', 'example' => '3600'],
'Zone' => ['description' => '可用区。', 'type' => 'string', 'example' => '杭州1'],
'ListPrice' => ['description' => '单价, 仅当isBillingItem为true时有效。', 'type' => 'string', 'example' => '100'],
'PretaxGrossAmount' => ['description' => '原始金额。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'],
'CashAmount' => ['description' => '现金支付(不包含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
'BillingType' => ['description' => '计费方式。', 'type' => 'string', 'example' => '其它'],
'ItemName' => ['description' => '项目名称。', 'type' => 'string', 'example' => 'iZ28bycvyb4Z'],
'AfterDiscountAmount' => ['description' => '优惠后金额(包含券抵扣的应付金额数据。计算规则为:优惠后金额=官网目录价-优惠金额)', 'type' => 'number', 'format' => 'float'],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"NextToken\\": \\"CAESEgoQCg4KCm\\",\\n \\"BillingCycle\\": \\"2020-03\\",\\n \\"MaxResults\\": 20,\\n \\"AccountID\\": \\"122\\",\\n \\"TotalCount\\": 20,\\n \\"AccountName\\": \\"test@test.aliyunid.com\\",\\n \\"Items\\": [\\n {\\n \\"BillingDate\\": \\"2020-03-20\\",\\n \\"InstanceConfig\\": \\"CPU:12\\",\\n \\"InternetIP\\": \\"34.xx.x.x\\\\t\\",\\n \\"Item\\": \\"PayAsYouGoBill\\",\\n \\"Tag\\": \\"key:testKey value:testValue; key:testKey1 value:testValues1\\",\\n \\"InstanceID\\": \\"i-dadada\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"BillAccountName\\": \\"test@test.aliyunid.com\\",\\n \\"DeductedByCashCoupons\\": 0.1,\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"BizType\\": \\"trusteeship\\",\\n \\"InstanceSpec\\": \\"ecs.sn1ne.3xlarge\\\\t\\",\\n \\"DeductedByCoupons\\": 0.1,\\n \\"BillingItem\\": \\"带宽\\",\\n \\"BillingItemCode\\": \\"disk\\",\\n \\"Region\\": \\"杭州\\",\\n \\"OutstandingAmount\\": 0.1,\\n \\"CostUnit\\": \\"未分配\\\\t\\",\\n \\"ListPriceUnit\\": \\"元\\",\\n \\"ResourceGroup\\": \\"默认资源组\\\\t\\",\\n \\"PipCode\\": \\"rds\\",\\n \\"ServicePeriodUnit\\": \\"秒\\",\\n \\"PretaxAmount\\": 0.1,\\n \\"CommodityCode\\": \\"rds\\",\\n \\"ProductName\\": \\"云数据库RDS\\\\t\\",\\n \\"AdjustAmount\\": 0,\\n \\"NickName\\": \\"test\\",\\n \\"ProductDetail\\": \\"云数据库RDS\\\\t\\",\\n \\"Usage\\": \\"100\\",\\n \\"IntranetIP\\": \\"192.xx.xx.xx\\",\\n \\"OwnerID\\": \\"123\\",\\n \\"DeductedByPrepaidCard\\": 0.1,\\n \\"UsageUnit\\": \\"GB\\",\\n \\"BillAccountID\\": \\"122\\",\\n \\"PaymentAmount\\": 0.1,\\n \\"InvoiceDiscount\\": 0.1,\\n \\"DeductedByResourcePackage\\": \\"0.1\\",\\n \\"ProductType\\": \\"rds\\",\\n \\"ServicePeriod\\": \\"3600\\",\\n \\"Zone\\": \\"杭州1\\",\\n \\"ListPrice\\": \\"100\\",\\n \\"PretaxGrossAmount\\": 0.1,\\n \\"CashAmount\\": 0,\\n \\"ProductCode\\": \\"rds\\",\\n \\"BillingType\\": \\"其它\\",\\n \\"ItemName\\": \\"iZ28bycvyb4Z\\",\\n \\"AfterDiscountAmount\\": 0\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>79EE7556-0CFD-44EB-9CD6-B3B526E3A85F</RequestId>\\n<Message>Successful!</Message>\\n<Data>\\n <TotalCount>20</TotalCount>\\n <BillingCycle>2020-03</BillingCycle>\\n <AccountID>122</AccountID>\\n <NextToken>CAESEgoQCg4KCmdtdF9jcmVhdGUQARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U</NextToken>\\n <MaxResults>20</MaxResults>\\n <AccountName>test@test.aliyunid.com</AccountName>\\n <Items>\\n <InstanceSpec>ecs.sn1ne.3xlarge\\t</InstanceSpec>\\n <ProductName>云数据库RDS\\t</ProductName>\\n <InstanceID>i-dadada</InstanceID>\\n <BillAccountID>122</BillAccountID>\\n <DeductedByCashCoupons>0.1</DeductedByCashCoupons>\\n <ListPriceUnit>元</ListPriceUnit>\\n <BillingDate>2020-03-20</BillingDate>\\n <ListPrice>100</ListPrice>\\n <PaymentAmount>0.1</PaymentAmount>\\n <DeductedByPrepaidCard>0.1</DeductedByPrepaidCard>\\n <InvoiceDiscount>0.1</InvoiceDiscount>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <Item>PayAsYouGoBill</Item>\\n <PretaxGrossAmount>0.1</PretaxGrossAmount>\\n <InstanceConfig>CPU:12</InstanceConfig>\\n <Currency>CNY</Currency>\\n <CommodityCode>rds</CommodityCode>\\n <CostUnit>未分配\\t</CostUnit>\\n <AdjustAmount>0</AdjustAmount>\\n <ResourceGroup>默认资源组\\t</ResourceGroup>\\n <BillingType>其它</BillingType>\\n <Usage>100</Usage>\\n <DeductedByCoupons>0.1</DeductedByCoupons>\\n <ProductDetail>云数据库RDS\\t</ProductDetail>\\n <ProductCode>rds</ProductCode>\\n <Zone>杭州1</Zone>\\n <ProductType>rds</ProductType>\\n <OutstandingAmount>0.1</OutstandingAmount>\\n <BizType>trusteeship</BizType>\\n <BillingItem>带宽</BillingItem>\\n <NickName>test</NickName>\\n <IntranetIP>192.xx.xx.xx</IntranetIP>\\n <PipCode>rds</PipCode>\\n <ServicePeriodUnit>秒</ServicePeriodUnit>\\n <ServicePeriod>3600</ServicePeriod>\\n <DeductedByResourcePackage>0.1</DeductedByResourcePackage>\\n <UsageUnit>GB</UsageUnit>\\n <OwnerID>123</OwnerID>\\n <PretaxAmount>0.1</PretaxAmount>\\n <InternetIP>34.xx.x.x\\t</InternetIP>\\n <Region>杭州</Region>\\n <BillAccountName>test@test.aliyunid.com</BillAccountName>\\n <Tag>key:testKey value:testValue; key:testKey1 value:testValues1</Tag>\\n <CashAmount>0</CashAmount>\\n </Items>\\n</Data>\\n<Code>Success</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '查询实例账单服务',
'description' => '- 当月数据查询结果仅供参考,不作为对账依据;当月最终账单在次月3日12点后支持查看/导出(月中会发生包括但不限于以下少数场景:延迟出账,退款,调账,欠费核销等)。'."\n"
.'- 当月账单数据中不包含未结算(未出账,累账中)的后付费数据。'."\n"
.'- 支持近18个月数据。 '."\n"
.'- 账单数据相对于实际费用消耗延迟24小时更新,其中实例ID相关的信息( 实例配置,实例规格,实例昵称,资源组,公网IP,私网IP,可用区)延迟48小时更新。 '."\n"
.'- 账单数据不支持提供分拆型云产品(例如:CDN、OSS、共享带宽等)各个分拆项(例如:域名、Bucket、EIP等)的具体费用(如需统计含分拆项数据,请前往分账账单)。'."\n"
.'- 对于云通信产品,仅支持查询2020年6月及以后的明细数据,万网产品(包括域名、商标等)仅支持查询2020年11月及以后的明细数据。'."\n"
.'- 单用户限流10笔/秒,如遇超时,请重试。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceBill'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeInstanceBill',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribePricingModule' => [
'summary' => '查询阿里云某个产品对应模块信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码,可通过接口**QueryProductList**查询产品代码。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型,可通过接口**QueryProductList**查询产品类型。'."\n"
.'><notice>需要和**QueryProductList**接口返回的产品类型保持一致></notice>', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Subscription'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'This API is not applicable for caller.'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C40A8EE0-8084-49FE-B66E-5E1C3B6AE025'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'ModuleList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Module' => [
'description' => '模块及定价属性信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ModuleName' => ['description' => '计价模块名称。', 'type' => 'string', 'example' => '实例'],
'PriceType' => ['description' => '价格类型:'."\n"
.'- Usage:使用量。'."\n"
.'- Hour:小时价。'."\n"
.'- Day:天价。'."\n"
.'- Week:星期价。'."\n"
.'- Month:月价。'."\n"
.'- Year:年价。', 'type' => 'string', 'example' => 'Month'],
'Currency' => ['description' => '币种:CNY:人民币。', 'type' => 'string', 'example' => 'CNY'],
'ModuleCode' => ['description' => '计价模块标识。', 'type' => 'string', 'example' => 'InstanceType'],
'ConfigList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ConfigList' => [
'type' => 'array',
'items' => ['description' => '模块依赖的定价属性Code集合。', 'type' => 'string', 'example' => '[ "Region","InstanceType" ]'],
'description' => '',
],
],
'description' => '',
],
],
'description' => '',
],
],
],
'description' => '',
],
'AttributeList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Attribute' => [
'description' => '模块定价属性值。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '属性Code。', 'type' => 'string', 'example' => 'DBInstanceStorage'],
'Name' => ['description' => '属性名称。', 'type' => 'string', 'example' => '存储空间'],
'Unit' => ['description' => '属性单位。', 'type' => 'string', 'example' => 'GB'],
'Values' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'AttributeValue' => [
'description' => '属性。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Type' => ['description' => '模块Code对应属性值类型。取值:'."\n"
.'- single_float:单一数值类型。'."\n"
.'- single_string:单一字符串类型。'."\n"
.'- range_float:范围取值类型。', 'type' => 'string', 'example' => 'single_string'],
'Value' => ['description' => '模块Code对应属性值。'."\n"
.'> 在Type = range_float时格式1024-1024000:1024表示从1024至1024000,步长1024。', 'type' => 'string', 'example' => 'mysql.n2.medium.1'],
'Remark' => ['description' => '模块取值描述信息。', 'type' => 'string', 'example' => '连接数:4000 IOPS与存储空间大小有关'],
'Name' => ['description' => '模块Code对应属性值。', 'type' => 'string', 'example' => '2 核 4GB(单机基础版)'],
],
'description' => '',
],
],
],
'description' => '',
],
],
'description' => '',
],
],
],
'description' => '',
],
],
],
],
'description' => '',
],
],
],
'title' => '查询产品模块信息',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2022-07-04T03:08:42.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePricingModule'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribePricingModule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"This API is not applicable for caller.\\",\\n \\"RequestId\\": \\"C40A8EE0-8084-49FE-B66E-5E1C3B6AE025\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"ModuleList\\": {\\n \\"Module\\": [\\n {\\n \\"ModuleName\\": \\"实例\\",\\n \\"PriceType\\": \\"Month\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"ModuleCode\\": \\"InstanceType\\",\\n \\"ConfigList\\": {\\n \\"ConfigList\\": [\\n \\"[ \\\\\\"Region\\\\\\",\\\\\\"InstanceType\\\\\\" ]\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"AttributeList\\": {\\n \\"Attribute\\": [\\n {\\n \\"Code\\": \\"DBInstanceStorage\\",\\n \\"Name\\": \\"存储空间\\",\\n \\"Unit\\": \\"GB\\",\\n \\"Values\\": {\\n \\"AttributeValue\\": [\\n {\\n \\"Type\\": \\"single_string\\",\\n \\"Value\\": \\"mysql.n2.medium.1\\",\\n \\"Remark\\": \\"连接数:4000 IOPS与存储空间大小有关\\",\\n \\"Name\\": \\"2 核 4GB(单机基础版)\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribePricingModuleResponse>\\n <Message>Successful!</Message>\\n <RequestId>C40A8EE0-8084-49FE-B66E-5E1C3B6AE025</RequestId>\\n <Data>\\n <AttributeList>\\n <Attribute>\\n <Values>\\n <AttributeValue>\\n <Type>single_string</Type>\\n <Value>cn-qingdao-cm5-a01</Value>\\n <Name>华北 1</Name>\\n </AttributeValue>\\n </Values>\\n <Code>Region</Code>\\n <Name>地域</Name>\\n </Attribute>\\n </AttributeList>\\n <ModuleList>\\n <Module>\\n <ModuleCode>DataDisk</ModuleCode>\\n <ModuleName>数据盘</ModuleName>\\n <Currency>CNY</Currency>\\n <PriceType>Month</PriceType>\\n <ConfigList>\\n <ConfigList>Region</ConfigList>\\n <ConfigList>DataDisk.Category</ConfigList>\\n </ConfigList>\\n </Module>\\n </ModuleList>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</DescribePricingModuleResponse>","errorExample":""}]',
],
'DescribeProductAmortizedCostByAmortizationPeriod' => [
'summary' => '以摊销月视角查询月产品摊销成本。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'BillingCycle',
'in' => 'formData',
'schema' => ['description' => '摊销月'."\n"
.'格式:YYYY-MM。', 'type' => 'string', 'required' => true, 'example' => '2022-10', 'maxLength' => 256],
],
[
'name' => 'ConsumePeriodFilter',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'description' => '账期月筛选条件。'."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '账期月'."\n"
.'格式:YYYY-MM。', 'type' => 'string', 'required' => false, 'example' => '2022-09', 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'SubscriptionType',
'in' => 'formData',
'schema' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => false, 'example' => 'Subscription', 'maxLength' => 256],
],
[
'name' => 'ProductCode',
'in' => 'formData',
'schema' => ['description' => '产品。'."\n"
.'参考取值来源:'."\n"
.'查QueryProductList 查询产品信息,'."\n"
.'查DescribeResourcePackageProduct 查询某个资源包产品的信息。', 'type' => 'string', 'required' => false, 'example' => 'rds', 'maxLength' => 256],
],
[
'name' => 'ProductDetail',
'in' => 'formData',
'schema' => ['description' => '产品明细。', 'type' => 'string', 'required' => false, 'example' => 'rds', 'maxLength' => 256],
],
[
'name' => 'CostUnitCode',
'in' => 'formData',
'schema' => ['description' => '财务单元code。', 'type' => 'string', 'required' => false, 'example' => '123#'."\n", 'maxLength' => 256],
],
[
'name' => 'BillUserIdList',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'description' => '账单购买者ID筛选条件。'."\n"
.'子账号ID。设置可查看财务云子账号账单,不填默认查看当前调用账号及其所有子账号。'."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '账单购买者ID。', 'type' => 'string', 'required' => false, 'example' => '123', 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'BillOwnerIdList',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'description' => '资源归属账号筛选条件。'."\n"
.'资源归属账号ID,资源归属账号是实际使用资源的账号。'."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '资源归属账号ID。', 'type' => 'string', 'required' => false, 'example' => 'abc', 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'NextToken',
'in' => 'formData',
'schema' => ['description' => '用来表示当前调用开始读取的位置,参数值必须为空或者使用返回结果中的NextToken设值,否则会报错。空代表从头开始读取。', 'type' => 'string', 'required' => false, 'example' => 'CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U', 'maxLength' => 2560],
],
[
'name' => 'MaxResults',
'in' => 'formData',
'schema' => ['description' => '本次读取的最大数据记录数量。默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BssResult<BssCostBillBaseResponse<BssCostBillProductResponse>>',
'description' => 'BssResult',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'."\n"],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'."\n"],
'Message' => ['description' => '消息说明。', 'type' => 'string', 'example' => 'Successful!'."\n"],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '用来表示当前调用开始读取的位置,参数值必须为空或者使用返回结果中的NextToken设值,否则会报错。空代表从头开始读取。', 'type' => 'string', 'example' => 'CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U'."\n"],
'AccountID' => ['description' => '账号ID。', 'type' => 'string', 'example' => '185766xxxx'],
'AccountName' => ['description' => '用户账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'."\n"],
'MaxResults' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'Items' => [
'description' => '数据条目。',
'type' => 'array',
'items' => [
'description' => '数据项。',
'type' => 'object',
'properties' => [
'ConsumePeriod' => ['description' => '账期。'."\n"
.'格式:YYYYMM。', 'type' => 'string', 'example' => '202210'],
'AmortizationStatus' => ['description' => '摊销状态,取值:'."\n"
.'- amortized 已摊销'."\n"
.'- unAmortized 未摊销', 'type' => 'string', 'example' => 'amortized'],
'AmortizationPeriod' => ['description' => '摊销月。'."\n"
.'格式:YYYYMM。', 'type' => 'string', 'example' => '202210'],
'BillAccountID' => ['description' => '账单所属账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '185xxxxx489'],
'BillAccountName' => ['description' => '账单所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'."\n"],
'BillOwnerID' => ['description' => '资源归属账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '185xxxxx489'],
'BillOwnerName' => ['description' => '资源所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'."\n"],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => '云数据库RDS'."\n"],
'ProductDetailCode' => ['description' => '产品明细code。', 'type' => 'string', 'example' => 'rds'],
'ProductDetail' => ['description' => '产品明细。', 'type' => 'string', 'example' => '云数据库RDS'."\n"],
'BizType' => ['description' => '业务类型。', 'type' => 'string', 'example' => 'trusteeship'."\n"],
'SubscriptionType' => ['description' => '订阅类型,取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'example' => 'PayAsYouGo'],
'PretaxGrossAmount' => ['description' => '官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'InvoiceDiscount' => ['description' => '优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RoundDownDiscount' => ['description' => '抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PretaxAmount' => ['description' => '应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'DeductedByCashCoupons' => ['description' => '代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'DeductedByCoupons' => ['description' => '优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'DeductedByPrepaidCard' => ['description' => '储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'ExpenditureAmount' => ['description' => '消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedPretaxGrossAmount' => ['description' => '期初已摊-官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedInvoiceDiscount' => ['description' => '期初已摊-优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedRoundDownDiscount' => ['description' => '期初已摊-抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedPretaxAmount' => ['description' => '期初已摊-应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedDeductedByCashCoupons' => ['description' => '期初已摊-代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedDeductedByCoupons' => ['description' => '期初已摊-优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedDeductedByPrepaidCard' => ['description' => '期初已摊-储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedExpenditureAmount' => ['description' => '期初已摊-消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationPretaxGrossAmount' => ['description' => '本期摊销-官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationInvoiceDiscount' => ['description' => '本期摊销-优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationRoundDownDiscount' => ['description' => '本期摊销-抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationPretaxAmount' => ['description' => '本期摊销-应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationDeductedByCashCoupons' => ['description' => '本期摊销-代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationDeductedByCoupons' => ['description' => '本期摊销-优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationDeductedByPrepaidCard' => ['description' => '本期摊销-储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationExpenditureAmount' => ['description' => '本期摊销-消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationPretaxGrossAmount' => ['description' => '期末待摊-官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationInvoiceDiscount' => ['description' => '期末待摊-优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationRoundDownDiscount' => ['description' => '期末待摊-抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationPretaxAmount' => ['description' => '期末待摊-应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationDeductedByCashCoupons' => ['description' => '期末待摊-代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationDeductedByCoupons' => ['description' => '期末待摊-优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationDeductedByPrepaidCard' => ['description' => '期末待摊-储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationExpenditureAmount' => ['description' => '期末待摊-消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'AfterDiscountAmount' => ['description' => '优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedAfterDiscountAmount' => ['description' => '期初已摊-优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationAfterDiscountAmount' => ['description' => '本期摊销-优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationAfterDiscountAmount' => ['description' => '期末未摊-优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotActiveService', 'errorMessage' => 'You are not active Amotized Cost ,please use after activation.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\\\n\\",\\n \\"Message\\": \\"Successful!\\\\n\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U\\\\n\\",\\n \\"AccountID\\": \\"185766xxxx\\",\\n \\"AccountName\\": \\"test@test.aliyunid.com\\\\n\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 100,\\n \\"Items\\": [\\n {\\n \\"ConsumePeriod\\": \\"202210\\",\\n \\"AmortizationStatus\\": \\"amortized\\",\\n \\"AmortizationPeriod\\": \\"202210\\",\\n \\"BillAccountID\\": 0,\\n \\"BillAccountName\\": \\"test@test.aliyunid.com\\\\n\\",\\n \\"BillOwnerID\\": 0,\\n \\"BillOwnerName\\": \\"test@test.aliyunid.com\\\\n\\",\\n \\"ProductCode\\": \\"rds\\",\\n \\"ProductName\\": \\"云数据库RDS\\\\n\\",\\n \\"ProductDetailCode\\": \\"rds\\",\\n \\"ProductDetail\\": \\"云数据库RDS\\\\n\\",\\n \\"BizType\\": \\"trusteeship\\\\n\\",\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"PretaxGrossAmount\\": 0,\\n \\"InvoiceDiscount\\": 0,\\n \\"RoundDownDiscount\\": 0,\\n \\"PretaxAmount\\": 0,\\n \\"DeductedByCashCoupons\\": 0,\\n \\"DeductedByCoupons\\": 0,\\n \\"DeductedByPrepaidCard\\": 0,\\n \\"ExpenditureAmount\\": 0,\\n \\"PreviouslyAmortizedPretaxGrossAmount\\": 0,\\n \\"PreviouslyAmortizedInvoiceDiscount\\": 0,\\n \\"PreviouslyAmortizedRoundDownDiscount\\": 0,\\n \\"PreviouslyAmortizedPretaxAmount\\": 0,\\n \\"PreviouslyAmortizedDeductedByCashCoupons\\": 0,\\n \\"PreviouslyAmortizedDeductedByCoupons\\": 0,\\n \\"PreviouslyAmortizedDeductedByPrepaidCard\\": 0,\\n \\"PreviouslyAmortizedExpenditureAmount\\": 0,\\n \\"CurrentAmortizationPretaxGrossAmount\\": 0,\\n \\"CurrentAmortizationInvoiceDiscount\\": 0,\\n \\"CurrentAmortizationRoundDownDiscount\\": 0,\\n \\"CurrentAmortizationPretaxAmount\\": 0,\\n \\"CurrentAmortizationDeductedByCashCoupons\\": 0,\\n \\"CurrentAmortizationDeductedByCoupons\\": 0,\\n \\"CurrentAmortizationDeductedByPrepaidCard\\": 0,\\n \\"CurrentAmortizationExpenditureAmount\\": 0,\\n \\"RemainingAmortizationPretaxGrossAmount\\": 0,\\n \\"RemainingAmortizationInvoiceDiscount\\": 0,\\n \\"RemainingAmortizationRoundDownDiscount\\": 0,\\n \\"RemainingAmortizationPretaxAmount\\": 0,\\n \\"RemainingAmortizationDeductedByCashCoupons\\": 0,\\n \\"RemainingAmortizationDeductedByCoupons\\": 0,\\n \\"RemainingAmortizationDeductedByPrepaidCard\\": 0,\\n \\"RemainingAmortizationExpenditureAmount\\": 0,\\n \\"AfterDiscountAmount\\": 0,\\n \\"PreviouslyAmortizedAfterDiscountAmount\\": 0,\\n \\"CurrentAmortizationAfterDiscountAmount\\": 0,\\n \\"RemainingAmortizationAfterDiscountAmount\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询产品摊销月摊销成本',
'description' => '- 摊销成本不作为结算及对账依据。摊销成本提供费用分摊能力,将您在云上产生的费用(含预付费和后付费)按照指定的分摊规则进行分摊。'."\n"
.'- 当月最终数据在次月6日12点后支持使用(月中会发生包括但不限于以下少数场景:延迟出账,退款,调账,欠费核销等)。当月数据中不包含未结算(未出账,累账中)的后付费数据。'."\n"
.'- 摊销成本数据支持近12个月数据。'."\n"
.'- 摊销成本中分拆项相关数据在分账账单数据出具后延迟48小时更新(若需使用分拆费用请提前开通[分账账单](https://usercenter2.aliyun.com/finance/split-bill));非分拆项相关数据在明细账单出具后延迟48小时更新。'."\n"
.'- 2021年8月(不含)之前的摊销成本月中不更新,仅于摊销次月6日12点后统一更新,也不支持提供分拆型云产品(例如:CDN、OSS、共享带宽等)各个分拆项(例如:域名、Bucket、EIP等)的具体费用。'."\n"
.'- 摊销成本数据需要用户开通[摊销成本](https://usercenter2.aliyun.com/finance/amortized-costs)后才可提供,自开通后延迟48小时可使用。',
'changeSet' => [
['createdAt' => '2023-01-10T03:48:20.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2022-12-29T06:56:28.000Z', 'description' => '错误码发生变更、响应参数发生变更'],
['createdAt' => '2022-12-23T03:13:20.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2022-12-22T07:15:03.000Z', 'description' => 'OpenAPI 下线'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeCostBill',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribeProductAmortizedCostByConsumePeriod' => [
'summary' => '以账期月视角查询月产品摊销成本。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'BillingCycle',
'in' => 'formData',
'schema' => ['description' => '账期月'."\n"
.'格式:YYYY-MM。', 'type' => 'string', 'required' => true, 'example' => '2022-10'."\n", 'maxLength' => 256],
],
[
'name' => 'AmortizationPeriodFilter',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'title' => '摊销月筛选条件',
'description' => '摊销月筛选条件。'."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '摊销月'."\n"
.'格式:YYYY-MM。', 'type' => 'string', 'required' => false, 'example' => '2022-09'."\n", 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'SubscriptionType',
'in' => 'formData',
'schema' => ['description' => '订阅类型。取值:'."\n"
."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => false, 'example' => 'Subscription', 'maxLength' => 256],
],
[
'name' => 'ProductCode',
'in' => 'formData',
'schema' => ['description' => '产品。'."\n"
.'参考取值来源:'."\n"
.'查QueryProductList 查询产品信息,'."\n"
.'查DescribeResourcePackageProduct 查询某个资源包产品的信息。', 'type' => 'string', 'required' => false, 'example' => 'rds', 'maxLength' => 256],
],
[
'name' => 'ProductDetail',
'in' => 'formData',
'schema' => ['description' => '产品明细。', 'type' => 'string', 'required' => false, 'example' => 'rds', 'maxLength' => 256],
],
[
'name' => 'CostUnitCode',
'in' => 'formData',
'schema' => ['description' => '财务单元code。', 'type' => 'string', 'required' => false, 'example' => '123#'."\n", 'maxLength' => 256],
],
[
'name' => 'BillUserIdList',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'description' => '账单购买者ID筛选条件。'."\n"
.'子账号ID。设置可查看财务云子账号账单,不填默认查看当前调用账号及其所有子账号。'."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '账单购买者ID。', 'type' => 'string', 'required' => false, 'example' => '123', 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'BillOwnerIdList',
'in' => 'formData',
'style' => 'repeatList',
'schema' => [
'description' => '资源归属账号筛选条件。 '."\n"
.'资源归属账号ID,资源归属账号是实际使用资源的账号。 '."\n"
.'最多元素个数:10。',
'type' => 'array',
'items' => ['description' => '资源归属账号ID。', 'type' => 'string', 'required' => false, 'example' => '123', 'maxLength' => 256],
'required' => false,
'maxItems' => 10,
],
],
[
'name' => 'NextToken',
'in' => 'formData',
'schema' => ['description' => '用来表示当前调用开始读取的位置,参数值必须为空或者使用返回结果中的NextToken设值,否则会报错。空代表从头开始读取。', 'type' => 'string', 'required' => false, 'example' => 'CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U'."\n", 'maxLength' => 2560],
],
[
'name' => 'MaxResults',
'in' => 'formData',
'schema' => ['description' => '本次读取的最大数据记录数量。默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'BssResult<BssCostBillBaseResponse<BssCostBillProductResponse>>',
'description' => 'BssResult',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'."\n"],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '消息说明。', 'type' => 'string', 'example' => 'Successful!'."\n"],
'Data' => [
'description' => '消息说明。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '用来表示当前调用开始读取的位置,参数值必须为空或者使用返回结果中的NextToken设值,否则会报错。空代表从头开始读取。', 'type' => 'string', 'example' => 'CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U'],
'AccountID' => ['description' => '账号ID。', 'type' => 'string', 'example' => '185766xxxx'],
'AccountName' => ['description' => '用户账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'."\n"],
'MaxResults' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'Items' => [
'description' => '数据条目。',
'type' => 'array',
'items' => [
'description' => '数据项。',
'type' => 'object',
'properties' => [
'ConsumePeriod' => ['description' => '账期。'."\n"
.'格式:YYYYMM。', 'type' => 'string', 'example' => '202210'],
'AmortizationStatus' => ['description' => '摊销状态,取值:'."\n"
."\n"
.'- amortized 已摊销'."\n"
.'- unAmortized 未摊销', 'type' => 'string', 'example' => 'amortized'],
'AmortizationPeriod' => ['description' => '摊销月。'."\n"
.'格式:YYYYMM。', 'type' => 'string', 'example' => '202210'],
'BillAccountID' => ['description' => '账单所属账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '185xxxxx489'],
'BillAccountName' => ['description' => '账单所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'."\n"],
'BillOwnerID' => ['description' => '资源归属账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '185xxxxx489'],
'BillOwnerName' => ['description' => '资源所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'."\n"],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => '云数据库RDS'."\n"],
'ProductDetailCode' => ['description' => '产品明细code。', 'type' => 'string', 'example' => 'rds'],
'ProductDetail' => ['description' => '产品明细。', 'type' => 'string', 'example' => '云数据库RDS'."\n"],
'BizType' => ['description' => '业务类型。', 'type' => 'string', 'example' => 'trusteeship'],
'SubscriptionType' => ['description' => '订阅类型,取值:'."\n"
."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'example' => 'PayAsYouGo'],
'PretaxGrossAmount' => ['description' => '官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'InvoiceDiscount' => ['description' => '优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RoundDownDiscount' => ['description' => '抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PretaxAmount' => ['description' => '应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'DeductedByCashCoupons' => ['description' => '代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'DeductedByCoupons' => ['description' => '优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'DeductedByPrepaidCard' => ['description' => '储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'ExpenditureAmount' => ['description' => '消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedPretaxGrossAmount' => ['description' => '期初已摊-官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedInvoiceDiscount' => ['description' => '期初已摊-优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedRoundDownDiscount' => ['description' => '期初已摊-抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedPretaxAmount' => ['description' => '期初已摊-应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedDeductedByCashCoupons' => ['description' => '期初已摊-代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedDeductedByCoupons' => ['description' => '期初已摊-优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedDeductedByPrepaidCard' => ['description' => '期初已摊-储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedExpenditureAmount' => ['description' => '期初已摊-消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationPretaxGrossAmount' => ['description' => '本期摊销-官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationInvoiceDiscount' => ['description' => '本期摊销-优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationRoundDownDiscount' => ['description' => '本期摊销-抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationPretaxAmount' => ['description' => '本期摊销-应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationDeductedByCashCoupons' => ['description' => '本期摊销-代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationDeductedByCoupons' => ['description' => '本期摊销-优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationDeductedByPrepaidCard' => ['description' => '本期摊销-储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationExpenditureAmount' => ['description' => '本期摊销-消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationPretaxGrossAmount' => ['description' => '期末待摊-官网价。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationInvoiceDiscount' => ['description' => '期末待摊-优惠金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationRoundDownDiscount' => ['description' => '期末待摊-抹零金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationPretaxAmount' => ['description' => '期末待摊-应付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationDeductedByCashCoupons' => ['description' => '期末待摊-代金券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationDeductedByCoupons' => ['description' => '期末待摊-优惠券抵扣。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationDeductedByPrepaidCard' => ['description' => '期末待摊-储值卡支付金额。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationExpenditureAmount' => ['description' => '期末待摊-消费金额(可开票)。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'AfterDiscountAmount' => ['description' => '优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'PreviouslyAmortizedAfterDiscountAmount' => ['description' => '期初已摊-优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'CurrentAmortizationAfterDiscountAmount' => ['description' => '本期摊销-优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
'RemainingAmortizationAfterDiscountAmount' => ['description' => '期末未摊-优惠后金额', 'type' => 'number', 'format' => 'double', 'example' => '0'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotActiveService', 'errorMessage' => 'You are not active Amotized Cost ,please use after activation.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful!\\\\n\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U\\",\\n \\"AccountID\\": \\"185766xxxx\\",\\n \\"AccountName\\": \\"test@test.aliyunid.com\\\\n\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 100,\\n \\"Items\\": [\\n {\\n \\"ConsumePeriod\\": \\"202210\\",\\n \\"AmortizationStatus\\": \\"amortized\\",\\n \\"AmortizationPeriod\\": \\"202210\\",\\n \\"BillAccountID\\": 0,\\n \\"BillAccountName\\": \\"test@test.aliyunid.com\\\\n\\",\\n \\"BillOwnerID\\": 0,\\n \\"BillOwnerName\\": \\"test@test.aliyunid.com\\\\n\\",\\n \\"ProductCode\\": \\"rds\\",\\n \\"ProductName\\": \\"云数据库RDS\\\\n\\",\\n \\"ProductDetailCode\\": \\"rds\\",\\n \\"ProductDetail\\": \\"云数据库RDS\\\\n\\",\\n \\"BizType\\": \\"trusteeship\\",\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"PretaxGrossAmount\\": 0,\\n \\"InvoiceDiscount\\": 0,\\n \\"RoundDownDiscount\\": 0,\\n \\"PretaxAmount\\": 0,\\n \\"DeductedByCashCoupons\\": 0,\\n \\"DeductedByCoupons\\": 0,\\n \\"DeductedByPrepaidCard\\": 0,\\n \\"ExpenditureAmount\\": 0,\\n \\"PreviouslyAmortizedPretaxGrossAmount\\": 0,\\n \\"PreviouslyAmortizedInvoiceDiscount\\": 0,\\n \\"PreviouslyAmortizedRoundDownDiscount\\": 0,\\n \\"PreviouslyAmortizedPretaxAmount\\": 0,\\n \\"PreviouslyAmortizedDeductedByCashCoupons\\": 0,\\n \\"PreviouslyAmortizedDeductedByCoupons\\": 0,\\n \\"PreviouslyAmortizedDeductedByPrepaidCard\\": 0,\\n \\"PreviouslyAmortizedExpenditureAmount\\": 0,\\n \\"CurrentAmortizationPretaxGrossAmount\\": 0,\\n \\"CurrentAmortizationInvoiceDiscount\\": 0,\\n \\"CurrentAmortizationRoundDownDiscount\\": 0,\\n \\"CurrentAmortizationPretaxAmount\\": 0,\\n \\"CurrentAmortizationDeductedByCashCoupons\\": 0,\\n \\"CurrentAmortizationDeductedByCoupons\\": 0,\\n \\"CurrentAmortizationDeductedByPrepaidCard\\": 0,\\n \\"CurrentAmortizationExpenditureAmount\\": 0,\\n \\"RemainingAmortizationPretaxGrossAmount\\": 0,\\n \\"RemainingAmortizationInvoiceDiscount\\": 0,\\n \\"RemainingAmortizationRoundDownDiscount\\": 0,\\n \\"RemainingAmortizationPretaxAmount\\": 0,\\n \\"RemainingAmortizationDeductedByCashCoupons\\": 0,\\n \\"RemainingAmortizationDeductedByCoupons\\": 0,\\n \\"RemainingAmortizationDeductedByPrepaidCard\\": 0,\\n \\"RemainingAmortizationExpenditureAmount\\": 0,\\n \\"AfterDiscountAmount\\": 0,\\n \\"PreviouslyAmortizedAfterDiscountAmount\\": 0,\\n \\"CurrentAmortizationAfterDiscountAmount\\": 0,\\n \\"RemainingAmortizationAfterDiscountAmount\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询产品账期月摊销成本',
'description' => '- 摊销成本不作为结算及对账依据。摊销成本提供费用分摊能力,将您在云上产生的费用(含预付费和后付费)按照指定的分摊规则进行分摊。'."\n"
.'- 当月最终数据在次月6日12点后支持使用(月中会发生包括但不限于以下少数场景:延迟出账,退款,调账,欠费核销等)。当月数据中不包含未结算(未出账,累账中)的后付费数据。'."\n"
.'- 摊销成本数据支持近12个月数据。'."\n"
.'- 摊销成本中分拆项相关数据在分账账单数据出具后延迟48小时更新(若需使用分拆费用请提前开通[分账账单](https://usercenter2.aliyun.com/finance/split-bill));非分拆项相关数据在明细账单出具后延迟48小时更新。'."\n"
.'- 2021年8月(不含)之前的摊销成本月中不更新,仅于摊销次月6日12点后统一更新,也不支持提供分拆型云产品(例如:CDN、OSS、共享带宽等)各个分拆项(例如:域名、Bucket、EIP等)的具体费用。'."\n"
.'- 摊销成本数据需要用户开通[摊销成本](https://usercenter2.aliyun.com/finance/amortized-costs)后才可提供,自开通后延迟48小时可使用。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeCostBill',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribeResourceCoverageDetail' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'StartPeriod',
'in' => 'query',
'schema' => ['description' => '格式:yyyy-MM-dd HH:mm:ss;'."\n"
.'查询逻辑为包括该时间'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-01-01 00:00:00'],
],
[
'name' => 'EndPeriod',
'in' => 'query',
'schema' => ['description' => '格式:yyyy-MM-dd HH:mm:ss;查询逻辑为不包括该时间;为空表示截止到当前时间', 'type' => 'string', 'required' => false, 'example' => '2021-01-02 00:00:00'],
],
[
'name' => 'PeriodType',
'in' => 'query',
'schema' => ['description' => 'MONTH:月维度;'."\n"
.'DAY:天维度;'."\n"
.'HOUR:小时维度;', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'HOUR'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '分页token,首页查询时传空,查询结果中返回下一页token地址。当结果token为空时表示全部查完。', 'type' => 'string', 'required' => false, 'example' => 'eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MTB9'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '本次读取的最大数据记录数量。默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '200'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号的ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '123745698925000'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => 'RI:预留实例;SCU:存储容量单位包', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'RI'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求标识', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '下一页的token', 'type' => 'string', 'example' => 'eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MTB9'],
'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10000'],
'MaxResults' => ['description' => '本页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
'Items' => [
'description' => '数据项',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CommodityCode' => ['description' => '产品明细Code', 'type' => 'string', 'example' => 'ecs'],
'ProductName' => ['description' => '产品名称', 'type' => 'string', 'example' => '云服务器 ECS'],
'TotalQuantity' => ['description' => '总用量', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'RegionNo' => ['description' => '地域Code', 'type' => 'string', 'example' => 'cn-hangzhou-dg-a01'],
'UserId' => ['description' => '账号ID', 'type' => 'string', 'example' => '123745698925000'],
'CommodityName' => ['description' => '产品明细'."\n", 'type' => 'string', 'example' => '云服务器ECS-按量付费'],
'CapacityUnit' => ['description' => '抵扣单位', 'type' => 'string', 'example' => '算力*小时'],
'InstanceId' => ['description' => '按量实例ID'."\n", 'type' => 'string', 'example' => 'i-bp1d9x623987rlj0dx4xx'],
'Currency' => ['description' => '币种', 'type' => 'string', 'example' => 'CNY'],
'ZoneName' => ['description' => '可用区', 'type' => 'string', 'example' => '杭州 可用区I'],
'InstanceSpec' => ['description' => '规格'."\n", 'type' => 'string', 'example' => 'ecs.t5-lc2m1.nano'],
'EndTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2021-04-01 01:00:00'],
'StartTime' => ['description' => '开始时间', 'type' => 'string', 'example' => '2021-04-01 00:00:00'],
'PaymentAmount' => ['description' => '账单金额', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'CoveragePercentage' => ['description' => '覆盖率', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'Region' => ['description' => '地域'."\n", 'type' => 'string', 'example' => '华东1(杭州)'],
'DeductQuantity' => ['description' => '抵扣量'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1'],
'Zone' => ['description' => '可用区Code', 'type' => 'string', 'example' => 'cn-hangzhou-i'],
'UserName' => ['description' => '账号名称', 'type' => 'string', 'example' => 'test13@test.aliyun.com'],
'ProductCode' => ['description' => '产品Code', 'type' => 'string', 'example' => 'ecs'],
],
'description' => '',
],
],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [],
'title' => '资源覆盖率明细',
'summary' => '预留实例、SCU覆盖率明细查询。',
'description' => '1. 与费用中心“资源实例管理”菜单中的“覆盖率概况”的列表数据一致。'."\n"
.'2. 当前支持RI和SCU两种资源的覆盖率查询。'."\n"
.'3. 提供“小时”、“天”,“月”三种维度的覆盖率查询。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeResourceCoverageDetail'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeResourceCoverageDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"NextToken\\": \\"eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MTB9\\",\\n \\"TotalCount\\": 10000,\\n \\"MaxResults\\": 200,\\n \\"Items\\": [\\n {\\n \\"CommodityCode\\": \\"ecs\\",\\n \\"ProductName\\": \\"云服务器 ECS\\",\\n \\"TotalQuantity\\": 1,\\n \\"RegionNo\\": \\"cn-hangzhou-dg-a01\\",\\n \\"UserId\\": \\"123745698925000\\",\\n \\"CommodityName\\": \\"云服务器ECS-按量付费\\",\\n \\"CapacityUnit\\": \\"算力*小时\\",\\n \\"InstanceId\\": \\"i-bp1d9x623987rlj0dx4xx\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"ZoneName\\": \\"杭州 可用区I\\",\\n \\"InstanceSpec\\": \\"ecs.t5-lc2m1.nano\\",\\n \\"EndTime\\": \\"2021-04-01 01:00:00\\",\\n \\"StartTime\\": \\"2021-04-01 00:00:00\\",\\n \\"PaymentAmount\\": 0,\\n \\"CoveragePercentage\\": 1,\\n \\"Region\\": \\"华东1(杭州)\\",\\n \\"DeductQuantity\\": 1,\\n \\"Zone\\": \\"cn-hangzhou-i\\",\\n \\"UserName\\": \\"test13@test.aliyun.com\\",\\n \\"ProductCode\\": \\"ecs\\"\\n }\\n ]\\n }\\n}","errorExample":""}]',
],
'DescribeResourceCoverageTotal' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'StartPeriod',
'in' => 'query',
'schema' => ['description' => '格式:yyyy-MM-dd HH:mm:ss; 查询逻辑为包括该时间'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-01-01 00:00:00'],
],
[
'name' => 'EndPeriod',
'in' => 'query',
'schema' => ['description' => '格式:yyyy-MM-dd HH:mm:ss;查询逻辑为不包括该时间;为空表示截止到当前时间'."\n", 'type' => 'string', 'required' => false, 'example' => '2021-01-02 00:00:00'],
],
[
'name' => 'PeriodType',
'in' => 'query',
'schema' => ['description' => 'MONTH:月维度; DAY:天维度; HOUR:小时维度;', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'HOUR'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号的ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '123745698925000'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => 'RI:预留实例;SCU:存储容量单位包'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'RI'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码'."\n", 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息'."\n", 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求标识'."\n", 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '是否成功'."\n", 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据'."\n",
'type' => 'object',
'properties' => [
'PeriodCoverage' => [
'description' => '时段覆盖率',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CoveragePercentage' => ['description' => '覆盖率', 'type' => 'number', 'format' => 'float', 'example' => '0.1'],
'Period' => ['description' => '时段'."\n"
.'yyyyMMddHH', 'type' => 'string', 'example' => '2020110100'],
],
'description' => '',
],
],
'TotalCoverage' => [
'description' => '总覆盖率',
'type' => 'object',
'properties' => [
'CapacityUnit' => ['description' => '抵扣单位', 'type' => 'string', 'example' => '算力*小时'],
'DeductQuantity' => ['description' => '总抵扣量', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'CoveragePercentage' => ['description' => '总覆盖率', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'TotalQuantity' => ['description' => '总使用量', 'type' => 'number', 'format' => 'float', 'example' => '1'],
],
],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [],
'title' => '资源覆盖率汇总',
'summary' => '预留实例、SCU覆盖率汇总查询。',
'description' => '与费用中心“资源实例管理”菜单中的“覆盖率概况”的汇总数据一致。'."\n"
.'当前支持RI和SCU两种资源的覆盖率查询。'."\n",
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeResourceCoverageTotal'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeResourceCoverageTotal',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PeriodCoverage\\": [\\n {\\n \\"CoveragePercentage\\": 0.1,\\n \\"Period\\": \\"2020110100\\"\\n }\\n ],\\n \\"TotalCoverage\\": {\\n \\"CapacityUnit\\": \\"算力*小时\\",\\n \\"DeductQuantity\\": 1,\\n \\"CoveragePercentage\\": 1,\\n \\"TotalQuantity\\": 1\\n }\\n }\\n}","errorExample":""}]',
],
'DescribeResourcePackageProduct' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => true, 'example' => 'ossbag'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BBEF51A3-E933-4F40-A534-C673CBDB9C80'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'OrderId' => ['description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '72353765387'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'ResourcePackages' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ResourcePackage' => [
'description' => '资源包详情数组。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ProductType' => ['description' => '产品类型。', 'type' => 'string', 'example' => 'ossbag'],
'Name' => ['description' => '资源包名称。', 'type' => 'string', 'example' => '对象存储OSS资源包(包月)'],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'ossbag'],
'PackageTypes' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'PackageType' => [
'description' => '资源包类型。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '资源包代码。', 'type' => 'string', 'example' => 'FPT_ossbag_deadlineAcc_CdnOut_common_sz'],
'Name' => ['description' => '资源包类型名称。', 'type' => 'string', 'example' => '回源流量包(华南1)'],
'Properties' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Property' => [
'description' => '属性详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['description' => '属性名称。', 'type' => 'string', 'example' => 'region'],
'Value' => ['description' => '属性值。', 'type' => 'string', 'example' => 'cn-shenzhen'],
],
],
],
],
],
'Specifications' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Specification' => [
'description' => '规格详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['description' => '规格名称。', 'type' => 'string', 'example' => '1TB'],
'Value' => ['description' => '规格值。', 'type' => 'string', 'example' => '1024'],
'AvailableDurations' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'AvailableDuration' => [
'description' => '可选时间长度详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Value' => ['description' => '时长值。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
'Name' => ['description' => '时长名称。', 'type' => 'string', 'example' => '6 Month'],
'Unit' => ['description' => '资源包时长单位。取值范围:'."\n"
.'- Month:月。'."\n"
.'- Year:年。'."\n"
."\n"
.'默认Month。', 'type' => 'string', 'example' => 'Month'],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'Absent some mandatory parameter for this request.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'This request contain some invalid parameter', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
['errorCode' => 'ProductCodeMissing', 'errorMessage' => 'Parameter ProductCode is missing.', 'description' => ''],
['errorCode' => 'ProductNotSupported', 'errorMessage' => 'Product currently is not supported.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"BBEF51A3-E933-4F40-A534-C673CBDB9C80\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 72353765387,\\n \\"Data\\": {\\n \\"ResourcePackages\\": {\\n \\"ResourcePackage\\": [\\n {\\n \\"ProductType\\": \\"ossbag\\",\\n \\"Name\\": \\"对象存储OSS资源包(包月)\\",\\n \\"ProductCode\\": \\"ossbag\\",\\n \\"PackageTypes\\": {\\n \\"PackageType\\": [\\n {\\n \\"Code\\": \\"FPT_ossbag_deadlineAcc_CdnOut_common_sz\\",\\n \\"Name\\": \\"回源流量包(华南1)\\",\\n \\"Properties\\": {\\n \\"Property\\": [\\n {\\n \\"Name\\": \\"region\\",\\n \\"Value\\": \\"cn-shenzhen\\"\\n }\\n ]\\n },\\n \\"Specifications\\": {\\n \\"Specification\\": [\\n {\\n \\"Name\\": \\"1TB\\",\\n \\"Value\\": \\"1024\\",\\n \\"AvailableDurations\\": {\\n \\"AvailableDuration\\": [\\n {\\n \\"Value\\": 6,\\n \\"Name\\": \\"6 Month\\",\\n \\"Unit\\": \\"Month\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeResourcePackageProductResponse>>\\n <Message>Successful!</Message>\\n <RequestId>BBEF51A3-E933-4F40-A534-C673CBDB9C80</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <ResourcePackages>\\n <ResourcePackage>\\n <Name>对象存储OSS资源包(包月)</Name>\\n <ProductCode>ossbag</ProductCode>\\n <PackageTypes>\\n <PackageType>\\n <Name>回源流量包(华南1)</Name>\\n <Specifications>\\n <Specification>\\n <Name>1TB</Name>\\n <Value>1024</Value>\\n <AvailableDurations>\\n <AvailableDuration>\\n <Name>6 Month</Name>\\n <Value>6</Value>\\n <Unit>Month</Unit>\\n </AvailableDuration>\\n </AvailableDurations>\\n </Specification>\\n </Specifications>\\n <Code>FPT_ossbag_deadlineAcc_CdnOut_common_sz</Code>\\n <Properties>\\n <Property>\\n <Name>region</Name>\\n <Value>cn-shenzhen</Value>\\n </Property>\\n <Property>\\n <Name>ossbag_type</Name>\\n <Value>cdn2oss_flow_out</Value>\\n </Property>\\n </Properties>\\n </PackageType>\\n <PackageType>\\n <Name>标准存储包(华北2)</Name>\\n <Specifications>\\n <Specification>\\n <Name>40GB</Name>\\n <Value>40</Value>\\n <AvailableDurations>\\n <AvailableDuration>\\n <Name>6 Month</Name>\\n <Value>6</Value>\\n <Unit>Month</Unit>\\n </AvailableDuration>\\n </AvailableDurations>\\n </Specification>\\n </Specifications>\\n <Code>FPT_ossbag_absolute_Storage_bj</Code>\\n <Properties>\\n <Property>\\n <Name>region</Name>\\n <Value>cn-beijing</Value>\\n </Property>\\n <Property>\\n <Name>ossbag_type</Name>\\n <Value>storage</Value>\\n </Property>\\n </Properties>\\n </PackageType>\\n </PackageTypes>\\n </ResourcePackage>\\n </ResourcePackages>\\n </Data>\\n</DescribeResourcePackageProductResponse>","errorExample":""}]',
'title' => '描述资源包产品服务',
'summary' => '查询某个资源包产品的信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-04-19T03:45:42.000Z', 'description' => '响应参数发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeProduct',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribeResourceUsageDetail' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'StartPeriod',
'in' => 'query',
'schema' => ['description' => '格式:yyyy-MM-dd HH:mm:ss; 查询逻辑为包括该时间'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-01-01 00:00:00'],
],
[
'name' => 'EndPeriod',
'in' => 'query',
'schema' => ['description' => '格式:yyyy-MM-dd HH:mm:ss;查询逻辑为不包括该时间;为空表示截止到当前时间'."\n", 'type' => 'string', 'required' => false, 'example' => '2021-01-02 00:00:00'],
],
[
'name' => 'PeriodType',
'in' => 'query',
'schema' => ['description' => 'MONTH:月维度; DAY:天维度; HOUR:小时维度;'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'HOUR'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '分页token,首页查询时传空,查询结果中返回下一页token地址。当结果token为空时表示全部查完。'."\n", 'type' => 'string', 'required' => false, 'example' => 'eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MTB9'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '本次读取的最大数据记录数量。默认值:20,最大值:300。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '200'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '如果为空查询当前账号及其托管子账号的数据,可传入托管子账号ID,明确查询该子账号数据。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '123745698925000'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源包类型。枚举值:RI:预留实例;SCU:存储容量单位包。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'RI'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码'."\n", 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息'."\n", 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求标识'."\n", 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '是否成功'."\n", 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据'."\n",
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '下一页的token'."\n", 'type' => 'string', 'example' => 'eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MTB9'],
'TotalCount' => ['description' => '总条数'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10000'],
'MaxResults' => ['description' => '本次读取的最大数据记录数量。默认值:20,最大值:300', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
'Items' => [
'description' => '数据条目',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'Valid'],
'UsagePercentage' => ['description' => '使用率', 'type' => 'number', 'format' => 'float', 'example' => '0.5'],
'ResourceInstanceId' => ['description' => '资源实例ID'."\n", 'type' => 'string', 'example' => 'ecsri-bp147nnfz21225k9mpix00'],
'TotalQuantity' => ['description' => '资源总量'."\n", 'type' => 'number', 'format' => 'float', 'example' => '2'],
'ReservationCost' => ['description' => '资源购买费用', 'type' => 'string', 'example' => '0'],
'RegionNo' => ['description' => '地域Code', 'type' => 'string', 'example' => 'cn-hangzhou-dg-a01'],
'UserId' => ['description' => '账号ID', 'type' => 'string', 'example' => '123745698925000'],
'StatusName' => ['description' => '状态名称', 'type' => 'string', 'example' => '生效'],
'CapacityUnit' => ['description' => '抵扣单位', 'type' => 'string', 'example' => '算力*小时'],
'PotentialSavedCost' => ['description' => '潜在节省净值', 'type' => 'string', 'example' => '0.13'],
'Currency' => ['description' => '币种', 'type' => 'string', 'example' => 'CNY'],
'ZoneName' => ['description' => '可用区Code', 'type' => 'string', 'example' => '杭州 可用区I'],
'InstanceSpec' => ['description' => '规格'."\n", 'type' => 'string', 'example' => 'ecs.t5-lc2m1.nano'],
'EndTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2021-04-01 01:00:00'],
'PostpaidCost' => ['description' => '按量成本等效值', 'type' => 'string', 'example' => '0.06'],
'ImageType' => ['description' => '操作系统'."\n", 'type' => 'string', 'example' => 'linux'],
'StartTime' => ['description' => '开始时间', 'type' => 'string', 'example' => '2021-04-01 00:00:00'],
'Region' => ['description' => '地域'."\n", 'type' => 'string', 'example' => '华东1(杭州)'],
'DeductQuantity' => ['description' => '抵扣量'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1'],
'SavedCost' => ['description' => '节省净值', 'type' => 'string', 'example' => '0.06'],
'Zone' => ['description' => '可用区', 'type' => 'string', 'example' => 'cn-hangzhou-i'],
'UserName' => ['description' => '账号名称', 'type' => 'string', 'example' => 'test@aliyun.com'],
'Quantity' => ['description' => '资源数量'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
],
'description' => '',
],
],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [],
'title' => '资源使用率明细',
'summary' => '预留实例、SCU使用率明细查询。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeResourceUsageDetail'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeResourceUsageDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"NextToken\\": \\"eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MTB9\\",\\n \\"TotalCount\\": 10000,\\n \\"MaxResults\\": 200,\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"Valid\\",\\n \\"UsagePercentage\\": 0.5,\\n \\"ResourceInstanceId\\": \\"ecsri-bp147nnfz21225k9mpix00\\",\\n \\"TotalQuantity\\": 2,\\n \\"ReservationCost\\": \\"0\\",\\n \\"RegionNo\\": \\"cn-hangzhou-dg-a01\\",\\n \\"UserId\\": \\"123745698925000\\",\\n \\"StatusName\\": \\"生效\\",\\n \\"CapacityUnit\\": \\"算力*小时\\",\\n \\"PotentialSavedCost\\": \\"0.13\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"ZoneName\\": \\"杭州 可用区I\\",\\n \\"InstanceSpec\\": \\"ecs.t5-lc2m1.nano\\",\\n \\"EndTime\\": \\"2021-04-01 01:00:00\\",\\n \\"PostpaidCost\\": \\"0.06\\",\\n \\"ImageType\\": \\"linux\\",\\n \\"StartTime\\": \\"2021-04-01 00:00:00\\",\\n \\"Region\\": \\"华东1(杭州)\\",\\n \\"DeductQuantity\\": 1,\\n \\"SavedCost\\": \\"0.06\\",\\n \\"Zone\\": \\"cn-hangzhou-i\\",\\n \\"UserName\\": \\"test@aliyun.com\\",\\n \\"Quantity\\": 2\\n }\\n ]\\n }\\n}","errorExample":""}]',
],
'DescribeResourceUsageTotal' => [
'summary' => '预留实例、SCU使用率汇总查询。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'StartPeriod',
'in' => 'query',
'schema' => ['description' => '格式:yyyy-MM-dd HH:mm:ss; 查询逻辑为包括该时间,查询对应的时间为开始时间', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-01-01 00:00:00'],
],
[
'name' => 'EndPeriod',
'in' => 'query',
'schema' => ['description' => '格式:yyyy-MM-dd HH:mm:ss;查询逻辑为不包括该时间;为空表示截止到当前时间,查询对应的时间为结束时间', 'type' => 'string', 'required' => false, 'example' => '2021-01-02 00:00:00'],
],
[
'name' => 'PeriodType',
'in' => 'query',
'schema' => [
'description' => 'MONTH:月维度; DAY:天维度; HOUR:小时维度',
'type' => 'string',
'required' => true,
'docRequired' => true,
'enumValueTitles' => ['MONTH' => 'MONTH', 'HOUR' => 'HOUR', 'DAY' => 'DAY'],
'example' => 'HOUR',
],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号的ID,资源归属账号是实际使用资源的账号;只支持传入1个账号', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '123745698925000'],
],
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => [
'description' => '资源包类型,枚举值包括RI/SCU;RI:预留实例; SCU:存储容量单位包',
'type' => 'string',
'required' => true,
'docRequired' => true,
'enumValueTitles' => ['SCU' => 'SCU', 'RI' => 'RI'],
'example' => 'RI',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '(根节点)',
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '364C7C81-5E5E-51A0-B738-1969D2671B05'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'True'],
'Data' => [
'description' => '数据',
'type' => 'object',
'properties' => [
'PeriodCoverage' => [
'description' => '时段使用率',
'type' => 'array',
'items' => [
'description' => '(时段使用率)',
'type' => 'object',
'properties' => [
'UsagePercentage' => ['description' => '使用率', 'type' => 'number', 'format' => 'float', 'example' => '0.1'],
'Period' => ['description' => '时段', 'type' => 'string', 'example' => '2021071500'],
],
],
],
'TotalUsage' => [
'description' => '总使用率',
'type' => 'object',
'properties' => [
'PostpaidCost' => ['description' => '总按量实例成本', 'type' => 'number', 'format' => 'float', 'example' => '200'],
'SavedCost' => ['description' => '总节省金额', 'type' => 'number', 'format' => 'float', 'example' => '100'],
'UsagePercentage' => ['description' => '总使用率', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'PotentialSavedCost' => ['description' => '潜在总节省金额', 'type' => 'number', 'format' => 'float', 'example' => '100'],
'ReservationCost' => ['description' => '总资源购买费用', 'type' => 'number', 'format' => 'float', 'example' => '10'],
],
],
],
],
],
],
],
],
'errorCodes' => [],
'title' => '资源使用率汇总',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeResourceUsageTotal'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeResourceUsageTotal',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"364C7C81-5E5E-51A0-B738-1969D2671B05\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PeriodCoverage\\": [\\n {\\n \\"UsagePercentage\\": 0.1,\\n \\"Period\\": \\"2021071500\\"\\n }\\n ],\\n \\"TotalUsage\\": {\\n \\"PostpaidCost\\": 200,\\n \\"SavedCost\\": 100,\\n \\"UsagePercentage\\": 1,\\n \\"PotentialSavedCost\\": 100,\\n \\"ReservationCost\\": 10\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeResourceUsageTotalResponse>\\n <RequestId>BD1DC347-905C-1D6E-8BA1-D724266842D2</RequestId>\\n <Message>Successful!</Message>\\n <Data>\\n <TotalUsage>\\n <ReservationCost>0</ReservationCost>\\n <PostpaidCost>0</PostpaidCost>\\n <PotentialSavedCost>0</PotentialSavedCost>\\n <UsagePercentage>0</UsagePercentage>\\n </TotalUsage>\\n <PeriodCoverage>\\n <Period>2021050100</Period>\\n <UsagePercentage>0</UsagePercentage>\\n </PeriodCoverage>\\n <PeriodCoverage>\\n <Period>2021050200</Period>\\n <UsagePercentage>0</UsagePercentage>\\n </PeriodCoverage>\\n <PeriodCoverage>\\n <Period>2021050300</Period>\\n <UsagePercentage>0</UsagePercentage>\\n </PeriodCoverage>\\n <PeriodCoverage>\\n <Period>2021050400</Period>\\n <UsagePercentage>0</UsagePercentage>\\n </PeriodCoverage>\\n <PeriodCoverage>\\n <Period>2021050500</Period>\\n <UsagePercentage>0</UsagePercentage>\\n </PeriodCoverage>\\n <PeriodCoverage>\\n <Period>2021050600</Period>\\n <UsagePercentage>0</UsagePercentage>\\n </PeriodCoverage>\\n <PeriodCoverage>\\n <Period>2021050700</Period>\\n <UsagePercentage>0</UsagePercentage>\\n </PeriodCoverage>\\n <PeriodCoverage>\\n <Period>2021050800</Period>\\n <UsagePercentage>0</UsagePercentage>\\n </PeriodCoverage>\\n <PeriodCoverage>\\n <Period>2021050900</Period>\\n <UsagePercentage>0</UsagePercentage>\\n </PeriodCoverage>\\n <PeriodCoverage>\\n <Period>2021051000</Period>\\n <UsagePercentage>0</UsagePercentage>\\n </PeriodCoverage>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</DescribeResourceUsageTotalResponse>","errorExample":""}]',
],
'DescribeSavingsPlansCoverageDetail' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'StartPeriod',
'in' => 'query',
'schema' => ['description' => '要查询的时间范围的开始。开始时间包含在时间范围内。时间格式 yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-01-01 00:00:00'],
],
[
'name' => 'EndPeriod',
'in' => 'query',
'schema' => ['description' => '要查询的时间范围的结束时间。不包含结束时间。如果不设置该参数,则结束时间为当前时间。时间格式 yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2021-01-01 00:00:00'],
],
[
'name' => 'PeriodType',
'in' => 'query',
'schema' => ['description' => '查询使用情况摘要的时间粒度。有效值枚举:MONTH、DAY、HOUR。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'HOUR'],
],
[
'name' => 'Token',
'in' => 'query',
'schema' => ['description' => '分页token,首页查询时传空,查询结果中返回下一页token地址。当结果token为空时表示全部查完。', 'type' => 'string', 'required' => false, 'example' => 'eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MTB9'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '返回结果的最大个数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号的ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '123745698925000'],
],
[
'name' => 'FilterParam',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'Dimensions' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'SelectType' => ['type' => 'string'],
'Values' => [
'type' => 'array',
'items' => ['type' => 'string'],
],
],
],
],
'Tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'SelectType' => ['type' => 'string'],
'Values' => [
'type' => 'array',
'items' => ['type' => 'string'],
],
],
],
],
],
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'success'],
'Message' => ['description' => '接口调用信息', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '接口调用是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回的查询数据',
'type' => 'object',
'properties' => [
'TotalCount' => ['description' => '总数据个数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'NextToken' => ['description' => '下一页的token', 'type' => 'string', 'example' => 'eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MTB9'],
'Items' => [
'description' => '数据项',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'UserId' => ['description' => '用户id', 'type' => 'integer', 'format' => 'int64', 'example' => '1906589291020438'],
'OwnerId' => ['description' => '被抵扣商品所有者ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1906589291020438'],
'InstanceId' => ['description' => '实例id', 'type' => 'string', 'example' => 'i-bp1d9x623987rlj0dx4xx'],
'Currency' => ['description' => '币种', 'type' => 'string', 'example' => 'CNY'],
'InstanceSpec' => ['description' => '实例规格。', 'type' => 'string', 'example' => 'ecs.sn1ne.3xlarge'],
'PostpaidCost' => ['description' => '按量成本', 'type' => 'number', 'format' => 'float', 'example' => '200'],
'CoveragePercentage' => ['description' => '覆盖率', 'type' => 'number', 'format' => 'float', 'example' => '0.9'],
'Region' => ['description' => '地域', 'type' => 'string', 'example' => '华东1(杭州)'],
'DeductAmount' => ['description' => '抵扣金额', 'type' => 'number', 'format' => 'float', 'example' => '5.5'],
'StartPeriod' => ['description' => '开始时间', 'type' => 'string', 'example' => '2023-04-01 00:00:00'],
'TotalAmount' => ['description' => '总支出', 'type' => 'number', 'format' => 'float', 'example' => '6.11'],
'UserName' => ['description' => '用户账号名', 'type' => 'string', 'example' => 'xxx@test.aliyunid.com'],
'EndPeriod' => ['description' => '结束时间', 'type' => 'string', 'example' => '2023-05-01 00:00:00'],
],
'description' => '',
],
],
],
],
],
'description' => '',
],
],
],
'title' => '节省计划覆盖率明细',
'summary' => '节省计划覆盖率明细查询。',
'changeSet' => [
['createdAt' => '2023-10-13T09:14:59.000Z', 'description' => '响应参数发生变更、错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSavingsPlansCoverageDetail'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:SavingsPlansAnalysis',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TotalCount\\": 100,\\n \\"NextToken\\": \\"eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MTB9\\",\\n \\"Items\\": [\\n {\\n \\"UserId\\": 1906589291020438,\\n \\"OwnerId\\": 1906589291020438,\\n \\"InstanceId\\": \\"i-bp1d9x623987rlj0dx4xx\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"InstanceSpec\\": \\"ecs.sn1ne.3xlarge\\",\\n \\"PostpaidCost\\": 200,\\n \\"CoveragePercentage\\": 0.9,\\n \\"Region\\": \\"华东1(杭州)\\",\\n \\"DeductAmount\\": 5.5,\\n \\"StartPeriod\\": \\"2023-04-01 00:00:00\\",\\n \\"TotalAmount\\": 6.11,\\n \\"UserName\\": \\"xxx@test.aliyunid.com\\",\\n \\"EndPeriod\\": \\"2023-05-01 00:00:00\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'DescribeSavingsPlansCoverageTotal' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'StartPeriod',
'in' => 'query',
'schema' => ['description' => '格式:yyyy-MM-dd HH:mm:ss; 查询逻辑为包括该时间', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-07-15 00:00:00'],
],
[
'name' => 'EndPeriod',
'in' => 'query',
'schema' => ['description' => '格式:yyyy-MM-dd HH:mm:ss;查询逻辑为不包括该时间;为空表示截止到当前时间', 'type' => 'string', 'required' => false, 'example' => '2021-07-20 00:00:00'],
],
[
'name' => 'PeriodType',
'in' => 'query',
'schema' => ['description' => 'MONTH:月维度; DAY:天维度; HOUR:小时维度;', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'HOUR'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号的ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '123745698925000'],
],
[
'name' => 'FilterParam',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'Dimensions' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'SelectType' => ['type' => 'string'],
'Values' => [
'type' => 'array',
'items' => ['type' => 'string'],
],
],
],
],
'Tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'SelectType' => ['type' => 'string'],
'Values' => [
'type' => 'array',
'items' => ['type' => 'string'],
],
],
],
],
],
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求标识', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PeriodCoverage' => [
'description' => '时段覆盖率',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Percentage' => ['description' => '覆盖率', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'Period' => ['description' => '时段'."\n"
.'yyyyMMddHH', 'type' => 'string', 'example' => '2021071500'],
],
'description' => '',
],
],
'TotalCoverage' => [
'description' => '总覆盖率',
'type' => 'object',
'properties' => [
'CoveragePercentage' => ['description' => '总覆盖率', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'DeductAmount' => ['description' => '总抵扣金额', 'type' => 'number', 'format' => 'float', 'example' => '100'],
],
],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [],
'title' => '节省计划覆盖率汇总',
'summary' => '节省计划覆盖率汇总查询。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSavingsPlansCoverageTotal'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:SavingsPlansAnalysis',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PeriodCoverage\\": [\\n {\\n \\"Percentage\\": 1,\\n \\"Period\\": \\"2021071500\\"\\n }\\n ],\\n \\"TotalCoverage\\": {\\n \\"CoveragePercentage\\": 1,\\n \\"DeductAmount\\": 100\\n }\\n }\\n}","type":"json"}]',
],
'DescribeSavingsPlansUsageDetail' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'StartPeriod',
'in' => 'query',
'schema' => ['description' => '格式:yyyy-MM-dd HH:mm:ss; 查询逻辑为包括该时间', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-01-01 00:00:00'],
],
[
'name' => 'EndPeriod',
'in' => 'query',
'schema' => ['description' => '格式:yyyy-MM-dd HH:mm:ss;查询逻辑为不包括该时间;为空表示截止到当前时间', 'type' => 'string', 'required' => false, 'example' => '2021-01-02 00:00:00'],
],
[
'name' => 'PeriodType',
'in' => 'query',
'schema' => ['description' => '查询使用情况摘要的时间粒度。枚举值:MONTH:月维度; DAY:天维度; HOUR:小时维度。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'HOUR'],
],
[
'name' => 'Token',
'in' => 'query',
'schema' => ['description' => '分页token,首页查询时传空,查询结果中返回下一页token地址。当结果token为空时表示全部查完。', 'type' => 'string', 'required' => false, 'example' => 'eyJwYWdlTnVtIjoyLCJwYWdlU2l6ZSI6MTB9'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '本次读取的最大数据记录数量。默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '300'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '如果为空查询当前账号及其托管子账号的数据,可传入托管子账号ID,明确查询该子账号数据。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '123745698925000'],
],
[
'name' => 'FilterParam',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'Dimensions' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'SelectType' => ['type' => 'string'],
'Values' => [
'type' => 'array',
'items' => ['type' => 'string'],
],
],
],
],
'Tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'SelectType' => ['type' => 'string'],
'Values' => [
'type' => 'array',
'items' => ['type' => 'string'],
],
],
],
],
],
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求标识', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据',
'type' => 'object',
'properties' => [
'TotalCount' => ['description' => '总数据个数', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
'NextToken' => ['description' => '下一页token', 'type' => 'string', 'example' => 'eyJwYWdlTnVtIjoyLCJwYWdlU2ldhsSI6MTB9'],
'Items' => [
'description' => '数据项',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => ['description' => '当前状态'."\n"
."\n"
.'-1: 欠费、1: 生效', 'type' => 'string', 'example' => '-1'],
'Type' => ['description' => '类型:通用型、ECS计算型', 'type' => 'string', 'example' => '通用型'],
'UsagePercentage' => ['description' => '使用率', 'type' => 'number', 'format' => 'float', 'example' => '0.9'],
'UserId' => ['description' => '账号ID', 'type' => 'integer', 'format' => 'int64', 'example' => '123745698925000'],
'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'spn-a1fhs54c243hP22'],
'Currency' => ['description' => '币种', 'type' => 'string', 'example' => 'CNY'],
'PostpaidCost' => ['description' => '按量标准费用', 'type' => 'number', 'format' => 'float', 'example' => '4.2'],
'DeductValue' => ['description' => '节省计划已支出,即已使用承付款', 'type' => 'number', 'format' => 'float', 'example' => '3.94'],
'StartPeriod' => ['description' => '开始时间', 'type' => 'string', 'example' => '2021-08-01 00:00:00'],
'SavedCost' => ['description' => '节省净额', 'type' => 'number', 'format' => 'float', 'example' => '0.08'],
'PoolValue' => ['description' => '节省计划总金额', 'type' => 'number', 'format' => 'float', 'example' => '29.84'],
'UserName' => ['description' => '账号名称', 'type' => 'string', 'example' => 'test13@test.aliyun.com'],
'EndPeriod' => ['description' => '结束时间', 'type' => 'string', 'example' => '2021-08-09 00:00:00'],
],
'description' => '',
],
],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [],
'title' => '节省计划使用率明细',
'summary' => '节省计划使用率明细查询',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSavingsPlansUsageDetail'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:SavingsPlansAnalysis',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TotalCount\\": 1000,\\n \\"NextToken\\": \\"eyJwYWdlTnVtIjoyLCJwYWdlU2ldhsSI6MTB9\\",\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"-1\\",\\n \\"Type\\": \\"通用型\\",\\n \\"UsagePercentage\\": 0.9,\\n \\"UserId\\": 123745698925000,\\n \\"InstanceId\\": \\"spn-a1fhs54c243hP22\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"PostpaidCost\\": 4.2,\\n \\"DeductValue\\": 3.94,\\n \\"StartPeriod\\": \\"2021-08-01 00:00:00\\",\\n \\"SavedCost\\": 0.08,\\n \\"PoolValue\\": 29.84,\\n \\"UserName\\": \\"test13@test.aliyun.com\\",\\n \\"EndPeriod\\": \\"2021-08-09 00:00:00\\"\\n }\\n ]\\n }\\n}","errorExample":""}]',
],
'DescribeSavingsPlansUsageTotal' => [
'summary' => '节省计划使用率汇总查询',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'StartPeriod',
'in' => 'query',
'schema' => ['description' => '要查询的时间范围的开始。开始时间包含在时间范围内。时间格式 yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2021-01-01 00:00:00'],
],
[
'name' => 'EndPeriod',
'in' => 'query',
'schema' => ['description' => '要查询的时间范围的结束时间。不包含结束时间。如果不设置该参数,则结束时间为当前时间。时间格式 yyyy-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2021-01-02 00:00:00'],
],
[
'name' => 'PeriodType',
'in' => 'query',
'schema' => ['description' => '查询使用情况摘要的时间粒度。有效值枚举:MONTH、DAY、HOUR。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'HOUR'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号的ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '123745698925000'],
],
[
'name' => 'FilterParam',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'Dimensions' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Values' => [
'type' => 'array',
'items' => ['type' => 'string'],
],
'SelectType' => ['type' => 'string'],
],
],
],
'Tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['type' => 'string'],
'Values' => [
'type' => 'array',
'items' => ['type' => 'string'],
],
'SelectType' => ['type' => 'string'],
],
],
],
],
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'success'],
'Message' => ['description' => '接口调用信息', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '接口调用是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回的查询数据',
'type' => 'object',
'properties' => [
'PeriodCoverage' => [
'description' => '每个时间端的使用率数据',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Percentage' => ['description' => '使用率', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'Period' => ['description' => '数据所属时间段,格式 yyyyMMddHH.', 'type' => 'string', 'example' => '2021041500'],
],
'description' => '',
],
],
'TotalUsage' => [
'description' => '总使用率概览',
'type' => 'object',
'properties' => [
'PostpaidCost' => ['description' => '后付费价格', 'type' => 'number', 'format' => 'float', 'example' => '200'],
'SavedCost' => ['description' => '节省的金额', 'type' => 'number', 'format' => 'float', 'example' => '100'],
'UsagePercentage' => ['description' => '总使用率', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'PoolValue' => ['description' => '节省计划的总量', 'type' => 'number', 'format' => 'float', 'example' => '100'],
],
],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [],
'title' => '节省计划使用率汇总',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSavingsPlansUsageTotal'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:SavingsPlansAnalysis',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PeriodCoverage\\": [\\n {\\n \\"Percentage\\": 1,\\n \\"Period\\": \\"2021041500\\"\\n }\\n ],\\n \\"TotalUsage\\": {\\n \\"PostpaidCost\\": 200,\\n \\"SavedCost\\": 100,\\n \\"UsagePercentage\\": 1,\\n \\"PoolValue\\": 100\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeSavingsPlansUsageTotalResponse>\\n <Code>success</Code>\\n <Message>Successful!</Message>\\n <RequestId>79EE7556-0CFD-44EB-9CD6-B3B526E3A85F</RequestId>\\n <Success>true</Success>\\n <Data>\\n <PeriodCoverage>\\n <Percentage>1</Percentage>\\n <Period>2021041500</Period>\\n </PeriodCoverage>\\n <TotalUsage>\\n <PostpaidCost>200</PostpaidCost>\\n <SavedCost>100</SavedCost>\\n <UsagePercentage>1</UsagePercentage>\\n <PoolValue>100</PoolValue>\\n </TotalUsage>\\n </Data>\\n</DescribeSavingsPlansUsageTotalResponse>","errorExample":""}]',
],
'DescribeSplitItemBill' => [
'summary' => '查询分账账单。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'BillingCycle',
'in' => 'query',
'schema' => ['description' => '账单日期,YYYY-MM。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2020-03'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值:'."\n"
."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。'."\n"
."\n"
.'> 必须和ProductCode参数一起使用。', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '用来表示当前调用开始读取的位置,参数值必须为空或者使用返回结果中的NextToken设值,否则会报错。空代表从头开始读取。', 'type' => 'string', 'required' => false, 'example' => 'CAESEgoQCg4KCmd'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '本次读取的最大数据记录数量。默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号的ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '123'],
],
[
'name' => 'InstanceID',
'in' => 'query',
'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'i-kjhdskjgshfdlkjfdh'],
],
[
'name' => 'SplitItemID',
'in' => 'query',
'schema' => ['description' => '分拆项ID。', 'type' => 'string', 'required' => false, 'example' => 'i-kjhdskjgshfdlkjfdh'],
],
[
'name' => 'Granularity',
'in' => 'query',
'schema' => ['description' => '查询账单的颗粒度。取值:'."\n"
.'- MONTHLY:月。与用户中心-分账账单-账期账单一致。'."\n"
.'- DAILY:日。与用户中心-分账账单-按天账单一致。'."\n"
."\n"
.'> 选择DAILY需指定BillingDate。', 'type' => 'string', 'required' => false, 'example' => 'Monthly'],
],
[
'name' => 'BillingDate',
'in' => 'query',
'schema' => ['description' => '账单日期,仅当Granularity为DAILY时必填,格式为YYYY-MM-DD。', 'type' => 'string', 'required' => false, 'example' => '2020-03-02'],
],
[
'name' => 'TagFilter',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签过滤条件,支持多组标签查询条件TagValues。多组TagValues条件之间为或关系。',
'type' => 'array',
'items' => [
'description' => '标签过滤条件。',
'type' => 'object',
'properties' => [
'TagValues' => [
'description' => 'TagValues.N用于查找符合指定标签值的账单,由字符串列表组成。标签值长度的取值范围:1~128。N的取值范围:1~20。'."\n"
.'- 指定TagValues.N时,需同时指定TagFilter.N.TagKey,否则报错InvalidParameter.TagValues。'."\n"
.'- 指定多个标签值时,则满足任一标签值的账单都会被查询到。',
'type' => 'array',
'items' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'TestValue'],
'required' => false,
'example' => 'TestValue',
'maxItems' => 20,
],
'TagKey' => ['description' => 'TagFilter.N用于查找符合指定标签的账单,由一个键值对组成。标签键长度的取值范围:1~128。N的取值范围:1~20'."\n"
."\n"
.'- 仅指定TagFilter.N.TagKey时,则返回关联该标签键的所有账单。'."\n"
.'- 同时指定多个标签键值对时,满足任一标签键值对的账单被查找到。'."\n"
.'- 如果资源上的标签发生变动,仅能查询标签存续期间的账单。', 'type' => 'string', 'required' => false, 'example' => 'TestKey'],
],
'required' => false,
],
'required' => false,
'maxItems' => 20,
],
],
[
'name' => 'IsHideZeroCharge',
'in' => 'query',
'schema' => [
'description' => '根据原价(PretaxGrossAmount)和应付(PretaxAmount)是否都为0做过滤。取值:'."\n"
."\n"
.'- false。'."\n"
.'- true。',
'type' => 'boolean',
'required' => false,
'enumValueTitles' => [],
'example' => 'false',
],
],
[
'name' => 'PipCode',
'in' => 'query',
'schema' => ['description' => '产品Code,与费用中心账单产品Code一致。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕。下次调用时,需要将此设置到入参NextToken中。', 'type' => 'string', 'example' => 'CAESEgoQCg4K'],
'BillingCycle' => ['description' => '账单日期,格式:YYYY-MM。', 'type' => 'string', 'example' => '2020-03'],
'MaxResults' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'AccountID' => ['description' => '账号ID。', 'type' => 'string', 'example' => '185xxxx3489'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'AccountName' => ['description' => '用户账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'Items' => [
'description' => '账单详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'SplitAccountID' => ['description' => '分拆项所属账号AccountID', 'type' => 'string', 'example' => '12**122'],
'BillAccountName' => ['description' => '账单所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'SubscriptionType' => ['description' => '订阅类型,取值:'."\n"
.'Subscription:预付费。'."\n"
.'PayAsYouGo:后付费。', 'type' => 'string', 'example' => 'PayAsYouGo'],
'InstanceSpec' => ['description' => '实例规格。', 'type' => 'string', 'example' => 'ecs.sn1ne.3xlarge'],
'DeductedByCoupons' => ['description' => '优惠券优惠金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'Region' => ['description' => '地域。', 'type' => 'string', 'example' => '杭州'],
'OutstandingAmount' => ['description' => '未结清金额。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'],
'PipCode' => ['description' => '产品Code,与费用中心账单产品Code一致', 'type' => 'string', 'example' => 'rds'],
'CommodityCode' => ['description' => '商品Code,与费用中心产品明细Code一致。', 'type' => 'string', 'example' => 'rds'],
'NickName' => ['description' => '实例昵称。', 'type' => 'string', 'example' => 'nick'],
'ProductDetail' => ['description' => '产品明细。', 'type' => 'string', 'example' => '云数据库RDS'],
'Usage' => ['description' => '用量。', 'type' => 'string', 'example' => '100'],
'IntranetIP' => ['description' => '内网IP。', 'type' => 'string', 'example' => '192.xx.xx.xx'],
'UsageUnit' => ['description' => '用量单位。', 'type' => 'string', 'example' => 'GB'],
'SplitCommodityCode' => ['description' => '分拆项商品code。', 'type' => 'string', 'example' => 'rds'],
'BillAccountID' => ['description' => '账单所属账号ID。', 'type' => 'string', 'example' => '185xxxx3489'],
'ProductType' => ['description' => '产品类型。', 'type' => 'string', 'example' => 'rds'],
'DeductedByResourcePackage' => ['description' => '资源包抵扣。', 'type' => 'string', 'example' => '0'],
'PaymentAmount' => ['description' => '现金支付(含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'SplitBillingCycle' => ['description' => '分账月。', 'type' => 'string', 'example' => '2021-06'],
'ServicePeriod' => ['description' => '服务时长。', 'type' => 'string', 'example' => '20'],
'SplitItemName' => ['description' => '分拆项名称。', 'type' => 'string', 'example' => 'iZ28bycvyb4Z'],
'ListPrice' => ['description' => '单价。', 'type' => 'string', 'example' => '0.12'],
'Zone' => ['description' => '可用区。', 'type' => 'string', 'example' => '华北1'],
'PretaxGrossAmount' => ['description' => '原始金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'CashAmount' => ['description' => '现金支付(不包含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'InstanceConfig' => ['description' => '实例详细配置。', 'type' => 'string', 'example' => 'CPU:12'],
'BillingDate' => ['description' => '账单日期,格式YYYY-MM-DD。暂未支持。', 'type' => 'string', 'example' => '2020-01-20'],
'InternetIP' => ['description' => '公网IP。', 'type' => 'string', 'example' => '34.xx.x.x'],
'Item' => ['description' => '账单类型:'."\n"
.'SubscriptionOrder(预付订单)。'."\n"
.'PayAsYouGoBill (后付账单)。'."\n"
.'Refund (退款)。'."\n"
.'Adjustment (调账)。', 'type' => 'string', 'example' => 'PayAsYouGoBill'],
'SplitItemID' => ['description' => '分拆项ID。', 'type' => 'string', 'example' => 'i-28bycvyb4'],
'InstanceID' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'i-kjhdskjgshfdlkjfdh'],
'Tag' => ['description' => '资源标签。资源上标签变更时,则存续期间产生的账单会有此标签。', 'type' => 'string', 'example' => 'key:testKey value:testValue; key:testKey1 value:testValues1'],
'Currency' => ['description' => '币种,取值:'."\n"
.'CNY。'."\n"
.'USD。'."\n"
.'JPY。', 'type' => 'string', 'example' => 'CNY'],
'DeductedByCashCoupons' => ['description' => '代金券抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'BizType' => ['description' => '业务类型', 'type' => 'string', 'example' => 'trusteeship'],
'BillingItem' => ['description' => '计费项。', 'type' => 'string', 'example' => '带宽'],
'BillingItemCode' => ['description' => '计费项代码。', 'type' => 'string', 'example' => 'disk'],
'CostUnit' => ['description' => '财务单元。', 'type' => 'string', 'example' => '未分配'],
'ListPriceUnit' => ['description' => '单价单位。', 'type' => 'string', 'example' => '元/GB'],
'ResourceGroup' => ['description' => '资源组。', 'type' => 'string', 'example' => '默认资源组'],
'PretaxAmount' => ['description' => '应付金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ServicePeriodUnit' => ['description' => '服务时长单位。', 'type' => 'string', 'example' => '小时'],
'SplitBillingDate' => ['description' => '分账天。', 'type' => 'string', 'example' => '2021-06-01'],
'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => '云数据库RDS'],
'SplitProductDetail' => ['description' => '分拆项产品明细名称。', 'type' => 'string', 'example' => '云数据库'],
'AdjustAmount' => ['description' => '信用额度退款抵扣。'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0'],
'OwnerID' => ['description' => '资源Owner账号AccountID(多账号代付场景)。', 'type' => 'string', 'example' => '169***013'],
'DeductedByPrepaidCard' => ['description' => '储值卡抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'InvoiceDiscount' => ['description' => '优惠金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'SplitAccountName' => ['description' => '分拆项所属账号名称。', 'type' => 'string', 'example' => 'test**1122'],
'BillingType' => ['description' => '计费方式。', 'type' => 'string', 'example' => '其它'],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
'ItemName' => ['description' => '项目名称。', 'type' => 'string', 'example' => 'iZ28bycvyb4Z'],
'AfterDiscountAmount' => ['description' => '优惠后金额(包含券抵扣的应付金额数据。计算规则为:优惠后金额=官网目录价-优惠金额)', 'type' => 'number', 'format' => 'float'],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"NextToken\\": \\"CAESEgoQCg4K\\",\\n \\"BillingCycle\\": \\"2020-03\\",\\n \\"MaxResults\\": 20,\\n \\"AccountID\\": \\"185xxxx3489\\",\\n \\"TotalCount\\": 20,\\n \\"AccountName\\": \\"test@test.aliyunid.com\\",\\n \\"Items\\": [\\n {\\n \\"SplitAccountID\\": \\"12**122\\",\\n \\"BillAccountName\\": \\"test@test.aliyunid.com\\",\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"InstanceSpec\\": \\"ecs.sn1ne.3xlarge\\",\\n \\"DeductedByCoupons\\": 0,\\n \\"Region\\": \\"杭州\\",\\n \\"OutstandingAmount\\": 0.1,\\n \\"PipCode\\": \\"rds\\",\\n \\"CommodityCode\\": \\"rds\\",\\n \\"NickName\\": \\"nick\\",\\n \\"ProductDetail\\": \\"云数据库RDS\\",\\n \\"Usage\\": \\"100\\",\\n \\"IntranetIP\\": \\"192.xx.xx.xx\\",\\n \\"UsageUnit\\": \\"GB\\",\\n \\"SplitCommodityCode\\": \\"rds\\",\\n \\"BillAccountID\\": \\"185xxxx3489\\",\\n \\"ProductType\\": \\"rds\\",\\n \\"DeductedByResourcePackage\\": \\"0\\",\\n \\"PaymentAmount\\": 0,\\n \\"SplitBillingCycle\\": \\"2021-06\\",\\n \\"ServicePeriod\\": \\"20\\",\\n \\"SplitItemName\\": \\"iZ28bycvyb4Z\\",\\n \\"ListPrice\\": \\"0.12\\",\\n \\"Zone\\": \\"华北1\\",\\n \\"PretaxGrossAmount\\": 0,\\n \\"CashAmount\\": 0,\\n \\"InstanceConfig\\": \\"CPU:12\\",\\n \\"BillingDate\\": \\"2020-01-20\\",\\n \\"InternetIP\\": \\"34.xx.x.x\\",\\n \\"Item\\": \\"PayAsYouGoBill\\",\\n \\"SplitItemID\\": \\"i-28bycvyb4\\",\\n \\"InstanceID\\": \\"i-kjhdskjgshfdlkjfdh\\",\\n \\"Tag\\": \\"key:testKey value:testValue; key:testKey1 value:testValues1\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"DeductedByCashCoupons\\": 0,\\n \\"BizType\\": \\"trusteeship\\",\\n \\"BillingItem\\": \\"带宽\\",\\n \\"BillingItemCode\\": \\"disk\\",\\n \\"CostUnit\\": \\"未分配\\",\\n \\"ListPriceUnit\\": \\"元/GB\\",\\n \\"ResourceGroup\\": \\"默认资源组\\",\\n \\"PretaxAmount\\": 0,\\n \\"ServicePeriodUnit\\": \\"小时\\",\\n \\"SplitBillingDate\\": \\"2021-06-01\\",\\n \\"ProductName\\": \\"云数据库RDS\\",\\n \\"SplitProductDetail\\": \\"云数据库\\",\\n \\"AdjustAmount\\": 0,\\n \\"OwnerID\\": \\"169***013\\",\\n \\"DeductedByPrepaidCard\\": 0,\\n \\"InvoiceDiscount\\": 0,\\n \\"SplitAccountName\\": \\"test**1122\\",\\n \\"BillingType\\": \\"其它\\",\\n \\"ProductCode\\": \\"rds\\",\\n \\"ItemName\\": \\"iZ28bycvyb4Z\\",\\n \\"AfterDiscountAmount\\": 0\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeSplitItemBillResponse>\\n <Code>Success</Code>\\n <Message>Successful!</Message>\\n <RequestId>79EE7556-0CFD-44EB-9CD6-B3B526E3A85F</RequestId>\\n <Success>true</Success>\\n <Data>\\n <NextToken>CAESEgoQCg4K</NextToken>\\n <BillingCycle>2020-03</BillingCycle>\\n <MaxResults>20</MaxResults>\\n <AccountID>185xxxx3489</AccountID>\\n <TotalCount>20</TotalCount>\\n <AccountName>test@test.aliyunid.com</AccountName>\\n <Items>\\n <SplitAccountID>12**122</SplitAccountID>\\n <BillAccountName>test@test.aliyunid.com</BillAccountName>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <InstanceSpec>ecs.sn1ne.3xlarge</InstanceSpec>\\n <DeductedByCoupons>0</DeductedByCoupons>\\n <Region>杭州</Region>\\n <OutstandingAmount>0.1</OutstandingAmount>\\n <PipCode>rds</PipCode>\\n <CommodityCode>rds</CommodityCode>\\n <NickName>nick</NickName>\\n <ProductDetail>云数据库RDS</ProductDetail>\\n <Usage>100</Usage>\\n <IntranetIP>192.xx.xx.xx</IntranetIP>\\n <UsageUnit>GB</UsageUnit>\\n <SplitCommodityCode>rds</SplitCommodityCode>\\n <BillAccountID>185xxxx3489</BillAccountID>\\n <ProductType>rds</ProductType>\\n <DeductedByResourcePackage>0</DeductedByResourcePackage>\\n <PaymentAmount>0</PaymentAmount>\\n <SplitBillingCycle>2021-06</SplitBillingCycle>\\n <ServicePeriod>20</ServicePeriod>\\n <SplitItemName>iZ28bycvyb4Z</SplitItemName>\\n <ListPrice>0.12</ListPrice>\\n <Zone>华北1</Zone>\\n <PretaxGrossAmount>0</PretaxGrossAmount>\\n <CashAmount>0</CashAmount>\\n <InstanceConfig>CPU:12</InstanceConfig>\\n <BillingDate>2020-01-20</BillingDate>\\n <InternetIP>34.xx.x.x</InternetIP>\\n <Item>PayAsYouGoBill</Item>\\n <SplitItemID>i-28bycvyb4</SplitItemID>\\n <InstanceID>i-kjhdskjgshfdlkjfdh</InstanceID>\\n <Tag>key:testKey value:testValue; key:testKey1 value:testValues1</Tag>\\n <Currency>CNY</Currency>\\n <DeductedByCashCoupons>0</DeductedByCashCoupons>\\n <BizType>trusteeship</BizType>\\n <BillingItem>带宽</BillingItem>\\n <BillingItemCode>disk</BillingItemCode>\\n <CostUnit>未分配</CostUnit>\\n <ListPriceUnit>元/GB</ListPriceUnit>\\n <ResourceGroup>默认资源组</ResourceGroup>\\n <PretaxAmount>0</PretaxAmount>\\n <ServicePeriodUnit>小时</ServicePeriodUnit>\\n <SplitBillingDate>2021-06-01</SplitBillingDate>\\n <ProductName>云数据库RDS</ProductName>\\n <SplitProductDetail>云数据库</SplitProductDetail>\\n <AdjustAmount>0</AdjustAmount>\\n <OwnerID>169***013</OwnerID>\\n <DeductedByPrepaidCard>0</DeductedByPrepaidCard>\\n <InvoiceDiscount>0</InvoiceDiscount>\\n <SplitAccountName>test**1122</SplitAccountName>\\n <BillingType>其它</BillingType>\\n <ProductCode>rds</ProductCode>\\n <ItemName>iZ28bycvyb4Z</ItemName>\\n </Items>\\n </Data>\\n</DescribeSplitItemBillResponse>","errorExample":""}]',
'title' => '分账账单服务',
'description' => '- 分账账单当月数据查询结果仅供参考,不作为对账依据。当月最终账单在次月4日12点后查询,当月分账账单数据中不包含未结算(未出账,累账中)的后付费数据。'."\n"
.'- 分账账单数据支持最近12个月数据。'."\n"
.'- 分账账单数据相对于实际费用消耗延迟48小时更新,其中分拆型云产品(例如:CDN、OSS、共享带宽等)各个分拆项(例如:域名、Bucket、EIP等)的具体费用延迟72小时更新。'."\n"
.'- 分账账单数据需要用户在控制台<props="china">[分账账单](https://usercenter2.aliyun.com/finance/split-bill)</props><props="intl">[分账账单](https://usercenter2-intl.aliyun.com/finance/split-bill)</props>页面开通后才可提供,自开通后延迟24小时可使用。'."\n"
.'- 单用户限流10笔/秒,如遇超时,请重试。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSplitItemBill'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeSplitItemBill',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetAccountRelation' => [
'summary' => '查询财务关联详情。',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'RelationId',
'in' => 'query',
'schema' => ['title' => 'relationId', 'description' => '账号关联id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1234'],
],
[
'name' => 'RequestId',
'in' => 'query',
'schema' => ['title' => 'requestId', 'description' => '请求唯一标识,用于标记一次请求,便于定位问题', 'type' => 'string', 'required' => false, 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'result',
'description' => 'result',
'type' => 'object',
'properties' => [
'Message' => ['title' => 'message', 'description' => '提示信息', 'type' => 'string', 'example' => '提示信息'],
'RequestId' => ['title' => 'requestId', 'description' => '请求标识', 'type' => 'string', 'example' => 'RequestId'],
'Data' => [
'title' => 'data',
'description' => 'data',
'type' => 'object',
'properties' => [
'Id' => ['title' => 'id', 'description' => '关联id', 'type' => 'integer', 'format' => 'int64', 'example' => '关联id'],
'ParentUserId' => ['title' => 'parentUserId', 'description' => '父账号uid', 'type' => 'integer', 'format' => 'int64', 'example' => '主账号的阿里云UID'],
'ChildUserId' => ['description' => '子账号uid', 'type' => 'integer', 'format' => 'int64', 'example' => '子账号的阿里云账号UID'],
'StartTime' => ['description' => '账号关联开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-11-01'],
'EndTime' => ['description' => '账号关联结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-12-01'],
'Type' => ['title' => 'type', 'description' => '关联关系类型', 'type' => 'string', 'example' => 'enterprise_group'],
'Status' => ['description' => '账号关联状态:'."\n"
.'RELATED 【已建立关联】'."\n"
.'CONFIRMING 【待对方确认】'."\n"
.'REJECTED 【对方拒绝】'."\n"
.'CONNECTION_CANCELED 【财务子账号取消申请】'."\n"
.'CONNECTION_MASTER_CANCEL【财务主账号取消邀请】'."\n"
.'CHANGE_CONFIRMING 【关系变更待确认中】'."\n"
.'INITIAL 【初始新建关联状态】', 'type' => 'string', 'example' => 'RELATED 【已建立关联】'],
'GmtModified' => ['description' => '账号关联更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-12-01'],
],
],
'Code' => ['title' => 'code', 'description' => '请求状态码', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => 'success', 'description' => '请求是否成功标识', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"提示信息\\",\\n \\"RequestId\\": \\"RequestId\\",\\n \\"Data\\": {\\n \\"Id\\": 0,\\n \\"ParentUserId\\": 0,\\n \\"ChildUserId\\": 0,\\n \\"StartTime\\": 0,\\n \\"EndTime\\": 0,\\n \\"Type\\": \\"enterprise_group\\",\\n \\"Status\\": \\"RELATED 【已建立关联】\\",\\n \\"GmtModified\\": 0\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '查询财务关联',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAccountRelation'],
],
],
'ramActions' => [],
],
'GetCustomerAccountInfo' => [
'summary' => '查询虚商下终端客户账号信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'description' => '返回对象',
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '94017C56-1725-5DD9-AB41-B3BAE791D600'],
'Success' => ['description' => 'success=true代表调用执行完成。success=false代表执行出现错误。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'Mpk' => ['description' => '父账号mpk', 'type' => 'integer', 'format' => 'int64', 'example' => '1051360339779133'],
'LoginEmail' => ['description' => '终端客户的邮箱地址', 'type' => 'string', 'example' => 'xxxx@aliyun.com'],
'HostingStatus' => ['description' => '托管状态.信控提供,实例是否托管由阿里云管理,如果托管,阿里云会负责欠费停机操作'."\n"
."\n"
.'1、用户冻结业务-"FREEZE",'."\n"
."\n"
.'2、用户托管业务-"TRUSTEESHIP"', 'type' => 'string', 'example' => 'FREEZE'],
'AccountType' => ['description' => '账号类型 1 为企业, 0 个人', 'type' => 'string', 'example' => '1'],
'CreditLimitStatus' => ['description' => 'enduser业务类型'."\n"
."\n"
.'1、用户冻结状态-"Freeze"'."\n"
."\n"
.'2、用户解冻状态-"Thaw"'."\n"
.' '."\n"
.'3、用户托管状态-"Trusteeship"'."\n"
.' '."\n"
.'4、用户非托管状态-"TrusteeshipCancel"', 'type' => 'string', 'example' => 'Freeze'],
'IsCertified' => ['description' => '实名认证状态', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
],
[
['errorCode' => 'VnoNoDataError', 'errorMessage' => 'There is no data by this request.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"94017C56-1725-5DD9-AB41-B3BAE791D600\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Mpk\\": 1051360339779133,\\n \\"LoginEmail\\": \\"xxxx@aliyun.com\\",\\n \\"HostingStatus\\": \\"FREEZE\\",\\n \\"AccountType\\": \\"1\\",\\n \\"CreditLimitStatus\\": \\"Freeze\\",\\n \\"IsCertified\\": true\\n }\\n}","type":"json"}]',
'title' => '查找虚商客户账号信息',
'changeSet' => [
['createdAt' => '2022-12-26T12:12:10.000Z', 'description' => '错误码发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:GetCustomerAccountInfo',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetCustomerList' => [
'summary' => '查询虚商下的终端客户uid列表。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'description' => '返回对象',
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求的ID。用于定位日志,排查问题。', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '是否调用成功。'."\n"
.'- **true**:调用成功。'."\n"
.'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'UidList' => [
'description' => '用户uid列表。',
'type' => 'array',
'items' => ['description' => '用户uid列表。', 'type' => 'string', 'example' => '6210322125051645960'],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
],
[
['errorCode' => 'VnoNoDataError', 'errorMessage' => 'There is no data by this request.', 'description' => ''],
],
[
['errorCode' => 'NotFoundRamAction', 'errorMessage' => 'Not found ramAction for apiActon: GetCustomerList', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"UidList\\": [\\n \\"6210322125051645960\\"\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询子账号列表',
'description' => '系统会根据请求的aksk查询其下的关联的终端客户uid列表',
'changeSet' => [
['createdAt' => '2022-12-26T12:12:10.000Z', 'description' => '错误码发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:GetCustomerList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetOrderDetail' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'OrderId',
'in' => 'query',
'schema' => ['description' => '订单号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '32453453'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'D6E068C3-25BC-455A-85FE-45F0B22ECB1F'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'HostName' => ['description' => '主机名。', 'type' => 'string', 'example' => 'test'],
'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '每页条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'OrderList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Order' => [
'description' => '订单列表。',
'type' => 'array',
'items' => [
'description' => '订单详情。',
'type' => 'object',
'properties' => [
'OrderSubType' => ['description' => '子订单类型:-productsuborder:产品子订单类型。-refundsuborder:退款子订单类型', 'type' => 'string', 'example' => '子订单类型'],
'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2017-06-08T09:41:30Z'],
'Currency' => ['description' => '币种,CNY:人民币。 USD:美元。 JPY:日元', 'type' => 'string', 'example' => ' CNY'],
'Config' => ['description' => '主产品的配置。', 'type' => 'string', 'example' => 'DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]'],
'SubscriptionType' => ['title' => '', 'description' => '订阅类型,'."\n"
.'Subscription:预付费。'."\n"
.'PayAsYouGo:按量付费。', 'type' => 'string', 'example' => 'Subscription'],
'UsageStartTime' => ['description' => '服务开始时间。', 'type' => 'string', 'example' => '2017-06-08T16:00:00Z'],
'UsageEndTime' => ['description' => '服务结束时间。', 'type' => 'string', 'example' => '2117-06-08T16:00:00Z'],
'SubOrderId' => ['description' => '子订单id。', 'type' => 'string', 'example' => '234343'],
'Region' => ['description' => '地域'."\n", 'type' => 'string', 'example' => 'cn-hangzhou'],
'AfterTaxAmount' => ['description' => '税后金额。', 'type' => 'string', 'example' => '0'],
'PaymentTime' => ['description' => '支付时间。', 'type' => 'string', 'example' => '2017-06-08T09:41:30Z'],
'Operator' => ['description' => '订单操作RAM用户对应ID,如无则留空。', 'type' => 'string', 'example' => '23424243432'],
'OrderType' => ['description' => '订单类型,取值范围:-new:新购。-renew:续费。-upgrade:升级。-refund:退款。', 'type' => 'string', 'example' => 'new'],
'PaymentStatus' => ['description' => '支付状态,取值范围:-unpaid:未支付。-paid:已支付。-cancelled:已作废。', 'type' => 'string', 'example' => 'paid'],
'Quantity' => ['description' => '主产品数量。', 'type' => 'string', 'example' => '1'],
'PretaxAmountLocal' => ['description' => '本币金额。', 'type' => 'string', 'example' => '0'],
'Tax' => ['description' => '税费。', 'type' => 'string', 'example' => '1'],
'OriginalConfig' => ['description' => '未经标准化的模块信息。', 'type' => 'string', 'example' => 'DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]'],
'PretaxAmount' => ['description' => '订单应付金额。', 'type' => 'string', 'example' => '0'],
'CommodityCode' => ['description' => '商品code', 'type' => 'string', 'example' => 'rds'],
'RelatedOrderId' => ['description' => '关联订单id。', 'type' => 'string', 'example' => '4353453534543'],
'PaymentCurrency' => ['description' => '支付币种。 CNY:人民币。 USD:美元。 JPY:日元', 'type' => 'string', 'example' => 'CNY'],
'ProductType' => ['description' => '主产品类型。', 'type' => 'string', 'example' => 'rds'],
'InstanceIDs' => ['description' => '实例id列表。', 'type' => 'string', 'example' => '["rm-bp1a2vsr018313t6o"]'],
'PretaxGrossAmount' => ['description' => '原始金额。', 'type' => 'string', 'example' => '0'],
'OrderId' => ['description' => '订单号。', 'type' => 'string', 'example' => '3453425324'],
'ProductCode' => ['description' => '主产品代码。', 'type' => 'string', 'example' => 'rds'],
'ExtendInfos' => [
'description' => '订单扩展信息',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '订单扩展信息'."\n"
.'- IsAutoRenew=true表示自动续费订单,非自动续费订单不返回该参数;'."\n"
.'- CouponNo为优惠券编号;'."\n"
.'- DeductedByCoupons为优惠券抵扣金额,单位为元;'."\n"
.'- DiscountAmount为优惠金额,单位为元。', 'example' => '{"IsAutoRenew":"true","DiscountAmount":"100.98","DeductedByCoupons":"98.88","CouponNo":"319170900877"}'],
],
'BillModuleConfig' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'billModuleConfig' => [
'description' => '计费配置信息',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['description' => '配件名', 'type' => 'string', 'example' => '数据盘'],
'Code' => ['description' => '配置code', 'type' => 'string', 'example' => 'datadisk'],
'ApiCode' => ['description' => 'apiCode', 'type' => 'string', 'example' => 'datadisk'],
'BillModuleProperties' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'billModuleProperties' => [
'description' => '配置下的值',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ModuleApiCode' => ['description' => '配置apiCode', 'type' => 'string', 'example' => 'cloud_ssd'],
'AttrApiCode' => ['description' => '配置的属性code', 'type' => 'string', 'example' => 'cloud_ssd'],
'Value' => ['description' => '配置的属性值', 'type' => 'string', 'example' => 'cloud_ssd'],
],
],
],
],
],
],
],
],
],
],
'OriginalModuleConfig' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'originalModuleConfig' => [
'description' => '具体配置信息',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['description' => '配置名', 'type' => 'string', 'example' => '系统盘'],
'Code' => ['description' => '配置code', 'type' => 'string', 'example' => 'systemdisk'],
'ModuleProperties' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'moduleProperties' => [
'description' => '配置的属性列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '配置属性code', 'type' => 'string', 'example' => '高效云盘'],
'Name' => ['description' => '配置属性名', 'type' => 'string', 'example' => 'cloud_efficiency'],
'Value' => ['description' => '配置属性的值', 'type' => 'string', 'example' => 'cloud_efficiency'],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"D6E068C3-25BC-455A-85FE-45F0B22ECB1F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"HostName\\": \\"test\\",\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1,\\n \\"OrderList\\": {\\n \\"Order\\": [\\n {\\n \\"OrderSubType\\": \\"子订单类型\\",\\n \\"CreateTime\\": \\"2017-06-08T09:41:30Z\\",\\n \\"Currency\\": \\" CNY\\",\\n \\"Config\\": \\"DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]\\",\\n \\"SubscriptionType\\": \\"Subscription\\",\\n \\"UsageStartTime\\": \\"2017-06-08T16:00:00Z\\",\\n \\"UsageEndTime\\": \\"2117-06-08T16:00:00Z\\",\\n \\"SubOrderId\\": \\"234343\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"AfterTaxAmount\\": \\"0\\",\\n \\"PaymentTime\\": \\"2017-06-08T09:41:30Z\\",\\n \\"Operator\\": \\"23424243432\\",\\n \\"OrderType\\": \\"new\\",\\n \\"PaymentStatus\\": \\"paid\\",\\n \\"Quantity\\": \\"1\\",\\n \\"PretaxAmountLocal\\": \\"0\\",\\n \\"Tax\\": \\"1\\",\\n \\"OriginalConfig\\": \\"DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]\\",\\n \\"PretaxAmount\\": \\"0\\",\\n \\"CommodityCode\\": \\"rds\\",\\n \\"RelatedOrderId\\": \\"4353453534543\\",\\n \\"PaymentCurrency\\": \\"CNY\\",\\n \\"ProductType\\": \\"rds\\",\\n \\"InstanceIDs\\": \\"[\\\\\\"rm-bp1a2vsr018313t6o\\\\\\"]\\",\\n \\"PretaxGrossAmount\\": \\"0\\",\\n \\"OrderId\\": \\"3453425324\\",\\n \\"ProductCode\\": \\"rds\\",\\n \\"ExtendInfos\\": {\\n \\"key\\": \\"{\\\\\\"IsAutoRenew\\\\\\":\\\\\\"true\\\\\\",\\\\\\"DiscountAmount\\\\\\":\\\\\\"100.98\\\\\\",\\\\\\"DeductedByCoupons\\\\\\":\\\\\\"98.88\\\\\\",\\\\\\"CouponNo\\\\\\":\\\\\\"319170900877\\\\\\"}\\"\\n },\\n \\"BillModuleConfig\\": {\\n \\"billModuleConfig\\": [\\n {\\n \\"Name\\": \\"数据盘\\",\\n \\"Code\\": \\"datadisk\\",\\n \\"ApiCode\\": \\"datadisk\\",\\n \\"BillModuleProperties\\": {\\n \\"billModuleProperties\\": [\\n {\\n \\"ModuleApiCode\\": \\"cloud_ssd\\",\\n \\"AttrApiCode\\": \\"cloud_ssd\\",\\n \\"Value\\": \\"cloud_ssd\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"OriginalModuleConfig\\": {\\n \\"originalModuleConfig\\": [\\n {\\n \\"Name\\": \\"系统盘\\",\\n \\"Code\\": \\"systemdisk\\",\\n \\"ModuleProperties\\": {\\n \\"moduleProperties\\": [\\n {\\n \\"Code\\": \\"高效云盘\\",\\n \\"Name\\": \\"cloud_efficiency\\",\\n \\"Value\\": \\"cloud_efficiency\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
'title' => '订单详情查询服务',
'summary' => '查询用户或分销客户某个订单详情信息。',
'changeSet' => [
['createdAt' => '2024-07-10T08:53:00.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-03-14T11:48:07.000Z', 'description' => '响应参数发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeOrderDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetPayAsYouGoPrice' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ecs'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'ecs'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值类型:PayAsYouGo(后付费)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PayAsYouGo'],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => ['description' => '实例所属的 Region ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ModuleList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '计价模块列表。',
'type' => 'array',
'items' => [
'description' => '计价模块。',
'type' => 'object',
'properties' => [
'ModuleCode' => ['description' => '第n个计价模块的模块标识。'."\n"
."\n\n"
.'> 可通过[DescribePricingModule](~~96469~~)接口获取Module参数。', 'type' => 'string', 'required' => true, 'example' => 'InstanceType'],
'PriceType' => ['description' => '第n个计价模块的价格类型,取值范围:'."\n"
.'- Hour:小时价。'."\n"
.'- Usage:使用量。'."\n"
.'- Month:月价。'."\n"
.'- Year:年价。'."\n"
."\n"
.'> 可通过[DescribePricingModule](~~96469~~)接口获取Module参数。', 'type' => 'string', 'required' => true, 'example' => 'Hour'],
'Config' => ['description' => '第n个计价模块的配置,n的取值范围为(1~50),格式:“AA:aa,BB:bb”,其中AA,BB分别为计价模块属性标识,aa,bb分别为计价模块属性的属性值。'."\n"
."\n"
.'> 可通过[DescribePricingModule](~~96469~~)接口获取Module参数。', 'type' => 'string', 'required' => true, 'example' => 'InstanceType:ecs.g5.xlarge,IoOptimized:IoOptimized,ImageOs:linux'],
],
'required' => false,
],
'required' => true,
'maxItems' => 50,
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1537A007-72D7-4165-8A26-8694A38E219A'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'Currency' => ['description' => '币种。取值范围:'."\n"
.'- CNY:人民币。'."\n"
.'- USD:美元。'."\n"
.'- JPY:日元。', 'type' => 'string', 'example' => 'CNY'],
'ModuleDetails' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ModuleDetail' => [
'description' => '计价模块价格详情。',
'type' => 'array',
'items' => [
'description' => '计价模块价格详情。',
'type' => 'object',
'properties' => [
'CostAfterDiscount' => ['description' => '优惠价。', 'type' => 'number', 'format' => 'float', 'example' => '100'],
'InvoiceDiscount' => ['description' => '折扣。', 'type' => 'number', 'format' => 'float', 'example' => '20'],
'UnitPrice' => ['description' => '单价。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'OriginalCost' => ['description' => '原价。', 'type' => 'number', 'format' => 'float', 'example' => '1.77'],
'ModuleCode' => ['description' => '计价模块标识。', 'type' => 'string', 'example' => 'InstanceType'],
],
],
],
],
],
'PromotionDetails' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'PromotionDetail' => [
'description' => '优惠详情。',
'type' => 'array',
'items' => [
'description' => '优惠详情。',
'type' => 'object',
'properties' => [
'PromotionDesc' => ['description' => '优惠描述。', 'type' => 'string', 'example' => '仅提供测试使用的1分钱活动'],
'PromotionId' => ['description' => '优惠标识。', 'type' => 'integer', 'format' => 'int64', 'example' => '10200210'],
'PromotionName' => ['description' => '优惠名称。', 'type' => 'string', 'example' => '仅提供测试使用的1分钱活动'],
],
],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful\\",\\n \\"RequestId\\": \\"1537A007-72D7-4165-8A26-8694A38E219A\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"ModuleDetails\\": {\\n \\"ModuleDetail\\": [\\n {\\n \\"CostAfterDiscount\\": 100,\\n \\"InvoiceDiscount\\": 20,\\n \\"UnitPrice\\": 0,\\n \\"OriginalCost\\": 1.77,\\n \\"ModuleCode\\": \\"InstanceType\\"\\n }\\n ]\\n },\\n \\"PromotionDetails\\": {\\n \\"PromotionDetail\\": [\\n {\\n \\"PromotionDesc\\": \\"仅提供测试使用的1分钱活动\\",\\n \\"PromotionId\\": 10200210,\\n \\"PromotionName\\": \\"仅提供测试使用的1分钱活动\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetPayAsYouGoPriceResponse>\\n <Message>Successful!</Message>\\n <RequestId>1537A007-72D7-4165-8A26-8694A38E219A</RequestId>\\n <Data>\\n <Currency>CNY</Currency>\\n <ModuleDetails>\\n <ModuleDetail>\\n <UnitPrice>0</UnitPrice>\\n <ModuleCode>InstanceType</ModuleCode>\\n <CostAfterDiscount>0.01</CostAfterDiscount>\\n <OriginalCost>1.77</OriginalCost>\\n <InvoiceDiscount>1.76</InvoiceDiscount>\\n </ModuleDetail>\\n </ModuleDetails>\\n <PromotionDetails>\\n <PromotionDetail>\\n <PromotionName>仅提供测试使用的1分钱活动</PromotionName>\\n <PromotionId>10200210</PromotionId>\\n </PromotionDetail>\\n </PromotionDetails>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</GetPayAsYouGoPriceResponse>","errorExample":""}]',
'title' => '后付费产品询价服务',
'summary' => '查询后付费产品价格。',
'description' => '### API描述'."\n"
.'1. 调用QueryProductList获取产品code,参见[查询产品信息](~~95984~~)。'."\n"
.'2. 调用DescribePricingModule接口获取产品的配置参数,参见[查询产品模块信息](~~96469~~)。'."\n"
.'3. 根据查询到的产品配置参数调用本接口获取后付费产品的价格。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-04-23T12:28:39.000Z', 'description' => '错误码发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribePrice',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetResourcePackagePrice' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码,可通过接口**QueryProductList**查询产品代码,或查看**阿里云产品Code速查手册**。', 'type' => 'string', 'required' => true, 'example' => 'ossbag'],
],
[
'name' => 'PackageType',
'in' => 'query',
'schema' => ['description' => '资源包类型。值与**描述资源包接口**返回的**ResourcePackage**的Code值相等。', 'type' => 'string', 'required' => true, 'example' => 'FPT_ossbag_periodMonthlyAcc_NetworkOut_finance_common'],
],
[
'name' => 'EffectiveDate',
'in' => 'query',
'schema' => ['description' => '资源包生效时间,不填默认立即生效。'."\n"
.'订单类型为**购买**时,不支持询价**生效时间大于当前时间六个月**的资源包。'."\n"
.'订单类型为**升级**时,生效时间**必须小于等于**升级的资源包实际到期时间。'."\n"
.'日期格式按照ISO8601标准表示,并需要使用UTC时间。格式为:yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2020-02-10T12:00:00Z'],
],
[
'name' => 'Specification',
'in' => 'query',
'schema' => ['description' => '资源包规格大小。', 'type' => 'string', 'required' => true, 'example' => '500'],
],
[
'name' => 'Duration',
'in' => 'query',
'schema' => ['description' => '资源包时长。值与规格大小的可用时长相符。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '6'],
],
[
'name' => 'PricingCycle',
'in' => 'query',
'schema' => ['description' => '资源包时长单位。取值:'."\n"
.'- Month:月。'."\n"
.'- Year:年。', 'type' => 'string', 'required' => false, 'example' => 'Month'],
],
[
'name' => 'OrderType',
'in' => 'query',
'schema' => ['description' => '订单类型,取值:'."\n"
.'- BUY:新购。'."\n"
.'- UPGRADE:升级。'."\n"
.'- RENEW:续费。'."\n"
."\n"
.'默认值BUY。', 'type' => 'string', 'required' => false, 'example' => 'BUY'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '用户实例ID。**订单类型为续费、升级时,必填。**', 'type' => 'string', 'required' => false, 'example' => 'OSSBAG-cn-0xl0002'],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BBEF51A3-E933-4F40-A534-C673CBDB9C80'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'OriginalPrice' => ['description' => '原始价格,单位元。', 'type' => 'number', 'format' => 'float', 'example' => '1290240'],
'DiscountPrice' => ['description' => '折扣价格,单位元。', 'type' => 'number', 'format' => 'float', 'example' => '215040'],
'Currency' => ['description' => '币种。', 'type' => 'string', 'example' => 'CNY'],
'TradePrice' => ['description' => '交易价格,单位元。', 'type' => 'number', 'format' => 'float', 'example' => '1075200'],
'Promotions' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Promotion' => [
'description' => '优惠详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['description' => '优惠描述。', 'type' => 'string', 'example' => '购买半年,立享8.3折优惠'],
'Id' => ['description' => '优惠ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000680914'],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'Absent some mandatory parameter for this request.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'This request contain some invalid parameter', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
['errorCode' => 'DurationInvalid', 'errorMessage' => 'Parameter duration can only be positive integer.', 'description' => ''],
['errorCode' => 'ProductNotFound', 'errorMessage' => 'Product not found.', 'description' => ''],
['errorCode' => 'PackageTypeNotFound', 'errorMessage' => 'No such resource package type found.', 'description' => ''],
['errorCode' => 'SpecificationInvalid', 'errorMessage' => 'Parameter specification can only be positive integer.', 'description' => ''],
['errorCode' => 'IdInvalid', 'errorMessage' => 'Parameter ownerId is invalid.', 'description' => ''],
['errorCode' => 'EffectiveDateInvalid', 'errorMessage' => 'Parameter effectiveDate is invalid.', 'description' => ''],
['errorCode' => 'IdMissing', 'errorMessage' => 'Paramter ownerId is missing.', 'description' => ''],
['errorCode' => 'PackageTypeNotSupported', 'errorMessage' => 'Package type currently is not supported.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"BBEF51A3-E933-4F40-A534-C673CBDB9C80\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"OriginalPrice\\": 1290240,\\n \\"DiscountPrice\\": 215040,\\n \\"Currency\\": \\"CNY\\",\\n \\"TradePrice\\": 1075200,\\n \\"Promotions\\": {\\n \\"Promotion\\": [\\n {\\n \\"Name\\": \\"购买半年,立享8.3折优惠\\",\\n \\"Id\\": 1000680914\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetResourcePackagePriceResponse>\\n <Message>Successful!</Message>\\n <RequestId>BBEF51A3-E933-4F40-A534-C673CBDB9C80</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <DiscountPrice>215040</DiscountPrice>\\n <Promotions>\\n <Promotion>\\n <Name>购买半年,立享8.3折优惠</Name>\\n <Id>1000680914</Id>\\n </Promotion>\\n </Promotions>\\n <OriginalPrice>1290240</OriginalPrice>\\n <TradePrice>1075200</TradePrice>\\n <Currency>CNY</Currency>\\n </Data>\\n</GetResourcePackagePriceResponse>","errorExample":""}]',
'title' => '资源包产品询价服务',
'summary' => '查询用户某个资源包的价格。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribePrice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetSubscriptionPrice' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ServicePeriodUnit',
'in' => 'query',
'schema' => ['description' => '服务时长单位。取值范围:'."\n"
.'- Year:年。'."\n"
.'- Month:月。', 'type' => 'string', 'required' => false, 'example' => 'Year'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值类型:Subscription(预付费)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Subscription'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ecs'],
],
[
'name' => 'OrderType',
'in' => 'query',
'schema' => ['description' => '订单类型。取值范围:'."\n"
.'- NewOrder:新购。'."\n"
.'- Renewal:续费。'."\n"
.'- Upgrade:升级。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'NewOrder'],
],
[
'name' => 'ServicePeriodQuantity',
'in' => 'query',
'schema' => ['description' => '服务时长。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型,是否必输以具体产品的询价文档为准。', 'type' => 'string', 'required' => false, 'example' => 'ecs'],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => ['description' => '实例所属的Region ID(地域ID)。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '指定询价的实例 ID,升级场景必须设置,用于获取实例升级前配置。', 'type' => 'string', 'required' => false, 'example' => 'i-khkjhxxxxxxxxx'],
],
[
'name' => 'Quantity',
'in' => 'query',
'schema' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ModuleList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '计价模块列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ModuleStatus' => ['description' => '仅在订单类型为Upgrade(升级)时需要,表示此次询价模块变更状态。'."\n"
.'取值范围:'."\n"
.'- 1:新增。'."\n"
.'- 2:变更,升级场景如果计价模块的配置发生变化需要显示指定此状态值。'."\n"
."\n"
.'默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
'ModuleCode' => ['description' => '第n个计价模块的模块标识。', 'type' => 'string', 'required' => true, 'example' => 'PackageCode'],
'Tag' => ['description' => '仅在某些产品的升级变配中需要,代表指定资源的标识。例如:对于磁盘的变配,用Tag标识具体磁盘对应的Id。', 'type' => 'string', 'required' => false, 'example' => '213213123'],
'Config' => ['description' => '第n个计价模块的配置,n的取值范围为(1~50),格式:“AA:aa,BB:bb”,其中AA,BB分别为计价模块属性标识,aa,bb分别为计价模块属性的属性值。', 'type' => 'string', 'required' => true, 'example' => 'PackageCode:version_1'],
],
'required' => false,
'description' => '',
],
'required' => true,
'maxItems' => 50,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'InvalidConfigCod'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '30E7066E-AE6F-4E59-AFE6-11386CE3AFA7'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '产品价格信息。',
'type' => 'object',
'properties' => [
'OriginalPrice' => ['description' => '原价。', 'type' => 'number', 'format' => 'float', 'example' => '900'],
'DiscountPrice' => ['description' => '折扣。', 'type' => 'number', 'format' => 'float', 'example' => '100'],
'Currency' => ['description' => '币种。取值范围:'."\n"
.'- CNY:人民币。'."\n"
.'- USD:美元。'."\n"
.'- JPY:日元。', 'type' => 'string', 'example' => 'CNY'],
'Quantity' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'TradePrice' => ['description' => '优惠价。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ModuleDetails' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ModuleDetail' => [
'description' => '计价模块价格详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CostAfterDiscount' => ['description' => '优惠价。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'InvoiceDiscount' => ['description' => '折扣。', 'type' => 'number', 'format' => 'float', 'example' => '100'],
'UnitPrice' => ['description' => '单价。(该字段已废弃)', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'OriginalCost' => ['description' => '原价。', 'type' => 'number', 'format' => 'float', 'example' => '200'],
'ModuleCode' => ['description' => '计价模块标识。', 'type' => 'string', 'example' => 'PackageCode'],
],
'description' => '',
],
],
],
'description' => '',
],
'PromotionDetails' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'PromotionDetail' => [
'description' => '优惠详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'PromotionDesc' => ['description' => '优惠描述。', 'type' => 'string', 'example' => 'test'],
'PromotionId' => ['description' => '优惠标识。', 'type' => 'integer', 'format' => 'int64', 'example' => '1021199213'],
'PromotionName' => ['description' => '优惠名称。', 'type' => 'string', 'example' => 'test'],
],
'description' => '',
],
],
],
'description' => '',
],
],
],
],
'description' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"InvalidConfigCod\\",\\n \\"Message\\": \\"Successful\\",\\n \\"RequestId\\": \\"30E7066E-AE6F-4E59-AFE6-11386CE3AFA7\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"OriginalPrice\\": 900,\\n \\"DiscountPrice\\": 100,\\n \\"Currency\\": \\"CNY\\",\\n \\"Quantity\\": 1,\\n \\"TradePrice\\": 0,\\n \\"ModuleDetails\\": {\\n \\"ModuleDetail\\": [\\n {\\n \\"CostAfterDiscount\\": 0,\\n \\"InvoiceDiscount\\": 100,\\n \\"UnitPrice\\": 0,\\n \\"OriginalCost\\": 200,\\n \\"ModuleCode\\": \\"PackageCode\\"\\n }\\n ]\\n },\\n \\"PromotionDetails\\": {\\n \\"PromotionDetail\\": [\\n {\\n \\"PromotionDesc\\": \\"test\\",\\n \\"PromotionId\\": 1021199213,\\n \\"PromotionName\\": \\"test\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetSubscriptionPriceResponse>\\n <Data>\\n <Quantity>1</Quantity>\\n <DiscountPrice>900</DiscountPrice>\\n <ModuleDetails>\\n <ModuleDetail>\\n <ModuleCode>ExtBandwidth</ModuleCode>\\n <UnitPrice>0</UnitPrice>\\n <CostAfterDiscount>0</CostAfterDiscount>\\n <OriginalCost>800</OriginalCost>\\n <InvoiceDiscount>800</InvoiceDiscount>\\n </ModuleDetail>\\n <ModuleDetail>\\n <ModuleCode>PackageCode</ModuleCode>\\n <UnitPrice>0</UnitPrice>\\n <CostAfterDiscount>0</CostAfterDiscount>\\n <OriginalCost>100</OriginalCost>\\n <InvoiceDiscount>100</InvoiceDiscount>\\n </ModuleDetail>\\n </ModuleDetails>\\n <PromotionDetails>\\n <PromotionDetail>\\n <PromotionId>1021199213</PromotionId>\\n <PromotionName/>\\n </PromotionDetail>\\n </PromotionDetails>\\n <OriginalPrice>900</OriginalPrice>\\n <TradePrice>0</TradePrice>\\n <Currency>CNY</Currency>\\n </Data>\\n <RequestId>D6E068C3-25BC-455A-85FE-45F0B22ECB1F</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Message>Successful!</Message>\\n</GetSubscriptionPriceResponse>","errorExample":""}]',
'title' => '预付费产品询价服务',
'summary' => '查询预付费产品价格。',
'description' => '1. 调用QueryProductList获取产品code,参见[查询产品信息](~~95984~~)。'."\n"
.'2. 调用DescribePricingModule接口获取产品的配置参数,参见[查询产品模块信息](~~96469~~)。'."\n"
.'3. 根据查询到的产品配置参数调用本接口获取预付费产品的价格。'."\n"
.'4. 按照DescribePricingModule接口返回的config去拼接ModuleList下面的Config。不能有遗漏,否则询价会出错',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-04-23T12:28:39.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSubscriptionPrice'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribePrice',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'InquiryPriceRefundInstance' => [
'summary' => 'InquiryPriceRefundInstance:调用本接口对需要退订的实例进行询价。',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'paid'],
'parameters' => [
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['title' => 'clientToken', 'description' => '需要幂等场景必填。UUID生成的字符串。此字段用于幂等,多次调用传入同样的值,会返回第一次的结果。', 'type' => 'string', 'required' => false, 'example' => '793F021C-B589-1225-82A9-99232AEBE494'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['title' => 'productCode', 'description' => '退订场景必填,产品code', 'type' => 'string', 'required' => false, 'example' => 'ecs'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['title' => 'instanceId', 'description' => '退订场景必填,实例id', 'type' => 'string', 'required' => false, 'example' => 'i-bp1etb69sqxgl4*******'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['title' => 'productType', 'description' => '退订场景必填,产品类型,无特殊说明传入“” 空字符串。', 'type' => 'string', 'required' => false, 'example' => '”“'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'result',
'description' => 'result',
'type' => 'object',
'properties' => [
'Message' => ['title' => 'message', 'description' => '执行结果说明', 'type' => 'string', 'example' => 'success'],
'RequestId' => ['title' => 'requestId', 'description' => '执行链路追踪字符串,排查问题时,可以提供给平台。', 'type' => 'string', 'example' => 'UUID'],
'Data' => [
'title' => 'data',
'description' => 'data',
'type' => 'object',
'properties' => [
'HostId' => ['title' => 'hostId', 'description' => '执行主机所在站点', 'type' => 'string', 'example' => 'cn'],
'InstanceId' => ['title' => 'instanceId', 'description' => '实例id', 'type' => 'string', 'example' => 'i-bp1etb69sqxgl4*******'],
'Currency' => ['title' => 'currency', 'description' => '币种', 'type' => 'string', 'example' => '退款金额本币币种: CNY:人民币。 USD:美元。 JPY:日元。'],
'RefundAmount' => ['title' => 'refundAmount', 'description' => '金额', 'type' => 'number', 'format' => 'double', 'example' => '12.34'],
],
],
'Code' => ['title' => 'code', 'description' => '响应码', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => 'success', 'description' => 'success=true代表调用执行完成。success=false代表执行出现错误。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceNotExists', 'errorMessage' => 'The specific resource is not exists.', 'description' => ''],
['errorCode' => 'ResourceStatusError', 'errorMessage' => 'The resource status error.', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner does not belong to caller.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
['errorCode' => 'NotApplicable', 'errorMessage' => 'The specified API is not applicable for the user.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'The user is not authorized for the specified API.', 'description' => ''],
['errorCode' => 'BindMirrorInstanceError', 'errorMessage' => 'Charged images that are related to ECS.', 'description' => ''],
['errorCode' => 'ExceedRefundQuotaError', 'errorMessage' => 'The number of unsubscription times has reached the upper limit.', 'description' => ''],
['errorCode' => 'ExistUnPaidOrderError', 'errorMessage' => 'The instance has an unsettled order.', 'description' => ''],
['errorCode' => 'ExistRefundingOrderError', 'errorMessage' => 'The instance ID is invalid: the instance may have expired, been refunded, or been released.', 'description' => ''],
['errorCode' => 'NoRestValueError', 'errorMessage' => 'The refund amount is 0.', 'description' => ''],
['errorCode' => 'AmbassadorOrderLimitError', 'errorMessage' => 'The instance has an ambassador order that may raise risks.', 'description' => ''],
['errorCode' => 'ActivityForbiddenError', 'errorMessage' => 'Promotional orders do not support refunds.', 'description' => ''],
['errorCode' => 'ProductCheckError', 'errorMessage' => 'The cloud service failed SPI preflight verification.', 'description' => ''],
['errorCode' => 'CommodityNotSupported', 'errorMessage' => 'The specified commodity is not supported.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred in the internal server.', 'description' => '系统异常,请重试'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"UUID\\",\\n \\"Data\\": {\\n \\"HostId\\": \\"cn\\",\\n \\"InstanceId\\": \\"i-bp1etb69sqxgl4*******\\",\\n \\"Currency\\": \\"退款金额本币币种: CNY:人民币。 USD:美元。 JPY:日元。\\",\\n \\"RefundAmount\\": 12.34\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '退订实例询价',
'description' => '1. **请仔细核对退订资源的信息,并确认退订条款和退订金额,资源一经退订无法恢复。**'."\n"
.'2. 退订只退还实付金额的部分,已使用的代金券不退还。'."\n"
.'3. 其他问题请参照:<props="china">[退订规则](https://help.aliyun.com/knowledge_detail/116043.html?spm=a2c81.e1d666e.app.2.62ae11271Kd6iM)</props><props="intl">[国际站退订规则说明](https://www.alibabacloud.com/help/zh/user-center/user-guide/refund-rules)</props>',
'extraInfo' => "\n"
.'**针对部分业务规则拦截返回的错误码的解释**'."\n"
."\n"
.'- ResourceNotExists:实例不存在'."\n"
.'- ResourceStatusError:实例状态不对'."\n"
.'- BindMirrorInstanceError:ecs有关联的收费镜像'."\n"
.'- ExceedRefundQuotaError:退订次数超过quota配额上限'."\n"
.'- ExistUnPaidOrderError:实例下存在未支付订单'."\n"
.'- ExistRefundingOrderError:无效实例ID(实例已到期或已退款或已释放)'."\n"
.'- NoRestValueError:退款金额为0'."\n"
.'- AmbassadorOrderLimitError:实例下有云大使订单'."\n"
.'- ActivityForbiddenError:活动订单禁止退款'."\n"
.'- ProductCheckError:云产品规则预校验未通过',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InquiryPriceRefundInstance'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:RefundQueryRemainAmount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ModifyAccountRelation' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'RelationType',
'in' => 'query',
'schema' => ['description' => '关系类型,目前仅支持enterprise_group', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'enterprise_group'],
],
[
'name' => 'RelationOperation',
'in' => 'query',
'schema' => ['description' => '修改动作'."\n"
.'- 添加:ADD'."\n"
.'- 删除:DELETE', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ADD'],
],
[
'name' => 'ParentUserId',
'in' => 'query',
'schema' => ['description' => '主账号的阿里云UID'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '-9223372036854775808', 'example' => '1738376485192612'],
],
[
'name' => 'ChildNick',
'in' => 'query',
'schema' => ['description' => '显示名称,用于页面显示,便于明确账号使用场景', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '用户昵称'],
],
[
'name' => 'ChildUserId',
'in' => 'query',
'schema' => ['description' => '子账号的阿里云账号UID'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '-9223372036854775808', 'example' => '1512996702208737'],
],
[
'name' => 'RequestId',
'in' => 'query',
'schema' => ['description' => '请求唯一标识,用于标记一次请求,便于定位问题'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'request_id'],
],
[
'name' => 'RoleCodes',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '暂时不支持角色修改',
'type' => 'array',
'items' => ['description' => '角色 Code。', 'type' => 'string', 'required' => false, 'example' => 'trusteeship'],
'required' => false,
'example' => 'trusteeship',
'maxItems' => 200,
],
],
[
'name' => 'PermissionCodes',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '支持修改的权限点如下:'."\n"
."\n"
.'- 允许同步信控身份给关联账号:SYNCHRONIZE\\_FINANCE\\_IDENTITY'."\n"
.'- 允许同步优惠给关联账号:SYNCHRONIZE\\_FINANCE\\_DISCOUNT\\_POLICY\\_TO\\_TARGET'."\n"
.'- 禁止关联账户余额提现:FORBID\\_WITHDRAW\\_CASH'."\n"
.'- 禁止关联账户管理发票:FORBID\\_MANAGE\\_INVOICE'."\n"
.'- 请求查看财务关联信息:CHECK\\_FINANCE\\_INFO'."\n"
.'- 允许管理目标发票:MANAGE\\_TARGET\\_INVOICE'."\n"
.'- 允许查看关联账户消费信息:CHECK\\_TARGET\\_CONSUMPTION',
'type' => 'array',
'items' => ['description' => '权限点。', 'type' => 'string', 'required' => false, 'example' => 'SYNCHRONIZE_FINANCE_IDENTITY'],
'required' => false,
'example' => 'SYNCHRONIZE_FINANCE_IDENTITY',
'maxItems' => 100,
],
],
[
'name' => 'RelationId',
'in' => 'query',
'schema' => ['description' => '关系ID。取值从QueryRelationList接口返回的结果字段relationId获取。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51463'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '业务状态码', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '返回消息'],
'RequestId' => ['description' => '唯一请求标识', 'type' => 'string', 'example' => '48602faf-abbe-4d46-8029-654cc5aead5d'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据',
'type' => 'object',
'properties' => [
'HostId' => ['description' => '请求来源IP', 'type' => 'string', 'example' => '127.0.0.1'],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"返回消息\\",\\n \\"RequestId\\": \\"48602faf-abbe-4d46-8029-654cc5aead5d\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"HostId\\": \\"127.0.0.1\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message/>\\n<RequestId/>\\n<Data>\\n <HostId/>\\n</Data>\\n<Code/>\\n<Success/>","errorExample":""}]',
'title' => '修改财务关联权限点',
'summary' => '支持添加、删除财务关联权限点。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
],
'ModifyCostUnit' => [
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'UnitEntityList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '财务单元列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'UnitId' => ['description' => '财务单元的ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2524352'],
'NewUnitName' => ['description' => '财务单元的新名字。', 'type' => 'string', 'required' => true, 'example' => 'newTest'],
'OwnerUid' => ['description' => '财务单元的属主用户ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1321312312'],
],
'required' => false,
],
'required' => false,
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码.', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F5B803CF-94D8-43AF-ADB3-D819AAD30E27'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'IsSuccess' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'UnitId' => ['description' => '新财务单元的ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '356349875'],
'OwnerUid' => ['description' => '财务单元的属主用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '823756287'],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"F5B803CF-94D8-43AF-ADB3-D819AAD30E27\\",\\n \\"Success\\": true,\\n \\"Data\\": [\\n {\\n \\"IsSuccess\\": true,\\n \\"UnitId\\": 356349875,\\n \\"OwnerUid\\": 823756287\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ModifyCostUnitResponse>\\n <Data>\\n <CostUnitOperate>\\n <IsSuccess>true</IsSuccess>\\n <OwnerUid>1245</OwnerUid>\\n <UnitId>1686</UnitId>\\n </CostUnitOperate>\\n </Data>\\n <Message>Successful!</Message>\\n <RequestId>F5B803CF-94D8-43AF-ADB3-D819AAD30E27</RequestId>\\n <Success>true</Success>\\n <Code>success</Code>\\n</ModifyCostUnitResponse>","errorExample":""}]',
'title' => '修改财务单元',
'summary' => '修改财务单元,支持批量修改。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCostUnit'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ModifyInstance' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '付费类型,取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Subscription'],
],
[
'name' => 'ModifyType',
'in' => 'query',
'schema' => ['description' => '变配类型,取值'."\n"
.'- Upgrade:升级。'."\n"
.'- Downgrade:降级。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Upgrade'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '变更配置的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'rm-akjhkdsjhfskjfhd'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '用于保证请求的幂等性,防止请求重复提交。', 'type' => 'string', 'required' => false, 'example' => 'JAKSJFHFAKJSF'],
],
[
'name' => 'Parameter',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '参数列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Value' => ['description' => '第n个模块属性value配置,n的取值范围为(1~100)。', 'type' => 'string', 'required' => true, 'example' => 'test'],
'Code' => ['description' => '第n个模块属性code配置,n的取值范围为(1~100),如有多个模块属性参数,按照n=1,2,3…n的形式拼接多个参数。'."\n"
."\n"
.'> 只设置需要变更配置的模块属性信息,如A,B两个属性中,只有A需要变更配置,则只传A属性相关即可。', 'type' => 'string', 'required' => true, 'example' => 'test'],
],
'required' => false,
],
'required' => false,
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'OrderId' => ['description' => '创建成功的订单ID。', 'type' => 'string', 'example' => '202653252354351'],
'HostId' => ['description' => '主机ID。', 'type' => 'string', 'example' => 'testId'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
['errorCode' => 'ResourceNotExists', 'errorMessage' => 'The specific resource is not exists.', 'description' => ''],
['errorCode' => 'ORDER.ACCOUNT_STATUS_ILLEGAL', 'errorMessage' => 'Please complete your basic personal information first.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"OrderId\\": \\"202653252354351\\",\\n \\"HostId\\": \\"testId\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<ModifyInstanceResponse>\\n <Message>Successful!</Message>\\n <RequestId>6000EE23-274B-4E07-A697-FF2E999520A4</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <OrderId>202653252354351</OrderId>\\n </Data>\\n</ModifyInstanceResponse>","errorExample":""}]',
'title' => '实例变更服务',
'summary' => '对实例资源配置进行变更。调用接口会创建一个变配实例资源的订单,并自动支付。该接口不支持ECS和RDS 系列产品的变更,请查找对应产品的专有API执行变配。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryAccountBalance' => [
'summary' => '查询用户账户余额信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'success'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '16176743-6DC7-4CB3-BB25-A13982D8DFAD'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'AvailableAmount' => ['description' => '可用额度。', 'type' => 'string', 'example' => '10000.00'],
'CreditAmount' => ['description' => '信控额度。', 'type' => 'string', 'example' => '0.00'],
'MybankCreditAmount' => ['description' => '网商银行信用额度。', 'type' => 'string', 'example' => '0.00'],
'Currency' => ['description' => '币种。取值范围:'."\n"
.'- CNY:人民币。'."\n"
.'- USD:美元。'."\n"
.'- JPY:日元。', 'type' => 'string', 'example' => 'CNY'],
'AvailableCashAmount' => ['description' => '现金余额。', 'type' => 'string', 'example' => '10000.00'],
'QuotaLimit' => ['description' => '生态客户Quota限额', 'type' => 'string', 'example' => '10000.00'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => ' Some parameters arte mandatoryfor this request.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'Some parametersare not valid.', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specifiedowner doesn’t belong to caller', 'description' => ''],
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this action.', 'description' => '您无权执行此操作。'],
['errorCode' => 'AuthSiteFail', 'errorMessage' => 'auth site failed.', 'description' => ''],
],
500 => [
['errorCode' => 'UndefinedError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'title' => '查询用户账户余额信息',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-25T02:13:01.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2023-12-12T01:50:00.000Z', 'description' => '响应参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryAccountBalance'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeAcccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"16176743-6DC7-4CB3-BB25-A13982D8DFAD\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"AvailableAmount\\": \\"10000.00\\",\\n \\"CreditAmount\\": \\"0.00\\",\\n \\"MybankCreditAmount\\": \\"0.00\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"AvailableCashAmount\\": \\"10000.00\\",\\n \\"QuotaLimit\\": \\"10000.00\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryAccountBalanceResponse>\\n <Message>success</Message>\\n <RequestId>16176743-6DC7-4CB3-BB25-A13982D8DFAD</RequestId>\\n <Data>\\n <AvailableCashAmount>0.00</AvailableCashAmount>\\n <MybankCreditAmount>0.00</MybankCreditAmount>\\n <Currency>CNY</Currency>\\n <AvailableAmount>-11.19</AvailableAmount>\\n <CreditAmount>0.00</CreditAmount>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</QueryAccountBalanceResponse>","errorExample":""}]',
],
'QueryAccountBill' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BillingCycle',
'in' => 'query',
'schema' => ['description' => '账单日期,YYYY-MM。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-07'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页数量,默认值20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'IsGroupByProduct',
'in' => 'query',
'schema' => ['description' => '是否增加产品Code汇总。'."\n"
.'- true。'."\n"
.'- false。'."\n"
."\n"
.'默认false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品code。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '122'],
],
[
'name' => 'Granularity',
'in' => 'query',
'schema' => [
'description' => '查询账单的颗粒度。取值:'."\n"
.'- MONTHLY:月。与费用中心-费用账单-账单明细-账期账单一致。'."\n"
.'- DAILY:日。与费用中心-费用账单-账单明细-按天账单一致。'."\n"
."\n"
.'> 选择DAILY需指定BillingDate。',
'type' => 'string',
'required' => false,
'enumValueTitles' => [],
'example' => 'MONTHLY',
],
],
[
'name' => 'BillingDate',
'in' => 'query',
'schema' => ['description' => '账单日期,仅当Granularity为DAILY时必填,格式为YYYY-MM-DD。', 'type' => 'string', 'required' => false, 'example' => '2021-06-01'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3BFC23FE-A182-4D96-A1E4-7521B30B8E43'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'BillingCycle' => ['description' => '账期,格式:YYYY-MM。', 'type' => 'string', 'example' => '2020-03'],
'AccountID' => ['description' => '账号ID。', 'type' => 'string', 'example' => '1857xxxxx489'],
'PageSize' => ['description' => '每页显示条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'AccountName' => ['description' => '账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'Items' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Item' => [
'description' => '账单详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'PipCode' => ['description' => '产品Code,与费用中心账单产品Code一致', 'type' => 'string', 'example' => 'rds'],
'PretaxAmount' => ['description' => '<props="china">应付金额。</props>'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0'],
'BillingDate' => ['description' => '账单日期。', 'type' => 'string', 'example' => '2021-03-01'],
'ProductName' => ['description' => '产品名称。'."\n"
.'> 仅当**IsGroupByProduct**为true时返回。', 'type' => 'string', 'example' => 'rds'],
'AdjustAmount' => ['description' => '信用额度退款抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'OwnerName' => ['description' => '资源 Owner 账号 AccountName(多账号代付场景)。', 'type' => 'string', 'example' => 'aligzncloudtest2'],
'Currency' => ['description' => '币种。取值:'."\n"
.'- CNY。'."\n"
.'- USD。'."\n"
.'- JPY。', 'type' => 'string', 'example' => 'CNY'],
'BillAccountName' => ['description' => '账单所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'SubscriptionType' => ['description' => '产品订阅类型:'."\n"
.'- 预付费:Subscription。'."\n"
.'- 后付费:PayAsYouGo。'."\n"
."\n"
.'> 仅当IsGroupByProduct为true时返回。', 'type' => 'string', 'example' => 'PayAsYouGo'],
'DeductedByCashCoupons' => ['description' => '<props="china">代金券抵扣。</props>'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0'],
'BizType' => ['description' => '业务类型。', 'type' => 'string', 'example' => 'trusteeship'],
'OwnerID' => ['description' => '资源Owner账号AccountID(多账号代付场景)。', 'type' => 'string', 'example' => '325434254'],
'DeductedByPrepaidCard' => ['description' => '<props="china">储值卡抵扣。</props>', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'DeductedByCoupons' => ['description' => '优惠券抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'BillAccountID' => ['description' => '账单所属账号ID。', 'type' => 'string', 'example' => '1857xxxxx489'],
'PaymentAmount' => ['description' => '现金支付(含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'InvoiceDiscount' => ['description' => '优惠金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'OutstandingAmount' => ['description' => '<props="china">未结清金额或信用结算金额。</props>'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0'],
'CostUnit' => ['description' => '财务单元。', 'type' => 'string', 'example' => '未分配'],
'PretaxGrossAmount' => ['description' => '原始金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'CashAmount' => ['description' => '现金支付(不包含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ProductCode' => ['description' => '产品code。'."\n"
.'> 仅当**IsGroupByProduct**为true时返回。', 'type' => 'string', 'example' => 'rds'],
],
],
],
],
],
],
],
],
],
],
],
'title' => '账号账单查询服务',
'summary' => '查询用户某个账期内的消费,并以资源所有者的维度进行汇总',
'description' => '- 当月数据查询结果仅供参考,不作为对账依据;当月最终账单在次月3日12点后支持查看/导出(月中会发生包括但不限于以下少数场景:延迟出账,退款,调账,欠费核销等)。'."\n"
.'- 支持近18个月数据。 '."\n"
.'- 账单数据相对于实际费用消耗延迟24小时更新,其中实例ID相关的信息( 实例配置,实例规格,实例昵称,资源组,公网IP,私网IP,可用区)延迟48小时更新。 '."\n"
.'- 账单数据不支持提供分拆型云产品(例如:CDN、OSS、共享带宽等)各个分拆项(例如:域名、Bucket、EIP等)的具体费用(如需统计含分拆项数据,请前往分账账单)。'."\n"
.'- 对于云通信产品,仅支持查询2020年6月及以后的明细数据,万网产品(包括域名、商标等)仅支持查询2020年11月及以后的明细数据。'."\n"
.'- 单用户限流10笔/秒,如遇超时,请重试。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2023-11-21T10:03:22.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryAccountBill'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryAccountBill',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"3BFC23FE-A182-4D96-A1E4-7521B30B8E43\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"BillingCycle\\": \\"2020-03\\",\\n \\"AccountID\\": \\"1857xxxxx489\\",\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1,\\n \\"AccountName\\": \\"test@test.aliyunid.com\\",\\n \\"Items\\": {\\n \\"Item\\": [\\n {\\n \\"PipCode\\": \\"rds\\",\\n \\"PretaxAmount\\": 0,\\n \\"BillingDate\\": \\"2021-03-01\\",\\n \\"ProductName\\": \\"rds\\",\\n \\"AdjustAmount\\": 0,\\n \\"OwnerName\\": \\"aligzncloudtest2\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"BillAccountName\\": \\"test@test.aliyunid.com\\",\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"DeductedByCashCoupons\\": 0,\\n \\"BizType\\": \\"trusteeship\\",\\n \\"OwnerID\\": \\"325434254\\",\\n \\"DeductedByPrepaidCard\\": 0,\\n \\"DeductedByCoupons\\": 0,\\n \\"BillAccountID\\": \\"1857xxxxx489\\",\\n \\"PaymentAmount\\": 0,\\n \\"InvoiceDiscount\\": 0,\\n \\"OutstandingAmount\\": 0,\\n \\"CostUnit\\": \\"未分配\\",\\n \\"PretaxGrossAmount\\": 0,\\n \\"CashAmount\\": 0,\\n \\"ProductCode\\": \\"rds\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>3BFC23FE-A182-4D96-A1E4-7521B30B8E43</RequestId>\\n<Message>Successful!</Message>\\n<Data>\\n <TotalCount>1</TotalCount>\\n <BillingCycle>2020-03</BillingCycle>\\n <AccountID>1857xxxxx489</AccountID>\\n <PageSize>20</PageSize>\\n <PageNum>1</PageNum>\\n <AccountName>test@test.aliyunid.com</AccountName>\\n <Items>\\n <Item>\\n <DeductedByCoupons>0</DeductedByCoupons>\\n <OwnerName>aligzncloudtest2</OwnerName>\\n <ProductName>rds</ProductName>\\n <ProductCode>rds</ProductCode>\\n <BillAccountID>1857xxxxx489</BillAccountID>\\n <OutstandingAmount>0</OutstandingAmount>\\n <DeductedByCashCoupons>0</DeductedByCashCoupons>\\n <BizType>trusteeship</BizType>\\n <BillingDate>2021-03-01</BillingDate>\\n <PaymentAmount>0</PaymentAmount>\\n <DeductedByPrepaidCard>0</DeductedByPrepaidCard>\\n <PipCode>rds</PipCode>\\n <InvoiceDiscount>0</InvoiceDiscount>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <PretaxGrossAmount>0</PretaxGrossAmount>\\n <OwnerID>325434254</OwnerID>\\n <PretaxAmount>0</PretaxAmount>\\n <Currency>CNY</Currency>\\n <BillAccountName>test@test.aliyunid.com</BillAccountName>\\n <CostUnit>未分配</CostUnit>\\n <CashAmount>0</CashAmount>\\n <AdjustAmount>0</AdjustAmount>\\n </Item>\\n </Items>\\n</Data>\\n<Code>Success</Code>\\n<Success>true</Success>","errorExample":""}]',
],
'QueryAccountTransactionDetails' => [
'summary' => '查询用户收支明细。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'TransactionNumber',
'in' => 'query',
'schema' => ['description' => '交易编号', 'type' => 'string', 'required' => false, 'example' => '410874027490089'],
],
[
'name' => 'RecordID',
'in' => 'query',
'schema' => ['description' => '订单号/账单号', 'type' => 'string', 'required' => false, 'example' => '2022120336190912'],
],
[
'name' => 'TransactionChannelSN',
'in' => 'query',
'schema' => ['description' => '交易渠道流水号', 'type' => 'string', 'required' => false, 'example' => '2022112122001470591458665933'],
],
[
'name' => 'CreateTimeStart',
'in' => 'query',
'schema' => ['description' => '创建时间起始', 'type' => 'string', 'required' => false, 'example' => '2022-01-20'],
],
[
'name' => 'CreateTimeEnd',
'in' => 'query',
'schema' => ['description' => '创建时间终止', 'type' => 'string', 'required' => false, 'example' => '2022-12-20'],
],
[
'name' => 'TransactionType',
'in' => 'query',
'schema' => ['description' => '交易类型。 传入以下交易类型,查询返回对应类型结果,不存在时结果为空。不传默认返回所有类型。'."\n"
."\n\n"
.'充值:Payment。'."\n"
."\n"
.'提现:Withdraw。'."\n"
."\n"
.'退款:Refund。'."\n"
."\n"
.'消费:Consumption。'."\n"
."\n"
.'转账:Transfer。'."\n"
."\n"
.'调账:Adjust。', 'type' => 'string', 'required' => false, 'example' => 'Payment'],
],
[
'name' => 'TransactionChannel',
'in' => 'query',
'schema' => ['description' => '交易渠道。 传入以下交易渠道类型,查询返回对应类型结果,不存在时结果为空。不传默认返回所有类型。'."\n"
."\n"
.'用户余额:AccountBalance。'."\n"
."\n"
.'银行转账: BankTransfer。'."\n"
."\n"
.'支付宝:Alipay。'."\n"
."\n"
.'支付宝花呗:AntCreditPay。'."\n"
."\n"
.'线下汇款:OfflineRemittance。'."\n"
."\n"
.'信控额度退款:RegularBankCreditRefund。'."\n"
."\n"
.'信用卡:CreditCard。'."\n"
."\n"
.'网商银行信任付:MyBankCredit。'."\n"
."\n"
.'华夏银行分期付:HuaxiaBankCInstallment。'."\n"
."\n"
.'苹果支付:ApplePay', 'type' => 'string', 'required' => false, 'example' => 'AccountBalance'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '分页查询token', 'type' => 'string', 'required' => false, 'example' => 'ABEDSDS124DASA'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '无效参数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '接口返回结果',
'type' => 'object',
'properties' => [
'Code' => ['description' => '响应状态码', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '结果描述', 'type' => 'string', 'example' => 'SUCCESS'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'asadadad-edafafafaasd'],
'Success' => ['description' => '是否成功标识', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '请求结果内容',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '分页标识', 'type' => 'string', 'example' => 'ASHDADS'],
'TotalCount' => ['description' => '查询结果总数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'MaxResults' => ['description' => '无效参数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'AccountName' => ['description' => '账户名', 'type' => 'string', 'example' => 'yidi'],
'AccountTransactionsList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'AccountTransactionsList' => [
'description' => '明细列表',
'type' => 'array',
'items' => [
'description' => '结果',
'type' => 'object',
'properties' => [
'BillingCycle' => ['description' => '账期', 'type' => 'string', 'example' => '2022-10'],
'TransactionChannel' => ['description' => '交易渠道', 'type' => 'string', 'example' => 'Alipay'],
'RecordID' => ['description' => '订单号/账单号', 'type' => 'string', 'example' => '2022120336190912'],
'Remarks' => ['description' => '备注', 'type' => 'string', 'example' => '测试'],
'Amount' => ['description' => '金额', 'type' => 'string', 'example' => '1.00'],
'TransactionAccount' => ['description' => '对应交易账号', 'type' => 'string', 'example' => 'fortune_test@xxx.com'],
'TransactionTime' => ['description' => '交易时间', 'type' => 'string', 'example' => '2022-10-01'],
'TransactionType' => ['description' => '交易类型。 传入以下交易类型,查询返回对应类型结果,不存在时结果为空。不传默认返回所有类型。'."\n"
."\n"
.'充值:Payment。'."\n"
.'提现:Withdraw。'."\n"
.'退款:Refund。'."\n"
.'消费:Consumption。'."\n"
.'转账:Transfer。'."\n"
.'调账:Adjust。', 'type' => 'string', 'example' => 'Consumption'],
'TransactionFlow' => ['description' => '收支类型。 传入以下收支类型,查询返回对应类型结果,不存在时结果为空。不传默认返回所有类型。'."\n"
."\n"
.'收入:Income。'."\n"
.'支出:Expense', 'type' => 'string', 'example' => 'Income'],
'FundType' => ['description' => '资金形式。'."\n"
."\n"
.'现金:Cash。'."\n"
.'保证金:Deposit。'."\n"
.'信控额度退款:RegularBankCreditRefund。'."\n"
.'订单直接支付:DirectPay。', 'type' => 'string', 'example' => 'Cash'],
'TransactionChannelSN' => ['description' => '交易渠道流水号', 'type' => 'string', 'example' => '123232434343532'],
'TransactionNumber' => ['description' => '交易编号', 'type' => 'string', 'example' => '43342334'],
'Balance' => ['description' => '余额', 'type' => 'string', 'example' => '0'],
],
],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"RequestId\\": \\"asadadad-edafafafaasd\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"NextToken\\": \\"ASHDADS\\",\\n \\"TotalCount\\": 100,\\n \\"MaxResults\\": 0,\\n \\"AccountName\\": \\"yidi\\",\\n \\"AccountTransactionsList\\": {\\n \\"AccountTransactionsList\\": [\\n {\\n \\"BillingCycle\\": \\"2022-10\\",\\n \\"TransactionChannel\\": \\"Alipay\\",\\n \\"RecordID\\": \\"2022120336190912\\",\\n \\"Remarks\\": \\"测试\\",\\n \\"Amount\\": \\"1.00\\",\\n \\"TransactionAccount\\": \\"fortune_test@xxx.com\\",\\n \\"TransactionTime\\": \\"2022-10-01\\",\\n \\"TransactionType\\": \\"Consumption\\",\\n \\"TransactionFlow\\": \\"Income\\",\\n \\"FundType\\": \\"Cash\\",\\n \\"TransactionChannelSN\\": \\"123232434343532\\",\\n \\"TransactionNumber\\": \\"43342334\\",\\n \\"Balance\\": \\"0\\"\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
'title' => '查询账户交易明细',
'changeSet' => [
['createdAt' => '2022-09-29T14:59:34.000Z', 'description' => '错误码发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryAccountTransactionDetails',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryAccountTransactions' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'TransactionNumber',
'in' => 'query',
'schema' => ['description' => '交易编号。', 'type' => 'string', 'required' => false, 'example' => '133314076'],
],
[
'name' => 'RecordID',
'in' => 'query',
'schema' => ['description' => '订单/账单号。', 'type' => 'string', 'required' => false, 'example' => '20200302'],
],
[
'name' => 'TransactionChannelSN',
'in' => 'query',
'schema' => ['description' => '交易渠道流水号。', 'type' => 'string', 'required' => false, 'example' => '12342134'],
],
[
'name' => 'CreateTimeStart',
'in' => 'query',
'schema' => ['description' => '创建时间段起,不传时默认是当前时间往前一个月。格式例:2018-01-01T00:00:00Z。', 'type' => 'string', 'required' => false, 'example' => '2020-03-05T01:46:09Z'],
],
[
'name' => 'CreateTimeEnd',
'in' => 'query',
'schema' => ['description' => '创建时间段止,不传时默认是当前时间。格式例:2018-01-01T00:00:00Z。', 'type' => 'string', 'required' => false, 'example' => '2020-03-06T01:55:00Z'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码。不填默认1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页显示条数。不填默认20', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'TransactionType',
'in' => 'query',
'schema' => [
'description' => '交易类型。'."\n"
.'传入以下交易类型,查询返回对应类型结果,不存在时结果为空。不传默认返回所有类型。'."\n"
.'- 充值:Payment。'."\n"
.'- 提现:Withdraw。'."\n"
.'- 退款:Refund。'."\n"
.'- 消费:Consumption。'."\n"
.'- 转账:Transfer。'."\n"
.'- 调账:Adjust。',
'type' => 'string',
'required' => false,
'example' => 'Payment',
'enum' => ['Adjust', 'Payment', 'Refund', 'Withdraw', 'Consumption', 'Pay_Fail_Refund', 'Transfer'],
],
],
[
'name' => 'TransactionFlow',
'in' => 'query',
'schema' => [
'description' => '收支类型。'."\n"
.'传入以下收支类型,查询返回对应类型结果,不存在时结果为空。不传默认返回所有类型。'."\n"
.'- 收入:Income。'."\n"
.'- 支出:Expense。',
'type' => 'string',
'required' => false,
'example' => 'Income',
'enum' => ['Income', 'Expense'],
],
],
[
'name' => 'TransactionChannel',
'in' => 'query',
'schema' => [
'description' => '交易渠道。'."\n"
.'传入以下交易渠道类型,查询返回对应类型结果,不存在时结果为空。不传默认返回所有类型。'."\n"
.'- 用户余额:AccountBalance。'."\n"
.'- 银行转账: BankTransfer。'."\n"
.'- 支付宝:Alipay。'."\n"
.'- 支付宝花呗:AntCreditPay。'."\n"
.'- 线下汇款:OfflineRemittance。'."\n"
.'- 信控额度退款:RegularBankCreditRefund。'."\n"
.'- 信用卡:CreditCard。'."\n"
.'- 网商银行信任付:MyBankCredit。'."\n"
.'- 华夏银行分期付:HuaxiaBankCInstallment。'."\n"
.'- 苹果支付:ApplePay',
'type' => 'string',
'required' => false,
'example' => 'AccountBalance',
'enum' => ['Alipay', 'AntCreditPay', 'MyBankCredit', 'HuaxiaBankCInstallment', 'BankTransfer', 'OfflineRemittance', 'CreditCard', 'AccountBalance', 'RegularBankCreditRefund', 'ApplePay'],
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8634E02D-0942-4B1D-8295-5352FE9A1F39'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '每页显示条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'AccountName' => ['description' => '用户账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'AccountTransactionsList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'AccountTransactionsList' => [
'description' => '流水信息集合。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'BillingCycle' => ['description' => '账期,格式:YYYY-MM。', 'type' => 'string', 'example' => '2020-03'],
'TransactionChannel' => ['description' => '交易渠道。'."\n"
.'- 用户余额:AccountBalance。'."\n"
.'- 银行转账: BankTransfer。'."\n"
.'- 支付宝:Alipay。'."\n"
.'- 支付宝花呗:AntCreditPay。'."\n"
.'- 线下汇款:OfflineRemittance。'."\n"
.'- 信控额度退款:RegularBankCreditRefund。'."\n"
.'- 信用卡:CreditCard。'."\n"
.'- 网商银行信任付:MyBankCredit。'."\n"
.'- 华夏银行分期付:HuaxiaBankCInstallment。'."\n"
.'- 苹果支付:ApplePay。', 'type' => 'string', 'example' => 'AccountBalance'],
'RecordID' => ['description' => '订单号/账单号。', 'type' => 'string', 'example' => '2020030242'],
'Remarks' => ['description' => '交易备注。', 'type' => 'string', 'example' => 'NAT_GW'],
'Amount' => ['description' => '金额。', 'type' => 'string', 'example' => '0'],
'TransactionAccount' => ['description' => '对应交易账号,比如支付宝充值账号或转账对端账号。', 'type' => 'string', 'example' => '213562146'],
'TransactionTime' => ['description' => '交易时间。', 'type' => 'string', 'example' => '2020-03-10T02:03:20Z'],
'TransactionType' => ['description' => '交易类型。'."\n"
.'- 充值:Payment。'."\n"
.'- 提现:Withdraw。'."\n"
.'- 退款:Refund。'."\n"
.'- 消费:Consumption。'."\n"
.'- 转账:Transfer。'."\n"
.'- 调账:Adjust。', 'type' => 'string', 'example' => 'Consumption'],
'TransactionFlow' => ['description' => '收支类型。'."\n"
.'- 收入:Income。'."\n"
.'- 支出:Expense。', 'type' => 'string', 'example' => 'Expense'],
'FundType' => ['description' => '资金形式。'."\n"
.'- 现金:Cash。'."\n"
.'- 保证金:Deposit。'."\n"
.'- 信控额度退款:RegularBankCreditRefund。'."\n"
.'- 订单直接支付:DirectPay。', 'type' => 'string', 'example' => 'Cash'],
'TransactionChannelSN' => ['description' => '交易渠道流水号。', 'type' => 'string', 'example' => '1234354325'],
'TransactionNumber' => ['description' => '交易编号。', 'type' => 'string', 'example' => '43342334'],
'Balance' => ['description' => '余额。', 'type' => 'string', 'example' => '0'],
],
],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"8634E02D-0942-4B1D-8295-5352FE9A1F39\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"AccountName\\": \\"test@test.aliyunid.com\\",\\n \\"AccountTransactionsList\\": {\\n \\"AccountTransactionsList\\": [\\n {\\n \\"BillingCycle\\": \\"2020-03\\",\\n \\"TransactionChannel\\": \\"AccountBalance\\",\\n \\"RecordID\\": \\"2020030242\\",\\n \\"Remarks\\": \\"NAT_GW\\",\\n \\"Amount\\": \\"0\\",\\n \\"TransactionAccount\\": \\"213562146\\",\\n \\"TransactionTime\\": \\"2020-03-10T02:03:20Z\\",\\n \\"TransactionType\\": \\"Consumption\\",\\n \\"TransactionFlow\\": \\"Expense\\",\\n \\"FundType\\": \\"Cash\\",\\n \\"TransactionChannelSN\\": \\"1234354325\\",\\n \\"TransactionNumber\\": \\"43342334\\",\\n \\"Balance\\": \\"0\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryAccountTransactionsResponse>\\n <Message>Successful!</Message>\\n <RequestId>8C451EDE-8F92-4896-B4E6-68159A27B0F5</RequestId>\\n <Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>20</PageSize>\\n <PageNum>1</PageNum>\\n <AccountTransactionsList>\\n <AccountTransactionsList>\\n <TransactionType>Consumption</TransactionType>\\n <BillingCycle>2020-03</BillingCycle>\\n <TransactionNumber>133xxxxxx90112</TransactionNumber>\\n <Amount>0.81</Amount>\\n <TransactionAccount/>\\n <TransactionTime>2020-03-10T02:03:20Z</TransactionTime>\\n <TransactionChannelSN/>\\n <Remarks>NAT_GW</Remarks>\\n <FundType>Cash</FundType>\\n <TransactionFlow>Expense</TransactionFlow>\\n <RecordID>2020xxxxx706693</RecordID>\\n <Balance>0.00</Balance>\\n <TransactionChannel>AccountBalance</TransactionChannel>\\n </AccountTransactionsList>\\n </AccountTransactionsList>\\n <AccountName>test@test.aliyunid.com</AccountName>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</QueryAccountTransactionsResponse>","errorExample":""}]',
'title' => '账户流水收支明细查询接口',
'summary' => '查询用户账户流水信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2022-04-11T06:41:43.000Z', 'description' => '请求参数发生变更、错误码发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeAcccountTran',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryAvailableInstances' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
'schema' => ['description' => '地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页条数,默认值为20,最大不超过300个。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。可通过接口**QueryProductList**查询产品代码。'."\n"
."\n"
.'> 当设置了region时,不为空。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => false, 'example' => 'Subscription'],
],
[
'name' => 'InstanceIDs',
'in' => 'query',
'schema' => ['description' => '实例ID。多个ID用英文逗号分隔,最大不超过100个。', 'type' => 'string', 'required' => false, 'example' => 'rm-xxxxxxxxxxxx'],
],
[
'name' => 'EndTimeStart',
'in' => 'query',
'schema' => ['description' => '结束时间段起,符合ISO8601标准的utc时间格式,例如2016-05-23T12:00:00Z。', 'type' => 'string', 'required' => false, 'example' => '2016-05-23T12:00:00Z'],
],
[
'name' => 'EndTimeEnd',
'in' => 'query',
'schema' => ['description' => '结束时间段止,符合ISO8601标准的utc时间格式,例如2016-05-23T12:00:00Z。', 'type' => 'string', 'required' => false, 'example' => '2016-05-23T12:00:00Z'],
],
[
'name' => 'CreateTimeStart',
'in' => 'query',
'schema' => ['description' => '创建时间段起,符合ISO8601标准的utc时间格式。', 'type' => 'string', 'required' => false, 'example' => '2016-05-23T12:00:00Z'],
],
[
'name' => 'CreateTimeEnd',
'in' => 'query',
'schema' => ['description' => '创建时间段止,符合ISO8601标准的utc时间格式。', 'type' => 'string', 'required' => false, 'example' => '2016-05-23T12:00:00Z'],
],
[
'name' => 'RenewStatus',
'in' => 'query',
'schema' => ['description' => '续费状态,取值:'."\n"
.'- AutoRenewal:自动续费。'."\n"
.'- ManualRenewal:手动续费。'."\n"
.'- NotRenewal:不续费。', 'type' => 'string', 'required' => false, 'example' => 'AutoRenewal'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C7C15585-8349-4C62-BEE4-5A391841B9BE'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '每页条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
'InstanceList' => [
'description' => '实例信息的列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'SubStatus' => ['description' => '子状态。', 'type' => 'string', 'example' => 'Normal-后付费模块正常'."\n"
.'WaitForLimit-后付费模块即将欠费受限'."\n"
.'BandwidthLimited-后付费模块欠费受限'],
'Status' => ['description' => '状态。', 'type' => 'string', 'example' => 'Creating-资源创建中'."\n"
.'WaitForExpire-即将停服'."\n"
.'Normal-正常'."\n"
.'Expired-停服'],
'ExpectedReleaseTime' => ['description' => '期望释放时间。', 'type' => 'string', 'example' => '2019-09-08T16:00:00Z'],
'RenewStatus' => ['description' => '续费状态,取值:'."\n"
.'- AutoRenewal:自动续费。'."\n"
.'- ManualRenewal:手动续费。'."\n"
.'- NotRenewal:不续费。', 'type' => 'string', 'example' => 'ManualRenewal'],
'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2019-09-08T16:00:00Z'],
'SellerId' => ['description' => '卖方ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '123123123'],
'InstanceID' => ['description' => '实例ID。', 'type' => 'string', 'example' => '1049056'],
'Seller' => ['description' => '卖方。', 'type' => 'string', 'example' => '123123123'],
'StopTime' => ['description' => '停止时间。', 'type' => 'string', 'example' => '2019-09-08T16:00:00Z'],
'RenewalDurationUnit' => ['description' => '自动续费周期单位,取值:'."\n"
.'- M:月。'."\n"
.'- Y:年。', 'type' => 'string', 'example' => 'M'],
'SubscriptionType' => ['description' => '订阅类型,取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'example' => 'Subscription'],
'OwnerId' => ['description' => '所有者ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '325352345'],
'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2019-09-08T16:00:00Z'],
'ProductType' => ['description' => '产品类型。', 'type' => 'string', 'example' => 'rds'],
'Region' => ['description' => '地域。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'ReleaseTime' => ['description' => '释放时间。', 'type' => 'string', 'example' => '2019-09-08T16:00:00Z'],
'RenewalDuration' => ['description' => '自动续费周期数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"C7C15585-8349-4C62-BEE4-5A391841B9BE\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 11,\\n \\"InstanceList\\": [\\n {\\n \\"SubStatus\\": \\"Normal-后付费模块正常\\\\nWaitForLimit-后付费模块即将欠费受限\\\\nBandwidthLimited-后付费模块欠费受限\\",\\n \\"Status\\": \\"Creating-资源创建中\\\\nWaitForExpire-即将停服\\\\nNormal-正常\\\\nExpired-停服\\",\\n \\"ExpectedReleaseTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"RenewStatus\\": \\"ManualRenewal\\",\\n \\"CreateTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"SellerId\\": 123123123,\\n \\"InstanceID\\": \\"1049056\\",\\n \\"Seller\\": \\"123123123\\",\\n \\"StopTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"RenewalDurationUnit\\": \\"M\\",\\n \\"SubscriptionType\\": \\"Subscription\\",\\n \\"OwnerId\\": 325352345,\\n \\"EndTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"ProductType\\": \\"rds\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"ReleaseTime\\": \\"2019-09-08T16:00:00Z\\",\\n \\"RenewalDuration\\": 1,\\n \\"ProductCode\\": \\"rds\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryAvailableInstancesResponse>\\n <Data>\\n <TotalCount>51</TotalCount>\\n <PageSize>20</PageSize>\\n <PageNum>1</PageNum>\\n <InstanceList>\\n <Status>Creating</Status>\\n <SubStatus>Normal</SubStatus>\\n <SubscriptionType>Subscription</SubscriptionType>\\n <RenewStatus>ManualRenewal</RenewStatus>\\n <InstanceID>IFP-ji2gz****</InstanceID>\\n <ProductCode>flowpack</ProductCode>\\n <CreateTime>2999-09-08T16:00:00Z</CreateTime>\\n <OwnerId>181****</OwnerId>\\n <EndTime>2016-11-07T16:00:00Z</EndTime>\\n <Seller>26888</Seller>\\n </InstanceList>\\n <InstanceList>\\n <Status>Creating</Status>\\n <SubStatus>Normal</SubStatus>\\n <SubscriptionType>Subscription</SubscriptionType>\\n <RenewStatus>ManualRenewal</RenewStatus>\\n <InstanceID>IFP-6dyrc****</InstanceID>\\n <ProductCode>flowpack</ProductCode>\\n <CreateTime>2999-09-08T16:00:00Z</CreateTime>\\n <OwnerId>181****</OwnerId>\\n <EndTime>2016-11-07T16:00:00Z</EndTime>\\n <Seller>26888</Seller>\\n </InstanceList>\\n <InstanceList>\\n <Status>Creating</Status>\\n <SubStatus>Normal</SubStatus>\\n <SubscriptionType>Subscription</SubscriptionType>\\n <RenewStatus>ManualRenewal</RenewStatus>\\n <InstanceID>IFP-ne1nt5uw1</InstanceID>\\n <ProductCode>flowpack</ProductCode>\\n <CreateTime>2999-09-08T16:00:00Z</CreateTime>\\n <OwnerId>181****</OwnerId>\\n <EndTime>2016-11-07T16:00:00Z</EndTime>\\n <Seller>26888</Seller>\\n </InstanceList>\\n <InstanceList>\\n <Status>Creating</Status>\\n <SubStatus>Normal</SubStatus>\\n <SubscriptionType>Subscription</SubscriptionType>\\n <RenewStatus>ManualRenewal</RenewStatus>\\n <InstanceID>IFP-vj5ry82x1</InstanceID>\\n <ProductCode>flowpack</ProductCode>\\n <CreateTime>2999-09-08T16:00:00Z</CreateTime>\\n <OwnerId>181****</OwnerId>\\n <EndTime>2016-11-07T16:00:00Z</EndTime>\\n <Seller>26888</Seller>\\n </InstanceList>\\n <InstanceList>\\n <Status>Creating</Status>\\n <SubStatus>Normal</SubStatus>\\n <SubscriptionType>Subscription</SubscriptionType>\\n <RenewStatus>ManualRenewal</RenewStatus>\\n <InstanceID>IFP-e6oupf251</InstanceID>\\n <ProductCode>flowpack</ProductCode>\\n <CreateTime>2999-09-08T16:00:00Z</CreateTime>\\n <OwnerId>181****</OwnerId>\\n <EndTime>2016-11-10T16:00:00Z</EndTime>\\n <Seller>26888</Seller>\\n </InstanceList>\\n <InstanceList>\\n <Status>Creating</Status>\\n <SubStatus>Normal</SubStatus>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <InstanceID>988643</InstanceID>\\n <ProductCode>cmjj011731</ProductCode>\\n <CreateTime>2999-09-08T16:00:00Z</CreateTime>\\n <OwnerId>181****</OwnerId>\\n <EndTime>2999-09-08T16:00:00Z</EndTime>\\n <Seller>26888</Seller>\\n </InstanceList>\\n <InstanceList>\\n <Status>Creating</Status>\\n <SubStatus>Normal</SubStatus>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <InstanceID>988647</InstanceID>\\n <ProductCode>cmjj011731</ProductCode>\\n <CreateTime>2999-09-08T16:00:00Z</CreateTime>\\n <OwnerId>181****</OwnerId>\\n <EndTime>2999-09-08T16:00:00Z</EndTime>\\n <Seller>26888</Seller>\\n </InstanceList>\\n <InstanceList>\\n <Status>Creating</Status>\\n <SubStatus>Normal</SubStatus>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <InstanceID>988648</InstanceID>\\n <ProductCode>cmjj011731</ProductCode>\\n <CreateTime>2999-09-08T16:00:00Z</CreateTime>\\n <OwnerId>181****</OwnerId>\\n <EndTime>2999-09-08T16:00:00Z</EndTime>\\n <Seller>26888</Seller>\\n </InstanceList>\\n <InstanceList>\\n <Status>Creating</Status>\\n <SubStatus>Normal</SubStatus>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <InstanceID>988649</InstanceID>\\n <ProductCode>cmjj011731</ProductCode>\\n <CreateTime>2999-09-08T16:00:00Z</CreateTime>\\n <OwnerId>181****</OwnerId>\\n <EndTime>2999-09-08T16:00:00Z</EndTime>\\n <Seller>26888</Seller>\\n </InstanceList>\\n <InstanceList>\\n <Status>Creating</Status>\\n <SubStatus>Normal</SubStatus>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <InstanceID>988651</InstanceID>\\n <ProductCode>cmjj011731</ProductCode>\\n <CreateTime>2999-09-08T16:00:00Z</CreateTime>\\n <OwnerId>181****</OwnerId>\\n <EndTime>2999-09-08T16:00:00Z</EndTime>\\n <Seller>26888</Seller>\\n </InstanceList>\\n <InstanceList>\\n <Status>Creating</Status>\\n <SubStatus>Normal</SubStatus>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <InstanceID>1049056</InstanceID>\\n <ProductCode>cmjj011399</ProductCode>\\n <CreateTime>2999-09-08T16:00:00Z</CreateTime>\\n <OwnerId>181****</OwnerId>\\n <EndTime>2999-09-08T16:00:00Z</EndTime>\\n <Seller>26888</Seller>\\n </InstanceList>\\n <InstanceList>\\n <Status>Creating</Status>\\n <SubStatus>Normal</SubStatus>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <InstanceID>1049052</InstanceID>\\n <ProductCode>cmjj011399</ProductCode>\\n <CreateTime>2999-09-08T16:00:00Z</CreateTime>\\n <OwnerId>181****</OwnerId>\\n <EndTime>2999-09-08T16:00:00Z</EndTime>\\n <Seller>26888</Seller>\\n </InstanceList>\\n </Data>\\n <Message>Successful!</Message>\\n <RequestId>C7C15585-8349-4C62-BEE4-5A391841B9BE</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n</QueryAvailableInstancesResponse>","errorExample":""}]',
'title' => '实例查询服务',
'summary' => '查询用户可用实例列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '60', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryAvailableInstances'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeInstances',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryBill' => [
'summary' => '查询用户某个账期内的结算账单。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BillingCycle',
'in' => 'query',
'schema' => ['description' => '账期,YYYY-MM。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-07'],
],
[
'name' => 'Type',
'in' => 'query',
'schema' => ['description' => '类型。取值:'."\n"
.'- SubscriptionOrder'."\n"
.'- PayAsYouGoBill'."\n"
.'- Refund'."\n"
.'- Adjustment', 'type' => 'string', 'required' => false, 'example' => 'SubscriptionOrder'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription'."\n"
.'- PayAsYouGo'."\n"
."\n"
.'> 必须和ProductCode参数一起使用。', 'type' => 'string', 'required' => false, 'example' => 'Subscription'],
],
[
'name' => 'IsHideZeroCharge',
'in' => 'query',
'schema' => ['description' => '根据原价(PretaxGrossAmount)是否为0做过滤,默认为否(兼容现有逻辑)。'."\n"
.'- true:是。'."\n"
.'- false:否。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页数量,默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号的ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '123'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE3F4057-DFC9-4B81-8858-F620651010C9'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'BillingCycle' => ['description' => '账期,YYYY-MM。', 'type' => 'string', 'example' => '2020-02'],
'AccountID' => ['description' => '账号ID。', 'type' => 'string', 'example' => '185xxxxx489'],
'PageSize' => ['description' => '每页条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'AccountName' => ['description' => '账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'Items' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Item' => [
'description' => '账单详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => ['description' => '支付状态。取值:'."\n"
.'- PayFinish:已支付'."\n"
.'- PayUnclear:未结清'."\n"
.'- PayUnsettle:未结算'."\n"
.'- NoSettle:免结算', 'type' => 'string', 'example' => 'PayFinish'],
'RoundDownDiscount' => ['description' => '抹零优惠。', 'type' => 'string', 'example' => '0'],
'Item' => ['description' => '账单类型:'."\n"
.'- SubscriptionOrder'."\n"
.'- PayAsYouGoBill'."\n"
.'- Refund'."\n"
.'- Adjustment', 'type' => 'string', 'example' => 'SubscriptionOrder'],
'Currency' => ['description' => '币种。'."\n"
.'- CNY'."\n"
.'- USD'."\n"
.'- JPY', 'type' => 'string', 'example' => 'CNY'],
'UsageStartTime' => ['description' => '账单开始时间。', 'type' => 'string', 'example' => '2020-03-11 07:00:00'],
'SubscriptionType' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription'."\n"
.'- PayAsYouGo', 'type' => 'string', 'example' => 'PayAsYouGo'],
'DeductedByCashCoupons' => ['description' => '代金券抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'UsageEndTime' => ['description' => '账单结束时间。', 'type' => 'string', 'example' => '2020-03-11 08:00:00'],
'DeductedByCoupons' => ['description' => '优惠券抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'SubOrderId' => ['description' => '该条账单对应的订单明细ID。', 'type' => 'string', 'example' => '325345254353'],
'OutstandingAmount' => ['description' => '未结清金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'PaymentTime' => ['description' => '订单支付时间。', 'type' => 'string', 'example' => '2020-03-11 08:00:00'],
'PipCode' => ['description' => '产品Code。', 'type' => 'string', 'example' => 'rds'],
'PretaxAmount' => ['description' => '应付金额。', 'type' => 'number', 'format' => 'float', 'example' => '100'],
'CommodityCode' => ['description' => '商品Code。', 'type' => 'string', 'example' => 'rds'],
'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => '云数据库RDS'],
'RecordID' => ['description' => '订单号、账单号。', 'type' => 'string', 'example' => '2020xxxx5912'],
'AdjustAmount' => ['description' => '信用额度退款抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ProductDetail' => ['description' => '产品明细。', 'type' => 'string', 'example' => '关系型数据库RDS(包月)'],
'OwnerID' => ['description' => '子账号**AccountID**(多账号代付场景)。', 'type' => 'string', 'example' => '3532535235'],
'DeductedByPrepaidCard' => ['description' => '储值卡抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ProductType' => ['description' => '产品类型。', 'type' => 'string', 'example' => 'rds'],
'InvoiceDiscount' => ['description' => '优惠金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'PaymentAmount' => ['description' => '现金支付(含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'PretaxGrossAmount' => ['description' => '原始金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'CashAmount' => ['description' => '现金支付(不包含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
],
],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"AE3F4057-DFC9-4B81-8858-F620651010C9\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"BillingCycle\\": \\"2020-02\\",\\n \\"AccountID\\": \\"185xxxxx489\\",\\n \\"PageSize\\": 1,\\n \\"TotalCount\\": 20,\\n \\"AccountName\\": \\"test@test.aliyunid.com\\",\\n \\"Items\\": {\\n \\"Item\\": [\\n {\\n \\"Status\\": \\"PayFinish\\",\\n \\"RoundDownDiscount\\": \\"0\\",\\n \\"Item\\": \\"SubscriptionOrder\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"UsageStartTime\\": \\"2020-03-11 07:00:00\\",\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"DeductedByCashCoupons\\": 0,\\n \\"UsageEndTime\\": \\"2020-03-11 08:00:00\\",\\n \\"DeductedByCoupons\\": 0,\\n \\"SubOrderId\\": \\"325345254353\\",\\n \\"OutstandingAmount\\": 0,\\n \\"PaymentTime\\": \\"2020-03-11 08:00:00\\",\\n \\"PipCode\\": \\"rds\\",\\n \\"PretaxAmount\\": 100,\\n \\"CommodityCode\\": \\"rds\\",\\n \\"ProductName\\": \\"云数据库RDS\\",\\n \\"RecordID\\": \\"2020xxxx5912\\",\\n \\"AdjustAmount\\": 0,\\n \\"ProductDetail\\": \\"关系型数据库RDS(包月)\\",\\n \\"OwnerID\\": \\"3532535235\\",\\n \\"DeductedByPrepaidCard\\": 0,\\n \\"ProductType\\": \\"rds\\",\\n \\"InvoiceDiscount\\": 0,\\n \\"PaymentAmount\\": 0,\\n \\"PretaxGrossAmount\\": 0,\\n \\"CashAmount\\": 0,\\n \\"ProductCode\\": \\"rds\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryBillResponse>\\n <Message>Successful!</Message>\\n <RequestId>347A769E-CA83-4213-964D-41A974DE0F3D</RequestId>\\n <Data>\\n <BillingCycle>2020-03</BillingCycle>\\n <TotalCount>47</TotalCount>\\n <AccountID>185xxxxx489</AccountID>\\n <PageSize>20</PageSize>\\n <PageNum>1</PageNum>\\n <Items>\\n <Item>\\n <Status>PayFinish</Status>\\n <DeductedByCoupons>0</DeductedByCoupons>\\n <RoundDownDiscount>0</RoundDownDiscount>\\n <ProductName>云数据库RDS</ProductName>\\n <ProductDetail>关系型数据库RDS(包月)</ProductDetail>\\n <ProductCode>rds</ProductCode>\\n <SubOrderId/>\\n <ProductType>rds</ProductType>\\n <DeductedByCashCoupons>0</DeductedByCashCoupons>\\n <OutstandingAmount>0</OutstandingAmount>\\n <PaymentTime/>\\n <PaymentAmount>0</PaymentAmount>\\n <DeductedByPrepaidCard>0</DeductedByPrepaidCard>\\n <InvoiceDiscount>0</InvoiceDiscount>\\n <UsageEndTime>2020-03-11 08:00:00</UsageEndTime>\\n <Item>PayAsYouGoBill</Item>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <PretaxGrossAmount>0</PretaxGrossAmount>\\n <OwnerID/>\\n <PretaxAmount>0</PretaxAmount>\\n <Currency>CNY</Currency>\\n <UsageStartTime>2020-03-11 07:00:00</UsageStartTime>\\n <RecordID>2020xxxx5912</RecordID>\\n </Item>\\n </Items>\\n <AccountName>test@test.aliyunid.com</AccountName>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</QueryBillResponse>","errorExample":""}]',
'title' => '账单查询服务',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-03-28T11:11:32.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryBill'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBillList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryBillOverview' => [
'summary' => '查询用户某个账期内的账单总览信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BillingCycle',
'in' => 'query',
'schema' => ['description' => '账单日期,YYYY-MM。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-07'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => false, 'example' => 'Subscription'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号的ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '1234'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BCB1E1BC-05BF-4217-80EE-BF09A29407BA'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'BillingCycle' => ['description' => '账期,格式:YYYY-MM。', 'type' => 'string', 'example' => '2020-03'],
'AccountID' => ['description' => '账号ID。', 'type' => 'string', 'example' => '185766xxxx'],
'AccountName' => ['description' => '账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'Items' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Item' => [
'description' => '账单详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'RoundDownDiscount' => ['description' => '抹零优惠。', 'type' => 'string', 'example' => '0'],
'Item' => ['description' => '账单类型,取值:'."\n"
.'- SubscriptionOrder。预付费账单'."\n"
.'- PayAsYouGoBill。后付费账单'."\n"
.'- Refund。退款'."\n"
.'- Adjustment。调账', 'type' => 'string', 'example' => 'PayAsYouGoBill'],
'Currency' => ['description' => '币种,取值:'."\n"
.'- CNY。'."\n"
.'- USD。'."\n"
.'- JPY。', 'type' => 'string', 'example' => 'CNY'],
'SubscriptionType' => ['description' => '订阅类型,取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'example' => 'Subscription'],
'DeductedByCashCoupons' => ['description' => '代金券抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'BillAccountName' => ['description' => '账单所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'BizType' => ['description' => '业务类型。', 'type' => 'string', 'example' => 'trusteeship'],
'DeductedByCoupons' => ['description' => '优惠券抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'OutstandingAmount' => ['description' => '未结清金额或信用结算金额(普通用户的欠费, 或者信用客户信用额度消耗)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'PipCode' => ['description' => '产品Code,与费用中心账单产品Code一致。', 'type' => 'string', 'example' => 'rds'],
'PretaxAmount' => ['description' => '应付金额。', 'type' => 'number', 'format' => 'float', 'example' => '100'],
'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => 'NAT Gateway'],
'CommodityCode' => ['description' => '商品Code,与费用中心产品明细Code一致。', 'type' => 'string', 'example' => 'rds'],
'AdjustAmount' => ['description' => '信用额度退款抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ProductDetail' => ['description' => '产品明细。', 'type' => 'string', 'example' => 'NAT Gateway (Pay-As-You-Go)'],
'OwnerID' => ['description' => '账单OwnerID。', 'type' => 'string', 'example' => '1222'],
'DeductedByPrepaidCard' => ['description' => '储值卡抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ProductType' => ['description' => '产品类型。', 'type' => 'string', 'example' => 'rds'],
'InvoiceDiscount' => ['description' => '优惠金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'PaymentAmount' => ['description' => '现金支付(含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '100'],
'BillAccountID' => ['description' => '账单所属账号ID。', 'type' => 'string', 'example' => '185766xxxx'],
'PretaxGrossAmount' => ['description' => '原始金额。', 'type' => 'number', 'format' => 'float', 'example' => '100'],
'CashAmount' => ['description' => '现金支付(不包含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
],
'description' => '',
],
],
],
'description' => '',
],
],
],
],
'description' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"BCB1E1BC-05BF-4217-80EE-BF09A29407BA\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"BillingCycle\\": \\"2020-03\\",\\n \\"AccountID\\": \\"185766xxxx\\",\\n \\"AccountName\\": \\"test@test.aliyunid.com\\",\\n \\"Items\\": {\\n \\"Item\\": [\\n {\\n \\"RoundDownDiscount\\": \\"0\\",\\n \\"Item\\": \\"PayAsYouGoBill\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"SubscriptionType\\": \\"Subscription\\",\\n \\"DeductedByCashCoupons\\": 0,\\n \\"BillAccountName\\": \\"test@test.aliyunid.com\\",\\n \\"BizType\\": \\"trusteeship\\",\\n \\"DeductedByCoupons\\": 0,\\n \\"OutstandingAmount\\": 0,\\n \\"PipCode\\": \\"rds\\",\\n \\"PretaxAmount\\": 100,\\n \\"ProductName\\": \\"NAT Gateway\\",\\n \\"CommodityCode\\": \\"rds\\",\\n \\"AdjustAmount\\": 0,\\n \\"ProductDetail\\": \\"NAT Gateway (Pay-As-You-Go)\\",\\n \\"OwnerID\\": \\"1222\\",\\n \\"DeductedByPrepaidCard\\": 0,\\n \\"ProductType\\": \\"rds\\",\\n \\"InvoiceDiscount\\": 0,\\n \\"PaymentAmount\\": 100,\\n \\"BillAccountID\\": \\"185766xxxx\\",\\n \\"PretaxGrossAmount\\": 100,\\n \\"CashAmount\\": 0,\\n \\"ProductCode\\": \\"rds\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>BCB1E1BC-05BF-4217-80EE-BF09A29407BA</RequestId>\\n<Message>Successful!</Message>\\n<Data>\\n <BillingCycle>2020-03</BillingCycle>\\n <AccountID>185766xxxx</AccountID>\\n <AccountName>test@test.aliyunid.com</AccountName>\\n <Items>\\n <Item>\\n <AfterTaxAmount>0</AfterTaxAmount>\\n <ProductName>Nat网关</ProductName>\\n <BillAccountID>185766xxxx</BillAccountID>\\n <DeductedByCashCoupons>0</DeductedByCashCoupons>\\n <PaymentCurrency>USD</PaymentCurrency>\\n <Tax>0</Tax>\\n <PaymentAmount>100</PaymentAmount>\\n <DeductedByPrepaidCard>0</DeductedByPrepaidCard>\\n <InvoiceDiscount>0</InvoiceDiscount>\\n <SubscriptionType>Subscription</SubscriptionType>\\n <Item>PayAsYouGoBill</Item>\\n <PretaxGrossAmount>100</PretaxGrossAmount>\\n <Currency>CNY</Currency>\\n <CommodityCode>rds</CommodityCode>\\n <AdjustAmount>0</AdjustAmount>\\n <DeductedByCoupons>0</DeductedByCoupons>\\n <RoundDownDiscount>0</RoundDownDiscount>\\n <ProductDetail>NAT Gateway (Pay-As-You-Go)</ProductDetail>\\n <ProductCode>rds</ProductCode>\\n <ProductType>rds</ProductType>\\n <OutstandingAmount>0</OutstandingAmount>\\n <BizType>trusteeship</BizType>\\n <PipCode>rds</PipCode>\\n <OwnerID>1222</OwnerID>\\n <PretaxAmount>100</PretaxAmount>\\n <BillAccountName>test@test.aliyunid.com</BillAccountName>\\n <CashAmount>0</CashAmount>\\n <PretaxAmountLocal>0</PretaxAmountLocal>\\n </Item>\\n </Items>\\n</Data>\\n<Code>Success</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '账单总览查询服务',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-03-28T11:11:32.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryBillOverview'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBillList',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryBillToOSSSubscription' => [
'summary' => '查询账单订阅到OSS储存桶的记录。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9EEAE43F-1E4D-4734-AE93-5049878AC103'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'AccountName' => ['description' => '当前查询账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'AccountID' => ['description' => '当前查询账号ID。', 'type' => 'string', 'example' => '185xxxxx03489'],
'Items' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Item' => [
'description' => '订阅详情。',
'type' => 'array',
'items' => [
'description' => '订阅详情。',
'type' => 'object',
'properties' => [
'BucketOwnerId' => ['description' => '储存桶所有者用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1369168081849304'],
'SubscribeType' => ['description' => '订阅账单类型。'."\n"
.'- BillingItemDetailForBillingPeriod:计费项消明细。'."\n"
.'- InstanceDetailForBillingPeriod:实例消费明细。', 'type' => 'string', 'example' => 'BillingItemDetailForBillingPeriod'],
'SubscribeBucket' => ['description' => '订阅的储存桶ID。', 'type' => 'string', 'example' => 'billingtestbucket'],
'SubscribeTime' => ['description' => '订阅时间,格式’YYYY-MM-DD hh:mm:ss’。', 'type' => 'string', 'example' => '2019-10-30 15:40:11'],
'SubscribeLanguage' => [
'description' => '订阅语言简码。',
'type' => 'string',
'enumValueTitles' => ['en' => '英文', 'zh' => '中文'],
'example' => 'zh',
],
'BucketPath' => ['description' => 'OSS存储目录。', 'type' => 'string', 'example' => 'Billing/BillingItemDetailMonthly/'],
'RowLimitPerFile' => ['description' => '单文件行数上限。当账单文件超过上限后,会拆成多个文件,并合并成一个压缩包。', 'type' => 'integer', 'format' => 'int32', 'example' => '300000'],
],
],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"9EEAE43F-1E4D-4734-AE93-5049878AC103\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"AccountName\\": \\"test@test.aliyunid.com\\",\\n \\"AccountID\\": \\"185xxxxx03489\\",\\n \\"Items\\": {\\n \\"Item\\": [\\n {\\n \\"BucketOwnerId\\": 1369168081849304,\\n \\"SubscribeType\\": \\"BillingItemDetailForBillingPeriod\\",\\n \\"SubscribeBucket\\": \\"billingtestbucket\\",\\n \\"SubscribeTime\\": \\"2019-10-30 15:40:11\\",\\n \\"SubscribeLanguage\\": \\"zh\\",\\n \\"BucketPath\\": \\"Billing/BillingItemDetailMonthly/\\",\\n \\"RowLimitPerFile\\": 300000\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryBillToOSSSubscriptionResponse>\\n <Message>Successful!</Message>\\n <RequestId>9EEAE43F-1E4D-4734-AE93-5049878AC103</RequestId>\\n <Data>\\n <AccountID>185xxxxx03489</AccountID>\\n <Items>\\n </Items>\\n <AccountName>test@test.aliyunid.com</AccountName>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</QueryBillToOSSSubscriptionResponse>","errorExample":""}]',
'title' => '详单订阅查询',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryBillToOSSSubscription'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeSubscribeToOSS',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryCashCoupons' => [
'summary' => '查询用户代金券信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ExpiryTimeEnd',
'in' => 'query',
'schema' => ['description' => '代金券终止过期时间,格式:yyyy-MM-ddTHH:mm:ssZ', 'type' => 'string', 'required' => false, 'example' => '2018-08-01T00:00:00Z'],
],
[
'name' => 'ExpiryTimeStart',
'in' => 'query',
'schema' => ['description' => '代金券起始过期时间,格式:yyyy-MM-ddTHH:mm:ssZ', 'type' => 'string', 'required' => false, 'example' => '2018-09-01T00:00:00Z'],
],
[
'name' => 'EffectiveOrNot',
'in' => 'query',
'schema' => ['description' => '代金券是否生效。取值范围:'."\n"
.'- true'."\n"
.'- false', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '执行结果说明', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '147B566E-DB4C-4E43-BDBB-5DB1D9D268DB'],
'Success' => ['description' => '是否调用成功。true:调用成功,false:调用失败', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'CashCoupon' => [
'description' => '返回数据',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => ['description' => '取值:'."\n"
.'- Available:有效'."\n"
.'- Expired:过期'."\n"
.'- Cancelled:作废', 'type' => 'string', 'example' => 'Available'],
'ExpiryTime' => ['description' => '代金券过期时间', 'type' => 'string', 'example' => '2018-08-10T00:00:00Z'],
'GrantedTime' => ['description' => '代金券发放时间', 'type' => 'string', 'example' => '2018-08-02T15:15:50Z'],
'NominalValue' => ['description' => '面额', 'type' => 'string', 'example' => '100.00'],
'EffectiveTime' => ['description' => '代金券生效时间', 'type' => 'string', 'example' => '2018-08-02T15:15:50Z'],
'ApplicableScenarios' => ['description' => '适用场景描述', 'type' => 'string', 'example' => '阿里云按量付费账单,阿里云新购'],
'CashCouponId' => ['description' => '代金券ID', 'type' => 'integer', 'format' => 'int64', 'example' => '34534253254325'],
'ApplicableProducts' => ['description' => '适用产品描述', 'type' => 'string', 'example' => '通用'],
'CashCouponNo' => ['description' => '代金券编码', 'type' => 'string', 'example' => 'Q-b1485def8f04a'],
'Balance' => ['description' => '余额', 'type' => 'string', 'example' => '100.00'],
'Description' => ['description' => '备注', 'type' => 'string', 'example' => '该代金券用于产品功能验证的测试'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => ' Some parameters arte mandatoryfor this request.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'Some parameter sare not valid.', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specifiedowner doesn’t belong to caller', 'description' => ''],
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
],
500 => [
['errorCode' => 'UndefinedError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"147B566E-DB4C-4E43-BDBB-5DB1D9D268DB\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"CashCoupon\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"ExpiryTime\\": \\"2018-08-10T00:00:00Z\\",\\n \\"GrantedTime\\": \\"2018-08-02T15:15:50Z\\",\\n \\"NominalValue\\": \\"100.00\\",\\n \\"EffectiveTime\\": \\"2018-08-02T15:15:50Z\\",\\n \\"ApplicableScenarios\\": \\"阿里云按量付费账单,阿里云新购\\",\\n \\"CashCouponId\\": 34534253254325,\\n \\"ApplicableProducts\\": \\"通用\\",\\n \\"CashCouponNo\\": \\"Q-b1485def8f04a\\",\\n \\"Balance\\": \\"100.00\\",\\n \\"Description\\": \\"该代金券用于产品功能验证的测试\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询用户代金券信息',
'changeSet' => [
['createdAt' => '2023-07-19T02:26:52.000Z', 'description' => '响应参数发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeCoupons',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryCommodityList' => [
'summary' => '该接口提供根据产品code获取商品信息列表的能力。',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => true, 'example' => 'ecs'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => [
'description' => '语言,不填时默认为zh(中文)',
'type' => 'string',
'required' => false,
'enumValueTitles' => ['en' => '英文', 'zh' => '中文'],
'example' => 'en',
],
],
],
'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' => 'CC706AAC-75A6-55B5-9AB7-7D171C6C7655'],
'Message' => ['description' => '调用结果的附加信息。', 'type' => 'string', 'example' => 'Successful!'],
'Success' => ['description' => '是否成功'."\n", 'type' => 'boolean', 'example' => 'True'],
'Code' => ['description' => '状态码'."\n", 'type' => 'string', 'example' => 'NotApplicable'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'CommodityList' => [
'description' => '商品列表。',
'type' => 'array',
'items' => [
'description' => '商品列表。',
'type' => 'object',
'properties' => [
'CommodityCode' => ['description' => '商品code,与费用中心产品明细code一致', 'type' => 'string', 'example' => 'ecs'],
'CommodityName' => ['description' => '商品名称。', 'type' => 'string', 'example' => '云服务器(按量付费)'],
'ChargeType' => [
'description' => '付款类型:-POSTPAY:按量付款-PREPAY:包年包月',
'type' => 'string',
'enumValueTitles' => ['PREPAY' => '预付费', 'POSTPAY' => '后付费'],
'example' => 'POSTPAY',
],
],
],
],
],
],
],
],
],
],
'title' => '根据产品code查询商品信息列表',
'description' => '该接口提供根据产品code获取商品信息列表的能力。',
'changeSet' => [
['createdAt' => '2023-09-04T08:20:04.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCommodityList'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeProduct',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CC706AAC-75A6-55B5-9AB7-7D171C6C7655\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NotApplicable\\",\\n \\"Data\\": {\\n \\"CommodityList\\": [\\n {\\n \\"CommodityCode\\": \\"ecs\\",\\n \\"CommodityName\\": \\"云服务器(按量付费)\\",\\n \\"ChargeType\\": \\"POSTPAY\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'QueryCostUnit' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'OwnerUid',
'in' => 'query',
'schema' => ['description' => '财务单元的属主用户。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '28394563429587'],
],
[
'name' => 'ParentUnitId',
'in' => 'query',
'schema' => ['description' => '父财务单元ID,-1表示财务单元根。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '-1'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页条数,最大不超过300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '每页条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'CostUnitDtoList' => [
'description' => '财务单元列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ParentUnitId' => ['description' => '父财务单元ID,-1表示财务单元根。', 'type' => 'integer', 'format' => 'int64', 'example' => '-1'],
'UnitName' => ['description' => '财务单元名称。', 'type' => 'string', 'example' => 'test'],
'UnitId' => ['description' => '财务单元ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '23534'],
'OwnerUid' => ['description' => '财务单元的属主用户。', 'type' => 'integer', 'format' => 'int64', 'example' => '2343464'],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1,\\n \\"CostUnitDtoList\\": [\\n {\\n \\"ParentUnitId\\": -1,\\n \\"UnitName\\": \\"test\\",\\n \\"UnitId\\": 23534,\\n \\"OwnerUid\\": 2343464\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryCostUnitResponse>\\n <Message>Successful!</Message>\\n <RequestId>6000EE23-274B-4E07-A697-FF2E999520A4</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <PageNum/>\\n <TotalCount>1</TotalCount>\\n <PageSize>20</PageSize>\\n </Data>\\n</QueryCostUnitResponse>","errorExample":""}]',
'title' => '查询财务单元',
'summary' => '查询财务单元树当前节点下的所有财务单元节点。当 ParentUnitId 为 -1,表示查所有财务单元。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2022-11-17T06:23:54.000Z', 'description' => '错误码发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryCostUnitResource' => [
'summary' => '查询用户的财务单元所属的资源实例列表。当 UnitId 为 0,表示查未分配的主子资源实例。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'OwnerUid',
'in' => 'query',
'schema' => ['description' => '财务单元的属主用户ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '23453245'],
],
[
'name' => 'UnitId',
'in' => 'query',
'schema' => ['description' => '财务单元的ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '235325'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页条数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04332CB7-9A57-4461-97E0-02821D044414'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '每页条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
'ResourceInstanceDtoList' => [
'description' => '资源实例列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CommodityCode' => ['description' => '资源的商品code。', 'type' => 'string', 'example' => 'rds'],
'ResourceUserName' => ['description' => '资源属主的用户名。', 'type' => 'string', 'example' => 'test@test.aliyun.com'],
'CommodityName' => ['description' => '资源的商品名。', 'type' => 'string', 'example' => '云数据库'],
'ResourceUserId' => ['description' => '资源的属主用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2424242134'],
'ApportionName' => ['description' => '资源分拆名。', 'type' => 'string', 'example' => 'test'],
'ApportionCode' => ['description' => '资源分拆code。', 'type' => 'string', 'example' => 'test'],
'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'FPT_ossbag_absolute_Storage_bj'],
'ResourceNick' => ['description' => '资源的自定义昵称。', 'type' => 'string', 'example' => 'testResource'],
'ResourceTag' => ['description' => '资源的Tag标签。', 'type' => 'string', 'example' => 'testResource'],
'ResourceId' => ['description' => '资源的实例ID。', 'type' => 'string', 'example' => 'OSSBAG-cn-v0h1s4hma018'],
'ResourceGroup' => ['description' => '资源所属的资源组。', 'type' => 'string', 'example' => '默认资源组'],
'RelatedResources' => ['description' => '资源实例相关的资源。', 'type' => 'string', 'example' => 'oss'],
'ResourceStatus' => ['description' => '资源状态。', 'type' => 'string', 'example' => 'Available'],
'PipCode' => ['description' => '产品Code,与费用中心账单产品Code一致。', 'type' => 'string', 'example' => 'rds'],
'ResourceSource' => ['description' => '资源来源。取值:'."\n"
.'- AUTO_ALLOCATE:自动分配。'."\n"
.'- MANUAL_ALLOCATE:手动分配。', 'type' => 'string', 'example' => 'MANUAL_ALLOCATE'],
],
],
],
'CostUnit' => [
'description' => '财务单元信息。',
'type' => 'object',
'properties' => [
'ParentUnitId' => ['description' => '父财务单元ID,-1表示财务单元根。', 'type' => 'integer', 'format' => 'int64', 'example' => '23421'],
'UnitName' => ['description' => '财务单元的名字。', 'type' => 'string', 'example' => 'test'],
'UnitId' => ['description' => '财务单元的ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '123412'],
'OwnerUid' => ['description' => '财务单元的属主用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '321432'],
],
],
'CostUnitStatisInfo' => [
'description' => '财务单元的统计信息。',
'type' => 'object',
'properties' => [
'TotalResourceCount' => ['description' => '当前财务单元下的所有资源实例数(包含子财务单元)。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'ResourceCount' => ['description' => '当前财务单元下的资源实例数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalUserCount' => ['description' => '当前财务单元下的所有关联账号数(包含子财务单元)。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'SubUnitCount' => ['description' => '当前财务单元下的子单元数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'ResourceGroupCount' => ['description' => '当前财务单元下的资源组数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalResourceGroupCount' => ['description' => '当前财务单元下的所有资源组数(包含子财务单元)。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'UserCount' => ['description' => '当前财务单元下的子单元数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"04332CB7-9A57-4461-97E0-02821D044414\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 12,\\n \\"ResourceInstanceDtoList\\": [\\n {\\n \\"CommodityCode\\": \\"rds\\",\\n \\"ResourceUserName\\": \\"test@test.aliyun.com\\",\\n \\"CommodityName\\": \\"云数据库\\",\\n \\"ResourceUserId\\": 2424242134,\\n \\"ApportionName\\": \\"test\\",\\n \\"ApportionCode\\": \\"test\\",\\n \\"ResourceType\\": \\"FPT_ossbag_absolute_Storage_bj\\",\\n \\"ResourceNick\\": \\"testResource\\",\\n \\"ResourceTag\\": \\"testResource\\",\\n \\"ResourceId\\": \\"OSSBAG-cn-v0h1s4hma018\\",\\n \\"ResourceGroup\\": \\"默认资源组\\",\\n \\"RelatedResources\\": \\"oss\\",\\n \\"ResourceStatus\\": \\"Available\\",\\n \\"PipCode\\": \\"rds\\",\\n \\"ResourceSource\\": \\"MANUAL_ALLOCATE\\"\\n }\\n ],\\n \\"CostUnit\\": {\\n \\"ParentUnitId\\": 23421,\\n \\"UnitName\\": \\"test\\",\\n \\"UnitId\\": 123412,\\n \\"OwnerUid\\": 321432\\n },\\n \\"CostUnitStatisInfo\\": {\\n \\"TotalResourceCount\\": 3,\\n \\"ResourceCount\\": 1,\\n \\"TotalUserCount\\": 2,\\n \\"SubUnitCount\\": 2,\\n \\"ResourceGroupCount\\": 1,\\n \\"TotalResourceGroupCount\\": 2,\\n \\"UserCount\\": 0\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryCostUnitResourceResponse>\\n <Code>Success</Code>\\n <Message>Successful!</Message>\\n <RequestId>04332CB7-9A57-4461-97E0-02821D044414</RequestId>\\n <Success>true</Success>\\n <Data>\\n <PageNum>1</PageNum>\\n <PageSize>20</PageSize>\\n <TotalCount>12</TotalCount>\\n <ResourceInstanceDtoList>\\n <CommodityCode>rds</CommodityCode>\\n <ResourceUserName>test@test.aliyun.com</ResourceUserName>\\n <CommodityName>云数据库</CommodityName>\\n <ResourceUserId>2424242134</ResourceUserId>\\n <ApportionName>test</ApportionName>\\n <ApportionCode>test</ApportionCode>\\n <ResourceType>FPT_ossbag_absolute_Storage_bj</ResourceType>\\n <ResourceNick>testResource</ResourceNick>\\n <ResourceTag>testResource</ResourceTag>\\n <ResourceId>OSSBAG-cn-v0h1s4hma018</ResourceId>\\n <ResourceGroup>默认资源组</ResourceGroup>\\n <RelatedResources>oss</RelatedResources>\\n <ResourceStatus>Available</ResourceStatus>\\n <PipCode>rds</PipCode>\\n <ResourceSource>MANUAL_ALLOCATE</ResourceSource>\\n </ResourceInstanceDtoList>\\n <CostUnit>\\n <ParentUnitId>23421</ParentUnitId>\\n <UnitName>test</UnitName>\\n <UnitId>123412</UnitId>\\n <OwnerUid>321432</OwnerUid>\\n </CostUnit>\\n <CostUnitStatisInfo>\\n <TotalResourceCount>3</TotalResourceCount>\\n <ResourceCount>1</ResourceCount>\\n <TotalUserCount>2</TotalUserCount>\\n <SubUnitCount>2</SubUnitCount>\\n <ResourceGroupCount>1</ResourceGroupCount>\\n <TotalResourceGroupCount>2</TotalResourceGroupCount>\\n <UserCount>0</UserCount>\\n </CostUnitStatisInfo>\\n </Data>\\n</QueryCostUnitResourceResponse>","errorExample":""}]',
'title' => '查询财务单元的资源',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-19T07:37:54.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2022-11-17T06:23:54.000Z', 'description' => '错误码发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryCostUnitResource',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryCustomerAddressList' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BBEF51A3-E933-4F40-A534-C673CBDB9C80'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'CustomerInvoiceAddressList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'CustomerInvoiceAddress' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Addressee' => ['type' => 'string'],
'PostalCode' => ['type' => 'string'],
'UserId' => ['type' => 'integer', 'format' => 'int64'],
'City' => ['type' => 'string'],
'UserNick' => ['type' => 'string'],
'Street' => ['type' => 'string'],
'Phone' => ['type' => 'string'],
'County' => ['type' => 'string'],
'BizType' => ['type' => 'string'],
'DeliveryAddress' => ['type' => 'string'],
'Id' => ['type' => 'integer', 'format' => 'int64'],
'Province' => ['type' => 'string'],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"BBEF51A3-E933-4F40-A534-C673CBDB9C80\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"CustomerInvoiceAddressList\\": {\\n \\"CustomerInvoiceAddress\\": [\\n {\\n \\"Addressee\\": \\"\\",\\n \\"PostalCode\\": \\"\\",\\n \\"UserId\\": 0,\\n \\"City\\": \\"\\",\\n \\"UserNick\\": \\"\\",\\n \\"Street\\": \\"\\",\\n \\"Phone\\": \\"\\",\\n \\"County\\": \\"\\",\\n \\"BizType\\": \\"\\",\\n \\"DeliveryAddress\\": \\"\\",\\n \\"Id\\": 0,\\n \\"Province\\": \\"\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryCustomerAddressListResponse>\\n <Message>Successful!</Message>\\n <RequestId>BBEF51A3-E933-4F40-A534-C673CBDB9C80</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <CustomerInvoiceAddressList>\\n <CustomerInvoiceAddress>\\n <Phone>186********</Phone>\\n <Street>测试街道</Street>\\n <PostalCode>000000</PostalCode>\\n <County>测试区</County>\\n <DeliveryAddress>浙江省杭州市**********</DeliveryAddress>\\n <Id>311601051</Id>\\n <Addressee>test</Addressee>\\n <UserId>169***********</UserId>\\n <Province>浙江*</Province>\\n <City>杭州*</City>\\n </CustomerInvoiceAddress>\\n </CustomerInvoiceAddressList>\\n </Data>\\n</QueryCustomerAddressListResponse>","errorExample":""}]',
'title' => '查询发票邮寄地址服务',
'summary' => '查询阿里云发票邮寄地址信息服务。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCustomerAddressList'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryCustomerAddress',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryDPUtilizationDetail' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '筛选查询的实例ID,为空时返回所有的使用的实例明细。', 'type' => 'string', 'required' => false, 'example' => 'oss-123123'],
],
[
'name' => 'InstanceSpec',
'in' => 'query',
'schema' => ['description' => '实例对应的规格。', 'type' => 'string', 'required' => false, 'example' => 'Instancetyp'],
],
[
'name' => 'CommodityCode',
'in' => 'query',
'schema' => ['description' => '商品code,如ecsRi、scu_bag等。如果填写该字段,则prodCode字段不生效', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ecsRi'],
],
[
'name' => 'DeductedInstanceId',
'in' => 'query',
'schema' => ['description' => '被抵扣实例的ID,为空时返回所有实例的明细数据。', 'type' => 'string', 'required' => false, 'example' => 'oss-123123'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => '开始时间,格式:YYYY-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-05-23 12:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => '结束时间,格式:YYYY-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-05-23 12:00:00'],
],
[
'name' => 'LastToken',
'in' => 'query',
'schema' => ['description' => '查询从LastToken之后开始返回。第一次查询填null,之后的从结果NextToken获取', 'type' => 'string', 'required' => false, 'example' => 'CAESF***zNTAw'],
],
[
'name' => 'Limit',
'in' => 'query',
'schema' => ['description' => '每次查询条数,默认为20,最大值为300。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'IncludeShare',
'in' => 'query',
'schema' => ['description' => '是否包含财务云子账号的资源包用量'."\n"
.'- true:包含'."\n"
.'- false:不包含', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'true'],
],
[
'name' => 'ProdCode',
'in' => 'query',
'schema' => ['description' => '产品code,如:ecs', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'oss'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DF58589C-A06C-4224-8615-7797E6474FA3'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '下次请求查询开始标识,填充到request的LastToken字段中。如果返回为null,则标识查询结束', 'type' => 'string', 'example' => 'CAESF***zNTAw'],
'DetailList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'DetailList' => [
'description' => '明细数组。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'DeductedInstanceId' => ['description' => '被抵扣实例ID。', 'type' => 'string', 'example' => 'oss-123123'],
'InstanceId' => ['description' => '预留实例ID。', 'type' => 'string', 'example' => 'oss-123123'],
'DeductHours' => ['description' => '抵扣系数。 仅当CommodityCode为ecsRi有效。', 'type' => 'number', 'format' => 'float', 'example' => '24'],
'ShareUid' => ['description' => '抵扣实例所属uid'."\n"
.'- 共享抵扣:抵扣实例所属uid'."\n"
.'- 非共享抵扣:等于uid字段', 'type' => 'integer', 'format' => 'int64', 'example' => '1111111111'],
'DeductDate' => ['description' => '抵扣日期。', 'type' => 'string', 'example' => '2019/5/23 12:00'],
'InstanceSpec' => ['description' => '被抵扣实例的规格。', 'type' => 'string', 'example' => 'rds.mysql.s3.large'],
'DeductedCommodityCode' => ['description' => '被抵扣商品code。', 'type' => 'string', 'example' => 'rds'],
'DeductedProductDetail' => ['description' => '被抵商品(产品明细)名称。', 'type' => 'string', 'example' => '云数据库RDS'],
'DeductMeasure' => ['description' => '原始计量量。表示用户在某段时间内实际使用的资源量,未经任何规则调整。', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'Region' => ['description' => '计量中region,可以是空', 'type' => 'string', 'example' => 'cn-hangzhou '],
'DeductQuantity' => ['description' => '实际抵扣对应按量实例的算力或容量。'."\n"
.'> 实际抵扣量(DeductQuantity)是基于原始计量量(DeductMeasure)并结合具体抵扣规则计算得出的。'."\n"
.'> -', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'DeductFactorTotal' => ['description' => 'RI或SCU在该时间段的算力或容量总量。', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'ResCode' => ['description' => '计费项', 'type' => 'string', 'example' => 'PutRequest'],
'Uid' => ['description' => '被抵扣实例的uid', 'type' => 'integer', 'format' => 'int64', 'example' => '1111111111'],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred in the internal server.', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner does not belong to caller.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
['errorCode' => 'NotApplicable', 'errorMessage' => 'The specified API is not applicable for the user.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'The user is not authorized for the specified API.', 'description' => ''],
['errorCode' => 'InvalidInstanceSpec', 'errorMessage' => 'The specified Instance specification is not valid.', 'description' => ''],
['errorCode' => 'InvalidQueryTime', 'errorMessage' => 'The specified start time and end time are incorrect', 'description' => ''],
['errorCode' => 'CommodityNotSupported', 'errorMessage' => 'The specified commodity is not supported.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"DF58589C-A06C-4224-8615-7797E6474FA3\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"NextToken\\": \\"CAESF***zNTAw\\",\\n \\"DetailList\\": {\\n \\"DetailList\\": [\\n {\\n \\"DeductedInstanceId\\": \\"oss-123123\\",\\n \\"InstanceId\\": \\"oss-123123\\",\\n \\"DeductHours\\": 24,\\n \\"ShareUid\\": 1111111111,\\n \\"DeductDate\\": \\"2019/5/23 12:00\\",\\n \\"InstanceSpec\\": \\"rds.mysql.s3.large\\",\\n \\"DeductedCommodityCode\\": \\"rds\\",\\n \\"DeductedProductDetail\\": \\"云数据库RDS\\",\\n \\"DeductMeasure\\": 1,\\n \\"Region\\": \\"cn-hangzhou \\",\\n \\"DeductQuantity\\": 1,\\n \\"DeductFactorTotal\\": 1,\\n \\"ResCode\\": \\"PutRequest\\",\\n \\"Uid\\": 1111111111\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>Successful!</Message>\\n<RequestId>DF58589C-A06C-4224-8615-7797E6474FA3</RequestId>\\n<Data>\\n <TotalCount/>\\n <PageSize/>\\n <PageNum/>\\n <DetailList>\\n <DetailList>\\n <ResCode/>\\n <Uid/>\\n <DeductDate/>\\n <InstanceSpec/>\\n <DeductMeasure/>\\n <InstanceId/>\\n <DeductFactorTotal/>\\n <DeductedProductDetail/>\\n <Region/>\\n <DeductedCommodityCode/>\\n <DeductedInstanceId/>\\n <DeductHours/>\\n <DeductQuantity/>\\n </DetailList>\\n </DetailList>\\n</Data>\\n<Code>Success</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '资源包用量查询',
'summary' => '查询资源包(包含RI、scu)的使用量情况。',
'description' => '限制:'."\n"
.'- 仅支持查询最近1年的用量记录',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:FrDeductLogQueryRequest',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryEvaluateList' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Type',
'in' => 'query',
'schema' => ['description' => '类型,取值:'."\n"
.'- 1:搜索可开票金额负值。'."\n"
.'- 2:搜索可开票金额为正值。'."\n"
.'- 3:搜索所有不为0代开票信息。'."\n"
.'- 4:已开金额>0。'."\n"
."\n"
.'> 默认为空则搜索全部。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'OutBizId',
'in' => 'query',
'schema' => ['description' => '订单/账单/合同编号', 'type' => 'string', 'required' => false, 'example' => '2387432832696'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页条数,默认是20,不能超过300', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'StartAmount',
'in' => 'query',
'schema' => ['description' => '查询开始金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
],
[
'name' => 'EndAmount',
'in' => 'query',
'schema' => ['description' => '查询终止金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'],
],
[
'name' => 'StartBizTime',
'in' => 'query',
'schema' => ['description' => '支付成功时间开始区间。格式:yyyy-mm-dd hh:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2025-02-01 00:00:00'],
],
[
'name' => 'EndBizTime',
'in' => 'query',
'schema' => ['description' => '支付成功时间结束区间。格式:yyyy-mm-dd hh:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2025-03-01 00:00:00'],
],
[
'name' => 'SortType',
'in' => 'query',
'schema' => ['description' => '排序类型,取值:'."\n"
.'- 1:按ID进行倒排。'."\n"
.'- 2:按代开票类型倒排,id倒序二排序。'."\n"
.'- 3:按代开票类型顺排,id倒序二排序。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'StartSearchTime',
'in' => 'query',
'schema' => ['description' => '搜索开始时间', 'type' => 'string', 'required' => false, 'example' => '2025-02-01 00:00:00'],
],
[
'name' => 'EndSearchTime',
'in' => 'query',
'schema' => ['description' => '搜索结束时间', 'type' => 'string', 'required' => false, 'example' => '2025-03-01 00:00:00'],
],
[
'name' => 'BillCycle',
'in' => 'query',
'schema' => ['description' => '账期', 'type' => 'string', 'required' => false, 'example' => '202502'],
],
[
'name' => 'BizTypeList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '待开票对象归属的开票主体列表',
'type' => 'array',
'items' => ['description' => '待开票对象归属的开票主体。取值示例:'."\n"
.'- ALIYUN_SERVICE:阿里云计算有限公司(服务)'."\n"
.'- ALICOM_SERVICE:阿里巴巴云计算(北京)有限公司(服务)', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN_SERVICE'],
'required' => false,
'example' => 'ALIYUN',
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D35FF10E-1B2E-4ABA-8401-0AE17725F50B'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'TotalUnAppliedInvoiceAmount' => ['description' => '查询条件内可开票金额,单位分', 'type' => 'integer', 'format' => 'int64', 'example' => '12344'],
'PageSize' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'TotalCount' => ['description' => '总记录数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'TotalInvoiceAmount' => ['description' => '查询条件内总开票金额,单位分', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
'HostId' => ['type' => 'string'],
'EvaluateList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Evaluate' => [
'description' => '返回数据列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Type' => ['description' => '类型,取值:'."\n"
.'- 1:搜索可开票金额负值。'."\n"
.'- 2:搜索可开票金额为正值。'."\n"
.'- 3:搜索所有不为0代开票信息。'."\n"
.'- 4:已开金额>0。'."\n"
."\n"
.'> 默认为空则搜索全部。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Status' => ['description' => '开票对象状态。'."\n"
.'- 0:已开'."\n"
.'- 1:未开(可开)'."\n"
.'- 2:部分开票'."\n"
.'- 3:开票申请处理中,被锁定', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'BillId' => ['type' => 'integer', 'format' => 'int64'],
'UserId' => ['description' => '用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2738543'],
'BillCycle' => ['description' => '账期', 'type' => 'string', 'example' => '202502'],
'CanInvoiceAmount' => ['description' => '剩余可开票金额', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'],
'OffsetAcceptAmount' => ['description' => '接受冲抵金额。由于存在其他退订,降配等类型订单带来的退款行为,退订金额抵扣到本次开票记录的金额。与退款数据的**OffsetCostAmount**对应。', 'type' => 'integer', 'format' => 'int64', 'example' => '-5000'],
'ItemId' => ['type' => 'integer', 'format' => 'int64'],
'OutBizId' => ['description' => '订单/账单/合同编号', 'type' => 'string', 'example' => '124324213421'],
'UserNick' => ['description' => '用户昵称', 'type' => 'string', 'example' => 'HelloWorld'],
'GmtModified' => ['description' => '修改时间', 'type' => 'string', 'example' => '2025-01-01 00:00:00'],
'OpId' => ['type' => 'string'],
'BizType' => ['description' => '待开票对象归属的开票主体。取值示例:'."\n"
."\n"
.'- ALIYUN_SERVICE:阿里云计算有限公司(服务)'."\n"
.'- ALICOM_SERVICE:阿里巴巴云计算(北京)有限公司(服务)', 'type' => 'string', 'example' => 'ALIYUN'],
'OriginalAmount' => ['description' => '总可开票金额', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
'InvoicedAmount' => ['description' => '已开票金额', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2025-02-01 00:00:00'],
'PresentAmount' => ['description' => '总可开票金额', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
'BizTime' => ['description' => '消费时间', 'type' => 'string', 'example' => '2025-02-01 00:00:00'],
'Name' => ['description' => '待开票对象名称', 'type' => 'string', 'example' => '云服务器ECS(包月)'],
'OffsetCostAmount' => ['description' => '冲抵金额。由于存在其他退订,降配等类型订单带来的退款行为,退订金额抵扣到本次开票记录的金额。与退款数据的**OffsetAcceptAmount**对应。', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'],
'Id' => ['description' => '待开票对象id', 'type' => 'integer', 'format' => 'int64', 'example' => '1325321532'],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"D35FF10E-1B2E-4ABA-8401-0AE17725F50B\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"TotalUnAppliedInvoiceAmount\\": 12344,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2,\\n \\"TotalInvoiceAmount\\": 10000,\\n \\"HostId\\": \\"\\",\\n \\"EvaluateList\\": {\\n \\"Evaluate\\": [\\n {\\n \\"Type\\": 1,\\n \\"Status\\": 1,\\n \\"BillId\\": 0,\\n \\"UserId\\": 2738543,\\n \\"BillCycle\\": \\"202502\\",\\n \\"CanInvoiceAmount\\": 5000,\\n \\"OffsetAcceptAmount\\": -5000,\\n \\"ItemId\\": 0,\\n \\"OutBizId\\": \\"124324213421\\",\\n \\"UserNick\\": \\"HelloWorld\\",\\n \\"GmtModified\\": \\"2025-01-01 00:00:00\\",\\n \\"OpId\\": \\"\\",\\n \\"BizType\\": \\"ALIYUN\\",\\n \\"OriginalAmount\\": 10000,\\n \\"InvoicedAmount\\": 10000,\\n \\"GmtCreate\\": \\"2025-02-01 00:00:00\\",\\n \\"PresentAmount\\": 10000,\\n \\"BizTime\\": \\"2025-02-01 00:00:00\\",\\n \\"Name\\": \\"云服务器ECS(包月)\\",\\n \\"OffsetCostAmount\\": 5000,\\n \\"Id\\": 1325321532\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryEvaluateListResponse>\\n <Message>Successful!</Message>\\n <RequestId>D35FF10E-1B2E-4ABA-8401-0AE17725F50B</RequestId>\\n <Data>\\n <TotalInvoiceAmount>8532</TotalInvoiceAmount>\\n <TotalCount>23</TotalCount>\\n <PageSize>20</PageSize>\\n <PageNum>1</PageNum>\\n <TotalUnAppliedInvoiceAmount>8532</TotalUnAppliedInvoiceAmount>\\n <HostId>cn</HostId>\\n <EvaluateList>\\n <Evaluate>\\n <Status>1</Status>\\n <OffsetCostAmount>0</OffsetCostAmount>\\n <BizTime>2020-03-09 10:43:57</BizTime>\\n <GmtModified>2020-03-09 10:45:02</GmtModified>\\n <BillCycle>202003</BillCycle>\\n <BizType>ALIYUN_SERVICE</BizType>\\n <PresentAmount>1</PresentAmount>\\n <OriginalAmount>1</OriginalAmount>\\n <Name>关系型数据库RDS(包月)</Name>\\n <GmtCreate>2020-03-09 10:45:02</GmtCreate>\\n <Type>1</Type>\\n <UserId>1857xxxxxx3489</UserId>\\n <OffsetAcceptAmount>0</OffsetAcceptAmount>\\n <Id>23345345553</Id>\\n <OutBizId>20xxxxxxx112</OutBizId>\\n <InvoicedAmount>0</InvoicedAmount>\\n <CanInvoiceAmount>1</CanInvoiceAmount>\\n </Evaluate>\\n </EvaluateList>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</QueryEvaluateListResponse>","errorExample":""}]',
'title' => '待开票对象查询服务',
'summary' => '查询待开票对象信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryEvaluate',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryFinancialAccountInfo' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '阿里云账号UID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1990699401005016'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '消息说明。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '97426BC2-792E-41F5-92B8-73C710DA7779'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '数据消息体。',
'type' => 'object',
'properties' => [
'MemberNickName' => ['description' => '成员账号的显示名称。', 'type' => 'string', 'example' => '测试'],
'IsFinancialAccount' => ['description' => '是否是企业财务账号:true表示是,false表示否。', 'type' => 'boolean', 'example' => 'true'],
'MemberGroupName' => ['description' => '成员账号所在的组名。', 'type' => 'string', 'example' => '测试组'],
'UserName' => ['description' => '账号登录名。', 'type' => 'string', 'example' => 'killortop3'],
'AccountType' => ['description' => '企业财务账号类型:MASTER表示主账号,MEMBER表示成员账号。', 'type' => 'string', 'example' => 'MEMBER'],
'MemberGroupId' => ['description' => '成员账号所在的组ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '124'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred in the internal server.', 'description' => '系统异常,请重试'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"97426BC2-792E-41F5-92B8-73C710DA7779\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"MemberNickName\\": \\"测试\\",\\n \\"IsFinancialAccount\\": true,\\n \\"MemberGroupName\\": \\"测试组\\",\\n \\"UserName\\": \\"killortop3\\",\\n \\"AccountType\\": \\"MEMBER\\",\\n \\"MemberGroupId\\": 124\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>Successful!</Message>\\n<RequestId>97426BC2-792E-41F5-92B8-73C710DA7779</RequestId>\\n<Data>\\n <UserName>killortop3</UserName>\\n <MemberGroupName>测试组</MemberGroupName>\\n <MemberNickName>测试</MemberNickName>\\n <IsFinancialAccount>true</IsFinancialAccount>\\n <MemberGroupId>124</MemberGroupId>\\n <AccountType>MEMBER</AccountType>\\n</Data>\\n<Code>Success</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '查看企业财务账号信息',
'summary' => '查询有主子关系权限的账号的企业财务账号信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryFinancialAccountInfo',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryInstanceBill' => [
'summary' => '查询用户某个账期内所有商品实例或计费项的消费汇总。API 已升级为 DescribeInstanceBill,此API不再提供50000行以后数据的查询。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BillingCycle',
'in' => 'query',
'schema' => ['description' => '账期YYYY-MM。仅支持最近18个月账期。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2020-03'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。当ProductCode为云市场产品code时,此参数必填。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。'."\n"
."\n"
.'>必须和**ProductCode**参数一起使用。', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'],
],
[
'name' => 'IsBillingItem',
'in' => 'query',
'schema' => ['description' => '是否按照计费项维度拉取数据。'."\n"
.'- false。与“费用中心-费用账单-账单明细-实例”账单一致。'."\n"
.'- true。与“费用中心-费用账单-账单明细-计费项”账单一致。'."\n"
."\n"
.'默认 false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页数量,默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'IsHideZeroCharge',
'in' => 'query',
'schema' => ['description' => '根据原价(**PretaxGrossAmount**)和应付(**PretaxAmount**)是否都为0做过滤。取值:'."\n"
.'- false。'."\n"
.'- true。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'BillingDate',
'in' => 'query',
'schema' => ['description' => '账单日期,仅当**Granularity**为DAILY时必填,格式为YYYY-MM-DD。', 'type' => 'string', 'required' => false, 'example' => '2020-03-03'],
],
[
'name' => 'Granularity',
'in' => 'query',
'schema' => ['description' => '查询账单的颗粒度。取值:'."\n"
.'- MONTHLY:月。与“费用中心-费用账单-账单明细-账期”账单一致。'."\n"
.'- DAILY:日。与“费用中心-费用账单-账单明细-按天”账单一致。'."\n"
."\n"
.'选择DAILY需指定**BillingDate**。', 'type' => 'string', 'required' => false, 'example' => 'MONTHLY'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '122'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'BillingCycle' => ['description' => '账单日期,格式:YYYY-MM。', 'type' => 'string', 'example' => '2020-03'],
'AccountID' => ['description' => '账号ID。', 'type' => 'string', 'example' => '185xxxx3489'],
'PageSize' => ['description' => '每页数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'AccountName' => ['description' => '用户账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'Items' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Item' => [
'description' => '账单详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'BillingDate' => ['description' => '账单日期,仅当Granularity为DAILY时有值,格式为YYYY-MM-DD。', 'type' => 'string', 'example' => '2020-03'],
'InstanceConfig' => ['description' => '实例详细配置。', 'type' => 'string', 'example' => 'CPU:12'],
'InternetIP' => ['description' => '公网IP。', 'type' => 'string', 'example' => '34.xx.x.x'],
'Item' => ['description' => '账单类型:'."\n"
.'- SubscriptionOrder (预付订单)。'."\n"
.'- PayAsYouGoBill (后付账单)。'."\n"
.'- Refund (退款)。'."\n"
.'- Adjustment (调账)。', 'type' => 'string', 'example' => 'PayAsYouGoBill'],
'Tag' => ['description' => '标签。', 'type' => 'string', 'example' => 'tag'],
'InstanceID' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'i-kjhdskjgshfdlkjfdh'],
'Currency' => ['description' => '币种,取值:'."\n"
.'- CNY。'."\n"
.'- USD。'."\n"
.'- JPY。', 'type' => 'string', 'example' => 'CNY'],
'DeductedByCashCoupons' => ['description' => '<props="china">代金券抵扣。</props>'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0'],
'SubscriptionType' => ['description' => '订阅类型,取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。'."\n"
."\n"
.'> 必须和ProductCode参数一起使用。', 'type' => 'string', 'example' => 'PayAsYouGo'],
'InstanceSpec' => ['description' => '实例规格。', 'type' => 'string', 'example' => 'ecs.sn1ne.3xlarge'],
'DeductedByCoupons' => ['description' => '优惠券优惠金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'BillingItem' => ['description' => '计费项。仅当IsBillingItem=true有值。', 'type' => 'string', 'example' => '其他'],
'Region' => ['description' => '地域。', 'type' => 'string', 'example' => '杭州'],
'OutstandingAmount' => ['description' => '<props="china">未结清金额</props>'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0'],
'CostUnit' => ['description' => '财务单元。', 'type' => 'string', 'example' => '未分配'],
'ListPriceUnit' => ['description' => '单价单位, 仅当isBillingItem为true时有效。', 'type' => 'string', 'example' => '元'],
'ResourceGroup' => ['description' => '资源组。', 'type' => 'string', 'example' => '默认资源组'],
'PipCode' => ['description' => '产品Code,与费用中心账单产品Code一致', 'type' => 'string', 'example' => 'rds'],
'ServicePeriodUnit' => ['description' => '服务周期单位', 'type' => 'string', 'example' => '秒'],
'PretaxAmount' => ['description' => '应付金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'CommodityCode' => ['description' => '商品Code,与费用中心产品明细Code一致', 'type' => 'string', 'example' => 'rds'],
'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => '云数据库RDS'],
'AdjustAmount' => ['description' => '信用额度退款抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'NickName' => ['description' => '实例昵称。', 'type' => 'string', 'example' => 'test'],
'ProductDetail' => ['description' => '产品明细。', 'type' => 'string', 'example' => '云数据库RDS'],
'Usage' => ['description' => '用量, 仅当isBillingItem为true时有效。', 'type' => 'string', 'example' => '100'],
'IntranetIP' => ['description' => '内网IP。', 'type' => 'string', 'example' => '192.xx.xx.xx'],
'OwnerID' => ['description' => '子账号AccountID(多账号代付场景)。', 'type' => 'string', 'example' => '169***013'],
'DeductedByPrepaidCard' => ['description' => '<props="china">储值卡抵扣。</props>'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0'],
'UsageUnit' => ['description' => '用量单位, 仅当isBillingItem为true时有效。', 'type' => 'string', 'example' => 'GB'],
'PaymentAmount' => ['description' => '<props="china">现金支付。</props>'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0'],
'InvoiceDiscount' => ['description' => '优惠金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'DeductedByResourcePackage' => ['description' => '资源包抵扣。', 'type' => 'string', 'example' => 'NULL'],
'ProductType' => ['description' => '产品类型。', 'type' => 'string', 'example' => 'rds'],
'ServicePeriod' => ['description' => '服务周期。', 'type' => 'string', 'example' => '10'],
'Zone' => ['description' => '可用区。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
'ListPrice' => ['description' => '单价, 仅当isBillingItem为true时有效。', 'type' => 'string', 'example' => '100'],
'PretaxGrossAmount' => ['description' => '原始金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'CashAmount' => ['description' => '现金支付(不包含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
'BillingType' => ['description' => '计费方式。', 'type' => 'string', 'example' => '其它'],
],
],
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"BillingCycle\\": \\"2020-03\\",\\n \\"AccountID\\": \\"185xxxx3489\\",\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2,\\n \\"AccountName\\": \\"test@test.aliyunid.com\\",\\n \\"Items\\": {\\n \\"Item\\": [\\n {\\n \\"BillingDate\\": \\"2020-03\\",\\n \\"InstanceConfig\\": \\"CPU:12\\",\\n \\"InternetIP\\": \\"34.xx.x.x\\",\\n \\"Item\\": \\"PayAsYouGoBill\\",\\n \\"Tag\\": \\"tag\\",\\n \\"InstanceID\\": \\"i-kjhdskjgshfdlkjfdh\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"DeductedByCashCoupons\\": 0,\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"InstanceSpec\\": \\"ecs.sn1ne.3xlarge\\",\\n \\"DeductedByCoupons\\": 0,\\n \\"BillingItem\\": \\"其他\\",\\n \\"Region\\": \\"杭州\\",\\n \\"OutstandingAmount\\": 0,\\n \\"CostUnit\\": \\"未分配\\",\\n \\"ListPriceUnit\\": \\"元\\",\\n \\"ResourceGroup\\": \\"默认资源组\\",\\n \\"PipCode\\": \\"rds\\",\\n \\"ServicePeriodUnit\\": \\"秒\\",\\n \\"PretaxAmount\\": 0,\\n \\"CommodityCode\\": \\"rds\\",\\n \\"ProductName\\": \\"云数据库RDS\\",\\n \\"AdjustAmount\\": 0,\\n \\"NickName\\": \\"test\\",\\n \\"ProductDetail\\": \\"云数据库RDS\\",\\n \\"Usage\\": \\"100\\",\\n \\"IntranetIP\\": \\"192.xx.xx.xx\\",\\n \\"OwnerID\\": \\"169***013\\",\\n \\"DeductedByPrepaidCard\\": 0,\\n \\"UsageUnit\\": \\"GB\\",\\n \\"PaymentAmount\\": 0,\\n \\"InvoiceDiscount\\": 0,\\n \\"DeductedByResourcePackage\\": \\"NULL\\",\\n \\"ProductType\\": \\"rds\\",\\n \\"ServicePeriod\\": \\"10\\",\\n \\"Zone\\": \\"cn-hangzhou-h\\",\\n \\"ListPrice\\": \\"100\\",\\n \\"PretaxGrossAmount\\": 0,\\n \\"CashAmount\\": 0,\\n \\"ProductCode\\": \\"rds\\",\\n \\"BillingType\\": \\"其它\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryInstanceBillResponse>\\n <Message>Successful!</Message>\\n <RequestId>79EE7556-0CFD-44EB-9CD6-B3B526E3A85F</RequestId>\\n <Data>\\n <BillingCycle>2020-03</BillingCycle>\\n <TotalCount>2</TotalCount>\\n <AccountID>18xxxxx3489</AccountID>\\n <PageSize>20</PageSize>\\n <PageNum>1</PageNum>\\n <Items>\\n <Item>\\n <InstanceSpec>rds.mysql.s3.large</InstanceSpec>\\n <ProductName>云数据库RDS</ProductName>\\n <InstanceID>rm-bp1xxxxxxxe</InstanceID>\\n <DeductedByCashCoupons>0</DeductedByCashCoupons>\\n <ListPriceUnit/>\\n <BillingDate/>\\n <ListPrice/>\\n <PaymentAmount>0.01</PaymentAmount>\\n <DeductedByPrepaidCard>0</DeductedByPrepaidCard>\\n <InvoiceDiscount>11447.99</InvoiceDiscount>\\n <SubscriptionType>Subscription</SubscriptionType>\\n <Item>SubscriptionOrder</Item>\\n <PretaxGrossAmount>11448</PretaxGrossAmount>\\n <InstanceConfig>数据库类型:MySQL;实例规格:rds.mysql.s3.large;存储:5;内存:8192</InstanceConfig>\\n <Currency>CNY</Currency>\\n <CostUnit>未分配</CostUnit>\\n <ResourceGroup>默认资源组</ResourceGroup>\\n <BillingType>其它</BillingType>\\n <Usage/>\\n <DeductedByCoupons>0</DeductedByCoupons>\\n <ProductDetail>关系型数据库RDS(包月)</ProductDetail>\\n <ProductCode>rds</ProductCode>\\n <Zone>cn-hangzhou-b</Zone>\\n <ProductType>rds</ProductType>\\n <OutstandingAmount>0</OutstandingAmount>\\n <BillingItem/>\\n <NickName/>\\n <IntranetIP/>\\n <ServicePeriod>31583763</ServicePeriod>\\n <ServicePeriodUnit>秒</ServicePeriodUnit> \\n <DeductedByResourcePackage/>\\n <UsageUnit/>\\n <OwnerID>18576xxxxx489</OwnerID>\\n <PretaxAmount>0.01</PretaxAmount>\\n <InternetIP/>\\n <Region>华东1(杭州)</Region>\\n <Tag/>\\n </Item>\\n </Items>\\n <AccountName>test@test.aliyunid.com</AccountName>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</QueryInstanceBillResponse>","errorExample":""}]',
'title' => '实例账单查询服务',
'description' => '## API描述'."\n"
."\n"
.'在调用本接口时,请注意:'."\n"
.'- 实例账单API已升级,请使用新版API:[DescribeInstanceBill](~~209402~~)。此API不再提供50000行以后数据的查询。'."\n"
.'- 实例账单是根据账单数据拆分生成,一般会有一天延迟。'."\n"
.'- 实例信息在账期内会变化,月汇总的实例Config和Spec对应记录生成时间信息,如需详情可参考对应明细账单。'."\n"
.'- 云通信产品可查询从2020年6月以后的数据; 万网产品可查询从2020年11月以后的数据。'."\n"
.'<props="intl">'."\n"
.'- 国际站服务地址请选择新加坡。</props>',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-03-28T11:11:32.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryInstanceBill'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBillList',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryInstanceByTag' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型'."\n"
.'instance 节省计划实例', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'instance'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '资源id列表',
'type' => 'array',
'items' => ['description' => '资源 ID', 'type' => 'string', 'required' => false, 'example' => 'spn-XXXXXX'],
'required' => false,
'maxItems' => 50,
],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表',
'type' => 'array',
'items' => [
'description' => '标签键值对',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签键', 'type' => 'string', 'required' => false, 'example' => 'ecs'],
'Value' => ['description' => '标签值', 'type' => 'string', 'required' => false, 'example' => '001'],
],
'required' => false,
],
'required' => false,
'maxItems' => 20,
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回值',
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'PARAM_ERROR'],
'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'param is null'],
'NextToken' => ['description' => '查询凭证(Token),取值为上一次API调用返回的NextToken参数值。', 'type' => 'string', 'example' => 'CAESEgoQCg4KCm'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9EC6C0B7-3397-5FAE-9915-8972CDDB1211'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'TagResource' => [
'description' => '实例信息的列表',
'type' => 'array',
'items' => [
'description' => '实例信息',
'type' => 'object',
'properties' => [
'ResourceId' => ['description' => '资源ID', 'type' => 'string', 'example' => 'spn-xxxxx'],
'ResourceType' => ['description' => '资源类型'."\n"
.'instance 节省计划实例', 'type' => 'string', 'example' => 'instance'],
'Tag' => [
'description' => '标签列表',
'type' => 'array',
'items' => [
'description' => '标签键值对',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签键', 'type' => 'string', 'example' => 'tag1'],
'Value' => ['description' => '标签值', 'type' => 'string', 'example' => '10'],
],
],
],
],
],
],
],
],
],
],
'staticInfo' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"PARAM_ERROR\\",\\n \\"Message\\": \\"param is null\\",\\n \\"NextToken\\": \\"CAESEgoQCg4KCm\\",\\n \\"RequestId\\": \\"9EC6C0B7-3397-5FAE-9915-8972CDDB1211\\",\\n \\"Success\\": true,\\n \\"TagResource\\": [\\n {\\n \\"ResourceId\\": \\"spn-xxxxx\\",\\n \\"ResourceType\\": \\"instance\\",\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"tag1\\",\\n \\"Value\\": \\"10\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => '按标签查询实例',
'summary' => '根据标签信息查询实例列表。',
'changeSet' => [
['createdAt' => '2022-09-15T02:56:20.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2022-09-15T02:56:20.000Z', 'description' => '错误码发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryInstanceByTag',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryInstanceGaapCost' => [
'summary' => '该 API 不再更新。请前往使用如下API获取对应分摊成本:DescribeInstanceAmortizedCostByAmortizationPeriod - 查询实例摊销月摊销成本;DescribeProductAmortizedCostByAmortizationPeriod- 查询产品摊销月摊销成本;DescribeInstanceAmortizedCostByConsumePeriod- 查询实例账期月摊销成本;DescribeProductAmortizedCostByConsumePeriod- 查询产品账期月摊销成本。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页数量,默认值:20,最大值:100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'BillingCycle',
'in' => 'query',
'schema' => ['description' => '账单日期,YYYY-MM。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2020-03'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求数据。', 'type' => 'string', 'example' => 'CCBB1BB9-22F1-4177-867B-7A75D665B488'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '每页显示条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'HostId' => ['description' => '主机ID。', 'type' => 'string', 'example' => '1.1.1.1'],
'Modules' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Module' => [
'description' => '费用信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'GaapDeductedByCashCoupons' => ['description' => '已分摊代金券抵扣。', 'type' => 'string', 'example' => '0'],
'SubscriptionType' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'example' => 'PayAsYouGo'],
'MonthGaapPretaxAmount' => ['description' => '本月分摊优惠后金额。', 'type' => 'string', 'example' => '0'],
'DeductedByCoupons' => ['description' => '优惠券抵扣。', 'type' => 'string', 'example' => '0'],
'SubOrderId' => ['description' => '子订单号。', 'type' => 'string', 'example' => '12434345'],
'Region' => ['description' => '地域。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'OrderType' => ['description' => '订单类型:'."\n"
.'- New(新购)。'."\n"
.'- Renewal(续费)。'."\n"
.'- Upgrade(升级)。'."\n"
.'- Degrade(降级)。'."\n", 'type' => 'string', 'example' => 'New'],
'MonthGaapDeductedByPrepaidCard' => ['description' => '本月分摊储值卡抵扣。', 'type' => 'string', 'example' => '0'],
'UnallocatedDeductedByCashCoupons' => ['description' => '未分摊代金券抵扣。', 'type' => 'string', 'example' => '0'],
'PretaxAmountLocal' => ['description' => '本币币种已分摊优惠后金额(国际)。', 'type' => 'string', 'example' => '0'],
'BillingCycle' => ['description' => '账期YYYY-MM。', 'type' => 'string', 'example' => '2020-03'],
'PayerAccount' => ['description' => '付款人账户。', 'type' => 'string', 'example' => '23534534'],
'MonthGaapPretaxAmountLocal' => ['description' => '本币币种对应的本月分摊优惠后金额(国际)。', 'type' => 'string', 'example' => '0.99'],
'AccountingUnit' => ['description' => '财务核算单元。为预留字段,暂不支持。', 'type' => 'string', 'example' => '无'],
'GaapPretaxAmountLocal' => ['description' => '本币币种已分摊优惠后金额。', 'type' => 'string', 'example' => '0'],
'UnallocatedDeductedByPrepaidCard' => ['description' => '未分摊储值卡抵扣。', 'type' => 'string', 'example' => '0'],
'ProductType' => ['description' => '产品类型。', 'type' => 'string', 'example' => 'rds'],
'PaymentAmount' => ['description' => '现金。', 'type' => 'string', 'example' => '0'],
'MonthGaapPretaxGrossAmount' => ['description' => '本月分摊原始金额。', 'type' => 'string', 'example' => '0.99'],
'BillType' => ['description' => '账单类型:'."\n"
.'- SubscriptionOrder (预付订单)。'."\n"
.'- PayAsYouGoBill (后付账单)。'."\n"
.'- Refund (退款)。'."\n"
.'- Adjustment (调账)。', 'type' => 'string', 'example' => 'SubscriptionOrder'],
'PayTime' => ['description' => '支付时间。', 'type' => 'string', 'example' => '2018-06-15 15:59:57'],
'PretaxGrossAmount' => ['description' => '原始金额。', 'type' => 'string', 'example' => '123'],
'OrderId' => ['description' => '订单号。', 'type' => 'string', 'example' => '213123213123'],
'UnallocatedPricingDiscount' => ['description' => '未分摊询价优惠。', 'type' => 'string', 'example' => '0'],
'MonthGaapDeductedByCashCoupons' => ['description' => '本月分摊代金券抵扣。', 'type' => 'string', 'example' => '0.75'],
'UnallocatedPretaxGrossAmount' => ['description' => '未分摊原始金额。', 'type' => 'string', 'example' => '0'],
'InstanceID' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'OSSBAG-cn-0xl0xxxxxx'],
'Tag' => ['description' => '标签。', 'type' => 'string', 'example' => 'tag'],
'Currency' => ['description' => '币种。取值:'."\n"
.'- CNY。'."\n"
.'- USD。'."\n"
.'- JPY。', 'type' => 'string', 'example' => 'CNY'],
'GaapDeductedByCoupons' => ['description' => '已分摊优惠券抵扣。', 'type' => 'string', 'example' => '0'],
'DeductedByCashCoupons' => ['description' => '代金券抵扣。', 'type' => 'string', 'example' => '0'],
'GaapDeductedByPrepaidCard' => ['description' => '已分摊储值卡抵扣。', 'type' => 'string', 'example' => '0'],
'GaapPaymentAmount' => ['description' => '已分摊现金。', 'type' => 'string', 'example' => '0'],
'UnallocatedPretaxAmountLocal' => ['description' => '本币币种未分摊优惠后金额。', 'type' => 'string', 'example' => '0'],
'MonthGaapPricingDiscount' => ['description' => '本月分摊询价优惠。', 'type' => 'string', 'example' => '0,.25'],
'PricingDiscount' => ['description' => '询价优惠。', 'type' => 'string', 'example' => '1'],
'GaapPricingDiscount' => ['description' => '已分摊询价优惠。', 'type' => 'string', 'example' => '0'],
'ResourceGroup' => ['description' => '资源组。', 'type' => 'string', 'example' => '默认资源组'],
'UnallocatedDeductedByCoupons' => ['description' => '未分摊优惠券抵扣。', 'type' => 'string', 'example' => '0'],
'PretaxAmount' => ['description' => '优惠后金额。', 'type' => 'string', 'example' => '0'],
'UnallocatedPretaxAmount' => ['description' => '未分摊优惠后金额。', 'type' => 'string', 'example' => '0'],
'GaapPretaxGrossAmount' => ['description' => '已分摊原始金额。', 'type' => 'string', 'example' => '0'],
'UnallocatedPaymentAmount' => ['description' => '未分摊现金。', 'type' => 'string', 'example' => '0'],
'PaymentCurrency' => ['description' => '支付币种(国际)。', 'type' => 'string', 'example' => 'CNY'],
'OwnerID' => ['description' => '所有者ID。', 'type' => 'string', 'example' => '123213123123'],
'DeductedByPrepaidCard' => ['description' => '储值卡抵扣。', 'type' => 'string', 'example' => '0'],
'GaapPretaxAmount' => ['description' => '已分摊优惠后金额。', 'type' => 'string', 'example' => '0'],
'MonthGaapDeductedByCoupons' => ['description' => '本月分摊优惠券抵扣。', 'type' => 'string', 'example' => '0'],
'MonthGaapPaymentAmount' => ['description' => '本月分摊现金。', 'type' => 'string', 'example' => '0'],
'UsageEndDate' => ['description' => '服务结束时间。', 'type' => 'string', 'example' => '2019-05-01 00:00:00'],
'UsageStartDate' => ['description' => '服务起始时间。', 'type' => 'string', 'example' => '2019-04-01 00:00:00'],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'Absent some mandatory parameter for this request.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'This request contain some invalid parameter', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
['errorCode' => 'DurationInvalid', 'errorMessage' => 'Parameter duration can only be positive integer.', 'description' => ''],
['errorCode' => 'ProductNotFound', 'errorMessage' => 'Product not found.', 'description' => ''],
['errorCode' => 'InvalidBillingCycle', 'errorMessage' => 'BillingCycle not Invalid.', 'description' => ''],
['errorCode' => 'ProdCodeNotFind', 'errorMessage' => 'Product code not find. ', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"CCBB1BB9-22F1-4177-867B-7A75D665B488\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 20,\\n \\"HostId\\": \\"1.1.1.1\\",\\n \\"Modules\\": {\\n \\"Module\\": [\\n {\\n \\"GaapDeductedByCashCoupons\\": \\"0\\",\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"MonthGaapPretaxAmount\\": \\"0\\",\\n \\"DeductedByCoupons\\": \\"0\\",\\n \\"SubOrderId\\": \\"12434345\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"OrderType\\": \\"New\\",\\n \\"MonthGaapDeductedByPrepaidCard\\": \\"0\\",\\n \\"UnallocatedDeductedByCashCoupons\\": \\"0\\",\\n \\"PretaxAmountLocal\\": \\"0\\",\\n \\"BillingCycle\\": \\"2020-03\\",\\n \\"PayerAccount\\": \\"23534534\\",\\n \\"MonthGaapPretaxAmountLocal\\": \\"0.99\\",\\n \\"AccountingUnit\\": \\"无\\",\\n \\"GaapPretaxAmountLocal\\": \\"0\\",\\n \\"UnallocatedDeductedByPrepaidCard\\": \\"0\\",\\n \\"ProductType\\": \\"rds\\",\\n \\"PaymentAmount\\": \\"0\\",\\n \\"MonthGaapPretaxGrossAmount\\": \\"0.99\\",\\n \\"BillType\\": \\"SubscriptionOrder\\",\\n \\"PayTime\\": \\"2018-06-15 15:59:57\\",\\n \\"PretaxGrossAmount\\": \\"123\\",\\n \\"OrderId\\": \\"213123213123\\",\\n \\"UnallocatedPricingDiscount\\": \\"0\\",\\n \\"MonthGaapDeductedByCashCoupons\\": \\"0.75\\",\\n \\"UnallocatedPretaxGrossAmount\\": \\"0\\",\\n \\"InstanceID\\": \\"OSSBAG-cn-0xl0xxxxxx\\",\\n \\"Tag\\": \\"tag\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"GaapDeductedByCoupons\\": \\"0\\",\\n \\"DeductedByCashCoupons\\": \\"0\\",\\n \\"GaapDeductedByPrepaidCard\\": \\"0\\",\\n \\"GaapPaymentAmount\\": \\"0\\",\\n \\"UnallocatedPretaxAmountLocal\\": \\"0\\",\\n \\"MonthGaapPricingDiscount\\": \\"0,.25\\",\\n \\"PricingDiscount\\": \\"1\\",\\n \\"GaapPricingDiscount\\": \\"0\\",\\n \\"ResourceGroup\\": \\"默认资源组\\",\\n \\"UnallocatedDeductedByCoupons\\": \\"0\\",\\n \\"PretaxAmount\\": \\"0\\",\\n \\"UnallocatedPretaxAmount\\": \\"0\\",\\n \\"GaapPretaxGrossAmount\\": \\"0\\",\\n \\"UnallocatedPaymentAmount\\": \\"0\\",\\n \\"PaymentCurrency\\": \\"CNY\\",\\n \\"OwnerID\\": \\"123213123123\\",\\n \\"DeductedByPrepaidCard\\": \\"0\\",\\n \\"GaapPretaxAmount\\": \\"0\\",\\n \\"MonthGaapDeductedByCoupons\\": \\"0\\",\\n \\"MonthGaapPaymentAmount\\": \\"0\\",\\n \\"UsageEndDate\\": \\"2019-05-01 00:00:00\\",\\n \\"UsageStartDate\\": \\"2019-04-01 00:00:00\\",\\n \\"ProductCode\\": \\"rds\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryInstanceGaapCostResponse>\\n <Data>\\n <TotalCount>2</TotalCount>\\n <Modules>\\n <Module>\\n <PayerAccount>null</PayerAccount>\\n <GaapDeductedByCashCoupons>0</GaapDeductedByCashCoupons>\\n <PricingDiscount>0</PricingDiscount>\\n <MonthGaapPretaxAmount>0.74</MonthGaapPretaxAmount>\\n <MonthGaapDeductedByCoupons>0</MonthGaapDeductedByCoupons>\\n <PretaxAmount>0</PretaxAmount>\\n <UnallocatedPaymentAmount>0</UnallocatedPaymentAmount>\\n <UnallocatedPretaxGrossAmount>0</UnallocatedPretaxGrossAmount>\\n <UnallocatedPretaxAmount>0</UnallocatedPretaxAmount>\\n <UnallocatedPricingDiscount>0</UnallocatedPricingDiscount>\\n <PayTime>2018-06-15 14:06:53</PayTime>\\n <PaymentCurrency>CNY</PaymentCurrency>\\n <ProductType>ossbag</ProductType>\\n <UnallocatedDeductedByCoupons>0</UnallocatedDeductedByCoupons>\\n <OrderType>Renewal</OrderType>\\n <UnallocatedPretaxAmountLocal>0</UnallocatedPretaxAmountLocal>\\n <PretaxGrossAmount>0</PretaxGrossAmount>\\n <Currency>CNY</Currency>\\n <GaapPretaxAmountLocal>0</GaapPretaxAmountLocal>\\n <GaapPaymentAmount>0</GaapPaymentAmount>\\n <SubscriptionType>Subscription</SubscriptionType>\\n <BillingCycle>2019-04</BillingCycle>\\n <ProductCode>flowpack</ProductCode>\\n <InstanceID>OSSBAG-cn-0xl0njdtx002</InstanceID>\\n <PretaxAmountLocal>0</PretaxAmountLocal>\\n <GaapDeductedByCoupons>0</GaapDeductedByCoupons>\\n <GaapPretaxAmount>0</GaapPretaxAmount>\\n <OrderId>202143356070333</OrderId>\\n <GaapDeductedByPrepaidCard>0</GaapDeductedByPrepaidCard>\\n <DeductedByPrepaidCard>0</DeductedByPrepaidCard>\\n <GaapPretaxGrossAmount>0</GaapPretaxGrossAmount>\\n <SubOrderId>202143356070333</SubOrderId>\\n <MonthGaapPaymentAmount>0</MonthGaapPaymentAmount>\\n <DeductedByCoupons>0</DeductedByCoupons>\\n <UsageEndDate>2019-05-01 00:00:00</UsageEndDate>\\n <UnallocatedDeductedByPrepaidCard>0</UnallocatedDeductedByPrepaidCard>\\n <MonthGaapDeductedByPrepaidCard>0</MonthGaapDeductedByPrepaidCard>\\n <UsageStartDate>2019-04-01 00:00:00</UsageStartDate>\\n <MonthGaapPretaxGrossAmount>0.99</MonthGaapPretaxGrossAmount>\\n <PaymentAmount>0</PaymentAmount>\\n <MonthGaapPricingDiscount>0.25</MonthGaapPricingDiscount>\\n <DeductedByCashCoupons>0</DeductedByCashCoupons>\\n <OwnerID>1028728862215453</OwnerID>\\n <MonthGaapDeductedByCashCoupons>0.74</MonthGaapDeductedByCashCoupons>\\n <UnallocatedDeductedByCashCoupons>0</UnallocatedDeductedByCashCoupons>\\n <MonthGaapPretaxAmountLocal>0.74</MonthGaapPretaxAmountLocal>\\n <GaapPricingDiscount>0</GaapPricingDiscount>\\n <BillType>SubscriptionOrder</BillType>\\n </Module>\\n </Modules>\\n <PageSize>20</PageSize>\\n <HostId>cn</HostId>\\n <PageNum>1</PageNum>\\n </Data>\\n <Message>Successful!</Message>\\n <RequestId>AEAA504C-FCCA-4FB9-9E05-162CABC6EB40</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n</QueryInstanceGaapCostResponse>","errorExample":""}]',
'title' => '查询月费用分摊服务',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2022-12-26T11:27:13.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2022-12-26T08:07:36.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeGaapBill',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryInvoicingCustomerList' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BBEF51A3-E933-4F40-A534-C673CBDB9C80'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'CustomerInvoiceList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'CustomerInvoice' => [
'description' => '发票信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Type' => ['description' => '默认发票类型,取值示例:'."\n"
.'- 0:增值税普通发票。'."\n"
.'- 1:增值税专用发票。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Status' => ['description' => '发票抬头状态,取值示例:'."\n"
.'- 1:申请中'."\n"
.'- 2:通过'."\n"
.'- 3:拒绝'."\n"
.'- 4:失效'."\n"
.'- 5:撤回', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'AdjustType' => ['description' => '抬头变更方式。取值示例:'."\n"
.'- 1:非抬头名称信息修改'."\n"
.'- 4:其他类型抬头修改'."\n"
.'- 5:实名认证抬头修改', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Bank' => ['description' => '开户银行名称', 'type' => 'string', 'example' => '测试银行'],
'StartCycle' => ['description' => '有效开始月份。', 'type' => 'integer', 'format' => 'int64', 'example' => '202002'],
'TitleChangeInstructions' => ['description' => '发票抬头变更情况说明书。', 'type' => 'string', 'example' => 'instruction.doc'],
'UserId' => ['description' => '用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '34565465675'],
'OperatingLicenseAddress' => ['description' => '注册场所地址。', 'type' => 'string', 'example' => '某某省某某市某某区某地址'],
'InvoiceTitle' => ['description' => '发票抬头。', 'type' => 'string', 'example' => '测试公司'],
'UserNick' => ['description' => '用户昵称。', 'type' => 'string', 'example' => 'testNick'],
'OperatingLicensePhone' => ['description' => '注册固定电话。', 'type' => 'string', 'example' => '138xxxxxxxx'],
'EndCycle' => ['description' => '有效结束月份。', 'type' => 'integer', 'format' => 'int64', 'example' => '202003'],
'DefaultRemark' => ['description' => '开票默认备注。选择此抬头开票时,会将改备注添加到发票上。', 'type' => 'string', 'example' => 'PO代码:12984554'],
'TaxationLicense' => ['description' => '税务登记证扫描件路径和文件名。', 'type' => 'string', 'example' => 'taxationLicense.jpg'],
'RegisterNo' => ['description' => '统一社会信用代码。', 'type' => 'string', 'example' => '21343245342534'],
'GmtCreate' => ['description' => '创建时间,格式:yyyy-mm-dd hh:mm:ss。', 'type' => 'string', 'example' => '2025-02-01 00:00:00'],
'TaxpayerType' => ['description' => '纳税人类型。取值示例:'."\n"
.'- 1:一般纳税人'."\n"
.'- 2:小规模纳税人', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'CustomerType' => ['description' => '客户支付宝认证类型。取值示例:'."\n"
.'- 1:个人。'."\n"
.'- 2:公司。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'IssueType' => ['description' => '抬头类型。取值示例:'."\n"
."\n"
.'- 0:个人'."\n"
.'- 1:企业'."\n"
.'- 2:事业单位', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Id' => ['description' => '发票抬头记录id', 'type' => 'integer', 'format' => 'int64', 'example' => '239875502738'],
'BankNo' => ['description' => '基本开户账号。', 'type' => 'string', 'example' => '389576348573296349853476'],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"BBEF51A3-E933-4F40-A534-C673CBDB9C80\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"CustomerInvoiceList\\": {\\n \\"CustomerInvoice\\": [\\n {\\n \\"Type\\": 1,\\n \\"Status\\": 2,\\n \\"AdjustType\\": 1,\\n \\"Bank\\": \\"测试银行\\",\\n \\"StartCycle\\": 202002,\\n \\"TitleChangeInstructions\\": \\"instruction.doc\\",\\n \\"UserId\\": 34565465675,\\n \\"OperatingLicenseAddress\\": \\"某某省某某市某某区某地址\\",\\n \\"InvoiceTitle\\": \\"测试公司\\",\\n \\"UserNick\\": \\"testNick\\",\\n \\"OperatingLicensePhone\\": \\"138xxxxxxxx\\",\\n \\"EndCycle\\": 202003,\\n \\"DefaultRemark\\": \\"PO代码:12984554\\",\\n \\"TaxationLicense\\": \\"taxationLicense.jpg\\",\\n \\"RegisterNo\\": \\"21343245342534\\",\\n \\"GmtCreate\\": \\"2025-02-01 00:00:00\\",\\n \\"TaxpayerType\\": 1,\\n \\"CustomerType\\": 1,\\n \\"IssueType\\": 1,\\n \\"Id\\": 239875502738,\\n \\"BankNo\\": \\"389576348573296349853476\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryInvoicingCustomerListResponse>\\n <Message>Successful!</Message>\\n <RequestId>BBEF51A3-E933-4F40-A534-C673CBDB9C80</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <CustomerInvoiceList>\\n <CustomerInvoice>\\n <Status>2</Status>\\n <CustomerType>2</CustomerType>\\n <Id>50000************</Id>\\n <InvoiceTitle>个人</InvoiceTitle>\\n <UserId>169***********</UserId>\\n <GmtCreate>2018-09-07 15:26:20</GmtCreate>\\n <TaxpayerType>2</TaxpayerType>\\n </CustomerInvoice>\\n </CustomerInvoiceList>\\n </Data>\\n</QueryInvoicingCustomerListResponse>","errorExample":""}]',
'title' => '发票抬头查询服务',
'summary' => '查询阿里云用户发票抬头信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryInvoicingCustomerList'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryCustomerInvoiceInfo',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryOrders' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'CreateTimeEnd',
'in' => 'query',
'schema' => ['description' => '创建时间段止(缺省查询当前时间最近1小时内订单),格式:YYYY-MM-ddTHH:mm:ssZ,时区: UTC', 'type' => 'string', 'required' => false, 'example' => '2016-05-23T12:00:00Z'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页条数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值类型:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => false, 'example' => 'Subscription'],
],
[
'name' => 'OrderType',
'in' => 'query',
'schema' => ['description' => '订单类型,取值范围'."\n"
.'- New 新购'."\n"
.'- Renew 续费'."\n"
.'- Upgrade 升级'."\n"
.'- TempUpgrade 短时升级'."\n"
.'- Downgrade 降级'."\n"
.'- Refund 退款'."\n"
.'- Convert 付费类型转换'."\n"
.'- ResizeDisk 调整磁盘大小'."\n"
.'- CompensatoryRenew 补偿续费'."\n"
.'- IncreaseUpgrade 带宽升级'."\n"
.'- Exchange 换购'."\n"
.'- ChangeOperatingSystem 更换操作系统', 'type' => 'string', 'required' => false, 'example' => 'New'],
],
[
'name' => 'PaymentStatus',
'in' => 'query',
'schema' => ['description' => '支付状态。非退款订单,取值范围:'."\n"
.'- Unpaid:未支付。'."\n"
.'- Paid:已支付。'."\n"
.'- Cancelled:已作废。'."\n"
."\n"
.'> 对于退款订单可置NULL。', 'type' => 'string', 'required' => false, 'example' => 'Paid'],
],
[
'name' => 'CreateTimeStart',
'in' => 'query',
'schema' => ['description' => '创建时间段起(缺省查询当前时间最近1小时内订单),格式:YYYY-MM-ddTHH:mm:ssZ,时区: UTC', 'type' => 'string', 'required' => false, 'example' => '2016-05-23T13:00:00Z'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '61293E7A-3406-4447-8620-EC88B0AA66AD'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回信息。',
'type' => 'object',
'properties' => [
'HostName' => ['description' => '主机名。', 'type' => 'string', 'example' => 'test'],
'PageNum' => ['description' => '分页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '每页条数。建议每页最大20条,条数过多会导致超时。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'OrderList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Order' => [
'description' => '订单列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'PretaxAmount' => ['description' => '订单应付金额。', 'type' => 'string', 'example' => '0'],
'CommodityCode' => ['description' => '商品Code', 'type' => 'string', 'example' => 'ecs'],
'RelatedOrderId' => ['description' => '关联订单ID。', 'type' => 'string', 'example' => '234535345345342'],
'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2017-06-08T09:41:30Z'],
'Currency' => ['description' => '币种。', 'type' => 'string', 'example' => 'CNY'],
'SubscriptionType' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'example' => 'PayAsYouGo'],
'PaymentCurrency' => ['description' => '支付币种。', 'type' => 'string', 'example' => 'CNY'],
'ProductType' => ['description' => '主产品类型。', 'type' => 'string', 'example' => 'rds'],
'AfterTaxAmount' => ['description' => '税后金额。', 'type' => 'string', 'example' => '66'],
'PaymentTime' => ['description' => '支付时间。', 'type' => 'string', 'example' => '2017-06-08T09:41:30Z'],
'PretaxGrossAmount' => ['description' => '原始金额。', 'type' => 'string', 'example' => '0'],
'OrderType' => ['description' => '订单类型,取值范围'."\n"
.'- New 新购'."\n"
.'- Renew 续费'."\n"
.'- Upgrade 升级'."\n"
.'- TempUpgrade 短时升级'."\n"
.'- Downgrade 降级'."\n"
.'- Refund 退款'."\n"
.'- Convert 付费类型转换'."\n"
.'- ResizeDisk 调整磁盘大小'."\n"
.'- CompensatoryRenew 补偿续费'."\n"
.'- IncreaseUpgrade 带宽升级'."\n"
.'- Exchange 换购'."\n"
.'- ChangeOperatingSystem 更换操作系统', 'type' => 'string', 'example' => 'New'],
'PaymentStatus' => ['description' => '支付状态。非退款订单,取值范围:'."\n"
.'- Unpaid:未支付。'."\n"
.'- Paid:已支付。'."\n"
.'- Cancelled:已作废。'."\n"
."\n"
.'> 对于退款订单可置NULL。', 'type' => 'string', 'example' => 'Paid'],
'OrderId' => ['description' => '订单号。', 'type' => 'string', 'example' => '34532532'],
'Tax' => ['description' => '税费。', 'type' => 'string', 'example' => '1'],
'PretaxAmountLocal' => ['description' => '本币金额。', 'type' => 'string', 'example' => '0'],
'ProductCode' => ['description' => '主产品代码。', 'type' => 'string', 'example' => 'rds'],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"61293E7A-3406-4447-8620-EC88B0AA66AD\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"HostName\\": \\"test\\",\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1,\\n \\"OrderList\\": {\\n \\"Order\\": [\\n {\\n \\"PretaxAmount\\": \\"0\\",\\n \\"CommodityCode\\": \\"ecs\\",\\n \\"RelatedOrderId\\": \\"234535345345342\\",\\n \\"CreateTime\\": \\"2017-06-08T09:41:30Z\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"PaymentCurrency\\": \\"CNY\\",\\n \\"ProductType\\": \\"rds\\",\\n \\"AfterTaxAmount\\": \\"66\\",\\n \\"PaymentTime\\": \\"2017-06-08T09:41:30Z\\",\\n \\"PretaxGrossAmount\\": \\"0\\",\\n \\"OrderType\\": \\"New\\",\\n \\"PaymentStatus\\": \\"Paid\\",\\n \\"OrderId\\": \\"34532532\\",\\n \\"Tax\\": \\"1\\",\\n \\"PretaxAmountLocal\\": \\"0\\",\\n \\"ProductCode\\": \\"rds\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryOrdersResponse>\\n <Message>Successful!</Message>\\n <RequestId>61293E7A-3406-4447-8620-EC88B0AA66AD</RequestId>\\n <Data>\\n <TotalCount>0</TotalCount>\\n <PageSize>20</PageSize>\\n <PageNum>1</PageNum>\\n <OrderList>\\n </OrderList>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</QueryOrdersResponse>","errorExample":""}]',
'title' => '订单列表查询服务',
'summary' => '查询用户或者分销客户订单列表情况。默认查询当前时间最近1小时范围内订单,如需查询更长时间范围的订单数据,请设CreateTimeStart和CreateTimeEnd参数。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeOrderList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryPermissionList' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'RelationId',
'in' => 'query',
'schema' => ['description' => '关系ID。取值从QueryRelationList接口返回的结果字段relationId获取。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '51463'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '消息说明。'."\n", 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。'."\n", 'type' => 'string', 'example' => 'F6E29451-A3CD-4705-806D-0112D08F5C49'],
'Success' => ['description' => '是否成功。'."\n", 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '消息体。'."\n",
'type' => 'object',
'properties' => [
'EndTime' => ['description' => '关系生效时间。为空表示还没有失效,故没有失效时间。', 'type' => 'string', 'example' => '2021-03-06T15:12Z'],
'RelationType' => ['description' => '关系策略:FinancialManagement表示财务管理,FinancialTrusteeship表示财务托管', 'type' => 'string', 'example' => 'FinancialManagement'],
'StartTime' => ['description' => '关系生效时间。符合ISO8601标准的utc时间格式,如2016-05-23T12:00:00Z(为北京时间2016年5月23日20点0分0秒)', 'type' => 'string', 'example' => '2021-03-02T15:12Z'],
'State' => ['description' => '关系状态。取值是RelationshipStatusEnum的枚举值。', 'type' => 'string', 'example' => 'RELATED'],
'MasterId' => ['description' => '主账号Id', 'type' => 'integer', 'format' => 'int64', 'example' => '1990699401005016'],
'MemberId' => ['description' => '成员账号Id', 'type' => 'integer', 'format' => 'int64', 'example' => '1851253838840762'],
'SetupTime' => ['description' => '关系建立时间。符合ISO8601标准的utc时间格式,如2016-05-23T12:00:00Z(为北京时间2016年5月23日20点0分0秒)', 'type' => 'string', 'example' => '2021-03-02T15:12Z'],
'PermissionList' => [
'description' => '权限列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'EndTime' => ['description' => '权限失效时间。为空表示权限目前还是生效的。符合ISO8601标准的utc时间格式,如2016-05-23T12:00:00Z(为北京时间2016年5月23日20点0分0秒)', 'type' => 'string', 'example' => '2021-03-05T15:12Z'],
'StartTime' => ['description' => '权限生效时间。符合ISO8601标准的utc时间格式,如2016-05-23T12:00:00Z(为北京时间2016年5月23日20点0分0秒)', 'type' => 'string', 'example' => '2021-03-02T15:12Z'],
'PermissionCode' => ['description' => '权限Code', 'type' => 'string', 'example' => 'allow_synchronize_finance_identity'],
'PermissionName' => ['description' => '权限名', 'type' => 'string', 'example' => '主账号 子账号共享主账号信控身份'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred in the internal server.', 'description' => '系统异常,请重试'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"F6E29451-A3CD-4705-806D-0112D08F5C49\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"EndTime\\": \\"2021-03-06T15:12Z\\",\\n \\"RelationType\\": \\"FinancialManagement\\",\\n \\"StartTime\\": \\"2021-03-02T15:12Z\\",\\n \\"State\\": \\"RELATED\\",\\n \\"MasterId\\": 1990699401005016,\\n \\"MemberId\\": 1851253838840762,\\n \\"SetupTime\\": \\"2021-03-02T15:12Z\\",\\n \\"PermissionList\\": [\\n {\\n \\"EndTime\\": \\"2021-03-05T15:12Z\\",\\n \\"StartTime\\": \\"2021-03-02T15:12Z\\",\\n \\"PermissionCode\\": \\"allow_synchronize_finance_identity\\",\\n \\"PermissionName\\": \\"主账号 子账号共享主账号信控身份\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>Successful!</Message>\\n<RequestId>F6E29451-A3CD-4705-806D-0112D08F5C49</RequestId>\\n<Data>\\n <MemberId>1851253838840762</MemberId>\\n <EndTime/>\\n <State>RELATED</State>\\n <RelationType>FinancialManagement</RelationType>\\n <StartTime>2021-03-02T15:12Z</StartTime>\\n <SetupTime>2021-03-02T15:12Z</SetupTime>\\n <MasterId>1990699401005016</MasterId>\\n <PermissionList>\\n <EndTime/>\\n <PermissionName>主账号允许子账号共享主账号信控身份</PermissionName>\\n <StartTime>2021-03-02T15:12Z</StartTime>\\n <PermissionCode>allow_synchronize_finance_identity</PermissionCode>\\n </PermissionList>\\n</Data>\\n<Code>Success</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '查询权限详情',
'summary' => '根据关系ID查询有主子关系权限的关系的权限列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => 'RelationshipStatusEnum类型定义:'."\n"
."\n"
.'|枚举值|描述|备注|'."\n"
.'|--|:--:|--:|'."\n"
.'|INITIAL|初始化状态|关系未生效|'."\n"
.'|CONFIRMING|邀约状态|关系未生效 |'."\n"
.'|REJECTED|被拒绝状态|关系未生效|'."\n"
.'|CONNECTION_CANCELED|关系解除状态|关系未生效|'."\n"
.'|RELATED|已关联状态|关系已生效|'."\n"
.'|CHANGE_CONFIRMING|生效后变更待确认状态|关系已生效|'."\n"
.'|CONNECTION_MASTER_CANCEL|取消确认状态|关系未生效|'."\n",
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryPermissionList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryPrepaidCards' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ExpiryTimeEnd',
'in' => 'query',
'schema' => ['description' => '卡包过期结束时间止,格式:yyyy-mm-ddhh:mm:ss。', 'type' => 'string', 'required' => false, 'example' => '2018-08-01 00:00:00'],
],
[
'name' => 'ExpiryTimeStart',
'in' => 'query',
'schema' => ['description' => '卡包过期时间起,格式:yyyy-mm-dd。', 'type' => 'string', 'required' => false, 'example' => '2018-08-01 00:00:00'],
],
[
'name' => 'EffectiveOrNot',
'in' => 'query',
'schema' => ['description' => '卡包是否生效。取值范围:-true。-false。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '7EA6C02D-06D0-4213-9C3B-E67910F7D1EB'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'PrepaidCard' => [
'description' => '返回数据。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => ['description' => '取值:'."\n"
.'- Available:有效'."\n"
.'- Expired:过期'."\n"
.'- Cancelled:作废', 'type' => 'string', 'example' => 'Available'],
'ExpiryTime' => ['description' => '卡包失效时间。', 'type' => 'string', 'example' => '2019-08-04 01:39:11'],
'GrantedTime' => ['description' => '卡包发放时间。', 'type' => 'string', 'example' => '2019-08-04 01:39:11'],
'NominalValue' => ['description' => '面额。', 'type' => 'string', 'example' => '100.00'],
'EffectiveTime' => ['description' => '卡包生效时间。', 'type' => 'string', 'example' => '2019-08-04 01:39:11'],
'PrepaidCardNo' => ['description' => '卡包编码。', 'type' => 'string', 'example' => 'Q-7edaab979fc9'],
'ApplicableScenarios' => ['description' => '适用场景描述。', 'type' => 'string', 'example' => '阿里云按量付费账单,阿里云新购'],
'PrepaidCardId' => ['description' => '卡包id。', 'type' => 'integer', 'format' => 'int64', 'example' => '213432432'],
'ApplicableProducts' => ['description' => '适用产品描述。', 'type' => 'string', 'example' => '通用'],
'Balance' => ['description' => '剩余金额。', 'type' => 'string', 'example' => '100.00'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => ' Some parameters arte mandatoryfor this request.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'Some parameters are not valid.', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specifiedowner doesn’t belong to caller', 'description' => ''],
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
],
500 => [
['errorCode' => 'UndefinedError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"7EA6C02D-06D0-4213-9C3B-E67910F7D1EB\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PrepaidCard\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"ExpiryTime\\": \\"2019-08-04 01:39:11\\",\\n \\"GrantedTime\\": \\"2019-08-04 01:39:11\\",\\n \\"NominalValue\\": \\"100.00\\",\\n \\"EffectiveTime\\": \\"2019-08-04 01:39:11\\",\\n \\"PrepaidCardNo\\": \\"Q-7edaab979fc9\\",\\n \\"ApplicableScenarios\\": \\"阿里云按量付费账单,阿里云新购\\",\\n \\"PrepaidCardId\\": 213432432,\\n \\"ApplicableProducts\\": \\"通用\\",\\n \\"Balance\\": \\"100.00\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '账户卡包查询',
'summary' => '查询用户卡包信息。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescrbePrepaidCards',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryPriceEntityList' => [
'summary' => '本API是用来查询一个商品下有哪些定价对象。'."\n"
.'定价对象是用来计量和计算费用的最小产品能力。',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'CommodityCode',
'in' => 'query',
'schema' => ['description' => '商品code,可通过**QueryCommodityList**接口查询商品code。', 'type' => 'string', 'required' => true, 'example' => 'ecs'],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => [
'description' => '语言,不填时默认为zh(中文)',
'type' => 'string',
'required' => false,
'enumValueTitles' => ['en' => '英文', 'zh' => '中文'],
'example' => 'en',
],
],
],
'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' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => 'Successful!'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PriceEntityInfoList' => [
'description' => '定价对象列表',
'type' => 'array',
'items' => [
'description' => '定价对象',
'type' => 'object',
'properties' => [
'PriceEntityCode' => ['description' => '定价对象code', 'type' => 'string', 'example' => 'instance_type'],
'PriceEntityName' => ['description' => '定价对象名称', 'type' => 'string', 'example' => '云服务器实例'],
'PriceFactorList' => [
'description' => '定价对象因子列表',
'type' => 'array',
'items' => [
'description' => '定价对象因子',
'type' => 'object',
'properties' => [
'PriceFactorCode' => ['description' => '定价对象因子code', 'type' => 'string', 'example' => 'vm_region_no'],
'PriceFactorName' => ['description' => '定价对象因子名称', 'type' => 'string', 'example' => '地域'],
'PriceFactorValueList' => [
'description' => '定价对象因子值列表',
'type' => 'array',
'items' => ['description' => '定价对象因子值', 'type' => 'string', 'example' => 'cn-shiwei-shenshu'],
],
],
],
],
],
],
],
],
],
],
],
],
],
'title' => '商品定价对象列表查询',
'description' => '本API是用来查询一个商品下有哪些定价对象。'."\n"
.'定价对象是用来计量和计算费用的最小产品能力。',
'responseParamsDescription' => '一个商品会有一到多个定价对象,每个定价对象下有一到多个定价因子',
'changeSet' => [
['createdAt' => '2023-09-04T08:20:04.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryPriceEntityList'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeProduct',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PriceEntityInfoList\\": [\\n {\\n \\"PriceEntityCode\\": \\"instance_type\\",\\n \\"PriceEntityName\\": \\"云服务器实例\\",\\n \\"PriceFactorList\\": [\\n {\\n \\"PriceFactorCode\\": \\"vm_region_no\\",\\n \\"PriceFactorName\\": \\"地域\\",\\n \\"PriceFactorValueList\\": [\\n \\"cn-shiwei-shenshu\\"\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'QueryProductList' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'QueryTotalCount',
'in' => 'query',
'schema' => ['description' => '是否返回产品总数目,默认为false。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页记录数,最大300,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '返回状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'This API is not applicable for caller.'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '94858229-2758-4663-A7D0-99490D541F15'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '阿里云产品信息。',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '每页显示记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'TotalCount' => ['description' => '产品记录总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '449'],
'ProductList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Product' => [
'description' => '产品定义列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => '内容分发网络CDN(按量付费)'],
'ProductType' => ['description' => '产品类型。', 'type' => 'string', 'example' => 'CDN'],
'SubscriptionType' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'example' => 'PayAsYouGo'],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'cdn'],
],
'description' => '',
],
],
],
'description' => '',
],
],
],
],
'description' => '',
],
],
],
'title' => '查询产品信息',
'summary' => '查询当前账号可订购的产品清单,返回产品code、产品名称和订阅模式(预付费/后付费)等信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2022-07-04T03:08:42.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryProductList'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryProductList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"This API is not applicable for caller.\\",\\n \\"RequestId\\": \\"94858229-2758-4663-A7D0-99490D541F15\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 449,\\n \\"ProductList\\": {\\n \\"Product\\": [\\n {\\n \\"ProductName\\": \\"内容分发网络CDN(按量付费)\\",\\n \\"ProductType\\": \\"CDN\\",\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"ProductCode\\": \\"cdn\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryProductListResponse>\\n <Message>Successful!</Message>\\n <RequestId>28D1C9AE-4B16-43AE-9E19-4D3CF36F2A1E</RequestId>\\n <Data>\\n <ProductList>\\n <Product>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <ProductName>NAT共享带宽包(按量付费)</ProductName>\\n <ProductCode>bwp</ProductCode>\\n <ProductType/>\\n </Product>\\n <Product>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <ProductName>内容分发网络CDN(按量付费)</ProductName>\\n <ProductCode>cdn</ProductCode>\\n <ProductType>CDN</ProductType>\\n </Product>\\n </ProductList>\\n <TotalCount>449</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNum>1</PageNum>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</QueryProductListResponse>","errorExample":""}]',
],
'QueryRIUtilizationDetail' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'RIInstanceId',
'in' => 'query',
'schema' => ['description' => '筛选查询的预留实例ID,为空时返回所有的使用的预留实例明细。', 'type' => 'string', 'required' => false, 'example' => 'dsudfgdsjh'],
],
[
'name' => 'InstanceSpec',
'in' => 'query',
'schema' => ['description' => '预留实例对应的规格。', 'type' => 'string', 'required' => false, 'example' => 'Instancetyp'],
],
[
'name' => 'RICommodityCode',
'in' => 'query',
'schema' => ['description' => '取值:'."\n"
.'- ecsRi(默认值):ECS的预留实例。'."\n"
.'- scu_bag:存储容量单位包。'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ecsRi'],
],
[
'name' => 'DeductedInstanceId',
'in' => 'query',
'schema' => ['description' => '被抵扣实例的ID,为空时返回所有实例的明细数据。', 'type' => 'string', 'required' => false, 'example' => 'jsdgfsdhgsdjh'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => '开始时间,格式:YYYY-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-05-23 12:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => '结束时间,格式:YYYY-MM-dd HH:mm:ss。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-05-23 12:00:00'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页条数,默认为20,最大值为300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DF58589C-A06C-4224-8615-7797E6474FA3'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'PageSize' => ['description' => '每页条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'DetailList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'DetailList' => [
'description' => '明细数组。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'DeductedCommodityCode' => ['description' => '被抵扣商品code。', 'type' => 'string', 'example' => 'rds'],
'DeductedProductDetail' => ['description' => '被抵商品(产品明细)名称。', 'type' => 'string', 'example' => '云数据库RDS'],
'DeductedInstanceId' => ['description' => '被抵扣实例ID。', 'type' => 'string', 'example' => 'safdffghfgh'],
'DeductFactorTotal' => ['description' => 'RI或SCU在该时间段的算力或容量总量。', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'DeductQuantity' => ['description' => '实际抵扣对应按量实例的算力或容量。', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'DeductHours' => ['description' => '抵扣系数。 仅当RICommodityCode为ecsRi有效。', 'type' => 'string', 'example' => '24'],
'DeductDate' => ['description' => '抵扣日期。', 'type' => 'string', 'example' => '2019-05-23 12:00:00'],
'RIInstanceId' => ['description' => '预留实例ID。', 'type' => 'string', 'example' => '324253645'],
'InstanceSpec' => ['description' => '被抵扣实例的规格。', 'type' => 'string', 'example' => 'rds.mysql.s3.large'],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'Absent some mandatory parameter for this request.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'This request contain some invalid parameter', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
['errorCode' => 'InvalidQueryTime', 'errorMessage' => 'The specified start time and end time are incorrect', 'description' => ''],
['errorCode' => 'InvalidInstanceSpec', 'errorMessage' => 'The specified Instance specification is not valid.', 'description' => ''],
['errorCode' => 'CommodityNotSupported', 'errorMessage' => 'The specified RI commodity is not supported.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"DF58589C-A06C-4224-8615-7797E6474FA3\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 0,\\n \\"DetailList\\": {\\n \\"DetailList\\": [\\n {\\n \\"DeductedCommodityCode\\": \\"rds\\",\\n \\"DeductedProductDetail\\": \\"云数据库RDS\\",\\n \\"DeductedInstanceId\\": \\"safdffghfgh\\",\\n \\"DeductFactorTotal\\": 1,\\n \\"DeductQuantity\\": 1,\\n \\"DeductHours\\": \\"24\\",\\n \\"DeductDate\\": \\"2019-05-23 12:00:00\\",\\n \\"RIInstanceId\\": \\"324253645\\",\\n \\"InstanceSpec\\": \\"rds.mysql.s3.large\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryRIUtilizationDetailResponse>\\n <RequestId>DF58589C-A06C-4224-8615-7797E6474FA3</RequestId>\\n <Message>Successful!</Message>\\n <Data>\\n <TotalCount>0</TotalCount>\\n <PageNum>1</PageNum>\\n <PageSize>20</PageSize>\\n <DetailList>\\n </DetailList>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</QueryRIUtilizationDetailResponse>","errorExample":""}]',
'title' => '预留实例用量查询',
'summary' => '查询RI的使用量情况。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryRiUtilizationDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryRedeem' => [
'summary' => '查询用户提货券信息。',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ExpiryTimeStart',
'in' => 'query',
'schema' => ['description' => '失效开始时间。格式:yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '2018-08-01T00:00:00Z'],
],
[
'name' => 'ExpiryTimeEnd',
'in' => 'query',
'schema' => ['description' => '失效结束时间。格式:yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '2018-08-01T00:00:00Z'],
],
[
'name' => 'EffectiveOrNot',
'in' => 'query',
'schema' => ['description' => '提货券是否生效:'."\n"
.'- true。'."\n"
.'- false。'."\n"
."\n"
.'默认false。', 'type' => 'boolean', 'required' => false, 'docRequired' => false, 'example' => 'true'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页显示条数。每页条数不允许超过300', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E503DC7B-E4F0-4B3C-BC89-BCECF1338F0B'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'PageSize' => ['description' => '每页显示条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Redeem' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Redeem' => [
'description' => '提货券详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ExpiryTime' => ['description' => '提货券失效时间。', 'type' => 'string', 'example' => '2018-06-13 20:25:00'],
'GrantedTime' => ['description' => '提货券发行时间。', 'type' => 'string', 'example' => '2018-05-14 20:25:00'],
'Status' => ['description' => '提货券状态,取值:'."\n"
.'- Generated:已生成。'."\n"
.'- CallBack:已回调。'."\n"
.'- RefundPending:提货券退款中。'."\n"
.'- Canceled:提货券已作废。'."\n"
.'- Order_Canceled:订单已作废。'."\n"
.'- ActivePending:激活中,请稍后。'."\n"
.'- ActiveSuccess:激活成功。'."\n"
.'- ExchangePending:兑换中。'."\n"
.'- ExchangeSuccess:兑换成功。'."\n"
.'- Expired:已过期。'."\n"
.'- Invalid:已作废。', 'type' => 'string', 'example' => 'Generated'],
'Specification' => ['description' => '提货券规格。', 'type' => 'string', 'example' => '无'],
'NominalValue' => ['description' => '面额。', 'type' => 'string', 'example' => '0'],
'EffectiveTime' => ['description' => '提货券生效时间。', 'type' => 'string', 'example' => '2018-05-14 20:25:00'],
'RedeemId' => ['description' => '提货券ID。', 'type' => 'string', 'example' => '1342'],
'RedeemNo' => ['description' => '提货券Number。', 'type' => 'string', 'example' => '4889*****1610'],
'ApplicableProducts' => ['description' => '适用产品。', 'type' => 'string', 'example' => '云服务器'],
'Balance' => ['description' => '余额。', 'type' => 'string', 'example' => '0'],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller. ', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller. ', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error. ', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful\\",\\n \\"RequestId\\": \\"E503DC7B-E4F0-4B3C-BC89-BCECF1338F0B\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"Redeem\\": {\\n \\"Redeem\\": [\\n {\\n \\"ExpiryTime\\": \\"2018-06-13 20:25:00\\",\\n \\"GrantedTime\\": \\"2018-05-14 20:25:00\\",\\n \\"Status\\": \\"Generated\\",\\n \\"Specification\\": \\"无\\",\\n \\"NominalValue\\": \\"0\\",\\n \\"EffectiveTime\\": \\"2018-05-14 20:25:00\\",\\n \\"RedeemId\\": \\"1342\\",\\n \\"RedeemNo\\": \\"4889*****1610\\",\\n \\"ApplicableProducts\\": \\"云服务器\\",\\n \\"Balance\\": \\"0\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryRedeemResponse>\\n <Message>Successful!</Message>\\n <RequestId>E503DC7B-E4F0-4B3C-BC89-BCECF1338F0B</RequestId>\\n <Data>\\n <TotalCount>0</TotalCount>\\n <PageSize>10</PageSize>\\n <PageNum>1</PageNum>\\n <Redeem>\\n </Redeem>\\n </Data>\\n <Code>Success</Code>\\n <Success>true</Success>\\n</QueryRedeemResponse>","errorExample":""}]',
'title' => '查询提货券服务',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2023-08-08T08:23:44.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-08-08T03:58:50.000Z', 'description' => '请求参数发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryRedeem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryRelationList' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'UserId',
'in' => 'query',
'schema' => ['description' => '阿里云账号UID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1990699401005016'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码,默认1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '页大小,默认20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'StatusList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '关系状态列表,状态是RelationshipStatusEnum的枚举值。默认不传值查询当前生效状态。',
'type' => 'array',
'items' => ['type' => 'string', 'required' => false, 'example' => 'RELATED'],
'required' => false,
'example' => 'RELATED',
'maxItems' => 8,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。'."\n", 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '消息说明。'."\n", 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。'."\n", 'type' => 'string', 'example' => '7FC5D662-37FD-40A6-85B1-33442D815184'],
'Success' => ['description' => '是否成功。'."\n", 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '消息体',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'FinancialRelationInfoList' => [
'description' => '关系列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'EndTime' => ['description' => '关系失效时间。为空表示没有失效', 'type' => 'string', 'example' => '2021-03-08T15:12Z'],
'RelationType' => ['description' => '关系策略:FinancialManagement表示财务管理,FinancialTrusteeship表示财务托管', 'type' => 'string', 'example' => 'FinancialManagement'],
'AccountNickName' => ['description' => '用户显示名称', 'type' => 'string', 'example' => 'test4'],
'StartTime' => ['description' => '关系生效时间。符合ISO8601标准的utc时间格式,如2016-05-23T12:00:00Z(为北京时间2016年5月23日20点0分0秒)', 'type' => 'string', 'example' => '2021-03-02T15:12Z'],
'State' => ['description' => '关系状态。取值是RelationshipStatusEnum的枚举值。', 'type' => 'string', 'example' => 'RELATED'],
'AccountId' => ['description' => '阿里云账号UID', 'type' => 'integer', 'format' => 'int64', 'example' => '1851253838840762'],
'SetupTime' => ['description' => '关系建立时间。符合ISO8601标准的utc时间格式,如2016-05-23T12:00:00Z(为北京时间2016年5月23日20点0分0秒)', 'type' => 'string', 'example' => '2021-03-02T15:12Z'],
'AccountType' => ['description' => '企业财务账号类型:MASTER和MEMBER。', 'type' => 'string', 'example' => 'MEMBER'],
'AccountName' => ['description' => '阿里云账号登录名', 'type' => 'string', 'example' => 'caiwuyun_test4'],
'RelationId' => ['description' => '关系ID', 'type' => 'integer', 'format' => 'int64', 'example' => '51463'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred in the internal server.', 'description' => '系统异常,请重试'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"7FC5D662-37FD-40A6-85B1-33442D815184\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 100,\\n \\"FinancialRelationInfoList\\": [\\n {\\n \\"EndTime\\": \\"2021-03-08T15:12Z\\",\\n \\"RelationType\\": \\"FinancialManagement\\",\\n \\"AccountNickName\\": \\"test4\\",\\n \\"StartTime\\": \\"2021-03-02T15:12Z\\",\\n \\"State\\": \\"RELATED\\",\\n \\"AccountId\\": 1851253838840762,\\n \\"SetupTime\\": \\"2021-03-02T15:12Z\\",\\n \\"AccountType\\": \\"MEMBER\\",\\n \\"AccountName\\": \\"caiwuyun_test4\\",\\n \\"RelationId\\": 51463\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>Successful!</Message>\\n<RequestId>7FC5D662-37FD-40A6-85B1-33442D815184</RequestId>\\n<Data>\\n <TotalCount>100</TotalCount>\\n <PageSize>20</PageSize>\\n <PageNum>1</PageNum>\\n <FinancialRelationInfoList>\\n <AccountId>1851253838840762</AccountId>\\n <EndTime/>\\n <State>RELATED</State>\\n <RelationType>FinancialManagement</RelationType>\\n <StartTime>2021-03-02T15:12Z</StartTime>\\n <SetupTime>2021-03-02T15:12Z</SetupTime>\\n <RelationId>51463</RelationId>\\n <AccountNickName>test4</AccountNickName>\\n <AccountType>MEMBER</AccountType>\\n <AccountName>caiwuyun_test4</AccountName>\\n </FinancialRelationInfoList>\\n</Data>\\n<Code>Success</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '查询企业财务关系列表',
'summary' => '查询有主子关系权限的账号的成员账号关系列表。',
'requestParamsDescription' => 'RelationshipStatusEnum类型定义:'."\n"
."\n"
.'|枚举值|描述|备注|'."\n"
.'|--|:--:|--:|'."\n"
.'|INITIAL|初始化状态|关系未生效|'."\n"
.'|CONFIRMING|邀约状态|关系未生效 |'."\n"
.'|REJECTED|被拒绝状态|关系未生效|'."\n"
.'|CONNECTION_CANCELED|关系解除状态|关系未生效|'."\n"
.'|RELATED|已关联状态|关系已生效|'."\n"
.'|CHANGE_CONFIRMING|生效后变更待确认状态|关系已生效|'."\n"
.'|CONNECTION_MASTER_CANCEL|取消确认状态|关系未生效|'."\n"
."\n\n"
."\n\n",
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryRelationList'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryRelationList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryResellerAvailableQuota' => [
'summary' => '查询用户(代付场景下设置消费配额)的当前可用配额余额信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ItemCodes',
'in' => 'query',
'schema' => ['description' => '无需填写', 'type' => 'string', 'required' => false, 'example' => '无'],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '调用失败时,返回的错误码。更多信息,请参见错误码。', 'type' => 'string', 'example' => '200'],
'Message' => [
'description' => '调用结果的附加信息',
'type' => 'string',
'enumValueTitles' => [],
'example' => 'Successful!',
],
'Data' => ['description' => '用户可用配额余额信息', 'type' => 'string', 'example' => '300'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => 'success=true代表调用执行完成。success=false代表执行出现错误。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
['errorCode' => 'ParameterError', 'errorMessage' => 'Missing the must parameter.', 'description' => ''],
['errorCode' => '-304', 'errorMessage' => 'Record is not exists.', 'description' => ''],
['errorCode' => 'CreditInnerError', 'errorMessage' => 'This interface has some error. Please try again.', 'description' => ''],
],
500 => [
['errorCode' => 'UndefinedError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"Data\\": \\"300\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '查询当前可用配额余额信息',
'changeSet' => [
['createdAt' => '2022-12-29T03:08:01.000Z', 'description' => '错误码发生变更、响应参数发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryResellerAvailableQuota',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryResellerUserAlarmThreshold' => [
'summary' => ' ',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'AlarmType',
'in' => 'query',
'schema' => [
'title' => '预警类型 [必填,quota_low_balance:Quota低额预警 month_consume_high:月消费高额预警',
'description' => '预警类型[必填,quota_low_balance:Quota低额预警]',
'type' => 'string',
'required' => false,
'enumValueTitles' => ['quota_low_balance' => 'quota_low_balance'],
'example' => 'quota_low_balance',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'ListResult<AlarmThresholdPop>',
'description' => 'ListResult<AlarmThresholdPop>',
'type' => 'object',
'properties' => [
'Data' => [
'description' => '返回数据。',
'type' => 'array',
'items' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'ThresholdType' => ['title' => '报警类型 0 数值 1比例 其他默认为 数值', 'description' => '报警类型:0(数值)、1(比例)', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'ThresholdAmount' => ['title' => '预警额度 为0有效', 'description' => '预警额度(预警类型为0时有效)', 'type' => 'string', 'example' => '100'],
'Numerator' => ['title' => '预警百分比_分子 为1有效', 'description' => '预警百分比,代表分子数值(预警类型为1时有效)', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'Denominator' => ['title' => '预警百分比_分母 为1有效', 'description' => '预警百分比,代表分母数值(预警类型为1时有效)', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
],
],
'Count' => ['title' => '根据查询', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Success' => ['title' => '标识本次调用是否返回', 'description' => '标识本次调用是否返回', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '本次调用返回code,一般为错误代码', 'description' => '本次调用返回code,一般为错误代码', 'type' => 'string', 'example' => '200'],
'Message' => ['title' => '本次调用返回的消息,一般为错误消息', 'description' => '本次调用返回的消息,一般为错误消息', 'type' => 'string', 'example' => 'success'],
'RequestId' => ['title' => '请求Id', 'description' => '请求Id', 'type' => 'string', 'example' => 'EAE08A27-386C-579E-966D-8853EC3C5D0E'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller. ', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller. ', 'description' => ''],
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure. ', 'description' => ''],
['errorCode' => 'ParameterError', 'errorMessage' => 'Missing the must parameter ', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"ThresholdType\\": 0,\\n \\"ThresholdAmount\\": \\"100\\",\\n \\"Numerator\\": 10,\\n \\"Denominator\\": 100\\n }\\n ],\\n \\"Count\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"EAE08A27-386C-579E-966D-8853EC3C5D0E\\"\\n}","type":"json"}]',
'title' => '查询Quota额度低额预警规则',
'description' => '查询 Quota 额度低额预警规则',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryResellerUserAlarmThreshold',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryResourcePackageInstances' => [
'summary' => '查询用户某个资源包的实例,仅支持查询有效的资源包。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'ExpiryTimeStart',
'in' => 'query',
'schema' => ['description' => '失效起始时间。日期格式按照ISO8601标准表示,并需要使用UTC时间。格式为:yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2020-02-02T12:00:00Z'],
],
[
'name' => 'ExpiryTimeEnd',
'in' => 'query',
'schema' => ['description' => '失效结束时间。日期格式按照ISO8601标准表示,并需要使用UTC时间。格式为:yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2020-02-02T13:00:00Z'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页条数,默认值20,最大300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'IncludePartner',
'in' => 'query',
'schema' => ['description' => '是否包含合作伙伴。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'PageSize' => ['description' => '每页条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'Total' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
'Page' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码。', 'type' => 'string', 'example' => '1'],
'PageSize' => ['description' => '每页条数。', 'type' => 'string', 'example' => '20'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'string', 'example' => '12'],
'HostId' => ['description' => '主机ID。', 'type' => 'string', 'example' => 'cn'],
'Instances' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Instance' => [
'description' => '实例详情数组。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ExpiryTime' => ['description' => '失效时间。', 'type' => 'string', 'example' => '2019-03-12T16:00:00Z'],
'Status' => ['description' => '资源包状态,取值:'."\n"
.'- Available(有效)。'."\n"
.'- Expired(失效)。', 'type' => 'string', 'example' => 'Available'],
'Remark' => ['description' => '资源包商品的备注说明,只提供中文说明', 'type' => 'string', 'example' => '标准存储包(华东2)'],
'RemainingAmountUnit' => ['description' => '剩余量单位。', 'type' => 'string', 'example' => 'GB'],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'OSSBAG-cn-v0h1s4hma01'],
'PackageType' => ['description' => '资源包类型。', 'type' => 'string', 'example' => 'FPT_ossbag_absolute_Storage_sh'],
'EffectiveTime' => ['description' => '生效时间。', 'type' => 'string', 'example' => '2018-09-12T09:51:56Z'],
'Region' => ['description' => '地域。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'TotalAmount' => ['description' => '总量。', 'type' => 'string', 'example' => '40.000'],
'DeductType' => ['description' => '扣费类型:Absolute。', 'type' => 'string', 'example' => 'Absolute'],
'TotalAmountUnit' => ['description' => '总量单位。', 'type' => 'string', 'example' => 'GB'],
'RemainingAmount' => ['description' => '剩余量。', 'type' => 'string', 'example' => '40.000'],
'ApplicableProducts' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Product' => [
'description' => '适用产品列表。',
'type' => 'array',
'items' => ['description' => '资源包适用产品。', 'type' => 'string', 'example' => '{"Product": ["oss"] }'],
],
],
],
'CommodityCode' => ['description' => '商品code', 'type' => 'string', 'example' => 'rds'],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'Absent some mandatory parameter for this request.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'This request contain some invalid parameter', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
['errorCode' => 'OwnerIdInvalid', 'errorMessage' => 'Parameter ownerId is invalid.', 'description' => ''],
['errorCode' => 'OwnerIdMissing', 'errorMessage' => 'Paramter ownerId is missing.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"PageSize\\": 20,\\n \\"Total\\": 12,\\n \\"Page\\": 1,\\n \\"Data\\": {\\n \\"PageNum\\": \\"1\\",\\n \\"PageSize\\": \\"20\\",\\n \\"TotalCount\\": \\"12\\",\\n \\"HostId\\": \\"cn\\",\\n \\"Instances\\": {\\n \\"Instance\\": [\\n {\\n \\"ExpiryTime\\": \\"2019-03-12T16:00:00Z\\",\\n \\"Status\\": \\"Available\\",\\n \\"Remark\\": \\"标准存储包(华东2)\\",\\n \\"RemainingAmountUnit\\": \\"GB\\",\\n \\"InstanceId\\": \\"OSSBAG-cn-v0h1s4hma01\\",\\n \\"PackageType\\": \\"FPT_ossbag_absolute_Storage_sh\\",\\n \\"EffectiveTime\\": \\"2018-09-12T09:51:56Z\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"TotalAmount\\": \\"40.000\\",\\n \\"DeductType\\": \\"Absolute\\",\\n \\"TotalAmountUnit\\": \\"GB\\",\\n \\"RemainingAmount\\": \\"40.000\\",\\n \\"ApplicableProducts\\": {\\n \\"Product\\": [\\n \\"{\\\\\\"Product\\\\\\": [\\\\\\"oss\\\\\\"] }\\"\\n ]\\n },\\n \\"CommodityCode\\": \\"rds\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryResourcePackageInstancesResponse>\\n <Message>Successful!</Message>\\n <RequestId>6000EE23-274B-4E07-A697-FF2E999520A4</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <TotalCount>1</TotalCount>\\n <PageSize>20</PageSize>\\n <Instances>\\n <Instance>\\n <RemainingAmountUnit>GB</RemainingAmountUnit>\\n <ApplicableProducts>\\n <Product>oss</Product>\\n </ApplicableProducts>\\n <InstanceId>OSSBAG-cn-v0h1s4hma018</InstanceId>\\n <DeductType>Absolute</DeductType>\\n <RemainingAmount>40.000</RemainingAmount>\\n <Status>Available</Status>\\n <Region>cn-shanghai</Region>\\n <TotalAmountUnit>GB</TotalAmountUnit>\\n <PackageType>FPT_ossbag_absolute_Storage_sh</PackageType>\\n <TotalAmount>40.000</TotalAmount>\\n <Remark>标准存储包(华东2)</Remark>\\n <EffectiveTime>2018-09-12T09:51:56Z</EffectiveTime>\\n <ExpiryTime>2019-03-12T16:00:00Z</ExpiryTime>\\n </Instance>\\n </Instances>\\n <HostId>cn</HostId>\\n <PageNum>1</PageNum>\\n </Data>\\n</QueryResourcePackageInstancesResponse>","errorExample":""}]',
'title' => '查询资源包实例服务',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryResourcePackageInstances'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeInstances',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QuerySavingsPlansDeductLog' => [
'summary' => '查询节省计划抵扣的明细数据',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'InstanceType',
'in' => 'query',
'schema' => ['description' => '查询类型:'."\n"
."\n"
.'- spn 节省计划实例'."\n"
."\n"
.'- product 抵扣云产品实例', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'spn'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20'],
],
[
'name' => 'Locale',
'in' => 'query',
'schema' => ['description' => '多语言选项,默认返回中文'."\n"
.'ZH 中文'."\n"
.'EN 英文', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ZH'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '查询页数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'minimum' => '1', 'example' => '1'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'spn-XXXXXXX'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => '查询开始时间', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '2022-01-01 00:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => '查询结束时间', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '2022-01-05 00:00:00'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回值',
'type' => 'object',
'properties' => [
'Code' => ['description' => '错误码', 'type' => 'string', 'example' => 'PARAM_ERROR'],
'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '请校验入参正确性'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '61293E7A-3406-4447-8620-EC88B0AA66AD'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回元素',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '查询页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '每页个数', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['description' => '总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'Items' => [
'description' => '抵扣明细列表',
'type' => 'array',
'items' => [
'description' => '抵扣明细数据',
'type' => 'object',
'properties' => [
'EndTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2020-12-01 01:00:00'],
'StartTime' => ['description' => '开始时间', 'type' => 'string', 'example' => '2020-12-01 00:00:00'],
'SavingsType' => ['description' => '节省计划类型:'."\n"
."\n"
.'- universal 通用型 '."\n"
.'- ecs 计算型', 'type' => 'string', 'example' => 'ecs'],
'UserId' => ['description' => '用户ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1906589291020438'],
'DiscountRate' => ['description' => '当前抵扣使用的折扣率', 'type' => 'string', 'example' => '0.069'],
'BillModule' => ['description' => '抵扣计费项', 'type' => 'string', 'example' => '云服务器配置'],
'InstanceId' => ['description' => '节省计划实例ID', 'type' => 'string', 'example' => 'spn-xxxxxxx'],
'DeductInstanceId' => ['description' => '被抵扣云产品实例ID', 'type' => 'string', 'example' => 'i-XXXXXXXXX'],
'DeductCommodity' => ['description' => '抵扣商品', 'type' => 'string', 'example' => '云服务器ECS-按量付费'],
'DeductRate' => ['description' => '抵扣率', 'type' => 'string', 'example' => '1.0'],
'DeductFee' => ['description' => '抵扣费用,单位:元', 'type' => 'string', 'example' => '0.52'],
'OwnerId' => ['description' => '所有者ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1906589291020438'],
'BillingCycle' => ['title' => '账期', 'description' => '账期', 'type' => 'string', 'example' => '202312'],
'Region' => ['title' => '被抵扣实例地域', 'description' => '被抵扣实例地域', 'type' => 'string', 'example' => 'cn-shanghai-eu13-a01'],
'InstanceSpec' => ['title' => '被抵扣实例规格', 'description' => '被抵扣实例规格', 'type' => 'string', 'example' => 'ecs.g7.xlarge'],
'InstanceTypeFamily' => ['title' => '被抵扣实例规格族', 'description' => '被抵扣实例规格族', 'type' => 'string', 'example' => 'ecs.g7'],
'BillingOfficialPrice' => ['title' => '被抵扣账单的官网价', 'description' => '被抵扣账单的官网价,单位:元', 'type' => 'string', 'example' => '375.35'],
'DeductedOfficialPrice' => ['title' => '被抵扣部分官网价', 'description' => '被抵扣部分官网价,单位:元', 'type' => 'string', 'example' => '375.37'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner does not belong to caller.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
['errorCode' => 'NotApplicable', 'errorMessage' => 'The specified API is not applicable for the user.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'The user is not authorized for the specified API.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred in the internal server.', 'description' => '系统异常,请重试'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"PARAM_ERROR\\",\\n \\"Message\\": \\"请校验入参正确性\\",\\n \\"RequestId\\": \\"61293E7A-3406-4447-8620-EC88B0AA66AD\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 20,\\n \\"Items\\": [\\n {\\n \\"EndTime\\": \\"2020-12-01 01:00:00\\",\\n \\"StartTime\\": \\"2020-12-01 00:00:00\\",\\n \\"SavingsType\\": \\"ecs\\",\\n \\"UserId\\": 1906589291020438,\\n \\"DiscountRate\\": \\"0.069\\",\\n \\"BillModule\\": \\"云服务器配置\\",\\n \\"InstanceId\\": \\"spn-xxxxxxx\\",\\n \\"DeductInstanceId\\": \\"i-XXXXXXXXX\\",\\n \\"DeductCommodity\\": \\"云服务器ECS-按量付费\\",\\n \\"DeductRate\\": \\"1.0\\",\\n \\"DeductFee\\": \\"0.52\\",\\n \\"OwnerId\\": 1906589291020438,\\n \\"BillingCycle\\": \\"202312\\",\\n \\"Region\\": \\"cn-shanghai-eu13-a01\\",\\n \\"InstanceSpec\\": \\"ecs.g7.xlarge\\",\\n \\"InstanceTypeFamily\\": \\"ecs.g7\\",\\n \\"BillingOfficialPrice\\": \\"375.35\\",\\n \\"DeductedOfficialPrice\\": \\"375.37\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '节省计划抵扣明细查询',
'changeSet' => [
['createdAt' => '2023-12-07T07:38:22.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2022-06-28T12:44:15.000Z', 'description' => '响应参数发生变更'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QuerySavingsPlansDeductLog',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QuerySavingsPlansDiscount' => [
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'ModuleCode',
'in' => 'query',
'schema' => ['title' => 'moduleCode', 'description' => '模块CODE', 'type' => 'string', 'required' => false, 'example' => 'instance_type'],
],
[
'name' => 'PayMode',
'in' => 'query',
'schema' => [
'title' => 'payMode',
'description' => '付费类型:'."\n"
.'total 全预付'."\n"
.'half 半预付'."\n"
.'zero 0预付',
'type' => 'string',
'required' => true,
'enumValueTitles' => ['zero' => '0预付', 'total' => '全预付', 'half' => '半预付'],
'example' => 'total',
],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['title' => 'pageSize', 'description' => '每页个数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'SpnType',
'in' => 'query',
'schema' => [
'title' => 'spnType',
'description' => '节省计划类型:'."\n"
.'ecs 计算型'."\n"
.'universal 通用型',
'type' => 'string',
'required' => true,
'enumValueTitles' => ['ecs' => '计算型', 'universal' => '通用型'],
'example' => 'universal',
],
],
[
'name' => 'Locale',
'in' => 'query',
'schema' => [
'title' => 'locale',
'description' => '多语言标识',
'type' => 'string',
'required' => false,
'enumValueTitles' => ['EN' => '英文', 'ZH' => '中文'],
'example' => 'ZH',
],
],
[
'name' => 'Cycle',
'in' => 'query',
'schema' => ['title' => 'cycle', 'description' => '查询周期', 'type' => 'string', 'required' => true, 'example' => '1:Year'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['title' => 'pageNum', 'description' => '查询页数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'Spec',
'in' => 'query',
'schema' => ['title' => 'spec', 'description' => '资源类型', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6'],
],
[
'name' => 'CommodityCode',
'in' => 'query',
'schema' => ['title' => 'commodityCode', 'description' => '商品CODE', 'type' => 'string', 'required' => true, 'example' => 'ecs'],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => ['title' => 'region', 'description' => '地域信息', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'SpnCommodityCode',
'in' => 'query',
'schema' => ['description' => '节省计划商品Code', 'type' => 'string', 'required' => false, 'example' => 'savingplan_common_public_cn'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'result',
'description' => '结果',
'type' => 'object',
'properties' => [
'Message' => ['title' => 'message', 'description' => '错误信息', 'type' => 'string', 'example' => 'This API is not applicable for caller.'],
'RequestId' => ['title' => 'requestId', 'description' => '请求ID', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4'],
'Data' => [
'title' => 'data',
'description' => 'data',
'type' => 'object',
'properties' => [
'HostId' => ['title' => 'hostId', 'description' => '请求IP', 'type' => 'string', 'example' => '100.104.180.109'],
'Items' => [
'description' => '折扣信息列表',
'type' => 'array',
'items' => [
'description' => '折扣明细',
'type' => 'object',
'properties' => [
'CommodityName' => ['description' => '产品明细'."\n", 'type' => 'string', 'example' => '云服务器ECS-按量付费'],
'ModuleName' => ['description' => '计价模块名称。', 'type' => 'string', 'example' => '实例'],
'SpnType' => ['description' => '节省计划类型', 'type' => 'string', 'example' => 'universal'],
'PayMode' => ['description' => '付款类型:'."\n"
."\n"
.'- total 全预付'."\n"
.'- half 半预付'."\n"
.'- zero 0预付', 'type' => 'string', 'example' => 'total'],
'Cycle' => ['description' => '查询周期', 'type' => 'string', 'example' => '1:Year'],
'Region' => ['description' => '地域信息', 'type' => 'string', 'example' => '张家口'],
'RegionCode' => ['description' => '实例所在地域ID,您可以调用[DescribeDBInstanceAttribute](~~26231~~)查询。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'Spec' => ['description' => '资源类型', 'type' => 'string', 'example' => 'ecs.g6'],
'DiscountRate' => ['description' => '官网折扣率', 'type' => 'string', 'example' => '0.85'],
'ContractDiscountRate' => ['description' => '合同折扣率', 'type' => 'string', 'example' => '0.85'],
],
],
],
],
],
'Code' => ['title' => 'code', 'description' => '错误码', 'type' => 'string', 'example' => 'PARAM_ERROR'],
'Success' => ['title' => 'success', 'description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询节省计划折扣明细',
'summary' => '查询节省计划折扣信息列表。',
'changeSet' => [
['createdAt' => '2024-08-20T06:32:11.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-05-25T08:39:50.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySavingsPlansDiscount'],
],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"This API is not applicable for caller.\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Data\\": {\\n \\"HostId\\": \\"100.104.180.109\\",\\n \\"Items\\": [\\n {\\n \\"CommodityName\\": \\"云服务器ECS-按量付费\\",\\n \\"ModuleName\\": \\"实例\\",\\n \\"SpnType\\": \\"universal\\",\\n \\"PayMode\\": \\"total\\",\\n \\"Cycle\\": \\"1:Year\\",\\n \\"Region\\": \\"张家口\\",\\n \\"RegionCode\\": \\"cn-hangzhou\\",\\n \\"Spec\\": \\"ecs.g6\\",\\n \\"DiscountRate\\": \\"0.85\\",\\n \\"ContractDiscountRate\\": \\"0.85\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"PARAM_ERROR\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'QuerySavingsPlansInstance' => [
'summary' => '查询当前用户保有的节省计划实例信息。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页个数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'minimum' => '1', 'example' => '20'],
],
[
'name' => 'Locale',
'in' => 'query',
'schema' => ['description' => '多语言信息'."\n"
."\n"
.'- ZH 中文'."\n"
.'- EN 英文', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ZH'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '查询页数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'minimum' => '1', 'example' => '1'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '节省计划实例ID', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'spn-xxxxxxx'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => '开始时间,格式 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '2020-01-01 00:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => '结束时间,格式 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '2021-01-01 00:00:00'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签元素列表',
'type' => 'array',
'items' => [
'description' => '标签元素',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签查询键', 'type' => 'string', 'required' => false, 'example' => '测试标签'],
'Value' => ['description' => '标签查询值', 'type' => 'string', 'required' => false, 'example' => '测试标签'],
],
'required' => false,
],
'required' => false,
'maxItems' => 20,
],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => ['description' => '实例状态:'."\n"
.'NORMAL:有效'."\n"
.'RELEASE 失效', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
[
'name' => 'CommodityCode',
'in' => 'query',
'schema' => ['description' => '商品Code', 'type' => 'string', 'required' => false, 'example' => 'savingplan_common_public_cn'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回值对象',
'type' => 'object',
'properties' => [
'Code' => ['description' => '错误码', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Successful'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '61293E7A-3406-4447-8620-EC88B0AA66AD'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回元素',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '查询页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '每页个数', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['description' => '总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'Items' => [
'description' => '实例信息列表',
'type' => 'array',
'items' => [
'description' => '实例信息',
'type' => 'object',
'properties' => [
'Status' => ['description' => '当前状态'."\n"
."\n"
.'- NORMAL 正常状态'."\n"
."\n"
.'- LIMIT 欠费停机'."\n"
."\n"
.'- RELEASE 释放', 'type' => 'string', 'example' => 'NORMAL'],
'Cycle' => ['description' => '购买年限', 'type' => 'string', 'example' => '1:Year'],
'StartTimestamp' => ['description' => '开始时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1663135741039'],
'SavingsType' => ['description' => '节省计划类型:'."\n"
."\n"
.'- unversal 通用型'."\n"
.'- ecs 计算型', 'type' => 'string', 'example' => 'ECS'],
'Utilization' => ['description' => '总使用率', 'type' => 'string', 'example' => '1.0'],
'PrepayFee' => ['description' => '预付金额,单位:元', 'type' => 'string', 'example' => '8760.00'],
'InstanceId' => ['description' => '节省计划实例ID', 'type' => 'string', 'example' => 'spn-xxxxxxxx'],
'Currency' => ['description' => '货币单位:CNY人民币 USD美元', 'type' => 'string', 'example' => 'CNY'],
'EndTimestamp' => ['description' => '结束时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1663135741039'],
'EndTime' => ['description' => '实例失效时间,格式 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2021-01-01 00:00:00'],
'StartTime' => ['description' => '实例生效时间,格式 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2020-01-01 00:00:00'],
'AllocationStatus' => ['description' => '分配状态:'."\n"
.'- unallocated 未分配'."\n"
.'- allocated 分配中'."\n"
.'- beAllocated 被分配中'."\n", 'type' => 'string', 'example' => 'unallocated'],
'InstanceFamily' => ['description' => '如果是ECS型实例,表示对应的规格族信息或者规格族套餐信息', 'type' => 'string', 'example' => 'ecs.g6'],
'Region' => ['description' => '地域信息', 'type' => 'string', 'example' => 'cn-zhangjiakou-na62-a01'],
'LastBillTotalUsage' => ['description' => '上一周期抵扣总金额,单位:元', 'type' => 'string', 'example' => '100.0'],
'LastBillUtilization' => ['description' => '上一周期使用率', 'type' => 'string', 'example' => '0.8'],
'TotalSave' => ['description' => '总节省金额,单位:元', 'type' => 'string', 'example' => '20.00'],
'PoolValue' => ['description' => '承付款,单位:元', 'type' => 'string', 'example' => '1.00'],
'PayMode' => ['description' => '付款类型:'."\n"
."\n"
.'- total 全预付'."\n"
.'- half 半预付'."\n"
.'- zero 0预付', 'type' => 'string', 'example' => 'total'],
'Tags' => [
'description' => '标签信息列表',
'type' => 'array',
'items' => [
'description' => '标签元素',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签键', 'type' => 'string', 'example' => '标签1'],
'Value' => ['description' => '标签值', 'type' => 'string', 'example' => '标签1'],
],
],
],
'DeductCycleType' => ['description' => '抵扣周期类型:'."\n"
.'HOUR:小时'."\n"
.'DAY:天'."\n"
.'ONCE:一次性(总量递减)', 'type' => 'string', 'example' => 'HOUR'],
'RestPoolValue' => ['description' => '弹性版,按月,按天保底当前周期剩余金额,单位:元', 'type' => 'string', 'example' => '100.0'],
'CommodityCode' => ['description' => '商品Code', 'type' => 'string', 'example' => 'savingplan_common_public_cn'],
'CurrentPoolValue' => ['description' => '按月周期型当前周期池额度,单位:元', 'type' => 'string', 'example' => '100.0'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner does not belong to caller.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
['errorCode' => 'NotApplicable', 'errorMessage' => 'The specified API is not applicable for the user.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'The user is not authorized for the specified API.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred in the internal server.', 'description' => '系统异常,请重试'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful\\",\\n \\"RequestId\\": \\"61293E7A-3406-4447-8620-EC88B0AA66AD\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 100,\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"NORMAL\\",\\n \\"Cycle\\": \\"1:Year\\",\\n \\"StartTimestamp\\": 1663135741039,\\n \\"SavingsType\\": \\"ECS\\",\\n \\"Utilization\\": \\"1.0\\",\\n \\"PrepayFee\\": \\"8760.00\\",\\n \\"InstanceId\\": \\"spn-xxxxxxxx\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"EndTimestamp\\": 1663135741039,\\n \\"EndTime\\": \\"2021-01-01 00:00:00\\",\\n \\"StartTime\\": \\"2020-01-01 00:00:00\\",\\n \\"AllocationStatus\\": \\"unallocated\\",\\n \\"InstanceFamily\\": \\"ecs.g6\\",\\n \\"Region\\": \\"cn-zhangjiakou-na62-a01\\",\\n \\"LastBillTotalUsage\\": \\"100.0\\",\\n \\"LastBillUtilization\\": \\"0.8\\",\\n \\"TotalSave\\": \\"20.00\\",\\n \\"PoolValue\\": \\"1.00\\",\\n \\"PayMode\\": \\"total\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"标签1\\",\\n \\"Value\\": \\"标签1\\"\\n }\\n ],\\n \\"DeductCycleType\\": \\"HOUR\\",\\n \\"RestPoolValue\\": \\"100.0\\",\\n \\"CommodityCode\\": \\"savingplan_common_public_cn\\",\\n \\"CurrentPoolValue\\": \\"100.0\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>Successful</Message>\\n<RequestId>61293E7A-3406-4447-8620-EC88B0AA66AD</RequestId>\\n<Data>\\n <TotalCount>100</TotalCount>\\n <PageSize>20</PageSize>\\n <PageNum>1</PageNum>\\n <Items>\\n <Status>NORMAL</Status>\\n <AllocationStatus>unallocated</AllocationStatus>\\n <EndTime>2021-01-01 00:00:00</EndTime>\\n <InstanceFamily>ecs.g6</InstanceFamily>\\n <InstanceId>spn-xxxxxxxx</InstanceId>\\n <StartTime>2020-01-01 00:00:00</StartTime>\\n <TotalSave>20.00</TotalSave>\\n <PrepayFee>8760.00</PrepayFee>\\n <PayMode>total</PayMode>\\n <Utilization>1.0</Utilization>\\n <Currency>CNY</Currency>\\n <PoolValue>1.00</PoolValue>\\n <Region>cn-zhangjiakou-na62-a01</Region>\\n <SavingsType>ECS</SavingsType>\\n <Tags>\\n <Value>标签1</Value>\\n <Key>标签1</Key>\\n </Tags>\\n </Items>\\n</Data>\\n<Code>Success</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '节省计划实例查询',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySavingsPlansInstance'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QuerySavingsPlansInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QuerySettleBill' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BillingCycle',
'in' => 'query',
'schema' => ['description' => '账期,YYYY-MM。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-07'],
],
[
'name' => 'Type',
'in' => 'query',
'schema' => ['description' => '类型。取值:'."\n"
.'- SubscriptionOrder 预付费订单'."\n"
.'- PayAsYouGoBill 后付费账单'."\n"
.'- Refund 退款账单'."\n"
.'- Adjustment 调账账单', 'type' => 'string', 'required' => false, 'example' => 'SubscriptionOrder'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription 预付费'."\n"
.'- PayAsYouGo 后付费'."\n"
.'> 必须和ProductCode参数一起使用。', 'type' => 'string', 'required' => false, 'example' => 'Subscription'],
],
[
'name' => 'IsHideZeroCharge',
'in' => 'query',
'schema' => ['description' => '根据原价(PretaxGrossAmount)是否为0做过滤,默认为否(兼容现有逻辑)。'."\n"
.'- true:是。'."\n"
.'- false:否。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '用来标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => 'CAESEgoQCg4KCmdtdF9jcmVhdGUEARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '本次读取的最大数据记录数量。默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号的ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '123'],
],
[
'name' => 'RecordID',
'in' => 'query',
'schema' => ['description' => '订单号、账单号。', 'type' => 'string', 'required' => false, 'example' => '12233'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE3F4057-DFC9-4B81-8858-F620651010C9'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕。', 'type' => 'string', 'example' => 'CAESEgoQCg4KCmdtdF9jcmVhdGUQARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U'],
'BillingCycle' => ['description' => '账期,YYYY-MM。', 'type' => 'string', 'example' => '2020-02'],
'MaxResults' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'AccountID' => ['description' => '账号ID。', 'type' => 'string', 'example' => '185xxxxx489'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
'AccountName' => ['description' => '账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'Items' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Item' => [
'description' => '账单详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => ['description' => '支付状态。取值:'."\n"
.'- PayFinish:已支付'."\n"
.'- PayUnclear:未结清'."\n"
.'- PayUnsettle:未结算'."\n"
.'- NoSettle:免结算', 'type' => 'string', 'example' => 'PayFinish'],
'RoundDownDiscount' => ['description' => '抹零优惠。', 'type' => 'string', 'example' => '0'],
'Item' => ['description' => '账单类型:'."\n"
.'- Subscription'."\n"
.'- OrderPayAsYouGoBill'."\n"
.'- Refund'."\n"
.'- Adjustment', 'type' => 'string', 'example' => 'Subscription'],
'Currency' => ['description' => '币种。'."\n"
.'- CNY'."\n"
.'- USD'."\n"
.'- JPY', 'type' => 'string', 'example' => 'CNY'],
'BillAccountName' => ['description' => '账单所属账号名称。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'DeductedByCashCoupons' => ['description' => '代金券抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'SubscriptionType' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription'."\n"
.'- PayAsYouGo', 'type' => 'string', 'example' => 'PayAsYouGo'],
'UsageStartTime' => ['description' => '账单开始时间。', 'type' => 'string', 'example' => '2020-03-11 07:00:00'],
'BizType' => ['description' => '业务类型。', 'type' => 'string', 'example' => 'trusteeship'],
'UsageEndTime' => ['description' => '账单结束时间。', 'type' => 'string', 'example' => '2020-03-11 08:00:00'],
'DeductedByCoupons' => ['description' => '优惠券抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'SubOrderId' => ['description' => '该条账单对应的订单明细ID。', 'type' => 'string', 'example' => '325345254353'],
'OutstandingAmount' => ['description' => '未结清金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'PaymentTime' => ['description' => '订单支付时间。', 'type' => 'string', 'example' => '2020-03-11 08:00:00'],
'PipCode' => ['description' => '产品Code,与费用中心账单产品Code一致', 'type' => 'string', 'example' => 'rds'],
'PretaxAmount' => ['description' => '应付金额。', 'type' => 'number', 'format' => 'float', 'example' => '100'],
'CommodityCode' => ['description' => '商品Code,与费用中心产品明细Code一致', 'type' => 'string', 'example' => 'rds'],
'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => '云数据库RDS'],
'RecordID' => ['description' => '订单号、账单号。', 'type' => 'string', 'example' => '2020xxxx5912'],
'AdjustAmount' => ['description' => '信用额度退款抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ProductDetail' => ['description' => '产品明细。', 'type' => 'string', 'example' => '关系型数据库RDS(包月)'],
'OwnerID' => ['description' => '子账号AccountID(多账号代付场景)。', 'type' => 'string', 'example' => '3532535235'],
'DeductedByPrepaidCard' => ['description' => '储值卡抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'BillAccountID' => ['description' => '账单所属账号ID。', 'type' => 'string', 'example' => '185xxxxx489'],
'PaymentAmount' => ['description' => '现金支付(包含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'InvoiceDiscount' => ['description' => '优惠金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ProductType' => ['description' => '产品类型。', 'type' => 'string', 'example' => 'rds'],
'PretaxGrossAmount' => ['description' => '原始金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'CashAmount' => ['description' => '现金支付(不包含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"AE3F4057-DFC9-4B81-8858-F620651010C9\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"NextToken\\": \\"CAESEgoQCg4KCmdtdF9jcmVhdGUQARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U\\",\\n \\"BillingCycle\\": \\"2020-02\\",\\n \\"MaxResults\\": 20,\\n \\"AccountID\\": \\"185xxxxx489\\",\\n \\"TotalCount\\": 200,\\n \\"AccountName\\": \\"test@test.aliyunid.com\\",\\n \\"Items\\": {\\n \\"Item\\": [\\n {\\n \\"Status\\": \\"PayFinish\\",\\n \\"RoundDownDiscount\\": \\"0\\",\\n \\"Item\\": \\"Subscription\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"BillAccountName\\": \\"test@test.aliyunid.com\\",\\n \\"DeductedByCashCoupons\\": 0,\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"UsageStartTime\\": \\"2020-03-11 07:00:00\\",\\n \\"BizType\\": \\"trusteeship\\",\\n \\"UsageEndTime\\": \\"2020-03-11 08:00:00\\",\\n \\"DeductedByCoupons\\": 0,\\n \\"SubOrderId\\": \\"325345254353\\",\\n \\"OutstandingAmount\\": 0,\\n \\"PaymentTime\\": \\"2020-03-11 08:00:00\\",\\n \\"PipCode\\": \\"rds\\",\\n \\"PretaxAmount\\": 100,\\n \\"CommodityCode\\": \\"rds\\",\\n \\"ProductName\\": \\"云数据库RDS\\",\\n \\"RecordID\\": \\"2020xxxx5912\\",\\n \\"AdjustAmount\\": 0,\\n \\"ProductDetail\\": \\"关系型数据库RDS(包月)\\",\\n \\"OwnerID\\": \\"3532535235\\",\\n \\"DeductedByPrepaidCard\\": 0,\\n \\"BillAccountID\\": \\"185xxxxx489\\",\\n \\"PaymentAmount\\": 0,\\n \\"InvoiceDiscount\\": 0,\\n \\"ProductType\\": \\"rds\\",\\n \\"PretaxGrossAmount\\": 0,\\n \\"CashAmount\\": 0,\\n \\"ProductCode\\": \\"rds\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>AE3F4057-DFC9-4B81-8858-F620651010C9</RequestId>\\n<Message>Successful!</Message>\\n<Data>\\n <TotalCount>200</TotalCount>\\n <BillingCycle>2020-02</BillingCycle>\\n <AccountID>185xxxxx489</AccountID>\\n <NextToken>CAESEgoQCg4KCmdtdF9jcmVhdGUQARgBIkgKCQBwhGmPcAEAAAo7AzYAAAAxTDgwMDcxMjg3ZDJhNmM3ZDguTDgwMDAwMDAwMDAwMzE1MTIuTDgwMDcyZDMyZTJkYzg3N2U</NextToken>\\n <MaxResults>20</MaxResults>\\n <AccountName>test@test.aliyunid.com</AccountName>\\n <Items>\\n <Item>\\n <AfterTaxAmount>0</AfterTaxAmount>\\n <ProductName>云数据库RDS</ProductName>\\n <BillAccountID>185xxxxx489</BillAccountID>\\n <SubOrderId>325345254353</SubOrderId>\\n <DeductedByCashCoupons>0</DeductedByCashCoupons>\\n <PaymentCurrency>USD</PaymentCurrency>\\n <Tax>0</Tax>\\n <PaymentTime>2020-03-11 08:00:00</PaymentTime>\\n <PaymentAmount>0</PaymentAmount>\\n <DeductedByPrepaidCard>0</DeductedByPrepaidCard>\\n <InvoiceDiscount>0</InvoiceDiscount>\\n <UsageEndTime>2020-03-11 08:00:00</UsageEndTime>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <Item>SubscriptionOrder</Item>\\n <PretaxGrossAmount>0</PretaxGrossAmount>\\n <Currency>CNY</Currency>\\n <CommodityCode>rds</CommodityCode>\\n <UsageStartTime>2020-03-11 07:00:00</UsageStartTime>\\n <AdjustAmount>0</AdjustAmount>\\n <PaymentTransactionID>2O3AADJFEAF2PDKSFAMFCB11918</PaymentTransactionID>\\n <Status>PayFinish</Status>\\n <DeductedByCoupons>0</DeductedByCoupons>\\n <RoundDownDiscount>0</RoundDownDiscount>\\n <ProductDetail>关系型数据库RDS(包月)</ProductDetail>\\n <ProductCode>rds</ProductCode>\\n <ProductType>rds</ProductType>\\n <OutstandingAmount>0</OutstandingAmount>\\n <BizType>trusteeship</BizType>\\n <PipCode>rds</PipCode>\\n <OwnerID>3532535235</OwnerID>\\n <PretaxAmount>100</PretaxAmount>\\n <BillAccountName>test@test.aliyunid.com</BillAccountName>\\n <RecordID>2020xxxx5912</RecordID>\\n <CashAmount>0</CashAmount>\\n <PretaxAmountLocal>0</PretaxAmountLocal>\\n </Item>\\n </Items>\\n</Data>\\n<Code>Success</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '结算账单查询服务',
'summary' => '查询用户某个账期内的结算账单。支持账单条目超过50000条的国内账号。',
'description' => '- 当月数据查询结果仅供参考,不作为对账依据;当月最终账单在次月2日12点后支持查看/导出(月中会发生包括但不限于以下少数场景:延迟出账,退款,调账,欠费核销等)。'."\n"
.'- 账单数据相对于实际费用消耗延迟5小时更新。'."\n"
.'- 账单数据中对于历史账期“未结清”状态的账单,还款后延迟5个小时更新为已结清;对于当月“未结清”状态的账单,还款后于次月2日12点出账时更新为已结清。'."\n"
.'- 当前API支持优雅退避,请求速率为600/60(s)。'."\n"
.'- 单用户限流10笔/秒,如遇超时,请重试。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QuerySettleBill'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QuerySettleBill',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QuerySkuPriceList' => [
'summary' => '通常一个产品功能会有1到多个SKU,有的产品会多达数万级别的SKU。'."\n"
.'本API是用来查询一个指定的产品功能下的SKU列表及其目录价。接口入参支持按照某种SKU配置的条件来进行过滤查询。',
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'CommodityCode',
'in' => 'query',
'schema' => ['description' => '商品code,可通过**QueryCommodityList**接口查询商品code。', 'type' => 'string', 'required' => true, 'example' => 'ecs'],
],
[
'name' => 'PriceEntityCode',
'in' => 'query',
'schema' => ['description' => '定价对象code,可通过**QueryPriceEntityList**接口查询定价对象code。', 'type' => 'string', 'required' => true, 'example' => 'instance_type'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页返回的数量,最大不能超过50', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
[
'name' => 'NextPageToken',
'in' => 'query',
'schema' => ['description' => '分页token,首页查询时传空,查询结果中返回下一页token地址。当结果token为空时表示全部查完。可通过查询结果中的**NextPageToken**字段获取下一页token。', 'type' => 'string', 'required' => false, 'example' => '080112060a0422020800180022490a470342000000315333303332363436363336333433393636333136333338333733373333333133373336363336323634363336363337333836333636333636313336363433363332'],
],
[
'name' => 'PriceFactorConditionMap',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => '定价因子条件集合,可通过**QueryPriceEntityList**接口查询定价因子code和定价因子值。',
'type' => 'object',
'required' => false,
'additionalProperties' => [
'type' => 'array',
'items' => ['type' => 'string', 'example' => '{"vm_region_no":"cn-shiwei-shenshu"}', 'description' => '定价因子值对'],
'description' => '定价对象因值集合',
],
],
],
[
'name' => 'Lang',
'in' => 'query',
'schema' => [
'description' => '语言,不填时默认为zh(中文)',
'type' => 'string',
'required' => false,
'enumValueTitles' => ['en' => '英文', 'zh' => '中文'],
'example' => 'en',
],
],
],
'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' => 'F5B803CF-94D8-43AF-ADB3-D819AAD30E27'],
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => 'Successful!'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'SkuPricePage' => [
'description' => '定价对象sku信息',
'type' => 'object',
'properties' => [
'TotalCount' => ['description' => 'sku总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '18732'],
'NextPageToken' => ['description' => '下一页的token', 'type' => 'string', 'example' => '080112060a0422020800180022490a470342000000315333303332363436363336333433393636333136333338333733373333333133373336363336323634363336363337333836333636333636313336363433363332'],
'SkuPriceList' => [
'description' => 'sku列表',
'type' => 'array',
'items' => [
'description' => 'sku对象',
'type' => 'object',
'properties' => [
'SkuCode' => ['description' => 'sku code', 'type' => 'string', 'example' => '017c15a31507bc6de22aa93777461adc'],
'CskuPriceList' => [
'description' => 'sku价格列表',
'type' => 'array',
'items' => [
'description' => 'sku价格对象',
'type' => 'object',
'properties' => [
'CskuCode' => ['description' => 'csku code,价格唯一编码', 'type' => 'string', 'example' => 'ac74dd7b52ae6389ddef099283fb8275'],
'Currency' => [
'description' => '币种',
'type' => 'string',
'enumValueTitles' => ['JPY' => '日元', 'SAR' => '沙特币', 'USD' => '美元', 'CNY' => '人民币'],
'example' => 'CNY',
],
'UsageUnit' => ['description' => '用量单位', 'type' => 'string', 'example' => '个'],
'PriceType' => [
'description' => '价格类型',
'type' => 'string',
'enumValueTitles' => ['usagePrice' => '使用量价', 'monthPrice' => '月价', 'dayPrice' => '天价', 'hourPrice' => '小时价', 'weekPrice' => '周价', 'yearPrice' => '年价', 'fixedPrice' => '一口价'],
'example' => 'hourPrice',
],
'PriceMode' => [
'description' => '定价模式',
'type' => 'string',
'enumValueTitles' => ['STEP_ACCUMULATION' => '阶梯累计', 'STEP_ARRIVE' => '阶梯到达', 'NORMAL_PRICE' => '非阶梯价'],
'example' => 'STEP_ARRIVE',
],
'Price' => [
'description' => '价格',
'type' => 'string',
'enumValueTitles' => [],
'example' => '100',
],
'PriceUnit' => ['description' => '价格单位', 'type' => 'string', 'example' => '美元/个'],
'RangeList' => [
'description' => '当PriceMode是STEP_ACCUMULATION 、STEP_ARRIVE时,本字段有值,指定Range范围;'."\n"
.'当PriceMode是'."\n"
.'NORMAL_PRICE时,本字段值是NULL',
'type' => 'array',
'items' => [
'description' => '区分对象',
'type' => 'object',
'properties' => [
'FactorCode' => ['description' => '因子code', 'type' => 'string', 'example' => '212fbd27866307fc79ecf06934a88b2c'],
'Min' => ['description' => '最小值', 'type' => 'string', 'example' => '1'],
'Max' => ['description' => '最大值', 'type' => 'string', 'example' => '10'],
'Type' => [
'description' => '区间闭合类型',
'type' => 'string',
'enumValueTitles' => ['LORC' => '左开右闭', 'LCRO' => '左闭右开', 'LCRC' => '左闭右闭', 'LORL' => '左开右开'],
'example' => 'LORC',
],
],
],
],
],
],
],
'SkuFactorMap' => [
'description' => '因子值集合',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => '{ "vm_region_no": "cn-zhangjiakou-na62-a01", "iooptimized": "optimized", "vm_os_kind": "windows", "instance_type": "ecs.i1.xlarge" }', 'description' => '因子值对'."\n"
."\n"
.'不同的商品的定价对象下有各自的因子,比如ecs商品的instance_type的因子有`vm_region_no,iooptimized,vm_os_kind,instance_type`'],
],
],
],
],
],
],
],
],
],
],
],
],
'title' => '查询商品定价对象下sku列表',
'changeSet' => [
['createdAt' => '2023-09-04T08:20:04.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2022-10-09T03:43:34.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySkuPriceList'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeProduct',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F5B803CF-94D8-43AF-ADB3-D819AAD30E27\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"SkuPricePage\\": {\\n \\"TotalCount\\": 18732,\\n \\"NextPageToken\\": \\"080112060a0422020800180022490a470342000000315333303332363436363336333433393636333136333338333733373333333133373336363336323634363336363337333836333636333636313336363433363332\\",\\n \\"SkuPriceList\\": [\\n {\\n \\"SkuCode\\": \\"017c15a31507bc6de22aa93777461adc\\",\\n \\"CskuPriceList\\": [\\n {\\n \\"CskuCode\\": \\"ac74dd7b52ae6389ddef099283fb8275\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"UsageUnit\\": \\"个\\",\\n \\"PriceType\\": \\"hourPrice\\",\\n \\"PriceMode\\": \\"STEP_ARRIVE\\",\\n \\"Price\\": \\"100\\",\\n \\"PriceUnit\\": \\"美元/个\\",\\n \\"RangeList\\": [\\n {\\n \\"FactorCode\\": \\"212fbd27866307fc79ecf06934a88b2c\\",\\n \\"Min\\": \\"1\\",\\n \\"Max\\": \\"10\\",\\n \\"Type\\": \\"LORC\\"\\n }\\n ]\\n }\\n ],\\n \\"SkuFactorMap\\": {\\n \\"key\\": \\"{ \\\\\\"vm_region_no\\\\\\": \\\\\\"cn-zhangjiakou-na62-a01\\\\\\", \\\\\\"iooptimized\\\\\\": \\\\\\"optimized\\\\\\", \\\\\\"vm_os_kind\\\\\\": \\\\\\"windows\\\\\\", \\\\\\"instance_type\\\\\\": \\\\\\"ecs.i1.xlarge\\\\\\" }\\"\\n }\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<QuerySkuPriceListResponse>\\n <RequestId>F5B803CF-94D8-43AF-ADB3-D819AAD30E27</RequestId>\\n <Code>Success</Code>\\n <Message>Successful!</Message>\\n <Success>true</Success>\\n <Data>\\n <SkuPricePage>\\n <TotalCount>18732</TotalCount>\\n <NextPageToken>080112060a0422020800180022490a470342000000315333303332363436363336333433393636333136333338333733373333333133373336363336323634363336363337333836333636333636313336363433363332</NextPageToken>\\n <SkuPriceList>\\n <SkuCode>017c15a31507bc6de22aa93777461adc</SkuCode>\\n <CskuPriceList>\\n <CskuCode>ac74dd7b52ae6389ddef099283fb8275</CskuCode>\\n <Currency>CNY</Currency>\\n <UsageUnit>个</UsageUnit>\\n <PriceType>hourPrice</PriceType>\\n <PriceMode>STEP_ARRIVE</PriceMode>\\n <Price>100</Price>\\n <PriceUnit>美元/个</PriceUnit>\\n <RangeList>\\n <FactorCode>212fbd27866307fc79ecf06934a88b2c</FactorCode>\\n <Min>1</Min>\\n <Max>10</Max>\\n <Type>LORC</Type>\\n </RangeList>\\n </CskuPriceList>\\n <SkuFactorMap>\\n <key>{\\"vm_region_no\\",\\"cn-qingdao-nebula\\"}</key>\\n </SkuFactorMap>\\n </SkuPriceList>\\n </SkuPricePage>\\n </Data>\\n</QuerySkuPriceListResponse>","errorExample":""}]',
],
'QuerySplitItemBill' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'BillingCycle',
'in' => 'query',
'schema' => ['description' => '账单日期,YYYY-MM。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2020-03'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值:'."\n"
.'Subscription:预付费。'."\n"
.'PayAsYouGo:后付费。'."\n"
.'说明:必须和ProductCode参数一起使用。', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => ['description' => '页码,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页数量,默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'BillOwnerId',
'in' => 'query',
'schema' => ['description' => '资源归属账号的ID,资源归属账号是实际使用资源的账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '-1', 'example' => '123'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据',
'type' => 'object',
'properties' => [
'PageNum' => ['description' => '页码,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'BillingCycle' => ['description' => '账单日期,格式:YYYY-MM。', 'type' => 'string', 'example' => '2020-03'],
'AccountID' => ['description' => '账号ID。', 'type' => 'string', 'example' => '185xxxx3489'],
'PageSize' => ['description' => '每页数量,默认值:20,最大值:300。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'AccountName' => ['description' => '用户账号。', 'type' => 'string', 'example' => 'test@test.aliyunid.com'],
'Items' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Item' => [
'description' => '账单详情。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'SplitAccountID' => ['description' => '分拆项所属账号AccountID。', 'type' => 'string', 'example' => '122'],
'SubscriptionType' => ['description' => '订阅类型,取值:'."\n"
.'Subscription:预付费。'."\n"
.'PayAsYouGo:后付费。'."\n"
.'说明:必须和ProductCode参数一起使用。'."\n", 'type' => 'string', 'example' => 'PayAsYouGo'],
'InstanceSpec' => ['description' => '实例规格。', 'type' => 'string', 'example' => 'ecs.sn1ne.3xlarge'],
'DeductedByCoupons' => ['description' => '优惠券优惠金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'Region' => ['description' => '地域。', 'type' => 'string', 'example' => 'cn-hangzhou'],
'OutstandingAmount' => ['description' => '未结清金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'PipCode' => ['description' => '产品Code,与费用中心账单产品Code一致', 'type' => 'string', 'example' => 'rds'],
'CommodityCode' => ['description' => '商品Code,与费用中心产品明细Code一致', 'type' => 'string', 'example' => 'rds'],
'NickName' => ['description' => '实例昵称。', 'type' => 'string', 'example' => 'test'],
'ProductDetail' => ['description' => '产品明细。', 'type' => 'string', 'example' => '云数据库RDS'],
'Usage' => ['description' => '用量, 仅当isBillingItem为true时有效。', 'type' => 'string', 'example' => '100'],
'IntranetIP' => ['description' => '内网IP。', 'type' => 'string', 'example' => '192.xx.xx.xx'],
'UsageUnit' => ['description' => '用量单位, 仅当isBillingItem为true时有效。', 'type' => 'string', 'example' => 'GB'],
'SplitCommodityCode' => ['description' => '分拆项商品Code。', 'type' => 'string', 'example' => 'rds'],
'ProductType' => ['description' => '产品类型。', 'type' => 'string', 'example' => 'rds'],
'DeductedByResourcePackage' => ['description' => '资源包抵扣。', 'type' => 'string', 'example' => 'NULL'],
'PaymentAmount' => ['description' => '现金支付。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'SplitBillingCycle' => ['description' => '分账月。', 'type' => 'string', 'example' => '2020-06'],
'ServicePeriod' => ['description' => '服务周期。', 'type' => 'string', 'example' => '10'],
'SplitItemName' => ['description' => '分拆项名称。', 'type' => 'string', 'example' => 'iZ28bycvyb4Z'],
'ListPrice' => ['description' => '单价, 仅当isBillingItem为true时有效。', 'type' => 'string', 'example' => '100'],
'Zone' => ['description' => '可用区。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
'PretaxGrossAmount' => ['description' => '原始金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'CashAmount' => ['description' => '现金支付(不包含信用额度退款抵扣)。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'InstanceConfig' => ['description' => '实例详细配置。', 'type' => 'string', 'example' => 'CPU:12'],
'BillingDate' => ['description' => '账单日期,格式YYYY-MM-DD。', 'type' => 'string', 'example' => '2020-01-20'],
'InternetIP' => ['description' => '公网IP。', 'type' => 'string', 'example' => '34.xx.x.x'],
'Item' => ['description' => '账单类型:'."\n"
.'SubscriptionOrder (预付订单)。'."\n"
.'PayAsYouGoBill (后付账单)。'."\n"
.'Refund (退款)。'."\n"
.'Adjustment (调账)。', 'type' => 'string', 'example' => 'PayAsYouGoBill'],
'SplitItemID' => ['description' => '分拆项ID。', 'type' => 'string', 'example' => 'i-28bycvyb4'],
'InstanceID' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'i-kjhdskjgshfdlkjfdh'],
'Tag' => ['description' => '标签。', 'type' => 'string', 'example' => 'tag'],
'Currency' => ['description' => '币种,取值:'."\n"
.'CNY。'."\n"
.'USD。'."\n"
.'JPY。', 'type' => 'string', 'example' => 'CNY'],
'DeductedByCashCoupons' => ['description' => '代金券抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'BillingItem' => ['description' => '计费项。', 'type' => 'string', 'example' => '其他'],
'CostUnit' => ['description' => '财务单元。', 'type' => 'string', 'example' => '未分配'],
'ListPriceUnit' => ['description' => '单价单位, 仅当isBillingItem为true时有效。', 'type' => 'string', 'example' => '元'],
'ResourceGroup' => ['description' => '资源组。', 'type' => 'string', 'example' => '默认资源组'],
'PretaxAmount' => ['description' => '应付金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'ServicePeriodUnit' => ['description' => '服务时长单位。', 'type' => 'string', 'example' => '秒'],
'ProductName' => ['description' => '产品名称。', 'type' => 'string', 'example' => '云数据库RDS'],
'SplitProductDetail' => ['description' => '分拆项产品明细名称。', 'type' => 'string', 'example' => 'rds'],
'AdjustAmount' => ['description' => '信用额度退款抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'OwnerID' => ['description' => '子账号AccountID(多账号代付场景)。', 'type' => 'string', 'example' => '169***013'],
'DeductedByPrepaidCard' => ['description' => '储值卡抵扣。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'InvoiceDiscount' => ['description' => '优惠金额。', 'type' => 'number', 'format' => 'float', 'example' => '0'],
'SplitAccountName' => ['description' => '分拆项所属账号名称。', 'type' => 'string', 'example' => '12@test.com'],
'BillingType' => ['description' => '计费方式。', 'type' => 'string', 'example' => '其它'],
'ProductCode' => ['description' => '产品代码。', 'type' => 'string', 'example' => 'rds'],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNum\\": 1,\\n \\"BillingCycle\\": \\"2020-03\\",\\n \\"AccountID\\": \\"185xxxx3489\\",\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2,\\n \\"AccountName\\": \\"test@test.aliyunid.com\\",\\n \\"Items\\": {\\n \\"Item\\": [\\n {\\n \\"SplitAccountID\\": \\"122\\",\\n \\"SubscriptionType\\": \\"PayAsYouGo\\",\\n \\"InstanceSpec\\": \\"ecs.sn1ne.3xlarge\\",\\n \\"DeductedByCoupons\\": 0,\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"OutstandingAmount\\": 0,\\n \\"PipCode\\": \\"rds\\",\\n \\"CommodityCode\\": \\"rds\\",\\n \\"NickName\\": \\"test\\",\\n \\"ProductDetail\\": \\"云数据库RDS\\",\\n \\"Usage\\": \\"100\\",\\n \\"IntranetIP\\": \\"192.xx.xx.xx\\",\\n \\"UsageUnit\\": \\"GB\\",\\n \\"SplitCommodityCode\\": \\"rds\\",\\n \\"ProductType\\": \\"rds\\",\\n \\"DeductedByResourcePackage\\": \\"NULL\\",\\n \\"PaymentAmount\\": 0,\\n \\"SplitBillingCycle\\": \\"2020-06\\",\\n \\"ServicePeriod\\": \\"10\\",\\n \\"SplitItemName\\": \\"iZ28bycvyb4Z\\",\\n \\"ListPrice\\": \\"100\\",\\n \\"Zone\\": \\"cn-hangzhou-h\\",\\n \\"PretaxGrossAmount\\": 0,\\n \\"CashAmount\\": 0,\\n \\"InstanceConfig\\": \\"CPU:12\\",\\n \\"BillingDate\\": \\"2020-01-20\\",\\n \\"InternetIP\\": \\"34.xx.x.x\\",\\n \\"Item\\": \\"PayAsYouGoBill\\",\\n \\"SplitItemID\\": \\"i-28bycvyb4\\",\\n \\"InstanceID\\": \\"i-kjhdskjgshfdlkjfdh\\",\\n \\"Tag\\": \\"tag\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"DeductedByCashCoupons\\": 0,\\n \\"BillingItem\\": \\"其他\\",\\n \\"CostUnit\\": \\"未分配\\",\\n \\"ListPriceUnit\\": \\"元\\",\\n \\"ResourceGroup\\": \\"默认资源组\\",\\n \\"PretaxAmount\\": 0,\\n \\"ServicePeriodUnit\\": \\"秒\\",\\n \\"ProductName\\": \\"云数据库RDS\\",\\n \\"SplitProductDetail\\": \\"rds\\",\\n \\"AdjustAmount\\": 0,\\n \\"OwnerID\\": \\"169***013\\",\\n \\"DeductedByPrepaidCard\\": 0,\\n \\"InvoiceDiscount\\": 0,\\n \\"SplitAccountName\\": \\"12@test.com\\",\\n \\"BillingType\\": \\"其它\\",\\n \\"ProductCode\\": \\"rds\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>79EE7556-0CFD-44EB-9CD6-B3B526E3A85F</RequestId>\\n<Message>Successful!</Message>\\n<Data>\\n <BillingCycle>2020-03</BillingCycle>\\n <TotalCount>2</TotalCount>\\n <AccountID>185xxxx3489</AccountID>\\n <PageNum>1</PageNum>\\n <PageSize>20</PageSize>\\n <Items>\\n <Item>\\n <InstanceSpec>ecs.sn1ne.3xlarge</InstanceSpec>\\n <ProductName>云数据库RDS</ProductName>\\n <InstanceID>i-kjhdskjgshfdlkjfdh</InstanceID>\\n <DeductedByCashCoupons>0</DeductedByCashCoupons>\\n <ListPriceUnit>元</ListPriceUnit>\\n <BillingDate/>\\n <ListPrice>100</ListPrice>\\n <PaymentAmount>0</PaymentAmount>\\n <DeductedByPrepaidCard>0</DeductedByPrepaidCard>\\n <InvoiceDiscount>0</InvoiceDiscount>\\n <SplitItemName>iZ28bycvyb4Z</SplitItemName>\\n <SubscriptionType>PayAsYouGo</SubscriptionType>\\n <Item>PayAsYouGoBill</Item>\\n <PretaxGrossAmount>0</PretaxGrossAmount>\\n <InstanceConfig>CPU:12</InstanceConfig>\\n <Currency>CNY</Currency>\\n <CostUnit>未分配</CostUnit>\\n <ResourceGroup>默认资源组</ResourceGroup>\\n <BillingType>其它</BillingType>\\n <Usage>100</Usage>\\n <DeductedByCoupons>0</DeductedByCoupons>\\n <ProductDetail>云数据库RDS</ProductDetail>\\n <ProductCode>rds</ProductCode>\\n <Zone>cn-hangzhou-h</Zone>\\n <ProductType>rds</ProductType>\\n <OutstandingAmount>0</OutstandingAmount>\\n <BillingItem>其他</BillingItem>\\n <NickName>test</NickName>\\n <IntranetIP>192.xx.xx.xx</IntranetIP>\\n <ServicePeriod>10</ServicePeriod>\\n <SplitItemID>i-28bycvyb4</SplitItemID>\\n <DeductedByResourcePackage>NULL</DeductedByResourcePackage>\\n <UsageUnit>GB</UsageUnit>\\n <OwnerID>169***013</OwnerID>\\n <PretaxAmount>0</PretaxAmount>\\n <InternetIP>34.xx.x.x</InternetIP>\\n <Region>cn-hangzhou</Region>\\n <Tag>tag</Tag>\\n </Item>\\n </Items>\\n <AccountName>test@test.aliyunid.com</AccountName>\\n</Data>\\n<Code>Success</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '查询分账账单',
'summary' => '查询分账账单。分账账单 API 已升级,请使用新版API:DescribeSplitItemBill。',
'description' => '- 分账账单API已升级,请使用新版API:[DescribeSplitItemBill](~~208169~~)。此API不再提供50000行以后数据的查询。'."\n"
.'- 与费用中心-分账账单账期数据一致'."\n"
.'- 分账账单提供12月内账期数据查询'."\n"
.'- 本数据需要用户在控制台[分账账单](https://usercenter2.aliyun.com/finance/split-bill)页面开通后才可提供',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QuerySplitItemBill'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QuerySplitItemBill',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryUserOmsData' => [
'summary' => '根据传入的云产品查询相应的计量记录。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'Table',
'in' => 'query',
'schema' => ['description' => '用量数据产品和明细信息,一般为ProductCode,不同产品存在多种计量模型。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rds'],
],
[
'name' => 'DataType',
'in' => 'query',
'schema' => ['description' => '计量数据时间类型,参考具体产品文档描述选用。'."\n"
.'- Raw:小时。'."\n"
.'- Hour:小时。'."\n"
.'- Day:天。'."\n"
.'- Month:月。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Hour'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => '请求的开始时间。'."\n"
."\n"
.'日期格式按照ISO8601标准标示,并需要使用UTC时间。格式:yyyy-mm-ddThh:mm:ssZ。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2020-02-20T12:00:00Z'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => '请求的结束时间。'."\n"
."\n"
.'日期格式按照ISO8601标准标示,并需要使用UTC时间。格式:yyyy-mm-ddThh:mm:ssZ。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2020-02-21T12:00:00Z'],
],
[
'name' => 'Marker',
'in' => 'query',
'schema' => ['description' => '设定结果从NextToken之后按字母排序的第一个开始返回。默认从头返回。', 'type' => 'string', 'required' => false, 'example' => 'NextToken'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页查询每页行数,1~200,默认值100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'Marker' => ['description' => '下页开始NextToken字段,如为空或无此项表示已无数据。', 'type' => 'string', 'example' => 'NextToken'],
'HostId' => ['description' => '主机ID。', 'type' => 'string', 'example' => 'cn'],
'OmsData' => [
'type' => 'array',
'items' => ['description' => 'OMS数据列表。', 'type' => 'object', 'example' => '[{ "SyncIn": "0", "Bucket": "quota_for_get_service_", "NetworkIn": "0", "PutRequest": "1", "NetworkOut": "0", "GetRequest": "0", "ProcessImgSize": "0", "SyncOut": "0", "Storage": "0", "Region": "ap-northeast-1", "ProviderId": "26842", "CdnIn": "0", "EndTime": "2019-09-03T16:00:00Z", "StartTime": "2019-09-02T16:00:00Z", "StorageType": "standard", "CdnOut": "0"}]'],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Marker\\": \\"NextToken\\",\\n \\"HostId\\": \\"cn\\",\\n \\"OmsData\\": [\\n [\\n {\\n \\"SyncIn\\": \\"0\\",\\n \\"Bucket\\": \\"quota_for_get_service_\\",\\n \\"NetworkIn\\": \\"0\\",\\n \\"PutRequest\\": \\"1\\",\\n \\"NetworkOut\\": \\"0\\",\\n \\"GetRequest\\": \\"0\\",\\n \\"ProcessImgSize\\": \\"0\\",\\n \\"SyncOut\\": \\"0\\",\\n \\"Storage\\": \\"0\\",\\n \\"Region\\": \\"ap-northeast-1\\",\\n \\"ProviderId\\": \\"26842\\",\\n \\"CdnIn\\": \\"0\\",\\n \\"EndTime\\": \\"2019-09-03T16:00:00Z\\",\\n \\"StartTime\\": \\"2019-09-02T16:00:00Z\\",\\n \\"StorageType\\": \\"standard\\",\\n \\"CdnOut\\": \\"0\\"\\n }\\n ]\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryUserOmsDataResponse>\\n <Message>Successful!</Message>\\n <RequestId>6000EE23-274B-4E07-A697-FF2E999520A4</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <OmsData>\\n <SyncIn>0</SyncIn>\\n <Bucket>quota_for_get_service_</Bucket>\\n <NetworkIn>0</NetworkIn>\\n <PutRequest>1</PutRequest>\\n <NetworkOut>0</NetworkOut>\\n <GetRequest>0</GetRequest>\\n <ProcessImgSize>0</ProcessImgSize>\\n <SyncOut>0</SyncOut>\\n <Storage>0</Storage>\\n <Region>ap-northeast-1</Region>\\n <ProviderId>26842</ProviderId>\\n <CdnIn>0</CdnIn>\\n <EndTime>2019-09-02T16:00:00Z</EndTime>\\n <StartTime>2019-09-01T16:00:00Z</StartTime>\\n <StorageType>standard</StorageType>\\n <CdnOut>0</CdnOut>\\n </OmsData>\\n <OmsData>\\n <SyncIn>0</SyncIn>\\n <Bucket>quota_for_get_service_</Bucket>\\n <NetworkIn>0</NetworkIn>\\n <PutRequest>1</PutRequest>\\n <NetworkOut>0</NetworkOut>\\n <GetRequest>0</GetRequest>\\n <ProcessImgSize>0</ProcessImgSize>\\n <SyncOut>0</SyncOut>\\n <Storage>0</Storage>\\n <Region>ap-northeast-1</Region>\\n <ProviderId>26842</ProviderId>\\n <CdnIn>0</CdnIn>\\n <EndTime>2019-09-03T16:00:00Z</EndTime>\\n <StartTime>2019-09-02T16:00:00Z</StartTime>\\n <StorageType>standard</StorageType>\\n <CdnOut>0</CdnOut>\\n </OmsData>\\n <HostId>cn</HostId>\\n </Data>\\n</QueryUserOmsDataResponse>","errorExample":""}]',
'title' => '根据传入的云产品查询相应的计量记录',
'description' => '## API描述'."\n"
.'- 传入云产品参数必须在以下云产品code中,计量数据类型有小时、天类型。'."\n"
.'- 传入时间格式按照ISO8601标准,时间规范约束:'."\n"
.' - 由于数据推送存在一定延时,按小时类型能保证24小时前计量数据完整性,按天类型能保证2天前计量数据完整性。'."\n"
.' - 时间跨度上,可取最近一个季度的计量数据。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryUserOmsData'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeUserOmsData',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'RefundInstance' => [
'summary' => '调用本接口退订不再需要的实例。',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['title' => 'clientToken', 'description' => '需要幂等场景必填。UUID生成的字符串。此字段用于幂等,多次调用传入同样的值,会返回第一次的结果。调用后如果返回了结果,可以解析到退款订单编号,代表调用成功。', 'type' => 'string', 'required' => false, 'example' => '793F021C-B589-1225-82A9-99232AEBE494'],
],
[
'name' => 'ImmediatelyRelease',
'in' => 'query',
'schema' => ['title' => 'immediatelyRelease', 'description' => '退订场景必填。1:标识立即释放。0:标识先停机,根据停机策略停机。仅部分商品支持。默认都是立即释放。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['title' => 'productCode', 'description' => '退订场景必填,产品code。如果调用后错误码提示产品不支持,可提交工单申请云产品允许开通此功能。', 'type' => 'string', 'required' => false, 'example' => 'ecs'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['title' => 'instanceId', 'description' => '退订场景必填,实例id,非自定义名称。', 'type' => 'string', 'required' => false, 'example' => 'i-bp1etb69sqxgl4*******'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['title' => 'productType', 'description' => '退订场景必填,产品类型,无特殊说明传入空字符串。在调试工具上,无需手动输入,鼠标放到输入框上,会弹出"输入空字符串"的按钮,点击此按钮即可。通过代码发起退订时,传入英文字符下的空字符串 ""。', 'type' => 'string', 'required' => false, 'example' => '空字符串'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'result',
'description' => 'result',
'type' => 'object',
'properties' => [
'Message' => ['title' => 'message', 'description' => '执行结果说明', 'type' => 'string', 'example' => 'success'],
'RequestId' => ['title' => 'requestId', 'description' => '执行链路追踪字符串,排查问题时,可以提供给平台。', 'type' => 'string', 'example' => 'UUID'],
'Data' => [
'title' => 'data',
'description' => 'data',
'type' => 'object',
'properties' => [
'HostId' => ['title' => 'hostId', 'description' => '执行主机所在站点', 'type' => 'string', 'example' => 'cn'],
'OrderId' => ['title' => 'orderId', 'description' => '退订成功的情况下,返回退款订单id', 'type' => 'integer', 'format' => 'int64', 'example' => '2100000000***'],
],
],
'Code' => ['title' => 'code', 'description' => '响应码', 'type' => 'string', 'example' => 'ResourceNotExists'],
'Success' => ['title' => 'success', 'description' => 'success=true代表调用执行完成。success=false代表执行出现错误。', 'type' => 'boolean', 'example' => 'false'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceNotExists', 'errorMessage' => 'The specific resource is not exists.', 'description' => ''],
['errorCode' => 'ResourceStatusError', 'errorMessage' => 'The resource status error.', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner does not belong to caller.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified request contains invalid parameters.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'The specified request lacks essential parameters.', 'description' => ''],
['errorCode' => 'NotApplicable', 'errorMessage' => 'The specified API is not applicable for the user.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'The user is not authorized for the specified API.', 'description' => ''],
['errorCode' => 'BindMirrorInstanceError', 'errorMessage' => 'Charged images that are related to ECS.', 'description' => ''],
['errorCode' => 'ExceedRefundQuotaError', 'errorMessage' => 'The number of unsubscription times has reached the upper limit.', 'description' => ''],
['errorCode' => 'ExistUnPaidOrderError', 'errorMessage' => 'The instance has an unsettled order.', 'description' => ''],
['errorCode' => 'ExistRefundingOrderError', 'errorMessage' => 'The instance ID is invalid: the instance may have expired, been refunded, or been released.', 'description' => ''],
['errorCode' => 'NoRestValueError', 'errorMessage' => 'The refund amount is 0.', 'description' => ''],
['errorCode' => 'AmbassadorOrderLimitError', 'errorMessage' => 'The instance has an ambassador order that may raise risks.', 'description' => ''],
['errorCode' => 'ActivityForbiddenError', 'errorMessage' => 'Promotional orders do not support refunds.', 'description' => ''],
['errorCode' => 'ProductCheckError', 'errorMessage' => 'The cloud service failed SPI preflight verification.', 'description' => ''],
['errorCode' => 'CommodityNotSupported', 'errorMessage' => 'The specified commodity is not supported.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'An error occurred in the internal server.', 'description' => '系统异常,请重试'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"UUID\\",\\n \\"Data\\": {\\n \\"HostId\\": \\"cn\\",\\n \\"OrderId\\": 0\\n },\\n \\"Code\\": \\"ResourceNotExists\\",\\n \\"Success\\": false\\n}","type":"json"}]',
'title' => '退订实例',
'description' => '1. 退订只退还实付金额的部分,已使用的代金券不退还。'."\n"
."\n"
.'2. 请仔细核对退订资源的信息,并确认退订条款和退订金额,资源一经退订无法恢复。'."\n"
."\n"
.'1. 该接口仅支持直销客户调用,分销客户无法使用。'."\n"
."\n"
.'4. 其他问题请参照:<props="china">[退订规则](https://help.aliyun.com/knowledge_detail/116043.html?spm=a2c81.e1d666e.app.2.62ae11271Kd6iM)</props><props="intl">[国际站退订规则说明](https://www.alibabacloud.com/help/zh/user-center/user-guide/refund-rules)</props>',
'extraInfo' => '**针对部分业务规则拦截返回的错误码的解释**'."\n"
."\n"
.'- ResourceNotExists:实例不存在'."\n"
.'- ResourceStatusError:实例状态不对'."\n"
.'- BindMirrorInstanceError:ecs有关联的收费镜像'."\n"
.'- ExceedRefundQuotaError:退订次数超过quota配额上限'."\n"
.'- ExistUnPaidOrderError:实例下存在未支付订单'."\n"
.'- ExistRefundingOrderError:无效实例ID(实例已到期或已退款或已释放)'."\n"
.'- NoRestValueError:退款金额为0'."\n"
.'- AmbassadorOrderLimitError:实例下有云大使订单'."\n"
.'- ActivityForbiddenError:活动订单禁止退款'."\n"
.'- ProductCheckError:云产品规则预校验未通过',
'changeSet' => [
['createdAt' => '2022-12-26T09:13:22.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RefundInstance'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:RefundBatchRemainRefund',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ReleaseInstance' => [
'summary' => '国家云虚商侧主动释放实例。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['title' => 'productCode', 'description' => '产品代码', 'type' => 'string', 'required' => true, 'example' => 'ecs'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['title' => 'subscriptionType', 'description' => '付费类型'."\n"
."\n"
.'Subscription:预付费'."\n"
."\n"
.'PayAsYouGo:后付费', 'type' => 'string', 'required' => true, 'example' => 'PayAsYouGo'],
],
[
'name' => 'InstanceIds',
'in' => 'query',
'schema' => ['title' => 'instanceIds', 'description' => '实例ID。多个ID用英文逗号分隔,最大不超过100个。', 'type' => 'string', 'required' => true, 'example' => 'rm-xxxxxxxxxxxx'],
],
[
'name' => 'RenewStatus',
'in' => 'query',
'schema' => ['title' => 'renewStatus', 'description' => '续费状态,取值:'."\n"
."\n"
.'AutoRenewal:自动续费'."\n"
."\n"
.'ManualRenewal:手动续费'."\n"
."\n"
.'NotRenewal:不续费', 'type' => 'string', 'required' => false, 'example' => 'AutoRenewal'],
],
[
'name' => 'Region',
'in' => 'query',
'schema' => ['title' => 'region', 'description' => '地域', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['title' => 'productType', 'description' => '产品类型', 'type' => 'string', 'required' => false, 'example' => 'ecs'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'result',
'description' => 'result',
'type' => 'object',
'properties' => [
'Message' => ['title' => 'message', 'description' => '执行结果说明', 'type' => 'string', 'example' => 'successful'],
'RequestId' => ['title' => 'requestId', 'description' => '执行链路追踪字符串,排查问题时,可以提供给平台', 'type' => 'string', 'example' => 'UUID'],
'Data' => [
'description' => 'data',
'type' => 'object',
'properties' => [
'ReleaseResult' => ['title' => 'releaseResult', 'description' => '释放是否成功', 'type' => 'boolean', 'example' => 'true'],
'HostId' => ['title' => 'hostId', 'description' => '执行主机所在站点', 'type' => 'string', 'example' => 'cn'],
],
],
'Code' => ['title' => 'code', 'description' => '响应码', 'type' => 'string', 'example' => 'Invalid_Product_Code'],
'Success' => ['title' => 'success', 'description' => 'success=true代表调用执行完成'."\n"
."\n"
.'success=false代表执行出现错误', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => '幂等参数错误'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"UUID\\",\\n \\"Data\\": {\\n \\"ReleaseResult\\": true,\\n \\"HostId\\": \\"cn\\"\\n },\\n \\"Code\\": \\"Invalid_Product_Code\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '释放实例',
'description' => '本接口仅提供虚商伙伴使用,用于主动释放终端用户账下实例'."\n"
.'非指定虚商伙伴调用此接口,会被校验拦截。',
'changeSet' => [
['createdAt' => '2022-05-11T01:18:01.000Z', 'description' => 'OpenAPI 下线'],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'bss:ReleaseInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'RelieveAccountRelation' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'RelationType',
'in' => 'query',
'schema' => ['description' => '关系类型,目前仅支持enterprise_group', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'enterprise_group'],
],
[
'name' => 'ParentUserId',
'in' => 'query',
'schema' => ['description' => '主账号的阿里云UID,【parentUserId,childUserId,RelationType】 或者【relationId】必须填写一组', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '-9223372036854775808', 'example' => '1738376485192612'],
],
[
'name' => 'ChildUserId',
'in' => 'query',
'schema' => ['description' => '子账号的阿里云账号UID,【parentUserId,childUserId,RelationType】 或者【relationId】必须填写一组', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '-9223372036854775808', 'example' => '1512996702208737'],
],
[
'name' => 'RequestId',
'in' => 'query',
'schema' => ['description' => '请求唯一标识,用于标记一次请求,便于定位问题', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'request_id'],
],
[
'name' => 'RelationId',
'in' => 'query',
'schema' => ['description' => '账号关联id,【parentUserId,childUserId,RelationType】 或者【relationId】必须填写一组', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => 'RelationId'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => '返回消息'],
'RequestId' => ['description' => '唯一请求业务标识', 'type' => 'string', 'example' => 'request_id'],
'Success' => ['description' => '请求处理是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据',
'type' => 'object',
'properties' => [
'HostId' => ['description' => 'hostid', 'type' => 'string', 'example' => 'HostId'],
],
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"返回消息\\",\\n \\"RequestId\\": \\"request_id\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"HostId\\": \\"HostId\\"\\n }\\n}","type":"json"}]',
'title' => '解除账号关联',
'summary' => '解除主、子账号关联。',
'changeSet' => [
['createdAt' => '2021-12-14T14:50:34.000Z', 'description' => '请求参数发生变更、错误码发生变更'],
],
'ramActions' => [],
],
'RenewChangeInstance' => [
'summary' => '对一个实例续费的同时进行变配操作,实际变配时间,是续费订单生效的时间,并自动支付。不支持ECS和RDS系列产品的创建。',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码,可通过接口**QueryProductList**查询产品代码,或查看**阿里云产品Code速查手册**。', 'type' => 'string', 'required' => true, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'rm-skjdhaskjdh'],
],
[
'name' => 'Parameter',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '模块列表',
'type' => 'array',
'items' => [
'description' => '模块信息',
'type' => 'object',
'properties' => [
'Value' => ['description' => '第n个模块属性value配置,n的取值范围为(1~100)。', 'type' => 'string', 'required' => true, 'example' => 'disk'],
'Code' => ['description' => '第n个模块属性code配置,n的取值范围为(1~100),如有多个模块属性参数,按照n=1,2,3…n的形式拼接多个参数。', 'type' => 'string', 'required' => true, 'example' => 'Bandwidth'],
],
'required' => false,
],
'required' => false,
'maxItems' => 100,
],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '用于保证请求的幂等性。', 'type' => 'string', 'required' => false, 'example' => 'JASIOFKVNVIXXXXXX'],
],
[
'name' => 'RenewPeriod',
'in' => 'query',
'schema' => ['description' => '预付费续费时长,单位:月。取值:'."\n"
.'- 1~9。'."\n"
.'- 12。'."\n"
.'- 24。'."\n"
.'- 36。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2'],
],
],
'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' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'Success' => ['description' => 'success=true代表调用执行完成。success=false代表执行出现错误。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'OrderId' => ['description' => '创建成功的订单ID。', 'type' => 'string', 'example' => '202407022550621'],
'HostId' => ['description' => '执行主机所在站点', 'type' => 'string', 'example' => '100.100.64.1:8150'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ResourceNotExists', 'errorMessage' => 'The specific resource is not exists. ', 'description' => ''],
['errorCode' => 'ORDER.ACCOUNT_STATUS_ILLEGAL ', 'errorMessage' => 'Please complete your basic personal information first. ', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError ', 'errorMessage' => 'The request processing has failed due to some unknown error. ', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"OrderId\\": \\"202407022550621\\",\\n \\"HostId\\": \\"100.100.64.1:8150\\"\\n }\\n}","type":"json"}]',
'title' => '续费变配服务',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'bss:RenewChangeInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'RenewInstance' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rds'],
],
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rm-skjdhaskjdh'],
],
[
'name' => 'RenewPeriod',
'in' => 'query',
'schema' => ['description' => '预付费续费时长,单位:月。取值:'."\n"
.'- 1~9。'."\n"
.'- 12。'."\n"
.'- 24。'."\n"
.'- 36。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '6'],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['description' => '用于保证请求的幂等性。', 'type' => 'string', 'required' => false, 'example' => 'ASKJHKLASJHAFSLKJH'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '202657601410661'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
['errorCode' => 'ResourceStatusError', 'errorMessage' => 'The resource status error.', 'description' => ''],
['errorCode' => 'ResourceNotExists', 'errorMessage' => 'The specific resource is not exists.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"OrderId\\": \\"202657601410661\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RenewInstanceResponse>\\n <Message>Successful!</Message>\\n <RequestId>6000EE23-274B-4E07-A697-FF2E999520A4</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <OrderId>202657601410661</OrderId>\\n </Data>\\n</RenewInstanceResponse>","errorExample":""}]',
'title' => '实例续费服务',
'summary' => '对相关实例进行续费。不支持ECS、RDS、REDIS产品类实例的续费,请查找对应产品的专用续费API执行续费。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ModifyInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'RenewResourcePackage' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '用户实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'lskd****sljhsdj'],
],
[
'name' => 'EffectiveDate',
'in' => 'query',
'schema' => ['description' => '资源包生效时间,不填默认立即生效。'."\n"
."\n"
.'日期格式按照ISO8601标准表示,并需要使用UTC时间。格式为:yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2020-02-02T12:00:00Z'],
],
[
'name' => 'Duration',
'in' => 'query',
'schema' => ['description' => '资源包续费时长。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PricingCycle',
'in' => 'query',
'schema' => ['description' => '资源包时长单位,取值:'."\n"
.'- Month'."\n"
.'- Year'."\n"
."\n"
.'默认为Month。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Month'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'OrderId' => ['description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '204322301110333'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'OrderId' => ['description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '204322560333'],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'OSSBAG-cn-0xl0n****003'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'Absent some mandatory parameter for this request.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'This request contain some invalid parameter', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
['errorCode' => 'DurationInvalid', 'errorMessage' => 'Parameter duration can only be positive integer.', 'description' => ''],
['errorCode' => 'ProductNotFound', 'errorMessage' => 'Product not found.', 'description' => ''],
['errorCode' => 'PackageTypeNotFound', 'errorMessage' => 'No such resource package type found.', 'description' => ''],
['errorCode' => 'SpecificationInvalid', 'errorMessage' => 'Parameter specification can only be positive integer.', 'description' => ''],
['errorCode' => 'IdInvalid', 'errorMessage' => 'Parameter ownerId is invalid.', 'description' => ''],
['errorCode' => 'EffectiveDateInvalid', 'errorMessage' => 'Parameter effectiveDate is invalid.', 'description' => ''],
['errorCode' => 'IdMissing', 'errorMessage' => 'Paramter ownerId is missing.', 'description' => ''],
['errorCode' => 'PackageTypeNotSupported', 'errorMessage' => 'Package type currently is not supported.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 204322301110333,\\n \\"Data\\": {\\n \\"OrderId\\": 204322560333,\\n \\"InstanceId\\": \\"OSSBAG-cn-0xl0n****003\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RenewResourcePackageResponse>\\n <Message>Successful!</Message>\\n <RequestId>6000EE23-274B-4E07-A697-FF2E999520A4</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n <Data>\\n <InstanceId>OSSBAG-cn-0xl0****d003</InstanceId>\\n <OrderId>204322301110333</OrderId>\\n </Data>\\n</RenewResourcePackageResponse>","errorExample":""}]',
'title' => '资源包续费服务',
'summary' => '为用户某个资源包实例续费。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RenewResourcePackage'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:CreateResourcePackage',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'SetAllExpirationDay' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'UnifyExpireDay',
'in' => 'query',
'schema' => ['description' => '当前统一到期日设置只支持未过期云服务器ECS实例,已过期实例无法对齐统一到期日。设置完成后,可在续费时对齐设置的统一到期时间'."\n"
."\n"
.'日期范围:每月1号至28号', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => '返回信息'],
'RequestId' => ['description' => '请求标识', 'type' => 'string', 'example' => '请求标识'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"返回信息\\",\\n \\"RequestId\\": \\"请求标识\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<Message>返回信息</Message>\\n<RequestId>请求标识</RequestId>\\n<Code>200</Code>\\n<Success>true</Success>","errorExample":""}]',
'title' => '设置ECS统一到期日',
'summary' => '为ECS实例的续费设置统一到期日。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetAllExpirationDay'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyPrepaidInstanceAutoRenew',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'SetRenewal' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'RenewalPeriod',
'in' => 'query',
'schema' => ['description' => '设置实例自动续费时长,取值:'."\n"
.'- 1。'."\n"
.'- 2。'."\n"
.'- 3。'."\n"
.'- 6。'."\n"
.'- 12。'."\n"
."\n"
.'> 当RenewalStatus= AutoRenewal时,必须设置。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'InstanceIDs',
'in' => 'query',
'schema' => ['description' => '实例ID,支持批量设置最多100个包年包月实例,多个实例ID以英文逗号分隔。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rm-askjdhaskfjh'],
],
[
'name' => 'ProductCode',
'in' => 'query',
'schema' => ['description' => '产品代码。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rds'],
],
[
'name' => 'ProductType',
'in' => 'query',
'schema' => ['description' => '产品类型。', 'type' => 'string', 'required' => false, 'example' => 'rds'],
],
[
'name' => 'SubscriptionType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值:'."\n"
.'- Subscription:预付费。'."\n"
.'- PayAsYouGo:后付费。', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'],
],
[
'name' => 'RenewalPeriodUnit',
'in' => 'query',
'schema' => ['description' => '自动续费周期单位,取值:'."\n"
.'- M:月。'."\n"
.'- Y:年。'."\n"
."\n"
.'> 当RenewalStatus= AutoRenewal时,必须设置。', 'type' => 'string', 'required' => false, 'example' => 'M'],
],
[
'name' => 'RenewalStatus',
'in' => 'query',
'schema' => ['description' => '续费状态,取值:'."\n"
.'- AutoRenewal:自动续费。'."\n"
.'- ManualRenewal:手动续费。'."\n"
.'- NotRenewal:不续费。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AutoRenewal'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SetRenewalResponse>\\n <Message>Successful!</Message>\\n <RequestId>6000EE23-274B-4E07-A697-FF2E999520A4</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n</SetRenewalResponse>","errorExample":""}]',
'title' => '设置实例自动续费服务',
'summary' => '调用SetRenewal为一个实例设置自动续费服务。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetRenewal'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyPrepaidInstanceAutoRenew',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'SetResellerUserAlarmThreshold' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AlarmType',
'in' => 'query',
'schema' => ['description' => '预警类型:quota_low_balance(代表Quota低额预警)', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'quota_low_balance'],
],
[
'name' => 'AlarmThresholds',
'in' => 'query',
'schema' => ['description' => '该预警类型下的用户预警规则列表,不传代表没有预警阈值', 'type' => 'string', 'required' => false, 'example' => '[{\\"denominator\\":100,\\"numerator\\":30,\\"thresholdType\\":1}]'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '调用失败时,返回的错误码。更多信息,请参见错误码。'."\n"
."\n", 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '调用结果的附加信息。', 'type' => 'string', 'example' => 'Successful!'],
'Data' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79EE7556-0CFD-44EB-9CD6-B3B526E3A85F'],
'Success' => ['description' => 'success=true代表调用执行完成。success=false代表执行出现错误。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
['errorCode' => 'ParameterError', 'errorMessage' => 'Missing the must parameter', 'description' => ''],
],
500 => [
['errorCode' => 'CreditInnerError', 'errorMessage' => 'This interface has some error. Please try again.', 'description' => ''],
['errorCode' => 'UndefinedError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"Data\\": true,\\n \\"RequestId\\": \\"79EE7556-0CFD-44EB-9CD6-B3B526E3A85F\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '设置Quota额度低额预警规则',
'description' => '设置Quota额度低额预警规则。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetResellerUserAlarmThreshold'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:SetResellerUserAlarmThreshold',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'SetResellerUserQuota' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Amount',
'in' => 'query',
'schema' => ['description' => '金额,单位元', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '750'],
],
[
'name' => 'Currency',
'in' => 'query',
'schema' => ['description' => '币种类型', 'type' => 'string', 'required' => false, 'example' => ' CNY:人民币。 USD:美元'],
],
[
'name' => 'OutBizId',
'in' => 'query',
'schema' => ['description' => '业务id', 'type' => 'string', 'required' => false, 'example' => 'OD2022040818295234777795624764689'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '调用失败时,返回的错误码。更多信息,请参见错误码。'."\n"
."\n", 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '调用结果的附加信息。', 'type' => 'string', 'example' => 'Successful!'],
'Data' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F5B803CF-94D8-43AF-ADB3-D819AAD30E27'],
'Success' => ['description' => 'success=true代表调用执行完成。success=false代表执行出现错误。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
['errorCode' => 'ParameterError', 'errorMessage' => 'Missing the must parameter.', 'description' => ''],
],
500 => [
['errorCode' => 'CreditInnerError', 'errorMessage' => 'This interface has some error. Please try again.', 'description' => ''],
['errorCode' => 'UndefinedError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"Data\\": true,\\n \\"RequestId\\": \\"F5B803CF-94D8-43AF-ADB3-D819AAD30E27\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '设置用户配额账本的Quota额度',
'summary' => '创建用户quota配额账本和quota消费账本',
'description' => '设置用户配额账本的Quota额度',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetResellerUserQuota'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:SetResellerUserQuota',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'SetResellerUserStatus' => [
'summary' => '开启或关闭用户sql审计功能',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'Status',
'in' => 'query',
'schema' => ['description' => '需要设置的用户状态'."\n"
.'取值:'."\n"
.' Freeze:用户冻结状态'."\n"
.' Thaw:用户解冻状态'."\n"
.' Trusteeship:用户托管状态'."\n"
.' TrusteeshipCancel:用户非托管状态', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Freeze'],
],
[
'name' => 'BusinessType',
'in' => 'query',
'schema' => ['description' => '业务类型'."\n"
.'取值:'."\n"
.' FREEZE:用户冻结业务'."\n"
.' TRUSTEESHIP:用户托管业务', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'FREEZE'],
],
[
'name' => 'StopMode',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['description' => '停机模式'."\n"
.'取值:'."\n"
.' 0:普通停机'."\n"
.' 1:立即停机', 'type' => 'string', 'required' => false, 'example' => '0'],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '调用失败时,返回的错误码。更多信息,请参见错误码。'."\n"
."\n", 'type' => 'string', 'example' => '200'],
'Message' => ['description' => '调用结果的附加信息。', 'type' => 'string', 'example' => 'Successful!'],
'Data' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F5B803CF-94D8-43AF-ADB3-D819AAD30E27'],
'Success' => ['description' => 'success=true代表调用执行完成。success=false代表执行出现错误。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
200 => [
['errorCode' => '-116', 'errorMessage' => 'Fail to modify Enduser status, Quota is less than 0.', 'description' => ''],
],
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''],
['errorCode' => 'ParameterError', 'errorMessage' => 'Missing the must parameter.', 'description' => ''],
['errorCode' => 'SYSTEM_ERROR', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
['errorCode' => 'CreditInnerError', 'errorMessage' => 'This interface has some error. Please try again.', 'description' => ''],
['errorCode' => 'NOT_ALLOW_CANCEL_TRUSTSHIP', 'errorMessage' => 'Only supports setting to trusteeship.', 'description' => '仅支持设置为停机托管'],
],
500 => [
['errorCode' => ' UndefinedError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"Data\\": true,\\n \\"RequestId\\": \\"F5B803CF-94D8-43AF-ADB3-D819AAD30E27\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '设置托管、冻结状态',
'description' => '根据上传参数设置托管、冻结状态。',
'changeSet' => [
['createdAt' => '2023-01-05T11:54:31.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2022-12-29T03:08:01.000Z', 'description' => '错误码发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetResellerUserStatus'],
],
],
'ramActions' => [],
],
'SubscribeBillToOSS' => [
'summary' => '使用OSS订阅账单文件,支持将账单数据存储到指定的OSS bucket中。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'SubscribeBucket',
'in' => 'query',
'schema' => ['description' => '存储订阅账单文件的OSS Bucket名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'xxxxxx-bucket'],
],
[
'name' => 'SubscribeType',
'in' => 'query',
'schema' => ['description' => '订阅的账单类型。取值类型:'."\n"
.'- BillingItemDetailForBillingPeriod:计费项消费明细。'."\n"
.'- InstanceDetailForBillingPeriod:实例消费明细。'."\n"
.'- BillingItemDetailMonthly:计费项消费账期汇总。'."\n"
.'- InstanceDetailMonthly:实例消费账期汇总。'."\n"
.'- SplitItemDetailDaily: 分账账单按天汇总。'."\n"
.'- MonthBill:月账单PDF。仅支持订阅MA。', 'type' => 'string', 'required' => false, 'example' => 'BillingItemDetailForBillingPeriod'],
],
[
'name' => 'MultAccountRelSubscribe',
'in' => 'query',
'schema' => ['description' => '对于多级账号,可指定推送账单的类型。可选值为:'."\n"
.'- MA:推送主账号及财务云非托管子账号账单。'."\n"
.'- ACP1:推送虚商子账号账单。'."\n"
."\n"
.'默认:MA。', 'type' => 'string', 'required' => false, 'example' => 'MA'],
],
[
'name' => 'BucketOwnerId',
'in' => 'query',
'schema' => ['description' => '存储文件的Oss Owner对应的UID。如果是Bid/ReSeller订阅,并需要推送到子账号的OSS上时指定,需要此账号为调用账号子账号,并对此账号授予AliyunConsumeDump2OSSRole权限。'."\n"
.'普通用户则无需指定,默认为调用账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12341324'],
],
[
'name' => 'BeginBillingCycle',
'in' => 'query',
'schema' => ['description' => '推送起始账期。订阅成功后,系统会自动推送起始账期到当前时间的数据。月账单PDF订阅时此参数无效,不会对历史数据重新推送。最多可推送最近1年内数据。', 'type' => 'string', 'required' => false, 'example' => '2021-03'],
],
[
'name' => 'BucketPath',
'in' => 'query',
'schema' => ['title' => 'OSS Bucket存储路径', 'description' => '订阅至Bucket下的指定目录。', 'type' => 'string', 'required' => false, 'example' => 'testpath'],
],
[
'name' => 'RowLimitPerFile',
'in' => 'query',
'schema' => ['description' => '单文件行数上限。当账单文件超过上限后,会拆成多个文件,并合并成一个压缩包。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '300000'],
],
[
'name' => 'UsingSsl',
'in' => 'query',
'schema' => ['description' => '是否通过SSL(Secure Sockets Layer)加密协议来保护网络通信。取值:'."\n"
."\n"
.'- true:启用SSL加密,可以确保数据传输的安全性和完整性。'."\n"
."\n"
.'- false(默认值):不启用SSL加密。', 'type' => 'string', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F61FCE4B-9B56-4FD9-A17E-******'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"F61FCE4B-9B56-4FD9-A17E-******\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<SubscribeBillToOSSResponse>\\n <Message>Successful!</Message>\\n <RequestId>F61FCE4B-9B56-4FD9-A17E-******</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n</SubscribeBillToOSSResponse>","errorExample":""}]',
'title' => '设置OSS订阅账单文件',
'description' => '在调用该接口时,请注意:'."\n"
."\n"
.'- 用户一次订阅一个类型的账单文件。'."\n"
."\n"
.'- 订阅后次日开始每日推送上一日生成的账单文件,每月4号推送上月整账期的全量账单文件。月账单PDF每月4号推送上月账单文件。'."\n"
."\n"
.'- 按天生成的账单文件可能存在时延,延迟生成的账单会在生成次日推送,也可能会包含上一日之前延迟到上一日生成的账单。建议每个月初拉取上个月全量文件。'."\n"
."\n"
.'> 首次使用OSS订阅,需要给订阅用户授予[AliyunConsumeDump2OSSRole](https://ram.console.aliyun.com/#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunConsumeDump2OSSRole%22,%20%22TemplateId%22:%20%22Dump2OSSRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fusercenter2.aliyun.com%22,%20%22Service%22:%20%22Consume%22%7D)权限。若授权取消,系统将不再推送文件,需要用户重新授权。'."\n"
."\n"
.'- 本订阅与费用与成本控制台的“账单数据存储”为同一功能,订阅互通。'."\n"
."\n"
.'- 订阅至Bucket下的目录时,请注意符合目录命名规范:'."\n"
."\n"
.' - 不允许使用表情符,请使用符合要求的 UTF-8 字符。'."\n"
.' - / 用于分割路径,可快速创建子目录,但不要以 / 或 \\ 开头,不要出现连续的 /。'."\n"
.' - 不允许出现名为 .. 的子目录。'."\n"
.' - 总长度控制在 1~254 个字符。'."\n"
."\n\n"
.'- 文件名:'."\n"
."\n"
.' - **BillingItemDetailForBillingPeriod**(计费项账单明细)'."\n"
.' '."\n"
.' - 每日推送文件名格式:`UID_BillingItemDetail_YYYYMMDD`,例如:`169**_BillingItemDetail_20190310`。'."\n"
.' '."\n"
.' - 下月初完整文件名格式:`UID_BillingItemDetail_YYYYMM`,例如:`169**_BillingItemDetail_201903`。'."\n"
.' '."\n"
.' - **InstanceDetailForBillingPeriod**(实例账单明细)'."\n"
.' '."\n"
.' - 每日推送文件名格式:`UID_InstanceDetail_YYYYMMDD`,例如:`169**_InstanceDetail_20190310`。'."\n"
.' '."\n"
.' - 下月初完整文件名格式:`UID_InstanceDetail_YYYYMM`,例如:`169**_InstanceDetail_201903`。'."\n"
."\n"
.' - **InstanceDetailMonthly**(实例账单账期汇总)'."\n"
.' '."\n"
.' - 每日推送文件名格式:`UID_InstanceDetailMonthly_YYYYMM`,例如:`169**_InstanceDetailMonthly_201903`。此文件每日更新月初至当日的全量数据,直至次月4号。'."\n"
."\n"
.' - **BillingItemDetailMonthly**(计费项账单账期汇总)'."\n"
.' '."\n"
.' - 每日推送文件名格式:`UID_BillingItemDetailMonthly_YYYYMM`,例如:`169**_BillingItemDetailMonthly_201903`。此文件每日更新月初至当日的全量数据,直至次月4号。'."\n"
."\n"
.' - **SplitItemDetailDaily**(分账账单按天汇总)'."\n"
.' '."\n"
.' - 每日推送文件名格式:`UID_SplitItemDetailDaily_YYYYMM`,例如:`169**_SplitItemDetailDaily_201903`。此文件每日更新月初至当日的全量数据,直至次月4号。'."\n"
."\n"
.' - **MonthBill**(月账单PDF)'."\n"
.' '."\n"
.' - 每月推送文件名格式:`UID_MonthBill_YYYYMM`,例如:`169**_MonthBill_201903`。每月4号推送上月账单文件。'."\n"
."\n"
.'- 除MonthBill为PDF文件外,其余文件类型为csv文件。但如果账单数据行数超过一定阈值,会自动拆分成多个csv文件,并合并压缩成一个zip文件,zip文件名格式相同。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-19T12:39:38.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-05-19T13:30:50.000Z', 'description' => '请求参数发生变更、错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SubscribeBillToOSS'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ModifySubscribeToOSS',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'TagResources' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型'."\n"
.'instance 节省计划实例', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'instance'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '资源id列表',
'type' => 'array',
'items' => ['description' => '资源id', 'type' => 'string', 'required' => false, 'example' => 'spn-XXXXXX'],
'required' => true,
'maxItems' => 50,
],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签列表',
'type' => 'array',
'items' => [
'description' => '标签信息',
'type' => 'object',
'properties' => [
'Key' => ['description' => '标签键对应的标签值。可以同时创建n个标签值,n的取值范围:1~20。允许传入空字符串。', 'type' => 'string', 'required' => true, 'example' => 'tag1'],
'Value' => ['description' => '标签值,n的取值范围:1~20。', 'type' => 'string', 'required' => true, 'example' => '001'],
],
'required' => false,
],
'required' => true,
'maxItems' => 20,
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'InternalError'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'This API is not applicable for caller.'],
'Data' => ['description' => '返回数据', 'type' => 'boolean', 'example' => 'true'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1537A007-72D7-4165-8A26-8694A38E219A'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'staticInfo' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"InternalError\\",\\n \\"Message\\": \\"This API is not applicable for caller.\\",\\n \\"Data\\": true,\\n \\"RequestId\\": \\"1537A007-72D7-4165-8A26-8694A38E219A\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '为资源添加标签',
'summary' => '支持添加资源上配置的标签。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'bssapi:TagResources',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'UnsubscribeBillToOSS' => [
'summary' => '取消详单导出订阅。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'systemTags' => [],
'parameters' => [
[
'name' => 'SubscribeType',
'in' => 'query',
'schema' => ['description' => '订阅类型。取值类型:'."\n"
.'- BillingItemDetailForBillingPeriod:计费项消费明细。'."\n"
.'- InstanceDetailForBillingPeriod:实例消费明细。'."\n"
.'- BillingItemDetailMonthly:计费项消费账期汇总。'."\n"
.'- InstanceDetailMonthly:实例消费账期汇总。'."\n"
.'- SplitItemDetailDaily: 分账账单按天汇总。'."\n"
.'- MonthBill:月账单PDF。仅支持订阅MA。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'BillingItemDetailForBillingPeriod'],
],
[
'name' => 'MultAccountRelSubscribe',
'in' => 'query',
'schema' => ['description' => '对于多级账号,可指定推送账单的类型。可选值为:'."\n"
."\n\n"
.'- MA:推送主账号账单。'."\n"
.'- ACP1:推送虚商子账号账单。'."\n"
."\n"
.'默认值:MA。', 'type' => 'string', 'required' => false, 'example' => 'MA'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D23FE74C-742F-4624-A82B-******'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"D23FE74C-742F-4624-A82B-******\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UnsubscribeBillToOSSResponse>\\n <Message>Successful!</Message>\\n <RequestId>D23FE74C-742F-4624-A82B-******</RequestId>\\n <Success>true</Success>\\n <Code>Success</Code>\\n</UnsubscribeBillToOSSResponse>","errorExample":""}]',
'title' => '取消详单订阅服务',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UnsubscribeBillToOSS'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'bss:ModifySubscribeToOSS',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'UntagResources' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
'schema' => ['description' => '资源类型'."\n"
.'instance 节省计划实例', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'instance'],
],
[
'name' => 'All',
'in' => 'query',
'schema' => ['description' => '是否全部删除,仅当未传入tagkey.n时有效。取值范围:-true-false', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '资源id列表',
'type' => 'array',
'items' => ['description' => '资源ID', 'type' => 'string', 'required' => false, 'example' => 'spn-xxxxxx'],
'required' => true,
'maxItems' => 50,
],
],
[
'name' => 'TagKey',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => '标签键列表',
'type' => 'array',
'items' => ['description' => '标签键。N的取值范围为1~20。', 'type' => 'string', 'required' => false, 'example' => 'codename'],
'required' => false,
'maxItems' => 20,
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回值信息',
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'PARAM_ERROR'],
'Message' => ['description' => '错误信息'."\n", 'type' => 'string', 'example' => 'This API is not applicable for caller.'],
'Data' => ['description' => '返回数据'."\n", 'type' => 'boolean', 'example' => 'true'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'C7C15585-8349-4C62-BEE4-5A391841B9BE'],
'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'staticInfo' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"PARAM_ERROR\\",\\n \\"Message\\": \\"This API is not applicable for caller.\\",\\n \\"Data\\": true,\\n \\"RequestId\\": \\"C7C15585-8349-4C62-BEE4-5A391841B9BE\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '取消资源的标签',
'summary' => '取消资源上配置的标签。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'bssapi:UntagResources',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'UpgradeResourcePackage' => [
'summary' => '升级用户某个资源包的实例。如本周期已升级,则无法继续升级,待次周期生效后再操作升级。',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => '用户实例ID。', 'type' => 'string', 'required' => true, 'example' => 'OSSBAG-cn-0xl*****x002'],
],
[
'name' => 'EffectiveDate',
'in' => 'query',
'schema' => ['description' => '资源包生效时间,不填默认次周期生效。'."\n"
."\n"
.'日期格式按照ISO8601标准表示,并需要使用UTC时间。格式为:yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2020-02-02T12:00:00Z'],
],
[
'name' => 'Specification',
'in' => 'query',
'schema' => ['description' => '升级资源包规格大小。', 'type' => 'string', 'required' => false, 'example' => '51200'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => 'Success'],
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Successful!'],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6000EE23-274B-4E07-A697-FF2E999520A4'],
'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'OrderId' => ['description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '73387246238746'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'OrderId' => ['description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '73387246238746'],
'InstanceId' => ['description' => '实例ID。'."\n", 'type' => 'string', 'example' => 'OSSBAG-cn-0xl*****002'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'NotApplicable', 'errorMessage' => 'This API is not applicable for caller.', 'description' => ''],
['errorCode' => 'NotAuthorized', 'errorMessage' => 'This API is not authorized for caller.', 'description' => ''],
['errorCode' => 'MissingParameter', 'errorMessage' => 'Absent some mandatory parameter for this request.', 'description' => ''],
['errorCode' => 'InvalidParameter', 'errorMessage' => 'This request contain some invalid parameter', 'description' => ''],
['errorCode' => 'InvalidOwner', 'errorMessage' => 'The specified owner doesn\'t belong to caller.', 'description' => '用户身份错误'],
['errorCode' => 'DurationInvalid', 'errorMessage' => 'Parameter duration can only be positive integer.', 'description' => ''],
['errorCode' => 'ProductNotFound', 'errorMessage' => 'Product not found.', 'description' => ''],
['errorCode' => 'PackageTypeNotFound', 'errorMessage' => 'No such resource package type found.', 'description' => ''],
['errorCode' => 'SpecificationInvalid', 'errorMessage' => 'Parameter specification can only be positive integer.', 'description' => ''],
['errorCode' => 'IdInvalid', 'errorMessage' => 'Parameter ownerId is invalid.', 'description' => ''],
['errorCode' => 'EffectiveDateInvalid', 'errorMessage' => 'Parameter effectiveDate is invalid.', 'description' => ''],
['errorCode' => 'IdMissing', 'errorMessage' => 'Paramter ownerId is missing.', 'description' => ''],
['errorCode' => 'PackageTypeNotSupported', 'errorMessage' => 'Package type currently is not supported.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"RequestId\\": \\"6000EE23-274B-4E07-A697-FF2E999520A4\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 73387246238746,\\n \\"Data\\": {\\n \\"OrderId\\": 73387246238746,\\n \\"InstanceId\\": \\"OSSBAG-cn-0xl*****002\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<UpgradeResourcePackageResponse>\\r\\n <Message>Successful!</Message>\\r\\n <RequestId>6000EE23-274B-4E07-A697-FF2E999520A4</RequestId>\\r\\n <Success>true</Success>\\r\\n <Code>Success</Code>\\r\\n <Data>\\r\\n <InstanceId>OSSBAG-cn-0xl*****d003</InstanceId>\\r\\n <OrderId>204322301110333</OrderId>\\r\\n </Data>\\r\\n</UpgradeResourcePackageResponse>","errorExample":""}]',
'title' => '升级资源包服务',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpgradeResourcePackage'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:CreateResourcePackage',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
],
'endpoints' => [
['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => 'business-intl.vpc-proxy.aliyuncs.com'],
['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => 'business-intl.vpc-proxy.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => 'business-vpc.cn-hongkong.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => 'business-intl.vpc-proxy.aliyuncs.com'],
['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => 'business.vpc-proxy.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => 'business-vpc.cn-hangzhou.aliyuncs.com'],
['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'business.ap-southeast-1.aliyuncs.com', 'endpoint' => 'business.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => 'business-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'business.aliyuncs.com', 'endpoint' => 'business.aliyuncs.com', 'vpc' => ''],
],
'errorCodes' => [
['code' => 'AccountAbnormal', 'message' => 'Your account has been suspended or has outstanding issues, please contact customer service.', 'http_code' => 400, 'description' => '您的账户出现异常,详情请联系客服'],
['code' => 'AccountNoQueryPricePermission', 'message' => 'This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice.', 'http_code' => 400, 'description' => '由于您没有折扣查询权限,无法访问该页面。请联系主账号前往费用中心授权,需要授权的权限点为 queryprice'],
['code' => 'AccountNotExist', 'message' => 'Account does not exist.', 'http_code' => 400, 'description' => '账号不存在'],
['code' => 'AccountNotFound', 'message' => 'The specified account does not exist in the system.', 'http_code' => 404, 'description' => '账号不存在'],
['code' => 'AccountRiskFound', 'message' => 'You account has undefined risk.', 'http_code' => 500, 'description' => '当前账号存在风险,请提交工单后重试'],
['code' => 'ActionInProcess', 'message' => 'Action in process, please wait.', 'http_code' => 400, 'description' => '业务处理中,请稍后'],
['code' => 'ActivityNotFound', 'message' => 'Activity does not exist.', 'http_code' => 500, 'description' => '活动不存在'],
['code' => 'AmountExceedLimit', 'message' => 'Amount exceeds limits, please try a different card.', 'http_code' => 400, 'description' => '金额超过限制,请联系发卡行或换卡重试'],
['code' => 'AmountLimitExceed', 'message' => 'The transaction amount exceeds the single or daily limit. Please try reducing the transaction amount or contact your bank to increase the limit.', 'http_code' => 400, 'description' => '本次交易金额超过了单笔或每日限额。请尝试减少交易金额,或联系您的银行提高限额。'],
['code' => 'ApplyPaperContractError', 'message' => 'Failed to apply for a paper contract.', 'http_code' => 400, 'description' => '申请过纸质合同失败'],
['code' => 'AsyncFormalContractError', 'message' => 'Application for contract confirmation failed.', 'http_code' => 400, 'description' => '申请合同转正失败'],
['code' => 'AuthSiteFail', 'message' => 'auth site failed.', 'http_code' => 400, 'description' => '账号和归属站点不匹配,请检查endpoint是否准确'],
['code' => 'AvailableTransferAmountNotEnough', 'message' => 'The available amount for granting or recycling is insufficient.', 'http_code' => 400, 'description' => '可划拨/回收的金额不足,请确认后重试。'],
['code' => 'BillingAccountOperateForbid', 'message' => 'Operation is forbidden for your billing account.', 'http_code' => 400, 'description' => '您是分销商关联的客户,禁止进行当前操作'],
['code' => 'CanApplyContractError', 'message' => 'Failed to apply for contract verification.', 'http_code' => 400, 'description' => '是否可以申请合同校验失败'],
['code' => 'CanApplyInvoiceEmptyError', 'message' => 'Current invoice cannot be queried. Contract application is not allowed.', 'http_code' => 400, 'description' => '无法查询到当前发票,不允许申请合同'],
['code' => 'CanApplyInvoiceNegativeError', 'message' => 'Current invoice amount is negative, contract application is not allowed.', 'http_code' => 400, 'description' => '当前发票金额为负数,不允许申请合同'],
['code' => 'CanApplyInvoiceStatusError', 'message' => 'Invoice status incorrect, unable to apply for contract.', 'http_code' => 400, 'description' => '发票状态不正确,无法申请合同'],
['code' => 'CANCEL_INVOICE_ERROR', 'message' => 'Cancel invoice fail.', 'http_code' => 400, 'description' => '发票作废失败'],
['code' => 'CANCEL_INVOICE_STATUS_ERROR', 'message' => 'The status of this invoice does not meet the cancel conditions.', 'http_code' => 400, 'description' => '该申请单状态不符合作废条件'],
['code' => 'CantDeletePaymentMethodWhileOpenAutoCharge', 'message' => 'You have turned on the auto-recharge function. After the payment method is unbound, the auto-recharge function cannot be completed. If you need to untie, please turn off auto-recharge before operation.', 'http_code' => 400, 'description' => '您已开启自动充值功能,支付方式解绑后将无法完成自动充值功能。如需解绑,请先关闭自动充值后再行操作。'],
['code' => 'CantDeleteWhileOpenAutoRecharge', 'message' => 'You have turned on the auto-recharge function. After the payment method is unbound, the auto-recharge function cannot be completed. If you need to untie, please turn off auto-recharge before operation.', 'http_code' => 400, 'description' => '您已开启自动充值功能,支付方式解绑后将无法完成自动充值功能。如需解绑,请先关闭自动充值后再行操作。'],
['code' => 'CanTransferAmountNotEnough', 'message' => 'Recoverable/allocated amount is insufficient, please confirm and try again.', 'http_code' => 400, 'description' => '可回收/划拨金额不足,请确认后重试'],
['code' => 'CardAlreadyBind', 'message' => 'The specified card has already been added.', 'http_code' => 400, 'description' => '您已经添加了该银行卡,请不要重复添加。'],
['code' => 'CardBalanceNotEnough', 'message' => 'The card balance is not enough for this transfer, please change the card and try again.', 'http_code' => 400, 'description' => '卡余额不足,请换卡重试'],
['code' => 'CardBindAccountNumberLimit', 'message' => 'The card has been bound to an Alibaba Cloud account.', 'http_code' => 400, 'description' => '该卡已绑定到阿里云账号上.'],
['code' => 'CardClassNotSupport', 'message' => 'This card type is not supported. Try a different type of card.', 'http_code' => 400, 'description' => '暂不支持添加该类型银行卡,请更换其他类型银行卡重试。'],
['code' => 'CardCountryNotSupport', 'message' => 'Country not supported this payment method type yet.', 'http_code' => 400, 'description' => '暂不支持该银行卡的发卡国家。'],
['code' => 'CardCurrencyNotSupport', 'message' => 'The card does not support the current transaction currency. Try a different card that supports the current transaction currency.', 'http_code' => 400, 'description' => '该卡片不支持当前交易币种,请使用支持当前交易币种的银行卡重试。'],
['code' => 'CardHasBindOnOtherAccount', 'message' => 'The specified card has been added to another Alibaba Cloud account.', 'http_code' => 400, 'description' => '该银行卡已经被添加在其他阿里云账号上。'],
['code' => 'CardNotSupport3DVerification', 'message' => 'The card does not support 3D Secure authentication. Contact your issuing bank to enable 3D Secure authentication, or try a different card.', 'http_code' => 400, 'description' => '该银行卡不支持3D验证,请联系您的发卡行开通3D验证功能,或更换其他银行卡重试。'],
['code' => 'CardNumberInvalid', 'message' => 'The card number is invalid. Enter a valid card number.', 'http_code' => 400, 'description' => '银行卡号无效,请输入正确的银行卡号。'],
['code' => 'ChannelProcessFail', 'message' => 'Channel system error, please contact your issuer bank or submit a ticket.', 'http_code' => 400, 'description' => '渠道处理异常,请联系发卡行或提交工单'],
['code' => 'ChannelProcessFail', 'message' => 'Channel processing is abnormal, please contact the issuing bank or submit a work order.', 'http_code' => 400, 'description' => '渠道处理异常,请联系发卡行或提交工单。'],
['code' => 'ChargeLimit', 'message' => 'Recharge is prohibited for the account associated with the ecological partner.', 'http_code' => 400, 'description' => '生态伙伴关联的账号禁止充值,请联系生态运营咨询'],
['code' => 'ClaimAmountExceedLimit', 'message' => 'Claim amount exceeds limit.', 'http_code' => 400, 'description' => '认领金额超过限制,请检查后重试'],
['code' => 'CloseAutoWriteoffError', 'message' => 'close auto write off error.', 'http_code' => 400, 'description' => '关闭自动核销失败'],
['code' => 'ConfirmInvoiceInfoFail', 'message' => 'The current invoice has an order bill that exceeds the contract.', 'http_code' => 400, 'description' => '当前发票存在超开合同的订账单'],
['code' => 'ConfirmInvoiceInfoFail', 'message' => 'Failed to confirm invoice booking information.', 'http_code' => 400, 'description' => '确认发票订账单信息失败'],
['code' => 'ContractIdEmptyError', 'message' => 'Contract ID cannot be empty.', 'http_code' => 400, 'description' => '合同ID不能为空'],
['code' => 'ContractIdNotNumberError', 'message' => 'Contract ID is not of numerical type.', 'http_code' => 400, 'description' => '合同ID不是数字类型'],
['code' => 'ContractNoEmptyError', 'message' => 'Contract number cannot be empty.', 'http_code' => 400, 'description' => '合同编号不能为空'],
['code' => 'ContractNoInvalidError', 'message' => 'Contract not found.', 'http_code' => 400, 'description' => '没有找到合同'],
['code' => 'ContractStatusInvalidForApplyPaperContractError', 'message' => 'The current contract status does not allow the application for mailing contracts.', 'http_code' => 400, 'description' => '当前合同状态不允许申请邮寄合同'],
['code' => 'ContractStatusInvalidForCancelError', 'message' => 'Formal contracts do not allow rejection.', 'http_code' => 400, 'description' => '正式合同不允许拒绝'],
['code' => 'CouponExist', 'message' => 'The coupon collection has reached the upper limit, and the system has recalculated the best price.', 'http_code' => 500, 'description' => '券领取已达上限,系统已重新计算最优价格'],
['code' => 'CouponOverMaxRelease', 'message' => 'Coupon Over Max Release.', 'http_code' => 500, 'description' => '券已领完,系统已重新计算最优价格 '],
['code' => 'CreateCouponError', 'message' => 'create coupon error.', 'http_code' => 500, 'description' => '领券下单失败,系统已重新计算最优价格'],
['code' => 'CreateOrderFailed', 'message' => 'Failed to create transfer order due to system processing error.', 'http_code' => 400, 'description' => '过户单创建失败'],
['code' => 'DecinedByBank', 'message' => 'Your bank declined this transaction. Please contact your issuing bank for the specific reason, or try using another card.', 'http_code' => 400, 'description' => '您的银行拒绝了本次交易。请联系您的发卡银行咨询交易被拒绝的具体原因,或尝试更换其他银行卡。'],
['code' => 'DeclinedByIssuerBank', 'message' => 'Declined by your card issuer bank. Please contact your issuer bank to ensure that your card is activated for online payment and try again.', 'http_code' => 400, 'description' => '发卡行拒绝,请联系发卡行确保银行卡在线支付业务已开通,然后重试。'],
['code' => 'DeleteContractError', 'message' => 'Failed to delete contract.', 'http_code' => 400, 'description' => '删除合同失败'],
['code' => 'DeleteReasonEmptyError', 'message' => 'Reason for deletion cannot be empty.', 'http_code' => 400, 'description' => '删除原因不能为空'],
['code' => 'ExceedQueryTimesLimit', 'message' => 'Exceed daily query times limit.', 'http_code' => 400, 'description' => '超过每天查询次数限制'],
['code' => 'ExistApprovingProcess', 'message' => 'There is a credit control setting process in the approval process, please contact the business manager.', 'http_code' => 400, 'description' => '存在审批中的信控设置流程,请联系商务经理。'],
['code' => 'ExistUnconfirmedContract', 'message' => 'The account you operate has a credit contract to be confirmed. Please confirm the contract first.', 'http_code' => 400, 'description' => '您操作的账户存在待确认的信控合同,请先确认合同。'."\n"],
['code' => 'ExpireCard', 'message' => 'Your bank card has expired. Please use another card that is not expired for payment.', 'http_code' => 400, 'description' => '您的银行卡已过期。请使用尚未过期的银行卡进行支付。'],
['code' => 'ExpiredCard', 'message' => 'The specified card has been expired.', 'http_code' => 400, 'description' => '该银行卡已经过期。'],
['code' => 'ExpiryDateWrong', 'message' => 'The card expiry date format is incorrect. Please enter it in the correct month/year format (e.g., MM/YY) and try again.', 'http_code' => 400, 'description' => '您输入的卡片有效期格式不正确。请按照正确的月份/年份格式(例如:MM/YY)输入后重新尝试。'],
['code' => 'ForbiddenAccessContractError', 'message' => 'Please confirm if you have contract authority.', 'http_code' => 400, 'description' => '请确认是否有合同权限'],
['code' => 'FormalContractError', 'message' => 'Contract confirmation failed.', 'http_code' => 400, 'description' => '合同转正失败'],
['code' => 'FormalVipContractError', 'message' => 'Key customer contract confirmation failed.', 'http_code' => 400, 'description' => '大客户合同转正失败'],
['code' => 'FormalWanWangContractError', 'message' => 'Wanwang Contract Confirmation Failure.', 'http_code' => 400, 'description' => '万网合同转正失败'],
['code' => 'FunctionPaused', 'message' => 'This function is temporarily suspended for maintenance or updates.', 'http_code' => 400, 'description' => '暂停开放此功能'],
['code' => 'GenerateFileUrlError', 'message' => 'Failed to generate download address.', 'http_code' => 400, 'description' => '生成下载地址失败'],
['code' => 'GetAccountInfoFail', 'message' => 'Failed to get account information, please try again later.', 'http_code' => 400, 'description' => '获取账号信息失败,请稍后再试'],
['code' => 'GetContractNoError', 'message' => 'Error in obtaining contract number.', 'http_code' => 400, 'description' => '获取合同编号错误'],
['code' => 'GetFileUrlError', 'message' => 'Error in obtaining contract file download address.', 'http_code' => 400, 'description' => '获取合同文件下载地址错误'],
['code' => 'GetFormalResultError', 'message' => 'Error in obtaining contract confirmation results.', 'http_code' => 400, 'description' => '获取合同转正结果错误'],
['code' => 'IdempotentParameterMismatch', 'message' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'http_code' => 400, 'description' => '幂等参数错误'],
['code' => 'InconsistentConsignerIdentityInfo', 'message' => 'The real name information verified by E-sign is inconsistent. Please enter the correct mobile phone number and name.', 'http_code' => 400, 'description' => '经E签宝核验实名信息不一致,请输入正确的手机号和姓名'],
['code' => 'InnerAccountNoQueryPricePermission', 'message' => 'In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group\'s cloud account. More questions please refer to the document.', 'http_code' => 400, 'description' => '因数据安全及合规要求,对集团上云账号金额信息权限管控,由此带来的不便敬请谅解。您可以通过HCRM/云间平台查看,详见:https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2。'],
['code' => 'InnerSubAccountNoQueryPricePermission', 'message' => 'In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group\'s cloud account.', 'http_code' => 400, 'description' => '因数据安全及合规要求,对集团上云账号金额信息权限管控,由此带来的不便敬请谅解。您可以通过HCRM/云间平台查看,详见:https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2。'],
['code' => 'InstanceInfoError', 'message' => 'Instance information provided is incomplete or contains invalid data.', 'http_code' => 400, 'description' => '实例信息有误'],
['code' => 'InstanceNotBelongToAccount', 'message' => 'The specified instance does not belong to the current account.', 'http_code' => 400, 'description' => '您要处理的实例不属于当前账户,无法打开!'],
['code' => 'InstanceNumberTooLarge', 'message' => 'The instance num exceed 2000.', 'http_code' => 400, 'description' => '对应条件下的实例ID大于2000个,无法在页面查询,请导出/订阅账单明细进行查看。'],
['code' => 'INSUFFICIENT.AVAILABLE.QUOTA', 'message' => 'The account balance is negative. Add funds to the account and try again.', 'http_code' => 200, 'description' => '您的账户可用额度小于0,请先充值后再尝试购买'],
['code' => 'InternalError', 'message' => 'An error occurred in the internal server.', 'http_code' => 500, 'description' => '系统异常,请重试'],
['code' => 'InvalidAmountFormat', 'message' => 'The transaction amount is invalid. Please try using another payment method, or contact customer service.', 'http_code' => 400, 'description' => '交易金额不合法。请尝试更换其他支付方式,或联系客服。'],
['code' => 'InvalidBillingAccount', 'message' => 'The caller does not have permission for the specified billing account.', 'http_code' => 400, 'description' => '当前登录账号不是此账户的管理员,无权操作此账户。'],
['code' => 'InvalidBindRequest', 'message' => 'Invalid bind card request.', 'http_code' => 400, 'description' => '无效的绑卡请求.'],
['code' => 'InvalidCaller', 'message' => 'The caller\'s primary account is invalid or does not have permission to query enterprise member account information.', 'http_code' => 401, 'description' => '调用者主账号无效 或者 无权限查询企业成员账号信息。'],
['code' => 'InvalidCaptcha', 'message' => 'Invalid Captcha.', 'http_code' => 400, 'description' => '您的验证码错误或者已过期,请重新获取'],
['code' => 'InvalidCard', 'message' => 'There is a problem with the card. Try a different card or submit a ticket.', 'http_code' => 400, 'description' => '该银行卡存在问题,请更换银行卡重试或提交工单。'],
['code' => 'InvalidCardExpireTime', 'message' => 'The specified card expiration date is invalid. Check the expiration date and try again.', 'http_code' => 400, 'description' => '您输入的银行卡有效期有误,请确认后重新输入。'],
['code' => 'InvalidCardNumber', 'message' => 'The card number you entered is incorrect. Please carefully check your card number for any errors or omissions and try again.', 'http_code' => 400, 'description' => '您输入的银行卡号不正确。请仔细核对您的银行卡号,确保没有输入错误或遗漏后重新输入。'],
['code' => 'InvalidContractError', 'message' => 'Invalid contract failed.', 'http_code' => 400, 'description' => '作废合同失败'],
['code' => 'InvalidCurrency', 'message' => 'Sorry, this currency is not supported for the current transaction. Please try using a supported currency or contact customer service for more details.', 'http_code' => 400, 'description' => '抱歉,当前交易不支持此币种。请尝试使用支持的币种进行交易,或联系客服了解详情。'],
['code' => 'InvalidCvv', 'message' => 'Invalid cvv code.', 'http_code' => 400, 'description' => 'Cvv码异常'],
['code' => 'InvalidFundAccount', 'message' => 'The caller does not have permission for the specified fund account.', 'http_code' => 400, 'description' => '当前登录账号不是此账户的管理员,无权操作此账户。'],
['code' => 'InvalidFundAccount', 'message' => 'The caller does not have permission for the specified billing account.', 'http_code' => 400, 'description' => '当前登录账号不是此账户的管理员,无权操作此账户。'],
['code' => 'InvalidOwner', 'message' => 'The specified owner doesn\'t belong to caller.', 'http_code' => 400, 'description' => '用户身份错误'],
['code' => 'InvalidParameter', 'message' => 'Transaction information is incorrect. Please check the transaction details you entered (e.g., amount, card number) and try again.', 'http_code' => 400, 'description' => '交易信息有误。请检查您填写的交易信息(如金额、卡号等)是否有误后重试。'],
['code' => 'InvalidReasonEmptyError', 'message' => 'Reason for invalidation cannot be empty.', 'http_code' => 400, 'description' => '作废原因不能为空'],
['code' => 'InvalidSecurityCode', 'message' => 'The security code is invalid ,please contact your issuing bank or try a different card.', 'http_code' => 400, 'description' => '您的卡安全码失效,请联系发卡行或换卡重试'],
['code' => 'InvalidTime', 'message' => 'Invalid Time.', 'http_code' => 400, 'description' => '超出成本分析的日期选择范围,请重新选择'],
['code' => 'InvoiceAlreadyInvoicingCanNotClose', 'message' => 'Invoice is being issued and cannot be closed.', 'http_code' => 400, 'description' => '发票开具中,无法作废'],
['code' => 'InvoiceAmountFormatInvalid', 'message' => 'Illegal format of invoiced amount.', 'http_code' => 400, 'description' => '申请开票金额格式不合法'],
['code' => 'InvoiceAmountInValid', 'message' => 'Illegal amount requested for invoicing.', 'http_code' => 400, 'description' => '申请开票金额不合法'],
['code' => 'InvoiceAmountNegativeInvalid', 'message' => 'The sum of the selected amounts is negative and cannot be invoiced.', 'http_code' => 400, 'description' => '所选金额总和为负数,不可开票'],
['code' => 'InvoiceAmountNotValid', 'message' => 'The invoiced amount field is illegal, and supports up to 2 decimal places.', 'http_code' => 400, 'description' => '申请开票金额字段不合法,最多支持2位小数'],
['code' => 'InvoiceApplyNotAllowedForTestUser', 'message' => 'Test accounts are not permitted to perform invoicing operations.', 'http_code' => 400, 'description' => '该账号为测试账号,不可申请开票'],
['code' => 'InvoiceAutoApplyConfigNotMatchRealName', 'message' => 'Automatic invoicing only supports the viewpoint consistent with real-name authentication. Please select again.', 'http_code' => 400, 'description' => '自动开票仅支持与实名认证一致的抬头,请您重新选择'],
['code' => 'InvoiceCandidateNotFound', 'message' => 'No valid data to be invoiced can be found based on the invoicing object list and account list passed in.', 'http_code' => 400, 'description' => '根据传入的开票对象列表和账号列表,查询不到有效的待开票数据'],
['code' => 'InvoiceCandidateSearchTimeInvalid', 'message' => 'Invoicing Candidate query time is illegal.', 'http_code' => 400, 'description' => '开票对象查询时间不合法'],
['code' => 'InvoiceContractUnsupportedWanwangOrderError', 'message' => 'The current invoice has a World Wide Web order that does not support invoicing.', 'http_code' => 400, 'description' => '当前发票存在不支持开票的万网订单'],
['code' => 'InvoiceDataDontExistError', 'message' => 'There are no orders being processed in the current invoice.', 'http_code' => 400, 'description' => '当前发票中不存在正在处理的订账单'],
['code' => 'InvoiceDataEmptyError', 'message' => 'There are no subscription bills in the current invoice that can apply for contracts.', 'http_code' => 400, 'description' => '当前发票中不存在可以申请合同的订账单'],
['code' => 'InvoiceDataOverOpeningContract', 'message' => 'The current invoice has an order bill that exceeds the contract.', 'http_code' => 400, 'description' => '当前发票存在超开合同的订账单'],
['code' => 'InvoiceDataUsedError', 'message' => 'The current invoice has a subscription bill for a contract that has already been applied.', 'http_code' => 400, 'description' => '当前发票存在已申请合同的订账单'],
['code' => 'InvoiceFileDownloadError', 'message' => 'Download failed, please try again later.', 'http_code' => 400, 'description' => '下载失败,请稍后再试。'],
['code' => 'InvoiceManualAmountNotAllowed', 'message' => 'Cross-account independent invoicing, amount cannot be specified.', 'http_code' => 400, 'description' => '跨账号独立开票,不可指定金额'],
['code' => 'InvoiceModeInvalid', 'message' => 'InvoiceMode field is illegal.', 'http_code' => 400, 'description' => 'InvoiceMode字段不合法'],
['code' => 'InvoiceModeNotValid', 'message' => 'The invoice mode field is invalid. Please select a valid option.', 'http_code' => 400, 'description' => 'InvoiceMode字段不合法'],
['code' => 'InvoiceOuUnsupportedError', 'message' => 'There are entities in the current invoice that do not support invoicing.', 'http_code' => 400, 'description' => '当前发票存在不支持开票的主体'],
['code' => 'InvoiceRecipientEmailsMoreThanThree', 'message' => 'Maximum 3 email addresses allowed for invoice application.', 'http_code' => 400, 'description' => '申请开票时最多可选3个邮箱'],
['code' => 'InvoiceRemarkTooLong', 'message' => 'Invoice remarks must not exceed 200 characters. Please abbreviate and resubmit.', 'http_code' => 400, 'description' => '发票备注长度过长,请适当缩写后重新提交!'],
['code' => 'InvoiceSpecialOnlyForEnterprises', 'message' => 'Special invoices can only be issued by enterprise accounts.', 'http_code' => 400, 'description' => '企业类型才能开专票'],
['code' => 'InvoiceStatusError', 'message' => 'The current invoice status is incorrect, unable to retrieve the contract.', 'http_code' => 400, 'description' => '当前发票状态不正确,无法开取合同'],
['code' => 'InvoiceTdsValidateAuditing', 'message' => 'This user TAN NO. In the process of approval, please do not submit repeatedly.', 'http_code' => 400, 'description' => '该用户TAN NO.正在审批中,请勿重复提交。'],
['code' => 'InvoiceTdsValidateDuplicate', 'message' => 'The tan no. It has been saved, please do not submit it again.', 'http_code' => 400, 'description' => '该TAN NO.已经被保存,请勿重复提交。'],
['code' => 'InvoiceTdsValidateFailed', 'message' => 'The tan no. It has been used by other accounts. Please confirm whether the input is correct.', 'http_code' => 400, 'description' => '该TAN NO.已经被其他账号使用请确认输入是否正确。'],
['code' => 'InvoiceTitleNotExist', 'message' => 'Invoice title does not exist.', 'http_code' => 400, 'description' => '发票抬头不存在'],
['code' => 'InvoiceTypeInvalid', 'message' => 'InvoiceType field is illegal.', 'http_code' => 400, 'description' => 'InvoiceType字段不合法'."\n"],
['code' => 'InvoiceTypeNotValid', 'message' => 'The invoice type field is invalid. Please select a valid option.', 'http_code' => 400, 'description' => 'InvoiceType字段不合法'],
['code' => 'InvoiceUnificationCheckEmailFail', 'message' => 'No default email for unified invoicing check.', 'http_code' => 400, 'description' => '统一开票检查无默认邮箱'],
['code' => 'InvoiceUnificationCheckTitleFail', 'message' => 'No default invoice title for unified invoicing check.', 'http_code' => 400, 'description' => '统一开票检查无默认发票抬头'],
['code' => 'InvoiceUsedError', 'message' => 'The current invoice has already applied for a contract.', 'http_code' => 400, 'description' => '当前发票已申请过合同'],
['code' => 'LimitRecharge', 'message' => 'Account limit recharge.', 'http_code' => 400, 'description' => '账号限制充值'],
['code' => 'LimitWithdraw', 'message' => 'Account limit withdraw.', 'http_code' => 400, 'description' => '账号限制提现'],
['code' => 'MaxOffsetLimit', 'message' => 'Exceeded maximum page turning limit.', 'http_code' => 400, 'description' => '超过最大翻页限制,请导出后查看'],
['code' => 'NoAvailablePaymentMethod', 'message' => 'Sorry, there are no available payment methods at this time. Please check your network connection or try again later. If the issue persists, please contact customer service.', 'http_code' => 400, 'description' => '抱歉,当前无可用支付方式。请确认您的网络连接,或稍后再试。如果问题持续,请联系客服。'],
['code' => 'NoFundAccountPermission', 'message' => 'The caller does not have permission for the specified fund account.', 'http_code' => 400, 'description' => '当前登录账号没有权限操作指定账户。'],
['code' => 'NoPermission', 'message' => 'You are not authorized to perform this action.', 'http_code' => 400, 'description' => '您无权执行此操作。'],
['code' => 'NoQueryPricePermission', 'message' => 'If you do not have discount query permission, please contact the main account for authorization. The permission code is queryprice.', 'http_code' => 400, 'description' => '没有折扣查询权限,请联系主账号授权,权限点为 queryprice.'."\n"],
['code' => 'NotActiveService', 'message' => 'You are not active the service,please use after activation.', 'http_code' => 400, 'description' => '您没有开通服务,请开通后使用'],
['code' => 'NotEligibleForTransfer', 'message' => 'The selected instances do not meet transfer eligibility requirements.', 'http_code' => 400, 'description' => '不符合过户要求'],
['code' => 'NotOpenUnifiedSettle', 'message' => 'The unified settlement is not open for caller.', 'http_code' => 400, 'description' => '尚未对您开放统一结算功能,敬请期待'],
['code' => 'NotSupportAllocateCredit', 'message' => 'Self-service credit limit allocation is currently unavailable. Please contact your service manager for assistance.', 'http_code' => 400, 'description' => '当前不支持自助分配信控额度,请联系您的服务经理修改'],
['code' => 'NoValidInstanceFund', 'message' => 'No valid instance found.', 'http_code' => 400, 'description' => '未找到有效实例'],
['code' => 'OldFinanceCloudUserNoPermission', 'message' => 'Old finance cloud user has no permission to query new menus.', 'http_code' => 400, 'description' => '旧版财务云客户无权访问新菜单,请升级新版企业组织后再试。'],
['code' => 'OneCardBindUidLimit', 'message' => 'Each bank card can only be linked to one Alibaba Cloud account. The card number you entered has already been bound to another Alibaba Cloud account. Please try again with a different bank card.', 'http_code' => 400, 'description' => '每张银行卡只能绑定到一个阿里云账号上,您输入的卡号已绑定在其他阿里云账号上,请更换其他银行卡重试。'],
['code' => 'OpenAutoWriteoffError', 'message' => 'open auto write off error.', 'http_code' => 400, 'description' => '开启自动核销失败'],
['code' => 'OperationTypeError', 'message' => 'Invalid operation type specified, please use a valid operation type.', 'http_code' => 400, 'description' => '操作类型错误'],
['code' => 'OrderExpiredOrProcessed', 'message' => 'The transfer order has expired or been completed, cannot be processed.', 'http_code' => 400, 'description' => '过户单已过期或已处理'],
['code' => 'OrderNotExist', 'message' => 'The transaction order does not exist. Please refresh the page and try to initiate a new transaction.', 'http_code' => 400, 'description' => '交易订单不存在。请刷新页面后重新尝试发起交易。'],
['code' => 'OrderNotOperational', 'message' => 'The transfer order is not in a state that allows operations.', 'http_code' => 400, 'description' => '过户单不可操作'],
['code' => 'OrderQueryError', 'message' => 'Failed to query transfer order information due to system error.', 'http_code' => 400, 'description' => '过户单信息查询出错'],
['code' => 'PageInfoError', 'message' => 'Invalid pagination parameters provided, please check page number and size.', 'http_code' => 400, 'description' => '分页信息错误'],
['code' => 'PaperContractMultipleApplyError', 'message' => 'This contract has already applied for a paper contract.', 'http_code' => 400, 'description' => '该合同已申请过纸质合同'],
['code' => 'ParamError', 'message' => 'Parameter error.', 'http_code' => 500, 'description' => '参数有误 '],
['code' => 'ParameterError', 'message' => 'Invalid or missing required parameters in the request.', 'http_code' => 400, 'description' => '参数错误'],
['code' => 'PARAM_ERROR', 'message' => 'param is error.', 'http_code' => 400, 'description' => '参数错误'],
['code' => 'PARAM_INVALID', 'message' => 'Parameter error.', 'http_code' => 533, 'description' => '参数异常'],
['code' => 'PaymentChannelProcessFail', 'message' => 'Payment channel process fail, please contact your issuer bank or submit a ticket.', 'http_code' => 400, 'description' => '支付渠道处理失败,请联系发卡行或提交工单'],
['code' => 'PaymentDeclinedByBank', 'message' => 'payment is declined by issuer bank.', 'http_code' => 400, 'description' => '支付被发卡行拒绝'],
['code' => 'PaymentMethodNotExist', 'message' => 'The specific card not exist or has been deleted, please check and try again.', 'http_code' => 400, 'description' => '支付方式不存在或已被删除,请检查后重试'],
['code' => 'PaymentTypeNotSupportSettleCurrency', 'message' => 'PayPal currently does not support non-USD payments. Please set PayPal as your preferred payment method when both the current and next month\'s settlement currencies are USD.', 'http_code' => 400, 'description' => 'Paypal暂不支持以非美元付款,在设置Paypal为首选支付方式时,请将当前结算币种和次月结算币种设置为USD.'],
['code' => 'PayNotQualified', 'message' => 'Sorry, your transaction does not meet the payment requirements. Please try using another card or payment method.', 'http_code' => 400, 'description' => '抱歉,您的交易不符合支付条件。请尝试更换其他银行卡或支付方式。'],
['code' => 'PaySystemAccessDenied', 'message' => 'Payment channel is temporarily inaccessible. Please try again later or use another payment method. If the issue persists, please contact our customer service.', 'http_code' => 400, 'description' => '支付渠道暂时无法访问。请稍等片刻后重试,如果问题持续,请联系我们的客服团队。'],
['code' => 'PaySystemAuthenticationFail', 'message' => 'Payment channel authentication failed. Please try again later, or try using another payment method.', 'http_code' => 400, 'description' => '支付渠道认证失败。请稍后重新尝试,或尝试更换其他支付方式。'],
['code' => 'PaySystemAuthenticationRequired', 'message' => 'This transaction requires 3D Secure verification. Please follow the instructions on the page to complete your bank\'s 3D Secure verification.', 'http_code' => 400, 'description' => '本次交易需要进行3D安全验证。请按照页面提示完成银行的3D安全验证。'],
['code' => 'PaySystemCardNotSupported', 'message' => 'Sorry, this card is not supported by the current payment channel. Please try using another card or payment method.', 'http_code' => 400, 'description' => '抱歉,当前支付渠道不支持此银行卡。请尝试更换其他银行卡或支付方式。'],
['code' => 'PaySystemOrderIsClosed', 'message' => 'This transaction order has been closed or is no longer valid. Please initiate a new transaction. If the order was paid, please contact customer service for verification.', 'http_code' => 400, 'description' => '本次交易订单已关闭或已失效。请重新发起交易。如果订单已支付,请联系客服核实。'],
['code' => 'PaySystemOTPVerifyTimesExceedLimit', 'message' => 'Too many incorrect verification code attempts. Please wait for a while before trying to get a new code, or try another verification method with your bank.', 'http_code' => 400, 'description' => '验证码错误次数过多。请等待一段时间后再尝试获取验证码,或尝试联系银行进行其他验证。'],
['code' => 'PaySystemOTPVerifyUnmatched', 'message' => 'Your bank card has expired. Please use another card that is not expired for payment.', 'http_code' => 400, 'description' => '您的银行卡已过期。请使用尚未过期的银行卡进行支付。'],
['code' => 'PaySystemSuspectedCard', 'message' => 'Your bank card has an issue. Please contact your issuing bank to inquire about its status and any abnormalities.', 'http_code' => 400, 'description' => '您的银行卡存在异常。请联系您的发卡银行,咨询银行卡状态和是否存在异常。'],
['code' => 'PaySystemUserPaymentVerificationFailed', 'message' => 'Your payment information failed verification. Please check if your payment details (e.g., password, fingerprint, OTP) are correct, or contact the payment channel\'s customer service.', 'http_code' => 400, 'description' => '您的支付信息未能通过验证。请检查您的支付信息(如密码、指纹、动态口令等)是否正确,或联系支付渠道客服。'],
['code' => 'PaySystemUserStatusAbnormal', 'message' => 'Your account status is abnormal, unable to complete this transaction. Please contact customer service to inquire about your account status.', 'http_code' => 400, 'description' => '您的账户状态异常,无法完成本次交易。请联系客服查询您的账户状态。'],
['code' => 'PaySystemVerificationInProcess', 'message' => 'Verification code is being processed. Please wait patiently for the result and do not repeat the operation. If there is no response for a long time, please contact customer service.', 'http_code' => 400, 'description' => '验证码正在验证中,请耐心等待结果,切勿重复操作。如果长时间无响应,请联系客服。'],
['code' => 'PAY_QUERY_ORDER_EMPTY_RESULT', 'message' => 'Query order is empty, please check order parameters.', 'http_code' => 501, 'description' => '查询订单为空'],
['code' => 'PAY_QUERY_ORDER_ERROR', 'message' => 'Query Order Exception.', 'http_code' => 502, 'description' => '查询订单异常'],
['code' => 'PAY_SYSTEM_EXCEPTION', 'message' => 'Internal system error occurred, please contact technical support.', 'http_code' => 500, 'description' => '系统异常'],
['code' => 'QueryConnectedRelationListInfoError', 'message' => 'Query information of Party A\'s associated entity list is abnormal, please try again later.', 'http_code' => 400, 'description' => '查询甲方关联实体列表信息异常,请稍后重试'],
['code' => 'QueryContractTaskInfoError', 'message' => 'Query contract task information is abnormal, please try again later.', 'http_code' => 400, 'description' => '查询合同任务信息异常,请稍后重试'],
['code' => 'QueryCountExceedLimit', 'message' => 'The count of queries exceeds the daily query limit.', 'http_code' => 400, 'description' => '查询次数超过每天的次数限制'],
['code' => 'QueryInvioceListInfoError', 'message' => 'Invoice header list query information is abnormal, please try again later.', 'http_code' => 400, 'description' => '查询发票抬头列表信息异常,请稍后重试'],
['code' => 'QueryInvioceListInfoFail', 'message' => 'Failed to query invoice header list information, please try again later.', 'http_code' => 400, 'description' => '查询发票抬头列表信息失败,请稍后重试'],
['code' => 'QueryInvoiceInfoError', 'message' => 'Exception in querying invoice information. Please try again later.', 'http_code' => 400, 'description' => '查询发票信息异常,请稍后重试'],
['code' => 'QueryInvoiceInfoFail', 'message' => 'Failed to query invoice information.', 'http_code' => 400, 'description' => '查询发票信息失败'],
['code' => 'QueryPartyaInfoError', 'message' => 'Party A entity name query is abnormal, please try again later.', 'http_code' => 400, 'description' => '查询甲方主体名称异常,请稍后重试'],
['code' => 'RC_3TH_LOGISTICS_DETAIL_REQUEST', 'message' => 'Failed to query the details of the third party logistics node.', 'http_code' => 509, 'description' => '查询第三方物流节点详情失败'],
['code' => 'RC_GET_USER_ERROR', 'message' => 'Failed to obtain the group account HavanaId required for order query.', 'http_code' => 508, 'description' => '获取订单查询需要的集团账号HavanaId失败'],
['code' => 'RC_ORDER_CONFIRM_FAIL', 'message' => 'Confirm receipt failed.', 'http_code' => 505, 'description' => '确认收货失败'],
['code' => 'RC_ORDER_DETAIL_FAIL', 'message' => 'Failed to query order details.', 'http_code' => 503, 'description' => '查询订单详情失败'],
['code' => 'RC_ORDER_LIST_FAIL', 'message' => 'Failed to query order list.', 'http_code' => 502, 'description' => '查询订单列表失败'],
['code' => 'RC_ORDER_LOGISTICS_FAIL', 'message' => 'No logistics information.', 'http_code' => 504, 'description' => '暂无物流信息'],
['code' => 'RC_ORDER_LOGISTICS_OVERVIEW_FAIL', 'message' => 'Failed to query logistics overview information.', 'http_code' => 510, 'description' => '查询物流概览信息失败 '],
['code' => 'RC_PAGE_SIZE_MAX_LIMIT_REQUEST', 'message' => 'PageSize parameter setting is too large.', 'http_code' => 507, 'description' => '分页参数设置过大'],
['code' => 'RC_PARAM_IS_EMPTY', 'message' => 'Required field values in request parameters cannot be empty.', 'http_code' => 501, 'description' => '请求参数中必要字段取值不能为空'],
['code' => 'RC_QUERY_OPEN_BY_SYSTEM_ORDER', 'message' => 'Post-paid commodity for service, the system automatically orders and opens. This kind of order does not support customer inquiry.', 'http_code' => 514, 'description' => '针对免开通后付费商品,系统自动下单开通。此类订单不支持对客查询。'],
['code' => 'RC_REFUND_QUOTA_EXCEED', 'message' => 'Exceeding the limit.', 'http_code' => 523, 'description' => '抱歉,已经超出本月可退订的总额度'],
['code' => 'RC_SYSTEM_ERROR', 'message' => 'An error occurred in the internal server.', 'http_code' => 500, 'description' => '系统异常,请重试'],
['code' => 'RC_TIME_OUT', 'message' => 'The system timed out, the query data may be too much, please shorten the time range or select a specific product and re-query.', 'http_code' => 513, 'description' => '系统超时,查询数据可能过多,请缩短时间范围或选择特定产品后重新查询'],
['code' => 'RC_UNKNOWN_ERROR', 'message' => 'Unknown error.', 'http_code' => 511, 'description' => '未知错误'],
['code' => 'RealNameAuthenticationNotCompleted', 'message' => 'real-name authentication is not completed.', 'http_code' => 400, 'description' => '未完成实名认证'],
['code' => 'RealNameAuthenticationTypeUnsupported', 'message' => 'The system only supports individual users authenticated by ID number and enterprise users authenticated by social unified credit code.', 'http_code' => 400, 'description' => '系统只支持以身份证号认证的个人用户和以社会统一信用代码认证的企业用户,请更新认证后重试。'],
['code' => 'RejectContractError', 'message' => 'Refusal of contract failed.', 'http_code' => 400, 'description' => '拒绝合同失败'],
['code' => 'RejectVipContractError', 'message' => 'Refusal of major client contract failed.', 'http_code' => 400, 'description' => '拒绝大客户合同失败'],
['code' => 'RejectWanWangContractError', 'message' => 'Refusal of the World Wide Web contract failed.', 'http_code' => 400, 'description' => '拒绝万网合同失败'],
['code' => 'RelationOrderDataError', 'message' => 'Abnormal contract related billing data.', 'http_code' => 400, 'description' => '合同关联订账单数据异常'],
['code' => 'RequestCountExceedBankLimit', 'message' => 'The number of requests has exceeded the limit of the issuer bank. Please try again later.', 'http_code' => 400, 'description' => '请求数量超过发卡行限制,请稍后再试'],
['code' => 'RequestTimeout', 'message' => 'Request timed out. Please try again later.', 'http_code' => 400, 'description' => '请求超时,请稍后再试'],
['code' => 'ResourceCreatingNotAllowWithdraw', 'message' => 'The resource you purchased is being created and cannot withdraw during this period.', 'http_code' => 400, 'description' => '您购买的资源正在创建中,期间不可进行余额提现,请稍后重试'],
['code' => 'ResourceNotExists', 'message' => 'The specified resource does not exist.', 'http_code' => 400, 'description' => '资源实例不存在'],
['code' => 'RiskReject', 'message' => 'The request rejected by risk control.', 'http_code' => 400, 'description' => '请求被风控拒绝'],
['code' => 'RiskReject', 'message' => 'The card poses a security risk. Try a different card or submit a ticket.', 'http_code' => 400, 'description' => '该银行卡存在安全风险,请更换其他银行卡重试或提交工单.'],
['code' => 'RiskSystemRejected', 'message' => 'This transaction has been rejected by the risk control system due to potential risk. If you have questions, please contact our customer service team.', 'http_code' => 400, 'description' => '交易存在风险,已被系统拒绝。如有疑问,请联系我们的客服团队了解具体的风控拒绝原因。'],
['code' => 'SameAccountTransfer', 'message' => 'Target account is identical to source account, transfer operation is not allowed.', 'http_code' => 400, 'description' => '目标账户与当前账户为同一账户,无法过户,请更换目标账户'],
['code' => 'SameLicenseNoError', 'message' => 'The identification numbers of Party B and Party C in the payment agreement cannot be the same.', 'http_code' => 400, 'description' => '代付协议乙方和丙方的识别号不能相同'],
['code' => 'SameName', 'message' => 'The specified name already exists.', 'http_code' => 400, 'description' => '名称已存在'],
['code' => 'SAME_NAME', 'message' => 'The specified name already exists.', 'http_code' => 400, 'description' => '名称已存在'],
['code' => 'SettleBillBeingWrittenOff', 'message' => 'Settle bill is being written off.', 'http_code' => 400, 'description' => '账单正在核销中,请稍后重试'],
['code' => 'SettleTaskCloseError', 'message' => 'close unified settlement task error.', 'http_code' => 400, 'description' => '结算任务关闭失败, 请刷新页面后重试'],
['code' => 'SettleTaskDeleteError', 'message' => 'delete unified settlement task error.', 'http_code' => 400, 'description' => '结算任务删除失败,请刷新页面后重试'],
['code' => 'SettleTaskPauseError', 'message' => 'pause unified settlement task error.', 'http_code' => 400, 'description' => '结算任务暂停失败,请刷新页面后重试'],
['code' => 'SettleTaskRestartError', 'message' => 'restart unified settlement task error.', 'http_code' => 400, 'description' => '结算任务重启失败,请刷新页面后重试'],
['code' => 'SettleTaskSaveError', 'message' => 'Failed to save settlement task.', 'http_code' => 400, 'description' => '结算任务保存失败'],
['code' => 'SettleTaskStopError', 'message' => 'stop unified settlement task error.', 'http_code' => 400, 'description' => '结算任务停止失败,请刷新页面后重试'],
['code' => 'SettleTitleDup', 'message' => 'Duplicate unified settlement title.', 'http_code' => 400, 'description' => '统一结算标题重复'],
['code' => 'SettleTitleTooLong', 'message' => 'Unified settlement document title is too long.', 'http_code' => 400, 'description' => '统一结算单标题超长,请控制标题长度在200个字符以下'],
['code' => 'SpecifiedWriteoffCycleConflict', 'message' => 'Specified writeoff cycle conflict.', 'http_code' => 400, 'description' => '该账期上一笔指定核销尚未完成,请稍后再试'],
['code' => 'SPN_INSTANCE_HAS_SHARED', 'message' => 'Savings plan instance has shared.', 'http_code' => 400, 'description' => '节省计划实例设置了共享,不能再设置抵扣标签'],
['code' => 'SubAccountNoQueryPricePermission', 'message' => 'This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice.', 'http_code' => 400, 'description' => '由于您没有折扣查询权限,无法访问该页面。请联系主账号前往RAM控制台授权,需要授权的Action为 bss:QueryPrice'],
['code' => 'SystemBusyError', 'message' => 'System is busy now, please retry later.', 'http_code' => 400, 'description' => '系统繁忙,请稍后再试'],
['code' => 'SystemError', 'message' => 'Internal system error occurred, please try again or contact technical support.', 'http_code' => 400, 'description' => '系统异常,请稍后重试或联系技术支持.'],
['code' => 'TaskAlreadyExist', 'message' => 'The task already exists.', 'http_code' => 400, 'description' => '该任务已经存在'],
['code' => 'TASK_EXIST', 'message' => 'task has already exist.', 'http_code' => 400, 'description' => '该表已存在,不可重复订阅'],
['code' => 'TaxInfoStatusNotAllowUpdate', 'message' => 'Tax information cannot be modified in the current tax qualification status.', 'http_code' => 400, 'description' => '当前税务资质状态不允许修改税务信息。'],
['code' => 'TaxInfoTaxNumberInvalid', 'message' => 'VAT No is not valid.', 'http_code' => 400, 'description' => '税号格式不合法。'],
['code' => 'TransferFailed', 'message' => 'Transfer operation failed due to processing error, please try again.', 'http_code' => 400, 'description' => '过户失败'],
['code' => 'TransferForbiddenWithoutCashBookPaymentMethod', 'message' => 'Non-credit users cannot use account balance. Please contact the business manager to apply for credit limit first.', 'http_code' => 400, 'description' => '非信控用户不可以使用账户余额,请先联系商务经理申请信控。'],
['code' => 'UnconfirmedContractError', 'message' => 'The account you operate has a credit contract to be confirmed. Please confirm the contract first.', 'http_code' => 400, 'description' => '您操作的账户存在待确认的信控合同,请先确认合同。'],
['code' => 'UniqueAgentLimit', 'message' => 'The valid agent already exists.', 'http_code' => 400, 'description' => '被委托方已存在,请更换被委托方后重新创建"'],
['code' => 'UniqueIdNotValid', 'message' => 'The card binding request has expired. Please refresh and try again.', 'http_code' => 400, 'description' => '绑卡请求已失效,请刷新页面后重试.'],
['code' => 'UnpayAmountNotEnough', 'message' => 'Unpay amount not enough.', 'http_code' => 400, 'description' => '账单正在核销中,您支付的金额大于剩余待核销金额,请勿重复支付!'],
['code' => 'UNPAY_AMOUNT_NOT_ENOUGH', 'message' => 'unpay amount not enough.', 'http_code' => 400, 'description' => '账单正在核销中,您支付的金额大于剩余待核销金额,请勿重复支付!'],
['code' => 'UpdateContractMemoError', 'message' => 'Error in modifying contract remarks.', 'http_code' => 400, 'description' => '修改合同备注错误'],
['code' => 'UserAccountInfoEmptyError', 'message' => 'AliyunId cannot be empty.', 'http_code' => 400, 'description' => 'aliyunId不能为空'],
['code' => 'UserIdInvalidError', 'message' => 'User not found.', 'http_code' => 400, 'description' => '没有找到用户'],
['code' => 'UserInfoEmptyError', 'message' => 'UserId cannot be empty.', 'http_code' => 400, 'description' => 'userId不能为空'],
['code' => 'UserInfoError', 'message' => 'User information provided is incomplete or contains invalid data.', 'http_code' => 400, 'description' => '用户信息有误'],
['code' => 'UsernameUidMismatch', 'message' => 'The entered UID and account name do not match, please verify and re-enter.', 'http_code' => 400, 'description' => '您输入的接收UID和账号不匹配,请输入正确的账号信息'],
['code' => 'ValidAuth', 'message' => 'Valid auth check failed.', 'http_code' => 200, 'description' => '权限验证不通过'],
['code' => 'VericationTimeExceedLimit', 'message' => 'Verification times exceeds limit, please try a different card.', 'http_code' => 400, 'description' => '验证次数超过限制, 请换卡重试'],
['code' => 'WithdrawAmountExceedLimit', 'message' => 'Withdraw amount exceeds limit.', 'http_code' => 400, 'description' => '提现金额超过限制'],
['code' => 'InvoiceApplySpecialTitleOnlyForCommon', 'message' => 'The invoice title is the general ticket title of the special process application, and the special invoice cannot be issued.', 'http_code' => 400, 'description' => '该发票抬头为特殊流程申请的普票抬头,不支持开具专用发票'],
['code' => 'EnterpriseInvoiceTitleApplyOnlyForPersonal', 'message' => 'The application process is limited to personal real-name authentication users.', 'http_code' => 400, 'description' => '该申请流程仅限个人实名认证用户使用'],
['code' => 'EnterpriseInvoiceTitleApplyAlreadyExist', 'message' => 'Invoice title data already exists in the application.', 'http_code' => 400, 'description' => '已存在申请中的抬头数据'],
['code' => 'InvoiceTitleRegisterNoIsEmpty', 'message' => 'Unified Social Credit Code cannot be empty.', 'http_code' => 400, 'description' => '统一社会信用代码不能为空'],
['code' => 'RC_NO_REFUND_REMAIN_CHOSEN', 'message' => 'No refund resources selected.', 'http_code' => 502, 'description' => '没有选择退款资源'],
['code' => 'RC_NOREASON_REFUND_RESPONSE_INVALID', 'message' => 'Only one instance is allowed to be returned if there is no reason to unsubscribe at a time for five days.', 'http_code' => 514, 'description' => '五天无理由一次退订只允许退一个实例'],
['code' => 'RC_INVALID_INSTANCE', 'message' => 'The instance you selected to unsubscribe is invalid, please return to the unsubscribe list page to refresh and try again.', 'http_code' => 504, 'description' => '你选择退订的实例不合法,请返回退订列表页刷新重试'],
['code' => 'RC_QUERY_RESOURCE_ERROR', 'message' => 'Failed to obtain unsubscribe resource information.', 'http_code' => 509, 'description' => '获取退订资源信息失败'],
['code' => 'RC_INVALID_RENEW_INSTANCE', 'message' => 'The instance unsubscription period you selected is invalid, please return to the unsubscription list page to refresh and try again.', 'http_code' => 506, 'description' => '你选择的实例退订周期不合法,请返回退订列表页刷新重试'],
['code' => 'RC_SERVICE_TIMEOUT', 'message' => 'Service call timed out, try to reduce the number of queries and retry.', 'http_code' => 522, 'description' => '服务调用超时,尝试减少查询数量后重试'],
['code' => 'RISK_REJECT_RR321', 'message' => 'The request rejected by risk control.', 'http_code' => 400, 'description' => '请求被风控拒绝'],
['code' => 'NOT_ALLOW_CANCEL_TRUSTSHIP', 'message' => 'Only supports setting to trusteeship.', 'http_code' => 400, 'description' => '仅支持设置为停机托管'],
['code' => 'PayChannelPolicy', 'message' => 'The transaction is restricted by policy.', 'http_code' => 400, 'description' => '政策限制'],
['code' => 'PayChannelStolenCard', 'message' => 'The card has been reported as stolen (fraud account).', 'http_code' => 400, 'description' => '被盗卡(欺诈账户)'],
['code' => 'PayChannelFraudReject', 'message' => 'The transaction was rejected due to risk control.', 'http_code' => 400, 'description' => '由于风险控制,交易无法进一步处理款'],
['code' => 'PayChannelBlockedByCardholder', 'message' => 'The card has been locked by the cardholder.', 'http_code' => 400, 'description' => '该卡被用户锁定'],
['code' => 'PayChannelSellerAccountRestricted', 'message' => 'The seller\'s channel account is restricted.', 'http_code' => 400, 'description' => '卖家渠道账户受限'],
['code' => 'PayChannelSelectedCardBrandNotAvailable', 'message' => 'The selected card brand is not available.', 'http_code' => 400, 'description' => '用户选择的支付银行卡品牌不可用'],
['code' => 'PayChannelRestrictedCard', 'message' => 'The issuing bank has restricted the usage scope of the card.', 'http_code' => 400, 'description' => '发卡行限制了该卡的使用范围'],
['code' => 'PayChannelPayOrderInvalidStatus', 'message' => 'The payment order status in the payment channel is invalid.', 'http_code' => 400, 'description' => '支付渠道支付订单状态非法'],
['code' => 'PayChannelUserKycNotQualified', 'message' => 'Payment failed due to the user\'s KYC status.', 'http_code' => 400, 'description' => '由于用户的 KYC 状态,支付失败'],
['code' => 'PayChannelReEnterTransaction', 'message' => 'The transaction cannot be processed temporarily.', 'http_code' => 400, 'description' => '交易暂时无法处理'],
['code' => 'PayChannelCannotVerifyPin', 'message' => 'Unable to verify the PIN.', 'http_code' => 400, 'description' => '无法验证 PIN 码'],
['code' => 'PayChannelInvalidIssuer', 'message' => 'Unable to contact the cardholder\'s issuing bank for authorization.', 'http_code' => 400, 'description' => '无法联系持卡人的发卡行进行交易授权'],
['code' => 'PayChannelVerifyTimesExceedLimit', 'message' => 'Too many failed verification attempts for the current code.', 'http_code' => 400, 'description' => '当前验证码在支付验证中失败次数过多'],
['code' => 'PayChannelOrderAlreadyPaid', 'message' => 'The order has already been paid in the payment channel.', 'http_code' => 400, 'description' => '支付渠道已经支付成功'],
['code' => 'PayChannelIdentityVerifyFailed', 'message' => 'Identity verification timed out or failed to obtain results.', 'http_code' => 400, 'description' => '身份验证超时或无法获取结果'],
['code' => 'PayChannelPinRequired', 'message' => 'A PIN is required to process the transaction but was not provided.', 'http_code' => 400, 'description' => '处理交易必须提供 PIN 码,但持卡人未提供'],
['code' => 'PayChannelUserPaymentVerificationFailed', 'message' => 'The user failed payment verification such as OTP or PIN.', 'http_code' => 400, 'description' => '用户在 OTP、PIN 等验证方式中未能通过支付验证'],
['code' => 'PayChannelBlockedFirstUsed', 'message' => 'The card may be temporarily frozen due to first-use activation or special conditions.', 'http_code' => 400, 'description' => '卡片可能因以下原因被临时冻结:未激活首次使用,或受特殊条件限制(例如新卡未激活)'],
['code' => 'PayChannelOrderStatusInvalid', 'message' => 'The order status is invalid and cannot be processed.', 'http_code' => 400, 'description' => '订单状态无效,无法继续处理'],
['code' => 'PayChannelIdentityAgeNotEnough', 'message' => 'The user\'s age does not meet the requirement.', 'http_code' => 400, 'description' => '用户年龄未达到要求'],
['code' => 'PayChannelLawViolation', 'message' => 'The transaction was rejected by the issuing bank.', 'http_code' => 400, 'description' => '发卡行拒绝了该交易'],
['code' => 'PayChannelCloseFailed', 'message' => 'Failed to close the order in the payment channel.', 'http_code' => 400, 'description' => '支付渠道关单失败'],
['code' => 'PayChannelPayOrderNotExist', 'message' => 'The payment order does not exist in the payment channel.', 'http_code' => 400, 'description' => '支付渠道支付订单不存在'],
['code' => 'PayChannelCardNotSupported', 'message' => 'The bank card used for the transaction is not supported.', 'http_code' => 400, 'description' => '用于交易的银行卡不被支持'],
['code' => 'PayChannelCloseInnerException', 'message' => 'Internal exception occurred while closing the order in the payment channel.', 'http_code' => 400, 'description' => '支付渠道关单内部异常'],
['code' => 'PayChannelUserAmountExceedLimit', 'message' => 'The payment amount exceeds the user\'s payment limit.', 'http_code' => 400, 'description' => '支付金额超过了用户的支付限额'],
['code' => 'PayChannelVerifyUnmatched', 'message' => 'The verification code is invalid.', 'http_code' => 400, 'description' => '验证码无效'],
['code' => 'PayChannelPickupCard', 'message' => 'The issuing bank requests to retain the payment card, usually in suspected counterfeit or fraud scenarios.', 'http_code' => 400, 'description' => '发卡行要求扣留支付卡,通常出现在疑似伪卡或盗刷场景中'],
['code' => 'PayChannelFailed', 'message' => 'The payment channel returned a failure.', 'http_code' => 400, 'description' => '支付渠道返回失败'],
['code' => 'PayChannelBuyerAccountRestricted', 'message' => 'The buyer\'s channel account is restricted.', 'http_code' => 400, 'description' => '渠道账户受限'],
['code' => 'PayChannelGeneralFail', 'message' => 'Unknown error occurred in the payment channel.', 'http_code' => 400, 'description' => '支付渠道未知异常'],
['code' => 'PayChannelLostCard', 'message' => 'The card has been reported as lost (fraud account).', 'http_code' => 400, 'description' => '挂失卡(欺诈账户)'],
['code' => 'PayChannelNoSelectedAccount', 'message' => 'The cardholder selected a non-existent account.', 'http_code' => 400, 'description' => '持卡人选择了不存在的指定账户'],
['code' => 'PayChannelLifecycle', 'message' => 'The transaction was rejected due to invalid card data.', 'http_code' => 400, 'description' => '由于无效的卡片数据,交易被拒绝'],
['code' => 'PayChannelInvalidIdentityStatus', 'message' => 'The identity status is abnormal.', 'http_code' => 400, 'description' => '身份状态异常'],
['code' => 'PayChannelSystemError', 'message' => 'External payment channel system error.', 'http_code' => 400, 'description' => '外部支付渠道系统异常'],
['code' => 'PayChannelAuthenticationRequired', 'message' => 'Payment channel requires 3D Secure authentication.', 'http_code' => 400, 'description' => '需要进行 3D Secure 验证'],
['code' => 'PayChannelInvalidPin', 'message' => 'The provided PIN is incorrect or does not meet the requirements.', 'http_code' => 400, 'description' => '提供的 PIN 码不正确或不符合要求'],
['code' => 'PayChannelTradeStatusError', 'message' => 'The payment channel trade status does not support this operation.', 'http_code' => 400, 'description' => '支付渠道交易状态不支持此操作'],
['code' => 'PayChannelExpiredCode', 'message' => 'The payment code has expired.', 'http_code' => 400, 'description' => '支付码已过期'],
['code' => 'PayChannelTransactionNotAllowedAtTerminal', 'message' => 'The transaction is not allowed at the terminal.', 'http_code' => 400, 'description' => '终端不允许该交易'],
['code' => 'PayChannelStopRecurringPayment', 'message' => 'The cardholder has cancelled the recurring payment.', 'http_code' => 400, 'description' => '持卡人已取消复购'],
['code' => 'InvalidCard', 'message' => 'The credit card is invalid.', 'http_code' => 400, 'description' => '您的银行卡无效。请前往支付方式管理检查并更新绑定的银行卡。'],
['code' => 'PaymentParamIllegal', 'message' => 'The payment parameters are illegal.', 'http_code' => 400, 'description' => '支付参数有误。请检查后重试。'],
['code' => 'ExpiredCard', 'message' => 'The credit card has expired.', 'http_code' => 400, 'description' => '您的信用卡已过期。请更换其他信用卡。'],
['code' => 'BindCardNotExist', 'message' => 'The bindcard information was not found during payment.', 'http_code' => 400, 'description' => '绑卡信息未找到。请重新绑卡或联系客服。'],
['code' => 'PaymentDeclinedByBank', 'message' => 'The payment was declined by the bank.', 'http_code' => 400, 'description' => '您的银行拒绝了本次交易。请联系您的银行了解原因。'],
['code' => 'PaymentOrderStatusInvalid', 'message' => 'The payment order status returned by the channel is invalid.', 'http_code' => 400, 'description' => '支付渠道订单状态异常。请联系客服。'],
['code' => 'AmountLimitExceed', 'message' => 'The amount exceeds the limit.', 'http_code' => 400, 'description' => '交易金额超过限额。请调整金额或联系客服。'],
['code' => 'ThirdPartyPayerAccountStatusInvalid', 'message' => 'The third-party payer account status is invalid.', 'http_code' => 400, 'description' => '第三方资金账户状态异常。请联系客服。'],
['code' => 'InvalidCardNumber', 'message' => 'The credit card number is invalid.', 'http_code' => 400, 'description' => '您的银行卡卡号无效。请前往支付方式管理检查并更新绑定的银行卡。'],
['code' => 'CurrencyNotSupport', 'message' => 'The currency is not supported.', 'http_code' => 400, 'description' => '不支持当前币种交易。请更换其他币种或支付方式。'],
['code' => 'RepeatRefundRequestInconsist', 'message' => 'The repeated refund request parameters are inconsistent.', 'http_code' => 400, 'description' => '二次退款参数不一致。请检查后重试。'],
['code' => 'PaymentOrderNotExist', 'message' => 'The payment order does not exist in the channel.', 'http_code' => 400, 'description' => '支付渠道订单不存在。请刷新页面或重新发起交易。'],
['code' => 'PaymentOrderIsClosed', 'message' => 'The payment order has been closed by the channel.', 'http_code' => 400, 'description' => '支付渠道订单已关闭。请刷新页面或重新发起交易。'],
['code' => 'RefundTimeExceedLimit', 'message' => 'The refund time exceeds the maximum allowed refund period.', 'http_code' => 400, 'description' => '退款时间已超过允许范围。请联系客服。'],
['code' => 'TradeInCaptureOrCancelNotAllowRefund', 'message' => 'Refund is not allowed when the trade is in capture or cancel status.', 'http_code' => 400, 'description' => '交易状态不允许退款。请联系客服。'],
['code' => 'PaymentChargeback', 'message' => 'The user has initiated a chargeback.', 'http_code' => 400, 'description' => '用户已拒付本次交易。请联系客服。'],
['code' => 'TransactionTypeNotPermitted', 'message' => 'The credit card does not support this transaction type.', 'http_code' => 400, 'description' => '您的信用卡不支持该交易类型。请更换其他信用卡或支付方式。'],
['code' => 'InvalidAmount', 'message' => 'The amount is invalid.', 'http_code' => 400, 'description' => '金额无效。请检查后重试。'],
['code' => 'RecurringPaymentForbidden', 'message' => 'The user has forbidden recurring payments.', 'http_code' => 400, 'description' => '您已禁止代扣功能。请联系客服。'],
['code' => 'RefundAmountExceedLimit', 'message' => 'The cumulative refund amount exceeds the payment order amount.', 'http_code' => 400, 'description' => '退款金额超过支付单总金额。请检查退款金额。'],
['code' => 'BillingAgreementCancelled', 'message' => 'The billing agreement has been cancelled.', 'http_code' => 400, 'description' => '代扣协议已取消。请联系客服。'],
['code' => 'RequestTrafficExceedLimit', 'message' => 'The request traffic exceeds the channel rate limit.', 'http_code' => 400, 'description' => '支付渠道请求频繁,请稍后再试。'],
['code' => 'ExpiryDateWrong', 'message' => 'The credit card expiry date is wrong.', 'http_code' => 400, 'description' => '信用卡过期日期错误。请检查后重试。'],
['code' => 'PaymentOrderFrozen', 'message' => 'The payment order has been frozen by the channel.', 'http_code' => 400, 'description' => '支付渠道订单已冻结。请联系客服。'],
['code' => 'BillingAgreementIllegal', 'message' => 'The billing agreement status is illegal.', 'http_code' => 400, 'description' => '代扣协议状态异常。请联系客服。'],
['code' => 'Cvv2Declined', 'message' => 'The credit card CVV2 is invalid.', 'http_code' => 400, 'description' => '您输入的CVV2无效。请检查后重试。'],
['code' => 'AgreementNotExist', 'message' => 'The billing agreement does not exist.', 'http_code' => 400, 'description' => '代扣协议不存在。请联系客服。'],
['code' => 'COUPON_NOT_FOUND', 'message' => 'No claimable SLA coupons.', 'http_code' => 400, 'description' => '无可申领的SLA优惠券'],
['code' => 'CouponNotFound', 'message' => 'No claimable SLA coupons.', 'http_code' => 400, 'description' => '无可申领的SLA优惠券'],
['code' => 'InvoiceTitleNotExistSubSite', 'message' => 'There is currently no valid invoice title, please add a title before submitting the application.', 'http_code' => 400, 'description' => '当前无有效发票抬头,请新增抬头后再提交申请'],
['code' => 'InvoiceCnApiNotSupportInIntlSite', 'message' => 'Domestic station interface, not callable in international environment.', 'http_code' => 400, 'description' => '国内站接口,不可在国际环境调用'],
['code' => 'InvoiceIntlApiNotSupportInCnSite', 'message' => 'International station interface, cannot be called in domestic environment.', 'http_code' => 400, 'description' => '国际站接口,不可在国内环境调用'],
['code' => 'InvoiceApplyAmountNotEnough', 'message' => 'The current invoiced amount exceeds the total invoiced amount, please check the order again.', 'http_code' => 400, 'description' => '当前开票金额超过总可开票金额,请重新勾选订单'],
['code' => 'InvoiceApplyAmountNotEnoughSubSite', 'message' => 'The currently submitted invoicing amount exceeds the total invoicing amount, please check again.', 'http_code' => 400, 'description' => '当前提交的开票金额超过总可开票金额,请重新勾选'],
['code' => 'SUBSCRIPTION_0001', 'message' => 'invalid param.', 'http_code' => 400, 'description' => '参数错误'],
['code' => 'SUBSCRIPTION_0007', 'message' => 'Limited to once per hour.', 'http_code' => 400, 'description' => '每小时仅允许操作一次。如需再次修改,请下个小时重试.'],
['code' => 'MultiAccountQueryNotSupported', 'message' => 'The historical month dimension summary does not support multi-account query.', 'http_code' => 400, 'description' => ' "按产品/按账号"维度下,该月份仅支持单账号查看。切换其他维度可查看多账号,或通过导出获取。'],
['code' => 'LimitedOperation', 'message' => 'Limited to once per hour.', 'http_code' => 400, 'description' => '每小时仅允许操作一次。如需再次修改,请下个小时重试.'],
['code' => 'F-10000-16-00609', 'message' => 'Subscription not exist.', 'http_code' => 405, 'description' => '订阅不存在'],
],
'changeSet' => [
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateInstance'],
],
'createdAt' => '2024-12-03T10:49:43.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'QuerySavingsPlansDiscount'],
['description' => '请求参数发生变更', 'api' => 'QuerySavingsPlansInstance'],
],
'createdAt' => '2024-08-20T06:32:36.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetOrderDetail'],
],
'createdAt' => '2024-07-10T08:53:22.000Z',
'description' => '',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'QueryAccountBalance'],
],
'createdAt' => '2024-06-25T02:13:13.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'SubscribeBillToOSS'],
],
'createdAt' => '2024-06-19T12:39:51.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'QueryCostUnitResource'],
],
'createdAt' => '2024-06-19T07:38:07.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'DescribeSplitItemBill'],
],
'createdAt' => '2024-06-18T13:01:33.000Z',
'description' => '',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'QueryAvailableInstances'],
],
'createdAt' => '2024-05-13T07:34:44.000Z',
'description' => '',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'GetPayAsYouGoPrice'],
['description' => '错误码发生变更', 'api' => 'GetSubscriptionPrice'],
],
'createdAt' => '2024-04-23T12:28:52.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'CreateResourcePackage'],
['description' => '响应参数发生变更', 'api' => 'DescribeResourcePackageProduct'],
],
'createdAt' => '2024-04-19T03:46:08.000Z',
'description' => '',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'CreateAgAccount'],
],
'createdAt' => '2024-04-17T11:59:45.000Z',
'description' => '',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'QueryBill'],
['description' => '错误码发生变更', 'api' => 'QueryBillOverview'],
['description' => '错误码发生变更', 'api' => 'QueryInstanceBill'],
],
'createdAt' => '2024-03-28T11:11:46.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetOrderDetail'],
],
'createdAt' => '2024-03-14T11:48:31.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'SetRenewal'],
],
'createdAt' => '2024-01-25T01:36:02.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'DescribeInstanceBill'],
],
'createdAt' => '2023-12-13T02:06:16.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更、响应参数发生变更', 'api' => 'QueryAccountBalance'],
],
'createdAt' => '2023-12-12T01:50:13.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'QuerySavingsPlansDeductLog'],
],
'createdAt' => '2023-12-07T07:38:36.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'DescribeSplitItemBill'],
],
'createdAt' => '2023-11-21T10:03:28.000Z',
'description' => '',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'QueryAccountBill'],
],
'createdAt' => '2023-11-21T10:03:26.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更、错误码发生变更', 'api' => 'DescribeSavingsPlansCoverageDetail'],
],
'createdAt' => '2023-10-13T09:15:07.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'QueryCommodityList'],
['description' => '请求参数发生变更', 'api' => 'QueryPriceEntityList'],
['description' => '请求参数发生变更', 'api' => 'QuerySkuPriceList'],
],
'createdAt' => '2023-09-04T08:20:17.000Z',
'description' => '',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'CreateInstance'],
],
'createdAt' => '2023-08-22T07:26:12.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'QueryRedeem'],
],
'createdAt' => '2023-08-08T08:23:55.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'QueryRedeem'],
],
'createdAt' => '2023-08-08T03:59:01.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'QuerySavingsPlansInstance'],
],
'createdAt' => '2023-07-24T02:24:09.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'QueryCashCoupons'],
],
'createdAt' => '2023-07-19T02:27:27.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'UpgradeResourcePackage'],
],
'createdAt' => '2023-06-21T08:17:43.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'QuerySavingsPlansDiscount'],
['description' => '响应参数发生变更', 'api' => 'QuerySavingsPlansInstance'],
],
'createdAt' => '2023-05-25T08:40:00.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateSavingsPlansInstance'],
['description' => '响应参数发生变更、响应参数发生变更', 'api' => 'QuerySavingsPlansInstance'],
],
'createdAt' => '2023-03-27T09:27:48.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'QueryResellerUserAlarmThreshold'],
],
'createdAt' => '2023-03-24T08:23:05.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'DescribeInstanceAmortizedCostByAmortizationPeriod'],
['description' => '响应参数发生变更', 'api' => 'DescribeProductAmortizedCostByAmortizationPeriod'],
],
'createdAt' => '2023-01-10T03:48:53.000Z',
'description' => '成本账单openAPI,摊销视角',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'SetResellerUserStatus'],
],
'createdAt' => '2023-01-05T11:57:24.000Z',
'description' => '增加停机模式字段',
],
[
'apis' => [
['description' => '错误码发生变更、响应参数发生变更', 'api' => 'DescribeInstanceAmortizedCostByAmortizationPeriod'],
['description' => '错误码发生变更、响应参数发生变更', 'api' => 'DescribeProductAmortizedCostByAmortizationPeriod'],
],
'createdAt' => '2022-12-29T06:56:59.000Z',
'description' => '添加错误码',
],
[
'apis' => [
['description' => '错误码发生变更、响应参数发生变更', 'api' => 'ChangeResellerConsumeAmount'],
['description' => '错误码发生变更、响应参数发生变更', 'api' => 'CreateResellerUserQuota'],
['description' => '错误码发生变更、响应参数发生变更', 'api' => 'QueryResellerAvailableQuota'],
['description' => '错误码发生变更、响应参数发生变更', 'api' => 'SetResellerUserStatus'],
],
'createdAt' => '2022-12-29T03:08:31.000Z',
'description' => '新增错误码',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'GetCustomerAccountInfo'],
['description' => '错误码发生变更', 'api' => 'GetCustomerList'],
],
'createdAt' => '2022-12-26T12:12:37.000Z',
'description' => '更新api可用性',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'QueryInstanceGaapCost'],
],
'createdAt' => '2022-12-26T11:27:34.000Z',
'description' => '添加错误码',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'QueryInstanceGaapCost'],
],
'createdAt' => '2022-12-26T10:55:47.000Z',
'description' => '取消默认错误码',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'ConvertChargeType'],
],
'createdAt' => '2022-12-26T09:54:32.000Z',
'description' => '新增错误码映射',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'InquiryPriceRefundInstance'],
['description' => '错误码发生变更', 'api' => 'RefundInstance'],
],
'createdAt' => '2022-12-26T09:14:09.000Z',
'description' => '修改对客透出的错误码,非系统错误统一透出400错误',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'DescribeInstanceAmortizedCostByAmortizationPeriod'],
['description' => '请求参数发生变更', 'api' => 'DescribeProductAmortizedCostByAmortizationPeriod'],
],
'createdAt' => '2022-12-23T03:13:51.000Z',
'description' => '成本账单api发布新增必填项、新增数据校验',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'DescribeInstanceAmortizedCostByAmortizationPeriod'],
['description' => 'OpenAPI 下线', 'api' => 'DescribeProductAmortizedCostByAmortizationPeriod'],
],
'createdAt' => '2022-12-22T07:22:12.000Z',
'description' => '成本账单openAPI接口,通过摊销月视角查询产品、实例摊销数据目前暂未开放用户使用',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'QuerySavingsPlansInstance'],
],
'createdAt' => '2022-12-09T01:45:05.000Z',
'description' => '节省计划查询实例,实例数据新增周期类型字段',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'DescribeCostBudgetsSummary'],
],
'createdAt' => '2022-12-06T08:45:26.000Z',
'description' => '预算API ,发布DescribeCostBudgetsSummary的openAPI接口',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'AllocateCostUnitResource'],
['description' => '错误码发生变更', 'api' => 'CreateCostUnit'],
['description' => '错误码发生变更', 'api' => 'DeleteCostUnit'],
['description' => '错误码发生变更', 'api' => 'ModifyCostUnit'],
['description' => '错误码发生变更', 'api' => 'QueryCostUnit'],
['description' => '错误码发生变更', 'api' => 'QueryCostUnitResource'],
],
'createdAt' => '2022-11-17T07:15:44.000Z',
'description' => '后台接口版本号升级,不影响接口的正常使用。',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'QuerySavingsPlansDeductLog'],
],
'createdAt' => '2022-10-17T02:12:18.000Z',
'description' => '节省计划抵扣流水添加抵扣实例ownerId',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'QuerySkuPriceList'],
],
'createdAt' => '2022-10-09T03:48:44.000Z',
'description' => '1、增加了根据产品查询商品列表的接口2、增加了根据商品code查询商品定价对象的接口3、增加了根据商品定价对象code查询sku价格信息的接口',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'QueryAccountTransactionDetails'],
],
'createdAt' => '2022-09-29T15:06:13.000Z',
'description' => '补充API描述信息',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'SetAllExpirationDay'],
],
'createdAt' => '2022-09-28T07:08:13.000Z',
'description' => '展示返回值日志',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'QueryResourcePackageInstances'],
],
'createdAt' => '2022-09-19T02:14:50.000Z',
'description' => '更换hsf',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'QueryInstanceByTag'],
['description' => '错误码发生变更', 'api' => 'QueryInstanceByTag'],
['description' => '错误码发生变更', 'api' => 'TagResources'],
['description' => '错误码发生变更', 'api' => 'TagResources'],
['description' => '错误码发生变更', 'api' => 'UntagResources'],
['description' => '错误码发生变更', 'api' => 'UntagResources'],
],
'createdAt' => '2022-09-15T02:56:54.000Z',
'description' => '添加权限校验',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'UnsubscribeBillToOSS'],
['description' => '错误码发生变更', 'api' => 'UnsubscribeBillToOSS'],
],
'createdAt' => '2022-09-13T02:50:59.000Z',
'description' => '增加账单API Meta信息说明。',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'SetRenewal'],
],
'createdAt' => '2022-09-06T08:59:09.000Z',
'description' => '添加返回值记录',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'DescribePricingModule'],
['description' => '错误码发生变更', 'api' => 'QueryProductList'],
],
'createdAt' => '2022-07-04T03:27:28.000Z',
'description' => 'API:QueryProductList和DescribePricingModule 的后端服务provider切换到新应用',
],
[
'apis' => [
['description' => '响应参数发生变更、错误码发生变更', 'api' => 'QueryBillToOSSSubscription'],
['description' => '请求参数发生变更、错误码发生变更', 'api' => 'SubscribeBillToOSS'],
],
'createdAt' => '2022-05-19T13:44:10.000Z',
'description' => 'OSS订阅账单支持指定Bucket存储路径,新增参数BucketPath。',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'ReleaseInstance'],
],
'createdAt' => '2022-05-11T01:19:19.000Z',
'description' => '提供国家云虚商侧主动释放实例的管控接口',
],
[
'apis' => [
['description' => '请求参数发生变更、错误码发生变更', 'api' => 'QueryAccountTransactions'],
],
'createdAt' => '2022-04-11T08:54:50.000Z',
'description' => '查询收支明细api增加3个查询条件:交易类型、交易渠道、收支类型',
],
[
'apis' => [
['description' => '响应参数发生变更、错误码发生变更', 'api' => 'DescribeInstanceBill'],
['description' => '响应参数发生变更、错误码发生变更', 'api' => 'DescribeSplitItemBill'],
],
'createdAt' => '2022-01-18T06:42:03.000Z',
'description' => '添加计费项code',
],
[
'apis' => [
['description' => '响应参数发生变更、错误码发生变更', 'api' => 'AddAccountRelation'],
['description' => '请求参数发生变更、错误码发生变更', 'api' => 'ConfirmRelation'],
['description' => 'OpenAPI 下线', 'api' => 'GetAccountRelation'],
['description' => '请求参数发生变更、错误码发生变更', 'api' => 'ModifyAccountRelation'],
['description' => '请求参数发生变更、错误码发生变更', 'api' => 'RelieveAccountRelation'],
],
'createdAt' => '2021-12-15T03:36:39.000Z',
'description' => '升级财务关联OpenAPI接口,支持按照relationId操作账号关联',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateSavingsPlansInstance'],
],
'createdAt' => '2021-10-26T09:04:50.000Z',
'description' => '修改创建节省计划实例接口必填描述',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'CreateSavingsPlansInstance'],
],
'createdAt' => '2021-10-26T07:30:44.000Z',
'description' => '添加节省计划实例创建api',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'QuerySavingsPlansInstance'],
],
'createdAt' => '2021-09-07T10:00:07.000Z',
'description' => '节省计划新增上一张期使用率字段',
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceBill'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCommodityList'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeResourceUsageDetail'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InquiryPriceRefundInstance'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryAccountTransactions'],
['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RefundInstance'],
['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'],
['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryDPUtilizationDetail'],
['threshold' => '4', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelOrder'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AllocateCostUnitResource'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryResourcePackageInstances'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySavingsPlansInstance'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySkuPriceList'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAccountRelation'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSavingsPlansCoverageDetail'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeResourceCoverageDetail'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetResellerUserQuota'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QuerySplitItemBill'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryPriceEntityList'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryInvoicingCustomerList'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseInstance'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSavingsPlansUsageTotal'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryAccountBalance'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryAccountTransactionDetails'],
['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewInstance'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeProductAmortizedCostByAmortizationPeriod'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetResellerUserAlarmThreshold'],
['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCostUnit'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySavingsPlansDiscount'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSavingsPlansUsageDetail'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySavingsPlansDeductLog'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAgAccount'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSavingsPlansCoverageTotal'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCostUnit'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryPrepaidCards'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryRelationList'],
['threshold' => '60', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryAvailableInstances'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RenewResourcePackage'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOrderDetail'],
['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstance'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCustomerAddressList'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryAccountBill'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCostUnit'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateResellerUserQuota'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeResourceCoverageTotal'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryRedeem'],
['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SubscribeBillToOSS'],
['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPayAsYouGoPrice'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourcePackagePrice'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApplyInvoice'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCostUnit'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCustomerList'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryProductList'],
['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UnsubscribeBillToOSS'],
['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSubscriptionPrice'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryResellerAvailableQuota'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetResellerUserStatus'],
['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetAllExpirationDay'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCashCoupons'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryOrders'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCostUnitResource'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePricingModule'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryEvaluateList'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeResellerConsumeAmount'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeResourcePackageProduct'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeProductAmortizedCostByConsumePeriod'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceAmortizedCostByConsumePeriod'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QuerySettleBill'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceAmortizedCostByAmortizationPeriod'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeSplitItemBill'],
['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryBillToOSSSubscription'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpgradeResourcePackage'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeResourceUsageTotal'],
['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCostBudgetsSummary'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCustomerAccountInfo'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryInstanceBill'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryBill'],
['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetRenewal'],
['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertChargeType'],
['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryBillOverview'],
['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryRIUtilizationDetail'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryUserOmsData'],
],
],
'ram' => [
'productCode' => 'BssOpenApi',
'productName' => '阿里云交易和账单管理API',
'ramCodes' => ['bss', 'bssapi', 'efc'],
'ramLevel' => '操作级',
'ramConditions' => [
[
'name' => 'bssapi:ProductType',
'schema' => ['type' => 'STRING', 'description' => '操作资源的产品类型,示例:ecs'],
],
[
'name' => 'bssapi:ProductCode',
'schema' => ['type' => 'STRING', 'description' => '操作资源的产品code,示例:ecs'],
],
],
'ramActions' => [
[
'apiName' => 'SetResellerUserQuota',
'description' => '设置用户配额账本的Quota额度',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:SetResellerUserQuota',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryResellerUserAlarmThreshold',
'description' => '查询Quota额度低额预警规则',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryResellerUserAlarmThreshold',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryInstanceGaapCost',
'description' => '查询月费用分摊服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeGaapBill',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryResourcePackageInstances',
'description' => '查询资源包实例服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeInstances',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateResellerUserQuota',
'description' => '创建配额账本和消费账本',
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:CreateResellerUserQuota',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetSubscriptionPrice',
'description' => '预付费产品询价服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribePrice',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryCashCoupons',
'description' => '查询用户代金券信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeCoupons',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SetRenewal',
'description' => '设置实例自动续费服务',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyPrepaidInstanceAutoRenew',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'InquiryPriceRefundInstance',
'description' => '退订实例询价',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:RefundQueryRemainAmount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ModifyInstance',
'description' => '实例变更服务',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeResourcePackageProduct',
'description' => '描述资源包产品服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeProduct',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryCostUnitResource',
'description' => '查询财务单元的资源',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryCostUnitResource',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteCostUnit',
'description' => '删除财务单元',
'operationType' => 'delete',
'ramAction' => [
'action' => 'bss:DeleteCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CancelOrder',
'description' => '取消未支付订单服务',
'operationType' => '',
'ramAction' => [
'action' => 'bss:CancelOrder',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryBillOverview',
'description' => '账单总览查询服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBillList',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryCommodityList',
'description' => '根据产品code查询商品信息列表',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeProduct',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'RenewResourcePackage',
'description' => '资源包续费服务',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:CreateResourcePackage',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SetResellerUserStatus',
'description' => '设置托管、冻结状态',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:SetResellerUserStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ApplyInvoice',
'description' => '发票申请服务',
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ApplyInvoice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ModifyCostUnit',
'description' => '修改财务单元',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryBillToOSSSubscription',
'description' => '详单订阅查询',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeSubscribeToOSS',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryAvailableInstances',
'description' => '实例查询服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeInstances',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryInstanceBill',
'description' => '实例账单查询服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBillList',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'AllocateCostUnitResource',
'description' => '资源分配到财务单元',
'operationType' => '',
'ramAction' => [
'action' => 'bss:AllocateCostUnitResource',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryRIUtilizationDetail',
'description' => '预留实例用量查询',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryRiUtilizationDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'RefundInstance',
'description' => '退订实例',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:RefundBatchRemainRefund',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryAccountBill',
'description' => '账号账单查询服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryAccountBill',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryPrepaidCards',
'description' => '账户卡包查询',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescrbePrepaidCards',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryProductList',
'description' => '查询产品信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryProductList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SubscribeBillToOSS',
'description' => '设置OSS订阅账单文件',
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ModifySubscribeToOSS',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryPriceEntityList',
'description' => '商品定价对象列表查询',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeProduct',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryCustomerAddressList',
'description' => '查询发票邮寄地址服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryCustomerAddress',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateInstance',
'description' => '实例创建服务',
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ModifyInstance',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryDPUtilizationDetail',
'description' => '资源包用量查询',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:FrDeductLogQueryRequest',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeCostBudgetsSummary',
'description' => '查询成本管理预算概要信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeCostBudgetsSummary',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryBill',
'description' => '账单查询服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeBillList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryInvoicingCustomerList',
'description' => '发票抬头查询服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryCustomerInvoiceInfo',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetResourcePackagePrice',
'description' => '资源包产品询价服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribePrice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeSavingsPlansUsageTotal',
'description' => '节省计划使用率汇总',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:SavingsPlansAnalysis',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetCustomerAccountInfo',
'description' => '查找虚商客户账号信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:GetCustomerAccountInfo',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SetResellerUserAlarmThreshold',
'description' => '设置Quota额度低额预警规则',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:SetResellerUserAlarmThreshold',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryResellerAvailableQuota',
'description' => '查询当前可用配额余额信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryResellerAvailableQuota',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QuerySkuPriceList',
'description' => '查询商品定价对象下sku列表',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeProduct',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryAccountTransactions',
'description' => '账户流水收支明细查询接口',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeAcccountTran',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryOrders',
'description' => '订单列表查询服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeOrderList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UnsubscribeBillToOSS',
'description' => '取消详单订阅服务',
'operationType' => '',
'ramAction' => [
'action' => 'bss:ModifySubscribeToOSS',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeSavingsPlansCoverageDetail',
'description' => '节省计划覆盖率明细',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:SavingsPlansAnalysis',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeSavingsPlansUsageDetail',
'description' => '节省计划使用率明细',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:SavingsPlansAnalysis',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryAccountBalance',
'description' => '查询用户账户余额信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeAcccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryCostUnit',
'description' => '查询财务单元',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'RenewInstance',
'description' => '实例续费服务',
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ModifyInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetPayAsYouGoPrice',
'description' => '后付费产品询价服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribePrice',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ReleaseInstance',
'description' => '释放实例',
'operationType' => '',
'ramAction' => [
'action' => 'bss:ReleaseInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ChangeResellerConsumeAmount',
'description' => '进行用户 Quota 消费抵扣',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ChangeResellerConsumeAmount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryUserOmsData',
'description' => '根据传入的云产品查询相应的计量记录',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeUserOmsData',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpgradeResourcePackage',
'description' => '升级资源包服务',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:CreateResourcePackage',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeSavingsPlansCoverageTotal',
'description' => '节省计划覆盖率汇总',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:SavingsPlansAnalysis',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ConvertChargeType',
'description' => '切换实例付费模式',
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:ConvertChargeType',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SetAllExpirationDay',
'description' => '设置ECS统一到期日',
'operationType' => 'update',
'ramAction' => [
'action' => 'bss:ModifyPrepaidInstanceAutoRenew',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'RenewChangeInstance',
'description' => '续费变配服务',
'operationType' => 'none',
'ramAction' => [
'action' => 'bss:RenewChangeInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetCustomerList',
'description' => '查询子账号列表',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:GetCustomerList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribePricingModule',
'description' => '查询产品模块信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribePricingModule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateCostUnit',
'description' => '创建财务单元',
'operationType' => 'create',
'ramAction' => [
'action' => 'bss:CreateCostUnit',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryEvaluateList',
'description' => '待开票对象查询服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:QueryEvaluate',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetOrderDetail',
'description' => '订单详情查询服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bss:DescribeOrderDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeInstanceAmortizedCostByConsumePeriod',
'description' => '查询实例账期月摊销成本',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeCostBill',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryAccountTransactionDetails',
'description' => '账户流水收支明细详情查询接口',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryAccountTransactionDetails',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeSplitItemBill',
'description' => '分账账单服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeSplitItemBill',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'TagResources',
'description' => '为资源添加标签',
'operationType' => '',
'ramAction' => [
'action' => 'bssapi:TagResources',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QuerySettleBill',
'description' => '结算账单查询服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QuerySettleBill',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UntagResources',
'description' => '取消资源的标签',
'operationType' => '',
'ramAction' => [
'action' => 'bssapi:UntagResources',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeProductAmortizedCostByConsumePeriod',
'description' => '查询产品账期月摊销成本',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeCostBill',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryRedeem',
'description' => '查询提货券服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryRedeem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QuerySavingsPlansInstance',
'description' => '节省计划实例查询',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QuerySavingsPlansInstance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QuerySplitItemBill',
'description' => '查询分账账单',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QuerySplitItemBill',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeResourceCoverageTotal',
'description' => '资源覆盖率汇总',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeResourceCoverageTotal',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QuerySavingsPlansDeductLog',
'description' => '节省计划抵扣明细查询',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QuerySavingsPlansDeductLog',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeResourceUsageDetail',
'description' => '资源使用率明细',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeResourceUsageDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QuerySavingsPlansDiscount',
'description' => '查询节省计划折扣明细',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QuerySavingsPlansDiscount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeResourceCoverageDetail',
'description' => '资源覆盖率明细',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeResourceCoverageDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeProductAmortizedCostByAmortizationPeriod',
'description' => '查询产品摊销月摊销成本',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeCostBill',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeInstanceBill',
'description' => '查询实例账单服务',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeInstanceBill',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductCode', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
['conditionKey' => 'bssapi:ProductType', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryInstanceByTag',
'description' => '按标签查询实例',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryInstanceByTag',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryPermissionList',
'description' => '查询权限详情',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryPermissionList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryRelationList',
'description' => '查询企业财务关系列表',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryRelationList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryFinancialAccountInfo',
'description' => '查看企业财务账号信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:QueryFinancialAccountInfo',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeInstanceAmortizedCostByAmortizationPeriod',
'description' => '查询实例摊销月摊销成本',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeCostBill',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeResourceUsageTotal',
'description' => '资源使用率汇总',
'operationType' => 'get',
'ramAction' => [
'action' => 'bssapi:DescribeResourceUsageTotal',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'BssOpenApi', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'resourceTypes' => [],
],
];
|