@alicloud/polardb20170801 5.2.2 → 5.3.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 +675 -56
- package/dist/client.js +546 -29
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1080 -56
package/src/client.ts
CHANGED
|
@@ -7,6 +7,112 @@ import OpenApiUtil from '@alicloud/openapi-util';
|
|
|
7
7
|
import EndpointUtil from '@alicloud/endpoint-util';
|
|
8
8
|
import * as $tea from '@alicloud/tea-typescript';
|
|
9
9
|
|
|
10
|
+
export class CancelActiveOperationTasksRequest extends $tea.Model {
|
|
11
|
+
ownerAccount?: string;
|
|
12
|
+
ownerId?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* This parameter is required.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* cn-beijing
|
|
19
|
+
*/
|
|
20
|
+
regionId?: string;
|
|
21
|
+
resourceOwnerAccount?: string;
|
|
22
|
+
resourceOwnerId?: number;
|
|
23
|
+
securityToken?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* 2355,2352
|
|
30
|
+
*/
|
|
31
|
+
taskIds?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
ownerAccount: 'OwnerAccount',
|
|
35
|
+
ownerId: 'OwnerId',
|
|
36
|
+
regionId: 'RegionId',
|
|
37
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
38
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
39
|
+
securityToken: 'SecurityToken',
|
|
40
|
+
taskIds: 'TaskIds',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static types(): { [key: string]: any } {
|
|
45
|
+
return {
|
|
46
|
+
ownerAccount: 'string',
|
|
47
|
+
ownerId: 'number',
|
|
48
|
+
regionId: 'string',
|
|
49
|
+
resourceOwnerAccount: 'string',
|
|
50
|
+
resourceOwnerId: 'number',
|
|
51
|
+
securityToken: 'string',
|
|
52
|
+
taskIds: 'string',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
constructor(map?: { [key: string]: any }) {
|
|
57
|
+
super(map);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export class CancelActiveOperationTasksResponseBody extends $tea.Model {
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* 25C70FF3-D49B-594D-BECE-0DE2BA1D8BBB
|
|
65
|
+
*/
|
|
66
|
+
requestId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* 2355,2352
|
|
70
|
+
*/
|
|
71
|
+
taskIds?: string;
|
|
72
|
+
static names(): { [key: string]: string } {
|
|
73
|
+
return {
|
|
74
|
+
requestId: 'RequestId',
|
|
75
|
+
taskIds: 'TaskIds',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
static types(): { [key: string]: any } {
|
|
80
|
+
return {
|
|
81
|
+
requestId: 'string',
|
|
82
|
+
taskIds: 'string',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
constructor(map?: { [key: string]: any }) {
|
|
87
|
+
super(map);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export class CancelActiveOperationTasksResponse extends $tea.Model {
|
|
92
|
+
headers?: { [key: string]: string };
|
|
93
|
+
statusCode?: number;
|
|
94
|
+
body?: CancelActiveOperationTasksResponseBody;
|
|
95
|
+
static names(): { [key: string]: string } {
|
|
96
|
+
return {
|
|
97
|
+
headers: 'headers',
|
|
98
|
+
statusCode: 'statusCode',
|
|
99
|
+
body: 'body',
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
static types(): { [key: string]: any } {
|
|
104
|
+
return {
|
|
105
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
106
|
+
statusCode: 'number',
|
|
107
|
+
body: CancelActiveOperationTasksResponseBody,
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
constructor(map?: { [key: string]: any }) {
|
|
112
|
+
super(map);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
10
116
|
export class CancelScheduleTasksRequest extends $tea.Model {
|
|
11
117
|
/**
|
|
12
118
|
* @remarks
|
|
@@ -844,8 +950,8 @@ export class CreateAccountRequest extends $tea.Model {
|
|
|
844
950
|
* @remarks
|
|
845
951
|
* The password of the account. The password must meet the following requirements:
|
|
846
952
|
*
|
|
847
|
-
* *
|
|
848
|
-
* *
|
|
953
|
+
* * The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
954
|
+
* * The password must be 8 to 32 characters in length.
|
|
849
955
|
* * Special characters include `! @ # $ % ^ & * ( ) _ + - =`
|
|
850
956
|
*
|
|
851
957
|
* This parameter is required.
|
|
@@ -881,14 +987,15 @@ export class CreateAccountRequest extends $tea.Model {
|
|
|
881
987
|
* The type of the account. Valid values:
|
|
882
988
|
*
|
|
883
989
|
* * **Normal**: standard account
|
|
884
|
-
* * **Super**: privileged account
|
|
990
|
+
* * **Super**: privileged account.
|
|
885
991
|
*
|
|
886
992
|
* >
|
|
887
993
|
*
|
|
888
994
|
* * If you leave this parameter empty, the default value **Super** is used.
|
|
889
995
|
*
|
|
890
|
-
* * You can create multiple privileged accounts for a PolarDB for Oracle or PolarDB for PostgreSQL cluster. A privileged account
|
|
891
|
-
*
|
|
996
|
+
* * You can create multiple privileged accounts for a PolarDB for PostgreSQL (Compatible with Oracle) cluster or a PolarDB for PostgreSQL cluster. A privileged account has more permissions than a standard account. For more information, see [Create a database account](https://help.aliyun.com/document_detail/68508.html).
|
|
997
|
+
*
|
|
998
|
+
* * You can create only one privileged account for a PolarDB for MySQL cluster. A privileged account has more permissions than a standard account. For more information, see [Create a database account](https://help.aliyun.com/document_detail/68508.html).
|
|
892
999
|
*
|
|
893
1000
|
* @example
|
|
894
1001
|
* Normal
|
|
@@ -924,22 +1031,6 @@ export class CreateAccountRequest extends $tea.Model {
|
|
|
924
1031
|
DBName?: string;
|
|
925
1032
|
ownerAccount?: string;
|
|
926
1033
|
ownerId?: number;
|
|
927
|
-
/**
|
|
928
|
-
* @remarks
|
|
929
|
-
* Specifies whether to grant the specified account required permissions on all existing databases in the current cluster and databases that will be further created for the current cluster. Valid values:
|
|
930
|
-
*
|
|
931
|
-
* * **0 or unspecified**: does not grant required permissions.
|
|
932
|
-
* * **1**: grants required permissions.
|
|
933
|
-
*
|
|
934
|
-
* >
|
|
935
|
-
*
|
|
936
|
-
* * The parameter is valid only after you configure the `AccountPrivilege` parameter.
|
|
937
|
-
*
|
|
938
|
-
* * If you set the parameter to `1`, the current account is granted to the required permissions on all databases in the current cluster that are specified by the `AccountPrivilege` parameter.
|
|
939
|
-
*
|
|
940
|
-
* @example
|
|
941
|
-
* 0
|
|
942
|
-
*/
|
|
943
1034
|
privForAllDB?: string;
|
|
944
1035
|
resourceOwnerAccount?: string;
|
|
945
1036
|
resourceOwnerId?: number;
|
|
@@ -1696,12 +1787,16 @@ export class CreateDBClusterRequest extends $tea.Model {
|
|
|
1696
1787
|
DBNodeClass?: string;
|
|
1697
1788
|
/**
|
|
1698
1789
|
* @remarks
|
|
1699
|
-
*
|
|
1790
|
+
* The number of nodes. This parameter is supported for Standard Edition clusters. Valid values:
|
|
1791
|
+
*
|
|
1792
|
+
* * **1** (default): only one primary node.
|
|
1793
|
+
* * **2**: one read-only node and one primary node.
|
|
1794
|
+
*
|
|
1795
|
+
* >
|
|
1700
1796
|
*
|
|
1701
|
-
*
|
|
1702
|
-
*
|
|
1703
|
-
*
|
|
1704
|
-
* > - Only supported by PolarDB MySQL edition.
|
|
1797
|
+
* * By default, an Enterprise Edition cluster has two nodes and a Standard Edition cluster has one node.
|
|
1798
|
+
*
|
|
1799
|
+
* * This parameter is supported only for PolarDB for MySQL clusters.
|
|
1705
1800
|
*
|
|
1706
1801
|
* @example
|
|
1707
1802
|
* 1
|
|
@@ -2091,6 +2186,7 @@ export class CreateDBClusterRequest extends $tea.Model {
|
|
|
2091
2186
|
* List of tags.
|
|
2092
2187
|
*/
|
|
2093
2188
|
tag?: CreateDBClusterRequestTag[];
|
|
2189
|
+
targetMinorVersion?: string;
|
|
2094
2190
|
/**
|
|
2095
2191
|
* @remarks
|
|
2096
2192
|
* If the payment type is **Prepaid**, this parameter is required.
|
|
@@ -2182,6 +2278,7 @@ export class CreateDBClusterRequest extends $tea.Model {
|
|
|
2182
2278
|
strictConsistency: 'StrictConsistency',
|
|
2183
2279
|
TDEStatus: 'TDEStatus',
|
|
2184
2280
|
tag: 'Tag',
|
|
2281
|
+
targetMinorVersion: 'TargetMinorVersion',
|
|
2185
2282
|
usedTime: 'UsedTime',
|
|
2186
2283
|
VPCId: 'VPCId',
|
|
2187
2284
|
vSwitchId: 'VSwitchId',
|
|
@@ -2242,6 +2339,7 @@ export class CreateDBClusterRequest extends $tea.Model {
|
|
|
2242
2339
|
strictConsistency: 'string',
|
|
2243
2340
|
TDEStatus: 'boolean',
|
|
2244
2341
|
tag: { 'type': 'array', 'itemType': CreateDBClusterRequestTag },
|
|
2342
|
+
targetMinorVersion: 'string',
|
|
2245
2343
|
usedTime: 'string',
|
|
2246
2344
|
VPCId: 'string',
|
|
2247
2345
|
vSwitchId: 'string',
|
|
@@ -5730,6 +5828,9 @@ export class DescribeAITaskStatusResponseBody extends $tea.Model {
|
|
|
5730
5828
|
/**
|
|
5731
5829
|
* @remarks
|
|
5732
5830
|
* The name of the database account that is used to connect to the AI nodes in the cluster.
|
|
5831
|
+
*
|
|
5832
|
+
* @example
|
|
5833
|
+
* testacc
|
|
5733
5834
|
*/
|
|
5734
5835
|
accountName?: string;
|
|
5735
5836
|
/**
|
|
@@ -5973,12 +6074,17 @@ export class DescribeAccountsResponse extends $tea.Model {
|
|
|
5973
6074
|
|
|
5974
6075
|
export class DescribeActivationCodeDetailsRequest extends $tea.Model {
|
|
5975
6076
|
/**
|
|
6077
|
+
* @remarks
|
|
6078
|
+
* The ID of the activation code.
|
|
6079
|
+
*
|
|
5976
6080
|
* @example
|
|
5977
6081
|
* 123
|
|
5978
6082
|
*/
|
|
5979
6083
|
activationCodeId?: number;
|
|
5980
6084
|
/**
|
|
5981
6085
|
* @remarks
|
|
6086
|
+
* The Alibaba Cloud order ID (including the virtual order ID).
|
|
6087
|
+
*
|
|
5982
6088
|
* This parameter is required.
|
|
5983
6089
|
*
|
|
5984
6090
|
* @example
|
|
@@ -6018,59 +6124,89 @@ export class DescribeActivationCodeDetailsRequest extends $tea.Model {
|
|
|
6018
6124
|
|
|
6019
6125
|
export class DescribeActivationCodeDetailsResponseBody extends $tea.Model {
|
|
6020
6126
|
/**
|
|
6127
|
+
* @remarks
|
|
6128
|
+
* The time when the activation code takes effect.
|
|
6129
|
+
*
|
|
6021
6130
|
* @example
|
|
6022
6131
|
* 2024-10-16 16:46:20
|
|
6023
6132
|
*/
|
|
6024
6133
|
activateAt?: string;
|
|
6025
6134
|
/**
|
|
6135
|
+
* @remarks
|
|
6136
|
+
* The activation code in the base64 format. The activation code is decoded and stored into a file named license.lic. PolarDB can access and read the license.lic file upon startup to validate the license or perform related operations.
|
|
6137
|
+
*
|
|
6026
6138
|
* @example
|
|
6027
6139
|
* AAEAA******AAA=
|
|
6028
6140
|
*/
|
|
6029
6141
|
certContentB64?: string;
|
|
6030
6142
|
/**
|
|
6143
|
+
* @remarks
|
|
6144
|
+
* The description of the activation code.
|
|
6145
|
+
*
|
|
6031
6146
|
* @example
|
|
6032
6147
|
* testCode
|
|
6033
6148
|
*/
|
|
6034
6149
|
description?: string;
|
|
6035
6150
|
/**
|
|
6151
|
+
* @remarks
|
|
6152
|
+
* The time when the activation code expires.
|
|
6153
|
+
*
|
|
6036
6154
|
* @example
|
|
6037
6155
|
* 2054-10-09 16:46:20
|
|
6038
6156
|
*/
|
|
6039
6157
|
expireAt?: string;
|
|
6040
6158
|
/**
|
|
6159
|
+
* @remarks
|
|
6160
|
+
* The time when the activation code was created.
|
|
6161
|
+
*
|
|
6041
6162
|
* @example
|
|
6042
6163
|
* 2024-10-16 16:46:20
|
|
6043
6164
|
*/
|
|
6044
6165
|
gmtCreated?: string;
|
|
6045
6166
|
/**
|
|
6167
|
+
* @remarks
|
|
6168
|
+
* The time when the activation code was last updated.
|
|
6169
|
+
*
|
|
6046
6170
|
* @example
|
|
6047
6171
|
* 2024-10-16 16:46:20
|
|
6048
6172
|
*/
|
|
6049
6173
|
gmtModified?: string;
|
|
6050
6174
|
/**
|
|
6175
|
+
* @remarks
|
|
6176
|
+
* The ID of the activation code.
|
|
6177
|
+
*
|
|
6051
6178
|
* @example
|
|
6052
6179
|
* 123
|
|
6053
6180
|
*/
|
|
6054
6181
|
id?: number;
|
|
6055
6182
|
/**
|
|
6183
|
+
* @remarks
|
|
6184
|
+
* The MAC address.
|
|
6185
|
+
*
|
|
6056
6186
|
* @example
|
|
6057
6187
|
* 12:34:56:78:98:00
|
|
6058
6188
|
*/
|
|
6059
6189
|
macAddress?: string;
|
|
6060
6190
|
/**
|
|
6191
|
+
* @remarks
|
|
6192
|
+
* The name of the activation code.
|
|
6193
|
+
*
|
|
6061
6194
|
* @example
|
|
6062
6195
|
* testName
|
|
6063
6196
|
*/
|
|
6064
6197
|
name?: string;
|
|
6065
6198
|
/**
|
|
6066
6199
|
* @remarks
|
|
6067
|
-
*
|
|
6200
|
+
* The request ID.
|
|
6068
6201
|
*
|
|
6069
6202
|
* @example
|
|
6070
6203
|
* F2A9EFA7-915F-4572-8299-85A307******
|
|
6071
6204
|
*/
|
|
6072
6205
|
requestId?: string;
|
|
6073
6206
|
/**
|
|
6207
|
+
* @remarks
|
|
6208
|
+
* The system identifier of the database.
|
|
6209
|
+
*
|
|
6074
6210
|
* @example
|
|
6075
6211
|
* 1234567890123456
|
|
6076
6212
|
*/
|
|
@@ -6285,6 +6421,182 @@ export class DescribeActivationCodesResponse extends $tea.Model {
|
|
|
6285
6421
|
}
|
|
6286
6422
|
}
|
|
6287
6423
|
|
|
6424
|
+
export class DescribeActiveOperationTasksRequest extends $tea.Model {
|
|
6425
|
+
/**
|
|
6426
|
+
* @example
|
|
6427
|
+
* -1
|
|
6428
|
+
*/
|
|
6429
|
+
allowCancel?: number;
|
|
6430
|
+
/**
|
|
6431
|
+
* @example
|
|
6432
|
+
* -1
|
|
6433
|
+
*/
|
|
6434
|
+
allowChange?: number;
|
|
6435
|
+
/**
|
|
6436
|
+
* @example
|
|
6437
|
+
* all
|
|
6438
|
+
*/
|
|
6439
|
+
changeLevel?: string;
|
|
6440
|
+
/**
|
|
6441
|
+
* @example
|
|
6442
|
+
* pc-3ns***********d5d
|
|
6443
|
+
*/
|
|
6444
|
+
DBClusterId?: string;
|
|
6445
|
+
/**
|
|
6446
|
+
* @example
|
|
6447
|
+
* MySQL
|
|
6448
|
+
*/
|
|
6449
|
+
DBType?: string;
|
|
6450
|
+
ownerAccount?: string;
|
|
6451
|
+
ownerId?: number;
|
|
6452
|
+
/**
|
|
6453
|
+
* @example
|
|
6454
|
+
* 1
|
|
6455
|
+
*/
|
|
6456
|
+
pageNumber?: number;
|
|
6457
|
+
/**
|
|
6458
|
+
* @example
|
|
6459
|
+
* 30
|
|
6460
|
+
*/
|
|
6461
|
+
pageSize?: number;
|
|
6462
|
+
/**
|
|
6463
|
+
* @remarks
|
|
6464
|
+
* This parameter is required.
|
|
6465
|
+
*
|
|
6466
|
+
* @example
|
|
6467
|
+
* cn-beijing
|
|
6468
|
+
*/
|
|
6469
|
+
regionId?: string;
|
|
6470
|
+
resourceOwnerAccount?: string;
|
|
6471
|
+
resourceOwnerId?: number;
|
|
6472
|
+
securityToken?: string;
|
|
6473
|
+
/**
|
|
6474
|
+
* @example
|
|
6475
|
+
* -1
|
|
6476
|
+
*/
|
|
6477
|
+
status?: number;
|
|
6478
|
+
/**
|
|
6479
|
+
* @example
|
|
6480
|
+
* DatabaseProxyUpgrading
|
|
6481
|
+
*/
|
|
6482
|
+
taskType?: string;
|
|
6483
|
+
static names(): { [key: string]: string } {
|
|
6484
|
+
return {
|
|
6485
|
+
allowCancel: 'AllowCancel',
|
|
6486
|
+
allowChange: 'AllowChange',
|
|
6487
|
+
changeLevel: 'ChangeLevel',
|
|
6488
|
+
DBClusterId: 'DBClusterId',
|
|
6489
|
+
DBType: 'DBType',
|
|
6490
|
+
ownerAccount: 'OwnerAccount',
|
|
6491
|
+
ownerId: 'OwnerId',
|
|
6492
|
+
pageNumber: 'PageNumber',
|
|
6493
|
+
pageSize: 'PageSize',
|
|
6494
|
+
regionId: 'RegionId',
|
|
6495
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
6496
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
6497
|
+
securityToken: 'SecurityToken',
|
|
6498
|
+
status: 'Status',
|
|
6499
|
+
taskType: 'TaskType',
|
|
6500
|
+
};
|
|
6501
|
+
}
|
|
6502
|
+
|
|
6503
|
+
static types(): { [key: string]: any } {
|
|
6504
|
+
return {
|
|
6505
|
+
allowCancel: 'number',
|
|
6506
|
+
allowChange: 'number',
|
|
6507
|
+
changeLevel: 'string',
|
|
6508
|
+
DBClusterId: 'string',
|
|
6509
|
+
DBType: 'string',
|
|
6510
|
+
ownerAccount: 'string',
|
|
6511
|
+
ownerId: 'number',
|
|
6512
|
+
pageNumber: 'number',
|
|
6513
|
+
pageSize: 'number',
|
|
6514
|
+
regionId: 'string',
|
|
6515
|
+
resourceOwnerAccount: 'string',
|
|
6516
|
+
resourceOwnerId: 'number',
|
|
6517
|
+
securityToken: 'string',
|
|
6518
|
+
status: 'number',
|
|
6519
|
+
taskType: 'string',
|
|
6520
|
+
};
|
|
6521
|
+
}
|
|
6522
|
+
|
|
6523
|
+
constructor(map?: { [key: string]: any }) {
|
|
6524
|
+
super(map);
|
|
6525
|
+
}
|
|
6526
|
+
}
|
|
6527
|
+
|
|
6528
|
+
export class DescribeActiveOperationTasksResponseBody extends $tea.Model {
|
|
6529
|
+
items?: DescribeActiveOperationTasksResponseBodyItems[];
|
|
6530
|
+
/**
|
|
6531
|
+
* @example
|
|
6532
|
+
* 1
|
|
6533
|
+
*/
|
|
6534
|
+
pageNumber?: number;
|
|
6535
|
+
/**
|
|
6536
|
+
* @example
|
|
6537
|
+
* 30
|
|
6538
|
+
*/
|
|
6539
|
+
pageSize?: number;
|
|
6540
|
+
/**
|
|
6541
|
+
* @example
|
|
6542
|
+
* FAF88508-D5F8-52B1-8824-262601769E31
|
|
6543
|
+
*/
|
|
6544
|
+
requestId?: string;
|
|
6545
|
+
/**
|
|
6546
|
+
* @example
|
|
6547
|
+
* 1
|
|
6548
|
+
*/
|
|
6549
|
+
totalRecordCount?: number;
|
|
6550
|
+
static names(): { [key: string]: string } {
|
|
6551
|
+
return {
|
|
6552
|
+
items: 'Items',
|
|
6553
|
+
pageNumber: 'PageNumber',
|
|
6554
|
+
pageSize: 'PageSize',
|
|
6555
|
+
requestId: 'RequestId',
|
|
6556
|
+
totalRecordCount: 'TotalRecordCount',
|
|
6557
|
+
};
|
|
6558
|
+
}
|
|
6559
|
+
|
|
6560
|
+
static types(): { [key: string]: any } {
|
|
6561
|
+
return {
|
|
6562
|
+
items: { 'type': 'array', 'itemType': DescribeActiveOperationTasksResponseBodyItems },
|
|
6563
|
+
pageNumber: 'number',
|
|
6564
|
+
pageSize: 'number',
|
|
6565
|
+
requestId: 'string',
|
|
6566
|
+
totalRecordCount: 'number',
|
|
6567
|
+
};
|
|
6568
|
+
}
|
|
6569
|
+
|
|
6570
|
+
constructor(map?: { [key: string]: any }) {
|
|
6571
|
+
super(map);
|
|
6572
|
+
}
|
|
6573
|
+
}
|
|
6574
|
+
|
|
6575
|
+
export class DescribeActiveOperationTasksResponse extends $tea.Model {
|
|
6576
|
+
headers?: { [key: string]: string };
|
|
6577
|
+
statusCode?: number;
|
|
6578
|
+
body?: DescribeActiveOperationTasksResponseBody;
|
|
6579
|
+
static names(): { [key: string]: string } {
|
|
6580
|
+
return {
|
|
6581
|
+
headers: 'headers',
|
|
6582
|
+
statusCode: 'statusCode',
|
|
6583
|
+
body: 'body',
|
|
6584
|
+
};
|
|
6585
|
+
}
|
|
6586
|
+
|
|
6587
|
+
static types(): { [key: string]: any } {
|
|
6588
|
+
return {
|
|
6589
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6590
|
+
statusCode: 'number',
|
|
6591
|
+
body: DescribeActiveOperationTasksResponseBody,
|
|
6592
|
+
};
|
|
6593
|
+
}
|
|
6594
|
+
|
|
6595
|
+
constructor(map?: { [key: string]: any }) {
|
|
6596
|
+
super(map);
|
|
6597
|
+
}
|
|
6598
|
+
}
|
|
6599
|
+
|
|
6288
6600
|
export class DescribeAutoRenewAttributeRequest extends $tea.Model {
|
|
6289
6601
|
/**
|
|
6290
6602
|
* @remarks
|
|
@@ -7195,7 +7507,7 @@ export class DescribeBackupsRequest extends $tea.Model {
|
|
|
7195
7507
|
export class DescribeBackupsResponseBody extends $tea.Model {
|
|
7196
7508
|
/**
|
|
7197
7509
|
* @remarks
|
|
7198
|
-
* The
|
|
7510
|
+
* The queried backup sets.
|
|
7199
7511
|
*/
|
|
7200
7512
|
items?: DescribeBackupsResponseBodyItems;
|
|
7201
7513
|
/**
|
|
@@ -7222,6 +7534,10 @@ export class DescribeBackupsResponseBody extends $tea.Model {
|
|
|
7222
7534
|
* 24A1990B-4F6E-482B-B8CB-75C612******
|
|
7223
7535
|
*/
|
|
7224
7536
|
requestId?: string;
|
|
7537
|
+
/**
|
|
7538
|
+
* @example
|
|
7539
|
+
* 4639948800
|
|
7540
|
+
*/
|
|
7225
7541
|
totalLevel2BackupSize?: string;
|
|
7226
7542
|
/**
|
|
7227
7543
|
* @remarks
|
|
@@ -7511,7 +7827,7 @@ export class DescribeClassListRequest extends $tea.Model {
|
|
|
7511
7827
|
export class DescribeClassListResponseBody extends $tea.Model {
|
|
7512
7828
|
/**
|
|
7513
7829
|
* @remarks
|
|
7514
|
-
* The specifications
|
|
7830
|
+
* The cluster specifications.
|
|
7515
7831
|
*/
|
|
7516
7832
|
items?: DescribeClassListResponseBodyItems[];
|
|
7517
7833
|
/**
|
|
@@ -7966,6 +8282,16 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
7966
8282
|
* StandbyClusterON
|
|
7967
8283
|
*/
|
|
7968
8284
|
hotStandbyCluster?: string;
|
|
8285
|
+
/**
|
|
8286
|
+
* @remarks
|
|
8287
|
+
* Indicates whether the automatic IMCI-based query acceleration feature is enabled. Valid values:
|
|
8288
|
+
*
|
|
8289
|
+
* * `ON`: enabled
|
|
8290
|
+
* * `OFF`: disabled
|
|
8291
|
+
*
|
|
8292
|
+
* @example
|
|
8293
|
+
* OFF
|
|
8294
|
+
*/
|
|
7969
8295
|
imciAutoIndex?: string;
|
|
7970
8296
|
/**
|
|
7971
8297
|
* @remarks
|
|
@@ -8212,7 +8538,8 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
8212
8538
|
/**
|
|
8213
8539
|
* @remarks
|
|
8214
8540
|
* Storage billing type. Valid values are as follows:
|
|
8215
|
-
* - **Postpaid
|
|
8541
|
+
* - **Postpaid**: Pay-as-you-go (by capacity).
|
|
8542
|
+
* - **Prepaid**: Subscription (by space).
|
|
8216
8543
|
*
|
|
8217
8544
|
* @example
|
|
8218
8545
|
* Prepaid
|
|
@@ -8266,7 +8593,7 @@ export class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
8266
8593
|
subCategory?: string;
|
|
8267
8594
|
/**
|
|
8268
8595
|
* @remarks
|
|
8269
|
-
* Indicates whether
|
|
8596
|
+
* Indicates whether queries based on In-Memory Column Indexes (IMCIs) are supported during and after a failover with hot replica.
|
|
8270
8597
|
*
|
|
8271
8598
|
* @example
|
|
8272
8599
|
* ON
|
|
@@ -9140,7 +9467,7 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
|
|
|
9140
9467
|
migrationStatus?: string;
|
|
9141
9468
|
/**
|
|
9142
9469
|
* @remarks
|
|
9143
|
-
* The
|
|
9470
|
+
* The endpoints of the ApsaraDB RDS instance.
|
|
9144
9471
|
*/
|
|
9145
9472
|
rdsEndpointList?: DescribeDBClusterMigrationResponseBodyRdsEndpointList[];
|
|
9146
9473
|
/**
|
|
@@ -9168,6 +9495,12 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
|
|
|
9168
9495
|
*/
|
|
9169
9496
|
sourceRDSDBInstanceId?: string;
|
|
9170
9497
|
/**
|
|
9498
|
+
* @remarks
|
|
9499
|
+
* The type of the source database. Valid values:
|
|
9500
|
+
*
|
|
9501
|
+
* - **PolarDBMySQL**: The source database is a PolarDB for MySQL database when the major version of your PolarDB cluster is upgraded.
|
|
9502
|
+
* - **RDS**: The source database is an ApsaraDB RDS database when data is migrated from ApsaraDB RDS to PolarDB for MySQL.
|
|
9503
|
+
*
|
|
9171
9504
|
* @example
|
|
9172
9505
|
* PolarDBMySQL
|
|
9173
9506
|
*/
|
|
@@ -9591,7 +9924,7 @@ export class DescribeDBClusterPerformanceRequest extends $tea.Model {
|
|
|
9591
9924
|
startTime?: string;
|
|
9592
9925
|
/**
|
|
9593
9926
|
* @remarks
|
|
9594
|
-
* The
|
|
9927
|
+
* The query type.
|
|
9595
9928
|
*
|
|
9596
9929
|
* @example
|
|
9597
9930
|
* orca
|
|
@@ -9850,7 +10183,7 @@ export class DescribeDBClusterSSLResponse extends $tea.Model {
|
|
|
9850
10183
|
export class DescribeDBClusterServerlessConfRequest extends $tea.Model {
|
|
9851
10184
|
/**
|
|
9852
10185
|
* @remarks
|
|
9853
|
-
*
|
|
10186
|
+
* Serverless cluster ID.
|
|
9854
10187
|
*
|
|
9855
10188
|
* This parameter is required.
|
|
9856
10189
|
*
|
|
@@ -9891,10 +10224,11 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
|
|
|
9891
10224
|
agileScaleMax?: string;
|
|
9892
10225
|
/**
|
|
9893
10226
|
* @remarks
|
|
9894
|
-
*
|
|
10227
|
+
* Whether to enable idle shutdown. Values:
|
|
9895
10228
|
*
|
|
9896
|
-
*
|
|
9897
|
-
*
|
|
10229
|
+
* - **true**: Enable
|
|
10230
|
+
*
|
|
10231
|
+
* - **false**: Disable (default)
|
|
9898
10232
|
*
|
|
9899
10233
|
* @example
|
|
9900
10234
|
* true
|
|
@@ -9902,7 +10236,7 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
|
|
|
9902
10236
|
allowShutDown?: string;
|
|
9903
10237
|
/**
|
|
9904
10238
|
* @remarks
|
|
9905
|
-
*
|
|
10239
|
+
* Serverless cluster ID.
|
|
9906
10240
|
*
|
|
9907
10241
|
* @example
|
|
9908
10242
|
* pc-bp10gr51qasnl****
|
|
@@ -9910,17 +10244,31 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
|
|
|
9910
10244
|
DBClusterId?: string;
|
|
9911
10245
|
/**
|
|
9912
10246
|
* @remarks
|
|
9913
|
-
*
|
|
10247
|
+
* Request ID.
|
|
9914
10248
|
*
|
|
9915
10249
|
* @example
|
|
9916
10250
|
* 5E71541A-6007-4DCC-A38A-F872C31FEB45
|
|
9917
10251
|
*/
|
|
9918
10252
|
requestId?: string;
|
|
10253
|
+
/**
|
|
10254
|
+
* @remarks
|
|
10255
|
+
* Maximum limit for the number of read-only column storage nodes. Range: 0~7.
|
|
10256
|
+
*
|
|
10257
|
+
* @example
|
|
10258
|
+
* 1
|
|
10259
|
+
*/
|
|
9919
10260
|
scaleApRoNumMax?: string;
|
|
10261
|
+
/**
|
|
10262
|
+
* @remarks
|
|
10263
|
+
* Minimum limit for the number of read-only column storage nodes. Range: 0~7.
|
|
10264
|
+
*
|
|
10265
|
+
* @example
|
|
10266
|
+
* 1
|
|
10267
|
+
*/
|
|
9920
10268
|
scaleApRoNumMin?: string;
|
|
9921
10269
|
/**
|
|
9922
10270
|
* @remarks
|
|
9923
|
-
*
|
|
10271
|
+
* Maximum scaling limit for a single node. Range: 1 PCU~32 PCU.
|
|
9924
10272
|
*
|
|
9925
10273
|
* @example
|
|
9926
10274
|
* 3
|
|
@@ -9928,7 +10276,7 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
|
|
|
9928
10276
|
scaleMax?: string;
|
|
9929
10277
|
/**
|
|
9930
10278
|
* @remarks
|
|
9931
|
-
*
|
|
10279
|
+
* Minimum scaling limit for a single node. Range: 1 PCU~31 PCU.
|
|
9932
10280
|
*
|
|
9933
10281
|
* @example
|
|
9934
10282
|
* 1
|
|
@@ -9936,7 +10284,7 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
|
|
|
9936
10284
|
scaleMin?: string;
|
|
9937
10285
|
/**
|
|
9938
10286
|
* @remarks
|
|
9939
|
-
*
|
|
10287
|
+
* Maximum scaling limit for the number of read-only nodes. Range: 0~15.
|
|
9940
10288
|
*
|
|
9941
10289
|
* @example
|
|
9942
10290
|
* 4
|
|
@@ -9944,7 +10292,7 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
|
|
|
9944
10292
|
scaleRoNumMax?: string;
|
|
9945
10293
|
/**
|
|
9946
10294
|
* @remarks
|
|
9947
|
-
*
|
|
10295
|
+
* Minimum scaling limit for the number of read-only nodes. Range: 0~15.
|
|
9948
10296
|
*
|
|
9949
10297
|
* @example
|
|
9950
10298
|
* 2
|
|
@@ -9952,15 +10300,51 @@ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
|
|
|
9952
10300
|
scaleRoNumMin?: string;
|
|
9953
10301
|
/**
|
|
9954
10302
|
* @remarks
|
|
9955
|
-
*
|
|
10303
|
+
* Detection duration for idle shutdown. Range: 300~86,400. Unit: seconds. The detection duration must be a multiple of 300 seconds.
|
|
9956
10304
|
*
|
|
9957
10305
|
* @example
|
|
9958
10306
|
* 10
|
|
9959
10307
|
*/
|
|
9960
10308
|
secondsUntilAutoPause?: string;
|
|
10309
|
+
/**
|
|
10310
|
+
* @remarks
|
|
10311
|
+
* CPU upscale threshold.
|
|
10312
|
+
*
|
|
10313
|
+
* @example
|
|
10314
|
+
* 60
|
|
10315
|
+
*/
|
|
9961
10316
|
serverlessRuleCpuEnlargeThreshold?: string;
|
|
10317
|
+
/**
|
|
10318
|
+
* @remarks
|
|
10319
|
+
* CPU downscale threshold.
|
|
10320
|
+
*
|
|
10321
|
+
* @example
|
|
10322
|
+
* 30
|
|
10323
|
+
*/
|
|
9962
10324
|
serverlessRuleCpuShrinkThreshold?: string;
|
|
10325
|
+
/**
|
|
10326
|
+
* @remarks
|
|
10327
|
+
* Elasticity sensitivity. Values:
|
|
10328
|
+
*
|
|
10329
|
+
* - normal: Standard
|
|
10330
|
+
*
|
|
10331
|
+
* - flexible: Sensitive
|
|
10332
|
+
*
|
|
10333
|
+
* @example
|
|
10334
|
+
* normal
|
|
10335
|
+
*/
|
|
9963
10336
|
serverlessRuleMode?: string;
|
|
10337
|
+
/**
|
|
10338
|
+
* @remarks
|
|
10339
|
+
* Whether steady state is enabled. Values:
|
|
10340
|
+
*
|
|
10341
|
+
* 1: Enabled
|
|
10342
|
+
*
|
|
10343
|
+
* 0: Disabled
|
|
10344
|
+
*
|
|
10345
|
+
* @example
|
|
10346
|
+
* 1
|
|
10347
|
+
*/
|
|
9964
10348
|
switchs?: string;
|
|
9965
10349
|
traditionalScaleMaxThreshold?: string;
|
|
9966
10350
|
static names(): { [key: string]: string } {
|
|
@@ -12999,6 +13383,8 @@ export class DescribeGlobalSecurityIPGroupRelationResponse extends $tea.Model {
|
|
|
12999
13383
|
export class DescribeLicenseOrderDetailsRequest extends $tea.Model {
|
|
13000
13384
|
/**
|
|
13001
13385
|
* @remarks
|
|
13386
|
+
* The Alibaba Cloud order ID (or virtual order ID).
|
|
13387
|
+
*
|
|
13002
13388
|
* This parameter is required.
|
|
13003
13389
|
*
|
|
13004
13390
|
* @example
|
|
@@ -13036,71 +13422,119 @@ export class DescribeLicenseOrderDetailsRequest extends $tea.Model {
|
|
|
13036
13422
|
|
|
13037
13423
|
export class DescribeLicenseOrderDetailsResponseBody extends $tea.Model {
|
|
13038
13424
|
/**
|
|
13425
|
+
* @remarks
|
|
13426
|
+
* The number of generated activation codes.
|
|
13427
|
+
*
|
|
13039
13428
|
* @example
|
|
13040
13429
|
* 2
|
|
13041
13430
|
*/
|
|
13042
13431
|
activatedCodeCount?: number;
|
|
13043
13432
|
/**
|
|
13433
|
+
* @remarks
|
|
13434
|
+
* The maximum number of activation codes that you can apply for.
|
|
13435
|
+
*
|
|
13044
13436
|
* @example
|
|
13045
13437
|
* 8
|
|
13046
13438
|
*/
|
|
13047
13439
|
activationCodeQuota?: number;
|
|
13048
13440
|
/**
|
|
13441
|
+
* @remarks
|
|
13442
|
+
* The Alibaba Cloud order ID (including the virtual order ID).
|
|
13443
|
+
*
|
|
13049
13444
|
* @example
|
|
13050
13445
|
* 239618016570503
|
|
13051
13446
|
*/
|
|
13052
13447
|
aliyunOrderId?: string;
|
|
13053
13448
|
/**
|
|
13449
|
+
* @remarks
|
|
13450
|
+
* Indicates whether activation codes can be generated without the system identifier.
|
|
13451
|
+
*
|
|
13054
13452
|
* @example
|
|
13055
13453
|
* false
|
|
13056
13454
|
*/
|
|
13057
13455
|
allowEmptySystemIdentifier?: boolean;
|
|
13058
13456
|
/**
|
|
13457
|
+
* @remarks
|
|
13458
|
+
* The type of the engine. Valid values: PG, Oracle, and MySQL.
|
|
13459
|
+
*
|
|
13059
13460
|
* @example
|
|
13060
13461
|
* PG
|
|
13061
13462
|
*/
|
|
13062
13463
|
engine?: string;
|
|
13063
13464
|
/**
|
|
13465
|
+
* @remarks
|
|
13466
|
+
* The time when the order was created.
|
|
13467
|
+
*
|
|
13064
13468
|
* @example
|
|
13065
13469
|
* 2021-10-19 01:13:45
|
|
13066
13470
|
*/
|
|
13067
13471
|
gmtCreated?: string;
|
|
13068
13472
|
/**
|
|
13473
|
+
* @remarks
|
|
13474
|
+
* The time when the order was last updated.
|
|
13475
|
+
*
|
|
13069
13476
|
* @example
|
|
13070
13477
|
* 2024-10-16 16:46:20
|
|
13071
13478
|
*/
|
|
13072
13479
|
gmtModified?: string;
|
|
13073
13480
|
/**
|
|
13481
|
+
* @remarks
|
|
13482
|
+
* Indicates whether the order is a virtual order (virtual orders allow pre-generation of activation codes).
|
|
13483
|
+
*
|
|
13074
13484
|
* @example
|
|
13075
13485
|
* false
|
|
13076
13486
|
*/
|
|
13077
13487
|
isVirtualOrder?: boolean;
|
|
13078
13488
|
/**
|
|
13489
|
+
* @remarks
|
|
13490
|
+
* Indicates whether the virtual order is frozen (activation codes cannot be generated for a frozen virtual order).
|
|
13491
|
+
*
|
|
13079
13492
|
* @example
|
|
13080
13493
|
* false
|
|
13081
13494
|
*/
|
|
13082
13495
|
isVirtualOrderFrozen?: boolean;
|
|
13083
13496
|
/**
|
|
13497
|
+
* @remarks
|
|
13498
|
+
* The plan type. Valid values:
|
|
13499
|
+
*
|
|
13500
|
+
* * single_node_subscribe
|
|
13501
|
+
* * single_node_long_term
|
|
13502
|
+
* * primary_backup_subscribe
|
|
13503
|
+
* * primary_backup_long_term
|
|
13504
|
+
* * pre_generation_long_term
|
|
13505
|
+
*
|
|
13084
13506
|
* @example
|
|
13085
13507
|
* pre_generation_long_term
|
|
13086
13508
|
*/
|
|
13087
13509
|
packageType?: string;
|
|
13088
13510
|
/**
|
|
13511
|
+
* @remarks
|
|
13512
|
+
* The validity period of the plan, which is one year (common) or thirty years (long-term).
|
|
13513
|
+
*
|
|
13089
13514
|
* @example
|
|
13090
13515
|
* 1 year
|
|
13091
13516
|
*/
|
|
13092
13517
|
packageValidity?: string;
|
|
13093
13518
|
/**
|
|
13519
|
+
* @remarks
|
|
13520
|
+
* The plan validity period, one year (common) or thirty years (long-term).
|
|
13521
|
+
*
|
|
13094
13522
|
* @example
|
|
13095
13523
|
* aliyun_market
|
|
13096
13524
|
*/
|
|
13097
13525
|
purchaseChannel?: string;
|
|
13098
13526
|
/**
|
|
13527
|
+
* @remarks
|
|
13528
|
+
* The request ID.
|
|
13529
|
+
*
|
|
13099
13530
|
* @example
|
|
13100
13531
|
* 22C0ACF0-DD29-4B67-9190-B7A48C******
|
|
13101
13532
|
*/
|
|
13102
13533
|
requestId?: string;
|
|
13103
13534
|
/**
|
|
13535
|
+
* @remarks
|
|
13536
|
+
* The virtual order ID.
|
|
13537
|
+
*
|
|
13104
13538
|
* @example
|
|
13105
13539
|
* 239618016570503
|
|
13106
13540
|
*/
|
|
@@ -13227,6 +13661,9 @@ export class DescribeLicenseOrdersRequest extends $tea.Model {
|
|
|
13227
13661
|
/**
|
|
13228
13662
|
* @remarks
|
|
13229
13663
|
* Specifies whether to query only virtual orders.
|
|
13664
|
+
*
|
|
13665
|
+
* @example
|
|
13666
|
+
* true
|
|
13230
13667
|
*/
|
|
13231
13668
|
virtualOrder?: boolean;
|
|
13232
13669
|
static names(): { [key: string]: string } {
|
|
@@ -17588,6 +18025,126 @@ export class ModifyAccountPasswordResponse extends $tea.Model {
|
|
|
17588
18025
|
}
|
|
17589
18026
|
}
|
|
17590
18027
|
|
|
18028
|
+
export class ModifyActiveOperationTasksRequest extends $tea.Model {
|
|
18029
|
+
/**
|
|
18030
|
+
* @example
|
|
18031
|
+
* 0
|
|
18032
|
+
*/
|
|
18033
|
+
immediateStart?: number;
|
|
18034
|
+
ownerAccount?: string;
|
|
18035
|
+
ownerId?: number;
|
|
18036
|
+
/**
|
|
18037
|
+
* @remarks
|
|
18038
|
+
* This parameter is required.
|
|
18039
|
+
*
|
|
18040
|
+
* @example
|
|
18041
|
+
* cn-beijing
|
|
18042
|
+
*/
|
|
18043
|
+
regionId?: string;
|
|
18044
|
+
resourceOwnerAccount?: string;
|
|
18045
|
+
resourceOwnerId?: number;
|
|
18046
|
+
securityToken?: string;
|
|
18047
|
+
/**
|
|
18048
|
+
* @example
|
|
18049
|
+
* 2023-04-25T06:00:00Z
|
|
18050
|
+
*/
|
|
18051
|
+
switchTime?: string;
|
|
18052
|
+
/**
|
|
18053
|
+
* @remarks
|
|
18054
|
+
* This parameter is required.
|
|
18055
|
+
*
|
|
18056
|
+
* @example
|
|
18057
|
+
* 11111,22222
|
|
18058
|
+
*/
|
|
18059
|
+
taskIds?: string;
|
|
18060
|
+
static names(): { [key: string]: string } {
|
|
18061
|
+
return {
|
|
18062
|
+
immediateStart: 'ImmediateStart',
|
|
18063
|
+
ownerAccount: 'OwnerAccount',
|
|
18064
|
+
ownerId: 'OwnerId',
|
|
18065
|
+
regionId: 'RegionId',
|
|
18066
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
18067
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
18068
|
+
securityToken: 'SecurityToken',
|
|
18069
|
+
switchTime: 'SwitchTime',
|
|
18070
|
+
taskIds: 'TaskIds',
|
|
18071
|
+
};
|
|
18072
|
+
}
|
|
18073
|
+
|
|
18074
|
+
static types(): { [key: string]: any } {
|
|
18075
|
+
return {
|
|
18076
|
+
immediateStart: 'number',
|
|
18077
|
+
ownerAccount: 'string',
|
|
18078
|
+
ownerId: 'number',
|
|
18079
|
+
regionId: 'string',
|
|
18080
|
+
resourceOwnerAccount: 'string',
|
|
18081
|
+
resourceOwnerId: 'number',
|
|
18082
|
+
securityToken: 'string',
|
|
18083
|
+
switchTime: 'string',
|
|
18084
|
+
taskIds: 'string',
|
|
18085
|
+
};
|
|
18086
|
+
}
|
|
18087
|
+
|
|
18088
|
+
constructor(map?: { [key: string]: any }) {
|
|
18089
|
+
super(map);
|
|
18090
|
+
}
|
|
18091
|
+
}
|
|
18092
|
+
|
|
18093
|
+
export class ModifyActiveOperationTasksResponseBody extends $tea.Model {
|
|
18094
|
+
/**
|
|
18095
|
+
* @example
|
|
18096
|
+
* 42CD2EF5-D77E-5AD4-961B-159330D98286
|
|
18097
|
+
*/
|
|
18098
|
+
requestId?: string;
|
|
18099
|
+
/**
|
|
18100
|
+
* @example
|
|
18101
|
+
* 11111,22222
|
|
18102
|
+
*/
|
|
18103
|
+
taskIds?: string;
|
|
18104
|
+
static names(): { [key: string]: string } {
|
|
18105
|
+
return {
|
|
18106
|
+
requestId: 'RequestId',
|
|
18107
|
+
taskIds: 'TaskIds',
|
|
18108
|
+
};
|
|
18109
|
+
}
|
|
18110
|
+
|
|
18111
|
+
static types(): { [key: string]: any } {
|
|
18112
|
+
return {
|
|
18113
|
+
requestId: 'string',
|
|
18114
|
+
taskIds: 'string',
|
|
18115
|
+
};
|
|
18116
|
+
}
|
|
18117
|
+
|
|
18118
|
+
constructor(map?: { [key: string]: any }) {
|
|
18119
|
+
super(map);
|
|
18120
|
+
}
|
|
18121
|
+
}
|
|
18122
|
+
|
|
18123
|
+
export class ModifyActiveOperationTasksResponse extends $tea.Model {
|
|
18124
|
+
headers?: { [key: string]: string };
|
|
18125
|
+
statusCode?: number;
|
|
18126
|
+
body?: ModifyActiveOperationTasksResponseBody;
|
|
18127
|
+
static names(): { [key: string]: string } {
|
|
18128
|
+
return {
|
|
18129
|
+
headers: 'headers',
|
|
18130
|
+
statusCode: 'statusCode',
|
|
18131
|
+
body: 'body',
|
|
18132
|
+
};
|
|
18133
|
+
}
|
|
18134
|
+
|
|
18135
|
+
static types(): { [key: string]: any } {
|
|
18136
|
+
return {
|
|
18137
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18138
|
+
statusCode: 'number',
|
|
18139
|
+
body: ModifyActiveOperationTasksResponseBody,
|
|
18140
|
+
};
|
|
18141
|
+
}
|
|
18142
|
+
|
|
18143
|
+
constructor(map?: { [key: string]: any }) {
|
|
18144
|
+
super(map);
|
|
18145
|
+
}
|
|
18146
|
+
}
|
|
18147
|
+
|
|
17591
18148
|
export class ModifyAutoRenewAttributeRequest extends $tea.Model {
|
|
17592
18149
|
/**
|
|
17593
18150
|
* @remarks
|
|
@@ -18536,6 +19093,7 @@ export class ModifyDBClusterAndNodesParametersRequest extends $tea.Model {
|
|
|
18536
19093
|
plannedStartTime?: string;
|
|
18537
19094
|
resourceOwnerAccount?: string;
|
|
18538
19095
|
resourceOwnerId?: number;
|
|
19096
|
+
standbyClusterIdListNeedToSync?: string;
|
|
18539
19097
|
static names(): { [key: string]: string } {
|
|
18540
19098
|
return {
|
|
18541
19099
|
DBClusterId: 'DBClusterId',
|
|
@@ -18549,6 +19107,7 @@ export class ModifyDBClusterAndNodesParametersRequest extends $tea.Model {
|
|
|
18549
19107
|
plannedStartTime: 'PlannedStartTime',
|
|
18550
19108
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
18551
19109
|
resourceOwnerId: 'ResourceOwnerId',
|
|
19110
|
+
standbyClusterIdListNeedToSync: 'StandbyClusterIdListNeedToSync',
|
|
18552
19111
|
};
|
|
18553
19112
|
}
|
|
18554
19113
|
|
|
@@ -18565,6 +19124,7 @@ export class ModifyDBClusterAndNodesParametersRequest extends $tea.Model {
|
|
|
18565
19124
|
plannedStartTime: 'string',
|
|
18566
19125
|
resourceOwnerAccount: 'string',
|
|
18567
19126
|
resourceOwnerId: 'number',
|
|
19127
|
+
standbyClusterIdListNeedToSync: 'string',
|
|
18568
19128
|
};
|
|
18569
19129
|
}
|
|
18570
19130
|
|
|
@@ -25369,6 +25929,204 @@ export class DescribeActivationCodesResponseBodyItems extends $tea.Model {
|
|
|
25369
25929
|
}
|
|
25370
25930
|
}
|
|
25371
25931
|
|
|
25932
|
+
export class DescribeActiveOperationTasksResponseBodyItems extends $tea.Model {
|
|
25933
|
+
/**
|
|
25934
|
+
* @example
|
|
25935
|
+
* 0
|
|
25936
|
+
*/
|
|
25937
|
+
allowCancel?: number;
|
|
25938
|
+
/**
|
|
25939
|
+
* @example
|
|
25940
|
+
* 0
|
|
25941
|
+
*/
|
|
25942
|
+
allowChange?: number;
|
|
25943
|
+
/**
|
|
25944
|
+
* @example
|
|
25945
|
+
* S0
|
|
25946
|
+
*/
|
|
25947
|
+
changeLevel?: string;
|
|
25948
|
+
/**
|
|
25949
|
+
* @example
|
|
25950
|
+
* System maintenance
|
|
25951
|
+
*/
|
|
25952
|
+
changeLevelEn?: string;
|
|
25953
|
+
changeLevelZh?: string;
|
|
25954
|
+
/**
|
|
25955
|
+
* @example
|
|
25956
|
+
* 2020-06-09T22:00:42Z
|
|
25957
|
+
*/
|
|
25958
|
+
createdTime?: string;
|
|
25959
|
+
/**
|
|
25960
|
+
* @example
|
|
25961
|
+
* cn-beijing-h
|
|
25962
|
+
*/
|
|
25963
|
+
currentAVZ?: string;
|
|
25964
|
+
/**
|
|
25965
|
+
* @example
|
|
25966
|
+
* pc-*****************
|
|
25967
|
+
*/
|
|
25968
|
+
DBClusterId?: string;
|
|
25969
|
+
DBNodeIds?: string[];
|
|
25970
|
+
/**
|
|
25971
|
+
* @example
|
|
25972
|
+
* MySQL
|
|
25973
|
+
*/
|
|
25974
|
+
DBType?: string;
|
|
25975
|
+
/**
|
|
25976
|
+
* @example
|
|
25977
|
+
* 8.0
|
|
25978
|
+
*/
|
|
25979
|
+
DBVersion?: string;
|
|
25980
|
+
/**
|
|
25981
|
+
* @example
|
|
25982
|
+
* 2020-06-11T15:59:59Z
|
|
25983
|
+
*/
|
|
25984
|
+
deadline?: string;
|
|
25985
|
+
/**
|
|
25986
|
+
* @example
|
|
25987
|
+
* TransientDisconnection
|
|
25988
|
+
*/
|
|
25989
|
+
impact?: string;
|
|
25990
|
+
/**
|
|
25991
|
+
* @example
|
|
25992
|
+
* Transient instance disconnection
|
|
25993
|
+
*/
|
|
25994
|
+
impactEn?: string;
|
|
25995
|
+
impactZh?: string;
|
|
25996
|
+
/**
|
|
25997
|
+
* @example
|
|
25998
|
+
* test
|
|
25999
|
+
*/
|
|
26000
|
+
insComment?: string;
|
|
26001
|
+
/**
|
|
26002
|
+
* @example
|
|
26003
|
+
* 2020-06-09T22:00:42Z
|
|
26004
|
+
*/
|
|
26005
|
+
modifiedTime?: string;
|
|
26006
|
+
/**
|
|
26007
|
+
* @example
|
|
26008
|
+
* 04:00:00
|
|
26009
|
+
*/
|
|
26010
|
+
prepareInterval?: string;
|
|
26011
|
+
/**
|
|
26012
|
+
* @example
|
|
26013
|
+
* cn-hangzhou
|
|
26014
|
+
*/
|
|
26015
|
+
region?: string;
|
|
26016
|
+
/**
|
|
26017
|
+
* @example
|
|
26018
|
+
* userCancel
|
|
26019
|
+
*/
|
|
26020
|
+
resultInfo?: string;
|
|
26021
|
+
/**
|
|
26022
|
+
* @example
|
|
26023
|
+
* 2023-05-19T02:48:17Z
|
|
26024
|
+
*/
|
|
26025
|
+
startTime?: string;
|
|
26026
|
+
/**
|
|
26027
|
+
* @example
|
|
26028
|
+
* 3
|
|
26029
|
+
*/
|
|
26030
|
+
status?: number;
|
|
26031
|
+
/**
|
|
26032
|
+
* @example
|
|
26033
|
+
* 2020-06-09T22:00:00Z
|
|
26034
|
+
*/
|
|
26035
|
+
switchTime?: string;
|
|
26036
|
+
/**
|
|
26037
|
+
* @example
|
|
26038
|
+
* 107202351
|
|
26039
|
+
*/
|
|
26040
|
+
taskId?: number;
|
|
26041
|
+
/**
|
|
26042
|
+
* @example
|
|
26043
|
+
* {
|
|
26044
|
+
* "Action": "UpgradeDBInstance"
|
|
26045
|
+
* }
|
|
26046
|
+
*/
|
|
26047
|
+
taskParams?: string;
|
|
26048
|
+
/**
|
|
26049
|
+
* @example
|
|
26050
|
+
* DatabaseSoftwareUpgrading
|
|
26051
|
+
*/
|
|
26052
|
+
taskType?: string;
|
|
26053
|
+
/**
|
|
26054
|
+
* @example
|
|
26055
|
+
* Minor version update
|
|
26056
|
+
*/
|
|
26057
|
+
taskTypeEn?: string;
|
|
26058
|
+
taskTypeZh?: string;
|
|
26059
|
+
static names(): { [key: string]: string } {
|
|
26060
|
+
return {
|
|
26061
|
+
allowCancel: 'AllowCancel',
|
|
26062
|
+
allowChange: 'AllowChange',
|
|
26063
|
+
changeLevel: 'ChangeLevel',
|
|
26064
|
+
changeLevelEn: 'ChangeLevelEn',
|
|
26065
|
+
changeLevelZh: 'ChangeLevelZh',
|
|
26066
|
+
createdTime: 'CreatedTime',
|
|
26067
|
+
currentAVZ: 'CurrentAVZ',
|
|
26068
|
+
DBClusterId: 'DBClusterId',
|
|
26069
|
+
DBNodeIds: 'DBNodeIds',
|
|
26070
|
+
DBType: 'DBType',
|
|
26071
|
+
DBVersion: 'DBVersion',
|
|
26072
|
+
deadline: 'Deadline',
|
|
26073
|
+
impact: 'Impact',
|
|
26074
|
+
impactEn: 'ImpactEn',
|
|
26075
|
+
impactZh: 'ImpactZh',
|
|
26076
|
+
insComment: 'InsComment',
|
|
26077
|
+
modifiedTime: 'ModifiedTime',
|
|
26078
|
+
prepareInterval: 'PrepareInterval',
|
|
26079
|
+
region: 'Region',
|
|
26080
|
+
resultInfo: 'ResultInfo',
|
|
26081
|
+
startTime: 'StartTime',
|
|
26082
|
+
status: 'Status',
|
|
26083
|
+
switchTime: 'SwitchTime',
|
|
26084
|
+
taskId: 'TaskId',
|
|
26085
|
+
taskParams: 'TaskParams',
|
|
26086
|
+
taskType: 'TaskType',
|
|
26087
|
+
taskTypeEn: 'TaskTypeEn',
|
|
26088
|
+
taskTypeZh: 'TaskTypeZh',
|
|
26089
|
+
};
|
|
26090
|
+
}
|
|
26091
|
+
|
|
26092
|
+
static types(): { [key: string]: any } {
|
|
26093
|
+
return {
|
|
26094
|
+
allowCancel: 'number',
|
|
26095
|
+
allowChange: 'number',
|
|
26096
|
+
changeLevel: 'string',
|
|
26097
|
+
changeLevelEn: 'string',
|
|
26098
|
+
changeLevelZh: 'string',
|
|
26099
|
+
createdTime: 'string',
|
|
26100
|
+
currentAVZ: 'string',
|
|
26101
|
+
DBClusterId: 'string',
|
|
26102
|
+
DBNodeIds: { 'type': 'array', 'itemType': 'string' },
|
|
26103
|
+
DBType: 'string',
|
|
26104
|
+
DBVersion: 'string',
|
|
26105
|
+
deadline: 'string',
|
|
26106
|
+
impact: 'string',
|
|
26107
|
+
impactEn: 'string',
|
|
26108
|
+
impactZh: 'string',
|
|
26109
|
+
insComment: 'string',
|
|
26110
|
+
modifiedTime: 'string',
|
|
26111
|
+
prepareInterval: 'string',
|
|
26112
|
+
region: 'string',
|
|
26113
|
+
resultInfo: 'string',
|
|
26114
|
+
startTime: 'string',
|
|
26115
|
+
status: 'number',
|
|
26116
|
+
switchTime: 'string',
|
|
26117
|
+
taskId: 'number',
|
|
26118
|
+
taskParams: 'string',
|
|
26119
|
+
taskType: 'string',
|
|
26120
|
+
taskTypeEn: 'string',
|
|
26121
|
+
taskTypeZh: 'string',
|
|
26122
|
+
};
|
|
26123
|
+
}
|
|
26124
|
+
|
|
26125
|
+
constructor(map?: { [key: string]: any }) {
|
|
26126
|
+
super(map);
|
|
26127
|
+
}
|
|
26128
|
+
}
|
|
26129
|
+
|
|
25372
26130
|
export class DescribeAutoRenewAttributeResponseBodyItemsAutoRenewAttribute extends $tea.Model {
|
|
25373
26131
|
/**
|
|
25374
26132
|
* @remarks
|
|
@@ -25799,8 +26557,7 @@ export class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
|
|
|
25799
26557
|
DBClusterId?: string;
|
|
25800
26558
|
/**
|
|
25801
26559
|
* @remarks
|
|
25802
|
-
* The expected expiration time of the backup set.
|
|
25803
|
-
* > This parameter is supported only for instances that are enabled with sparse backup.
|
|
26560
|
+
* The expected expiration time of the backup set (This parameter is supported only for clusters for which sparse backup is enabled).
|
|
25804
26561
|
*
|
|
25805
26562
|
* @example
|
|
25806
26563
|
* 2022-10-24T08:13:23Z
|
|
@@ -27144,6 +27901,12 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointListAddressItems e
|
|
|
27144
27901
|
*/
|
|
27145
27902
|
port?: string;
|
|
27146
27903
|
/**
|
|
27904
|
+
* @remarks
|
|
27905
|
+
* Indicates whether SSL encryption is enabled. Valid values:
|
|
27906
|
+
*
|
|
27907
|
+
* - **Enabled**
|
|
27908
|
+
* - **Disabled**
|
|
27909
|
+
*
|
|
27147
27910
|
* @example
|
|
27148
27911
|
* Enabled
|
|
27149
27912
|
*/
|
|
@@ -27200,6 +27963,9 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointList extends $tea.
|
|
|
27200
27963
|
*/
|
|
27201
27964
|
addressItems?: DescribeDBClusterMigrationResponseBodyRdsEndpointListAddressItems[];
|
|
27202
27965
|
/**
|
|
27966
|
+
* @remarks
|
|
27967
|
+
* The instance type.
|
|
27968
|
+
*
|
|
27203
27969
|
* @example
|
|
27204
27970
|
* ReadOnly
|
|
27205
27971
|
* Maxscale
|
|
@@ -27207,11 +27973,20 @@ export class DescribeDBClusterMigrationResponseBodyRdsEndpointList extends $tea.
|
|
|
27207
27973
|
*/
|
|
27208
27974
|
custinsType?: string;
|
|
27209
27975
|
/**
|
|
27976
|
+
* @remarks
|
|
27977
|
+
* The ID of the endpoint.
|
|
27978
|
+
*
|
|
27210
27979
|
* @example
|
|
27211
27980
|
* rm-************-normal
|
|
27212
27981
|
*/
|
|
27213
27982
|
DBEndpointId?: string;
|
|
27214
27983
|
/**
|
|
27984
|
+
* @remarks
|
|
27985
|
+
* The type of the endpoint. Valid values:
|
|
27986
|
+
*
|
|
27987
|
+
* - **Normal**: the standard endpoint
|
|
27988
|
+
* - **ReadWriteSplitting**: the read/write splitting endpoint
|
|
27989
|
+
*
|
|
27215
27990
|
* @example
|
|
27216
27991
|
* Normal
|
|
27217
27992
|
*/
|
|
@@ -27727,6 +28502,7 @@ export class DescribeDBClusterSSLResponseBodyItems extends $tea.Model {
|
|
|
27727
28502
|
* pe-************
|
|
27728
28503
|
*/
|
|
27729
28504
|
DBEndpointId?: string;
|
|
28505
|
+
SSLAutoRotate?: string;
|
|
27730
28506
|
/**
|
|
27731
28507
|
* @remarks
|
|
27732
28508
|
* The SSL connection string.
|
|
@@ -27757,6 +28533,7 @@ export class DescribeDBClusterSSLResponseBodyItems extends $tea.Model {
|
|
|
27757
28533
|
static names(): { [key: string]: string } {
|
|
27758
28534
|
return {
|
|
27759
28535
|
DBEndpointId: 'DBEndpointId',
|
|
28536
|
+
SSLAutoRotate: 'SSLAutoRotate',
|
|
27760
28537
|
SSLConnectionString: 'SSLConnectionString',
|
|
27761
28538
|
SSLEnabled: 'SSLEnabled',
|
|
27762
28539
|
SSLExpireTime: 'SSLExpireTime',
|
|
@@ -27766,6 +28543,7 @@ export class DescribeDBClusterSSLResponseBodyItems extends $tea.Model {
|
|
|
27766
28543
|
static types(): { [key: string]: any } {
|
|
27767
28544
|
return {
|
|
27768
28545
|
DBEndpointId: 'string',
|
|
28546
|
+
SSLAutoRotate: 'string',
|
|
27769
28547
|
SSLConnectionString: 'string',
|
|
27770
28548
|
SSLEnabled: 'string',
|
|
27771
28549
|
SSLExpireTime: 'string',
|
|
@@ -32658,6 +33436,72 @@ export default class Client extends OpenApi {
|
|
|
32658
33436
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
32659
33437
|
}
|
|
32660
33438
|
|
|
33439
|
+
/**
|
|
33440
|
+
* 用户侧取消任务
|
|
33441
|
+
*
|
|
33442
|
+
* @param request - CancelActiveOperationTasksRequest
|
|
33443
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
33444
|
+
* @returns CancelActiveOperationTasksResponse
|
|
33445
|
+
*/
|
|
33446
|
+
async cancelActiveOperationTasksWithOptions(request: CancelActiveOperationTasksRequest, runtime: $Util.RuntimeOptions): Promise<CancelActiveOperationTasksResponse> {
|
|
33447
|
+
Util.validateModel(request);
|
|
33448
|
+
let query = { };
|
|
33449
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
33450
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
33451
|
+
}
|
|
33452
|
+
|
|
33453
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
33454
|
+
query["OwnerId"] = request.ownerId;
|
|
33455
|
+
}
|
|
33456
|
+
|
|
33457
|
+
if (!Util.isUnset(request.regionId)) {
|
|
33458
|
+
query["RegionId"] = request.regionId;
|
|
33459
|
+
}
|
|
33460
|
+
|
|
33461
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
33462
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
33463
|
+
}
|
|
33464
|
+
|
|
33465
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
33466
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
33467
|
+
}
|
|
33468
|
+
|
|
33469
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
33470
|
+
query["SecurityToken"] = request.securityToken;
|
|
33471
|
+
}
|
|
33472
|
+
|
|
33473
|
+
if (!Util.isUnset(request.taskIds)) {
|
|
33474
|
+
query["TaskIds"] = request.taskIds;
|
|
33475
|
+
}
|
|
33476
|
+
|
|
33477
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
33478
|
+
query: OpenApiUtil.query(query),
|
|
33479
|
+
});
|
|
33480
|
+
let params = new $OpenApi.Params({
|
|
33481
|
+
action: "CancelActiveOperationTasks",
|
|
33482
|
+
version: "2017-08-01",
|
|
33483
|
+
protocol: "HTTPS",
|
|
33484
|
+
pathname: "/",
|
|
33485
|
+
method: "POST",
|
|
33486
|
+
authType: "AK",
|
|
33487
|
+
style: "RPC",
|
|
33488
|
+
reqBodyType: "formData",
|
|
33489
|
+
bodyType: "json",
|
|
33490
|
+
});
|
|
33491
|
+
return $tea.cast<CancelActiveOperationTasksResponse>(await this.callApi(params, req, runtime), new CancelActiveOperationTasksResponse({}));
|
|
33492
|
+
}
|
|
33493
|
+
|
|
33494
|
+
/**
|
|
33495
|
+
* 用户侧取消任务
|
|
33496
|
+
*
|
|
33497
|
+
* @param request - CancelActiveOperationTasksRequest
|
|
33498
|
+
* @returns CancelActiveOperationTasksResponse
|
|
33499
|
+
*/
|
|
33500
|
+
async cancelActiveOperationTasks(request: CancelActiveOperationTasksRequest): Promise<CancelActiveOperationTasksResponse> {
|
|
33501
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
33502
|
+
return await this.cancelActiveOperationTasksWithOptions(request, runtime);
|
|
33503
|
+
}
|
|
33504
|
+
|
|
32661
33505
|
/**
|
|
32662
33506
|
* Cancels scheduled tasks that are not yet started.
|
|
32663
33507
|
*
|
|
@@ -33411,7 +34255,7 @@ export default class Client extends OpenApi {
|
|
|
33411
34255
|
}
|
|
33412
34256
|
|
|
33413
34257
|
/**
|
|
33414
|
-
*
|
|
34258
|
+
* CreateDBCluster.
|
|
33415
34259
|
*
|
|
33416
34260
|
* @param request - CreateDBClusterRequest
|
|
33417
34261
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -33624,6 +34468,10 @@ export default class Client extends OpenApi {
|
|
|
33624
34468
|
query["Tag"] = request.tag;
|
|
33625
34469
|
}
|
|
33626
34470
|
|
|
34471
|
+
if (!Util.isUnset(request.targetMinorVersion)) {
|
|
34472
|
+
query["TargetMinorVersion"] = request.targetMinorVersion;
|
|
34473
|
+
}
|
|
34474
|
+
|
|
33627
34475
|
if (!Util.isUnset(request.usedTime)) {
|
|
33628
34476
|
query["UsedTime"] = request.usedTime;
|
|
33629
34477
|
}
|
|
@@ -33658,7 +34506,7 @@ export default class Client extends OpenApi {
|
|
|
33658
34506
|
}
|
|
33659
34507
|
|
|
33660
34508
|
/**
|
|
33661
|
-
*
|
|
34509
|
+
* CreateDBCluster.
|
|
33662
34510
|
*
|
|
33663
34511
|
* @param request - CreateDBClusterRequest
|
|
33664
34512
|
* @returns CreateDBClusterResponse
|
|
@@ -35507,7 +36355,7 @@ export default class Client extends OpenApi {
|
|
|
35507
36355
|
}
|
|
35508
36356
|
|
|
35509
36357
|
/**
|
|
35510
|
-
*
|
|
36358
|
+
* Queries the details of an activation code.
|
|
35511
36359
|
*
|
|
35512
36360
|
* @param request - DescribeActivationCodeDetailsRequest
|
|
35513
36361
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -35558,7 +36406,7 @@ export default class Client extends OpenApi {
|
|
|
35558
36406
|
}
|
|
35559
36407
|
|
|
35560
36408
|
/**
|
|
35561
|
-
*
|
|
36409
|
+
* Queries the details of an activation code.
|
|
35562
36410
|
*
|
|
35563
36411
|
* @param request - DescribeActivationCodeDetailsRequest
|
|
35564
36412
|
* @returns DescribeActivationCodeDetailsResponse
|
|
@@ -35634,6 +36482,104 @@ export default class Client extends OpenApi {
|
|
|
35634
36482
|
return await this.describeActivationCodesWithOptions(request, runtime);
|
|
35635
36483
|
}
|
|
35636
36484
|
|
|
36485
|
+
/**
|
|
36486
|
+
* 用户侧查询运维任务
|
|
36487
|
+
*
|
|
36488
|
+
* @param request - DescribeActiveOperationTasksRequest
|
|
36489
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
36490
|
+
* @returns DescribeActiveOperationTasksResponse
|
|
36491
|
+
*/
|
|
36492
|
+
async describeActiveOperationTasksWithOptions(request: DescribeActiveOperationTasksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeActiveOperationTasksResponse> {
|
|
36493
|
+
Util.validateModel(request);
|
|
36494
|
+
let query = { };
|
|
36495
|
+
if (!Util.isUnset(request.allowCancel)) {
|
|
36496
|
+
query["AllowCancel"] = request.allowCancel;
|
|
36497
|
+
}
|
|
36498
|
+
|
|
36499
|
+
if (!Util.isUnset(request.allowChange)) {
|
|
36500
|
+
query["AllowChange"] = request.allowChange;
|
|
36501
|
+
}
|
|
36502
|
+
|
|
36503
|
+
if (!Util.isUnset(request.changeLevel)) {
|
|
36504
|
+
query["ChangeLevel"] = request.changeLevel;
|
|
36505
|
+
}
|
|
36506
|
+
|
|
36507
|
+
if (!Util.isUnset(request.DBClusterId)) {
|
|
36508
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
36509
|
+
}
|
|
36510
|
+
|
|
36511
|
+
if (!Util.isUnset(request.DBType)) {
|
|
36512
|
+
query["DBType"] = request.DBType;
|
|
36513
|
+
}
|
|
36514
|
+
|
|
36515
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
36516
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
36517
|
+
}
|
|
36518
|
+
|
|
36519
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
36520
|
+
query["OwnerId"] = request.ownerId;
|
|
36521
|
+
}
|
|
36522
|
+
|
|
36523
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
36524
|
+
query["PageNumber"] = request.pageNumber;
|
|
36525
|
+
}
|
|
36526
|
+
|
|
36527
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
36528
|
+
query["PageSize"] = request.pageSize;
|
|
36529
|
+
}
|
|
36530
|
+
|
|
36531
|
+
if (!Util.isUnset(request.regionId)) {
|
|
36532
|
+
query["RegionId"] = request.regionId;
|
|
36533
|
+
}
|
|
36534
|
+
|
|
36535
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
36536
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
36537
|
+
}
|
|
36538
|
+
|
|
36539
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
36540
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
36541
|
+
}
|
|
36542
|
+
|
|
36543
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
36544
|
+
query["SecurityToken"] = request.securityToken;
|
|
36545
|
+
}
|
|
36546
|
+
|
|
36547
|
+
if (!Util.isUnset(request.status)) {
|
|
36548
|
+
query["Status"] = request.status;
|
|
36549
|
+
}
|
|
36550
|
+
|
|
36551
|
+
if (!Util.isUnset(request.taskType)) {
|
|
36552
|
+
query["TaskType"] = request.taskType;
|
|
36553
|
+
}
|
|
36554
|
+
|
|
36555
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
36556
|
+
query: OpenApiUtil.query(query),
|
|
36557
|
+
});
|
|
36558
|
+
let params = new $OpenApi.Params({
|
|
36559
|
+
action: "DescribeActiveOperationTasks",
|
|
36560
|
+
version: "2017-08-01",
|
|
36561
|
+
protocol: "HTTPS",
|
|
36562
|
+
pathname: "/",
|
|
36563
|
+
method: "POST",
|
|
36564
|
+
authType: "AK",
|
|
36565
|
+
style: "RPC",
|
|
36566
|
+
reqBodyType: "formData",
|
|
36567
|
+
bodyType: "json",
|
|
36568
|
+
});
|
|
36569
|
+
return $tea.cast<DescribeActiveOperationTasksResponse>(await this.callApi(params, req, runtime), new DescribeActiveOperationTasksResponse({}));
|
|
36570
|
+
}
|
|
36571
|
+
|
|
36572
|
+
/**
|
|
36573
|
+
* 用户侧查询运维任务
|
|
36574
|
+
*
|
|
36575
|
+
* @param request - DescribeActiveOperationTasksRequest
|
|
36576
|
+
* @returns DescribeActiveOperationTasksResponse
|
|
36577
|
+
*/
|
|
36578
|
+
async describeActiveOperationTasks(request: DescribeActiveOperationTasksRequest): Promise<DescribeActiveOperationTasksResponse> {
|
|
36579
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
36580
|
+
return await this.describeActiveOperationTasksWithOptions(request, runtime);
|
|
36581
|
+
}
|
|
36582
|
+
|
|
35637
36583
|
/**
|
|
35638
36584
|
* Queries the auto-renewal attributes of a subscription PolarDB cluster.
|
|
35639
36585
|
*
|
|
@@ -36861,7 +37807,7 @@ export default class Client extends OpenApi {
|
|
|
36861
37807
|
}
|
|
36862
37808
|
|
|
36863
37809
|
/**
|
|
36864
|
-
*
|
|
37810
|
+
* Query serverless configuration.
|
|
36865
37811
|
*
|
|
36866
37812
|
* @param request - DescribeDBClusterServerlessConfRequest
|
|
36867
37813
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -36908,7 +37854,7 @@ export default class Client extends OpenApi {
|
|
|
36908
37854
|
}
|
|
36909
37855
|
|
|
36910
37856
|
/**
|
|
36911
|
-
*
|
|
37857
|
+
* Query serverless configuration.
|
|
36912
37858
|
*
|
|
36913
37859
|
* @param request - DescribeDBClusterServerlessConfRequest
|
|
36914
37860
|
* @returns DescribeDBClusterServerlessConfResponse
|
|
@@ -38127,7 +39073,7 @@ export default class Client extends OpenApi {
|
|
|
38127
39073
|
}
|
|
38128
39074
|
|
|
38129
39075
|
/**
|
|
38130
|
-
*
|
|
39076
|
+
* Queries the information of a license order.
|
|
38131
39077
|
*
|
|
38132
39078
|
* @param request - DescribeLicenseOrderDetailsRequest
|
|
38133
39079
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -38174,7 +39120,7 @@ export default class Client extends OpenApi {
|
|
|
38174
39120
|
}
|
|
38175
39121
|
|
|
38176
39122
|
/**
|
|
38177
|
-
*
|
|
39123
|
+
* Queries the information of a license order.
|
|
38178
39124
|
*
|
|
38179
39125
|
* @param request - DescribeLicenseOrderDetailsRequest
|
|
38180
39126
|
* @returns DescribeLicenseOrderDetailsResponse
|
|
@@ -40174,6 +41120,80 @@ export default class Client extends OpenApi {
|
|
|
40174
41120
|
return await this.modifyAccountPasswordWithOptions(request, runtime);
|
|
40175
41121
|
}
|
|
40176
41122
|
|
|
41123
|
+
/**
|
|
41124
|
+
* 用户侧修改任务
|
|
41125
|
+
*
|
|
41126
|
+
* @param request - ModifyActiveOperationTasksRequest
|
|
41127
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
41128
|
+
* @returns ModifyActiveOperationTasksResponse
|
|
41129
|
+
*/
|
|
41130
|
+
async modifyActiveOperationTasksWithOptions(request: ModifyActiveOperationTasksRequest, runtime: $Util.RuntimeOptions): Promise<ModifyActiveOperationTasksResponse> {
|
|
41131
|
+
Util.validateModel(request);
|
|
41132
|
+
let query = { };
|
|
41133
|
+
if (!Util.isUnset(request.immediateStart)) {
|
|
41134
|
+
query["ImmediateStart"] = request.immediateStart;
|
|
41135
|
+
}
|
|
41136
|
+
|
|
41137
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
41138
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
41139
|
+
}
|
|
41140
|
+
|
|
41141
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
41142
|
+
query["OwnerId"] = request.ownerId;
|
|
41143
|
+
}
|
|
41144
|
+
|
|
41145
|
+
if (!Util.isUnset(request.regionId)) {
|
|
41146
|
+
query["RegionId"] = request.regionId;
|
|
41147
|
+
}
|
|
41148
|
+
|
|
41149
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
41150
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
41151
|
+
}
|
|
41152
|
+
|
|
41153
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
41154
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
41155
|
+
}
|
|
41156
|
+
|
|
41157
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
41158
|
+
query["SecurityToken"] = request.securityToken;
|
|
41159
|
+
}
|
|
41160
|
+
|
|
41161
|
+
if (!Util.isUnset(request.switchTime)) {
|
|
41162
|
+
query["SwitchTime"] = request.switchTime;
|
|
41163
|
+
}
|
|
41164
|
+
|
|
41165
|
+
if (!Util.isUnset(request.taskIds)) {
|
|
41166
|
+
query["TaskIds"] = request.taskIds;
|
|
41167
|
+
}
|
|
41168
|
+
|
|
41169
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
41170
|
+
query: OpenApiUtil.query(query),
|
|
41171
|
+
});
|
|
41172
|
+
let params = new $OpenApi.Params({
|
|
41173
|
+
action: "ModifyActiveOperationTasks",
|
|
41174
|
+
version: "2017-08-01",
|
|
41175
|
+
protocol: "HTTPS",
|
|
41176
|
+
pathname: "/",
|
|
41177
|
+
method: "POST",
|
|
41178
|
+
authType: "AK",
|
|
41179
|
+
style: "RPC",
|
|
41180
|
+
reqBodyType: "formData",
|
|
41181
|
+
bodyType: "json",
|
|
41182
|
+
});
|
|
41183
|
+
return $tea.cast<ModifyActiveOperationTasksResponse>(await this.callApi(params, req, runtime), new ModifyActiveOperationTasksResponse({}));
|
|
41184
|
+
}
|
|
41185
|
+
|
|
41186
|
+
/**
|
|
41187
|
+
* 用户侧修改任务
|
|
41188
|
+
*
|
|
41189
|
+
* @param request - ModifyActiveOperationTasksRequest
|
|
41190
|
+
* @returns ModifyActiveOperationTasksResponse
|
|
41191
|
+
*/
|
|
41192
|
+
async modifyActiveOperationTasks(request: ModifyActiveOperationTasksRequest): Promise<ModifyActiveOperationTasksResponse> {
|
|
41193
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
41194
|
+
return await this.modifyActiveOperationTasksWithOptions(request, runtime);
|
|
41195
|
+
}
|
|
41196
|
+
|
|
40177
41197
|
/**
|
|
40178
41198
|
* Modifies the auto-renewal attributes of a subscription PolarDB cluster.
|
|
40179
41199
|
*
|
|
@@ -40594,6 +41614,10 @@ export default class Client extends OpenApi {
|
|
|
40594
41614
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
40595
41615
|
}
|
|
40596
41616
|
|
|
41617
|
+
if (!Util.isUnset(request.standbyClusterIdListNeedToSync)) {
|
|
41618
|
+
query["StandbyClusterIdListNeedToSync"] = request.standbyClusterIdListNeedToSync;
|
|
41619
|
+
}
|
|
41620
|
+
|
|
40597
41621
|
let req = new $OpenApi.OpenApiRequest({
|
|
40598
41622
|
query: OpenApiUtil.query(query),
|
|
40599
41623
|
});
|
|
@@ -41989,7 +43013,7 @@ export default class Client extends OpenApi {
|
|
|
41989
43013
|
}
|
|
41990
43014
|
|
|
41991
43015
|
/**
|
|
41992
|
-
* Enables or disables the hot
|
|
43016
|
+
* Enables or disables the failover with hot replica feature for a node in a cluster.
|
|
41993
43017
|
*
|
|
41994
43018
|
* @param request - ModifyDBNodeHotReplicaModeRequest
|
|
41995
43019
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -42044,7 +43068,7 @@ export default class Client extends OpenApi {
|
|
|
42044
43068
|
}
|
|
42045
43069
|
|
|
42046
43070
|
/**
|
|
42047
|
-
* Enables or disables the hot
|
|
43071
|
+
* Enables or disables the failover with hot replica feature for a node in a cluster.
|
|
42048
43072
|
*
|
|
42049
43073
|
* @param request - ModifyDBNodeHotReplicaModeRequest
|
|
42050
43074
|
* @returns ModifyDBNodeHotReplicaModeResponse
|