@alicloud/polardb20170801 4.1.5 → 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.d.ts +431 -494
- package/dist/client.js +9 -132
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +437 -586
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);
|
|
@@ -16190,6 +16126,9 @@ class Client extends openapi_client_1.default {
|
|
|
16190
16126
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
16191
16127
|
query["DBClusterId"] = request.DBClusterId;
|
|
16192
16128
|
}
|
|
16129
|
+
if (!tea_util_1.default.isUnset(request.DBEndpointId)) {
|
|
16130
|
+
query["DBEndpointId"] = request.DBEndpointId;
|
|
16131
|
+
}
|
|
16193
16132
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
16194
16133
|
query["EndTime"] = request.endTime;
|
|
16195
16134
|
}
|
|
@@ -20332,69 +20271,8 @@ class Client extends openapi_client_1.default {
|
|
|
20332
20271
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
20333
20272
|
}
|
|
20334
20273
|
/**
|
|
20335
|
-
* > You can
|
|
20336
|
-
*
|
|
20337
|
-
* @param request UpgradeDBClusterMinorVersionRequest
|
|
20338
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
20339
|
-
* @return UpgradeDBClusterMinorVersionResponse
|
|
20340
|
-
*/
|
|
20341
|
-
async upgradeDBClusterMinorVersionWithOptions(request, runtime) {
|
|
20342
|
-
tea_util_1.default.validateModel(request);
|
|
20343
|
-
let query = {};
|
|
20344
|
-
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
20345
|
-
query["DBClusterId"] = request.DBClusterId;
|
|
20346
|
-
}
|
|
20347
|
-
if (!tea_util_1.default.isUnset(request.fromTimeService)) {
|
|
20348
|
-
query["FromTimeService"] = request.fromTimeService;
|
|
20349
|
-
}
|
|
20350
|
-
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
20351
|
-
query["OwnerAccount"] = request.ownerAccount;
|
|
20352
|
-
}
|
|
20353
|
-
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
20354
|
-
query["OwnerId"] = request.ownerId;
|
|
20355
|
-
}
|
|
20356
|
-
if (!tea_util_1.default.isUnset(request.plannedEndTime)) {
|
|
20357
|
-
query["PlannedEndTime"] = request.plannedEndTime;
|
|
20358
|
-
}
|
|
20359
|
-
if (!tea_util_1.default.isUnset(request.plannedStartTime)) {
|
|
20360
|
-
query["PlannedStartTime"] = request.plannedStartTime;
|
|
20361
|
-
}
|
|
20362
|
-
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
20363
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
20364
|
-
}
|
|
20365
|
-
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
20366
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
20367
|
-
}
|
|
20368
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
20369
|
-
query: openapi_util_1.default.query(query),
|
|
20370
|
-
});
|
|
20371
|
-
let params = new $OpenApi.Params({
|
|
20372
|
-
action: "UpgradeDBClusterMinorVersion",
|
|
20373
|
-
version: "2017-08-01",
|
|
20374
|
-
protocol: "HTTPS",
|
|
20375
|
-
pathname: "/",
|
|
20376
|
-
method: "POST",
|
|
20377
|
-
authType: "AK",
|
|
20378
|
-
style: "RPC",
|
|
20379
|
-
reqBodyType: "formData",
|
|
20380
|
-
bodyType: "json",
|
|
20381
|
-
});
|
|
20382
|
-
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterMinorVersionResponse({}));
|
|
20383
|
-
}
|
|
20384
|
-
/**
|
|
20385
|
-
* > 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.
|
|
20386
|
-
*
|
|
20387
|
-
* @param request UpgradeDBClusterMinorVersionRequest
|
|
20388
|
-
* @return UpgradeDBClusterMinorVersionResponse
|
|
20389
|
-
*/
|
|
20390
|
-
async upgradeDBClusterMinorVersion(request) {
|
|
20391
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
20392
|
-
return await this.upgradeDBClusterMinorVersionWithOptions(request, runtime);
|
|
20393
|
-
}
|
|
20394
|
-
/**
|
|
20395
|
-
* >
|
|
20396
|
-
* * 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.
|
|
20397
|
-
* * 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.
|
|
20398
20276
|
*
|
|
20399
20277
|
* @param request UpgradeDBClusterVersionRequest
|
|
20400
20278
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20456,9 +20334,8 @@ class Client extends openapi_client_1.default {
|
|
|
20456
20334
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
|
|
20457
20335
|
}
|
|
20458
20336
|
/**
|
|
20459
|
-
* >
|
|
20460
|
-
*
|
|
20461
|
-
* * 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.
|
|
20462
20339
|
*
|
|
20463
20340
|
* @param request UpgradeDBClusterVersionRequest
|
|
20464
20341
|
* @return UpgradeDBClusterVersionResponse
|