DescribeMonitoringAgentProcesses - 查询指定资源的进程数列表

调用DescribeMonitoringAgentProcesses接口查询指定资源的进程数列表。

接口说明

说明 调用本接口之前,您需要先调用 CreateMonitoringAgentProcess 接口创建进程数。更多信息,请参见 CreateMonitoringAgentProcess

本文将提供一个示例,查询资源 i-hp3hl3cx1pbahzy8****的进程数列表。返回结果显示进程数 Nginx 和 HTTP 的详细信息。

调试

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

授权信息

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

请求参数

名称类型必填描述示例值
InstanceIdstring

实例 ID。

i-hp3hl3cx1pbahzy8****

返回参数

名称类型描述示例值
object
Codestring

状态码。

说明 200 表示成功。
200
Messagestring

错误信息。

The specified resource is not found.
RequestIdstring

请求 ID。

C11C0E85-6862-4F25-8D66-D6A5E0882984
Successboolean

操作是否成功。取值:

  • true:成功。

  • false:失败。

true

示例

正常返回示例

JSON格式

{
  "Code": 200,
  "Message": "The specified resource is not found.",
  "RequestId": "C11C0E85-6862-4F25-8D66-D6A5E0882984",
  "Success": true,
  "NodeProcesses": {
    "NodeProcess": [
      {
        "ProcessName": "",
        "ProcessId": 0,
        "GroupId": "",
        "Command": "",
        "ProcessUser": "",
        "InstanceId": ""
      }
    ]
  }
}

错误码

HTTP status code错误码错误信息描述
400ParameterInvalidIllegal parameters.-
403AccessForbiddenUser not authorized to operate on the specified resource.-
404ResourceNotFoundThe specified resource is not found.未找到指定资源。
500InternalErrorThe request processing has failed due to some unknown error.-

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

变更历史

变更时间变更内容概要操作
暂无变更历史