Reference

Schemas

The objects the API returns. Operation pages link here wherever they use one.

Pagination

The envelope every paged list returns. The page items are in data; the results and page query parameters move through the set.

current_pageinteger#
first_page_urlstring#
frominteger#
last_pageinteger#
last_page_urlstring#
next_page_urlstring#nullable
pathstring#
per_pageinteger#
prev_page_urlstring#nullable
tointeger#
totalinteger#

Error

Error envelope used by most endpoints. errors is a list of human-readable messages.

errorsarray[string]#

ErrorMessage

Error envelope used by the older endpoints. msg is a single human-readable message.

msgstring#

ValidationError

Validation error envelope. errors maps each failing request field to its messages.

errorsobject#

QueueReference

Reference to a queued task. Poll GET /queue/{queueId} for progress.

queueIdinteger#

ID of the queued task.

Backup

A Backup Manager backup stored for a server disk.

serverIdinteger#
hypervisorIdinteger#
diskinteger#
chainIdinteger#
backupTypestring#
timestampinteger#
datestring <date-time>#
filestring#
sizeinteger#
virtualSizeinteger#
storageIdinteger#
storageBackendstring#
durationSecsnumber#
encryptedboolean#
diskFormatstring#
diskTypestring#
createdstring#nullable

BackupManagerJob

A Backup Manager job (backup or restore) and its progress.

typestring#
jobIdinteger#
serverIdinteger#
hypervisorIdinteger#
batchIdinteger#nullable
statusstring#
progressinteger#nullable
errorstring#nullable
exitCodeinteger#nullable
consistencyobject#nullable

Requested and achieved guest quiescing reported by the agent. Null for older jobs. Completion or a recovery thaw alone does not establish consistency.

fields
requestedstring#
Allowed values:frozenpausednone
achievedstring#
Allowed values:frozenpausednoneofflinenot_attempted
reasonstring#
freeze_fallback_pauseboolean#
durationnumber#
startedstring <date-time>#
finishedstring#nullable
createdstring <date-time>#

BackupManagerJobStarted

The job created when a backup or restore is started.

typestring#
jobIdinteger#
serverIdinteger#
hypervisorIdinteger#
statusstring#
startedstring <date-time>#

Hypervisor

A hypervisor as configured in VirtFusion.

idinteger#
commissionedinteger#
ipstring#
ipAltstring#nullable
hostnamestring#nullable
portinteger#
sshPortinteger#
namestring#
maintenanceboolean#
enabledboolean#
nfTypeinteger#

The network filter (firewall) implementation for servers on the hypervisor.

ValueMeaning
0None
1Libvirt
2Native standard
3Native performance, IPv4
4Native performance, IPv4 and IPv6
5Native privacy (experimental)
10Native v2 (experimental), the component-based filters configured on the hypervisor's settings page
groupobject#
fields
descriptionstring#nullable
idinteger#
namestring#
defaultboolean#
enabledboolean#
distributionTypeinteger#
createdstring <date-time>#
updatedstring <date-time>#
maxServersinteger#
maxCpuinteger#
maxMemoryinteger#
networksarray[object]#
item fields
typestring#
idinteger#
bridgestring#
primaryboolean#
defaultboolean#
createdstring <date-time>#
updatedstring <date-time>#
storagearray[any]#
createdstring <date-time>#
updatedstring <date-time>#
prohibitboolean#

When true the scheduler will not place new servers on the hypervisor.

Since 7.1.0

The remaining writable properties, under the names PUT /compute/hypervisors/{hypervisorId} accepts. Only on GET /compute/hypervisors/{hypervisorId}, not in the paged list.

Since 7.1.0

HypervisorSettings

The hypervisor properties beyond the base resource that the update endpoint accepts, as read back.

groupIdinteger#
licenseTypeinteger#

The licence the hypervisor runs under, as on the hypervisor page.

ValueMeaning
1Unlimited servers
21 server
32 servers
43 servers
54 servers
65 servers
735 servers
Allowed values:1234567
diskTypestring#

Default disk image type for new servers.

Allowed values:inheritqcow2raw
diskCacheTypestring#
Allowed values:inheritnonewritethroughwritebackdirectsyncunsafe
diskDriverIointeger#

Default disk driver IO mode for servers on the hypervisor.

ValueMeaning
0Inherit
1threads
2native
3io_uring
4Libvirt default
Allowed values:01234
backupStorageTypeinteger#

Which backup storage the hypervisor may use.

ValueMeaning
1None
2Directly assigned storage only
3Group assigned storage only
4Group and directly assigned storage
Allowed values:1234
cpuModelstring#nullable

The hypervisor's CPU model name used for host-model matching; null when not set.

cpuSetstring#nullable

CPU set servers are pinned to, libvirt cpuset syntax (digits, commas, ranges and ^ exclusions), e.g. 0-7,^3.

defaultCpustring#

Default CPU model for new servers; inherit or a libvirt CPU model name.

defaultMachineTypestring#
Allowed values:inheritq35pc
exposeVncDetailsinteger#
Allowed values:012
forceIpv6boolean#
vncListenTypeinteger#
Allowed values:12
timezonestring#

An IANA timezone name from the Control Server's list.

displayNamestring#nullable
trafficCountDirectioninteger#

Which direction counts towards the allowance.

ValueMeaning
0Inherit from the hypervisor, then the global setting
1Inbound and outbound
2Inbound only
3Outbound only
Allowed values:0123
trafficLimitActioninteger#nullable

What happens when the allowance is reached.

ValueMeaning
1Nothing
2Throttle the network
nullInherit
Allowed values:12null
trafficLimitThrottleIninteger#nullable

Inbound throttle speed in kB/s applied while over the allowance. null inherits.

trafficLimitThrottleOutinteger#nullable

Outbound throttle speed in kB/s applied while over the allowance. null inherits.

trafficLimitNotification1integer#nullable

First alert threshold as a percentage of the allowance. 0 disables, null inherits.

Allowed values:050607080null
trafficLimitNotification2integer#nullable

Second alert threshold as a percentage of the allowance. 0 disables, null inherits.

Allowed values:0859095null
configobject#

Per-hypervisor configuration keys. Flags are booleans; vendorIdValue and spinlocksValue are strings.

fields
hypervobject#

Hyper-V enlightenments applied to servers that have them enabled.

fields
passthroughboolean#
relaxedboolean#
vapicboolean#
spinlocksboolean#
vpindexboolean#
runtimeboolean#
synicboolean#
stimerboolean#
resetboolean#
vendorIdboolean#
frequenciesboolean#
reenlightenmentboolean#
tlbflushboolean#
ipiboolean#
evmcsboolean#
clockEnabledboolean#
vendorIdValuestring#

Vendor ID string, 1 to 12 characters of letters, digits, space, dot, dash or underscore.

spinlocksValuestring#

Spinlock retry count, 4095 or more.

cpuflagsobject#
fields
topoextboolean#
svmboolean#
vmxboolean#

A hypervisor's native network filter v2 settings. Meaningful when nfType is 10. Changing any of them marks the hypervisor pending until its filters are regenerated.

NetworkFilterSettings fields
componentsarray[string]#nullable

The selected component keys, from GET /compute/networkFilters/components. null selects the recommended set.

managementRangesarray[string]#

CIDRs servers may not reach, the metadata address excepted. Used by mgmt-protect.

metadataAddressstring#nullable

IPv4 address reachable even inside a management range. null means 169.254.169.254.

rateLimitsNetworkFilterRateLimits#nullable

Frames per second per interface; a burst of twice the rate is allowed. A key left out or null inherits. null as a whole inherits everything.

NetworkFilterRateLimits fields
arpinteger#nullable
Range: at least 1
ndinteger#nullable
Range: at least 1
bcastinteger#nullable
Range: at least 1
syninteger#nullable
Range: at least 1
blockedPortsOutNetworkFilterPortList#nullable

Destination ports, each a port or a low-high range in 1 to 65535. Overlapping ranges are merged. On a hypervisor, null and empty lists both mean no ports. On an interface, null means the hypervisor's list and empty lists mean none for that interface.

Example: {"tcp":["25","465","587"],"udp":[]}
NetworkFilterPortList fields
tcparray[string]#
udparray[string]#
blockedPortsInNetworkFilterPortList#nullable

Destination ports, each a port or a low-high range in 1 to 65535. Overlapping ranges are merged. On a hypervisor, null and empty lists both mean no ports. On an interface, null means the hypervisor's list and empty lists mean none for that interface.

Example: {"tcp":["25","465","587"],"udp":[]}
NetworkFilterPortList fields
tcparray[string]#
udparray[string]#
blockOnFailureboolean#

When true, a server's start, build or migration stops if its filter cannot be applied. When false, the default, it goes ahead and the failure is reported in lastResult. Takes effect when the filters are regenerated.

firewallEnginestring#

Where the servers' firewall rules are enforced: libvirt's nwfilter, the default, or an nft table of their own (experimental, needs the kernel's bridge connection tracking). The hypervisor switches when the filters are regenerated and reports in lastResult what stops it.

Allowed values:nwfilternative
Example: nwfilter
Since 7.1.0
firewallEngineStatestring#nullableread-only

The engine the hypervisor was on when its filters were last regenerated; null before the first regenerate.

Allowed values:nwfilterconvertingnativereverting
Since 7.1.0
pendingboolean#read-only

A change has been saved, or a filter could not be applied, and the hypervisor's servers have not been regenerated since.

lastResultstring#nullableread-only

What the last regenerate reported, running while one runs, or the latest filter failure a server was started or migrated past.

How the hypervisor starts its servers after a reboot. The defaults are one server at a time, ten seconds apart.

AutostartSettings fields
concurrencyinteger#

How many servers may be starting at the same time.

Range: 1 to 20
Example: 5
Since 7.1.0
gapinteger#

The least number of seconds between one start and the next.

Range: 0 to 60
Example: 10
Since 7.1.0

ServerNote

A note on a server. Every administrator sees it; the origin says who or what wrote it.

idinteger#
Example: 412
categoryinteger#

1 general, 2 suspension, 3 abuse, 4 billing, 5 maintenance.

Allowed values:12345
categoryNamestring#
Example: Suspension
originstring#

Who wrote it.

Allowed values:AdminAPISystem
originNamestring#nullable

The administrator's name, or the API token's name.

Example: WHMCS
formatstring#
Allowed values:textcode
contentstring#
createdstring <date-time>#
updatedstring <date-time>#

AutostartSettings

How the hypervisor starts its servers after a reboot. The defaults are one server at a time, ten seconds apart.

concurrencyinteger#

How many servers may be starting at the same time.

Range: 1 to 20
Example: 5
Since 7.1.0
gapinteger#

The least number of seconds between one start and the next.

Range: 0 to 60
Example: 10
Since 7.1.0

NetworkFilterSettings

A hypervisor's native network filter v2 settings. Meaningful when nfType is 10. Changing any of them marks the hypervisor pending until its filters are regenerated.

componentsarray[string]#nullable

The selected component keys, from GET /compute/networkFilters/components. null selects the recommended set.

managementRangesarray[string]#

CIDRs servers may not reach, the metadata address excepted. Used by mgmt-protect.

metadataAddressstring#nullable

IPv4 address reachable even inside a management range. null means 169.254.169.254.

rateLimitsNetworkFilterRateLimits#nullable

Frames per second per interface; a burst of twice the rate is allowed. A key left out or null inherits. null as a whole inherits everything.

NetworkFilterRateLimits fields
arpinteger#nullable
Range: at least 1
ndinteger#nullable
Range: at least 1
bcastinteger#nullable
Range: at least 1
syninteger#nullable
Range: at least 1
blockedPortsOutNetworkFilterPortList#nullable

Destination ports, each a port or a low-high range in 1 to 65535. Overlapping ranges are merged. On a hypervisor, null and empty lists both mean no ports. On an interface, null means the hypervisor's list and empty lists mean none for that interface.

Example: {"tcp":["25","465","587"],"udp":[]}
NetworkFilterPortList fields
tcparray[string]#
udparray[string]#
blockedPortsInNetworkFilterPortList#nullable

Destination ports, each a port or a low-high range in 1 to 65535. Overlapping ranges are merged. On a hypervisor, null and empty lists both mean no ports. On an interface, null means the hypervisor's list and empty lists mean none for that interface.

Example: {"tcp":["25","465","587"],"udp":[]}
NetworkFilterPortList fields
tcparray[string]#
udparray[string]#
blockOnFailureboolean#

When true, a server's start, build or migration stops if its filter cannot be applied. When false, the default, it goes ahead and the failure is reported in lastResult. Takes effect when the filters are regenerated.

firewallEnginestring#

Where the servers' firewall rules are enforced: libvirt's nwfilter, the default, or an nft table of their own (experimental, needs the kernel's bridge connection tracking). The hypervisor switches when the filters are regenerated and reports in lastResult what stops it.

Allowed values:nwfilternative
Example: nwfilter
Since 7.1.0
firewallEngineStatestring#nullableread-only

The engine the hypervisor was on when its filters were last regenerated; null before the first regenerate.

Allowed values:nwfilterconvertingnativereverting
Since 7.1.0
pendingboolean#read-only

A change has been saved, or a filter could not be applied, and the hypervisor's servers have not been regenerated since.

lastResultstring#nullableread-only

What the last regenerate reported, running while one runs, or the latest filter failure a server was started or migrated past.

NetworkFilterRateLimits

Frames per second per interface; a burst of twice the rate is allowed. A key left out or null inherits. null as a whole inherits everything.

arpinteger#nullable
Range: at least 1
ndinteger#nullable
Range: at least 1
bcastinteger#nullable
Range: at least 1
syninteger#nullable
Range: at least 1

NetworkFilterPortList

Destination ports, each a port or a low-high range in 1 to 65535. Overlapping ranges are merged. On a hypervisor, null and empty lists both mean no ports. On an interface, null means the hypervisor's list and empty lists mean none for that interface.

tcparray[string]#
udparray[string]#

NetworkFilterInterfaceSettings

An interface's native network filter v2 overrides. Each null means the hypervisor's setting applies.

componentsarray[string]#nullable

The interface's own component selection, or null for the hypervisor's.

linkLocalany#nullable

null when the interface's IPv6 link-local address is unknown, eui64 to derive it from the MAC, or an array of fe80: addresses.

blockedPortsOutNetworkFilterPortList#nullable

Destination ports, each a port or a low-high range in 1 to 65535. Overlapping ranges are merged. On a hypervisor, null and empty lists both mean no ports. On an interface, null means the hypervisor's list and empty lists mean none for that interface.

Example: {"tcp":["25","465","587"],"udp":[]}
NetworkFilterPortList fields
tcparray[string]#
udparray[string]#
blockedPortsInNetworkFilterPortList#nullable

Destination ports, each a port or a low-high range in 1 to 65535. Overlapping ranges are merged. On a hypervisor, null and empty lists both mean no ports. On an interface, null means the hypervisor's list and empty lists mean none for that interface.

Example: {"tcp":["25","465","587"],"udp":[]}
NetworkFilterPortList fields
tcparray[string]#
udparray[string]#
rateLimitsNetworkFilterRateLimits#nullable

Frames per second per interface; a burst of twice the rate is allowed. A key left out or null inherits. null as a whole inherits everything.

NetworkFilterRateLimits fields
arpinteger#nullable
Range: at least 1
ndinteger#nullable
Range: at least 1
bcastinteger#nullable
Range: at least 1
syninteger#nullable
Range: at least 1

NetworkFilterComponent

keystring#
recommendedboolean#

In the recommended set, which a null selection means.

alwaysOnboolean#

Cannot be deselected.

HypervisorUpdate

Request body for PUT /compute/hypervisors/{hypervisorId}. Every field is optional; only the fields sent are changed. Unknown fields are rejected, as are the address fields hostname, ip, ipAlt, port and sshPort, which are set in the administration area only.

namestring#
Length: 3 to 150 characters
maintenanceboolean#
enabledboolean#
prohibitboolean#
groupIdinteger#

Must be an existing hypervisor group.

maxServersinteger#
Range: 0 to 9999
maxCpuinteger#
Range: 0 to 9999
maxMemoryinteger#

In MB.

Range: 0 to 99999999
nfTypeinteger#

The network filter (firewall) implementation for servers on the hypervisor.

ValueMeaning
0None
1Libvirt
2Native standard
3Native performance, IPv4
4Native performance, IPv4 and IPv6
5Native privacy (experimental)
10Native v2 (experimental), the component-based filters configured on the hypervisor's settings page
Allowed values:012345
licenseTypeinteger#

The licence the hypervisor runs under, as on the hypervisor page.

ValueMeaning
1Unlimited servers
21 server
32 servers
43 servers
54 servers
65 servers
735 servers
Allowed values:1234567
diskTypestring#
Allowed values:inheritqcow2raw
diskCacheTypestring#
Allowed values:inheritnonewritethroughwritebackdirectsyncunsafe
backupStorageTypeinteger#

Which backup storage the hypervisor may use.

ValueMeaning
1None
2Directly assigned storage only
3Group assigned storage only
4Group and directly assigned storage
Allowed values:1234
cpuModelstring#nullable
Length: at most 55 characters
defaultCpustring#

inherit or a libvirt CPU model name from the Control Server's list.

defaultMachineTypestring#
Allowed values:inheritq35pc
exposeVncDetailsinteger#
Allowed values:012
trafficCountDirectioninteger#

Which direction counts towards the allowance.

ValueMeaning
0Inherit from the hypervisor, then the global setting
1Inbound and outbound
2Inbound only
3Outbound only
Allowed values:0123
trafficLimitActioninteger#nullable

What happens when the allowance is reached.

ValueMeaning
1Nothing
2Throttle the network
nullInherit
Allowed values:12null
trafficLimitThrottleIninteger#nullable
Range: at least 0
trafficLimitThrottleOutinteger#nullable
Range: at least 0
trafficLimitNotification1integer#nullable
Allowed values:050607080null
trafficLimitNotification2integer#nullable
Allowed values:0859095null
forceIpv6boolean#
vncListenTypeinteger#
Allowed values:12
timezonestring#
displayNamestring#nullable
Length: 3 to 150 characters
cpuSetstring#nullable

libvirt cpuset syntax, e.g. 0-7,^3; null clears.

Length: at most 1300 characters
diskDriverIointeger#

Default disk driver IO mode for servers on the hypervisor.

ValueMeaning
0Inherit
1threads
2native
3io_uring
4Libvirt default
Allowed values:01234
configobject#

Any subset of the hyperv and cpuflags keys shown in HypervisorSettings. Flags accept true/false; spinlocksValue an integer of at least 4095; vendorIdValue 1 to 12 characters of letters, digits, space, dot, dash or underscore.

fields
hypervobject#
cpuflagsobject#
networkFilterobject#

Any subset of the NetworkFilterSettings fields except pending and lastResult. Rejected under config.

autostartobject#

Any subset of the AutostartSettings fields. Stored, then sent to the hypervisor. Rejected under config.

Since 7.1.0

HypervisorNetwork

A network (bridge) on a hypervisor, with the IP block group bound to it and the IP blocks bound directly to it there.

idinteger#
hypervisorIdinteger#
namestring#

The primary network reads as Primary when it has no name of its own.

bridgestring#

The device on the hypervisor the servers attach to: a Linux or Open vSwitch bridge, a Libvirt network name, or the physical interface for MacVTap, depending on type. No spaces, unique per hypervisor.

typestring#

The network type. Each is named as on the hypervisor page, and bridge means something different for each:

TypeMeaning
simpleBridgeBridged. A Linux bridge on the hypervisor, such as br0. VLANs can be tagged on it.
lvBridgeOVSOpen vSwitch Bridged. An Open vSwitch bridge on the hypervisor controlled by Libvirt. VLANs can be tagged on it.
lvNetworkLibvirt Network. A Libvirt network defined on the hypervisor.
lvNetworkBridgeLibvirt Routed. A Libvirt network in routed mode.
lvNatv1NAT v1. A Libvirt NAT network; servers get private addresses and port forwards.
macVTapMacVTap. The physical interface the server attaches to directly, such as eth0.
Allowed values:simpleBridgelvNetworkBridgelvNetworkmacVTaplvNatv1lvBridgeOVS
mtuinteger#nullable
nfRouterMacsarray[string]#

MAC addresses of the routers on this bridge, used by native network filters v2 to accept router advertisements, redirects and multicast queries only from them. Empty when not set, which leaves those checks inactive for the bridge's interfaces.

nfDhcpMacsarray[string]#

MAC addresses of the DHCP servers on this bridge, used by native network filters v2 to accept DHCP and DHCPv6 replies only from them. List the routers too when a relay answers. Empty when not set.

primaryboolean#
defaultboolean#
enabledboolean#
ipBlockGroupobject#nullable
fields
idinteger#
namestring#
ipBlocksarray[object]#
item fields
idinteger#
namestring#
typeinteger#

4 for IPv4, 6 for IPv6.

createdstring <date-time>#
updatedstring <date-time>#

HypervisorNetworkSummary

A hypervisor network as referenced from a block binding.

idinteger#
namestring#
bridgestring#
typestring#
primaryboolean#

HypervisorIPBlock

An IP block as available on one hypervisor.

idinteger#
namestring#
typeinteger#

4 for IPv4, 6 for IPv6.

enabledboolean#
viastring#

direct when the block is bound to the hypervisor itself, group when it is reached through an IP block group bound to one of the hypervisor's networks.

Allowed values:directgroup

The hypervisor network the block's addresses are attached through on this hypervisor.

orderinteger#nullable

Allocation order on this hypervisor, 1 first; null when no order has been set.

IPBlockHypervisor

A hypervisor an IP block is directly bound to, seen from the block.

idinteger#
namestring#
orderinteger#nullable

HypervisorAsset

A hypervisor asset (such as a GPU or USB device) and whether it is attached to the server.

typeinteger#
descriptionstring#
idinteger#
groupIdinteger#
groupNamestring#
namestring#
labelstring#
enabledboolean#
provisionableboolean#
datastring#
hiddenboolean#

HypervisorGroup

A hypervisor group.

descriptionstring#nullable
idinteger#
namestring#
labelstring#nullable
distributionTypeinteger#
enabledboolean#
defaultboolean#
createdstring <date-time>#
updatedstring <date-time>#

HypervisorGroupResources

Per-hypervisor resource usage inside a hypervisor group.

hypervisorobject#
fields
idinteger#
namestring#
enabledboolean#
prohibitboolean#
acceptboolean#
commissionedboolean#
resourcesobject#
fields
serversobject#
fields
unitsstring#
maxinteger#
allocatedinteger#
freeinteger#
percentinteger#nullable
memoryobject#
fields
unitsstring#
maxinteger#
allocatedinteger#
freeinteger#
percentnumber#
cpuCoresobject#
fields
unitsstring#
maxinteger#
allocatedinteger#
freeinteger#
percentnumber#
localStorageobject#
fields
enabledinteger#
namestring#
storageTypeinteger#
unitsstring#
maxinteger#
allocatedinteger#
freeinteger#
percentnumber#
otherStoragearray[object]#
item fields
idinteger#
namestring#
enabledinteger#
pathstring#nullable
unitsstring#
storageTypeinteger#
isDatastoreboolean#
maxinteger#
allocatedinteger#
freeinteger#
percentnumber#
networkobject#
fields
totalobject#
fields
ipv4object#
fields
freeinteger#

HypervisorMetrics

Hypervisor performance series. Windows longer than 24 hours are averaged into buckets.

cpuobject#
fields
xarray[integer]#
yarray[string]#
memoryobject#
fields
xarray[integer]#
yarray[string]#
loadobject#
fields
xarray[integer]#
onearray[string]#
fivearray[string]#
fifteenarray[string]#
fsarray[object]#
item fields
sourcestring#
xarray[integer]#
yarray[string]#

IPBlock

An IPv4 or IPv6 block.

typeinteger#
idinteger#
namestring#
ipv4object#
fields
gatewaystring#nullable
netmaskstring#nullable
resolversobject#
fields
primarystring#nullable
secondarystring#nullable
totalinteger#
usedTotalinteger#
freeTotalinteger#
ipv6object#
fields
gatewaystring#nullable
resolversobject#
fields
primarystring#nullable
secondarystring#nullable
subnetstring#nullable
frominteger#nullable
tointeger#nullable
restrictedarray[any]#
totalinteger#
generatedTotalinteger#
usedTotalinteger#
freeTotalinteger#
freeGeneratedinteger#
blacklistedTotalinteger#
rdnsTypeinteger#

How reverse DNS is handled for the block's addresses. The words none, automatic and zone are also accepted on write.

ValueMeaning
0None
1Automatic
2From the reverse DNS zone in rdnsZoneId, which is then required
rdnsZoneIdinteger#nullable
networkProfileinteger#
routeBlockinteger#nullable

The route block's ID, or null. Documented as a string before 7.1.0; it has always been the ID.

dhcpinteger#

1 when servers get their addresses by DHCP, 0 when they are configured statically.

enabledboolean#
createdstring <date-time>#
updatedstring <date-time>#

IPBlockCreate

A new IP block. name and type are required; every field of IPBlockUpdate may be sent as well.

namestring#
Length: 3 to 100 characters
enabledboolean#

Whether the block hands out addresses. An enabled IPv4 block needs a netmask; an enabled IPv6 block needs ipv6.subnet, ipv6.from and ipv6.to.

dhcpinteger#

1 when servers get their addresses by DHCP, 0 when they are configured statically. true and false are also accepted.

Allowed values:01
networkProfileinteger#

The network profile the block belongs to; 0 is any.

Range: 0 to 20
rdnsTypeinteger#

How reverse DNS is handled for the block's addresses. The words none, automatic and zone are also accepted on write.

ValueMeaning
0None
1Automatic
2From the reverse DNS zone in rdnsZoneId, which is then required
Allowed values:012
rdnsZoneIdinteger#nullable

The reverse DNS zone when rdnsType is 2; cleared otherwise.

routeBlockinteger#nullable

IPv6 blocks only. The route block whose networks are routed to the block's subnets, or null for none. Cannot change while subnets of this block are mapped into the current route block.

regenerateboolean#

With a change to ipv6.subnet, ipv6.from or ipv6.to, confirms that the generated subnets may be deleted. Not stored.

ipv4object#

IPv4 blocks only.

fields
gatewaystring#nullable
netmaskstring#nullable

A valid netmask such as 255.255.255.0. Required while the block is enabled.

resolversobject#
fields
primarystring#nullable
secondarystring#nullable
ipv6object#

IPv6 blocks only. The block is configured when subnet is set; from and to must then be set as well (a new block carries 48 and 64 until changed). Setting subnet to null clears the configuration.

fields
subnetstring#nullable

Any address inside the source prefix; stored as the prefix's first address. Null means the block is not configured.

frominteger#nullable

Prefix length of the source prefix. 48 on a new block.

Range: 26 to 128
tointeger#nullable

Prefix length of the subnets handed to servers; longer than from. 64 on a new block.

Range: 27 to 128
gatewaystring#nullable
resolversobject#
fields
primarystring#nullable
secondarystring#nullable
typeinteger#required

4 for an IPv4 block, 6 for an IPv6 block. Fixed once created.

Allowed values:46

IPBlockUpdate

The writable fields of an IP block, with the names and nesting the block GET uses. Only the fields sent are changed. The IPv4 object applies to IPv4 blocks and the IPv6 object to IPv6 blocks; the other family's object may be present as GET returns it (all values null) and is ignored. Read-only members (id, type, created, updated and the counters) are rejected by name.

namestring#
Length: 3 to 100 characters
enabledboolean#

Whether the block hands out addresses. An enabled IPv4 block needs a netmask; an enabled IPv6 block needs ipv6.subnet, ipv6.from and ipv6.to.

dhcpinteger#

1 when servers get their addresses by DHCP, 0 when they are configured statically. true and false are also accepted.

Allowed values:01
networkProfileinteger#

The network profile the block belongs to; 0 is any.

Range: 0 to 20
rdnsTypeinteger#

How reverse DNS is handled for the block's addresses. The words none, automatic and zone are also accepted on write.

ValueMeaning
0None
1Automatic
2From the reverse DNS zone in rdnsZoneId, which is then required
Allowed values:012
rdnsZoneIdinteger#nullable

The reverse DNS zone when rdnsType is 2; cleared otherwise.

routeBlockinteger#nullable

IPv6 blocks only. The route block whose networks are routed to the block's subnets, or null for none. Cannot change while subnets of this block are mapped into the current route block.

regenerateboolean#

With a change to ipv6.subnet, ipv6.from or ipv6.to, confirms that the generated subnets may be deleted. Not stored.

ipv4object#

IPv4 blocks only.

fields
gatewaystring#nullable
netmaskstring#nullable

A valid netmask such as 255.255.255.0. Required while the block is enabled.

resolversobject#
fields
primarystring#nullable
secondarystring#nullable
ipv6object#

IPv6 blocks only. The block is configured when subnet is set; from and to must then be set as well (a new block carries 48 and 64 until changed). Setting subnet to null clears the configuration.

fields
subnetstring#nullable

Any address inside the source prefix; stored as the prefix's first address. Null means the block is not configured.

frominteger#nullable

Prefix length of the source prefix. 48 on a new block.

Range: 26 to 128
tointeger#nullable

Prefix length of the subnets handed to servers; longer than from. 64 on a new block.

Range: 27 to 128
gatewaystring#nullable
resolversobject#
fields
primarystring#nullable
secondarystring#nullable

IPv4PopulateResult

The outcome of adding addresses to a block.

createdinteger#

Addresses added now.

existinginteger#

Addresses the block already had.

elsewhereinteger#

Addresses that belong to another block and were left there.

totalinteger#

Addresses in the block afterwards.

IPv6SubnetEntry

A generated subnet of an IPv6 block.

idinteger#
subnetstring#

The subnet's first address.

prefixinteger#nullable

The subnet's prefix length.

blockIdinteger#
serverIdinteger#nullable

The server the subnet is assigned to, or null when free.

interfaceIdinteger#nullable
interfaceSecondaryboolean#

Whether the interface it is assigned to is a secondary interface.

reservedboolean#

Reserved subnets are not handed out automatically.

exhaustedboolean#
createdstring <date-time>#nullable
updatedstring <date-time>#nullable

IPv6GenerateResult

What a generate call did.

createdinteger#

Subnets created by this call.

existinginteger#

Generated subnets the block had before this call.

exhaustedboolean#

True when the end of the source prefix was reached before count subnets were created; there is nothing more to generate.

cappedboolean#

True when the scan stopped at its per-call limit before count subnets were created; send scannedTo back as after to continue.

scannedTostring#nullable

The last subnet examined, to pass back as after. Null when exhausted.

IPBlockBlacklistEntry

A subnet kept out of generation and allocation.

idinteger#
subnetstring#
createdstring <date-time>#nullable

IPBlockGroup

A group of IP blocks that hypervisor networks are pointed at.

idinteger#
namestring#
blocksarray[object]#

The blocks in the group.

item fields
idinteger#
namestring#
typeinteger#

4 or 6.

hypervisorNetworksarray[object]#

The hypervisor networks bound to the group.

item fields
hypervisorIdinteger#
networkIdinteger#
createdstring <date-time>#nullable
updatedstring <date-time>#nullable

IPAuditEntry

One assignment or release of an address or subnet, as recorded at the time.

idinteger#
timestampstring <date-time>#

When it happened, in UTC.

actionstring#
Allowed values:assignedunassigned
ipVersioninteger#
Allowed values:46
ipstring#

The IPv4 address, or the IPv6 subnet with its prefix length.

blockIdinteger#nullable
blockNamestring#nullable
serverIdinteger#nullable
serverNamestring#nullable

The server's name at the time.

serverUuidstring#nullable
hypervisorIdinteger#nullable
hypervisorNamestring#nullable
userIdinteger#nullable
userNamestring#nullable

The owner's name at the time.

userEmailstring#nullable
userExtRelationIdstring#nullable

The owner's external relation ID at the time, for matching against a billing system.

ControlStatus

The Control Server's own state.

okboolean#

True when every check below passed.

versionobject#
fields
numberstring#

The build number, such as 7010000.

namestring#

The version as shown in the Control Server, such as 7.1.0.

branchstring#
datestring#
phpstring#
checksobject#
fields
databaseobject#
fields
okboolean#
versionstring#nullable
connectionsinteger#nullable
maxConnectionsinteger#nullable
cacheobject#
fields
okboolean#
schedulerobject#

The Control Server's scheduled tasks and whether each ran when expected.

fields
okboolean#
overduearray[string]#

Names of tasks that have not run when they should have.

tasksarray[object]#
item fields
namestring#
statusstring#nullable
lastStartedstring <date-time>#nullable
lastFinishedstring <date-time>#nullable
overdueboolean#
cronobject#nullable

The cron entry that drives the scheduler. Null on a Control Server where it cannot be checked.

fields
okboolean#
statusstring#nullable
issuesarray[string]#
hypervisorAlertsinteger#

Hypervisor alerts currently raised on the Control Server.

checkedAtstring <date-time>#

IPv4Address

A single IPv4 address inside a block, with its assignment if any.

idinteger#
addressstring#
reservedboolean#
serverIdinteger#nullable
blockIdinteger#
subBlockIdinteger#nullable
interfaceIdinteger#nullable
interfaceSecondaryboolean#
orderinteger#
ptrDomainstring#nullable
macstring#nullable
notestring#nullable
createdstring <date-time>#
updatedstring <date-time>#

Package

A server package. trafficPolicy carries the per-package traffic policy overrides; null values inherit.

descriptionstring#nullable
idinteger#
namestring#
enabledboolean#
memoryinteger#
primaryStorageinteger#
trafficinteger#
trafficPolicyobject#
Since 7.1.0
fields
trafficCountDirectioninteger#

Which direction counts towards the allowance.

ValueMeaning
0Inherit from the hypervisor, then the global setting
1Inbound and outbound
2Inbound only
3Outbound only
Since 7.1.0
trafficLimitActioninteger#nullable

What happens when the allowance is reached.

ValueMeaning
1Nothing
2Throttle the network
nullInherit
Since 7.1.0
trafficLimitThrottleIninteger#nullable

Inbound throttle speed in kB/s; null inherits.

Since 7.1.0
trafficLimitThrottleOutinteger#nullable

Outbound throttle speed in kB/s; null inherits.

Since 7.1.0
trafficLimitNotification1integer#nullable

First usage alert as a percentage of the allowance; null inherits.

Since 7.1.0
trafficLimitNotification2integer#nullable

Second usage alert as a percentage of the allowance; null inherits.

Since 7.1.0
cpuCoresinteger#
primaryNetworkSpeedIninteger#
primaryNetworkSpeedOutinteger#
primaryDiskTypestring#
backupPlanIdinteger#
primaryStorageReadBytesSecinteger#nullable
primaryStorageWriteBytesSecinteger#nullable
primaryStorageReadIopsSecinteger#nullable
primaryStorageWriteIopsSecinteger#nullable
primaryStorageProfileinteger#
primaryNetworkProfileinteger#
createdstring <date-time>#
updatedstring <date-time>#nullable
primaryStorageProfileNamestring#nullable

The name of the storage profile primaryStorageProfile refers to. Read-only.

primaryNetworkProfileNamestring#nullable

The name of the network profile primaryNetworkProfile refers to. Read-only.

selfServiceDescriptionstring#nullable

The longer description shown in self service.

tokenValueinteger#
backupTypestring#

What Backup Manager access servers built from the package get.

Allowed values:inheritdisabledscheduledviewAndRestorefullmanual
firewallUserboolean#

Whether servers built from the package let their owner manage the firewall in the client area. Copied onto the server at build; existing servers keep their own setting. The global setting must allow it as well.

Since 7.1.0
PackageVirtualization fields
cpuModelstring#

inherit, or a CPU model name the Control Server offers.

machineTypestring#
Allowed values:inheritpcq35
pciPortsinteger#
Range: 10 to 32
cpuSharesinteger#
Range: 2 to 262144
cpuTopologyobject#
fields
enabledboolean#
socketsinteger#
Range: 1 to 36
coresinteger#
Range: 1 to 128
threadsinteger#
Range: 1 to 36
forceIpv6boolean#
additionalDisksarray[PackageAdditionalDisk]#

The two optional extra disks, slot 1 and slot 2, always both present.

PackageAdditionalDisk fields
slotinteger#

Which of the two extra disks. Required on write; a slot not sent is unchanged.

Allowed values:12
enabledboolean#
sizeGbinteger#
Range: 1 to 102400
formatstring#
Allowed values:inheritqcow2raw
storageProfileinteger#
Range: 0 to 20
qosobject#

Limits for the disk; null means unlimited.

fields
readIopsinteger#nullable
writeIopsinteger#nullable
readBytesinteger#nullable
writeBytesinteger#nullable
PackageSelfService fields
ipv4Addressesinteger#

IPv4 addresses a self-service server gets.

Range: 0 to 5
displayobject#

Text shown in self service instead of the raw figures; null shows the figure.

fields
namestring#nullable
memorystring#nullable
storagestring#nullable
coresstring#nullable
trafficstring#nullable
variableobject#

Sizes a self-service user may pick from, as real values. An empty list with a null default means the resource is not variable.

fields
PackageVariableChoice fields
optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

PackageVariableChoice fields
optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

PackageVariableChoice fields
optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

templateCollectionsarray[object]#

In order.

item fields
idinteger#
namestring#
firewallRulesetsarray[object]#

In order. Their rules are copied to a server built from the package.

item fields
idinteger#
namestring#
hypervisorAssetGroupsarray[object]#

In order.

item fields
idinteger#
namestring#
typestring#
Allowed values:devicecpu

PackageVirtualization

cpuModelstring#

inherit, or a CPU model name the Control Server offers.

machineTypestring#
Allowed values:inheritpcq35
pciPortsinteger#
Range: 10 to 32
cpuSharesinteger#
Range: 2 to 262144
cpuTopologyobject#
fields
enabledboolean#
socketsinteger#
Range: 1 to 36
coresinteger#
Range: 1 to 128
threadsinteger#
Range: 1 to 36
forceIpv6boolean#

PackageAdditionalDisk

slotinteger#

Which of the two extra disks. Required on write; a slot not sent is unchanged.

Allowed values:12
enabledboolean#
sizeGbinteger#
Range: 1 to 102400
formatstring#
Allowed values:inheritqcow2raw
storageProfileinteger#
Range: 0 to 20
qosobject#

Limits for the disk; null means unlimited.

fields
readIopsinteger#nullable
writeIopsinteger#nullable
readBytesinteger#nullable
writeBytesinteger#nullable

PackageSelfService

ipv4Addressesinteger#

IPv4 addresses a self-service server gets.

Range: 0 to 5
displayobject#

Text shown in self service instead of the raw figures; null shows the figure.

fields
namestring#nullable
memorystring#nullable
storagestring#nullable
coresstring#nullable
trafficstring#nullable
variableobject#

Sizes a self-service user may pick from, as real values. An empty list with a null default means the resource is not variable.

fields
PackageVariableChoice fields
optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

PackageVariableChoice fields
optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

PackageVariableChoice fields
optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

PackageVariableChoice

optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

PackageUpdate

The writable fields of a package, named as the package GET names them. Send only what changes. Objects merge field by field; additionalDisks merges per slot; the three relation lists replace the stored list in the order given, as ids or as the GET entries, and [] clears one. Read-only members (id, created, updated, the two profile names, and name or type inside relation entries) are rejected by name.

namestring#
Length: 3 to 150 characters
descriptionstring#nullable
Length: at most 500 characters
selfServiceDescriptionstring#nullable
enabledboolean#
memoryinteger#

MB.

Range: 64 to 2097152
primaryStorageinteger#

GB.

Range: 1 to 102400
trafficinteger#

GB per period; 0 is unlimited.

Range: at least 0
trafficPolicyobject#

The same six fields the GET returns; null inherits.

cpuCoresinteger#
Range: 1 to 600
primaryNetworkSpeedIninteger#
Range: at least 0
primaryNetworkSpeedOutinteger#
Range: at least 0
primaryDiskTypestring#
Allowed values:inheritqcow2raw
backupPlanIdinteger#nullable

A backup plan id, or null for none.

backupTypestring#
Allowed values:inheritdisabledscheduledviewAndRestorefullmanual
firewallUserboolean#

Whether servers built from the package let their owner manage the firewall in the client area. Default false.

Since 7.1.0
tokenValueinteger#
Range: at least 0
primaryStorageReadBytesSecinteger#nullable
primaryStorageWriteBytesSecinteger#nullable
primaryStorageReadIopsSecinteger#nullable
primaryStorageWriteIopsSecinteger#nullable
primaryStorageProfileinteger#
Range: 0 to 20
primaryNetworkProfileinteger#
Range: 0 to 20
PackageVirtualization fields
cpuModelstring#

inherit, or a CPU model name the Control Server offers.

machineTypestring#
Allowed values:inheritpcq35
pciPortsinteger#
Range: 10 to 32
cpuSharesinteger#
Range: 2 to 262144
cpuTopologyobject#
fields
enabledboolean#
socketsinteger#
Range: 1 to 36
coresinteger#
Range: 1 to 128
threadsinteger#
Range: 1 to 36
forceIpv6boolean#
additionalDisksarray[PackageAdditionalDisk]#
PackageAdditionalDisk fields
slotinteger#

Which of the two extra disks. Required on write; a slot not sent is unchanged.

Allowed values:12
enabledboolean#
sizeGbinteger#
Range: 1 to 102400
formatstring#
Allowed values:inheritqcow2raw
storageProfileinteger#
Range: 0 to 20
qosobject#

Limits for the disk; null means unlimited.

fields
readIopsinteger#nullable
writeIopsinteger#nullable
readBytesinteger#nullable
writeBytesinteger#nullable
PackageSelfService fields
ipv4Addressesinteger#

IPv4 addresses a self-service server gets.

Range: 0 to 5
displayobject#

Text shown in self service instead of the raw figures; null shows the figure.

fields
namestring#nullable
memorystring#nullable
storagestring#nullable
coresstring#nullable
trafficstring#nullable
variableobject#

Sizes a self-service user may pick from, as real values. An empty list with a null default means the resource is not variable.

fields
PackageVariableChoice fields
optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

PackageVariableChoice fields
optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

PackageVariableChoice fields
optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

templateCollectionsarray[any]#
firewallRulesetsarray[any]#
hypervisorAssetGroupsarray[any]#

PackageCreate

namestring#
Length: 3 to 150 characters
descriptionstring#nullable
Length: at most 500 characters
selfServiceDescriptionstring#nullable
enabledboolean#
memoryinteger#

MB.

Range: 64 to 2097152
primaryStorageinteger#

GB.

Range: 1 to 102400
trafficinteger#

GB per period; 0 is unlimited.

Range: at least 0
trafficPolicyobject#

The same six fields the GET returns; null inherits.

cpuCoresinteger#
Range: 1 to 600
primaryNetworkSpeedIninteger#
Range: at least 0
primaryNetworkSpeedOutinteger#
Range: at least 0
primaryDiskTypestring#
Allowed values:inheritqcow2raw
backupPlanIdinteger#nullable

A backup plan id, or null for none.

backupTypestring#
Allowed values:inheritdisabledscheduledviewAndRestorefullmanual
firewallUserboolean#

Whether servers built from the package let their owner manage the firewall in the client area. Default false.

Since 7.1.0
tokenValueinteger#
Range: at least 0
primaryStorageReadBytesSecinteger#nullable
primaryStorageWriteBytesSecinteger#nullable
primaryStorageReadIopsSecinteger#nullable
primaryStorageWriteIopsSecinteger#nullable
primaryStorageProfileinteger#
Range: 0 to 20
primaryNetworkProfileinteger#
Range: 0 to 20
PackageVirtualization fields
cpuModelstring#

inherit, or a CPU model name the Control Server offers.

machineTypestring#
Allowed values:inheritpcq35
pciPortsinteger#
Range: 10 to 32
cpuSharesinteger#
Range: 2 to 262144
cpuTopologyobject#
fields
enabledboolean#
socketsinteger#
Range: 1 to 36
coresinteger#
Range: 1 to 128
threadsinteger#
Range: 1 to 36
forceIpv6boolean#
additionalDisksarray[PackageAdditionalDisk]#
PackageAdditionalDisk fields
slotinteger#

Which of the two extra disks. Required on write; a slot not sent is unchanged.

Allowed values:12
enabledboolean#
sizeGbinteger#
Range: 1 to 102400
formatstring#
Allowed values:inheritqcow2raw
storageProfileinteger#
Range: 0 to 20
qosobject#

Limits for the disk; null means unlimited.

fields
readIopsinteger#nullable
writeIopsinteger#nullable
readBytesinteger#nullable
writeBytesinteger#nullable
PackageSelfService fields
ipv4Addressesinteger#

IPv4 addresses a self-service server gets.

Range: 0 to 5
displayobject#

Text shown in self service instead of the raw figures; null shows the figure.

fields
namestring#nullable
memorystring#nullable
storagestring#nullable
coresstring#nullable
trafficstring#nullable
variableobject#

Sizes a self-service user may pick from, as real values. An empty list with a null default means the resource is not variable.

fields
PackageVariableChoice fields
optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

PackageVariableChoice fields
optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

PackageVariableChoice fields
optionsarray[integer]#

The offered sizes, ascending. A size the Control Server does not offer is refused, naming the nearest it does.

defaultinteger#nullable

One of the options, or null.

templateCollectionsarray[any]#
firewallRulesetsarray[any]#
hypervisorAssetGroupsarray[any]#

QueueItemSummary

A queued task without its actions and errors, the row of the queue lists and the head of QueueItem.

idinteger#
jobIdstring#
jobstring#
hypervisorIdinteger#nullable
serverIdinteger#nullable
actionstring#
queuestring#
statestring#
Allowed values:pendingrunningfinishedfailed
startedstring <date-time>#nullable
updatedstring <date-time>#nullable
finishedstring <date-time>#nullable
failedboolean#
progressinteger#

ServerAction

A deferred action of a server, picked up by a later power action at its run stage.

idinteger#
queueIdinteger#nullable

The task that picked the action up, once one has.

actionstring#

The label shown to administrators.

actionTypestring#

The kind, such as disk.create, disk.destroy, storage.increase, memory.update or cpu.update.

runStagestring#

When a power action runs it, such as afterStopped.

requiresarray[string]#

The power actions that may pick it up.

statestring#
Allowed values:pendingrunningcompletedfailedstuck
outputstring#nullable
payloadany#

The action's own data; shape varies by type.

createdstring <date-time>#
updatedstring <date-time>#

QueueItem

A queued task, its actions and its progress.

idinteger#
jobIdstring#
jobstring#
hypervisorIdinteger#
serverIdinteger#
actionstring#
queuestring#
statestring#
Allowed values:pendingrunningfinishedfailed
startedstring <date-time>#
updatedstring <date-time>#
finishedstring <date-time>#
failedboolean#
progressinteger#
errorsobject#
fields
exceptionobject#
fields
typestring#nullable
stringableboolean#
errorsarray[any]#
tracestring#nullable
messagestring#nullable
primaryActionsarray[object]#
item fields
typestring#
dataTypestring#
dataany#

Shape varies; see the example.

createdstring <date-time>#
updatedstring <date-time>#
subActionsarray[any]#

SSHKey

An SSH public key belonging to a user.

typestring#
idinteger#
namestring#
publicKeystring#
enabledboolean#
createdstring <date-time>#
updatedstring <date-time>#

Server

A server with its full configuration, resources, network and state.

idinteger#
ownerIdinteger#
hypervisorIdinteger#
archinteger#
namestring#
selfServiceinteger#
selfServiceSettingsarray[any]#
hostnamestring#nullable
commissionStatusinteger#
uuidstring#
statestring#
migratableboolean#
timezonestring#
migrateLevelinteger#
deleteLevelinteger#
configLevelinteger#
backupLevelinteger#
elevatedboolean#

See GET /servers/{serverId}/elevate.

rescueinteger#

0, or the id of the rescue image the server is booted into. See GET /servers/{serverId}/rescue.

resourcePackIdinteger#nullable
backupManagerobject#
fields
enabledboolean#
resourcePackobject#nullable
elevateIdinteger#nullable
elevateboolean#
destroyableboolean#
firewallUserboolean#

Whether the server's owner may manage the firewall in the client area, set from the package at build and changed with PUT /servers/{serverId}/firewall/user. The global setting must allow it as well.

Since 7.1.0
rebuildboolean#
suspendedboolean#
protectedboolean#
buildFailedboolean#
primaryNetworkDhcp4boolean#
primaryNetworkDhcp6boolean#
builtstring <date-time>#nullable
createdstring <date-time>#
updatedstring <date-time>#
trafficobject#
fields
bytesPerGbinteger#

The byte definition of a traffic gigabyte in effect, either 1000000000 for decimal or 1073741824 for binary. The allowance figures below are in that definition. Operators choose it in the virtualization settings; decimal is the default. Added in 7.1.0.

publicobject#
fields
countMethodinteger#
policyobject#
fields
directioninteger#
actioninteger#
throttleIninteger#
throttleOutinteger#
alert1integer#
alert2integer#
sourceobject#
fields
directionstring#
actionstring#
throttleInstring#
throttleOutstring#
alert1string#
alert2string#
currentPeriodobject#
fields
startstring <date-time>#
endstring <date-time>#
limitinteger#
settingsobject#
fields
osTemplateInstallboolean#
osTemplateInstallIdinteger#
encryptedPasswordstring#
backupPlaninteger#nullable
uefiboolean#
uefiTypeinteger#
cloudInitboolean#
cloudInitTypeinteger#
configany#

Shape varies; see the example.

userConfigarray[any]#
bootOrderarray[string]#
tpmTypeinteger#
fsFreezeinteger#
networkBootboolean#
bootMenuinteger#
customISOinteger#
securityDriverinteger#
memBalloonobject#
fields
modelinteger#
autoDeflateinteger#
freePageReportinginteger#
hypervobject#
fields
enabledboolean#
passthroughboolean#
relaxedinteger#
vapicinteger#
spinlocksinteger#
vpindexinteger#
runtimeinteger#
synicinteger#
stimerinteger#
resetinteger#
vendorIdinteger#
frequenciesinteger#
reenlightenmentinteger#
tlbflushinteger#
ipiinteger#
evmcsinteger#
vendorIdValuestring#
spinlocksValueinteger#
clockEnabledinteger#
extendedobject#
fields
cpuFlagsobject#
fields
topoextstring#
svmstring#
vmxstring#
machineTypestring#
pciPortsinteger#
resourcesobject#
fields
memoryinteger#
storageinteger#
trafficinteger#
cpuCoresinteger#
trafficCountDirectioninteger#

Which direction counts towards the allowance.

ValueMeaning
0Inherit from the hypervisor, then the global setting
1Inbound and outbound
2Inbound only
3Outbound only
Since 7.1.0
trafficLimitActioninteger#

What happens when the allowance is reached.

ValueMeaning
1Nothing
2Throttle the network
nullInherit
Since 7.1.0
trafficLimitThrottleIninteger#nullable

Inbound throttle speed in kB/s; null inherits.

Since 7.1.0
trafficLimitThrottleOutinteger#nullable

Outbound throttle speed in kB/s; null inherits.

Since 7.1.0
trafficLimitNotification1integer#nullable

First usage alert as a percentage of the allowance; null inherits.

Since 7.1.0
trafficLimitNotification2integer#nullable

Second usage alert as a percentage of the allowance; null inherits.

Since 7.1.0
decryptedPasswordstring#
cpuobject#
fields
typestring#
coresinteger#
typeExactstring#
sharesinteger#
throttleinteger#
topologyobject#
fields
enabledboolean#
socketsinteger#
coresinteger#
threadsinteger#
diesinteger#
customXMLobject#
fields
domainobject#
fields
xmlstring#
enabledboolean#
osobject#
fields
xmlstring#
enabledboolean#
devicesobject#
fields
xmlstring#
enabledboolean#
featuresobject#
fields
xmlstring#
enabledboolean#
clockobject#
fields
xmlstring#
enabledboolean#
cpuTuneobject#
fields
xmlstring#
enabledboolean#
qemuCommandlinearray[any]#
qemuAgentobject#
fields
osobject#
fields
screenstring#
mediaobject#
fields
isoMountedboolean#
isoTypestring#
isoNamestring#
isoFilenamestring#
isoUrlstring#
isoDownloadboolean#
backupPlanobject#
fields
idinteger#nullable
namestring#nullable
vncobject#
fields
ipstring#
portinteger#
enabledboolean#
networkobject#
fields
interfacesarray[object]#
item fields
typestring#
idinteger#
orderinteger#
enabledboolean#
taginteger#
namestring#
driverinteger#nullable

The network interface model; null uses the hypervisor default.

ValueMeaning
1virtio
2e1000
3rtl8139
processQueuesboolean#nullable
macstring#
ipv4ToMacboolean#nullable
ipv6ToMacboolean#nullable
inTrafficCountboolean#
outTrafficCountboolean#
inAverageinteger#
inPeakinteger#
inBurstinteger#
outAverageinteger#
outPeakinteger#
outBurstinteger#
ipFilterboolean#
vlansarray[any]#
ipFilterTypestring#nullable
portIsolatedboolean#
ipv4_resolver_1integer#
ipv4_resolver_2integer#
ipv6_resolver_1integer#
ipv6_resolver_2integer#
networkProfileinteger#
dhcpV4integer#
dhcpV6integer#
firewallEnabledboolean#
firewallPendingboolean#

Rules or switches changed since they last reached the hypervisor. A successful apply, or a boot, clears it.

Since 7.1.0
firewallRevisioninteger#

A count of the rule and switch changes made on the interface. A push remembers the count it was built from and marks it received, so a change saved during the push stays pending.

Since 7.1.0
hypervisorNetworkinteger#
isNatboolean#
natboolean#
firewallarray[any]#
hypervisorConnectivityobject#
fields
typestring#
idinteger#
bridgestring#
mtuinteger#nullable
primaryboolean#
defaultboolean#
ipWhitelistarray[object]#
item fields
typeinteger#
idinteger#
ipstring#
maskinteger#
actionsarray[any]#
ipv4array[object]#
item fields
idinteger#
orderinteger#
enabledboolean#
blockIdinteger#
addressstring#
gatewaystring#
netmaskstring#
resolver1string#
resolver2string#
rdnsstring#nullable
macstring#nullable
ipv6array[object]#
item fields
idinteger#
blockobject#
fields
idinteger#
namestring#
orderinteger#
enabledboolean#
addressesarray[any]#
addressesDetailedarray[any]#
subnetstring#
cidrinteger#
exhaustedboolean#
gatewaystring#
resolver1string#
resolver2string#
routeNetboolean#
secondaryInterfacesarray[object]#
item fields
typestring#
idinteger#
enabledboolean#
orderinteger#
taginteger#
namestring#
driverinteger#

The network interface model; null uses the hypervisor default.

ValueMeaning
1virtio
2e1000
3rtl8139
processQueuesboolean#nullable
macstring#
ipv4ToMacboolean#nullable
ipv6ToMacboolean#nullable
inTrafficCountboolean#
outTrafficCountboolean#
inAverageinteger#
inPeakinteger#
inBurstinteger#
outAverageinteger#
outPeakinteger#
outBurstinteger#
ipFilterboolean#
vlansarray[any]#
ipFilterTypestring#
portIsolatedboolean#
ipv4_resolver_1integer#
ipv4_resolver_2integer#
ipv6_resolver_1integer#
ipv6_resolver_2integer#
networkProfileinteger#
dhcpV4integer#
dhcpV6integer#
firewallEnabledboolean#
firewallPendingboolean#

Rules or switches changed since they last reached the hypervisor. A successful apply, or a boot, clears it.

Since 7.1.0
firewallRevisioninteger#

A count of the rule and switch changes made on the interface. A push remembers the count it was built from and marks it received, so a change saved during the push stays pending.

Since 7.1.0
hypervisorNetworkinteger#
isNatboolean#
natboolean#
firewallarray[any]#
hypervisorConnectivityobject#
fields
typestring#
idinteger#
bridgestring#
mtuinteger#nullable
primaryboolean#
defaultboolean#
ipWhitelistarray[any]#
actionsarray[any]#
ipv4array[object]#
item fields
idinteger#
orderinteger#
enabledboolean#
addressstring#
gatewaystring#
netmaskstring#
resolver1string#
resolver2string#
rdnsstring#nullable
macstring#nullable
ipv6array[object]#
item fields
idinteger#
blockobject#
fields
idinteger#
namestring#
orderinteger#
enabledboolean#
addressesarray[any]#
addressesDetailedarray[any]#
subnetstring#
cidrinteger#
exhaustedboolean#
gatewaystring#
resolver1string#
resolver2string#
routeNetboolean#
storagearray[object]#
item fields
typestring#
_idinteger#
idinteger#
cachestring#nullable
busstring#nullable
capacityinteger#
drivestring#
datastoreDiskIdinteger#nullable
filesystemstring#nullable
iopsobject#
fields
readinteger#nullable
writeinteger#nullable
bytesobject#
fields
readinteger#nullable
writeinteger#nullable
profileinteger#
statusinteger#
enabledboolean#
primaryboolean#
createdstring <date-time>#
updatedstring <date-time>#
datastorearray[any]#
namestring#
filenamestring#
hypervisorStorageIdinteger#nullable
localboolean#
locationTypestring#
pathstring#
hypervisorAssetsarray[any]#
hypervisorobject#
fields
idinteger#
ipstring#
hostnamestring#nullable
portinteger#
maintenanceboolean#
groupIdinteger#
groupobject#
fields
namestring#
iconstring#nullable
timezonestring#
forceIPv6boolean#
vncListenTypeinteger#
displayNamestring#nullable
cpuSetstring#nullable
nfTypeinteger#

The network filter (firewall) implementation for servers on the hypervisor.

ValueMeaning
0None
1Libvirt
2Native standard
3Native performance, IPv4
4Native performance, IPv4 and IPv6
5Native privacy (experimental)
backupStorageTypeinteger#

Which backup storage the hypervisor may use.

ValueMeaning
1None
2Directly assigned storage only
3Group assigned storage only
4Group and directly assigned storage
defaultDiskTypestring#
defaultDiskCacheTypestring#
defaultCPUstring#
defaultMachineTypestring#
createdstring <date-time>#
updatedstring <date-time>#
namestring#
dataDirstring#
resourcesobject#
fields
serversobject#
fields
unitsstring#
maxinteger#
allocatedinteger#
freeinteger#
percentinteger#nullable
memoryobject#
fields
unitsstring#
maxinteger#
allocatedinteger#
freeinteger#
percentnumber#
cpuCoresobject#
fields
unitsstring#
maxinteger#
allocatedinteger#
freeinteger#
percentnumber#
localStorageobject#
fields
enabledinteger#
namestring#
storageTypeinteger#
unitsstring#
maxinteger#
allocatedinteger#
freeinteger#
percentnumber#
otherStoragearray[object]#
item fields
idinteger#
namestring#
enabledinteger#
pathstring#nullable
unitsstring#
storageTypeinteger#
isDatastoreboolean#
maxinteger#
allocatedinteger#
freeinteger#
percentnumber#
ownerobject#
fields
idinteger#
adminboolean#
extRelationIdinteger#nullable
namestring#
emailstring#
timezonestring#
suspendedboolean#
twoFactorAuthboolean#
createdstring <date-time>#
updatedstring <date-time>#
sshKeysarray[object]#
item fields
typestring#
idinteger#
ownerIdinteger#
namestring#
publicstring#
enabledboolean#
createdstring <date-time>#
sharedUsersarray[any]#
tasksobject#
fields
activeboolean#
lastOnstring#nullable
actionsobject#
fields
pendingarray[object]#
item fields
idinteger#
actionstring#
requiresarray[string]#
collectedboolean#
completeboolean#
failedboolean#
payloadobject#
fields
diskobject#
fields
idinteger#
disk_storage_idinteger#nullable
createdstring <date-time>#
remoteStateboolean#

ServerSummary

The short form of a server returned by the paged server list.

idinteger#
uuidstring#
namestring#
commissionedinteger#
ownerinteger#
hypervisorIdinteger#
suspendedboolean#
protectedboolean#
updatedstring <date-time>#
createdstring <date-time>#

ServerInterface

A server's network interface. Field names match the network.interfaces entries of the server resource. Address an interface in paths by role or by tag.

idinteger#
rolestring#
Allowed values:primarysecondary
tagstring#

The interface's identifier, also its device name on the hypervisor.

enabledboolean#
namestring#nullable
macstring#
driverinteger#nullable

The network interface model; null uses the hypervisor default.

ValueMeaning
1virtio
2e1000
3rtl8139
processQueuesinteger#nullable

Multiqueue count 1 to 64, 1000 for automatic, null for none.

inAverageinteger#

Inbound bandwidth limit in kB/s, 0 for none.

outAverageinteger#

Outbound bandwidth limit in kB/s, 0 for none.

inPeakinteger#nullable
outPeakinteger#nullable
inBurstinteger#nullable
outBurstinteger#nullable
inTrafficCountboolean#
outTrafficCountboolean#
ipFilterboolean#

Drop traffic from addresses not assigned to the interface.

portIsolatedboolean#
networkProfileinteger#
dhcpV4boolean#
dhcpV6boolean#
firewallEnabledboolean#
firewallPendingboolean#

Rules or switches changed since they last reached the hypervisor. A successful apply, or a boot, clears it.

Since 7.1.0
hypervisorNetworkobject#nullable
fields
idinteger#
namestring#
bridgestring#
typestring#
mtuinteger#nullable
primaryboolean#
defaultboolean#
ServerInterfaceVlan fields
idinteger#

The VLAN entry's id, used in the VLAN paths.

vlanIdinteger#

The VLAN number, 1 to 4094.

trunkinteger#

The interface's trunk mode; the same on every VLAN of the interface.

Allowed values:012
nativeModeinteger#
Allowed values:012

Extra MAC addresses on the interface, for nested guests behind it.

ServerInterfaceMac fields
idinteger#

The id used when removing or binding.

macstring#

Upper case, colon separated.

ipv4array[integer]#

Ids of the interface's IPv4 addresses bound to this MAC.

ipv6array[integer]#

Ids of the interface's IPv6 subnets bound to this MAC.

ServerInterfaceIPv4 fields
idinteger#
addressstring#
blockIdinteger#
orderinteger#

1 first. On the primary interface the first address is the server's primary address.

gatewaystring#nullable
netmaskstring#nullable
resolver1string#nullable
resolver2string#nullable
rdnsstring#nullable
macstring#nullable

Provider-issued MAC recorded against the address, if any.

boundMacobject#nullable

The extra MAC the address is bound to, or null for the interface's own MAC. Traffic from the address passes only from that MAC.

fields
idinteger#

The extra MAC's id on the interface.

macstring#
ServerInterfaceIPv6 fields
idinteger#

The subnet id, used when removing.

subnetstring#

The subnet's first address, uncompressed.

cidrinteger#
blockIdinteger#
gatewaystring#nullable
resolver1string#nullable
resolver2string#nullable
addressesarray[string]#
boundMacobject#nullable

The extra MAC the whole subnet is bound to, or null for the interface's own MAC. Every address of a bound subnet passes only from that MAC.

fields
idinteger#

The extra MAC's id on the interface.

macstring#

An interface's native network filter v2 overrides. Each null means the hypervisor's setting applies.

NetworkFilterInterfaceSettings fields
componentsarray[string]#nullable

The interface's own component selection, or null for the hypervisor's.

linkLocalany#nullable

null when the interface's IPv6 link-local address is unknown, eui64 to derive it from the MAC, or an array of fe80: addresses.

blockedPortsOutNetworkFilterPortList#nullable

Destination ports, each a port or a low-high range in 1 to 65535. Overlapping ranges are merged. On a hypervisor, null and empty lists both mean no ports. On an interface, null means the hypervisor's list and empty lists mean none for that interface.

Example: {"tcp":["25","465","587"],"udp":[]}
NetworkFilterPortList fields
tcparray[string]#
udparray[string]#
blockedPortsInNetworkFilterPortList#nullable

Destination ports, each a port or a low-high range in 1 to 65535. Overlapping ranges are merged. On a hypervisor, null and empty lists both mean no ports. On an interface, null means the hypervisor's list and empty lists mean none for that interface.

Example: {"tcp":["25","465","587"],"udp":[]}
NetworkFilterPortList fields
tcparray[string]#
udparray[string]#
rateLimitsNetworkFilterRateLimits#nullable

Frames per second per interface; a burst of twice the rate is allowed. A key left out or null inherits. null as a whole inherits everything.

NetworkFilterRateLimits fields
arpinteger#nullable
Range: at least 1
ndinteger#nullable
Range: at least 1
bcastinteger#nullable
Range: at least 1
syninteger#nullable
Range: at least 1

ServerInterfaceUpdate

Request body for PUT /servers/{serverId}/interfaces/{interfaceRef}. Every field is optional; only the fields sent are changed. Unknown fields are rejected.

namestring#

The device name the guest sees, written by cloud-init into the guest's network configuration (eth0, eth1, ...). Letters, digits, - and _.

Length: 2 to 20 characters
hypervisorNetworkIdinteger#

A network on the server's hypervisor.

driverinteger#nullable

The network interface model; null uses the hypervisor default.

ValueMeaning
1virtio
2e1000
3rtl8139
Allowed values:123null
processQueuesinteger#nullable

1 to 64, 1000 for automatic, or null.

ipFilterboolean#
portIsolatedboolean#
dhcpV4boolean#
dhcpV6boolean#
inAverageinteger#

kB/s, 0 for no limit.

Range: at least 0
outAverageinteger#

kB/s, 0 for no limit.

Range: at least 0
networkProfileinteger#
Range: 0 to 20
enabledboolean#

Secondary interface only.

networkFilterobject#

Any subset of the NetworkFilterInterfaceSettings fields. Takes effect at the next apply, regenerate or start, as the other interface settings do.

applyboolean#

Push the change to the running server now.

ServerInterfaceVlan

idinteger#

The VLAN entry's id, used in the VLAN paths.

vlanIdinteger#

The VLAN number, 1 to 4094.

trunkinteger#

The interface's trunk mode; the same on every VLAN of the interface.

Allowed values:012
nativeModeinteger#
Allowed values:012

ServerInterfaceIPv4

idinteger#
addressstring#
blockIdinteger#
orderinteger#

1 first. On the primary interface the first address is the server's primary address.

gatewaystring#nullable
netmaskstring#nullable
resolver1string#nullable
resolver2string#nullable
rdnsstring#nullable
macstring#nullable

Provider-issued MAC recorded against the address, if any.

boundMacobject#nullable

The extra MAC the address is bound to, or null for the interface's own MAC. Traffic from the address passes only from that MAC.

fields
idinteger#

The extra MAC's id on the interface.

macstring#

ServerInterfaceIPv6

idinteger#

The subnet id, used when removing.

subnetstring#

The subnet's first address, uncompressed.

cidrinteger#
blockIdinteger#
gatewaystring#nullable
resolver1string#nullable
resolver2string#nullable
addressesarray[string]#
boundMacobject#nullable

The extra MAC the whole subnet is bound to, or null for the interface's own MAC. Every address of a bound subnet passes only from that MAC.

fields
idinteger#

The extra MAC's id on the interface.

macstring#

ServerInterfaceMac

An extra MAC address on a server interface, for a nested guest behind it. The hypervisor's native network filter (v1 or v2) lets the MAC send only from the IPv4 addresses and IPv6 subnets bound to it.

idinteger#

The id used when removing or binding.

macstring#

Upper case, colon separated.

ipv4array[integer]#

Ids of the interface's IPv4 addresses bound to this MAC.

ipv6array[integer]#

Ids of the interface's IPv6 subnets bound to this MAC.

FirewallRulesetsReplace

The 7.0 form of POST .../firewall/{interfaceRef}/rules: replaces every rule on the interface with the rules of the rulesets given. Honoured on primary and secondary only. Deprecated; attach a ruleset and apply instead.

rulesetsarray[integer]#required

Ruleset IDs. [] removes every rule.

FirewallRule

A firewall rule, on a server interface or in a ruleset. The same object is accepted by the add endpoint (without id), so a GET round-trips into a POST.

idinteger#
protocolstring#
Allowed values:tcpudpicmpallsctpgreespahipipl2tp
directionstring#

Which way the traffic is heading from the server's point of view.

Allowed values:bothinout
actionstring#

reject answers with a TCP reset or an ICMP unreachable instead of dropping; native nft only, and on outbound rules only, since the bridge can reject traffic from the server but not traffic to it.

Allowed values:allowdenyreject
ipTypeinteger#
Allowed values:46
priorityinteger#

500 to 1000. Lower values run first; a locked rule runs before every unlocked rule whatever the values.

Range: 500 to 1000
sourcePortstring#nullable

A port or a range start-end; null for any. Always null for ICMP and all.

destinationPortstring#nullable
sourceAddressstring#nullable

address/cidr; null for any. IPv6 is returned uncompressed.

destinationAddressstring#nullable
enabledboolean#
lockedboolean#

A locked rule is the provider's. It is enforced before every unlocked rule whatever the priorities, and the server's owner cannot change, disable or remove it in the client area. Rules added here are locked unless locked: false is sent; rules copied from a ruleset are always locked; rules the owner adds are unlocked.

Since 7.1.0
notestring#nullable

What the rule is for, in the admin's words; null for none.

Length: at most 255 characters
Example: Office SSH
Since 7.1.0
icmpFirewallIcmp#nullable

The ICMP type, and optionally code, an ICMP rule matches; null for any. Enforced by the native nft engine only. Common types: IPv4 8 echo-request, 0 echo-reply, 3 destination-unreachable, 11 time-exceeded; IPv6 128 echo-request, 129 echo-reply, 1 destination-unreachable, 2 packet-too-big, 3 time-exceeded.

Since 7.1.0
FirewallIcmp fields
typeinteger#required
Range: 0 to 255
Example: 8
codeinteger#nullable
Range: 0 to 255
rulesetIdinteger#nullableread-only

The ruleset the rule was copied from when it was attached; null for a rule added directly. Server interface rules only.

Since 7.1.0
enginestring#read-only

Which firewall engine can enforce the rule, derived from its contents. A native rule (a rate limit, a reject, or an ICMP type) is enforced only on a hypervisor whose firewall engine is native nft; on one on libvirt nwfilter it is stored and not applied.

Allowed values:anynative
Since 7.1.0
rateLimitFirewallRateLimit#nullable

A limit on the new connections an allow rule lets through, enforced by the native nft engine only; connections beyond it are dropped. Applies to an allow rule with a direction; per source address only to an inbound one.

Since 7.1.0
FirewallRateLimit fields
rateinteger#required

New connections allowed per unit.

Range: 1 to 100000
Example: 5
perstring#required
Allowed values:secondminute
Example: minute
burstinteger#nullable

How many may arrive at once before the rate applies; null for the default of 5.

Range: 1 to 100000
perSourceboolean#

Count per source address rather than for the rule as a whole. Inbound rules only.

FirewallIcmp

The ICMP type, and optionally code, an ICMP rule matches; null for any. Enforced by the native nft engine only. Common types: IPv4 8 echo-request, 0 echo-reply, 3 destination-unreachable, 11 time-exceeded; IPv6 128 echo-request, 129 echo-reply, 1 destination-unreachable, 2 packet-too-big, 3 time-exceeded.

typeinteger#required
Range: 0 to 255
Example: 8
codeinteger#nullable
Range: 0 to 255

FirewallCounter

packetsinteger#
bytesinteger#

FirewallRateLimit

A limit on the new connections an allow rule lets through, enforced by the native nft engine only; connections beyond it are dropped. Applies to an allow rule with a direction; per source address only to an inbound one.

rateinteger#required

New connections allowed per unit.

Range: 1 to 100000
Example: 5
perstring#required
Allowed values:secondminute
Example: minute
burstinteger#nullable

How many may arrive at once before the rate applies; null for the default of 5.

Range: 1 to 100000
perSourceboolean#

Count per source address rather than for the rule as a whole. Inbound rules only.

FirewallRuleInput

Request body for adding a rule. Strictly validated: exact grammar, no coercion, unknown fields rejected.

protocolstring#required

Any case; stored and returned lower case.

Allowed values:tcpudpicmpallsctpgreespahipipl2tp
directionstring#required

in is traffic arriving at the server, out is traffic the server sends.

Allowed values:bothinout
actionstring#required

reject answers with a TCP reset or an ICMP unreachable instead of dropping; native nft only, and on outbound rules only, since the bridge can reject traffic from the server but not traffic to it.

Allowed values:allowdenyreject
ipTypeinteger#required

IPv4 or IPv6; sourceAddress and destinationAddress must be in this family.

Allowed values:46
priorityinteger#

500 to 1000. Lower values run first; a locked rule runs before every unlocked rule whatever the values. Defaults to 500.

Range: 500 to 1000
sourcePortstring#nullable

Source port, "80", or range, "8000-8100", ports 1 to 65535. Leave out for any port. Not accepted for icmp or all.

destinationPortstring#nullable

Destination port or range, as sourcePort. Leave out for any port.

sourceAddressstring#nullable

Where the traffic comes from: an address, or address/cidr for a range, e.g. 203.0.113.0/24. Leave out for anywhere.

destinationAddressstring#nullable

Where the traffic goes to, as sourceAddress. Leave out for anywhere.

enabledboolean#

Defaults to true.

lockedboolean#

Defaults to true, the provider's rule. Send false for a rule the server's owner may manage in the client area; it then runs after every locked rule.

Since 7.1.0
notestring#nullable

What the rule is for; trimmed, null or empty for none.

Length: at most 255 characters
Since 7.1.0
rateLimitFirewallRateLimit#nullable

A limit on the new connections an allow rule lets through, enforced by the native nft engine only; connections beyond it are dropped. Applies to an allow rule with a direction; per source address only to an inbound one.

Since 7.1.0
FirewallRateLimit fields
rateinteger#required

New connections allowed per unit.

Range: 1 to 100000
Example: 5
perstring#required
Allowed values:secondminute
Example: minute
burstinteger#nullable

How many may arrive at once before the rate applies; null for the default of 5.

Range: 1 to 100000
perSourceboolean#

Count per source address rather than for the rule as a whole. Inbound rules only.

icmpFirewallIcmp#nullable

The ICMP type, and optionally code, an ICMP rule matches; null for any. Enforced by the native nft engine only. Common types: IPv4 8 echo-request, 0 echo-reply, 3 destination-unreachable, 11 time-exceeded; IPv6 128 echo-request, 129 echo-reply, 1 destination-unreachable, 2 packet-too-big, 3 time-exceeded.

Since 7.1.0
FirewallIcmp fields
typeinteger#required
Range: 0 to 255
Example: 8
codeinteger#nullable
Range: 0 to 255
applyboolean#

Push to the running server in the same request.

FirewallRuleset

idinteger#
namestring#
enabledboolean#

Disabled rulesets cannot be attached or applied.

fwEnabledboolean#

When a package assigns this ruleset at build, the interface's firewall is switched on.

ruleCountinteger#
packagesarray[integer]#

Server package ids that assign this ruleset at build.

ServerElevate

activeboolean#
sincestring <date-time>#nullable
drivesarray[object]#

The drives in the elevation and whether each has been committed. Empty when not elevated.

item fields
idinteger#
drivestring#nullable
committedboolean#
eligiblearray[object]#

The server's enabled disks, which a new elevation can include.

item fields
idinteger#
drivestring#
primaryboolean#

ServerElevateStart

disksarray[any]#required

Disk ids or drive letters, each enabled and listed once.

Items: at least 1 items
quiesceboolean#

Freeze mounted filesystems through the guest agent while the snapshots are taken. Fails the job when the agent is not available.

Default: false

ServerRescue

activeboolean#
imageobject#nullable

The image the active session runs, or null.

fields
idinteger#
namestring#
sshobject#nullable

The session's login once the start job has booted the image, null before that and while no session is active. Sensitive; the same details the owner is emailed.

fields
ipstring#
portinteger#
userstring#
passwordstring#
imagesarray[object]#

The enabled rescue images for the hypervisor's architecture, in order.

item fields
idinteger#
namestring#
archstring#
Allowed values:x86_64aarch64

ServerIso

ISO media on a server, as GET /servers/{serverId}/media/iso returns it.

mountedServerIsoMounted#nullable

Null while nothing is mounted. Reported even when the server's custom ISO permission was turned off after a custom ISO was mounted, so it can still be ejected.

bootOrderarray[string]#

The boot order the insert and eject jobs maintain; cdrom first while an ISO is mounted.

customIsoobject#

Whether a custom ISO by URL may be mounted on this server.

fields
allowedboolean#

The effective answer, after the virtualization default when the server inherits.

settingstring#

The server's own setting, as on the admin page's Config tab.

Allowed values:inheritenableddisabled
availablearray[object]#

Every enabled library ISO for the hypervisor's architecture, by name.

item fields
idinteger#
namestring#
archstring#
Allowed values:anyx86_64aarch64
globalboolean#
assignedToOwnerboolean#

Whether the server's owner could mount it from the client area. An admin token can mount any ISO listed.

ServerIsoMounted

A library ISO (type: library with id, name, filename, arch) or a custom one (type: custom with url).

typestring#
Allowed values:librarycustom
idinteger#
namestring#
filenamestring#
archstring#
Allowed values:anyx86_64aarch64
urlstring#

The custom ISO's https URL.

ServerIsoMount

Exactly one of the two fields.

isoIdinteger#

An enabled library ISO whose architecture is 0 or the hypervisor's. Owner assignment is not required for an admin token.

Range: at least 1
urlstring#

An https URL the hypervisor streams the ISO from. It must start with https:// on port 443, have a domain name as host, a path of letters, digits, _ - / . ending in .iso, no query, fragment or credentials, and answer a HEAD request with 200 without redirecting. Refused with 409 when custom ISOs are disabled for the server.

ServerDisk

A server disk. pending is the queued action on it, if any; hypervisor-side changes run at the next power change.

idinteger#
drivestring#

Drive letter, a for the primary disk; accepted in paths.

primaryboolean#
sizeGbinteger#

Confirmed size. A queued grow shows its target in pending.newSizeGb until the hypervisor confirms.

formatstring#
Allowed values:qcow2raw
filesystemstring#nullable

Filesystem created on the disk at creation, if any.

busstring#

default is the hypervisor's setting.

Allowed values:defaultvirtiovirtio-scsisatavirtio-discardvirtio-scsi-single
cachestring#
Allowed values:defaultnonewritethroughwritebackdirectsyncunsafe
iostring#
Allowed values:defaultthreadsnativeio_uringnone
qosobject#

Per-disk limits; null means no limit. IOPS per second, bytes per second.

fields
readIopsinteger#nullable
writeIopsinteger#nullable
readBytesinteger#nullable
writeBytesinteger#nullable
storagePointobject#nullable

null for the hypervisor's local default.

fields
idinteger#
namestring#
localboolean#
statusstring#
Allowed values:pendingactivedeleting
enabledboolean#
pendingobject#nullable
fields
idinteger#

The queued action.

actionstring#
Allowed values:disk.createdisk.destroystorage.increase
statestring#

queued can be cancelled; running cannot; failed retries at the next power change and can be cancelled; stuck means its task ended without finishing it.

Allowed values:queuedrunningfailedstuck
runsAfterstring#
newSizeGbinteger#nullable

For a grow, the size it will reach.

cleanupboolean#

A destroy that cleans up a half-created disk; cannot be cancelled.

queuedstring <date-time>#

ServerDiskInput

Request body for adding a disk.

sizeGbinteger#required
Range: at least 1
storagePointIdinteger#nullable

From GET /compute/hypervisors/{hypervisorId}/storage. 0 or omitted: the hypervisor's local default.

filesystemstring#

Defaults to none (unformatted).

Allowed values:noneext3ext4xfsntfsbtrfs
formatstring#

Defaults to qcow2; StorPool and Ceph disks are always raw.

Allowed values:qcow2raw
busstring#
Allowed values:defaultvirtiovirtio-scsisatavirtio-discardvirtio-scsi-single
cachestring#
Allowed values:defaultnonewritethroughwritebackdirectsyncunsafe
iostring#
Allowed values:defaultthreadsnativeio_uringnone
qosobject#

Integers 0 to 99999999999999; 0 or null means no limit.

fields
readIopsinteger#nullable
writeIopsinteger#nullable
readBytesinteger#nullable
writeBytesinteger#nullable

ServerDiskUpdate

Request body for updating a disk. Every field is optional; only the fields sent change. Unknown fields are rejected.

busstring#
Allowed values:defaultvirtiovirtio-scsisatavirtio-discardvirtio-scsi-single
cachestring#
Allowed values:defaultnonewritethroughwritebackdirectsyncunsafe
iostring#
Allowed values:defaultthreadsnativeio_uringnone
qosobject#

Nested fields left out are preserved; 0 or null clears a limit.

fields
readIopsinteger#nullable
writeIopsinteger#nullable
readBytesinteger#nullable
writeBytesinteger#nullable
enabledboolean#

Not for the primary disk.

sizeGbinteger#

New size, larger than the current one; queues a grow.

applyboolean#

Push the QoS to the running server now. Only with qos.

HypervisorStoragePoint

idinteger#

0 is the hypervisor's local default.

namestring#
typestring#

The storage point's label, or local.

localboolean#
pathstring#nullable
enabledboolean#

Disabled points cannot take new disks.

capacityGbinteger#

0 means unlimited.

usedGbinteger#

Disks of every server on the point plus reservedGb.

reservedGbinteger#

Growth reserved by queued resizes.

sharedStorageobject#nullable
fields
idinteger#
namestring#
typestring#

Template

An operating system template in the media library. uuid is stable across installations for templates imported from the VirtFusion feed.

idinteger#
uuidstring#
namestring#
descriptionstring#nullable
typestring#
Allowed values:linuxunixwindowsother
archinteger#

1 x86_64, 2 aarch64.

distrostring#
versionstring#
variantstring#nullable
groupobject#nullable
fields
idinteger#
namestring#
orderinteger#

Display order within the group.

collectionsarray[object]#
item fields
idinteger#
namestring#
enabledboolean#
officialboolean#
deployTypeinteger#nullable
cloudInitboolean#
uefiboolean#
vncboolean#
minMemoryinteger#nullable

In MB.

minDiskinteger#nullable

In GB.

minCpuinteger#nullable
eolboolean#
eolDatestring <date>#nullable
fileVersionnumber#nullable
fileDatestring <date-time>#nullable
createdstring <date-time>#
updatedstring <date-time>#

ISO

An ISO in the media library, as GET /media/iso/{isoId} returns it.

idinteger#
namestring#
descriptionstring#nullable
archinteger#
urlstring#
filenamestring#
enabledboolean#
configstring#

Stored as given by the installer; nothing writes it through the API.

globalboolean#

Available to every user. When false, only the users under users can mount it.

downloadboolean#

Stored and shown; nothing reads it today.

usersarray[object]#

The users a non-global ISO is assigned to.

item fields
idinteger#
emailstring#
namestring#
enabledboolean#
addedstring <date-time>#
createdstring <date-time>#
updatedstring <date-time>#

ISOUpdate

The writable fields of an ISO, named as the ISO GET names them. Read-only members (id, config, users, created, updated) are rejected by name; users are set through their own endpoint.

namestring#
Length: 3 to 150 characters
descriptionstring#nullable
Length: at most 500 characters
urlstring#

Where the hypervisor downloads the image from the first time it is needed. http or https.

Length: at most 2000 characters
filenamestring#

Letters, digits, dashes and underscores, unique in the library; the hypervisor stores it as <filename>.iso.

Length: at most 300 characters
archinteger#

0 any, 1 x86_64, 2 aarch64. A server can mount an ISO whose arch is 0 or its hypervisor's.

Allowed values:012
enabledboolean#

Needs url and filename set.

globalboolean#
downloadboolean#

ISOCreate

namestring#
Length: 3 to 150 characters
descriptionstring#nullable
Length: at most 500 characters
urlstring#

Where the hypervisor downloads the image from the first time it is needed. http or https.

Length: at most 2000 characters
filenamestring#

Letters, digits, dashes and underscores, unique in the library; the hypervisor stores it as <filename>.iso.

Length: at most 300 characters
archinteger#

0 any, 1 x86_64, 2 aarch64. A server can mount an ISO whose arch is 0 or its hypervisor's.

Allowed values:012
enabledboolean#

Needs url and filename set.

globalboolean#
downloadboolean#

ISOUsers

usersarray[any]#required

User ids, or {id, enabled} entries. [] removes every assignment.

TemplateGroup

An operating system group and the templates available in it.

descriptionstring#
namestring#
iconstring#
templatesarray[object]#
item fields
typestring#
descriptionstring#
idinteger#
namestring#
versionstring#
variantstring#nullable
archinteger#
iconstring#
eolboolean#
eol_datestring#
eol_warningboolean#
deploy_typeinteger#
vncboolean#
idinteger#

User

A user account. password is only present in the response to creating a user.

idinteger#
adminboolean#
extRelationIdinteger#nullable
relationStrsarray[string]#

The relation strings the user is linked by, in the order they were added.

selfServiceinteger#

Self-service level for the user; disabled by default.

ValueMeaning
0Disabled
1Hourly
2Resource packs
3Hourly and resource packs
selfServiceHourlyGroupProfilesarray[any]#
selfServiceResourceGroupProfilesarray[any]#
selfServiceHourlyResourcePackinteger#nullable
namestring#
emailstring#
timezonestring#
suspendedboolean#
twoFactorAuthboolean#
createdstring <date-time>#
updatedstring <date-time>#
passwordstring#

Only returned when the user is created.

UserSummary

The short row of the user list; type=full gives the User object instead.

idinteger#
adminboolean#
extRelationIdinteger#nullable
relationStrsarray[string]#
selfServiceinteger#
namestring#
emailstring#
suspendedboolean#
twoFactorAuthboolean#
createdstring <date-time>#
updatedstring <date-time>#