@alicloud/polardb20170801 2.0.7 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -251,6 +251,171 @@ export class CheckDBNameResponse extends $tea.Model {
251
251
  }
252
252
  }
253
253
 
254
+ export class CheckKMSAuthorizedRequest extends $tea.Model {
255
+ DBClusterId?: string;
256
+ ownerAccount?: string;
257
+ ownerId?: number;
258
+ regionId?: string;
259
+ resourceOwnerAccount?: string;
260
+ resourceOwnerId?: number;
261
+ TDERegion?: string;
262
+ static names(): { [key: string]: string } {
263
+ return {
264
+ DBClusterId: 'DBClusterId',
265
+ ownerAccount: 'OwnerAccount',
266
+ ownerId: 'OwnerId',
267
+ regionId: 'RegionId',
268
+ resourceOwnerAccount: 'ResourceOwnerAccount',
269
+ resourceOwnerId: 'ResourceOwnerId',
270
+ TDERegion: 'TDERegion',
271
+ };
272
+ }
273
+
274
+ static types(): { [key: string]: any } {
275
+ return {
276
+ DBClusterId: 'string',
277
+ ownerAccount: 'string',
278
+ ownerId: 'number',
279
+ regionId: 'string',
280
+ resourceOwnerAccount: 'string',
281
+ resourceOwnerId: 'number',
282
+ TDERegion: 'string',
283
+ };
284
+ }
285
+
286
+ constructor(map?: { [key: string]: any }) {
287
+ super(map);
288
+ }
289
+ }
290
+
291
+ export class CheckKMSAuthorizedResponseBody extends $tea.Model {
292
+ authorizationState?: number;
293
+ DBClusterId?: string;
294
+ requestId?: string;
295
+ roleArn?: string;
296
+ static names(): { [key: string]: string } {
297
+ return {
298
+ authorizationState: 'AuthorizationState',
299
+ DBClusterId: 'DBClusterId',
300
+ requestId: 'RequestId',
301
+ roleArn: 'RoleArn',
302
+ };
303
+ }
304
+
305
+ static types(): { [key: string]: any } {
306
+ return {
307
+ authorizationState: 'number',
308
+ DBClusterId: 'string',
309
+ requestId: 'string',
310
+ roleArn: 'string',
311
+ };
312
+ }
313
+
314
+ constructor(map?: { [key: string]: any }) {
315
+ super(map);
316
+ }
317
+ }
318
+
319
+ export class CheckKMSAuthorizedResponse extends $tea.Model {
320
+ headers: { [key: string]: string };
321
+ statusCode: number;
322
+ body: CheckKMSAuthorizedResponseBody;
323
+ static names(): { [key: string]: string } {
324
+ return {
325
+ headers: 'headers',
326
+ statusCode: 'statusCode',
327
+ body: 'body',
328
+ };
329
+ }
330
+
331
+ static types(): { [key: string]: any } {
332
+ return {
333
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
334
+ statusCode: 'number',
335
+ body: CheckKMSAuthorizedResponseBody,
336
+ };
337
+ }
338
+
339
+ constructor(map?: { [key: string]: any }) {
340
+ super(map);
341
+ }
342
+ }
343
+
344
+ export class CheckServiceLinkedRoleRequest extends $tea.Model {
345
+ ownerAccount?: string;
346
+ ownerId?: number;
347
+ resourceOwnerAccount?: string;
348
+ resourceOwnerId?: number;
349
+ static names(): { [key: string]: string } {
350
+ return {
351
+ ownerAccount: 'OwnerAccount',
352
+ ownerId: 'OwnerId',
353
+ resourceOwnerAccount: 'ResourceOwnerAccount',
354
+ resourceOwnerId: 'ResourceOwnerId',
355
+ };
356
+ }
357
+
358
+ static types(): { [key: string]: any } {
359
+ return {
360
+ ownerAccount: 'string',
361
+ ownerId: 'number',
362
+ resourceOwnerAccount: 'string',
363
+ resourceOwnerId: 'number',
364
+ };
365
+ }
366
+
367
+ constructor(map?: { [key: string]: any }) {
368
+ super(map);
369
+ }
370
+ }
371
+
372
+ export class CheckServiceLinkedRoleResponseBody extends $tea.Model {
373
+ hasServiceLinkedRole?: boolean;
374
+ requestId?: string;
375
+ static names(): { [key: string]: string } {
376
+ return {
377
+ hasServiceLinkedRole: 'HasServiceLinkedRole',
378
+ requestId: 'RequestId',
379
+ };
380
+ }
381
+
382
+ static types(): { [key: string]: any } {
383
+ return {
384
+ hasServiceLinkedRole: 'boolean',
385
+ requestId: 'string',
386
+ };
387
+ }
388
+
389
+ constructor(map?: { [key: string]: any }) {
390
+ super(map);
391
+ }
392
+ }
393
+
394
+ export class CheckServiceLinkedRoleResponse extends $tea.Model {
395
+ headers: { [key: string]: string };
396
+ statusCode: number;
397
+ body: CheckServiceLinkedRoleResponseBody;
398
+ static names(): { [key: string]: string } {
399
+ return {
400
+ headers: 'headers',
401
+ statusCode: 'statusCode',
402
+ body: 'body',
403
+ };
404
+ }
405
+
406
+ static types(): { [key: string]: any } {
407
+ return {
408
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
409
+ statusCode: 'number',
410
+ body: CheckServiceLinkedRoleResponseBody,
411
+ };
412
+ }
413
+
414
+ constructor(map?: { [key: string]: any }) {
415
+ super(map);
416
+ }
417
+ }
418
+
254
419
  export class CloseAITaskRequest extends $tea.Model {
255
420
  DBClusterId?: string;
256
421
  ownerAccount?: string;
@@ -421,6 +586,7 @@ export class CreateAccountRequest extends $tea.Model {
421
586
  DBName?: string;
422
587
  ownerAccount?: string;
423
588
  ownerId?: number;
589
+ privForAllDB?: string;
424
590
  resourceOwnerAccount?: string;
425
591
  resourceOwnerId?: number;
426
592
  static names(): { [key: string]: string } {
@@ -435,6 +601,7 @@ export class CreateAccountRequest extends $tea.Model {
435
601
  DBName: 'DBName',
436
602
  ownerAccount: 'OwnerAccount',
437
603
  ownerId: 'OwnerId',
604
+ privForAllDB: 'PrivForAllDB',
438
605
  resourceOwnerAccount: 'ResourceOwnerAccount',
439
606
  resourceOwnerId: 'ResourceOwnerId',
440
607
  };
@@ -452,6 +619,7 @@ export class CreateAccountRequest extends $tea.Model {
452
619
  DBName: 'string',
453
620
  ownerAccount: 'string',
454
621
  ownerId: 'number',
622
+ privForAllDB: 'string',
455
623
  resourceOwnerAccount: 'string',
456
624
  resourceOwnerId: 'number',
457
625
  };
@@ -589,6 +757,7 @@ export class CreateBackupResponse extends $tea.Model {
589
757
 
590
758
  export class CreateDBClusterRequest extends $tea.Model {
591
759
  allowShutDown?: string;
760
+ architecture?: string;
592
761
  autoRenew?: boolean;
593
762
  backupRetentionPolicyOnClusterDeletion?: string;
594
763
  clientToken?: string;
@@ -599,16 +768,23 @@ export class CreateDBClusterRequest extends $tea.Model {
599
768
  DBClusterDescription?: string;
600
769
  DBMinorVersion?: string;
601
770
  DBNodeClass?: string;
771
+ DBNodeNum?: number;
602
772
  DBType?: string;
603
773
  DBVersion?: string;
604
774
  defaultTimeZone?: string;
605
775
  GDNId?: string;
776
+ hotStandbyCluster?: string;
777
+ loosePolarLogBin?: string;
778
+ looseXEngine?: string;
779
+ looseXEngineUseMemoryPct?: string;
606
780
  lowerCaseTableNames?: string;
607
781
  ownerAccount?: string;
608
782
  ownerId?: number;
609
783
  parameterGroupId?: string;
610
784
  payType?: string;
611
785
  period?: string;
786
+ proxyClass?: string;
787
+ proxyType?: string;
612
788
  regionId?: string;
613
789
  resourceGroupId?: string;
614
790
  resourceOwnerAccount?: string;
@@ -620,7 +796,13 @@ export class CreateDBClusterRequest extends $tea.Model {
620
796
  securityIPList?: string;
621
797
  serverlessType?: string;
622
798
  sourceResourceId?: string;
799
+ standbyAZ?: string;
800
+ storageAutoScale?: string;
801
+ storagePayType?: string;
802
+ storageSpace?: number;
623
803
  storageType?: string;
804
+ storageUpperBound?: number;
805
+ strictConsistency?: string;
624
806
  TDEStatus?: boolean;
625
807
  tag?: CreateDBClusterRequestTag[];
626
808
  usedTime?: string;
@@ -630,6 +812,7 @@ export class CreateDBClusterRequest extends $tea.Model {
630
812
  static names(): { [key: string]: string } {
631
813
  return {
632
814
  allowShutDown: 'AllowShutDown',
815
+ architecture: 'Architecture',
633
816
  autoRenew: 'AutoRenew',
634
817
  backupRetentionPolicyOnClusterDeletion: 'BackupRetentionPolicyOnClusterDeletion',
635
818
  clientToken: 'ClientToken',
@@ -640,16 +823,23 @@ export class CreateDBClusterRequest extends $tea.Model {
640
823
  DBClusterDescription: 'DBClusterDescription',
641
824
  DBMinorVersion: 'DBMinorVersion',
642
825
  DBNodeClass: 'DBNodeClass',
826
+ DBNodeNum: 'DBNodeNum',
643
827
  DBType: 'DBType',
644
828
  DBVersion: 'DBVersion',
645
829
  defaultTimeZone: 'DefaultTimeZone',
646
830
  GDNId: 'GDNId',
831
+ hotStandbyCluster: 'HotStandbyCluster',
832
+ loosePolarLogBin: 'LoosePolarLogBin',
833
+ looseXEngine: 'LooseXEngine',
834
+ looseXEngineUseMemoryPct: 'LooseXEngineUseMemoryPct',
647
835
  lowerCaseTableNames: 'LowerCaseTableNames',
648
836
  ownerAccount: 'OwnerAccount',
649
837
  ownerId: 'OwnerId',
650
838
  parameterGroupId: 'ParameterGroupId',
651
839
  payType: 'PayType',
652
840
  period: 'Period',
841
+ proxyClass: 'ProxyClass',
842
+ proxyType: 'ProxyType',
653
843
  regionId: 'RegionId',
654
844
  resourceGroupId: 'ResourceGroupId',
655
845
  resourceOwnerAccount: 'ResourceOwnerAccount',
@@ -661,7 +851,13 @@ export class CreateDBClusterRequest extends $tea.Model {
661
851
  securityIPList: 'SecurityIPList',
662
852
  serverlessType: 'ServerlessType',
663
853
  sourceResourceId: 'SourceResourceId',
854
+ standbyAZ: 'StandbyAZ',
855
+ storageAutoScale: 'StorageAutoScale',
856
+ storagePayType: 'StoragePayType',
857
+ storageSpace: 'StorageSpace',
664
858
  storageType: 'StorageType',
859
+ storageUpperBound: 'StorageUpperBound',
860
+ strictConsistency: 'StrictConsistency',
665
861
  TDEStatus: 'TDEStatus',
666
862
  tag: 'Tag',
667
863
  usedTime: 'UsedTime',
@@ -674,6 +870,7 @@ export class CreateDBClusterRequest extends $tea.Model {
674
870
  static types(): { [key: string]: any } {
675
871
  return {
676
872
  allowShutDown: 'string',
873
+ architecture: 'string',
677
874
  autoRenew: 'boolean',
678
875
  backupRetentionPolicyOnClusterDeletion: 'string',
679
876
  clientToken: 'string',
@@ -684,16 +881,23 @@ export class CreateDBClusterRequest extends $tea.Model {
684
881
  DBClusterDescription: 'string',
685
882
  DBMinorVersion: 'string',
686
883
  DBNodeClass: 'string',
884
+ DBNodeNum: 'number',
687
885
  DBType: 'string',
688
886
  DBVersion: 'string',
689
887
  defaultTimeZone: 'string',
690
888
  GDNId: 'string',
889
+ hotStandbyCluster: 'string',
890
+ loosePolarLogBin: 'string',
891
+ looseXEngine: 'string',
892
+ looseXEngineUseMemoryPct: 'string',
691
893
  lowerCaseTableNames: 'string',
692
894
  ownerAccount: 'string',
693
895
  ownerId: 'number',
694
896
  parameterGroupId: 'string',
695
897
  payType: 'string',
696
898
  period: 'string',
899
+ proxyClass: 'string',
900
+ proxyType: 'string',
697
901
  regionId: 'string',
698
902
  resourceGroupId: 'string',
699
903
  resourceOwnerAccount: 'string',
@@ -705,7 +909,13 @@ export class CreateDBClusterRequest extends $tea.Model {
705
909
  securityIPList: 'string',
706
910
  serverlessType: 'string',
707
911
  sourceResourceId: 'string',
912
+ standbyAZ: 'string',
913
+ storageAutoScale: 'string',
914
+ storagePayType: 'string',
915
+ storageSpace: 'number',
708
916
  storageType: 'string',
917
+ storageUpperBound: 'number',
918
+ strictConsistency: 'string',
709
919
  TDEStatus: 'boolean',
710
920
  tag: { 'type': 'array', 'itemType': CreateDBClusterRequestTag },
711
921
  usedTime: 'string',
@@ -878,6 +1088,9 @@ export class CreateDBEndpointAddressRequest extends $tea.Model {
878
1088
  ownerId?: number;
879
1089
  resourceOwnerAccount?: string;
880
1090
  resourceOwnerId?: number;
1091
+ securityGroupId?: string;
1092
+ VPCId?: string;
1093
+ zoneInfo?: CreateDBEndpointAddressRequestZoneInfo[];
881
1094
  static names(): { [key: string]: string } {
882
1095
  return {
883
1096
  connectionStringPrefix: 'ConnectionStringPrefix',
@@ -888,6 +1101,9 @@ export class CreateDBEndpointAddressRequest extends $tea.Model {
888
1101
  ownerId: 'OwnerId',
889
1102
  resourceOwnerAccount: 'ResourceOwnerAccount',
890
1103
  resourceOwnerId: 'ResourceOwnerId',
1104
+ securityGroupId: 'SecurityGroupId',
1105
+ VPCId: 'VPCId',
1106
+ zoneInfo: 'ZoneInfo',
891
1107
  };
892
1108
  }
893
1109
 
@@ -901,6 +1117,9 @@ export class CreateDBEndpointAddressRequest extends $tea.Model {
901
1117
  ownerId: 'number',
902
1118
  resourceOwnerAccount: 'string',
903
1119
  resourceOwnerId: 'number',
1120
+ securityGroupId: 'string',
1121
+ VPCId: 'string',
1122
+ zoneInfo: { 'type': 'array', 'itemType': CreateDBEndpointAddressRequestZoneInfo },
904
1123
  };
905
1124
  }
906
1125
 
@@ -1068,6 +1287,7 @@ export class CreateDBNodesRequest extends $tea.Model {
1068
1287
  clientToken?: string;
1069
1288
  DBClusterId?: string;
1070
1289
  DBNode?: CreateDBNodesRequestDBNode[];
1290
+ DBNodeType?: string;
1071
1291
  endpointBindList?: string;
1072
1292
  imciSwitch?: string;
1073
1293
  ownerAccount?: string;
@@ -1082,6 +1302,7 @@ export class CreateDBNodesRequest extends $tea.Model {
1082
1302
  clientToken: 'ClientToken',
1083
1303
  DBClusterId: 'DBClusterId',
1084
1304
  DBNode: 'DBNode',
1305
+ DBNodeType: 'DBNodeType',
1085
1306
  endpointBindList: 'EndpointBindList',
1086
1307
  imciSwitch: 'ImciSwitch',
1087
1308
  ownerAccount: 'OwnerAccount',
@@ -1099,6 +1320,7 @@ export class CreateDBNodesRequest extends $tea.Model {
1099
1320
  clientToken: 'string',
1100
1321
  DBClusterId: 'string',
1101
1322
  DBNode: { 'type': 'array', 'itemType': CreateDBNodesRequestDBNode },
1323
+ DBNodeType: 'string',
1102
1324
  endpointBindList: 'string',
1103
1325
  imciSwitch: 'string',
1104
1326
  ownerAccount: 'string',
@@ -1538,6 +1760,78 @@ export class CreateParameterGroupResponse extends $tea.Model {
1538
1760
  }
1539
1761
  }
1540
1762
 
1763
+ export class CreateServiceLinkedRoleRequest extends $tea.Model {
1764
+ ownerAccount?: string;
1765
+ ownerId?: number;
1766
+ resourceOwnerAccount?: string;
1767
+ resourceOwnerId?: number;
1768
+ static names(): { [key: string]: string } {
1769
+ return {
1770
+ ownerAccount: 'OwnerAccount',
1771
+ ownerId: 'OwnerId',
1772
+ resourceOwnerAccount: 'ResourceOwnerAccount',
1773
+ resourceOwnerId: 'ResourceOwnerId',
1774
+ };
1775
+ }
1776
+
1777
+ static types(): { [key: string]: any } {
1778
+ return {
1779
+ ownerAccount: 'string',
1780
+ ownerId: 'number',
1781
+ resourceOwnerAccount: 'string',
1782
+ resourceOwnerId: 'number',
1783
+ };
1784
+ }
1785
+
1786
+ constructor(map?: { [key: string]: any }) {
1787
+ super(map);
1788
+ }
1789
+ }
1790
+
1791
+ export class CreateServiceLinkedRoleResponseBody extends $tea.Model {
1792
+ requestId?: string;
1793
+ static names(): { [key: string]: string } {
1794
+ return {
1795
+ requestId: 'RequestId',
1796
+ };
1797
+ }
1798
+
1799
+ static types(): { [key: string]: any } {
1800
+ return {
1801
+ requestId: 'string',
1802
+ };
1803
+ }
1804
+
1805
+ constructor(map?: { [key: string]: any }) {
1806
+ super(map);
1807
+ }
1808
+ }
1809
+
1810
+ export class CreateServiceLinkedRoleResponse extends $tea.Model {
1811
+ headers: { [key: string]: string };
1812
+ statusCode: number;
1813
+ body: CreateServiceLinkedRoleResponseBody;
1814
+ static names(): { [key: string]: string } {
1815
+ return {
1816
+ headers: 'headers',
1817
+ statusCode: 'statusCode',
1818
+ body: 'body',
1819
+ };
1820
+ }
1821
+
1822
+ static types(): { [key: string]: any } {
1823
+ return {
1824
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1825
+ statusCode: 'number',
1826
+ body: CreateServiceLinkedRoleResponseBody,
1827
+ };
1828
+ }
1829
+
1830
+ constructor(map?: { [key: string]: any }) {
1831
+ super(map);
1832
+ }
1833
+ }
1834
+
1541
1835
  export class CreateStoragePlanRequest extends $tea.Model {
1542
1836
  clientToken?: string;
1543
1837
  ownerAccount?: string;
@@ -2106,6 +2400,7 @@ export class DeleteDBNodesRequest extends $tea.Model {
2106
2400
  clientToken?: string;
2107
2401
  DBClusterId?: string;
2108
2402
  DBNodeId?: string[];
2403
+ DBNodeType?: string;
2109
2404
  ownerAccount?: string;
2110
2405
  ownerId?: number;
2111
2406
  resourceOwnerAccount?: string;
@@ -2115,6 +2410,7 @@ export class DeleteDBNodesRequest extends $tea.Model {
2115
2410
  clientToken: 'ClientToken',
2116
2411
  DBClusterId: 'DBClusterId',
2117
2412
  DBNodeId: 'DBNodeId',
2413
+ DBNodeType: 'DBNodeType',
2118
2414
  ownerAccount: 'OwnerAccount',
2119
2415
  ownerId: 'OwnerId',
2120
2416
  resourceOwnerAccount: 'ResourceOwnerAccount',
@@ -2127,6 +2423,7 @@ export class DeleteDBNodesRequest extends $tea.Model {
2127
2423
  clientToken: 'string',
2128
2424
  DBClusterId: 'string',
2129
2425
  DBNodeId: { 'type': 'array', 'itemType': 'string' },
2426
+ DBNodeType: 'string',
2130
2427
  ownerAccount: 'string',
2131
2428
  ownerId: 'number',
2132
2429
  resourceOwnerAccount: 'string',
@@ -3367,6 +3664,7 @@ export class DescribeCharacterSetNameResponse extends $tea.Model {
3367
3664
 
3368
3665
  export class DescribeClassListRequest extends $tea.Model {
3369
3666
  commodityCode?: string;
3667
+ masterHa?: string;
3370
3668
  orderType?: string;
3371
3669
  ownerAccount?: string;
3372
3670
  ownerId?: number;
@@ -3377,6 +3675,7 @@ export class DescribeClassListRequest extends $tea.Model {
3377
3675
  static names(): { [key: string]: string } {
3378
3676
  return {
3379
3677
  commodityCode: 'CommodityCode',
3678
+ masterHa: 'MasterHa',
3380
3679
  orderType: 'OrderType',
3381
3680
  ownerAccount: 'OwnerAccount',
3382
3681
  ownerId: 'OwnerId',
@@ -3390,6 +3689,7 @@ export class DescribeClassListRequest extends $tea.Model {
3390
3689
  static types(): { [key: string]: any } {
3391
3690
  return {
3392
3691
  commodityCode: 'string',
3692
+ masterHa: 'string',
3393
3693
  orderType: 'string',
3394
3694
  ownerAccount: 'string',
3395
3695
  ownerId: 'number',
@@ -3538,6 +3838,7 @@ export class DescribeDBClusterAccessWhitelistResponse extends $tea.Model {
3538
3838
 
3539
3839
  export class DescribeDBClusterAttributeRequest extends $tea.Model {
3540
3840
  DBClusterId?: string;
3841
+ describeType?: string;
3541
3842
  ownerAccount?: string;
3542
3843
  ownerId?: number;
3543
3844
  resourceOwnerAccount?: string;
@@ -3545,6 +3846,7 @@ export class DescribeDBClusterAttributeRequest extends $tea.Model {
3545
3846
  static names(): { [key: string]: string } {
3546
3847
  return {
3547
3848
  DBClusterId: 'DBClusterId',
3849
+ describeType: 'DescribeType',
3548
3850
  ownerAccount: 'OwnerAccount',
3549
3851
  ownerId: 'OwnerId',
3550
3852
  resourceOwnerAccount: 'ResourceOwnerAccount',
@@ -3555,6 +3857,7 @@ export class DescribeDBClusterAttributeRequest extends $tea.Model {
3555
3857
  static types(): { [key: string]: any } {
3556
3858
  return {
3557
3859
  DBClusterId: 'string',
3860
+ describeType: 'string',
3558
3861
  ownerAccount: 'string',
3559
3862
  ownerId: 'number',
3560
3863
  resourceOwnerAccount: 'string',
@@ -3568,9 +3871,12 @@ export class DescribeDBClusterAttributeRequest extends $tea.Model {
3568
3871
  }
3569
3872
 
3570
3873
  export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3874
+ aiType?: string;
3875
+ architecture?: string;
3571
3876
  blktagTotal?: number;
3572
3877
  blktagUsed?: number;
3573
3878
  category?: string;
3879
+ compressStorageMode?: string;
3574
3880
  creationTime?: string;
3575
3881
  DBClusterDescription?: string;
3576
3882
  DBClusterId?: string;
@@ -3581,10 +3887,14 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3581
3887
  DBVersion?: string;
3582
3888
  DBVersionStatus?: string;
3583
3889
  dataLevel1BackupChainSize?: number;
3890
+ dataSyncMode?: string;
3584
3891
  deletionLock?: number;
3892
+ deployUnit?: string;
3585
3893
  engine?: string;
3586
3894
  expireTime?: string;
3587
3895
  expired?: string;
3896
+ hasCompleteStandbyRes?: boolean;
3897
+ hotStandbyCluster?: string;
3588
3898
  inodeTotal?: number;
3589
3899
  inodeUsed?: number;
3590
3900
  isLatestVersion?: boolean;
@@ -3593,6 +3903,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3593
3903
  maintainTime?: string;
3594
3904
  payType?: string;
3595
3905
  proxyCpuCores?: string;
3906
+ proxyServerlessType?: string;
3596
3907
  proxyStandardCpuCores?: string;
3597
3908
  proxyStatus?: string;
3598
3909
  proxyType?: string;
@@ -3601,11 +3912,13 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3601
3912
  resourceGroupId?: string;
3602
3913
  SQLSize?: number;
3603
3914
  serverlessType?: string;
3915
+ standbyHAMode?: string;
3604
3916
  storageMax?: number;
3605
3917
  storagePayType?: string;
3606
3918
  storageSpace?: number;
3607
3919
  storageType?: string;
3608
3920
  storageUsed?: number;
3921
+ strictConsistency?: string;
3609
3922
  subCategory?: string;
3610
3923
  tags?: DescribeDBClusterAttributeResponseBodyTags[];
3611
3924
  VPCId?: string;
@@ -3613,9 +3926,12 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3613
3926
  zoneIds?: string;
3614
3927
  static names(): { [key: string]: string } {
3615
3928
  return {
3929
+ aiType: 'AiType',
3930
+ architecture: 'Architecture',
3616
3931
  blktagTotal: 'BlktagTotal',
3617
3932
  blktagUsed: 'BlktagUsed',
3618
3933
  category: 'Category',
3934
+ compressStorageMode: 'CompressStorageMode',
3619
3935
  creationTime: 'CreationTime',
3620
3936
  DBClusterDescription: 'DBClusterDescription',
3621
3937
  DBClusterId: 'DBClusterId',
@@ -3626,10 +3942,14 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3626
3942
  DBVersion: 'DBVersion',
3627
3943
  DBVersionStatus: 'DBVersionStatus',
3628
3944
  dataLevel1BackupChainSize: 'DataLevel1BackupChainSize',
3945
+ dataSyncMode: 'DataSyncMode',
3629
3946
  deletionLock: 'DeletionLock',
3947
+ deployUnit: 'DeployUnit',
3630
3948
  engine: 'Engine',
3631
3949
  expireTime: 'ExpireTime',
3632
3950
  expired: 'Expired',
3951
+ hasCompleteStandbyRes: 'HasCompleteStandbyRes',
3952
+ hotStandbyCluster: 'HotStandbyCluster',
3633
3953
  inodeTotal: 'InodeTotal',
3634
3954
  inodeUsed: 'InodeUsed',
3635
3955
  isLatestVersion: 'IsLatestVersion',
@@ -3638,6 +3958,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3638
3958
  maintainTime: 'MaintainTime',
3639
3959
  payType: 'PayType',
3640
3960
  proxyCpuCores: 'ProxyCpuCores',
3961
+ proxyServerlessType: 'ProxyServerlessType',
3641
3962
  proxyStandardCpuCores: 'ProxyStandardCpuCores',
3642
3963
  proxyStatus: 'ProxyStatus',
3643
3964
  proxyType: 'ProxyType',
@@ -3646,11 +3967,13 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3646
3967
  resourceGroupId: 'ResourceGroupId',
3647
3968
  SQLSize: 'SQLSize',
3648
3969
  serverlessType: 'ServerlessType',
3970
+ standbyHAMode: 'StandbyHAMode',
3649
3971
  storageMax: 'StorageMax',
3650
3972
  storagePayType: 'StoragePayType',
3651
3973
  storageSpace: 'StorageSpace',
3652
3974
  storageType: 'StorageType',
3653
3975
  storageUsed: 'StorageUsed',
3976
+ strictConsistency: 'StrictConsistency',
3654
3977
  subCategory: 'SubCategory',
3655
3978
  tags: 'Tags',
3656
3979
  VPCId: 'VPCId',
@@ -3661,9 +3984,12 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3661
3984
 
3662
3985
  static types(): { [key: string]: any } {
3663
3986
  return {
3987
+ aiType: 'string',
3988
+ architecture: 'string',
3664
3989
  blktagTotal: 'number',
3665
3990
  blktagUsed: 'number',
3666
3991
  category: 'string',
3992
+ compressStorageMode: 'string',
3667
3993
  creationTime: 'string',
3668
3994
  DBClusterDescription: 'string',
3669
3995
  DBClusterId: 'string',
@@ -3674,10 +4000,14 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3674
4000
  DBVersion: 'string',
3675
4001
  DBVersionStatus: 'string',
3676
4002
  dataLevel1BackupChainSize: 'number',
4003
+ dataSyncMode: 'string',
3677
4004
  deletionLock: 'number',
4005
+ deployUnit: 'string',
3678
4006
  engine: 'string',
3679
4007
  expireTime: 'string',
3680
4008
  expired: 'string',
4009
+ hasCompleteStandbyRes: 'boolean',
4010
+ hotStandbyCluster: 'string',
3681
4011
  inodeTotal: 'number',
3682
4012
  inodeUsed: 'number',
3683
4013
  isLatestVersion: 'boolean',
@@ -3686,6 +4016,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3686
4016
  maintainTime: 'string',
3687
4017
  payType: 'string',
3688
4018
  proxyCpuCores: 'string',
4019
+ proxyServerlessType: 'string',
3689
4020
  proxyStandardCpuCores: 'string',
3690
4021
  proxyStatus: 'string',
3691
4022
  proxyType: 'string',
@@ -3694,11 +4025,13 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3694
4025
  resourceGroupId: 'string',
3695
4026
  SQLSize: 'number',
3696
4027
  serverlessType: 'string',
4028
+ standbyHAMode: 'string',
3697
4029
  storageMax: 'number',
3698
4030
  storagePayType: 'string',
3699
4031
  storageSpace: 'number',
3700
4032
  storageType: 'string',
3701
4033
  storageUsed: 'number',
4034
+ strictConsistency: 'string',
3702
4035
  subCategory: 'string',
3703
4036
  tags: { 'type': 'array', 'itemType': DescribeDBClusterAttributeResponseBodyTags },
3704
4037
  VPCId: 'string',
@@ -3908,32 +4241,38 @@ export class DescribeDBClusterAvailableResourcesResponse extends $tea.Model {
3908
4241
  }
3909
4242
  }
3910
4243
 
3911
- export class DescribeDBClusterEndpointsRequest extends $tea.Model {
4244
+ export class DescribeDBClusterConnectivityRequest extends $tea.Model {
3912
4245
  DBClusterId?: string;
3913
- DBEndpointId?: string;
3914
4246
  ownerAccount?: string;
3915
4247
  ownerId?: number;
4248
+ resourceGroupId?: string;
3916
4249
  resourceOwnerAccount?: string;
3917
4250
  resourceOwnerId?: number;
4251
+ securityToken?: string;
4252
+ sourceIpAddress?: string;
3918
4253
  static names(): { [key: string]: string } {
3919
4254
  return {
3920
4255
  DBClusterId: 'DBClusterId',
3921
- DBEndpointId: 'DBEndpointId',
3922
4256
  ownerAccount: 'OwnerAccount',
3923
4257
  ownerId: 'OwnerId',
4258
+ resourceGroupId: 'ResourceGroupId',
3924
4259
  resourceOwnerAccount: 'ResourceOwnerAccount',
3925
4260
  resourceOwnerId: 'ResourceOwnerId',
4261
+ securityToken: 'SecurityToken',
4262
+ sourceIpAddress: 'SourceIpAddress',
3926
4263
  };
3927
4264
  }
3928
4265
 
3929
4266
  static types(): { [key: string]: any } {
3930
4267
  return {
3931
4268
  DBClusterId: 'string',
3932
- DBEndpointId: 'string',
3933
4269
  ownerAccount: 'string',
3934
4270
  ownerId: 'number',
4271
+ resourceGroupId: 'string',
3935
4272
  resourceOwnerAccount: 'string',
3936
4273
  resourceOwnerId: 'number',
4274
+ securityToken: 'string',
4275
+ sourceIpAddress: 'string',
3937
4276
  };
3938
4277
  }
3939
4278
 
@@ -3942,19 +4281,28 @@ export class DescribeDBClusterEndpointsRequest extends $tea.Model {
3942
4281
  }
3943
4282
  }
3944
4283
 
3945
- export class DescribeDBClusterEndpointsResponseBody extends $tea.Model {
3946
- items?: DescribeDBClusterEndpointsResponseBodyItems[];
4284
+ export class DescribeDBClusterConnectivityResponseBody extends $tea.Model {
4285
+ connCheckErrorCode?: string;
4286
+ connCheckErrorMessage?: string;
4287
+ connCheckResult?: string;
4288
+ DBClusterId?: string;
3947
4289
  requestId?: string;
3948
4290
  static names(): { [key: string]: string } {
3949
4291
  return {
3950
- items: 'Items',
4292
+ connCheckErrorCode: 'ConnCheckErrorCode',
4293
+ connCheckErrorMessage: 'ConnCheckErrorMessage',
4294
+ connCheckResult: 'ConnCheckResult',
4295
+ DBClusterId: 'DBClusterId',
3951
4296
  requestId: 'RequestId',
3952
4297
  };
3953
4298
  }
3954
4299
 
3955
4300
  static types(): { [key: string]: any } {
3956
4301
  return {
3957
- items: { 'type': 'array', 'itemType': DescribeDBClusterEndpointsResponseBodyItems },
4302
+ connCheckErrorCode: 'string',
4303
+ connCheckErrorMessage: 'string',
4304
+ connCheckResult: 'string',
4305
+ DBClusterId: 'string',
3958
4306
  requestId: 'string',
3959
4307
  };
3960
4308
  }
@@ -3964,10 +4312,10 @@ export class DescribeDBClusterEndpointsResponseBody extends $tea.Model {
3964
4312
  }
3965
4313
  }
3966
4314
 
3967
- export class DescribeDBClusterEndpointsResponse extends $tea.Model {
4315
+ export class DescribeDBClusterConnectivityResponse extends $tea.Model {
3968
4316
  headers: { [key: string]: string };
3969
4317
  statusCode: number;
3970
- body: DescribeDBClusterEndpointsResponseBody;
4318
+ body: DescribeDBClusterConnectivityResponseBody;
3971
4319
  static names(): { [key: string]: string } {
3972
4320
  return {
3973
4321
  headers: 'headers',
@@ -3980,7 +4328,7 @@ export class DescribeDBClusterEndpointsResponse extends $tea.Model {
3980
4328
  return {
3981
4329
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3982
4330
  statusCode: 'number',
3983
- body: DescribeDBClusterEndpointsResponseBody,
4331
+ body: DescribeDBClusterConnectivityResponseBody,
3984
4332
  };
3985
4333
  }
3986
4334
 
@@ -3989,7 +4337,91 @@ export class DescribeDBClusterEndpointsResponse extends $tea.Model {
3989
4337
  }
3990
4338
  }
3991
4339
 
3992
- export class DescribeDBClusterMigrationRequest extends $tea.Model {
4340
+ export class DescribeDBClusterEndpointsRequest extends $tea.Model {
4341
+ DBClusterId?: string;
4342
+ DBEndpointId?: string;
4343
+ describeType?: string;
4344
+ ownerAccount?: string;
4345
+ ownerId?: number;
4346
+ resourceOwnerAccount?: string;
4347
+ resourceOwnerId?: number;
4348
+ static names(): { [key: string]: string } {
4349
+ return {
4350
+ DBClusterId: 'DBClusterId',
4351
+ DBEndpointId: 'DBEndpointId',
4352
+ describeType: 'DescribeType',
4353
+ ownerAccount: 'OwnerAccount',
4354
+ ownerId: 'OwnerId',
4355
+ resourceOwnerAccount: 'ResourceOwnerAccount',
4356
+ resourceOwnerId: 'ResourceOwnerId',
4357
+ };
4358
+ }
4359
+
4360
+ static types(): { [key: string]: any } {
4361
+ return {
4362
+ DBClusterId: 'string',
4363
+ DBEndpointId: 'string',
4364
+ describeType: 'string',
4365
+ ownerAccount: 'string',
4366
+ ownerId: 'number',
4367
+ resourceOwnerAccount: 'string',
4368
+ resourceOwnerId: 'number',
4369
+ };
4370
+ }
4371
+
4372
+ constructor(map?: { [key: string]: any }) {
4373
+ super(map);
4374
+ }
4375
+ }
4376
+
4377
+ export class DescribeDBClusterEndpointsResponseBody extends $tea.Model {
4378
+ items?: DescribeDBClusterEndpointsResponseBodyItems[];
4379
+ requestId?: string;
4380
+ static names(): { [key: string]: string } {
4381
+ return {
4382
+ items: 'Items',
4383
+ requestId: 'RequestId',
4384
+ };
4385
+ }
4386
+
4387
+ static types(): { [key: string]: any } {
4388
+ return {
4389
+ items: { 'type': 'array', 'itemType': DescribeDBClusterEndpointsResponseBodyItems },
4390
+ requestId: 'string',
4391
+ };
4392
+ }
4393
+
4394
+ constructor(map?: { [key: string]: any }) {
4395
+ super(map);
4396
+ }
4397
+ }
4398
+
4399
+ export class DescribeDBClusterEndpointsResponse extends $tea.Model {
4400
+ headers: { [key: string]: string };
4401
+ statusCode: number;
4402
+ body: DescribeDBClusterEndpointsResponseBody;
4403
+ static names(): { [key: string]: string } {
4404
+ return {
4405
+ headers: 'headers',
4406
+ statusCode: 'statusCode',
4407
+ body: 'body',
4408
+ };
4409
+ }
4410
+
4411
+ static types(): { [key: string]: any } {
4412
+ return {
4413
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4414
+ statusCode: 'number',
4415
+ body: DescribeDBClusterEndpointsResponseBody,
4416
+ };
4417
+ }
4418
+
4419
+ constructor(map?: { [key: string]: any }) {
4420
+ super(map);
4421
+ }
4422
+ }
4423
+
4424
+ export class DescribeDBClusterMigrationRequest extends $tea.Model {
3993
4425
  DBClusterId?: string;
3994
4426
  ownerAccount?: string;
3995
4427
  ownerId?: number;
@@ -4183,6 +4615,7 @@ export class DescribeDBClusterMonitorResponse extends $tea.Model {
4183
4615
 
4184
4616
  export class DescribeDBClusterParametersRequest extends $tea.Model {
4185
4617
  DBClusterId?: string;
4618
+ describeType?: string;
4186
4619
  ownerAccount?: string;
4187
4620
  ownerId?: number;
4188
4621
  resourceOwnerAccount?: string;
@@ -4190,6 +4623,7 @@ export class DescribeDBClusterParametersRequest extends $tea.Model {
4190
4623
  static names(): { [key: string]: string } {
4191
4624
  return {
4192
4625
  DBClusterId: 'DBClusterId',
4626
+ describeType: 'DescribeType',
4193
4627
  ownerAccount: 'OwnerAccount',
4194
4628
  ownerId: 'OwnerId',
4195
4629
  resourceOwnerAccount: 'ResourceOwnerAccount',
@@ -4200,6 +4634,7 @@ export class DescribeDBClusterParametersRequest extends $tea.Model {
4200
4634
  static types(): { [key: string]: any } {
4201
4635
  return {
4202
4636
  DBClusterId: 'string',
4637
+ describeType: 'string',
4203
4638
  ownerAccount: 'string',
4204
4639
  ownerId: 'number',
4205
4640
  resourceOwnerAccount: 'string',
@@ -4213,16 +4648,22 @@ export class DescribeDBClusterParametersRequest extends $tea.Model {
4213
4648
  }
4214
4649
 
4215
4650
  export class DescribeDBClusterParametersResponseBody extends $tea.Model {
4651
+ DBClusterId?: string;
4216
4652
  DBType?: string;
4217
4653
  DBVersion?: string;
4218
4654
  engine?: string;
4655
+ parameterNumbers?: string;
4656
+ parameters?: DescribeDBClusterParametersResponseBodyParameters;
4219
4657
  requestId?: string;
4220
4658
  runningParameters?: DescribeDBClusterParametersResponseBodyRunningParameters;
4221
4659
  static names(): { [key: string]: string } {
4222
4660
  return {
4661
+ DBClusterId: 'DBClusterId',
4223
4662
  DBType: 'DBType',
4224
4663
  DBVersion: 'DBVersion',
4225
4664
  engine: 'Engine',
4665
+ parameterNumbers: 'ParameterNumbers',
4666
+ parameters: 'Parameters',
4226
4667
  requestId: 'RequestId',
4227
4668
  runningParameters: 'RunningParameters',
4228
4669
  };
@@ -4230,9 +4671,12 @@ export class DescribeDBClusterParametersResponseBody extends $tea.Model {
4230
4671
 
4231
4672
  static types(): { [key: string]: any } {
4232
4673
  return {
4674
+ DBClusterId: 'string',
4233
4675
  DBType: 'string',
4234
4676
  DBVersion: 'string',
4235
4677
  engine: 'string',
4678
+ parameterNumbers: 'string',
4679
+ parameters: DescribeDBClusterParametersResponseBodyParameters,
4236
4680
  requestId: 'string',
4237
4681
  runningParameters: DescribeDBClusterParametersResponseBodyRunningParameters,
4238
4682
  };
@@ -4661,6 +5105,7 @@ export class DescribeDBClusterVersionResponseBody extends $tea.Model {
4661
5105
  DBLatestVersion?: string;
4662
5106
  DBMinorVersion?: string;
4663
5107
  DBRevisionVersion?: string;
5108
+ DBRevisionVersionList?: DescribeDBClusterVersionResponseBodyDBRevisionVersionList[];
4664
5109
  DBVersion?: string;
4665
5110
  DBVersionStatus?: string;
4666
5111
  isLatestVersion?: string;
@@ -4675,6 +5120,7 @@ export class DescribeDBClusterVersionResponseBody extends $tea.Model {
4675
5120
  DBLatestVersion: 'DBLatestVersion',
4676
5121
  DBMinorVersion: 'DBMinorVersion',
4677
5122
  DBRevisionVersion: 'DBRevisionVersion',
5123
+ DBRevisionVersionList: 'DBRevisionVersionList',
4678
5124
  DBVersion: 'DBVersion',
4679
5125
  DBVersionStatus: 'DBVersionStatus',
4680
5126
  isLatestVersion: 'IsLatestVersion',
@@ -4692,6 +5138,7 @@ export class DescribeDBClusterVersionResponseBody extends $tea.Model {
4692
5138
  DBLatestVersion: 'string',
4693
5139
  DBMinorVersion: 'string',
4694
5140
  DBRevisionVersion: 'string',
5141
+ DBRevisionVersionList: { 'type': 'array', 'itemType': DescribeDBClusterVersionResponseBodyDBRevisionVersionList },
4695
5142
  DBVersion: 'string',
4696
5143
  DBVersionStatus: 'string',
4697
5144
  isLatestVersion: 'string',
@@ -5661,6 +6108,7 @@ export class DescribeGlobalDatabaseNetworkRequest extends $tea.Model {
5661
6108
  export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
5662
6109
  connections?: DescribeGlobalDatabaseNetworkResponseBodyConnections[];
5663
6110
  createTime?: string;
6111
+ DBClusterId?: string;
5664
6112
  DBClusters?: DescribeGlobalDatabaseNetworkResponseBodyDBClusters[];
5665
6113
  DBType?: string;
5666
6114
  DBVersion?: string;
@@ -5668,10 +6116,12 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
5668
6116
  GDNId?: string;
5669
6117
  GDNStatus?: string;
5670
6118
  requestId?: string;
6119
+ resourceGroupId?: string;
5671
6120
  static names(): { [key: string]: string } {
5672
6121
  return {
5673
6122
  connections: 'Connections',
5674
6123
  createTime: 'CreateTime',
6124
+ DBClusterId: 'DBClusterId',
5675
6125
  DBClusters: 'DBClusters',
5676
6126
  DBType: 'DBType',
5677
6127
  DBVersion: 'DBVersion',
@@ -5679,6 +6129,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
5679
6129
  GDNId: 'GDNId',
5680
6130
  GDNStatus: 'GDNStatus',
5681
6131
  requestId: 'RequestId',
6132
+ resourceGroupId: 'ResourceGroupId',
5682
6133
  };
5683
6134
  }
5684
6135
 
@@ -5686,6 +6137,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
5686
6137
  return {
5687
6138
  connections: { 'type': 'array', 'itemType': DescribeGlobalDatabaseNetworkResponseBodyConnections },
5688
6139
  createTime: 'string',
6140
+ DBClusterId: 'string',
5689
6141
  DBClusters: { 'type': 'array', 'itemType': DescribeGlobalDatabaseNetworkResponseBodyDBClusters },
5690
6142
  DBType: 'string',
5691
6143
  DBVersion: 'string',
@@ -5693,6 +6145,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
5693
6145
  GDNId: 'string',
5694
6146
  GDNStatus: 'string',
5695
6147
  requestId: 'string',
6148
+ resourceGroupId: 'string',
5696
6149
  };
5697
6150
  }
5698
6151
 
@@ -5728,6 +6181,7 @@ export class DescribeGlobalDatabaseNetworkResponse extends $tea.Model {
5728
6181
 
5729
6182
  export class DescribeGlobalDatabaseNetworksRequest extends $tea.Model {
5730
6183
  DBClusterId?: string;
6184
+ filterRegion?: string;
5731
6185
  GDNDescription?: string;
5732
6186
  GDNId?: string;
5733
6187
  ownerAccount?: string;
@@ -5741,6 +6195,7 @@ export class DescribeGlobalDatabaseNetworksRequest extends $tea.Model {
5741
6195
  static names(): { [key: string]: string } {
5742
6196
  return {
5743
6197
  DBClusterId: 'DBClusterId',
6198
+ filterRegion: 'FilterRegion',
5744
6199
  GDNDescription: 'GDNDescription',
5745
6200
  GDNId: 'GDNId',
5746
6201
  ownerAccount: 'OwnerAccount',
@@ -5757,6 +6212,7 @@ export class DescribeGlobalDatabaseNetworksRequest extends $tea.Model {
5757
6212
  static types(): { [key: string]: any } {
5758
6213
  return {
5759
6214
  DBClusterId: 'string',
6215
+ filterRegion: 'string',
5760
6216
  GDNDescription: 'string',
5761
6217
  GDNId: 'string',
5762
6218
  ownerAccount: 'string',
@@ -7247,99 +7703,6 @@ export class DescribeSlowLogsResponse extends $tea.Model {
7247
7703
  }
7248
7704
  }
7249
7705
 
7250
- export class DescribeStoragePlanRequest extends $tea.Model {
7251
- ownerAccount?: string;
7252
- ownerId?: number;
7253
- pageNumber?: number;
7254
- pageSize?: number;
7255
- resourceGroupId?: string;
7256
- resourceOwnerAccount?: string;
7257
- resourceOwnerId?: number;
7258
- static names(): { [key: string]: string } {
7259
- return {
7260
- ownerAccount: 'OwnerAccount',
7261
- ownerId: 'OwnerId',
7262
- pageNumber: 'PageNumber',
7263
- pageSize: 'PageSize',
7264
- resourceGroupId: 'ResourceGroupId',
7265
- resourceOwnerAccount: 'ResourceOwnerAccount',
7266
- resourceOwnerId: 'ResourceOwnerId',
7267
- };
7268
- }
7269
-
7270
- static types(): { [key: string]: any } {
7271
- return {
7272
- ownerAccount: 'string',
7273
- ownerId: 'number',
7274
- pageNumber: 'number',
7275
- pageSize: 'number',
7276
- resourceGroupId: 'string',
7277
- resourceOwnerAccount: 'string',
7278
- resourceOwnerId: 'number',
7279
- };
7280
- }
7281
-
7282
- constructor(map?: { [key: string]: any }) {
7283
- super(map);
7284
- }
7285
- }
7286
-
7287
- export class DescribeStoragePlanResponseBody extends $tea.Model {
7288
- items?: DescribeStoragePlanResponseBodyItems[];
7289
- pageNumber?: number;
7290
- pageSize?: number;
7291
- requestId?: string;
7292
- totalRecordCount?: number;
7293
- static names(): { [key: string]: string } {
7294
- return {
7295
- items: 'Items',
7296
- pageNumber: 'PageNumber',
7297
- pageSize: 'PageSize',
7298
- requestId: 'RequestId',
7299
- totalRecordCount: 'TotalRecordCount',
7300
- };
7301
- }
7302
-
7303
- static types(): { [key: string]: any } {
7304
- return {
7305
- items: { 'type': 'array', 'itemType': DescribeStoragePlanResponseBodyItems },
7306
- pageNumber: 'number',
7307
- pageSize: 'number',
7308
- requestId: 'string',
7309
- totalRecordCount: 'number',
7310
- };
7311
- }
7312
-
7313
- constructor(map?: { [key: string]: any }) {
7314
- super(map);
7315
- }
7316
- }
7317
-
7318
- export class DescribeStoragePlanResponse extends $tea.Model {
7319
- headers: { [key: string]: string };
7320
- statusCode: number;
7321
- body: DescribeStoragePlanResponseBody;
7322
- static names(): { [key: string]: string } {
7323
- return {
7324
- headers: 'headers',
7325
- statusCode: 'statusCode',
7326
- body: 'body',
7327
- };
7328
- }
7329
-
7330
- static types(): { [key: string]: any } {
7331
- return {
7332
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7333
- statusCode: 'number',
7334
- body: DescribeStoragePlanResponseBody,
7335
- };
7336
- }
7337
-
7338
- constructor(map?: { [key: string]: any }) {
7339
- super(map);
7340
- }
7341
- }
7342
-
7343
7706
  export class DescribeTasksRequest extends $tea.Model {
7344
7707
  DBClusterId?: string;
7345
7708
  DBNodeId?: string;
@@ -7454,35 +7817,35 @@ export class DescribeTasksResponse extends $tea.Model {
7454
7817
  }
7455
7818
  }
7456
7819
 
7457
- export class EnableFirewallRulesRequest extends $tea.Model {
7820
+ export class DescribeUserEncryptionKeyListRequest extends $tea.Model {
7458
7821
  DBClusterId?: string;
7459
- enable?: boolean;
7460
7822
  ownerAccount?: string;
7461
7823
  ownerId?: number;
7824
+ regionId?: string;
7462
7825
  resourceOwnerAccount?: string;
7463
7826
  resourceOwnerId?: number;
7464
- ruleNameList?: string;
7827
+ TDERegion?: string;
7465
7828
  static names(): { [key: string]: string } {
7466
7829
  return {
7467
7830
  DBClusterId: 'DBClusterId',
7468
- enable: 'Enable',
7469
7831
  ownerAccount: 'OwnerAccount',
7470
7832
  ownerId: 'OwnerId',
7833
+ regionId: 'RegionId',
7471
7834
  resourceOwnerAccount: 'ResourceOwnerAccount',
7472
7835
  resourceOwnerId: 'ResourceOwnerId',
7473
- ruleNameList: 'RuleNameList',
7836
+ TDERegion: 'TDERegion',
7474
7837
  };
7475
7838
  }
7476
7839
 
7477
7840
  static types(): { [key: string]: any } {
7478
7841
  return {
7479
7842
  DBClusterId: 'string',
7480
- enable: 'boolean',
7481
7843
  ownerAccount: 'string',
7482
7844
  ownerId: 'number',
7845
+ regionId: 'string',
7483
7846
  resourceOwnerAccount: 'string',
7484
7847
  resourceOwnerId: 'number',
7485
- ruleNameList: 'string',
7848
+ TDERegion: 'string',
7486
7849
  };
7487
7850
  }
7488
7851
 
@@ -7491,23 +7854,23 @@ export class EnableFirewallRulesRequest extends $tea.Model {
7491
7854
  }
7492
7855
  }
7493
7856
 
7494
- export class EnableFirewallRulesResponseBody extends $tea.Model {
7495
- message?: string;
7857
+ export class DescribeUserEncryptionKeyListResponseBody extends $tea.Model {
7858
+ DBClusterId?: string;
7859
+ keyList?: string[];
7496
7860
  requestId?: string;
7497
- success?: boolean;
7498
7861
  static names(): { [key: string]: string } {
7499
7862
  return {
7500
- message: 'Message',
7863
+ DBClusterId: 'DBClusterId',
7864
+ keyList: 'KeyList',
7501
7865
  requestId: 'RequestId',
7502
- success: 'Success',
7503
7866
  };
7504
7867
  }
7505
7868
 
7506
7869
  static types(): { [key: string]: any } {
7507
7870
  return {
7508
- message: 'string',
7871
+ DBClusterId: 'string',
7872
+ keyList: { 'type': 'array', 'itemType': 'string' },
7509
7873
  requestId: 'string',
7510
- success: 'boolean',
7511
7874
  };
7512
7875
  }
7513
7876
 
@@ -7516,10 +7879,10 @@ export class EnableFirewallRulesResponseBody extends $tea.Model {
7516
7879
  }
7517
7880
  }
7518
7881
 
7519
- export class EnableFirewallRulesResponse extends $tea.Model {
7882
+ export class DescribeUserEncryptionKeyListResponse extends $tea.Model {
7520
7883
  headers: { [key: string]: string };
7521
7884
  statusCode: number;
7522
- body: EnableFirewallRulesResponseBody;
7885
+ body: DescribeUserEncryptionKeyListResponseBody;
7523
7886
  static names(): { [key: string]: string } {
7524
7887
  return {
7525
7888
  headers: 'headers',
@@ -7532,7 +7895,7 @@ export class EnableFirewallRulesResponse extends $tea.Model {
7532
7895
  return {
7533
7896
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7534
7897
  statusCode: 'number',
7535
- body: EnableFirewallRulesResponseBody,
7898
+ body: DescribeUserEncryptionKeyListResponseBody,
7536
7899
  };
7537
7900
  }
7538
7901
 
@@ -7541,55 +7904,49 @@ export class EnableFirewallRulesResponse extends $tea.Model {
7541
7904
  }
7542
7905
  }
7543
7906
 
7544
- export class EvaluateRegionResourceRequest extends $tea.Model {
7545
- DBInstanceConnType?: string;
7546
- DBNodeClass?: string;
7547
- DBType?: string;
7548
- DBVersion?: string;
7549
- dispenseMode?: string;
7550
- needMaxScaleLink?: string;
7907
+ export class DescribeVSwitchesRequest extends $tea.Model {
7908
+ dedicatedHostGroupId?: string;
7551
7909
  ownerAccount?: string;
7552
7910
  ownerId?: number;
7911
+ pageNumber?: number;
7912
+ pageSize?: number;
7553
7913
  regionId?: string;
7554
7914
  resourceGroupId?: string;
7555
7915
  resourceOwnerAccount?: string;
7556
7916
  resourceOwnerId?: number;
7557
- subDomain?: string;
7917
+ securityToken?: string;
7918
+ vpcId?: string;
7558
7919
  zoneId?: string;
7559
7920
  static names(): { [key: string]: string } {
7560
7921
  return {
7561
- DBInstanceConnType: 'DBInstanceConnType',
7562
- DBNodeClass: 'DBNodeClass',
7563
- DBType: 'DBType',
7564
- DBVersion: 'DBVersion',
7565
- dispenseMode: 'DispenseMode',
7566
- needMaxScaleLink: 'NeedMaxScaleLink',
7922
+ dedicatedHostGroupId: 'DedicatedHostGroupId',
7567
7923
  ownerAccount: 'OwnerAccount',
7568
7924
  ownerId: 'OwnerId',
7925
+ pageNumber: 'PageNumber',
7926
+ pageSize: 'PageSize',
7569
7927
  regionId: 'RegionId',
7570
7928
  resourceGroupId: 'ResourceGroupId',
7571
7929
  resourceOwnerAccount: 'ResourceOwnerAccount',
7572
7930
  resourceOwnerId: 'ResourceOwnerId',
7573
- subDomain: 'SubDomain',
7931
+ securityToken: 'SecurityToken',
7932
+ vpcId: 'VpcId',
7574
7933
  zoneId: 'ZoneId',
7575
7934
  };
7576
7935
  }
7577
7936
 
7578
7937
  static types(): { [key: string]: any } {
7579
7938
  return {
7580
- DBInstanceConnType: 'string',
7581
- DBNodeClass: 'string',
7582
- DBType: 'string',
7583
- DBVersion: 'string',
7584
- dispenseMode: 'string',
7585
- needMaxScaleLink: 'string',
7939
+ dedicatedHostGroupId: 'string',
7586
7940
  ownerAccount: 'string',
7587
7941
  ownerId: 'number',
7942
+ pageNumber: 'number',
7943
+ pageSize: 'number',
7588
7944
  regionId: 'string',
7589
7945
  resourceGroupId: 'string',
7590
7946
  resourceOwnerAccount: 'string',
7591
7947
  resourceOwnerId: 'number',
7592
- subDomain: 'string',
7948
+ securityToken: 'string',
7949
+ vpcId: 'string',
7593
7950
  zoneId: 'string',
7594
7951
  };
7595
7952
  }
@@ -7599,26 +7956,29 @@ export class EvaluateRegionResourceRequest extends $tea.Model {
7599
7956
  }
7600
7957
  }
7601
7958
 
7602
- export class EvaluateRegionResourceResponseBody extends $tea.Model {
7603
- DBInstanceAvailable?: string;
7604
- DBType?: string;
7605
- DBVersion?: string;
7959
+ export class DescribeVSwitchesResponseBody extends $tea.Model {
7960
+ pageNumber?: number;
7961
+ pageSize?: number;
7606
7962
  requestId?: string;
7963
+ totalCount?: number;
7964
+ vSwitchs?: DescribeVSwitchesResponseBodyVSwitchs[];
7607
7965
  static names(): { [key: string]: string } {
7608
7966
  return {
7609
- DBInstanceAvailable: 'DBInstanceAvailable',
7610
- DBType: 'DBType',
7611
- DBVersion: 'DBVersion',
7967
+ pageNumber: 'PageNumber',
7968
+ pageSize: 'PageSize',
7612
7969
  requestId: 'RequestId',
7970
+ totalCount: 'TotalCount',
7971
+ vSwitchs: 'VSwitchs',
7613
7972
  };
7614
7973
  }
7615
7974
 
7616
7975
  static types(): { [key: string]: any } {
7617
7976
  return {
7618
- DBInstanceAvailable: 'string',
7619
- DBType: 'string',
7620
- DBVersion: 'string',
7977
+ pageNumber: 'number',
7978
+ pageSize: 'number',
7621
7979
  requestId: 'string',
7980
+ totalCount: 'number',
7981
+ vSwitchs: { 'type': 'array', 'itemType': DescribeVSwitchesResponseBodyVSwitchs },
7622
7982
  };
7623
7983
  }
7624
7984
 
@@ -7627,10 +7987,10 @@ export class EvaluateRegionResourceResponseBody extends $tea.Model {
7627
7987
  }
7628
7988
  }
7629
7989
 
7630
- export class EvaluateRegionResourceResponse extends $tea.Model {
7990
+ export class DescribeVSwitchesResponse extends $tea.Model {
7631
7991
  headers: { [key: string]: string };
7632
7992
  statusCode: number;
7633
- body: EvaluateRegionResourceResponseBody;
7993
+ body: DescribeVSwitchesResponseBody;
7634
7994
  static names(): { [key: string]: string } {
7635
7995
  return {
7636
7996
  headers: 'headers',
@@ -7643,7 +8003,7 @@ export class EvaluateRegionResourceResponse extends $tea.Model {
7643
8003
  return {
7644
8004
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7645
8005
  statusCode: 'number',
7646
- body: EvaluateRegionResourceResponseBody,
8006
+ body: DescribeVSwitchesResponseBody,
7647
8007
  };
7648
8008
  }
7649
8009
 
@@ -7652,8 +8012,206 @@ export class EvaluateRegionResourceResponse extends $tea.Model {
7652
8012
  }
7653
8013
  }
7654
8014
 
7655
- export class FailoverDBClusterRequest extends $tea.Model {
7656
- clientToken?: string;
8015
+ export class EnableFirewallRulesRequest extends $tea.Model {
8016
+ DBClusterId?: string;
8017
+ enable?: boolean;
8018
+ ownerAccount?: string;
8019
+ ownerId?: number;
8020
+ resourceOwnerAccount?: string;
8021
+ resourceOwnerId?: number;
8022
+ ruleNameList?: string;
8023
+ static names(): { [key: string]: string } {
8024
+ return {
8025
+ DBClusterId: 'DBClusterId',
8026
+ enable: 'Enable',
8027
+ ownerAccount: 'OwnerAccount',
8028
+ ownerId: 'OwnerId',
8029
+ resourceOwnerAccount: 'ResourceOwnerAccount',
8030
+ resourceOwnerId: 'ResourceOwnerId',
8031
+ ruleNameList: 'RuleNameList',
8032
+ };
8033
+ }
8034
+
8035
+ static types(): { [key: string]: any } {
8036
+ return {
8037
+ DBClusterId: 'string',
8038
+ enable: 'boolean',
8039
+ ownerAccount: 'string',
8040
+ ownerId: 'number',
8041
+ resourceOwnerAccount: 'string',
8042
+ resourceOwnerId: 'number',
8043
+ ruleNameList: 'string',
8044
+ };
8045
+ }
8046
+
8047
+ constructor(map?: { [key: string]: any }) {
8048
+ super(map);
8049
+ }
8050
+ }
8051
+
8052
+ export class EnableFirewallRulesResponseBody extends $tea.Model {
8053
+ message?: string;
8054
+ requestId?: string;
8055
+ success?: boolean;
8056
+ static names(): { [key: string]: string } {
8057
+ return {
8058
+ message: 'Message',
8059
+ requestId: 'RequestId',
8060
+ success: 'Success',
8061
+ };
8062
+ }
8063
+
8064
+ static types(): { [key: string]: any } {
8065
+ return {
8066
+ message: 'string',
8067
+ requestId: 'string',
8068
+ success: 'boolean',
8069
+ };
8070
+ }
8071
+
8072
+ constructor(map?: { [key: string]: any }) {
8073
+ super(map);
8074
+ }
8075
+ }
8076
+
8077
+ export class EnableFirewallRulesResponse extends $tea.Model {
8078
+ headers: { [key: string]: string };
8079
+ statusCode: number;
8080
+ body: EnableFirewallRulesResponseBody;
8081
+ static names(): { [key: string]: string } {
8082
+ return {
8083
+ headers: 'headers',
8084
+ statusCode: 'statusCode',
8085
+ body: 'body',
8086
+ };
8087
+ }
8088
+
8089
+ static types(): { [key: string]: any } {
8090
+ return {
8091
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8092
+ statusCode: 'number',
8093
+ body: EnableFirewallRulesResponseBody,
8094
+ };
8095
+ }
8096
+
8097
+ constructor(map?: { [key: string]: any }) {
8098
+ super(map);
8099
+ }
8100
+ }
8101
+
8102
+ export class EvaluateRegionResourceRequest extends $tea.Model {
8103
+ DBInstanceConnType?: string;
8104
+ DBNodeClass?: string;
8105
+ DBType?: string;
8106
+ DBVersion?: string;
8107
+ dispenseMode?: string;
8108
+ needMaxScaleLink?: string;
8109
+ ownerAccount?: string;
8110
+ ownerId?: number;
8111
+ regionId?: string;
8112
+ resourceGroupId?: string;
8113
+ resourceOwnerAccount?: string;
8114
+ resourceOwnerId?: number;
8115
+ subDomain?: string;
8116
+ zoneId?: string;
8117
+ static names(): { [key: string]: string } {
8118
+ return {
8119
+ DBInstanceConnType: 'DBInstanceConnType',
8120
+ DBNodeClass: 'DBNodeClass',
8121
+ DBType: 'DBType',
8122
+ DBVersion: 'DBVersion',
8123
+ dispenseMode: 'DispenseMode',
8124
+ needMaxScaleLink: 'NeedMaxScaleLink',
8125
+ ownerAccount: 'OwnerAccount',
8126
+ ownerId: 'OwnerId',
8127
+ regionId: 'RegionId',
8128
+ resourceGroupId: 'ResourceGroupId',
8129
+ resourceOwnerAccount: 'ResourceOwnerAccount',
8130
+ resourceOwnerId: 'ResourceOwnerId',
8131
+ subDomain: 'SubDomain',
8132
+ zoneId: 'ZoneId',
8133
+ };
8134
+ }
8135
+
8136
+ static types(): { [key: string]: any } {
8137
+ return {
8138
+ DBInstanceConnType: 'string',
8139
+ DBNodeClass: 'string',
8140
+ DBType: 'string',
8141
+ DBVersion: 'string',
8142
+ dispenseMode: 'string',
8143
+ needMaxScaleLink: 'string',
8144
+ ownerAccount: 'string',
8145
+ ownerId: 'number',
8146
+ regionId: 'string',
8147
+ resourceGroupId: 'string',
8148
+ resourceOwnerAccount: 'string',
8149
+ resourceOwnerId: 'number',
8150
+ subDomain: 'string',
8151
+ zoneId: 'string',
8152
+ };
8153
+ }
8154
+
8155
+ constructor(map?: { [key: string]: any }) {
8156
+ super(map);
8157
+ }
8158
+ }
8159
+
8160
+ export class EvaluateRegionResourceResponseBody extends $tea.Model {
8161
+ DBInstanceAvailable?: string;
8162
+ DBType?: string;
8163
+ DBVersion?: string;
8164
+ requestId?: string;
8165
+ static names(): { [key: string]: string } {
8166
+ return {
8167
+ DBInstanceAvailable: 'DBInstanceAvailable',
8168
+ DBType: 'DBType',
8169
+ DBVersion: 'DBVersion',
8170
+ requestId: 'RequestId',
8171
+ };
8172
+ }
8173
+
8174
+ static types(): { [key: string]: any } {
8175
+ return {
8176
+ DBInstanceAvailable: 'string',
8177
+ DBType: 'string',
8178
+ DBVersion: 'string',
8179
+ requestId: 'string',
8180
+ };
8181
+ }
8182
+
8183
+ constructor(map?: { [key: string]: any }) {
8184
+ super(map);
8185
+ }
8186
+ }
8187
+
8188
+ export class EvaluateRegionResourceResponse extends $tea.Model {
8189
+ headers: { [key: string]: string };
8190
+ statusCode: number;
8191
+ body: EvaluateRegionResourceResponseBody;
8192
+ static names(): { [key: string]: string } {
8193
+ return {
8194
+ headers: 'headers',
8195
+ statusCode: 'statusCode',
8196
+ body: 'body',
8197
+ };
8198
+ }
8199
+
8200
+ static types(): { [key: string]: any } {
8201
+ return {
8202
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8203
+ statusCode: 'number',
8204
+ body: EvaluateRegionResourceResponseBody,
8205
+ };
8206
+ }
8207
+
8208
+ constructor(map?: { [key: string]: any }) {
8209
+ super(map);
8210
+ }
8211
+ }
8212
+
8213
+ export class FailoverDBClusterRequest extends $tea.Model {
8214
+ clientToken?: string;
7657
8215
  DBClusterId?: string;
7658
8216
  ownerAccount?: string;
7659
8217
  ownerId?: number;
@@ -7910,6 +8468,84 @@ export class ListTagResourcesResponse extends $tea.Model {
7910
8468
  }
7911
8469
  }
7912
8470
 
8471
+ export class ManuallyStartDBClusterRequest extends $tea.Model {
8472
+ DBClusterId?: string;
8473
+ ownerAccount?: string;
8474
+ ownerId?: number;
8475
+ regionId?: string;
8476
+ resourceOwnerAccount?: string;
8477
+ resourceOwnerId?: number;
8478
+ static names(): { [key: string]: string } {
8479
+ return {
8480
+ DBClusterId: 'DBClusterId',
8481
+ ownerAccount: 'OwnerAccount',
8482
+ ownerId: 'OwnerId',
8483
+ regionId: 'RegionId',
8484
+ resourceOwnerAccount: 'ResourceOwnerAccount',
8485
+ resourceOwnerId: 'ResourceOwnerId',
8486
+ };
8487
+ }
8488
+
8489
+ static types(): { [key: string]: any } {
8490
+ return {
8491
+ DBClusterId: 'string',
8492
+ ownerAccount: 'string',
8493
+ ownerId: 'number',
8494
+ regionId: 'string',
8495
+ resourceOwnerAccount: 'string',
8496
+ resourceOwnerId: 'number',
8497
+ };
8498
+ }
8499
+
8500
+ constructor(map?: { [key: string]: any }) {
8501
+ super(map);
8502
+ }
8503
+ }
8504
+
8505
+ export class ManuallyStartDBClusterResponseBody extends $tea.Model {
8506
+ requestId?: string;
8507
+ static names(): { [key: string]: string } {
8508
+ return {
8509
+ requestId: 'RequestId',
8510
+ };
8511
+ }
8512
+
8513
+ static types(): { [key: string]: any } {
8514
+ return {
8515
+ requestId: 'string',
8516
+ };
8517
+ }
8518
+
8519
+ constructor(map?: { [key: string]: any }) {
8520
+ super(map);
8521
+ }
8522
+ }
8523
+
8524
+ export class ManuallyStartDBClusterResponse extends $tea.Model {
8525
+ headers: { [key: string]: string };
8526
+ statusCode: number;
8527
+ body: ManuallyStartDBClusterResponseBody;
8528
+ static names(): { [key: string]: string } {
8529
+ return {
8530
+ headers: 'headers',
8531
+ statusCode: 'statusCode',
8532
+ body: 'body',
8533
+ };
8534
+ }
8535
+
8536
+ static types(): { [key: string]: any } {
8537
+ return {
8538
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8539
+ statusCode: 'number',
8540
+ body: ManuallyStartDBClusterResponseBody,
8541
+ };
8542
+ }
8543
+
8544
+ constructor(map?: { [key: string]: any }) {
8545
+ super(map);
8546
+ }
8547
+ }
8548
+
7913
8549
  export class ModifyAccountDescriptionRequest extends $tea.Model {
7914
8550
  accountDescription?: string;
7915
8551
  accountName?: string;
@@ -8273,6 +8909,102 @@ export class ModifyBackupPolicyResponse extends $tea.Model {
8273
8909
  }
8274
8910
  }
8275
8911
 
8912
+ export class ModifyDBClusterRequest extends $tea.Model {
8913
+ DBClusterId?: string;
8914
+ dataSyncMode?: string;
8915
+ faultSimulateMode?: string;
8916
+ ownerAccount?: string;
8917
+ ownerId?: number;
8918
+ resourceOwnerAccount?: string;
8919
+ resourceOwnerId?: number;
8920
+ standbyHAMode?: string;
8921
+ storageAutoScale?: string;
8922
+ storageUpperBound?: number;
8923
+ static names(): { [key: string]: string } {
8924
+ return {
8925
+ DBClusterId: 'DBClusterId',
8926
+ dataSyncMode: 'DataSyncMode',
8927
+ faultSimulateMode: 'FaultSimulateMode',
8928
+ ownerAccount: 'OwnerAccount',
8929
+ ownerId: 'OwnerId',
8930
+ resourceOwnerAccount: 'ResourceOwnerAccount',
8931
+ resourceOwnerId: 'ResourceOwnerId',
8932
+ standbyHAMode: 'StandbyHAMode',
8933
+ storageAutoScale: 'StorageAutoScale',
8934
+ storageUpperBound: 'StorageUpperBound',
8935
+ };
8936
+ }
8937
+
8938
+ static types(): { [key: string]: any } {
8939
+ return {
8940
+ DBClusterId: 'string',
8941
+ dataSyncMode: 'string',
8942
+ faultSimulateMode: 'string',
8943
+ ownerAccount: 'string',
8944
+ ownerId: 'number',
8945
+ resourceOwnerAccount: 'string',
8946
+ resourceOwnerId: 'number',
8947
+ standbyHAMode: 'string',
8948
+ storageAutoScale: 'string',
8949
+ storageUpperBound: 'number',
8950
+ };
8951
+ }
8952
+
8953
+ constructor(map?: { [key: string]: any }) {
8954
+ super(map);
8955
+ }
8956
+ }
8957
+
8958
+ export class ModifyDBClusterResponseBody extends $tea.Model {
8959
+ DBClusterId?: string;
8960
+ orderId?: string;
8961
+ requestId?: string;
8962
+ static names(): { [key: string]: string } {
8963
+ return {
8964
+ DBClusterId: 'DBClusterId',
8965
+ orderId: 'OrderId',
8966
+ requestId: 'RequestId',
8967
+ };
8968
+ }
8969
+
8970
+ static types(): { [key: string]: any } {
8971
+ return {
8972
+ DBClusterId: 'string',
8973
+ orderId: 'string',
8974
+ requestId: 'string',
8975
+ };
8976
+ }
8977
+
8978
+ constructor(map?: { [key: string]: any }) {
8979
+ super(map);
8980
+ }
8981
+ }
8982
+
8983
+ export class ModifyDBClusterResponse extends $tea.Model {
8984
+ headers: { [key: string]: string };
8985
+ statusCode: number;
8986
+ body: ModifyDBClusterResponseBody;
8987
+ static names(): { [key: string]: string } {
8988
+ return {
8989
+ headers: 'headers',
8990
+ statusCode: 'statusCode',
8991
+ body: 'body',
8992
+ };
8993
+ }
8994
+
8995
+ static types(): { [key: string]: any } {
8996
+ return {
8997
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8998
+ statusCode: 'number',
8999
+ body: ModifyDBClusterResponseBody,
9000
+ };
9001
+ }
9002
+
9003
+ constructor(map?: { [key: string]: any }) {
9004
+ super(map);
9005
+ }
9006
+ }
9007
+
8276
9008
  export class ModifyDBClusterAccessWhitelistRequest extends $tea.Model {
8277
9009
  DBClusterIPArrayAttribute?: string;
8278
9010
  DBClusterIPArrayName?: string;
@@ -9125,24 +9857,28 @@ export class ModifyDBClusterParametersResponse extends $tea.Model {
9125
9857
  export class ModifyDBClusterPrimaryZoneRequest extends $tea.Model {
9126
9858
  DBClusterId?: string;
9127
9859
  fromTimeService?: boolean;
9860
+ isSwitchOverForDisaster?: string;
9128
9861
  ownerAccount?: string;
9129
9862
  ownerId?: number;
9130
9863
  plannedEndTime?: string;
9131
9864
  plannedStartTime?: string;
9132
9865
  resourceOwnerAccount?: string;
9133
9866
  resourceOwnerId?: number;
9867
+ VPCId?: string;
9134
9868
  vSwitchId?: string;
9135
9869
  zoneId?: string;
9136
9870
  static names(): { [key: string]: string } {
9137
9871
  return {
9138
9872
  DBClusterId: 'DBClusterId',
9139
9873
  fromTimeService: 'FromTimeService',
9874
+ isSwitchOverForDisaster: 'IsSwitchOverForDisaster',
9140
9875
  ownerAccount: 'OwnerAccount',
9141
9876
  ownerId: 'OwnerId',
9142
9877
  plannedEndTime: 'PlannedEndTime',
9143
9878
  plannedStartTime: 'PlannedStartTime',
9144
9879
  resourceOwnerAccount: 'ResourceOwnerAccount',
9145
9880
  resourceOwnerId: 'ResourceOwnerId',
9881
+ VPCId: 'VPCId',
9146
9882
  vSwitchId: 'VSwitchId',
9147
9883
  zoneId: 'ZoneId',
9148
9884
  };
@@ -9152,12 +9888,14 @@ export class ModifyDBClusterPrimaryZoneRequest extends $tea.Model {
9152
9888
  return {
9153
9889
  DBClusterId: 'string',
9154
9890
  fromTimeService: 'boolean',
9891
+ isSwitchOverForDisaster: 'string',
9155
9892
  ownerAccount: 'string',
9156
9893
  ownerId: 'number',
9157
9894
  plannedEndTime: 'string',
9158
9895
  plannedStartTime: 'string',
9159
9896
  resourceOwnerAccount: 'string',
9160
9897
  resourceOwnerId: 'number',
9898
+ VPCId: 'string',
9161
9899
  vSwitchId: 'string',
9162
9900
  zoneId: 'string',
9163
9901
  };
@@ -9476,6 +10214,102 @@ export class ModifyDBClusterServerlessConfResponse extends $tea.Model {
9476
10214
  }
9477
10215
  }
9478
10216
 
10217
+ export class ModifyDBClusterStorageSpaceRequest extends $tea.Model {
10218
+ clientToken?: string;
10219
+ DBClusterId?: string;
10220
+ ownerAccount?: string;
10221
+ ownerId?: number;
10222
+ plannedEndTime?: string;
10223
+ plannedStartTime?: string;
10224
+ resourceOwnerAccount?: string;
10225
+ resourceOwnerId?: number;
10226
+ storageSpace?: number;
10227
+ subCategory?: string;
10228
+ static names(): { [key: string]: string } {
10229
+ return {
10230
+ clientToken: 'ClientToken',
10231
+ DBClusterId: 'DBClusterId',
10232
+ ownerAccount: 'OwnerAccount',
10233
+ ownerId: 'OwnerId',
10234
+ plannedEndTime: 'PlannedEndTime',
10235
+ plannedStartTime: 'PlannedStartTime',
10236
+ resourceOwnerAccount: 'ResourceOwnerAccount',
10237
+ resourceOwnerId: 'ResourceOwnerId',
10238
+ storageSpace: 'StorageSpace',
10239
+ subCategory: 'SubCategory',
10240
+ };
10241
+ }
10242
+
10243
+ static types(): { [key: string]: any } {
10244
+ return {
10245
+ clientToken: 'string',
10246
+ DBClusterId: 'string',
10247
+ ownerAccount: 'string',
10248
+ ownerId: 'number',
10249
+ plannedEndTime: 'string',
10250
+ plannedStartTime: 'string',
10251
+ resourceOwnerAccount: 'string',
10252
+ resourceOwnerId: 'number',
10253
+ storageSpace: 'number',
10254
+ subCategory: 'string',
10255
+ };
10256
+ }
10257
+
10258
+ constructor(map?: { [key: string]: any }) {
10259
+ super(map);
10260
+ }
10261
+ }
10262
+
10263
+ export class ModifyDBClusterStorageSpaceResponseBody extends $tea.Model {
10264
+ DBClusterId?: string;
10265
+ orderId?: string;
10266
+ requestId?: string;
10267
+ static names(): { [key: string]: string } {
10268
+ return {
10269
+ DBClusterId: 'DBClusterId',
10270
+ orderId: 'OrderId',
10271
+ requestId: 'RequestId',
10272
+ };
10273
+ }
10274
+
10275
+ static types(): { [key: string]: any } {
10276
+ return {
10277
+ DBClusterId: 'string',
10278
+ orderId: 'string',
10279
+ requestId: 'string',
10280
+ };
10281
+ }
10282
+
10283
+ constructor(map?: { [key: string]: any }) {
10284
+ super(map);
10285
+ }
10286
+ }
10287
+
10288
+ export class ModifyDBClusterStorageSpaceResponse extends $tea.Model {
10289
+ headers: { [key: string]: string };
10290
+ statusCode: number;
10291
+ body: ModifyDBClusterStorageSpaceResponseBody;
10292
+ static names(): { [key: string]: string } {
10293
+ return {
10294
+ headers: 'headers',
10295
+ statusCode: 'statusCode',
10296
+ body: 'body',
10297
+ };
10298
+ }
10299
+
10300
+ static types(): { [key: string]: any } {
10301
+ return {
10302
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10303
+ statusCode: 'number',
10304
+ body: ModifyDBClusterStorageSpaceResponseBody,
10305
+ };
10306
+ }
10307
+
10308
+ constructor(map?: { [key: string]: any }) {
10309
+ super(map);
10310
+ }
10311
+ }
10312
+
9479
10313
  export class ModifyDBClusterTDERequest extends $tea.Model {
9480
10314
  DBClusterId?: string;
9481
10315
  encryptNewTables?: string;
@@ -9741,6 +10575,7 @@ export class ModifyDBNodeClassRequest extends $tea.Model {
9741
10575
  clientToken?: string;
9742
10576
  DBClusterId?: string;
9743
10577
  DBNodeTargetClass?: string;
10578
+ DBNodeType?: string;
9744
10579
  modifyType?: string;
9745
10580
  ownerAccount?: string;
9746
10581
  ownerId?: number;
@@ -9754,6 +10589,7 @@ export class ModifyDBNodeClassRequest extends $tea.Model {
9754
10589
  clientToken: 'ClientToken',
9755
10590
  DBClusterId: 'DBClusterId',
9756
10591
  DBNodeTargetClass: 'DBNodeTargetClass',
10592
+ DBNodeType: 'DBNodeType',
9757
10593
  modifyType: 'ModifyType',
9758
10594
  ownerAccount: 'OwnerAccount',
9759
10595
  ownerId: 'OwnerId',
@@ -9770,6 +10606,7 @@ export class ModifyDBNodeClassRequest extends $tea.Model {
9770
10606
  clientToken: 'string',
9771
10607
  DBClusterId: 'string',
9772
10608
  DBNodeTargetClass: 'string',
10609
+ DBNodeType: 'string',
9773
10610
  modifyType: 'string',
9774
10611
  ownerAccount: 'string',
9775
10612
  ownerId: 'number',
@@ -9836,6 +10673,93 @@ export class ModifyDBNodeClassResponse extends $tea.Model {
9836
10673
  }
9837
10674
  }
9838
10675
 
10676
+ export class ModifyDBNodeHotReplicaModeRequest extends $tea.Model {
10677
+ DBClusterId?: string;
10678
+ DBNodeId?: string;
10679
+ hotReplicaMode?: string;
10680
+ ownerAccount?: string;
10681
+ ownerId?: number;
10682
+ resourceOwnerAccount?: string;
10683
+ resourceOwnerId?: number;
10684
+ static names(): { [key: string]: string } {
10685
+ return {
10686
+ DBClusterId: 'DBClusterId',
10687
+ DBNodeId: 'DBNodeId',
10688
+ hotReplicaMode: 'HotReplicaMode',
10689
+ ownerAccount: 'OwnerAccount',
10690
+ ownerId: 'OwnerId',
10691
+ resourceOwnerAccount: 'ResourceOwnerAccount',
10692
+ resourceOwnerId: 'ResourceOwnerId',
10693
+ };
10694
+ }
10695
+
10696
+ static types(): { [key: string]: any } {
10697
+ return {
10698
+ DBClusterId: 'string',
10699
+ DBNodeId: 'string',
10700
+ hotReplicaMode: 'string',
10701
+ ownerAccount: 'string',
10702
+ ownerId: 'number',
10703
+ resourceOwnerAccount: 'string',
10704
+ resourceOwnerId: 'number',
10705
+ };
10706
+ }
10707
+
10708
+ constructor(map?: { [key: string]: any }) {
10709
+ super(map);
10710
+ }
10711
+ }
10712
+
10713
+ export class ModifyDBNodeHotReplicaModeResponseBody extends $tea.Model {
10714
+ DBClusterId?: string;
10715
+ orderId?: string;
10716
+ requestId?: string;
10717
+ static names(): { [key: string]: string } {
10718
+ return {
10719
+ DBClusterId: 'DBClusterId',
10720
+ orderId: 'OrderId',
10721
+ requestId: 'RequestId',
10722
+ };
10723
+ }
10724
+
10725
+ static types(): { [key: string]: any } {
10726
+ return {
10727
+ DBClusterId: 'string',
10728
+ orderId: 'string',
10729
+ requestId: 'string',
10730
+ };
10731
+ }
10732
+
10733
+ constructor(map?: { [key: string]: any }) {
10734
+ super(map);
10735
+ }
10736
+ }
10737
+
10738
+ export class ModifyDBNodeHotReplicaModeResponse extends $tea.Model {
10739
+ headers: { [key: string]: string };
10740
+ statusCode: number;
10741
+ body: ModifyDBNodeHotReplicaModeResponseBody;
10742
+ static names(): { [key: string]: string } {
10743
+ return {
10744
+ headers: 'headers',
10745
+ statusCode: 'statusCode',
10746
+ body: 'body',
10747
+ };
10748
+ }
10749
+
10750
+ static types(): { [key: string]: any } {
10751
+ return {
10752
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10753
+ statusCode: 'number',
10754
+ body: ModifyDBNodeHotReplicaModeResponseBody,
10755
+ };
10756
+ }
10757
+
10758
+ constructor(map?: { [key: string]: any }) {
10759
+ super(map);
10760
+ }
10761
+ }
10762
+
9839
10763
  export class ModifyDBNodesClassRequest extends $tea.Model {
9840
10764
  clientToken?: string;
9841
10765
  DBClusterId?: string;
@@ -10645,6 +11569,8 @@ export class ModifyPendingMaintenanceActionResponse extends $tea.Model {
10645
11569
 
10646
11570
  export class OpenAITaskRequest extends $tea.Model {
10647
11571
  DBClusterId?: string;
11572
+ describeType?: string;
11573
+ nodeType?: string;
10648
11574
  ownerAccount?: string;
10649
11575
  ownerId?: number;
10650
11576
  password?: string;
@@ -10656,6 +11582,8 @@ export class OpenAITaskRequest extends $tea.Model {
10656
11582
  static names(): { [key: string]: string } {
10657
11583
  return {
10658
11584
  DBClusterId: 'DBClusterId',
11585
+ describeType: 'DescribeType',
11586
+ nodeType: 'NodeType',
10659
11587
  ownerAccount: 'OwnerAccount',
10660
11588
  ownerId: 'OwnerId',
10661
11589
  password: 'Password',
@@ -10670,6 +11598,8 @@ export class OpenAITaskRequest extends $tea.Model {
10670
11598
  static types(): { [key: string]: any } {
10671
11599
  return {
10672
11600
  DBClusterId: 'string',
11601
+ describeType: 'string',
11602
+ nodeType: 'string',
10673
11603
  ownerAccount: 'string',
10674
11604
  ownerId: 'number',
10675
11605
  password: 'string',
@@ -10899,25 +11829,109 @@ export class ResetAccountRequest extends $tea.Model {
10899
11829
  resourceOwnerId?: number;
10900
11830
  static names(): { [key: string]: string } {
10901
11831
  return {
10902
- accountName: 'AccountName',
10903
- accountPassword: 'AccountPassword',
11832
+ accountName: 'AccountName',
11833
+ accountPassword: 'AccountPassword',
11834
+ DBClusterId: 'DBClusterId',
11835
+ ownerAccount: 'OwnerAccount',
11836
+ ownerId: 'OwnerId',
11837
+ resourceOwnerAccount: 'ResourceOwnerAccount',
11838
+ resourceOwnerId: 'ResourceOwnerId',
11839
+ };
11840
+ }
11841
+
11842
+ static types(): { [key: string]: any } {
11843
+ return {
11844
+ accountName: 'string',
11845
+ accountPassword: 'string',
11846
+ DBClusterId: 'string',
11847
+ ownerAccount: 'string',
11848
+ ownerId: 'number',
11849
+ resourceOwnerAccount: 'string',
11850
+ resourceOwnerId: 'number',
11851
+ };
11852
+ }
11853
+
11854
+ constructor(map?: { [key: string]: any }) {
11855
+ super(map);
11856
+ }
11857
+ }
11858
+
11859
+ export class ResetAccountResponseBody extends $tea.Model {
11860
+ requestId?: string;
11861
+ static names(): { [key: string]: string } {
11862
+ return {
11863
+ requestId: 'RequestId',
11864
+ };
11865
+ }
11866
+
11867
+ static types(): { [key: string]: any } {
11868
+ return {
11869
+ requestId: 'string',
11870
+ };
11871
+ }
11872
+
11873
+ constructor(map?: { [key: string]: any }) {
11874
+ super(map);
11875
+ }
11876
+ }
11877
+
11878
+ export class ResetAccountResponse extends $tea.Model {
11879
+ headers: { [key: string]: string };
11880
+ statusCode: number;
11881
+ body: ResetAccountResponseBody;
11882
+ static names(): { [key: string]: string } {
11883
+ return {
11884
+ headers: 'headers',
11885
+ statusCode: 'statusCode',
11886
+ body: 'body',
11887
+ };
11888
+ }
11889
+
11890
+ static types(): { [key: string]: any } {
11891
+ return {
11892
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11893
+ statusCode: 'number',
11894
+ body: ResetAccountResponseBody,
11895
+ };
11896
+ }
11897
+
11898
+ constructor(map?: { [key: string]: any }) {
11899
+ super(map);
11900
+ }
11901
+ }
11902
+
11903
+ export class ResetGlobalDatabaseNetworkRequest extends $tea.Model {
11904
+ DBClusterId?: string;
11905
+ GDNId?: string;
11906
+ ownerAccount?: string;
11907
+ ownerId?: number;
11908
+ regionId?: string;
11909
+ resourceOwnerAccount?: string;
11910
+ resourceOwnerId?: number;
11911
+ securityToken?: string;
11912
+ static names(): { [key: string]: string } {
11913
+ return {
10904
11914
  DBClusterId: 'DBClusterId',
11915
+ GDNId: 'GDNId',
10905
11916
  ownerAccount: 'OwnerAccount',
10906
11917
  ownerId: 'OwnerId',
11918
+ regionId: 'RegionId',
10907
11919
  resourceOwnerAccount: 'ResourceOwnerAccount',
10908
11920
  resourceOwnerId: 'ResourceOwnerId',
11921
+ securityToken: 'SecurityToken',
10909
11922
  };
10910
11923
  }
10911
11924
 
10912
11925
  static types(): { [key: string]: any } {
10913
11926
  return {
10914
- accountName: 'string',
10915
- accountPassword: 'string',
10916
11927
  DBClusterId: 'string',
11928
+ GDNId: 'string',
10917
11929
  ownerAccount: 'string',
10918
11930
  ownerId: 'number',
11931
+ regionId: 'string',
10919
11932
  resourceOwnerAccount: 'string',
10920
11933
  resourceOwnerId: 'number',
11934
+ securityToken: 'string',
10921
11935
  };
10922
11936
  }
10923
11937
 
@@ -10926,7 +11940,7 @@ export class ResetAccountRequest extends $tea.Model {
10926
11940
  }
10927
11941
  }
10928
11942
 
10929
- export class ResetAccountResponseBody extends $tea.Model {
11943
+ export class ResetGlobalDatabaseNetworkResponseBody extends $tea.Model {
10930
11944
  requestId?: string;
10931
11945
  static names(): { [key: string]: string } {
10932
11946
  return {
@@ -10945,10 +11959,10 @@ export class ResetAccountResponseBody extends $tea.Model {
10945
11959
  }
10946
11960
  }
10947
11961
 
10948
- export class ResetAccountResponse extends $tea.Model {
11962
+ export class ResetGlobalDatabaseNetworkResponse extends $tea.Model {
10949
11963
  headers: { [key: string]: string };
10950
11964
  statusCode: number;
10951
- body: ResetAccountResponseBody;
11965
+ body: ResetGlobalDatabaseNetworkResponseBody;
10952
11966
  static names(): { [key: string]: string } {
10953
11967
  return {
10954
11968
  headers: 'headers',
@@ -10961,7 +11975,7 @@ export class ResetAccountResponse extends $tea.Model {
10961
11975
  return {
10962
11976
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10963
11977
  statusCode: 'number',
10964
- body: ResetAccountResponseBody,
11978
+ body: ResetGlobalDatabaseNetworkResponseBody,
10965
11979
  };
10966
11980
  }
10967
11981
 
@@ -11771,6 +12785,7 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
11771
12785
  plannedStartTime?: string;
11772
12786
  resourceOwnerAccount?: string;
11773
12787
  resourceOwnerId?: number;
12788
+ targetDBRevisionVersionCode?: string;
11774
12789
  upgradeLabel?: string;
11775
12790
  upgradePolicy?: string;
11776
12791
  upgradeType?: string;
@@ -11784,6 +12799,7 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
11784
12799
  plannedStartTime: 'PlannedStartTime',
11785
12800
  resourceOwnerAccount: 'ResourceOwnerAccount',
11786
12801
  resourceOwnerId: 'ResourceOwnerId',
12802
+ targetDBRevisionVersionCode: 'TargetDBRevisionVersionCode',
11787
12803
  upgradeLabel: 'UpgradeLabel',
11788
12804
  upgradePolicy: 'UpgradePolicy',
11789
12805
  upgradeType: 'UpgradeType',
@@ -11800,6 +12816,7 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
11800
12816
  plannedStartTime: 'string',
11801
12817
  resourceOwnerAccount: 'string',
11802
12818
  resourceOwnerId: 'number',
12819
+ targetDBRevisionVersionCode: 'string',
11803
12820
  upgradeLabel: 'string',
11804
12821
  upgradePolicy: 'string',
11805
12822
  upgradeType: 'string',
@@ -11877,6 +12894,28 @@ export class CreateDBClusterRequestTag extends $tea.Model {
11877
12894
  }
11878
12895
  }
11879
12896
 
12897
+ export class CreateDBEndpointAddressRequestZoneInfo extends $tea.Model {
12898
+ vSwitchId?: string;
12899
+ zoneId?: string;
12900
+ static names(): { [key: string]: string } {
12901
+ return {
12902
+ vSwitchId: 'VSwitchId',
12903
+ zoneId: 'ZoneId',
12904
+ };
12905
+ }
12906
+
12907
+ static types(): { [key: string]: any } {
12908
+ return {
12909
+ vSwitchId: 'string',
12910
+ zoneId: 'string',
12911
+ };
12912
+ }
12913
+
12914
+ constructor(map?: { [key: string]: any }) {
12915
+ super(map);
12916
+ }
12917
+ }
12918
+
11880
12919
  export class CreateDBNodesRequestDBNode extends $tea.Model {
11881
12920
  targetClass?: string;
11882
12921
  zoneId?: string;
@@ -12216,6 +13255,8 @@ export class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
12216
13255
  backupsLevel?: string;
12217
13256
  consistentTime?: string;
12218
13257
  DBClusterId?: string;
13258
+ expectExpireTime?: string;
13259
+ expectExpireType?: string;
12219
13260
  isAvail?: string;
12220
13261
  static names(): { [key: string]: string } {
12221
13262
  return {
@@ -12230,6 +13271,8 @@ export class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
12230
13271
  backupsLevel: 'BackupsLevel',
12231
13272
  consistentTime: 'ConsistentTime',
12232
13273
  DBClusterId: 'DBClusterId',
13274
+ expectExpireTime: 'ExpectExpireTime',
13275
+ expectExpireType: 'ExpectExpireType',
12233
13276
  isAvail: 'IsAvail',
12234
13277
  };
12235
13278
  }
@@ -12247,6 +13290,8 @@ export class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
12247
13290
  backupsLevel: 'string',
12248
13291
  consistentTime: 'string',
12249
13292
  DBClusterId: 'string',
13293
+ expectExpireTime: 'string',
13294
+ expectExpireType: 'string',
12250
13295
  isAvail: 'string',
12251
13296
  };
12252
13297
  }
@@ -12301,7 +13346,14 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
12301
13346
  cpu?: string;
12302
13347
  maxConnections?: string;
12303
13348
  maxIOPS?: string;
13349
+ maxStorageCapacity?: string;
12304
13350
  memoryClass?: string;
13351
+ pl1MaxIOPS?: string;
13352
+ pl2MaxIOPS?: string;
13353
+ pl3MaxIOPS?: string;
13354
+ psl4MaxIOPS?: string;
13355
+ psl5MaxIOPS?: string;
13356
+ referenceExtPrice?: string;
12305
13357
  referencePrice?: string;
12306
13358
  static names(): { [key: string]: string } {
12307
13359
  return {
@@ -12311,7 +13363,14 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
12311
13363
  cpu: 'Cpu',
12312
13364
  maxConnections: 'MaxConnections',
12313
13365
  maxIOPS: 'MaxIOPS',
13366
+ maxStorageCapacity: 'MaxStorageCapacity',
12314
13367
  memoryClass: 'MemoryClass',
13368
+ pl1MaxIOPS: 'Pl1MaxIOPS',
13369
+ pl2MaxIOPS: 'Pl2MaxIOPS',
13370
+ pl3MaxIOPS: 'Pl3MaxIOPS',
13371
+ psl4MaxIOPS: 'Psl4MaxIOPS',
13372
+ psl5MaxIOPS: 'Psl5MaxIOPS',
13373
+ referenceExtPrice: 'ReferenceExtPrice',
12315
13374
  referencePrice: 'ReferencePrice',
12316
13375
  };
12317
13376
  }
@@ -12324,7 +13383,14 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
12324
13383
  cpu: 'string',
12325
13384
  maxConnections: 'string',
12326
13385
  maxIOPS: 'string',
13386
+ maxStorageCapacity: 'string',
12327
13387
  memoryClass: 'string',
13388
+ pl1MaxIOPS: 'string',
13389
+ pl2MaxIOPS: 'string',
13390
+ pl3MaxIOPS: 'string',
13391
+ psl4MaxIOPS: 'string',
13392
+ psl5MaxIOPS: 'string',
13393
+ referenceExtPrice: 'string',
12328
13394
  referencePrice: 'string',
12329
13395
  };
12330
13396
  }
@@ -12434,6 +13500,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
12434
13500
  maxIOPS?: number;
12435
13501
  sccMode?: string;
12436
13502
  serverWeight?: string;
13503
+ serverlessType?: string;
12437
13504
  zoneId?: string;
12438
13505
  static names(): { [key: string]: string } {
12439
13506
  return {
@@ -12451,6 +13518,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
12451
13518
  maxIOPS: 'MaxIOPS',
12452
13519
  sccMode: 'SccMode',
12453
13520
  serverWeight: 'ServerWeight',
13521
+ serverlessType: 'ServerlessType',
12454
13522
  zoneId: 'ZoneId',
12455
13523
  };
12456
13524
  }
@@ -12471,6 +13539,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
12471
13539
  maxIOPS: 'number',
12472
13540
  sccMode: 'string',
12473
13541
  serverWeight: 'string',
13542
+ serverlessType: 'string',
12474
13543
  zoneId: 'string',
12475
13544
  };
12476
13545
  }
@@ -12781,6 +13850,68 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointList extends $tea.
12781
13850
  }
12782
13851
  }
12783
13852
 
13853
+ export class DescribeDBClusterParametersResponseBodyParametersParameters extends $tea.Model {
13854
+ isEqual?: string;
13855
+ distParameterDescription?: string;
13856
+ distParameterName?: string;
13857
+ distParameterOptional?: string;
13858
+ distParameterValue?: string;
13859
+ rdsParameterDescription?: string;
13860
+ rdsParameterName?: string;
13861
+ rdsParameterOptional?: string;
13862
+ rdsParameterValue?: string;
13863
+ static names(): { [key: string]: string } {
13864
+ return {
13865
+ isEqual: 'IsEqual',
13866
+ distParameterDescription: 'distParameterDescription',
13867
+ distParameterName: 'distParameterName',
13868
+ distParameterOptional: 'distParameterOptional',
13869
+ distParameterValue: 'distParameterValue',
13870
+ rdsParameterDescription: 'rdsParameterDescription',
13871
+ rdsParameterName: 'rdsParameterName',
13872
+ rdsParameterOptional: 'rdsParameterOptional',
13873
+ rdsParameterValue: 'rdsParameterValue',
13874
+ };
13875
+ }
13876
+
13877
+ static types(): { [key: string]: any } {
13878
+ return {
13879
+ isEqual: 'string',
13880
+ distParameterDescription: 'string',
13881
+ distParameterName: 'string',
13882
+ distParameterOptional: 'string',
13883
+ distParameterValue: 'string',
13884
+ rdsParameterDescription: 'string',
13885
+ rdsParameterName: 'string',
13886
+ rdsParameterOptional: 'string',
13887
+ rdsParameterValue: 'string',
13888
+ };
13889
+ }
13890
+
13891
+ constructor(map?: { [key: string]: any }) {
13892
+ super(map);
13893
+ }
13894
+ }
13895
+
13896
+ export class DescribeDBClusterParametersResponseBodyParameters extends $tea.Model {
13897
+ parameters?: DescribeDBClusterParametersResponseBodyParametersParameters[];
13898
+ static names(): { [key: string]: string } {
13899
+ return {
13900
+ parameters: 'Parameters',
13901
+ };
13902
+ }
13903
+
13904
+ static types(): { [key: string]: any } {
13905
+ return {
13906
+ parameters: { 'type': 'array', 'itemType': DescribeDBClusterParametersResponseBodyParametersParameters },
13907
+ };
13908
+ }
13909
+
13910
+ constructor(map?: { [key: string]: any }) {
13911
+ super(map);
13912
+ }
13913
+ }
13914
+
12784
13915
  export class DescribeDBClusterParametersResponseBodyRunningParametersParameter extends $tea.Model {
12785
13916
  checkingCode?: string;
12786
13917
  dataType?: string;
@@ -12968,6 +14099,34 @@ export class DescribeDBClusterSSLResponseBodyItems extends $tea.Model {
12968
14099
  }
12969
14100
  }
12970
14101
 
14102
+ export class DescribeDBClusterVersionResponseBodyDBRevisionVersionList extends $tea.Model {
14103
+ releaseNote?: string;
14104
+ releaseType?: string;
14105
+ revisionVersionCode?: string;
14106
+ revisionVersionName?: string;
14107
+ static names(): { [key: string]: string } {
14108
+ return {
14109
+ releaseNote: 'ReleaseNote',
14110
+ releaseType: 'ReleaseType',
14111
+ revisionVersionCode: 'RevisionVersionCode',
14112
+ revisionVersionName: 'RevisionVersionName',
14113
+ };
14114
+ }
14115
+
14116
+ static types(): { [key: string]: any } {
14117
+ return {
14118
+ releaseNote: 'string',
14119
+ releaseType: 'string',
14120
+ revisionVersionCode: 'string',
14121
+ revisionVersionName: 'string',
14122
+ };
14123
+ }
14124
+
14125
+ constructor(map?: { [key: string]: any }) {
14126
+ super(map);
14127
+ }
14128
+ }
14129
+
12971
14130
  export class DescribeDBClustersRequestTag extends $tea.Model {
12972
14131
  key?: string;
12973
14132
  value?: string;
@@ -12994,14 +14153,20 @@ export class DescribeDBClustersResponseBodyItemsDBClusterDBNodesDBNode extends $
12994
14153
  DBNodeClass?: string;
12995
14154
  DBNodeId?: string;
12996
14155
  DBNodeRole?: string;
14156
+ hotReplicaMode?: string;
14157
+ imciSwitch?: string;
12997
14158
  regionId?: string;
14159
+ serverless?: string;
12998
14160
  zoneId?: string;
12999
14161
  static names(): { [key: string]: string } {
13000
14162
  return {
13001
14163
  DBNodeClass: 'DBNodeClass',
13002
14164
  DBNodeId: 'DBNodeId',
13003
14165
  DBNodeRole: 'DBNodeRole',
14166
+ hotReplicaMode: 'HotReplicaMode',
14167
+ imciSwitch: 'ImciSwitch',
13004
14168
  regionId: 'RegionId',
14169
+ serverless: 'Serverless',
13005
14170
  zoneId: 'ZoneId',
13006
14171
  };
13007
14172
  }
@@ -13011,7 +14176,10 @@ export class DescribeDBClustersResponseBodyItemsDBClusterDBNodesDBNode extends $
13011
14176
  DBNodeClass: 'string',
13012
14177
  DBNodeId: 'string',
13013
14178
  DBNodeRole: 'string',
14179
+ hotReplicaMode: 'string',
14180
+ imciSwitch: 'string',
13014
14181
  regionId: 'string',
14182
+ serverless: 'string',
13015
14183
  zoneId: 'string',
13016
14184
  };
13017
14185
  }
@@ -13082,6 +14250,7 @@ export class DescribeDBClustersResponseBodyItemsDBClusterTags extends $tea.Model
13082
14250
  }
13083
14251
 
13084
14252
  export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
14253
+ aiType?: string;
13085
14254
  category?: string;
13086
14255
  createTime?: string;
13087
14256
  DBClusterDescription?: string;
@@ -13105,11 +14274,14 @@ export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
13105
14274
  storagePayType?: string;
13106
14275
  storageSpace?: number;
13107
14276
  storageUsed?: number;
14277
+ strictConsistency?: string;
13108
14278
  tags?: DescribeDBClustersResponseBodyItemsDBClusterTags;
13109
14279
  vpcId?: string;
14280
+ vswitchId?: string;
13110
14281
  zoneId?: string;
13111
14282
  static names(): { [key: string]: string } {
13112
14283
  return {
14284
+ aiType: 'AiType',
13113
14285
  category: 'Category',
13114
14286
  createTime: 'CreateTime',
13115
14287
  DBClusterDescription: 'DBClusterDescription',
@@ -13133,14 +14305,17 @@ export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
13133
14305
  storagePayType: 'StoragePayType',
13134
14306
  storageSpace: 'StorageSpace',
13135
14307
  storageUsed: 'StorageUsed',
14308
+ strictConsistency: 'StrictConsistency',
13136
14309
  tags: 'Tags',
13137
14310
  vpcId: 'VpcId',
14311
+ vswitchId: 'VswitchId',
13138
14312
  zoneId: 'ZoneId',
13139
14313
  };
13140
14314
  }
13141
14315
 
13142
14316
  static types(): { [key: string]: any } {
13143
14317
  return {
14318
+ aiType: 'string',
13144
14319
  category: 'string',
13145
14320
  createTime: 'string',
13146
14321
  DBClusterDescription: 'string',
@@ -13164,8 +14339,10 @@ export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
13164
14339
  storagePayType: 'string',
13165
14340
  storageSpace: 'number',
13166
14341
  storageUsed: 'number',
14342
+ strictConsistency: 'string',
13167
14343
  tags: DescribeDBClustersResponseBodyItemsDBClusterTags,
13168
14344
  vpcId: 'string',
14345
+ vswitchId: 'string',
13169
14346
  zoneId: 'string',
13170
14347
  };
13171
14348
  }
@@ -13665,6 +14842,7 @@ export class DescribeDatabasesResponseBodyDatabasesDatabase extends $tea.Model {
13665
14842
  DBName?: string;
13666
14843
  DBStatus?: string;
13667
14844
  engine?: string;
14845
+ masterID?: string;
13668
14846
  static names(): { [key: string]: string } {
13669
14847
  return {
13670
14848
  accounts: 'Accounts',
@@ -13673,6 +14851,7 @@ export class DescribeDatabasesResponseBodyDatabasesDatabase extends $tea.Model {
13673
14851
  DBName: 'DBName',
13674
14852
  DBStatus: 'DBStatus',
13675
14853
  engine: 'Engine',
14854
+ masterID: 'MasterID',
13676
14855
  };
13677
14856
  }
13678
14857
 
@@ -13684,6 +14863,7 @@ export class DescribeDatabasesResponseBodyDatabasesDatabase extends $tea.Model {
13684
14863
  DBName: 'string',
13685
14864
  DBStatus: 'string',
13686
14865
  engine: 'string',
14866
+ masterID: 'string',
13687
14867
  };
13688
14868
  }
13689
14869
 
@@ -14627,67 +15807,6 @@ export class DescribeSlowLogsResponseBodyItems extends $tea.Model {
14627
15807
  }
14628
15808
  }
14629
15809
 
14630
- export class DescribeStoragePlanResponseBodyItems extends $tea.Model {
14631
- aliUid?: string;
14632
- commodityCode?: string;
14633
- endTimes?: string;
14634
- initCapaCityViewUnit?: string;
14635
- initCapacityViewValue?: string;
14636
- instanceId?: string;
14637
- periodCapaCityViewUnit?: string;
14638
- periodCapacityViewValue?: string;
14639
- periodTime?: string;
14640
- prodCode?: string;
14641
- purchaseTimes?: string;
14642
- startTimes?: string;
14643
- status?: string;
14644
- storageType?: string;
14645
- templateName?: string;
14646
- static names(): { [key: string]: string } {
14647
- return {
14648
- aliUid: 'AliUid',
14649
- commodityCode: 'CommodityCode',
14650
- endTimes: 'EndTimes',
14651
- initCapaCityViewUnit: 'InitCapaCityViewUnit',
14652
- initCapacityViewValue: 'InitCapacityViewValue',
14653
- instanceId: 'InstanceId',
14654
- periodCapaCityViewUnit: 'PeriodCapaCityViewUnit',
14655
- periodCapacityViewValue: 'PeriodCapacityViewValue',
14656
- periodTime: 'PeriodTime',
14657
- prodCode: 'ProdCode',
14658
- purchaseTimes: 'PurchaseTimes',
14659
- startTimes: 'StartTimes',
14660
- status: 'Status',
14661
- storageType: 'StorageType',
14662
- templateName: 'TemplateName',
14663
- };
14664
- }
14665
-
14666
- static types(): { [key: string]: any } {
14667
- return {
14668
- aliUid: 'string',
14669
- commodityCode: 'string',
14670
- endTimes: 'string',
14671
- initCapaCityViewUnit: 'string',
14672
- initCapacityViewValue: 'string',
14673
- instanceId: 'string',
14674
- periodCapaCityViewUnit: 'string',
14675
- periodCapacityViewValue: 'string',
14676
- periodTime: 'string',
14677
- prodCode: 'string',
14678
- purchaseTimes: 'string',
14679
- startTimes: 'string',
14680
- status: 'string',
14681
- storageType: 'string',
14682
- templateName: 'string',
14683
- };
14684
- }
14685
-
14686
- constructor(map?: { [key: string]: any }) {
14687
- super(map);
14688
- }
14689
- }
14690
-
14691
15810
  export class DescribeTasksResponseBodyTasksTask extends $tea.Model {
14692
15811
  beginTime?: string;
14693
15812
  currentStepName?: string;
@@ -14765,6 +15884,46 @@ export class DescribeTasksResponseBodyTasks extends $tea.Model {
14765
15884
  }
14766
15885
  }
14767
15886
 
15887
+ export class DescribeVSwitchesResponseBodyVSwitchs extends $tea.Model {
15888
+ availableIpAddressCount?: number;
15889
+ cidrBlock?: string;
15890
+ description?: string;
15891
+ isDefault?: boolean;
15892
+ izNo?: string;
15893
+ status?: string;
15894
+ vSwitchId?: string;
15895
+ vSwitchName?: string;
15896
+ static names(): { [key: string]: string } {
15897
+ return {
15898
+ availableIpAddressCount: 'AvailableIpAddressCount',
15899
+ cidrBlock: 'CidrBlock',
15900
+ description: 'Description',
15901
+ isDefault: 'IsDefault',
15902
+ izNo: 'IzNo',
15903
+ status: 'Status',
15904
+ vSwitchId: 'VSwitchId',
15905
+ vSwitchName: 'VSwitchName',
15906
+ };
15907
+ }
15908
+
15909
+ static types(): { [key: string]: any } {
15910
+ return {
15911
+ availableIpAddressCount: 'number',
15912
+ cidrBlock: 'string',
15913
+ description: 'string',
15914
+ isDefault: 'boolean',
15915
+ izNo: 'string',
15916
+ status: 'string',
15917
+ vSwitchId: 'string',
15918
+ vSwitchName: 'string',
15919
+ };
15920
+ }
15921
+
15922
+ constructor(map?: { [key: string]: any }) {
15923
+ super(map);
15924
+ }
15925
+ }
15926
+
14768
15927
  export class ListTagResourcesRequestTag extends $tea.Model {
14769
15928
  key?: string;
14770
15929
  value?: string;
@@ -15209,6 +16368,100 @@ export default class Client extends OpenApi {
15209
16368
  return await this.checkDBNameWithOptions(request, runtime);
15210
16369
  }
15211
16370
 
16371
+ async checkKMSAuthorizedWithOptions(request: CheckKMSAuthorizedRequest, runtime: $Util.RuntimeOptions): Promise<CheckKMSAuthorizedResponse> {
16372
+ Util.validateModel(request);
16373
+ let query = { };
16374
+ if (!Util.isUnset(request.DBClusterId)) {
16375
+ query["DBClusterId"] = request.DBClusterId;
16376
+ }
16377
+
16378
+ if (!Util.isUnset(request.ownerAccount)) {
16379
+ query["OwnerAccount"] = request.ownerAccount;
16380
+ }
16381
+
16382
+ if (!Util.isUnset(request.ownerId)) {
16383
+ query["OwnerId"] = request.ownerId;
16384
+ }
16385
+
16386
+ if (!Util.isUnset(request.regionId)) {
16387
+ query["RegionId"] = request.regionId;
16388
+ }
16389
+
16390
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
16391
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
16392
+ }
16393
+
16394
+ if (!Util.isUnset(request.resourceOwnerId)) {
16395
+ query["ResourceOwnerId"] = request.resourceOwnerId;
16396
+ }
16397
+
16398
+ if (!Util.isUnset(request.TDERegion)) {
16399
+ query["TDERegion"] = request.TDERegion;
16400
+ }
16401
+
16402
+ let req = new $OpenApi.OpenApiRequest({
16403
+ query: OpenApiUtil.query(query),
16404
+ });
16405
+ let params = new $OpenApi.Params({
16406
+ action: "CheckKMSAuthorized",
16407
+ version: "2017-08-01",
16408
+ protocol: "HTTPS",
16409
+ pathname: "/",
16410
+ method: "POST",
16411
+ authType: "AK",
16412
+ style: "RPC",
16413
+ reqBodyType: "formData",
16414
+ bodyType: "json",
16415
+ });
16416
+ return $tea.cast<CheckKMSAuthorizedResponse>(await this.callApi(params, req, runtime), new CheckKMSAuthorizedResponse({}));
16417
+ }
16418
+
16419
+ async checkKMSAuthorized(request: CheckKMSAuthorizedRequest): Promise<CheckKMSAuthorizedResponse> {
16420
+ let runtime = new $Util.RuntimeOptions({ });
16421
+ return await this.checkKMSAuthorizedWithOptions(request, runtime);
16422
+ }
16423
+
16424
+ async checkServiceLinkedRoleWithOptions(request: CheckServiceLinkedRoleRequest, runtime: $Util.RuntimeOptions): Promise<CheckServiceLinkedRoleResponse> {
16425
+ Util.validateModel(request);
16426
+ let query = { };
16427
+ if (!Util.isUnset(request.ownerAccount)) {
16428
+ query["OwnerAccount"] = request.ownerAccount;
16429
+ }
16430
+
16431
+ if (!Util.isUnset(request.ownerId)) {
16432
+ query["OwnerId"] = request.ownerId;
16433
+ }
16434
+
16435
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
16436
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
16437
+ }
16438
+
16439
+ if (!Util.isUnset(request.resourceOwnerId)) {
16440
+ query["ResourceOwnerId"] = request.resourceOwnerId;
16441
+ }
16442
+
16443
+ let req = new $OpenApi.OpenApiRequest({
16444
+ query: OpenApiUtil.query(query),
16445
+ });
16446
+ let params = new $OpenApi.Params({
16447
+ action: "CheckServiceLinkedRole",
16448
+ version: "2017-08-01",
16449
+ protocol: "HTTPS",
16450
+ pathname: "/",
16451
+ method: "POST",
16452
+ authType: "AK",
16453
+ style: "RPC",
16454
+ reqBodyType: "formData",
16455
+ bodyType: "json",
16456
+ });
16457
+ return $tea.cast<CheckServiceLinkedRoleResponse>(await this.callApi(params, req, runtime), new CheckServiceLinkedRoleResponse({}));
16458
+ }
16459
+
16460
+ async checkServiceLinkedRole(request: CheckServiceLinkedRoleRequest): Promise<CheckServiceLinkedRoleResponse> {
16461
+ let runtime = new $Util.RuntimeOptions({ });
16462
+ return await this.checkServiceLinkedRoleWithOptions(request, runtime);
16463
+ }
16464
+
15212
16465
  async closeAITaskWithOptions(request: CloseAITaskRequest, runtime: $Util.RuntimeOptions): Promise<CloseAITaskResponse> {
15213
16466
  Util.validateModel(request);
15214
16467
  let query = { };
@@ -15258,6 +16511,15 @@ export default class Client extends OpenApi {
15258
16511
  return await this.closeAITaskWithOptions(request, runtime);
15259
16512
  }
15260
16513
 
16514
+ /**
16515
+ * * You can call this operation to cancel the migration task before data migration.
16516
+ * * You can call this operation to perform the migration task after data migration.
16517
+ * > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](~~98169~~) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](~~121582~~).
16518
+ *
16519
+ * @param request CloseDBClusterMigrationRequest
16520
+ * @param runtime runtime options for this request RuntimeOptions
16521
+ * @return CloseDBClusterMigrationResponse
16522
+ */
15261
16523
  async closeDBClusterMigrationWithOptions(request: CloseDBClusterMigrationRequest, runtime: $Util.RuntimeOptions): Promise<CloseDBClusterMigrationResponse> {
15262
16524
  Util.validateModel(request);
15263
16525
  let query = { };
@@ -15302,6 +16564,14 @@ export default class Client extends OpenApi {
15302
16564
  return $tea.cast<CloseDBClusterMigrationResponse>(await this.callApi(params, req, runtime), new CloseDBClusterMigrationResponse({}));
15303
16565
  }
15304
16566
 
16567
+ /**
16568
+ * * You can call this operation to cancel the migration task before data migration.
16569
+ * * You can call this operation to perform the migration task after data migration.
16570
+ * > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](~~98169~~) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](~~121582~~).
16571
+ *
16572
+ * @param request CloseDBClusterMigrationRequest
16573
+ * @return CloseDBClusterMigrationResponse
16574
+ */
15305
16575
  async closeDBClusterMigration(request: CloseDBClusterMigrationRequest): Promise<CloseDBClusterMigrationResponse> {
15306
16576
  let runtime = new $Util.RuntimeOptions({ });
15307
16577
  return await this.closeDBClusterMigrationWithOptions(request, runtime);
@@ -15350,6 +16620,10 @@ export default class Client extends OpenApi {
15350
16620
  query["OwnerId"] = request.ownerId;
15351
16621
  }
15352
16622
 
16623
+ if (!Util.isUnset(request.privForAllDB)) {
16624
+ query["PrivForAllDB"] = request.privForAllDB;
16625
+ }
16626
+
15353
16627
  if (!Util.isUnset(request.resourceOwnerAccount)) {
15354
16628
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
15355
16629
  }
@@ -15380,6 +16654,16 @@ export default class Client extends OpenApi {
15380
16654
  return await this.createAccountWithOptions(request, runtime);
15381
16655
  }
15382
16656
 
16657
+ /**
16658
+ * >
16659
+ * * You can manually create up to three backups for each cluster.
16660
+ * * The `Exceeding the daily backup times of this DB cluster` error message indicates that three manual backups already exist in your cluster. You must delete existing backups before you call this operation to manually create backups. For more information about how to delete backups, see [Delete backups](~~98101~~).
16661
+ * * After you call this operation, a backup task is created in the backend. The task may be time-consuming if you want to back up large amounts of data.
16662
+ *
16663
+ * @param request CreateBackupRequest
16664
+ * @param runtime runtime options for this request RuntimeOptions
16665
+ * @return CreateBackupResponse
16666
+ */
15383
16667
  async createBackupWithOptions(request: CreateBackupRequest, runtime: $Util.RuntimeOptions): Promise<CreateBackupResponse> {
15384
16668
  Util.validateModel(request);
15385
16669
  let query = { };
@@ -15424,6 +16708,15 @@ export default class Client extends OpenApi {
15424
16708
  return $tea.cast<CreateBackupResponse>(await this.callApi(params, req, runtime), new CreateBackupResponse({}));
15425
16709
  }
15426
16710
 
16711
+ /**
16712
+ * >
16713
+ * * You can manually create up to three backups for each cluster.
16714
+ * * The `Exceeding the daily backup times of this DB cluster` error message indicates that three manual backups already exist in your cluster. You must delete existing backups before you call this operation to manually create backups. For more information about how to delete backups, see [Delete backups](~~98101~~).
16715
+ * * After you call this operation, a backup task is created in the backend. The task may be time-consuming if you want to back up large amounts of data.
16716
+ *
16717
+ * @param request CreateBackupRequest
16718
+ * @return CreateBackupResponse
16719
+ */
15427
16720
  async createBackup(request: CreateBackupRequest): Promise<CreateBackupResponse> {
15428
16721
  let runtime = new $Util.RuntimeOptions({ });
15429
16722
  return await this.createBackupWithOptions(request, runtime);
@@ -15436,6 +16729,10 @@ export default class Client extends OpenApi {
15436
16729
  query["AllowShutDown"] = request.allowShutDown;
15437
16730
  }
15438
16731
 
16732
+ if (!Util.isUnset(request.architecture)) {
16733
+ query["Architecture"] = request.architecture;
16734
+ }
16735
+
15439
16736
  if (!Util.isUnset(request.autoRenew)) {
15440
16737
  query["AutoRenew"] = request.autoRenew;
15441
16738
  }
@@ -15476,6 +16773,10 @@ export default class Client extends OpenApi {
15476
16773
  query["DBNodeClass"] = request.DBNodeClass;
15477
16774
  }
15478
16775
 
16776
+ if (!Util.isUnset(request.DBNodeNum)) {
16777
+ query["DBNodeNum"] = request.DBNodeNum;
16778
+ }
16779
+
15479
16780
  if (!Util.isUnset(request.DBType)) {
15480
16781
  query["DBType"] = request.DBType;
15481
16782
  }
@@ -15492,6 +16793,22 @@ export default class Client extends OpenApi {
15492
16793
  query["GDNId"] = request.GDNId;
15493
16794
  }
15494
16795
 
16796
+ if (!Util.isUnset(request.hotStandbyCluster)) {
16797
+ query["HotStandbyCluster"] = request.hotStandbyCluster;
16798
+ }
16799
+
16800
+ if (!Util.isUnset(request.loosePolarLogBin)) {
16801
+ query["LoosePolarLogBin"] = request.loosePolarLogBin;
16802
+ }
16803
+
16804
+ if (!Util.isUnset(request.looseXEngine)) {
16805
+ query["LooseXEngine"] = request.looseXEngine;
16806
+ }
16807
+
16808
+ if (!Util.isUnset(request.looseXEngineUseMemoryPct)) {
16809
+ query["LooseXEngineUseMemoryPct"] = request.looseXEngineUseMemoryPct;
16810
+ }
16811
+
15495
16812
  if (!Util.isUnset(request.lowerCaseTableNames)) {
15496
16813
  query["LowerCaseTableNames"] = request.lowerCaseTableNames;
15497
16814
  }
@@ -15516,6 +16833,14 @@ export default class Client extends OpenApi {
15516
16833
  query["Period"] = request.period;
15517
16834
  }
15518
16835
 
16836
+ if (!Util.isUnset(request.proxyClass)) {
16837
+ query["ProxyClass"] = request.proxyClass;
16838
+ }
16839
+
16840
+ if (!Util.isUnset(request.proxyType)) {
16841
+ query["ProxyType"] = request.proxyType;
16842
+ }
16843
+
15519
16844
  if (!Util.isUnset(request.regionId)) {
15520
16845
  query["RegionId"] = request.regionId;
15521
16846
  }
@@ -15560,10 +16885,34 @@ export default class Client extends OpenApi {
15560
16885
  query["SourceResourceId"] = request.sourceResourceId;
15561
16886
  }
15562
16887
 
16888
+ if (!Util.isUnset(request.standbyAZ)) {
16889
+ query["StandbyAZ"] = request.standbyAZ;
16890
+ }
16891
+
16892
+ if (!Util.isUnset(request.storageAutoScale)) {
16893
+ query["StorageAutoScale"] = request.storageAutoScale;
16894
+ }
16895
+
16896
+ if (!Util.isUnset(request.storagePayType)) {
16897
+ query["StoragePayType"] = request.storagePayType;
16898
+ }
16899
+
16900
+ if (!Util.isUnset(request.storageSpace)) {
16901
+ query["StorageSpace"] = request.storageSpace;
16902
+ }
16903
+
15563
16904
  if (!Util.isUnset(request.storageType)) {
15564
16905
  query["StorageType"] = request.storageType;
15565
16906
  }
15566
16907
 
16908
+ if (!Util.isUnset(request.storageUpperBound)) {
16909
+ query["StorageUpperBound"] = request.storageUpperBound;
16910
+ }
16911
+
16912
+ if (!Util.isUnset(request.strictConsistency)) {
16913
+ query["StrictConsistency"] = request.strictConsistency;
16914
+ }
16915
+
15567
16916
  if (!Util.isUnset(request.TDEStatus)) {
15568
16917
  query["TDEStatus"] = request.TDEStatus;
15569
16918
  }
@@ -15683,6 +17032,13 @@ export default class Client extends OpenApi {
15683
17032
  return await this.createDBClusterEndpointWithOptions(request, runtime);
15684
17033
  }
15685
17034
 
17035
+ /**
17036
+ * > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
17037
+ *
17038
+ * @param request CreateDBEndpointAddressRequest
17039
+ * @param runtime runtime options for this request RuntimeOptions
17040
+ * @return CreateDBEndpointAddressResponse
17041
+ */
15686
17042
  async createDBEndpointAddressWithOptions(request: CreateDBEndpointAddressRequest, runtime: $Util.RuntimeOptions): Promise<CreateDBEndpointAddressResponse> {
15687
17043
  Util.validateModel(request);
15688
17044
  let query = { };
@@ -15718,6 +17074,18 @@ export default class Client extends OpenApi {
15718
17074
  query["ResourceOwnerId"] = request.resourceOwnerId;
15719
17075
  }
15720
17076
 
17077
+ if (!Util.isUnset(request.securityGroupId)) {
17078
+ query["SecurityGroupId"] = request.securityGroupId;
17079
+ }
17080
+
17081
+ if (!Util.isUnset(request.VPCId)) {
17082
+ query["VPCId"] = request.VPCId;
17083
+ }
17084
+
17085
+ if (!Util.isUnset(request.zoneInfo)) {
17086
+ query["ZoneInfo"] = request.zoneInfo;
17087
+ }
17088
+
15721
17089
  let req = new $OpenApi.OpenApiRequest({
15722
17090
  query: OpenApiUtil.query(query),
15723
17091
  });
@@ -15735,11 +17103,27 @@ export default class Client extends OpenApi {
15735
17103
  return $tea.cast<CreateDBEndpointAddressResponse>(await this.callApi(params, req, runtime), new CreateDBEndpointAddressResponse({}));
15736
17104
  }
15737
17105
 
17106
+ /**
17107
+ * > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
17108
+ *
17109
+ * @param request CreateDBEndpointAddressRequest
17110
+ * @return CreateDBEndpointAddressResponse
17111
+ */
15738
17112
  async createDBEndpointAddress(request: CreateDBEndpointAddressRequest): Promise<CreateDBEndpointAddressResponse> {
15739
17113
  let runtime = new $Util.RuntimeOptions({ });
15740
17114
  return await this.createDBEndpointAddressWithOptions(request, runtime);
15741
17115
  }
15742
17116
 
17117
+ /**
17118
+ * A database link can be used to connect two PolarDB for PostgreSQL(Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL(Compatible with Oracle) cluster to a user-created PostgreSQL database that is hosted on an Elastic Compute Service (ECS) instance. You can use database links to query data across clusters.
17119
+ * > * You can create up to 10 database links for a cluster.
17120
+ * > * Each database link connects a source cluster and a destination cluster.
17121
+ * > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
17122
+ *
17123
+ * @param request CreateDBLinkRequest
17124
+ * @param runtime runtime options for this request RuntimeOptions
17125
+ * @return CreateDBLinkResponse
17126
+ */
15743
17127
  async createDBLinkWithOptions(request: CreateDBLinkRequest, runtime: $Util.RuntimeOptions): Promise<CreateDBLinkResponse> {
15744
17128
  Util.validateModel(request);
15745
17129
  let query = { };
@@ -15828,6 +17212,15 @@ export default class Client extends OpenApi {
15828
17212
  return $tea.cast<CreateDBLinkResponse>(await this.callApi(params, req, runtime), new CreateDBLinkResponse({}));
15829
17213
  }
15830
17214
 
17215
+ /**
17216
+ * A database link can be used to connect two PolarDB for PostgreSQL(Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL(Compatible with Oracle) cluster to a user-created PostgreSQL database that is hosted on an Elastic Compute Service (ECS) instance. You can use database links to query data across clusters.
17217
+ * > * You can create up to 10 database links for a cluster.
17218
+ * > * Each database link connects a source cluster and a destination cluster.
17219
+ * > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
17220
+ *
17221
+ * @param request CreateDBLinkRequest
17222
+ * @return CreateDBLinkResponse
17223
+ */
15831
17224
  async createDBLink(request: CreateDBLinkRequest): Promise<CreateDBLinkResponse> {
15832
17225
  let runtime = new $Util.RuntimeOptions({ });
15833
17226
  return await this.createDBLinkWithOptions(request, runtime);
@@ -15848,6 +17241,10 @@ export default class Client extends OpenApi {
15848
17241
  query["DBNode"] = request.DBNode;
15849
17242
  }
15850
17243
 
17244
+ if (!Util.isUnset(request.DBNodeType)) {
17245
+ query["DBNodeType"] = request.DBNodeType;
17246
+ }
17247
+
15851
17248
  if (!Util.isUnset(request.endpointBindList)) {
15852
17249
  query["EndpointBindList"] = request.endpointBindList;
15853
17250
  }
@@ -15906,6 +17303,15 @@ export default class Client extends OpenApi {
15906
17303
  return await this.createDBNodesWithOptions(request, runtime);
15907
17304
  }
15908
17305
 
17306
+ /**
17307
+ * Before you call this operation, make sure that the following requirements are met:
17308
+ * * The cluster is in the Running state.
17309
+ * * The cluster is unlocked.
17310
+ *
17311
+ * @param request CreateDatabaseRequest
17312
+ * @param runtime runtime options for this request RuntimeOptions
17313
+ * @return CreateDatabaseResponse
17314
+ */
15909
17315
  async createDatabaseWithOptions(request: CreateDatabaseRequest, runtime: $Util.RuntimeOptions): Promise<CreateDatabaseResponse> {
15910
17316
  Util.validateModel(request);
15911
17317
  let query = { };
@@ -15974,11 +17380,26 @@ export default class Client extends OpenApi {
15974
17380
  return $tea.cast<CreateDatabaseResponse>(await this.callApi(params, req, runtime), new CreateDatabaseResponse({}));
15975
17381
  }
15976
17382
 
17383
+ /**
17384
+ * Before you call this operation, make sure that the following requirements are met:
17385
+ * * The cluster is in the Running state.
17386
+ * * The cluster is unlocked.
17387
+ *
17388
+ * @param request CreateDatabaseRequest
17389
+ * @return CreateDatabaseResponse
17390
+ */
15977
17391
  async createDatabase(request: CreateDatabaseRequest): Promise<CreateDatabaseResponse> {
15978
17392
  let runtime = new $Util.RuntimeOptions({ });
15979
17393
  return await this.createDatabaseWithOptions(request, runtime);
15980
17394
  }
15981
17395
 
17396
+ /**
17397
+ * > A cluster belongs to only one GDN.
17398
+ *
17399
+ * @param request CreateGlobalDatabaseNetworkRequest
17400
+ * @param runtime runtime options for this request RuntimeOptions
17401
+ * @return CreateGlobalDatabaseNetworkResponse
17402
+ */
15982
17403
  async createGlobalDatabaseNetworkWithOptions(request: CreateGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<CreateGlobalDatabaseNetworkResponse> {
15983
17404
  Util.validateModel(request);
15984
17405
  let query = { };
@@ -16031,6 +17452,12 @@ export default class Client extends OpenApi {
16031
17452
  return $tea.cast<CreateGlobalDatabaseNetworkResponse>(await this.callApi(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
16032
17453
  }
16033
17454
 
17455
+ /**
17456
+ * > A cluster belongs to only one GDN.
17457
+ *
17458
+ * @param request CreateGlobalDatabaseNetworkRequest
17459
+ * @return CreateGlobalDatabaseNetworkResponse
17460
+ */
16034
17461
  async createGlobalDatabaseNetwork(request: CreateGlobalDatabaseNetworkRequest): Promise<CreateGlobalDatabaseNetworkResponse> {
16035
17462
  let runtime = new $Util.RuntimeOptions({ });
16036
17463
  return await this.createGlobalDatabaseNetworkWithOptions(request, runtime);
@@ -16097,6 +17524,14 @@ export default class Client extends OpenApi {
16097
17524
  return await this.createGlobalSecurityIPGroupWithOptions(request, runtime);
16098
17525
  }
16099
17526
 
17527
+ /**
17528
+ * You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
17529
+ * > You can call this operation only on a PolarDB for MySQL cluster.
17530
+ *
17531
+ * @param request CreateParameterGroupRequest
17532
+ * @param runtime runtime options for this request RuntimeOptions
17533
+ * @return CreateParameterGroupResponse
17534
+ */
16100
17535
  async createParameterGroupWithOptions(request: CreateParameterGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateParameterGroupResponse> {
16101
17536
  Util.validateModel(request);
16102
17537
  let query = { };
@@ -16161,11 +17596,59 @@ export default class Client extends OpenApi {
16161
17596
  return $tea.cast<CreateParameterGroupResponse>(await this.callApi(params, req, runtime), new CreateParameterGroupResponse({}));
16162
17597
  }
16163
17598
 
17599
+ /**
17600
+ * You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
17601
+ * > You can call this operation only on a PolarDB for MySQL cluster.
17602
+ *
17603
+ * @param request CreateParameterGroupRequest
17604
+ * @return CreateParameterGroupResponse
17605
+ */
16164
17606
  async createParameterGroup(request: CreateParameterGroupRequest): Promise<CreateParameterGroupResponse> {
16165
17607
  let runtime = new $Util.RuntimeOptions({ });
16166
17608
  return await this.createParameterGroupWithOptions(request, runtime);
16167
17609
  }
16168
17610
 
17611
+ async createServiceLinkedRoleWithOptions(request: CreateServiceLinkedRoleRequest, runtime: $Util.RuntimeOptions): Promise<CreateServiceLinkedRoleResponse> {
17612
+ Util.validateModel(request);
17613
+ let query = { };
17614
+ if (!Util.isUnset(request.ownerAccount)) {
17615
+ query["OwnerAccount"] = request.ownerAccount;
17616
+ }
17617
+
17618
+ if (!Util.isUnset(request.ownerId)) {
17619
+ query["OwnerId"] = request.ownerId;
17620
+ }
17621
+
17622
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
17623
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
17624
+ }
17625
+
17626
+ if (!Util.isUnset(request.resourceOwnerId)) {
17627
+ query["ResourceOwnerId"] = request.resourceOwnerId;
17628
+ }
17629
+
17630
+ let req = new $OpenApi.OpenApiRequest({
17631
+ query: OpenApiUtil.query(query),
17632
+ });
17633
+ let params = new $OpenApi.Params({
17634
+ action: "CreateServiceLinkedRole",
17635
+ version: "2017-08-01",
17636
+ protocol: "HTTPS",
17637
+ pathname: "/",
17638
+ method: "POST",
17639
+ authType: "AK",
17640
+ style: "RPC",
17641
+ reqBodyType: "formData",
17642
+ bodyType: "json",
17643
+ });
17644
+ return $tea.cast<CreateServiceLinkedRoleResponse>(await this.callApi(params, req, runtime), new CreateServiceLinkedRoleResponse({}));
17645
+ }
17646
+
17647
+ async createServiceLinkedRole(request: CreateServiceLinkedRoleRequest): Promise<CreateServiceLinkedRoleResponse> {
17648
+ let runtime = new $Util.RuntimeOptions({ });
17649
+ return await this.createServiceLinkedRoleWithOptions(request, runtime);
17650
+ }
17651
+
16169
17652
  async createStoragePlanWithOptions(request: CreateStoragePlanRequest, runtime: $Util.RuntimeOptions): Promise<CreateStoragePlanResponse> {
16170
17653
  Util.validateModel(request);
16171
17654
  let query = { };
@@ -16227,6 +17710,13 @@ export default class Client extends OpenApi {
16227
17710
  return await this.createStoragePlanWithOptions(request, runtime);
16228
17711
  }
16229
17712
 
17713
+ /**
17714
+ * > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
17715
+ *
17716
+ * @param request DeleteAccountRequest
17717
+ * @param runtime runtime options for this request RuntimeOptions
17718
+ * @return DeleteAccountResponse
17719
+ */
16230
17720
  async deleteAccountWithOptions(request: DeleteAccountRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAccountResponse> {
16231
17721
  Util.validateModel(request);
16232
17722
  let query = { };
@@ -16271,11 +17761,28 @@ export default class Client extends OpenApi {
16271
17761
  return $tea.cast<DeleteAccountResponse>(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
16272
17762
  }
16273
17763
 
17764
+ /**
17765
+ * > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
17766
+ *
17767
+ * @param request DeleteAccountRequest
17768
+ * @return DeleteAccountResponse
17769
+ */
16274
17770
  async deleteAccount(request: DeleteAccountRequest): Promise<DeleteAccountResponse> {
16275
17771
  let runtime = new $Util.RuntimeOptions({ });
16276
17772
  return await this.deleteAccountWithOptions(request, runtime);
16277
17773
  }
16278
17774
 
17775
+ /**
17776
+ * Before you call this operation, make sure that the cluster meets the following requirements:
17777
+ * * The cluster is in the Running state.
17778
+ * * The backup sets are in the Success state.
17779
+ * > * You can call the [DescribeBackups](~~98102~~) operation to query the status of backup sets.
17780
+ * >* After you delete the backup set file, the storage space that is occupied by the file is released. The released storage space is smaller than the size of the file because your snapshots share some data blocks
17781
+ *
17782
+ * @param request DeleteBackupRequest
17783
+ * @param runtime runtime options for this request RuntimeOptions
17784
+ * @return DeleteBackupResponse
17785
+ */
16279
17786
  async deleteBackupWithOptions(request: DeleteBackupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteBackupResponse> {
16280
17787
  Util.validateModel(request);
16281
17788
  let query = { };
@@ -16320,6 +17827,16 @@ export default class Client extends OpenApi {
16320
17827
  return $tea.cast<DeleteBackupResponse>(await this.callApi(params, req, runtime), new DeleteBackupResponse({}));
16321
17828
  }
16322
17829
 
17830
+ /**
17831
+ * Before you call this operation, make sure that the cluster meets the following requirements:
17832
+ * * The cluster is in the Running state.
17833
+ * * The backup sets are in the Success state.
17834
+ * > * You can call the [DescribeBackups](~~98102~~) operation to query the status of backup sets.
17835
+ * >* After you delete the backup set file, the storage space that is occupied by the file is released. The released storage space is smaller than the size of the file because your snapshots share some data blocks
17836
+ *
17837
+ * @param request DeleteBackupRequest
17838
+ * @return DeleteBackupResponse
17839
+ */
16323
17840
  async deleteBackup(request: DeleteBackupRequest): Promise<DeleteBackupResponse> {
16324
17841
  let runtime = new $Util.RuntimeOptions({ });
16325
17842
  return await this.deleteBackupWithOptions(request, runtime);
@@ -16423,6 +17940,14 @@ export default class Client extends OpenApi {
16423
17940
  return await this.deleteDBClusterEndpointWithOptions(request, runtime);
16424
17941
  }
16425
17942
 
17943
+ /**
17944
+ * > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
17945
+ * > * Classic network endpoints are supported only on the China site (aliyun.com). Therefore, you do not need to delete classic network endpoints on the International site (alibabacloud.com).
17946
+ *
17947
+ * @param request DeleteDBEndpointAddressRequest
17948
+ * @param runtime runtime options for this request RuntimeOptions
17949
+ * @return DeleteDBEndpointAddressResponse
17950
+ */
16426
17951
  async deleteDBEndpointAddressWithOptions(request: DeleteDBEndpointAddressRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDBEndpointAddressResponse> {
16427
17952
  Util.validateModel(request);
16428
17953
  let query = { };
@@ -16471,6 +17996,13 @@ export default class Client extends OpenApi {
16471
17996
  return $tea.cast<DeleteDBEndpointAddressResponse>(await this.callApi(params, req, runtime), new DeleteDBEndpointAddressResponse({}));
16472
17997
  }
16473
17998
 
17999
+ /**
18000
+ * > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
18001
+ * > * Classic network endpoints are supported only on the China site (aliyun.com). Therefore, you do not need to delete classic network endpoints on the International site (alibabacloud.com).
18002
+ *
18003
+ * @param request DeleteDBEndpointAddressRequest
18004
+ * @return DeleteDBEndpointAddressResponse
18005
+ */
16474
18006
  async deleteDBEndpointAddress(request: DeleteDBEndpointAddressRequest): Promise<DeleteDBEndpointAddressResponse> {
16475
18007
  let runtime = new $Util.RuntimeOptions({ });
16476
18008
  return await this.deleteDBEndpointAddressWithOptions(request, runtime);
@@ -16540,6 +18072,10 @@ export default class Client extends OpenApi {
16540
18072
  query["DBNodeId"] = request.DBNodeId;
16541
18073
  }
16542
18074
 
18075
+ if (!Util.isUnset(request.DBNodeType)) {
18076
+ query["DBNodeType"] = request.DBNodeType;
18077
+ }
18078
+
16543
18079
  if (!Util.isUnset(request.ownerAccount)) {
16544
18080
  query["OwnerAccount"] = request.ownerAccount;
16545
18081
  }
@@ -16578,6 +18114,14 @@ export default class Client extends OpenApi {
16578
18114
  return await this.deleteDBNodesWithOptions(request, runtime);
16579
18115
  }
16580
18116
 
18117
+ /**
18118
+ * >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
18119
+ * >- The delete operation is performed in an asynchronous manner. A long period of time may be required to delete a large database. A success response for this operation only indicates that the request to delete the database is sent. You must query the database to check whether the database is deleted.
18120
+ *
18121
+ * @param request DeleteDatabaseRequest
18122
+ * @param runtime runtime options for this request RuntimeOptions
18123
+ * @return DeleteDatabaseResponse
18124
+ */
16581
18125
  async deleteDatabaseWithOptions(request: DeleteDatabaseRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDatabaseResponse> {
16582
18126
  Util.validateModel(request);
16583
18127
  let query = { };
@@ -16622,11 +18166,25 @@ export default class Client extends OpenApi {
16622
18166
  return $tea.cast<DeleteDatabaseResponse>(await this.callApi(params, req, runtime), new DeleteDatabaseResponse({}));
16623
18167
  }
16624
18168
 
18169
+ /**
18170
+ * >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
18171
+ * >- The delete operation is performed in an asynchronous manner. A long period of time may be required to delete a large database. A success response for this operation only indicates that the request to delete the database is sent. You must query the database to check whether the database is deleted.
18172
+ *
18173
+ * @param request DeleteDatabaseRequest
18174
+ * @return DeleteDatabaseResponse
18175
+ */
16625
18176
  async deleteDatabase(request: DeleteDatabaseRequest): Promise<DeleteDatabaseResponse> {
16626
18177
  let runtime = new $Util.RuntimeOptions({ });
16627
18178
  return await this.deleteDatabaseWithOptions(request, runtime);
16628
18179
  }
16629
18180
 
18181
+ /**
18182
+ * > You can delete a GDN only when the GDN includes only a primary cluster.
18183
+ *
18184
+ * @param request DeleteGlobalDatabaseNetworkRequest
18185
+ * @param runtime runtime options for this request RuntimeOptions
18186
+ * @return DeleteGlobalDatabaseNetworkResponse
18187
+ */
16630
18188
  async deleteGlobalDatabaseNetworkWithOptions(request: DeleteGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<DeleteGlobalDatabaseNetworkResponse> {
16631
18189
  Util.validateModel(request);
16632
18190
  let query = { };
@@ -16675,6 +18233,12 @@ export default class Client extends OpenApi {
16675
18233
  return $tea.cast<DeleteGlobalDatabaseNetworkResponse>(await this.callApi(params, req, runtime), new DeleteGlobalDatabaseNetworkResponse({}));
16676
18234
  }
16677
18235
 
18236
+ /**
18237
+ * > You can delete a GDN only when the GDN includes only a primary cluster.
18238
+ *
18239
+ * @param request DeleteGlobalDatabaseNetworkRequest
18240
+ * @return DeleteGlobalDatabaseNetworkResponse
18241
+ */
16678
18242
  async deleteGlobalDatabaseNetwork(request: DeleteGlobalDatabaseNetworkRequest): Promise<DeleteGlobalDatabaseNetworkResponse> {
16679
18243
  let runtime = new $Util.RuntimeOptions({ });
16680
18244
  return await this.deleteGlobalDatabaseNetworkWithOptions(request, runtime);
@@ -16774,6 +18338,14 @@ export default class Client extends OpenApi {
16774
18338
  return await this.deleteMaskingRulesWithOptions(request, runtime);
16775
18339
  }
16776
18340
 
18341
+ /**
18342
+ * You can use parameter templates to manage multiple parameters at a time and quickly apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
18343
+ * > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
18344
+ *
18345
+ * @param request DeleteParameterGroupRequest
18346
+ * @param runtime runtime options for this request RuntimeOptions
18347
+ * @return DeleteParameterGroupResponse
18348
+ */
16777
18349
  async deleteParameterGroupWithOptions(request: DeleteParameterGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteParameterGroupResponse> {
16778
18350
  Util.validateModel(request);
16779
18351
  let query = { };
@@ -16822,6 +18394,13 @@ export default class Client extends OpenApi {
16822
18394
  return $tea.cast<DeleteParameterGroupResponse>(await this.callApi(params, req, runtime), new DeleteParameterGroupResponse({}));
16823
18395
  }
16824
18396
 
18397
+ /**
18398
+ * You can use parameter templates to manage multiple parameters at a time and quickly apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
18399
+ * > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
18400
+ *
18401
+ * @param request DeleteParameterGroupRequest
18402
+ * @return DeleteParameterGroupResponse
18403
+ */
16825
18404
  async deleteParameterGroup(request: DeleteParameterGroupRequest): Promise<DeleteParameterGroupResponse> {
16826
18405
  let runtime = new $Util.RuntimeOptions({ });
16827
18406
  return await this.deleteParameterGroupWithOptions(request, runtime);
@@ -17266,6 +18845,10 @@ export default class Client extends OpenApi {
17266
18845
  query["CommodityCode"] = request.commodityCode;
17267
18846
  }
17268
18847
 
18848
+ if (!Util.isUnset(request.masterHa)) {
18849
+ query["MasterHa"] = request.masterHa;
18850
+ }
18851
+
17269
18852
  if (!Util.isUnset(request.orderType)) {
17270
18853
  query["OrderType"] = request.orderType;
17271
18854
  }
@@ -17368,6 +18951,10 @@ export default class Client extends OpenApi {
17368
18951
  query["DBClusterId"] = request.DBClusterId;
17369
18952
  }
17370
18953
 
18954
+ if (!Util.isUnset(request.describeType)) {
18955
+ query["DescribeType"] = request.describeType;
18956
+ }
18957
+
17371
18958
  if (!Util.isUnset(request.ownerAccount)) {
17372
18959
  query["OwnerAccount"] = request.ownerAccount;
17373
18960
  }
@@ -17516,6 +19103,63 @@ export default class Client extends OpenApi {
17516
19103
  return await this.describeDBClusterAvailableResourcesWithOptions(request, runtime);
17517
19104
  }
17518
19105
 
19106
+ async describeDBClusterConnectivityWithOptions(request: DescribeDBClusterConnectivityRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterConnectivityResponse> {
19107
+ Util.validateModel(request);
19108
+ let query = { };
19109
+ if (!Util.isUnset(request.DBClusterId)) {
19110
+ query["DBClusterId"] = request.DBClusterId;
19111
+ }
19112
+
19113
+ if (!Util.isUnset(request.ownerAccount)) {
19114
+ query["OwnerAccount"] = request.ownerAccount;
19115
+ }
19116
+
19117
+ if (!Util.isUnset(request.ownerId)) {
19118
+ query["OwnerId"] = request.ownerId;
19119
+ }
19120
+
19121
+ if (!Util.isUnset(request.resourceGroupId)) {
19122
+ query["ResourceGroupId"] = request.resourceGroupId;
19123
+ }
19124
+
19125
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
19126
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19127
+ }
19128
+
19129
+ if (!Util.isUnset(request.resourceOwnerId)) {
19130
+ query["ResourceOwnerId"] = request.resourceOwnerId;
19131
+ }
19132
+
19133
+ if (!Util.isUnset(request.securityToken)) {
19134
+ query["SecurityToken"] = request.securityToken;
19135
+ }
19136
+
19137
+ if (!Util.isUnset(request.sourceIpAddress)) {
19138
+ query["SourceIpAddress"] = request.sourceIpAddress;
19139
+ }
19140
+
19141
+ let req = new $OpenApi.OpenApiRequest({
19142
+ query: OpenApiUtil.query(query),
19143
+ });
19144
+ let params = new $OpenApi.Params({
19145
+ action: "DescribeDBClusterConnectivity",
19146
+ version: "2017-08-01",
19147
+ protocol: "HTTPS",
19148
+ pathname: "/",
19149
+ method: "POST",
19150
+ authType: "AK",
19151
+ style: "RPC",
19152
+ reqBodyType: "formData",
19153
+ bodyType: "json",
19154
+ });
19155
+ return $tea.cast<DescribeDBClusterConnectivityResponse>(await this.callApi(params, req, runtime), new DescribeDBClusterConnectivityResponse({}));
19156
+ }
19157
+
19158
+ async describeDBClusterConnectivity(request: DescribeDBClusterConnectivityRequest): Promise<DescribeDBClusterConnectivityResponse> {
19159
+ let runtime = new $Util.RuntimeOptions({ });
19160
+ return await this.describeDBClusterConnectivityWithOptions(request, runtime);
19161
+ }
19162
+
17519
19163
  async describeDBClusterEndpointsWithOptions(request: DescribeDBClusterEndpointsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterEndpointsResponse> {
17520
19164
  Util.validateModel(request);
17521
19165
  let query = { };
@@ -17527,6 +19171,10 @@ export default class Client extends OpenApi {
17527
19171
  query["DBEndpointId"] = request.DBEndpointId;
17528
19172
  }
17529
19173
 
19174
+ if (!Util.isUnset(request.describeType)) {
19175
+ query["DescribeType"] = request.describeType;
19176
+ }
19177
+
17530
19178
  if (!Util.isUnset(request.ownerAccount)) {
17531
19179
  query["OwnerAccount"] = request.ownerAccount;
17532
19180
  }
@@ -17565,6 +19213,14 @@ export default class Client extends OpenApi {
17565
19213
  return await this.describeDBClusterEndpointsWithOptions(request, runtime);
17566
19214
  }
17567
19215
 
19216
+ /**
19217
+ * * You can call this operation to query the status of data migration from an ApsaraDB RDS instance to a PolarDB cluster. For more information, see [Upgrade ApsaraDB RDS for MySQL to PolarDB for MySQL with one click](~~121582~~).
19218
+ * * Before you call this operation, make sure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](~~98169~~) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**.
19219
+ *
19220
+ * @param request DescribeDBClusterMigrationRequest
19221
+ * @param runtime runtime options for this request RuntimeOptions
19222
+ * @return DescribeDBClusterMigrationResponse
19223
+ */
17568
19224
  async describeDBClusterMigrationWithOptions(request: DescribeDBClusterMigrationRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterMigrationResponse> {
17569
19225
  Util.validateModel(request);
17570
19226
  let query = { };
@@ -17605,6 +19261,13 @@ export default class Client extends OpenApi {
17605
19261
  return $tea.cast<DescribeDBClusterMigrationResponse>(await this.callApi(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
17606
19262
  }
17607
19263
 
19264
+ /**
19265
+ * * You can call this operation to query the status of data migration from an ApsaraDB RDS instance to a PolarDB cluster. For more information, see [Upgrade ApsaraDB RDS for MySQL to PolarDB for MySQL with one click](~~121582~~).
19266
+ * * Before you call this operation, make sure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](~~98169~~) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**.
19267
+ *
19268
+ * @param request DescribeDBClusterMigrationRequest
19269
+ * @return DescribeDBClusterMigrationResponse
19270
+ */
17608
19271
  async describeDBClusterMigration(request: DescribeDBClusterMigrationRequest): Promise<DescribeDBClusterMigrationResponse> {
17609
19272
  let runtime = new $Util.RuntimeOptions({ });
17610
19273
  return await this.describeDBClusterMigrationWithOptions(request, runtime);
@@ -17662,6 +19325,10 @@ export default class Client extends OpenApi {
17662
19325
  query["DBClusterId"] = request.DBClusterId;
17663
19326
  }
17664
19327
 
19328
+ if (!Util.isUnset(request.describeType)) {
19329
+ query["DescribeType"] = request.describeType;
19330
+ }
19331
+
17665
19332
  if (!Util.isUnset(request.ownerAccount)) {
17666
19333
  query["OwnerAccount"] = request.ownerAccount;
17667
19334
  }
@@ -17700,6 +19367,24 @@ export default class Client extends OpenApi {
17700
19367
  return await this.describeDBClusterParametersWithOptions(request, runtime);
17701
19368
  }
17702
19369
 
19370
+ /**
19371
+ * * When the monitoring data is collected every 5 seconds:
19372
+ * * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
19373
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19374
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19375
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19376
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19377
+ * * When the monitoring data is collected every 60 seconds:
19378
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19379
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19380
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19381
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19382
+ * > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](~~159557~~) operation to set the data collection interval to every 5 seconds.
19383
+ *
19384
+ * @param request DescribeDBClusterPerformanceRequest
19385
+ * @param runtime runtime options for this request RuntimeOptions
19386
+ * @return DescribeDBClusterPerformanceResponse
19387
+ */
17703
19388
  async describeDBClusterPerformanceWithOptions(request: DescribeDBClusterPerformanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterPerformanceResponse> {
17704
19389
  Util.validateModel(request);
17705
19390
  let query = { };
@@ -17736,6 +19421,23 @@ export default class Client extends OpenApi {
17736
19421
  return $tea.cast<DescribeDBClusterPerformanceResponse>(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
17737
19422
  }
17738
19423
 
19424
+ /**
19425
+ * * When the monitoring data is collected every 5 seconds:
19426
+ * * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
19427
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19428
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19429
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19430
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19431
+ * * When the monitoring data is collected every 60 seconds:
19432
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19433
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19434
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19435
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19436
+ * > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](~~159557~~) operation to set the data collection interval to every 5 seconds.
19437
+ *
19438
+ * @param request DescribeDBClusterPerformanceRequest
19439
+ * @return DescribeDBClusterPerformanceResponse
19440
+ */
17739
19441
  async describeDBClusterPerformance(request: DescribeDBClusterPerformanceRequest): Promise<DescribeDBClusterPerformanceResponse> {
17740
19442
  let runtime = new $Util.RuntimeOptions({ });
17741
19443
  return await this.describeDBClusterPerformanceWithOptions(request, runtime);
@@ -17876,6 +19578,13 @@ export default class Client extends OpenApi {
17876
19578
  return await this.describeDBClusterTDEWithOptions(request, runtime);
17877
19579
  }
17878
19580
 
19581
+ /**
19582
+ * > For more information, see [Engine versions](~~471239~~) and [PolarDB for MySQL](~~172561~~).
19583
+ *
19584
+ * @param request DescribeDBClusterVersionRequest
19585
+ * @param runtime runtime options for this request RuntimeOptions
19586
+ * @return DescribeDBClusterVersionResponse
19587
+ */
17879
19588
  async describeDBClusterVersionWithOptions(request: DescribeDBClusterVersionRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterVersionResponse> {
17880
19589
  Util.validateModel(request);
17881
19590
  let query = { };
@@ -17916,6 +19625,12 @@ export default class Client extends OpenApi {
17916
19625
  return $tea.cast<DescribeDBClusterVersionResponse>(await this.callApi(params, req, runtime), new DescribeDBClusterVersionResponse({}));
17917
19626
  }
17918
19627
 
19628
+ /**
19629
+ * > For more information, see [Engine versions](~~471239~~) and [PolarDB for MySQL](~~172561~~).
19630
+ *
19631
+ * @param request DescribeDBClusterVersionRequest
19632
+ * @return DescribeDBClusterVersionResponse
19633
+ */
17919
19634
  async describeDBClusterVersion(request: DescribeDBClusterVersionRequest): Promise<DescribeDBClusterVersionResponse> {
17920
19635
  let runtime = new $Util.RuntimeOptions({ });
17921
19636
  return await this.describeDBClusterVersionWithOptions(request, runtime);
@@ -18148,6 +19863,13 @@ export default class Client extends OpenApi {
18148
19863
  return await this.describeDBInitializeVariableWithOptions(request, runtime);
18149
19864
  }
18150
19865
 
19866
+ /**
19867
+ * > You can query only the database links that use a PolarDB for Oracle cluster as the source.
19868
+ *
19869
+ * @param request DescribeDBLinksRequest
19870
+ * @param runtime runtime options for this request RuntimeOptions
19871
+ * @return DescribeDBLinksResponse
19872
+ */
18151
19873
  async describeDBLinksWithOptions(request: DescribeDBLinksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBLinksResponse> {
18152
19874
  Util.validateModel(request);
18153
19875
  let query = { };
@@ -18192,11 +19914,35 @@ export default class Client extends OpenApi {
18192
19914
  return $tea.cast<DescribeDBLinksResponse>(await this.callApi(params, req, runtime), new DescribeDBLinksResponse({}));
18193
19915
  }
18194
19916
 
19917
+ /**
19918
+ * > You can query only the database links that use a PolarDB for Oracle cluster as the source.
19919
+ *
19920
+ * @param request DescribeDBLinksRequest
19921
+ * @return DescribeDBLinksResponse
19922
+ */
18195
19923
  async describeDBLinks(request: DescribeDBLinksRequest): Promise<DescribeDBLinksResponse> {
18196
19924
  let runtime = new $Util.RuntimeOptions({ });
18197
19925
  return await this.describeDBLinksWithOptions(request, runtime);
18198
19926
  }
18199
19927
 
19928
+ /**
19929
+ * * When the monitoring data is collected every 5 seconds:
19930
+ * * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
19931
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19932
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19933
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19934
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19935
+ * * When the monitoring data is collected every 60 seconds:
19936
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19937
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19938
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19939
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19940
+ * > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](~~159557~~) operation to set the data collection interval to every 5 seconds.
19941
+ *
19942
+ * @param request DescribeDBNodePerformanceRequest
19943
+ * @param runtime runtime options for this request RuntimeOptions
19944
+ * @return DescribeDBNodePerformanceResponse
19945
+ */
18200
19946
  async describeDBNodePerformanceWithOptions(request: DescribeDBNodePerformanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBNodePerformanceResponse> {
18201
19947
  Util.validateModel(request);
18202
19948
  let query = { };
@@ -18237,6 +19983,23 @@ export default class Client extends OpenApi {
18237
19983
  return $tea.cast<DescribeDBNodePerformanceResponse>(await this.callApi(params, req, runtime), new DescribeDBNodePerformanceResponse({}));
18238
19984
  }
18239
19985
 
19986
+ /**
19987
+ * * When the monitoring data is collected every 5 seconds:
19988
+ * * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
19989
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19990
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19991
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19992
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19993
+ * * When the monitoring data is collected every 60 seconds:
19994
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19995
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19996
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19997
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19998
+ * > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](~~159557~~) operation to set the data collection interval to every 5 seconds.
19999
+ *
20000
+ * @param request DescribeDBNodePerformanceRequest
20001
+ * @return DescribeDBNodePerformanceResponse
20002
+ */
18240
20003
  async describeDBNodePerformance(request: DescribeDBNodePerformanceRequest): Promise<DescribeDBNodePerformanceResponse> {
18241
20004
  let runtime = new $Util.RuntimeOptions({ });
18242
20005
  return await this.describeDBNodePerformanceWithOptions(request, runtime);
@@ -18291,6 +20054,13 @@ export default class Client extends OpenApi {
18291
20054
  return await this.describeDBNodesParametersWithOptions(request, runtime);
18292
20055
  }
18293
20056
 
20057
+ /**
20058
+ * > This operation is applicable only to PolarDB for MySQL clusters.
20059
+ *
20060
+ * @param request DescribeDBProxyPerformanceRequest
20061
+ * @param runtime runtime options for this request RuntimeOptions
20062
+ * @return DescribeDBProxyPerformanceResponse
20063
+ */
18294
20064
  async describeDBProxyPerformanceWithOptions(request: DescribeDBProxyPerformanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBProxyPerformanceResponse> {
18295
20065
  Util.validateModel(request);
18296
20066
  let query = { };
@@ -18327,6 +20097,12 @@ export default class Client extends OpenApi {
18327
20097
  return $tea.cast<DescribeDBProxyPerformanceResponse>(await this.callApi(params, req, runtime), new DescribeDBProxyPerformanceResponse({}));
18328
20098
  }
18329
20099
 
20100
+ /**
20101
+ * > This operation is applicable only to PolarDB for MySQL clusters.
20102
+ *
20103
+ * @param request DescribeDBProxyPerformanceRequest
20104
+ * @return DescribeDBProxyPerformanceResponse
20105
+ */
18330
20106
  async describeDBProxyPerformance(request: DescribeDBProxyPerformanceRequest): Promise<DescribeDBProxyPerformanceResponse> {
18331
20107
  let runtime = new $Util.RuntimeOptions({ });
18332
20108
  return await this.describeDBProxyPerformanceWithOptions(request, runtime);
@@ -18389,6 +20165,14 @@ export default class Client extends OpenApi {
18389
20165
  return await this.describeDatabasesWithOptions(request, runtime);
18390
20166
  }
18391
20167
 
20168
+ /**
20169
+ * Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
20170
+ * > You can call the [DescribeDBClusterAttribute](~~98181~~) operation to query the cluster status.
20171
+ *
20172
+ * @param request DescribeDetachedBackupsRequest
20173
+ * @param runtime runtime options for this request RuntimeOptions
20174
+ * @return DescribeDetachedBackupsResponse
20175
+ */
18392
20176
  async describeDetachedBackupsWithOptions(request: DescribeDetachedBackupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDetachedBackupsResponse> {
18393
20177
  Util.validateModel(request);
18394
20178
  let query = { };
@@ -18461,6 +20245,13 @@ export default class Client extends OpenApi {
18461
20245
  return $tea.cast<DescribeDetachedBackupsResponse>(await this.callApi(params, req, runtime), new DescribeDetachedBackupsResponse({}));
18462
20246
  }
18463
20247
 
20248
+ /**
20249
+ * Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
20250
+ * > You can call the [DescribeDBClusterAttribute](~~98181~~) operation to query the cluster status.
20251
+ *
20252
+ * @param request DescribeDetachedBackupsRequest
20253
+ * @return DescribeDetachedBackupsResponse
20254
+ */
18464
20255
  async describeDetachedBackups(request: DescribeDetachedBackupsRequest): Promise<DescribeDetachedBackupsResponse> {
18465
20256
  let runtime = new $Util.RuntimeOptions({ });
18466
20257
  return await this.describeDetachedBackupsWithOptions(request, runtime);
@@ -18526,6 +20317,10 @@ export default class Client extends OpenApi {
18526
20317
  query["DBClusterId"] = request.DBClusterId;
18527
20318
  }
18528
20319
 
20320
+ if (!Util.isUnset(request.filterRegion)) {
20321
+ query["FilterRegion"] = request.filterRegion;
20322
+ }
20323
+
18529
20324
  if (!Util.isUnset(request.GDNDescription)) {
18530
20325
  query["GDNDescription"] = request.GDNDescription;
18531
20326
  }
@@ -18849,6 +20644,14 @@ export default class Client extends OpenApi {
18849
20644
  return await this.describeMetaListWithOptions(request, runtime);
18850
20645
  }
18851
20646
 
20647
+ /**
20648
+ * You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
20649
+ * > This parameter is valid only for a PolarDB for MySQL cluster.
20650
+ *
20651
+ * @param request DescribeParameterGroupRequest
20652
+ * @param runtime runtime options for this request RuntimeOptions
20653
+ * @return DescribeParameterGroupResponse
20654
+ */
18852
20655
  async describeParameterGroupWithOptions(request: DescribeParameterGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeParameterGroupResponse> {
18853
20656
  Util.validateModel(request);
18854
20657
  let query = { };
@@ -18897,11 +20700,26 @@ export default class Client extends OpenApi {
18897
20700
  return $tea.cast<DescribeParameterGroupResponse>(await this.callApi(params, req, runtime), new DescribeParameterGroupResponse({}));
18898
20701
  }
18899
20702
 
20703
+ /**
20704
+ * You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
20705
+ * > This parameter is valid only for a PolarDB for MySQL cluster.
20706
+ *
20707
+ * @param request DescribeParameterGroupRequest
20708
+ * @return DescribeParameterGroupResponse
20709
+ */
18900
20710
  async describeParameterGroup(request: DescribeParameterGroupRequest): Promise<DescribeParameterGroupResponse> {
18901
20711
  let runtime = new $Util.RuntimeOptions({ });
18902
20712
  return await this.describeParameterGroupWithOptions(request, runtime);
18903
20713
  }
18904
20714
 
20715
+ /**
20716
+ * You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
20717
+ * > This operation is applicable only to PolarDB for MySQL clusters.
20718
+ *
20719
+ * @param request DescribeParameterGroupsRequest
20720
+ * @param runtime runtime options for this request RuntimeOptions
20721
+ * @return DescribeParameterGroupsResponse
20722
+ */
18905
20723
  async describeParameterGroupsWithOptions(request: DescribeParameterGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeParameterGroupsResponse> {
18906
20724
  Util.validateModel(request);
18907
20725
  let query = { };
@@ -18954,6 +20772,13 @@ export default class Client extends OpenApi {
18954
20772
  return $tea.cast<DescribeParameterGroupsResponse>(await this.callApi(params, req, runtime), new DescribeParameterGroupsResponse({}));
18955
20773
  }
18956
20774
 
20775
+ /**
20776
+ * You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
20777
+ * > This operation is applicable only to PolarDB for MySQL clusters.
20778
+ *
20779
+ * @param request DescribeParameterGroupsRequest
20780
+ * @return DescribeParameterGroupsResponse
20781
+ */
18957
20782
  async describeParameterGroups(request: DescribeParameterGroupsRequest): Promise<DescribeParameterGroupsResponse> {
18958
20783
  let runtime = new $Util.RuntimeOptions({ });
18959
20784
  return await this.describeParameterGroupsWithOptions(request, runtime);
@@ -19293,6 +21118,13 @@ export default class Client extends OpenApi {
19293
21118
  return await this.describeScheduleTasksWithOptions(request, runtime);
19294
21119
  }
19295
21120
 
21121
+ /**
21122
+ * > This operation is applicable only to PolarDB for MySQL clusters.
21123
+ *
21124
+ * @param request DescribeSlowLogRecordsRequest
21125
+ * @param runtime runtime options for this request RuntimeOptions
21126
+ * @return DescribeSlowLogRecordsResponse
21127
+ */
19296
21128
  async describeSlowLogRecordsWithOptions(request: DescribeSlowLogRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlowLogRecordsResponse> {
19297
21129
  Util.validateModel(request);
19298
21130
  let query = { };
@@ -19361,11 +21193,24 @@ export default class Client extends OpenApi {
19361
21193
  return $tea.cast<DescribeSlowLogRecordsResponse>(await this.callApi(params, req, runtime), new DescribeSlowLogRecordsResponse({}));
19362
21194
  }
19363
21195
 
21196
+ /**
21197
+ * > This operation is applicable only to PolarDB for MySQL clusters.
21198
+ *
21199
+ * @param request DescribeSlowLogRecordsRequest
21200
+ * @return DescribeSlowLogRecordsResponse
21201
+ */
19364
21202
  async describeSlowLogRecords(request: DescribeSlowLogRecordsRequest): Promise<DescribeSlowLogRecordsResponse> {
19365
21203
  let runtime = new $Util.RuntimeOptions({ });
19366
21204
  return await this.describeSlowLogRecordsWithOptions(request, runtime);
19367
21205
  }
19368
21206
 
21207
+ /**
21208
+ * > This operation is applicable only to PolarDB for MySQL clusters.
21209
+ *
21210
+ * @param request DescribeSlowLogsRequest
21211
+ * @param runtime runtime options for this request RuntimeOptions
21212
+ * @return DescribeSlowLogsResponse
21213
+ */
19369
21214
  async describeSlowLogsWithOptions(request: DescribeSlowLogsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlowLogsResponse> {
19370
21215
  Util.validateModel(request);
19371
21216
  let query = { };
@@ -19430,14 +21275,40 @@ export default class Client extends OpenApi {
19430
21275
  return $tea.cast<DescribeSlowLogsResponse>(await this.callApi(params, req, runtime), new DescribeSlowLogsResponse({}));
19431
21276
  }
19432
21277
 
21278
+ /**
21279
+ * > This operation is applicable only to PolarDB for MySQL clusters.
21280
+ *
21281
+ * @param request DescribeSlowLogsRequest
21282
+ * @return DescribeSlowLogsResponse
21283
+ */
19433
21284
  async describeSlowLogs(request: DescribeSlowLogsRequest): Promise<DescribeSlowLogsResponse> {
19434
21285
  let runtime = new $Util.RuntimeOptions({ });
19435
21286
  return await this.describeSlowLogsWithOptions(request, runtime);
19436
21287
  }
19437
21288
 
19438
- async describeStoragePlanWithOptions(request: DescribeStoragePlanRequest, runtime: $Util.RuntimeOptions): Promise<DescribeStoragePlanResponse> {
21289
+ /**
21290
+ * * You can call this operation to view the details of a task that is generated by a specific API operation or in the console. The system calls the specific API operation when you perform an operation in the console. For example, you can view the details of the task when you call the [CreateDBCluster](~~98169~~) operation or [create a cluster](~~58769~~) in the console.
21291
+ * * You can view the details of tasks that are generated only when you call the [CreateDBCluster](~~98169~~) operation to create a cluster and `CreationOption` is not set to `CreateGdnStandby`.
21292
+ *
21293
+ * @param request DescribeTasksRequest
21294
+ * @param runtime runtime options for this request RuntimeOptions
21295
+ * @return DescribeTasksResponse
21296
+ */
21297
+ async describeTasksWithOptions(request: DescribeTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTasksResponse> {
19439
21298
  Util.validateModel(request);
19440
21299
  let query = { };
21300
+ if (!Util.isUnset(request.DBClusterId)) {
21301
+ query["DBClusterId"] = request.DBClusterId;
21302
+ }
21303
+
21304
+ if (!Util.isUnset(request.DBNodeId)) {
21305
+ query["DBNodeId"] = request.DBNodeId;
21306
+ }
21307
+
21308
+ if (!Util.isUnset(request.endTime)) {
21309
+ query["EndTime"] = request.endTime;
21310
+ }
21311
+
19441
21312
  if (!Util.isUnset(request.ownerAccount)) {
19442
21313
  query["OwnerAccount"] = request.ownerAccount;
19443
21314
  }
@@ -19454,10 +21325,6 @@ export default class Client extends OpenApi {
19454
21325
  query["PageSize"] = request.pageSize;
19455
21326
  }
19456
21327
 
19457
- if (!Util.isUnset(request.resourceGroupId)) {
19458
- query["ResourceGroupId"] = request.resourceGroupId;
19459
- }
19460
-
19461
21328
  if (!Util.isUnset(request.resourceOwnerAccount)) {
19462
21329
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19463
21330
  }
@@ -19466,11 +21333,19 @@ export default class Client extends OpenApi {
19466
21333
  query["ResourceOwnerId"] = request.resourceOwnerId;
19467
21334
  }
19468
21335
 
21336
+ if (!Util.isUnset(request.startTime)) {
21337
+ query["StartTime"] = request.startTime;
21338
+ }
21339
+
21340
+ if (!Util.isUnset(request.status)) {
21341
+ query["Status"] = request.status;
21342
+ }
21343
+
19469
21344
  let req = new $OpenApi.OpenApiRequest({
19470
21345
  query: OpenApiUtil.query(query),
19471
21346
  });
19472
21347
  let params = new $OpenApi.Params({
19473
- action: "DescribeStoragePlan",
21348
+ action: "DescribeTasks",
19474
21349
  version: "2017-08-01",
19475
21350
  protocol: "HTTPS",
19476
21351
  pathname: "/",
@@ -19480,27 +21355,79 @@ export default class Client extends OpenApi {
19480
21355
  reqBodyType: "formData",
19481
21356
  bodyType: "json",
19482
21357
  });
19483
- return $tea.cast<DescribeStoragePlanResponse>(await this.callApi(params, req, runtime), new DescribeStoragePlanResponse({}));
21358
+ return $tea.cast<DescribeTasksResponse>(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
19484
21359
  }
19485
21360
 
19486
- async describeStoragePlan(request: DescribeStoragePlanRequest): Promise<DescribeStoragePlanResponse> {
21361
+ /**
21362
+ * * You can call this operation to view the details of a task that is generated by a specific API operation or in the console. The system calls the specific API operation when you perform an operation in the console. For example, you can view the details of the task when you call the [CreateDBCluster](~~98169~~) operation or [create a cluster](~~58769~~) in the console.
21363
+ * * You can view the details of tasks that are generated only when you call the [CreateDBCluster](~~98169~~) operation to create a cluster and `CreationOption` is not set to `CreateGdnStandby`.
21364
+ *
21365
+ * @param request DescribeTasksRequest
21366
+ * @return DescribeTasksResponse
21367
+ */
21368
+ async describeTasks(request: DescribeTasksRequest): Promise<DescribeTasksResponse> {
19487
21369
  let runtime = new $Util.RuntimeOptions({ });
19488
- return await this.describeStoragePlanWithOptions(request, runtime);
21370
+ return await this.describeTasksWithOptions(request, runtime);
19489
21371
  }
19490
21372
 
19491
- async describeTasksWithOptions(request: DescribeTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTasksResponse> {
21373
+ async describeUserEncryptionKeyListWithOptions(request: DescribeUserEncryptionKeyListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserEncryptionKeyListResponse> {
19492
21374
  Util.validateModel(request);
19493
21375
  let query = { };
19494
21376
  if (!Util.isUnset(request.DBClusterId)) {
19495
21377
  query["DBClusterId"] = request.DBClusterId;
19496
21378
  }
19497
21379
 
19498
- if (!Util.isUnset(request.DBNodeId)) {
19499
- query["DBNodeId"] = request.DBNodeId;
21380
+ if (!Util.isUnset(request.ownerAccount)) {
21381
+ query["OwnerAccount"] = request.ownerAccount;
19500
21382
  }
19501
21383
 
19502
- if (!Util.isUnset(request.endTime)) {
19503
- query["EndTime"] = request.endTime;
21384
+ if (!Util.isUnset(request.ownerId)) {
21385
+ query["OwnerId"] = request.ownerId;
21386
+ }
21387
+
21388
+ if (!Util.isUnset(request.regionId)) {
21389
+ query["RegionId"] = request.regionId;
21390
+ }
21391
+
21392
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
21393
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
21394
+ }
21395
+
21396
+ if (!Util.isUnset(request.resourceOwnerId)) {
21397
+ query["ResourceOwnerId"] = request.resourceOwnerId;
21398
+ }
21399
+
21400
+ if (!Util.isUnset(request.TDERegion)) {
21401
+ query["TDERegion"] = request.TDERegion;
21402
+ }
21403
+
21404
+ let req = new $OpenApi.OpenApiRequest({
21405
+ query: OpenApiUtil.query(query),
21406
+ });
21407
+ let params = new $OpenApi.Params({
21408
+ action: "DescribeUserEncryptionKeyList",
21409
+ version: "2017-08-01",
21410
+ protocol: "HTTPS",
21411
+ pathname: "/",
21412
+ method: "POST",
21413
+ authType: "AK",
21414
+ style: "RPC",
21415
+ reqBodyType: "formData",
21416
+ bodyType: "json",
21417
+ });
21418
+ return $tea.cast<DescribeUserEncryptionKeyListResponse>(await this.callApi(params, req, runtime), new DescribeUserEncryptionKeyListResponse({}));
21419
+ }
21420
+
21421
+ async describeUserEncryptionKeyList(request: DescribeUserEncryptionKeyListRequest): Promise<DescribeUserEncryptionKeyListResponse> {
21422
+ let runtime = new $Util.RuntimeOptions({ });
21423
+ return await this.describeUserEncryptionKeyListWithOptions(request, runtime);
21424
+ }
21425
+
21426
+ async describeVSwitchesWithOptions(request: DescribeVSwitchesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVSwitchesResponse> {
21427
+ Util.validateModel(request);
21428
+ let query = { };
21429
+ if (!Util.isUnset(request.dedicatedHostGroupId)) {
21430
+ query["DedicatedHostGroupId"] = request.dedicatedHostGroupId;
19504
21431
  }
19505
21432
 
19506
21433
  if (!Util.isUnset(request.ownerAccount)) {
@@ -19519,6 +21446,14 @@ export default class Client extends OpenApi {
19519
21446
  query["PageSize"] = request.pageSize;
19520
21447
  }
19521
21448
 
21449
+ if (!Util.isUnset(request.regionId)) {
21450
+ query["RegionId"] = request.regionId;
21451
+ }
21452
+
21453
+ if (!Util.isUnset(request.resourceGroupId)) {
21454
+ query["ResourceGroupId"] = request.resourceGroupId;
21455
+ }
21456
+
19522
21457
  if (!Util.isUnset(request.resourceOwnerAccount)) {
19523
21458
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19524
21459
  }
@@ -19527,19 +21462,23 @@ export default class Client extends OpenApi {
19527
21462
  query["ResourceOwnerId"] = request.resourceOwnerId;
19528
21463
  }
19529
21464
 
19530
- if (!Util.isUnset(request.startTime)) {
19531
- query["StartTime"] = request.startTime;
21465
+ if (!Util.isUnset(request.securityToken)) {
21466
+ query["SecurityToken"] = request.securityToken;
19532
21467
  }
19533
21468
 
19534
- if (!Util.isUnset(request.status)) {
19535
- query["Status"] = request.status;
21469
+ if (!Util.isUnset(request.vpcId)) {
21470
+ query["VpcId"] = request.vpcId;
21471
+ }
21472
+
21473
+ if (!Util.isUnset(request.zoneId)) {
21474
+ query["ZoneId"] = request.zoneId;
19536
21475
  }
19537
21476
 
19538
21477
  let req = new $OpenApi.OpenApiRequest({
19539
21478
  query: OpenApiUtil.query(query),
19540
21479
  });
19541
21480
  let params = new $OpenApi.Params({
19542
- action: "DescribeTasks",
21481
+ action: "DescribeVSwitches",
19543
21482
  version: "2017-08-01",
19544
21483
  protocol: "HTTPS",
19545
21484
  pathname: "/",
@@ -19549,12 +21488,12 @@ export default class Client extends OpenApi {
19549
21488
  reqBodyType: "formData",
19550
21489
  bodyType: "json",
19551
21490
  });
19552
- return $tea.cast<DescribeTasksResponse>(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
21491
+ return $tea.cast<DescribeVSwitchesResponse>(await this.callApi(params, req, runtime), new DescribeVSwitchesResponse({}));
19553
21492
  }
19554
21493
 
19555
- async describeTasks(request: DescribeTasksRequest): Promise<DescribeTasksResponse> {
21494
+ async describeVSwitches(request: DescribeVSwitchesRequest): Promise<DescribeVSwitchesResponse> {
19556
21495
  let runtime = new $Util.RuntimeOptions({ });
19557
- return await this.describeTasksWithOptions(request, runtime);
21496
+ return await this.describeVSwitchesWithOptions(request, runtime);
19558
21497
  }
19559
21498
 
19560
21499
  async enableFirewallRulesWithOptions(request: EnableFirewallRulesRequest, runtime: $Util.RuntimeOptions): Promise<EnableFirewallRulesResponse> {
@@ -19744,6 +21683,17 @@ export default class Client extends OpenApi {
19744
21683
  return await this.failoverDBClusterWithOptions(request, runtime);
19745
21684
  }
19746
21685
 
21686
+ /**
21687
+ * > * An account can be authorized to access one or more databases.
21688
+ * > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
21689
+ * > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
21690
+ * > * You can call this operation only on a PolarDB for MySQL cluster.
21691
+ * > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
21692
+ *
21693
+ * @param request GrantAccountPrivilegeRequest
21694
+ * @param runtime runtime options for this request RuntimeOptions
21695
+ * @return GrantAccountPrivilegeResponse
21696
+ */
19747
21697
  async grantAccountPrivilegeWithOptions(request: GrantAccountPrivilegeRequest, runtime: $Util.RuntimeOptions): Promise<GrantAccountPrivilegeResponse> {
19748
21698
  Util.validateModel(request);
19749
21699
  let query = { };
@@ -19775,15 +21725,86 @@ export default class Client extends OpenApi {
19775
21725
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19776
21726
  }
19777
21727
 
19778
- if (!Util.isUnset(request.resourceOwnerId)) {
19779
- query["ResourceOwnerId"] = request.resourceOwnerId;
21728
+ if (!Util.isUnset(request.resourceOwnerId)) {
21729
+ query["ResourceOwnerId"] = request.resourceOwnerId;
21730
+ }
21731
+
21732
+ let req = new $OpenApi.OpenApiRequest({
21733
+ query: OpenApiUtil.query(query),
21734
+ });
21735
+ let params = new $OpenApi.Params({
21736
+ action: "GrantAccountPrivilege",
21737
+ version: "2017-08-01",
21738
+ protocol: "HTTPS",
21739
+ pathname: "/",
21740
+ method: "POST",
21741
+ authType: "AK",
21742
+ style: "RPC",
21743
+ reqBodyType: "formData",
21744
+ bodyType: "json",
21745
+ });
21746
+ return $tea.cast<GrantAccountPrivilegeResponse>(await this.callApi(params, req, runtime), new GrantAccountPrivilegeResponse({}));
21747
+ }
21748
+
21749
+ /**
21750
+ * > * An account can be authorized to access one or more databases.
21751
+ * > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
21752
+ * > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
21753
+ * > * You can call this operation only on a PolarDB for MySQL cluster.
21754
+ * > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
21755
+ *
21756
+ * @param request GrantAccountPrivilegeRequest
21757
+ * @return GrantAccountPrivilegeResponse
21758
+ */
21759
+ async grantAccountPrivilege(request: GrantAccountPrivilegeRequest): Promise<GrantAccountPrivilegeResponse> {
21760
+ let runtime = new $Util.RuntimeOptions({ });
21761
+ return await this.grantAccountPrivilegeWithOptions(request, runtime);
21762
+ }
21763
+
21764
+ async listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
21765
+ Util.validateModel(request);
21766
+ let query = { };
21767
+ if (!Util.isUnset(request.nextToken)) {
21768
+ query["NextToken"] = request.nextToken;
21769
+ }
21770
+
21771
+ if (!Util.isUnset(request.ownerAccount)) {
21772
+ query["OwnerAccount"] = request.ownerAccount;
21773
+ }
21774
+
21775
+ if (!Util.isUnset(request.ownerId)) {
21776
+ query["OwnerId"] = request.ownerId;
21777
+ }
21778
+
21779
+ if (!Util.isUnset(request.regionId)) {
21780
+ query["RegionId"] = request.regionId;
21781
+ }
21782
+
21783
+ if (!Util.isUnset(request.resourceId)) {
21784
+ query["ResourceId"] = request.resourceId;
21785
+ }
21786
+
21787
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
21788
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
21789
+ }
21790
+
21791
+ if (!Util.isUnset(request.resourceOwnerId)) {
21792
+ query["ResourceOwnerId"] = request.resourceOwnerId;
21793
+ }
21794
+
21795
+ if (!Util.isUnset(request.resourceType)) {
21796
+ query["ResourceType"] = request.resourceType;
21797
+ }
21798
+
21799
+ if (!Util.isUnset(request.tag)) {
21800
+ query["Tag"] = request.tag;
19780
21801
  }
19781
21802
 
19782
21803
  let req = new $OpenApi.OpenApiRequest({
19783
21804
  query: OpenApiUtil.query(query),
19784
21805
  });
19785
21806
  let params = new $OpenApi.Params({
19786
- action: "GrantAccountPrivilege",
21807
+ action: "ListTagResources",
19787
21808
  version: "2017-08-01",
19788
21809
  protocol: "HTTPS",
19789
21810
  pathname: "/",
@@ -19793,19 +21814,19 @@ export default class Client extends OpenApi {
19793
21814
  reqBodyType: "formData",
19794
21815
  bodyType: "json",
19795
21816
  });
19796
- return $tea.cast<GrantAccountPrivilegeResponse>(await this.callApi(params, req, runtime), new GrantAccountPrivilegeResponse({}));
21817
+ return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
19797
21818
  }
19798
21819
 
19799
- async grantAccountPrivilege(request: GrantAccountPrivilegeRequest): Promise<GrantAccountPrivilegeResponse> {
21820
+ async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
19800
21821
  let runtime = new $Util.RuntimeOptions({ });
19801
- return await this.grantAccountPrivilegeWithOptions(request, runtime);
21822
+ return await this.listTagResourcesWithOptions(request, runtime);
19802
21823
  }
19803
21824
 
19804
- async listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
21825
+ async manuallyStartDBClusterWithOptions(request: ManuallyStartDBClusterRequest, runtime: $Util.RuntimeOptions): Promise<ManuallyStartDBClusterResponse> {
19805
21826
  Util.validateModel(request);
19806
21827
  let query = { };
19807
- if (!Util.isUnset(request.nextToken)) {
19808
- query["NextToken"] = request.nextToken;
21828
+ if (!Util.isUnset(request.DBClusterId)) {
21829
+ query["DBClusterId"] = request.DBClusterId;
19809
21830
  }
19810
21831
 
19811
21832
  if (!Util.isUnset(request.ownerAccount)) {
@@ -19820,10 +21841,6 @@ export default class Client extends OpenApi {
19820
21841
  query["RegionId"] = request.regionId;
19821
21842
  }
19822
21843
 
19823
- if (!Util.isUnset(request.resourceId)) {
19824
- query["ResourceId"] = request.resourceId;
19825
- }
19826
-
19827
21844
  if (!Util.isUnset(request.resourceOwnerAccount)) {
19828
21845
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19829
21846
  }
@@ -19832,19 +21849,11 @@ export default class Client extends OpenApi {
19832
21849
  query["ResourceOwnerId"] = request.resourceOwnerId;
19833
21850
  }
19834
21851
 
19835
- if (!Util.isUnset(request.resourceType)) {
19836
- query["ResourceType"] = request.resourceType;
19837
- }
19838
-
19839
- if (!Util.isUnset(request.tag)) {
19840
- query["Tag"] = request.tag;
19841
- }
19842
-
19843
21852
  let req = new $OpenApi.OpenApiRequest({
19844
21853
  query: OpenApiUtil.query(query),
19845
21854
  });
19846
21855
  let params = new $OpenApi.Params({
19847
- action: "ListTagResources",
21856
+ action: "ManuallyStartDBCluster",
19848
21857
  version: "2017-08-01",
19849
21858
  protocol: "HTTPS",
19850
21859
  pathname: "/",
@@ -19854,12 +21863,12 @@ export default class Client extends OpenApi {
19854
21863
  reqBodyType: "formData",
19855
21864
  bodyType: "json",
19856
21865
  });
19857
- return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
21866
+ return $tea.cast<ManuallyStartDBClusterResponse>(await this.callApi(params, req, runtime), new ManuallyStartDBClusterResponse({}));
19858
21867
  }
19859
21868
 
19860
- async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
21869
+ async manuallyStartDBCluster(request: ManuallyStartDBClusterRequest): Promise<ManuallyStartDBClusterResponse> {
19861
21870
  let runtime = new $Util.RuntimeOptions({ });
19862
- return await this.listTagResourcesWithOptions(request, runtime);
21871
+ return await this.manuallyStartDBClusterWithOptions(request, runtime);
19863
21872
  }
19864
21873
 
19865
21874
  async modifyAccountDescriptionWithOptions(request: ModifyAccountDescriptionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAccountDescriptionResponse> {
@@ -20033,6 +22042,13 @@ export default class Client extends OpenApi {
20033
22042
  return await this.modifyAutoRenewAttributeWithOptions(request, runtime);
20034
22043
  }
20035
22044
 
22045
+ /**
22046
+ * > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](~~280422~~).
22047
+ *
22048
+ * @param request ModifyBackupPolicyRequest
22049
+ * @param runtime runtime options for this request RuntimeOptions
22050
+ * @return ModifyBackupPolicyResponse
22051
+ */
20036
22052
  async modifyBackupPolicyWithOptions(request: ModifyBackupPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ModifyBackupPolicyResponse> {
20037
22053
  Util.validateModel(request);
20038
22054
  let query = { };
@@ -20121,11 +22137,82 @@ export default class Client extends OpenApi {
20121
22137
  return $tea.cast<ModifyBackupPolicyResponse>(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
20122
22138
  }
20123
22139
 
22140
+ /**
22141
+ * > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](~~280422~~).
22142
+ *
22143
+ * @param request ModifyBackupPolicyRequest
22144
+ * @return ModifyBackupPolicyResponse
22145
+ */
20124
22146
  async modifyBackupPolicy(request: ModifyBackupPolicyRequest): Promise<ModifyBackupPolicyResponse> {
20125
22147
  let runtime = new $Util.RuntimeOptions({ });
20126
22148
  return await this.modifyBackupPolicyWithOptions(request, runtime);
20127
22149
  }
20128
22150
 
22151
+ async modifyDBClusterWithOptions(request: ModifyDBClusterRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterResponse> {
22152
+ Util.validateModel(request);
22153
+ let query = { };
22154
+ if (!Util.isUnset(request.DBClusterId)) {
22155
+ query["DBClusterId"] = request.DBClusterId;
22156
+ }
22157
+
22158
+ if (!Util.isUnset(request.dataSyncMode)) {
22159
+ query["DataSyncMode"] = request.dataSyncMode;
22160
+ }
22161
+
22162
+ if (!Util.isUnset(request.faultSimulateMode)) {
22163
+ query["FaultSimulateMode"] = request.faultSimulateMode;
22164
+ }
22165
+
22166
+ if (!Util.isUnset(request.ownerAccount)) {
22167
+ query["OwnerAccount"] = request.ownerAccount;
22168
+ }
22169
+
22170
+ if (!Util.isUnset(request.ownerId)) {
22171
+ query["OwnerId"] = request.ownerId;
22172
+ }
22173
+
22174
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
22175
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
22176
+ }
22177
+
22178
+ if (!Util.isUnset(request.resourceOwnerId)) {
22179
+ query["ResourceOwnerId"] = request.resourceOwnerId;
22180
+ }
22181
+
22182
+ if (!Util.isUnset(request.standbyHAMode)) {
22183
+ query["StandbyHAMode"] = request.standbyHAMode;
22184
+ }
22185
+
22186
+ if (!Util.isUnset(request.storageAutoScale)) {
22187
+ query["StorageAutoScale"] = request.storageAutoScale;
22188
+ }
22189
+
22190
+ if (!Util.isUnset(request.storageUpperBound)) {
22191
+ query["StorageUpperBound"] = request.storageUpperBound;
22192
+ }
22193
+
22194
+ let req = new $OpenApi.OpenApiRequest({
22195
+ query: OpenApiUtil.query(query),
22196
+ });
22197
+ let params = new $OpenApi.Params({
22198
+ action: "ModifyDBCluster",
22199
+ version: "2017-08-01",
22200
+ protocol: "HTTPS",
22201
+ pathname: "/",
22202
+ method: "POST",
22203
+ authType: "AK",
22204
+ style: "RPC",
22205
+ reqBodyType: "formData",
22206
+ bodyType: "json",
22207
+ });
22208
+ return $tea.cast<ModifyDBClusterResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
22209
+ }
22210
+
22211
+ async modifyDBCluster(request: ModifyDBClusterRequest): Promise<ModifyDBClusterResponse> {
22212
+ let runtime = new $Util.RuntimeOptions({ });
22213
+ return await this.modifyDBClusterWithOptions(request, runtime);
22214
+ }
22215
+
20129
22216
  async modifyDBClusterAccessWhitelistWithOptions(request: ModifyDBClusterAccessWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterAccessWhitelistResponse> {
20130
22217
  Util.validateModel(request);
20131
22218
  let query = { };
@@ -20480,6 +22567,13 @@ export default class Client extends OpenApi {
20480
22567
  return await this.modifyDBClusterEndpointWithOptions(request, runtime);
20481
22568
  }
20482
22569
 
22570
+ /**
22571
+ * > We recommend that you set the routine maintenance window to off-peak hours. Alibaba Cloud maintains your cluster within the specified maintenance window to minimize the negative impacts on your business.
22572
+ *
22573
+ * @param request ModifyDBClusterMaintainTimeRequest
22574
+ * @param runtime runtime options for this request RuntimeOptions
22575
+ * @return ModifyDBClusterMaintainTimeResponse
22576
+ */
20483
22577
  async modifyDBClusterMaintainTimeWithOptions(request: ModifyDBClusterMaintainTimeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterMaintainTimeResponse> {
20484
22578
  Util.validateModel(request);
20485
22579
  let query = { };
@@ -20524,11 +22618,26 @@ export default class Client extends OpenApi {
20524
22618
  return $tea.cast<ModifyDBClusterMaintainTimeResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
20525
22619
  }
20526
22620
 
22621
+ /**
22622
+ * > We recommend that you set the routine maintenance window to off-peak hours. Alibaba Cloud maintains your cluster within the specified maintenance window to minimize the negative impacts on your business.
22623
+ *
22624
+ * @param request ModifyDBClusterMaintainTimeRequest
22625
+ * @return ModifyDBClusterMaintainTimeResponse
22626
+ */
20527
22627
  async modifyDBClusterMaintainTime(request: ModifyDBClusterMaintainTimeRequest): Promise<ModifyDBClusterMaintainTimeResponse> {
20528
22628
  let runtime = new $Util.RuntimeOptions({ });
20529
22629
  return await this.modifyDBClusterMaintainTimeWithOptions(request, runtime);
20530
22630
  }
20531
22631
 
22632
+ /**
22633
+ * * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
22634
+ * * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
22635
+ * > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](~~98169~~) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](~~121582~~).
22636
+ *
22637
+ * @param request ModifyDBClusterMigrationRequest
22638
+ * @param runtime runtime options for this request RuntimeOptions
22639
+ * @return ModifyDBClusterMigrationResponse
22640
+ */
20532
22641
  async modifyDBClusterMigrationWithOptions(request: ModifyDBClusterMigrationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterMigrationResponse> {
20533
22642
  Util.validateModel(request);
20534
22643
  let query = { };
@@ -20589,11 +22698,36 @@ export default class Client extends OpenApi {
20589
22698
  return $tea.cast<ModifyDBClusterMigrationResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterMigrationResponse({}));
20590
22699
  }
20591
22700
 
22701
+ /**
22702
+ * * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
22703
+ * * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
22704
+ * > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](~~98169~~) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](~~121582~~).
22705
+ *
22706
+ * @param request ModifyDBClusterMigrationRequest
22707
+ * @return ModifyDBClusterMigrationResponse
22708
+ */
20592
22709
  async modifyDBClusterMigration(request: ModifyDBClusterMigrationRequest): Promise<ModifyDBClusterMigrationResponse> {
20593
22710
  let runtime = new $Util.RuntimeOptions({ });
20594
22711
  return await this.modifyDBClusterMigrationWithOptions(request, runtime);
20595
22712
  }
20596
22713
 
22714
+ /**
22715
+ * * When the monitoring data is collected every 5 seconds:
22716
+ * * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
22717
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
22718
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
22719
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
22720
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
22721
+ * * When the monitoring data is collected every 60 seconds:
22722
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
22723
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
22724
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
22725
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
22726
+ *
22727
+ * @param request ModifyDBClusterMonitorRequest
22728
+ * @param runtime runtime options for this request RuntimeOptions
22729
+ * @return ModifyDBClusterMonitorResponse
22730
+ */
20597
22731
  async modifyDBClusterMonitorWithOptions(request: ModifyDBClusterMonitorRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterMonitorResponse> {
20598
22732
  Util.validateModel(request);
20599
22733
  let query = { };
@@ -20638,11 +22772,36 @@ export default class Client extends OpenApi {
20638
22772
  return $tea.cast<ModifyDBClusterMonitorResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterMonitorResponse({}));
20639
22773
  }
20640
22774
 
22775
+ /**
22776
+ * * When the monitoring data is collected every 5 seconds:
22777
+ * * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
22778
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
22779
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
22780
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
22781
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
22782
+ * * When the monitoring data is collected every 60 seconds:
22783
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
22784
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
22785
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
22786
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
22787
+ *
22788
+ * @param request ModifyDBClusterMonitorRequest
22789
+ * @return ModifyDBClusterMonitorResponse
22790
+ */
20641
22791
  async modifyDBClusterMonitor(request: ModifyDBClusterMonitorRequest): Promise<ModifyDBClusterMonitorResponse> {
20642
22792
  let runtime = new $Util.RuntimeOptions({ });
20643
22793
  return await this.modifyDBClusterMonitorWithOptions(request, runtime);
20644
22794
  }
20645
22795
 
22796
+ /**
22797
+ * PolarDB supports the parameter template feature to centrally manage clusters. You can configure a number of parameters at a time by using a parameter template and apply the template to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
22798
+ * **
22799
+ * **Only PolarDB for MySQL clusters support parameter templates.
22800
+ *
22801
+ * @param request ModifyDBClusterParametersRequest
22802
+ * @param runtime runtime options for this request RuntimeOptions
22803
+ * @return ModifyDBClusterParametersResponse
22804
+ */
20646
22805
  async modifyDBClusterParametersWithOptions(request: ModifyDBClusterParametersRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterParametersResponse> {
20647
22806
  Util.validateModel(request);
20648
22807
  let query = { };
@@ -20703,6 +22862,14 @@ export default class Client extends OpenApi {
20703
22862
  return $tea.cast<ModifyDBClusterParametersResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterParametersResponse({}));
20704
22863
  }
20705
22864
 
22865
+ /**
22866
+ * PolarDB supports the parameter template feature to centrally manage clusters. You can configure a number of parameters at a time by using a parameter template and apply the template to a PolarDB cluster. For more information, see [Use a parameter template](~~207009~~).
22867
+ * **
22868
+ * **Only PolarDB for MySQL clusters support parameter templates.
22869
+ *
22870
+ * @param request ModifyDBClusterParametersRequest
22871
+ * @return ModifyDBClusterParametersResponse
22872
+ */
20706
22873
  async modifyDBClusterParameters(request: ModifyDBClusterParametersRequest): Promise<ModifyDBClusterParametersResponse> {
20707
22874
  let runtime = new $Util.RuntimeOptions({ });
20708
22875
  return await this.modifyDBClusterParametersWithOptions(request, runtime);
@@ -20719,6 +22886,10 @@ export default class Client extends OpenApi {
20719
22886
  query["FromTimeService"] = request.fromTimeService;
20720
22887
  }
20721
22888
 
22889
+ if (!Util.isUnset(request.isSwitchOverForDisaster)) {
22890
+ query["IsSwitchOverForDisaster"] = request.isSwitchOverForDisaster;
22891
+ }
22892
+
20722
22893
  if (!Util.isUnset(request.ownerAccount)) {
20723
22894
  query["OwnerAccount"] = request.ownerAccount;
20724
22895
  }
@@ -20743,6 +22914,10 @@ export default class Client extends OpenApi {
20743
22914
  query["ResourceOwnerId"] = request.resourceOwnerId;
20744
22915
  }
20745
22916
 
22917
+ if (!Util.isUnset(request.VPCId)) {
22918
+ query["VPCId"] = request.VPCId;
22919
+ }
22920
+
20746
22921
  if (!Util.isUnset(request.vSwitchId)) {
20747
22922
  query["VSwitchId"] = request.vSwitchId;
20748
22923
  }
@@ -20956,6 +23131,79 @@ export default class Client extends OpenApi {
20956
23131
  return await this.modifyDBClusterServerlessConfWithOptions(request, runtime);
20957
23132
  }
20958
23133
 
23134
+ async modifyDBClusterStorageSpaceWithOptions(request: ModifyDBClusterStorageSpaceRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterStorageSpaceResponse> {
23135
+ Util.validateModel(request);
23136
+ let query = { };
23137
+ if (!Util.isUnset(request.clientToken)) {
23138
+ query["ClientToken"] = request.clientToken;
23139
+ }
23140
+
23141
+ if (!Util.isUnset(request.DBClusterId)) {
23142
+ query["DBClusterId"] = request.DBClusterId;
23143
+ }
23144
+
23145
+ if (!Util.isUnset(request.ownerAccount)) {
23146
+ query["OwnerAccount"] = request.ownerAccount;
23147
+ }
23148
+
23149
+ if (!Util.isUnset(request.ownerId)) {
23150
+ query["OwnerId"] = request.ownerId;
23151
+ }
23152
+
23153
+ if (!Util.isUnset(request.plannedEndTime)) {
23154
+ query["PlannedEndTime"] = request.plannedEndTime;
23155
+ }
23156
+
23157
+ if (!Util.isUnset(request.plannedStartTime)) {
23158
+ query["PlannedStartTime"] = request.plannedStartTime;
23159
+ }
23160
+
23161
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
23162
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
23163
+ }
23164
+
23165
+ if (!Util.isUnset(request.resourceOwnerId)) {
23166
+ query["ResourceOwnerId"] = request.resourceOwnerId;
23167
+ }
23168
+
23169
+ if (!Util.isUnset(request.storageSpace)) {
23170
+ query["StorageSpace"] = request.storageSpace;
23171
+ }
23172
+
23173
+ if (!Util.isUnset(request.subCategory)) {
23174
+ query["SubCategory"] = request.subCategory;
23175
+ }
23176
+
23177
+ let req = new $OpenApi.OpenApiRequest({
23178
+ query: OpenApiUtil.query(query),
23179
+ });
23180
+ let params = new $OpenApi.Params({
23181
+ action: "ModifyDBClusterStorageSpace",
23182
+ version: "2017-08-01",
23183
+ protocol: "HTTPS",
23184
+ pathname: "/",
23185
+ method: "POST",
23186
+ authType: "AK",
23187
+ style: "RPC",
23188
+ reqBodyType: "formData",
23189
+ bodyType: "json",
23190
+ });
23191
+ return $tea.cast<ModifyDBClusterStorageSpaceResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterStorageSpaceResponse({}));
23192
+ }
23193
+
23194
+ async modifyDBClusterStorageSpace(request: ModifyDBClusterStorageSpaceRequest): Promise<ModifyDBClusterStorageSpaceResponse> {
23195
+ let runtime = new $Util.RuntimeOptions({ });
23196
+ return await this.modifyDBClusterStorageSpaceWithOptions(request, runtime);
23197
+ }
23198
+
23199
+ /**
23200
+ * > * To perform this operation, you must activate KMS first. For more information, see [Purchase a dedicated KMS instance](~~153781~~).
23201
+ * > * After TDE is enabled, you cannot disable TDE.
23202
+ *
23203
+ * @param request ModifyDBClusterTDERequest
23204
+ * @param runtime runtime options for this request RuntimeOptions
23205
+ * @return ModifyDBClusterTDEResponse
23206
+ */
20959
23207
  async modifyDBClusterTDEWithOptions(request: ModifyDBClusterTDERequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterTDEResponse> {
20960
23208
  Util.validateModel(request);
20961
23209
  let query = { };
@@ -21012,6 +23260,13 @@ export default class Client extends OpenApi {
21012
23260
  return $tea.cast<ModifyDBClusterTDEResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterTDEResponse({}));
21013
23261
  }
21014
23262
 
23263
+ /**
23264
+ * > * To perform this operation, you must activate KMS first. For more information, see [Purchase a dedicated KMS instance](~~153781~~).
23265
+ * > * After TDE is enabled, you cannot disable TDE.
23266
+ *
23267
+ * @param request ModifyDBClusterTDERequest
23268
+ * @return ModifyDBClusterTDEResponse
23269
+ */
21015
23270
  async modifyDBClusterTDE(request: ModifyDBClusterTDERequest): Promise<ModifyDBClusterTDEResponse> {
21016
23271
  let runtime = new $Util.RuntimeOptions({ });
21017
23272
  return await this.modifyDBClusterTDEWithOptions(request, runtime);
@@ -21154,6 +23409,10 @@ export default class Client extends OpenApi {
21154
23409
  query["DBNodeTargetClass"] = request.DBNodeTargetClass;
21155
23410
  }
21156
23411
 
23412
+ if (!Util.isUnset(request.DBNodeType)) {
23413
+ query["DBNodeType"] = request.DBNodeType;
23414
+ }
23415
+
21157
23416
  if (!Util.isUnset(request.modifyType)) {
21158
23417
  query["ModifyType"] = request.modifyType;
21159
23418
  }
@@ -21208,6 +23467,59 @@ export default class Client extends OpenApi {
21208
23467
  return await this.modifyDBNodeClassWithOptions(request, runtime);
21209
23468
  }
21210
23469
 
23470
+ async modifyDBNodeHotReplicaModeWithOptions(request: ModifyDBNodeHotReplicaModeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBNodeHotReplicaModeResponse> {
23471
+ Util.validateModel(request);
23472
+ let query = { };
23473
+ if (!Util.isUnset(request.DBClusterId)) {
23474
+ query["DBClusterId"] = request.DBClusterId;
23475
+ }
23476
+
23477
+ if (!Util.isUnset(request.DBNodeId)) {
23478
+ query["DBNodeId"] = request.DBNodeId;
23479
+ }
23480
+
23481
+ if (!Util.isUnset(request.hotReplicaMode)) {
23482
+ query["HotReplicaMode"] = request.hotReplicaMode;
23483
+ }
23484
+
23485
+ if (!Util.isUnset(request.ownerAccount)) {
23486
+ query["OwnerAccount"] = request.ownerAccount;
23487
+ }
23488
+
23489
+ if (!Util.isUnset(request.ownerId)) {
23490
+ query["OwnerId"] = request.ownerId;
23491
+ }
23492
+
23493
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
23494
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
23495
+ }
23496
+
23497
+ if (!Util.isUnset(request.resourceOwnerId)) {
23498
+ query["ResourceOwnerId"] = request.resourceOwnerId;
23499
+ }
23500
+
23501
+ let req = new $OpenApi.OpenApiRequest({
23502
+ query: OpenApiUtil.query(query),
23503
+ });
23504
+ let params = new $OpenApi.Params({
23505
+ action: "ModifyDBNodeHotReplicaMode",
23506
+ version: "2017-08-01",
23507
+ protocol: "HTTPS",
23508
+ pathname: "/",
23509
+ method: "POST",
23510
+ authType: "AK",
23511
+ style: "RPC",
23512
+ reqBodyType: "formData",
23513
+ bodyType: "json",
23514
+ });
23515
+ return $tea.cast<ModifyDBNodeHotReplicaModeResponse>(await this.callApi(params, req, runtime), new ModifyDBNodeHotReplicaModeResponse({}));
23516
+ }
23517
+
23518
+ async modifyDBNodeHotReplicaMode(request: ModifyDBNodeHotReplicaModeRequest): Promise<ModifyDBNodeHotReplicaModeResponse> {
23519
+ let runtime = new $Util.RuntimeOptions({ });
23520
+ return await this.modifyDBNodeHotReplicaModeWithOptions(request, runtime);
23521
+ }
23522
+
21211
23523
  async modifyDBNodesClassWithOptions(request: ModifyDBNodesClassRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBNodesClassResponse> {
21212
23524
  Util.validateModel(request);
21213
23525
  let query = { };
@@ -21760,6 +24072,14 @@ export default class Client extends OpenApi {
21760
24072
  query["DBClusterId"] = request.DBClusterId;
21761
24073
  }
21762
24074
 
24075
+ if (!Util.isUnset(request.describeType)) {
24076
+ query["DescribeType"] = request.describeType;
24077
+ }
24078
+
24079
+ if (!Util.isUnset(request.nodeType)) {
24080
+ query["NodeType"] = request.nodeType;
24081
+ }
24082
+
21763
24083
  if (!Util.isUnset(request.ownerAccount)) {
21764
24084
  query["OwnerAccount"] = request.ownerAccount;
21765
24085
  }
@@ -21859,6 +24179,13 @@ export default class Client extends OpenApi {
21859
24179
  return await this.refreshDBClusterStorageUsageWithOptions(request, runtime);
21860
24180
  }
21861
24181
 
24182
+ /**
24183
+ * > You cannot remove the primary cluster from a GDN.
24184
+ *
24185
+ * @param request RemoveDBClusterFromGDNRequest
24186
+ * @param runtime runtime options for this request RuntimeOptions
24187
+ * @return RemoveDBClusterFromGDNResponse
24188
+ */
21862
24189
  async removeDBClusterFromGDNWithOptions(request: RemoveDBClusterFromGDNRequest, runtime: $Util.RuntimeOptions): Promise<RemoveDBClusterFromGDNResponse> {
21863
24190
  Util.validateModel(request);
21864
24191
  let query = { };
@@ -21907,11 +24234,25 @@ export default class Client extends OpenApi {
21907
24234
  return $tea.cast<RemoveDBClusterFromGDNResponse>(await this.callApi(params, req, runtime), new RemoveDBClusterFromGDNResponse({}));
21908
24235
  }
21909
24236
 
24237
+ /**
24238
+ * > You cannot remove the primary cluster from a GDN.
24239
+ *
24240
+ * @param request RemoveDBClusterFromGDNRequest
24241
+ * @return RemoveDBClusterFromGDNResponse
24242
+ */
21910
24243
  async removeDBClusterFromGDN(request: RemoveDBClusterFromGDNRequest): Promise<RemoveDBClusterFromGDNResponse> {
21911
24244
  let runtime = new $Util.RuntimeOptions({ });
21912
24245
  return await this.removeDBClusterFromGDNWithOptions(request, runtime);
21913
24246
  }
21914
24247
 
24248
+ /**
24249
+ * >- Only PolarDB for MySQL clusters support this operation.
24250
+ * >- If the privileged account of your cluster encounters exceptions, you can call this operation to reset the permissions. For example, the permissions are accidentally revoked.
24251
+ *
24252
+ * @param request ResetAccountRequest
24253
+ * @param runtime runtime options for this request RuntimeOptions
24254
+ * @return ResetAccountResponse
24255
+ */
21915
24256
  async resetAccountWithOptions(request: ResetAccountRequest, runtime: $Util.RuntimeOptions): Promise<ResetAccountResponse> {
21916
24257
  Util.validateModel(request);
21917
24258
  let query = { };
@@ -21960,11 +24301,75 @@ export default class Client extends OpenApi {
21960
24301
  return $tea.cast<ResetAccountResponse>(await this.callApi(params, req, runtime), new ResetAccountResponse({}));
21961
24302
  }
21962
24303
 
24304
+ /**
24305
+ * >- Only PolarDB for MySQL clusters support this operation.
24306
+ * >- If the privileged account of your cluster encounters exceptions, you can call this operation to reset the permissions. For example, the permissions are accidentally revoked.
24307
+ *
24308
+ * @param request ResetAccountRequest
24309
+ * @return ResetAccountResponse
24310
+ */
21963
24311
  async resetAccount(request: ResetAccountRequest): Promise<ResetAccountResponse> {
21964
24312
  let runtime = new $Util.RuntimeOptions({ });
21965
24313
  return await this.resetAccountWithOptions(request, runtime);
21966
24314
  }
21967
24315
 
24316
+ async resetGlobalDatabaseNetworkWithOptions(request: ResetGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<ResetGlobalDatabaseNetworkResponse> {
24317
+ Util.validateModel(request);
24318
+ let query = { };
24319
+ if (!Util.isUnset(request.DBClusterId)) {
24320
+ query["DBClusterId"] = request.DBClusterId;
24321
+ }
24322
+
24323
+ if (!Util.isUnset(request.GDNId)) {
24324
+ query["GDNId"] = request.GDNId;
24325
+ }
24326
+
24327
+ if (!Util.isUnset(request.ownerAccount)) {
24328
+ query["OwnerAccount"] = request.ownerAccount;
24329
+ }
24330
+
24331
+ if (!Util.isUnset(request.ownerId)) {
24332
+ query["OwnerId"] = request.ownerId;
24333
+ }
24334
+
24335
+ if (!Util.isUnset(request.regionId)) {
24336
+ query["RegionId"] = request.regionId;
24337
+ }
24338
+
24339
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
24340
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
24341
+ }
24342
+
24343
+ if (!Util.isUnset(request.resourceOwnerId)) {
24344
+ query["ResourceOwnerId"] = request.resourceOwnerId;
24345
+ }
24346
+
24347
+ if (!Util.isUnset(request.securityToken)) {
24348
+ query["SecurityToken"] = request.securityToken;
24349
+ }
24350
+
24351
+ let req = new $OpenApi.OpenApiRequest({
24352
+ query: OpenApiUtil.query(query),
24353
+ });
24354
+ let params = new $OpenApi.Params({
24355
+ action: "ResetGlobalDatabaseNetwork",
24356
+ version: "2017-08-01",
24357
+ protocol: "HTTPS",
24358
+ pathname: "/",
24359
+ method: "POST",
24360
+ authType: "AK",
24361
+ style: "RPC",
24362
+ reqBodyType: "formData",
24363
+ bodyType: "json",
24364
+ });
24365
+ return $tea.cast<ResetGlobalDatabaseNetworkResponse>(await this.callApi(params, req, runtime), new ResetGlobalDatabaseNetworkResponse({}));
24366
+ }
24367
+
24368
+ async resetGlobalDatabaseNetwork(request: ResetGlobalDatabaseNetworkRequest): Promise<ResetGlobalDatabaseNetworkResponse> {
24369
+ let runtime = new $Util.RuntimeOptions({ });
24370
+ return await this.resetGlobalDatabaseNetworkWithOptions(request, runtime);
24371
+ }
24372
+
21968
24373
  async restartDBNodeWithOptions(request: RestartDBNodeRequest, runtime: $Util.RuntimeOptions): Promise<RestartDBNodeResponse> {
21969
24374
  Util.validateModel(request);
21970
24375
  let query = { };
@@ -22311,6 +24716,15 @@ export default class Client extends OpenApi {
22311
24716
  return await this.tempModifyDBNodeWithOptions(request, runtime);
22312
24717
  }
22313
24718
 
24719
+ /**
24720
+ * > * PolarDB clusters support the subscription and pay-as-you-go billing methods. You can change the billing method from subscription to pay-as-you-go or from pay-as-you-go to subscription based on your business requirements. For more information, see [Change the billing method from subscription to pay-as-you-go](~~172886~~) and [Change the billing method from pay-as-you-go to subscription](~~84076~~).
24721
+ * >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
24722
+ * >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
24723
+ *
24724
+ * @param request TransformDBClusterPayTypeRequest
24725
+ * @param runtime runtime options for this request RuntimeOptions
24726
+ * @return TransformDBClusterPayTypeResponse
24727
+ */
22314
24728
  async transformDBClusterPayTypeWithOptions(request: TransformDBClusterPayTypeRequest, runtime: $Util.RuntimeOptions): Promise<TransformDBClusterPayTypeResponse> {
22315
24729
  Util.validateModel(request);
22316
24730
  let query = { };
@@ -22375,6 +24789,14 @@ export default class Client extends OpenApi {
22375
24789
  return $tea.cast<TransformDBClusterPayTypeResponse>(await this.callApi(params, req, runtime), new TransformDBClusterPayTypeResponse({}));
22376
24790
  }
22377
24791
 
24792
+ /**
24793
+ * > * PolarDB clusters support the subscription and pay-as-you-go billing methods. You can change the billing method from subscription to pay-as-you-go or from pay-as-you-go to subscription based on your business requirements. For more information, see [Change the billing method from subscription to pay-as-you-go](~~172886~~) and [Change the billing method from pay-as-you-go to subscription](~~84076~~).
24794
+ * >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
24795
+ * >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
24796
+ *
24797
+ * @param request TransformDBClusterPayTypeRequest
24798
+ * @return TransformDBClusterPayTypeResponse
24799
+ */
22378
24800
  async transformDBClusterPayType(request: TransformDBClusterPayTypeRequest): Promise<TransformDBClusterPayTypeResponse> {
22379
24801
  let runtime = new $Util.RuntimeOptions({ });
22380
24802
  return await this.transformDBClusterPayTypeWithOptions(request, runtime);
@@ -22441,6 +24863,13 @@ export default class Client extends OpenApi {
22441
24863
  return await this.untagResourcesWithOptions(request, runtime);
22442
24864
  }
22443
24865
 
24866
+ /**
24867
+ * > You can upgrade only the revision version of a PolarDB for MySQL cluster. For example, you can upgrade the version 8.0.1.1.3 of a PolarDB for MySQL cluster to the version 8.0.1.1.4.
24868
+ *
24869
+ * @param request UpgradeDBClusterMinorVersionRequest
24870
+ * @param runtime runtime options for this request RuntimeOptions
24871
+ * @return UpgradeDBClusterMinorVersionResponse
24872
+ */
22444
24873
  async upgradeDBClusterMinorVersionWithOptions(request: UpgradeDBClusterMinorVersionRequest, runtime: $Util.RuntimeOptions): Promise<UpgradeDBClusterMinorVersionResponse> {
22445
24874
  Util.validateModel(request);
22446
24875
  let query = { };
@@ -22493,11 +24922,26 @@ export default class Client extends OpenApi {
22493
24922
  return $tea.cast<UpgradeDBClusterMinorVersionResponse>(await this.callApi(params, req, runtime), new UpgradeDBClusterMinorVersionResponse({}));
22494
24923
  }
22495
24924
 
24925
+ /**
24926
+ * > You can upgrade only the revision version of a PolarDB for MySQL cluster. For example, you can upgrade the version 8.0.1.1.3 of a PolarDB for MySQL cluster to the version 8.0.1.1.4.
24927
+ *
24928
+ * @param request UpgradeDBClusterMinorVersionRequest
24929
+ * @return UpgradeDBClusterMinorVersionResponse
24930
+ */
22496
24931
  async upgradeDBClusterMinorVersion(request: UpgradeDBClusterMinorVersionRequest): Promise<UpgradeDBClusterMinorVersionResponse> {
22497
24932
  let runtime = new $Util.RuntimeOptions({ });
22498
24933
  return await this.upgradeDBClusterMinorVersionWithOptions(request, runtime);
22499
24934
  }
22500
24935
 
24936
+ /**
24937
+ * >
24938
+ * * You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
24939
+ * * You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
24940
+ *
24941
+ * @param request UpgradeDBClusterVersionRequest
24942
+ * @param runtime runtime options for this request RuntimeOptions
24943
+ * @return UpgradeDBClusterVersionResponse
24944
+ */
22501
24945
  async upgradeDBClusterVersionWithOptions(request: UpgradeDBClusterVersionRequest, runtime: $Util.RuntimeOptions): Promise<UpgradeDBClusterVersionResponse> {
22502
24946
  Util.validateModel(request);
22503
24947
  let query = { };
@@ -22533,6 +24977,10 @@ export default class Client extends OpenApi {
22533
24977
  query["ResourceOwnerId"] = request.resourceOwnerId;
22534
24978
  }
22535
24979
 
24980
+ if (!Util.isUnset(request.targetDBRevisionVersionCode)) {
24981
+ query["TargetDBRevisionVersionCode"] = request.targetDBRevisionVersionCode;
24982
+ }
24983
+
22536
24984
  if (!Util.isUnset(request.upgradeLabel)) {
22537
24985
  query["UpgradeLabel"] = request.upgradeLabel;
22538
24986
  }
@@ -22562,6 +25010,14 @@ export default class Client extends OpenApi {
22562
25010
  return $tea.cast<UpgradeDBClusterVersionResponse>(await this.callApi(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
22563
25011
  }
22564
25012
 
25013
+ /**
25014
+ * >
25015
+ * * You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
25016
+ * * You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
25017
+ *
25018
+ * @param request UpgradeDBClusterVersionRequest
25019
+ * @return UpgradeDBClusterVersionResponse
25020
+ */
22565
25021
  async upgradeDBClusterVersion(request: UpgradeDBClusterVersionRequest): Promise<UpgradeDBClusterVersionResponse> {
22566
25022
  let runtime = new $Util.RuntimeOptions({ });
22567
25023
  return await this.upgradeDBClusterVersionWithOptions(request, runtime);