Virtual Machine Get Storage
Storage space used by the virtual machine, split by datastore.
Can be explicitly refreshed by the RefreshStorageInfo operation. 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.
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.2.0 APIs.
OK
{
"_typeName": "string",
"perDatastoreUsage": [
{
"_typeName": "string",
"datastore": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"committed": 0,
"uncommitted": 0,
"unshared": 0
}
],
"timestamp": "string"
}
Storage space used by this virtual machine on all datastores that it is located on.
Total storage space committed to this virtual machine across all datastores is simply an aggregate of the property VirtualMachineUsageOnDatastore.committed.
See also VirtualMachineStorageSummary.committed.
Time when values in this structure were last updated.