The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::Gandi::Hosting::Disk - Interface to manage Disk.

DESCRIPTION

A disk represents a virtual storage device you can attached to a VM. It then behaves like a block device where you can read and write data.

disk_list

List the disks associated with apikey that match the filter.

Available params are:

  • id

  • state

  • size

  • name

  • type

  • vm_id

  • datacenter_id

  • items_per_page

  • page

  • sort_by

disk_count

Returns the number of VMs associated with apikey, matched by filters, if specified.

Available params are:

  • id

  • state

  • size

  • name

  • type

  • vm_id

  • datacenter_id

disk_info

Return a mapping of the disk attributes.

Parameter: None

disk_get_options

Returns available kernels and kernel options for this disk.

Parameter: None

disk_create

Create a disk.

disk_create_from

Create a disk with the same data as the disk identified by src_disk_id.

disk_update

Update the disk to match the expected attributes.

disk_delete

Delete a disk. Warning, erase data. Free the quota used by the disk size.

AUTHOR

Natal Ngétal, <hobbestig@cpan.org>

1 POD Error

The following errors were encountered while parsing the POD:

Around line 204:

Non-ASCII character seen before =encoding in 'Ngétal,'. Assuming UTF-8