Sample Code
Purpose
Manage ONTAP SDK provides sample codes for different APIs—SDK
Core APIs, Data ONTAP APIs, and other APIs that are used to make operating
system API calls (named Miscellaneous here).
This section contains
SDK Core APIs—These sample code demonstrates how to connect
to the NetApp storage system, to set the connection style, to use data
encryption using the core API, and so on.
Data ONTAP APIs—These sample code demonstrates how to create
a clone for a flexible volume, to list the quota available on a storage
system, to manage Snapshot copies, to perform Snapshot operations, to
use the SNMP API, and so on.
Miscellaneous—These sample code demonstrates how to list
and create the symbolic link, to get the NFS, CIFS, and logical unit number
(LUN) mapping information for a given mount-point/drive on the host, and
to traverse directories
for fast file-system searching
using multithreading.