Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

Not able to get the storage pools based on name of the storagepool By using OCI API

Sambasiva

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.

 

1 ACCEPTED SOLUTION

Sambasiva

Thanks allot Hotz, I tried in this way: 

https://ociip/rest/v1/query?objectType=StoragePool&name="pool1" 

 

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

2 REPLIES 2

hotz

Hi Sambasiva,

 

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.

Cheers, Gerhard

Sambasiva

Thanks allot Hotz, I tried in this way: 

https://ociip/rest/v1/query?objectType=StoragePool&name="pool1" 

 

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

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public