The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Software Development Kit (SDK) and API Discussions

ontapi snapshot-list-info volume input parameter


From ONTAPI 1.5 onwards, the "volume" input parameter of snapshot-list-info has description as follows:

"Name of the volume on which to list the snaplist information. It is for backward compatibility. The recommended usage is to use arguments ("target-name", "target-type") pair."

We have some code written a while back that invokes snapshot-list-info with the volume parameter. We would like to know:

1) Is this volume parameter going to be obsoleted at some point?

2) If the above is true, then we would need to add logic to invoke snapshot-list-info with either target-name/target-type or volume parameter depending on what the filer supports. What would be the best way to make such a determination? Version check or is there a way to describe snapshot-list-info specification on a system to get valid input parameter names?



NetApp Alumni

Hi Adrienne,

The "volume" input parameter is not going away for snapshot-list-info.  Note that "volume" is not deprecated. It was recommended because I believe the snapshot team was planning to deprecate "volume", but never got around to it.  With all the effort focused on clustered ONTAP, this parameter will not be changed.

If you want to check parameters, the system-api-list and system-api-get-elements APIs can be used.  Also ONTAPI 1.5 is ONTAP 7.1.  See my API matrix blog for details.  With the API system-get-api-version, you can check for 1.5 and with system-get-version, you can check for 7.1.  Another approach is to use "target-type" and "target-name" and if it fails, revert to using "volume".


    - Rick -

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner