GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 789fa4...49eefd )
by
unknown
05:54
created

DeleteShardTasks   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 4
eloc 8
c 1
b 0
f 0
dl 0
loc 21
rs 10
1
<?php
2
3
namespace AlibabaCloud\Drds\V20190123;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CheckDrdsDbName checkDrdsDbName(array $options = [])
9
 * @method CheckExpandStatus checkExpandStatus(array $options = [])
10
 * @method CheckSqlAuditEnableStatus checkSqlAuditEnableStatus(array $options = [])
11
 * @method CreateDrdsDB createDrdsDB(array $options = [])
12
 * @method CreateDrdsInstance createDrdsInstance(array $options = [])
13
 * @method CreateInstanceAccount createInstanceAccount(array $options = [])
14
 * @method CreateInstanceInternetAddress createInstanceInternetAddress(array $options = [])
15
 * @method CreateOrderForRds createOrderForRds(array $options = [])
16
 * @method CreateShardTask createShardTask(array $options = [])
17
 * @method DescribeBackMenu describeBackMenu(array $options = [])
18
 * @method DescribeBackupDbs describeBackupDbs(array $options = [])
19
 * @method DescribeBackupLocal describeBackupLocal(array $options = [])
20
 * @method DescribeBackupPolicy describeBackupPolicy(array $options = [])
21
 * @method DescribeBackupSets describeBackupSets(array $options = [])
22
 * @method DescribeBackupTimes describeBackupTimes(array $options = [])
23
 * @method DescribeBroadcastTables describeBroadcastTables(array $options = [])
24
 * @method DescribeDbInstanceDbs describeDbInstanceDbs(array $options = [])
25
 * @method DescribeDbInstances describeDbInstances(array $options = [])
26
 * @method DescribeDrdsDB describeDrdsDB(array $options = [])
27
 * @method DescribeDrdsDBCluster describeDrdsDBCluster(array $options = [])
28
 * @method DescribeDrdsDbInstance describeDrdsDbInstance(array $options = [])
29
 * @method DescribeDrdsDbInstances describeDrdsDbInstances(array $options = [])
30
 * @method DescribeDrdsDBIpWhiteList describeDrdsDBIpWhiteList(array $options = [])
31
 * @method DescribeDrdsDbRdsNameList describeDrdsDbRdsNameList(array $options = [])
32
 * @method DescribeDrdsDBs describeDrdsDBs(array $options = [])
33
 * @method DescribeDrdsDbTasks describeDrdsDbTasks(array $options = [])
34
 * @method DescribeDrdsInstance describeDrdsInstance(array $options = [])
35
 * @method DescribeDrdsInstanceDbMonitor describeDrdsInstanceDbMonitor(array $options = [])
36
 * @method DescribeDrdsInstanceLevelTasks describeDrdsInstanceLevelTasks(array $options = [])
37
 * @method DescribeDrdsInstanceMonitor describeDrdsInstanceMonitor(array $options = [])
38
 * @method DescribeDrdsInstances describeDrdsInstances(array $options = [])
39
 * @method DescribeDrdsInstanceVersion describeDrdsInstanceVersion(array $options = [])
40
 * @method DescribeDrdsParams describeDrdsParams(array $options = [])
41
 * @method DescribeDrdsRdsInstances describeDrdsRdsInstances(array $options = [])
42
 * @method DescribeDrdsShardingDbs describeDrdsShardingDbs(array $options = [])
43
 * @method DescribeDrdsSlowSqls describeDrdsSlowSqls(array $options = [])
44
 * @method DescribeDrdsSqlAuditStatus describeDrdsSqlAuditStatus(array $options = [])
45
 * @method DescribeDrdsTasks describeDrdsTasks(array $options = [])
46
 * @method DescribeExpandLogicTableInfoList describeExpandLogicTableInfoList(array $options = [])
47
 * @method DescribeHiStoreInstanceInfo describeHiStoreInstanceInfo(array $options = [])
48
 * @method DescribeHotDbList describeHotDbList(array $options = [])
49
 * @method DescribeInstanceAccounts describeInstanceAccounts(array $options = [])
50
 * @method DescribeInstanceMenuSwitch describeInstanceMenuSwitch(array $options = [])
51
 * @method DescribeInstanceSwitchAzone describeInstanceSwitchAzone(array $options = [])
52
 * @method DescribeInstanceSwitchNetwork describeInstanceSwitchNetwork(array $options = [])
53
 * @method DescribeInstDbLogInfo describeInstDbLogInfo(array $options = [])
54
 * @method DescribeInstDbSlsInfo describeInstDbSlsInfo(array $options = [])
55
 * @method DescribePreCheckResult describePreCheckResult(array $options = [])
56
 * @method DescribeRdsCommodity describeRdsCommodity(array $options = [])
57
 * @method DescribeRDSPerformance describeRDSPerformance(array $options = [])
58
 * @method DescribeRdsPerformanceSummary describeRdsPerformanceSummary(array $options = [])
59
 * @method DescribeRdsSuperAccountInstances describeRdsSuperAccountInstances(array $options = [])
60
 * @method DescribeRestoreOrder describeRestoreOrder(array $options = [])
61
 * @method DescribeShardTaskInfo describeShardTaskInfo(array $options = [])
62
 * @method DescribeShardTaskList describeShardTaskList(array $options = [])
63
 * @method DescribeSqlFlashbakTask describeSqlFlashbakTask(array $options = [])
64
 * @method DescribeTable describeTable(array $options = [])
65
 * @method DescribeTableListByType describeTableListByType(array $options = [])
66
 * @method DescribeTables describeTables(array $options = [])
67
 * @method DisableSqlAudit disableSqlAudit(array $options = [])
68
 * @method EnableSqlAudit enableSqlAudit(array $options = [])
69
 * @method EnableSqlFlashbackMatchSwitch enableSqlFlashbackMatchSwitch(array $options = [])
70
 * @method ListTagResources listTagResources(array $options = [])
71
 * @method ManagePrivateRds managePrivateRds(array $options = [])
72
 * @method ModifyDrdsInstanceDescription modifyDrdsInstanceDescription(array $options = [])
73
 * @method ModifyDrdsIpWhiteList modifyDrdsIpWhiteList(array $options = [])
74
 * @method ModifyRdsReadWeight modifyRdsReadWeight(array $options = [])
75
 * @method PutStartBackup putStartBackup(array $options = [])
76
 * @method ReleaseInstanceInternetAddress releaseInstanceInternetAddress(array $options = [])
77
 * @method RemoveBackupsSet removeBackupsSet(array $options = [])
78
 * @method RemoveDrdsDb removeDrdsDb(array $options = [])
79
 * @method RemoveDrdsDbFailedRecord removeDrdsDbFailedRecord(array $options = [])
80
 * @method RemoveDrdsInstance removeDrdsInstance(array $options = [])
81
 * @method RemoveInstanceAccount removeInstanceAccount(array $options = [])
82
 * @method SetBackupLocal setBackupLocal(array $options = [])
83
 * @method SetBackupPolicy setBackupPolicy(array $options = [])
84
 * @method SetupBroadcastTables setupBroadcastTables(array $options = [])
85
 * @method SetupDrdsParams setupDrdsParams(array $options = [])
86
 * @method SetupTable setupTable(array $options = [])
87
 * @method StartRestore startRestore(array $options = [])
88
 * @method SubmitCleanTask submitCleanTask(array $options = [])
89
 * @method SubmitHotExpandPreCheckTask submitHotExpandPreCheckTask(array $options = [])
90
 * @method SubmitHotExpandTask submitHotExpandTask(array $options = [])
91
 * @method SubmitSmoothExpandPreCheck submitSmoothExpandPreCheck(array $options = [])
92
 * @method SubmitSmoothExpandPreCheckTask submitSmoothExpandPreCheckTask(array $options = [])
93
 * @method SubmitSmoothExpandTask submitSmoothExpandTask(array $options = [])
94
 * @method SubmitSqlFlashbackTask submitSqlFlashbackTask(array $options = [])
95
 * @method SubmitSwitchTask submitSwitchTask(array $options = [])
96
 * @method SwitchGlobalBroadcastType switchGlobalBroadcastType(array $options = [])
97
 * @method TagResources tagResources(array $options = [])
98
 * @method UntagResources untagResources(array $options = [])
99
 * @method UpdateInstanceNetwork updateInstanceNetwork(array $options = [])
100
 * @method UpdatePrivateRdsClass updatePrivateRdsClass(array $options = [])
101
 * @method UpdateResourceGroupAttribute updateResourceGroupAttribute(array $options = [])
102
 * @method UpgradeHiStoreInstance upgradeHiStoreInstance(array $options = [])
103
 * @method UpgradeInstanceVersion upgradeInstanceVersion(array $options = [])
104
 * @method ValidateShardTask validateShardTask(array $options = [])
105
 */
106
class DrdsApiResolver extends ApiResolver
107
{
108
}
109
110
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
111
{
112
    /** @var string */
113
    public $product = 'Drds';
114
115
    /** @var string */
116
    public $version = '2019-01-23';
117
118
    /** @var string */
119
    public $method = 'POST';
120
121
    /** @var string */
122
    public $serviceCode = 'drds';
123
}
124
125
/**
126
 * @method string getDrdsInstanceId()
127
 * @method $this withDrdsInstanceId($value)
128
 * @method string getDbName()
129
 * @method $this withDbName($value)
130
 */
131
class CheckDrdsDbName extends Rpc
132
{
133
}
134
135
/**
136
 * @method string getDrdsInstanceId()
137
 * @method $this withDrdsInstanceId($value)
138
 * @method string getDbName()
139
 * @method $this withDbName($value)
140
 */
141
class CheckExpandStatus extends Rpc
142
{
143
}
144
145
/**
146
 * @method string getDrdsInstanceId()
147
 * @method $this withDrdsInstanceId($value)
148
 * @method string getDbName()
149
 * @method $this withDbName($value)
150
 */
151
class CheckSqlAuditEnableStatus extends Rpc
152
{
153
}
154
155
/**
156
 * @method string getEncode()
157
 * @method $this withEncode($value)
158
 * @method array getRdsInstance()
159
 * @method string getType()
160
 * @method $this withType($value)
161
 * @method string getPassword()
162
 * @method $this withPassword($value)
163
 * @method array getRdsSuperAccount()
164
 * @method string getAccountName()
165
 * @method $this withAccountName($value)
166
 * @method string getDrdsInstanceId()
167
 * @method $this withDrdsInstanceId($value)
168
 * @method string getDbInstanceIsCreating()
169
 * @method $this withDbInstanceIsCreating($value)
170
 * @method array getInstDbName()
171
 * @method string getDbName()
172
 * @method $this withDbName($value)
173
 * @method string getDbInstType()
174
 * @method $this withDbInstType($value)
175
 */
176
class CreateDrdsDB extends Rpc
177
{
178
179
    /**
180
     * @param array $rdsInstance
181
     *
182
     * @return $this
183
     */
184
	public function withRdsInstance(array $rdsInstance)
185
	{
186
	    $this->data['RdsInstance'] = $rdsInstance;
187
		foreach ($rdsInstance as $i => $iValue) {
188
			$this->options['query']['RdsInstance.' . ($i + 1)] = $iValue;
189
		}
190
191
		return $this;
192
    }
193
194
    /**
195
     * @param array $rdsSuperAccount
196
     *
197
     * @return $this
198
     */
199
	public function withRdsSuperAccount(array $rdsSuperAccount)
200
	{
201
	    $this->data['RdsSuperAccount'] = $rdsSuperAccount;
202
		foreach ($rdsSuperAccount as $depth1 => $depth1Value) {
203
			if(isset($depth1Value['Password'])){
204
				$this->options['query']['RdsSuperAccount.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
205
			}
206
			if(isset($depth1Value['AccountName'])){
207
				$this->options['query']['RdsSuperAccount.' . ($depth1 + 1) . '.AccountName'] = $depth1Value['AccountName'];
208
			}
209
			if(isset($depth1Value['DbInstanceId'])){
210
				$this->options['query']['RdsSuperAccount.' . ($depth1 + 1) . '.DbInstanceId'] = $depth1Value['DbInstanceId'];
211
			}
212
		}
213
214
		return $this;
215
    }
216
217
    /**
218
     * @param array $instDbName
219
     *
220
     * @return $this
221
     */
222
	public function withInstDbName(array $instDbName)
223
	{
224
	    $this->data['InstDbName'] = $instDbName;
225
		foreach ($instDbName as $depth1 => $depth1Value) {
226
			foreach ($depth1Value['ShardDbName'] as $i => $iValue) {
227
				$this->options['query']['InstDbName.' . ($depth1 + 1) . '.ShardDbName.' . ($i + 1)] = $iValue;
228
			}
229
			if(isset($depth1Value['DbInstanceId'])){
230
				$this->options['query']['InstDbName.' . ($depth1 + 1) . '.DbInstanceId'] = $depth1Value['DbInstanceId'];
231
			}
232
		}
233
234
		return $this;
235
    }
236
}
237
238
/**
239
 * @method string getIsAutoRenew()
240
 * @method $this withIsAutoRenew($value)
241
 * @method string getClientToken()
242
 * @method $this withClientToken($value)
243
 * @method string getDescription()
244
 * @method $this withDescription($value)
245
 * @method string getType()
246
 * @method $this withType($value)
247
 * @method string getDuration()
248
 * @method $this withDuration($value)
249
 * @method string getResourceGroupId()
250
 * @method $this withResourceGroupId($value)
251
 * @method string getIsHa()
252
 * @method string getMySQLVersion()
253
 * @method $this withMySQLVersion($value)
254
 * @method string getInstanceSeries()
255
 * @method $this withInstanceSeries($value)
256
 * @method string getMasterInstId()
257
 * @method $this withMasterInstId($value)
258
 * @method string getQuantity()
259
 * @method $this withQuantity($value)
260
 * @method string getSpecification()
261
 * @method $this withSpecification($value)
262
 * @method string getVswitchId()
263
 * @method $this withVswitchId($value)
264
 * @method string getVpcId()
265
 * @method $this withVpcId($value)
266
 * @method string getZoneId()
267
 * @method $this withZoneId($value)
268
 * @method string getPayType()
269
 * @method $this withPayType($value)
270
 * @method string getPricingCycle()
271
 * @method $this withPricingCycle($value)
272
 */
273
class CreateDrdsInstance extends Rpc
274
{
275
276
    /**
277
     * @param string $value
278
     *
279
     * @return $this
280
     */
281
    public function withIsHa($value)
282
    {
283
        $this->data['IsHa'] = $value;
284
        $this->options['query']['isHa'] = $value;
285
286
        return $this;
287
    }
288
}
289
290
/**
291
 * @method string getDrdsInstanceId()
292
 * @method $this withDrdsInstanceId($value)
293
 * @method string getPassword()
294
 * @method $this withPassword($value)
295
 * @method string getAccountName()
296
 * @method $this withAccountName($value)
297
 * @method array getDbPrivilege()
298
 */
299
class CreateInstanceAccount extends Rpc
300
{
301
302
    /**
303
     * @param array $dbPrivilege
304
     *
305
     * @return $this
306
     */
307
	public function withDbPrivilege(array $dbPrivilege)
308
	{
309
	    $this->data['DbPrivilege'] = $dbPrivilege;
310
		foreach ($dbPrivilege as $depth1 => $depth1Value) {
311
			if(isset($depth1Value['DbName'])){
312
				$this->options['query']['DbPrivilege.' . ($depth1 + 1) . '.DbName'] = $depth1Value['DbName'];
313
			}
314
			if(isset($depth1Value['Privilege'])){
315
				$this->options['query']['DbPrivilege.' . ($depth1 + 1) . '.Privilege'] = $depth1Value['Privilege'];
316
			}
317
		}
318
319
		return $this;
320
    }
321
}
322
323
/**
324
 * @method string getDrdsPassword()
325
 * @method $this withDrdsPassword($value)
326
 * @method string getDrdsInstanceId()
327
 * @method $this withDrdsInstanceId($value)
328
 */
329
class CreateInstanceInternetAddress extends Rpc
330
{
331
}
332
333
/**
334
 * @method string getParams()
335
 * @method $this withParams($value)
336
 */
337
class CreateOrderForRds extends Rpc
338
{
339
}
340
341
/**
342
 * @method string getTaskType()
343
 * @method $this withTaskType($value)
344
 * @method string getTargetTableName()
345
 * @method $this withTargetTableName($value)
346
 * @method string getDrdsInstanceId()
347
 * @method $this withDrdsInstanceId($value)
348
 * @method string getDbName()
349
 * @method $this withDbName($value)
350
 * @method string getSourceTableName()
351
 * @method $this withSourceTableName($value)
352
 */
353
class CreateShardTask extends Rpc
354
{
355
}
356
357
/**
358
 * @method string getDrdsInstanceId()
359
 * @method $this withDrdsInstanceId($value)
360
 */
361
class DescribeBackMenu extends Rpc
362
{
363
}
364
365
/**
366
 * @method string getPreferredRestoreTime()
367
 * @method $this withPreferredRestoreTime($value)
368
 * @method string getBackupId()
369
 * @method $this withBackupId($value)
370
 * @method string getDrdsInstanceId()
371
 * @method $this withDrdsInstanceId($value)
372
 */
373
class DescribeBackupDbs extends Rpc
374
{
375
}
376
377
/**
378
 * @method string getDrdsInstanceId()
379
 * @method $this withDrdsInstanceId($value)
380
 */
381
class DescribeBackupLocal extends Rpc
382
{
383
}
384
385
/**
386
 * @method string getDrdsInstanceId()
387
 * @method $this withDrdsInstanceId($value)
388
 */
389
class DescribeBackupPolicy extends Rpc
390
{
391
}
392
393
/**
394
 * @method string getEndTime()
395
 * @method $this withEndTime($value)
396
 * @method string getStartTime()
397
 * @method $this withStartTime($value)
398
 * @method string getDrdsInstanceId()
399
 * @method $this withDrdsInstanceId($value)
400
 */
401
class DescribeBackupSets extends Rpc
402
{
403
}
404
405
/**
406
 * @method string getDrdsInstanceId()
407
 * @method $this withDrdsInstanceId($value)
408
 */
409
class DescribeBackupTimes extends Rpc
410
{
411
}
412
413
/**
414
 * @method string getQuery()
415
 * @method $this withQuery($value)
416
 * @method string getCurrentPage()
417
 * @method $this withCurrentPage($value)
418
 * @method string getDrdsInstanceId()
419
 * @method $this withDrdsInstanceId($value)
420
 * @method string getDbName()
421
 * @method $this withDbName($value)
422
 * @method string getPageSize()
423
 * @method $this withPageSize($value)
424
 */
425
class DescribeBroadcastTables extends Rpc
426
{
427
}
428
429
/**
430
 * @method string getDrdsInstanceId()
431
 * @method $this withDrdsInstanceId($value)
432
 * @method string getPassword()
433
 * @method $this withPassword($value)
434
 * @method string getAccountName()
435
 * @method $this withAccountName($value)
436
 * @method string getDbInstanceId()
437
 * @method $this withDbInstanceId($value)
438
 * @method string getDbInstType()
439
 * @method $this withDbInstType($value)
440
 */
441
class DescribeDbInstanceDbs extends Rpc
442
{
443
}
444
445
/**
446
 * @method string getDrdsInstanceId()
447
 * @method $this withDrdsInstanceId($value)
448
 * @method string getPageNumber()
449
 * @method $this withPageNumber($value)
450
 * @method string getSearch()
451
 * @method $this withSearch($value)
452
 * @method string getPageSize()
453
 * @method $this withPageSize($value)
454
 * @method string getDbInstType()
455
 * @method $this withDbInstType($value)
456
 */
457
class DescribeDbInstances extends Rpc
458
{
459
}
460
461
/**
462
 * @method string getDrdsInstanceId()
463
 * @method $this withDrdsInstanceId($value)
464
 * @method string getDbName()
465
 * @method $this withDbName($value)
466
 */
467
class DescribeDrdsDB extends Rpc
468
{
469
}
470
471
/**
472
 * @method string getDrdsInstanceId()
473
 * @method $this withDrdsInstanceId($value)
474
 * @method string getDbName()
475
 * @method $this withDbName($value)
476
 * @method string getDbInstanceId()
477
 * @method $this withDbInstanceId($value)
478
 */
479
class DescribeDrdsDBCluster extends Rpc
480
{
481
}
482
483
/**
484
 * @method string getDrdsInstanceId()
485
 * @method $this withDrdsInstanceId($value)
486
 * @method string getDbName()
487
 * @method $this withDbName($value)
488
 * @method string getDbInstanceId()
489
 * @method $this withDbInstanceId($value)
490
 */
491
class DescribeDrdsDbInstance extends Rpc
492
{
493
}
494
495
/**
496
 * @method string getDrdsInstanceId()
497
 * @method $this withDrdsInstanceId($value)
498
 * @method string getPageNumber()
499
 * @method $this withPageNumber($value)
500
 * @method string getDbName()
501
 * @method $this withDbName($value)
502
 * @method string getPageSize()
503
 * @method $this withPageSize($value)
504
 */
505
class DescribeDrdsDbInstances extends Rpc
506
{
507
}
508
509
/**
510
 * @method string getDrdsInstanceId()
511
 * @method $this withDrdsInstanceId($value)
512
 * @method string getGroupName()
513
 * @method $this withGroupName($value)
514
 * @method string getDbName()
515
 * @method $this withDbName($value)
516
 */
517
class DescribeDrdsDBIpWhiteList extends Rpc
518
{
519
}
520
521
/**
522
 * @method string getDrdsInstanceId()
523
 * @method $this withDrdsInstanceId($value)
524
 * @method string getDbName()
525
 * @method $this withDbName($value)
526
 */
527
class DescribeDrdsDbRdsNameList extends Rpc
528
{
529
}
530
531
/**
532
 * @method string getDrdsInstanceId()
533
 * @method $this withDrdsInstanceId($value)
534
 * @method string getPageNumber()
535
 * @method $this withPageNumber($value)
536
 * @method string getPageSize()
537
 * @method $this withPageSize($value)
538
 */
539
class DescribeDrdsDBs extends Rpc
540
{
541
}
542
543
/**
544
 * @method string getTaskType()
545
 * @method $this withTaskType($value)
546
 * @method string getDrdsInstanceId()
547
 * @method $this withDrdsInstanceId($value)
548
 * @method string getDbName()
549
 * @method $this withDbName($value)
550
 */
551
class DescribeDrdsDbTasks extends Rpc
552
{
553
}
554
555
/**
556
 * @method string getDrdsInstanceId()
557
 * @method $this withDrdsInstanceId($value)
558
 */
559
class DescribeDrdsInstance extends Rpc
560
{
561
}
562
563
/**
564
 * @method string getEndTime()
565
 * @method $this withEndTime($value)
566
 * @method string getStartTime()
567
 * @method $this withStartTime($value)
568
 * @method string getDrdsInstanceId()
569
 * @method $this withDrdsInstanceId($value)
570
 * @method string getDbName()
571
 * @method $this withDbName($value)
572
 * @method string getKey()
573
 * @method $this withKey($value)
574
 */
575
class DescribeDrdsInstanceDbMonitor extends Rpc
576
{
577
}
578
579
/**
580
 * @method string getDrdsInstanceId()
581
 * @method $this withDrdsInstanceId($value)
582
 */
583
class DescribeDrdsInstanceLevelTasks extends Rpc
584
{
585
}
586
587
/**
588
 * @method string getEndTime()
589
 * @method $this withEndTime($value)
590
 * @method string getStartTime()
591
 * @method $this withStartTime($value)
592
 * @method string getDrdsInstanceId()
593
 * @method $this withDrdsInstanceId($value)
594
 * @method string getKey()
595
 * @method $this withKey($value)
596
 * @method string getPeriodMultiple()
597
 * @method $this withPeriodMultiple($value)
598
 */
599
class DescribeDrdsInstanceMonitor extends Rpc
600
{
601
}
602
603
/**
604
 * @method string getDescription()
605
 * @method $this withDescription($value)
606
 * @method string getProductVersion()
607
 * @method $this withProductVersion($value)
608
 * @method string getType()
609
 * @method $this withType($value)
610
 * @method string getPageNumber()
611
 * @method $this withPageNumber($value)
612
 * @method string getResourceGroupId()
613
 * @method $this withResourceGroupId($value)
614
 * @method string getExpired()
615
 * @method $this withExpired($value)
616
 * @method string getPageSize()
617
 * @method $this withPageSize($value)
618
 * @method array getTag()
619
 * @method string getMix()
620
 * @method $this withMix($value)
621
 */
622
class DescribeDrdsInstances extends Rpc
623
{
624
625
    /**
626
     * @param array $tag
627
     *
628
     * @return $this
629
     */
630
	public function withTag(array $tag)
631
	{
632
	    $this->data['Tag'] = $tag;
633
		foreach ($tag as $depth1 => $depth1Value) {
634
			if(isset($depth1Value['Value'])){
635
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
636
			}
637
			if(isset($depth1Value['Key'])){
638
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
639
			}
640
		}
641
642
		return $this;
643
    }
644
}
645
646
/**
647
 * @method string getDrdsInstanceId()
648
 * @method $this withDrdsInstanceId($value)
649
 */
650
class DescribeDrdsInstanceVersion extends Rpc
651
{
652
}
653
654
/**
655
 * @method string getParamLevel()
656
 * @method $this withParamLevel($value)
657
 * @method string getDrdsInstanceId()
658
 * @method $this withDrdsInstanceId($value)
659
 * @method string getDbName()
660
 * @method $this withDbName($value)
661
 */
662
class DescribeDrdsParams extends Rpc
663
{
664
}
665
666
/**
667
 * @method string getDrdsInstanceId()
668
 * @method $this withDrdsInstanceId($value)
669
 * @method string getPageNumber()
670
 * @method $this withPageNumber($value)
671
 * @method string getPageSize()
672
 * @method $this withPageSize($value)
673
 * @method string getDbInstType()
674
 * @method $this withDbInstType($value)
675
 */
676
class DescribeDrdsRdsInstances extends Rpc
677
{
678
}
679
680
/**
681
 * @method string getDrdsInstanceId()
682
 * @method $this withDrdsInstanceId($value)
683
 * @method string getDbName()
684
 * @method $this withDbName($value)
685
 * @method string getDbNamePattern()
686
 * @method $this withDbNamePattern($value)
687
 */
688
class DescribeDrdsShardingDbs extends Rpc
689
{
690
}
691
692
/**
693
 * @method string getEndTime()
694
 * @method $this withEndTime($value)
695
 * @method string getStartTime()
696
 * @method $this withStartTime($value)
697
 * @method string getDrdsInstanceId()
698
 * @method $this withDrdsInstanceId($value)
699
 * @method string getPageNumber()
700
 * @method $this withPageNumber($value)
701
 * @method string getDbName()
702
 * @method $this withDbName($value)
703
 * @method string getPageSize()
704
 * @method $this withPageSize($value)
705
 * @method string getExeTime()
706
 * @method $this withExeTime($value)
707
 */
708
class DescribeDrdsSlowSqls extends Rpc
709
{
710
}
711
712
/**
713
 * @method string getDrdsInstanceId()
714
 * @method $this withDrdsInstanceId($value)
715
 */
716
class DescribeDrdsSqlAuditStatus extends Rpc
717
{
718
}
719
720
/**
721
 * @method string getTaskType()
722
 * @method $this withTaskType($value)
723
 * @method string getDrdsInstanceId()
724
 * @method $this withDrdsInstanceId($value)
725
 * @method string getDbName()
726
 * @method $this withDbName($value)
727
 */
728
class DescribeDrdsTasks extends Rpc
729
{
730
}
731
732
/**
733
 * @method string getDrdsInstanceId()
734
 * @method $this withDrdsInstanceId($value)
735
 * @method string getDbName()
736
 * @method $this withDbName($value)
737
 */
738
class DescribeExpandLogicTableInfoList extends Rpc
739
{
740
}
741
742
/**
743
 * @method string getHistoreInstanceId()
744
 * @method $this withHistoreInstanceId($value)
745
 * @method string getDrdsInstanceId()
746
 * @method $this withDrdsInstanceId($value)
747
 */
748
class DescribeHiStoreInstanceInfo extends Rpc
749
{
750
}
751
752
/**
753
 * @method string getDrdsInstanceId()
754
 * @method $this withDrdsInstanceId($value)
755
 * @method string getDbName()
756
 * @method $this withDbName($value)
757
 */
758
class DescribeHotDbList extends Rpc
759
{
760
}
761
762
/**
763
 * @method string getDrdsInstanceId()
764
 * @method $this withDrdsInstanceId($value)
765
 */
766
class DescribeInstanceAccounts extends Rpc
767
{
768
}
769
770
/**
771
 * @method string getDrdsInstanceId()
772
 * @method $this withDrdsInstanceId($value)
773
 */
774
class DescribeInstanceMenuSwitch extends Rpc
775
{
776
}
777
778
/**
779
 * @method string getDrdsInstanceId()
780
 * @method $this withDrdsInstanceId($value)
781
 */
782
class DescribeInstanceSwitchAzone extends Rpc
783
{
784
}
785
786
/**
787
 * @method string getDrdsInstanceId()
788
 * @method $this withDrdsInstanceId($value)
789
 */
790
class DescribeInstanceSwitchNetwork extends Rpc
791
{
792
}
793
794
/**
795
 * @method string getDrdsInstanceId()
796
 * @method $this withDrdsInstanceId($value)
797
 * @method string getDbName()
798
 * @method $this withDbName($value)
799
 */
800
class DescribeInstDbLogInfo extends Rpc
801
{
802
}
803
804
/**
805
 * @method string getDrdsInstanceId()
806
 * @method $this withDrdsInstanceId($value)
807
 * @method string getDbName()
808
 * @method $this withDbName($value)
809
 */
810
class DescribeInstDbSlsInfo extends Rpc
811
{
812
}
813
814
/**
815
 * @method string getDrdsInstanceId()
816
 * @method $this withDrdsInstanceId($value)
817
 * @method string getTaskId()
818
 * @method $this withTaskId($value)
819
 */
820
class DescribePreCheckResult extends Rpc
821
{
822
}
823
824
/**
825
 * @method string getCommodityCode()
826
 * @method $this withCommodityCode($value)
827
 * @method string getDrdsInstanceId()
828
 * @method $this withDrdsInstanceId($value)
829
 * @method string getOrderType()
830
 * @method $this withOrderType($value)
831
 */
832
class DescribeRdsCommodity extends Rpc
833
{
834
}
835
836
/**
837
 * @method string getKeys()
838
 * @method $this withKeys($value)
839
 * @method string getEndTime()
840
 * @method $this withEndTime($value)
841
 * @method string getStartTime()
842
 * @method $this withStartTime($value)
843
 * @method string getRdsInstanceId()
844
 * @method $this withRdsInstanceId($value)
845
 * @method string getDrdsInstanceId()
846
 * @method $this withDrdsInstanceId($value)
847
 * @method string getDbInstType()
848
 * @method $this withDbInstType($value)
849
 */
850
class DescribeRDSPerformance extends Rpc
851
{
852
}
853
854
/**
855
 * @method array getRdsInstanceId()
856
 * @method string getDrdsInstanceId()
857
 * @method $this withDrdsInstanceId($value)
858
 */
859
class DescribeRdsPerformanceSummary extends Rpc
860
{
861
862
    /**
863
     * @param array $rdsInstanceId
864
     *
865
     * @return $this
866
     */
867
	public function withRdsInstanceId(array $rdsInstanceId)
868
	{
869
	    $this->data['RdsInstanceId'] = $rdsInstanceId;
870
		foreach ($rdsInstanceId as $i => $iValue) {
871
			$this->options['query']['RdsInstanceId.' . ($i + 1)] = $iValue;
872
		}
873
874
		return $this;
875
    }
876
}
877
878
/**
879
 * @method array getRdsInstance()
880
 * @method string getDrdsInstanceId()
881
 * @method $this withDrdsInstanceId($value)
882
 * @method string getDbInstType()
883
 * @method $this withDbInstType($value)
884
 */
885
class DescribeRdsSuperAccountInstances extends Rpc
886
{
887
888
    /**
889
     * @param array $rdsInstance
890
     *
891
     * @return $this
892
     */
893
	public function withRdsInstance(array $rdsInstance)
894
	{
895
	    $this->data['RdsInstance'] = $rdsInstance;
896
		foreach ($rdsInstance as $i => $iValue) {
897
			$this->options['query']['RdsInstance.' . ($i + 1)] = $iValue;
898
		}
899
900
		return $this;
901
    }
902
}
903
904
/**
905
 * @method string getBackupDbNames()
906
 * @method $this withBackupDbNames($value)
907
 * @method string getBackupId()
908
 * @method $this withBackupId($value)
909
 * @method string getBackupLevel()
910
 * @method $this withBackupLevel($value)
911
 * @method string getDrdsInstanceId()
912
 * @method $this withDrdsInstanceId($value)
913
 * @method string getPreferredBackupTime()
914
 * @method $this withPreferredBackupTime($value)
915
 * @method string getBackupMode()
916
 * @method $this withBackupMode($value)
917
 */
918
class DescribeRestoreOrder extends Rpc
919
{
920
}
921
922
/**
923
 * @method string getTargetTableName()
924
 * @method $this withTargetTableName($value)
925
 * @method string getDrdsInstanceId()
926
 * @method $this withDrdsInstanceId($value)
927
 * @method string getDbName()
928
 * @method $this withDbName($value)
929
 * @method string getSourceTableName()
930
 * @method $this withSourceTableName($value)
931
 */
932
class DescribeShardTaskInfo extends Rpc
933
{
934
}
935
936
/**
937
 * @method string getTaskType()
938
 * @method $this withTaskType($value)
939
 * @method string getQuery()
940
 * @method $this withQuery($value)
941
 * @method string getCurrentPage()
942
 * @method $this withCurrentPage($value)
943
 * @method string getDrdsInstanceId()
944
 * @method $this withDrdsInstanceId($value)
945
 * @method string getDbName()
946
 * @method $this withDbName($value)
947
 * @method string getPageSize()
948
 * @method $this withPageSize($value)
949
 */
950
class DescribeShardTaskList extends Rpc
951
{
952
}
953
954
/**
955
 * @method string getDrdsInstanceId()
956
 * @method $this withDrdsInstanceId($value)
957
 */
958
class DescribeSqlFlashbakTask extends Rpc
959
{
960
}
961
962
/**
963
 * @method string getDrdsInstanceId()
964
 * @method $this withDrdsInstanceId($value)
965
 * @method string getDbName()
966
 * @method $this withDbName($value)
967
 * @method string getTableName()
968
 * @method $this withTableName($value)
969
 */
970
class DescribeTable extends Rpc
971
{
972
}
973
974
/**
975
 * @method string getTableType()
976
 * @method $this withTableType($value)
977
 * @method string getQuery()
978
 * @method $this withQuery($value)
979
 * @method string getCurrentPage()
980
 * @method $this withCurrentPage($value)
981
 * @method string getDrdsInstanceId()
982
 * @method $this withDrdsInstanceId($value)
983
 * @method string getDbName()
984
 * @method $this withDbName($value)
985
 * @method string getPageSize()
986
 * @method $this withPageSize($value)
987
 */
988
class DescribeTableListByType extends Rpc
989
{
990
}
991
992
/**
993
 * @method string getQuery()
994
 * @method $this withQuery($value)
995
 * @method string getCurrentPage()
996
 * @method $this withCurrentPage($value)
997
 * @method string getDrdsInstanceId()
998
 * @method $this withDrdsInstanceId($value)
999
 * @method string getDbName()
1000
 * @method $this withDbName($value)
1001
 * @method string getPageSize()
1002
 * @method $this withPageSize($value)
1003
 */
1004
class DescribeTables extends Rpc
1005
{
1006
}
1007
1008
/**
1009
 * @method string getDrdsInstanceId()
1010
 * @method $this withDrdsInstanceId($value)
1011
 * @method string getDbName()
1012
 * @method $this withDbName($value)
1013
 */
1014
class DisableSqlAudit extends Rpc
1015
{
1016
}
1017
1018
/**
1019
 * @method string getRecallStartTimestamp()
1020
 * @method $this withRecallStartTimestamp($value)
1021
 * @method string getDrdsInstanceId()
1022
 * @method $this withDrdsInstanceId($value)
1023
 * @method string getDbName()
1024
 * @method $this withDbName($value)
1025
 * @method string getIsRecall()
1026
 * @method $this withIsRecall($value)
1027
 * @method string getRecallEndTimestamp()
1028
 * @method $this withRecallEndTimestamp($value)
1029
 */
1030
class EnableSqlAudit extends Rpc
1031
{
1032
}
1033
1034
/**
1035
 * @method string getDrdsInstanceId()
1036
 * @method $this withDrdsInstanceId($value)
1037
 * @method string getDbName()
1038
 * @method $this withDbName($value)
1039
 */
1040
class EnableSqlFlashbackMatchSwitch extends Rpc
1041
{
1042
}
1043
1044
/**
1045
 * @method array getResourceId()
1046
 * @method string getResourceType()
1047
 * @method $this withResourceType($value)
1048
 * @method string getNoRole()
1049
 * @method $this withNoRole($value)
1050
 * @method string getNextToken()
1051
 * @method $this withNextToken($value)
1052
 * @method array getTag()
1053
 */
1054
class ListTagResources extends Rpc
1055
{
1056
1057
    /**
1058
     * @param array $resourceId
1059
     *
1060
     * @return $this
1061
     */
1062
	public function withResourceId(array $resourceId)
1063
	{
1064
	    $this->data['ResourceId'] = $resourceId;
1065
		foreach ($resourceId as $i => $iValue) {
1066
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
1067
		}
1068
1069
		return $this;
1070
    }
1071
1072
    /**
1073
     * @param array $tag
1074
     *
1075
     * @return $this
1076
     */
1077
	public function withTag(array $tag)
1078
	{
1079
	    $this->data['Tag'] = $tag;
1080
		foreach ($tag as $depth1 => $depth1Value) {
1081
			if(isset($depth1Value['Value'])){
1082
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1083
			}
1084
			if(isset($depth1Value['Key'])){
1085
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1086
			}
1087
		}
1088
1089
		return $this;
1090
    }
1091
}
1092
1093
/**
1094
 * @method string getParams()
1095
 * @method $this withParams($value)
1096
 * @method string getDrdsInstanceId()
1097
 * @method $this withDrdsInstanceId($value)
1098
 * @method string getDBInstanceId()
1099
 * @method $this withDBInstanceId($value)
1100
 * @method string getRdsAction()
1101
 * @method $this withRdsAction($value)
1102
 */
1103
class ManagePrivateRds extends Rpc
1104
{
1105
}
1106
1107
/**
1108
 * @method string getDescription()
1109
 * @method $this withDescription($value)
1110
 * @method string getDrdsInstanceId()
1111
 * @method $this withDrdsInstanceId($value)
1112
 */
1113
class ModifyDrdsInstanceDescription extends Rpc
1114
{
1115
}
1116
1117
/**
1118
 * @method string getDrdsInstanceId()
1119
 * @method $this withDrdsInstanceId($value)
1120
 * @method string getGroupName()
1121
 * @method $this withGroupName($value)
1122
 * @method string getMode()
1123
 * @method $this withMode($value)
1124
 * @method string getDbName()
1125
 * @method $this withDbName($value)
1126
 * @method string getGroupAttribute()
1127
 * @method $this withGroupAttribute($value)
1128
 * @method string getIpWhiteList()
1129
 * @method $this withIpWhiteList($value)
1130
 */
1131
class ModifyDrdsIpWhiteList extends Rpc
1132
{
1133
}
1134
1135
/**
1136
 * @method string getWeights()
1137
 * @method $this withWeights($value)
1138
 * @method string getDrdsInstanceId()
1139
 * @method $this withDrdsInstanceId($value)
1140
 * @method string getInstanceNames()
1141
 * @method $this withInstanceNames($value)
1142
 * @method string getDbName()
1143
 * @method $this withDbName($value)
1144
 */
1145
class ModifyRdsReadWeight extends Rpc
1146
{
1147
}
1148
1149
/**
1150
 * @method string getBackupDbNames()
1151
 * @method $this withBackupDbNames($value)
1152
 * @method string getBackupLevel()
1153
 * @method $this withBackupLevel($value)
1154
 * @method string getDrdsInstanceId()
1155
 * @method $this withDrdsInstanceId($value)
1156
 * @method string getBackupMode()
1157
 * @method $this withBackupMode($value)
1158
 */
1159
class PutStartBackup extends Rpc
1160
{
1161
}
1162
1163
/**
1164
 * @method string getDrdsPassword()
1165
 * @method $this withDrdsPassword($value)
1166
 * @method string getDrdsInstanceId()
1167
 * @method $this withDrdsInstanceId($value)
1168
 */
1169
class ReleaseInstanceInternetAddress extends Rpc
1170
{
1171
}
1172
1173
/**
1174
 * @method string getBackupId()
1175
 * @method $this withBackupId($value)
1176
 * @method string getDrdsInstanceId()
1177
 * @method $this withDrdsInstanceId($value)
1178
 */
1179
class RemoveBackupsSet extends Rpc
1180
{
1181
}
1182
1183
/**
1184
 * @method string getDrdsInstanceId()
1185
 * @method $this withDrdsInstanceId($value)
1186
 * @method string getDbName()
1187
 * @method $this withDbName($value)
1188
 */
1189
class RemoveDrdsDb extends Rpc
1190
{
1191
}
1192
1193
/**
1194
 * @method string getDrdsInstanceId()
1195
 * @method $this withDrdsInstanceId($value)
1196
 * @method string getDbName()
1197
 * @method $this withDbName($value)
1198
 */
1199
class RemoveDrdsDbFailedRecord extends Rpc
1200
{
1201
}
1202
1203
/**
1204
 * @method string getDrdsInstanceId()
1205
 * @method $this withDrdsInstanceId($value)
1206
 */
1207
class RemoveDrdsInstance extends Rpc
1208
{
1209
}
1210
1211
/**
1212
 * @method string getDrdsInstanceId()
1213
 * @method $this withDrdsInstanceId($value)
1214
 * @method string getAccountName()
1215
 * @method $this withAccountName($value)
1216
 */
1217
class RemoveInstanceAccount extends Rpc
1218
{
1219
}
1220
1221
/**
1222
 * @method string getLocalLogRetentionHours()
1223
 * @method $this withLocalLogRetentionHours($value)
1224
 * @method string getLocalLogRetentionSpace()
1225
 * @method $this withLocalLogRetentionSpace($value)
1226
 * @method string getDrdsInstanceId()
1227
 * @method $this withDrdsInstanceId($value)
1228
 * @method string getHighSpaceUsageProtection()
1229
 * @method $this withHighSpaceUsageProtection($value)
1230
 */
1231
class SetBackupLocal extends Rpc
1232
{
1233
}
1234
1235
/**
1236
 * @method string getBackupDbNames()
1237
 * @method $this withBackupDbNames($value)
1238
 * @method string getBackupLog()
1239
 * @method $this withBackupLog($value)
1240
 * @method string getPreferredBackupEndTime()
1241
 * @method $this withPreferredBackupEndTime($value)
1242
 * @method string getPreferredBackupPeriod()
1243
 * @method $this withPreferredBackupPeriod($value)
1244
 * @method string getPreferredBackupStartTime()
1245
 * @method $this withPreferredBackupStartTime($value)
1246
 * @method string getBackupLevel()
1247
 * @method $this withBackupLevel($value)
1248
 * @method string getDrdsInstanceId()
1249
 * @method $this withDrdsInstanceId($value)
1250
 * @method string getDataBackupRetentionPeriod()
1251
 * @method $this withDataBackupRetentionPeriod($value)
1252
 * @method string getBackupMode()
1253
 * @method $this withBackupMode($value)
1254
 * @method string getLogBackupRetentionPeriod()
1255
 * @method $this withLogBackupRetentionPeriod($value)
1256
 */
1257
class SetBackupPolicy extends Rpc
1258
{
1259
}
1260
1261
/**
1262
 * @method string getActive()
1263
 * @method $this withActive($value)
1264
 * @method string getDrdsInstanceId()
1265
 * @method $this withDrdsInstanceId($value)
1266
 * @method string getDbName()
1267
 * @method $this withDbName($value)
1268
 * @method array getTableName()
1269
 */
1270
class SetupBroadcastTables extends Rpc
1271
{
1272
1273
    /**
1274
     * @param array $tableName
1275
     *
1276
     * @return $this
1277
     */
1278
	public function withTableName(array $tableName)
1279
	{
1280
	    $this->data['TableName'] = $tableName;
1281
		foreach ($tableName as $i => $iValue) {
1282
			$this->options['query']['TableName.' . ($i + 1)] = $iValue;
1283
		}
1284
1285
		return $this;
1286
    }
1287
}
1288
1289
/**
1290
 * @method string getParamLevel()
1291
 * @method $this withParamLevel($value)
1292
 * @method array getData()
1293
 * @method string getDrdsInstanceId()
1294
 * @method $this withDrdsInstanceId($value)
1295
 */
1296
class SetupDrdsParams extends Rpc
1297
{
1298
1299
    /**
1300
     * @param array $data
1301
     *
1302
     * @return $this
1303
     */
1304
	public function withData(array $data)
1305
	{
1306
	    $this->data['Data'] = $data;
1307
		foreach ($data as $depth1 => $depth1Value) {
1308
			if(isset($depth1Value['ParamType'])){
1309
				$this->options['query']['Data.' . ($depth1 + 1) . '.ParamType'] = $depth1Value['ParamType'];
1310
			}
1311
			if(isset($depth1Value['DbName'])){
1312
				$this->options['query']['Data.' . ($depth1 + 1) . '.DbName'] = $depth1Value['DbName'];
1313
			}
1314
			if(isset($depth1Value['ParamRanges'])){
1315
				$this->options['query']['Data.' . ($depth1 + 1) . '.ParamRanges'] = $depth1Value['ParamRanges'];
1316
			}
1317
			if(isset($depth1Value['ParamVariableName'])){
1318
				$this->options['query']['Data.' . ($depth1 + 1) . '.ParamVariableName'] = $depth1Value['ParamVariableName'];
1319
			}
1320
			if(isset($depth1Value['ParamValue'])){
1321
				$this->options['query']['Data.' . ($depth1 + 1) . '.ParamValue'] = $depth1Value['ParamValue'];
1322
			}
1323
		}
1324
1325
		return $this;
1326
    }
1327
}
1328
1329
/**
1330
 * @method string getAllowFullTableScan()
1331
 * @method $this withAllowFullTableScan($value)
1332
 * @method string getDrdsInstanceId()
1333
 * @method $this withDrdsInstanceId($value)
1334
 * @method string getDbName()
1335
 * @method $this withDbName($value)
1336
 * @method array getTableName()
1337
 */
1338
class SetupTable extends Rpc
1339
{
1340
1341
    /**
1342
     * @param array $tableName
1343
     *
1344
     * @return $this
1345
     */
1346
	public function withTableName(array $tableName)
1347
	{
1348
	    $this->data['TableName'] = $tableName;
1349
		foreach ($tableName as $i => $iValue) {
1350
			$this->options['query']['TableName.' . ($i + 1)] = $iValue;
1351
		}
1352
1353
		return $this;
1354
    }
1355
}
1356
1357
/**
1358
 * @method string getBackupDbNames()
1359
 * @method $this withBackupDbNames($value)
1360
 * @method string getBackupId()
1361
 * @method $this withBackupId($value)
1362
 * @method string getBackupLevel()
1363
 * @method $this withBackupLevel($value)
1364
 * @method string getDrdsInstanceId()
1365
 * @method $this withDrdsInstanceId($value)
1366
 * @method string getPreferredBackupTime()
1367
 * @method $this withPreferredBackupTime($value)
1368
 * @method string getBackupMode()
1369
 * @method $this withBackupMode($value)
1370
 */
1371
class StartRestore extends Rpc
1372
{
1373
}
1374
1375
/**
1376
 * @method string getDrdsInstanceId()
1377
 * @method $this withDrdsInstanceId($value)
1378
 * @method string getExpandType()
1379
 * @method $this withExpandType($value)
1380
 * @method string getJobId()
1381
 * @method $this withJobId($value)
1382
 * @method string getDbName()
1383
 * @method $this withDbName($value)
1384
 * @method string getParentJobId()
1385
 * @method $this withParentJobId($value)
1386
 */
1387
class SubmitCleanTask extends Rpc
1388
{
1389
}
1390
1391
/**
1392
 * @method array getTableList()
1393
 * @method string getDrdsInstanceId()
1394
 * @method $this withDrdsInstanceId($value)
1395
 * @method string getDbName()
1396
 * @method $this withDbName($value)
1397
 * @method string getDbInstType()
1398
 * @method $this withDbInstType($value)
1399
 */
1400
class SubmitHotExpandPreCheckTask extends Rpc
1401
{
1402
1403
    /**
1404
     * @param array $tableList
1405
     *
1406
     * @return $this
1407
     */
1408
	public function withTableList(array $tableList)
1409
	{
1410
	    $this->data['TableList'] = $tableList;
1411
		foreach ($tableList as $i => $iValue) {
1412
			$this->options['query']['TableList.' . ($i + 1)] = $iValue;
1413
		}
1414
1415
		return $this;
1416
    }
1417
}
1418
1419
/**
1420
 * @method array getMapping()
1421
 * @method string getTaskDesc()
1422
 * @method $this withTaskDesc($value)
1423
 * @method array getSupperAccountMapping()
1424
 * @method array getExtendedMapping()
1425
 * @method string getTaskName()
1426
 * @method $this withTaskName($value)
1427
 * @method string getDrdsInstanceId()
1428
 * @method $this withDrdsInstanceId($value)
1429
 * @method array getInstanceDbMapping()
1430
 * @method string getDbName()
1431
 * @method $this withDbName($value)
1432
 */
1433
class SubmitHotExpandTask extends Rpc
1434
{
1435
1436
    /**
1437
     * @param array $mapping
1438
     *
1439
     * @return $this
1440
     */
1441
	public function withMapping(array $mapping)
1442
	{
1443
	    $this->data['Mapping'] = $mapping;
1444
		foreach ($mapping as $depth1 => $depth1Value) {
1445
			if(isset($depth1Value['DbShardColumn'])){
1446
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.DbShardColumn'] = $depth1Value['DbShardColumn'];
1447
			}
1448
			if(isset($depth1Value['TbShardColumn'])){
1449
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.TbShardColumn'] = $depth1Value['TbShardColumn'];
1450
			}
1451
			if(isset($depth1Value['ShardTbValue'])){
1452
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.ShardTbValue'] = $depth1Value['ShardTbValue'];
1453
			}
1454
			if(isset($depth1Value['HotDbName'])){
1455
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.HotDbName'] = $depth1Value['HotDbName'];
1456
			}
1457
			if(isset($depth1Value['ShardDbValue'])){
1458
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.ShardDbValue'] = $depth1Value['ShardDbValue'];
1459
			}
1460
			if(isset($depth1Value['HotTableName'])){
1461
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.HotTableName'] = $depth1Value['HotTableName'];
1462
			}
1463
			if(isset($depth1Value['LogicTable'])){
1464
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.LogicTable'] = $depth1Value['LogicTable'];
1465
			}
1466
		}
1467
1468
		return $this;
1469
    }
1470
1471
    /**
1472
     * @param array $supperAccountMapping
1473
     *
1474
     * @return $this
1475
     */
1476
	public function withSupperAccountMapping(array $supperAccountMapping)
1477
	{
1478
	    $this->data['SupperAccountMapping'] = $supperAccountMapping;
1479
		foreach ($supperAccountMapping as $depth1 => $depth1Value) {
1480
			if(isset($depth1Value['InstanceName'])){
1481
				$this->options['query']['SupperAccountMapping.' . ($depth1 + 1) . '.InstanceName'] = $depth1Value['InstanceName'];
1482
			}
1483
			if(isset($depth1Value['SupperAccount'])){
1484
				$this->options['query']['SupperAccountMapping.' . ($depth1 + 1) . '.SupperAccount'] = $depth1Value['SupperAccount'];
1485
			}
1486
			if(isset($depth1Value['SupperPassword'])){
1487
				$this->options['query']['SupperAccountMapping.' . ($depth1 + 1) . '.SupperPassword'] = $depth1Value['SupperPassword'];
1488
			}
1489
		}
1490
1491
		return $this;
1492
    }
1493
1494
    /**
1495
     * @param array $extendedMapping
1496
     *
1497
     * @return $this
1498
     */
1499
	public function withExtendedMapping(array $extendedMapping)
1500
	{
1501
	    $this->data['ExtendedMapping'] = $extendedMapping;
1502
		foreach ($extendedMapping as $depth1 => $depth1Value) {
1503
			if(isset($depth1Value['SrcInstanceId'])){
1504
				$this->options['query']['ExtendedMapping.' . ($depth1 + 1) . '.SrcInstanceId'] = $depth1Value['SrcInstanceId'];
1505
			}
1506
			if(isset($depth1Value['SrcDb'])){
1507
				$this->options['query']['ExtendedMapping.' . ($depth1 + 1) . '.SrcDb'] = $depth1Value['SrcDb'];
1508
			}
1509
		}
1510
1511
		return $this;
1512
    }
1513
1514
    /**
1515
     * @param array $instanceDbMapping
1516
     *
1517
     * @return $this
1518
     */
1519
	public function withInstanceDbMapping(array $instanceDbMapping)
1520
	{
1521
	    $this->data['InstanceDbMapping'] = $instanceDbMapping;
1522
		foreach ($instanceDbMapping as $depth1 => $depth1Value) {
1523
			if(isset($depth1Value['DbList'])){
1524
				$this->options['query']['InstanceDbMapping.' . ($depth1 + 1) . '.DbList'] = $depth1Value['DbList'];
1525
			}
1526
			if(isset($depth1Value['InstanceName'])){
1527
				$this->options['query']['InstanceDbMapping.' . ($depth1 + 1) . '.InstanceName'] = $depth1Value['InstanceName'];
1528
			}
1529
		}
1530
1531
		return $this;
1532
    }
1533
}
1534
1535
/**
1536
 * @method string getDrdsInstanceId()
1537
 * @method $this withDrdsInstanceId($value)
1538
 * @method string getDbName()
1539
 * @method $this withDbName($value)
1540
 * @method string getDbInstType()
1541
 * @method $this withDbInstType($value)
1542
 */
1543
class SubmitSmoothExpandPreCheck extends Rpc
1544
{
1545
}
1546
1547
/**
1548
 * @method string getDrdsInstanceId()
1549
 * @method $this withDrdsInstanceId($value)
1550
 * @method string getDbName()
1551
 * @method $this withDbName($value)
1552
 */
1553
class SubmitSmoothExpandPreCheckTask extends Rpc
1554
{
1555
}
1556
1557
/**
1558
 * @method string getDrdsInstanceId()
1559
 * @method $this withDrdsInstanceId($value)
1560
 * @method string getDbInstanceIsCreating()
1561
 * @method $this withDbInstanceIsCreating($value)
1562
 * @method array getRdsSuperInstances()
1563
 * @method string getDbName()
1564
 * @method $this withDbName($value)
1565
 * @method array getTransferTaskInfos()
1566
 */
1567
class SubmitSmoothExpandTask extends Rpc
1568
{
1569
1570
    /**
1571
     * @param array $rdsSuperInstances
1572
     *
1573
     * @return $this
1574
     */
1575
	public function withRdsSuperInstances(array $rdsSuperInstances)
1576
	{
1577
	    $this->data['RdsSuperInstances'] = $rdsSuperInstances;
1578
		foreach ($rdsSuperInstances as $depth1 => $depth1Value) {
1579
			if(isset($depth1Value['Password'])){
1580
				$this->options['query']['RdsSuperInstances.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
1581
			}
1582
			if(isset($depth1Value['AccountName'])){
1583
				$this->options['query']['RdsSuperInstances.' . ($depth1 + 1) . '.AccountName'] = $depth1Value['AccountName'];
1584
			}
1585
			if(isset($depth1Value['RdsName'])){
1586
				$this->options['query']['RdsSuperInstances.' . ($depth1 + 1) . '.RdsName'] = $depth1Value['RdsName'];
1587
			}
1588
		}
1589
1590
		return $this;
1591
    }
1592
1593
    /**
1594
     * @param array $transferTaskInfos
1595
     *
1596
     * @return $this
1597
     */
1598
	public function withTransferTaskInfos(array $transferTaskInfos)
1599
	{
1600
	    $this->data['TransferTaskInfos'] = $transferTaskInfos;
1601
		foreach ($transferTaskInfos as $depth1 => $depth1Value) {
1602
			if(isset($depth1Value['DbName'])){
1603
				$this->options['query']['TransferTaskInfos.' . ($depth1 + 1) . '.DbName'] = $depth1Value['DbName'];
1604
			}
1605
			if(isset($depth1Value['SrcInstanceName'])){
1606
				$this->options['query']['TransferTaskInfos.' . ($depth1 + 1) . '.SrcInstanceName'] = $depth1Value['SrcInstanceName'];
1607
			}
1608
			if(isset($depth1Value['InstanceType'])){
1609
				$this->options['query']['TransferTaskInfos.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
1610
			}
1611
			if(isset($depth1Value['DstInstanceName'])){
1612
				$this->options['query']['TransferTaskInfos.' . ($depth1 + 1) . '.DstInstanceName'] = $depth1Value['DstInstanceName'];
1613
			}
1614
		}
1615
1616
		return $this;
1617
    }
1618
}
1619
1620
/**
1621
 * @method string getTraceId()
1622
 * @method $this withTraceId($value)
1623
 * @method string getSqlPk()
1624
 * @method $this withSqlPk($value)
1625
 * @method string getStartTime()
1626
 * @method $this withStartTime($value)
1627
 * @method string getRecallRestoreType()
1628
 * @method $this withRecallRestoreType($value)
1629
 * @method string getTableName()
1630
 * @method $this withTableName($value)
1631
 * @method string getSqlType()
1632
 * @method $this withSqlType($value)
1633
 * @method string getEndTime()
1634
 * @method $this withEndTime($value)
1635
 * @method string getDrdsInstanceId()
1636
 * @method $this withDrdsInstanceId($value)
1637
 * @method string getRecallType()
1638
 * @method $this withRecallType($value)
1639
 * @method string getDbName()
1640
 * @method $this withDbName($value)
1641
 */
1642
class SubmitSqlFlashbackTask extends Rpc
1643
{
1644
}
1645
1646
/**
1647
 * @method string getDrdsInstanceId()
1648
 * @method $this withDrdsInstanceId($value)
1649
 * @method string getExpandType()
1650
 * @method $this withExpandType($value)
1651
 * @method string getJobId()
1652
 * @method $this withJobId($value)
1653
 * @method string getDbName()
1654
 * @method $this withDbName($value)
1655
 * @method string getParentJobId()
1656
 * @method $this withParentJobId($value)
1657
 */
1658
class SubmitSwitchTask extends Rpc
1659
{
1660
}
1661
1662
/**
1663
 * @method string getDrdsInstanceId()
1664
 * @method $this withDrdsInstanceId($value)
1665
 * @method string getDbName()
1666
 * @method $this withDbName($value)
1667
 */
1668
class SwitchGlobalBroadcastType extends Rpc
1669
{
1670
}
1671
1672
/**
1673
 * @method array getResourceId()
1674
 * @method string getResourceType()
1675
 * @method $this withResourceType($value)
1676
 * @method string getNoRole()
1677
 * @method $this withNoRole($value)
1678
 * @method array getTag()
1679
 */
1680
class TagResources extends Rpc
1681
{
1682
1683
    /**
1684
     * @param array $resourceId
1685
     *
1686
     * @return $this
1687
     */
1688
	public function withResourceId(array $resourceId)
1689
	{
1690
	    $this->data['ResourceId'] = $resourceId;
1691
		foreach ($resourceId as $i => $iValue) {
1692
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
1693
		}
1694
1695
		return $this;
1696
    }
1697
1698
    /**
1699
     * @param array $tag
1700
     *
1701
     * @return $this
1702
     */
1703
	public function withTag(array $tag)
1704
	{
1705
	    $this->data['Tag'] = $tag;
1706
		foreach ($tag as $depth1 => $depth1Value) {
1707
			if(isset($depth1Value['Value'])){
1708
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1709
			}
1710
			if(isset($depth1Value['Key'])){
1711
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1712
			}
1713
		}
1714
1715
		return $this;
1716
    }
1717
}
1718
1719
/**
1720
 * @method string getAll()
1721
 * @method $this withAll($value)
1722
 * @method array getResourceId()
1723
 * @method string getResourceType()
1724
 * @method $this withResourceType($value)
1725
 * @method string getNoRole()
1726
 * @method $this withNoRole($value)
1727
 * @method array getTagKey()
1728
 */
1729
class UntagResources extends Rpc
1730
{
1731
1732
    /**
1733
     * @param array $resourceId
1734
     *
1735
     * @return $this
1736
     */
1737
	public function withResourceId(array $resourceId)
1738
	{
1739
	    $this->data['ResourceId'] = $resourceId;
1740
		foreach ($resourceId as $i => $iValue) {
1741
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
1742
		}
1743
1744
		return $this;
1745
    }
1746
1747
    /**
1748
     * @param array $tagKey
1749
     *
1750
     * @return $this
1751
     */
1752
	public function withTagKey(array $tagKey)
1753
	{
1754
	    $this->data['TagKey'] = $tagKey;
1755
		foreach ($tagKey as $i => $iValue) {
1756
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
1757
		}
1758
1759
		return $this;
1760
    }
1761
}
1762
1763
/**
1764
 * @method string getDrdsInstanceId()
1765
 * @method $this withDrdsInstanceId($value)
1766
 * @method string getRetainClassic()
1767
 * @method $this withRetainClassic($value)
1768
 * @method string getClassicExpiredDays()
1769
 * @method $this withClassicExpiredDays($value)
1770
 * @method string getSrcInstanceNetworkType()
1771
 * @method $this withSrcInstanceNetworkType($value)
1772
 */
1773
class UpdateInstanceNetwork extends Rpc
1774
{
1775
}
1776
1777
/**
1778
 * @method string getStorage()
1779
 * @method $this withStorage($value)
1780
 * @method string getAutoUseCoupon()
1781
 * @method $this withAutoUseCoupon($value)
1782
 * @method string getDrdsInstanceId()
1783
 * @method $this withDrdsInstanceId($value)
1784
 * @method string getRdsClass()
1785
 * @method $this withRdsClass($value)
1786
 * @method string getPrePayDuration()
1787
 * @method $this withPrePayDuration($value)
1788
 * @method string getDBInstanceId()
1789
 * @method $this withDBInstanceId($value)
1790
 */
1791
class UpdatePrivateRdsClass extends Rpc
1792
{
1793
}
1794
1795
/**
1796
 * @method string getDrdsInstanceId()
1797
 * @method $this withDrdsInstanceId($value)
1798
 * @method string getNewResourceGroupId()
1799
 * @method $this withNewResourceGroupId($value)
1800
 */
1801
class UpdateResourceGroupAttribute extends Rpc
1802
{
1803
}
1804
1805
/**
1806
 * @method string getHistoreInstanceId()
1807
 * @method $this withHistoreInstanceId($value)
1808
 * @method string getDrdsPassword()
1809
 * @method $this withDrdsPassword($value)
1810
 * @method string getDrdsInstanceId()
1811
 * @method $this withDrdsInstanceId($value)
1812
 */
1813
class UpgradeHiStoreInstance extends Rpc
1814
{
1815
}
1816
1817
/**
1818
 * @method string getDrdsPassword()
1819
 * @method $this withDrdsPassword($value)
1820
 * @method string getDrdsInstanceId()
1821
 * @method $this withDrdsInstanceId($value)
1822
 * @method string getRpm()
1823
 * @method $this withRpm($value)
1824
 */
1825
class UpgradeInstanceVersion extends Rpc
1826
{
1827
}
1828
1829
/**
1830
 * @method string getTaskType()
1831
 * @method $this withTaskType($value)
1832
 * @method string getTargetTableName()
1833
 * @method $this withTargetTableName($value)
1834
 * @method string getDrdsInstanceId()
1835
 * @method $this withDrdsInstanceId($value)
1836
 * @method string getDbName()
1837
 * @method $this withDbName($value)
1838
 * @method string getSourceTableName()
1839
 * @method $this withSourceTableName($value)
1840
 */
1841
class ValidateShardTask extends Rpc
1842
{
1843
}
1844