GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 573c1f...dd3f97 )
by
unknown
07:19
created

AddNodes::withDataDisks()   B

Complexity

Conditions 8
Paths 65

Size

Total Lines 25
Code Lines 15

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 15
dl 0
loc 25
c 0
b 0
f 0
rs 8.4444
cc 8
nc 65
nop 1
1
<?php
2
3
namespace AlibabaCloud\EHPC\V20180412;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddContainerApp addContainerApp(array $options = [])
9
 * @method AddExistedNodes addExistedNodes(array $options = [])
10
 * @method AddLocalNodes addLocalNodes(array $options = [])
11
 * @method AddNodes addNodes(array $options = [])
12
 * @method AddQueue addQueue(array $options = [])
13
 * @method AddSecurityGroup addSecurityGroup(array $options = [])
14
 * @method AddUsers addUsers(array $options = [])
15
 * @method ApplyNodes applyNodes(array $options = [])
16
 * @method CreateCluster createCluster(array $options = [])
17
 * @method CreateGWSCluster createGWSCluster(array $options = [])
18
 * @method CreateGWSImage createGWSImage(array $options = [])
19
 * @method CreateGWSInstance createGWSInstance(array $options = [])
20
 * @method CreateHybridCluster createHybridCluster(array $options = [])
21
 * @method CreateJobFile createJobFile(array $options = [])
22
 * @method CreateJobTemplate createJobTemplate(array $options = [])
23
 * @method DeleteCluster deleteCluster(array $options = [])
24
 * @method DeleteContainerApps deleteContainerApps(array $options = [])
25
 * @method DeleteGWSCluster deleteGWSCluster(array $options = [])
26
 * @method DeleteGWSInstance deleteGWSInstance(array $options = [])
27
 * @method DeleteImage deleteImage(array $options = [])
28
 * @method DeleteJobs deleteJobs(array $options = [])
29
 * @method DeleteJobTemplates deleteJobTemplates(array $options = [])
30
 * @method DeleteLocalImage deleteLocalImage(array $options = [])
31
 * @method DeleteNodes deleteNodes(array $options = [])
32
 * @method DeleteQueue deleteQueue(array $options = [])
33
 * @method DeleteSecurityGroup deleteSecurityGroup(array $options = [])
34
 * @method DeleteUsers deleteUsers(array $options = [])
35
 * @method DescribeAutoScaleConfig describeAutoScaleConfig(array $options = [])
36
 * @method DescribeCluster describeCluster(array $options = [])
37
 * @method DescribeContainerApp describeContainerApp(array $options = [])
38
 * @method DescribeEstackImage describeEstackImage(array $options = [])
39
 * @method DescribeGWSClusterPolicy describeGWSClusterPolicy(array $options = [])
40
 * @method DescribeGWSClusters describeGWSClusters(array $options = [])
41
 * @method DescribeGWSImages describeGWSImages(array $options = [])
42
 * @method DescribeGWSInstances describeGWSInstances(array $options = [])
43
 * @method DescribeImage describeImage(array $options = [])
44
 * @method DescribeImageGatewayConfig describeImageGatewayConfig(array $options = [])
45
 * @method DescribeImagePrice describeImagePrice(array $options = [])
46
 * @method DescribeJob describeJob(array $options = [])
47
 * @method DescribeNFSClientStatus describeNFSClientStatus(array $options = [])
48
 * @method DescribePrice describePrice(array $options = [])
49
 * @method EditJobTemplate editJobTemplate(array $options = [])
50
 * @method GetAccountingReport getAccountingReport(array $options = [])
51
 * @method GetAutoScaleConfig getAutoScaleConfig(array $options = [])
52
 * @method GetCloudMetricLogs getCloudMetricLogs(array $options = [])
53
 * @method GetCloudMetricProfiling getCloudMetricProfiling(array $options = [])
54
 * @method GetClusterVolumes getClusterVolumes(array $options = [])
55
 * @method GetCommonImage getCommonImage(array $options = [])
56
 * @method GetGWSConnectTicket getGWSConnectTicket(array $options = [])
57
 * @method GetHybridClusterConfig getHybridClusterConfig(array $options = [])
58
 * @method GetIfEcsTypeSupportHtConfig getIfEcsTypeSupportHtConfig(array $options = [])
59
 * @method GetPostScripts getPostScripts(array $options = [])
60
 * @method GetSchedulerInfo getSchedulerInfo(array $options = [])
61
 * @method GetUserImage getUserImage(array $options = [])
62
 * @method GetVisualServiceStatus getVisualServiceStatus(array $options = [])
63
 * @method InitializeEHPC initializeEHPC(array $options = [])
64
 * @method InspectImage inspectImage(array $options = [])
65
 * @method InstallSoftware installSoftware(array $options = [])
66
 * @method InvokeShellCommand invokeShellCommand(array $options = [])
67
 * @method ListAvailableEcsTypes listAvailableEcsTypes(array $options = [])
68
 * @method ListCloudMetricProfilings listCloudMetricProfilings(array $options = [])
69
 * @method ListClusterLogs listClusterLogs(array $options = [])
70
 * @method ListClusters listClusters(array $options = [])
71
 * @method ListClustersMeta listClustersMeta(array $options = [])
72
 * @method ListCommands listCommands(array $options = [])
73
 * @method ListCommunityImages listCommunityImages(array $options = [])
74
 * @method ListContainerApps listContainerApps(array $options = [])
75
 * @method ListContainerImages listContainerImages(array $options = [])
76
 * @method ListCpfsFileSystems listCpfsFileSystems(array $options = [])
77
 * @method ListCurrentClientVersion listCurrentClientVersion(array $options = [])
78
 * @method ListCustomImages listCustomImages(array $options = [])
79
 * @method ListFileSystemWithMountTargets listFileSystemWithMountTargets(array $options = [])
80
 * @method ListImages listImages(array $options = [])
81
 * @method ListInstalledSoftware listInstalledSoftware(array $options = [])
82
 * @method ListInvocationResults listInvocationResults(array $options = [])
83
 * @method ListInvocationStatus listInvocationStatus(array $options = [])
84
 * @method ListJobs listJobs(array $options = [])
85
 * @method ListJobsWithFilters listJobsWithFilters(array $options = [])
86
 * @method ListJobTemplates listJobTemplates(array $options = [])
87
 * @method ListNodes listNodes(array $options = [])
88
 * @method ListNodesByQueue listNodesByQueue(array $options = [])
89
 * @method ListNodesNoPaging listNodesNoPaging(array $options = [])
90
 * @method ListPreferredEcsTypes listPreferredEcsTypes(array $options = [])
91
 * @method ListQueues listQueues(array $options = [])
92
 * @method ListRegions listRegions(array $options = [])
93
 * @method ListSecurityGroups listSecurityGroups(array $options = [])
94
 * @method ListSoftwares listSoftwares(array $options = [])
95
 * @method ListTagResources listTagResources(array $options = [])
96
 * @method ListTasks listTasks(array $options = [])
97
 * @method ListUpgradeClients listUpgradeClients(array $options = [])
98
 * @method ListUsers listUsers(array $options = [])
99
 * @method ListUsersAsync listUsersAsync(array $options = [])
100
 * @method ListVolumes listVolumes(array $options = [])
101
 * @method ModifyClusterAttributes modifyClusterAttributes(array $options = [])
102
 * @method ModifyContainerAppAttributes modifyContainerAppAttributes(array $options = [])
103
 * @method ModifyImageGatewayConfig modifyImageGatewayConfig(array $options = [])
104
 * @method ModifyUserGroups modifyUserGroups(array $options = [])
105
 * @method ModifyUserPasswords modifyUserPasswords(array $options = [])
106
 * @method ModifyVisualServicePasswd modifyVisualServicePasswd(array $options = [])
107
 * @method MountNFS mountNFS(array $options = [])
108
 * @method PullImage pullImage(array $options = [])
109
 * @method QueryServicePackAndPrice queryServicePackAndPrice(array $options = [])
110
 * @method RecoverCluster recoverCluster(array $options = [])
111
 * @method RerunJobs rerunJobs(array $options = [])
112
 * @method ResetNodes resetNodes(array $options = [])
113
 * @method RunCloudMetricProfiling runCloudMetricProfiling(array $options = [])
114
 * @method SetAutoScaleConfig setAutoScaleConfig(array $options = [])
115
 * @method SetGWSClusterPolicy setGWSClusterPolicy(array $options = [])
116
 * @method SetGWSInstanceName setGWSInstanceName(array $options = [])
117
 * @method SetGWSInstanceUser setGWSInstanceUser(array $options = [])
118
 * @method SetPostScripts setPostScripts(array $options = [])
119
 * @method SetQueue setQueue(array $options = [])
120
 * @method SetSchedulerInfo setSchedulerInfo(array $options = [])
121
 * @method StartCluster startCluster(array $options = [])
122
 * @method StartGWSInstance startGWSInstance(array $options = [])
123
 * @method StartNodes startNodes(array $options = [])
124
 * @method StartVisualService startVisualService(array $options = [])
125
 * @method StopCluster stopCluster(array $options = [])
126
 * @method StopGWSInstance stopGWSInstance(array $options = [])
127
 * @method StopJobs stopJobs(array $options = [])
128
 * @method StopNodes stopNodes(array $options = [])
129
 * @method StopVisualService stopVisualService(array $options = [])
130
 * @method SubmitJob submitJob(array $options = [])
131
 * @method SummaryImages summaryImages(array $options = [])
132
 * @method SummaryImagesInfo summaryImagesInfo(array $options = [])
133
 * @method SyncUsers syncUsers(array $options = [])
134
 * @method TagResources tagResources(array $options = [])
135
 * @method UninstallSoftware uninstallSoftware(array $options = [])
136
 * @method UnTagResources unTagResources(array $options = [])
137
 * @method UpdateClusterVolumes updateClusterVolumes(array $options = [])
138
 * @method UpdateQueueConfig updateQueueConfig(array $options = [])
139
 * @method UpgradeClient upgradeClient(array $options = [])
140
 */
141
class EHPCApiResolver extends ApiResolver
142
{
143
}
144
145
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
146
{
147
    /** @var string */
148
    public $product = 'EHPC';
149
150
    /** @var string */
151
    public $version = '2018-04-12';
152
}
153
154
/**
155
 * @method string getDescription()
156
 * @method $this withDescription($value)
157
 * @method string getRepository()
158
 * @method $this withRepository($value)
159
 * @method string getContainerType()
160
 * @method $this withContainerType($value)
161
 * @method string getName()
162
 * @method $this withName($value)
163
 * @method string getImageTag()
164
 * @method $this withImageTag($value)
165
 */
166
class AddContainerApp extends Rpc
167
{
168
}
169
170
/**
171
 * @method string getImageId()
172
 * @method $this withImageId($value)
173
 * @method array getInstance()
174
 * @method string getClusterId()
175
 * @method $this withClusterId($value)
176
 * @method string getJobQueue()
177
 * @method $this withJobQueue($value)
178
 * @method string getImageOwnerAlias()
179
 * @method $this withImageOwnerAlias($value)
180
 */
181
class AddExistedNodes extends Rpc
182
{
183
184
    /**
185
     * @param array $instance
186
     *
187
     * @return $this
188
     */
189
	public function withInstance(array $instance)
190
	{
191
	    $this->data['Instance'] = $instance;
192
		foreach ($instance as $depth1 => $depth1Value) {
193
			if(isset($depth1Value['Id'])){
194
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
195
			}
196
		}
197
198
		return $this;
199
    }
200
}
201
202
/**
203
 * @method string getClusterId()
204
 * @method $this withClusterId($value)
205
 * @method string getNodes()
206
 * @method $this withNodes($value)
207
 * @method string getQueue()
208
 * @method $this withQueue($value)
209
 */
210
class AddLocalNodes extends Rpc
211
{
212
}
213
214
/**
215
 * @method string getImageId()
216
 * @method $this withImageId($value)
217
 * @method string getSystemDiskLevel()
218
 * @method $this withSystemDiskLevel($value)
219
 * @method string getClientToken()
220
 * @method $this withClientToken($value)
221
 * @method string getAllocatePublicAddress()
222
 * @method $this withAllocatePublicAddress($value)
223
 * @method string getInternetMaxBandWidthOut()
224
 * @method $this withInternetMaxBandWidthOut($value)
225
 * @method string getJobQueue()
226
 * @method $this withJobQueue($value)
227
 * @method string getImageOwnerAlias()
228
 * @method $this withImageOwnerAlias($value)
229
 * @method string getSystemDiskType()
230
 * @method $this withSystemDiskType($value)
231
 * @method array getDataDisks()
232
 * @method string getMinCount()
233
 * @method $this withMinCount($value)
234
 * @method string getSystemDiskSize()
235
 * @method $this withSystemDiskSize($value)
236
 * @method string getInstanceType()
237
 * @method $this withInstanceType($value)
238
 * @method string getHostNamePrefix()
239
 * @method $this withHostNamePrefix($value)
240
 * @method string getComputeSpotPriceLimit()
241
 * @method $this withComputeSpotPriceLimit($value)
242
 * @method string getAutoRenewPeriod()
243
 * @method $this withAutoRenewPeriod($value)
244
 * @method string getPeriod()
245
 * @method $this withPeriod($value)
246
 * @method string getCount()
247
 * @method $this withCount($value)
248
 * @method string getClusterId()
249
 * @method $this withClusterId($value)
250
 * @method string getComputeSpotStrategy()
251
 * @method $this withComputeSpotStrategy($value)
252
 * @method string getHostNameSuffix()
253
 * @method $this withHostNameSuffix($value)
254
 * @method string getSync()
255
 * @method $this withSync($value)
256
 * @method string getVSwitchId()
257
 * @method $this withVSwitchId($value)
258
 * @method string getPeriodUnit()
259
 * @method $this withPeriodUnit($value)
260
 * @method string getComputeEnableHt()
261
 * @method $this withComputeEnableHt($value)
262
 * @method string getAutoRenew()
263
 * @method $this withAutoRenew($value)
264
 * @method string getEcsChargeType()
265
 * @method $this withEcsChargeType($value)
266
 * @method string getInternetChargeType()
267
 * @method $this withInternetChargeType($value)
268
 * @method string getCreateMode()
269
 * @method $this withCreateMode($value)
270
 * @method string getZoneId()
271
 * @method $this withZoneId($value)
272
 * @method string getInternetMaxBandWidthIn()
273
 * @method $this withInternetMaxBandWidthIn($value)
274
 */
275
class AddNodes extends Rpc
276
{
277
278
    /**
279
     * @param array $dataDisks
280
     *
281
     * @return $this
282
     */
283
	public function withDataDisks(array $dataDisks)
284
	{
285
	    $this->data['DataDisks'] = $dataDisks;
286
		foreach ($dataDisks as $depth1 => $depth1Value) {
287
			if(isset($depth1Value['DataDiskDeleteWithInstance'])){
288
				$this->options['query']['DataDisks.' . ($depth1 + 1) . '.DataDiskDeleteWithInstance'] = $depth1Value['DataDiskDeleteWithInstance'];
289
			}
290
			if(isset($depth1Value['DataDiskEncrypted'])){
291
				$this->options['query']['DataDisks.' . ($depth1 + 1) . '.DataDiskEncrypted'] = $depth1Value['DataDiskEncrypted'];
292
			}
293
			if(isset($depth1Value['DataDiskKMSKeyId'])){
294
				$this->options['query']['DataDisks.' . ($depth1 + 1) . '.DataDiskKMSKeyId'] = $depth1Value['DataDiskKMSKeyId'];
295
			}
296
			if(isset($depth1Value['DataDiskSize'])){
297
				$this->options['query']['DataDisks.' . ($depth1 + 1) . '.DataDiskSize'] = $depth1Value['DataDiskSize'];
298
			}
299
			if(isset($depth1Value['DataDiskCategory'])){
300
				$this->options['query']['DataDisks.' . ($depth1 + 1) . '.DataDiskCategory'] = $depth1Value['DataDiskCategory'];
301
			}
302
			if(isset($depth1Value['DataDiskPerformanceLevel'])){
303
				$this->options['query']['DataDisks.' . ($depth1 + 1) . '.DataDiskPerformanceLevel'] = $depth1Value['DataDiskPerformanceLevel'];
304
			}
305
		}
306
307
		return $this;
308
    }
309
}
310
311
/**
312
 * @method string getQueueName()
313
 * @method $this withQueueName($value)
314
 * @method string getClusterId()
315
 * @method $this withClusterId($value)
316
 */
317
class AddQueue extends Rpc
318
{
319
}
320
321
/**
322
 * @method string getClientToken()
323
 * @method $this withClientToken($value)
324
 * @method string getSecurityGroupId()
325
 * @method $this withSecurityGroupId($value)
326
 * @method string getClusterId()
327
 * @method $this withClusterId($value)
328
 */
329
class AddSecurityGroup extends Rpc
330
{
331
}
332
333
/**
334
 * @method string getClusterId()
335
 * @method $this withClusterId($value)
336
 * @method array getUser()
337
 */
338
class AddUsers extends Rpc
339
{
340
341
    /**
342
     * @param array $user
343
     *
344
     * @return $this
345
     */
346
	public function withUser(array $user)
347
	{
348
	    $this->data['User'] = $user;
349
		foreach ($user as $depth1 => $depth1Value) {
350
			if(isset($depth1Value['Password'])){
351
				$this->options['query']['User.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
352
			}
353
			if(isset($depth1Value['Name'])){
354
				$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
355
			}
356
			if(isset($depth1Value['Group'])){
357
				$this->options['query']['User.' . ($depth1 + 1) . '.Group'] = $depth1Value['Group'];
358
			}
359
		}
360
361
		return $this;
362
    }
363
}
364
365
/**
366
 * @method string getImageId()
367
 * @method $this withImageId($value)
368
 * @method string getMemory()
369
 * @method $this withMemory($value)
370
 * @method string getSystemDiskLevel()
371
 * @method $this withSystemDiskLevel($value)
372
 * @method string getAllocatePublicAddress()
373
 * @method $this withAllocatePublicAddress($value)
374
 * @method string getInternetMaxBandWidthOut()
375
 * @method $this withInternetMaxBandWidthOut($value)
376
 * @method string getResourceAmountType()
377
 * @method $this withResourceAmountType($value)
378
 * @method string getStrictResourceProvision()
379
 * @method $this withStrictResourceProvision($value)
380
 * @method string getJobQueue()
381
 * @method $this withJobQueue($value)
382
 * @method string getSystemDiskType()
383
 * @method $this withSystemDiskType($value)
384
 * @method string getCores()
385
 * @method $this withCores($value)
386
 * @method string getSystemDiskSize()
387
 * @method $this withSystemDiskSize($value)
388
 * @method array getZoneInfos()
389
 * @method string getHostNamePrefix()
390
 * @method $this withHostNamePrefix($value)
391
 * @method array getTag()
392
 * @method string getComputeSpotPriceLimit()
393
 * @method $this withComputeSpotPriceLimit($value)
394
 * @method string getClusterId()
395
 * @method $this withClusterId($value)
396
 * @method string getComputeSpotStrategy()
397
 * @method $this withComputeSpotStrategy($value)
398
 * @method string getHostNameSuffix()
399
 * @method $this withHostNameSuffix($value)
400
 * @method string getPriorityStrategy()
401
 * @method $this withPriorityStrategy($value)
402
 * @method string getInstanceFamilyLevel()
403
 * @method $this withInstanceFamilyLevel($value)
404
 * @method string getRound()
405
 * @method $this withRound($value)
406
 * @method string getInternetChargeType()
407
 * @method $this withInternetChargeType($value)
408
 * @method string getInterval()
409
 * @method $this withInterval($value)
410
 * @method array getInstanceTypeModel()
411
 * @method string getInternetMaxBandWidthIn()
412
 * @method $this withInternetMaxBandWidthIn($value)
413
 * @method string getTargetCapacity()
414
 * @method $this withTargetCapacity($value)
415
 * @method string getStrictSatisfiedTargetCapacity()
416
 * @method $this withStrictSatisfiedTargetCapacity($value)
417
 */
418
class ApplyNodes extends Rpc
419
{
420
421
    /**
422
     * @param array $zoneInfos
423
     *
424
     * @return $this
425
     */
426
	public function withZoneInfos(array $zoneInfos)
427
	{
428
	    $this->data['ZoneInfos'] = $zoneInfos;
429
		foreach ($zoneInfos as $depth1 => $depth1Value) {
430
			if(isset($depth1Value['VSwitchId'])){
431
				$this->options['query']['ZoneInfos.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
432
			}
433
			if(isset($depth1Value['ZoneId'])){
434
				$this->options['query']['ZoneInfos.' . ($depth1 + 1) . '.ZoneId'] = $depth1Value['ZoneId'];
435
			}
436
		}
437
438
		return $this;
439
    }
440
441
    /**
442
     * @param array $tag
443
     *
444
     * @return $this
445
     */
446
	public function withTag(array $tag)
447
	{
448
	    $this->data['Tag'] = $tag;
449
		foreach ($tag as $depth1 => $depth1Value) {
450
			if(isset($depth1Value['Value'])){
451
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
452
			}
453
			if(isset($depth1Value['Key'])){
454
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
455
			}
456
		}
457
458
		return $this;
459
    }
460
461
    /**
462
     * @param array $instanceTypeModel
463
     *
464
     * @return $this
465
     */
466
	public function withInstanceTypeModel(array $instanceTypeModel)
467
	{
468
	    $this->data['InstanceTypeModel'] = $instanceTypeModel;
469
		foreach ($instanceTypeModel as $depth1 => $depth1Value) {
470
			if(isset($depth1Value['MaxPrice'])){
471
				$this->options['query']['InstanceTypeModel.' . ($depth1 + 1) . '.MaxPrice'] = $depth1Value['MaxPrice'];
472
			}
473
			if(isset($depth1Value['TargetImageId'])){
474
				$this->options['query']['InstanceTypeModel.' . ($depth1 + 1) . '.TargetImageId'] = $depth1Value['TargetImageId'];
475
			}
476
			if(isset($depth1Value['InstanceType'])){
477
				$this->options['query']['InstanceTypeModel.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
478
			}
479
		}
480
481
		return $this;
482
    }
483
}
484
485
/**
486
 * @method array getAdditionalVolumes()
487
 * @method string getEcsOrderManagerInstanceType()
488
 * @method string getKeyPairName()
489
 * @method $this withKeyPairName($value)
490
 * @method string getSecurityGroupName()
491
 * @method $this withSecurityGroupName($value)
492
 * @method string getImageOwnerAlias()
493
 * @method $this withImageOwnerAlias($value)
494
 * @method string getDeployMode()
495
 * @method $this withDeployMode($value)
496
 * @method string getEcsOrderManagerCount()
497
 * @method string getResourceGroupId()
498
 * @method $this withResourceGroupId($value)
499
 * @method string getPassword()
500
 * @method $this withPassword($value)
501
 * @method string getEcsOrderLoginCount()
502
 * @method string getWithoutElasticIp()
503
 * @method $this withWithoutElasticIp($value)
504
 * @method string getRemoteVisEnable()
505
 * @method $this withRemoteVisEnable($value)
506
 * @method string getSystemDiskSize()
507
 * @method $this withSystemDiskSize($value)
508
 * @method array getTag()
509
 * @method string getComputeSpotPriceLimit()
510
 * @method $this withComputeSpotPriceLimit($value)
511
 * @method string getAutoRenewPeriod()
512
 * @method $this withAutoRenewPeriod($value)
513
 * @method string getPeriod()
514
 * @method $this withPeriod($value)
515
 * @method string getRemoteDirectory()
516
 * @method $this withRemoteDirectory($value)
517
 * @method string getEcsOrderComputeCount()
518
 * @method string getComputeSpotStrategy()
519
 * @method $this withComputeSpotStrategy($value)
520
 * @method array getPostInstallScript()
521
 * @method array getRamNodeTypes()
522
 * @method string getVSwitchId()
523
 * @method $this withVSwitchId($value)
524
 * @method string getPeriodUnit()
525
 * @method $this withPeriodUnit($value)
526
 * @method string getComputeEnableHt()
527
 * @method $this withComputeEnableHt($value)
528
 * @method string getAutoRenew()
529
 * @method $this withAutoRenew($value)
530
 * @method string getDomain()
531
 * @method $this withDomain($value)
532
 * @method string getName()
533
 * @method $this withName($value)
534
 * @method string getVolumeId()
535
 * @method $this withVolumeId($value)
536
 * @method string getZoneId()
537
 * @method $this withZoneId($value)
538
 * @method string getSccClusterId()
539
 * @method $this withSccClusterId($value)
540
 * @method string getVolumeMountOption()
541
 * @method $this withVolumeMountOption($value)
542
 * @method string getImageId()
543
 * @method $this withImageId($value)
544
 * @method string getSystemDiskLevel()
545
 * @method $this withSystemDiskLevel($value)
546
 * @method string getClientToken()
547
 * @method $this withClientToken($value)
548
 * @method string getEhpcVersion()
549
 * @method $this withEhpcVersion($value)
550
 * @method string getAccountType()
551
 * @method $this withAccountType($value)
552
 * @method string getSecurityGroupId()
553
 * @method $this withSecurityGroupId($value)
554
 * @method string getDescription()
555
 * @method $this withDescription($value)
556
 * @method string getEcsOrderComputeInstanceType()
557
 * @method string getJobQueue()
558
 * @method $this withJobQueue($value)
559
 * @method string getVolumeType()
560
 * @method $this withVolumeType($value)
561
 * @method string getSystemDiskType()
562
 * @method $this withSystemDiskType($value)
563
 * @method string getVolumeProtocol()
564
 * @method $this withVolumeProtocol($value)
565
 * @method string getClientVersion()
566
 * @method $this withClientVersion($value)
567
 * @method string getOsTag()
568
 * @method $this withOsTag($value)
569
 * @method string getClusterVersion()
570
 * @method $this withClusterVersion($value)
571
 * @method string getIsComputeEss()
572
 * @method $this withIsComputeEss($value)
573
 * @method string getRamRoleName()
574
 * @method $this withRamRoleName($value)
575
 * @method string getPlugin()
576
 * @method $this withPlugin($value)
577
 * @method array getApplication()
578
 * @method string getEcsChargeType()
579
 * @method $this withEcsChargeType($value)
580
 * @method string getInputFileUrl()
581
 * @method $this withInputFileUrl($value)
582
 * @method string getVpcId()
583
 * @method $this withVpcId($value)
584
 * @method string getHaEnable()
585
 * @method $this withHaEnable($value)
586
 * @method string getWithoutAgent()
587
 * @method $this withWithoutAgent($value)
588
 * @method string getSchedulerType()
589
 * @method $this withSchedulerType($value)
590
 * @method string getVolumeMountpoint()
591
 * @method $this withVolumeMountpoint($value)
592
 * @method string getEcsOrderLoginInstanceType()
593
 */
594
class CreateCluster extends Rpc
595
{
596
597
    /**
598
     * @param array $additionalVolumes
599
     *
600
     * @return $this
601
     */
602
	public function withAdditionalVolumes(array $additionalVolumes)
603
	{
604
	    $this->data['AdditionalVolumes'] = $additionalVolumes;
605
		foreach ($additionalVolumes as $depth1 => $depth1Value) {
606
			if(isset($depth1Value['VolumeType'])){
607
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeType'] = $depth1Value['VolumeType'];
608
			}
609
			if(isset($depth1Value['VolumeMountOption'])){
610
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeMountOption'] = $depth1Value['VolumeMountOption'];
611
			}
612
			if(isset($depth1Value['VolumeProtocol'])){
613
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeProtocol'] = $depth1Value['VolumeProtocol'];
614
			}
615
			if(isset($depth1Value['LocalDirectory'])){
616
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.LocalDirectory'] = $depth1Value['LocalDirectory'];
617
			}
618
			if(isset($depth1Value['RemoteDirectory'])){
619
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.RemoteDirectory'] = $depth1Value['RemoteDirectory'];
620
			}
621
			foreach ($depth1Value['Roles'] as $depth2 => $depth2Value) {
622
				if(isset($depth2Value['Name'])){
623
					$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Roles.' . ($depth2 + 1) . '.Name'] = $depth2Value['Name'];
624
				}
625
			}
626
			if(isset($depth1Value['VolumeId'])){
627
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeId'] = $depth1Value['VolumeId'];
628
			}
629
			if(isset($depth1Value['VolumeMountpoint'])){
630
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeMountpoint'] = $depth1Value['VolumeMountpoint'];
631
			}
632
			if(isset($depth1Value['Location'])){
633
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Location'] = $depth1Value['Location'];
634
			}
635
			if(isset($depth1Value['JobQueue'])){
636
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.JobQueue'] = $depth1Value['JobQueue'];
637
			}
638
		}
639
640
		return $this;
641
    }
642
643
    /**
644
     * @param string $value
645
     *
646
     * @return $this
647
     */
648
    public function withEcsOrderManagerInstanceType($value)
649
    {
650
        $this->data['EcsOrderManagerInstanceType'] = $value;
651
        $this->options['query']['EcsOrder.Manager.InstanceType'] = $value;
652
653
        return $this;
654
    }
655
656
    /**
657
     * @param string $value
658
     *
659
     * @return $this
660
     */
661
    public function withEcsOrderManagerCount($value)
662
    {
663
        $this->data['EcsOrderManagerCount'] = $value;
664
        $this->options['query']['EcsOrder.Manager.Count'] = $value;
665
666
        return $this;
667
    }
668
669
    /**
670
     * @param string $value
671
     *
672
     * @return $this
673
     */
674
    public function withEcsOrderLoginCount($value)
675
    {
676
        $this->data['EcsOrderLoginCount'] = $value;
677
        $this->options['query']['EcsOrder.Login.Count'] = $value;
678
679
        return $this;
680
    }
681
682
    /**
683
     * @param array $tag
684
     *
685
     * @return $this
686
     */
687
	public function withTag(array $tag)
688
	{
689
	    $this->data['Tag'] = $tag;
690
		foreach ($tag as $depth1 => $depth1Value) {
691
			if(isset($depth1Value['Value'])){
692
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
693
			}
694
			if(isset($depth1Value['Key'])){
695
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
696
			}
697
		}
698
699
		return $this;
700
    }
701
702
    /**
703
     * @param string $value
704
     *
705
     * @return $this
706
     */
707
    public function withEcsOrderComputeCount($value)
708
    {
709
        $this->data['EcsOrderComputeCount'] = $value;
710
        $this->options['query']['EcsOrder.Compute.Count'] = $value;
711
712
        return $this;
713
    }
714
715
    /**
716
     * @param array $postInstallScript
717
     *
718
     * @return $this
719
     */
720
	public function withPostInstallScript(array $postInstallScript)
721
	{
722
	    $this->data['PostInstallScript'] = $postInstallScript;
723
		foreach ($postInstallScript as $depth1 => $depth1Value) {
724
			if(isset($depth1Value['Args'])){
725
				$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Args'] = $depth1Value['Args'];
726
			}
727
			if(isset($depth1Value['Url'])){
728
				$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
729
			}
730
		}
731
732
		return $this;
733
    }
734
735
    /**
736
     * @param array $ramNodeTypes
737
     *
738
     * @return $this
739
     */
740
	public function withRamNodeTypes(array $ramNodeTypes)
741
	{
742
	    $this->data['RamNodeTypes'] = $ramNodeTypes;
743
		foreach ($ramNodeTypes as $i => $iValue) {
744
			$this->options['query']['RamNodeTypes.' . ($i + 1)] = $iValue;
745
		}
746
747
		return $this;
748
    }
749
750
    /**
751
     * @param string $value
752
     *
753
     * @return $this
754
     */
755
    public function withEcsOrderComputeInstanceType($value)
756
    {
757
        $this->data['EcsOrderComputeInstanceType'] = $value;
758
        $this->options['query']['EcsOrder.Compute.InstanceType'] = $value;
759
760
        return $this;
761
    }
762
763
    /**
764
     * @param array $application
765
     *
766
     * @return $this
767
     */
768
	public function withApplication(array $application)
769
	{
770
	    $this->data['Application'] = $application;
771
		foreach ($application as $depth1 => $depth1Value) {
772
			if(isset($depth1Value['Tag'])){
773
				$this->options['query']['Application.' . ($depth1 + 1) . '.Tag'] = $depth1Value['Tag'];
774
			}
775
		}
776
777
		return $this;
778
    }
779
780
    /**
781
     * @param string $value
782
     *
783
     * @return $this
784
     */
785
    public function withEcsOrderLoginInstanceType($value)
786
    {
787
        $this->data['EcsOrderLoginInstanceType'] = $value;
788
        $this->options['query']['EcsOrder.Login.InstanceType'] = $value;
789
790
        return $this;
791
    }
792
}
793
794
/**
795
 * @method string getClusterType()
796
 * @method $this withClusterType($value)
797
 * @method string getVSwitchId()
798
 * @method $this withVSwitchId($value)
799
 * @method string getVpcId()
800
 * @method $this withVpcId($value)
801
 * @method string getName()
802
 * @method $this withName($value)
803
 */
804
class CreateGWSCluster extends Rpc
805
{
806
}
807
808
/**
809
 * @method string getInstanceId()
810
 * @method $this withInstanceId($value)
811
 * @method string getName()
812
 * @method $this withName($value)
813
 */
814
class CreateGWSImage extends Rpc
815
{
816
}
817
818
/**
819
 * @method string getImageId()
820
 * @method $this withImageId($value)
821
 * @method string getAllocatePublicAddress()
822
 * @method $this withAllocatePublicAddress($value)
823
 * @method string getAppList()
824
 * @method $this withAppList($value)
825
 * @method string getInternetMaxBandwidthOut()
826
 * @method $this withInternetMaxBandwidthOut($value)
827
 * @method string getSystemDiskCategory()
828
 * @method $this withSystemDiskCategory($value)
829
 * @method string getSystemDiskSize()
830
 * @method $this withSystemDiskSize($value)
831
 * @method string getInstanceType()
832
 * @method $this withInstanceType($value)
833
 * @method string getInstanceChargeType()
834
 * @method $this withInstanceChargeType($value)
835
 * @method string getPeriod()
836
 * @method $this withPeriod($value)
837
 * @method string getClusterId()
838
 * @method $this withClusterId($value)
839
 * @method string getWorkMode()
840
 * @method $this withWorkMode($value)
841
 * @method string getVSwitchId()
842
 * @method $this withVSwitchId($value)
843
 * @method string getPeriodUnit()
844
 * @method $this withPeriodUnit($value)
845
 * @method string getAutoRenew()
846
 * @method $this withAutoRenew($value)
847
 * @method string getInternetChargeType()
848
 * @method $this withInternetChargeType($value)
849
 * @method string getName()
850
 * @method $this withName($value)
851
 * @method string getInternetMaxBandwidthIn()
852
 * @method $this withInternetMaxBandwidthIn($value)
853
 */
854
class CreateGWSInstance extends Rpc
855
{
856
}
857
858
/**
859
 * @method string getEcsOrderManagerInstanceType()
860
 * @method string getKeyPairName()
861
 * @method $this withKeyPairName($value)
862
 * @method string getMultiOs()
863
 * @method $this withMultiOs($value)
864
 * @method string getSecurityGroupName()
865
 * @method $this withSecurityGroupName($value)
866
 * @method string getOnPremiseVolumeRemotePath()
867
 * @method $this withOnPremiseVolumeRemotePath($value)
868
 * @method string getImageOwnerAlias()
869
 * @method $this withImageOwnerAlias($value)
870
 * @method string getResourceGroupId()
871
 * @method $this withResourceGroupId($value)
872
 * @method string getPassword()
873
 * @method $this withPassword($value)
874
 * @method string getComputeSpotPriceLimit()
875
 * @method $this withComputeSpotPriceLimit($value)
876
 * @method string getOnPremiseVolumeLocalPath()
877
 * @method $this withOnPremiseVolumeLocalPath($value)
878
 * @method string getRemoteDirectory()
879
 * @method $this withRemoteDirectory($value)
880
 * @method string getComputeSpotStrategy()
881
 * @method $this withComputeSpotStrategy($value)
882
 * @method array getPostInstallScript()
883
 * @method string getVSwitchId()
884
 * @method $this withVSwitchId($value)
885
 * @method string getDomain()
886
 * @method $this withDomain($value)
887
 * @method string getName()
888
 * @method $this withName($value)
889
 * @method string getVolumeId()
890
 * @method $this withVolumeId($value)
891
 * @method string getZoneId()
892
 * @method $this withZoneId($value)
893
 * @method string getImageId()
894
 * @method $this withImageId($value)
895
 * @method string getClientToken()
896
 * @method $this withClientToken($value)
897
 * @method string getEhpcVersion()
898
 * @method $this withEhpcVersion($value)
899
 * @method string getSecurityGroupId()
900
 * @method $this withSecurityGroupId($value)
901
 * @method string getDescription()
902
 * @method $this withDescription($value)
903
 * @method string getEcsOrderComputeInstanceType()
904
 * @method string getJobQueue()
905
 * @method $this withJobQueue($value)
906
 * @method string getVolumeType()
907
 * @method $this withVolumeType($value)
908
 * @method string getOnPremiseVolumeMountPoint()
909
 * @method $this withOnPremiseVolumeMountPoint($value)
910
 * @method string getOnPremiseVolumeProtocol()
911
 * @method $this withOnPremiseVolumeProtocol($value)
912
 * @method string getVolumeProtocol()
913
 * @method $this withVolumeProtocol($value)
914
 * @method string getClientVersion()
915
 * @method $this withClientVersion($value)
916
 * @method string getOsTag()
917
 * @method $this withOsTag($value)
918
 * @method array getNodes()
919
 * @method array getApplication()
920
 * @method string getVpcId()
921
 * @method $this withVpcId($value)
922
 * @method string getVolumeMountpoint()
923
 * @method $this withVolumeMountpoint($value)
924
 * @method string getSchedulerPreInstall()
925
 * @method $this withSchedulerPreInstall($value)
926
 * @method string getLocation()
927
 * @method $this withLocation($value)
928
 */
929
class CreateHybridCluster extends Rpc
930
{
931
932
    /**
933
     * @param string $value
934
     *
935
     * @return $this
936
     */
937
    public function withEcsOrderManagerInstanceType($value)
938
    {
939
        $this->data['EcsOrderManagerInstanceType'] = $value;
940
        $this->options['query']['EcsOrder.Manager.InstanceType'] = $value;
941
942
        return $this;
943
    }
944
945
    /**
946
     * @param array $postInstallScript
947
     *
948
     * @return $this
949
     */
950
	public function withPostInstallScript(array $postInstallScript)
951
	{
952
	    $this->data['PostInstallScript'] = $postInstallScript;
953
		foreach ($postInstallScript as $depth1 => $depth1Value) {
954
			if(isset($depth1Value['Args'])){
955
				$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Args'] = $depth1Value['Args'];
956
			}
957
			if(isset($depth1Value['Url'])){
958
				$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
959
			}
960
		}
961
962
		return $this;
963
    }
964
965
    /**
966
     * @param string $value
967
     *
968
     * @return $this
969
     */
970
    public function withEcsOrderComputeInstanceType($value)
971
    {
972
        $this->data['EcsOrderComputeInstanceType'] = $value;
973
        $this->options['query']['EcsOrder.Compute.InstanceType'] = $value;
974
975
        return $this;
976
    }
977
978
    /**
979
     * @param array $nodes
980
     *
981
     * @return $this
982
     */
983
	public function withNodes(array $nodes)
984
	{
985
	    $this->data['Nodes'] = $nodes;
986
		foreach ($nodes as $depth1 => $depth1Value) {
987
			if(isset($depth1Value['IpAddress'])){
988
				$this->options['query']['Nodes.' . ($depth1 + 1) . '.IpAddress'] = $depth1Value['IpAddress'];
989
			}
990
			if(isset($depth1Value['HostName'])){
991
				$this->options['query']['Nodes.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
992
			}
993
			if(isset($depth1Value['Role'])){
994
				$this->options['query']['Nodes.' . ($depth1 + 1) . '.Role'] = $depth1Value['Role'];
995
			}
996
			if(isset($depth1Value['SchedulerType'])){
997
				$this->options['query']['Nodes.' . ($depth1 + 1) . '.SchedulerType'] = $depth1Value['SchedulerType'];
998
			}
999
			if(isset($depth1Value['AccountType'])){
1000
				$this->options['query']['Nodes.' . ($depth1 + 1) . '.AccountType'] = $depth1Value['AccountType'];
1001
			}
1002
			if(isset($depth1Value['Dir'])){
1003
				$this->options['query']['Nodes.' . ($depth1 + 1) . '.Dir'] = $depth1Value['Dir'];
1004
			}
1005
		}
1006
1007
		return $this;
1008
    }
1009
1010
    /**
1011
     * @param array $application
1012
     *
1013
     * @return $this
1014
     */
1015
	public function withApplication(array $application)
1016
	{
1017
	    $this->data['Application'] = $application;
1018
		foreach ($application as $depth1 => $depth1Value) {
1019
			if(isset($depth1Value['Tag'])){
1020
				$this->options['query']['Application.' . ($depth1 + 1) . '.Tag'] = $depth1Value['Tag'];
1021
			}
1022
		}
1023
1024
		return $this;
1025
    }
1026
}
1027
1028
/**
1029
 * @method string getTargetFile()
1030
 * @method $this withTargetFile($value)
1031
 * @method string getRunasUserPassword()
1032
 * @method $this withRunasUserPassword($value)
1033
 * @method string getRunasUser()
1034
 * @method $this withRunasUser($value)
1035
 * @method string getClusterId()
1036
 * @method $this withClusterId($value)
1037
 * @method string getContent()
1038
 * @method $this withContent($value)
1039
 */
1040
class CreateJobFile extends Rpc
1041
{
1042
}
1043
1044
/**
1045
 * @method string getStderrRedirectPath()
1046
 * @method $this withStderrRedirectPath($value)
1047
 * @method string getClockTime()
1048
 * @method $this withClockTime($value)
1049
 * @method string getCommandLine()
1050
 * @method $this withCommandLine($value)
1051
 * @method string getArrayRequest()
1052
 * @method $this withArrayRequest($value)
1053
 * @method string getUnzipCmd()
1054
 * @method $this withUnzipCmd($value)
1055
 * @method string getPackagePath()
1056
 * @method $this withPackagePath($value)
1057
 * @method string getMem()
1058
 * @method $this withMem($value)
1059
 * @method string getStdoutRedirectPath()
1060
 * @method $this withStdoutRedirectPath($value)
1061
 * @method string getVariables()
1062
 * @method $this withVariables($value)
1063
 * @method string getRunasUser()
1064
 * @method $this withRunasUser($value)
1065
 * @method string getReRunable()
1066
 * @method $this withReRunable($value)
1067
 * @method string getThread()
1068
 * @method $this withThread($value)
1069
 * @method string getPriority()
1070
 * @method $this withPriority($value)
1071
 * @method string getGpu()
1072
 * @method $this withGpu($value)
1073
 * @method string getWithUnzipCmd()
1074
 * @method $this withWithUnzipCmd($value)
1075
 * @method string getNode()
1076
 * @method $this withNode($value)
1077
 * @method string getTask()
1078
 * @method $this withTask($value)
1079
 * @method string getInputFileUrl()
1080
 * @method $this withInputFileUrl($value)
1081
 * @method string getName()
1082
 * @method $this withName($value)
1083
 * @method string getQueue()
1084
 * @method $this withQueue($value)
1085
 */
1086
class CreateJobTemplate extends Rpc
1087
{
1088
}
1089
1090
/**
1091
 * @method string getClusterId()
1092
 * @method $this withClusterId($value)
1093
 * @method string getReleaseInstance()
1094
 * @method $this withReleaseInstance($value)
1095
 */
1096
class DeleteCluster extends Rpc
1097
{
1098
}
1099
1100
/**
1101
 * @method array getContainerApp()
1102
 */
1103
class DeleteContainerApps extends Rpc
1104
{
1105
1106
    /**
1107
     * @param array $containerApp
1108
     *
1109
     * @return $this
1110
     */
1111
	public function withContainerApp(array $containerApp)
1112
	{
1113
	    $this->data['ContainerApp'] = $containerApp;
1114
		foreach ($containerApp as $depth1 => $depth1Value) {
1115
			if(isset($depth1Value['Id'])){
1116
				$this->options['query']['ContainerApp.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
1117
			}
1118
		}
1119
1120
		return $this;
1121
    }
1122
}
1123
1124
/**
1125
 * @method string getClusterId()
1126
 * @method $this withClusterId($value)
1127
 */
1128
class DeleteGWSCluster extends Rpc
1129
{
1130
}
1131
1132
/**
1133
 * @method string getInstanceId()
1134
 * @method $this withInstanceId($value)
1135
 */
1136
class DeleteGWSInstance extends Rpc
1137
{
1138
}
1139
1140
/**
1141
 * @method string getClusterId()
1142
 * @method $this withClusterId($value)
1143
 * @method string getRepository()
1144
 * @method $this withRepository($value)
1145
 * @method string getContainerType()
1146
 * @method $this withContainerType($value)
1147
 * @method string getImageTag()
1148
 * @method $this withImageTag($value)
1149
 */
1150
class DeleteImage extends Rpc
1151
{
1152
}
1153
1154
/**
1155
 * @method string getJobs()
1156
 * @method $this withJobs($value)
1157
 * @method string getClusterId()
1158
 * @method $this withClusterId($value)
1159
 */
1160
class DeleteJobs extends Rpc
1161
{
1162
}
1163
1164
/**
1165
 * @method string getTemplates()
1166
 * @method $this withTemplates($value)
1167
 */
1168
class DeleteJobTemplates extends Rpc
1169
{
1170
}
1171
1172
/**
1173
 * @method string getClusterId()
1174
 * @method $this withClusterId($value)
1175
 * @method string getContainerType()
1176
 * @method $this withContainerType($value)
1177
 * @method string getImageName()
1178
 * @method $this withImageName($value)
1179
 */
1180
class DeleteLocalImage extends Rpc
1181
{
1182
}
1183
1184
/**
1185
 * @method array getInstance()
1186
 * @method string getClusterId()
1187
 * @method $this withClusterId($value)
1188
 * @method string getSync()
1189
 * @method $this withSync($value)
1190
 * @method string getReleaseInstance()
1191
 * @method $this withReleaseInstance($value)
1192
 */
1193
class DeleteNodes extends Rpc
1194
{
1195
1196
    /**
1197
     * @param array $instance
1198
     *
1199
     * @return $this
1200
     */
1201
	public function withInstance(array $instance)
1202
	{
1203
	    $this->data['Instance'] = $instance;
1204
		foreach ($instance as $depth1 => $depth1Value) {
1205
			if(isset($depth1Value['Id'])){
1206
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
1207
			}
1208
		}
1209
1210
		return $this;
1211
    }
1212
}
1213
1214
/**
1215
 * @method string getQueueName()
1216
 * @method $this withQueueName($value)
1217
 * @method string getClusterId()
1218
 * @method $this withClusterId($value)
1219
 */
1220
class DeleteQueue extends Rpc
1221
{
1222
}
1223
1224
/**
1225
 * @method string getSecurityGroupId()
1226
 * @method $this withSecurityGroupId($value)
1227
 * @method string getClusterId()
1228
 * @method $this withClusterId($value)
1229
 */
1230
class DeleteSecurityGroup extends Rpc
1231
{
1232
}
1233
1234
/**
1235
 * @method string getClusterId()
1236
 * @method $this withClusterId($value)
1237
 * @method array getUser()
1238
 */
1239
class DeleteUsers extends Rpc
1240
{
1241
1242
    /**
1243
     * @param array $user
1244
     *
1245
     * @return $this
1246
     */
1247
	public function withUser(array $user)
1248
	{
1249
	    $this->data['User'] = $user;
1250
		foreach ($user as $depth1 => $depth1Value) {
1251
			if(isset($depth1Value['Name'])){
1252
				$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
1253
			}
1254
		}
1255
1256
		return $this;
1257
    }
1258
}
1259
1260
/**
1261
 * @method string getClusterId()
1262
 * @method $this withClusterId($value)
1263
 */
1264
class DescribeAutoScaleConfig extends Rpc
1265
{
1266
}
1267
1268
/**
1269
 * @method string getClusterId()
1270
 * @method $this withClusterId($value)
1271
 */
1272
class DescribeCluster extends Rpc
1273
{
1274
}
1275
1276
/**
1277
 * @method string getContainerId()
1278
 * @method $this withContainerId($value)
1279
 */
1280
class DescribeContainerApp extends Rpc
1281
{
1282
}
1283
1284
/**
1285
 * @method string getPageNumber()
1286
 * @method $this withPageNumber($value)
1287
 * @method string getPageSize()
1288
 * @method $this withPageSize($value)
1289
 */
1290
class DescribeEstackImage extends Rpc
1291
{
1292
}
1293
1294
/**
1295
 * @method string getClusterId()
1296
 * @method $this withClusterId($value)
1297
 * @method string getAsyncMode()
1298
 * @method $this withAsyncMode($value)
1299
 * @method string getTaskId()
1300
 * @method $this withTaskId($value)
1301
 */
1302
class DescribeGWSClusterPolicy extends Rpc
1303
{
1304
1305
    /** @var string */
1306
    public $method = 'POST';
1307
}
1308
1309
/**
1310
 * @method string getClusterId()
1311
 * @method $this withClusterId($value)
1312
 * @method string getPageNumber()
1313
 * @method $this withPageNumber($value)
1314
 * @method string getPageSize()
1315
 * @method $this withPageSize($value)
1316
 */
1317
class DescribeGWSClusters extends Rpc
1318
{
1319
}
1320
1321
/**
1322
 * @method string getPageNumber()
1323
 * @method $this withPageNumber($value)
1324
 * @method string getPageSize()
1325
 * @method $this withPageSize($value)
1326
 */
1327
class DescribeGWSImages extends Rpc
1328
{
1329
}
1330
1331
/**
1332
 * @method string getClusterId()
1333
 * @method $this withClusterId($value)
1334
 * @method string getPageNumber()
1335
 * @method $this withPageNumber($value)
1336
 * @method string getInstanceId()
1337
 * @method $this withInstanceId($value)
1338
 * @method string getPageSize()
1339
 * @method $this withPageSize($value)
1340
 * @method string getUserUid()
1341
 * @method $this withUserUid($value)
1342
 * @method string getUserName()
1343
 * @method $this withUserName($value)
1344
 */
1345
class DescribeGWSInstances extends Rpc
1346
{
1347
}
1348
1349
/**
1350
 * @method string getClusterId()
1351
 * @method $this withClusterId($value)
1352
 * @method string getRepository()
1353
 * @method $this withRepository($value)
1354
 * @method string getContainerType()
1355
 * @method $this withContainerType($value)
1356
 * @method string getImageTag()
1357
 * @method $this withImageTag($value)
1358
 */
1359
class DescribeImage extends Rpc
1360
{
1361
}
1362
1363
/**
1364
 * @method string getClusterId()
1365
 * @method $this withClusterId($value)
1366
 */
1367
class DescribeImageGatewayConfig extends Rpc
1368
{
1369
}
1370
1371
/**
1372
 * @method string getPeriod()
1373
 * @method $this withPeriod($value)
1374
 * @method string getAmount()
1375
 * @method $this withAmount($value)
1376
 * @method string getImageId()
1377
 * @method $this withImageId($value)
1378
 * @method string getSkuCode()
1379
 * @method $this withSkuCode($value)
1380
 * @method string getPriceUnit()
1381
 * @method $this withPriceUnit($value)
1382
 * @method string getOrderType()
1383
 * @method $this withOrderType($value)
1384
 */
1385
class DescribeImagePrice extends Rpc
1386
{
1387
}
1388
1389
/**
1390
 * @method string getClusterId()
1391
 * @method $this withClusterId($value)
1392
 * @method string getJobId()
1393
 * @method $this withJobId($value)
1394
 */
1395
class DescribeJob extends Rpc
1396
{
1397
}
1398
1399
/**
1400
 * @method string getInstanceId()
1401
 * @method $this withInstanceId($value)
1402
 */
1403
class DescribeNFSClientStatus extends Rpc
1404
{
1405
}
1406
1407
/**
1408
 * @method array getCommodities()
1409
 * @method string getPriceUnit()
1410
 * @method $this withPriceUnit($value)
1411
 * @method string getChargeType()
1412
 * @method $this withChargeType($value)
1413
 * @method string getOrderType()
1414
 * @method $this withOrderType($value)
1415
 */
1416
class DescribePrice extends Rpc
1417
{
1418
1419
    /**
1420
     * @param array $commodities
1421
     *
1422
     * @return $this
1423
     */
1424
	public function withCommodities(array $commodities)
1425
	{
1426
	    $this->data['Commodities'] = $commodities;
1427
		foreach ($commodities as $depth1 => $depth1Value) {
1428
			if(isset($depth1Value['Amount'])){
1429
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.Amount'] = $depth1Value['Amount'];
1430
			}
1431
			if(isset($depth1Value['Period'])){
1432
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
1433
			}
1434
			if(isset($depth1Value['NodeType'])){
1435
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.NodeType'] = $depth1Value['NodeType'];
1436
			}
1437
			foreach ($depth1Value['DataDisks'] as $depth2 => $depth2Value) {
1438
				if(isset($depth2Value['Size'])){
1439
					$this->options['query']['Commodities.' . ($depth1 + 1) . '.DataDisks.' . ($depth2 + 1) . '.size'] = $depth2Value['Size'];
1440
				}
1441
				if(isset($depth2Value['Encrypted'])){
1442
					$this->options['query']['Commodities.' . ($depth1 + 1) . '.DataDisks.' . ($depth2 + 1) . '.encrypted'] = $depth2Value['Encrypted'];
1443
				}
1444
				if(isset($depth2Value['PerformanceLevel'])){
1445
					$this->options['query']['Commodities.' . ($depth1 + 1) . '.DataDisks.' . ($depth2 + 1) . '.performanceLevel'] = $depth2Value['PerformanceLevel'];
1446
				}
1447
				if(isset($depth2Value['Category'])){
1448
					$this->options['query']['Commodities.' . ($depth1 + 1) . '.DataDisks.' . ($depth2 + 1) . '.category'] = $depth2Value['Category'];
1449
				}
1450
				if(isset($depth2Value['DeleteWithInstance'])){
1451
					$this->options['query']['Commodities.' . ($depth1 + 1) . '.DataDisks.' . ($depth2 + 1) . '.deleteWithInstance'] = $depth2Value['DeleteWithInstance'];
1452
				}
1453
			}
1454
			if(isset($depth1Value['SystemDiskCategory'])){
1455
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.SystemDiskCategory'] = $depth1Value['SystemDiskCategory'];
1456
			}
1457
			if(isset($depth1Value['InternetChargeType'])){
1458
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.InternetChargeType'] = $depth1Value['InternetChargeType'];
1459
			}
1460
			if(isset($depth1Value['SystemDiskPerformanceLevel'])){
1461
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.SystemDiskPerformanceLevel'] = $depth1Value['SystemDiskPerformanceLevel'];
1462
			}
1463
			if(isset($depth1Value['SystemDiskSize'])){
1464
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.SystemDiskSize'] = $depth1Value['SystemDiskSize'];
1465
			}
1466
			if(isset($depth1Value['InternetMaxBandWidthOut'])){
1467
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.InternetMaxBandWidthOut'] = $depth1Value['InternetMaxBandWidthOut'];
1468
			}
1469
			if(isset($depth1Value['InstanceType'])){
1470
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
1471
			}
1472
			if(isset($depth1Value['NetworkType'])){
1473
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.NetworkType'] = $depth1Value['NetworkType'];
1474
			}
1475
		}
1476
1477
		return $this;
1478
    }
1479
}
1480
1481
/**
1482
 * @method string getStderrRedirectPath()
1483
 * @method $this withStderrRedirectPath($value)
1484
 * @method string getClockTime()
1485
 * @method $this withClockTime($value)
1486
 * @method string getCommandLine()
1487
 * @method $this withCommandLine($value)
1488
 * @method string getArrayRequest()
1489
 * @method $this withArrayRequest($value)
1490
 * @method string getUnzipCmd()
1491
 * @method $this withUnzipCmd($value)
1492
 * @method string getPackagePath()
1493
 * @method $this withPackagePath($value)
1494
 * @method string getMem()
1495
 * @method $this withMem($value)
1496
 * @method string getStdoutRedirectPath()
1497
 * @method $this withStdoutRedirectPath($value)
1498
 * @method string getVariables()
1499
 * @method $this withVariables($value)
1500
 * @method string getRunasUser()
1501
 * @method $this withRunasUser($value)
1502
 * @method string getReRunable()
1503
 * @method $this withReRunable($value)
1504
 * @method string getThread()
1505
 * @method $this withThread($value)
1506
 * @method string getTemplateId()
1507
 * @method $this withTemplateId($value)
1508
 * @method string getPriority()
1509
 * @method $this withPriority($value)
1510
 * @method string getGpu()
1511
 * @method $this withGpu($value)
1512
 * @method string getWithUnzipCmd()
1513
 * @method $this withWithUnzipCmd($value)
1514
 * @method string getNode()
1515
 * @method $this withNode($value)
1516
 * @method string getTask()
1517
 * @method $this withTask($value)
1518
 * @method string getInputFileUrl()
1519
 * @method $this withInputFileUrl($value)
1520
 * @method string getName()
1521
 * @method $this withName($value)
1522
 * @method string getQueue()
1523
 * @method $this withQueue($value)
1524
 */
1525
class EditJobTemplate extends Rpc
1526
{
1527
}
1528
1529
/**
1530
 * @method string getReportType()
1531
 * @method $this withReportType($value)
1532
 * @method string getEndTime()
1533
 * @method $this withEndTime($value)
1534
 * @method string getFilterValue()
1535
 * @method $this withFilterValue($value)
1536
 * @method string getDim()
1537
 * @method $this withDim($value)
1538
 * @method string getClusterId()
1539
 * @method $this withClusterId($value)
1540
 * @method string getStartTime()
1541
 * @method $this withStartTime($value)
1542
 * @method string getPageNumber()
1543
 * @method $this withPageNumber($value)
1544
 * @method string getJobId()
1545
 * @method $this withJobId($value)
1546
 * @method string getPageSize()
1547
 * @method $this withPageSize($value)
1548
 */
1549
class GetAccountingReport extends Rpc
1550
{
1551
}
1552
1553
/**
1554
 * @method string getClusterId()
1555
 * @method $this withClusterId($value)
1556
 */
1557
class GetAutoScaleConfig extends Rpc
1558
{
1559
}
1560
1561
/**
1562
 * @method string getMetricScope()
1563
 * @method $this withMetricScope($value)
1564
 * @method string getClusterId()
1565
 * @method $this withClusterId($value)
1566
 * @method string getAggregationInterval()
1567
 * @method $this withAggregationInterval($value)
1568
 * @method string getReverse()
1569
 * @method $this withReverse($value)
1570
 * @method string getAggregationType()
1571
 * @method $this withAggregationType($value)
1572
 * @method string getFilter()
1573
 * @method $this withFilter($value)
1574
 * @method string getMetricCategories()
1575
 * @method $this withMetricCategories($value)
1576
 * @method string getFrom()
1577
 * @method $this withFrom($value)
1578
 * @method string getTo()
1579
 * @method $this withTo($value)
1580
 */
1581
class GetCloudMetricLogs extends Rpc
1582
{
1583
}
1584
1585
/**
1586
 * @method string getClusterId()
1587
 * @method $this withClusterId($value)
1588
 * @method string getProfilingId()
1589
 * @method $this withProfilingId($value)
1590
 */
1591
class GetCloudMetricProfiling extends Rpc
1592
{
1593
}
1594
1595
/**
1596
 * @method string getClusterId()
1597
 * @method $this withClusterId($value)
1598
 */
1599
class GetClusterVolumes extends Rpc
1600
{
1601
}
1602
1603
/**
1604
 * @method string getContainType()
1605
 * @method $this withContainType($value)
1606
 * @method string getClusterId()
1607
 * @method $this withClusterId($value)
1608
 * @method string getImageName()
1609
 * @method $this withImageName($value)
1610
 */
1611
class GetCommonImage extends Rpc
1612
{
1613
}
1614
1615
/**
1616
 * @method string getInstanceId()
1617
 * @method $this withInstanceId($value)
1618
 * @method string getAppName()
1619
 * @method $this withAppName($value)
1620
 */
1621
class GetGWSConnectTicket extends Rpc
1622
{
1623
}
1624
1625
/**
1626
 * @method string getClusterId()
1627
 * @method $this withClusterId($value)
1628
 * @method string getNode()
1629
 * @method $this withNode($value)
1630
 */
1631
class GetHybridClusterConfig extends Rpc
1632
{
1633
}
1634
1635
/**
1636
 * @method string getInstanceType()
1637
 * @method $this withInstanceType($value)
1638
 */
1639
class GetIfEcsTypeSupportHtConfig extends Rpc
1640
{
1641
}
1642
1643
/**
1644
 * @method string getClusterId()
1645
 * @method $this withClusterId($value)
1646
 */
1647
class GetPostScripts extends Rpc
1648
{
1649
}
1650
1651
/**
1652
 * @method string getClusterId()
1653
 * @method $this withClusterId($value)
1654
 * @method array getScheduler()
1655
 */
1656
class GetSchedulerInfo extends Rpc
1657
{
1658
1659
    /**
1660
     * @param array $scheduler
1661
     *
1662
     * @return $this
1663
     */
1664
	public function withScheduler(array $scheduler)
1665
	{
1666
	    $this->data['Scheduler'] = $scheduler;
1667
		foreach ($scheduler as $depth1 => $depth1Value) {
1668
			if(isset($depth1Value['SchedName'])){
1669
				$this->options['query']['Scheduler.' . ($depth1 + 1) . '.SchedName'] = $depth1Value['SchedName'];
1670
			}
1671
		}
1672
1673
		return $this;
1674
    }
1675
}
1676
1677
/**
1678
 * @method string getOSSBucket()
1679
 * @method $this withOSSBucket($value)
1680
 * @method string getOSSEndPoint()
1681
 * @method $this withOSSEndPoint($value)
1682
 * @method string getClusterId()
1683
 * @method $this withClusterId($value)
1684
 * @method string getContainerType()
1685
 * @method $this withContainerType($value)
1686
 * @method string getImagePath()
1687
 * @method $this withImagePath($value)
1688
 * @method string getImageName()
1689
 * @method $this withImageName($value)
1690
 */
1691
class GetUserImage extends Rpc
1692
{
1693
}
1694
1695
/**
1696
 * @method string getClusterId()
1697
 * @method $this withClusterId($value)
1698
 */
1699
class GetVisualServiceStatus extends Rpc
1700
{
1701
}
1702
1703
class InitializeEHPC extends Rpc
1704
{
1705
}
1706
1707
/**
1708
 * @method string getClusterId()
1709
 * @method $this withClusterId($value)
1710
 * @method string getContainerType()
1711
 * @method $this withContainerType($value)
1712
 * @method string getImageName()
1713
 * @method $this withImageName($value)
1714
 */
1715
class InspectImage extends Rpc
1716
{
1717
}
1718
1719
/**
1720
 * @method string getClusterId()
1721
 * @method $this withClusterId($value)
1722
 * @method string getApplication()
1723
 * @method $this withApplication($value)
1724
 */
1725
class InstallSoftware extends Rpc
1726
{
1727
}
1728
1729
/**
1730
 * @method array getInstance()
1731
 * @method string getWorkingDir()
1732
 * @method $this withWorkingDir($value)
1733
 * @method string getClusterId()
1734
 * @method $this withClusterId($value)
1735
 * @method string getCommand()
1736
 * @method $this withCommand($value)
1737
 * @method string getTimeout()
1738
 * @method $this withTimeout($value)
1739
 */
1740
class InvokeShellCommand extends Rpc
1741
{
1742
1743
    /**
1744
     * @param array $instance
1745
     *
1746
     * @return $this
1747
     */
1748
	public function withInstance(array $instance)
1749
	{
1750
	    $this->data['Instance'] = $instance;
1751
		foreach ($instance as $depth1 => $depth1Value) {
1752
			if(isset($depth1Value['Id'])){
1753
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
1754
			}
1755
		}
1756
1757
		return $this;
1758
    }
1759
}
1760
1761
/**
1762
 * @method string getSpotStrategy()
1763
 * @method $this withSpotStrategy($value)
1764
 * @method string getZoneId()
1765
 * @method $this withZoneId($value)
1766
 * @method string getShowSoldOut()
1767
 * @method $this withShowSoldOut($value)
1768
 * @method string getInstanceChargeType()
1769
 * @method $this withInstanceChargeType($value)
1770
 */
1771
class ListAvailableEcsTypes extends Rpc
1772
{
1773
}
1774
1775
/**
1776
 * @method string getClusterId()
1777
 * @method $this withClusterId($value)
1778
 * @method string getPageNumber()
1779
 * @method $this withPageNumber($value)
1780
 * @method string getPageSize()
1781
 * @method $this withPageSize($value)
1782
 */
1783
class ListCloudMetricProfilings extends Rpc
1784
{
1785
}
1786
1787
/**
1788
 * @method string getClusterId()
1789
 * @method $this withClusterId($value)
1790
 * @method string getPageNumber()
1791
 * @method $this withPageNumber($value)
1792
 * @method string getPageSize()
1793
 * @method $this withPageSize($value)
1794
 */
1795
class ListClusterLogs extends Rpc
1796
{
1797
}
1798
1799
/**
1800
 * @method string getPageNumber()
1801
 * @method $this withPageNumber($value)
1802
 * @method string getPageSize()
1803
 * @method $this withPageSize($value)
1804
 */
1805
class ListClusters extends Rpc
1806
{
1807
}
1808
1809
/**
1810
 * @method string getPageNumber()
1811
 * @method $this withPageNumber($value)
1812
 * @method string getPageSize()
1813
 * @method $this withPageSize($value)
1814
 */
1815
class ListClustersMeta extends Rpc
1816
{
1817
}
1818
1819
/**
1820
 * @method string getClusterId()
1821
 * @method $this withClusterId($value)
1822
 * @method string getCommandId()
1823
 * @method $this withCommandId($value)
1824
 * @method string getPageNumber()
1825
 * @method $this withPageNumber($value)
1826
 * @method string getPageSize()
1827
 * @method $this withPageSize($value)
1828
 */
1829
class ListCommands extends Rpc
1830
{
1831
}
1832
1833
/**
1834
 * @method string getClusterId()
1835
 * @method $this withClusterId($value)
1836
 * @method string getBaseOsTag()
1837
 * @method $this withBaseOsTag($value)
1838
 * @method string getInstanceType()
1839
 * @method $this withInstanceType($value)
1840
 */
1841
class ListCommunityImages extends Rpc
1842
{
1843
}
1844
1845
/**
1846
 * @method string getPageNumber()
1847
 * @method $this withPageNumber($value)
1848
 * @method string getPageSize()
1849
 * @method $this withPageSize($value)
1850
 */
1851
class ListContainerApps extends Rpc
1852
{
1853
}
1854
1855
/**
1856
 * @method string getClusterId()
1857
 * @method $this withClusterId($value)
1858
 * @method string getPageNumber()
1859
 * @method $this withPageNumber($value)
1860
 * @method string getContainerType()
1861
 * @method $this withContainerType($value)
1862
 * @method string getPageSize()
1863
 * @method $this withPageSize($value)
1864
 */
1865
class ListContainerImages extends Rpc
1866
{
1867
}
1868
1869
/**
1870
 * @method string getPageNumber()
1871
 * @method $this withPageNumber($value)
1872
 * @method string getPageSize()
1873
 * @method $this withPageSize($value)
1874
 * @method string getFileSystemId()
1875
 * @method $this withFileSystemId($value)
1876
 */
1877
class ListCpfsFileSystems extends Rpc
1878
{
1879
}
1880
1881
class ListCurrentClientVersion extends Rpc
1882
{
1883
}
1884
1885
/**
1886
 * @method string getClusterId()
1887
 * @method $this withClusterId($value)
1888
 * @method string getImageOwnerAlias()
1889
 * @method $this withImageOwnerAlias($value)
1890
 * @method string getBaseOsTag()
1891
 * @method $this withBaseOsTag($value)
1892
 * @method string getInstanceType()
1893
 * @method $this withInstanceType($value)
1894
 */
1895
class ListCustomImages extends Rpc
1896
{
1897
}
1898
1899
/**
1900
 * @method string getPageNumber()
1901
 * @method $this withPageNumber($value)
1902
 * @method string getPageSize()
1903
 * @method $this withPageSize($value)
1904
 */
1905
class ListFileSystemWithMountTargets extends Rpc
1906
{
1907
}
1908
1909
/**
1910
 * @method string getBaseOsTag()
1911
 * @method $this withBaseOsTag($value)
1912
 * @method string getInstanceType()
1913
 * @method $this withInstanceType($value)
1914
 */
1915
class ListImages extends Rpc
1916
{
1917
}
1918
1919
/**
1920
 * @method string getClusterId()
1921
 * @method $this withClusterId($value)
1922
 */
1923
class ListInstalledSoftware extends Rpc
1924
{
1925
}
1926
1927
/**
1928
 * @method array getInstance()
1929
 * @method string getClusterId()
1930
 * @method $this withClusterId($value)
1931
 * @method string getCommandId()
1932
 * @method $this withCommandId($value)
1933
 * @method string getPageNumber()
1934
 * @method $this withPageNumber($value)
1935
 * @method string getInvokeRecordStatus()
1936
 * @method $this withInvokeRecordStatus($value)
1937
 * @method string getPageSize()
1938
 * @method $this withPageSize($value)
1939
 */
1940
class ListInvocationResults extends Rpc
1941
{
1942
1943
    /**
1944
     * @param array $instance
1945
     *
1946
     * @return $this
1947
     */
1948
	public function withInstance(array $instance)
1949
	{
1950
	    $this->data['Instance'] = $instance;
1951
		foreach ($instance as $depth1 => $depth1Value) {
1952
			if(isset($depth1Value['Id'])){
1953
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
1954
			}
1955
		}
1956
1957
		return $this;
1958
    }
1959
}
1960
1961
/**
1962
 * @method string getClusterId()
1963
 * @method $this withClusterId($value)
1964
 * @method string getCommandId()
1965
 * @method $this withCommandId($value)
1966
 */
1967
class ListInvocationStatus extends Rpc
1968
{
1969
}
1970
1971
/**
1972
 * @method string getOwner()
1973
 * @method $this withOwner($value)
1974
 * @method string getClusterId()
1975
 * @method $this withClusterId($value)
1976
 * @method string getRerunable()
1977
 * @method $this withRerunable($value)
1978
 * @method string getPageNumber()
1979
 * @method $this withPageNumber($value)
1980
 * @method string getPageSize()
1981
 * @method $this withPageSize($value)
1982
 * @method string getState()
1983
 * @method $this withState($value)
1984
 */
1985
class ListJobs extends Rpc
1986
{
1987
}
1988
1989
/**
1990
 * @method string getJobStatus()
1991
 * @method $this withJobStatus($value)
1992
 * @method string getPageNumber()
1993
 * @method $this withPageNumber($value)
1994
 * @method string getPageSize()
1995
 * @method $this withPageSize($value)
1996
 * @method string getExecuteOrder()
1997
 * @method $this withExecuteOrder($value)
1998
 * @method string getJobName()
1999
 * @method $this withJobName($value)
2000
 * @method string getSubmitOrder()
2001
 * @method $this withSubmitOrder($value)
2002
 * @method string getPendOrder()
2003
 * @method $this withPendOrder($value)
2004
 * @method string getClusterId()
2005
 * @method $this withClusterId($value)
2006
 * @method string getUsers()
2007
 * @method $this withUsers($value)
2008
 * @method string getCreateTimeEnd()
2009
 * @method $this withCreateTimeEnd($value)
2010
 * @method string getAsync()
2011
 * @method $this withAsync($value)
2012
 * @method string getNodes()
2013
 * @method $this withNodes($value)
2014
 * @method string getQueues()
2015
 * @method $this withQueues($value)
2016
 * @method string getCreateTimeStart()
2017
 * @method $this withCreateTimeStart($value)
2018
 */
2019
class ListJobsWithFilters extends Rpc
2020
{
2021
}
2022
2023
/**
2024
 * @method string getPageNumber()
2025
 * @method $this withPageNumber($value)
2026
 * @method string getName()
2027
 * @method $this withName($value)
2028
 * @method string getPageSize()
2029
 * @method $this withPageSize($value)
2030
 */
2031
class ListJobTemplates extends Rpc
2032
{
2033
}
2034
2035
/**
2036
 * @method string getRole()
2037
 * @method $this withRole($value)
2038
 * @method string getPageNumber()
2039
 * @method $this withPageNumber($value)
2040
 * @method string getHostName()
2041
 * @method $this withHostName($value)
2042
 * @method string getPageSize()
2043
 * @method $this withPageSize($value)
2044
 * @method string getHostNamePrefix()
2045
 * @method $this withHostNamePrefix($value)
2046
 * @method string getClusterId()
2047
 * @method $this withClusterId($value)
2048
 * @method string getHostNameSuffix()
2049
 * @method $this withHostNameSuffix($value)
2050
 * @method string getFilter()
2051
 * @method $this withFilter($value)
2052
 * @method string getPrivateIpAddress()
2053
 * @method $this withPrivateIpAddress($value)
2054
 * @method string getSequence()
2055
 * @method $this withSequence($value)
2056
 * @method string getSortBy()
2057
 * @method $this withSortBy($value)
2058
 */
2059
class ListNodes extends Rpc
2060
{
2061
}
2062
2063
/**
2064
 * @method string getQueueName()
2065
 * @method $this withQueueName($value)
2066
 * @method string getClusterId()
2067
 * @method $this withClusterId($value)
2068
 * @method string getPageNumber()
2069
 * @method $this withPageNumber($value)
2070
 * @method string getAsync()
2071
 * @method $this withAsync($value)
2072
 * @method string getPageSize()
2073
 * @method $this withPageSize($value)
2074
 */
2075
class ListNodesByQueue extends Rpc
2076
{
2077
}
2078
2079
/**
2080
 * @method string getRole()
2081
 * @method $this withRole($value)
2082
 * @method string getClusterId()
2083
 * @method $this withClusterId($value)
2084
 * @method string getSequence()
2085
 * @method $this withSequence($value)
2086
 * @method string getHostName()
2087
 * @method $this withHostName($value)
2088
 * @method string getOnlyDetached()
2089
 * @method $this withOnlyDetached($value)
2090
 */
2091
class ListNodesNoPaging extends Rpc
2092
{
2093
}
2094
2095
/**
2096
 * @method string getSpotStrategy()
2097
 * @method $this withSpotStrategy($value)
2098
 * @method string getZoneId()
2099
 * @method $this withZoneId($value)
2100
 * @method string getInstanceChargeType()
2101
 * @method $this withInstanceChargeType($value)
2102
 */
2103
class ListPreferredEcsTypes extends Rpc
2104
{
2105
}
2106
2107
/**
2108
 * @method string getClusterId()
2109
 * @method $this withClusterId($value)
2110
 * @method string getAsync()
2111
 * @method $this withAsync($value)
2112
 */
2113
class ListQueues extends Rpc
2114
{
2115
}
2116
2117
class ListRegions extends Rpc
2118
{
2119
}
2120
2121
/**
2122
 * @method string getClusterId()
2123
 * @method $this withClusterId($value)
2124
 */
2125
class ListSecurityGroups extends Rpc
2126
{
2127
}
2128
2129
/**
2130
 * @method string getOsTag()
2131
 * @method $this withOsTag($value)
2132
 * @method string getEhpcVersion()
2133
 * @method $this withEhpcVersion($value)
2134
 */
2135
class ListSoftwares extends Rpc
2136
{
2137
}
2138
2139
/**
2140
 * @method array getResourceId()
2141
 * @method string getResourceType()
2142
 * @method $this withResourceType($value)
2143
 * @method string getNextToken()
2144
 * @method $this withNextToken($value)
2145
 * @method array getTag()
2146
 */
2147
class ListTagResources extends Rpc
2148
{
2149
2150
    /** @var string */
2151
    public $method = 'POST';
2152
2153
    /**
2154
     * @param array $resourceId
2155
     *
2156
     * @return $this
2157
     */
2158
	public function withResourceId(array $resourceId)
2159
	{
2160
	    $this->data['ResourceId'] = $resourceId;
2161
		foreach ($resourceId as $i => $iValue) {
2162
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
2163
		}
2164
2165
		return $this;
2166
    }
2167
2168
    /**
2169
     * @param array $tag
2170
     *
2171
     * @return $this
2172
     */
2173
	public function withTag(array $tag)
2174
	{
2175
	    $this->data['Tag'] = $tag;
2176
		foreach ($tag as $depth1 => $depth1Value) {
2177
			if(isset($depth1Value['Value'])){
2178
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2179
			}
2180
			if(isset($depth1Value['Key'])){
2181
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2182
			}
2183
		}
2184
2185
		return $this;
2186
    }
2187
}
2188
2189
/**
2190
 * @method string getClusterId()
2191
 * @method $this withClusterId($value)
2192
 * @method string getPageNumber()
2193
 * @method $this withPageNumber($value)
2194
 * @method string getArchived()
2195
 * @method $this withArchived($value)
2196
 * @method string getPageSize()
2197
 * @method $this withPageSize($value)
2198
 * @method string getTaskId()
2199
 * @method $this withTaskId($value)
2200
 */
2201
class ListTasks extends Rpc
2202
{
2203
}
2204
2205
/**
2206
 * @method string getClusterId()
2207
 * @method $this withClusterId($value)
2208
 */
2209
class ListUpgradeClients extends Rpc
2210
{
2211
}
2212
2213
/**
2214
 * @method string getClusterId()
2215
 * @method $this withClusterId($value)
2216
 * @method string getPageNumber()
2217
 * @method $this withPageNumber($value)
2218
 * @method string getPageSize()
2219
 * @method $this withPageSize($value)
2220
 */
2221
class ListUsers extends Rpc
2222
{
2223
}
2224
2225
/**
2226
 * @method string getAsyncId()
2227
 * @method $this withAsyncId($value)
2228
 * @method string getClusterId()
2229
 * @method $this withClusterId($value)
2230
 * @method string getPageNumber()
2231
 * @method $this withPageNumber($value)
2232
 * @method string getPageSize()
2233
 * @method $this withPageSize($value)
2234
 */
2235
class ListUsersAsync extends Rpc
2236
{
2237
}
2238
2239
/**
2240
 * @method string getPageNumber()
2241
 * @method $this withPageNumber($value)
2242
 * @method string getPageSize()
2243
 * @method $this withPageSize($value)
2244
 */
2245
class ListVolumes extends Rpc
2246
{
2247
}
2248
2249
/**
2250
 * @method string getImageId()
2251
 * @method $this withImageId($value)
2252
 * @method string getDescription()
2253
 * @method $this withDescription($value)
2254
 * @method string getClusterId()
2255
 * @method $this withClusterId($value)
2256
 * @method string getImageOwnerAlias()
2257
 * @method $this withImageOwnerAlias($value)
2258
 * @method string getName()
2259
 * @method $this withName($value)
2260
 */
2261
class ModifyClusterAttributes extends Rpc
2262
{
2263
}
2264
2265
/**
2266
 * @method string getDescription()
2267
 * @method $this withDescription($value)
2268
 * @method string getContainerId()
2269
 * @method $this withContainerId($value)
2270
 */
2271
class ModifyContainerAppAttributes extends Rpc
2272
{
2273
}
2274
2275
/**
2276
 * @method array getRepo()
2277
 * @method string getDBServerInfo()
2278
 * @method $this withDBServerInfo($value)
2279
 * @method string getClusterId()
2280
 * @method $this withClusterId($value)
2281
 * @method string getDefaultRepoLocation()
2282
 * @method $this withDefaultRepoLocation($value)
2283
 * @method string getDBPassword()
2284
 * @method $this withDBPassword($value)
2285
 * @method string getDBType()
2286
 * @method $this withDBType($value)
2287
 * @method string getDBUsername()
2288
 * @method $this withDBUsername($value)
2289
 * @method string getPullUpdateTimeout()
2290
 * @method $this withPullUpdateTimeout($value)
2291
 * @method string getImageExpirationTimeout()
2292
 * @method $this withImageExpirationTimeout($value)
2293
 */
2294
class ModifyImageGatewayConfig extends Rpc
2295
{
2296
2297
    /**
2298
     * @param array $repo
2299
     *
2300
     * @return $this
2301
     */
2302
	public function withRepo(array $repo)
2303
	{
2304
	    $this->data['Repo'] = $repo;
2305
		foreach ($repo as $depth1 => $depth1Value) {
2306
			if(isset($depth1Value['Auth'])){
2307
				$this->options['query']['Repo.' . ($depth1 + 1) . '.Auth'] = $depth1Value['Auth'];
2308
			}
2309
			if(isset($depth1Value['Location'])){
2310
				$this->options['query']['Repo.' . ($depth1 + 1) . '.Location'] = $depth1Value['Location'];
2311
			}
2312
			if(isset($depth1Value['URL'])){
2313
				$this->options['query']['Repo.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
2314
			}
2315
		}
2316
2317
		return $this;
2318
    }
2319
}
2320
2321
/**
2322
 * @method string getClusterId()
2323
 * @method $this withClusterId($value)
2324
 * @method array getUser()
2325
 */
2326
class ModifyUserGroups extends Rpc
2327
{
2328
2329
    /**
2330
     * @param array $user
2331
     *
2332
     * @return $this
2333
     */
2334
	public function withUser(array $user)
2335
	{
2336
	    $this->data['User'] = $user;
2337
		foreach ($user as $depth1 => $depth1Value) {
2338
			if(isset($depth1Value['Name'])){
2339
				$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
2340
			}
2341
			if(isset($depth1Value['Group'])){
2342
				$this->options['query']['User.' . ($depth1 + 1) . '.Group'] = $depth1Value['Group'];
2343
			}
2344
		}
2345
2346
		return $this;
2347
    }
2348
}
2349
2350
/**
2351
 * @method string getClusterId()
2352
 * @method $this withClusterId($value)
2353
 * @method array getUser()
2354
 */
2355
class ModifyUserPasswords extends Rpc
2356
{
2357
2358
    /**
2359
     * @param array $user
2360
     *
2361
     * @return $this
2362
     */
2363
	public function withUser(array $user)
2364
	{
2365
	    $this->data['User'] = $user;
2366
		foreach ($user as $depth1 => $depth1Value) {
2367
			if(isset($depth1Value['Password'])){
2368
				$this->options['query']['User.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
2369
			}
2370
			if(isset($depth1Value['Name'])){
2371
				$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
2372
			}
2373
		}
2374
2375
		return $this;
2376
    }
2377
}
2378
2379
/**
2380
 * @method string getRunasUserPassword()
2381
 * @method $this withRunasUserPassword($value)
2382
 * @method string getRunasUser()
2383
 * @method $this withRunasUser($value)
2384
 * @method string getClusterId()
2385
 * @method $this withClusterId($value)
2386
 * @method string getPasswd()
2387
 * @method $this withPasswd($value)
2388
 */
2389
class ModifyVisualServicePasswd extends Rpc
2390
{
2391
}
2392
2393
/**
2394
 * @method string getMountDir()
2395
 * @method $this withMountDir($value)
2396
 * @method string getInstanceId()
2397
 * @method $this withInstanceId($value)
2398
 * @method string getRemoteDir()
2399
 * @method $this withRemoteDir($value)
2400
 * @method string getNfsDir()
2401
 * @method $this withNfsDir($value)
2402
 * @method string getProtocolType()
2403
 * @method $this withProtocolType($value)
2404
 */
2405
class MountNFS extends Rpc
2406
{
2407
}
2408
2409
/**
2410
 * @method string getClusterId()
2411
 * @method $this withClusterId($value)
2412
 * @method string getRepository()
2413
 * @method $this withRepository($value)
2414
 * @method string getContainerType()
2415
 * @method $this withContainerType($value)
2416
 * @method string getImageTag()
2417
 * @method $this withImageTag($value)
2418
 */
2419
class PullImage extends Rpc
2420
{
2421
}
2422
2423
class QueryServicePackAndPrice extends Rpc
2424
{
2425
}
2426
2427
/**
2428
 * @method string getImageId()
2429
 * @method $this withImageId($value)
2430
 * @method string getOsTag()
2431
 * @method $this withOsTag($value)
2432
 * @method string getClientVersion()
2433
 * @method $this withClientVersion($value)
2434
 * @method string getAccountType()
2435
 * @method $this withAccountType($value)
2436
 * @method string getClusterId()
2437
 * @method $this withClusterId($value)
2438
 * @method string getImageOwnerAlias()
2439
 * @method $this withImageOwnerAlias($value)
2440
 * @method string getSchedulerType()
2441
 * @method $this withSchedulerType($value)
2442
 */
2443
class RecoverCluster extends Rpc
2444
{
2445
}
2446
2447
/**
2448
 * @method string getJobs()
2449
 * @method $this withJobs($value)
2450
 * @method string getClusterId()
2451
 * @method $this withClusterId($value)
2452
 */
2453
class RerunJobs extends Rpc
2454
{
2455
}
2456
2457
/**
2458
 * @method array getInstance()
2459
 * @method string getClusterId()
2460
 * @method $this withClusterId($value)
2461
 */
2462
class ResetNodes extends Rpc
2463
{
2464
2465
    /**
2466
     * @param array $instance
2467
     *
2468
     * @return $this
2469
     */
2470
	public function withInstance(array $instance)
2471
	{
2472
	    $this->data['Instance'] = $instance;
2473
		foreach ($instance as $depth1 => $depth1Value) {
2474
			if(isset($depth1Value['Id'])){
2475
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
2476
			}
2477
		}
2478
2479
		return $this;
2480
    }
2481
}
2482
2483
/**
2484
 * @method string getFreq()
2485
 * @method $this withFreq($value)
2486
 * @method string getClusterId()
2487
 * @method $this withClusterId($value)
2488
 * @method string getDuration()
2489
 * @method $this withDuration($value)
2490
 * @method string getHostName()
2491
 * @method $this withHostName($value)
2492
 * @method string getProcessId()
2493
 * @method $this withProcessId($value)
2494
 */
2495
class RunCloudMetricProfiling extends Rpc
2496
{
2497
}
2498
2499
/**
2500
 * @method string getImageId()
2501
 * @method $this withImageId($value)
2502
 * @method string getSpotPriceLimit()
2503
 * @method $this withSpotPriceLimit($value)
2504
 * @method string getExcludeNodes()
2505
 * @method $this withExcludeNodes($value)
2506
 * @method string getExtraNodesGrowRatio()
2507
 * @method $this withExtraNodesGrowRatio($value)
2508
 * @method string getShrinkIdleTimes()
2509
 * @method $this withShrinkIdleTimes($value)
2510
 * @method string getGrowTimeoutInMinutes()
2511
 * @method $this withGrowTimeoutInMinutes($value)
2512
 * @method string getClusterId()
2513
 * @method $this withClusterId($value)
2514
 * @method string getEnableAutoGrow()
2515
 * @method $this withEnableAutoGrow($value)
2516
 * @method string getEnableAutoShrink()
2517
 * @method $this withEnableAutoShrink($value)
2518
 * @method string getSpotStrategy()
2519
 * @method $this withSpotStrategy($value)
2520
 * @method string getMaxNodesInCluster()
2521
 * @method $this withMaxNodesInCluster($value)
2522
 * @method string getShrinkIntervalInMinutes()
2523
 * @method $this withShrinkIntervalInMinutes($value)
2524
 * @method array getQueues()
2525
 * @method string getGrowIntervalInMinutes()
2526
 * @method $this withGrowIntervalInMinutes($value)
2527
 * @method string getGrowRatio()
2528
 * @method $this withGrowRatio($value)
2529
 */
2530
class SetAutoScaleConfig extends Rpc
2531
{
2532
2533
    /**
2534
     * @param array $queues
2535
     *
2536
     * @return $this
2537
     */
2538
	public function withQueues(array $queues)
2539
	{
2540
	    $this->data['Queues'] = $queues;
2541
		foreach ($queues as $depth1 => $depth1Value) {
2542
			if(isset($depth1Value['QueueName'])){
2543
				$this->options['query']['Queues.' . ($depth1 + 1) . '.QueueName'] = $depth1Value['QueueName'];
2544
			}
2545
			if(isset($depth1Value['SystemDiskLevel'])){
2546
				$this->options['query']['Queues.' . ($depth1 + 1) . '.SystemDiskLevel'] = $depth1Value['SystemDiskLevel'];
2547
			}
2548
			foreach ($depth1Value['InstanceTypes'] as $depth2 => $depth2Value) {
2549
				if(isset($depth2Value['VSwitchId'])){
2550
					$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.VSwitchId'] = $depth2Value['VSwitchId'];
2551
				}
2552
				if(isset($depth2Value['SpotStrategy'])){
2553
					$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.SpotStrategy'] = $depth2Value['SpotStrategy'];
2554
				}
2555
				if(isset($depth2Value['ZoneId'])){
2556
					$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.ZoneId'] = $depth2Value['ZoneId'];
2557
				}
2558
				if(isset($depth2Value['InstanceType'])){
2559
					$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.InstanceType'] = $depth2Value['InstanceType'];
2560
				}
2561
				if(isset($depth2Value['SpotPriceLimit'])){
2562
					$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.SpotPriceLimit'] = $depth2Value['SpotPriceLimit'];
2563
				}
2564
			}
2565
			if(isset($depth1Value['EnableAutoGrow'])){
2566
				$this->options['query']['Queues.' . ($depth1 + 1) . '.EnableAutoGrow'] = $depth1Value['EnableAutoGrow'];
2567
			}
2568
			if(isset($depth1Value['HostNameSuffix'])){
2569
				$this->options['query']['Queues.' . ($depth1 + 1) . '.HostNameSuffix'] = $depth1Value['HostNameSuffix'];
2570
			}
2571
			if(isset($depth1Value['SpotPriceLimit'])){
2572
				$this->options['query']['Queues.' . ($depth1 + 1) . '.SpotPriceLimit'] = $depth1Value['SpotPriceLimit'];
2573
			}
2574
			if(isset($depth1Value['EnableAutoShrink'])){
2575
				$this->options['query']['Queues.' . ($depth1 + 1) . '.EnableAutoShrink'] = $depth1Value['EnableAutoShrink'];
2576
			}
2577
			if(isset($depth1Value['SpotStrategy'])){
2578
				$this->options['query']['Queues.' . ($depth1 + 1) . '.SpotStrategy'] = $depth1Value['SpotStrategy'];
2579
			}
2580
			foreach ($depth1Value['DataDisks'] as $depth2 => $depth2Value) {
2581
				if(isset($depth2Value['DataDiskDeleteWithInstance'])){
2582
					$this->options['query']['Queues.' . ($depth1 + 1) . '.DataDisks.' . ($depth2 + 1) . '.DataDiskDeleteWithInstance'] = $depth2Value['DataDiskDeleteWithInstance'];
2583
				}
2584
				if(isset($depth2Value['DataDiskEncrypted'])){
2585
					$this->options['query']['Queues.' . ($depth1 + 1) . '.DataDisks.' . ($depth2 + 1) . '.DataDiskEncrypted'] = $depth2Value['DataDiskEncrypted'];
2586
				}
2587
				if(isset($depth2Value['DataDiskKMSKeyId'])){
2588
					$this->options['query']['Queues.' . ($depth1 + 1) . '.DataDisks.' . ($depth2 + 1) . '.DataDiskKMSKeyId'] = $depth2Value['DataDiskKMSKeyId'];
2589
				}
2590
				if(isset($depth2Value['DataDiskSize'])){
2591
					$this->options['query']['Queues.' . ($depth1 + 1) . '.DataDisks.' . ($depth2 + 1) . '.DataDiskSize'] = $depth2Value['DataDiskSize'];
2592
				}
2593
				if(isset($depth2Value['DataDiskCategory'])){
2594
					$this->options['query']['Queues.' . ($depth1 + 1) . '.DataDisks.' . ($depth2 + 1) . '.DataDiskCategory'] = $depth2Value['DataDiskCategory'];
2595
				}
2596
				if(isset($depth2Value['DataDiskPerformanceLevel'])){
2597
					$this->options['query']['Queues.' . ($depth1 + 1) . '.DataDisks.' . ($depth2 + 1) . '.DataDiskPerformanceLevel'] = $depth2Value['DataDiskPerformanceLevel'];
2598
				}
2599
			}
2600
			if(isset($depth1Value['MinNodesInQueue'])){
2601
				$this->options['query']['Queues.' . ($depth1 + 1) . '.MinNodesInQueue'] = $depth1Value['MinNodesInQueue'];
2602
			}
2603
			if(isset($depth1Value['MaxNodesPerCycle'])){
2604
				$this->options['query']['Queues.' . ($depth1 + 1) . '.MaxNodesPerCycle'] = $depth1Value['MaxNodesPerCycle'];
2605
			}
2606
			if(isset($depth1Value['SystemDiskCategory'])){
2607
				$this->options['query']['Queues.' . ($depth1 + 1) . '.SystemDiskCategory'] = $depth1Value['SystemDiskCategory'];
2608
			}
2609
			if(isset($depth1Value['MaxNodesInQueue'])){
2610
				$this->options['query']['Queues.' . ($depth1 + 1) . '.MaxNodesInQueue'] = $depth1Value['MaxNodesInQueue'];
2611
			}
2612
			if(isset($depth1Value['SystemDiskSize'])){
2613
				$this->options['query']['Queues.' . ($depth1 + 1) . '.SystemDiskSize'] = $depth1Value['SystemDiskSize'];
2614
			}
2615
			if(isset($depth1Value['QueueImageId'])){
2616
				$this->options['query']['Queues.' . ($depth1 + 1) . '.QueueImageId'] = $depth1Value['QueueImageId'];
2617
			}
2618
			if(isset($depth1Value['InstanceType'])){
2619
				$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
2620
			}
2621
			if(isset($depth1Value['HostNamePrefix'])){
2622
				$this->options['query']['Queues.' . ($depth1 + 1) . '.HostNamePrefix'] = $depth1Value['HostNamePrefix'];
2623
			}
2624
			if(isset($depth1Value['MinNodesPerCycle'])){
2625
				$this->options['query']['Queues.' . ($depth1 + 1) . '.MinNodesPerCycle'] = $depth1Value['MinNodesPerCycle'];
2626
			}
2627
		}
2628
2629
		return $this;
2630
    }
2631
}
2632
2633
/**
2634
 * @method string getWatermark()
2635
 * @method $this withWatermark($value)
2636
 * @method string getLocalDrive()
2637
 * @method $this withLocalDrive($value)
2638
 * @method string getClusterId()
2639
 * @method $this withClusterId($value)
2640
 * @method string getClipboard()
2641
 * @method $this withClipboard($value)
2642
 * @method string getUsbRedirect()
2643
 * @method $this withUsbRedirect($value)
2644
 * @method string getAsyncMode()
2645
 * @method $this withAsyncMode($value)
2646
 * @method string getUdpPort()
2647
 * @method $this withUdpPort($value)
2648
 */
2649
class SetGWSClusterPolicy extends Rpc
2650
{
2651
2652
    /** @var string */
2653
    public $method = 'POST';
2654
}
2655
2656
/**
2657
 * @method string getInstanceId()
2658
 * @method $this withInstanceId($value)
2659
 * @method string getName()
2660
 * @method $this withName($value)
2661
 */
2662
class SetGWSInstanceName extends Rpc
2663
{
2664
}
2665
2666
/**
2667
 * @method string getInstanceId()
2668
 * @method $this withInstanceId($value)
2669
 * @method string getUserUid()
2670
 * @method $this withUserUid($value)
2671
 * @method string getUserName()
2672
 * @method $this withUserName($value)
2673
 */
2674
class SetGWSInstanceUser extends Rpc
2675
{
2676
}
2677
2678
/**
2679
 * @method array getPostInstallScripts()
2680
 * @method string getClusterId()
2681
 * @method $this withClusterId($value)
2682
 */
2683
class SetPostScripts extends Rpc
2684
{
2685
2686
    /**
2687
     * @param array $postInstallScripts
2688
     *
2689
     * @return $this
2690
     */
2691
	public function withPostInstallScripts(array $postInstallScripts)
2692
	{
2693
	    $this->data['PostInstallScripts'] = $postInstallScripts;
2694
		foreach ($postInstallScripts as $depth1 => $depth1Value) {
2695
			if(isset($depth1Value['Args'])){
2696
				$this->options['query']['PostInstallScripts.' . ($depth1 + 1) . '.Args'] = $depth1Value['Args'];
2697
			}
2698
			if(isset($depth1Value['Url'])){
2699
				$this->options['query']['PostInstallScripts.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
2700
			}
2701
		}
2702
2703
		return $this;
2704
    }
2705
}
2706
2707
/**
2708
 * @method string getQueueName()
2709
 * @method $this withQueueName($value)
2710
 * @method string getClusterId()
2711
 * @method $this withClusterId($value)
2712
 * @method array getNode()
2713
 */
2714
class SetQueue extends Rpc
2715
{
2716
2717
    /**
2718
     * @param array $node
2719
     *
2720
     * @return $this
2721
     */
2722
	public function withNode(array $node)
2723
	{
2724
	    $this->data['Node'] = $node;
2725
		foreach ($node as $depth1 => $depth1Value) {
2726
			if(isset($depth1Value['Name'])){
2727
				$this->options['query']['Node.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
2728
			}
2729
		}
2730
2731
		return $this;
2732
    }
2733
}
2734
2735
/**
2736
 * @method array getSlurmInfo()
2737
 * @method string getClusterId()
2738
 * @method $this withClusterId($value)
2739
 * @method array getScheduler()
2740
 * @method array getPbsInfo()
2741
 */
2742
class SetSchedulerInfo extends Rpc
2743
{
2744
2745
    /**
2746
     * @param array $slurmInfo
2747
     *
2748
     * @return $this
2749
     */
2750
	public function withSlurmInfo(array $slurmInfo)
2751
	{
2752
	    $this->data['SlurmInfo'] = $slurmInfo;
2753
		foreach ($slurmInfo as $depth1 => $depth1Value) {
2754
			if(isset($depth1Value['SchedInterval'])){
2755
				$this->options['query']['SlurmInfo.' . ($depth1 + 1) . '.SchedInterval'] = $depth1Value['SchedInterval'];
2756
			}
2757
			if(isset($depth1Value['BackfillInterval'])){
2758
				$this->options['query']['SlurmInfo.' . ($depth1 + 1) . '.BackfillInterval'] = $depth1Value['BackfillInterval'];
2759
			}
2760
		}
2761
2762
		return $this;
2763
    }
2764
2765
    /**
2766
     * @param array $scheduler
2767
     *
2768
     * @return $this
2769
     */
2770
	public function withScheduler(array $scheduler)
2771
	{
2772
	    $this->data['Scheduler'] = $scheduler;
2773
		foreach ($scheduler as $depth1 => $depth1Value) {
2774
			if(isset($depth1Value['SchedName'])){
2775
				$this->options['query']['Scheduler.' . ($depth1 + 1) . '.SchedName'] = $depth1Value['SchedName'];
2776
			}
2777
		}
2778
2779
		return $this;
2780
    }
2781
2782
    /**
2783
     * @param array $pbsInfo
2784
     *
2785
     * @return $this
2786
     */
2787
	public function withPbsInfo(array $pbsInfo)
2788
	{
2789
	    $this->data['PbsInfo'] = $pbsInfo;
2790
		foreach ($pbsInfo as $depth1 => $depth1Value) {
2791
			if(isset($depth1Value['SchedInterval'])){
2792
				$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.SchedInterval'] = $depth1Value['SchedInterval'];
2793
			}
2794
			if(isset($depth1Value['SchedMaxJobs'])){
2795
				$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.SchedMaxJobs'] = $depth1Value['SchedMaxJobs'];
2796
			}
2797
			foreach ($depth1Value['AclLimit'] as $depth2 => $depth2Value) {
2798
				if(isset($depth2Value['AclUsers'])){
2799
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.AclLimit.' . ($depth2 + 1) . '.AclUsers'] = $depth2Value['AclUsers'];
2800
				}
2801
				if(isset($depth2Value['Queue'])){
2802
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.AclLimit.' . ($depth2 + 1) . '.Queue'] = $depth2Value['Queue'];
2803
				}
2804
			}
2805
			foreach ($depth1Value['ResourceLimit'] as $depth2 => $depth2Value) {
2806
				if(isset($depth2Value['MaxJobs'])){
2807
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.MaxJobs'] = $depth2Value['MaxJobs'];
2808
				}
2809
				if(isset($depth2Value['Nodes'])){
2810
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.Nodes'] = $depth2Value['Nodes'];
2811
				}
2812
				if(isset($depth2Value['Mem'])){
2813
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.Mem'] = $depth2Value['Mem'];
2814
				}
2815
				if(isset($depth2Value['Cpus'])){
2816
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.Cpus'] = $depth2Value['Cpus'];
2817
				}
2818
				if(isset($depth2Value['User'])){
2819
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.User'] = $depth2Value['User'];
2820
				}
2821
				if(isset($depth2Value['Queue'])){
2822
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.Queue'] = $depth2Value['Queue'];
2823
				}
2824
			}
2825
			if(isset($depth1Value['SchedMaxQueuedJobs'])){
2826
				$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.SchedMaxQueuedJobs'] = $depth1Value['SchedMaxQueuedJobs'];
2827
			}
2828
			if(isset($depth1Value['JobHistoryDuration'])){
2829
				$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.JobHistoryDuration'] = $depth1Value['JobHistoryDuration'];
2830
			}
2831
		}
2832
2833
		return $this;
2834
    }
2835
}
2836
2837
/**
2838
 * @method string getClusterId()
2839
 * @method $this withClusterId($value)
2840
 */
2841
class StartCluster extends Rpc
2842
{
2843
}
2844
2845
/**
2846
 * @method string getInstanceId()
2847
 * @method $this withInstanceId($value)
2848
 */
2849
class StartGWSInstance extends Rpc
2850
{
2851
}
2852
2853
/**
2854
 * @method string getRole()
2855
 * @method $this withRole($value)
2856
 * @method array getInstance()
2857
 * @method string getClusterId()
2858
 * @method $this withClusterId($value)
2859
 */
2860
class StartNodes extends Rpc
2861
{
2862
2863
    /**
2864
     * @param array $instance
2865
     *
2866
     * @return $this
2867
     */
2868
	public function withInstance(array $instance)
2869
	{
2870
	    $this->data['Instance'] = $instance;
2871
		foreach ($instance as $depth1 => $depth1Value) {
2872
			if(isset($depth1Value['Id'])){
2873
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
2874
			}
2875
		}
2876
2877
		return $this;
2878
    }
2879
}
2880
2881
/**
2882
 * @method string getClusterId()
2883
 * @method $this withClusterId($value)
2884
 * @method string getPort()
2885
 * @method $this withPort($value)
2886
 * @method string getCidrIp()
2887
 * @method $this withCidrIp($value)
2888
 */
2889
class StartVisualService extends Rpc
2890
{
2891
}
2892
2893
/**
2894
 * @method string getClusterId()
2895
 * @method $this withClusterId($value)
2896
 */
2897
class StopCluster extends Rpc
2898
{
2899
}
2900
2901
/**
2902
 * @method string getInstanceId()
2903
 * @method $this withInstanceId($value)
2904
 */
2905
class StopGWSInstance extends Rpc
2906
{
2907
}
2908
2909
/**
2910
 * @method string getJobs()
2911
 * @method $this withJobs($value)
2912
 * @method string getClusterId()
2913
 * @method $this withClusterId($value)
2914
 */
2915
class StopJobs extends Rpc
2916
{
2917
}
2918
2919
/**
2920
 * @method string getRole()
2921
 * @method $this withRole($value)
2922
 * @method array getInstance()
2923
 * @method string getClusterId()
2924
 * @method $this withClusterId($value)
2925
 */
2926
class StopNodes extends Rpc
2927
{
2928
2929
    /**
2930
     * @param array $instance
2931
     *
2932
     * @return $this
2933
     */
2934
	public function withInstance(array $instance)
2935
	{
2936
	    $this->data['Instance'] = $instance;
2937
		foreach ($instance as $depth1 => $depth1Value) {
2938
			if(isset($depth1Value['Id'])){
2939
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
2940
			}
2941
		}
2942
2943
		return $this;
2944
    }
2945
}
2946
2947
/**
2948
 * @method string getClusterId()
2949
 * @method $this withClusterId($value)
2950
 * @method string getPort()
2951
 * @method $this withPort($value)
2952
 * @method string getCidrIp()
2953
 * @method $this withCidrIp($value)
2954
 */
2955
class StopVisualService extends Rpc
2956
{
2957
}
2958
2959
/**
2960
 * @method string getStderrRedirectPath()
2961
 * @method $this withStderrRedirectPath($value)
2962
 * @method string getRunasUserPassword()
2963
 * @method $this withRunasUserPassword($value)
2964
 * @method string getClockTime()
2965
 * @method $this withClockTime($value)
2966
 * @method string getCommandLine()
2967
 * @method $this withCommandLine($value)
2968
 * @method string getJobQueue()
2969
 * @method $this withJobQueue($value)
2970
 * @method string getArrayRequest()
2971
 * @method $this withArrayRequest($value)
2972
 * @method string getUnzipCmd()
2973
 * @method $this withUnzipCmd($value)
2974
 * @method string getPackagePath()
2975
 * @method $this withPackagePath($value)
2976
 * @method string getMem()
2977
 * @method $this withMem($value)
2978
 * @method string getStdoutRedirectPath()
2979
 * @method $this withStdoutRedirectPath($value)
2980
 * @method string getVariables()
2981
 * @method $this withVariables($value)
2982
 * @method string getPostCmdLine()
2983
 * @method $this withPostCmdLine($value)
2984
 * @method string getRunasUser()
2985
 * @method $this withRunasUser($value)
2986
 * @method string getClusterId()
2987
 * @method $this withClusterId($value)
2988
 * @method string getReRunable()
2989
 * @method $this withReRunable($value)
2990
 * @method string getThread()
2991
 * @method $this withThread($value)
2992
 * @method string getPriority()
2993
 * @method $this withPriority($value)
2994
 * @method string getGpu()
2995
 * @method $this withGpu($value)
2996
 * @method string getNode()
2997
 * @method $this withNode($value)
2998
 * @method string getTask()
2999
 * @method $this withTask($value)
3000
 * @method string getInputFileUrl()
3001
 * @method $this withInputFileUrl($value)
3002
 * @method string getName()
3003
 * @method $this withName($value)
3004
 * @method string getContainerId()
3005
 * @method $this withContainerId($value)
3006
 */
3007
class SubmitJob extends Rpc
3008
{
3009
}
3010
3011
/**
3012
 * @method string getClusterId()
3013
 * @method $this withClusterId($value)
3014
 * @method string getContainerType()
3015
 * @method $this withContainerType($value)
3016
 */
3017
class SummaryImages extends Rpc
3018
{
3019
}
3020
3021
/**
3022
 * @method string getClusterId()
3023
 * @method $this withClusterId($value)
3024
 * @method string getContainerType()
3025
 * @method $this withContainerType($value)
3026
 * @method string getImageName()
3027
 * @method $this withImageName($value)
3028
 */
3029
class SummaryImagesInfo extends Rpc
3030
{
3031
}
3032
3033
/**
3034
 * @method string getClusterId()
3035
 * @method $this withClusterId($value)
3036
 */
3037
class SyncUsers extends Rpc
3038
{
3039
}
3040
3041
/**
3042
 * @method array getResourceId()
3043
 * @method string getResourceType()
3044
 * @method $this withResourceType($value)
3045
 * @method array getTag()
3046
 */
3047
class TagResources extends Rpc
3048
{
3049
3050
    /** @var string */
3051
    public $method = 'POST';
3052
3053
    /**
3054
     * @param array $resourceId
3055
     *
3056
     * @return $this
3057
     */
3058
	public function withResourceId(array $resourceId)
3059
	{
3060
	    $this->data['ResourceId'] = $resourceId;
3061
		foreach ($resourceId as $i => $iValue) {
3062
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
3063
		}
3064
3065
		return $this;
3066
    }
3067
3068
    /**
3069
     * @param array $tag
3070
     *
3071
     * @return $this
3072
     */
3073
	public function withTag(array $tag)
3074
	{
3075
	    $this->data['Tag'] = $tag;
3076
		foreach ($tag as $depth1 => $depth1Value) {
3077
			if(isset($depth1Value['Value'])){
3078
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
3079
			}
3080
			if(isset($depth1Value['Key'])){
3081
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
3082
			}
3083
		}
3084
3085
		return $this;
3086
    }
3087
}
3088
3089
/**
3090
 * @method string getClusterId()
3091
 * @method $this withClusterId($value)
3092
 * @method string getApplication()
3093
 * @method $this withApplication($value)
3094
 */
3095
class UninstallSoftware extends Rpc
3096
{
3097
}
3098
3099
/**
3100
 * @method string getAll()
3101
 * @method $this withAll($value)
3102
 * @method array getResourceId()
3103
 * @method string getResourceType()
3104
 * @method $this withResourceType($value)
3105
 * @method array getTagKey()
3106
 */
3107
class UnTagResources extends Rpc
3108
{
3109
3110
    /** @var string */
3111
    public $method = 'POST';
3112
3113
    /**
3114
     * @param array $resourceId
3115
     *
3116
     * @return $this
3117
     */
3118
	public function withResourceId(array $resourceId)
3119
	{
3120
	    $this->data['ResourceId'] = $resourceId;
3121
		foreach ($resourceId as $i => $iValue) {
3122
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
3123
		}
3124
3125
		return $this;
3126
    }
3127
3128
    /**
3129
     * @param array $tagKey
3130
     *
3131
     * @return $this
3132
     */
3133
	public function withTagKey(array $tagKey)
3134
	{
3135
	    $this->data['TagKey'] = $tagKey;
3136
		foreach ($tagKey as $i => $iValue) {
3137
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
3138
		}
3139
3140
		return $this;
3141
    }
3142
}
3143
3144
/**
3145
 * @method array getAdditionalVolumes()
3146
 * @method string getClusterId()
3147
 * @method $this withClusterId($value)
3148
 */
3149
class UpdateClusterVolumes extends Rpc
3150
{
3151
3152
    /**
3153
     * @param array $additionalVolumes
3154
     *
3155
     * @return $this
3156
     */
3157
	public function withAdditionalVolumes(array $additionalVolumes)
3158
	{
3159
	    $this->data['AdditionalVolumes'] = $additionalVolumes;
3160
		foreach ($additionalVolumes as $depth1 => $depth1Value) {
3161
			if(isset($depth1Value['VolumeType'])){
3162
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeType'] = $depth1Value['VolumeType'];
3163
			}
3164
			if(isset($depth1Value['VolumeProtocol'])){
3165
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeProtocol'] = $depth1Value['VolumeProtocol'];
3166
			}
3167
			if(isset($depth1Value['LocalDirectory'])){
3168
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.LocalDirectory'] = $depth1Value['LocalDirectory'];
3169
			}
3170
			if(isset($depth1Value['RemoteDirectory'])){
3171
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.RemoteDirectory'] = $depth1Value['RemoteDirectory'];
3172
			}
3173
			foreach ($depth1Value['Roles'] as $depth2 => $depth2Value) {
3174
				if(isset($depth2Value['Name'])){
3175
					$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Roles.' . ($depth2 + 1) . '.Name'] = $depth2Value['Name'];
3176
				}
3177
			}
3178
			if(isset($depth1Value['VolumeId'])){
3179
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeId'] = $depth1Value['VolumeId'];
3180
			}
3181
			if(isset($depth1Value['VolumeMountpoint'])){
3182
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeMountpoint'] = $depth1Value['VolumeMountpoint'];
3183
			}
3184
			if(isset($depth1Value['Location'])){
3185
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Location'] = $depth1Value['Location'];
3186
			}
3187
			if(isset($depth1Value['JobQueue'])){
3188
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.JobQueue'] = $depth1Value['JobQueue'];
3189
			}
3190
		}
3191
3192
		return $this;
3193
    }
3194
}
3195
3196
/**
3197
 * @method string getQueueName()
3198
 * @method $this withQueueName($value)
3199
 * @method string getClusterId()
3200
 * @method $this withClusterId($value)
3201
 * @method string getResourceGroupId()
3202
 * @method $this withResourceGroupId($value)
3203
 * @method string getComputeInstanceType()
3204
 * @method $this withComputeInstanceType($value)
3205
 */
3206
class UpdateQueueConfig extends Rpc
3207
{
3208
}
3209
3210
/**
3211
 * @method string getClientVersion()
3212
 * @method $this withClientVersion($value)
3213
 * @method string getClusterId()
3214
 * @method $this withClusterId($value)
3215
 */
3216
class UpgradeClient extends Rpc
3217
{
3218
}
3219