调用ModifyMonitorGroupInstances接口修改应用分组中的资源。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
GroupId | long | 是 | 应用分组 ID。 | 12345 |
Instances | array<object> | 是 | 实例列表 | |
object | 是 | |||
InstanceName | string | 是 | 实例名称。N 的取值范围:1~2000。 | HostName |
Category | string | 是 | 资源实例所属的云产品名称或规格。目前支持的产品如下:
| ECS |
InstanceId | string | 是 | 资源实例 ID。N 的取值范围:1~2000。 | i-a2d5q7pm12**** |
RegionId | string | 是 | 地域 ID(RegionId)。N 的取值范围:1~2000。 | cn-hangzhou |
返回参数
示例
正常返回示例
JSON
格式
{
"Code": 200,
"Message": "success",
"RequestId": "FEC7EDB3-9B08-4AC0-A42A-329F5D14B95A",
"Success": true
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
206 | %s | %s | - |
400 | ParameterInvalid | Parameter invalid. | 非法参数 |
401 | AccessDeniedException | You donot have sufficient access to perform this action. | - |
402 | LimitExceeded | The quota for this customer had been reached. | - |
403 | AccessForbidden | The X.509 certificate or cms access key ID provided does not exist in our records. | - |
404 | ResourceNotFound | The specified resource is not found. | 未找到指定资源。 |
409 | ResourceConflict | %s | - |
409 | ResourceExist | %s | - |
412 | ResourcesOverLimit | %s | - |
429 | Throttli∂ngException | The request was denied due to request throttling. | - |
500 | InternalError | %s | - |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史