全部產品
Search
文件中心

Cloud Monitor:UninstallMonitoringAgent - 卸載非阿里雲主機的CloudMonitor外掛程式

更新時間:Dec 24, 2025

調用UninstallMonitoringAgent介面卸載非阿里雲主機的CloudMonitor外掛程式。

介面說明

說明

本介面不適用於阿里雲主機的CloudMonitor外掛程式。卸載阿里雲主機的CloudMonitor外掛程式的方法,請參見安裝和卸載外掛程式

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

InstanceId

string

非阿里雲主機的執行個體 ID。

host-****

返回參數

名稱

類型

描述

樣本值

object

Code

string

狀態代碼。

說明

200 表示成功。

200

Message

string

返回資訊。

Successfully

RequestId

string

請求 ID。

466902B9-2842-40B0-B796-00FE772B6EF3

Success

boolean

操作是否成功。取值:

  • true:成功。

  • false:失敗。

true

樣本

正常返回樣本

JSON格式

{
  "Code": "200",
  "Message": "Successfully",
  "RequestId": "466902B9-2842-40B0-B796-00FE772B6EF3",
  "Success": true
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 ParameterInvalid %s
412 AgentStateError Expected agent running state is stopped. 外掛程式狀態是“已停止”時才能卸載。
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. 未找到指定資源。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情