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 ( d7bd93...68fcc4 )
by
unknown
07:28
created

CreateCluster::withAddOns()   B

Complexity

Conditions 9
Paths 129

Size

Total Lines 28
Code Lines 17

Duplication

Lines 0
Ratio 0 %

Importance

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