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.
Passed
Push — master ( 7cb6c5...2f15c0 )
by
unknown
06:27
created

DescribeImages   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
eloc 8
dl 0
loc 29
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A withImageName() 0 6 1
A withDockerVersion() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\CS\V20151215;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DownloadClusterNodeCerts downloadClusterNodeCerts(array $options = [])
9
 * @method CreateClusterToken createClusterToken(array $options = [])
10
 * @method DescribeClusterHosts describeClusterHosts(array $options = [])
11
 * @method DescribeClusterResources describeClusterResources(array $options = [])
12
 * @method DescribeApiVersion describeApiVersion(array $options = [])
13
 * @method AddAgilityCluster addAgilityCluster(array $options = [])
14
 * @method ScaleCluster scaleCluster(array $options = [])
15
 * @method DeleteClusterNode deleteClusterNode(array $options = [])
16
 * @method DescribeMonitorToken describeMonitorToken(array $options = [])
17
 * @method ScaleOutCluster scaleOutCluster(array $options = [])
18
 * @method ScaleInCluster scaleInCluster(array $options = [])
19
 * @method DescribeServiceContainers describeServiceContainers(array $options = [])
20
 * @method CheckAliyunCSServiceRole checkAliyunCSServiceRole(array $options = [])
21
 * @method DescribeKubernetesTemplates describeKubernetesTemplates(array $options = [])
22
 * @method UpgradeClusterAddons upgradeClusterAddons(array $options = [])
23
 * @method DeleteCluster deleteCluster(array $options = [])
24
 * @method CallbackClusterToken callbackClusterToken(array $options = [])
25
 * @method CreateCluster createCluster(array $options = [])
26
 * @method GetProjectEvents getProjectEvents(array $options = [])
27
 * @method DescribeKubernetesClusterScaleMeta describeKubernetesClusterScaleMeta(array $options = [])
28
 * @method DescribeClusterEndpoints describeClusterEndpoints(array $options = [])
29
 * @method GetTriggerHook getTriggerHook(array $options = [])
30
 * @method DescribeClusterNodes describeClusterNodes(array $options = [])
31
 * @method RenewK8sClusterCert renewK8sClusterCert(array $options = [])
32
 * @method CreateTemplate createTemplate(array $options = [])
33
 * @method ReBindSecurityGroup reBindSecurityGroup(array $options = [])
34
 * @method ModifyClusterName modifyClusterName(array $options = [])
35
 * @method DescribeKubernetesVersionMetadata describeKubernetesVersionMetadata(array $options = [])
36
 * @method PreCheckForCreateCluster preCheckForCreateCluster(array $options = [])
37
 * @method DescribeK8sResourceGroup describeK8sResourceGroup(array $options = [])
38
 * @method RenewClusterNodeCerts renewClusterNodeCerts(array $options = [])
39
 * @method DescribeEdasClusterToken describeEdasClusterToken(array $options = [])
40
 * @method AttachInstances attachInstances(array $options = [])
41
 * @method DescribeClusterLogs describeClusterLogs(array $options = [])
42
 * @method DescribeTaskInfo describeTaskInfo(array $options = [])
43
 * @method DescribeClusterAttachScripts describeClusterAttachScripts(array $options = [])
44
 * @method DescribeImages describeImages(array $options = [])
45
 * @method DescribeKubernetesTemplate describeKubernetesTemplate(array $options = [])
46
 * @method DescribeClusterNodeInfo describeClusterNodeInfo(array $options = [])
47
 * @method CreateClusterByResourcesGroup createClusterByResourcesGroup(array $options = [])
48
 * @method GetCidrsForVpc getCidrsForVpc(array $options = [])
49
 * @method UpdateEdasClusterRole updateEdasClusterRole(array $options = [])
50
 * @method ResetClusterNode resetClusterNode(array $options = [])
51
 * @method DescribeAgilityTunnelCerts describeAgilityTunnelCerts(array $options = [])
52
 * @method DescribeClusterAddonUpgradeStatus describeClusterAddonUpgradeStatus(array $options = [])
53
 * @method GatherLogsToken gatherLogsToken(array $options = [])
54
 * @method DescribeTemplateAttribute describeTemplateAttribute(array $options = [])
55
 * @method DescribeClusterDetail describeClusterDetail(array $options = [])
56
 * @method UpgradeClusterComponents upgradeClusterComponents(array $options = [])
57
 * @method DescribeClusters describeClusters(array $options = [])
58
 * @method DescribeClusterServices describeClusterServices(array $options = [])
59
 * @method UpdateTemplate updateTemplate(array $options = [])
60
 * @method DescribeClusterUserKubeconfig describeClusterUserKubeconfig(array $options = [])
61
 * @method DescribeClusterCerts describeClusterCerts(array $options = [])
62
 * @method DescribeUserContainers describeUserContainers(array $options = [])
63
 * @method CallBackAgilityCluster callBackAgilityCluster(array $options = [])
64
 * @method DeleteTemplate deleteTemplate(array $options = [])
65
 * @method UpdateSubUserResouces updateSubUserResouces(array $options = [])
66
 * @method GetClusterCertInfo getClusterCertInfo(array $options = [])
67
 * @method DescribeClusterNodeInfoWithInstance describeClusterNodeInfoWithInstance(array $options = [])
68
 * @method UpdateEdasClusterRoleBinding updateEdasClusterRoleBinding(array $options = [])
69
 * @method DescribeClusterScaledNode describeClusterScaledNode(array $options = [])
70
 * @method CreateTriggerHook createTriggerHook(array $options = [])
71
 * @method CreateEdasClusterRoleBinding createEdasClusterRoleBinding(array $options = [])
72
 * @method DescribeTemplates describeTemplates(array $options = [])
73
 * @method CreateEdasClusterRole createEdasClusterRole(array $options = [])
74
 * @method DescribeAgilityTunnelAgentInfo describeAgilityTunnelAgentInfo(array $options = [])
75
 * @method DescribeEdgeClusterAttachScripts describeEdgeClusterAttachScripts(array $options = [])
76
 * @method DescribeClusterAddonsVersion describeClusterAddonsVersion(array $options = [])
77
 * @method RevokeClusterToken revokeClusterToken(array $options = [])
78
 * @method AbandonCluster abandonCluster(array $options = [])
79
 * @method GetClusterProjects getClusterProjects(array $options = [])
80
 * @method DescribeKubernetesClusterHookTrigger describeKubernetesClusterHookTrigger(array $options = [])
81
 * @method DescribeClusterTokens describeClusterTokens(array $options = [])
82
 * @method DeleteClusterNodes deleteClusterNodes(array $options = [])
83
 */
84
class CSApiResolver extends ApiResolver
85
{
86
}
87
88
class Roa extends \AlibabaCloud\Client\Resolver\Roa
89
{
90
    /** @var string */
91
    public $product = 'CS';
92
93
    /** @var string */
94
    public $version = '2015-12-15';
95
96
    /** @var string */
97
    public $serviceCode = 'cs';
98
}
99
100
/**
101
 * @method string getNodeId()
102
 * @method $this withNodeId($value)
103
 * @method string getToken()
104
 * @method $this withToken($value)
105
 */
106
class DownloadClusterNodeCerts extends Roa
107
{
108
    /** @var string */
109
    public $pathPattern = '/token/[Token]/nodes/[NodeId]/certs';
110
}
111
112
/**
113
 * @method string getClusterId()
114
 * @method $this withClusterId($value)
115
 */
116
class CreateClusterToken extends Roa
117
{
118
    /** @var string */
119
    public $pathPattern = '/clusters/[ClusterId]/token';
120
121
    /** @var string */
122
    public $method = 'POST';
123
}
124
125
/**
126
 * @method string getClusterId()
127
 * @method $this withClusterId($value)
128
 */
129
class DescribeClusterHosts extends Roa
130
{
131
    /** @var string */
132
    public $pathPattern = '/clusters/[ClusterId]/hosts';
133
}
134
135
/**
136
 * @method string getClusterId()
137
 * @method $this withClusterId($value)
138
 */
139
class DescribeClusterResources extends Roa
140
{
141
    /** @var string */
142
    public $pathPattern = '/clusters/[ClusterId]/resources';
143
}
144
145
class DescribeApiVersion extends Roa
146
{
147
    /** @var string */
148
    public $pathPattern = '/version';
149
}
150
151
class AddAgilityCluster extends Roa
152
{
153
    /** @var string */
154
    public $pathPattern = '/add_agility_cluster';
155
156
    /** @var string */
157
    public $method = 'POST';
158
}
159
160
/**
161
 * @method string getClusterId()
162
 * @method $this withClusterId($value)
163
 */
164
class ScaleCluster extends Roa
165
{
166
    /** @var string */
167
    public $pathPattern = '/clusters/[ClusterId]';
168
169
    /** @var string */
170
    public $method = 'PUT';
171
}
172
173
/**
174
 * @method string getReleaseInstance()
175
 * @method string getIp()
176
 * @method $this withIp($value)
177
 * @method string getForce()
178
 * @method string getClusterId()
179
 * @method $this withClusterId($value)
180
 */
181
class DeleteClusterNode extends Roa
182
{
183
    /** @var string */
184
    public $pathPattern = '/clusters/[ClusterId]/ip/[Ip]';
185
186
    /** @var string */
187
    public $method = 'DELETE';
188
189
    /**
190
     * @param string $value
191
     *
192
     * @return $this
193
     */
194
    public function withReleaseInstance($value)
195
    {
196
        $this->data['ReleaseInstance'] = $value;
197
        $this->options['query']['releaseInstance'] = $value;
198
199
        return $this;
200
    }
201
202
    /**
203
     * @param string $value
204
     *
205
     * @return $this
206
     */
207
    public function withForce($value)
208
    {
209
        $this->data['Force'] = $value;
210
        $this->options['query']['force'] = $value;
211
212
        return $this;
213
    }
214
}
215
216
/**
217
 * @method string getClusterId()
218
 * @method $this withClusterId($value)
219
 */
220
class DescribeMonitorToken extends Roa
221
{
222
    /** @var string */
223
    public $pathPattern = '/k8s/[ClusterId]/monitor/token';
224
}
225
226
/**
227
 * @method string getClusterId()
228
 * @method $this withClusterId($value)
229
 */
230
class ScaleOutCluster extends Roa
231
{
232
    /** @var string */
233
    public $pathPattern = '/api/v2/clusters/[ClusterId]';
234
235
    /** @var string */
236
    public $method = 'POST';
237
}
238
239
/**
240
 * @method string getClusterId()
241
 * @method $this withClusterId($value)
242
 */
243
class ScaleInCluster extends Roa
244
{
245
    /** @var string */
246
    public $pathPattern = '/clusters/[ClusterId]/scalein';
247
248
    /** @var string */
249
    public $method = 'POST';
250
}
251
252
/**
253
 * @method string getClusterId()
254
 * @method $this withClusterId($value)
255
 * @method string getServiceId()
256
 * @method $this withServiceId($value)
257
 */
258
class DescribeServiceContainers extends Roa
259
{
260
    /** @var string */
261
    public $pathPattern = '/clusters/[ClusterId]/services/[ServiceId]/containers';
262
}
263
264
class CheckAliyunCSServiceRole extends Roa
265
{
266
    /** @var string */
267
    public $pathPattern = '/aliyuncsrole/status';
268
}
269
270
/**
271
 * @method string getKubernetesVersion()
272
 * @method string getRegion()
273
 */
274
class DescribeKubernetesTemplates extends Roa
275
{
276
    /** @var string */
277
    public $pathPattern = '/k8s/templates';
278
279
    /**
280
     * @param string $value
281
     *
282
     * @return $this
283
     */
284
    public function withKubernetesVersion($value)
285
    {
286
        $this->data['KubernetesVersion'] = $value;
287
        $this->options['query']['KubernetesVersion'] = $value;
288
289
        return $this;
290
    }
291
292
    /**
293
     * @param string $value
294
     *
295
     * @return $this
296
     */
297
    public function withRegion($value)
298
    {
299
        $this->data['Region'] = $value;
300
        $this->options['query']['Region'] = $value;
301
302
        return $this;
303
    }
304
}
305
306
/**
307
 * @method string getClusterId()
308
 * @method $this withClusterId($value)
309
 */
310
class UpgradeClusterAddons extends Roa
311
{
312
    /** @var string */
313
    public $pathPattern = '/clusters/[ClusterId]/components/upgrade';
314
315
    /** @var string */
316
    public $method = 'POST';
317
}
318
319
/**
320
 * @method string getClusterId()
321
 * @method $this withClusterId($value)
322
 */
323
class DeleteCluster extends Roa
324
{
325
    /** @var string */
326
    public $pathPattern = '/clusters/[ClusterId]';
327
328
    /** @var string */
329
    public $method = 'DELETE';
330
}
331
332
/**
333
 * @method string getReqOnce()
334
 * @method $this withReqOnce($value)
335
 * @method string getToken()
336
 * @method $this withToken($value)
337
 */
338
class CallbackClusterToken extends Roa
339
{
340
    /** @var string */
341
    public $pathPattern = '/token/[Token]/req_once/[ReqOnce]/callback';
342
343
    /** @var string */
344
    public $method = 'POST';
345
}
346
347
class CreateCluster extends Roa
348
{
349
    /** @var string */
350
    public $pathPattern = '/clusters';
351
352
    /** @var string */
353
    public $method = 'POST';
354
}
355
356
/**
357
 * @method string getClusterId()
358
 * @method $this withClusterId($value)
359
 * @method string getProjectId()
360
 * @method $this withProjectId($value)
361
 */
362
class GetProjectEvents extends Roa
363
{
364
    /** @var string */
365
    public $pathPattern = '/clusters/[ClusterId]/projects/[ProjectId]/events';
366
}
367
368
/**
369
 * @method string getClusterId()
370
 * @method $this withClusterId($value)
371
 */
372
class DescribeKubernetesClusterScaleMeta extends Roa
373
{
374
    /** @var string */
375
    public $pathPattern = '/api/v1/clusters/[ClusterId]/scale_metadata';
376
}
377
378
/**
379
 * @method string getClusterId()
380
 * @method $this withClusterId($value)
381
 */
382
class DescribeClusterEndpoints extends Roa
383
{
384
    /** @var string */
385
    public $pathPattern = '/clusters/[ClusterId]/endpoints';
386
}
387
388
/**
389
 * @method string getClusterId()
390
 * @method $this withClusterId($value)
391
 * @method string getProjectId()
392
 * @method $this withProjectId($value)
393
 */
394
class GetTriggerHook extends Roa
395
{
396
    /** @var string */
397
    public $pathPattern = '/hook/trigger/[ClusterId]/[ProjectId]';
398
}
399
400
/**
401
 * @method string getPageSize()
402
 * @method string getClusterId()
403
 * @method $this withClusterId($value)
404
 * @method string getPageNumber()
405
 */
406
class DescribeClusterNodes extends Roa
407
{
408
    /** @var string */
409
    public $pathPattern = '/clusters/[ClusterId]/nodes';
410
411
    /**
412
     * @param string $value
413
     *
414
     * @return $this
415
     */
416
    public function withPageSize($value)
417
    {
418
        $this->data['PageSize'] = $value;
419
        $this->options['query']['pageSize'] = $value;
420
421
        return $this;
422
    }
423
424
    /**
425
     * @param string $value
426
     *
427
     * @return $this
428
     */
429
    public function withPageNumber($value)
430
    {
431
        $this->data['PageNumber'] = $value;
432
        $this->options['query']['pageNumber'] = $value;
433
434
        return $this;
435
    }
436
}
437
438
/**
439
 * @method string getClusterId()
440
 * @method $this withClusterId($value)
441
 */
442
class RenewK8sClusterCert extends Roa
443
{
444
    /** @var string */
445
    public $pathPattern = '/clusters/[ClusterId]/cert_renew';
446
447
    /** @var string */
448
    public $method = 'POST';
449
}
450
451
class CreateTemplate extends Roa
452
{
453
    /** @var string */
454
    public $pathPattern = '/templates';
455
456
    /** @var string */
457
    public $method = 'POST';
458
}
459
460
/**
461
 * @method string getClusterId()
462
 * @method $this withClusterId($value)
463
 */
464
class ReBindSecurityGroup extends Roa
465
{
466
    /** @var string */
467
    public $pathPattern = '/clusters/[ClusterId]/rebind_sg';
468
469
    /** @var string */
470
    public $method = 'POST';
471
}
472
473
class ModifyClusterName extends Roa
474
{
475
    /** @var string */
476
    public $pathPattern = '/clusters/[ClusterId]/name/[ClusterName]';
477
478
    /** @var string */
479
    public $method = 'POST';
480
}
481
482
/**
483
 * @method string getClusterType()
484
 * @method string getMultiAZ()
485
 * @method string getKubernetesVersion()
486
 * @method string getRegion()
487
 */
488
class DescribeKubernetesVersionMetadata extends Roa
489
{
490
    /** @var string */
491
    public $pathPattern = '/api/v1/metadata/versions';
492
493
    /**
494
     * @param string $value
495
     *
496
     * @return $this
497
     */
498
    public function withClusterType($value)
499
    {
500
        $this->data['ClusterType'] = $value;
501
        $this->options['query']['ClusterType'] = $value;
502
503
        return $this;
504
    }
505
506
    /**
507
     * @param string $value
508
     *
509
     * @return $this
510
     */
511
    public function withMultiAZ($value)
512
    {
513
        $this->data['MultiAZ'] = $value;
514
        $this->options['query']['MultiAZ'] = $value;
515
516
        return $this;
517
    }
518
519
    /**
520
     * @param string $value
521
     *
522
     * @return $this
523
     */
524
    public function withKubernetesVersion($value)
525
    {
526
        $this->data['KubernetesVersion'] = $value;
527
        $this->options['query']['KubernetesVersion'] = $value;
528
529
        return $this;
530
    }
531
532
    /**
533
     * @param string $value
534
     *
535
     * @return $this
536
     */
537
    public function withRegion($value)
538
    {
539
        $this->data['Region'] = $value;
540
        $this->options['query']['Region'] = $value;
541
542
        return $this;
543
    }
544
}
545
546
class PreCheckForCreateCluster extends Roa
547
{
548
    /** @var string */
549
    public $pathPattern = '/api/v1/ess/precheck';
550
551
    /** @var string */
552
    public $method = 'POST';
553
}
554
555
/**
556
 * @method string getClusterId()
557
 * @method $this withClusterId($value)
558
 */
559
class DescribeK8sResourceGroup extends Roa
560
{
561
    /** @var string */
562
    public $pathPattern = '/k8s/[ClusterId]/monitor/resource_group';
563
}
564
565
/**
566
 * @method string getHostId()
567
 * @method string getClusterId()
568
 * @method $this withClusterId($value)
569
 */
570
class RenewClusterNodeCerts extends Roa
571
{
572
    /** @var string */
573
    public $pathPattern = '/clusters/[ClusterId]/hosts/[hostId]/renew';
574
575
    /** @var string */
576
    public $method = 'POST';
577
578
    /**
579
     * @param string $value
580
     *
581
     * @return $this
582
     */
583
    public function withHostId($value)
584
    {
585
        $this->data['HostId'] = $value;
586
        $this->pathParameters['hostId'] = $value;
587
588
        return $this;
589
    }
590
}
591
592
/**
593
 * @method string getClusterId()
594
 * @method $this withClusterId($value)
595
 */
596
class DescribeEdasClusterToken extends Roa
597
{
598
    /** @var string */
599
    public $pathPattern = '/k8s/[ClusterId]/token';
600
}
601
602
/**
603
 * @method string getClusterId()
604
 * @method $this withClusterId($value)
605
 */
606
class AttachInstances extends Roa
607
{
608
    /** @var string */
609
    public $pathPattern = '/clusters/[ClusterId]/attach';
610
611
    /** @var string */
612
    public $method = 'POST';
613
}
614
615
/**
616
 * @method string getClusterId()
617
 * @method $this withClusterId($value)
618
 */
619
class DescribeClusterLogs extends Roa
620
{
621
    /** @var string */
622
    public $pathPattern = '/clusters/[ClusterId]/logs';
623
}
624
625
/**
626
 * @method string getTaskId()
627
 * @method $this withTaskId($value)
628
 */
629
class DescribeTaskInfo extends Roa
630
{
631
    /** @var string */
632
    public $pathPattern = '/tasks/[TaskId]';
633
}
634
635
/**
636
 * @method string getClusterId()
637
 * @method $this withClusterId($value)
638
 */
639
class DescribeClusterAttachScripts extends Roa
640
{
641
    /** @var string */
642
    public $pathPattern = '/clusters/[ClusterId]/attachscript';
643
644
    /** @var string */
645
    public $method = 'POST';
646
}
647
648
/**
649
 * @method string getImageName()
650
 * @method string getDockerVersion()
651
 */
652
class DescribeImages extends Roa
653
{
654
    /** @var string */
655
    public $pathPattern = '/images';
656
657
    /**
658
     * @param string $value
659
     *
660
     * @return $this
661
     */
662
    public function withImageName($value)
663
    {
664
        $this->data['ImageName'] = $value;
665
        $this->options['query']['ImageName'] = $value;
666
667
        return $this;
668
    }
669
670
    /**
671
     * @param string $value
672
     *
673
     * @return $this
674
     */
675
    public function withDockerVersion($value)
676
    {
677
        $this->data['DockerVersion'] = $value;
678
        $this->options['query']['DockerVersion'] = $value;
679
680
        return $this;
681
    }
682
}
683
684
/**
685
 * @method string getClusterId()
686
 * @method $this withClusterId($value)
687
 */
688
class DescribeKubernetesTemplate extends Roa
689
{
690
    /** @var string */
691
    public $pathPattern = '/k8s/templates/[ClusterId]';
692
}
693
694
/**
695
 * @method string getToken()
696
 * @method $this withToken($value)
697
 */
698
class DescribeClusterNodeInfo extends Roa
699
{
700
    /** @var string */
701
    public $pathPattern = '/token/[Token]/node_info';
702
}
703
704
/**
705
 * @method string getResourceGroupId()
706
 * @method $this withResourceGroupId($value)
707
 */
708
class CreateClusterByResourcesGroup extends Roa
709
{
710
    /** @var string */
711
    public $pathPattern = '/resource_groups/[ResourceGroupId]/clusters';
712
713
    /** @var string */
714
    public $method = 'POST';
715
}
716
717
/**
718
 * @method string getVpcId()
719
 * @method $this withVpcId($value)
720
 */
721
class GetCidrsForVpc extends Roa
722
{
723
    /** @var string */
724
    public $pathPattern = '/api/v1/vpc/[VpcId]/cidrs';
725
}
726
727
/**
728
 * @method string getClusterId()
729
 * @method $this withClusterId($value)
730
 */
731
class UpdateEdasClusterRole extends Roa
732
{
733
    /** @var string */
734
    public $pathPattern = '/clusters/[ClusterId]/clusterroles';
735
736
    /** @var string */
737
    public $method = 'PUT';
738
}
739
740
/**
741
 * @method string getInstanceId()
742
 * @method $this withInstanceId($value)
743
 * @method string getClusterId()
744
 * @method $this withClusterId($value)
745
 */
746
class ResetClusterNode extends Roa
747
{
748
    /** @var string */
749
    public $pathPattern = '/clusters/[ClusterId]/instances/[InstanceId]/reset';
750
751
    /** @var string */
752
    public $method = 'POST';
753
}
754
755
/**
756
 * @method string getToken()
757
 * @method $this withToken($value)
758
 */
759
class DescribeAgilityTunnelCerts extends Roa
760
{
761
    /** @var string */
762
    public $pathPattern = '/agility/[Token]/agent_certs';
763
}
764
765
/**
766
 * @method string getComponentId()
767
 * @method $this withComponentId($value)
768
 * @method string getClusterId()
769
 * @method $this withClusterId($value)
770
 */
771
class DescribeClusterAddonUpgradeStatus extends Roa
772
{
773
    /** @var string */
774
    public $pathPattern = '/clusters/[ClusterId]/components/[ComponentId]/upgradestatus';
775
}
776
777
/**
778
 * @method string getToken()
779
 * @method $this withToken($value)
780
 */
781
class GatherLogsToken extends Roa
782
{
783
    /** @var string */
784
    public $pathPattern = '/token/[Token]/gather_logs';
785
786
    /** @var string */
787
    public $method = 'POST';
788
}
789
790
/**
791
 * @method string getTemplateId()
792
 * @method $this withTemplateId($value)
793
 */
794
class DescribeTemplateAttribute extends Roa
795
{
796
    /** @var string */
797
    public $pathPattern = '/templates/[TemplateId]';
798
}
799
800
/**
801
 * @method string getClusterId()
802
 * @method $this withClusterId($value)
803
 */
804
class DescribeClusterDetail extends Roa
805
{
806
    /** @var string */
807
    public $pathPattern = '/clusters/[ClusterId]';
808
}
809
810
/**
811
 * @method string getComponentId()
812
 * @method $this withComponentId($value)
813
 * @method string getClusterId()
814
 * @method $this withClusterId($value)
815
 */
816
class UpgradeClusterComponents extends Roa
817
{
818
    /** @var string */
819
    public $pathPattern = '/clusters/[ClusterId]/components/[ComponentId]/upgrade';
820
821
    /** @var string */
822
    public $method = 'POST';
823
}
824
825
/**
826
 * @method string getClusterType()
827
 * @method string getName()
828
 */
829
class DescribeClusters extends Roa
830
{
831
    /** @var string */
832
    public $pathPattern = '/clusters';
833
834
    /**
835
     * @param string $value
836
     *
837
     * @return $this
838
     */
839
    public function withClusterType($value)
840
    {
841
        $this->data['ClusterType'] = $value;
842
        $this->options['query']['clusterType'] = $value;
843
844
        return $this;
845
    }
846
847
    /**
848
     * @param string $value
849
     *
850
     * @return $this
851
     */
852
    public function withName($value)
853
    {
854
        $this->data['Name'] = $value;
855
        $this->options['query']['Name'] = $value;
856
857
        return $this;
858
    }
859
}
860
861
/**
862
 * @method string getClusterId()
863
 * @method $this withClusterId($value)
864
 */
865
class DescribeClusterServices extends Roa
866
{
867
    /** @var string */
868
    public $pathPattern = '/clusters/[ClusterId]/services';
869
}
870
871
/**
872
 * @method string getTemplateId()
873
 * @method $this withTemplateId($value)
874
 */
875
class UpdateTemplate extends Roa
876
{
877
    /** @var string */
878
    public $pathPattern = '/templates/[TemplateId]';
879
880
    /** @var string */
881
    public $method = 'PUT';
882
}
883
884
/**
885
 * @method string getPrivateIpAddress()
886
 * @method string getClusterId()
887
 * @method $this withClusterId($value)
888
 */
889
class DescribeClusterUserKubeconfig extends Roa
890
{
891
    /** @var string */
892
    public $pathPattern = '/k8s/[ClusterId]/user_config';
893
894
    /**
895
     * @param string $value
896
     *
897
     * @return $this
898
     */
899
    public function withPrivateIpAddress($value)
900
    {
901
        $this->data['PrivateIpAddress'] = $value;
902
        $this->options['query']['PrivateIpAddress'] = $value;
903
904
        return $this;
905
    }
906
}
907
908
/**
909
 * @method string getClusterId()
910
 * @method $this withClusterId($value)
911
 */
912
class DescribeClusterCerts extends Roa
913
{
914
    /** @var string */
915
    public $pathPattern = '/clusters/[ClusterId]/certs';
916
}
917
918
/**
919
 * @method string getServiceId()
920
 */
921
class DescribeUserContainers extends Roa
922
{
923
    /** @var string */
924
    public $pathPattern = '/region/[RegionId]/containers';
925
926
    /**
927
     * @param string $value
928
     *
929
     * @return $this
930
     */
931
    public function withServiceId($value)
932
    {
933
        $this->data['ServiceId'] = $value;
934
        $this->options['query']['ServiceId'] = $value;
935
936
        return $this;
937
    }
938
}
939
940
/**
941
 * @method string getReqOnce()
942
 * @method $this withReqOnce($value)
943
 * @method string getToken()
944
 * @method $this withToken($value)
945
 */
946
class CallBackAgilityCluster extends Roa
947
{
948
    /** @var string */
949
    public $pathPattern = '/agility/token/[Token]/req_once/[ReqOnce]/callback';
950
951
    /** @var string */
952
    public $method = 'POST';
953
}
954
955
/**
956
 * @method string getTemplateId()
957
 * @method $this withTemplateId($value)
958
 */
959
class DeleteTemplate extends Roa
960
{
961
    /** @var string */
962
    public $pathPattern = '/templates/[TemplateId]';
963
964
    /** @var string */
965
    public $method = 'DELETE';
966
}
967
968
class UpdateSubUserResouces extends Roa
969
{
970
    /** @var string */
971
    public $pathPattern = '/ram/resources';
972
973
    /** @var string */
974
    public $method = 'POST';
975
}
976
977
/**
978
 * @method string getClusterId()
979
 * @method $this withClusterId($value)
980
 */
981
class GetClusterCertInfo extends Roa
982
{
983
    /** @var string */
984
    public $pathPattern = '/clusters/[ClusterId]/hosts/certs';
985
}
986
987
/**
988
 * @method string getInstanceId()
989
 * @method $this withInstanceId($value)
990
 * @method string getToken()
991
 * @method $this withToken($value)
992
 */
993
class DescribeClusterNodeInfoWithInstance extends Roa
994
{
995
    /** @var string */
996
    public $pathPattern = '/token/[Token]/instance/[InstanceId]/node_info';
997
}
998
999
/**
1000
 * @method string getClusterId()
1001
 * @method $this withClusterId($value)
1002
 */
1003
class UpdateEdasClusterRoleBinding extends Roa
1004
{
1005
    /** @var string */
1006
    public $pathPattern = '/clusters/[ClusterId]/clusterrolebindings';
1007
1008
    /** @var string */
1009
    public $method = 'PUT';
1010
}
1011
1012
/**
1013
 * @method string getClusterId()
1014
 * @method $this withClusterId($value)
1015
 */
1016
class DescribeClusterScaledNode extends Roa
1017
{
1018
    /** @var string */
1019
    public $pathPattern = '/clusters/[ClusterId]/scaled_nodes/';
1020
}
1021
1022
class CreateTriggerHook extends Roa
1023
{
1024
    /** @var string */
1025
    public $pathPattern = '/hook/trigger';
1026
1027
    /** @var string */
1028
    public $method = 'PUT';
1029
}
1030
1031
/**
1032
 * @method string getClusterId()
1033
 * @method $this withClusterId($value)
1034
 */
1035
class CreateEdasClusterRoleBinding extends Roa
1036
{
1037
    /** @var string */
1038
    public $pathPattern = '/clusters/[ClusterId]/clusterrolebindings';
1039
1040
    /** @var string */
1041
    public $method = 'POST';
1042
}
1043
1044
/**
1045
 * @method string getTemplateType()
1046
 */
1047
class DescribeTemplates extends Roa
1048
{
1049
    /** @var string */
1050
    public $pathPattern = '/templates';
1051
1052
    /**
1053
     * @param string $value
1054
     *
1055
     * @return $this
1056
     */
1057
    public function withTemplateType($value)
1058
    {
1059
        $this->data['TemplateType'] = $value;
1060
        $this->options['query']['template_type'] = $value;
1061
1062
        return $this;
1063
    }
1064
}
1065
1066
/**
1067
 * @method string getClusterId()
1068
 * @method $this withClusterId($value)
1069
 */
1070
class CreateEdasClusterRole extends Roa
1071
{
1072
    /** @var string */
1073
    public $pathPattern = '/clusters/[ClusterId]/clusterroles';
1074
1075
    /** @var string */
1076
    public $method = 'POST';
1077
}
1078
1079
/**
1080
 * @method string getToken()
1081
 * @method $this withToken($value)
1082
 */
1083
class DescribeAgilityTunnelAgentInfo extends Roa
1084
{
1085
    /** @var string */
1086
    public $pathPattern = '/agility/[Token]/agent_info';
1087
}
1088
1089
/**
1090
 * @method string getClusterId()
1091
 * @method $this withClusterId($value)
1092
 * @method string getNamePrefix()
1093
 */
1094
class DescribeEdgeClusterAttachScripts extends Roa
1095
{
1096
    /** @var string */
1097
    public $pathPattern = '/clusters/[ClusterId]/attachscript';
1098
1099
    /**
1100
     * @param string $value
1101
     *
1102
     * @return $this
1103
     */
1104
    public function withNamePrefix($value)
1105
    {
1106
        $this->data['NamePrefix'] = $value;
1107
        $this->options['query']['NamePrefix'] = $value;
1108
1109
        return $this;
1110
    }
1111
}
1112
1113
/**
1114
 * @method string getClusterId()
1115
 * @method $this withClusterId($value)
1116
 */
1117
class DescribeClusterAddonsVersion extends Roa
1118
{
1119
    /** @var string */
1120
    public $pathPattern = '/clusters/[ClusterId]/components/version';
1121
}
1122
1123
/**
1124
 * @method string getToken()
1125
 * @method $this withToken($value)
1126
 */
1127
class RevokeClusterToken extends Roa
1128
{
1129
    /** @var string */
1130
    public $pathPattern = '/token/[Token]/revoke';
1131
1132
    /** @var string */
1133
    public $method = 'DELETE';
1134
}
1135
1136
/**
1137
 * @method string getClusterId()
1138
 * @method $this withClusterId($value)
1139
 */
1140
class AbandonCluster extends Roa
1141
{
1142
    /** @var string */
1143
    public $pathPattern = '/clusters/[ClusterId]/abandon';
1144
1145
    /** @var string */
1146
    public $method = 'DELETE';
1147
}
1148
1149
/**
1150
 * @method string getClusterId()
1151
 * @method $this withClusterId($value)
1152
 */
1153
class GetClusterProjects extends Roa
1154
{
1155
    /** @var string */
1156
    public $pathPattern = '/clusters/[ClusterId]/projects';
1157
}
1158
1159
/**
1160
 * @method string getNamespace()
1161
 * @method $this withNamespace($value)
1162
 * @method string getDdeployment()
1163
 * @method $this withDdeployment($value)
1164
 * @method string getClusterId()
1165
 * @method $this withClusterId($value)
1166
 */
1167
class DescribeKubernetesClusterHookTrigger extends Roa
1168
{
1169
    /** @var string */
1170
    public $pathPattern = '/hook/trigger/[ClusterId]/[Namespace]/[Ddeployment]';
1171
}
1172
1173
/**
1174
 * @method string getClusterId()
1175
 * @method $this withClusterId($value)
1176
 */
1177
class DescribeClusterTokens extends Roa
1178
{
1179
    /** @var string */
1180
    public $pathPattern = '/clusters/[ClusterId]/tokens';
1181
}
1182
1183
/**
1184
 * @method string getClusterId()
1185
 * @method $this withClusterId($value)
1186
 */
1187
class DeleteClusterNodes extends Roa
1188
{
1189
    /** @var string */
1190
    public $pathPattern = '/clusters/[ClusterId]/nodes';
1191
1192
    /** @var string */
1193
    public $method = 'POST';
1194
}
1195