@alicloud/polardb20170801 5.1.2 → 5.1.4
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 +13 -4
- package/dist/client.js +31 -4
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +43 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/polardb20170801",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.8",
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.10",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -3992,6 +3992,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
3992
3992
|
isProxyLatestVersion?: boolean;
|
|
3993
3993
|
lockMode?: string;
|
|
3994
3994
|
maintainTime?: string;
|
|
3995
|
+
orca?: string;
|
|
3995
3996
|
payType?: string;
|
|
3996
3997
|
provisionedIops?: string;
|
|
3997
3998
|
proxyCpuCores?: string;
|
|
@@ -4002,8 +4003,11 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
4002
4003
|
regionId?: string;
|
|
4003
4004
|
requestId?: string;
|
|
4004
4005
|
resourceGroupId?: string;
|
|
4006
|
+
restoreDataPoint?: string;
|
|
4007
|
+
restoreType?: string;
|
|
4005
4008
|
SQLSize?: number;
|
|
4006
4009
|
serverlessType?: string;
|
|
4010
|
+
sourceDBCluster?: string;
|
|
4007
4011
|
standbyHAMode?: string;
|
|
4008
4012
|
storageMax?: number;
|
|
4009
4013
|
storagePayType?: string;
|
|
@@ -4050,6 +4054,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
4050
4054
|
isProxyLatestVersion: 'IsProxyLatestVersion',
|
|
4051
4055
|
lockMode: 'LockMode',
|
|
4052
4056
|
maintainTime: 'MaintainTime',
|
|
4057
|
+
orca: 'Orca',
|
|
4053
4058
|
payType: 'PayType',
|
|
4054
4059
|
provisionedIops: 'ProvisionedIops',
|
|
4055
4060
|
proxyCpuCores: 'ProxyCpuCores',
|
|
@@ -4060,8 +4065,11 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
4060
4065
|
regionId: 'RegionId',
|
|
4061
4066
|
requestId: 'RequestId',
|
|
4062
4067
|
resourceGroupId: 'ResourceGroupId',
|
|
4068
|
+
restoreDataPoint: 'RestoreDataPoint',
|
|
4069
|
+
restoreType: 'RestoreType',
|
|
4063
4070
|
SQLSize: 'SQLSize',
|
|
4064
4071
|
serverlessType: 'ServerlessType',
|
|
4072
|
+
sourceDBCluster: 'SourceDBCluster',
|
|
4065
4073
|
standbyHAMode: 'StandbyHAMode',
|
|
4066
4074
|
storageMax: 'StorageMax',
|
|
4067
4075
|
storagePayType: 'StoragePayType',
|
|
@@ -4111,6 +4119,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
4111
4119
|
isProxyLatestVersion: 'boolean',
|
|
4112
4120
|
lockMode: 'string',
|
|
4113
4121
|
maintainTime: 'string',
|
|
4122
|
+
orca: 'string',
|
|
4114
4123
|
payType: 'string',
|
|
4115
4124
|
provisionedIops: 'string',
|
|
4116
4125
|
proxyCpuCores: 'string',
|
|
@@ -4121,8 +4130,11 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
4121
4130
|
regionId: 'string',
|
|
4122
4131
|
requestId: 'string',
|
|
4123
4132
|
resourceGroupId: 'string',
|
|
4133
|
+
restoreDataPoint: 'string',
|
|
4134
|
+
restoreType: 'string',
|
|
4124
4135
|
SQLSize: 'number',
|
|
4125
4136
|
serverlessType: 'string',
|
|
4137
|
+
sourceDBCluster: 'string',
|
|
4126
4138
|
standbyHAMode: 'string',
|
|
4127
4139
|
storageMax: 'number',
|
|
4128
4140
|
storagePayType: 'string',
|
|
@@ -7704,6 +7716,7 @@ export class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
7704
7716
|
DBClusterId?: string;
|
|
7705
7717
|
DBName?: string;
|
|
7706
7718
|
endTime?: string;
|
|
7719
|
+
nodeId?: string;
|
|
7707
7720
|
ownerAccount?: string;
|
|
7708
7721
|
ownerId?: number;
|
|
7709
7722
|
pageNumber?: number;
|
|
@@ -7718,6 +7731,7 @@ export class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
7718
7731
|
DBClusterId: 'DBClusterId',
|
|
7719
7732
|
DBName: 'DBName',
|
|
7720
7733
|
endTime: 'EndTime',
|
|
7734
|
+
nodeId: 'NodeId',
|
|
7721
7735
|
ownerAccount: 'OwnerAccount',
|
|
7722
7736
|
ownerId: 'OwnerId',
|
|
7723
7737
|
pageNumber: 'PageNumber',
|
|
@@ -7735,6 +7749,7 @@ export class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
7735
7749
|
DBClusterId: 'string',
|
|
7736
7750
|
DBName: 'string',
|
|
7737
7751
|
endTime: 'string',
|
|
7752
|
+
nodeId: 'string',
|
|
7738
7753
|
ownerAccount: 'string',
|
|
7739
7754
|
ownerId: 'number',
|
|
7740
7755
|
pageNumber: 'number',
|
|
@@ -9320,7 +9335,9 @@ export class ModifyBackupPolicyResponse extends $tea.Model {
|
|
|
9320
9335
|
export class ModifyDBClusterRequest extends $tea.Model {
|
|
9321
9336
|
compressStorage?: string;
|
|
9322
9337
|
DBClusterId?: string;
|
|
9338
|
+
DBNodeCrashList?: string;
|
|
9323
9339
|
dataSyncMode?: string;
|
|
9340
|
+
faultInjectionType?: string;
|
|
9324
9341
|
faultSimulateMode?: string;
|
|
9325
9342
|
ownerAccount?: string;
|
|
9326
9343
|
ownerId?: number;
|
|
@@ -9333,7 +9350,9 @@ export class ModifyDBClusterRequest extends $tea.Model {
|
|
|
9333
9350
|
return {
|
|
9334
9351
|
compressStorage: 'CompressStorage',
|
|
9335
9352
|
DBClusterId: 'DBClusterId',
|
|
9353
|
+
DBNodeCrashList: 'DBNodeCrashList',
|
|
9336
9354
|
dataSyncMode: 'DataSyncMode',
|
|
9355
|
+
faultInjectionType: 'FaultInjectionType',
|
|
9337
9356
|
faultSimulateMode: 'FaultSimulateMode',
|
|
9338
9357
|
ownerAccount: 'OwnerAccount',
|
|
9339
9358
|
ownerId: 'OwnerId',
|
|
@@ -9349,7 +9368,9 @@ export class ModifyDBClusterRequest extends $tea.Model {
|
|
|
9349
9368
|
return {
|
|
9350
9369
|
compressStorage: 'string',
|
|
9351
9370
|
DBClusterId: 'string',
|
|
9371
|
+
DBNodeCrashList: 'string',
|
|
9352
9372
|
dataSyncMode: 'string',
|
|
9373
|
+
faultInjectionType: 'string',
|
|
9353
9374
|
faultSimulateMode: 'string',
|
|
9354
9375
|
ownerAccount: 'string',
|
|
9355
9376
|
ownerId: 'number',
|
|
@@ -13938,6 +13959,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
13938
13959
|
maxConnections?: number;
|
|
13939
13960
|
maxIOPS?: number;
|
|
13940
13961
|
memorySize?: string;
|
|
13962
|
+
orca?: string;
|
|
13941
13963
|
remoteMemorySize?: string;
|
|
13942
13964
|
sccMode?: string;
|
|
13943
13965
|
serverWeight?: string;
|
|
@@ -13960,6 +13982,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
13960
13982
|
maxConnections: 'MaxConnections',
|
|
13961
13983
|
maxIOPS: 'MaxIOPS',
|
|
13962
13984
|
memorySize: 'MemorySize',
|
|
13985
|
+
orca: 'Orca',
|
|
13963
13986
|
remoteMemorySize: 'RemoteMemorySize',
|
|
13964
13987
|
sccMode: 'SccMode',
|
|
13965
13988
|
serverWeight: 'ServerWeight',
|
|
@@ -13985,6 +14008,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
13985
14008
|
maxConnections: 'number',
|
|
13986
14009
|
maxIOPS: 'number',
|
|
13987
14010
|
memorySize: 'string',
|
|
14011
|
+
orca: 'string',
|
|
13988
14012
|
remoteMemorySize: 'string',
|
|
13989
14013
|
sccMode: 'string',
|
|
13990
14014
|
serverWeight: 'string',
|
|
@@ -14772,6 +14796,7 @@ export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
14772
14796
|
serverlessType?: string;
|
|
14773
14797
|
storagePayType?: string;
|
|
14774
14798
|
storageSpace?: number;
|
|
14799
|
+
storageType?: string;
|
|
14775
14800
|
storageUsed?: number;
|
|
14776
14801
|
strictConsistency?: string;
|
|
14777
14802
|
subCategory?: string;
|
|
@@ -14807,6 +14832,7 @@ export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
14807
14832
|
serverlessType: 'ServerlessType',
|
|
14808
14833
|
storagePayType: 'StoragePayType',
|
|
14809
14834
|
storageSpace: 'StorageSpace',
|
|
14835
|
+
storageType: 'StorageType',
|
|
14810
14836
|
storageUsed: 'StorageUsed',
|
|
14811
14837
|
strictConsistency: 'StrictConsistency',
|
|
14812
14838
|
subCategory: 'SubCategory',
|
|
@@ -14845,6 +14871,7 @@ export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
14845
14871
|
serverlessType: 'string',
|
|
14846
14872
|
storagePayType: 'string',
|
|
14847
14873
|
storageSpace: 'number',
|
|
14874
|
+
storageType: 'string',
|
|
14848
14875
|
storageUsed: 'number',
|
|
14849
14876
|
strictConsistency: 'string',
|
|
14850
14877
|
subCategory: 'string',
|
|
@@ -22649,6 +22676,10 @@ export default class Client extends OpenApi {
|
|
|
22649
22676
|
query["EndTime"] = request.endTime;
|
|
22650
22677
|
}
|
|
22651
22678
|
|
|
22679
|
+
if (!Util.isUnset(request.nodeId)) {
|
|
22680
|
+
query["NodeId"] = request.nodeId;
|
|
22681
|
+
}
|
|
22682
|
+
|
|
22652
22683
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
22653
22684
|
query["OwnerAccount"] = request.ownerAccount;
|
|
22654
22685
|
}
|
|
@@ -23971,10 +24002,18 @@ export default class Client extends OpenApi {
|
|
|
23971
24002
|
query["DBClusterId"] = request.DBClusterId;
|
|
23972
24003
|
}
|
|
23973
24004
|
|
|
24005
|
+
if (!Util.isUnset(request.DBNodeCrashList)) {
|
|
24006
|
+
query["DBNodeCrashList"] = request.DBNodeCrashList;
|
|
24007
|
+
}
|
|
24008
|
+
|
|
23974
24009
|
if (!Util.isUnset(request.dataSyncMode)) {
|
|
23975
24010
|
query["DataSyncMode"] = request.dataSyncMode;
|
|
23976
24011
|
}
|
|
23977
24012
|
|
|
24013
|
+
if (!Util.isUnset(request.faultInjectionType)) {
|
|
24014
|
+
query["FaultInjectionType"] = request.faultInjectionType;
|
|
24015
|
+
}
|
|
24016
|
+
|
|
23978
24017
|
if (!Util.isUnset(request.faultSimulateMode)) {
|
|
23979
24018
|
query["FaultSimulateMode"] = request.faultSimulateMode;
|
|
23980
24019
|
}
|
|
@@ -24792,7 +24831,7 @@ export default class Client extends OpenApi {
|
|
|
24792
24831
|
}
|
|
24793
24832
|
|
|
24794
24833
|
/**
|
|
24795
|
-
* @summary
|
|
24834
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
24796
24835
|
*
|
|
24797
24836
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
24798
24837
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24871,7 +24910,7 @@ export default class Client extends OpenApi {
|
|
|
24871
24910
|
}
|
|
24872
24911
|
|
|
24873
24912
|
/**
|
|
24874
|
-
* @summary
|
|
24913
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
24875
24914
|
*
|
|
24876
24915
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
24877
24916
|
* @return ModifyDBClusterPrimaryZoneResponse
|
|
@@ -26604,7 +26643,7 @@ export default class Client extends OpenApi {
|
|
|
26604
26643
|
}
|
|
26605
26644
|
|
|
26606
26645
|
/**
|
|
26607
|
-
* @summary
|
|
26646
|
+
* @summary Restarts database links.
|
|
26608
26647
|
*
|
|
26609
26648
|
* @param request RestartDBLinkRequest
|
|
26610
26649
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26655,7 +26694,7 @@ export default class Client extends OpenApi {
|
|
|
26655
26694
|
}
|
|
26656
26695
|
|
|
26657
26696
|
/**
|
|
26658
|
-
* @summary
|
|
26697
|
+
* @summary Restarts database links.
|
|
26659
26698
|
*
|
|
26660
26699
|
* @param request RestartDBLinkRequest
|
|
26661
26700
|
* @return RestartDBLinkResponse
|