@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/polardb20170801",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.4",
|
|
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',
|
|
@@ -22670,6 +22676,10 @@ export default class Client extends OpenApi {
|
|
|
22670
22676
|
query["EndTime"] = request.endTime;
|
|
22671
22677
|
}
|
|
22672
22678
|
|
|
22679
|
+
if (!Util.isUnset(request.nodeId)) {
|
|
22680
|
+
query["NodeId"] = request.nodeId;
|
|
22681
|
+
}
|
|
22682
|
+
|
|
22673
22683
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
22674
22684
|
query["OwnerAccount"] = request.ownerAccount;
|
|
22675
22685
|
}
|
|
@@ -24821,7 +24831,7 @@ export default class Client extends OpenApi {
|
|
|
24821
24831
|
}
|
|
24822
24832
|
|
|
24823
24833
|
/**
|
|
24824
|
-
* @summary
|
|
24834
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
24825
24835
|
*
|
|
24826
24836
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
24827
24837
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24900,7 +24910,7 @@ export default class Client extends OpenApi {
|
|
|
24900
24910
|
}
|
|
24901
24911
|
|
|
24902
24912
|
/**
|
|
24903
|
-
* @summary
|
|
24913
|
+
* @summary Changes the primary zone of a PolarDB cluster.
|
|
24904
24914
|
*
|
|
24905
24915
|
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
24906
24916
|
* @return ModifyDBClusterPrimaryZoneResponse
|
|
@@ -26633,7 +26643,7 @@ export default class Client extends OpenApi {
|
|
|
26633
26643
|
}
|
|
26634
26644
|
|
|
26635
26645
|
/**
|
|
26636
|
-
* @summary
|
|
26646
|
+
* @summary Restarts database links.
|
|
26637
26647
|
*
|
|
26638
26648
|
* @param request RestartDBLinkRequest
|
|
26639
26649
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26684,7 +26694,7 @@ export default class Client extends OpenApi {
|
|
|
26684
26694
|
}
|
|
26685
26695
|
|
|
26686
26696
|
/**
|
|
26687
|
-
* @summary
|
|
26697
|
+
* @summary Restarts database links.
|
|
26688
26698
|
*
|
|
26689
26699
|
* @param request RestartDBLinkRequest
|
|
26690
26700
|
* @return RestartDBLinkResponse
|