Get Hosts
This API is to be used for getting the hosts as per the specified parameters.
The key to use for sorting the resultant list of hosts. The value is to be an attribute based sorting expression. The supported attributes for sorting are as follows: [ name, status, hostSettingStatus, id, version, domainId, parent, username, password, ipmiFqdn, ipmiUsername, ipmiPassword, vmkVsanIp, vmkVmotionIp, createdTimestamp, lastUpdatedTimestamp ]. The supported sorting orders are: [asc,desc]
createdTimestamp,desc
Attribute-based filtering expression according to clause 5.2 of ETSI GS NFV SOL 013. The supported filter types are [cont, eq]. "cont" refers to contains (substring check). It is applicable only for string type targets. "eq" refers to exact match. If target type is a string, then case is ignored. The supported attributes for "eq" filtering are: [ name, status, hostSettingStatus, id, version, domainId, parent, username, password, ipmiFqdn, ipmiUsername, ipmiPassword, vmkVsanIp, vmkVmotionIp ]. The supported attributes for "cont" filtering are: [ name, status, hostSettingStatus, id, domainId, parent, username, password, ipmiFqdn, ipmiUsername, ipmiPassword, vmkVsanIp, vmkVmotionIp ]. For example: (cont,name,abc.com);(eq,status,IN_PROGRESS)
Marker to obtain the next page of a paged response according to clause 5.4.2.1 of ETSI GS NFV SOL 013 for this resource. The marker expression will contain page number and page size.
page_no=1,page_size=10
Response includes list of hosts as specified by the request parameters.
[
{
"id": "string",
"version": 0,
"domainId": "string",
"domainType": "string",
"parent": "string",
"ip": "string",
"name": "string",
"username": "string",
"status": "string",
"createdTimestamp": 0,
"lastUpdatedTimestamp": 0,
"disableDatastoreCustomization": false,
"ipmiFqdn": "string",
"ipmiUsername": "string",
"hostSettingStatus": "string",
"isVcpResyncNeeded": false,
"isHcpResyncNeeded": false,
"errors": [
{
"code": "string",
"message": "string",
"stack": "string"
}
]
}
]
Response Headers
The total number of pages for hosts present on the server.
The total number of hosts present on the server.
API endpoint has permanently moved.
{
"redirectURL": "string"
}
redirectURL
Response Headers
URI where the client will find the new endpoint.
Response may include details of why the request is bad.
{
"warnings": [
{
"code": "string",
"message": "string",
"stack": "string"
}
],
"errors": [
{
"code": "string",
"message": "string",
"stack": "string"
}
]
}
The list of warnings.
The list of errors.
User is not authenticated to invoke this endpoint.
User is not authorized to invoke this endpoint.
The request parameters couldn't be processed by the server.
{
"warnings": [
{
"code": "string",
"message": "string",
"stack": "string"
}
],
"errors": [
{
"code": "string",
"message": "string",
"stack": "string"
}
]
}
The list of warnings.
The list of errors.
An internal server error has occurred.
{
"warnings": [
{
"code": "string",
"message": "string",
"stack": "string"
}
],
"errors": [
{
"code": "string",
"message": "string",
"stack": "string"
}
]
}
The list of warnings.
The list of errors.