@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/polardb20170801",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.5",
|
|
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
|
@@ -7716,6 +7716,7 @@ export class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
7716
7716
|
DBClusterId?: string;
|
|
7717
7717
|
DBName?: string;
|
|
7718
7718
|
endTime?: string;
|
|
7719
|
+
nodeId?: string;
|
|
7719
7720
|
ownerAccount?: string;
|
|
7720
7721
|
ownerId?: number;
|
|
7721
7722
|
pageNumber?: number;
|
|
@@ -7730,6 +7731,7 @@ export class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
7730
7731
|
DBClusterId: 'DBClusterId',
|
|
7731
7732
|
DBName: 'DBName',
|
|
7732
7733
|
endTime: 'EndTime',
|
|
7734
|
+
nodeId: 'NodeId',
|
|
7733
7735
|
ownerAccount: 'OwnerAccount',
|
|
7734
7736
|
ownerId: 'OwnerId',
|
|
7735
7737
|
pageNumber: 'PageNumber',
|
|
@@ -7747,6 +7749,7 @@ export class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
|
7747
7749
|
DBClusterId: 'string',
|
|
7748
7750
|
DBName: 'string',
|
|
7749
7751
|
endTime: 'string',
|
|
7752
|
+
nodeId: 'string',
|
|
7750
7753
|
ownerAccount: 'string',
|
|
7751
7754
|
ownerId: 'number',
|
|
7752
7755
|
pageNumber: 'number',
|
|
@@ -14793,6 +14796,7 @@ export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
14793
14796
|
serverlessType?: string;
|
|
14794
14797
|
storagePayType?: string;
|
|
14795
14798
|
storageSpace?: number;
|
|
14799
|
+
storageType?: string;
|
|
14796
14800
|
storageUsed?: number;
|
|
14797
14801
|
strictConsistency?: string;
|
|
14798
14802
|
subCategory?: string;
|
|
@@ -14828,6 +14832,7 @@ export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
14828
14832
|
serverlessType: 'ServerlessType',
|
|
14829
14833
|
storagePayType: 'StoragePayType',
|
|
14830
14834
|
storageSpace: 'StorageSpace',
|
|
14835
|
+
storageType: 'StorageType',
|
|
14831
14836
|
storageUsed: 'StorageUsed',
|
|
14832
14837
|
strictConsistency: 'StrictConsistency',
|
|
14833
14838
|
subCategory: 'SubCategory',
|
|
@@ -14866,6 +14871,7 @@ export class DescribeDBClustersResponseBodyItemsDBCluster extends $tea.Model {
|
|
|
14866
14871
|
serverlessType: 'string',
|
|
14867
14872
|
storagePayType: 'string',
|
|
14868
14873
|
storageSpace: 'number',
|
|
14874
|
+
storageType: 'string',
|
|
14869
14875
|
storageUsed: 'number',
|
|
14870
14876
|
strictConsistency: 'string',
|
|
14871
14877
|
subCategory: 'string',
|
|
@@ -16690,16 +16696,16 @@ export default class Client extends OpenApi {
|
|
|
16690
16696
|
this._endpointMap = {
|
|
16691
16697
|
'cn-qingdao': "polardb.aliyuncs.com",
|
|
16692
16698
|
'cn-beijing': "polardb.aliyuncs.com",
|
|
16699
|
+
'cn-wulanchabu': "polardb.aliyuncs.com",
|
|
16693
16700
|
'cn-hangzhou': "polardb.aliyuncs.com",
|
|
16694
16701
|
'cn-shanghai': "polardb.aliyuncs.com",
|
|
16695
16702
|
'cn-shenzhen': "polardb.aliyuncs.com",
|
|
16703
|
+
'cn-guangzhou': "polardb.aliyuncs.com",
|
|
16696
16704
|
'cn-hongkong': "polardb.aliyuncs.com",
|
|
16697
|
-
'ap-southeast-1': "polardb.aliyuncs.com",
|
|
16698
|
-
'us-west-1': "polardb.aliyuncs.com",
|
|
16699
|
-
'us-east-1': "polardb.aliyuncs.com",
|
|
16700
16705
|
'cn-hangzhou-finance': "polardb.aliyuncs.com",
|
|
16701
16706
|
'cn-shanghai-finance-1': "polardb.aliyuncs.com",
|
|
16702
16707
|
'cn-shenzhen-finance-1': "polardb.aliyuncs.com",
|
|
16708
|
+
'cn-north-2-gov-1': "polardb.aliyuncs.com",
|
|
16703
16709
|
'ap-northeast-2-pop': "polardb.aliyuncs.com",
|
|
16704
16710
|
'cn-beijing-finance-1': "polardb.aliyuncs.com",
|
|
16705
16711
|
'cn-beijing-finance-pop': "polardb.aliyuncs.com",
|
|
@@ -16716,7 +16722,6 @@ export default class Client extends OpenApi {
|
|
|
16716
16722
|
'cn-hangzhou-test-306': "polardb.aliyuncs.com",
|
|
16717
16723
|
'cn-hongkong-finance-pop': "polardb.aliyuncs.com",
|
|
16718
16724
|
'cn-huhehaote-nebula-1': "polardb.aliyuncs.com",
|
|
16719
|
-
'cn-north-2-gov-1': "polardb.aliyuncs.com",
|
|
16720
16725
|
'cn-qingdao-nebula': "polardb.aliyuncs.com",
|
|
16721
16726
|
'cn-shanghai-et15-b01': "polardb.aliyuncs.com",
|
|
16722
16727
|
'cn-shanghai-et2-b01': "polardb.aliyuncs.com",
|
|
@@ -16726,7 +16731,6 @@ export default class Client extends OpenApi {
|
|
|
16726
16731
|
'cn-shenzhen-st4-d01': "polardb.aliyuncs.com",
|
|
16727
16732
|
'cn-shenzhen-su18-b01': "polardb.aliyuncs.com",
|
|
16728
16733
|
'cn-wuhan': "polardb.aliyuncs.com",
|
|
16729
|
-
'cn-wulanchabu': "polardb.aliyuncs.com",
|
|
16730
16734
|
'cn-yushanfang': "polardb.aliyuncs.com",
|
|
16731
16735
|
'cn-zhangbei': "polardb.aliyuncs.com",
|
|
16732
16736
|
'cn-zhangbei-na61-b01': "polardb.aliyuncs.com",
|
|
@@ -22670,6 +22674,10 @@ export default class Client extends OpenApi {
|
|
|
22670
22674
|
query["EndTime"] = request.endTime;
|
|
22671
22675
|
}
|
|
22672
22676
|
|
|
22677
|
+
if (!Util.isUnset(request.nodeId)) {
|
|
22678
|
+
query["NodeId"] = request.nodeId;
|
|
22679
|
+
}
|
|
22680
|
+
|
|
22673
22681
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
22674
22682
|
query["OwnerAccount"] = request.ownerAccount;
|
|
22675
22683
|
}
|
|
@@ -24821,7 +24829,7 @@ export default class Client extends OpenApi {
|
|
|
24821
24829
|
}
|
|
24822
24830
|
|
|
24823
24831
|
/**
|
|
24824
|
-
* @summary
|
|
24832
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
24825
24833
|
*
|
|
24826
24834
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
24827
24835
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24900,7 +24908,7 @@ export default class Client extends OpenApi {
|
|
|
24900
24908
|
}
|
|
24901
24909
|
|
|
24902
24910
|
/**
|
|
24903
|
-
* @summary
|
|
24911
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
24904
24912
|
*
|
|
24905
24913
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
24906
24914
|
* @return ModifyDBClusterPrimaryZoneResponse
|
|
@@ -26633,7 +26641,7 @@ export default class Client extends OpenApi {
|
|
|
26633
26641
|
}
|
|
26634
26642
|
|
|
26635
26643
|
/**
|
|
26636
|
-
* @summary
|
|
26644
|
+
* @summary Restarts database links.
|
|
26637
26645
|
*
|
|
26638
26646
|
* @param request RestartDBLinkRequest
|
|
26639
26647
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26684,7 +26692,7 @@ export default class Client extends OpenApi {
|
|
|
26684
26692
|
}
|
|
26685
26693
|
|
|
26686
26694
|
/**
|
|
26687
|
-
* @summary
|
|
26695
|
+
* @summary Restarts database links.
|
|
26688
26696
|
*
|
|
26689
26697
|
* @param request RestartDBLinkRequest
|
|
26690
26698
|
* @return RestartDBLinkResponse
|