@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,244 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeDBClusterPriceRequestDBNodes extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The target node specifications.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* polar.mysql.x4.large
|
|
9
|
+
*/
|
|
10
|
+
DBNodeClass?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The node ID.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* pi-**************
|
|
17
|
+
*/
|
|
18
|
+
DBNodeId?: string;
|
|
19
|
+
static names(): {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
static types(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
validate(): void;
|
|
26
|
+
constructor(map?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export declare class DescribeDBClusterPriceRequest extends $dara.Model {
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The cluster edition. Valid values:
|
|
34
|
+
* - Normal: Cluster Edition.
|
|
35
|
+
* - Basic: Single Node Edition.
|
|
36
|
+
* - ArchiveNormal: Archive Database.
|
|
37
|
+
* - SENormal: Standard Edition.
|
|
38
|
+
* - NormalMultimaster: Multi-master Cluster.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* Normal
|
|
42
|
+
*/
|
|
43
|
+
creationCategory?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The cluster ID. Required for non-BUY scenarios.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* pc-**************
|
|
50
|
+
*/
|
|
51
|
+
DBClusterId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The node specifications. Required for the BUY scenario. Example format: polar.mysql.x4.large.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* polar.mysql.x4.large
|
|
58
|
+
*/
|
|
59
|
+
DBNodeClass?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The list of node IDs to delete. Used when ModifyType is set to DELETE.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* pi-**************
|
|
66
|
+
*/
|
|
67
|
+
DBNodeIds?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The number of nodes. Valid for the BUY scenario. This value includes the read/write node. Minimum value: 1. Default value: 1.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* 2
|
|
74
|
+
*/
|
|
75
|
+
DBNodeNum?: number;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The list of heterogeneous specification change nodes. Used for specification change scenarios to specify the target specifications for each node.
|
|
79
|
+
*/
|
|
80
|
+
DBNodes?: DescribeDBClusterPriceRequestDBNodes[];
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* The database engine type. Required for the BUY scenario. Valid values: MySQL, PostgreSQL, and Oracle.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* MySQL
|
|
87
|
+
*/
|
|
88
|
+
DBType?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* 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.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* 8.0
|
|
95
|
+
*/
|
|
96
|
+
DBVersion?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @remarks
|
|
99
|
+
* Specifies whether to enable the hot standby cluster. Valid values:
|
|
100
|
+
* - ON: Enable.
|
|
101
|
+
* - OFF: Disable.
|
|
102
|
+
*
|
|
103
|
+
* Valid for the BUY and specification change scenarios.
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* ON
|
|
107
|
+
*/
|
|
108
|
+
hotStandbyCluster?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The specification change direction. Valid values:
|
|
112
|
+
* - ADD: add nodes.
|
|
113
|
+
* - DELETE: remove nodes.
|
|
114
|
+
* - UPGRADE: upgrade specifications.
|
|
115
|
+
* - DOWNGRADE: downgrade specifications.
|
|
116
|
+
* - HOT_STANDBY: hot standby change.
|
|
117
|
+
* - STORAGE: storage space change.
|
|
118
|
+
* - STORAGE_TYPE: storage type change.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* UPGRADE
|
|
122
|
+
*/
|
|
123
|
+
modifyType?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The order type. Valid values:
|
|
127
|
+
* - BUY: new purchase.
|
|
128
|
+
* - CONVERT: billing method conversion.
|
|
129
|
+
* - RENEW: renewal.
|
|
130
|
+
* - UPGRADE: upgrade specifications or add nodes.
|
|
131
|
+
* - DOWNGRADE: downgrade specifications or remove nodes.
|
|
132
|
+
*
|
|
133
|
+
* This parameter is required.
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* BUY
|
|
137
|
+
*/
|
|
138
|
+
orderType?: string;
|
|
139
|
+
/**
|
|
140
|
+
* @remarks
|
|
141
|
+
* The billing method. Required for the BUY and CONVERT scenarios. Valid values:
|
|
142
|
+
* - Prepaid: subscription.
|
|
143
|
+
* - Postpaid: pay-as-you-go.
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* Prepaid
|
|
147
|
+
*/
|
|
148
|
+
payType?: string;
|
|
149
|
+
/**
|
|
150
|
+
* @remarks
|
|
151
|
+
* The subscription cycle. Valid values:
|
|
152
|
+
* - Month: monthly.
|
|
153
|
+
* - Year: yearly.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* Month
|
|
157
|
+
*/
|
|
158
|
+
period?: string;
|
|
159
|
+
/**
|
|
160
|
+
* @remarks
|
|
161
|
+
* The provisioned IOPS. Used for the Standard Edition (SENormal) scenario.
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* 1000
|
|
165
|
+
*/
|
|
166
|
+
provisionedIops?: string;
|
|
167
|
+
/**
|
|
168
|
+
* @remarks
|
|
169
|
+
* The region ID.
|
|
170
|
+
*
|
|
171
|
+
* This parameter is required.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* cn-hangzhou
|
|
175
|
+
*/
|
|
176
|
+
regionId?: string;
|
|
177
|
+
/**
|
|
178
|
+
* @remarks
|
|
179
|
+
* The serverless type. Valid values: AgileServerless.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* AgileServerless
|
|
183
|
+
*/
|
|
184
|
+
serverlessType?: string;
|
|
185
|
+
/**
|
|
186
|
+
* @remarks
|
|
187
|
+
* The storage billing type. Valid values:
|
|
188
|
+
* - Prepaid: subscription.
|
|
189
|
+
* - Postpaid: pay-as-you-go.
|
|
190
|
+
*
|
|
191
|
+
* @example
|
|
192
|
+
* Prepaid
|
|
193
|
+
*/
|
|
194
|
+
storageChargeType?: string;
|
|
195
|
+
/**
|
|
196
|
+
* @remarks
|
|
197
|
+
* The storage space, in GB. Used for prepaid storage or storage specification change scenarios.
|
|
198
|
+
*
|
|
199
|
+
* @example
|
|
200
|
+
* 50
|
|
201
|
+
*/
|
|
202
|
+
storageSpace?: string;
|
|
203
|
+
/**
|
|
204
|
+
* @remarks
|
|
205
|
+
* The storage type. Valid values:
|
|
206
|
+
* - PSL5: high performance.
|
|
207
|
+
* - PSL4: standard.
|
|
208
|
+
* - ESSDPL0
|
|
209
|
+
* - ESSDPL1
|
|
210
|
+
* - ESSDPL2
|
|
211
|
+
* - ESSDPL3
|
|
212
|
+
* - ESSDAUTOPL
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* PSL5
|
|
216
|
+
*/
|
|
217
|
+
storageType?: string;
|
|
218
|
+
/**
|
|
219
|
+
* @remarks
|
|
220
|
+
* The subscription duration. Used together with Period. Valid for the BUY, CONVERT, and RENEW scenarios when the billing method is Prepaid.
|
|
221
|
+
*
|
|
222
|
+
* @example
|
|
223
|
+
* 1
|
|
224
|
+
*/
|
|
225
|
+
usedTime?: string;
|
|
226
|
+
/**
|
|
227
|
+
* @remarks
|
|
228
|
+
* The zone ID. We recommend that you specify this parameter for the BUY scenario.
|
|
229
|
+
*
|
|
230
|
+
* @example
|
|
231
|
+
* cn-hangzhou-h
|
|
232
|
+
*/
|
|
233
|
+
zoneId?: string;
|
|
234
|
+
static names(): {
|
|
235
|
+
[key: string]: string;
|
|
236
|
+
};
|
|
237
|
+
static types(): {
|
|
238
|
+
[key: string]: any;
|
|
239
|
+
};
|
|
240
|
+
validate(): void;
|
|
241
|
+
constructor(map?: {
|
|
242
|
+
[key: string]: any;
|
|
243
|
+
});
|
|
244
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeDBClusterPriceRequest = exports.DescribeDBClusterPriceRequestDBNodes = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DescribeDBClusterPriceRequestDBNodes extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
DBNodeClass: 'DBNodeClass',
|
|
43
|
+
DBNodeId: 'DBNodeId',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
DBNodeClass: 'string',
|
|
49
|
+
DBNodeId: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.DescribeDBClusterPriceRequestDBNodes = DescribeDBClusterPriceRequestDBNodes;
|
|
60
|
+
class DescribeDBClusterPriceRequest extends $dara.Model {
|
|
61
|
+
static names() {
|
|
62
|
+
return {
|
|
63
|
+
creationCategory: 'CreationCategory',
|
|
64
|
+
DBClusterId: 'DBClusterId',
|
|
65
|
+
DBNodeClass: 'DBNodeClass',
|
|
66
|
+
DBNodeIds: 'DBNodeIds',
|
|
67
|
+
DBNodeNum: 'DBNodeNum',
|
|
68
|
+
DBNodes: 'DBNodes',
|
|
69
|
+
DBType: 'DBType',
|
|
70
|
+
DBVersion: 'DBVersion',
|
|
71
|
+
hotStandbyCluster: 'HotStandbyCluster',
|
|
72
|
+
modifyType: 'ModifyType',
|
|
73
|
+
orderType: 'OrderType',
|
|
74
|
+
payType: 'PayType',
|
|
75
|
+
period: 'Period',
|
|
76
|
+
provisionedIops: 'ProvisionedIops',
|
|
77
|
+
regionId: 'RegionId',
|
|
78
|
+
serverlessType: 'ServerlessType',
|
|
79
|
+
storageChargeType: 'StorageChargeType',
|
|
80
|
+
storageSpace: 'StorageSpace',
|
|
81
|
+
storageType: 'StorageType',
|
|
82
|
+
usedTime: 'UsedTime',
|
|
83
|
+
zoneId: 'ZoneId',
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
static types() {
|
|
87
|
+
return {
|
|
88
|
+
creationCategory: 'string',
|
|
89
|
+
DBClusterId: 'string',
|
|
90
|
+
DBNodeClass: 'string',
|
|
91
|
+
DBNodeIds: { 'type': 'array', 'itemType': 'string' },
|
|
92
|
+
DBNodeNum: 'number',
|
|
93
|
+
DBNodes: { 'type': 'array', 'itemType': DescribeDBClusterPriceRequestDBNodes },
|
|
94
|
+
DBType: 'string',
|
|
95
|
+
DBVersion: 'string',
|
|
96
|
+
hotStandbyCluster: 'string',
|
|
97
|
+
modifyType: 'string',
|
|
98
|
+
orderType: 'string',
|
|
99
|
+
payType: 'string',
|
|
100
|
+
period: 'string',
|
|
101
|
+
provisionedIops: 'string',
|
|
102
|
+
regionId: 'string',
|
|
103
|
+
serverlessType: 'string',
|
|
104
|
+
storageChargeType: 'string',
|
|
105
|
+
storageSpace: 'string',
|
|
106
|
+
storageType: 'string',
|
|
107
|
+
usedTime: 'string',
|
|
108
|
+
zoneId: 'string',
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
validate() {
|
|
112
|
+
if (Array.isArray(this.DBNodeIds)) {
|
|
113
|
+
$dara.Model.validateArray(this.DBNodeIds);
|
|
114
|
+
}
|
|
115
|
+
if (Array.isArray(this.DBNodes)) {
|
|
116
|
+
$dara.Model.validateArray(this.DBNodes);
|
|
117
|
+
}
|
|
118
|
+
super.validate();
|
|
119
|
+
}
|
|
120
|
+
constructor(map) {
|
|
121
|
+
super(map);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.DescribeDBClusterPriceRequest = DescribeDBClusterPriceRequest;
|
|
125
|
+
//# sourceMappingURL=DescribeDbclusterPriceRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeDbclusterPriceRequest.js","sourceRoot":"","sources":["../../src/models/DescribeDbclusterPriceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAiBnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,oFAsCC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IA4M5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,iBAAiB,EAAE,mBAAmB;YACtC,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,iBAAiB;YAClC,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,iBAAiB,EAAE,mBAAmB;YACtC,YAAY,EAAE,cAAc;YAC5B,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,QAAQ;YAC1B,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACpD,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,oCAAoC,EAAE;YAC9E,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,QAAQ;YACnB,iBAAiB,EAAE,QAAQ;YAC3B,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,QAAQ;YACzB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,iBAAiB,EAAE,QAAQ;YAC3B,YAAY,EAAE,QAAQ;YACtB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YAC/B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7QD,sEA6QC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { DescribeDBClusterPriceResponseBody } from "./DescribeDbclusterPriceResponseBody";
|
|
3
|
+
export declare class DescribeDBClusterPriceResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: DescribeDBClusterPriceResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeDBClusterPriceResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const DescribeDbclusterPriceResponseBody_1 = require("./DescribeDbclusterPriceResponseBody");
|
|
40
|
+
class DescribeDBClusterPriceResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: DescribeDbclusterPriceResponseBody_1.DescribeDBClusterPriceResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.DescribeDBClusterPriceResponse = DescribeDBClusterPriceResponse;
|
|
69
|
+
//# sourceMappingURL=DescribeDbclusterPriceResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeDbclusterPriceResponse.js","sourceRoot":"","sources":["../../src/models/DescribeDbclusterPriceResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6FAA0F;AAG1F,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAI7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,uEAAkC;SACzC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,wEAiCC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeDBClusterPriceResponseBodyPriceInfoCouponsCoupon extends $dara.Model {
|
|
3
|
+
couponNo?: string;
|
|
4
|
+
isSelected?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
static names(): {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
9
|
+
static types(): {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
validate(): void;
|
|
13
|
+
constructor(map?: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
export declare class DescribeDBClusterPriceResponseBodyPriceInfoCoupons extends $dara.Model {
|
|
18
|
+
coupon?: DescribeDBClusterPriceResponseBodyPriceInfoCouponsCoupon[];
|
|
19
|
+
static names(): {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
static types(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
validate(): void;
|
|
26
|
+
constructor(map?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export declare class DescribeDBClusterPriceResponseBodyPriceInfoRuleIds extends $dara.Model {
|
|
31
|
+
ruleId?: string[];
|
|
32
|
+
static names(): {
|
|
33
|
+
[key: string]: string;
|
|
34
|
+
};
|
|
35
|
+
static types(): {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
validate(): void;
|
|
39
|
+
constructor(map?: {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
export declare class DescribeDBClusterPriceResponseBodyPriceInfo extends $dara.Model {
|
|
44
|
+
coupons?: DescribeDBClusterPriceResponseBodyPriceInfoCoupons;
|
|
45
|
+
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* The currency unit.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* CNY
|
|
51
|
+
*/
|
|
52
|
+
currency?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @remarks
|
|
55
|
+
* The discount amount.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* 1978.2
|
|
59
|
+
*/
|
|
60
|
+
discountPrice?: number;
|
|
61
|
+
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* The original price.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* 1099.0
|
|
67
|
+
*/
|
|
68
|
+
originalPrice?: number;
|
|
69
|
+
ruleIds?: DescribeDBClusterPriceResponseBodyPriceInfoRuleIds;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The final price, which is the original price minus the discount.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* 165.0
|
|
76
|
+
*/
|
|
77
|
+
tradePrice?: number;
|
|
78
|
+
static names(): {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
static types(): {
|
|
82
|
+
[key: string]: any;
|
|
83
|
+
};
|
|
84
|
+
validate(): void;
|
|
85
|
+
constructor(map?: {
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
export declare class DescribeDBClusterPriceResponseBodyRulesRule extends $dara.Model {
|
|
90
|
+
name?: string;
|
|
91
|
+
ruleId?: number;
|
|
92
|
+
static names(): {
|
|
93
|
+
[key: string]: string;
|
|
94
|
+
};
|
|
95
|
+
static types(): {
|
|
96
|
+
[key: string]: any;
|
|
97
|
+
};
|
|
98
|
+
validate(): void;
|
|
99
|
+
constructor(map?: {
|
|
100
|
+
[key: string]: any;
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
export declare class DescribeDBClusterPriceResponseBodyRules extends $dara.Model {
|
|
104
|
+
rule?: DescribeDBClusterPriceResponseBodyRulesRule[];
|
|
105
|
+
static names(): {
|
|
106
|
+
[key: string]: string;
|
|
107
|
+
};
|
|
108
|
+
static types(): {
|
|
109
|
+
[key: string]: any;
|
|
110
|
+
};
|
|
111
|
+
validate(): void;
|
|
112
|
+
constructor(map?: {
|
|
113
|
+
[key: string]: any;
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
export declare class DescribeDBClusterPriceResponseBody extends $dara.Model {
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The order type. Valid values:
|
|
120
|
+
* * BUY: new purchase.
|
|
121
|
+
* * UPGRADE: specification change.
|
|
122
|
+
* * RENEW: renewal.
|
|
123
|
+
* * CONVERT: billing method conversion.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* BUY
|
|
127
|
+
*/
|
|
128
|
+
orderType?: string;
|
|
129
|
+
/**
|
|
130
|
+
* @remarks
|
|
131
|
+
* The price details.
|
|
132
|
+
*/
|
|
133
|
+
priceInfo?: DescribeDBClusterPriceResponseBodyPriceInfo;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* The request ID.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* 7E2FE3BB-C677-5FF9-9FC5-XXX
|
|
140
|
+
*/
|
|
141
|
+
requestId?: string;
|
|
142
|
+
rules?: DescribeDBClusterPriceResponseBodyRules;
|
|
143
|
+
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* Indicates whether discounts are allowed.
|
|
146
|
+
*
|
|
147
|
+
* @example
|
|
148
|
+
* False
|
|
149
|
+
*/
|
|
150
|
+
showDiscount?: boolean;
|
|
151
|
+
static names(): {
|
|
152
|
+
[key: string]: string;
|
|
153
|
+
};
|
|
154
|
+
static types(): {
|
|
155
|
+
[key: string]: any;
|
|
156
|
+
};
|
|
157
|
+
validate(): void;
|
|
158
|
+
constructor(map?: {
|
|
159
|
+
[key: string]: any;
|
|
160
|
+
});
|
|
161
|
+
}
|