Skip Navigation Links | |
Exit Print View | |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Creates an alert threshold.
Example Request:
POST /api/alert/v1/thresholds HTTP/1.1 Host: zfs-storage.example.com X-Auth-User: root X-Auth-Key: letmein Content-Type: application/json Content-Length: 50 {"statname": "datalink.kilobytes", "limit": 100000}
Example Response:
HTTP/1.1 201 Created X-Zfssa-Appliance-Api: 1.0 Content-Type: application/json Content-Length: 321 Location: /api/alert/v1/thresholds /1b15d405-75c4-4c0c-e0f6-8a108165b874 { "threshold": { "href": "/api/alert/v1/alerts/thresholds /1b15d405-75c4-4c0c-e0f6-8a108165b874", ... } }