Display the mapping between Data ONTAP APIs and CLI commands
cluster1::> security login role show-ontapi ONTAPI Command --------------------------- --------------------------------------------------- aggr-add storage aggregate add-disks aggr-check-spare-low storage aggregate check_spare_low aggr-create storage aggregate create aggr-destroy storage aggregate delete aggr-get-filer-info aggr aggr-get-iter storage aggregate show-view aggr-offline storage aggregate offline aggr-online storage aggregate online aggr-options-list-info storage aggregate show aggr-rename storage aggregate rename aggr-restrict storage aggregate restrict aggr-set-option storage aggregate modify autosupport-budget-get system node autosupport budget show autosupport-budget-get-iter system node autosupport budget show autosupport-budget-get-total-records system node autosupport budget show autosupport-budget-modify system node autosupport budget modify autosupport-config-get system node autosupport show autosupport-config-get-iter system node autosupport show autosupport-config-get-total-records system node autosupport show autosupport-config-modify system node autosupport modify Press <space> to page down, <return> for next line, or 'q' to quit...The following example displays all Data ONTAP APIs which are mapped to the specified CLI command:
cluster1::> security login role show-ontapi -command version ONTAPI Command --------------------------- --------------------------------------------------- system-get-ontapi-version version system-get-version version 2 entries were displayed.The following example displays the CLI command that is mapped to the specified Data ONTAPI API:
cluster1::> security login role show-ontapi -ontapi aggr-create ONTAPI Name: aggr-create Command: storage aggregate create