EHPCApiResolver.php
77.0 KB
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
<?php
namespace AlibabaCloud\EHPC\V20180412;
use AlibabaCloud\Client\Resolver\ApiResolver;
/**
* @method AddContainerApp addContainerApp(array $options = [])
* @method AddExistedNodes addExistedNodes(array $options = [])
* @method AddLocalNodes addLocalNodes(array $options = [])
* @method AddNodes addNodes(array $options = [])
* @method AddQueue addQueue(array $options = [])
* @method AddSecurityGroup addSecurityGroup(array $options = [])
* @method AddUsers addUsers(array $options = [])
* @method ApplyNodes applyNodes(array $options = [])
* @method CreateCluster createCluster(array $options = [])
* @method CreateGWSCluster createGWSCluster(array $options = [])
* @method CreateGWSImage createGWSImage(array $options = [])
* @method CreateGWSInstance createGWSInstance(array $options = [])
* @method CreateHybridCluster createHybridCluster(array $options = [])
* @method CreateJobFile createJobFile(array $options = [])
* @method CreateJobTemplate createJobTemplate(array $options = [])
* @method DeleteCluster deleteCluster(array $options = [])
* @method DeleteContainerApps deleteContainerApps(array $options = [])
* @method DeleteGWSCluster deleteGWSCluster(array $options = [])
* @method DeleteGWSInstance deleteGWSInstance(array $options = [])
* @method DeleteImage deleteImage(array $options = [])
* @method DeleteJobs deleteJobs(array $options = [])
* @method DeleteJobTemplates deleteJobTemplates(array $options = [])
* @method DeleteNodes deleteNodes(array $options = [])
* @method DeleteQueue deleteQueue(array $options = [])
* @method DeleteSecurityGroup deleteSecurityGroup(array $options = [])
* @method DeleteUsers deleteUsers(array $options = [])
* @method DescribeAutoScaleConfig describeAutoScaleConfig(array $options = [])
* @method DescribeCluster describeCluster(array $options = [])
* @method DescribeContainerApp describeContainerApp(array $options = [])
* @method DescribeGWSClusterPolicy describeGWSClusterPolicy(array $options = [])
* @method DescribeGWSClusters describeGWSClusters(array $options = [])
* @method DescribeGWSImages describeGWSImages(array $options = [])
* @method DescribeGWSInstances describeGWSInstances(array $options = [])
* @method DescribeImage describeImage(array $options = [])
* @method DescribeImageGatewayConfig describeImageGatewayConfig(array $options = [])
* @method DescribeImagePrice describeImagePrice(array $options = [])
* @method DescribeJob describeJob(array $options = [])
* @method DescribeNFSClientStatus describeNFSClientStatus(array $options = [])
* @method DescribePrice describePrice(array $options = [])
* @method EcdDeleteDesktops ecdDeleteDesktops(array $options = [])
* @method EditJobTemplate editJobTemplate(array $options = [])
* @method GetAccountingReport getAccountingReport(array $options = [])
* @method GetAutoScaleConfig getAutoScaleConfig(array $options = [])
* @method GetCloudMetricLogs getCloudMetricLogs(array $options = [])
* @method GetCloudMetricProfiling getCloudMetricProfiling(array $options = [])
* @method GetClusterVolumes getClusterVolumes(array $options = [])
* @method GetGWSConnectTicket getGWSConnectTicket(array $options = [])
* @method GetHealthMonitorLogs getHealthMonitorLogs(array $options = [])
* @method GetHybridClusterConfig getHybridClusterConfig(array $options = [])
* @method GetIfEcsTypeSupportHtConfig getIfEcsTypeSupportHtConfig(array $options = [])
* @method GetSchedulerInfo getSchedulerInfo(array $options = [])
* @method GetVisualServiceStatus getVisualServiceStatus(array $options = [])
* @method GetWorkbenchToken getWorkbenchToken(array $options = [])
* @method InitializeEHPC initializeEHPC(array $options = [])
* @method InstallSoftware installSoftware(array $options = [])
* @method InvokeShellCommand invokeShellCommand(array $options = [])
* @method ListAvailableEcsTypes listAvailableEcsTypes(array $options = [])
* @method ListCloudMetricProfilings listCloudMetricProfilings(array $options = [])
* @method ListClusterLogs listClusterLogs(array $options = [])
* @method ListClusters listClusters(array $options = [])
* @method ListClustersMeta listClustersMeta(array $options = [])
* @method ListCommands listCommands(array $options = [])
* @method ListContainerApps listContainerApps(array $options = [])
* @method ListContainerImages listContainerImages(array $options = [])
* @method ListCpfsFileSystems listCpfsFileSystems(array $options = [])
* @method ListCurrentClientVersion listCurrentClientVersion(array $options = [])
* @method ListCustomImages listCustomImages(array $options = [])
* @method ListFileSystemWithMountTargets listFileSystemWithMountTargets(array $options = [])
* @method ListImages listImages(array $options = [])
* @method ListInstalledSoftware listInstalledSoftware(array $options = [])
* @method ListInvocationResults listInvocationResults(array $options = [])
* @method ListInvocationStatus listInvocationStatus(array $options = [])
* @method ListJobs listJobs(array $options = [])
* @method ListJobTemplates listJobTemplates(array $options = [])
* @method ListNodes listNodes(array $options = [])
* @method ListNodesByQueue listNodesByQueue(array $options = [])
* @method ListNodesNoPaging listNodesNoPaging(array $options = [])
* @method ListPreferredEcsTypes listPreferredEcsTypes(array $options = [])
* @method ListQueues listQueues(array $options = [])
* @method ListRegions listRegions(array $options = [])
* @method ListSecurityGroups listSecurityGroups(array $options = [])
* @method ListSoftwares listSoftwares(array $options = [])
* @method ListTasks listTasks(array $options = [])
* @method ListUsers listUsers(array $options = [])
* @method ListVolumes listVolumes(array $options = [])
* @method ModifyClusterAttributes modifyClusterAttributes(array $options = [])
* @method ModifyContainerAppAttributes modifyContainerAppAttributes(array $options = [])
* @method ModifyImageGatewayConfig modifyImageGatewayConfig(array $options = [])
* @method ModifyUserGroups modifyUserGroups(array $options = [])
* @method ModifyUserPasswords modifyUserPasswords(array $options = [])
* @method ModifyVisualServicePasswd modifyVisualServicePasswd(array $options = [])
* @method MountNFS mountNFS(array $options = [])
* @method PullImage pullImage(array $options = [])
* @method QueryServicePackAndPrice queryServicePackAndPrice(array $options = [])
* @method RecoverCluster recoverCluster(array $options = [])
* @method RerunJobs rerunJobs(array $options = [])
* @method ResetNodes resetNodes(array $options = [])
* @method RunCloudMetricProfiling runCloudMetricProfiling(array $options = [])
* @method SetAutoScaleConfig setAutoScaleConfig(array $options = [])
* @method SetGWSClusterPolicy setGWSClusterPolicy(array $options = [])
* @method SetGWSInstanceName setGWSInstanceName(array $options = [])
* @method SetGWSInstanceUser setGWSInstanceUser(array $options = [])
* @method SetQueue setQueue(array $options = [])
* @method SetSchedulerInfo setSchedulerInfo(array $options = [])
* @method StartCluster startCluster(array $options = [])
* @method StartGWSInstance startGWSInstance(array $options = [])
* @method StartNodes startNodes(array $options = [])
* @method StartVisualService startVisualService(array $options = [])
* @method StopCluster stopCluster(array $options = [])
* @method StopGWSInstance stopGWSInstance(array $options = [])
* @method StopJobs stopJobs(array $options = [])
* @method StopNodes stopNodes(array $options = [])
* @method StopVisualService stopVisualService(array $options = [])
* @method SubmitJob submitJob(array $options = [])
* @method UninstallSoftware uninstallSoftware(array $options = [])
* @method UpdateClusterVolumes updateClusterVolumes(array $options = [])
* @method UpdateQueueConfig updateQueueConfig(array $options = [])
* @method UpgradeClient upgradeClient(array $options = [])
*/
class EHPCApiResolver extends ApiResolver
{
}
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
{
/** @var string */
public $product = 'EHPC';
/** @var string */
public $version = '2018-04-12';
}
/**
* @method string getDescription()
* @method $this withDescription($value)
* @method string getRepository()
* @method $this withRepository($value)
* @method string getContainerType()
* @method $this withContainerType($value)
* @method string getName()
* @method $this withName($value)
* @method string getImageTag()
* @method $this withImageTag($value)
*/
class AddContainerApp extends Rpc
{
}
/**
* @method string getImageId()
* @method $this withImageId($value)
* @method array getInstance()
* @method string getClientToken()
* @method $this withClientToken($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getJobQueue()
* @method $this withJobQueue($value)
* @method string getImageOwnerAlias()
* @method $this withImageOwnerAlias($value)
*/
class AddExistedNodes extends Rpc
{
/**
* @param array $instance
*
* @return $this
*/
public function withInstance(array $instance)
{
$this->data['Instance'] = $instance;
foreach ($instance as $depth1 => $depth1Value) {
if(isset($depth1Value['Id'])){
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
}
}
return $this;
}
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getNodes()
* @method $this withNodes($value)
*/
class AddLocalNodes extends Rpc
{
}
/**
* @method string getImageId()
* @method $this withImageId($value)
* @method string getSystemDiskLevel()
* @method $this withSystemDiskLevel($value)
* @method string getClientToken()
* @method $this withClientToken($value)
* @method string getAllocatePublicAddress()
* @method $this withAllocatePublicAddress($value)
* @method string getInternetMaxBandWidthOut()
* @method $this withInternetMaxBandWidthOut($value)
* @method string getJobQueue()
* @method $this withJobQueue($value)
* @method string getImageOwnerAlias()
* @method $this withImageOwnerAlias($value)
* @method string getSystemDiskType()
* @method $this withSystemDiskType($value)
* @method string getMinCount()
* @method $this withMinCount($value)
* @method string getSystemDiskSize()
* @method $this withSystemDiskSize($value)
* @method string getInstanceType()
* @method $this withInstanceType($value)
* @method string getHostNamePrefix()
* @method $this withHostNamePrefix($value)
* @method string getComputeSpotPriceLimit()
* @method $this withComputeSpotPriceLimit($value)
* @method string getAutoRenewPeriod()
* @method $this withAutoRenewPeriod($value)
* @method string getPeriod()
* @method $this withPeriod($value)
* @method string getCount()
* @method $this withCount($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getComputeSpotStrategy()
* @method $this withComputeSpotStrategy($value)
* @method string getHostNameSuffix()
* @method $this withHostNameSuffix($value)
* @method string getSync()
* @method $this withSync($value)
* @method string getVSwitchId()
* @method $this withVSwitchId($value)
* @method string getPeriodUnit()
* @method $this withPeriodUnit($value)
* @method string getComputeEnableHt()
* @method $this withComputeEnableHt($value)
* @method string getAutoRenew()
* @method $this withAutoRenew($value)
* @method string getEcsChargeType()
* @method $this withEcsChargeType($value)
* @method string getInternetChargeType()
* @method $this withInternetChargeType($value)
* @method string getCreateMode()
* @method $this withCreateMode($value)
* @method string getZoneId()
* @method $this withZoneId($value)
* @method string getInternetMaxBandWidthIn()
* @method $this withInternetMaxBandWidthIn($value)
*/
class AddNodes extends Rpc
{
}
/**
* @method string getQueueName()
* @method $this withQueueName($value)
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class AddQueue extends Rpc
{
}
/**
* @method string getClientToken()
* @method $this withClientToken($value)
* @method string getSecurityGroupId()
* @method $this withSecurityGroupId($value)
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class AddSecurityGroup extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method array getUser()
*/
class AddUsers extends Rpc
{
/**
* @param array $user
*
* @return $this
*/
public function withUser(array $user)
{
$this->data['User'] = $user;
foreach ($user as $depth1 => $depth1Value) {
if(isset($depth1Value['Password'])){
$this->options['query']['User.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
}
if(isset($depth1Value['Name'])){
$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
}
if(isset($depth1Value['Group'])){
$this->options['query']['User.' . ($depth1 + 1) . '.Group'] = $depth1Value['Group'];
}
}
return $this;
}
}
/**
* @method string getImageId()
* @method $this withImageId($value)
* @method string getMemory()
* @method $this withMemory($value)
* @method string getSystemDiskLevel()
* @method $this withSystemDiskLevel($value)
* @method string getAllocatePublicAddress()
* @method $this withAllocatePublicAddress($value)
* @method string getInternetMaxBandWidthOut()
* @method $this withInternetMaxBandWidthOut($value)
* @method string getResourceAmountType()
* @method $this withResourceAmountType($value)
* @method string getStrictResourceProvision()
* @method $this withStrictResourceProvision($value)
* @method string getSystemDiskType()
* @method $this withSystemDiskType($value)
* @method string getCores()
* @method $this withCores($value)
* @method string getSystemDiskSize()
* @method $this withSystemDiskSize($value)
* @method array getZoneInfos()
* @method string getHostNamePrefix()
* @method $this withHostNamePrefix($value)
* @method string getComputeSpotPriceLimit()
* @method $this withComputeSpotPriceLimit($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getComputeSpotStrategy()
* @method $this withComputeSpotStrategy($value)
* @method string getHostNameSuffix()
* @method $this withHostNameSuffix($value)
* @method string getPriorityStrategy()
* @method $this withPriorityStrategy($value)
* @method string getInstanceFamilyLevel()
* @method $this withInstanceFamilyLevel($value)
* @method string getRound()
* @method $this withRound($value)
* @method string getInternetChargeType()
* @method $this withInternetChargeType($value)
* @method string getInterval()
* @method $this withInterval($value)
* @method array getInstanceTypeModel()
* @method string getInternetMaxBandWidthIn()
* @method $this withInternetMaxBandWidthIn($value)
* @method string getTargetCapacity()
* @method $this withTargetCapacity($value)
* @method string getStrictSatisfiedTargetCapacity()
* @method $this withStrictSatisfiedTargetCapacity($value)
*/
class ApplyNodes extends Rpc
{
/**
* @param array $zoneInfos
*
* @return $this
*/
public function withZoneInfos(array $zoneInfos)
{
$this->data['ZoneInfos'] = $zoneInfos;
foreach ($zoneInfos as $depth1 => $depth1Value) {
if(isset($depth1Value['VSwitchId'])){
$this->options['query']['ZoneInfos.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
}
if(isset($depth1Value['ZoneId'])){
$this->options['query']['ZoneInfos.' . ($depth1 + 1) . '.ZoneId'] = $depth1Value['ZoneId'];
}
}
return $this;
}
/**
* @param array $instanceTypeModel
*
* @return $this
*/
public function withInstanceTypeModel(array $instanceTypeModel)
{
$this->data['InstanceTypeModel'] = $instanceTypeModel;
foreach ($instanceTypeModel as $depth1 => $depth1Value) {
if(isset($depth1Value['MaxPrice'])){
$this->options['query']['InstanceTypeModel.' . ($depth1 + 1) . '.MaxPrice'] = $depth1Value['MaxPrice'];
}
if(isset($depth1Value['TargetImageId'])){
$this->options['query']['InstanceTypeModel.' . ($depth1 + 1) . '.TargetImageId'] = $depth1Value['TargetImageId'];
}
if(isset($depth1Value['InstanceType'])){
$this->options['query']['InstanceTypeModel.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
}
}
return $this;
}
}
/**
* @method array getAdditionalVolumes()
* @method string getEcsOrderManagerInstanceType()
* @method string getKeyPairName()
* @method $this withKeyPairName($value)
* @method string getSecurityGroupName()
* @method $this withSecurityGroupName($value)
* @method string getImageOwnerAlias()
* @method $this withImageOwnerAlias($value)
* @method string getDeployMode()
* @method $this withDeployMode($value)
* @method string getEcsOrderManagerCount()
* @method string getResourceGroupId()
* @method $this withResourceGroupId($value)
* @method string getPassword()
* @method $this withPassword($value)
* @method string getEcsOrderLoginCount()
* @method string getWithoutElasticIp()
* @method $this withWithoutElasticIp($value)
* @method string getRemoteVisEnable()
* @method $this withRemoteVisEnable($value)
* @method string getSystemDiskSize()
* @method $this withSystemDiskSize($value)
* @method string getComputeSpotPriceLimit()
* @method $this withComputeSpotPriceLimit($value)
* @method string getAutoRenewPeriod()
* @method $this withAutoRenewPeriod($value)
* @method string getPeriod()
* @method $this withPeriod($value)
* @method string getRemoteDirectory()
* @method $this withRemoteDirectory($value)
* @method string getEcsOrderComputeCount()
* @method string getComputeSpotStrategy()
* @method $this withComputeSpotStrategy($value)
* @method array getPostInstallScript()
* @method string getVSwitchId()
* @method $this withVSwitchId($value)
* @method string getPeriodUnit()
* @method $this withPeriodUnit($value)
* @method string getComputeEnableHt()
* @method $this withComputeEnableHt($value)
* @method string getAutoRenew()
* @method $this withAutoRenew($value)
* @method string getName()
* @method $this withName($value)
* @method string getVolumeId()
* @method $this withVolumeId($value)
* @method string getZoneId()
* @method $this withZoneId($value)
* @method string getSccClusterId()
* @method $this withSccClusterId($value)
* @method string getImageId()
* @method $this withImageId($value)
* @method string getSystemDiskLevel()
* @method $this withSystemDiskLevel($value)
* @method string getClientToken()
* @method $this withClientToken($value)
* @method string getEhpcVersion()
* @method $this withEhpcVersion($value)
* @method string getAccountType()
* @method $this withAccountType($value)
* @method string getSecurityGroupId()
* @method $this withSecurityGroupId($value)
* @method string getDescription()
* @method $this withDescription($value)
* @method string getEcsOrderComputeInstanceType()
* @method string getJobQueue()
* @method $this withJobQueue($value)
* @method string getVolumeType()
* @method $this withVolumeType($value)
* @method string getSystemDiskType()
* @method $this withSystemDiskType($value)
* @method string getVolumeProtocol()
* @method $this withVolumeProtocol($value)
* @method string getClientVersion()
* @method $this withClientVersion($value)
* @method string getOsTag()
* @method $this withOsTag($value)
* @method string getClusterVersion()
* @method $this withClusterVersion($value)
* @method string getIsComputeEss()
* @method $this withIsComputeEss($value)
* @method array getApplication()
* @method string getEcsChargeType()
* @method $this withEcsChargeType($value)
* @method string getInputFileUrl()
* @method $this withInputFileUrl($value)
* @method string getVpcId()
* @method $this withVpcId($value)
* @method string getHaEnable()
* @method $this withHaEnable($value)
* @method string getSchedulerType()
* @method $this withSchedulerType($value)
* @method string getVolumeMountpoint()
* @method $this withVolumeMountpoint($value)
* @method string getEcsOrderLoginInstanceType()
*/
class CreateCluster extends Rpc
{
/**
* @param array $additionalVolumes
*
* @return $this
*/
public function withAdditionalVolumes(array $additionalVolumes)
{
$this->data['AdditionalVolumes'] = $additionalVolumes;
foreach ($additionalVolumes as $depth1 => $depth1Value) {
if(isset($depth1Value['VolumeType'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeType'] = $depth1Value['VolumeType'];
}
if(isset($depth1Value['VolumeProtocol'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeProtocol'] = $depth1Value['VolumeProtocol'];
}
if(isset($depth1Value['LocalDirectory'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.LocalDirectory'] = $depth1Value['LocalDirectory'];
}
if(isset($depth1Value['RemoteDirectory'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.RemoteDirectory'] = $depth1Value['RemoteDirectory'];
}
foreach ($depth1Value['Roles'] as $depth2 => $depth2Value) {
if(isset($depth2Value['Name'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Roles.' . ($depth2 + 1) . '.Name'] = $depth2Value['Name'];
}
}
if(isset($depth1Value['VolumeId'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeId'] = $depth1Value['VolumeId'];
}
if(isset($depth1Value['VolumeMountpoint'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeMountpoint'] = $depth1Value['VolumeMountpoint'];
}
if(isset($depth1Value['Location'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Location'] = $depth1Value['Location'];
}
if(isset($depth1Value['JobQueue'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.JobQueue'] = $depth1Value['JobQueue'];
}
}
return $this;
}
/**
* @param string $value
*
* @return $this
*/
public function withEcsOrderManagerInstanceType($value)
{
$this->data['EcsOrderManagerInstanceType'] = $value;
$this->options['query']['EcsOrder.Manager.InstanceType'] = $value;
return $this;
}
/**
* @param string $value
*
* @return $this
*/
public function withEcsOrderManagerCount($value)
{
$this->data['EcsOrderManagerCount'] = $value;
$this->options['query']['EcsOrder.Manager.Count'] = $value;
return $this;
}
/**
* @param string $value
*
* @return $this
*/
public function withEcsOrderLoginCount($value)
{
$this->data['EcsOrderLoginCount'] = $value;
$this->options['query']['EcsOrder.Login.Count'] = $value;
return $this;
}
/**
* @param string $value
*
* @return $this
*/
public function withEcsOrderComputeCount($value)
{
$this->data['EcsOrderComputeCount'] = $value;
$this->options['query']['EcsOrder.Compute.Count'] = $value;
return $this;
}
/**
* @param array $postInstallScript
*
* @return $this
*/
public function withPostInstallScript(array $postInstallScript)
{
$this->data['PostInstallScript'] = $postInstallScript;
foreach ($postInstallScript as $depth1 => $depth1Value) {
if(isset($depth1Value['Args'])){
$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Args'] = $depth1Value['Args'];
}
if(isset($depth1Value['Url'])){
$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
}
}
return $this;
}
/**
* @param string $value
*
* @return $this
*/
public function withEcsOrderComputeInstanceType($value)
{
$this->data['EcsOrderComputeInstanceType'] = $value;
$this->options['query']['EcsOrder.Compute.InstanceType'] = $value;
return $this;
}
/**
* @param array $application
*
* @return $this
*/
public function withApplication(array $application)
{
$this->data['Application'] = $application;
foreach ($application as $depth1 => $depth1Value) {
if(isset($depth1Value['Tag'])){
$this->options['query']['Application.' . ($depth1 + 1) . '.Tag'] = $depth1Value['Tag'];
}
}
return $this;
}
/**
* @param string $value
*
* @return $this
*/
public function withEcsOrderLoginInstanceType($value)
{
$this->data['EcsOrderLoginInstanceType'] = $value;
$this->options['query']['EcsOrder.Login.InstanceType'] = $value;
return $this;
}
}
/**
* @method string getClusterType()
* @method $this withClusterType($value)
* @method string getVSwitchId()
* @method $this withVSwitchId($value)
* @method string getVpcId()
* @method $this withVpcId($value)
* @method string getName()
* @method $this withName($value)
*/
class CreateGWSCluster extends Rpc
{
}
/**
* @method string getInstanceId()
* @method $this withInstanceId($value)
* @method string getName()
* @method $this withName($value)
*/
class CreateGWSImage extends Rpc
{
}
/**
* @method string getImageId()
* @method $this withImageId($value)
* @method string getAllocatePublicAddress()
* @method $this withAllocatePublicAddress($value)
* @method string getAppList()
* @method $this withAppList($value)
* @method string getInternetMaxBandwidthOut()
* @method $this withInternetMaxBandwidthOut($value)
* @method string getSystemDiskCategory()
* @method $this withSystemDiskCategory($value)
* @method string getSystemDiskSize()
* @method $this withSystemDiskSize($value)
* @method string getInstanceType()
* @method $this withInstanceType($value)
* @method string getInstanceChargeType()
* @method $this withInstanceChargeType($value)
* @method string getPeriod()
* @method $this withPeriod($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getWorkMode()
* @method $this withWorkMode($value)
* @method string getVSwitchId()
* @method $this withVSwitchId($value)
* @method string getPeriodUnit()
* @method $this withPeriodUnit($value)
* @method string getAutoRenew()
* @method $this withAutoRenew($value)
* @method string getInternetChargeType()
* @method $this withInternetChargeType($value)
* @method string getName()
* @method $this withName($value)
* @method string getInternetMaxBandwidthIn()
* @method $this withInternetMaxBandwidthIn($value)
*/
class CreateGWSInstance extends Rpc
{
}
/**
* @method string getKeyPairName()
* @method $this withKeyPairName($value)
* @method string getMultiOs()
* @method $this withMultiOs($value)
* @method string getSecurityGroupName()
* @method $this withSecurityGroupName($value)
* @method string getOnPremiseVolumeRemotePath()
* @method $this withOnPremiseVolumeRemotePath($value)
* @method string getImageOwnerAlias()
* @method $this withImageOwnerAlias($value)
* @method string getResourceGroupId()
* @method $this withResourceGroupId($value)
* @method string getPassword()
* @method $this withPassword($value)
* @method string getComputeSpotPriceLimit()
* @method $this withComputeSpotPriceLimit($value)
* @method string getOnPremiseVolumeLocalPath()
* @method $this withOnPremiseVolumeLocalPath($value)
* @method string getRemoteDirectory()
* @method $this withRemoteDirectory($value)
* @method string getComputeSpotStrategy()
* @method $this withComputeSpotStrategy($value)
* @method array getPostInstallScript()
* @method string getVSwitchId()
* @method $this withVSwitchId($value)
* @method string getDomain()
* @method $this withDomain($value)
* @method string getName()
* @method $this withName($value)
* @method string getVolumeId()
* @method $this withVolumeId($value)
* @method string getZoneId()
* @method $this withZoneId($value)
* @method string getImageId()
* @method $this withImageId($value)
* @method string getClientToken()
* @method $this withClientToken($value)
* @method string getEhpcVersion()
* @method $this withEhpcVersion($value)
* @method string getSecurityGroupId()
* @method $this withSecurityGroupId($value)
* @method string getDescription()
* @method $this withDescription($value)
* @method string getEcsOrderComputeInstanceType()
* @method string getJobQueue()
* @method $this withJobQueue($value)
* @method string getVolumeType()
* @method $this withVolumeType($value)
* @method string getOnPremiseVolumeMountPoint()
* @method $this withOnPremiseVolumeMountPoint($value)
* @method string getOnPremiseVolumeProtocol()
* @method $this withOnPremiseVolumeProtocol($value)
* @method string getVolumeProtocol()
* @method $this withVolumeProtocol($value)
* @method string getClientVersion()
* @method $this withClientVersion($value)
* @method string getOsTag()
* @method $this withOsTag($value)
* @method array getNodes()
* @method array getApplication()
* @method string getVpcId()
* @method $this withVpcId($value)
* @method string getVolumeMountpoint()
* @method $this withVolumeMountpoint($value)
* @method string getSchedulerPreInstall()
* @method $this withSchedulerPreInstall($value)
* @method string getLocation()
* @method $this withLocation($value)
*/
class CreateHybridCluster extends Rpc
{
/**
* @param array $postInstallScript
*
* @return $this
*/
public function withPostInstallScript(array $postInstallScript)
{
$this->data['PostInstallScript'] = $postInstallScript;
foreach ($postInstallScript as $depth1 => $depth1Value) {
if(isset($depth1Value['Args'])){
$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Args'] = $depth1Value['Args'];
}
if(isset($depth1Value['Url'])){
$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
}
}
return $this;
}
/**
* @param string $value
*
* @return $this
*/
public function withEcsOrderComputeInstanceType($value)
{
$this->data['EcsOrderComputeInstanceType'] = $value;
$this->options['query']['EcsOrder.Compute.InstanceType'] = $value;
return $this;
}
/**
* @param array $nodes
*
* @return $this
*/
public function withNodes(array $nodes)
{
$this->data['Nodes'] = $nodes;
foreach ($nodes as $depth1 => $depth1Value) {
if(isset($depth1Value['IpAddress'])){
$this->options['query']['Nodes.' . ($depth1 + 1) . '.IpAddress'] = $depth1Value['IpAddress'];
}
if(isset($depth1Value['HostName'])){
$this->options['query']['Nodes.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
}
if(isset($depth1Value['Role'])){
$this->options['query']['Nodes.' . ($depth1 + 1) . '.Role'] = $depth1Value['Role'];
}
if(isset($depth1Value['AccountType'])){
$this->options['query']['Nodes.' . ($depth1 + 1) . '.AccountType'] = $depth1Value['AccountType'];
}
if(isset($depth1Value['SchedulerType'])){
$this->options['query']['Nodes.' . ($depth1 + 1) . '.SchedulerType'] = $depth1Value['SchedulerType'];
}
}
return $this;
}
/**
* @param array $application
*
* @return $this
*/
public function withApplication(array $application)
{
$this->data['Application'] = $application;
foreach ($application as $depth1 => $depth1Value) {
if(isset($depth1Value['Tag'])){
$this->options['query']['Application.' . ($depth1 + 1) . '.Tag'] = $depth1Value['Tag'];
}
}
return $this;
}
}
/**
* @method string getTargetFile()
* @method $this withTargetFile($value)
* @method string getRunasUserPassword()
* @method $this withRunasUserPassword($value)
* @method string getRunasUser()
* @method $this withRunasUser($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getContent()
* @method $this withContent($value)
*/
class CreateJobFile extends Rpc
{
}
/**
* @method string getStderrRedirectPath()
* @method $this withStderrRedirectPath($value)
* @method string getClockTime()
* @method $this withClockTime($value)
* @method string getCommandLine()
* @method $this withCommandLine($value)
* @method string getArrayRequest()
* @method $this withArrayRequest($value)
* @method string getPackagePath()
* @method $this withPackagePath($value)
* @method string getMem()
* @method $this withMem($value)
* @method string getStdoutRedirectPath()
* @method $this withStdoutRedirectPath($value)
* @method string getVariables()
* @method $this withVariables($value)
* @method string getRunasUser()
* @method $this withRunasUser($value)
* @method string getReRunable()
* @method $this withReRunable($value)
* @method string getThread()
* @method $this withThread($value)
* @method string getPriority()
* @method $this withPriority($value)
* @method string getGpu()
* @method $this withGpu($value)
* @method string getNode()
* @method $this withNode($value)
* @method string getTask()
* @method $this withTask($value)
* @method string getName()
* @method $this withName($value)
* @method string getQueue()
* @method $this withQueue($value)
*/
class CreateJobTemplate extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getReleaseInstance()
* @method $this withReleaseInstance($value)
*/
class DeleteCluster extends Rpc
{
}
/**
* @method array getContainerApp()
*/
class DeleteContainerApps extends Rpc
{
/**
* @param array $containerApp
*
* @return $this
*/
public function withContainerApp(array $containerApp)
{
$this->data['ContainerApp'] = $containerApp;
foreach ($containerApp as $depth1 => $depth1Value) {
if(isset($depth1Value['Id'])){
$this->options['query']['ContainerApp.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
}
}
return $this;
}
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class DeleteGWSCluster extends Rpc
{
}
/**
* @method string getInstanceId()
* @method $this withInstanceId($value)
*/
class DeleteGWSInstance extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getRepository()
* @method $this withRepository($value)
* @method string getContainerType()
* @method $this withContainerType($value)
* @method string getImageTag()
* @method $this withImageTag($value)
*/
class DeleteImage extends Rpc
{
}
/**
* @method string getJobs()
* @method $this withJobs($value)
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class DeleteJobs extends Rpc
{
}
/**
* @method string getTemplates()
* @method $this withTemplates($value)
*/
class DeleteJobTemplates extends Rpc
{
}
/**
* @method array getInstance()
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getSync()
* @method $this withSync($value)
* @method string getReleaseInstance()
* @method $this withReleaseInstance($value)
*/
class DeleteNodes extends Rpc
{
/**
* @param array $instance
*
* @return $this
*/
public function withInstance(array $instance)
{
$this->data['Instance'] = $instance;
foreach ($instance as $depth1 => $depth1Value) {
if(isset($depth1Value['Id'])){
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
}
}
return $this;
}
}
/**
* @method string getQueueName()
* @method $this withQueueName($value)
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class DeleteQueue extends Rpc
{
}
/**
* @method string getSecurityGroupId()
* @method $this withSecurityGroupId($value)
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class DeleteSecurityGroup extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method array getUser()
*/
class DeleteUsers extends Rpc
{
/**
* @param array $user
*
* @return $this
*/
public function withUser(array $user)
{
$this->data['User'] = $user;
foreach ($user as $depth1 => $depth1Value) {
if(isset($depth1Value['Name'])){
$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
}
}
return $this;
}
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class DescribeAutoScaleConfig extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class DescribeCluster extends Rpc
{
}
/**
* @method string getContainerId()
* @method $this withContainerId($value)
*/
class DescribeContainerApp extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getAsyncMode()
* @method $this withAsyncMode($value)
* @method string getTaskId()
* @method $this withTaskId($value)
*/
class DescribeGWSClusterPolicy extends Rpc
{
/** @var string */
public $method = 'POST';
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class DescribeGWSClusters extends Rpc
{
}
/**
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class DescribeGWSImages extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getInstanceId()
* @method $this withInstanceId($value)
* @method string getPageSize()
* @method $this withPageSize($value)
* @method string getUserUid()
* @method $this withUserUid($value)
* @method string getUserName()
* @method $this withUserName($value)
*/
class DescribeGWSInstances extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getRepository()
* @method $this withRepository($value)
* @method string getContainerType()
* @method $this withContainerType($value)
* @method string getImageTag()
* @method $this withImageTag($value)
*/
class DescribeImage extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class DescribeImageGatewayConfig extends Rpc
{
}
/**
* @method string getPeriod()
* @method $this withPeriod($value)
* @method string getAmount()
* @method $this withAmount($value)
* @method string getImageId()
* @method $this withImageId($value)
* @method string getSkuCode()
* @method $this withSkuCode($value)
* @method string getPriceUnit()
* @method $this withPriceUnit($value)
* @method string getOrderType()
* @method $this withOrderType($value)
*/
class DescribeImagePrice extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getJobId()
* @method $this withJobId($value)
*/
class DescribeJob extends Rpc
{
}
/**
* @method string getInstanceId()
* @method $this withInstanceId($value)
*/
class DescribeNFSClientStatus extends Rpc
{
}
/**
* @method array getCommodities()
* @method string getPriceUnit()
* @method $this withPriceUnit($value)
* @method string getChargeType()
* @method $this withChargeType($value)
* @method string getOrderType()
* @method $this withOrderType($value)
*/
class DescribePrice extends Rpc
{
/**
* @param array $commodities
*
* @return $this
*/
public function withCommodities(array $commodities)
{
$this->data['Commodities'] = $commodities;
foreach ($commodities as $depth1 => $depth1Value) {
if(isset($depth1Value['Amount'])){
$this->options['query']['Commodities.' . ($depth1 + 1) . '.Amount'] = $depth1Value['Amount'];
}
if(isset($depth1Value['Period'])){
$this->options['query']['Commodities.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
}
if(isset($depth1Value['NodeType'])){
$this->options['query']['Commodities.' . ($depth1 + 1) . '.NodeType'] = $depth1Value['NodeType'];
}
if(isset($depth1Value['SystemDiskCategory'])){
$this->options['query']['Commodities.' . ($depth1 + 1) . '.SystemDiskCategory'] = $depth1Value['SystemDiskCategory'];
}
if(isset($depth1Value['InternetChargeType'])){
$this->options['query']['Commodities.' . ($depth1 + 1) . '.InternetChargeType'] = $depth1Value['InternetChargeType'];
}
if(isset($depth1Value['SystemDiskPerformanceLevel'])){
$this->options['query']['Commodities.' . ($depth1 + 1) . '.SystemDiskPerformanceLevel'] = $depth1Value['SystemDiskPerformanceLevel'];
}
if(isset($depth1Value['SystemDiskSize'])){
$this->options['query']['Commodities.' . ($depth1 + 1) . '.SystemDiskSize'] = $depth1Value['SystemDiskSize'];
}
if(isset($depth1Value['InternetMaxBandWidthOut'])){
$this->options['query']['Commodities.' . ($depth1 + 1) . '.InternetMaxBandWidthOut'] = $depth1Value['InternetMaxBandWidthOut'];
}
if(isset($depth1Value['InstanceType'])){
$this->options['query']['Commodities.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
}
if(isset($depth1Value['NetworkType'])){
$this->options['query']['Commodities.' . ($depth1 + 1) . '.NetworkType'] = $depth1Value['NetworkType'];
}
}
return $this;
}
}
/**
* @method array getDesktopId()
*/
class EcdDeleteDesktops extends Rpc
{
/**
* @param array $desktopId
*
* @return $this
*/
public function withDesktopId(array $desktopId)
{
$this->data['DesktopId'] = $desktopId;
foreach ($desktopId as $i => $iValue) {
$this->options['query']['DesktopId.' . ($i + 1)] = $iValue;
}
return $this;
}
}
/**
* @method string getStderrRedirectPath()
* @method $this withStderrRedirectPath($value)
* @method string getClockTime()
* @method $this withClockTime($value)
* @method string getCommandLine()
* @method $this withCommandLine($value)
* @method string getArrayRequest()
* @method $this withArrayRequest($value)
* @method string getPackagePath()
* @method $this withPackagePath($value)
* @method string getMem()
* @method $this withMem($value)
* @method string getStdoutRedirectPath()
* @method $this withStdoutRedirectPath($value)
* @method string getVariables()
* @method $this withVariables($value)
* @method string getRunasUser()
* @method $this withRunasUser($value)
* @method string getReRunable()
* @method $this withReRunable($value)
* @method string getThread()
* @method $this withThread($value)
* @method string getTemplateId()
* @method $this withTemplateId($value)
* @method string getPriority()
* @method $this withPriority($value)
* @method string getGpu()
* @method $this withGpu($value)
* @method string getNode()
* @method $this withNode($value)
* @method string getTask()
* @method $this withTask($value)
* @method string getName()
* @method $this withName($value)
* @method string getQueue()
* @method $this withQueue($value)
*/
class EditJobTemplate extends Rpc
{
}
/**
* @method string getReportType()
* @method $this withReportType($value)
* @method string getEndTime()
* @method $this withEndTime($value)
* @method string getFilterValue()
* @method $this withFilterValue($value)
* @method string getDim()
* @method $this withDim($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getStartTime()
* @method $this withStartTime($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getJobId()
* @method $this withJobId($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class GetAccountingReport extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class GetAutoScaleConfig extends Rpc
{
}
/**
* @method string getMetricScope()
* @method $this withMetricScope($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getAggregationInterval()
* @method $this withAggregationInterval($value)
* @method string getReverse()
* @method $this withReverse($value)
* @method string getAggregationType()
* @method $this withAggregationType($value)
* @method string getFilter()
* @method $this withFilter($value)
* @method string getMetricCategories()
* @method $this withMetricCategories($value)
* @method string getFrom()
* @method $this withFrom($value)
* @method string getTo()
* @method $this withTo($value)
*/
class GetCloudMetricLogs extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getProfilingId()
* @method $this withProfilingId($value)
*/
class GetCloudMetricProfiling extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class GetClusterVolumes extends Rpc
{
}
/**
* @method string getInstanceId()
* @method $this withInstanceId($value)
* @method string getAppName()
* @method $this withAppName($value)
*/
class GetGWSConnectTicket extends Rpc
{
}
/**
* @method string getEndTime()
* @method $this withEndTime($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getStartTime()
* @method $this withStartTime($value)
* @method string getEnableReverse()
* @method $this withEnableReverse($value)
* @method string getFilter()
* @method $this withFilter($value)
*/
class GetHealthMonitorLogs extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getNode()
* @method $this withNode($value)
*/
class GetHybridClusterConfig extends Rpc
{
}
/**
* @method string getInstanceType()
* @method $this withInstanceType($value)
*/
class GetIfEcsTypeSupportHtConfig extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method array getScheduler()
*/
class GetSchedulerInfo extends Rpc
{
/**
* @param array $scheduler
*
* @return $this
*/
public function withScheduler(array $scheduler)
{
$this->data['Scheduler'] = $scheduler;
foreach ($scheduler as $depth1 => $depth1Value) {
if(isset($depth1Value['SchedName'])){
$this->options['query']['Scheduler.' . ($depth1 + 1) . '.SchedName'] = $depth1Value['SchedName'];
}
}
return $this;
}
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class GetVisualServiceStatus extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getUserPassword()
* @method $this withUserPassword($value)
* @method string getInstanceId()
* @method $this withInstanceId($value)
* @method string getPort()
* @method $this withPort($value)
* @method string getAccountSessionTicket()
* @method $this withAccountSessionTicket($value)
* @method string getAccountUid()
* @method $this withAccountUid($value)
* @method string getUserName()
* @method $this withUserName($value)
*/
class GetWorkbenchToken extends Rpc
{
}
class InitializeEHPC extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getApplication()
* @method $this withApplication($value)
*/
class InstallSoftware extends Rpc
{
}
/**
* @method array getInstance()
* @method string getWorkingDir()
* @method $this withWorkingDir($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getCommand()
* @method $this withCommand($value)
* @method string getTimeout()
* @method $this withTimeout($value)
*/
class InvokeShellCommand extends Rpc
{
/**
* @param array $instance
*
* @return $this
*/
public function withInstance(array $instance)
{
$this->data['Instance'] = $instance;
foreach ($instance as $depth1 => $depth1Value) {
if(isset($depth1Value['Id'])){
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
}
}
return $this;
}
}
/**
* @method string getSpotStrategy()
* @method $this withSpotStrategy($value)
* @method string getZoneId()
* @method $this withZoneId($value)
* @method string getShowSoldOut()
* @method $this withShowSoldOut($value)
* @method string getInstanceChargeType()
* @method $this withInstanceChargeType($value)
*/
class ListAvailableEcsTypes extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListCloudMetricProfilings extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListClusterLogs extends Rpc
{
}
/**
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListClusters extends Rpc
{
}
/**
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListClustersMeta extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getCommandId()
* @method $this withCommandId($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListCommands extends Rpc
{
}
/**
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListContainerApps extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getContainerType()
* @method $this withContainerType($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListContainerImages extends Rpc
{
}
/**
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
* @method string getFileSystemId()
* @method $this withFileSystemId($value)
*/
class ListCpfsFileSystems extends Rpc
{
}
class ListCurrentClientVersion extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getImageOwnerAlias()
* @method $this withImageOwnerAlias($value)
* @method string getBaseOsTag()
* @method $this withBaseOsTag($value)
* @method string getInstanceType()
* @method $this withInstanceType($value)
*/
class ListCustomImages extends Rpc
{
}
/**
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListFileSystemWithMountTargets extends Rpc
{
}
/**
* @method string getBaseOsTag()
* @method $this withBaseOsTag($value)
* @method string getInstanceType()
* @method $this withInstanceType($value)
*/
class ListImages extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class ListInstalledSoftware extends Rpc
{
}
/**
* @method array getInstance()
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getCommandId()
* @method $this withCommandId($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getInvokeRecordStatus()
* @method $this withInvokeRecordStatus($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListInvocationResults extends Rpc
{
/**
* @param array $instance
*
* @return $this
*/
public function withInstance(array $instance)
{
$this->data['Instance'] = $instance;
foreach ($instance as $depth1 => $depth1Value) {
if(isset($depth1Value['Id'])){
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
}
}
return $this;
}
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getCommandId()
* @method $this withCommandId($value)
*/
class ListInvocationStatus extends Rpc
{
}
/**
* @method string getOwner()
* @method $this withOwner($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getRerunable()
* @method $this withRerunable($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
* @method string getState()
* @method $this withState($value)
*/
class ListJobs extends Rpc
{
}
/**
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getName()
* @method $this withName($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListJobTemplates extends Rpc
{
}
/**
* @method string getRole()
* @method $this withRole($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getHostName()
* @method $this withHostName($value)
* @method string getPageSize()
* @method $this withPageSize($value)
* @method string getHostNamePrefix()
* @method $this withHostNamePrefix($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getHostNameSuffix()
* @method $this withHostNameSuffix($value)
* @method string getFilter()
* @method $this withFilter($value)
* @method string getPrivateIpAddress()
* @method $this withPrivateIpAddress($value)
* @method string getSequence()
* @method $this withSequence($value)
* @method string getSortBy()
* @method $this withSortBy($value)
*/
class ListNodes extends Rpc
{
}
/**
* @method string getQueueName()
* @method $this withQueueName($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListNodesByQueue extends Rpc
{
}
/**
* @method string getRole()
* @method $this withRole($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getSequence()
* @method $this withSequence($value)
* @method string getHostName()
* @method $this withHostName($value)
* @method string getOnlyDetached()
* @method $this withOnlyDetached($value)
*/
class ListNodesNoPaging extends Rpc
{
}
/**
* @method string getSpotStrategy()
* @method $this withSpotStrategy($value)
* @method string getZoneId()
* @method $this withZoneId($value)
* @method string getInstanceChargeType()
* @method $this withInstanceChargeType($value)
*/
class ListPreferredEcsTypes extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class ListQueues extends Rpc
{
}
class ListRegions extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class ListSecurityGroups extends Rpc
{
}
/**
* @method string getOsTag()
* @method $this withOsTag($value)
* @method string getEhpcVersion()
* @method $this withEhpcVersion($value)
*/
class ListSoftwares extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getArchived()
* @method $this withArchived($value)
* @method string getPageSize()
* @method $this withPageSize($value)
* @method string getTaskId()
* @method $this withTaskId($value)
*/
class ListTasks extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListUsers extends Rpc
{
}
/**
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getPageSize()
* @method $this withPageSize($value)
*/
class ListVolumes extends Rpc
{
}
/**
* @method string getImageId()
* @method $this withImageId($value)
* @method string getDescription()
* @method $this withDescription($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getImageOwnerAlias()
* @method $this withImageOwnerAlias($value)
* @method string getName()
* @method $this withName($value)
*/
class ModifyClusterAttributes extends Rpc
{
}
/**
* @method string getDescription()
* @method $this withDescription($value)
* @method string getContainerId()
* @method $this withContainerId($value)
*/
class ModifyContainerAppAttributes extends Rpc
{
}
/**
* @method array getRepo()
* @method string getDBServerInfo()
* @method $this withDBServerInfo($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getDefaultRepoLocation()
* @method $this withDefaultRepoLocation($value)
* @method string getDBPassword()
* @method $this withDBPassword($value)
* @method string getDBType()
* @method $this withDBType($value)
* @method string getDBUsername()
* @method $this withDBUsername($value)
* @method string getPullUpdateTimeout()
* @method $this withPullUpdateTimeout($value)
* @method string getImageExpirationTimeout()
* @method $this withImageExpirationTimeout($value)
*/
class ModifyImageGatewayConfig extends Rpc
{
/**
* @param array $repo
*
* @return $this
*/
public function withRepo(array $repo)
{
$this->data['Repo'] = $repo;
foreach ($repo as $depth1 => $depth1Value) {
if(isset($depth1Value['Auth'])){
$this->options['query']['Repo.' . ($depth1 + 1) . '.Auth'] = $depth1Value['Auth'];
}
if(isset($depth1Value['Location'])){
$this->options['query']['Repo.' . ($depth1 + 1) . '.Location'] = $depth1Value['Location'];
}
if(isset($depth1Value['URL'])){
$this->options['query']['Repo.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
}
}
return $this;
}
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method array getUser()
*/
class ModifyUserGroups extends Rpc
{
/**
* @param array $user
*
* @return $this
*/
public function withUser(array $user)
{
$this->data['User'] = $user;
foreach ($user as $depth1 => $depth1Value) {
if(isset($depth1Value['Name'])){
$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
}
if(isset($depth1Value['Group'])){
$this->options['query']['User.' . ($depth1 + 1) . '.Group'] = $depth1Value['Group'];
}
}
return $this;
}
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method array getUser()
*/
class ModifyUserPasswords extends Rpc
{
/**
* @param array $user
*
* @return $this
*/
public function withUser(array $user)
{
$this->data['User'] = $user;
foreach ($user as $depth1 => $depth1Value) {
if(isset($depth1Value['Password'])){
$this->options['query']['User.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
}
if(isset($depth1Value['Name'])){
$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
}
}
return $this;
}
}
/**
* @method string getRunasUserPassword()
* @method $this withRunasUserPassword($value)
* @method string getRunasUser()
* @method $this withRunasUser($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getPasswd()
* @method $this withPasswd($value)
*/
class ModifyVisualServicePasswd extends Rpc
{
}
/**
* @method string getMountDir()
* @method $this withMountDir($value)
* @method string getInstanceId()
* @method $this withInstanceId($value)
* @method string getRemoteDir()
* @method $this withRemoteDir($value)
* @method string getNfsDir()
* @method $this withNfsDir($value)
* @method string getProtocolType()
* @method $this withProtocolType($value)
*/
class MountNFS extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getRepository()
* @method $this withRepository($value)
* @method string getContainerType()
* @method $this withContainerType($value)
* @method string getImageTag()
* @method $this withImageTag($value)
*/
class PullImage extends Rpc
{
}
class QueryServicePackAndPrice extends Rpc
{
}
/**
* @method string getImageId()
* @method $this withImageId($value)
* @method string getOsTag()
* @method $this withOsTag($value)
* @method string getClientVersion()
* @method $this withClientVersion($value)
* @method string getAccountType()
* @method $this withAccountType($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getImageOwnerAlias()
* @method $this withImageOwnerAlias($value)
* @method string getSchedulerType()
* @method $this withSchedulerType($value)
*/
class RecoverCluster extends Rpc
{
}
/**
* @method string getJobs()
* @method $this withJobs($value)
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class RerunJobs extends Rpc
{
}
/**
* @method array getInstance()
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class ResetNodes extends Rpc
{
/**
* @param array $instance
*
* @return $this
*/
public function withInstance(array $instance)
{
$this->data['Instance'] = $instance;
foreach ($instance as $depth1 => $depth1Value) {
if(isset($depth1Value['Id'])){
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
}
}
return $this;
}
}
/**
* @method string getFreq()
* @method $this withFreq($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getDuration()
* @method $this withDuration($value)
* @method string getHostName()
* @method $this withHostName($value)
* @method string getProcessId()
* @method $this withProcessId($value)
*/
class RunCloudMetricProfiling extends Rpc
{
}
/**
* @method string getImageId()
* @method $this withImageId($value)
* @method string getSpotPriceLimit()
* @method $this withSpotPriceLimit($value)
* @method string getExcludeNodes()
* @method $this withExcludeNodes($value)
* @method string getExtraNodesGrowRatio()
* @method $this withExtraNodesGrowRatio($value)
* @method string getShrinkIdleTimes()
* @method $this withShrinkIdleTimes($value)
* @method string getGrowTimeoutInMinutes()
* @method $this withGrowTimeoutInMinutes($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getEnableAutoGrow()
* @method $this withEnableAutoGrow($value)
* @method string getEnableAutoShrink()
* @method $this withEnableAutoShrink($value)
* @method string getSpotStrategy()
* @method $this withSpotStrategy($value)
* @method string getMaxNodesInCluster()
* @method $this withMaxNodesInCluster($value)
* @method string getShrinkIntervalInMinutes()
* @method $this withShrinkIntervalInMinutes($value)
* @method array getQueues()
* @method string getGrowIntervalInMinutes()
* @method $this withGrowIntervalInMinutes($value)
* @method string getGrowRatio()
* @method $this withGrowRatio($value)
*/
class SetAutoScaleConfig extends Rpc
{
/**
* @param array $queues
*
* @return $this
*/
public function withQueues(array $queues)
{
$this->data['Queues'] = $queues;
foreach ($queues as $depth1 => $depth1Value) {
if(isset($depth1Value['QueueName'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.QueueName'] = $depth1Value['QueueName'];
}
if(isset($depth1Value['SystemDiskLevel'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.SystemDiskLevel'] = $depth1Value['SystemDiskLevel'];
}
foreach ($depth1Value['InstanceTypes'] as $depth2 => $depth2Value) {
if(isset($depth2Value['SpotStrategy'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.SpotStrategy'] = $depth2Value['SpotStrategy'];
}
if(isset($depth2Value['VSwitchId'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.VSwitchId'] = $depth2Value['VSwitchId'];
}
if(isset($depth2Value['InstanceType'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.InstanceType'] = $depth2Value['InstanceType'];
}
if(isset($depth2Value['ZoneId'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.ZoneId'] = $depth2Value['ZoneId'];
}
if(isset($depth2Value['SpotPriceLimit'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.SpotPriceLimit'] = $depth2Value['SpotPriceLimit'];
}
}
if(isset($depth1Value['EnableAutoGrow'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.EnableAutoGrow'] = $depth1Value['EnableAutoGrow'];
}
if(isset($depth1Value['SpotPriceLimit'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.SpotPriceLimit'] = $depth1Value['SpotPriceLimit'];
}
if(isset($depth1Value['HostNameSuffix'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.HostNameSuffix'] = $depth1Value['HostNameSuffix'];
}
if(isset($depth1Value['EnableAutoShrink'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.EnableAutoShrink'] = $depth1Value['EnableAutoShrink'];
}
if(isset($depth1Value['SpotStrategy'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.SpotStrategy'] = $depth1Value['SpotStrategy'];
}
if(isset($depth1Value['MinNodesInQueue'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.MinNodesInQueue'] = $depth1Value['MinNodesInQueue'];
}
if(isset($depth1Value['SystemDiskCategory'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.SystemDiskCategory'] = $depth1Value['SystemDiskCategory'];
}
if(isset($depth1Value['MaxNodesInQueue'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.MaxNodesInQueue'] = $depth1Value['MaxNodesInQueue'];
}
if(isset($depth1Value['SystemDiskSize'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.SystemDiskSize'] = $depth1Value['SystemDiskSize'];
}
if(isset($depth1Value['InstanceType'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
}
if(isset($depth1Value['QueueImageId'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.QueueImageId'] = $depth1Value['QueueImageId'];
}
if(isset($depth1Value['HostNamePrefix'])){
$this->options['query']['Queues.' . ($depth1 + 1) . '.HostNamePrefix'] = $depth1Value['HostNamePrefix'];
}
}
return $this;
}
}
/**
* @method string getWatermark()
* @method $this withWatermark($value)
* @method string getLocalDrive()
* @method $this withLocalDrive($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getClipboard()
* @method $this withClipboard($value)
* @method string getUsbRedirect()
* @method $this withUsbRedirect($value)
* @method string getAsyncMode()
* @method $this withAsyncMode($value)
* @method string getUdpPort()
* @method $this withUdpPort($value)
*/
class SetGWSClusterPolicy extends Rpc
{
/** @var string */
public $method = 'POST';
}
/**
* @method string getInstanceId()
* @method $this withInstanceId($value)
* @method string getName()
* @method $this withName($value)
*/
class SetGWSInstanceName extends Rpc
{
}
/**
* @method string getInstanceId()
* @method $this withInstanceId($value)
* @method string getUserUid()
* @method $this withUserUid($value)
* @method string getUserName()
* @method $this withUserName($value)
*/
class SetGWSInstanceUser extends Rpc
{
}
/**
* @method string getQueueName()
* @method $this withQueueName($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method array getNode()
*/
class SetQueue extends Rpc
{
/**
* @param array $node
*
* @return $this
*/
public function withNode(array $node)
{
$this->data['Node'] = $node;
foreach ($node as $depth1 => $depth1Value) {
if(isset($depth1Value['Name'])){
$this->options['query']['Node.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
}
}
return $this;
}
}
/**
* @method array getSlurmInfo()
* @method string getClusterId()
* @method $this withClusterId($value)
* @method array getScheduler()
* @method array getPbsInfo()
*/
class SetSchedulerInfo extends Rpc
{
/**
* @param array $slurmInfo
*
* @return $this
*/
public function withSlurmInfo(array $slurmInfo)
{
$this->data['SlurmInfo'] = $slurmInfo;
foreach ($slurmInfo as $depth1 => $depth1Value) {
if(isset($depth1Value['SchedInterval'])){
$this->options['query']['SlurmInfo.' . ($depth1 + 1) . '.SchedInterval'] = $depth1Value['SchedInterval'];
}
if(isset($depth1Value['BackfillInterval'])){
$this->options['query']['SlurmInfo.' . ($depth1 + 1) . '.BackfillInterval'] = $depth1Value['BackfillInterval'];
}
}
return $this;
}
/**
* @param array $scheduler
*
* @return $this
*/
public function withScheduler(array $scheduler)
{
$this->data['Scheduler'] = $scheduler;
foreach ($scheduler as $depth1 => $depth1Value) {
if(isset($depth1Value['SchedName'])){
$this->options['query']['Scheduler.' . ($depth1 + 1) . '.SchedName'] = $depth1Value['SchedName'];
}
}
return $this;
}
/**
* @param array $pbsInfo
*
* @return $this
*/
public function withPbsInfo(array $pbsInfo)
{
$this->data['PbsInfo'] = $pbsInfo;
foreach ($pbsInfo as $depth1 => $depth1Value) {
if(isset($depth1Value['SchedInterval'])){
$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.SchedInterval'] = $depth1Value['SchedInterval'];
}
foreach ($depth1Value['ResourceLimit'] as $depth2 => $depth2Value) {
if(isset($depth2Value['Nodes'])){
$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.Nodes'] = $depth2Value['Nodes'];
}
if(isset($depth2Value['Mem'])){
$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.Mem'] = $depth2Value['Mem'];
}
if(isset($depth2Value['Cpus'])){
$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.Cpus'] = $depth2Value['Cpus'];
}
if(isset($depth2Value['User'])){
$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.User'] = $depth2Value['User'];
}
if(isset($depth2Value['Queue'])){
$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.Queue'] = $depth2Value['Queue'];
}
}
foreach ($depth1Value['AclLimit'] as $depth2 => $depth2Value) {
if(isset($depth2Value['AclUsers'])){
$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.AclLimit.' . ($depth2 + 1) . '.AclUsers'] = $depth2Value['AclUsers'];
}
if(isset($depth2Value['Queue'])){
$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.AclLimit.' . ($depth2 + 1) . '.Queue'] = $depth2Value['Queue'];
}
}
if(isset($depth1Value['JobHistoryDuration'])){
$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.JobHistoryDuration'] = $depth1Value['JobHistoryDuration'];
}
}
return $this;
}
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class StartCluster extends Rpc
{
}
/**
* @method string getInstanceId()
* @method $this withInstanceId($value)
*/
class StartGWSInstance extends Rpc
{
}
/**
* @method string getRole()
* @method $this withRole($value)
* @method array getInstance()
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class StartNodes extends Rpc
{
/**
* @param array $instance
*
* @return $this
*/
public function withInstance(array $instance)
{
$this->data['Instance'] = $instance;
foreach ($instance as $depth1 => $depth1Value) {
if(isset($depth1Value['Id'])){
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
}
}
return $this;
}
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getPort()
* @method $this withPort($value)
* @method string getCidrIp()
* @method $this withCidrIp($value)
*/
class StartVisualService extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class StopCluster extends Rpc
{
}
/**
* @method string getInstanceId()
* @method $this withInstanceId($value)
*/
class StopGWSInstance extends Rpc
{
}
/**
* @method string getJobs()
* @method $this withJobs($value)
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class StopJobs extends Rpc
{
}
/**
* @method string getRole()
* @method $this withRole($value)
* @method array getInstance()
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class StopNodes extends Rpc
{
/**
* @param array $instance
*
* @return $this
*/
public function withInstance(array $instance)
{
$this->data['Instance'] = $instance;
foreach ($instance as $depth1 => $depth1Value) {
if(isset($depth1Value['Id'])){
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
}
}
return $this;
}
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getPort()
* @method $this withPort($value)
* @method string getCidrIp()
* @method $this withCidrIp($value)
*/
class StopVisualService extends Rpc
{
}
/**
* @method string getStderrRedirectPath()
* @method $this withStderrRedirectPath($value)
* @method string getRunasUserPassword()
* @method $this withRunasUserPassword($value)
* @method string getClockTime()
* @method $this withClockTime($value)
* @method string getCommandLine()
* @method $this withCommandLine($value)
* @method string getJobQueue()
* @method $this withJobQueue($value)
* @method string getArrayRequest()
* @method $this withArrayRequest($value)
* @method string getUnzipCmd()
* @method $this withUnzipCmd($value)
* @method string getPackagePath()
* @method $this withPackagePath($value)
* @method string getMem()
* @method $this withMem($value)
* @method string getStdoutRedirectPath()
* @method $this withStdoutRedirectPath($value)
* @method string getVariables()
* @method $this withVariables($value)
* @method string getPostCmdLine()
* @method $this withPostCmdLine($value)
* @method string getRunasUser()
* @method $this withRunasUser($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getReRunable()
* @method $this withReRunable($value)
* @method string getThread()
* @method $this withThread($value)
* @method string getPriority()
* @method $this withPriority($value)
* @method string getGpu()
* @method $this withGpu($value)
* @method string getNode()
* @method $this withNode($value)
* @method string getTask()
* @method $this withTask($value)
* @method string getInputFileUrl()
* @method $this withInputFileUrl($value)
* @method string getName()
* @method $this withName($value)
* @method string getContainerId()
* @method $this withContainerId($value)
*/
class SubmitJob extends Rpc
{
}
/**
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getApplication()
* @method $this withApplication($value)
*/
class UninstallSoftware extends Rpc
{
}
/**
* @method array getAdditionalVolumes()
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class UpdateClusterVolumes extends Rpc
{
/**
* @param array $additionalVolumes
*
* @return $this
*/
public function withAdditionalVolumes(array $additionalVolumes)
{
$this->data['AdditionalVolumes'] = $additionalVolumes;
foreach ($additionalVolumes as $depth1 => $depth1Value) {
if(isset($depth1Value['VolumeType'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeType'] = $depth1Value['VolumeType'];
}
if(isset($depth1Value['VolumeProtocol'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeProtocol'] = $depth1Value['VolumeProtocol'];
}
if(isset($depth1Value['LocalDirectory'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.LocalDirectory'] = $depth1Value['LocalDirectory'];
}
if(isset($depth1Value['RemoteDirectory'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.RemoteDirectory'] = $depth1Value['RemoteDirectory'];
}
foreach ($depth1Value['Roles'] as $depth2 => $depth2Value) {
if(isset($depth2Value['Name'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Roles.' . ($depth2 + 1) . '.Name'] = $depth2Value['Name'];
}
}
if(isset($depth1Value['VolumeId'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeId'] = $depth1Value['VolumeId'];
}
if(isset($depth1Value['VolumeMountpoint'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeMountpoint'] = $depth1Value['VolumeMountpoint'];
}
if(isset($depth1Value['Location'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Location'] = $depth1Value['Location'];
}
if(isset($depth1Value['JobQueue'])){
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.JobQueue'] = $depth1Value['JobQueue'];
}
}
return $this;
}
}
/**
* @method string getQueueName()
* @method $this withQueueName($value)
* @method string getClusterId()
* @method $this withClusterId($value)
* @method string getResourceGroupId()
* @method $this withResourceGroupId($value)
* @method string getComputeInstanceType()
* @method $this withComputeInstanceType($value)
*/
class UpdateQueueConfig extends Rpc
{
}
/**
* @method string getClientVersion()
* @method $this withClientVersion($value)
* @method string getClusterId()
* @method $this withClusterId($value)
*/
class UpgradeClient extends Rpc
{
}