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