tencentcloud-sdk-nodejs-cynosdb 4.0.397 → 4.0.431
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/CHANGELOG.md +5389 -0
- package/README.md +3 -3
- package/SERVICE_CHANGELOG.md +3620 -52
- package/package.json +1 -1
- package/products.md +92 -92
- package/src/services/cynosdb/index.ts +7 -4
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +546 -647
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +3118 -2661
- package/src/services/cynosdb/v20190107/index.ts +3 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +27 -7
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +39 -9
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1588 -1326
- package/tencentcloud/services/cynosdb/v20190107/index.js +1 -1
|
@@ -1,14 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RemoveClusterSlaveZone请求参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface RemoveClusterSlaveZoneRequest {
|
|
5
|
+
/**
|
|
6
|
+
* 集群ID
|
|
7
|
+
*/
|
|
8
|
+
ClusterId: string;
|
|
9
|
+
/**
|
|
10
|
+
* 从可用区
|
|
11
|
+
*/
|
|
12
|
+
SlaveZone: string;
|
|
13
|
+
}
|
|
1
14
|
/**
|
|
2
15
|
* ModifyClusterName请求参数结构体
|
|
3
16
|
*/
|
|
4
17
|
export interface ModifyClusterNameRequest {
|
|
5
18
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
19
|
+
* 集群ID
|
|
20
|
+
*/
|
|
8
21
|
ClusterId: string;
|
|
9
22
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
23
|
+
* 集群名
|
|
24
|
+
*/
|
|
12
25
|
ClusterName: string;
|
|
13
26
|
}
|
|
14
27
|
/**
|
|
@@ -16,8 +29,8 @@ export interface ModifyClusterNameRequest {
|
|
|
16
29
|
*/
|
|
17
30
|
export interface DescribeRollbackTimeRangeRequest {
|
|
18
31
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
32
|
+
* 集群ID
|
|
33
|
+
*/
|
|
21
34
|
ClusterId: string;
|
|
22
35
|
}
|
|
23
36
|
/**
|
|
@@ -25,16 +38,16 @@ export interface DescribeRollbackTimeRangeRequest {
|
|
|
25
38
|
*/
|
|
26
39
|
export interface InquirePriceRenewRequest {
|
|
27
40
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
41
|
+
* 集群ID
|
|
42
|
+
*/
|
|
30
43
|
ClusterId: string;
|
|
31
44
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
45
|
+
* 购买时长,与TimeUnit组合才能生效
|
|
46
|
+
*/
|
|
34
47
|
TimeSpan: number;
|
|
35
48
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
49
|
+
* 购买时长单位, 与TimeSpan组合生效,可选:日:d,月:m
|
|
50
|
+
*/
|
|
38
51
|
TimeUnit: string;
|
|
39
52
|
}
|
|
40
53
|
/**
|
|
@@ -42,29 +55,29 @@ export interface InquirePriceRenewRequest {
|
|
|
42
55
|
*/
|
|
43
56
|
export interface ObjectTask {
|
|
44
57
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
58
|
+
* 任务自增ID
|
|
59
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60
|
+
*/
|
|
48
61
|
TaskId?: number;
|
|
49
62
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
63
|
+
* 任务类型
|
|
64
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
65
|
+
*/
|
|
53
66
|
TaskType?: string;
|
|
54
67
|
/**
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
68
|
+
* 任务状态
|
|
69
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
70
|
+
*/
|
|
58
71
|
TaskStatus?: string;
|
|
59
72
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
73
|
+
* 任务ID(集群ID|实例组ID|实例ID)
|
|
74
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
75
|
+
*/
|
|
63
76
|
ObjectId?: string;
|
|
64
77
|
/**
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
78
|
+
* 任务类型
|
|
79
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
80
|
+
*/
|
|
68
81
|
ObjectType?: string;
|
|
69
82
|
}
|
|
70
83
|
/**
|
|
@@ -72,8 +85,8 @@ export interface ObjectTask {
|
|
|
72
85
|
*/
|
|
73
86
|
export interface DescribeBackupConfigRequest {
|
|
74
87
|
/**
|
|
75
|
-
|
|
76
|
-
|
|
88
|
+
* 集群ID
|
|
89
|
+
*/
|
|
77
90
|
ClusterId: string;
|
|
78
91
|
}
|
|
79
92
|
/**
|
|
@@ -81,17 +94,17 @@ export interface DescribeBackupConfigRequest {
|
|
|
81
94
|
*/
|
|
82
95
|
export interface DescribeAccountsRequest {
|
|
83
96
|
/**
|
|
84
|
-
|
|
85
|
-
|
|
97
|
+
* 集群ID
|
|
98
|
+
*/
|
|
86
99
|
ClusterId: string;
|
|
87
100
|
/**
|
|
88
|
-
|
|
89
|
-
|
|
101
|
+
* 需要过滤的账户列表
|
|
102
|
+
*/
|
|
90
103
|
AccountNames?: Array<string>;
|
|
91
104
|
/**
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
105
|
+
* 数据库类型,取值范围:
|
|
106
|
+
<li> MYSQL </li>
|
|
107
|
+
*/
|
|
95
108
|
DbType?: string;
|
|
96
109
|
}
|
|
97
110
|
/**
|
|
@@ -99,20 +112,20 @@ export interface DescribeAccountsRequest {
|
|
|
99
112
|
*/
|
|
100
113
|
export interface ModifyMaintainPeriodConfigRequest {
|
|
101
114
|
/**
|
|
102
|
-
|
|
103
|
-
|
|
115
|
+
* 实例ID
|
|
116
|
+
*/
|
|
104
117
|
InstanceId: string;
|
|
105
118
|
/**
|
|
106
|
-
|
|
107
|
-
|
|
119
|
+
* 维护开始时间,单位为秒,如3:00为10800
|
|
120
|
+
*/
|
|
108
121
|
MaintainStartTime: number;
|
|
109
122
|
/**
|
|
110
|
-
|
|
111
|
-
|
|
123
|
+
* 维护持续时间,单位为秒,如1小时为3600
|
|
124
|
+
*/
|
|
112
125
|
MaintainDuration: number;
|
|
113
126
|
/**
|
|
114
|
-
|
|
115
|
-
|
|
127
|
+
* 每周维护日期,日期取值范围[Mon, Tue, Wed, Thu, Fri, Sat, Sun]
|
|
128
|
+
*/
|
|
116
129
|
MaintainWeekDays: Array<string>;
|
|
117
130
|
}
|
|
118
131
|
/**
|
|
@@ -120,16 +133,20 @@ export interface ModifyMaintainPeriodConfigRequest {
|
|
|
120
133
|
*/
|
|
121
134
|
export interface DescribeRollbackTimeRangeResponse {
|
|
122
135
|
/**
|
|
123
|
-
|
|
124
|
-
|
|
136
|
+
* 有效回归时间范围开始时间点(已废弃)
|
|
137
|
+
*/
|
|
125
138
|
TimeRangeStart: string;
|
|
126
139
|
/**
|
|
127
|
-
|
|
128
|
-
|
|
140
|
+
* 有效回归时间范围结束时间点(已废弃)
|
|
141
|
+
*/
|
|
129
142
|
TimeRangeEnd: string;
|
|
130
143
|
/**
|
|
131
|
-
|
|
132
|
-
|
|
144
|
+
* 可回档时间范围
|
|
145
|
+
*/
|
|
146
|
+
RollbackTimeRanges: Array<RollbackTimeRange>;
|
|
147
|
+
/**
|
|
148
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
149
|
+
*/
|
|
133
150
|
RequestId?: string;
|
|
134
151
|
}
|
|
135
152
|
/**
|
|
@@ -137,8 +154,21 @@ export interface DescribeRollbackTimeRangeResponse {
|
|
|
137
154
|
*/
|
|
138
155
|
export interface ModifyBackupNameResponse {
|
|
139
156
|
/**
|
|
140
|
-
|
|
141
|
-
|
|
157
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
158
|
+
*/
|
|
159
|
+
RequestId?: string;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* SwitchClusterZone返回参数结构体
|
|
163
|
+
*/
|
|
164
|
+
export interface SwitchClusterZoneResponse {
|
|
165
|
+
/**
|
|
166
|
+
* 异步FlowId
|
|
167
|
+
*/
|
|
168
|
+
FlowId: number;
|
|
169
|
+
/**
|
|
170
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
171
|
+
*/
|
|
142
172
|
RequestId?: string;
|
|
143
173
|
}
|
|
144
174
|
/**
|
|
@@ -146,16 +176,16 @@ export interface ModifyBackupNameResponse {
|
|
|
146
176
|
*/
|
|
147
177
|
export interface AssociateSecurityGroupsRequest {
|
|
148
178
|
/**
|
|
149
|
-
|
|
150
|
-
|
|
179
|
+
* 实例组ID数组
|
|
180
|
+
*/
|
|
151
181
|
InstanceIds: Array<string>;
|
|
152
182
|
/**
|
|
153
|
-
|
|
154
|
-
|
|
183
|
+
* 要修改的安全组ID列表,一个或者多个安全组Id组成的数组。
|
|
184
|
+
*/
|
|
155
185
|
SecurityGroupIds: Array<string>;
|
|
156
186
|
/**
|
|
157
|
-
|
|
158
|
-
|
|
187
|
+
* 可用区
|
|
188
|
+
*/
|
|
159
189
|
Zone: string;
|
|
160
190
|
}
|
|
161
191
|
/**
|
|
@@ -163,12 +193,12 @@ export interface AssociateSecurityGroupsRequest {
|
|
|
163
193
|
*/
|
|
164
194
|
export interface DescribeBinlogDownloadUrlRequest {
|
|
165
195
|
/**
|
|
166
|
-
|
|
167
|
-
|
|
196
|
+
* 集群ID
|
|
197
|
+
*/
|
|
168
198
|
ClusterId: string;
|
|
169
199
|
/**
|
|
170
|
-
|
|
171
|
-
|
|
200
|
+
* Binlog文件ID
|
|
201
|
+
*/
|
|
172
202
|
BinlogId: number;
|
|
173
203
|
}
|
|
174
204
|
/**
|
|
@@ -176,8 +206,8 @@ export interface DescribeBinlogDownloadUrlRequest {
|
|
|
176
206
|
*/
|
|
177
207
|
export interface CreateAccountsResponse {
|
|
178
208
|
/**
|
|
179
|
-
|
|
180
|
-
|
|
209
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
210
|
+
*/
|
|
181
211
|
RequestId?: string;
|
|
182
212
|
}
|
|
183
213
|
/**
|
|
@@ -185,12 +215,12 @@ export interface CreateAccountsResponse {
|
|
|
185
215
|
*/
|
|
186
216
|
export interface ModifyInstanceNameRequest {
|
|
187
217
|
/**
|
|
188
|
-
|
|
189
|
-
|
|
218
|
+
* 实例ID
|
|
219
|
+
*/
|
|
190
220
|
InstanceId: string;
|
|
191
221
|
/**
|
|
192
|
-
|
|
193
|
-
|
|
222
|
+
* 实例名称
|
|
223
|
+
*/
|
|
194
224
|
InstanceName: string;
|
|
195
225
|
}
|
|
196
226
|
/**
|
|
@@ -198,12 +228,12 @@ export interface ModifyInstanceNameRequest {
|
|
|
198
228
|
*/
|
|
199
229
|
export interface DescribeDBSecurityGroupsResponse {
|
|
200
230
|
/**
|
|
201
|
-
|
|
202
|
-
|
|
231
|
+
* 安全组信息
|
|
232
|
+
*/
|
|
203
233
|
Groups: Array<SecurityGroup>;
|
|
204
234
|
/**
|
|
205
|
-
|
|
206
|
-
|
|
235
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
236
|
+
*/
|
|
207
237
|
RequestId?: string;
|
|
208
238
|
}
|
|
209
239
|
/**
|
|
@@ -211,8 +241,8 @@ export interface DescribeDBSecurityGroupsResponse {
|
|
|
211
241
|
*/
|
|
212
242
|
export interface DescribeMaintainPeriodRequest {
|
|
213
243
|
/**
|
|
214
|
-
|
|
215
|
-
|
|
244
|
+
* 实例ID
|
|
245
|
+
*/
|
|
216
246
|
InstanceId: string;
|
|
217
247
|
}
|
|
218
248
|
/**
|
|
@@ -220,12 +250,12 @@ export interface DescribeMaintainPeriodRequest {
|
|
|
220
250
|
*/
|
|
221
251
|
export interface AccountParam {
|
|
222
252
|
/**
|
|
223
|
-
|
|
224
|
-
|
|
253
|
+
* 参数名称,当前仅支持参数:max_user_connections
|
|
254
|
+
*/
|
|
225
255
|
ParamName: string;
|
|
226
256
|
/**
|
|
227
|
-
|
|
228
|
-
|
|
257
|
+
* 参数值
|
|
258
|
+
*/
|
|
229
259
|
ParamValue: string;
|
|
230
260
|
}
|
|
231
261
|
/**
|
|
@@ -233,17 +263,17 @@ export interface AccountParam {
|
|
|
233
263
|
*/
|
|
234
264
|
export interface DescribeBinlogsResponse {
|
|
235
265
|
/**
|
|
236
|
-
|
|
237
|
-
|
|
266
|
+
* 记录总条数
|
|
267
|
+
*/
|
|
238
268
|
TotalCount: number;
|
|
239
269
|
/**
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
270
|
+
* Binlog列表
|
|
271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
272
|
+
*/
|
|
243
273
|
Binlogs: Array<BinlogItem>;
|
|
244
274
|
/**
|
|
245
|
-
|
|
246
|
-
|
|
275
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
276
|
+
*/
|
|
247
277
|
RequestId?: string;
|
|
248
278
|
}
|
|
249
279
|
/**
|
|
@@ -251,16 +281,16 @@ export interface DescribeBinlogsResponse {
|
|
|
251
281
|
*/
|
|
252
282
|
export interface DescribeInstancesResponse {
|
|
253
283
|
/**
|
|
254
|
-
|
|
255
|
-
|
|
284
|
+
* 实例个数
|
|
285
|
+
*/
|
|
256
286
|
TotalCount: number;
|
|
257
287
|
/**
|
|
258
|
-
|
|
259
|
-
|
|
288
|
+
* 实例列表
|
|
289
|
+
*/
|
|
260
290
|
InstanceSet: Array<CynosdbInstance>;
|
|
261
291
|
/**
|
|
262
|
-
|
|
263
|
-
|
|
292
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
293
|
+
*/
|
|
264
294
|
RequestId?: string;
|
|
265
295
|
}
|
|
266
296
|
/**
|
|
@@ -268,70 +298,75 @@ export interface DescribeInstancesResponse {
|
|
|
268
298
|
*/
|
|
269
299
|
export interface ClusterInstanceDetail {
|
|
270
300
|
/**
|
|
271
|
-
|
|
272
|
-
|
|
301
|
+
* 实例ID
|
|
302
|
+
*/
|
|
273
303
|
InstanceId: string;
|
|
274
304
|
/**
|
|
275
|
-
|
|
276
|
-
|
|
305
|
+
* 实例名称
|
|
306
|
+
*/
|
|
277
307
|
InstanceName: string;
|
|
278
308
|
/**
|
|
279
|
-
|
|
280
|
-
|
|
309
|
+
* 引擎类型
|
|
310
|
+
*/
|
|
281
311
|
InstanceType: string;
|
|
282
312
|
/**
|
|
283
|
-
|
|
284
|
-
|
|
313
|
+
* 实例状态
|
|
314
|
+
*/
|
|
285
315
|
InstanceStatus: string;
|
|
286
316
|
/**
|
|
287
|
-
|
|
288
|
-
|
|
317
|
+
* 实例状态描述
|
|
318
|
+
*/
|
|
289
319
|
InstanceStatusDesc: string;
|
|
290
320
|
/**
|
|
291
|
-
|
|
292
|
-
|
|
321
|
+
* cpu核数
|
|
322
|
+
*/
|
|
293
323
|
InstanceCpu: number;
|
|
294
324
|
/**
|
|
295
|
-
|
|
296
|
-
|
|
325
|
+
* 内存
|
|
326
|
+
*/
|
|
297
327
|
InstanceMemory: number;
|
|
298
328
|
/**
|
|
299
|
-
|
|
300
|
-
|
|
329
|
+
* 硬盘
|
|
330
|
+
*/
|
|
301
331
|
InstanceStorage: number;
|
|
302
332
|
}
|
|
303
333
|
/**
|
|
304
|
-
*
|
|
334
|
+
* AddClusterSlaveZone返回参数结构体
|
|
305
335
|
*/
|
|
306
|
-
export interface
|
|
307
|
-
/**
|
|
308
|
-
* 数据库账号名
|
|
309
|
-
*/
|
|
310
|
-
AccountName: string;
|
|
311
|
-
/**
|
|
312
|
-
* 数据库账号描述
|
|
313
|
-
*/
|
|
314
|
-
Description: string;
|
|
315
|
-
/**
|
|
316
|
-
* 创建时间
|
|
317
|
-
*/
|
|
318
|
-
CreateTime: string;
|
|
336
|
+
export interface AddClusterSlaveZoneResponse {
|
|
319
337
|
/**
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
338
|
+
* 异步FlowId
|
|
339
|
+
*/
|
|
340
|
+
FlowId: number;
|
|
323
341
|
/**
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
342
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
343
|
+
*/
|
|
344
|
+
RequestId?: string;
|
|
327
345
|
}
|
|
328
346
|
/**
|
|
329
347
|
* ModifyClusterName返回参数结构体
|
|
330
348
|
*/
|
|
331
349
|
export interface ModifyClusterNameResponse {
|
|
332
350
|
/**
|
|
333
|
-
|
|
334
|
-
|
|
351
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
352
|
+
*/
|
|
353
|
+
RequestId?: string;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* DescribeClusterParams返回参数结构体
|
|
357
|
+
*/
|
|
358
|
+
export interface DescribeClusterParamsResponse {
|
|
359
|
+
/**
|
|
360
|
+
* 参数个数
|
|
361
|
+
*/
|
|
362
|
+
TotalCount: number;
|
|
363
|
+
/**
|
|
364
|
+
* 实例参数列表
|
|
365
|
+
*/
|
|
366
|
+
Items: Array<ParamInfo>;
|
|
367
|
+
/**
|
|
368
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
369
|
+
*/
|
|
335
370
|
RequestId?: string;
|
|
336
371
|
}
|
|
337
372
|
/**
|
|
@@ -339,17 +374,17 @@ export interface ModifyClusterNameResponse {
|
|
|
339
374
|
*/
|
|
340
375
|
export interface IsolateInstanceResponse {
|
|
341
376
|
/**
|
|
342
|
-
|
|
343
|
-
|
|
377
|
+
* 任务流id
|
|
378
|
+
*/
|
|
344
379
|
FlowId: number;
|
|
345
380
|
/**
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
381
|
+
* 隔离实例的订单id(预付费实例)
|
|
382
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
383
|
+
*/
|
|
349
384
|
DealNames: Array<string>;
|
|
350
385
|
/**
|
|
351
|
-
|
|
352
|
-
|
|
386
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
387
|
+
*/
|
|
353
388
|
RequestId?: string;
|
|
354
389
|
}
|
|
355
390
|
/**
|
|
@@ -357,8 +392,8 @@ export interface IsolateInstanceResponse {
|
|
|
357
392
|
*/
|
|
358
393
|
export interface ModifyInstanceNameResponse {
|
|
359
394
|
/**
|
|
360
|
-
|
|
361
|
-
|
|
395
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
396
|
+
*/
|
|
362
397
|
RequestId?: string;
|
|
363
398
|
}
|
|
364
399
|
/**
|
|
@@ -370,12 +405,12 @@ export declare type DescribeParamTemplatesRequest = null;
|
|
|
370
405
|
*/
|
|
371
406
|
export interface PauseServerlessRequest {
|
|
372
407
|
/**
|
|
373
|
-
|
|
374
|
-
|
|
408
|
+
* 集群ID
|
|
409
|
+
*/
|
|
375
410
|
ClusterId: string;
|
|
376
411
|
/**
|
|
377
|
-
|
|
378
|
-
|
|
412
|
+
* 是否强制暂停,忽略当前的用户链接 0:不强制 1:强制, 默认为1
|
|
413
|
+
*/
|
|
379
414
|
ForcePause?: number;
|
|
380
415
|
}
|
|
381
416
|
/**
|
|
@@ -383,8 +418,8 @@ export interface PauseServerlessRequest {
|
|
|
383
418
|
*/
|
|
384
419
|
export interface RevokeAccountPrivilegesResponse {
|
|
385
420
|
/**
|
|
386
|
-
|
|
387
|
-
|
|
421
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
422
|
+
*/
|
|
388
423
|
RequestId?: string;
|
|
389
424
|
}
|
|
390
425
|
/**
|
|
@@ -392,33 +427,33 @@ export interface RevokeAccountPrivilegesResponse {
|
|
|
392
427
|
*/
|
|
393
428
|
export interface CreateClustersResponse {
|
|
394
429
|
/**
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
430
|
+
* 冻结流水ID
|
|
431
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
432
|
+
*/
|
|
398
433
|
TranId: string;
|
|
399
434
|
/**
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
435
|
+
* 订单号
|
|
436
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
437
|
+
*/
|
|
403
438
|
DealNames: Array<string>;
|
|
404
439
|
/**
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
440
|
+
* 资源ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取资源ID)
|
|
441
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
442
|
+
*/
|
|
408
443
|
ResourceIds: Array<string>;
|
|
409
444
|
/**
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
445
|
+
* 集群ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取集群ID)
|
|
446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
447
|
+
*/
|
|
413
448
|
ClusterIds: Array<string>;
|
|
414
449
|
/**
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
450
|
+
* 大订单号
|
|
451
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
452
|
+
*/
|
|
418
453
|
BigDealIds: Array<string>;
|
|
419
454
|
/**
|
|
420
|
-
|
|
421
|
-
|
|
455
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
456
|
+
*/
|
|
422
457
|
RequestId?: string;
|
|
423
458
|
}
|
|
424
459
|
/**
|
|
@@ -426,12 +461,12 @@ export interface CreateClustersResponse {
|
|
|
426
461
|
*/
|
|
427
462
|
export interface SetRenewFlagRequest {
|
|
428
463
|
/**
|
|
429
|
-
|
|
430
|
-
|
|
464
|
+
* 需操作的实例ID
|
|
465
|
+
*/
|
|
431
466
|
ResourceIds: Array<string>;
|
|
432
467
|
/**
|
|
433
|
-
|
|
434
|
-
|
|
468
|
+
* 自动续费标志位,续费标记 0:正常续费 1:自动续费 2:到期不续
|
|
469
|
+
*/
|
|
435
470
|
AutoRenewFlag: number;
|
|
436
471
|
}
|
|
437
472
|
/**
|
|
@@ -439,64 +474,64 @@ export interface SetRenewFlagRequest {
|
|
|
439
474
|
*/
|
|
440
475
|
export interface CynosdbInstanceGrp {
|
|
441
476
|
/**
|
|
442
|
-
|
|
443
|
-
|
|
477
|
+
* appId
|
|
478
|
+
*/
|
|
444
479
|
AppId: number;
|
|
445
480
|
/**
|
|
446
|
-
|
|
447
|
-
|
|
481
|
+
* 集群ID
|
|
482
|
+
*/
|
|
448
483
|
ClusterId: string;
|
|
449
484
|
/**
|
|
450
|
-
|
|
451
|
-
|
|
485
|
+
* 创建时间
|
|
486
|
+
*/
|
|
452
487
|
CreatedTime: string;
|
|
453
488
|
/**
|
|
454
|
-
|
|
455
|
-
|
|
489
|
+
* 删除时间
|
|
490
|
+
*/
|
|
456
491
|
DeletedTime: string;
|
|
457
492
|
/**
|
|
458
|
-
|
|
459
|
-
|
|
493
|
+
* 实例组ID
|
|
494
|
+
*/
|
|
460
495
|
InstanceGrpId: string;
|
|
461
496
|
/**
|
|
462
|
-
|
|
463
|
-
|
|
497
|
+
* 状态
|
|
498
|
+
*/
|
|
464
499
|
Status: string;
|
|
465
500
|
/**
|
|
466
|
-
|
|
467
|
-
|
|
501
|
+
* 实例组类型。ha-ha组;ro-只读组
|
|
502
|
+
*/
|
|
468
503
|
Type: string;
|
|
469
504
|
/**
|
|
470
|
-
|
|
471
|
-
|
|
505
|
+
* 更新时间
|
|
506
|
+
*/
|
|
472
507
|
UpdatedTime: string;
|
|
473
508
|
/**
|
|
474
|
-
|
|
475
|
-
|
|
509
|
+
* 内网IP
|
|
510
|
+
*/
|
|
476
511
|
Vip: string;
|
|
477
512
|
/**
|
|
478
|
-
|
|
479
|
-
|
|
513
|
+
* 内网端口
|
|
514
|
+
*/
|
|
480
515
|
Vport: number;
|
|
481
516
|
/**
|
|
482
|
-
|
|
483
|
-
|
|
517
|
+
* 外网域名
|
|
518
|
+
*/
|
|
484
519
|
WanDomain: string;
|
|
485
520
|
/**
|
|
486
|
-
|
|
487
|
-
|
|
521
|
+
* 外网ip
|
|
522
|
+
*/
|
|
488
523
|
WanIP: string;
|
|
489
524
|
/**
|
|
490
|
-
|
|
491
|
-
|
|
525
|
+
* 外网端口
|
|
526
|
+
*/
|
|
492
527
|
WanPort: number;
|
|
493
528
|
/**
|
|
494
|
-
|
|
495
|
-
|
|
529
|
+
* 外网状态
|
|
530
|
+
*/
|
|
496
531
|
WanStatus: string;
|
|
497
532
|
/**
|
|
498
|
-
|
|
499
|
-
|
|
533
|
+
* 实例组包含实例信息
|
|
534
|
+
*/
|
|
500
535
|
InstanceSet: Array<CynosdbInstance>;
|
|
501
536
|
}
|
|
502
537
|
/**
|
|
@@ -504,48 +539,48 @@ export interface CynosdbInstanceGrp {
|
|
|
504
539
|
*/
|
|
505
540
|
export interface SlowQueriesItem {
|
|
506
541
|
/**
|
|
507
|
-
|
|
508
|
-
|
|
542
|
+
* 执行时间戳
|
|
543
|
+
*/
|
|
509
544
|
Timestamp: number;
|
|
510
545
|
/**
|
|
511
|
-
|
|
512
|
-
|
|
546
|
+
* 执行时长,单位秒
|
|
547
|
+
*/
|
|
513
548
|
QueryTime: number;
|
|
514
549
|
/**
|
|
515
|
-
|
|
516
|
-
|
|
550
|
+
* sql语句
|
|
551
|
+
*/
|
|
517
552
|
SqlText: string;
|
|
518
553
|
/**
|
|
519
|
-
|
|
520
|
-
|
|
554
|
+
* 客户端host
|
|
555
|
+
*/
|
|
521
556
|
UserHost: string;
|
|
522
557
|
/**
|
|
523
|
-
|
|
524
|
-
|
|
558
|
+
* 用户名
|
|
559
|
+
*/
|
|
525
560
|
UserName: string;
|
|
526
561
|
/**
|
|
527
|
-
|
|
528
|
-
|
|
562
|
+
* 数据库名
|
|
563
|
+
*/
|
|
529
564
|
Database: string;
|
|
530
565
|
/**
|
|
531
|
-
|
|
532
|
-
|
|
566
|
+
* 锁时长,单位秒
|
|
567
|
+
*/
|
|
533
568
|
LockTime: number;
|
|
534
569
|
/**
|
|
535
|
-
|
|
536
|
-
|
|
570
|
+
* 扫描行数
|
|
571
|
+
*/
|
|
537
572
|
RowsExamined: number;
|
|
538
573
|
/**
|
|
539
|
-
|
|
540
|
-
|
|
574
|
+
* 返回行数
|
|
575
|
+
*/
|
|
541
576
|
RowsSent: number;
|
|
542
577
|
/**
|
|
543
|
-
|
|
544
|
-
|
|
578
|
+
* sql模版
|
|
579
|
+
*/
|
|
545
580
|
SqlTemplate: string;
|
|
546
581
|
/**
|
|
547
|
-
|
|
548
|
-
|
|
582
|
+
* sql语句md5
|
|
583
|
+
*/
|
|
549
584
|
SqlMd5: string;
|
|
550
585
|
}
|
|
551
586
|
/**
|
|
@@ -553,54 +588,54 @@ export interface SlowQueriesItem {
|
|
|
553
588
|
*/
|
|
554
589
|
export interface ActivateInstanceRequest {
|
|
555
590
|
/**
|
|
556
|
-
|
|
557
|
-
|
|
591
|
+
* 集群ID
|
|
592
|
+
*/
|
|
558
593
|
ClusterId: string;
|
|
559
594
|
/**
|
|
560
|
-
|
|
561
|
-
|
|
595
|
+
* 实例 ID 列表,单个实例 ID 格式如:cynosdbmysql-ins-n7ocdslw,与TDSQL-C MySQL数据库控制台页面中显示的实例 ID 相同,可使用 查询实例列表 接口获取,其值为输出参数中字段 InstanceId 的值。
|
|
596
|
+
*/
|
|
562
597
|
InstanceIdList: Array<string>;
|
|
563
598
|
}
|
|
564
599
|
/**
|
|
565
|
-
*
|
|
600
|
+
* AddClusterSlaveZone请求参数结构体
|
|
566
601
|
*/
|
|
567
|
-
export interface
|
|
602
|
+
export interface AddClusterSlaveZoneRequest {
|
|
568
603
|
/**
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
604
|
+
* 集群ID
|
|
605
|
+
*/
|
|
606
|
+
ClusterId: string;
|
|
572
607
|
/**
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
608
|
+
* 从可用区
|
|
609
|
+
*/
|
|
610
|
+
SlaveZone: string;
|
|
576
611
|
}
|
|
577
612
|
/**
|
|
578
613
|
* DescribeAccountAllGrantPrivileges返回参数结构体
|
|
579
614
|
*/
|
|
580
615
|
export interface DescribeAccountAllGrantPrivilegesResponse {
|
|
581
616
|
/**
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
617
|
+
* 权限语句
|
|
618
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
619
|
+
*/
|
|
585
620
|
PrivilegeStatements: Array<string>;
|
|
586
621
|
/**
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
622
|
+
* 全局权限
|
|
623
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
624
|
+
*/
|
|
590
625
|
GlobalPrivileges: Array<string>;
|
|
591
626
|
/**
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
627
|
+
* 数据库权限
|
|
628
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
629
|
+
*/
|
|
595
630
|
DatabasePrivileges: Array<DatabasePrivileges>;
|
|
596
631
|
/**
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
632
|
+
* 数据库表权限
|
|
633
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
634
|
+
*/
|
|
600
635
|
TablePrivileges: Array<TablePrivileges>;
|
|
601
636
|
/**
|
|
602
|
-
|
|
603
|
-
|
|
637
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
638
|
+
*/
|
|
604
639
|
RequestId?: string;
|
|
605
640
|
}
|
|
606
641
|
/**
|
|
@@ -608,12 +643,12 @@ export interface DescribeAccountAllGrantPrivilegesResponse {
|
|
|
608
643
|
*/
|
|
609
644
|
export interface RollbackDatabase {
|
|
610
645
|
/**
|
|
611
|
-
|
|
612
|
-
|
|
646
|
+
* 旧数据库名称
|
|
647
|
+
*/
|
|
613
648
|
OldDatabase: string;
|
|
614
649
|
/**
|
|
615
|
-
|
|
616
|
-
|
|
650
|
+
* 新数据库名称
|
|
651
|
+
*/
|
|
617
652
|
NewDatabase: string;
|
|
618
653
|
}
|
|
619
654
|
/**
|
|
@@ -621,12 +656,12 @@ export interface RollbackDatabase {
|
|
|
621
656
|
*/
|
|
622
657
|
export interface DatabasePrivileges {
|
|
623
658
|
/**
|
|
624
|
-
|
|
625
|
-
|
|
659
|
+
* 数据库
|
|
660
|
+
*/
|
|
626
661
|
Db: string;
|
|
627
662
|
/**
|
|
628
|
-
|
|
629
|
-
|
|
663
|
+
* 权限列表
|
|
664
|
+
*/
|
|
630
665
|
Privileges: Array<string>;
|
|
631
666
|
}
|
|
632
667
|
/**
|
|
@@ -634,32 +669,32 @@ export interface DatabasePrivileges {
|
|
|
634
669
|
*/
|
|
635
670
|
export interface DescribeClustersRequest {
|
|
636
671
|
/**
|
|
637
|
-
|
|
638
|
-
|
|
672
|
+
* 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
|
|
673
|
+
*/
|
|
639
674
|
DbType?: string;
|
|
640
675
|
/**
|
|
641
|
-
|
|
642
|
-
|
|
676
|
+
* 返回数量,默认为 20,最大值为 100
|
|
677
|
+
*/
|
|
643
678
|
Limit?: number;
|
|
644
679
|
/**
|
|
645
|
-
|
|
646
|
-
|
|
680
|
+
* 记录偏移量,默认值为0
|
|
681
|
+
*/
|
|
647
682
|
Offset?: number;
|
|
648
683
|
/**
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
684
|
+
* 排序字段,取值范围:
|
|
685
|
+
<li> CREATETIME:创建时间</li>
|
|
686
|
+
<li> PERIODENDTIME:过期时间</li>
|
|
687
|
+
*/
|
|
653
688
|
OrderBy?: string;
|
|
654
689
|
/**
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
690
|
+
* 排序类型,取值范围:
|
|
691
|
+
<li> ASC:升序排序 </li>
|
|
692
|
+
<li> DESC:降序排序 </li>
|
|
693
|
+
*/
|
|
659
694
|
OrderByType?: string;
|
|
660
695
|
/**
|
|
661
|
-
|
|
662
|
-
|
|
696
|
+
* 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
|
697
|
+
*/
|
|
663
698
|
Filters?: Array<QueryFilter>;
|
|
664
699
|
}
|
|
665
700
|
/**
|
|
@@ -667,12 +702,12 @@ export interface DescribeClustersRequest {
|
|
|
667
702
|
*/
|
|
668
703
|
export interface DescribeInstanceDetailResponse {
|
|
669
704
|
/**
|
|
670
|
-
|
|
671
|
-
|
|
705
|
+
* 实例详情
|
|
706
|
+
*/
|
|
672
707
|
Detail: CynosdbInstanceDetail;
|
|
673
708
|
/**
|
|
674
|
-
|
|
675
|
-
|
|
709
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
710
|
+
*/
|
|
676
711
|
RequestId?: string;
|
|
677
712
|
}
|
|
678
713
|
/**
|
|
@@ -680,8 +715,8 @@ export interface DescribeInstanceDetailResponse {
|
|
|
680
715
|
*/
|
|
681
716
|
export interface ModifyDBInstanceSecurityGroupsResponse {
|
|
682
717
|
/**
|
|
683
|
-
|
|
684
|
-
|
|
718
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
719
|
+
*/
|
|
685
720
|
RequestId?: string;
|
|
686
721
|
}
|
|
687
722
|
/**
|
|
@@ -689,17 +724,17 @@ export interface ModifyDBInstanceSecurityGroupsResponse {
|
|
|
689
724
|
*/
|
|
690
725
|
export interface DescribeClusterParamLogsResponse {
|
|
691
726
|
/**
|
|
692
|
-
|
|
693
|
-
|
|
727
|
+
* 记录总数
|
|
728
|
+
*/
|
|
694
729
|
TotalCount: number;
|
|
695
730
|
/**
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
731
|
+
* 参数修改记录
|
|
732
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
733
|
+
*/
|
|
699
734
|
ClusterParamLogs: Array<ClusterParamModifyLog>;
|
|
700
735
|
/**
|
|
701
|
-
|
|
702
|
-
|
|
736
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
737
|
+
*/
|
|
703
738
|
RequestId?: string;
|
|
704
739
|
}
|
|
705
740
|
/**
|
|
@@ -707,8 +742,8 @@ export interface DescribeClusterParamLogsResponse {
|
|
|
707
742
|
*/
|
|
708
743
|
export interface DescribeClusterInstanceGrpsRequest {
|
|
709
744
|
/**
|
|
710
|
-
|
|
711
|
-
|
|
745
|
+
* 集群ID
|
|
746
|
+
*/
|
|
712
747
|
ClusterId: string;
|
|
713
748
|
}
|
|
714
749
|
/**
|
|
@@ -716,12 +751,12 @@ export interface DescribeClusterInstanceGrpsRequest {
|
|
|
716
751
|
*/
|
|
717
752
|
export interface DescribeResourcesByDealNameResponse {
|
|
718
753
|
/**
|
|
719
|
-
|
|
720
|
-
|
|
754
|
+
* 计费资源id信息数组
|
|
755
|
+
*/
|
|
721
756
|
BillingResourceInfos: Array<BillingResourceInfo>;
|
|
722
757
|
/**
|
|
723
|
-
|
|
724
|
-
|
|
758
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
759
|
+
*/
|
|
725
760
|
RequestId?: string;
|
|
726
761
|
}
|
|
727
762
|
/**
|
|
@@ -729,12 +764,12 @@ export interface DescribeResourcesByDealNameResponse {
|
|
|
729
764
|
*/
|
|
730
765
|
export interface ResumeServerlessResponse {
|
|
731
766
|
/**
|
|
732
|
-
|
|
733
|
-
|
|
767
|
+
* 异步流程ID
|
|
768
|
+
*/
|
|
734
769
|
FlowId: number;
|
|
735
770
|
/**
|
|
736
|
-
|
|
737
|
-
|
|
771
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
772
|
+
*/
|
|
738
773
|
RequestId?: string;
|
|
739
774
|
}
|
|
740
775
|
/**
|
|
@@ -742,12 +777,12 @@ export interface ResumeServerlessResponse {
|
|
|
742
777
|
*/
|
|
743
778
|
export interface CreateAccountsRequest {
|
|
744
779
|
/**
|
|
745
|
-
|
|
746
|
-
|
|
780
|
+
* 集群id
|
|
781
|
+
*/
|
|
747
782
|
ClusterId: string;
|
|
748
783
|
/**
|
|
749
|
-
|
|
750
|
-
|
|
784
|
+
* 新账户列表
|
|
785
|
+
*/
|
|
751
786
|
Accounts: Array<NewAccount>;
|
|
752
787
|
}
|
|
753
788
|
/**
|
|
@@ -755,16 +790,16 @@ export interface CreateAccountsRequest {
|
|
|
755
790
|
*/
|
|
756
791
|
export interface IsolateInstanceRequest {
|
|
757
792
|
/**
|
|
758
|
-
|
|
759
|
-
|
|
793
|
+
* 集群ID
|
|
794
|
+
*/
|
|
760
795
|
ClusterId: string;
|
|
761
796
|
/**
|
|
762
|
-
|
|
763
|
-
|
|
797
|
+
* 实例ID数组
|
|
798
|
+
*/
|
|
764
799
|
InstanceIdList: Array<string>;
|
|
765
800
|
/**
|
|
766
|
-
|
|
767
|
-
|
|
801
|
+
* 该参数已废弃
|
|
802
|
+
*/
|
|
768
803
|
DbType?: string;
|
|
769
804
|
}
|
|
770
805
|
/**
|
|
@@ -772,21 +807,42 @@ export interface IsolateInstanceRequest {
|
|
|
772
807
|
*/
|
|
773
808
|
export interface ExportInstanceSlowQueriesResponse {
|
|
774
809
|
/**
|
|
775
|
-
|
|
776
|
-
|
|
810
|
+
* 慢查询导出内容
|
|
811
|
+
*/
|
|
777
812
|
FileContent: string;
|
|
778
813
|
/**
|
|
779
|
-
|
|
780
|
-
|
|
814
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
815
|
+
*/
|
|
781
816
|
RequestId?: string;
|
|
782
817
|
}
|
|
818
|
+
/**
|
|
819
|
+
* SwitchClusterZone请求参数结构体
|
|
820
|
+
*/
|
|
821
|
+
export interface SwitchClusterZoneRequest {
|
|
822
|
+
/**
|
|
823
|
+
* 集群Id
|
|
824
|
+
*/
|
|
825
|
+
ClusterId: string;
|
|
826
|
+
/**
|
|
827
|
+
* 当前可用区
|
|
828
|
+
*/
|
|
829
|
+
OldZone: string;
|
|
830
|
+
/**
|
|
831
|
+
* 要切换到的可用区
|
|
832
|
+
*/
|
|
833
|
+
NewZone: string;
|
|
834
|
+
/**
|
|
835
|
+
* 维护期间执行-yes,立即执行-no
|
|
836
|
+
*/
|
|
837
|
+
IsInMaintainPeriod?: string;
|
|
838
|
+
}
|
|
783
839
|
/**
|
|
784
840
|
* DescribeDBSecurityGroups请求参数结构体
|
|
785
841
|
*/
|
|
786
842
|
export interface DescribeDBSecurityGroupsRequest {
|
|
787
843
|
/**
|
|
788
|
-
|
|
789
|
-
|
|
844
|
+
* 实例组ID
|
|
845
|
+
*/
|
|
790
846
|
InstanceId: string;
|
|
791
847
|
}
|
|
792
848
|
/**
|
|
@@ -794,32 +850,32 @@ export interface DescribeDBSecurityGroupsRequest {
|
|
|
794
850
|
*/
|
|
795
851
|
export interface RollBackClusterRequest {
|
|
796
852
|
/**
|
|
797
|
-
|
|
798
|
-
|
|
853
|
+
* 集群ID
|
|
854
|
+
*/
|
|
799
855
|
ClusterId: string;
|
|
800
856
|
/**
|
|
801
|
-
|
|
802
|
-
|
|
857
|
+
* 回档策略 timeRollback-按时间点回档 snapRollback-按备份文件回档
|
|
858
|
+
*/
|
|
803
859
|
RollbackStrategy: string;
|
|
804
860
|
/**
|
|
805
|
-
|
|
806
|
-
|
|
861
|
+
* 回档ID
|
|
862
|
+
*/
|
|
807
863
|
RollbackId: number;
|
|
808
864
|
/**
|
|
809
|
-
|
|
810
|
-
|
|
865
|
+
* 期望回档时间
|
|
866
|
+
*/
|
|
811
867
|
ExpectTime?: string;
|
|
812
868
|
/**
|
|
813
|
-
|
|
814
|
-
|
|
869
|
+
* 期望阈值
|
|
870
|
+
*/
|
|
815
871
|
ExpectTimeThresh?: number;
|
|
816
872
|
/**
|
|
817
|
-
|
|
818
|
-
|
|
873
|
+
* 回档数据库列表
|
|
874
|
+
*/
|
|
819
875
|
RollbackDatabases?: Array<RollbackDatabase>;
|
|
820
876
|
/**
|
|
821
|
-
|
|
822
|
-
|
|
877
|
+
* 回档数据库表
|
|
878
|
+
*/
|
|
823
879
|
RollbackTables?: Array<RollbackTable>;
|
|
824
880
|
}
|
|
825
881
|
/**
|
|
@@ -827,12 +883,12 @@ export interface RollBackClusterRequest {
|
|
|
827
883
|
*/
|
|
828
884
|
export interface RollbackTable {
|
|
829
885
|
/**
|
|
830
|
-
|
|
831
|
-
|
|
886
|
+
* 数据库名称
|
|
887
|
+
*/
|
|
832
888
|
Database: string;
|
|
833
889
|
/**
|
|
834
|
-
|
|
835
|
-
|
|
890
|
+
* 数据库表
|
|
891
|
+
*/
|
|
836
892
|
Tables: Array<RollbackTableInfo>;
|
|
837
893
|
}
|
|
838
894
|
/**
|
|
@@ -840,8 +896,8 @@ export interface RollbackTable {
|
|
|
840
896
|
*/
|
|
841
897
|
export interface DescribeClusterDetailRequest {
|
|
842
898
|
/**
|
|
843
|
-
|
|
844
|
-
|
|
899
|
+
* 集群Id
|
|
900
|
+
*/
|
|
845
901
|
ClusterId: string;
|
|
846
902
|
}
|
|
847
903
|
/**
|
|
@@ -849,12 +905,12 @@ export interface DescribeClusterDetailRequest {
|
|
|
849
905
|
*/
|
|
850
906
|
export interface Tag {
|
|
851
907
|
/**
|
|
852
|
-
|
|
853
|
-
|
|
908
|
+
* 标签键
|
|
909
|
+
*/
|
|
854
910
|
TagKey: string;
|
|
855
911
|
/**
|
|
856
|
-
|
|
857
|
-
|
|
912
|
+
* 标签值
|
|
913
|
+
*/
|
|
858
914
|
TagValue: string;
|
|
859
915
|
}
|
|
860
916
|
/**
|
|
@@ -862,12 +918,25 @@ export interface Tag {
|
|
|
862
918
|
*/
|
|
863
919
|
export interface DescribeProjectSecurityGroupsResponse {
|
|
864
920
|
/**
|
|
865
|
-
|
|
866
|
-
|
|
921
|
+
* 安全组详情
|
|
922
|
+
*/
|
|
867
923
|
Groups: Array<SecurityGroup>;
|
|
868
924
|
/**
|
|
869
|
-
|
|
870
|
-
|
|
925
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
926
|
+
*/
|
|
927
|
+
RequestId?: string;
|
|
928
|
+
}
|
|
929
|
+
/**
|
|
930
|
+
* RemoveClusterSlaveZone返回参数结构体
|
|
931
|
+
*/
|
|
932
|
+
export interface RemoveClusterSlaveZoneResponse {
|
|
933
|
+
/**
|
|
934
|
+
* 异步FlowId
|
|
935
|
+
*/
|
|
936
|
+
FlowId: number;
|
|
937
|
+
/**
|
|
938
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
939
|
+
*/
|
|
871
940
|
RequestId?: string;
|
|
872
941
|
}
|
|
873
942
|
/**
|
|
@@ -875,12 +944,12 @@ export interface DescribeProjectSecurityGroupsResponse {
|
|
|
875
944
|
*/
|
|
876
945
|
export interface PauseServerlessResponse {
|
|
877
946
|
/**
|
|
878
|
-
|
|
879
|
-
|
|
947
|
+
* 异步流程ID
|
|
948
|
+
*/
|
|
880
949
|
FlowId: number;
|
|
881
950
|
/**
|
|
882
|
-
|
|
883
|
-
|
|
951
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
952
|
+
*/
|
|
884
953
|
RequestId?: string;
|
|
885
954
|
}
|
|
886
955
|
/**
|
|
@@ -888,8 +957,8 @@ export interface PauseServerlessResponse {
|
|
|
888
957
|
*/
|
|
889
958
|
export interface OfflineClusterRequest {
|
|
890
959
|
/**
|
|
891
|
-
|
|
892
|
-
|
|
960
|
+
* 集群ID
|
|
961
|
+
*/
|
|
893
962
|
ClusterId: string;
|
|
894
963
|
}
|
|
895
964
|
/**
|
|
@@ -897,20 +966,20 @@ export interface OfflineClusterRequest {
|
|
|
897
966
|
*/
|
|
898
967
|
export interface NewAccount {
|
|
899
968
|
/**
|
|
900
|
-
|
|
901
|
-
|
|
969
|
+
* 账户名
|
|
970
|
+
*/
|
|
902
971
|
AccountName: string;
|
|
903
972
|
/**
|
|
904
|
-
|
|
905
|
-
|
|
973
|
+
* 密码
|
|
974
|
+
*/
|
|
906
975
|
AccountPassword: string;
|
|
907
976
|
/**
|
|
908
|
-
|
|
909
|
-
|
|
977
|
+
* 主机
|
|
978
|
+
*/
|
|
910
979
|
Host: string;
|
|
911
980
|
/**
|
|
912
|
-
|
|
913
|
-
|
|
981
|
+
* 描述
|
|
982
|
+
*/
|
|
914
983
|
Description?: string;
|
|
915
984
|
}
|
|
916
985
|
/**
|
|
@@ -918,40 +987,40 @@ export interface NewAccount {
|
|
|
918
987
|
*/
|
|
919
988
|
export interface BackupFileInfo {
|
|
920
989
|
/**
|
|
921
|
-
|
|
922
|
-
|
|
990
|
+
* 快照文件ID,用于回滚
|
|
991
|
+
*/
|
|
923
992
|
SnapshotId: number;
|
|
924
993
|
/**
|
|
925
|
-
|
|
926
|
-
|
|
994
|
+
* 快照文件名
|
|
995
|
+
*/
|
|
927
996
|
FileName: string;
|
|
928
997
|
/**
|
|
929
|
-
|
|
930
|
-
|
|
998
|
+
* 快照文件大小
|
|
999
|
+
*/
|
|
931
1000
|
FileSize: number;
|
|
932
1001
|
/**
|
|
933
|
-
|
|
934
|
-
|
|
1002
|
+
* 快照备份开始时间
|
|
1003
|
+
*/
|
|
935
1004
|
StartTime: string;
|
|
936
1005
|
/**
|
|
937
|
-
|
|
938
|
-
|
|
1006
|
+
* 快照备份完成时间
|
|
1007
|
+
*/
|
|
939
1008
|
FinishTime: string;
|
|
940
1009
|
/**
|
|
941
|
-
|
|
942
|
-
|
|
1010
|
+
* 备份类型:snapshot,快照备份;timepoint,时间点备份
|
|
1011
|
+
*/
|
|
943
1012
|
BackupType: string;
|
|
944
1013
|
/**
|
|
945
|
-
|
|
946
|
-
|
|
1014
|
+
* 备份方式:auto,自动备份;manual,手动备份
|
|
1015
|
+
*/
|
|
947
1016
|
BackupMethod: string;
|
|
948
1017
|
/**
|
|
949
|
-
|
|
950
|
-
|
|
1018
|
+
* 备份文件状态:success:备份成功;fail:备份失败;creating:备份文件创建中;deleting:备份文件删除中
|
|
1019
|
+
*/
|
|
951
1020
|
BackupStatus: string;
|
|
952
1021
|
/**
|
|
953
|
-
|
|
954
|
-
|
|
1022
|
+
* 备份文件时间
|
|
1023
|
+
*/
|
|
955
1024
|
SnapshotTime: string;
|
|
956
1025
|
}
|
|
957
1026
|
/**
|
|
@@ -959,16 +1028,16 @@ export interface BackupFileInfo {
|
|
|
959
1028
|
*/
|
|
960
1029
|
export interface TablePrivileges {
|
|
961
1030
|
/**
|
|
962
|
-
|
|
963
|
-
|
|
1031
|
+
* 数据库名
|
|
1032
|
+
*/
|
|
964
1033
|
Db: string;
|
|
965
1034
|
/**
|
|
966
|
-
|
|
967
|
-
|
|
1035
|
+
* 表名
|
|
1036
|
+
*/
|
|
968
1037
|
TableName: string;
|
|
969
1038
|
/**
|
|
970
|
-
|
|
971
|
-
|
|
1039
|
+
* 权限列表
|
|
1040
|
+
*/
|
|
972
1041
|
Privileges: Array<string>;
|
|
973
1042
|
}
|
|
974
1043
|
/**
|
|
@@ -976,12 +1045,12 @@ export interface TablePrivileges {
|
|
|
976
1045
|
*/
|
|
977
1046
|
export interface DescribeBinlogDownloadUrlResponse {
|
|
978
1047
|
/**
|
|
979
|
-
|
|
980
|
-
|
|
1048
|
+
* 下载地址
|
|
1049
|
+
*/
|
|
981
1050
|
DownloadUrl: string;
|
|
982
1051
|
/**
|
|
983
|
-
|
|
984
|
-
|
|
1052
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1053
|
+
*/
|
|
985
1054
|
RequestId?: string;
|
|
986
1055
|
}
|
|
987
1056
|
/**
|
|
@@ -989,21 +1058,21 @@ export interface DescribeBinlogDownloadUrlResponse {
|
|
|
989
1058
|
*/
|
|
990
1059
|
export interface DescribeBackupListRequest {
|
|
991
1060
|
/**
|
|
992
|
-
|
|
993
|
-
|
|
1061
|
+
* 集群ID
|
|
1062
|
+
*/
|
|
994
1063
|
ClusterId: string;
|
|
995
1064
|
/**
|
|
996
|
-
|
|
997
|
-
|
|
1065
|
+
* 备份文件列表偏移
|
|
1066
|
+
*/
|
|
998
1067
|
Limit: number;
|
|
999
1068
|
/**
|
|
1000
|
-
|
|
1001
|
-
|
|
1069
|
+
* 备份文件列表起始
|
|
1070
|
+
*/
|
|
1002
1071
|
Offset: number;
|
|
1003
1072
|
/**
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1073
|
+
* 数据库类型,取值范围:
|
|
1074
|
+
<li> MYSQL </li>
|
|
1075
|
+
*/
|
|
1007
1076
|
DbType?: string;
|
|
1008
1077
|
}
|
|
1009
1078
|
/**
|
|
@@ -1011,175 +1080,175 @@ export interface DescribeBackupListRequest {
|
|
|
1011
1080
|
*/
|
|
1012
1081
|
export interface CynosdbInstance {
|
|
1013
1082
|
/**
|
|
1014
|
-
|
|
1015
|
-
|
|
1083
|
+
* 用户Uin
|
|
1084
|
+
*/
|
|
1016
1085
|
Uin: string;
|
|
1017
1086
|
/**
|
|
1018
|
-
|
|
1019
|
-
|
|
1087
|
+
* 用户AppId
|
|
1088
|
+
*/
|
|
1020
1089
|
AppId: number;
|
|
1021
1090
|
/**
|
|
1022
|
-
|
|
1023
|
-
|
|
1091
|
+
* 集群ID
|
|
1092
|
+
*/
|
|
1024
1093
|
ClusterId: string;
|
|
1025
1094
|
/**
|
|
1026
|
-
|
|
1027
|
-
|
|
1095
|
+
* 集群名称
|
|
1096
|
+
*/
|
|
1028
1097
|
ClusterName: string;
|
|
1029
1098
|
/**
|
|
1030
|
-
|
|
1031
|
-
|
|
1099
|
+
* 实例ID
|
|
1100
|
+
*/
|
|
1032
1101
|
InstanceId: string;
|
|
1033
1102
|
/**
|
|
1034
|
-
|
|
1035
|
-
|
|
1103
|
+
* 实例名称
|
|
1104
|
+
*/
|
|
1036
1105
|
InstanceName: string;
|
|
1037
1106
|
/**
|
|
1038
|
-
|
|
1039
|
-
|
|
1107
|
+
* 项目ID
|
|
1108
|
+
*/
|
|
1040
1109
|
ProjectId: number;
|
|
1041
1110
|
/**
|
|
1042
|
-
|
|
1043
|
-
|
|
1111
|
+
* 地域
|
|
1112
|
+
*/
|
|
1044
1113
|
Region: string;
|
|
1045
1114
|
/**
|
|
1046
|
-
|
|
1047
|
-
|
|
1115
|
+
* 可用区
|
|
1116
|
+
*/
|
|
1048
1117
|
Zone: string;
|
|
1049
1118
|
/**
|
|
1050
|
-
|
|
1051
|
-
|
|
1119
|
+
* 实例状态
|
|
1120
|
+
*/
|
|
1052
1121
|
Status: string;
|
|
1053
1122
|
/**
|
|
1054
|
-
|
|
1055
|
-
|
|
1123
|
+
* 实例状态中文描述
|
|
1124
|
+
*/
|
|
1056
1125
|
StatusDesc: string;
|
|
1057
1126
|
/**
|
|
1058
|
-
|
|
1059
|
-
|
|
1127
|
+
* 数据库类型
|
|
1128
|
+
*/
|
|
1060
1129
|
DbType: string;
|
|
1061
1130
|
/**
|
|
1062
|
-
|
|
1063
|
-
|
|
1131
|
+
* 数据库版本
|
|
1132
|
+
*/
|
|
1064
1133
|
DbVersion: string;
|
|
1065
1134
|
/**
|
|
1066
|
-
|
|
1067
|
-
|
|
1135
|
+
* Cpu,单位:核
|
|
1136
|
+
*/
|
|
1068
1137
|
Cpu: number;
|
|
1069
1138
|
/**
|
|
1070
|
-
|
|
1071
|
-
|
|
1139
|
+
* 内存,单位:GB
|
|
1140
|
+
*/
|
|
1072
1141
|
Memory: number;
|
|
1073
1142
|
/**
|
|
1074
|
-
|
|
1075
|
-
|
|
1143
|
+
* 存储量,单位:GB
|
|
1144
|
+
*/
|
|
1076
1145
|
Storage: number;
|
|
1077
1146
|
/**
|
|
1078
|
-
|
|
1079
|
-
|
|
1147
|
+
* 实例类型
|
|
1148
|
+
*/
|
|
1080
1149
|
InstanceType: string;
|
|
1081
1150
|
/**
|
|
1082
|
-
|
|
1083
|
-
|
|
1151
|
+
* 实例当前角色
|
|
1152
|
+
*/
|
|
1084
1153
|
InstanceRole: string;
|
|
1085
1154
|
/**
|
|
1086
|
-
|
|
1087
|
-
|
|
1155
|
+
* 更新时间
|
|
1156
|
+
*/
|
|
1088
1157
|
UpdateTime: string;
|
|
1089
1158
|
/**
|
|
1090
|
-
|
|
1091
|
-
|
|
1159
|
+
* 创建时间
|
|
1160
|
+
*/
|
|
1092
1161
|
CreateTime: string;
|
|
1093
1162
|
/**
|
|
1094
|
-
|
|
1095
|
-
|
|
1163
|
+
* VPC网络ID
|
|
1164
|
+
*/
|
|
1096
1165
|
VpcId: string;
|
|
1097
1166
|
/**
|
|
1098
|
-
|
|
1099
|
-
|
|
1167
|
+
* 子网ID
|
|
1168
|
+
*/
|
|
1100
1169
|
SubnetId: string;
|
|
1101
1170
|
/**
|
|
1102
|
-
|
|
1103
|
-
|
|
1171
|
+
* 实例内网IP
|
|
1172
|
+
*/
|
|
1104
1173
|
Vip: string;
|
|
1105
1174
|
/**
|
|
1106
|
-
|
|
1107
|
-
|
|
1175
|
+
* 实例内网端口
|
|
1176
|
+
*/
|
|
1108
1177
|
Vport: number;
|
|
1109
1178
|
/**
|
|
1110
|
-
|
|
1111
|
-
|
|
1179
|
+
* 付费模式
|
|
1180
|
+
*/
|
|
1112
1181
|
PayMode: number;
|
|
1113
1182
|
/**
|
|
1114
|
-
|
|
1115
|
-
|
|
1183
|
+
* 实例过期时间
|
|
1184
|
+
*/
|
|
1116
1185
|
PeriodEndTime: string;
|
|
1117
1186
|
/**
|
|
1118
|
-
|
|
1119
|
-
|
|
1187
|
+
* 销毁期限
|
|
1188
|
+
*/
|
|
1120
1189
|
DestroyDeadlineText: string;
|
|
1121
1190
|
/**
|
|
1122
|
-
|
|
1123
|
-
|
|
1191
|
+
* 隔离时间
|
|
1192
|
+
*/
|
|
1124
1193
|
IsolateTime: string;
|
|
1125
1194
|
/**
|
|
1126
|
-
|
|
1127
|
-
|
|
1195
|
+
* 网络类型
|
|
1196
|
+
*/
|
|
1128
1197
|
NetType: number;
|
|
1129
1198
|
/**
|
|
1130
|
-
|
|
1131
|
-
|
|
1199
|
+
* 外网域名
|
|
1200
|
+
*/
|
|
1132
1201
|
WanDomain: string;
|
|
1133
1202
|
/**
|
|
1134
|
-
|
|
1135
|
-
|
|
1203
|
+
* 外网IP
|
|
1204
|
+
*/
|
|
1136
1205
|
WanIP: string;
|
|
1137
1206
|
/**
|
|
1138
|
-
|
|
1139
|
-
|
|
1207
|
+
* 外网端口
|
|
1208
|
+
*/
|
|
1140
1209
|
WanPort: number;
|
|
1141
1210
|
/**
|
|
1142
|
-
|
|
1143
|
-
|
|
1211
|
+
* 外网状态
|
|
1212
|
+
*/
|
|
1144
1213
|
WanStatus: string;
|
|
1145
1214
|
/**
|
|
1146
|
-
|
|
1147
|
-
|
|
1215
|
+
* 实例销毁时间
|
|
1216
|
+
*/
|
|
1148
1217
|
DestroyTime: string;
|
|
1149
1218
|
/**
|
|
1150
|
-
|
|
1151
|
-
|
|
1219
|
+
* Cynos内核版本
|
|
1220
|
+
*/
|
|
1152
1221
|
CynosVersion: string;
|
|
1153
1222
|
/**
|
|
1154
|
-
|
|
1155
|
-
|
|
1223
|
+
* 正在处理的任务
|
|
1224
|
+
*/
|
|
1156
1225
|
ProcessingTask: string;
|
|
1157
1226
|
/**
|
|
1158
|
-
|
|
1159
|
-
|
|
1227
|
+
* 续费标志
|
|
1228
|
+
*/
|
|
1160
1229
|
RenewFlag: number;
|
|
1161
1230
|
/**
|
|
1162
|
-
|
|
1163
|
-
|
|
1231
|
+
* serverless实例cpu下限
|
|
1232
|
+
*/
|
|
1164
1233
|
MinCpu: number;
|
|
1165
1234
|
/**
|
|
1166
|
-
|
|
1167
|
-
|
|
1235
|
+
* serverless实例cpu上限
|
|
1236
|
+
*/
|
|
1168
1237
|
MaxCpu: number;
|
|
1169
1238
|
/**
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1239
|
+
* serverless实例状态, 可选值:
|
|
1240
|
+
resume
|
|
1241
|
+
pause
|
|
1242
|
+
*/
|
|
1174
1243
|
ServerlessStatus: string;
|
|
1175
1244
|
/**
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1245
|
+
* 预付费存储Id
|
|
1246
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1247
|
+
*/
|
|
1179
1248
|
StorageId: string;
|
|
1180
1249
|
/**
|
|
1181
|
-
|
|
1182
|
-
|
|
1250
|
+
* 存储付费类型
|
|
1251
|
+
*/
|
|
1183
1252
|
StoragePayMode: number;
|
|
1184
1253
|
}
|
|
1185
1254
|
/**
|
|
@@ -1187,255 +1256,287 @@ export interface CynosdbInstance {
|
|
|
1187
1256
|
*/
|
|
1188
1257
|
export interface DbTable {
|
|
1189
1258
|
/**
|
|
1190
|
-
|
|
1191
|
-
|
|
1259
|
+
* 数据库名称
|
|
1260
|
+
*/
|
|
1192
1261
|
Db: string;
|
|
1193
1262
|
/**
|
|
1194
|
-
|
|
1195
|
-
|
|
1263
|
+
* 数据库表名称
|
|
1264
|
+
*/
|
|
1196
1265
|
TableName?: string;
|
|
1197
1266
|
}
|
|
1267
|
+
/**
|
|
1268
|
+
* ModifyClusterSlaveZone返回参数结构体
|
|
1269
|
+
*/
|
|
1270
|
+
export interface ModifyClusterSlaveZoneResponse {
|
|
1271
|
+
/**
|
|
1272
|
+
* 异步FlowId
|
|
1273
|
+
*/
|
|
1274
|
+
FlowId: number;
|
|
1275
|
+
/**
|
|
1276
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1277
|
+
*/
|
|
1278
|
+
RequestId?: string;
|
|
1279
|
+
}
|
|
1198
1280
|
/**
|
|
1199
1281
|
* GrantAccountPrivileges请求参数结构体
|
|
1200
1282
|
*/
|
|
1201
1283
|
export interface GrantAccountPrivilegesRequest {
|
|
1202
1284
|
/**
|
|
1203
|
-
|
|
1204
|
-
|
|
1285
|
+
* 集群id
|
|
1286
|
+
*/
|
|
1205
1287
|
ClusterId: string;
|
|
1206
1288
|
/**
|
|
1207
|
-
|
|
1208
|
-
|
|
1289
|
+
* 账号信息
|
|
1290
|
+
*/
|
|
1209
1291
|
Account: InputAccount;
|
|
1210
1292
|
/**
|
|
1211
|
-
|
|
1212
|
-
|
|
1293
|
+
* 数据库表权限码数组
|
|
1294
|
+
*/
|
|
1213
1295
|
DbTablePrivileges: Array<string>;
|
|
1214
1296
|
/**
|
|
1215
|
-
|
|
1216
|
-
|
|
1297
|
+
* 数据库表信息
|
|
1298
|
+
*/
|
|
1217
1299
|
DbTables: Array<DbTable>;
|
|
1218
1300
|
}
|
|
1219
1301
|
/**
|
|
1220
|
-
*
|
|
1302
|
+
* Binlog描述
|
|
1221
1303
|
*/
|
|
1222
|
-
export interface
|
|
1304
|
+
export interface BinlogItem {
|
|
1223
1305
|
/**
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
FlowId: number;
|
|
1306
|
+
* Binlog文件名称
|
|
1307
|
+
*/
|
|
1308
|
+
FileName: string;
|
|
1228
1309
|
/**
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
DealNames: Array<string>;
|
|
1310
|
+
* 文件大小,单位:字节
|
|
1311
|
+
*/
|
|
1312
|
+
FileSize: number;
|
|
1233
1313
|
/**
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1314
|
+
* 事务最早时间
|
|
1315
|
+
*/
|
|
1316
|
+
StartTime: string;
|
|
1317
|
+
/**
|
|
1318
|
+
* 事务最晚时间
|
|
1319
|
+
*/
|
|
1320
|
+
FinishTime: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* Binlog文件ID
|
|
1323
|
+
*/
|
|
1324
|
+
BinlogId: number;
|
|
1237
1325
|
}
|
|
1238
1326
|
/**
|
|
1239
1327
|
* CreateClusters请求参数结构体
|
|
1240
1328
|
*/
|
|
1241
1329
|
export interface CreateClustersRequest {
|
|
1242
1330
|
/**
|
|
1243
|
-
|
|
1244
|
-
|
|
1331
|
+
* 可用区
|
|
1332
|
+
*/
|
|
1245
1333
|
Zone: string;
|
|
1246
1334
|
/**
|
|
1247
|
-
|
|
1248
|
-
|
|
1335
|
+
* 所属VPC网络ID
|
|
1336
|
+
*/
|
|
1249
1337
|
VpcId: string;
|
|
1250
1338
|
/**
|
|
1251
|
-
|
|
1252
|
-
|
|
1339
|
+
* 所属子网ID
|
|
1340
|
+
*/
|
|
1253
1341
|
SubnetId: string;
|
|
1254
1342
|
/**
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1343
|
+
* 数据库类型,取值范围:
|
|
1344
|
+
<li> MYSQL </li>
|
|
1345
|
+
*/
|
|
1258
1346
|
DbType: string;
|
|
1259
1347
|
/**
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1348
|
+
* 数据库版本,取值范围:
|
|
1349
|
+
<li> MYSQL可选值:5.7,8.0 </li>
|
|
1350
|
+
*/
|
|
1263
1351
|
DbVersion: string;
|
|
1264
1352
|
/**
|
|
1265
|
-
|
|
1266
|
-
|
|
1353
|
+
* 所属项目ID
|
|
1354
|
+
*/
|
|
1267
1355
|
ProjectId?: number;
|
|
1268
1356
|
/**
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1357
|
+
* 当DbMode为NORMAL或不填时必选
|
|
1358
|
+
普通实例Cpu核数
|
|
1359
|
+
*/
|
|
1272
1360
|
Cpu?: number;
|
|
1273
1361
|
/**
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1362
|
+
* 当DbMode为NORMAL或不填时必选
|
|
1363
|
+
普通实例内存,单位G
|
|
1364
|
+
*/
|
|
1277
1365
|
Memory?: number;
|
|
1278
1366
|
/**
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1367
|
+
* 该参数无实际意义,已废弃。
|
|
1368
|
+
存储大小,单位G。
|
|
1369
|
+
*/
|
|
1282
1370
|
Storage?: number;
|
|
1283
1371
|
/**
|
|
1284
|
-
|
|
1285
|
-
|
|
1372
|
+
* 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')
|
|
1373
|
+
*/
|
|
1286
1374
|
ClusterName?: string;
|
|
1287
1375
|
/**
|
|
1288
|
-
|
|
1289
|
-
|
|
1376
|
+
* 账号密码(8-64个字符,包含大小写英文字母、数字和符号~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/中的任意三种)
|
|
1377
|
+
*/
|
|
1290
1378
|
AdminPassword?: string;
|
|
1291
1379
|
/**
|
|
1292
|
-
|
|
1293
|
-
|
|
1380
|
+
* 端口,默认3306,取值范围[0, 65535)
|
|
1381
|
+
*/
|
|
1294
1382
|
Port?: number;
|
|
1295
1383
|
/**
|
|
1296
|
-
|
|
1297
|
-
|
|
1384
|
+
* 计费模式,按量计费:0,包年包月:1。默认按量计费。
|
|
1385
|
+
*/
|
|
1298
1386
|
PayMode?: number;
|
|
1299
1387
|
/**
|
|
1300
|
-
|
|
1301
|
-
|
|
1388
|
+
* 购买集群数,可选值范围[1,50],默认为1
|
|
1389
|
+
*/
|
|
1302
1390
|
Count?: number;
|
|
1303
1391
|
/**
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1392
|
+
* 回档类型:
|
|
1393
|
+
noneRollback:不回档;
|
|
1394
|
+
snapRollback,快照回档;
|
|
1395
|
+
timeRollback,时间点回档
|
|
1396
|
+
*/
|
|
1309
1397
|
RollbackStrategy?: string;
|
|
1310
1398
|
/**
|
|
1311
|
-
|
|
1312
|
-
|
|
1399
|
+
* 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效
|
|
1400
|
+
*/
|
|
1313
1401
|
RollbackId?: number;
|
|
1314
1402
|
/**
|
|
1315
|
-
|
|
1316
|
-
|
|
1403
|
+
* 回档时,传入源集群ID,用于查找源poolId
|
|
1404
|
+
*/
|
|
1317
1405
|
OriginalClusterId?: string;
|
|
1318
1406
|
/**
|
|
1319
|
-
|
|
1320
|
-
|
|
1407
|
+
* 时间点回档,指定时间;快照回档,快照时间
|
|
1408
|
+
*/
|
|
1321
1409
|
ExpectTime?: string;
|
|
1322
1410
|
/**
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1411
|
+
* 该参数无实际意义,已废弃。
|
|
1412
|
+
时间点回档,指定时间允许范围
|
|
1413
|
+
*/
|
|
1326
1414
|
ExpectTimeThresh?: number;
|
|
1327
1415
|
/**
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1416
|
+
* 普通实例存储上限,单位GB
|
|
1417
|
+
当DbType为MYSQL,且存储计费模式为预付费时,该参数需不大于cpu与memory对应存储规格上限
|
|
1418
|
+
*/
|
|
1331
1419
|
StorageLimit?: number;
|
|
1332
1420
|
/**
|
|
1333
|
-
|
|
1334
|
-
|
|
1421
|
+
* 实例数量,数量范围为(0,16]
|
|
1422
|
+
*/
|
|
1335
1423
|
InstanceCount?: number;
|
|
1336
1424
|
/**
|
|
1337
|
-
|
|
1338
|
-
|
|
1425
|
+
* 包年包月购买时长
|
|
1426
|
+
*/
|
|
1339
1427
|
TimeSpan?: number;
|
|
1340
1428
|
/**
|
|
1341
|
-
|
|
1342
|
-
|
|
1429
|
+
* 包年包月购买时长单位,['s','d','m','y']
|
|
1430
|
+
*/
|
|
1343
1431
|
TimeUnit?: string;
|
|
1344
1432
|
/**
|
|
1345
|
-
|
|
1346
|
-
|
|
1433
|
+
* 包年包月购买是否自动续费,默认为0
|
|
1434
|
+
*/
|
|
1347
1435
|
AutoRenewFlag?: number;
|
|
1348
1436
|
/**
|
|
1349
|
-
|
|
1350
|
-
|
|
1437
|
+
* 是否自动选择代金券 1是 0否 默认为0
|
|
1438
|
+
*/
|
|
1351
1439
|
AutoVoucher?: number;
|
|
1352
1440
|
/**
|
|
1353
|
-
|
|
1354
|
-
|
|
1441
|
+
* 实例数量(该参数已不再使用,只做存量兼容处理)
|
|
1442
|
+
*/
|
|
1355
1443
|
HaCount?: number;
|
|
1356
1444
|
/**
|
|
1357
|
-
|
|
1358
|
-
|
|
1445
|
+
* 订单来源
|
|
1446
|
+
*/
|
|
1359
1447
|
OrderSource?: string;
|
|
1360
1448
|
/**
|
|
1361
|
-
|
|
1362
|
-
|
|
1449
|
+
* 集群创建需要绑定的tag数组信息
|
|
1450
|
+
*/
|
|
1363
1451
|
ResourceTags?: Array<Tag>;
|
|
1364
1452
|
/**
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1453
|
+
* Db类型
|
|
1454
|
+
当DbType为MYSQL时可选(默认NORMAL):
|
|
1455
|
+
<li>NORMAL</li>
|
|
1456
|
+
<li>SERVERLESS</li>
|
|
1457
|
+
*/
|
|
1370
1458
|
DbMode?: string;
|
|
1371
1459
|
/**
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1460
|
+
* 当DbMode为SEVERLESS时必填
|
|
1461
|
+
cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
1462
|
+
*/
|
|
1375
1463
|
MinCpu?: number;
|
|
1376
1464
|
/**
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1465
|
+
* 当DbMode为SEVERLESS时必填:
|
|
1466
|
+
cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
1467
|
+
*/
|
|
1380
1468
|
MaxCpu?: number;
|
|
1381
1469
|
/**
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1470
|
+
* 当DbMode为SEVERLESS时,指定集群是否自动暂停,可选范围
|
|
1471
|
+
<li>yes</li>
|
|
1472
|
+
<li>no</li>
|
|
1473
|
+
默认值:yes
|
|
1474
|
+
*/
|
|
1387
1475
|
AutoPause?: string;
|
|
1388
1476
|
/**
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1477
|
+
* 当DbMode为SEVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200]
|
|
1478
|
+
默认值:600
|
|
1479
|
+
*/
|
|
1392
1480
|
AutoPauseDelay?: number;
|
|
1393
1481
|
/**
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1482
|
+
* 集群存储计费模式,按量计费:0,包年包月:1。默认按量计费
|
|
1483
|
+
当DbType为MYSQL时,在集群计算计费模式为后付费(包括DbMode为SERVERLESS)时,存储计费模式仅可为按量计费
|
|
1484
|
+
回档与克隆均不支持包年包月存储
|
|
1485
|
+
*/
|
|
1398
1486
|
StoragePayMode?: number;
|
|
1399
1487
|
/**
|
|
1400
|
-
|
|
1401
|
-
|
|
1488
|
+
* 安全组id数组
|
|
1489
|
+
*/
|
|
1402
1490
|
SecurityGroupIds?: Array<string>;
|
|
1403
1491
|
/**
|
|
1404
|
-
|
|
1405
|
-
|
|
1492
|
+
* 告警策略Id数组
|
|
1493
|
+
*/
|
|
1406
1494
|
AlarmPolicyIds?: Array<string>;
|
|
1407
1495
|
/**
|
|
1408
|
-
|
|
1409
|
-
|
|
1496
|
+
* 参数数组
|
|
1497
|
+
*/
|
|
1410
1498
|
ClusterParams?: Array<ParamItem>;
|
|
1411
1499
|
/**
|
|
1412
|
-
|
|
1413
|
-
|
|
1500
|
+
* 交易模式,0-下单且支付,1-下单
|
|
1501
|
+
*/
|
|
1414
1502
|
DealMode?: number;
|
|
1415
1503
|
/**
|
|
1416
|
-
|
|
1417
|
-
|
|
1504
|
+
* 参数模版ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID
|
|
1505
|
+
*/
|
|
1418
1506
|
ParamTemplateId?: number;
|
|
1419
1507
|
/**
|
|
1420
|
-
|
|
1421
|
-
|
|
1508
|
+
* 多可用区地址
|
|
1509
|
+
*/
|
|
1422
1510
|
SlaveZone?: string;
|
|
1423
1511
|
}
|
|
1512
|
+
/**
|
|
1513
|
+
* 回档表信息
|
|
1514
|
+
*/
|
|
1515
|
+
export interface RollbackTableInfo {
|
|
1516
|
+
/**
|
|
1517
|
+
* 旧表名称
|
|
1518
|
+
*/
|
|
1519
|
+
OldTable: string;
|
|
1520
|
+
/**
|
|
1521
|
+
* 新表名称
|
|
1522
|
+
*/
|
|
1523
|
+
NewTable: string;
|
|
1524
|
+
}
|
|
1424
1525
|
/**
|
|
1425
1526
|
* DescribeClusters返回参数结构体
|
|
1426
1527
|
*/
|
|
1427
1528
|
export interface DescribeClustersResponse {
|
|
1428
1529
|
/**
|
|
1429
|
-
|
|
1430
|
-
|
|
1530
|
+
* 集群数
|
|
1531
|
+
*/
|
|
1431
1532
|
TotalCount: number;
|
|
1432
1533
|
/**
|
|
1433
|
-
|
|
1434
|
-
|
|
1534
|
+
* 集群列表
|
|
1535
|
+
*/
|
|
1435
1536
|
ClusterSet: Array<CynosdbCluster>;
|
|
1436
1537
|
/**
|
|
1437
|
-
|
|
1438
|
-
|
|
1538
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1539
|
+
*/
|
|
1439
1540
|
RequestId?: string;
|
|
1440
1541
|
}
|
|
1441
1542
|
/**
|
|
@@ -1443,20 +1544,20 @@ export interface DescribeClustersResponse {
|
|
|
1443
1544
|
*/
|
|
1444
1545
|
export interface QueryFilter {
|
|
1445
1546
|
/**
|
|
1446
|
-
|
|
1447
|
-
|
|
1547
|
+
* 搜索字段,目前支持:"InstanceId", "ProjectId", "InstanceName", "Vip"
|
|
1548
|
+
*/
|
|
1448
1549
|
Names: Array<string>;
|
|
1449
1550
|
/**
|
|
1450
|
-
|
|
1451
|
-
|
|
1551
|
+
* 搜索字符串
|
|
1552
|
+
*/
|
|
1452
1553
|
Values: Array<string>;
|
|
1453
1554
|
/**
|
|
1454
|
-
|
|
1455
|
-
|
|
1555
|
+
* 是否精确匹配
|
|
1556
|
+
*/
|
|
1456
1557
|
ExactMatch?: boolean;
|
|
1457
1558
|
/**
|
|
1458
|
-
|
|
1459
|
-
|
|
1559
|
+
* 搜索字段
|
|
1560
|
+
*/
|
|
1460
1561
|
Name?: string;
|
|
1461
1562
|
}
|
|
1462
1563
|
/**
|
|
@@ -1464,30 +1565,30 @@ export interface QueryFilter {
|
|
|
1464
1565
|
*/
|
|
1465
1566
|
export interface DescribeBackupConfigResponse {
|
|
1466
1567
|
/**
|
|
1467
|
-
|
|
1468
|
-
|
|
1568
|
+
* 表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
|
1569
|
+
*/
|
|
1469
1570
|
BackupTimeBeg: number;
|
|
1470
1571
|
/**
|
|
1471
|
-
|
|
1472
|
-
|
|
1572
|
+
* 表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
|
1573
|
+
*/
|
|
1473
1574
|
BackupTimeEnd: number;
|
|
1474
1575
|
/**
|
|
1475
|
-
|
|
1476
|
-
|
|
1576
|
+
* 表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600*24*7=604800
|
|
1577
|
+
*/
|
|
1477
1578
|
ReserveDuration: number;
|
|
1478
1579
|
/**
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1580
|
+
* 备份频率,长度为7的数组,分别对应周一到周日的备份方式,full-全量备份,increment-增量备份
|
|
1581
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1582
|
+
*/
|
|
1482
1583
|
BackupFreq: Array<string>;
|
|
1483
1584
|
/**
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1585
|
+
* 备份方式,logic-逻辑备份,snapshot-快照备份
|
|
1586
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1587
|
+
*/
|
|
1487
1588
|
BackupType: string;
|
|
1488
1589
|
/**
|
|
1489
|
-
|
|
1490
|
-
|
|
1590
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1591
|
+
*/
|
|
1491
1592
|
RequestId?: string;
|
|
1492
1593
|
}
|
|
1493
1594
|
/**
|
|
@@ -1495,16 +1596,16 @@ export interface DescribeBackupConfigResponse {
|
|
|
1495
1596
|
*/
|
|
1496
1597
|
export interface ModifyDBInstanceSecurityGroupsRequest {
|
|
1497
1598
|
/**
|
|
1498
|
-
|
|
1499
|
-
|
|
1599
|
+
* 实例组ID
|
|
1600
|
+
*/
|
|
1500
1601
|
InstanceId: string;
|
|
1501
1602
|
/**
|
|
1502
|
-
|
|
1503
|
-
|
|
1603
|
+
* 要修改的安全组ID列表,一个或者多个安全组ID组成的数组。
|
|
1604
|
+
*/
|
|
1504
1605
|
SecurityGroupIds: Array<string>;
|
|
1505
1606
|
/**
|
|
1506
|
-
|
|
1507
|
-
|
|
1607
|
+
* 可用区
|
|
1608
|
+
*/
|
|
1508
1609
|
Zone: string;
|
|
1509
1610
|
}
|
|
1510
1611
|
/**
|
|
@@ -1512,16 +1613,16 @@ export interface ModifyDBInstanceSecurityGroupsRequest {
|
|
|
1512
1613
|
*/
|
|
1513
1614
|
export interface DescribeParamTemplatesResponse {
|
|
1514
1615
|
/**
|
|
1515
|
-
|
|
1516
|
-
|
|
1616
|
+
* 参数模板数量
|
|
1617
|
+
*/
|
|
1517
1618
|
TotalCount: number;
|
|
1518
1619
|
/**
|
|
1519
|
-
|
|
1520
|
-
|
|
1620
|
+
* 参数模板信息
|
|
1621
|
+
*/
|
|
1521
1622
|
Items: Array<ParamTemplateListInfo>;
|
|
1522
1623
|
/**
|
|
1523
|
-
|
|
1524
|
-
|
|
1624
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1625
|
+
*/
|
|
1525
1626
|
RequestId?: string;
|
|
1526
1627
|
}
|
|
1527
1628
|
/**
|
|
@@ -1529,28 +1630,28 @@ export interface DescribeParamTemplatesResponse {
|
|
|
1529
1630
|
*/
|
|
1530
1631
|
export interface AddInstancesResponse {
|
|
1531
1632
|
/**
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1633
|
+
* 冻结流水,一次开通一个冻结流水。
|
|
1634
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1635
|
+
*/
|
|
1535
1636
|
TranId: string;
|
|
1536
1637
|
/**
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1638
|
+
* 后付费订单号。
|
|
1639
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1640
|
+
*/
|
|
1540
1641
|
DealNames: Array<string>;
|
|
1541
1642
|
/**
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1643
|
+
* 发货资源id列表。
|
|
1644
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1645
|
+
*/
|
|
1545
1646
|
ResourceIds: Array<string>;
|
|
1546
1647
|
/**
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1648
|
+
* 大订单号
|
|
1649
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1650
|
+
*/
|
|
1550
1651
|
BigDealIds: Array<string>;
|
|
1551
1652
|
/**
|
|
1552
|
-
|
|
1553
|
-
|
|
1653
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1654
|
+
*/
|
|
1554
1655
|
RequestId?: string;
|
|
1555
1656
|
}
|
|
1556
1657
|
/**
|
|
@@ -1558,12 +1659,12 @@ export interface AddInstancesResponse {
|
|
|
1558
1659
|
*/
|
|
1559
1660
|
export interface Addr {
|
|
1560
1661
|
/**
|
|
1561
|
-
|
|
1562
|
-
|
|
1662
|
+
* IP
|
|
1663
|
+
*/
|
|
1563
1664
|
IP: string;
|
|
1564
1665
|
/**
|
|
1565
|
-
|
|
1566
|
-
|
|
1666
|
+
* 端口
|
|
1667
|
+
*/
|
|
1567
1668
|
Port: number;
|
|
1568
1669
|
}
|
|
1569
1670
|
/**
|
|
@@ -1571,29 +1672,79 @@ export interface Addr {
|
|
|
1571
1672
|
*/
|
|
1572
1673
|
export interface ParamTemplateListInfo {
|
|
1573
1674
|
/**
|
|
1574
|
-
|
|
1575
|
-
|
|
1675
|
+
* 参数模板ID
|
|
1676
|
+
*/
|
|
1576
1677
|
Id: number;
|
|
1577
1678
|
/**
|
|
1578
|
-
|
|
1579
|
-
|
|
1679
|
+
* 参数模板名称
|
|
1680
|
+
*/
|
|
1580
1681
|
TemplateName: string;
|
|
1581
1682
|
/**
|
|
1582
|
-
|
|
1583
|
-
|
|
1683
|
+
* 参数模板描述
|
|
1684
|
+
*/
|
|
1584
1685
|
TemplateDescription: string;
|
|
1585
1686
|
/**
|
|
1586
|
-
|
|
1587
|
-
|
|
1687
|
+
* 引擎版本
|
|
1688
|
+
*/
|
|
1588
1689
|
EngineVersion: string;
|
|
1589
1690
|
}
|
|
1691
|
+
/**
|
|
1692
|
+
* 参数信息
|
|
1693
|
+
*/
|
|
1694
|
+
export interface ParamInfo {
|
|
1695
|
+
/**
|
|
1696
|
+
* 当前值
|
|
1697
|
+
*/
|
|
1698
|
+
CurrentValue: string;
|
|
1699
|
+
/**
|
|
1700
|
+
* 默认值
|
|
1701
|
+
*/
|
|
1702
|
+
Default: string;
|
|
1703
|
+
/**
|
|
1704
|
+
* 参数为enum/string/bool时,可选值列表
|
|
1705
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1706
|
+
*/
|
|
1707
|
+
EnumValue: Array<string>;
|
|
1708
|
+
/**
|
|
1709
|
+
* 参数类型为float/integer时的最大值
|
|
1710
|
+
*/
|
|
1711
|
+
Max: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* 参数类型为float/integer时的最小值
|
|
1714
|
+
*/
|
|
1715
|
+
Min: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* 参数名称
|
|
1718
|
+
*/
|
|
1719
|
+
ParamName: string;
|
|
1720
|
+
/**
|
|
1721
|
+
* 是否需要重启生效
|
|
1722
|
+
*/
|
|
1723
|
+
NeedReboot: number;
|
|
1724
|
+
/**
|
|
1725
|
+
* 参数类型:integer/float/string/enum/bool
|
|
1726
|
+
*/
|
|
1727
|
+
ParamType: string;
|
|
1728
|
+
/**
|
|
1729
|
+
* 匹配类型,multiVal, regex在参数类型是string时使用
|
|
1730
|
+
*/
|
|
1731
|
+
MatchType: string;
|
|
1732
|
+
/**
|
|
1733
|
+
* 匹配目标值,当multiVal时,各个key用;分割
|
|
1734
|
+
*/
|
|
1735
|
+
MatchValue: string;
|
|
1736
|
+
/**
|
|
1737
|
+
* 参数描述
|
|
1738
|
+
*/
|
|
1739
|
+
Description: string;
|
|
1740
|
+
}
|
|
1590
1741
|
/**
|
|
1591
1742
|
* DescribeProjectSecurityGroups请求参数结构体
|
|
1592
1743
|
*/
|
|
1593
1744
|
export interface DescribeProjectSecurityGroupsRequest {
|
|
1594
1745
|
/**
|
|
1595
|
-
|
|
1596
|
-
|
|
1746
|
+
* 项目ID
|
|
1747
|
+
*/
|
|
1597
1748
|
ProjectId: number;
|
|
1598
1749
|
}
|
|
1599
1750
|
/**
|
|
@@ -1601,12 +1752,12 @@ export interface DescribeProjectSecurityGroupsRequest {
|
|
|
1601
1752
|
*/
|
|
1602
1753
|
export interface ModifyClusterParamResponse {
|
|
1603
1754
|
/**
|
|
1604
|
-
|
|
1605
|
-
|
|
1755
|
+
* 异步请求Id,用于查询结果
|
|
1756
|
+
*/
|
|
1606
1757
|
AsyncRequestId: string;
|
|
1607
1758
|
/**
|
|
1608
|
-
|
|
1609
|
-
|
|
1759
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1760
|
+
*/
|
|
1610
1761
|
RequestId?: string;
|
|
1611
1762
|
}
|
|
1612
1763
|
/**
|
|
@@ -1614,32 +1765,32 @@ export interface ModifyClusterParamResponse {
|
|
|
1614
1765
|
*/
|
|
1615
1766
|
export interface SecurityGroup {
|
|
1616
1767
|
/**
|
|
1617
|
-
|
|
1618
|
-
|
|
1768
|
+
* 项目ID
|
|
1769
|
+
*/
|
|
1619
1770
|
ProjectId: number;
|
|
1620
1771
|
/**
|
|
1621
|
-
|
|
1622
|
-
|
|
1772
|
+
* 创建时间,时间格式:yyyy-mm-dd hh:mm:ss
|
|
1773
|
+
*/
|
|
1623
1774
|
CreateTime: string;
|
|
1624
1775
|
/**
|
|
1625
|
-
|
|
1626
|
-
|
|
1776
|
+
* 入站规则
|
|
1777
|
+
*/
|
|
1627
1778
|
Inbound: Array<PolicyRule>;
|
|
1628
1779
|
/**
|
|
1629
|
-
|
|
1630
|
-
|
|
1780
|
+
* 出站规则
|
|
1781
|
+
*/
|
|
1631
1782
|
Outbound: Array<PolicyRule>;
|
|
1632
1783
|
/**
|
|
1633
|
-
|
|
1634
|
-
|
|
1784
|
+
* 安全组ID
|
|
1785
|
+
*/
|
|
1635
1786
|
SecurityGroupId: string;
|
|
1636
1787
|
/**
|
|
1637
|
-
|
|
1638
|
-
|
|
1788
|
+
* 安全组名称
|
|
1789
|
+
*/
|
|
1639
1790
|
SecurityGroupName: string;
|
|
1640
1791
|
/**
|
|
1641
|
-
|
|
1642
|
-
|
|
1792
|
+
* 安全组备注
|
|
1793
|
+
*/
|
|
1643
1794
|
SecurityGroupRemark: string;
|
|
1644
1795
|
}
|
|
1645
1796
|
/**
|
|
@@ -1647,51 +1798,79 @@ export interface SecurityGroup {
|
|
|
1647
1798
|
*/
|
|
1648
1799
|
export interface DescribeBackupDownloadUrlRequest {
|
|
1649
1800
|
/**
|
|
1650
|
-
|
|
1651
|
-
|
|
1801
|
+
* 集群ID
|
|
1802
|
+
*/
|
|
1652
1803
|
ClusterId: string;
|
|
1653
1804
|
/**
|
|
1654
|
-
|
|
1655
|
-
|
|
1805
|
+
* 备份ID
|
|
1806
|
+
*/
|
|
1656
1807
|
BackupId: number;
|
|
1657
1808
|
}
|
|
1809
|
+
/**
|
|
1810
|
+
* 可回档的时间范围
|
|
1811
|
+
*/
|
|
1812
|
+
export interface RollbackTimeRange {
|
|
1813
|
+
/**
|
|
1814
|
+
* 开始时间
|
|
1815
|
+
*/
|
|
1816
|
+
TimeRangeStart: string;
|
|
1817
|
+
/**
|
|
1818
|
+
* 结束时间
|
|
1819
|
+
*/
|
|
1820
|
+
TimeRangeEnd: string;
|
|
1821
|
+
}
|
|
1658
1822
|
/**
|
|
1659
1823
|
* 网络信息
|
|
1660
1824
|
*/
|
|
1661
1825
|
export interface NetAddr {
|
|
1662
1826
|
/**
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1827
|
+
* 内网ip
|
|
1828
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1829
|
+
*/
|
|
1666
1830
|
Vip: string;
|
|
1667
1831
|
/**
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1832
|
+
* 内网端口号
|
|
1833
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1834
|
+
*/
|
|
1671
1835
|
Vport: number;
|
|
1672
1836
|
/**
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1837
|
+
* 外网域名
|
|
1838
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1839
|
+
*/
|
|
1676
1840
|
WanDomain: string;
|
|
1677
1841
|
/**
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1842
|
+
* 外网端口号
|
|
1843
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1844
|
+
*/
|
|
1681
1845
|
WanPort: number;
|
|
1682
1846
|
/**
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1847
|
+
* 网络类型(ro-只读,rw/ha-读写)
|
|
1848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1849
|
+
*/
|
|
1686
1850
|
NetType: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* 子网ID
|
|
1853
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1854
|
+
*/
|
|
1855
|
+
UniqSubnetId: string;
|
|
1856
|
+
/**
|
|
1857
|
+
* 私有网络ID
|
|
1858
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1859
|
+
*/
|
|
1860
|
+
UniqVpcId: string;
|
|
1861
|
+
/**
|
|
1862
|
+
* 描述信息
|
|
1863
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1864
|
+
*/
|
|
1865
|
+
Description: string;
|
|
1687
1866
|
}
|
|
1688
1867
|
/**
|
|
1689
1868
|
* AssociateSecurityGroups返回参数结构体
|
|
1690
1869
|
*/
|
|
1691
1870
|
export interface AssociateSecurityGroupsResponse {
|
|
1692
1871
|
/**
|
|
1693
|
-
|
|
1694
|
-
|
|
1872
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1873
|
+
*/
|
|
1695
1874
|
RequestId?: string;
|
|
1696
1875
|
}
|
|
1697
1876
|
/**
|
|
@@ -1699,12 +1878,12 @@ export interface AssociateSecurityGroupsResponse {
|
|
|
1699
1878
|
*/
|
|
1700
1879
|
export interface DescribeResourcesByDealNameRequest {
|
|
1701
1880
|
/**
|
|
1702
|
-
|
|
1703
|
-
|
|
1881
|
+
* 计费订单ID(如果计费还没回调业务发货,可能出现错误码InvalidParameterValue.DealNameNotFound,这种情况需要业务重试DescribeResourcesByDealName接口直到成功)
|
|
1882
|
+
*/
|
|
1704
1883
|
DealName?: string;
|
|
1705
1884
|
/**
|
|
1706
|
-
|
|
1707
|
-
|
|
1885
|
+
* 计费订单ID列表,可以一次查询若干条订单ID对应资源信息(如果计费还没回调业务发货,可能出现错误码InvalidParameterValue.DealNameNotFound,这种情况需要业务重试DescribeResourcesByDealName接口直到成功)
|
|
1886
|
+
*/
|
|
1708
1887
|
DealNames?: Array<string>;
|
|
1709
1888
|
}
|
|
1710
1889
|
/**
|
|
@@ -1712,24 +1891,24 @@ export interface DescribeResourcesByDealNameRequest {
|
|
|
1712
1891
|
*/
|
|
1713
1892
|
export interface DescribeRollbackTimeValidityResponse {
|
|
1714
1893
|
/**
|
|
1715
|
-
|
|
1716
|
-
|
|
1894
|
+
* 存储poolID
|
|
1895
|
+
*/
|
|
1717
1896
|
PoolId?: number;
|
|
1718
1897
|
/**
|
|
1719
|
-
|
|
1720
|
-
|
|
1898
|
+
* 回滚任务ID,后续按该时间点回滚时,需要传入
|
|
1899
|
+
*/
|
|
1721
1900
|
QueryId?: number;
|
|
1722
1901
|
/**
|
|
1723
|
-
|
|
1724
|
-
|
|
1902
|
+
* 时间点是否有效:pass,检测通过;fail,检测失败
|
|
1903
|
+
*/
|
|
1725
1904
|
Status?: string;
|
|
1726
1905
|
/**
|
|
1727
|
-
|
|
1728
|
-
|
|
1906
|
+
* 建议时间点,在Status为fail时,该值才有效
|
|
1907
|
+
*/
|
|
1729
1908
|
SuggestTime?: string;
|
|
1730
1909
|
/**
|
|
1731
|
-
|
|
1732
|
-
|
|
1910
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1911
|
+
*/
|
|
1733
1912
|
RequestId?: string;
|
|
1734
1913
|
}
|
|
1735
1914
|
/**
|
|
@@ -1737,16 +1916,16 @@ export interface DescribeRollbackTimeValidityResponse {
|
|
|
1737
1916
|
*/
|
|
1738
1917
|
export interface DescribeInstanceSlowQueriesResponse {
|
|
1739
1918
|
/**
|
|
1740
|
-
|
|
1741
|
-
|
|
1919
|
+
* 总条数
|
|
1920
|
+
*/
|
|
1742
1921
|
TotalCount: number;
|
|
1743
1922
|
/**
|
|
1744
|
-
|
|
1745
|
-
|
|
1923
|
+
* 慢查询记录
|
|
1924
|
+
*/
|
|
1746
1925
|
SlowQueries: Array<SlowQueriesItem>;
|
|
1747
1926
|
/**
|
|
1748
|
-
|
|
1749
|
-
|
|
1927
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1928
|
+
*/
|
|
1750
1929
|
RequestId?: string;
|
|
1751
1930
|
}
|
|
1752
1931
|
/**
|
|
@@ -1754,8 +1933,8 @@ export interface DescribeInstanceSlowQueriesResponse {
|
|
|
1754
1933
|
*/
|
|
1755
1934
|
export interface GrantAccountPrivilegesResponse {
|
|
1756
1935
|
/**
|
|
1757
|
-
|
|
1758
|
-
|
|
1936
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1937
|
+
*/
|
|
1759
1938
|
RequestId?: string;
|
|
1760
1939
|
}
|
|
1761
1940
|
/**
|
|
@@ -1763,12 +1942,12 @@ export interface GrantAccountPrivilegesResponse {
|
|
|
1763
1942
|
*/
|
|
1764
1943
|
export interface DescribeBackupDownloadUrlResponse {
|
|
1765
1944
|
/**
|
|
1766
|
-
|
|
1767
|
-
|
|
1945
|
+
* 备份下载地址
|
|
1946
|
+
*/
|
|
1768
1947
|
DownloadUrl: string;
|
|
1769
1948
|
/**
|
|
1770
|
-
|
|
1771
|
-
|
|
1949
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1950
|
+
*/
|
|
1772
1951
|
RequestId?: string;
|
|
1773
1952
|
}
|
|
1774
1953
|
/**
|
|
@@ -1776,8 +1955,8 @@ export interface DescribeBackupDownloadUrlResponse {
|
|
|
1776
1955
|
*/
|
|
1777
1956
|
export interface ResumeServerlessRequest {
|
|
1778
1957
|
/**
|
|
1779
|
-
|
|
1780
|
-
|
|
1958
|
+
* 集群ID
|
|
1959
|
+
*/
|
|
1781
1960
|
ClusterId: string;
|
|
1782
1961
|
}
|
|
1783
1962
|
/**
|
|
@@ -1785,44 +1964,44 @@ export interface ResumeServerlessRequest {
|
|
|
1785
1964
|
*/
|
|
1786
1965
|
export interface InquirePriceCreateRequest {
|
|
1787
1966
|
/**
|
|
1788
|
-
|
|
1789
|
-
|
|
1967
|
+
* 可用区,每个地域提供最佳实践
|
|
1968
|
+
*/
|
|
1790
1969
|
Zone: string;
|
|
1791
1970
|
/**
|
|
1792
|
-
|
|
1793
|
-
|
|
1971
|
+
* 购买商品数量
|
|
1972
|
+
*/
|
|
1794
1973
|
GoodsNum: number;
|
|
1795
1974
|
/**
|
|
1796
|
-
|
|
1797
|
-
|
|
1975
|
+
* 实例购买类型,可选值为:PREPAID, POSTPAID, SERVERLESS
|
|
1976
|
+
*/
|
|
1798
1977
|
InstancePayMode: string;
|
|
1799
1978
|
/**
|
|
1800
|
-
|
|
1801
|
-
|
|
1979
|
+
* 存储购买类型,可选值为:PREPAID, POSTPAID
|
|
1980
|
+
*/
|
|
1802
1981
|
StoragePayMode: string;
|
|
1803
1982
|
/**
|
|
1804
|
-
|
|
1805
|
-
|
|
1983
|
+
* CPU核数,PREPAID与POSTPAID实例类型必传
|
|
1984
|
+
*/
|
|
1806
1985
|
Cpu?: number;
|
|
1807
1986
|
/**
|
|
1808
|
-
|
|
1809
|
-
|
|
1987
|
+
* 内存大小,单位G,PREPAID与POSTPAID实例类型必传
|
|
1988
|
+
*/
|
|
1810
1989
|
Memory?: number;
|
|
1811
1990
|
/**
|
|
1812
|
-
|
|
1813
|
-
|
|
1991
|
+
* Ccu大小,serverless类型必传
|
|
1992
|
+
*/
|
|
1814
1993
|
Ccu?: number;
|
|
1815
1994
|
/**
|
|
1816
|
-
|
|
1817
|
-
|
|
1995
|
+
* 存储大小,PREPAID存储类型必传
|
|
1996
|
+
*/
|
|
1818
1997
|
StorageLimit?: number;
|
|
1819
1998
|
/**
|
|
1820
|
-
|
|
1821
|
-
|
|
1999
|
+
* 购买时长,PREPAID购买类型必传
|
|
2000
|
+
*/
|
|
1822
2001
|
TimeSpan?: number;
|
|
1823
2002
|
/**
|
|
1824
|
-
|
|
1825
|
-
|
|
2003
|
+
* 时长单位,可选值为:m,d。PREPAID购买类型必传
|
|
2004
|
+
*/
|
|
1826
2005
|
TimeUnit?: string;
|
|
1827
2006
|
}
|
|
1828
2007
|
/**
|
|
@@ -1830,16 +2009,16 @@ export interface InquirePriceCreateRequest {
|
|
|
1830
2009
|
*/
|
|
1831
2010
|
export interface BillingResourceInfo {
|
|
1832
2011
|
/**
|
|
1833
|
-
|
|
1834
|
-
|
|
2012
|
+
* 集群ID
|
|
2013
|
+
*/
|
|
1835
2014
|
ClusterId: string;
|
|
1836
2015
|
/**
|
|
1837
|
-
|
|
1838
|
-
|
|
2016
|
+
* 实例ID列表
|
|
2017
|
+
*/
|
|
1839
2018
|
InstanceIds: Array<string>;
|
|
1840
2019
|
/**
|
|
1841
|
-
|
|
1842
|
-
|
|
2020
|
+
* 订单ID
|
|
2021
|
+
*/
|
|
1843
2022
|
DealName: string;
|
|
1844
2023
|
}
|
|
1845
2024
|
/**
|
|
@@ -1847,8 +2026,8 @@ export interface BillingResourceInfo {
|
|
|
1847
2026
|
*/
|
|
1848
2027
|
export interface ModifyBackupConfigResponse {
|
|
1849
2028
|
/**
|
|
1850
|
-
|
|
1851
|
-
|
|
2029
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2030
|
+
*/
|
|
1852
2031
|
RequestId?: string;
|
|
1853
2032
|
}
|
|
1854
2033
|
/**
|
|
@@ -1856,50 +2035,54 @@ export interface ModifyBackupConfigResponse {
|
|
|
1856
2035
|
*/
|
|
1857
2036
|
export interface DescribeInstanceSpecsRequest {
|
|
1858
2037
|
/**
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
2038
|
+
* 数据库类型,取值范围:
|
|
2039
|
+
<li> MYSQL </li>
|
|
2040
|
+
*/
|
|
1862
2041
|
DbType: string;
|
|
2042
|
+
/**
|
|
2043
|
+
* 是否需要返回可用区信息
|
|
2044
|
+
*/
|
|
2045
|
+
IncludeZoneStocks?: boolean;
|
|
1863
2046
|
}
|
|
1864
2047
|
/**
|
|
1865
2048
|
* ExportInstanceSlowQueries请求参数结构体
|
|
1866
2049
|
*/
|
|
1867
2050
|
export interface ExportInstanceSlowQueriesRequest {
|
|
1868
2051
|
/**
|
|
1869
|
-
|
|
1870
|
-
|
|
2052
|
+
* 实例ID
|
|
2053
|
+
*/
|
|
1871
2054
|
InstanceId: string;
|
|
1872
2055
|
/**
|
|
1873
|
-
|
|
1874
|
-
|
|
2056
|
+
* 事务开始最早时间
|
|
2057
|
+
*/
|
|
1875
2058
|
StartTime?: string;
|
|
1876
2059
|
/**
|
|
1877
|
-
|
|
1878
|
-
|
|
2060
|
+
* 事务开始最晚时间
|
|
2061
|
+
*/
|
|
1879
2062
|
EndTime?: string;
|
|
1880
2063
|
/**
|
|
1881
|
-
|
|
1882
|
-
|
|
2064
|
+
* 限制条数
|
|
2065
|
+
*/
|
|
1883
2066
|
Limit?: number;
|
|
1884
2067
|
/**
|
|
1885
|
-
|
|
1886
|
-
|
|
2068
|
+
* 偏移量
|
|
2069
|
+
*/
|
|
1887
2070
|
Offset?: number;
|
|
1888
2071
|
/**
|
|
1889
|
-
|
|
1890
|
-
|
|
2072
|
+
* 用户名
|
|
2073
|
+
*/
|
|
1891
2074
|
Username?: string;
|
|
1892
2075
|
/**
|
|
1893
|
-
|
|
1894
|
-
|
|
2076
|
+
* 客户端host
|
|
2077
|
+
*/
|
|
1895
2078
|
Host?: string;
|
|
1896
2079
|
/**
|
|
1897
|
-
|
|
1898
|
-
|
|
2080
|
+
* 数据库名
|
|
2081
|
+
*/
|
|
1899
2082
|
Database?: string;
|
|
1900
2083
|
/**
|
|
1901
|
-
|
|
1902
|
-
|
|
2084
|
+
* 文件类型,可选值:csv, original
|
|
2085
|
+
*/
|
|
1903
2086
|
FileType?: string;
|
|
1904
2087
|
}
|
|
1905
2088
|
/**
|
|
@@ -1907,22 +2090,22 @@ export interface ExportInstanceSlowQueriesRequest {
|
|
|
1907
2090
|
*/
|
|
1908
2091
|
export interface UpgradeInstanceResponse {
|
|
1909
2092
|
/**
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
2093
|
+
* 冻结流水ID
|
|
2094
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2095
|
+
*/
|
|
1913
2096
|
TranId: string;
|
|
1914
2097
|
/**
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
2098
|
+
* 大订单号
|
|
2099
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2100
|
+
*/
|
|
1918
2101
|
BigDealIds: Array<string>;
|
|
1919
2102
|
/**
|
|
1920
|
-
|
|
1921
|
-
|
|
2103
|
+
* 订单号
|
|
2104
|
+
*/
|
|
1922
2105
|
DealNames: Array<string>;
|
|
1923
2106
|
/**
|
|
1924
|
-
|
|
1925
|
-
|
|
2107
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2108
|
+
*/
|
|
1926
2109
|
RequestId?: string;
|
|
1927
2110
|
}
|
|
1928
2111
|
/**
|
|
@@ -1930,16 +2113,16 @@ export interface UpgradeInstanceResponse {
|
|
|
1930
2113
|
*/
|
|
1931
2114
|
export interface ModifyAccountParamsRequest {
|
|
1932
2115
|
/**
|
|
1933
|
-
|
|
1934
|
-
|
|
2116
|
+
* 集群id,不超过32个字符
|
|
2117
|
+
*/
|
|
1935
2118
|
ClusterId: string;
|
|
1936
2119
|
/**
|
|
1937
|
-
|
|
1938
|
-
|
|
2120
|
+
* 账号信息
|
|
2121
|
+
*/
|
|
1939
2122
|
Account: InputAccount;
|
|
1940
2123
|
/**
|
|
1941
|
-
|
|
1942
|
-
|
|
2124
|
+
* 数据库表权限数组,当前仅支持参数:max_user_connections,max_user_connections不能大于10240
|
|
2125
|
+
*/
|
|
1943
2126
|
AccountParams: Array<AccountParam>;
|
|
1944
2127
|
}
|
|
1945
2128
|
/**
|
|
@@ -1947,189 +2130,183 @@ export interface ModifyAccountParamsRequest {
|
|
|
1947
2130
|
*/
|
|
1948
2131
|
export interface CynosdbCluster {
|
|
1949
2132
|
/**
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
2133
|
+
* 集群状态, 可选值如下:
|
|
2134
|
+
creating: 创建中
|
|
2135
|
+
running:运行中
|
|
2136
|
+
isolating:隔离中
|
|
2137
|
+
isolated:已隔离
|
|
2138
|
+
activating:解隔离中
|
|
2139
|
+
offlining:下线中
|
|
2140
|
+
offlined:已下线
|
|
2141
|
+
deleting:删除中
|
|
2142
|
+
deleted:已删除
|
|
2143
|
+
*/
|
|
1961
2144
|
Status: string;
|
|
1962
2145
|
/**
|
|
1963
|
-
|
|
1964
|
-
|
|
2146
|
+
* 更新时间
|
|
2147
|
+
*/
|
|
1965
2148
|
UpdateTime: string;
|
|
1966
2149
|
/**
|
|
1967
|
-
|
|
1968
|
-
|
|
2150
|
+
* 可用区
|
|
2151
|
+
*/
|
|
1969
2152
|
Zone: string;
|
|
1970
2153
|
/**
|
|
1971
|
-
|
|
1972
|
-
|
|
2154
|
+
* 集群名称
|
|
2155
|
+
*/
|
|
1973
2156
|
ClusterName: string;
|
|
1974
2157
|
/**
|
|
1975
|
-
|
|
1976
|
-
|
|
2158
|
+
* 地域
|
|
2159
|
+
*/
|
|
1977
2160
|
Region: string;
|
|
1978
2161
|
/**
|
|
1979
|
-
|
|
1980
|
-
|
|
2162
|
+
* 数据库版本
|
|
2163
|
+
*/
|
|
1981
2164
|
DbVersion: string;
|
|
1982
2165
|
/**
|
|
1983
|
-
|
|
1984
|
-
|
|
2166
|
+
* 集群ID
|
|
2167
|
+
*/
|
|
1985
2168
|
ClusterId: string;
|
|
1986
2169
|
/**
|
|
1987
|
-
|
|
1988
|
-
|
|
2170
|
+
* 实例数
|
|
2171
|
+
*/
|
|
1989
2172
|
InstanceNum: number;
|
|
1990
2173
|
/**
|
|
1991
|
-
|
|
1992
|
-
|
|
2174
|
+
* 用户uin
|
|
2175
|
+
*/
|
|
1993
2176
|
Uin: string;
|
|
1994
2177
|
/**
|
|
1995
|
-
|
|
1996
|
-
|
|
2178
|
+
* 引擎类型
|
|
2179
|
+
*/
|
|
1997
2180
|
DbType: string;
|
|
1998
2181
|
/**
|
|
1999
|
-
|
|
2000
|
-
|
|
2182
|
+
* 用户appid
|
|
2183
|
+
*/
|
|
2001
2184
|
AppId: number;
|
|
2002
2185
|
/**
|
|
2003
|
-
|
|
2004
|
-
|
|
2186
|
+
* 集群状态描述
|
|
2187
|
+
*/
|
|
2005
2188
|
StatusDesc: string;
|
|
2006
2189
|
/**
|
|
2007
|
-
|
|
2008
|
-
|
|
2190
|
+
* 集群创建时间
|
|
2191
|
+
*/
|
|
2009
2192
|
CreateTime: string;
|
|
2010
2193
|
/**
|
|
2011
|
-
|
|
2012
|
-
|
|
2194
|
+
* 付费模式。0-按量计费,1-包年包月
|
|
2195
|
+
*/
|
|
2013
2196
|
PayMode: number;
|
|
2014
2197
|
/**
|
|
2015
|
-
|
|
2016
|
-
|
|
2198
|
+
* 截止时间
|
|
2199
|
+
*/
|
|
2017
2200
|
PeriodEndTime: string;
|
|
2018
2201
|
/**
|
|
2019
|
-
|
|
2020
|
-
|
|
2202
|
+
* 集群读写vip
|
|
2203
|
+
*/
|
|
2021
2204
|
Vip: string;
|
|
2022
2205
|
/**
|
|
2023
|
-
|
|
2024
|
-
|
|
2206
|
+
* 集群读写vport
|
|
2207
|
+
*/
|
|
2025
2208
|
Vport: number;
|
|
2026
2209
|
/**
|
|
2027
|
-
|
|
2028
|
-
|
|
2210
|
+
* 项目id
|
|
2211
|
+
*/
|
|
2029
2212
|
ProjectID: number;
|
|
2030
2213
|
/**
|
|
2031
|
-
|
|
2032
|
-
|
|
2214
|
+
* 私有网络ID
|
|
2215
|
+
*/
|
|
2033
2216
|
VpcId?: string;
|
|
2034
2217
|
/**
|
|
2035
|
-
|
|
2036
|
-
|
|
2218
|
+
* 子网ID
|
|
2219
|
+
*/
|
|
2037
2220
|
SubnetId?: string;
|
|
2038
2221
|
/**
|
|
2039
|
-
|
|
2040
|
-
|
|
2222
|
+
* cynos内核版本
|
|
2223
|
+
*/
|
|
2041
2224
|
CynosVersion?: string;
|
|
2042
2225
|
/**
|
|
2043
|
-
|
|
2044
|
-
|
|
2226
|
+
* 存储容量
|
|
2227
|
+
*/
|
|
2045
2228
|
StorageLimit?: number;
|
|
2046
2229
|
/**
|
|
2047
|
-
|
|
2048
|
-
|
|
2230
|
+
* 续费标志
|
|
2231
|
+
*/
|
|
2049
2232
|
RenewFlag?: number;
|
|
2050
2233
|
/**
|
|
2051
|
-
|
|
2052
|
-
|
|
2234
|
+
* 正在处理的任务
|
|
2235
|
+
*/
|
|
2053
2236
|
ProcessingTask?: string;
|
|
2054
2237
|
/**
|
|
2055
|
-
|
|
2056
|
-
|
|
2238
|
+
* 集群的任务数组
|
|
2239
|
+
*/
|
|
2057
2240
|
Tasks?: Array<ObjectTask>;
|
|
2058
2241
|
/**
|
|
2059
|
-
|
|
2060
|
-
|
|
2242
|
+
* 集群绑定的tag数组
|
|
2243
|
+
*/
|
|
2061
2244
|
ResourceTags?: Array<Tag>;
|
|
2062
2245
|
/**
|
|
2063
|
-
|
|
2064
|
-
|
|
2246
|
+
* Db类型(NORMAL, SERVERLESS)
|
|
2247
|
+
*/
|
|
2065
2248
|
DbMode?: string;
|
|
2066
2249
|
/**
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2250
|
+
* 当Db类型为SERVERLESS时,serverless集群状态,可选值:
|
|
2251
|
+
resume
|
|
2252
|
+
pause
|
|
2253
|
+
*/
|
|
2071
2254
|
ServerlessStatus?: string;
|
|
2072
2255
|
/**
|
|
2073
|
-
|
|
2074
|
-
|
|
2256
|
+
* 集群预付费存储值大小
|
|
2257
|
+
*/
|
|
2075
2258
|
Storage?: number;
|
|
2076
2259
|
/**
|
|
2077
|
-
|
|
2078
|
-
|
|
2260
|
+
* 集群存储为预付费时的存储ID,用于预付费存储变配
|
|
2261
|
+
*/
|
|
2079
2262
|
StorageId?: string;
|
|
2080
2263
|
/**
|
|
2081
|
-
|
|
2082
|
-
|
|
2264
|
+
* 集群存储付费模式。0-按量计费,1-包年包月
|
|
2265
|
+
*/
|
|
2083
2266
|
StoragePayMode?: number;
|
|
2084
2267
|
/**
|
|
2085
|
-
|
|
2086
|
-
|
|
2268
|
+
* 集群计算规格对应的最小存储值
|
|
2269
|
+
*/
|
|
2087
2270
|
MinStorageSize?: number;
|
|
2088
2271
|
/**
|
|
2089
|
-
|
|
2090
|
-
|
|
2272
|
+
* 集群计算规格对应的最大存储值
|
|
2273
|
+
*/
|
|
2091
2274
|
MaxStorageSize?: number;
|
|
2092
2275
|
/**
|
|
2093
|
-
|
|
2094
|
-
|
|
2276
|
+
* 集群网络信息
|
|
2277
|
+
*/
|
|
2095
2278
|
NetAddrs?: Array<NetAddr>;
|
|
2096
2279
|
}
|
|
2097
2280
|
/**
|
|
2098
|
-
*
|
|
2281
|
+
* IsolateCluster返回参数结构体
|
|
2099
2282
|
*/
|
|
2100
|
-
export interface
|
|
2101
|
-
/**
|
|
2102
|
-
* Binlog文件名称
|
|
2103
|
-
*/
|
|
2104
|
-
FileName: string;
|
|
2105
|
-
/**
|
|
2106
|
-
* 文件大小,单位:字节
|
|
2107
|
-
*/
|
|
2108
|
-
FileSize: number;
|
|
2283
|
+
export interface IsolateClusterResponse {
|
|
2109
2284
|
/**
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2285
|
+
* 任务流ID
|
|
2286
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2287
|
+
*/
|
|
2288
|
+
FlowId: number;
|
|
2113
2289
|
/**
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2290
|
+
* 退款订单号
|
|
2291
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2292
|
+
*/
|
|
2293
|
+
DealNames: Array<string>;
|
|
2117
2294
|
/**
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2295
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2296
|
+
*/
|
|
2297
|
+
RequestId?: string;
|
|
2121
2298
|
}
|
|
2122
2299
|
/**
|
|
2123
2300
|
* OfflineCluster返回参数结构体
|
|
2124
2301
|
*/
|
|
2125
2302
|
export interface OfflineClusterResponse {
|
|
2126
2303
|
/**
|
|
2127
|
-
|
|
2128
|
-
|
|
2304
|
+
* 任务流ID
|
|
2305
|
+
*/
|
|
2129
2306
|
FlowId: number;
|
|
2130
2307
|
/**
|
|
2131
|
-
|
|
2132
|
-
|
|
2308
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2309
|
+
*/
|
|
2133
2310
|
RequestId?: string;
|
|
2134
2311
|
}
|
|
2135
2312
|
/**
|
|
@@ -2137,20 +2314,20 @@ export interface OfflineClusterResponse {
|
|
|
2137
2314
|
*/
|
|
2138
2315
|
export interface RevokeAccountPrivilegesRequest {
|
|
2139
2316
|
/**
|
|
2140
|
-
|
|
2141
|
-
|
|
2317
|
+
* 集群id
|
|
2318
|
+
*/
|
|
2142
2319
|
ClusterId: string;
|
|
2143
2320
|
/**
|
|
2144
|
-
|
|
2145
|
-
|
|
2321
|
+
* 账号信息
|
|
2322
|
+
*/
|
|
2146
2323
|
Account: InputAccount;
|
|
2147
2324
|
/**
|
|
2148
|
-
|
|
2149
|
-
|
|
2325
|
+
* 数据库表权限数组
|
|
2326
|
+
*/
|
|
2150
2327
|
DbTablePrivileges: Array<string>;
|
|
2151
2328
|
/**
|
|
2152
|
-
|
|
2153
|
-
|
|
2329
|
+
* 数据库表信息
|
|
2330
|
+
*/
|
|
2154
2331
|
DbTables: Array<DbTable>;
|
|
2155
2332
|
}
|
|
2156
2333
|
/**
|
|
@@ -2158,37 +2335,58 @@ export interface RevokeAccountPrivilegesRequest {
|
|
|
2158
2335
|
*/
|
|
2159
2336
|
export interface InstanceSpec {
|
|
2160
2337
|
/**
|
|
2161
|
-
|
|
2162
|
-
|
|
2338
|
+
* 实例CPU,单位:核
|
|
2339
|
+
*/
|
|
2163
2340
|
Cpu: number;
|
|
2164
2341
|
/**
|
|
2165
|
-
|
|
2166
|
-
|
|
2342
|
+
* 实例内存,单位:GB
|
|
2343
|
+
*/
|
|
2167
2344
|
Memory: number;
|
|
2168
2345
|
/**
|
|
2169
|
-
|
|
2170
|
-
|
|
2346
|
+
* 实例最大可用存储,单位:GB
|
|
2347
|
+
*/
|
|
2171
2348
|
MaxStorageSize: number;
|
|
2172
2349
|
/**
|
|
2173
|
-
|
|
2174
|
-
|
|
2350
|
+
* 实例最小可用存储,单位:GB
|
|
2351
|
+
*/
|
|
2175
2352
|
MinStorageSize: number;
|
|
2353
|
+
/**
|
|
2354
|
+
* 是否有库存
|
|
2355
|
+
*/
|
|
2356
|
+
HasStock: boolean;
|
|
2357
|
+
/**
|
|
2358
|
+
* 机器类型
|
|
2359
|
+
*/
|
|
2360
|
+
MachineType: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* 最大IOPS
|
|
2363
|
+
*/
|
|
2364
|
+
MaxIops: number;
|
|
2365
|
+
/**
|
|
2366
|
+
* 最大IO带宽
|
|
2367
|
+
*/
|
|
2368
|
+
MaxIoBandWidth: number;
|
|
2369
|
+
/**
|
|
2370
|
+
* 地域库存信息
|
|
2371
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2372
|
+
*/
|
|
2373
|
+
ZoneStockInfos: Array<ZoneStockInfo>;
|
|
2176
2374
|
}
|
|
2177
2375
|
/**
|
|
2178
2376
|
* InquirePriceCreate返回参数结构体
|
|
2179
2377
|
*/
|
|
2180
2378
|
export interface InquirePriceCreateResponse {
|
|
2181
2379
|
/**
|
|
2182
|
-
|
|
2183
|
-
|
|
2380
|
+
* 实例价格
|
|
2381
|
+
*/
|
|
2184
2382
|
InstancePrice: TradePrice;
|
|
2185
2383
|
/**
|
|
2186
|
-
|
|
2187
|
-
|
|
2384
|
+
* 存储价格
|
|
2385
|
+
*/
|
|
2188
2386
|
StoragePrice: TradePrice;
|
|
2189
2387
|
/**
|
|
2190
|
-
|
|
2191
|
-
|
|
2388
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2389
|
+
*/
|
|
2192
2390
|
RequestId?: string;
|
|
2193
2391
|
}
|
|
2194
2392
|
/**
|
|
@@ -2196,29 +2394,54 @@ export interface InquirePriceCreateResponse {
|
|
|
2196
2394
|
*/
|
|
2197
2395
|
export interface SetRenewFlagResponse {
|
|
2198
2396
|
/**
|
|
2199
|
-
|
|
2200
|
-
|
|
2397
|
+
* 操作成功实例数
|
|
2398
|
+
*/
|
|
2201
2399
|
Count: number;
|
|
2202
2400
|
/**
|
|
2203
|
-
|
|
2204
|
-
|
|
2401
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2402
|
+
*/
|
|
2205
2403
|
RequestId?: string;
|
|
2206
2404
|
}
|
|
2405
|
+
/**
|
|
2406
|
+
* 数据库账号信息
|
|
2407
|
+
*/
|
|
2408
|
+
export interface Account {
|
|
2409
|
+
/**
|
|
2410
|
+
* 数据库账号名
|
|
2411
|
+
*/
|
|
2412
|
+
AccountName: string;
|
|
2413
|
+
/**
|
|
2414
|
+
* 数据库账号描述
|
|
2415
|
+
*/
|
|
2416
|
+
Description: string;
|
|
2417
|
+
/**
|
|
2418
|
+
* 创建时间
|
|
2419
|
+
*/
|
|
2420
|
+
CreateTime: string;
|
|
2421
|
+
/**
|
|
2422
|
+
* 更新时间
|
|
2423
|
+
*/
|
|
2424
|
+
UpdateTime: string;
|
|
2425
|
+
/**
|
|
2426
|
+
* 主机
|
|
2427
|
+
*/
|
|
2428
|
+
Host: string;
|
|
2429
|
+
}
|
|
2207
2430
|
/**
|
|
2208
2431
|
* DescribeClusterParamLogs请求参数结构体
|
|
2209
2432
|
*/
|
|
2210
2433
|
export interface DescribeClusterParamLogsRequest {
|
|
2211
2434
|
/**
|
|
2212
|
-
|
|
2213
|
-
|
|
2435
|
+
* 集群ID
|
|
2436
|
+
*/
|
|
2214
2437
|
ClusterId: string;
|
|
2215
2438
|
/**
|
|
2216
|
-
|
|
2217
|
-
|
|
2439
|
+
* 返回数量,默认为 20,取值范围为(0,100]
|
|
2440
|
+
*/
|
|
2218
2441
|
Limit?: number;
|
|
2219
2442
|
/**
|
|
2220
|
-
|
|
2221
|
-
|
|
2443
|
+
* 记录偏移量,默认值为0,取值范围为[0,INF)
|
|
2444
|
+
*/
|
|
2222
2445
|
Offset?: number;
|
|
2223
2446
|
}
|
|
2224
2447
|
/**
|
|
@@ -2226,36 +2449,36 @@ export interface DescribeClusterParamLogsRequest {
|
|
|
2226
2449
|
*/
|
|
2227
2450
|
export interface UpgradeInstanceRequest {
|
|
2228
2451
|
/**
|
|
2229
|
-
|
|
2230
|
-
|
|
2452
|
+
* 实例ID
|
|
2453
|
+
*/
|
|
2231
2454
|
InstanceId: string;
|
|
2232
2455
|
/**
|
|
2233
|
-
|
|
2234
|
-
|
|
2456
|
+
* 数据库CPU
|
|
2457
|
+
*/
|
|
2235
2458
|
Cpu: number;
|
|
2236
2459
|
/**
|
|
2237
|
-
|
|
2238
|
-
|
|
2460
|
+
* 数据库内存,单位GB
|
|
2461
|
+
*/
|
|
2239
2462
|
Memory: number;
|
|
2240
2463
|
/**
|
|
2241
|
-
|
|
2242
|
-
|
|
2464
|
+
* 升级类型:upgradeImmediate,upgradeInMaintain
|
|
2465
|
+
*/
|
|
2243
2466
|
UpgradeType: string;
|
|
2244
2467
|
/**
|
|
2245
|
-
|
|
2246
|
-
|
|
2468
|
+
* 该参数已废弃
|
|
2469
|
+
*/
|
|
2247
2470
|
StorageLimit?: number;
|
|
2248
2471
|
/**
|
|
2249
|
-
|
|
2250
|
-
|
|
2472
|
+
* 是否自动选择代金券 1是 0否 默认为0
|
|
2473
|
+
*/
|
|
2251
2474
|
AutoVoucher?: number;
|
|
2252
2475
|
/**
|
|
2253
|
-
|
|
2254
|
-
|
|
2476
|
+
* 该参数已废弃
|
|
2477
|
+
*/
|
|
2255
2478
|
DbType?: string;
|
|
2256
2479
|
/**
|
|
2257
|
-
|
|
2258
|
-
|
|
2480
|
+
* 交易模式 0-下单并支付 1-下单
|
|
2481
|
+
*/
|
|
2259
2482
|
DealMode?: number;
|
|
2260
2483
|
}
|
|
2261
2484
|
/**
|
|
@@ -2263,20 +2486,20 @@ export interface UpgradeInstanceRequest {
|
|
|
2263
2486
|
*/
|
|
2264
2487
|
export interface DescribeMaintainPeriodResponse {
|
|
2265
2488
|
/**
|
|
2266
|
-
|
|
2267
|
-
|
|
2489
|
+
* 维护week days
|
|
2490
|
+
*/
|
|
2268
2491
|
MaintainWeekDays: Array<string>;
|
|
2269
2492
|
/**
|
|
2270
|
-
|
|
2271
|
-
|
|
2493
|
+
* 维护开始时间,单位秒
|
|
2494
|
+
*/
|
|
2272
2495
|
MaintainStartTime: number;
|
|
2273
2496
|
/**
|
|
2274
|
-
|
|
2275
|
-
|
|
2497
|
+
* 维护时长,单位秒
|
|
2498
|
+
*/
|
|
2276
2499
|
MaintainDuration: number;
|
|
2277
2500
|
/**
|
|
2278
|
-
|
|
2279
|
-
|
|
2501
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2502
|
+
*/
|
|
2280
2503
|
RequestId?: string;
|
|
2281
2504
|
}
|
|
2282
2505
|
/**
|
|
@@ -2284,16 +2507,16 @@ export interface DescribeMaintainPeriodResponse {
|
|
|
2284
2507
|
*/
|
|
2285
2508
|
export interface DescribeBackupListResponse {
|
|
2286
2509
|
/**
|
|
2287
|
-
|
|
2288
|
-
|
|
2510
|
+
* 总共备份文件个数
|
|
2511
|
+
*/
|
|
2289
2512
|
TotalCount: number;
|
|
2290
2513
|
/**
|
|
2291
|
-
|
|
2292
|
-
|
|
2514
|
+
* 备份文件列表
|
|
2515
|
+
*/
|
|
2293
2516
|
BackupList: Array<BackupFileInfo>;
|
|
2294
2517
|
/**
|
|
2295
|
-
|
|
2296
|
-
|
|
2518
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2519
|
+
*/
|
|
2297
2520
|
RequestId?: string;
|
|
2298
2521
|
}
|
|
2299
2522
|
/**
|
|
@@ -2301,12 +2524,12 @@ export interface DescribeBackupListResponse {
|
|
|
2301
2524
|
*/
|
|
2302
2525
|
export interface RollBackClusterResponse {
|
|
2303
2526
|
/**
|
|
2304
|
-
|
|
2305
|
-
|
|
2527
|
+
* 任务流ID
|
|
2528
|
+
*/
|
|
2306
2529
|
FlowId: number;
|
|
2307
2530
|
/**
|
|
2308
|
-
|
|
2309
|
-
|
|
2531
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2532
|
+
*/
|
|
2310
2533
|
RequestId?: string;
|
|
2311
2534
|
}
|
|
2312
2535
|
/**
|
|
@@ -2314,8 +2537,8 @@ export interface RollBackClusterResponse {
|
|
|
2314
2537
|
*/
|
|
2315
2538
|
export interface DescribeBinlogSaveDaysRequest {
|
|
2316
2539
|
/**
|
|
2317
|
-
|
|
2318
|
-
|
|
2540
|
+
* 集群ID
|
|
2541
|
+
*/
|
|
2319
2542
|
ClusterId: string;
|
|
2320
2543
|
}
|
|
2321
2544
|
/**
|
|
@@ -2323,28 +2546,28 @@ export interface DescribeBinlogSaveDaysRequest {
|
|
|
2323
2546
|
*/
|
|
2324
2547
|
export interface ModifyBackupConfigRequest {
|
|
2325
2548
|
/**
|
|
2326
|
-
|
|
2327
|
-
|
|
2549
|
+
* 集群ID
|
|
2550
|
+
*/
|
|
2328
2551
|
ClusterId: string;
|
|
2329
2552
|
/**
|
|
2330
|
-
|
|
2331
|
-
|
|
2553
|
+
* 表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
|
2554
|
+
*/
|
|
2332
2555
|
BackupTimeBeg: number;
|
|
2333
2556
|
/**
|
|
2334
|
-
|
|
2335
|
-
|
|
2557
|
+
* 表示全备结束时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
|
2558
|
+
*/
|
|
2336
2559
|
BackupTimeEnd: number;
|
|
2337
2560
|
/**
|
|
2338
|
-
|
|
2339
|
-
|
|
2561
|
+
* 表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600*24*7=604800,最大为158112000
|
|
2562
|
+
*/
|
|
2340
2563
|
ReserveDuration: number;
|
|
2341
2564
|
/**
|
|
2342
|
-
|
|
2343
|
-
|
|
2565
|
+
* 该参数目前不支持修改,无需填写。备份频率,长度为7的数组,分别对应周一到周日的备份方式,full-全量备份,increment-增量备份
|
|
2566
|
+
*/
|
|
2344
2567
|
BackupFreq?: Array<string>;
|
|
2345
2568
|
/**
|
|
2346
|
-
|
|
2347
|
-
|
|
2569
|
+
* 该参数目前不支持修改,无需填写。备份方式,logic-逻辑备份,snapshot-快照备份
|
|
2570
|
+
*/
|
|
2348
2571
|
BackupType?: string;
|
|
2349
2572
|
}
|
|
2350
2573
|
/**
|
|
@@ -2352,12 +2575,12 @@ export interface ModifyBackupConfigRequest {
|
|
|
2352
2575
|
*/
|
|
2353
2576
|
export interface ActivateInstanceResponse {
|
|
2354
2577
|
/**
|
|
2355
|
-
|
|
2356
|
-
|
|
2578
|
+
* 任务流id
|
|
2579
|
+
*/
|
|
2357
2580
|
FlowId: number;
|
|
2358
2581
|
/**
|
|
2359
|
-
|
|
2360
|
-
|
|
2582
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2583
|
+
*/
|
|
2361
2584
|
RequestId?: string;
|
|
2362
2585
|
}
|
|
2363
2586
|
/**
|
|
@@ -2365,16 +2588,16 @@ export interface ActivateInstanceResponse {
|
|
|
2365
2588
|
*/
|
|
2366
2589
|
export interface DescribeRollbackTimeValidityRequest {
|
|
2367
2590
|
/**
|
|
2368
|
-
|
|
2369
|
-
|
|
2591
|
+
* 集群ID
|
|
2592
|
+
*/
|
|
2370
2593
|
ClusterId: string;
|
|
2371
2594
|
/**
|
|
2372
|
-
|
|
2373
|
-
|
|
2595
|
+
* 期望回滚的时间点
|
|
2596
|
+
*/
|
|
2374
2597
|
ExpectTime: string;
|
|
2375
2598
|
/**
|
|
2376
|
-
|
|
2377
|
-
|
|
2599
|
+
* 回滚时间点的允许误差范围
|
|
2600
|
+
*/
|
|
2378
2601
|
ExpectTimeThresh: number;
|
|
2379
2602
|
}
|
|
2380
2603
|
/**
|
|
@@ -2382,12 +2605,12 @@ export interface DescribeRollbackTimeValidityRequest {
|
|
|
2382
2605
|
*/
|
|
2383
2606
|
export interface IsolateClusterRequest {
|
|
2384
2607
|
/**
|
|
2385
|
-
|
|
2386
|
-
|
|
2608
|
+
* 集群ID
|
|
2609
|
+
*/
|
|
2387
2610
|
ClusterId: string;
|
|
2388
2611
|
/**
|
|
2389
|
-
|
|
2390
|
-
|
|
2612
|
+
* 该参数已废用
|
|
2613
|
+
*/
|
|
2391
2614
|
DbType?: string;
|
|
2392
2615
|
}
|
|
2393
2616
|
/**
|
|
@@ -2395,16 +2618,16 @@ export interface IsolateClusterRequest {
|
|
|
2395
2618
|
*/
|
|
2396
2619
|
export interface DescribeClusterInstanceGrpsResponse {
|
|
2397
2620
|
/**
|
|
2398
|
-
|
|
2399
|
-
|
|
2621
|
+
* 实例组个数
|
|
2622
|
+
*/
|
|
2400
2623
|
TotalCount: number;
|
|
2401
2624
|
/**
|
|
2402
|
-
|
|
2403
|
-
|
|
2625
|
+
* 实例组列表
|
|
2626
|
+
*/
|
|
2404
2627
|
InstanceGrpInfoList: Array<CynosdbInstanceGrp>;
|
|
2405
2628
|
/**
|
|
2406
|
-
|
|
2407
|
-
|
|
2629
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2630
|
+
*/
|
|
2408
2631
|
RequestId?: string;
|
|
2409
2632
|
}
|
|
2410
2633
|
/**
|
|
@@ -2412,105 +2635,122 @@ export interface DescribeClusterInstanceGrpsResponse {
|
|
|
2412
2635
|
*/
|
|
2413
2636
|
export interface AddInstancesRequest {
|
|
2414
2637
|
/**
|
|
2415
|
-
|
|
2416
|
-
|
|
2638
|
+
* 集群ID
|
|
2639
|
+
*/
|
|
2417
2640
|
ClusterId: string;
|
|
2418
2641
|
/**
|
|
2419
|
-
|
|
2420
|
-
|
|
2642
|
+
* Cpu核数
|
|
2643
|
+
*/
|
|
2421
2644
|
Cpu: number;
|
|
2422
2645
|
/**
|
|
2423
|
-
|
|
2424
|
-
|
|
2646
|
+
* 内存,单位为GB
|
|
2647
|
+
*/
|
|
2425
2648
|
Memory: number;
|
|
2426
2649
|
/**
|
|
2427
|
-
|
|
2428
|
-
|
|
2650
|
+
* 新增只读实例数,取值范围为[0,4]
|
|
2651
|
+
*/
|
|
2429
2652
|
ReadOnlyCount: number;
|
|
2430
2653
|
/**
|
|
2431
|
-
|
|
2432
|
-
|
|
2654
|
+
* 实例组ID,在已有RO组中新增实例时使用,不传则新增RO组。当前版本不建议传输该值。
|
|
2655
|
+
*/
|
|
2433
2656
|
InstanceGrpId?: string;
|
|
2434
2657
|
/**
|
|
2435
|
-
|
|
2436
|
-
|
|
2658
|
+
* 所属VPC网络ID,该参数已废弃
|
|
2659
|
+
*/
|
|
2437
2660
|
VpcId?: string;
|
|
2438
2661
|
/**
|
|
2439
|
-
|
|
2440
|
-
|
|
2662
|
+
* 所属子网ID,如果设置了VpcId,则SubnetId必填。该参数已废弃。
|
|
2663
|
+
*/
|
|
2441
2664
|
SubnetId?: string;
|
|
2442
2665
|
/**
|
|
2443
|
-
|
|
2444
|
-
|
|
2666
|
+
* 新增RO组时使用的Port,取值范围为[0,65535)
|
|
2667
|
+
*/
|
|
2445
2668
|
Port?: number;
|
|
2446
2669
|
/**
|
|
2447
|
-
|
|
2448
|
-
|
|
2670
|
+
* 实例名称,字符串长度范围为[0,64),取值范围为大小写字母,0-9数字,'_','-','.'
|
|
2671
|
+
*/
|
|
2449
2672
|
InstanceName?: string;
|
|
2450
2673
|
/**
|
|
2451
|
-
|
|
2452
|
-
|
|
2674
|
+
* 是否自动选择代金券 1是 0否 默认为0
|
|
2675
|
+
*/
|
|
2453
2676
|
AutoVoucher?: number;
|
|
2454
2677
|
/**
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2678
|
+
* 数据库类型,取值范围:
|
|
2679
|
+
<li> MYSQL </li>
|
|
2680
|
+
*/
|
|
2458
2681
|
DbType?: string;
|
|
2459
2682
|
/**
|
|
2460
|
-
|
|
2461
|
-
|
|
2683
|
+
* 订单来源,字符串长度范围为[0,64)
|
|
2684
|
+
*/
|
|
2462
2685
|
OrderSource?: string;
|
|
2463
2686
|
/**
|
|
2464
|
-
|
|
2465
|
-
|
|
2687
|
+
* 交易模式 0-下单并支付 1-下单
|
|
2688
|
+
*/
|
|
2466
2689
|
DealMode?: number;
|
|
2467
2690
|
}
|
|
2691
|
+
/**
|
|
2692
|
+
* ModifyClusterSlaveZone请求参数结构体
|
|
2693
|
+
*/
|
|
2694
|
+
export interface ModifyClusterSlaveZoneRequest {
|
|
2695
|
+
/**
|
|
2696
|
+
* 集群Id
|
|
2697
|
+
*/
|
|
2698
|
+
ClusterId: string;
|
|
2699
|
+
/**
|
|
2700
|
+
* 旧从可用区
|
|
2701
|
+
*/
|
|
2702
|
+
OldSlaveZone: string;
|
|
2703
|
+
/**
|
|
2704
|
+
* 新从可用区
|
|
2705
|
+
*/
|
|
2706
|
+
NewSlaveZone: string;
|
|
2707
|
+
}
|
|
2468
2708
|
/**
|
|
2469
2709
|
* DescribeInstances请求参数结构体
|
|
2470
2710
|
*/
|
|
2471
2711
|
export interface DescribeInstancesRequest {
|
|
2472
2712
|
/**
|
|
2473
|
-
|
|
2474
|
-
|
|
2713
|
+
* 返回数量,默认为 20,最大值为 100
|
|
2714
|
+
*/
|
|
2475
2715
|
Limit?: number;
|
|
2476
2716
|
/**
|
|
2477
|
-
|
|
2478
|
-
|
|
2717
|
+
* 记录偏移量,默认值为0
|
|
2718
|
+
*/
|
|
2479
2719
|
Offset?: number;
|
|
2480
2720
|
/**
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2721
|
+
* 排序字段,取值范围:
|
|
2722
|
+
<li> CREATETIME:创建时间</li>
|
|
2723
|
+
<li> PERIODENDTIME:过期时间</li>
|
|
2724
|
+
*/
|
|
2485
2725
|
OrderBy?: string;
|
|
2486
2726
|
/**
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2727
|
+
* 排序类型,取值范围:
|
|
2728
|
+
<li> ASC:升序排序 </li>
|
|
2729
|
+
<li> DESC:降序排序 </li>
|
|
2730
|
+
*/
|
|
2491
2731
|
OrderByType?: string;
|
|
2492
2732
|
/**
|
|
2493
|
-
|
|
2494
|
-
|
|
2733
|
+
* 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
|
2734
|
+
*/
|
|
2495
2735
|
Filters?: Array<QueryFilter>;
|
|
2496
2736
|
/**
|
|
2497
|
-
|
|
2498
|
-
|
|
2737
|
+
* 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
|
|
2738
|
+
*/
|
|
2499
2739
|
DbType?: string;
|
|
2500
2740
|
/**
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2741
|
+
* 实例状态, 可选值:
|
|
2742
|
+
creating 创建中
|
|
2743
|
+
running 运行中
|
|
2744
|
+
isolating 隔离中
|
|
2745
|
+
isolated 已隔离
|
|
2746
|
+
activating 恢复中
|
|
2747
|
+
offlining 下线中
|
|
2748
|
+
offlined 已下线
|
|
2749
|
+
*/
|
|
2510
2750
|
Status?: string;
|
|
2511
2751
|
/**
|
|
2512
|
-
|
|
2513
|
-
|
|
2752
|
+
* 实例id列表
|
|
2753
|
+
*/
|
|
2514
2754
|
InstanceIds?: Array<string>;
|
|
2515
2755
|
}
|
|
2516
2756
|
/**
|
|
@@ -2518,28 +2758,28 @@ export interface DescribeInstancesRequest {
|
|
|
2518
2758
|
*/
|
|
2519
2759
|
export interface ClusterParamModifyLog {
|
|
2520
2760
|
/**
|
|
2521
|
-
|
|
2522
|
-
|
|
2761
|
+
* 参数名称
|
|
2762
|
+
*/
|
|
2523
2763
|
ParamName: string;
|
|
2524
2764
|
/**
|
|
2525
|
-
|
|
2526
|
-
|
|
2765
|
+
* 当前值
|
|
2766
|
+
*/
|
|
2527
2767
|
CurrentValue: string;
|
|
2528
2768
|
/**
|
|
2529
|
-
|
|
2530
|
-
|
|
2769
|
+
* 修改后的值
|
|
2770
|
+
*/
|
|
2531
2771
|
UpdateValue: string;
|
|
2532
2772
|
/**
|
|
2533
|
-
|
|
2534
|
-
|
|
2773
|
+
* 修改状态
|
|
2774
|
+
*/
|
|
2535
2775
|
Status: string;
|
|
2536
2776
|
/**
|
|
2537
|
-
|
|
2538
|
-
|
|
2777
|
+
* 创建时间
|
|
2778
|
+
*/
|
|
2539
2779
|
CreateTime: string;
|
|
2540
2780
|
/**
|
|
2541
|
-
|
|
2542
|
-
|
|
2781
|
+
* 更新时间
|
|
2782
|
+
*/
|
|
2543
2783
|
UpdateTime: string;
|
|
2544
2784
|
}
|
|
2545
2785
|
/**
|
|
@@ -2547,142 +2787,142 @@ export interface ClusterParamModifyLog {
|
|
|
2547
2787
|
*/
|
|
2548
2788
|
export interface CynosdbInstanceDetail {
|
|
2549
2789
|
/**
|
|
2550
|
-
|
|
2551
|
-
|
|
2790
|
+
* 用户Uin
|
|
2791
|
+
*/
|
|
2552
2792
|
Uin: string;
|
|
2553
2793
|
/**
|
|
2554
|
-
|
|
2555
|
-
|
|
2794
|
+
* 用户AppId
|
|
2795
|
+
*/
|
|
2556
2796
|
AppId: number;
|
|
2557
2797
|
/**
|
|
2558
|
-
|
|
2559
|
-
|
|
2798
|
+
* 集群ID
|
|
2799
|
+
*/
|
|
2560
2800
|
ClusterId: string;
|
|
2561
2801
|
/**
|
|
2562
|
-
|
|
2563
|
-
|
|
2802
|
+
* 集群名称
|
|
2803
|
+
*/
|
|
2564
2804
|
ClusterName: string;
|
|
2565
2805
|
/**
|
|
2566
|
-
|
|
2567
|
-
|
|
2806
|
+
* 实例ID
|
|
2807
|
+
*/
|
|
2568
2808
|
InstanceId: string;
|
|
2569
2809
|
/**
|
|
2570
|
-
|
|
2571
|
-
|
|
2810
|
+
* 实例名称
|
|
2811
|
+
*/
|
|
2572
2812
|
InstanceName: string;
|
|
2573
2813
|
/**
|
|
2574
|
-
|
|
2575
|
-
|
|
2814
|
+
* 项目ID
|
|
2815
|
+
*/
|
|
2576
2816
|
ProjectId: number;
|
|
2577
2817
|
/**
|
|
2578
|
-
|
|
2579
|
-
|
|
2818
|
+
* 地域
|
|
2819
|
+
*/
|
|
2580
2820
|
Region: string;
|
|
2581
2821
|
/**
|
|
2582
|
-
|
|
2583
|
-
|
|
2822
|
+
* 可用区
|
|
2823
|
+
*/
|
|
2584
2824
|
Zone: string;
|
|
2585
2825
|
/**
|
|
2586
|
-
|
|
2587
|
-
|
|
2826
|
+
* 实例状态
|
|
2827
|
+
*/
|
|
2588
2828
|
Status: string;
|
|
2589
2829
|
/**
|
|
2590
|
-
|
|
2591
|
-
|
|
2830
|
+
* 实例状态中文描述
|
|
2831
|
+
*/
|
|
2592
2832
|
StatusDesc: string;
|
|
2593
2833
|
/**
|
|
2594
|
-
|
|
2595
|
-
|
|
2834
|
+
* 数据库类型
|
|
2835
|
+
*/
|
|
2596
2836
|
DbType: string;
|
|
2597
2837
|
/**
|
|
2598
|
-
|
|
2599
|
-
|
|
2838
|
+
* 数据库版本
|
|
2839
|
+
*/
|
|
2600
2840
|
DbVersion: string;
|
|
2601
2841
|
/**
|
|
2602
|
-
|
|
2603
|
-
|
|
2842
|
+
* Cpu,单位:核
|
|
2843
|
+
*/
|
|
2604
2844
|
Cpu: number;
|
|
2605
2845
|
/**
|
|
2606
|
-
|
|
2607
|
-
|
|
2846
|
+
* 内存,单位:GB
|
|
2847
|
+
*/
|
|
2608
2848
|
Memory: number;
|
|
2609
2849
|
/**
|
|
2610
|
-
|
|
2611
|
-
|
|
2850
|
+
* 存储量,单位:GB
|
|
2851
|
+
*/
|
|
2612
2852
|
Storage: number;
|
|
2613
2853
|
/**
|
|
2614
|
-
|
|
2615
|
-
|
|
2854
|
+
* 实例类型
|
|
2855
|
+
*/
|
|
2616
2856
|
InstanceType: string;
|
|
2617
2857
|
/**
|
|
2618
|
-
|
|
2619
|
-
|
|
2858
|
+
* 实例当前角色
|
|
2859
|
+
*/
|
|
2620
2860
|
InstanceRole: string;
|
|
2621
2861
|
/**
|
|
2622
|
-
|
|
2623
|
-
|
|
2862
|
+
* 更新时间
|
|
2863
|
+
*/
|
|
2624
2864
|
UpdateTime: string;
|
|
2625
2865
|
/**
|
|
2626
|
-
|
|
2627
|
-
|
|
2866
|
+
* 创建时间
|
|
2867
|
+
*/
|
|
2628
2868
|
CreateTime: string;
|
|
2629
2869
|
/**
|
|
2630
|
-
|
|
2631
|
-
|
|
2870
|
+
* 付费模式
|
|
2871
|
+
*/
|
|
2632
2872
|
PayMode: number;
|
|
2633
2873
|
/**
|
|
2634
|
-
|
|
2635
|
-
|
|
2874
|
+
* 实例过期时间
|
|
2875
|
+
*/
|
|
2636
2876
|
PeriodEndTime: string;
|
|
2637
2877
|
/**
|
|
2638
|
-
|
|
2639
|
-
|
|
2878
|
+
* 网络类型
|
|
2879
|
+
*/
|
|
2640
2880
|
NetType: number;
|
|
2641
2881
|
/**
|
|
2642
|
-
|
|
2643
|
-
|
|
2882
|
+
* VPC网络ID
|
|
2883
|
+
*/
|
|
2644
2884
|
VpcId: string;
|
|
2645
2885
|
/**
|
|
2646
|
-
|
|
2647
|
-
|
|
2886
|
+
* 子网ID
|
|
2887
|
+
*/
|
|
2648
2888
|
SubnetId: string;
|
|
2649
2889
|
/**
|
|
2650
|
-
|
|
2651
|
-
|
|
2890
|
+
* 实例内网IP
|
|
2891
|
+
*/
|
|
2652
2892
|
Vip: string;
|
|
2653
2893
|
/**
|
|
2654
|
-
|
|
2655
|
-
|
|
2894
|
+
* 实例内网端口
|
|
2895
|
+
*/
|
|
2656
2896
|
Vport: number;
|
|
2657
2897
|
/**
|
|
2658
|
-
|
|
2659
|
-
|
|
2898
|
+
* 实例外网域名
|
|
2899
|
+
*/
|
|
2660
2900
|
WanDomain: string;
|
|
2661
2901
|
/**
|
|
2662
|
-
|
|
2663
|
-
|
|
2902
|
+
* 字符集
|
|
2903
|
+
*/
|
|
2664
2904
|
Charset: string;
|
|
2665
2905
|
/**
|
|
2666
|
-
|
|
2667
|
-
|
|
2906
|
+
* Cynos内核版本
|
|
2907
|
+
*/
|
|
2668
2908
|
CynosVersion: string;
|
|
2669
2909
|
/**
|
|
2670
|
-
|
|
2671
|
-
|
|
2910
|
+
* 续费标志
|
|
2911
|
+
*/
|
|
2672
2912
|
RenewFlag: number;
|
|
2673
2913
|
/**
|
|
2674
|
-
|
|
2675
|
-
|
|
2914
|
+
* serverless实例cpu下限
|
|
2915
|
+
*/
|
|
2676
2916
|
MinCpu: number;
|
|
2677
2917
|
/**
|
|
2678
|
-
|
|
2679
|
-
|
|
2918
|
+
* serverless实例cpu上限
|
|
2919
|
+
*/
|
|
2680
2920
|
MaxCpu: number;
|
|
2681
2921
|
/**
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2922
|
+
* serverless实例状态, 可能值:
|
|
2923
|
+
resume
|
|
2924
|
+
pause
|
|
2925
|
+
*/
|
|
2686
2926
|
ServerlessStatus: string;
|
|
2687
2927
|
}
|
|
2688
2928
|
/**
|
|
@@ -2690,104 +2930,104 @@ export interface CynosdbInstanceDetail {
|
|
|
2690
2930
|
*/
|
|
2691
2931
|
export interface CynosdbClusterDetail {
|
|
2692
2932
|
/**
|
|
2693
|
-
|
|
2694
|
-
|
|
2933
|
+
* 集群ID
|
|
2934
|
+
*/
|
|
2695
2935
|
ClusterId: string;
|
|
2696
2936
|
/**
|
|
2697
|
-
|
|
2698
|
-
|
|
2937
|
+
* 集群名称
|
|
2938
|
+
*/
|
|
2699
2939
|
ClusterName: string;
|
|
2700
2940
|
/**
|
|
2701
|
-
|
|
2702
|
-
|
|
2941
|
+
* 地域
|
|
2942
|
+
*/
|
|
2703
2943
|
Region: string;
|
|
2704
2944
|
/**
|
|
2705
|
-
|
|
2706
|
-
|
|
2945
|
+
* 状态
|
|
2946
|
+
*/
|
|
2707
2947
|
Status: string;
|
|
2708
2948
|
/**
|
|
2709
|
-
|
|
2710
|
-
|
|
2949
|
+
* 状态描述
|
|
2950
|
+
*/
|
|
2711
2951
|
StatusDesc: string;
|
|
2712
2952
|
/**
|
|
2713
|
-
|
|
2714
|
-
|
|
2953
|
+
* VPC名称
|
|
2954
|
+
*/
|
|
2715
2955
|
VpcName: string;
|
|
2716
2956
|
/**
|
|
2717
|
-
|
|
2718
|
-
|
|
2957
|
+
* vpc唯一id
|
|
2958
|
+
*/
|
|
2719
2959
|
VpcId: string;
|
|
2720
2960
|
/**
|
|
2721
|
-
|
|
2722
|
-
|
|
2961
|
+
* 子网名称
|
|
2962
|
+
*/
|
|
2723
2963
|
SubnetName: string;
|
|
2724
2964
|
/**
|
|
2725
|
-
|
|
2726
|
-
|
|
2965
|
+
* 子网ID
|
|
2966
|
+
*/
|
|
2727
2967
|
SubnetId: string;
|
|
2728
2968
|
/**
|
|
2729
|
-
|
|
2730
|
-
|
|
2969
|
+
* 字符集
|
|
2970
|
+
*/
|
|
2731
2971
|
Charset: string;
|
|
2732
2972
|
/**
|
|
2733
|
-
|
|
2734
|
-
|
|
2973
|
+
* 创建时间
|
|
2974
|
+
*/
|
|
2735
2975
|
CreateTime: string;
|
|
2736
2976
|
/**
|
|
2737
|
-
|
|
2738
|
-
|
|
2977
|
+
* 数据库类型
|
|
2978
|
+
*/
|
|
2739
2979
|
DbType: string;
|
|
2740
2980
|
/**
|
|
2741
|
-
|
|
2742
|
-
|
|
2981
|
+
* 数据库版本
|
|
2982
|
+
*/
|
|
2743
2983
|
DbVersion: string;
|
|
2744
2984
|
/**
|
|
2745
|
-
|
|
2746
|
-
|
|
2985
|
+
* 使用容量
|
|
2986
|
+
*/
|
|
2747
2987
|
UsedStorage: number;
|
|
2748
2988
|
/**
|
|
2749
|
-
|
|
2750
|
-
|
|
2989
|
+
* 读写分离Vport
|
|
2990
|
+
*/
|
|
2751
2991
|
RoAddr: Array<Addr>;
|
|
2752
2992
|
/**
|
|
2753
|
-
|
|
2754
|
-
|
|
2993
|
+
* 实例信息
|
|
2994
|
+
*/
|
|
2755
2995
|
InstanceSet: Array<ClusterInstanceDetail>;
|
|
2756
2996
|
/**
|
|
2757
|
-
|
|
2758
|
-
|
|
2997
|
+
* 付费模式
|
|
2998
|
+
*/
|
|
2759
2999
|
PayMode: number;
|
|
2760
3000
|
/**
|
|
2761
|
-
|
|
2762
|
-
|
|
3001
|
+
* 到期时间
|
|
3002
|
+
*/
|
|
2763
3003
|
PeriodEndTime: string;
|
|
2764
3004
|
/**
|
|
2765
|
-
|
|
2766
|
-
|
|
3005
|
+
* vip地址
|
|
3006
|
+
*/
|
|
2767
3007
|
Vip: string;
|
|
2768
3008
|
/**
|
|
2769
|
-
|
|
2770
|
-
|
|
3009
|
+
* vport端口
|
|
3010
|
+
*/
|
|
2771
3011
|
Vport: number;
|
|
2772
3012
|
/**
|
|
2773
|
-
|
|
2774
|
-
|
|
3013
|
+
* 项目id
|
|
3014
|
+
*/
|
|
2775
3015
|
ProjectID: number;
|
|
2776
3016
|
/**
|
|
2777
|
-
|
|
2778
|
-
|
|
3017
|
+
* 可用区
|
|
3018
|
+
*/
|
|
2779
3019
|
Zone: string;
|
|
2780
3020
|
/**
|
|
2781
|
-
|
|
2782
|
-
|
|
3021
|
+
* 实例绑定的tag数组信息
|
|
3022
|
+
*/
|
|
2783
3023
|
ResourceTags: Array<Tag>;
|
|
2784
3024
|
/**
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
3025
|
+
* 当Db类型为SERVERLESS时,serverless集群状态,可选值:
|
|
3026
|
+
resume
|
|
3027
|
+
resuming
|
|
3028
|
+
pause
|
|
3029
|
+
pausing
|
|
3030
|
+
*/
|
|
2791
3031
|
ServerlessStatus: string;
|
|
2792
3032
|
}
|
|
2793
3033
|
/**
|
|
@@ -2795,8 +3035,8 @@ export interface CynosdbClusterDetail {
|
|
|
2795
3035
|
*/
|
|
2796
3036
|
export interface DescribeInstanceDetailRequest {
|
|
2797
3037
|
/**
|
|
2798
|
-
|
|
2799
|
-
|
|
3038
|
+
* 实例ID
|
|
3039
|
+
*/
|
|
2800
3040
|
InstanceId: string;
|
|
2801
3041
|
}
|
|
2802
3042
|
/**
|
|
@@ -2804,8 +3044,8 @@ export interface DescribeInstanceDetailRequest {
|
|
|
2804
3044
|
*/
|
|
2805
3045
|
export interface ModifyMaintainPeriodConfigResponse {
|
|
2806
3046
|
/**
|
|
2807
|
-
|
|
2808
|
-
|
|
3047
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3048
|
+
*/
|
|
2809
3049
|
RequestId?: string;
|
|
2810
3050
|
}
|
|
2811
3051
|
/**
|
|
@@ -2813,16 +3053,16 @@ export interface ModifyMaintainPeriodConfigResponse {
|
|
|
2813
3053
|
*/
|
|
2814
3054
|
export interface DisassociateSecurityGroupsRequest {
|
|
2815
3055
|
/**
|
|
2816
|
-
|
|
2817
|
-
|
|
3056
|
+
* 实例组ID数组
|
|
3057
|
+
*/
|
|
2818
3058
|
InstanceIds: Array<string>;
|
|
2819
3059
|
/**
|
|
2820
|
-
|
|
2821
|
-
|
|
3060
|
+
* 要修改的安全组ID列表,一个或者多个安全组ID组成的数组。
|
|
3061
|
+
*/
|
|
2822
3062
|
SecurityGroupIds: Array<string>;
|
|
2823
3063
|
/**
|
|
2824
|
-
|
|
2825
|
-
|
|
3064
|
+
* 可用区
|
|
3065
|
+
*/
|
|
2826
3066
|
Zone: string;
|
|
2827
3067
|
}
|
|
2828
3068
|
/**
|
|
@@ -2830,16 +3070,16 @@ export interface DisassociateSecurityGroupsRequest {
|
|
|
2830
3070
|
*/
|
|
2831
3071
|
export interface ModifyBackupNameRequest {
|
|
2832
3072
|
/**
|
|
2833
|
-
|
|
2834
|
-
|
|
3073
|
+
* 集群ID
|
|
3074
|
+
*/
|
|
2835
3075
|
ClusterId: string;
|
|
2836
3076
|
/**
|
|
2837
|
-
|
|
2838
|
-
|
|
3077
|
+
* 备份文件ID
|
|
3078
|
+
*/
|
|
2839
3079
|
BackupId: number;
|
|
2840
3080
|
/**
|
|
2841
|
-
|
|
2842
|
-
|
|
3081
|
+
* 备注名,长度不能超过60个字符
|
|
3082
|
+
*/
|
|
2843
3083
|
BackupName: string;
|
|
2844
3084
|
}
|
|
2845
3085
|
/**
|
|
@@ -2847,12 +3087,12 @@ export interface ModifyBackupNameRequest {
|
|
|
2847
3087
|
*/
|
|
2848
3088
|
export interface DescribeBinlogSaveDaysResponse {
|
|
2849
3089
|
/**
|
|
2850
|
-
|
|
2851
|
-
|
|
3090
|
+
* Binlog保留天数
|
|
3091
|
+
*/
|
|
2852
3092
|
BinlogSaveDays: number;
|
|
2853
3093
|
/**
|
|
2854
|
-
|
|
2855
|
-
|
|
3094
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3095
|
+
*/
|
|
2856
3096
|
RequestId?: string;
|
|
2857
3097
|
}
|
|
2858
3098
|
/**
|
|
@@ -2860,16 +3100,16 @@ export interface DescribeBinlogSaveDaysResponse {
|
|
|
2860
3100
|
*/
|
|
2861
3101
|
export interface ModifyClusterParamRequest {
|
|
2862
3102
|
/**
|
|
2863
|
-
|
|
2864
|
-
|
|
3103
|
+
* 集群ID
|
|
3104
|
+
*/
|
|
2865
3105
|
ClusterId: string;
|
|
2866
3106
|
/**
|
|
2867
|
-
|
|
2868
|
-
|
|
3107
|
+
* 要修改的参数列表。每一个元素是ParamName、CurrentValue和OldValue的组合。ParamName是参数名称,CurrentValue是当前值,OldValue是之前值且不做校验
|
|
3108
|
+
*/
|
|
2869
3109
|
ParamList: Array<ParamItem>;
|
|
2870
3110
|
/**
|
|
2871
|
-
|
|
2872
|
-
|
|
3111
|
+
* 维护期间执行-yes,立即执行-no
|
|
3112
|
+
*/
|
|
2873
3113
|
IsInMaintainPeriod?: string;
|
|
2874
3114
|
}
|
|
2875
3115
|
/**
|
|
@@ -2877,12 +3117,12 @@ export interface ModifyClusterParamRequest {
|
|
|
2877
3117
|
*/
|
|
2878
3118
|
export interface DescribeAccountsResponse {
|
|
2879
3119
|
/**
|
|
2880
|
-
|
|
2881
|
-
|
|
3120
|
+
* 数据库账号列表
|
|
3121
|
+
*/
|
|
2882
3122
|
AccountSet: Array<Account>;
|
|
2883
3123
|
/**
|
|
2884
|
-
|
|
2885
|
-
|
|
3124
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3125
|
+
*/
|
|
2886
3126
|
RequestId?: string;
|
|
2887
3127
|
}
|
|
2888
3128
|
/**
|
|
@@ -2890,8 +3130,8 @@ export interface DescribeAccountsResponse {
|
|
|
2890
3130
|
*/
|
|
2891
3131
|
export interface ModifyAccountParamsResponse {
|
|
2892
3132
|
/**
|
|
2893
|
-
|
|
2894
|
-
|
|
3133
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3134
|
+
*/
|
|
2895
3135
|
RequestId?: string;
|
|
2896
3136
|
}
|
|
2897
3137
|
/**
|
|
@@ -2899,12 +3139,12 @@ export interface ModifyAccountParamsResponse {
|
|
|
2899
3139
|
*/
|
|
2900
3140
|
export interface OfflineInstanceRequest {
|
|
2901
3141
|
/**
|
|
2902
|
-
|
|
2903
|
-
|
|
3142
|
+
* 集群ID
|
|
3143
|
+
*/
|
|
2904
3144
|
ClusterId: string;
|
|
2905
3145
|
/**
|
|
2906
|
-
|
|
2907
|
-
|
|
3146
|
+
* 实例ID数组
|
|
3147
|
+
*/
|
|
2908
3148
|
InstanceIdList: Array<string>;
|
|
2909
3149
|
}
|
|
2910
3150
|
/**
|
|
@@ -2912,45 +3152,54 @@ export interface OfflineInstanceRequest {
|
|
|
2912
3152
|
*/
|
|
2913
3153
|
export interface TradePrice {
|
|
2914
3154
|
/**
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
3155
|
+
* 预付费模式下资源总价,不包含优惠,单位:分
|
|
3156
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3157
|
+
*/
|
|
2918
3158
|
TotalPrice: number;
|
|
2919
3159
|
/**
|
|
2920
|
-
|
|
2921
|
-
|
|
3160
|
+
* 总的折扣,100表示100%不打折
|
|
3161
|
+
*/
|
|
2922
3162
|
Discount: number;
|
|
2923
3163
|
/**
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
3164
|
+
* 预付费模式下的优惠后总价, 单位: 分,例如用户享有折扣 =TotalPrice × Discount
|
|
3165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3166
|
+
*/
|
|
2927
3167
|
TotalPriceDiscount: number;
|
|
2928
3168
|
/**
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
3169
|
+
* 后付费模式下的单位资源价格,不包含优惠,单位:分
|
|
3170
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3171
|
+
*/
|
|
2932
3172
|
UnitPrice: number;
|
|
2933
3173
|
/**
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
3174
|
+
* 优惠后后付费模式下的单位资源价格, 单位: 分,例如用户享有折扣=UnitPricet × Discount
|
|
3175
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3176
|
+
*/
|
|
2937
3177
|
UnitPriceDiscount: number;
|
|
2938
3178
|
/**
|
|
2939
|
-
|
|
2940
|
-
|
|
3179
|
+
* 计费价格单位
|
|
3180
|
+
*/
|
|
2941
3181
|
ChargeUnit: string;
|
|
2942
3182
|
}
|
|
3183
|
+
/**
|
|
3184
|
+
* DescribeClusterParams请求参数结构体
|
|
3185
|
+
*/
|
|
3186
|
+
export interface DescribeClusterParamsRequest {
|
|
3187
|
+
/**
|
|
3188
|
+
* 集群ID
|
|
3189
|
+
*/
|
|
3190
|
+
ClusterId: string;
|
|
3191
|
+
}
|
|
2943
3192
|
/**
|
|
2944
3193
|
* DescribeInstanceSpecs返回参数结构体
|
|
2945
3194
|
*/
|
|
2946
3195
|
export interface DescribeInstanceSpecsResponse {
|
|
2947
3196
|
/**
|
|
2948
|
-
|
|
2949
|
-
|
|
3197
|
+
* 规格信息
|
|
3198
|
+
*/
|
|
2950
3199
|
InstanceSpecSet: Array<InstanceSpec>;
|
|
2951
3200
|
/**
|
|
2952
|
-
|
|
2953
|
-
|
|
3201
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3202
|
+
*/
|
|
2954
3203
|
RequestId?: string;
|
|
2955
3204
|
}
|
|
2956
3205
|
/**
|
|
@@ -2958,12 +3207,12 @@ export interface DescribeInstanceSpecsResponse {
|
|
|
2958
3207
|
*/
|
|
2959
3208
|
export interface DescribeAccountAllGrantPrivilegesRequest {
|
|
2960
3209
|
/**
|
|
2961
|
-
|
|
2962
|
-
|
|
3210
|
+
* 集群id
|
|
3211
|
+
*/
|
|
2963
3212
|
ClusterId: string;
|
|
2964
3213
|
/**
|
|
2965
|
-
|
|
2966
|
-
|
|
3214
|
+
* 账号信息
|
|
3215
|
+
*/
|
|
2967
3216
|
Account: InputAccount;
|
|
2968
3217
|
}
|
|
2969
3218
|
/**
|
|
@@ -2971,12 +3220,12 @@ export interface DescribeAccountAllGrantPrivilegesRequest {
|
|
|
2971
3220
|
*/
|
|
2972
3221
|
export interface OfflineInstanceResponse {
|
|
2973
3222
|
/**
|
|
2974
|
-
|
|
2975
|
-
|
|
3223
|
+
* 任务流ID
|
|
3224
|
+
*/
|
|
2976
3225
|
FlowId: number;
|
|
2977
3226
|
/**
|
|
2978
|
-
|
|
2979
|
-
|
|
3227
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3228
|
+
*/
|
|
2980
3229
|
RequestId?: string;
|
|
2981
3230
|
}
|
|
2982
3231
|
/**
|
|
@@ -2984,16 +3233,16 @@ export interface OfflineInstanceResponse {
|
|
|
2984
3233
|
*/
|
|
2985
3234
|
export interface ParamItem {
|
|
2986
3235
|
/**
|
|
2987
|
-
|
|
2988
|
-
|
|
3236
|
+
* 参数名称
|
|
3237
|
+
*/
|
|
2989
3238
|
ParamName: string;
|
|
2990
3239
|
/**
|
|
2991
|
-
|
|
2992
|
-
|
|
3240
|
+
* 当前值
|
|
3241
|
+
*/
|
|
2993
3242
|
CurrentValue: string;
|
|
2994
3243
|
/**
|
|
2995
|
-
|
|
2996
|
-
|
|
3244
|
+
* 原有值
|
|
3245
|
+
*/
|
|
2997
3246
|
OldValue: string;
|
|
2998
3247
|
}
|
|
2999
3248
|
/**
|
|
@@ -3001,36 +3250,36 @@ export interface ParamItem {
|
|
|
3001
3250
|
*/
|
|
3002
3251
|
export interface PolicyRule {
|
|
3003
3252
|
/**
|
|
3004
|
-
|
|
3005
|
-
|
|
3253
|
+
* 策略,ACCEPT或者DROP
|
|
3254
|
+
*/
|
|
3006
3255
|
Action: string;
|
|
3007
3256
|
/**
|
|
3008
|
-
|
|
3009
|
-
|
|
3257
|
+
* 来源Ip或Ip段,例如192.168.0.0/16
|
|
3258
|
+
*/
|
|
3010
3259
|
CidrIp: string;
|
|
3011
3260
|
/**
|
|
3012
|
-
|
|
3013
|
-
|
|
3261
|
+
* 端口
|
|
3262
|
+
*/
|
|
3014
3263
|
PortRange: string;
|
|
3015
3264
|
/**
|
|
3016
|
-
|
|
3017
|
-
|
|
3265
|
+
* 网络协议,支持udp、tcp等
|
|
3266
|
+
*/
|
|
3018
3267
|
IpProtocol: string;
|
|
3019
3268
|
/**
|
|
3020
|
-
|
|
3021
|
-
|
|
3269
|
+
* 协议端口ID或者协议端口组ID。
|
|
3270
|
+
*/
|
|
3022
3271
|
ServiceModule: string;
|
|
3023
3272
|
/**
|
|
3024
|
-
|
|
3025
|
-
|
|
3273
|
+
* IP地址ID或者ID地址组ID。
|
|
3274
|
+
*/
|
|
3026
3275
|
AddressModule: string;
|
|
3027
3276
|
/**
|
|
3028
|
-
|
|
3029
|
-
|
|
3277
|
+
* id
|
|
3278
|
+
*/
|
|
3030
3279
|
Id: string;
|
|
3031
3280
|
/**
|
|
3032
|
-
|
|
3033
|
-
|
|
3281
|
+
* 描述
|
|
3282
|
+
*/
|
|
3034
3283
|
Desc: string;
|
|
3035
3284
|
}
|
|
3036
3285
|
/**
|
|
@@ -3038,12 +3287,12 @@ export interface PolicyRule {
|
|
|
3038
3287
|
*/
|
|
3039
3288
|
export interface DescribeClusterDetailResponse {
|
|
3040
3289
|
/**
|
|
3041
|
-
|
|
3042
|
-
|
|
3290
|
+
* 集群详细信息
|
|
3291
|
+
*/
|
|
3043
3292
|
Detail: CynosdbClusterDetail;
|
|
3044
3293
|
/**
|
|
3045
|
-
|
|
3046
|
-
|
|
3294
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3295
|
+
*/
|
|
3047
3296
|
RequestId?: string;
|
|
3048
3297
|
}
|
|
3049
3298
|
/**
|
|
@@ -3051,44 +3300,44 @@ export interface DescribeClusterDetailResponse {
|
|
|
3051
3300
|
*/
|
|
3052
3301
|
export interface DescribeInstanceSlowQueriesRequest {
|
|
3053
3302
|
/**
|
|
3054
|
-
|
|
3055
|
-
|
|
3303
|
+
* 实例ID
|
|
3304
|
+
*/
|
|
3056
3305
|
InstanceId: string;
|
|
3057
3306
|
/**
|
|
3058
|
-
|
|
3059
|
-
|
|
3307
|
+
* 事务开始最早时间
|
|
3308
|
+
*/
|
|
3060
3309
|
StartTime?: string;
|
|
3061
3310
|
/**
|
|
3062
|
-
|
|
3063
|
-
|
|
3311
|
+
* 事务开始最晚时间
|
|
3312
|
+
*/
|
|
3064
3313
|
EndTime?: string;
|
|
3065
3314
|
/**
|
|
3066
|
-
|
|
3067
|
-
|
|
3315
|
+
* 限制条数
|
|
3316
|
+
*/
|
|
3068
3317
|
Limit?: number;
|
|
3069
3318
|
/**
|
|
3070
|
-
|
|
3071
|
-
|
|
3319
|
+
* 偏移量
|
|
3320
|
+
*/
|
|
3072
3321
|
Offset?: number;
|
|
3073
3322
|
/**
|
|
3074
|
-
|
|
3075
|
-
|
|
3323
|
+
* 用户名
|
|
3324
|
+
*/
|
|
3076
3325
|
Username?: string;
|
|
3077
3326
|
/**
|
|
3078
|
-
|
|
3079
|
-
|
|
3327
|
+
* 客户端host
|
|
3328
|
+
*/
|
|
3080
3329
|
Host?: string;
|
|
3081
3330
|
/**
|
|
3082
|
-
|
|
3083
|
-
|
|
3331
|
+
* 数据库名
|
|
3332
|
+
*/
|
|
3084
3333
|
Database?: string;
|
|
3085
3334
|
/**
|
|
3086
|
-
|
|
3087
|
-
|
|
3335
|
+
* 排序字段,可选值:QueryTime,LockTime,RowsExamined,RowsSent
|
|
3336
|
+
*/
|
|
3088
3337
|
OrderBy?: string;
|
|
3089
3338
|
/**
|
|
3090
|
-
|
|
3091
|
-
|
|
3339
|
+
* 排序类型,可选值:asc,desc
|
|
3340
|
+
*/
|
|
3092
3341
|
OrderByType?: string;
|
|
3093
3342
|
}
|
|
3094
3343
|
/**
|
|
@@ -3096,24 +3345,24 @@ export interface DescribeInstanceSlowQueriesRequest {
|
|
|
3096
3345
|
*/
|
|
3097
3346
|
export interface DescribeBinlogsRequest {
|
|
3098
3347
|
/**
|
|
3099
|
-
|
|
3100
|
-
|
|
3348
|
+
* 集群ID
|
|
3349
|
+
*/
|
|
3101
3350
|
ClusterId: string;
|
|
3102
3351
|
/**
|
|
3103
|
-
|
|
3104
|
-
|
|
3352
|
+
* 开始时间
|
|
3353
|
+
*/
|
|
3105
3354
|
StartTime?: string;
|
|
3106
3355
|
/**
|
|
3107
|
-
|
|
3108
|
-
|
|
3356
|
+
* 结束时间
|
|
3357
|
+
*/
|
|
3109
3358
|
EndTime?: string;
|
|
3110
3359
|
/**
|
|
3111
|
-
|
|
3112
|
-
|
|
3360
|
+
* 偏移量
|
|
3361
|
+
*/
|
|
3113
3362
|
Offset?: number;
|
|
3114
3363
|
/**
|
|
3115
|
-
|
|
3116
|
-
|
|
3364
|
+
* 限制条数
|
|
3365
|
+
*/
|
|
3117
3366
|
Limit?: number;
|
|
3118
3367
|
}
|
|
3119
3368
|
/**
|
|
@@ -3121,12 +3370,12 @@ export interface DescribeBinlogsRequest {
|
|
|
3121
3370
|
*/
|
|
3122
3371
|
export interface InputAccount {
|
|
3123
3372
|
/**
|
|
3124
|
-
|
|
3125
|
-
|
|
3373
|
+
* 账号
|
|
3374
|
+
*/
|
|
3126
3375
|
AccountName: string;
|
|
3127
3376
|
/**
|
|
3128
|
-
|
|
3129
|
-
|
|
3377
|
+
* 主机,默认‘%’
|
|
3378
|
+
*/
|
|
3130
3379
|
Host?: string;
|
|
3131
3380
|
}
|
|
3132
3381
|
/**
|
|
@@ -3134,36 +3383,49 @@ export interface InputAccount {
|
|
|
3134
3383
|
*/
|
|
3135
3384
|
export interface DisassociateSecurityGroupsResponse {
|
|
3136
3385
|
/**
|
|
3137
|
-
|
|
3138
|
-
|
|
3386
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3387
|
+
*/
|
|
3139
3388
|
RequestId?: string;
|
|
3140
3389
|
}
|
|
3390
|
+
/**
|
|
3391
|
+
* 可用区库存信息
|
|
3392
|
+
*/
|
|
3393
|
+
export interface ZoneStockInfo {
|
|
3394
|
+
/**
|
|
3395
|
+
* 可用区
|
|
3396
|
+
*/
|
|
3397
|
+
Zone: string;
|
|
3398
|
+
/**
|
|
3399
|
+
* 是否有库存
|
|
3400
|
+
*/
|
|
3401
|
+
HasStock: boolean;
|
|
3402
|
+
}
|
|
3141
3403
|
/**
|
|
3142
3404
|
* InquirePriceRenew返回参数结构体
|
|
3143
3405
|
*/
|
|
3144
3406
|
export interface InquirePriceRenewResponse {
|
|
3145
3407
|
/**
|
|
3146
|
-
|
|
3147
|
-
|
|
3408
|
+
* 集群ID
|
|
3409
|
+
*/
|
|
3148
3410
|
ClusterId: string;
|
|
3149
3411
|
/**
|
|
3150
|
-
|
|
3151
|
-
|
|
3412
|
+
* 实例ID列表
|
|
3413
|
+
*/
|
|
3152
3414
|
InstanceIds: Array<string>;
|
|
3153
3415
|
/**
|
|
3154
|
-
|
|
3155
|
-
|
|
3416
|
+
* 对应的询价结果数组
|
|
3417
|
+
*/
|
|
3156
3418
|
Prices: Array<TradePrice>;
|
|
3157
3419
|
/**
|
|
3158
|
-
|
|
3159
|
-
|
|
3420
|
+
* 续费计算节点的总价格
|
|
3421
|
+
*/
|
|
3160
3422
|
InstanceRealTotalPrice: number;
|
|
3161
3423
|
/**
|
|
3162
|
-
|
|
3163
|
-
|
|
3424
|
+
* 续费存储节点的总价格
|
|
3425
|
+
*/
|
|
3164
3426
|
StorageRealTotalPrice: number;
|
|
3165
3427
|
/**
|
|
3166
|
-
|
|
3167
|
-
|
|
3428
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3429
|
+
*/
|
|
3168
3430
|
RequestId?: string;
|
|
3169
3431
|
}
|