此命令类似于列出警报操作命令,但此命令仅返回指定的警报操作。
请求示例:
GET /api/alert/v1/actions/actions-002 HTTP/1.1
响应示例:
HTTP/1.1 200 OK X-Zfssa-Appliance-Api: 1.0 Content-Type: application/json Content-Length: 331 { "action": { "category": "thresholds", "href": "/api/alert/v1/actions/actions-002", "action-000": { "address": "Joe.Admin@acme.com", "handler": "email", "href": "/api/alert/v1/alerts/actions/actions-002 /action-000", "subject": "CPU Busy" }, "thresholdid": "b182ca05-53d3-6604-b874-ec353335704d" } }