调用DisableHostAvailability接口禁用指定可用性监控任务。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
cms:DisableHostAvailability |
update |
*HostAvailability
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Id |
array |
是 |
可用性监控任务 ID。 |
|
|
integer |
否 |
可用性监控任务 ID。 |
12345 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Code |
string |
状态码。 说明
200 表示成功。 |
200 |
| Message |
string |
错误信息。 |
User not authorized to operate on the specified resource. |
| RequestId |
string |
请求 ID。 |
ACBDBB40-DFB6-4F4C-8957-51FFB233969C |
| Success |
boolean |
操作是否成功。取值:-true:成功。-false:失败。 |
true |
示例
正常返回示例
JSON格式
{
"Code": "200",
"Message": "User not authorized to operate on the specified resource.",
"RequestId": "ACBDBB40-DFB6-4F4C-8957-51FFB233969C",
"Success": true
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | 未找到指定资源。 |
| 409 | ResourceConflict | Concurrent modification of resources. | |
| 409 | ResourceExist | Resources already exist. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?