An array of numbers representing the available disk space in each pool.
The size of the disk to be allocated.
A boolean value indicating whether the disk was successfully allocated or not. Returns true if the disk was allocated to a pool, false otherwise.
Fits disks into disk pools based on their sizes.
An array of disk sizes required to be fitted into the pool.
A DiskTypes enum value representing the type of disk being allocated.
Get farm id from farm name. It returns 0 in case the farm name is not found.
Sorts an array of numbers in descending order.
The array of numbers to be sorted in descending order.
Verifies the storage pool capacity of a node for different disk types.
An array of SSD disk sizes required for the deployment.
An array of HDD disk sizes required for the deployment.
An array of disk sizes required for the deployment's root file system.
The ID of the node to be verified.
Generated using TypeDoc
Allocates a disk of a given size to a list of disk pools.