StopFormationCrawler - 停止正在执行的元数据发现任务

更新时间:
复制 MD 格式

停掉当前正在执行的元数据发现任务

接口说明

仅停正在跑的任务,不停止后续 cron 调度。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

RegionId

string

地域 id,您可通过接口 describeregions 查看可用的地域 id。

cn-hangzhou

CrawlerTaskName

string

任务名称。

test-crawler-dbname

DBClusterId

string

实例 id。

am-bp1xxxxxxxx47

CrawlerTaskId

integer

任务 id。

21

返回参数

名称

类型

描述

示例值

object

HttpStatusCode

integer

http 状态码。

200

Data

string

创建成功的任务 id。

true

RequestId

string

请求 id。

9CCFAAB4-97B7-5800-B9F2-685EB596E3EF

Success

boolean

是否成功。

true

Code

string

状态码。

200

Message

string

错误信息。

Success

示例

正常返回示例

JSON格式

{
  "HttpStatusCode": 200,
  "Data": "true",
  "RequestId": "9CCFAAB4-97B7-5800-B9F2-685EB596E3EF",
  "Success": true,
  "Code": "200",
  "Message": "Success"
}

错误码

HTTP status code

错误码

错误信息

描述

400 InvalidInput The specified parameter is invalid.
400 NotExists The formation task does not exist.
400 NotRunning The instance is not running.
500 ServerStoreError A server storage error occurred.

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情