@alicloud/polardb20170801 5.1.1 → 5.1.3
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 +24 -0
- package/dist/client.js +51 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +67 -0
package/package.json
CHANGED
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',
|
|
@@ -5235,6 +5247,7 @@ export class DescribeDBClusterVersionResponseBody extends $tea.Model {
|
|
|
5235
5247
|
isProxyLatestVersion?: string;
|
|
5236
5248
|
proxyLatestVersion?: string;
|
|
5237
5249
|
proxyRevisionVersion?: string;
|
|
5250
|
+
proxyRevisionVersionList?: DescribeDBClusterVersionResponseBodyProxyRevisionVersionList[];
|
|
5238
5251
|
proxyVersionStatus?: string;
|
|
5239
5252
|
requestId?: string;
|
|
5240
5253
|
static names(): { [key: string]: string } {
|
|
@@ -5250,6 +5263,7 @@ export class DescribeDBClusterVersionResponseBody extends $tea.Model {
|
|
|
5250
5263
|
isProxyLatestVersion: 'IsProxyLatestVersion',
|
|
5251
5264
|
proxyLatestVersion: 'ProxyLatestVersion',
|
|
5252
5265
|
proxyRevisionVersion: 'ProxyRevisionVersion',
|
|
5266
|
+
proxyRevisionVersionList: 'ProxyRevisionVersionList',
|
|
5253
5267
|
proxyVersionStatus: 'ProxyVersionStatus',
|
|
5254
5268
|
requestId: 'RequestId',
|
|
5255
5269
|
};
|
|
@@ -5268,6 +5282,7 @@ export class DescribeDBClusterVersionResponseBody extends $tea.Model {
|
|
|
5268
5282
|
isProxyLatestVersion: 'string',
|
|
5269
5283
|
proxyLatestVersion: 'string',
|
|
5270
5284
|
proxyRevisionVersion: 'string',
|
|
5285
|
+
proxyRevisionVersionList: { 'type': 'array', 'itemType': DescribeDBClusterVersionResponseBodyProxyRevisionVersionList },
|
|
5271
5286
|
proxyVersionStatus: 'string',
|
|
5272
5287
|
requestId: 'string',
|
|
5273
5288
|
};
|
|
@@ -9317,7 +9332,9 @@ export class ModifyBackupPolicyResponse extends $tea.Model {
|
|
|
9317
9332
|
export class ModifyDBClusterRequest extends $tea.Model {
|
|
9318
9333
|
compressStorage?: string;
|
|
9319
9334
|
DBClusterId?: string;
|
|
9335
|
+
DBNodeCrashList?: string;
|
|
9320
9336
|
dataSyncMode?: string;
|
|
9337
|
+
faultInjectionType?: string;
|
|
9321
9338
|
faultSimulateMode?: string;
|
|
9322
9339
|
ownerAccount?: string;
|
|
9323
9340
|
ownerId?: number;
|
|
@@ -9330,7 +9347,9 @@ export class ModifyDBClusterRequest extends $tea.Model {
|
|
|
9330
9347
|
return {
|
|
9331
9348
|
compressStorage: 'CompressStorage',
|
|
9332
9349
|
DBClusterId: 'DBClusterId',
|
|
9350
|
+
DBNodeCrashList: 'DBNodeCrashList',
|
|
9333
9351
|
dataSyncMode: 'DataSyncMode',
|
|
9352
|
+
faultInjectionType: 'FaultInjectionType',
|
|
9334
9353
|
faultSimulateMode: 'FaultSimulateMode',
|
|
9335
9354
|
ownerAccount: 'OwnerAccount',
|
|
9336
9355
|
ownerId: 'OwnerId',
|
|
@@ -9346,7 +9365,9 @@ export class ModifyDBClusterRequest extends $tea.Model {
|
|
|
9346
9365
|
return {
|
|
9347
9366
|
compressStorage: 'string',
|
|
9348
9367
|
DBClusterId: 'string',
|
|
9368
|
+
DBNodeCrashList: 'string',
|
|
9349
9369
|
dataSyncMode: 'string',
|
|
9370
|
+
faultInjectionType: 'string',
|
|
9350
9371
|
faultSimulateMode: 'string',
|
|
9351
9372
|
ownerAccount: 'string',
|
|
9352
9373
|
ownerId: 'number',
|
|
@@ -13221,6 +13242,7 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
|
|
|
13221
13242
|
resourceOwnerAccount?: string;
|
|
13222
13243
|
resourceOwnerId?: number;
|
|
13223
13244
|
targetDBRevisionVersionCode?: string;
|
|
13245
|
+
targetProxyRevisionVersionCode?: string;
|
|
13224
13246
|
upgradeLabel?: string;
|
|
13225
13247
|
upgradePolicy?: string;
|
|
13226
13248
|
upgradeType?: string;
|
|
@@ -13235,6 +13257,7 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
|
|
|
13235
13257
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
13236
13258
|
resourceOwnerId: 'ResourceOwnerId',
|
|
13237
13259
|
targetDBRevisionVersionCode: 'TargetDBRevisionVersionCode',
|
|
13260
|
+
targetProxyRevisionVersionCode: 'TargetProxyRevisionVersionCode',
|
|
13238
13261
|
upgradeLabel: 'UpgradeLabel',
|
|
13239
13262
|
upgradePolicy: 'UpgradePolicy',
|
|
13240
13263
|
upgradeType: 'UpgradeType',
|
|
@@ -13252,6 +13275,7 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
|
|
|
13252
13275
|
resourceOwnerAccount: 'string',
|
|
13253
13276
|
resourceOwnerId: 'number',
|
|
13254
13277
|
targetDBRevisionVersionCode: 'string',
|
|
13278
|
+
targetProxyRevisionVersionCode: 'string',
|
|
13255
13279
|
upgradeLabel: 'string',
|
|
13256
13280
|
upgradePolicy: 'string',
|
|
13257
13281
|
upgradeType: 'string',
|
|
@@ -13932,6 +13956,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
13932
13956
|
maxConnections?: number;
|
|
13933
13957
|
maxIOPS?: number;
|
|
13934
13958
|
memorySize?: string;
|
|
13959
|
+
orca?: string;
|
|
13935
13960
|
remoteMemorySize?: string;
|
|
13936
13961
|
sccMode?: string;
|
|
13937
13962
|
serverWeight?: string;
|
|
@@ -13954,6 +13979,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
13954
13979
|
maxConnections: 'MaxConnections',
|
|
13955
13980
|
maxIOPS: 'MaxIOPS',
|
|
13956
13981
|
memorySize: 'MemorySize',
|
|
13982
|
+
orca: 'Orca',
|
|
13957
13983
|
remoteMemorySize: 'RemoteMemorySize',
|
|
13958
13984
|
sccMode: 'SccMode',
|
|
13959
13985
|
serverWeight: 'ServerWeight',
|
|
@@ -13979,6 +14005,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
13979
14005
|
maxConnections: 'number',
|
|
13980
14006
|
maxIOPS: 'number',
|
|
13981
14007
|
memorySize: 'string',
|
|
14008
|
+
orca: 'string',
|
|
13982
14009
|
remoteMemorySize: 'string',
|
|
13983
14010
|
sccMode: 'string',
|
|
13984
14011
|
serverWeight: 'string',
|
|
@@ -14589,6 +14616,34 @@ export class DescribeDBClusterVersionResponseBodyDBRevisionVersionList extends $
|
|
|
14589
14616
|
}
|
|
14590
14617
|
}
|
|
14591
14618
|
|
|
14619
|
+
export class DescribeDBClusterVersionResponseBodyProxyRevisionVersionList extends $tea.Model {
|
|
14620
|
+
releaseNote?: string;
|
|
14621
|
+
releaseType?: string;
|
|
14622
|
+
revisionVersionCode?: string;
|
|
14623
|
+
revisionVersionName?: string;
|
|
14624
|
+
static names(): { [key: string]: string } {
|
|
14625
|
+
return {
|
|
14626
|
+
releaseNote: 'ReleaseNote',
|
|
14627
|
+
releaseType: 'ReleaseType',
|
|
14628
|
+
revisionVersionCode: 'RevisionVersionCode',
|
|
14629
|
+
revisionVersionName: 'RevisionVersionName',
|
|
14630
|
+
};
|
|
14631
|
+
}
|
|
14632
|
+
|
|
14633
|
+
static types(): { [key: string]: any } {
|
|
14634
|
+
return {
|
|
14635
|
+
releaseNote: 'string',
|
|
14636
|
+
releaseType: 'string',
|
|
14637
|
+
revisionVersionCode: 'string',
|
|
14638
|
+
revisionVersionName: 'string',
|
|
14639
|
+
};
|
|
14640
|
+
}
|
|
14641
|
+
|
|
14642
|
+
constructor(map?: { [key: string]: any }) {
|
|
14643
|
+
super(map);
|
|
14644
|
+
}
|
|
14645
|
+
}
|
|
14646
|
+
|
|
14592
14647
|
export class DescribeDBClustersRequestTag extends $tea.Model {
|
|
14593
14648
|
key?: string;
|
|
14594
14649
|
value?: string;
|
|
@@ -23937,10 +23992,18 @@ export default class Client extends OpenApi {
|
|
|
23937
23992
|
query["DBClusterId"] = request.DBClusterId;
|
|
23938
23993
|
}
|
|
23939
23994
|
|
|
23995
|
+
if (!Util.isUnset(request.DBNodeCrashList)) {
|
|
23996
|
+
query["DBNodeCrashList"] = request.DBNodeCrashList;
|
|
23997
|
+
}
|
|
23998
|
+
|
|
23940
23999
|
if (!Util.isUnset(request.dataSyncMode)) {
|
|
23941
24000
|
query["DataSyncMode"] = request.dataSyncMode;
|
|
23942
24001
|
}
|
|
23943
24002
|
|
|
24003
|
+
if (!Util.isUnset(request.faultInjectionType)) {
|
|
24004
|
+
query["FaultInjectionType"] = request.faultInjectionType;
|
|
24005
|
+
}
|
|
24006
|
+
|
|
23944
24007
|
if (!Util.isUnset(request.faultSimulateMode)) {
|
|
23945
24008
|
query["FaultSimulateMode"] = request.faultSimulateMode;
|
|
23946
24009
|
}
|
|
@@ -27260,6 +27323,10 @@ export default class Client extends OpenApi {
|
|
|
27260
27323
|
query["TargetDBRevisionVersionCode"] = request.targetDBRevisionVersionCode;
|
|
27261
27324
|
}
|
|
27262
27325
|
|
|
27326
|
+
if (!Util.isUnset(request.targetProxyRevisionVersionCode)) {
|
|
27327
|
+
query["TargetProxyRevisionVersionCode"] = request.targetProxyRevisionVersionCode;
|
|
27328
|
+
}
|
|
27329
|
+
|
|
27263
27330
|
if (!Util.isUnset(request.upgradeLabel)) {
|
|
27264
27331
|
query["UpgradeLabel"] = request.upgradeLabel;
|
|
27265
27332
|
}
|