@alicloud/polardb20170801 5.1.3 → 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 +6 -4
- package/dist/client.js +11 -4
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +14 -4
package/dist/client.d.ts
CHANGED
|
@@ -4115,6 +4115,7 @@ export declare class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
4115
4115
|
DBClusterId?: string;
|
|
4116
4116
|
DBName?: string;
|
|
4117
4117
|
endTime?: string;
|
|
4118
|
+
nodeId?: string;
|
|
4118
4119
|
ownerAccount?: string;
|
|
4119
4120
|
ownerId?: number;
|
|
4120
4121
|
pageNumber?: number;
|
|
@@ -7945,6 +7946,7 @@ export declare class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.M
|
|
|
7945
7946
|
serverlessType?: string;
|
|
7946
7947
|
storagePayType?: string;
|
|
7947
7948
|
storageSpace?: number;
|
|
7949
|
+
storageType?: string;
|
|
7948
7950
|
storageUsed?: number;
|
|
7949
7951
|
strictConsistency?: string;
|
|
7950
7952
|
subCategory?: string;
|
|
@@ -10789,7 +10791,7 @@ export default class Client extends OpenApi {
|
|
|
10789
10791
|
*/
|
|
10790
10792
|
modifyDBClusterParameters(request: ModifyDBClusterParametersRequest): Promise<ModifyDBClusterParametersResponse>;
|
|
10791
10793
|
/**
|
|
10792
|
-
* @summary
|
|
10794
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
10793
10795
|
*
|
|
10794
10796
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
10795
10797
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -10797,7 +10799,7 @@ export default class Client extends OpenApi {
|
|
|
10797
10799
|
*/
|
|
10798
10800
|
modifyDBClusterPrimaryZoneWithOptions(request: ModifyDBClusterPrimaryZoneRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterPrimaryZoneResponse>;
|
|
10799
10801
|
/**
|
|
10800
|
-
* @summary
|
|
10802
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
10801
10803
|
*
|
|
10802
10804
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
10803
10805
|
* @return ModifyDBClusterPrimaryZoneResponse
|
|
@@ -11161,7 +11163,7 @@ export default class Client extends OpenApi {
|
|
|
11161
11163
|
*/
|
|
11162
11164
|
resetGlobalDatabaseNetwork(request: ResetGlobalDatabaseNetworkRequest): Promise<ResetGlobalDatabaseNetworkResponse>;
|
|
11163
11165
|
/**
|
|
11164
|
-
* @summary
|
|
11166
|
+
* @summary Restarts database links.
|
|
11165
11167
|
*
|
|
11166
11168
|
* @param request RestartDBLinkRequest
|
|
11167
11169
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -11169,7 +11171,7 @@ export default class Client extends OpenApi {
|
|
|
11169
11171
|
*/
|
|
11170
11172
|
restartDBLinkWithOptions(request: RestartDBLinkRequest, runtime: $Util.RuntimeOptions): Promise<RestartDBLinkResponse>;
|
|
11171
11173
|
/**
|
|
11172
|
-
* @summary
|
|
11174
|
+
* @summary Restarts database links.
|
|
11173
11175
|
*
|
|
11174
11176
|
* @param request RestartDBLinkRequest
|
|
11175
11177
|
* @return RestartDBLinkResponse
|
package/dist/client.js
CHANGED
|
@@ -5998,6 +5998,7 @@ class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
5998
5998
|
DBClusterId: 'DBClusterId',
|
|
5999
5999
|
DBName: 'DBName',
|
|
6000
6000
|
endTime: 'EndTime',
|
|
6001
|
+
nodeId: 'NodeId',
|
|
6001
6002
|
ownerAccount: 'OwnerAccount',
|
|
6002
6003
|
ownerId: 'OwnerId',
|
|
6003
6004
|
pageNumber: 'PageNumber',
|
|
@@ -6014,6 +6015,7 @@ class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
6014
6015
|
DBClusterId: 'string',
|
|
6015
6016
|
DBName: 'string',
|
|
6016
6017
|
endTime: 'string',
|
|
6018
|
+
nodeId: 'string',
|
|
6017
6019
|
ownerAccount: 'string',
|
|
6018
6020
|
ownerId: 'number',
|
|
6019
6021
|
pageNumber: 'number',
|
|
@@ -11507,6 +11509,7 @@ class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
11507
11509
|
serverlessType: 'ServerlessType',
|
|
11508
11510
|
storagePayType: 'StoragePayType',
|
|
11509
11511
|
storageSpace: 'StorageSpace',
|
|
11512
|
+
storageType: 'StorageType',
|
|
11510
11513
|
storageUsed: 'StorageUsed',
|
|
11511
11514
|
strictConsistency: 'StrictConsistency',
|
|
11512
11515
|
subCategory: 'SubCategory',
|
|
@@ -11544,6 +11547,7 @@ class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
11544
11547
|
serverlessType: 'string',
|
|
11545
11548
|
storagePayType: 'string',
|
|
11546
11549
|
storageSpace: 'number',
|
|
11550
|
+
storageType: 'string',
|
|
11547
11551
|
storageUsed: 'number',
|
|
11548
11552
|
strictConsistency: 'string',
|
|
11549
11553
|
subCategory: 'string',
|
|
@@ -18114,6 +18118,9 @@ class Client extends openapi_client_1.default {
|
|
|
18114
18118
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
18115
18119
|
query["EndTime"] = request.endTime;
|
|
18116
18120
|
}
|
|
18121
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
18122
|
+
query["NodeId"] = request.nodeId;
|
|
18123
|
+
}
|
|
18117
18124
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
18118
18125
|
query["OwnerAccount"] = request.ownerAccount;
|
|
18119
18126
|
}
|
|
@@ -19953,7 +19960,7 @@ class Client extends openapi_client_1.default {
|
|
|
19953
19960
|
return await this.modifyDBClusterParametersWithOptions(request, runtime);
|
|
19954
19961
|
}
|
|
19955
19962
|
/**
|
|
19956
|
-
* @summary
|
|
19963
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
19957
19964
|
*
|
|
19958
19965
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
19959
19966
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20018,7 +20025,7 @@ class Client extends openapi_client_1.default {
|
|
|
20018
20025
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterPrimaryZoneResponse({}));
|
|
20019
20026
|
}
|
|
20020
20027
|
/**
|
|
20021
|
-
* @summary
|
|
20028
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
20022
20029
|
*
|
|
20023
20030
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
20024
20031
|
* @return ModifyDBClusterPrimaryZoneResponse
|
|
@@ -21495,7 +21502,7 @@ class Client extends openapi_client_1.default {
|
|
|
21495
21502
|
return await this.resetGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
21496
21503
|
}
|
|
21497
21504
|
/**
|
|
21498
|
-
* @summary
|
|
21505
|
+
* @summary Restarts database links.
|
|
21499
21506
|
*
|
|
21500
21507
|
* @param request RestartDBLinkRequest
|
|
21501
21508
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21539,7 +21546,7 @@ class Client extends openapi_client_1.default {
|
|
|
21539
21546
|
return $tea.cast(await this.callApi(params, req, runtime), new RestartDBLinkResponse({}));
|
|
21540
21547
|
}
|
|
21541
21548
|
/**
|
|
21542
|
-
* @summary
|
|
21549
|
+
* @summary Restarts database links.
|
|
21543
21550
|
*
|
|
21544
21551
|
* @param request RestartDBLinkRequest
|
|
21545
21552
|
* @return RestartDBLinkResponse
|