1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\EHPC\V20180412; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\ApiResolverTrait; |
6
|
|
|
use AlibabaCloud\Rpc; |
7
|
|
|
|
8
|
|
|
/** |
9
|
|
|
* Resolve Api based on the method name. |
10
|
|
|
* |
11
|
|
|
* @method UpdateClusterVolumes updateClusterVolumes(array $options = []) |
12
|
|
|
* @method GetAccountingReport getAccountingReport(array $options = []) |
13
|
|
|
* @method InstallSoftware installSoftware(array $options = []) |
14
|
|
|
* @method UninstallSoftware uninstallSoftware(array $options = []) |
15
|
|
|
* @method ListInstalledSoftware listInstalledSoftware(array $options = []) |
16
|
|
|
* @method ListNodesByQueue listNodesByQueue(array $options = []) |
17
|
|
|
* @method SetQueue setQueue(array $options = []) |
18
|
|
|
* @method DeleteQueue deleteQueue(array $options = []) |
19
|
|
|
* @method AddQueue addQueue(array $options = []) |
20
|
|
|
* @method ListCpfsFileSystems listCpfsFileSystems(array $options = []) |
21
|
|
|
* @method ListAvailableFileSystemTypes listAvailableFileSystemTypes(array $options = []) |
22
|
|
|
* @method StopVisualService stopVisualService(array $options = []) |
23
|
|
|
* @method StartVisualService startVisualService(array $options = []) |
24
|
|
|
* @method GetVisualServiceStatus getVisualServiceStatus(array $options = []) |
25
|
|
|
* @method ModifyVisualServicePasswd modifyVisualServicePasswd(array $options = []) |
26
|
|
|
* @method ListClustersMeta listClustersMeta(array $options = []) |
27
|
|
|
* @method CreateJobFile createJobFile(array $options = []) |
28
|
|
|
* @method ListFileSystemWithMountTargets listFileSystemWithMountTargets(array $options = []) |
29
|
|
|
* @method ListAvailableEcsTypes listAvailableEcsTypes(array $options = []) |
30
|
|
|
* @method ListQueues listQueues(array $options = []) |
31
|
|
|
* @method DescribeImagePrice describeImagePrice(array $options = []) |
32
|
|
|
* @method DescribePrice describePrice(array $options = []) |
33
|
|
|
* @method ListCloudMetricProfilings listCloudMetricProfilings(array $options = []) |
34
|
|
|
* @method RunCloudMetricProfiling runCloudMetricProfiling(array $options = []) |
35
|
|
|
* @method GetCloudMetricProfiling getCloudMetricProfiling(array $options = []) |
36
|
|
|
* @method AddLocalNodes addLocalNodes(array $options = []) |
37
|
|
|
* @method GetCloudMetricLogs getCloudMetricLogs(array $options = []) |
38
|
|
|
* @method PullImage pullImage(array $options = []) |
39
|
|
|
* @method ModifyImageGatewayConfig modifyImageGatewayConfig(array $options = []) |
40
|
|
|
* @method ListContainerImages listContainerImages(array $options = []) |
41
|
|
|
* @method DescribeImage describeImage(array $options = []) |
42
|
|
|
* @method DescribeImageGatewayConfig describeImageGatewayConfig(array $options = []) |
43
|
|
|
* @method DeleteImage deleteImage(array $options = []) |
44
|
|
|
* @method CreateHybridCluster createHybridCluster(array $options = []) |
45
|
|
|
* @method GetHybridClusterConfig getHybridClusterConfig(array $options = []) |
46
|
|
|
* @method ModifyContainerAppAttributes modifyContainerAppAttributes(array $options = []) |
47
|
|
|
* @method ListContainerApps listContainerApps(array $options = []) |
48
|
|
|
* @method DescribeContainerApp describeContainerApp(array $options = []) |
49
|
|
|
* @method DeleteContainerApps deleteContainerApps(array $options = []) |
50
|
|
|
* @method AddContainerApp addContainerApp(array $options = []) |
51
|
|
|
* @method ListCommands listCommands(array $options = []) |
52
|
|
|
* @method ListInvocationStatus listInvocationStatus(array $options = []) |
53
|
|
|
* @method ListInvocationResults listInvocationResults(array $options = []) |
54
|
|
|
* @method InvokeShellCommand invokeShellCommand(array $options = []) |
55
|
|
|
* @method DescribeAutoScaleConfig describeAutoScaleConfig(array $options = []) |
56
|
|
|
* @method RecoverCluster recoverCluster(array $options = []) |
57
|
|
|
* @method StopNodes stopNodes(array $options = []) |
58
|
|
|
* @method StartCluster startCluster(array $options = []) |
59
|
|
|
* @method StartNodes startNodes(array $options = []) |
60
|
|
|
* @method StopCluster stopCluster(array $options = []) |
61
|
|
|
* @method StopJobs stopJobs(array $options = []) |
62
|
|
|
* @method ListClusters listClusters(array $options = []) |
63
|
|
|
* @method ListRegions listRegions(array $options = []) |
64
|
|
|
* @method ListNodesNoPaging listNodesNoPaging(array $options = []) |
65
|
|
|
* @method ListJobs listJobs(array $options = []) |
66
|
|
|
* @method ModifyUserPasswords modifyUserPasswords(array $options = []) |
67
|
|
|
* @method ListPreferredEcsTypes listPreferredEcsTypes(array $options = []) |
68
|
|
|
* @method GetAutoScaleConfig getAutoScaleConfig(array $options = []) |
69
|
|
|
* @method ModifyUserGroups modifyUserGroups(array $options = []) |
70
|
|
|
* @method SetAutoScaleConfig setAutoScaleConfig(array $options = []) |
71
|
|
|
* @method EditJobTemplate editJobTemplate(array $options = []) |
72
|
|
|
* @method AddNodes addNodes(array $options = []) |
73
|
|
|
* @method DeleteUsers deleteUsers(array $options = []) |
74
|
|
|
* @method ListImages listImages(array $options = []) |
75
|
|
|
* @method DeleteJobs deleteJobs(array $options = []) |
76
|
|
|
* @method DeleteNodes deleteNodes(array $options = []) |
77
|
|
|
* @method ListCustomImages listCustomImages(array $options = []) |
78
|
|
|
* @method ResetNodes resetNodes(array $options = []) |
79
|
|
|
* @method SetJobUser setJobUser(array $options = []) |
80
|
|
|
* @method ListJobTemplates listJobTemplates(array $options = []) |
81
|
|
|
* @method ListSoftwares listSoftwares(array $options = []) |
82
|
|
|
* @method AddUsers addUsers(array $options = []) |
83
|
|
|
* @method DescribeCluster describeCluster(array $options = []) |
84
|
|
|
* @method ListCurrentClientVersion listCurrentClientVersion(array $options = []) |
85
|
|
|
* @method SubmitJob submitJob(array $options = []) |
86
|
|
|
* @method ListVolumes listVolumes(array $options = []) |
87
|
|
|
* @method ListNodes listNodes(array $options = []) |
88
|
|
|
* @method UpgradeClient upgradeClient(array $options = []) |
89
|
|
|
* @method ModifyClusterAttributes modifyClusterAttributes(array $options = []) |
90
|
|
|
* @method CreateJobTemplate createJobTemplate(array $options = []) |
91
|
|
|
* @method CreateCluster createCluster(array $options = []) |
92
|
|
|
* @method DeleteCluster deleteCluster(array $options = []) |
93
|
|
|
* @method ListUsers listUsers(array $options = []) |
94
|
|
|
* @method ListClusterLogs listClusterLogs(array $options = []) |
95
|
|
|
* @method DeleteJobTemplates deleteJobTemplates(array $options = []) |
96
|
|
|
* @method RerunJobs rerunJobs(array $options = []) |
97
|
|
|
*/ |
98
|
|
|
class EHPCApiResolver |
99
|
|
|
{ |
100
|
|
|
use ApiResolverTrait; |
101
|
|
|
} |
102
|
|
|
|
103
|
|
|
class V20180412Rpc extends Rpc |
104
|
|
|
{ |
105
|
|
|
/** @var string */ |
106
|
|
|
public $product = 'EHPC'; |
107
|
|
|
|
108
|
|
|
/** @var string */ |
109
|
|
|
public $version = '2018-04-12'; |
110
|
|
|
|
111
|
|
|
/** @var string */ |
112
|
|
|
public $serviceCode = 'ehs'; |
113
|
|
|
} |
114
|
|
|
|
115
|
|
|
/** |
116
|
|
|
* @method array getAdditionalVolumes() |
117
|
|
|
* @method string getClusterId() |
118
|
|
|
* @method $this withClusterId($value) |
119
|
|
|
*/ |
120
|
|
|
class UpdateClusterVolumes extends V20180412Rpc |
121
|
|
|
{ |
122
|
|
|
|
123
|
|
|
/** |
124
|
|
|
* @param array $additionalVolumes |
125
|
|
|
* |
126
|
|
|
* @return $this |
127
|
|
|
*/ |
128
|
|
|
public function withAdditionalVolumes(array $additionalVolumes) |
129
|
|
|
{ |
130
|
|
|
$this->data['AdditionalVolumes'] = $additionalVolumes; |
131
|
|
|
foreach ($additionalVolumes as $depth1 => $depth1Value) { |
132
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeType'] = $depth1Value['VolumeType']; |
133
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeProtocol'] = $depth1Value['VolumeProtocol']; |
134
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Role'] = $depth1Value['Role']; |
135
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.LocalDirectory'] = $depth1Value['LocalDirectory']; |
136
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.RemoteDirectory'] = $depth1Value['RemoteDirectory']; |
137
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeId'] = $depth1Value['VolumeId']; |
138
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeMountpoint'] = $depth1Value['VolumeMountpoint']; |
139
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Location'] = $depth1Value['Location']; |
140
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.JobQueue'] = $depth1Value['JobQueue']; |
141
|
|
|
} |
142
|
|
|
|
143
|
|
|
return $this; |
144
|
|
|
} |
145
|
|
|
} |
146
|
|
|
|
147
|
|
|
/** |
148
|
|
|
* @method string getReportType() |
149
|
|
|
* @method $this withReportType($value) |
150
|
|
|
* @method string getEndTime() |
151
|
|
|
* @method $this withEndTime($value) |
152
|
|
|
* @method string getClusterId() |
153
|
|
|
* @method $this withClusterId($value) |
154
|
|
|
* @method string getStartTime() |
155
|
|
|
* @method $this withStartTime($value) |
156
|
|
|
*/ |
157
|
|
|
class GetAccountingReport extends V20180412Rpc |
158
|
|
|
{ |
159
|
|
|
} |
160
|
|
|
|
161
|
|
|
/** |
162
|
|
|
* @method string getApplication() |
163
|
|
|
* @method $this withApplication($value) |
164
|
|
|
* @method string getClusterId() |
165
|
|
|
* @method $this withClusterId($value) |
166
|
|
|
*/ |
167
|
|
|
class InstallSoftware extends V20180412Rpc |
168
|
|
|
{ |
169
|
|
|
} |
170
|
|
|
|
171
|
|
|
/** |
172
|
|
|
* @method string getApplication() |
173
|
|
|
* @method $this withApplication($value) |
174
|
|
|
* @method string getClusterId() |
175
|
|
|
* @method $this withClusterId($value) |
176
|
|
|
*/ |
177
|
|
|
class UninstallSoftware extends V20180412Rpc |
178
|
|
|
{ |
179
|
|
|
} |
180
|
|
|
|
181
|
|
|
/** |
182
|
|
|
* @method string getClusterId() |
183
|
|
|
* @method $this withClusterId($value) |
184
|
|
|
*/ |
185
|
|
|
class ListInstalledSoftware extends V20180412Rpc |
186
|
|
|
{ |
187
|
|
|
} |
188
|
|
|
|
189
|
|
|
/** |
190
|
|
|
* @method string getQueueName() |
191
|
|
|
* @method $this withQueueName($value) |
192
|
|
|
* @method string getPageSize() |
193
|
|
|
* @method $this withPageSize($value) |
194
|
|
|
* @method string getClusterId() |
195
|
|
|
* @method $this withClusterId($value) |
196
|
|
|
* @method string getPageNumber() |
197
|
|
|
* @method $this withPageNumber($value) |
198
|
|
|
*/ |
199
|
|
|
class ListNodesByQueue extends V20180412Rpc |
200
|
|
|
{ |
201
|
|
|
} |
202
|
|
|
|
203
|
|
|
/** |
204
|
|
|
* @method string getQueueName() |
205
|
|
|
* @method $this withQueueName($value) |
206
|
|
|
* @method array getNode() |
207
|
|
|
* @method string getClusterId() |
208
|
|
|
* @method $this withClusterId($value) |
209
|
|
|
*/ |
210
|
|
|
class SetQueue extends V20180412Rpc |
211
|
|
|
{ |
212
|
|
|
|
213
|
|
|
/** |
214
|
|
|
* @param array $node |
215
|
|
|
* |
216
|
|
|
* @return $this |
217
|
|
|
*/ |
218
|
|
|
public function withNode(array $node) |
219
|
|
|
{ |
220
|
|
|
$this->data['Node'] = $node; |
221
|
|
|
foreach ($node as $depth1 => $depth1Value) { |
222
|
|
|
$this->options['query']['Node.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name']; |
223
|
|
|
} |
224
|
|
|
|
225
|
|
|
return $this; |
226
|
|
|
} |
227
|
|
|
} |
228
|
|
|
|
229
|
|
|
/** |
230
|
|
|
* @method string getQueueName() |
231
|
|
|
* @method $this withQueueName($value) |
232
|
|
|
* @method string getClusterId() |
233
|
|
|
* @method $this withClusterId($value) |
234
|
|
|
*/ |
235
|
|
|
class DeleteQueue extends V20180412Rpc |
236
|
|
|
{ |
237
|
|
|
} |
238
|
|
|
|
239
|
|
|
/** |
240
|
|
|
* @method string getQueueName() |
241
|
|
|
* @method $this withQueueName($value) |
242
|
|
|
* @method string getClusterId() |
243
|
|
|
* @method $this withClusterId($value) |
244
|
|
|
*/ |
245
|
|
|
class AddQueue extends V20180412Rpc |
246
|
|
|
{ |
247
|
|
|
} |
248
|
|
|
|
249
|
|
|
/** |
250
|
|
|
* @method string getPageSize() |
251
|
|
|
* @method $this withPageSize($value) |
252
|
|
|
* @method string getPageNumber() |
253
|
|
|
* @method $this withPageNumber($value) |
254
|
|
|
*/ |
255
|
|
|
class ListCpfsFileSystems extends V20180412Rpc |
256
|
|
|
{ |
257
|
|
|
} |
258
|
|
|
|
259
|
|
|
class ListAvailableFileSystemTypes extends V20180412Rpc |
260
|
|
|
{ |
261
|
|
|
} |
262
|
|
|
|
263
|
|
|
/** |
264
|
|
|
* @method string getPort() |
265
|
|
|
* @method $this withPort($value) |
266
|
|
|
* @method string getClusterId() |
267
|
|
|
* @method $this withClusterId($value) |
268
|
|
|
* @method string getCidrIp() |
269
|
|
|
* @method $this withCidrIp($value) |
270
|
|
|
*/ |
271
|
|
|
class StopVisualService extends V20180412Rpc |
272
|
|
|
{ |
273
|
|
|
} |
274
|
|
|
|
275
|
|
|
/** |
276
|
|
|
* @method string getPort() |
277
|
|
|
* @method $this withPort($value) |
278
|
|
|
* @method string getClusterId() |
279
|
|
|
* @method $this withClusterId($value) |
280
|
|
|
* @method string getCidrIp() |
281
|
|
|
* @method $this withCidrIp($value) |
282
|
|
|
*/ |
283
|
|
|
class StartVisualService extends V20180412Rpc |
284
|
|
|
{ |
285
|
|
|
} |
286
|
|
|
|
287
|
|
|
/** |
288
|
|
|
* @method string getClusterId() |
289
|
|
|
* @method $this withClusterId($value) |
290
|
|
|
*/ |
291
|
|
|
class GetVisualServiceStatus extends V20180412Rpc |
292
|
|
|
{ |
293
|
|
|
} |
294
|
|
|
|
295
|
|
|
/** |
296
|
|
|
* @method string getPasswd() |
297
|
|
|
* @method $this withPasswd($value) |
298
|
|
|
* @method string getRunasUserPassword() |
299
|
|
|
* @method $this withRunasUserPassword($value) |
300
|
|
|
* @method string getRunasUser() |
301
|
|
|
* @method $this withRunasUser($value) |
302
|
|
|
* @method string getClusterId() |
303
|
|
|
* @method $this withClusterId($value) |
304
|
|
|
*/ |
305
|
|
|
class ModifyVisualServicePasswd extends V20180412Rpc |
306
|
|
|
{ |
307
|
|
|
} |
308
|
|
|
|
309
|
|
|
/** |
310
|
|
|
* @method string getPageSize() |
311
|
|
|
* @method $this withPageSize($value) |
312
|
|
|
* @method string getPageNumber() |
313
|
|
|
* @method $this withPageNumber($value) |
314
|
|
|
*/ |
315
|
|
|
class ListClustersMeta extends V20180412Rpc |
316
|
|
|
{ |
317
|
|
|
} |
318
|
|
|
|
319
|
|
|
/** |
320
|
|
|
* @method string getTargetFile() |
321
|
|
|
* @method $this withTargetFile($value) |
322
|
|
|
* @method string getRunasUserPassword() |
323
|
|
|
* @method $this withRunasUserPassword($value) |
324
|
|
|
* @method string getRunasUser() |
325
|
|
|
* @method $this withRunasUser($value) |
326
|
|
|
* @method string getClusterId() |
327
|
|
|
* @method $this withClusterId($value) |
328
|
|
|
* @method string getContent() |
329
|
|
|
* @method $this withContent($value) |
330
|
|
|
*/ |
331
|
|
|
class CreateJobFile extends V20180412Rpc |
332
|
|
|
{ |
333
|
|
|
} |
334
|
|
|
|
335
|
|
|
/** |
336
|
|
|
* @method string getPageSize() |
337
|
|
|
* @method $this withPageSize($value) |
338
|
|
|
* @method string getPageNumber() |
339
|
|
|
* @method $this withPageNumber($value) |
340
|
|
|
*/ |
341
|
|
|
class ListFileSystemWithMountTargets extends V20180412Rpc |
342
|
|
|
{ |
343
|
|
|
} |
344
|
|
|
|
345
|
|
|
/** |
346
|
|
|
* @method string getSpotStrategy() |
347
|
|
|
* @method $this withSpotStrategy($value) |
348
|
|
|
* @method string getZoneId() |
349
|
|
|
* @method $this withZoneId($value) |
350
|
|
|
* @method string getInstanceChargeType() |
351
|
|
|
* @method $this withInstanceChargeType($value) |
352
|
|
|
*/ |
353
|
|
|
class ListAvailableEcsTypes extends V20180412Rpc |
354
|
|
|
{ |
355
|
|
|
} |
356
|
|
|
|
357
|
|
|
/** |
358
|
|
|
* @method string getClusterId() |
359
|
|
|
* @method $this withClusterId($value) |
360
|
|
|
*/ |
361
|
|
|
class ListQueues extends V20180412Rpc |
362
|
|
|
{ |
363
|
|
|
} |
364
|
|
|
|
365
|
|
|
/** |
366
|
|
|
* @method string getPeriod() |
367
|
|
|
* @method $this withPeriod($value) |
368
|
|
|
* @method string getAmount() |
369
|
|
|
* @method $this withAmount($value) |
370
|
|
|
* @method string getImageId() |
371
|
|
|
* @method $this withImageId($value) |
372
|
|
|
* @method string getPriceUnit() |
373
|
|
|
* @method $this withPriceUnit($value) |
374
|
|
|
* @method string getSkuCode() |
375
|
|
|
* @method $this withSkuCode($value) |
376
|
|
|
* @method string getOrderType() |
377
|
|
|
* @method $this withOrderType($value) |
378
|
|
|
*/ |
379
|
|
|
class DescribeImagePrice extends V20180412Rpc |
380
|
|
|
{ |
381
|
|
|
} |
382
|
|
|
|
383
|
|
|
/** |
384
|
|
|
* @method string getPriceUnit() |
385
|
|
|
* @method $this withPriceUnit($value) |
386
|
|
|
* @method array getCommodities() |
387
|
|
|
* @method string getChargeType() |
388
|
|
|
* @method $this withChargeType($value) |
389
|
|
|
* @method string getOrderType() |
390
|
|
|
* @method $this withOrderType($value) |
391
|
|
|
*/ |
392
|
|
|
class DescribePrice extends V20180412Rpc |
393
|
|
|
{ |
394
|
|
|
|
395
|
|
|
/** |
396
|
|
|
* @param array $commodities |
397
|
|
|
* |
398
|
|
|
* @return $this |
399
|
|
|
*/ |
400
|
|
|
public function withCommodities(array $commodities) |
401
|
|
|
{ |
402
|
|
|
$this->data['Commodities'] = $commodities; |
403
|
|
|
foreach ($commodities as $depth1 => $depth1Value) { |
404
|
|
|
$this->options['query']['Commodities.' . ($depth1 + 1) . '.Amount'] = $depth1Value['Amount']; |
405
|
|
|
$this->options['query']['Commodities.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period']; |
406
|
|
|
$this->options['query']['Commodities.' . ($depth1 + 1) . '.NodeType'] = $depth1Value['NodeType']; |
407
|
|
|
$this->options['query']['Commodities.' . ($depth1 + 1) . '.SystemDiskCategory'] = $depth1Value['SystemDiskCategory']; |
408
|
|
|
$this->options['query']['Commodities.' . ($depth1 + 1) . '.SystemDiskSize'] = $depth1Value['SystemDiskSize']; |
409
|
|
|
$this->options['query']['Commodities.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType']; |
410
|
|
|
$this->options['query']['Commodities.' . ($depth1 + 1) . '.NetworkType'] = $depth1Value['NetworkType']; |
411
|
|
|
} |
412
|
|
|
|
413
|
|
|
return $this; |
414
|
|
|
} |
415
|
|
|
} |
416
|
|
|
|
417
|
|
|
/** |
418
|
|
|
* @method string getPageSize() |
419
|
|
|
* @method $this withPageSize($value) |
420
|
|
|
* @method string getClusterId() |
421
|
|
|
* @method $this withClusterId($value) |
422
|
|
|
* @method string getPageNumber() |
423
|
|
|
* @method $this withPageNumber($value) |
424
|
|
|
*/ |
425
|
|
|
class ListCloudMetricProfilings extends V20180412Rpc |
426
|
|
|
{ |
427
|
|
|
} |
428
|
|
|
|
429
|
|
|
/** |
430
|
|
|
* @method string getDuration() |
431
|
|
|
* @method $this withDuration($value) |
432
|
|
|
* @method string getHostName() |
433
|
|
|
* @method $this withHostName($value) |
434
|
|
|
* @method string getProcessId() |
435
|
|
|
* @method $this withProcessId($value) |
436
|
|
|
* @method string getFreq() |
437
|
|
|
* @method $this withFreq($value) |
438
|
|
|
* @method string getClusterId() |
439
|
|
|
* @method $this withClusterId($value) |
440
|
|
|
*/ |
441
|
|
|
class RunCloudMetricProfiling extends V20180412Rpc |
442
|
|
|
{ |
443
|
|
|
} |
444
|
|
|
|
445
|
|
|
/** |
446
|
|
|
* @method string getProfilingId() |
447
|
|
|
* @method $this withProfilingId($value) |
448
|
|
|
* @method string getClusterId() |
449
|
|
|
* @method $this withClusterId($value) |
450
|
|
|
*/ |
451
|
|
|
class GetCloudMetricProfiling extends V20180412Rpc |
452
|
|
|
{ |
453
|
|
|
} |
454
|
|
|
|
455
|
|
|
/** |
456
|
|
|
* @method string getNodes() |
457
|
|
|
* @method $this withNodes($value) |
458
|
|
|
* @method string getClusterId() |
459
|
|
|
* @method $this withClusterId($value) |
460
|
|
|
*/ |
461
|
|
|
class AddLocalNodes extends V20180412Rpc |
462
|
|
|
{ |
463
|
|
|
} |
464
|
|
|
|
465
|
|
|
/** |
466
|
|
|
* @method string getAggregationType() |
467
|
|
|
* @method $this withAggregationType($value) |
468
|
|
|
* @method string getFilter() |
469
|
|
|
* @method $this withFilter($value) |
470
|
|
|
* @method string getMetricCategories() |
471
|
|
|
* @method $this withMetricCategories($value) |
472
|
|
|
* @method string getMetricScope() |
473
|
|
|
* @method $this withMetricScope($value) |
474
|
|
|
* @method string getFrom() |
475
|
|
|
* @method $this withFrom($value) |
476
|
|
|
* @method string getClusterId() |
477
|
|
|
* @method $this withClusterId($value) |
478
|
|
|
* @method string getTo() |
479
|
|
|
* @method $this withTo($value) |
480
|
|
|
* @method string getAggregationInterval() |
481
|
|
|
* @method $this withAggregationInterval($value) |
482
|
|
|
* @method string getReverse() |
483
|
|
|
* @method $this withReverse($value) |
484
|
|
|
*/ |
485
|
|
|
class GetCloudMetricLogs extends V20180412Rpc |
486
|
|
|
{ |
487
|
|
|
} |
488
|
|
|
|
489
|
|
|
/** |
490
|
|
|
* @method string getContainerType() |
491
|
|
|
* @method $this withContainerType($value) |
492
|
|
|
* @method string getClusterId() |
493
|
|
|
* @method $this withClusterId($value) |
494
|
|
|
* @method string getRepository() |
495
|
|
|
* @method $this withRepository($value) |
496
|
|
|
* @method string getImageTag() |
497
|
|
|
* @method $this withImageTag($value) |
498
|
|
|
*/ |
499
|
|
|
class PullImage extends V20180412Rpc |
500
|
|
|
{ |
501
|
|
|
} |
502
|
|
|
|
503
|
|
|
/** |
504
|
|
|
* @method string getDefaultRepoLocation() |
505
|
|
|
* @method $this withDefaultRepoLocation($value) |
506
|
|
|
* @method string getDBPassword() |
507
|
|
|
* @method $this withDBPassword($value) |
508
|
|
|
* @method array getRepo() |
509
|
|
|
* @method string getDBType() |
510
|
|
|
* @method $this withDBType($value) |
511
|
|
|
* @method string getDBUsername() |
512
|
|
|
* @method $this withDBUsername($value) |
513
|
|
|
* @method string getDBServerInfo() |
514
|
|
|
* @method $this withDBServerInfo($value) |
515
|
|
|
* @method string getPullUpdateTimeout() |
516
|
|
|
* @method $this withPullUpdateTimeout($value) |
517
|
|
|
* @method string getClusterId() |
518
|
|
|
* @method $this withClusterId($value) |
519
|
|
|
* @method string getImageExpirationTimeout() |
520
|
|
|
* @method $this withImageExpirationTimeout($value) |
521
|
|
|
*/ |
522
|
|
|
class ModifyImageGatewayConfig extends V20180412Rpc |
523
|
|
|
{ |
524
|
|
|
|
525
|
|
|
/** |
526
|
|
|
* @param array $repo |
527
|
|
|
* |
528
|
|
|
* @return $this |
529
|
|
|
*/ |
530
|
|
|
public function withRepo(array $repo) |
531
|
|
|
{ |
532
|
|
|
$this->data['Repo'] = $repo; |
533
|
|
|
foreach ($repo as $depth1 => $depth1Value) { |
534
|
|
|
$this->options['query']['Repo.' . ($depth1 + 1) . '.Auth'] = $depth1Value['Auth']; |
535
|
|
|
$this->options['query']['Repo.' . ($depth1 + 1) . '.Location'] = $depth1Value['Location']; |
536
|
|
|
$this->options['query']['Repo.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL']; |
537
|
|
|
} |
538
|
|
|
|
539
|
|
|
return $this; |
540
|
|
|
} |
541
|
|
|
} |
542
|
|
|
|
543
|
|
|
/** |
544
|
|
|
* @method string getContainerType() |
545
|
|
|
* @method $this withContainerType($value) |
546
|
|
|
* @method string getPageSize() |
547
|
|
|
* @method $this withPageSize($value) |
548
|
|
|
* @method string getClusterId() |
549
|
|
|
* @method $this withClusterId($value) |
550
|
|
|
* @method string getPageNumber() |
551
|
|
|
* @method $this withPageNumber($value) |
552
|
|
|
*/ |
553
|
|
|
class ListContainerImages extends V20180412Rpc |
554
|
|
|
{ |
555
|
|
|
} |
556
|
|
|
|
557
|
|
|
/** |
558
|
|
|
* @method string getContainerType() |
559
|
|
|
* @method $this withContainerType($value) |
560
|
|
|
* @method string getClusterId() |
561
|
|
|
* @method $this withClusterId($value) |
562
|
|
|
* @method string getRepository() |
563
|
|
|
* @method $this withRepository($value) |
564
|
|
|
* @method string getImageTag() |
565
|
|
|
* @method $this withImageTag($value) |
566
|
|
|
*/ |
567
|
|
|
class DescribeImage extends V20180412Rpc |
568
|
|
|
{ |
569
|
|
|
} |
570
|
|
|
|
571
|
|
|
/** |
572
|
|
|
* @method string getClusterId() |
573
|
|
|
* @method $this withClusterId($value) |
574
|
|
|
*/ |
575
|
|
|
class DescribeImageGatewayConfig extends V20180412Rpc |
576
|
|
|
{ |
577
|
|
|
} |
578
|
|
|
|
579
|
|
|
/** |
580
|
|
|
* @method string getContainerType() |
581
|
|
|
* @method $this withContainerType($value) |
582
|
|
|
* @method string getClusterId() |
583
|
|
|
* @method $this withClusterId($value) |
584
|
|
|
* @method string getRepository() |
585
|
|
|
* @method $this withRepository($value) |
586
|
|
|
* @method string getImageTag() |
587
|
|
|
* @method $this withImageTag($value) |
588
|
|
|
*/ |
589
|
|
|
class DeleteImage extends V20180412Rpc |
590
|
|
|
{ |
591
|
|
|
} |
592
|
|
|
|
593
|
|
|
/** |
594
|
|
|
* @method string getEhpcVersion() |
595
|
|
|
* @method $this withEhpcVersion($value) |
596
|
|
|
* @method string getSecurityGroupId() |
597
|
|
|
* @method $this withSecurityGroupId($value) |
598
|
|
|
* @method string getDescription() |
599
|
|
|
* @method $this withDescription($value) |
600
|
|
|
* @method string getKeyPairName() |
601
|
|
|
* @method $this withKeyPairName($value) |
602
|
|
|
* @method string getSecurityGroupName() |
603
|
|
|
* @method $this withSecurityGroupName($value) |
604
|
|
|
* @method string getEcsOrderComputeInstanceType() |
605
|
|
|
* @method string getOnPremiseVolumeRemotePath() |
606
|
|
|
* @method $this withOnPremiseVolumeRemotePath($value) |
607
|
|
|
* @method string getJobQueue() |
608
|
|
|
* @method $this withJobQueue($value) |
609
|
|
|
* @method string getVolumeType() |
610
|
|
|
* @method $this withVolumeType($value) |
611
|
|
|
* @method string getResourceGroupId() |
612
|
|
|
* @method $this withResourceGroupId($value) |
613
|
|
|
* @method string getPassword() |
614
|
|
|
* @method $this withPassword($value) |
615
|
|
|
* @method string getOnPremiseVolumeMountPoint() |
616
|
|
|
* @method $this withOnPremiseVolumeMountPoint($value) |
617
|
|
|
* @method string getOnPremiseVolumeProtocol() |
618
|
|
|
* @method $this withOnPremiseVolumeProtocol($value) |
619
|
|
|
* @method string getVolumeProtocol() |
620
|
|
|
* @method $this withVolumeProtocol($value) |
621
|
|
|
* @method string getOnPremiseVolumeLocalPath() |
622
|
|
|
* @method $this withOnPremiseVolumeLocalPath($value) |
623
|
|
|
* @method string getClientVersion() |
624
|
|
|
* @method $this withClientVersion($value) |
625
|
|
|
* @method string getOsTag() |
626
|
|
|
* @method $this withOsTag($value) |
627
|
|
|
* @method string getRemoteDirectory() |
628
|
|
|
* @method $this withRemoteDirectory($value) |
629
|
|
|
* @method array getPostInstallScript() |
630
|
|
|
* @method string getVSwitchId() |
631
|
|
|
* @method $this withVSwitchId($value) |
632
|
|
|
* @method string getNodes() |
633
|
|
|
* @method $this withNodes($value) |
634
|
|
|
* @method array getApplication() |
635
|
|
|
* @method string getDomain() |
636
|
|
|
* @method $this withDomain($value) |
637
|
|
|
* @method string getVpcId() |
638
|
|
|
* @method $this withVpcId($value) |
639
|
|
|
* @method string getName() |
640
|
|
|
* @method $this withName($value) |
641
|
|
|
* @method string getVolumeId() |
642
|
|
|
* @method $this withVolumeId($value) |
643
|
|
|
* @method string getVolumeMountpoint() |
644
|
|
|
* @method $this withVolumeMountpoint($value) |
645
|
|
|
* @method string getZoneId() |
646
|
|
|
* @method $this withZoneId($value) |
647
|
|
|
* @method string getLocation() |
648
|
|
|
* @method $this withLocation($value) |
649
|
|
|
*/ |
650
|
|
|
class CreateHybridCluster extends V20180412Rpc |
651
|
|
|
{ |
652
|
|
|
|
653
|
|
|
/** |
654
|
|
|
* @param string $value |
655
|
|
|
* |
656
|
|
|
* @return $this |
657
|
|
|
*/ |
658
|
|
|
public function withEcsOrderComputeInstanceType($value) |
659
|
|
|
{ |
660
|
|
|
$this->data['EcsOrderComputeInstanceType'] = $value; |
661
|
|
|
$this->options['query']['EcsOrder.Compute.InstanceType'] = $value; |
662
|
|
|
|
663
|
|
|
return $this; |
664
|
|
|
} |
665
|
|
|
|
666
|
|
|
/** |
667
|
|
|
* @param array $postInstallScript |
668
|
|
|
* |
669
|
|
|
* @return $this |
670
|
|
|
*/ |
671
|
|
|
public function withPostInstallScript(array $postInstallScript) |
672
|
|
|
{ |
673
|
|
|
$this->data['PostInstallScript'] = $postInstallScript; |
674
|
|
|
foreach ($postInstallScript as $depth1 => $depth1Value) { |
675
|
|
|
$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Args'] = $depth1Value['Args']; |
676
|
|
|
$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url']; |
677
|
|
|
} |
678
|
|
|
|
679
|
|
|
return $this; |
680
|
|
|
} |
681
|
|
|
|
682
|
|
|
/** |
683
|
|
|
* @param array $application |
684
|
|
|
* |
685
|
|
|
* @return $this |
686
|
|
|
*/ |
687
|
|
|
public function withApplication(array $application) |
688
|
|
|
{ |
689
|
|
|
$this->data['Application'] = $application; |
690
|
|
|
foreach ($application as $depth1 => $depth1Value) { |
691
|
|
|
$this->options['query']['Application.' . ($depth1 + 1) . '.Tag'] = $depth1Value['Tag']; |
692
|
|
|
} |
693
|
|
|
|
694
|
|
|
return $this; |
695
|
|
|
} |
696
|
|
|
} |
697
|
|
|
|
698
|
|
|
/** |
699
|
|
|
* @method string getNode() |
700
|
|
|
* @method $this withNode($value) |
701
|
|
|
* @method string getClusterId() |
702
|
|
|
* @method $this withClusterId($value) |
703
|
|
|
*/ |
704
|
|
|
class GetHybridClusterConfig extends V20180412Rpc |
705
|
|
|
{ |
706
|
|
|
} |
707
|
|
|
|
708
|
|
|
/** |
709
|
|
|
* @method string getDescription() |
710
|
|
|
* @method $this withDescription($value) |
711
|
|
|
* @method string getContainerId() |
712
|
|
|
* @method $this withContainerId($value) |
713
|
|
|
*/ |
714
|
|
|
class ModifyContainerAppAttributes extends V20180412Rpc |
715
|
|
|
{ |
716
|
|
|
} |
717
|
|
|
|
718
|
|
|
/** |
719
|
|
|
* @method string getPageSize() |
720
|
|
|
* @method $this withPageSize($value) |
721
|
|
|
* @method string getPageNumber() |
722
|
|
|
* @method $this withPageNumber($value) |
723
|
|
|
*/ |
724
|
|
|
class ListContainerApps extends V20180412Rpc |
725
|
|
|
{ |
726
|
|
|
} |
727
|
|
|
|
728
|
|
|
/** |
729
|
|
|
* @method string getContainerId() |
730
|
|
|
* @method $this withContainerId($value) |
731
|
|
|
*/ |
732
|
|
|
class DescribeContainerApp extends V20180412Rpc |
733
|
|
|
{ |
734
|
|
|
} |
735
|
|
|
|
736
|
|
|
/** |
737
|
|
|
* @method array getContainerApp() |
738
|
|
|
*/ |
739
|
|
|
class DeleteContainerApps extends V20180412Rpc |
740
|
|
|
{ |
741
|
|
|
|
742
|
|
|
/** |
743
|
|
|
* @param array $containerApp |
744
|
|
|
* |
745
|
|
|
* @return $this |
746
|
|
|
*/ |
747
|
|
|
public function withContainerApp(array $containerApp) |
748
|
|
|
{ |
749
|
|
|
$this->data['ContainerApp'] = $containerApp; |
750
|
|
|
foreach ($containerApp as $depth1 => $depth1Value) { |
751
|
|
|
$this->options['query']['ContainerApp.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id']; |
752
|
|
|
} |
753
|
|
|
|
754
|
|
|
return $this; |
755
|
|
|
} |
756
|
|
|
} |
757
|
|
|
|
758
|
|
|
/** |
759
|
|
|
* @method string getContainerType() |
760
|
|
|
* @method $this withContainerType($value) |
761
|
|
|
* @method string getName() |
762
|
|
|
* @method $this withName($value) |
763
|
|
|
* @method string getDescription() |
764
|
|
|
* @method $this withDescription($value) |
765
|
|
|
* @method string getRepository() |
766
|
|
|
* @method $this withRepository($value) |
767
|
|
|
* @method string getImageTag() |
768
|
|
|
* @method $this withImageTag($value) |
769
|
|
|
*/ |
770
|
|
|
class AddContainerApp extends V20180412Rpc |
771
|
|
|
{ |
772
|
|
|
} |
773
|
|
|
|
774
|
|
|
/** |
775
|
|
|
* @method string getPageSize() |
776
|
|
|
* @method $this withPageSize($value) |
777
|
|
|
* @method string getClusterId() |
778
|
|
|
* @method $this withClusterId($value) |
779
|
|
|
* @method string getCommandId() |
780
|
|
|
* @method $this withCommandId($value) |
781
|
|
|
* @method string getPageNumber() |
782
|
|
|
* @method $this withPageNumber($value) |
783
|
|
|
*/ |
784
|
|
|
class ListCommands extends V20180412Rpc |
785
|
|
|
{ |
786
|
|
|
} |
787
|
|
|
|
788
|
|
|
/** |
789
|
|
|
* @method string getClusterId() |
790
|
|
|
* @method $this withClusterId($value) |
791
|
|
|
* @method string getCommandId() |
792
|
|
|
* @method $this withCommandId($value) |
793
|
|
|
*/ |
794
|
|
|
class ListInvocationStatus extends V20180412Rpc |
795
|
|
|
{ |
796
|
|
|
} |
797
|
|
|
|
798
|
|
|
/** |
799
|
|
|
* @method array getInstance() |
800
|
|
|
* @method string getInvokeRecordStatus() |
801
|
|
|
* @method $this withInvokeRecordStatus($value) |
802
|
|
|
* @method string getPageSize() |
803
|
|
|
* @method $this withPageSize($value) |
804
|
|
|
* @method string getClusterId() |
805
|
|
|
* @method $this withClusterId($value) |
806
|
|
|
* @method string getCommandId() |
807
|
|
|
* @method $this withCommandId($value) |
808
|
|
|
* @method string getPageNumber() |
809
|
|
|
* @method $this withPageNumber($value) |
810
|
|
|
*/ |
811
|
|
|
class ListInvocationResults extends V20180412Rpc |
812
|
|
|
{ |
813
|
|
|
|
814
|
|
|
/** |
815
|
|
|
* @param array $instance |
816
|
|
|
* |
817
|
|
|
* @return $this |
818
|
|
|
*/ |
819
|
|
|
public function withInstance(array $instance) |
820
|
|
|
{ |
821
|
|
|
$this->data['Instance'] = $instance; |
822
|
|
|
foreach ($instance as $depth1 => $depth1Value) { |
823
|
|
|
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id']; |
824
|
|
|
} |
825
|
|
|
|
826
|
|
|
return $this; |
827
|
|
|
} |
828
|
|
|
} |
829
|
|
|
|
830
|
|
|
/** |
831
|
|
|
* @method array getInstance() |
832
|
|
|
* @method string getWorkingDir() |
833
|
|
|
* @method $this withWorkingDir($value) |
834
|
|
|
* @method string getClusterId() |
835
|
|
|
* @method $this withClusterId($value) |
836
|
|
|
* @method string getCommand() |
837
|
|
|
* @method $this withCommand($value) |
838
|
|
|
* @method string getTimeout() |
839
|
|
|
* @method $this withTimeout($value) |
840
|
|
|
*/ |
841
|
|
|
class InvokeShellCommand extends V20180412Rpc |
842
|
|
|
{ |
843
|
|
|
|
844
|
|
|
/** |
845
|
|
|
* @param array $instance |
846
|
|
|
* |
847
|
|
|
* @return $this |
848
|
|
|
*/ |
849
|
|
|
public function withInstance(array $instance) |
850
|
|
|
{ |
851
|
|
|
$this->data['Instance'] = $instance; |
852
|
|
|
foreach ($instance as $depth1 => $depth1Value) { |
853
|
|
|
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id']; |
854
|
|
|
} |
855
|
|
|
|
856
|
|
|
return $this; |
857
|
|
|
} |
858
|
|
|
} |
859
|
|
|
|
860
|
|
|
/** |
861
|
|
|
* @method string getClusterId() |
862
|
|
|
* @method $this withClusterId($value) |
863
|
|
|
*/ |
864
|
|
|
class DescribeAutoScaleConfig extends V20180412Rpc |
865
|
|
|
{ |
866
|
|
|
} |
867
|
|
|
|
868
|
|
|
/** |
869
|
|
|
* @method string getImageId() |
870
|
|
|
* @method $this withImageId($value) |
871
|
|
|
* @method string getOsTag() |
872
|
|
|
* @method $this withOsTag($value) |
873
|
|
|
* @method string getClientVersion() |
874
|
|
|
* @method $this withClientVersion($value) |
875
|
|
|
* @method string getAccountType() |
876
|
|
|
* @method $this withAccountType($value) |
877
|
|
|
* @method string getSchedulerType() |
878
|
|
|
* @method $this withSchedulerType($value) |
879
|
|
|
* @method string getClusterId() |
880
|
|
|
* @method $this withClusterId($value) |
881
|
|
|
* @method string getImageOwnerAlias() |
882
|
|
|
* @method $this withImageOwnerAlias($value) |
883
|
|
|
*/ |
884
|
|
|
class RecoverCluster extends V20180412Rpc |
885
|
|
|
{ |
886
|
|
|
} |
887
|
|
|
|
888
|
|
|
/** |
889
|
|
|
* @method string getRole() |
890
|
|
|
* @method $this withRole($value) |
891
|
|
|
* @method array getInstance() |
892
|
|
|
* @method string getClusterId() |
893
|
|
|
* @method $this withClusterId($value) |
894
|
|
|
*/ |
895
|
|
|
class StopNodes extends V20180412Rpc |
896
|
|
|
{ |
897
|
|
|
|
898
|
|
|
/** |
899
|
|
|
* @param array $instance |
900
|
|
|
* |
901
|
|
|
* @return $this |
902
|
|
|
*/ |
903
|
|
|
public function withInstance(array $instance) |
904
|
|
|
{ |
905
|
|
|
$this->data['Instance'] = $instance; |
906
|
|
|
foreach ($instance as $depth1 => $depth1Value) { |
907
|
|
|
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id']; |
908
|
|
|
} |
909
|
|
|
|
910
|
|
|
return $this; |
911
|
|
|
} |
912
|
|
|
} |
913
|
|
|
|
914
|
|
|
/** |
915
|
|
|
* @method string getClusterId() |
916
|
|
|
* @method $this withClusterId($value) |
917
|
|
|
*/ |
918
|
|
|
class StartCluster extends V20180412Rpc |
919
|
|
|
{ |
920
|
|
|
} |
921
|
|
|
|
922
|
|
|
/** |
923
|
|
|
* @method string getRole() |
924
|
|
|
* @method $this withRole($value) |
925
|
|
|
* @method array getInstance() |
926
|
|
|
* @method string getClusterId() |
927
|
|
|
* @method $this withClusterId($value) |
928
|
|
|
*/ |
929
|
|
|
class StartNodes extends V20180412Rpc |
930
|
|
|
{ |
931
|
|
|
|
932
|
|
|
/** |
933
|
|
|
* @param array $instance |
934
|
|
|
* |
935
|
|
|
* @return $this |
936
|
|
|
*/ |
937
|
|
|
public function withInstance(array $instance) |
938
|
|
|
{ |
939
|
|
|
$this->data['Instance'] = $instance; |
940
|
|
|
foreach ($instance as $depth1 => $depth1Value) { |
941
|
|
|
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id']; |
942
|
|
|
} |
943
|
|
|
|
944
|
|
|
return $this; |
945
|
|
|
} |
946
|
|
|
} |
947
|
|
|
|
948
|
|
|
/** |
949
|
|
|
* @method string getClusterId() |
950
|
|
|
* @method $this withClusterId($value) |
951
|
|
|
*/ |
952
|
|
|
class StopCluster extends V20180412Rpc |
953
|
|
|
{ |
954
|
|
|
} |
955
|
|
|
|
956
|
|
|
/** |
957
|
|
|
* @method string getJobs() |
958
|
|
|
* @method $this withJobs($value) |
959
|
|
|
* @method string getClusterId() |
960
|
|
|
* @method $this withClusterId($value) |
961
|
|
|
*/ |
962
|
|
|
class StopJobs extends V20180412Rpc |
963
|
|
|
{ |
964
|
|
|
} |
965
|
|
|
|
966
|
|
|
/** |
967
|
|
|
* @method string getPageSize() |
968
|
|
|
* @method $this withPageSize($value) |
969
|
|
|
* @method string getPageNumber() |
970
|
|
|
* @method $this withPageNumber($value) |
971
|
|
|
*/ |
972
|
|
|
class ListClusters extends V20180412Rpc |
973
|
|
|
{ |
974
|
|
|
} |
975
|
|
|
|
976
|
|
|
class ListRegions extends V20180412Rpc |
977
|
|
|
{ |
978
|
|
|
} |
979
|
|
|
|
980
|
|
|
/** |
981
|
|
|
* @method string getHostName() |
982
|
|
|
* @method $this withHostName($value) |
983
|
|
|
* @method string getRole() |
984
|
|
|
* @method $this withRole($value) |
985
|
|
|
* @method string getClusterId() |
986
|
|
|
* @method $this withClusterId($value) |
987
|
|
|
* @method string getOnlyDetached() |
988
|
|
|
* @method $this withOnlyDetached($value) |
989
|
|
|
*/ |
990
|
|
|
class ListNodesNoPaging extends V20180412Rpc |
991
|
|
|
{ |
992
|
|
|
} |
993
|
|
|
|
994
|
|
|
/** |
995
|
|
|
* @method string getOwner() |
996
|
|
|
* @method $this withOwner($value) |
997
|
|
|
* @method string getPageSize() |
998
|
|
|
* @method $this withPageSize($value) |
999
|
|
|
* @method string getClusterId() |
1000
|
|
|
* @method $this withClusterId($value) |
1001
|
|
|
* @method string getState() |
1002
|
|
|
* @method $this withState($value) |
1003
|
|
|
* @method string getRerunable() |
1004
|
|
|
* @method $this withRerunable($value) |
1005
|
|
|
* @method string getPageNumber() |
1006
|
|
|
* @method $this withPageNumber($value) |
1007
|
|
|
*/ |
1008
|
|
|
class ListJobs extends V20180412Rpc |
1009
|
|
|
{ |
1010
|
|
|
} |
1011
|
|
|
|
1012
|
|
|
/** |
1013
|
|
|
* @method string getClusterId() |
1014
|
|
|
* @method $this withClusterId($value) |
1015
|
|
|
* @method array getUser() |
1016
|
|
|
*/ |
1017
|
|
|
class ModifyUserPasswords extends V20180412Rpc |
1018
|
|
|
{ |
1019
|
|
|
|
1020
|
|
|
/** |
1021
|
|
|
* @param array $user |
1022
|
|
|
* |
1023
|
|
|
* @return $this |
1024
|
|
|
*/ |
1025
|
|
|
public function withUser(array $user) |
1026
|
|
|
{ |
1027
|
|
|
$this->data['User'] = $user; |
1028
|
|
|
foreach ($user as $depth1 => $depth1Value) { |
1029
|
|
|
$this->options['query']['User.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password']; |
1030
|
|
|
$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name']; |
1031
|
|
|
} |
1032
|
|
|
|
1033
|
|
|
return $this; |
1034
|
|
|
} |
1035
|
|
|
} |
1036
|
|
|
|
1037
|
|
|
/** |
1038
|
|
|
* @method string getSpotStrategy() |
1039
|
|
|
* @method $this withSpotStrategy($value) |
1040
|
|
|
* @method string getZoneId() |
1041
|
|
|
* @method $this withZoneId($value) |
1042
|
|
|
* @method string getInstanceChargeType() |
1043
|
|
|
* @method $this withInstanceChargeType($value) |
1044
|
|
|
*/ |
1045
|
|
|
class ListPreferredEcsTypes extends V20180412Rpc |
1046
|
|
|
{ |
1047
|
|
|
} |
1048
|
|
|
|
1049
|
|
|
/** |
1050
|
|
|
* @method string getClusterId() |
1051
|
|
|
* @method $this withClusterId($value) |
1052
|
|
|
*/ |
1053
|
|
|
class GetAutoScaleConfig extends V20180412Rpc |
1054
|
|
|
{ |
1055
|
|
|
} |
1056
|
|
|
|
1057
|
|
|
/** |
1058
|
|
|
* @method string getClusterId() |
1059
|
|
|
* @method $this withClusterId($value) |
1060
|
|
|
* @method array getUser() |
1061
|
|
|
*/ |
1062
|
|
|
class ModifyUserGroups extends V20180412Rpc |
1063
|
|
|
{ |
1064
|
|
|
|
1065
|
|
|
/** |
1066
|
|
|
* @param array $user |
1067
|
|
|
* |
1068
|
|
|
* @return $this |
1069
|
|
|
*/ |
1070
|
|
|
public function withUser(array $user) |
1071
|
|
|
{ |
1072
|
|
|
$this->data['User'] = $user; |
1073
|
|
|
foreach ($user as $depth1 => $depth1Value) { |
1074
|
|
|
$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name']; |
1075
|
|
|
$this->options['query']['User.' . ($depth1 + 1) . '.Group'] = $depth1Value['Group']; |
1076
|
|
|
} |
1077
|
|
|
|
1078
|
|
|
return $this; |
1079
|
|
|
} |
1080
|
|
|
} |
1081
|
|
|
|
1082
|
|
|
/** |
1083
|
|
|
* @method string getShrinkIdleTimes() |
1084
|
|
|
* @method $this withShrinkIdleTimes($value) |
1085
|
|
|
* @method string getGrowTimeoutInMinutes() |
1086
|
|
|
* @method $this withGrowTimeoutInMinutes($value) |
1087
|
|
|
* @method string getClusterId() |
1088
|
|
|
* @method $this withClusterId($value) |
1089
|
|
|
* @method string getEnableAutoGrow() |
1090
|
|
|
* @method $this withEnableAutoGrow($value) |
1091
|
|
|
* @method string getSpotPriceLimit() |
1092
|
|
|
* @method $this withSpotPriceLimit($value) |
1093
|
|
|
* @method string getEnableAutoShrink() |
1094
|
|
|
* @method $this withEnableAutoShrink($value) |
1095
|
|
|
* @method string getSpotStrategy() |
1096
|
|
|
* @method $this withSpotStrategy($value) |
1097
|
|
|
* @method string getMaxNodesInCluster() |
1098
|
|
|
* @method $this withMaxNodesInCluster($value) |
1099
|
|
|
* @method string getExcludeNodes() |
1100
|
|
|
* @method $this withExcludeNodes($value) |
1101
|
|
|
* @method string getShrinkIntervalInMinutes() |
1102
|
|
|
* @method $this withShrinkIntervalInMinutes($value) |
1103
|
|
|
* @method array getQueues() |
1104
|
|
|
* @method string getExtraNodesGrowRatio() |
1105
|
|
|
* @method $this withExtraNodesGrowRatio($value) |
1106
|
|
|
* @method string getGrowIntervalInMinutes() |
1107
|
|
|
* @method $this withGrowIntervalInMinutes($value) |
1108
|
|
|
* @method string getGrowRatio() |
1109
|
|
|
* @method $this withGrowRatio($value) |
1110
|
|
|
*/ |
1111
|
|
|
class SetAutoScaleConfig extends V20180412Rpc |
1112
|
|
|
{ |
1113
|
|
|
|
1114
|
|
|
/** |
1115
|
|
|
* @param array $queues |
1116
|
|
|
* |
1117
|
|
|
* @return $this |
1118
|
|
|
*/ |
1119
|
|
|
public function withQueues(array $queues) |
1120
|
|
|
{ |
1121
|
|
|
$this->data['Queues'] = $queues; |
1122
|
|
|
foreach ($queues as $depth1 => $depth1Value) { |
1123
|
|
|
$this->options['query']['Queues.' . ($depth1 + 1) . '.SpotStrategy'] = $depth1Value['SpotStrategy']; |
1124
|
|
|
$this->options['query']['Queues.' . ($depth1 + 1) . '.QueueName'] = $depth1Value['QueueName']; |
1125
|
|
|
foreach ($depth1Value['InstanceTypes'] as $depth2 => $depth2Value) { |
1126
|
|
|
$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.SpotStrategy'] = $depth2Value['SpotStrategy']; |
1127
|
|
|
$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.InstanceType'] = $depth2Value['InstanceType']; |
1128
|
|
|
$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.SpotPriceLimit'] = $depth2Value['SpotPriceLimit']; |
1129
|
|
|
} |
1130
|
|
|
$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType']; |
1131
|
|
|
$this->options['query']['Queues.' . ($depth1 + 1) . '.EnableAutoGrow'] = $depth1Value['EnableAutoGrow']; |
1132
|
|
|
$this->options['query']['Queues.' . ($depth1 + 1) . '.SpotPriceLimit'] = $depth1Value['SpotPriceLimit']; |
1133
|
|
|
$this->options['query']['Queues.' . ($depth1 + 1) . '.EnableAutoShrink'] = $depth1Value['EnableAutoShrink']; |
1134
|
|
|
} |
1135
|
|
|
|
1136
|
|
|
return $this; |
1137
|
|
|
} |
1138
|
|
|
} |
1139
|
|
|
|
1140
|
|
|
/** |
1141
|
|
|
* @method string getStderrRedirectPath() |
1142
|
|
|
* @method $this withStderrRedirectPath($value) |
1143
|
|
|
* @method string getVariables() |
1144
|
|
|
* @method $this withVariables($value) |
1145
|
|
|
* @method string getRunasUser() |
1146
|
|
|
* @method $this withRunasUser($value) |
1147
|
|
|
* @method string getReRunable() |
1148
|
|
|
* @method $this withReRunable($value) |
1149
|
|
|
* @method string getTemplateId() |
1150
|
|
|
* @method $this withTemplateId($value) |
1151
|
|
|
* @method string getPriority() |
1152
|
|
|
* @method $this withPriority($value) |
1153
|
|
|
* @method string getCommandLine() |
1154
|
|
|
* @method $this withCommandLine($value) |
1155
|
|
|
* @method string getArrayRequest() |
1156
|
|
|
* @method $this withArrayRequest($value) |
1157
|
|
|
* @method string getPackagePath() |
1158
|
|
|
* @method $this withPackagePath($value) |
1159
|
|
|
* @method string getName() |
1160
|
|
|
* @method $this withName($value) |
1161
|
|
|
* @method string getStdoutRedirectPath() |
1162
|
|
|
* @method $this withStdoutRedirectPath($value) |
1163
|
|
|
*/ |
1164
|
|
|
class EditJobTemplate extends V20180412Rpc |
1165
|
|
|
{ |
1166
|
|
|
} |
1167
|
|
|
|
1168
|
|
|
/** |
1169
|
|
|
* @method string getAutoRenewPeriod() |
1170
|
|
|
* @method $this withAutoRenewPeriod($value) |
1171
|
|
|
* @method string getPeriod() |
1172
|
|
|
* @method $this withPeriod($value) |
1173
|
|
|
* @method string getImageId() |
1174
|
|
|
* @method $this withImageId($value) |
1175
|
|
|
* @method string getCount() |
1176
|
|
|
* @method $this withCount($value) |
1177
|
|
|
* @method string getClusterId() |
1178
|
|
|
* @method $this withClusterId($value) |
1179
|
|
|
* @method string getComputeSpotStrategy() |
1180
|
|
|
* @method $this withComputeSpotStrategy($value) |
1181
|
|
|
* @method string getJobQueue() |
1182
|
|
|
* @method $this withJobQueue($value) |
1183
|
|
|
* @method string getImageOwnerAlias() |
1184
|
|
|
* @method $this withImageOwnerAlias($value) |
1185
|
|
|
* @method string getPeriodUnit() |
1186
|
|
|
* @method $this withPeriodUnit($value) |
1187
|
|
|
* @method string getAutoRenew() |
1188
|
|
|
* @method $this withAutoRenew($value) |
1189
|
|
|
* @method string getEcsChargeType() |
1190
|
|
|
* @method $this withEcsChargeType($value) |
1191
|
|
|
* @method string getCreateMode() |
1192
|
|
|
* @method $this withCreateMode($value) |
1193
|
|
|
* @method string getSystemDiskSize() |
1194
|
|
|
* @method $this withSystemDiskSize($value) |
1195
|
|
|
* @method string getInstanceType() |
1196
|
|
|
* @method $this withInstanceType($value) |
1197
|
|
|
* @method string getComputeSpotPriceLimit() |
1198
|
|
|
* @method $this withComputeSpotPriceLimit($value) |
1199
|
|
|
*/ |
1200
|
|
|
class AddNodes extends V20180412Rpc |
1201
|
|
|
{ |
1202
|
|
|
} |
1203
|
|
|
|
1204
|
|
|
/** |
1205
|
|
|
* @method string getClusterId() |
1206
|
|
|
* @method $this withClusterId($value) |
1207
|
|
|
* @method array getUser() |
1208
|
|
|
*/ |
1209
|
|
|
class DeleteUsers extends V20180412Rpc |
1210
|
|
|
{ |
1211
|
|
|
|
1212
|
|
|
/** |
1213
|
|
|
* @param array $user |
1214
|
|
|
* |
1215
|
|
|
* @return $this |
1216
|
|
|
*/ |
1217
|
|
|
public function withUser(array $user) |
1218
|
|
|
{ |
1219
|
|
|
$this->data['User'] = $user; |
1220
|
|
|
foreach ($user as $depth1 => $depth1Value) { |
1221
|
|
|
$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name']; |
1222
|
|
|
} |
1223
|
|
|
|
1224
|
|
|
return $this; |
1225
|
|
|
} |
1226
|
|
|
} |
1227
|
|
|
|
1228
|
|
|
class ListImages extends V20180412Rpc |
1229
|
|
|
{ |
1230
|
|
|
} |
1231
|
|
|
|
1232
|
|
|
/** |
1233
|
|
|
* @method string getJobs() |
1234
|
|
|
* @method $this withJobs($value) |
1235
|
|
|
* @method string getClusterId() |
1236
|
|
|
* @method $this withClusterId($value) |
1237
|
|
|
*/ |
1238
|
|
|
class DeleteJobs extends V20180412Rpc |
1239
|
|
|
{ |
1240
|
|
|
} |
1241
|
|
|
|
1242
|
|
|
/** |
1243
|
|
|
* @method string getReleaseInstance() |
1244
|
|
|
* @method $this withReleaseInstance($value) |
1245
|
|
|
* @method array getInstance() |
1246
|
|
|
* @method string getClusterId() |
1247
|
|
|
* @method $this withClusterId($value) |
1248
|
|
|
*/ |
1249
|
|
|
class DeleteNodes extends V20180412Rpc |
1250
|
|
|
{ |
1251
|
|
|
|
1252
|
|
|
/** |
1253
|
|
|
* @param array $instance |
1254
|
|
|
* |
1255
|
|
|
* @return $this |
1256
|
|
|
*/ |
1257
|
|
|
public function withInstance(array $instance) |
1258
|
|
|
{ |
1259
|
|
|
$this->data['Instance'] = $instance; |
1260
|
|
|
foreach ($instance as $depth1 => $depth1Value) { |
1261
|
|
|
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id']; |
1262
|
|
|
} |
1263
|
|
|
|
1264
|
|
|
return $this; |
1265
|
|
|
} |
1266
|
|
|
} |
1267
|
|
|
|
1268
|
|
|
/** |
1269
|
|
|
* @method string getBaseOsTag() |
1270
|
|
|
* @method $this withBaseOsTag($value) |
1271
|
|
|
* @method string getImageOwnerAlias() |
1272
|
|
|
* @method $this withImageOwnerAlias($value) |
1273
|
|
|
*/ |
1274
|
|
|
class ListCustomImages extends V20180412Rpc |
1275
|
|
|
{ |
1276
|
|
|
} |
1277
|
|
|
|
1278
|
|
|
/** |
1279
|
|
|
* @method array getInstance() |
1280
|
|
|
* @method string getClusterId() |
1281
|
|
|
* @method $this withClusterId($value) |
1282
|
|
|
*/ |
1283
|
|
|
class ResetNodes extends V20180412Rpc |
1284
|
|
|
{ |
1285
|
|
|
|
1286
|
|
|
/** |
1287
|
|
|
* @param array $instance |
1288
|
|
|
* |
1289
|
|
|
* @return $this |
1290
|
|
|
*/ |
1291
|
|
|
public function withInstance(array $instance) |
1292
|
|
|
{ |
1293
|
|
|
$this->data['Instance'] = $instance; |
1294
|
|
|
foreach ($instance as $depth1 => $depth1Value) { |
1295
|
|
|
$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id']; |
1296
|
|
|
} |
1297
|
|
|
|
1298
|
|
|
return $this; |
1299
|
|
|
} |
1300
|
|
|
} |
1301
|
|
|
|
1302
|
|
|
/** |
1303
|
|
|
* @method string getRunasUserPassword() |
1304
|
|
|
* @method $this withRunasUserPassword($value) |
1305
|
|
|
* @method string getRunasUser() |
1306
|
|
|
* @method $this withRunasUser($value) |
1307
|
|
|
* @method string getClusterId() |
1308
|
|
|
* @method $this withClusterId($value) |
1309
|
|
|
*/ |
1310
|
|
|
class SetJobUser extends V20180412Rpc |
1311
|
|
|
{ |
1312
|
|
|
} |
1313
|
|
|
|
1314
|
|
|
/** |
1315
|
|
|
* @method string getName() |
1316
|
|
|
* @method $this withName($value) |
1317
|
|
|
* @method string getPageSize() |
1318
|
|
|
* @method $this withPageSize($value) |
1319
|
|
|
* @method string getPageNumber() |
1320
|
|
|
* @method $this withPageNumber($value) |
1321
|
|
|
*/ |
1322
|
|
|
class ListJobTemplates extends V20180412Rpc |
1323
|
|
|
{ |
1324
|
|
|
} |
1325
|
|
|
|
1326
|
|
|
/** |
1327
|
|
|
* @method string getEhpcVersion() |
1328
|
|
|
* @method $this withEhpcVersion($value) |
1329
|
|
|
*/ |
1330
|
|
|
class ListSoftwares extends V20180412Rpc |
1331
|
|
|
{ |
1332
|
|
|
} |
1333
|
|
|
|
1334
|
|
|
/** |
1335
|
|
|
* @method string getClusterId() |
1336
|
|
|
* @method $this withClusterId($value) |
1337
|
|
|
* @method array getUser() |
1338
|
|
|
*/ |
1339
|
|
|
class AddUsers extends V20180412Rpc |
1340
|
|
|
{ |
1341
|
|
|
|
1342
|
|
|
/** |
1343
|
|
|
* @param array $user |
1344
|
|
|
* |
1345
|
|
|
* @return $this |
1346
|
|
|
*/ |
1347
|
|
|
public function withUser(array $user) |
1348
|
|
|
{ |
1349
|
|
|
$this->data['User'] = $user; |
1350
|
|
|
foreach ($user as $depth1 => $depth1Value) { |
1351
|
|
|
$this->options['query']['User.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password']; |
1352
|
|
|
$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name']; |
1353
|
|
|
$this->options['query']['User.' . ($depth1 + 1) . '.Group'] = $depth1Value['Group']; |
1354
|
|
|
} |
1355
|
|
|
|
1356
|
|
|
return $this; |
1357
|
|
|
} |
1358
|
|
|
} |
1359
|
|
|
|
1360
|
|
|
/** |
1361
|
|
|
* @method string getClusterId() |
1362
|
|
|
* @method $this withClusterId($value) |
1363
|
|
|
*/ |
1364
|
|
|
class DescribeCluster extends V20180412Rpc |
1365
|
|
|
{ |
1366
|
|
|
} |
1367
|
|
|
|
1368
|
|
|
class ListCurrentClientVersion extends V20180412Rpc |
1369
|
|
|
{ |
1370
|
|
|
} |
1371
|
|
|
|
1372
|
|
|
/** |
1373
|
|
|
* @method string getStderrRedirectPath() |
1374
|
|
|
* @method $this withStderrRedirectPath($value) |
1375
|
|
|
* @method string getVariables() |
1376
|
|
|
* @method $this withVariables($value) |
1377
|
|
|
* @method string getRunasUserPassword() |
1378
|
|
|
* @method $this withRunasUserPassword($value) |
1379
|
|
|
* @method string getPostCmdLine() |
1380
|
|
|
* @method $this withPostCmdLine($value) |
1381
|
|
|
* @method string getRunasUser() |
1382
|
|
|
* @method $this withRunasUser($value) |
1383
|
|
|
* @method string getClusterId() |
1384
|
|
|
* @method $this withClusterId($value) |
1385
|
|
|
* @method string getReRunable() |
1386
|
|
|
* @method $this withReRunable($value) |
1387
|
|
|
* @method string getPriority() |
1388
|
|
|
* @method $this withPriority($value) |
1389
|
|
|
* @method string getCommandLine() |
1390
|
|
|
* @method $this withCommandLine($value) |
1391
|
|
|
* @method string getJobQueue() |
1392
|
|
|
* @method $this withJobQueue($value) |
1393
|
|
|
* @method string getArrayRequest() |
1394
|
|
|
* @method $this withArrayRequest($value) |
1395
|
|
|
* @method string getUnzipCmd() |
1396
|
|
|
* @method $this withUnzipCmd($value) |
1397
|
|
|
* @method string getPackagePath() |
1398
|
|
|
* @method $this withPackagePath($value) |
1399
|
|
|
* @method string getInputFileUrl() |
1400
|
|
|
* @method $this withInputFileUrl($value) |
1401
|
|
|
* @method string getName() |
1402
|
|
|
* @method $this withName($value) |
1403
|
|
|
* @method string getStdoutRedirectPath() |
1404
|
|
|
* @method $this withStdoutRedirectPath($value) |
1405
|
|
|
* @method string getContainerId() |
1406
|
|
|
* @method $this withContainerId($value) |
1407
|
|
|
*/ |
1408
|
|
|
class SubmitJob extends V20180412Rpc |
1409
|
|
|
{ |
1410
|
|
|
} |
1411
|
|
|
|
1412
|
|
|
/** |
1413
|
|
|
* @method string getPageSize() |
1414
|
|
|
* @method $this withPageSize($value) |
1415
|
|
|
* @method string getPageNumber() |
1416
|
|
|
* @method $this withPageNumber($value) |
1417
|
|
|
*/ |
1418
|
|
|
class ListVolumes extends V20180412Rpc |
1419
|
|
|
{ |
1420
|
|
|
} |
1421
|
|
|
|
1422
|
|
|
/** |
1423
|
|
|
* @method string getHostName() |
1424
|
|
|
* @method $this withHostName($value) |
1425
|
|
|
* @method string getRole() |
1426
|
|
|
* @method $this withRole($value) |
1427
|
|
|
* @method string getPageSize() |
1428
|
|
|
* @method $this withPageSize($value) |
1429
|
|
|
* @method string getClusterId() |
1430
|
|
|
* @method $this withClusterId($value) |
1431
|
|
|
* @method string getPageNumber() |
1432
|
|
|
* @method $this withPageNumber($value) |
1433
|
|
|
*/ |
1434
|
|
|
class ListNodes extends V20180412Rpc |
1435
|
|
|
{ |
1436
|
|
|
} |
1437
|
|
|
|
1438
|
|
|
/** |
1439
|
|
|
* @method string getClientVersion() |
1440
|
|
|
* @method $this withClientVersion($value) |
1441
|
|
|
* @method string getClusterId() |
1442
|
|
|
* @method $this withClusterId($value) |
1443
|
|
|
*/ |
1444
|
|
|
class UpgradeClient extends V20180412Rpc |
1445
|
|
|
{ |
1446
|
|
|
} |
1447
|
|
|
|
1448
|
|
|
/** |
1449
|
|
|
* @method string getName() |
1450
|
|
|
* @method $this withName($value) |
1451
|
|
|
* @method string getDescription() |
1452
|
|
|
* @method $this withDescription($value) |
1453
|
|
|
* @method string getClusterId() |
1454
|
|
|
* @method $this withClusterId($value) |
1455
|
|
|
*/ |
1456
|
|
|
class ModifyClusterAttributes extends V20180412Rpc |
1457
|
|
|
{ |
1458
|
|
|
} |
1459
|
|
|
|
1460
|
|
|
/** |
1461
|
|
|
* @method string getStderrRedirectPath() |
1462
|
|
|
* @method $this withStderrRedirectPath($value) |
1463
|
|
|
* @method string getArrayRequest() |
1464
|
|
|
* @method $this withArrayRequest($value) |
1465
|
|
|
* @method string getPackagePath() |
1466
|
|
|
* @method $this withPackagePath($value) |
1467
|
|
|
* @method string getVariables() |
1468
|
|
|
* @method $this withVariables($value) |
1469
|
|
|
* @method string getName() |
1470
|
|
|
* @method $this withName($value) |
1471
|
|
|
* @method string getRunasUser() |
1472
|
|
|
* @method $this withRunasUser($value) |
1473
|
|
|
* @method string getStdoutRedirectPath() |
1474
|
|
|
* @method $this withStdoutRedirectPath($value) |
1475
|
|
|
* @method string getReRunable() |
1476
|
|
|
* @method $this withReRunable($value) |
1477
|
|
|
* @method string getPriority() |
1478
|
|
|
* @method $this withPriority($value) |
1479
|
|
|
* @method string getCommandLine() |
1480
|
|
|
* @method $this withCommandLine($value) |
1481
|
|
|
*/ |
1482
|
|
|
class CreateJobTemplate extends V20180412Rpc |
1483
|
|
|
{ |
1484
|
|
|
} |
1485
|
|
|
|
1486
|
|
|
/** |
1487
|
|
|
* @method string getSccClusterId() |
1488
|
|
|
* @method $this withSccClusterId($value) |
1489
|
|
|
* @method string getImageId() |
1490
|
|
|
* @method $this withImageId($value) |
1491
|
|
|
* @method array getAdditionalVolumes() |
1492
|
|
|
* @method string getEcsOrderManagerInstanceType() |
1493
|
|
|
* @method string getEhpcVersion() |
1494
|
|
|
* @method $this withEhpcVersion($value) |
1495
|
|
|
* @method string getAccountType() |
1496
|
|
|
* @method $this withAccountType($value) |
1497
|
|
|
* @method string getSecurityGroupId() |
1498
|
|
|
* @method $this withSecurityGroupId($value) |
1499
|
|
|
* @method string getDescription() |
1500
|
|
|
* @method $this withDescription($value) |
1501
|
|
|
* @method string getKeyPairName() |
1502
|
|
|
* @method $this withKeyPairName($value) |
1503
|
|
|
* @method string getSecurityGroupName() |
1504
|
|
|
* @method $this withSecurityGroupName($value) |
1505
|
|
|
* @method string getEcsOrderComputeInstanceType() |
1506
|
|
|
* @method string getJobQueue() |
1507
|
|
|
* @method $this withJobQueue($value) |
1508
|
|
|
* @method string getImageOwnerAlias() |
1509
|
|
|
* @method $this withImageOwnerAlias($value) |
1510
|
|
|
* @method string getVolumeType() |
1511
|
|
|
* @method $this withVolumeType($value) |
1512
|
|
|
* @method string getDeployMode() |
1513
|
|
|
* @method $this withDeployMode($value) |
1514
|
|
|
* @method string getEcsOrderManagerCount() |
1515
|
|
|
* @method string getResourceGroupId() |
1516
|
|
|
* @method $this withResourceGroupId($value) |
1517
|
|
|
* @method string getPassword() |
1518
|
|
|
* @method $this withPassword($value) |
1519
|
|
|
* @method string getEcsOrderLoginCount() |
1520
|
|
|
* @method string getRemoteVisEnable() |
1521
|
|
|
* @method $this withRemoteVisEnable($value) |
1522
|
|
|
* @method string getSystemDiskSize() |
1523
|
|
|
* @method $this withSystemDiskSize($value) |
1524
|
|
|
* @method string getComputeSpotPriceLimit() |
1525
|
|
|
* @method $this withComputeSpotPriceLimit($value) |
1526
|
|
|
* @method string getAutoRenewPeriod() |
1527
|
|
|
* @method $this withAutoRenewPeriod($value) |
1528
|
|
|
* @method string getPeriod() |
1529
|
|
|
* @method $this withPeriod($value) |
1530
|
|
|
* @method string getVolumeProtocol() |
1531
|
|
|
* @method $this withVolumeProtocol($value) |
1532
|
|
|
* @method string getClientVersion() |
1533
|
|
|
* @method $this withClientVersion($value) |
1534
|
|
|
* @method string getOsTag() |
1535
|
|
|
* @method $this withOsTag($value) |
1536
|
|
|
* @method string getRemoteDirectory() |
1537
|
|
|
* @method $this withRemoteDirectory($value) |
1538
|
|
|
* @method string getEcsOrderComputeCount() |
1539
|
|
|
* @method string getComputeSpotStrategy() |
1540
|
|
|
* @method $this withComputeSpotStrategy($value) |
1541
|
|
|
* @method array getPostInstallScript() |
1542
|
|
|
* @method string getVSwitchId() |
1543
|
|
|
* @method $this withVSwitchId($value) |
1544
|
|
|
* @method string getPeriodUnit() |
1545
|
|
|
* @method $this withPeriodUnit($value) |
1546
|
|
|
* @method array getApplication() |
1547
|
|
|
* @method string getAutoRenew() |
1548
|
|
|
* @method $this withAutoRenew($value) |
1549
|
|
|
* @method string getEcsChargeType() |
1550
|
|
|
* @method $this withEcsChargeType($value) |
1551
|
|
|
* @method string getInputFileUrl() |
1552
|
|
|
* @method $this withInputFileUrl($value) |
1553
|
|
|
* @method string getVpcId() |
1554
|
|
|
* @method $this withVpcId($value) |
1555
|
|
|
* @method string getHaEnable() |
1556
|
|
|
* @method $this withHaEnable($value) |
1557
|
|
|
* @method string getName() |
1558
|
|
|
* @method $this withName($value) |
1559
|
|
|
* @method string getSchedulerType() |
1560
|
|
|
* @method $this withSchedulerType($value) |
1561
|
|
|
* @method string getVolumeId() |
1562
|
|
|
* @method $this withVolumeId($value) |
1563
|
|
|
* @method string getVolumeMountpoint() |
1564
|
|
|
* @method $this withVolumeMountpoint($value) |
1565
|
|
|
* @method string getEcsOrderLoginInstanceType() |
1566
|
|
|
* @method string getZoneId() |
1567
|
|
|
* @method $this withZoneId($value) |
1568
|
|
|
*/ |
1569
|
|
|
class CreateCluster extends V20180412Rpc |
1570
|
|
|
{ |
1571
|
|
|
|
1572
|
|
|
/** |
1573
|
|
|
* @param array $additionalVolumes |
1574
|
|
|
* |
1575
|
|
|
* @return $this |
1576
|
|
|
*/ |
1577
|
|
|
public function withAdditionalVolumes(array $additionalVolumes) |
1578
|
|
|
{ |
1579
|
|
|
$this->data['AdditionalVolumes'] = $additionalVolumes; |
1580
|
|
|
foreach ($additionalVolumes as $depth1 => $depth1Value) { |
1581
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeType'] = $depth1Value['VolumeType']; |
1582
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeProtocol'] = $depth1Value['VolumeProtocol']; |
1583
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Role'] = $depth1Value['Role']; |
1584
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.LocalDirectory'] = $depth1Value['LocalDirectory']; |
1585
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.RemoteDirectory'] = $depth1Value['RemoteDirectory']; |
1586
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeId'] = $depth1Value['VolumeId']; |
1587
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeMountpoint'] = $depth1Value['VolumeMountpoint']; |
1588
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Location'] = $depth1Value['Location']; |
1589
|
|
|
$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.JobQueue'] = $depth1Value['JobQueue']; |
1590
|
|
|
} |
1591
|
|
|
|
1592
|
|
|
return $this; |
1593
|
|
|
} |
1594
|
|
|
|
1595
|
|
|
/** |
1596
|
|
|
* @param string $value |
1597
|
|
|
* |
1598
|
|
|
* @return $this |
1599
|
|
|
*/ |
1600
|
|
|
public function withEcsOrderManagerInstanceType($value) |
1601
|
|
|
{ |
1602
|
|
|
$this->data['EcsOrderManagerInstanceType'] = $value; |
1603
|
|
|
$this->options['query']['EcsOrder.Manager.InstanceType'] = $value; |
1604
|
|
|
|
1605
|
|
|
return $this; |
1606
|
|
|
} |
1607
|
|
|
|
1608
|
|
|
/** |
1609
|
|
|
* @param string $value |
1610
|
|
|
* |
1611
|
|
|
* @return $this |
1612
|
|
|
*/ |
1613
|
|
|
public function withEcsOrderComputeInstanceType($value) |
1614
|
|
|
{ |
1615
|
|
|
$this->data['EcsOrderComputeInstanceType'] = $value; |
1616
|
|
|
$this->options['query']['EcsOrder.Compute.InstanceType'] = $value; |
1617
|
|
|
|
1618
|
|
|
return $this; |
1619
|
|
|
} |
1620
|
|
|
|
1621
|
|
|
/** |
1622
|
|
|
* @param string $value |
1623
|
|
|
* |
1624
|
|
|
* @return $this |
1625
|
|
|
*/ |
1626
|
|
|
public function withEcsOrderManagerCount($value) |
1627
|
|
|
{ |
1628
|
|
|
$this->data['EcsOrderManagerCount'] = $value; |
1629
|
|
|
$this->options['query']['EcsOrder.Manager.Count'] = $value; |
1630
|
|
|
|
1631
|
|
|
return $this; |
1632
|
|
|
} |
1633
|
|
|
|
1634
|
|
|
/** |
1635
|
|
|
* @param string $value |
1636
|
|
|
* |
1637
|
|
|
* @return $this |
1638
|
|
|
*/ |
1639
|
|
|
public function withEcsOrderLoginCount($value) |
1640
|
|
|
{ |
1641
|
|
|
$this->data['EcsOrderLoginCount'] = $value; |
1642
|
|
|
$this->options['query']['EcsOrder.Login.Count'] = $value; |
1643
|
|
|
|
1644
|
|
|
return $this; |
1645
|
|
|
} |
1646
|
|
|
|
1647
|
|
|
/** |
1648
|
|
|
* @param string $value |
1649
|
|
|
* |
1650
|
|
|
* @return $this |
1651
|
|
|
*/ |
1652
|
|
|
public function withEcsOrderComputeCount($value) |
1653
|
|
|
{ |
1654
|
|
|
$this->data['EcsOrderComputeCount'] = $value; |
1655
|
|
|
$this->options['query']['EcsOrder.Compute.Count'] = $value; |
1656
|
|
|
|
1657
|
|
|
return $this; |
1658
|
|
|
} |
1659
|
|
|
|
1660
|
|
|
/** |
1661
|
|
|
* @param array $postInstallScript |
1662
|
|
|
* |
1663
|
|
|
* @return $this |
1664
|
|
|
*/ |
1665
|
|
|
public function withPostInstallScript(array $postInstallScript) |
1666
|
|
|
{ |
1667
|
|
|
$this->data['PostInstallScript'] = $postInstallScript; |
1668
|
|
|
foreach ($postInstallScript as $depth1 => $depth1Value) { |
1669
|
|
|
$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Args'] = $depth1Value['Args']; |
1670
|
|
|
$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url']; |
1671
|
|
|
} |
1672
|
|
|
|
1673
|
|
|
return $this; |
1674
|
|
|
} |
1675
|
|
|
|
1676
|
|
|
/** |
1677
|
|
|
* @param array $application |
1678
|
|
|
* |
1679
|
|
|
* @return $this |
1680
|
|
|
*/ |
1681
|
|
|
public function withApplication(array $application) |
1682
|
|
|
{ |
1683
|
|
|
$this->data['Application'] = $application; |
1684
|
|
|
foreach ($application as $depth1 => $depth1Value) { |
1685
|
|
|
$this->options['query']['Application.' . ($depth1 + 1) . '.Tag'] = $depth1Value['Tag']; |
1686
|
|
|
} |
1687
|
|
|
|
1688
|
|
|
return $this; |
1689
|
|
|
} |
1690
|
|
|
|
1691
|
|
|
/** |
1692
|
|
|
* @param string $value |
1693
|
|
|
* |
1694
|
|
|
* @return $this |
1695
|
|
|
*/ |
1696
|
|
|
public function withEcsOrderLoginInstanceType($value) |
1697
|
|
|
{ |
1698
|
|
|
$this->data['EcsOrderLoginInstanceType'] = $value; |
1699
|
|
|
$this->options['query']['EcsOrder.Login.InstanceType'] = $value; |
1700
|
|
|
|
1701
|
|
|
return $this; |
1702
|
|
|
} |
1703
|
|
|
} |
1704
|
|
|
|
1705
|
|
|
/** |
1706
|
|
|
* @method string getReleaseInstance() |
1707
|
|
|
* @method $this withReleaseInstance($value) |
1708
|
|
|
* @method string getClusterId() |
1709
|
|
|
* @method $this withClusterId($value) |
1710
|
|
|
*/ |
1711
|
|
|
class DeleteCluster extends V20180412Rpc |
1712
|
|
|
{ |
1713
|
|
|
} |
1714
|
|
|
|
1715
|
|
|
/** |
1716
|
|
|
* @method string getPageSize() |
1717
|
|
|
* @method $this withPageSize($value) |
1718
|
|
|
* @method string getClusterId() |
1719
|
|
|
* @method $this withClusterId($value) |
1720
|
|
|
* @method string getPageNumber() |
1721
|
|
|
* @method $this withPageNumber($value) |
1722
|
|
|
*/ |
1723
|
|
|
class ListUsers extends V20180412Rpc |
1724
|
|
|
{ |
1725
|
|
|
} |
1726
|
|
|
|
1727
|
|
|
/** |
1728
|
|
|
* @method string getPageSize() |
1729
|
|
|
* @method $this withPageSize($value) |
1730
|
|
|
* @method string getClusterId() |
1731
|
|
|
* @method $this withClusterId($value) |
1732
|
|
|
* @method string getPageNumber() |
1733
|
|
|
* @method $this withPageNumber($value) |
1734
|
|
|
*/ |
1735
|
|
|
class ListClusterLogs extends V20180412Rpc |
1736
|
|
|
{ |
1737
|
|
|
} |
1738
|
|
|
|
1739
|
|
|
/** |
1740
|
|
|
* @method string getTemplates() |
1741
|
|
|
* @method $this withTemplates($value) |
1742
|
|
|
*/ |
1743
|
|
|
class DeleteJobTemplates extends V20180412Rpc |
1744
|
|
|
{ |
1745
|
|
|
} |
1746
|
|
|
|
1747
|
|
|
/** |
1748
|
|
|
* @method string getJobs() |
1749
|
|
|
* @method $this withJobs($value) |
1750
|
|
|
* @method string getClusterId() |
1751
|
|
|
* @method $this withClusterId($value) |
1752
|
|
|
*/ |
1753
|
|
|
class RerunJobs extends V20180412Rpc |
1754
|
|
|
{ |
1755
|
|
|
} |
1756
|
|
|
|