Virtual Machine Get Config
Configuration of this virtual machine, including the name and UUID.
This property is set when a virtual machine is created or when the reconfigVM method is called.
The virtual machine configuration is not guaranteed to be available. For example, the configuration information would be unavailable if the server is unable to access the virtual machine files on disk, and is often also unavailable during the initial phases of virtual machine creation.
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": "C",
"15": "o",
"16": "n",
"17": "f",
"18": "i",
"19": "g",
"20": "I",
"21": "n",
"22": "f",
"23": "o",
"24": " ",
"25": "O",
"26": "b",
"27": "j",
"28": "e",
"29": "c",
"30": "t"
}
curl -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/VirtualMachine/{moId}/config