@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/dist/client.d.ts
CHANGED
|
@@ -8,6 +8,14 @@ export declare class CancelActiveOperationTasksRequest extends $tea.Model {
|
|
|
8
8
|
ownerId?: number;
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
+
* The region ID.
|
|
12
|
+
*
|
|
13
|
+
* >
|
|
14
|
+
*
|
|
15
|
+
* * 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.
|
|
16
|
+
*
|
|
17
|
+
* * If you do not specify this parameter, scheduled tasks on your clusters that are deployed in all regions are queried.
|
|
18
|
+
*
|
|
11
19
|
* This parameter is required.
|
|
12
20
|
*
|
|
13
21
|
* @example
|
|
@@ -19,6 +27,8 @@ export declare class CancelActiveOperationTasksRequest extends $tea.Model {
|
|
|
19
27
|
securityToken?: string;
|
|
20
28
|
/**
|
|
21
29
|
* @remarks
|
|
30
|
+
* The IDs of O\\&M events that are canceled at a time. Separate multiple IDs with commas (,).
|
|
31
|
+
*
|
|
22
32
|
* This parameter is required.
|
|
23
33
|
*
|
|
24
34
|
* @example
|
|
@@ -37,11 +47,17 @@ export declare class CancelActiveOperationTasksRequest extends $tea.Model {
|
|
|
37
47
|
}
|
|
38
48
|
export declare class CancelActiveOperationTasksResponseBody extends $tea.Model {
|
|
39
49
|
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The ID of the request.
|
|
52
|
+
*
|
|
40
53
|
* @example
|
|
41
54
|
* 25C70FF3-D49B-594D-BECE-0DE2BA1D8BBB
|
|
42
55
|
*/
|
|
43
56
|
requestId?: string;
|
|
44
57
|
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* The IDs of O\\&M events that are canceled at a time. Separate multiple IDs with commas (,).
|
|
60
|
+
*
|
|
45
61
|
* @example
|
|
46
62
|
* 2355,2352
|
|
47
63
|
*/
|
|
@@ -1640,6 +1656,8 @@ export declare class CreateDBClusterRequest extends $tea.Model {
|
|
|
1640
1656
|
* Enable
|
|
1641
1657
|
*/
|
|
1642
1658
|
storageAutoScale?: string;
|
|
1659
|
+
storageEncryption?: boolean;
|
|
1660
|
+
storageEncryptionKey?: string;
|
|
1643
1661
|
/**
|
|
1644
1662
|
* @remarks
|
|
1645
1663
|
* The storage billing type, with valid values as follows:
|
|
@@ -7773,6 +7791,7 @@ export declare class DescribeDBClusterTDEResponseBody extends $tea.Model {
|
|
|
7773
7791
|
* 2a4f4ac2-****-****-****-************
|
|
7774
7792
|
*/
|
|
7775
7793
|
encryptionKey?: string;
|
|
7794
|
+
encryptionKeyStatus?: string;
|
|
7776
7795
|
/**
|
|
7777
7796
|
* @remarks
|
|
7778
7797
|
* The ID of the request.
|
|
@@ -12022,8 +12041,6 @@ export declare class DescribeUserEncryptionKeyListRequest extends $tea.Model {
|
|
|
12022
12041
|
*
|
|
12023
12042
|
* > 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.
|
|
12024
12043
|
*
|
|
12025
|
-
* This parameter is required.
|
|
12026
|
-
*
|
|
12027
12044
|
* @example
|
|
12028
12045
|
* pc-************
|
|
12029
12046
|
*/
|
|
@@ -13315,6 +13332,18 @@ export declare class ModifyAccountPasswordResponse extends $tea.Model {
|
|
|
13315
13332
|
}
|
|
13316
13333
|
export declare class ModifyActiveOperationTasksRequest extends $tea.Model {
|
|
13317
13334
|
/**
|
|
13335
|
+
* @remarks
|
|
13336
|
+
* Specifies whether to immediately start scheduling. Valid values:
|
|
13337
|
+
*
|
|
13338
|
+
* * 0: No. This is the default value.
|
|
13339
|
+
* * 1: Yes.
|
|
13340
|
+
*
|
|
13341
|
+
* >
|
|
13342
|
+
*
|
|
13343
|
+
* * If you set this parameter to 0, you must specify the SwitchTime parameter.
|
|
13344
|
+
*
|
|
13345
|
+
* * 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.
|
|
13346
|
+
*
|
|
13318
13347
|
* @example
|
|
13319
13348
|
* 0
|
|
13320
13349
|
*/
|
|
@@ -13323,6 +13352,10 @@ export declare class ModifyActiveOperationTasksRequest extends $tea.Model {
|
|
|
13323
13352
|
ownerId?: number;
|
|
13324
13353
|
/**
|
|
13325
13354
|
* @remarks
|
|
13355
|
+
* The region ID.
|
|
13356
|
+
*
|
|
13357
|
+
* > 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.
|
|
13358
|
+
*
|
|
13326
13359
|
* This parameter is required.
|
|
13327
13360
|
*
|
|
13328
13361
|
* @example
|
|
@@ -13333,12 +13366,23 @@ export declare class ModifyActiveOperationTasksRequest extends $tea.Model {
|
|
|
13333
13366
|
resourceOwnerId?: number;
|
|
13334
13367
|
securityToken?: string;
|
|
13335
13368
|
/**
|
|
13369
|
+
* @remarks
|
|
13370
|
+
* 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.
|
|
13371
|
+
*
|
|
13372
|
+
* >
|
|
13373
|
+
*
|
|
13374
|
+
* * The time that is specified by this parameter cannot be later than the latest execution time.
|
|
13375
|
+
*
|
|
13376
|
+
* * You can call the DescribeActiveOperationTasks operation and check the return value of the Deadline parameter for the latest execution time.
|
|
13377
|
+
*
|
|
13336
13378
|
* @example
|
|
13337
13379
|
* 2023-04-25T06:00:00Z
|
|
13338
13380
|
*/
|
|
13339
13381
|
switchTime?: string;
|
|
13340
13382
|
/**
|
|
13341
13383
|
* @remarks
|
|
13384
|
+
* The task IDs.
|
|
13385
|
+
*
|
|
13342
13386
|
* This parameter is required.
|
|
13343
13387
|
*
|
|
13344
13388
|
* @example
|
|
@@ -13357,11 +13401,17 @@ export declare class ModifyActiveOperationTasksRequest extends $tea.Model {
|
|
|
13357
13401
|
}
|
|
13358
13402
|
export declare class ModifyActiveOperationTasksResponseBody extends $tea.Model {
|
|
13359
13403
|
/**
|
|
13404
|
+
* @remarks
|
|
13405
|
+
* The request ID.
|
|
13406
|
+
*
|
|
13360
13407
|
* @example
|
|
13361
13408
|
* 42CD2EF5-D77E-5AD4-961B-159330D98286
|
|
13362
13409
|
*/
|
|
13363
13410
|
requestId?: string;
|
|
13364
13411
|
/**
|
|
13412
|
+
* @remarks
|
|
13413
|
+
* The task IDs.
|
|
13414
|
+
*
|
|
13365
13415
|
* @example
|
|
13366
13416
|
* 11111,22222
|
|
13367
13417
|
*/
|
|
@@ -14071,7 +14121,7 @@ export declare class ModifyDBClusterAccessWhitelistResponse extends $tea.Model {
|
|
|
14071
14121
|
export declare class ModifyDBClusterAndNodesParametersRequest extends $tea.Model {
|
|
14072
14122
|
/**
|
|
14073
14123
|
* @remarks
|
|
14074
|
-
* The cluster
|
|
14124
|
+
* The ID of the cluster.
|
|
14075
14125
|
*
|
|
14076
14126
|
* This parameter is required.
|
|
14077
14127
|
*
|
|
@@ -14081,9 +14131,9 @@ export declare class ModifyDBClusterAndNodesParametersRequest extends $tea.Model
|
|
|
14081
14131
|
DBClusterId?: string;
|
|
14082
14132
|
/**
|
|
14083
14133
|
* @remarks
|
|
14084
|
-
* The
|
|
14134
|
+
* The IDs of nodes. You can specify this parameter, or leave this parameter empty. Separate multiple node IDs with commas (,).
|
|
14085
14135
|
*
|
|
14086
|
-
* >
|
|
14136
|
+
* > If you do not specify this parameter, only the cluster parameters are modified.
|
|
14087
14137
|
*
|
|
14088
14138
|
* @example
|
|
14089
14139
|
* pi-****************,pi-**********,
|
|
@@ -14104,7 +14154,7 @@ export declare class ModifyDBClusterAndNodesParametersRequest extends $tea.Model
|
|
|
14104
14154
|
ownerId?: number;
|
|
14105
14155
|
/**
|
|
14106
14156
|
* @remarks
|
|
14107
|
-
* The ID of the parameter template
|
|
14157
|
+
* The ID of the parameter template.
|
|
14108
14158
|
*
|
|
14109
14159
|
* @example
|
|
14110
14160
|
* pcpg-**************
|
|
@@ -14148,6 +14198,13 @@ export declare class ModifyDBClusterAndNodesParametersRequest extends $tea.Model
|
|
|
14148
14198
|
plannedStartTime?: string;
|
|
14149
14199
|
resourceOwnerAccount?: string;
|
|
14150
14200
|
resourceOwnerId?: number;
|
|
14201
|
+
/**
|
|
14202
|
+
* @remarks
|
|
14203
|
+
* The secondary clusters in the GDN to which the parameter settings are synchronized.
|
|
14204
|
+
*
|
|
14205
|
+
* @example
|
|
14206
|
+
* gdn-**********,gdn-**********
|
|
14207
|
+
*/
|
|
14151
14208
|
standbyClusterIdListNeedToSync?: string;
|
|
14152
14209
|
static names(): {
|
|
14153
14210
|
[key: string]: string;
|
|
@@ -19746,6 +19803,13 @@ export declare class DescribeClassListResponseBodyItems extends $tea.Model {
|
|
|
19746
19803
|
* 8
|
|
19747
19804
|
*/
|
|
19748
19805
|
cpu?: string;
|
|
19806
|
+
/**
|
|
19807
|
+
* @remarks
|
|
19808
|
+
* The maximum ESSD storage capacity. Unit: TB.
|
|
19809
|
+
*
|
|
19810
|
+
* @example
|
|
19811
|
+
* 64
|
|
19812
|
+
*/
|
|
19749
19813
|
essdMaxStorageCapacity?: string;
|
|
19750
19814
|
/**
|
|
19751
19815
|
* @remarks
|
|
@@ -19803,6 +19867,13 @@ export declare class DescribeClassListResponseBodyItems extends $tea.Model {
|
|
|
19803
19867
|
* 1000000
|
|
19804
19868
|
*/
|
|
19805
19869
|
pl3MaxIOPS?: string;
|
|
19870
|
+
/**
|
|
19871
|
+
* @remarks
|
|
19872
|
+
* The maximum PSL4/PSL5 storage capacity. Unit: TB.
|
|
19873
|
+
*
|
|
19874
|
+
* @example
|
|
19875
|
+
* 500
|
|
19876
|
+
*/
|
|
19806
19877
|
polarStoreMaxStorageCapacity?: string;
|
|
19807
19878
|
/**
|
|
19808
19879
|
* @remarks
|
|
@@ -24932,7 +25003,7 @@ export default class Client extends OpenApi {
|
|
|
24932
25003
|
[key: string]: string;
|
|
24933
25004
|
}, endpoint: string): string;
|
|
24934
25005
|
/**
|
|
24935
|
-
*
|
|
25006
|
+
* Cancels O\\&M events at a time.
|
|
24936
25007
|
*
|
|
24937
25008
|
* @param request - CancelActiveOperationTasksRequest
|
|
24938
25009
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -24940,7 +25011,7 @@ export default class Client extends OpenApi {
|
|
|
24940
25011
|
*/
|
|
24941
25012
|
cancelActiveOperationTasksWithOptions(request: CancelActiveOperationTasksRequest, runtime: $Util.RuntimeOptions): Promise<CancelActiveOperationTasksResponse>;
|
|
24942
25013
|
/**
|
|
24943
|
-
*
|
|
25014
|
+
* Cancels O\\&M events at a time.
|
|
24944
25015
|
*
|
|
24945
25016
|
* @param request - CancelActiveOperationTasksRequest
|
|
24946
25017
|
* @returns CancelActiveOperationTasksResponse
|
|
@@ -26740,7 +26811,7 @@ export default class Client extends OpenApi {
|
|
|
26740
26811
|
*/
|
|
26741
26812
|
modifyAccountPassword(request: ModifyAccountPasswordRequest): Promise<ModifyAccountPasswordResponse>;
|
|
26742
26813
|
/**
|
|
26743
|
-
*
|
|
26814
|
+
* Modifies the switching time of scheduled O\\&M events for an instance.
|
|
26744
26815
|
*
|
|
26745
26816
|
* @param request - ModifyActiveOperationTasksRequest
|
|
26746
26817
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26748,7 +26819,7 @@ export default class Client extends OpenApi {
|
|
|
26748
26819
|
*/
|
|
26749
26820
|
modifyActiveOperationTasksWithOptions(request: ModifyActiveOperationTasksRequest, runtime: $Util.RuntimeOptions): Promise<ModifyActiveOperationTasksResponse>;
|
|
26750
26821
|
/**
|
|
26751
|
-
*
|
|
26822
|
+
* Modifies the switching time of scheduled O\\&M events for an instance.
|
|
26752
26823
|
*
|
|
26753
26824
|
* @param request - ModifyActiveOperationTasksRequest
|
|
26754
26825
|
* @returns ModifyActiveOperationTasksResponse
|
package/dist/client.js
CHANGED
|
@@ -913,6 +913,8 @@ class CreateDBClusterRequest extends $tea.Model {
|
|
|
913
913
|
sourceResourceId: 'SourceResourceId',
|
|
914
914
|
standbyAZ: 'StandbyAZ',
|
|
915
915
|
storageAutoScale: 'StorageAutoScale',
|
|
916
|
+
storageEncryption: 'StorageEncryption',
|
|
917
|
+
storageEncryptionKey: 'StorageEncryptionKey',
|
|
916
918
|
storagePayType: 'StoragePayType',
|
|
917
919
|
storageSpace: 'StorageSpace',
|
|
918
920
|
storageType: 'StorageType',
|
|
@@ -973,6 +975,8 @@ class CreateDBClusterRequest extends $tea.Model {
|
|
|
973
975
|
sourceResourceId: 'string',
|
|
974
976
|
standbyAZ: 'string',
|
|
975
977
|
storageAutoScale: 'string',
|
|
978
|
+
storageEncryption: 'boolean',
|
|
979
|
+
storageEncryptionKey: 'string',
|
|
976
980
|
storagePayType: 'string',
|
|
977
981
|
storageSpace: 'number',
|
|
978
982
|
storageType: 'string',
|
|
@@ -4537,6 +4541,7 @@ class DescribeDBClusterTDEResponseBody extends $tea.Model {
|
|
|
4537
4541
|
DBClusterId: 'DBClusterId',
|
|
4538
4542
|
encryptNewTables: 'EncryptNewTables',
|
|
4539
4543
|
encryptionKey: 'EncryptionKey',
|
|
4544
|
+
encryptionKeyStatus: 'EncryptionKeyStatus',
|
|
4540
4545
|
requestId: 'RequestId',
|
|
4541
4546
|
rotationInterval: 'RotationInterval',
|
|
4542
4547
|
TDERegion: 'TDERegion',
|
|
@@ -4549,6 +4554,7 @@ class DescribeDBClusterTDEResponseBody extends $tea.Model {
|
|
|
4549
4554
|
DBClusterId: 'string',
|
|
4550
4555
|
encryptNewTables: 'string',
|
|
4551
4556
|
encryptionKey: 'string',
|
|
4557
|
+
encryptionKeyStatus: 'string',
|
|
4552
4558
|
requestId: 'string',
|
|
4553
4559
|
rotationInterval: 'string',
|
|
4554
4560
|
TDERegion: 'string',
|
|
@@ -13981,7 +13987,7 @@ class Client extends openapi_client_1.default {
|
|
|
13981
13987
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
13982
13988
|
}
|
|
13983
13989
|
/**
|
|
13984
|
-
*
|
|
13990
|
+
* Cancels O\\&M events at a time.
|
|
13985
13991
|
*
|
|
13986
13992
|
* @param request - CancelActiveOperationTasksRequest
|
|
13987
13993
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14028,7 +14034,7 @@ class Client extends openapi_client_1.default {
|
|
|
14028
14034
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelActiveOperationTasksResponse({}));
|
|
14029
14035
|
}
|
|
14030
14036
|
/**
|
|
14031
|
-
*
|
|
14037
|
+
* Cancels O\\&M events at a time.
|
|
14032
14038
|
*
|
|
14033
14039
|
* @param request - CancelActiveOperationTasksRequest
|
|
14034
14040
|
* @returns CancelActiveOperationTasksResponse
|
|
@@ -14831,6 +14837,12 @@ class Client extends openapi_client_1.default {
|
|
|
14831
14837
|
if (!tea_util_1.default.isUnset(request.storageAutoScale)) {
|
|
14832
14838
|
query["StorageAutoScale"] = request.storageAutoScale;
|
|
14833
14839
|
}
|
|
14840
|
+
if (!tea_util_1.default.isUnset(request.storageEncryption)) {
|
|
14841
|
+
query["StorageEncryption"] = request.storageEncryption;
|
|
14842
|
+
}
|
|
14843
|
+
if (!tea_util_1.default.isUnset(request.storageEncryptionKey)) {
|
|
14844
|
+
query["StorageEncryptionKey"] = request.storageEncryptionKey;
|
|
14845
|
+
}
|
|
14834
14846
|
if (!tea_util_1.default.isUnset(request.storagePayType)) {
|
|
14835
14847
|
query["StoragePayType"] = request.storagePayType;
|
|
14836
14848
|
}
|
|
@@ -20586,7 +20598,7 @@ class Client extends openapi_client_1.default {
|
|
|
20586
20598
|
return await this.modifyAccountPasswordWithOptions(request, runtime);
|
|
20587
20599
|
}
|
|
20588
20600
|
/**
|
|
20589
|
-
*
|
|
20601
|
+
* Modifies the switching time of scheduled O\\&M events for an instance.
|
|
20590
20602
|
*
|
|
20591
20603
|
* @param request - ModifyActiveOperationTasksRequest
|
|
20592
20604
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20639,7 +20651,7 @@ class Client extends openapi_client_1.default {
|
|
|
20639
20651
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyActiveOperationTasksResponse({}));
|
|
20640
20652
|
}
|
|
20641
20653
|
/**
|
|
20642
|
-
*
|
|
20654
|
+
* Modifies the switching time of scheduled O\\&M events for an instance.
|
|
20643
20655
|
*
|
|
20644
20656
|
* @param request - ModifyActiveOperationTasksRequest
|
|
20645
20657
|
* @returns ModifyActiveOperationTasksResponse
|