Apache CloudStack 4.20.0.0 Root Admin API Reference
listVmwareDcVms
Lists the VMs in a VMware Datacenter
Request parameters
Parameter Name | Description | Required |
datacentername | Name of VMware datacenter. | false |
existingvcenterid | UUID of a linked existing vCenter | false |
keyword | List by keyword | false |
page | false | |
pagesize | false | |
password | The password for specified username. | false |
username | The Username required to connect to resource. | false |
vcenter | The name/ip of vCenter. Make sure it is IP address or full qualified domain name for host running vCenter server. | false |
Response Tags
Response Name | Description |
clusterid | the ID of the cluster to which virtual machine belongs |
clustername | the name of the cluster to which virtual machine belongs |
cpucorepersocket | the CPU cores per socket for the virtual machine. VMware specific |
cpunumber | the CPU cores of the virtual machine |
cpuspeed | the CPU speed of the virtual machine |
hostid | the ID of the host to which virtual machine belongs |
hostname | the name of the host to which virtual machine belongs |
memory | the memory of the virtual machine in MB |
name | the name of the virtual machine |
osdisplayname | the operating system of the virtual machine |
osid | the operating system ID of the virtual machine |
powerstate | the power state of the virtual machine |
disk(*) | the list of disks associated with the virtual machine |
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 virtual machine |
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 virtual machine |
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 VM |
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 |
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 vm 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 |