Reference For: developers

API schemas: V

Schemas of the native REST API whose name starts with V.

VerificationRecord

The last nightly run of one VM.

NameTypeRequiredDescription
backupSessionIdstring (uuid) or nullThe backup session restored.
evidenceEvidence or null
passedbooleanyesVerdict.
reasonstring or nullMessage key of the failure.
restoredVmIdstring (uuid) or nullThe restored VM (may be destroyed already).
runAtinteger (int64)yesRun time, Unix seconds.
vmIdstring (uuid)yesThe VM that was backed up.
vmNamestringyesIts name.

VerificationReport

GET /v1/backup/verification.

NameTypeRequiredDescription
neverVerifiedarray of stringyesVMs flagged for verification that have never been verified.
runsarray of VerificationRecordyesLast run per VM, by VM name.

VerifySpec

What to verify against.

NameTypeRequiredDescription
destroybooleanDestroy the restored VM after the verdict (default: keep it powered off).
networkstringyesThe quarantine network: id or name.
serialMarkersarray of stringSerial markers that count as an operating system (default: [OS_MARKERS]).
tcpPortsarray of integer (int32)TCP ports to check from the host probe after boot and lease (empty: no TCP check).
timeoutSecondsinteger (int64) or nullGive up after this many seconds (default 300, at most 3600).

VerifyState

State of a restore verification.

Values: "running", "passed", "failed"

VimMoRefView

Managed-object reference embedded in create/clone/AddHost/snapshot results (TaskInfo.result for the SOAP facade).

NameTypeRequiredDescription
typestringyesvim type name (VirtualMachine, HostSystem, VirtualMachineSnapshot).
valuestringyesMoRef value (vm-42, host-7, vm-42-snapshot-1).

VirtualCdrom

A virtual CD-ROM drive (VirtualCdrom), optionally with an ISO image inserted.

NameTypeRequiredDescription
connectedbooleanConnected at power on.
datastorestring or nullDatastore holding the inserted ISO image; None is an empty tray.
iso_pathstringISO path relative to the datastore root; empty for an empty tray.
keyinteger (int32)yesStable device key within the VM (3000, 3001, ...).

VirtualDisk

A virtual disk.

NameTypeRequiredDescription
capacity_bytesinteger (int64)yesCapacity.
cbt_enabledbooleanChanged-block tracking enabled.
datastorestringyesDatastore holding the backing file.
independentbooleanExcluded from snapshots (diskMode = independent_persistent, ESX-V-07).
keyinteger (int32)yesStable device key within the VM.
nonpersistentbooleanIndependent non-persistent (diskMode = independent_nonpersistent): power-cycle overlay discarded on stop. Implies independent.
pathstringyesBacking path relative to the datastore root.
thinbooleanThin provisioned.

VirtualMachine

A virtual machine.

NameTypeRequiredDescription
configVmConfigyesDesired configuration.
current_snapshotinteger (int32) or nullThe snapshot the running state descends from (snapshot.currentSnapshot).
desired_power_statePowerStateThe power state the control plane wants; the host agent reconciles runtime.power_state towards it and reports back.
generationinteger (int64)Desired-state generation; bumped on every config change or power request so the host agent knows what to reconcile.
guestVmGuestGuest information.
instance_uuidstring (uuid)yesStable instance UUID exposed to the guest (SMBIOS).
namestringyesDisplay name.
reset_epochinteger (int64)Incremented by every reset request; the host resets the VM once per increment (a reset does not change the desired power state).
resource_poolstringyesResource pool the VM belongs to.
runtimeVmRuntimeObserved runtime state.
snapshotsarray of VmSnapshotSnapshot tree, flat (each snapshot names its parent), in creation order.

VirtualNic

A virtual NIC.

NameTypeRequiredDescription
connectedbooleanConnected at power on.
firewallobjectDistributed firewall mode and profile of the vNIC (DFW-HOSTBRIDGE.md §4); the default (mode off) is not written.
keyinteger (int32)yesStable device key within the VM.
mac_addressstringyesMAC address, lower-case colon-separated.
modelstringDevice model (virtio, e1000e, vmxnet3-compatible profile, ...).
networkstringyesNetwork or distributed portgroup.

VmAddress

One address of a VM, across pools.

NameTypeRequiredDescription
addressstringyesIPv4 address, or the server's IPv6 address (<prefix>::1).
allocatedAtstringyesAllocation time.
macstring or nullNIC MAC.
poolstringyesThe pool.
poolNamestringyesThe pool's name.
prefixstring or nullFor IPv6: the block (<prefix>/<len>, e.g. /64 or /112).
prefixLeninteger (int32) or nullFor IPv6: the block length (64 to 128). A PTR may only be set for the server address address, which lies in this block.
ptrstring or nullReverse DNS name.
ptrReasonstring or nullWhy the operator rejected the name.
ptrStatusPtrStatus or null
rolestringyesprimary, extra or ipv6.

VmConfig

The configuration of a VM (what the user asked for).

NameTypeRequiredDescription
annotationstringAnnotation / notes.
cdromsarray of VirtualCdromCD-ROM drives.
change_trackingbooleanChanged-block tracking (config.changeTrackingEnabled); the disks' cbt_enabled follow it.
change_versioninteger (int64)Monotonic change counter the facade exposes as config.changeVersion.
cores_per_socketinteger (int32)Cores per socket (0 = let the hypervisor decide).
disksarray of VirtualDiskDisks.
extra_configobjectFree-form extraConfig-style options (guestinfo.*, ...).
firmwareFirmwareKindFirmware.
guest_idstringGuest OS identifier (vSphere-style guestId, e.g. ubuntu64Guest).
memory_mibinteger (int64)yesMemory.
nicsarray of VirtualNicNICs.
num_cpusinteger (int32)yesVirtual CPUs.
secure_bootbooleanSecure Boot enabled (EFI only).
templatebooleanWhether this VM is a template.
vtpmbooleanVirtual TPM present.

VmGuest

Guest information (from the guest agent).

NameTypeRequiredDescription
agent_versionstringVersion of the guest agent while it runs.
files_allowedbooleanThe guest agent allows file operations (guest-file-*).
hostnamestringGuest hostname.
ip_addressstringPrimary IP address.
ip_addressesarray of stringAll IP addresses.
nicsarray of GuestNicNetwork interfaces the guest agent reports (without the loopback), each with its MAC address and addresses. The SOAP facade's guest.net is projected from them.
operations_notestringWhy guest operations are not allowed (the commands the agent has disabled and the remedy); empty when they are or while the agent does not run.
os_familystringDetected guest OS family (linux, windows, ...).
os_namestringDetected guest OS full name.
processes_allowedbooleanThe guest agent allows process operations (guest-exec): StartProgramInGuest and friends can work. The RHEL-family agent blocks them by default.
tools_statusToolsStatusGuest agent state.

VmRuntime

Runtime state of a VM (reported by the host agent).

NameTypeRequiredDescription
boot_timestring or nullTime of last power on.
cpu_usage_mhzinteger (int32)Current CPU usage.
hoststring or nullHost the VM currently runs on (or last ran on).
lifecycleLifecycleState or null
memory_usage_mibinteger (int64)Guest memory in use on the host.
observed_generationinteger (int64)Desired-state reconciliation generation last acknowledged by the host.
pidinteger (int32) or nullHypervisor process id on the host, when running.
power_statePowerStatePower state.
reconcile_errorstring or nullThe last reconciliation error the host reported for this VM, cleared by the next successful report.

VmSnapshot

A point-in-time snapshot of a VM (VirtualMachineSnapshot).

The control plane keeps the tree and the configuration at snapshot time (a revert restores it, as in vSphere); the disk and memory state lives on the host under the runtime name, which the agent uses as its snapshot tag.

NameTypeRequiredDescription
configVmConfigyesThe VM configuration when the snapshot was taken.
created_atstringyesCreation time.
descriptionstringFree text.
keyinteger (int32)yesNumber unique within the VM; the MoRef value is <vm id>-snapshot-<key>.
memorybooleanIncludes the memory state (a revert resumes the running guest).
namestringyesDisplay name (not unique; vSphere allows duplicates).
parentinteger (int32) or nullParent snapshot key; None for a root.
power_statePowerStateyesPower state of the VM when the snapshot was taken.
quiescedbooleanGuest file systems were quiesced through the guest channel.
runtime_namestringyesSnapshot tag on the host ([A-Za-z0-9_.-]{1,64}).

VmTraffic

Traffic of one VM in a period.

NameTypeRequiredDescription
billableBytesinteger (int64)yesBillable bytes.
inBytesinteger (int64)yesBytes received by the VM (inbound).
namestringyesVM name as last seen.
outBytesinteger (int64)yesBytes sent by the VM (outbound).
tenantstringyesTenant as last seen in the ledger.
vmstringyesVM id.

VmTrafficView

One VM's traffic in a period, with its limit state and daily series.

NameTypeRequiredDescription
billableBytesinteger (int64)yesBillable bytes.
daysarray of TrafficDayyesBytes per day.
inBytesinteger (int64)yesInbound bytes.
limitBytesinteger (int64) or nullThe limit of the period (plan plus packages); absent: none.
outBytesinteger (int64)yesOutbound bytes.
percentnumber (double) or nullBillable bytes as per cent of the limit.
periodEndstringyesLast day of the period (inclusive).
periodStartstringyesFirst day of the period.
policyTrafficPolicy or null
throttledbooleanyesThe VM is throttled now.
vmstringyesVM id.

VmfsCreateOptionView

One VMFS create-option template (QueryVmfsDatastoreCreateOptions).

NameTypeRequiredDescription
blockSizeMbinteger (int32)yesSuggested block size in MiB.
canonicalNamestringyesCanonical name (naa.…).
capacityBytesinteger (int64)yesCapacity in bytes.
devicePathstringyesHost device path.
diskUuidstringyesDisk WWID (VmfsDatastoreSpec.diskUuid).
majorVersioninteger (int32)yesSuggested major version.

VmfsDiskView

One available disk for VMFS create (QueryAvailableDisksForVmfs).

NameTypeRequiredDescription
canonicalNamestringyesCanonical name (naa.…).
capacityBytesinteger (int64)yesCapacity in bytes.
devicePathstringyesHost device path.
luninteger (int32)yesLUN number.
portalstringyesPortal used for login.
targetstringyesTarget IQN.
wwidstringyesMultipath / by-id WWID.

VnicFirewallView

The firewall of one vNIC.

NameTypeRequiredDescription
appliedVersioninteger (int64) or nullPlan version the host holds as applied.
defaultInDefaultActionViewyesDefault for inbound traffic.
defaultOutDefaultActionViewyesDefault for outbound traffic.
hoststring or nullHost.
macstringyesMAC.
modeModeViewyesMode.
networkstringyesNetwork id.
nicKeystringyesNIC key (4000).
pendingPendingModeView or null
profilestringyesProfile id.
profileExplicitbooleanyesThe profile was set on the vNIC (else it follows the NIC kind).
protectionProtectionViewyesProtection.
publicbooleanyesPublic (an IP pool address).
rulesarray of EffectiveRuleyesRules in evaluation order, the two defaults last.
vmstringyesVM id.
wantedVersioninteger (int64) or nullPlan version last sent to the host.

VnicView

A vNIC: VM id and NIC key (4000, or nic4000).

NameTypeRequiredDescription
nicstringyesNIC key.
vmstringyesVM id (vm-7).

Version 0.1.