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 ( 9cb6de...3d5587 )
by
unknown
07:00
created

SubmitJob::withJobRetryPriority()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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