列出Zookeeper的历史数据导出任务列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
mse:ListExportZookeeperData |
list |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
否 |
实例 ID。 |
mse-cn-7pp2d1**** |
| PageNumber |
integer |
否 |
页码。 |
0 |
| PageSize |
integer |
否 |
分页大小。 |
10 |
| AcceptLanguage |
string |
否 |
返回信息的语言类型:
|
zh |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
BaseResult<List |
||
| Success |
boolean |
请求结果,取值如下:
|
true |
| Message |
string |
返回信息。 |
请求处理成功 |
| DynamicMessage |
string |
动态错误信息,用于替换返回参数 ErrMessage 错误信息中的**%s**。 说明
如果 ErrMessage 返回The Value of Input Parameter %s is not valid,且 DynamicMessage 返回 DtsJobId,则代表所传入的请求参数 DtsJobId 不合法。 |
The specified parameter is invalid. |
| RequestId |
string |
请求 ID。 |
8BD1E58D-0755-42AC-A599-E6B55112**** |
| ErrorCode |
string |
错误码。 |
mse-100-000 |
| HttpStatusCode |
string |
HTTP 状态码。 |
200 |
| Data |
array<object> |
数据概览。 |
|
|
object |
数据结构。 |
||
| InstanceId |
string |
实例 ID。 |
mse-cn-st21ri2**** |
| ExportType |
string |
导出类型,取值:
|
snapshot |
| ContentMap |
string |
任务详情。 |
{} |
| Extend |
string |
其他扩展信息,JSON 结构,方便后续扩展参数。 |
{} |
| Status |
string |
任务状态,取值:
|
FINISH |
| KubeoneTaskIds |
string |
关联的底层 taskId,仅作为失败时的排查使用。 |
10 |
| Id |
integer |
任务 ID。 |
1 |
| CreateTime |
integer |
任务创建时间。 |
1631001140913 |
| UpdateTime |
integer |
更新时间。 |
1632979237663 |
示例
正常返回示例
JSON格式
{
"Success": true,
"Message": "请求处理成功",
"DynamicMessage": "The specified parameter is invalid.",
"RequestId": "8BD1E58D-0755-42AC-A599-E6B55112****",
"ErrorCode": "mse-100-000",
"HttpStatusCode": "200",
"Data": [
{
"InstanceId": "mse-cn-st21ri2****",
"ExportType": "snapshot",
"ContentMap": "{}",
"Extend": "{}",
"Status": "FINISH",
"KubeoneTaskIds": "10",
"Id": 1,
"CreateTime": 1631001140913,
"UpdateTime": 1632979237663
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | 非法请求: %s |
| 400 | InvalidParameter | Parameter error:%s | 请求参数错误:%s |
| 500 | InternalError | Console error. Try again later:%s | 控制台错误.稍后重试:%s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | 没有权限使用此接口:%s |
| 404 | NotFound | Not found:%s | 资源不存在:%s |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。