DevNet brings API resources of all NetApp products together for NetApp partners and customers to explore. Explore https://devnet.netapp.com/restapi - ONTAP RESTful APIs technical resources page on NetApp Developer Network
... View more
As part of a capacity management report I want to include following information: storage aggregate show-space -fields total-provisioned-space-percent,total-provisioned-space It gives an idea about the overprovisioning on the level of an aggregate. Which REST-API call should I use? I can't find it? Thanks for your feedback. Much appreciated!!!
... View more
Hi, I am trying to retrieve the Service Processor information using PowerShell via REST API. I notice in the ONTAP REST API Online Reference that there doesn't seem to be a section under the 'Schemes' section: However, I notice there is a 'Models' section: With a Service Processor section under it: How do I use this section to create a URI in order to GET the SP config pls? Or do I need to use an alterative method? Thanks
... View more
We are Getting an error while creating volume thru Terraform Script as its sating the below error rror on GET storage/volumes: REST reported error restclient.RestError{Code:"4", Message:"entry doesn't exist", │ Target:"uuid"}, statusCode: 404
... View more
We seem to be having trouble proving API access at the simplest level - just a basic CLI test such as "curl -siku "mydomain\userid" "https://mycluster/api/cluster?fields=version"". In every attempt we see error:{"code":"6691623", "message":"User is not authorized." I am authorized - I use the same account every day via system manager but I normally have my account set for SAML, so, seeing the curl with -v invoked returns the usual SAML redirect in the output (when the account as SAML as the auth method), so, I modified that account to use "active directory domain" which is what prompted all this - trying to get a service account to login via domain pw. My question is if SAML is NOT the authentication method then why does the cluster keep trying to redirect like it is? There is nothing in AD that would force SAML, the app has to do that I believe. I setup a special domain account for this API access but we can't get any form of it to successfully authenticate (even to SM) because it appears that "any" login looks to be shot to the provider and the "authentication" setting PER user is almost or entirely ignored. Can someone explain why this would happen? I know SAML messed with AIQUM discovery but this seems wrong. Your first ONTAP REST API call is what I was following to ensure simplicity, negating any code issues from the vendor... We have a monitoring app which previously used a local account on each cluster but this is not preferred, so the domain account method is being tried if you're wondering. I suppose another method is better but doesn't explain why "every" account logging in via curl doesn't just work with a valid pw. thanks
... View more