1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Edas\V20170801; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\ApiResolverTrait; |
6
|
|
|
use AlibabaCloud\Roa; |
7
|
|
|
|
8
|
|
|
/** |
9
|
|
|
* Resolve Api based on the method name. |
10
|
|
|
* |
11
|
|
|
* @method GetCluster getCluster(array $options = []) |
12
|
|
|
* @method QueryRegionConfig queryRegionConfig(array $options = []) |
13
|
|
|
* @method CsbListRegions csbListRegions(array $options = []) |
14
|
|
|
* @method CreateServerlessApplication createServerlessApplication(array $options = []) |
15
|
|
|
* @method BindServerlessSlb bindServerlessSlb(array $options = []) |
16
|
|
|
* @method DeleteServerlessApplication deleteServerlessApplication(array $options = []) |
17
|
|
|
* @method DeployServerlessApplication deployServerlessApplication(array $options = []) |
18
|
|
|
* @method GetServerlessAppConfigDetail getServerlessAppConfigDetail(array $options = []) |
19
|
|
|
* @method InsertServerlessApplication insertServerlessApplication(array $options = []) |
20
|
|
|
* @method ScaleServerlessApplication scaleServerlessApplication(array $options = []) |
21
|
|
|
* @method UnbindServerlessSlb unbindServerlessSlb(array $options = []) |
22
|
|
|
* @method InstallAgent installAgent(array $options = []) |
23
|
|
|
* @method ListComponents listComponents(array $options = []) |
24
|
|
|
* @method GetPackageStorageCredential getPackageStorageCredential(array $options = []) |
25
|
|
|
* @method ListEcsNotInCluster listEcsNotInCluster(array $options = []) |
26
|
|
|
* @method UpdateK8sSlb updateK8sSlb(array $options = []) |
27
|
|
|
* @method BindK8sSlb bindK8sSlb(array $options = []) |
28
|
|
|
* @method ListScalingRecords listScalingRecords(array $options = []) |
29
|
|
|
* @method UnbindK8sSlb unbindK8sSlb(array $options = []) |
30
|
|
|
* @method UpdateK8sApplicationConfig updateK8sApplicationConfig(array $options = []) |
31
|
|
|
* @method ImportK8sCluster importK8sCluster(array $options = []) |
32
|
|
|
* @method InsertK8sApplication insertK8sApplication(array $options = []) |
33
|
|
|
* @method DeployK8sApplication deployK8sApplication(array $options = []) |
34
|
|
|
* @method ScaleK8sApplication scaleK8sApplication(array $options = []) |
35
|
|
|
* @method DeleteK8sApplication deleteK8sApplication(array $options = []) |
36
|
|
|
* @method ListScalingRules listScalingRules(array $options = []) |
37
|
|
|
* @method InsertScalingRule insertScalingRule(array $options = []) |
38
|
|
|
* @method DeleteResourceGroup deleteResourceGroup(array $options = []) |
39
|
|
|
* @method InsertResourceGroup insertResourceGroup(array $options = []) |
40
|
|
|
* @method GetSecureToken getSecureToken(array $options = []) |
41
|
|
|
* @method TransformClusterMember transformClusterMember(array $options = []) |
42
|
|
|
* @method ListConvertableEcu listConvertableEcu(array $options = []) |
43
|
|
|
* @method InsertClusterMember insertClusterMember(array $options = []) |
44
|
|
|
* @method ListScaleOutEcu listScaleOutEcu(array $options = []) |
45
|
|
|
* @method ListEcuByRegion listEcuByRegion(array $options = []) |
46
|
|
|
* @method QueryMigrateEcuList queryMigrateEcuList(array $options = []) |
47
|
|
|
* @method QueryMigrateRegionList queryMigrateRegionList(array $options = []) |
48
|
|
|
* @method MigrateEcu migrateEcu(array $options = []) |
49
|
|
|
* @method MigrateToRegion migrateToRegion(array $options = []) |
50
|
|
|
* @method ListUserDefineRegion listUserDefineRegion(array $options = []) |
51
|
|
|
* @method ListAliyunRegion listAliyunRegion(array $options = []) |
52
|
|
|
* @method InsertOrUpdateRegion insertOrUpdateRegion(array $options = []) |
53
|
|
|
* @method DeleteUserDefineRegion deleteUserDefineRegion(array $options = []) |
54
|
|
|
* @method QueryMonitorInfo queryMonitorInfo(array $options = []) |
55
|
|
|
* @method ListVpc listVpc(array $options = []) |
56
|
|
|
* @method UpdateHealthCheckUrl updateHealthCheckUrl(array $options = []) |
57
|
|
|
* @method UpdateJvmConfiguration updateJvmConfiguration(array $options = []) |
58
|
|
|
* @method UpdateContainerConfiguration updateContainerConfiguration(array $options = []) |
59
|
|
|
* @method UpdateApplicationBaseInfo updateApplicationBaseInfo(array $options = []) |
60
|
|
|
* @method GetContainerConfiguration getContainerConfiguration(array $options = []) |
61
|
|
|
* @method GetJvmConfiguration getJvmConfiguration(array $options = []) |
62
|
|
|
* @method InsertDeployGroup insertDeployGroup(array $options = []) |
63
|
|
|
* @method GetApplication getApplication(array $options = []) |
64
|
|
|
* @method DeleteDeployGroup deleteDeployGroup(array $options = []) |
65
|
|
|
* @method QueryApplicationStatus queryApplicationStatus(array $options = []) |
66
|
|
|
* @method SynchronizeResource synchronizeResource(array $options = []) |
67
|
|
|
* @method ListRecentChangeOrder listRecentChangeOrder(array $options = []) |
68
|
|
|
* @method DeleteEcu deleteEcu(array $options = []) |
69
|
|
|
* @method ListSlb listSlb(array $options = []) |
70
|
|
|
* @method ListHistoryDeployVersion listHistoryDeployVersion(array $options = []) |
71
|
|
|
* @method ListResourceGroup listResourceGroup(array $options = []) |
72
|
|
|
* @method UpdateAccountInfo updateAccountInfo(array $options = []) |
73
|
|
|
* @method UpdateRole updateRole(array $options = []) |
74
|
|
|
* @method UnbindSlb unbindSlb(array $options = []) |
75
|
|
|
* @method UnbindSubAccount unbindSubAccount(array $options = []) |
76
|
|
|
* @method ListRole listRole(array $options = []) |
77
|
|
|
* @method ListSubAccount listSubAccount(array $options = []) |
78
|
|
|
* @method ListClusterMembers listClusterMembers(array $options = []) |
79
|
|
|
* @method ListAuthority listAuthority(array $options = []) |
80
|
|
|
* @method InsertCluster insertCluster(array $options = []) |
81
|
|
|
* @method InsertRole insertRole(array $options = []) |
82
|
|
|
* @method EnableDegradeControl enableDegradeControl(array $options = []) |
83
|
|
|
* @method DeleteClusterMember deleteClusterMember(array $options = []) |
84
|
|
|
* @method DeleteRole deleteRole(array $options = []) |
85
|
|
|
* @method AuthorizeRole authorizeRole(array $options = []) |
86
|
|
|
* @method BindSlb bindSlb(array $options = []) |
87
|
|
|
* @method BindSubAccount bindSubAccount(array $options = []) |
88
|
|
|
* @method DeleteCluster deleteCluster(array $options = []) |
89
|
|
|
* @method AuthorizeApplication authorizeApplication(array $options = []) |
90
|
|
|
* @method AuthorizeResourceGroup authorizeResourceGroup(array $options = []) |
91
|
|
|
* @method GetChangeOrderInfo getChangeOrderInfo(array $options = []) |
92
|
|
|
* @method ListCluster listCluster(array $options = []) |
93
|
|
|
* @method DeleteApplication deleteApplication(array $options = []) |
94
|
|
|
* @method RollbackApplication rollbackApplication(array $options = []) |
95
|
|
|
* @method ScaleInApplication scaleInApplication(array $options = []) |
96
|
|
|
* @method ScaleOutApplication scaleOutApplication(array $options = []) |
97
|
|
|
* @method StartApplication startApplication(array $options = []) |
98
|
|
|
* @method StopApplication stopApplication(array $options = []) |
99
|
|
|
* @method ResetApplication resetApplication(array $options = []) |
100
|
|
|
* @method InsertApplication insertApplication(array $options = []) |
101
|
|
|
* @method ChangeApplicationGroup changeApplicationGroup(array $options = []) |
102
|
|
|
* @method DeployApplication deployApplication(array $options = []) |
103
|
|
|
* @method UpdateContainer updateContainer(array $options = []) |
104
|
|
|
* @method ListApplicationEcu listApplicationEcu(array $options = []) |
105
|
|
|
* @method ListBuildPack listBuildPack(array $options = []) |
106
|
|
|
* @method ListDeployGroup listDeployGroup(array $options = []) |
107
|
|
|
* @method QueryConfigCenter queryConfigCenter(array $options = []) |
108
|
|
|
* @method UpdateDegradeControl updateDegradeControl(array $options = []) |
109
|
|
|
* @method UpdateFlowControl updateFlowControl(array $options = []) |
110
|
|
|
* @method ListFlowControls listFlowControls(array $options = []) |
111
|
|
|
* @method ListPublishedServices listPublishedServices(array $options = []) |
112
|
|
|
* @method ListServiceGroups listServiceGroups(array $options = []) |
113
|
|
|
* @method InsertFlowControl insertFlowControl(array $options = []) |
114
|
|
|
* @method InsertServiceGroup insertServiceGroup(array $options = []) |
115
|
|
|
* @method ListConfigCenters listConfigCenters(array $options = []) |
116
|
|
|
* @method ListConsumedServices listConsumedServices(array $options = []) |
117
|
|
|
* @method ListDegradeControls listDegradeControls(array $options = []) |
118
|
|
|
* @method DisableDegradeControl disableDegradeControl(array $options = []) |
119
|
|
|
* @method DisableFlowControl disableFlowControl(array $options = []) |
120
|
|
|
* @method EnableFlowControl enableFlowControl(array $options = []) |
121
|
|
|
* @method InsertConfigCenter insertConfigCenter(array $options = []) |
122
|
|
|
* @method InsertDegradeControl insertDegradeControl(array $options = []) |
123
|
|
|
* @method DeleteConfigCenter deleteConfigCenter(array $options = []) |
124
|
|
|
* @method DeleteDegradeControl deleteDegradeControl(array $options = []) |
125
|
|
|
* @method DeleteFlowControl deleteFlowControl(array $options = []) |
126
|
|
|
* @method DeleteServiceGroup deleteServiceGroup(array $options = []) |
127
|
|
|
* @method ListApplication listApplication(array $options = []) |
128
|
|
|
*/ |
129
|
|
|
class EdasApiResolver |
130
|
|
|
{ |
131
|
|
|
use ApiResolverTrait; |
132
|
|
|
} |
133
|
|
|
|
134
|
|
|
class V20170801Roa extends Roa |
135
|
|
|
{ |
136
|
|
|
/** @var string */ |
137
|
|
|
public $product = 'Edas'; |
138
|
|
|
|
139
|
|
|
/** @var string */ |
140
|
|
|
public $version = '2017-08-01'; |
141
|
|
|
|
142
|
|
|
/** @var string */ |
143
|
|
|
public $method = 'POST'; |
144
|
|
|
|
145
|
|
|
/** @var string */ |
146
|
|
|
public $serviceCode = 'edas'; |
147
|
|
|
} |
148
|
|
|
|
149
|
|
|
/** |
150
|
|
|
* @method string getClusterId() |
151
|
|
|
*/ |
152
|
|
|
class GetCluster extends V20170801Roa |
153
|
|
|
{ |
154
|
|
|
/** @var string */ |
155
|
|
|
public $pathPattern = '/pop/v5/resource/cluster'; |
156
|
|
|
|
157
|
|
|
/** @var string */ |
158
|
|
|
public $method = 'GET'; |
159
|
|
|
|
160
|
|
|
/** |
161
|
|
|
* @param string $value |
162
|
|
|
* |
163
|
|
|
* @return $this |
164
|
|
|
*/ |
165
|
|
|
public function withClusterId($value) |
166
|
|
|
{ |
167
|
|
|
$this->data['ClusterId'] = $value; |
168
|
|
|
$this->options['query']['ClusterId'] = $value; |
169
|
|
|
|
170
|
|
|
return $this; |
171
|
|
|
} |
172
|
|
|
} |
173
|
|
|
|
174
|
|
|
class QueryRegionConfig extends V20170801Roa |
175
|
|
|
{ |
176
|
|
|
/** @var string */ |
177
|
|
|
public $pathPattern = '/pop/v5/region_config'; |
178
|
|
|
|
179
|
|
|
/** @var string */ |
180
|
|
|
public $method = 'GET'; |
181
|
|
|
} |
182
|
|
|
|
183
|
|
|
class CsbListRegions extends V20170801Roa |
184
|
|
|
{ |
185
|
|
|
/** @var string */ |
186
|
|
|
public $pathPattern = '/pop/authgw/csb/api/edas/list_regions'; |
187
|
|
|
|
188
|
|
|
/** @var string */ |
189
|
|
|
public $method = 'GET'; |
190
|
|
|
} |
191
|
|
|
|
192
|
|
|
/** |
193
|
|
|
* @method string getWebContainer() |
194
|
|
|
* @method string getJarStartArgs() |
195
|
|
|
* @method string getMemory() |
196
|
|
|
* @method string getCommandArgs() |
197
|
|
|
* @method string getReplicas() |
198
|
|
|
* @method string getReadiness() |
199
|
|
|
* @method string getLiveness() |
200
|
|
|
* @method string getCpu() |
201
|
|
|
* @method string getEnvs() |
202
|
|
|
* @method string getPackageVersion() |
203
|
|
|
* @method string getCommand() |
204
|
|
|
* @method string getCustomHostAlias() |
205
|
|
|
* @method string getDeploy() |
206
|
|
|
* @method string getVSwitchId() |
207
|
|
|
* @method string getJdk() |
208
|
|
|
* @method string getAppDescription() |
209
|
|
|
* @method string getJarStartOptions() |
210
|
|
|
* @method string getEdasContainerVersion() |
211
|
|
|
* @method string getAppName() |
212
|
|
|
* @method string getNamespaceId() |
213
|
|
|
* @method string getPackageUrl() |
214
|
|
|
* @method string getVpcId() |
215
|
|
|
* @method string getImageUrl() |
216
|
|
|
* @method string getPackageType() |
217
|
|
|
*/ |
218
|
|
|
class CreateServerlessApplication extends V20170801Roa |
219
|
|
|
{ |
220
|
|
|
/** @var string */ |
221
|
|
|
public $pathPattern = '/pop/v5/k8s/pop/pop_serverless_app_create_without_deploy'; |
222
|
|
|
|
223
|
|
|
/** |
224
|
|
|
* @param string $value |
225
|
|
|
* |
226
|
|
|
* @return $this |
227
|
|
|
*/ |
228
|
|
|
public function withWebContainer($value) |
229
|
|
|
{ |
230
|
|
|
$this->data['WebContainer'] = $value; |
231
|
|
|
$this->options['query']['WebContainer'] = $value; |
232
|
|
|
|
233
|
|
|
return $this; |
234
|
|
|
} |
235
|
|
|
|
236
|
|
|
/** |
237
|
|
|
* @param string $value |
238
|
|
|
* |
239
|
|
|
* @return $this |
240
|
|
|
*/ |
241
|
|
|
public function withJarStartArgs($value) |
242
|
|
|
{ |
243
|
|
|
$this->data['JarStartArgs'] = $value; |
244
|
|
|
$this->options['query']['JarStartArgs'] = $value; |
245
|
|
|
|
246
|
|
|
return $this; |
247
|
|
|
} |
248
|
|
|
|
249
|
|
|
/** |
250
|
|
|
* @param string $value |
251
|
|
|
* |
252
|
|
|
* @return $this |
253
|
|
|
*/ |
254
|
|
|
public function withMemory($value) |
255
|
|
|
{ |
256
|
|
|
$this->data['Memory'] = $value; |
257
|
|
|
$this->options['query']['Memory'] = $value; |
258
|
|
|
|
259
|
|
|
return $this; |
260
|
|
|
} |
261
|
|
|
|
262
|
|
|
/** |
263
|
|
|
* @param string $value |
264
|
|
|
* |
265
|
|
|
* @return $this |
266
|
|
|
*/ |
267
|
|
|
public function withCommandArgs($value) |
268
|
|
|
{ |
269
|
|
|
$this->data['CommandArgs'] = $value; |
270
|
|
|
$this->options['query']['CommandArgs'] = $value; |
271
|
|
|
|
272
|
|
|
return $this; |
273
|
|
|
} |
274
|
|
|
|
275
|
|
|
/** |
276
|
|
|
* @param string $value |
277
|
|
|
* |
278
|
|
|
* @return $this |
279
|
|
|
*/ |
280
|
|
|
public function withReplicas($value) |
281
|
|
|
{ |
282
|
|
|
$this->data['Replicas'] = $value; |
283
|
|
|
$this->options['query']['Replicas'] = $value; |
284
|
|
|
|
285
|
|
|
return $this; |
286
|
|
|
} |
287
|
|
|
|
288
|
|
|
/** |
289
|
|
|
* @param string $value |
290
|
|
|
* |
291
|
|
|
* @return $this |
292
|
|
|
*/ |
293
|
|
|
public function withReadiness($value) |
294
|
|
|
{ |
295
|
|
|
$this->data['Readiness'] = $value; |
296
|
|
|
$this->options['query']['Readiness'] = $value; |
297
|
|
|
|
298
|
|
|
return $this; |
299
|
|
|
} |
300
|
|
|
|
301
|
|
|
/** |
302
|
|
|
* @param string $value |
303
|
|
|
* |
304
|
|
|
* @return $this |
305
|
|
|
*/ |
306
|
|
|
public function withLiveness($value) |
307
|
|
|
{ |
308
|
|
|
$this->data['Liveness'] = $value; |
309
|
|
|
$this->options['query']['Liveness'] = $value; |
310
|
|
|
|
311
|
|
|
return $this; |
312
|
|
|
} |
313
|
|
|
|
314
|
|
|
/** |
315
|
|
|
* @param string $value |
316
|
|
|
* |
317
|
|
|
* @return $this |
318
|
|
|
*/ |
319
|
|
|
public function withCpu($value) |
320
|
|
|
{ |
321
|
|
|
$this->data['Cpu'] = $value; |
322
|
|
|
$this->options['query']['Cpu'] = $value; |
323
|
|
|
|
324
|
|
|
return $this; |
325
|
|
|
} |
326
|
|
|
|
327
|
|
|
/** |
328
|
|
|
* @param string $value |
329
|
|
|
* |
330
|
|
|
* @return $this |
331
|
|
|
*/ |
332
|
|
|
public function withEnvs($value) |
333
|
|
|
{ |
334
|
|
|
$this->data['Envs'] = $value; |
335
|
|
|
$this->options['query']['Envs'] = $value; |
336
|
|
|
|
337
|
|
|
return $this; |
338
|
|
|
} |
339
|
|
|
|
340
|
|
|
/** |
341
|
|
|
* @param string $value |
342
|
|
|
* |
343
|
|
|
* @return $this |
344
|
|
|
*/ |
345
|
|
|
public function withPackageVersion($value) |
346
|
|
|
{ |
347
|
|
|
$this->data['PackageVersion'] = $value; |
348
|
|
|
$this->options['query']['PackageVersion'] = $value; |
349
|
|
|
|
350
|
|
|
return $this; |
351
|
|
|
} |
352
|
|
|
|
353
|
|
|
/** |
354
|
|
|
* @param string $value |
355
|
|
|
* |
356
|
|
|
* @return $this |
357
|
|
|
*/ |
358
|
|
|
public function withCommand($value) |
359
|
|
|
{ |
360
|
|
|
$this->data['Command'] = $value; |
361
|
|
|
$this->options['query']['Command'] = $value; |
362
|
|
|
|
363
|
|
|
return $this; |
364
|
|
|
} |
365
|
|
|
|
366
|
|
|
/** |
367
|
|
|
* @param string $value |
368
|
|
|
* |
369
|
|
|
* @return $this |
370
|
|
|
*/ |
371
|
|
|
public function withCustomHostAlias($value) |
372
|
|
|
{ |
373
|
|
|
$this->data['CustomHostAlias'] = $value; |
374
|
|
|
$this->options['query']['CustomHostAlias'] = $value; |
375
|
|
|
|
376
|
|
|
return $this; |
377
|
|
|
} |
378
|
|
|
|
379
|
|
|
/** |
380
|
|
|
* @param string $value |
381
|
|
|
* |
382
|
|
|
* @return $this |
383
|
|
|
*/ |
384
|
|
|
public function withDeploy($value) |
385
|
|
|
{ |
386
|
|
|
$this->data['Deploy'] = $value; |
387
|
|
|
$this->options['query']['Deploy'] = $value; |
388
|
|
|
|
389
|
|
|
return $this; |
390
|
|
|
} |
391
|
|
|
|
392
|
|
|
/** |
393
|
|
|
* @param string $value |
394
|
|
|
* |
395
|
|
|
* @return $this |
396
|
|
|
*/ |
397
|
|
|
public function withVSwitchId($value) |
398
|
|
|
{ |
399
|
|
|
$this->data['VSwitchId'] = $value; |
400
|
|
|
$this->options['query']['VSwitchId'] = $value; |
401
|
|
|
|
402
|
|
|
return $this; |
403
|
|
|
} |
404
|
|
|
|
405
|
|
|
/** |
406
|
|
|
* @param string $value |
407
|
|
|
* |
408
|
|
|
* @return $this |
409
|
|
|
*/ |
410
|
|
|
public function withJdk($value) |
411
|
|
|
{ |
412
|
|
|
$this->data['Jdk'] = $value; |
413
|
|
|
$this->options['query']['Jdk'] = $value; |
414
|
|
|
|
415
|
|
|
return $this; |
416
|
|
|
} |
417
|
|
|
|
418
|
|
|
/** |
419
|
|
|
* @param string $value |
420
|
|
|
* |
421
|
|
|
* @return $this |
422
|
|
|
*/ |
423
|
|
|
public function withAppDescription($value) |
424
|
|
|
{ |
425
|
|
|
$this->data['AppDescription'] = $value; |
426
|
|
|
$this->options['query']['AppDescription'] = $value; |
427
|
|
|
|
428
|
|
|
return $this; |
429
|
|
|
} |
430
|
|
|
|
431
|
|
|
/** |
432
|
|
|
* @param string $value |
433
|
|
|
* |
434
|
|
|
* @return $this |
435
|
|
|
*/ |
436
|
|
|
public function withJarStartOptions($value) |
437
|
|
|
{ |
438
|
|
|
$this->data['JarStartOptions'] = $value; |
439
|
|
|
$this->options['query']['JarStartOptions'] = $value; |
440
|
|
|
|
441
|
|
|
return $this; |
442
|
|
|
} |
443
|
|
|
|
444
|
|
|
/** |
445
|
|
|
* @param string $value |
446
|
|
|
* |
447
|
|
|
* @return $this |
448
|
|
|
*/ |
449
|
|
|
public function withEdasContainerVersion($value) |
450
|
|
|
{ |
451
|
|
|
$this->data['EdasContainerVersion'] = $value; |
452
|
|
|
$this->options['query']['EdasContainerVersion'] = $value; |
453
|
|
|
|
454
|
|
|
return $this; |
455
|
|
|
} |
456
|
|
|
|
457
|
|
|
/** |
458
|
|
|
* @param string $value |
459
|
|
|
* |
460
|
|
|
* @return $this |
461
|
|
|
*/ |
462
|
|
|
public function withAppName($value) |
463
|
|
|
{ |
464
|
|
|
$this->data['AppName'] = $value; |
465
|
|
|
$this->options['query']['AppName'] = $value; |
466
|
|
|
|
467
|
|
|
return $this; |
468
|
|
|
} |
469
|
|
|
|
470
|
|
|
/** |
471
|
|
|
* @param string $value |
472
|
|
|
* |
473
|
|
|
* @return $this |
474
|
|
|
*/ |
475
|
|
|
public function withNamespaceId($value) |
476
|
|
|
{ |
477
|
|
|
$this->data['NamespaceId'] = $value; |
478
|
|
|
$this->options['query']['NamespaceId'] = $value; |
479
|
|
|
|
480
|
|
|
return $this; |
481
|
|
|
} |
482
|
|
|
|
483
|
|
|
/** |
484
|
|
|
* @param string $value |
485
|
|
|
* |
486
|
|
|
* @return $this |
487
|
|
|
*/ |
488
|
|
|
public function withPackageUrl($value) |
489
|
|
|
{ |
490
|
|
|
$this->data['PackageUrl'] = $value; |
491
|
|
|
$this->options['query']['PackageUrl'] = $value; |
492
|
|
|
|
493
|
|
|
return $this; |
494
|
|
|
} |
495
|
|
|
|
496
|
|
|
/** |
497
|
|
|
* @param string $value |
498
|
|
|
* |
499
|
|
|
* @return $this |
500
|
|
|
*/ |
501
|
|
|
public function withVpcId($value) |
502
|
|
|
{ |
503
|
|
|
$this->data['VpcId'] = $value; |
504
|
|
|
$this->options['query']['VpcId'] = $value; |
505
|
|
|
|
506
|
|
|
return $this; |
507
|
|
|
} |
508
|
|
|
|
509
|
|
|
/** |
510
|
|
|
* @param string $value |
511
|
|
|
* |
512
|
|
|
* @return $this |
513
|
|
|
*/ |
514
|
|
|
public function withImageUrl($value) |
515
|
|
|
{ |
516
|
|
|
$this->data['ImageUrl'] = $value; |
517
|
|
|
$this->options['query']['ImageUrl'] = $value; |
518
|
|
|
|
519
|
|
|
return $this; |
520
|
|
|
} |
521
|
|
|
|
522
|
|
|
/** |
523
|
|
|
* @param string $value |
524
|
|
|
* |
525
|
|
|
* @return $this |
526
|
|
|
*/ |
527
|
|
|
public function withPackageType($value) |
528
|
|
|
{ |
529
|
|
|
$this->data['PackageType'] = $value; |
530
|
|
|
$this->options['query']['PackageType'] = $value; |
531
|
|
|
|
532
|
|
|
return $this; |
533
|
|
|
} |
534
|
|
|
} |
535
|
|
|
|
536
|
|
|
/** |
537
|
|
|
* @method string getIntranet() |
538
|
|
|
* @method string getAppId() |
539
|
|
|
* @method string getInternet() |
540
|
|
|
*/ |
541
|
|
|
class BindServerlessSlb extends V20170801Roa |
542
|
|
|
{ |
543
|
|
|
/** @var string */ |
544
|
|
|
public $pathPattern = '/pop/v5/k8s/acs/serverless_slb_binding'; |
545
|
|
|
|
546
|
|
|
/** |
547
|
|
|
* @param string $value |
548
|
|
|
* |
549
|
|
|
* @return $this |
550
|
|
|
*/ |
551
|
|
|
public function withIntranet($value) |
552
|
|
|
{ |
553
|
|
|
$this->data['Intranet'] = $value; |
554
|
|
|
$this->options['query']['Intranet'] = $value; |
555
|
|
|
|
556
|
|
|
return $this; |
557
|
|
|
} |
558
|
|
|
|
559
|
|
|
/** |
560
|
|
|
* @param string $value |
561
|
|
|
* |
562
|
|
|
* @return $this |
563
|
|
|
*/ |
564
|
|
|
public function withAppId($value) |
565
|
|
|
{ |
566
|
|
|
$this->data['AppId'] = $value; |
567
|
|
|
$this->options['query']['AppId'] = $value; |
568
|
|
|
|
569
|
|
|
return $this; |
570
|
|
|
} |
571
|
|
|
|
572
|
|
|
/** |
573
|
|
|
* @param string $value |
574
|
|
|
* |
575
|
|
|
* @return $this |
576
|
|
|
*/ |
577
|
|
|
public function withInternet($value) |
578
|
|
|
{ |
579
|
|
|
$this->data['Internet'] = $value; |
580
|
|
|
$this->options['query']['Internet'] = $value; |
581
|
|
|
|
582
|
|
|
return $this; |
583
|
|
|
} |
584
|
|
|
} |
585
|
|
|
|
586
|
|
|
/** |
587
|
|
|
* @method string getAct() |
588
|
|
|
* @method string getAppId() |
589
|
|
|
*/ |
590
|
|
|
class DeleteServerlessApplication extends V20170801Roa |
591
|
|
|
{ |
592
|
|
|
/** @var string */ |
593
|
|
|
public $pathPattern = '/pop/v5/k8s/pop/pop_serverless_app_delete'; |
594
|
|
|
|
595
|
|
|
/** @var string */ |
596
|
|
|
public $method = 'DELETE'; |
597
|
|
|
|
598
|
|
|
/** |
599
|
|
|
* @param string $value |
600
|
|
|
* |
601
|
|
|
* @return $this |
602
|
|
|
*/ |
603
|
|
|
public function withAct($value) |
604
|
|
|
{ |
605
|
|
|
$this->data['Act'] = $value; |
606
|
|
|
$this->options['query']['Act'] = $value; |
607
|
|
|
|
608
|
|
|
return $this; |
609
|
|
|
} |
610
|
|
|
|
611
|
|
|
/** |
612
|
|
|
* @param string $value |
613
|
|
|
* |
614
|
|
|
* @return $this |
615
|
|
|
*/ |
616
|
|
|
public function withAppId($value) |
617
|
|
|
{ |
618
|
|
|
$this->data['AppId'] = $value; |
619
|
|
|
$this->options['query']['AppId'] = $value; |
620
|
|
|
|
621
|
|
|
return $this; |
622
|
|
|
} |
623
|
|
|
} |
624
|
|
|
|
625
|
|
|
/** |
626
|
|
|
* @method string getWebContainer() |
627
|
|
|
* @method string getJarStartArgs() |
628
|
|
|
* @method string getCommandArgs() |
629
|
|
|
* @method string getReadiness() |
630
|
|
|
* @method string getBatchWaitTime() |
631
|
|
|
* @method string getLiveness() |
632
|
|
|
* @method string getEnvs() |
633
|
|
|
* @method string getPackageVersion() |
634
|
|
|
* @method string getCommand() |
635
|
|
|
* @method string getCustomHostAlias() |
636
|
|
|
* @method string getJdk() |
637
|
|
|
* @method string getJarStartOptions() |
638
|
|
|
* @method string getMinReadyInstances() |
639
|
|
|
* @method string getEdasContainerVersion() |
640
|
|
|
* @method string getPackageUrl() |
641
|
|
|
* @method string getAppId() |
642
|
|
|
* @method string getImageUrl() |
643
|
|
|
*/ |
644
|
|
|
class DeployServerlessApplication extends V20170801Roa |
645
|
|
|
{ |
646
|
|
|
/** @var string */ |
647
|
|
|
public $pathPattern = '/pop/v5/k8s/pop/pop_serverless_app_deploy'; |
648
|
|
|
|
649
|
|
|
/** |
650
|
|
|
* @param string $value |
651
|
|
|
* |
652
|
|
|
* @return $this |
653
|
|
|
*/ |
654
|
|
|
public function withWebContainer($value) |
655
|
|
|
{ |
656
|
|
|
$this->data['WebContainer'] = $value; |
657
|
|
|
$this->options['query']['WebContainer'] = $value; |
658
|
|
|
|
659
|
|
|
return $this; |
660
|
|
|
} |
661
|
|
|
|
662
|
|
|
/** |
663
|
|
|
* @param string $value |
664
|
|
|
* |
665
|
|
|
* @return $this |
666
|
|
|
*/ |
667
|
|
|
public function withJarStartArgs($value) |
668
|
|
|
{ |
669
|
|
|
$this->data['JarStartArgs'] = $value; |
670
|
|
|
$this->options['query']['JarStartArgs'] = $value; |
671
|
|
|
|
672
|
|
|
return $this; |
673
|
|
|
} |
674
|
|
|
|
675
|
|
|
/** |
676
|
|
|
* @param string $value |
677
|
|
|
* |
678
|
|
|
* @return $this |
679
|
|
|
*/ |
680
|
|
|
public function withCommandArgs($value) |
681
|
|
|
{ |
682
|
|
|
$this->data['CommandArgs'] = $value; |
683
|
|
|
$this->options['query']['CommandArgs'] = $value; |
684
|
|
|
|
685
|
|
|
return $this; |
686
|
|
|
} |
687
|
|
|
|
688
|
|
|
/** |
689
|
|
|
* @param string $value |
690
|
|
|
* |
691
|
|
|
* @return $this |
692
|
|
|
*/ |
693
|
|
|
public function withReadiness($value) |
694
|
|
|
{ |
695
|
|
|
$this->data['Readiness'] = $value; |
696
|
|
|
$this->options['query']['Readiness'] = $value; |
697
|
|
|
|
698
|
|
|
return $this; |
699
|
|
|
} |
700
|
|
|
|
701
|
|
|
/** |
702
|
|
|
* @param string $value |
703
|
|
|
* |
704
|
|
|
* @return $this |
705
|
|
|
*/ |
706
|
|
|
public function withBatchWaitTime($value) |
707
|
|
|
{ |
708
|
|
|
$this->data['BatchWaitTime'] = $value; |
709
|
|
|
$this->options['query']['BatchWaitTime'] = $value; |
710
|
|
|
|
711
|
|
|
return $this; |
712
|
|
|
} |
713
|
|
|
|
714
|
|
|
/** |
715
|
|
|
* @param string $value |
716
|
|
|
* |
717
|
|
|
* @return $this |
718
|
|
|
*/ |
719
|
|
|
public function withLiveness($value) |
720
|
|
|
{ |
721
|
|
|
$this->data['Liveness'] = $value; |
722
|
|
|
$this->options['query']['Liveness'] = $value; |
723
|
|
|
|
724
|
|
|
return $this; |
725
|
|
|
} |
726
|
|
|
|
727
|
|
|
/** |
728
|
|
|
* @param string $value |
729
|
|
|
* |
730
|
|
|
* @return $this |
731
|
|
|
*/ |
732
|
|
|
public function withEnvs($value) |
733
|
|
|
{ |
734
|
|
|
$this->data['Envs'] = $value; |
735
|
|
|
$this->options['query']['Envs'] = $value; |
736
|
|
|
|
737
|
|
|
return $this; |
738
|
|
|
} |
739
|
|
|
|
740
|
|
|
/** |
741
|
|
|
* @param string $value |
742
|
|
|
* |
743
|
|
|
* @return $this |
744
|
|
|
*/ |
745
|
|
|
public function withPackageVersion($value) |
746
|
|
|
{ |
747
|
|
|
$this->data['PackageVersion'] = $value; |
748
|
|
|
$this->options['query']['PackageVersion'] = $value; |
749
|
|
|
|
750
|
|
|
return $this; |
751
|
|
|
} |
752
|
|
|
|
753
|
|
|
/** |
754
|
|
|
* @param string $value |
755
|
|
|
* |
756
|
|
|
* @return $this |
757
|
|
|
*/ |
758
|
|
|
public function withCommand($value) |
759
|
|
|
{ |
760
|
|
|
$this->data['Command'] = $value; |
761
|
|
|
$this->options['query']['Command'] = $value; |
762
|
|
|
|
763
|
|
|
return $this; |
764
|
|
|
} |
765
|
|
|
|
766
|
|
|
/** |
767
|
|
|
* @param string $value |
768
|
|
|
* |
769
|
|
|
* @return $this |
770
|
|
|
*/ |
771
|
|
|
public function withCustomHostAlias($value) |
772
|
|
|
{ |
773
|
|
|
$this->data['CustomHostAlias'] = $value; |
774
|
|
|
$this->options['query']['CustomHostAlias'] = $value; |
775
|
|
|
|
776
|
|
|
return $this; |
777
|
|
|
} |
778
|
|
|
|
779
|
|
|
/** |
780
|
|
|
* @param string $value |
781
|
|
|
* |
782
|
|
|
* @return $this |
783
|
|
|
*/ |
784
|
|
|
public function withJdk($value) |
785
|
|
|
{ |
786
|
|
|
$this->data['Jdk'] = $value; |
787
|
|
|
$this->options['query']['Jdk'] = $value; |
788
|
|
|
|
789
|
|
|
return $this; |
790
|
|
|
} |
791
|
|
|
|
792
|
|
|
/** |
793
|
|
|
* @param string $value |
794
|
|
|
* |
795
|
|
|
* @return $this |
796
|
|
|
*/ |
797
|
|
|
public function withJarStartOptions($value) |
798
|
|
|
{ |
799
|
|
|
$this->data['JarStartOptions'] = $value; |
800
|
|
|
$this->options['query']['JarStartOptions'] = $value; |
801
|
|
|
|
802
|
|
|
return $this; |
803
|
|
|
} |
804
|
|
|
|
805
|
|
|
/** |
806
|
|
|
* @param string $value |
807
|
|
|
* |
808
|
|
|
* @return $this |
809
|
|
|
*/ |
810
|
|
|
public function withMinReadyInstances($value) |
811
|
|
|
{ |
812
|
|
|
$this->data['MinReadyInstances'] = $value; |
813
|
|
|
$this->options['query']['MinReadyInstances'] = $value; |
814
|
|
|
|
815
|
|
|
return $this; |
816
|
|
|
} |
817
|
|
|
|
818
|
|
|
/** |
819
|
|
|
* @param string $value |
820
|
|
|
* |
821
|
|
|
* @return $this |
822
|
|
|
*/ |
823
|
|
|
public function withEdasContainerVersion($value) |
824
|
|
|
{ |
825
|
|
|
$this->data['EdasContainerVersion'] = $value; |
826
|
|
|
$this->options['query']['EdasContainerVersion'] = $value; |
827
|
|
|
|
828
|
|
|
return $this; |
829
|
|
|
} |
830
|
|
|
|
831
|
|
|
/** |
832
|
|
|
* @param string $value |
833
|
|
|
* |
834
|
|
|
* @return $this |
835
|
|
|
*/ |
836
|
|
|
public function withPackageUrl($value) |
837
|
|
|
{ |
838
|
|
|
$this->data['PackageUrl'] = $value; |
839
|
|
|
$this->options['query']['PackageUrl'] = $value; |
840
|
|
|
|
841
|
|
|
return $this; |
842
|
|
|
} |
843
|
|
|
|
844
|
|
|
/** |
845
|
|
|
* @param string $value |
846
|
|
|
* |
847
|
|
|
* @return $this |
848
|
|
|
*/ |
849
|
|
|
public function withAppId($value) |
850
|
|
|
{ |
851
|
|
|
$this->data['AppId'] = $value; |
852
|
|
|
$this->options['query']['AppId'] = $value; |
853
|
|
|
|
854
|
|
|
return $this; |
855
|
|
|
} |
856
|
|
|
|
857
|
|
|
/** |
858
|
|
|
* @param string $value |
859
|
|
|
* |
860
|
|
|
* @return $this |
861
|
|
|
*/ |
862
|
|
|
public function withImageUrl($value) |
863
|
|
|
{ |
864
|
|
|
$this->data['ImageUrl'] = $value; |
865
|
|
|
$this->options['query']['ImageUrl'] = $value; |
866
|
|
|
|
867
|
|
|
return $this; |
868
|
|
|
} |
869
|
|
|
} |
870
|
|
|
|
871
|
|
|
/** |
872
|
|
|
* @method string getAppId() |
873
|
|
|
*/ |
874
|
|
|
class GetServerlessAppConfigDetail extends V20170801Roa |
875
|
|
|
{ |
876
|
|
|
/** @var string */ |
877
|
|
|
public $pathPattern = '/pop/v5/k8s/pop/pop_serverless_app_config_detail'; |
878
|
|
|
|
879
|
|
|
/** @var string */ |
880
|
|
|
public $method = 'GET'; |
881
|
|
|
|
882
|
|
|
/** |
883
|
|
|
* @param string $value |
884
|
|
|
* |
885
|
|
|
* @return $this |
886
|
|
|
*/ |
887
|
|
|
public function withAppId($value) |
888
|
|
|
{ |
889
|
|
|
$this->data['AppId'] = $value; |
890
|
|
|
$this->options['query']['AppId'] = $value; |
891
|
|
|
|
892
|
|
|
return $this; |
893
|
|
|
} |
894
|
|
|
} |
895
|
|
|
|
896
|
|
|
/** |
897
|
|
|
* @method string getWebContainer() |
898
|
|
|
* @method string getJarStartArgs() |
899
|
|
|
* @method string getMemory() |
900
|
|
|
* @method string getBuildPackId() |
901
|
|
|
* @method string getCommandArgs() |
902
|
|
|
* @method string getReplicas() |
903
|
|
|
* @method string getReadiness() |
904
|
|
|
* @method string getLiveness() |
905
|
|
|
* @method string getCpu() |
906
|
|
|
* @method string getEnvs() |
907
|
|
|
* @method string getPackageVersion() |
908
|
|
|
* @method string getCommand() |
909
|
|
|
* @method string getCustomHostAlias() |
910
|
|
|
* @method string getDeploy() |
911
|
|
|
* @method string getVSwitchId() |
912
|
|
|
* @method string getJdk() |
913
|
|
|
* @method string getAppDescription() |
914
|
|
|
* @method string getJarStartOptions() |
915
|
|
|
* @method string getAppName() |
916
|
|
|
* @method string getNamespaceId() |
917
|
|
|
* @method string getPackageUrl() |
918
|
|
|
* @method string getVpcId() |
919
|
|
|
* @method string getImageUrl() |
920
|
|
|
* @method string getPackageType() |
921
|
|
|
*/ |
922
|
|
|
class InsertServerlessApplication extends V20170801Roa |
923
|
|
|
{ |
924
|
|
|
/** @var string */ |
925
|
|
|
public $pathPattern = '/pop/v5/k8s/pop/pop_serverless_app_create_without_deploy'; |
926
|
|
|
|
927
|
|
|
/** |
928
|
|
|
* @param string $value |
929
|
|
|
* |
930
|
|
|
* @return $this |
931
|
|
|
*/ |
932
|
|
|
public function withWebContainer($value) |
933
|
|
|
{ |
934
|
|
|
$this->data['WebContainer'] = $value; |
935
|
|
|
$this->options['query']['WebContainer'] = $value; |
936
|
|
|
|
937
|
|
|
return $this; |
938
|
|
|
} |
939
|
|
|
|
940
|
|
|
/** |
941
|
|
|
* @param string $value |
942
|
|
|
* |
943
|
|
|
* @return $this |
944
|
|
|
*/ |
945
|
|
|
public function withJarStartArgs($value) |
946
|
|
|
{ |
947
|
|
|
$this->data['JarStartArgs'] = $value; |
948
|
|
|
$this->options['query']['JarStartArgs'] = $value; |
949
|
|
|
|
950
|
|
|
return $this; |
951
|
|
|
} |
952
|
|
|
|
953
|
|
|
/** |
954
|
|
|
* @param string $value |
955
|
|
|
* |
956
|
|
|
* @return $this |
957
|
|
|
*/ |
958
|
|
|
public function withMemory($value) |
959
|
|
|
{ |
960
|
|
|
$this->data['Memory'] = $value; |
961
|
|
|
$this->options['query']['Memory'] = $value; |
962
|
|
|
|
963
|
|
|
return $this; |
964
|
|
|
} |
965
|
|
|
|
966
|
|
|
/** |
967
|
|
|
* @param string $value |
968
|
|
|
* |
969
|
|
|
* @return $this |
970
|
|
|
*/ |
971
|
|
|
public function withBuildPackId($value) |
972
|
|
|
{ |
973
|
|
|
$this->data['BuildPackId'] = $value; |
974
|
|
|
$this->options['query']['BuildPackId'] = $value; |
975
|
|
|
|
976
|
|
|
return $this; |
977
|
|
|
} |
978
|
|
|
|
979
|
|
|
/** |
980
|
|
|
* @param string $value |
981
|
|
|
* |
982
|
|
|
* @return $this |
983
|
|
|
*/ |
984
|
|
|
public function withCommandArgs($value) |
985
|
|
|
{ |
986
|
|
|
$this->data['CommandArgs'] = $value; |
987
|
|
|
$this->options['query']['CommandArgs'] = $value; |
988
|
|
|
|
989
|
|
|
return $this; |
990
|
|
|
} |
991
|
|
|
|
992
|
|
|
/** |
993
|
|
|
* @param string $value |
994
|
|
|
* |
995
|
|
|
* @return $this |
996
|
|
|
*/ |
997
|
|
|
public function withReplicas($value) |
998
|
|
|
{ |
999
|
|
|
$this->data['Replicas'] = $value; |
1000
|
|
|
$this->options['query']['Replicas'] = $value; |
1001
|
|
|
|
1002
|
|
|
return $this; |
1003
|
|
|
} |
1004
|
|
|
|
1005
|
|
|
/** |
1006
|
|
|
* @param string $value |
1007
|
|
|
* |
1008
|
|
|
* @return $this |
1009
|
|
|
*/ |
1010
|
|
|
public function withReadiness($value) |
1011
|
|
|
{ |
1012
|
|
|
$this->data['Readiness'] = $value; |
1013
|
|
|
$this->options['query']['Readiness'] = $value; |
1014
|
|
|
|
1015
|
|
|
return $this; |
1016
|
|
|
} |
1017
|
|
|
|
1018
|
|
|
/** |
1019
|
|
|
* @param string $value |
1020
|
|
|
* |
1021
|
|
|
* @return $this |
1022
|
|
|
*/ |
1023
|
|
|
public function withLiveness($value) |
1024
|
|
|
{ |
1025
|
|
|
$this->data['Liveness'] = $value; |
1026
|
|
|
$this->options['query']['Liveness'] = $value; |
1027
|
|
|
|
1028
|
|
|
return $this; |
1029
|
|
|
} |
1030
|
|
|
|
1031
|
|
|
/** |
1032
|
|
|
* @param string $value |
1033
|
|
|
* |
1034
|
|
|
* @return $this |
1035
|
|
|
*/ |
1036
|
|
|
public function withCpu($value) |
1037
|
|
|
{ |
1038
|
|
|
$this->data['Cpu'] = $value; |
1039
|
|
|
$this->options['query']['Cpu'] = $value; |
1040
|
|
|
|
1041
|
|
|
return $this; |
1042
|
|
|
} |
1043
|
|
|
|
1044
|
|
|
/** |
1045
|
|
|
* @param string $value |
1046
|
|
|
* |
1047
|
|
|
* @return $this |
1048
|
|
|
*/ |
1049
|
|
|
public function withEnvs($value) |
1050
|
|
|
{ |
1051
|
|
|
$this->data['Envs'] = $value; |
1052
|
|
|
$this->options['query']['Envs'] = $value; |
1053
|
|
|
|
1054
|
|
|
return $this; |
1055
|
|
|
} |
1056
|
|
|
|
1057
|
|
|
/** |
1058
|
|
|
* @param string $value |
1059
|
|
|
* |
1060
|
|
|
* @return $this |
1061
|
|
|
*/ |
1062
|
|
|
public function withPackageVersion($value) |
1063
|
|
|
{ |
1064
|
|
|
$this->data['PackageVersion'] = $value; |
1065
|
|
|
$this->options['query']['PackageVersion'] = $value; |
1066
|
|
|
|
1067
|
|
|
return $this; |
1068
|
|
|
} |
1069
|
|
|
|
1070
|
|
|
/** |
1071
|
|
|
* @param string $value |
1072
|
|
|
* |
1073
|
|
|
* @return $this |
1074
|
|
|
*/ |
1075
|
|
|
public function withCommand($value) |
1076
|
|
|
{ |
1077
|
|
|
$this->data['Command'] = $value; |
1078
|
|
|
$this->options['query']['Command'] = $value; |
1079
|
|
|
|
1080
|
|
|
return $this; |
1081
|
|
|
} |
1082
|
|
|
|
1083
|
|
|
/** |
1084
|
|
|
* @param string $value |
1085
|
|
|
* |
1086
|
|
|
* @return $this |
1087
|
|
|
*/ |
1088
|
|
|
public function withCustomHostAlias($value) |
1089
|
|
|
{ |
1090
|
|
|
$this->data['CustomHostAlias'] = $value; |
1091
|
|
|
$this->options['query']['CustomHostAlias'] = $value; |
1092
|
|
|
|
1093
|
|
|
return $this; |
1094
|
|
|
} |
1095
|
|
|
|
1096
|
|
|
/** |
1097
|
|
|
* @param string $value |
1098
|
|
|
* |
1099
|
|
|
* @return $this |
1100
|
|
|
*/ |
1101
|
|
|
public function withDeploy($value) |
1102
|
|
|
{ |
1103
|
|
|
$this->data['Deploy'] = $value; |
1104
|
|
|
$this->options['query']['Deploy'] = $value; |
1105
|
|
|
|
1106
|
|
|
return $this; |
1107
|
|
|
} |
1108
|
|
|
|
1109
|
|
|
/** |
1110
|
|
|
* @param string $value |
1111
|
|
|
* |
1112
|
|
|
* @return $this |
1113
|
|
|
*/ |
1114
|
|
|
public function withVSwitchId($value) |
1115
|
|
|
{ |
1116
|
|
|
$this->data['VSwitchId'] = $value; |
1117
|
|
|
$this->options['query']['VSwitchId'] = $value; |
1118
|
|
|
|
1119
|
|
|
return $this; |
1120
|
|
|
} |
1121
|
|
|
|
1122
|
|
|
/** |
1123
|
|
|
* @param string $value |
1124
|
|
|
* |
1125
|
|
|
* @return $this |
1126
|
|
|
*/ |
1127
|
|
|
public function withJdk($value) |
1128
|
|
|
{ |
1129
|
|
|
$this->data['Jdk'] = $value; |
1130
|
|
|
$this->options['query']['Jdk'] = $value; |
1131
|
|
|
|
1132
|
|
|
return $this; |
1133
|
|
|
} |
1134
|
|
|
|
1135
|
|
|
/** |
1136
|
|
|
* @param string $value |
1137
|
|
|
* |
1138
|
|
|
* @return $this |
1139
|
|
|
*/ |
1140
|
|
|
public function withAppDescription($value) |
1141
|
|
|
{ |
1142
|
|
|
$this->data['AppDescription'] = $value; |
1143
|
|
|
$this->options['query']['AppDescription'] = $value; |
1144
|
|
|
|
1145
|
|
|
return $this; |
1146
|
|
|
} |
1147
|
|
|
|
1148
|
|
|
/** |
1149
|
|
|
* @param string $value |
1150
|
|
|
* |
1151
|
|
|
* @return $this |
1152
|
|
|
*/ |
1153
|
|
|
public function withJarStartOptions($value) |
1154
|
|
|
{ |
1155
|
|
|
$this->data['JarStartOptions'] = $value; |
1156
|
|
|
$this->options['query']['JarStartOptions'] = $value; |
1157
|
|
|
|
1158
|
|
|
return $this; |
1159
|
|
|
} |
1160
|
|
|
|
1161
|
|
|
/** |
1162
|
|
|
* @param string $value |
1163
|
|
|
* |
1164
|
|
|
* @return $this |
1165
|
|
|
*/ |
1166
|
|
|
public function withAppName($value) |
1167
|
|
|
{ |
1168
|
|
|
$this->data['AppName'] = $value; |
1169
|
|
|
$this->options['query']['AppName'] = $value; |
1170
|
|
|
|
1171
|
|
|
return $this; |
1172
|
|
|
} |
1173
|
|
|
|
1174
|
|
|
/** |
1175
|
|
|
* @param string $value |
1176
|
|
|
* |
1177
|
|
|
* @return $this |
1178
|
|
|
*/ |
1179
|
|
|
public function withNamespaceId($value) |
1180
|
|
|
{ |
1181
|
|
|
$this->data['NamespaceId'] = $value; |
1182
|
|
|
$this->options['query']['NamespaceId'] = $value; |
1183
|
|
|
|
1184
|
|
|
return $this; |
1185
|
|
|
} |
1186
|
|
|
|
1187
|
|
|
/** |
1188
|
|
|
* @param string $value |
1189
|
|
|
* |
1190
|
|
|
* @return $this |
1191
|
|
|
*/ |
1192
|
|
|
public function withPackageUrl($value) |
1193
|
|
|
{ |
1194
|
|
|
$this->data['PackageUrl'] = $value; |
1195
|
|
|
$this->options['query']['PackageUrl'] = $value; |
1196
|
|
|
|
1197
|
|
|
return $this; |
1198
|
|
|
} |
1199
|
|
|
|
1200
|
|
|
/** |
1201
|
|
|
* @param string $value |
1202
|
|
|
* |
1203
|
|
|
* @return $this |
1204
|
|
|
*/ |
1205
|
|
|
public function withVpcId($value) |
1206
|
|
|
{ |
1207
|
|
|
$this->data['VpcId'] = $value; |
1208
|
|
|
$this->options['query']['VpcId'] = $value; |
1209
|
|
|
|
1210
|
|
|
return $this; |
1211
|
|
|
} |
1212
|
|
|
|
1213
|
|
|
/** |
1214
|
|
|
* @param string $value |
1215
|
|
|
* |
1216
|
|
|
* @return $this |
1217
|
|
|
*/ |
1218
|
|
|
public function withImageUrl($value) |
1219
|
|
|
{ |
1220
|
|
|
$this->data['ImageUrl'] = $value; |
1221
|
|
|
$this->options['query']['ImageUrl'] = $value; |
1222
|
|
|
|
1223
|
|
|
return $this; |
1224
|
|
|
} |
1225
|
|
|
|
1226
|
|
|
/** |
1227
|
|
|
* @param string $value |
1228
|
|
|
* |
1229
|
|
|
* @return $this |
1230
|
|
|
*/ |
1231
|
|
|
public function withPackageType($value) |
1232
|
|
|
{ |
1233
|
|
|
$this->data['PackageType'] = $value; |
1234
|
|
|
$this->options['query']['PackageType'] = $value; |
1235
|
|
|
|
1236
|
|
|
return $this; |
1237
|
|
|
} |
1238
|
|
|
} |
1239
|
|
|
|
1240
|
|
|
/** |
1241
|
|
|
* @method string getReplicas() |
1242
|
|
|
* @method string getAppId() |
1243
|
|
|
*/ |
1244
|
|
|
class ScaleServerlessApplication extends V20170801Roa |
1245
|
|
|
{ |
1246
|
|
|
/** @var string */ |
1247
|
|
|
public $pathPattern = '/pop/v5/k8s/pop/pop_serverless_app_rescale'; |
1248
|
|
|
|
1249
|
|
|
/** @var string */ |
1250
|
|
|
public $method = 'PUT'; |
1251
|
|
|
|
1252
|
|
|
/** |
1253
|
|
|
* @param string $value |
1254
|
|
|
* |
1255
|
|
|
* @return $this |
1256
|
|
|
*/ |
1257
|
|
|
public function withReplicas($value) |
1258
|
|
|
{ |
1259
|
|
|
$this->data['Replicas'] = $value; |
1260
|
|
|
$this->options['query']['Replicas'] = $value; |
1261
|
|
|
|
1262
|
|
|
return $this; |
1263
|
|
|
} |
1264
|
|
|
|
1265
|
|
|
/** |
1266
|
|
|
* @param string $value |
1267
|
|
|
* |
1268
|
|
|
* @return $this |
1269
|
|
|
*/ |
1270
|
|
|
public function withAppId($value) |
1271
|
|
|
{ |
1272
|
|
|
$this->data['AppId'] = $value; |
1273
|
|
|
$this->options['query']['AppId'] = $value; |
1274
|
|
|
|
1275
|
|
|
return $this; |
1276
|
|
|
} |
1277
|
|
|
} |
1278
|
|
|
|
1279
|
|
|
/** |
1280
|
|
|
* @method string getIntranet() |
1281
|
|
|
* @method string getAppId() |
1282
|
|
|
* @method string getInternet() |
1283
|
|
|
*/ |
1284
|
|
|
class UnbindServerlessSlb extends V20170801Roa |
1285
|
|
|
{ |
1286
|
|
|
/** @var string */ |
1287
|
|
|
public $pathPattern = '/pop/v5/k8s/acs/serverless_slb_binding'; |
1288
|
|
|
|
1289
|
|
|
/** @var string */ |
1290
|
|
|
public $method = 'DELETE'; |
1291
|
|
|
|
1292
|
|
|
/** |
1293
|
|
|
* @param string $value |
1294
|
|
|
* |
1295
|
|
|
* @return $this |
1296
|
|
|
*/ |
1297
|
|
|
public function withIntranet($value) |
1298
|
|
|
{ |
1299
|
|
|
$this->data['Intranet'] = $value; |
1300
|
|
|
$this->options['query']['Intranet'] = $value; |
1301
|
|
|
|
1302
|
|
|
return $this; |
1303
|
|
|
} |
1304
|
|
|
|
1305
|
|
|
/** |
1306
|
|
|
* @param string $value |
1307
|
|
|
* |
1308
|
|
|
* @return $this |
1309
|
|
|
*/ |
1310
|
|
|
public function withAppId($value) |
1311
|
|
|
{ |
1312
|
|
|
$this->data['AppId'] = $value; |
1313
|
|
|
$this->options['query']['AppId'] = $value; |
1314
|
|
|
|
1315
|
|
|
return $this; |
1316
|
|
|
} |
1317
|
|
|
|
1318
|
|
|
/** |
1319
|
|
|
* @param string $value |
1320
|
|
|
* |
1321
|
|
|
* @return $this |
1322
|
|
|
*/ |
1323
|
|
|
public function withInternet($value) |
1324
|
|
|
{ |
1325
|
|
|
$this->data['Internet'] = $value; |
1326
|
|
|
$this->options['query']['Internet'] = $value; |
1327
|
|
|
|
1328
|
|
|
return $this; |
1329
|
|
|
} |
1330
|
|
|
} |
1331
|
|
|
|
1332
|
|
|
/** |
1333
|
|
|
* @method string getInstanceIds() |
1334
|
|
|
* @method string getDoAsync() |
1335
|
|
|
* @method string getClusterId() |
1336
|
|
|
*/ |
1337
|
|
|
class InstallAgent extends V20170801Roa |
1338
|
|
|
{ |
1339
|
|
|
/** @var string */ |
1340
|
|
|
public $pathPattern = '/pop/v5/ecss/install_agent'; |
1341
|
|
|
|
1342
|
|
|
/** |
1343
|
|
|
* @param string $value |
1344
|
|
|
* |
1345
|
|
|
* @return $this |
1346
|
|
|
*/ |
1347
|
|
|
public function withInstanceIds($value) |
1348
|
|
|
{ |
1349
|
|
|
$this->data['InstanceIds'] = $value; |
1350
|
|
|
$this->options['query']['InstanceIds'] = $value; |
1351
|
|
|
|
1352
|
|
|
return $this; |
1353
|
|
|
} |
1354
|
|
|
|
1355
|
|
|
/** |
1356
|
|
|
* @param string $value |
1357
|
|
|
* |
1358
|
|
|
* @return $this |
1359
|
|
|
*/ |
1360
|
|
|
public function withDoAsync($value) |
1361
|
|
|
{ |
1362
|
|
|
$this->data['DoAsync'] = $value; |
1363
|
|
|
$this->options['query']['DoAsync'] = $value; |
1364
|
|
|
|
1365
|
|
|
return $this; |
1366
|
|
|
} |
1367
|
|
|
|
1368
|
|
|
/** |
1369
|
|
|
* @param string $value |
1370
|
|
|
* |
1371
|
|
|
* @return $this |
1372
|
|
|
*/ |
1373
|
|
|
public function withClusterId($value) |
1374
|
|
|
{ |
1375
|
|
|
$this->data['ClusterId'] = $value; |
1376
|
|
|
$this->options['query']['ClusterId'] = $value; |
1377
|
|
|
|
1378
|
|
|
return $this; |
1379
|
|
|
} |
1380
|
|
|
} |
1381
|
|
|
|
1382
|
|
|
class ListComponents extends V20170801Roa |
1383
|
|
|
{ |
1384
|
|
|
/** @var string */ |
1385
|
|
|
public $pathPattern = '/pop/v5/resource/components'; |
1386
|
|
|
|
1387
|
|
|
/** @var string */ |
1388
|
|
|
public $method = 'GET'; |
1389
|
|
|
} |
1390
|
|
|
|
1391
|
|
|
class GetPackageStorageCredential extends V20170801Roa |
1392
|
|
|
{ |
1393
|
|
|
/** @var string */ |
1394
|
|
|
public $pathPattern = '/pop/v5/package_storage_credential'; |
1395
|
|
|
|
1396
|
|
|
/** @var string */ |
1397
|
|
|
public $method = 'GET'; |
1398
|
|
|
} |
1399
|
|
|
|
1400
|
|
|
/** |
1401
|
|
|
* @method string getVpcId() |
1402
|
|
|
* @method string getNetworkMode() |
1403
|
|
|
*/ |
1404
|
|
|
class ListEcsNotInCluster extends V20170801Roa |
1405
|
|
|
{ |
1406
|
|
|
/** @var string */ |
1407
|
|
|
public $pathPattern = '/pop/v5/resource/ecs_not_in_cluster'; |
1408
|
|
|
|
1409
|
|
|
/** @var string */ |
1410
|
|
|
public $method = 'GET'; |
1411
|
|
|
|
1412
|
|
|
/** |
1413
|
|
|
* @param string $value |
1414
|
|
|
* |
1415
|
|
|
* @return $this |
1416
|
|
|
*/ |
1417
|
|
|
public function withVpcId($value) |
1418
|
|
|
{ |
1419
|
|
|
$this->data['VpcId'] = $value; |
1420
|
|
|
$this->options['query']['VpcId'] = $value; |
1421
|
|
|
|
1422
|
|
|
return $this; |
1423
|
|
|
} |
1424
|
|
|
|
1425
|
|
|
/** |
1426
|
|
|
* @param string $value |
1427
|
|
|
* |
1428
|
|
|
* @return $this |
1429
|
|
|
*/ |
1430
|
|
|
public function withNetworkMode($value) |
1431
|
|
|
{ |
1432
|
|
|
$this->data['NetworkMode'] = $value; |
1433
|
|
|
$this->options['query']['NetworkMode'] = $value; |
1434
|
|
|
|
1435
|
|
|
return $this; |
1436
|
|
|
} |
1437
|
|
|
} |
1438
|
|
|
|
1439
|
|
|
/** |
1440
|
|
|
* @method string getSlbProtocol() |
1441
|
|
|
* @method string getPort() |
1442
|
|
|
* @method string getAppId() |
1443
|
|
|
* @method string getClusterId() |
1444
|
|
|
* @method string getType() |
1445
|
|
|
* @method string getTargetPort() |
1446
|
|
|
*/ |
1447
|
|
|
class UpdateK8sSlb extends V20170801Roa |
1448
|
|
|
{ |
1449
|
|
|
/** @var string */ |
1450
|
|
|
public $pathPattern = '/pop/v5/k8s/acs/k8s_slb_binding'; |
1451
|
|
|
|
1452
|
|
|
/** @var string */ |
1453
|
|
|
public $method = 'PUT'; |
1454
|
|
|
|
1455
|
|
|
/** |
1456
|
|
|
* @param string $value |
1457
|
|
|
* |
1458
|
|
|
* @return $this |
1459
|
|
|
*/ |
1460
|
|
|
public function withSlbProtocol($value) |
1461
|
|
|
{ |
1462
|
|
|
$this->data['SlbProtocol'] = $value; |
1463
|
|
|
$this->options['query']['SlbProtocol'] = $value; |
1464
|
|
|
|
1465
|
|
|
return $this; |
1466
|
|
|
} |
1467
|
|
|
|
1468
|
|
|
/** |
1469
|
|
|
* @param string $value |
1470
|
|
|
* |
1471
|
|
|
* @return $this |
1472
|
|
|
*/ |
1473
|
|
|
public function withPort($value) |
1474
|
|
|
{ |
1475
|
|
|
$this->data['Port'] = $value; |
1476
|
|
|
$this->options['query']['Port'] = $value; |
1477
|
|
|
|
1478
|
|
|
return $this; |
1479
|
|
|
} |
1480
|
|
|
|
1481
|
|
|
/** |
1482
|
|
|
* @param string $value |
1483
|
|
|
* |
1484
|
|
|
* @return $this |
1485
|
|
|
*/ |
1486
|
|
|
public function withAppId($value) |
1487
|
|
|
{ |
1488
|
|
|
$this->data['AppId'] = $value; |
1489
|
|
|
$this->options['query']['AppId'] = $value; |
1490
|
|
|
|
1491
|
|
|
return $this; |
1492
|
|
|
} |
1493
|
|
|
|
1494
|
|
|
/** |
1495
|
|
|
* @param string $value |
1496
|
|
|
* |
1497
|
|
|
* @return $this |
1498
|
|
|
*/ |
1499
|
|
|
public function withClusterId($value) |
1500
|
|
|
{ |
1501
|
|
|
$this->data['ClusterId'] = $value; |
1502
|
|
|
$this->options['query']['ClusterId'] = $value; |
1503
|
|
|
|
1504
|
|
|
return $this; |
1505
|
|
|
} |
1506
|
|
|
|
1507
|
|
|
/** |
1508
|
|
|
* @param string $value |
1509
|
|
|
* |
1510
|
|
|
* @return $this |
1511
|
|
|
*/ |
1512
|
|
|
public function withType($value) |
1513
|
|
|
{ |
1514
|
|
|
$this->data['Type'] = $value; |
1515
|
|
|
$this->options['query']['Type'] = $value; |
1516
|
|
|
|
1517
|
|
|
return $this; |
1518
|
|
|
} |
1519
|
|
|
|
1520
|
|
|
/** |
1521
|
|
|
* @param string $value |
1522
|
|
|
* |
1523
|
|
|
* @return $this |
1524
|
|
|
*/ |
1525
|
|
|
public function withTargetPort($value) |
1526
|
|
|
{ |
1527
|
|
|
$this->data['TargetPort'] = $value; |
1528
|
|
|
$this->options['query']['TargetPort'] = $value; |
1529
|
|
|
|
1530
|
|
|
return $this; |
1531
|
|
|
} |
1532
|
|
|
} |
1533
|
|
|
|
1534
|
|
|
/** |
1535
|
|
|
* @method string getSlbId() |
1536
|
|
|
* @method string getSlbProtocol() |
1537
|
|
|
* @method string getPort() |
1538
|
|
|
* @method string getAppId() |
1539
|
|
|
* @method string getClusterId() |
1540
|
|
|
* @method string getType() |
1541
|
|
|
* @method string getTargetPort() |
1542
|
|
|
*/ |
1543
|
|
|
class BindK8sSlb extends V20170801Roa |
1544
|
|
|
{ |
1545
|
|
|
/** @var string */ |
1546
|
|
|
public $pathPattern = '/pop/v5/k8s/acs/k8s_slb_binding'; |
1547
|
|
|
|
1548
|
|
|
/** |
1549
|
|
|
* @param string $value |
1550
|
|
|
* |
1551
|
|
|
* @return $this |
1552
|
|
|
*/ |
1553
|
|
|
public function withSlbId($value) |
1554
|
|
|
{ |
1555
|
|
|
$this->data['SlbId'] = $value; |
1556
|
|
|
$this->options['query']['SlbId'] = $value; |
1557
|
|
|
|
1558
|
|
|
return $this; |
1559
|
|
|
} |
1560
|
|
|
|
1561
|
|
|
/** |
1562
|
|
|
* @param string $value |
1563
|
|
|
* |
1564
|
|
|
* @return $this |
1565
|
|
|
*/ |
1566
|
|
|
public function withSlbProtocol($value) |
1567
|
|
|
{ |
1568
|
|
|
$this->data['SlbProtocol'] = $value; |
1569
|
|
|
$this->options['query']['SlbProtocol'] = $value; |
1570
|
|
|
|
1571
|
|
|
return $this; |
1572
|
|
|
} |
1573
|
|
|
|
1574
|
|
|
/** |
1575
|
|
|
* @param string $value |
1576
|
|
|
* |
1577
|
|
|
* @return $this |
1578
|
|
|
*/ |
1579
|
|
|
public function withPort($value) |
1580
|
|
|
{ |
1581
|
|
|
$this->data['Port'] = $value; |
1582
|
|
|
$this->options['query']['Port'] = $value; |
1583
|
|
|
|
1584
|
|
|
return $this; |
1585
|
|
|
} |
1586
|
|
|
|
1587
|
|
|
/** |
1588
|
|
|
* @param string $value |
1589
|
|
|
* |
1590
|
|
|
* @return $this |
1591
|
|
|
*/ |
1592
|
|
|
public function withAppId($value) |
1593
|
|
|
{ |
1594
|
|
|
$this->data['AppId'] = $value; |
1595
|
|
|
$this->options['query']['AppId'] = $value; |
1596
|
|
|
|
1597
|
|
|
return $this; |
1598
|
|
|
} |
1599
|
|
|
|
1600
|
|
|
/** |
1601
|
|
|
* @param string $value |
1602
|
|
|
* |
1603
|
|
|
* @return $this |
1604
|
|
|
*/ |
1605
|
|
|
public function withClusterId($value) |
1606
|
|
|
{ |
1607
|
|
|
$this->data['ClusterId'] = $value; |
1608
|
|
|
$this->options['query']['ClusterId'] = $value; |
1609
|
|
|
|
1610
|
|
|
return $this; |
1611
|
|
|
} |
1612
|
|
|
|
1613
|
|
|
/** |
1614
|
|
|
* @param string $value |
1615
|
|
|
* |
1616
|
|
|
* @return $this |
1617
|
|
|
*/ |
1618
|
|
|
public function withType($value) |
1619
|
|
|
{ |
1620
|
|
|
$this->data['Type'] = $value; |
1621
|
|
|
$this->options['query']['Type'] = $value; |
1622
|
|
|
|
1623
|
|
|
return $this; |
1624
|
|
|
} |
1625
|
|
|
|
1626
|
|
|
/** |
1627
|
|
|
* @param string $value |
1628
|
|
|
* |
1629
|
|
|
* @return $this |
1630
|
|
|
*/ |
1631
|
|
|
public function withTargetPort($value) |
1632
|
|
|
{ |
1633
|
|
|
$this->data['TargetPort'] = $value; |
1634
|
|
|
$this->options['query']['TargetPort'] = $value; |
1635
|
|
|
|
1636
|
|
|
return $this; |
1637
|
|
|
} |
1638
|
|
|
} |
1639
|
|
|
|
1640
|
|
|
/** |
1641
|
|
|
* @method string getAppId() |
1642
|
|
|
* @method string getGroupId() |
1643
|
|
|
*/ |
1644
|
|
|
class ListScalingRecords extends V20170801Roa |
1645
|
|
|
{ |
1646
|
|
|
/** @var string */ |
1647
|
|
|
public $pathPattern = '/pop/v5/app/scaling_records'; |
1648
|
|
|
|
1649
|
|
|
/** @var string */ |
1650
|
|
|
public $method = 'GET'; |
1651
|
|
|
|
1652
|
|
|
/** |
1653
|
|
|
* @param string $value |
1654
|
|
|
* |
1655
|
|
|
* @return $this |
1656
|
|
|
*/ |
1657
|
|
|
public function withAppId($value) |
1658
|
|
|
{ |
1659
|
|
|
$this->data['AppId'] = $value; |
1660
|
|
|
$this->options['query']['AppId'] = $value; |
1661
|
|
|
|
1662
|
|
|
return $this; |
1663
|
|
|
} |
1664
|
|
|
|
1665
|
|
|
/** |
1666
|
|
|
* @param string $value |
1667
|
|
|
* |
1668
|
|
|
* @return $this |
1669
|
|
|
*/ |
1670
|
|
|
public function withGroupId($value) |
1671
|
|
|
{ |
1672
|
|
|
$this->data['GroupId'] = $value; |
1673
|
|
|
$this->options['query']['GroupId'] = $value; |
1674
|
|
|
|
1675
|
|
|
return $this; |
1676
|
|
|
} |
1677
|
|
|
} |
1678
|
|
|
|
1679
|
|
|
/** |
1680
|
|
|
* @method string getAppId() |
1681
|
|
|
* @method string getClusterId() |
1682
|
|
|
* @method string getType() |
1683
|
|
|
*/ |
1684
|
|
|
class UnbindK8sSlb extends V20170801Roa |
1685
|
|
|
{ |
1686
|
|
|
/** @var string */ |
1687
|
|
|
public $pathPattern = '/pop/v5/k8s/acs/k8s_slb_binding'; |
1688
|
|
|
|
1689
|
|
|
/** @var string */ |
1690
|
|
|
public $method = 'DELETE'; |
1691
|
|
|
|
1692
|
|
|
/** |
1693
|
|
|
* @param string $value |
1694
|
|
|
* |
1695
|
|
|
* @return $this |
1696
|
|
|
*/ |
1697
|
|
|
public function withAppId($value) |
1698
|
|
|
{ |
1699
|
|
|
$this->data['AppId'] = $value; |
1700
|
|
|
$this->options['query']['AppId'] = $value; |
1701
|
|
|
|
1702
|
|
|
return $this; |
1703
|
|
|
} |
1704
|
|
|
|
1705
|
|
|
/** |
1706
|
|
|
* @param string $value |
1707
|
|
|
* |
1708
|
|
|
* @return $this |
1709
|
|
|
*/ |
1710
|
|
|
public function withClusterId($value) |
1711
|
|
|
{ |
1712
|
|
|
$this->data['ClusterId'] = $value; |
1713
|
|
|
$this->options['query']['ClusterId'] = $value; |
1714
|
|
|
|
1715
|
|
|
return $this; |
1716
|
|
|
} |
1717
|
|
|
|
1718
|
|
|
/** |
1719
|
|
|
* @param string $value |
1720
|
|
|
* |
1721
|
|
|
* @return $this |
1722
|
|
|
*/ |
1723
|
|
|
public function withType($value) |
1724
|
|
|
{ |
1725
|
|
|
$this->data['Type'] = $value; |
1726
|
|
|
$this->options['query']['Type'] = $value; |
1727
|
|
|
|
1728
|
|
|
return $this; |
1729
|
|
|
} |
1730
|
|
|
} |
1731
|
|
|
|
1732
|
|
|
/** |
1733
|
|
|
* @method string getAppId() |
1734
|
|
|
* @method string getMemoryLimit() |
1735
|
|
|
* @method string getClusterId() |
1736
|
|
|
* @method string getCpuLimit() |
1737
|
|
|
*/ |
1738
|
|
|
class UpdateK8sApplicationConfig extends V20170801Roa |
1739
|
|
|
{ |
1740
|
|
|
/** @var string */ |
1741
|
|
|
public $pathPattern = '/pop/v5/k8s/acs/k8s_app_configuration'; |
1742
|
|
|
|
1743
|
|
|
/** @var string */ |
1744
|
|
|
public $method = 'PUT'; |
1745
|
|
|
|
1746
|
|
|
/** |
1747
|
|
|
* @param string $value |
1748
|
|
|
* |
1749
|
|
|
* @return $this |
1750
|
|
|
*/ |
1751
|
|
|
public function withAppId($value) |
1752
|
|
|
{ |
1753
|
|
|
$this->data['AppId'] = $value; |
1754
|
|
|
$this->options['query']['AppId'] = $value; |
1755
|
|
|
|
1756
|
|
|
return $this; |
1757
|
|
|
} |
1758
|
|
|
|
1759
|
|
|
/** |
1760
|
|
|
* @param string $value |
1761
|
|
|
* |
1762
|
|
|
* @return $this |
1763
|
|
|
*/ |
1764
|
|
|
public function withMemoryLimit($value) |
1765
|
|
|
{ |
1766
|
|
|
$this->data['MemoryLimit'] = $value; |
1767
|
|
|
$this->options['query']['MemoryLimit'] = $value; |
1768
|
|
|
|
1769
|
|
|
return $this; |
1770
|
|
|
} |
1771
|
|
|
|
1772
|
|
|
/** |
1773
|
|
|
* @param string $value |
1774
|
|
|
* |
1775
|
|
|
* @return $this |
1776
|
|
|
*/ |
1777
|
|
|
public function withClusterId($value) |
1778
|
|
|
{ |
1779
|
|
|
$this->data['ClusterId'] = $value; |
1780
|
|
|
$this->options['query']['ClusterId'] = $value; |
1781
|
|
|
|
1782
|
|
|
return $this; |
1783
|
|
|
} |
1784
|
|
|
|
1785
|
|
|
/** |
1786
|
|
|
* @param string $value |
1787
|
|
|
* |
1788
|
|
|
* @return $this |
1789
|
|
|
*/ |
1790
|
|
|
public function withCpuLimit($value) |
1791
|
|
|
{ |
1792
|
|
|
$this->data['CpuLimit'] = $value; |
1793
|
|
|
$this->options['query']['CpuLimit'] = $value; |
1794
|
|
|
|
1795
|
|
|
return $this; |
1796
|
|
|
} |
1797
|
|
|
} |
1798
|
|
|
|
1799
|
|
|
/** |
1800
|
|
|
* @method string getNamespaceId() |
1801
|
|
|
* @method string getClusterId() |
1802
|
|
|
*/ |
1803
|
|
|
class ImportK8sCluster extends V20170801Roa |
1804
|
|
|
{ |
1805
|
|
|
/** @var string */ |
1806
|
|
|
public $pathPattern = '/pop/v5/import_k8s_cluster'; |
1807
|
|
|
|
1808
|
|
|
/** |
1809
|
|
|
* @param string $value |
1810
|
|
|
* |
1811
|
|
|
* @return $this |
1812
|
|
|
*/ |
1813
|
|
|
public function withNamespaceId($value) |
1814
|
|
|
{ |
1815
|
|
|
$this->data['NamespaceId'] = $value; |
1816
|
|
|
$this->options['query']['NamespaceId'] = $value; |
1817
|
|
|
|
1818
|
|
|
return $this; |
1819
|
|
|
} |
1820
|
|
|
|
1821
|
|
|
/** |
1822
|
|
|
* @param string $value |
1823
|
|
|
* |
1824
|
|
|
* @return $this |
1825
|
|
|
*/ |
1826
|
|
|
public function withClusterId($value) |
1827
|
|
|
{ |
1828
|
|
|
$this->data['ClusterId'] = $value; |
1829
|
|
|
$this->options['query']['ClusterId'] = $value; |
1830
|
|
|
|
1831
|
|
|
return $this; |
1832
|
|
|
} |
1833
|
|
|
} |
1834
|
|
|
|
1835
|
|
|
/** |
1836
|
|
|
* @method string getNasId() |
1837
|
|
|
* @method string getRepoId() |
1838
|
|
|
* @method string getInternetTargetPort() |
1839
|
|
|
* @method string getWebContainer() |
1840
|
|
|
* @method string getIntranetSlbId() |
1841
|
|
|
* @method string getCommandArgs() |
1842
|
|
|
* @method string getReadiness() |
1843
|
|
|
* @method string getLiveness() |
1844
|
|
|
* @method string getInternetSlbPort() |
1845
|
|
|
* @method string getEnvs() |
1846
|
|
|
* @method string getRequestsMem() |
1847
|
|
|
* @method string getPackageVersion() |
1848
|
|
|
* @method string getStorageType() |
1849
|
|
|
* @method string getLimitMem() |
1850
|
|
|
* @method string getEdasContainerVersion() |
1851
|
|
|
* @method string getAppName() |
1852
|
|
|
* @method string getInternetSlbId() |
1853
|
|
|
* @method string getLogicalRegionId() |
1854
|
|
|
* @method string getPackageUrl() |
1855
|
|
|
* @method string getInternetSlbProtocol() |
1856
|
|
|
* @method string getIntranetSlbPort() |
1857
|
|
|
* @method string getPreStop() |
1858
|
|
|
* @method string getMountDescs() |
1859
|
|
|
* @method string getReplicas() |
1860
|
|
|
* @method string getLimitCpu() |
1861
|
|
|
* @method string getClusterId() |
1862
|
|
|
* @method string getIntranetTargetPort() |
1863
|
|
|
* @method string getLocalVolume() |
1864
|
|
|
* @method string getCommand() |
1865
|
|
|
* @method string getJDK() |
1866
|
|
|
* @method string getIntranetSlbProtocol() |
1867
|
|
|
* @method string getImageUrl() |
1868
|
|
|
* @method string getNamespace() |
1869
|
|
|
* @method string getApplicationDescription() |
1870
|
|
|
* @method string getPackageType() |
1871
|
|
|
* @method string getRequestsCpu() |
1872
|
|
|
* @method string getPostStart() |
1873
|
|
|
*/ |
1874
|
|
|
class InsertK8sApplication extends V20170801Roa |
1875
|
|
|
{ |
1876
|
|
|
/** @var string */ |
1877
|
|
|
public $pathPattern = '/pop/v5/k8s/acs/create_k8s_app'; |
1878
|
|
|
|
1879
|
|
|
/** |
1880
|
|
|
* @param string $value |
1881
|
|
|
* |
1882
|
|
|
* @return $this |
1883
|
|
|
*/ |
1884
|
|
|
public function withNasId($value) |
1885
|
|
|
{ |
1886
|
|
|
$this->data['NasId'] = $value; |
1887
|
|
|
$this->options['query']['NasId'] = $value; |
1888
|
|
|
|
1889
|
|
|
return $this; |
1890
|
|
|
} |
1891
|
|
|
|
1892
|
|
|
/** |
1893
|
|
|
* @param string $value |
1894
|
|
|
* |
1895
|
|
|
* @return $this |
1896
|
|
|
*/ |
1897
|
|
|
public function withRepoId($value) |
1898
|
|
|
{ |
1899
|
|
|
$this->data['RepoId'] = $value; |
1900
|
|
|
$this->options['query']['RepoId'] = $value; |
1901
|
|
|
|
1902
|
|
|
return $this; |
1903
|
|
|
} |
1904
|
|
|
|
1905
|
|
|
/** |
1906
|
|
|
* @param string $value |
1907
|
|
|
* |
1908
|
|
|
* @return $this |
1909
|
|
|
*/ |
1910
|
|
|
public function withInternetTargetPort($value) |
1911
|
|
|
{ |
1912
|
|
|
$this->data['InternetTargetPort'] = $value; |
1913
|
|
|
$this->options['query']['InternetTargetPort'] = $value; |
1914
|
|
|
|
1915
|
|
|
return $this; |
1916
|
|
|
} |
1917
|
|
|
|
1918
|
|
|
/** |
1919
|
|
|
* @param string $value |
1920
|
|
|
* |
1921
|
|
|
* @return $this |
1922
|
|
|
*/ |
1923
|
|
|
public function withWebContainer($value) |
1924
|
|
|
{ |
1925
|
|
|
$this->data['WebContainer'] = $value; |
1926
|
|
|
$this->options['query']['WebContainer'] = $value; |
1927
|
|
|
|
1928
|
|
|
return $this; |
1929
|
|
|
} |
1930
|
|
|
|
1931
|
|
|
/** |
1932
|
|
|
* @param string $value |
1933
|
|
|
* |
1934
|
|
|
* @return $this |
1935
|
|
|
*/ |
1936
|
|
|
public function withIntranetSlbId($value) |
1937
|
|
|
{ |
1938
|
|
|
$this->data['IntranetSlbId'] = $value; |
1939
|
|
|
$this->options['query']['IntranetSlbId'] = $value; |
1940
|
|
|
|
1941
|
|
|
return $this; |
1942
|
|
|
} |
1943
|
|
|
|
1944
|
|
|
/** |
1945
|
|
|
* @param string $value |
1946
|
|
|
* |
1947
|
|
|
* @return $this |
1948
|
|
|
*/ |
1949
|
|
|
public function withCommandArgs($value) |
1950
|
|
|
{ |
1951
|
|
|
$this->data['CommandArgs'] = $value; |
1952
|
|
|
$this->options['query']['CommandArgs'] = $value; |
1953
|
|
|
|
1954
|
|
|
return $this; |
1955
|
|
|
} |
1956
|
|
|
|
1957
|
|
|
/** |
1958
|
|
|
* @param string $value |
1959
|
|
|
* |
1960
|
|
|
* @return $this |
1961
|
|
|
*/ |
1962
|
|
|
public function withReadiness($value) |
1963
|
|
|
{ |
1964
|
|
|
$this->data['Readiness'] = $value; |
1965
|
|
|
$this->options['query']['Readiness'] = $value; |
1966
|
|
|
|
1967
|
|
|
return $this; |
1968
|
|
|
} |
1969
|
|
|
|
1970
|
|
|
/** |
1971
|
|
|
* @param string $value |
1972
|
|
|
* |
1973
|
|
|
* @return $this |
1974
|
|
|
*/ |
1975
|
|
|
public function withLiveness($value) |
1976
|
|
|
{ |
1977
|
|
|
$this->data['Liveness'] = $value; |
1978
|
|
|
$this->options['query']['Liveness'] = $value; |
1979
|
|
|
|
1980
|
|
|
return $this; |
1981
|
|
|
} |
1982
|
|
|
|
1983
|
|
|
/** |
1984
|
|
|
* @param string $value |
1985
|
|
|
* |
1986
|
|
|
* @return $this |
1987
|
|
|
*/ |
1988
|
|
|
public function withInternetSlbPort($value) |
1989
|
|
|
{ |
1990
|
|
|
$this->data['InternetSlbPort'] = $value; |
1991
|
|
|
$this->options['query']['InternetSlbPort'] = $value; |
1992
|
|
|
|
1993
|
|
|
return $this; |
1994
|
|
|
} |
1995
|
|
|
|
1996
|
|
|
/** |
1997
|
|
|
* @param string $value |
1998
|
|
|
* |
1999
|
|
|
* @return $this |
2000
|
|
|
*/ |
2001
|
|
|
public function withEnvs($value) |
2002
|
|
|
{ |
2003
|
|
|
$this->data['Envs'] = $value; |
2004
|
|
|
$this->options['query']['Envs'] = $value; |
2005
|
|
|
|
2006
|
|
|
return $this; |
2007
|
|
|
} |
2008
|
|
|
|
2009
|
|
|
/** |
2010
|
|
|
* @param string $value |
2011
|
|
|
* |
2012
|
|
|
* @return $this |
2013
|
|
|
*/ |
2014
|
|
|
public function withRequestsMem($value) |
2015
|
|
|
{ |
2016
|
|
|
$this->data['RequestsMem'] = $value; |
2017
|
|
|
$this->options['query']['RequestsMem'] = $value; |
2018
|
|
|
|
2019
|
|
|
return $this; |
2020
|
|
|
} |
2021
|
|
|
|
2022
|
|
|
/** |
2023
|
|
|
* @param string $value |
2024
|
|
|
* |
2025
|
|
|
* @return $this |
2026
|
|
|
*/ |
2027
|
|
|
public function withPackageVersion($value) |
2028
|
|
|
{ |
2029
|
|
|
$this->data['PackageVersion'] = $value; |
2030
|
|
|
$this->options['query']['PackageVersion'] = $value; |
2031
|
|
|
|
2032
|
|
|
return $this; |
2033
|
|
|
} |
2034
|
|
|
|
2035
|
|
|
/** |
2036
|
|
|
* @param string $value |
2037
|
|
|
* |
2038
|
|
|
* @return $this |
2039
|
|
|
*/ |
2040
|
|
|
public function withStorageType($value) |
2041
|
|
|
{ |
2042
|
|
|
$this->data['StorageType'] = $value; |
2043
|
|
|
$this->options['query']['StorageType'] = $value; |
2044
|
|
|
|
2045
|
|
|
return $this; |
2046
|
|
|
} |
2047
|
|
|
|
2048
|
|
|
/** |
2049
|
|
|
* @param string $value |
2050
|
|
|
* |
2051
|
|
|
* @return $this |
2052
|
|
|
*/ |
2053
|
|
|
public function withLimitMem($value) |
2054
|
|
|
{ |
2055
|
|
|
$this->data['LimitMem'] = $value; |
2056
|
|
|
$this->options['query']['LimitMem'] = $value; |
2057
|
|
|
|
2058
|
|
|
return $this; |
2059
|
|
|
} |
2060
|
|
|
|
2061
|
|
|
/** |
2062
|
|
|
* @param string $value |
2063
|
|
|
* |
2064
|
|
|
* @return $this |
2065
|
|
|
*/ |
2066
|
|
|
public function withEdasContainerVersion($value) |
2067
|
|
|
{ |
2068
|
|
|
$this->data['EdasContainerVersion'] = $value; |
2069
|
|
|
$this->options['query']['EdasContainerVersion'] = $value; |
2070
|
|
|
|
2071
|
|
|
return $this; |
2072
|
|
|
} |
2073
|
|
|
|
2074
|
|
|
/** |
2075
|
|
|
* @param string $value |
2076
|
|
|
* |
2077
|
|
|
* @return $this |
2078
|
|
|
*/ |
2079
|
|
|
public function withAppName($value) |
2080
|
|
|
{ |
2081
|
|
|
$this->data['AppName'] = $value; |
2082
|
|
|
$this->options['query']['AppName'] = $value; |
2083
|
|
|
|
2084
|
|
|
return $this; |
2085
|
|
|
} |
2086
|
|
|
|
2087
|
|
|
/** |
2088
|
|
|
* @param string $value |
2089
|
|
|
* |
2090
|
|
|
* @return $this |
2091
|
|
|
*/ |
2092
|
|
|
public function withInternetSlbId($value) |
2093
|
|
|
{ |
2094
|
|
|
$this->data['InternetSlbId'] = $value; |
2095
|
|
|
$this->options['query']['InternetSlbId'] = $value; |
2096
|
|
|
|
2097
|
|
|
return $this; |
2098
|
|
|
} |
2099
|
|
|
|
2100
|
|
|
/** |
2101
|
|
|
* @param string $value |
2102
|
|
|
* |
2103
|
|
|
* @return $this |
2104
|
|
|
*/ |
2105
|
|
|
public function withLogicalRegionId($value) |
2106
|
|
|
{ |
2107
|
|
|
$this->data['LogicalRegionId'] = $value; |
2108
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
2109
|
|
|
|
2110
|
|
|
return $this; |
2111
|
|
|
} |
2112
|
|
|
|
2113
|
|
|
/** |
2114
|
|
|
* @param string $value |
2115
|
|
|
* |
2116
|
|
|
* @return $this |
2117
|
|
|
*/ |
2118
|
|
|
public function withPackageUrl($value) |
2119
|
|
|
{ |
2120
|
|
|
$this->data['PackageUrl'] = $value; |
2121
|
|
|
$this->options['query']['PackageUrl'] = $value; |
2122
|
|
|
|
2123
|
|
|
return $this; |
2124
|
|
|
} |
2125
|
|
|
|
2126
|
|
|
/** |
2127
|
|
|
* @param string $value |
2128
|
|
|
* |
2129
|
|
|
* @return $this |
2130
|
|
|
*/ |
2131
|
|
|
public function withInternetSlbProtocol($value) |
2132
|
|
|
{ |
2133
|
|
|
$this->data['InternetSlbProtocol'] = $value; |
2134
|
|
|
$this->options['query']['InternetSlbProtocol'] = $value; |
2135
|
|
|
|
2136
|
|
|
return $this; |
2137
|
|
|
} |
2138
|
|
|
|
2139
|
|
|
/** |
2140
|
|
|
* @param string $value |
2141
|
|
|
* |
2142
|
|
|
* @return $this |
2143
|
|
|
*/ |
2144
|
|
|
public function withIntranetSlbPort($value) |
2145
|
|
|
{ |
2146
|
|
|
$this->data['IntranetSlbPort'] = $value; |
2147
|
|
|
$this->options['query']['IntranetSlbPort'] = $value; |
2148
|
|
|
|
2149
|
|
|
return $this; |
2150
|
|
|
} |
2151
|
|
|
|
2152
|
|
|
/** |
2153
|
|
|
* @param string $value |
2154
|
|
|
* |
2155
|
|
|
* @return $this |
2156
|
|
|
*/ |
2157
|
|
|
public function withPreStop($value) |
2158
|
|
|
{ |
2159
|
|
|
$this->data['PreStop'] = $value; |
2160
|
|
|
$this->options['query']['PreStop'] = $value; |
2161
|
|
|
|
2162
|
|
|
return $this; |
2163
|
|
|
} |
2164
|
|
|
|
2165
|
|
|
/** |
2166
|
|
|
* @param string $value |
2167
|
|
|
* |
2168
|
|
|
* @return $this |
2169
|
|
|
*/ |
2170
|
|
|
public function withMountDescs($value) |
2171
|
|
|
{ |
2172
|
|
|
$this->data['MountDescs'] = $value; |
2173
|
|
|
$this->options['query']['MountDescs'] = $value; |
2174
|
|
|
|
2175
|
|
|
return $this; |
2176
|
|
|
} |
2177
|
|
|
|
2178
|
|
|
/** |
2179
|
|
|
* @param string $value |
2180
|
|
|
* |
2181
|
|
|
* @return $this |
2182
|
|
|
*/ |
2183
|
|
|
public function withReplicas($value) |
2184
|
|
|
{ |
2185
|
|
|
$this->data['Replicas'] = $value; |
2186
|
|
|
$this->options['query']['Replicas'] = $value; |
2187
|
|
|
|
2188
|
|
|
return $this; |
2189
|
|
|
} |
2190
|
|
|
|
2191
|
|
|
/** |
2192
|
|
|
* @param string $value |
2193
|
|
|
* |
2194
|
|
|
* @return $this |
2195
|
|
|
*/ |
2196
|
|
|
public function withLimitCpu($value) |
2197
|
|
|
{ |
2198
|
|
|
$this->data['LimitCpu'] = $value; |
2199
|
|
|
$this->options['query']['LimitCpu'] = $value; |
2200
|
|
|
|
2201
|
|
|
return $this; |
2202
|
|
|
} |
2203
|
|
|
|
2204
|
|
|
/** |
2205
|
|
|
* @param string $value |
2206
|
|
|
* |
2207
|
|
|
* @return $this |
2208
|
|
|
*/ |
2209
|
|
|
public function withClusterId($value) |
2210
|
|
|
{ |
2211
|
|
|
$this->data['ClusterId'] = $value; |
2212
|
|
|
$this->options['query']['ClusterId'] = $value; |
2213
|
|
|
|
2214
|
|
|
return $this; |
2215
|
|
|
} |
2216
|
|
|
|
2217
|
|
|
/** |
2218
|
|
|
* @param string $value |
2219
|
|
|
* |
2220
|
|
|
* @return $this |
2221
|
|
|
*/ |
2222
|
|
|
public function withIntranetTargetPort($value) |
2223
|
|
|
{ |
2224
|
|
|
$this->data['IntranetTargetPort'] = $value; |
2225
|
|
|
$this->options['query']['IntranetTargetPort'] = $value; |
2226
|
|
|
|
2227
|
|
|
return $this; |
2228
|
|
|
} |
2229
|
|
|
|
2230
|
|
|
/** |
2231
|
|
|
* @param string $value |
2232
|
|
|
* |
2233
|
|
|
* @return $this |
2234
|
|
|
*/ |
2235
|
|
|
public function withLocalVolume($value) |
2236
|
|
|
{ |
2237
|
|
|
$this->data['LocalVolume'] = $value; |
2238
|
|
|
$this->options['query']['LocalVolume'] = $value; |
2239
|
|
|
|
2240
|
|
|
return $this; |
2241
|
|
|
} |
2242
|
|
|
|
2243
|
|
|
/** |
2244
|
|
|
* @param string $value |
2245
|
|
|
* |
2246
|
|
|
* @return $this |
2247
|
|
|
*/ |
2248
|
|
|
public function withCommand($value) |
2249
|
|
|
{ |
2250
|
|
|
$this->data['Command'] = $value; |
2251
|
|
|
$this->options['query']['Command'] = $value; |
2252
|
|
|
|
2253
|
|
|
return $this; |
2254
|
|
|
} |
2255
|
|
|
|
2256
|
|
|
/** |
2257
|
|
|
* @param string $value |
2258
|
|
|
* |
2259
|
|
|
* @return $this |
2260
|
|
|
*/ |
2261
|
|
|
public function withJDK($value) |
2262
|
|
|
{ |
2263
|
|
|
$this->data['JDK'] = $value; |
2264
|
|
|
$this->options['query']['JDK'] = $value; |
2265
|
|
|
|
2266
|
|
|
return $this; |
2267
|
|
|
} |
2268
|
|
|
|
2269
|
|
|
/** |
2270
|
|
|
* @param string $value |
2271
|
|
|
* |
2272
|
|
|
* @return $this |
2273
|
|
|
*/ |
2274
|
|
|
public function withIntranetSlbProtocol($value) |
2275
|
|
|
{ |
2276
|
|
|
$this->data['IntranetSlbProtocol'] = $value; |
2277
|
|
|
$this->options['query']['IntranetSlbProtocol'] = $value; |
2278
|
|
|
|
2279
|
|
|
return $this; |
2280
|
|
|
} |
2281
|
|
|
|
2282
|
|
|
/** |
2283
|
|
|
* @param string $value |
2284
|
|
|
* |
2285
|
|
|
* @return $this |
2286
|
|
|
*/ |
2287
|
|
|
public function withImageUrl($value) |
2288
|
|
|
{ |
2289
|
|
|
$this->data['ImageUrl'] = $value; |
2290
|
|
|
$this->options['query']['ImageUrl'] = $value; |
2291
|
|
|
|
2292
|
|
|
return $this; |
2293
|
|
|
} |
2294
|
|
|
|
2295
|
|
|
/** |
2296
|
|
|
* @param string $value |
2297
|
|
|
* |
2298
|
|
|
* @return $this |
2299
|
|
|
*/ |
2300
|
|
|
public function withNamespace($value) |
2301
|
|
|
{ |
2302
|
|
|
$this->data['Namespace'] = $value; |
2303
|
|
|
$this->options['query']['Namespace'] = $value; |
2304
|
|
|
|
2305
|
|
|
return $this; |
2306
|
|
|
} |
2307
|
|
|
|
2308
|
|
|
/** |
2309
|
|
|
* @param string $value |
2310
|
|
|
* |
2311
|
|
|
* @return $this |
2312
|
|
|
*/ |
2313
|
|
|
public function withApplicationDescription($value) |
2314
|
|
|
{ |
2315
|
|
|
$this->data['ApplicationDescription'] = $value; |
2316
|
|
|
$this->options['query']['ApplicationDescription'] = $value; |
2317
|
|
|
|
2318
|
|
|
return $this; |
2319
|
|
|
} |
2320
|
|
|
|
2321
|
|
|
/** |
2322
|
|
|
* @param string $value |
2323
|
|
|
* |
2324
|
|
|
* @return $this |
2325
|
|
|
*/ |
2326
|
|
|
public function withPackageType($value) |
2327
|
|
|
{ |
2328
|
|
|
$this->data['PackageType'] = $value; |
2329
|
|
|
$this->options['query']['PackageType'] = $value; |
2330
|
|
|
|
2331
|
|
|
return $this; |
2332
|
|
|
} |
2333
|
|
|
|
2334
|
|
|
/** |
2335
|
|
|
* @param string $value |
2336
|
|
|
* |
2337
|
|
|
* @return $this |
2338
|
|
|
*/ |
2339
|
|
|
public function withRequestsCpu($value) |
2340
|
|
|
{ |
2341
|
|
|
$this->data['RequestsCpu'] = $value; |
2342
|
|
|
$this->options['query']['RequestsCpu'] = $value; |
2343
|
|
|
|
2344
|
|
|
return $this; |
2345
|
|
|
} |
2346
|
|
|
|
2347
|
|
|
/** |
2348
|
|
|
* @param string $value |
2349
|
|
|
* |
2350
|
|
|
* @return $this |
2351
|
|
|
*/ |
2352
|
|
|
public function withPostStart($value) |
2353
|
|
|
{ |
2354
|
|
|
$this->data['PostStart'] = $value; |
2355
|
|
|
$this->options['query']['PostStart'] = $value; |
2356
|
|
|
|
2357
|
|
|
return $this; |
2358
|
|
|
} |
2359
|
|
|
} |
2360
|
|
|
|
2361
|
|
|
/** |
2362
|
|
|
* @method string getNasId() |
2363
|
|
|
* @method string getWebContainer() |
2364
|
|
|
* @method string getReadiness() |
2365
|
|
|
* @method string getBatchWaitTime() |
2366
|
|
|
* @method string getLiveness() |
2367
|
|
|
* @method string getEnvs() |
2368
|
|
|
* @method string getCpuLimit() |
2369
|
|
|
* @method string getPackageVersion() |
2370
|
|
|
* @method string getStorageType() |
2371
|
|
|
* @method string getEdasContainerVersion() |
2372
|
|
|
* @method string getPackageUrl() |
2373
|
|
|
* @method string getMemoryLimit() |
2374
|
|
|
* @method string getImageTag() |
2375
|
|
|
* @method string getMemoryRequest() |
2376
|
|
|
* @method string getImage() |
2377
|
|
|
* @method string getPreStop() |
2378
|
|
|
* @method string getMountDescs() |
2379
|
|
|
* @method string getReplicas() |
2380
|
|
|
* @method string getCpuRequest() |
2381
|
|
|
* @method string getLocalVolume() |
2382
|
|
|
* @method string getCommand() |
2383
|
|
|
* @method string getArgs() |
2384
|
|
|
* @method string getJDK() |
2385
|
|
|
* @method string getAppId() |
2386
|
|
|
* @method string getPostStart() |
2387
|
|
|
*/ |
2388
|
|
|
class DeployK8sApplication extends V20170801Roa |
2389
|
|
|
{ |
2390
|
|
|
/** @var string */ |
2391
|
|
|
public $pathPattern = '/pop/v5/k8s/acs/k8s_apps'; |
2392
|
|
|
|
2393
|
|
|
/** |
2394
|
|
|
* @param string $value |
2395
|
|
|
* |
2396
|
|
|
* @return $this |
2397
|
|
|
*/ |
2398
|
|
|
public function withNasId($value) |
2399
|
|
|
{ |
2400
|
|
|
$this->data['NasId'] = $value; |
2401
|
|
|
$this->options['query']['NasId'] = $value; |
2402
|
|
|
|
2403
|
|
|
return $this; |
2404
|
|
|
} |
2405
|
|
|
|
2406
|
|
|
/** |
2407
|
|
|
* @param string $value |
2408
|
|
|
* |
2409
|
|
|
* @return $this |
2410
|
|
|
*/ |
2411
|
|
|
public function withWebContainer($value) |
2412
|
|
|
{ |
2413
|
|
|
$this->data['WebContainer'] = $value; |
2414
|
|
|
$this->options['query']['WebContainer'] = $value; |
2415
|
|
|
|
2416
|
|
|
return $this; |
2417
|
|
|
} |
2418
|
|
|
|
2419
|
|
|
/** |
2420
|
|
|
* @param string $value |
2421
|
|
|
* |
2422
|
|
|
* @return $this |
2423
|
|
|
*/ |
2424
|
|
|
public function withReadiness($value) |
2425
|
|
|
{ |
2426
|
|
|
$this->data['Readiness'] = $value; |
2427
|
|
|
$this->options['query']['Readiness'] = $value; |
2428
|
|
|
|
2429
|
|
|
return $this; |
2430
|
|
|
} |
2431
|
|
|
|
2432
|
|
|
/** |
2433
|
|
|
* @param string $value |
2434
|
|
|
* |
2435
|
|
|
* @return $this |
2436
|
|
|
*/ |
2437
|
|
|
public function withBatchWaitTime($value) |
2438
|
|
|
{ |
2439
|
|
|
$this->data['BatchWaitTime'] = $value; |
2440
|
|
|
$this->options['query']['BatchWaitTime'] = $value; |
2441
|
|
|
|
2442
|
|
|
return $this; |
2443
|
|
|
} |
2444
|
|
|
|
2445
|
|
|
/** |
2446
|
|
|
* @param string $value |
2447
|
|
|
* |
2448
|
|
|
* @return $this |
2449
|
|
|
*/ |
2450
|
|
|
public function withLiveness($value) |
2451
|
|
|
{ |
2452
|
|
|
$this->data['Liveness'] = $value; |
2453
|
|
|
$this->options['query']['Liveness'] = $value; |
2454
|
|
|
|
2455
|
|
|
return $this; |
2456
|
|
|
} |
2457
|
|
|
|
2458
|
|
|
/** |
2459
|
|
|
* @param string $value |
2460
|
|
|
* |
2461
|
|
|
* @return $this |
2462
|
|
|
*/ |
2463
|
|
|
public function withEnvs($value) |
2464
|
|
|
{ |
2465
|
|
|
$this->data['Envs'] = $value; |
2466
|
|
|
$this->options['query']['Envs'] = $value; |
2467
|
|
|
|
2468
|
|
|
return $this; |
2469
|
|
|
} |
2470
|
|
|
|
2471
|
|
|
/** |
2472
|
|
|
* @param string $value |
2473
|
|
|
* |
2474
|
|
|
* @return $this |
2475
|
|
|
*/ |
2476
|
|
|
public function withCpuLimit($value) |
2477
|
|
|
{ |
2478
|
|
|
$this->data['CpuLimit'] = $value; |
2479
|
|
|
$this->options['query']['CpuLimit'] = $value; |
2480
|
|
|
|
2481
|
|
|
return $this; |
2482
|
|
|
} |
2483
|
|
|
|
2484
|
|
|
/** |
2485
|
|
|
* @param string $value |
2486
|
|
|
* |
2487
|
|
|
* @return $this |
2488
|
|
|
*/ |
2489
|
|
|
public function withPackageVersion($value) |
2490
|
|
|
{ |
2491
|
|
|
$this->data['PackageVersion'] = $value; |
2492
|
|
|
$this->options['query']['PackageVersion'] = $value; |
2493
|
|
|
|
2494
|
|
|
return $this; |
2495
|
|
|
} |
2496
|
|
|
|
2497
|
|
|
/** |
2498
|
|
|
* @param string $value |
2499
|
|
|
* |
2500
|
|
|
* @return $this |
2501
|
|
|
*/ |
2502
|
|
|
public function withStorageType($value) |
2503
|
|
|
{ |
2504
|
|
|
$this->data['StorageType'] = $value; |
2505
|
|
|
$this->options['query']['StorageType'] = $value; |
2506
|
|
|
|
2507
|
|
|
return $this; |
2508
|
|
|
} |
2509
|
|
|
|
2510
|
|
|
/** |
2511
|
|
|
* @param string $value |
2512
|
|
|
* |
2513
|
|
|
* @return $this |
2514
|
|
|
*/ |
2515
|
|
|
public function withEdasContainerVersion($value) |
2516
|
|
|
{ |
2517
|
|
|
$this->data['EdasContainerVersion'] = $value; |
2518
|
|
|
$this->options['query']['EdasContainerVersion'] = $value; |
2519
|
|
|
|
2520
|
|
|
return $this; |
2521
|
|
|
} |
2522
|
|
|
|
2523
|
|
|
/** |
2524
|
|
|
* @param string $value |
2525
|
|
|
* |
2526
|
|
|
* @return $this |
2527
|
|
|
*/ |
2528
|
|
|
public function withPackageUrl($value) |
2529
|
|
|
{ |
2530
|
|
|
$this->data['PackageUrl'] = $value; |
2531
|
|
|
$this->options['query']['PackageUrl'] = $value; |
2532
|
|
|
|
2533
|
|
|
return $this; |
2534
|
|
|
} |
2535
|
|
|
|
2536
|
|
|
/** |
2537
|
|
|
* @param string $value |
2538
|
|
|
* |
2539
|
|
|
* @return $this |
2540
|
|
|
*/ |
2541
|
|
|
public function withMemoryLimit($value) |
2542
|
|
|
{ |
2543
|
|
|
$this->data['MemoryLimit'] = $value; |
2544
|
|
|
$this->options['query']['MemoryLimit'] = $value; |
2545
|
|
|
|
2546
|
|
|
return $this; |
2547
|
|
|
} |
2548
|
|
|
|
2549
|
|
|
/** |
2550
|
|
|
* @param string $value |
2551
|
|
|
* |
2552
|
|
|
* @return $this |
2553
|
|
|
*/ |
2554
|
|
|
public function withImageTag($value) |
2555
|
|
|
{ |
2556
|
|
|
$this->data['ImageTag'] = $value; |
2557
|
|
|
$this->options['query']['ImageTag'] = $value; |
2558
|
|
|
|
2559
|
|
|
return $this; |
2560
|
|
|
} |
2561
|
|
|
|
2562
|
|
|
/** |
2563
|
|
|
* @param string $value |
2564
|
|
|
* |
2565
|
|
|
* @return $this |
2566
|
|
|
*/ |
2567
|
|
|
public function withMemoryRequest($value) |
2568
|
|
|
{ |
2569
|
|
|
$this->data['MemoryRequest'] = $value; |
2570
|
|
|
$this->options['query']['MemoryRequest'] = $value; |
2571
|
|
|
|
2572
|
|
|
return $this; |
2573
|
|
|
} |
2574
|
|
|
|
2575
|
|
|
/** |
2576
|
|
|
* @param string $value |
2577
|
|
|
* |
2578
|
|
|
* @return $this |
2579
|
|
|
*/ |
2580
|
|
|
public function withImage($value) |
2581
|
|
|
{ |
2582
|
|
|
$this->data['Image'] = $value; |
2583
|
|
|
$this->options['query']['Image'] = $value; |
2584
|
|
|
|
2585
|
|
|
return $this; |
2586
|
|
|
} |
2587
|
|
|
|
2588
|
|
|
/** |
2589
|
|
|
* @param string $value |
2590
|
|
|
* |
2591
|
|
|
* @return $this |
2592
|
|
|
*/ |
2593
|
|
|
public function withPreStop($value) |
2594
|
|
|
{ |
2595
|
|
|
$this->data['PreStop'] = $value; |
2596
|
|
|
$this->options['query']['PreStop'] = $value; |
2597
|
|
|
|
2598
|
|
|
return $this; |
2599
|
|
|
} |
2600
|
|
|
|
2601
|
|
|
/** |
2602
|
|
|
* @param string $value |
2603
|
|
|
* |
2604
|
|
|
* @return $this |
2605
|
|
|
*/ |
2606
|
|
|
public function withMountDescs($value) |
2607
|
|
|
{ |
2608
|
|
|
$this->data['MountDescs'] = $value; |
2609
|
|
|
$this->options['query']['MountDescs'] = $value; |
2610
|
|
|
|
2611
|
|
|
return $this; |
2612
|
|
|
} |
2613
|
|
|
|
2614
|
|
|
/** |
2615
|
|
|
* @param string $value |
2616
|
|
|
* |
2617
|
|
|
* @return $this |
2618
|
|
|
*/ |
2619
|
|
|
public function withReplicas($value) |
2620
|
|
|
{ |
2621
|
|
|
$this->data['Replicas'] = $value; |
2622
|
|
|
$this->options['query']['Replicas'] = $value; |
2623
|
|
|
|
2624
|
|
|
return $this; |
2625
|
|
|
} |
2626
|
|
|
|
2627
|
|
|
/** |
2628
|
|
|
* @param string $value |
2629
|
|
|
* |
2630
|
|
|
* @return $this |
2631
|
|
|
*/ |
2632
|
|
|
public function withCpuRequest($value) |
2633
|
|
|
{ |
2634
|
|
|
$this->data['CpuRequest'] = $value; |
2635
|
|
|
$this->options['query']['CpuRequest'] = $value; |
2636
|
|
|
|
2637
|
|
|
return $this; |
2638
|
|
|
} |
2639
|
|
|
|
2640
|
|
|
/** |
2641
|
|
|
* @param string $value |
2642
|
|
|
* |
2643
|
|
|
* @return $this |
2644
|
|
|
*/ |
2645
|
|
|
public function withLocalVolume($value) |
2646
|
|
|
{ |
2647
|
|
|
$this->data['LocalVolume'] = $value; |
2648
|
|
|
$this->options['query']['LocalVolume'] = $value; |
2649
|
|
|
|
2650
|
|
|
return $this; |
2651
|
|
|
} |
2652
|
|
|
|
2653
|
|
|
/** |
2654
|
|
|
* @param string $value |
2655
|
|
|
* |
2656
|
|
|
* @return $this |
2657
|
|
|
*/ |
2658
|
|
|
public function withCommand($value) |
2659
|
|
|
{ |
2660
|
|
|
$this->data['Command'] = $value; |
2661
|
|
|
$this->options['query']['Command'] = $value; |
2662
|
|
|
|
2663
|
|
|
return $this; |
2664
|
|
|
} |
2665
|
|
|
|
2666
|
|
|
/** |
2667
|
|
|
* @param string $value |
2668
|
|
|
* |
2669
|
|
|
* @return $this |
2670
|
|
|
*/ |
2671
|
|
|
public function withArgs($value) |
2672
|
|
|
{ |
2673
|
|
|
$this->data['Args'] = $value; |
2674
|
|
|
$this->options['query']['Args'] = $value; |
2675
|
|
|
|
2676
|
|
|
return $this; |
2677
|
|
|
} |
2678
|
|
|
|
2679
|
|
|
/** |
2680
|
|
|
* @param string $value |
2681
|
|
|
* |
2682
|
|
|
* @return $this |
2683
|
|
|
*/ |
2684
|
|
|
public function withJDK($value) |
2685
|
|
|
{ |
2686
|
|
|
$this->data['JDK'] = $value; |
2687
|
|
|
$this->options['query']['JDK'] = $value; |
2688
|
|
|
|
2689
|
|
|
return $this; |
2690
|
|
|
} |
2691
|
|
|
|
2692
|
|
|
/** |
2693
|
|
|
* @param string $value |
2694
|
|
|
* |
2695
|
|
|
* @return $this |
2696
|
|
|
*/ |
2697
|
|
|
public function withAppId($value) |
2698
|
|
|
{ |
2699
|
|
|
$this->data['AppId'] = $value; |
2700
|
|
|
$this->options['query']['AppId'] = $value; |
2701
|
|
|
|
2702
|
|
|
return $this; |
2703
|
|
|
} |
2704
|
|
|
|
2705
|
|
|
/** |
2706
|
|
|
* @param string $value |
2707
|
|
|
* |
2708
|
|
|
* @return $this |
2709
|
|
|
*/ |
2710
|
|
|
public function withPostStart($value) |
2711
|
|
|
{ |
2712
|
|
|
$this->data['PostStart'] = $value; |
2713
|
|
|
$this->options['query']['PostStart'] = $value; |
2714
|
|
|
|
2715
|
|
|
return $this; |
2716
|
|
|
} |
2717
|
|
|
} |
2718
|
|
|
|
2719
|
|
|
/** |
2720
|
|
|
* @method string getReplicas() |
2721
|
|
|
* @method string getAppId() |
2722
|
|
|
*/ |
2723
|
|
|
class ScaleK8sApplication extends V20170801Roa |
2724
|
|
|
{ |
2725
|
|
|
/** @var string */ |
2726
|
|
|
public $pathPattern = '/pop/v5/k8s/acs/k8s_apps'; |
2727
|
|
|
|
2728
|
|
|
/** @var string */ |
2729
|
|
|
public $method = 'PUT'; |
2730
|
|
|
|
2731
|
|
|
/** |
2732
|
|
|
* @param string $value |
2733
|
|
|
* |
2734
|
|
|
* @return $this |
2735
|
|
|
*/ |
2736
|
|
|
public function withReplicas($value) |
2737
|
|
|
{ |
2738
|
|
|
$this->data['Replicas'] = $value; |
2739
|
|
|
$this->options['query']['Replicas'] = $value; |
2740
|
|
|
|
2741
|
|
|
return $this; |
2742
|
|
|
} |
2743
|
|
|
|
2744
|
|
|
/** |
2745
|
|
|
* @param string $value |
2746
|
|
|
* |
2747
|
|
|
* @return $this |
2748
|
|
|
*/ |
2749
|
|
|
public function withAppId($value) |
2750
|
|
|
{ |
2751
|
|
|
$this->data['AppId'] = $value; |
2752
|
|
|
$this->options['query']['AppId'] = $value; |
2753
|
|
|
|
2754
|
|
|
return $this; |
2755
|
|
|
} |
2756
|
|
|
} |
2757
|
|
|
|
2758
|
|
|
/** |
2759
|
|
|
* @method string getAppId() |
2760
|
|
|
*/ |
2761
|
|
|
class DeleteK8sApplication extends V20170801Roa |
2762
|
|
|
{ |
2763
|
|
|
/** @var string */ |
2764
|
|
|
public $pathPattern = '/pop/v5/k8s/acs/k8s_apps'; |
2765
|
|
|
|
2766
|
|
|
/** @var string */ |
2767
|
|
|
public $method = 'DELETE'; |
2768
|
|
|
|
2769
|
|
|
/** |
2770
|
|
|
* @param string $value |
2771
|
|
|
* |
2772
|
|
|
* @return $this |
2773
|
|
|
*/ |
2774
|
|
|
public function withAppId($value) |
2775
|
|
|
{ |
2776
|
|
|
$this->data['AppId'] = $value; |
2777
|
|
|
$this->options['query']['AppId'] = $value; |
2778
|
|
|
|
2779
|
|
|
return $this; |
2780
|
|
|
} |
2781
|
|
|
} |
2782
|
|
|
|
2783
|
|
|
/** |
2784
|
|
|
* @method string getAppId() |
2785
|
|
|
* @method string getGroupId() |
2786
|
|
|
*/ |
2787
|
|
|
class ListScalingRules extends V20170801Roa |
2788
|
|
|
{ |
2789
|
|
|
/** @var string */ |
2790
|
|
|
public $pathPattern = '/pop/v5/app/scaling_records'; |
2791
|
|
|
|
2792
|
|
|
/** @var string */ |
2793
|
|
|
public $method = 'GET'; |
2794
|
|
|
|
2795
|
|
|
/** |
2796
|
|
|
* @param string $value |
2797
|
|
|
* |
2798
|
|
|
* @return $this |
2799
|
|
|
*/ |
2800
|
|
|
public function withAppId($value) |
2801
|
|
|
{ |
2802
|
|
|
$this->data['AppId'] = $value; |
2803
|
|
|
$this->options['query']['AppId'] = $value; |
2804
|
|
|
|
2805
|
|
|
return $this; |
2806
|
|
|
} |
2807
|
|
|
|
2808
|
|
|
/** |
2809
|
|
|
* @param string $value |
2810
|
|
|
* |
2811
|
|
|
* @return $this |
2812
|
|
|
*/ |
2813
|
|
|
public function withGroupId($value) |
2814
|
|
|
{ |
2815
|
|
|
$this->data['GroupId'] = $value; |
2816
|
|
|
$this->options['query']['GroupId'] = $value; |
2817
|
|
|
|
2818
|
|
|
return $this; |
2819
|
|
|
} |
2820
|
|
|
} |
2821
|
|
|
|
2822
|
|
|
/** |
2823
|
|
|
* @method string getInStep() |
2824
|
|
|
* @method string getOutDuration() |
2825
|
|
|
* @method string getOutInstanceNum() |
2826
|
|
|
* @method string getOutRt() |
2827
|
|
|
* @method string getOutLoad() |
2828
|
|
|
* @method string getInInstanceNum() |
2829
|
|
|
* @method string getInLoad() |
2830
|
|
|
* @method string getGroupId() |
2831
|
|
|
* @method string getOutStep() |
2832
|
|
|
* @method string getOutCpu() |
2833
|
|
|
* @method string getOutEnable() |
2834
|
|
|
* @method string getOutCondition() |
2835
|
|
|
* @method string getInDuration() |
2836
|
|
|
* @method string getInCondition() |
2837
|
|
|
* @method string getInEnable() |
2838
|
|
|
* @method string getInRt() |
2839
|
|
|
* @method string getAppId() |
2840
|
|
|
* @method string getInCpu() |
2841
|
|
|
*/ |
2842
|
|
|
class InsertScalingRule extends V20170801Roa |
2843
|
|
|
{ |
2844
|
|
|
/** @var string */ |
2845
|
|
|
public $pathPattern = '/pop/v5/app/scaling_rules'; |
2846
|
|
|
|
2847
|
|
|
/** |
2848
|
|
|
* @param string $value |
2849
|
|
|
* |
2850
|
|
|
* @return $this |
2851
|
|
|
*/ |
2852
|
|
|
public function withInStep($value) |
2853
|
|
|
{ |
2854
|
|
|
$this->data['InStep'] = $value; |
2855
|
|
|
$this->options['query']['InStep'] = $value; |
2856
|
|
|
|
2857
|
|
|
return $this; |
2858
|
|
|
} |
2859
|
|
|
|
2860
|
|
|
/** |
2861
|
|
|
* @param string $value |
2862
|
|
|
* |
2863
|
|
|
* @return $this |
2864
|
|
|
*/ |
2865
|
|
|
public function withOutDuration($value) |
2866
|
|
|
{ |
2867
|
|
|
$this->data['OutDuration'] = $value; |
2868
|
|
|
$this->options['query']['OutDuration'] = $value; |
2869
|
|
|
|
2870
|
|
|
return $this; |
2871
|
|
|
} |
2872
|
|
|
|
2873
|
|
|
/** |
2874
|
|
|
* @param string $value |
2875
|
|
|
* |
2876
|
|
|
* @return $this |
2877
|
|
|
*/ |
2878
|
|
|
public function withOutInstanceNum($value) |
2879
|
|
|
{ |
2880
|
|
|
$this->data['OutInstanceNum'] = $value; |
2881
|
|
|
$this->options['query']['OutInstanceNum'] = $value; |
2882
|
|
|
|
2883
|
|
|
return $this; |
2884
|
|
|
} |
2885
|
|
|
|
2886
|
|
|
/** |
2887
|
|
|
* @param string $value |
2888
|
|
|
* |
2889
|
|
|
* @return $this |
2890
|
|
|
*/ |
2891
|
|
|
public function withOutRt($value) |
2892
|
|
|
{ |
2893
|
|
|
$this->data['OutRt'] = $value; |
2894
|
|
|
$this->options['query']['OutRt'] = $value; |
2895
|
|
|
|
2896
|
|
|
return $this; |
2897
|
|
|
} |
2898
|
|
|
|
2899
|
|
|
/** |
2900
|
|
|
* @param string $value |
2901
|
|
|
* |
2902
|
|
|
* @return $this |
2903
|
|
|
*/ |
2904
|
|
|
public function withOutLoad($value) |
2905
|
|
|
{ |
2906
|
|
|
$this->data['OutLoad'] = $value; |
2907
|
|
|
$this->options['query']['OutLoad'] = $value; |
2908
|
|
|
|
2909
|
|
|
return $this; |
2910
|
|
|
} |
2911
|
|
|
|
2912
|
|
|
/** |
2913
|
|
|
* @param string $value |
2914
|
|
|
* |
2915
|
|
|
* @return $this |
2916
|
|
|
*/ |
2917
|
|
|
public function withInInstanceNum($value) |
2918
|
|
|
{ |
2919
|
|
|
$this->data['InInstanceNum'] = $value; |
2920
|
|
|
$this->options['query']['InInstanceNum'] = $value; |
2921
|
|
|
|
2922
|
|
|
return $this; |
2923
|
|
|
} |
2924
|
|
|
|
2925
|
|
|
/** |
2926
|
|
|
* @param string $value |
2927
|
|
|
* |
2928
|
|
|
* @return $this |
2929
|
|
|
*/ |
2930
|
|
|
public function withInLoad($value) |
2931
|
|
|
{ |
2932
|
|
|
$this->data['InLoad'] = $value; |
2933
|
|
|
$this->options['query']['InLoad'] = $value; |
2934
|
|
|
|
2935
|
|
|
return $this; |
2936
|
|
|
} |
2937
|
|
|
|
2938
|
|
|
/** |
2939
|
|
|
* @param string $value |
2940
|
|
|
* |
2941
|
|
|
* @return $this |
2942
|
|
|
*/ |
2943
|
|
|
public function withGroupId($value) |
2944
|
|
|
{ |
2945
|
|
|
$this->data['GroupId'] = $value; |
2946
|
|
|
$this->options['query']['GroupId'] = $value; |
2947
|
|
|
|
2948
|
|
|
return $this; |
2949
|
|
|
} |
2950
|
|
|
|
2951
|
|
|
/** |
2952
|
|
|
* @param string $value |
2953
|
|
|
* |
2954
|
|
|
* @return $this |
2955
|
|
|
*/ |
2956
|
|
|
public function withOutStep($value) |
2957
|
|
|
{ |
2958
|
|
|
$this->data['OutStep'] = $value; |
2959
|
|
|
$this->options['query']['OutStep'] = $value; |
2960
|
|
|
|
2961
|
|
|
return $this; |
2962
|
|
|
} |
2963
|
|
|
|
2964
|
|
|
/** |
2965
|
|
|
* @param string $value |
2966
|
|
|
* |
2967
|
|
|
* @return $this |
2968
|
|
|
*/ |
2969
|
|
|
public function withOutCpu($value) |
2970
|
|
|
{ |
2971
|
|
|
$this->data['OutCpu'] = $value; |
2972
|
|
|
$this->options['query']['OutCpu'] = $value; |
2973
|
|
|
|
2974
|
|
|
return $this; |
2975
|
|
|
} |
2976
|
|
|
|
2977
|
|
|
/** |
2978
|
|
|
* @param string $value |
2979
|
|
|
* |
2980
|
|
|
* @return $this |
2981
|
|
|
*/ |
2982
|
|
|
public function withOutEnable($value) |
2983
|
|
|
{ |
2984
|
|
|
$this->data['OutEnable'] = $value; |
2985
|
|
|
$this->options['query']['OutEnable'] = $value; |
2986
|
|
|
|
2987
|
|
|
return $this; |
2988
|
|
|
} |
2989
|
|
|
|
2990
|
|
|
/** |
2991
|
|
|
* @param string $value |
2992
|
|
|
* |
2993
|
|
|
* @return $this |
2994
|
|
|
*/ |
2995
|
|
|
public function withOutCondition($value) |
2996
|
|
|
{ |
2997
|
|
|
$this->data['OutCondition'] = $value; |
2998
|
|
|
$this->options['query']['OutCondition'] = $value; |
2999
|
|
|
|
3000
|
|
|
return $this; |
3001
|
|
|
} |
3002
|
|
|
|
3003
|
|
|
/** |
3004
|
|
|
* @param string $value |
3005
|
|
|
* |
3006
|
|
|
* @return $this |
3007
|
|
|
*/ |
3008
|
|
|
public function withInDuration($value) |
3009
|
|
|
{ |
3010
|
|
|
$this->data['InDuration'] = $value; |
3011
|
|
|
$this->options['query']['InDuration'] = $value; |
3012
|
|
|
|
3013
|
|
|
return $this; |
3014
|
|
|
} |
3015
|
|
|
|
3016
|
|
|
/** |
3017
|
|
|
* @param string $value |
3018
|
|
|
* |
3019
|
|
|
* @return $this |
3020
|
|
|
*/ |
3021
|
|
|
public function withInCondition($value) |
3022
|
|
|
{ |
3023
|
|
|
$this->data['InCondition'] = $value; |
3024
|
|
|
$this->options['query']['InCondition'] = $value; |
3025
|
|
|
|
3026
|
|
|
return $this; |
3027
|
|
|
} |
3028
|
|
|
|
3029
|
|
|
/** |
3030
|
|
|
* @param string $value |
3031
|
|
|
* |
3032
|
|
|
* @return $this |
3033
|
|
|
*/ |
3034
|
|
|
public function withInEnable($value) |
3035
|
|
|
{ |
3036
|
|
|
$this->data['InEnable'] = $value; |
3037
|
|
|
$this->options['query']['InEnable'] = $value; |
3038
|
|
|
|
3039
|
|
|
return $this; |
3040
|
|
|
} |
3041
|
|
|
|
3042
|
|
|
/** |
3043
|
|
|
* @param string $value |
3044
|
|
|
* |
3045
|
|
|
* @return $this |
3046
|
|
|
*/ |
3047
|
|
|
public function withInRt($value) |
3048
|
|
|
{ |
3049
|
|
|
$this->data['InRt'] = $value; |
3050
|
|
|
$this->options['query']['InRt'] = $value; |
3051
|
|
|
|
3052
|
|
|
return $this; |
3053
|
|
|
} |
3054
|
|
|
|
3055
|
|
|
/** |
3056
|
|
|
* @param string $value |
3057
|
|
|
* |
3058
|
|
|
* @return $this |
3059
|
|
|
*/ |
3060
|
|
|
public function withAppId($value) |
3061
|
|
|
{ |
3062
|
|
|
$this->data['AppId'] = $value; |
3063
|
|
|
$this->options['query']['AppId'] = $value; |
3064
|
|
|
|
3065
|
|
|
return $this; |
3066
|
|
|
} |
3067
|
|
|
|
3068
|
|
|
/** |
3069
|
|
|
* @param string $value |
3070
|
|
|
* |
3071
|
|
|
* @return $this |
3072
|
|
|
*/ |
3073
|
|
|
public function withInCpu($value) |
3074
|
|
|
{ |
3075
|
|
|
$this->data['InCpu'] = $value; |
3076
|
|
|
$this->options['query']['InCpu'] = $value; |
3077
|
|
|
|
3078
|
|
|
return $this; |
3079
|
|
|
} |
3080
|
|
|
} |
3081
|
|
|
|
3082
|
|
|
/** |
3083
|
|
|
* @method string getId() |
3084
|
|
|
*/ |
3085
|
|
|
class DeleteResourceGroup extends V20170801Roa |
3086
|
|
|
{ |
3087
|
|
|
/** @var string */ |
3088
|
|
|
public $pathPattern = '/pop/v5/res_group'; |
3089
|
|
|
|
3090
|
|
|
/** @var string */ |
3091
|
|
|
public $method = 'DELETE'; |
3092
|
|
|
|
3093
|
|
|
/** |
3094
|
|
|
* @param string $value |
3095
|
|
|
* |
3096
|
|
|
* @return $this |
3097
|
|
|
*/ |
3098
|
|
|
public function withId($value) |
3099
|
|
|
{ |
3100
|
|
|
$this->data['Id'] = $value; |
3101
|
|
|
$this->options['query']['Id'] = $value; |
3102
|
|
|
|
3103
|
|
|
return $this; |
3104
|
|
|
} |
3105
|
|
|
} |
3106
|
|
|
|
3107
|
|
|
/** |
3108
|
|
|
* @method string getName() |
3109
|
|
|
* @method string getDescription() |
3110
|
|
|
*/ |
3111
|
|
|
class InsertResourceGroup extends V20170801Roa |
3112
|
|
|
{ |
3113
|
|
|
/** @var string */ |
3114
|
|
|
public $pathPattern = '/pop/v5/res_group'; |
3115
|
|
|
|
3116
|
|
|
/** |
3117
|
|
|
* @param string $value |
3118
|
|
|
* |
3119
|
|
|
* @return $this |
3120
|
|
|
*/ |
3121
|
|
|
public function withName($value) |
3122
|
|
|
{ |
3123
|
|
|
$this->data['Name'] = $value; |
3124
|
|
|
$this->options['query']['Name'] = $value; |
3125
|
|
|
|
3126
|
|
|
return $this; |
3127
|
|
|
} |
3128
|
|
|
|
3129
|
|
|
/** |
3130
|
|
|
* @param string $value |
3131
|
|
|
* |
3132
|
|
|
* @return $this |
3133
|
|
|
*/ |
3134
|
|
|
public function withDescription($value) |
3135
|
|
|
{ |
3136
|
|
|
$this->data['Description'] = $value; |
3137
|
|
|
$this->options['query']['Description'] = $value; |
3138
|
|
|
|
3139
|
|
|
return $this; |
3140
|
|
|
} |
3141
|
|
|
} |
3142
|
|
|
|
3143
|
|
|
/** |
3144
|
|
|
* @method string getNamespaceId() |
3145
|
|
|
*/ |
3146
|
|
|
class GetSecureToken extends V20170801Roa |
3147
|
|
|
{ |
3148
|
|
|
/** @var string */ |
3149
|
|
|
public $pathPattern = '/pop/v5/secure_token'; |
3150
|
|
|
|
3151
|
|
|
/** @var string */ |
3152
|
|
|
public $method = 'GET'; |
3153
|
|
|
|
3154
|
|
|
/** |
3155
|
|
|
* @param string $value |
3156
|
|
|
* |
3157
|
|
|
* @return $this |
3158
|
|
|
*/ |
3159
|
|
|
public function withNamespaceId($value) |
3160
|
|
|
{ |
3161
|
|
|
$this->data['NamespaceId'] = $value; |
3162
|
|
|
$this->options['query']['NamespaceId'] = $value; |
3163
|
|
|
|
3164
|
|
|
return $this; |
3165
|
|
|
} |
3166
|
|
|
} |
3167
|
|
|
|
3168
|
|
|
/** |
3169
|
|
|
* @method string getPassword() |
3170
|
|
|
* @method string getInstanceIds() |
3171
|
|
|
* @method string getTargetClusterId() |
3172
|
|
|
*/ |
3173
|
|
|
class TransformClusterMember extends V20170801Roa |
3174
|
|
|
{ |
3175
|
|
|
/** @var string */ |
3176
|
|
|
public $pathPattern = '/pop/v5/resource/transform_cluster_member'; |
3177
|
|
|
|
3178
|
|
|
/** |
3179
|
|
|
* @param string $value |
3180
|
|
|
* |
3181
|
|
|
* @return $this |
3182
|
|
|
*/ |
3183
|
|
|
public function withPassword($value) |
3184
|
|
|
{ |
3185
|
|
|
$this->data['Password'] = $value; |
3186
|
|
|
$this->options['query']['Password'] = $value; |
3187
|
|
|
|
3188
|
|
|
return $this; |
3189
|
|
|
} |
3190
|
|
|
|
3191
|
|
|
/** |
3192
|
|
|
* @param string $value |
3193
|
|
|
* |
3194
|
|
|
* @return $this |
3195
|
|
|
*/ |
3196
|
|
|
public function withInstanceIds($value) |
3197
|
|
|
{ |
3198
|
|
|
$this->data['InstanceIds'] = $value; |
3199
|
|
|
$this->options['query']['InstanceIds'] = $value; |
3200
|
|
|
|
3201
|
|
|
return $this; |
3202
|
|
|
} |
3203
|
|
|
|
3204
|
|
|
/** |
3205
|
|
|
* @param string $value |
3206
|
|
|
* |
3207
|
|
|
* @return $this |
3208
|
|
|
*/ |
3209
|
|
|
public function withTargetClusterId($value) |
3210
|
|
|
{ |
3211
|
|
|
$this->data['TargetClusterId'] = $value; |
3212
|
|
|
$this->options['query']['TargetClusterId'] = $value; |
3213
|
|
|
|
3214
|
|
|
return $this; |
3215
|
|
|
} |
3216
|
|
|
} |
3217
|
|
|
|
3218
|
|
|
/** |
3219
|
|
|
* @method string getClusterId() |
3220
|
|
|
*/ |
3221
|
|
|
class ListConvertableEcu extends V20170801Roa |
3222
|
|
|
{ |
3223
|
|
|
/** @var string */ |
3224
|
|
|
public $pathPattern = '/pop/v5/resource/convertable_ecu_list'; |
3225
|
|
|
|
3226
|
|
|
/** @var string */ |
3227
|
|
|
public $method = 'GET'; |
3228
|
|
|
|
3229
|
|
|
/** |
3230
|
|
|
* @param string $value |
3231
|
|
|
* |
3232
|
|
|
* @return $this |
3233
|
|
|
*/ |
3234
|
|
|
public function withClusterId($value) |
3235
|
|
|
{ |
3236
|
|
|
$this->data['ClusterId'] = $value; |
3237
|
|
|
$this->options['query']['clusterId'] = $value; |
3238
|
|
|
|
3239
|
|
|
return $this; |
3240
|
|
|
} |
3241
|
|
|
} |
3242
|
|
|
|
3243
|
|
|
/** |
3244
|
|
|
* @method string getPassword() |
3245
|
|
|
* @method string getInstanceIds() |
3246
|
|
|
* @method string getClusterId() |
3247
|
|
|
*/ |
3248
|
|
|
class InsertClusterMember extends V20170801Roa |
3249
|
|
|
{ |
3250
|
|
|
/** @var string */ |
3251
|
|
|
public $pathPattern = '/pop/v5/resource/cluster_member'; |
3252
|
|
|
|
3253
|
|
|
/** |
3254
|
|
|
* @param string $value |
3255
|
|
|
* |
3256
|
|
|
* @return $this |
3257
|
|
|
*/ |
3258
|
|
|
public function withPassword($value) |
3259
|
|
|
{ |
3260
|
|
|
$this->data['Password'] = $value; |
3261
|
|
|
$this->options['query']['password'] = $value; |
3262
|
|
|
|
3263
|
|
|
return $this; |
3264
|
|
|
} |
3265
|
|
|
|
3266
|
|
|
/** |
3267
|
|
|
* @param string $value |
3268
|
|
|
* |
3269
|
|
|
* @return $this |
3270
|
|
|
*/ |
3271
|
|
|
public function withInstanceIds($value) |
3272
|
|
|
{ |
3273
|
|
|
$this->data['InstanceIds'] = $value; |
3274
|
|
|
$this->options['query']['instanceIds'] = $value; |
3275
|
|
|
|
3276
|
|
|
return $this; |
3277
|
|
|
} |
3278
|
|
|
|
3279
|
|
|
/** |
3280
|
|
|
* @param string $value |
3281
|
|
|
* |
3282
|
|
|
* @return $this |
3283
|
|
|
*/ |
3284
|
|
|
public function withClusterId($value) |
3285
|
|
|
{ |
3286
|
|
|
$this->data['ClusterId'] = $value; |
3287
|
|
|
$this->options['query']['clusterId'] = $value; |
3288
|
|
|
|
3289
|
|
|
return $this; |
3290
|
|
|
} |
3291
|
|
|
} |
3292
|
|
|
|
3293
|
|
|
/** |
3294
|
|
|
* @method string getMem() |
3295
|
|
|
* @method string getLogicalRegionId() |
3296
|
|
|
* @method string getAppId() |
3297
|
|
|
* @method string getGroupId() |
3298
|
|
|
* @method string getInstanceNum() |
3299
|
|
|
* @method string getCpu() |
3300
|
|
|
* @method string getClusterId() |
3301
|
|
|
*/ |
3302
|
|
|
class ListScaleOutEcu extends V20170801Roa |
3303
|
|
|
{ |
3304
|
|
|
/** @var string */ |
3305
|
|
|
public $pathPattern = '/pop/v5/resource/scale_out_ecu_list'; |
3306
|
|
|
|
3307
|
|
|
/** |
3308
|
|
|
* @param string $value |
3309
|
|
|
* |
3310
|
|
|
* @return $this |
3311
|
|
|
*/ |
3312
|
|
|
public function withMem($value) |
3313
|
|
|
{ |
3314
|
|
|
$this->data['Mem'] = $value; |
3315
|
|
|
$this->options['query']['Mem'] = $value; |
3316
|
|
|
|
3317
|
|
|
return $this; |
3318
|
|
|
} |
3319
|
|
|
|
3320
|
|
|
/** |
3321
|
|
|
* @param string $value |
3322
|
|
|
* |
3323
|
|
|
* @return $this |
3324
|
|
|
*/ |
3325
|
|
|
public function withLogicalRegionId($value) |
3326
|
|
|
{ |
3327
|
|
|
$this->data['LogicalRegionId'] = $value; |
3328
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
3329
|
|
|
|
3330
|
|
|
return $this; |
3331
|
|
|
} |
3332
|
|
|
|
3333
|
|
|
/** |
3334
|
|
|
* @param string $value |
3335
|
|
|
* |
3336
|
|
|
* @return $this |
3337
|
|
|
*/ |
3338
|
|
|
public function withAppId($value) |
3339
|
|
|
{ |
3340
|
|
|
$this->data['AppId'] = $value; |
3341
|
|
|
$this->options['query']['AppId'] = $value; |
3342
|
|
|
|
3343
|
|
|
return $this; |
3344
|
|
|
} |
3345
|
|
|
|
3346
|
|
|
/** |
3347
|
|
|
* @param string $value |
3348
|
|
|
* |
3349
|
|
|
* @return $this |
3350
|
|
|
*/ |
3351
|
|
|
public function withGroupId($value) |
3352
|
|
|
{ |
3353
|
|
|
$this->data['GroupId'] = $value; |
3354
|
|
|
$this->options['query']['GroupId'] = $value; |
3355
|
|
|
|
3356
|
|
|
return $this; |
3357
|
|
|
} |
3358
|
|
|
|
3359
|
|
|
/** |
3360
|
|
|
* @param string $value |
3361
|
|
|
* |
3362
|
|
|
* @return $this |
3363
|
|
|
*/ |
3364
|
|
|
public function withInstanceNum($value) |
3365
|
|
|
{ |
3366
|
|
|
$this->data['InstanceNum'] = $value; |
3367
|
|
|
$this->options['query']['InstanceNum'] = $value; |
3368
|
|
|
|
3369
|
|
|
return $this; |
3370
|
|
|
} |
3371
|
|
|
|
3372
|
|
|
/** |
3373
|
|
|
* @param string $value |
3374
|
|
|
* |
3375
|
|
|
* @return $this |
3376
|
|
|
*/ |
3377
|
|
|
public function withCpu($value) |
3378
|
|
|
{ |
3379
|
|
|
$this->data['Cpu'] = $value; |
3380
|
|
|
$this->options['query']['Cpu'] = $value; |
3381
|
|
|
|
3382
|
|
|
return $this; |
3383
|
|
|
} |
3384
|
|
|
|
3385
|
|
|
/** |
3386
|
|
|
* @param string $value |
3387
|
|
|
* |
3388
|
|
|
* @return $this |
3389
|
|
|
*/ |
3390
|
|
|
public function withClusterId($value) |
3391
|
|
|
{ |
3392
|
|
|
$this->data['ClusterId'] = $value; |
3393
|
|
|
$this->options['query']['ClusterId'] = $value; |
3394
|
|
|
|
3395
|
|
|
return $this; |
3396
|
|
|
} |
3397
|
|
|
} |
3398
|
|
|
|
3399
|
|
|
/** |
3400
|
|
|
* @method string getAct() |
3401
|
|
|
* @method string getLogicalRegionId() |
3402
|
|
|
*/ |
3403
|
|
|
class ListEcuByRegion extends V20170801Roa |
3404
|
|
|
{ |
3405
|
|
|
/** @var string */ |
3406
|
|
|
public $pathPattern = '/pop/v5/resource/ecu_list'; |
3407
|
|
|
|
3408
|
|
|
/** @var string */ |
3409
|
|
|
public $method = 'GET'; |
3410
|
|
|
|
3411
|
|
|
/** |
3412
|
|
|
* @param string $value |
3413
|
|
|
* |
3414
|
|
|
* @return $this |
3415
|
|
|
*/ |
3416
|
|
|
public function withAct($value) |
3417
|
|
|
{ |
3418
|
|
|
$this->data['Act'] = $value; |
3419
|
|
|
$this->options['query']['Act'] = $value; |
3420
|
|
|
|
3421
|
|
|
return $this; |
3422
|
|
|
} |
3423
|
|
|
|
3424
|
|
|
/** |
3425
|
|
|
* @param string $value |
3426
|
|
|
* |
3427
|
|
|
* @return $this |
3428
|
|
|
*/ |
3429
|
|
|
public function withLogicalRegionId($value) |
3430
|
|
|
{ |
3431
|
|
|
$this->data['LogicalRegionId'] = $value; |
3432
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
3433
|
|
|
|
3434
|
|
|
return $this; |
3435
|
|
|
} |
3436
|
|
|
} |
3437
|
|
|
|
3438
|
|
|
/** |
3439
|
|
|
* @method string getLogicalRegionId() |
3440
|
|
|
*/ |
3441
|
|
|
class QueryMigrateEcuList extends V20170801Roa |
3442
|
|
|
{ |
3443
|
|
|
/** @var string */ |
3444
|
|
|
public $pathPattern = '/pop/v5/resource/migrate_ecu_list'; |
3445
|
|
|
|
3446
|
|
|
/** @var string */ |
3447
|
|
|
public $method = 'GET'; |
3448
|
|
|
|
3449
|
|
|
/** |
3450
|
|
|
* @param string $value |
3451
|
|
|
* |
3452
|
|
|
* @return $this |
3453
|
|
|
*/ |
3454
|
|
|
public function withLogicalRegionId($value) |
3455
|
|
|
{ |
3456
|
|
|
$this->data['LogicalRegionId'] = $value; |
3457
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
3458
|
|
|
|
3459
|
|
|
return $this; |
3460
|
|
|
} |
3461
|
|
|
} |
3462
|
|
|
|
3463
|
|
|
/** |
3464
|
|
|
* @method string getLogicalRegionId() |
3465
|
|
|
*/ |
3466
|
|
|
class QueryMigrateRegionList extends V20170801Roa |
3467
|
|
|
{ |
3468
|
|
|
/** @var string */ |
3469
|
|
|
public $pathPattern = '/pop/v5/resource/migrate_region_select'; |
3470
|
|
|
|
3471
|
|
|
/** @var string */ |
3472
|
|
|
public $method = 'GET'; |
3473
|
|
|
|
3474
|
|
|
/** |
3475
|
|
|
* @param string $value |
3476
|
|
|
* |
3477
|
|
|
* @return $this |
3478
|
|
|
*/ |
3479
|
|
|
public function withLogicalRegionId($value) |
3480
|
|
|
{ |
3481
|
|
|
$this->data['LogicalRegionId'] = $value; |
3482
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
3483
|
|
|
|
3484
|
|
|
return $this; |
3485
|
|
|
} |
3486
|
|
|
} |
3487
|
|
|
|
3488
|
|
|
/** |
3489
|
|
|
* @method string getInstanceIds() |
3490
|
|
|
* @method string getLogicalRegionId() |
3491
|
|
|
*/ |
3492
|
|
|
class MigrateEcu extends V20170801Roa |
3493
|
|
|
{ |
3494
|
|
|
/** @var string */ |
3495
|
|
|
public $pathPattern = '/pop/v5/resource/migrate_ecu'; |
3496
|
|
|
|
3497
|
|
|
/** |
3498
|
|
|
* @param string $value |
3499
|
|
|
* |
3500
|
|
|
* @return $this |
3501
|
|
|
*/ |
3502
|
|
|
public function withInstanceIds($value) |
3503
|
|
|
{ |
3504
|
|
|
$this->data['InstanceIds'] = $value; |
3505
|
|
|
$this->options['query']['InstanceIds'] = $value; |
3506
|
|
|
|
3507
|
|
|
return $this; |
3508
|
|
|
} |
3509
|
|
|
|
3510
|
|
|
/** |
3511
|
|
|
* @param string $value |
3512
|
|
|
* |
3513
|
|
|
* @return $this |
3514
|
|
|
*/ |
3515
|
|
|
public function withLogicalRegionId($value) |
3516
|
|
|
{ |
3517
|
|
|
$this->data['LogicalRegionId'] = $value; |
3518
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
3519
|
|
|
|
3520
|
|
|
return $this; |
3521
|
|
|
} |
3522
|
|
|
} |
3523
|
|
|
|
3524
|
|
|
/** |
3525
|
|
|
* @method string getPassword() |
3526
|
|
|
* @method string getInstanceId() |
3527
|
|
|
* @method string getAct() |
3528
|
|
|
* @method string getClusterId() |
3529
|
|
|
*/ |
3530
|
|
|
class MigrateToRegion extends V20170801Roa |
3531
|
|
|
{ |
3532
|
|
|
/** @var string */ |
3533
|
|
|
public $pathPattern = '/pop/v5/ecus'; |
3534
|
|
|
|
3535
|
|
|
/** @var string */ |
3536
|
|
|
public $method = 'GET'; |
3537
|
|
|
|
3538
|
|
|
/** |
3539
|
|
|
* @param string $value |
3540
|
|
|
* |
3541
|
|
|
* @return $this |
3542
|
|
|
*/ |
3543
|
|
|
public function withPassword($value) |
3544
|
|
|
{ |
3545
|
|
|
$this->data['Password'] = $value; |
3546
|
|
|
$this->options['query']['Password'] = $value; |
3547
|
|
|
|
3548
|
|
|
return $this; |
3549
|
|
|
} |
3550
|
|
|
|
3551
|
|
|
/** |
3552
|
|
|
* @param string $value |
3553
|
|
|
* |
3554
|
|
|
* @return $this |
3555
|
|
|
*/ |
3556
|
|
|
public function withInstanceId($value) |
3557
|
|
|
{ |
3558
|
|
|
$this->data['InstanceId'] = $value; |
3559
|
|
|
$this->options['query']['InstanceId'] = $value; |
3560
|
|
|
|
3561
|
|
|
return $this; |
3562
|
|
|
} |
3563
|
|
|
|
3564
|
|
|
/** |
3565
|
|
|
* @param string $value |
3566
|
|
|
* |
3567
|
|
|
* @return $this |
3568
|
|
|
*/ |
3569
|
|
|
public function withAct($value) |
3570
|
|
|
{ |
3571
|
|
|
$this->data['Act'] = $value; |
3572
|
|
|
$this->options['query']['Act'] = $value; |
3573
|
|
|
|
3574
|
|
|
return $this; |
3575
|
|
|
} |
3576
|
|
|
|
3577
|
|
|
/** |
3578
|
|
|
* @param string $value |
3579
|
|
|
* |
3580
|
|
|
* @return $this |
3581
|
|
|
*/ |
3582
|
|
|
public function withClusterId($value) |
3583
|
|
|
{ |
3584
|
|
|
$this->data['ClusterId'] = $value; |
3585
|
|
|
$this->options['query']['ClusterId'] = $value; |
3586
|
|
|
|
3587
|
|
|
return $this; |
3588
|
|
|
} |
3589
|
|
|
} |
3590
|
|
|
|
3591
|
|
|
/** |
3592
|
|
|
* @method string getDebugEnable() |
3593
|
|
|
*/ |
3594
|
|
|
class ListUserDefineRegion extends V20170801Roa |
3595
|
|
|
{ |
3596
|
|
|
/** @var string */ |
3597
|
|
|
public $pathPattern = '/pop/v5/user_region_defs'; |
3598
|
|
|
|
3599
|
|
|
/** |
3600
|
|
|
* @param string $value |
3601
|
|
|
* |
3602
|
|
|
* @return $this |
3603
|
|
|
*/ |
3604
|
|
|
public function withDebugEnable($value) |
3605
|
|
|
{ |
3606
|
|
|
$this->data['DebugEnable'] = $value; |
3607
|
|
|
$this->options['query']['DebugEnable'] = $value; |
3608
|
|
|
|
3609
|
|
|
return $this; |
3610
|
|
|
} |
3611
|
|
|
} |
3612
|
|
|
|
3613
|
|
|
class ListAliyunRegion extends V20170801Roa |
3614
|
|
|
{ |
3615
|
|
|
/** @var string */ |
3616
|
|
|
public $pathPattern = '/pop/v5/resource/region_list'; |
3617
|
|
|
} |
3618
|
|
|
|
3619
|
|
|
/** |
3620
|
|
|
* @method string getDebugEnable() |
3621
|
|
|
* @method string getRegionTag() |
3622
|
|
|
* @method string getRegionName() |
3623
|
|
|
* @method string getDescription() |
3624
|
|
|
* @method string getId() |
3625
|
|
|
*/ |
3626
|
|
|
class InsertOrUpdateRegion extends V20170801Roa |
3627
|
|
|
{ |
3628
|
|
|
/** @var string */ |
3629
|
|
|
public $pathPattern = '/pop/v5/user_region_def'; |
3630
|
|
|
|
3631
|
|
|
/** |
3632
|
|
|
* @param string $value |
3633
|
|
|
* |
3634
|
|
|
* @return $this |
3635
|
|
|
*/ |
3636
|
|
|
public function withDebugEnable($value) |
3637
|
|
|
{ |
3638
|
|
|
$this->data['DebugEnable'] = $value; |
3639
|
|
|
$this->options['query']['DebugEnable'] = $value; |
3640
|
|
|
|
3641
|
|
|
return $this; |
3642
|
|
|
} |
3643
|
|
|
|
3644
|
|
|
/** |
3645
|
|
|
* @param string $value |
3646
|
|
|
* |
3647
|
|
|
* @return $this |
3648
|
|
|
*/ |
3649
|
|
|
public function withRegionTag($value) |
3650
|
|
|
{ |
3651
|
|
|
$this->data['RegionTag'] = $value; |
3652
|
|
|
$this->options['query']['RegionTag'] = $value; |
3653
|
|
|
|
3654
|
|
|
return $this; |
3655
|
|
|
} |
3656
|
|
|
|
3657
|
|
|
/** |
3658
|
|
|
* @param string $value |
3659
|
|
|
* |
3660
|
|
|
* @return $this |
3661
|
|
|
*/ |
3662
|
|
|
public function withRegionName($value) |
3663
|
|
|
{ |
3664
|
|
|
$this->data['RegionName'] = $value; |
3665
|
|
|
$this->options['query']['RegionName'] = $value; |
3666
|
|
|
|
3667
|
|
|
return $this; |
3668
|
|
|
} |
3669
|
|
|
|
3670
|
|
|
/** |
3671
|
|
|
* @param string $value |
3672
|
|
|
* |
3673
|
|
|
* @return $this |
3674
|
|
|
*/ |
3675
|
|
|
public function withDescription($value) |
3676
|
|
|
{ |
3677
|
|
|
$this->data['Description'] = $value; |
3678
|
|
|
$this->options['query']['Description'] = $value; |
3679
|
|
|
|
3680
|
|
|
return $this; |
3681
|
|
|
} |
3682
|
|
|
|
3683
|
|
|
/** |
3684
|
|
|
* @param string $value |
3685
|
|
|
* |
3686
|
|
|
* @return $this |
3687
|
|
|
*/ |
3688
|
|
|
public function withId($value) |
3689
|
|
|
{ |
3690
|
|
|
$this->data['Id'] = $value; |
3691
|
|
|
$this->options['query']['Id'] = $value; |
3692
|
|
|
|
3693
|
|
|
return $this; |
3694
|
|
|
} |
3695
|
|
|
} |
3696
|
|
|
|
3697
|
|
|
/** |
3698
|
|
|
* @method string getRegionTag() |
3699
|
|
|
* @method string getId() |
3700
|
|
|
*/ |
3701
|
|
|
class DeleteUserDefineRegion extends V20170801Roa |
3702
|
|
|
{ |
3703
|
|
|
/** @var string */ |
3704
|
|
|
public $pathPattern = '/pop/v5/user_region_def'; |
3705
|
|
|
|
3706
|
|
|
/** @var string */ |
3707
|
|
|
public $method = 'DELETE'; |
3708
|
|
|
|
3709
|
|
|
/** |
3710
|
|
|
* @param string $value |
3711
|
|
|
* |
3712
|
|
|
* @return $this |
3713
|
|
|
*/ |
3714
|
|
|
public function withRegionTag($value) |
3715
|
|
|
{ |
3716
|
|
|
$this->data['RegionTag'] = $value; |
3717
|
|
|
$this->options['query']['RegionTag'] = $value; |
3718
|
|
|
|
3719
|
|
|
return $this; |
3720
|
|
|
} |
3721
|
|
|
|
3722
|
|
|
/** |
3723
|
|
|
* @param string $value |
3724
|
|
|
* |
3725
|
|
|
* @return $this |
3726
|
|
|
*/ |
3727
|
|
|
public function withId($value) |
3728
|
|
|
{ |
3729
|
|
|
$this->data['Id'] = $value; |
3730
|
|
|
$this->options['query']['Id'] = $value; |
3731
|
|
|
|
3732
|
|
|
return $this; |
3733
|
|
|
} |
3734
|
|
|
} |
3735
|
|
|
|
3736
|
|
|
/** |
3737
|
|
|
* @method string getMetric() |
3738
|
|
|
* @method string getAggregator() |
3739
|
|
|
* @method string getStart() |
3740
|
|
|
* @method string getEnd() |
3741
|
|
|
* @method string getInterval() |
3742
|
|
|
* @method string getTags() |
3743
|
|
|
*/ |
3744
|
|
|
class QueryMonitorInfo extends V20170801Roa |
3745
|
|
|
{ |
3746
|
|
|
/** @var string */ |
3747
|
|
|
public $pathPattern = '/pop/v5/monitor/queryMonitorInfo'; |
3748
|
|
|
|
3749
|
|
|
/** @var string */ |
3750
|
|
|
public $method = 'GET'; |
3751
|
|
|
|
3752
|
|
|
/** |
3753
|
|
|
* @param string $value |
3754
|
|
|
* |
3755
|
|
|
* @return $this |
3756
|
|
|
*/ |
3757
|
|
|
public function withMetric($value) |
3758
|
|
|
{ |
3759
|
|
|
$this->data['Metric'] = $value; |
3760
|
|
|
$this->options['query']['Metric'] = $value; |
3761
|
|
|
|
3762
|
|
|
return $this; |
3763
|
|
|
} |
3764
|
|
|
|
3765
|
|
|
/** |
3766
|
|
|
* @param string $value |
3767
|
|
|
* |
3768
|
|
|
* @return $this |
3769
|
|
|
*/ |
3770
|
|
|
public function withAggregator($value) |
3771
|
|
|
{ |
3772
|
|
|
$this->data['Aggregator'] = $value; |
3773
|
|
|
$this->options['query']['Aggregator'] = $value; |
3774
|
|
|
|
3775
|
|
|
return $this; |
3776
|
|
|
} |
3777
|
|
|
|
3778
|
|
|
/** |
3779
|
|
|
* @param string $value |
3780
|
|
|
* |
3781
|
|
|
* @return $this |
3782
|
|
|
*/ |
3783
|
|
|
public function withStart($value) |
3784
|
|
|
{ |
3785
|
|
|
$this->data['Start'] = $value; |
3786
|
|
|
$this->options['query']['Start'] = $value; |
3787
|
|
|
|
3788
|
|
|
return $this; |
3789
|
|
|
} |
3790
|
|
|
|
3791
|
|
|
/** |
3792
|
|
|
* @param string $value |
3793
|
|
|
* |
3794
|
|
|
* @return $this |
3795
|
|
|
*/ |
3796
|
|
|
public function withEnd($value) |
3797
|
|
|
{ |
3798
|
|
|
$this->data['End'] = $value; |
3799
|
|
|
$this->options['query']['End'] = $value; |
3800
|
|
|
|
3801
|
|
|
return $this; |
3802
|
|
|
} |
3803
|
|
|
|
3804
|
|
|
/** |
3805
|
|
|
* @param string $value |
3806
|
|
|
* |
3807
|
|
|
* @return $this |
3808
|
|
|
*/ |
3809
|
|
|
public function withInterval($value) |
3810
|
|
|
{ |
3811
|
|
|
$this->data['Interval'] = $value; |
3812
|
|
|
$this->options['query']['Interval'] = $value; |
3813
|
|
|
|
3814
|
|
|
return $this; |
3815
|
|
|
} |
3816
|
|
|
|
3817
|
|
|
/** |
3818
|
|
|
* @param string $value |
3819
|
|
|
* |
3820
|
|
|
* @return $this |
3821
|
|
|
*/ |
3822
|
|
|
public function withTags($value) |
3823
|
|
|
{ |
3824
|
|
|
$this->data['Tags'] = $value; |
3825
|
|
|
$this->options['query']['Tags'] = $value; |
3826
|
|
|
|
3827
|
|
|
return $this; |
3828
|
|
|
} |
3829
|
|
|
} |
3830
|
|
|
|
3831
|
|
|
class ListVpc extends V20170801Roa |
3832
|
|
|
{ |
3833
|
|
|
/** @var string */ |
3834
|
|
|
public $pathPattern = '/pop/v5/vpc_list'; |
3835
|
|
|
|
3836
|
|
|
/** @var string */ |
3837
|
|
|
public $method = 'GET'; |
3838
|
|
|
} |
3839
|
|
|
|
3840
|
|
|
/** |
3841
|
|
|
* @method string getAppId() |
3842
|
|
|
* @method string getHcURL() |
3843
|
|
|
*/ |
3844
|
|
|
class UpdateHealthCheckUrl extends V20170801Roa |
3845
|
|
|
{ |
3846
|
|
|
/** @var string */ |
3847
|
|
|
public $pathPattern = '/pop/v5/app/modify_hc_url'; |
3848
|
|
|
|
3849
|
|
|
/** |
3850
|
|
|
* @param string $value |
3851
|
|
|
* |
3852
|
|
|
* @return $this |
3853
|
|
|
*/ |
3854
|
|
|
public function withAppId($value) |
3855
|
|
|
{ |
3856
|
|
|
$this->data['AppId'] = $value; |
3857
|
|
|
$this->options['query']['AppId'] = $value; |
3858
|
|
|
|
3859
|
|
|
return $this; |
3860
|
|
|
} |
3861
|
|
|
|
3862
|
|
|
/** |
3863
|
|
|
* @param string $value |
3864
|
|
|
* |
3865
|
|
|
* @return $this |
3866
|
|
|
*/ |
3867
|
|
|
public function withHcURL($value) |
3868
|
|
|
{ |
3869
|
|
|
$this->data['HcURL'] = $value; |
3870
|
|
|
$this->options['query']['hcURL'] = $value; |
3871
|
|
|
|
3872
|
|
|
return $this; |
3873
|
|
|
} |
3874
|
|
|
} |
3875
|
|
|
|
3876
|
|
|
/** |
3877
|
|
|
* @method string getMinHeapSize() |
3878
|
|
|
* @method string getAppId() |
3879
|
|
|
* @method string getGroupId() |
3880
|
|
|
* @method string getOptions() |
3881
|
|
|
* @method string getMaxPermSize() |
3882
|
|
|
* @method string getMaxHeapSize() |
3883
|
|
|
*/ |
3884
|
|
|
class UpdateJvmConfiguration extends V20170801Roa |
3885
|
|
|
{ |
3886
|
|
|
/** @var string */ |
3887
|
|
|
public $pathPattern = '/pop/v5/app/app_jvm_config'; |
3888
|
|
|
|
3889
|
|
|
/** |
3890
|
|
|
* @param string $value |
3891
|
|
|
* |
3892
|
|
|
* @return $this |
3893
|
|
|
*/ |
3894
|
|
|
public function withMinHeapSize($value) |
3895
|
|
|
{ |
3896
|
|
|
$this->data['MinHeapSize'] = $value; |
3897
|
|
|
$this->options['query']['MinHeapSize'] = $value; |
3898
|
|
|
|
3899
|
|
|
return $this; |
3900
|
|
|
} |
3901
|
|
|
|
3902
|
|
|
/** |
3903
|
|
|
* @param string $value |
3904
|
|
|
* |
3905
|
|
|
* @return $this |
3906
|
|
|
*/ |
3907
|
|
|
public function withAppId($value) |
3908
|
|
|
{ |
3909
|
|
|
$this->data['AppId'] = $value; |
3910
|
|
|
$this->options['query']['AppId'] = $value; |
3911
|
|
|
|
3912
|
|
|
return $this; |
3913
|
|
|
} |
3914
|
|
|
|
3915
|
|
|
/** |
3916
|
|
|
* @param string $value |
3917
|
|
|
* |
3918
|
|
|
* @return $this |
3919
|
|
|
*/ |
3920
|
|
|
public function withGroupId($value) |
3921
|
|
|
{ |
3922
|
|
|
$this->data['GroupId'] = $value; |
3923
|
|
|
$this->options['query']['GroupId'] = $value; |
3924
|
|
|
|
3925
|
|
|
return $this; |
3926
|
|
|
} |
3927
|
|
|
|
3928
|
|
|
/** |
3929
|
|
|
* @param string $value |
3930
|
|
|
* |
3931
|
|
|
* @return $this |
3932
|
|
|
*/ |
3933
|
|
|
public function withOptions($value) |
3934
|
|
|
{ |
3935
|
|
|
$this->data['Options'] = $value; |
3936
|
|
|
$this->options['query']['Options'] = $value; |
3937
|
|
|
|
3938
|
|
|
return $this; |
3939
|
|
|
} |
3940
|
|
|
|
3941
|
|
|
/** |
3942
|
|
|
* @param string $value |
3943
|
|
|
* |
3944
|
|
|
* @return $this |
3945
|
|
|
*/ |
3946
|
|
|
public function withMaxPermSize($value) |
3947
|
|
|
{ |
3948
|
|
|
$this->data['MaxPermSize'] = $value; |
3949
|
|
|
$this->options['query']['MaxPermSize'] = $value; |
3950
|
|
|
|
3951
|
|
|
return $this; |
3952
|
|
|
} |
3953
|
|
|
|
3954
|
|
|
/** |
3955
|
|
|
* @param string $value |
3956
|
|
|
* |
3957
|
|
|
* @return $this |
3958
|
|
|
*/ |
3959
|
|
|
public function withMaxHeapSize($value) |
3960
|
|
|
{ |
3961
|
|
|
$this->data['MaxHeapSize'] = $value; |
3962
|
|
|
$this->options['query']['MaxHeapSize'] = $value; |
3963
|
|
|
|
3964
|
|
|
return $this; |
3965
|
|
|
} |
3966
|
|
|
} |
3967
|
|
|
|
3968
|
|
|
/** |
3969
|
|
|
* @method string getUseBodyEncoding() |
3970
|
|
|
* @method string getMaxThreads() |
3971
|
|
|
* @method string getURIEncoding() |
3972
|
|
|
* @method string getAppId() |
3973
|
|
|
* @method string getGroupId() |
3974
|
|
|
* @method string getHttpPort() |
3975
|
|
|
* @method string getContextPath() |
3976
|
|
|
*/ |
3977
|
|
|
class UpdateContainerConfiguration extends V20170801Roa |
3978
|
|
|
{ |
3979
|
|
|
/** @var string */ |
3980
|
|
|
public $pathPattern = '/pop/v5/app/container_config'; |
3981
|
|
|
|
3982
|
|
|
/** |
3983
|
|
|
* @param string $value |
3984
|
|
|
* |
3985
|
|
|
* @return $this |
3986
|
|
|
*/ |
3987
|
|
|
public function withUseBodyEncoding($value) |
3988
|
|
|
{ |
3989
|
|
|
$this->data['UseBodyEncoding'] = $value; |
3990
|
|
|
$this->options['query']['UseBodyEncoding'] = $value; |
3991
|
|
|
|
3992
|
|
|
return $this; |
3993
|
|
|
} |
3994
|
|
|
|
3995
|
|
|
/** |
3996
|
|
|
* @param string $value |
3997
|
|
|
* |
3998
|
|
|
* @return $this |
3999
|
|
|
*/ |
4000
|
|
|
public function withMaxThreads($value) |
4001
|
|
|
{ |
4002
|
|
|
$this->data['MaxThreads'] = $value; |
4003
|
|
|
$this->options['query']['MaxThreads'] = $value; |
4004
|
|
|
|
4005
|
|
|
return $this; |
4006
|
|
|
} |
4007
|
|
|
|
4008
|
|
|
/** |
4009
|
|
|
* @param string $value |
4010
|
|
|
* |
4011
|
|
|
* @return $this |
4012
|
|
|
*/ |
4013
|
|
|
public function withURIEncoding($value) |
4014
|
|
|
{ |
4015
|
|
|
$this->data['URIEncoding'] = $value; |
4016
|
|
|
$this->options['query']['URIEncoding'] = $value; |
4017
|
|
|
|
4018
|
|
|
return $this; |
4019
|
|
|
} |
4020
|
|
|
|
4021
|
|
|
/** |
4022
|
|
|
* @param string $value |
4023
|
|
|
* |
4024
|
|
|
* @return $this |
4025
|
|
|
*/ |
4026
|
|
|
public function withAppId($value) |
4027
|
|
|
{ |
4028
|
|
|
$this->data['AppId'] = $value; |
4029
|
|
|
$this->options['query']['AppId'] = $value; |
4030
|
|
|
|
4031
|
|
|
return $this; |
4032
|
|
|
} |
4033
|
|
|
|
4034
|
|
|
/** |
4035
|
|
|
* @param string $value |
4036
|
|
|
* |
4037
|
|
|
* @return $this |
4038
|
|
|
*/ |
4039
|
|
|
public function withGroupId($value) |
4040
|
|
|
{ |
4041
|
|
|
$this->data['GroupId'] = $value; |
4042
|
|
|
$this->options['query']['GroupId'] = $value; |
4043
|
|
|
|
4044
|
|
|
return $this; |
4045
|
|
|
} |
4046
|
|
|
|
4047
|
|
|
/** |
4048
|
|
|
* @param string $value |
4049
|
|
|
* |
4050
|
|
|
* @return $this |
4051
|
|
|
*/ |
4052
|
|
|
public function withHttpPort($value) |
4053
|
|
|
{ |
4054
|
|
|
$this->data['HttpPort'] = $value; |
4055
|
|
|
$this->options['query']['HttpPort'] = $value; |
4056
|
|
|
|
4057
|
|
|
return $this; |
4058
|
|
|
} |
4059
|
|
|
|
4060
|
|
|
/** |
4061
|
|
|
* @param string $value |
4062
|
|
|
* |
4063
|
|
|
* @return $this |
4064
|
|
|
*/ |
4065
|
|
|
public function withContextPath($value) |
4066
|
|
|
{ |
4067
|
|
|
$this->data['ContextPath'] = $value; |
4068
|
|
|
$this->options['query']['ContextPath'] = $value; |
4069
|
|
|
|
4070
|
|
|
return $this; |
4071
|
|
|
} |
4072
|
|
|
} |
4073
|
|
|
|
4074
|
|
|
/** |
4075
|
|
|
* @method string getAppName() |
4076
|
|
|
* @method string getAppId() |
4077
|
|
|
* @method string getDesc() |
4078
|
|
|
*/ |
4079
|
|
|
class UpdateApplicationBaseInfo extends V20170801Roa |
4080
|
|
|
{ |
4081
|
|
|
/** @var string */ |
4082
|
|
|
public $pathPattern = '/pop/v5/app/update_app_info'; |
4083
|
|
|
|
4084
|
|
|
/** |
4085
|
|
|
* @param string $value |
4086
|
|
|
* |
4087
|
|
|
* @return $this |
4088
|
|
|
*/ |
4089
|
|
|
public function withAppName($value) |
4090
|
|
|
{ |
4091
|
|
|
$this->data['AppName'] = $value; |
4092
|
|
|
$this->options['query']['AppName'] = $value; |
4093
|
|
|
|
4094
|
|
|
return $this; |
4095
|
|
|
} |
4096
|
|
|
|
4097
|
|
|
/** |
4098
|
|
|
* @param string $value |
4099
|
|
|
* |
4100
|
|
|
* @return $this |
4101
|
|
|
*/ |
4102
|
|
|
public function withAppId($value) |
4103
|
|
|
{ |
4104
|
|
|
$this->data['AppId'] = $value; |
4105
|
|
|
$this->options['query']['AppId'] = $value; |
4106
|
|
|
|
4107
|
|
|
return $this; |
4108
|
|
|
} |
4109
|
|
|
|
4110
|
|
|
/** |
4111
|
|
|
* @param string $value |
4112
|
|
|
* |
4113
|
|
|
* @return $this |
4114
|
|
|
*/ |
4115
|
|
|
public function withDesc($value) |
4116
|
|
|
{ |
4117
|
|
|
$this->data['Desc'] = $value; |
4118
|
|
|
$this->options['query']['desc'] = $value; |
4119
|
|
|
|
4120
|
|
|
return $this; |
4121
|
|
|
} |
4122
|
|
|
} |
4123
|
|
|
|
4124
|
|
|
/** |
4125
|
|
|
* @method string getAppId() |
4126
|
|
|
* @method string getGroupId() |
4127
|
|
|
*/ |
4128
|
|
|
class GetContainerConfiguration extends V20170801Roa |
4129
|
|
|
{ |
4130
|
|
|
/** @var string */ |
4131
|
|
|
public $pathPattern = '/pop/v5/app/container_config'; |
4132
|
|
|
|
4133
|
|
|
/** @var string */ |
4134
|
|
|
public $method = 'GET'; |
4135
|
|
|
|
4136
|
|
|
/** |
4137
|
|
|
* @param string $value |
4138
|
|
|
* |
4139
|
|
|
* @return $this |
4140
|
|
|
*/ |
4141
|
|
|
public function withAppId($value) |
4142
|
|
|
{ |
4143
|
|
|
$this->data['AppId'] = $value; |
4144
|
|
|
$this->options['query']['AppId'] = $value; |
4145
|
|
|
|
4146
|
|
|
return $this; |
4147
|
|
|
} |
4148
|
|
|
|
4149
|
|
|
/** |
4150
|
|
|
* @param string $value |
4151
|
|
|
* |
4152
|
|
|
* @return $this |
4153
|
|
|
*/ |
4154
|
|
|
public function withGroupId($value) |
4155
|
|
|
{ |
4156
|
|
|
$this->data['GroupId'] = $value; |
4157
|
|
|
$this->options['query']['GroupId'] = $value; |
4158
|
|
|
|
4159
|
|
|
return $this; |
4160
|
|
|
} |
4161
|
|
|
} |
4162
|
|
|
|
4163
|
|
|
/** |
4164
|
|
|
* @method string getAppId() |
4165
|
|
|
* @method string getGroupId() |
4166
|
|
|
*/ |
4167
|
|
|
class GetJvmConfiguration extends V20170801Roa |
4168
|
|
|
{ |
4169
|
|
|
/** @var string */ |
4170
|
|
|
public $pathPattern = '/pop/v5/app/app_jvm_config'; |
4171
|
|
|
|
4172
|
|
|
/** @var string */ |
4173
|
|
|
public $method = 'GET'; |
4174
|
|
|
|
4175
|
|
|
/** |
4176
|
|
|
* @param string $value |
4177
|
|
|
* |
4178
|
|
|
* @return $this |
4179
|
|
|
*/ |
4180
|
|
|
public function withAppId($value) |
4181
|
|
|
{ |
4182
|
|
|
$this->data['AppId'] = $value; |
4183
|
|
|
$this->options['query']['AppId'] = $value; |
4184
|
|
|
|
4185
|
|
|
return $this; |
4186
|
|
|
} |
4187
|
|
|
|
4188
|
|
|
/** |
4189
|
|
|
* @param string $value |
4190
|
|
|
* |
4191
|
|
|
* @return $this |
4192
|
|
|
*/ |
4193
|
|
|
public function withGroupId($value) |
4194
|
|
|
{ |
4195
|
|
|
$this->data['GroupId'] = $value; |
4196
|
|
|
$this->options['query']['GroupId'] = $value; |
4197
|
|
|
|
4198
|
|
|
return $this; |
4199
|
|
|
} |
4200
|
|
|
} |
4201
|
|
|
|
4202
|
|
|
/** |
4203
|
|
|
* @method string getAppId() |
4204
|
|
|
* @method string getGroupName() |
4205
|
|
|
*/ |
4206
|
|
|
class InsertDeployGroup extends V20170801Roa |
4207
|
|
|
{ |
4208
|
|
|
/** @var string */ |
4209
|
|
|
public $pathPattern = '/pop/v5/deploy_group'; |
4210
|
|
|
|
4211
|
|
|
/** |
4212
|
|
|
* @param string $value |
4213
|
|
|
* |
4214
|
|
|
* @return $this |
4215
|
|
|
*/ |
4216
|
|
|
public function withAppId($value) |
4217
|
|
|
{ |
4218
|
|
|
$this->data['AppId'] = $value; |
4219
|
|
|
$this->options['query']['AppId'] = $value; |
4220
|
|
|
|
4221
|
|
|
return $this; |
4222
|
|
|
} |
4223
|
|
|
|
4224
|
|
|
/** |
4225
|
|
|
* @param string $value |
4226
|
|
|
* |
4227
|
|
|
* @return $this |
4228
|
|
|
*/ |
4229
|
|
|
public function withGroupName($value) |
4230
|
|
|
{ |
4231
|
|
|
$this->data['GroupName'] = $value; |
4232
|
|
|
$this->options['query']['GroupName'] = $value; |
4233
|
|
|
|
4234
|
|
|
return $this; |
4235
|
|
|
} |
4236
|
|
|
} |
4237
|
|
|
|
4238
|
|
|
/** |
4239
|
|
|
* @method string getAppId() |
4240
|
|
|
*/ |
4241
|
|
|
class GetApplication extends V20170801Roa |
4242
|
|
|
{ |
4243
|
|
|
/** @var string */ |
4244
|
|
|
public $pathPattern = '/pop/v5/app/app_info'; |
4245
|
|
|
|
4246
|
|
|
/** |
4247
|
|
|
* @param string $value |
4248
|
|
|
* |
4249
|
|
|
* @return $this |
4250
|
|
|
*/ |
4251
|
|
|
public function withAppId($value) |
4252
|
|
|
{ |
4253
|
|
|
$this->data['AppId'] = $value; |
4254
|
|
|
$this->options['query']['AppId'] = $value; |
4255
|
|
|
|
4256
|
|
|
return $this; |
4257
|
|
|
} |
4258
|
|
|
} |
4259
|
|
|
|
4260
|
|
|
/** |
4261
|
|
|
* @method string getAppId() |
4262
|
|
|
* @method string getGroupName() |
4263
|
|
|
*/ |
4264
|
|
|
class DeleteDeployGroup extends V20170801Roa |
4265
|
|
|
{ |
4266
|
|
|
/** @var string */ |
4267
|
|
|
public $pathPattern = '/pop/v5/deploy_group'; |
4268
|
|
|
|
4269
|
|
|
/** @var string */ |
4270
|
|
|
public $method = 'DELETE'; |
4271
|
|
|
|
4272
|
|
|
/** |
4273
|
|
|
* @param string $value |
4274
|
|
|
* |
4275
|
|
|
* @return $this |
4276
|
|
|
*/ |
4277
|
|
|
public function withAppId($value) |
4278
|
|
|
{ |
4279
|
|
|
$this->data['AppId'] = $value; |
4280
|
|
|
$this->options['query']['AppId'] = $value; |
4281
|
|
|
|
4282
|
|
|
return $this; |
4283
|
|
|
} |
4284
|
|
|
|
4285
|
|
|
/** |
4286
|
|
|
* @param string $value |
4287
|
|
|
* |
4288
|
|
|
* @return $this |
4289
|
|
|
*/ |
4290
|
|
|
public function withGroupName($value) |
4291
|
|
|
{ |
4292
|
|
|
$this->data['GroupName'] = $value; |
4293
|
|
|
$this->options['query']['GroupName'] = $value; |
4294
|
|
|
|
4295
|
|
|
return $this; |
4296
|
|
|
} |
4297
|
|
|
} |
4298
|
|
|
|
4299
|
|
|
/** |
4300
|
|
|
* @method string getAppId() |
4301
|
|
|
*/ |
4302
|
|
|
class QueryApplicationStatus extends V20170801Roa |
4303
|
|
|
{ |
4304
|
|
|
/** @var string */ |
4305
|
|
|
public $pathPattern = '/pop/v5/app/app_status'; |
4306
|
|
|
|
4307
|
|
|
/** @var string */ |
4308
|
|
|
public $method = 'GET'; |
4309
|
|
|
|
4310
|
|
|
/** |
4311
|
|
|
* @param string $value |
4312
|
|
|
* |
4313
|
|
|
* @return $this |
4314
|
|
|
*/ |
4315
|
|
|
public function withAppId($value) |
4316
|
|
|
{ |
4317
|
|
|
$this->data['AppId'] = $value; |
4318
|
|
|
$this->options['query']['AppId'] = $value; |
4319
|
|
|
|
4320
|
|
|
return $this; |
4321
|
|
|
} |
4322
|
|
|
} |
4323
|
|
|
|
4324
|
|
|
/** |
4325
|
|
|
* @method string getType() |
4326
|
|
|
*/ |
4327
|
|
|
class SynchronizeResource extends V20170801Roa |
4328
|
|
|
{ |
4329
|
|
|
/** @var string */ |
4330
|
|
|
public $pathPattern = '/pop/v5/resource/pop_sync_resource'; |
4331
|
|
|
|
4332
|
|
|
/** @var string */ |
4333
|
|
|
public $method = 'GET'; |
4334
|
|
|
|
4335
|
|
|
/** |
4336
|
|
|
* @param string $value |
4337
|
|
|
* |
4338
|
|
|
* @return $this |
4339
|
|
|
*/ |
4340
|
|
|
public function withType($value) |
4341
|
|
|
{ |
4342
|
|
|
$this->data['Type'] = $value; |
4343
|
|
|
$this->options['query']['Type'] = $value; |
4344
|
|
|
|
4345
|
|
|
return $this; |
4346
|
|
|
} |
4347
|
|
|
} |
4348
|
|
|
|
4349
|
|
|
/** |
4350
|
|
|
* @method string getAppId() |
4351
|
|
|
*/ |
4352
|
|
|
class ListRecentChangeOrder extends V20170801Roa |
4353
|
|
|
{ |
4354
|
|
|
/** @var string */ |
4355
|
|
|
public $pathPattern = '/pop/v5/changeorder/change_order_list'; |
4356
|
|
|
|
4357
|
|
|
/** |
4358
|
|
|
* @param string $value |
4359
|
|
|
* |
4360
|
|
|
* @return $this |
4361
|
|
|
*/ |
4362
|
|
|
public function withAppId($value) |
4363
|
|
|
{ |
4364
|
|
|
$this->data['AppId'] = $value; |
4365
|
|
|
$this->options['query']['AppId'] = $value; |
4366
|
|
|
|
4367
|
|
|
return $this; |
4368
|
|
|
} |
4369
|
|
|
} |
4370
|
|
|
|
4371
|
|
|
/** |
4372
|
|
|
* @method string getEcuId() |
4373
|
|
|
*/ |
4374
|
|
|
class DeleteEcu extends V20170801Roa |
4375
|
|
|
{ |
4376
|
|
|
/** @var string */ |
4377
|
|
|
public $pathPattern = '/pop/v5/resource/delete_ecu'; |
4378
|
|
|
|
4379
|
|
|
/** |
4380
|
|
|
* @param string $value |
4381
|
|
|
* |
4382
|
|
|
* @return $this |
4383
|
|
|
*/ |
4384
|
|
|
public function withEcuId($value) |
4385
|
|
|
{ |
4386
|
|
|
$this->data['EcuId'] = $value; |
4387
|
|
|
$this->options['query']['EcuId'] = $value; |
4388
|
|
|
|
4389
|
|
|
return $this; |
4390
|
|
|
} |
4391
|
|
|
} |
4392
|
|
|
|
4393
|
|
|
class ListSlb extends V20170801Roa |
4394
|
|
|
{ |
4395
|
|
|
/** @var string */ |
4396
|
|
|
public $pathPattern = '/pop/v5/slb_list'; |
4397
|
|
|
|
4398
|
|
|
/** @var string */ |
4399
|
|
|
public $method = 'GET'; |
4400
|
|
|
} |
4401
|
|
|
|
4402
|
|
|
/** |
4403
|
|
|
* @method string getAppId() |
4404
|
|
|
*/ |
4405
|
|
|
class ListHistoryDeployVersion extends V20170801Roa |
4406
|
|
|
{ |
4407
|
|
|
/** @var string */ |
4408
|
|
|
public $pathPattern = '/pop/v5/app/deploy_history_version_list'; |
4409
|
|
|
|
4410
|
|
|
/** @var string */ |
4411
|
|
|
public $method = 'GET'; |
4412
|
|
|
|
4413
|
|
|
/** |
4414
|
|
|
* @param string $value |
4415
|
|
|
* |
4416
|
|
|
* @return $this |
4417
|
|
|
*/ |
4418
|
|
|
public function withAppId($value) |
4419
|
|
|
{ |
4420
|
|
|
$this->data['AppId'] = $value; |
4421
|
|
|
$this->options['query']['AppId'] = $value; |
4422
|
|
|
|
4423
|
|
|
return $this; |
4424
|
|
|
} |
4425
|
|
|
} |
4426
|
|
|
|
4427
|
|
|
class ListResourceGroup extends V20170801Roa |
4428
|
|
|
{ |
4429
|
|
|
/** @var string */ |
4430
|
|
|
public $pathPattern = '/pop/v5/resource/reg_group_list'; |
4431
|
|
|
} |
4432
|
|
|
|
4433
|
|
|
/** |
4434
|
|
|
* @method string getName() |
4435
|
|
|
* @method string getTelephone() |
4436
|
|
|
* @method string getEmail() |
4437
|
|
|
*/ |
4438
|
|
|
class UpdateAccountInfo extends V20170801Roa |
4439
|
|
|
{ |
4440
|
|
|
/** @var string */ |
4441
|
|
|
public $pathPattern = '/pop/v5/account/edit_account_info'; |
4442
|
|
|
|
4443
|
|
|
/** |
4444
|
|
|
* @param string $value |
4445
|
|
|
* |
4446
|
|
|
* @return $this |
4447
|
|
|
*/ |
4448
|
|
|
public function withName($value) |
4449
|
|
|
{ |
4450
|
|
|
$this->data['Name'] = $value; |
4451
|
|
|
$this->options['query']['Name'] = $value; |
4452
|
|
|
|
4453
|
|
|
return $this; |
4454
|
|
|
} |
4455
|
|
|
|
4456
|
|
|
/** |
4457
|
|
|
* @param string $value |
4458
|
|
|
* |
4459
|
|
|
* @return $this |
4460
|
|
|
*/ |
4461
|
|
|
public function withTelephone($value) |
4462
|
|
|
{ |
4463
|
|
|
$this->data['Telephone'] = $value; |
4464
|
|
|
$this->options['query']['Telephone'] = $value; |
4465
|
|
|
|
4466
|
|
|
return $this; |
4467
|
|
|
} |
4468
|
|
|
|
4469
|
|
|
/** |
4470
|
|
|
* @param string $value |
4471
|
|
|
* |
4472
|
|
|
* @return $this |
4473
|
|
|
*/ |
4474
|
|
|
public function withEmail($value) |
4475
|
|
|
{ |
4476
|
|
|
$this->data['Email'] = $value; |
4477
|
|
|
$this->options['query']['Email'] = $value; |
4478
|
|
|
|
4479
|
|
|
return $this; |
4480
|
|
|
} |
4481
|
|
|
} |
4482
|
|
|
|
4483
|
|
|
/** |
4484
|
|
|
* @method string getRoleId() |
4485
|
|
|
* @method string getActionData() |
4486
|
|
|
*/ |
4487
|
|
|
class UpdateRole extends V20170801Roa |
4488
|
|
|
{ |
4489
|
|
|
/** @var string */ |
4490
|
|
|
public $pathPattern = '/pop/v5/account/edit_role'; |
4491
|
|
|
|
4492
|
|
|
/** |
4493
|
|
|
* @param string $value |
4494
|
|
|
* |
4495
|
|
|
* @return $this |
4496
|
|
|
*/ |
4497
|
|
|
public function withRoleId($value) |
4498
|
|
|
{ |
4499
|
|
|
$this->data['RoleId'] = $value; |
4500
|
|
|
$this->options['query']['RoleId'] = $value; |
4501
|
|
|
|
4502
|
|
|
return $this; |
4503
|
|
|
} |
4504
|
|
|
|
4505
|
|
|
/** |
4506
|
|
|
* @param string $value |
4507
|
|
|
* |
4508
|
|
|
* @return $this |
4509
|
|
|
*/ |
4510
|
|
|
public function withActionData($value) |
4511
|
|
|
{ |
4512
|
|
|
$this->data['ActionData'] = $value; |
4513
|
|
|
$this->options['query']['ActionData'] = $value; |
4514
|
|
|
|
4515
|
|
|
return $this; |
4516
|
|
|
} |
4517
|
|
|
} |
4518
|
|
|
|
4519
|
|
|
/** |
4520
|
|
|
* @method string getSlbId() |
4521
|
|
|
* @method string getAppId() |
4522
|
|
|
* @method string getType() |
4523
|
|
|
*/ |
4524
|
|
|
class UnbindSlb extends V20170801Roa |
4525
|
|
|
{ |
4526
|
|
|
/** @var string */ |
4527
|
|
|
public $pathPattern = '/pop/app/unbind_slb_json'; |
4528
|
|
|
|
4529
|
|
|
/** |
4530
|
|
|
* @param string $value |
4531
|
|
|
* |
4532
|
|
|
* @return $this |
4533
|
|
|
*/ |
4534
|
|
|
public function withSlbId($value) |
4535
|
|
|
{ |
4536
|
|
|
$this->data['SlbId'] = $value; |
4537
|
|
|
$this->options['query']['SlbId'] = $value; |
4538
|
|
|
|
4539
|
|
|
return $this; |
4540
|
|
|
} |
4541
|
|
|
|
4542
|
|
|
/** |
4543
|
|
|
* @param string $value |
4544
|
|
|
* |
4545
|
|
|
* @return $this |
4546
|
|
|
*/ |
4547
|
|
|
public function withAppId($value) |
4548
|
|
|
{ |
4549
|
|
|
$this->data['AppId'] = $value; |
4550
|
|
|
$this->options['query']['AppId'] = $value; |
4551
|
|
|
|
4552
|
|
|
return $this; |
4553
|
|
|
} |
4554
|
|
|
|
4555
|
|
|
/** |
4556
|
|
|
* @param string $value |
4557
|
|
|
* |
4558
|
|
|
* @return $this |
4559
|
|
|
*/ |
4560
|
|
|
public function withType($value) |
4561
|
|
|
{ |
4562
|
|
|
$this->data['Type'] = $value; |
4563
|
|
|
$this->options['query']['Type'] = $value; |
4564
|
|
|
|
4565
|
|
|
return $this; |
4566
|
|
|
} |
4567
|
|
|
} |
4568
|
|
|
|
4569
|
|
|
/** |
4570
|
|
|
* @method string getTargetUserIds() |
4571
|
|
|
*/ |
4572
|
|
|
class UnbindSubAccount extends V20170801Roa |
4573
|
|
|
{ |
4574
|
|
|
/** @var string */ |
4575
|
|
|
public $pathPattern = '/pop/v5/account/unbindSubAccount'; |
4576
|
|
|
|
4577
|
|
|
/** |
4578
|
|
|
* @param string $value |
4579
|
|
|
* |
4580
|
|
|
* @return $this |
4581
|
|
|
*/ |
4582
|
|
|
public function withTargetUserIds($value) |
4583
|
|
|
{ |
4584
|
|
|
$this->data['TargetUserIds'] = $value; |
4585
|
|
|
$this->options['query']['TargetUserIds'] = $value; |
4586
|
|
|
|
4587
|
|
|
return $this; |
4588
|
|
|
} |
4589
|
|
|
} |
4590
|
|
|
|
4591
|
|
|
class ListRole extends V20170801Roa |
4592
|
|
|
{ |
4593
|
|
|
/** @var string */ |
4594
|
|
|
public $pathPattern = '/pop/v5/account/role_list'; |
4595
|
|
|
} |
4596
|
|
|
|
4597
|
|
|
class ListSubAccount extends V20170801Roa |
4598
|
|
|
{ |
4599
|
|
|
/** @var string */ |
4600
|
|
|
public $pathPattern = '/pop/v5/account/sub_account_list'; |
4601
|
|
|
} |
4602
|
|
|
|
4603
|
|
|
/** |
4604
|
|
|
* @method string getPageSize() |
4605
|
|
|
* @method string getCurrentPage() |
4606
|
|
|
* @method string getClusterId() |
4607
|
|
|
*/ |
4608
|
|
|
class ListClusterMembers extends V20170801Roa |
4609
|
|
|
{ |
4610
|
|
|
/** @var string */ |
4611
|
|
|
public $pathPattern = '/pop/v5/resource/cluster_member_list'; |
4612
|
|
|
|
4613
|
|
|
/** @var string */ |
4614
|
|
|
public $method = 'GET'; |
4615
|
|
|
|
4616
|
|
|
/** |
4617
|
|
|
* @param string $value |
4618
|
|
|
* |
4619
|
|
|
* @return $this |
4620
|
|
|
*/ |
4621
|
|
|
public function withPageSize($value) |
4622
|
|
|
{ |
4623
|
|
|
$this->data['PageSize'] = $value; |
4624
|
|
|
$this->options['query']['PageSize'] = $value; |
4625
|
|
|
|
4626
|
|
|
return $this; |
4627
|
|
|
} |
4628
|
|
|
|
4629
|
|
|
/** |
4630
|
|
|
* @param string $value |
4631
|
|
|
* |
4632
|
|
|
* @return $this |
4633
|
|
|
*/ |
4634
|
|
|
public function withCurrentPage($value) |
4635
|
|
|
{ |
4636
|
|
|
$this->data['CurrentPage'] = $value; |
4637
|
|
|
$this->options['query']['CurrentPage'] = $value; |
4638
|
|
|
|
4639
|
|
|
return $this; |
4640
|
|
|
} |
4641
|
|
|
|
4642
|
|
|
/** |
4643
|
|
|
* @param string $value |
4644
|
|
|
* |
4645
|
|
|
* @return $this |
4646
|
|
|
*/ |
4647
|
|
|
public function withClusterId($value) |
4648
|
|
|
{ |
4649
|
|
|
$this->data['ClusterId'] = $value; |
4650
|
|
|
$this->options['query']['ClusterId'] = $value; |
4651
|
|
|
|
4652
|
|
|
return $this; |
4653
|
|
|
} |
4654
|
|
|
} |
4655
|
|
|
|
4656
|
|
|
class ListAuthority extends V20170801Roa |
4657
|
|
|
{ |
4658
|
|
|
/** @var string */ |
4659
|
|
|
public $pathPattern = '/pop/v5/account/authority_list'; |
4660
|
|
|
} |
4661
|
|
|
|
4662
|
|
|
/** |
4663
|
|
|
* @method string getClusterType() |
4664
|
|
|
* @method string getIaasProvider() |
4665
|
|
|
* @method string getLogicalRegionId() |
4666
|
|
|
* @method string getClusterName() |
4667
|
|
|
* @method string getVpcId() |
4668
|
|
|
* @method string getNetworkMode() |
4669
|
|
|
* @method string getOversoldFactor() |
4670
|
|
|
*/ |
4671
|
|
|
class InsertCluster extends V20170801Roa |
4672
|
|
|
{ |
4673
|
|
|
/** @var string */ |
4674
|
|
|
public $pathPattern = '/pop/v5/resource/cluster'; |
4675
|
|
|
|
4676
|
|
|
/** |
4677
|
|
|
* @param string $value |
4678
|
|
|
* |
4679
|
|
|
* @return $this |
4680
|
|
|
*/ |
4681
|
|
|
public function withClusterType($value) |
4682
|
|
|
{ |
4683
|
|
|
$this->data['ClusterType'] = $value; |
4684
|
|
|
$this->options['query']['ClusterType'] = $value; |
4685
|
|
|
|
4686
|
|
|
return $this; |
4687
|
|
|
} |
4688
|
|
|
|
4689
|
|
|
/** |
4690
|
|
|
* @param string $value |
4691
|
|
|
* |
4692
|
|
|
* @return $this |
4693
|
|
|
*/ |
4694
|
|
|
public function withIaasProvider($value) |
4695
|
|
|
{ |
4696
|
|
|
$this->data['IaasProvider'] = $value; |
4697
|
|
|
$this->options['query']['IaasProvider'] = $value; |
4698
|
|
|
|
4699
|
|
|
return $this; |
4700
|
|
|
} |
4701
|
|
|
|
4702
|
|
|
/** |
4703
|
|
|
* @param string $value |
4704
|
|
|
* |
4705
|
|
|
* @return $this |
4706
|
|
|
*/ |
4707
|
|
|
public function withLogicalRegionId($value) |
4708
|
|
|
{ |
4709
|
|
|
$this->data['LogicalRegionId'] = $value; |
4710
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
4711
|
|
|
|
4712
|
|
|
return $this; |
4713
|
|
|
} |
4714
|
|
|
|
4715
|
|
|
/** |
4716
|
|
|
* @param string $value |
4717
|
|
|
* |
4718
|
|
|
* @return $this |
4719
|
|
|
*/ |
4720
|
|
|
public function withClusterName($value) |
4721
|
|
|
{ |
4722
|
|
|
$this->data['ClusterName'] = $value; |
4723
|
|
|
$this->options['query']['ClusterName'] = $value; |
4724
|
|
|
|
4725
|
|
|
return $this; |
4726
|
|
|
} |
4727
|
|
|
|
4728
|
|
|
/** |
4729
|
|
|
* @param string $value |
4730
|
|
|
* |
4731
|
|
|
* @return $this |
4732
|
|
|
*/ |
4733
|
|
|
public function withVpcId($value) |
4734
|
|
|
{ |
4735
|
|
|
$this->data['VpcId'] = $value; |
4736
|
|
|
$this->options['query']['VpcId'] = $value; |
4737
|
|
|
|
4738
|
|
|
return $this; |
4739
|
|
|
} |
4740
|
|
|
|
4741
|
|
|
/** |
4742
|
|
|
* @param string $value |
4743
|
|
|
* |
4744
|
|
|
* @return $this |
4745
|
|
|
*/ |
4746
|
|
|
public function withNetworkMode($value) |
4747
|
|
|
{ |
4748
|
|
|
$this->data['NetworkMode'] = $value; |
4749
|
|
|
$this->options['query']['NetworkMode'] = $value; |
4750
|
|
|
|
4751
|
|
|
return $this; |
4752
|
|
|
} |
4753
|
|
|
|
4754
|
|
|
/** |
4755
|
|
|
* @param string $value |
4756
|
|
|
* |
4757
|
|
|
* @return $this |
4758
|
|
|
*/ |
4759
|
|
|
public function withOversoldFactor($value) |
4760
|
|
|
{ |
4761
|
|
|
$this->data['OversoldFactor'] = $value; |
4762
|
|
|
$this->options['query']['OversoldFactor'] = $value; |
4763
|
|
|
|
4764
|
|
|
return $this; |
4765
|
|
|
} |
4766
|
|
|
} |
4767
|
|
|
|
4768
|
|
|
/** |
4769
|
|
|
* @method string getRoleName() |
4770
|
|
|
* @method string getActionData() |
4771
|
|
|
*/ |
4772
|
|
|
class InsertRole extends V20170801Roa |
4773
|
|
|
{ |
4774
|
|
|
/** @var string */ |
4775
|
|
|
public $pathPattern = '/pop/v5/account/create_role'; |
4776
|
|
|
|
4777
|
|
|
/** |
4778
|
|
|
* @param string $value |
4779
|
|
|
* |
4780
|
|
|
* @return $this |
4781
|
|
|
*/ |
4782
|
|
|
public function withRoleName($value) |
4783
|
|
|
{ |
4784
|
|
|
$this->data['RoleName'] = $value; |
4785
|
|
|
$this->options['query']['RoleName'] = $value; |
4786
|
|
|
|
4787
|
|
|
return $this; |
4788
|
|
|
} |
4789
|
|
|
|
4790
|
|
|
/** |
4791
|
|
|
* @param string $value |
4792
|
|
|
* |
4793
|
|
|
* @return $this |
4794
|
|
|
*/ |
4795
|
|
|
public function withActionData($value) |
4796
|
|
|
{ |
4797
|
|
|
$this->data['ActionData'] = $value; |
4798
|
|
|
$this->options['query']['ActionData'] = $value; |
4799
|
|
|
|
4800
|
|
|
return $this; |
4801
|
|
|
} |
4802
|
|
|
} |
4803
|
|
|
|
4804
|
|
|
/** |
4805
|
|
|
* @method string getAppId() |
4806
|
|
|
* @method string getRuleId() |
4807
|
|
|
*/ |
4808
|
|
|
class EnableDegradeControl extends V20170801Roa |
4809
|
|
|
{ |
4810
|
|
|
/** @var string */ |
4811
|
|
|
public $pathPattern = '/pop/v5/degradecontrol/enable'; |
4812
|
|
|
|
4813
|
|
|
/** @var string */ |
4814
|
|
|
public $method = 'PUT'; |
4815
|
|
|
|
4816
|
|
|
/** |
4817
|
|
|
* @param string $value |
4818
|
|
|
* |
4819
|
|
|
* @return $this |
4820
|
|
|
*/ |
4821
|
|
|
public function withAppId($value) |
4822
|
|
|
{ |
4823
|
|
|
$this->data['AppId'] = $value; |
4824
|
|
|
$this->options['query']['AppId'] = $value; |
4825
|
|
|
|
4826
|
|
|
return $this; |
4827
|
|
|
} |
4828
|
|
|
|
4829
|
|
|
/** |
4830
|
|
|
* @param string $value |
4831
|
|
|
* |
4832
|
|
|
* @return $this |
4833
|
|
|
*/ |
4834
|
|
|
public function withRuleId($value) |
4835
|
|
|
{ |
4836
|
|
|
$this->data['RuleId'] = $value; |
4837
|
|
|
$this->options['query']['RuleId'] = $value; |
4838
|
|
|
|
4839
|
|
|
return $this; |
4840
|
|
|
} |
4841
|
|
|
} |
4842
|
|
|
|
4843
|
|
|
/** |
4844
|
|
|
* @method string getClusterMemberId() |
4845
|
|
|
* @method string getClusterId() |
4846
|
|
|
*/ |
4847
|
|
|
class DeleteClusterMember extends V20170801Roa |
4848
|
|
|
{ |
4849
|
|
|
/** @var string */ |
4850
|
|
|
public $pathPattern = '/pop/v5/resource/cluster_member'; |
4851
|
|
|
|
4852
|
|
|
/** @var string */ |
4853
|
|
|
public $method = 'DELETE'; |
4854
|
|
|
|
4855
|
|
|
/** |
4856
|
|
|
* @param string $value |
4857
|
|
|
* |
4858
|
|
|
* @return $this |
4859
|
|
|
*/ |
4860
|
|
|
public function withClusterMemberId($value) |
4861
|
|
|
{ |
4862
|
|
|
$this->data['ClusterMemberId'] = $value; |
4863
|
|
|
$this->options['query']['ClusterMemberId'] = $value; |
4864
|
|
|
|
4865
|
|
|
return $this; |
4866
|
|
|
} |
4867
|
|
|
|
4868
|
|
|
/** |
4869
|
|
|
* @param string $value |
4870
|
|
|
* |
4871
|
|
|
* @return $this |
4872
|
|
|
*/ |
4873
|
|
|
public function withClusterId($value) |
4874
|
|
|
{ |
4875
|
|
|
$this->data['ClusterId'] = $value; |
4876
|
|
|
$this->options['query']['ClusterId'] = $value; |
4877
|
|
|
|
4878
|
|
|
return $this; |
4879
|
|
|
} |
4880
|
|
|
} |
4881
|
|
|
|
4882
|
|
|
/** |
4883
|
|
|
* @method string getRoleId() |
4884
|
|
|
*/ |
4885
|
|
|
class DeleteRole extends V20170801Roa |
4886
|
|
|
{ |
4887
|
|
|
/** @var string */ |
4888
|
|
|
public $pathPattern = '/pop/v5/account/delete_role'; |
4889
|
|
|
|
4890
|
|
|
/** |
4891
|
|
|
* @param string $value |
4892
|
|
|
* |
4893
|
|
|
* @return $this |
4894
|
|
|
*/ |
4895
|
|
|
public function withRoleId($value) |
4896
|
|
|
{ |
4897
|
|
|
$this->data['RoleId'] = $value; |
4898
|
|
|
$this->options['query']['RoleId'] = $value; |
4899
|
|
|
|
4900
|
|
|
return $this; |
4901
|
|
|
} |
4902
|
|
|
} |
4903
|
|
|
|
4904
|
|
|
/** |
4905
|
|
|
* @method string getRoleIds() |
4906
|
|
|
* @method string getTargetUserId() |
4907
|
|
|
*/ |
4908
|
|
|
class AuthorizeRole extends V20170801Roa |
4909
|
|
|
{ |
4910
|
|
|
/** @var string */ |
4911
|
|
|
public $pathPattern = '/pop/v5/account/authorize_role'; |
4912
|
|
|
|
4913
|
|
|
/** |
4914
|
|
|
* @param string $value |
4915
|
|
|
* |
4916
|
|
|
* @return $this |
4917
|
|
|
*/ |
4918
|
|
|
public function withRoleIds($value) |
4919
|
|
|
{ |
4920
|
|
|
$this->data['RoleIds'] = $value; |
4921
|
|
|
$this->options['query']['RoleIds'] = $value; |
4922
|
|
|
|
4923
|
|
|
return $this; |
4924
|
|
|
} |
4925
|
|
|
|
4926
|
|
|
/** |
4927
|
|
|
* @param string $value |
4928
|
|
|
* |
4929
|
|
|
* @return $this |
4930
|
|
|
*/ |
4931
|
|
|
public function withTargetUserId($value) |
4932
|
|
|
{ |
4933
|
|
|
$this->data['TargetUserId'] = $value; |
4934
|
|
|
$this->options['query']['TargetUserId'] = $value; |
4935
|
|
|
|
4936
|
|
|
return $this; |
4937
|
|
|
} |
4938
|
|
|
} |
4939
|
|
|
|
4940
|
|
|
/** |
4941
|
|
|
* @method string getVServerGroupId() |
4942
|
|
|
* @method string getListenerPort() |
4943
|
|
|
* @method string getSlbId() |
4944
|
|
|
* @method string getAppId() |
4945
|
|
|
* @method string getSlbIp() |
4946
|
|
|
* @method string getType() |
4947
|
|
|
*/ |
4948
|
|
|
class BindSlb extends V20170801Roa |
4949
|
|
|
{ |
4950
|
|
|
/** @var string */ |
4951
|
|
|
public $pathPattern = '/pop/app/bind_slb_json'; |
4952
|
|
|
|
4953
|
|
|
/** |
4954
|
|
|
* @param string $value |
4955
|
|
|
* |
4956
|
|
|
* @return $this |
4957
|
|
|
*/ |
4958
|
|
|
public function withVServerGroupId($value) |
4959
|
|
|
{ |
4960
|
|
|
$this->data['VServerGroupId'] = $value; |
4961
|
|
|
$this->options['query']['VServerGroupId'] = $value; |
4962
|
|
|
|
4963
|
|
|
return $this; |
4964
|
|
|
} |
4965
|
|
|
|
4966
|
|
|
/** |
4967
|
|
|
* @param string $value |
4968
|
|
|
* |
4969
|
|
|
* @return $this |
4970
|
|
|
*/ |
4971
|
|
|
public function withListenerPort($value) |
4972
|
|
|
{ |
4973
|
|
|
$this->data['ListenerPort'] = $value; |
4974
|
|
|
$this->options['query']['ListenerPort'] = $value; |
4975
|
|
|
|
4976
|
|
|
return $this; |
4977
|
|
|
} |
4978
|
|
|
|
4979
|
|
|
/** |
4980
|
|
|
* @param string $value |
4981
|
|
|
* |
4982
|
|
|
* @return $this |
4983
|
|
|
*/ |
4984
|
|
|
public function withSlbId($value) |
4985
|
|
|
{ |
4986
|
|
|
$this->data['SlbId'] = $value; |
4987
|
|
|
$this->options['query']['SlbId'] = $value; |
4988
|
|
|
|
4989
|
|
|
return $this; |
4990
|
|
|
} |
4991
|
|
|
|
4992
|
|
|
/** |
4993
|
|
|
* @param string $value |
4994
|
|
|
* |
4995
|
|
|
* @return $this |
4996
|
|
|
*/ |
4997
|
|
|
public function withAppId($value) |
4998
|
|
|
{ |
4999
|
|
|
$this->data['AppId'] = $value; |
5000
|
|
|
$this->options['query']['AppId'] = $value; |
5001
|
|
|
|
5002
|
|
|
return $this; |
5003
|
|
|
} |
5004
|
|
|
|
5005
|
|
|
/** |
5006
|
|
|
* @param string $value |
5007
|
|
|
* |
5008
|
|
|
* @return $this |
5009
|
|
|
*/ |
5010
|
|
|
public function withSlbIp($value) |
5011
|
|
|
{ |
5012
|
|
|
$this->data['SlbIp'] = $value; |
5013
|
|
|
$this->options['query']['SlbIp'] = $value; |
5014
|
|
|
|
5015
|
|
|
return $this; |
5016
|
|
|
} |
5017
|
|
|
|
5018
|
|
|
/** |
5019
|
|
|
* @param string $value |
5020
|
|
|
* |
5021
|
|
|
* @return $this |
5022
|
|
|
*/ |
5023
|
|
|
public function withType($value) |
5024
|
|
|
{ |
5025
|
|
|
$this->data['Type'] = $value; |
5026
|
|
|
$this->options['query']['Type'] = $value; |
5027
|
|
|
|
5028
|
|
|
return $this; |
5029
|
|
|
} |
5030
|
|
|
} |
5031
|
|
|
|
5032
|
|
|
/** |
5033
|
|
|
* @method string getTargetUserIds() |
5034
|
|
|
*/ |
5035
|
|
|
class BindSubAccount extends V20170801Roa |
5036
|
|
|
{ |
5037
|
|
|
/** @var string */ |
5038
|
|
|
public $pathPattern = '/pop/v5/account/bindSubAccount'; |
5039
|
|
|
|
5040
|
|
|
/** |
5041
|
|
|
* @param string $value |
5042
|
|
|
* |
5043
|
|
|
* @return $this |
5044
|
|
|
*/ |
5045
|
|
|
public function withTargetUserIds($value) |
5046
|
|
|
{ |
5047
|
|
|
$this->data['TargetUserIds'] = $value; |
5048
|
|
|
$this->options['query']['TargetUserIds'] = $value; |
5049
|
|
|
|
5050
|
|
|
return $this; |
5051
|
|
|
} |
5052
|
|
|
} |
5053
|
|
|
|
5054
|
|
|
/** |
5055
|
|
|
* @method string getClusterId() |
5056
|
|
|
*/ |
5057
|
|
|
class DeleteCluster extends V20170801Roa |
5058
|
|
|
{ |
5059
|
|
|
/** @var string */ |
5060
|
|
|
public $pathPattern = '/pop/v5/resource/cluster'; |
5061
|
|
|
|
5062
|
|
|
/** @var string */ |
5063
|
|
|
public $method = 'DELETE'; |
5064
|
|
|
|
5065
|
|
|
/** |
5066
|
|
|
* @param string $value |
5067
|
|
|
* |
5068
|
|
|
* @return $this |
5069
|
|
|
*/ |
5070
|
|
|
public function withClusterId($value) |
5071
|
|
|
{ |
5072
|
|
|
$this->data['ClusterId'] = $value; |
5073
|
|
|
$this->options['query']['ClusterId'] = $value; |
5074
|
|
|
|
5075
|
|
|
return $this; |
5076
|
|
|
} |
5077
|
|
|
} |
5078
|
|
|
|
5079
|
|
|
/** |
5080
|
|
|
* @method string getAppIds() |
5081
|
|
|
* @method string getTargetUserId() |
5082
|
|
|
*/ |
5083
|
|
|
class AuthorizeApplication extends V20170801Roa |
5084
|
|
|
{ |
5085
|
|
|
/** @var string */ |
5086
|
|
|
public $pathPattern = '/pop/v5/account/authorize_app'; |
5087
|
|
|
|
5088
|
|
|
/** |
5089
|
|
|
* @param string $value |
5090
|
|
|
* |
5091
|
|
|
* @return $this |
5092
|
|
|
*/ |
5093
|
|
|
public function withAppIds($value) |
5094
|
|
|
{ |
5095
|
|
|
$this->data['AppIds'] = $value; |
5096
|
|
|
$this->options['query']['AppIds'] = $value; |
5097
|
|
|
|
5098
|
|
|
return $this; |
5099
|
|
|
} |
5100
|
|
|
|
5101
|
|
|
/** |
5102
|
|
|
* @param string $value |
5103
|
|
|
* |
5104
|
|
|
* @return $this |
5105
|
|
|
*/ |
5106
|
|
|
public function withTargetUserId($value) |
5107
|
|
|
{ |
5108
|
|
|
$this->data['TargetUserId'] = $value; |
5109
|
|
|
$this->options['query']['TargetUserId'] = $value; |
5110
|
|
|
|
5111
|
|
|
return $this; |
5112
|
|
|
} |
5113
|
|
|
} |
5114
|
|
|
|
5115
|
|
|
/** |
5116
|
|
|
* @method string getResourceGroupIds() |
5117
|
|
|
* @method string getTargetUserId() |
5118
|
|
|
*/ |
5119
|
|
|
class AuthorizeResourceGroup extends V20170801Roa |
5120
|
|
|
{ |
5121
|
|
|
/** @var string */ |
5122
|
|
|
public $pathPattern = '/pop/v5/account/authorize_res_group'; |
5123
|
|
|
|
5124
|
|
|
/** |
5125
|
|
|
* @param string $value |
5126
|
|
|
* |
5127
|
|
|
* @return $this |
5128
|
|
|
*/ |
5129
|
|
|
public function withResourceGroupIds($value) |
5130
|
|
|
{ |
5131
|
|
|
$this->data['ResourceGroupIds'] = $value; |
5132
|
|
|
$this->options['query']['ResourceGroupIds'] = $value; |
5133
|
|
|
|
5134
|
|
|
return $this; |
5135
|
|
|
} |
5136
|
|
|
|
5137
|
|
|
/** |
5138
|
|
|
* @param string $value |
5139
|
|
|
* |
5140
|
|
|
* @return $this |
5141
|
|
|
*/ |
5142
|
|
|
public function withTargetUserId($value) |
5143
|
|
|
{ |
5144
|
|
|
$this->data['TargetUserId'] = $value; |
5145
|
|
|
$this->options['query']['TargetUserId'] = $value; |
5146
|
|
|
|
5147
|
|
|
return $this; |
5148
|
|
|
} |
5149
|
|
|
} |
5150
|
|
|
|
5151
|
|
|
/** |
5152
|
|
|
* @method string getChangeOrderId() |
5153
|
|
|
*/ |
5154
|
|
|
class GetChangeOrderInfo extends V20170801Roa |
5155
|
|
|
{ |
5156
|
|
|
/** @var string */ |
5157
|
|
|
public $pathPattern = '/pop/v5/changeorder/change_order_info'; |
5158
|
|
|
|
5159
|
|
|
/** |
5160
|
|
|
* @param string $value |
5161
|
|
|
* |
5162
|
|
|
* @return $this |
5163
|
|
|
*/ |
5164
|
|
|
public function withChangeOrderId($value) |
5165
|
|
|
{ |
5166
|
|
|
$this->data['ChangeOrderId'] = $value; |
5167
|
|
|
$this->options['query']['ChangeOrderId'] = $value; |
5168
|
|
|
|
5169
|
|
|
return $this; |
5170
|
|
|
} |
5171
|
|
|
} |
5172
|
|
|
|
5173
|
|
|
/** |
5174
|
|
|
* @method string getLogicalRegionId() |
5175
|
|
|
*/ |
5176
|
|
|
class ListCluster extends V20170801Roa |
5177
|
|
|
{ |
5178
|
|
|
/** @var string */ |
5179
|
|
|
public $pathPattern = '/pop/v5/resource/cluster_list'; |
5180
|
|
|
|
5181
|
|
|
/** |
5182
|
|
|
* @param string $value |
5183
|
|
|
* |
5184
|
|
|
* @return $this |
5185
|
|
|
*/ |
5186
|
|
|
public function withLogicalRegionId($value) |
5187
|
|
|
{ |
5188
|
|
|
$this->data['LogicalRegionId'] = $value; |
5189
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
5190
|
|
|
|
5191
|
|
|
return $this; |
5192
|
|
|
} |
5193
|
|
|
} |
5194
|
|
|
|
5195
|
|
|
/** |
5196
|
|
|
* @method string getAppId() |
5197
|
|
|
*/ |
5198
|
|
|
class DeleteApplication extends V20170801Roa |
5199
|
|
|
{ |
5200
|
|
|
/** @var string */ |
5201
|
|
|
public $pathPattern = '/pop/v5/changeorder/co_delete_app'; |
5202
|
|
|
|
5203
|
|
|
/** @var string */ |
5204
|
|
|
public $method = 'DELETE'; |
5205
|
|
|
|
5206
|
|
|
/** |
5207
|
|
|
* @param string $value |
5208
|
|
|
* |
5209
|
|
|
* @return $this |
5210
|
|
|
*/ |
5211
|
|
|
public function withAppId($value) |
5212
|
|
|
{ |
5213
|
|
|
$this->data['AppId'] = $value; |
5214
|
|
|
$this->options['query']['AppId'] = $value; |
5215
|
|
|
|
5216
|
|
|
return $this; |
5217
|
|
|
} |
5218
|
|
|
} |
5219
|
|
|
|
5220
|
|
|
/** |
5221
|
|
|
* @method string getAppId() |
5222
|
|
|
* @method string getGroupId() |
5223
|
|
|
* @method string getBatchWaitTime() |
5224
|
|
|
* @method string getBatch() |
5225
|
|
|
* @method string getHistoryVersion() |
5226
|
|
|
*/ |
5227
|
|
|
class RollbackApplication extends V20170801Roa |
5228
|
|
|
{ |
5229
|
|
|
/** @var string */ |
5230
|
|
|
public $pathPattern = '/pop/v5/changeorder/co_rollback'; |
5231
|
|
|
|
5232
|
|
|
/** |
5233
|
|
|
* @param string $value |
5234
|
|
|
* |
5235
|
|
|
* @return $this |
5236
|
|
|
*/ |
5237
|
|
|
public function withAppId($value) |
5238
|
|
|
{ |
5239
|
|
|
$this->data['AppId'] = $value; |
5240
|
|
|
$this->options['query']['AppId'] = $value; |
5241
|
|
|
|
5242
|
|
|
return $this; |
5243
|
|
|
} |
5244
|
|
|
|
5245
|
|
|
/** |
5246
|
|
|
* @param string $value |
5247
|
|
|
* |
5248
|
|
|
* @return $this |
5249
|
|
|
*/ |
5250
|
|
|
public function withGroupId($value) |
5251
|
|
|
{ |
5252
|
|
|
$this->data['GroupId'] = $value; |
5253
|
|
|
$this->options['query']['GroupId'] = $value; |
5254
|
|
|
|
5255
|
|
|
return $this; |
5256
|
|
|
} |
5257
|
|
|
|
5258
|
|
|
/** |
5259
|
|
|
* @param string $value |
5260
|
|
|
* |
5261
|
|
|
* @return $this |
5262
|
|
|
*/ |
5263
|
|
|
public function withBatchWaitTime($value) |
5264
|
|
|
{ |
5265
|
|
|
$this->data['BatchWaitTime'] = $value; |
5266
|
|
|
$this->options['query']['BatchWaitTime'] = $value; |
5267
|
|
|
|
5268
|
|
|
return $this; |
5269
|
|
|
} |
5270
|
|
|
|
5271
|
|
|
/** |
5272
|
|
|
* @param string $value |
5273
|
|
|
* |
5274
|
|
|
* @return $this |
5275
|
|
|
*/ |
5276
|
|
|
public function withBatch($value) |
5277
|
|
|
{ |
5278
|
|
|
$this->data['Batch'] = $value; |
5279
|
|
|
$this->options['query']['Batch'] = $value; |
5280
|
|
|
|
5281
|
|
|
return $this; |
5282
|
|
|
} |
5283
|
|
|
|
5284
|
|
|
/** |
5285
|
|
|
* @param string $value |
5286
|
|
|
* |
5287
|
|
|
* @return $this |
5288
|
|
|
*/ |
5289
|
|
|
public function withHistoryVersion($value) |
5290
|
|
|
{ |
5291
|
|
|
$this->data['HistoryVersion'] = $value; |
5292
|
|
|
$this->options['query']['HistoryVersion'] = $value; |
5293
|
|
|
|
5294
|
|
|
return $this; |
5295
|
|
|
} |
5296
|
|
|
} |
5297
|
|
|
|
5298
|
|
|
/** |
5299
|
|
|
* @method string getForceStatus() |
5300
|
|
|
* @method string getAppId() |
5301
|
|
|
* @method string getEccInfo() |
5302
|
|
|
*/ |
5303
|
|
|
class ScaleInApplication extends V20170801Roa |
5304
|
|
|
{ |
5305
|
|
|
/** @var string */ |
5306
|
|
|
public $pathPattern = '/pop/v5/changeorder/co_scale_in'; |
5307
|
|
|
|
5308
|
|
|
/** |
5309
|
|
|
* @param string $value |
5310
|
|
|
* |
5311
|
|
|
* @return $this |
5312
|
|
|
*/ |
5313
|
|
|
public function withForceStatus($value) |
5314
|
|
|
{ |
5315
|
|
|
$this->data['ForceStatus'] = $value; |
5316
|
|
|
$this->options['query']['ForceStatus'] = $value; |
5317
|
|
|
|
5318
|
|
|
return $this; |
5319
|
|
|
} |
5320
|
|
|
|
5321
|
|
|
/** |
5322
|
|
|
* @param string $value |
5323
|
|
|
* |
5324
|
|
|
* @return $this |
5325
|
|
|
*/ |
5326
|
|
|
public function withAppId($value) |
5327
|
|
|
{ |
5328
|
|
|
$this->data['AppId'] = $value; |
5329
|
|
|
$this->options['query']['AppId'] = $value; |
5330
|
|
|
|
5331
|
|
|
return $this; |
5332
|
|
|
} |
5333
|
|
|
|
5334
|
|
|
/** |
5335
|
|
|
* @param string $value |
5336
|
|
|
* |
5337
|
|
|
* @return $this |
5338
|
|
|
*/ |
5339
|
|
|
public function withEccInfo($value) |
5340
|
|
|
{ |
5341
|
|
|
$this->data['EccInfo'] = $value; |
5342
|
|
|
$this->options['query']['EccInfo'] = $value; |
5343
|
|
|
|
5344
|
|
|
return $this; |
5345
|
|
|
} |
5346
|
|
|
} |
5347
|
|
|
|
5348
|
|
|
/** |
5349
|
|
|
* @method string getEcuInfo() |
5350
|
|
|
* @method string getDeployGroup() |
5351
|
|
|
* @method string getAppId() |
5352
|
|
|
*/ |
5353
|
|
|
class ScaleOutApplication extends V20170801Roa |
5354
|
|
|
{ |
5355
|
|
|
/** @var string */ |
5356
|
|
|
public $pathPattern = '/pop/v5/changeorder/co_scale_out'; |
5357
|
|
|
|
5358
|
|
|
/** |
5359
|
|
|
* @param string $value |
5360
|
|
|
* |
5361
|
|
|
* @return $this |
5362
|
|
|
*/ |
5363
|
|
|
public function withEcuInfo($value) |
5364
|
|
|
{ |
5365
|
|
|
$this->data['EcuInfo'] = $value; |
5366
|
|
|
$this->options['query']['EcuInfo'] = $value; |
5367
|
|
|
|
5368
|
|
|
return $this; |
5369
|
|
|
} |
5370
|
|
|
|
5371
|
|
|
/** |
5372
|
|
|
* @param string $value |
5373
|
|
|
* |
5374
|
|
|
* @return $this |
5375
|
|
|
*/ |
5376
|
|
|
public function withDeployGroup($value) |
5377
|
|
|
{ |
5378
|
|
|
$this->data['DeployGroup'] = $value; |
5379
|
|
|
$this->options['query']['DeployGroup'] = $value; |
5380
|
|
|
|
5381
|
|
|
return $this; |
5382
|
|
|
} |
5383
|
|
|
|
5384
|
|
|
/** |
5385
|
|
|
* @param string $value |
5386
|
|
|
* |
5387
|
|
|
* @return $this |
5388
|
|
|
*/ |
5389
|
|
|
public function withAppId($value) |
5390
|
|
|
{ |
5391
|
|
|
$this->data['AppId'] = $value; |
5392
|
|
|
$this->options['query']['AppId'] = $value; |
5393
|
|
|
|
5394
|
|
|
return $this; |
5395
|
|
|
} |
5396
|
|
|
} |
5397
|
|
|
|
5398
|
|
|
/** |
5399
|
|
|
* @method string getAppId() |
5400
|
|
|
* @method string getEccInfo() |
5401
|
|
|
*/ |
5402
|
|
|
class StartApplication extends V20170801Roa |
5403
|
|
|
{ |
5404
|
|
|
/** @var string */ |
5405
|
|
|
public $pathPattern = '/pop/v5/changeorder/co_start'; |
5406
|
|
|
|
5407
|
|
|
/** |
5408
|
|
|
* @param string $value |
5409
|
|
|
* |
5410
|
|
|
* @return $this |
5411
|
|
|
*/ |
5412
|
|
|
public function withAppId($value) |
5413
|
|
|
{ |
5414
|
|
|
$this->data['AppId'] = $value; |
5415
|
|
|
$this->options['query']['AppId'] = $value; |
5416
|
|
|
|
5417
|
|
|
return $this; |
5418
|
|
|
} |
5419
|
|
|
|
5420
|
|
|
/** |
5421
|
|
|
* @param string $value |
5422
|
|
|
* |
5423
|
|
|
* @return $this |
5424
|
|
|
*/ |
5425
|
|
|
public function withEccInfo($value) |
5426
|
|
|
{ |
5427
|
|
|
$this->data['EccInfo'] = $value; |
5428
|
|
|
$this->options['query']['EccInfo'] = $value; |
5429
|
|
|
|
5430
|
|
|
return $this; |
5431
|
|
|
} |
5432
|
|
|
} |
5433
|
|
|
|
5434
|
|
|
/** |
5435
|
|
|
* @method string getAppId() |
5436
|
|
|
* @method string getEccInfo() |
5437
|
|
|
*/ |
5438
|
|
|
class StopApplication extends V20170801Roa |
5439
|
|
|
{ |
5440
|
|
|
/** @var string */ |
5441
|
|
|
public $pathPattern = '/pop/v5/changeorder/co_stop'; |
5442
|
|
|
|
5443
|
|
|
/** |
5444
|
|
|
* @param string $value |
5445
|
|
|
* |
5446
|
|
|
* @return $this |
5447
|
|
|
*/ |
5448
|
|
|
public function withAppId($value) |
5449
|
|
|
{ |
5450
|
|
|
$this->data['AppId'] = $value; |
5451
|
|
|
$this->options['query']['AppId'] = $value; |
5452
|
|
|
|
5453
|
|
|
return $this; |
5454
|
|
|
} |
5455
|
|
|
|
5456
|
|
|
/** |
5457
|
|
|
* @param string $value |
5458
|
|
|
* |
5459
|
|
|
* @return $this |
5460
|
|
|
*/ |
5461
|
|
|
public function withEccInfo($value) |
5462
|
|
|
{ |
5463
|
|
|
$this->data['EccInfo'] = $value; |
5464
|
|
|
$this->options['query']['EccInfo'] = $value; |
5465
|
|
|
|
5466
|
|
|
return $this; |
5467
|
|
|
} |
5468
|
|
|
} |
5469
|
|
|
|
5470
|
|
|
/** |
5471
|
|
|
* @method string getAppId() |
5472
|
|
|
* @method string getEccInfo() |
5473
|
|
|
*/ |
5474
|
|
|
class ResetApplication extends V20170801Roa |
5475
|
|
|
{ |
5476
|
|
|
/** @var string */ |
5477
|
|
|
public $pathPattern = '/pop/v5/changeorder/co_reset'; |
5478
|
|
|
|
5479
|
|
|
/** |
5480
|
|
|
* @param string $value |
5481
|
|
|
* |
5482
|
|
|
* @return $this |
5483
|
|
|
*/ |
5484
|
|
|
public function withAppId($value) |
5485
|
|
|
{ |
5486
|
|
|
$this->data['AppId'] = $value; |
5487
|
|
|
$this->options['query']['AppId'] = $value; |
5488
|
|
|
|
5489
|
|
|
return $this; |
5490
|
|
|
} |
5491
|
|
|
|
5492
|
|
|
/** |
5493
|
|
|
* @param string $value |
5494
|
|
|
* |
5495
|
|
|
* @return $this |
5496
|
|
|
*/ |
5497
|
|
|
public function withEccInfo($value) |
5498
|
|
|
{ |
5499
|
|
|
$this->data['EccInfo'] = $value; |
5500
|
|
|
$this->options['query']['EccInfo'] = $value; |
5501
|
|
|
|
5502
|
|
|
return $this; |
5503
|
|
|
} |
5504
|
|
|
} |
5505
|
|
|
|
5506
|
|
|
/** |
5507
|
|
|
* @method string getWebContainer() |
5508
|
|
|
* @method string getEcuInfo() |
5509
|
|
|
* @method string getBuildPackId() |
5510
|
|
|
* @method string getHealthCheckURL() |
5511
|
|
|
* @method string getReservedPortStr() |
5512
|
|
|
* @method string getDescription() |
5513
|
|
|
* @method string getCpu() |
5514
|
|
|
* @method string getClusterId() |
5515
|
|
|
* @method string getApplicationName() |
5516
|
|
|
* @method string getJdk() |
5517
|
|
|
* @method string getMem() |
5518
|
|
|
* @method string getLogicalRegionId() |
5519
|
|
|
* @method string getPackageType() |
5520
|
|
|
*/ |
5521
|
|
|
class InsertApplication extends V20170801Roa |
5522
|
|
|
{ |
5523
|
|
|
/** @var string */ |
5524
|
|
|
public $pathPattern = '/pop/v5/changeorder/co_create_app'; |
5525
|
|
|
|
5526
|
|
|
/** |
5527
|
|
|
* @param string $value |
5528
|
|
|
* |
5529
|
|
|
* @return $this |
5530
|
|
|
*/ |
5531
|
|
|
public function withWebContainer($value) |
5532
|
|
|
{ |
5533
|
|
|
$this->data['WebContainer'] = $value; |
5534
|
|
|
$this->options['query']['WebContainer'] = $value; |
5535
|
|
|
|
5536
|
|
|
return $this; |
5537
|
|
|
} |
5538
|
|
|
|
5539
|
|
|
/** |
5540
|
|
|
* @param string $value |
5541
|
|
|
* |
5542
|
|
|
* @return $this |
5543
|
|
|
*/ |
5544
|
|
|
public function withEcuInfo($value) |
5545
|
|
|
{ |
5546
|
|
|
$this->data['EcuInfo'] = $value; |
5547
|
|
|
$this->options['query']['EcuInfo'] = $value; |
5548
|
|
|
|
5549
|
|
|
return $this; |
5550
|
|
|
} |
5551
|
|
|
|
5552
|
|
|
/** |
5553
|
|
|
* @param string $value |
5554
|
|
|
* |
5555
|
|
|
* @return $this |
5556
|
|
|
*/ |
5557
|
|
|
public function withBuildPackId($value) |
5558
|
|
|
{ |
5559
|
|
|
$this->data['BuildPackId'] = $value; |
5560
|
|
|
$this->options['query']['BuildPackId'] = $value; |
5561
|
|
|
|
5562
|
|
|
return $this; |
5563
|
|
|
} |
5564
|
|
|
|
5565
|
|
|
/** |
5566
|
|
|
* @param string $value |
5567
|
|
|
* |
5568
|
|
|
* @return $this |
5569
|
|
|
*/ |
5570
|
|
|
public function withHealthCheckURL($value) |
5571
|
|
|
{ |
5572
|
|
|
$this->data['HealthCheckURL'] = $value; |
5573
|
|
|
$this->options['query']['HealthCheckURL'] = $value; |
5574
|
|
|
|
5575
|
|
|
return $this; |
5576
|
|
|
} |
5577
|
|
|
|
5578
|
|
|
/** |
5579
|
|
|
* @param string $value |
5580
|
|
|
* |
5581
|
|
|
* @return $this |
5582
|
|
|
*/ |
5583
|
|
|
public function withReservedPortStr($value) |
5584
|
|
|
{ |
5585
|
|
|
$this->data['ReservedPortStr'] = $value; |
5586
|
|
|
$this->options['query']['ReservedPortStr'] = $value; |
5587
|
|
|
|
5588
|
|
|
return $this; |
5589
|
|
|
} |
5590
|
|
|
|
5591
|
|
|
/** |
5592
|
|
|
* @param string $value |
5593
|
|
|
* |
5594
|
|
|
* @return $this |
5595
|
|
|
*/ |
5596
|
|
|
public function withDescription($value) |
5597
|
|
|
{ |
5598
|
|
|
$this->data['Description'] = $value; |
5599
|
|
|
$this->options['query']['Description'] = $value; |
5600
|
|
|
|
5601
|
|
|
return $this; |
5602
|
|
|
} |
5603
|
|
|
|
5604
|
|
|
/** |
5605
|
|
|
* @param string $value |
5606
|
|
|
* |
5607
|
|
|
* @return $this |
5608
|
|
|
*/ |
5609
|
|
|
public function withCpu($value) |
5610
|
|
|
{ |
5611
|
|
|
$this->data['Cpu'] = $value; |
5612
|
|
|
$this->options['query']['Cpu'] = $value; |
5613
|
|
|
|
5614
|
|
|
return $this; |
5615
|
|
|
} |
5616
|
|
|
|
5617
|
|
|
/** |
5618
|
|
|
* @param string $value |
5619
|
|
|
* |
5620
|
|
|
* @return $this |
5621
|
|
|
*/ |
5622
|
|
|
public function withClusterId($value) |
5623
|
|
|
{ |
5624
|
|
|
$this->data['ClusterId'] = $value; |
5625
|
|
|
$this->options['query']['ClusterId'] = $value; |
5626
|
|
|
|
5627
|
|
|
return $this; |
5628
|
|
|
} |
5629
|
|
|
|
5630
|
|
|
/** |
5631
|
|
|
* @param string $value |
5632
|
|
|
* |
5633
|
|
|
* @return $this |
5634
|
|
|
*/ |
5635
|
|
|
public function withApplicationName($value) |
5636
|
|
|
{ |
5637
|
|
|
$this->data['ApplicationName'] = $value; |
5638
|
|
|
$this->options['query']['ApplicationName'] = $value; |
5639
|
|
|
|
5640
|
|
|
return $this; |
5641
|
|
|
} |
5642
|
|
|
|
5643
|
|
|
/** |
5644
|
|
|
* @param string $value |
5645
|
|
|
* |
5646
|
|
|
* @return $this |
5647
|
|
|
*/ |
5648
|
|
|
public function withJdk($value) |
5649
|
|
|
{ |
5650
|
|
|
$this->data['Jdk'] = $value; |
5651
|
|
|
$this->options['query']['Jdk'] = $value; |
5652
|
|
|
|
5653
|
|
|
return $this; |
5654
|
|
|
} |
5655
|
|
|
|
5656
|
|
|
/** |
5657
|
|
|
* @param string $value |
5658
|
|
|
* |
5659
|
|
|
* @return $this |
5660
|
|
|
*/ |
5661
|
|
|
public function withMem($value) |
5662
|
|
|
{ |
5663
|
|
|
$this->data['Mem'] = $value; |
5664
|
|
|
$this->options['query']['Mem'] = $value; |
5665
|
|
|
|
5666
|
|
|
return $this; |
5667
|
|
|
} |
5668
|
|
|
|
5669
|
|
|
/** |
5670
|
|
|
* @param string $value |
5671
|
|
|
* |
5672
|
|
|
* @return $this |
5673
|
|
|
*/ |
5674
|
|
|
public function withLogicalRegionId($value) |
5675
|
|
|
{ |
5676
|
|
|
$this->data['LogicalRegionId'] = $value; |
5677
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
5678
|
|
|
|
5679
|
|
|
return $this; |
5680
|
|
|
} |
5681
|
|
|
|
5682
|
|
|
/** |
5683
|
|
|
* @param string $value |
5684
|
|
|
* |
5685
|
|
|
* @return $this |
5686
|
|
|
*/ |
5687
|
|
|
public function withPackageType($value) |
5688
|
|
|
{ |
5689
|
|
|
$this->data['PackageType'] = $value; |
5690
|
|
|
$this->options['query']['PackageType'] = $value; |
5691
|
|
|
|
5692
|
|
|
return $this; |
5693
|
|
|
} |
5694
|
|
|
} |
5695
|
|
|
|
5696
|
|
|
/** |
5697
|
|
|
* @method string getForceStatus() |
5698
|
|
|
* @method string getAppId() |
5699
|
|
|
* @method string getEccInfo() |
5700
|
|
|
* @method string getGroupName() |
5701
|
|
|
*/ |
5702
|
|
|
class ChangeApplicationGroup extends V20170801Roa |
5703
|
|
|
{ |
5704
|
|
|
/** @var string */ |
5705
|
|
|
public $pathPattern = '/pop/v5/changeorder/co_change_group'; |
5706
|
|
|
|
5707
|
|
|
/** |
5708
|
|
|
* @param string $value |
5709
|
|
|
* |
5710
|
|
|
* @return $this |
5711
|
|
|
*/ |
5712
|
|
|
public function withForceStatus($value) |
5713
|
|
|
{ |
5714
|
|
|
$this->data['ForceStatus'] = $value; |
5715
|
|
|
$this->options['query']['ForceStatus'] = $value; |
5716
|
|
|
|
5717
|
|
|
return $this; |
5718
|
|
|
} |
5719
|
|
|
|
5720
|
|
|
/** |
5721
|
|
|
* @param string $value |
5722
|
|
|
* |
5723
|
|
|
* @return $this |
5724
|
|
|
*/ |
5725
|
|
|
public function withAppId($value) |
5726
|
|
|
{ |
5727
|
|
|
$this->data['AppId'] = $value; |
5728
|
|
|
$this->options['query']['AppId'] = $value; |
5729
|
|
|
|
5730
|
|
|
return $this; |
5731
|
|
|
} |
5732
|
|
|
|
5733
|
|
|
/** |
5734
|
|
|
* @param string $value |
5735
|
|
|
* |
5736
|
|
|
* @return $this |
5737
|
|
|
*/ |
5738
|
|
|
public function withEccInfo($value) |
5739
|
|
|
{ |
5740
|
|
|
$this->data['EccInfo'] = $value; |
5741
|
|
|
$this->options['query']['EccInfo'] = $value; |
5742
|
|
|
|
5743
|
|
|
return $this; |
5744
|
|
|
} |
5745
|
|
|
|
5746
|
|
|
/** |
5747
|
|
|
* @param string $value |
5748
|
|
|
* |
5749
|
|
|
* @return $this |
5750
|
|
|
*/ |
5751
|
|
|
public function withGroupName($value) |
5752
|
|
|
{ |
5753
|
|
|
$this->data['GroupName'] = $value; |
5754
|
|
|
$this->options['query']['GroupName'] = $value; |
5755
|
|
|
|
5756
|
|
|
return $this; |
5757
|
|
|
} |
5758
|
|
|
} |
5759
|
|
|
|
5760
|
|
|
/** |
5761
|
|
|
* @method string getBuildPackId() |
5762
|
|
|
* @method string getComponentIds() |
5763
|
|
|
* @method string getAppId() |
5764
|
|
|
* @method string getImageUrl() |
5765
|
|
|
* @method string getGroupId() |
5766
|
|
|
* @method string getBatchWaitTime() |
5767
|
|
|
* @method string getBatch() |
5768
|
|
|
* @method string getAppEnv() |
5769
|
|
|
* @method string getWarUrl() |
5770
|
|
|
* @method string getPackageVersion() |
5771
|
|
|
* @method string getDesc() |
5772
|
|
|
* @method string getDeployType() |
5773
|
|
|
*/ |
5774
|
|
|
class DeployApplication extends V20170801Roa |
5775
|
|
|
{ |
5776
|
|
|
/** @var string */ |
5777
|
|
|
public $pathPattern = '/pop/v5/changeorder/co_deploy'; |
5778
|
|
|
|
5779
|
|
|
/** |
5780
|
|
|
* @param string $value |
5781
|
|
|
* |
5782
|
|
|
* @return $this |
5783
|
|
|
*/ |
5784
|
|
|
public function withBuildPackId($value) |
5785
|
|
|
{ |
5786
|
|
|
$this->data['BuildPackId'] = $value; |
5787
|
|
|
$this->options['query']['BuildPackId'] = $value; |
5788
|
|
|
|
5789
|
|
|
return $this; |
5790
|
|
|
} |
5791
|
|
|
|
5792
|
|
|
/** |
5793
|
|
|
* @param string $value |
5794
|
|
|
* |
5795
|
|
|
* @return $this |
5796
|
|
|
*/ |
5797
|
|
|
public function withComponentIds($value) |
5798
|
|
|
{ |
5799
|
|
|
$this->data['ComponentIds'] = $value; |
5800
|
|
|
$this->options['query']['ComponentIds'] = $value; |
5801
|
|
|
|
5802
|
|
|
return $this; |
5803
|
|
|
} |
5804
|
|
|
|
5805
|
|
|
/** |
5806
|
|
|
* @param string $value |
5807
|
|
|
* |
5808
|
|
|
* @return $this |
5809
|
|
|
*/ |
5810
|
|
|
public function withAppId($value) |
5811
|
|
|
{ |
5812
|
|
|
$this->data['AppId'] = $value; |
5813
|
|
|
$this->options['query']['AppId'] = $value; |
5814
|
|
|
|
5815
|
|
|
return $this; |
5816
|
|
|
} |
5817
|
|
|
|
5818
|
|
|
/** |
5819
|
|
|
* @param string $value |
5820
|
|
|
* |
5821
|
|
|
* @return $this |
5822
|
|
|
*/ |
5823
|
|
|
public function withImageUrl($value) |
5824
|
|
|
{ |
5825
|
|
|
$this->data['ImageUrl'] = $value; |
5826
|
|
|
$this->options['query']['ImageUrl'] = $value; |
5827
|
|
|
|
5828
|
|
|
return $this; |
5829
|
|
|
} |
5830
|
|
|
|
5831
|
|
|
/** |
5832
|
|
|
* @param string $value |
5833
|
|
|
* |
5834
|
|
|
* @return $this |
5835
|
|
|
*/ |
5836
|
|
|
public function withGroupId($value) |
5837
|
|
|
{ |
5838
|
|
|
$this->data['GroupId'] = $value; |
5839
|
|
|
$this->options['query']['GroupId'] = $value; |
5840
|
|
|
|
5841
|
|
|
return $this; |
5842
|
|
|
} |
5843
|
|
|
|
5844
|
|
|
/** |
5845
|
|
|
* @param string $value |
5846
|
|
|
* |
5847
|
|
|
* @return $this |
5848
|
|
|
*/ |
5849
|
|
|
public function withBatchWaitTime($value) |
5850
|
|
|
{ |
5851
|
|
|
$this->data['BatchWaitTime'] = $value; |
5852
|
|
|
$this->options['query']['BatchWaitTime'] = $value; |
5853
|
|
|
|
5854
|
|
|
return $this; |
5855
|
|
|
} |
5856
|
|
|
|
5857
|
|
|
/** |
5858
|
|
|
* @param string $value |
5859
|
|
|
* |
5860
|
|
|
* @return $this |
5861
|
|
|
*/ |
5862
|
|
|
public function withBatch($value) |
5863
|
|
|
{ |
5864
|
|
|
$this->data['Batch'] = $value; |
5865
|
|
|
$this->options['query']['Batch'] = $value; |
5866
|
|
|
|
5867
|
|
|
return $this; |
5868
|
|
|
} |
5869
|
|
|
|
5870
|
|
|
/** |
5871
|
|
|
* @param string $value |
5872
|
|
|
* |
5873
|
|
|
* @return $this |
5874
|
|
|
*/ |
5875
|
|
|
public function withAppEnv($value) |
5876
|
|
|
{ |
5877
|
|
|
$this->data['AppEnv'] = $value; |
5878
|
|
|
$this->options['query']['AppEnv'] = $value; |
5879
|
|
|
|
5880
|
|
|
return $this; |
5881
|
|
|
} |
5882
|
|
|
|
5883
|
|
|
/** |
5884
|
|
|
* @param string $value |
5885
|
|
|
* |
5886
|
|
|
* @return $this |
5887
|
|
|
*/ |
5888
|
|
|
public function withWarUrl($value) |
5889
|
|
|
{ |
5890
|
|
|
$this->data['WarUrl'] = $value; |
5891
|
|
|
$this->options['query']['WarUrl'] = $value; |
5892
|
|
|
|
5893
|
|
|
return $this; |
5894
|
|
|
} |
5895
|
|
|
|
5896
|
|
|
/** |
5897
|
|
|
* @param string $value |
5898
|
|
|
* |
5899
|
|
|
* @return $this |
5900
|
|
|
*/ |
5901
|
|
|
public function withPackageVersion($value) |
5902
|
|
|
{ |
5903
|
|
|
$this->data['PackageVersion'] = $value; |
5904
|
|
|
$this->options['query']['PackageVersion'] = $value; |
5905
|
|
|
|
5906
|
|
|
return $this; |
5907
|
|
|
} |
5908
|
|
|
|
5909
|
|
|
/** |
5910
|
|
|
* @param string $value |
5911
|
|
|
* |
5912
|
|
|
* @return $this |
5913
|
|
|
*/ |
5914
|
|
|
public function withDesc($value) |
5915
|
|
|
{ |
5916
|
|
|
$this->data['Desc'] = $value; |
5917
|
|
|
$this->options['query']['Desc'] = $value; |
5918
|
|
|
|
5919
|
|
|
return $this; |
5920
|
|
|
} |
5921
|
|
|
|
5922
|
|
|
/** |
5923
|
|
|
* @param string $value |
5924
|
|
|
* |
5925
|
|
|
* @return $this |
5926
|
|
|
*/ |
5927
|
|
|
public function withDeployType($value) |
5928
|
|
|
{ |
5929
|
|
|
$this->data['DeployType'] = $value; |
5930
|
|
|
$this->options['query']['DeployType'] = $value; |
5931
|
|
|
|
5932
|
|
|
return $this; |
5933
|
|
|
} |
5934
|
|
|
} |
5935
|
|
|
|
5936
|
|
|
/** |
5937
|
|
|
* @method string getBuildPackId() |
5938
|
|
|
* @method string getAppId() |
5939
|
|
|
*/ |
5940
|
|
|
class UpdateContainer extends V20170801Roa |
5941
|
|
|
{ |
5942
|
|
|
/** @var string */ |
5943
|
|
|
public $pathPattern = '/pop/v5/changeorder/co_update_container'; |
5944
|
|
|
|
5945
|
|
|
/** |
5946
|
|
|
* @param string $value |
5947
|
|
|
* |
5948
|
|
|
* @return $this |
5949
|
|
|
*/ |
5950
|
|
|
public function withBuildPackId($value) |
5951
|
|
|
{ |
5952
|
|
|
$this->data['BuildPackId'] = $value; |
5953
|
|
|
$this->options['query']['BuildPackId'] = $value; |
5954
|
|
|
|
5955
|
|
|
return $this; |
5956
|
|
|
} |
5957
|
|
|
|
5958
|
|
|
/** |
5959
|
|
|
* @param string $value |
5960
|
|
|
* |
5961
|
|
|
* @return $this |
5962
|
|
|
*/ |
5963
|
|
|
public function withAppId($value) |
5964
|
|
|
{ |
5965
|
|
|
$this->data['AppId'] = $value; |
5966
|
|
|
$this->options['query']['AppId'] = $value; |
5967
|
|
|
|
5968
|
|
|
return $this; |
5969
|
|
|
} |
5970
|
|
|
} |
5971
|
|
|
|
5972
|
|
|
class ListApplicationEcu extends V20170801Roa |
5973
|
|
|
{ |
5974
|
|
|
/** @var string */ |
5975
|
|
|
public $pathPattern = '/pop/v5/resource/ecu_list'; |
5976
|
|
|
} |
5977
|
|
|
|
5978
|
|
|
class ListBuildPack extends V20170801Roa |
5979
|
|
|
{ |
5980
|
|
|
/** @var string */ |
5981
|
|
|
public $pathPattern = '/pop/v5/app/build_pack_list'; |
5982
|
|
|
} |
5983
|
|
|
|
5984
|
|
|
/** |
5985
|
|
|
* @method string getAppId() |
5986
|
|
|
*/ |
5987
|
|
|
class ListDeployGroup extends V20170801Roa |
5988
|
|
|
{ |
5989
|
|
|
/** @var string */ |
5990
|
|
|
public $pathPattern = '/pop/v5/app/deploy_group_list'; |
5991
|
|
|
|
5992
|
|
|
/** |
5993
|
|
|
* @param string $value |
5994
|
|
|
* |
5995
|
|
|
* @return $this |
5996
|
|
|
*/ |
5997
|
|
|
public function withAppId($value) |
5998
|
|
|
{ |
5999
|
|
|
$this->data['AppId'] = $value; |
6000
|
|
|
$this->options['query']['AppId'] = $value; |
6001
|
|
|
|
6002
|
|
|
return $this; |
6003
|
|
|
} |
6004
|
|
|
} |
6005
|
|
|
|
6006
|
|
|
/** |
6007
|
|
|
* @method string getDataId() |
6008
|
|
|
* @method string getLogicalRegionId() |
6009
|
|
|
* @method string getGroup() |
6010
|
|
|
*/ |
6011
|
|
|
class QueryConfigCenter extends V20170801Roa |
6012
|
|
|
{ |
6013
|
|
|
/** @var string */ |
6014
|
|
|
public $pathPattern = '/pop/v5/configCenter'; |
6015
|
|
|
|
6016
|
|
|
/** @var string */ |
6017
|
|
|
public $method = 'GET'; |
6018
|
|
|
|
6019
|
|
|
/** |
6020
|
|
|
* @param string $value |
6021
|
|
|
* |
6022
|
|
|
* @return $this |
6023
|
|
|
*/ |
6024
|
|
|
public function withDataId($value) |
6025
|
|
|
{ |
6026
|
|
|
$this->data['DataId'] = $value; |
6027
|
|
|
$this->options['query']['DataId'] = $value; |
6028
|
|
|
|
6029
|
|
|
return $this; |
6030
|
|
|
} |
6031
|
|
|
|
6032
|
|
|
/** |
6033
|
|
|
* @param string $value |
6034
|
|
|
* |
6035
|
|
|
* @return $this |
6036
|
|
|
*/ |
6037
|
|
|
public function withLogicalRegionId($value) |
6038
|
|
|
{ |
6039
|
|
|
$this->data['LogicalRegionId'] = $value; |
6040
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
6041
|
|
|
|
6042
|
|
|
return $this; |
6043
|
|
|
} |
6044
|
|
|
|
6045
|
|
|
/** |
6046
|
|
|
* @param string $value |
6047
|
|
|
* |
6048
|
|
|
* @return $this |
6049
|
|
|
*/ |
6050
|
|
|
public function withGroup($value) |
6051
|
|
|
{ |
6052
|
|
|
$this->data['Group'] = $value; |
6053
|
|
|
$this->options['query']['Group'] = $value; |
6054
|
|
|
|
6055
|
|
|
return $this; |
6056
|
|
|
} |
6057
|
|
|
} |
6058
|
|
|
|
6059
|
|
|
/** |
6060
|
|
|
* @method string getDuration() |
6061
|
|
|
* @method string getRuleType() |
6062
|
|
|
* @method string getAppId() |
6063
|
|
|
* @method string getUrlVar() |
6064
|
|
|
* @method string getRtThreshold() |
6065
|
|
|
* @method string getServiceName() |
6066
|
|
|
* @method string getRuleId() |
6067
|
|
|
* @method string getMethodName() |
6068
|
|
|
*/ |
6069
|
|
|
class UpdateDegradeControl extends V20170801Roa |
6070
|
|
|
{ |
6071
|
|
|
/** @var string */ |
6072
|
|
|
public $pathPattern = '/pop/v5/degradeControl'; |
6073
|
|
|
|
6074
|
|
|
/** @var string */ |
6075
|
|
|
public $method = 'PUT'; |
6076
|
|
|
|
6077
|
|
|
/** |
6078
|
|
|
* @param string $value |
6079
|
|
|
* |
6080
|
|
|
* @return $this |
6081
|
|
|
*/ |
6082
|
|
|
public function withDuration($value) |
6083
|
|
|
{ |
6084
|
|
|
$this->data['Duration'] = $value; |
6085
|
|
|
$this->options['query']['Duration'] = $value; |
6086
|
|
|
|
6087
|
|
|
return $this; |
6088
|
|
|
} |
6089
|
|
|
|
6090
|
|
|
/** |
6091
|
|
|
* @param string $value |
6092
|
|
|
* |
6093
|
|
|
* @return $this |
6094
|
|
|
*/ |
6095
|
|
|
public function withRuleType($value) |
6096
|
|
|
{ |
6097
|
|
|
$this->data['RuleType'] = $value; |
6098
|
|
|
$this->options['query']['RuleType'] = $value; |
6099
|
|
|
|
6100
|
|
|
return $this; |
6101
|
|
|
} |
6102
|
|
|
|
6103
|
|
|
/** |
6104
|
|
|
* @param string $value |
6105
|
|
|
* |
6106
|
|
|
* @return $this |
6107
|
|
|
*/ |
6108
|
|
|
public function withAppId($value) |
6109
|
|
|
{ |
6110
|
|
|
$this->data['AppId'] = $value; |
6111
|
|
|
$this->options['query']['AppId'] = $value; |
6112
|
|
|
|
6113
|
|
|
return $this; |
6114
|
|
|
} |
6115
|
|
|
|
6116
|
|
|
/** |
6117
|
|
|
* @param string $value |
6118
|
|
|
* |
6119
|
|
|
* @return $this |
6120
|
|
|
*/ |
6121
|
|
|
public function withUrlVar($value) |
6122
|
|
|
{ |
6123
|
|
|
$this->data['UrlVar'] = $value; |
6124
|
|
|
$this->options['query']['UrlVar'] = $value; |
6125
|
|
|
|
6126
|
|
|
return $this; |
6127
|
|
|
} |
6128
|
|
|
|
6129
|
|
|
/** |
6130
|
|
|
* @param string $value |
6131
|
|
|
* |
6132
|
|
|
* @return $this |
6133
|
|
|
*/ |
6134
|
|
|
public function withRtThreshold($value) |
6135
|
|
|
{ |
6136
|
|
|
$this->data['RtThreshold'] = $value; |
6137
|
|
|
$this->options['query']['RtThreshold'] = $value; |
6138
|
|
|
|
6139
|
|
|
return $this; |
6140
|
|
|
} |
6141
|
|
|
|
6142
|
|
|
/** |
6143
|
|
|
* @param string $value |
6144
|
|
|
* |
6145
|
|
|
* @return $this |
6146
|
|
|
*/ |
6147
|
|
|
public function withServiceName($value) |
6148
|
|
|
{ |
6149
|
|
|
$this->data['ServiceName'] = $value; |
6150
|
|
|
$this->options['query']['ServiceName'] = $value; |
6151
|
|
|
|
6152
|
|
|
return $this; |
6153
|
|
|
} |
6154
|
|
|
|
6155
|
|
|
/** |
6156
|
|
|
* @param string $value |
6157
|
|
|
* |
6158
|
|
|
* @return $this |
6159
|
|
|
*/ |
6160
|
|
|
public function withRuleId($value) |
6161
|
|
|
{ |
6162
|
|
|
$this->data['RuleId'] = $value; |
6163
|
|
|
$this->options['query']['RuleId'] = $value; |
6164
|
|
|
|
6165
|
|
|
return $this; |
6166
|
|
|
} |
6167
|
|
|
|
6168
|
|
|
/** |
6169
|
|
|
* @param string $value |
6170
|
|
|
* |
6171
|
|
|
* @return $this |
6172
|
|
|
*/ |
6173
|
|
|
public function withMethodName($value) |
6174
|
|
|
{ |
6175
|
|
|
$this->data['MethodName'] = $value; |
6176
|
|
|
$this->options['query']['MethodName'] = $value; |
6177
|
|
|
|
6178
|
|
|
return $this; |
6179
|
|
|
} |
6180
|
|
|
} |
6181
|
|
|
|
6182
|
|
|
/** |
6183
|
|
|
* @method string getConsumerAppId() |
6184
|
|
|
* @method string getGranularity() |
6185
|
|
|
* @method string getRuleType() |
6186
|
|
|
* @method string getAppId() |
6187
|
|
|
* @method string getUrlVar() |
6188
|
|
|
* @method string getServiceName() |
6189
|
|
|
* @method string getThreshold() |
6190
|
|
|
* @method string getRuleId() |
6191
|
|
|
* @method string getStrategy() |
6192
|
|
|
* @method string getMethodName() |
6193
|
|
|
*/ |
6194
|
|
|
class UpdateFlowControl extends V20170801Roa |
6195
|
|
|
{ |
6196
|
|
|
/** @var string */ |
6197
|
|
|
public $pathPattern = '/pop/v5/flowControl'; |
6198
|
|
|
|
6199
|
|
|
/** @var string */ |
6200
|
|
|
public $method = 'PUT'; |
6201
|
|
|
|
6202
|
|
|
/** |
6203
|
|
|
* @param string $value |
6204
|
|
|
* |
6205
|
|
|
* @return $this |
6206
|
|
|
*/ |
6207
|
|
|
public function withConsumerAppId($value) |
6208
|
|
|
{ |
6209
|
|
|
$this->data['ConsumerAppId'] = $value; |
6210
|
|
|
$this->options['query']['ConsumerAppId'] = $value; |
6211
|
|
|
|
6212
|
|
|
return $this; |
6213
|
|
|
} |
6214
|
|
|
|
6215
|
|
|
/** |
6216
|
|
|
* @param string $value |
6217
|
|
|
* |
6218
|
|
|
* @return $this |
6219
|
|
|
*/ |
6220
|
|
|
public function withGranularity($value) |
6221
|
|
|
{ |
6222
|
|
|
$this->data['Granularity'] = $value; |
6223
|
|
|
$this->options['query']['Granularity'] = $value; |
6224
|
|
|
|
6225
|
|
|
return $this; |
6226
|
|
|
} |
6227
|
|
|
|
6228
|
|
|
/** |
6229
|
|
|
* @param string $value |
6230
|
|
|
* |
6231
|
|
|
* @return $this |
6232
|
|
|
*/ |
6233
|
|
|
public function withRuleType($value) |
6234
|
|
|
{ |
6235
|
|
|
$this->data['RuleType'] = $value; |
6236
|
|
|
$this->options['query']['RuleType'] = $value; |
6237
|
|
|
|
6238
|
|
|
return $this; |
6239
|
|
|
} |
6240
|
|
|
|
6241
|
|
|
/** |
6242
|
|
|
* @param string $value |
6243
|
|
|
* |
6244
|
|
|
* @return $this |
6245
|
|
|
*/ |
6246
|
|
|
public function withAppId($value) |
6247
|
|
|
{ |
6248
|
|
|
$this->data['AppId'] = $value; |
6249
|
|
|
$this->options['query']['AppId'] = $value; |
6250
|
|
|
|
6251
|
|
|
return $this; |
6252
|
|
|
} |
6253
|
|
|
|
6254
|
|
|
/** |
6255
|
|
|
* @param string $value |
6256
|
|
|
* |
6257
|
|
|
* @return $this |
6258
|
|
|
*/ |
6259
|
|
|
public function withUrlVar($value) |
6260
|
|
|
{ |
6261
|
|
|
$this->data['UrlVar'] = $value; |
6262
|
|
|
$this->options['query']['UrlVar'] = $value; |
6263
|
|
|
|
6264
|
|
|
return $this; |
6265
|
|
|
} |
6266
|
|
|
|
6267
|
|
|
/** |
6268
|
|
|
* @param string $value |
6269
|
|
|
* |
6270
|
|
|
* @return $this |
6271
|
|
|
*/ |
6272
|
|
|
public function withServiceName($value) |
6273
|
|
|
{ |
6274
|
|
|
$this->data['ServiceName'] = $value; |
6275
|
|
|
$this->options['query']['ServiceName'] = $value; |
6276
|
|
|
|
6277
|
|
|
return $this; |
6278
|
|
|
} |
6279
|
|
|
|
6280
|
|
|
/** |
6281
|
|
|
* @param string $value |
6282
|
|
|
* |
6283
|
|
|
* @return $this |
6284
|
|
|
*/ |
6285
|
|
|
public function withThreshold($value) |
6286
|
|
|
{ |
6287
|
|
|
$this->data['Threshold'] = $value; |
6288
|
|
|
$this->options['query']['Threshold'] = $value; |
6289
|
|
|
|
6290
|
|
|
return $this; |
6291
|
|
|
} |
6292
|
|
|
|
6293
|
|
|
/** |
6294
|
|
|
* @param string $value |
6295
|
|
|
* |
6296
|
|
|
* @return $this |
6297
|
|
|
*/ |
6298
|
|
|
public function withRuleId($value) |
6299
|
|
|
{ |
6300
|
|
|
$this->data['RuleId'] = $value; |
6301
|
|
|
$this->options['query']['RuleId'] = $value; |
6302
|
|
|
|
6303
|
|
|
return $this; |
6304
|
|
|
} |
6305
|
|
|
|
6306
|
|
|
/** |
6307
|
|
|
* @param string $value |
6308
|
|
|
* |
6309
|
|
|
* @return $this |
6310
|
|
|
*/ |
6311
|
|
|
public function withStrategy($value) |
6312
|
|
|
{ |
6313
|
|
|
$this->data['Strategy'] = $value; |
6314
|
|
|
$this->options['query']['Strategy'] = $value; |
6315
|
|
|
|
6316
|
|
|
return $this; |
6317
|
|
|
} |
6318
|
|
|
|
6319
|
|
|
/** |
6320
|
|
|
* @param string $value |
6321
|
|
|
* |
6322
|
|
|
* @return $this |
6323
|
|
|
*/ |
6324
|
|
|
public function withMethodName($value) |
6325
|
|
|
{ |
6326
|
|
|
$this->data['MethodName'] = $value; |
6327
|
|
|
$this->options['query']['MethodName'] = $value; |
6328
|
|
|
|
6329
|
|
|
return $this; |
6330
|
|
|
} |
6331
|
|
|
} |
6332
|
|
|
|
6333
|
|
|
/** |
6334
|
|
|
* @method string getAppId() |
6335
|
|
|
*/ |
6336
|
|
|
class ListFlowControls extends V20170801Roa |
6337
|
|
|
{ |
6338
|
|
|
/** @var string */ |
6339
|
|
|
public $pathPattern = '/pop/v5/app/flowControls'; |
6340
|
|
|
|
6341
|
|
|
/** @var string */ |
6342
|
|
|
public $method = 'GET'; |
6343
|
|
|
|
6344
|
|
|
/** |
6345
|
|
|
* @param string $value |
6346
|
|
|
* |
6347
|
|
|
* @return $this |
6348
|
|
|
*/ |
6349
|
|
|
public function withAppId($value) |
6350
|
|
|
{ |
6351
|
|
|
$this->data['AppId'] = $value; |
6352
|
|
|
$this->options['query']['AppId'] = $value; |
6353
|
|
|
|
6354
|
|
|
return $this; |
6355
|
|
|
} |
6356
|
|
|
} |
6357
|
|
|
|
6358
|
|
|
/** |
6359
|
|
|
* @method string getAppId() |
6360
|
|
|
*/ |
6361
|
|
|
class ListPublishedServices extends V20170801Roa |
6362
|
|
|
{ |
6363
|
|
|
/** @var string */ |
6364
|
|
|
public $pathPattern = '/pop/v5/service/listPublishedServices'; |
6365
|
|
|
|
6366
|
|
|
/** @var string */ |
6367
|
|
|
public $method = 'GET'; |
6368
|
|
|
|
6369
|
|
|
/** |
6370
|
|
|
* @param string $value |
6371
|
|
|
* |
6372
|
|
|
* @return $this |
6373
|
|
|
*/ |
6374
|
|
|
public function withAppId($value) |
6375
|
|
|
{ |
6376
|
|
|
$this->data['AppId'] = $value; |
6377
|
|
|
$this->options['query']['AppId'] = $value; |
6378
|
|
|
|
6379
|
|
|
return $this; |
6380
|
|
|
} |
6381
|
|
|
} |
6382
|
|
|
|
6383
|
|
|
class ListServiceGroups extends V20170801Roa |
6384
|
|
|
{ |
6385
|
|
|
/** @var string */ |
6386
|
|
|
public $pathPattern = '/pop/v5/service/serviceGroups'; |
6387
|
|
|
|
6388
|
|
|
/** @var string */ |
6389
|
|
|
public $method = 'GET'; |
6390
|
|
|
} |
6391
|
|
|
|
6392
|
|
|
/** |
6393
|
|
|
* @method string getConsumerAppId() |
6394
|
|
|
* @method string getGranularity() |
6395
|
|
|
* @method string getRuleType() |
6396
|
|
|
* @method string getAppId() |
6397
|
|
|
* @method string getUrlVar() |
6398
|
|
|
* @method string getServiceName() |
6399
|
|
|
* @method string getThreshold() |
6400
|
|
|
* @method string getStrategy() |
6401
|
|
|
* @method string getMethodName() |
6402
|
|
|
*/ |
6403
|
|
|
class InsertFlowControl extends V20170801Roa |
6404
|
|
|
{ |
6405
|
|
|
/** @var string */ |
6406
|
|
|
public $pathPattern = '/pop/v5/flowControl'; |
6407
|
|
|
|
6408
|
|
|
/** |
6409
|
|
|
* @param string $value |
6410
|
|
|
* |
6411
|
|
|
* @return $this |
6412
|
|
|
*/ |
6413
|
|
|
public function withConsumerAppId($value) |
6414
|
|
|
{ |
6415
|
|
|
$this->data['ConsumerAppId'] = $value; |
6416
|
|
|
$this->options['query']['ConsumerAppId'] = $value; |
6417
|
|
|
|
6418
|
|
|
return $this; |
6419
|
|
|
} |
6420
|
|
|
|
6421
|
|
|
/** |
6422
|
|
|
* @param string $value |
6423
|
|
|
* |
6424
|
|
|
* @return $this |
6425
|
|
|
*/ |
6426
|
|
|
public function withGranularity($value) |
6427
|
|
|
{ |
6428
|
|
|
$this->data['Granularity'] = $value; |
6429
|
|
|
$this->options['query']['Granularity'] = $value; |
6430
|
|
|
|
6431
|
|
|
return $this; |
6432
|
|
|
} |
6433
|
|
|
|
6434
|
|
|
/** |
6435
|
|
|
* @param string $value |
6436
|
|
|
* |
6437
|
|
|
* @return $this |
6438
|
|
|
*/ |
6439
|
|
|
public function withRuleType($value) |
6440
|
|
|
{ |
6441
|
|
|
$this->data['RuleType'] = $value; |
6442
|
|
|
$this->options['query']['RuleType'] = $value; |
6443
|
|
|
|
6444
|
|
|
return $this; |
6445
|
|
|
} |
6446
|
|
|
|
6447
|
|
|
/** |
6448
|
|
|
* @param string $value |
6449
|
|
|
* |
6450
|
|
|
* @return $this |
6451
|
|
|
*/ |
6452
|
|
|
public function withAppId($value) |
6453
|
|
|
{ |
6454
|
|
|
$this->data['AppId'] = $value; |
6455
|
|
|
$this->options['query']['AppId'] = $value; |
6456
|
|
|
|
6457
|
|
|
return $this; |
6458
|
|
|
} |
6459
|
|
|
|
6460
|
|
|
/** |
6461
|
|
|
* @param string $value |
6462
|
|
|
* |
6463
|
|
|
* @return $this |
6464
|
|
|
*/ |
6465
|
|
|
public function withUrlVar($value) |
6466
|
|
|
{ |
6467
|
|
|
$this->data['UrlVar'] = $value; |
6468
|
|
|
$this->options['query']['UrlVar'] = $value; |
6469
|
|
|
|
6470
|
|
|
return $this; |
6471
|
|
|
} |
6472
|
|
|
|
6473
|
|
|
/** |
6474
|
|
|
* @param string $value |
6475
|
|
|
* |
6476
|
|
|
* @return $this |
6477
|
|
|
*/ |
6478
|
|
|
public function withServiceName($value) |
6479
|
|
|
{ |
6480
|
|
|
$this->data['ServiceName'] = $value; |
6481
|
|
|
$this->options['query']['ServiceName'] = $value; |
6482
|
|
|
|
6483
|
|
|
return $this; |
6484
|
|
|
} |
6485
|
|
|
|
6486
|
|
|
/** |
6487
|
|
|
* @param string $value |
6488
|
|
|
* |
6489
|
|
|
* @return $this |
6490
|
|
|
*/ |
6491
|
|
|
public function withThreshold($value) |
6492
|
|
|
{ |
6493
|
|
|
$this->data['Threshold'] = $value; |
6494
|
|
|
$this->options['query']['Threshold'] = $value; |
6495
|
|
|
|
6496
|
|
|
return $this; |
6497
|
|
|
} |
6498
|
|
|
|
6499
|
|
|
/** |
6500
|
|
|
* @param string $value |
6501
|
|
|
* |
6502
|
|
|
* @return $this |
6503
|
|
|
*/ |
6504
|
|
|
public function withStrategy($value) |
6505
|
|
|
{ |
6506
|
|
|
$this->data['Strategy'] = $value; |
6507
|
|
|
$this->options['query']['Strategy'] = $value; |
6508
|
|
|
|
6509
|
|
|
return $this; |
6510
|
|
|
} |
6511
|
|
|
|
6512
|
|
|
/** |
6513
|
|
|
* @param string $value |
6514
|
|
|
* |
6515
|
|
|
* @return $this |
6516
|
|
|
*/ |
6517
|
|
|
public function withMethodName($value) |
6518
|
|
|
{ |
6519
|
|
|
$this->data['MethodName'] = $value; |
6520
|
|
|
$this->options['query']['MethodName'] = $value; |
6521
|
|
|
|
6522
|
|
|
return $this; |
6523
|
|
|
} |
6524
|
|
|
} |
6525
|
|
|
|
6526
|
|
|
/** |
6527
|
|
|
* @method string getGroupName() |
6528
|
|
|
*/ |
6529
|
|
|
class InsertServiceGroup extends V20170801Roa |
6530
|
|
|
{ |
6531
|
|
|
/** @var string */ |
6532
|
|
|
public $pathPattern = '/pop/v5/service/serviceGroups'; |
6533
|
|
|
|
6534
|
|
|
/** |
6535
|
|
|
* @param string $value |
6536
|
|
|
* |
6537
|
|
|
* @return $this |
6538
|
|
|
*/ |
6539
|
|
|
public function withGroupName($value) |
6540
|
|
|
{ |
6541
|
|
|
$this->data['GroupName'] = $value; |
6542
|
|
|
$this->options['query']['GroupName'] = $value; |
6543
|
|
|
|
6544
|
|
|
return $this; |
6545
|
|
|
} |
6546
|
|
|
} |
6547
|
|
|
|
6548
|
|
|
/** |
6549
|
|
|
* @method string getAppName() |
6550
|
|
|
* @method string getLogicalRegionId() |
6551
|
|
|
* @method string getDataIdPattern() |
6552
|
|
|
* @method string getGroup() |
6553
|
|
|
*/ |
6554
|
|
|
class ListConfigCenters extends V20170801Roa |
6555
|
|
|
{ |
6556
|
|
|
/** @var string */ |
6557
|
|
|
public $pathPattern = '/pop/v5/configCenters'; |
6558
|
|
|
|
6559
|
|
|
/** @var string */ |
6560
|
|
|
public $method = 'GET'; |
6561
|
|
|
|
6562
|
|
|
/** |
6563
|
|
|
* @param string $value |
6564
|
|
|
* |
6565
|
|
|
* @return $this |
6566
|
|
|
*/ |
6567
|
|
|
public function withAppName($value) |
6568
|
|
|
{ |
6569
|
|
|
$this->data['AppName'] = $value; |
6570
|
|
|
$this->options['query']['AppName'] = $value; |
6571
|
|
|
|
6572
|
|
|
return $this; |
6573
|
|
|
} |
6574
|
|
|
|
6575
|
|
|
/** |
6576
|
|
|
* @param string $value |
6577
|
|
|
* |
6578
|
|
|
* @return $this |
6579
|
|
|
*/ |
6580
|
|
|
public function withLogicalRegionId($value) |
6581
|
|
|
{ |
6582
|
|
|
$this->data['LogicalRegionId'] = $value; |
6583
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
6584
|
|
|
|
6585
|
|
|
return $this; |
6586
|
|
|
} |
6587
|
|
|
|
6588
|
|
|
/** |
6589
|
|
|
* @param string $value |
6590
|
|
|
* |
6591
|
|
|
* @return $this |
6592
|
|
|
*/ |
6593
|
|
|
public function withDataIdPattern($value) |
6594
|
|
|
{ |
6595
|
|
|
$this->data['DataIdPattern'] = $value; |
6596
|
|
|
$this->options['query']['DataIdPattern'] = $value; |
6597
|
|
|
|
6598
|
|
|
return $this; |
6599
|
|
|
} |
6600
|
|
|
|
6601
|
|
|
/** |
6602
|
|
|
* @param string $value |
6603
|
|
|
* |
6604
|
|
|
* @return $this |
6605
|
|
|
*/ |
6606
|
|
|
public function withGroup($value) |
6607
|
|
|
{ |
6608
|
|
|
$this->data['Group'] = $value; |
6609
|
|
|
$this->options['query']['Group'] = $value; |
6610
|
|
|
|
6611
|
|
|
return $this; |
6612
|
|
|
} |
6613
|
|
|
} |
6614
|
|
|
|
6615
|
|
|
/** |
6616
|
|
|
* @method string getAppId() |
6617
|
|
|
*/ |
6618
|
|
|
class ListConsumedServices extends V20170801Roa |
6619
|
|
|
{ |
6620
|
|
|
/** @var string */ |
6621
|
|
|
public $pathPattern = '/pop/v5/service/listConsumedServices'; |
6622
|
|
|
|
6623
|
|
|
/** @var string */ |
6624
|
|
|
public $method = 'GET'; |
6625
|
|
|
|
6626
|
|
|
/** |
6627
|
|
|
* @param string $value |
6628
|
|
|
* |
6629
|
|
|
* @return $this |
6630
|
|
|
*/ |
6631
|
|
|
public function withAppId($value) |
6632
|
|
|
{ |
6633
|
|
|
$this->data['AppId'] = $value; |
6634
|
|
|
$this->options['query']['AppId'] = $value; |
6635
|
|
|
|
6636
|
|
|
return $this; |
6637
|
|
|
} |
6638
|
|
|
} |
6639
|
|
|
|
6640
|
|
|
/** |
6641
|
|
|
* @method string getAppId() |
6642
|
|
|
*/ |
6643
|
|
|
class ListDegradeControls extends V20170801Roa |
6644
|
|
|
{ |
6645
|
|
|
/** @var string */ |
6646
|
|
|
public $pathPattern = '/pop/v5/app/degradeControls'; |
6647
|
|
|
|
6648
|
|
|
/** @var string */ |
6649
|
|
|
public $method = 'GET'; |
6650
|
|
|
|
6651
|
|
|
/** |
6652
|
|
|
* @param string $value |
6653
|
|
|
* |
6654
|
|
|
* @return $this |
6655
|
|
|
*/ |
6656
|
|
|
public function withAppId($value) |
6657
|
|
|
{ |
6658
|
|
|
$this->data['AppId'] = $value; |
6659
|
|
|
$this->options['query']['AppId'] = $value; |
6660
|
|
|
|
6661
|
|
|
return $this; |
6662
|
|
|
} |
6663
|
|
|
} |
6664
|
|
|
|
6665
|
|
|
/** |
6666
|
|
|
* @method string getAppId() |
6667
|
|
|
* @method string getRuleId() |
6668
|
|
|
*/ |
6669
|
|
|
class DisableDegradeControl extends V20170801Roa |
6670
|
|
|
{ |
6671
|
|
|
/** @var string */ |
6672
|
|
|
public $pathPattern = '/pop/v5/degradecontrol/disable'; |
6673
|
|
|
|
6674
|
|
|
/** @var string */ |
6675
|
|
|
public $method = 'PUT'; |
6676
|
|
|
|
6677
|
|
|
/** |
6678
|
|
|
* @param string $value |
6679
|
|
|
* |
6680
|
|
|
* @return $this |
6681
|
|
|
*/ |
6682
|
|
|
public function withAppId($value) |
6683
|
|
|
{ |
6684
|
|
|
$this->data['AppId'] = $value; |
6685
|
|
|
$this->options['query']['AppId'] = $value; |
6686
|
|
|
|
6687
|
|
|
return $this; |
6688
|
|
|
} |
6689
|
|
|
|
6690
|
|
|
/** |
6691
|
|
|
* @param string $value |
6692
|
|
|
* |
6693
|
|
|
* @return $this |
6694
|
|
|
*/ |
6695
|
|
|
public function withRuleId($value) |
6696
|
|
|
{ |
6697
|
|
|
$this->data['RuleId'] = $value; |
6698
|
|
|
$this->options['query']['RuleId'] = $value; |
6699
|
|
|
|
6700
|
|
|
return $this; |
6701
|
|
|
} |
6702
|
|
|
} |
6703
|
|
|
|
6704
|
|
|
/** |
6705
|
|
|
* @method string getAppId() |
6706
|
|
|
* @method string getRuleId() |
6707
|
|
|
*/ |
6708
|
|
|
class DisableFlowControl extends V20170801Roa |
6709
|
|
|
{ |
6710
|
|
|
/** @var string */ |
6711
|
|
|
public $pathPattern = '/pop/v5/flowcontrol/disable'; |
6712
|
|
|
|
6713
|
|
|
/** @var string */ |
6714
|
|
|
public $method = 'PUT'; |
6715
|
|
|
|
6716
|
|
|
/** |
6717
|
|
|
* @param string $value |
6718
|
|
|
* |
6719
|
|
|
* @return $this |
6720
|
|
|
*/ |
6721
|
|
|
public function withAppId($value) |
6722
|
|
|
{ |
6723
|
|
|
$this->data['AppId'] = $value; |
6724
|
|
|
$this->options['query']['AppId'] = $value; |
6725
|
|
|
|
6726
|
|
|
return $this; |
6727
|
|
|
} |
6728
|
|
|
|
6729
|
|
|
/** |
6730
|
|
|
* @param string $value |
6731
|
|
|
* |
6732
|
|
|
* @return $this |
6733
|
|
|
*/ |
6734
|
|
|
public function withRuleId($value) |
6735
|
|
|
{ |
6736
|
|
|
$this->data['RuleId'] = $value; |
6737
|
|
|
$this->options['query']['RuleId'] = $value; |
6738
|
|
|
|
6739
|
|
|
return $this; |
6740
|
|
|
} |
6741
|
|
|
} |
6742
|
|
|
|
6743
|
|
|
/** |
6744
|
|
|
* @method string getAppId() |
6745
|
|
|
* @method string getRuleId() |
6746
|
|
|
*/ |
6747
|
|
|
class EnableFlowControl extends V20170801Roa |
6748
|
|
|
{ |
6749
|
|
|
/** @var string */ |
6750
|
|
|
public $pathPattern = '/pop/v5/flowcontrol/enable'; |
6751
|
|
|
|
6752
|
|
|
/** @var string */ |
6753
|
|
|
public $method = 'PUT'; |
6754
|
|
|
|
6755
|
|
|
/** |
6756
|
|
|
* @param string $value |
6757
|
|
|
* |
6758
|
|
|
* @return $this |
6759
|
|
|
*/ |
6760
|
|
|
public function withAppId($value) |
6761
|
|
|
{ |
6762
|
|
|
$this->data['AppId'] = $value; |
6763
|
|
|
$this->options['query']['AppId'] = $value; |
6764
|
|
|
|
6765
|
|
|
return $this; |
6766
|
|
|
} |
6767
|
|
|
|
6768
|
|
|
/** |
6769
|
|
|
* @param string $value |
6770
|
|
|
* |
6771
|
|
|
* @return $this |
6772
|
|
|
*/ |
6773
|
|
|
public function withRuleId($value) |
6774
|
|
|
{ |
6775
|
|
|
$this->data['RuleId'] = $value; |
6776
|
|
|
$this->options['query']['RuleId'] = $value; |
6777
|
|
|
|
6778
|
|
|
return $this; |
6779
|
|
|
} |
6780
|
|
|
} |
6781
|
|
|
|
6782
|
|
|
/** |
6783
|
|
|
* @method string getDataId() |
6784
|
|
|
* @method string getData() |
6785
|
|
|
* @method string getAppName() |
6786
|
|
|
* @method string getLogicalRegionId() |
6787
|
|
|
* @method string getGroup() |
6788
|
|
|
*/ |
6789
|
|
|
class InsertConfigCenter extends V20170801Roa |
6790
|
|
|
{ |
6791
|
|
|
/** @var string */ |
6792
|
|
|
public $pathPattern = '/pop/v5/configCenter'; |
6793
|
|
|
|
6794
|
|
|
/** |
6795
|
|
|
* @param string $value |
6796
|
|
|
* |
6797
|
|
|
* @return $this |
6798
|
|
|
*/ |
6799
|
|
|
public function withDataId($value) |
6800
|
|
|
{ |
6801
|
|
|
$this->data['DataId'] = $value; |
6802
|
|
|
$this->options['query']['DataId'] = $value; |
6803
|
|
|
|
6804
|
|
|
return $this; |
6805
|
|
|
} |
6806
|
|
|
|
6807
|
|
|
/** |
6808
|
|
|
* @param string $value |
6809
|
|
|
* |
6810
|
|
|
* @return $this |
6811
|
|
|
*/ |
6812
|
|
|
public function withData($value) |
6813
|
|
|
{ |
6814
|
|
|
$this->data['Data'] = $value; |
6815
|
|
|
$this->options['query']['Data'] = $value; |
6816
|
|
|
|
6817
|
|
|
return $this; |
6818
|
|
|
} |
6819
|
|
|
|
6820
|
|
|
/** |
6821
|
|
|
* @param string $value |
6822
|
|
|
* |
6823
|
|
|
* @return $this |
6824
|
|
|
*/ |
6825
|
|
|
public function withAppName($value) |
6826
|
|
|
{ |
6827
|
|
|
$this->data['AppName'] = $value; |
6828
|
|
|
$this->options['query']['AppName'] = $value; |
6829
|
|
|
|
6830
|
|
|
return $this; |
6831
|
|
|
} |
6832
|
|
|
|
6833
|
|
|
/** |
6834
|
|
|
* @param string $value |
6835
|
|
|
* |
6836
|
|
|
* @return $this |
6837
|
|
|
*/ |
6838
|
|
|
public function withLogicalRegionId($value) |
6839
|
|
|
{ |
6840
|
|
|
$this->data['LogicalRegionId'] = $value; |
6841
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
6842
|
|
|
|
6843
|
|
|
return $this; |
6844
|
|
|
} |
6845
|
|
|
|
6846
|
|
|
/** |
6847
|
|
|
* @param string $value |
6848
|
|
|
* |
6849
|
|
|
* @return $this |
6850
|
|
|
*/ |
6851
|
|
|
public function withGroup($value) |
6852
|
|
|
{ |
6853
|
|
|
$this->data['Group'] = $value; |
6854
|
|
|
$this->options['query']['Group'] = $value; |
6855
|
|
|
|
6856
|
|
|
return $this; |
6857
|
|
|
} |
6858
|
|
|
} |
6859
|
|
|
|
6860
|
|
|
/** |
6861
|
|
|
* @method string getDuration() |
6862
|
|
|
* @method string getRuleType() |
6863
|
|
|
* @method string getAppId() |
6864
|
|
|
* @method string getUrlVar() |
6865
|
|
|
* @method string getRtThreshold() |
6866
|
|
|
* @method string getServiceName() |
6867
|
|
|
* @method string getMethodName() |
6868
|
|
|
*/ |
6869
|
|
|
class InsertDegradeControl extends V20170801Roa |
6870
|
|
|
{ |
6871
|
|
|
/** @var string */ |
6872
|
|
|
public $pathPattern = '/pop/v5/degradeControl'; |
6873
|
|
|
|
6874
|
|
|
/** |
6875
|
|
|
* @param string $value |
6876
|
|
|
* |
6877
|
|
|
* @return $this |
6878
|
|
|
*/ |
6879
|
|
|
public function withDuration($value) |
6880
|
|
|
{ |
6881
|
|
|
$this->data['Duration'] = $value; |
6882
|
|
|
$this->options['query']['Duration'] = $value; |
6883
|
|
|
|
6884
|
|
|
return $this; |
6885
|
|
|
} |
6886
|
|
|
|
6887
|
|
|
/** |
6888
|
|
|
* @param string $value |
6889
|
|
|
* |
6890
|
|
|
* @return $this |
6891
|
|
|
*/ |
6892
|
|
|
public function withRuleType($value) |
6893
|
|
|
{ |
6894
|
|
|
$this->data['RuleType'] = $value; |
6895
|
|
|
$this->options['query']['RuleType'] = $value; |
6896
|
|
|
|
6897
|
|
|
return $this; |
6898
|
|
|
} |
6899
|
|
|
|
6900
|
|
|
/** |
6901
|
|
|
* @param string $value |
6902
|
|
|
* |
6903
|
|
|
* @return $this |
6904
|
|
|
*/ |
6905
|
|
|
public function withAppId($value) |
6906
|
|
|
{ |
6907
|
|
|
$this->data['AppId'] = $value; |
6908
|
|
|
$this->options['query']['AppId'] = $value; |
6909
|
|
|
|
6910
|
|
|
return $this; |
6911
|
|
|
} |
6912
|
|
|
|
6913
|
|
|
/** |
6914
|
|
|
* @param string $value |
6915
|
|
|
* |
6916
|
|
|
* @return $this |
6917
|
|
|
*/ |
6918
|
|
|
public function withUrlVar($value) |
6919
|
|
|
{ |
6920
|
|
|
$this->data['UrlVar'] = $value; |
6921
|
|
|
$this->options['query']['UrlVar'] = $value; |
6922
|
|
|
|
6923
|
|
|
return $this; |
6924
|
|
|
} |
6925
|
|
|
|
6926
|
|
|
/** |
6927
|
|
|
* @param string $value |
6928
|
|
|
* |
6929
|
|
|
* @return $this |
6930
|
|
|
*/ |
6931
|
|
|
public function withRtThreshold($value) |
6932
|
|
|
{ |
6933
|
|
|
$this->data['RtThreshold'] = $value; |
6934
|
|
|
$this->options['query']['RtThreshold'] = $value; |
6935
|
|
|
|
6936
|
|
|
return $this; |
6937
|
|
|
} |
6938
|
|
|
|
6939
|
|
|
/** |
6940
|
|
|
* @param string $value |
6941
|
|
|
* |
6942
|
|
|
* @return $this |
6943
|
|
|
*/ |
6944
|
|
|
public function withServiceName($value) |
6945
|
|
|
{ |
6946
|
|
|
$this->data['ServiceName'] = $value; |
6947
|
|
|
$this->options['query']['ServiceName'] = $value; |
6948
|
|
|
|
6949
|
|
|
return $this; |
6950
|
|
|
} |
6951
|
|
|
|
6952
|
|
|
/** |
6953
|
|
|
* @param string $value |
6954
|
|
|
* |
6955
|
|
|
* @return $this |
6956
|
|
|
*/ |
6957
|
|
|
public function withMethodName($value) |
6958
|
|
|
{ |
6959
|
|
|
$this->data['MethodName'] = $value; |
6960
|
|
|
$this->options['query']['MethodName'] = $value; |
6961
|
|
|
|
6962
|
|
|
return $this; |
6963
|
|
|
} |
6964
|
|
|
} |
6965
|
|
|
|
6966
|
|
|
/** |
6967
|
|
|
* @method string getDataId() |
6968
|
|
|
* @method string getLogicalRegionId() |
6969
|
|
|
* @method string getGroup() |
6970
|
|
|
*/ |
6971
|
|
|
class DeleteConfigCenter extends V20170801Roa |
6972
|
|
|
{ |
6973
|
|
|
/** @var string */ |
6974
|
|
|
public $pathPattern = '/pop/v5/configCenter'; |
6975
|
|
|
|
6976
|
|
|
/** @var string */ |
6977
|
|
|
public $method = 'DELETE'; |
6978
|
|
|
|
6979
|
|
|
/** |
6980
|
|
|
* @param string $value |
6981
|
|
|
* |
6982
|
|
|
* @return $this |
6983
|
|
|
*/ |
6984
|
|
|
public function withDataId($value) |
6985
|
|
|
{ |
6986
|
|
|
$this->data['DataId'] = $value; |
6987
|
|
|
$this->options['query']['DataId'] = $value; |
6988
|
|
|
|
6989
|
|
|
return $this; |
6990
|
|
|
} |
6991
|
|
|
|
6992
|
|
|
/** |
6993
|
|
|
* @param string $value |
6994
|
|
|
* |
6995
|
|
|
* @return $this |
6996
|
|
|
*/ |
6997
|
|
|
public function withLogicalRegionId($value) |
6998
|
|
|
{ |
6999
|
|
|
$this->data['LogicalRegionId'] = $value; |
7000
|
|
|
$this->options['query']['LogicalRegionId'] = $value; |
7001
|
|
|
|
7002
|
|
|
return $this; |
7003
|
|
|
} |
7004
|
|
|
|
7005
|
|
|
/** |
7006
|
|
|
* @param string $value |
7007
|
|
|
* |
7008
|
|
|
* @return $this |
7009
|
|
|
*/ |
7010
|
|
|
public function withGroup($value) |
7011
|
|
|
{ |
7012
|
|
|
$this->data['Group'] = $value; |
7013
|
|
|
$this->options['query']['Group'] = $value; |
7014
|
|
|
|
7015
|
|
|
return $this; |
7016
|
|
|
} |
7017
|
|
|
} |
7018
|
|
|
|
7019
|
|
|
/** |
7020
|
|
|
* @method string getAppId() |
7021
|
|
|
* @method string getRuleId() |
7022
|
|
|
*/ |
7023
|
|
|
class DeleteDegradeControl extends V20170801Roa |
7024
|
|
|
{ |
7025
|
|
|
/** @var string */ |
7026
|
|
|
public $pathPattern = '/pop/v5/degradeControl'; |
7027
|
|
|
|
7028
|
|
|
/** @var string */ |
7029
|
|
|
public $method = 'DELETE'; |
7030
|
|
|
|
7031
|
|
|
/** |
7032
|
|
|
* @param string $value |
7033
|
|
|
* |
7034
|
|
|
* @return $this |
7035
|
|
|
*/ |
7036
|
|
|
public function withAppId($value) |
7037
|
|
|
{ |
7038
|
|
|
$this->data['AppId'] = $value; |
7039
|
|
|
$this->options['query']['AppId'] = $value; |
7040
|
|
|
|
7041
|
|
|
return $this; |
7042
|
|
|
} |
7043
|
|
|
|
7044
|
|
|
/** |
7045
|
|
|
* @param string $value |
7046
|
|
|
* |
7047
|
|
|
* @return $this |
7048
|
|
|
*/ |
7049
|
|
|
public function withRuleId($value) |
7050
|
|
|
{ |
7051
|
|
|
$this->data['RuleId'] = $value; |
7052
|
|
|
$this->options['query']['RuleId'] = $value; |
7053
|
|
|
|
7054
|
|
|
return $this; |
7055
|
|
|
} |
7056
|
|
|
} |
7057
|
|
|
|
7058
|
|
|
/** |
7059
|
|
|
* @method string getAppId() |
7060
|
|
|
* @method string getRuleId() |
7061
|
|
|
*/ |
7062
|
|
|
class DeleteFlowControl extends V20170801Roa |
7063
|
|
|
{ |
7064
|
|
|
/** @var string */ |
7065
|
|
|
public $pathPattern = '/pop/v5/flowControl'; |
7066
|
|
|
|
7067
|
|
|
/** @var string */ |
7068
|
|
|
public $method = 'DELETE'; |
7069
|
|
|
|
7070
|
|
|
/** |
7071
|
|
|
* @param string $value |
7072
|
|
|
* |
7073
|
|
|
* @return $this |
7074
|
|
|
*/ |
7075
|
|
|
public function withAppId($value) |
7076
|
|
|
{ |
7077
|
|
|
$this->data['AppId'] = $value; |
7078
|
|
|
$this->options['query']['AppId'] = $value; |
7079
|
|
|
|
7080
|
|
|
return $this; |
7081
|
|
|
} |
7082
|
|
|
|
7083
|
|
|
/** |
7084
|
|
|
* @param string $value |
7085
|
|
|
* |
7086
|
|
|
* @return $this |
7087
|
|
|
*/ |
7088
|
|
|
public function withRuleId($value) |
7089
|
|
|
{ |
7090
|
|
|
$this->data['RuleId'] = $value; |
7091
|
|
|
$this->options['query']['RuleId'] = $value; |
7092
|
|
|
|
7093
|
|
|
return $this; |
7094
|
|
|
} |
7095
|
|
|
} |
7096
|
|
|
|
7097
|
|
|
/** |
7098
|
|
|
* @method string getGroupId() |
7099
|
|
|
*/ |
7100
|
|
|
class DeleteServiceGroup extends V20170801Roa |
7101
|
|
|
{ |
7102
|
|
|
/** @var string */ |
7103
|
|
|
public $pathPattern = '/pop/v5/service/serviceGroups'; |
7104
|
|
|
|
7105
|
|
|
/** @var string */ |
7106
|
|
|
public $method = 'DELETE'; |
7107
|
|
|
|
7108
|
|
|
/** |
7109
|
|
|
* @param string $value |
7110
|
|
|
* |
7111
|
|
|
* @return $this |
7112
|
|
|
*/ |
7113
|
|
|
public function withGroupId($value) |
7114
|
|
|
{ |
7115
|
|
|
$this->data['GroupId'] = $value; |
7116
|
|
|
$this->options['query']['GroupId'] = $value; |
7117
|
|
|
|
7118
|
|
|
return $this; |
7119
|
|
|
} |
7120
|
|
|
} |
7121
|
|
|
|
7122
|
|
|
class ListApplication extends V20170801Roa |
7123
|
|
|
{ |
7124
|
|
|
/** @var string */ |
7125
|
|
|
public $pathPattern = '/pop/v5/app/app_list'; |
7126
|
|
|
} |
7127
|
|
|
|