Skip to content

Nfs

Create a new NFS share
client.Nfs.New(ctx, body) (*NfNewResponse, error)
post/v2/nfs
List NFS shares per region
client.Nfs.List(ctx, query) (*NfListResponse, error)
get/v2/nfs
Get an NFS share
client.Nfs.Get(ctx, nfsID, query) (*NfGetResponse, error)
get/v2/nfs/{nfs_id}
Delete an NFS share
client.Nfs.Delete(ctx, nfsID, body) error
delete/v2/nfs/{nfs_id}
Initiate an NFS action
client.Nfs.InitiateAction(ctx, nfsID, body) (*NfInitiateActionResponse, error)
post/v2/nfs/{nfs_id}/actions

NfsSnapshots

List NFS snapshots per region
client.Nfs.Snapshots.List(ctx, query) (*NfSnapshotListResponse, error)
get/v2/nfs/snapshots
Get an NFS snapshot by ID
client.Nfs.Snapshots.Get(ctx, nfsSnapshotID, query) (*NfSnapshotGetResponse, error)
get/v2/nfs/snapshots/{nfs_snapshot_id}
Delete an NFS snapshot
client.Nfs.Snapshots.Delete(ctx, nfsSnapshotID, body) error
delete/v2/nfs/snapshots/{nfs_snapshot_id}