@alicloud/polardb20170801 5.1.12 → 5.1.13
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 +28 -15
- package/dist/client.js +4 -2
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +30 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/polardb20170801",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.13",
|
|
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.9",
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.12",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -2880,12 +2880,13 @@ export class CreateDatabaseRequest extends $tea.Model {
|
|
|
2880
2880
|
characterSetName?: string;
|
|
2881
2881
|
/**
|
|
2882
2882
|
* @remarks
|
|
2883
|
-
* The language that
|
|
2883
|
+
* The language that defines the collation rules in the database.
|
|
2884
2884
|
*
|
|
2885
|
-
* >
|
|
2886
|
-
* >* This parameter is required for PolarDB for PostgreSQL (Compatible with Oracle) clusters or PolarDB for PostgreSQL clusters. This parameter is not supported by PolarDB for MySQL clusters.
|
|
2885
|
+
* >
|
|
2887
2886
|
*
|
|
2888
|
-
*
|
|
2887
|
+
* * The language must be compatible with the character set that is specified by **CharacterSetName**.
|
|
2888
|
+
*
|
|
2889
|
+
* * This parameter is required for a PolarDB for PostgreSQL (Compatible with Oracle) or PolarDB for PostgreSQL cluster. This parameter is optional for a PolarDB for MySQL cluster. To view the valid values of this parameter, perform the following steps: Log on to the PolarDB console and click the ID of the cluster. In the left-side navigation pane, choose **Settings and Management** > **Databases**. Then, click **Create Database**.
|
|
2889
2890
|
*
|
|
2890
2891
|
* @example
|
|
2891
2892
|
* C
|
|
@@ -10054,10 +10055,11 @@ export class DescribeDBInitializeVariableRequest extends $tea.Model {
|
|
|
10054
10055
|
export class DescribeDBInitializeVariableResponseBody extends $tea.Model {
|
|
10055
10056
|
/**
|
|
10056
10057
|
* @remarks
|
|
10057
|
-
* The
|
|
10058
|
+
* The database type. Valid values:
|
|
10058
10059
|
*
|
|
10059
10060
|
* * Oracle
|
|
10060
10061
|
* * PostgreSQL
|
|
10062
|
+
* * MySQL
|
|
10061
10063
|
*
|
|
10062
10064
|
* @example
|
|
10063
10065
|
* PostgreSQL
|
|
@@ -23129,12 +23131,19 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
|
|
|
23129
23131
|
resourceOwnerId?: number;
|
|
23130
23132
|
/**
|
|
23131
23133
|
* @remarks
|
|
23132
|
-
* The code of the version to which you want to upgrade the cluster. You can call the [DescribeDBClusterVersion](https://help.aliyun.com/document_detail/2319145.html) operation to query the version code.
|
|
23134
|
+
* The code of the db version to which you want to upgrade the cluster. You can call the [DescribeDBClusterVersion](https://help.aliyun.com/document_detail/2319145.html) operation to query the version code.
|
|
23133
23135
|
*
|
|
23134
23136
|
* @example
|
|
23135
23137
|
* 20230707
|
|
23136
23138
|
*/
|
|
23137
23139
|
targetDBRevisionVersionCode?: string;
|
|
23140
|
+
/**
|
|
23141
|
+
* @remarks
|
|
23142
|
+
* The code of the proxy version to which you want to upgrade the cluster. You can call the [DescribeDBClusterVersion](https://help.aliyun.com/document_detail/2319145.html) operation to query the version code.
|
|
23143
|
+
*
|
|
23144
|
+
* @example
|
|
23145
|
+
* 20240702
|
|
23146
|
+
*/
|
|
23138
23147
|
targetProxyRevisionVersionCode?: string;
|
|
23139
23148
|
/**
|
|
23140
23149
|
* @remarks
|
|
@@ -23149,10 +23158,10 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
|
|
|
23149
23158
|
upgradeLabel?: string;
|
|
23150
23159
|
/**
|
|
23151
23160
|
* @remarks
|
|
23152
|
-
* The upgrade policy. Valid values:
|
|
23161
|
+
* The engine version upgrade policy. Valid values:
|
|
23153
23162
|
*
|
|
23154
23163
|
* * **HOT**: hot upgrade.
|
|
23155
|
-
* * **COLD**: cold upgrade. Only PolarDB for MySQL Cluster Edition
|
|
23164
|
+
* * **COLD**: cold upgrade. Only PolarDB for MySQL 8.0 Cluster Edition supports this upgrade method.
|
|
23156
23165
|
*
|
|
23157
23166
|
* @example
|
|
23158
23167
|
* HOT
|
|
@@ -27074,12 +27083,15 @@ export class DescribeDBInitializeVariableResponseBodyVariablesVariable extends $
|
|
|
27074
27083
|
* @remarks
|
|
27075
27084
|
* The language that indicates the character type of the database.
|
|
27076
27085
|
*
|
|
27077
|
-
*
|
|
27078
|
-
* >- The specified value must be the same as the value of **Collate**.
|
|
27079
|
-
* >- This parameter is required for PolarDB for PostgreSQL (Compatible with Oracle) clusters or PolarDB for PostgreSQL clusters.
|
|
27080
|
-
* >- This parameter is optional for PolarDB for MySQL clusters.
|
|
27086
|
+
* >
|
|
27081
27087
|
*
|
|
27082
|
-
*
|
|
27088
|
+
* * The language must be compatible with the character set that is specified by **CharacterSetName**.
|
|
27089
|
+
*
|
|
27090
|
+
* * The specified parameter value must be the same as the value of **Collate**.
|
|
27091
|
+
*
|
|
27092
|
+
* * If the PolarDB cluster runs PolarDB for PostgreSQL (Compatible with Oracle) or PolarDB for PostgreSQL, this parameter is required. If the cluster runs PolarDB for MySQL, this parameter is not supported.
|
|
27093
|
+
*
|
|
27094
|
+
* To view the valid values of this parameter, perform the following steps: First, log on to the PolarDB console and click the ID of a cluster. Then, in the left-side navigation pane, choose **Settings and Management** > **Databases**. Finally, click **Create Database**.
|
|
27083
27095
|
*
|
|
27084
27096
|
* @example
|
|
27085
27097
|
* C
|
|
@@ -29710,6 +29722,7 @@ export class DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord extends $tea.M
|
|
|
29710
29722
|
* 0
|
|
29711
29723
|
*/
|
|
29712
29724
|
returnRowCounts?: number;
|
|
29725
|
+
SQLHash?: string;
|
|
29713
29726
|
/**
|
|
29714
29727
|
* @remarks
|
|
29715
29728
|
* The SQL statement that is executed in the query.
|
|
@@ -29726,6 +29739,7 @@ export class DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord extends $tea.M
|
|
|
29726
29739
|
queryTimeMS: 'QueryTimeMS',
|
|
29727
29740
|
queryTimes: 'QueryTimes',
|
|
29728
29741
|
returnRowCounts: 'ReturnRowCounts',
|
|
29742
|
+
SQLHash: 'SQLHash',
|
|
29729
29743
|
SQLText: 'SQLText',
|
|
29730
29744
|
};
|
|
29731
29745
|
}
|
|
@@ -29741,6 +29755,7 @@ export class DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord extends $tea.M
|
|
|
29741
29755
|
queryTimeMS: 'number',
|
|
29742
29756
|
queryTimes: 'number',
|
|
29743
29757
|
returnRowCounts: 'number',
|
|
29758
|
+
SQLHash: 'string',
|
|
29744
29759
|
SQLText: 'string',
|
|
29745
29760
|
};
|
|
29746
29761
|
}
|
|
@@ -35055,7 +35070,7 @@ export default class Client extends OpenApi {
|
|
|
35055
35070
|
}
|
|
35056
35071
|
|
|
35057
35072
|
/**
|
|
35058
|
-
* Queries
|
|
35073
|
+
* Queries attributes such as character sets and collations supported by a database in a PolarDB cluster.
|
|
35059
35074
|
*
|
|
35060
35075
|
* @param request - DescribeDBInitializeVariableRequest
|
|
35061
35076
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -35102,7 +35117,7 @@ export default class Client extends OpenApi {
|
|
|
35102
35117
|
}
|
|
35103
35118
|
|
|
35104
35119
|
/**
|
|
35105
|
-
* Queries
|
|
35120
|
+
* Queries attributes such as character sets and collations supported by a database in a PolarDB cluster.
|
|
35106
35121
|
*
|
|
35107
35122
|
* @param request - DescribeDBInitializeVariableRequest
|
|
35108
35123
|
* @returns DescribeDBInitializeVariableResponse
|