VMware Player API 1.2.1 Data Structures
{
"code": "integer",
"message": "string"
}
code
message
{
"index": "integer",
"type": "string",
"vmnet": "string",
"macAddress": "string"
}
The network type of network adapter
The vmnet name
Mac address
{
"type": "string",
"vmnet": "string"
}
The network type of network adapter
The vmnet name, it should only be used while type is custom
The list of network adapters
{
"num": "integer",
"nics": [
{
"index": "integer",
"type": "string",
"vmnet": "string",
"macAddress": "string"
}
]
}
Index of Network Adapters
Number of NIC devices
{
"folder_id": "string",
"host_path": "string",
"flags": "integer"
}
ID of folder which be mounted to the host
Path of the host shared folder
The flags property specifies how the folder will be accessed by the VM. There is only one flag supported which is "4" and means read/write access.
{
"host_path": "string",
"flags": "integer"
}
Path of the host shared folder
The flags property specifies how the folder will be accessed by the VM. There is only one flag supported which is "4" and means read/write access.
The shared folders mounted to this VM
[
{
"folder_id": "string",
"host_path": "string",
"flags": "integer"
}
]
The CPU information of VM
{
"processors": "integer"
}
{
"id": "string",
"path": "string"
}
ID of the VM
Path of the VM
Memory size in mega bytes
{
"processors": "integer",
"memory": "integer"
}
{
"power_state": "string"
}
power_state
Number of processor cores