Host Profile Update Host Profile
Update the HostProfile
with the specified configuration data.
Required privileges: Profile.Edit
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 HostProfile/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"config": {
"_typeName": "string",
"name": "string",
"annotation": "string",
"enabled": false
}
}
HostProfileConfigSpec is the base data object for all HostProfile configuration specifications.
No Content
DuplicateName: If the profile with the new name already exists.
ProfileUpdateFailed: if errors were encountered when updating the profile.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}