# midclt call vm.query | jq
[
  {
    "id": 1,
    "name": "LAB_AD",
    "description": "Active Directory Win 2019",
    "vcpus": 1,
    "memory": 4096,
    "autostart": false,
    "time": "LOCAL",
    "grubconfig": null,
    "bootloader": "UEFI",
    "cores": 2,
    "threads": 1,
    "shutdown_timeout": 90,
    "devices": [
      {
        "id": 12,
        "dtype": "NIC",
        "attributes": {
          "type": "VIRTIO",
          "mac": "00:a0:98:0a:f0:bf",
          "nic_attach": "re0"
        },
        "order": 1003,
        "vm": 1
      },
      {
        "id": 13,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/LAB_AD-bxzk4ud",
          "type": "AHCI",
          "physical_sectorsize": null,
          "logical_sectorsize": null
        },
        "order": 1001,
        "vm": 1
      },
      {
        "id": 15,
        "dtype": "VNC",
        "attributes": {
          "vnc_port": 61512,
          "wait": false,
          "vnc_resolution": "1024x768",
          "vnc_bind": "192.168.111.112",
          "vnc_password": "",
          "vnc_web": true
        },
        "order": 1002,
        "vm": 1
      }
    ],
    "status": {
      "state": "RUNNING",
      "pid": 19470,
      "domain_state": "RUNNING"
    }
  },
  {
    "id": 6,
    "name": "UBUNTU_SRV_TOOLS",
    "description": "ubuntu server 21.10 - tools - carlos - Tocantins@89",
    "vcpus": 1,
    "memory": 16384,
    "autostart": false,
    "time": "LOCAL",
    "grubconfig": null,
    "bootloader": "UEFI",
    "cores": 2,
    "threads": 1,
    "shutdown_timeout": 90,
    "devices": [
      {
        "id": 88,
        "dtype": "NIC",
        "attributes": {
          "type": "E1000",
          "mac": "00:a0:98:7d:36:38",
          "nic_attach": "re0"
        },
        "order": 1002,
        "vm": 6
      },
      {
        "id": 89,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/UBUNTU_SRV_TOOLS-p8o003",
          "type": "AHCI",
          "physical_sectorsize": null,
          "logical_sectorsize": null
        },
        "order": 1001,
        "vm": 6
      },
      {
        "id": 91,
        "dtype": "VNC",
        "attributes": {
          "wait": false,
          "vnc_port": 6121,
          "vnc_resolution": "1024x768",
          "vnc_bind": "192.168.111.112",
          "vnc_password": "",
          "vnc_web": true
        },
        "order": 1002,
        "vm": 6
      },
      {
        "id": 92,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/UBUNTU_SRV_TOOLS-DADOS01",
          "type": "AHCI",
          "physical_sectorsize": null,
          "logical_sectorsize": null
        },
        "order": 1001,
        "vm": 6
      },
      {
        "id": 93,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/UBUNTU_SRV_TOOLS_SWAP",
          "type": "AHCI",
          "physical_sectorsize": null,
          "logical_sectorsize": null
        },
        "order": 1001,
        "vm": 6
      }
    ],
    "status": {
      "state": "STOPPED",
      "pid": null,
      "domain_state": "SHUTOFF"
    }
  },
  {
    "id": 8,
    "name": "UBUNTU_1804",
    "description": "",
    "vcpus": 2,
    "memory": 4096,
    "autostart": false,
    "time": "LOCAL",
    "grubconfig": null,
    "bootloader": "UEFI",
    "cores": 2,
    "threads": 1,
    "shutdown_timeout": 90,
    "devices": [
      {
        "id": 98,
        "dtype": "NIC",
        "attributes": {
          "type": "VIRTIO",
          "mac": "00:a0:98:78:01:4d",
          "nic_attach": "re0"
        },
        "order": 1002,
        "vm": 8
      },
      {
        "id": 99,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/UBUNTU_1804-dd5y64",
          "type": "AHCI",
          "physical_sectorsize": null,
          "logical_sectorsize": null
        },
        "order": 1001,
        "vm": 8
      },
      {
        "id": 101,
        "dtype": "VNC",
        "attributes": {
          "wait": false,
          "vnc_port": 56049,
          "vnc_resolution": "1024x768",
          "vnc_bind": "192.168.111.112",
          "vnc_password": "",
          "vnc_web": true
        },
        "order": 1004,
        "vm": 8
      },
      {
        "id": 102,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/UBUNTU_1804-DADOS",
          "physical_sectorsize": null,
          "logical_sectorsize": null,
          "type": "AHCI"
        },
        "order": 1003,
        "vm": 8
      }
    ],
    "status": {
      "state": "STOPPED",
      "pid": null,
      "domain_state": "SHUTOFF"
    }
  },
  {
    "id": 10,
    "name": "LAB_VEEAM_VBO",
    "description": "Lab Veeam VBO",
    "vcpus": 2,
    "memory": 16384,
    "autostart": false,
    "time": "LOCAL",
    "grubconfig": null,
    "bootloader": "UEFI",
    "cores": 1,
    "threads": 1,
    "shutdown_timeout": 90,
    "devices": [
      {
        "id": 117,
        "dtype": "NIC",
        "attributes": {
          "type": "E1000",
          "mac": "00:a0:98:44:07:d4",
          "nic_attach": "re0"
        },
        "order": 1004,
        "vm": 10
      },
      {
        "id": 118,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/LAB_VEEAM_VBO-pqf04g",
          "type": "AHCI",
          "physical_sectorsize": null,
          "logical_sectorsize": null
        },
        "order": 1001,
        "vm": 10
      },
      {
        "id": 119,
        "dtype": "CDROM",
        "attributes": {
          "path": "/mnt/poolmain/vmds/ISO/VeeamBackupMicrosoft365_6.1.0.423_P20220926.iso"
        },
        "order": 1000,
        "vm": 10
      },
      {
        "id": 120,
        "dtype": "VNC",
        "attributes": {
          "vnc_port": 26521,
          "wait": false,
          "vnc_resolution": "1024x768",
          "vnc_bind": "192.168.111.112",
          "vnc_password": "",
          "vnc_web": true
        },
        "order": 1002,
        "vm": 10
      },
      {
        "id": 121,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/LAB_VEEAM_VBO-D01",
          "physical_sectorsize": null,
          "logical_sectorsize": null,
          "type": "AHCI"
        },
        "order": 1003,
        "vm": 10
      }
    ],
    "status": {
      "state": "STOPPED",
      "pid": null,
      "domain_state": "SHUTOFF"
    }
  },
  {
    "id": 13,
    "name": "LAB_SQLSERVER",
    "description": "MS SQL 2022",
    "vcpus": 2,
    "memory": 8192,
    "autostart": false,
    "time": "LOCAL",
    "grubconfig": null,
    "bootloader": "UEFI",
    "cores": 1,
    "threads": 1,
    "shutdown_timeout": 90,
    "devices": [
      {
        "id": 146,
        "dtype": "NIC",
        "attributes": {
          "type": "VIRTIO",
          "mac": "00:a0:98:30:80:04",
          "nic_attach": "re0"
        },
        "order": 1004,
        "vm": 13
      },
      {
        "id": 147,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/LAB_SQLSERVER-aimk5r",
          "type": "AHCI",
          "physical_sectorsize": null,
          "logical_sectorsize": null
        },
        "order": 1002,
        "vm": 13
      },
      {
        "id": 148,
        "dtype": "CDROM",
        "attributes": {
          "path": "/mnt/poolmain/vmds/ISO/virtio-win-guest-tools.iso"
        },
        "order": 1000,
        "vm": 13
      },
      {
        "id": 149,
        "dtype": "VNC",
        "attributes": {
          "vnc_port": 38731,
          "wait": false,
          "vnc_resolution": "1024x768",
          "vnc_bind": "192.168.111.112",
          "vnc_password": "",
          "vnc_web": true
        },
        "order": 1003,
        "vm": 13
      },
      {
        "id": 151,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/LAB_SQLSERVER-DADOSS",
          "type": "AHCI",
          "physical_sectorsize": 512,
          "logical_sectorsize": 512
        },
        "order": 1001,
        "vm": 13
      },
      {
        "id": 152,
        "dtype": "NIC",
        "attributes": {
          "type": "VIRTIO",
          "mac": "00:a0:98:FF:FF:FF",
          "nic_attach": "bridge0"
        },
        "order": 1002,
        "vm": 13
      },
      {
        "id": 153,
        "dtype": "NIC",
        "attributes": {
          "type": "VIRTIO",
          "mac": "00:a0:98:FF:FF:FF",
          "nic_attach": "bridge0"
        },
        "order": 1002,
        "vm": 13
      }
    ],
    "status": {
      "state": "STOPPED",
      "pid": null,
      "domain_state": "SHUTOFF"
    }
  },
  {
    "id": 14,
    "name": "VEEAM_VBR01",
    "description": "",
    "vcpus": 1,
    "memory": 12288,
    "autostart": false,
    "time": "LOCAL",
    "grubconfig": null,
    "bootloader": "UEFI",
    "cores": 4,
    "threads": 1,
    "shutdown_timeout": 90,
    "devices": [
      {
        "id": 154,
        "dtype": "NIC",
        "attributes": {
          "type": "VIRTIO",
          "mac": "00:a0:98:22:15:42",
          "nic_attach": "bridge0"
        },
        "order": 1003,
        "vm": 14
      },
      {
        "id": 155,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/LABVBR_WIN2K22-u3v0yb",
          "type": "AHCI",
          "physical_sectorsize": null,
          "logical_sectorsize": null
        },
        "order": 1001,
        "vm": 14
      },
      {
        "id": 156,
        "dtype": "CDROM",
        "attributes": {
          "path": "/mnt/poolmain/vmds/ISO/WindowsServer2022-LTSC_21H2-Build_20348.1006.iso"
        },
        "order": 1000,
        "vm": 14
      },
      {
        "id": 157,
        "dtype": "VNC",
        "attributes": {
          "vnc_port": 32553,
          "wait": false,
          "vnc_resolution": "1024x768",
          "vnc_bind": "192.168.111.112",
          "vnc_password": "",
          "vnc_web": true
        },
        "order": 1002,
        "vm": 14
      },
      {
        "id": 165,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/LABVBR_WIN2K22-D01",
          "physical_sectorsize": null,
          "logical_sectorsize": null,
          "type": "AHCI"
        },
        "order": 1001,
        "vm": 14
      },
      {
        "id": 166,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/LABVBR_WIN2K22-D02",
          "physical_sectorsize": null,
          "logical_sectorsize": null,
          "type": "AHCI"
        },
        "order": 1001,
        "vm": 14
      }
    ],
    "status": {
      "state": "RUNNING",
      "pid": 43310,
      "domain_state": "RUNNING"
    }
  },
  {
    "id": 15,
    "name": "LNX_TAPELIBRARY",
    "description": "",
    "vcpus": 1,
    "memory": 2048,
    "autostart": false,
    "time": "LOCAL",
    "grubconfig": null,
    "bootloader": "UEFI",
    "cores": 2,
    "threads": 1,
    "shutdown_timeout": 90,
    "devices": [
      {
        "id": 167,
        "dtype": "NIC",
        "attributes": {
          "type": "VIRTIO",
          "mac": "00:a0:98:49:6b:e7",
          "nic_attach": "bridge0"
        },
        "order": 1003,
        "vm": 15
      },
      {
        "id": 168,
        "dtype": "DISK",
        "attributes": {
          "path": "/dev/zvol/poolmain/vmds/LNX_TAPELIBRARY-wj2ovn",
          "type": "AHCI",
          "physical_sectorsize": null,
          "logical_sectorsize": null
        },
        "order": 1001,
        "vm": 15
      },
      {
        "id": 170,
        "dtype": "VNC",
        "attributes": {
          "vnc_port": 31420,
          "wait": true,
          "vnc_resolution": "800x600",
          "vnc_bind": "192.168.111.112",
          "vnc_password": "",
          "vnc_web": true
        },
        "order": 1002,
        "vm": 15
      },
      {
        "id": 172,
        "dtype": "CDROM",
        "attributes": {
          "path": "/mnt/poolmain/vmds/ISO/debian-12.1.0-amd64-DVD-1.iso"
        },
        "order": 1000,
        "vm": 15
      }
    ],
    "status": {
      "state": "STOPPED",
      "pid": null,
      "domain_state": "SHUTOFF"
    }
  }
]

