@alicloud/polardb20170801 7.4.0 → 7.5.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 +51 -40
- package/dist/client.js +170 -40
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskRequest.d.ts +13 -17
- package/dist/models/CreateAidbclusterTaskRequest.js +2 -0
- package/dist/models/CreateAidbclusterTaskRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskResponseBody.d.ts +2 -2
- package/dist/models/CreateBackupRequest.d.ts +2 -1
- package/dist/models/CreateBackupRequest.js +2 -0
- package/dist/models/CreateBackupRequest.js.map +1 -1
- package/dist/models/CreateBackupResponseBody.d.ts +1 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +91 -18
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +127 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTaskAttributeRequest.d.ts +3 -3
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +37 -45
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTasksRequest.d.ts +2 -2
- package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +18 -17
- package/dist/models/DescribeAidbclusterTasksResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationLogsRequest.d.ts +10 -10
- package/dist/models/DescribeApplicationLogsResponseBody.d.ts +2 -6
- package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableModelsRequest.d.ts +1 -1
- package/dist/models/DescribeAvailableModelsResponseBody.d.ts +7 -6
- package/dist/models/DescribeAvailableModelsResponseBody.js +2 -0
- package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupsRequest.d.ts +12 -19
- package/dist/models/DescribeBackupsRequest.js.map +1 -1
- package/dist/models/DescribeBackupsResponseBody.d.ts +5 -7
- package/dist/models/DescribeBackupsResponseBody.js +2 -0
- package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesRequest.d.ts +10 -14
- package/dist/models/DescribeBudgetPoliciesRequest.js +2 -0
- package/dist/models/DescribeBudgetPoliciesRequest.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesResponseBody.d.ts +18 -22
- package/dist/models/DescribeBudgetPoliciesResponseBody.js.map +1 -1
- package/dist/models/DescribeConsumersRequest.d.ts +10 -10
- package/dist/models/DescribeConsumersRequest.js +4 -0
- package/dist/models/DescribeConsumersRequest.js.map +1 -1
- package/dist/models/DescribeConsumersResponseBody.d.ts +17 -17
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +5 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterPriceRequest.d.ts +244 -0
- package/dist/models/DescribeDbclusterPriceRequest.js +125 -0
- package/dist/models/DescribeDbclusterPriceRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponse.d.ts +19 -0
- package/dist/models/DescribeDbclusterPriceResponse.js +69 -0
- package/dist/models/DescribeDbclusterPriceResponse.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.d.ts +161 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js +217 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.d.ts +216 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js +101 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterSslrequest.d.ts +6 -2
- package/dist/models/DescribeDbclusterSslrequest.js +2 -0
- package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
- package/dist/models/DescribeDbclusterSslresponseBody.d.ts +13 -14
- package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +75 -19
- package/dist/models/DescribePolarFsAttributeResponseBody.js +73 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsRequest.d.ts +39 -0
- package/dist/models/DescribePolarFsRequest.js.map +1 -1
- package/dist/models/DescribePolarFsResponseBody.d.ts +12 -0
- package/dist/models/DescribePolarFsResponseBody.js.map +1 -1
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +27 -32
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +28 -27
- package/dist/models/ModifyDbclusterSslrequest.js +4 -0
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/model.d.ts +18 -0
- package/dist/models/model.js +76 -40
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +204 -40
- package/src/models/CreateAidbclusterTaskRequest.ts +15 -17
- package/src/models/CreateAidbclusterTaskResponseBody.ts +2 -2
- package/src/models/CreateBackupRequest.ts +4 -1
- package/src/models/CreateBackupResponseBody.ts +1 -1
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +172 -18
- package/src/models/DescribeAidbclusterTaskAttributeRequest.ts +3 -3
- package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +39 -45
- package/src/models/DescribeAidbclusterTasksRequest.ts +2 -2
- package/src/models/DescribeAidbclusterTasksResponseBody.ts +20 -17
- package/src/models/DescribeApplicationLogsRequest.ts +10 -10
- package/src/models/DescribeApplicationLogsResponseBody.ts +2 -6
- package/src/models/DescribeAvailableModelsRequest.ts +1 -1
- package/src/models/DescribeAvailableModelsResponseBody.ts +9 -6
- package/src/models/DescribeBackupsRequest.ts +14 -21
- package/src/models/DescribeBackupsResponseBody.ts +7 -7
- package/src/models/DescribeBudgetPoliciesRequest.ts +13 -15
- package/src/models/DescribeBudgetPoliciesResponseBody.ts +19 -23
- package/src/models/DescribeConsumersRequest.ts +14 -10
- package/src/models/DescribeConsumersResponseBody.ts +17 -17
- package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +7 -0
- package/src/models/DescribeDbclusterPriceRequest.ts +315 -0
- package/src/models/DescribeDbclusterPriceResponse.ts +40 -0
- package/src/models/DescribeDbclusterPriceResponseBody.ts +279 -0
- package/src/models/DescribeDbclusterPriceShrinkRequest.ts +272 -0
- package/src/models/DescribeDbclusterSslrequest.ts +8 -2
- package/src/models/DescribeDbclusterSslresponseBody.ts +13 -14
- package/src/models/DescribePolarFsAttributeResponseBody.ts +129 -19
- package/src/models/DescribePolarFsRequest.ts +39 -0
- package/src/models/DescribePolarFsResponseBody.ts +12 -0
- package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +29 -32
- package/src/models/ModifyDbclusterSslrequest.ts +32 -27
- package/src/models/model.ts +18 -0
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDBClusterPriceResponseBodyPriceInfoCouponsCoupon extends $dara.Model {
|
|
6
|
+
couponNo?: string;
|
|
7
|
+
isSelected?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
static names(): { [key: string]: string } {
|
|
10
|
+
return {
|
|
11
|
+
couponNo: 'CouponNo',
|
|
12
|
+
isSelected: 'IsSelected',
|
|
13
|
+
name: 'Name',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
couponNo: 'string',
|
|
20
|
+
isSelected: 'string',
|
|
21
|
+
name: 'string',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
validate() {
|
|
26
|
+
super.validate();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(map?: { [key: string]: any }) {
|
|
30
|
+
super(map);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export class DescribeDBClusterPriceResponseBodyPriceInfoCoupons extends $dara.Model {
|
|
35
|
+
coupon?: DescribeDBClusterPriceResponseBodyPriceInfoCouponsCoupon[];
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
coupon: 'Coupon',
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
static types(): { [key: string]: any } {
|
|
43
|
+
return {
|
|
44
|
+
coupon: { 'type': 'array', 'itemType': DescribeDBClusterPriceResponseBodyPriceInfoCouponsCoupon },
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
if(Array.isArray(this.coupon)) {
|
|
50
|
+
$dara.Model.validateArray(this.coupon);
|
|
51
|
+
}
|
|
52
|
+
super.validate();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
constructor(map?: { [key: string]: any }) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export class DescribeDBClusterPriceResponseBodyPriceInfoRuleIds extends $dara.Model {
|
|
61
|
+
ruleId?: string[];
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
ruleId: 'RuleId',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
static types(): { [key: string]: any } {
|
|
69
|
+
return {
|
|
70
|
+
ruleId: { 'type': 'array', 'itemType': 'string' },
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
validate() {
|
|
75
|
+
if(Array.isArray(this.ruleId)) {
|
|
76
|
+
$dara.Model.validateArray(this.ruleId);
|
|
77
|
+
}
|
|
78
|
+
super.validate();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
constructor(map?: { [key: string]: any }) {
|
|
82
|
+
super(map);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export class DescribeDBClusterPriceResponseBodyPriceInfo extends $dara.Model {
|
|
87
|
+
coupons?: DescribeDBClusterPriceResponseBodyPriceInfoCoupons;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The currency unit.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* CNY
|
|
94
|
+
*/
|
|
95
|
+
currency?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The discount amount.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* 1978.2
|
|
102
|
+
*/
|
|
103
|
+
discountPrice?: number;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The original price.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* 1099.0
|
|
110
|
+
*/
|
|
111
|
+
originalPrice?: number;
|
|
112
|
+
ruleIds?: DescribeDBClusterPriceResponseBodyPriceInfoRuleIds;
|
|
113
|
+
/**
|
|
114
|
+
* @remarks
|
|
115
|
+
* The final price, which is the original price minus the discount.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* 165.0
|
|
119
|
+
*/
|
|
120
|
+
tradePrice?: number;
|
|
121
|
+
static names(): { [key: string]: string } {
|
|
122
|
+
return {
|
|
123
|
+
coupons: 'Coupons',
|
|
124
|
+
currency: 'Currency',
|
|
125
|
+
discountPrice: 'DiscountPrice',
|
|
126
|
+
originalPrice: 'OriginalPrice',
|
|
127
|
+
ruleIds: 'RuleIds',
|
|
128
|
+
tradePrice: 'TradePrice',
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
static types(): { [key: string]: any } {
|
|
133
|
+
return {
|
|
134
|
+
coupons: DescribeDBClusterPriceResponseBodyPriceInfoCoupons,
|
|
135
|
+
currency: 'string',
|
|
136
|
+
discountPrice: 'number',
|
|
137
|
+
originalPrice: 'number',
|
|
138
|
+
ruleIds: DescribeDBClusterPriceResponseBodyPriceInfoRuleIds,
|
|
139
|
+
tradePrice: 'number',
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
validate() {
|
|
144
|
+
if(this.coupons && typeof (this.coupons as any).validate === 'function') {
|
|
145
|
+
(this.coupons as any).validate();
|
|
146
|
+
}
|
|
147
|
+
if(this.ruleIds && typeof (this.ruleIds as any).validate === 'function') {
|
|
148
|
+
(this.ruleIds as any).validate();
|
|
149
|
+
}
|
|
150
|
+
super.validate();
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
constructor(map?: { [key: string]: any }) {
|
|
154
|
+
super(map);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export class DescribeDBClusterPriceResponseBodyRulesRule extends $dara.Model {
|
|
159
|
+
name?: string;
|
|
160
|
+
ruleId?: number;
|
|
161
|
+
static names(): { [key: string]: string } {
|
|
162
|
+
return {
|
|
163
|
+
name: 'Name',
|
|
164
|
+
ruleId: 'RuleId',
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
static types(): { [key: string]: any } {
|
|
169
|
+
return {
|
|
170
|
+
name: 'string',
|
|
171
|
+
ruleId: 'number',
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
validate() {
|
|
176
|
+
super.validate();
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
constructor(map?: { [key: string]: any }) {
|
|
180
|
+
super(map);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export class DescribeDBClusterPriceResponseBodyRules extends $dara.Model {
|
|
185
|
+
rule?: DescribeDBClusterPriceResponseBodyRulesRule[];
|
|
186
|
+
static names(): { [key: string]: string } {
|
|
187
|
+
return {
|
|
188
|
+
rule: 'Rule',
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
static types(): { [key: string]: any } {
|
|
193
|
+
return {
|
|
194
|
+
rule: { 'type': 'array', 'itemType': DescribeDBClusterPriceResponseBodyRulesRule },
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
validate() {
|
|
199
|
+
if(Array.isArray(this.rule)) {
|
|
200
|
+
$dara.Model.validateArray(this.rule);
|
|
201
|
+
}
|
|
202
|
+
super.validate();
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
constructor(map?: { [key: string]: any }) {
|
|
206
|
+
super(map);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export class DescribeDBClusterPriceResponseBody extends $dara.Model {
|
|
211
|
+
/**
|
|
212
|
+
* @remarks
|
|
213
|
+
* The order type. Valid values:
|
|
214
|
+
* * BUY: new purchase.
|
|
215
|
+
* * UPGRADE: specification change.
|
|
216
|
+
* * RENEW: renewal.
|
|
217
|
+
* * CONVERT: billing method conversion.
|
|
218
|
+
*
|
|
219
|
+
* @example
|
|
220
|
+
* BUY
|
|
221
|
+
*/
|
|
222
|
+
orderType?: string;
|
|
223
|
+
/**
|
|
224
|
+
* @remarks
|
|
225
|
+
* The price details.
|
|
226
|
+
*/
|
|
227
|
+
priceInfo?: DescribeDBClusterPriceResponseBodyPriceInfo;
|
|
228
|
+
/**
|
|
229
|
+
* @remarks
|
|
230
|
+
* The request ID.
|
|
231
|
+
*
|
|
232
|
+
* @example
|
|
233
|
+
* 7E2FE3BB-C677-5FF9-9FC5-XXX
|
|
234
|
+
*/
|
|
235
|
+
requestId?: string;
|
|
236
|
+
rules?: DescribeDBClusterPriceResponseBodyRules;
|
|
237
|
+
/**
|
|
238
|
+
* @remarks
|
|
239
|
+
* Indicates whether discounts are allowed.
|
|
240
|
+
*
|
|
241
|
+
* @example
|
|
242
|
+
* False
|
|
243
|
+
*/
|
|
244
|
+
showDiscount?: boolean;
|
|
245
|
+
static names(): { [key: string]: string } {
|
|
246
|
+
return {
|
|
247
|
+
orderType: 'OrderType',
|
|
248
|
+
priceInfo: 'PriceInfo',
|
|
249
|
+
requestId: 'RequestId',
|
|
250
|
+
rules: 'Rules',
|
|
251
|
+
showDiscount: 'ShowDiscount',
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
static types(): { [key: string]: any } {
|
|
256
|
+
return {
|
|
257
|
+
orderType: 'string',
|
|
258
|
+
priceInfo: DescribeDBClusterPriceResponseBodyPriceInfo,
|
|
259
|
+
requestId: 'string',
|
|
260
|
+
rules: DescribeDBClusterPriceResponseBodyRules,
|
|
261
|
+
showDiscount: 'boolean',
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
validate() {
|
|
266
|
+
if(this.priceInfo && typeof (this.priceInfo as any).validate === 'function') {
|
|
267
|
+
(this.priceInfo as any).validate();
|
|
268
|
+
}
|
|
269
|
+
if(this.rules && typeof (this.rules as any).validate === 'function') {
|
|
270
|
+
(this.rules as any).validate();
|
|
271
|
+
}
|
|
272
|
+
super.validate();
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
constructor(map?: { [key: string]: any }) {
|
|
276
|
+
super(map);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDBClusterPriceShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The cluster edition. Valid values:
|
|
9
|
+
* - Normal: Cluster Edition.
|
|
10
|
+
* - Basic: Single Node Edition.
|
|
11
|
+
* - ArchiveNormal: Archive Database.
|
|
12
|
+
* - SENormal: Standard Edition.
|
|
13
|
+
* - NormalMultimaster: Multi-master Cluster.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* Normal
|
|
17
|
+
*/
|
|
18
|
+
creationCategory?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The cluster ID. Required for non-BUY scenarios.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* pc-**************
|
|
25
|
+
*/
|
|
26
|
+
DBClusterId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The node specifications. Required for the BUY scenario. Example format: polar.mysql.x4.large.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* polar.mysql.x4.large
|
|
33
|
+
*/
|
|
34
|
+
DBNodeClass?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The list of node IDs to delete. Used when ModifyType is set to DELETE.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* pi-**************
|
|
41
|
+
*/
|
|
42
|
+
DBNodeIds?: string[];
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The number of nodes. Valid for the BUY scenario. This value includes the read/write node. Minimum value: 1. Default value: 1.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* 2
|
|
49
|
+
*/
|
|
50
|
+
DBNodeNum?: number;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The list of heterogeneous specification change nodes. Used for specification change scenarios to specify the target specifications for each node.
|
|
54
|
+
*/
|
|
55
|
+
DBNodesShrink?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The database engine type. Required for the BUY scenario. Valid values: MySQL, PostgreSQL, and Oracle.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* MySQL
|
|
62
|
+
*/
|
|
63
|
+
DBType?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The database engine version. Required for the BUY scenario. Valid values for MySQL: 5.6, 5.7, and 8.0. Valid values for PostgreSQL: 11 and 14. Valid values for Oracle: 11 and 14.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 8.0
|
|
70
|
+
*/
|
|
71
|
+
DBVersion?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* Specifies whether to enable the hot standby cluster. Valid values:
|
|
75
|
+
* - ON: Enable.
|
|
76
|
+
* - OFF: Disable.
|
|
77
|
+
*
|
|
78
|
+
* Valid for the BUY and specification change scenarios.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ON
|
|
82
|
+
*/
|
|
83
|
+
hotStandbyCluster?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The specification change direction. Valid values:
|
|
87
|
+
* - ADD: add nodes.
|
|
88
|
+
* - DELETE: remove nodes.
|
|
89
|
+
* - UPGRADE: upgrade specifications.
|
|
90
|
+
* - DOWNGRADE: downgrade specifications.
|
|
91
|
+
* - HOT_STANDBY: hot standby change.
|
|
92
|
+
* - STORAGE: storage space change.
|
|
93
|
+
* - STORAGE_TYPE: storage type change.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* UPGRADE
|
|
97
|
+
*/
|
|
98
|
+
modifyType?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* The order type. Valid values:
|
|
102
|
+
* - BUY: new purchase.
|
|
103
|
+
* - CONVERT: billing method conversion.
|
|
104
|
+
* - RENEW: renewal.
|
|
105
|
+
* - UPGRADE: upgrade specifications or add nodes.
|
|
106
|
+
* - DOWNGRADE: downgrade specifications or remove nodes.
|
|
107
|
+
*
|
|
108
|
+
* This parameter is required.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* BUY
|
|
112
|
+
*/
|
|
113
|
+
orderType?: string;
|
|
114
|
+
/**
|
|
115
|
+
* @remarks
|
|
116
|
+
* The billing method. Required for the BUY and CONVERT scenarios. Valid values:
|
|
117
|
+
* - Prepaid: subscription.
|
|
118
|
+
* - Postpaid: pay-as-you-go.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* Prepaid
|
|
122
|
+
*/
|
|
123
|
+
payType?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The subscription cycle. Valid values:
|
|
127
|
+
* - Month: monthly.
|
|
128
|
+
* - Year: yearly.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* Month
|
|
132
|
+
*/
|
|
133
|
+
period?: string;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* The provisioned IOPS. Used for the Standard Edition (SENormal) scenario.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* 1000
|
|
140
|
+
*/
|
|
141
|
+
provisionedIops?: string;
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* The region ID.
|
|
145
|
+
*
|
|
146
|
+
* This parameter is required.
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* cn-hangzhou
|
|
150
|
+
*/
|
|
151
|
+
regionId?: string;
|
|
152
|
+
/**
|
|
153
|
+
* @remarks
|
|
154
|
+
* The serverless type. Valid values: AgileServerless.
|
|
155
|
+
*
|
|
156
|
+
* @example
|
|
157
|
+
* AgileServerless
|
|
158
|
+
*/
|
|
159
|
+
serverlessType?: string;
|
|
160
|
+
/**
|
|
161
|
+
* @remarks
|
|
162
|
+
* The storage billing type. Valid values:
|
|
163
|
+
* - Prepaid: subscription.
|
|
164
|
+
* - Postpaid: pay-as-you-go.
|
|
165
|
+
*
|
|
166
|
+
* @example
|
|
167
|
+
* Prepaid
|
|
168
|
+
*/
|
|
169
|
+
storageChargeType?: string;
|
|
170
|
+
/**
|
|
171
|
+
* @remarks
|
|
172
|
+
* The storage space, in GB. Used for prepaid storage or storage specification change scenarios.
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* 50
|
|
176
|
+
*/
|
|
177
|
+
storageSpace?: string;
|
|
178
|
+
/**
|
|
179
|
+
* @remarks
|
|
180
|
+
* The storage type. Valid values:
|
|
181
|
+
* - PSL5: high performance.
|
|
182
|
+
* - PSL4: standard.
|
|
183
|
+
* - ESSDPL0
|
|
184
|
+
* - ESSDPL1
|
|
185
|
+
* - ESSDPL2
|
|
186
|
+
* - ESSDPL3
|
|
187
|
+
* - ESSDAUTOPL
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* PSL5
|
|
191
|
+
*/
|
|
192
|
+
storageType?: string;
|
|
193
|
+
/**
|
|
194
|
+
* @remarks
|
|
195
|
+
* The subscription duration. Used together with Period. Valid for the BUY, CONVERT, and RENEW scenarios when the billing method is Prepaid.
|
|
196
|
+
*
|
|
197
|
+
* @example
|
|
198
|
+
* 1
|
|
199
|
+
*/
|
|
200
|
+
usedTime?: string;
|
|
201
|
+
/**
|
|
202
|
+
* @remarks
|
|
203
|
+
* The zone ID. We recommend that you specify this parameter for the BUY scenario.
|
|
204
|
+
*
|
|
205
|
+
* @example
|
|
206
|
+
* cn-hangzhou-h
|
|
207
|
+
*/
|
|
208
|
+
zoneId?: string;
|
|
209
|
+
static names(): { [key: string]: string } {
|
|
210
|
+
return {
|
|
211
|
+
creationCategory: 'CreationCategory',
|
|
212
|
+
DBClusterId: 'DBClusterId',
|
|
213
|
+
DBNodeClass: 'DBNodeClass',
|
|
214
|
+
DBNodeIds: 'DBNodeIds',
|
|
215
|
+
DBNodeNum: 'DBNodeNum',
|
|
216
|
+
DBNodesShrink: 'DBNodes',
|
|
217
|
+
DBType: 'DBType',
|
|
218
|
+
DBVersion: 'DBVersion',
|
|
219
|
+
hotStandbyCluster: 'HotStandbyCluster',
|
|
220
|
+
modifyType: 'ModifyType',
|
|
221
|
+
orderType: 'OrderType',
|
|
222
|
+
payType: 'PayType',
|
|
223
|
+
period: 'Period',
|
|
224
|
+
provisionedIops: 'ProvisionedIops',
|
|
225
|
+
regionId: 'RegionId',
|
|
226
|
+
serverlessType: 'ServerlessType',
|
|
227
|
+
storageChargeType: 'StorageChargeType',
|
|
228
|
+
storageSpace: 'StorageSpace',
|
|
229
|
+
storageType: 'StorageType',
|
|
230
|
+
usedTime: 'UsedTime',
|
|
231
|
+
zoneId: 'ZoneId',
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
static types(): { [key: string]: any } {
|
|
236
|
+
return {
|
|
237
|
+
creationCategory: 'string',
|
|
238
|
+
DBClusterId: 'string',
|
|
239
|
+
DBNodeClass: 'string',
|
|
240
|
+
DBNodeIds: { 'type': 'array', 'itemType': 'string' },
|
|
241
|
+
DBNodeNum: 'number',
|
|
242
|
+
DBNodesShrink: 'string',
|
|
243
|
+
DBType: 'string',
|
|
244
|
+
DBVersion: 'string',
|
|
245
|
+
hotStandbyCluster: 'string',
|
|
246
|
+
modifyType: 'string',
|
|
247
|
+
orderType: 'string',
|
|
248
|
+
payType: 'string',
|
|
249
|
+
period: 'string',
|
|
250
|
+
provisionedIops: 'string',
|
|
251
|
+
regionId: 'string',
|
|
252
|
+
serverlessType: 'string',
|
|
253
|
+
storageChargeType: 'string',
|
|
254
|
+
storageSpace: 'string',
|
|
255
|
+
storageType: 'string',
|
|
256
|
+
usedTime: 'string',
|
|
257
|
+
zoneId: 'string',
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
validate() {
|
|
262
|
+
if(Array.isArray(this.DBNodeIds)) {
|
|
263
|
+
$dara.Model.validateArray(this.DBNodeIds);
|
|
264
|
+
}
|
|
265
|
+
super.validate();
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
constructor(map?: { [key: string]: any }) {
|
|
269
|
+
super(map);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
@@ -6,8 +6,7 @@ export class DescribeDBClusterSSLRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The cluster ID.
|
|
9
|
-
*
|
|
10
|
-
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to view detailed information about all clusters under your account, including cluster IDs.
|
|
9
|
+
* >You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the details of all clusters under your account, including the cluster ID.
|
|
11
10
|
*
|
|
12
11
|
* This parameter is required.
|
|
13
12
|
*
|
|
@@ -17,6 +16,11 @@ export class DescribeDBClusterSSLRequest extends $dara.Model {
|
|
|
17
16
|
DBClusterId?: string;
|
|
18
17
|
ownerAccount?: string;
|
|
19
18
|
ownerId?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* pfs-xxx
|
|
22
|
+
*/
|
|
23
|
+
pfsInstanceId?: string;
|
|
20
24
|
resourceOwnerAccount?: string;
|
|
21
25
|
resourceOwnerId?: number;
|
|
22
26
|
static names(): { [key: string]: string } {
|
|
@@ -24,6 +28,7 @@ export class DescribeDBClusterSSLRequest extends $dara.Model {
|
|
|
24
28
|
DBClusterId: 'DBClusterId',
|
|
25
29
|
ownerAccount: 'OwnerAccount',
|
|
26
30
|
ownerId: 'OwnerId',
|
|
31
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
27
32
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
28
33
|
resourceOwnerId: 'ResourceOwnerId',
|
|
29
34
|
};
|
|
@@ -34,6 +39,7 @@ export class DescribeDBClusterSSLRequest extends $dara.Model {
|
|
|
34
39
|
DBClusterId: 'string',
|
|
35
40
|
ownerAccount: 'string',
|
|
36
41
|
ownerId: 'number',
|
|
42
|
+
pfsInstanceId: 'string',
|
|
37
43
|
resourceOwnerAccount: 'string',
|
|
38
44
|
resourceOwnerId: 'number',
|
|
39
45
|
};
|
|
@@ -13,13 +13,13 @@ export class DescribeDBClusterSSLResponseBodyItems extends $dara.Model {
|
|
|
13
13
|
DBEndpointId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Indicates whether automatic
|
|
16
|
+
* Indicates whether automatic SSL certificate rotation is enabled. Valid values:
|
|
17
17
|
*
|
|
18
|
-
* - **Enable**:
|
|
18
|
+
* - **Enable**: Enabled.
|
|
19
19
|
*
|
|
20
|
-
* - **Disable**:
|
|
20
|
+
* - **Disable**: Disabled.
|
|
21
21
|
*
|
|
22
|
-
* > This parameter is supported only when the database engine is compatible
|
|
22
|
+
* > This parameter is supported only when the database engine is PostgreSQL-compatible or Oracle-syntax-compatible.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* Enable
|
|
@@ -27,7 +27,7 @@ export class DescribeDBClusterSSLResponseBodyItems extends $dara.Model {
|
|
|
27
27
|
SSLAutoRotate?: string;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The SSL connection
|
|
30
|
+
* The SSL connection address.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* pc-************.mysql.polardb.rds.aliyuncs.com
|
|
@@ -35,11 +35,10 @@ export class DescribeDBClusterSSLResponseBodyItems extends $dara.Model {
|
|
|
35
35
|
SSLConnectionString?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* Indicates whether SSL encryption is enabled. Valid values:
|
|
38
|
+
* Indicates whether Secure Sockets Layer (SSL) encryption is enabled. Valid values:
|
|
39
39
|
*
|
|
40
|
-
* - **Enabled**:
|
|
41
|
-
*
|
|
42
|
-
* - **Disabled**: disabled.
|
|
40
|
+
* - **Enabled**: Enabled.
|
|
41
|
+
* - **Disabled**: Shutdown.
|
|
43
42
|
*
|
|
44
43
|
* @example
|
|
45
44
|
* Enabled
|
|
@@ -47,7 +46,7 @@ export class DescribeDBClusterSSLResponseBodyItems extends $dara.Model {
|
|
|
47
46
|
SSLEnabled?: string;
|
|
48
47
|
/**
|
|
49
48
|
* @remarks
|
|
50
|
-
* The
|
|
49
|
+
* The expiration time of the SSL certificate. The time is in the `yyyy-MM-ddTHH:mm:ssZ` format (UTC).
|
|
51
50
|
*
|
|
52
51
|
* @example
|
|
53
52
|
* 2021-11-13T07:14:22Z
|
|
@@ -85,7 +84,7 @@ export class DescribeDBClusterSSLResponseBodyItems extends $dara.Model {
|
|
|
85
84
|
export class DescribeDBClusterSSLResponseBody extends $dara.Model {
|
|
86
85
|
/**
|
|
87
86
|
* @remarks
|
|
88
|
-
*
|
|
87
|
+
* The list of SSL connection information.
|
|
89
88
|
*/
|
|
90
89
|
items?: DescribeDBClusterSSLResponseBodyItems[];
|
|
91
90
|
/**
|
|
@@ -98,11 +97,11 @@ export class DescribeDBClusterSSLResponseBody extends $dara.Model {
|
|
|
98
97
|
requestId?: string;
|
|
99
98
|
/**
|
|
100
99
|
* @remarks
|
|
101
|
-
* Indicates whether automatic
|
|
100
|
+
* Indicates whether automatic SSL certificate rotation is enabled. Valid values:
|
|
102
101
|
*
|
|
103
|
-
* - **Enable**:
|
|
102
|
+
* - **Enable**: Enabled.
|
|
104
103
|
*
|
|
105
|
-
* - **Disable**:
|
|
104
|
+
* - **Disable**: Disabled.
|
|
106
105
|
*
|
|
107
106
|
* > This parameter is supported only for PolarDB for MySQL.
|
|
108
107
|
*
|