Host Specification Manager Host Spec Get Updated Hosts

Host Specification Manager Host Spec Get Updated Hosts

Query the hosts whose specification was updated in the specified time period.

When the startChangeID isn't provided, it will return all the host updated before the endChangeID. When the endChangeID isn't provided, it will return all the hosts updated after startChangeID. If both aren't provided, all hosts having host spec will be returned. The format of the change ID is defined at changeID.

Required privileges: System.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HostSpecificationManager/{moId}/HostSpecGetUpdatedHosts
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 HostSpecificationManager/{moId}.

string
release
Required

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


Request Body
HostSpecGetUpdatedHostsRequestType of type(s) application/json
Required
{
    "startChangeID": "string",
    "endChangeID": "string"
}
string
startChangeID
Optional

The beginning of the time period.

string
endChangeID
Optional

The ending of the time period.

Authentication
This operation uses the following authentication methods.
Responses
200

The queried host list.

Returns Array of MoRefHostSystem of type(s) application/json
[
    {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    }
]