Software Development Kit (SDK) and API Discussions

Ontap 9.0 mising API Get-NcNameServiceDNSStatistics and Get-NcDashboardAlarm

johnh703
2,776 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
2,759 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
2,730 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
2,696 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