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