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 ( a7c812...a9a4eb )
by
unknown
06:01
created

withEnableIstioInjection()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Servicemesh\V20200111;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddClusterIntoServiceMesh addClusterIntoServiceMesh(array $options = [])
9
 * @method AddVmAppToMesh addVmAppToMesh(array $options = [])
10
 * @method CreateServiceMesh createServiceMesh(array $options = [])
11
 * @method DeleteServiceMesh deleteServiceMesh(array $options = [])
12
 * @method DescribeCens describeCens(array $options = [])
13
 * @method DescribeClusterGrafana describeClusterGrafana(array $options = [])
14
 * @method DescribeClusterPrometheus describeClusterPrometheus(array $options = [])
15
 * @method DescribeClustersInServiceMesh describeClustersInServiceMesh(array $options = [])
16
 * @method DescribeGuestClusterAccessLogDashboards describeGuestClusterAccessLogDashboards(array $options = [])
17
 * @method DescribeIngressGateways describeIngressGateways(array $options = [])
18
 * @method DescribeServiceMeshDetail describeServiceMeshDetail(array $options = [])
19
 * @method DescribeServiceMeshes describeServiceMeshes(array $options = [])
20
 * @method DescribeServiceMeshKubeconfig describeServiceMeshKubeconfig(array $options = [])
21
 * @method DescribeUpgradeVersion describeUpgradeVersion(array $options = [])
22
 * @method GetDiagnosis getDiagnosis(array $options = [])
23
 * @method GetRegisteredServiceEndpoints getRegisteredServiceEndpoints(array $options = [])
24
 * @method GetRegisteredServiceNamespaces getRegisteredServiceNamespaces(array $options = [])
25
 * @method GetRegisteredServices getRegisteredServices(array $options = [])
26
 * @method GetServiceMeshSlb getServiceMeshSlb(array $options = [])
27
 * @method GetVmAppMeshInfo getVmAppMeshInfo(array $options = [])
28
 * @method GetVmMeta getVmMeta(array $options = [])
29
 * @method RemoveClusterFromServiceMesh removeClusterFromServiceMesh(array $options = [])
30
 * @method RemoveVmAppFromMesh removeVmAppFromMesh(array $options = [])
31
 * @method RunDiagnosis runDiagnosis(array $options = [])
32
 * @method UpdateIstioInjectionConfig updateIstioInjectionConfig(array $options = [])
33
 * @method UpdateMeshFeature updateMeshFeature(array $options = [])
34
 * @method UpgradeMeshVersion upgradeMeshVersion(array $options = [])
35
 */
36
class ServicemeshApiResolver extends ApiResolver
37
{
38
}
39
40
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
41
{
42
    /** @var string */
43
    public $product = 'servicemesh';
44
45
    /** @var string */
46
    public $version = '2020-01-11';
47
48
    /** @var string */
49
    public $method = 'POST';
50
51
    /** @var string */
52
    public $serviceCode = 'servicemesh';
53
}
54
55
/**
56
 * @method string getClusterId()
57
 * @method string getServiceMeshId()
58
 */
59
class AddClusterIntoServiceMesh extends Rpc
60
{
61
62
    /**
63
     * @param string $value
64
     *
65
     * @return $this
66
     */
67
    public function withClusterId($value)
68
    {
69
        $this->data['ClusterId'] = $value;
70
        $this->options['form_params']['ClusterId'] = $value;
71
72
        return $this;
73
    }
74
75
    /**
76
     * @param string $value
77
     *
78
     * @return $this
79
     */
80
    public function withServiceMeshId($value)
81
    {
82
        $this->data['ServiceMeshId'] = $value;
83
        $this->options['form_params']['ServiceMeshId'] = $value;
84
85
        return $this;
86
    }
87
}
88
89
/**
90
 * @method string getServiceAccount()
91
 * @method $this withServiceAccount($value)
92
 * @method string getAnnotations()
93
 * @method $this withAnnotations($value)
94
 * @method string getPorts()
95
 * @method $this withPorts($value)
96
 * @method string getServiceMeshId()
97
 * @method $this withServiceMeshId($value)
98
 * @method string getServiceName()
99
 * @method $this withServiceName($value)
100
 * @method string getUseWorkload()
101
 * @method $this withUseWorkload($value)
102
 * @method string getIps()
103
 * @method $this withIps($value)
104
 * @method string getLabels()
105
 * @method $this withLabels($value)
106
 * @method string getNamespace()
107
 * @method $this withNamespace($value)
108
 * @method string getForce()
109
 * @method $this withForce($value)
110
 */
111
class AddVmAppToMesh extends Rpc
112
{
113
}
114
115
/**
116
 * @method string getProxyRequestCPU()
117
 * @method string getOPALimitCPU()
118
 * @method string getOpenAgentPolicy()
119
 * @method string getOpaEnabled()
120
 * @method string getProxyLimitMemory()
121
 * @method string getStrictMTLS()
122
 * @method string getOPALogLevel()
123
 * @method string getExcludeIPRanges()
124
 * @method string getIstioVersion()
125
 * @method string getTracing()
126
 * @method string getIncludeIPRanges()
127
 * @method string getExcludeInboundPorts()
128
 * @method string getOPALimitMemory()
129
 * @method string getVSwitches()
130
 * @method string getCADisableSecretAutoGeneration()
131
 * @method string getCAListenedNamespaces()
132
 * @method string getProxyLimitCPU()
133
 * @method string getProxyRequestMemory()
134
 * @method string getName()
135
 * @method string getTelemetry()
136
 * @method string getOPARequestCPU()
137
 * @method string getOPARequestMemory()
138
 * @method string getEnableAudit()
139
 * @method string getClusterDomain()
140
 * @method string getLocalityLoadBalancing()
141
 * @method string getApiServerPublicEip()
142
 * @method string getTraceSampling()
143
 * @method string getAppNamespaces()
144
 * @method string getPilotPublicEip()
145
 * @method string getAuditProject()
146
 * @method string getOutboundTrafficPolicy()
147
 * @method string getVpcId()
148
 * @method string getExcludeOutboundPorts()
149
 */
150
class CreateServiceMesh extends Rpc
151
{
152
153
    /**
154
     * @param string $value
155
     *
156
     * @return $this
157
     */
158
    public function withProxyRequestCPU($value)
159
    {
160
        $this->data['ProxyRequestCPU'] = $value;
161
        $this->options['form_params']['ProxyRequestCPU'] = $value;
162
163
        return $this;
164
    }
165
166
    /**
167
     * @param string $value
168
     *
169
     * @return $this
170
     */
171
    public function withOPALimitCPU($value)
172
    {
173
        $this->data['OPALimitCPU'] = $value;
174
        $this->options['form_params']['OPALimitCPU'] = $value;
175
176
        return $this;
177
    }
178
179
    /**
180
     * @param string $value
181
     *
182
     * @return $this
183
     */
184
    public function withOpenAgentPolicy($value)
185
    {
186
        $this->data['OpenAgentPolicy'] = $value;
187
        $this->options['form_params']['OpenAgentPolicy'] = $value;
188
189
        return $this;
190
    }
191
192
    /**
193
     * @param string $value
194
     *
195
     * @return $this
196
     */
197
    public function withOpaEnabled($value)
198
    {
199
        $this->data['OpaEnabled'] = $value;
200
        $this->options['form_params']['OpaEnabled'] = $value;
201
202
        return $this;
203
    }
204
205
    /**
206
     * @param string $value
207
     *
208
     * @return $this
209
     */
210
    public function withProxyLimitMemory($value)
211
    {
212
        $this->data['ProxyLimitMemory'] = $value;
213
        $this->options['form_params']['ProxyLimitMemory'] = $value;
214
215
        return $this;
216
    }
217
218
    /**
219
     * @param string $value
220
     *
221
     * @return $this
222
     */
223
    public function withStrictMTLS($value)
224
    {
225
        $this->data['StrictMTLS'] = $value;
226
        $this->options['form_params']['StrictMTLS'] = $value;
227
228
        return $this;
229
    }
230
231
    /**
232
     * @param string $value
233
     *
234
     * @return $this
235
     */
236
    public function withOPALogLevel($value)
237
    {
238
        $this->data['OPALogLevel'] = $value;
239
        $this->options['form_params']['OPALogLevel'] = $value;
240
241
        return $this;
242
    }
243
244
    /**
245
     * @param string $value
246
     *
247
     * @return $this
248
     */
249
    public function withExcludeIPRanges($value)
250
    {
251
        $this->data['ExcludeIPRanges'] = $value;
252
        $this->options['form_params']['ExcludeIPRanges'] = $value;
253
254
        return $this;
255
    }
256
257
    /**
258
     * @param string $value
259
     *
260
     * @return $this
261
     */
262
    public function withIstioVersion($value)
263
    {
264
        $this->data['IstioVersion'] = $value;
265
        $this->options['form_params']['IstioVersion'] = $value;
266
267
        return $this;
268
    }
269
270
    /**
271
     * @param string $value
272
     *
273
     * @return $this
274
     */
275
    public function withTracing($value)
276
    {
277
        $this->data['Tracing'] = $value;
278
        $this->options['form_params']['Tracing'] = $value;
279
280
        return $this;
281
    }
282
283
    /**
284
     * @param string $value
285
     *
286
     * @return $this
287
     */
288
    public function withIncludeIPRanges($value)
289
    {
290
        $this->data['IncludeIPRanges'] = $value;
291
        $this->options['form_params']['IncludeIPRanges'] = $value;
292
293
        return $this;
294
    }
295
296
    /**
297
     * @param string $value
298
     *
299
     * @return $this
300
     */
301
    public function withExcludeInboundPorts($value)
302
    {
303
        $this->data['ExcludeInboundPorts'] = $value;
304
        $this->options['form_params']['ExcludeInboundPorts'] = $value;
305
306
        return $this;
307
    }
308
309
    /**
310
     * @param string $value
311
     *
312
     * @return $this
313
     */
314
    public function withOPALimitMemory($value)
315
    {
316
        $this->data['OPALimitMemory'] = $value;
317
        $this->options['form_params']['OPALimitMemory'] = $value;
318
319
        return $this;
320
    }
321
322
    /**
323
     * @param string $value
324
     *
325
     * @return $this
326
     */
327
    public function withVSwitches($value)
328
    {
329
        $this->data['VSwitches'] = $value;
330
        $this->options['form_params']['VSwitches'] = $value;
331
332
        return $this;
333
    }
334
335
    /**
336
     * @param string $value
337
     *
338
     * @return $this
339
     */
340
    public function withCADisableSecretAutoGeneration($value)
341
    {
342
        $this->data['CADisableSecretAutoGeneration'] = $value;
343
        $this->options['form_params']['CADisableSecretAutoGeneration'] = $value;
344
345
        return $this;
346
    }
347
348
    /**
349
     * @param string $value
350
     *
351
     * @return $this
352
     */
353
    public function withCAListenedNamespaces($value)
354
    {
355
        $this->data['CAListenedNamespaces'] = $value;
356
        $this->options['form_params']['CAListenedNamespaces'] = $value;
357
358
        return $this;
359
    }
360
361
    /**
362
     * @param string $value
363
     *
364
     * @return $this
365
     */
366
    public function withProxyLimitCPU($value)
367
    {
368
        $this->data['ProxyLimitCPU'] = $value;
369
        $this->options['form_params']['ProxyLimitCPU'] = $value;
370
371
        return $this;
372
    }
373
374
    /**
375
     * @param string $value
376
     *
377
     * @return $this
378
     */
379
    public function withProxyRequestMemory($value)
380
    {
381
        $this->data['ProxyRequestMemory'] = $value;
382
        $this->options['form_params']['ProxyRequestMemory'] = $value;
383
384
        return $this;
385
    }
386
387
    /**
388
     * @param string $value
389
     *
390
     * @return $this
391
     */
392
    public function withName($value)
393
    {
394
        $this->data['Name'] = $value;
395
        $this->options['form_params']['Name'] = $value;
396
397
        return $this;
398
    }
399
400
    /**
401
     * @param string $value
402
     *
403
     * @return $this
404
     */
405
    public function withTelemetry($value)
406
    {
407
        $this->data['Telemetry'] = $value;
408
        $this->options['form_params']['Telemetry'] = $value;
409
410
        return $this;
411
    }
412
413
    /**
414
     * @param string $value
415
     *
416
     * @return $this
417
     */
418
    public function withOPARequestCPU($value)
419
    {
420
        $this->data['OPARequestCPU'] = $value;
421
        $this->options['form_params']['OPARequestCPU'] = $value;
422
423
        return $this;
424
    }
425
426
    /**
427
     * @param string $value
428
     *
429
     * @return $this
430
     */
431
    public function withOPARequestMemory($value)
432
    {
433
        $this->data['OPARequestMemory'] = $value;
434
        $this->options['form_params']['OPARequestMemory'] = $value;
435
436
        return $this;
437
    }
438
439
    /**
440
     * @param string $value
441
     *
442
     * @return $this
443
     */
444
    public function withEnableAudit($value)
445
    {
446
        $this->data['EnableAudit'] = $value;
447
        $this->options['form_params']['EnableAudit'] = $value;
448
449
        return $this;
450
    }
451
452
    /**
453
     * @param string $value
454
     *
455
     * @return $this
456
     */
457
    public function withClusterDomain($value)
458
    {
459
        $this->data['ClusterDomain'] = $value;
460
        $this->options['form_params']['ClusterDomain'] = $value;
461
462
        return $this;
463
    }
464
465
    /**
466
     * @param string $value
467
     *
468
     * @return $this
469
     */
470
    public function withLocalityLoadBalancing($value)
471
    {
472
        $this->data['LocalityLoadBalancing'] = $value;
473
        $this->options['form_params']['LocalityLoadBalancing'] = $value;
474
475
        return $this;
476
    }
477
478
    /**
479
     * @param string $value
480
     *
481
     * @return $this
482
     */
483
    public function withApiServerPublicEip($value)
484
    {
485
        $this->data['ApiServerPublicEip'] = $value;
486
        $this->options['form_params']['ApiServerPublicEip'] = $value;
487
488
        return $this;
489
    }
490
491
    /**
492
     * @param string $value
493
     *
494
     * @return $this
495
     */
496
    public function withTraceSampling($value)
497
    {
498
        $this->data['TraceSampling'] = $value;
499
        $this->options['form_params']['TraceSampling'] = $value;
500
501
        return $this;
502
    }
503
504
    /**
505
     * @param string $value
506
     *
507
     * @return $this
508
     */
509
    public function withAppNamespaces($value)
510
    {
511
        $this->data['AppNamespaces'] = $value;
512
        $this->options['form_params']['AppNamespaces'] = $value;
513
514
        return $this;
515
    }
516
517
    /**
518
     * @param string $value
519
     *
520
     * @return $this
521
     */
522
    public function withPilotPublicEip($value)
523
    {
524
        $this->data['PilotPublicEip'] = $value;
525
        $this->options['form_params']['PilotPublicEip'] = $value;
526
527
        return $this;
528
    }
529
530
    /**
531
     * @param string $value
532
     *
533
     * @return $this
534
     */
535
    public function withAuditProject($value)
536
    {
537
        $this->data['AuditProject'] = $value;
538
        $this->options['form_params']['AuditProject'] = $value;
539
540
        return $this;
541
    }
542
543
    /**
544
     * @param string $value
545
     *
546
     * @return $this
547
     */
548
    public function withOutboundTrafficPolicy($value)
549
    {
550
        $this->data['OutboundTrafficPolicy'] = $value;
551
        $this->options['form_params']['OutboundTrafficPolicy'] = $value;
552
553
        return $this;
554
    }
555
556
    /**
557
     * @param string $value
558
     *
559
     * @return $this
560
     */
561
    public function withVpcId($value)
562
    {
563
        $this->data['VpcId'] = $value;
564
        $this->options['form_params']['VpcId'] = $value;
565
566
        return $this;
567
    }
568
569
    /**
570
     * @param string $value
571
     *
572
     * @return $this
573
     */
574
    public function withExcludeOutboundPorts($value)
575
    {
576
        $this->data['ExcludeOutboundPorts'] = $value;
577
        $this->options['form_params']['ExcludeOutboundPorts'] = $value;
578
579
        return $this;
580
    }
581
}
582
583
/**
584
 * @method string getServiceMeshId()
585
 * @method string getForce()
586
 */
587
class DeleteServiceMesh extends Rpc
588
{
589
590
    /**
591
     * @param string $value
592
     *
593
     * @return $this
594
     */
595
    public function withServiceMeshId($value)
596
    {
597
        $this->data['ServiceMeshId'] = $value;
598
        $this->options['form_params']['ServiceMeshId'] = $value;
599
600
        return $this;
601
    }
602
603
    /**
604
     * @param string $value
605
     *
606
     * @return $this
607
     */
608
    public function withForce($value)
609
    {
610
        $this->data['Force'] = $value;
611
        $this->options['form_params']['Force'] = $value;
612
613
        return $this;
614
    }
615
}
616
617
/**
618
 * @method string getServiceMeshId()
619
 * @method $this withServiceMeshId($value)
620
 */
621
class DescribeCens extends Rpc
622
{
623
}
624
625
/**
626
 * @method string getK8sClusterId()
627
 * @method $this withK8sClusterId($value)
628
 * @method string getServiceMeshId()
629
 * @method $this withServiceMeshId($value)
630
 */
631
class DescribeClusterGrafana extends Rpc
632
{
633
}
634
635
/**
636
 * @method string getK8sClusterId()
637
 * @method $this withK8sClusterId($value)
638
 * @method string getK8sClusterRegionId()
639
 * @method $this withK8sClusterRegionId($value)
640
 * @method string getServiceMeshId()
641
 * @method $this withServiceMeshId($value)
642
 */
643
class DescribeClusterPrometheus extends Rpc
644
{
645
}
646
647
/**
648
 * @method string getServiceMeshId()
649
 * @method $this withServiceMeshId($value)
650
 */
651
class DescribeClustersInServiceMesh extends Rpc
652
{
653
}
654
655
/**
656
 * @method string getK8sClusterId()
657
 */
658
class DescribeGuestClusterAccessLogDashboards extends Rpc
659
{
660
661
    /**
662
     * @param string $value
663
     *
664
     * @return $this
665
     */
666
    public function withK8sClusterId($value)
667
    {
668
        $this->data['K8sClusterId'] = $value;
669
        $this->options['form_params']['K8sClusterId'] = $value;
670
671
        return $this;
672
    }
673
}
674
675
/**
676
 * @method string getServiceMeshId()
677
 * @method $this withServiceMeshId($value)
678
 */
679
class DescribeIngressGateways extends Rpc
680
{
681
682
    /** @var string */
683
    public $method = 'GET';
684
}
685
686
/**
687
 * @method string getServiceMeshId()
688
 */
689
class DescribeServiceMeshDetail extends Rpc
690
{
691
692
    /**
693
     * @param string $value
694
     *
695
     * @return $this
696
     */
697
    public function withServiceMeshId($value)
698
    {
699
        $this->data['ServiceMeshId'] = $value;
700
        $this->options['form_params']['ServiceMeshId'] = $value;
701
702
        return $this;
703
    }
704
}
705
706
class DescribeServiceMeshes extends Rpc
707
{
708
709
    /** @var string */
710
    public $method = 'GET';
711
}
712
713
/**
714
 * @method string getPrivateIpAddress()
715
 * @method $this withPrivateIpAddress($value)
716
 * @method string getServiceMeshId()
717
 * @method $this withServiceMeshId($value)
718
 */
719
class DescribeServiceMeshKubeconfig extends Rpc
720
{
721
}
722
723
/**
724
 * @method string getServiceMeshId()
725
 * @method $this withServiceMeshId($value)
726
 */
727
class DescribeUpgradeVersion extends Rpc
728
{
729
}
730
731
/**
732
 * @method string getServiceMeshId()
733
 * @method $this withServiceMeshId($value)
734
 */
735
class GetDiagnosis extends Rpc
736
{
737
}
738
739
/**
740
 * @method string getNamespace()
741
 * @method $this withNamespace($value)
742
 * @method string getName()
743
 * @method $this withName($value)
744
 * @method string getServiceMeshId()
745
 * @method $this withServiceMeshId($value)
746
 */
747
class GetRegisteredServiceEndpoints extends Rpc
748
{
749
}
750
751
/**
752
 * @method string getServiceMeshId()
753
 */
754
class GetRegisteredServiceNamespaces extends Rpc
755
{
756
757
    /**
758
     * @param string $value
759
     *
760
     * @return $this
761
     */
762
    public function withServiceMeshId($value)
763
    {
764
        $this->data['ServiceMeshId'] = $value;
765
        $this->options['form_params']['ServiceMeshId'] = $value;
766
767
        return $this;
768
    }
769
}
770
771
/**
772
 * @method string getNamespace()
773
 * @method $this withNamespace($value)
774
 * @method string getServiceMeshId()
775
 * @method $this withServiceMeshId($value)
776
 */
777
class GetRegisteredServices extends Rpc
778
{
779
}
780
781
/**
782
 * @method string getServiceMeshId()
783
 * @method $this withServiceMeshId($value)
784
 */
785
class GetServiceMeshSlb extends Rpc
786
{
787
}
788
789
/**
790
 * @method string getServiceMeshId()
791
 * @method $this withServiceMeshId($value)
792
 */
793
class GetVmAppMeshInfo extends Rpc
794
{
795
796
    /** @var string */
797
    public $method = 'GET';
798
}
799
800
/**
801
 * @method string getServiceAccount()
802
 * @method $this withServiceAccount($value)
803
 * @method string getTrustDomain()
804
 * @method $this withTrustDomain($value)
805
 * @method string getNamespace()
806
 * @method $this withNamespace($value)
807
 * @method string getServiceMeshId()
808
 * @method $this withServiceMeshId($value)
809
 */
810
class GetVmMeta extends Rpc
811
{
812
813
    /** @var string */
814
    public $method = 'GET';
815
}
816
817
/**
818
 * @method string getClusterId()
819
 * @method string getServiceMeshId()
820
 */
821
class RemoveClusterFromServiceMesh extends Rpc
822
{
823
824
    /**
825
     * @param string $value
826
     *
827
     * @return $this
828
     */
829
    public function withClusterId($value)
830
    {
831
        $this->data['ClusterId'] = $value;
832
        $this->options['form_params']['ClusterId'] = $value;
833
834
        return $this;
835
    }
836
837
    /**
838
     * @param string $value
839
     *
840
     * @return $this
841
     */
842
    public function withServiceMeshId($value)
843
    {
844
        $this->data['ServiceMeshId'] = $value;
845
        $this->options['form_params']['ServiceMeshId'] = $value;
846
847
        return $this;
848
    }
849
}
850
851
/**
852
 * @method string getNamespace()
853
 * @method $this withNamespace($value)
854
 * @method string getServiceMeshId()
855
 * @method $this withServiceMeshId($value)
856
 * @method string getServiceName()
857
 * @method $this withServiceName($value)
858
 */
859
class RemoveVmAppFromMesh extends Rpc
860
{
861
}
862
863
/**
864
 * @method string getServiceMeshId()
865
 */
866
class RunDiagnosis extends Rpc
867
{
868
869
    /**
870
     * @param string $value
871
     *
872
     * @return $this
873
     */
874
    public function withServiceMeshId($value)
875
    {
876
        $this->data['ServiceMeshId'] = $value;
877
        $this->options['form_params']['ServiceMeshId'] = $value;
878
879
        return $this;
880
    }
881
}
882
883
/**
884
 * @method string getEnableIstioInjection()
885
 * @method string getNamespace()
886
 * @method string getServiceMeshId()
887
 */
888
class UpdateIstioInjectionConfig extends Rpc
889
{
890
891
    /**
892
     * @param string $value
893
     *
894
     * @return $this
895
     */
896
    public function withEnableIstioInjection($value)
897
    {
898
        $this->data['EnableIstioInjection'] = $value;
899
        $this->options['form_params']['EnableIstioInjection'] = $value;
900
901
        return $this;
902
    }
903
904
    /**
905
     * @param string $value
906
     *
907
     * @return $this
908
     */
909
    public function withNamespace($value)
910
    {
911
        $this->data['Namespace'] = $value;
912
        $this->options['form_params']['Namespace'] = $value;
913
914
        return $this;
915
    }
916
917
    /**
918
     * @param string $value
919
     *
920
     * @return $this
921
     */
922
    public function withServiceMeshId($value)
923
    {
924
        $this->data['ServiceMeshId'] = $value;
925
        $this->options['form_params']['ServiceMeshId'] = $value;
926
927
        return $this;
928
    }
929
}
930
931
/**
932
 * @method string getProxyRequestCPU()
933
 * @method string getOPALimitCPU()
934
 * @method string getOpenAgentPolicy()
935
 * @method string getOpaEnabled()
936
 * @method string getProxyLimitMemory()
937
 * @method string getCniExcludeNamespaces()
938
 * @method string getOPALogLevel()
939
 * @method string getCustomizedZipkin()
940
 * @method string getSidecarInjectorRequestCPU()
941
 * @method string getCniEnabled()
942
 * @method string getTracing()
943
 * @method string getIncludeIPRanges()
944
 * @method string getOPALimitMemory()
945
 * @method string getCADisableSecretAutoGeneration()
946
 * @method string getCAListenedNamespaces()
947
 * @method string getProxyLimitCPU()
948
 * @method string getProxyRequestMemory()
949
 * @method string getTelemetry()
950
 * @method string getOPARequestCPU()
951
 * @method string getSidecarInjectorWebhookAsYaml()
952
 * @method string getOPARequestMemory()
953
 * @method string getAutoInjectionPolicyEnabled()
954
 * @method string getSidecarInjectorLimitMemory()
955
 * @method string getEnableAudit()
956
 * @method string getClusterDomain()
957
 * @method string getSidecarInjectorRequestMemory()
958
 * @method string getServiceMeshId()
959
 * @method string getLocalityLoadBalancing()
960
 * @method string getSidecarInjectorLimitCPU()
961
 * @method string getTraceSampling()
962
 * @method string getHttp10Enabled()
963
 * @method string getAppNamespaces()
964
 * @method string getPilotPublicEip()
965
 * @method string getAuditProject()
966
 * @method string getOutboundTrafficPolicy()
967
 * @method string getEnableNamespacesByDefault()
968
 */
969
class UpdateMeshFeature extends Rpc
970
{
971
972
    /**
973
     * @param string $value
974
     *
975
     * @return $this
976
     */
977
    public function withProxyRequestCPU($value)
978
    {
979
        $this->data['ProxyRequestCPU'] = $value;
980
        $this->options['form_params']['ProxyRequestCPU'] = $value;
981
982
        return $this;
983
    }
984
985
    /**
986
     * @param string $value
987
     *
988
     * @return $this
989
     */
990
    public function withOPALimitCPU($value)
991
    {
992
        $this->data['OPALimitCPU'] = $value;
993
        $this->options['form_params']['OPALimitCPU'] = $value;
994
995
        return $this;
996
    }
997
998
    /**
999
     * @param string $value
1000
     *
1001
     * @return $this
1002
     */
1003
    public function withOpenAgentPolicy($value)
1004
    {
1005
        $this->data['OpenAgentPolicy'] = $value;
1006
        $this->options['form_params']['OpenAgentPolicy'] = $value;
1007
1008
        return $this;
1009
    }
1010
1011
    /**
1012
     * @param string $value
1013
     *
1014
     * @return $this
1015
     */
1016
    public function withOpaEnabled($value)
1017
    {
1018
        $this->data['OpaEnabled'] = $value;
1019
        $this->options['form_params']['OpaEnabled'] = $value;
1020
1021
        return $this;
1022
    }
1023
1024
    /**
1025
     * @param string $value
1026
     *
1027
     * @return $this
1028
     */
1029
    public function withProxyLimitMemory($value)
1030
    {
1031
        $this->data['ProxyLimitMemory'] = $value;
1032
        $this->options['form_params']['ProxyLimitMemory'] = $value;
1033
1034
        return $this;
1035
    }
1036
1037
    /**
1038
     * @param string $value
1039
     *
1040
     * @return $this
1041
     */
1042
    public function withCniExcludeNamespaces($value)
1043
    {
1044
        $this->data['CniExcludeNamespaces'] = $value;
1045
        $this->options['form_params']['CniExcludeNamespaces'] = $value;
1046
1047
        return $this;
1048
    }
1049
1050
    /**
1051
     * @param string $value
1052
     *
1053
     * @return $this
1054
     */
1055
    public function withOPALogLevel($value)
1056
    {
1057
        $this->data['OPALogLevel'] = $value;
1058
        $this->options['form_params']['OPALogLevel'] = $value;
1059
1060
        return $this;
1061
    }
1062
1063
    /**
1064
     * @param string $value
1065
     *
1066
     * @return $this
1067
     */
1068
    public function withCustomizedZipkin($value)
1069
    {
1070
        $this->data['CustomizedZipkin'] = $value;
1071
        $this->options['form_params']['CustomizedZipkin'] = $value;
1072
1073
        return $this;
1074
    }
1075
1076
    /**
1077
     * @param string $value
1078
     *
1079
     * @return $this
1080
     */
1081
    public function withSidecarInjectorRequestCPU($value)
1082
    {
1083
        $this->data['SidecarInjectorRequestCPU'] = $value;
1084
        $this->options['form_params']['SidecarInjectorRequestCPU'] = $value;
1085
1086
        return $this;
1087
    }
1088
1089
    /**
1090
     * @param string $value
1091
     *
1092
     * @return $this
1093
     */
1094
    public function withCniEnabled($value)
1095
    {
1096
        $this->data['CniEnabled'] = $value;
1097
        $this->options['form_params']['CniEnabled'] = $value;
1098
1099
        return $this;
1100
    }
1101
1102
    /**
1103
     * @param string $value
1104
     *
1105
     * @return $this
1106
     */
1107
    public function withTracing($value)
1108
    {
1109
        $this->data['Tracing'] = $value;
1110
        $this->options['form_params']['Tracing'] = $value;
1111
1112
        return $this;
1113
    }
1114
1115
    /**
1116
     * @param string $value
1117
     *
1118
     * @return $this
1119
     */
1120
    public function withIncludeIPRanges($value)
1121
    {
1122
        $this->data['IncludeIPRanges'] = $value;
1123
        $this->options['form_params']['IncludeIPRanges'] = $value;
1124
1125
        return $this;
1126
    }
1127
1128
    /**
1129
     * @param string $value
1130
     *
1131
     * @return $this
1132
     */
1133
    public function withOPALimitMemory($value)
1134
    {
1135
        $this->data['OPALimitMemory'] = $value;
1136
        $this->options['form_params']['OPALimitMemory'] = $value;
1137
1138
        return $this;
1139
    }
1140
1141
    /**
1142
     * @param string $value
1143
     *
1144
     * @return $this
1145
     */
1146
    public function withCADisableSecretAutoGeneration($value)
1147
    {
1148
        $this->data['CADisableSecretAutoGeneration'] = $value;
1149
        $this->options['form_params']['CADisableSecretAutoGeneration'] = $value;
1150
1151
        return $this;
1152
    }
1153
1154
    /**
1155
     * @param string $value
1156
     *
1157
     * @return $this
1158
     */
1159
    public function withCAListenedNamespaces($value)
1160
    {
1161
        $this->data['CAListenedNamespaces'] = $value;
1162
        $this->options['form_params']['CAListenedNamespaces'] = $value;
1163
1164
        return $this;
1165
    }
1166
1167
    /**
1168
     * @param string $value
1169
     *
1170
     * @return $this
1171
     */
1172
    public function withProxyLimitCPU($value)
1173
    {
1174
        $this->data['ProxyLimitCPU'] = $value;
1175
        $this->options['form_params']['ProxyLimitCPU'] = $value;
1176
1177
        return $this;
1178
    }
1179
1180
    /**
1181
     * @param string $value
1182
     *
1183
     * @return $this
1184
     */
1185
    public function withProxyRequestMemory($value)
1186
    {
1187
        $this->data['ProxyRequestMemory'] = $value;
1188
        $this->options['form_params']['ProxyRequestMemory'] = $value;
1189
1190
        return $this;
1191
    }
1192
1193
    /**
1194
     * @param string $value
1195
     *
1196
     * @return $this
1197
     */
1198
    public function withTelemetry($value)
1199
    {
1200
        $this->data['Telemetry'] = $value;
1201
        $this->options['form_params']['Telemetry'] = $value;
1202
1203
        return $this;
1204
    }
1205
1206
    /**
1207
     * @param string $value
1208
     *
1209
     * @return $this
1210
     */
1211
    public function withOPARequestCPU($value)
1212
    {
1213
        $this->data['OPARequestCPU'] = $value;
1214
        $this->options['form_params']['OPARequestCPU'] = $value;
1215
1216
        return $this;
1217
    }
1218
1219
    /**
1220
     * @param string $value
1221
     *
1222
     * @return $this
1223
     */
1224
    public function withSidecarInjectorWebhookAsYaml($value)
1225
    {
1226
        $this->data['SidecarInjectorWebhookAsYaml'] = $value;
1227
        $this->options['form_params']['SidecarInjectorWebhookAsYaml'] = $value;
1228
1229
        return $this;
1230
    }
1231
1232
    /**
1233
     * @param string $value
1234
     *
1235
     * @return $this
1236
     */
1237
    public function withOPARequestMemory($value)
1238
    {
1239
        $this->data['OPARequestMemory'] = $value;
1240
        $this->options['form_params']['OPARequestMemory'] = $value;
1241
1242
        return $this;
1243
    }
1244
1245
    /**
1246
     * @param string $value
1247
     *
1248
     * @return $this
1249
     */
1250
    public function withAutoInjectionPolicyEnabled($value)
1251
    {
1252
        $this->data['AutoInjectionPolicyEnabled'] = $value;
1253
        $this->options['form_params']['AutoInjectionPolicyEnabled'] = $value;
1254
1255
        return $this;
1256
    }
1257
1258
    /**
1259
     * @param string $value
1260
     *
1261
     * @return $this
1262
     */
1263
    public function withSidecarInjectorLimitMemory($value)
1264
    {
1265
        $this->data['SidecarInjectorLimitMemory'] = $value;
1266
        $this->options['form_params']['SidecarInjectorLimitMemory'] = $value;
1267
1268
        return $this;
1269
    }
1270
1271
    /**
1272
     * @param string $value
1273
     *
1274
     * @return $this
1275
     */
1276
    public function withEnableAudit($value)
1277
    {
1278
        $this->data['EnableAudit'] = $value;
1279
        $this->options['form_params']['EnableAudit'] = $value;
1280
1281
        return $this;
1282
    }
1283
1284
    /**
1285
     * @param string $value
1286
     *
1287
     * @return $this
1288
     */
1289
    public function withClusterDomain($value)
1290
    {
1291
        $this->data['ClusterDomain'] = $value;
1292
        $this->options['form_params']['ClusterDomain'] = $value;
1293
1294
        return $this;
1295
    }
1296
1297
    /**
1298
     * @param string $value
1299
     *
1300
     * @return $this
1301
     */
1302
    public function withSidecarInjectorRequestMemory($value)
1303
    {
1304
        $this->data['SidecarInjectorRequestMemory'] = $value;
1305
        $this->options['form_params']['SidecarInjectorRequestMemory'] = $value;
1306
1307
        return $this;
1308
    }
1309
1310
    /**
1311
     * @param string $value
1312
     *
1313
     * @return $this
1314
     */
1315
    public function withServiceMeshId($value)
1316
    {
1317
        $this->data['ServiceMeshId'] = $value;
1318
        $this->options['form_params']['ServiceMeshId'] = $value;
1319
1320
        return $this;
1321
    }
1322
1323
    /**
1324
     * @param string $value
1325
     *
1326
     * @return $this
1327
     */
1328
    public function withLocalityLoadBalancing($value)
1329
    {
1330
        $this->data['LocalityLoadBalancing'] = $value;
1331
        $this->options['form_params']['LocalityLoadBalancing'] = $value;
1332
1333
        return $this;
1334
    }
1335
1336
    /**
1337
     * @param string $value
1338
     *
1339
     * @return $this
1340
     */
1341
    public function withSidecarInjectorLimitCPU($value)
1342
    {
1343
        $this->data['SidecarInjectorLimitCPU'] = $value;
1344
        $this->options['form_params']['SidecarInjectorLimitCPU'] = $value;
1345
1346
        return $this;
1347
    }
1348
1349
    /**
1350
     * @param string $value
1351
     *
1352
     * @return $this
1353
     */
1354
    public function withTraceSampling($value)
1355
    {
1356
        $this->data['TraceSampling'] = $value;
1357
        $this->options['form_params']['TraceSampling'] = $value;
1358
1359
        return $this;
1360
    }
1361
1362
    /**
1363
     * @param string $value
1364
     *
1365
     * @return $this
1366
     */
1367
    public function withHttp10Enabled($value)
1368
    {
1369
        $this->data['Http10Enabled'] = $value;
1370
        $this->options['form_params']['Http10Enabled'] = $value;
1371
1372
        return $this;
1373
    }
1374
1375
    /**
1376
     * @param string $value
1377
     *
1378
     * @return $this
1379
     */
1380
    public function withAppNamespaces($value)
1381
    {
1382
        $this->data['AppNamespaces'] = $value;
1383
        $this->options['form_params']['AppNamespaces'] = $value;
1384
1385
        return $this;
1386
    }
1387
1388
    /**
1389
     * @param string $value
1390
     *
1391
     * @return $this
1392
     */
1393
    public function withPilotPublicEip($value)
1394
    {
1395
        $this->data['PilotPublicEip'] = $value;
1396
        $this->options['form_params']['PilotPublicEip'] = $value;
1397
1398
        return $this;
1399
    }
1400
1401
    /**
1402
     * @param string $value
1403
     *
1404
     * @return $this
1405
     */
1406
    public function withAuditProject($value)
1407
    {
1408
        $this->data['AuditProject'] = $value;
1409
        $this->options['form_params']['AuditProject'] = $value;
1410
1411
        return $this;
1412
    }
1413
1414
    /**
1415
     * @param string $value
1416
     *
1417
     * @return $this
1418
     */
1419
    public function withOutboundTrafficPolicy($value)
1420
    {
1421
        $this->data['OutboundTrafficPolicy'] = $value;
1422
        $this->options['form_params']['OutboundTrafficPolicy'] = $value;
1423
1424
        return $this;
1425
    }
1426
1427
    /**
1428
     * @param string $value
1429
     *
1430
     * @return $this
1431
     */
1432
    public function withEnableNamespacesByDefault($value)
1433
    {
1434
        $this->data['EnableNamespacesByDefault'] = $value;
1435
        $this->options['form_params']['EnableNamespacesByDefault'] = $value;
1436
1437
        return $this;
1438
    }
1439
}
1440
1441
/**
1442
 * @method string getServiceMeshId()
1443
 * @method $this withServiceMeshId($value)
1444
 */
1445
class UpgradeMeshVersion extends Rpc
1446
{
1447
}
1448