systemd · Example Payload

Machine1 Listmachines Example

Sample of the array returned by org.freedesktop.machine1.Manager.ListMachines.

BootCgroupsContainerD-BusInitIPCJournalLinuxLoggingNetworkOpen SourcePID 1Service ManagerSystemSystemdVarlink

Machine1 Listmachines Example is an example object payload from systemd, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationdescriptionexample

Example Payload

Raw ↑
{
  "operation": "ListMachines",
  "description": "Sample of the array returned by org.freedesktop.machine1.Manager.ListMachines.",
  "example": [
    {
      "name": "debian-trixie",
      "class": "container",
      "service": "systemd-nspawn",
      "object_path": "/org/freedesktop/machine1/machine/debian_2dtrixie"
    },
    {
      "name": "fedora-vm",
      "class": "vm",
      "service": "libvirt",
      "object_path": "/org/freedesktop/machine1/machine/fedora_2dvm"
    }
  ]
}