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