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