Reference For: developers

API schemas: T

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

Tag

A tag. Its parent record is its category; attachments are stored on the tag so that listing tags of an object is one lookup through attached_to.

NameTypeRequiredDescription
attached_toarray of stringObjects this tag is attached to.
descriptionstringDescription.
namestringyesDisplay name.

TagCategory

A tag category.

NameTypeRequiredDescription
associable_kindsarray of stringKinds the tags may be attached to (empty = any inventory kind).
cardinalityCardinalityCardinality.
descriptionstringDescription.
namestringyesDisplay name.
provider_managedbooleanTags of this category are attached by the provider only, and only they count in the tag criteria of provider firewall groups (docs/network/DFW-HOSTBRIDGE.md §5). Tenant users cannot attach or detach them.

TagCategoryBody

Body of PUT /v1/firewall/tag-categories/{id}.

NameTypeRequiredDescription
providerManagedbooleanyesProvider-managed.

TagCategoryView

A tag category and whether it is provider-managed.

NameTypeRequiredDescription
idstringyescategory-N.
namestringyesName.
providerManagedbooleanyesOnly the provider attaches its tags; provider groups evaluate only such categories.

TagObjectsRequest

Body of POST /v1/tags/{id}/attach and POST /v1/tags/{id}/detach.

NameTypeRequiredDescription
objectIdsarray of stringyesInventory object ids (at most 1000). Every object is checked before any change is made: one refusal leaves all objects as they were.

TagView

A tag: category name and value.

NameTypeRequiredDescription
categorystringyesCategory name.
valuestringyesTag name.

TaggedObjectView

An object a tag is attached to.

NameTypeRequiredDescription
idstringyesObject id.
kindstringyesKind (virtual_machine, host, ...).
namestringyesName.

TaskRef

Reference to a task created by a long-running operation.

NameTypeRequiredDescription
taskIdstringyesThe task id to poll.

TaskResultView

Success payload of a completed task. Shape depends on the operation: power → PowerResultView; reconfigure → ReconfigureResultView; create/clone/AddHost/CreateSnapshot → CreatedObjectResultView; revert snapshot → SnapshotKeyResultView; remove snapshots → RemovedSnapshotsResultView; rename → RenameResultView; enter/exit maintenance → MaintenanceModeResultView; customize → CustomizeResultView; migrate/relocate → MigrateResultView. Destroy and similar operations leave result null.

One of: PowerResultView, ReconfigureResultView, CreatedObjectResultView, SnapshotKeyResultView, RemovedSnapshotsResultView, RenameResultView, MaintenanceModeResultView, CustomizeResultView, MigrateResultView

TaskStateView

Task state.

Values: "queued", "running", "success", "error", "cancelled"

TaskView

A task.

NameTypeRequiredDescription
argsobjectyesMessage arguments.
attemptinteger (int32)yesAttempts so far.
cancelRequestedbooleanyesCancellation requested.
chainIdstringyesCorrelation id grouping tasks and events of one action.
completedAtstring or nullCompleted at.
descriptionIdstringyesOperation id in vSphere style (VirtualMachine.powerOn).
errorErrorBody or null
idstringyesTask id (task-N).
initiatorstringyesSubmitting user.
messageIdstringyesLocalisable message key (task.virtual_machine.power_on).
progressinteger (int32)yesProgress 0..=100.
queuedAtstringyesQueued at.
resultTaskResultView or null
retryablebooleanyesWhether the failure is retryable.
startedAtstring or nullStarted at.
stateTaskStateViewyesState.
targetIdstring or nullTarget object id.
targetNamestringyesTarget name at submission.
targetTypestring or nullTarget short type.

TcpEvidence

Host-side TCP checks from the quarantine probe netns.

NameTypeRequiredDescription
addressstring or nullAddress that was probed (the leased address).
portsarray of TcpPortEvidencePer-port results (empty when no TCP check was requested).

TcpPortEvidence

One TCP port checked from the quarantine probe.

NameTypeRequiredDescription
elapsedMsinteger (int64)yesWall time of the attempt.
errorstring or nullShort error when ok is false.
okbooleanyesWhether the connect succeeded.
portinteger (int32)yesPort number.

TemplateBody

Body of PUT /v1/firewall/templates/{id} (a provider template).

NameTypeRequiredDescription
descriptionstringWhat it opens.
notestring or nullWhat to know before applying it.
rulesarray of TemplateRuleBodyyesThe rules (1 to 50).

TemplateRuleBody

One rule of a provider template: allow, direction in.

NameTypeRequiredDescription
fromarray of stringSources allowed (addresses or prefixes; empty: any).
ipVersionIpVersionViewIP families (default any).
namestringRule name (default: the template id).
servicesarray of ServiceEntryViewyesServices: entries of the native form; named names a built-in or provider service.

TemplateView

A rule template (§6.6): rules added to the VM's own policy, direction in.

NameTypeRequiredDescription
builtinbooleanBuilt in (read-only); the provider's own templates are not.
descriptionstringyesWhat it opens.
idstringyesssh-only, web, mail-server.
notestring or nullWhat to know before applying it.
rulesarray of RuleBodyyesThe rules it adds.
versioninteger (int64) or nullRecord version of a provider template (for If-Match).

TenantNetworkUsage

Network usage of one tenant in one period (for GET /v1/tenants/{t}/usage).

NameTypeRequiredDescription
addressesarray of ServerAddressUsageyesPublic addresses per server.
trafficTrafficReportyesTraffic per server and the tenant total.

TenantTraffic

Traffic of one tenant in a period.

NameTypeRequiredDescription
billableBytesinteger (int64)yesBillable bytes (sum of the VMs' billable bytes).
inBytesinteger (int64)yesInbound bytes.
namestringyesTenant name as last seen.
outBytesinteger (int64)yesOutbound bytes.
tenantstringyesTenant id.
vmsinteger (int32)yesVMs with traffic.

TenantUsageView

A tenant's usage in a month (docs/cloud/SELF_SERVICE.md §5).

NameTypeRequiredDescription
fromstringyesStart (inclusive, UTC).
monthstringyesYYYY-MM.
networkTenantNetworkUsage or null
planHoursarray of PlanHoursViewyesHours per plan over all servers.
serversarray of ServerUsageViewyesPer server.
snapshotGibHoursnumber (double)yesSnapshot GiB-hours over all servers.
tenantstringyesTenant.
tostringyesEnd (exclusive; now for the current month).

TenantView

A tenant.

NameTypeRequiredDescription
anchorDayinteger (int32) or nullDay of the month the traffic period starts.
closedAtstring or nullClosed at.
createdAtstringyesCreated.
destroyAfterstring or nullWhen a closed tenant's VMs are destroyed.
destroyedbooleanyesWhether that has happened.
displayNamestringyesDisplay name.
externalRefstringyesThe portal's account id.
foldersarray of stringyesVM folders (group-vN), one per datacenter.
idstringyestenant-N.
labelsobjectyesLabels.
namestringyesShort name.
poolsarray of stringyesResource pools, one per cluster.
quotaQuotaViewyesLimits.
statestringyesactive, suspended or closed.
suspendedAtstring or nullSuspended at.
usedQuotaAmountsyesCurrent use.

ToolsStatus

Guest agent tools state.

Values: "not_installed", "not_running", "running"

TotpCodeRequest

A TOTP code.

NameTypeRequiredDescription
codestringyesSix-digit code.

TotpEnrolResponse

POST /v1/auth/totp/enrol response.

NameTypeRequiredDescription
algorithmstringyesAlgorithm (SHA1), digits (6) and period (30 s), for display.
digitsinteger (int32)yesDigits.
otpauthUristringyesotpauth://totp/Kyvernon:<user>?secret=...&issuer=Kyvernon... for the QR code.
periodinteger (int32)yesPeriod in seconds.
secretstringyesBase32 seed for manual entry; shown once.

TrafficAction

What happens at 100 % of the limit.

Values: "notify", "throttle"

TrafficDay

One day of a VM's traffic (graph).

NameTypeRequiredDescription
daystringyesThe day (YYYY-MM-DD).
inBytesinteger (int64)yesInbound bytes.
outBytesinteger (int64)yesOutbound bytes.

TrafficPackage

An extra traffic package for one period.

NameTypeRequiredDescription
addedAtstringyesWhen it was added.
bytesinteger (int64)yesBytes added to the period's limit.
periodStartstringyesFirst day of the period it applies to (YYYY-MM-DD).
referencestring or nullThe caller's reference (order item).

TrafficPolicy

Traffic limit and state of one VM (record name: the VM id).

Mapping to plans: monthly_limit_bytes is the plan's traffic per month, action the plan's action at 100 %, throttle_kbps the plan's (or the site's default) throttle rate. Server create and resize set them from the vm_plan; until plans exist an operator or the portal sets them through PUT /v1/vms/{id}/traffic-policy.

NameTypeRequiredDescription
actionTrafficActionAction at 100 %.
anchorDayinteger (int32) or nullAnchor day of the period (1 to 28); None: the tenant's or the 1st.
monthlyLimitBytesinteger (int64) or nullBytes per period; None: no limit (accounting only).
namestringyesRecord name: the VM id (one policy per VM, enforced by the store's unique names).
packagesarray of TrafficPackageExtra packages.
smtpUnblockedbooleanOutgoing SMTP (TCP 25) is allowed for this VM although its pools block it (PUT /v1/vms/{id}/smtp; the record is the VM's network policy).
stateTrafficStateEnforcement state.
tenantstring or nullTenant (for the events).
throttleKbpsinteger (int64) or nullThrottle rate in kbit/s; None: the site default.
vmstringyesThe VM.

TrafficReport

A traffic report for one period.

NameTypeRequiredDescription
billableBillableyesBilled direction.
periodEndstringyesLast day of the period (inclusive).
periodStartstringyesFirst day of the period (YYYY-MM-DD).
tenantsarray of TenantTrafficyesPer tenant.
vmsarray of VmTrafficyesPer VM.

TrafficState

Enforcement state of the current period.

NameTypeRequiredDescription
limitBytesinteger (int64) or nullThe limit in force at the last check (plan plus packages).
notifiedarray of integer (int32)Thresholds already notified in the period.
periodStartstring or nullFirst day of the period the state is about.
throttledbooleanThe VM is throttled.
usedBytesinteger (int64)Billable bytes at the last check.

Version 0.1.