Managing LUNs
You can use the APIs listed here to view, add, and delete LUNs on the Storage Virtual Machines (storage VMs). You can also assign and modify the Performance Service Level and Storage Efficiency Policies for the LUNs.
Before assigning storage, you must ensure that the SVM has been created and provisioned with the supported protocols. Similarly, for assigning Performance Service Levels to the LUNs, the Performance Service Levels must be created before creating the LUN.
View LUNs
You can use the following method to view all the LUNs in your Unified Manager environment. When you have added an ONTAP cluster as a datasource on Active IQ Unified Manager, the storage workloads for those clusters are automatically added to your Unified Manager instance. This API retrieves the all LUNs automatically and manually added to your Unified Manager instance. You can view the details of a specific LUN by running this API with the LUN key.
Category | HTTP verb | Path |
---|---|---|
storage-provider |
GET |
|
Add LUNs
You can use the following method to add LUNs to your SVMs.
Category | HTTP verb | Path |
---|---|---|
storage-provider |
POST |
|
In your cURL request, if you provide a value for the optional parameter |
Delete LUNs
You can use the following method to delete a specific LUN. You need to provide the LUN key to delete a particular LUN.
If you have created a volume in ONTAP and then provisioned LUNs through Unified Manager on that volume, when you delete all of the LUNs by using this API, the volume also gets deleted from the ONTAP cluster. |
Category | HTTP verb | Path |
---|---|---|
storage-provider |
DELETE |
|
Modify LUNs
You can use the following method to modify a LUN and update its properties. You need to provide the LUN key to modify a particular LUN. You also need to enter the LUN property that you want to update, along with its value. For updating LUN arrays by using this API, you should review the recommendations in “Recommendations for using the APIs”.
You can update only one property at a single invocation of this API. For multiple updates, you need to run this API as many times. |
Category | HTTP verb | Path |
---|---|---|
storage-provider |
PATCH |
|