1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Eci\V20180808; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Rpc; |
6
|
|
|
|
7
|
|
|
class V20180808Rpc extends Rpc |
8
|
|
|
{ |
9
|
|
|
/** @var string */ |
10
|
|
|
public $product = 'Eci'; |
11
|
|
|
|
12
|
|
|
/** @var string */ |
13
|
|
|
public $version = '2018-08-08'; |
14
|
|
|
|
15
|
|
|
/** @var string */ |
16
|
|
|
public $method = 'POST'; |
17
|
|
|
|
18
|
|
|
/** @var string */ |
19
|
|
|
public $serviceCode = 'eci'; |
20
|
|
|
} |
21
|
|
|
|
22
|
|
|
/** |
23
|
|
|
* @method string getTemplate() |
24
|
|
|
* @method $this withTemplate($value) |
25
|
|
|
* @method string getResourceOwnerId() |
26
|
|
|
* @method $this withResourceOwnerId($value) |
27
|
|
|
* @method string getClientToken() |
28
|
|
|
* @method $this withClientToken($value) |
29
|
|
|
* @method string getResourceOwnerAccount() |
30
|
|
|
* @method $this withResourceOwnerAccount($value) |
31
|
|
|
* @method string getOwnerAccount() |
32
|
|
|
* @method $this withOwnerAccount($value) |
33
|
|
|
* @method string getOwnerId() |
34
|
|
|
* @method $this withOwnerId($value) |
35
|
|
|
*/ |
36
|
|
|
class UpdateContainerGroupByTemplate extends V20180808Rpc |
37
|
|
|
{ |
38
|
|
|
} |
39
|
|
|
|
40
|
|
|
/** |
41
|
|
|
* @method string getResourceOwnerId() |
42
|
|
|
* @method $this withResourceOwnerId($value) |
43
|
|
|
* @method string getContainerGroupId() |
44
|
|
|
* @method $this withContainerGroupId($value) |
45
|
|
|
* @method string getResourceOwnerAccount() |
46
|
|
|
* @method $this withResourceOwnerAccount($value) |
47
|
|
|
* @method string getOwnerAccount() |
48
|
|
|
* @method $this withOwnerAccount($value) |
49
|
|
|
* @method string getOwnerId() |
50
|
|
|
* @method $this withOwnerId($value) |
51
|
|
|
*/ |
52
|
|
|
class ExportContainerGroupTemplate extends V20180808Rpc |
53
|
|
|
{ |
54
|
|
|
} |
55
|
|
|
|
56
|
|
|
/** |
57
|
|
|
* @method string getTemplate() |
58
|
|
|
* @method $this withTemplate($value) |
59
|
|
|
* @method string getResourceOwnerId() |
60
|
|
|
* @method $this withResourceOwnerId($value) |
61
|
|
|
* @method string getClientToken() |
62
|
|
|
* @method $this withClientToken($value) |
63
|
|
|
* @method string getResourceOwnerAccount() |
64
|
|
|
* @method $this withResourceOwnerAccount($value) |
65
|
|
|
* @method string getOwnerAccount() |
66
|
|
|
* @method $this withOwnerAccount($value) |
67
|
|
|
* @method string getOwnerId() |
68
|
|
|
* @method $this withOwnerId($value) |
69
|
|
|
*/ |
70
|
|
|
class CreateContainerGroupFromTemplate extends V20180808Rpc |
71
|
|
|
{ |
72
|
|
|
} |
73
|
|
|
|
74
|
|
|
/** |
75
|
|
|
* @method string getResourceOwnerId() |
76
|
|
|
* @method $this withResourceOwnerId($value) |
77
|
|
|
* @method string getStartTime() |
78
|
|
|
* @method $this withStartTime($value) |
79
|
|
|
* @method string getContainerGroupId() |
80
|
|
|
* @method $this withContainerGroupId($value) |
81
|
|
|
* @method string getPeriod() |
82
|
|
|
* @method $this withPeriod($value) |
83
|
|
|
* @method string getResourceOwnerAccount() |
84
|
|
|
* @method $this withResourceOwnerAccount($value) |
85
|
|
|
* @method string getOwnerAccount() |
86
|
|
|
* @method $this withOwnerAccount($value) |
87
|
|
|
* @method string getEndTime() |
88
|
|
|
* @method $this withEndTime($value) |
89
|
|
|
* @method string getOwnerId() |
90
|
|
|
* @method $this withOwnerId($value) |
91
|
|
|
*/ |
92
|
|
|
class DescribeContainerGroupMetric extends V20180808Rpc |
93
|
|
|
{ |
94
|
|
|
} |
95
|
|
|
|
96
|
|
|
/** |
97
|
|
|
* @method array getContainer() |
98
|
|
|
* @method string getResourceOwnerId() |
99
|
|
|
* @method $this withResourceOwnerId($value) |
100
|
|
|
* @method string getClientToken() |
101
|
|
|
* @method $this withClientToken($value) |
102
|
|
|
* @method array getInitContainer() |
103
|
|
|
* @method array getImageRegistryCredential() |
104
|
|
|
* @method array getTag() |
105
|
|
|
* @method string getContainerGroupId() |
106
|
|
|
* @method $this withContainerGroupId($value) |
107
|
|
|
* @method array getDnsConfigNameServer() |
108
|
|
|
* @method string getResourceOwnerAccount() |
109
|
|
|
* @method $this withResourceOwnerAccount($value) |
110
|
|
|
* @method string getRestartPolicy() |
111
|
|
|
* @method $this withRestartPolicy($value) |
112
|
|
|
* @method string getOwnerAccount() |
113
|
|
|
* @method $this withOwnerAccount($value) |
114
|
|
|
* @method array getDnsConfigOption() |
115
|
|
|
* @method array getDnsConfigSearch() |
116
|
|
|
* @method string getOwnerId() |
117
|
|
|
* @method $this withOwnerId($value) |
118
|
|
|
* @method array getVolume() |
119
|
|
|
*/ |
120
|
|
|
class UpdateContainerGroup extends V20180808Rpc |
121
|
|
|
{ |
122
|
|
|
|
123
|
|
|
/** |
124
|
|
|
* @param array $value |
125
|
|
|
* |
126
|
|
|
* @return $this |
127
|
|
|
*/ |
128
|
|
|
public function withContainer(array $value) |
129
|
|
|
{ |
130
|
|
|
$this->data['Container'] = $value; |
131
|
|
|
foreach ($value as $i => $iValue) { |
132
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Name'] = $value[$i]['Name']; |
133
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Image'] = $value[$i]['Image']; |
134
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Cpu'] = $value[$i]['Cpu']; |
135
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Memory'] = $value[$i]['Memory']; |
136
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.WorkingDir'] = $value[$i]['WorkingDir']; |
137
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ImagePullPolicy'] = $value[$i]['ImagePullPolicy']; |
138
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Stdin'] = $value[$i]['Stdin']; |
139
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.StdinOnce'] = $value[$i]['StdinOnce']; |
140
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Tty'] = $value[$i]['Tty']; |
141
|
|
|
foreach ($value[$i]['Commands'] as $j => $jValue) { |
142
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Command.' . ($j + 1)] = $jValue; |
143
|
|
|
} |
144
|
|
|
foreach ($value[$i]['Args'] as $j => $jValue) { |
145
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Arg.' . ($j + 1)] = $jValue; |
146
|
|
|
} |
147
|
|
|
foreach ($value[$i]['EnvironmentVars'] as $j => $jValue) { |
148
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.EnvironmentVar.' . ($j + 1)] = $jValue; |
149
|
|
|
} |
150
|
|
|
foreach ($value[$i]['Ports'] as $j => $jValue) { |
151
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Port.' . ($j + 1)] = $jValue; |
152
|
|
|
} |
153
|
|
|
foreach ($value[$i]['VolumeMounts'] as $j => $jValue) { |
154
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.VolumeMount.' . ($j + 1)] = $jValue; |
155
|
|
|
} |
156
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.TcpSocket.Port'] = $value[$i]['ReadinessProbe.TcpSocket.Port']; |
157
|
|
|
foreach ($value[$i]['ReadinessProbe.Exec.Commands'] as $j => $jValue) { |
158
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.Exec.Command.' . ($j + 1)] = $jValue; |
159
|
|
|
} |
160
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.HttpGet.Path'] = $value[$i]['ReadinessProbe.HttpGet.Path']; |
161
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.HttpGet.Port'] = $value[$i]['ReadinessProbe.HttpGet.Port']; |
162
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.HttpGet.Scheme'] = $value[$i]['ReadinessProbe.HttpGet.Scheme']; |
163
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.InitialDelaySeconds'] = $value[$i]['ReadinessProbe.InitialDelaySeconds']; |
164
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.PeriodSeconds'] = $value[$i]['ReadinessProbe.PeriodSeconds']; |
165
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.SuccessThreshold'] = $value[$i]['ReadinessProbe.SuccessThreshold']; |
166
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.FailureThreshold'] = $value[$i]['ReadinessProbe.FailureThreshold']; |
167
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.TimeoutSeconds'] = $value[$i]['ReadinessProbe.TimeoutSeconds']; |
168
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.TcpSocket.Port'] = $value[$i]['LivenessProbe.TcpSocket.Port']; |
169
|
|
|
foreach ($value[$i]['LivenessProbe.Exec.Commands'] as $j => $jValue) { |
170
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.Exec.Command.' . ($j + 1)] = $jValue; |
171
|
|
|
} |
172
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.HttpGet.Path'] = $value[$i]['LivenessProbe.HttpGet.Path']; |
173
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.HttpGet.Port'] = $value[$i]['LivenessProbe.HttpGet.Port']; |
174
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.HttpGet.Scheme'] = $value[$i]['LivenessProbe.HttpGet.Scheme']; |
175
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.InitialDelaySeconds'] = $value[$i]['LivenessProbe.InitialDelaySeconds']; |
176
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.PeriodSeconds'] = $value[$i]['LivenessProbe.PeriodSeconds']; |
177
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.SuccessThreshold'] = $value[$i]['LivenessProbe.SuccessThreshold']; |
178
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.FailureThreshold'] = $value[$i]['LivenessProbe.FailureThreshold']; |
179
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.TimeoutSeconds'] = $value[$i]['LivenessProbe.TimeoutSeconds']; |
180
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.SecurityContext.ReadOnlyRootFilesystem'] = $value[$i]['SecurityContext.ReadOnlyRootFilesystem']; |
181
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.SecurityContext.RunAsUser'] = $value[$i]['SecurityContext.RunAsUser']; |
182
|
|
|
foreach ($value[$i]['SecurityContext.Capability.Adds'] as $j => $jValue) { |
183
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.SecurityContext.Capability.Add.' . ($j + 1)] = $jValue; |
184
|
|
|
} |
185
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.GpuAmount'] = $value[$i]['GpuAmount']; |
186
|
|
|
} |
187
|
|
|
|
188
|
|
|
return $this; |
189
|
|
|
} |
190
|
|
|
|
191
|
|
|
/** |
192
|
|
|
* @param array $value |
193
|
|
|
* |
194
|
|
|
* @return $this |
195
|
|
|
*/ |
196
|
|
|
public function withInitContainer(array $value) |
197
|
|
|
{ |
198
|
|
|
$this->data['InitContainer'] = $value; |
199
|
|
|
foreach ($value as $i => $iValue) { |
200
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Name'] = $value[$i]['Name']; |
201
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Image'] = $value[$i]['Image']; |
202
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Cpu'] = $value[$i]['Cpu']; |
203
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Memory'] = $value[$i]['Memory']; |
204
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.WorkingDir'] = $value[$i]['WorkingDir']; |
205
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.ImagePullPolicy'] = $value[$i]['ImagePullPolicy']; |
206
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Stdin'] = $value[$i]['Stdin']; |
207
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.StdinOnce'] = $value[$i]['StdinOnce']; |
208
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Tty'] = $value[$i]['Tty']; |
209
|
|
|
foreach ($value[$i]['Commands'] as $j => $jValue) { |
210
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Command.' . ($j + 1)] = $jValue; |
211
|
|
|
} |
212
|
|
|
foreach ($value[$i]['Args'] as $j => $jValue) { |
213
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Arg.' . ($j + 1)] = $jValue; |
214
|
|
|
} |
215
|
|
|
foreach ($value[$i]['EnvironmentVars'] as $j => $jValue) { |
216
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.EnvironmentVar.' . ($j + 1)] = $jValue; |
217
|
|
|
} |
218
|
|
|
foreach ($value[$i]['Ports'] as $j => $jValue) { |
219
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Port.' . ($j + 1)] = $jValue; |
220
|
|
|
} |
221
|
|
|
foreach ($value[$i]['VolumeMounts'] as $j => $jValue) { |
222
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.VolumeMount.' . ($j + 1)] = $jValue; |
223
|
|
|
} |
224
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.SecurityContext.ReadOnlyRootFilesystem'] = $value[$i]['SecurityContext.ReadOnlyRootFilesystem']; |
225
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.SecurityContext.RunAsUser'] = $value[$i]['SecurityContext.RunAsUser']; |
226
|
|
|
foreach ($value[$i]['SecurityContext.Capability.Adds'] as $j => $jValue) { |
227
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.SecurityContext.Capability.Add.' . ($j + 1)] = $jValue; |
228
|
|
|
} |
229
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.GpuAmount'] = $value[$i]['GpuAmount']; |
230
|
|
|
} |
231
|
|
|
|
232
|
|
|
return $this; |
233
|
|
|
} |
234
|
|
|
|
235
|
|
|
/** |
236
|
|
|
* @param array $value |
237
|
|
|
* |
238
|
|
|
* @return $this |
239
|
|
|
*/ |
240
|
|
|
public function withImageRegistryCredential(array $value) |
241
|
|
|
{ |
242
|
|
|
$this->data['ImageRegistryCredential'] = $value; |
243
|
|
|
foreach ($value as $i => $iValue) { |
244
|
|
|
$this->options['query']['ImageRegistryCredential.' . ($i + 1) . '.Server'] = $value[$i]['Server']; |
245
|
|
|
$this->options['query']['ImageRegistryCredential.' . ($i + 1) . '.UserName'] = $value[$i]['UserName']; |
246
|
|
|
$this->options['query']['ImageRegistryCredential.' . ($i + 1) . '.Password'] = $value[$i]['Password']; |
247
|
|
|
} |
248
|
|
|
|
249
|
|
|
return $this; |
250
|
|
|
} |
251
|
|
|
|
252
|
|
|
/** |
253
|
|
|
* @param array $value |
254
|
|
|
* |
255
|
|
|
* @return $this |
256
|
|
|
*/ |
257
|
|
|
public function withTag(array $value) |
258
|
|
|
{ |
259
|
|
|
$this->data['Tag'] = $value; |
260
|
|
|
foreach ($value as $i => $iValue) { |
261
|
|
|
$this->options['query']['Tag.' . ($i + 1) . '.Key'] = $value[$i]['Key']; |
262
|
|
|
$this->options['query']['Tag.' . ($i + 1) . '.Value'] = $value[$i]['Value']; |
263
|
|
|
} |
264
|
|
|
|
265
|
|
|
return $this; |
266
|
|
|
} |
267
|
|
|
|
268
|
|
|
/** |
269
|
|
|
* @param array $value |
270
|
|
|
* |
271
|
|
|
* @return $this |
272
|
|
|
*/ |
273
|
|
|
public function withDnsConfigNameServer(array $value) |
274
|
|
|
{ |
275
|
|
|
$this->data['DnsConfigNameServer'] = $value; |
276
|
|
|
foreach ($value as $i => $iValue) { |
277
|
|
|
$this->options['query']['DnsConfig.NameServer.' . ($i + 1)] = $iValue; |
278
|
|
|
} |
279
|
|
|
|
280
|
|
|
return $this; |
281
|
|
|
} |
282
|
|
|
|
283
|
|
|
/** |
284
|
|
|
* @param array $value |
285
|
|
|
* |
286
|
|
|
* @return $this |
287
|
|
|
*/ |
288
|
|
|
public function withDnsConfigOption(array $value) |
289
|
|
|
{ |
290
|
|
|
$this->data['DnsConfigOption'] = $value; |
291
|
|
|
foreach ($value as $i => $iValue) { |
292
|
|
|
$this->options['query']['DnsConfig.Option.' . ($i + 1) . '.Name'] = $value[$i]['Name']; |
293
|
|
|
$this->options['query']['DnsConfig.Option.' . ($i + 1) . '.Value'] = $value[$i]['Value']; |
294
|
|
|
} |
295
|
|
|
|
296
|
|
|
return $this; |
297
|
|
|
} |
298
|
|
|
|
299
|
|
|
/** |
300
|
|
|
* @param array $value |
301
|
|
|
* |
302
|
|
|
* @return $this |
303
|
|
|
*/ |
304
|
|
|
public function withDnsConfigSearch(array $value) |
305
|
|
|
{ |
306
|
|
|
$this->data['DnsConfigSearch'] = $value; |
307
|
|
|
foreach ($value as $i => $iValue) { |
308
|
|
|
$this->options['query']['DnsConfig.Search.' . ($i + 1)] = $iValue; |
309
|
|
|
} |
310
|
|
|
|
311
|
|
|
return $this; |
312
|
|
|
} |
313
|
|
|
|
314
|
|
|
/** |
315
|
|
|
* @param array $value |
316
|
|
|
* |
317
|
|
|
* @return $this |
318
|
|
|
*/ |
319
|
|
|
public function withVolume(array $value) |
320
|
|
|
{ |
321
|
|
|
$this->data['Volume'] = $value; |
322
|
|
|
foreach ($value as $i => $iValue) { |
323
|
|
|
$this->options['query']['Volume.' . ($i + 1) . '.Name'] = $value[$i]['Name']; |
324
|
|
|
$this->options['query']['Volume.' . ($i + 1) . '.Type'] = $value[$i]['Type']; |
325
|
|
|
$this->options['query']['Volume.' . ($i + 1) . '.NFSVolume.Server'] = $value[$i]['NFSVolume.Server']; |
326
|
|
|
$this->options['query']['Volume.' . ($i + 1) . '.NFSVolume.Path'] = $value[$i]['NFSVolume.Path']; |
327
|
|
|
$this->options['query']['Volume.' . ($i + 1) . '.NFSVolume.ReadOnly'] = $value[$i]['NFSVolume.ReadOnly']; |
328
|
|
|
foreach ($value[$i]['ConfigFileVolume.ConfigFileToPaths'] as $j => $jValue) { |
329
|
|
|
$this->options['query']['Volume.' . ($i + 1) . '.ConfigFileVolume.ConfigFileToPath.' . ($j + 1)] = $jValue; |
330
|
|
|
} |
331
|
|
|
} |
332
|
|
|
|
333
|
|
|
return $this; |
334
|
|
|
} |
335
|
|
|
} |
336
|
|
|
|
337
|
|
|
/** |
338
|
|
|
* @method string getResourceOwnerId() |
339
|
|
|
* @method $this withResourceOwnerId($value) |
340
|
|
|
* @method string getClientToken() |
341
|
|
|
* @method $this withClientToken($value) |
342
|
|
|
* @method string getContainerGroupId() |
343
|
|
|
* @method $this withContainerGroupId($value) |
344
|
|
|
* @method string getResourceOwnerAccount() |
345
|
|
|
* @method $this withResourceOwnerAccount($value) |
346
|
|
|
* @method string getOwnerAccount() |
347
|
|
|
* @method $this withOwnerAccount($value) |
348
|
|
|
* @method string getOwnerId() |
349
|
|
|
* @method $this withOwnerId($value) |
350
|
|
|
*/ |
351
|
|
|
class RestartContainerGroup extends V20180808Rpc |
352
|
|
|
{ |
353
|
|
|
} |
354
|
|
|
|
355
|
|
|
/** |
356
|
|
|
* @method string getResourceOwnerId() |
357
|
|
|
* @method $this withResourceOwnerId($value) |
358
|
|
|
* @method string getMemory() |
359
|
|
|
* @method $this withMemory($value) |
360
|
|
|
* @method string getResourceOwnerAccount() |
361
|
|
|
* @method $this withResourceOwnerAccount($value) |
362
|
|
|
* @method string getOwnerAccount() |
363
|
|
|
* @method $this withOwnerAccount($value) |
364
|
|
|
* @method string getCpu() |
365
|
|
|
* @method $this withCpu($value) |
366
|
|
|
* @method string getOwnerId() |
367
|
|
|
* @method $this withOwnerId($value) |
368
|
|
|
*/ |
369
|
|
|
class DescribeContainerGroupPrice extends V20180808Rpc |
370
|
|
|
{ |
371
|
|
|
} |
372
|
|
|
|
373
|
|
|
/** |
374
|
|
|
* @method string getResourceOwnerId() |
375
|
|
|
* @method $this withResourceOwnerId($value) |
376
|
|
|
* @method string getContainerName() |
377
|
|
|
* @method $this withContainerName($value) |
378
|
|
|
* @method string getContainerGroupId() |
379
|
|
|
* @method $this withContainerGroupId($value) |
380
|
|
|
* @method string getResourceOwnerAccount() |
381
|
|
|
* @method $this withResourceOwnerAccount($value) |
382
|
|
|
* @method string getOwnerAccount() |
383
|
|
|
* @method $this withOwnerAccount($value) |
384
|
|
|
* @method string getOwnerId() |
385
|
|
|
* @method $this withOwnerId($value) |
386
|
|
|
* @method string getCommand() |
387
|
|
|
* @method $this withCommand($value) |
388
|
|
|
*/ |
389
|
|
|
class ExecContainerCommand extends V20180808Rpc |
390
|
|
|
{ |
391
|
|
|
} |
392
|
|
|
|
393
|
|
|
/** |
394
|
|
|
* @method string getResourceOwnerId() |
395
|
|
|
* @method $this withResourceOwnerId($value) |
396
|
|
|
* @method string getContainerName() |
397
|
|
|
* @method $this withContainerName($value) |
398
|
|
|
* @method string getContainerGroupId() |
399
|
|
|
* @method $this withContainerGroupId($value) |
400
|
|
|
* @method string getResourceOwnerAccount() |
401
|
|
|
* @method $this withResourceOwnerAccount($value) |
402
|
|
|
* @method string getOwnerAccount() |
403
|
|
|
* @method $this withOwnerAccount($value) |
404
|
|
|
* @method string getOwnerId() |
405
|
|
|
* @method $this withOwnerId($value) |
406
|
|
|
* @method string getCommand() |
407
|
|
|
* @method $this withCommand($value) |
408
|
|
|
*/ |
409
|
|
|
class DescribeContainerExecUri extends V20180808Rpc |
410
|
|
|
{ |
411
|
|
|
} |
412
|
|
|
|
413
|
|
|
/** |
414
|
|
|
* @method string getResourceOwnerId() |
415
|
|
|
* @method $this withResourceOwnerId($value) |
416
|
|
|
* @method string getClientToken() |
417
|
|
|
* @method $this withClientToken($value) |
418
|
|
|
* @method string getContainerGroupId() |
419
|
|
|
* @method $this withContainerGroupId($value) |
420
|
|
|
* @method string getResourceOwnerAccount() |
421
|
|
|
* @method $this withResourceOwnerAccount($value) |
422
|
|
|
* @method string getOwnerAccount() |
423
|
|
|
* @method $this withOwnerAccount($value) |
424
|
|
|
* @method string getOwnerId() |
425
|
|
|
* @method $this withOwnerId($value) |
426
|
|
|
*/ |
427
|
|
|
class DeleteContainerGroup extends V20180808Rpc |
428
|
|
|
{ |
429
|
|
|
} |
430
|
|
|
|
431
|
|
|
/** |
432
|
|
|
* @method string getResourceOwnerId() |
433
|
|
|
* @method $this withResourceOwnerId($value) |
434
|
|
|
* @method string getContainerGroupIds() |
435
|
|
|
* @method $this withContainerGroupIds($value) |
436
|
|
|
* @method string getNextToken() |
437
|
|
|
* @method $this withNextToken($value) |
438
|
|
|
* @method string getLimit() |
439
|
|
|
* @method $this withLimit($value) |
440
|
|
|
* @method array getTag() |
441
|
|
|
* @method string getResourceOwnerAccount() |
442
|
|
|
* @method $this withResourceOwnerAccount($value) |
443
|
|
|
* @method string getOwnerAccount() |
444
|
|
|
* @method $this withOwnerAccount($value) |
445
|
|
|
* @method string getOwnerId() |
446
|
|
|
* @method $this withOwnerId($value) |
447
|
|
|
* @method string getVSwitchId() |
448
|
|
|
* @method $this withVSwitchId($value) |
449
|
|
|
* @method string getContainerGroupName() |
450
|
|
|
* @method $this withContainerGroupName($value) |
451
|
|
|
* @method string getZoneId() |
452
|
|
|
* @method $this withZoneId($value) |
453
|
|
|
* @method string getStatus() |
454
|
|
|
* @method $this withStatus($value) |
455
|
|
|
*/ |
456
|
|
|
class DescribeContainerGroups extends V20180808Rpc |
457
|
|
|
{ |
458
|
|
|
|
459
|
|
|
/** |
460
|
|
|
* @param array $value |
461
|
|
|
* |
462
|
|
|
* @return $this |
463
|
|
|
*/ |
464
|
|
|
public function withTag(array $value) |
465
|
|
|
{ |
466
|
|
|
$this->data['Tag'] = $value; |
467
|
|
|
foreach ($value as $i => $iValue) { |
468
|
|
|
$this->options['query']['Tag.' . ($i + 1) . '.Key'] = $value[$i]['Key']; |
469
|
|
|
$this->options['query']['Tag.' . ($i + 1) . '.Value'] = $value[$i]['Value']; |
470
|
|
|
} |
471
|
|
|
|
472
|
|
|
return $this; |
473
|
|
|
} |
474
|
|
|
} |
475
|
|
|
|
476
|
|
|
/** |
477
|
|
|
* @method string getResourceOwnerId() |
478
|
|
|
* @method $this withResourceOwnerId($value) |
479
|
|
|
* @method string getContainerName() |
480
|
|
|
* @method $this withContainerName($value) |
481
|
|
|
* @method string getStartTime() |
482
|
|
|
* @method $this withStartTime($value) |
483
|
|
|
* @method string getContainerGroupId() |
484
|
|
|
* @method $this withContainerGroupId($value) |
485
|
|
|
* @method string getResourceOwnerAccount() |
486
|
|
|
* @method $this withResourceOwnerAccount($value) |
487
|
|
|
* @method string getTail() |
488
|
|
|
* @method $this withTail($value) |
489
|
|
|
* @method string getOwnerAccount() |
490
|
|
|
* @method $this withOwnerAccount($value) |
491
|
|
|
* @method string getOwnerId() |
492
|
|
|
* @method $this withOwnerId($value) |
493
|
|
|
*/ |
494
|
|
|
class DescribeContainerLog extends V20180808Rpc |
495
|
|
|
{ |
496
|
|
|
} |
497
|
|
|
|
498
|
|
|
/** |
499
|
|
|
* @method array getContainer() |
500
|
|
|
* @method string getResourceOwnerId() |
501
|
|
|
* @method $this withResourceOwnerId($value) |
502
|
|
|
* @method string getMemory() |
503
|
|
|
* @method $this withMemory($value) |
504
|
|
|
* @method string getClientToken() |
505
|
|
|
* @method $this withClientToken($value) |
506
|
|
|
* @method string getSecurityGroupId() |
507
|
|
|
* @method $this withSecurityGroupId($value) |
508
|
|
|
* @method string getDnsPolicy() |
509
|
|
|
* @method $this withDnsPolicy($value) |
510
|
|
|
* @method string getResourceGroupId() |
511
|
|
|
* @method $this withResourceGroupId($value) |
512
|
|
|
* @method array getHostAliase() |
513
|
|
|
* @method array getInitContainer() |
514
|
|
|
* @method array getImageRegistryCredential() |
515
|
|
|
* @method array getTag() |
516
|
|
|
* @method string getEipInstanceId() |
517
|
|
|
* @method $this withEipInstanceId($value) |
518
|
|
|
* @method array getDnsConfigNameServer() |
519
|
|
|
* @method string getResourceOwnerAccount() |
520
|
|
|
* @method $this withResourceOwnerAccount($value) |
521
|
|
|
* @method string getRestartPolicy() |
522
|
|
|
* @method $this withRestartPolicy($value) |
523
|
|
|
* @method string getOwnerAccount() |
524
|
|
|
* @method $this withOwnerAccount($value) |
525
|
|
|
* @method array getDnsConfigOption() |
526
|
|
|
* @method string getCpu() |
527
|
|
|
* @method $this withCpu($value) |
528
|
|
|
* @method array getDnsConfigSearch() |
529
|
|
|
* @method string getOwnerId() |
530
|
|
|
* @method $this withOwnerId($value) |
531
|
|
|
* @method string getVSwitchId() |
532
|
|
|
* @method $this withVSwitchId($value) |
533
|
|
|
* @method array getVolume() |
534
|
|
|
* @method string getContainerGroupName() |
535
|
|
|
* @method $this withContainerGroupName($value) |
536
|
|
|
* @method string getZoneId() |
537
|
|
|
* @method $this withZoneId($value) |
538
|
|
|
*/ |
539
|
|
|
class CreateContainerGroup extends V20180808Rpc |
540
|
|
|
{ |
541
|
|
|
|
542
|
|
|
/** |
543
|
|
|
* @param array $value |
544
|
|
|
* |
545
|
|
|
* @return $this |
546
|
|
|
*/ |
547
|
|
|
public function withContainer(array $value) |
548
|
|
|
{ |
549
|
|
|
$this->data['Container'] = $value; |
550
|
|
|
foreach ($value as $i => $iValue) { |
551
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Image'] = $value[$i]['Image']; |
552
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Name'] = $value[$i]['Name']; |
553
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Cpu'] = $value[$i]['Cpu']; |
554
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Memory'] = $value[$i]['Memory']; |
555
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.WorkingDir'] = $value[$i]['WorkingDir']; |
556
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ImagePullPolicy'] = $value[$i]['ImagePullPolicy']; |
557
|
|
|
foreach ($value[$i]['Commands'] as $j => $jValue) { |
558
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Command.' . ($j + 1)] = $jValue; |
559
|
|
|
} |
560
|
|
|
foreach ($value[$i]['Args'] as $j => $jValue) { |
561
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Arg.' . ($j + 1)] = $jValue; |
562
|
|
|
} |
563
|
|
|
foreach ($value[$i]['VolumeMounts'] as $j => $jValue) { |
564
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.VolumeMount.' . ($j + 1)] = $jValue; |
565
|
|
|
} |
566
|
|
|
foreach ($value[$i]['Ports'] as $j => $jValue) { |
567
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Port.' . ($j + 1)] = $jValue; |
568
|
|
|
} |
569
|
|
|
foreach ($value[$i]['EnvironmentVars'] as $j => $jValue) { |
570
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.EnvironmentVar.' . ($j + 1)] = $jValue; |
571
|
|
|
} |
572
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.HttpGet.Path'] = $value[$i]['ReadinessProbe.HttpGet.Path']; |
573
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.HttpGet.Port'] = $value[$i]['ReadinessProbe.HttpGet.Port']; |
574
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.HttpGet.Scheme'] = $value[$i]['ReadinessProbe.HttpGet.Scheme']; |
575
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.InitialDelaySeconds'] = $value[$i]['ReadinessProbe.InitialDelaySeconds']; |
576
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.PeriodSeconds'] = $value[$i]['ReadinessProbe.PeriodSeconds']; |
577
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.SuccessThreshold'] = $value[$i]['ReadinessProbe.SuccessThreshold']; |
578
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.FailureThreshold'] = $value[$i]['ReadinessProbe.FailureThreshold']; |
579
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.TimeoutSeconds'] = $value[$i]['ReadinessProbe.TimeoutSeconds']; |
580
|
|
|
foreach ($value[$i]['ReadinessProbe.Exec.Commands'] as $j => $jValue) { |
581
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.Exec.Command.' . ($j + 1)] = $jValue; |
582
|
|
|
} |
583
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.HttpGet.Path'] = $value[$i]['LivenessProbe.HttpGet.Path']; |
584
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.HttpGet.Port'] = $value[$i]['LivenessProbe.HttpGet.Port']; |
585
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.HttpGet.Scheme'] = $value[$i]['LivenessProbe.HttpGet.Scheme']; |
586
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.InitialDelaySeconds'] = $value[$i]['LivenessProbe.InitialDelaySeconds']; |
587
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.PeriodSeconds'] = $value[$i]['LivenessProbe.PeriodSeconds']; |
588
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.SuccessThreshold'] = $value[$i]['LivenessProbe.SuccessThreshold']; |
589
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.FailureThreshold'] = $value[$i]['LivenessProbe.FailureThreshold']; |
590
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.TimeoutSeconds'] = $value[$i]['LivenessProbe.TimeoutSeconds']; |
591
|
|
|
foreach ($value[$i]['LivenessProbe.Exec.Commands'] as $j => $jValue) { |
592
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.Exec.Command.' . ($j + 1)] = $jValue; |
593
|
|
|
} |
594
|
|
|
foreach ($value[$i]['SecurityContext.Capability.Adds'] as $j => $jValue) { |
595
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.SecurityContext.Capability.Add.' . ($j + 1)] = $jValue; |
596
|
|
|
} |
597
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.SecurityContext.ReadOnlyRootFilesystem'] = $value[$i]['SecurityContext.ReadOnlyRootFilesystem']; |
598
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.SecurityContext.RunAsUser'] = $value[$i]['SecurityContext.RunAsUser']; |
599
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.ReadinessProbe.TcpSocket.Port'] = $value[$i]['ReadinessProbe.TcpSocket.Port']; |
600
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.LivenessProbe.TcpSocket.Port'] = $value[$i]['LivenessProbe.TcpSocket.Port']; |
601
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Stdin'] = $value[$i]['Stdin']; |
602
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.StdinOnce'] = $value[$i]['StdinOnce']; |
603
|
|
|
$this->options['query']['Container.' . ($i + 1) . '.Tty'] = $value[$i]['Tty']; |
604
|
|
|
} |
605
|
|
|
|
606
|
|
|
return $this; |
607
|
|
|
} |
608
|
|
|
|
609
|
|
|
/** |
610
|
|
|
* @param array $value |
611
|
|
|
* |
612
|
|
|
* @return $this |
613
|
|
|
*/ |
614
|
|
|
public function withHostAliase(array $value) |
615
|
|
|
{ |
616
|
|
|
$this->data['HostAliase'] = $value; |
617
|
|
|
foreach ($value as $i => $iValue) { |
618
|
|
|
$this->options['query']['HostAliase.' . ($i + 1) . '.Ip'] = $value[$i]['Ip']; |
619
|
|
|
foreach ($value[$i]['Hostnames'] as $j => $jValue) { |
620
|
|
|
$this->options['query']['HostAliase.' . ($i + 1) . '.Hostname.' . ($j + 1)] = $jValue; |
621
|
|
|
} |
622
|
|
|
} |
623
|
|
|
|
624
|
|
|
return $this; |
625
|
|
|
} |
626
|
|
|
|
627
|
|
|
/** |
628
|
|
|
* @param array $value |
629
|
|
|
* |
630
|
|
|
* @return $this |
631
|
|
|
*/ |
632
|
|
|
public function withInitContainer(array $value) |
633
|
|
|
{ |
634
|
|
|
$this->data['InitContainer'] = $value; |
635
|
|
|
foreach ($value as $i => $iValue) { |
636
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Name'] = $value[$i]['Name']; |
637
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Image'] = $value[$i]['Image']; |
638
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Cpu'] = $value[$i]['Cpu']; |
639
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Memory'] = $value[$i]['Memory']; |
640
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.WorkingDir'] = $value[$i]['WorkingDir']; |
641
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.ImagePullPolicy'] = $value[$i]['ImagePullPolicy']; |
642
|
|
|
foreach ($value[$i]['Commands'] as $j => $jValue) { |
643
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Command.' . ($j + 1)] = $jValue; |
644
|
|
|
} |
645
|
|
|
foreach ($value[$i]['Args'] as $j => $jValue) { |
646
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Arg.' . ($j + 1)] = $jValue; |
647
|
|
|
} |
648
|
|
|
foreach ($value[$i]['VolumeMounts'] as $j => $jValue) { |
649
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.VolumeMount.' . ($j + 1)] = $jValue; |
650
|
|
|
} |
651
|
|
|
foreach ($value[$i]['Ports'] as $j => $jValue) { |
652
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.Port.' . ($j + 1)] = $jValue; |
653
|
|
|
} |
654
|
|
|
foreach ($value[$i]['EnvironmentVars'] as $j => $jValue) { |
655
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.EnvironmentVar.' . ($j + 1)] = $jValue; |
656
|
|
|
} |
657
|
|
|
foreach ($value[$i]['SecurityContext.Capability.Adds'] as $j => $jValue) { |
658
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.SecurityContext.Capability.Add.' . ($j + 1)] = $jValue; |
659
|
|
|
} |
660
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.SecurityContext.ReadOnlyRootFilesystem'] = $value[$i]['SecurityContext.ReadOnlyRootFilesystem']; |
661
|
|
|
$this->options['query']['InitContainer.' . ($i + 1) . '.SecurityContext.RunAsUser'] = $value[$i]['SecurityContext.RunAsUser']; |
662
|
|
|
} |
663
|
|
|
|
664
|
|
|
return $this; |
665
|
|
|
} |
666
|
|
|
|
667
|
|
|
/** |
668
|
|
|
* @param array $value |
669
|
|
|
* |
670
|
|
|
* @return $this |
671
|
|
|
*/ |
672
|
|
|
public function withImageRegistryCredential(array $value) |
673
|
|
|
{ |
674
|
|
|
$this->data['ImageRegistryCredential'] = $value; |
675
|
|
|
foreach ($value as $i => $iValue) { |
676
|
|
|
$this->options['query']['ImageRegistryCredential.' . ($i + 1) . '.Server'] = $value[$i]['Server']; |
677
|
|
|
$this->options['query']['ImageRegistryCredential.' . ($i + 1) . '.UserName'] = $value[$i]['UserName']; |
678
|
|
|
$this->options['query']['ImageRegistryCredential.' . ($i + 1) . '.Password'] = $value[$i]['Password']; |
679
|
|
|
} |
680
|
|
|
|
681
|
|
|
return $this; |
682
|
|
|
} |
683
|
|
|
|
684
|
|
|
/** |
685
|
|
|
* @param array $value |
686
|
|
|
* |
687
|
|
|
* @return $this |
688
|
|
|
*/ |
689
|
|
|
public function withTag(array $value) |
690
|
|
|
{ |
691
|
|
|
$this->data['Tag'] = $value; |
692
|
|
|
foreach ($value as $i => $iValue) { |
693
|
|
|
$this->options['query']['Tag.' . ($i + 1) . '.Key'] = $value[$i]['Key']; |
694
|
|
|
$this->options['query']['Tag.' . ($i + 1) . '.Value'] = $value[$i]['Value']; |
695
|
|
|
} |
696
|
|
|
|
697
|
|
|
return $this; |
698
|
|
|
} |
699
|
|
|
|
700
|
|
|
/** |
701
|
|
|
* @param array $value |
702
|
|
|
* |
703
|
|
|
* @return $this |
704
|
|
|
*/ |
705
|
|
|
public function withDnsConfigNameServer(array $value) |
706
|
|
|
{ |
707
|
|
|
$this->data['DnsConfigNameServer'] = $value; |
708
|
|
|
foreach ($value as $i => $iValue) { |
709
|
|
|
$this->options['query']['DnsConfig.NameServer.' . ($i + 1)] = $iValue; |
710
|
|
|
} |
711
|
|
|
|
712
|
|
|
return $this; |
713
|
|
|
} |
714
|
|
|
|
715
|
|
|
/** |
716
|
|
|
* @param array $value |
717
|
|
|
* |
718
|
|
|
* @return $this |
719
|
|
|
*/ |
720
|
|
|
public function withDnsConfigOption(array $value) |
721
|
|
|
{ |
722
|
|
|
$this->data['DnsConfigOption'] = $value; |
723
|
|
|
foreach ($value as $i => $iValue) { |
724
|
|
|
$this->options['query']['DnsConfig.Option.' . ($i + 1) . '.Name'] = $value[$i]['Name']; |
725
|
|
|
$this->options['query']['DnsConfig.Option.' . ($i + 1) . '.Value'] = $value[$i]['Value']; |
726
|
|
|
} |
727
|
|
|
|
728
|
|
|
return $this; |
729
|
|
|
} |
730
|
|
|
|
731
|
|
|
/** |
732
|
|
|
* @param array $value |
733
|
|
|
* |
734
|
|
|
* @return $this |
735
|
|
|
*/ |
736
|
|
|
public function withDnsConfigSearch(array $value) |
737
|
|
|
{ |
738
|
|
|
$this->data['DnsConfigSearch'] = $value; |
739
|
|
|
foreach ($value as $i => $iValue) { |
740
|
|
|
$this->options['query']['DnsConfig.Search.' . ($i + 1)] = $iValue; |
741
|
|
|
} |
742
|
|
|
|
743
|
|
|
return $this; |
744
|
|
|
} |
745
|
|
|
|
746
|
|
|
/** |
747
|
|
|
* @param array $value |
748
|
|
|
* |
749
|
|
|
* @return $this |
750
|
|
|
*/ |
751
|
|
|
public function withVolume(array $value) |
752
|
|
|
{ |
753
|
|
|
$this->data['Volume'] = $value; |
754
|
|
|
foreach ($value as $i => $iValue) { |
755
|
|
|
$this->options['query']['Volume.' . ($i + 1) . '.Name'] = $value[$i]['Name']; |
756
|
|
|
$this->options['query']['Volume.' . ($i + 1) . '.NFSVolume.Server'] = $value[$i]['NFSVolume.Server']; |
757
|
|
|
$this->options['query']['Volume.' . ($i + 1) . '.NFSVolume.Path'] = $value[$i]['NFSVolume.Path']; |
758
|
|
|
$this->options['query']['Volume.' . ($i + 1) . '.NFSVolume.ReadOnly'] = $value[$i]['NFSVolume.ReadOnly']; |
759
|
|
|
foreach ($value[$i]['ConfigFileVolume.ConfigFileToPaths'] as $j => $jValue) { |
760
|
|
|
$this->options['query']['Volume.' . ($i + 1) . '.ConfigFileVolume.ConfigFileToPath.' . ($j + 1)] = $jValue; |
761
|
|
|
} |
762
|
|
|
$this->options['query']['Volume.' . ($i + 1) . '.Type'] = $value[$i]['Type']; |
763
|
|
|
} |
764
|
|
|
|
765
|
|
|
return $this; |
766
|
|
|
} |
767
|
|
|
} |
768
|
|
|
|