Packages
Packages are named collections of resources to describe the dimensions of either a container or a hardware virtual machine. These resources include (but are not limited to) RAM, DISK & CPU caps.
Last updated
Packages are named collections of resources to describe the dimensions of either a container or a hardware virtual machine. These resources include (but are not limited to) RAM, DISK & CPU caps.
Last updated
Provides a list of packages available in this datacenter.
The following are all optional inputs:
When any values are provided for one or more of the aforementioned inputs, the retrieved packages will match all of them.
When querying, wildcards (i.e. '') are allowed for string fields. For example, to list all packages with a name that starts with "foo", give "foo" as the package name.
An array of objects, of the form:
For all possible errors, see CloudAPI HTTP Responses.
or
Gets a package by name
or id
.
None
For all possible errors, see CloudAPI HTTP Responses.
or
Field
Type
Description
name
String
The "friendly" name for this package
memory
Number
How much memory will by available (in MiB)
disk
Number
How much disk space will be available (in MiB)
swap
Number
How much swap space will be available (in MiB)
lwps
Number
Maximum number of light-weight processes (threads) allowed
vcpus
Number
Number of vCPUs for this package
version
String
The version of this package
group
String
The group this package belongs to
flexible_disk
Boolean
Whether this is a flexible_disk package
Field
Type
Description
id
UUID
Unique id for this package
name
String
The "friendly" name for this package
memory
Number
How much memory will by available (in MiB)
disk
Number
How much disk space will be available (in MiB)
swap
Number
How much swap space will be available (in MiB)
lwps
Number
Maximum number of light-weight processes (threads) allowed
vcpus
Number
Number of vCPUs for this package
version
String
The version of this package
group
String
The group this package belongs to
description
String
A human-friendly description about this package
disks
Array
The disks this package contains (Allowed when flexible_disk is true
)
flexible_disk
Boolean
Whether this is a flexible_disk package (bhyve only)
default
Boolean
(deprecated) Whether this is the default package in this datacenter
Error Code
Description
ResourceNotFound
If :login
does not exist
Field
Type
Description
id
UUID
Unique id for this package
name
String
The "friendly" name for this package
memory
Number
How much memory will by available (in MiB)
disk
Number
How much disk space will be available (in MiB)
swap
Number
How much swap space will be available (in MiB)
lwps
Number
Maximum number of light-weight processes (threads) allowed
vcpus
Number
Number of vCPUs for this package
version
String
The version of this package
group
String
The group this package belongs to
description
String
A human-friendly description about this package
disks
Array
The disks this package contains (Allowed when flexible_disk is true
)
flexible_disk
Boolean
Whether this is a flexible_disk package (bhyve only)
default
Boolean
(deprecated) Whether this is the default package in this datacenter
Error Code
Description
ResourceNotFound
If :login
or :id
does not exist