π¦ Volumes
Get All
Returns a paginated list of Volumes you have permission to view.
LinodeClient linodeClient = new LinodeClient("apikey");
// Get All
List<Volume> list = await linodeClient.Volume.Get();Get One
Get information about a single Volume.
LinodeClient linodeClient = new LinodeClient("apikey");
long volumeId = 2035197;
// Get All
List<Volume> list = await linodeClient.Volume.Get(volumeId);Create
Creates a Volume on your Account. In order for this to complete successfully, your User must have the add_volumes grant. Creating a new Volume will start accruing additional charges on your account.
Update
Updates a Volume that you have permission to read_write.
Delete
Deletes a Volume you have permission to read_write.
Deleting a Volume is a destructive action and cannot be undone.
Deleting stops billing for the Volume. You will be billed for time used within the billing period the Volume was active.
Volumes that are migrating cannot be deleted until the migration is finished.
Attach
Attaches a Volume on your Account to an existing Linode on your Account. In order for this request to complete successfully, your User must have read_write permission to the Volume and read_write permission to the Linode. Additionally, the Volume and Linode must be located in the same Region.
Detach
Detaches a Volume on your Account from a Linode on your Account. In order for this request to complete successfully, your User must have read_write access to the Volume and read_write access to the Linode.
Resize
Resize an existing Volume on your Account. In order for this request to complete successfully, your User must have the read_write permissions to the Volume.
Volumes can only be resized up.
Only Volumes with a status of βactiveβ can be resized.
Clone
Creates a Volume on your Account. In order for this request to complete successfully, your User must have the add_volumes grant. The new Volume will have the same size and data as the source Volume. Creating a new Volume will incur a charge on your Account.
Only Volumes with a
statusof βactiveβ can be cloned.
JSON
Last updated
Was this helpful?