1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Emr\V20160408; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* @method AddClusterService addClusterService(array $options = []) |
9
|
|
|
* @method AddScalingConfigItemV2 addScalingConfigItemV2(array $options = []) |
10
|
|
|
* @method CloneFlow cloneFlow(array $options = []) |
11
|
|
|
* @method CloneFlowJob cloneFlowJob(array $options = []) |
12
|
|
|
* @method CreateClusterTemplate createClusterTemplate(array $options = []) |
13
|
|
|
* @method CreateClusterV2 createClusterV2(array $options = []) |
14
|
|
|
* @method CreateClusterWithTemplate createClusterWithTemplate(array $options = []) |
15
|
|
|
* @method CreateFlow createFlow(array $options = []) |
16
|
|
|
* @method CreateFlowCategory createFlowCategory(array $options = []) |
17
|
|
|
* @method CreateFlowForWeb createFlowForWeb(array $options = []) |
18
|
|
|
* @method CreateFlowJob createFlowJob(array $options = []) |
19
|
|
|
* @method CreateFlowProject createFlowProject(array $options = []) |
20
|
|
|
* @method CreateFlowProjectClusterSetting createFlowProjectClusterSetting(array $options = []) |
21
|
|
|
* @method CreateFlowProjectUser createFlowProjectUser(array $options = []) |
22
|
|
|
* @method CreateResourcePool createResourcePool(array $options = []) |
23
|
|
|
* @method CreateResourceQueue createResourceQueue(array $options = []) |
24
|
|
|
* @method CreateScalingGroupV2 createScalingGroupV2(array $options = []) |
25
|
|
|
* @method DeleteClusterTemplate deleteClusterTemplate(array $options = []) |
26
|
|
|
* @method DeleteFlow deleteFlow(array $options = []) |
27
|
|
|
* @method DeleteFlowCategory deleteFlowCategory(array $options = []) |
28
|
|
|
* @method DeleteFlowJob deleteFlowJob(array $options = []) |
29
|
|
|
* @method DeleteFlowProject deleteFlowProject(array $options = []) |
30
|
|
|
* @method DeleteFlowProjectClusterSetting deleteFlowProjectClusterSetting(array $options = []) |
31
|
|
|
* @method DeleteFlowProjectUser deleteFlowProjectUser(array $options = []) |
32
|
|
|
* @method DeleteResourcePool deleteResourcePool(array $options = []) |
33
|
|
|
* @method DeleteResourceQueue deleteResourceQueue(array $options = []) |
34
|
|
|
* @method DescribeClusterBasicInfo describeClusterBasicInfo(array $options = []) |
35
|
|
|
* @method DescribeClusterOperationHostTaskLog describeClusterOperationHostTaskLog(array $options = []) |
36
|
|
|
* @method DescribeClusterResourcePoolSchedulerType describeClusterResourcePoolSchedulerType(array $options = []) |
37
|
|
|
* @method DescribeClusterService describeClusterService(array $options = []) |
38
|
|
|
* @method DescribeClusterServiceConfig describeClusterServiceConfig(array $options = []) |
39
|
|
|
* @method DescribeClusterServiceConfigTag describeClusterServiceConfigTag(array $options = []) |
40
|
|
|
* @method DescribeClusterTemplate describeClusterTemplate(array $options = []) |
41
|
|
|
* @method DescribeClusterV2 describeClusterV2(array $options = []) |
42
|
|
|
* @method DescribeFlow describeFlow(array $options = []) |
43
|
|
|
* @method DescribeFlowCategory describeFlowCategory(array $options = []) |
44
|
|
|
* @method DescribeFlowCategoryTree describeFlowCategoryTree(array $options = []) |
45
|
|
|
* @method DescribeFlowInstance describeFlowInstance(array $options = []) |
46
|
|
|
* @method DescribeFlowJob describeFlowJob(array $options = []) |
47
|
|
|
* @method DescribeFlowNodeInstance describeFlowNodeInstance(array $options = []) |
48
|
|
|
* @method DescribeFlowNodeInstanceContainerLog describeFlowNodeInstanceContainerLog(array $options = []) |
49
|
|
|
* @method DescribeFlowNodeInstanceLauncherLog describeFlowNodeInstanceLauncherLog(array $options = []) |
50
|
|
|
* @method DescribeFlowProject describeFlowProject(array $options = []) |
51
|
|
|
* @method DescribeFlowProjectClusterSetting describeFlowProjectClusterSetting(array $options = []) |
52
|
|
|
* @method DescribeFlowVariableCollection describeFlowVariableCollection(array $options = []) |
53
|
|
|
* @method DescribeScalingCommonConfig describeScalingCommonConfig(array $options = []) |
54
|
|
|
* @method DescribeScalingConfigItemV2 describeScalingConfigItemV2(array $options = []) |
55
|
|
|
* @method DescribeScalingGroupInstanceV2 describeScalingGroupInstanceV2(array $options = []) |
56
|
|
|
* @method DescribeScalingGroupV2 describeScalingGroupV2(array $options = []) |
57
|
|
|
* @method JoinResourceGroup joinResourceGroup(array $options = []) |
58
|
|
|
* @method KillFlowJob killFlowJob(array $options = []) |
59
|
|
|
* @method ListApmApplication listApmApplication(array $options = []) |
60
|
|
|
* @method ListClusterHost listClusterHost(array $options = []) |
61
|
|
|
* @method ListClusterHostComponent listClusterHostComponent(array $options = []) |
62
|
|
|
* @method ListClusterHostGroup listClusterHostGroup(array $options = []) |
63
|
|
|
* @method ListClusterInstalledService listClusterInstalledService(array $options = []) |
64
|
|
|
* @method ListClusterOperation listClusterOperation(array $options = []) |
65
|
|
|
* @method ListClusterOperationHost listClusterOperationHost(array $options = []) |
66
|
|
|
* @method ListClusterOperationHostTask listClusterOperationHostTask(array $options = []) |
67
|
|
|
* @method ListClusterOperationTask listClusterOperationTask(array $options = []) |
68
|
|
|
* @method ListClusters listClusters(array $options = []) |
69
|
|
|
* @method ListClusterService listClusterService(array $options = []) |
70
|
|
|
* @method ListClusterServiceComponent listClusterServiceComponent(array $options = []) |
71
|
|
|
* @method ListClusterServiceComponentHealthInfo listClusterServiceComponentHealthInfo(array $options = []) |
72
|
|
|
* @method ListClusterServiceConfigHistory listClusterServiceConfigHistory(array $options = []) |
73
|
|
|
* @method ListClusterServiceQuickLink listClusterServiceQuickLink(array $options = []) |
74
|
|
|
* @method ListClusterTemplates listClusterTemplates(array $options = []) |
75
|
|
|
* @method ListEmrAvailableConfig listEmrAvailableConfig(array $options = []) |
76
|
|
|
* @method ListEmrAvailableResource listEmrAvailableResource(array $options = []) |
77
|
|
|
* @method ListEmrMainVersion listEmrMainVersion(array $options = []) |
78
|
|
|
* @method ListFlow listFlow(array $options = []) |
79
|
|
|
* @method ListFlowCategory listFlowCategory(array $options = []) |
80
|
|
|
* @method ListFlowCluster listFlowCluster(array $options = []) |
81
|
|
|
* @method ListFlowClusterAll listFlowClusterAll(array $options = []) |
82
|
|
|
* @method ListFlowClusterAllHosts listFlowClusterAllHosts(array $options = []) |
83
|
|
|
* @method ListFlowClusterHost listFlowClusterHost(array $options = []) |
84
|
|
|
* @method ListFlowInstance listFlowInstance(array $options = []) |
85
|
|
|
* @method ListFlowJob listFlowJob(array $options = []) |
86
|
|
|
* @method ListFlowJobHistory listFlowJobHistory(array $options = []) |
87
|
|
|
* @method ListFlowNodeInstance listFlowNodeInstance(array $options = []) |
88
|
|
|
* @method ListFlowNodeInstanceContainerStatus listFlowNodeInstanceContainerStatus(array $options = []) |
89
|
|
|
* @method ListFlowNodeSqlResult listFlowNodeSqlResult(array $options = []) |
90
|
|
|
* @method ListFlowProject listFlowProject(array $options = []) |
91
|
|
|
* @method ListFlowProjectClusterSetting listFlowProjectClusterSetting(array $options = []) |
92
|
|
|
* @method ListFlowProjectUser listFlowProjectUser(array $options = []) |
93
|
|
|
* @method ListResourcePool listResourcePool(array $options = []) |
94
|
|
|
* @method ListScalingActivityV2 listScalingActivityV2(array $options = []) |
95
|
|
|
* @method ListScalingConfigItemV2 listScalingConfigItemV2(array $options = []) |
96
|
|
|
* @method ListScalingGroupV2 listScalingGroupV2(array $options = []) |
97
|
|
|
* @method ListTagResources listTagResources(array $options = []) |
98
|
|
|
* @method ModifyClusterName modifyClusterName(array $options = []) |
99
|
|
|
* @method ModifyClusterServiceConfig modifyClusterServiceConfig(array $options = []) |
100
|
|
|
* @method ModifyClusterTemplate modifyClusterTemplate(array $options = []) |
101
|
|
|
* @method ModifyFlowCategory modifyFlowCategory(array $options = []) |
102
|
|
|
* @method ModifyFlowForWeb modifyFlowForWeb(array $options = []) |
103
|
|
|
* @method ModifyFlowProject modifyFlowProject(array $options = []) |
104
|
|
|
* @method ModifyFlowProjectClusterSetting modifyFlowProjectClusterSetting(array $options = []) |
105
|
|
|
* @method ModifyResourcePool modifyResourcePool(array $options = []) |
106
|
|
|
* @method ModifyResourcePoolSchedulerType modifyResourcePoolSchedulerType(array $options = []) |
107
|
|
|
* @method ModifyResourceQueue modifyResourceQueue(array $options = []) |
108
|
|
|
* @method ModifyScalingConfigItemV2 modifyScalingConfigItemV2(array $options = []) |
109
|
|
|
* @method ModifyScalingGroupV2 modifyScalingGroupV2(array $options = []) |
110
|
|
|
* @method RefreshClusterResourcePool refreshClusterResourcePool(array $options = []) |
111
|
|
|
* @method ReleaseCluster releaseCluster(array $options = []) |
112
|
|
|
* @method ReleaseClusterHostGroup releaseClusterHostGroup(array $options = []) |
113
|
|
|
* @method RemoveScalingConfigItemV2 removeScalingConfigItemV2(array $options = []) |
114
|
|
|
* @method RerunFlow rerunFlow(array $options = []) |
115
|
|
|
* @method ResizeClusterV2 resizeClusterV2(array $options = []) |
116
|
|
|
* @method ResumeFlow resumeFlow(array $options = []) |
117
|
|
|
* @method RunClusterServiceAction runClusterServiceAction(array $options = []) |
118
|
|
|
* @method RunScalingActionV2 runScalingActionV2(array $options = []) |
119
|
|
|
* @method StartFlow startFlow(array $options = []) |
120
|
|
|
* @method SubmitFlow submitFlow(array $options = []) |
121
|
|
|
* @method SubmitFlowJob submitFlowJob(array $options = []) |
122
|
|
|
* @method SuspendFlow suspendFlow(array $options = []) |
123
|
|
|
* @method TagResources tagResources(array $options = []) |
124
|
|
|
* @method UntagResources untagResources(array $options = []) |
125
|
|
|
*/ |
126
|
|
|
class EmrApiResolver extends ApiResolver |
127
|
|
|
{ |
128
|
|
|
} |
129
|
|
|
|
130
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
131
|
|
|
{ |
132
|
|
|
/** @var string */ |
133
|
|
|
public $product = 'Emr'; |
134
|
|
|
|
135
|
|
|
/** @var string */ |
136
|
|
|
public $version = '2016-04-08'; |
137
|
|
|
|
138
|
|
|
/** @var string */ |
139
|
|
|
public $method = 'POST'; |
140
|
|
|
} |
141
|
|
|
|
142
|
|
|
/** |
143
|
|
|
* @method string getResourceOwnerId() |
144
|
|
|
* @method $this withResourceOwnerId($value) |
145
|
|
|
* @method string getClusterId() |
146
|
|
|
* @method $this withClusterId($value) |
147
|
|
|
* @method array getService() |
148
|
|
|
* @method string getComment() |
149
|
|
|
* @method $this withComment($value) |
150
|
|
|
*/ |
151
|
|
|
class AddClusterService extends Rpc |
152
|
|
|
{ |
153
|
|
|
|
154
|
|
|
/** |
155
|
|
|
* @param array $service |
156
|
|
|
* |
157
|
|
|
* @return $this |
158
|
|
|
*/ |
159
|
|
|
public function withService(array $service) |
160
|
|
|
{ |
161
|
|
|
$this->data['Service'] = $service; |
162
|
|
|
foreach ($service as $depth1 => $depth1Value) { |
163
|
|
|
if(isset($depth1Value['ServiceVersion'])){ |
164
|
|
|
$this->options['query']['Service.' . ($depth1 + 1) . '.ServiceVersion'] = $depth1Value['ServiceVersion']; |
165
|
|
|
} |
166
|
|
|
if(isset($depth1Value['ServiceName'])){ |
167
|
|
|
$this->options['query']['Service.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName']; |
168
|
|
|
} |
169
|
|
|
} |
170
|
|
|
|
171
|
|
|
return $this; |
172
|
|
|
} |
173
|
|
|
} |
174
|
|
|
|
175
|
|
|
/** |
176
|
|
|
* @method string getConfigItemType() |
177
|
|
|
* @method $this withConfigItemType($value) |
178
|
|
|
* @method string getResourceOwnerId() |
179
|
|
|
* @method $this withResourceOwnerId($value) |
180
|
|
|
* @method string getScalingGroupBizId() |
181
|
|
|
* @method $this withScalingGroupBizId($value) |
182
|
|
|
* @method string getResourceGroupId() |
183
|
|
|
* @method $this withResourceGroupId($value) |
184
|
|
|
* @method string getConfigItemInformation() |
185
|
|
|
* @method $this withConfigItemInformation($value) |
186
|
|
|
*/ |
187
|
|
|
class AddScalingConfigItemV2 extends Rpc |
188
|
|
|
{ |
189
|
|
|
} |
190
|
|
|
|
191
|
|
|
/** |
192
|
|
|
* @method string getId() |
193
|
|
|
* @method $this withId($value) |
194
|
|
|
* @method string getProjectId() |
195
|
|
|
* @method $this withProjectId($value) |
196
|
|
|
*/ |
197
|
|
|
class CloneFlow extends Rpc |
198
|
|
|
{ |
199
|
|
|
} |
200
|
|
|
|
201
|
|
|
/** |
202
|
|
|
* @method string getName() |
203
|
|
|
* @method $this withName($value) |
204
|
|
|
* @method string getId() |
205
|
|
|
* @method $this withId($value) |
206
|
|
|
* @method string getProjectId() |
207
|
|
|
* @method $this withProjectId($value) |
208
|
|
|
*/ |
209
|
|
|
class CloneFlowJob extends Rpc |
210
|
|
|
{ |
211
|
|
|
} |
212
|
|
|
|
213
|
|
|
/** |
214
|
|
|
* @method string getResourceOwnerId() |
215
|
|
|
* @method $this withResourceOwnerId($value) |
216
|
|
|
* @method string getLogPath() |
217
|
|
|
* @method $this withLogPath($value) |
218
|
|
|
* @method string getMasterPwd() |
219
|
|
|
* @method $this withMasterPwd($value) |
220
|
|
|
* @method string getConfigurations() |
221
|
|
|
* @method $this withConfigurations($value) |
222
|
|
|
* @method string getSshEnable() |
223
|
|
|
* @method $this withSshEnable($value) |
224
|
|
|
* @method string getKeyPairName() |
225
|
|
|
* @method $this withKeyPairName($value) |
226
|
|
|
* @method string getMetaStoreType() |
227
|
|
|
* @method $this withMetaStoreType($value) |
228
|
|
|
* @method string getSecurityGroupName() |
229
|
|
|
* @method $this withSecurityGroupName($value) |
230
|
|
|
* @method string getMachineType() |
231
|
|
|
* @method $this withMachineType($value) |
232
|
|
|
* @method string getResourceGroupId() |
233
|
|
|
* @method $this withResourceGroupId($value) |
234
|
|
|
* @method array getBootstrapAction() |
235
|
|
|
* @method string getMetaStoreConf() |
236
|
|
|
* @method $this withMetaStoreConf($value) |
237
|
|
|
* @method string getEmrVer() |
238
|
|
|
* @method $this withEmrVer($value) |
239
|
|
|
* @method array getTag() |
240
|
|
|
* @method string getIsOpenPublicIp() |
241
|
|
|
* @method $this withIsOpenPublicIp($value) |
242
|
|
|
* @method string getPeriod() |
243
|
|
|
* @method $this withPeriod($value) |
244
|
|
|
* @method string getInstanceGeneration() |
245
|
|
|
* @method $this withInstanceGeneration($value) |
246
|
|
|
* @method string getVSwitchId() |
247
|
|
|
* @method $this withVSwitchId($value) |
248
|
|
|
* @method string getClusterType() |
249
|
|
|
* @method $this withClusterType($value) |
250
|
|
|
* @method string getAutoRenew() |
251
|
|
|
* @method $this withAutoRenew($value) |
252
|
|
|
* @method array getOptionSoftWareList() |
253
|
|
|
* @method string getNetType() |
254
|
|
|
* @method $this withNetType($value) |
255
|
|
|
* @method string getZoneId() |
256
|
|
|
* @method $this withZoneId($value) |
257
|
|
|
* @method string getUseCustomHiveMetaDb() |
258
|
|
|
* @method $this withUseCustomHiveMetaDb($value) |
259
|
|
|
* @method string getInitCustomHiveMetaDb() |
260
|
|
|
* @method $this withInitCustomHiveMetaDb($value) |
261
|
|
|
* @method string getClientToken() |
262
|
|
|
* @method $this withClientToken($value) |
263
|
|
|
* @method string getIoOptimized() |
264
|
|
|
* @method $this withIoOptimized($value) |
265
|
|
|
* @method string getSecurityGroupId() |
266
|
|
|
* @method $this withSecurityGroupId($value) |
267
|
|
|
* @method string getEasEnable() |
268
|
|
|
* @method $this withEasEnable($value) |
269
|
|
|
* @method string getDepositType() |
270
|
|
|
* @method $this withDepositType($value) |
271
|
|
|
* @method string getDataDiskKMSKeyId() |
272
|
|
|
* @method $this withDataDiskKMSKeyId($value) |
273
|
|
|
* @method string getUseLocalMetaDb() |
274
|
|
|
* @method $this withUseLocalMetaDb($value) |
275
|
|
|
* @method string getTemplateName() |
276
|
|
|
* @method $this withTemplateName($value) |
277
|
|
|
* @method string getUserDefinedEmrEcsRole() |
278
|
|
|
* @method $this withUserDefinedEmrEcsRole($value) |
279
|
|
|
* @method string getDataDiskEncrypted() |
280
|
|
|
* @method $this withDataDiskEncrypted($value) |
281
|
|
|
* @method string getVpcId() |
282
|
|
|
* @method $this withVpcId($value) |
283
|
|
|
* @method array getHostGroup() |
284
|
|
|
* @method array getConfig() |
285
|
|
|
* @method string getHighAvailabilityEnable() |
286
|
|
|
* @method $this withHighAvailabilityEnable($value) |
287
|
|
|
*/ |
288
|
|
|
class CreateClusterTemplate extends Rpc |
289
|
|
|
{ |
290
|
|
|
|
291
|
|
|
/** |
292
|
|
|
* @param array $bootstrapAction |
293
|
|
|
* |
294
|
|
|
* @return $this |
295
|
|
|
*/ |
296
|
|
|
public function withBootstrapAction(array $bootstrapAction) |
297
|
|
|
{ |
298
|
|
|
$this->data['BootstrapAction'] = $bootstrapAction; |
299
|
|
|
foreach ($bootstrapAction as $depth1 => $depth1Value) { |
300
|
|
|
if(isset($depth1Value['Path'])){ |
301
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path']; |
302
|
|
|
} |
303
|
|
|
if(isset($depth1Value['ExecutionTarget'])){ |
304
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget']; |
305
|
|
|
} |
306
|
|
|
if(isset($depth1Value['ExecutionMoment'])){ |
307
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment']; |
308
|
|
|
} |
309
|
|
|
if(isset($depth1Value['Arg'])){ |
310
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg']; |
311
|
|
|
} |
312
|
|
|
if(isset($depth1Value['Name'])){ |
313
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name']; |
314
|
|
|
} |
315
|
|
|
if(isset($depth1Value['ExecutionFailStrategy'])){ |
316
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy']; |
317
|
|
|
} |
318
|
|
|
} |
319
|
|
|
|
320
|
|
|
return $this; |
321
|
|
|
} |
322
|
|
|
|
323
|
|
|
/** |
324
|
|
|
* @param array $tag |
325
|
|
|
* |
326
|
|
|
* @return $this |
327
|
|
|
*/ |
328
|
|
|
public function withTag(array $tag) |
329
|
|
|
{ |
330
|
|
|
$this->data['Tag'] = $tag; |
331
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
332
|
|
|
if(isset($depth1Value['Value'])){ |
333
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
334
|
|
|
} |
335
|
|
|
if(isset($depth1Value['Key'])){ |
336
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
337
|
|
|
} |
338
|
|
|
} |
339
|
|
|
|
340
|
|
|
return $this; |
341
|
|
|
} |
342
|
|
|
|
343
|
|
|
/** |
344
|
|
|
* @param array $optionSoftWareList |
345
|
|
|
* |
346
|
|
|
* @return $this |
347
|
|
|
*/ |
348
|
|
|
public function withOptionSoftWareList(array $optionSoftWareList) |
349
|
|
|
{ |
350
|
|
|
$this->data['OptionSoftWareList'] = $optionSoftWareList; |
351
|
|
|
foreach ($optionSoftWareList as $i => $iValue) { |
352
|
|
|
$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue; |
353
|
|
|
} |
354
|
|
|
|
355
|
|
|
return $this; |
356
|
|
|
} |
357
|
|
|
|
358
|
|
|
/** |
359
|
|
|
* @param array $hostGroup |
360
|
|
|
* |
361
|
|
|
* @return $this |
362
|
|
|
*/ |
363
|
|
|
public function withHostGroup(array $hostGroup) |
364
|
|
|
{ |
365
|
|
|
$this->data['HostGroup'] = $hostGroup; |
366
|
|
|
foreach ($hostGroup as $depth1 => $depth1Value) { |
367
|
|
|
if(isset($depth1Value['Period'])){ |
368
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period']; |
369
|
|
|
} |
370
|
|
|
if(isset($depth1Value['SysDiskCapacity'])){ |
371
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity']; |
372
|
|
|
} |
373
|
|
|
if(isset($depth1Value['PrivatePoolOptionsId'])){ |
374
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsId'] = $depth1Value['PrivatePoolOptionsId']; |
375
|
|
|
} |
376
|
|
|
if(isset($depth1Value['DiskCapacity'])){ |
377
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity']; |
378
|
|
|
} |
379
|
|
|
if(isset($depth1Value['SysDiskType'])){ |
380
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType']; |
381
|
|
|
} |
382
|
|
|
if(isset($depth1Value['ClusterId'])){ |
383
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId']; |
384
|
|
|
} |
385
|
|
|
if(isset($depth1Value['DiskType'])){ |
386
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType']; |
387
|
|
|
} |
388
|
|
|
if(isset($depth1Value['HostGroupName'])){ |
389
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName']; |
390
|
|
|
} |
391
|
|
|
if(isset($depth1Value['VSwitchId'])){ |
392
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId']; |
393
|
|
|
} |
394
|
|
|
if(isset($depth1Value['DiskCount'])){ |
395
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount']; |
396
|
|
|
} |
397
|
|
|
if(isset($depth1Value['AutoRenew'])){ |
398
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew']; |
399
|
|
|
} |
400
|
|
|
if(isset($depth1Value['HostGroupId'])){ |
401
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId']; |
402
|
|
|
} |
403
|
|
|
if(isset($depth1Value['NodeCount'])){ |
404
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount']; |
405
|
|
|
} |
406
|
|
|
if(isset($depth1Value['InstanceType'])){ |
407
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType']; |
408
|
|
|
} |
409
|
|
|
if(isset($depth1Value['Comment'])){ |
410
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment']; |
411
|
|
|
} |
412
|
|
|
if(isset($depth1Value['ChargeType'])){ |
413
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType']; |
414
|
|
|
} |
415
|
|
|
if(isset($depth1Value['MultiInstanceTypes'])){ |
416
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.MultiInstanceTypes'] = $depth1Value['MultiInstanceTypes']; |
417
|
|
|
} |
418
|
|
|
if(isset($depth1Value['CreateType'])){ |
419
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType']; |
420
|
|
|
} |
421
|
|
|
if(isset($depth1Value['HostGroupType'])){ |
422
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType']; |
423
|
|
|
} |
424
|
|
|
if(isset($depth1Value['PrivatePoolOptionsMatchCriteria'])){ |
425
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsMatchCriteria'] = $depth1Value['PrivatePoolOptionsMatchCriteria']; |
426
|
|
|
} |
427
|
|
|
} |
428
|
|
|
|
429
|
|
|
return $this; |
430
|
|
|
} |
431
|
|
|
|
432
|
|
|
/** |
433
|
|
|
* @param array $config |
434
|
|
|
* |
435
|
|
|
* @return $this |
436
|
|
|
*/ |
437
|
|
|
public function withConfig(array $config) |
438
|
|
|
{ |
439
|
|
|
$this->data['Config'] = $config; |
440
|
|
|
foreach ($config as $depth1 => $depth1Value) { |
441
|
|
|
if(isset($depth1Value['ConfigKey'])){ |
442
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey']; |
443
|
|
|
} |
444
|
|
|
if(isset($depth1Value['FileName'])){ |
445
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName']; |
446
|
|
|
} |
447
|
|
|
if(isset($depth1Value['Encrypt'])){ |
448
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt']; |
449
|
|
|
} |
450
|
|
|
if(isset($depth1Value['Replace'])){ |
451
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace']; |
452
|
|
|
} |
453
|
|
|
if(isset($depth1Value['ConfigValue'])){ |
454
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue']; |
455
|
|
|
} |
456
|
|
|
if(isset($depth1Value['ServiceName'])){ |
457
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName']; |
458
|
|
|
} |
459
|
|
|
} |
460
|
|
|
|
461
|
|
|
return $this; |
462
|
|
|
} |
463
|
|
|
} |
464
|
|
|
|
465
|
|
|
/** |
466
|
|
|
* @method string getAutoPayOrder() |
467
|
|
|
* @method $this withAutoPayOrder($value) |
468
|
|
|
* @method string getResourceOwnerId() |
469
|
|
|
* @method $this withResourceOwnerId($value) |
470
|
|
|
* @method string getLogPath() |
471
|
|
|
* @method $this withLogPath($value) |
472
|
|
|
* @method string getMasterPwd() |
473
|
|
|
* @method $this withMasterPwd($value) |
474
|
|
|
* @method string getConfigurations() |
475
|
|
|
* @method $this withConfigurations($value) |
476
|
|
|
* @method string getSshEnable() |
477
|
|
|
* @method $this withSshEnable($value) |
478
|
|
|
* @method string getKeyPairName() |
479
|
|
|
* @method $this withKeyPairName($value) |
480
|
|
|
* @method string getMetaStoreType() |
481
|
|
|
* @method $this withMetaStoreType($value) |
482
|
|
|
* @method string getSecurityGroupName() |
483
|
|
|
* @method $this withSecurityGroupName($value) |
484
|
|
|
* @method string getMachineType() |
485
|
|
|
* @method $this withMachineType($value) |
486
|
|
|
* @method string getResourceGroupId() |
487
|
|
|
* @method $this withResourceGroupId($value) |
488
|
|
|
* @method array getHostComponentInfo() |
489
|
|
|
* @method string getClickHouseConf() |
490
|
|
|
* @method $this withClickHouseConf($value) |
491
|
|
|
* @method array getBootstrapAction() |
492
|
|
|
* @method string getMetaStoreConf() |
493
|
|
|
* @method $this withMetaStoreConf($value) |
494
|
|
|
* @method string getEmrVer() |
495
|
|
|
* @method $this withEmrVer($value) |
496
|
|
|
* @method array getTag() |
497
|
|
|
* @method string getAuthorizeContent() |
498
|
|
|
* @method $this withAuthorizeContent($value) |
499
|
|
|
* @method string getIsOpenPublicIp() |
500
|
|
|
* @method $this withIsOpenPublicIp($value) |
501
|
|
|
* @method string getPeriod() |
502
|
|
|
* @method $this withPeriod($value) |
503
|
|
|
* @method string getInstanceGeneration() |
504
|
|
|
* @method $this withInstanceGeneration($value) |
505
|
|
|
* @method string getVSwitchId() |
506
|
|
|
* @method $this withVSwitchId($value) |
507
|
|
|
* @method string getClusterType() |
508
|
|
|
* @method $this withClusterType($value) |
509
|
|
|
* @method string getExtraAttributes() |
510
|
|
|
* @method $this withExtraAttributes($value) |
511
|
|
|
* @method string getAutoRenew() |
512
|
|
|
* @method $this withAutoRenew($value) |
513
|
|
|
* @method array getOptionSoftWareList() |
514
|
|
|
* @method string getNetType() |
515
|
|
|
* @method $this withNetType($value) |
516
|
|
|
* @method string getName() |
517
|
|
|
* @method $this withName($value) |
518
|
|
|
* @method string getZoneId() |
519
|
|
|
* @method $this withZoneId($value) |
520
|
|
|
* @method string getUseCustomHiveMetaDB() |
521
|
|
|
* @method $this withUseCustomHiveMetaDB($value) |
522
|
|
|
* @method string getInitCustomHiveMetaDB() |
523
|
|
|
* @method $this withInitCustomHiveMetaDB($value) |
524
|
|
|
* @method string getClientToken() |
525
|
|
|
* @method $this withClientToken($value) |
526
|
|
|
* @method string getIoOptimized() |
527
|
|
|
* @method $this withIoOptimized($value) |
528
|
|
|
* @method string getSecurityGroupId() |
529
|
|
|
* @method $this withSecurityGroupId($value) |
530
|
|
|
* @method string getEasEnable() |
531
|
|
|
* @method $this withEasEnable($value) |
532
|
|
|
* @method string getDepositType() |
533
|
|
|
* @method $this withDepositType($value) |
534
|
|
|
* @method string getDataDiskKMSKeyId() |
535
|
|
|
* @method $this withDataDiskKMSKeyId($value) |
536
|
|
|
* @method string getUseLocalMetaDb() |
537
|
|
|
* @method $this withUseLocalMetaDb($value) |
538
|
|
|
* @method array getUserInfo() |
539
|
|
|
* @method string getUserDefinedEmrEcsRole() |
540
|
|
|
* @method $this withUserDefinedEmrEcsRole($value) |
541
|
|
|
* @method string getDataDiskEncrypted() |
542
|
|
|
* @method $this withDataDiskEncrypted($value) |
543
|
|
|
* @method string getWhiteListType() |
544
|
|
|
* @method $this withWhiteListType($value) |
545
|
|
|
* @method string getRelatedClusterId() |
546
|
|
|
* @method $this withRelatedClusterId($value) |
547
|
|
|
* @method string getVpcId() |
548
|
|
|
* @method $this withVpcId($value) |
549
|
|
|
* @method array getPromotionInfo() |
550
|
|
|
* @method array getHostGroup() |
551
|
|
|
* @method string getChargeType() |
552
|
|
|
* @method $this withChargeType($value) |
553
|
|
|
* @method array getServiceInfo() |
554
|
|
|
* @method array getConfig() |
555
|
|
|
* @method string getHighAvailabilityEnable() |
556
|
|
|
* @method $this withHighAvailabilityEnable($value) |
557
|
|
|
*/ |
558
|
|
|
class CreateClusterV2 extends Rpc |
559
|
|
|
{ |
560
|
|
|
|
561
|
|
|
/** |
562
|
|
|
* @param array $hostComponentInfo |
563
|
|
|
* |
564
|
|
|
* @return $this |
565
|
|
|
*/ |
566
|
|
|
public function withHostComponentInfo(array $hostComponentInfo) |
567
|
|
|
{ |
568
|
|
|
$this->data['HostComponentInfo'] = $hostComponentInfo; |
569
|
|
|
foreach ($hostComponentInfo as $depth1 => $depth1Value) { |
570
|
|
|
if(isset($depth1Value['HostName'])){ |
571
|
|
|
$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName']; |
572
|
|
|
} |
573
|
|
|
foreach ($depth1Value['ComponentNameList'] as $i => $iValue) { |
574
|
|
|
$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ComponentNameList.' . ($i + 1)] = $iValue; |
575
|
|
|
} |
576
|
|
|
if(isset($depth1Value['ServiceName'])){ |
577
|
|
|
$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName']; |
578
|
|
|
} |
579
|
|
|
} |
580
|
|
|
|
581
|
|
|
return $this; |
582
|
|
|
} |
583
|
|
|
|
584
|
|
|
/** |
585
|
|
|
* @param array $bootstrapAction |
586
|
|
|
* |
587
|
|
|
* @return $this |
588
|
|
|
*/ |
589
|
|
|
public function withBootstrapAction(array $bootstrapAction) |
590
|
|
|
{ |
591
|
|
|
$this->data['BootstrapAction'] = $bootstrapAction; |
592
|
|
|
foreach ($bootstrapAction as $depth1 => $depth1Value) { |
593
|
|
|
if(isset($depth1Value['Path'])){ |
594
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path']; |
595
|
|
|
} |
596
|
|
|
if(isset($depth1Value['ExecutionTarget'])){ |
597
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget']; |
598
|
|
|
} |
599
|
|
|
if(isset($depth1Value['ExecutionMoment'])){ |
600
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment']; |
601
|
|
|
} |
602
|
|
|
if(isset($depth1Value['Arg'])){ |
603
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg']; |
604
|
|
|
} |
605
|
|
|
if(isset($depth1Value['Name'])){ |
606
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name']; |
607
|
|
|
} |
608
|
|
|
if(isset($depth1Value['ExecutionFailStrategy'])){ |
609
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy']; |
610
|
|
|
} |
611
|
|
|
} |
612
|
|
|
|
613
|
|
|
return $this; |
614
|
|
|
} |
615
|
|
|
|
616
|
|
|
/** |
617
|
|
|
* @param array $tag |
618
|
|
|
* |
619
|
|
|
* @return $this |
620
|
|
|
*/ |
621
|
|
|
public function withTag(array $tag) |
622
|
|
|
{ |
623
|
|
|
$this->data['Tag'] = $tag; |
624
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
625
|
|
|
if(isset($depth1Value['Value'])){ |
626
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
627
|
|
|
} |
628
|
|
|
if(isset($depth1Value['Key'])){ |
629
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
630
|
|
|
} |
631
|
|
|
} |
632
|
|
|
|
633
|
|
|
return $this; |
634
|
|
|
} |
635
|
|
|
|
636
|
|
|
/** |
637
|
|
|
* @param array $optionSoftWareList |
638
|
|
|
* |
639
|
|
|
* @return $this |
640
|
|
|
*/ |
641
|
|
|
public function withOptionSoftWareList(array $optionSoftWareList) |
642
|
|
|
{ |
643
|
|
|
$this->data['OptionSoftWareList'] = $optionSoftWareList; |
644
|
|
|
foreach ($optionSoftWareList as $i => $iValue) { |
645
|
|
|
$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue; |
646
|
|
|
} |
647
|
|
|
|
648
|
|
|
return $this; |
649
|
|
|
} |
650
|
|
|
|
651
|
|
|
/** |
652
|
|
|
* @param array $userInfo |
653
|
|
|
* |
654
|
|
|
* @return $this |
655
|
|
|
*/ |
656
|
|
|
public function withUserInfo(array $userInfo) |
657
|
|
|
{ |
658
|
|
|
$this->data['UserInfo'] = $userInfo; |
659
|
|
|
foreach ($userInfo as $depth1 => $depth1Value) { |
660
|
|
|
if(isset($depth1Value['Password'])){ |
661
|
|
|
$this->options['query']['UserInfo.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password']; |
662
|
|
|
} |
663
|
|
|
if(isset($depth1Value['UserId'])){ |
664
|
|
|
$this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId']; |
665
|
|
|
} |
666
|
|
|
if(isset($depth1Value['UserName'])){ |
667
|
|
|
$this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName']; |
668
|
|
|
} |
669
|
|
|
} |
670
|
|
|
|
671
|
|
|
return $this; |
672
|
|
|
} |
673
|
|
|
|
674
|
|
|
/** |
675
|
|
|
* @param array $promotionInfo |
676
|
|
|
* |
677
|
|
|
* @return $this |
678
|
|
|
*/ |
679
|
|
|
public function withPromotionInfo(array $promotionInfo) |
680
|
|
|
{ |
681
|
|
|
$this->data['PromotionInfo'] = $promotionInfo; |
682
|
|
|
foreach ($promotionInfo as $depth1 => $depth1Value) { |
683
|
|
|
if(isset($depth1Value['PromotionOptionCode'])){ |
684
|
|
|
$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionCode'] = $depth1Value['PromotionOptionCode']; |
685
|
|
|
} |
686
|
|
|
if(isset($depth1Value['ProductCode'])){ |
687
|
|
|
$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.ProductCode'] = $depth1Value['ProductCode']; |
688
|
|
|
} |
689
|
|
|
if(isset($depth1Value['PromotionOptionNo'])){ |
690
|
|
|
$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionNo'] = $depth1Value['PromotionOptionNo']; |
691
|
|
|
} |
692
|
|
|
} |
693
|
|
|
|
694
|
|
|
return $this; |
695
|
|
|
} |
696
|
|
|
|
697
|
|
|
/** |
698
|
|
|
* @param array $hostGroup |
699
|
|
|
* |
700
|
|
|
* @return $this |
701
|
|
|
*/ |
702
|
|
|
public function withHostGroup(array $hostGroup) |
703
|
|
|
{ |
704
|
|
|
$this->data['HostGroup'] = $hostGroup; |
705
|
|
|
foreach ($hostGroup as $depth1 => $depth1Value) { |
706
|
|
|
if(isset($depth1Value['Period'])){ |
707
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period']; |
708
|
|
|
} |
709
|
|
|
if(isset($depth1Value['SysDiskCapacity'])){ |
710
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity']; |
711
|
|
|
} |
712
|
|
|
if(isset($depth1Value['PrivatePoolOptionsId'])){ |
713
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsId'] = $depth1Value['PrivatePoolOptionsId']; |
714
|
|
|
} |
715
|
|
|
if(isset($depth1Value['DiskCapacity'])){ |
716
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity']; |
717
|
|
|
} |
718
|
|
|
if(isset($depth1Value['SysDiskType'])){ |
719
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType']; |
720
|
|
|
} |
721
|
|
|
if(isset($depth1Value['ClusterId'])){ |
722
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId']; |
723
|
|
|
} |
724
|
|
|
if(isset($depth1Value['DiskType'])){ |
725
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType']; |
726
|
|
|
} |
727
|
|
|
if(isset($depth1Value['HostGroupName'])){ |
728
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName']; |
729
|
|
|
} |
730
|
|
|
if(isset($depth1Value['VSwitchId'])){ |
731
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId']; |
732
|
|
|
} |
733
|
|
|
if(isset($depth1Value['DiskCount'])){ |
734
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount']; |
735
|
|
|
} |
736
|
|
|
if(isset($depth1Value['AutoRenew'])){ |
737
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew']; |
738
|
|
|
} |
739
|
|
|
if(isset($depth1Value['GpuDriver'])){ |
740
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.GpuDriver'] = $depth1Value['GpuDriver']; |
741
|
|
|
} |
742
|
|
|
if(isset($depth1Value['HostGroupId'])){ |
743
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId']; |
744
|
|
|
} |
745
|
|
|
if(isset($depth1Value['NodeCount'])){ |
746
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount']; |
747
|
|
|
} |
748
|
|
|
if(isset($depth1Value['InstanceType'])){ |
749
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType']; |
750
|
|
|
} |
751
|
|
|
if(isset($depth1Value['Comment'])){ |
752
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment']; |
753
|
|
|
} |
754
|
|
|
if(isset($depth1Value['ChargeType'])){ |
755
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType']; |
756
|
|
|
} |
757
|
|
|
if(isset($depth1Value['CreateType'])){ |
758
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType']; |
759
|
|
|
} |
760
|
|
|
if(isset($depth1Value['HostGroupType'])){ |
761
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType']; |
762
|
|
|
} |
763
|
|
|
if(isset($depth1Value['PrivatePoolOptionsMatchCriteria'])){ |
764
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsMatchCriteria'] = $depth1Value['PrivatePoolOptionsMatchCriteria']; |
765
|
|
|
} |
766
|
|
|
} |
767
|
|
|
|
768
|
|
|
return $this; |
769
|
|
|
} |
770
|
|
|
|
771
|
|
|
/** |
772
|
|
|
* @param array $serviceInfo |
773
|
|
|
* |
774
|
|
|
* @return $this |
775
|
|
|
*/ |
776
|
|
|
public function withServiceInfo(array $serviceInfo) |
777
|
|
|
{ |
778
|
|
|
$this->data['ServiceInfo'] = $serviceInfo; |
779
|
|
|
foreach ($serviceInfo as $depth1 => $depth1Value) { |
780
|
|
|
if(isset($depth1Value['ServiceVersion'])){ |
781
|
|
|
$this->options['query']['ServiceInfo.' . ($depth1 + 1) . '.ServiceVersion'] = $depth1Value['ServiceVersion']; |
782
|
|
|
} |
783
|
|
|
if(isset($depth1Value['ServiceName'])){ |
784
|
|
|
$this->options['query']['ServiceInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName']; |
785
|
|
|
} |
786
|
|
|
} |
787
|
|
|
|
788
|
|
|
return $this; |
789
|
|
|
} |
790
|
|
|
|
791
|
|
|
/** |
792
|
|
|
* @param array $config |
793
|
|
|
* |
794
|
|
|
* @return $this |
795
|
|
|
*/ |
796
|
|
|
public function withConfig(array $config) |
797
|
|
|
{ |
798
|
|
|
$this->data['Config'] = $config; |
799
|
|
|
foreach ($config as $depth1 => $depth1Value) { |
800
|
|
|
if(isset($depth1Value['ConfigKey'])){ |
801
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey']; |
802
|
|
|
} |
803
|
|
|
if(isset($depth1Value['FileName'])){ |
804
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName']; |
805
|
|
|
} |
806
|
|
|
if(isset($depth1Value['Encrypt'])){ |
807
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt']; |
808
|
|
|
} |
809
|
|
|
if(isset($depth1Value['Replace'])){ |
810
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace']; |
811
|
|
|
} |
812
|
|
|
if(isset($depth1Value['ConfigValue'])){ |
813
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue']; |
814
|
|
|
} |
815
|
|
|
if(isset($depth1Value['ServiceName'])){ |
816
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName']; |
817
|
|
|
} |
818
|
|
|
} |
819
|
|
|
|
820
|
|
|
return $this; |
821
|
|
|
} |
822
|
|
|
} |
823
|
|
|
|
824
|
|
|
/** |
825
|
|
|
* @method string getResourceOwnerId() |
826
|
|
|
* @method $this withResourceOwnerId($value) |
827
|
|
|
* @method string getUniqueTag() |
828
|
|
|
* @method $this withUniqueTag($value) |
829
|
|
|
* @method string getClusterName() |
830
|
|
|
* @method $this withClusterName($value) |
831
|
|
|
* @method string getResourceGroupId() |
832
|
|
|
* @method $this withResourceGroupId($value) |
833
|
|
|
* @method string getTemplateBizId() |
834
|
|
|
* @method $this withTemplateBizId($value) |
835
|
|
|
*/ |
836
|
|
|
class CreateClusterWithTemplate extends Rpc |
837
|
|
|
{ |
838
|
|
|
} |
839
|
|
|
|
840
|
|
|
/** |
841
|
|
|
* @method string getCronExpr() |
842
|
|
|
* @method $this withCronExpr($value) |
843
|
|
|
* @method string getDescription() |
844
|
|
|
* @method $this withDescription($value) |
845
|
|
|
* @method string getAlertUserGroupBizId() |
846
|
|
|
* @method $this withAlertUserGroupBizId($value) |
847
|
|
|
* @method string getLifecycle() |
848
|
|
|
* @method $this withLifecycle($value) |
849
|
|
|
* @method string getHostName() |
850
|
|
|
* @method $this withHostName($value) |
851
|
|
|
* @method string getCreateCluster() |
852
|
|
|
* @method $this withCreateCluster($value) |
853
|
|
|
* @method string getEndSchedule() |
854
|
|
|
* @method $this withEndSchedule($value) |
855
|
|
|
* @method string getAlertConf() |
856
|
|
|
* @method $this withAlertConf($value) |
857
|
|
|
* @method string getProjectId() |
858
|
|
|
* @method $this withProjectId($value) |
859
|
|
|
* @method string getParentFlowList() |
860
|
|
|
* @method $this withParentFlowList($value) |
861
|
|
|
* @method string getLogArchiveLocation() |
862
|
|
|
* @method $this withLogArchiveLocation($value) |
863
|
|
|
* @method string getAlertDingDingGroupBizId() |
864
|
|
|
* @method $this withAlertDingDingGroupBizId($value) |
865
|
|
|
* @method string getStartSchedule() |
866
|
|
|
* @method $this withStartSchedule($value) |
867
|
|
|
* @method string getClusterId() |
868
|
|
|
* @method $this withClusterId($value) |
869
|
|
|
* @method string getApplication() |
870
|
|
|
* @method $this withApplication($value) |
871
|
|
|
* @method string getName() |
872
|
|
|
* @method $this withName($value) |
873
|
|
|
* @method string getNamespace() |
874
|
|
|
* @method $this withNamespace($value) |
875
|
|
|
* @method string getParentCategory() |
876
|
|
|
* @method $this withParentCategory($value) |
877
|
|
|
*/ |
878
|
|
|
class CreateFlow extends Rpc |
879
|
|
|
{ |
880
|
|
|
} |
881
|
|
|
|
882
|
|
|
/** |
883
|
|
|
* @method string getType() |
884
|
|
|
* @method $this withType($value) |
885
|
|
|
* @method string getParentId() |
886
|
|
|
* @method $this withParentId($value) |
887
|
|
|
* @method string getName() |
888
|
|
|
* @method $this withName($value) |
889
|
|
|
* @method string getProjectId() |
890
|
|
|
* @method $this withProjectId($value) |
891
|
|
|
*/ |
892
|
|
|
class CreateFlowCategory extends Rpc |
893
|
|
|
{ |
894
|
|
|
} |
895
|
|
|
|
896
|
|
|
/** |
897
|
|
|
* @method string getCronExpr() |
898
|
|
|
* @method $this withCronExpr($value) |
899
|
|
|
* @method string getDescription() |
900
|
|
|
* @method $this withDescription($value) |
901
|
|
|
* @method string getAlertUserGroupBizId() |
902
|
|
|
* @method $this withAlertUserGroupBizId($value) |
903
|
|
|
* @method string getLifecycle() |
904
|
|
|
* @method $this withLifecycle($value) |
905
|
|
|
* @method string getHostName() |
906
|
|
|
* @method $this withHostName($value) |
907
|
|
|
* @method string getCreateCluster() |
908
|
|
|
* @method $this withCreateCluster($value) |
909
|
|
|
* @method string getEndSchedule() |
910
|
|
|
* @method $this withEndSchedule($value) |
911
|
|
|
* @method string getAlertConf() |
912
|
|
|
* @method $this withAlertConf($value) |
913
|
|
|
* @method string getProjectId() |
914
|
|
|
* @method $this withProjectId($value) |
915
|
|
|
* @method string getParentFlowList() |
916
|
|
|
* @method $this withParentFlowList($value) |
917
|
|
|
* @method string getLogArchiveLocation() |
918
|
|
|
* @method $this withLogArchiveLocation($value) |
919
|
|
|
* @method string getAlertDingDingGroupBizId() |
920
|
|
|
* @method $this withAlertDingDingGroupBizId($value) |
921
|
|
|
* @method string getStartSchedule() |
922
|
|
|
* @method $this withStartSchedule($value) |
923
|
|
|
* @method string getClusterId() |
924
|
|
|
* @method $this withClusterId($value) |
925
|
|
|
* @method string getGraph() |
926
|
|
|
* @method $this withGraph($value) |
927
|
|
|
* @method string getName() |
928
|
|
|
* @method $this withName($value) |
929
|
|
|
* @method string getNamespace() |
930
|
|
|
* @method $this withNamespace($value) |
931
|
|
|
* @method string getParentCategory() |
932
|
|
|
* @method $this withParentCategory($value) |
933
|
|
|
*/ |
934
|
|
|
class CreateFlowForWeb extends Rpc |
935
|
|
|
{ |
936
|
|
|
} |
937
|
|
|
|
938
|
|
|
/** |
939
|
|
|
* @method string getRetryPolicy() |
940
|
|
|
* @method $this withRetryPolicy($value) |
941
|
|
|
* @method string getRunConf() |
942
|
|
|
* @method string getDescription() |
943
|
|
|
* @method string getType() |
944
|
|
|
* @method $this withType($value) |
945
|
|
|
* @method string getParamConf() |
946
|
|
|
* @method array getResourceList() |
947
|
|
|
* @method string getFailAct() |
948
|
|
|
* @method $this withFailAct($value) |
949
|
|
|
* @method string getMode() |
950
|
|
|
* @method $this withMode($value) |
951
|
|
|
* @method string getMonitorConf() |
952
|
|
|
* @method string getMaxRetry() |
953
|
|
|
* @method $this withMaxRetry($value) |
954
|
|
|
* @method string getAlertConf() |
955
|
|
|
* @method $this withAlertConf($value) |
956
|
|
|
* @method string getProjectId() |
957
|
|
|
* @method $this withProjectId($value) |
958
|
|
|
* @method string getEnvConf() |
959
|
|
|
* @method string getMaxRunningTimeSec() |
960
|
|
|
* @method $this withMaxRunningTimeSec($value) |
961
|
|
|
* @method string getClusterId() |
962
|
|
|
* @method $this withClusterId($value) |
963
|
|
|
* @method string getParams() |
964
|
|
|
* @method string getCustomVariables() |
965
|
|
|
* @method string getRetryInterval() |
966
|
|
|
* @method $this withRetryInterval($value) |
967
|
|
|
* @method string getName() |
968
|
|
|
* @method $this withName($value) |
969
|
|
|
* @method string getAdhoc() |
970
|
|
|
* @method $this withAdhoc($value) |
971
|
|
|
* @method string getParentCategory() |
972
|
|
|
* @method $this withParentCategory($value) |
973
|
|
|
*/ |
974
|
|
|
class CreateFlowJob extends Rpc |
975
|
|
|
{ |
976
|
|
|
|
977
|
|
|
/** |
978
|
|
|
* @param string $value |
979
|
|
|
* |
980
|
|
|
* @return $this |
981
|
|
|
*/ |
982
|
|
|
public function withRunConf($value) |
983
|
|
|
{ |
984
|
|
|
$this->data['RunConf'] = $value; |
985
|
|
|
$this->options['form_params']['RunConf'] = $value; |
986
|
|
|
|
987
|
|
|
return $this; |
988
|
|
|
} |
989
|
|
|
|
990
|
|
|
/** |
991
|
|
|
* @param string $value |
992
|
|
|
* |
993
|
|
|
* @return $this |
994
|
|
|
*/ |
995
|
|
|
public function withDescription($value) |
996
|
|
|
{ |
997
|
|
|
$this->data['Description'] = $value; |
998
|
|
|
$this->options['form_params']['Description'] = $value; |
999
|
|
|
|
1000
|
|
|
return $this; |
1001
|
|
|
} |
1002
|
|
|
|
1003
|
|
|
/** |
1004
|
|
|
* @param string $value |
1005
|
|
|
* |
1006
|
|
|
* @return $this |
1007
|
|
|
*/ |
1008
|
|
|
public function withParamConf($value) |
1009
|
|
|
{ |
1010
|
|
|
$this->data['ParamConf'] = $value; |
1011
|
|
|
$this->options['form_params']['ParamConf'] = $value; |
1012
|
|
|
|
1013
|
|
|
return $this; |
1014
|
|
|
} |
1015
|
|
|
|
1016
|
|
|
/** |
1017
|
|
|
* @param array $resourceList |
1018
|
|
|
* |
1019
|
|
|
* @return $this |
1020
|
|
|
*/ |
1021
|
|
|
public function withResourceList(array $resourceList) |
1022
|
|
|
{ |
1023
|
|
|
$this->data['ResourceList'] = $resourceList; |
1024
|
|
|
foreach ($resourceList as $depth1 => $depth1Value) { |
1025
|
|
|
if(isset($depth1Value['Path'])){ |
1026
|
|
|
$this->options['form_params']['ResourceList.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path']; |
1027
|
|
|
} |
1028
|
|
|
if(isset($depth1Value['Alias'])){ |
1029
|
|
|
$this->options['form_params']['ResourceList.' . ($depth1 + 1) . '.Alias'] = $depth1Value['Alias']; |
1030
|
|
|
} |
1031
|
|
|
} |
1032
|
|
|
|
1033
|
|
|
return $this; |
1034
|
|
|
} |
1035
|
|
|
|
1036
|
|
|
/** |
1037
|
|
|
* @param string $value |
1038
|
|
|
* |
1039
|
|
|
* @return $this |
1040
|
|
|
*/ |
1041
|
|
|
public function withMonitorConf($value) |
1042
|
|
|
{ |
1043
|
|
|
$this->data['MonitorConf'] = $value; |
1044
|
|
|
$this->options['form_params']['MonitorConf'] = $value; |
1045
|
|
|
|
1046
|
|
|
return $this; |
1047
|
|
|
} |
1048
|
|
|
|
1049
|
|
|
/** |
1050
|
|
|
* @param string $value |
1051
|
|
|
* |
1052
|
|
|
* @return $this |
1053
|
|
|
*/ |
1054
|
|
|
public function withEnvConf($value) |
1055
|
|
|
{ |
1056
|
|
|
$this->data['EnvConf'] = $value; |
1057
|
|
|
$this->options['form_params']['EnvConf'] = $value; |
1058
|
|
|
|
1059
|
|
|
return $this; |
1060
|
|
|
} |
1061
|
|
|
|
1062
|
|
|
/** |
1063
|
|
|
* @param string $value |
1064
|
|
|
* |
1065
|
|
|
* @return $this |
1066
|
|
|
*/ |
1067
|
|
|
public function withParams($value) |
1068
|
|
|
{ |
1069
|
|
|
$this->data['Params'] = $value; |
1070
|
|
|
$this->options['form_params']['Params'] = $value; |
1071
|
|
|
|
1072
|
|
|
return $this; |
1073
|
|
|
} |
1074
|
|
|
|
1075
|
|
|
/** |
1076
|
|
|
* @param string $value |
1077
|
|
|
* |
1078
|
|
|
* @return $this |
1079
|
|
|
*/ |
1080
|
|
|
public function withCustomVariables($value) |
1081
|
|
|
{ |
1082
|
|
|
$this->data['CustomVariables'] = $value; |
1083
|
|
|
$this->options['form_params']['CustomVariables'] = $value; |
1084
|
|
|
|
1085
|
|
|
return $this; |
1086
|
|
|
} |
1087
|
|
|
} |
1088
|
|
|
|
1089
|
|
|
/** |
1090
|
|
|
* @method string getDescription() |
1091
|
|
|
* @method $this withDescription($value) |
1092
|
|
|
* @method string getProductType() |
1093
|
|
|
* @method $this withProductType($value) |
1094
|
|
|
* @method string getResourceGroupId() |
1095
|
|
|
* @method $this withResourceGroupId($value) |
1096
|
|
|
* @method string getName() |
1097
|
|
|
* @method $this withName($value) |
1098
|
|
|
*/ |
1099
|
|
|
class CreateFlowProject extends Rpc |
1100
|
|
|
{ |
1101
|
|
|
} |
1102
|
|
|
|
1103
|
|
|
/** |
1104
|
|
|
* @method array getUserList() |
1105
|
|
|
* @method array getHostList() |
1106
|
|
|
* @method string getClusterId() |
1107
|
|
|
* @method $this withClusterId($value) |
1108
|
|
|
* @method string getDefaultQueue() |
1109
|
|
|
* @method $this withDefaultQueue($value) |
1110
|
|
|
* @method string getDefaultUser() |
1111
|
|
|
* @method $this withDefaultUser($value) |
1112
|
|
|
* @method array getQueueList() |
1113
|
|
|
* @method string getProjectId() |
1114
|
|
|
* @method $this withProjectId($value) |
1115
|
|
|
*/ |
1116
|
|
|
class CreateFlowProjectClusterSetting extends Rpc |
1117
|
|
|
{ |
1118
|
|
|
|
1119
|
|
|
/** |
1120
|
|
|
* @param array $userList |
1121
|
|
|
* |
1122
|
|
|
* @return $this |
1123
|
|
|
*/ |
1124
|
|
|
public function withUserList(array $userList) |
1125
|
|
|
{ |
1126
|
|
|
$this->data['UserList'] = $userList; |
1127
|
|
|
foreach ($userList as $i => $iValue) { |
1128
|
|
|
$this->options['query']['UserList.' . ($i + 1)] = $iValue; |
1129
|
|
|
} |
1130
|
|
|
|
1131
|
|
|
return $this; |
1132
|
|
|
} |
1133
|
|
|
|
1134
|
|
|
/** |
1135
|
|
|
* @param array $hostList |
1136
|
|
|
* |
1137
|
|
|
* @return $this |
1138
|
|
|
*/ |
1139
|
|
|
public function withHostList(array $hostList) |
1140
|
|
|
{ |
1141
|
|
|
$this->data['HostList'] = $hostList; |
1142
|
|
|
foreach ($hostList as $i => $iValue) { |
1143
|
|
|
$this->options['query']['HostList.' . ($i + 1)] = $iValue; |
1144
|
|
|
} |
1145
|
|
|
|
1146
|
|
|
return $this; |
1147
|
|
|
} |
1148
|
|
|
|
1149
|
|
|
/** |
1150
|
|
|
* @param array $queueList |
1151
|
|
|
* |
1152
|
|
|
* @return $this |
1153
|
|
|
*/ |
1154
|
|
|
public function withQueueList(array $queueList) |
1155
|
|
|
{ |
1156
|
|
|
$this->data['QueueList'] = $queueList; |
1157
|
|
|
foreach ($queueList as $i => $iValue) { |
1158
|
|
|
$this->options['query']['QueueList.' . ($i + 1)] = $iValue; |
1159
|
|
|
} |
1160
|
|
|
|
1161
|
|
|
return $this; |
1162
|
|
|
} |
1163
|
|
|
} |
1164
|
|
|
|
1165
|
|
|
/** |
1166
|
|
|
* @method string getProjectId() |
1167
|
|
|
* @method $this withProjectId($value) |
1168
|
|
|
* @method array getUser() |
1169
|
|
|
*/ |
1170
|
|
|
class CreateFlowProjectUser extends Rpc |
1171
|
|
|
{ |
1172
|
|
|
|
1173
|
|
|
/** |
1174
|
|
|
* @param array $user |
1175
|
|
|
* |
1176
|
|
|
* @return $this |
1177
|
|
|
*/ |
1178
|
|
|
public function withUser(array $user) |
1179
|
|
|
{ |
1180
|
|
|
$this->data['User'] = $user; |
1181
|
|
|
foreach ($user as $depth1 => $depth1Value) { |
1182
|
|
|
if(isset($depth1Value['UserId'])){ |
1183
|
|
|
$this->options['query']['User.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId']; |
1184
|
|
|
} |
1185
|
|
|
if(isset($depth1Value['UserName'])){ |
1186
|
|
|
$this->options['query']['User.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName']; |
1187
|
|
|
} |
1188
|
|
|
} |
1189
|
|
|
|
1190
|
|
|
return $this; |
1191
|
|
|
} |
1192
|
|
|
} |
1193
|
|
|
|
1194
|
|
|
/** |
1195
|
|
|
* @method string getNote() |
1196
|
|
|
* @method $this withNote($value) |
1197
|
|
|
* @method string getResourceOwnerId() |
1198
|
|
|
* @method $this withResourceOwnerId($value) |
1199
|
|
|
* @method string getActive() |
1200
|
|
|
* @method $this withActive($value) |
1201
|
|
|
* @method string getClusterId() |
1202
|
|
|
* @method $this withClusterId($value) |
1203
|
|
|
* @method string getYarnSiteConfig() |
1204
|
|
|
* @method $this withYarnSiteConfig($value) |
1205
|
|
|
* @method string getName() |
1206
|
|
|
* @method $this withName($value) |
1207
|
|
|
* @method array getConfig() |
1208
|
|
|
* @method string getPoolType() |
1209
|
|
|
* @method $this withPoolType($value) |
1210
|
|
|
*/ |
1211
|
|
|
class CreateResourcePool extends Rpc |
1212
|
|
|
{ |
1213
|
|
|
|
1214
|
|
|
/** |
1215
|
|
|
* @param array $config |
1216
|
|
|
* |
1217
|
|
|
* @return $this |
1218
|
|
|
*/ |
1219
|
|
|
public function withConfig(array $config) |
1220
|
|
|
{ |
1221
|
|
|
$this->data['Config'] = $config; |
1222
|
|
|
foreach ($config as $depth1 => $depth1Value) { |
1223
|
|
|
if(isset($depth1Value['ConfigKey'])){ |
1224
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey']; |
1225
|
|
|
} |
1226
|
|
|
if(isset($depth1Value['Note'])){ |
1227
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note']; |
1228
|
|
|
} |
1229
|
|
|
if(isset($depth1Value['ConfigType'])){ |
1230
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.configType'] = $depth1Value['ConfigType']; |
1231
|
|
|
} |
1232
|
|
|
if(isset($depth1Value['TargetId'])){ |
1233
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.TargetId'] = $depth1Value['TargetId']; |
1234
|
|
|
} |
1235
|
|
|
if(isset($depth1Value['ConfigValue'])){ |
1236
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue']; |
1237
|
|
|
} |
1238
|
|
|
if(isset($depth1Value['Category'])){ |
1239
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category']; |
1240
|
|
|
} |
1241
|
|
|
} |
1242
|
|
|
|
1243
|
|
|
return $this; |
1244
|
|
|
} |
1245
|
|
|
} |
1246
|
|
|
|
1247
|
|
|
/** |
1248
|
|
|
* @method string getResourceOwnerId() |
1249
|
|
|
* @method $this withResourceOwnerId($value) |
1250
|
|
|
* @method string getQualifiedName() |
1251
|
|
|
* @method $this withQualifiedName($value) |
1252
|
|
|
* @method string getResourcePoolId() |
1253
|
|
|
* @method $this withResourcePoolId($value) |
1254
|
|
|
* @method string getClusterId() |
1255
|
|
|
* @method $this withClusterId($value) |
1256
|
|
|
* @method string getLeaf() |
1257
|
|
|
* @method $this withLeaf($value) |
1258
|
|
|
* @method string getParentQueueId() |
1259
|
|
|
* @method $this withParentQueueId($value) |
1260
|
|
|
* @method string getName() |
1261
|
|
|
* @method $this withName($value) |
1262
|
|
|
* @method array getConfig() |
1263
|
|
|
*/ |
1264
|
|
|
class CreateResourceQueue extends Rpc |
1265
|
|
|
{ |
1266
|
|
|
|
1267
|
|
|
/** |
1268
|
|
|
* @param array $config |
1269
|
|
|
* |
1270
|
|
|
* @return $this |
1271
|
|
|
*/ |
1272
|
|
|
public function withConfig(array $config) |
1273
|
|
|
{ |
1274
|
|
|
$this->data['Config'] = $config; |
1275
|
|
|
foreach ($config as $depth1 => $depth1Value) { |
1276
|
|
|
if(isset($depth1Value['ConfigKey'])){ |
1277
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey']; |
1278
|
|
|
} |
1279
|
|
|
if(isset($depth1Value['Note'])){ |
1280
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note']; |
1281
|
|
|
} |
1282
|
|
|
if(isset($depth1Value['ConfigValue'])){ |
1283
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue']; |
1284
|
|
|
} |
1285
|
|
|
if(isset($depth1Value['Category'])){ |
1286
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category']; |
1287
|
|
|
} |
1288
|
|
|
} |
1289
|
|
|
|
1290
|
|
|
return $this; |
1291
|
|
|
} |
1292
|
|
|
} |
1293
|
|
|
|
1294
|
|
|
/** |
1295
|
|
|
* @method string getResourceOwnerId() |
1296
|
|
|
* @method $this withResourceOwnerId($value) |
1297
|
|
|
* @method string getDescription() |
1298
|
|
|
* @method $this withDescription($value) |
1299
|
|
|
* @method string getResourceGroupId() |
1300
|
|
|
* @method $this withResourceGroupId($value) |
1301
|
|
|
* @method string getHostGroupId() |
1302
|
|
|
* @method $this withHostGroupId($value) |
1303
|
|
|
* @method string getName() |
1304
|
|
|
* @method $this withName($value) |
1305
|
|
|
*/ |
1306
|
|
|
class CreateScalingGroupV2 extends Rpc |
1307
|
|
|
{ |
1308
|
|
|
} |
1309
|
|
|
|
1310
|
|
|
/** |
1311
|
|
|
* @method string getResourceOwnerId() |
1312
|
|
|
* @method $this withResourceOwnerId($value) |
1313
|
|
|
* @method string getResourceGroupId() |
1314
|
|
|
* @method $this withResourceGroupId($value) |
1315
|
|
|
* @method string getBizId() |
1316
|
|
|
* @method $this withBizId($value) |
1317
|
|
|
*/ |
1318
|
|
|
class DeleteClusterTemplate extends Rpc |
1319
|
|
|
{ |
1320
|
|
|
} |
1321
|
|
|
|
1322
|
|
|
/** |
1323
|
|
|
* @method string getId() |
1324
|
|
|
* @method $this withId($value) |
1325
|
|
|
* @method string getProjectId() |
1326
|
|
|
* @method $this withProjectId($value) |
1327
|
|
|
*/ |
1328
|
|
|
class DeleteFlow extends Rpc |
1329
|
|
|
{ |
1330
|
|
|
} |
1331
|
|
|
|
1332
|
|
|
/** |
1333
|
|
|
* @method string getId() |
1334
|
|
|
* @method $this withId($value) |
1335
|
|
|
* @method string getProjectId() |
1336
|
|
|
* @method $this withProjectId($value) |
1337
|
|
|
*/ |
1338
|
|
|
class DeleteFlowCategory extends Rpc |
1339
|
|
|
{ |
1340
|
|
|
} |
1341
|
|
|
|
1342
|
|
|
/** |
1343
|
|
|
* @method string getId() |
1344
|
|
|
* @method $this withId($value) |
1345
|
|
|
* @method string getProjectId() |
1346
|
|
|
* @method $this withProjectId($value) |
1347
|
|
|
*/ |
1348
|
|
|
class DeleteFlowJob extends Rpc |
1349
|
|
|
{ |
1350
|
|
|
} |
1351
|
|
|
|
1352
|
|
|
/** |
1353
|
|
|
* @method string getProjectId() |
1354
|
|
|
* @method $this withProjectId($value) |
1355
|
|
|
*/ |
1356
|
|
|
class DeleteFlowProject extends Rpc |
1357
|
|
|
{ |
1358
|
|
|
} |
1359
|
|
|
|
1360
|
|
|
/** |
1361
|
|
|
* @method string getClusterId() |
1362
|
|
|
* @method $this withClusterId($value) |
1363
|
|
|
* @method string getProjectId() |
1364
|
|
|
* @method $this withProjectId($value) |
1365
|
|
|
*/ |
1366
|
|
|
class DeleteFlowProjectClusterSetting extends Rpc |
1367
|
|
|
{ |
1368
|
|
|
} |
1369
|
|
|
|
1370
|
|
|
/** |
1371
|
|
|
* @method string getProjectId() |
1372
|
|
|
* @method $this withProjectId($value) |
1373
|
|
|
* @method string getUserName() |
1374
|
|
|
* @method $this withUserName($value) |
1375
|
|
|
*/ |
1376
|
|
|
class DeleteFlowProjectUser extends Rpc |
1377
|
|
|
{ |
1378
|
|
|
} |
1379
|
|
|
|
1380
|
|
|
/** |
1381
|
|
|
* @method string getResourceOwnerId() |
1382
|
|
|
* @method $this withResourceOwnerId($value) |
1383
|
|
|
* @method string getResourcePoolId() |
1384
|
|
|
* @method $this withResourcePoolId($value) |
1385
|
|
|
* @method string getClusterId() |
1386
|
|
|
* @method $this withClusterId($value) |
1387
|
|
|
*/ |
1388
|
|
|
class DeleteResourcePool extends Rpc |
1389
|
|
|
{ |
1390
|
|
|
} |
1391
|
|
|
|
1392
|
|
|
/** |
1393
|
|
|
* @method string getResourceOwnerId() |
1394
|
|
|
* @method $this withResourceOwnerId($value) |
1395
|
|
|
* @method string getClusterId() |
1396
|
|
|
* @method $this withClusterId($value) |
1397
|
|
|
* @method string getResourceQueueId() |
1398
|
|
|
* @method $this withResourceQueueId($value) |
1399
|
|
|
*/ |
1400
|
|
|
class DeleteResourceQueue extends Rpc |
1401
|
|
|
{ |
1402
|
|
|
} |
1403
|
|
|
|
1404
|
|
|
/** |
1405
|
|
|
* @method string getResourceOwnerId() |
1406
|
|
|
* @method $this withResourceOwnerId($value) |
1407
|
|
|
* @method string getClusterId() |
1408
|
|
|
* @method $this withClusterId($value) |
1409
|
|
|
*/ |
1410
|
|
|
class DescribeClusterBasicInfo extends Rpc |
1411
|
|
|
{ |
1412
|
|
|
} |
1413
|
|
|
|
1414
|
|
|
/** |
1415
|
|
|
* @method string getResourceOwnerId() |
1416
|
|
|
* @method $this withResourceOwnerId($value) |
1417
|
|
|
* @method string getHostId() |
1418
|
|
|
* @method $this withHostId($value) |
1419
|
|
|
* @method string getClusterId() |
1420
|
|
|
* @method $this withClusterId($value) |
1421
|
|
|
* @method string getOperationId() |
1422
|
|
|
* @method $this withOperationId($value) |
1423
|
|
|
* @method string getTaskId() |
1424
|
|
|
* @method $this withTaskId($value) |
1425
|
|
|
* @method string getStatus() |
1426
|
|
|
* @method $this withStatus($value) |
1427
|
|
|
*/ |
1428
|
|
|
class DescribeClusterOperationHostTaskLog extends Rpc |
1429
|
|
|
{ |
1430
|
|
|
} |
1431
|
|
|
|
1432
|
|
|
/** |
1433
|
|
|
* @method string getResourceOwnerId() |
1434
|
|
|
* @method $this withResourceOwnerId($value) |
1435
|
|
|
* @method string getClusterId() |
1436
|
|
|
* @method $this withClusterId($value) |
1437
|
|
|
*/ |
1438
|
|
|
class DescribeClusterResourcePoolSchedulerType extends Rpc |
1439
|
|
|
{ |
1440
|
|
|
} |
1441
|
|
|
|
1442
|
|
|
/** |
1443
|
|
|
* @method string getResourceOwnerId() |
1444
|
|
|
* @method $this withResourceOwnerId($value) |
1445
|
|
|
* @method string getClusterId() |
1446
|
|
|
* @method $this withClusterId($value) |
1447
|
|
|
* @method string getServiceName() |
1448
|
|
|
* @method $this withServiceName($value) |
1449
|
|
|
*/ |
1450
|
|
|
class DescribeClusterService extends Rpc |
1451
|
|
|
{ |
1452
|
|
|
} |
1453
|
|
|
|
1454
|
|
|
/** |
1455
|
|
|
* @method string getResourceOwnerId() |
1456
|
|
|
* @method $this withResourceOwnerId($value) |
1457
|
|
|
* @method string getHostInstanceId() |
1458
|
|
|
* @method $this withHostInstanceId($value) |
1459
|
|
|
* @method string getTagValue() |
1460
|
|
|
* @method $this withTagValue($value) |
1461
|
|
|
* @method string getGroupId() |
1462
|
|
|
* @method $this withGroupId($value) |
1463
|
|
|
* @method string getClusterId() |
1464
|
|
|
* @method $this withClusterId($value) |
1465
|
|
|
* @method string getConfigVersion() |
1466
|
|
|
* @method $this withConfigVersion($value) |
1467
|
|
|
* @method string getServiceName() |
1468
|
|
|
* @method $this withServiceName($value) |
1469
|
|
|
*/ |
1470
|
|
|
class DescribeClusterServiceConfig extends Rpc |
1471
|
|
|
{ |
1472
|
|
|
} |
1473
|
|
|
|
1474
|
|
|
/** |
1475
|
|
|
* @method string getResourceOwnerId() |
1476
|
|
|
* @method $this withResourceOwnerId($value) |
1477
|
|
|
* @method string getClusterId() |
1478
|
|
|
* @method $this withClusterId($value) |
1479
|
|
|
* @method string getConfigTag() |
1480
|
|
|
* @method $this withConfigTag($value) |
1481
|
|
|
* @method string getServiceName() |
1482
|
|
|
* @method $this withServiceName($value) |
1483
|
|
|
*/ |
1484
|
|
|
class DescribeClusterServiceConfigTag extends Rpc |
1485
|
|
|
{ |
1486
|
|
|
} |
1487
|
|
|
|
1488
|
|
|
/** |
1489
|
|
|
* @method string getResourceOwnerId() |
1490
|
|
|
* @method $this withResourceOwnerId($value) |
1491
|
|
|
* @method string getResourceGroupId() |
1492
|
|
|
* @method $this withResourceGroupId($value) |
1493
|
|
|
* @method string getBizId() |
1494
|
|
|
* @method $this withBizId($value) |
1495
|
|
|
*/ |
1496
|
|
|
class DescribeClusterTemplate extends Rpc |
1497
|
|
|
{ |
1498
|
|
|
} |
1499
|
|
|
|
1500
|
|
|
/** |
1501
|
|
|
* @method string getResourceOwnerId() |
1502
|
|
|
* @method $this withResourceOwnerId($value) |
1503
|
|
|
* @method string getId() |
1504
|
|
|
* @method $this withId($value) |
1505
|
|
|
*/ |
1506
|
|
|
class DescribeClusterV2 extends Rpc |
1507
|
|
|
{ |
1508
|
|
|
} |
1509
|
|
|
|
1510
|
|
|
/** |
1511
|
|
|
* @method string getId() |
1512
|
|
|
* @method $this withId($value) |
1513
|
|
|
* @method string getProjectId() |
1514
|
|
|
* @method $this withProjectId($value) |
1515
|
|
|
*/ |
1516
|
|
|
class DescribeFlow extends Rpc |
1517
|
|
|
{ |
1518
|
|
|
} |
1519
|
|
|
|
1520
|
|
|
/** |
1521
|
|
|
* @method string getId() |
1522
|
|
|
* @method $this withId($value) |
1523
|
|
|
* @method string getProjectId() |
1524
|
|
|
* @method $this withProjectId($value) |
1525
|
|
|
*/ |
1526
|
|
|
class DescribeFlowCategory extends Rpc |
1527
|
|
|
{ |
1528
|
|
|
} |
1529
|
|
|
|
1530
|
|
|
/** |
1531
|
|
|
* @method string getType() |
1532
|
|
|
* @method $this withType($value) |
1533
|
|
|
* @method string getMode() |
1534
|
|
|
* @method $this withMode($value) |
1535
|
|
|
* @method string getKeyword() |
1536
|
|
|
* @method $this withKeyword($value) |
1537
|
|
|
* @method string getProjectId() |
1538
|
|
|
* @method $this withProjectId($value) |
1539
|
|
|
* @method string getCategoryId() |
1540
|
|
|
* @method $this withCategoryId($value) |
1541
|
|
|
*/ |
1542
|
|
|
class DescribeFlowCategoryTree extends Rpc |
1543
|
|
|
{ |
1544
|
|
|
} |
1545
|
|
|
|
1546
|
|
|
/** |
1547
|
|
|
* @method string getId() |
1548
|
|
|
* @method $this withId($value) |
1549
|
|
|
* @method string getProjectId() |
1550
|
|
|
* @method $this withProjectId($value) |
1551
|
|
|
*/ |
1552
|
|
|
class DescribeFlowInstance extends Rpc |
1553
|
|
|
{ |
1554
|
|
|
} |
1555
|
|
|
|
1556
|
|
|
/** |
1557
|
|
|
* @method string getId() |
1558
|
|
|
* @method $this withId($value) |
1559
|
|
|
* @method string getProjectId() |
1560
|
|
|
* @method $this withProjectId($value) |
1561
|
|
|
*/ |
1562
|
|
|
class DescribeFlowJob extends Rpc |
1563
|
|
|
{ |
1564
|
|
|
} |
1565
|
|
|
|
1566
|
|
|
/** |
1567
|
|
|
* @method string getId() |
1568
|
|
|
* @method $this withId($value) |
1569
|
|
|
* @method string getProjectId() |
1570
|
|
|
* @method $this withProjectId($value) |
1571
|
|
|
*/ |
1572
|
|
|
class DescribeFlowNodeInstance extends Rpc |
1573
|
|
|
{ |
1574
|
|
|
} |
1575
|
|
|
|
1576
|
|
|
/** |
1577
|
|
|
* @method string getOffset() |
1578
|
|
|
* @method $this withOffset($value) |
1579
|
|
|
* @method string getLogName() |
1580
|
|
|
* @method $this withLogName($value) |
1581
|
|
|
* @method string getLength() |
1582
|
|
|
* @method $this withLength($value) |
1583
|
|
|
* @method string getNodeInstanceId() |
1584
|
|
|
* @method $this withNodeInstanceId($value) |
1585
|
|
|
* @method string getAppId() |
1586
|
|
|
* @method $this withAppId($value) |
1587
|
|
|
* @method string getContainerId() |
1588
|
|
|
* @method $this withContainerId($value) |
1589
|
|
|
* @method string getProjectId() |
1590
|
|
|
* @method $this withProjectId($value) |
1591
|
|
|
*/ |
1592
|
|
|
class DescribeFlowNodeInstanceContainerLog extends Rpc |
1593
|
|
|
{ |
1594
|
|
|
} |
1595
|
|
|
|
1596
|
|
|
/** |
1597
|
|
|
* @method string getOffset() |
1598
|
|
|
* @method $this withOffset($value) |
1599
|
|
|
* @method string getStart() |
1600
|
|
|
* @method $this withStart($value) |
1601
|
|
|
* @method string getLength() |
1602
|
|
|
* @method $this withLength($value) |
1603
|
|
|
* @method string getEndTime() |
1604
|
|
|
* @method $this withEndTime($value) |
1605
|
|
|
* @method string getStartTime() |
1606
|
|
|
* @method $this withStartTime($value) |
1607
|
|
|
* @method string getReverse() |
1608
|
|
|
* @method $this withReverse($value) |
1609
|
|
|
* @method string getNodeInstanceId() |
1610
|
|
|
* @method $this withNodeInstanceId($value) |
1611
|
|
|
* @method string getLines() |
1612
|
|
|
* @method $this withLines($value) |
1613
|
|
|
* @method string getProjectId() |
1614
|
|
|
* @method $this withProjectId($value) |
1615
|
|
|
*/ |
1616
|
|
|
class DescribeFlowNodeInstanceLauncherLog extends Rpc |
1617
|
|
|
{ |
1618
|
|
|
} |
1619
|
|
|
|
1620
|
|
|
/** |
1621
|
|
|
* @method string getProjectId() |
1622
|
|
|
* @method $this withProjectId($value) |
1623
|
|
|
*/ |
1624
|
|
|
class DescribeFlowProject extends Rpc |
1625
|
|
|
{ |
1626
|
|
|
} |
1627
|
|
|
|
1628
|
|
|
/** |
1629
|
|
|
* @method string getClusterId() |
1630
|
|
|
* @method $this withClusterId($value) |
1631
|
|
|
* @method string getProjectId() |
1632
|
|
|
* @method $this withProjectId($value) |
1633
|
|
|
*/ |
1634
|
|
|
class DescribeFlowProjectClusterSetting extends Rpc |
1635
|
|
|
{ |
1636
|
|
|
} |
1637
|
|
|
|
1638
|
|
|
/** |
1639
|
|
|
* @method string getEntityId() |
1640
|
|
|
* @method $this withEntityId($value) |
1641
|
|
|
* @method string getResourceGroupId() |
1642
|
|
|
* @method $this withResourceGroupId($value) |
1643
|
|
|
*/ |
1644
|
|
|
class DescribeFlowVariableCollection extends Rpc |
1645
|
|
|
{ |
1646
|
|
|
} |
1647
|
|
|
|
1648
|
|
|
/** |
1649
|
|
|
* @method string getResourceOwnerId() |
1650
|
|
|
* @method $this withResourceOwnerId($value) |
1651
|
|
|
* @method string getResourceGroupId() |
1652
|
|
|
* @method $this withResourceGroupId($value) |
1653
|
|
|
*/ |
1654
|
|
|
class DescribeScalingCommonConfig extends Rpc |
1655
|
|
|
{ |
1656
|
|
|
} |
1657
|
|
|
|
1658
|
|
|
/** |
1659
|
|
|
* @method string getConfigItemType() |
1660
|
|
|
* @method $this withConfigItemType($value) |
1661
|
|
|
* @method string getResourceOwnerId() |
1662
|
|
|
* @method $this withResourceOwnerId($value) |
1663
|
|
|
* @method string getScalingGroupBizId() |
1664
|
|
|
* @method $this withScalingGroupBizId($value) |
1665
|
|
|
* @method string getResourceGroupId() |
1666
|
|
|
* @method $this withResourceGroupId($value) |
1667
|
|
|
* @method string getScalingConfigItemId() |
1668
|
|
|
* @method $this withScalingConfigItemId($value) |
1669
|
|
|
*/ |
1670
|
|
|
class DescribeScalingConfigItemV2 extends Rpc |
1671
|
|
|
{ |
1672
|
|
|
} |
1673
|
|
|
|
1674
|
|
|
/** |
1675
|
|
|
* @method string getResourceOwnerId() |
1676
|
|
|
* @method $this withResourceOwnerId($value) |
1677
|
|
|
* @method string getScalingGroupBizId() |
1678
|
|
|
* @method $this withScalingGroupBizId($value) |
1679
|
|
|
* @method string getResourceGroupId() |
1680
|
|
|
* @method $this withResourceGroupId($value) |
1681
|
|
|
* @method string getHostGroupBizId() |
1682
|
|
|
* @method $this withHostGroupBizId($value) |
1683
|
|
|
*/ |
1684
|
|
|
class DescribeScalingGroupInstanceV2 extends Rpc |
1685
|
|
|
{ |
1686
|
|
|
} |
1687
|
|
|
|
1688
|
|
|
/** |
1689
|
|
|
* @method string getResourceOwnerId() |
1690
|
|
|
* @method $this withResourceOwnerId($value) |
1691
|
|
|
* @method string getScalingGroupBizId() |
1692
|
|
|
* @method $this withScalingGroupBizId($value) |
1693
|
|
|
* @method string getResourceGroupId() |
1694
|
|
|
* @method $this withResourceGroupId($value) |
1695
|
|
|
* @method string getHostGroupBizId() |
1696
|
|
|
* @method $this withHostGroupBizId($value) |
1697
|
|
|
*/ |
1698
|
|
|
class DescribeScalingGroupV2 extends Rpc |
1699
|
|
|
{ |
1700
|
|
|
} |
1701
|
|
|
|
1702
|
|
|
/** |
1703
|
|
|
* @method string getResourceOwnerId() |
1704
|
|
|
* @method $this withResourceOwnerId($value) |
1705
|
|
|
* @method string getResourceId() |
1706
|
|
|
* @method $this withResourceId($value) |
1707
|
|
|
* @method string getResourceType() |
1708
|
|
|
* @method $this withResourceType($value) |
1709
|
|
|
* @method string getResourceGroupId() |
1710
|
|
|
* @method $this withResourceGroupId($value) |
1711
|
|
|
*/ |
1712
|
|
|
class JoinResourceGroup extends Rpc |
1713
|
|
|
{ |
1714
|
|
|
} |
1715
|
|
|
|
1716
|
|
|
/** |
1717
|
|
|
* @method string getJobInstanceId() |
1718
|
|
|
* @method $this withJobInstanceId($value) |
1719
|
|
|
* @method string getProjectId() |
1720
|
|
|
* @method $this withProjectId($value) |
1721
|
|
|
*/ |
1722
|
|
|
class KillFlowJob extends Rpc |
1723
|
|
|
{ |
1724
|
|
|
} |
1725
|
|
|
|
1726
|
|
|
/** |
1727
|
|
|
* @method string getResourceOwnerId() |
1728
|
|
|
* @method $this withResourceOwnerId($value) |
1729
|
|
|
* @method string getPageNumber() |
1730
|
|
|
* @method $this withPageNumber($value) |
1731
|
|
|
* @method string getFinalStatus() |
1732
|
|
|
* @method $this withFinalStatus($value) |
1733
|
|
|
* @method string getPageSize() |
1734
|
|
|
* @method $this withPageSize($value) |
1735
|
|
|
* @method string getState() |
1736
|
|
|
* @method $this withState($value) |
1737
|
|
|
* @method string getStartTimeTo() |
1738
|
|
|
* @method $this withStartTimeTo($value) |
1739
|
|
|
* @method string getDiagnoseResult() |
1740
|
|
|
* @method $this withDiagnoseResult($value) |
1741
|
|
|
* @method string getEndTimeFrom() |
1742
|
|
|
* @method $this withEndTimeFrom($value) |
1743
|
|
|
* @method string getOrderBy() |
1744
|
|
|
* @method $this withOrderBy($value) |
1745
|
|
|
* @method string getClusterId() |
1746
|
|
|
* @method $this withClusterId($value) |
1747
|
|
|
* @method string getJobType() |
1748
|
|
|
* @method $this withJobType($value) |
1749
|
|
|
* @method string getStartTimeFrom() |
1750
|
|
|
* @method $this withStartTimeFrom($value) |
1751
|
|
|
* @method string getAppId() |
1752
|
|
|
* @method $this withAppId($value) |
1753
|
|
|
* @method string getName() |
1754
|
|
|
* @method $this withName($value) |
1755
|
|
|
* @method string getUser() |
1756
|
|
|
* @method $this withUser($value) |
1757
|
|
|
* @method string getEndTimeTo() |
1758
|
|
|
* @method $this withEndTimeTo($value) |
1759
|
|
|
* @method string getQueue() |
1760
|
|
|
* @method $this withQueue($value) |
1761
|
|
|
*/ |
1762
|
|
|
class ListApmApplication extends Rpc |
1763
|
|
|
{ |
1764
|
|
|
} |
1765
|
|
|
|
1766
|
|
|
/** |
1767
|
|
|
* @method string getResourceOwnerId() |
1768
|
|
|
* @method $this withResourceOwnerId($value) |
1769
|
|
|
* @method string getHostInstanceId() |
1770
|
|
|
* @method $this withHostInstanceId($value) |
1771
|
|
|
* @method array getStatusList() |
1772
|
|
|
* @method string getComponentName() |
1773
|
|
|
* @method $this withComponentName($value) |
1774
|
|
|
* @method string getPublicIp() |
1775
|
|
|
* @method $this withPublicIp($value) |
1776
|
|
|
* @method string getPageNumber() |
1777
|
|
|
* @method $this withPageNumber($value) |
1778
|
|
|
* @method string getHostName() |
1779
|
|
|
* @method $this withHostName($value) |
1780
|
|
|
* @method string getGroupType() |
1781
|
|
|
* @method $this withGroupType($value) |
1782
|
|
|
* @method string getPageSize() |
1783
|
|
|
* @method $this withPageSize($value) |
1784
|
|
|
* @method string getPrivateIp() |
1785
|
|
|
* @method $this withPrivateIp($value) |
1786
|
|
|
* @method string getClusterId() |
1787
|
|
|
* @method $this withClusterId($value) |
1788
|
|
|
* @method string getHostGroupId() |
1789
|
|
|
* @method $this withHostGroupId($value) |
1790
|
|
|
*/ |
1791
|
|
|
class ListClusterHost extends Rpc |
1792
|
|
|
{ |
1793
|
|
|
|
1794
|
|
|
/** |
1795
|
|
|
* @param array $statusList |
1796
|
|
|
* |
1797
|
|
|
* @return $this |
1798
|
|
|
*/ |
1799
|
|
|
public function withStatusList(array $statusList) |
1800
|
|
|
{ |
1801
|
|
|
$this->data['StatusList'] = $statusList; |
1802
|
|
|
foreach ($statusList as $i => $iValue) { |
1803
|
|
|
$this->options['query']['StatusList.' . ($i + 1)] = $iValue; |
1804
|
|
|
} |
1805
|
|
|
|
1806
|
|
|
return $this; |
1807
|
|
|
} |
1808
|
|
|
} |
1809
|
|
|
|
1810
|
|
|
/** |
1811
|
|
|
* @method string getResourceOwnerId() |
1812
|
|
|
* @method $this withResourceOwnerId($value) |
1813
|
|
|
* @method string getHostInstanceId() |
1814
|
|
|
* @method $this withHostInstanceId($value) |
1815
|
|
|
* @method string getComponentName() |
1816
|
|
|
* @method $this withComponentName($value) |
1817
|
|
|
* @method string getPageNumber() |
1818
|
|
|
* @method $this withPageNumber($value) |
1819
|
|
|
* @method string getComponentStatus() |
1820
|
|
|
* @method $this withComponentStatus($value) |
1821
|
|
|
* @method string getHostName() |
1822
|
|
|
* @method $this withHostName($value) |
1823
|
|
|
* @method string getPageSize() |
1824
|
|
|
* @method $this withPageSize($value) |
1825
|
|
|
* @method string getServiceName() |
1826
|
|
|
* @method $this withServiceName($value) |
1827
|
|
|
* @method string getClusterId() |
1828
|
|
|
* @method $this withClusterId($value) |
1829
|
|
|
* @method string getHostRole() |
1830
|
|
|
* @method $this withHostRole($value) |
1831
|
|
|
*/ |
1832
|
|
|
class ListClusterHostComponent extends Rpc |
1833
|
|
|
{ |
1834
|
|
|
} |
1835
|
|
|
|
1836
|
|
|
/** |
1837
|
|
|
* @method string getResourceOwnerId() |
1838
|
|
|
* @method $this withResourceOwnerId($value) |
1839
|
|
|
* @method array getStatusList() |
1840
|
|
|
* @method string getClusterId() |
1841
|
|
|
* @method $this withClusterId($value) |
1842
|
|
|
* @method string getHostGroupName() |
1843
|
|
|
* @method $this withHostGroupName($value) |
1844
|
|
|
* @method string getPageNumber() |
1845
|
|
|
* @method $this withPageNumber($value) |
1846
|
|
|
* @method string getHostGroupId() |
1847
|
|
|
* @method $this withHostGroupId($value) |
1848
|
|
|
* @method string getPageSize() |
1849
|
|
|
* @method $this withPageSize($value) |
1850
|
|
|
* @method string getHostGroupType() |
1851
|
|
|
* @method $this withHostGroupType($value) |
1852
|
|
|
*/ |
1853
|
|
|
class ListClusterHostGroup extends Rpc |
1854
|
|
|
{ |
1855
|
|
|
|
1856
|
|
|
/** |
1857
|
|
|
* @param array $statusList |
1858
|
|
|
* |
1859
|
|
|
* @return $this |
1860
|
|
|
*/ |
1861
|
|
|
public function withStatusList(array $statusList) |
1862
|
|
|
{ |
1863
|
|
|
$this->data['StatusList'] = $statusList; |
1864
|
|
|
foreach ($statusList as $i => $iValue) { |
1865
|
|
|
$this->options['query']['StatusList.' . ($i + 1)] = $iValue; |
1866
|
|
|
} |
1867
|
|
|
|
1868
|
|
|
return $this; |
1869
|
|
|
} |
1870
|
|
|
} |
1871
|
|
|
|
1872
|
|
|
/** |
1873
|
|
|
* @method string getResourceOwnerId() |
1874
|
|
|
* @method $this withResourceOwnerId($value) |
1875
|
|
|
* @method string getClusterId() |
1876
|
|
|
* @method $this withClusterId($value) |
1877
|
|
|
* @method string getPageNumber() |
1878
|
|
|
* @method $this withPageNumber($value) |
1879
|
|
|
* @method string getPageSize() |
1880
|
|
|
* @method $this withPageSize($value) |
1881
|
|
|
*/ |
1882
|
|
|
class ListClusterInstalledService extends Rpc |
1883
|
|
|
{ |
1884
|
|
|
} |
1885
|
|
|
|
1886
|
|
|
/** |
1887
|
|
|
* @method string getResourceOwnerId() |
1888
|
|
|
* @method $this withResourceOwnerId($value) |
1889
|
|
|
* @method string getClusterId() |
1890
|
|
|
* @method $this withClusterId($value) |
1891
|
|
|
* @method string getPageNumber() |
1892
|
|
|
* @method $this withPageNumber($value) |
1893
|
|
|
* @method string getPageSize() |
1894
|
|
|
* @method $this withPageSize($value) |
1895
|
|
|
* @method string getOperationId() |
1896
|
|
|
* @method $this withOperationId($value) |
1897
|
|
|
* @method string getServiceName() |
1898
|
|
|
* @method $this withServiceName($value) |
1899
|
|
|
* @method string getStatus() |
1900
|
|
|
* @method $this withStatus($value) |
1901
|
|
|
*/ |
1902
|
|
|
class ListClusterOperation extends Rpc |
1903
|
|
|
{ |
1904
|
|
|
} |
1905
|
|
|
|
1906
|
|
|
/** |
1907
|
|
|
* @method string getResourceOwnerId() |
1908
|
|
|
* @method $this withResourceOwnerId($value) |
1909
|
|
|
* @method string getClusterId() |
1910
|
|
|
* @method $this withClusterId($value) |
1911
|
|
|
* @method string getPageNumber() |
1912
|
|
|
* @method $this withPageNumber($value) |
1913
|
|
|
* @method string getPageSize() |
1914
|
|
|
* @method $this withPageSize($value) |
1915
|
|
|
* @method string getOperationId() |
1916
|
|
|
* @method $this withOperationId($value) |
1917
|
|
|
* @method string getStatus() |
1918
|
|
|
* @method $this withStatus($value) |
1919
|
|
|
*/ |
1920
|
|
|
class ListClusterOperationHost extends Rpc |
1921
|
|
|
{ |
1922
|
|
|
} |
1923
|
|
|
|
1924
|
|
|
/** |
1925
|
|
|
* @method string getResourceOwnerId() |
1926
|
|
|
* @method $this withResourceOwnerId($value) |
1927
|
|
|
* @method string getHostId() |
1928
|
|
|
* @method $this withHostId($value) |
1929
|
|
|
* @method string getClusterId() |
1930
|
|
|
* @method $this withClusterId($value) |
1931
|
|
|
* @method string getPageNumber() |
1932
|
|
|
* @method $this withPageNumber($value) |
1933
|
|
|
* @method string getPageSize() |
1934
|
|
|
* @method $this withPageSize($value) |
1935
|
|
|
* @method string getOperationId() |
1936
|
|
|
* @method $this withOperationId($value) |
1937
|
|
|
* @method string getStatus() |
1938
|
|
|
* @method $this withStatus($value) |
1939
|
|
|
*/ |
1940
|
|
|
class ListClusterOperationHostTask extends Rpc |
1941
|
|
|
{ |
1942
|
|
|
} |
1943
|
|
|
|
1944
|
|
|
/** |
1945
|
|
|
* @method string getResourceOwnerId() |
1946
|
|
|
* @method $this withResourceOwnerId($value) |
1947
|
|
|
* @method string getClusterId() |
1948
|
|
|
* @method $this withClusterId($value) |
1949
|
|
|
* @method string getPageNumber() |
1950
|
|
|
* @method $this withPageNumber($value) |
1951
|
|
|
* @method string getPageSize() |
1952
|
|
|
* @method $this withPageSize($value) |
1953
|
|
|
* @method string getOperationId() |
1954
|
|
|
* @method $this withOperationId($value) |
1955
|
|
|
* @method string getStatus() |
1956
|
|
|
* @method $this withStatus($value) |
1957
|
|
|
*/ |
1958
|
|
|
class ListClusterOperationTask extends Rpc |
1959
|
|
|
{ |
1960
|
|
|
} |
1961
|
|
|
|
1962
|
|
|
/** |
1963
|
|
|
* @method string getResourceOwnerId() |
1964
|
|
|
* @method $this withResourceOwnerId($value) |
1965
|
|
|
* @method array getStatusList() |
1966
|
|
|
* @method string getIsDesc() |
1967
|
|
|
* @method $this withIsDesc($value) |
1968
|
|
|
* @method string getDepositType() |
1969
|
|
|
* @method $this withDepositType($value) |
1970
|
|
|
* @method string getPageNumber() |
1971
|
|
|
* @method $this withPageNumber($value) |
1972
|
|
|
* @method string getMachineType() |
1973
|
|
|
* @method $this withMachineType($value) |
1974
|
|
|
* @method string getResourceGroupId() |
1975
|
|
|
* @method $this withResourceGroupId($value) |
1976
|
|
|
* @method string getPageSize() |
1977
|
|
|
* @method $this withPageSize($value) |
1978
|
|
|
* @method array getTag() |
1979
|
|
|
* @method string getCreateType() |
1980
|
|
|
* @method $this withCreateType($value) |
1981
|
|
|
* @method array getExpiredTagList() |
1982
|
|
|
* @method string getDefaultStatus() |
1983
|
|
|
* @method $this withDefaultStatus($value) |
1984
|
|
|
* @method string getVpcId() |
1985
|
|
|
* @method $this withVpcId($value) |
1986
|
|
|
* @method string getName() |
1987
|
|
|
* @method $this withName($value) |
1988
|
|
|
* @method array getClusterTypeList() |
1989
|
|
|
*/ |
1990
|
|
|
class ListClusters extends Rpc |
1991
|
|
|
{ |
1992
|
|
|
|
1993
|
|
|
/** |
1994
|
|
|
* @param array $statusList |
1995
|
|
|
* |
1996
|
|
|
* @return $this |
1997
|
|
|
*/ |
1998
|
|
|
public function withStatusList(array $statusList) |
1999
|
|
|
{ |
2000
|
|
|
$this->data['StatusList'] = $statusList; |
2001
|
|
|
foreach ($statusList as $i => $iValue) { |
2002
|
|
|
$this->options['query']['StatusList.' . ($i + 1)] = $iValue; |
2003
|
|
|
} |
2004
|
|
|
|
2005
|
|
|
return $this; |
2006
|
|
|
} |
2007
|
|
|
|
2008
|
|
|
/** |
2009
|
|
|
* @param array $tag |
2010
|
|
|
* |
2011
|
|
|
* @return $this |
2012
|
|
|
*/ |
2013
|
|
|
public function withTag(array $tag) |
2014
|
|
|
{ |
2015
|
|
|
$this->data['Tag'] = $tag; |
2016
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
2017
|
|
|
if(isset($depth1Value['Value'])){ |
2018
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
2019
|
|
|
} |
2020
|
|
|
if(isset($depth1Value['Key'])){ |
2021
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
2022
|
|
|
} |
2023
|
|
|
} |
2024
|
|
|
|
2025
|
|
|
return $this; |
2026
|
|
|
} |
2027
|
|
|
|
2028
|
|
|
/** |
2029
|
|
|
* @param array $expiredTagList |
2030
|
|
|
* |
2031
|
|
|
* @return $this |
2032
|
|
|
*/ |
2033
|
|
|
public function withExpiredTagList(array $expiredTagList) |
2034
|
|
|
{ |
2035
|
|
|
$this->data['ExpiredTagList'] = $expiredTagList; |
2036
|
|
|
foreach ($expiredTagList as $i => $iValue) { |
2037
|
|
|
$this->options['query']['ExpiredTagList.' . ($i + 1)] = $iValue; |
2038
|
|
|
} |
2039
|
|
|
|
2040
|
|
|
return $this; |
2041
|
|
|
} |
2042
|
|
|
|
2043
|
|
|
/** |
2044
|
|
|
* @param array $clusterTypeList |
2045
|
|
|
* |
2046
|
|
|
* @return $this |
2047
|
|
|
*/ |
2048
|
|
|
public function withClusterTypeList(array $clusterTypeList) |
2049
|
|
|
{ |
2050
|
|
|
$this->data['ClusterTypeList'] = $clusterTypeList; |
2051
|
|
|
foreach ($clusterTypeList as $i => $iValue) { |
2052
|
|
|
$this->options['query']['ClusterTypeList.' . ($i + 1)] = $iValue; |
2053
|
|
|
} |
2054
|
|
|
|
2055
|
|
|
return $this; |
2056
|
|
|
} |
2057
|
|
|
} |
2058
|
|
|
|
2059
|
|
|
/** |
2060
|
|
|
* @method string getResourceOwnerId() |
2061
|
|
|
* @method $this withResourceOwnerId($value) |
2062
|
|
|
* @method string getClusterId() |
2063
|
|
|
* @method $this withClusterId($value) |
2064
|
|
|
* @method string getPageNumber() |
2065
|
|
|
* @method $this withPageNumber($value) |
2066
|
|
|
* @method string getPageSize() |
2067
|
|
|
* @method $this withPageSize($value) |
2068
|
|
|
*/ |
2069
|
|
|
class ListClusterService extends Rpc |
2070
|
|
|
{ |
2071
|
|
|
} |
2072
|
|
|
|
2073
|
|
|
/** |
2074
|
|
|
* @method string getResourceOwnerId() |
2075
|
|
|
* @method $this withResourceOwnerId($value) |
2076
|
|
|
* @method string getPodName() |
2077
|
|
|
* @method $this withPodName($value) |
2078
|
|
|
* @method string getComponentName() |
2079
|
|
|
* @method $this withComponentName($value) |
2080
|
|
|
* @method string getClusterId() |
2081
|
|
|
* @method $this withClusterId($value) |
2082
|
|
|
* @method string getPageNumber() |
2083
|
|
|
* @method $this withPageNumber($value) |
2084
|
|
|
* @method string getComponentStatus() |
2085
|
|
|
* @method $this withComponentStatus($value) |
2086
|
|
|
* @method string getPageSize() |
2087
|
|
|
* @method $this withPageSize($value) |
2088
|
|
|
* @method string getServiceName() |
2089
|
|
|
* @method $this withServiceName($value) |
2090
|
|
|
*/ |
2091
|
|
|
class ListClusterServiceComponent extends Rpc |
2092
|
|
|
{ |
2093
|
|
|
} |
2094
|
|
|
|
2095
|
|
|
/** |
2096
|
|
|
* @method string getResourceOwnerId() |
2097
|
|
|
* @method $this withResourceOwnerId($value) |
2098
|
|
|
* @method string getComponentName() |
2099
|
|
|
* @method $this withComponentName($value) |
2100
|
|
|
* @method string getClusterId() |
2101
|
|
|
* @method $this withClusterId($value) |
2102
|
|
|
* @method string getServiceName() |
2103
|
|
|
* @method $this withServiceName($value) |
2104
|
|
|
*/ |
2105
|
|
|
class ListClusterServiceComponentHealthInfo extends Rpc |
2106
|
|
|
{ |
2107
|
|
|
} |
2108
|
|
|
|
2109
|
|
|
/** |
2110
|
|
|
* @method string getResourceOwnerId() |
2111
|
|
|
* @method $this withResourceOwnerId($value) |
2112
|
|
|
* @method string getHostInstanceId() |
2113
|
|
|
* @method $this withHostInstanceId($value) |
2114
|
|
|
* @method string getPageNumber() |
2115
|
|
|
* @method $this withPageNumber($value) |
2116
|
|
|
* @method string getConfigVersion() |
2117
|
|
|
* @method $this withConfigVersion($value) |
2118
|
|
|
* @method string getPageSize() |
2119
|
|
|
* @method $this withPageSize($value) |
2120
|
|
|
* @method string getServiceName() |
2121
|
|
|
* @method $this withServiceName($value) |
2122
|
|
|
* @method string getAuthor() |
2123
|
|
|
* @method $this withAuthor($value) |
2124
|
|
|
* @method string getClusterId() |
2125
|
|
|
* @method $this withClusterId($value) |
2126
|
|
|
* @method string getConfigFileName() |
2127
|
|
|
* @method $this withConfigFileName($value) |
2128
|
|
|
* @method string getConfigItemKey() |
2129
|
|
|
* @method $this withConfigItemKey($value) |
2130
|
|
|
* @method string getHostGroupId() |
2131
|
|
|
* @method $this withHostGroupId($value) |
2132
|
|
|
* @method string getComment() |
2133
|
|
|
* @method $this withComment($value) |
2134
|
|
|
*/ |
2135
|
|
|
class ListClusterServiceConfigHistory extends Rpc |
2136
|
|
|
{ |
2137
|
|
|
} |
2138
|
|
|
|
2139
|
|
|
/** |
2140
|
|
|
* @method string getResourceOwnerId() |
2141
|
|
|
* @method $this withResourceOwnerId($value) |
2142
|
|
|
* @method string getDirectType() |
2143
|
|
|
* @method $this withDirectType($value) |
2144
|
|
|
* @method string getClusterId() |
2145
|
|
|
* @method $this withClusterId($value) |
2146
|
|
|
* @method string getServiceName() |
2147
|
|
|
* @method $this withServiceName($value) |
2148
|
|
|
*/ |
2149
|
|
|
class ListClusterServiceQuickLink extends Rpc |
2150
|
|
|
{ |
2151
|
|
|
} |
2152
|
|
|
|
2153
|
|
|
/** |
2154
|
|
|
* @method string getResourceOwnerId() |
2155
|
|
|
* @method $this withResourceOwnerId($value) |
2156
|
|
|
* @method string getPageNumber() |
2157
|
|
|
* @method $this withPageNumber($value) |
2158
|
|
|
* @method string getProductType() |
2159
|
|
|
* @method $this withProductType($value) |
2160
|
|
|
* @method string getResourceGroupId() |
2161
|
|
|
* @method $this withResourceGroupId($value) |
2162
|
|
|
* @method string getBizId() |
2163
|
|
|
* @method $this withBizId($value) |
2164
|
|
|
* @method string getPageSize() |
2165
|
|
|
* @method $this withPageSize($value) |
2166
|
|
|
*/ |
2167
|
|
|
class ListClusterTemplates extends Rpc |
2168
|
|
|
{ |
2169
|
|
|
} |
2170
|
|
|
|
2171
|
|
|
/** |
2172
|
|
|
* @method string getResourceOwnerId() |
2173
|
|
|
* @method $this withResourceOwnerId($value) |
2174
|
|
|
* @method string getResourceGroupId() |
2175
|
|
|
* @method $this withResourceGroupId($value) |
2176
|
|
|
*/ |
2177
|
|
|
class ListEmrAvailableConfig extends Rpc |
2178
|
|
|
{ |
2179
|
|
|
} |
2180
|
|
|
|
2181
|
|
|
/** |
2182
|
|
|
* @method string getResourceOwnerId() |
2183
|
|
|
* @method $this withResourceOwnerId($value) |
2184
|
|
|
* @method string getDepositType() |
2185
|
|
|
* @method $this withDepositType($value) |
2186
|
|
|
* @method string getSystemDiskType() |
2187
|
|
|
* @method $this withSystemDiskType($value) |
2188
|
|
|
* @method string getResourceGroupId() |
2189
|
|
|
* @method $this withResourceGroupId($value) |
2190
|
|
|
* @method string getInstanceType() |
2191
|
|
|
* @method $this withInstanceType($value) |
2192
|
|
|
* @method string getEmrVersion() |
2193
|
|
|
* @method $this withEmrVersion($value) |
2194
|
|
|
* @method string getInstanceChargeType() |
2195
|
|
|
* @method $this withInstanceChargeType($value) |
2196
|
|
|
* @method string getClusterId() |
2197
|
|
|
* @method $this withClusterId($value) |
2198
|
|
|
* @method string getDestinationResource() |
2199
|
|
|
* @method $this withDestinationResource($value) |
2200
|
|
|
* @method string getClusterType() |
2201
|
|
|
* @method $this withClusterType($value) |
2202
|
|
|
* @method string getSpotStrategy() |
2203
|
|
|
* @method $this withSpotStrategy($value) |
2204
|
|
|
* @method string getNetType() |
2205
|
|
|
* @method $this withNetType($value) |
2206
|
|
|
* @method string getZoneId() |
2207
|
|
|
* @method $this withZoneId($value) |
2208
|
|
|
* @method string getDataDiskType() |
2209
|
|
|
* @method $this withDataDiskType($value) |
2210
|
|
|
*/ |
2211
|
|
|
class ListEmrAvailableResource extends Rpc |
2212
|
|
|
{ |
2213
|
|
|
} |
2214
|
|
|
|
2215
|
|
|
/** |
2216
|
|
|
* @method string getResourceOwnerId() |
2217
|
|
|
* @method $this withResourceOwnerId($value) |
2218
|
|
|
* @method string getPageNumber() |
2219
|
|
|
* @method $this withPageNumber($value) |
2220
|
|
|
* @method string getPageSize() |
2221
|
|
|
* @method $this withPageSize($value) |
2222
|
|
|
* @method string getEmrVersion() |
2223
|
|
|
* @method $this withEmrVersion($value) |
2224
|
|
|
* @method string getStackName() |
2225
|
|
|
* @method $this withStackName($value) |
2226
|
|
|
* @method string getStackVersion() |
2227
|
|
|
* @method $this withStackVersion($value) |
2228
|
|
|
*/ |
2229
|
|
|
class ListEmrMainVersion extends Rpc |
2230
|
|
|
{ |
2231
|
|
|
} |
2232
|
|
|
|
2233
|
|
|
/** |
2234
|
|
|
* @method string getPeriodic() |
2235
|
|
|
* @method $this withPeriodic($value) |
2236
|
|
|
* @method string getClusterId() |
2237
|
|
|
* @method $this withClusterId($value) |
2238
|
|
|
* @method string getPageNumber() |
2239
|
|
|
* @method $this withPageNumber($value) |
2240
|
|
|
* @method string getJobId() |
2241
|
|
|
* @method $this withJobId($value) |
2242
|
|
|
* @method string getName() |
2243
|
|
|
* @method $this withName($value) |
2244
|
|
|
* @method string getPageSize() |
2245
|
|
|
* @method $this withPageSize($value) |
2246
|
|
|
* @method string getId() |
2247
|
|
|
* @method $this withId($value) |
2248
|
|
|
* @method string getProjectId() |
2249
|
|
|
* @method $this withProjectId($value) |
2250
|
|
|
* @method string getStatus() |
2251
|
|
|
* @method $this withStatus($value) |
2252
|
|
|
*/ |
2253
|
|
|
class ListFlow extends Rpc |
2254
|
|
|
{ |
2255
|
|
|
} |
2256
|
|
|
|
2257
|
|
|
/** |
2258
|
|
|
* @method string getParentId() |
2259
|
|
|
* @method $this withParentId($value) |
2260
|
|
|
* @method string getPageNumber() |
2261
|
|
|
* @method $this withPageNumber($value) |
2262
|
|
|
* @method string getRoot() |
2263
|
|
|
* @method $this withRoot($value) |
2264
|
|
|
* @method string getPageSize() |
2265
|
|
|
* @method $this withPageSize($value) |
2266
|
|
|
* @method string getProjectId() |
2267
|
|
|
* @method $this withProjectId($value) |
2268
|
|
|
*/ |
2269
|
|
|
class ListFlowCategory extends Rpc |
2270
|
|
|
{ |
2271
|
|
|
} |
2272
|
|
|
|
2273
|
|
|
/** |
2274
|
|
|
* @method string getPageNumber() |
2275
|
|
|
* @method $this withPageNumber($value) |
2276
|
|
|
* @method string getResourceGroupId() |
2277
|
|
|
* @method $this withResourceGroupId($value) |
2278
|
|
|
* @method string getPageSize() |
2279
|
|
|
* @method $this withPageSize($value) |
2280
|
|
|
* @method string getProjectId() |
2281
|
|
|
* @method $this withProjectId($value) |
2282
|
|
|
*/ |
2283
|
|
|
class ListFlowCluster extends Rpc |
2284
|
|
|
{ |
2285
|
|
|
} |
2286
|
|
|
|
2287
|
|
|
/** |
2288
|
|
|
* @method string getProductType() |
2289
|
|
|
* @method $this withProductType($value) |
2290
|
|
|
* @method string getResourceGroupId() |
2291
|
|
|
* @method $this withResourceGroupId($value) |
2292
|
|
|
*/ |
2293
|
|
|
class ListFlowClusterAll extends Rpc |
2294
|
|
|
{ |
2295
|
|
|
} |
2296
|
|
|
|
2297
|
|
|
/** |
2298
|
|
|
* @method string getClusterId() |
2299
|
|
|
* @method $this withClusterId($value) |
2300
|
|
|
* @method string getResourceGroupId() |
2301
|
|
|
* @method $this withResourceGroupId($value) |
2302
|
|
|
* @method string getProjectId() |
2303
|
|
|
* @method $this withProjectId($value) |
2304
|
|
|
*/ |
2305
|
|
|
class ListFlowClusterAllHosts extends Rpc |
2306
|
|
|
{ |
2307
|
|
|
} |
2308
|
|
|
|
2309
|
|
|
/** |
2310
|
|
|
* @method string getClusterId() |
2311
|
|
|
* @method $this withClusterId($value) |
2312
|
|
|
* @method string getResourceGroupId() |
2313
|
|
|
* @method $this withResourceGroupId($value) |
2314
|
|
|
* @method string getProjectId() |
2315
|
|
|
* @method $this withProjectId($value) |
2316
|
|
|
*/ |
2317
|
|
|
class ListFlowClusterHost extends Rpc |
2318
|
|
|
{ |
2319
|
|
|
} |
2320
|
|
|
|
2321
|
|
|
/** |
2322
|
|
|
* @method array getStatusList() |
2323
|
|
|
* @method string getNodeInstanceId() |
2324
|
|
|
* @method $this withNodeInstanceId($value) |
2325
|
|
|
* @method string getPageNumber() |
2326
|
|
|
* @method $this withPageNumber($value) |
2327
|
|
|
* @method string getPageSize() |
2328
|
|
|
* @method $this withPageSize($value) |
2329
|
|
|
* @method string getId() |
2330
|
|
|
* @method $this withId($value) |
2331
|
|
|
* @method string getProjectId() |
2332
|
|
|
* @method $this withProjectId($value) |
2333
|
|
|
* @method string getOwner() |
2334
|
|
|
* @method $this withOwner($value) |
2335
|
|
|
* @method string getTimeRange() |
2336
|
|
|
* @method $this withTimeRange($value) |
2337
|
|
|
* @method string getOrderBy() |
2338
|
|
|
* @method $this withOrderBy($value) |
2339
|
|
|
* @method string getInstanceId() |
2340
|
|
|
* @method $this withInstanceId($value) |
2341
|
|
|
* @method string getFlowName() |
2342
|
|
|
* @method $this withFlowName($value) |
2343
|
|
|
* @method string getFlowId() |
2344
|
|
|
* @method $this withFlowId($value) |
2345
|
|
|
* @method string getOrderType() |
2346
|
|
|
* @method $this withOrderType($value) |
2347
|
|
|
*/ |
2348
|
|
|
class ListFlowInstance extends Rpc |
2349
|
|
|
{ |
2350
|
|
|
|
2351
|
|
|
/** |
2352
|
|
|
* @param array $statusList |
2353
|
|
|
* |
2354
|
|
|
* @return $this |
2355
|
|
|
*/ |
2356
|
|
|
public function withStatusList(array $statusList) |
2357
|
|
|
{ |
2358
|
|
|
$this->data['StatusList'] = $statusList; |
2359
|
|
|
foreach ($statusList as $i => $iValue) { |
2360
|
|
|
$this->options['query']['StatusList.' . ($i + 1)] = $iValue; |
2361
|
|
|
} |
2362
|
|
|
|
2363
|
|
|
return $this; |
2364
|
|
|
} |
2365
|
|
|
} |
2366
|
|
|
|
2367
|
|
|
/** |
2368
|
|
|
* @method string getType() |
2369
|
|
|
* @method $this withType($value) |
2370
|
|
|
* @method string getPageNumber() |
2371
|
|
|
* @method $this withPageNumber($value) |
2372
|
|
|
* @method string getName() |
2373
|
|
|
* @method $this withName($value) |
2374
|
|
|
* @method string getPageSize() |
2375
|
|
|
* @method $this withPageSize($value) |
2376
|
|
|
* @method string getId() |
2377
|
|
|
* @method $this withId($value) |
2378
|
|
|
* @method string getAdhoc() |
2379
|
|
|
* @method $this withAdhoc($value) |
2380
|
|
|
* @method string getProjectId() |
2381
|
|
|
* @method $this withProjectId($value) |
2382
|
|
|
*/ |
2383
|
|
|
class ListFlowJob extends Rpc |
2384
|
|
|
{ |
2385
|
|
|
} |
2386
|
|
|
|
2387
|
|
|
/** |
2388
|
|
|
* @method string getTimeRange() |
2389
|
|
|
* @method $this withTimeRange($value) |
2390
|
|
|
* @method array getStatusList() |
2391
|
|
|
* @method string getJobType() |
2392
|
|
|
* @method $this withJobType($value) |
2393
|
|
|
* @method string getPageNumber() |
2394
|
|
|
* @method $this withPageNumber($value) |
2395
|
|
|
* @method string getInstanceId() |
2396
|
|
|
* @method $this withInstanceId($value) |
2397
|
|
|
* @method string getPageSize() |
2398
|
|
|
* @method $this withPageSize($value) |
2399
|
|
|
* @method string getId() |
2400
|
|
|
* @method $this withId($value) |
2401
|
|
|
* @method string getProjectId() |
2402
|
|
|
* @method $this withProjectId($value) |
2403
|
|
|
*/ |
2404
|
|
|
class ListFlowJobHistory extends Rpc |
2405
|
|
|
{ |
2406
|
|
|
|
2407
|
|
|
/** |
2408
|
|
|
* @param array $statusList |
2409
|
|
|
* |
2410
|
|
|
* @return $this |
2411
|
|
|
*/ |
2412
|
|
|
public function withStatusList(array $statusList) |
2413
|
|
|
{ |
2414
|
|
|
$this->data['StatusList'] = $statusList; |
2415
|
|
|
foreach ($statusList as $i => $iValue) { |
2416
|
|
|
$this->options['query']['StatusList.' . ($i + 1)] = $iValue; |
2417
|
|
|
} |
2418
|
|
|
|
2419
|
|
|
return $this; |
2420
|
|
|
} |
2421
|
|
|
} |
2422
|
|
|
|
2423
|
|
|
/** |
2424
|
|
|
* @method array getStatusList() |
2425
|
|
|
* @method string getOrderBy() |
2426
|
|
|
* @method $this withOrderBy($value) |
2427
|
|
|
* @method string getStartTime() |
2428
|
|
|
* @method $this withStartTime($value) |
2429
|
|
|
* @method string getPageNumber() |
2430
|
|
|
* @method $this withPageNumber($value) |
2431
|
|
|
* @method string getResourceGroupId() |
2432
|
|
|
* @method $this withResourceGroupId($value) |
2433
|
|
|
* @method string getPageSize() |
2434
|
|
|
* @method $this withPageSize($value) |
2435
|
|
|
* @method string getProjectId() |
2436
|
|
|
* @method $this withProjectId($value) |
2437
|
|
|
* @method string getOrderType() |
2438
|
|
|
* @method $this withOrderType($value) |
2439
|
|
|
*/ |
2440
|
|
|
class ListFlowNodeInstance extends Rpc |
2441
|
|
|
{ |
2442
|
|
|
|
2443
|
|
|
/** |
2444
|
|
|
* @param array $statusList |
2445
|
|
|
* |
2446
|
|
|
* @return $this |
2447
|
|
|
*/ |
2448
|
|
|
public function withStatusList(array $statusList) |
2449
|
|
|
{ |
2450
|
|
|
$this->data['StatusList'] = $statusList; |
2451
|
|
|
foreach ($statusList as $i => $iValue) { |
2452
|
|
|
$this->options['query']['StatusList.' . ($i + 1)] = $iValue; |
2453
|
|
|
} |
2454
|
|
|
|
2455
|
|
|
return $this; |
2456
|
|
|
} |
2457
|
|
|
} |
2458
|
|
|
|
2459
|
|
|
/** |
2460
|
|
|
* @method string getNodeInstanceId() |
2461
|
|
|
* @method $this withNodeInstanceId($value) |
2462
|
|
|
* @method string getPageNumber() |
2463
|
|
|
* @method $this withPageNumber($value) |
2464
|
|
|
* @method string getPageSize() |
2465
|
|
|
* @method $this withPageSize($value) |
2466
|
|
|
* @method string getProjectId() |
2467
|
|
|
* @method $this withProjectId($value) |
2468
|
|
|
*/ |
2469
|
|
|
class ListFlowNodeInstanceContainerStatus extends Rpc |
2470
|
|
|
{ |
2471
|
|
|
} |
2472
|
|
|
|
2473
|
|
|
/** |
2474
|
|
|
* @method string getOffset() |
2475
|
|
|
* @method $this withOffset($value) |
2476
|
|
|
* @method string getLength() |
2477
|
|
|
* @method $this withLength($value) |
2478
|
|
|
* @method string getSqlIndex() |
2479
|
|
|
* @method $this withSqlIndex($value) |
2480
|
|
|
* @method string getNodeInstanceId() |
2481
|
|
|
* @method $this withNodeInstanceId($value) |
2482
|
|
|
* @method string getProjectId() |
2483
|
|
|
* @method $this withProjectId($value) |
2484
|
|
|
*/ |
2485
|
|
|
class ListFlowNodeSqlResult extends Rpc |
2486
|
|
|
{ |
2487
|
|
|
} |
2488
|
|
|
|
2489
|
|
|
/** |
2490
|
|
|
* @method string getPageNumber() |
2491
|
|
|
* @method $this withPageNumber($value) |
2492
|
|
|
* @method string getProductType() |
2493
|
|
|
* @method $this withProductType($value) |
2494
|
|
|
* @method string getResourceGroupId() |
2495
|
|
|
* @method $this withResourceGroupId($value) |
2496
|
|
|
* @method string getName() |
2497
|
|
|
* @method $this withName($value) |
2498
|
|
|
* @method string getPageSize() |
2499
|
|
|
* @method $this withPageSize($value) |
2500
|
|
|
* @method string getProjectId() |
2501
|
|
|
* @method $this withProjectId($value) |
2502
|
|
|
*/ |
2503
|
|
|
class ListFlowProject extends Rpc |
2504
|
|
|
{ |
2505
|
|
|
} |
2506
|
|
|
|
2507
|
|
|
/** |
2508
|
|
|
* @method string getPageNumber() |
2509
|
|
|
* @method $this withPageNumber($value) |
2510
|
|
|
* @method string getPageSize() |
2511
|
|
|
* @method $this withPageSize($value) |
2512
|
|
|
* @method string getProjectId() |
2513
|
|
|
* @method $this withProjectId($value) |
2514
|
|
|
*/ |
2515
|
|
|
class ListFlowProjectClusterSetting extends Rpc |
2516
|
|
|
{ |
2517
|
|
|
} |
2518
|
|
|
|
2519
|
|
|
/** |
2520
|
|
|
* @method string getPageNumber() |
2521
|
|
|
* @method $this withPageNumber($value) |
2522
|
|
|
* @method string getPageSize() |
2523
|
|
|
* @method $this withPageSize($value) |
2524
|
|
|
* @method string getProjectId() |
2525
|
|
|
* @method $this withProjectId($value) |
2526
|
|
|
*/ |
2527
|
|
|
class ListFlowProjectUser extends Rpc |
2528
|
|
|
{ |
2529
|
|
|
} |
2530
|
|
|
|
2531
|
|
|
/** |
2532
|
|
|
* @method string getResourceOwnerId() |
2533
|
|
|
* @method $this withResourceOwnerId($value) |
2534
|
|
|
* @method string getClusterId() |
2535
|
|
|
* @method $this withClusterId($value) |
2536
|
|
|
* @method string getPageNumber() |
2537
|
|
|
* @method $this withPageNumber($value) |
2538
|
|
|
* @method string getPageSize() |
2539
|
|
|
* @method $this withPageSize($value) |
2540
|
|
|
* @method string getPoolType() |
2541
|
|
|
* @method $this withPoolType($value) |
2542
|
|
|
*/ |
2543
|
|
|
class ListResourcePool extends Rpc |
2544
|
|
|
{ |
2545
|
|
|
} |
2546
|
|
|
|
2547
|
|
|
/** |
2548
|
|
|
* @method string getResourceOwnerId() |
2549
|
|
|
* @method $this withResourceOwnerId($value) |
2550
|
|
|
* @method string getPageCount() |
2551
|
|
|
* @method $this withPageCount($value) |
2552
|
|
|
* @method string getOrderMode() |
2553
|
|
|
* @method $this withOrderMode($value) |
2554
|
|
|
* @method string getClusterBizId() |
2555
|
|
|
* @method $this withClusterBizId($value) |
2556
|
|
|
* @method string getPageNumber() |
2557
|
|
|
* @method $this withPageNumber($value) |
2558
|
|
|
* @method string getHostGroupName() |
2559
|
|
|
* @method $this withHostGroupName($value) |
2560
|
|
|
* @method string getScalingGroupBizId() |
2561
|
|
|
* @method $this withScalingGroupBizId($value) |
2562
|
|
|
* @method string getScalingRuleName() |
2563
|
|
|
* @method $this withScalingRuleName($value) |
2564
|
|
|
* @method string getResourceGroupId() |
2565
|
|
|
* @method $this withResourceGroupId($value) |
2566
|
|
|
* @method string getLimit() |
2567
|
|
|
* @method $this withLimit($value) |
2568
|
|
|
* @method string getPageSize() |
2569
|
|
|
* @method $this withPageSize($value) |
2570
|
|
|
* @method string getCurrentSize() |
2571
|
|
|
* @method $this withCurrentSize($value) |
2572
|
|
|
* @method string getOrderField() |
2573
|
|
|
* @method $this withOrderField($value) |
2574
|
|
|
* @method string getHostGroupId() |
2575
|
|
|
* @method $this withHostGroupId($value) |
2576
|
|
|
* @method string getStatus() |
2577
|
|
|
* @method $this withStatus($value) |
2578
|
|
|
*/ |
2579
|
|
|
class ListScalingActivityV2 extends Rpc |
2580
|
|
|
{ |
2581
|
|
|
} |
2582
|
|
|
|
2583
|
|
|
/** |
2584
|
|
|
* @method string getConfigItemType() |
2585
|
|
|
* @method $this withConfigItemType($value) |
2586
|
|
|
* @method string getResourceOwnerId() |
2587
|
|
|
* @method $this withResourceOwnerId($value) |
2588
|
|
|
* @method string getPageNumber() |
2589
|
|
|
* @method $this withPageNumber($value) |
2590
|
|
|
* @method string getScalingGroupBizId() |
2591
|
|
|
* @method $this withScalingGroupBizId($value) |
2592
|
|
|
* @method string getResourceGroupId() |
2593
|
|
|
* @method $this withResourceGroupId($value) |
2594
|
|
|
* @method string getPageSize() |
2595
|
|
|
* @method $this withPageSize($value) |
2596
|
|
|
*/ |
2597
|
|
|
class ListScalingConfigItemV2 extends Rpc |
2598
|
|
|
{ |
2599
|
|
|
} |
2600
|
|
|
|
2601
|
|
|
/** |
2602
|
|
|
* @method string getResourceOwnerId() |
2603
|
|
|
* @method $this withResourceOwnerId($value) |
2604
|
|
|
* @method string getPageCount() |
2605
|
|
|
* @method $this withPageCount($value) |
2606
|
|
|
* @method string getOrderMode() |
2607
|
|
|
* @method $this withOrderMode($value) |
2608
|
|
|
* @method string getClusterBizId() |
2609
|
|
|
* @method $this withClusterBizId($value) |
2610
|
|
|
* @method string getPageNumber() |
2611
|
|
|
* @method $this withPageNumber($value) |
2612
|
|
|
* @method string getResourceGroupId() |
2613
|
|
|
* @method $this withResourceGroupId($value) |
2614
|
|
|
* @method string getLimit() |
2615
|
|
|
* @method $this withLimit($value) |
2616
|
|
|
* @method string getPageSize() |
2617
|
|
|
* @method $this withPageSize($value) |
2618
|
|
|
* @method string getCurrentSize() |
2619
|
|
|
* @method $this withCurrentSize($value) |
2620
|
|
|
* @method string getOrderField() |
2621
|
|
|
* @method $this withOrderField($value) |
2622
|
|
|
*/ |
2623
|
|
|
class ListScalingGroupV2 extends Rpc |
2624
|
|
|
{ |
2625
|
|
|
} |
2626
|
|
|
|
2627
|
|
|
/** |
2628
|
|
|
* @method string getResourceOwnerId() |
2629
|
|
|
* @method $this withResourceOwnerId($value) |
2630
|
|
|
* @method array getResourceId() |
2631
|
|
|
* @method string getResourceType() |
2632
|
|
|
* @method $this withResourceType($value) |
2633
|
|
|
* @method string getNextToken() |
2634
|
|
|
* @method $this withNextToken($value) |
2635
|
|
|
* @method array getTag() |
2636
|
|
|
*/ |
2637
|
|
|
class ListTagResources extends Rpc |
2638
|
|
|
{ |
2639
|
|
|
|
2640
|
|
|
/** |
2641
|
|
|
* @param array $resourceId |
2642
|
|
|
* |
2643
|
|
|
* @return $this |
2644
|
|
|
*/ |
2645
|
|
|
public function withResourceId(array $resourceId) |
2646
|
|
|
{ |
2647
|
|
|
$this->data['ResourceId'] = $resourceId; |
2648
|
|
|
foreach ($resourceId as $i => $iValue) { |
2649
|
|
|
$this->options['query']['ResourceId.' . ($i + 1)] = $iValue; |
2650
|
|
|
} |
2651
|
|
|
|
2652
|
|
|
return $this; |
2653
|
|
|
} |
2654
|
|
|
|
2655
|
|
|
/** |
2656
|
|
|
* @param array $tag |
2657
|
|
|
* |
2658
|
|
|
* @return $this |
2659
|
|
|
*/ |
2660
|
|
|
public function withTag(array $tag) |
2661
|
|
|
{ |
2662
|
|
|
$this->data['Tag'] = $tag; |
2663
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
2664
|
|
|
if(isset($depth1Value['Key'])){ |
2665
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
2666
|
|
|
} |
2667
|
|
|
if(isset($depth1Value['Value'])){ |
2668
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
2669
|
|
|
} |
2670
|
|
|
} |
2671
|
|
|
|
2672
|
|
|
return $this; |
2673
|
|
|
} |
2674
|
|
|
} |
2675
|
|
|
|
2676
|
|
|
/** |
2677
|
|
|
* @method string getResourceOwnerId() |
2678
|
|
|
* @method $this withResourceOwnerId($value) |
2679
|
|
|
* @method string getName() |
2680
|
|
|
* @method $this withName($value) |
2681
|
|
|
* @method string getId() |
2682
|
|
|
* @method $this withId($value) |
2683
|
|
|
*/ |
2684
|
|
|
class ModifyClusterName extends Rpc |
2685
|
|
|
{ |
2686
|
|
|
} |
2687
|
|
|
|
2688
|
|
|
/** |
2689
|
|
|
* @method string getRefreshHostConfig() |
2690
|
|
|
* @method $this withRefreshHostConfig($value) |
2691
|
|
|
* @method string getResourceOwnerId() |
2692
|
|
|
* @method $this withResourceOwnerId($value) |
2693
|
|
|
* @method string getHostInstanceId() |
2694
|
|
|
* @method $this withHostInstanceId($value) |
2695
|
|
|
* @method string getServiceName() |
2696
|
|
|
* @method $this withServiceName($value) |
2697
|
|
|
* @method array getGatewayClusterIdList() |
2698
|
|
|
* @method string getConfigParams() |
2699
|
|
|
* @method $this withConfigParams($value) |
2700
|
|
|
* @method string getConfigType() |
2701
|
|
|
* @method $this withConfigType($value) |
2702
|
|
|
* @method string getGroupId() |
2703
|
|
|
* @method $this withGroupId($value) |
2704
|
|
|
* @method string getClusterId() |
2705
|
|
|
* @method $this withClusterId($value) |
2706
|
|
|
* @method string getCustomConfigParams() |
2707
|
|
|
* @method $this withCustomConfigParams($value) |
2708
|
|
|
* @method string getComment() |
2709
|
|
|
* @method $this withComment($value) |
2710
|
|
|
*/ |
2711
|
|
|
class ModifyClusterServiceConfig extends Rpc |
2712
|
|
|
{ |
2713
|
|
|
|
2714
|
|
|
/** |
2715
|
|
|
* @param array $gatewayClusterIdList |
2716
|
|
|
* |
2717
|
|
|
* @return $this |
2718
|
|
|
*/ |
2719
|
|
|
public function withGatewayClusterIdList(array $gatewayClusterIdList) |
2720
|
|
|
{ |
2721
|
|
|
$this->data['GatewayClusterIdList'] = $gatewayClusterIdList; |
2722
|
|
|
foreach ($gatewayClusterIdList as $i => $iValue) { |
2723
|
|
|
$this->options['query']['GatewayClusterIdList.' . ($i + 1)] = $iValue; |
2724
|
|
|
} |
2725
|
|
|
|
2726
|
|
|
return $this; |
2727
|
|
|
} |
2728
|
|
|
} |
2729
|
|
|
|
2730
|
|
|
/** |
2731
|
|
|
* @method string getResourceOwnerId() |
2732
|
|
|
* @method $this withResourceOwnerId($value) |
2733
|
|
|
* @method string getLogPath() |
2734
|
|
|
* @method $this withLogPath($value) |
2735
|
|
|
* @method string getMasterPwd() |
2736
|
|
|
* @method $this withMasterPwd($value) |
2737
|
|
|
* @method string getConfigurations() |
2738
|
|
|
* @method $this withConfigurations($value) |
2739
|
|
|
* @method string getSshEnable() |
2740
|
|
|
* @method $this withSshEnable($value) |
2741
|
|
|
* @method string getKeyPairName() |
2742
|
|
|
* @method $this withKeyPairName($value) |
2743
|
|
|
* @method string getMetaStoreType() |
2744
|
|
|
* @method $this withMetaStoreType($value) |
2745
|
|
|
* @method string getSecurityGroupName() |
2746
|
|
|
* @method $this withSecurityGroupName($value) |
2747
|
|
|
* @method string getMachineType() |
2748
|
|
|
* @method $this withMachineType($value) |
2749
|
|
|
* @method string getResourceGroupId() |
2750
|
|
|
* @method $this withResourceGroupId($value) |
2751
|
|
|
* @method array getBootstrapAction() |
2752
|
|
|
* @method string getMetaStoreConf() |
2753
|
|
|
* @method $this withMetaStoreConf($value) |
2754
|
|
|
* @method string getEmrVer() |
2755
|
|
|
* @method $this withEmrVer($value) |
2756
|
|
|
* @method array getTag() |
2757
|
|
|
* @method string getIsOpenPublicIp() |
2758
|
|
|
* @method $this withIsOpenPublicIp($value) |
2759
|
|
|
* @method string getPeriod() |
2760
|
|
|
* @method $this withPeriod($value) |
2761
|
|
|
* @method string getInstanceGeneration() |
2762
|
|
|
* @method $this withInstanceGeneration($value) |
2763
|
|
|
* @method string getVSwitchId() |
2764
|
|
|
* @method $this withVSwitchId($value) |
2765
|
|
|
* @method string getClusterType() |
2766
|
|
|
* @method $this withClusterType($value) |
2767
|
|
|
* @method string getAutoRenew() |
2768
|
|
|
* @method $this withAutoRenew($value) |
2769
|
|
|
* @method array getOptionSoftWareList() |
2770
|
|
|
* @method string getNetType() |
2771
|
|
|
* @method $this withNetType($value) |
2772
|
|
|
* @method string getZoneId() |
2773
|
|
|
* @method $this withZoneId($value) |
2774
|
|
|
* @method string getUseCustomHiveMetaDb() |
2775
|
|
|
* @method $this withUseCustomHiveMetaDb($value) |
2776
|
|
|
* @method string getInitCustomHiveMetaDb() |
2777
|
|
|
* @method $this withInitCustomHiveMetaDb($value) |
2778
|
|
|
* @method string getIoOptimized() |
2779
|
|
|
* @method $this withIoOptimized($value) |
2780
|
|
|
* @method string getSecurityGroupId() |
2781
|
|
|
* @method $this withSecurityGroupId($value) |
2782
|
|
|
* @method string getEasEnable() |
2783
|
|
|
* @method $this withEasEnable($value) |
2784
|
|
|
* @method string getDepositType() |
2785
|
|
|
* @method $this withDepositType($value) |
2786
|
|
|
* @method string getDataDiskKMSKeyId() |
2787
|
|
|
* @method $this withDataDiskKMSKeyId($value) |
2788
|
|
|
* @method string getUseLocalMetaDb() |
2789
|
|
|
* @method $this withUseLocalMetaDb($value) |
2790
|
|
|
* @method string getTemplateName() |
2791
|
|
|
* @method $this withTemplateName($value) |
2792
|
|
|
* @method string getUserDefinedEmrEcsRole() |
2793
|
|
|
* @method $this withUserDefinedEmrEcsRole($value) |
2794
|
|
|
* @method string getDataDiskEncrypted() |
2795
|
|
|
* @method $this withDataDiskEncrypted($value) |
2796
|
|
|
* @method string getVpcId() |
2797
|
|
|
* @method $this withVpcId($value) |
2798
|
|
|
* @method string getBizId() |
2799
|
|
|
* @method $this withBizId($value) |
2800
|
|
|
* @method array getHostGroup() |
2801
|
|
|
* @method string getChargeType() |
2802
|
|
|
* @method $this withChargeType($value) |
2803
|
|
|
* @method array getConfig() |
2804
|
|
|
* @method string getHighAvailabilityEnable() |
2805
|
|
|
* @method $this withHighAvailabilityEnable($value) |
2806
|
|
|
*/ |
2807
|
|
|
class ModifyClusterTemplate extends Rpc |
2808
|
|
|
{ |
2809
|
|
|
|
2810
|
|
|
/** |
2811
|
|
|
* @param array $bootstrapAction |
2812
|
|
|
* |
2813
|
|
|
* @return $this |
2814
|
|
|
*/ |
2815
|
|
|
public function withBootstrapAction(array $bootstrapAction) |
2816
|
|
|
{ |
2817
|
|
|
$this->data['BootstrapAction'] = $bootstrapAction; |
2818
|
|
|
foreach ($bootstrapAction as $depth1 => $depth1Value) { |
2819
|
|
|
if(isset($depth1Value['Path'])){ |
2820
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path']; |
2821
|
|
|
} |
2822
|
|
|
if(isset($depth1Value['ExecutionTarget'])){ |
2823
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget']; |
2824
|
|
|
} |
2825
|
|
|
if(isset($depth1Value['ExecutionMoment'])){ |
2826
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment']; |
2827
|
|
|
} |
2828
|
|
|
if(isset($depth1Value['Arg'])){ |
2829
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg']; |
2830
|
|
|
} |
2831
|
|
|
if(isset($depth1Value['Name'])){ |
2832
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name']; |
2833
|
|
|
} |
2834
|
|
|
if(isset($depth1Value['ExecutionFailStrategy'])){ |
2835
|
|
|
$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy']; |
2836
|
|
|
} |
2837
|
|
|
} |
2838
|
|
|
|
2839
|
|
|
return $this; |
2840
|
|
|
} |
2841
|
|
|
|
2842
|
|
|
/** |
2843
|
|
|
* @param array $tag |
2844
|
|
|
* |
2845
|
|
|
* @return $this |
2846
|
|
|
*/ |
2847
|
|
|
public function withTag(array $tag) |
2848
|
|
|
{ |
2849
|
|
|
$this->data['Tag'] = $tag; |
2850
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
2851
|
|
|
if(isset($depth1Value['Value'])){ |
2852
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
2853
|
|
|
} |
2854
|
|
|
if(isset($depth1Value['Key'])){ |
2855
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
2856
|
|
|
} |
2857
|
|
|
} |
2858
|
|
|
|
2859
|
|
|
return $this; |
2860
|
|
|
} |
2861
|
|
|
|
2862
|
|
|
/** |
2863
|
|
|
* @param array $optionSoftWareList |
2864
|
|
|
* |
2865
|
|
|
* @return $this |
2866
|
|
|
*/ |
2867
|
|
|
public function withOptionSoftWareList(array $optionSoftWareList) |
2868
|
|
|
{ |
2869
|
|
|
$this->data['OptionSoftWareList'] = $optionSoftWareList; |
2870
|
|
|
foreach ($optionSoftWareList as $i => $iValue) { |
2871
|
|
|
$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue; |
2872
|
|
|
} |
2873
|
|
|
|
2874
|
|
|
return $this; |
2875
|
|
|
} |
2876
|
|
|
|
2877
|
|
|
/** |
2878
|
|
|
* @param array $hostGroup |
2879
|
|
|
* |
2880
|
|
|
* @return $this |
2881
|
|
|
*/ |
2882
|
|
|
public function withHostGroup(array $hostGroup) |
2883
|
|
|
{ |
2884
|
|
|
$this->data['HostGroup'] = $hostGroup; |
2885
|
|
|
foreach ($hostGroup as $depth1 => $depth1Value) { |
2886
|
|
|
if(isset($depth1Value['Period'])){ |
2887
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period']; |
2888
|
|
|
} |
2889
|
|
|
if(isset($depth1Value['SysDiskCapacity'])){ |
2890
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity']; |
2891
|
|
|
} |
2892
|
|
|
if(isset($depth1Value['DiskCapacity'])){ |
2893
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity']; |
2894
|
|
|
} |
2895
|
|
|
if(isset($depth1Value['SysDiskType'])){ |
2896
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType']; |
2897
|
|
|
} |
2898
|
|
|
if(isset($depth1Value['ClusterId'])){ |
2899
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId']; |
2900
|
|
|
} |
2901
|
|
|
if(isset($depth1Value['DiskType'])){ |
2902
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType']; |
2903
|
|
|
} |
2904
|
|
|
if(isset($depth1Value['HostGroupName'])){ |
2905
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName']; |
2906
|
|
|
} |
2907
|
|
|
if(isset($depth1Value['VSwitchId'])){ |
2908
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId']; |
2909
|
|
|
} |
2910
|
|
|
if(isset($depth1Value['DiskCount'])){ |
2911
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount']; |
2912
|
|
|
} |
2913
|
|
|
if(isset($depth1Value['AutoRenew'])){ |
2914
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew']; |
2915
|
|
|
} |
2916
|
|
|
if(isset($depth1Value['HostGroupId'])){ |
2917
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId']; |
2918
|
|
|
} |
2919
|
|
|
if(isset($depth1Value['NodeCount'])){ |
2920
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount']; |
2921
|
|
|
} |
2922
|
|
|
if(isset($depth1Value['InstanceType'])){ |
2923
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType']; |
2924
|
|
|
} |
2925
|
|
|
if(isset($depth1Value['Comment'])){ |
2926
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment']; |
2927
|
|
|
} |
2928
|
|
|
if(isset($depth1Value['ChargeType'])){ |
2929
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType']; |
2930
|
|
|
} |
2931
|
|
|
if(isset($depth1Value['MultiInstanceTypes'])){ |
2932
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.MultiInstanceTypes'] = $depth1Value['MultiInstanceTypes']; |
2933
|
|
|
} |
2934
|
|
|
if(isset($depth1Value['CreateType'])){ |
2935
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType']; |
2936
|
|
|
} |
2937
|
|
|
if(isset($depth1Value['HostGroupType'])){ |
2938
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType']; |
2939
|
|
|
} |
2940
|
|
|
} |
2941
|
|
|
|
2942
|
|
|
return $this; |
2943
|
|
|
} |
2944
|
|
|
|
2945
|
|
|
/** |
2946
|
|
|
* @param array $config |
2947
|
|
|
* |
2948
|
|
|
* @return $this |
2949
|
|
|
*/ |
2950
|
|
|
public function withConfig(array $config) |
2951
|
|
|
{ |
2952
|
|
|
$this->data['Config'] = $config; |
2953
|
|
|
foreach ($config as $depth1 => $depth1Value) { |
2954
|
|
|
if(isset($depth1Value['ConfigKey'])){ |
2955
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey']; |
2956
|
|
|
} |
2957
|
|
|
if(isset($depth1Value['FileName'])){ |
2958
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName']; |
2959
|
|
|
} |
2960
|
|
|
if(isset($depth1Value['Encrypt'])){ |
2961
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt']; |
2962
|
|
|
} |
2963
|
|
|
if(isset($depth1Value['Replace'])){ |
2964
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace']; |
2965
|
|
|
} |
2966
|
|
|
if(isset($depth1Value['ConfigValue'])){ |
2967
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue']; |
2968
|
|
|
} |
2969
|
|
|
if(isset($depth1Value['ServiceName'])){ |
2970
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName']; |
2971
|
|
|
} |
2972
|
|
|
} |
2973
|
|
|
|
2974
|
|
|
return $this; |
2975
|
|
|
} |
2976
|
|
|
} |
2977
|
|
|
|
2978
|
|
|
/** |
2979
|
|
|
* @method string getParentId() |
2980
|
|
|
* @method $this withParentId($value) |
2981
|
|
|
* @method string getName() |
2982
|
|
|
* @method $this withName($value) |
2983
|
|
|
* @method string getId() |
2984
|
|
|
* @method $this withId($value) |
2985
|
|
|
* @method string getProjectId() |
2986
|
|
|
* @method $this withProjectId($value) |
2987
|
|
|
*/ |
2988
|
|
|
class ModifyFlowCategory extends Rpc |
2989
|
|
|
{ |
2990
|
|
|
} |
2991
|
|
|
|
2992
|
|
|
/** |
2993
|
|
|
* @method string getCronExpr() |
2994
|
|
|
* @method $this withCronExpr($value) |
2995
|
|
|
* @method string getPeriodic() |
2996
|
|
|
* @method $this withPeriodic($value) |
2997
|
|
|
* @method string getDescription() |
2998
|
|
|
* @method $this withDescription($value) |
2999
|
|
|
* @method string getAlertUserGroupBizId() |
3000
|
|
|
* @method $this withAlertUserGroupBizId($value) |
3001
|
|
|
* @method string getLifecycle() |
3002
|
|
|
* @method $this withLifecycle($value) |
3003
|
|
|
* @method string getHostName() |
3004
|
|
|
* @method $this withHostName($value) |
3005
|
|
|
* @method string getCreateCluster() |
3006
|
|
|
* @method $this withCreateCluster($value) |
3007
|
|
|
* @method string getEndSchedule() |
3008
|
|
|
* @method $this withEndSchedule($value) |
3009
|
|
|
* @method string getId() |
3010
|
|
|
* @method $this withId($value) |
3011
|
|
|
* @method string getAlertConf() |
3012
|
|
|
* @method $this withAlertConf($value) |
3013
|
|
|
* @method string getProjectId() |
3014
|
|
|
* @method $this withProjectId($value) |
3015
|
|
|
* @method string getParentFlowList() |
3016
|
|
|
* @method $this withParentFlowList($value) |
3017
|
|
|
* @method string getLogArchiveLocation() |
3018
|
|
|
* @method $this withLogArchiveLocation($value) |
3019
|
|
|
* @method string getAlertDingDingGroupBizId() |
3020
|
|
|
* @method $this withAlertDingDingGroupBizId($value) |
3021
|
|
|
* @method string getStartSchedule() |
3022
|
|
|
* @method $this withStartSchedule($value) |
3023
|
|
|
* @method string getClusterId() |
3024
|
|
|
* @method $this withClusterId($value) |
3025
|
|
|
* @method string getGraph() |
3026
|
|
|
* @method $this withGraph($value) |
3027
|
|
|
* @method string getName() |
3028
|
|
|
* @method $this withName($value) |
3029
|
|
|
* @method string getNamespace() |
3030
|
|
|
* @method $this withNamespace($value) |
3031
|
|
|
* @method string getStatus() |
3032
|
|
|
* @method $this withStatus($value) |
3033
|
|
|
* @method string getParentCategory() |
3034
|
|
|
* @method $this withParentCategory($value) |
3035
|
|
|
*/ |
3036
|
|
|
class ModifyFlowForWeb extends Rpc |
3037
|
|
|
{ |
3038
|
|
|
} |
3039
|
|
|
|
3040
|
|
|
/** |
3041
|
|
|
* @method string getDescription() |
3042
|
|
|
* @method $this withDescription($value) |
3043
|
|
|
* @method string getName() |
3044
|
|
|
* @method $this withName($value) |
3045
|
|
|
* @method string getProjectId() |
3046
|
|
|
* @method $this withProjectId($value) |
3047
|
|
|
*/ |
3048
|
|
|
class ModifyFlowProject extends Rpc |
3049
|
|
|
{ |
3050
|
|
|
} |
3051
|
|
|
|
3052
|
|
|
/** |
3053
|
|
|
* @method array getUserList() |
3054
|
|
|
* @method array getHostList() |
3055
|
|
|
* @method string getClusterId() |
3056
|
|
|
* @method $this withClusterId($value) |
3057
|
|
|
* @method string getDefaultQueue() |
3058
|
|
|
* @method $this withDefaultQueue($value) |
3059
|
|
|
* @method string getDefaultUser() |
3060
|
|
|
* @method $this withDefaultUser($value) |
3061
|
|
|
* @method array getQueueList() |
3062
|
|
|
* @method string getProjectId() |
3063
|
|
|
* @method $this withProjectId($value) |
3064
|
|
|
*/ |
3065
|
|
|
class ModifyFlowProjectClusterSetting extends Rpc |
3066
|
|
|
{ |
3067
|
|
|
|
3068
|
|
|
/** |
3069
|
|
|
* @param array $userList |
3070
|
|
|
* |
3071
|
|
|
* @return $this |
3072
|
|
|
*/ |
3073
|
|
|
public function withUserList(array $userList) |
3074
|
|
|
{ |
3075
|
|
|
$this->data['UserList'] = $userList; |
3076
|
|
|
foreach ($userList as $i => $iValue) { |
3077
|
|
|
$this->options['query']['UserList.' . ($i + 1)] = $iValue; |
3078
|
|
|
} |
3079
|
|
|
|
3080
|
|
|
return $this; |
3081
|
|
|
} |
3082
|
|
|
|
3083
|
|
|
/** |
3084
|
|
|
* @param array $hostList |
3085
|
|
|
* |
3086
|
|
|
* @return $this |
3087
|
|
|
*/ |
3088
|
|
|
public function withHostList(array $hostList) |
3089
|
|
|
{ |
3090
|
|
|
$this->data['HostList'] = $hostList; |
3091
|
|
|
foreach ($hostList as $i => $iValue) { |
3092
|
|
|
$this->options['query']['HostList.' . ($i + 1)] = $iValue; |
3093
|
|
|
} |
3094
|
|
|
|
3095
|
|
|
return $this; |
3096
|
|
|
} |
3097
|
|
|
|
3098
|
|
|
/** |
3099
|
|
|
* @param array $queueList |
3100
|
|
|
* |
3101
|
|
|
* @return $this |
3102
|
|
|
*/ |
3103
|
|
|
public function withQueueList(array $queueList) |
3104
|
|
|
{ |
3105
|
|
|
$this->data['QueueList'] = $queueList; |
3106
|
|
|
foreach ($queueList as $i => $iValue) { |
3107
|
|
|
$this->options['query']['QueueList.' . ($i + 1)] = $iValue; |
3108
|
|
|
} |
3109
|
|
|
|
3110
|
|
|
return $this; |
3111
|
|
|
} |
3112
|
|
|
} |
3113
|
|
|
|
3114
|
|
|
/** |
3115
|
|
|
* @method string getResourceOwnerId() |
3116
|
|
|
* @method $this withResourceOwnerId($value) |
3117
|
|
|
* @method string getActive() |
3118
|
|
|
* @method $this withActive($value) |
3119
|
|
|
* @method string getClusterId() |
3120
|
|
|
* @method $this withClusterId($value) |
3121
|
|
|
* @method string getYarnsiteconfig() |
3122
|
|
|
* @method $this withYarnsiteconfig($value) |
3123
|
|
|
* @method string getName() |
3124
|
|
|
* @method $this withName($value) |
3125
|
|
|
* @method string getId() |
3126
|
|
|
* @method $this withId($value) |
3127
|
|
|
* @method array getConfig() |
3128
|
|
|
*/ |
3129
|
|
|
class ModifyResourcePool extends Rpc |
3130
|
|
|
{ |
3131
|
|
|
|
3132
|
|
|
/** |
3133
|
|
|
* @param array $config |
3134
|
|
|
* |
3135
|
|
|
* @return $this |
3136
|
|
|
*/ |
3137
|
|
|
public function withConfig(array $config) |
3138
|
|
|
{ |
3139
|
|
|
$this->data['Config'] = $config; |
3140
|
|
|
foreach ($config as $depth1 => $depth1Value) { |
3141
|
|
|
if(isset($depth1Value['ConfigKey'])){ |
3142
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey']; |
3143
|
|
|
} |
3144
|
|
|
if(isset($depth1Value['Note'])){ |
3145
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note']; |
3146
|
|
|
} |
3147
|
|
|
if(isset($depth1Value['ConfigValue'])){ |
3148
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue']; |
3149
|
|
|
} |
3150
|
|
|
if(isset($depth1Value['Id'])){ |
3151
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id']; |
3152
|
|
|
} |
3153
|
|
|
if(isset($depth1Value['Category'])){ |
3154
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category']; |
3155
|
|
|
} |
3156
|
|
|
} |
3157
|
|
|
|
3158
|
|
|
return $this; |
3159
|
|
|
} |
3160
|
|
|
} |
3161
|
|
|
|
3162
|
|
|
/** |
3163
|
|
|
* @method string getResourceOwnerId() |
3164
|
|
|
* @method $this withResourceOwnerId($value) |
3165
|
|
|
* @method string getClusterId() |
3166
|
|
|
* @method $this withClusterId($value) |
3167
|
|
|
* @method string getSchedulerType() |
3168
|
|
|
* @method $this withSchedulerType($value) |
3169
|
|
|
*/ |
3170
|
|
|
class ModifyResourcePoolSchedulerType extends Rpc |
3171
|
|
|
{ |
3172
|
|
|
} |
3173
|
|
|
|
3174
|
|
|
/** |
3175
|
|
|
* @method string getResourceOwnerId() |
3176
|
|
|
* @method $this withResourceOwnerId($value) |
3177
|
|
|
* @method string getQualifiedName() |
3178
|
|
|
* @method $this withQualifiedName($value) |
3179
|
|
|
* @method string getResourcePoolId() |
3180
|
|
|
* @method $this withResourcePoolId($value) |
3181
|
|
|
* @method string getClusterId() |
3182
|
|
|
* @method $this withClusterId($value) |
3183
|
|
|
* @method string getLeaf() |
3184
|
|
|
* @method $this withLeaf($value) |
3185
|
|
|
* @method string getParentQueueId() |
3186
|
|
|
* @method $this withParentQueueId($value) |
3187
|
|
|
* @method string getName() |
3188
|
|
|
* @method $this withName($value) |
3189
|
|
|
* @method string getId() |
3190
|
|
|
* @method $this withId($value) |
3191
|
|
|
* @method array getConfig() |
3192
|
|
|
*/ |
3193
|
|
|
class ModifyResourceQueue extends Rpc |
3194
|
|
|
{ |
3195
|
|
|
|
3196
|
|
|
/** |
3197
|
|
|
* @param array $config |
3198
|
|
|
* |
3199
|
|
|
* @return $this |
3200
|
|
|
*/ |
3201
|
|
|
public function withConfig(array $config) |
3202
|
|
|
{ |
3203
|
|
|
$this->data['Config'] = $config; |
3204
|
|
|
foreach ($config as $depth1 => $depth1Value) { |
3205
|
|
|
if(isset($depth1Value['ConfigKey'])){ |
3206
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey']; |
3207
|
|
|
} |
3208
|
|
|
if(isset($depth1Value['Note'])){ |
3209
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note']; |
3210
|
|
|
} |
3211
|
|
|
if(isset($depth1Value['ConfigValue'])){ |
3212
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue']; |
3213
|
|
|
} |
3214
|
|
|
if(isset($depth1Value['Id'])){ |
3215
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id']; |
3216
|
|
|
} |
3217
|
|
|
if(isset($depth1Value['Category'])){ |
3218
|
|
|
$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category']; |
3219
|
|
|
} |
3220
|
|
|
} |
3221
|
|
|
|
3222
|
|
|
return $this; |
3223
|
|
|
} |
3224
|
|
|
} |
3225
|
|
|
|
3226
|
|
|
/** |
3227
|
|
|
* @method string getConfigItemBizId() |
3228
|
|
|
* @method $this withConfigItemBizId($value) |
3229
|
|
|
* @method string getConfigItemType() |
3230
|
|
|
* @method $this withConfigItemType($value) |
3231
|
|
|
* @method string getResourceOwnerId() |
3232
|
|
|
* @method $this withResourceOwnerId($value) |
3233
|
|
|
* @method string getScalingGroupBizId() |
3234
|
|
|
* @method $this withScalingGroupBizId($value) |
3235
|
|
|
* @method string getResourceGroupId() |
3236
|
|
|
* @method $this withResourceGroupId($value) |
3237
|
|
|
* @method string getConfigItemInformation() |
3238
|
|
|
* @method $this withConfigItemInformation($value) |
3239
|
|
|
*/ |
3240
|
|
|
class ModifyScalingConfigItemV2 extends Rpc |
3241
|
|
|
{ |
3242
|
|
|
} |
3243
|
|
|
|
3244
|
|
|
/** |
3245
|
|
|
* @method string getResourceOwnerId() |
3246
|
|
|
* @method $this withResourceOwnerId($value) |
3247
|
|
|
* @method string getDescription() |
3248
|
|
|
* @method $this withDescription($value) |
3249
|
|
|
* @method string getScalingGroupBizId() |
3250
|
|
|
* @method $this withScalingGroupBizId($value) |
3251
|
|
|
* @method string getResourceGroupId() |
3252
|
|
|
* @method $this withResourceGroupId($value) |
3253
|
|
|
* @method string getName() |
3254
|
|
|
* @method $this withName($value) |
3255
|
|
|
*/ |
3256
|
|
|
class ModifyScalingGroupV2 extends Rpc |
3257
|
|
|
{ |
3258
|
|
|
} |
3259
|
|
|
|
3260
|
|
|
/** |
3261
|
|
|
* @method string getResourceOwnerId() |
3262
|
|
|
* @method $this withResourceOwnerId($value) |
3263
|
|
|
* @method string getResourcePoolId() |
3264
|
|
|
* @method $this withResourcePoolId($value) |
3265
|
|
|
* @method string getClusterId() |
3266
|
|
|
* @method $this withClusterId($value) |
3267
|
|
|
*/ |
3268
|
|
|
class RefreshClusterResourcePool extends Rpc |
3269
|
|
|
{ |
3270
|
|
|
} |
3271
|
|
|
|
3272
|
|
|
/** |
3273
|
|
|
* @method string getResourceOwnerId() |
3274
|
|
|
* @method $this withResourceOwnerId($value) |
3275
|
|
|
* @method string getForceRelease() |
3276
|
|
|
* @method $this withForceRelease($value) |
3277
|
|
|
* @method string getId() |
3278
|
|
|
* @method $this withId($value) |
3279
|
|
|
*/ |
3280
|
|
|
class ReleaseCluster extends Rpc |
3281
|
|
|
{ |
3282
|
|
|
} |
3283
|
|
|
|
3284
|
|
|
/** |
3285
|
|
|
* @method string getResourceOwnerId() |
3286
|
|
|
* @method $this withResourceOwnerId($value) |
3287
|
|
|
* @method string getClusterId() |
3288
|
|
|
* @method $this withClusterId($value) |
3289
|
|
|
* @method string getHostGroupId() |
3290
|
|
|
* @method $this withHostGroupId($value) |
3291
|
|
|
* @method string getInstanceIdList() |
3292
|
|
|
* @method $this withInstanceIdList($value) |
3293
|
|
|
*/ |
3294
|
|
|
class ReleaseClusterHostGroup extends Rpc |
3295
|
|
|
{ |
3296
|
|
|
} |
3297
|
|
|
|
3298
|
|
|
/** |
3299
|
|
|
* @method string getConfigItemType() |
3300
|
|
|
* @method $this withConfigItemType($value) |
3301
|
|
|
* @method string getConfigItemBizId() |
3302
|
|
|
* @method $this withConfigItemBizId($value) |
3303
|
|
|
* @method string getResourceOwnerId() |
3304
|
|
|
* @method $this withResourceOwnerId($value) |
3305
|
|
|
* @method string getScalingGroupBizId() |
3306
|
|
|
* @method $this withScalingGroupBizId($value) |
3307
|
|
|
* @method string getResourceGroupId() |
3308
|
|
|
* @method $this withResourceGroupId($value) |
3309
|
|
|
*/ |
3310
|
|
|
class RemoveScalingConfigItemV2 extends Rpc |
3311
|
|
|
{ |
3312
|
|
|
} |
3313
|
|
|
|
3314
|
|
|
/** |
3315
|
|
|
* @method string getFlowInstanceId() |
3316
|
|
|
* @method $this withFlowInstanceId($value) |
3317
|
|
|
* @method string getReRunFail() |
3318
|
|
|
* @method $this withReRunFail($value) |
3319
|
|
|
* @method string getProjectId() |
3320
|
|
|
* @method $this withProjectId($value) |
3321
|
|
|
*/ |
3322
|
|
|
class RerunFlow extends Rpc |
3323
|
|
|
{ |
3324
|
|
|
} |
3325
|
|
|
|
3326
|
|
|
/** |
3327
|
|
|
* @method string getIsOpenPublicIp() |
3328
|
|
|
* @method $this withIsOpenPublicIp($value) |
3329
|
|
|
* @method string getAutoPayOrder() |
3330
|
|
|
* @method $this withAutoPayOrder($value) |
3331
|
|
|
* @method string getClusterId() |
3332
|
|
|
* @method $this withClusterId($value) |
3333
|
|
|
* @method string getVswitchId() |
3334
|
|
|
* @method $this withVswitchId($value) |
3335
|
|
|
* @method array getHostComponentInfo() |
3336
|
|
|
* @method string getClickhouseConf() |
3337
|
|
|
* @method $this withClickhouseConf($value) |
3338
|
|
|
* @method array getHostGroup() |
3339
|
|
|
* @method array getPromotionInfo() |
3340
|
|
|
*/ |
3341
|
|
|
class ResizeClusterV2 extends Rpc |
3342
|
|
|
{ |
3343
|
|
|
|
3344
|
|
|
/** |
3345
|
|
|
* @param array $hostComponentInfo |
3346
|
|
|
* |
3347
|
|
|
* @return $this |
3348
|
|
|
*/ |
3349
|
|
|
public function withHostComponentInfo(array $hostComponentInfo) |
3350
|
|
|
{ |
3351
|
|
|
$this->data['HostComponentInfo'] = $hostComponentInfo; |
3352
|
|
|
foreach ($hostComponentInfo as $depth1 => $depth1Value) { |
3353
|
|
|
if(isset($depth1Value['HostName'])){ |
3354
|
|
|
$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName']; |
3355
|
|
|
} |
3356
|
|
|
foreach ($depth1Value['ComponentNameList'] as $i => $iValue) { |
3357
|
|
|
$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ComponentNameList.' . ($i + 1)] = $iValue; |
3358
|
|
|
} |
3359
|
|
|
if(isset($depth1Value['ServiceName'])){ |
3360
|
|
|
$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName']; |
3361
|
|
|
} |
3362
|
|
|
} |
3363
|
|
|
|
3364
|
|
|
return $this; |
3365
|
|
|
} |
3366
|
|
|
|
3367
|
|
|
/** |
3368
|
|
|
* @param array $hostGroup |
3369
|
|
|
* |
3370
|
|
|
* @return $this |
3371
|
|
|
*/ |
3372
|
|
|
public function withHostGroup(array $hostGroup) |
3373
|
|
|
{ |
3374
|
|
|
$this->data['HostGroup'] = $hostGroup; |
3375
|
|
|
foreach ($hostGroup as $depth1 => $depth1Value) { |
3376
|
|
|
if(isset($depth1Value['Period'])){ |
3377
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period']; |
3378
|
|
|
} |
3379
|
|
|
if(isset($depth1Value['SysDiskCapacity'])){ |
3380
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity']; |
3381
|
|
|
} |
3382
|
|
|
if(isset($depth1Value['HostKeyPairName'])){ |
3383
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostKeyPairName'] = $depth1Value['HostKeyPairName']; |
3384
|
|
|
} |
3385
|
|
|
if(isset($depth1Value['PrivatePoolOptionsId'])){ |
3386
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsId'] = $depth1Value['PrivatePoolOptionsId']; |
3387
|
|
|
} |
3388
|
|
|
if(isset($depth1Value['DiskCapacity'])){ |
3389
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity']; |
3390
|
|
|
} |
3391
|
|
|
if(isset($depth1Value['SysDiskType'])){ |
3392
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType']; |
3393
|
|
|
} |
3394
|
|
|
if(isset($depth1Value['ClusterId'])){ |
3395
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId']; |
3396
|
|
|
} |
3397
|
|
|
if(isset($depth1Value['DiskType'])){ |
3398
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType']; |
3399
|
|
|
} |
3400
|
|
|
if(isset($depth1Value['HostGroupName'])){ |
3401
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName']; |
3402
|
|
|
} |
3403
|
|
|
if(isset($depth1Value['VswitchId'])){ |
3404
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VswitchId'] = $depth1Value['VswitchId']; |
3405
|
|
|
} |
3406
|
|
|
if(isset($depth1Value['DiskCount'])){ |
3407
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount']; |
3408
|
|
|
} |
3409
|
|
|
if(isset($depth1Value['AutoRenew'])){ |
3410
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew']; |
3411
|
|
|
} |
3412
|
|
|
if(isset($depth1Value['HostGroupId'])){ |
3413
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId']; |
3414
|
|
|
} |
3415
|
|
|
if(isset($depth1Value['NodeCount'])){ |
3416
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount']; |
3417
|
|
|
} |
3418
|
|
|
if(isset($depth1Value['InstanceType'])){ |
3419
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType']; |
3420
|
|
|
} |
3421
|
|
|
if(isset($depth1Value['Comment'])){ |
3422
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment']; |
3423
|
|
|
} |
3424
|
|
|
if(isset($depth1Value['ChargeType'])){ |
3425
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType']; |
3426
|
|
|
} |
3427
|
|
|
if(isset($depth1Value['CreateType'])){ |
3428
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType']; |
3429
|
|
|
} |
3430
|
|
|
if(isset($depth1Value['HostPassword'])){ |
3431
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostPassword'] = $depth1Value['HostPassword']; |
3432
|
|
|
} |
3433
|
|
|
if(isset($depth1Value['HostGroupType'])){ |
3434
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType']; |
3435
|
|
|
} |
3436
|
|
|
if(isset($depth1Value['PrivatePoolOptionsMatchCriteria'])){ |
3437
|
|
|
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsMatchCriteria'] = $depth1Value['PrivatePoolOptionsMatchCriteria']; |
3438
|
|
|
} |
3439
|
|
|
} |
3440
|
|
|
|
3441
|
|
|
return $this; |
3442
|
|
|
} |
3443
|
|
|
|
3444
|
|
|
/** |
3445
|
|
|
* @param array $promotionInfo |
3446
|
|
|
* |
3447
|
|
|
* @return $this |
3448
|
|
|
*/ |
3449
|
|
|
public function withPromotionInfo(array $promotionInfo) |
3450
|
|
|
{ |
3451
|
|
|
$this->data['PromotionInfo'] = $promotionInfo; |
3452
|
|
|
foreach ($promotionInfo as $depth1 => $depth1Value) { |
3453
|
|
|
if(isset($depth1Value['PromotionOptionCode'])){ |
3454
|
|
|
$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionCode'] = $depth1Value['PromotionOptionCode']; |
3455
|
|
|
} |
3456
|
|
|
if(isset($depth1Value['ProductCode'])){ |
3457
|
|
|
$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.ProductCode'] = $depth1Value['ProductCode']; |
3458
|
|
|
} |
3459
|
|
|
if(isset($depth1Value['PromotionOptionNo'])){ |
3460
|
|
|
$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionNo'] = $depth1Value['PromotionOptionNo']; |
3461
|
|
|
} |
3462
|
|
|
} |
3463
|
|
|
|
3464
|
|
|
return $this; |
3465
|
|
|
} |
3466
|
|
|
} |
3467
|
|
|
|
3468
|
|
|
/** |
3469
|
|
|
* @method string getFlowInstanceId() |
3470
|
|
|
* @method $this withFlowInstanceId($value) |
3471
|
|
|
* @method string getProjectId() |
3472
|
|
|
* @method $this withProjectId($value) |
3473
|
|
|
*/ |
3474
|
|
|
class ResumeFlow extends Rpc |
3475
|
|
|
{ |
3476
|
|
|
} |
3477
|
|
|
|
3478
|
|
|
/** |
3479
|
|
|
* @method array getHostGroupIdList() |
3480
|
|
|
* @method string getResourceOwnerId() |
3481
|
|
|
* @method $this withResourceOwnerId($value) |
3482
|
|
|
* @method string getServiceActionName() |
3483
|
|
|
* @method $this withServiceActionName($value) |
3484
|
|
|
* @method string getIsRolling() |
3485
|
|
|
* @method $this withIsRolling($value) |
3486
|
|
|
* @method string getTotlerateFailCount() |
3487
|
|
|
* @method $this withTotlerateFailCount($value) |
3488
|
|
|
* @method string getServiceName() |
3489
|
|
|
* @method $this withServiceName($value) |
3490
|
|
|
* @method string getExecuteStrategy() |
3491
|
|
|
* @method $this withExecuteStrategy($value) |
3492
|
|
|
* @method string getOnlyRestartStaleConfigNodes() |
3493
|
|
|
* @method $this withOnlyRestartStaleConfigNodes($value) |
3494
|
|
|
* @method string getNodeCountPerBatch() |
3495
|
|
|
* @method $this withNodeCountPerBatch($value) |
3496
|
|
|
* @method string getClusterId() |
3497
|
|
|
* @method $this withClusterId($value) |
3498
|
|
|
* @method string getCustomCommand() |
3499
|
|
|
* @method $this withCustomCommand($value) |
3500
|
|
|
* @method string getComponentNameList() |
3501
|
|
|
* @method $this withComponentNameList($value) |
3502
|
|
|
* @method string getComment() |
3503
|
|
|
* @method $this withComment($value) |
3504
|
|
|
* @method string getCustomParams() |
3505
|
|
|
* @method $this withCustomParams($value) |
3506
|
|
|
* @method string getInterval() |
3507
|
|
|
* @method $this withInterval($value) |
3508
|
|
|
* @method string getHostIdList() |
3509
|
|
|
* @method $this withHostIdList($value) |
3510
|
|
|
* @method string getTurnOnMaintenanceMode() |
3511
|
|
|
* @method $this withTurnOnMaintenanceMode($value) |
3512
|
|
|
*/ |
3513
|
|
|
class RunClusterServiceAction extends Rpc |
3514
|
|
|
{ |
3515
|
|
|
|
3516
|
|
|
/** |
3517
|
|
|
* @param array $hostGroupIdList |
3518
|
|
|
* |
3519
|
|
|
* @return $this |
3520
|
|
|
*/ |
3521
|
|
|
public function withHostGroupIdList(array $hostGroupIdList) |
3522
|
|
|
{ |
3523
|
|
|
$this->data['HostGroupIdList'] = $hostGroupIdList; |
3524
|
|
|
foreach ($hostGroupIdList as $i => $iValue) { |
3525
|
|
|
$this->options['query']['HostGroupIdList.' . ($i + 1)] = $iValue; |
3526
|
|
|
} |
3527
|
|
|
|
3528
|
|
|
return $this; |
3529
|
|
|
} |
3530
|
|
|
} |
3531
|
|
|
|
3532
|
|
|
/** |
3533
|
|
|
* @method string getResourceOwnerId() |
3534
|
|
|
* @method $this withResourceOwnerId($value) |
3535
|
|
|
* @method string getScalingActionType() |
3536
|
|
|
* @method $this withScalingActionType($value) |
3537
|
|
|
* @method string getScalingGroupBizId() |
3538
|
|
|
* @method $this withScalingGroupBizId($value) |
3539
|
|
|
* @method string getResourceGroupId() |
3540
|
|
|
* @method $this withResourceGroupId($value) |
3541
|
|
|
* @method string getActionParam() |
3542
|
|
|
* @method $this withActionParam($value) |
3543
|
|
|
*/ |
3544
|
|
|
class RunScalingActionV2 extends Rpc |
3545
|
|
|
{ |
3546
|
|
|
} |
3547
|
|
|
|
3548
|
|
|
/** |
3549
|
|
|
* @method string getFlowInstanceId() |
3550
|
|
|
* @method $this withFlowInstanceId($value) |
3551
|
|
|
* @method string getProjectId() |
3552
|
|
|
* @method $this withProjectId($value) |
3553
|
|
|
*/ |
3554
|
|
|
class StartFlow extends Rpc |
3555
|
|
|
{ |
3556
|
|
|
} |
3557
|
|
|
|
3558
|
|
|
/** |
3559
|
|
|
* @method string getConf() |
3560
|
|
|
* @method $this withConf($value) |
3561
|
|
|
* @method string getProjectId() |
3562
|
|
|
* @method $this withProjectId($value) |
3563
|
|
|
* @method string getFlowId() |
3564
|
|
|
* @method $this withFlowId($value) |
3565
|
|
|
*/ |
3566
|
|
|
class SubmitFlow extends Rpc |
3567
|
|
|
{ |
3568
|
|
|
} |
3569
|
|
|
|
3570
|
|
|
/** |
3571
|
|
|
* @method string getConf() |
3572
|
|
|
* @method $this withConf($value) |
3573
|
|
|
* @method string getClusterId() |
3574
|
|
|
* @method $this withClusterId($value) |
3575
|
|
|
* @method string getJobId() |
3576
|
|
|
* @method $this withJobId($value) |
3577
|
|
|
* @method string getHostName() |
3578
|
|
|
* @method $this withHostName($value) |
3579
|
|
|
* @method string getNamespace() |
3580
|
|
|
* @method $this withNamespace($value) |
3581
|
|
|
* @method string getJobInstanceId() |
3582
|
|
|
* @method $this withJobInstanceId($value) |
3583
|
|
|
* @method string getProjectId() |
3584
|
|
|
* @method $this withProjectId($value) |
3585
|
|
|
*/ |
3586
|
|
|
class SubmitFlowJob extends Rpc |
3587
|
|
|
{ |
3588
|
|
|
} |
3589
|
|
|
|
3590
|
|
|
/** |
3591
|
|
|
* @method string getFlowInstanceId() |
3592
|
|
|
* @method $this withFlowInstanceId($value) |
3593
|
|
|
* @method string getProjectId() |
3594
|
|
|
* @method $this withProjectId($value) |
3595
|
|
|
*/ |
3596
|
|
|
class SuspendFlow extends Rpc |
3597
|
|
|
{ |
3598
|
|
|
} |
3599
|
|
|
|
3600
|
|
|
/** |
3601
|
|
|
* @method string getResourceOwnerId() |
3602
|
|
|
* @method $this withResourceOwnerId($value) |
3603
|
|
|
* @method array getResourceId() |
3604
|
|
|
* @method string getResourceType() |
3605
|
|
|
* @method $this withResourceType($value) |
3606
|
|
|
* @method array getTag() |
3607
|
|
|
*/ |
3608
|
|
|
class TagResources extends Rpc |
3609
|
|
|
{ |
3610
|
|
|
|
3611
|
|
|
/** |
3612
|
|
|
* @param array $resourceId |
3613
|
|
|
* |
3614
|
|
|
* @return $this |
3615
|
|
|
*/ |
3616
|
|
|
public function withResourceId(array $resourceId) |
3617
|
|
|
{ |
3618
|
|
|
$this->data['ResourceId'] = $resourceId; |
3619
|
|
|
foreach ($resourceId as $i => $iValue) { |
3620
|
|
|
$this->options['query']['ResourceId.' . ($i + 1)] = $iValue; |
3621
|
|
|
} |
3622
|
|
|
|
3623
|
|
|
return $this; |
3624
|
|
|
} |
3625
|
|
|
|
3626
|
|
|
/** |
3627
|
|
|
* @param array $tag |
3628
|
|
|
* |
3629
|
|
|
* @return $this |
3630
|
|
|
*/ |
3631
|
|
|
public function withTag(array $tag) |
3632
|
|
|
{ |
3633
|
|
|
$this->data['Tag'] = $tag; |
3634
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
3635
|
|
|
if(isset($depth1Value['Key'])){ |
3636
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
3637
|
|
|
} |
3638
|
|
|
if(isset($depth1Value['Value'])){ |
3639
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
3640
|
|
|
} |
3641
|
|
|
} |
3642
|
|
|
|
3643
|
|
|
return $this; |
3644
|
|
|
} |
3645
|
|
|
} |
3646
|
|
|
|
3647
|
|
|
/** |
3648
|
|
|
* @method string getAll() |
3649
|
|
|
* @method $this withAll($value) |
3650
|
|
|
* @method string getResourceOwnerId() |
3651
|
|
|
* @method $this withResourceOwnerId($value) |
3652
|
|
|
* @method array getResourceId() |
3653
|
|
|
* @method string getResourceType() |
3654
|
|
|
* @method $this withResourceType($value) |
3655
|
|
|
* @method array getTagKey() |
3656
|
|
|
*/ |
3657
|
|
|
class UntagResources extends Rpc |
3658
|
|
|
{ |
3659
|
|
|
|
3660
|
|
|
/** |
3661
|
|
|
* @param array $resourceId |
3662
|
|
|
* |
3663
|
|
|
* @return $this |
3664
|
|
|
*/ |
3665
|
|
|
public function withResourceId(array $resourceId) |
3666
|
|
|
{ |
3667
|
|
|
$this->data['ResourceId'] = $resourceId; |
3668
|
|
|
foreach ($resourceId as $i => $iValue) { |
3669
|
|
|
$this->options['query']['ResourceId.' . ($i + 1)] = $iValue; |
3670
|
|
|
} |
3671
|
|
|
|
3672
|
|
|
return $this; |
3673
|
|
|
} |
3674
|
|
|
|
3675
|
|
|
/** |
3676
|
|
|
* @param array $tagKey |
3677
|
|
|
* |
3678
|
|
|
* @return $this |
3679
|
|
|
*/ |
3680
|
|
|
public function withTagKey(array $tagKey) |
3681
|
|
|
{ |
3682
|
|
|
$this->data['TagKey'] = $tagKey; |
3683
|
|
|
foreach ($tagKey as $i => $iValue) { |
3684
|
|
|
$this->options['query']['TagKey.' . ($i + 1)] = $iValue; |
3685
|
|
|
} |
3686
|
|
|
|
3687
|
|
|
return $this; |
3688
|
|
|
} |
3689
|
|
|
} |
3690
|
|
|
|