Apache CloudStack 4.23.0.0 Root Admin API Reference
listVmsForImport
Lists virtual machines on a unmanaged host
Request parameters
| Parameter Name | Description | Required |
| host | the host name or IP address | true |
| hypervisor | hypervisor type of the host | true |
| zoneid | the zone ID | true |
| keyword | List by keyword | false |
| page | false | |
| pagesize | false | |
| password | the password for the host | false |
| username | the username for the host | false |
Response Tags
| Response Name | Description |
| bootmode | indicates the boot mode |
| boottype | indicates the boot type |
| clusterid | The ID of the cluster to which Instance belongs |
| clustername | the name of the cluster to which virtual machine belongs |
| cpucorepersocket | The CPU cores per socket for the Instance. VMware specific |
| cpunumber | The CPU cores of the Instance |
| cpuspeed | The CPU speed of the Instance |
| hostid | The ID of the host to which Instance belongs |
| hostname | The name of the host to which Instance belongs |
| hypervisor | The hypervisor to which Instance belongs |
| hypervisorversion | The hypervisor version of the host to which Instance belongs |
| memory | The memory of the Instance in MB |
| name | The name of the Instance |
| osdisplayname | The operating system of the Instance |
| osid | The operating system ID of the Instance |
| powerstate | The power state of the Instance |
| disk(*) | The list of disks associated with the Instance |
| id | The ID of the disk |
| capacity | The capacity of the disk in bytes |
| controller | The controller of the disk |
| controllerunit | The controller unit of the disk |
| datastorehost | The controller of the disk |
| datastorename | The controller of the disk |
| datastorepath | The controller of the disk |
| datastoretype | The controller of the disk |
| imagepath | The file path of the disk image |
| label | The label of the disk |
| position | The position of the disk |
| nic(*) | The list of NICs associated with the Instance |
| id | The ID of the NIC |
| adaptertype | Type of adapter if available |
| broadcasturi | The broadcast URI of the NIC |
| deviceid | Device ID for the Network when plugged into the Instance |
| enabled | whether the NIC is enabled or not |
| extradhcpoption | The extra DHCP options on the NIC |
| gateway | The gateway of the NIC |
| ip6address | The IPv6 address of Network |
| ip6cidr | The CIDR of IPv6 Network |
| ip6gateway | The gateway of IPv6 Network |
| ipaddress | The IP address of the NIC |
| ipaddresses | IP addresses associated with NIC found for unmanaged Instance |
| isdefault | True if NIC is default, false otherwise |
| isolatedpvlan | The isolated private VLAN if available |
| isolatedpvlantype | The isolated private VLAN type if available |
| isolationuri | The isolation URI of the NIC |
| macaddress | True if NIC is default, false otherwise |
| mtu | MTU configured on the NIC |
| netmask | The netmask of the NIC |
| networkid | The ID of the corresponding Network |
| networkname | The name of the corresponding Network |
| nicdnsname | DNS name associated with this NIC's IP address |
| nsxlogicalswitch | Id of the NSX Logical Switch (if NSX based), null otherwise |
| nsxlogicalswitchport | Id of the NSX Logical Switch Port (if NSX based), null otherwise |
| publicip | Public IP address associated with this NIC via Static NAT rule |
| publicipid | Public IP address ID associated with this NIC via Static NAT rule |
| secondaryip | The Secondary IPv4 addr of NIC |
| traffictype | The traffic type of the NIC |
| type | The type of the NIC |
| virtualmachineid | Id of the Instance to which the NIC belongs |
| vlanid | ID of the VLAN/VNI if available |
| vpcid | ID of the VPC to which the NIC belongs |
| vpcname | Name of the VPC to which the NIC belongs |