发起导出zookeeper数据任务。
接口说明
同时只有一个任务在运行中。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
InstanceId | string | 否 | 实例ID。 | mse-cn-78v1l83**** |
ExportType | string | 否 | 导出类型,取值:
| snapshot |
RegionId | string | 否 | 集群所在地域,MSE支持的地域。 | cn-hangzhou |
RequestPars | string | 否 | 扩展请求参数,JSON格式。 | {} |
AcceptLanguage | string | 否 | 返回信息的语言类型:
| zh |
返回参数
示例
正常返回示例
JSON
格式
{
"Success": true,
"Message": "请求处理成功",
"DynamicMessage": "The specified parameter is invalid.",
"RequestId": "25EA0A83-9007-4E87-808C-637BE1A****",
"ErrorCode": "mse-100-000",
"HttpStatusCode": "200",
"Data": {
"InstanceId": "mse-cn-st21ri2****",
"ExportType": "snapshot",
"ContentMap": {
"test": "test",
"test2": 1
},
"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 |
403 | NoPermission | You are not authorized to perform this operation:%s | 没有权限使用此接口:%s |
404 | NotFound | Not found:%s | 资源不存在:%s |
500 | InternalError | Console error. Try again later:%s | 控制台错误.稍后重试:%s |
访问错误中心查看更多错误码。