Web Services Sample Codes

You can use the DataFabric Manager Web services APIs 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

Chargeback  management

Sample code to demonstrate how to collect chargeback information about primary and secondary storage of a dataset.

Chargeback.java

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

-