@alicloud/polardb20170801 5.1.8 → 5.1.10
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 +77 -3
- package/dist/client.js +9 -2
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +85 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/polardb20170801",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
|
-
"@alicloud/tea-util": "^1.4.
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
23
|
+
"@alicloud/tea-util": "^1.4.9",
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.11",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -6835,6 +6835,10 @@ export class DescribeDBClusterAttributeRequest extends $tea.Model {
|
|
|
6835
6835
|
}
|
|
6836
6836
|
|
|
6837
6837
|
export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
6838
|
+
/**
|
|
6839
|
+
* @example
|
|
6840
|
+
* 2024-03-13T01:20:28Z
|
|
6841
|
+
*/
|
|
6838
6842
|
aiCreatingTime?: string;
|
|
6839
6843
|
/**
|
|
6840
6844
|
* @remarks
|
|
@@ -6847,6 +6851,10 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
6847
6851
|
* DLNode
|
|
6848
6852
|
*/
|
|
6849
6853
|
aiType?: string;
|
|
6854
|
+
/**
|
|
6855
|
+
* @example
|
|
6856
|
+
* X86
|
|
6857
|
+
*/
|
|
6850
6858
|
architecture?: string;
|
|
6851
6859
|
/**
|
|
6852
6860
|
* @remarks
|
|
@@ -6882,7 +6890,15 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
6882
6890
|
* Normal
|
|
6883
6891
|
*/
|
|
6884
6892
|
category?: string;
|
|
6893
|
+
/**
|
|
6894
|
+
* @example
|
|
6895
|
+
* ON
|
|
6896
|
+
*/
|
|
6885
6897
|
compressStorageMode?: string;
|
|
6898
|
+
/**
|
|
6899
|
+
* @example
|
|
6900
|
+
* 15529410560
|
|
6901
|
+
*/
|
|
6886
6902
|
compressStorageUsed?: number;
|
|
6887
6903
|
/**
|
|
6888
6904
|
* @remarks
|
|
@@ -6926,7 +6942,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
6926
6942
|
DBClusterStatus?: string;
|
|
6927
6943
|
/**
|
|
6928
6944
|
* @remarks
|
|
6929
|
-
* The
|
|
6945
|
+
* The information about the nodes.
|
|
6930
6946
|
*/
|
|
6931
6947
|
DBNodes?: DescribeDBClusterAttributeResponseBodyDBNodes[];
|
|
6932
6948
|
/**
|
|
@@ -7022,6 +7038,10 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
7022
7038
|
* false
|
|
7023
7039
|
*/
|
|
7024
7040
|
hasCompleteStandbyRes?: boolean;
|
|
7041
|
+
/**
|
|
7042
|
+
* @example
|
|
7043
|
+
* StandbyClusterON
|
|
7044
|
+
*/
|
|
7025
7045
|
hotStandbyCluster?: string;
|
|
7026
7046
|
/**
|
|
7027
7047
|
* @remarks
|
|
@@ -7081,6 +7101,10 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
7081
7101
|
* 18:00Z-19:00Z
|
|
7082
7102
|
*/
|
|
7083
7103
|
maintainTime?: string;
|
|
7104
|
+
/**
|
|
7105
|
+
* @example
|
|
7106
|
+
* ON
|
|
7107
|
+
*/
|
|
7084
7108
|
orca?: string;
|
|
7085
7109
|
/**
|
|
7086
7110
|
* @remarks
|
|
@@ -7093,6 +7117,10 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
7093
7117
|
* Prepaid
|
|
7094
7118
|
*/
|
|
7095
7119
|
payType?: string;
|
|
7120
|
+
/**
|
|
7121
|
+
* @example
|
|
7122
|
+
* 2500
|
|
7123
|
+
*/
|
|
7096
7124
|
provisionedIops?: string;
|
|
7097
7125
|
/**
|
|
7098
7126
|
* @remarks
|
|
@@ -7173,7 +7201,15 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
7173
7201
|
* rg-***************
|
|
7174
7202
|
*/
|
|
7175
7203
|
resourceGroupId?: string;
|
|
7204
|
+
/**
|
|
7205
|
+
* @example
|
|
7206
|
+
* 2179639137
|
|
7207
|
+
*/
|
|
7176
7208
|
restoreDataPoint?: string;
|
|
7209
|
+
/**
|
|
7210
|
+
* @example
|
|
7211
|
+
* RestoreByTime
|
|
7212
|
+
*/
|
|
7177
7213
|
restoreType?: string;
|
|
7178
7214
|
/**
|
|
7179
7215
|
* @remarks
|
|
@@ -7191,7 +7227,12 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
7191
7227
|
* AgileServerless
|
|
7192
7228
|
*/
|
|
7193
7229
|
serverlessType?: string;
|
|
7230
|
+
/**
|
|
7231
|
+
* @example
|
|
7232
|
+
* pc-pz51ziv48317b2880
|
|
7233
|
+
*/
|
|
7194
7234
|
sourceDBCluster?: string;
|
|
7235
|
+
sourceRegionId?: string;
|
|
7195
7236
|
/**
|
|
7196
7237
|
* @remarks
|
|
7197
7238
|
* Indicates whether the cross-zone disaster recovery feature is enabled. Valid values: ON OFF 0: Customer Drill Mode
|
|
@@ -7346,6 +7387,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
7346
7387
|
SQLSize: 'SQLSize',
|
|
7347
7388
|
serverlessType: 'ServerlessType',
|
|
7348
7389
|
sourceDBCluster: 'SourceDBCluster',
|
|
7390
|
+
sourceRegionId: 'SourceRegionId',
|
|
7349
7391
|
standbyHAMode: 'StandbyHAMode',
|
|
7350
7392
|
storageMax: 'StorageMax',
|
|
7351
7393
|
storagePayType: 'StoragePayType',
|
|
@@ -7411,6 +7453,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
7411
7453
|
SQLSize: 'number',
|
|
7412
7454
|
serverlessType: 'string',
|
|
7413
7455
|
sourceDBCluster: 'string',
|
|
7456
|
+
sourceRegionId: 'string',
|
|
7414
7457
|
standbyHAMode: 'string',
|
|
7415
7458
|
storageMax: 'number',
|
|
7416
7459
|
storagePayType: 'string',
|
|
@@ -10767,6 +10810,10 @@ export class DescribeDBProxyPerformanceResponse extends $tea.Model {
|
|
|
10767
10810
|
export class DescribeDasConfigRequest extends $tea.Model {
|
|
10768
10811
|
/**
|
|
10769
10812
|
* @remarks
|
|
10813
|
+
* The cluster ID.
|
|
10814
|
+
*
|
|
10815
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the details of the clusters that belong to your Alibaba Cloud account, such as cluster IDs.
|
|
10816
|
+
*
|
|
10770
10817
|
* This parameter is required.
|
|
10771
10818
|
*
|
|
10772
10819
|
* @example
|
|
@@ -10812,11 +10859,19 @@ export class DescribeDasConfigResponseBody extends $tea.Model {
|
|
|
10812
10859
|
*/
|
|
10813
10860
|
requestId?: string;
|
|
10814
10861
|
/**
|
|
10862
|
+
* @remarks
|
|
10863
|
+
* Indicates whether the automatic storage expansion feature is enabled for the standard cluster.
|
|
10864
|
+
*
|
|
10815
10865
|
* @example
|
|
10816
10866
|
* Enable
|
|
10817
10867
|
*/
|
|
10818
10868
|
storageAutoScale?: string;
|
|
10819
10869
|
/**
|
|
10870
|
+
* @remarks
|
|
10871
|
+
* The maximum storage capacity of the standard cluster that is scaled up. Unit: GB.
|
|
10872
|
+
*
|
|
10873
|
+
* > This parameter is returned when the StorageAutoScale parameter is set to Enable.
|
|
10874
|
+
*
|
|
10820
10875
|
* @example
|
|
10821
10876
|
* 800
|
|
10822
10877
|
*/
|
|
@@ -15388,6 +15443,7 @@ export class FailoverDBClusterRequest extends $tea.Model {
|
|
|
15388
15443
|
* pi-***********
|
|
15389
15444
|
*/
|
|
15390
15445
|
targetDBNodeId?: string;
|
|
15446
|
+
targetZoneType?: string;
|
|
15391
15447
|
static names(): { [key: string]: string } {
|
|
15392
15448
|
return {
|
|
15393
15449
|
clientToken: 'ClientToken',
|
|
@@ -15398,6 +15454,7 @@ export class FailoverDBClusterRequest extends $tea.Model {
|
|
|
15398
15454
|
resourceOwnerId: 'ResourceOwnerId',
|
|
15399
15455
|
rollBackForDisaster: 'RollBackForDisaster',
|
|
15400
15456
|
targetDBNodeId: 'TargetDBNodeId',
|
|
15457
|
+
targetZoneType: 'TargetZoneType',
|
|
15401
15458
|
};
|
|
15402
15459
|
}
|
|
15403
15460
|
|
|
@@ -15411,6 +15468,7 @@ export class FailoverDBClusterRequest extends $tea.Model {
|
|
|
15411
15468
|
resourceOwnerId: 'number',
|
|
15412
15469
|
rollBackForDisaster: 'boolean',
|
|
15413
15470
|
targetDBNodeId: 'string',
|
|
15471
|
+
targetZoneType: 'string',
|
|
15414
15472
|
};
|
|
15415
15473
|
}
|
|
15416
15474
|
|
|
@@ -24479,6 +24537,10 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
24479
24537
|
* 6
|
|
24480
24538
|
*/
|
|
24481
24539
|
addedCpuCores?: string;
|
|
24540
|
+
/**
|
|
24541
|
+
* @example
|
|
24542
|
+
* 2
|
|
24543
|
+
*/
|
|
24482
24544
|
cpuCores?: string;
|
|
24483
24545
|
/**
|
|
24484
24546
|
* @remarks
|
|
@@ -24591,9 +24653,21 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
24591
24653
|
* 32000
|
|
24592
24654
|
*/
|
|
24593
24655
|
maxIOPS?: number;
|
|
24656
|
+
/**
|
|
24657
|
+
* @example
|
|
24658
|
+
* 8192
|
|
24659
|
+
*/
|
|
24594
24660
|
memorySize?: string;
|
|
24595
24661
|
mirrorInsName?: string;
|
|
24662
|
+
/**
|
|
24663
|
+
* @example
|
|
24664
|
+
* off
|
|
24665
|
+
*/
|
|
24596
24666
|
orca?: string;
|
|
24667
|
+
/**
|
|
24668
|
+
* @example
|
|
24669
|
+
* 3072
|
|
24670
|
+
*/
|
|
24597
24671
|
remoteMemorySize?: string;
|
|
24598
24672
|
/**
|
|
24599
24673
|
* @remarks
|
|
@@ -24626,6 +24700,10 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
24626
24700
|
* AgileServerless
|
|
24627
24701
|
*/
|
|
24628
24702
|
serverlessType?: string;
|
|
24703
|
+
/**
|
|
24704
|
+
* @example
|
|
24705
|
+
* Primary
|
|
24706
|
+
*/
|
|
24629
24707
|
subCluster?: string;
|
|
24630
24708
|
/**
|
|
24631
24709
|
* @remarks
|
|
@@ -35305,7 +35383,7 @@ export default class Client extends OpenApi {
|
|
|
35305
35383
|
}
|
|
35306
35384
|
|
|
35307
35385
|
/**
|
|
35308
|
-
*
|
|
35386
|
+
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
35309
35387
|
*
|
|
35310
35388
|
* @param request - DescribeDasConfigRequest
|
|
35311
35389
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -35352,7 +35430,7 @@ export default class Client extends OpenApi {
|
|
|
35352
35430
|
}
|
|
35353
35431
|
|
|
35354
35432
|
/**
|
|
35355
|
-
*
|
|
35433
|
+
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
35356
35434
|
*
|
|
35357
35435
|
* @param request - DescribeDasConfigRequest
|
|
35358
35436
|
* @returns DescribeDasConfigResponse
|
|
@@ -37344,6 +37422,10 @@ export default class Client extends OpenApi {
|
|
|
37344
37422
|
query["TargetDBNodeId"] = request.targetDBNodeId;
|
|
37345
37423
|
}
|
|
37346
37424
|
|
|
37425
|
+
if (!Util.isUnset(request.targetZoneType)) {
|
|
37426
|
+
query["TargetZoneType"] = request.targetZoneType;
|
|
37427
|
+
}
|
|
37428
|
+
|
|
37347
37429
|
let req = new $OpenApi.OpenApiRequest({
|
|
37348
37430
|
query: OpenApiUtil.query(query),
|
|
37349
37431
|
});
|