跳到主要内容

ack inspect report

触发和查询巡检报告

运行 ecctl ack inspect report <action> -h 查看用法,或 ecctl schema ack.inspect.report.<action> --full 获取该命令完整的结构化规格——每个参数与行为,便于 Agent 读取和填参。

create​

ecctl ack inspect report create [flags]

触发巡检报告

  • 类型:mutation · 风险:medium
API调用时机用途
RunClusterInspect每次执行命令时执行资源操作。
ListClusterInspectReports未指定 --no-wait 时读取资源视图。
GetClusterInspectReportDetail未指定 --no-wait 时读取资源视图。
参数类型必填说明
--clusterstring✓ACK 集群 ID
--regionstring✓Alibaba Cloud region

get​

ecctl ack inspect report get <report-id> [flags]

查询巡检报告

  • 类型:read · 风险:low
API调用时机用途
GetClusterInspectReportDetail每次执行命令时读取资源视图。
参数类型必填说明
--clusterstring✓ACK 集群 ID
--regionstring✓Alibaba Cloud region
--fieldsstring要包含的资源字段,使用逗号分隔

list​

ecctl ack inspect report list [flags]

列出巡检报告

  • 类型:read · 风险:low
API调用时机用途
ListClusterInspectReports每次执行命令时读取资源视图。
参数类型必填说明
--clusterstring✓ACK 集群 ID
--regionstring✓Alibaba Cloud region
--fieldsstring要包含的资源字段,使用逗号分隔
--limitinteger最多返回报告数量(默认:50)
--next-tokenstring上一次请求返回的分页令牌