Documentation Reference REST API reference API schemas API schemas: V
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.
Name Type Required Description backupSessionIdstring (uuid) or nullThe backup session restored. evidenceEvidence or nullpassedbooleanyes Verdict. reasonstring or nullMessage key of the failure. restoredVmIdstring (uuid) or nullThe restored VM (may be destroyed already). runAtinteger (int64)yes Run time, Unix seconds. vmIdstring (uuid)yes The VM that was backed up. vmNamestringyes Its name.
VerificationReport
GET /v1/backup/verification.
Name Type Required Description neverVerifiedarray of string yes VMs flagged for verification that have never been verified. runsarray of VerificationRecord yes Last run per VM, by VM name.
VerifySpec
What to verify against.
Name Type Required Description destroybooleanDestroy the restored VM after the verdict (default: keep it powered off). networkstringyes The quarantine network: id or name. serialMarkersarray of string Serial 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).
Name Type Required Description typestringyes vim type name (VirtualMachine, HostSystem, VirtualMachineSnapshot). valuestringyes MoRef value (vm-42, host-7, vm-42-snapshot-1).
VirtualCdrom
A virtual CD-ROM drive (VirtualCdrom), optionally with an ISO image inserted.
Name Type Required Description 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)yes Stable device key within the VM (3000, 3001, ...).
VirtualDisk
A virtual disk.
Name Type Required Description capacity_bytesinteger (int64)yes Capacity. cbt_enabledbooleanChanged-block tracking enabled. datastorestringyes Datastore holding the backing file. independentbooleanExcluded from snapshots (diskMode = independent_persistent, ESX-V-07). keyinteger (int32)yes Stable device key within the VM. nonpersistentbooleanIndependent non-persistent (diskMode = independent_nonpersistent): power-cycle overlay discarded on stop. Implies independent. pathstringyes Backing path relative to the datastore root. thinbooleanThin provisioned.
VirtualMachine
A virtual machine.
Name Type Required Description configVmConfigyes Desired 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)yes Stable instance UUID exposed to the guest (SMBIOS). namestringyes Display 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_poolstringyes Resource pool the VM belongs to. runtimeVmRuntimeObserved runtime state. snapshotsarray of VmSnapshot Snapshot tree, flat (each snapshot names its parent), in creation order.
VirtualNic
A virtual NIC.
Name Type Required Description 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)yes Stable device key within the VM. mac_addressstringyes MAC address, lower-case colon-separated. modelstringDevice model (virtio, e1000e, vmxnet3-compatible profile, ...). networkstringyes Network or distributed portgroup.
VmAddress
One address of a VM, across pools.
Name Type Required Description addressstringyes IPv4 address, or the server's IPv6 address (<prefix>::1). allocatedAtstringyes Allocation time. macstring or nullNIC MAC. poolstringyes The pool. poolNamestringyes The 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 nullrolestringyes primary, extra or ipv6.
VmConfig
The configuration of a VM (what the user asked for).
Name Type Required Description annotationstringAnnotation / notes. cdromsarray of VirtualCdrom CD-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 VirtualDisk Disks. extra_configobjectFree-form extraConfig-style options (guestinfo.*, ...). firmwareFirmwareKindFirmware. guest_idstringGuest OS identifier (vSphere-style guestId, e.g. ubuntu64Guest). memory_mibinteger (int64)yes Memory. nicsarray of VirtualNic NICs. num_cpusinteger (int32)yes Virtual CPUs. secure_bootbooleanSecure Boot enabled (EFI only). templatebooleanWhether this VM is a template. vtpmbooleanVirtual TPM present.
VmGuest
Guest information (from the guest agent).
Name Type Required Description 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 string All IP addresses. nicsarray of GuestNic Network 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).
Name Type Required Description 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 nullmemory_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.
Name Type Required Description configVmConfigyes The VM configuration when the snapshot was taken. created_atstringyes Creation time. descriptionstringFree text. keyinteger (int32)yes Number unique within the VM; the MoRef value is <vm id>-snapshot-<key>. memorybooleanIncludes the memory state (a revert resumes the running guest). namestringyes Display name (not unique; vSphere allows duplicates). parentinteger (int32) or nullParent snapshot key; None for a root. power_statePowerStateyes Power state of the VM when the snapshot was taken. quiescedbooleanGuest file systems were quiesced through the guest channel. runtime_namestringyes Snapshot tag on the host ([A-Za-z0-9_.-]{1,64}).
VmTraffic
Traffic of one VM in a period.
Name Type Required Description billableBytesinteger (int64)yes Billable bytes. inBytesinteger (int64)yes Bytes received by the VM (inbound). namestringyes VM name as last seen. outBytesinteger (int64)yes Bytes sent by the VM (outbound). tenantstringyes Tenant as last seen in the ledger. vmstringyes VM id.
VmTrafficView
One VM's traffic in a period, with its limit state and daily series.
Name Type Required Description billableBytesinteger (int64)yes Billable bytes. daysarray of TrafficDay yes Bytes per day. inBytesinteger (int64)yes Inbound bytes. limitBytesinteger (int64) or nullThe limit of the period (plan plus packages); absent: none. outBytesinteger (int64)yes Outbound bytes. percentnumber (double) or nullBillable bytes as per cent of the limit. periodEndstringyes Last day of the period (inclusive). periodStartstringyes First day of the period. policyTrafficPolicy or nullthrottledbooleanyes The VM is throttled now. vmstringyes VM id.
VmfsCreateOptionView
One VMFS create-option template (QueryVmfsDatastoreCreateOptions).
Name Type Required Description blockSizeMbinteger (int32)yes Suggested block size in MiB. canonicalNamestringyes Canonical name (naa.…). capacityBytesinteger (int64)yes Capacity in bytes. devicePathstringyes Host device path. diskUuidstringyes Disk WWID (VmfsDatastoreSpec.diskUuid). majorVersioninteger (int32)yes Suggested major version.
VmfsDiskView
One available disk for VMFS create (QueryAvailableDisksForVmfs).
Name Type Required Description canonicalNamestringyes Canonical name (naa.…). capacityBytesinteger (int64)yes Capacity in bytes. devicePathstringyes Host device path. luninteger (int32)yes LUN number. portalstringyes Portal used for login. targetstringyes Target IQN. wwidstringyes Multipath / by-id WWID.
VnicFirewallView
The firewall of one vNIC.
Name Type Required Description appliedVersioninteger (int64) or nullPlan version the host holds as applied. defaultInDefaultActionViewyes Default for inbound traffic. defaultOutDefaultActionViewyes Default for outbound traffic. hoststring or nullHost. macstringyes MAC. modeModeViewyes Mode. networkstringyes Network id. nicKeystringyes NIC key (4000). pendingPendingModeView or nullprofilestringyes Profile id. profileExplicitbooleanyes The profile was set on the vNIC (else it follows the NIC kind). protectionProtectionViewyes Protection. publicbooleanyes Public (an IP pool address). rulesarray of EffectiveRule yes Rules in evaluation order, the two defaults last. vmstringyes VM id. wantedVersioninteger (int64) or nullPlan version last sent to the host.
VnicView
A vNIC: VM id and NIC key (4000, or nic4000).
Name Type Required Description nicstringyes NIC key. vmstringyes VM id (vm-7).
Previous API schemas: U Next API schemas: W
Version 0.1.