1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Dts\V20170601; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* @method ConfigureMigrationJob configureMigrationJob(array $options = []) |
9
|
|
|
* @method CreateMigrationJob createMigrationJob(array $options = []) |
10
|
|
|
* @method DeleteMigrationJob deleteMigrationJob(array $options = []) |
11
|
|
|
* @method DescirbeMigrationJobs descirbeMigrationJobs(array $options = []) |
12
|
|
|
* @method DescribeMigrationJobDetail describeMigrationJobDetail(array $options = []) |
13
|
|
|
* @method DescribeMigrationJobStatus describeMigrationJobStatus(array $options = []) |
14
|
|
|
* @method ModifyMigrationObject modifyMigrationObject(array $options = []) |
15
|
|
|
* @method StartMigrationJob startMigrationJob(array $options = []) |
16
|
|
|
* @method StopMigrationJob stopMigrationJob(array $options = []) |
17
|
|
|
* @method SuspendMigrationJob suspendMigrationJob(array $options = []) |
18
|
|
|
*/ |
19
|
|
|
class DtsApiResolver extends ApiResolver |
20
|
|
|
{ |
21
|
|
|
} |
22
|
|
|
|
23
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
24
|
|
|
{ |
25
|
|
|
/** @var string */ |
26
|
|
|
public $product = 'Dts'; |
27
|
|
|
|
28
|
|
|
/** @var string */ |
29
|
|
|
public $version = '2017-06-01'; |
30
|
|
|
|
31
|
|
|
/** @var string */ |
32
|
|
|
public $method = 'POST'; |
33
|
|
|
|
34
|
|
|
/** @var string */ |
35
|
|
|
public $serviceCode = 'dts'; |
36
|
|
|
} |
37
|
|
|
|
38
|
|
|
/** |
39
|
|
|
* @method string getSourceEndpointInstanceID() |
40
|
|
|
* @method string getSourceEndpointEngineName() |
41
|
|
|
* @method string getSourceEndpointOracleSID() |
42
|
|
|
* @method string getDestinationEndpointInstanceID() |
43
|
|
|
* @method string getSourceEndpointIP() |
44
|
|
|
* @method string getDestinationEndpointPassword() |
45
|
|
|
* @method string getMigrationObject() |
46
|
|
|
* @method $this withMigrationObject($value) |
47
|
|
|
* @method string getMigrationModeDataIntialization() |
48
|
|
|
* @method string getMigrationJobId() |
49
|
|
|
* @method $this withMigrationJobId($value) |
50
|
|
|
* @method string getSourceEndpointInstanceType() |
51
|
|
|
* @method string getDestinationEndpointEngineName() |
52
|
|
|
* @method string getMigrationModeStructureIntialization() |
53
|
|
|
* @method string getMigrationModeDataSynchronization() |
54
|
|
|
* @method string getDestinationEndpointRegion() |
55
|
|
|
* @method string getSourceEndpointUserName() |
56
|
|
|
* @method string getSourceEndpointDatabaseName() |
57
|
|
|
* @method string getSourceEndpointPort() |
58
|
|
|
* @method string getSourceEndpointOwnerID() |
59
|
|
|
* @method string getDestinationEndpointUserName() |
60
|
|
|
* @method string getDestinationEndpointPort() |
61
|
|
|
* @method string getSourceEndpointRegion() |
62
|
|
|
* @method string getSourceEndpointRole() |
63
|
|
|
* @method string getDestinationEndpointDataBaseName() |
64
|
|
|
* @method string getSourceEndpointPassword() |
65
|
|
|
* @method string getMigrationReserved() |
66
|
|
|
* @method $this withMigrationReserved($value) |
67
|
|
|
* @method string getDestinationEndpointIP() |
68
|
|
|
* @method string getMigrationJobName() |
69
|
|
|
* @method $this withMigrationJobName($value) |
70
|
|
|
* @method string getDestinationEndpointInstanceType() |
71
|
|
|
*/ |
72
|
|
|
class ConfigureMigrationJob extends Rpc |
73
|
|
|
{ |
74
|
|
|
|
75
|
|
|
/** |
76
|
|
|
* @param string $value |
77
|
|
|
* |
78
|
|
|
* @return $this |
79
|
|
|
*/ |
80
|
|
|
public function withSourceEndpointInstanceID($value) |
81
|
|
|
{ |
82
|
|
|
$this->data['SourceEndpointInstanceID'] = $value; |
83
|
|
|
$this->options['query']['SourceEndpoint.InstanceID'] = $value; |
84
|
|
|
|
85
|
|
|
return $this; |
86
|
|
|
} |
87
|
|
|
|
88
|
|
|
/** |
89
|
|
|
* @param string $value |
90
|
|
|
* |
91
|
|
|
* @return $this |
92
|
|
|
*/ |
93
|
|
|
public function withSourceEndpointEngineName($value) |
94
|
|
|
{ |
95
|
|
|
$this->data['SourceEndpointEngineName'] = $value; |
96
|
|
|
$this->options['query']['SourceEndpoint.EngineName'] = $value; |
97
|
|
|
|
98
|
|
|
return $this; |
99
|
|
|
} |
100
|
|
|
|
101
|
|
|
/** |
102
|
|
|
* @param string $value |
103
|
|
|
* |
104
|
|
|
* @return $this |
105
|
|
|
*/ |
106
|
|
|
public function withSourceEndpointOracleSID($value) |
107
|
|
|
{ |
108
|
|
|
$this->data['SourceEndpointOracleSID'] = $value; |
109
|
|
|
$this->options['query']['SourceEndpoint.OracleSID'] = $value; |
110
|
|
|
|
111
|
|
|
return $this; |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
/** |
115
|
|
|
* @param string $value |
116
|
|
|
* |
117
|
|
|
* @return $this |
118
|
|
|
*/ |
119
|
|
|
public function withDestinationEndpointInstanceID($value) |
120
|
|
|
{ |
121
|
|
|
$this->data['DestinationEndpointInstanceID'] = $value; |
122
|
|
|
$this->options['query']['DestinationEndpoint.InstanceID'] = $value; |
123
|
|
|
|
124
|
|
|
return $this; |
125
|
|
|
} |
126
|
|
|
|
127
|
|
|
/** |
128
|
|
|
* @param string $value |
129
|
|
|
* |
130
|
|
|
* @return $this |
131
|
|
|
*/ |
132
|
|
|
public function withSourceEndpointIP($value) |
133
|
|
|
{ |
134
|
|
|
$this->data['SourceEndpointIP'] = $value; |
135
|
|
|
$this->options['query']['SourceEndpoint.IP'] = $value; |
136
|
|
|
|
137
|
|
|
return $this; |
138
|
|
|
} |
139
|
|
|
|
140
|
|
|
/** |
141
|
|
|
* @param string $value |
142
|
|
|
* |
143
|
|
|
* @return $this |
144
|
|
|
*/ |
145
|
|
|
public function withDestinationEndpointPassword($value) |
146
|
|
|
{ |
147
|
|
|
$this->data['DestinationEndpointPassword'] = $value; |
148
|
|
|
$this->options['query']['DestinationEndpoint.Password'] = $value; |
149
|
|
|
|
150
|
|
|
return $this; |
151
|
|
|
} |
152
|
|
|
|
153
|
|
|
/** |
154
|
|
|
* @param string $value |
155
|
|
|
* |
156
|
|
|
* @return $this |
157
|
|
|
*/ |
158
|
|
|
public function withMigrationModeDataIntialization($value) |
159
|
|
|
{ |
160
|
|
|
$this->data['MigrationModeDataIntialization'] = $value; |
161
|
|
|
$this->options['query']['MigrationMode.DataIntialization'] = $value; |
162
|
|
|
|
163
|
|
|
return $this; |
164
|
|
|
} |
165
|
|
|
|
166
|
|
|
/** |
167
|
|
|
* @param string $value |
168
|
|
|
* |
169
|
|
|
* @return $this |
170
|
|
|
*/ |
171
|
|
|
public function withSourceEndpointInstanceType($value) |
172
|
|
|
{ |
173
|
|
|
$this->data['SourceEndpointInstanceType'] = $value; |
174
|
|
|
$this->options['query']['SourceEndpoint.InstanceType'] = $value; |
175
|
|
|
|
176
|
|
|
return $this; |
177
|
|
|
} |
178
|
|
|
|
179
|
|
|
/** |
180
|
|
|
* @param string $value |
181
|
|
|
* |
182
|
|
|
* @return $this |
183
|
|
|
*/ |
184
|
|
|
public function withDestinationEndpointEngineName($value) |
185
|
|
|
{ |
186
|
|
|
$this->data['DestinationEndpointEngineName'] = $value; |
187
|
|
|
$this->options['query']['DestinationEndpoint.EngineName'] = $value; |
188
|
|
|
|
189
|
|
|
return $this; |
190
|
|
|
} |
191
|
|
|
|
192
|
|
|
/** |
193
|
|
|
* @param string $value |
194
|
|
|
* |
195
|
|
|
* @return $this |
196
|
|
|
*/ |
197
|
|
|
public function withMigrationModeStructureIntialization($value) |
198
|
|
|
{ |
199
|
|
|
$this->data['MigrationModeStructureIntialization'] = $value; |
200
|
|
|
$this->options['query']['MigrationMode.StructureIntialization'] = $value; |
201
|
|
|
|
202
|
|
|
return $this; |
203
|
|
|
} |
204
|
|
|
|
205
|
|
|
/** |
206
|
|
|
* @param string $value |
207
|
|
|
* |
208
|
|
|
* @return $this |
209
|
|
|
*/ |
210
|
|
|
public function withMigrationModeDataSynchronization($value) |
211
|
|
|
{ |
212
|
|
|
$this->data['MigrationModeDataSynchronization'] = $value; |
213
|
|
|
$this->options['query']['MigrationMode.DataSynchronization'] = $value; |
214
|
|
|
|
215
|
|
|
return $this; |
216
|
|
|
} |
217
|
|
|
|
218
|
|
|
/** |
219
|
|
|
* @param string $value |
220
|
|
|
* |
221
|
|
|
* @return $this |
222
|
|
|
*/ |
223
|
|
|
public function withDestinationEndpointRegion($value) |
224
|
|
|
{ |
225
|
|
|
$this->data['DestinationEndpointRegion'] = $value; |
226
|
|
|
$this->options['query']['DestinationEndpoint.Region'] = $value; |
227
|
|
|
|
228
|
|
|
return $this; |
229
|
|
|
} |
230
|
|
|
|
231
|
|
|
/** |
232
|
|
|
* @param string $value |
233
|
|
|
* |
234
|
|
|
* @return $this |
235
|
|
|
*/ |
236
|
|
|
public function withSourceEndpointUserName($value) |
237
|
|
|
{ |
238
|
|
|
$this->data['SourceEndpointUserName'] = $value; |
239
|
|
|
$this->options['query']['SourceEndpoint.UserName'] = $value; |
240
|
|
|
|
241
|
|
|
return $this; |
242
|
|
|
} |
243
|
|
|
|
244
|
|
|
/** |
245
|
|
|
* @param string $value |
246
|
|
|
* |
247
|
|
|
* @return $this |
248
|
|
|
*/ |
249
|
|
|
public function withSourceEndpointDatabaseName($value) |
250
|
|
|
{ |
251
|
|
|
$this->data['SourceEndpointDatabaseName'] = $value; |
252
|
|
|
$this->options['query']['SourceEndpoint.DatabaseName'] = $value; |
253
|
|
|
|
254
|
|
|
return $this; |
255
|
|
|
} |
256
|
|
|
|
257
|
|
|
/** |
258
|
|
|
* @param string $value |
259
|
|
|
* |
260
|
|
|
* @return $this |
261
|
|
|
*/ |
262
|
|
|
public function withSourceEndpointPort($value) |
263
|
|
|
{ |
264
|
|
|
$this->data['SourceEndpointPort'] = $value; |
265
|
|
|
$this->options['query']['SourceEndpoint.Port'] = $value; |
266
|
|
|
|
267
|
|
|
return $this; |
268
|
|
|
} |
269
|
|
|
|
270
|
|
|
/** |
271
|
|
|
* @param string $value |
272
|
|
|
* |
273
|
|
|
* @return $this |
274
|
|
|
*/ |
275
|
|
|
public function withSourceEndpointOwnerID($value) |
276
|
|
|
{ |
277
|
|
|
$this->data['SourceEndpointOwnerID'] = $value; |
278
|
|
|
$this->options['query']['SourceEndpoint.OwnerID'] = $value; |
279
|
|
|
|
280
|
|
|
return $this; |
281
|
|
|
} |
282
|
|
|
|
283
|
|
|
/** |
284
|
|
|
* @param string $value |
285
|
|
|
* |
286
|
|
|
* @return $this |
287
|
|
|
*/ |
288
|
|
|
public function withDestinationEndpointUserName($value) |
289
|
|
|
{ |
290
|
|
|
$this->data['DestinationEndpointUserName'] = $value; |
291
|
|
|
$this->options['query']['DestinationEndpoint.UserName'] = $value; |
292
|
|
|
|
293
|
|
|
return $this; |
294
|
|
|
} |
295
|
|
|
|
296
|
|
|
/** |
297
|
|
|
* @param string $value |
298
|
|
|
* |
299
|
|
|
* @return $this |
300
|
|
|
*/ |
301
|
|
|
public function withDestinationEndpointPort($value) |
302
|
|
|
{ |
303
|
|
|
$this->data['DestinationEndpointPort'] = $value; |
304
|
|
|
$this->options['query']['DestinationEndpoint.Port'] = $value; |
305
|
|
|
|
306
|
|
|
return $this; |
307
|
|
|
} |
308
|
|
|
|
309
|
|
|
/** |
310
|
|
|
* @param string $value |
311
|
|
|
* |
312
|
|
|
* @return $this |
313
|
|
|
*/ |
314
|
|
|
public function withSourceEndpointRegion($value) |
315
|
|
|
{ |
316
|
|
|
$this->data['SourceEndpointRegion'] = $value; |
317
|
|
|
$this->options['query']['SourceEndpoint.Region'] = $value; |
318
|
|
|
|
319
|
|
|
return $this; |
320
|
|
|
} |
321
|
|
|
|
322
|
|
|
/** |
323
|
|
|
* @param string $value |
324
|
|
|
* |
325
|
|
|
* @return $this |
326
|
|
|
*/ |
327
|
|
|
public function withSourceEndpointRole($value) |
328
|
|
|
{ |
329
|
|
|
$this->data['SourceEndpointRole'] = $value; |
330
|
|
|
$this->options['query']['SourceEndpoint.Role'] = $value; |
331
|
|
|
|
332
|
|
|
return $this; |
333
|
|
|
} |
334
|
|
|
|
335
|
|
|
/** |
336
|
|
|
* @param string $value |
337
|
|
|
* |
338
|
|
|
* @return $this |
339
|
|
|
*/ |
340
|
|
|
public function withDestinationEndpointDataBaseName($value) |
341
|
|
|
{ |
342
|
|
|
$this->data['DestinationEndpointDataBaseName'] = $value; |
343
|
|
|
$this->options['query']['DestinationEndpoint.DataBaseName'] = $value; |
344
|
|
|
|
345
|
|
|
return $this; |
346
|
|
|
} |
347
|
|
|
|
348
|
|
|
/** |
349
|
|
|
* @param string $value |
350
|
|
|
* |
351
|
|
|
* @return $this |
352
|
|
|
*/ |
353
|
|
|
public function withSourceEndpointPassword($value) |
354
|
|
|
{ |
355
|
|
|
$this->data['SourceEndpointPassword'] = $value; |
356
|
|
|
$this->options['query']['SourceEndpoint.Password'] = $value; |
357
|
|
|
|
358
|
|
|
return $this; |
359
|
|
|
} |
360
|
|
|
|
361
|
|
|
/** |
362
|
|
|
* @param string $value |
363
|
|
|
* |
364
|
|
|
* @return $this |
365
|
|
|
*/ |
366
|
|
|
public function withDestinationEndpointIP($value) |
367
|
|
|
{ |
368
|
|
|
$this->data['DestinationEndpointIP'] = $value; |
369
|
|
|
$this->options['query']['DestinationEndpoint.IP'] = $value; |
370
|
|
|
|
371
|
|
|
return $this; |
372
|
|
|
} |
373
|
|
|
|
374
|
|
|
/** |
375
|
|
|
* @param string $value |
376
|
|
|
* |
377
|
|
|
* @return $this |
378
|
|
|
*/ |
379
|
|
|
public function withDestinationEndpointInstanceType($value) |
380
|
|
|
{ |
381
|
|
|
$this->data['DestinationEndpointInstanceType'] = $value; |
382
|
|
|
$this->options['query']['DestinationEndpoint.InstanceType'] = $value; |
383
|
|
|
|
384
|
|
|
return $this; |
385
|
|
|
} |
386
|
|
|
} |
387
|
|
|
|
388
|
|
|
/** |
389
|
|
|
* @method string getClientToken() |
390
|
|
|
* @method $this withClientToken($value) |
391
|
|
|
* @method string getRegion() |
392
|
|
|
* @method $this withRegion($value) |
393
|
|
|
* @method string getMigrationJobClass() |
394
|
|
|
* @method $this withMigrationJobClass($value) |
395
|
|
|
* @method string getOwnerId() |
396
|
|
|
* @method $this withOwnerId($value) |
397
|
|
|
*/ |
398
|
|
|
class CreateMigrationJob extends Rpc |
399
|
|
|
{ |
400
|
|
|
} |
401
|
|
|
|
402
|
|
|
/** |
403
|
|
|
* @method string getMigrationJobId() |
404
|
|
|
* @method $this withMigrationJobId($value) |
405
|
|
|
*/ |
406
|
|
|
class DeleteMigrationJob extends Rpc |
407
|
|
|
{ |
408
|
|
|
} |
409
|
|
|
|
410
|
|
|
/** |
411
|
|
|
* @method string getPageSize() |
412
|
|
|
* @method $this withPageSize($value) |
413
|
|
|
* @method string getMigrationJobName() |
414
|
|
|
* @method $this withMigrationJobName($value) |
415
|
|
|
* @method string getPageNum() |
416
|
|
|
* @method $this withPageNum($value) |
417
|
|
|
*/ |
418
|
|
|
class DescirbeMigrationJobs extends Rpc |
419
|
|
|
{ |
420
|
|
|
} |
421
|
|
|
|
422
|
|
|
/** |
423
|
|
|
* @method string getClientToken() |
424
|
|
|
* @method $this withClientToken($value) |
425
|
|
|
* @method string getMigrationModeDataInitialization() |
426
|
|
|
* @method string getMigrationJobId() |
427
|
|
|
* @method $this withMigrationJobId($value) |
428
|
|
|
* @method string getPageNum() |
429
|
|
|
* @method $this withPageNum($value) |
430
|
|
|
* @method string getMigrationModeStructureInitialization() |
431
|
|
|
* @method string getMigrationModeDataSynchronization() |
432
|
|
|
* @method string getPageSize() |
433
|
|
|
* @method $this withPageSize($value) |
434
|
|
|
*/ |
435
|
|
|
class DescribeMigrationJobDetail extends Rpc |
436
|
|
|
{ |
437
|
|
|
|
438
|
|
|
/** |
439
|
|
|
* @param string $value |
440
|
|
|
* |
441
|
|
|
* @return $this |
442
|
|
|
*/ |
443
|
|
|
public function withMigrationModeDataInitialization($value) |
444
|
|
|
{ |
445
|
|
|
$this->data['MigrationModeDataInitialization'] = $value; |
446
|
|
|
$this->options['query']['MigrationMode.DataInitialization'] = $value; |
447
|
|
|
|
448
|
|
|
return $this; |
449
|
|
|
} |
450
|
|
|
|
451
|
|
|
/** |
452
|
|
|
* @param string $value |
453
|
|
|
* |
454
|
|
|
* @return $this |
455
|
|
|
*/ |
456
|
|
|
public function withMigrationModeStructureInitialization($value) |
457
|
|
|
{ |
458
|
|
|
$this->data['MigrationModeStructureInitialization'] = $value; |
459
|
|
|
$this->options['query']['MigrationMode.StructureInitialization'] = $value; |
460
|
|
|
|
461
|
|
|
return $this; |
462
|
|
|
} |
463
|
|
|
|
464
|
|
|
/** |
465
|
|
|
* @param string $value |
466
|
|
|
* |
467
|
|
|
* @return $this |
468
|
|
|
*/ |
469
|
|
|
public function withMigrationModeDataSynchronization($value) |
470
|
|
|
{ |
471
|
|
|
$this->data['MigrationModeDataSynchronization'] = $value; |
472
|
|
|
$this->options['query']['MigrationMode.DataSynchronization'] = $value; |
473
|
|
|
|
474
|
|
|
return $this; |
475
|
|
|
} |
476
|
|
|
} |
477
|
|
|
|
478
|
|
|
/** |
479
|
|
|
* @method string getClientToken() |
480
|
|
|
* @method $this withClientToken($value) |
481
|
|
|
* @method string getMigrationJobId() |
482
|
|
|
* @method $this withMigrationJobId($value) |
483
|
|
|
*/ |
484
|
|
|
class DescribeMigrationJobStatus extends Rpc |
485
|
|
|
{ |
486
|
|
|
} |
487
|
|
|
|
488
|
|
|
/** |
489
|
|
|
* @method string getMigrationObject() |
490
|
|
|
* @method $this withMigrationObject($value) |
491
|
|
|
* @method string getClientToken() |
492
|
|
|
* @method $this withClientToken($value) |
493
|
|
|
* @method string getMigrationJobId() |
494
|
|
|
* @method $this withMigrationJobId($value) |
495
|
|
|
*/ |
496
|
|
|
class ModifyMigrationObject extends Rpc |
497
|
|
|
{ |
498
|
|
|
} |
499
|
|
|
|
500
|
|
|
/** |
501
|
|
|
* @method string getMigrationJobId() |
502
|
|
|
* @method $this withMigrationJobId($value) |
503
|
|
|
*/ |
504
|
|
|
class StartMigrationJob extends Rpc |
505
|
|
|
{ |
506
|
|
|
} |
507
|
|
|
|
508
|
|
|
/** |
509
|
|
|
* @method string getClientToken() |
510
|
|
|
* @method $this withClientToken($value) |
511
|
|
|
* @method string getMigrationJobId() |
512
|
|
|
* @method $this withMigrationJobId($value) |
513
|
|
|
*/ |
514
|
|
|
class StopMigrationJob extends Rpc |
515
|
|
|
{ |
516
|
|
|
} |
517
|
|
|
|
518
|
|
|
/** |
519
|
|
|
* @method string getClientToken() |
520
|
|
|
* @method $this withClientToken($value) |
521
|
|
|
* @method string getMigrationJobId() |
522
|
|
|
* @method $this withMigrationJobId($value) |
523
|
|
|
*/ |
524
|
|
|
class SuspendMigrationJob extends Rpc |
525
|
|
|
{ |
526
|
|
|
} |
527
|
|
|
|