@alicloud/polardb20170801 5.1.3 → 5.1.5
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 +14 -9
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +17 -9
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',
|
|
@@ -12965,16 +12969,16 @@ class Client extends openapi_client_1.default {
|
|
|
12965
12969
|
this._endpointMap = {
|
|
12966
12970
|
'cn-qingdao': "polardb.aliyuncs.com",
|
|
12967
12971
|
'cn-beijing': "polardb.aliyuncs.com",
|
|
12972
|
+
'cn-wulanchabu': "polardb.aliyuncs.com",
|
|
12968
12973
|
'cn-hangzhou': "polardb.aliyuncs.com",
|
|
12969
12974
|
'cn-shanghai': "polardb.aliyuncs.com",
|
|
12970
12975
|
'cn-shenzhen': "polardb.aliyuncs.com",
|
|
12976
|
+
'cn-guangzhou': "polardb.aliyuncs.com",
|
|
12971
12977
|
'cn-hongkong': "polardb.aliyuncs.com",
|
|
12972
|
-
'ap-southeast-1': "polardb.aliyuncs.com",
|
|
12973
|
-
'us-west-1': "polardb.aliyuncs.com",
|
|
12974
|
-
'us-east-1': "polardb.aliyuncs.com",
|
|
12975
12978
|
'cn-hangzhou-finance': "polardb.aliyuncs.com",
|
|
12976
12979
|
'cn-shanghai-finance-1': "polardb.aliyuncs.com",
|
|
12977
12980
|
'cn-shenzhen-finance-1': "polardb.aliyuncs.com",
|
|
12981
|
+
'cn-north-2-gov-1': "polardb.aliyuncs.com",
|
|
12978
12982
|
'ap-northeast-2-pop': "polardb.aliyuncs.com",
|
|
12979
12983
|
'cn-beijing-finance-1': "polardb.aliyuncs.com",
|
|
12980
12984
|
'cn-beijing-finance-pop': "polardb.aliyuncs.com",
|
|
@@ -12991,7 +12995,6 @@ class Client extends openapi_client_1.default {
|
|
|
12991
12995
|
'cn-hangzhou-test-306': "polardb.aliyuncs.com",
|
|
12992
12996
|
'cn-hongkong-finance-pop': "polardb.aliyuncs.com",
|
|
12993
12997
|
'cn-huhehaote-nebula-1': "polardb.aliyuncs.com",
|
|
12994
|
-
'cn-north-2-gov-1': "polardb.aliyuncs.com",
|
|
12995
12998
|
'cn-qingdao-nebula': "polardb.aliyuncs.com",
|
|
12996
12999
|
'cn-shanghai-et15-b01': "polardb.aliyuncs.com",
|
|
12997
13000
|
'cn-shanghai-et2-b01': "polardb.aliyuncs.com",
|
|
@@ -13001,7 +13004,6 @@ class Client extends openapi_client_1.default {
|
|
|
13001
13004
|
'cn-shenzhen-st4-d01': "polardb.aliyuncs.com",
|
|
13002
13005
|
'cn-shenzhen-su18-b01': "polardb.aliyuncs.com",
|
|
13003
13006
|
'cn-wuhan': "polardb.aliyuncs.com",
|
|
13004
|
-
'cn-wulanchabu': "polardb.aliyuncs.com",
|
|
13005
13007
|
'cn-yushanfang': "polardb.aliyuncs.com",
|
|
13006
13008
|
'cn-zhangbei': "polardb.aliyuncs.com",
|
|
13007
13009
|
'cn-zhangbei-na61-b01': "polardb.aliyuncs.com",
|
|
@@ -18114,6 +18116,9 @@ class Client extends openapi_client_1.default {
|
|
|
18114
18116
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
18115
18117
|
query["EndTime"] = request.endTime;
|
|
18116
18118
|
}
|
|
18119
|
+
if (!tea_util_1.default.isUnset(request.nodeId)) {
|
|
18120
|
+
query["NodeId"] = request.nodeId;
|
|
18121
|
+
}
|
|
18117
18122
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
18118
18123
|
query["OwnerAccount"] = request.ownerAccount;
|
|
18119
18124
|
}
|
|
@@ -19953,7 +19958,7 @@ class Client extends openapi_client_1.default {
|
|
|
19953
19958
|
return await this.modifyDBClusterParametersWithOptions(request, runtime);
|
|
19954
19959
|
}
|
|
19955
19960
|
/**
|
|
19956
|
-
* @summary
|
|
19961
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
19957
19962
|
*
|
|
19958
19963
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
19959
19964
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20018,7 +20023,7 @@ class Client extends openapi_client_1.default {
|
|
|
20018
20023
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterPrimaryZoneResponse({}));
|
|
20019
20024
|
}
|
|
20020
20025
|
/**
|
|
20021
|
-
* @summary
|
|
20026
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
20022
20027
|
*
|
|
20023
20028
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
20024
20029
|
* @return ModifyDBClusterPrimaryZoneResponse
|
|
@@ -21495,7 +21500,7 @@ class Client extends openapi_client_1.default {
|
|
|
21495
21500
|
return await this.resetGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
21496
21501
|
}
|
|
21497
21502
|
/**
|
|
21498
|
-
* @summary
|
|
21503
|
+
* @summary Restarts database links.
|
|
21499
21504
|
*
|
|
21500
21505
|
* @param request RestartDBLinkRequest
|
|
21501
21506
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21539,7 +21544,7 @@ class Client extends openapi_client_1.default {
|
|
|
21539
21544
|
return $tea.cast(await this.callApi(params, req, runtime), new RestartDBLinkResponse({}));
|
|
21540
21545
|
}
|
|
21541
21546
|
/**
|
|
21542
|
-
* @summary
|
|
21547
|
+
* @summary Restarts database links.
|
|
21543
21548
|
*
|
|
21544
21549
|
* @param request RestartDBLinkRequest
|
|
21545
21550
|
* @return RestartDBLinkResponse
|