@alicloud/polardb20170801 5.3.0 → 5.3.1
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 +81 -10
- package/dist/client.js +16 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +95 -10
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -12,6 +12,14 @@ export class CancelActiveOperationTasksRequest extends $tea.Model {
|
|
|
12
12
|
ownerId?: number;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
+
* The region ID.
|
|
16
|
+
*
|
|
17
|
+
* >
|
|
18
|
+
*
|
|
19
|
+
* * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query the region information about all clusters within a specified account.
|
|
20
|
+
*
|
|
21
|
+
* * If you do not specify this parameter, scheduled tasks on your clusters that are deployed in all regions are queried.
|
|
22
|
+
*
|
|
15
23
|
* This parameter is required.
|
|
16
24
|
*
|
|
17
25
|
* @example
|
|
@@ -23,6 +31,8 @@ export class CancelActiveOperationTasksRequest extends $tea.Model {
|
|
|
23
31
|
securityToken?: string;
|
|
24
32
|
/**
|
|
25
33
|
* @remarks
|
|
34
|
+
* The IDs of O\\&M events that are canceled at a time. Separate multiple IDs with commas (,).
|
|
35
|
+
*
|
|
26
36
|
* This parameter is required.
|
|
27
37
|
*
|
|
28
38
|
* @example
|
|
@@ -60,11 +70,17 @@ export class CancelActiveOperationTasksRequest extends $tea.Model {
|
|
|
60
70
|
|
|
61
71
|
export class CancelActiveOperationTasksResponseBody extends $tea.Model {
|
|
62
72
|
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The ID of the request.
|
|
75
|
+
*
|
|
63
76
|
* @example
|
|
64
77
|
* 25C70FF3-D49B-594D-BECE-0DE2BA1D8BBB
|
|
65
78
|
*/
|
|
66
79
|
requestId?: string;
|
|
67
80
|
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The IDs of O\\&M events that are canceled at a time. Separate multiple IDs with commas (,).
|
|
83
|
+
*
|
|
68
84
|
* @example
|
|
69
85
|
* 2355,2352
|
|
70
86
|
*/
|
|
@@ -2106,6 +2122,8 @@ export class CreateDBClusterRequest extends $tea.Model {
|
|
|
2106
2122
|
* Enable
|
|
2107
2123
|
*/
|
|
2108
2124
|
storageAutoScale?: string;
|
|
2125
|
+
storageEncryption?: boolean;
|
|
2126
|
+
storageEncryptionKey?: string;
|
|
2109
2127
|
/**
|
|
2110
2128
|
* @remarks
|
|
2111
2129
|
* The storage billing type, with valid values as follows:
|
|
@@ -2271,6 +2289,8 @@ export class CreateDBClusterRequest extends $tea.Model {
|
|
|
2271
2289
|
sourceResourceId: 'SourceResourceId',
|
|
2272
2290
|
standbyAZ: 'StandbyAZ',
|
|
2273
2291
|
storageAutoScale: 'StorageAutoScale',
|
|
2292
|
+
storageEncryption: 'StorageEncryption',
|
|
2293
|
+
storageEncryptionKey: 'StorageEncryptionKey',
|
|
2274
2294
|
storagePayType: 'StoragePayType',
|
|
2275
2295
|
storageSpace: 'StorageSpace',
|
|
2276
2296
|
storageType: 'StorageType',
|
|
@@ -2332,6 +2352,8 @@ export class CreateDBClusterRequest extends $tea.Model {
|
|
|
2332
2352
|
sourceResourceId: 'string',
|
|
2333
2353
|
standbyAZ: 'string',
|
|
2334
2354
|
storageAutoScale: 'string',
|
|
2355
|
+
storageEncryption: 'boolean',
|
|
2356
|
+
storageEncryptionKey: 'string',
|
|
2335
2357
|
storagePayType: 'string',
|
|
2336
2358
|
storageSpace: 'number',
|
|
2337
2359
|
storageType: 'string',
|
|
@@ -10502,6 +10524,7 @@ export class DescribeDBClusterTDEResponseBody extends $tea.Model {
|
|
|
10502
10524
|
* 2a4f4ac2-****-****-****-************
|
|
10503
10525
|
*/
|
|
10504
10526
|
encryptionKey?: string;
|
|
10527
|
+
encryptionKeyStatus?: string;
|
|
10505
10528
|
/**
|
|
10506
10529
|
* @remarks
|
|
10507
10530
|
* The ID of the request.
|
|
@@ -10547,6 +10570,7 @@ export class DescribeDBClusterTDEResponseBody extends $tea.Model {
|
|
|
10547
10570
|
DBClusterId: 'DBClusterId',
|
|
10548
10571
|
encryptNewTables: 'EncryptNewTables',
|
|
10549
10572
|
encryptionKey: 'EncryptionKey',
|
|
10573
|
+
encryptionKeyStatus: 'EncryptionKeyStatus',
|
|
10550
10574
|
requestId: 'RequestId',
|
|
10551
10575
|
rotationInterval: 'RotationInterval',
|
|
10552
10576
|
TDERegion: 'TDERegion',
|
|
@@ -10560,6 +10584,7 @@ export class DescribeDBClusterTDEResponseBody extends $tea.Model {
|
|
|
10560
10584
|
DBClusterId: 'string',
|
|
10561
10585
|
encryptNewTables: 'string',
|
|
10562
10586
|
encryptionKey: 'string',
|
|
10587
|
+
encryptionKeyStatus: 'string',
|
|
10563
10588
|
requestId: 'string',
|
|
10564
10589
|
rotationInterval: 'string',
|
|
10565
10590
|
TDERegion: 'string',
|
|
@@ -16246,8 +16271,6 @@ export class DescribeUserEncryptionKeyListRequest extends $tea.Model {
|
|
|
16246
16271
|
*
|
|
16247
16272
|
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query information about all clusters that are deployed in a specified region, such as the cluster ID.
|
|
16248
16273
|
*
|
|
16249
|
-
* This parameter is required.
|
|
16250
|
-
*
|
|
16251
16274
|
* @example
|
|
16252
16275
|
* pc-************
|
|
16253
16276
|
*/
|
|
@@ -18027,6 +18050,18 @@ export class ModifyAccountPasswordResponse extends $tea.Model {
|
|
|
18027
18050
|
|
|
18028
18051
|
export class ModifyActiveOperationTasksRequest extends $tea.Model {
|
|
18029
18052
|
/**
|
|
18053
|
+
* @remarks
|
|
18054
|
+
* Specifies whether to immediately start scheduling. Valid values:
|
|
18055
|
+
*
|
|
18056
|
+
* * 0: No. This is the default value.
|
|
18057
|
+
* * 1: Yes.
|
|
18058
|
+
*
|
|
18059
|
+
* >
|
|
18060
|
+
*
|
|
18061
|
+
* * If you set this parameter to 0, you must specify the SwitchTime parameter.
|
|
18062
|
+
*
|
|
18063
|
+
* * If you set this parameter to 1, the SwitchTime parameter does not take effect. In this case, the start time of the event is set to the current time, and the system determines the switching time based on the start time. Scheduling is started immediately, which is a prerequisite for the switchover. Then, the switchover is performed. You can call the DescribeActiveOperationTasks operation and check the return value of the PrepareInterval parameter for the preparation time.
|
|
18064
|
+
*
|
|
18030
18065
|
* @example
|
|
18031
18066
|
* 0
|
|
18032
18067
|
*/
|
|
@@ -18035,6 +18070,10 @@ export class ModifyActiveOperationTasksRequest extends $tea.Model {
|
|
|
18035
18070
|
ownerId?: number;
|
|
18036
18071
|
/**
|
|
18037
18072
|
* @remarks
|
|
18073
|
+
* The region ID.
|
|
18074
|
+
*
|
|
18075
|
+
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query the region information about all clusters within a specified account.
|
|
18076
|
+
*
|
|
18038
18077
|
* This parameter is required.
|
|
18039
18078
|
*
|
|
18040
18079
|
* @example
|
|
@@ -18045,12 +18084,23 @@ export class ModifyActiveOperationTasksRequest extends $tea.Model {
|
|
|
18045
18084
|
resourceOwnerId?: number;
|
|
18046
18085
|
securityToken?: string;
|
|
18047
18086
|
/**
|
|
18087
|
+
* @remarks
|
|
18088
|
+
* The scheduled switching time that you want to specify. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
|
|
18089
|
+
*
|
|
18090
|
+
* >
|
|
18091
|
+
*
|
|
18092
|
+
* * The time that is specified by this parameter cannot be later than the latest execution time.
|
|
18093
|
+
*
|
|
18094
|
+
* * You can call the DescribeActiveOperationTasks operation and check the return value of the Deadline parameter for the latest execution time.
|
|
18095
|
+
*
|
|
18048
18096
|
* @example
|
|
18049
18097
|
* 2023-04-25T06:00:00Z
|
|
18050
18098
|
*/
|
|
18051
18099
|
switchTime?: string;
|
|
18052
18100
|
/**
|
|
18053
18101
|
* @remarks
|
|
18102
|
+
* The task IDs.
|
|
18103
|
+
*
|
|
18054
18104
|
* This parameter is required.
|
|
18055
18105
|
*
|
|
18056
18106
|
* @example
|
|
@@ -18092,11 +18142,17 @@ export class ModifyActiveOperationTasksRequest extends $tea.Model {
|
|
|
18092
18142
|
|
|
18093
18143
|
export class ModifyActiveOperationTasksResponseBody extends $tea.Model {
|
|
18094
18144
|
/**
|
|
18145
|
+
* @remarks
|
|
18146
|
+
* The request ID.
|
|
18147
|
+
*
|
|
18095
18148
|
* @example
|
|
18096
18149
|
* 42CD2EF5-D77E-5AD4-961B-159330D98286
|
|
18097
18150
|
*/
|
|
18098
18151
|
requestId?: string;
|
|
18099
18152
|
/**
|
|
18153
|
+
* @remarks
|
|
18154
|
+
* The task IDs.
|
|
18155
|
+
*
|
|
18100
18156
|
* @example
|
|
18101
18157
|
* 11111,22222
|
|
18102
18158
|
*/
|
|
@@ -19016,7 +19072,7 @@ export class ModifyDBClusterAccessWhitelistResponse extends $tea.Model {
|
|
|
19016
19072
|
export class ModifyDBClusterAndNodesParametersRequest extends $tea.Model {
|
|
19017
19073
|
/**
|
|
19018
19074
|
* @remarks
|
|
19019
|
-
* The cluster
|
|
19075
|
+
* The ID of the cluster.
|
|
19020
19076
|
*
|
|
19021
19077
|
* This parameter is required.
|
|
19022
19078
|
*
|
|
@@ -19026,9 +19082,9 @@ export class ModifyDBClusterAndNodesParametersRequest extends $tea.Model {
|
|
|
19026
19082
|
DBClusterId?: string;
|
|
19027
19083
|
/**
|
|
19028
19084
|
* @remarks
|
|
19029
|
-
* The
|
|
19085
|
+
* The IDs of nodes. You can specify this parameter, or leave this parameter empty. Separate multiple node IDs with commas (,).
|
|
19030
19086
|
*
|
|
19031
|
-
* >
|
|
19087
|
+
* > If you do not specify this parameter, only the cluster parameters are modified.
|
|
19032
19088
|
*
|
|
19033
19089
|
* @example
|
|
19034
19090
|
* pi-****************,pi-**********,
|
|
@@ -19049,7 +19105,7 @@ export class ModifyDBClusterAndNodesParametersRequest extends $tea.Model {
|
|
|
19049
19105
|
ownerId?: number;
|
|
19050
19106
|
/**
|
|
19051
19107
|
* @remarks
|
|
19052
|
-
* The ID of the parameter template
|
|
19108
|
+
* The ID of the parameter template.
|
|
19053
19109
|
*
|
|
19054
19110
|
* @example
|
|
19055
19111
|
* pcpg-**************
|
|
@@ -19093,6 +19149,13 @@ export class ModifyDBClusterAndNodesParametersRequest extends $tea.Model {
|
|
|
19093
19149
|
plannedStartTime?: string;
|
|
19094
19150
|
resourceOwnerAccount?: string;
|
|
19095
19151
|
resourceOwnerId?: number;
|
|
19152
|
+
/**
|
|
19153
|
+
* @remarks
|
|
19154
|
+
* The secondary clusters in the GDN to which the parameter settings are synchronized.
|
|
19155
|
+
*
|
|
19156
|
+
* @example
|
|
19157
|
+
* gdn-**********,gdn-**********
|
|
19158
|
+
*/
|
|
19096
19159
|
standbyClusterIdListNeedToSync?: string;
|
|
19097
19160
|
static names(): { [key: string]: string } {
|
|
19098
19161
|
return {
|
|
@@ -26727,6 +26790,13 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
|
|
|
26727
26790
|
* 8
|
|
26728
26791
|
*/
|
|
26729
26792
|
cpu?: string;
|
|
26793
|
+
/**
|
|
26794
|
+
* @remarks
|
|
26795
|
+
* The maximum ESSD storage capacity. Unit: TB.
|
|
26796
|
+
*
|
|
26797
|
+
* @example
|
|
26798
|
+
* 64
|
|
26799
|
+
*/
|
|
26730
26800
|
essdMaxStorageCapacity?: string;
|
|
26731
26801
|
/**
|
|
26732
26802
|
* @remarks
|
|
@@ -26784,6 +26854,13 @@ export class DescribeClassListResponseBodyItems extends $tea.Model {
|
|
|
26784
26854
|
* 1000000
|
|
26785
26855
|
*/
|
|
26786
26856
|
pl3MaxIOPS?: string;
|
|
26857
|
+
/**
|
|
26858
|
+
* @remarks
|
|
26859
|
+
* The maximum PSL4/PSL5 storage capacity. Unit: TB.
|
|
26860
|
+
*
|
|
26861
|
+
* @example
|
|
26862
|
+
* 500
|
|
26863
|
+
*/
|
|
26787
26864
|
polarStoreMaxStorageCapacity?: string;
|
|
26788
26865
|
/**
|
|
26789
26866
|
* @remarks
|
|
@@ -33437,7 +33514,7 @@ export default class Client extends OpenApi {
|
|
|
33437
33514
|
}
|
|
33438
33515
|
|
|
33439
33516
|
/**
|
|
33440
|
-
*
|
|
33517
|
+
* Cancels O\\&M events at a time.
|
|
33441
33518
|
*
|
|
33442
33519
|
* @param request - CancelActiveOperationTasksRequest
|
|
33443
33520
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -33492,7 +33569,7 @@ export default class Client extends OpenApi {
|
|
|
33492
33569
|
}
|
|
33493
33570
|
|
|
33494
33571
|
/**
|
|
33495
|
-
*
|
|
33572
|
+
* Cancels O\\&M events at a time.
|
|
33496
33573
|
*
|
|
33497
33574
|
* @param request - CancelActiveOperationTasksRequest
|
|
33498
33575
|
* @returns CancelActiveOperationTasksResponse
|
|
@@ -34440,6 +34517,14 @@ export default class Client extends OpenApi {
|
|
|
34440
34517
|
query["StorageAutoScale"] = request.storageAutoScale;
|
|
34441
34518
|
}
|
|
34442
34519
|
|
|
34520
|
+
if (!Util.isUnset(request.storageEncryption)) {
|
|
34521
|
+
query["StorageEncryption"] = request.storageEncryption;
|
|
34522
|
+
}
|
|
34523
|
+
|
|
34524
|
+
if (!Util.isUnset(request.storageEncryptionKey)) {
|
|
34525
|
+
query["StorageEncryptionKey"] = request.storageEncryptionKey;
|
|
34526
|
+
}
|
|
34527
|
+
|
|
34443
34528
|
if (!Util.isUnset(request.storagePayType)) {
|
|
34444
34529
|
query["StoragePayType"] = request.storagePayType;
|
|
34445
34530
|
}
|
|
@@ -41121,7 +41206,7 @@ export default class Client extends OpenApi {
|
|
|
41121
41206
|
}
|
|
41122
41207
|
|
|
41123
41208
|
/**
|
|
41124
|
-
*
|
|
41209
|
+
* Modifies the switching time of scheduled O\\&M events for an instance.
|
|
41125
41210
|
*
|
|
41126
41211
|
* @param request - ModifyActiveOperationTasksRequest
|
|
41127
41212
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -41184,7 +41269,7 @@ export default class Client extends OpenApi {
|
|
|
41184
41269
|
}
|
|
41185
41270
|
|
|
41186
41271
|
/**
|
|
41187
|
-
*
|
|
41272
|
+
* Modifies the switching time of scheduled O\\&M events for an instance.
|
|
41188
41273
|
*
|
|
41189
41274
|
* @param request - ModifyActiveOperationTasksRequest
|
|
41190
41275
|
* @returns ModifyActiveOperationTasksResponse
|