...
Method | Parameters | Description |
---|---|---|
share_createNfs | $pid | Enable NFS share |
share_createFtp | $pid | Enable FTP account |
share_createCifs | $pid | Enable SMB share |
share_createIscsi | $pid | Enable iSCSI device |
share_deleteNfs | $pid | Disable NFS share |
share_deleteFtp | $pid | Disable FTP account |
share_deleteCifs | $pid | Disable SMB share |
share_deleteIscsi | $pid | Disable iSCSI device |
snapshot_createSnapshots | $pid, $comment | Create Snapshot |
snapshot_listSnapshots | $pid | List Snapshots (returns array) |
snapshot_deleteSnapshot | $snapshot_id | Delete Snapshot |
snapshot_rollbackSnapshot | $snapshot_id | Rollback Snapshot |
ipcontrol_removeIp | $pid, $service, $ip | Remove IP from ACL. $service must be iscsi, nfs or cifs |
ipcontrol_addIP | $pid, $service, $ip | Add IP tp to ACL. $service must be iscsi, nfs or cifs |
makeRequest | $method $apiEndoint $params $logFunction | get, post, put, delete |
user_getAllDetails | $pid | Return an object with all relevant user details, like volume name, full path, disk usage, enabled services, etc. |
...