Host Profile Manager Export Answer File Task
Export a host's answer file into a serialized form.
The method returns a string that contains only the list of user input options. See AnswerFile.userInput.
Required privileges: Profile.Export
Request
URI
POST
https://{api_host}/sdk/vim25/{release}/HostProfileManager/{moId}/ExportAnswerFile_Task
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
ExportAnswerFileRequestType
of type(s)
application/json
Required
"ExportAnswerFileRequestType Object"
Responses
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostProfileManager/{moId}/ExportAnswerFile_Task
On This Page
Host Profile Manager Operations
POST
Host Profile Manager Apply Entities Config Task
POST
Host Profile Manager Apply Host Config Task
POST
Host Profile Manager Check Answer File Status Task
POST
Host Profile Manager Composite Host Profile Task
POST
Host Profile Manager Create Default Profile
POST
Host Profile Manager Create Profile
POST
Host Profile Manager Export Answer File Task
POST
Host Profile Manager Find Associated Profile
POST
Host Profile Manager Generate Config Task List
Deprecated
POST
Host Profile Manager Generate Host Config Task Spec Task
POST
Host Profile Manager Generate Host Profile Task List Task
POST
Host Profile Manager Query Answer File Status
POST
Host Profile Manager Query Policy Metadata
POST
Host Profile Manager Query Host Profile Metadata
POST
Host Profile Manager Query Profile Structure
POST
Host Profile Manager Retrieve Answer File
POST
Host Profile Manager Retrieve Answer File For Profile
POST
Host Profile Manager Retrieve Host Customizations
POST
Host Profile Manager Retrieve Host Customizations For Profile
POST
Host Profile Manager Update Answer File Task
POST
Host Profile Manager Update Host Customizations Task
POST
Host Profile Manager Validate Host Profile Composition Task
GET
Host Profile Manager Get Profile