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 ( f4754b...4b3422 )
by
unknown
07:59
created

ModifyClusterAttributes::withRamNodeTypes()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

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