Host Profile Manager Retrieve Answer File

Host Profile Manager Retrieve Answer File

Returns the answer file associated with a particular host.

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HostProfileManager/{moId}/RetrieveAnswerFile
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.3.0 APIs.


Request Body
RetrieveAnswerFileRequestType of type(s) application/json
Required

Show optional properties

{
    "host": {}
}
{
    "host": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    }
}
host
Required

Reference to an instance of the HostSystem managed object.

Authentication
This operation uses the following authentication methods.
Responses
200

Answer file object will be returned if it exists.

Returns AnswerFile of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "userInput": [
        {
            "_typeName": "string",
            "inputPath": {
                "_typeName": "string",
                "profilePath": "string",
                "policyId": "string",
                "parameterId": "string",
                "policyOptionId": "string"
            },
            "parameter": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ]
        }
    ],
    "createdTime": "string",
    "modifiedTime": "string"
}
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.