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://{vcenter-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.2.0 APIs.


Request Body
RetrieveHostCustomizationsRequestType of type(s) application/json
Required
{
    "hosts": [
        {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    ]
}
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
[
    {
        "_typeName": "string",
        "entity": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        },
        "customizations": {
            "_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"
        }
    }
]