Storage volume-efficiency-policies endpoint overview
Contributors
Suggest changes
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
Overview
Volume efficiency policies specify information about efficiency policies that are applied to the volume.
Volume efficiency policy APIs
The following APIs are used to perform operations related to volume efficiency policy information:
– POST /api/storage/volume-efficiency-policies
– GET /api/storage/volume-efficiency-policies
– GET /api/storage/volume-efficiency-policies/{uuid}
– PATCH /api/storage/volume-efficiency-policies/{uuid}
– DELETE /api/storage/volume-efficiency-policies/{uuid}
Examples
Creating a volume efficiency policy
The POST operation is used to create a volume efficiency policy with the specified attributes.
# The API: /api/storage/volume-efficiency-policies # The call: curl -X POST "https://<mgmt-ip>/api/storage/volume-efficiency-policies" -H "accept: application/hal+json" -d '{"name": "new_policy", "type": "scheduled", "schedule": { "name": "daily" }, "duration": "2", "qos_policy": "best_effort", "enabled": "true", "comment": "schedule-policy", "svm": { "name": "vs1"}}' # The response: HTTP/1.1 201 Created Date: Tue, 12 Mar 2019 21:20:24 GMT Server: libzapid-httpd X-Content-Type-Options: nosniff Cache-Control: no-cache,no-store,must-revalidate Location: /api/storage/volume-efficiency-policies/a69d8173-450c-11e