Active IQ Unified Manager Discussions
I am installed OCI and configured for my netapp clusters. I want to get the storage pools based on name.
I am sending https://ociserverip/rest/v1/assets/storages/10/storagePools/?name="pool1". It's showing all the pools.
I tried with assets/storagePools, how ever this API expecting id of storage pool.
Could you please help me.
See The Solution
Thanks allot Hotz, I tried in this way:
It's showing the pool details.
Could you please help me in this also: https://community.netapp.com/t5/Cloud-Insights/Need-help-in-finding-the-allocated-iops-for-storage-pool-using-OCI-API/td-p/151953
View solution in original post
if you want to search by name, you would need a query, something like:
curl -k -u $myuser:$mypwd https://ociserverip/rest/v1/query\?objectType\=StoragePool\&expression\="pool1*"
Hope this helps.
Join our Discord Community