OnCommand web services sample codes

You can use the Web services APIs for OnCommand Package to retrieve information about the DataFabric Manager server version, vFiler units management, chargeback metrics collections, and so on.

The following list describes sample codes that demonstrate the use of a few Web services APIs. The list also provides links to view the codes.

Name

Description

Sample code in Java

Sample code in C#

Hello DataFabric Manager

Sample code to demonstrate how to get the version number of the DataFabric Manager server by using the HTTP or HTTPS protocol.

HelloDfm.java

view

HelloDfm.cs

view

MultiStore management

Sample code to manage vFiler units. You can create and delete vFiler units; and create, list, and delete vFiler templates.

Vfiler.java

view

 Vfiler.cs

view

Usage Metrics

Sample code to demonstrate how to compute and retrieve sspace utilization and I/O measurement for a dataset node.

UsageMetrics.java

view

UsageMetrics.cs

view

Storage service  management

Sample code to demonstrate how to manage storage services and provision storage. You can create a new storage service with backup or mirror protection policy, list or delete storage service, provision and de-provision storage, and resize storage.

StorageService.java

view

-