Host Profile Manager Retrieve Answer File For Profile
Returns the answer file associated with a particular host, augmented with whatever answer file values are required for the supplied host profile.
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostProfileManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"RetrieveAnswerFileForProfileRequestType Object"
Host with which the answer file is associated.
Required privileges: Profile.Edit
Profile configuration used to generate answer file
Answer file object will be returned.
{
"0": "A",
"1": "n",
"2": "s",
"3": "w",
"4": "e",
"5": "r",
"6": "F",
"7": "i",
"8": "l",
"9": "e",
"10": " ",
"11": "O",
"12": "b",
"13": "j",
"14": "e",
"15": "c",
"16": "t"
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostProfileManager/{moId}/RetrieveAnswerFileForProfile