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