Reference For: developers

API schemas: I

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

ImportVAppRequest

Import a VM from an OVF plan (POST /v1/resource-pools/{id}/import-vapp).

Same body as [CreateOvfImportSpecRequest] plus optional folder / host placement.

NameTypeRequiredDescription
datastoreIdstringyesTarget datastore (datastore-N).
deploymentOptionstring or nullOptional deployment configuration id.
entityNamestring or nullOverride entity name; defaults to the package VirtualSystem name.
folderIdstring or nullDestination VM folder (group-vN); defaults to the datacenter VM folder.
hostIdstring or nullDestination host (host-N).
networkMappingarray of OvfNetworkMappingRequestOVF network name → inventory network mappings.
ovfDescriptorstringyesOVF envelope XML.

InstallLicenceRequest

Body of POST /v1/licence/install.

NameTypeRequiredDescription
payloadstringyesLicence payload JSON (the signed document).
signaturestringyesDetached minisign signature file text.

InstalledLicenceView

Summary of one installed licence (no signature bytes).

NameTypeRequiredDescription
installedAtstringyesWhen it was installed on this controller (RFC 3339).
licenceIdstringyesLicence id.
licenseestringyesLicensee.
validbooleanyesWhether it is currently inside its validity window.

IntervalView

A sampling interval.

NameTypeRequiredDescription
keyinteger (int32)yesPerfInterval.key (0 = realtime).
lengthinteger (int32)yesSeconds of history kept.
levelinteger (int32) or nullCollection level (historical intervals).
namestringyesName.
samplingPeriodinteger (int32)yesSeconds between samples; the interval of a query.

InvalidateRequestView

OpenAPI stand-in for InvalidateRequest.

NameTypeRequiredDescription
reasonInvalidationReasonViewyesWhy change tracking restarts for the disk.
vmIdstring (uuid)yesVM instance UUID.

InvalidationReasonView

OpenAPI stand-in for InvalidationReason (model lives in kyvernon-backup).

Values: "TRACKING_RESET", "DISK_RESIZED", "SNAPSHOT_REVERT", "BITMAP_LOST", "RESTORED"

InventoryNode

A node of the inventory tree (lazy loading).

NameTypeRequiredDescription
hasChildrenbooleanyesWhether the node has children.
idstringyesObject id.
namestringyesDisplay name.
parentIdstring or nullParent id.
statusstringyesHealth (ok, warning, danger, unknown).
typestringyesShort type (datacenter, folder, cluster, host, vm, datastore, network, ...).

IpPoolAvailableView

The addresses of a pool that can be allocated now.

NameTypeRequiredDescription
addressesarray of stringyesThe first free IPv4 addresses, ascending, at most limit. The first one is what an allocation without an address takes. Gateway, reserved, network and broadcast addresses, allocated ones and those in quarantine are never listed. Another caller can take a listed address first: allocating it then fails with error.ip_pool.address_in_use (409).
freeIpv4integer (int64)yesFree IPv4 addresses in total (not limited).
freeIpv6Blocksinteger (int64)yesFree IPv6 blocks in total (0 without IPv6).
ipv6BlockLeninteger (int32) or nullLength of the pool's IPv6 blocks (absent without IPv6).
poolstringyesPool id.
poolNamestringyesPool name.
truncatedbooleanyesTrue when more addresses are free than listed.

IpPoolRequest

Create or replace a pool.

NameTypeRequiredDescription
addressesarray of stringSingle IPv4 addresses (a provider's on-link addresses), besides or instead of ranges.
dnsServersarray of stringDNS servers; empty: the network's.
expectedVersioninteger (int64) or nullRequired on update: the version read.
gatewaystring or nullGateway.
ipv6PoolIpv6View or null
namestringyesName, unique.
networkstringyesThe host-bridge network id (network-N).
prefixLeninteger (int32)yesPrefix length of the IPv4 subnet.
quarantineSinteger (int64) or nullQuarantine of released addresses in seconds (default 14 days).
rangesarray of RangeViewIPv4 ranges.
rdnsRdnsMode or null
reservedarray of stringAddresses never handed out.
smtpIpv4SmtpPolicy or null
smtpIpv6SmtpPolicy or null

IpPoolView

A pool.

NameTypeRequiredDescription
addressesarray of stringyesSingle addresses.
dnsServersarray of stringyesDNS servers.
gatewaystring or nullGateway.
idstringyesId (ippool-N).
ipv6PoolIpv6View or null
namestringyesName.
networkstringyesNetwork id.
prefixLeninteger (int32)yesPrefix length.
quarantineSinteger (int64)yesQuarantine in seconds.
rangesarray of RangeViewyesRanges.
rdnsRdnsModeyesReverse DNS mode in effect for the pool: provider or manual.
reservedarray of stringyesReserved addresses.
smtpIpv4SmtpPolicyyesOutgoing SMTP over IPv4.
smtpIpv6SmtpPolicyyesOutgoing SMTP over IPv6.
uplinkHostBridgeUplink or null
usagePoolUsageyesCounts.
versioninteger (int64)yesRecord version (for expectedVersion).

IpVersionView

IP families of a rule.

Values: "any", "v4", "v6"

IscsiAuthenticationRequest

Body for PUT /v1/hosts/{id}/iscsi/authentication.

NameTypeRequiredDescription
chapAuthEnabledbooleanyeschapAuthEnabled.
chapNamestring or nullchapName.
chapSecretstring or nullchapSecret (omit to reuse existing secret for the same name).
mutualChapAuthenticationTypestring or nullMutual CHAP type; omit / empty / chapProhibited disables mutual.
mutualChapNamestring or nullmutualChapName.
mutualChapSecretstring or nullmutualChapSecret.
targetSetIscsiTargetSetBody or null

IscsiConfigView

The software iSCSI configuration of a host.

NameTypeRequiredDescription
chapEnabledbooleanyesCHAP on the adapter.
chapNamestring or nullCHAP user name on the adapter (the secret is never returned).
discoveredTargetsarray of IscsiTargetViewyesTargets found by the last rescan.
enabledbooleanyesSoftware iSCSI initiator enabled.
hbaDevicestringyesAdapter name for the rescan (vmhba64).
hostIdstringyesHost id.
lunsarray of IscsiLunViewyesLUNs found by the last rescan.
mutualChapEnabledbooleanyesMutual CHAP on the adapter.
sendTargetsarray of IscsiPortalViewyesDiscovery (send target) portals.
staticTargetsarray of IscsiTargetViewyesStatic targets entered by an administrator.

IscsiLunView

A LUN the host sees through software iSCSI.

NameTypeRequiredDescription
canonicalNamestringyesCanonical name (naa.<wwid>), what POST /v1/hosts/{id}/datastores takes as disk.
capacityBytesinteger (int64)yesCapacity in bytes.
devicePathstringyesDevice path on the host.
luninteger (int32)yesLUN number.
portalstringyesPortal.
targetstringyesTarget IQN.
wwidstringyesWWID.

IscsiPortalView

An iSCSI portal.

NameTypeRequiredDescription
addressstringyesAddress (host name or IP address).
chapEnabledboolean or nullA CHAP setting of its own (secrets are never returned).
portinteger (int32)yesTCP port (3260 when not set).

IscsiRescanRequest

Body for POST /v1/hosts/{id}/iscsi/rescan.

NameTypeRequiredDescription
hbaDevicestring or nullHBA device (vmhba64); defaults to the software iSCSI HBA.

IscsiSendTargetBody

One send-target portal in a request body.

NameTypeRequiredDescription
addressstringyesPortal address (hostname or IP).
portinteger (int32) or nullPortal TCP port; omit for 3260.

IscsiSendTargetsRequest

Body for add/remove send-target routes.

NameTypeRequiredDescription
targetsarray of IscsiSendTargetBodyyesSend targets to add or remove.

IscsiStaticTargetBody

One static-target portal + IQN in a request body.

NameTypeRequiredDescription
addressstringyesPortal address.
iqnstringyesTarget IQN.
portinteger (int32) or nullPortal TCP port; omit for 3260.

IscsiStaticTargetsRequest

Body for add/remove static-target routes.

NameTypeRequiredDescription
targetsarray of IscsiStaticTargetBodyyesStatic targets to add or remove.

IscsiTargetSetBody

Optional target set for per-target CHAP.

NameTypeRequiredDescription
sendTargetsarray of IscsiSendTargetBodySend targets to update.
staticTargetsarray of IscsiStaticTargetBodyStatic targets to update.

IscsiTargetView

An iSCSI target.

NameTypeRequiredDescription
addressstringyesPortal address.
chapEnabledboolean or nullA CHAP setting of its own (secrets are never returned).
iqnstringyesTarget IQN.
portinteger (int32)yesTCP port.

IssueView

One validation finding.

NameTypeRequiredDescription
keystringyesMessage key (net.validation.fw_*, net.note.*).
messagestringyesEnglish detail.
objectstringyesObject path (policies/fwpolicy-3/rules/12).
severitystringyeserror or note.

Version 0.1.