@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 CHANGED
@@ -2173,12 +2173,13 @@ export declare class CreateDatabaseRequest extends $tea.Model {
2173
2173
  characterSetName?: string;
2174
2174
  /**
2175
2175
  * @remarks
2176
- * The language that indicates the collation of the databases that are created.
2176
+ * The language that defines the collation rules in the database.
2177
2177
  *
2178
- * > * The language must be compatible with the character set that is specified by **CharacterSetName**.
2179
- * >* 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.
2178
+ * >
2180
2179
  *
2181
- * To view the valid values for this parameter, perform the following steps: Log on to the PolarDB console and click the ID of a cluster. In the left-side navigation pane, choose **Settings and Management** > **Databases**. Then, click **Create Database**.
2180
+ * * The language must be compatible with the character set that is specified by **CharacterSetName**.
2181
+ *
2182
+ * * 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**.
2182
2183
  *
2183
2184
  * @example
2184
2185
  * C
@@ -7417,10 +7418,11 @@ export declare class DescribeDBInitializeVariableRequest extends $tea.Model {
7417
7418
  export declare class DescribeDBInitializeVariableResponseBody extends $tea.Model {
7418
7419
  /**
7419
7420
  * @remarks
7420
- * The type of the database engine. Valid values:
7421
+ * The database type. Valid values:
7421
7422
  *
7422
7423
  * * Oracle
7423
7424
  * * PostgreSQL
7425
+ * * MySQL
7424
7426
  *
7425
7427
  * @example
7426
7428
  * PostgreSQL
@@ -16971,12 +16973,19 @@ export declare class UpgradeDBClusterVersionRequest extends $tea.Model {
16971
16973
  resourceOwnerId?: number;
16972
16974
  /**
16973
16975
  * @remarks
16974
- * 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.
16976
+ * 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.
16975
16977
  *
16976
16978
  * @example
16977
16979
  * 20230707
16978
16980
  */
16979
16981
  targetDBRevisionVersionCode?: string;
16982
+ /**
16983
+ * @remarks
16984
+ * 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.
16985
+ *
16986
+ * @example
16987
+ * 20240702
16988
+ */
16980
16989
  targetProxyRevisionVersionCode?: string;
16981
16990
  /**
16982
16991
  * @remarks
@@ -16991,10 +17000,10 @@ export declare class UpgradeDBClusterVersionRequest extends $tea.Model {
16991
17000
  upgradeLabel?: string;
16992
17001
  /**
16993
17002
  * @remarks
16994
- * The upgrade policy. Valid values:
17003
+ * The engine version upgrade policy. Valid values:
16995
17004
  *
16996
17005
  * * **HOT**: hot upgrade.
16997
- * * **COLD**: cold upgrade. Only PolarDB for MySQL Cluster Edition that runs MySQL 8.0 supports this upgrade method.
17006
+ * * **COLD**: cold upgrade. Only PolarDB for MySQL 8.0 Cluster Edition supports this upgrade method.
16998
17007
  *
16999
17008
  * @example
17000
17009
  * HOT
@@ -20050,12 +20059,15 @@ export declare class DescribeDBInitializeVariableResponseBodyVariablesVariable e
20050
20059
  * @remarks
20051
20060
  * The language that indicates the character type of the database.
20052
20061
  *
20053
- * >- The language must be compatible with the character set that is specified by **CharacterSetName**.
20054
- * >- The specified value must be the same as the value of **Collate**.
20055
- * >- This parameter is required for PolarDB for PostgreSQL (Compatible with Oracle) clusters or PolarDB for PostgreSQL clusters.
20056
- * >- This parameter is optional for PolarDB for MySQL clusters.
20062
+ * >
20057
20063
  *
20058
- * To view the valid values for this parameter, perform the following steps: Log on to the PolarDB console and click the ID of a cluster. In the left-side navigation pane, choose **Settings and Management** > **Databases**. Then, click **Create Database**.
20064
+ * * The language must be compatible with the character set that is specified by **CharacterSetName**.
20065
+ *
20066
+ * * The specified parameter value must be the same as the value of **Collate**.
20067
+ *
20068
+ * * 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.
20069
+ *
20070
+ * 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**.
20059
20071
  *
20060
20072
  * @example
20061
20073
  * C
@@ -22109,6 +22121,7 @@ export declare class DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord extend
22109
22121
  * 0
22110
22122
  */
22111
22123
  returnRowCounts?: number;
22124
+ SQLHash?: string;
22112
22125
  /**
22113
22126
  * @remarks
22114
22127
  * The SQL statement that is executed in the query.
@@ -23850,7 +23863,7 @@ export default class Client extends OpenApi {
23850
23863
  */
23851
23864
  describeDBClustersWithBackups(request: DescribeDBClustersWithBackupsRequest): Promise<DescribeDBClustersWithBackupsResponse>;
23852
23865
  /**
23853
- * Queries the attributes that are supported by a PolarDB for PostgreSQL (Compatible with Oracle) cluster or a PolarDB for PostgreSQL cluster, such as the character sets and collations.
23866
+ * Queries attributes such as character sets and collations supported by a database in a PolarDB cluster.
23854
23867
  *
23855
23868
  * @param request - DescribeDBInitializeVariableRequest
23856
23869
  * @param runtime - runtime options for this request RuntimeOptions
@@ -23858,7 +23871,7 @@ export default class Client extends OpenApi {
23858
23871
  */
23859
23872
  describeDBInitializeVariableWithOptions(request: DescribeDBInitializeVariableRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBInitializeVariableResponse>;
23860
23873
  /**
23861
- * Queries the attributes that are supported by a PolarDB for PostgreSQL (Compatible with Oracle) cluster or a PolarDB for PostgreSQL cluster, such as the character sets and collations.
23874
+ * Queries attributes such as character sets and collations supported by a database in a PolarDB cluster.
23862
23875
  *
23863
23876
  * @param request - DescribeDBInitializeVariableRequest
23864
23877
  * @returns DescribeDBInitializeVariableResponse
package/dist/client.js CHANGED
@@ -12647,6 +12647,7 @@ class DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord extends $tea.Model {
12647
12647
  queryTimeMS: 'QueryTimeMS',
12648
12648
  queryTimes: 'QueryTimes',
12649
12649
  returnRowCounts: 'ReturnRowCounts',
12650
+ SQLHash: 'SQLHash',
12650
12651
  SQLText: 'SQLText',
12651
12652
  };
12652
12653
  }
@@ -12661,6 +12662,7 @@ class DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord extends $tea.Model {
12661
12662
  queryTimeMS: 'number',
12662
12663
  queryTimes: 'number',
12663
12664
  returnRowCounts: 'number',
12665
+ SQLHash: 'string',
12664
12666
  SQLText: 'string',
12665
12667
  };
12666
12668
  }
@@ -16792,7 +16794,7 @@ class Client extends openapi_client_1.default {
16792
16794
  return await this.describeDBClustersWithBackupsWithOptions(request, runtime);
16793
16795
  }
16794
16796
  /**
16795
- * Queries the attributes that are supported by a PolarDB for PostgreSQL (Compatible with Oracle) cluster or a PolarDB for PostgreSQL cluster, such as the character sets and collations.
16797
+ * Queries attributes such as character sets and collations supported by a database in a PolarDB cluster.
16796
16798
  *
16797
16799
  * @param request - DescribeDBInitializeVariableRequest
16798
16800
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16833,7 +16835,7 @@ class Client extends openapi_client_1.default {
16833
16835
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBInitializeVariableResponse({}));
16834
16836
  }
16835
16837
  /**
16836
- * Queries the attributes that are supported by a PolarDB for PostgreSQL (Compatible with Oracle) cluster or a PolarDB for PostgreSQL cluster, such as the character sets and collations.
16838
+ * Queries attributes such as character sets and collations supported by a database in a PolarDB cluster.
16837
16839
  *
16838
16840
  * @param request - DescribeDBInitializeVariableRequest
16839
16841
  * @returns DescribeDBInitializeVariableResponse