Core APIs are used to make API calls to a NetApp storage system, a DataFabric Manager server, or an IBM N series system.
The Core API sample codes demonstrate setting up the network connections, server style, and transport type, invoking commands to the server, and retrieving data. The following list describes different sample codes, and provides the links to view those codes.
|
|
|
Sample code in six languages |
|||||||
|
Name |
Description |
C |
Perl |
Java |
C# |
VB.NET |
PowerShell |
Python |
Ruby |
|
Connecting to the NetApp storage system |
This sample code demonstrates the following:
|
hello_ontapi.c |
hello_ontapi.pl |
hello_ontapi.java |
hello_ontapi.cs |
hello_ontapi.vb |
hello_ontapi.ps1 |
hello_ontapi.py |
hello_ontapi.rb
|
|
Using encryption |
The sample code demonstrates usage of data encryption using the core API. |
encrypt_string.c |
encrypt_string.pl |
- |
encrypt_string.cs |
encrypt_string.vb |
encrypt_string.ps1 |
-
|
- |
|
SnapVault |
This sample code shows the management of SnapVault. It demonstrates the use of following operations:
|
snapvault.c |
snapvault.pl |
snapvault.java |
- |
- |
- |
snapvault.py |
snapvault.rb |