Host Profile Manager Update Answer File Task
Update the AnswerFile for the specified host.
If there is no answer file associated with the host, the Profile Engine uses the answer file configuration specification to create a new one.
Required privileges: Profile.Edit
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 8.0.3.0 APIs.
Show optional properties
{
"host": {},
"configSpec": {}
}
{
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"configSpec": {
"_typeName": "string",
"validating": false
}
}
This method returns a Task object with which to monitor the operation.
{
"_typeName": "string",
"type": "string",
"value": "string"
}
AnswerFileUpdateFailed: If the answer file could not be updated.
InvalidArgument: If the input parameters are incorrect.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
],
"failure": [
{
"_typeName": "string",
"userInputPath": {
"_typeName": "string",
"profilePath": "string",
"policyId": "string",
"parameterId": "string",
"policyOptionId": "string"
},
"errMsg": {
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
}
]
}