@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/dist/client.d.ts
CHANGED
|
@@ -2176,6 +2176,7 @@ export declare class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2176
2176
|
isProxyLatestVersion?: boolean;
|
|
2177
2177
|
lockMode?: string;
|
|
2178
2178
|
maintainTime?: string;
|
|
2179
|
+
orca?: string;
|
|
2179
2180
|
payType?: string;
|
|
2180
2181
|
provisionedIops?: string;
|
|
2181
2182
|
proxyCpuCores?: string;
|
|
@@ -2186,8 +2187,11 @@ export declare class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
2186
2187
|
regionId?: string;
|
|
2187
2188
|
requestId?: string;
|
|
2188
2189
|
resourceGroupId?: string;
|
|
2190
|
+
restoreDataPoint?: string;
|
|
2191
|
+
restoreType?: string;
|
|
2189
2192
|
SQLSize?: number;
|
|
2190
2193
|
serverlessType?: string;
|
|
2194
|
+
sourceDBCluster?: string;
|
|
2191
2195
|
standbyHAMode?: string;
|
|
2192
2196
|
storageMax?: number;
|
|
2193
2197
|
storagePayType?: string;
|
|
@@ -4111,6 +4115,7 @@ export declare class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
4111
4115
|
DBClusterId?: string;
|
|
4112
4116
|
DBName?: string;
|
|
4113
4117
|
endTime?: string;
|
|
4118
|
+
nodeId?: string;
|
|
4114
4119
|
ownerAccount?: string;
|
|
4115
4120
|
ownerId?: number;
|
|
4116
4121
|
pageNumber?: number;
|
|
@@ -4972,7 +4977,9 @@ export declare class ModifyBackupPolicyResponse extends $tea.Model {
|
|
|
4972
4977
|
export declare class ModifyDBClusterRequest extends $tea.Model {
|
|
4973
4978
|
compressStorage?: string;
|
|
4974
4979
|
DBClusterId?: string;
|
|
4980
|
+
DBNodeCrashList?: string;
|
|
4975
4981
|
dataSyncMode?: string;
|
|
4982
|
+
faultInjectionType?: string;
|
|
4976
4983
|
faultSimulateMode?: string;
|
|
4977
4984
|
ownerAccount?: string;
|
|
4978
4985
|
ownerId?: number;
|
|
@@ -7499,6 +7506,7 @@ export declare class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.
|
|
|
7499
7506
|
maxConnections?: number;
|
|
7500
7507
|
maxIOPS?: number;
|
|
7501
7508
|
memorySize?: string;
|
|
7509
|
+
orca?: string;
|
|
7502
7510
|
remoteMemorySize?: string;
|
|
7503
7511
|
sccMode?: string;
|
|
7504
7512
|
serverWeight?: string;
|
|
@@ -7938,6 +7946,7 @@ export declare class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.M
|
|
|
7938
7946
|
serverlessType?: string;
|
|
7939
7947
|
storagePayType?: string;
|
|
7940
7948
|
storageSpace?: number;
|
|
7949
|
+
storageType?: string;
|
|
7941
7950
|
storageUsed?: number;
|
|
7942
7951
|
strictConsistency?: string;
|
|
7943
7952
|
subCategory?: string;
|
|
@@ -10782,7 +10791,7 @@ export default class Client extends OpenApi {
|
|
|
10782
10791
|
*/
|
|
10783
10792
|
modifyDBClusterParameters(request: ModifyDBClusterParametersRequest): Promise<ModifyDBClusterParametersResponse>;
|
|
10784
10793
|
/**
|
|
10785
|
-
* @summary
|
|
10794
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
10786
10795
|
*
|
|
10787
10796
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
10788
10797
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -10790,7 +10799,7 @@ export default class Client extends OpenApi {
|
|
|
10790
10799
|
*/
|
|
10791
10800
|
modifyDBClusterPrimaryZoneWithOptions(request: ModifyDBClusterPrimaryZoneRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterPrimaryZoneResponse>;
|
|
10792
10801
|
/**
|
|
10793
|
-
* @summary
|
|
10802
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
10794
10803
|
*
|
|
10795
10804
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
10796
10805
|
* @return ModifyDBClusterPrimaryZoneResponse
|
|
@@ -11154,7 +11163,7 @@ export default class Client extends OpenApi {
|
|
|
11154
11163
|
*/
|
|
11155
11164
|
resetGlobalDatabaseNetwork(request: ResetGlobalDatabaseNetworkRequest): Promise<ResetGlobalDatabaseNetworkResponse>;
|
|
11156
11165
|
/**
|
|
11157
|
-
* @summary
|
|
11166
|
+
* @summary Restarts database links.
|
|
11158
11167
|
*
|
|
11159
11168
|
* @param request RestartDBLinkRequest
|
|
11160
11169
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -11162,7 +11171,7 @@ export default class Client extends OpenApi {
|
|
|
11162
11171
|
*/
|
|
11163
11172
|
restartDBLinkWithOptions(request: RestartDBLinkRequest, runtime: $Util.RuntimeOptions): Promise<RestartDBLinkResponse>;
|
|
11164
11173
|
/**
|
|
11165
|
-
* @summary
|
|
11174
|
+
* @summary Restarts database links.
|
|
11166
11175
|
*
|
|
11167
11176
|
* @param request RestartDBLinkRequest
|
|
11168
11177
|
* @return RestartDBLinkResponse
|
package/dist/client.js
CHANGED
|
@@ -3148,6 +3148,7 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
3148
3148
|
isProxyLatestVersion: 'IsProxyLatestVersion',
|
|
3149
3149
|
lockMode: 'LockMode',
|
|
3150
3150
|
maintainTime: 'MaintainTime',
|
|
3151
|
+
orca: 'Orca',
|
|
3151
3152
|
payType: 'PayType',
|
|
3152
3153
|
provisionedIops: 'ProvisionedIops',
|
|
3153
3154
|
proxyCpuCores: 'ProxyCpuCores',
|
|
@@ -3158,8 +3159,11 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
3158
3159
|
regionId: 'RegionId',
|
|
3159
3160
|
requestId: 'RequestId',
|
|
3160
3161
|
resourceGroupId: 'ResourceGroupId',
|
|
3162
|
+
restoreDataPoint: 'RestoreDataPoint',
|
|
3163
|
+
restoreType: 'RestoreType',
|
|
3161
3164
|
SQLSize: 'SQLSize',
|
|
3162
3165
|
serverlessType: 'ServerlessType',
|
|
3166
|
+
sourceDBCluster: 'SourceDBCluster',
|
|
3163
3167
|
standbyHAMode: 'StandbyHAMode',
|
|
3164
3168
|
storageMax: 'StorageMax',
|
|
3165
3169
|
storagePayType: 'StoragePayType',
|
|
@@ -3208,6 +3212,7 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
3208
3212
|
isProxyLatestVersion: 'boolean',
|
|
3209
3213
|
lockMode: 'string',
|
|
3210
3214
|
maintainTime: 'string',
|
|
3215
|
+
orca: 'string',
|
|
3211
3216
|
payType: 'string',
|
|
3212
3217
|
provisionedIops: 'string',
|
|
3213
3218
|
proxyCpuCores: 'string',
|
|
@@ -3218,8 +3223,11 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
3218
3223
|
regionId: 'string',
|
|
3219
3224
|
requestId: 'string',
|
|
3220
3225
|
resourceGroupId: 'string',
|
|
3226
|
+
restoreDataPoint: 'string',
|
|
3227
|
+
restoreType: 'string',
|
|
3221
3228
|
SQLSize: 'number',
|
|
3222
3229
|
serverlessType: 'string',
|
|
3230
|
+
sourceDBCluster: 'string',
|
|
3223
3231
|
standbyHAMode: 'string',
|
|
3224
3232
|
storageMax: 'number',
|
|
3225
3233
|
storagePayType: 'string',
|
|
@@ -5990,6 +5998,7 @@ class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
5990
5998
|
DBClusterId: 'DBClusterId',
|
|
5991
5999
|
DBName: 'DBName',
|
|
5992
6000
|
endTime: 'EndTime',
|
|
6001
|
+
nodeId: 'NodeId',
|
|
5993
6002
|
ownerAccount: 'OwnerAccount',
|
|
5994
6003
|
ownerId: 'OwnerId',
|
|
5995
6004
|
pageNumber: 'PageNumber',
|
|
@@ -6006,6 +6015,7 @@ class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
6006
6015
|
DBClusterId: 'string',
|
|
6007
6016
|
DBName: 'string',
|
|
6008
6017
|
endTime: 'string',
|
|
6018
|
+
nodeId: 'string',
|
|
6009
6019
|
ownerAccount: 'string',
|
|
6010
6020
|
ownerId: 'number',
|
|
6011
6021
|
pageNumber: 'number',
|
|
@@ -7237,7 +7247,9 @@ class ModifyDBClusterRequest extends $tea.Model {
|
|
|
7237
7247
|
return {
|
|
7238
7248
|
compressStorage: 'CompressStorage',
|
|
7239
7249
|
DBClusterId: 'DBClusterId',
|
|
7250
|
+
DBNodeCrashList: 'DBNodeCrashList',
|
|
7240
7251
|
dataSyncMode: 'DataSyncMode',
|
|
7252
|
+
faultInjectionType: 'FaultInjectionType',
|
|
7241
7253
|
faultSimulateMode: 'FaultSimulateMode',
|
|
7242
7254
|
ownerAccount: 'OwnerAccount',
|
|
7243
7255
|
ownerId: 'OwnerId',
|
|
@@ -7252,7 +7264,9 @@ class ModifyDBClusterRequest extends $tea.Model {
|
|
|
7252
7264
|
return {
|
|
7253
7265
|
compressStorage: 'string',
|
|
7254
7266
|
DBClusterId: 'string',
|
|
7267
|
+
DBNodeCrashList: 'string',
|
|
7255
7268
|
dataSyncMode: 'string',
|
|
7269
|
+
faultInjectionType: 'string',
|
|
7256
7270
|
faultSimulateMode: 'string',
|
|
7257
7271
|
ownerAccount: 'string',
|
|
7258
7272
|
ownerId: 'number',
|
|
@@ -10843,6 +10857,7 @@ class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
10843
10857
|
maxConnections: 'MaxConnections',
|
|
10844
10858
|
maxIOPS: 'MaxIOPS',
|
|
10845
10859
|
memorySize: 'MemorySize',
|
|
10860
|
+
orca: 'Orca',
|
|
10846
10861
|
remoteMemorySize: 'RemoteMemorySize',
|
|
10847
10862
|
sccMode: 'SccMode',
|
|
10848
10863
|
serverWeight: 'ServerWeight',
|
|
@@ -10867,6 +10882,7 @@ class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
10867
10882
|
maxConnections: 'number',
|
|
10868
10883
|
maxIOPS: 'number',
|
|
10869
10884
|
memorySize: 'string',
|
|
10885
|
+
orca: 'string',
|
|
10870
10886
|
remoteMemorySize: 'string',
|
|
10871
10887
|
sccMode: 'string',
|
|
10872
10888
|
serverWeight: 'string',
|
|
@@ -11493,6 +11509,7 @@ class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
11493
11509
|
serverlessType: 'ServerlessType',
|
|
11494
11510
|
storagePayType: 'StoragePayType',
|
|
11495
11511
|
storageSpace: 'StorageSpace',
|
|
11512
|
+
storageType: 'StorageType',
|
|
11496
11513
|
storageUsed: 'StorageUsed',
|
|
11497
11514
|
strictConsistency: 'StrictConsistency',
|
|
11498
11515
|
subCategory: 'SubCategory',
|
|
@@ -11530,6 +11547,7 @@ class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
11530
11547
|
serverlessType: 'string',
|
|
11531
11548
|
storagePayType: 'string',
|
|
11532
11549
|
storageSpace: 'number',
|
|
11550
|
+
storageType: 'string',
|
|
11533
11551
|
storageUsed: 'number',
|
|
11534
11552
|
strictConsistency: 'string',
|
|
11535
11553
|
subCategory: 'string',
|
|
@@ -18100,6 +18118,9 @@ class Client extends openapi_client_1.default {
|
|
|
18100
18118
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
18101
18119
|
query["EndTime"] = request.endTime;
|
|
18102
18120
|
}
|
|
18121
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
18122
|
+
query["NodeId"] = request.nodeId;
|
|
18123
|
+
}
|
|
18103
18124
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
18104
18125
|
query["OwnerAccount"] = request.ownerAccount;
|
|
18105
18126
|
}
|
|
@@ -19226,9 +19247,15 @@ class Client extends openapi_client_1.default {
|
|
|
19226
19247
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
19227
19248
|
query["DBClusterId"] = request.DBClusterId;
|
|
19228
19249
|
}
|
|
19250
|
+
if (!tea_util_1.default.isUnset(request.DBNodeCrashList)) {
|
|
19251
|
+
query["DBNodeCrashList"] = request.DBNodeCrashList;
|
|
19252
|
+
}
|
|
19229
19253
|
if (!tea_util_1.default.isUnset(request.dataSyncMode)) {
|
|
19230
19254
|
query["DataSyncMode"] = request.dataSyncMode;
|
|
19231
19255
|
}
|
|
19256
|
+
if (!tea_util_1.default.isUnset(request.faultInjectionType)) {
|
|
19257
|
+
query["FaultInjectionType"] = request.faultInjectionType;
|
|
19258
|
+
}
|
|
19232
19259
|
if (!tea_util_1.default.isUnset(request.faultSimulateMode)) {
|
|
19233
19260
|
query["FaultSimulateMode"] = request.faultSimulateMode;
|
|
19234
19261
|
}
|
|
@@ -19933,7 +19960,7 @@ class Client extends openapi_client_1.default {
|
|
|
19933
19960
|
return await this.modifyDBClusterParametersWithOptions(request, runtime);
|
|
19934
19961
|
}
|
|
19935
19962
|
/**
|
|
19936
|
-
* @summary
|
|
19963
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
19937
19964
|
*
|
|
19938
19965
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
19939
19966
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19998,7 +20025,7 @@ class Client extends openapi_client_1.default {
|
|
|
19998
20025
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterPrimaryZoneResponse({}));
|
|
19999
20026
|
}
|
|
20000
20027
|
/**
|
|
20001
|
-
* @summary
|
|
20028
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
20002
20029
|
*
|
|
20003
20030
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
20004
20031
|
* @return ModifyDBClusterPrimaryZoneResponse
|
|
@@ -21475,7 +21502,7 @@ class Client extends openapi_client_1.default {
|
|
|
21475
21502
|
return await this.resetGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
21476
21503
|
}
|
|
21477
21504
|
/**
|
|
21478
|
-
* @summary
|
|
21505
|
+
* @summary Restarts database links.
|
|
21479
21506
|
*
|
|
21480
21507
|
* @param request RestartDBLinkRequest
|
|
21481
21508
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21519,7 +21546,7 @@ class Client extends openapi_client_1.default {
|
|
|
21519
21546
|
return $tea.cast(await this.callApi(params, req, runtime), new RestartDBLinkResponse({}));
|
|
21520
21547
|
}
|
|
21521
21548
|
/**
|
|
21522
|
-
* @summary
|
|
21549
|
+
* @summary Restarts database links.
|
|
21523
21550
|
*
|
|
21524
21551
|
* @param request RestartDBLinkRequest
|
|
21525
21552
|
* @return RestartDBLinkResponse
|