1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\CS\V20151215; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\ApiResolverTrait; |
6
|
|
|
use AlibabaCloud\Roa; |
7
|
|
|
|
8
|
|
|
/** |
9
|
|
|
* Resolve Api based on the method name. |
10
|
|
|
* |
11
|
|
|
* @method ScaleOutCluster scaleOutCluster(array $options = []) |
12
|
|
|
* @method DescribeKubernetesVersionMetadata describeKubernetesVersionMetadata(array $options = []) |
13
|
|
|
* @method DeleteClusterTags deleteClusterTags(array $options = []) |
14
|
|
|
* @method ModifyClusterTags modifyClusterTags(array $options = []) |
15
|
|
|
* @method DeleteClusterNodes deleteClusterNodes(array $options = []) |
16
|
|
|
* @method DescribeEdgeClusterAttachScripts describeEdgeClusterAttachScripts(array $options = []) |
17
|
|
|
* @method UpdateClusterKubenetesVersion updateClusterKubenetesVersion(array $options = []) |
18
|
|
|
* @method DescribeClusterEndpoint describeClusterEndpoint(array $options = []) |
19
|
|
|
* @method DescribeClusterUserKubeconfig describeClusterUserKubeconfig(array $options = []) |
20
|
|
|
* @method DescribeClusterEndpoints describeClusterEndpoints(array $options = []) |
21
|
|
|
* @method DescribeClusterLogs describeClusterLogs(array $options = []) |
22
|
|
|
* @method DescribeClusterNodes describeClusterNodes(array $options = []) |
23
|
|
|
* @method CheckAliyunCSServiceRole checkAliyunCSServiceRole(array $options = []) |
24
|
|
|
* @method RevokeTrigger revokeTrigger(array $options = []) |
25
|
|
|
* @method CreateTrigger createTrigger(array $options = []) |
26
|
|
|
* @method DeleteTrigger deleteTrigger(array $options = []) |
27
|
|
|
* @method DescribeTrigger describeTrigger(array $options = []) |
28
|
|
|
* @method UpgradeClusterAgent upgradeClusterAgent(array $options = []) |
29
|
|
|
* @method UpdateSharedServices updateSharedServices(array $options = []) |
30
|
|
|
* @method UpdateClusterDockerVersion updateClusterDockerVersion(array $options = []) |
31
|
|
|
* @method UpdateController updateController(array $options = []) |
32
|
|
|
* @method UpdateControllers updateControllers(array $options = []) |
33
|
|
|
* @method UpdateRamPolicy updateRamPolicy(array $options = []) |
34
|
|
|
* @method UpdateSharedService updateSharedService(array $options = []) |
35
|
|
|
* @method RevokeTriggerHook revokeTriggerHook(array $options = []) |
36
|
|
|
* @method UnBindSLB unBindSLB(array $options = []) |
37
|
|
|
* @method UpdateAutoScale updateAutoScale(array $options = []) |
38
|
|
|
* @method UpdateClusterAgentVersion updateClusterAgentVersion(array $options = []) |
39
|
|
|
* @method RecoverController recoverController(array $options = []) |
40
|
|
|
* @method RecoverControllers recoverControllers(array $options = []) |
41
|
|
|
* @method ReDeploySharedService reDeploySharedService(array $options = []) |
42
|
|
|
* @method ResetClusterNode resetClusterNode(array $options = []) |
43
|
|
|
* @method RevokeClusterCerts revokeClusterCerts(array $options = []) |
44
|
|
|
* @method LoginAliyunHub loginAliyunHub(array $options = []) |
45
|
|
|
* @method ProbeTriggerHook probeTriggerHook(array $options = []) |
46
|
|
|
* @method PushMonitoringData pushMonitoringData(array $options = []) |
47
|
|
|
* @method DescribeUserResourceDomain describeUserResourceDomain(array $options = []) |
48
|
|
|
* @method DescribeUserResources describeUserResources(array $options = []) |
49
|
|
|
* @method DescribeVxlanPortsRules describeVxlanPortsRules(array $options = []) |
50
|
|
|
* @method FixSecurityGroup fixSecurityGroup(array $options = []) |
51
|
|
|
* @method DescribeTriggerHookStatus describeTriggerHookStatus(array $options = []) |
52
|
|
|
* @method DescribeUserInstances describeUserInstances(array $options = []) |
53
|
|
|
* @method DescribeUserIoOptimizedInstances describeUserIoOptimizedInstances(array $options = []) |
54
|
|
|
* @method DescribeUserQuota describeUserQuota(array $options = []) |
55
|
|
|
* @method DescribeClusterVxlanPortRule describeClusterVxlanPortRule(array $options = []) |
56
|
|
|
* @method DescribeRamUsers describeRamUsers(array $options = []) |
57
|
|
|
* @method DescribeRegionImages describeRegionImages(array $options = []) |
58
|
|
|
* @method DescribeRegionSharedServices describeRegionSharedServices(array $options = []) |
59
|
|
|
* @method DescribeClusterSharedServices describeClusterSharedServices(array $options = []) |
60
|
|
|
* @method DescribeClusterSnapshots describeClusterSnapshots(array $options = []) |
61
|
|
|
* @method DescribeClusterStatus describeClusterStatus(array $options = []) |
62
|
|
|
* @method DescribeClusterAutoScale describeClusterAutoScale(array $options = []) |
63
|
|
|
* @method DescribeClusterCRL describeClusterCRL(array $options = []) |
64
|
|
|
* @method DescribeClusterExtInfo describeClusterExtInfo(array $options = []) |
65
|
|
|
* @method DeleteAutoScale deleteAutoScale(array $options = []) |
66
|
|
|
* @method DeployEMLSolution deployEMLSolution(array $options = []) |
67
|
|
|
* @method DeploySharedService deploySharedService(array $options = []) |
68
|
|
|
* @method DescribeAgentVersions describeAgentVersions(array $options = []) |
69
|
|
|
* @method CreateAutoScale createAutoScale(array $options = []) |
70
|
|
|
* @method CreateMonitoringUser createMonitoringUser(array $options = []) |
71
|
|
|
* @method CreateTriggerHook createTriggerHook(array $options = []) |
72
|
|
|
* @method CleanUpETCD cleanUpETCD(array $options = []) |
73
|
|
|
* @method BindSLB bindSLB(array $options = []) |
74
|
|
|
* @method CheckSecurityGroup checkSecurityGroup(array $options = []) |
75
|
|
|
* @method CleanUpControllerEvent cleanUpControllerEvent(array $options = []) |
76
|
|
|
* @method BatchUpdateSharedService batchUpdateSharedService(array $options = []) |
77
|
|
|
* @method DeleteClusterNode deleteClusterNode(array $options = []) |
78
|
|
|
* @method DownloadClusterNodeCerts downloadClusterNodeCerts(array $options = []) |
79
|
|
|
* @method RevokeClusterToken revokeClusterToken(array $options = []) |
80
|
|
|
* @method AttachInstances attachInstances(array $options = []) |
81
|
|
|
* @method DescribeUserServices describeUserServices(array $options = []) |
82
|
|
|
* @method DescribeApiVersion describeApiVersion(array $options = []) |
83
|
|
|
* @method DeleteCluster deleteCluster(array $options = []) |
84
|
|
|
* @method DescribeClusterCerts describeClusterCerts(array $options = []) |
85
|
|
|
* @method DescribeClusterDetail describeClusterDetail(array $options = []) |
86
|
|
|
* @method DescribeClusters describeClusters(array $options = []) |
87
|
|
|
* @method ScaleCluster scaleCluster(array $options = []) |
88
|
|
|
* @method CreateCluster createCluster(array $options = []) |
89
|
|
|
*/ |
90
|
|
|
class CSApiResolver |
91
|
|
|
{ |
92
|
|
|
use ApiResolverTrait; |
93
|
|
|
} |
94
|
|
|
|
95
|
|
|
class V20151215Roa extends Roa |
96
|
|
|
{ |
97
|
|
|
/** @var string */ |
98
|
|
|
public $product = 'CS'; |
99
|
|
|
|
100
|
|
|
/** @var string */ |
101
|
|
|
public $version = '2015-12-15'; |
102
|
|
|
|
103
|
|
|
/** @var string */ |
104
|
|
|
public $serviceCode = 'cs'; |
105
|
|
|
} |
106
|
|
|
|
107
|
|
|
/** |
108
|
|
|
* @method string getClusterId() |
109
|
|
|
* @method $this withClusterId($value) |
110
|
|
|
*/ |
111
|
|
|
class ScaleOutCluster extends V20151215Roa |
112
|
|
|
{ |
113
|
|
|
/** @var string */ |
114
|
|
|
public $pathPattern = '/api/v2/clusters/[ClusterId]'; |
115
|
|
|
|
116
|
|
|
/** @var string */ |
117
|
|
|
public $method = 'POST'; |
118
|
|
|
} |
119
|
|
|
|
120
|
|
|
/** |
121
|
|
|
* @method string getClusterType() |
122
|
|
|
* @method string getMultiAZ() |
123
|
|
|
* @method string getKubernetesVersion() |
124
|
|
|
* @method string getRegion() |
125
|
|
|
*/ |
126
|
|
|
class DescribeKubernetesVersionMetadata extends V20151215Roa |
127
|
|
|
{ |
128
|
|
|
/** @var string */ |
129
|
|
|
public $pathPattern = '/api/v1/metadata/versions'; |
130
|
|
|
|
131
|
|
|
/** |
132
|
|
|
* @param string $value |
133
|
|
|
* |
134
|
|
|
* @return $this |
135
|
|
|
*/ |
136
|
|
|
public function withClusterType($value) |
137
|
|
|
{ |
138
|
|
|
$this->data['ClusterType'] = $value; |
139
|
|
|
$this->options['query']['ClusterType'] = $value; |
140
|
|
|
|
141
|
|
|
return $this; |
142
|
|
|
} |
143
|
|
|
|
144
|
|
|
/** |
145
|
|
|
* @param string $value |
146
|
|
|
* |
147
|
|
|
* @return $this |
148
|
|
|
*/ |
149
|
|
|
public function withMultiAZ($value) |
150
|
|
|
{ |
151
|
|
|
$this->data['MultiAZ'] = $value; |
152
|
|
|
$this->options['query']['MultiAZ'] = $value; |
153
|
|
|
|
154
|
|
|
return $this; |
155
|
|
|
} |
156
|
|
|
|
157
|
|
|
/** |
158
|
|
|
* @param string $value |
159
|
|
|
* |
160
|
|
|
* @return $this |
161
|
|
|
*/ |
162
|
|
|
public function withKubernetesVersion($value) |
163
|
|
|
{ |
164
|
|
|
$this->data['KubernetesVersion'] = $value; |
165
|
|
|
$this->options['query']['KubernetesVersion'] = $value; |
166
|
|
|
|
167
|
|
|
return $this; |
168
|
|
|
} |
169
|
|
|
|
170
|
|
|
/** |
171
|
|
|
* @param string $value |
172
|
|
|
* |
173
|
|
|
* @return $this |
174
|
|
|
*/ |
175
|
|
|
public function withRegion($value) |
176
|
|
|
{ |
177
|
|
|
$this->data['Region'] = $value; |
178
|
|
|
$this->options['query']['Region'] = $value; |
179
|
|
|
|
180
|
|
|
return $this; |
181
|
|
|
} |
182
|
|
|
} |
183
|
|
|
|
184
|
|
|
/** |
185
|
|
|
* @method string getClusterId() |
186
|
|
|
* @method $this withClusterId($value) |
187
|
|
|
*/ |
188
|
|
|
class DeleteClusterTags extends V20151215Roa |
189
|
|
|
{ |
190
|
|
|
/** @var string */ |
191
|
|
|
public $pathPattern = '/clusters/[ClusterId]/tags'; |
192
|
|
|
|
193
|
|
|
/** @var string */ |
194
|
|
|
public $method = 'DELETE'; |
195
|
|
|
} |
196
|
|
|
|
197
|
|
|
/** |
198
|
|
|
* @method string getClusterId() |
199
|
|
|
* @method $this withClusterId($value) |
200
|
|
|
*/ |
201
|
|
|
class ModifyClusterTags extends V20151215Roa |
202
|
|
|
{ |
203
|
|
|
/** @var string */ |
204
|
|
|
public $pathPattern = '/clusters/[ClusterId]/tags'; |
205
|
|
|
|
206
|
|
|
/** @var string */ |
207
|
|
|
public $method = 'POST'; |
208
|
|
|
} |
209
|
|
|
|
210
|
|
|
/** |
211
|
|
|
* @method string getClusterId() |
212
|
|
|
* @method $this withClusterId($value) |
213
|
|
|
*/ |
214
|
|
|
class DeleteClusterNodes extends V20151215Roa |
215
|
|
|
{ |
216
|
|
|
/** @var string */ |
217
|
|
|
public $pathPattern = '/clusters/[ClusterId]/nodes'; |
218
|
|
|
|
219
|
|
|
/** @var string */ |
220
|
|
|
public $method = 'POST'; |
221
|
|
|
} |
222
|
|
|
|
223
|
|
|
/** |
224
|
|
|
* @method string getClusterId() |
225
|
|
|
* @method $this withClusterId($value) |
226
|
|
|
* @method string getNamePrefix() |
227
|
|
|
*/ |
228
|
|
|
class DescribeEdgeClusterAttachScripts extends V20151215Roa |
229
|
|
|
{ |
230
|
|
|
/** @var string */ |
231
|
|
|
public $pathPattern = '/clusters/[ClusterId]/attachscript'; |
232
|
|
|
|
233
|
|
|
/** |
234
|
|
|
* @param string $value |
235
|
|
|
* |
236
|
|
|
* @return $this |
237
|
|
|
*/ |
238
|
|
|
public function withNamePrefix($value) |
239
|
|
|
{ |
240
|
|
|
$this->data['NamePrefix'] = $value; |
241
|
|
|
$this->options['query']['NamePrefix'] = $value; |
242
|
|
|
|
243
|
|
|
return $this; |
244
|
|
|
} |
245
|
|
|
} |
246
|
|
|
|
247
|
|
|
/** |
248
|
|
|
* @method string getClusterId() |
249
|
|
|
* @method $this withClusterId($value) |
250
|
|
|
*/ |
251
|
|
|
class UpdateClusterKubenetesVersion extends V20151215Roa |
252
|
|
|
{ |
253
|
|
|
/** @var string */ |
254
|
|
|
public $pathPattern = '/clusters/[ClusterId]/components/Kubernetes/upgrade'; |
255
|
|
|
|
256
|
|
|
/** @var string */ |
257
|
|
|
public $method = 'POST'; |
258
|
|
|
} |
259
|
|
|
|
260
|
|
|
/** |
261
|
|
|
* @method string getClusterId() |
262
|
|
|
* @method $this withClusterId($value) |
263
|
|
|
*/ |
264
|
|
|
class DescribeClusterEndpoint extends V20151215Roa |
265
|
|
|
{ |
266
|
|
|
/** @var string */ |
267
|
|
|
public $pathPattern = '/clusters/[ClusterId]/endpoint'; |
268
|
|
|
} |
269
|
|
|
|
270
|
|
|
/** |
271
|
|
|
* @method string getPrivateIpAddress() |
272
|
|
|
* @method string getClusterId() |
273
|
|
|
* @method $this withClusterId($value) |
274
|
|
|
*/ |
275
|
|
|
class DescribeClusterUserKubeconfig extends V20151215Roa |
276
|
|
|
{ |
277
|
|
|
/** @var string */ |
278
|
|
|
public $pathPattern = '/k8s/[ClusterId]/user_config'; |
279
|
|
|
|
280
|
|
|
/** |
281
|
|
|
* @param string $value |
282
|
|
|
* |
283
|
|
|
* @return $this |
284
|
|
|
*/ |
285
|
|
|
public function withPrivateIpAddress($value) |
286
|
|
|
{ |
287
|
|
|
$this->data['PrivateIpAddress'] = $value; |
288
|
|
|
$this->options['query']['PrivateIpAddress'] = $value; |
289
|
|
|
|
290
|
|
|
return $this; |
291
|
|
|
} |
292
|
|
|
} |
293
|
|
|
|
294
|
|
|
/** |
295
|
|
|
* @method string getClusterId() |
296
|
|
|
* @method $this withClusterId($value) |
297
|
|
|
*/ |
298
|
|
|
class DescribeClusterEndpoints extends V20151215Roa |
299
|
|
|
{ |
300
|
|
|
/** @var string */ |
301
|
|
|
public $pathPattern = '/clusters/[ClusterId]/endpoints'; |
302
|
|
|
} |
303
|
|
|
|
304
|
|
|
/** |
305
|
|
|
* @method string getClusterId() |
306
|
|
|
* @method $this withClusterId($value) |
307
|
|
|
*/ |
308
|
|
|
class DescribeClusterLogs extends V20151215Roa |
309
|
|
|
{ |
310
|
|
|
/** @var string */ |
311
|
|
|
public $pathPattern = '/clusters/[ClusterId]/logs'; |
312
|
|
|
} |
313
|
|
|
|
314
|
|
|
/** |
315
|
|
|
* @method string getPageSize() |
316
|
|
|
* @method string getClusterId() |
317
|
|
|
* @method $this withClusterId($value) |
318
|
|
|
* @method string getPageNumber() |
319
|
|
|
*/ |
320
|
|
|
class DescribeClusterNodes extends V20151215Roa |
321
|
|
|
{ |
322
|
|
|
/** @var string */ |
323
|
|
|
public $pathPattern = '/clusters/[ClusterId]/nodes'; |
324
|
|
|
|
325
|
|
|
/** |
326
|
|
|
* @param string $value |
327
|
|
|
* |
328
|
|
|
* @return $this |
329
|
|
|
*/ |
330
|
|
|
public function withPageSize($value) |
331
|
|
|
{ |
332
|
|
|
$this->data['PageSize'] = $value; |
333
|
|
|
$this->options['query']['pageSize'] = $value; |
334
|
|
|
|
335
|
|
|
return $this; |
336
|
|
|
} |
337
|
|
|
|
338
|
|
|
/** |
339
|
|
|
* @param string $value |
340
|
|
|
* |
341
|
|
|
* @return $this |
342
|
|
|
*/ |
343
|
|
|
public function withPageNumber($value) |
344
|
|
|
{ |
345
|
|
|
$this->data['PageNumber'] = $value; |
346
|
|
|
$this->options['query']['pageNumber'] = $value; |
347
|
|
|
|
348
|
|
|
return $this; |
349
|
|
|
} |
350
|
|
|
} |
351
|
|
|
|
352
|
|
|
class CheckAliyunCSServiceRole extends V20151215Roa |
353
|
|
|
{ |
354
|
|
|
/** @var string */ |
355
|
|
|
public $pathPattern = '/aliyuncsrole/status'; |
356
|
|
|
} |
357
|
|
|
|
358
|
|
|
/** |
359
|
|
|
* @method string getActionType() |
360
|
|
|
* @method $this withActionType($value) |
361
|
|
|
* @method string getClusterId() |
362
|
|
|
* @method $this withClusterId($value) |
363
|
|
|
*/ |
364
|
|
|
class RevokeTrigger extends V20151215Roa |
365
|
|
|
{ |
366
|
|
|
/** @var string */ |
367
|
|
|
public $pathPattern = '/clusters/[ClusterId]/trigger/[ActionType]/'; |
368
|
|
|
|
369
|
|
|
/** @var string */ |
370
|
|
|
public $method = 'DELETE'; |
371
|
|
|
} |
372
|
|
|
|
373
|
|
|
/** |
374
|
|
|
* @method string getClusterId() |
375
|
|
|
* @method $this withClusterId($value) |
376
|
|
|
*/ |
377
|
|
|
class CreateTrigger extends V20151215Roa |
378
|
|
|
{ |
379
|
|
|
/** @var string */ |
380
|
|
|
public $pathPattern = '/clusters/[ClusterId]/trigger/'; |
381
|
|
|
|
382
|
|
|
/** @var string */ |
383
|
|
|
public $method = 'POST'; |
384
|
|
|
} |
385
|
|
|
|
386
|
|
|
/** |
387
|
|
|
* @method string getClusterId() |
388
|
|
|
* @method $this withClusterId($value) |
389
|
|
|
* @method string getApplicationId() |
390
|
|
|
* @method $this withApplicationId($value) |
391
|
|
|
*/ |
392
|
|
|
class DeleteTrigger extends V20151215Roa |
393
|
|
|
{ |
394
|
|
|
/** @var string */ |
395
|
|
|
public $pathPattern = '/clusters/[ClusterId]/trigger/[ApplicationId]'; |
396
|
|
|
|
397
|
|
|
/** @var string */ |
398
|
|
|
public $method = 'DELETE'; |
399
|
|
|
} |
400
|
|
|
|
401
|
|
|
/** |
402
|
|
|
* @method string getActionType() |
403
|
|
|
* @method $this withActionType($value) |
404
|
|
|
* @method string getClusterId() |
405
|
|
|
* @method $this withClusterId($value) |
406
|
|
|
*/ |
407
|
|
|
class DescribeTrigger extends V20151215Roa |
408
|
|
|
{ |
409
|
|
|
/** @var string */ |
410
|
|
|
public $pathPattern = '/clusters/[ClusterId]/trigger/[ActionType]/'; |
411
|
|
|
} |
412
|
|
|
|
413
|
|
|
/** |
414
|
|
|
* @method string getClusterId() |
415
|
|
|
* @method $this withClusterId($value) |
416
|
|
|
*/ |
417
|
|
|
class UpgradeClusterAgent extends V20151215Roa |
418
|
|
|
{ |
419
|
|
|
/** @var string */ |
420
|
|
|
public $pathPattern = '/clusters/[ClusterId]/upgrade'; |
421
|
|
|
|
422
|
|
|
/** @var string */ |
423
|
|
|
public $method = 'POST'; |
424
|
|
|
} |
425
|
|
|
|
426
|
|
|
/** |
427
|
|
|
* @method string getProjectName() |
428
|
|
|
* @method $this withProjectName($value) |
429
|
|
|
* @method string getClusterId() |
430
|
|
|
* @method $this withClusterId($value) |
431
|
|
|
*/ |
432
|
|
|
class UpdateSharedServices extends V20151215Roa |
433
|
|
|
{ |
434
|
|
|
/** @var string */ |
435
|
|
|
public $pathPattern = '/clusters/[ClusterId]/shared_services/[ProjectName]/upgrade'; |
436
|
|
|
|
437
|
|
|
/** @var string */ |
438
|
|
|
public $method = 'POST'; |
439
|
|
|
} |
440
|
|
|
|
441
|
|
|
/** |
442
|
|
|
* @method string getClusterId() |
443
|
|
|
* @method $this withClusterId($value) |
444
|
|
|
*/ |
445
|
|
|
class UpdateClusterDockerVersion extends V20151215Roa |
446
|
|
|
{ |
447
|
|
|
/** @var string */ |
448
|
|
|
public $pathPattern = '/clusters/[ClusterId]/update_docker'; |
449
|
|
|
|
450
|
|
|
/** @var string */ |
451
|
|
|
public $method = 'POST'; |
452
|
|
|
} |
453
|
|
|
|
454
|
|
|
/** |
455
|
|
|
* @method string getClusterId() |
456
|
|
|
* @method $this withClusterId($value) |
457
|
|
|
*/ |
458
|
|
|
class UpdateController extends V20151215Roa |
459
|
|
|
{ |
460
|
|
|
/** @var string */ |
461
|
|
|
public $pathPattern = '/controller/update/[ClusterId]'; |
462
|
|
|
|
463
|
|
|
/** @var string */ |
464
|
|
|
public $method = 'POST'; |
465
|
|
|
} |
466
|
|
|
|
467
|
|
|
class UpdateControllers extends V20151215Roa |
468
|
|
|
{ |
469
|
|
|
/** @var string */ |
470
|
|
|
public $pathPattern = '/controller/update'; |
471
|
|
|
|
472
|
|
|
/** @var string */ |
473
|
|
|
public $method = 'POST'; |
474
|
|
|
} |
475
|
|
|
|
476
|
|
|
class UpdateRamPolicy extends V20151215Roa |
477
|
|
|
{ |
478
|
|
|
/** @var string */ |
479
|
|
|
public $pathPattern = '/user/raminfo'; |
480
|
|
|
|
481
|
|
|
/** @var string */ |
482
|
|
|
public $method = 'POST'; |
483
|
|
|
} |
484
|
|
|
|
485
|
|
|
/** |
486
|
|
|
* @method string getSharedServiceId() |
487
|
|
|
* @method $this withSharedServiceId($value) |
488
|
|
|
* @method string getClusterId() |
489
|
|
|
* @method $this withClusterId($value) |
490
|
|
|
*/ |
491
|
|
|
class UpdateSharedService extends V20151215Roa |
492
|
|
|
{ |
493
|
|
|
/** @var string */ |
494
|
|
|
public $pathPattern = '/clusters/[ClusterId]/shared_services/[SharedServiceId]/update'; |
495
|
|
|
|
496
|
|
|
/** @var string */ |
497
|
|
|
public $method = 'POST'; |
498
|
|
|
} |
499
|
|
|
|
500
|
|
|
class RevokeTriggerHook extends V20151215Roa |
501
|
|
|
{ |
502
|
|
|
/** @var string */ |
503
|
|
|
public $pathPattern = '/hook/trigger'; |
504
|
|
|
|
505
|
|
|
/** @var string */ |
506
|
|
|
public $method = 'DELETE'; |
507
|
|
|
} |
508
|
|
|
|
509
|
|
|
/** |
510
|
|
|
* @method string getClusterId() |
511
|
|
|
* @method $this withClusterId($value) |
512
|
|
|
*/ |
513
|
|
|
class UnBindSLB extends V20151215Roa |
514
|
|
|
{ |
515
|
|
|
/** @var string */ |
516
|
|
|
public $pathPattern = '/clusters/[ClusterId]/unbind_slb'; |
517
|
|
|
|
518
|
|
|
/** @var string */ |
519
|
|
|
public $method = 'POST'; |
520
|
|
|
} |
521
|
|
|
|
522
|
|
|
/** |
523
|
|
|
* @method string getClusterId() |
524
|
|
|
* @method $this withClusterId($value) |
525
|
|
|
*/ |
526
|
|
|
class UpdateAutoScale extends V20151215Roa |
527
|
|
|
{ |
528
|
|
|
/** @var string */ |
529
|
|
|
public $pathPattern = '/clusters/[ClusterId]/autoscale/update'; |
530
|
|
|
|
531
|
|
|
/** @var string */ |
532
|
|
|
public $method = 'PUT'; |
533
|
|
|
} |
534
|
|
|
|
535
|
|
|
/** |
536
|
|
|
* @method string getClusterId() |
537
|
|
|
* @method $this withClusterId($value) |
538
|
|
|
* @method string getVersion() |
539
|
|
|
* @method $this withVersion($value) |
540
|
|
|
*/ |
541
|
|
|
class UpdateClusterAgentVersion extends V20151215Roa |
542
|
|
|
{ |
543
|
|
|
/** @var string */ |
544
|
|
|
public $pathPattern = '/admin/clusters/[ClusterId]/agent/[Version]/modify'; |
545
|
|
|
|
546
|
|
|
/** @var string */ |
547
|
|
|
public $method = 'POST'; |
548
|
|
|
} |
549
|
|
|
|
550
|
|
|
/** |
551
|
|
|
* @method string getClusterId() |
552
|
|
|
* @method $this withClusterId($value) |
553
|
|
|
*/ |
554
|
|
|
class RecoverController extends V20151215Roa |
555
|
|
|
{ |
556
|
|
|
/** @var string */ |
557
|
|
|
public $pathPattern = '/controller/recover/[ClusterId]'; |
558
|
|
|
|
559
|
|
|
/** @var string */ |
560
|
|
|
public $method = 'POST'; |
561
|
|
|
} |
562
|
|
|
|
563
|
|
|
class RecoverControllers extends V20151215Roa |
564
|
|
|
{ |
565
|
|
|
/** @var string */ |
566
|
|
|
public $pathPattern = '/controller/recover'; |
567
|
|
|
|
568
|
|
|
/** @var string */ |
569
|
|
|
public $method = 'POST'; |
570
|
|
|
} |
571
|
|
|
|
572
|
|
|
/** |
573
|
|
|
* @method string getSharedServiceId() |
574
|
|
|
* @method $this withSharedServiceId($value) |
575
|
|
|
* @method string getClusterId() |
576
|
|
|
* @method $this withClusterId($value) |
577
|
|
|
*/ |
578
|
|
|
class ReDeploySharedService extends V20151215Roa |
579
|
|
|
{ |
580
|
|
|
/** @var string */ |
581
|
|
|
public $pathPattern = '/clusters/[ClusterId]/shared_services/[SharedServiceId]/redeploy'; |
582
|
|
|
|
583
|
|
|
/** @var string */ |
584
|
|
|
public $method = 'POST'; |
585
|
|
|
} |
586
|
|
|
|
587
|
|
|
/** |
588
|
|
|
* @method string getInstanceId() |
589
|
|
|
* @method $this withInstanceId($value) |
590
|
|
|
* @method string getClusterId() |
591
|
|
|
* @method $this withClusterId($value) |
592
|
|
|
*/ |
593
|
|
|
class ResetClusterNode extends V20151215Roa |
594
|
|
|
{ |
595
|
|
|
/** @var string */ |
596
|
|
|
public $pathPattern = '/clusters/[ClusterId]/instances/[InstanceId]/reset'; |
597
|
|
|
|
598
|
|
|
/** @var string */ |
599
|
|
|
public $method = 'POST'; |
600
|
|
|
} |
601
|
|
|
|
602
|
|
|
/** |
603
|
|
|
* @method string getClusterId() |
604
|
|
|
* @method $this withClusterId($value) |
605
|
|
|
*/ |
606
|
|
|
class RevokeClusterCerts extends V20151215Roa |
607
|
|
|
{ |
608
|
|
|
/** @var string */ |
609
|
|
|
public $pathPattern = '/clusters/[ClusterId]/certs'; |
610
|
|
|
|
611
|
|
|
/** @var string */ |
612
|
|
|
public $method = 'DELETE'; |
613
|
|
|
} |
614
|
|
|
|
615
|
|
|
/** |
616
|
|
|
* @method string getClusterId() |
617
|
|
|
* @method $this withClusterId($value) |
618
|
|
|
* @method string getVersion() |
619
|
|
|
* @method $this withVersion($value) |
620
|
|
|
*/ |
621
|
|
|
class LoginAliyunHub extends V20151215Roa |
622
|
|
|
{ |
623
|
|
|
/** @var string */ |
624
|
|
|
public $pathPattern = '/admin/clusters/[ClusterId]/hub_login'; |
625
|
|
|
|
626
|
|
|
/** @var string */ |
627
|
|
|
public $method = 'POST'; |
628
|
|
|
} |
629
|
|
|
|
630
|
|
|
class ProbeTriggerHook extends V20151215Roa |
631
|
|
|
{ |
632
|
|
|
/** @var string */ |
633
|
|
|
public $pathPattern = '/hook/trigger'; |
634
|
|
|
} |
635
|
|
|
|
636
|
|
|
/** |
637
|
|
|
* @method string getClusterId() |
638
|
|
|
* @method $this withClusterId($value) |
639
|
|
|
*/ |
640
|
|
|
class PushMonitoringData extends V20151215Roa |
641
|
|
|
{ |
642
|
|
|
/** @var string */ |
643
|
|
|
public $pathPattern = '/admin/monnitoring/[ClusterId]/push'; |
644
|
|
|
|
645
|
|
|
/** @var string */ |
646
|
|
|
public $method = 'POST'; |
647
|
|
|
} |
648
|
|
|
|
649
|
|
|
class DescribeUserResourceDomain extends V20151215Roa |
650
|
|
|
{ |
651
|
|
|
/** @var string */ |
652
|
|
|
public $pathPattern = '/resource_domain'; |
653
|
|
|
} |
654
|
|
|
|
655
|
|
|
/** |
656
|
|
|
* @method string getAliuid() |
657
|
|
|
* @method $this withAliuid($value) |
658
|
|
|
*/ |
659
|
|
|
class DescribeUserResources extends V20151215Roa |
660
|
|
|
{ |
661
|
|
|
/** @var string */ |
662
|
|
|
public $pathPattern = '/ram/resources/[Aliuid]'; |
663
|
|
|
} |
664
|
|
|
|
665
|
|
|
class DescribeVxlanPortsRules extends V20151215Roa |
666
|
|
|
{ |
667
|
|
|
/** @var string */ |
668
|
|
|
public $pathPattern = '/config/vxlan_ports'; |
669
|
|
|
} |
670
|
|
|
|
671
|
|
|
/** |
672
|
|
|
* @method string getClusterId() |
673
|
|
|
* @method $this withClusterId($value) |
674
|
|
|
*/ |
675
|
|
|
class FixSecurityGroup extends V20151215Roa |
676
|
|
|
{ |
677
|
|
|
/** @var string */ |
678
|
|
|
public $pathPattern = '/clusters/[ClusterId]/fix_sg'; |
679
|
|
|
|
680
|
|
|
/** @var string */ |
681
|
|
|
public $method = 'POST'; |
682
|
|
|
} |
683
|
|
|
|
684
|
|
|
/** |
685
|
|
|
* @method string getTriggerURL() |
686
|
|
|
* @method $this withTriggerURL($value) |
687
|
|
|
* @method string getSecret() |
688
|
|
|
* @method $this withSecret($value) |
689
|
|
|
*/ |
690
|
|
|
class DescribeTriggerHookStatus extends V20151215Roa |
691
|
|
|
{ |
692
|
|
|
/** @var string */ |
693
|
|
|
public $pathPattern = '/hook/trigger/status/[TriggerURL]/[Secret]/'; |
694
|
|
|
} |
695
|
|
|
|
696
|
|
|
class DescribeUserInstances extends V20151215Roa |
697
|
|
|
{ |
698
|
|
|
/** @var string */ |
699
|
|
|
public $pathPattern = '/instances'; |
700
|
|
|
} |
701
|
|
|
|
702
|
|
|
class DescribeUserIoOptimizedInstances extends V20151215Roa |
703
|
|
|
{ |
704
|
|
|
/** @var string */ |
705
|
|
|
public $pathPattern = '/instances/io_optimized'; |
706
|
|
|
} |
707
|
|
|
|
708
|
|
|
class DescribeUserQuota extends V20151215Roa |
709
|
|
|
{ |
710
|
|
|
/** @var string */ |
711
|
|
|
public $pathPattern = '/quota'; |
712
|
|
|
} |
713
|
|
|
|
714
|
|
|
/** |
715
|
|
|
* @method string getClusterId() |
716
|
|
|
* @method $this withClusterId($value) |
717
|
|
|
*/ |
718
|
|
|
class DescribeClusterVxlanPortRule extends V20151215Roa |
719
|
|
|
{ |
720
|
|
|
/** @var string */ |
721
|
|
|
public $pathPattern = '/clusters/[ClusterId]/vxlan_ports'; |
722
|
|
|
} |
723
|
|
|
|
724
|
|
|
class DescribeRamUsers extends V20151215Roa |
725
|
|
|
{ |
726
|
|
|
/** @var string */ |
727
|
|
|
public $pathPattern = '/ram/users'; |
728
|
|
|
} |
729
|
|
|
|
730
|
|
|
class DescribeRegionImages extends V20151215Roa |
731
|
|
|
{ |
732
|
|
|
/** @var string */ |
733
|
|
|
public $pathPattern = '/region/images'; |
734
|
|
|
} |
735
|
|
|
|
736
|
|
|
/** |
737
|
|
|
* @method string getRegion() |
738
|
|
|
* @method $this withRegion($value) |
739
|
|
|
*/ |
740
|
|
|
class DescribeRegionSharedServices extends V20151215Roa |
741
|
|
|
{ |
742
|
|
|
/** @var string */ |
743
|
|
|
public $pathPattern = '/region/[Region]/shared_services'; |
744
|
|
|
} |
745
|
|
|
|
746
|
|
|
/** |
747
|
|
|
* @method string getClusterId() |
748
|
|
|
* @method $this withClusterId($value) |
749
|
|
|
*/ |
750
|
|
|
class DescribeClusterSharedServices extends V20151215Roa |
751
|
|
|
{ |
752
|
|
|
/** @var string */ |
753
|
|
|
public $pathPattern = '/clusters/[ClusterId]/shared_services'; |
754
|
|
|
} |
755
|
|
|
|
756
|
|
|
/** |
757
|
|
|
* @method string getClusterId() |
758
|
|
|
* @method $this withClusterId($value) |
759
|
|
|
*/ |
760
|
|
|
class DescribeClusterSnapshots extends V20151215Roa |
761
|
|
|
{ |
762
|
|
|
/** @var string */ |
763
|
|
|
public $pathPattern = '/clusters/[ClusterId]/snapshots'; |
764
|
|
|
} |
765
|
|
|
|
766
|
|
|
/** |
767
|
|
|
* @method string getClusterId() |
768
|
|
|
* @method $this withClusterId($value) |
769
|
|
|
*/ |
770
|
|
|
class DescribeClusterStatus extends V20151215Roa |
771
|
|
|
{ |
772
|
|
|
/** @var string */ |
773
|
|
|
public $pathPattern = '/clusters/[ClusterId]/status'; |
774
|
|
|
} |
775
|
|
|
|
776
|
|
|
/** |
777
|
|
|
* @method string getClusterId() |
778
|
|
|
* @method $this withClusterId($value) |
779
|
|
|
*/ |
780
|
|
|
class DescribeClusterAutoScale extends V20151215Roa |
781
|
|
|
{ |
782
|
|
|
/** @var string */ |
783
|
|
|
public $pathPattern = '/clusters/[ClusterId]/autoscale/'; |
784
|
|
|
} |
785
|
|
|
|
786
|
|
|
/** |
787
|
|
|
* @method string getClusterId() |
788
|
|
|
* @method $this withClusterId($value) |
789
|
|
|
*/ |
790
|
|
|
class DescribeClusterCRL extends V20151215Roa |
791
|
|
|
{ |
792
|
|
|
/** @var string */ |
793
|
|
|
public $pathPattern = '/clusters/[ClusterId]/crl'; |
794
|
|
|
} |
795
|
|
|
|
796
|
|
|
/** |
797
|
|
|
* @method string getClusterId() |
798
|
|
|
* @method $this withClusterId($value) |
799
|
|
|
*/ |
800
|
|
|
class DescribeClusterExtInfo extends V20151215Roa |
801
|
|
|
{ |
802
|
|
|
/** @var string */ |
803
|
|
|
public $pathPattern = '/clusters/[ClusterId]/extinfo'; |
804
|
|
|
} |
805
|
|
|
|
806
|
|
|
/** |
807
|
|
|
* @method string getClusterId() |
808
|
|
|
* @method $this withClusterId($value) |
809
|
|
|
*/ |
810
|
|
|
class DeleteAutoScale extends V20151215Roa |
811
|
|
|
{ |
812
|
|
|
/** @var string */ |
813
|
|
|
public $pathPattern = '/clusters/[ClusterId]/autoscale/'; |
814
|
|
|
|
815
|
|
|
/** @var string */ |
816
|
|
|
public $method = 'DELETE'; |
817
|
|
|
} |
818
|
|
|
|
819
|
|
|
/** |
820
|
|
|
* @method string getClusterId() |
821
|
|
|
* @method $this withClusterId($value) |
822
|
|
|
*/ |
823
|
|
|
class DeployEMLSolution extends V20151215Roa |
824
|
|
|
{ |
825
|
|
|
/** @var string */ |
826
|
|
|
public $pathPattern = '/clusters/[ClusterId]/solutions/deploy'; |
827
|
|
|
|
828
|
|
|
/** @var string */ |
829
|
|
|
public $method = 'POST'; |
830
|
|
|
} |
831
|
|
|
|
832
|
|
|
/** |
833
|
|
|
* @method string getSharedServiceId() |
834
|
|
|
* @method $this withSharedServiceId($value) |
835
|
|
|
* @method string getClusterId() |
836
|
|
|
* @method $this withClusterId($value) |
837
|
|
|
*/ |
838
|
|
|
class DeploySharedService extends V20151215Roa |
839
|
|
|
{ |
840
|
|
|
/** @var string */ |
841
|
|
|
public $pathPattern = '/clusters/[ClusterId]/shared_services/[SharedServiceId]/deploy'; |
842
|
|
|
|
843
|
|
|
/** @var string */ |
844
|
|
|
public $method = 'POST'; |
845
|
|
|
} |
846
|
|
|
|
847
|
|
|
class DescribeAgentVersions extends V20151215Roa |
848
|
|
|
{ |
849
|
|
|
/** @var string */ |
850
|
|
|
public $pathPattern = '/agent_version'; |
851
|
|
|
} |
852
|
|
|
|
853
|
|
|
/** |
854
|
|
|
* @method string getClusterId() |
855
|
|
|
* @method $this withClusterId($value) |
856
|
|
|
*/ |
857
|
|
|
class CreateAutoScale extends V20151215Roa |
858
|
|
|
{ |
859
|
|
|
/** @var string */ |
860
|
|
|
public $pathPattern = '/cluster/[ClusterId]/autoscale/'; |
861
|
|
|
|
862
|
|
|
/** @var string */ |
863
|
|
|
public $method = 'POST'; |
864
|
|
|
} |
865
|
|
|
|
866
|
|
|
/** |
867
|
|
|
* @method string getClusterId() |
868
|
|
|
* @method $this withClusterId($value) |
869
|
|
|
*/ |
870
|
|
|
class CreateMonitoringUser extends V20151215Roa |
871
|
|
|
{ |
872
|
|
|
/** @var string */ |
873
|
|
|
public $pathPattern = '/admin/monnitoring/[ClusterId]/create_or_update'; |
874
|
|
|
|
875
|
|
|
/** @var string */ |
876
|
|
|
public $method = 'POST'; |
877
|
|
|
} |
878
|
|
|
|
879
|
|
|
class CreateTriggerHook extends V20151215Roa |
880
|
|
|
{ |
881
|
|
|
/** @var string */ |
882
|
|
|
public $pathPattern = '/hook/trigger'; |
883
|
|
|
|
884
|
|
|
/** @var string */ |
885
|
|
|
public $method = 'PUT'; |
886
|
|
|
} |
887
|
|
|
|
888
|
|
|
/** |
889
|
|
|
* @method string getClusterId() |
890
|
|
|
* @method $this withClusterId($value) |
891
|
|
|
*/ |
892
|
|
|
class CleanUpETCD extends V20151215Roa |
893
|
|
|
{ |
894
|
|
|
/** @var string */ |
895
|
|
|
public $pathPattern = '/clusters/clean-etcd'; |
896
|
|
|
|
897
|
|
|
/** @var string */ |
898
|
|
|
public $method = 'POST'; |
899
|
|
|
} |
900
|
|
|
|
901
|
|
|
/** |
902
|
|
|
* @method string getSlbID() |
903
|
|
|
* @method $this withSlbID($value) |
904
|
|
|
* @method string getClusterId() |
905
|
|
|
* @method $this withClusterId($value) |
906
|
|
|
*/ |
907
|
|
|
class BindSLB extends V20151215Roa |
908
|
|
|
{ |
909
|
|
|
/** @var string */ |
910
|
|
|
public $pathPattern = '/clusters/[ClusterId]/slb/[SlbID]/bind'; |
911
|
|
|
|
912
|
|
|
/** @var string */ |
913
|
|
|
public $method = 'POST'; |
914
|
|
|
} |
915
|
|
|
|
916
|
|
|
/** |
917
|
|
|
* @method string getClusterId() |
918
|
|
|
* @method $this withClusterId($value) |
919
|
|
|
*/ |
920
|
|
|
class CheckSecurityGroup extends V20151215Roa |
921
|
|
|
{ |
922
|
|
|
/** @var string */ |
923
|
|
|
public $pathPattern = '/clusters/[ClusterId]/check_sg'; |
924
|
|
|
|
925
|
|
|
/** @var string */ |
926
|
|
|
public $method = 'POST'; |
927
|
|
|
} |
928
|
|
|
|
929
|
|
|
/** |
930
|
|
|
* @method string getClusterId() |
931
|
|
|
* @method $this withClusterId($value) |
932
|
|
|
*/ |
933
|
|
|
class CleanUpControllerEvent extends V20151215Roa |
934
|
|
|
{ |
935
|
|
|
/** @var string */ |
936
|
|
|
public $pathPattern = '/controller/event_clean/[ClusterId]'; |
937
|
|
|
|
938
|
|
|
/** @var string */ |
939
|
|
|
public $method = 'POST'; |
940
|
|
|
} |
941
|
|
|
|
942
|
|
|
/** |
943
|
|
|
* @method string getClusterId() |
944
|
|
|
* @method $this withClusterId($value) |
945
|
|
|
*/ |
946
|
|
|
class BatchUpdateSharedService extends V20151215Roa |
947
|
|
|
{ |
948
|
|
|
/** @var string */ |
949
|
|
|
public $pathPattern = '/clusters/[ClusterId]/shared_services/batch_update'; |
950
|
|
|
|
951
|
|
|
/** @var string */ |
952
|
|
|
public $method = 'POST'; |
953
|
|
|
} |
954
|
|
|
|
955
|
|
|
/** |
956
|
|
|
* @method string getReleaseInstance() |
957
|
|
|
* @method string getIp() |
958
|
|
|
* @method $this withIp($value) |
959
|
|
|
* @method string getForce() |
960
|
|
|
* @method string getClusterId() |
961
|
|
|
* @method $this withClusterId($value) |
962
|
|
|
*/ |
963
|
|
|
class DeleteClusterNode extends V20151215Roa |
964
|
|
|
{ |
965
|
|
|
/** @var string */ |
966
|
|
|
public $pathPattern = '/clusters/[ClusterId]/ip/[Ip]'; |
967
|
|
|
|
968
|
|
|
/** @var string */ |
969
|
|
|
public $method = 'DELETE'; |
970
|
|
|
|
971
|
|
|
/** |
972
|
|
|
* @param string $value |
973
|
|
|
* |
974
|
|
|
* @return $this |
975
|
|
|
*/ |
976
|
|
|
public function withReleaseInstance($value) |
977
|
|
|
{ |
978
|
|
|
$this->data['ReleaseInstance'] = $value; |
979
|
|
|
$this->options['query']['releaseInstance'] = $value; |
980
|
|
|
|
981
|
|
|
return $this; |
982
|
|
|
} |
983
|
|
|
|
984
|
|
|
/** |
985
|
|
|
* @param string $value |
986
|
|
|
* |
987
|
|
|
* @return $this |
988
|
|
|
*/ |
989
|
|
|
public function withForce($value) |
990
|
|
|
{ |
991
|
|
|
$this->data['Force'] = $value; |
992
|
|
|
$this->options['query']['force'] = $value; |
993
|
|
|
|
994
|
|
|
return $this; |
995
|
|
|
} |
996
|
|
|
} |
997
|
|
|
|
998
|
|
|
/** |
999
|
|
|
* @method string getNodeId() |
1000
|
|
|
* @method $this withNodeId($value) |
1001
|
|
|
* @method string getToken() |
1002
|
|
|
* @method $this withToken($value) |
1003
|
|
|
*/ |
1004
|
|
|
class DownloadClusterNodeCerts extends V20151215Roa |
1005
|
|
|
{ |
1006
|
|
|
/** @var string */ |
1007
|
|
|
public $pathPattern = '/token/[Token]/nodes/[NodeId]/certs'; |
1008
|
|
|
} |
1009
|
|
|
|
1010
|
|
|
/** |
1011
|
|
|
* @method string getToken() |
1012
|
|
|
* @method $this withToken($value) |
1013
|
|
|
*/ |
1014
|
|
|
class RevokeClusterToken extends V20151215Roa |
1015
|
|
|
{ |
1016
|
|
|
/** @var string */ |
1017
|
|
|
public $pathPattern = '/token/[Token]/revoke'; |
1018
|
|
|
|
1019
|
|
|
/** @var string */ |
1020
|
|
|
public $method = 'DELETE'; |
1021
|
|
|
} |
1022
|
|
|
|
1023
|
|
|
/** |
1024
|
|
|
* @method string getClusterId() |
1025
|
|
|
* @method $this withClusterId($value) |
1026
|
|
|
*/ |
1027
|
|
|
class AttachInstances extends V20151215Roa |
1028
|
|
|
{ |
1029
|
|
|
/** @var string */ |
1030
|
|
|
public $pathPattern = '/clusters/[ClusterId]/attach'; |
1031
|
|
|
|
1032
|
|
|
/** @var string */ |
1033
|
|
|
public $method = 'POST'; |
1034
|
|
|
} |
1035
|
|
|
|
1036
|
|
|
class DescribeUserServices extends V20151215Roa |
1037
|
|
|
{ |
1038
|
|
|
/** @var string */ |
1039
|
|
|
public $pathPattern = '/region/[RegionId]/services'; |
1040
|
|
|
} |
1041
|
|
|
|
1042
|
|
|
class DescribeApiVersion extends V20151215Roa |
1043
|
|
|
{ |
1044
|
|
|
/** @var string */ |
1045
|
|
|
public $pathPattern = '/version'; |
1046
|
|
|
} |
1047
|
|
|
|
1048
|
|
|
/** |
1049
|
|
|
* @method string getClusterId() |
1050
|
|
|
* @method $this withClusterId($value) |
1051
|
|
|
*/ |
1052
|
|
|
class DeleteCluster extends V20151215Roa |
1053
|
|
|
{ |
1054
|
|
|
/** @var string */ |
1055
|
|
|
public $pathPattern = '/clusters/[ClusterId]'; |
1056
|
|
|
|
1057
|
|
|
/** @var string */ |
1058
|
|
|
public $method = 'DELETE'; |
1059
|
|
|
} |
1060
|
|
|
|
1061
|
|
|
/** |
1062
|
|
|
* @method string getClusterId() |
1063
|
|
|
* @method $this withClusterId($value) |
1064
|
|
|
*/ |
1065
|
|
|
class DescribeClusterCerts extends V20151215Roa |
1066
|
|
|
{ |
1067
|
|
|
/** @var string */ |
1068
|
|
|
public $pathPattern = '/clusters/[ClusterId]/certs'; |
1069
|
|
|
} |
1070
|
|
|
|
1071
|
|
|
/** |
1072
|
|
|
* @method string getClusterId() |
1073
|
|
|
* @method $this withClusterId($value) |
1074
|
|
|
*/ |
1075
|
|
|
class DescribeClusterDetail extends V20151215Roa |
1076
|
|
|
{ |
1077
|
|
|
/** @var string */ |
1078
|
|
|
public $pathPattern = '/clusters/[ClusterId]'; |
1079
|
|
|
} |
1080
|
|
|
|
1081
|
|
|
/** |
1082
|
|
|
* @method string getClusterType() |
1083
|
|
|
* @method string getName() |
1084
|
|
|
*/ |
1085
|
|
|
class DescribeClusters extends V20151215Roa |
1086
|
|
|
{ |
1087
|
|
|
/** @var string */ |
1088
|
|
|
public $pathPattern = '/clusters'; |
1089
|
|
|
|
1090
|
|
|
/** |
1091
|
|
|
* @param string $value |
1092
|
|
|
* |
1093
|
|
|
* @return $this |
1094
|
|
|
*/ |
1095
|
|
|
public function withClusterType($value) |
1096
|
|
|
{ |
1097
|
|
|
$this->data['ClusterType'] = $value; |
1098
|
|
|
$this->options['query']['clusterType'] = $value; |
1099
|
|
|
|
1100
|
|
|
return $this; |
1101
|
|
|
} |
1102
|
|
|
|
1103
|
|
|
/** |
1104
|
|
|
* @param string $value |
1105
|
|
|
* |
1106
|
|
|
* @return $this |
1107
|
|
|
*/ |
1108
|
|
|
public function withName($value) |
1109
|
|
|
{ |
1110
|
|
|
$this->data['Name'] = $value; |
1111
|
|
|
$this->options['query']['Name'] = $value; |
1112
|
|
|
|
1113
|
|
|
return $this; |
1114
|
|
|
} |
1115
|
|
|
} |
1116
|
|
|
|
1117
|
|
|
/** |
1118
|
|
|
* @method string getClusterId() |
1119
|
|
|
* @method $this withClusterId($value) |
1120
|
|
|
*/ |
1121
|
|
|
class ScaleCluster extends V20151215Roa |
1122
|
|
|
{ |
1123
|
|
|
/** @var string */ |
1124
|
|
|
public $pathPattern = '/clusters/[ClusterId]'; |
1125
|
|
|
|
1126
|
|
|
/** @var string */ |
1127
|
|
|
public $method = 'PUT'; |
1128
|
|
|
} |
1129
|
|
|
|
1130
|
|
|
class CreateCluster extends V20151215Roa |
1131
|
|
|
{ |
1132
|
|
|
/** @var string */ |
1133
|
|
|
public $pathPattern = '/clusters'; |
1134
|
|
|
|
1135
|
|
|
/** @var string */ |
1136
|
|
|
public $method = 'POST'; |
1137
|
|
|
} |
1138
|
|
|
|