Host Profile Manager Retrieve Host Customizations

Host Profile Manager Retrieve Host Customizations

This is the batch version of vim.profile.host.ProfileManager@retrieveAnswerFile.

Returns a map that contains the hosts and their answer file data objects.

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/HostProfileManager/{moId}/RetrieveHostCustomizations
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
RetrieveHostCustomizationsRequestType of type(s) application/json
Required
"RetrieveHostCustomizationsRequestType Object"
array of object
hosts
Optional

Hosts with which the answer files are associated.

Required privileges: Profile.Edit

Authentication
This operation uses the following authentication methods.
Responses
200

A map that contains the hosts and their answer files.

Returns Array of StructuredCustomizations of type(s) application/json
[
    "StructuredCustomizations Object"
]

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