Virtual Machine Get Layout
Deprecated as of vSphere API 4.0, use layoutEx instead. In releases after vSphere API 5.0, vSphere Servers might not generate property collector update notifications for this property. To obtain the latest value of the property, you can use PropertyCollector methods RetrievePropertiesEx or WaitForUpdatesEx. If you use the PropertyCollector.WaitForUpdatesEx method, specify an empty string for the version parameter. Any other version value will not produce any property values as no updates are generated.
Detailed information about the files that comprise this virtual machine.
The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId
, in this case VirtualMachine/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
OK
{
"_typeName": "string",
"configFile": [
"string"
],
"logFile": [
"string"
],
"disk": [
{
"_typeName": "string",
"key": 0,
"diskFile": [
"string"
]
}
],
"snapshot": [
{
"_typeName": "string",
"key": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"snapshotFile": [
"string"
]
}
],
"swapFile": "string"
}
A list of files that makes up the configuration of the virtual machine (excluding the .vmx file, since that file is represented in the FileInfo).
These are relative paths from the configuration directory. A slash is always used as a separator. This list will typically include the NVRAM file, but could also include other meta-data files.
A list of files stored in the virtual machine's log directory.
These are relative paths from the logDirectory. A slash is always used as a separator.
The swapfile specific to this virtual machine, if any.
This is a complete datastore path, not a relative path.