@alicloud/polardb20170801 5.4.0 → 5.5.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/dist/client.d.ts +276 -46
- package/dist/client.js +1093 -161
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1330 -199
package/dist/client.d.ts
CHANGED
|
@@ -1295,6 +1295,10 @@ export declare class DescribeDBClusterAttributeResponseBodyDBNodes extends $dara
|
|
|
1295
1295
|
* polar.mysql.x4.large
|
|
1296
1296
|
*/
|
|
1297
1297
|
DBNodeClass?: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* @example
|
|
1300
|
+
* test
|
|
1301
|
+
*/
|
|
1298
1302
|
DBNodeDescription?: string;
|
|
1299
1303
|
/**
|
|
1300
1304
|
* @remarks
|
|
@@ -1625,6 +1629,7 @@ export declare class DescribeDBClusterEndpointsResponseBodyItemsAddressItems ext
|
|
|
1625
1629
|
* ********.rwlb.polardb-pg-public.rds.aliyuncs.com
|
|
1626
1630
|
*/
|
|
1627
1631
|
connectionString?: string;
|
|
1632
|
+
dashboardUsed?: boolean;
|
|
1628
1633
|
/**
|
|
1629
1634
|
* @remarks
|
|
1630
1635
|
* The IP address.
|
|
@@ -1794,7 +1799,24 @@ export declare class DescribeDBClusterEndpointsResponseBodyItems extends $dara.M
|
|
|
1794
1799
|
* pi-***************,pi-***************
|
|
1795
1800
|
*/
|
|
1796
1801
|
nodes?: string;
|
|
1802
|
+
/**
|
|
1803
|
+
* @remarks
|
|
1804
|
+
* The global consistency timeout policy. Valid values:
|
|
1805
|
+
*
|
|
1806
|
+
* * **0**: sends the request to the primary node.
|
|
1807
|
+
* * **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.
|
|
1808
|
+
*
|
|
1809
|
+
* @example
|
|
1810
|
+
* 0
|
|
1811
|
+
*/
|
|
1797
1812
|
polarSccTimeoutAction?: string;
|
|
1813
|
+
/**
|
|
1814
|
+
* @remarks
|
|
1815
|
+
* Global consistency timeout.
|
|
1816
|
+
*
|
|
1817
|
+
* @example
|
|
1818
|
+
* 100
|
|
1819
|
+
*/
|
|
1798
1820
|
polarSccWaitTimeout?: string;
|
|
1799
1821
|
/**
|
|
1800
1822
|
* @remarks
|
|
@@ -1807,6 +1829,16 @@ export declare class DescribeDBClusterEndpointsResponseBodyItems extends $dara.M
|
|
|
1807
1829
|
* ReadOnly
|
|
1808
1830
|
*/
|
|
1809
1831
|
readWriteMode?: string;
|
|
1832
|
+
/**
|
|
1833
|
+
* @remarks
|
|
1834
|
+
* Indicates whether the global consistency (high-performance mode) feature is enabled for the node. Valid values:
|
|
1835
|
+
*
|
|
1836
|
+
* * **on**: enabled.
|
|
1837
|
+
* * **off**: disabled
|
|
1838
|
+
*
|
|
1839
|
+
* @example
|
|
1840
|
+
* on
|
|
1841
|
+
*/
|
|
1810
1842
|
sccMode?: string;
|
|
1811
1843
|
static names(): {
|
|
1812
1844
|
[key: string]: string;
|
|
@@ -2453,6 +2485,10 @@ export declare class DescribeDBClusterSSLResponseBodyItems extends $dara.Model {
|
|
|
2453
2485
|
* pe-************
|
|
2454
2486
|
*/
|
|
2455
2487
|
DBEndpointId?: string;
|
|
2488
|
+
/**
|
|
2489
|
+
* @example
|
|
2490
|
+
* Enable
|
|
2491
|
+
*/
|
|
2456
2492
|
SSLAutoRotate?: string;
|
|
2457
2493
|
/**
|
|
2458
2494
|
* @remarks
|
|
@@ -2558,7 +2594,7 @@ export declare class DescribeDBClusterVersionResponseBodyProxyRevisionVersionLis
|
|
|
2558
2594
|
* * **BETA**: a preview version
|
|
2559
2595
|
*
|
|
2560
2596
|
* @example
|
|
2561
|
-
*
|
|
2597
|
+
* LTS
|
|
2562
2598
|
*/
|
|
2563
2599
|
releaseType?: string;
|
|
2564
2600
|
/**
|
|
@@ -4217,7 +4253,17 @@ export declare class DescribeGlobalDatabaseNetworkResponseBodyDBClustersDBNodes
|
|
|
4217
4253
|
export declare class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $dara.Model {
|
|
4218
4254
|
/**
|
|
4219
4255
|
* @remarks
|
|
4220
|
-
* The edition of the cluster.
|
|
4256
|
+
* The edition of the cluster. Valid values:
|
|
4257
|
+
*
|
|
4258
|
+
* Normal: Cluster Edition Basic: Single Node Edition Archive: X-Engine Edition NormalMultimaster: Multi-master Cluster Edition SENormal: Standard Edition
|
|
4259
|
+
*
|
|
4260
|
+
* >
|
|
4261
|
+
*
|
|
4262
|
+
* * PolarDB for PostgreSQL clusters that run the PostgreSQL 11 database engine do not support Single Node Edition.
|
|
4263
|
+
*
|
|
4264
|
+
* * PolarDB for MySQL 8.0 and 5.7 clusters, and PolarDB for PostgreSQL clusters that run the PostgreSQL 14 database engine support Standard Edition.
|
|
4265
|
+
*
|
|
4266
|
+
* * PolarDB for MySQL 8.0 clusters support X-Engine Edition and Multi-master Cluster Edition.
|
|
4221
4267
|
*
|
|
4222
4268
|
* @example
|
|
4223
4269
|
* Normal
|
|
@@ -5917,7 +5963,7 @@ export declare class DescribeVSwitchesResponseBodyVSwitchs extends $dara.Model {
|
|
|
5917
5963
|
cidrBlock?: string;
|
|
5918
5964
|
/**
|
|
5919
5965
|
* @remarks
|
|
5920
|
-
* The
|
|
5966
|
+
* The description of the vSwitch.
|
|
5921
5967
|
*
|
|
5922
5968
|
* @example
|
|
5923
5969
|
* vSwitchDescription
|
|
@@ -7100,6 +7146,7 @@ export declare class CreateAccountRequest extends $dara.Model {
|
|
|
7100
7146
|
* testdb
|
|
7101
7147
|
*/
|
|
7102
7148
|
DBName?: string;
|
|
7149
|
+
nodeType?: string;
|
|
7103
7150
|
ownerAccount?: string;
|
|
7104
7151
|
ownerId?: number;
|
|
7105
7152
|
privForAllDB?: string;
|
|
@@ -7561,6 +7608,10 @@ export declare class CreateDBClusterRequest extends $dara.Model {
|
|
|
7561
7608
|
* NONE
|
|
7562
7609
|
*/
|
|
7563
7610
|
backupRetentionPolicyOnClusterDeletion?: string;
|
|
7611
|
+
/**
|
|
7612
|
+
* @example
|
|
7613
|
+
* false
|
|
7614
|
+
*/
|
|
7564
7615
|
burstingEnabled?: string;
|
|
7565
7616
|
/**
|
|
7566
7617
|
* @remarks
|
|
@@ -7682,8 +7733,6 @@ export declare class CreateDBClusterRequest extends $dara.Model {
|
|
|
7682
7733
|
* > - For a Serverless cluster in PolarDB MySQL, enter **polar.mysql.sl.small**.
|
|
7683
7734
|
* <props="china">> - For a Serverless cluster in both PolarDB PostgreSQL (Oracle Compatible) and PolarDB PostgreSQL, enter **polar.pg.sl.small.c**.
|
|
7684
7735
|
*
|
|
7685
|
-
* This parameter is required.
|
|
7686
|
-
*
|
|
7687
7736
|
* @example
|
|
7688
7737
|
* polar.mysql.x4.medium
|
|
7689
7738
|
*/
|
|
@@ -8009,7 +8058,28 @@ export declare class CreateDBClusterRequest extends $dara.Model {
|
|
|
8009
8058
|
* Enable
|
|
8010
8059
|
*/
|
|
8011
8060
|
storageAutoScale?: string;
|
|
8061
|
+
/**
|
|
8062
|
+
* @remarks
|
|
8063
|
+
* Specifies whether to enable disk encryption. Valid values:
|
|
8064
|
+
*
|
|
8065
|
+
* * **true**
|
|
8066
|
+
* * **false** (default)
|
|
8067
|
+
*
|
|
8068
|
+
* > This parameter takes effect only when **DBType** is set to **MySQL**.
|
|
8069
|
+
*
|
|
8070
|
+
* > This parameter takes effect only when **StorageType** is set to one of the Standard Edition storage types.
|
|
8071
|
+
*/
|
|
8012
8072
|
storageEncryption?: boolean;
|
|
8073
|
+
/**
|
|
8074
|
+
* @remarks
|
|
8075
|
+
* The ID of the custom key that is used for disk encryption in the region in which the instance resides. If this parameter is specified, disk encryption is automatically enabled and cannot be disabled afterwards. If you want to use the default service key for disk encryption, leave this parameter empty.
|
|
8076
|
+
*
|
|
8077
|
+
* You can obtain the ID of the key in the KMS console or create a key.
|
|
8078
|
+
*
|
|
8079
|
+
* > This parameter takes effect only when **DBType** is set to **MySQL**.
|
|
8080
|
+
*
|
|
8081
|
+
* > This parameter takes effect only when **StorageType** is set to one of the Standard Edition storage types.
|
|
8082
|
+
*/
|
|
8013
8083
|
storageEncryptionKey?: string;
|
|
8014
8084
|
/**
|
|
8015
8085
|
* @remarks
|
|
@@ -8024,9 +8094,13 @@ export declare class CreateDBClusterRequest extends $dara.Model {
|
|
|
8024
8094
|
storagePayType?: string;
|
|
8025
8095
|
/**
|
|
8026
8096
|
* @remarks
|
|
8027
|
-
*
|
|
8028
|
-
*
|
|
8029
|
-
* >
|
|
8097
|
+
* The storage that is billed based on the subscription billing method. Unit: GB.
|
|
8098
|
+
*
|
|
8099
|
+
* >
|
|
8100
|
+
*
|
|
8101
|
+
* * Valid values for the subscription storage capacity of a PolarDB for MySQL Standard Edition cluster: 20 to 32000.
|
|
8102
|
+
*
|
|
8103
|
+
* * Valid values for the subscription storage capacity of a Standard Edition cluster that uses the ESSD AUTOPL storage type: 40 to 64000, in increments of 10.
|
|
8030
8104
|
*
|
|
8031
8105
|
* @example
|
|
8032
8106
|
* 50
|
|
@@ -8338,8 +8412,15 @@ export declare class CreateDBClusterEndpointRequest extends $dara.Model {
|
|
|
8338
8412
|
resourceOwnerId?: number;
|
|
8339
8413
|
/**
|
|
8340
8414
|
* @remarks
|
|
8341
|
-
*
|
|
8342
|
-
*
|
|
8415
|
+
* Specifies whether to enable the global consistency (high-performance mode) feature for the nodes. Valid values:
|
|
8416
|
+
*
|
|
8417
|
+
* * **ON**
|
|
8418
|
+
* * **OFF**
|
|
8419
|
+
*
|
|
8420
|
+
* Enumerated values:
|
|
8421
|
+
*
|
|
8422
|
+
* * on
|
|
8423
|
+
* * off
|
|
8343
8424
|
*
|
|
8344
8425
|
* @example
|
|
8345
8426
|
* on
|
|
@@ -8727,12 +8808,18 @@ export declare class CreateDBNodesRequest extends $dara.Model {
|
|
|
8727
8808
|
DBNode?: CreateDBNodesRequestDBNode[];
|
|
8728
8809
|
/**
|
|
8729
8810
|
* @remarks
|
|
8730
|
-
* The type
|
|
8811
|
+
* The node type. Valid values:
|
|
8731
8812
|
*
|
|
8732
8813
|
* * RO
|
|
8733
8814
|
* * STANDBY
|
|
8734
8815
|
* * DLNode
|
|
8735
8816
|
*
|
|
8817
|
+
* Enumerated values:
|
|
8818
|
+
*
|
|
8819
|
+
* * DLNode: AI node
|
|
8820
|
+
* * STANDBY: standby node
|
|
8821
|
+
* * RO: read-only node
|
|
8822
|
+
*
|
|
8736
8823
|
* @example
|
|
8737
8824
|
* RO
|
|
8738
8825
|
*/
|
|
@@ -10196,10 +10283,17 @@ export declare class DeleteDBNodesRequest extends $dara.Model {
|
|
|
10196
10283
|
DBNodeId?: string[];
|
|
10197
10284
|
/**
|
|
10198
10285
|
* @remarks
|
|
10199
|
-
* The type
|
|
10286
|
+
* The node type. Valid values:
|
|
10200
10287
|
*
|
|
10201
10288
|
* * RO
|
|
10202
10289
|
* * STANDBY
|
|
10290
|
+
* * DLNode
|
|
10291
|
+
*
|
|
10292
|
+
* Enumerated values:
|
|
10293
|
+
*
|
|
10294
|
+
* * DLNode: AI node
|
|
10295
|
+
* * STANDBY: standby node
|
|
10296
|
+
* * RO: read-only node
|
|
10203
10297
|
*
|
|
10204
10298
|
* @example
|
|
10205
10299
|
* RO
|
|
@@ -10530,6 +10624,7 @@ export declare class DeleteMaskingRulesRequest extends $dara.Model {
|
|
|
10530
10624
|
* pc-*****************
|
|
10531
10625
|
*/
|
|
10532
10626
|
DBClusterId?: string;
|
|
10627
|
+
interfaceVersion?: string;
|
|
10533
10628
|
/**
|
|
10534
10629
|
* @remarks
|
|
10535
10630
|
* The name of the masking rule. You can specify multiple masking rules at a time. Separate the masking rules with commas (,).
|
|
@@ -10822,6 +10917,7 @@ export declare class DescribeAccountsRequest extends $dara.Model {
|
|
|
10822
10917
|
* pc-***************
|
|
10823
10918
|
*/
|
|
10824
10919
|
DBClusterId?: string;
|
|
10920
|
+
nodeType?: string;
|
|
10825
10921
|
ownerAccount?: string;
|
|
10826
10922
|
ownerId?: number;
|
|
10827
10923
|
/**
|
|
@@ -11079,6 +11175,11 @@ export declare class DescribeActivationCodesRequest extends $dara.Model {
|
|
|
11079
11175
|
* 2233****445566
|
|
11080
11176
|
*/
|
|
11081
11177
|
aliyunOrderId?: string;
|
|
11178
|
+
/**
|
|
11179
|
+
* @example
|
|
11180
|
+
* aa:bb:cc:dd:ee:ff
|
|
11181
|
+
*/
|
|
11182
|
+
macAddress?: string;
|
|
11082
11183
|
ownerAccount?: string;
|
|
11083
11184
|
ownerId?: number;
|
|
11084
11185
|
/**
|
|
@@ -11099,6 +11200,11 @@ export declare class DescribeActivationCodesRequest extends $dara.Model {
|
|
|
11099
11200
|
pageSize?: number;
|
|
11100
11201
|
resourceOwnerAccount?: string;
|
|
11101
11202
|
resourceOwnerId?: number;
|
|
11203
|
+
/**
|
|
11204
|
+
* @example
|
|
11205
|
+
* 3312548696141831911
|
|
11206
|
+
*/
|
|
11207
|
+
systemIdentifier?: string;
|
|
11102
11208
|
static names(): {
|
|
11103
11209
|
[key: string]: string;
|
|
11104
11210
|
};
|
|
@@ -11205,11 +11311,21 @@ export declare class DescribeActiveOperationTasksRequest extends $dara.Model {
|
|
|
11205
11311
|
ownerAccount?: string;
|
|
11206
11312
|
ownerId?: number;
|
|
11207
11313
|
/**
|
|
11314
|
+
* @remarks
|
|
11315
|
+
* The page number of the page to return. The value must be an integer that is greater than 0. Default value: 1.
|
|
11316
|
+
*
|
|
11208
11317
|
* @example
|
|
11209
11318
|
* 1
|
|
11210
11319
|
*/
|
|
11211
11320
|
pageNumber?: number;
|
|
11212
11321
|
/**
|
|
11322
|
+
* @remarks
|
|
11323
|
+
* The number of entries per page. Valid values:
|
|
11324
|
+
*
|
|
11325
|
+
* * **30** (default)
|
|
11326
|
+
* * **50**
|
|
11327
|
+
* * **100**
|
|
11328
|
+
*
|
|
11213
11329
|
* @example
|
|
11214
11330
|
* 30
|
|
11215
11331
|
*/
|
|
@@ -12439,6 +12555,10 @@ export declare class DescribeDBClusterAttributeResponseBody extends $dara.Model
|
|
|
12439
12555
|
* 5,242,880
|
|
12440
12556
|
*/
|
|
12441
12557
|
blktagUsed?: number;
|
|
12558
|
+
/**
|
|
12559
|
+
* @example
|
|
12560
|
+
* false
|
|
12561
|
+
*/
|
|
12442
12562
|
burstingEnabled?: string;
|
|
12443
12563
|
/**
|
|
12444
12564
|
* @remarks
|
|
@@ -12638,6 +12758,13 @@ export declare class DescribeDBClusterAttributeResponseBody extends $dara.Model
|
|
|
12638
12758
|
* OFF
|
|
12639
12759
|
*/
|
|
12640
12760
|
imciAutoIndex?: string;
|
|
12761
|
+
/**
|
|
12762
|
+
* @remarks
|
|
12763
|
+
* Indicates whether failover with hot replica is enabled. Valid values:
|
|
12764
|
+
*
|
|
12765
|
+
* * `true`
|
|
12766
|
+
* * `false` (default)
|
|
12767
|
+
*/
|
|
12641
12768
|
imperceptibleSwitch?: string;
|
|
12642
12769
|
/**
|
|
12643
12770
|
* @remarks
|
|
@@ -14291,6 +14418,10 @@ export declare class DescribeDBClusterTDEResponseBody extends $dara.Model {
|
|
|
14291
14418
|
* 2a4f4ac2-****-****-****-************
|
|
14292
14419
|
*/
|
|
14293
14420
|
encryptionKey?: string;
|
|
14421
|
+
/**
|
|
14422
|
+
* @example
|
|
14423
|
+
* Enabled
|
|
14424
|
+
*/
|
|
14294
14425
|
encryptionKeyStatus?: string;
|
|
14295
14426
|
/**
|
|
14296
14427
|
* @remarks
|
|
@@ -14873,7 +15004,7 @@ export declare class DescribeDBClustersWithBackupsRequest extends $dara.Model {
|
|
|
14873
15004
|
pageNumber?: number;
|
|
14874
15005
|
/**
|
|
14875
15006
|
* @remarks
|
|
14876
|
-
* The number of entries
|
|
15007
|
+
* The number of entries per page. Valid values:
|
|
14877
15008
|
*
|
|
14878
15009
|
* * **30**
|
|
14879
15010
|
* * **50**
|
|
@@ -15631,7 +15762,7 @@ export declare class DescribeDasConfigRequest extends $dara.Model {
|
|
|
15631
15762
|
export declare class DescribeDasConfigResponseBody extends $dara.Model {
|
|
15632
15763
|
/**
|
|
15633
15764
|
* @remarks
|
|
15634
|
-
*
|
|
15765
|
+
* The request ID.
|
|
15635
15766
|
*
|
|
15636
15767
|
* @example
|
|
15637
15768
|
* 593AE1C5-B70C-463F-9207-074639******
|
|
@@ -15639,7 +15770,10 @@ export declare class DescribeDasConfigResponseBody extends $dara.Model {
|
|
|
15639
15770
|
requestId?: string;
|
|
15640
15771
|
/**
|
|
15641
15772
|
* @remarks
|
|
15642
|
-
*
|
|
15773
|
+
* Specifies whether to enable automatic storage scaling for the Standard Edition cluster. Valid values:
|
|
15774
|
+
*
|
|
15775
|
+
* * Enable
|
|
15776
|
+
* * Disable
|
|
15643
15777
|
*
|
|
15644
15778
|
* @example
|
|
15645
15779
|
* Enable
|
|
@@ -15647,9 +15781,9 @@ export declare class DescribeDasConfigResponseBody extends $dara.Model {
|
|
|
15647
15781
|
storageAutoScale?: string;
|
|
15648
15782
|
/**
|
|
15649
15783
|
* @remarks
|
|
15650
|
-
* The maximum storage capacity
|
|
15784
|
+
* The maximum storage capacity that is allowed for storage automatic scaling of the Standard Edition cluster. Unit: GB.
|
|
15651
15785
|
*
|
|
15652
|
-
* > This parameter is
|
|
15786
|
+
* > This parameter is valid only when the StorageAutoScale parameter is set to Enable.
|
|
15653
15787
|
*
|
|
15654
15788
|
* @example
|
|
15655
15789
|
* 800
|
|
@@ -16182,7 +16316,7 @@ export declare class DescribeGlobalDatabaseNetworksRequest extends $dara.Model {
|
|
|
16182
16316
|
ownerId?: number;
|
|
16183
16317
|
/**
|
|
16184
16318
|
* @remarks
|
|
16185
|
-
* The page
|
|
16319
|
+
* The number of the page to return. Default value: 1. The value must be an integer that is greater than 0.
|
|
16186
16320
|
*
|
|
16187
16321
|
* @example
|
|
16188
16322
|
* 1
|
|
@@ -16190,7 +16324,7 @@ export declare class DescribeGlobalDatabaseNetworksRequest extends $dara.Model {
|
|
|
16190
16324
|
pageNumber?: number;
|
|
16191
16325
|
/**
|
|
16192
16326
|
* @remarks
|
|
16193
|
-
* The number of entries
|
|
16327
|
+
* The number of entries per page. Default value: 30. Valid values:
|
|
16194
16328
|
*
|
|
16195
16329
|
* * 30
|
|
16196
16330
|
* * 50
|
|
@@ -16654,7 +16788,7 @@ export declare class DescribeLicenseOrdersRequest extends $dara.Model {
|
|
|
16654
16788
|
ownerId?: number;
|
|
16655
16789
|
/**
|
|
16656
16790
|
* @remarks
|
|
16657
|
-
* The type
|
|
16791
|
+
* The plan type. Valid values:
|
|
16658
16792
|
*
|
|
16659
16793
|
* * single_node_subscribe: Single-node Edition (Subscription).
|
|
16660
16794
|
* * single_node_long_term: Single-node Edition (Long-term).
|
|
@@ -16899,6 +17033,7 @@ export declare class DescribeMaskingRulesRequest extends $dara.Model {
|
|
|
16899
17033
|
* pc-*****************
|
|
16900
17034
|
*/
|
|
16901
17035
|
DBClusterId?: string;
|
|
17036
|
+
interfaceVersion?: string;
|
|
16902
17037
|
/**
|
|
16903
17038
|
* @remarks
|
|
16904
17039
|
* The name of the masking rule.
|
|
@@ -17504,7 +17639,7 @@ export declare class DescribePendingMaintenanceActionRequest extends $dara.Model
|
|
|
17504
17639
|
ownerId?: number;
|
|
17505
17640
|
/**
|
|
17506
17641
|
* @remarks
|
|
17507
|
-
* The page
|
|
17642
|
+
* The number of the page to return. Specify the parameter to a positive integer that does not exceed the maximum value of the INTEGER data type. Default value: **1**.
|
|
17508
17643
|
*
|
|
17509
17644
|
* @example
|
|
17510
17645
|
* 1
|
|
@@ -17512,7 +17647,7 @@ export declare class DescribePendingMaintenanceActionRequest extends $dara.Model
|
|
|
17512
17647
|
pageNumber?: number;
|
|
17513
17648
|
/**
|
|
17514
17649
|
* @remarks
|
|
17515
|
-
* The number of entries per page. Valid values: **30**, **50**,
|
|
17650
|
+
* The number of entries per page. Valid values: **30**, **50**, and **100**.
|
|
17516
17651
|
*
|
|
17517
17652
|
* Default value: **30**.
|
|
17518
17653
|
*
|
|
@@ -18113,9 +18248,9 @@ export declare class DescribeSlowLogRecordsRequest extends $dara.Model {
|
|
|
18113
18248
|
ownerId?: number;
|
|
18114
18249
|
/**
|
|
18115
18250
|
* @remarks
|
|
18116
|
-
*
|
|
18251
|
+
* The page number. The value must be an integer that is greater than 0.
|
|
18117
18252
|
*
|
|
18118
|
-
*
|
|
18253
|
+
* Default value: **1**.
|
|
18119
18254
|
*
|
|
18120
18255
|
* @example
|
|
18121
18256
|
* 1
|
|
@@ -18123,12 +18258,13 @@ export declare class DescribeSlowLogRecordsRequest extends $dara.Model {
|
|
|
18123
18258
|
pageNumber?: number;
|
|
18124
18259
|
/**
|
|
18125
18260
|
* @remarks
|
|
18126
|
-
*
|
|
18127
|
-
* * **30**
|
|
18128
|
-
* * **50**
|
|
18129
|
-
* * **100**
|
|
18261
|
+
* The number of entries per page. Valid values:
|
|
18130
18262
|
*
|
|
18131
|
-
*
|
|
18263
|
+
* * **30**
|
|
18264
|
+
* * **50**
|
|
18265
|
+
* * **100**
|
|
18266
|
+
*
|
|
18267
|
+
* Default value: **30**.
|
|
18132
18268
|
*
|
|
18133
18269
|
* @example
|
|
18134
18270
|
* 30
|
|
@@ -18295,7 +18431,7 @@ export declare class DescribeSlowLogsRequest extends $dara.Model {
|
|
|
18295
18431
|
ownerId?: number;
|
|
18296
18432
|
/**
|
|
18297
18433
|
* @remarks
|
|
18298
|
-
* The
|
|
18434
|
+
* The page number. Pages start from 1.
|
|
18299
18435
|
*
|
|
18300
18436
|
* Default value: 1.
|
|
18301
18437
|
*
|
|
@@ -18477,7 +18613,7 @@ export declare class DescribeTasksRequest extends $dara.Model {
|
|
|
18477
18613
|
ownerId?: number;
|
|
18478
18614
|
/**
|
|
18479
18615
|
* @remarks
|
|
18480
|
-
* The page number
|
|
18616
|
+
* The page number. Pages start from page 1.
|
|
18481
18617
|
*
|
|
18482
18618
|
* Default value: **1**.
|
|
18483
18619
|
*
|
|
@@ -18487,7 +18623,7 @@ export declare class DescribeTasksRequest extends $dara.Model {
|
|
|
18487
18623
|
pageNumber?: number;
|
|
18488
18624
|
/**
|
|
18489
18625
|
* @remarks
|
|
18490
|
-
* The number of entries
|
|
18626
|
+
* The number of entries per page. Valid values: **30**, **50**, and **100**.
|
|
18491
18627
|
*
|
|
18492
18628
|
* Default value: **30**.
|
|
18493
18629
|
*
|
|
@@ -18746,7 +18882,7 @@ export declare class DescribeVSwitchesRequest extends $dara.Model {
|
|
|
18746
18882
|
pageNumber?: number;
|
|
18747
18883
|
/**
|
|
18748
18884
|
* @remarks
|
|
18749
|
-
* The number of entries to return
|
|
18885
|
+
* The number of entries to return on each page. Maximum value: 50. The default value is 50.
|
|
18750
18886
|
*
|
|
18751
18887
|
* @example
|
|
18752
18888
|
* 50
|
|
@@ -18754,7 +18890,7 @@ export declare class DescribeVSwitchesRequest extends $dara.Model {
|
|
|
18754
18890
|
pageSize?: number;
|
|
18755
18891
|
/**
|
|
18756
18892
|
* @remarks
|
|
18757
|
-
* The ID of the region where the vSwitch
|
|
18893
|
+
* The ID of the region where the vSwitch is deployed.
|
|
18758
18894
|
*
|
|
18759
18895
|
* @example
|
|
18760
18896
|
* cn-hangzhou
|
|
@@ -18835,7 +18971,7 @@ export declare class DescribeVSwitchesResponseBody extends $dara.Model {
|
|
|
18835
18971
|
totalCount?: number;
|
|
18836
18972
|
/**
|
|
18837
18973
|
* @remarks
|
|
18838
|
-
* The
|
|
18974
|
+
* The vSwitches.
|
|
18839
18975
|
*/
|
|
18840
18976
|
vSwitchs?: DescribeVSwitchesResponseBodyVSwitchs[];
|
|
18841
18977
|
static names(): {
|
|
@@ -20902,6 +21038,82 @@ export declare class ModifyDBClusterAndNodesParametersResponse extends $dara.Mod
|
|
|
20902
21038
|
[key: string]: any;
|
|
20903
21039
|
});
|
|
20904
21040
|
}
|
|
21041
|
+
export declare class ModifyDBClusterArchRequest extends $dara.Model {
|
|
21042
|
+
/**
|
|
21043
|
+
* @example
|
|
21044
|
+
* pc-****************
|
|
21045
|
+
*/
|
|
21046
|
+
DBClusterId?: string;
|
|
21047
|
+
/**
|
|
21048
|
+
* @example
|
|
21049
|
+
* on
|
|
21050
|
+
*/
|
|
21051
|
+
hotStandbyCluster?: string;
|
|
21052
|
+
/**
|
|
21053
|
+
* @example
|
|
21054
|
+
* cn-beijing
|
|
21055
|
+
*/
|
|
21056
|
+
regionId?: string;
|
|
21057
|
+
/**
|
|
21058
|
+
* @example
|
|
21059
|
+
* cn-beijing-i
|
|
21060
|
+
*/
|
|
21061
|
+
standbyAZ?: string;
|
|
21062
|
+
static names(): {
|
|
21063
|
+
[key: string]: string;
|
|
21064
|
+
};
|
|
21065
|
+
static types(): {
|
|
21066
|
+
[key: string]: any;
|
|
21067
|
+
};
|
|
21068
|
+
validate(): void;
|
|
21069
|
+
constructor(map?: {
|
|
21070
|
+
[key: string]: any;
|
|
21071
|
+
});
|
|
21072
|
+
}
|
|
21073
|
+
export declare class ModifyDBClusterArchResponseBody extends $dara.Model {
|
|
21074
|
+
/**
|
|
21075
|
+
* @example
|
|
21076
|
+
* pc-**************
|
|
21077
|
+
*/
|
|
21078
|
+
DBClusterId?: string;
|
|
21079
|
+
/**
|
|
21080
|
+
* @example
|
|
21081
|
+
* 2148126708*****
|
|
21082
|
+
*/
|
|
21083
|
+
orderId?: string;
|
|
21084
|
+
/**
|
|
21085
|
+
* @example
|
|
21086
|
+
* 6A2EE5B4-CC9F-46E1-A747-E43BC9******
|
|
21087
|
+
*/
|
|
21088
|
+
requestId?: string;
|
|
21089
|
+
static names(): {
|
|
21090
|
+
[key: string]: string;
|
|
21091
|
+
};
|
|
21092
|
+
static types(): {
|
|
21093
|
+
[key: string]: any;
|
|
21094
|
+
};
|
|
21095
|
+
validate(): void;
|
|
21096
|
+
constructor(map?: {
|
|
21097
|
+
[key: string]: any;
|
|
21098
|
+
});
|
|
21099
|
+
}
|
|
21100
|
+
export declare class ModifyDBClusterArchResponse extends $dara.Model {
|
|
21101
|
+
headers?: {
|
|
21102
|
+
[key: string]: string;
|
|
21103
|
+
};
|
|
21104
|
+
statusCode?: number;
|
|
21105
|
+
body?: ModifyDBClusterArchResponseBody;
|
|
21106
|
+
static names(): {
|
|
21107
|
+
[key: string]: string;
|
|
21108
|
+
};
|
|
21109
|
+
static types(): {
|
|
21110
|
+
[key: string]: any;
|
|
21111
|
+
};
|
|
21112
|
+
validate(): void;
|
|
21113
|
+
constructor(map?: {
|
|
21114
|
+
[key: string]: any;
|
|
21115
|
+
});
|
|
21116
|
+
}
|
|
20905
21117
|
export declare class ModifyDBClusterAuditLogCollectorRequest extends $dara.Model {
|
|
20906
21118
|
/**
|
|
20907
21119
|
* @remarks
|
|
@@ -21307,11 +21519,6 @@ export declare class ModifyDBClusterEndpointRequest extends $dara.Model {
|
|
|
21307
21519
|
* * **ON**
|
|
21308
21520
|
* * **OFF**
|
|
21309
21521
|
*
|
|
21310
|
-
* Valid values:
|
|
21311
|
-
*
|
|
21312
|
-
* * on
|
|
21313
|
-
* * off
|
|
21314
|
-
*
|
|
21315
21522
|
* @example
|
|
21316
21523
|
* on
|
|
21317
21524
|
*/
|
|
@@ -21850,7 +22057,7 @@ export declare class ModifyDBClusterPrimaryZoneRequest extends $dara.Model {
|
|
|
21850
22057
|
zoneId?: string;
|
|
21851
22058
|
/**
|
|
21852
22059
|
* @remarks
|
|
21853
|
-
* The type
|
|
22060
|
+
* The zone type. Valid values:
|
|
21854
22061
|
*
|
|
21855
22062
|
* * **Primary**: primary zone
|
|
21856
22063
|
* * **Standby**: secondary zone
|
|
@@ -22254,7 +22461,6 @@ export declare class ModifyDBClusterServerlessConfRequest extends $dara.Model {
|
|
|
22254
22461
|
*
|
|
22255
22462
|
* @example
|
|
22256
22463
|
* normal
|
|
22257
|
-
* flexible
|
|
22258
22464
|
*/
|
|
22259
22465
|
serverlessRuleMode?: string;
|
|
22260
22466
|
/**
|
|
@@ -22323,6 +22529,14 @@ export declare class ModifyDBClusterServerlessConfResponse extends $dara.Model {
|
|
|
22323
22529
|
}
|
|
22324
22530
|
export declare class ModifyDBClusterStoragePerformanceRequest extends $dara.Model {
|
|
22325
22531
|
/**
|
|
22532
|
+
* @remarks
|
|
22533
|
+
* Specifies whether to enable the I/O Burst feature for the ESSD AutoPL disk. Valid value:
|
|
22534
|
+
*
|
|
22535
|
+
* * **true**
|
|
22536
|
+
* * **false** (default)
|
|
22537
|
+
*
|
|
22538
|
+
* > This parameter is available only when the StorageType parameter is set to ESSDAUTOPL.
|
|
22539
|
+
*
|
|
22326
22540
|
* @example
|
|
22327
22541
|
* false
|
|
22328
22542
|
*/
|
|
@@ -23934,6 +24148,7 @@ export declare class ModifyMaskingRulesRequest extends $dara.Model {
|
|
|
23934
24148
|
* true
|
|
23935
24149
|
*/
|
|
23936
24150
|
enable?: string;
|
|
24151
|
+
interfaceVersion?: string;
|
|
23937
24152
|
/**
|
|
23938
24153
|
* @remarks
|
|
23939
24154
|
* The parameter that is used to specify the masking rule that you want to modify and the value in the JSON format. All parameter values are of the string type. Example: `{"auto": {"databases": ["db1"], "tables": ["tb1"], "columns": ["c1,c2"] }, "description": "This rule will be applied to the columns c1 and c2 in table t1", "enabled": true, "applies_to": ["user"]}`. Parameters in the function:
|
|
@@ -26924,7 +27139,7 @@ export default class Client extends OpenApi {
|
|
|
26924
27139
|
*
|
|
26925
27140
|
* @remarks
|
|
26926
27141
|
* Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
|
|
26927
|
-
* >
|
|
27142
|
+
* > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
|
|
26928
27143
|
*
|
|
26929
27144
|
* @param request - DescribeDetachedBackupsRequest
|
|
26930
27145
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26936,7 +27151,7 @@ export default class Client extends OpenApi {
|
|
|
26936
27151
|
*
|
|
26937
27152
|
* @remarks
|
|
26938
27153
|
* Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
|
|
26939
|
-
* >
|
|
27154
|
+
* > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
|
|
26940
27155
|
*
|
|
26941
27156
|
* @param request - DescribeDetachedBackupsRequest
|
|
26942
27157
|
* @returns DescribeDetachedBackupsResponse
|
|
@@ -27154,7 +27369,7 @@ export default class Client extends OpenApi {
|
|
|
27154
27369
|
*/
|
|
27155
27370
|
describePendingMaintenanceAction(request: DescribePendingMaintenanceActionRequest): Promise<DescribePendingMaintenanceActionResponse>;
|
|
27156
27371
|
/**
|
|
27157
|
-
* Queries the numbers of
|
|
27372
|
+
* Queries the numbers of scheduled events for different types of tasks.
|
|
27158
27373
|
*
|
|
27159
27374
|
* @param request - DescribePendingMaintenanceActionsRequest
|
|
27160
27375
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27162,7 +27377,7 @@ export default class Client extends OpenApi {
|
|
|
27162
27377
|
*/
|
|
27163
27378
|
describePendingMaintenanceActionsWithOptions(request: DescribePendingMaintenanceActionsRequest, runtime: $dara.RuntimeOptions): Promise<DescribePendingMaintenanceActionsResponse>;
|
|
27164
27379
|
/**
|
|
27165
|
-
* Queries the numbers of
|
|
27380
|
+
* Queries the numbers of scheduled events for different types of tasks.
|
|
27166
27381
|
*
|
|
27167
27382
|
* @param request - DescribePendingMaintenanceActionsRequest
|
|
27168
27383
|
* @returns DescribePendingMaintenanceActionsResponse
|
|
@@ -27570,6 +27785,21 @@ export default class Client extends OpenApi {
|
|
|
27570
27785
|
* @returns ModifyDBClusterAndNodesParametersResponse
|
|
27571
27786
|
*/
|
|
27572
27787
|
modifyDBClusterAndNodesParameters(request: ModifyDBClusterAndNodesParametersRequest): Promise<ModifyDBClusterAndNodesParametersResponse>;
|
|
27788
|
+
/**
|
|
27789
|
+
* 变更standby模式
|
|
27790
|
+
*
|
|
27791
|
+
* @param request - ModifyDBClusterArchRequest
|
|
27792
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
27793
|
+
* @returns ModifyDBClusterArchResponse
|
|
27794
|
+
*/
|
|
27795
|
+
modifyDBClusterArchWithOptions(request: ModifyDBClusterArchRequest, runtime: $dara.RuntimeOptions): Promise<ModifyDBClusterArchResponse>;
|
|
27796
|
+
/**
|
|
27797
|
+
* 变更standby模式
|
|
27798
|
+
*
|
|
27799
|
+
* @param request - ModifyDBClusterArchRequest
|
|
27800
|
+
* @returns ModifyDBClusterArchResponse
|
|
27801
|
+
*/
|
|
27802
|
+
modifyDBClusterArch(request: ModifyDBClusterArchRequest): Promise<ModifyDBClusterArchResponse>;
|
|
27573
27803
|
/**
|
|
27574
27804
|
* Enables or disables SQL collector for a PolarDB cluster. The features related to SQL collector include Audit Logs and SQL Explorer.
|
|
27575
27805
|
*
|