Host Profile Manager Retrieve Host Customizations For Profile

Host Profile Manager Retrieve Host Customizations For Profile

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

Returns a map that contains the hosts and their answer files associated with these hosts, augmented with whatever answer file values are required for the supplied host profile.

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/HostProfileManager/{moId}/RetrieveHostCustomizationsForProfile
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 9.0.0.0 APIs.


Request Body
Required
"RetrieveHostCustomizationsForProfileRequestType Object"
array of object
hosts
Optional

Hosts with which the answer files are associated.

Required privileges: Profile.Edit

applyProfile
Required

Profile configuration used to generate answer file

Authentication
This operation uses the following authentication methods.
Responses
200

A map contains the hosts and their answer files.

[
    "StructuredCustomizations Object"
]
Optional

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