调用DeactiveFlowLog停止流日志。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
FlowLogId | String | 是 | fl-l934tsa5504yuc**** |
流日志实例ID。 |
RegionId | String | 是 | cn-shanghai |
流日志的地域ID。 |
Action | String | 否 | DeactiveFlowLog |
要执行的操作。 取值:DeactiveFlowLog。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 5F2BAEAF-96D4-4BE5-A031-6CAD7B145D0D |
请求ID。 |
示例
请求示例
http(s)://[Endpoint]/?Action=DeactiveFlowLog
&FlowLogId=fl-l934tsa5504yuc****
&RegionId=cn-shanghai
&<公共请求参数>
正常返回示例
XML
格式
<DeactiveFlowLogResponse>
<RequestId>5F2BAEAF-96D4-4BE5-A031-6CAD7B145D0D</RequestId>
</DeactiveFlowLogResponse>
JSON
格式
{
"RequestId":"5F2BAEAF-96D4-4BE5-A031-6CAD7B145D0D"
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | DependencyViolation.FlowLog | This FlowLog instance is bound to an SAG instance. | FlowLog存在资源依赖 |
400 | IncorrectStatus.FlowLog | The current FlowLog instance status does not support this operation. | FlowLog状态非法 |
400 | InvalidFlowLogId.NotFound | The specified FlowLogId does not exist. | 根据FlowLogId未找到对应实例 |
400 | MissingParam.FlowLogId | Specify the FlowLogId parameter. | 缺少参数FlowLogId |
400 | OperationFailed.AssociateFlowLog | The operation failed. The specified SAG instance has already been associated with another FlowLog instance. | 由于智能接入网关实例已经关联其他FlowLog实例,操作失败 |
400 | OperationUnsupported.AssociateFlowLog | You cannot bind the SAG device of the current version or model to a FlowLog instance. | 设备版本或者款型不支持关联FlowLog操作 |
400 | QuotaExceeded.Flowlog | The maximum number of FlowLog instances is exceeded. | flowlog数量超过配额 |
访问错误中心查看更多错误码。