@alicloud/polardb20170801 5.2.1 → 5.3.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
@@ -7,6 +7,112 @@ import OpenApiUtil from '@alicloud/openapi-util';
7
7
  import EndpointUtil from '@alicloud/endpoint-util';
8
8
  import * as $tea from '@alicloud/tea-typescript';
9
9
 
10
+ export class CancelActiveOperationTasksRequest extends $tea.Model {
11
+ ownerAccount?: string;
12
+ ownerId?: number;
13
+ /**
14
+ * @remarks
15
+ * This parameter is required.
16
+ *
17
+ * @example
18
+ * cn-beijing
19
+ */
20
+ regionId?: string;
21
+ resourceOwnerAccount?: string;
22
+ resourceOwnerId?: number;
23
+ securityToken?: string;
24
+ /**
25
+ * @remarks
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * 2355,2352
30
+ */
31
+ taskIds?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ ownerAccount: 'OwnerAccount',
35
+ ownerId: 'OwnerId',
36
+ regionId: 'RegionId',
37
+ resourceOwnerAccount: 'ResourceOwnerAccount',
38
+ resourceOwnerId: 'ResourceOwnerId',
39
+ securityToken: 'SecurityToken',
40
+ taskIds: 'TaskIds',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ ownerAccount: 'string',
47
+ ownerId: 'number',
48
+ regionId: 'string',
49
+ resourceOwnerAccount: 'string',
50
+ resourceOwnerId: 'number',
51
+ securityToken: 'string',
52
+ taskIds: 'string',
53
+ };
54
+ }
55
+
56
+ constructor(map?: { [key: string]: any }) {
57
+ super(map);
58
+ }
59
+ }
60
+
61
+ export class CancelActiveOperationTasksResponseBody extends $tea.Model {
62
+ /**
63
+ * @example
64
+ * 25C70FF3-D49B-594D-BECE-0DE2BA1D8BBB
65
+ */
66
+ requestId?: string;
67
+ /**
68
+ * @example
69
+ * 2355,2352
70
+ */
71
+ taskIds?: string;
72
+ static names(): { [key: string]: string } {
73
+ return {
74
+ requestId: 'RequestId',
75
+ taskIds: 'TaskIds',
76
+ };
77
+ }
78
+
79
+ static types(): { [key: string]: any } {
80
+ return {
81
+ requestId: 'string',
82
+ taskIds: 'string',
83
+ };
84
+ }
85
+
86
+ constructor(map?: { [key: string]: any }) {
87
+ super(map);
88
+ }
89
+ }
90
+
91
+ export class CancelActiveOperationTasksResponse extends $tea.Model {
92
+ headers?: { [key: string]: string };
93
+ statusCode?: number;
94
+ body?: CancelActiveOperationTasksResponseBody;
95
+ static names(): { [key: string]: string } {
96
+ return {
97
+ headers: 'headers',
98
+ statusCode: 'statusCode',
99
+ body: 'body',
100
+ };
101
+ }
102
+
103
+ static types(): { [key: string]: any } {
104
+ return {
105
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
106
+ statusCode: 'number',
107
+ body: CancelActiveOperationTasksResponseBody,
108
+ };
109
+ }
110
+
111
+ constructor(map?: { [key: string]: any }) {
112
+ super(map);
113
+ }
114
+ }
115
+
10
116
  export class CancelScheduleTasksRequest extends $tea.Model {
11
117
  /**
12
118
  * @remarks
@@ -844,8 +950,8 @@ export class CreateAccountRequest extends $tea.Model {
844
950
  * @remarks
845
951
  * The password of the account. The password must meet the following requirements:
846
952
  *
847
- * * It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
848
- * * It must be 8 to 32 characters in length.
953
+ * * The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
954
+ * * The password must be 8 to 32 characters in length.
849
955
  * * Special characters include `! @ # $ % ^ & * ( ) _ + - =`
850
956
  *
851
957
  * This parameter is required.
@@ -881,14 +987,15 @@ export class CreateAccountRequest extends $tea.Model {
881
987
  * The type of the account. Valid values:
882
988
  *
883
989
  * * **Normal**: standard account
884
- * * **Super**: privileged account
990
+ * * **Super**: privileged account.
885
991
  *
886
992
  * >
887
993
  *
888
994
  * * If you leave this parameter empty, the default value **Super** is used.
889
995
  *
890
- * * You can create multiple privileged accounts for a PolarDB for Oracle or PolarDB for PostgreSQL cluster. A privileged account is granted more permissions than a standard account. For more information about how to create a database account, see [Create a database account](https://help.aliyun.com/document_detail/68508.html).
891
- * * You can create only one privileged account for a PolarDB for MySQL cluster. A privileged account is granted more permissions than a standard account. For more information about how to create a database account, see [Create a database account](https://help.aliyun.com/document_detail/68508.html).
996
+ * * You can create multiple privileged accounts for a PolarDB for PostgreSQL (Compatible with Oracle) cluster or a PolarDB for PostgreSQL cluster. A privileged account has more permissions than a standard account. For more information, see [Create a database account](https://help.aliyun.com/document_detail/68508.html).
997
+ *
998
+ * * You can create only one privileged account for a PolarDB for MySQL cluster. A privileged account has more permissions than a standard account. For more information, see [Create a database account](https://help.aliyun.com/document_detail/68508.html).
892
999
  *
893
1000
  * @example
894
1001
  * Normal
@@ -924,16 +1031,6 @@ export class CreateAccountRequest extends $tea.Model {
924
1031
  DBName?: string;
925
1032
  ownerAccount?: string;
926
1033
  ownerId?: number;
927
- /**
928
- * @remarks
929
- * Specifies whether to grant the specified account required permissions on all existing databases in the current cluster and databases that will be further created for the current cluster. Valid values:
930
- *
931
- * * **0 or unspecified**: does not grant required permissions.
932
- * * **1**: grants required permissions.
933
- *
934
- * @example
935
- * 0
936
- */
937
1034
  privForAllDB?: string;
938
1035
  resourceOwnerAccount?: string;
939
1036
  resourceOwnerId?: number;
@@ -1032,6 +1129,8 @@ export class CreateAccountResponse extends $tea.Model {
1032
1129
  export class CreateActivationCodeRequest extends $tea.Model {
1033
1130
  /**
1034
1131
  * @remarks
1132
+ * The Alibaba Cloud order ID (including the virtual order ID).
1133
+ *
1035
1134
  * This parameter is required.
1036
1135
  *
1037
1136
  * @example
@@ -1039,12 +1138,17 @@ export class CreateActivationCodeRequest extends $tea.Model {
1039
1138
  */
1040
1139
  aliyunOrderId?: string;
1041
1140
  /**
1141
+ * @remarks
1142
+ * The description of the activation code.
1143
+ *
1042
1144
  * @example
1043
1145
  * testCode
1044
1146
  */
1045
1147
  description?: string;
1046
1148
  /**
1047
1149
  * @remarks
1150
+ * The MAC address.
1151
+ *
1048
1152
  * This parameter is required.
1049
1153
  *
1050
1154
  * @example
@@ -1053,6 +1157,8 @@ export class CreateActivationCodeRequest extends $tea.Model {
1053
1157
  macAddress?: string;
1054
1158
  /**
1055
1159
  * @remarks
1160
+ * The name of the activation code. The name can contain only letters, digits, underscores (_), and hyphens (-). The activation code file downloaded from the console is named based on this name.
1161
+ *
1056
1162
  * This parameter is required.
1057
1163
  *
1058
1164
  * @example
@@ -1064,6 +1170,9 @@ export class CreateActivationCodeRequest extends $tea.Model {
1064
1170
  resourceOwnerAccount?: string;
1065
1171
  resourceOwnerId?: number;
1066
1172
  /**
1173
+ * @remarks
1174
+ * The system identifier of the database. This parameter is required if you set AllowEmptySystemIdentifier to false.
1175
+ *
1067
1176
  * @example
1068
1177
  * 1234567890123456
1069
1178
  */
@@ -1103,59 +1212,89 @@ export class CreateActivationCodeRequest extends $tea.Model {
1103
1212
 
1104
1213
  export class CreateActivationCodeResponseBody extends $tea.Model {
1105
1214
  /**
1215
+ * @remarks
1216
+ * The time when the activation code takes effect.
1217
+ *
1106
1218
  * @example
1107
1219
  * 2024-10-16 16:46:20
1108
1220
  */
1109
1221
  activateAt?: string;
1110
1222
  /**
1223
+ * @remarks
1224
+ * The activation code in the base64 format. The activation code is decoded and stored into a file named license.lic. PolarDB can access and read the license.lic file upon startup to validate the license or perform related operations.
1225
+ *
1111
1226
  * @example
1112
1227
  * AAEAA******AAA=
1113
1228
  */
1114
1229
  certContentB64?: string;
1115
1230
  /**
1231
+ * @remarks
1232
+ * The description of the activation code.
1233
+ *
1116
1234
  * @example
1117
1235
  * testCode
1118
1236
  */
1119
1237
  description?: string;
1120
1238
  /**
1239
+ * @remarks
1240
+ * The time when the activation code expires.
1241
+ *
1121
1242
  * @example
1122
1243
  * 2054-10-09 16:46:20
1123
1244
  */
1124
1245
  expireAt?: string;
1125
1246
  /**
1247
+ * @remarks
1248
+ * The time when the activation code was created.
1249
+ *
1126
1250
  * @example
1127
1251
  * 2024-10-16 16:46:20
1128
1252
  */
1129
1253
  gmtCreated?: string;
1130
1254
  /**
1255
+ * @remarks
1256
+ * The time when the activation code was last updated.
1257
+ *
1131
1258
  * @example
1132
1259
  * 2024-10-16 16:46:20
1133
1260
  */
1134
1261
  gmtModified?: string;
1135
1262
  /**
1263
+ * @remarks
1264
+ * The activation code ID.
1265
+ *
1136
1266
  * @example
1137
1267
  * 123
1138
1268
  */
1139
1269
  id?: number;
1140
1270
  /**
1271
+ * @remarks
1272
+ * The MAC address.
1273
+ *
1141
1274
  * @example
1142
1275
  * 12:34:56:78:98:00
1143
1276
  */
1144
1277
  macAddress?: string;
1145
1278
  /**
1279
+ * @remarks
1280
+ * The name of the activation code.
1281
+ *
1146
1282
  * @example
1147
1283
  * testName
1148
1284
  */
1149
1285
  name?: string;
1150
1286
  /**
1151
1287
  * @remarks
1152
- * Id of the request
1288
+ * The request ID.
1153
1289
  *
1154
1290
  * @example
1155
1291
  * 4CE6DF97-AEA4-484F-906F-C407EE******
1156
1292
  */
1157
1293
  requestId?: string;
1158
1294
  /**
1295
+ * @remarks
1296
+ * The system identifier of the database.
1297
+ *
1159
1298
  * @example
1160
1299
  * 1234567890123456
1161
1300
  */
@@ -1519,6 +1658,7 @@ export class CreateDBClusterRequest extends $tea.Model {
1519
1658
  * NONE
1520
1659
  */
1521
1660
  backupRetentionPolicyOnClusterDeletion?: string;
1661
+ burstingEnabled?: string;
1522
1662
  /**
1523
1663
  * @remarks
1524
1664
  * Used to ensure idempotency of the request. Generated by the client, ensuring uniqueness across different requests, case-sensitive, and not exceeding 64 ASCII characters.
@@ -1647,12 +1787,16 @@ export class CreateDBClusterRequest extends $tea.Model {
1647
1787
  DBNodeClass?: string;
1648
1788
  /**
1649
1789
  * @remarks
1650
- * Number of standard edition nodes. Values are as follows:
1790
+ * The number of nodes. This parameter is supported for Standard Edition clusters. Valid values:
1791
+ *
1792
+ * * **1** (default): only one primary node.
1793
+ * * **2**: one read-only node and one primary node.
1794
+ *
1795
+ * >
1651
1796
  *
1652
- * - **1** (default): Indicates there is only one read-write node.
1653
- * - **2**: Indicates there is one read-only node and one read-write node.
1654
- * > - Enterprise edition defaults to 2 nodes, while the standard edition defaults to 1 node.
1655
- * > - Only supported by PolarDB MySQL edition.
1797
+ * * By default, an Enterprise Edition cluster has two nodes and a Standard Edition cluster has one node.
1798
+ *
1799
+ * * This parameter is supported only for PolarDB for MySQL clusters.
1656
1800
  *
1657
1801
  * @example
1658
1802
  * 1
@@ -2042,6 +2186,7 @@ export class CreateDBClusterRequest extends $tea.Model {
2042
2186
  * List of tags.
2043
2187
  */
2044
2188
  tag?: CreateDBClusterRequestTag[];
2189
+ targetMinorVersion?: string;
2045
2190
  /**
2046
2191
  * @remarks
2047
2192
  * If the payment type is **Prepaid**, this parameter is required.
@@ -2086,6 +2231,7 @@ export class CreateDBClusterRequest extends $tea.Model {
2086
2231
  architecture: 'Architecture',
2087
2232
  autoRenew: 'AutoRenew',
2088
2233
  backupRetentionPolicyOnClusterDeletion: 'BackupRetentionPolicyOnClusterDeletion',
2234
+ burstingEnabled: 'BurstingEnabled',
2089
2235
  clientToken: 'ClientToken',
2090
2236
  cloneDataPoint: 'CloneDataPoint',
2091
2237
  clusterNetworkType: 'ClusterNetworkType',
@@ -2132,6 +2278,7 @@ export class CreateDBClusterRequest extends $tea.Model {
2132
2278
  strictConsistency: 'StrictConsistency',
2133
2279
  TDEStatus: 'TDEStatus',
2134
2280
  tag: 'Tag',
2281
+ targetMinorVersion: 'TargetMinorVersion',
2135
2282
  usedTime: 'UsedTime',
2136
2283
  VPCId: 'VPCId',
2137
2284
  vSwitchId: 'VSwitchId',
@@ -2145,6 +2292,7 @@ export class CreateDBClusterRequest extends $tea.Model {
2145
2292
  architecture: 'string',
2146
2293
  autoRenew: 'boolean',
2147
2294
  backupRetentionPolicyOnClusterDeletion: 'string',
2295
+ burstingEnabled: 'string',
2148
2296
  clientToken: 'string',
2149
2297
  cloneDataPoint: 'string',
2150
2298
  clusterNetworkType: 'string',
@@ -2191,6 +2339,7 @@ export class CreateDBClusterRequest extends $tea.Model {
2191
2339
  strictConsistency: 'string',
2192
2340
  TDEStatus: 'boolean',
2193
2341
  tag: { 'type': 'array', 'itemType': CreateDBClusterRequestTag },
2342
+ targetMinorVersion: 'string',
2194
2343
  usedTime: 'string',
2195
2344
  VPCId: 'string',
2196
2345
  vSwitchId: 'string',
@@ -3348,6 +3497,13 @@ export class CreateGlobalDatabaseNetworkRequest extends $tea.Model {
3348
3497
  * pc-bp1q76364ird*****
3349
3498
  */
3350
3499
  DBClusterId?: string;
3500
+ /**
3501
+ * @remarks
3502
+ * Specifies whether to create a global domain name.
3503
+ *
3504
+ * @example
3505
+ * false
3506
+ */
3351
3507
  enableGlobalDomainName?: boolean;
3352
3508
  /**
3353
3509
  * @remarks
@@ -3613,6 +3769,8 @@ export class CreateGlobalSecurityIPGroupResponse extends $tea.Model {
3613
3769
  export class CreateOrGetVirtualLicenseOrderRequest extends $tea.Model {
3614
3770
  /**
3615
3771
  * @remarks
3772
+ * The type of the engine. Valid values: PG, Oracle, and MySQL.
3773
+ *
3616
3774
  * This parameter is required.
3617
3775
  *
3618
3776
  * @example
@@ -3650,69 +3808,105 @@ export class CreateOrGetVirtualLicenseOrderRequest extends $tea.Model {
3650
3808
 
3651
3809
  export class CreateOrGetVirtualLicenseOrderResponseBody extends $tea.Model {
3652
3810
  /**
3811
+ * @remarks
3812
+ * The number of generated activation codes.
3813
+ *
3653
3814
  * @example
3654
3815
  * 1
3655
3816
  */
3656
3817
  activatedCodeCount?: number;
3657
3818
  /**
3819
+ * @remarks
3820
+ * The maximum number of activation codes that you can apply for.
3821
+ *
3658
3822
  * @example
3659
3823
  * 10
3660
3824
  */
3661
3825
  activationCodeQuota?: number;
3662
3826
  /**
3827
+ * @remarks
3828
+ * The Alibaba Cloud order ID (including the virtual order ID).
3829
+ *
3663
3830
  * @example
3664
3831
  * 2233****445566
3665
3832
  */
3666
3833
  aliyunOrderId?: string;
3667
3834
  /**
3835
+ * @remarks
3836
+ * Indicates whether activation codes can be generated without the system identifier.
3837
+ *
3668
3838
  * @example
3669
3839
  * false
3670
3840
  */
3671
3841
  allowEmptySystemIdentifier?: boolean;
3672
3842
  /**
3843
+ * @remarks
3844
+ * The time when the order was created.
3845
+ *
3673
3846
  * @example
3674
3847
  * 2024-10-16 16:46:20
3675
3848
  */
3676
3849
  gmtCreated?: string;
3677
3850
  /**
3851
+ * @remarks
3852
+ * The time when the order was last updated.
3853
+ *
3678
3854
  * @example
3679
3855
  * 2024-10-16 16:46:20
3680
3856
  */
3681
3857
  gmtModified?: string;
3682
3858
  /**
3859
+ * @remarks
3860
+ * Indicates whether the order is a virtual order (virtual orders allow pre-generation of activation codes).
3861
+ *
3683
3862
  * @example
3684
3863
  * true
3685
3864
  */
3686
3865
  isVirtualOrder?: boolean;
3687
3866
  /**
3867
+ * @remarks
3868
+ * Indicates whether the virtual order is frozen (activation codes cannot be generated for a frozen virtual order).
3869
+ *
3688
3870
  * @example
3689
3871
  * false
3690
3872
  */
3691
3873
  isVirtualOrderFrozen?: boolean;
3692
3874
  /**
3875
+ * @remarks
3876
+ * The plan type.
3877
+ *
3693
3878
  * @example
3694
3879
  * pre_generation_long_term
3695
3880
  */
3696
3881
  packageType?: string;
3697
3882
  /**
3883
+ * @remarks
3884
+ * The validity period of the plan, which is one year (common) or thirty years (long-term).
3885
+ *
3698
3886
  * @example
3699
3887
  * 30 years
3700
3888
  */
3701
3889
  packageValidity?: string;
3702
3890
  /**
3891
+ * @remarks
3892
+ * The purchase channel.
3893
+ *
3703
3894
  * @example
3704
3895
  * aliyun_market
3705
3896
  */
3706
3897
  purchaseChannel?: string;
3707
3898
  /**
3708
3899
  * @remarks
3709
- * Id of the request
3900
+ * The ID of the request.
3710
3901
  *
3711
3902
  * @example
3712
3903
  * 45D24263-7E3A-4140-9472-************
3713
3904
  */
3714
3905
  requestId?: string;
3715
3906
  /**
3907
+ * @remarks
3908
+ * The ID of the virtual order.
3909
+ *
3716
3910
  * @example
3717
3911
  * 2024********483
3718
3912
  */
@@ -5631,6 +5825,13 @@ export class DescribeAITaskStatusRequest extends $tea.Model {
5631
5825
  }
5632
5826
 
5633
5827
  export class DescribeAITaskStatusResponseBody extends $tea.Model {
5828
+ /**
5829
+ * @remarks
5830
+ * The name of the database account that is used to connect to the AI nodes in the cluster.
5831
+ *
5832
+ * @example
5833
+ * testacc
5834
+ */
5634
5835
  accountName?: string;
5635
5836
  /**
5636
5837
  * @remarks
@@ -5650,10 +5851,10 @@ export class DescribeAITaskStatusResponseBody extends $tea.Model {
5650
5851
  requestId?: string;
5651
5852
  /**
5652
5853
  * @remarks
5653
- * The state of the PolarDB for AI feature. Valid values:
5854
+ * The status of the PolarDB for AI feature. Valid values:
5654
5855
  *
5655
- * * **1**: The feature is enabled.
5656
- * * **2**: The feature is disabled.
5856
+ * * **1**: enabled.
5857
+ * * **2**: disabled.
5657
5858
  *
5658
5859
  * @example
5659
5860
  * 1
@@ -5661,7 +5862,7 @@ export class DescribeAITaskStatusResponseBody extends $tea.Model {
5661
5862
  status?: string;
5662
5863
  /**
5663
5864
  * @remarks
5664
- * The state description of the PolarDB for AI feature.
5865
+ * The description of the status of the PolarDB for AI feature.
5665
5866
  *
5666
5867
  * @example
5667
5868
  * Closed State
@@ -5873,12 +6074,17 @@ export class DescribeAccountsResponse extends $tea.Model {
5873
6074
 
5874
6075
  export class DescribeActivationCodeDetailsRequest extends $tea.Model {
5875
6076
  /**
6077
+ * @remarks
6078
+ * The ID of the activation code.
6079
+ *
5876
6080
  * @example
5877
6081
  * 123
5878
6082
  */
5879
6083
  activationCodeId?: number;
5880
6084
  /**
5881
6085
  * @remarks
6086
+ * The Alibaba Cloud order ID (including the virtual order ID).
6087
+ *
5882
6088
  * This parameter is required.
5883
6089
  *
5884
6090
  * @example
@@ -5918,59 +6124,89 @@ export class DescribeActivationCodeDetailsRequest extends $tea.Model {
5918
6124
 
5919
6125
  export class DescribeActivationCodeDetailsResponseBody extends $tea.Model {
5920
6126
  /**
6127
+ * @remarks
6128
+ * The time when the activation code takes effect.
6129
+ *
5921
6130
  * @example
5922
6131
  * 2024-10-16 16:46:20
5923
6132
  */
5924
6133
  activateAt?: string;
5925
6134
  /**
6135
+ * @remarks
6136
+ * The activation code in the base64 format. The activation code is decoded and stored into a file named license.lic. PolarDB can access and read the license.lic file upon startup to validate the license or perform related operations.
6137
+ *
5926
6138
  * @example
5927
6139
  * AAEAA******AAA=
5928
6140
  */
5929
6141
  certContentB64?: string;
5930
6142
  /**
6143
+ * @remarks
6144
+ * The description of the activation code.
6145
+ *
5931
6146
  * @example
5932
6147
  * testCode
5933
6148
  */
5934
6149
  description?: string;
5935
6150
  /**
6151
+ * @remarks
6152
+ * The time when the activation code expires.
6153
+ *
5936
6154
  * @example
5937
6155
  * 2054-10-09 16:46:20
5938
6156
  */
5939
6157
  expireAt?: string;
5940
6158
  /**
6159
+ * @remarks
6160
+ * The time when the activation code was created.
6161
+ *
5941
6162
  * @example
5942
6163
  * 2024-10-16 16:46:20
5943
6164
  */
5944
6165
  gmtCreated?: string;
5945
6166
  /**
6167
+ * @remarks
6168
+ * The time when the activation code was last updated.
6169
+ *
5946
6170
  * @example
5947
6171
  * 2024-10-16 16:46:20
5948
6172
  */
5949
6173
  gmtModified?: string;
5950
6174
  /**
6175
+ * @remarks
6176
+ * The ID of the activation code.
6177
+ *
5951
6178
  * @example
5952
6179
  * 123
5953
6180
  */
5954
6181
  id?: number;
5955
6182
  /**
6183
+ * @remarks
6184
+ * The MAC address.
6185
+ *
5956
6186
  * @example
5957
6187
  * 12:34:56:78:98:00
5958
6188
  */
5959
6189
  macAddress?: string;
5960
6190
  /**
6191
+ * @remarks
6192
+ * The name of the activation code.
6193
+ *
5961
6194
  * @example
5962
6195
  * testName
5963
6196
  */
5964
6197
  name?: string;
5965
6198
  /**
5966
6199
  * @remarks
5967
- * Id of the request
6200
+ * The request ID.
5968
6201
  *
5969
6202
  * @example
5970
6203
  * F2A9EFA7-915F-4572-8299-85A307******
5971
6204
  */
5972
6205
  requestId?: string;
5973
6206
  /**
6207
+ * @remarks
6208
+ * The system identifier of the database.
6209
+ *
5974
6210
  * @example
5975
6211
  * 1234567890123456
5976
6212
  */
@@ -6040,6 +6276,8 @@ export class DescribeActivationCodeDetailsResponse extends $tea.Model {
6040
6276
  export class DescribeActivationCodesRequest extends $tea.Model {
6041
6277
  /**
6042
6278
  * @remarks
6279
+ * The ID of the Alibaba Cloud order. The value can be the ID of a virtual order.
6280
+ *
6043
6281
  * This parameter is required.
6044
6282
  *
6045
6283
  * @example
@@ -6049,11 +6287,17 @@ export class DescribeActivationCodesRequest extends $tea.Model {
6049
6287
  ownerAccount?: string;
6050
6288
  ownerId?: number;
6051
6289
  /**
6290
+ * @remarks
6291
+ * The page number.
6292
+ *
6052
6293
  * @example
6053
6294
  * 1
6054
6295
  */
6055
6296
  pageNumber?: number;
6056
6297
  /**
6298
+ * @remarks
6299
+ * The number of entries per page.
6300
+ *
6057
6301
  * @example
6058
6302
  * 30
6059
6303
  */
@@ -6090,26 +6334,39 @@ export class DescribeActivationCodesRequest extends $tea.Model {
6090
6334
  }
6091
6335
 
6092
6336
  export class DescribeActivationCodesResponseBody extends $tea.Model {
6337
+ /**
6338
+ * @remarks
6339
+ * The queried activation codes.
6340
+ */
6093
6341
  items?: DescribeActivationCodesResponseBodyItems[];
6094
6342
  /**
6343
+ * @remarks
6344
+ * The page number.
6345
+ *
6095
6346
  * @example
6096
6347
  * 1
6097
6348
  */
6098
6349
  pageNumber?: number;
6099
6350
  /**
6351
+ * @remarks
6352
+ * The number of entries returned on the current page.
6353
+ *
6100
6354
  * @example
6101
6355
  * 1
6102
6356
  */
6103
6357
  pageRecordCount?: number;
6104
6358
  /**
6105
6359
  * @remarks
6106
- * Id of the request
6360
+ * The request ID.
6107
6361
  *
6108
6362
  * @example
6109
6363
  * 65D7ACE6-4A61-4B6E-B357-8CB24A******
6110
6364
  */
6111
6365
  requestId?: string;
6112
6366
  /**
6367
+ * @remarks
6368
+ * The total number of entries returned.
6369
+ *
6113
6370
  * @example
6114
6371
  * 1
6115
6372
  */
@@ -6164,6 +6421,182 @@ export class DescribeActivationCodesResponse extends $tea.Model {
6164
6421
  }
6165
6422
  }
6166
6423
 
6424
+ export class DescribeActiveOperationTasksRequest extends $tea.Model {
6425
+ /**
6426
+ * @example
6427
+ * -1
6428
+ */
6429
+ allowCancel?: number;
6430
+ /**
6431
+ * @example
6432
+ * -1
6433
+ */
6434
+ allowChange?: number;
6435
+ /**
6436
+ * @example
6437
+ * all
6438
+ */
6439
+ changeLevel?: string;
6440
+ /**
6441
+ * @example
6442
+ * pc-3ns***********d5d
6443
+ */
6444
+ DBClusterId?: string;
6445
+ /**
6446
+ * @example
6447
+ * MySQL
6448
+ */
6449
+ DBType?: string;
6450
+ ownerAccount?: string;
6451
+ ownerId?: number;
6452
+ /**
6453
+ * @example
6454
+ * 1
6455
+ */
6456
+ pageNumber?: number;
6457
+ /**
6458
+ * @example
6459
+ * 30
6460
+ */
6461
+ pageSize?: number;
6462
+ /**
6463
+ * @remarks
6464
+ * This parameter is required.
6465
+ *
6466
+ * @example
6467
+ * cn-beijing
6468
+ */
6469
+ regionId?: string;
6470
+ resourceOwnerAccount?: string;
6471
+ resourceOwnerId?: number;
6472
+ securityToken?: string;
6473
+ /**
6474
+ * @example
6475
+ * -1
6476
+ */
6477
+ status?: number;
6478
+ /**
6479
+ * @example
6480
+ * DatabaseProxyUpgrading
6481
+ */
6482
+ taskType?: string;
6483
+ static names(): { [key: string]: string } {
6484
+ return {
6485
+ allowCancel: 'AllowCancel',
6486
+ allowChange: 'AllowChange',
6487
+ changeLevel: 'ChangeLevel',
6488
+ DBClusterId: 'DBClusterId',
6489
+ DBType: 'DBType',
6490
+ ownerAccount: 'OwnerAccount',
6491
+ ownerId: 'OwnerId',
6492
+ pageNumber: 'PageNumber',
6493
+ pageSize: 'PageSize',
6494
+ regionId: 'RegionId',
6495
+ resourceOwnerAccount: 'ResourceOwnerAccount',
6496
+ resourceOwnerId: 'ResourceOwnerId',
6497
+ securityToken: 'SecurityToken',
6498
+ status: 'Status',
6499
+ taskType: 'TaskType',
6500
+ };
6501
+ }
6502
+
6503
+ static types(): { [key: string]: any } {
6504
+ return {
6505
+ allowCancel: 'number',
6506
+ allowChange: 'number',
6507
+ changeLevel: 'string',
6508
+ DBClusterId: 'string',
6509
+ DBType: 'string',
6510
+ ownerAccount: 'string',
6511
+ ownerId: 'number',
6512
+ pageNumber: 'number',
6513
+ pageSize: 'number',
6514
+ regionId: 'string',
6515
+ resourceOwnerAccount: 'string',
6516
+ resourceOwnerId: 'number',
6517
+ securityToken: 'string',
6518
+ status: 'number',
6519
+ taskType: 'string',
6520
+ };
6521
+ }
6522
+
6523
+ constructor(map?: { [key: string]: any }) {
6524
+ super(map);
6525
+ }
6526
+ }
6527
+
6528
+ export class DescribeActiveOperationTasksResponseBody extends $tea.Model {
6529
+ items?: DescribeActiveOperationTasksResponseBodyItems[];
6530
+ /**
6531
+ * @example
6532
+ * 1
6533
+ */
6534
+ pageNumber?: number;
6535
+ /**
6536
+ * @example
6537
+ * 30
6538
+ */
6539
+ pageSize?: number;
6540
+ /**
6541
+ * @example
6542
+ * FAF88508-D5F8-52B1-8824-262601769E31
6543
+ */
6544
+ requestId?: string;
6545
+ /**
6546
+ * @example
6547
+ * 1
6548
+ */
6549
+ totalRecordCount?: number;
6550
+ static names(): { [key: string]: string } {
6551
+ return {
6552
+ items: 'Items',
6553
+ pageNumber: 'PageNumber',
6554
+ pageSize: 'PageSize',
6555
+ requestId: 'RequestId',
6556
+ totalRecordCount: 'TotalRecordCount',
6557
+ };
6558
+ }
6559
+
6560
+ static types(): { [key: string]: any } {
6561
+ return {
6562
+ items: { 'type': 'array', 'itemType': DescribeActiveOperationTasksResponseBodyItems },
6563
+ pageNumber: 'number',
6564
+ pageSize: 'number',
6565
+ requestId: 'string',
6566
+ totalRecordCount: 'number',
6567
+ };
6568
+ }
6569
+
6570
+ constructor(map?: { [key: string]: any }) {
6571
+ super(map);
6572
+ }
6573
+ }
6574
+
6575
+ export class DescribeActiveOperationTasksResponse extends $tea.Model {
6576
+ headers?: { [key: string]: string };
6577
+ statusCode?: number;
6578
+ body?: DescribeActiveOperationTasksResponseBody;
6579
+ static names(): { [key: string]: string } {
6580
+ return {
6581
+ headers: 'headers',
6582
+ statusCode: 'statusCode',
6583
+ body: 'body',
6584
+ };
6585
+ }
6586
+
6587
+ static types(): { [key: string]: any } {
6588
+ return {
6589
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6590
+ statusCode: 'number',
6591
+ body: DescribeActiveOperationTasksResponseBody,
6592
+ };
6593
+ }
6594
+
6595
+ constructor(map?: { [key: string]: any }) {
6596
+ super(map);
6597
+ }
6598
+ }
6599
+
6167
6600
  export class DescribeAutoRenewAttributeRequest extends $tea.Model {
6168
6601
  /**
6169
6602
  * @remarks
@@ -6177,7 +6610,7 @@ export class DescribeAutoRenewAttributeRequest extends $tea.Model {
6177
6610
  ownerId?: number;
6178
6611
  /**
6179
6612
  * @remarks
6180
- * The page number. The value must be an integer that is larger than 0 and does not exceed the maximum value of the INTEGER data type. Default value: 1.
6613
+ * The page number. The value must be an integer that is greater than 0. Default value: 1.
6181
6614
  *
6182
6615
  * @example
6183
6616
  * 1
@@ -6185,7 +6618,7 @@ export class DescribeAutoRenewAttributeRequest extends $tea.Model {
6185
6618
  pageNumber?: number;
6186
6619
  /**
6187
6620
  * @remarks
6188
- * The number of entries to return on each page. Valid values: 30, 50, and 100. Default value: 30.
6621
+ * The number of entries per page. Valid values: 30, 50, and 100. Default value: 30.
6189
6622
  *
6190
6623
  * @example
6191
6624
  * 30
@@ -7074,7 +7507,7 @@ export class DescribeBackupsRequest extends $tea.Model {
7074
7507
  export class DescribeBackupsResponseBody extends $tea.Model {
7075
7508
  /**
7076
7509
  * @remarks
7077
- * The details of backup sets.
7510
+ * The queried backup sets.
7078
7511
  */
7079
7512
  items?: DescribeBackupsResponseBodyItems;
7080
7513
  /**
@@ -7101,6 +7534,11 @@ export class DescribeBackupsResponseBody extends $tea.Model {
7101
7534
  * 24A1990B-4F6E-482B-B8CB-75C612******
7102
7535
  */
7103
7536
  requestId?: string;
7537
+ /**
7538
+ * @example
7539
+ * 4639948800
7540
+ */
7541
+ totalLevel2BackupSize?: string;
7104
7542
  /**
7105
7543
  * @remarks
7106
7544
  * The total number of returned entries.
@@ -7115,6 +7553,7 @@ export class DescribeBackupsResponseBody extends $tea.Model {
7115
7553
  pageNumber: 'PageNumber',
7116
7554
  pageRecordCount: 'PageRecordCount',
7117
7555
  requestId: 'RequestId',
7556
+ totalLevel2BackupSize: 'TotalLevel2BackupSize',
7118
7557
  totalRecordCount: 'TotalRecordCount',
7119
7558
  };
7120
7559
  }
@@ -7125,6 +7564,7 @@ export class DescribeBackupsResponseBody extends $tea.Model {
7125
7564
  pageNumber: 'string',
7126
7565
  pageRecordCount: 'string',
7127
7566
  requestId: 'string',
7567
+ totalLevel2BackupSize: 'string',
7128
7568
  totalRecordCount: 'string',
7129
7569
  };
7130
7570
  }
@@ -7387,7 +7827,7 @@ export class DescribeClassListRequest extends $tea.Model {
7387
7827
  export class DescribeClassListResponseBody extends $tea.Model {
7388
7828
  /**
7389
7829
  * @remarks
7390
- * The specifications of the cluster.
7830
+ * The cluster specifications.
7391
7831
  */
7392
7832
  items?: DescribeClassListResponseBodyItems[];
7393
7833
  /**
@@ -7654,6 +8094,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
7654
8094
  * 5,242,880
7655
8095
  */
7656
8096
  blktagUsed?: number;
8097
+ burstingEnabled?: string;
7657
8098
  /**
7658
8099
  * @remarks
7659
8100
  * [Product Series](https://help.aliyun.com/document_detail/183258.html), with values as follows:
@@ -7841,6 +8282,16 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
7841
8282
  * StandbyClusterON
7842
8283
  */
7843
8284
  hotStandbyCluster?: string;
8285
+ /**
8286
+ * @remarks
8287
+ * Indicates whether the automatic IMCI-based query acceleration feature is enabled. Valid values:
8288
+ *
8289
+ * * `ON`: enabled
8290
+ * * `OFF`: disabled
8291
+ *
8292
+ * @example
8293
+ * OFF
8294
+ */
7844
8295
  imciAutoIndex?: string;
7845
8296
  /**
7846
8297
  * @remarks
@@ -8087,7 +8538,8 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
8087
8538
  /**
8088
8539
  * @remarks
8089
8540
  * Storage billing type. Valid values are as follows:
8090
- * - **Postpaid**:Pay-as-you-go (by capacity). - **Prepaid**:Subscription (by space).
8541
+ * - **Postpaid**: Pay-as-you-go (by capacity).
8542
+ * - **Prepaid**: Subscription (by space).
8091
8543
  *
8092
8544
  * @example
8093
8545
  * Prepaid
@@ -8141,7 +8593,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
8141
8593
  subCategory?: string;
8142
8594
  /**
8143
8595
  * @remarks
8144
- * Indicates whether the failover with hot replica feature is supported if the cluster has In-Memory Column Index (IMCI) nodes.
8596
+ * Indicates whether queries based on In-Memory Column Indexes (IMCIs) are supported during and after a failover with hot replica.
8145
8597
  *
8146
8598
  * @example
8147
8599
  * ON
@@ -8183,6 +8635,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
8183
8635
  architecture: 'Architecture',
8184
8636
  blktagTotal: 'BlktagTotal',
8185
8637
  blktagUsed: 'BlktagUsed',
8638
+ burstingEnabled: 'BurstingEnabled',
8186
8639
  category: 'Category',
8187
8640
  compressStorageMode: 'CompressStorageMode',
8188
8641
  compressStorageUsed: 'CompressStorageUsed',
@@ -8250,6 +8703,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
8250
8703
  architecture: 'string',
8251
8704
  blktagTotal: 'number',
8252
8705
  blktagUsed: 'number',
8706
+ burstingEnabled: 'string',
8253
8707
  category: 'string',
8254
8708
  compressStorageMode: 'string',
8255
8709
  compressStorageUsed: 'number',
@@ -8898,7 +9352,11 @@ export class DescribeDBClusterEndpointsResponse extends $tea.Model {
8898
9352
  export class DescribeDBClusterMigrationRequest extends $tea.Model {
8899
9353
  /**
8900
9354
  * @remarks
8901
- * The ID of the cluster.
9355
+ * The network type of the endpoint. Valid values:
9356
+ *
9357
+ * * **Public**: the public endpoint
9358
+ * * **Private**: the internal endpoint (VPC)
9359
+ * * **Inner**: the internal endpoint (classic network)
8902
9360
  *
8903
9361
  * This parameter is required.
8904
9362
  *
@@ -8938,7 +9396,10 @@ export class DescribeDBClusterMigrationRequest extends $tea.Model {
8938
9396
  export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
8939
9397
  /**
8940
9398
  * @remarks
8941
- * The description of a migration exception. If no exception occurs during the migration, an empty string is returned.
9399
+ * The mode of the source ApsaraDB RDS instance. Valid values:
9400
+ *
9401
+ * * **rw**: read and write mode
9402
+ * * **ro**: read-only mode
8942
9403
  *
8943
9404
  * @example
8944
9405
  * test
@@ -8946,12 +9407,12 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
8946
9407
  comment?: string;
8947
9408
  /**
8948
9409
  * @remarks
8949
- * The endpoints of the PolarDB cluster.
9410
+ * The port number.
8950
9411
  */
8951
9412
  DBClusterEndpointList?: DescribeDBClusterMigrationResponseBodyDBClusterEndpointList[];
8952
9413
  /**
8953
9414
  * @remarks
8954
- * The ID of the cluster.
9415
+ * The replication latency between the ApsaraDB RDS instance and the PolarDB cluster. Unit: seconds.
8955
9416
  *
8956
9417
  * @example
8957
9418
  * pc-****************
@@ -8959,10 +9420,7 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
8959
9420
  DBClusterId?: string;
8960
9421
  /**
8961
9422
  * @remarks
8962
- * The mode of the PolarDB cluster. Valid values:
8963
- *
8964
- * * **rw**: read and write mode
8965
- * * **ro**: read-only mode
9423
+ * Details about the endpoints.
8966
9424
  *
8967
9425
  * @example
8968
9426
  * ro
@@ -8970,7 +9428,7 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
8970
9428
  DBClusterReadWriteMode?: string;
8971
9429
  /**
8972
9430
  * @remarks
8973
- * The replication latency between the ApsaraDB RDS instance and the PolarDB cluster. Unit: seconds.
9431
+ * The vSwitch ID.
8974
9432
  *
8975
9433
  * @example
8976
9434
  * 0
@@ -8978,7 +9436,11 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
8978
9436
  delayedSeconds?: number;
8979
9437
  /**
8980
9438
  * @remarks
8981
- * The ID of the synchronous task.
9439
+ * The network type of the endpoint. Valid values:
9440
+ *
9441
+ * * **Public**: the public endpoint
9442
+ * * **Private**: the internal endpoint (VPC)
9443
+ * * **Inner**: the internal endpoint (classic network)
8982
9444
  *
8983
9445
  * @example
8984
9446
  * dts**********618bs
@@ -8986,7 +9448,10 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
8986
9448
  dtsInstanceId?: string;
8987
9449
  /**
8988
9450
  * @remarks
8989
- * The expiration time of the replication between ApsaraDB RDS and PolarDB. The time is in the `YYYY-MM-DDThh:mm:ssZ` format. The time is displayed in UTC.
9451
+ * The mode of the PolarDB cluster. Valid values:
9452
+ *
9453
+ * * **rw**: read and write mode
9454
+ * * **ro**: read-only mode
8990
9455
  *
8991
9456
  * @example
8992
9457
  * 2020-06-17T01:56:36Z
@@ -8994,15 +9459,7 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
8994
9459
  expiredTime?: string;
8995
9460
  /**
8996
9461
  * @remarks
8997
- * The migration state of the PolarDB cluster. Valid values:
8998
- *
8999
- * * **NO_MIGRATION**: No migration task is running.
9000
- * * **RDS2POLARDB_CLONING**: Data is being replicated.
9001
- * * **RDS2POLARDB_SYNCING**: Data is being replicated. During the replication, the PolarDB cluster is running in read-only mode and the source ApsaraDB RDS instance is running in read and write mode.
9002
- * * **SWITCHING**: Databases are being switched.
9003
- * * **POLARDB2RDS_SYNCING**: Databases are switched. The PolarDB cluster is running in read and write mode and the source ApsaraDB RDS instance is running in read-only mode. In this state, you can modify the endpoints for your applications.
9004
- * * **ROLLBACK**: The migration is being rolled back. After the rollback is complete, the value **RDS2POLARDB_SYNCING** is returned.
9005
- * * **CLOSING_MIGRATION**: The migration task is being terminated.
9462
+ * The endpoint.
9006
9463
  *
9007
9464
  * @example
9008
9465
  * RDS2POLARDB_SYNCING
@@ -9015,10 +9472,7 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
9015
9472
  rdsEndpointList?: DescribeDBClusterMigrationResponseBodyRdsEndpointList[];
9016
9473
  /**
9017
9474
  * @remarks
9018
- * The mode of the source ApsaraDB RDS instance. Valid values:
9019
- *
9020
- * * **rw**: read and write mode
9021
- * * **ro**: read-only mode
9475
+ * The ID of the synchronous task.
9022
9476
  *
9023
9477
  * @example
9024
9478
  * rw
@@ -9026,7 +9480,7 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
9026
9480
  rdsReadWriteMode?: string;
9027
9481
  /**
9028
9482
  * @remarks
9029
- * The ID of the request.
9483
+ * The ID of the source ApsaraDB RDS instance.
9030
9484
  *
9031
9485
  * @example
9032
9486
  * F2A9EFA7-915F-4572-8299-85A307******
@@ -9034,7 +9488,7 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
9034
9488
  requestId?: string;
9035
9489
  /**
9036
9490
  * @remarks
9037
- * The ID of the source ApsaraDB RDS instance.
9491
+ * The endpoints of the ApsaraDB RDS instance.
9038
9492
  *
9039
9493
  * @example
9040
9494
  * rm-************
@@ -9044,8 +9498,8 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
9044
9498
  * @remarks
9045
9499
  * The type of the source database. Valid values:
9046
9500
  *
9047
- * * **PolarDBMySQL**: The source database is a PolarDB for MySQL database when the major version of your PolarDB cluster is upgraded.
9048
- * * **RDS**: The source database is an ApsaraDB RDS database when data is migrated from ApsaraDB RDS to PolarDB for MySQL.
9501
+ * - **PolarDBMySQL**: The source database is a PolarDB for MySQL database when the major version of your PolarDB cluster is upgraded.
9502
+ * - **RDS**: The source database is an ApsaraDB RDS database when data is migrated from ApsaraDB RDS to PolarDB for MySQL.
9049
9503
  *
9050
9504
  * @example
9051
9505
  * PolarDBMySQL
@@ -9053,10 +9507,15 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
9053
9507
  srcDbType?: string;
9054
9508
  /**
9055
9509
  * @remarks
9056
- * The synchronization direction. Valid values:
9510
+ * The migration state of the PolarDB cluster. Valid values:
9057
9511
  *
9058
- * * **RDS2POLARDB**: Data is replicated from an ApsaraDB RDS instance to a PolarDB cluster.
9059
- * * **POLARDB2RDS**: Data is replicated from a PolarDB cluster to an ApsaraDB RDS instance.
9512
+ * * **NO_MIGRATION**: No migration task is running.
9513
+ * * **RDS2POLARDB_CLONING**: Data is being replicated.
9514
+ * * **RDS2POLARDB_SYNCING**: Data is being replicated. During the replication, the PolarDB cluster is running in read-only mode and the source ApsaraDB RDS instance is running in read and write mode.
9515
+ * * **SWITCHING**: Databases are being switched.
9516
+ * * **POLARDB2RDS_SYNCING**: Databases are switched. The PolarDB cluster is running in read and write mode and the source ApsaraDB RDS instance is running in read-only mode. In this state, you can modify the endpoints for your applications.
9517
+ * * **ROLLBACK**: The migration is being rolled back. After the rollback is complete, the value **RDS2POLARDB_SYNCING** is returned.
9518
+ * * **CLOSING_MIGRATION**: The migration task is being terminated.
9060
9519
  *
9061
9520
  * @example
9062
9521
  * RDS2POLARDB
@@ -9465,7 +9924,7 @@ export class DescribeDBClusterPerformanceRequest extends $tea.Model {
9465
9924
  startTime?: string;
9466
9925
  /**
9467
9926
  * @remarks
9468
- * The Query Type
9927
+ * The query type.
9469
9928
  *
9470
9929
  * @example
9471
9930
  * orca
@@ -9724,7 +10183,7 @@ export class DescribeDBClusterSSLResponse extends $tea.Model {
9724
10183
  export class DescribeDBClusterServerlessConfRequest extends $tea.Model {
9725
10184
  /**
9726
10185
  * @remarks
9727
- * The ID of the serverless cluster.
10186
+ * Serverless cluster ID.
9728
10187
  *
9729
10188
  * This parameter is required.
9730
10189
  *
@@ -9765,10 +10224,11 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
9765
10224
  agileScaleMax?: string;
9766
10225
  /**
9767
10226
  * @remarks
9768
- * Indicates whether the no-activity suspension feature is enabled. Default value: false. Valid values:
10227
+ * Whether to enable idle shutdown. Values:
9769
10228
  *
9770
- * * **true**
9771
- * * **false**
10229
+ * - **true**: Enable
10230
+ *
10231
+ * - **false**: Disable (default)
9772
10232
  *
9773
10233
  * @example
9774
10234
  * true
@@ -9776,7 +10236,7 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
9776
10236
  allowShutDown?: string;
9777
10237
  /**
9778
10238
  * @remarks
9779
- * The ID of the serverless cluster.
10239
+ * Serverless cluster ID.
9780
10240
  *
9781
10241
  * @example
9782
10242
  * pc-bp10gr51qasnl****
@@ -9784,17 +10244,31 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
9784
10244
  DBClusterId?: string;
9785
10245
  /**
9786
10246
  * @remarks
9787
- * The ID of the request.
10247
+ * Request ID.
9788
10248
  *
9789
10249
  * @example
9790
10250
  * 5E71541A-6007-4DCC-A38A-F872C31FEB45
9791
10251
  */
9792
10252
  requestId?: string;
10253
+ /**
10254
+ * @remarks
10255
+ * Maximum limit for the number of read-only column storage nodes. Range: 0~7.
10256
+ *
10257
+ * @example
10258
+ * 1
10259
+ */
9793
10260
  scaleApRoNumMax?: string;
10261
+ /**
10262
+ * @remarks
10263
+ * Minimum limit for the number of read-only column storage nodes. Range: 0~7.
10264
+ *
10265
+ * @example
10266
+ * 1
10267
+ */
9794
10268
  scaleApRoNumMin?: string;
9795
10269
  /**
9796
10270
  * @remarks
9797
- * The maximum number of PCUs per node for scaling. Valid values: 1 PCU to 32 PCUs.
10271
+ * Maximum scaling limit for a single node. Range: 1 PCU~32 PCU.
9798
10272
  *
9799
10273
  * @example
9800
10274
  * 3
@@ -9802,7 +10276,7 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
9802
10276
  scaleMax?: string;
9803
10277
  /**
9804
10278
  * @remarks
9805
- * The minimum number of PCUs per node for scaling. Valid values: 1 PCU to 31 PCUs.
10279
+ * Minimum scaling limit for a single node. Range: 1 PCU~31 PCU.
9806
10280
  *
9807
10281
  * @example
9808
10282
  * 1
@@ -9810,7 +10284,7 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
9810
10284
  scaleMin?: string;
9811
10285
  /**
9812
10286
  * @remarks
9813
- * The maximum number of read-only nodes for scaling. Valid values: 0 to 15.
10287
+ * Maximum scaling limit for the number of read-only nodes. Range: 0~15.
9814
10288
  *
9815
10289
  * @example
9816
10290
  * 4
@@ -9818,7 +10292,7 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
9818
10292
  scaleRoNumMax?: string;
9819
10293
  /**
9820
10294
  * @remarks
9821
- * The minimum number of read-only nodes for scaling. Valid values: 0 to 15.
10295
+ * Minimum scaling limit for the number of read-only nodes. Range: 0~15.
9822
10296
  *
9823
10297
  * @example
9824
10298
  * 2
@@ -9826,15 +10300,51 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
9826
10300
  scaleRoNumMin?: string;
9827
10301
  /**
9828
10302
  * @remarks
9829
- * The detection period for no-activity suspension. Valid values: 300 to 86400. Unit: seconds. The value must be a multiple of 300.
10303
+ * Detection duration for idle shutdown. Range: 300~86,400. Unit: seconds. The detection duration must be a multiple of 300 seconds.
9830
10304
  *
9831
10305
  * @example
9832
10306
  * 10
9833
10307
  */
9834
10308
  secondsUntilAutoPause?: string;
10309
+ /**
10310
+ * @remarks
10311
+ * CPU upscale threshold.
10312
+ *
10313
+ * @example
10314
+ * 60
10315
+ */
9835
10316
  serverlessRuleCpuEnlargeThreshold?: string;
10317
+ /**
10318
+ * @remarks
10319
+ * CPU downscale threshold.
10320
+ *
10321
+ * @example
10322
+ * 30
10323
+ */
9836
10324
  serverlessRuleCpuShrinkThreshold?: string;
10325
+ /**
10326
+ * @remarks
10327
+ * Elasticity sensitivity. Values:
10328
+ *
10329
+ * - normal: Standard
10330
+ *
10331
+ * - flexible: Sensitive
10332
+ *
10333
+ * @example
10334
+ * normal
10335
+ */
9837
10336
  serverlessRuleMode?: string;
10337
+ /**
10338
+ * @remarks
10339
+ * Whether steady state is enabled. Values:
10340
+ *
10341
+ * 1: Enabled
10342
+ *
10343
+ * 0: Disabled
10344
+ *
10345
+ * @example
10346
+ * 1
10347
+ */
9838
10348
  switchs?: string;
9839
10349
  traditionalScaleMaxThreshold?: string;
9840
10350
  static names(): { [key: string]: string } {
@@ -11509,9 +12019,7 @@ export class DescribeDBProxyPerformanceRequest extends $tea.Model {
11509
12019
  DBEndpointId?: string;
11510
12020
  /**
11511
12021
  * @remarks
11512
- * Database instance node ID.
11513
- *
11514
- * > It is used to query the metrics of Proxy on different DB nodes, supporting metrics such as PolarProxy_DBConns, PolarProxy_DBQps, and PolarProxy_DBActionOps.
12022
+ * The ID of the node in the cluster. This parameter can be used to query the performance metrics of PolarProxy on different nodes. The following metrics are supported: PolarProxy_DBConns, PolarProxy_DBQps, and PolarProxy_DBActionOps.
11515
12023
  *
11516
12024
  * @example
11517
12025
  * pi-******************
@@ -12875,6 +13383,8 @@ export class DescribeGlobalSecurityIPGroupRelationResponse extends $tea.Model {
12875
13383
  export class DescribeLicenseOrderDetailsRequest extends $tea.Model {
12876
13384
  /**
12877
13385
  * @remarks
13386
+ * The Alibaba Cloud order ID (or virtual order ID).
13387
+ *
12878
13388
  * This parameter is required.
12879
13389
  *
12880
13390
  * @example
@@ -12912,71 +13422,119 @@ export class DescribeLicenseOrderDetailsRequest extends $tea.Model {
12912
13422
 
12913
13423
  export class DescribeLicenseOrderDetailsResponseBody extends $tea.Model {
12914
13424
  /**
13425
+ * @remarks
13426
+ * The number of generated activation codes.
13427
+ *
12915
13428
  * @example
12916
13429
  * 2
12917
13430
  */
12918
13431
  activatedCodeCount?: number;
12919
13432
  /**
13433
+ * @remarks
13434
+ * The maximum number of activation codes that you can apply for.
13435
+ *
12920
13436
  * @example
12921
13437
  * 8
12922
13438
  */
12923
13439
  activationCodeQuota?: number;
12924
13440
  /**
13441
+ * @remarks
13442
+ * The Alibaba Cloud order ID (including the virtual order ID).
13443
+ *
12925
13444
  * @example
12926
13445
  * 239618016570503
12927
13446
  */
12928
13447
  aliyunOrderId?: string;
12929
13448
  /**
13449
+ * @remarks
13450
+ * Indicates whether activation codes can be generated without the system identifier.
13451
+ *
12930
13452
  * @example
12931
13453
  * false
12932
13454
  */
12933
13455
  allowEmptySystemIdentifier?: boolean;
12934
13456
  /**
13457
+ * @remarks
13458
+ * The type of the engine. Valid values: PG, Oracle, and MySQL.
13459
+ *
12935
13460
  * @example
12936
13461
  * PG
12937
13462
  */
12938
13463
  engine?: string;
12939
13464
  /**
13465
+ * @remarks
13466
+ * The time when the order was created.
13467
+ *
12940
13468
  * @example
12941
13469
  * 2021-10-19 01:13:45
12942
13470
  */
12943
13471
  gmtCreated?: string;
12944
13472
  /**
13473
+ * @remarks
13474
+ * The time when the order was last updated.
13475
+ *
12945
13476
  * @example
12946
13477
  * 2024-10-16 16:46:20
12947
13478
  */
12948
13479
  gmtModified?: string;
12949
13480
  /**
13481
+ * @remarks
13482
+ * Indicates whether the order is a virtual order (virtual orders allow pre-generation of activation codes).
13483
+ *
12950
13484
  * @example
12951
13485
  * false
12952
13486
  */
12953
13487
  isVirtualOrder?: boolean;
12954
13488
  /**
13489
+ * @remarks
13490
+ * Indicates whether the virtual order is frozen (activation codes cannot be generated for a frozen virtual order).
13491
+ *
12955
13492
  * @example
12956
13493
  * false
12957
13494
  */
12958
13495
  isVirtualOrderFrozen?: boolean;
12959
13496
  /**
13497
+ * @remarks
13498
+ * The plan type. Valid values:
13499
+ *
13500
+ * * single_node_subscribe
13501
+ * * single_node_long_term
13502
+ * * primary_backup_subscribe
13503
+ * * primary_backup_long_term
13504
+ * * pre_generation_long_term
13505
+ *
12960
13506
  * @example
12961
13507
  * pre_generation_long_term
12962
13508
  */
12963
13509
  packageType?: string;
12964
13510
  /**
13511
+ * @remarks
13512
+ * The validity period of the plan, which is one year (common) or thirty years (long-term).
13513
+ *
12965
13514
  * @example
12966
13515
  * 1 year
12967
13516
  */
12968
13517
  packageValidity?: string;
12969
13518
  /**
13519
+ * @remarks
13520
+ * The plan validity period, one year (common) or thirty years (long-term).
13521
+ *
12970
13522
  * @example
12971
13523
  * aliyun_market
12972
13524
  */
12973
13525
  purchaseChannel?: string;
12974
13526
  /**
13527
+ * @remarks
13528
+ * The request ID.
13529
+ *
12975
13530
  * @example
12976
13531
  * 22C0ACF0-DD29-4B67-9190-B7A48C******
12977
13532
  */
12978
13533
  requestId?: string;
12979
13534
  /**
13535
+ * @remarks
13536
+ * The virtual order ID.
13537
+ *
12980
13538
  * @example
12981
13539
  * 239618016570503
12982
13540
  */
@@ -13051,6 +13609,9 @@ export class DescribeLicenseOrderDetailsResponse extends $tea.Model {
13051
13609
 
13052
13610
  export class DescribeLicenseOrdersRequest extends $tea.Model {
13053
13611
  /**
13612
+ * @remarks
13613
+ * The ID of the Alibaba Cloud order. The value can be the ID of a virtual order.
13614
+ *
13054
13615
  * @example
13055
13616
  * 239618016570503
13056
13617
  */
@@ -13058,27 +13619,52 @@ export class DescribeLicenseOrdersRequest extends $tea.Model {
13058
13619
  ownerAccount?: string;
13059
13620
  ownerId?: number;
13060
13621
  /**
13622
+ * @remarks
13623
+ * The type of the package. Valid values:
13624
+ *
13625
+ * * single_node_subscribe: Single-node Edition (Subscription).
13626
+ * * single_node_long_term: Single-node Edition (Long-term).
13627
+ * * primary_backup_subscribe: HA Edition (Subscription).
13628
+ * * primary_backup_long_term: HA Edition (Long-term).
13629
+ * * pre_generation_long_term: Pre-generated (Long-term).
13630
+ *
13061
13631
  * @example
13062
13632
  * single_node_subscribe
13063
13633
  */
13064
13634
  packageType?: string;
13065
13635
  /**
13636
+ * @remarks
13637
+ * The page number.
13638
+ *
13066
13639
  * @example
13067
13640
  * 1
13068
13641
  */
13069
13642
  pageNumber?: number;
13070
13643
  /**
13644
+ * @remarks
13645
+ * The number of entries per page.
13646
+ *
13071
13647
  * @example
13072
13648
  * 30
13073
13649
  */
13074
13650
  pageSize?: number;
13075
13651
  /**
13652
+ * @remarks
13653
+ * The purchase channel. Valid values: aliyun_market and aliyun_public. aliyun_market specifies Alibaba Cloud Marketplace. aliyun_public specifies the PolarDB buy page.
13654
+ *
13076
13655
  * @example
13077
13656
  * aliyun_market
13078
13657
  */
13079
13658
  purchaseChannel?: string;
13080
13659
  resourceOwnerAccount?: string;
13081
13660
  resourceOwnerId?: number;
13661
+ /**
13662
+ * @remarks
13663
+ * Specifies whether to query only virtual orders.
13664
+ *
13665
+ * @example
13666
+ * true
13667
+ */
13082
13668
  virtualOrder?: boolean;
13083
13669
  static names(): { [key: string]: string } {
13084
13670
  return {
@@ -13116,23 +13702,39 @@ export class DescribeLicenseOrdersRequest extends $tea.Model {
13116
13702
  }
13117
13703
 
13118
13704
  export class DescribeLicenseOrdersResponseBody extends $tea.Model {
13705
+ /**
13706
+ * @remarks
13707
+ * The queried orders.
13708
+ */
13119
13709
  items?: DescribeLicenseOrdersResponseBodyItems[];
13120
13710
  /**
13711
+ * @remarks
13712
+ * The page number.
13713
+ *
13121
13714
  * @example
13122
13715
  * 1
13123
13716
  */
13124
13717
  pageNumber?: number;
13125
13718
  /**
13719
+ * @remarks
13720
+ * The number of entries returned on the current page.
13721
+ *
13126
13722
  * @example
13127
13723
  * 12
13128
13724
  */
13129
13725
  pageRecordCount?: number;
13130
13726
  /**
13727
+ * @remarks
13728
+ * The request ID.
13729
+ *
13131
13730
  * @example
13132
13731
  * 34458CD3-33E0-4624-BFEF-840C15******
13133
13732
  */
13134
13733
  requestId?: string;
13135
13734
  /**
13735
+ * @remarks
13736
+ * The total number of entries returned.
13737
+ *
13136
13738
  * @example
13137
13739
  * 50
13138
13740
  */
@@ -16374,9 +16976,9 @@ export class EvaluateRegionResourceRequest extends $tea.Model {
16374
16976
  * @remarks
16375
16977
  * The cluster link type. The backend randomly selects the default value. Valid values:
16376
16978
  *
16377
- * * **lvs** :Linux virtual server
16378
- * * **proxy**: proxy server
16379
- * * **dns**: domain name system
16979
+ * * **lvs**: Linux virtual server.
16980
+ * * **proxy**: proxy server.
16981
+ * * **dns**: domain name system.
16380
16982
  *
16381
16983
  * @example
16382
16984
  * lvs
@@ -16446,9 +17048,9 @@ export class EvaluateRegionResourceRequest extends $tea.Model {
16446
17048
  dispenseMode?: string;
16447
17049
  /**
16448
17050
  * @remarks
16449
- * Specifies whether Maxscale is created. Default value: true. Valid values:
17051
+ * Specifies whether to create Maxscale. Valid values:
16450
17052
  *
16451
- * * **true**
17053
+ * * **true** (default)
16452
17054
  * * **false**
16453
17055
  *
16454
17056
  * This parameter is required.
@@ -17423,6 +18025,126 @@ export class ModifyAccountPasswordResponse extends $tea.Model {
17423
18025
  }
17424
18026
  }
17425
18027
 
18028
+ export class ModifyActiveOperationTasksRequest extends $tea.Model {
18029
+ /**
18030
+ * @example
18031
+ * 0
18032
+ */
18033
+ immediateStart?: number;
18034
+ ownerAccount?: string;
18035
+ ownerId?: number;
18036
+ /**
18037
+ * @remarks
18038
+ * This parameter is required.
18039
+ *
18040
+ * @example
18041
+ * cn-beijing
18042
+ */
18043
+ regionId?: string;
18044
+ resourceOwnerAccount?: string;
18045
+ resourceOwnerId?: number;
18046
+ securityToken?: string;
18047
+ /**
18048
+ * @example
18049
+ * 2023-04-25T06:00:00Z
18050
+ */
18051
+ switchTime?: string;
18052
+ /**
18053
+ * @remarks
18054
+ * This parameter is required.
18055
+ *
18056
+ * @example
18057
+ * 11111,22222
18058
+ */
18059
+ taskIds?: string;
18060
+ static names(): { [key: string]: string } {
18061
+ return {
18062
+ immediateStart: 'ImmediateStart',
18063
+ ownerAccount: 'OwnerAccount',
18064
+ ownerId: 'OwnerId',
18065
+ regionId: 'RegionId',
18066
+ resourceOwnerAccount: 'ResourceOwnerAccount',
18067
+ resourceOwnerId: 'ResourceOwnerId',
18068
+ securityToken: 'SecurityToken',
18069
+ switchTime: 'SwitchTime',
18070
+ taskIds: 'TaskIds',
18071
+ };
18072
+ }
18073
+
18074
+ static types(): { [key: string]: any } {
18075
+ return {
18076
+ immediateStart: 'number',
18077
+ ownerAccount: 'string',
18078
+ ownerId: 'number',
18079
+ regionId: 'string',
18080
+ resourceOwnerAccount: 'string',
18081
+ resourceOwnerId: 'number',
18082
+ securityToken: 'string',
18083
+ switchTime: 'string',
18084
+ taskIds: 'string',
18085
+ };
18086
+ }
18087
+
18088
+ constructor(map?: { [key: string]: any }) {
18089
+ super(map);
18090
+ }
18091
+ }
18092
+
18093
+ export class ModifyActiveOperationTasksResponseBody extends $tea.Model {
18094
+ /**
18095
+ * @example
18096
+ * 42CD2EF5-D77E-5AD4-961B-159330D98286
18097
+ */
18098
+ requestId?: string;
18099
+ /**
18100
+ * @example
18101
+ * 11111,22222
18102
+ */
18103
+ taskIds?: string;
18104
+ static names(): { [key: string]: string } {
18105
+ return {
18106
+ requestId: 'RequestId',
18107
+ taskIds: 'TaskIds',
18108
+ };
18109
+ }
18110
+
18111
+ static types(): { [key: string]: any } {
18112
+ return {
18113
+ requestId: 'string',
18114
+ taskIds: 'string',
18115
+ };
18116
+ }
18117
+
18118
+ constructor(map?: { [key: string]: any }) {
18119
+ super(map);
18120
+ }
18121
+ }
18122
+
18123
+ export class ModifyActiveOperationTasksResponse extends $tea.Model {
18124
+ headers?: { [key: string]: string };
18125
+ statusCode?: number;
18126
+ body?: ModifyActiveOperationTasksResponseBody;
18127
+ static names(): { [key: string]: string } {
18128
+ return {
18129
+ headers: 'headers',
18130
+ statusCode: 'statusCode',
18131
+ body: 'body',
18132
+ };
18133
+ }
18134
+
18135
+ static types(): { [key: string]: any } {
18136
+ return {
18137
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18138
+ statusCode: 'number',
18139
+ body: ModifyActiveOperationTasksResponseBody,
18140
+ };
18141
+ }
18142
+
18143
+ constructor(map?: { [key: string]: any }) {
18144
+ super(map);
18145
+ }
18146
+ }
18147
+
17426
18148
  export class ModifyAutoRenewAttributeRequest extends $tea.Model {
17427
18149
  /**
17428
18150
  * @remarks
@@ -17941,6 +18663,22 @@ export class ModifyDBClusterRequest extends $tea.Model {
17941
18663
  * 0
17942
18664
  */
17943
18665
  faultSimulateMode?: string;
18666
+ /**
18667
+ * @remarks
18668
+ * Specifies whether to enable automatic IMCI-based query acceleration. IMCI is short for In-Memory Column Index. Valid values:
18669
+ *
18670
+ * * `ON`: enables automatic IMCI-based query acceleration.
18671
+ * * `OFF`: disables automatic IMCI-based query acceleration.
18672
+ *
18673
+ * >
18674
+ *
18675
+ * * This parameter is supported only for PolarDB for MySQL clusters.
18676
+ *
18677
+ * * For information about the cluster version limits, see [Automatic IMCI-based query acceleration](https://help.aliyun.com/document_detail/2854119.html).
18678
+ *
18679
+ * @example
18680
+ * OFF
18681
+ */
17944
18682
  imciAutoIndex?: string;
17945
18683
  ownerAccount?: string;
17946
18684
  ownerId?: number;
@@ -18355,6 +19093,7 @@ export class ModifyDBClusterAndNodesParametersRequest extends $tea.Model {
18355
19093
  plannedStartTime?: string;
18356
19094
  resourceOwnerAccount?: string;
18357
19095
  resourceOwnerId?: number;
19096
+ standbyClusterIdListNeedToSync?: string;
18358
19097
  static names(): { [key: string]: string } {
18359
19098
  return {
18360
19099
  DBClusterId: 'DBClusterId',
@@ -18368,6 +19107,7 @@ export class ModifyDBClusterAndNodesParametersRequest extends $tea.Model {
18368
19107
  plannedStartTime: 'PlannedStartTime',
18369
19108
  resourceOwnerAccount: 'ResourceOwnerAccount',
18370
19109
  resourceOwnerId: 'ResourceOwnerId',
19110
+ standbyClusterIdListNeedToSync: 'StandbyClusterIdListNeedToSync',
18371
19111
  };
18372
19112
  }
18373
19113
 
@@ -18384,6 +19124,7 @@ export class ModifyDBClusterAndNodesParametersRequest extends $tea.Model {
18384
19124
  plannedStartTime: 'string',
18385
19125
  resourceOwnerAccount: 'string',
18386
19126
  resourceOwnerId: 'number',
19127
+ standbyClusterIdListNeedToSync: 'string',
18387
19128
  };
18388
19129
  }
18389
19130
 
@@ -18764,10 +19505,10 @@ export class ModifyDBClusterDescriptionResponse extends $tea.Model {
18764
19505
  export class ModifyDBClusterEndpointRequest extends $tea.Model {
18765
19506
  /**
18766
19507
  * @remarks
18767
- * Specifies whether to automatically associate newly added nodes with the cluster endpoint. Default value: Disable. Valid values:
19508
+ * Specifies whether to enable automatic association of newly added nodes with the cluster endpoint. Valid values:
18768
19509
  *
18769
- * * **Enable**
18770
- * * **Disable**
19510
+ * * **Enable**: enables automatic association of newly added nodes with the cluster endpoint.
19511
+ * * **Disable** (default): disables automatic association of newly added nodes with the cluster endpoint.
18771
19512
  *
18772
19513
  * @example
18773
19514
  * Enable
@@ -18803,60 +19544,74 @@ export class ModifyDBClusterEndpointRequest extends $tea.Model {
18803
19544
  DBEndpointId?: string;
18804
19545
  /**
18805
19546
  * @remarks
18806
- * The advanced configurations of the cluster endpoint, which are in the JSON format. You can specify the configurations of the following attributes: consistency level, transaction splitting, connection pool, and primary node accepts read requests.
19547
+ * The advanced configurations of the cluster endpoint, which are in the JSON format. You can configure the consistency level, transaction splitting, and connection pool settings, and specify whether the primary node accepts read requests.
18807
19548
  *
18808
- * * Specifies the load balancing policy in the format of `{\\"LoadBalancePolicy\\":\\"Selected value\\"}`. Default value: 0. Valid values:
19549
+ * * The load balancing policy. Format: `{\\"LoadBalancePolicy\\":\\"Load balancing policy\\"}`. Valid values:
18809
19550
  *
18810
- * * **0**: connections-based load balancing
19551
+ * * **0** (default): connections-based load balancing
18811
19552
  * * **1**: active requests-based load balancing
18812
19553
  *
18813
- * * Specifies whether to enable the primary node accepts read requests feature in the format of `{\\"MasterAcceptReads\\":\\"Selected value\\"}`. Default value: on. Valid values:
19554
+ * * Specifies whether to allow the primary node to accept read requests. Format: `{\\"MasterAcceptReads\\":\\"Specification about whether to allow the primary node to accept read requests\\"}`. Valid values:
18814
19555
  *
18815
- * * **on**
18816
- * * **off**
19556
+ * * **on** (default): allows the primary node to accept read requests.
19557
+ * * **off**: does not allow the primary node to accept read requests.
18817
19558
  *
18818
- * * Specifies whether to enable the transaction splitting feature in the format of `{\\"DistributedTransaction\\":\\"Selected value\\"}`. Default value: on. Valid values:
19559
+ * * Specifies whether to enable the transaction splitting feature. Format: `{\\"DistributedTransaction\\":\\"Specification about whether to enable the transaction splitting feature\\"}`. Valid values:
18819
19560
  *
18820
- * * **on**
18821
- * * **off**
19561
+ * * **on** (default): enables the transaction splitting feature.
19562
+ * * **off**: disables the transaction splitting feature.
18822
19563
  *
18823
- * * Specifies the consistency level in the format of `{\\"ConsistLevel\\":\\"Selected value\\"}`. Default value: 1. Valid values:
19564
+ * * The consistency level. Format: `{\\"ConsistLevel\\":\\"Consistency level\\"}`. Valid values:
18824
19565
  *
18825
19566
  * * **0**: eventual consistency (weak)
18826
- * * **1**: session consistency (medium)
19567
+ * * **1** (default): session consistency (medium)
18827
19568
  * * **2**: global consistency (strong)
18828
19569
  *
18829
- * * Specifies the connection pool in the format of `{\\"ConnectionPersist\\":\\"Selected value\\"}`. Default value: off. Valid values:
19570
+ * * The global consistency timeout. Format: `{\\"ConsistTimeout\\":\\"Global consistency timeout\\"}`. Valid values: 0 to 60,000. Default value: 20. Unit: ms.
18830
19571
  *
18831
- * * **off**: disables the connection pool.
19572
+ * * The session consistency timeout. Format: `{\\"ConsistSessionTimeout\\":\\"Session consistency timeout\\"}`. Valid values: 0 to 60,000. Default value: 0. Unit: ms.
19573
+ *
19574
+ * * The global (or session) consistency timeout policy. Format: `{\\"ConsistTimeoutAction\\":\\"Consistency timeout policy\\"}`. Valid values:
19575
+ *
19576
+ * * **0** (default): PolarProxy sends read requests to the primary node.
19577
+ * * **1**: PolarProxy returns the "wait replication complete timeout, please retry" error message to the application.
19578
+ *
19579
+ * * Specifies whether to enable the connection pool feature. Format: `{\\"ConnectionPersist\\":\\"Specification about whether to enable the connection pool feature\\"}`. Valid values:
19580
+ *
19581
+ * * **off** (default): disables the connection pool feature.
18832
19582
  * * **Session**: enables the session-level connection pool.
18833
19583
  * * **Transaction**: enables the transaction-level connection pool.
18834
19584
  *
18835
- * * Specifies whether to enable the parallel query feature in the format of `{\\"MaxParallelDegree\\":\\"Selected value\\"}`. Default value: off. Valid values:
19585
+ * * Specifies whether to enable the parallel query feature. Format: `{\\"MaxParallelDegree\\":\\"Specification about whether to enable the parallel query feature\\"}`. Valid values:
18836
19586
  *
18837
- * * **on**
18838
- * * **off**
19587
+ * * **on**: enables the parallel query feature.
19588
+ * * **off** (default): disables the parallel query feature.
18839
19589
  *
18840
- * * Specifies whether to enable the automatic request distribution between row store and column store nodes feature in the format of `{\\"EnableHtapImci\\":\\"Selected value\\"}`. Default value: off. Valid values:
19590
+ * * Specifies whether to enable the automatic request distribution among row store and column store nodes feature. Format: `{\\"EnableHtapImci\\":\\"Specification about whether to enable automatic request distribution among row store and column store nodes feature\\"}`. Valid values:
18841
19591
  *
18842
- * * **on**
18843
- * * **off**
19592
+ * * **on**: enables the automatic request distribution among row store and column store nodes feature.
19593
+ * * **off** (default): disables the automatic request distribution among row store and column store nodes feature.
18844
19594
  *
18845
- * * Specifies whether to enable the overload protection feature in the format of `{\\"EnableOverloadThrottle\\":\\"Selected value\\"}`. Default value: off. Valid values:
19595
+ * * Specifies whether to enable the overload protection feature. Format: `{\\"EnableOverloadThrottle\\":\\"Specification about whether to enable the overload protection feature\\"}`. Valid values:
18846
19596
  *
18847
- * * **on**
18848
- * * **off**
19597
+ * * **on**: enables the overload protection feature.
19598
+ * * **off** (default): disables the overload protection feature.
18849
19599
  *
18850
19600
  * >
18851
19601
  *
18852
- * * You can specify the transaction splitting, primary node accepts read requests, connection pool, and overload protection features for a PolarDB for MySQL cluster only if ReadWriteMode is set to ReadWrite for the cluster endpoint.
19602
+ * * You can configure the transaction splitting, connection pool, and overload protection settings, and specify whether the primary node accepts read requests settings for the cluster endpoint of a PolarDB for MySQL cluster only if ReadWriteMode of the cluster endpoint is set to Read and Write (Automatic Read/Write Splitting).
19603
+ *
19604
+ * * If ReadWriteMode of the cluster endpoint of a PolarDB for MySQL cluster is set to **Read-only**, you can specify the **Connections-based Load Balancing** or **Active Request-based Load Balancing** policy for the cluster endpoint. If ReadWriteMode of the cluster endpoint of a PolarDB for MySQL cluster is set to **Read/Write (Automatic Read/Write Splitting)**, you can specify only the **Active Request-based Load Balancing** policy for the cluster endpoint.
19605
+ *
19606
+ * * You can enable automatic request distribution among column store and row store nodes for the cluster endpoint of a PolarDB for MySQL cluster if ReadWriteMode of the cluster endpoint is set to **Read and Write (Automatic Read/Write Splitting)**, or if the ReadWriteMode of the cluster endpoint is set to **Read-only** and the load balancing policy is set to **Active requests-based load balancing**.
18853
19607
  *
18854
- * * If the read /write mode of a PolarDB for MySQL cluster is set to **Read-only**, the **Connection-based SLB** and **Active Request-based SLB** SLB policies are supported. The **Read-write (Automatic read /write splitting) **mode of the cluster supports** Active Request-based SLB** policy.
18855
- * * If ReadWriteMode is set to **ReadWrite** for the cluster endpoint of a PolarDB for MySQL cluster or if ReadWriteMode is set to **ReadOnly** and the load balancing policy is set to **active requests-based load balancing**, the automatic request distribution between row store and column store nodes feature is supported.
18856
19608
  * * Only PolarDB for MySQL supports global consistency.
18857
- * * If the **ReadWriteMode** parameter is set to **ReadOnly**, the consistency level must be **0**.
18858
- * * You can specify the consistency level, transaction splitting, connection pool, and primary node accepts read requests features at a time, such as `{\\"ConsistLevel\\":\\"1\\",\\"DistributedTransaction\\":\\"on\\",\\"ConnectionPersist\\":\\"Session\\",\\"MasterAcceptReads\\":\\"on\\"}`.
18859
- * * The transaction splitting settings are restricted by the consistency level settings. For example, if you set the consistency level to **0**, transaction splitting cannot be enabled. If you set the consistency level to **1** or **2**, transaction splitting can be enabled.
19609
+ *
19610
+ * * You can set the consistency level of the cluster endpoint of a PolarDB for MySQL cluster only to **0** if **ReadWriteMode** of the cluster endpoint is set to **ReadOnly**.
19611
+ *
19612
+ * * You can configure the settings for the consistency level, transaction splitting, and connection pool features, and specify whether the primary node accepts read requests settings at a time. Example: `{\\"ConsistLevel\\":\\"1\\",\\"DistributedTransaction\\":\\"on\\",\\"ConnectionPersist\\":\\"Session\\",\\"MasterAcceptReads\\":\\"on\\"}`.
19613
+ *
19614
+ * * The configuration for transaction splitting is limited by the configuration for the consistency level. For example, if you set the consistency level to **0**, you cannot enable transaction splitting. If you set the consistency level to **1** or **2**, you can enable transaction splitting.
18860
19615
  *
18861
19616
  * @example
18862
19617
  * {"ConsistLevel":"1","DistributedTransaction":"on","MasterAcceptReads":"off","ConnectionPersist": "on"}
@@ -18885,7 +19640,24 @@ export class ModifyDBClusterEndpointRequest extends $tea.Model {
18885
19640
  nodes?: string;
18886
19641
  ownerAccount?: string;
18887
19642
  ownerId?: number;
19643
+ /**
19644
+ * @remarks
19645
+ * Global consistency timeout policy. Valid values:
19646
+ *
19647
+ * * **0**: sends the request to the primary node.
19648
+ * * **2**: downgrades the consistency level of a query to inconsistent read when a global consistent read in the query times out. No error message is returned to the client.
19649
+ *
19650
+ * @example
19651
+ * 0
19652
+ */
18888
19653
  polarSccTimeoutAction?: string;
19654
+ /**
19655
+ * @remarks
19656
+ * Global consistency timeout.
19657
+ *
19658
+ * @example
19659
+ * 100
19660
+ */
18889
19661
  polarSccWaitTimeout?: string;
18890
19662
  /**
18891
19663
  * @remarks
@@ -18900,6 +19672,21 @@ export class ModifyDBClusterEndpointRequest extends $tea.Model {
18900
19672
  readWriteMode?: string;
18901
19673
  resourceOwnerAccount?: string;
18902
19674
  resourceOwnerId?: number;
19675
+ /**
19676
+ * @remarks
19677
+ * Specifies whether to enable the global consistency (high-performance mode) feature for the nodes. Valid values:
19678
+ *
19679
+ * * **ON**
19680
+ * * **OFF**
19681
+ *
19682
+ * Valid values:
19683
+ *
19684
+ * * on
19685
+ * * off
19686
+ *
19687
+ * @example
19688
+ * on
19689
+ */
18903
19690
  sccMode?: string;
18904
19691
  static names(): { [key: string]: string } {
18905
19692
  return {
@@ -24479,8 +25266,11 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
24479
25266
  * @remarks
24480
25267
  * The earliest start time to run the task that updates the kernel version of the cluster. Specify the time in the `YYYY-MM-DDThh:mm:ssZ` format. The time must be in UTC.
24481
25268
  *
24482
- * > * The earliest start time of the task can be a point in time within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can specify a point in time between `2021-01-14T09:00:00Z` and `2021-01-15T09:00:00Z`.
24483
- * >* If you do not specify this parameter, the kernel update task runs immediately after you submit the request.
25269
+ * >
25270
+ *
25271
+ * * The earliest start time of the task can be a point in time within the next 72 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can specify a point in time from `2021-01-14T09:00:00Z` to `2021-01-17T09:00:00Z`.
25272
+ *
25273
+ * * If you do not specify this parameter, the kernel update task runs immediately after you submit the request.
24484
25274
  *
24485
25275
  * @example
24486
25276
  * 2021-01-14T09:00:00Z
@@ -25035,46 +25825,73 @@ export class DescribeAccountsResponseBodyAccounts extends $tea.Model {
25035
25825
 
25036
25826
  export class DescribeActivationCodesResponseBodyItems extends $tea.Model {
25037
25827
  /**
25828
+ * @remarks
25829
+ * The time when the activation code takes effect.
25830
+ *
25038
25831
  * @example
25039
25832
  * 2024-10-16 16:46:20
25040
25833
  */
25041
25834
  activateAt?: string;
25042
25835
  /**
25836
+ * @remarks
25837
+ * The description of the activation code.
25838
+ *
25043
25839
  * @example
25044
25840
  * testCode
25045
25841
  */
25046
25842
  description?: string;
25047
25843
  /**
25844
+ * @remarks
25845
+ * The time when the activation code expires.
25846
+ *
25048
25847
  * @example
25049
25848
  * 2054-10-16 16:46:20
25050
25849
  */
25051
25850
  expireAt?: string;
25052
25851
  /**
25852
+ * @remarks
25853
+ * The time when the activation code was generated.
25854
+ *
25053
25855
  * @example
25054
25856
  * 2024-10-16 16:46:20
25055
25857
  */
25056
25858
  gmtCreated?: string;
25057
25859
  /**
25860
+ * @remarks
25861
+ * The time when the activation code was updated.
25862
+ *
25058
25863
  * @example
25059
25864
  * 2024-10-16 16:46:20
25060
25865
  */
25061
25866
  gmtModified?: string;
25062
25867
  /**
25868
+ * @remarks
25869
+ * The activation code ID.
25870
+ *
25063
25871
  * @example
25064
25872
  * 123
25065
25873
  */
25066
25874
  id?: number;
25067
25875
  /**
25876
+ * @remarks
25877
+ * The media access control (MAC) address used in the generation of the activation code.
25878
+ *
25068
25879
  * @example
25069
25880
  * 12:34:56:78:98:00
25070
25881
  */
25071
25882
  macAddress?: string;
25072
25883
  /**
25884
+ * @remarks
25885
+ * The name of the activation code.
25886
+ *
25073
25887
  * @example
25074
25888
  * testName
25075
25889
  */
25076
25890
  name?: string;
25077
25891
  /**
25892
+ * @remarks
25893
+ * The unique identifier of the database.
25894
+ *
25078
25895
  * @example
25079
25896
  * 1234567890123456
25080
25897
  */
@@ -25112,6 +25929,204 @@ export class DescribeActivationCodesResponseBodyItems extends $tea.Model {
25112
25929
  }
25113
25930
  }
25114
25931
 
25932
+ export class DescribeActiveOperationTasksResponseBodyItems extends $tea.Model {
25933
+ /**
25934
+ * @example
25935
+ * 0
25936
+ */
25937
+ allowCancel?: number;
25938
+ /**
25939
+ * @example
25940
+ * 0
25941
+ */
25942
+ allowChange?: number;
25943
+ /**
25944
+ * @example
25945
+ * S0
25946
+ */
25947
+ changeLevel?: string;
25948
+ /**
25949
+ * @example
25950
+ * System maintenance
25951
+ */
25952
+ changeLevelEn?: string;
25953
+ changeLevelZh?: string;
25954
+ /**
25955
+ * @example
25956
+ * 2020-06-09T22:00:42Z
25957
+ */
25958
+ createdTime?: string;
25959
+ /**
25960
+ * @example
25961
+ * cn-beijing-h
25962
+ */
25963
+ currentAVZ?: string;
25964
+ /**
25965
+ * @example
25966
+ * pc-*****************
25967
+ */
25968
+ DBClusterId?: string;
25969
+ DBNodeIds?: string[];
25970
+ /**
25971
+ * @example
25972
+ * MySQL
25973
+ */
25974
+ DBType?: string;
25975
+ /**
25976
+ * @example
25977
+ * 8.0
25978
+ */
25979
+ DBVersion?: string;
25980
+ /**
25981
+ * @example
25982
+ * 2020-06-11T15:59:59Z
25983
+ */
25984
+ deadline?: string;
25985
+ /**
25986
+ * @example
25987
+ * TransientDisconnection
25988
+ */
25989
+ impact?: string;
25990
+ /**
25991
+ * @example
25992
+ * Transient instance disconnection
25993
+ */
25994
+ impactEn?: string;
25995
+ impactZh?: string;
25996
+ /**
25997
+ * @example
25998
+ * test
25999
+ */
26000
+ insComment?: string;
26001
+ /**
26002
+ * @example
26003
+ * 2020-06-09T22:00:42Z
26004
+ */
26005
+ modifiedTime?: string;
26006
+ /**
26007
+ * @example
26008
+ * 04:00:00
26009
+ */
26010
+ prepareInterval?: string;
26011
+ /**
26012
+ * @example
26013
+ * cn-hangzhou
26014
+ */
26015
+ region?: string;
26016
+ /**
26017
+ * @example
26018
+ * userCancel
26019
+ */
26020
+ resultInfo?: string;
26021
+ /**
26022
+ * @example
26023
+ * 2023-05-19T02:48:17Z
26024
+ */
26025
+ startTime?: string;
26026
+ /**
26027
+ * @example
26028
+ * 3
26029
+ */
26030
+ status?: number;
26031
+ /**
26032
+ * @example
26033
+ * 2020-06-09T22:00:00Z
26034
+ */
26035
+ switchTime?: string;
26036
+ /**
26037
+ * @example
26038
+ * 107202351
26039
+ */
26040
+ taskId?: number;
26041
+ /**
26042
+ * @example
26043
+ * {
26044
+ * "Action": "UpgradeDBInstance"
26045
+ * }
26046
+ */
26047
+ taskParams?: string;
26048
+ /**
26049
+ * @example
26050
+ * DatabaseSoftwareUpgrading
26051
+ */
26052
+ taskType?: string;
26053
+ /**
26054
+ * @example
26055
+ * Minor version update
26056
+ */
26057
+ taskTypeEn?: string;
26058
+ taskTypeZh?: string;
26059
+ static names(): { [key: string]: string } {
26060
+ return {
26061
+ allowCancel: 'AllowCancel',
26062
+ allowChange: 'AllowChange',
26063
+ changeLevel: 'ChangeLevel',
26064
+ changeLevelEn: 'ChangeLevelEn',
26065
+ changeLevelZh: 'ChangeLevelZh',
26066
+ createdTime: 'CreatedTime',
26067
+ currentAVZ: 'CurrentAVZ',
26068
+ DBClusterId: 'DBClusterId',
26069
+ DBNodeIds: 'DBNodeIds',
26070
+ DBType: 'DBType',
26071
+ DBVersion: 'DBVersion',
26072
+ deadline: 'Deadline',
26073
+ impact: 'Impact',
26074
+ impactEn: 'ImpactEn',
26075
+ impactZh: 'ImpactZh',
26076
+ insComment: 'InsComment',
26077
+ modifiedTime: 'ModifiedTime',
26078
+ prepareInterval: 'PrepareInterval',
26079
+ region: 'Region',
26080
+ resultInfo: 'ResultInfo',
26081
+ startTime: 'StartTime',
26082
+ status: 'Status',
26083
+ switchTime: 'SwitchTime',
26084
+ taskId: 'TaskId',
26085
+ taskParams: 'TaskParams',
26086
+ taskType: 'TaskType',
26087
+ taskTypeEn: 'TaskTypeEn',
26088
+ taskTypeZh: 'TaskTypeZh',
26089
+ };
26090
+ }
26091
+
26092
+ static types(): { [key: string]: any } {
26093
+ return {
26094
+ allowCancel: 'number',
26095
+ allowChange: 'number',
26096
+ changeLevel: 'string',
26097
+ changeLevelEn: 'string',
26098
+ changeLevelZh: 'string',
26099
+ createdTime: 'string',
26100
+ currentAVZ: 'string',
26101
+ DBClusterId: 'string',
26102
+ DBNodeIds: { 'type': 'array', 'itemType': 'string' },
26103
+ DBType: 'string',
26104
+ DBVersion: 'string',
26105
+ deadline: 'string',
26106
+ impact: 'string',
26107
+ impactEn: 'string',
26108
+ impactZh: 'string',
26109
+ insComment: 'string',
26110
+ modifiedTime: 'string',
26111
+ prepareInterval: 'string',
26112
+ region: 'string',
26113
+ resultInfo: 'string',
26114
+ startTime: 'string',
26115
+ status: 'number',
26116
+ switchTime: 'string',
26117
+ taskId: 'number',
26118
+ taskParams: 'string',
26119
+ taskType: 'string',
26120
+ taskTypeEn: 'string',
26121
+ taskTypeZh: 'string',
26122
+ };
26123
+ }
26124
+
26125
+ constructor(map?: { [key: string]: any }) {
26126
+ super(map);
26127
+ }
26128
+ }
26129
+
25115
26130
  export class DescribeAutoRenewAttributeResponseBodyItemsAutoRenewAttribute extends $tea.Model {
25116
26131
  /**
25117
26132
  * @remarks
@@ -25542,8 +26557,7 @@ export class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
25542
26557
  DBClusterId?: string;
25543
26558
  /**
25544
26559
  * @remarks
25545
- * The expected expiration time of the backup set.
25546
- * > This parameter is supported only for instances that are enabled with sparse backup.
26560
+ * The expected expiration time of the backup set (This parameter is supported only for clusters for which sparse backup is enabled).
25547
26561
  *
25548
26562
  * @example
25549
26563
  * 2022-10-24T08:13:23Z
@@ -25713,6 +26727,7 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
25713
26727
  * 8
25714
26728
  */
25715
26729
  cpu?: string;
26730
+ essdMaxStorageCapacity?: string;
25716
26731
  /**
25717
26732
  * @remarks
25718
26733
  * The maximum number of concurrent connections in the cluster.
@@ -25769,6 +26784,7 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
25769
26784
  * 1000000
25770
26785
  */
25771
26786
  pl3MaxIOPS?: string;
26787
+ polarStoreMaxStorageCapacity?: string;
25772
26788
  /**
25773
26789
  * @remarks
25774
26790
  * The maximum Input/output operations per second (IOPS) for PolarStore Level 4 (PSL4). Unit: operations per second.
@@ -25817,6 +26833,7 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
25817
26833
  classGroup: 'ClassGroup',
25818
26834
  classTypeLevel: 'ClassTypeLevel',
25819
26835
  cpu: 'Cpu',
26836
+ essdMaxStorageCapacity: 'EssdMaxStorageCapacity',
25820
26837
  maxConnections: 'MaxConnections',
25821
26838
  maxIOPS: 'MaxIOPS',
25822
26839
  maxStorageCapacity: 'MaxStorageCapacity',
@@ -25824,6 +26841,7 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
25824
26841
  pl1MaxIOPS: 'Pl1MaxIOPS',
25825
26842
  pl2MaxIOPS: 'Pl2MaxIOPS',
25826
26843
  pl3MaxIOPS: 'Pl3MaxIOPS',
26844
+ polarStoreMaxStorageCapacity: 'PolarStoreMaxStorageCapacity',
25827
26845
  psl4MaxIOPS: 'Psl4MaxIOPS',
25828
26846
  psl5MaxIOPS: 'Psl5MaxIOPS',
25829
26847
  referenceExtPrice: 'ReferenceExtPrice',
@@ -25837,6 +26855,7 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
25837
26855
  classGroup: 'string',
25838
26856
  classTypeLevel: 'string',
25839
26857
  cpu: 'string',
26858
+ essdMaxStorageCapacity: 'string',
25840
26859
  maxConnections: 'string',
25841
26860
  maxIOPS: 'string',
25842
26861
  maxStorageCapacity: 'string',
@@ -25844,6 +26863,7 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
25844
26863
  pl1MaxIOPS: 'string',
25845
26864
  pl2MaxIOPS: 'string',
25846
26865
  pl3MaxIOPS: 'string',
26866
+ polarStoreMaxStorageCapacity: 'string',
25847
26867
  psl4MaxIOPS: 'string',
25848
26868
  psl5MaxIOPS: 'string',
25849
26869
  referenceExtPrice: 'string',
@@ -26024,6 +27044,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
26024
27044
  * polar.mysql.x4.large
26025
27045
  */
26026
27046
  DBNodeClass?: string;
27047
+ DBNodeDescription?: string;
26027
27048
  /**
26028
27049
  * @remarks
26029
27050
  * Node ID.
@@ -26216,6 +27237,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
26216
27237
  cpuCores: 'CpuCores',
26217
27238
  creationTime: 'CreationTime',
26218
27239
  DBNodeClass: 'DBNodeClass',
27240
+ DBNodeDescription: 'DBNodeDescription',
26219
27241
  DBNodeId: 'DBNodeId',
26220
27242
  DBNodeRole: 'DBNodeRole',
26221
27243
  DBNodeStatus: 'DBNodeStatus',
@@ -26245,6 +27267,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
26245
27267
  cpuCores: 'string',
26246
27268
  creationTime: 'string',
26247
27269
  DBNodeClass: 'string',
27270
+ DBNodeDescription: 'string',
26248
27271
  DBNodeId: 'string',
26249
27272
  DBNodeRole: 'string',
26250
27273
  DBNodeStatus: 'string',
@@ -26686,7 +27709,10 @@ export class DescribeDBClusterEndpointsResponseBodyItems extends $tea.Model {
26686
27709
  export class DescribeDBClusterMigrationResponseBodyDBClusterEndpointListAddressItems extends $tea.Model {
26687
27710
  /**
26688
27711
  * @remarks
26689
- * The endpoint.
27712
+ * Indicates whether SSL encryption is enabled. Valid values:
27713
+ *
27714
+ * * **Enabled**
27715
+ * * **Disabled**
26690
27716
  *
26691
27717
  * @example
26692
27718
  * pc-**************.rwlb.rds.aliyuncs.com
@@ -26694,7 +27720,7 @@ export class DescribeDBClusterMigrationResponseBodyDBClusterEndpointListAddressI
26694
27720
  connectionString?: string;
26695
27721
  /**
26696
27722
  * @remarks
26697
- * The IP address of the endpoint.
27723
+ * The description of a migration exception. If no exception occurs during the migration, an empty string is returned.
26698
27724
  *
26699
27725
  * @example
26700
27726
  * 192.***.***.10
@@ -26702,11 +27728,7 @@ export class DescribeDBClusterMigrationResponseBodyDBClusterEndpointListAddressI
26702
27728
  IPAddress?: string;
26703
27729
  /**
26704
27730
  * @remarks
26705
- * The network type of the endpoint. Valid values:
26706
- *
26707
- * * **Public**: the public endpoint
26708
- * * **Private**: the internal endpoint (VPC)
26709
- * * **Inner**: the internal endpoint (classic network)
27731
+ * The ID of the endpoint.
26710
27732
  *
26711
27733
  * @example
26712
27734
  * Private
@@ -26714,7 +27736,11 @@ export class DescribeDBClusterMigrationResponseBodyDBClusterEndpointListAddressI
26714
27736
  netType?: string;
26715
27737
  /**
26716
27738
  * @remarks
26717
- * The port number.
27739
+ * The type of the endpoint. Valid values:
27740
+ *
27741
+ * * **Cluster**: the default cluster endpoint
27742
+ * * **Primary**: the primary endpoint
27743
+ * * **Custom**: the custom endpoint
26718
27744
  *
26719
27745
  * @example
26720
27746
  * 3306
@@ -26722,10 +27748,7 @@ export class DescribeDBClusterMigrationResponseBodyDBClusterEndpointListAddressI
26722
27748
  port?: string;
26723
27749
  /**
26724
27750
  * @remarks
26725
- * Indicates whether SSL encryption is enabled. Valid values:
26726
- *
26727
- * * **Enabled**
26728
- * * **Disabled**
27751
+ * The ID of the request.
26729
27752
  *
26730
27753
  * @example
26731
27754
  * Enabled
@@ -26733,7 +27756,10 @@ export class DescribeDBClusterMigrationResponseBodyDBClusterEndpointListAddressI
26733
27756
  SSLEnabled?: string;
26734
27757
  /**
26735
27758
  * @remarks
26736
- * The VPC ID.
27759
+ * The read/write mode. Valid values:
27760
+ *
27761
+ * * ReadWrite: receives and forwards read and write requests (automatic read-write splitting).
27762
+ * * ReadOnly (default): receives and forwards read requests only.
26737
27763
  *
26738
27764
  * @example
26739
27765
  * vpc-**********
@@ -26741,7 +27767,7 @@ export class DescribeDBClusterMigrationResponseBodyDBClusterEndpointListAddressI
26741
27767
  VPCId?: string;
26742
27768
  /**
26743
27769
  * @remarks
26744
- * The vSwitch ID.
27770
+ * The IP address of the endpoint.
26745
27771
  *
26746
27772
  * @example
26747
27773
  * vsw-**********
@@ -26779,12 +27805,12 @@ export class DescribeDBClusterMigrationResponseBodyDBClusterEndpointListAddressI
26779
27805
  export class DescribeDBClusterMigrationResponseBodyDBClusterEndpointList extends $tea.Model {
26780
27806
  /**
26781
27807
  * @remarks
26782
- * Details about the endpoints.
27808
+ * The VPC ID.
26783
27809
  */
26784
27810
  addressItems?: DescribeDBClusterMigrationResponseBodyDBClusterEndpointListAddressItems[];
26785
27811
  /**
26786
27812
  * @remarks
26787
- * The ID of the endpoint.
27813
+ * The expiration time of the replication between ApsaraDB RDS and PolarDB. The time is in the `YYYY-MM-DDThh:mm:ssZ` format. The time is displayed in UTC.
26788
27814
  *
26789
27815
  * @example
26790
27816
  * pe-***********
@@ -26792,11 +27818,7 @@ export class DescribeDBClusterMigrationResponseBodyDBClusterEndpointList extends
26792
27818
  DBEndpointId?: string;
26793
27819
  /**
26794
27820
  * @remarks
26795
- * The type of the endpoint. Valid values:
26796
- *
26797
- * * **Cluster**: the default cluster endpoint
26798
- * * **Primary**: the primary endpoint
26799
- * * **Custom**: the custom endpoint
27821
+ * The ID of the cluster.
26800
27822
  *
26801
27823
  * @example
26802
27824
  * Cluster
@@ -26804,10 +27826,10 @@ export class DescribeDBClusterMigrationResponseBodyDBClusterEndpointList extends
26804
27826
  endpointType?: string;
26805
27827
  /**
26806
27828
  * @remarks
26807
- * The read/write mode. Valid values:
27829
+ * The synchronization direction. Valid values:
26808
27830
  *
26809
- * * ReadWrite: receives and forwards read and write requests (automatic read-write splitting).
26810
- * * ReadOnly (default): receives and forwards read requests only.
27831
+ * * **RDS2POLARDB**: Data is replicated from an ApsaraDB RDS instance to a PolarDB cluster.
27832
+ * * **POLARDB2RDS**: Data is replicated from a PolarDB cluster to an ApsaraDB RDS instance.
26811
27833
  *
26812
27834
  * @example
26813
27835
  * ReadOnly
@@ -26839,7 +27861,10 @@ export class DescribeDBClusterMigrationResponseBodyDBClusterEndpointList extends
26839
27861
  export class DescribeDBClusterMigrationResponseBodyRdsEndpointListAddressItems extends $tea.Model {
26840
27862
  /**
26841
27863
  * @remarks
26842
- * The endpoint.
27864
+ * Indicates whether SSL encryption is enabled. Valid values:
27865
+ *
27866
+ * * **Enabled**
27867
+ * * **Disabled**
26843
27868
  *
26844
27869
  * @example
26845
27870
  * rm-***********.mysql.rds.aliyuncs.com
@@ -26847,7 +27872,10 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointListAddressItems e
26847
27872
  connectionString?: string;
26848
27873
  /**
26849
27874
  * @remarks
26850
- * The IP address of the endpoint.
27875
+ * The type of the source database. Valid values:
27876
+ *
27877
+ * * **PolarDBMySQL**: The source database is a PolarDB for MySQL database when the major version of your PolarDB cluster is upgraded.
27878
+ * * **RDS**: The source database is an ApsaraDB RDS database when data is migrated from ApsaraDB RDS to PolarDB for MySQL.
26851
27879
  *
26852
27880
  * @example
26853
27881
  * 172.***.***.173
@@ -26855,11 +27883,7 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointListAddressItems e
26855
27883
  IPAddress?: string;
26856
27884
  /**
26857
27885
  * @remarks
26858
- * The network type of the endpoint. Valid values:
26859
- *
26860
- * * **Public**: the public endpoint
26861
- * * **Private**: the internal endpoint (VPC)
26862
- * * **Inner**: the internal endpoint (classic network)
27886
+ * The ID of the endpoint.
26863
27887
  *
26864
27888
  * @example
26865
27889
  * Private
@@ -26867,7 +27891,10 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointListAddressItems e
26867
27891
  netType?: string;
26868
27892
  /**
26869
27893
  * @remarks
26870
- * The port number.
27894
+ * The type of the endpoint. Valid values:
27895
+ *
27896
+ * * **Normal**: the standard endpoint
27897
+ * * **ReadWriteSplitting**: the read/write splitting endpoint
26871
27898
  *
26872
27899
  * @example
26873
27900
  * 3306
@@ -26877,8 +27904,8 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointListAddressItems e
26877
27904
  * @remarks
26878
27905
  * Indicates whether SSL encryption is enabled. Valid values:
26879
27906
  *
26880
- * * **Enabled**
26881
- * * **Disabled**
27907
+ * - **Enabled**
27908
+ * - **Disabled**
26882
27909
  *
26883
27910
  * @example
26884
27911
  * Enabled
@@ -26886,7 +27913,7 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointListAddressItems e
26886
27913
  SSLEnabled?: string;
26887
27914
  /**
26888
27915
  * @remarks
26889
- * The VPC ID.
27916
+ * The instance type.
26890
27917
  *
26891
27918
  * @example
26892
27919
  * vpc-************
@@ -26894,7 +27921,7 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointListAddressItems e
26894
27921
  VPCId?: string;
26895
27922
  /**
26896
27923
  * @remarks
26897
- * The vSwitch ID.
27924
+ * The IP address of the endpoint.
26898
27925
  *
26899
27926
  * @example
26900
27927
  * vsw-**************
@@ -26932,12 +27959,12 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointListAddressItems e
26932
27959
  export class DescribeDBClusterMigrationResponseBodyRdsEndpointList extends $tea.Model {
26933
27960
  /**
26934
27961
  * @remarks
26935
- * Details about the endpoints.
27962
+ * The VPC ID.
26936
27963
  */
26937
27964
  addressItems?: DescribeDBClusterMigrationResponseBodyRdsEndpointListAddressItems[];
26938
27965
  /**
26939
27966
  * @remarks
26940
- * The role of the source database instance.
27967
+ * The instance type.
26941
27968
  *
26942
27969
  * @example
26943
27970
  * ReadOnly
@@ -26957,8 +27984,8 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointList extends $tea.
26957
27984
  * @remarks
26958
27985
  * The type of the endpoint. Valid values:
26959
27986
  *
26960
- * * **Normal**: the standard endpoint
26961
- * * **ReadWriteSplitting**: the read/write splitting endpoint
27987
+ * - **Normal**: the standard endpoint
27988
+ * - **ReadWriteSplitting**: the read/write splitting endpoint
26962
27989
  *
26963
27990
  * @example
26964
27991
  * Normal
@@ -27475,6 +28502,7 @@ export class DescribeDBClusterSSLResponseBodyItems extends $tea.Model {
27475
28502
  * pe-************
27476
28503
  */
27477
28504
  DBEndpointId?: string;
28505
+ SSLAutoRotate?: string;
27478
28506
  /**
27479
28507
  * @remarks
27480
28508
  * The SSL connection string.
@@ -27505,6 +28533,7 @@ export class DescribeDBClusterSSLResponseBodyItems extends $tea.Model {
27505
28533
  static names(): { [key: string]: string } {
27506
28534
  return {
27507
28535
  DBEndpointId: 'DBEndpointId',
28536
+ SSLAutoRotate: 'SSLAutoRotate',
27508
28537
  SSLConnectionString: 'SSLConnectionString',
27509
28538
  SSLEnabled: 'SSLEnabled',
27510
28539
  SSLExpireTime: 'SSLExpireTime',
@@ -27514,6 +28543,7 @@ export class DescribeDBClusterSSLResponseBodyItems extends $tea.Model {
27514
28543
  static types(): { [key: string]: any } {
27515
28544
  return {
27516
28545
  DBEndpointId: 'string',
28546
+ SSLAutoRotate: 'string',
27517
28547
  SSLConnectionString: 'string',
27518
28548
  SSLEnabled: 'string',
27519
28549
  SSLExpireTime: 'string',
@@ -30155,66 +31185,111 @@ export class DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGr
30155
31185
 
30156
31186
  export class DescribeLicenseOrdersResponseBodyItems extends $tea.Model {
30157
31187
  /**
31188
+ * @remarks
31189
+ * The number of generated activation codes.
31190
+ *
30158
31191
  * @example
30159
31192
  * 10
30160
31193
  */
30161
31194
  activatedCodeCount?: number;
30162
31195
  /**
31196
+ * @remarks
31197
+ * The maximum number of activation codes that you can apply for.
31198
+ *
30163
31199
  * @example
30164
31200
  * 10
30165
31201
  */
30166
31202
  activationCodeQuota?: number;
30167
31203
  /**
31204
+ * @remarks
31205
+ * The ID of the Alibaba Cloud order. The ID of a virtual order may be returned.
31206
+ *
30168
31207
  * @example
30169
31208
  * 227638319690519
30170
31209
  */
30171
31210
  aliyunOrderId?: string;
30172
31211
  /**
31212
+ * @remarks
31213
+ * Indicates whether the SystemIdentifier parameter can be left empty when the system generates an activation code.
31214
+ *
30173
31215
  * @example
30174
31216
  * false
30175
31217
  */
30176
31218
  allowEmptySystemIdentifier?: boolean;
30177
31219
  /**
31220
+ * @remarks
31221
+ * The engine of the PolarDB cluster. Valid values: PG, Oracle, and MySQL.
31222
+ *
30178
31223
  * @example
30179
31224
  * PG
30180
31225
  */
30181
31226
  engine?: string;
30182
31227
  /**
31228
+ * @remarks
31229
+ * The time when the order was created.
31230
+ *
30183
31231
  * @example
30184
31232
  * 2022-02-11 03:14:15
30185
31233
  */
30186
31234
  gmtCreated?: string;
30187
31235
  /**
31236
+ * @remarks
31237
+ * The time when the order was updated.
31238
+ *
30188
31239
  * @example
30189
31240
  * 2022-02-11 03:14:15
30190
31241
  */
30191
31242
  gmtModified?: string;
30192
31243
  /**
31244
+ * @remarks
31245
+ * Indicates whether the order is a virtual order. Pre-generation of activation codes is allowed for virtual orders.
31246
+ *
30193
31247
  * @example
30194
31248
  * false
30195
31249
  */
30196
31250
  isVirtualOrder?: boolean;
30197
31251
  /**
31252
+ * @remarks
31253
+ * Indicates whether the virtual order is frozen. Generation of activation codes is not allowed for frozen virtual orders.
31254
+ *
30198
31255
  * @example
30199
31256
  * false
30200
31257
  */
30201
31258
  isVirtualOrderFrozen?: boolean;
30202
31259
  /**
31260
+ * @remarks
31261
+ * The type of the package. Valid values:
31262
+ *
31263
+ * * single_node_subscribe: Single-node Edition (Subscription).
31264
+ * * single_node_long_term: Single-node Edition (Long-term).
31265
+ * * primary_backup_subscribe: HA Edition (Subscription).
31266
+ * * primary_backup_long_term: HA Edition (Long-term).
31267
+ * * pre_generation_long_term: Pre-generated (Long-term).
31268
+ *
30203
31269
  * @example
30204
31270
  * single_node_subscribe
30205
31271
  */
30206
31272
  packageType?: string;
30207
31273
  /**
31274
+ * @remarks
31275
+ * The validity period of the package. Valid values: 1 year and 30 years.
31276
+ *
30208
31277
  * @example
30209
31278
  * 1 year
30210
31279
  */
30211
31280
  packageValidity?: string;
30212
31281
  /**
31282
+ * @remarks
31283
+ * The purchase channel. Valid values: aliyun_market and aliyun_public. aliyun_market indicates Alibaba Cloud Marketplace. aliyun_public indicates the PolarDB buy page.
31284
+ *
30213
31285
  * @example
30214
31286
  * aliyun_public
30215
31287
  */
30216
31288
  purchaseChannel?: string;
30217
31289
  /**
31290
+ * @remarks
31291
+ * The ID of the virtual order.
31292
+ *
30218
31293
  * @example
30219
31294
  * 227638319690519
30220
31295
  */
@@ -32361,6 +33436,72 @@ export default class Client extends OpenApi {
32361
33436
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
32362
33437
  }
32363
33438
 
33439
+ /**
33440
+ * 用户侧取消任务
33441
+ *
33442
+ * @param request - CancelActiveOperationTasksRequest
33443
+ * @param runtime - runtime options for this request RuntimeOptions
33444
+ * @returns CancelActiveOperationTasksResponse
33445
+ */
33446
+ async cancelActiveOperationTasksWithOptions(request: CancelActiveOperationTasksRequest, runtime: $Util.RuntimeOptions): Promise<CancelActiveOperationTasksResponse> {
33447
+ Util.validateModel(request);
33448
+ let query = { };
33449
+ if (!Util.isUnset(request.ownerAccount)) {
33450
+ query["OwnerAccount"] = request.ownerAccount;
33451
+ }
33452
+
33453
+ if (!Util.isUnset(request.ownerId)) {
33454
+ query["OwnerId"] = request.ownerId;
33455
+ }
33456
+
33457
+ if (!Util.isUnset(request.regionId)) {
33458
+ query["RegionId"] = request.regionId;
33459
+ }
33460
+
33461
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
33462
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
33463
+ }
33464
+
33465
+ if (!Util.isUnset(request.resourceOwnerId)) {
33466
+ query["ResourceOwnerId"] = request.resourceOwnerId;
33467
+ }
33468
+
33469
+ if (!Util.isUnset(request.securityToken)) {
33470
+ query["SecurityToken"] = request.securityToken;
33471
+ }
33472
+
33473
+ if (!Util.isUnset(request.taskIds)) {
33474
+ query["TaskIds"] = request.taskIds;
33475
+ }
33476
+
33477
+ let req = new $OpenApi.OpenApiRequest({
33478
+ query: OpenApiUtil.query(query),
33479
+ });
33480
+ let params = new $OpenApi.Params({
33481
+ action: "CancelActiveOperationTasks",
33482
+ version: "2017-08-01",
33483
+ protocol: "HTTPS",
33484
+ pathname: "/",
33485
+ method: "POST",
33486
+ authType: "AK",
33487
+ style: "RPC",
33488
+ reqBodyType: "formData",
33489
+ bodyType: "json",
33490
+ });
33491
+ return $tea.cast<CancelActiveOperationTasksResponse>(await this.callApi(params, req, runtime), new CancelActiveOperationTasksResponse({}));
33492
+ }
33493
+
33494
+ /**
33495
+ * 用户侧取消任务
33496
+ *
33497
+ * @param request - CancelActiveOperationTasksRequest
33498
+ * @returns CancelActiveOperationTasksResponse
33499
+ */
33500
+ async cancelActiveOperationTasks(request: CancelActiveOperationTasksRequest): Promise<CancelActiveOperationTasksResponse> {
33501
+ let runtime = new $Util.RuntimeOptions({ });
33502
+ return await this.cancelActiveOperationTasksWithOptions(request, runtime);
33503
+ }
33504
+
32364
33505
  /**
32365
33506
  * Cancels scheduled tasks that are not yet started.
32366
33507
  *
@@ -32896,7 +34037,7 @@ export default class Client extends OpenApi {
32896
34037
  }
32897
34038
 
32898
34039
  /**
32899
- * 生成轻量化版本激活码
34040
+ * Generates a lightweight license activation code.
32900
34041
  *
32901
34042
  * @param request - CreateActivationCodeRequest
32902
34043
  * @param runtime - runtime options for this request RuntimeOptions
@@ -32959,7 +34100,7 @@ export default class Client extends OpenApi {
32959
34100
  }
32960
34101
 
32961
34102
  /**
32962
- * 生成轻量化版本激活码
34103
+ * Generates a lightweight license activation code.
32963
34104
  *
32964
34105
  * @param request - CreateActivationCodeRequest
32965
34106
  * @returns CreateActivationCodeResponse
@@ -33114,7 +34255,7 @@ export default class Client extends OpenApi {
33114
34255
  }
33115
34256
 
33116
34257
  /**
33117
- * Create Database Cluster
34258
+ * CreateDBCluster.
33118
34259
  *
33119
34260
  * @param request - CreateDBClusterRequest
33120
34261
  * @param runtime - runtime options for this request RuntimeOptions
@@ -33139,6 +34280,10 @@ export default class Client extends OpenApi {
33139
34280
  query["BackupRetentionPolicyOnClusterDeletion"] = request.backupRetentionPolicyOnClusterDeletion;
33140
34281
  }
33141
34282
 
34283
+ if (!Util.isUnset(request.burstingEnabled)) {
34284
+ query["BurstingEnabled"] = request.burstingEnabled;
34285
+ }
34286
+
33142
34287
  if (!Util.isUnset(request.clientToken)) {
33143
34288
  query["ClientToken"] = request.clientToken;
33144
34289
  }
@@ -33323,6 +34468,10 @@ export default class Client extends OpenApi {
33323
34468
  query["Tag"] = request.tag;
33324
34469
  }
33325
34470
 
34471
+ if (!Util.isUnset(request.targetMinorVersion)) {
34472
+ query["TargetMinorVersion"] = request.targetMinorVersion;
34473
+ }
34474
+
33326
34475
  if (!Util.isUnset(request.usedTime)) {
33327
34476
  query["UsedTime"] = request.usedTime;
33328
34477
  }
@@ -33357,7 +34506,7 @@ export default class Client extends OpenApi {
33357
34506
  }
33358
34507
 
33359
34508
  /**
33360
- * Create Database Cluster
34509
+ * CreateDBCluster.
33361
34510
  *
33362
34511
  * @param request - CreateDBClusterRequest
33363
34512
  * @returns CreateDBClusterResponse
@@ -34012,7 +35161,7 @@ export default class Client extends OpenApi {
34012
35161
  }
34013
35162
 
34014
35163
  /**
34015
- * 创建或获取虚拟证书订单
35164
+ * Creates or obtains a virtual license order.
34016
35165
  *
34017
35166
  * @param request - CreateOrGetVirtualLicenseOrderRequest
34018
35167
  * @param runtime - runtime options for this request RuntimeOptions
@@ -34059,7 +35208,7 @@ export default class Client extends OpenApi {
34059
35208
  }
34060
35209
 
34061
35210
  /**
34062
- * 创建或获取虚拟证书订单
35211
+ * Creates or obtains a virtual license order.
34063
35212
  *
34064
35213
  * @param request - CreateOrGetVirtualLicenseOrderRequest
34065
35214
  * @returns CreateOrGetVirtualLicenseOrderResponse
@@ -35206,7 +36355,7 @@ export default class Client extends OpenApi {
35206
36355
  }
35207
36356
 
35208
36357
  /**
35209
- * 查询激活码详情
36358
+ * Queries the details of an activation code.
35210
36359
  *
35211
36360
  * @param request - DescribeActivationCodeDetailsRequest
35212
36361
  * @param runtime - runtime options for this request RuntimeOptions
@@ -35257,7 +36406,7 @@ export default class Client extends OpenApi {
35257
36406
  }
35258
36407
 
35259
36408
  /**
35260
- * 查询激活码详情
36409
+ * Queries the details of an activation code.
35261
36410
  *
35262
36411
  * @param request - DescribeActivationCodeDetailsRequest
35263
36412
  * @returns DescribeActivationCodeDetailsResponse
@@ -35268,7 +36417,7 @@ export default class Client extends OpenApi {
35268
36417
  }
35269
36418
 
35270
36419
  /**
35271
- * 查询激活码列表
36420
+ * Queries a list of activation codes.
35272
36421
  *
35273
36422
  * @param request - DescribeActivationCodesRequest
35274
36423
  * @param runtime - runtime options for this request RuntimeOptions
@@ -35323,7 +36472,7 @@ export default class Client extends OpenApi {
35323
36472
  }
35324
36473
 
35325
36474
  /**
35326
- * 查询激活码列表
36475
+ * Queries a list of activation codes.
35327
36476
  *
35328
36477
  * @param request - DescribeActivationCodesRequest
35329
36478
  * @returns DescribeActivationCodesResponse
@@ -35333,6 +36482,104 @@ export default class Client extends OpenApi {
35333
36482
  return await this.describeActivationCodesWithOptions(request, runtime);
35334
36483
  }
35335
36484
 
36485
+ /**
36486
+ * 用户侧查询运维任务
36487
+ *
36488
+ * @param request - DescribeActiveOperationTasksRequest
36489
+ * @param runtime - runtime options for this request RuntimeOptions
36490
+ * @returns DescribeActiveOperationTasksResponse
36491
+ */
36492
+ async describeActiveOperationTasksWithOptions(request: DescribeActiveOperationTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeActiveOperationTasksResponse> {
36493
+ Util.validateModel(request);
36494
+ let query = { };
36495
+ if (!Util.isUnset(request.allowCancel)) {
36496
+ query["AllowCancel"] = request.allowCancel;
36497
+ }
36498
+
36499
+ if (!Util.isUnset(request.allowChange)) {
36500
+ query["AllowChange"] = request.allowChange;
36501
+ }
36502
+
36503
+ if (!Util.isUnset(request.changeLevel)) {
36504
+ query["ChangeLevel"] = request.changeLevel;
36505
+ }
36506
+
36507
+ if (!Util.isUnset(request.DBClusterId)) {
36508
+ query["DBClusterId"] = request.DBClusterId;
36509
+ }
36510
+
36511
+ if (!Util.isUnset(request.DBType)) {
36512
+ query["DBType"] = request.DBType;
36513
+ }
36514
+
36515
+ if (!Util.isUnset(request.ownerAccount)) {
36516
+ query["OwnerAccount"] = request.ownerAccount;
36517
+ }
36518
+
36519
+ if (!Util.isUnset(request.ownerId)) {
36520
+ query["OwnerId"] = request.ownerId;
36521
+ }
36522
+
36523
+ if (!Util.isUnset(request.pageNumber)) {
36524
+ query["PageNumber"] = request.pageNumber;
36525
+ }
36526
+
36527
+ if (!Util.isUnset(request.pageSize)) {
36528
+ query["PageSize"] = request.pageSize;
36529
+ }
36530
+
36531
+ if (!Util.isUnset(request.regionId)) {
36532
+ query["RegionId"] = request.regionId;
36533
+ }
36534
+
36535
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
36536
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
36537
+ }
36538
+
36539
+ if (!Util.isUnset(request.resourceOwnerId)) {
36540
+ query["ResourceOwnerId"] = request.resourceOwnerId;
36541
+ }
36542
+
36543
+ if (!Util.isUnset(request.securityToken)) {
36544
+ query["SecurityToken"] = request.securityToken;
36545
+ }
36546
+
36547
+ if (!Util.isUnset(request.status)) {
36548
+ query["Status"] = request.status;
36549
+ }
36550
+
36551
+ if (!Util.isUnset(request.taskType)) {
36552
+ query["TaskType"] = request.taskType;
36553
+ }
36554
+
36555
+ let req = new $OpenApi.OpenApiRequest({
36556
+ query: OpenApiUtil.query(query),
36557
+ });
36558
+ let params = new $OpenApi.Params({
36559
+ action: "DescribeActiveOperationTasks",
36560
+ version: "2017-08-01",
36561
+ protocol: "HTTPS",
36562
+ pathname: "/",
36563
+ method: "POST",
36564
+ authType: "AK",
36565
+ style: "RPC",
36566
+ reqBodyType: "formData",
36567
+ bodyType: "json",
36568
+ });
36569
+ return $tea.cast<DescribeActiveOperationTasksResponse>(await this.callApi(params, req, runtime), new DescribeActiveOperationTasksResponse({}));
36570
+ }
36571
+
36572
+ /**
36573
+ * 用户侧查询运维任务
36574
+ *
36575
+ * @param request - DescribeActiveOperationTasksRequest
36576
+ * @returns DescribeActiveOperationTasksResponse
36577
+ */
36578
+ async describeActiveOperationTasks(request: DescribeActiveOperationTasksRequest): Promise<DescribeActiveOperationTasksResponse> {
36579
+ let runtime = new $Util.RuntimeOptions({ });
36580
+ return await this.describeActiveOperationTasksWithOptions(request, runtime);
36581
+ }
36582
+
35336
36583
  /**
35337
36584
  * Queries the auto-renewal attributes of a subscription PolarDB cluster.
35338
36585
  *
@@ -36228,11 +37475,10 @@ export default class Client extends OpenApi {
36228
37475
  }
36229
37476
 
36230
37477
  /**
36231
- * Queries the migration status of PolarDB clusters.
37478
+ * The ID of the synchronous task.
36232
37479
  *
36233
37480
  * @remarks
36234
- * 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](https://help.aliyun.com/document_detail/121582.html).
36235
- * * Before you call this operation, make sure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**.
37481
+ * The ID of the request.
36236
37482
  *
36237
37483
  * @param request - DescribeDBClusterMigrationRequest
36238
37484
  * @param runtime - runtime options for this request RuntimeOptions
@@ -36279,11 +37525,10 @@ export default class Client extends OpenApi {
36279
37525
  }
36280
37526
 
36281
37527
  /**
36282
- * Queries the migration status of PolarDB clusters.
37528
+ * The ID of the synchronous task.
36283
37529
  *
36284
37530
  * @remarks
36285
- * 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](https://help.aliyun.com/document_detail/121582.html).
36286
- * * Before you call this operation, make sure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**.
37531
+ * The ID of the request.
36287
37532
  *
36288
37533
  * @param request - DescribeDBClusterMigrationRequest
36289
37534
  * @returns DescribeDBClusterMigrationResponse
@@ -36562,7 +37807,7 @@ export default class Client extends OpenApi {
36562
37807
  }
36563
37808
 
36564
37809
  /**
36565
- * Queries the configurations of a serverless cluster.
37810
+ * Query serverless configuration.
36566
37811
  *
36567
37812
  * @param request - DescribeDBClusterServerlessConfRequest
36568
37813
  * @param runtime - runtime options for this request RuntimeOptions
@@ -36609,7 +37854,7 @@ export default class Client extends OpenApi {
36609
37854
  }
36610
37855
 
36611
37856
  /**
36612
- * Queries the configurations of a serverless cluster.
37857
+ * Query serverless configuration.
36613
37858
  *
36614
37859
  * @param request - DescribeDBClusterServerlessConfRequest
36615
37860
  * @returns DescribeDBClusterServerlessConfResponse
@@ -37828,7 +39073,7 @@ export default class Client extends OpenApi {
37828
39073
  }
37829
39074
 
37830
39075
  /**
37831
- * 查看License订单详情
39076
+ * Queries the information of a license order.
37832
39077
  *
37833
39078
  * @param request - DescribeLicenseOrderDetailsRequest
37834
39079
  * @param runtime - runtime options for this request RuntimeOptions
@@ -37875,7 +39120,7 @@ export default class Client extends OpenApi {
37875
39120
  }
37876
39121
 
37877
39122
  /**
37878
- * 查看License订单详情
39123
+ * Queries the information of a license order.
37879
39124
  *
37880
39125
  * @param request - DescribeLicenseOrderDetailsRequest
37881
39126
  * @returns DescribeLicenseOrderDetailsResponse
@@ -37886,7 +39131,7 @@ export default class Client extends OpenApi {
37886
39131
  }
37887
39132
 
37888
39133
  /**
37889
- * 查询License订单列表
39134
+ * Queries a list of license orders.
37890
39135
  *
37891
39136
  * @param request - DescribeLicenseOrdersRequest
37892
39137
  * @param runtime - runtime options for this request RuntimeOptions
@@ -37953,7 +39198,7 @@ export default class Client extends OpenApi {
37953
39198
  }
37954
39199
 
37955
39200
  /**
37956
- * 查询License订单列表
39201
+ * Queries a list of license orders.
37957
39202
  *
37958
39203
  * @param request - DescribeLicenseOrdersRequest
37959
39204
  * @returns DescribeLicenseOrdersResponse
@@ -39875,6 +41120,80 @@ export default class Client extends OpenApi {
39875
41120
  return await this.modifyAccountPasswordWithOptions(request, runtime);
39876
41121
  }
39877
41122
 
41123
+ /**
41124
+ * 用户侧修改任务
41125
+ *
41126
+ * @param request - ModifyActiveOperationTasksRequest
41127
+ * @param runtime - runtime options for this request RuntimeOptions
41128
+ * @returns ModifyActiveOperationTasksResponse
41129
+ */
41130
+ async modifyActiveOperationTasksWithOptions(request: ModifyActiveOperationTasksRequest, runtime: $Util.RuntimeOptions): Promise<ModifyActiveOperationTasksResponse> {
41131
+ Util.validateModel(request);
41132
+ let query = { };
41133
+ if (!Util.isUnset(request.immediateStart)) {
41134
+ query["ImmediateStart"] = request.immediateStart;
41135
+ }
41136
+
41137
+ if (!Util.isUnset(request.ownerAccount)) {
41138
+ query["OwnerAccount"] = request.ownerAccount;
41139
+ }
41140
+
41141
+ if (!Util.isUnset(request.ownerId)) {
41142
+ query["OwnerId"] = request.ownerId;
41143
+ }
41144
+
41145
+ if (!Util.isUnset(request.regionId)) {
41146
+ query["RegionId"] = request.regionId;
41147
+ }
41148
+
41149
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
41150
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
41151
+ }
41152
+
41153
+ if (!Util.isUnset(request.resourceOwnerId)) {
41154
+ query["ResourceOwnerId"] = request.resourceOwnerId;
41155
+ }
41156
+
41157
+ if (!Util.isUnset(request.securityToken)) {
41158
+ query["SecurityToken"] = request.securityToken;
41159
+ }
41160
+
41161
+ if (!Util.isUnset(request.switchTime)) {
41162
+ query["SwitchTime"] = request.switchTime;
41163
+ }
41164
+
41165
+ if (!Util.isUnset(request.taskIds)) {
41166
+ query["TaskIds"] = request.taskIds;
41167
+ }
41168
+
41169
+ let req = new $OpenApi.OpenApiRequest({
41170
+ query: OpenApiUtil.query(query),
41171
+ });
41172
+ let params = new $OpenApi.Params({
41173
+ action: "ModifyActiveOperationTasks",
41174
+ version: "2017-08-01",
41175
+ protocol: "HTTPS",
41176
+ pathname: "/",
41177
+ method: "POST",
41178
+ authType: "AK",
41179
+ style: "RPC",
41180
+ reqBodyType: "formData",
41181
+ bodyType: "json",
41182
+ });
41183
+ return $tea.cast<ModifyActiveOperationTasksResponse>(await this.callApi(params, req, runtime), new ModifyActiveOperationTasksResponse({}));
41184
+ }
41185
+
41186
+ /**
41187
+ * 用户侧修改任务
41188
+ *
41189
+ * @param request - ModifyActiveOperationTasksRequest
41190
+ * @returns ModifyActiveOperationTasksResponse
41191
+ */
41192
+ async modifyActiveOperationTasks(request: ModifyActiveOperationTasksRequest): Promise<ModifyActiveOperationTasksResponse> {
41193
+ let runtime = new $Util.RuntimeOptions({ });
41194
+ return await this.modifyActiveOperationTasksWithOptions(request, runtime);
41195
+ }
41196
+
39878
41197
  /**
39879
41198
  * Modifies the auto-renewal attributes of a subscription PolarDB cluster.
39880
41199
  *
@@ -40295,6 +41614,10 @@ export default class Client extends OpenApi {
40295
41614
  query["ResourceOwnerId"] = request.resourceOwnerId;
40296
41615
  }
40297
41616
 
41617
+ if (!Util.isUnset(request.standbyClusterIdListNeedToSync)) {
41618
+ query["StandbyClusterIdListNeedToSync"] = request.standbyClusterIdListNeedToSync;
41619
+ }
41620
+
40298
41621
  let req = new $OpenApi.OpenApiRequest({
40299
41622
  query: OpenApiUtil.query(query),
40300
41623
  });
@@ -41690,7 +43013,7 @@ export default class Client extends OpenApi {
41690
43013
  }
41691
43014
 
41692
43015
  /**
41693
- * Enables or disables the hot standby node in a cluster.
43016
+ * Enables or disables the failover with hot replica feature for a node in a cluster.
41694
43017
  *
41695
43018
  * @param request - ModifyDBNodeHotReplicaModeRequest
41696
43019
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41745,7 +43068,7 @@ export default class Client extends OpenApi {
41745
43068
  }
41746
43069
 
41747
43070
  /**
41748
- * Enables or disables the hot standby node in a cluster.
43071
+ * Enables or disables the failover with hot replica feature for a node in a cluster.
41749
43072
  *
41750
43073
  * @param request - ModifyDBNodeHotReplicaModeRequest
41751
43074
  * @returns ModifyDBNodeHotReplicaModeResponse
@@ -43186,7 +44509,7 @@ export default class Client extends OpenApi {
43186
44509
  }
43187
44510
 
43188
44511
  /**
43189
- * Temporarily changes the node configurations of a cluster.
44512
+ * Temporarily changes the node configurations.
43190
44513
  *
43191
44514
  * @param request - TempModifyDBNodeRequest
43192
44515
  * @param runtime - runtime options for this request RuntimeOptions
@@ -43253,7 +44576,7 @@ export default class Client extends OpenApi {
43253
44576
  }
43254
44577
 
43255
44578
  /**
43256
- * Temporarily changes the node configurations of a cluster.
44579
+ * Temporarily changes the node configurations.
43257
44580
  *
43258
44581
  * @param request - TempModifyDBNodeRequest
43259
44582
  * @returns TempModifyDBNodeResponse