StructuredCustomizations
Implementation of HostProfilesEntityCustomizations that maps a cluster or host profile to the AnswerFile object containing the host profiles customizations for that entity.
This object will be used as elements of the HostProfilesEntityCustomizations.{vim.profile.host.ProfileManager.EntityCustomizations#entityCustomizations} when the HostProfilesEntityCustomizations.{vim.profile.host.ProfileManager.EntityCustomizations#customizationsFormat} value is "structured".
{
"_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"
}
}
The AnswerFile data object contains host-specific information that a host will use in combination with a HostProfile for configuration.
Answer files are stored on the vCenter Server, along with host profiles. An answer file is always associated with a particular host.
To supply host-specific data:
- Specify deferred parameters when you call the HostProfile.ExecuteHostProfile method. The host profile engine will verify the set of parameters for the additional configuration data.
- Use the complete required input list (ProfileExecuteResult.requireInput[]) as user input for the HostProfileManager.ApplyHostConfig_Task method. When you apply the profile, the vCenter Server saves the additional configuration data in the userInput list.
- Use the HostProfileManager.UpdateAnswerFile_Task method. This method will update an existing answer file or create a new one.