Virtual Machine Get Resource Config
The resource configuration for a virtual machine.
The shares in this specification are evaluated relative to the resource pool to which it is assigned. This will return null if the product the virtual machine is registered on does not support resource configuration.
To retrieve the configuration, you typically use childConfiguration.
To change the configuration, use UpdateChildResourceConfiguration.
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": "R",
"1": "e",
"2": "s",
"3": "o",
"4": "u",
"5": "r",
"6": "c",
"7": "e",
"8": "C",
"9": "o",
"10": "n",
"11": "f",
"12": "i",
"13": "g",
"14": "S",
"15": "p",
"16": "e",
"17": "c",
"18": " ",
"19": "O",
"20": "b",
"21": "j",
"22": "e",
"23": "c",
"24": "t"
}
curl -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/VirtualMachine/{moId}/resourceConfig