Search

Method applyHostConfig_Task(VcHostSystem host, VcHostConfigSpec configSpec, VcProfileDeferredPolicyOptionParameter[] userInput)

Apply the configuration to the host. If you specify any user input, the configuration will be saved in the VcAnswerFile associated with the host. If there is no answer file, the Profile Engine will create one.

Returns

VcTask

Arguments

Name Type Description
host VcHostSystem Host to be updated. User must have sufficient credentials and privileges to satisfy the contents of the <code>configSpec</code>.
configSpec VcHostConfigSpec Set of configuration changes to be applied to the host. The changes are returned by the <a href="VcHostProfile.html">VcHostProfile</a>.<a href="VcHostProfile.html#execute">VcHostProfile</a> method in the <a href="VcProfileExecuteResult.html">VcProfileExecuteResult</a>.<a href="VcProfileExecuteResult.html#configSpec">VcProfileExecuteResult</a> property.
userInput VcProfileDeferredPolicyOptionParameter[] Additional host-specific data to be applied to the host. This data is the complete list of deferred parameters verified by the <a href="VcHostProfile.html">VcHostProfile</a>.<a href="VcHostProfile.html#execute">VcHostProfile</a> method, contained in the <a href="VcProfileExecuteResult.html">VcProfileExecuteResult</a> object returned by the method.