1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Eais\V20190624; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* @method AttachEai attachEai(array $options = []) |
9
|
|
|
* @method AttachEaisEi attachEaisEi(array $options = []) |
10
|
|
|
* @method ChangeResourceGroup changeResourceGroup(array $options = []) |
11
|
|
|
* @method CreateEai createEai(array $options = []) |
12
|
|
|
* @method CreateEaiAll createEaiAll(array $options = []) |
13
|
|
|
* @method CreateEaiEci createEaiEci(array $options = []) |
14
|
|
|
* @method CreateEaiEcs createEaiEcs(array $options = []) |
15
|
|
|
* @method CreateEaiJupyter createEaiJupyter(array $options = []) |
16
|
|
|
* @method CreateEaisEi createEaisEi(array $options = []) |
17
|
|
|
* @method DeleteEai deleteEai(array $options = []) |
18
|
|
|
* @method DeleteEaiAll deleteEaiAll(array $options = []) |
19
|
|
|
* @method DeleteEaisEi deleteEaisEi(array $options = []) |
20
|
|
|
* @method DescribeEais describeEais(array $options = []) |
21
|
|
|
* @method DescribeRegions describeRegions(array $options = []) |
22
|
|
|
* @method DetachEai detachEai(array $options = []) |
23
|
|
|
* @method DetachEaisEi detachEaisEi(array $options = []) |
24
|
|
|
* @method GetInstanceMetrics getInstanceMetrics(array $options = []) |
25
|
|
|
* @method StartEaisEi startEaisEi(array $options = []) |
26
|
|
|
* @method StopEaisEi stopEaisEi(array $options = []) |
27
|
|
|
*/ |
28
|
|
|
class EaisApiResolver extends ApiResolver |
29
|
|
|
{ |
30
|
|
|
} |
31
|
|
|
|
32
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
33
|
|
|
{ |
34
|
|
|
/** @var string */ |
35
|
|
|
public $product = 'eais'; |
36
|
|
|
|
37
|
|
|
/** @var string */ |
38
|
|
|
public $version = '2019-06-24'; |
39
|
|
|
|
40
|
|
|
/** @var string */ |
41
|
|
|
public $method = 'POST'; |
42
|
|
|
|
43
|
|
|
/** @var string */ |
44
|
|
|
public $serviceCode = 'eais'; |
45
|
|
|
} |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* @method string getClientInstanceId() |
49
|
|
|
* @method $this withClientInstanceId($value) |
50
|
|
|
* @method string getElasticAcceleratedInstanceId() |
51
|
|
|
* @method $this withElasticAcceleratedInstanceId($value) |
52
|
|
|
*/ |
53
|
|
|
class AttachEai extends Rpc |
54
|
|
|
{ |
55
|
|
|
} |
56
|
|
|
|
57
|
|
|
/** |
58
|
|
|
* @method string getEiInstanceType() |
59
|
|
|
* @method $this withEiInstanceType($value) |
60
|
|
|
* @method string getClientInstanceId() |
61
|
|
|
* @method $this withClientInstanceId($value) |
62
|
|
|
* @method string getEiInstanceId() |
63
|
|
|
* @method $this withEiInstanceId($value) |
64
|
|
|
*/ |
65
|
|
|
class AttachEaisEi extends Rpc |
66
|
|
|
{ |
67
|
|
|
} |
68
|
|
|
|
69
|
|
|
/** |
70
|
|
|
* @method string getResourceGroupId() |
71
|
|
|
* @method $this withResourceGroupId($value) |
72
|
|
|
* @method string getResourceRegionId() |
73
|
|
|
* @method $this withResourceRegionId($value) |
74
|
|
|
* @method string getResourceId() |
75
|
|
|
* @method $this withResourceId($value) |
76
|
|
|
* @method string getResourceType() |
77
|
|
|
* @method $this withResourceType($value) |
78
|
|
|
* @method string getService() |
79
|
|
|
* @method $this withService($value) |
80
|
|
|
*/ |
81
|
|
|
class ChangeResourceGroup extends Rpc |
82
|
|
|
{ |
83
|
|
|
} |
84
|
|
|
|
85
|
|
|
/** |
86
|
|
|
* @method string getImage() |
87
|
|
|
* @method $this withImage($value) |
88
|
|
|
* @method string getClientToken() |
89
|
|
|
* @method $this withClientToken($value) |
90
|
|
|
* @method string getSecurityGroupId() |
91
|
|
|
* @method $this withSecurityGroupId($value) |
92
|
|
|
* @method string getVSwitchId() |
93
|
|
|
* @method $this withVSwitchId($value) |
94
|
|
|
* @method string getResourceGroupId() |
95
|
|
|
* @method $this withResourceGroupId($value) |
96
|
|
|
* @method string getInstanceName() |
97
|
|
|
* @method $this withInstanceName($value) |
98
|
|
|
* @method string getInstanceType() |
99
|
|
|
* @method $this withInstanceType($value) |
100
|
|
|
*/ |
101
|
|
|
class CreateEai extends Rpc |
102
|
|
|
{ |
103
|
|
|
} |
104
|
|
|
|
105
|
|
|
/** |
106
|
|
|
* @method string getClientImageId() |
107
|
|
|
* @method $this withClientImageId($value) |
108
|
|
|
* @method string getClientSystemDiskCategory() |
109
|
|
|
* @method $this withClientSystemDiskCategory($value) |
110
|
|
|
* @method string getClientInternetMaxBandwidthOut() |
111
|
|
|
* @method $this withClientInternetMaxBandwidthOut($value) |
112
|
|
|
* @method string getClientToken() |
113
|
|
|
* @method $this withClientToken($value) |
114
|
|
|
* @method string getResourceGroupId() |
115
|
|
|
* @method $this withResourceGroupId($value) |
116
|
|
|
* @method string getClientInstanceName() |
117
|
|
|
* @method $this withClientInstanceName($value) |
118
|
|
|
* @method string getClientInternetMaxBandwidthIn() |
119
|
|
|
* @method $this withClientInternetMaxBandwidthIn($value) |
120
|
|
|
* @method string getClientSystemDiskSize() |
121
|
|
|
* @method $this withClientSystemDiskSize($value) |
122
|
|
|
* @method string getClientVSwitchId() |
123
|
|
|
* @method $this withClientVSwitchId($value) |
124
|
|
|
* @method string getClientPassword() |
125
|
|
|
* @method $this withClientPassword($value) |
126
|
|
|
* @method string getClientInstanceType() |
127
|
|
|
* @method $this withClientInstanceType($value) |
128
|
|
|
* @method string getClientSecurityGroupId() |
129
|
|
|
* @method $this withClientSecurityGroupId($value) |
130
|
|
|
* @method string getEaiInstanceType() |
131
|
|
|
* @method $this withEaiInstanceType($value) |
132
|
|
|
* @method string getClientZoneId() |
133
|
|
|
* @method $this withClientZoneId($value) |
134
|
|
|
* @method string getInstanceName() |
135
|
|
|
* @method $this withInstanceName($value) |
136
|
|
|
*/ |
137
|
|
|
class CreateEaiAll extends Rpc |
138
|
|
|
{ |
139
|
|
|
} |
140
|
|
|
|
141
|
|
|
/** |
142
|
|
|
* @method string getClientToken() |
143
|
|
|
* @method $this withClientToken($value) |
144
|
|
|
* @method string getSecurityGroupId() |
145
|
|
|
* @method $this withSecurityGroupId($value) |
146
|
|
|
* @method string getEci() |
147
|
|
|
* @method $this withEci($value) |
148
|
|
|
* @method string getEaisType() |
149
|
|
|
* @method $this withEaisType($value) |
150
|
|
|
* @method string getVSwitchId() |
151
|
|
|
* @method $this withVSwitchId($value) |
152
|
|
|
* @method string getResourceGroupId() |
153
|
|
|
* @method $this withResourceGroupId($value) |
154
|
|
|
* @method string getEaisName() |
155
|
|
|
* @method $this withEaisName($value) |
156
|
|
|
*/ |
157
|
|
|
class CreateEaiEci extends Rpc |
158
|
|
|
{ |
159
|
|
|
} |
160
|
|
|
|
161
|
|
|
/** |
162
|
|
|
* @method string getClientToken() |
163
|
|
|
* @method $this withClientToken($value) |
164
|
|
|
* @method string getSecurityGroupId() |
165
|
|
|
* @method $this withSecurityGroupId($value) |
166
|
|
|
* @method string getEaisType() |
167
|
|
|
* @method $this withEaisType($value) |
168
|
|
|
* @method string getVSwitchId() |
169
|
|
|
* @method $this withVSwitchId($value) |
170
|
|
|
* @method string getResourceGroupId() |
171
|
|
|
* @method $this withResourceGroupId($value) |
172
|
|
|
* @method string getEcs() |
173
|
|
|
* @method $this withEcs($value) |
174
|
|
|
* @method string getEaisName() |
175
|
|
|
* @method $this withEaisName($value) |
176
|
|
|
*/ |
177
|
|
|
class CreateEaiEcs extends Rpc |
178
|
|
|
{ |
179
|
|
|
} |
180
|
|
|
|
181
|
|
|
/** |
182
|
|
|
* @method string getClientToken() |
183
|
|
|
* @method $this withClientToken($value) |
184
|
|
|
* @method string getSecurityGroupId() |
185
|
|
|
* @method $this withSecurityGroupId($value) |
186
|
|
|
* @method string getEaisType() |
187
|
|
|
* @method $this withEaisType($value) |
188
|
|
|
* @method string getVSwitchId() |
189
|
|
|
* @method $this withVSwitchId($value) |
190
|
|
|
* @method string getResourceGroupId() |
191
|
|
|
* @method $this withResourceGroupId($value) |
192
|
|
|
* @method string getEnvironmentVar() |
193
|
|
|
* @method $this withEnvironmentVar($value) |
194
|
|
|
* @method string getEaisName() |
195
|
|
|
* @method $this withEaisName($value) |
196
|
|
|
*/ |
197
|
|
|
class CreateEaiJupyter extends Rpc |
198
|
|
|
{ |
199
|
|
|
} |
200
|
|
|
|
201
|
|
|
/** |
202
|
|
|
* @method string getClientToken() |
203
|
|
|
* @method $this withClientToken($value) |
204
|
|
|
* @method string getSecurityGroupId() |
205
|
|
|
* @method $this withSecurityGroupId($value) |
206
|
|
|
* @method string getVSwitchId() |
207
|
|
|
* @method $this withVSwitchId($value) |
208
|
|
|
* @method string getResourceGroupId() |
209
|
|
|
* @method $this withResourceGroupId($value) |
210
|
|
|
* @method string getInstanceName() |
211
|
|
|
* @method $this withInstanceName($value) |
212
|
|
|
* @method string getInstanceType() |
213
|
|
|
* @method $this withInstanceType($value) |
214
|
|
|
*/ |
215
|
|
|
class CreateEaisEi extends Rpc |
216
|
|
|
{ |
217
|
|
|
} |
218
|
|
|
|
219
|
|
|
/** |
220
|
|
|
* @method string getElasticAcceleratedInstanceId() |
221
|
|
|
* @method $this withElasticAcceleratedInstanceId($value) |
222
|
|
|
* @method string getForce() |
223
|
|
|
* @method $this withForce($value) |
224
|
|
|
*/ |
225
|
|
|
class DeleteEai extends Rpc |
226
|
|
|
{ |
227
|
|
|
} |
228
|
|
|
|
229
|
|
|
/** |
230
|
|
|
* @method string getClientInstanceId() |
231
|
|
|
* @method $this withClientInstanceId($value) |
232
|
|
|
* @method string getElasticAcceleratedInstanceId() |
233
|
|
|
* @method $this withElasticAcceleratedInstanceId($value) |
234
|
|
|
*/ |
235
|
|
|
class DeleteEaiAll extends Rpc |
236
|
|
|
{ |
237
|
|
|
} |
238
|
|
|
|
239
|
|
|
/** |
240
|
|
|
* @method string getEiInstanceId() |
241
|
|
|
* @method $this withEiInstanceId($value) |
242
|
|
|
* @method string getForce() |
243
|
|
|
* @method $this withForce($value) |
244
|
|
|
*/ |
245
|
|
|
class DeleteEaisEi extends Rpc |
246
|
|
|
{ |
247
|
|
|
} |
248
|
|
|
|
249
|
|
|
/** |
250
|
|
|
* @method string getElasticAcceleratedInstanceIds() |
251
|
|
|
* @method $this withElasticAcceleratedInstanceIds($value) |
252
|
|
|
* @method string getPageNumber() |
253
|
|
|
* @method $this withPageNumber($value) |
254
|
|
|
* @method string getResourceGroupId() |
255
|
|
|
* @method $this withResourceGroupId($value) |
256
|
|
|
* @method string getPageSize() |
257
|
|
|
* @method $this withPageSize($value) |
258
|
|
|
* @method string getInstanceType() |
259
|
|
|
* @method $this withInstanceType($value) |
260
|
|
|
* @method array getTag() |
261
|
|
|
* @method string getClientInstanceId() |
262
|
|
|
* @method $this withClientInstanceId($value) |
263
|
|
|
* @method string getInstanceName() |
264
|
|
|
* @method $this withInstanceName($value) |
265
|
|
|
* @method string getStatus() |
266
|
|
|
* @method $this withStatus($value) |
267
|
|
|
*/ |
268
|
|
|
class DescribeEais extends Rpc |
269
|
|
|
{ |
270
|
|
|
|
271
|
|
|
/** |
272
|
|
|
* @param array $tag |
273
|
|
|
* |
274
|
|
|
* @return $this |
275
|
|
|
*/ |
276
|
|
|
public function withTag(array $tag) |
277
|
|
|
{ |
278
|
|
|
$this->data['Tag'] = $tag; |
279
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
280
|
|
|
if(isset($depth1Value['Value'])){ |
281
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
282
|
|
|
} |
283
|
|
|
if(isset($depth1Value['Key'])){ |
284
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
285
|
|
|
} |
286
|
|
|
} |
287
|
|
|
|
288
|
|
|
return $this; |
289
|
|
|
} |
290
|
|
|
} |
291
|
|
|
|
292
|
|
|
class DescribeRegions extends Rpc |
293
|
|
|
{ |
294
|
|
|
} |
295
|
|
|
|
296
|
|
|
/** |
297
|
|
|
* @method string getElasticAcceleratedInstanceId() |
298
|
|
|
* @method $this withElasticAcceleratedInstanceId($value) |
299
|
|
|
*/ |
300
|
|
|
class DetachEai extends Rpc |
301
|
|
|
{ |
302
|
|
|
} |
303
|
|
|
|
304
|
|
|
/** |
305
|
|
|
* @method string getEiInstanceId() |
306
|
|
|
* @method $this withEiInstanceId($value) |
307
|
|
|
*/ |
308
|
|
|
class DetachEaisEi extends Rpc |
309
|
|
|
{ |
310
|
|
|
} |
311
|
|
|
|
312
|
|
|
/** |
313
|
|
|
* @method string getMetricType() |
314
|
|
|
* @method $this withMetricType($value) |
315
|
|
|
* @method string getTimeStep() |
316
|
|
|
* @method $this withTimeStep($value) |
317
|
|
|
* @method string getEndTime() |
318
|
|
|
* @method $this withEndTime($value) |
319
|
|
|
* @method string getStartTime() |
320
|
|
|
* @method $this withStartTime($value) |
321
|
|
|
* @method string getInstanceId() |
322
|
|
|
* @method $this withInstanceId($value) |
323
|
|
|
*/ |
324
|
|
|
class GetInstanceMetrics extends Rpc |
325
|
|
|
{ |
326
|
|
|
} |
327
|
|
|
|
328
|
|
|
/** |
329
|
|
|
* @method string getEiInstanceId() |
330
|
|
|
* @method $this withEiInstanceId($value) |
331
|
|
|
*/ |
332
|
|
|
class StartEaisEi extends Rpc |
333
|
|
|
{ |
334
|
|
|
} |
335
|
|
|
|
336
|
|
|
/** |
337
|
|
|
* @method string getEiInstanceId() |
338
|
|
|
* @method $this withEiInstanceId($value) |
339
|
|
|
*/ |
340
|
|
|
class StopEaisEi extends Rpc |
341
|
|
|
{ |
342
|
|
|
} |
343
|
|
|
|