NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform.
You will still be able to view content, but posting and replying will be temporarily disabled.
To learn more, please review the information in this blog post.

Data Protection

SnapCenter - Swagger API to refresh host

israelmmi
2,417 Views

Is there a way using the Swagger API (http://docs.netapp.com/ocsc-43/index.jsp?topic=%2Fcom.netapp.doc.ocsc-ag%2FGUID-F2F08997-953E-4C60-B572-F435A5BD77F5.html) to refresh a host/resource?

 

I see when using the application I access this URL: 

https://servername:8146/ProvisionDisk/GetDisks

 

But I don't see any way to manually run a refresh on a host.

1 REPLY 1

mbeattie
2,234 Views

Hi,

 

I'm not sure if it's possible to achieve? Whilst the REST API doesn't appear to enable this functionality i was able to view the REST API post using this chrome plugin: WebSpy and could see that the "WindowsHostName=<%Hostname%>" snapcenter host is hidden within the body.

 

/Matt

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Public