@alicloud/polardb20170801 2.0.7 → 3.0.0

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,11 @@ export class DescribeDBClusterAttributeRequest extends $tea.Model {
3568
3871
  }
3569
3872
 
3570
3873
  export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3874
+ aiType?: string;
3571
3875
  blktagTotal?: number;
3572
3876
  blktagUsed?: number;
3573
3877
  category?: string;
3878
+ compressStorageMode?: string;
3574
3879
  creationTime?: string;
3575
3880
  DBClusterDescription?: string;
3576
3881
  DBClusterId?: string;
@@ -3581,10 +3886,13 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3581
3886
  DBVersion?: string;
3582
3887
  DBVersionStatus?: string;
3583
3888
  dataLevel1BackupChainSize?: number;
3889
+ dataSyncMode?: string;
3584
3890
  deletionLock?: number;
3891
+ deployUnit?: string;
3585
3892
  engine?: string;
3586
3893
  expireTime?: string;
3587
3894
  expired?: string;
3895
+ hasCompleteStandbyRes?: boolean;
3588
3896
  inodeTotal?: number;
3589
3897
  inodeUsed?: number;
3590
3898
  isLatestVersion?: boolean;
@@ -3593,6 +3901,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3593
3901
  maintainTime?: string;
3594
3902
  payType?: string;
3595
3903
  proxyCpuCores?: string;
3904
+ proxyServerlessType?: string;
3596
3905
  proxyStandardCpuCores?: string;
3597
3906
  proxyStatus?: string;
3598
3907
  proxyType?: string;
@@ -3601,11 +3910,13 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3601
3910
  resourceGroupId?: string;
3602
3911
  SQLSize?: number;
3603
3912
  serverlessType?: string;
3913
+ standbyHAMode?: string;
3604
3914
  storageMax?: number;
3605
3915
  storagePayType?: string;
3606
3916
  storageSpace?: number;
3607
3917
  storageType?: string;
3608
3918
  storageUsed?: number;
3919
+ strictConsistency?: string;
3609
3920
  subCategory?: string;
3610
3921
  tags?: DescribeDBClusterAttributeResponseBodyTags[];
3611
3922
  VPCId?: string;
@@ -3613,9 +3924,11 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3613
3924
  zoneIds?: string;
3614
3925
  static names(): { [key: string]: string } {
3615
3926
  return {
3927
+ aiType: 'AiType',
3616
3928
  blktagTotal: 'BlktagTotal',
3617
3929
  blktagUsed: 'BlktagUsed',
3618
3930
  category: 'Category',
3931
+ compressStorageMode: 'CompressStorageMode',
3619
3932
  creationTime: 'CreationTime',
3620
3933
  DBClusterDescription: 'DBClusterDescription',
3621
3934
  DBClusterId: 'DBClusterId',
@@ -3626,10 +3939,13 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3626
3939
  DBVersion: 'DBVersion',
3627
3940
  DBVersionStatus: 'DBVersionStatus',
3628
3941
  dataLevel1BackupChainSize: 'DataLevel1BackupChainSize',
3942
+ dataSyncMode: 'DataSyncMode',
3629
3943
  deletionLock: 'DeletionLock',
3944
+ deployUnit: 'DeployUnit',
3630
3945
  engine: 'Engine',
3631
3946
  expireTime: 'ExpireTime',
3632
3947
  expired: 'Expired',
3948
+ hasCompleteStandbyRes: 'HasCompleteStandbyRes',
3633
3949
  inodeTotal: 'InodeTotal',
3634
3950
  inodeUsed: 'InodeUsed',
3635
3951
  isLatestVersion: 'IsLatestVersion',
@@ -3638,6 +3954,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3638
3954
  maintainTime: 'MaintainTime',
3639
3955
  payType: 'PayType',
3640
3956
  proxyCpuCores: 'ProxyCpuCores',
3957
+ proxyServerlessType: 'ProxyServerlessType',
3641
3958
  proxyStandardCpuCores: 'ProxyStandardCpuCores',
3642
3959
  proxyStatus: 'ProxyStatus',
3643
3960
  proxyType: 'ProxyType',
@@ -3646,11 +3963,13 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3646
3963
  resourceGroupId: 'ResourceGroupId',
3647
3964
  SQLSize: 'SQLSize',
3648
3965
  serverlessType: 'ServerlessType',
3966
+ standbyHAMode: 'StandbyHAMode',
3649
3967
  storageMax: 'StorageMax',
3650
3968
  storagePayType: 'StoragePayType',
3651
3969
  storageSpace: 'StorageSpace',
3652
3970
  storageType: 'StorageType',
3653
3971
  storageUsed: 'StorageUsed',
3972
+ strictConsistency: 'StrictConsistency',
3654
3973
  subCategory: 'SubCategory',
3655
3974
  tags: 'Tags',
3656
3975
  VPCId: 'VPCId',
@@ -3661,9 +3980,11 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3661
3980
 
3662
3981
  static types(): { [key: string]: any } {
3663
3982
  return {
3983
+ aiType: 'string',
3664
3984
  blktagTotal: 'number',
3665
3985
  blktagUsed: 'number',
3666
3986
  category: 'string',
3987
+ compressStorageMode: 'string',
3667
3988
  creationTime: 'string',
3668
3989
  DBClusterDescription: 'string',
3669
3990
  DBClusterId: 'string',
@@ -3674,10 +3995,13 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3674
3995
  DBVersion: 'string',
3675
3996
  DBVersionStatus: 'string',
3676
3997
  dataLevel1BackupChainSize: 'number',
3998
+ dataSyncMode: 'string',
3677
3999
  deletionLock: 'number',
4000
+ deployUnit: 'string',
3678
4001
  engine: 'string',
3679
4002
  expireTime: 'string',
3680
4003
  expired: 'string',
4004
+ hasCompleteStandbyRes: 'boolean',
3681
4005
  inodeTotal: 'number',
3682
4006
  inodeUsed: 'number',
3683
4007
  isLatestVersion: 'boolean',
@@ -3686,6 +4010,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3686
4010
  maintainTime: 'string',
3687
4011
  payType: 'string',
3688
4012
  proxyCpuCores: 'string',
4013
+ proxyServerlessType: 'string',
3689
4014
  proxyStandardCpuCores: 'string',
3690
4015
  proxyStatus: 'string',
3691
4016
  proxyType: 'string',
@@ -3694,11 +4019,13 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
3694
4019
  resourceGroupId: 'string',
3695
4020
  SQLSize: 'number',
3696
4021
  serverlessType: 'string',
4022
+ standbyHAMode: 'string',
3697
4023
  storageMax: 'number',
3698
4024
  storagePayType: 'string',
3699
4025
  storageSpace: 'number',
3700
4026
  storageType: 'string',
3701
4027
  storageUsed: 'number',
4028
+ strictConsistency: 'string',
3702
4029
  subCategory: 'string',
3703
4030
  tags: { 'type': 'array', 'itemType': DescribeDBClusterAttributeResponseBodyTags },
3704
4031
  VPCId: 'string',
@@ -3908,32 +4235,38 @@ export class DescribeDBClusterAvailableResourcesResponse extends $tea.Model {
3908
4235
  }
3909
4236
  }
3910
4237
 
3911
- export class DescribeDBClusterEndpointsRequest extends $tea.Model {
4238
+ export class DescribeDBClusterConnectivityRequest extends $tea.Model {
3912
4239
  DBClusterId?: string;
3913
- DBEndpointId?: string;
3914
4240
  ownerAccount?: string;
3915
4241
  ownerId?: number;
4242
+ resourceGroupId?: string;
3916
4243
  resourceOwnerAccount?: string;
3917
4244
  resourceOwnerId?: number;
4245
+ securityToken?: string;
4246
+ sourceIpAddress?: string;
3918
4247
  static names(): { [key: string]: string } {
3919
4248
  return {
3920
4249
  DBClusterId: 'DBClusterId',
3921
- DBEndpointId: 'DBEndpointId',
3922
4250
  ownerAccount: 'OwnerAccount',
3923
4251
  ownerId: 'OwnerId',
4252
+ resourceGroupId: 'ResourceGroupId',
3924
4253
  resourceOwnerAccount: 'ResourceOwnerAccount',
3925
4254
  resourceOwnerId: 'ResourceOwnerId',
4255
+ securityToken: 'SecurityToken',
4256
+ sourceIpAddress: 'SourceIpAddress',
3926
4257
  };
3927
4258
  }
3928
4259
 
3929
4260
  static types(): { [key: string]: any } {
3930
4261
  return {
3931
4262
  DBClusterId: 'string',
3932
- DBEndpointId: 'string',
3933
4263
  ownerAccount: 'string',
3934
4264
  ownerId: 'number',
4265
+ resourceGroupId: 'string',
3935
4266
  resourceOwnerAccount: 'string',
3936
4267
  resourceOwnerId: 'number',
4268
+ securityToken: 'string',
4269
+ sourceIpAddress: 'string',
3937
4270
  };
3938
4271
  }
3939
4272
 
@@ -3942,19 +4275,28 @@ export class DescribeDBClusterEndpointsRequest extends $tea.Model {
3942
4275
  }
3943
4276
  }
3944
4277
 
3945
- export class DescribeDBClusterEndpointsResponseBody extends $tea.Model {
3946
- items?: DescribeDBClusterEndpointsResponseBodyItems[];
4278
+ export class DescribeDBClusterConnectivityResponseBody extends $tea.Model {
4279
+ connCheckErrorCode?: string;
4280
+ connCheckErrorMessage?: string;
4281
+ connCheckResult?: string;
4282
+ DBClusterId?: string;
3947
4283
  requestId?: string;
3948
4284
  static names(): { [key: string]: string } {
3949
4285
  return {
3950
- items: 'Items',
4286
+ connCheckErrorCode: 'ConnCheckErrorCode',
4287
+ connCheckErrorMessage: 'ConnCheckErrorMessage',
4288
+ connCheckResult: 'ConnCheckResult',
4289
+ DBClusterId: 'DBClusterId',
3951
4290
  requestId: 'RequestId',
3952
4291
  };
3953
4292
  }
3954
4293
 
3955
4294
  static types(): { [key: string]: any } {
3956
4295
  return {
3957
- items: { 'type': 'array', 'itemType': DescribeDBClusterEndpointsResponseBodyItems },
4296
+ connCheckErrorCode: 'string',
4297
+ connCheckErrorMessage: 'string',
4298
+ connCheckResult: 'string',
4299
+ DBClusterId: 'string',
3958
4300
  requestId: 'string',
3959
4301
  };
3960
4302
  }
@@ -3964,10 +4306,10 @@ export class DescribeDBClusterEndpointsResponseBody extends $tea.Model {
3964
4306
  }
3965
4307
  }
3966
4308
 
3967
- export class DescribeDBClusterEndpointsResponse extends $tea.Model {
4309
+ export class DescribeDBClusterConnectivityResponse extends $tea.Model {
3968
4310
  headers: { [key: string]: string };
3969
4311
  statusCode: number;
3970
- body: DescribeDBClusterEndpointsResponseBody;
4312
+ body: DescribeDBClusterConnectivityResponseBody;
3971
4313
  static names(): { [key: string]: string } {
3972
4314
  return {
3973
4315
  headers: 'headers',
@@ -3980,7 +4322,7 @@ export class DescribeDBClusterEndpointsResponse extends $tea.Model {
3980
4322
  return {
3981
4323
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3982
4324
  statusCode: 'number',
3983
- body: DescribeDBClusterEndpointsResponseBody,
4325
+ body: DescribeDBClusterConnectivityResponseBody,
3984
4326
  };
3985
4327
  }
3986
4328
 
@@ -3989,7 +4331,91 @@ export class DescribeDBClusterEndpointsResponse extends $tea.Model {
3989
4331
  }
3990
4332
  }
3991
4333
 
3992
- export class DescribeDBClusterMigrationRequest extends $tea.Model {
4334
+ export class DescribeDBClusterEndpointsRequest extends $tea.Model {
4335
+ DBClusterId?: string;
4336
+ DBEndpointId?: string;
4337
+ describeType?: string;
4338
+ ownerAccount?: string;
4339
+ ownerId?: number;
4340
+ resourceOwnerAccount?: string;
4341
+ resourceOwnerId?: number;
4342
+ static names(): { [key: string]: string } {
4343
+ return {
4344
+ DBClusterId: 'DBClusterId',
4345
+ DBEndpointId: 'DBEndpointId',
4346
+ describeType: 'DescribeType',
4347
+ ownerAccount: 'OwnerAccount',
4348
+ ownerId: 'OwnerId',
4349
+ resourceOwnerAccount: 'ResourceOwnerAccount',
4350
+ resourceOwnerId: 'ResourceOwnerId',
4351
+ };
4352
+ }
4353
+
4354
+ static types(): { [key: string]: any } {
4355
+ return {
4356
+ DBClusterId: 'string',
4357
+ DBEndpointId: 'string',
4358
+ describeType: 'string',
4359
+ ownerAccount: 'string',
4360
+ ownerId: 'number',
4361
+ resourceOwnerAccount: 'string',
4362
+ resourceOwnerId: 'number',
4363
+ };
4364
+ }
4365
+
4366
+ constructor(map?: { [key: string]: any }) {
4367
+ super(map);
4368
+ }
4369
+ }
4370
+
4371
+ export class DescribeDBClusterEndpointsResponseBody extends $tea.Model {
4372
+ items?: DescribeDBClusterEndpointsResponseBodyItems[];
4373
+ requestId?: string;
4374
+ static names(): { [key: string]: string } {
4375
+ return {
4376
+ items: 'Items',
4377
+ requestId: 'RequestId',
4378
+ };
4379
+ }
4380
+
4381
+ static types(): { [key: string]: any } {
4382
+ return {
4383
+ items: { 'type': 'array', 'itemType': DescribeDBClusterEndpointsResponseBodyItems },
4384
+ requestId: 'string',
4385
+ };
4386
+ }
4387
+
4388
+ constructor(map?: { [key: string]: any }) {
4389
+ super(map);
4390
+ }
4391
+ }
4392
+
4393
+ export class DescribeDBClusterEndpointsResponse extends $tea.Model {
4394
+ headers: { [key: string]: string };
4395
+ statusCode: number;
4396
+ body: DescribeDBClusterEndpointsResponseBody;
4397
+ static names(): { [key: string]: string } {
4398
+ return {
4399
+ headers: 'headers',
4400
+ statusCode: 'statusCode',
4401
+ body: 'body',
4402
+ };
4403
+ }
4404
+
4405
+ static types(): { [key: string]: any } {
4406
+ return {
4407
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4408
+ statusCode: 'number',
4409
+ body: DescribeDBClusterEndpointsResponseBody,
4410
+ };
4411
+ }
4412
+
4413
+ constructor(map?: { [key: string]: any }) {
4414
+ super(map);
4415
+ }
4416
+ }
4417
+
4418
+ export class DescribeDBClusterMigrationRequest extends $tea.Model {
3993
4419
  DBClusterId?: string;
3994
4420
  ownerAccount?: string;
3995
4421
  ownerId?: number;
@@ -4183,6 +4609,7 @@ export class DescribeDBClusterMonitorResponse extends $tea.Model {
4183
4609
 
4184
4610
  export class DescribeDBClusterParametersRequest extends $tea.Model {
4185
4611
  DBClusterId?: string;
4612
+ describeType?: string;
4186
4613
  ownerAccount?: string;
4187
4614
  ownerId?: number;
4188
4615
  resourceOwnerAccount?: string;
@@ -4190,6 +4617,7 @@ export class DescribeDBClusterParametersRequest extends $tea.Model {
4190
4617
  static names(): { [key: string]: string } {
4191
4618
  return {
4192
4619
  DBClusterId: 'DBClusterId',
4620
+ describeType: 'DescribeType',
4193
4621
  ownerAccount: 'OwnerAccount',
4194
4622
  ownerId: 'OwnerId',
4195
4623
  resourceOwnerAccount: 'ResourceOwnerAccount',
@@ -4200,6 +4628,7 @@ export class DescribeDBClusterParametersRequest extends $tea.Model {
4200
4628
  static types(): { [key: string]: any } {
4201
4629
  return {
4202
4630
  DBClusterId: 'string',
4631
+ describeType: 'string',
4203
4632
  ownerAccount: 'string',
4204
4633
  ownerId: 'number',
4205
4634
  resourceOwnerAccount: 'string',
@@ -4213,16 +4642,22 @@ export class DescribeDBClusterParametersRequest extends $tea.Model {
4213
4642
  }
4214
4643
 
4215
4644
  export class DescribeDBClusterParametersResponseBody extends $tea.Model {
4645
+ DBClusterId?: string;
4216
4646
  DBType?: string;
4217
4647
  DBVersion?: string;
4218
4648
  engine?: string;
4649
+ parameterNumbers?: string;
4650
+ parameters?: DescribeDBClusterParametersResponseBodyParameters;
4219
4651
  requestId?: string;
4220
4652
  runningParameters?: DescribeDBClusterParametersResponseBodyRunningParameters;
4221
4653
  static names(): { [key: string]: string } {
4222
4654
  return {
4655
+ DBClusterId: 'DBClusterId',
4223
4656
  DBType: 'DBType',
4224
4657
  DBVersion: 'DBVersion',
4225
4658
  engine: 'Engine',
4659
+ parameterNumbers: 'ParameterNumbers',
4660
+ parameters: 'Parameters',
4226
4661
  requestId: 'RequestId',
4227
4662
  runningParameters: 'RunningParameters',
4228
4663
  };
@@ -4230,9 +4665,12 @@ export class DescribeDBClusterParametersResponseBody extends $tea.Model {
4230
4665
 
4231
4666
  static types(): { [key: string]: any } {
4232
4667
  return {
4668
+ DBClusterId: 'string',
4233
4669
  DBType: 'string',
4234
4670
  DBVersion: 'string',
4235
4671
  engine: 'string',
4672
+ parameterNumbers: 'string',
4673
+ parameters: DescribeDBClusterParametersResponseBodyParameters,
4236
4674
  requestId: 'string',
4237
4675
  runningParameters: DescribeDBClusterParametersResponseBodyRunningParameters,
4238
4676
  };
@@ -4661,6 +5099,7 @@ export class DescribeDBClusterVersionResponseBody extends $tea.Model {
4661
5099
  DBLatestVersion?: string;
4662
5100
  DBMinorVersion?: string;
4663
5101
  DBRevisionVersion?: string;
5102
+ DBRevisionVersionList?: DescribeDBClusterVersionResponseBodyDBRevisionVersionList[];
4664
5103
  DBVersion?: string;
4665
5104
  DBVersionStatus?: string;
4666
5105
  isLatestVersion?: string;
@@ -4675,6 +5114,7 @@ export class DescribeDBClusterVersionResponseBody extends $tea.Model {
4675
5114
  DBLatestVersion: 'DBLatestVersion',
4676
5115
  DBMinorVersion: 'DBMinorVersion',
4677
5116
  DBRevisionVersion: 'DBRevisionVersion',
5117
+ DBRevisionVersionList: 'DBRevisionVersionList',
4678
5118
  DBVersion: 'DBVersion',
4679
5119
  DBVersionStatus: 'DBVersionStatus',
4680
5120
  isLatestVersion: 'IsLatestVersion',
@@ -4692,6 +5132,7 @@ export class DescribeDBClusterVersionResponseBody extends $tea.Model {
4692
5132
  DBLatestVersion: 'string',
4693
5133
  DBMinorVersion: 'string',
4694
5134
  DBRevisionVersion: 'string',
5135
+ DBRevisionVersionList: { 'type': 'array', 'itemType': DescribeDBClusterVersionResponseBodyDBRevisionVersionList },
4695
5136
  DBVersion: 'string',
4696
5137
  DBVersionStatus: 'string',
4697
5138
  isLatestVersion: 'string',
@@ -5661,6 +6102,7 @@ export class DescribeGlobalDatabaseNetworkRequest extends $tea.Model {
5661
6102
  export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
5662
6103
  connections?: DescribeGlobalDatabaseNetworkResponseBodyConnections[];
5663
6104
  createTime?: string;
6105
+ DBClusterId?: string;
5664
6106
  DBClusters?: DescribeGlobalDatabaseNetworkResponseBodyDBClusters[];
5665
6107
  DBType?: string;
5666
6108
  DBVersion?: string;
@@ -5668,10 +6110,12 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
5668
6110
  GDNId?: string;
5669
6111
  GDNStatus?: string;
5670
6112
  requestId?: string;
6113
+ resourceGroupId?: string;
5671
6114
  static names(): { [key: string]: string } {
5672
6115
  return {
5673
6116
  connections: 'Connections',
5674
6117
  createTime: 'CreateTime',
6118
+ DBClusterId: 'DBClusterId',
5675
6119
  DBClusters: 'DBClusters',
5676
6120
  DBType: 'DBType',
5677
6121
  DBVersion: 'DBVersion',
@@ -5679,6 +6123,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
5679
6123
  GDNId: 'GDNId',
5680
6124
  GDNStatus: 'GDNStatus',
5681
6125
  requestId: 'RequestId',
6126
+ resourceGroupId: 'ResourceGroupId',
5682
6127
  };
5683
6128
  }
5684
6129
 
@@ -5686,6 +6131,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
5686
6131
  return {
5687
6132
  connections: { 'type': 'array', 'itemType': DescribeGlobalDatabaseNetworkResponseBodyConnections },
5688
6133
  createTime: 'string',
6134
+ DBClusterId: 'string',
5689
6135
  DBClusters: { 'type': 'array', 'itemType': DescribeGlobalDatabaseNetworkResponseBodyDBClusters },
5690
6136
  DBType: 'string',
5691
6137
  DBVersion: 'string',
@@ -5693,6 +6139,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
5693
6139
  GDNId: 'string',
5694
6140
  GDNStatus: 'string',
5695
6141
  requestId: 'string',
6142
+ resourceGroupId: 'string',
5696
6143
  };
5697
6144
  }
5698
6145
 
@@ -5728,6 +6175,7 @@ export class DescribeGlobalDatabaseNetworkResponse extends $tea.Model {
5728
6175
 
5729
6176
  export class DescribeGlobalDatabaseNetworksRequest extends $tea.Model {
5730
6177
  DBClusterId?: string;
6178
+ filterRegion?: string;
5731
6179
  GDNDescription?: string;
5732
6180
  GDNId?: string;
5733
6181
  ownerAccount?: string;
@@ -5741,6 +6189,7 @@ export class DescribeGlobalDatabaseNetworksRequest extends $tea.Model {
5741
6189
  static names(): { [key: string]: string } {
5742
6190
  return {
5743
6191
  DBClusterId: 'DBClusterId',
6192
+ filterRegion: 'FilterRegion',
5744
6193
  GDNDescription: 'GDNDescription',
5745
6194
  GDNId: 'GDNId',
5746
6195
  ownerAccount: 'OwnerAccount',
@@ -5757,6 +6206,7 @@ export class DescribeGlobalDatabaseNetworksRequest extends $tea.Model {
5757
6206
  static types(): { [key: string]: any } {
5758
6207
  return {
5759
6208
  DBClusterId: 'string',
6209
+ filterRegion: 'string',
5760
6210
  GDNDescription: 'string',
5761
6211
  GDNId: 'string',
5762
6212
  ownerAccount: 'string',
@@ -7247,99 +7697,6 @@ export class DescribeSlowLogsResponse extends $tea.Model {
7247
7697
  }
7248
7698
  }
7249
7699
 
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
7700
  export class DescribeTasksRequest extends $tea.Model {
7344
7701
  DBClusterId?: string;
7345
7702
  DBNodeId?: string;
@@ -7454,35 +7811,35 @@ export class DescribeTasksResponse extends $tea.Model {
7454
7811
  }
7455
7812
  }
7456
7813
 
7457
- export class EnableFirewallRulesRequest extends $tea.Model {
7814
+ export class DescribeUserEncryptionKeyListRequest extends $tea.Model {
7458
7815
  DBClusterId?: string;
7459
- enable?: boolean;
7460
7816
  ownerAccount?: string;
7461
7817
  ownerId?: number;
7818
+ regionId?: string;
7462
7819
  resourceOwnerAccount?: string;
7463
7820
  resourceOwnerId?: number;
7464
- ruleNameList?: string;
7821
+ TDERegion?: string;
7465
7822
  static names(): { [key: string]: string } {
7466
7823
  return {
7467
7824
  DBClusterId: 'DBClusterId',
7468
- enable: 'Enable',
7469
7825
  ownerAccount: 'OwnerAccount',
7470
7826
  ownerId: 'OwnerId',
7827
+ regionId: 'RegionId',
7471
7828
  resourceOwnerAccount: 'ResourceOwnerAccount',
7472
7829
  resourceOwnerId: 'ResourceOwnerId',
7473
- ruleNameList: 'RuleNameList',
7830
+ TDERegion: 'TDERegion',
7474
7831
  };
7475
7832
  }
7476
7833
 
7477
7834
  static types(): { [key: string]: any } {
7478
7835
  return {
7479
7836
  DBClusterId: 'string',
7480
- enable: 'boolean',
7481
7837
  ownerAccount: 'string',
7482
7838
  ownerId: 'number',
7839
+ regionId: 'string',
7483
7840
  resourceOwnerAccount: 'string',
7484
7841
  resourceOwnerId: 'number',
7485
- ruleNameList: 'string',
7842
+ TDERegion: 'string',
7486
7843
  };
7487
7844
  }
7488
7845
 
@@ -7491,23 +7848,23 @@ export class EnableFirewallRulesRequest extends $tea.Model {
7491
7848
  }
7492
7849
  }
7493
7850
 
7494
- export class EnableFirewallRulesResponseBody extends $tea.Model {
7495
- message?: string;
7851
+ export class DescribeUserEncryptionKeyListResponseBody extends $tea.Model {
7852
+ DBClusterId?: string;
7853
+ keyList?: string[];
7496
7854
  requestId?: string;
7497
- success?: boolean;
7498
7855
  static names(): { [key: string]: string } {
7499
7856
  return {
7500
- message: 'Message',
7857
+ DBClusterId: 'DBClusterId',
7858
+ keyList: 'KeyList',
7501
7859
  requestId: 'RequestId',
7502
- success: 'Success',
7503
7860
  };
7504
7861
  }
7505
7862
 
7506
7863
  static types(): { [key: string]: any } {
7507
7864
  return {
7508
- message: 'string',
7865
+ DBClusterId: 'string',
7866
+ keyList: { 'type': 'array', 'itemType': 'string' },
7509
7867
  requestId: 'string',
7510
- success: 'boolean',
7511
7868
  };
7512
7869
  }
7513
7870
 
@@ -7516,10 +7873,10 @@ export class EnableFirewallRulesResponseBody extends $tea.Model {
7516
7873
  }
7517
7874
  }
7518
7875
 
7519
- export class EnableFirewallRulesResponse extends $tea.Model {
7876
+ export class DescribeUserEncryptionKeyListResponse extends $tea.Model {
7520
7877
  headers: { [key: string]: string };
7521
7878
  statusCode: number;
7522
- body: EnableFirewallRulesResponseBody;
7879
+ body: DescribeUserEncryptionKeyListResponseBody;
7523
7880
  static names(): { [key: string]: string } {
7524
7881
  return {
7525
7882
  headers: 'headers',
@@ -7532,7 +7889,7 @@ export class EnableFirewallRulesResponse extends $tea.Model {
7532
7889
  return {
7533
7890
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7534
7891
  statusCode: 'number',
7535
- body: EnableFirewallRulesResponseBody,
7892
+ body: DescribeUserEncryptionKeyListResponseBody,
7536
7893
  };
7537
7894
  }
7538
7895
 
@@ -7541,55 +7898,49 @@ export class EnableFirewallRulesResponse extends $tea.Model {
7541
7898
  }
7542
7899
  }
7543
7900
 
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;
7901
+ export class DescribeVSwitchesRequest extends $tea.Model {
7902
+ dedicatedHostGroupId?: string;
7551
7903
  ownerAccount?: string;
7552
7904
  ownerId?: number;
7905
+ pageNumber?: number;
7906
+ pageSize?: number;
7553
7907
  regionId?: string;
7554
7908
  resourceGroupId?: string;
7555
7909
  resourceOwnerAccount?: string;
7556
7910
  resourceOwnerId?: number;
7557
- subDomain?: string;
7911
+ securityToken?: string;
7912
+ vpcId?: string;
7558
7913
  zoneId?: string;
7559
7914
  static names(): { [key: string]: string } {
7560
7915
  return {
7561
- DBInstanceConnType: 'DBInstanceConnType',
7562
- DBNodeClass: 'DBNodeClass',
7563
- DBType: 'DBType',
7564
- DBVersion: 'DBVersion',
7565
- dispenseMode: 'DispenseMode',
7566
- needMaxScaleLink: 'NeedMaxScaleLink',
7916
+ dedicatedHostGroupId: 'DedicatedHostGroupId',
7567
7917
  ownerAccount: 'OwnerAccount',
7568
7918
  ownerId: 'OwnerId',
7919
+ pageNumber: 'PageNumber',
7920
+ pageSize: 'PageSize',
7569
7921
  regionId: 'RegionId',
7570
7922
  resourceGroupId: 'ResourceGroupId',
7571
7923
  resourceOwnerAccount: 'ResourceOwnerAccount',
7572
7924
  resourceOwnerId: 'ResourceOwnerId',
7573
- subDomain: 'SubDomain',
7925
+ securityToken: 'SecurityToken',
7926
+ vpcId: 'VpcId',
7574
7927
  zoneId: 'ZoneId',
7575
7928
  };
7576
7929
  }
7577
7930
 
7578
7931
  static types(): { [key: string]: any } {
7579
7932
  return {
7580
- DBInstanceConnType: 'string',
7581
- DBNodeClass: 'string',
7582
- DBType: 'string',
7583
- DBVersion: 'string',
7584
- dispenseMode: 'string',
7585
- needMaxScaleLink: 'string',
7933
+ dedicatedHostGroupId: 'string',
7586
7934
  ownerAccount: 'string',
7587
7935
  ownerId: 'number',
7936
+ pageNumber: 'number',
7937
+ pageSize: 'number',
7588
7938
  regionId: 'string',
7589
7939
  resourceGroupId: 'string',
7590
7940
  resourceOwnerAccount: 'string',
7591
7941
  resourceOwnerId: 'number',
7592
- subDomain: 'string',
7942
+ securityToken: 'string',
7943
+ vpcId: 'string',
7593
7944
  zoneId: 'string',
7594
7945
  };
7595
7946
  }
@@ -7599,26 +7950,29 @@ export class EvaluateRegionResourceRequest extends $tea.Model {
7599
7950
  }
7600
7951
  }
7601
7952
 
7602
- export class EvaluateRegionResourceResponseBody extends $tea.Model {
7603
- DBInstanceAvailable?: string;
7604
- DBType?: string;
7605
- DBVersion?: string;
7953
+ export class DescribeVSwitchesResponseBody extends $tea.Model {
7954
+ pageNumber?: number;
7955
+ pageSize?: number;
7606
7956
  requestId?: string;
7957
+ totalCount?: number;
7958
+ vSwitchs?: DescribeVSwitchesResponseBodyVSwitchs[];
7607
7959
  static names(): { [key: string]: string } {
7608
7960
  return {
7609
- DBInstanceAvailable: 'DBInstanceAvailable',
7610
- DBType: 'DBType',
7611
- DBVersion: 'DBVersion',
7961
+ pageNumber: 'PageNumber',
7962
+ pageSize: 'PageSize',
7612
7963
  requestId: 'RequestId',
7964
+ totalCount: 'TotalCount',
7965
+ vSwitchs: 'VSwitchs',
7613
7966
  };
7614
7967
  }
7615
7968
 
7616
7969
  static types(): { [key: string]: any } {
7617
7970
  return {
7618
- DBInstanceAvailable: 'string',
7619
- DBType: 'string',
7620
- DBVersion: 'string',
7971
+ pageNumber: 'number',
7972
+ pageSize: 'number',
7621
7973
  requestId: 'string',
7974
+ totalCount: 'number',
7975
+ vSwitchs: { 'type': 'array', 'itemType': DescribeVSwitchesResponseBodyVSwitchs },
7622
7976
  };
7623
7977
  }
7624
7978
 
@@ -7627,10 +7981,10 @@ export class EvaluateRegionResourceResponseBody extends $tea.Model {
7627
7981
  }
7628
7982
  }
7629
7983
 
7630
- export class EvaluateRegionResourceResponse extends $tea.Model {
7984
+ export class DescribeVSwitchesResponse extends $tea.Model {
7631
7985
  headers: { [key: string]: string };
7632
7986
  statusCode: number;
7633
- body: EvaluateRegionResourceResponseBody;
7987
+ body: DescribeVSwitchesResponseBody;
7634
7988
  static names(): { [key: string]: string } {
7635
7989
  return {
7636
7990
  headers: 'headers',
@@ -7643,7 +7997,7 @@ export class EvaluateRegionResourceResponse extends $tea.Model {
7643
7997
  return {
7644
7998
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7645
7999
  statusCode: 'number',
7646
- body: EvaluateRegionResourceResponseBody,
8000
+ body: DescribeVSwitchesResponseBody,
7647
8001
  };
7648
8002
  }
7649
8003
 
@@ -7652,8 +8006,206 @@ export class EvaluateRegionResourceResponse extends $tea.Model {
7652
8006
  }
7653
8007
  }
7654
8008
 
7655
- export class FailoverDBClusterRequest extends $tea.Model {
7656
- clientToken?: string;
8009
+ export class EnableFirewallRulesRequest extends $tea.Model {
8010
+ DBClusterId?: string;
8011
+ enable?: boolean;
8012
+ ownerAccount?: string;
8013
+ ownerId?: number;
8014
+ resourceOwnerAccount?: string;
8015
+ resourceOwnerId?: number;
8016
+ ruleNameList?: string;
8017
+ static names(): { [key: string]: string } {
8018
+ return {
8019
+ DBClusterId: 'DBClusterId',
8020
+ enable: 'Enable',
8021
+ ownerAccount: 'OwnerAccount',
8022
+ ownerId: 'OwnerId',
8023
+ resourceOwnerAccount: 'ResourceOwnerAccount',
8024
+ resourceOwnerId: 'ResourceOwnerId',
8025
+ ruleNameList: 'RuleNameList',
8026
+ };
8027
+ }
8028
+
8029
+ static types(): { [key: string]: any } {
8030
+ return {
8031
+ DBClusterId: 'string',
8032
+ enable: 'boolean',
8033
+ ownerAccount: 'string',
8034
+ ownerId: 'number',
8035
+ resourceOwnerAccount: 'string',
8036
+ resourceOwnerId: 'number',
8037
+ ruleNameList: 'string',
8038
+ };
8039
+ }
8040
+
8041
+ constructor(map?: { [key: string]: any }) {
8042
+ super(map);
8043
+ }
8044
+ }
8045
+
8046
+ export class EnableFirewallRulesResponseBody extends $tea.Model {
8047
+ message?: string;
8048
+ requestId?: string;
8049
+ success?: boolean;
8050
+ static names(): { [key: string]: string } {
8051
+ return {
8052
+ message: 'Message',
8053
+ requestId: 'RequestId',
8054
+ success: 'Success',
8055
+ };
8056
+ }
8057
+
8058
+ static types(): { [key: string]: any } {
8059
+ return {
8060
+ message: 'string',
8061
+ requestId: 'string',
8062
+ success: 'boolean',
8063
+ };
8064
+ }
8065
+
8066
+ constructor(map?: { [key: string]: any }) {
8067
+ super(map);
8068
+ }
8069
+ }
8070
+
8071
+ export class EnableFirewallRulesResponse extends $tea.Model {
8072
+ headers: { [key: string]: string };
8073
+ statusCode: number;
8074
+ body: EnableFirewallRulesResponseBody;
8075
+ static names(): { [key: string]: string } {
8076
+ return {
8077
+ headers: 'headers',
8078
+ statusCode: 'statusCode',
8079
+ body: 'body',
8080
+ };
8081
+ }
8082
+
8083
+ static types(): { [key: string]: any } {
8084
+ return {
8085
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8086
+ statusCode: 'number',
8087
+ body: EnableFirewallRulesResponseBody,
8088
+ };
8089
+ }
8090
+
8091
+ constructor(map?: { [key: string]: any }) {
8092
+ super(map);
8093
+ }
8094
+ }
8095
+
8096
+ export class EvaluateRegionResourceRequest extends $tea.Model {
8097
+ DBInstanceConnType?: string;
8098
+ DBNodeClass?: string;
8099
+ DBType?: string;
8100
+ DBVersion?: string;
8101
+ dispenseMode?: string;
8102
+ needMaxScaleLink?: string;
8103
+ ownerAccount?: string;
8104
+ ownerId?: number;
8105
+ regionId?: string;
8106
+ resourceGroupId?: string;
8107
+ resourceOwnerAccount?: string;
8108
+ resourceOwnerId?: number;
8109
+ subDomain?: string;
8110
+ zoneId?: string;
8111
+ static names(): { [key: string]: string } {
8112
+ return {
8113
+ DBInstanceConnType: 'DBInstanceConnType',
8114
+ DBNodeClass: 'DBNodeClass',
8115
+ DBType: 'DBType',
8116
+ DBVersion: 'DBVersion',
8117
+ dispenseMode: 'DispenseMode',
8118
+ needMaxScaleLink: 'NeedMaxScaleLink',
8119
+ ownerAccount: 'OwnerAccount',
8120
+ ownerId: 'OwnerId',
8121
+ regionId: 'RegionId',
8122
+ resourceGroupId: 'ResourceGroupId',
8123
+ resourceOwnerAccount: 'ResourceOwnerAccount',
8124
+ resourceOwnerId: 'ResourceOwnerId',
8125
+ subDomain: 'SubDomain',
8126
+ zoneId: 'ZoneId',
8127
+ };
8128
+ }
8129
+
8130
+ static types(): { [key: string]: any } {
8131
+ return {
8132
+ DBInstanceConnType: 'string',
8133
+ DBNodeClass: 'string',
8134
+ DBType: 'string',
8135
+ DBVersion: 'string',
8136
+ dispenseMode: 'string',
8137
+ needMaxScaleLink: 'string',
8138
+ ownerAccount: 'string',
8139
+ ownerId: 'number',
8140
+ regionId: 'string',
8141
+ resourceGroupId: 'string',
8142
+ resourceOwnerAccount: 'string',
8143
+ resourceOwnerId: 'number',
8144
+ subDomain: 'string',
8145
+ zoneId: 'string',
8146
+ };
8147
+ }
8148
+
8149
+ constructor(map?: { [key: string]: any }) {
8150
+ super(map);
8151
+ }
8152
+ }
8153
+
8154
+ export class EvaluateRegionResourceResponseBody extends $tea.Model {
8155
+ DBInstanceAvailable?: string;
8156
+ DBType?: string;
8157
+ DBVersion?: string;
8158
+ requestId?: string;
8159
+ static names(): { [key: string]: string } {
8160
+ return {
8161
+ DBInstanceAvailable: 'DBInstanceAvailable',
8162
+ DBType: 'DBType',
8163
+ DBVersion: 'DBVersion',
8164
+ requestId: 'RequestId',
8165
+ };
8166
+ }
8167
+
8168
+ static types(): { [key: string]: any } {
8169
+ return {
8170
+ DBInstanceAvailable: 'string',
8171
+ DBType: 'string',
8172
+ DBVersion: 'string',
8173
+ requestId: 'string',
8174
+ };
8175
+ }
8176
+
8177
+ constructor(map?: { [key: string]: any }) {
8178
+ super(map);
8179
+ }
8180
+ }
8181
+
8182
+ export class EvaluateRegionResourceResponse extends $tea.Model {
8183
+ headers: { [key: string]: string };
8184
+ statusCode: number;
8185
+ body: EvaluateRegionResourceResponseBody;
8186
+ static names(): { [key: string]: string } {
8187
+ return {
8188
+ headers: 'headers',
8189
+ statusCode: 'statusCode',
8190
+ body: 'body',
8191
+ };
8192
+ }
8193
+
8194
+ static types(): { [key: string]: any } {
8195
+ return {
8196
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8197
+ statusCode: 'number',
8198
+ body: EvaluateRegionResourceResponseBody,
8199
+ };
8200
+ }
8201
+
8202
+ constructor(map?: { [key: string]: any }) {
8203
+ super(map);
8204
+ }
8205
+ }
8206
+
8207
+ export class FailoverDBClusterRequest extends $tea.Model {
8208
+ clientToken?: string;
7657
8209
  DBClusterId?: string;
7658
8210
  ownerAccount?: string;
7659
8211
  ownerId?: number;
@@ -7910,6 +8462,84 @@ export class ListTagResourcesResponse extends $tea.Model {
7910
8462
  }
7911
8463
  }
7912
8464
 
8465
+ export class ManuallyStartDBClusterRequest extends $tea.Model {
8466
+ DBClusterId?: string;
8467
+ ownerAccount?: string;
8468
+ ownerId?: number;
8469
+ regionId?: string;
8470
+ resourceOwnerAccount?: string;
8471
+ resourceOwnerId?: number;
8472
+ static names(): { [key: string]: string } {
8473
+ return {
8474
+ DBClusterId: 'DBClusterId',
8475
+ ownerAccount: 'OwnerAccount',
8476
+ ownerId: 'OwnerId',
8477
+ regionId: 'RegionId',
8478
+ resourceOwnerAccount: 'ResourceOwnerAccount',
8479
+ resourceOwnerId: 'ResourceOwnerId',
8480
+ };
8481
+ }
8482
+
8483
+ static types(): { [key: string]: any } {
8484
+ return {
8485
+ DBClusterId: 'string',
8486
+ ownerAccount: 'string',
8487
+ ownerId: 'number',
8488
+ regionId: 'string',
8489
+ resourceOwnerAccount: 'string',
8490
+ resourceOwnerId: 'number',
8491
+ };
8492
+ }
8493
+
8494
+ constructor(map?: { [key: string]: any }) {
8495
+ super(map);
8496
+ }
8497
+ }
8498
+
8499
+ export class ManuallyStartDBClusterResponseBody extends $tea.Model {
8500
+ requestId?: string;
8501
+ static names(): { [key: string]: string } {
8502
+ return {
8503
+ requestId: 'RequestId',
8504
+ };
8505
+ }
8506
+
8507
+ static types(): { [key: string]: any } {
8508
+ return {
8509
+ requestId: 'string',
8510
+ };
8511
+ }
8512
+
8513
+ constructor(map?: { [key: string]: any }) {
8514
+ super(map);
8515
+ }
8516
+ }
8517
+
8518
+ export class ManuallyStartDBClusterResponse extends $tea.Model {
8519
+ headers: { [key: string]: string };
8520
+ statusCode: number;
8521
+ body: ManuallyStartDBClusterResponseBody;
8522
+ static names(): { [key: string]: string } {
8523
+ return {
8524
+ headers: 'headers',
8525
+ statusCode: 'statusCode',
8526
+ body: 'body',
8527
+ };
8528
+ }
8529
+
8530
+ static types(): { [key: string]: any } {
8531
+ return {
8532
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8533
+ statusCode: 'number',
8534
+ body: ManuallyStartDBClusterResponseBody,
8535
+ };
8536
+ }
8537
+
8538
+ constructor(map?: { [key: string]: any }) {
8539
+ super(map);
8540
+ }
8541
+ }
8542
+
7913
8543
  export class ModifyAccountDescriptionRequest extends $tea.Model {
7914
8544
  accountDescription?: string;
7915
8545
  accountName?: string;
@@ -8251,7 +8881,103 @@ export class ModifyBackupPolicyResponseBody extends $tea.Model {
8251
8881
  export class ModifyBackupPolicyResponse extends $tea.Model {
8252
8882
  headers: { [key: string]: string };
8253
8883
  statusCode: number;
8254
- body: ModifyBackupPolicyResponseBody;
8884
+ body: ModifyBackupPolicyResponseBody;
8885
+ static names(): { [key: string]: string } {
8886
+ return {
8887
+ headers: 'headers',
8888
+ statusCode: 'statusCode',
8889
+ body: 'body',
8890
+ };
8891
+ }
8892
+
8893
+ static types(): { [key: string]: any } {
8894
+ return {
8895
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8896
+ statusCode: 'number',
8897
+ body: ModifyBackupPolicyResponseBody,
8898
+ };
8899
+ }
8900
+
8901
+ constructor(map?: { [key: string]: any }) {
8902
+ super(map);
8903
+ }
8904
+ }
8905
+
8906
+ export class ModifyDBClusterRequest extends $tea.Model {
8907
+ DBClusterId?: string;
8908
+ dataSyncMode?: string;
8909
+ faultSimulateMode?: string;
8910
+ ownerAccount?: string;
8911
+ ownerId?: number;
8912
+ resourceOwnerAccount?: string;
8913
+ resourceOwnerId?: number;
8914
+ standbyHAMode?: string;
8915
+ storageAutoScale?: string;
8916
+ storageUpperBound?: number;
8917
+ static names(): { [key: string]: string } {
8918
+ return {
8919
+ DBClusterId: 'DBClusterId',
8920
+ dataSyncMode: 'DataSyncMode',
8921
+ faultSimulateMode: 'FaultSimulateMode',
8922
+ ownerAccount: 'OwnerAccount',
8923
+ ownerId: 'OwnerId',
8924
+ resourceOwnerAccount: 'ResourceOwnerAccount',
8925
+ resourceOwnerId: 'ResourceOwnerId',
8926
+ standbyHAMode: 'StandbyHAMode',
8927
+ storageAutoScale: 'StorageAutoScale',
8928
+ storageUpperBound: 'StorageUpperBound',
8929
+ };
8930
+ }
8931
+
8932
+ static types(): { [key: string]: any } {
8933
+ return {
8934
+ DBClusterId: 'string',
8935
+ dataSyncMode: 'string',
8936
+ faultSimulateMode: 'string',
8937
+ ownerAccount: 'string',
8938
+ ownerId: 'number',
8939
+ resourceOwnerAccount: 'string',
8940
+ resourceOwnerId: 'number',
8941
+ standbyHAMode: 'string',
8942
+ storageAutoScale: 'string',
8943
+ storageUpperBound: 'number',
8944
+ };
8945
+ }
8946
+
8947
+ constructor(map?: { [key: string]: any }) {
8948
+ super(map);
8949
+ }
8950
+ }
8951
+
8952
+ export class ModifyDBClusterResponseBody extends $tea.Model {
8953
+ DBClusterId?: string;
8954
+ orderId?: string;
8955
+ requestId?: string;
8956
+ static names(): { [key: string]: string } {
8957
+ return {
8958
+ DBClusterId: 'DBClusterId',
8959
+ orderId: 'OrderId',
8960
+ requestId: 'RequestId',
8961
+ };
8962
+ }
8963
+
8964
+ static types(): { [key: string]: any } {
8965
+ return {
8966
+ DBClusterId: 'string',
8967
+ orderId: 'string',
8968
+ requestId: 'string',
8969
+ };
8970
+ }
8971
+
8972
+ constructor(map?: { [key: string]: any }) {
8973
+ super(map);
8974
+ }
8975
+ }
8976
+
8977
+ export class ModifyDBClusterResponse extends $tea.Model {
8978
+ headers: { [key: string]: string };
8979
+ statusCode: number;
8980
+ body: ModifyDBClusterResponseBody;
8255
8981
  static names(): { [key: string]: string } {
8256
8982
  return {
8257
8983
  headers: 'headers',
@@ -8264,7 +8990,7 @@ export class ModifyBackupPolicyResponse extends $tea.Model {
8264
8990
  return {
8265
8991
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8266
8992
  statusCode: 'number',
8267
- body: ModifyBackupPolicyResponseBody,
8993
+ body: ModifyDBClusterResponseBody,
8268
8994
  };
8269
8995
  }
8270
8996
 
@@ -9125,24 +9851,28 @@ export class ModifyDBClusterParametersResponse extends $tea.Model {
9125
9851
  export class ModifyDBClusterPrimaryZoneRequest extends $tea.Model {
9126
9852
  DBClusterId?: string;
9127
9853
  fromTimeService?: boolean;
9854
+ isSwitchOverForDisaster?: string;
9128
9855
  ownerAccount?: string;
9129
9856
  ownerId?: number;
9130
9857
  plannedEndTime?: string;
9131
9858
  plannedStartTime?: string;
9132
9859
  resourceOwnerAccount?: string;
9133
9860
  resourceOwnerId?: number;
9861
+ VPCId?: string;
9134
9862
  vSwitchId?: string;
9135
9863
  zoneId?: string;
9136
9864
  static names(): { [key: string]: string } {
9137
9865
  return {
9138
9866
  DBClusterId: 'DBClusterId',
9139
9867
  fromTimeService: 'FromTimeService',
9868
+ isSwitchOverForDisaster: 'IsSwitchOverForDisaster',
9140
9869
  ownerAccount: 'OwnerAccount',
9141
9870
  ownerId: 'OwnerId',
9142
9871
  plannedEndTime: 'PlannedEndTime',
9143
9872
  plannedStartTime: 'PlannedStartTime',
9144
9873
  resourceOwnerAccount: 'ResourceOwnerAccount',
9145
9874
  resourceOwnerId: 'ResourceOwnerId',
9875
+ VPCId: 'VPCId',
9146
9876
  vSwitchId: 'VSwitchId',
9147
9877
  zoneId: 'ZoneId',
9148
9878
  };
@@ -9152,12 +9882,14 @@ export class ModifyDBClusterPrimaryZoneRequest extends $tea.Model {
9152
9882
  return {
9153
9883
  DBClusterId: 'string',
9154
9884
  fromTimeService: 'boolean',
9885
+ isSwitchOverForDisaster: 'string',
9155
9886
  ownerAccount: 'string',
9156
9887
  ownerId: 'number',
9157
9888
  plannedEndTime: 'string',
9158
9889
  plannedStartTime: 'string',
9159
9890
  resourceOwnerAccount: 'string',
9160
9891
  resourceOwnerId: 'number',
9892
+ VPCId: 'string',
9161
9893
  vSwitchId: 'string',
9162
9894
  zoneId: 'string',
9163
9895
  };
@@ -9476,6 +10208,102 @@ export class ModifyDBClusterServerlessConfResponse extends $tea.Model {
9476
10208
  }
9477
10209
  }
9478
10210
 
10211
+ export class ModifyDBClusterStorageSpaceRequest extends $tea.Model {
10212
+ clientToken?: string;
10213
+ DBClusterId?: string;
10214
+ ownerAccount?: string;
10215
+ ownerId?: number;
10216
+ plannedEndTime?: string;
10217
+ plannedStartTime?: string;
10218
+ resourceOwnerAccount?: string;
10219
+ resourceOwnerId?: number;
10220
+ storageSpace?: number;
10221
+ subCategory?: string;
10222
+ static names(): { [key: string]: string } {
10223
+ return {
10224
+ clientToken: 'ClientToken',
10225
+ DBClusterId: 'DBClusterId',
10226
+ ownerAccount: 'OwnerAccount',
10227
+ ownerId: 'OwnerId',
10228
+ plannedEndTime: 'PlannedEndTime',
10229
+ plannedStartTime: 'PlannedStartTime',
10230
+ resourceOwnerAccount: 'ResourceOwnerAccount',
10231
+ resourceOwnerId: 'ResourceOwnerId',
10232
+ storageSpace: 'StorageSpace',
10233
+ subCategory: 'SubCategory',
10234
+ };
10235
+ }
10236
+
10237
+ static types(): { [key: string]: any } {
10238
+ return {
10239
+ clientToken: 'string',
10240
+ DBClusterId: 'string',
10241
+ ownerAccount: 'string',
10242
+ ownerId: 'number',
10243
+ plannedEndTime: 'string',
10244
+ plannedStartTime: 'string',
10245
+ resourceOwnerAccount: 'string',
10246
+ resourceOwnerId: 'number',
10247
+ storageSpace: 'number',
10248
+ subCategory: 'string',
10249
+ };
10250
+ }
10251
+
10252
+ constructor(map?: { [key: string]: any }) {
10253
+ super(map);
10254
+ }
10255
+ }
10256
+
10257
+ export class ModifyDBClusterStorageSpaceResponseBody extends $tea.Model {
10258
+ DBClusterId?: string;
10259
+ orderId?: string;
10260
+ requestId?: string;
10261
+ static names(): { [key: string]: string } {
10262
+ return {
10263
+ DBClusterId: 'DBClusterId',
10264
+ orderId: 'OrderId',
10265
+ requestId: 'RequestId',
10266
+ };
10267
+ }
10268
+
10269
+ static types(): { [key: string]: any } {
10270
+ return {
10271
+ DBClusterId: 'string',
10272
+ orderId: 'string',
10273
+ requestId: 'string',
10274
+ };
10275
+ }
10276
+
10277
+ constructor(map?: { [key: string]: any }) {
10278
+ super(map);
10279
+ }
10280
+ }
10281
+
10282
+ export class ModifyDBClusterStorageSpaceResponse extends $tea.Model {
10283
+ headers: { [key: string]: string };
10284
+ statusCode: number;
10285
+ body: ModifyDBClusterStorageSpaceResponseBody;
10286
+ static names(): { [key: string]: string } {
10287
+ return {
10288
+ headers: 'headers',
10289
+ statusCode: 'statusCode',
10290
+ body: 'body',
10291
+ };
10292
+ }
10293
+
10294
+ static types(): { [key: string]: any } {
10295
+ return {
10296
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10297
+ statusCode: 'number',
10298
+ body: ModifyDBClusterStorageSpaceResponseBody,
10299
+ };
10300
+ }
10301
+
10302
+ constructor(map?: { [key: string]: any }) {
10303
+ super(map);
10304
+ }
10305
+ }
10306
+
9479
10307
  export class ModifyDBClusterTDERequest extends $tea.Model {
9480
10308
  DBClusterId?: string;
9481
10309
  encryptNewTables?: string;
@@ -9836,6 +10664,93 @@ export class ModifyDBNodeClassResponse extends $tea.Model {
9836
10664
  }
9837
10665
  }
9838
10666
 
10667
+ export class ModifyDBNodeHotReplicaModeRequest extends $tea.Model {
10668
+ DBClusterId?: string;
10669
+ DBNodeId?: string;
10670
+ hotReplicaMode?: string;
10671
+ ownerAccount?: string;
10672
+ ownerId?: number;
10673
+ resourceOwnerAccount?: string;
10674
+ resourceOwnerId?: number;
10675
+ static names(): { [key: string]: string } {
10676
+ return {
10677
+ DBClusterId: 'DBClusterId',
10678
+ DBNodeId: 'DBNodeId',
10679
+ hotReplicaMode: 'HotReplicaMode',
10680
+ ownerAccount: 'OwnerAccount',
10681
+ ownerId: 'OwnerId',
10682
+ resourceOwnerAccount: 'ResourceOwnerAccount',
10683
+ resourceOwnerId: 'ResourceOwnerId',
10684
+ };
10685
+ }
10686
+
10687
+ static types(): { [key: string]: any } {
10688
+ return {
10689
+ DBClusterId: 'string',
10690
+ DBNodeId: 'string',
10691
+ hotReplicaMode: 'string',
10692
+ ownerAccount: 'string',
10693
+ ownerId: 'number',
10694
+ resourceOwnerAccount: 'string',
10695
+ resourceOwnerId: 'number',
10696
+ };
10697
+ }
10698
+
10699
+ constructor(map?: { [key: string]: any }) {
10700
+ super(map);
10701
+ }
10702
+ }
10703
+
10704
+ export class ModifyDBNodeHotReplicaModeResponseBody extends $tea.Model {
10705
+ DBClusterId?: string;
10706
+ orderId?: string;
10707
+ requestId?: string;
10708
+ static names(): { [key: string]: string } {
10709
+ return {
10710
+ DBClusterId: 'DBClusterId',
10711
+ orderId: 'OrderId',
10712
+ requestId: 'RequestId',
10713
+ };
10714
+ }
10715
+
10716
+ static types(): { [key: string]: any } {
10717
+ return {
10718
+ DBClusterId: 'string',
10719
+ orderId: 'string',
10720
+ requestId: 'string',
10721
+ };
10722
+ }
10723
+
10724
+ constructor(map?: { [key: string]: any }) {
10725
+ super(map);
10726
+ }
10727
+ }
10728
+
10729
+ export class ModifyDBNodeHotReplicaModeResponse extends $tea.Model {
10730
+ headers: { [key: string]: string };
10731
+ statusCode: number;
10732
+ body: ModifyDBNodeHotReplicaModeResponseBody;
10733
+ static names(): { [key: string]: string } {
10734
+ return {
10735
+ headers: 'headers',
10736
+ statusCode: 'statusCode',
10737
+ body: 'body',
10738
+ };
10739
+ }
10740
+
10741
+ static types(): { [key: string]: any } {
10742
+ return {
10743
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10744
+ statusCode: 'number',
10745
+ body: ModifyDBNodeHotReplicaModeResponseBody,
10746
+ };
10747
+ }
10748
+
10749
+ constructor(map?: { [key: string]: any }) {
10750
+ super(map);
10751
+ }
10752
+ }
10753
+
9839
10754
  export class ModifyDBNodesClassRequest extends $tea.Model {
9840
10755
  clientToken?: string;
9841
10756
  DBClusterId?: string;
@@ -10645,6 +11560,8 @@ export class ModifyPendingMaintenanceActionResponse extends $tea.Model {
10645
11560
 
10646
11561
  export class OpenAITaskRequest extends $tea.Model {
10647
11562
  DBClusterId?: string;
11563
+ describeType?: string;
11564
+ nodeType?: string;
10648
11565
  ownerAccount?: string;
10649
11566
  ownerId?: number;
10650
11567
  password?: string;
@@ -10656,6 +11573,8 @@ export class OpenAITaskRequest extends $tea.Model {
10656
11573
  static names(): { [key: string]: string } {
10657
11574
  return {
10658
11575
  DBClusterId: 'DBClusterId',
11576
+ describeType: 'DescribeType',
11577
+ nodeType: 'NodeType',
10659
11578
  ownerAccount: 'OwnerAccount',
10660
11579
  ownerId: 'OwnerId',
10661
11580
  password: 'Password',
@@ -10670,6 +11589,8 @@ export class OpenAITaskRequest extends $tea.Model {
10670
11589
  static types(): { [key: string]: any } {
10671
11590
  return {
10672
11591
  DBClusterId: 'string',
11592
+ describeType: 'string',
11593
+ nodeType: 'string',
10673
11594
  ownerAccount: 'string',
10674
11595
  ownerId: 'number',
10675
11596
  password: 'string',
@@ -10911,13 +11832,97 @@ export class ResetAccountRequest extends $tea.Model {
10911
11832
 
10912
11833
  static types(): { [key: string]: any } {
10913
11834
  return {
10914
- accountName: 'string',
10915
- accountPassword: 'string',
11835
+ accountName: 'string',
11836
+ accountPassword: 'string',
11837
+ DBClusterId: 'string',
11838
+ ownerAccount: 'string',
11839
+ ownerId: 'number',
11840
+ resourceOwnerAccount: 'string',
11841
+ resourceOwnerId: 'number',
11842
+ };
11843
+ }
11844
+
11845
+ constructor(map?: { [key: string]: any }) {
11846
+ super(map);
11847
+ }
11848
+ }
11849
+
11850
+ export class ResetAccountResponseBody extends $tea.Model {
11851
+ requestId?: string;
11852
+ static names(): { [key: string]: string } {
11853
+ return {
11854
+ requestId: 'RequestId',
11855
+ };
11856
+ }
11857
+
11858
+ static types(): { [key: string]: any } {
11859
+ return {
11860
+ requestId: 'string',
11861
+ };
11862
+ }
11863
+
11864
+ constructor(map?: { [key: string]: any }) {
11865
+ super(map);
11866
+ }
11867
+ }
11868
+
11869
+ export class ResetAccountResponse extends $tea.Model {
11870
+ headers: { [key: string]: string };
11871
+ statusCode: number;
11872
+ body: ResetAccountResponseBody;
11873
+ static names(): { [key: string]: string } {
11874
+ return {
11875
+ headers: 'headers',
11876
+ statusCode: 'statusCode',
11877
+ body: 'body',
11878
+ };
11879
+ }
11880
+
11881
+ static types(): { [key: string]: any } {
11882
+ return {
11883
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11884
+ statusCode: 'number',
11885
+ body: ResetAccountResponseBody,
11886
+ };
11887
+ }
11888
+
11889
+ constructor(map?: { [key: string]: any }) {
11890
+ super(map);
11891
+ }
11892
+ }
11893
+
11894
+ export class ResetGlobalDatabaseNetworkRequest extends $tea.Model {
11895
+ DBClusterId?: string;
11896
+ GDNId?: string;
11897
+ ownerAccount?: string;
11898
+ ownerId?: number;
11899
+ regionId?: string;
11900
+ resourceOwnerAccount?: string;
11901
+ resourceOwnerId?: number;
11902
+ securityToken?: string;
11903
+ static names(): { [key: string]: string } {
11904
+ return {
11905
+ DBClusterId: 'DBClusterId',
11906
+ GDNId: 'GDNId',
11907
+ ownerAccount: 'OwnerAccount',
11908
+ ownerId: 'OwnerId',
11909
+ regionId: 'RegionId',
11910
+ resourceOwnerAccount: 'ResourceOwnerAccount',
11911
+ resourceOwnerId: 'ResourceOwnerId',
11912
+ securityToken: 'SecurityToken',
11913
+ };
11914
+ }
11915
+
11916
+ static types(): { [key: string]: any } {
11917
+ return {
10916
11918
  DBClusterId: 'string',
11919
+ GDNId: 'string',
10917
11920
  ownerAccount: 'string',
10918
11921
  ownerId: 'number',
11922
+ regionId: 'string',
10919
11923
  resourceOwnerAccount: 'string',
10920
11924
  resourceOwnerId: 'number',
11925
+ securityToken: 'string',
10921
11926
  };
10922
11927
  }
10923
11928
 
@@ -10926,7 +11931,7 @@ export class ResetAccountRequest extends $tea.Model {
10926
11931
  }
10927
11932
  }
10928
11933
 
10929
- export class ResetAccountResponseBody extends $tea.Model {
11934
+ export class ResetGlobalDatabaseNetworkResponseBody extends $tea.Model {
10930
11935
  requestId?: string;
10931
11936
  static names(): { [key: string]: string } {
10932
11937
  return {
@@ -10945,10 +11950,10 @@ export class ResetAccountResponseBody extends $tea.Model {
10945
11950
  }
10946
11951
  }
10947
11952
 
10948
- export class ResetAccountResponse extends $tea.Model {
11953
+ export class ResetGlobalDatabaseNetworkResponse extends $tea.Model {
10949
11954
  headers: { [key: string]: string };
10950
11955
  statusCode: number;
10951
- body: ResetAccountResponseBody;
11956
+ body: ResetGlobalDatabaseNetworkResponseBody;
10952
11957
  static names(): { [key: string]: string } {
10953
11958
  return {
10954
11959
  headers: 'headers',
@@ -10961,7 +11966,7 @@ export class ResetAccountResponse extends $tea.Model {
10961
11966
  return {
10962
11967
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10963
11968
  statusCode: 'number',
10964
- body: ResetAccountResponseBody,
11969
+ body: ResetGlobalDatabaseNetworkResponseBody,
10965
11970
  };
10966
11971
  }
10967
11972
 
@@ -11771,6 +12776,7 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
11771
12776
  plannedStartTime?: string;
11772
12777
  resourceOwnerAccount?: string;
11773
12778
  resourceOwnerId?: number;
12779
+ targetDBRevisionVersionCode?: string;
11774
12780
  upgradeLabel?: string;
11775
12781
  upgradePolicy?: string;
11776
12782
  upgradeType?: string;
@@ -11784,6 +12790,7 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
11784
12790
  plannedStartTime: 'PlannedStartTime',
11785
12791
  resourceOwnerAccount: 'ResourceOwnerAccount',
11786
12792
  resourceOwnerId: 'ResourceOwnerId',
12793
+ targetDBRevisionVersionCode: 'TargetDBRevisionVersionCode',
11787
12794
  upgradeLabel: 'UpgradeLabel',
11788
12795
  upgradePolicy: 'UpgradePolicy',
11789
12796
  upgradeType: 'UpgradeType',
@@ -11800,6 +12807,7 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
11800
12807
  plannedStartTime: 'string',
11801
12808
  resourceOwnerAccount: 'string',
11802
12809
  resourceOwnerId: 'number',
12810
+ targetDBRevisionVersionCode: 'string',
11803
12811
  upgradeLabel: 'string',
11804
12812
  upgradePolicy: 'string',
11805
12813
  upgradeType: 'string',
@@ -11877,6 +12885,28 @@ export class CreateDBClusterRequestTag extends $tea.Model {
11877
12885
  }
11878
12886
  }
11879
12887
 
12888
+ export class CreateDBEndpointAddressRequestZoneInfo extends $tea.Model {
12889
+ vSwitchId?: string;
12890
+ zoneId?: string;
12891
+ static names(): { [key: string]: string } {
12892
+ return {
12893
+ vSwitchId: 'VSwitchId',
12894
+ zoneId: 'ZoneId',
12895
+ };
12896
+ }
12897
+
12898
+ static types(): { [key: string]: any } {
12899
+ return {
12900
+ vSwitchId: 'string',
12901
+ zoneId: 'string',
12902
+ };
12903
+ }
12904
+
12905
+ constructor(map?: { [key: string]: any }) {
12906
+ super(map);
12907
+ }
12908
+ }
12909
+
11880
12910
  export class CreateDBNodesRequestDBNode extends $tea.Model {
11881
12911
  targetClass?: string;
11882
12912
  zoneId?: string;
@@ -12216,6 +13246,8 @@ export class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
12216
13246
  backupsLevel?: string;
12217
13247
  consistentTime?: string;
12218
13248
  DBClusterId?: string;
13249
+ expectExpireTime?: string;
13250
+ expectExpireType?: string;
12219
13251
  isAvail?: string;
12220
13252
  static names(): { [key: string]: string } {
12221
13253
  return {
@@ -12230,6 +13262,8 @@ export class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
12230
13262
  backupsLevel: 'BackupsLevel',
12231
13263
  consistentTime: 'ConsistentTime',
12232
13264
  DBClusterId: 'DBClusterId',
13265
+ expectExpireTime: 'ExpectExpireTime',
13266
+ expectExpireType: 'ExpectExpireType',
12233
13267
  isAvail: 'IsAvail',
12234
13268
  };
12235
13269
  }
@@ -12247,6 +13281,8 @@ export class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
12247
13281
  backupsLevel: 'string',
12248
13282
  consistentTime: 'string',
12249
13283
  DBClusterId: 'string',
13284
+ expectExpireTime: 'string',
13285
+ expectExpireType: 'string',
12250
13286
  isAvail: 'string',
12251
13287
  };
12252
13288
  }
@@ -12301,7 +13337,14 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
12301
13337
  cpu?: string;
12302
13338
  maxConnections?: string;
12303
13339
  maxIOPS?: string;
13340
+ maxStorageCapacity?: string;
12304
13341
  memoryClass?: string;
13342
+ pl1MaxIOPS?: string;
13343
+ pl2MaxIOPS?: string;
13344
+ pl3MaxIOPS?: string;
13345
+ psl4MaxIOPS?: string;
13346
+ psl5MaxIOPS?: string;
13347
+ referenceExtPrice?: string;
12305
13348
  referencePrice?: string;
12306
13349
  static names(): { [key: string]: string } {
12307
13350
  return {
@@ -12311,7 +13354,14 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
12311
13354
  cpu: 'Cpu',
12312
13355
  maxConnections: 'MaxConnections',
12313
13356
  maxIOPS: 'MaxIOPS',
13357
+ maxStorageCapacity: 'MaxStorageCapacity',
12314
13358
  memoryClass: 'MemoryClass',
13359
+ pl1MaxIOPS: 'Pl1MaxIOPS',
13360
+ pl2MaxIOPS: 'Pl2MaxIOPS',
13361
+ pl3MaxIOPS: 'Pl3MaxIOPS',
13362
+ psl4MaxIOPS: 'Psl4MaxIOPS',
13363
+ psl5MaxIOPS: 'Psl5MaxIOPS',
13364
+ referenceExtPrice: 'ReferenceExtPrice',
12315
13365
  referencePrice: 'ReferencePrice',
12316
13366
  };
12317
13367
  }
@@ -12324,7 +13374,14 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
12324
13374
  cpu: 'string',
12325
13375
  maxConnections: 'string',
12326
13376
  maxIOPS: 'string',
13377
+ maxStorageCapacity: 'string',
12327
13378
  memoryClass: 'string',
13379
+ pl1MaxIOPS: 'string',
13380
+ pl2MaxIOPS: 'string',
13381
+ pl3MaxIOPS: 'string',
13382
+ psl4MaxIOPS: 'string',
13383
+ psl5MaxIOPS: 'string',
13384
+ referenceExtPrice: 'string',
12328
13385
  referencePrice: 'string',
12329
13386
  };
12330
13387
  }
@@ -12434,6 +13491,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
12434
13491
  maxIOPS?: number;
12435
13492
  sccMode?: string;
12436
13493
  serverWeight?: string;
13494
+ serverlessType?: string;
12437
13495
  zoneId?: string;
12438
13496
  static names(): { [key: string]: string } {
12439
13497
  return {
@@ -12451,6 +13509,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
12451
13509
  maxIOPS: 'MaxIOPS',
12452
13510
  sccMode: 'SccMode',
12453
13511
  serverWeight: 'ServerWeight',
13512
+ serverlessType: 'ServerlessType',
12454
13513
  zoneId: 'ZoneId',
12455
13514
  };
12456
13515
  }
@@ -12471,6 +13530,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
12471
13530
  maxIOPS: 'number',
12472
13531
  sccMode: 'string',
12473
13532
  serverWeight: 'string',
13533
+ serverlessType: 'string',
12474
13534
  zoneId: 'string',
12475
13535
  };
12476
13536
  }
@@ -12781,6 +13841,68 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointList extends $tea.
12781
13841
  }
12782
13842
  }
12783
13843
 
13844
+ export class DescribeDBClusterParametersResponseBodyParametersParameters extends $tea.Model {
13845
+ isEqual?: string;
13846
+ distParameterDescription?: string;
13847
+ distParameterName?: string;
13848
+ distParameterOptional?: string;
13849
+ distParameterValue?: string;
13850
+ rdsParameterDescription?: string;
13851
+ rdsParameterName?: string;
13852
+ rdsParameterOptional?: string;
13853
+ rdsParameterValue?: string;
13854
+ static names(): { [key: string]: string } {
13855
+ return {
13856
+ isEqual: 'IsEqual',
13857
+ distParameterDescription: 'distParameterDescription',
13858
+ distParameterName: 'distParameterName',
13859
+ distParameterOptional: 'distParameterOptional',
13860
+ distParameterValue: 'distParameterValue',
13861
+ rdsParameterDescription: 'rdsParameterDescription',
13862
+ rdsParameterName: 'rdsParameterName',
13863
+ rdsParameterOptional: 'rdsParameterOptional',
13864
+ rdsParameterValue: 'rdsParameterValue',
13865
+ };
13866
+ }
13867
+
13868
+ static types(): { [key: string]: any } {
13869
+ return {
13870
+ isEqual: 'string',
13871
+ distParameterDescription: 'string',
13872
+ distParameterName: 'string',
13873
+ distParameterOptional: 'string',
13874
+ distParameterValue: 'string',
13875
+ rdsParameterDescription: 'string',
13876
+ rdsParameterName: 'string',
13877
+ rdsParameterOptional: 'string',
13878
+ rdsParameterValue: 'string',
13879
+ };
13880
+ }
13881
+
13882
+ constructor(map?: { [key: string]: any }) {
13883
+ super(map);
13884
+ }
13885
+ }
13886
+
13887
+ export class DescribeDBClusterParametersResponseBodyParameters extends $tea.Model {
13888
+ parameters?: DescribeDBClusterParametersResponseBodyParametersParameters[];
13889
+ static names(): { [key: string]: string } {
13890
+ return {
13891
+ parameters: 'Parameters',
13892
+ };
13893
+ }
13894
+
13895
+ static types(): { [key: string]: any } {
13896
+ return {
13897
+ parameters: { 'type': 'array', 'itemType': DescribeDBClusterParametersResponseBodyParametersParameters },
13898
+ };
13899
+ }
13900
+
13901
+ constructor(map?: { [key: string]: any }) {
13902
+ super(map);
13903
+ }
13904
+ }
13905
+
12784
13906
  export class DescribeDBClusterParametersResponseBodyRunningParametersParameter extends $tea.Model {
12785
13907
  checkingCode?: string;
12786
13908
  dataType?: string;
@@ -12968,6 +14090,34 @@ export class DescribeDBClusterSSLResponseBodyItems extends $tea.Model {
12968
14090
  }
12969
14091
  }
12970
14092
 
14093
+ export class DescribeDBClusterVersionResponseBodyDBRevisionVersionList extends $tea.Model {
14094
+ releaseNote?: string;
14095
+ releaseType?: string;
14096
+ revisionVersionCode?: string;
14097
+ revisionVersionName?: string;
14098
+ static names(): { [key: string]: string } {
14099
+ return {
14100
+ releaseNote: 'ReleaseNote',
14101
+ releaseType: 'ReleaseType',
14102
+ revisionVersionCode: 'RevisionVersionCode',
14103
+ revisionVersionName: 'RevisionVersionName',
14104
+ };
14105
+ }
14106
+
14107
+ static types(): { [key: string]: any } {
14108
+ return {
14109
+ releaseNote: 'string',
14110
+ releaseType: 'string',
14111
+ revisionVersionCode: 'string',
14112
+ revisionVersionName: 'string',
14113
+ };
14114
+ }
14115
+
14116
+ constructor(map?: { [key: string]: any }) {
14117
+ super(map);
14118
+ }
14119
+ }
14120
+
12971
14121
  export class DescribeDBClustersRequestTag extends $tea.Model {
12972
14122
  key?: string;
12973
14123
  value?: string;
@@ -12994,14 +14144,20 @@ export class DescribeDBClustersResponseBodyItemsDBClusterDBNodesDBNode extends $
12994
14144
  DBNodeClass?: string;
12995
14145
  DBNodeId?: string;
12996
14146
  DBNodeRole?: string;
14147
+ hotReplicaMode?: string;
14148
+ imciSwitch?: string;
12997
14149
  regionId?: string;
14150
+ serverless?: string;
12998
14151
  zoneId?: string;
12999
14152
  static names(): { [key: string]: string } {
13000
14153
  return {
13001
14154
  DBNodeClass: 'DBNodeClass',
13002
14155
  DBNodeId: 'DBNodeId',
13003
14156
  DBNodeRole: 'DBNodeRole',
14157
+ hotReplicaMode: 'HotReplicaMode',
14158
+ imciSwitch: 'ImciSwitch',
13004
14159
  regionId: 'RegionId',
14160
+ serverless: 'Serverless',
13005
14161
  zoneId: 'ZoneId',
13006
14162
  };
13007
14163
  }
@@ -13011,7 +14167,10 @@ export class DescribeDBClustersResponseBodyItemsDBClusterDBNodesDBNode extends $
13011
14167
  DBNodeClass: 'string',
13012
14168
  DBNodeId: 'string',
13013
14169
  DBNodeRole: 'string',
14170
+ hotReplicaMode: 'string',
14171
+ imciSwitch: 'string',
13014
14172
  regionId: 'string',
14173
+ serverless: 'string',
13015
14174
  zoneId: 'string',
13016
14175
  };
13017
14176
  }
@@ -13082,6 +14241,7 @@ export class DescribeDBClustersResponseBodyItemsDBClusterTags extends $tea.Model
13082
14241
  }
13083
14242
 
13084
14243
  export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
14244
+ aiType?: string;
13085
14245
  category?: string;
13086
14246
  createTime?: string;
13087
14247
  DBClusterDescription?: string;
@@ -13105,11 +14265,14 @@ export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
13105
14265
  storagePayType?: string;
13106
14266
  storageSpace?: number;
13107
14267
  storageUsed?: number;
14268
+ strictConsistency?: string;
13108
14269
  tags?: DescribeDBClustersResponseBodyItemsDBClusterTags;
13109
14270
  vpcId?: string;
14271
+ vswitchId?: string;
13110
14272
  zoneId?: string;
13111
14273
  static names(): { [key: string]: string } {
13112
14274
  return {
14275
+ aiType: 'AiType',
13113
14276
  category: 'Category',
13114
14277
  createTime: 'CreateTime',
13115
14278
  DBClusterDescription: 'DBClusterDescription',
@@ -13133,14 +14296,17 @@ export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
13133
14296
  storagePayType: 'StoragePayType',
13134
14297
  storageSpace: 'StorageSpace',
13135
14298
  storageUsed: 'StorageUsed',
14299
+ strictConsistency: 'StrictConsistency',
13136
14300
  tags: 'Tags',
13137
14301
  vpcId: 'VpcId',
14302
+ vswitchId: 'VswitchId',
13138
14303
  zoneId: 'ZoneId',
13139
14304
  };
13140
14305
  }
13141
14306
 
13142
14307
  static types(): { [key: string]: any } {
13143
14308
  return {
14309
+ aiType: 'string',
13144
14310
  category: 'string',
13145
14311
  createTime: 'string',
13146
14312
  DBClusterDescription: 'string',
@@ -13164,8 +14330,10 @@ export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
13164
14330
  storagePayType: 'string',
13165
14331
  storageSpace: 'number',
13166
14332
  storageUsed: 'number',
14333
+ strictConsistency: 'string',
13167
14334
  tags: DescribeDBClustersResponseBodyItemsDBClusterTags,
13168
14335
  vpcId: 'string',
14336
+ vswitchId: 'string',
13169
14337
  zoneId: 'string',
13170
14338
  };
13171
14339
  }
@@ -13665,6 +14833,7 @@ export class DescribeDatabasesResponseBodyDatabasesDatabase extends $tea.Model {
13665
14833
  DBName?: string;
13666
14834
  DBStatus?: string;
13667
14835
  engine?: string;
14836
+ masterID?: string;
13668
14837
  static names(): { [key: string]: string } {
13669
14838
  return {
13670
14839
  accounts: 'Accounts',
@@ -13673,6 +14842,7 @@ export class DescribeDatabasesResponseBodyDatabasesDatabase extends $tea.Model {
13673
14842
  DBName: 'DBName',
13674
14843
  DBStatus: 'DBStatus',
13675
14844
  engine: 'Engine',
14845
+ masterID: 'MasterID',
13676
14846
  };
13677
14847
  }
13678
14848
 
@@ -13684,6 +14854,7 @@ export class DescribeDatabasesResponseBodyDatabasesDatabase extends $tea.Model {
13684
14854
  DBName: 'string',
13685
14855
  DBStatus: 'string',
13686
14856
  engine: 'string',
14857
+ masterID: 'string',
13687
14858
  };
13688
14859
  }
13689
14860
 
@@ -14627,67 +15798,6 @@ export class DescribeSlowLogsResponseBodyItems extends $tea.Model {
14627
15798
  }
14628
15799
  }
14629
15800
 
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
15801
  export class DescribeTasksResponseBodyTasksTask extends $tea.Model {
14692
15802
  beginTime?: string;
14693
15803
  currentStepName?: string;
@@ -14765,6 +15875,46 @@ export class DescribeTasksResponseBodyTasks extends $tea.Model {
14765
15875
  }
14766
15876
  }
14767
15877
 
15878
+ export class DescribeVSwitchesResponseBodyVSwitchs extends $tea.Model {
15879
+ availableIpAddressCount?: number;
15880
+ cidrBlock?: string;
15881
+ description?: string;
15882
+ isDefault?: boolean;
15883
+ izNo?: string;
15884
+ status?: string;
15885
+ vSwitchId?: string;
15886
+ vSwitchName?: string;
15887
+ static names(): { [key: string]: string } {
15888
+ return {
15889
+ availableIpAddressCount: 'AvailableIpAddressCount',
15890
+ cidrBlock: 'CidrBlock',
15891
+ description: 'Description',
15892
+ isDefault: 'IsDefault',
15893
+ izNo: 'IzNo',
15894
+ status: 'Status',
15895
+ vSwitchId: 'VSwitchId',
15896
+ vSwitchName: 'VSwitchName',
15897
+ };
15898
+ }
15899
+
15900
+ static types(): { [key: string]: any } {
15901
+ return {
15902
+ availableIpAddressCount: 'number',
15903
+ cidrBlock: 'string',
15904
+ description: 'string',
15905
+ isDefault: 'boolean',
15906
+ izNo: 'string',
15907
+ status: 'string',
15908
+ vSwitchId: 'string',
15909
+ vSwitchName: 'string',
15910
+ };
15911
+ }
15912
+
15913
+ constructor(map?: { [key: string]: any }) {
15914
+ super(map);
15915
+ }
15916
+ }
15917
+
14768
15918
  export class ListTagResourcesRequestTag extends $tea.Model {
14769
15919
  key?: string;
14770
15920
  value?: string;
@@ -15209,6 +16359,100 @@ export default class Client extends OpenApi {
15209
16359
  return await this.checkDBNameWithOptions(request, runtime);
15210
16360
  }
15211
16361
 
16362
+ async checkKMSAuthorizedWithOptions(request: CheckKMSAuthorizedRequest, runtime: $Util.RuntimeOptions): Promise<CheckKMSAuthorizedResponse> {
16363
+ Util.validateModel(request);
16364
+ let query = { };
16365
+ if (!Util.isUnset(request.DBClusterId)) {
16366
+ query["DBClusterId"] = request.DBClusterId;
16367
+ }
16368
+
16369
+ if (!Util.isUnset(request.ownerAccount)) {
16370
+ query["OwnerAccount"] = request.ownerAccount;
16371
+ }
16372
+
16373
+ if (!Util.isUnset(request.ownerId)) {
16374
+ query["OwnerId"] = request.ownerId;
16375
+ }
16376
+
16377
+ if (!Util.isUnset(request.regionId)) {
16378
+ query["RegionId"] = request.regionId;
16379
+ }
16380
+
16381
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
16382
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
16383
+ }
16384
+
16385
+ if (!Util.isUnset(request.resourceOwnerId)) {
16386
+ query["ResourceOwnerId"] = request.resourceOwnerId;
16387
+ }
16388
+
16389
+ if (!Util.isUnset(request.TDERegion)) {
16390
+ query["TDERegion"] = request.TDERegion;
16391
+ }
16392
+
16393
+ let req = new $OpenApi.OpenApiRequest({
16394
+ query: OpenApiUtil.query(query),
16395
+ });
16396
+ let params = new $OpenApi.Params({
16397
+ action: "CheckKMSAuthorized",
16398
+ version: "2017-08-01",
16399
+ protocol: "HTTPS",
16400
+ pathname: "/",
16401
+ method: "POST",
16402
+ authType: "AK",
16403
+ style: "RPC",
16404
+ reqBodyType: "formData",
16405
+ bodyType: "json",
16406
+ });
16407
+ return $tea.cast<CheckKMSAuthorizedResponse>(await this.callApi(params, req, runtime), new CheckKMSAuthorizedResponse({}));
16408
+ }
16409
+
16410
+ async checkKMSAuthorized(request: CheckKMSAuthorizedRequest): Promise<CheckKMSAuthorizedResponse> {
16411
+ let runtime = new $Util.RuntimeOptions({ });
16412
+ return await this.checkKMSAuthorizedWithOptions(request, runtime);
16413
+ }
16414
+
16415
+ async checkServiceLinkedRoleWithOptions(request: CheckServiceLinkedRoleRequest, runtime: $Util.RuntimeOptions): Promise<CheckServiceLinkedRoleResponse> {
16416
+ Util.validateModel(request);
16417
+ let query = { };
16418
+ if (!Util.isUnset(request.ownerAccount)) {
16419
+ query["OwnerAccount"] = request.ownerAccount;
16420
+ }
16421
+
16422
+ if (!Util.isUnset(request.ownerId)) {
16423
+ query["OwnerId"] = request.ownerId;
16424
+ }
16425
+
16426
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
16427
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
16428
+ }
16429
+
16430
+ if (!Util.isUnset(request.resourceOwnerId)) {
16431
+ query["ResourceOwnerId"] = request.resourceOwnerId;
16432
+ }
16433
+
16434
+ let req = new $OpenApi.OpenApiRequest({
16435
+ query: OpenApiUtil.query(query),
16436
+ });
16437
+ let params = new $OpenApi.Params({
16438
+ action: "CheckServiceLinkedRole",
16439
+ version: "2017-08-01",
16440
+ protocol: "HTTPS",
16441
+ pathname: "/",
16442
+ method: "POST",
16443
+ authType: "AK",
16444
+ style: "RPC",
16445
+ reqBodyType: "formData",
16446
+ bodyType: "json",
16447
+ });
16448
+ return $tea.cast<CheckServiceLinkedRoleResponse>(await this.callApi(params, req, runtime), new CheckServiceLinkedRoleResponse({}));
16449
+ }
16450
+
16451
+ async checkServiceLinkedRole(request: CheckServiceLinkedRoleRequest): Promise<CheckServiceLinkedRoleResponse> {
16452
+ let runtime = new $Util.RuntimeOptions({ });
16453
+ return await this.checkServiceLinkedRoleWithOptions(request, runtime);
16454
+ }
16455
+
15212
16456
  async closeAITaskWithOptions(request: CloseAITaskRequest, runtime: $Util.RuntimeOptions): Promise<CloseAITaskResponse> {
15213
16457
  Util.validateModel(request);
15214
16458
  let query = { };
@@ -15258,6 +16502,15 @@ export default class Client extends OpenApi {
15258
16502
  return await this.closeAITaskWithOptions(request, runtime);
15259
16503
  }
15260
16504
 
16505
+ /**
16506
+ * * You can call this operation to cancel the migration task before data migration.
16507
+ * * You can call this operation to perform the migration task after data migration.
16508
+ * > 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~~).
16509
+ *
16510
+ * @param request CloseDBClusterMigrationRequest
16511
+ * @param runtime runtime options for this request RuntimeOptions
16512
+ * @return CloseDBClusterMigrationResponse
16513
+ */
15261
16514
  async closeDBClusterMigrationWithOptions(request: CloseDBClusterMigrationRequest, runtime: $Util.RuntimeOptions): Promise<CloseDBClusterMigrationResponse> {
15262
16515
  Util.validateModel(request);
15263
16516
  let query = { };
@@ -15302,6 +16555,14 @@ export default class Client extends OpenApi {
15302
16555
  return $tea.cast<CloseDBClusterMigrationResponse>(await this.callApi(params, req, runtime), new CloseDBClusterMigrationResponse({}));
15303
16556
  }
15304
16557
 
16558
+ /**
16559
+ * * You can call this operation to cancel the migration task before data migration.
16560
+ * * You can call this operation to perform the migration task after data migration.
16561
+ * > 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~~).
16562
+ *
16563
+ * @param request CloseDBClusterMigrationRequest
16564
+ * @return CloseDBClusterMigrationResponse
16565
+ */
15305
16566
  async closeDBClusterMigration(request: CloseDBClusterMigrationRequest): Promise<CloseDBClusterMigrationResponse> {
15306
16567
  let runtime = new $Util.RuntimeOptions({ });
15307
16568
  return await this.closeDBClusterMigrationWithOptions(request, runtime);
@@ -15350,6 +16611,10 @@ export default class Client extends OpenApi {
15350
16611
  query["OwnerId"] = request.ownerId;
15351
16612
  }
15352
16613
 
16614
+ if (!Util.isUnset(request.privForAllDB)) {
16615
+ query["PrivForAllDB"] = request.privForAllDB;
16616
+ }
16617
+
15353
16618
  if (!Util.isUnset(request.resourceOwnerAccount)) {
15354
16619
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
15355
16620
  }
@@ -15380,6 +16645,16 @@ export default class Client extends OpenApi {
15380
16645
  return await this.createAccountWithOptions(request, runtime);
15381
16646
  }
15382
16647
 
16648
+ /**
16649
+ * >
16650
+ * * You can manually create up to three backups for each cluster.
16651
+ * * 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~~).
16652
+ * * 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.
16653
+ *
16654
+ * @param request CreateBackupRequest
16655
+ * @param runtime runtime options for this request RuntimeOptions
16656
+ * @return CreateBackupResponse
16657
+ */
15383
16658
  async createBackupWithOptions(request: CreateBackupRequest, runtime: $Util.RuntimeOptions): Promise<CreateBackupResponse> {
15384
16659
  Util.validateModel(request);
15385
16660
  let query = { };
@@ -15424,6 +16699,15 @@ export default class Client extends OpenApi {
15424
16699
  return $tea.cast<CreateBackupResponse>(await this.callApi(params, req, runtime), new CreateBackupResponse({}));
15425
16700
  }
15426
16701
 
16702
+ /**
16703
+ * >
16704
+ * * You can manually create up to three backups for each cluster.
16705
+ * * 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~~).
16706
+ * * 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.
16707
+ *
16708
+ * @param request CreateBackupRequest
16709
+ * @return CreateBackupResponse
16710
+ */
15427
16711
  async createBackup(request: CreateBackupRequest): Promise<CreateBackupResponse> {
15428
16712
  let runtime = new $Util.RuntimeOptions({ });
15429
16713
  return await this.createBackupWithOptions(request, runtime);
@@ -15436,6 +16720,10 @@ export default class Client extends OpenApi {
15436
16720
  query["AllowShutDown"] = request.allowShutDown;
15437
16721
  }
15438
16722
 
16723
+ if (!Util.isUnset(request.architecture)) {
16724
+ query["Architecture"] = request.architecture;
16725
+ }
16726
+
15439
16727
  if (!Util.isUnset(request.autoRenew)) {
15440
16728
  query["AutoRenew"] = request.autoRenew;
15441
16729
  }
@@ -15476,6 +16764,10 @@ export default class Client extends OpenApi {
15476
16764
  query["DBNodeClass"] = request.DBNodeClass;
15477
16765
  }
15478
16766
 
16767
+ if (!Util.isUnset(request.DBNodeNum)) {
16768
+ query["DBNodeNum"] = request.DBNodeNum;
16769
+ }
16770
+
15479
16771
  if (!Util.isUnset(request.DBType)) {
15480
16772
  query["DBType"] = request.DBType;
15481
16773
  }
@@ -15492,6 +16784,22 @@ export default class Client extends OpenApi {
15492
16784
  query["GDNId"] = request.GDNId;
15493
16785
  }
15494
16786
 
16787
+ if (!Util.isUnset(request.hotStandbyCluster)) {
16788
+ query["HotStandbyCluster"] = request.hotStandbyCluster;
16789
+ }
16790
+
16791
+ if (!Util.isUnset(request.loosePolarLogBin)) {
16792
+ query["LoosePolarLogBin"] = request.loosePolarLogBin;
16793
+ }
16794
+
16795
+ if (!Util.isUnset(request.looseXEngine)) {
16796
+ query["LooseXEngine"] = request.looseXEngine;
16797
+ }
16798
+
16799
+ if (!Util.isUnset(request.looseXEngineUseMemoryPct)) {
16800
+ query["LooseXEngineUseMemoryPct"] = request.looseXEngineUseMemoryPct;
16801
+ }
16802
+
15495
16803
  if (!Util.isUnset(request.lowerCaseTableNames)) {
15496
16804
  query["LowerCaseTableNames"] = request.lowerCaseTableNames;
15497
16805
  }
@@ -15516,6 +16824,14 @@ export default class Client extends OpenApi {
15516
16824
  query["Period"] = request.period;
15517
16825
  }
15518
16826
 
16827
+ if (!Util.isUnset(request.proxyClass)) {
16828
+ query["ProxyClass"] = request.proxyClass;
16829
+ }
16830
+
16831
+ if (!Util.isUnset(request.proxyType)) {
16832
+ query["ProxyType"] = request.proxyType;
16833
+ }
16834
+
15519
16835
  if (!Util.isUnset(request.regionId)) {
15520
16836
  query["RegionId"] = request.regionId;
15521
16837
  }
@@ -15560,10 +16876,34 @@ export default class Client extends OpenApi {
15560
16876
  query["SourceResourceId"] = request.sourceResourceId;
15561
16877
  }
15562
16878
 
16879
+ if (!Util.isUnset(request.standbyAZ)) {
16880
+ query["StandbyAZ"] = request.standbyAZ;
16881
+ }
16882
+
16883
+ if (!Util.isUnset(request.storageAutoScale)) {
16884
+ query["StorageAutoScale"] = request.storageAutoScale;
16885
+ }
16886
+
16887
+ if (!Util.isUnset(request.storagePayType)) {
16888
+ query["StoragePayType"] = request.storagePayType;
16889
+ }
16890
+
16891
+ if (!Util.isUnset(request.storageSpace)) {
16892
+ query["StorageSpace"] = request.storageSpace;
16893
+ }
16894
+
15563
16895
  if (!Util.isUnset(request.storageType)) {
15564
16896
  query["StorageType"] = request.storageType;
15565
16897
  }
15566
16898
 
16899
+ if (!Util.isUnset(request.storageUpperBound)) {
16900
+ query["StorageUpperBound"] = request.storageUpperBound;
16901
+ }
16902
+
16903
+ if (!Util.isUnset(request.strictConsistency)) {
16904
+ query["StrictConsistency"] = request.strictConsistency;
16905
+ }
16906
+
15567
16907
  if (!Util.isUnset(request.TDEStatus)) {
15568
16908
  query["TDEStatus"] = request.TDEStatus;
15569
16909
  }
@@ -15683,6 +17023,13 @@ export default class Client extends OpenApi {
15683
17023
  return await this.createDBClusterEndpointWithOptions(request, runtime);
15684
17024
  }
15685
17025
 
17026
+ /**
17027
+ * > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
17028
+ *
17029
+ * @param request CreateDBEndpointAddressRequest
17030
+ * @param runtime runtime options for this request RuntimeOptions
17031
+ * @return CreateDBEndpointAddressResponse
17032
+ */
15686
17033
  async createDBEndpointAddressWithOptions(request: CreateDBEndpointAddressRequest, runtime: $Util.RuntimeOptions): Promise<CreateDBEndpointAddressResponse> {
15687
17034
  Util.validateModel(request);
15688
17035
  let query = { };
@@ -15710,12 +17057,24 @@ export default class Client extends OpenApi {
15710
17057
  query["OwnerId"] = request.ownerId;
15711
17058
  }
15712
17059
 
15713
- if (!Util.isUnset(request.resourceOwnerAccount)) {
15714
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
17060
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
17061
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
17062
+ }
17063
+
17064
+ if (!Util.isUnset(request.resourceOwnerId)) {
17065
+ query["ResourceOwnerId"] = request.resourceOwnerId;
17066
+ }
17067
+
17068
+ if (!Util.isUnset(request.securityGroupId)) {
17069
+ query["SecurityGroupId"] = request.securityGroupId;
17070
+ }
17071
+
17072
+ if (!Util.isUnset(request.VPCId)) {
17073
+ query["VPCId"] = request.VPCId;
15715
17074
  }
15716
17075
 
15717
- if (!Util.isUnset(request.resourceOwnerId)) {
15718
- query["ResourceOwnerId"] = request.resourceOwnerId;
17076
+ if (!Util.isUnset(request.zoneInfo)) {
17077
+ query["ZoneInfo"] = request.zoneInfo;
15719
17078
  }
15720
17079
 
15721
17080
  let req = new $OpenApi.OpenApiRequest({
@@ -15735,11 +17094,27 @@ export default class Client extends OpenApi {
15735
17094
  return $tea.cast<CreateDBEndpointAddressResponse>(await this.callApi(params, req, runtime), new CreateDBEndpointAddressResponse({}));
15736
17095
  }
15737
17096
 
17097
+ /**
17098
+ * > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
17099
+ *
17100
+ * @param request CreateDBEndpointAddressRequest
17101
+ * @return CreateDBEndpointAddressResponse
17102
+ */
15738
17103
  async createDBEndpointAddress(request: CreateDBEndpointAddressRequest): Promise<CreateDBEndpointAddressResponse> {
15739
17104
  let runtime = new $Util.RuntimeOptions({ });
15740
17105
  return await this.createDBEndpointAddressWithOptions(request, runtime);
15741
17106
  }
15742
17107
 
17108
+ /**
17109
+ * 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.
17110
+ * > * You can create up to 10 database links for a cluster.
17111
+ * > * Each database link connects a source cluster and a destination cluster.
17112
+ * > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
17113
+ *
17114
+ * @param request CreateDBLinkRequest
17115
+ * @param runtime runtime options for this request RuntimeOptions
17116
+ * @return CreateDBLinkResponse
17117
+ */
15743
17118
  async createDBLinkWithOptions(request: CreateDBLinkRequest, runtime: $Util.RuntimeOptions): Promise<CreateDBLinkResponse> {
15744
17119
  Util.validateModel(request);
15745
17120
  let query = { };
@@ -15828,6 +17203,15 @@ export default class Client extends OpenApi {
15828
17203
  return $tea.cast<CreateDBLinkResponse>(await this.callApi(params, req, runtime), new CreateDBLinkResponse({}));
15829
17204
  }
15830
17205
 
17206
+ /**
17207
+ * 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.
17208
+ * > * You can create up to 10 database links for a cluster.
17209
+ * > * Each database link connects a source cluster and a destination cluster.
17210
+ * > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
17211
+ *
17212
+ * @param request CreateDBLinkRequest
17213
+ * @return CreateDBLinkResponse
17214
+ */
15831
17215
  async createDBLink(request: CreateDBLinkRequest): Promise<CreateDBLinkResponse> {
15832
17216
  let runtime = new $Util.RuntimeOptions({ });
15833
17217
  return await this.createDBLinkWithOptions(request, runtime);
@@ -15848,6 +17232,10 @@ export default class Client extends OpenApi {
15848
17232
  query["DBNode"] = request.DBNode;
15849
17233
  }
15850
17234
 
17235
+ if (!Util.isUnset(request.DBNodeType)) {
17236
+ query["DBNodeType"] = request.DBNodeType;
17237
+ }
17238
+
15851
17239
  if (!Util.isUnset(request.endpointBindList)) {
15852
17240
  query["EndpointBindList"] = request.endpointBindList;
15853
17241
  }
@@ -15906,6 +17294,15 @@ export default class Client extends OpenApi {
15906
17294
  return await this.createDBNodesWithOptions(request, runtime);
15907
17295
  }
15908
17296
 
17297
+ /**
17298
+ * Before you call this operation, make sure that the following requirements are met:
17299
+ * * The cluster is in the Running state.
17300
+ * * The cluster is unlocked.
17301
+ *
17302
+ * @param request CreateDatabaseRequest
17303
+ * @param runtime runtime options for this request RuntimeOptions
17304
+ * @return CreateDatabaseResponse
17305
+ */
15909
17306
  async createDatabaseWithOptions(request: CreateDatabaseRequest, runtime: $Util.RuntimeOptions): Promise<CreateDatabaseResponse> {
15910
17307
  Util.validateModel(request);
15911
17308
  let query = { };
@@ -15974,11 +17371,26 @@ export default class Client extends OpenApi {
15974
17371
  return $tea.cast<CreateDatabaseResponse>(await this.callApi(params, req, runtime), new CreateDatabaseResponse({}));
15975
17372
  }
15976
17373
 
17374
+ /**
17375
+ * Before you call this operation, make sure that the following requirements are met:
17376
+ * * The cluster is in the Running state.
17377
+ * * The cluster is unlocked.
17378
+ *
17379
+ * @param request CreateDatabaseRequest
17380
+ * @return CreateDatabaseResponse
17381
+ */
15977
17382
  async createDatabase(request: CreateDatabaseRequest): Promise<CreateDatabaseResponse> {
15978
17383
  let runtime = new $Util.RuntimeOptions({ });
15979
17384
  return await this.createDatabaseWithOptions(request, runtime);
15980
17385
  }
15981
17386
 
17387
+ /**
17388
+ * > A cluster belongs to only one GDN.
17389
+ *
17390
+ * @param request CreateGlobalDatabaseNetworkRequest
17391
+ * @param runtime runtime options for this request RuntimeOptions
17392
+ * @return CreateGlobalDatabaseNetworkResponse
17393
+ */
15982
17394
  async createGlobalDatabaseNetworkWithOptions(request: CreateGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<CreateGlobalDatabaseNetworkResponse> {
15983
17395
  Util.validateModel(request);
15984
17396
  let query = { };
@@ -16031,6 +17443,12 @@ export default class Client extends OpenApi {
16031
17443
  return $tea.cast<CreateGlobalDatabaseNetworkResponse>(await this.callApi(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
16032
17444
  }
16033
17445
 
17446
+ /**
17447
+ * > A cluster belongs to only one GDN.
17448
+ *
17449
+ * @param request CreateGlobalDatabaseNetworkRequest
17450
+ * @return CreateGlobalDatabaseNetworkResponse
17451
+ */
16034
17452
  async createGlobalDatabaseNetwork(request: CreateGlobalDatabaseNetworkRequest): Promise<CreateGlobalDatabaseNetworkResponse> {
16035
17453
  let runtime = new $Util.RuntimeOptions({ });
16036
17454
  return await this.createGlobalDatabaseNetworkWithOptions(request, runtime);
@@ -16097,6 +17515,14 @@ export default class Client extends OpenApi {
16097
17515
  return await this.createGlobalSecurityIPGroupWithOptions(request, runtime);
16098
17516
  }
16099
17517
 
17518
+ /**
17519
+ * 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~~).
17520
+ * > You can call this operation only on a PolarDB for MySQL cluster.
17521
+ *
17522
+ * @param request CreateParameterGroupRequest
17523
+ * @param runtime runtime options for this request RuntimeOptions
17524
+ * @return CreateParameterGroupResponse
17525
+ */
16100
17526
  async createParameterGroupWithOptions(request: CreateParameterGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateParameterGroupResponse> {
16101
17527
  Util.validateModel(request);
16102
17528
  let query = { };
@@ -16161,11 +17587,59 @@ export default class Client extends OpenApi {
16161
17587
  return $tea.cast<CreateParameterGroupResponse>(await this.callApi(params, req, runtime), new CreateParameterGroupResponse({}));
16162
17588
  }
16163
17589
 
17590
+ /**
17591
+ * 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~~).
17592
+ * > You can call this operation only on a PolarDB for MySQL cluster.
17593
+ *
17594
+ * @param request CreateParameterGroupRequest
17595
+ * @return CreateParameterGroupResponse
17596
+ */
16164
17597
  async createParameterGroup(request: CreateParameterGroupRequest): Promise<CreateParameterGroupResponse> {
16165
17598
  let runtime = new $Util.RuntimeOptions({ });
16166
17599
  return await this.createParameterGroupWithOptions(request, runtime);
16167
17600
  }
16168
17601
 
17602
+ async createServiceLinkedRoleWithOptions(request: CreateServiceLinkedRoleRequest, runtime: $Util.RuntimeOptions): Promise<CreateServiceLinkedRoleResponse> {
17603
+ Util.validateModel(request);
17604
+ let query = { };
17605
+ if (!Util.isUnset(request.ownerAccount)) {
17606
+ query["OwnerAccount"] = request.ownerAccount;
17607
+ }
17608
+
17609
+ if (!Util.isUnset(request.ownerId)) {
17610
+ query["OwnerId"] = request.ownerId;
17611
+ }
17612
+
17613
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
17614
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
17615
+ }
17616
+
17617
+ if (!Util.isUnset(request.resourceOwnerId)) {
17618
+ query["ResourceOwnerId"] = request.resourceOwnerId;
17619
+ }
17620
+
17621
+ let req = new $OpenApi.OpenApiRequest({
17622
+ query: OpenApiUtil.query(query),
17623
+ });
17624
+ let params = new $OpenApi.Params({
17625
+ action: "CreateServiceLinkedRole",
17626
+ version: "2017-08-01",
17627
+ protocol: "HTTPS",
17628
+ pathname: "/",
17629
+ method: "POST",
17630
+ authType: "AK",
17631
+ style: "RPC",
17632
+ reqBodyType: "formData",
17633
+ bodyType: "json",
17634
+ });
17635
+ return $tea.cast<CreateServiceLinkedRoleResponse>(await this.callApi(params, req, runtime), new CreateServiceLinkedRoleResponse({}));
17636
+ }
17637
+
17638
+ async createServiceLinkedRole(request: CreateServiceLinkedRoleRequest): Promise<CreateServiceLinkedRoleResponse> {
17639
+ let runtime = new $Util.RuntimeOptions({ });
17640
+ return await this.createServiceLinkedRoleWithOptions(request, runtime);
17641
+ }
17642
+
16169
17643
  async createStoragePlanWithOptions(request: CreateStoragePlanRequest, runtime: $Util.RuntimeOptions): Promise<CreateStoragePlanResponse> {
16170
17644
  Util.validateModel(request);
16171
17645
  let query = { };
@@ -16227,6 +17701,13 @@ export default class Client extends OpenApi {
16227
17701
  return await this.createStoragePlanWithOptions(request, runtime);
16228
17702
  }
16229
17703
 
17704
+ /**
17705
+ * > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
17706
+ *
17707
+ * @param request DeleteAccountRequest
17708
+ * @param runtime runtime options for this request RuntimeOptions
17709
+ * @return DeleteAccountResponse
17710
+ */
16230
17711
  async deleteAccountWithOptions(request: DeleteAccountRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAccountResponse> {
16231
17712
  Util.validateModel(request);
16232
17713
  let query = { };
@@ -16271,11 +17752,28 @@ export default class Client extends OpenApi {
16271
17752
  return $tea.cast<DeleteAccountResponse>(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
16272
17753
  }
16273
17754
 
17755
+ /**
17756
+ * > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
17757
+ *
17758
+ * @param request DeleteAccountRequest
17759
+ * @return DeleteAccountResponse
17760
+ */
16274
17761
  async deleteAccount(request: DeleteAccountRequest): Promise<DeleteAccountResponse> {
16275
17762
  let runtime = new $Util.RuntimeOptions({ });
16276
17763
  return await this.deleteAccountWithOptions(request, runtime);
16277
17764
  }
16278
17765
 
17766
+ /**
17767
+ * Before you call this operation, make sure that the cluster meets the following requirements:
17768
+ * * The cluster is in the Running state.
17769
+ * * The backup sets are in the Success state.
17770
+ * > * You can call the [DescribeBackups](~~98102~~) operation to query the status of backup sets.
17771
+ * >* 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
17772
+ *
17773
+ * @param request DeleteBackupRequest
17774
+ * @param runtime runtime options for this request RuntimeOptions
17775
+ * @return DeleteBackupResponse
17776
+ */
16279
17777
  async deleteBackupWithOptions(request: DeleteBackupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteBackupResponse> {
16280
17778
  Util.validateModel(request);
16281
17779
  let query = { };
@@ -16320,6 +17818,16 @@ export default class Client extends OpenApi {
16320
17818
  return $tea.cast<DeleteBackupResponse>(await this.callApi(params, req, runtime), new DeleteBackupResponse({}));
16321
17819
  }
16322
17820
 
17821
+ /**
17822
+ * Before you call this operation, make sure that the cluster meets the following requirements:
17823
+ * * The cluster is in the Running state.
17824
+ * * The backup sets are in the Success state.
17825
+ * > * You can call the [DescribeBackups](~~98102~~) operation to query the status of backup sets.
17826
+ * >* 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
17827
+ *
17828
+ * @param request DeleteBackupRequest
17829
+ * @return DeleteBackupResponse
17830
+ */
16323
17831
  async deleteBackup(request: DeleteBackupRequest): Promise<DeleteBackupResponse> {
16324
17832
  let runtime = new $Util.RuntimeOptions({ });
16325
17833
  return await this.deleteBackupWithOptions(request, runtime);
@@ -16423,6 +17931,14 @@ export default class Client extends OpenApi {
16423
17931
  return await this.deleteDBClusterEndpointWithOptions(request, runtime);
16424
17932
  }
16425
17933
 
17934
+ /**
17935
+ * > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
17936
+ * > * 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).
17937
+ *
17938
+ * @param request DeleteDBEndpointAddressRequest
17939
+ * @param runtime runtime options for this request RuntimeOptions
17940
+ * @return DeleteDBEndpointAddressResponse
17941
+ */
16426
17942
  async deleteDBEndpointAddressWithOptions(request: DeleteDBEndpointAddressRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDBEndpointAddressResponse> {
16427
17943
  Util.validateModel(request);
16428
17944
  let query = { };
@@ -16471,6 +17987,13 @@ export default class Client extends OpenApi {
16471
17987
  return $tea.cast<DeleteDBEndpointAddressResponse>(await this.callApi(params, req, runtime), new DeleteDBEndpointAddressResponse({}));
16472
17988
  }
16473
17989
 
17990
+ /**
17991
+ * > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
17992
+ * > * 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).
17993
+ *
17994
+ * @param request DeleteDBEndpointAddressRequest
17995
+ * @return DeleteDBEndpointAddressResponse
17996
+ */
16474
17997
  async deleteDBEndpointAddress(request: DeleteDBEndpointAddressRequest): Promise<DeleteDBEndpointAddressResponse> {
16475
17998
  let runtime = new $Util.RuntimeOptions({ });
16476
17999
  return await this.deleteDBEndpointAddressWithOptions(request, runtime);
@@ -16540,6 +18063,10 @@ export default class Client extends OpenApi {
16540
18063
  query["DBNodeId"] = request.DBNodeId;
16541
18064
  }
16542
18065
 
18066
+ if (!Util.isUnset(request.DBNodeType)) {
18067
+ query["DBNodeType"] = request.DBNodeType;
18068
+ }
18069
+
16543
18070
  if (!Util.isUnset(request.ownerAccount)) {
16544
18071
  query["OwnerAccount"] = request.ownerAccount;
16545
18072
  }
@@ -16578,6 +18105,14 @@ export default class Client extends OpenApi {
16578
18105
  return await this.deleteDBNodesWithOptions(request, runtime);
16579
18106
  }
16580
18107
 
18108
+ /**
18109
+ * >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
18110
+ * >- 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.
18111
+ *
18112
+ * @param request DeleteDatabaseRequest
18113
+ * @param runtime runtime options for this request RuntimeOptions
18114
+ * @return DeleteDatabaseResponse
18115
+ */
16581
18116
  async deleteDatabaseWithOptions(request: DeleteDatabaseRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDatabaseResponse> {
16582
18117
  Util.validateModel(request);
16583
18118
  let query = { };
@@ -16622,11 +18157,25 @@ export default class Client extends OpenApi {
16622
18157
  return $tea.cast<DeleteDatabaseResponse>(await this.callApi(params, req, runtime), new DeleteDatabaseResponse({}));
16623
18158
  }
16624
18159
 
18160
+ /**
18161
+ * >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
18162
+ * >- 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.
18163
+ *
18164
+ * @param request DeleteDatabaseRequest
18165
+ * @return DeleteDatabaseResponse
18166
+ */
16625
18167
  async deleteDatabase(request: DeleteDatabaseRequest): Promise<DeleteDatabaseResponse> {
16626
18168
  let runtime = new $Util.RuntimeOptions({ });
16627
18169
  return await this.deleteDatabaseWithOptions(request, runtime);
16628
18170
  }
16629
18171
 
18172
+ /**
18173
+ * > You can delete a GDN only when the GDN includes only a primary cluster.
18174
+ *
18175
+ * @param request DeleteGlobalDatabaseNetworkRequest
18176
+ * @param runtime runtime options for this request RuntimeOptions
18177
+ * @return DeleteGlobalDatabaseNetworkResponse
18178
+ */
16630
18179
  async deleteGlobalDatabaseNetworkWithOptions(request: DeleteGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<DeleteGlobalDatabaseNetworkResponse> {
16631
18180
  Util.validateModel(request);
16632
18181
  let query = { };
@@ -16675,6 +18224,12 @@ export default class Client extends OpenApi {
16675
18224
  return $tea.cast<DeleteGlobalDatabaseNetworkResponse>(await this.callApi(params, req, runtime), new DeleteGlobalDatabaseNetworkResponse({}));
16676
18225
  }
16677
18226
 
18227
+ /**
18228
+ * > You can delete a GDN only when the GDN includes only a primary cluster.
18229
+ *
18230
+ * @param request DeleteGlobalDatabaseNetworkRequest
18231
+ * @return DeleteGlobalDatabaseNetworkResponse
18232
+ */
16678
18233
  async deleteGlobalDatabaseNetwork(request: DeleteGlobalDatabaseNetworkRequest): Promise<DeleteGlobalDatabaseNetworkResponse> {
16679
18234
  let runtime = new $Util.RuntimeOptions({ });
16680
18235
  return await this.deleteGlobalDatabaseNetworkWithOptions(request, runtime);
@@ -16774,6 +18329,14 @@ export default class Client extends OpenApi {
16774
18329
  return await this.deleteMaskingRulesWithOptions(request, runtime);
16775
18330
  }
16776
18331
 
18332
+ /**
18333
+ * 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~~).
18334
+ * > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
18335
+ *
18336
+ * @param request DeleteParameterGroupRequest
18337
+ * @param runtime runtime options for this request RuntimeOptions
18338
+ * @return DeleteParameterGroupResponse
18339
+ */
16777
18340
  async deleteParameterGroupWithOptions(request: DeleteParameterGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteParameterGroupResponse> {
16778
18341
  Util.validateModel(request);
16779
18342
  let query = { };
@@ -16822,6 +18385,13 @@ export default class Client extends OpenApi {
16822
18385
  return $tea.cast<DeleteParameterGroupResponse>(await this.callApi(params, req, runtime), new DeleteParameterGroupResponse({}));
16823
18386
  }
16824
18387
 
18388
+ /**
18389
+ * 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~~).
18390
+ * > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
18391
+ *
18392
+ * @param request DeleteParameterGroupRequest
18393
+ * @return DeleteParameterGroupResponse
18394
+ */
16825
18395
  async deleteParameterGroup(request: DeleteParameterGroupRequest): Promise<DeleteParameterGroupResponse> {
16826
18396
  let runtime = new $Util.RuntimeOptions({ });
16827
18397
  return await this.deleteParameterGroupWithOptions(request, runtime);
@@ -17266,6 +18836,10 @@ export default class Client extends OpenApi {
17266
18836
  query["CommodityCode"] = request.commodityCode;
17267
18837
  }
17268
18838
 
18839
+ if (!Util.isUnset(request.masterHa)) {
18840
+ query["MasterHa"] = request.masterHa;
18841
+ }
18842
+
17269
18843
  if (!Util.isUnset(request.orderType)) {
17270
18844
  query["OrderType"] = request.orderType;
17271
18845
  }
@@ -17368,6 +18942,10 @@ export default class Client extends OpenApi {
17368
18942
  query["DBClusterId"] = request.DBClusterId;
17369
18943
  }
17370
18944
 
18945
+ if (!Util.isUnset(request.describeType)) {
18946
+ query["DescribeType"] = request.describeType;
18947
+ }
18948
+
17371
18949
  if (!Util.isUnset(request.ownerAccount)) {
17372
18950
  query["OwnerAccount"] = request.ownerAccount;
17373
18951
  }
@@ -17516,6 +19094,63 @@ export default class Client extends OpenApi {
17516
19094
  return await this.describeDBClusterAvailableResourcesWithOptions(request, runtime);
17517
19095
  }
17518
19096
 
19097
+ async describeDBClusterConnectivityWithOptions(request: DescribeDBClusterConnectivityRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterConnectivityResponse> {
19098
+ Util.validateModel(request);
19099
+ let query = { };
19100
+ if (!Util.isUnset(request.DBClusterId)) {
19101
+ query["DBClusterId"] = request.DBClusterId;
19102
+ }
19103
+
19104
+ if (!Util.isUnset(request.ownerAccount)) {
19105
+ query["OwnerAccount"] = request.ownerAccount;
19106
+ }
19107
+
19108
+ if (!Util.isUnset(request.ownerId)) {
19109
+ query["OwnerId"] = request.ownerId;
19110
+ }
19111
+
19112
+ if (!Util.isUnset(request.resourceGroupId)) {
19113
+ query["ResourceGroupId"] = request.resourceGroupId;
19114
+ }
19115
+
19116
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
19117
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19118
+ }
19119
+
19120
+ if (!Util.isUnset(request.resourceOwnerId)) {
19121
+ query["ResourceOwnerId"] = request.resourceOwnerId;
19122
+ }
19123
+
19124
+ if (!Util.isUnset(request.securityToken)) {
19125
+ query["SecurityToken"] = request.securityToken;
19126
+ }
19127
+
19128
+ if (!Util.isUnset(request.sourceIpAddress)) {
19129
+ query["SourceIpAddress"] = request.sourceIpAddress;
19130
+ }
19131
+
19132
+ let req = new $OpenApi.OpenApiRequest({
19133
+ query: OpenApiUtil.query(query),
19134
+ });
19135
+ let params = new $OpenApi.Params({
19136
+ action: "DescribeDBClusterConnectivity",
19137
+ version: "2017-08-01",
19138
+ protocol: "HTTPS",
19139
+ pathname: "/",
19140
+ method: "POST",
19141
+ authType: "AK",
19142
+ style: "RPC",
19143
+ reqBodyType: "formData",
19144
+ bodyType: "json",
19145
+ });
19146
+ return $tea.cast<DescribeDBClusterConnectivityResponse>(await this.callApi(params, req, runtime), new DescribeDBClusterConnectivityResponse({}));
19147
+ }
19148
+
19149
+ async describeDBClusterConnectivity(request: DescribeDBClusterConnectivityRequest): Promise<DescribeDBClusterConnectivityResponse> {
19150
+ let runtime = new $Util.RuntimeOptions({ });
19151
+ return await this.describeDBClusterConnectivityWithOptions(request, runtime);
19152
+ }
19153
+
17519
19154
  async describeDBClusterEndpointsWithOptions(request: DescribeDBClusterEndpointsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterEndpointsResponse> {
17520
19155
  Util.validateModel(request);
17521
19156
  let query = { };
@@ -17527,6 +19162,10 @@ export default class Client extends OpenApi {
17527
19162
  query["DBEndpointId"] = request.DBEndpointId;
17528
19163
  }
17529
19164
 
19165
+ if (!Util.isUnset(request.describeType)) {
19166
+ query["DescribeType"] = request.describeType;
19167
+ }
19168
+
17530
19169
  if (!Util.isUnset(request.ownerAccount)) {
17531
19170
  query["OwnerAccount"] = request.ownerAccount;
17532
19171
  }
@@ -17565,6 +19204,14 @@ export default class Client extends OpenApi {
17565
19204
  return await this.describeDBClusterEndpointsWithOptions(request, runtime);
17566
19205
  }
17567
19206
 
19207
+ /**
19208
+ * * 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~~).
19209
+ * * 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**.
19210
+ *
19211
+ * @param request DescribeDBClusterMigrationRequest
19212
+ * @param runtime runtime options for this request RuntimeOptions
19213
+ * @return DescribeDBClusterMigrationResponse
19214
+ */
17568
19215
  async describeDBClusterMigrationWithOptions(request: DescribeDBClusterMigrationRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterMigrationResponse> {
17569
19216
  Util.validateModel(request);
17570
19217
  let query = { };
@@ -17605,6 +19252,13 @@ export default class Client extends OpenApi {
17605
19252
  return $tea.cast<DescribeDBClusterMigrationResponse>(await this.callApi(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
17606
19253
  }
17607
19254
 
19255
+ /**
19256
+ * * 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~~).
19257
+ * * 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**.
19258
+ *
19259
+ * @param request DescribeDBClusterMigrationRequest
19260
+ * @return DescribeDBClusterMigrationResponse
19261
+ */
17608
19262
  async describeDBClusterMigration(request: DescribeDBClusterMigrationRequest): Promise<DescribeDBClusterMigrationResponse> {
17609
19263
  let runtime = new $Util.RuntimeOptions({ });
17610
19264
  return await this.describeDBClusterMigrationWithOptions(request, runtime);
@@ -17662,6 +19316,10 @@ export default class Client extends OpenApi {
17662
19316
  query["DBClusterId"] = request.DBClusterId;
17663
19317
  }
17664
19318
 
19319
+ if (!Util.isUnset(request.describeType)) {
19320
+ query["DescribeType"] = request.describeType;
19321
+ }
19322
+
17665
19323
  if (!Util.isUnset(request.ownerAccount)) {
17666
19324
  query["OwnerAccount"] = request.ownerAccount;
17667
19325
  }
@@ -17700,6 +19358,24 @@ export default class Client extends OpenApi {
17700
19358
  return await this.describeDBClusterParametersWithOptions(request, runtime);
17701
19359
  }
17702
19360
 
19361
+ /**
19362
+ * * When the monitoring data is collected every 5 seconds:
19363
+ * * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
19364
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19365
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19366
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19367
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19368
+ * * When the monitoring data is collected every 60 seconds:
19369
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19370
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19371
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19372
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19373
+ * > 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.
19374
+ *
19375
+ * @param request DescribeDBClusterPerformanceRequest
19376
+ * @param runtime runtime options for this request RuntimeOptions
19377
+ * @return DescribeDBClusterPerformanceResponse
19378
+ */
17703
19379
  async describeDBClusterPerformanceWithOptions(request: DescribeDBClusterPerformanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterPerformanceResponse> {
17704
19380
  Util.validateModel(request);
17705
19381
  let query = { };
@@ -17736,6 +19412,23 @@ export default class Client extends OpenApi {
17736
19412
  return $tea.cast<DescribeDBClusterPerformanceResponse>(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
17737
19413
  }
17738
19414
 
19415
+ /**
19416
+ * * When the monitoring data is collected every 5 seconds:
19417
+ * * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
19418
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19419
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19420
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19421
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19422
+ * * When the monitoring data is collected every 60 seconds:
19423
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19424
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19425
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19426
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19427
+ * > 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.
19428
+ *
19429
+ * @param request DescribeDBClusterPerformanceRequest
19430
+ * @return DescribeDBClusterPerformanceResponse
19431
+ */
17739
19432
  async describeDBClusterPerformance(request: DescribeDBClusterPerformanceRequest): Promise<DescribeDBClusterPerformanceResponse> {
17740
19433
  let runtime = new $Util.RuntimeOptions({ });
17741
19434
  return await this.describeDBClusterPerformanceWithOptions(request, runtime);
@@ -17876,6 +19569,13 @@ export default class Client extends OpenApi {
17876
19569
  return await this.describeDBClusterTDEWithOptions(request, runtime);
17877
19570
  }
17878
19571
 
19572
+ /**
19573
+ * > For more information, see [Engine versions](~~471239~~) and [PolarDB for MySQL](~~172561~~).
19574
+ *
19575
+ * @param request DescribeDBClusterVersionRequest
19576
+ * @param runtime runtime options for this request RuntimeOptions
19577
+ * @return DescribeDBClusterVersionResponse
19578
+ */
17879
19579
  async describeDBClusterVersionWithOptions(request: DescribeDBClusterVersionRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterVersionResponse> {
17880
19580
  Util.validateModel(request);
17881
19581
  let query = { };
@@ -17916,6 +19616,12 @@ export default class Client extends OpenApi {
17916
19616
  return $tea.cast<DescribeDBClusterVersionResponse>(await this.callApi(params, req, runtime), new DescribeDBClusterVersionResponse({}));
17917
19617
  }
17918
19618
 
19619
+ /**
19620
+ * > For more information, see [Engine versions](~~471239~~) and [PolarDB for MySQL](~~172561~~).
19621
+ *
19622
+ * @param request DescribeDBClusterVersionRequest
19623
+ * @return DescribeDBClusterVersionResponse
19624
+ */
17919
19625
  async describeDBClusterVersion(request: DescribeDBClusterVersionRequest): Promise<DescribeDBClusterVersionResponse> {
17920
19626
  let runtime = new $Util.RuntimeOptions({ });
17921
19627
  return await this.describeDBClusterVersionWithOptions(request, runtime);
@@ -18148,6 +19854,13 @@ export default class Client extends OpenApi {
18148
19854
  return await this.describeDBInitializeVariableWithOptions(request, runtime);
18149
19855
  }
18150
19856
 
19857
+ /**
19858
+ * > You can query only the database links that use a PolarDB for Oracle cluster as the source.
19859
+ *
19860
+ * @param request DescribeDBLinksRequest
19861
+ * @param runtime runtime options for this request RuntimeOptions
19862
+ * @return DescribeDBLinksResponse
19863
+ */
18151
19864
  async describeDBLinksWithOptions(request: DescribeDBLinksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBLinksResponse> {
18152
19865
  Util.validateModel(request);
18153
19866
  let query = { };
@@ -18192,11 +19905,35 @@ export default class Client extends OpenApi {
18192
19905
  return $tea.cast<DescribeDBLinksResponse>(await this.callApi(params, req, runtime), new DescribeDBLinksResponse({}));
18193
19906
  }
18194
19907
 
19908
+ /**
19909
+ * > You can query only the database links that use a PolarDB for Oracle cluster as the source.
19910
+ *
19911
+ * @param request DescribeDBLinksRequest
19912
+ * @return DescribeDBLinksResponse
19913
+ */
18195
19914
  async describeDBLinks(request: DescribeDBLinksRequest): Promise<DescribeDBLinksResponse> {
18196
19915
  let runtime = new $Util.RuntimeOptions({ });
18197
19916
  return await this.describeDBLinksWithOptions(request, runtime);
18198
19917
  }
18199
19918
 
19919
+ /**
19920
+ * * When the monitoring data is collected every 5 seconds:
19921
+ * * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
19922
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19923
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19924
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19925
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19926
+ * * When the monitoring data is collected every 60 seconds:
19927
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19928
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19929
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19930
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19931
+ * > 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.
19932
+ *
19933
+ * @param request DescribeDBNodePerformanceRequest
19934
+ * @param runtime runtime options for this request RuntimeOptions
19935
+ * @return DescribeDBNodePerformanceResponse
19936
+ */
18200
19937
  async describeDBNodePerformanceWithOptions(request: DescribeDBNodePerformanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBNodePerformanceResponse> {
18201
19938
  Util.validateModel(request);
18202
19939
  let query = { };
@@ -18237,6 +19974,23 @@ export default class Client extends OpenApi {
18237
19974
  return $tea.cast<DescribeDBNodePerformanceResponse>(await this.callApi(params, req, runtime), new DescribeDBNodePerformanceResponse({}));
18238
19975
  }
18239
19976
 
19977
+ /**
19978
+ * * When the monitoring data is collected every 5 seconds:
19979
+ * * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
19980
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19981
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19982
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19983
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19984
+ * * When the monitoring data is collected every 60 seconds:
19985
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
19986
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
19987
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
19988
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
19989
+ * > 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.
19990
+ *
19991
+ * @param request DescribeDBNodePerformanceRequest
19992
+ * @return DescribeDBNodePerformanceResponse
19993
+ */
18240
19994
  async describeDBNodePerformance(request: DescribeDBNodePerformanceRequest): Promise<DescribeDBNodePerformanceResponse> {
18241
19995
  let runtime = new $Util.RuntimeOptions({ });
18242
19996
  return await this.describeDBNodePerformanceWithOptions(request, runtime);
@@ -18291,6 +20045,13 @@ export default class Client extends OpenApi {
18291
20045
  return await this.describeDBNodesParametersWithOptions(request, runtime);
18292
20046
  }
18293
20047
 
20048
+ /**
20049
+ * > This operation is applicable only to PolarDB for MySQL clusters.
20050
+ *
20051
+ * @param request DescribeDBProxyPerformanceRequest
20052
+ * @param runtime runtime options for this request RuntimeOptions
20053
+ * @return DescribeDBProxyPerformanceResponse
20054
+ */
18294
20055
  async describeDBProxyPerformanceWithOptions(request: DescribeDBProxyPerformanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBProxyPerformanceResponse> {
18295
20056
  Util.validateModel(request);
18296
20057
  let query = { };
@@ -18327,6 +20088,12 @@ export default class Client extends OpenApi {
18327
20088
  return $tea.cast<DescribeDBProxyPerformanceResponse>(await this.callApi(params, req, runtime), new DescribeDBProxyPerformanceResponse({}));
18328
20089
  }
18329
20090
 
20091
+ /**
20092
+ * > This operation is applicable only to PolarDB for MySQL clusters.
20093
+ *
20094
+ * @param request DescribeDBProxyPerformanceRequest
20095
+ * @return DescribeDBProxyPerformanceResponse
20096
+ */
18330
20097
  async describeDBProxyPerformance(request: DescribeDBProxyPerformanceRequest): Promise<DescribeDBProxyPerformanceResponse> {
18331
20098
  let runtime = new $Util.RuntimeOptions({ });
18332
20099
  return await this.describeDBProxyPerformanceWithOptions(request, runtime);
@@ -18389,6 +20156,14 @@ export default class Client extends OpenApi {
18389
20156
  return await this.describeDatabasesWithOptions(request, runtime);
18390
20157
  }
18391
20158
 
20159
+ /**
20160
+ * 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.
20161
+ * > You can call the [DescribeDBClusterAttribute](~~98181~~) operation to query the cluster status.
20162
+ *
20163
+ * @param request DescribeDetachedBackupsRequest
20164
+ * @param runtime runtime options for this request RuntimeOptions
20165
+ * @return DescribeDetachedBackupsResponse
20166
+ */
18392
20167
  async describeDetachedBackupsWithOptions(request: DescribeDetachedBackupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDetachedBackupsResponse> {
18393
20168
  Util.validateModel(request);
18394
20169
  let query = { };
@@ -18461,6 +20236,13 @@ export default class Client extends OpenApi {
18461
20236
  return $tea.cast<DescribeDetachedBackupsResponse>(await this.callApi(params, req, runtime), new DescribeDetachedBackupsResponse({}));
18462
20237
  }
18463
20238
 
20239
+ /**
20240
+ * 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.
20241
+ * > You can call the [DescribeDBClusterAttribute](~~98181~~) operation to query the cluster status.
20242
+ *
20243
+ * @param request DescribeDetachedBackupsRequest
20244
+ * @return DescribeDetachedBackupsResponse
20245
+ */
18464
20246
  async describeDetachedBackups(request: DescribeDetachedBackupsRequest): Promise<DescribeDetachedBackupsResponse> {
18465
20247
  let runtime = new $Util.RuntimeOptions({ });
18466
20248
  return await this.describeDetachedBackupsWithOptions(request, runtime);
@@ -18526,6 +20308,10 @@ export default class Client extends OpenApi {
18526
20308
  query["DBClusterId"] = request.DBClusterId;
18527
20309
  }
18528
20310
 
20311
+ if (!Util.isUnset(request.filterRegion)) {
20312
+ query["FilterRegion"] = request.filterRegion;
20313
+ }
20314
+
18529
20315
  if (!Util.isUnset(request.GDNDescription)) {
18530
20316
  query["GDNDescription"] = request.GDNDescription;
18531
20317
  }
@@ -18849,6 +20635,14 @@ export default class Client extends OpenApi {
18849
20635
  return await this.describeMetaListWithOptions(request, runtime);
18850
20636
  }
18851
20637
 
20638
+ /**
20639
+ * 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~~).
20640
+ * > This parameter is valid only for a PolarDB for MySQL cluster.
20641
+ *
20642
+ * @param request DescribeParameterGroupRequest
20643
+ * @param runtime runtime options for this request RuntimeOptions
20644
+ * @return DescribeParameterGroupResponse
20645
+ */
18852
20646
  async describeParameterGroupWithOptions(request: DescribeParameterGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeParameterGroupResponse> {
18853
20647
  Util.validateModel(request);
18854
20648
  let query = { };
@@ -18897,11 +20691,26 @@ export default class Client extends OpenApi {
18897
20691
  return $tea.cast<DescribeParameterGroupResponse>(await this.callApi(params, req, runtime), new DescribeParameterGroupResponse({}));
18898
20692
  }
18899
20693
 
20694
+ /**
20695
+ * 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~~).
20696
+ * > This parameter is valid only for a PolarDB for MySQL cluster.
20697
+ *
20698
+ * @param request DescribeParameterGroupRequest
20699
+ * @return DescribeParameterGroupResponse
20700
+ */
18900
20701
  async describeParameterGroup(request: DescribeParameterGroupRequest): Promise<DescribeParameterGroupResponse> {
18901
20702
  let runtime = new $Util.RuntimeOptions({ });
18902
20703
  return await this.describeParameterGroupWithOptions(request, runtime);
18903
20704
  }
18904
20705
 
20706
+ /**
20707
+ * 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~~).
20708
+ * > This operation is applicable only to PolarDB for MySQL clusters.
20709
+ *
20710
+ * @param request DescribeParameterGroupsRequest
20711
+ * @param runtime runtime options for this request RuntimeOptions
20712
+ * @return DescribeParameterGroupsResponse
20713
+ */
18905
20714
  async describeParameterGroupsWithOptions(request: DescribeParameterGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeParameterGroupsResponse> {
18906
20715
  Util.validateModel(request);
18907
20716
  let query = { };
@@ -18954,6 +20763,13 @@ export default class Client extends OpenApi {
18954
20763
  return $tea.cast<DescribeParameterGroupsResponse>(await this.callApi(params, req, runtime), new DescribeParameterGroupsResponse({}));
18955
20764
  }
18956
20765
 
20766
+ /**
20767
+ * 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~~).
20768
+ * > This operation is applicable only to PolarDB for MySQL clusters.
20769
+ *
20770
+ * @param request DescribeParameterGroupsRequest
20771
+ * @return DescribeParameterGroupsResponse
20772
+ */
18957
20773
  async describeParameterGroups(request: DescribeParameterGroupsRequest): Promise<DescribeParameterGroupsResponse> {
18958
20774
  let runtime = new $Util.RuntimeOptions({ });
18959
20775
  return await this.describeParameterGroupsWithOptions(request, runtime);
@@ -19293,6 +21109,13 @@ export default class Client extends OpenApi {
19293
21109
  return await this.describeScheduleTasksWithOptions(request, runtime);
19294
21110
  }
19295
21111
 
21112
+ /**
21113
+ * > This operation is applicable only to PolarDB for MySQL clusters.
21114
+ *
21115
+ * @param request DescribeSlowLogRecordsRequest
21116
+ * @param runtime runtime options for this request RuntimeOptions
21117
+ * @return DescribeSlowLogRecordsResponse
21118
+ */
19296
21119
  async describeSlowLogRecordsWithOptions(request: DescribeSlowLogRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlowLogRecordsResponse> {
19297
21120
  Util.validateModel(request);
19298
21121
  let query = { };
@@ -19361,11 +21184,24 @@ export default class Client extends OpenApi {
19361
21184
  return $tea.cast<DescribeSlowLogRecordsResponse>(await this.callApi(params, req, runtime), new DescribeSlowLogRecordsResponse({}));
19362
21185
  }
19363
21186
 
21187
+ /**
21188
+ * > This operation is applicable only to PolarDB for MySQL clusters.
21189
+ *
21190
+ * @param request DescribeSlowLogRecordsRequest
21191
+ * @return DescribeSlowLogRecordsResponse
21192
+ */
19364
21193
  async describeSlowLogRecords(request: DescribeSlowLogRecordsRequest): Promise<DescribeSlowLogRecordsResponse> {
19365
21194
  let runtime = new $Util.RuntimeOptions({ });
19366
21195
  return await this.describeSlowLogRecordsWithOptions(request, runtime);
19367
21196
  }
19368
21197
 
21198
+ /**
21199
+ * > This operation is applicable only to PolarDB for MySQL clusters.
21200
+ *
21201
+ * @param request DescribeSlowLogsRequest
21202
+ * @param runtime runtime options for this request RuntimeOptions
21203
+ * @return DescribeSlowLogsResponse
21204
+ */
19369
21205
  async describeSlowLogsWithOptions(request: DescribeSlowLogsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlowLogsResponse> {
19370
21206
  Util.validateModel(request);
19371
21207
  let query = { };
@@ -19430,14 +21266,40 @@ export default class Client extends OpenApi {
19430
21266
  return $tea.cast<DescribeSlowLogsResponse>(await this.callApi(params, req, runtime), new DescribeSlowLogsResponse({}));
19431
21267
  }
19432
21268
 
21269
+ /**
21270
+ * > This operation is applicable only to PolarDB for MySQL clusters.
21271
+ *
21272
+ * @param request DescribeSlowLogsRequest
21273
+ * @return DescribeSlowLogsResponse
21274
+ */
19433
21275
  async describeSlowLogs(request: DescribeSlowLogsRequest): Promise<DescribeSlowLogsResponse> {
19434
21276
  let runtime = new $Util.RuntimeOptions({ });
19435
21277
  return await this.describeSlowLogsWithOptions(request, runtime);
19436
21278
  }
19437
21279
 
19438
- async describeStoragePlanWithOptions(request: DescribeStoragePlanRequest, runtime: $Util.RuntimeOptions): Promise<DescribeStoragePlanResponse> {
21280
+ /**
21281
+ * * 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.
21282
+ * * 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`.
21283
+ *
21284
+ * @param request DescribeTasksRequest
21285
+ * @param runtime runtime options for this request RuntimeOptions
21286
+ * @return DescribeTasksResponse
21287
+ */
21288
+ async describeTasksWithOptions(request: DescribeTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTasksResponse> {
19439
21289
  Util.validateModel(request);
19440
21290
  let query = { };
21291
+ if (!Util.isUnset(request.DBClusterId)) {
21292
+ query["DBClusterId"] = request.DBClusterId;
21293
+ }
21294
+
21295
+ if (!Util.isUnset(request.DBNodeId)) {
21296
+ query["DBNodeId"] = request.DBNodeId;
21297
+ }
21298
+
21299
+ if (!Util.isUnset(request.endTime)) {
21300
+ query["EndTime"] = request.endTime;
21301
+ }
21302
+
19441
21303
  if (!Util.isUnset(request.ownerAccount)) {
19442
21304
  query["OwnerAccount"] = request.ownerAccount;
19443
21305
  }
@@ -19454,10 +21316,6 @@ export default class Client extends OpenApi {
19454
21316
  query["PageSize"] = request.pageSize;
19455
21317
  }
19456
21318
 
19457
- if (!Util.isUnset(request.resourceGroupId)) {
19458
- query["ResourceGroupId"] = request.resourceGroupId;
19459
- }
19460
-
19461
21319
  if (!Util.isUnset(request.resourceOwnerAccount)) {
19462
21320
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19463
21321
  }
@@ -19466,11 +21324,19 @@ export default class Client extends OpenApi {
19466
21324
  query["ResourceOwnerId"] = request.resourceOwnerId;
19467
21325
  }
19468
21326
 
21327
+ if (!Util.isUnset(request.startTime)) {
21328
+ query["StartTime"] = request.startTime;
21329
+ }
21330
+
21331
+ if (!Util.isUnset(request.status)) {
21332
+ query["Status"] = request.status;
21333
+ }
21334
+
19469
21335
  let req = new $OpenApi.OpenApiRequest({
19470
21336
  query: OpenApiUtil.query(query),
19471
21337
  });
19472
21338
  let params = new $OpenApi.Params({
19473
- action: "DescribeStoragePlan",
21339
+ action: "DescribeTasks",
19474
21340
  version: "2017-08-01",
19475
21341
  protocol: "HTTPS",
19476
21342
  pathname: "/",
@@ -19480,27 +21346,79 @@ export default class Client extends OpenApi {
19480
21346
  reqBodyType: "formData",
19481
21347
  bodyType: "json",
19482
21348
  });
19483
- return $tea.cast<DescribeStoragePlanResponse>(await this.callApi(params, req, runtime), new DescribeStoragePlanResponse({}));
21349
+ return $tea.cast<DescribeTasksResponse>(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
19484
21350
  }
19485
21351
 
19486
- async describeStoragePlan(request: DescribeStoragePlanRequest): Promise<DescribeStoragePlanResponse> {
21352
+ /**
21353
+ * * 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.
21354
+ * * 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`.
21355
+ *
21356
+ * @param request DescribeTasksRequest
21357
+ * @return DescribeTasksResponse
21358
+ */
21359
+ async describeTasks(request: DescribeTasksRequest): Promise<DescribeTasksResponse> {
19487
21360
  let runtime = new $Util.RuntimeOptions({ });
19488
- return await this.describeStoragePlanWithOptions(request, runtime);
21361
+ return await this.describeTasksWithOptions(request, runtime);
19489
21362
  }
19490
21363
 
19491
- async describeTasksWithOptions(request: DescribeTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTasksResponse> {
21364
+ async describeUserEncryptionKeyListWithOptions(request: DescribeUserEncryptionKeyListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserEncryptionKeyListResponse> {
19492
21365
  Util.validateModel(request);
19493
21366
  let query = { };
19494
21367
  if (!Util.isUnset(request.DBClusterId)) {
19495
21368
  query["DBClusterId"] = request.DBClusterId;
19496
21369
  }
19497
21370
 
19498
- if (!Util.isUnset(request.DBNodeId)) {
19499
- query["DBNodeId"] = request.DBNodeId;
21371
+ if (!Util.isUnset(request.ownerAccount)) {
21372
+ query["OwnerAccount"] = request.ownerAccount;
19500
21373
  }
19501
21374
 
19502
- if (!Util.isUnset(request.endTime)) {
19503
- query["EndTime"] = request.endTime;
21375
+ if (!Util.isUnset(request.ownerId)) {
21376
+ query["OwnerId"] = request.ownerId;
21377
+ }
21378
+
21379
+ if (!Util.isUnset(request.regionId)) {
21380
+ query["RegionId"] = request.regionId;
21381
+ }
21382
+
21383
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
21384
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
21385
+ }
21386
+
21387
+ if (!Util.isUnset(request.resourceOwnerId)) {
21388
+ query["ResourceOwnerId"] = request.resourceOwnerId;
21389
+ }
21390
+
21391
+ if (!Util.isUnset(request.TDERegion)) {
21392
+ query["TDERegion"] = request.TDERegion;
21393
+ }
21394
+
21395
+ let req = new $OpenApi.OpenApiRequest({
21396
+ query: OpenApiUtil.query(query),
21397
+ });
21398
+ let params = new $OpenApi.Params({
21399
+ action: "DescribeUserEncryptionKeyList",
21400
+ version: "2017-08-01",
21401
+ protocol: "HTTPS",
21402
+ pathname: "/",
21403
+ method: "POST",
21404
+ authType: "AK",
21405
+ style: "RPC",
21406
+ reqBodyType: "formData",
21407
+ bodyType: "json",
21408
+ });
21409
+ return $tea.cast<DescribeUserEncryptionKeyListResponse>(await this.callApi(params, req, runtime), new DescribeUserEncryptionKeyListResponse({}));
21410
+ }
21411
+
21412
+ async describeUserEncryptionKeyList(request: DescribeUserEncryptionKeyListRequest): Promise<DescribeUserEncryptionKeyListResponse> {
21413
+ let runtime = new $Util.RuntimeOptions({ });
21414
+ return await this.describeUserEncryptionKeyListWithOptions(request, runtime);
21415
+ }
21416
+
21417
+ async describeVSwitchesWithOptions(request: DescribeVSwitchesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVSwitchesResponse> {
21418
+ Util.validateModel(request);
21419
+ let query = { };
21420
+ if (!Util.isUnset(request.dedicatedHostGroupId)) {
21421
+ query["DedicatedHostGroupId"] = request.dedicatedHostGroupId;
19504
21422
  }
19505
21423
 
19506
21424
  if (!Util.isUnset(request.ownerAccount)) {
@@ -19519,6 +21437,14 @@ export default class Client extends OpenApi {
19519
21437
  query["PageSize"] = request.pageSize;
19520
21438
  }
19521
21439
 
21440
+ if (!Util.isUnset(request.regionId)) {
21441
+ query["RegionId"] = request.regionId;
21442
+ }
21443
+
21444
+ if (!Util.isUnset(request.resourceGroupId)) {
21445
+ query["ResourceGroupId"] = request.resourceGroupId;
21446
+ }
21447
+
19522
21448
  if (!Util.isUnset(request.resourceOwnerAccount)) {
19523
21449
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19524
21450
  }
@@ -19527,19 +21453,23 @@ export default class Client extends OpenApi {
19527
21453
  query["ResourceOwnerId"] = request.resourceOwnerId;
19528
21454
  }
19529
21455
 
19530
- if (!Util.isUnset(request.startTime)) {
19531
- query["StartTime"] = request.startTime;
21456
+ if (!Util.isUnset(request.securityToken)) {
21457
+ query["SecurityToken"] = request.securityToken;
19532
21458
  }
19533
21459
 
19534
- if (!Util.isUnset(request.status)) {
19535
- query["Status"] = request.status;
21460
+ if (!Util.isUnset(request.vpcId)) {
21461
+ query["VpcId"] = request.vpcId;
21462
+ }
21463
+
21464
+ if (!Util.isUnset(request.zoneId)) {
21465
+ query["ZoneId"] = request.zoneId;
19536
21466
  }
19537
21467
 
19538
21468
  let req = new $OpenApi.OpenApiRequest({
19539
21469
  query: OpenApiUtil.query(query),
19540
21470
  });
19541
21471
  let params = new $OpenApi.Params({
19542
- action: "DescribeTasks",
21472
+ action: "DescribeVSwitches",
19543
21473
  version: "2017-08-01",
19544
21474
  protocol: "HTTPS",
19545
21475
  pathname: "/",
@@ -19549,12 +21479,12 @@ export default class Client extends OpenApi {
19549
21479
  reqBodyType: "formData",
19550
21480
  bodyType: "json",
19551
21481
  });
19552
- return $tea.cast<DescribeTasksResponse>(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
21482
+ return $tea.cast<DescribeVSwitchesResponse>(await this.callApi(params, req, runtime), new DescribeVSwitchesResponse({}));
19553
21483
  }
19554
21484
 
19555
- async describeTasks(request: DescribeTasksRequest): Promise<DescribeTasksResponse> {
21485
+ async describeVSwitches(request: DescribeVSwitchesRequest): Promise<DescribeVSwitchesResponse> {
19556
21486
  let runtime = new $Util.RuntimeOptions({ });
19557
- return await this.describeTasksWithOptions(request, runtime);
21487
+ return await this.describeVSwitchesWithOptions(request, runtime);
19558
21488
  }
19559
21489
 
19560
21490
  async enableFirewallRulesWithOptions(request: EnableFirewallRulesRequest, runtime: $Util.RuntimeOptions): Promise<EnableFirewallRulesResponse> {
@@ -19744,6 +21674,17 @@ export default class Client extends OpenApi {
19744
21674
  return await this.failoverDBClusterWithOptions(request, runtime);
19745
21675
  }
19746
21676
 
21677
+ /**
21678
+ * > * An account can be authorized to access one or more databases.
21679
+ * > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
21680
+ * > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
21681
+ * > * You can call this operation only on a PolarDB for MySQL cluster.
21682
+ * > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
21683
+ *
21684
+ * @param request GrantAccountPrivilegeRequest
21685
+ * @param runtime runtime options for this request RuntimeOptions
21686
+ * @return GrantAccountPrivilegeResponse
21687
+ */
19747
21688
  async grantAccountPrivilegeWithOptions(request: GrantAccountPrivilegeRequest, runtime: $Util.RuntimeOptions): Promise<GrantAccountPrivilegeResponse> {
19748
21689
  Util.validateModel(request);
19749
21690
  let query = { };
@@ -19783,7 +21724,78 @@ export default class Client extends OpenApi {
19783
21724
  query: OpenApiUtil.query(query),
19784
21725
  });
19785
21726
  let params = new $OpenApi.Params({
19786
- action: "GrantAccountPrivilege",
21727
+ action: "GrantAccountPrivilege",
21728
+ version: "2017-08-01",
21729
+ protocol: "HTTPS",
21730
+ pathname: "/",
21731
+ method: "POST",
21732
+ authType: "AK",
21733
+ style: "RPC",
21734
+ reqBodyType: "formData",
21735
+ bodyType: "json",
21736
+ });
21737
+ return $tea.cast<GrantAccountPrivilegeResponse>(await this.callApi(params, req, runtime), new GrantAccountPrivilegeResponse({}));
21738
+ }
21739
+
21740
+ /**
21741
+ * > * An account can be authorized to access one or more databases.
21742
+ * > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
21743
+ * > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
21744
+ * > * You can call this operation only on a PolarDB for MySQL cluster.
21745
+ * > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
21746
+ *
21747
+ * @param request GrantAccountPrivilegeRequest
21748
+ * @return GrantAccountPrivilegeResponse
21749
+ */
21750
+ async grantAccountPrivilege(request: GrantAccountPrivilegeRequest): Promise<GrantAccountPrivilegeResponse> {
21751
+ let runtime = new $Util.RuntimeOptions({ });
21752
+ return await this.grantAccountPrivilegeWithOptions(request, runtime);
21753
+ }
21754
+
21755
+ async listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
21756
+ Util.validateModel(request);
21757
+ let query = { };
21758
+ if (!Util.isUnset(request.nextToken)) {
21759
+ query["NextToken"] = request.nextToken;
21760
+ }
21761
+
21762
+ if (!Util.isUnset(request.ownerAccount)) {
21763
+ query["OwnerAccount"] = request.ownerAccount;
21764
+ }
21765
+
21766
+ if (!Util.isUnset(request.ownerId)) {
21767
+ query["OwnerId"] = request.ownerId;
21768
+ }
21769
+
21770
+ if (!Util.isUnset(request.regionId)) {
21771
+ query["RegionId"] = request.regionId;
21772
+ }
21773
+
21774
+ if (!Util.isUnset(request.resourceId)) {
21775
+ query["ResourceId"] = request.resourceId;
21776
+ }
21777
+
21778
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
21779
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
21780
+ }
21781
+
21782
+ if (!Util.isUnset(request.resourceOwnerId)) {
21783
+ query["ResourceOwnerId"] = request.resourceOwnerId;
21784
+ }
21785
+
21786
+ if (!Util.isUnset(request.resourceType)) {
21787
+ query["ResourceType"] = request.resourceType;
21788
+ }
21789
+
21790
+ if (!Util.isUnset(request.tag)) {
21791
+ query["Tag"] = request.tag;
21792
+ }
21793
+
21794
+ let req = new $OpenApi.OpenApiRequest({
21795
+ query: OpenApiUtil.query(query),
21796
+ });
21797
+ let params = new $OpenApi.Params({
21798
+ action: "ListTagResources",
19787
21799
  version: "2017-08-01",
19788
21800
  protocol: "HTTPS",
19789
21801
  pathname: "/",
@@ -19793,19 +21805,19 @@ export default class Client extends OpenApi {
19793
21805
  reqBodyType: "formData",
19794
21806
  bodyType: "json",
19795
21807
  });
19796
- return $tea.cast<GrantAccountPrivilegeResponse>(await this.callApi(params, req, runtime), new GrantAccountPrivilegeResponse({}));
21808
+ return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
19797
21809
  }
19798
21810
 
19799
- async grantAccountPrivilege(request: GrantAccountPrivilegeRequest): Promise<GrantAccountPrivilegeResponse> {
21811
+ async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
19800
21812
  let runtime = new $Util.RuntimeOptions({ });
19801
- return await this.grantAccountPrivilegeWithOptions(request, runtime);
21813
+ return await this.listTagResourcesWithOptions(request, runtime);
19802
21814
  }
19803
21815
 
19804
- async listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
21816
+ async manuallyStartDBClusterWithOptions(request: ManuallyStartDBClusterRequest, runtime: $Util.RuntimeOptions): Promise<ManuallyStartDBClusterResponse> {
19805
21817
  Util.validateModel(request);
19806
21818
  let query = { };
19807
- if (!Util.isUnset(request.nextToken)) {
19808
- query["NextToken"] = request.nextToken;
21819
+ if (!Util.isUnset(request.DBClusterId)) {
21820
+ query["DBClusterId"] = request.DBClusterId;
19809
21821
  }
19810
21822
 
19811
21823
  if (!Util.isUnset(request.ownerAccount)) {
@@ -19820,10 +21832,6 @@ export default class Client extends OpenApi {
19820
21832
  query["RegionId"] = request.regionId;
19821
21833
  }
19822
21834
 
19823
- if (!Util.isUnset(request.resourceId)) {
19824
- query["ResourceId"] = request.resourceId;
19825
- }
19826
-
19827
21835
  if (!Util.isUnset(request.resourceOwnerAccount)) {
19828
21836
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19829
21837
  }
@@ -19832,19 +21840,11 @@ export default class Client extends OpenApi {
19832
21840
  query["ResourceOwnerId"] = request.resourceOwnerId;
19833
21841
  }
19834
21842
 
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
21843
  let req = new $OpenApi.OpenApiRequest({
19844
21844
  query: OpenApiUtil.query(query),
19845
21845
  });
19846
21846
  let params = new $OpenApi.Params({
19847
- action: "ListTagResources",
21847
+ action: "ManuallyStartDBCluster",
19848
21848
  version: "2017-08-01",
19849
21849
  protocol: "HTTPS",
19850
21850
  pathname: "/",
@@ -19854,12 +21854,12 @@ export default class Client extends OpenApi {
19854
21854
  reqBodyType: "formData",
19855
21855
  bodyType: "json",
19856
21856
  });
19857
- return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
21857
+ return $tea.cast<ManuallyStartDBClusterResponse>(await this.callApi(params, req, runtime), new ManuallyStartDBClusterResponse({}));
19858
21858
  }
19859
21859
 
19860
- async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
21860
+ async manuallyStartDBCluster(request: ManuallyStartDBClusterRequest): Promise<ManuallyStartDBClusterResponse> {
19861
21861
  let runtime = new $Util.RuntimeOptions({ });
19862
- return await this.listTagResourcesWithOptions(request, runtime);
21862
+ return await this.manuallyStartDBClusterWithOptions(request, runtime);
19863
21863
  }
19864
21864
 
19865
21865
  async modifyAccountDescriptionWithOptions(request: ModifyAccountDescriptionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAccountDescriptionResponse> {
@@ -20033,6 +22033,13 @@ export default class Client extends OpenApi {
20033
22033
  return await this.modifyAutoRenewAttributeWithOptions(request, runtime);
20034
22034
  }
20035
22035
 
22036
+ /**
22037
+ * > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](~~280422~~).
22038
+ *
22039
+ * @param request ModifyBackupPolicyRequest
22040
+ * @param runtime runtime options for this request RuntimeOptions
22041
+ * @return ModifyBackupPolicyResponse
22042
+ */
20036
22043
  async modifyBackupPolicyWithOptions(request: ModifyBackupPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ModifyBackupPolicyResponse> {
20037
22044
  Util.validateModel(request);
20038
22045
  let query = { };
@@ -20121,11 +22128,82 @@ export default class Client extends OpenApi {
20121
22128
  return $tea.cast<ModifyBackupPolicyResponse>(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
20122
22129
  }
20123
22130
 
22131
+ /**
22132
+ * > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](~~280422~~).
22133
+ *
22134
+ * @param request ModifyBackupPolicyRequest
22135
+ * @return ModifyBackupPolicyResponse
22136
+ */
20124
22137
  async modifyBackupPolicy(request: ModifyBackupPolicyRequest): Promise<ModifyBackupPolicyResponse> {
20125
22138
  let runtime = new $Util.RuntimeOptions({ });
20126
22139
  return await this.modifyBackupPolicyWithOptions(request, runtime);
20127
22140
  }
20128
22141
 
22142
+ async modifyDBClusterWithOptions(request: ModifyDBClusterRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterResponse> {
22143
+ Util.validateModel(request);
22144
+ let query = { };
22145
+ if (!Util.isUnset(request.DBClusterId)) {
22146
+ query["DBClusterId"] = request.DBClusterId;
22147
+ }
22148
+
22149
+ if (!Util.isUnset(request.dataSyncMode)) {
22150
+ query["DataSyncMode"] = request.dataSyncMode;
22151
+ }
22152
+
22153
+ if (!Util.isUnset(request.faultSimulateMode)) {
22154
+ query["FaultSimulateMode"] = request.faultSimulateMode;
22155
+ }
22156
+
22157
+ if (!Util.isUnset(request.ownerAccount)) {
22158
+ query["OwnerAccount"] = request.ownerAccount;
22159
+ }
22160
+
22161
+ if (!Util.isUnset(request.ownerId)) {
22162
+ query["OwnerId"] = request.ownerId;
22163
+ }
22164
+
22165
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
22166
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
22167
+ }
22168
+
22169
+ if (!Util.isUnset(request.resourceOwnerId)) {
22170
+ query["ResourceOwnerId"] = request.resourceOwnerId;
22171
+ }
22172
+
22173
+ if (!Util.isUnset(request.standbyHAMode)) {
22174
+ query["StandbyHAMode"] = request.standbyHAMode;
22175
+ }
22176
+
22177
+ if (!Util.isUnset(request.storageAutoScale)) {
22178
+ query["StorageAutoScale"] = request.storageAutoScale;
22179
+ }
22180
+
22181
+ if (!Util.isUnset(request.storageUpperBound)) {
22182
+ query["StorageUpperBound"] = request.storageUpperBound;
22183
+ }
22184
+
22185
+ let req = new $OpenApi.OpenApiRequest({
22186
+ query: OpenApiUtil.query(query),
22187
+ });
22188
+ let params = new $OpenApi.Params({
22189
+ action: "ModifyDBCluster",
22190
+ version: "2017-08-01",
22191
+ protocol: "HTTPS",
22192
+ pathname: "/",
22193
+ method: "POST",
22194
+ authType: "AK",
22195
+ style: "RPC",
22196
+ reqBodyType: "formData",
22197
+ bodyType: "json",
22198
+ });
22199
+ return $tea.cast<ModifyDBClusterResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
22200
+ }
22201
+
22202
+ async modifyDBCluster(request: ModifyDBClusterRequest): Promise<ModifyDBClusterResponse> {
22203
+ let runtime = new $Util.RuntimeOptions({ });
22204
+ return await this.modifyDBClusterWithOptions(request, runtime);
22205
+ }
22206
+
20129
22207
  async modifyDBClusterAccessWhitelistWithOptions(request: ModifyDBClusterAccessWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterAccessWhitelistResponse> {
20130
22208
  Util.validateModel(request);
20131
22209
  let query = { };
@@ -20480,6 +22558,13 @@ export default class Client extends OpenApi {
20480
22558
  return await this.modifyDBClusterEndpointWithOptions(request, runtime);
20481
22559
  }
20482
22560
 
22561
+ /**
22562
+ * > 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.
22563
+ *
22564
+ * @param request ModifyDBClusterMaintainTimeRequest
22565
+ * @param runtime runtime options for this request RuntimeOptions
22566
+ * @return ModifyDBClusterMaintainTimeResponse
22567
+ */
20483
22568
  async modifyDBClusterMaintainTimeWithOptions(request: ModifyDBClusterMaintainTimeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterMaintainTimeResponse> {
20484
22569
  Util.validateModel(request);
20485
22570
  let query = { };
@@ -20524,11 +22609,26 @@ export default class Client extends OpenApi {
20524
22609
  return $tea.cast<ModifyDBClusterMaintainTimeResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
20525
22610
  }
20526
22611
 
22612
+ /**
22613
+ * > 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.
22614
+ *
22615
+ * @param request ModifyDBClusterMaintainTimeRequest
22616
+ * @return ModifyDBClusterMaintainTimeResponse
22617
+ */
20527
22618
  async modifyDBClusterMaintainTime(request: ModifyDBClusterMaintainTimeRequest): Promise<ModifyDBClusterMaintainTimeResponse> {
20528
22619
  let runtime = new $Util.RuntimeOptions({ });
20529
22620
  return await this.modifyDBClusterMaintainTimeWithOptions(request, runtime);
20530
22621
  }
20531
22622
 
22623
+ /**
22624
+ * * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
22625
+ * * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
22626
+ * > 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~~).
22627
+ *
22628
+ * @param request ModifyDBClusterMigrationRequest
22629
+ * @param runtime runtime options for this request RuntimeOptions
22630
+ * @return ModifyDBClusterMigrationResponse
22631
+ */
20532
22632
  async modifyDBClusterMigrationWithOptions(request: ModifyDBClusterMigrationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterMigrationResponse> {
20533
22633
  Util.validateModel(request);
20534
22634
  let query = { };
@@ -20589,11 +22689,36 @@ export default class Client extends OpenApi {
20589
22689
  return $tea.cast<ModifyDBClusterMigrationResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterMigrationResponse({}));
20590
22690
  }
20591
22691
 
22692
+ /**
22693
+ * * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
22694
+ * * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
22695
+ * > 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~~).
22696
+ *
22697
+ * @param request ModifyDBClusterMigrationRequest
22698
+ * @return ModifyDBClusterMigrationResponse
22699
+ */
20592
22700
  async modifyDBClusterMigration(request: ModifyDBClusterMigrationRequest): Promise<ModifyDBClusterMigrationResponse> {
20593
22701
  let runtime = new $Util.RuntimeOptions({ });
20594
22702
  return await this.modifyDBClusterMigrationWithOptions(request, runtime);
20595
22703
  }
20596
22704
 
22705
+ /**
22706
+ * * When the monitoring data is collected every 5 seconds:
22707
+ * * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
22708
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
22709
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
22710
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
22711
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
22712
+ * * When the monitoring data is collected every 60 seconds:
22713
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
22714
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
22715
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
22716
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
22717
+ *
22718
+ * @param request ModifyDBClusterMonitorRequest
22719
+ * @param runtime runtime options for this request RuntimeOptions
22720
+ * @return ModifyDBClusterMonitorResponse
22721
+ */
20597
22722
  async modifyDBClusterMonitorWithOptions(request: ModifyDBClusterMonitorRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterMonitorResponse> {
20598
22723
  Util.validateModel(request);
20599
22724
  let query = { };
@@ -20638,11 +22763,36 @@ export default class Client extends OpenApi {
20638
22763
  return $tea.cast<ModifyDBClusterMonitorResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterMonitorResponse({}));
20639
22764
  }
20640
22765
 
22766
+ /**
22767
+ * * When the monitoring data is collected every 5 seconds:
22768
+ * * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
22769
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
22770
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
22771
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
22772
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
22773
+ * * When the monitoring data is collected every 60 seconds:
22774
+ * * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
22775
+ * * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
22776
+ * * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
22777
+ * * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
22778
+ *
22779
+ * @param request ModifyDBClusterMonitorRequest
22780
+ * @return ModifyDBClusterMonitorResponse
22781
+ */
20641
22782
  async modifyDBClusterMonitor(request: ModifyDBClusterMonitorRequest): Promise<ModifyDBClusterMonitorResponse> {
20642
22783
  let runtime = new $Util.RuntimeOptions({ });
20643
22784
  return await this.modifyDBClusterMonitorWithOptions(request, runtime);
20644
22785
  }
20645
22786
 
22787
+ /**
22788
+ * 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~~).
22789
+ * **
22790
+ * **Only PolarDB for MySQL clusters support parameter templates.
22791
+ *
22792
+ * @param request ModifyDBClusterParametersRequest
22793
+ * @param runtime runtime options for this request RuntimeOptions
22794
+ * @return ModifyDBClusterParametersResponse
22795
+ */
20646
22796
  async modifyDBClusterParametersWithOptions(request: ModifyDBClusterParametersRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterParametersResponse> {
20647
22797
  Util.validateModel(request);
20648
22798
  let query = { };
@@ -20703,6 +22853,14 @@ export default class Client extends OpenApi {
20703
22853
  return $tea.cast<ModifyDBClusterParametersResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterParametersResponse({}));
20704
22854
  }
20705
22855
 
22856
+ /**
22857
+ * 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~~).
22858
+ * **
22859
+ * **Only PolarDB for MySQL clusters support parameter templates.
22860
+ *
22861
+ * @param request ModifyDBClusterParametersRequest
22862
+ * @return ModifyDBClusterParametersResponse
22863
+ */
20706
22864
  async modifyDBClusterParameters(request: ModifyDBClusterParametersRequest): Promise<ModifyDBClusterParametersResponse> {
20707
22865
  let runtime = new $Util.RuntimeOptions({ });
20708
22866
  return await this.modifyDBClusterParametersWithOptions(request, runtime);
@@ -20719,6 +22877,10 @@ export default class Client extends OpenApi {
20719
22877
  query["FromTimeService"] = request.fromTimeService;
20720
22878
  }
20721
22879
 
22880
+ if (!Util.isUnset(request.isSwitchOverForDisaster)) {
22881
+ query["IsSwitchOverForDisaster"] = request.isSwitchOverForDisaster;
22882
+ }
22883
+
20722
22884
  if (!Util.isUnset(request.ownerAccount)) {
20723
22885
  query["OwnerAccount"] = request.ownerAccount;
20724
22886
  }
@@ -20743,6 +22905,10 @@ export default class Client extends OpenApi {
20743
22905
  query["ResourceOwnerId"] = request.resourceOwnerId;
20744
22906
  }
20745
22907
 
22908
+ if (!Util.isUnset(request.VPCId)) {
22909
+ query["VPCId"] = request.VPCId;
22910
+ }
22911
+
20746
22912
  if (!Util.isUnset(request.vSwitchId)) {
20747
22913
  query["VSwitchId"] = request.vSwitchId;
20748
22914
  }
@@ -20956,6 +23122,79 @@ export default class Client extends OpenApi {
20956
23122
  return await this.modifyDBClusterServerlessConfWithOptions(request, runtime);
20957
23123
  }
20958
23124
 
23125
+ async modifyDBClusterStorageSpaceWithOptions(request: ModifyDBClusterStorageSpaceRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterStorageSpaceResponse> {
23126
+ Util.validateModel(request);
23127
+ let query = { };
23128
+ if (!Util.isUnset(request.clientToken)) {
23129
+ query["ClientToken"] = request.clientToken;
23130
+ }
23131
+
23132
+ if (!Util.isUnset(request.DBClusterId)) {
23133
+ query["DBClusterId"] = request.DBClusterId;
23134
+ }
23135
+
23136
+ if (!Util.isUnset(request.ownerAccount)) {
23137
+ query["OwnerAccount"] = request.ownerAccount;
23138
+ }
23139
+
23140
+ if (!Util.isUnset(request.ownerId)) {
23141
+ query["OwnerId"] = request.ownerId;
23142
+ }
23143
+
23144
+ if (!Util.isUnset(request.plannedEndTime)) {
23145
+ query["PlannedEndTime"] = request.plannedEndTime;
23146
+ }
23147
+
23148
+ if (!Util.isUnset(request.plannedStartTime)) {
23149
+ query["PlannedStartTime"] = request.plannedStartTime;
23150
+ }
23151
+
23152
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
23153
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
23154
+ }
23155
+
23156
+ if (!Util.isUnset(request.resourceOwnerId)) {
23157
+ query["ResourceOwnerId"] = request.resourceOwnerId;
23158
+ }
23159
+
23160
+ if (!Util.isUnset(request.storageSpace)) {
23161
+ query["StorageSpace"] = request.storageSpace;
23162
+ }
23163
+
23164
+ if (!Util.isUnset(request.subCategory)) {
23165
+ query["SubCategory"] = request.subCategory;
23166
+ }
23167
+
23168
+ let req = new $OpenApi.OpenApiRequest({
23169
+ query: OpenApiUtil.query(query),
23170
+ });
23171
+ let params = new $OpenApi.Params({
23172
+ action: "ModifyDBClusterStorageSpace",
23173
+ version: "2017-08-01",
23174
+ protocol: "HTTPS",
23175
+ pathname: "/",
23176
+ method: "POST",
23177
+ authType: "AK",
23178
+ style: "RPC",
23179
+ reqBodyType: "formData",
23180
+ bodyType: "json",
23181
+ });
23182
+ return $tea.cast<ModifyDBClusterStorageSpaceResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterStorageSpaceResponse({}));
23183
+ }
23184
+
23185
+ async modifyDBClusterStorageSpace(request: ModifyDBClusterStorageSpaceRequest): Promise<ModifyDBClusterStorageSpaceResponse> {
23186
+ let runtime = new $Util.RuntimeOptions({ });
23187
+ return await this.modifyDBClusterStorageSpaceWithOptions(request, runtime);
23188
+ }
23189
+
23190
+ /**
23191
+ * > * To perform this operation, you must activate KMS first. For more information, see [Purchase a dedicated KMS instance](~~153781~~).
23192
+ * > * After TDE is enabled, you cannot disable TDE.
23193
+ *
23194
+ * @param request ModifyDBClusterTDERequest
23195
+ * @param runtime runtime options for this request RuntimeOptions
23196
+ * @return ModifyDBClusterTDEResponse
23197
+ */
20959
23198
  async modifyDBClusterTDEWithOptions(request: ModifyDBClusterTDERequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterTDEResponse> {
20960
23199
  Util.validateModel(request);
20961
23200
  let query = { };
@@ -21012,6 +23251,13 @@ export default class Client extends OpenApi {
21012
23251
  return $tea.cast<ModifyDBClusterTDEResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterTDEResponse({}));
21013
23252
  }
21014
23253
 
23254
+ /**
23255
+ * > * To perform this operation, you must activate KMS first. For more information, see [Purchase a dedicated KMS instance](~~153781~~).
23256
+ * > * After TDE is enabled, you cannot disable TDE.
23257
+ *
23258
+ * @param request ModifyDBClusterTDERequest
23259
+ * @return ModifyDBClusterTDEResponse
23260
+ */
21015
23261
  async modifyDBClusterTDE(request: ModifyDBClusterTDERequest): Promise<ModifyDBClusterTDEResponse> {
21016
23262
  let runtime = new $Util.RuntimeOptions({ });
21017
23263
  return await this.modifyDBClusterTDEWithOptions(request, runtime);
@@ -21208,6 +23454,59 @@ export default class Client extends OpenApi {
21208
23454
  return await this.modifyDBNodeClassWithOptions(request, runtime);
21209
23455
  }
21210
23456
 
23457
+ async modifyDBNodeHotReplicaModeWithOptions(request: ModifyDBNodeHotReplicaModeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBNodeHotReplicaModeResponse> {
23458
+ Util.validateModel(request);
23459
+ let query = { };
23460
+ if (!Util.isUnset(request.DBClusterId)) {
23461
+ query["DBClusterId"] = request.DBClusterId;
23462
+ }
23463
+
23464
+ if (!Util.isUnset(request.DBNodeId)) {
23465
+ query["DBNodeId"] = request.DBNodeId;
23466
+ }
23467
+
23468
+ if (!Util.isUnset(request.hotReplicaMode)) {
23469
+ query["HotReplicaMode"] = request.hotReplicaMode;
23470
+ }
23471
+
23472
+ if (!Util.isUnset(request.ownerAccount)) {
23473
+ query["OwnerAccount"] = request.ownerAccount;
23474
+ }
23475
+
23476
+ if (!Util.isUnset(request.ownerId)) {
23477
+ query["OwnerId"] = request.ownerId;
23478
+ }
23479
+
23480
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
23481
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
23482
+ }
23483
+
23484
+ if (!Util.isUnset(request.resourceOwnerId)) {
23485
+ query["ResourceOwnerId"] = request.resourceOwnerId;
23486
+ }
23487
+
23488
+ let req = new $OpenApi.OpenApiRequest({
23489
+ query: OpenApiUtil.query(query),
23490
+ });
23491
+ let params = new $OpenApi.Params({
23492
+ action: "ModifyDBNodeHotReplicaMode",
23493
+ version: "2017-08-01",
23494
+ protocol: "HTTPS",
23495
+ pathname: "/",
23496
+ method: "POST",
23497
+ authType: "AK",
23498
+ style: "RPC",
23499
+ reqBodyType: "formData",
23500
+ bodyType: "json",
23501
+ });
23502
+ return $tea.cast<ModifyDBNodeHotReplicaModeResponse>(await this.callApi(params, req, runtime), new ModifyDBNodeHotReplicaModeResponse({}));
23503
+ }
23504
+
23505
+ async modifyDBNodeHotReplicaMode(request: ModifyDBNodeHotReplicaModeRequest): Promise<ModifyDBNodeHotReplicaModeResponse> {
23506
+ let runtime = new $Util.RuntimeOptions({ });
23507
+ return await this.modifyDBNodeHotReplicaModeWithOptions(request, runtime);
23508
+ }
23509
+
21211
23510
  async modifyDBNodesClassWithOptions(request: ModifyDBNodesClassRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBNodesClassResponse> {
21212
23511
  Util.validateModel(request);
21213
23512
  let query = { };
@@ -21760,6 +24059,14 @@ export default class Client extends OpenApi {
21760
24059
  query["DBClusterId"] = request.DBClusterId;
21761
24060
  }
21762
24061
 
24062
+ if (!Util.isUnset(request.describeType)) {
24063
+ query["DescribeType"] = request.describeType;
24064
+ }
24065
+
24066
+ if (!Util.isUnset(request.nodeType)) {
24067
+ query["NodeType"] = request.nodeType;
24068
+ }
24069
+
21763
24070
  if (!Util.isUnset(request.ownerAccount)) {
21764
24071
  query["OwnerAccount"] = request.ownerAccount;
21765
24072
  }
@@ -21859,6 +24166,13 @@ export default class Client extends OpenApi {
21859
24166
  return await this.refreshDBClusterStorageUsageWithOptions(request, runtime);
21860
24167
  }
21861
24168
 
24169
+ /**
24170
+ * > You cannot remove the primary cluster from a GDN.
24171
+ *
24172
+ * @param request RemoveDBClusterFromGDNRequest
24173
+ * @param runtime runtime options for this request RuntimeOptions
24174
+ * @return RemoveDBClusterFromGDNResponse
24175
+ */
21862
24176
  async removeDBClusterFromGDNWithOptions(request: RemoveDBClusterFromGDNRequest, runtime: $Util.RuntimeOptions): Promise<RemoveDBClusterFromGDNResponse> {
21863
24177
  Util.validateModel(request);
21864
24178
  let query = { };
@@ -21907,11 +24221,25 @@ export default class Client extends OpenApi {
21907
24221
  return $tea.cast<RemoveDBClusterFromGDNResponse>(await this.callApi(params, req, runtime), new RemoveDBClusterFromGDNResponse({}));
21908
24222
  }
21909
24223
 
24224
+ /**
24225
+ * > You cannot remove the primary cluster from a GDN.
24226
+ *
24227
+ * @param request RemoveDBClusterFromGDNRequest
24228
+ * @return RemoveDBClusterFromGDNResponse
24229
+ */
21910
24230
  async removeDBClusterFromGDN(request: RemoveDBClusterFromGDNRequest): Promise<RemoveDBClusterFromGDNResponse> {
21911
24231
  let runtime = new $Util.RuntimeOptions({ });
21912
24232
  return await this.removeDBClusterFromGDNWithOptions(request, runtime);
21913
24233
  }
21914
24234
 
24235
+ /**
24236
+ * >- Only PolarDB for MySQL clusters support this operation.
24237
+ * >- 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.
24238
+ *
24239
+ * @param request ResetAccountRequest
24240
+ * @param runtime runtime options for this request RuntimeOptions
24241
+ * @return ResetAccountResponse
24242
+ */
21915
24243
  async resetAccountWithOptions(request: ResetAccountRequest, runtime: $Util.RuntimeOptions): Promise<ResetAccountResponse> {
21916
24244
  Util.validateModel(request);
21917
24245
  let query = { };
@@ -21960,11 +24288,75 @@ export default class Client extends OpenApi {
21960
24288
  return $tea.cast<ResetAccountResponse>(await this.callApi(params, req, runtime), new ResetAccountResponse({}));
21961
24289
  }
21962
24290
 
24291
+ /**
24292
+ * >- Only PolarDB for MySQL clusters support this operation.
24293
+ * >- 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.
24294
+ *
24295
+ * @param request ResetAccountRequest
24296
+ * @return ResetAccountResponse
24297
+ */
21963
24298
  async resetAccount(request: ResetAccountRequest): Promise<ResetAccountResponse> {
21964
24299
  let runtime = new $Util.RuntimeOptions({ });
21965
24300
  return await this.resetAccountWithOptions(request, runtime);
21966
24301
  }
21967
24302
 
24303
+ async resetGlobalDatabaseNetworkWithOptions(request: ResetGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<ResetGlobalDatabaseNetworkResponse> {
24304
+ Util.validateModel(request);
24305
+ let query = { };
24306
+ if (!Util.isUnset(request.DBClusterId)) {
24307
+ query["DBClusterId"] = request.DBClusterId;
24308
+ }
24309
+
24310
+ if (!Util.isUnset(request.GDNId)) {
24311
+ query["GDNId"] = request.GDNId;
24312
+ }
24313
+
24314
+ if (!Util.isUnset(request.ownerAccount)) {
24315
+ query["OwnerAccount"] = request.ownerAccount;
24316
+ }
24317
+
24318
+ if (!Util.isUnset(request.ownerId)) {
24319
+ query["OwnerId"] = request.ownerId;
24320
+ }
24321
+
24322
+ if (!Util.isUnset(request.regionId)) {
24323
+ query["RegionId"] = request.regionId;
24324
+ }
24325
+
24326
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
24327
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
24328
+ }
24329
+
24330
+ if (!Util.isUnset(request.resourceOwnerId)) {
24331
+ query["ResourceOwnerId"] = request.resourceOwnerId;
24332
+ }
24333
+
24334
+ if (!Util.isUnset(request.securityToken)) {
24335
+ query["SecurityToken"] = request.securityToken;
24336
+ }
24337
+
24338
+ let req = new $OpenApi.OpenApiRequest({
24339
+ query: OpenApiUtil.query(query),
24340
+ });
24341
+ let params = new $OpenApi.Params({
24342
+ action: "ResetGlobalDatabaseNetwork",
24343
+ version: "2017-08-01",
24344
+ protocol: "HTTPS",
24345
+ pathname: "/",
24346
+ method: "POST",
24347
+ authType: "AK",
24348
+ style: "RPC",
24349
+ reqBodyType: "formData",
24350
+ bodyType: "json",
24351
+ });
24352
+ return $tea.cast<ResetGlobalDatabaseNetworkResponse>(await this.callApi(params, req, runtime), new ResetGlobalDatabaseNetworkResponse({}));
24353
+ }
24354
+
24355
+ async resetGlobalDatabaseNetwork(request: ResetGlobalDatabaseNetworkRequest): Promise<ResetGlobalDatabaseNetworkResponse> {
24356
+ let runtime = new $Util.RuntimeOptions({ });
24357
+ return await this.resetGlobalDatabaseNetworkWithOptions(request, runtime);
24358
+ }
24359
+
21968
24360
  async restartDBNodeWithOptions(request: RestartDBNodeRequest, runtime: $Util.RuntimeOptions): Promise<RestartDBNodeResponse> {
21969
24361
  Util.validateModel(request);
21970
24362
  let query = { };
@@ -22311,6 +24703,15 @@ export default class Client extends OpenApi {
22311
24703
  return await this.tempModifyDBNodeWithOptions(request, runtime);
22312
24704
  }
22313
24705
 
24706
+ /**
24707
+ * > * 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~~).
24708
+ * >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
24709
+ * >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
24710
+ *
24711
+ * @param request TransformDBClusterPayTypeRequest
24712
+ * @param runtime runtime options for this request RuntimeOptions
24713
+ * @return TransformDBClusterPayTypeResponse
24714
+ */
22314
24715
  async transformDBClusterPayTypeWithOptions(request: TransformDBClusterPayTypeRequest, runtime: $Util.RuntimeOptions): Promise<TransformDBClusterPayTypeResponse> {
22315
24716
  Util.validateModel(request);
22316
24717
  let query = { };
@@ -22375,6 +24776,14 @@ export default class Client extends OpenApi {
22375
24776
  return $tea.cast<TransformDBClusterPayTypeResponse>(await this.callApi(params, req, runtime), new TransformDBClusterPayTypeResponse({}));
22376
24777
  }
22377
24778
 
24779
+ /**
24780
+ * > * 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~~).
24781
+ * >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
24782
+ * >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
24783
+ *
24784
+ * @param request TransformDBClusterPayTypeRequest
24785
+ * @return TransformDBClusterPayTypeResponse
24786
+ */
22378
24787
  async transformDBClusterPayType(request: TransformDBClusterPayTypeRequest): Promise<TransformDBClusterPayTypeResponse> {
22379
24788
  let runtime = new $Util.RuntimeOptions({ });
22380
24789
  return await this.transformDBClusterPayTypeWithOptions(request, runtime);
@@ -22441,6 +24850,13 @@ export default class Client extends OpenApi {
22441
24850
  return await this.untagResourcesWithOptions(request, runtime);
22442
24851
  }
22443
24852
 
24853
+ /**
24854
+ * > 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.
24855
+ *
24856
+ * @param request UpgradeDBClusterMinorVersionRequest
24857
+ * @param runtime runtime options for this request RuntimeOptions
24858
+ * @return UpgradeDBClusterMinorVersionResponse
24859
+ */
22444
24860
  async upgradeDBClusterMinorVersionWithOptions(request: UpgradeDBClusterMinorVersionRequest, runtime: $Util.RuntimeOptions): Promise<UpgradeDBClusterMinorVersionResponse> {
22445
24861
  Util.validateModel(request);
22446
24862
  let query = { };
@@ -22493,11 +24909,26 @@ export default class Client extends OpenApi {
22493
24909
  return $tea.cast<UpgradeDBClusterMinorVersionResponse>(await this.callApi(params, req, runtime), new UpgradeDBClusterMinorVersionResponse({}));
22494
24910
  }
22495
24911
 
24912
+ /**
24913
+ * > 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.
24914
+ *
24915
+ * @param request UpgradeDBClusterMinorVersionRequest
24916
+ * @return UpgradeDBClusterMinorVersionResponse
24917
+ */
22496
24918
  async upgradeDBClusterMinorVersion(request: UpgradeDBClusterMinorVersionRequest): Promise<UpgradeDBClusterMinorVersionResponse> {
22497
24919
  let runtime = new $Util.RuntimeOptions({ });
22498
24920
  return await this.upgradeDBClusterMinorVersionWithOptions(request, runtime);
22499
24921
  }
22500
24922
 
24923
+ /**
24924
+ * >
24925
+ * * 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.
24926
+ * * 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.
24927
+ *
24928
+ * @param request UpgradeDBClusterVersionRequest
24929
+ * @param runtime runtime options for this request RuntimeOptions
24930
+ * @return UpgradeDBClusterVersionResponse
24931
+ */
22501
24932
  async upgradeDBClusterVersionWithOptions(request: UpgradeDBClusterVersionRequest, runtime: $Util.RuntimeOptions): Promise<UpgradeDBClusterVersionResponse> {
22502
24933
  Util.validateModel(request);
22503
24934
  let query = { };
@@ -22533,6 +24964,10 @@ export default class Client extends OpenApi {
22533
24964
  query["ResourceOwnerId"] = request.resourceOwnerId;
22534
24965
  }
22535
24966
 
24967
+ if (!Util.isUnset(request.targetDBRevisionVersionCode)) {
24968
+ query["TargetDBRevisionVersionCode"] = request.targetDBRevisionVersionCode;
24969
+ }
24970
+
22536
24971
  if (!Util.isUnset(request.upgradeLabel)) {
22537
24972
  query["UpgradeLabel"] = request.upgradeLabel;
22538
24973
  }
@@ -22562,6 +24997,14 @@ export default class Client extends OpenApi {
22562
24997
  return $tea.cast<UpgradeDBClusterVersionResponse>(await this.callApi(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
22563
24998
  }
22564
24999
 
25000
+ /**
25001
+ * >
25002
+ * * 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.
25003
+ * * 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.
25004
+ *
25005
+ * @param request UpgradeDBClusterVersionRequest
25006
+ * @return UpgradeDBClusterVersionResponse
25007
+ */
22565
25008
  async upgradeDBClusterVersion(request: UpgradeDBClusterVersionRequest): Promise<UpgradeDBClusterVersionResponse> {
22566
25009
  let runtime = new $Util.RuntimeOptions({ });
22567
25010
  return await this.upgradeDBClusterVersionWithOptions(request, runtime);