@alicloud/polardb20170801 5.4.0 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +100 -41
- package/dist/client.js +932 -157
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1030 -194
package/dist/client.d.ts
CHANGED
|
@@ -2453,6 +2453,10 @@ export declare class DescribeDBClusterSSLResponseBodyItems extends $dara.Model {
|
|
|
2453
2453
|
* pe-************
|
|
2454
2454
|
*/
|
|
2455
2455
|
DBEndpointId?: string;
|
|
2456
|
+
/**
|
|
2457
|
+
* @example
|
|
2458
|
+
* Enable
|
|
2459
|
+
*/
|
|
2456
2460
|
SSLAutoRotate?: string;
|
|
2457
2461
|
/**
|
|
2458
2462
|
* @remarks
|
|
@@ -2558,7 +2562,7 @@ export declare class DescribeDBClusterVersionResponseBodyProxyRevisionVersionLis
|
|
|
2558
2562
|
* * **BETA**: a preview version
|
|
2559
2563
|
*
|
|
2560
2564
|
* @example
|
|
2561
|
-
*
|
|
2565
|
+
* LTS
|
|
2562
2566
|
*/
|
|
2563
2567
|
releaseType?: string;
|
|
2564
2568
|
/**
|
|
@@ -4217,7 +4221,17 @@ export declare class DescribeGlobalDatabaseNetworkResponseBodyDBClustersDBNodes
|
|
|
4217
4221
|
export declare class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $dara.Model {
|
|
4218
4222
|
/**
|
|
4219
4223
|
* @remarks
|
|
4220
|
-
* The edition of the cluster.
|
|
4224
|
+
* The edition of the cluster. Valid values:
|
|
4225
|
+
*
|
|
4226
|
+
* Normal: Cluster Edition Basic: Single Node Edition Archive: X-Engine Edition NormalMultimaster: Multi-master Cluster Edition SENormal: Standard Edition
|
|
4227
|
+
*
|
|
4228
|
+
* >
|
|
4229
|
+
*
|
|
4230
|
+
* * PolarDB for PostgreSQL clusters that run the PostgreSQL 11 database engine do not support Single Node Edition.
|
|
4231
|
+
*
|
|
4232
|
+
* * PolarDB for MySQL 8.0 and 5.7 clusters, and PolarDB for PostgreSQL clusters that run the PostgreSQL 14 database engine support Standard Edition.
|
|
4233
|
+
*
|
|
4234
|
+
* * PolarDB for MySQL 8.0 clusters support X-Engine Edition and Multi-master Cluster Edition.
|
|
4221
4235
|
*
|
|
4222
4236
|
* @example
|
|
4223
4237
|
* Normal
|
|
@@ -5917,7 +5931,7 @@ export declare class DescribeVSwitchesResponseBodyVSwitchs extends $dara.Model {
|
|
|
5917
5931
|
cidrBlock?: string;
|
|
5918
5932
|
/**
|
|
5919
5933
|
* @remarks
|
|
5920
|
-
* The
|
|
5934
|
+
* The description of the vSwitch.
|
|
5921
5935
|
*
|
|
5922
5936
|
* @example
|
|
5923
5937
|
* vSwitchDescription
|
|
@@ -8338,8 +8352,10 @@ export declare class CreateDBClusterEndpointRequest extends $dara.Model {
|
|
|
8338
8352
|
resourceOwnerId?: number;
|
|
8339
8353
|
/**
|
|
8340
8354
|
* @remarks
|
|
8341
|
-
*
|
|
8342
|
-
*
|
|
8355
|
+
* Specifies whether to enable the global consistency (high-performance mode) feature for the nodes. Valid values:
|
|
8356
|
+
*
|
|
8357
|
+
* * **ON**
|
|
8358
|
+
* * **OFF**
|
|
8343
8359
|
*
|
|
8344
8360
|
* @example
|
|
8345
8361
|
* on
|
|
@@ -8727,12 +8743,18 @@ export declare class CreateDBNodesRequest extends $dara.Model {
|
|
|
8727
8743
|
DBNode?: CreateDBNodesRequestDBNode[];
|
|
8728
8744
|
/**
|
|
8729
8745
|
* @remarks
|
|
8730
|
-
* The type
|
|
8746
|
+
* The node type. Valid values:
|
|
8731
8747
|
*
|
|
8732
8748
|
* * RO
|
|
8733
8749
|
* * STANDBY
|
|
8734
8750
|
* * DLNode
|
|
8735
8751
|
*
|
|
8752
|
+
* Enumerated values:
|
|
8753
|
+
*
|
|
8754
|
+
* * DLNode: AI node
|
|
8755
|
+
* * STANDBY: standby node
|
|
8756
|
+
* * RO: read-only node
|
|
8757
|
+
*
|
|
8736
8758
|
* @example
|
|
8737
8759
|
* RO
|
|
8738
8760
|
*/
|
|
@@ -10196,10 +10218,17 @@ export declare class DeleteDBNodesRequest extends $dara.Model {
|
|
|
10196
10218
|
DBNodeId?: string[];
|
|
10197
10219
|
/**
|
|
10198
10220
|
* @remarks
|
|
10199
|
-
* The type
|
|
10221
|
+
* The node type. Valid values:
|
|
10200
10222
|
*
|
|
10201
10223
|
* * RO
|
|
10202
10224
|
* * STANDBY
|
|
10225
|
+
* * DLNode
|
|
10226
|
+
*
|
|
10227
|
+
* Enumerated values:
|
|
10228
|
+
*
|
|
10229
|
+
* * DLNode: AI node
|
|
10230
|
+
* * STANDBY: standby node
|
|
10231
|
+
* * RO: read-only node
|
|
10203
10232
|
*
|
|
10204
10233
|
* @example
|
|
10205
10234
|
* RO
|
|
@@ -11079,6 +11108,11 @@ export declare class DescribeActivationCodesRequest extends $dara.Model {
|
|
|
11079
11108
|
* 2233****445566
|
|
11080
11109
|
*/
|
|
11081
11110
|
aliyunOrderId?: string;
|
|
11111
|
+
/**
|
|
11112
|
+
* @example
|
|
11113
|
+
* aa:bb:cc:dd:ee:ff
|
|
11114
|
+
*/
|
|
11115
|
+
macAddress?: string;
|
|
11082
11116
|
ownerAccount?: string;
|
|
11083
11117
|
ownerId?: number;
|
|
11084
11118
|
/**
|
|
@@ -11099,6 +11133,11 @@ export declare class DescribeActivationCodesRequest extends $dara.Model {
|
|
|
11099
11133
|
pageSize?: number;
|
|
11100
11134
|
resourceOwnerAccount?: string;
|
|
11101
11135
|
resourceOwnerId?: number;
|
|
11136
|
+
/**
|
|
11137
|
+
* @example
|
|
11138
|
+
* 3312548696141831911
|
|
11139
|
+
*/
|
|
11140
|
+
systemIdentifier?: string;
|
|
11102
11141
|
static names(): {
|
|
11103
11142
|
[key: string]: string;
|
|
11104
11143
|
};
|
|
@@ -11205,11 +11244,21 @@ export declare class DescribeActiveOperationTasksRequest extends $dara.Model {
|
|
|
11205
11244
|
ownerAccount?: string;
|
|
11206
11245
|
ownerId?: number;
|
|
11207
11246
|
/**
|
|
11247
|
+
* @remarks
|
|
11248
|
+
* The page number of the page to return. The value must be an integer that is greater than 0. Default value: 1.
|
|
11249
|
+
*
|
|
11208
11250
|
* @example
|
|
11209
11251
|
* 1
|
|
11210
11252
|
*/
|
|
11211
11253
|
pageNumber?: number;
|
|
11212
11254
|
/**
|
|
11255
|
+
* @remarks
|
|
11256
|
+
* The number of entries per page. Valid values:
|
|
11257
|
+
*
|
|
11258
|
+
* * **30** (default)
|
|
11259
|
+
* * **50**
|
|
11260
|
+
* * **100**
|
|
11261
|
+
*
|
|
11213
11262
|
* @example
|
|
11214
11263
|
* 30
|
|
11215
11264
|
*/
|
|
@@ -14291,6 +14340,10 @@ export declare class DescribeDBClusterTDEResponseBody extends $dara.Model {
|
|
|
14291
14340
|
* 2a4f4ac2-****-****-****-************
|
|
14292
14341
|
*/
|
|
14293
14342
|
encryptionKey?: string;
|
|
14343
|
+
/**
|
|
14344
|
+
* @example
|
|
14345
|
+
* Enabled
|
|
14346
|
+
*/
|
|
14294
14347
|
encryptionKeyStatus?: string;
|
|
14295
14348
|
/**
|
|
14296
14349
|
* @remarks
|
|
@@ -14873,7 +14926,7 @@ export declare class DescribeDBClustersWithBackupsRequest extends $dara.Model {
|
|
|
14873
14926
|
pageNumber?: number;
|
|
14874
14927
|
/**
|
|
14875
14928
|
* @remarks
|
|
14876
|
-
* The number of entries
|
|
14929
|
+
* The number of entries per page. Valid values:
|
|
14877
14930
|
*
|
|
14878
14931
|
* * **30**
|
|
14879
14932
|
* * **50**
|
|
@@ -15631,7 +15684,7 @@ export declare class DescribeDasConfigRequest extends $dara.Model {
|
|
|
15631
15684
|
export declare class DescribeDasConfigResponseBody extends $dara.Model {
|
|
15632
15685
|
/**
|
|
15633
15686
|
* @remarks
|
|
15634
|
-
*
|
|
15687
|
+
* The request ID.
|
|
15635
15688
|
*
|
|
15636
15689
|
* @example
|
|
15637
15690
|
* 593AE1C5-B70C-463F-9207-074639******
|
|
@@ -15639,7 +15692,10 @@ export declare class DescribeDasConfigResponseBody extends $dara.Model {
|
|
|
15639
15692
|
requestId?: string;
|
|
15640
15693
|
/**
|
|
15641
15694
|
* @remarks
|
|
15642
|
-
*
|
|
15695
|
+
* Specifies whether to enable automatic storage scaling for the Standard Edition cluster. Valid values:
|
|
15696
|
+
*
|
|
15697
|
+
* * Enable
|
|
15698
|
+
* * Disable
|
|
15643
15699
|
*
|
|
15644
15700
|
* @example
|
|
15645
15701
|
* Enable
|
|
@@ -15647,9 +15703,9 @@ export declare class DescribeDasConfigResponseBody extends $dara.Model {
|
|
|
15647
15703
|
storageAutoScale?: string;
|
|
15648
15704
|
/**
|
|
15649
15705
|
* @remarks
|
|
15650
|
-
* The maximum storage capacity
|
|
15706
|
+
* The maximum storage capacity that is allowed for storage automatic scaling of the Standard Edition cluster. Unit: GB.
|
|
15651
15707
|
*
|
|
15652
|
-
* > This parameter is
|
|
15708
|
+
* > This parameter is valid only when the StorageAutoScale parameter is set to Enable.
|
|
15653
15709
|
*
|
|
15654
15710
|
* @example
|
|
15655
15711
|
* 800
|
|
@@ -16182,7 +16238,7 @@ export declare class DescribeGlobalDatabaseNetworksRequest extends $dara.Model {
|
|
|
16182
16238
|
ownerId?: number;
|
|
16183
16239
|
/**
|
|
16184
16240
|
* @remarks
|
|
16185
|
-
* The page
|
|
16241
|
+
* The number of the page to return. Default value: 1. The value must be an integer that is greater than 0.
|
|
16186
16242
|
*
|
|
16187
16243
|
* @example
|
|
16188
16244
|
* 1
|
|
@@ -16190,7 +16246,7 @@ export declare class DescribeGlobalDatabaseNetworksRequest extends $dara.Model {
|
|
|
16190
16246
|
pageNumber?: number;
|
|
16191
16247
|
/**
|
|
16192
16248
|
* @remarks
|
|
16193
|
-
* The number of entries
|
|
16249
|
+
* The number of entries per page. Default value: 30. Valid values:
|
|
16194
16250
|
*
|
|
16195
16251
|
* * 30
|
|
16196
16252
|
* * 50
|
|
@@ -16654,7 +16710,7 @@ export declare class DescribeLicenseOrdersRequest extends $dara.Model {
|
|
|
16654
16710
|
ownerId?: number;
|
|
16655
16711
|
/**
|
|
16656
16712
|
* @remarks
|
|
16657
|
-
* The type
|
|
16713
|
+
* The plan type. Valid values:
|
|
16658
16714
|
*
|
|
16659
16715
|
* * single_node_subscribe: Single-node Edition (Subscription).
|
|
16660
16716
|
* * single_node_long_term: Single-node Edition (Long-term).
|
|
@@ -17504,7 +17560,7 @@ export declare class DescribePendingMaintenanceActionRequest extends $dara.Model
|
|
|
17504
17560
|
ownerId?: number;
|
|
17505
17561
|
/**
|
|
17506
17562
|
* @remarks
|
|
17507
|
-
* The page
|
|
17563
|
+
* 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
17564
|
*
|
|
17509
17565
|
* @example
|
|
17510
17566
|
* 1
|
|
@@ -17512,7 +17568,7 @@ export declare class DescribePendingMaintenanceActionRequest extends $dara.Model
|
|
|
17512
17568
|
pageNumber?: number;
|
|
17513
17569
|
/**
|
|
17514
17570
|
* @remarks
|
|
17515
|
-
* The number of entries per page. Valid values: **30**, **50**,
|
|
17571
|
+
* The number of entries per page. Valid values: **30**, **50**, and **100**.
|
|
17516
17572
|
*
|
|
17517
17573
|
* Default value: **30**.
|
|
17518
17574
|
*
|
|
@@ -18113,9 +18169,9 @@ export declare class DescribeSlowLogRecordsRequest extends $dara.Model {
|
|
|
18113
18169
|
ownerId?: number;
|
|
18114
18170
|
/**
|
|
18115
18171
|
* @remarks
|
|
18116
|
-
*
|
|
18172
|
+
* The page number. The value must be an integer that is greater than 0.
|
|
18117
18173
|
*
|
|
18118
|
-
*
|
|
18174
|
+
* Default value: **1**.
|
|
18119
18175
|
*
|
|
18120
18176
|
* @example
|
|
18121
18177
|
* 1
|
|
@@ -18123,12 +18179,13 @@ export declare class DescribeSlowLogRecordsRequest extends $dara.Model {
|
|
|
18123
18179
|
pageNumber?: number;
|
|
18124
18180
|
/**
|
|
18125
18181
|
* @remarks
|
|
18126
|
-
*
|
|
18127
|
-
* * **30**
|
|
18128
|
-
* * **50**
|
|
18129
|
-
* * **100**
|
|
18182
|
+
* The number of entries per page. Valid values:
|
|
18130
18183
|
*
|
|
18131
|
-
*
|
|
18184
|
+
* * **30**
|
|
18185
|
+
* * **50**
|
|
18186
|
+
* * **100**
|
|
18187
|
+
*
|
|
18188
|
+
* Default value: **30**.
|
|
18132
18189
|
*
|
|
18133
18190
|
* @example
|
|
18134
18191
|
* 30
|
|
@@ -18295,7 +18352,7 @@ export declare class DescribeSlowLogsRequest extends $dara.Model {
|
|
|
18295
18352
|
ownerId?: number;
|
|
18296
18353
|
/**
|
|
18297
18354
|
* @remarks
|
|
18298
|
-
* The
|
|
18355
|
+
* The page number. Pages start from 1.
|
|
18299
18356
|
*
|
|
18300
18357
|
* Default value: 1.
|
|
18301
18358
|
*
|
|
@@ -18477,7 +18534,7 @@ export declare class DescribeTasksRequest extends $dara.Model {
|
|
|
18477
18534
|
ownerId?: number;
|
|
18478
18535
|
/**
|
|
18479
18536
|
* @remarks
|
|
18480
|
-
* The page number
|
|
18537
|
+
* The page number. Pages start from page 1.
|
|
18481
18538
|
*
|
|
18482
18539
|
* Default value: **1**.
|
|
18483
18540
|
*
|
|
@@ -18487,7 +18544,7 @@ export declare class DescribeTasksRequest extends $dara.Model {
|
|
|
18487
18544
|
pageNumber?: number;
|
|
18488
18545
|
/**
|
|
18489
18546
|
* @remarks
|
|
18490
|
-
* The number of entries
|
|
18547
|
+
* The number of entries per page. Valid values: **30**, **50**, and **100**.
|
|
18491
18548
|
*
|
|
18492
18549
|
* Default value: **30**.
|
|
18493
18550
|
*
|
|
@@ -18746,7 +18803,7 @@ export declare class DescribeVSwitchesRequest extends $dara.Model {
|
|
|
18746
18803
|
pageNumber?: number;
|
|
18747
18804
|
/**
|
|
18748
18805
|
* @remarks
|
|
18749
|
-
* The number of entries to return
|
|
18806
|
+
* The number of entries to return on each page. Maximum value: 50. The default value is 50.
|
|
18750
18807
|
*
|
|
18751
18808
|
* @example
|
|
18752
18809
|
* 50
|
|
@@ -18754,7 +18811,7 @@ export declare class DescribeVSwitchesRequest extends $dara.Model {
|
|
|
18754
18811
|
pageSize?: number;
|
|
18755
18812
|
/**
|
|
18756
18813
|
* @remarks
|
|
18757
|
-
* The ID of the region where the vSwitch
|
|
18814
|
+
* The ID of the region where the vSwitch is deployed.
|
|
18758
18815
|
*
|
|
18759
18816
|
* @example
|
|
18760
18817
|
* cn-hangzhou
|
|
@@ -18835,7 +18892,7 @@ export declare class DescribeVSwitchesResponseBody extends $dara.Model {
|
|
|
18835
18892
|
totalCount?: number;
|
|
18836
18893
|
/**
|
|
18837
18894
|
* @remarks
|
|
18838
|
-
* The
|
|
18895
|
+
* The vSwitches.
|
|
18839
18896
|
*/
|
|
18840
18897
|
vSwitchs?: DescribeVSwitchesResponseBodyVSwitchs[];
|
|
18841
18898
|
static names(): {
|
|
@@ -21307,11 +21364,6 @@ export declare class ModifyDBClusterEndpointRequest extends $dara.Model {
|
|
|
21307
21364
|
* * **ON**
|
|
21308
21365
|
* * **OFF**
|
|
21309
21366
|
*
|
|
21310
|
-
* Valid values:
|
|
21311
|
-
*
|
|
21312
|
-
* * on
|
|
21313
|
-
* * off
|
|
21314
|
-
*
|
|
21315
21367
|
* @example
|
|
21316
21368
|
* on
|
|
21317
21369
|
*/
|
|
@@ -21850,7 +21902,7 @@ export declare class ModifyDBClusterPrimaryZoneRequest extends $dara.Model {
|
|
|
21850
21902
|
zoneId?: string;
|
|
21851
21903
|
/**
|
|
21852
21904
|
* @remarks
|
|
21853
|
-
* The type
|
|
21905
|
+
* The zone type. Valid values:
|
|
21854
21906
|
*
|
|
21855
21907
|
* * **Primary**: primary zone
|
|
21856
21908
|
* * **Standby**: secondary zone
|
|
@@ -22254,7 +22306,6 @@ export declare class ModifyDBClusterServerlessConfRequest extends $dara.Model {
|
|
|
22254
22306
|
*
|
|
22255
22307
|
* @example
|
|
22256
22308
|
* normal
|
|
22257
|
-
* flexible
|
|
22258
22309
|
*/
|
|
22259
22310
|
serverlessRuleMode?: string;
|
|
22260
22311
|
/**
|
|
@@ -22323,6 +22374,14 @@ export declare class ModifyDBClusterServerlessConfResponse extends $dara.Model {
|
|
|
22323
22374
|
}
|
|
22324
22375
|
export declare class ModifyDBClusterStoragePerformanceRequest extends $dara.Model {
|
|
22325
22376
|
/**
|
|
22377
|
+
* @remarks
|
|
22378
|
+
* Specifies whether to enable the I/O Burst feature for the ESSD AutoPL disk. Valid value:
|
|
22379
|
+
*
|
|
22380
|
+
* * **true**
|
|
22381
|
+
* * **false** (default)
|
|
22382
|
+
*
|
|
22383
|
+
* > This parameter is available only when the StorageType parameter is set to ESSDAUTOPL.
|
|
22384
|
+
*
|
|
22326
22385
|
* @example
|
|
22327
22386
|
* false
|
|
22328
22387
|
*/
|
|
@@ -26924,7 +26983,7 @@ export default class Client extends OpenApi {
|
|
|
26924
26983
|
*
|
|
26925
26984
|
* @remarks
|
|
26926
26985
|
* 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
|
-
* >
|
|
26986
|
+
* > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
|
|
26928
26987
|
*
|
|
26929
26988
|
* @param request - DescribeDetachedBackupsRequest
|
|
26930
26989
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26936,7 +26995,7 @@ export default class Client extends OpenApi {
|
|
|
26936
26995
|
*
|
|
26937
26996
|
* @remarks
|
|
26938
26997
|
* 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
|
-
* >
|
|
26998
|
+
* > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
|
|
26940
26999
|
*
|
|
26941
27000
|
* @param request - DescribeDetachedBackupsRequest
|
|
26942
27001
|
* @returns DescribeDetachedBackupsResponse
|
|
@@ -27154,7 +27213,7 @@ export default class Client extends OpenApi {
|
|
|
27154
27213
|
*/
|
|
27155
27214
|
describePendingMaintenanceAction(request: DescribePendingMaintenanceActionRequest): Promise<DescribePendingMaintenanceActionResponse>;
|
|
27156
27215
|
/**
|
|
27157
|
-
* Queries the numbers of
|
|
27216
|
+
* Queries the numbers of scheduled events for different types of tasks.
|
|
27158
27217
|
*
|
|
27159
27218
|
* @param request - DescribePendingMaintenanceActionsRequest
|
|
27160
27219
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27162,7 +27221,7 @@ export default class Client extends OpenApi {
|
|
|
27162
27221
|
*/
|
|
27163
27222
|
describePendingMaintenanceActionsWithOptions(request: DescribePendingMaintenanceActionsRequest, runtime: $dara.RuntimeOptions): Promise<DescribePendingMaintenanceActionsResponse>;
|
|
27164
27223
|
/**
|
|
27165
|
-
* Queries the numbers of
|
|
27224
|
+
* Queries the numbers of scheduled events for different types of tasks.
|
|
27166
27225
|
*
|
|
27167
27226
|
* @param request - DescribePendingMaintenanceActionsRequest
|
|
27168
27227
|
* @returns DescribePendingMaintenanceActionsResponse
|