@alicloud/polardb20170801 4.1.4 → 5.0.0

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.js CHANGED
@@ -4562,6 +4562,7 @@ class DescribeDBProxyPerformanceRequest extends $tea.Model {
4562
4562
  static names() {
4563
4563
  return {
4564
4564
  DBClusterId: 'DBClusterId',
4565
+ DBEndpointId: 'DBEndpointId',
4565
4566
  endTime: 'EndTime',
4566
4567
  key: 'Key',
4567
4568
  startTime: 'StartTime',
@@ -4570,6 +4571,7 @@ class DescribeDBProxyPerformanceRequest extends $tea.Model {
4570
4571
  static types() {
4571
4572
  return {
4572
4573
  DBClusterId: 'string',
4574
+ DBEndpointId: 'string',
4573
4575
  endTime: 'string',
4574
4576
  key: 'string',
4575
4577
  startTime: 'string',
@@ -10143,72 +10145,6 @@ class UntagResourcesResponse extends $tea.Model {
10143
10145
  }
10144
10146
  }
10145
10147
  exports.UntagResourcesResponse = UntagResourcesResponse;
10146
- class UpgradeDBClusterMinorVersionRequest extends $tea.Model {
10147
- constructor(map) {
10148
- super(map);
10149
- }
10150
- static names() {
10151
- return {
10152
- DBClusterId: 'DBClusterId',
10153
- fromTimeService: 'FromTimeService',
10154
- ownerAccount: 'OwnerAccount',
10155
- ownerId: 'OwnerId',
10156
- plannedEndTime: 'PlannedEndTime',
10157
- plannedStartTime: 'PlannedStartTime',
10158
- resourceOwnerAccount: 'ResourceOwnerAccount',
10159
- resourceOwnerId: 'ResourceOwnerId',
10160
- };
10161
- }
10162
- static types() {
10163
- return {
10164
- DBClusterId: 'string',
10165
- fromTimeService: 'boolean',
10166
- ownerAccount: 'string',
10167
- ownerId: 'number',
10168
- plannedEndTime: 'string',
10169
- plannedStartTime: 'string',
10170
- resourceOwnerAccount: 'string',
10171
- resourceOwnerId: 'number',
10172
- };
10173
- }
10174
- }
10175
- exports.UpgradeDBClusterMinorVersionRequest = UpgradeDBClusterMinorVersionRequest;
10176
- class UpgradeDBClusterMinorVersionResponseBody extends $tea.Model {
10177
- constructor(map) {
10178
- super(map);
10179
- }
10180
- static names() {
10181
- return {
10182
- requestId: 'RequestId',
10183
- };
10184
- }
10185
- static types() {
10186
- return {
10187
- requestId: 'string',
10188
- };
10189
- }
10190
- }
10191
- exports.UpgradeDBClusterMinorVersionResponseBody = UpgradeDBClusterMinorVersionResponseBody;
10192
- class UpgradeDBClusterMinorVersionResponse extends $tea.Model {
10193
- constructor(map) {
10194
- super(map);
10195
- }
10196
- static names() {
10197
- return {
10198
- headers: 'headers',
10199
- statusCode: 'statusCode',
10200
- body: 'body',
10201
- };
10202
- }
10203
- static types() {
10204
- return {
10205
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10206
- statusCode: 'number',
10207
- body: UpgradeDBClusterMinorVersionResponseBody,
10208
- };
10209
- }
10210
- }
10211
- exports.UpgradeDBClusterMinorVersionResponse = UpgradeDBClusterMinorVersionResponse;
10212
10148
  class UpgradeDBClusterVersionRequest extends $tea.Model {
10213
10149
  constructor(map) {
10214
10150
  super(map);
@@ -11994,6 +11930,7 @@ class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Model {
11994
11930
  regionId: 'RegionId',
11995
11931
  replicaLag: 'ReplicaLag',
11996
11932
  role: 'Role',
11933
+ serverlessType: 'ServerlessType',
11997
11934
  storageUsed: 'StorageUsed',
11998
11935
  };
11999
11936
  }
@@ -12012,6 +11949,7 @@ class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Model {
12012
11949
  regionId: 'string',
12013
11950
  replicaLag: 'string',
12014
11951
  role: 'string',
11952
+ serverlessType: 'string',
12015
11953
  storageUsed: 'string',
12016
11954
  };
12017
11955
  }
@@ -16188,6 +16126,9 @@ class Client extends openapi_client_1.default {
16188
16126
  if (!tea_util_1.default.isUnset(request.DBClusterId)) {
16189
16127
  query["DBClusterId"] = request.DBClusterId;
16190
16128
  }
16129
+ if (!tea_util_1.default.isUnset(request.DBEndpointId)) {
16130
+ query["DBEndpointId"] = request.DBEndpointId;
16131
+ }
16191
16132
  if (!tea_util_1.default.isUnset(request.endTime)) {
16192
16133
  query["EndTime"] = request.endTime;
16193
16134
  }
@@ -20330,69 +20271,8 @@ class Client extends openapi_client_1.default {
20330
20271
  return await this.untagResourcesWithOptions(request, runtime);
20331
20272
  }
20332
20273
  /**
20333
- * > You can upgrade only the revision version of a PolarDB for MySQL cluster. For example, you can upgrade the version 8.0.1.1.3 of a PolarDB for MySQL cluster to the version 8.0.1.1.4.
20334
- *
20335
- * @param request UpgradeDBClusterMinorVersionRequest
20336
- * @param runtime runtime options for this request RuntimeOptions
20337
- * @return UpgradeDBClusterMinorVersionResponse
20338
- */
20339
- async upgradeDBClusterMinorVersionWithOptions(request, runtime) {
20340
- tea_util_1.default.validateModel(request);
20341
- let query = {};
20342
- if (!tea_util_1.default.isUnset(request.DBClusterId)) {
20343
- query["DBClusterId"] = request.DBClusterId;
20344
- }
20345
- if (!tea_util_1.default.isUnset(request.fromTimeService)) {
20346
- query["FromTimeService"] = request.fromTimeService;
20347
- }
20348
- if (!tea_util_1.default.isUnset(request.ownerAccount)) {
20349
- query["OwnerAccount"] = request.ownerAccount;
20350
- }
20351
- if (!tea_util_1.default.isUnset(request.ownerId)) {
20352
- query["OwnerId"] = request.ownerId;
20353
- }
20354
- if (!tea_util_1.default.isUnset(request.plannedEndTime)) {
20355
- query["PlannedEndTime"] = request.plannedEndTime;
20356
- }
20357
- if (!tea_util_1.default.isUnset(request.plannedStartTime)) {
20358
- query["PlannedStartTime"] = request.plannedStartTime;
20359
- }
20360
- if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
20361
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
20362
- }
20363
- if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
20364
- query["ResourceOwnerId"] = request.resourceOwnerId;
20365
- }
20366
- let req = new $OpenApi.OpenApiRequest({
20367
- query: openapi_util_1.default.query(query),
20368
- });
20369
- let params = new $OpenApi.Params({
20370
- action: "UpgradeDBClusterMinorVersion",
20371
- version: "2017-08-01",
20372
- protocol: "HTTPS",
20373
- pathname: "/",
20374
- method: "POST",
20375
- authType: "AK",
20376
- style: "RPC",
20377
- reqBodyType: "formData",
20378
- bodyType: "json",
20379
- });
20380
- return $tea.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterMinorVersionResponse({}));
20381
- }
20382
- /**
20383
- * > You can upgrade only the revision version of a PolarDB for MySQL cluster. For example, you can upgrade the version 8.0.1.1.3 of a PolarDB for MySQL cluster to the version 8.0.1.1.4.
20384
- *
20385
- * @param request UpgradeDBClusterMinorVersionRequest
20386
- * @return UpgradeDBClusterMinorVersionResponse
20387
- */
20388
- async upgradeDBClusterMinorVersion(request) {
20389
- let runtime = new $Util.RuntimeOptions({});
20390
- return await this.upgradeDBClusterMinorVersionWithOptions(request, runtime);
20391
- }
20392
- /**
20393
- * >
20394
- * * You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
20395
- * * You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
20274
+ * > * You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
20275
+ * >* You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
20396
20276
  *
20397
20277
  * @param request UpgradeDBClusterVersionRequest
20398
20278
  * @param runtime runtime options for this request RuntimeOptions
@@ -20454,9 +20334,8 @@ class Client extends openapi_client_1.default {
20454
20334
  return $tea.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
20455
20335
  }
20456
20336
  /**
20457
- * >
20458
- * * You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
20459
- * * You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
20337
+ * > * You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
20338
+ * >* You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
20460
20339
  *
20461
20340
  * @param request UpgradeDBClusterVersionRequest
20462
20341
  * @return UpgradeDBClusterVersionResponse