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