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 9.0.0.0 APIs.
OK
{
"0": "V",
"1": "i",
"2": "r",
"3": "t",
"4": "u",
"5": "a",
"6": "l",
"7": "M",
"8": "a",
"9": "c",
"10": "h",
"11": "i",
"12": "n",
"13": "e",
"14": "S",
"15": "t",
"16": "o",
"17": "r",
"18": "a",
"19": "g",
"20": "e",
"21": "I",
"22": "n",
"23": "f",
"24": "o",
"25": " ",
"26": "O",
"27": "b",
"28": "j",
"29": "e",
"30": "c",
"31": "t"
}
curl -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/VirtualMachine/{moId}/storage