Reference For: developers

API schemas: G

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

GroupBody

Create or replace a group.

NameTypeRequiredDescription
criteriaarray of array of TagViewTag criteria: a vNIC is a member when its VM carries every tag of one criterion.
descriptionstringDescription (tenants see it with the name for shared provider groups).
groupsarray of stringNested groups.
macsarray of stringEvery vNIC with one of these MAC addresses (00:50:56:aa:bb:cc).
namestringyesName (unique in its scope; sys: is reserved).
networksarray of stringEvery vNIC on these host-bridge networks.
prefixesarray of stringAddresses and prefixes (endpoints outside the platform).
sharedbooleanProvider groups only: tenants may use it as source or destination (name only).
vmsarray of stringEvery vNIC of these VMs.
vnicsarray of VnicViewThese vNICs.

GroupMembersRequest

Body of POST /v1/identity/groups/{name}/members.

NameTypeRequiredDescription
groupsarray of stringGroups to add as nested groups. A group that would contain itself, directly or through other groups, is refused (error.identity.group_cycle).
usersarray of stringUsers to add (local users).

GroupMembersView

Resolved members of a group.

NameTypeRequiredDescription
addressesarray of stringyesTheir addresses and the group's prefixes (aggregated).
groupstringyesGroup id.
vnicsarray of VnicViewyesMember vNICs.

GroupView

A group.

Type: GroupBody, object

GrownDiskView

Outcome of one grown disk in a reconfigure task's result.grownDisks.

NameTypeRequiredDescription
datastorestringyesDatastore id.
outcomestring or nullonline (the guest saw the new size), offline (the file grew while the VM was off) or at-next-start (the running VM sees it after its next power cycle).
pathstringyesPath below the datastore root.
sizeBytesinteger (int64)yesNew capacity in bytes.

GuestAgentOffer

The answer: whether to offer, and what installing it means.

NameTypeRequiredDescription
extraConfigobject or nullextraConfig with the snippet merged into guestinfo.vendordata, what guestAgent: true on the create request produces; absent when it cannot be merged (the VM's vendor data is not #cloud-config) or not offered.
mergeErrorstring or nullSet when the snippet cannot be merged into the VM's vendor data.
offerbooleanyesOffer the installation: the template's cloud image lacks qemu-guest-agent and the VM's cloud-init data does not install it.
reasonstringyesWhy (or why not), for the UI to show next to the choice.
vendorDatastringyesThe vendor-data snippet (#cloud-config that installs and starts the agent).

GuestAgentOfferRequest

Asks whether to offer the guest agent installation for a VM about to be created.

NameTypeRequiredDescription
extraConfigobjectThe VM's extraConfig so far (guestinfo.userdata and friends).
templatestringyesThe template, image or guest OS the VM is created from (Ubuntu 24.04 LTS, debian-13, ubuntu64Guest).

GuestAuthRequest

Guest authentication accepted by guest-ops routes (not checked against the guest).

NameTypeRequiredDescription
interactiveSessionboolean or nullInteractive session flag (SOAP parity; ignored).
passwordstring or nullGuest password (accepted and discarded).
usernamestring or nullGuest account name (echoed; not verified).

GuestAuthView

Credentials echo from AcquireCredentialsInGuest.

NameTypeRequiredDescription
interactiveSessionbooleanInteractive session flag echoed.
usernamestringAccount name handed back.

GuestChangeAttributesRequest

Change posix file attributes in the guest (ChangeFileAttributesInGuest).

NameTypeRequiredDescription
accessTimeUnixinteger (int64) or nullAccess time, Unix seconds; omit to leave unchanged.
groupIdinteger (int32) or nullGroup gid; omit to leave unchanged.
modificationTimeUnixinteger (int64) or nullModification time, Unix seconds; omit to leave unchanged.
ownerIdinteger (int32) or nullOwner uid; omit to leave unchanged.
pathstringyesPath in the guest.
permissionsinteger (int64) or nullMode bits as VMware permissions (e.g. 420 = 0644); omit to leave unchanged.

GuestCreateTemporaryRequest

Create a temporary file or directory in the guest (CreateTemporary*InGuest).

NameTypeRequiredDescription
directoryPathstring or nullParent directory; omit for guest /tmp.
prefixstringName prefix (no path separators); may be empty.
suffixstringName suffix (no path separators); may be empty.

GuestCreateTemporaryView

Path created by CreateTemporary*InGuest.

NameTypeRequiredDescription
pathstringyesAbsolute path in the guest.

GuestDeleteFileRequest

Delete a file in the guest (DeleteFileInGuest).

NameTypeRequiredDescription
pathstringyesFile path in the guest (not a directory).

GuestEnvView

Guest environment variables.

NameTypeRequiredDescription
variablesarray of stringNAME=value lines.

GuestFileEntryView

One guest path as ListFilesInGuest / native list reports it.

NameTypeRequiredDescription
pathstringAbsolute path in the guest.
sizeinteger (int64)Size in bytes.
typestringfile, directory, or symlink.

GuestFileListRequest

List files in the guest (ListFilesInGuest).

NameTypeRequiredDescription
indexinteger (int32) or nullZero-based start index (default 0).
matchPatternstring or nullBasename regex (grep -E); empty / .* matches all.
maxResultsinteger (int32) or nullCap on returned entries.
pathstringyesDirectory or file path in the guest.

GuestFileListView

Guest directory listing page.

NameTypeRequiredDescription
filesarray of GuestFileEntryViewMatched page.
remaininginteger (int32)yesHow many matches remain after this page.

GuestFileReadRequest

Read a file from the guest.

NameTypeRequiredDescription
pathstringyesAbsolute path in the guest.

GuestFileReadView

File contents from the guest (inline; replaces SOAP NFC-style transfer URL).

NameTypeRequiredDescription
dataBase64stringyesFile content, standard Base64.
pathstringyesPath that was read.
sizeinteger (int64)yesSize in bytes.

GuestFileWriteRequest

Write a file into the guest.

NameTypeRequiredDescription
dataBase64stringyesFile content, standard Base64.
overwriteboolean or nullReplace an existing file (default true).
pathstringyesAbsolute path in the guest.

GuestFileWriteView

Result of writing a guest file.

NameTypeRequiredDescription
pathstringyesPath that was written.
sizeinteger (int64)yesBytes written.

GuestMkdirRequest

Create a directory in the guest (MakeDirectoryInGuest).

NameTypeRequiredDescription
createParentsboolean or nullCreate missing parents (default false).
pathstringyesDirectory path in the guest.

GuestMoveDirectoryRequest

Move or rename a directory in the guest (MoveDirectoryInGuest).

NameTypeRequiredDescription
dststringyesDestination directory path in the guest.
srcstringyesSource directory path in the guest.

GuestMoveFileRequest

Move or rename a file in the guest (MoveFileInGuest).

NameTypeRequiredDescription
dststringyesDestination path in the guest.
overwriteboolean or nullReplace an existing destination file (default false).
srcstringyesSource path in the guest.

GuestNic

A network interface of the guest as the guest agent reports it.

NameTypeRequiredDescription
ip_addressesarray of stringAddresses: IPv4 first, then global IPv6 (link-local ones are left out).
macstringHardware address (lower case), the key that ties it to a virtual NIC.
namestringyesInterface name in the guest (eth0, enp1s0).

GuestProcessListView

List of guest processes.

NameTypeRequiredDescription
processesarray of GuestProcessViewProcesses remembered for this VM (or filtered by pid).

GuestProcessView

A program of the guest as ListProcessesInGuest / native list reports it.

NameTypeRequiredDescription
cmdLinestringPath and arguments.
endUnixinteger (int64) or nullEnd, when it has ended.
exitCodeinteger (int32) or nullExit code, once it has exited.
namestringProgram name.
ownerstringOwner (the account the start named).
pidinteger (int64)yesProcess id in the guest.
startUnixinteger (int64)yesStart, seconds since the Unix epoch.

GuestRmdirRequest

Delete a directory in the guest (DeleteDirectoryInGuest).

NameTypeRequiredDescription
pathstringyesDirectory path in the guest.
recursiveboolean or nullRemove contents too (default false).

GuestStartProgramRequest

Start a program in the guest.

NameTypeRequiredDescription
argumentsstring or nullArguments as one string (SOAP GuestProgramSpec.arguments).
authGuestAuthRequestAuthentication (accepted, not checked).
envVariablesarray of string or nullEnvironment variables (NAME=value).
programPathstringyesAbsolute path of the program in the guest.
workingDirectorystring or nullWorking directory.

GuestStartProgramView

Result of starting a guest program.

NameTypeRequiredDescription
pidinteger (int64)yesGuest process id.

Version 0.1.