Host Profile Update Reference Host
Sets the HostProfile.referenceHost property.
Required privileges: Profile.Edit
Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HostProfile/{moId}/UpdateReferenceHost
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 HostProfile/{moId}
.
string
release
Required
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
Request Body
UpdateReferenceHostRequestType of type(s) application/json
Required
{
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
Responses
204
No Content
Operation doesn't return any data structure
On This Page
Virtual Infrastructure Operations
POST
Host Profile Associate Profile
POST
Host Profile Check Profile Compliance Task
POST
Host Profile Destroy Profile
POST
Host Profile Dissociate Profile
POST
Host Profile Execute Host Profile
POST
Host Profile Export Profile
GET
Host Profile Get Compliance Check Time
GET
Host Profile Get Compliance Status
GET
Host Profile Get Config
GET
Host Profile Get Created Time
GET
Host Profile Get Description
GET
Host Profile Get Entity
GET
Host Profile Get Modified Time
GET
Host Profile Get Name
GET
Host Profile Get Reference Host
GET
Host Profile Get Validation Failure Info
GET
Host Profile Get Validation State
GET
Host Profile Get Validation State Update Time
POST
Host Profile Host Profile Reset Validation State
POST
Host Profile Retrieve Description
POST
Host Profile Update Host Profile
POST
Host Profile Update Reference Host