Managing Storage Efficiency Policies
You can view, create, modify, and delete Storage Efficiency Policies by using the storage provider APIs.
Note the following points:
|
View Storage Efficiency Policies
You can use the following method to view the Storage Efficiency Policies before assigning them to storage workloads. This API lists all of the system-defined and user-created Storage Efficiency Policies, and retrieves the attributes of all of the Storage Efficiency Policies. If you want to query a specific Storage Efficiency Policy, you need to enter the unique ID of the policy to retrieve its details.
Category | HTTP verb | Path |
---|---|---|
storage-provider |
GET |
|
Add Storage Efficiency Policies
You can use the following method to create custom Storage Efficiency Policies, and assign them to your storage workloads if the system-defined policies do not meet the provisioning requirements for your storage workloads. Enter the details of the Storage Efficiency Policy that you want to create, as input parameters.
Category | HTTP verb | Path |
---|---|---|
storage-provider |
POST |
|
Delete Storage Efficiency Policies
You can use the following method to delete a specific Storage Efficiency Policy. You cannot delete a Storage Efficiency Policy if it is assigned to a workload, or if it is the only available Storage Efficiency Policy. You need to provide the unique ID of the Storage Efficiency Policy as an input parameter to delete a particular Storage Efficiency Policy.
Category | HTTP verb | Path |
---|---|---|
storage-provider |
DELETE |
|
Modify Storage Efficiency Policies
You can use the following method to modify a Storage Efficiency Policy and update its properties. You cannot modify a Storage Efficiency Policy that is system-defined or is assigned to a workload. You need to provide the unique ID of the Storage Efficiency Policy to modify a particular Storage Efficiency Policy. Additionally, you need to provide the property that you want to update, along with its value.
Category | HTTP verb | Path |
---|---|---|
storage-provider |
PATCH |
|