Volumes
Volumes
Create a New Block Storage Volume
client.gpuDroplets.volumes.create(VolumeCreateParamsbody, RequestOptionsoptions?): VolumeCreateResponse { volume }
/v2/volumes
Delete a Block Storage Volume
client.gpuDroplets.volumes.delete(stringvolumeID, RequestOptionsoptions?): void
/v2/volumes/{volume_id}
Delete a Block Storage Volume by Name
client.gpuDroplets.volumes.deleteByName(VolumeDeleteByNameParams { name, region } params?, RequestOptionsoptions?): void
/v2/volumes
List All Block Storage Volumes
client.gpuDroplets.volumes.list(VolumeListParams { name, page, per_page, region } query?, RequestOptionsoptions?): VolumeListResponse { meta, volumes, links }
/v2/volumes
Retrieve an Existing Block Storage Volume
client.gpuDroplets.volumes.retrieve(stringvolumeID, RequestOptionsoptions?): VolumeRetrieveResponse { volume }
/v2/volumes/{volume_id}
VolumesActions
Initiate A Block Storage Action By Volume Id
client.gpuDroplets.volumes.actions.initiateByID(stringvolumeID, ActionInitiateByIDParamsparams, RequestOptionsoptions?): ActionInitiateByIDResponse { action }
/v2/volumes/{volume_id}/actions
Initiate A Block Storage Action By Volume Name
client.gpuDroplets.volumes.actions.initiateByName(ActionInitiateByNameParamsparams, RequestOptionsoptions?): ActionInitiateByNameResponse { action }
/v2/volumes/actions
List All Actions for a Volume
client.gpuDroplets.volumes.actions.list(stringvolumeID, ActionListParams { page, per_page } query?, RequestOptionsoptions?): ActionListResponse { meta, actions, links }
/v2/volumes/{volume_id}/actions
Retrieve an Existing Volume Action
client.gpuDroplets.volumes.actions.retrieve(numberactionID, ActionRetrieveParams { volume_id, page, per_page } params, RequestOptionsoptions?): ActionRetrieveResponse { action }
/v2/volumes/{volume_id}/actions/{action_id}
Models
VolumesSnapshots
Create Snapshot from a Volume
client.gpuDroplets.volumes.snapshots.create(stringvolumeID, SnapshotCreateParams { name, tags } body, RequestOptionsoptions?): SnapshotCreateResponse { snapshot }
/v2/volumes/{volume_id}/snapshots
Delete a Volume Snapshot
client.gpuDroplets.volumes.snapshots.delete(stringsnapshotID, RequestOptionsoptions?): void
/v2/volumes/snapshots/{snapshot_id}
List Snapshots for a Volume
client.gpuDroplets.volumes.snapshots.list(stringvolumeID, SnapshotListParams { page, per_page } query?, RequestOptionsoptions?): SnapshotListResponse { meta, links, snapshots }
/v2/volumes/{volume_id}/snapshots
Retrieve an Existing Volume Snapshot
client.gpuDroplets.volumes.snapshots.retrieve(stringsnapshotID, RequestOptionsoptions?): SnapshotRetrieveResponse { snapshot }
/v2/volumes/snapshots/{snapshot_id}