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.

Software Development Kit (SDK) and API Discussions

Ontap 9.0 mising API Get-NcNameServiceDNSStatistics and Get-NcDashboardAlarm

johnh703
3,706 Views

It appears Get-NcDashboardAlarm and API Get-NcNameServiceDNSStatistics are not in Ontap 9.0. It works on 8.3.2P5.

3 REPLIES 3

mbeattie
3,689 Views

Hi John,

 

The CmdLet to API mapping is:

 

Get-NcDashboardAlarm = dashboard-alarm-get-iter
Get-NcNameServiceDNSStatistics = name-service-dns-statistics-get-iter

 

The "dashboard-alarm-get-iter" API is available in ONTAP9 but the "name-service-dns-statistics-get-iter" certainly isn't? I'm not sure why that is but one work around might be to use the "Invoke-NcSystemApi" CmdLet to invoke the ZAPI if the CmdLet isn't available..

 

/Matt

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

johnh703
3,660 Views

Thanks but neither works for me. I don't see the dashboard-alarm-get-iter in my library in PowerShell. Is this avaiable to everybody?

 

dashboard-alarm-get-iter : The term 'dashboard-alarm-get-iter' is not recognized as the name of a cmdlet

asulliva
3,626 Views

Dashboards no longer exist in ONTAP 9, so that set of APIs (and consequentially cmdlets) will not work.  Looking at the API documentation, the ZAPI "name-service-dns-statistics-get-iter" doesn't exist in ONTAP 9 either.

 

Andrew

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