Modifying Thin Provisioning Pool Settings
PATCH /tpp/{tpp_id}
Introduction
Modifies the specified Thin Provisioning Pool settings.
Tenant users cannot execute this command.
Request Examples
This is an example of enabling Deduplication for a Thin Provisioning Pool with a Thin Provisioning Pool ID of 5.
$ curl -i -H "Content-Type:application/json" -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X PATCH "https://192.168.1.1:5665/api/v1/tpp/5" -d '{"is_deduplication_enabled" : true}'
Response Examples
{
"job_id": 8192001,
"job_href": "/api/v1/job/8192001"
}
Parameters
PATH PARAMETERS
| tpp_id
(required) |
integer Thin Provisioning Pool ID. |
REQUEST BODY
| new_name | string Friendly Name of the Thin Provisioning Pool. Input criteria:
|
| warning_threshold | integer Warning threshold. The unit is %. If the Thin Provisioning Pool utilization (percentage of used capacity to the total physical capacity) exceeds this threshold, the usage transitions to Warning. Input criteria:
|
| attention_threshold | integer Attention threshold. The unit is %. If the Thin Provisioning Pool utilization (percentage of used capacity to the total physical capacity) exceeds this threshold, the usage transitions to Attention. If this item is set to 0, the Attention threshold is not set. Input criteria:
|
| is_deduplication_enabled | boolean Whether to enable Deduplication. If true, a Deduplication-enabled Volume can be created in this TPP. Input criteria:
|
| is_compression_enabled | boolean Whether to enable Compression. If true, a Compression-enabled Volume can be created in this TPP. Input criteria:
|
Responses
If successful, the HTTP status code is 202 (Accepted) and the response body is returned.
RESPONSE BODY
| job_id | integer Job ID. |
| job_href | string Resource link of the job. |

