Host Profile Get Validation Failure Info

Host Profile Get Validation Failure Info

This object is created or updated if the HostProfileValidationStateEnum is Failed.

This object captures the most recent validation result for the host profile object in case of failure.

Request
URI
GET
https://{api_host}/sdk/vim25/{release}/HostProfile/{moId}/validationFailureInfo
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case HostProfile/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns HostProfileValidationFailureInfo of type(s) application/json
"HostProfileValidationFailureInfo Object"
string
name
Required

The name of host profile to be validated.

string
annotation
Required

Host profile annotation at update.

string
updateType
Required

Host profile update type.

See the enumerate class UpdateType above for the valid values.

object
host
Optional

Reference to an instance of the HostSystem managed object.

object
applyProfile
Optional

The HostApplyProfile data object provides access to subprofiles that contain configuration data for different host capabilities.

The Profile Engine will use any configuration data that you supply to overwrite the host configuration. See the ExecuteHostProfile and ApplyHostConfig_Task methods.

array of object
failures
Optional

List of failures in the host profile configuration.

array of object
faults
Optional

The MethodFaults happened at validation.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/HostProfile/{moId}/validationFailureInfo