@alicloud/polardb20170801 5.1.8 → 5.1.9
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 +76 -3
- package/dist/client.js +7 -2
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +82 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/polardb20170801",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.9",
|
|
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,6 +7227,10 @@ 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;
|
|
7195
7235
|
/**
|
|
7196
7236
|
* @remarks
|
|
@@ -10767,6 +10807,10 @@ export class DescribeDBProxyPerformanceResponse extends $tea.Model {
|
|
|
10767
10807
|
export class DescribeDasConfigRequest extends $tea.Model {
|
|
10768
10808
|
/**
|
|
10769
10809
|
* @remarks
|
|
10810
|
+
* The cluster ID.
|
|
10811
|
+
*
|
|
10812
|
+
* > 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.
|
|
10813
|
+
*
|
|
10770
10814
|
* This parameter is required.
|
|
10771
10815
|
*
|
|
10772
10816
|
* @example
|
|
@@ -10812,11 +10856,19 @@ export class DescribeDasConfigResponseBody extends $tea.Model {
|
|
|
10812
10856
|
*/
|
|
10813
10857
|
requestId?: string;
|
|
10814
10858
|
/**
|
|
10859
|
+
* @remarks
|
|
10860
|
+
* Indicates whether the automatic storage expansion feature is enabled for the standard cluster.
|
|
10861
|
+
*
|
|
10815
10862
|
* @example
|
|
10816
10863
|
* Enable
|
|
10817
10864
|
*/
|
|
10818
10865
|
storageAutoScale?: string;
|
|
10819
10866
|
/**
|
|
10867
|
+
* @remarks
|
|
10868
|
+
* The maximum storage capacity of the standard cluster that is scaled up. Unit: GB.
|
|
10869
|
+
*
|
|
10870
|
+
* > This parameter is returned when the StorageAutoScale parameter is set to Enable.
|
|
10871
|
+
*
|
|
10820
10872
|
* @example
|
|
10821
10873
|
* 800
|
|
10822
10874
|
*/
|
|
@@ -15388,6 +15440,7 @@ export class FailoverDBClusterRequest extends $tea.Model {
|
|
|
15388
15440
|
* pi-***********
|
|
15389
15441
|
*/
|
|
15390
15442
|
targetDBNodeId?: string;
|
|
15443
|
+
targetZoneType?: string;
|
|
15391
15444
|
static names(): { [key: string]: string } {
|
|
15392
15445
|
return {
|
|
15393
15446
|
clientToken: 'ClientToken',
|
|
@@ -15398,6 +15451,7 @@ export class FailoverDBClusterRequest extends $tea.Model {
|
|
|
15398
15451
|
resourceOwnerId: 'ResourceOwnerId',
|
|
15399
15452
|
rollBackForDisaster: 'RollBackForDisaster',
|
|
15400
15453
|
targetDBNodeId: 'TargetDBNodeId',
|
|
15454
|
+
targetZoneType: 'TargetZoneType',
|
|
15401
15455
|
};
|
|
15402
15456
|
}
|
|
15403
15457
|
|
|
@@ -15411,6 +15465,7 @@ export class FailoverDBClusterRequest extends $tea.Model {
|
|
|
15411
15465
|
resourceOwnerId: 'number',
|
|
15412
15466
|
rollBackForDisaster: 'boolean',
|
|
15413
15467
|
targetDBNodeId: 'string',
|
|
15468
|
+
targetZoneType: 'string',
|
|
15414
15469
|
};
|
|
15415
15470
|
}
|
|
15416
15471
|
|
|
@@ -24479,6 +24534,10 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
24479
24534
|
* 6
|
|
24480
24535
|
*/
|
|
24481
24536
|
addedCpuCores?: string;
|
|
24537
|
+
/**
|
|
24538
|
+
* @example
|
|
24539
|
+
* 2
|
|
24540
|
+
*/
|
|
24482
24541
|
cpuCores?: string;
|
|
24483
24542
|
/**
|
|
24484
24543
|
* @remarks
|
|
@@ -24591,9 +24650,21 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
24591
24650
|
* 32000
|
|
24592
24651
|
*/
|
|
24593
24652
|
maxIOPS?: number;
|
|
24653
|
+
/**
|
|
24654
|
+
* @example
|
|
24655
|
+
* 8192
|
|
24656
|
+
*/
|
|
24594
24657
|
memorySize?: string;
|
|
24595
24658
|
mirrorInsName?: string;
|
|
24659
|
+
/**
|
|
24660
|
+
* @example
|
|
24661
|
+
* off
|
|
24662
|
+
*/
|
|
24596
24663
|
orca?: string;
|
|
24664
|
+
/**
|
|
24665
|
+
* @example
|
|
24666
|
+
* 3072
|
|
24667
|
+
*/
|
|
24597
24668
|
remoteMemorySize?: string;
|
|
24598
24669
|
/**
|
|
24599
24670
|
* @remarks
|
|
@@ -24626,6 +24697,10 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
24626
24697
|
* AgileServerless
|
|
24627
24698
|
*/
|
|
24628
24699
|
serverlessType?: string;
|
|
24700
|
+
/**
|
|
24701
|
+
* @example
|
|
24702
|
+
* Primary
|
|
24703
|
+
*/
|
|
24629
24704
|
subCluster?: string;
|
|
24630
24705
|
/**
|
|
24631
24706
|
* @remarks
|
|
@@ -35305,7 +35380,7 @@ export default class Client extends OpenApi {
|
|
|
35305
35380
|
}
|
|
35306
35381
|
|
|
35307
35382
|
/**
|
|
35308
|
-
*
|
|
35383
|
+
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
35309
35384
|
*
|
|
35310
35385
|
* @param request - DescribeDasConfigRequest
|
|
35311
35386
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -35352,7 +35427,7 @@ export default class Client extends OpenApi {
|
|
|
35352
35427
|
}
|
|
35353
35428
|
|
|
35354
35429
|
/**
|
|
35355
|
-
*
|
|
35430
|
+
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
35356
35431
|
*
|
|
35357
35432
|
* @param request - DescribeDasConfigRequest
|
|
35358
35433
|
* @returns DescribeDasConfigResponse
|
|
@@ -37344,6 +37419,10 @@ export default class Client extends OpenApi {
|
|
|
37344
37419
|
query["TargetDBNodeId"] = request.targetDBNodeId;
|
|
37345
37420
|
}
|
|
37346
37421
|
|
|
37422
|
+
if (!Util.isUnset(request.targetZoneType)) {
|
|
37423
|
+
query["TargetZoneType"] = request.targetZoneType;
|
|
37424
|
+
}
|
|
37425
|
+
|
|
37347
37426
|
let req = new $OpenApi.OpenApiRequest({
|
|
37348
37427
|
query: OpenApiUtil.query(query),
|
|
37349
37428
|
});
|