@alicloud/polardb20170801 5.1.11 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/polardb20170801",
3
- "version": "5.1.11",
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.11",
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 indicates the collation of the databases that are created.
2883
+ * The language that defines the collation rules in the database.
2884
+ *
2885
+ * >
2884
2886
  *
2885
- * > * The language must be compatible with the character set that is specified by **CharacterSetName**.
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.
2887
+ * * The language must be compatible with the character set that is specified by **CharacterSetName**.
2887
2888
  *
2888
- * 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**.
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
@@ -3048,6 +3049,7 @@ export class CreateGlobalDatabaseNetworkRequest extends $tea.Model {
3048
3049
  * pc-bp1q76364ird*****
3049
3050
  */
3050
3051
  DBClusterId?: string;
3052
+ enableGlobalDomainName?: boolean;
3051
3053
  /**
3052
3054
  * @remarks
3053
3055
  * The description of the GDN. The description must meet the following requirements:
@@ -3077,6 +3079,7 @@ export class CreateGlobalDatabaseNetworkRequest extends $tea.Model {
3077
3079
  static names(): { [key: string]: string } {
3078
3080
  return {
3079
3081
  DBClusterId: 'DBClusterId',
3082
+ enableGlobalDomainName: 'EnableGlobalDomainName',
3080
3083
  GDNDescription: 'GDNDescription',
3081
3084
  ownerAccount: 'OwnerAccount',
3082
3085
  ownerId: 'OwnerId',
@@ -3090,6 +3093,7 @@ export class CreateGlobalDatabaseNetworkRequest extends $tea.Model {
3090
3093
  static types(): { [key: string]: any } {
3091
3094
  return {
3092
3095
  DBClusterId: 'string',
3096
+ enableGlobalDomainName: 'boolean',
3093
3097
  GDNDescription: 'string',
3094
3098
  ownerAccount: 'string',
3095
3099
  ownerId: 'number',
@@ -10051,10 +10055,11 @@ export class DescribeDBInitializeVariableRequest extends $tea.Model {
10051
10055
  export class DescribeDBInitializeVariableResponseBody extends $tea.Model {
10052
10056
  /**
10053
10057
  * @remarks
10054
- * The type of the database engine. Valid values:
10058
+ * The database type. Valid values:
10055
10059
  *
10056
10060
  * * Oracle
10057
10061
  * * PostgreSQL
10062
+ * * MySQL
10058
10063
  *
10059
10064
  * @example
10060
10065
  * PostgreSQL
@@ -11438,6 +11443,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
11438
11443
  * active
11439
11444
  */
11440
11445
  GDNStatus?: string;
11446
+ globalDomainName?: string;
11441
11447
  /**
11442
11448
  * @remarks
11443
11449
  * The ID of the request.
@@ -11465,6 +11471,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
11465
11471
  GDNDescription: 'GDNDescription',
11466
11472
  GDNId: 'GDNId',
11467
11473
  GDNStatus: 'GDNStatus',
11474
+ globalDomainName: 'GlobalDomainName',
11468
11475
  requestId: 'RequestId',
11469
11476
  resourceGroupId: 'ResourceGroupId',
11470
11477
  };
@@ -11481,6 +11488,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
11481
11488
  GDNDescription: 'string',
11482
11489
  GDNId: 'string',
11483
11490
  GDNStatus: 'string',
11491
+ globalDomainName: 'string',
11484
11492
  requestId: 'string',
11485
11493
  resourceGroupId: 'string',
11486
11494
  };
@@ -19599,6 +19607,7 @@ export class ModifyDBNodeClassRequest extends $tea.Model {
19599
19607
  * 2021-01-14T09:30:00Z
19600
19608
  */
19601
19609
  plannedEndTime?: string;
19610
+ plannedFlashingOffTime?: string;
19602
19611
  /**
19603
19612
  * @remarks
19604
19613
  * The earliest start time to upgrade the specifications within the scheduled time period. Specify the time in the ISO 8601 standard in the `YYYY-MM-DDThh:mm:ssZ` format. The time must be in UTC.
@@ -19634,6 +19643,7 @@ export class ModifyDBNodeClassRequest extends $tea.Model {
19634
19643
  ownerAccount: 'OwnerAccount',
19635
19644
  ownerId: 'OwnerId',
19636
19645
  plannedEndTime: 'PlannedEndTime',
19646
+ plannedFlashingOffTime: 'PlannedFlashingOffTime',
19637
19647
  plannedStartTime: 'PlannedStartTime',
19638
19648
  resourceOwnerAccount: 'ResourceOwnerAccount',
19639
19649
  resourceOwnerId: 'ResourceOwnerId',
@@ -19651,6 +19661,7 @@ export class ModifyDBNodeClassRequest extends $tea.Model {
19651
19661
  ownerAccount: 'string',
19652
19662
  ownerId: 'number',
19653
19663
  plannedEndTime: 'string',
19664
+ plannedFlashingOffTime: 'string',
19654
19665
  plannedStartTime: 'string',
19655
19666
  resourceOwnerAccount: 'string',
19656
19667
  resourceOwnerId: 'number',
@@ -19928,6 +19939,7 @@ export class ModifyDBNodesClassRequest extends $tea.Model {
19928
19939
  * 2021-01-14T09:30:00Z
19929
19940
  */
19930
19941
  plannedEndTime?: string;
19942
+ plannedFlashingOffTime?: string;
19931
19943
  /**
19932
19944
  * @remarks
19933
19945
  * The earliest start time to upgrade the specifications within the scheduled time period. Specify the time in the ISO 8601 standard in the `YYYY-MM-DDThh:mm:ssZ` format. The time must be in UTC.
@@ -19962,6 +19974,7 @@ export class ModifyDBNodesClassRequest extends $tea.Model {
19962
19974
  ownerAccount: 'OwnerAccount',
19963
19975
  ownerId: 'OwnerId',
19964
19976
  plannedEndTime: 'PlannedEndTime',
19977
+ plannedFlashingOffTime: 'PlannedFlashingOffTime',
19965
19978
  plannedStartTime: 'PlannedStartTime',
19966
19979
  resourceOwnerAccount: 'ResourceOwnerAccount',
19967
19980
  resourceOwnerId: 'ResourceOwnerId',
@@ -19978,6 +19991,7 @@ export class ModifyDBNodesClassRequest extends $tea.Model {
19978
19991
  ownerAccount: 'string',
19979
19992
  ownerId: 'number',
19980
19993
  plannedEndTime: 'string',
19994
+ plannedFlashingOffTime: 'string',
19981
19995
  plannedStartTime: 'string',
19982
19996
  resourceOwnerAccount: 'string',
19983
19997
  resourceOwnerId: 'number',
@@ -20215,6 +20229,7 @@ export class ModifyDBNodesParametersResponse extends $tea.Model {
20215
20229
  }
20216
20230
 
20217
20231
  export class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
20232
+ enableGlobalDomainName?: boolean;
20218
20233
  /**
20219
20234
  * @remarks
20220
20235
  * The description of the GDN. The description must meet the following requirements:
@@ -20224,8 +20239,6 @@ export class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
20224
20239
  * * It can contain letters, digits, underscores (_), and hyphens (-).
20225
20240
  * * It must be 2 to 126 characters in length.
20226
20241
  *
20227
- * This parameter is required.
20228
- *
20229
20242
  * @example
20230
20243
  * GDN-fortest
20231
20244
  */
@@ -20255,6 +20268,7 @@ export class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
20255
20268
  securityToken?: string;
20256
20269
  static names(): { [key: string]: string } {
20257
20270
  return {
20271
+ enableGlobalDomainName: 'EnableGlobalDomainName',
20258
20272
  GDNDescription: 'GDNDescription',
20259
20273
  GDNId: 'GDNId',
20260
20274
  ownerAccount: 'OwnerAccount',
@@ -20268,6 +20282,7 @@ export class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
20268
20282
 
20269
20283
  static types(): { [key: string]: any } {
20270
20284
  return {
20285
+ enableGlobalDomainName: 'boolean',
20271
20286
  GDNDescription: 'string',
20272
20287
  GDNId: 'string',
20273
20288
  ownerAccount: 'string',
@@ -23116,12 +23131,19 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
23116
23131
  resourceOwnerId?: number;
23117
23132
  /**
23118
23133
  * @remarks
23119
- * 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.
23120
23135
  *
23121
23136
  * @example
23122
23137
  * 20230707
23123
23138
  */
23124
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
+ */
23125
23147
  targetProxyRevisionVersionCode?: string;
23126
23148
  /**
23127
23149
  * @remarks
@@ -23136,10 +23158,10 @@ export class UpgradeDBClusterVersionRequest extends $tea.Model {
23136
23158
  upgradeLabel?: string;
23137
23159
  /**
23138
23160
  * @remarks
23139
- * The upgrade policy. Valid values:
23161
+ * The engine version upgrade policy. Valid values:
23140
23162
  *
23141
23163
  * * **HOT**: hot upgrade.
23142
- * * **COLD**: cold upgrade. Only PolarDB for MySQL Cluster Edition that runs MySQL 8.0 supports this upgrade method.
23164
+ * * **COLD**: cold upgrade. Only PolarDB for MySQL 8.0 Cluster Edition supports this upgrade method.
23143
23165
  *
23144
23166
  * @example
23145
23167
  * HOT
@@ -27061,12 +27083,15 @@ export class DescribeDBInitializeVariableResponseBodyVariablesVariable extends $
27061
27083
  * @remarks
27062
27084
  * The language that indicates the character type of the database.
27063
27085
  *
27064
- * >- The language must be compatible with the character set that is specified by **CharacterSetName**.
27065
- * >- The specified value must be the same as the value of **Collate**.
27066
- * >- This parameter is required for PolarDB for PostgreSQL (Compatible with Oracle) clusters or PolarDB for PostgreSQL clusters.
27067
- * >- This parameter is optional for PolarDB for MySQL clusters.
27086
+ * >
27068
27087
  *
27069
- * 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**.
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**.
27070
27095
  *
27071
27096
  * @example
27072
27097
  * C
@@ -28172,6 +28197,7 @@ export class DescribeGlobalDatabaseNetworkResponseBodyDBClustersDBNodes extends
28172
28197
  }
28173
28198
 
28174
28199
  export class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Model {
28200
+ category?: string;
28175
28201
  /**
28176
28202
  * @remarks
28177
28203
  * The description of the cluster.
@@ -28308,6 +28334,7 @@ export class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Mo
28308
28334
  storageUsed?: string;
28309
28335
  static names(): { [key: string]: string } {
28310
28336
  return {
28337
+ category: 'Category',
28311
28338
  DBClusterDescription: 'DBClusterDescription',
28312
28339
  DBClusterId: 'DBClusterId',
28313
28340
  DBClusterStatus: 'DBClusterStatus',
@@ -28328,6 +28355,7 @@ export class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Mo
28328
28355
 
28329
28356
  static types(): { [key: string]: any } {
28330
28357
  return {
28358
+ category: 'string',
28331
28359
  DBClusterDescription: 'string',
28332
28360
  DBClusterId: 'string',
28333
28361
  DBClusterStatus: 'string',
@@ -29475,6 +29503,7 @@ export class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model
29475
29503
  * 2021-01-28T12:30Z
29476
29504
  */
29477
29505
  plannedEndTime?: string;
29506
+ plannedFlashingOffTime?: string;
29478
29507
  /**
29479
29508
  * @remarks
29480
29509
  * The earliest start time of the task that you specified when you created the scheduled task. The time is displayed in UTC.
@@ -29534,6 +29563,7 @@ export class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model
29534
29563
  dbClusterStatus: 'DbClusterStatus',
29535
29564
  orderId: 'OrderId',
29536
29565
  plannedEndTime: 'PlannedEndTime',
29566
+ plannedFlashingOffTime: 'PlannedFlashingOffTime',
29537
29567
  plannedStartTime: 'PlannedStartTime',
29538
29568
  plannedTime: 'PlannedTime',
29539
29569
  region: 'Region',
@@ -29551,6 +29581,7 @@ export class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model
29551
29581
  dbClusterStatus: 'string',
29552
29582
  orderId: 'string',
29553
29583
  plannedEndTime: 'string',
29584
+ plannedFlashingOffTime: 'string',
29554
29585
  plannedStartTime: 'string',
29555
29586
  plannedTime: 'string',
29556
29587
  region: 'string',
@@ -29691,6 +29722,7 @@ export class DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord extends $tea.M
29691
29722
  * 0
29692
29723
  */
29693
29724
  returnRowCounts?: number;
29725
+ SQLHash?: string;
29694
29726
  /**
29695
29727
  * @remarks
29696
29728
  * The SQL statement that is executed in the query.
@@ -29707,6 +29739,7 @@ export class DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord extends $tea.M
29707
29739
  queryTimeMS: 'QueryTimeMS',
29708
29740
  queryTimes: 'QueryTimes',
29709
29741
  returnRowCounts: 'ReturnRowCounts',
29742
+ SQLHash: 'SQLHash',
29710
29743
  SQLText: 'SQLText',
29711
29744
  };
29712
29745
  }
@@ -29722,6 +29755,7 @@ export class DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord extends $tea.M
29722
29755
  queryTimeMS: 'number',
29723
29756
  queryTimes: 'number',
29724
29757
  returnRowCounts: 'number',
29758
+ SQLHash: 'string',
29725
29759
  SQLText: 'string',
29726
29760
  };
29727
29761
  }
@@ -32144,6 +32178,10 @@ export default class Client extends OpenApi {
32144
32178
  query["DBClusterId"] = request.DBClusterId;
32145
32179
  }
32146
32180
 
32181
+ if (!Util.isUnset(request.enableGlobalDomainName)) {
32182
+ query["EnableGlobalDomainName"] = request.enableGlobalDomainName;
32183
+ }
32184
+
32147
32185
  if (!Util.isUnset(request.GDNDescription)) {
32148
32186
  query["GDNDescription"] = request.GDNDescription;
32149
32187
  }
@@ -35032,7 +35070,7 @@ export default class Client extends OpenApi {
35032
35070
  }
35033
35071
 
35034
35072
  /**
35035
- * 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.
35073
+ * Queries attributes such as character sets and collations supported by a database in a PolarDB cluster.
35036
35074
  *
35037
35075
  * @param request - DescribeDBInitializeVariableRequest
35038
35076
  * @param runtime - runtime options for this request RuntimeOptions
@@ -35079,7 +35117,7 @@ export default class Client extends OpenApi {
35079
35117
  }
35080
35118
 
35081
35119
  /**
35082
- * 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.
35120
+ * Queries attributes such as character sets and collations supported by a database in a PolarDB cluster.
35083
35121
  *
35084
35122
  * @param request - DescribeDBInitializeVariableRequest
35085
35123
  * @returns DescribeDBInitializeVariableResponse
@@ -39563,6 +39601,10 @@ export default class Client extends OpenApi {
39563
39601
  query["PlannedEndTime"] = request.plannedEndTime;
39564
39602
  }
39565
39603
 
39604
+ if (!Util.isUnset(request.plannedFlashingOffTime)) {
39605
+ query["PlannedFlashingOffTime"] = request.plannedFlashingOffTime;
39606
+ }
39607
+
39566
39608
  if (!Util.isUnset(request.plannedStartTime)) {
39567
39609
  query["PlannedStartTime"] = request.plannedStartTime;
39568
39610
  }
@@ -39711,6 +39753,10 @@ export default class Client extends OpenApi {
39711
39753
  query["PlannedEndTime"] = request.plannedEndTime;
39712
39754
  }
39713
39755
 
39756
+ if (!Util.isUnset(request.plannedFlashingOffTime)) {
39757
+ query["PlannedFlashingOffTime"] = request.plannedFlashingOffTime;
39758
+ }
39759
+
39714
39760
  if (!Util.isUnset(request.plannedStartTime)) {
39715
39761
  query["PlannedStartTime"] = request.plannedStartTime;
39716
39762
  }
@@ -39847,6 +39893,10 @@ export default class Client extends OpenApi {
39847
39893
  async modifyGlobalDatabaseNetworkWithOptions(request: ModifyGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<ModifyGlobalDatabaseNetworkResponse> {
39848
39894
  Util.validateModel(request);
39849
39895
  let query = { };
39896
+ if (!Util.isUnset(request.enableGlobalDomainName)) {
39897
+ query["EnableGlobalDomainName"] = request.enableGlobalDomainName;
39898
+ }
39899
+
39850
39900
  if (!Util.isUnset(request.GDNDescription)) {
39851
39901
  query["GDNDescription"] = request.GDNDescription;
39852
39902
  }