@alicloud/polardb20170801 5.2.0 → 5.2.2
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 +439 -155
- package/dist/client.js +31 -16
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +457 -155
package/dist/client.js
CHANGED
|
@@ -797,6 +797,7 @@ class CreateDBClusterRequest extends $tea.Model {
|
|
|
797
797
|
architecture: 'Architecture',
|
|
798
798
|
autoRenew: 'AutoRenew',
|
|
799
799
|
backupRetentionPolicyOnClusterDeletion: 'BackupRetentionPolicyOnClusterDeletion',
|
|
800
|
+
burstingEnabled: 'BurstingEnabled',
|
|
800
801
|
clientToken: 'ClientToken',
|
|
801
802
|
cloneDataPoint: 'CloneDataPoint',
|
|
802
803
|
clusterNetworkType: 'ClusterNetworkType',
|
|
@@ -855,6 +856,7 @@ class CreateDBClusterRequest extends $tea.Model {
|
|
|
855
856
|
architecture: 'string',
|
|
856
857
|
autoRenew: 'boolean',
|
|
857
858
|
backupRetentionPolicyOnClusterDeletion: 'string',
|
|
859
|
+
burstingEnabled: 'string',
|
|
858
860
|
clientToken: 'string',
|
|
859
861
|
cloneDataPoint: 'string',
|
|
860
862
|
clusterNetworkType: 'string',
|
|
@@ -2565,6 +2567,7 @@ exports.DescribeAITaskStatusRequest = DescribeAITaskStatusRequest;
|
|
|
2565
2567
|
class DescribeAITaskStatusResponseBody extends $tea.Model {
|
|
2566
2568
|
static names() {
|
|
2567
2569
|
return {
|
|
2570
|
+
accountName: 'AccountName',
|
|
2568
2571
|
DBClusterId: 'DBClusterId',
|
|
2569
2572
|
requestId: 'RequestId',
|
|
2570
2573
|
status: 'Status',
|
|
@@ -2573,6 +2576,7 @@ class DescribeAITaskStatusResponseBody extends $tea.Model {
|
|
|
2573
2576
|
}
|
|
2574
2577
|
static types() {
|
|
2575
2578
|
return {
|
|
2579
|
+
accountName: 'string',
|
|
2576
2580
|
DBClusterId: 'string',
|
|
2577
2581
|
requestId: 'string',
|
|
2578
2582
|
status: 'string',
|
|
@@ -3183,6 +3187,7 @@ class DescribeBackupsResponseBody extends $tea.Model {
|
|
|
3183
3187
|
pageNumber: 'PageNumber',
|
|
3184
3188
|
pageRecordCount: 'PageRecordCount',
|
|
3185
3189
|
requestId: 'RequestId',
|
|
3190
|
+
totalLevel2BackupSize: 'TotalLevel2BackupSize',
|
|
3186
3191
|
totalRecordCount: 'TotalRecordCount',
|
|
3187
3192
|
};
|
|
3188
3193
|
}
|
|
@@ -3192,6 +3197,7 @@ class DescribeBackupsResponseBody extends $tea.Model {
|
|
|
3192
3197
|
pageNumber: 'string',
|
|
3193
3198
|
pageRecordCount: 'string',
|
|
3194
3199
|
requestId: 'string',
|
|
3200
|
+
totalLevel2BackupSize: 'string',
|
|
3195
3201
|
totalRecordCount: 'string',
|
|
3196
3202
|
};
|
|
3197
3203
|
}
|
|
@@ -3456,6 +3462,7 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
3456
3462
|
architecture: 'Architecture',
|
|
3457
3463
|
blktagTotal: 'BlktagTotal',
|
|
3458
3464
|
blktagUsed: 'BlktagUsed',
|
|
3465
|
+
burstingEnabled: 'BurstingEnabled',
|
|
3459
3466
|
category: 'Category',
|
|
3460
3467
|
compressStorageMode: 'CompressStorageMode',
|
|
3461
3468
|
compressStorageUsed: 'CompressStorageUsed',
|
|
@@ -3522,6 +3529,7 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
3522
3529
|
architecture: 'string',
|
|
3523
3530
|
blktagTotal: 'number',
|
|
3524
3531
|
blktagUsed: 'number',
|
|
3532
|
+
burstingEnabled: 'string',
|
|
3525
3533
|
category: 'string',
|
|
3526
3534
|
compressStorageMode: 'string',
|
|
3527
3535
|
compressStorageUsed: 'number',
|
|
@@ -11303,6 +11311,7 @@ class DescribeClassListResponseBodyItems extends $tea.Model {
|
|
|
11303
11311
|
classGroup: 'ClassGroup',
|
|
11304
11312
|
classTypeLevel: 'ClassTypeLevel',
|
|
11305
11313
|
cpu: 'Cpu',
|
|
11314
|
+
essdMaxStorageCapacity: 'EssdMaxStorageCapacity',
|
|
11306
11315
|
maxConnections: 'MaxConnections',
|
|
11307
11316
|
maxIOPS: 'MaxIOPS',
|
|
11308
11317
|
maxStorageCapacity: 'MaxStorageCapacity',
|
|
@@ -11310,6 +11319,7 @@ class DescribeClassListResponseBodyItems extends $tea.Model {
|
|
|
11310
11319
|
pl1MaxIOPS: 'Pl1MaxIOPS',
|
|
11311
11320
|
pl2MaxIOPS: 'Pl2MaxIOPS',
|
|
11312
11321
|
pl3MaxIOPS: 'Pl3MaxIOPS',
|
|
11322
|
+
polarStoreMaxStorageCapacity: 'PolarStoreMaxStorageCapacity',
|
|
11313
11323
|
psl4MaxIOPS: 'Psl4MaxIOPS',
|
|
11314
11324
|
psl5MaxIOPS: 'Psl5MaxIOPS',
|
|
11315
11325
|
referenceExtPrice: 'ReferenceExtPrice',
|
|
@@ -11322,6 +11332,7 @@ class DescribeClassListResponseBodyItems extends $tea.Model {
|
|
|
11322
11332
|
classGroup: 'string',
|
|
11323
11333
|
classTypeLevel: 'string',
|
|
11324
11334
|
cpu: 'string',
|
|
11335
|
+
essdMaxStorageCapacity: 'string',
|
|
11325
11336
|
maxConnections: 'string',
|
|
11326
11337
|
maxIOPS: 'string',
|
|
11327
11338
|
maxStorageCapacity: 'string',
|
|
@@ -11329,6 +11340,7 @@ class DescribeClassListResponseBodyItems extends $tea.Model {
|
|
|
11329
11340
|
pl1MaxIOPS: 'string',
|
|
11330
11341
|
pl2MaxIOPS: 'string',
|
|
11331
11342
|
pl3MaxIOPS: 'string',
|
|
11343
|
+
polarStoreMaxStorageCapacity: 'string',
|
|
11332
11344
|
psl4MaxIOPS: 'string',
|
|
11333
11345
|
psl5MaxIOPS: 'string',
|
|
11334
11346
|
referenceExtPrice: 'string',
|
|
@@ -11417,6 +11429,7 @@ class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
11417
11429
|
cpuCores: 'CpuCores',
|
|
11418
11430
|
creationTime: 'CreationTime',
|
|
11419
11431
|
DBNodeClass: 'DBNodeClass',
|
|
11432
|
+
DBNodeDescription: 'DBNodeDescription',
|
|
11420
11433
|
DBNodeId: 'DBNodeId',
|
|
11421
11434
|
DBNodeRole: 'DBNodeRole',
|
|
11422
11435
|
DBNodeStatus: 'DBNodeStatus',
|
|
@@ -11445,6 +11458,7 @@ class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
|
|
|
11445
11458
|
cpuCores: 'string',
|
|
11446
11459
|
creationTime: 'string',
|
|
11447
11460
|
DBNodeClass: 'string',
|
|
11461
|
+
DBNodeDescription: 'string',
|
|
11448
11462
|
DBNodeId: 'string',
|
|
11449
11463
|
DBNodeRole: 'string',
|
|
11450
11464
|
DBNodeStatus: 'string',
|
|
@@ -14120,7 +14134,7 @@ class Client extends openapi_client_1.default {
|
|
|
14120
14134
|
return await this.createAccountWithOptions(request, runtime);
|
|
14121
14135
|
}
|
|
14122
14136
|
/**
|
|
14123
|
-
*
|
|
14137
|
+
* Generates a lightweight license activation code.
|
|
14124
14138
|
*
|
|
14125
14139
|
* @param request - CreateActivationCodeRequest
|
|
14126
14140
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14173,7 +14187,7 @@ class Client extends openapi_client_1.default {
|
|
|
14173
14187
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateActivationCodeResponse({}));
|
|
14174
14188
|
}
|
|
14175
14189
|
/**
|
|
14176
|
-
*
|
|
14190
|
+
* Generates a lightweight license activation code.
|
|
14177
14191
|
*
|
|
14178
14192
|
* @param request - CreateActivationCodeRequest
|
|
14179
14193
|
* @returns CreateActivationCodeResponse
|
|
@@ -14330,6 +14344,9 @@ class Client extends openapi_client_1.default {
|
|
|
14330
14344
|
if (!tea_util_1.default.isUnset(request.backupRetentionPolicyOnClusterDeletion)) {
|
|
14331
14345
|
query["BackupRetentionPolicyOnClusterDeletion"] = request.backupRetentionPolicyOnClusterDeletion;
|
|
14332
14346
|
}
|
|
14347
|
+
if (!tea_util_1.default.isUnset(request.burstingEnabled)) {
|
|
14348
|
+
query["BurstingEnabled"] = request.burstingEnabled;
|
|
14349
|
+
}
|
|
14333
14350
|
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
14334
14351
|
query["ClientToken"] = request.clientToken;
|
|
14335
14352
|
}
|
|
@@ -15051,7 +15068,7 @@ class Client extends openapi_client_1.default {
|
|
|
15051
15068
|
return await this.createGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
15052
15069
|
}
|
|
15053
15070
|
/**
|
|
15054
|
-
*
|
|
15071
|
+
* Creates or obtains a virtual license order.
|
|
15055
15072
|
*
|
|
15056
15073
|
* @param request - CreateOrGetVirtualLicenseOrderRequest
|
|
15057
15074
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15092,7 +15109,7 @@ class Client extends openapi_client_1.default {
|
|
|
15092
15109
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateOrGetVirtualLicenseOrderResponse({}));
|
|
15093
15110
|
}
|
|
15094
15111
|
/**
|
|
15095
|
-
*
|
|
15112
|
+
* Creates or obtains a virtual license order.
|
|
15096
15113
|
*
|
|
15097
15114
|
* @param request - CreateOrGetVirtualLicenseOrderRequest
|
|
15098
15115
|
* @returns CreateOrGetVirtualLicenseOrderResponse
|
|
@@ -16150,7 +16167,7 @@ class Client extends openapi_client_1.default {
|
|
|
16150
16167
|
return await this.describeActivationCodeDetailsWithOptions(request, runtime);
|
|
16151
16168
|
}
|
|
16152
16169
|
/**
|
|
16153
|
-
*
|
|
16170
|
+
* Queries a list of activation codes.
|
|
16154
16171
|
*
|
|
16155
16172
|
* @param request - DescribeActivationCodesRequest
|
|
16156
16173
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16197,7 +16214,7 @@ class Client extends openapi_client_1.default {
|
|
|
16197
16214
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeActivationCodesResponse({}));
|
|
16198
16215
|
}
|
|
16199
16216
|
/**
|
|
16200
|
-
*
|
|
16217
|
+
* Queries a list of activation codes.
|
|
16201
16218
|
*
|
|
16202
16219
|
* @param request - DescribeActivationCodesRequest
|
|
16203
16220
|
* @returns DescribeActivationCodesResponse
|
|
@@ -16975,11 +16992,10 @@ class Client extends openapi_client_1.default {
|
|
|
16975
16992
|
return await this.describeDBClusterEndpointsWithOptions(request, runtime);
|
|
16976
16993
|
}
|
|
16977
16994
|
/**
|
|
16978
|
-
*
|
|
16995
|
+
* The ID of the synchronous task.
|
|
16979
16996
|
*
|
|
16980
16997
|
* @remarks
|
|
16981
|
-
*
|
|
16982
|
-
* * Before you call this operation, make sure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**.
|
|
16998
|
+
* The ID of the request.
|
|
16983
16999
|
*
|
|
16984
17000
|
* @param request - DescribeDBClusterMigrationRequest
|
|
16985
17001
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17020,11 +17036,10 @@ class Client extends openapi_client_1.default {
|
|
|
17020
17036
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
|
|
17021
17037
|
}
|
|
17022
17038
|
/**
|
|
17023
|
-
*
|
|
17039
|
+
* The ID of the synchronous task.
|
|
17024
17040
|
*
|
|
17025
17041
|
* @remarks
|
|
17026
|
-
*
|
|
17027
|
-
* * Before you call this operation, make sure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**.
|
|
17042
|
+
* The ID of the request.
|
|
17028
17043
|
*
|
|
17029
17044
|
* @param request - DescribeDBClusterMigrationRequest
|
|
17030
17045
|
* @returns DescribeDBClusterMigrationResponse
|
|
@@ -18412,7 +18427,7 @@ class Client extends openapi_client_1.default {
|
|
|
18412
18427
|
return await this.describeLicenseOrderDetailsWithOptions(request, runtime);
|
|
18413
18428
|
}
|
|
18414
18429
|
/**
|
|
18415
|
-
*
|
|
18430
|
+
* Queries a list of license orders.
|
|
18416
18431
|
*
|
|
18417
18432
|
* @param request - DescribeLicenseOrdersRequest
|
|
18418
18433
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18468,7 +18483,7 @@ class Client extends openapi_client_1.default {
|
|
|
18468
18483
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLicenseOrdersResponse({}));
|
|
18469
18484
|
}
|
|
18470
18485
|
/**
|
|
18471
|
-
*
|
|
18486
|
+
* Queries a list of license orders.
|
|
18472
18487
|
*
|
|
18473
18488
|
* @param request - DescribeLicenseOrdersRequest
|
|
18474
18489
|
* @returns DescribeLicenseOrdersResponse
|
|
@@ -22944,7 +22959,7 @@ class Client extends openapi_client_1.default {
|
|
|
22944
22959
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
22945
22960
|
}
|
|
22946
22961
|
/**
|
|
22947
|
-
* Temporarily changes the node configurations
|
|
22962
|
+
* Temporarily changes the node configurations.
|
|
22948
22963
|
*
|
|
22949
22964
|
* @param request - TempModifyDBNodeRequest
|
|
22950
22965
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23000,7 +23015,7 @@ class Client extends openapi_client_1.default {
|
|
|
23000
23015
|
return $tea.cast(await this.callApi(params, req, runtime), new TempModifyDBNodeResponse({}));
|
|
23001
23016
|
}
|
|
23002
23017
|
/**
|
|
23003
|
-
* Temporarily changes the node configurations
|
|
23018
|
+
* Temporarily changes the node configurations.
|
|
23004
23019
|
*
|
|
23005
23020
|
* @param request - TempModifyDBNodeRequest
|
|
23006
23021
|
* @returns TempModifyDBNodeResponse
|