Host Profile Manager Retrieve Answer File For Profile

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.

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/HostProfileManager/{moId}/RetrieveAnswerFileForProfile
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
RetrieveAnswerFileForProfileRequestType of type(s) application/json
Required
"RetrieveAnswerFileForProfileRequestType Object"
object
host
Required

Reference to an instance of the HostSystem managed object.

object
applyProfile
Required

The HostApplyProfile data object provides access to subprofiles that contain configuration data for different host capabilities.

The Profile Engine will use any configuration data that you supply to overwrite the host configuration. See the ExecuteHostProfile and ApplyHostConfig_Task methods.

Authentication
This operation uses the following authentication methods.
Responses
200

Answer file object will be returned.

Returns AnswerFile of type(s) application/json
"AnswerFile Object"
array of object
userInput
Optional

List containing host-specific configuration data.

string As date-time As date-time
createdTime
Required

Time at which the answer file was created.

string As date-time As date-time
modifiedTime
Required

Time at which the answer file was last modified.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostProfileManager/{moId}/RetrieveAnswerFileForProfile