Get Host
Show vSphere host details
Request
URI
GET
https://{api_host}/api/ni/entities/hosts/{id}
COPY
Path Parameters
string
id
Required
The Entity ID of object requestion information on
Query Parameters
integer
time
Optional
Time in epoch seconds
Responses
200
OK
Returns Host of type(s) application/json
This response body class contains all of the following: BaseEntity , InlineHost1
{
"entity_id": "1000:104:12213212",
"name": "My Name",
"entity_type": "VirtualMachine",
"vmknics": [
{
"entity_id": "1000:104:12213212",
"name": "My Name",
"entity_type": "VirtualMachine",
"ip_addresses": [
{
"ip_address": "string",
"netmask": "string",
"network_address": "string"
}
],
"vlan": {
"begin": 0,
"end": 0
},
"host": {
"entity_id": "string",
"entity_type": "VirtualMachine",
"entity_name": "string"
},
"layer2_network": {
"entity_id": "string",
"entity_type": "VirtualMachine",
"entity_name": "string"
}
}
],
"cluster": {
"entity_id": "string",
"entity_type": "VirtualMachine",
"entity_name": "string"
},
"vcenter_manager": {
"entity_id": "string",
"entity_type": "VirtualMachine",
"entity_name": "string"
},
"vm_count": 100,
"datastores": [
{
"entity_id": "string",
"entity_type": "VirtualMachine",
"entity_name": "string"
}
],
"service_tag": "CT1342",
"vendor_id": "host-12",
"nsx_manager": {
"entity_id": "string",
"entity_type": "VirtualMachine",
"entity_name": "string"
},
"maintenance_mode": "false",
"connection_state": "DISCONNECTED",
"cpu_count": 4,
"memory": 1024,
"manager_uuid": "string",
"tag_keys": [
"string"
],
"tag_key_values": [
"string"
],
"tag_values": [
"string"
]
}
400
Bad Request
Returns ApiError of type(s) application/json
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
integer As int32 As int32
code
Optional
code
string
message
Optional
message
401
Unauthorized
Operation doesn't return any data structure
404
Not Found
Operation doesn't return any data structure
500
Internal Error
Operation doesn't return any data structure
On This Page
Entities Operations
POST
Bulk Fetch Problem Events
POST
Bulk Fetch Vendor Info
POST
Get details Of entities
GET
Get AWS Account Manager
GET
Get Azure Subscription
GET
Get Cluster
GET
Get Datacenter
GET
Get Datastore
GET
Get Direct Connect Interface
GET
Get Direct Connect Interfaces
GET
Get Distributed Virtual Portgroup
GET
Get Distributed Virtual Switch
GET
Get Firewall
GET
Get Firewall Manager
GET
Get Firewall Rule
GET
Get Flow
GET
Get Flows
GET
Get Folder
GET
Get HCX Appliance
GET
Get HCX Appliances
GET
Get HCX Compute Profile
GET
Get HCX Compute Profiles
GET
Get HCXL2 Extension
GET
Get HCXL2 Extensions
GET
Get HCX Manager
GET
Get HCX Managers
GET
Get HCX Network Profile
GET
Get HCX Network Profiles
GET
Get HCX Service
GET
Get HCX Service Mesh
GET
Get HCX Service Meshes
GET
Get HCX Services
GET
Get HCX Site
GET
Get HCX Sites
GET
Get HCX Tunnel
GET
Get HCX Tunnels
GET
Get Host
GET
Get IP Sec VPN Session
GET
Get IP Sec VPN Sessions
GET
Get IP Set
GET
Get Kubernetes Cluster Entities
GET
Get Kubernetes Cluster Entity
GET
Get Kubernetes Namespace
GET
Get Kubernetes Node
GET
Get Kubernetes Pod
GET
Get Kubernetes Service
GET
Get Layer2 Network
GET
Get Logical Router
GET
Get Logical Routers
GET
Get Name
POST
Get Names
GET
Get NSX Manager
GET
Get NSXT Controller
GET
Get NSXT Edge Cluster
GET
Get NSXT Edge Node CPU Core By Id
GET
Get NSXT Edge Node CPU Cores
GET
Get NSXT Management Node
GET
Get NSXT Transport Node
GET
Get Problem Event
GET
Get Router Interface
GET
Get Sddc Group
GET
Get Sddc Groups
GET
Get Security Group
GET
Get Security Tag
GET
Get Service
GET
Get Service Group
GET
Get Switch Port
GET
Get Vcenter Manager
GET
Get Virtual Disk
GET
Get Virtual Disks
GET
Get Vm
GET
Get Vmc AWS Dx Connection
GET
Get Vmc AWS Dx Connections
GET
Get VMCSDDC
GET
Get VMCSDD Cs
GET
Get Vmknic
GET
Get VM Ware Transit Gateway
GET
Get VM Ware Transit Gateways
GET
Get Vnic
GET
List problems
GET
List AWS Account Managers
GET
List Azure Subscription
GET
List Clusters
GET
List Datacenters
GET
List Datastores
GET
List Distributed Virtual Portgroups
GET
List Distributed Virtual Switches
GET
List Firewall Managers
GET
List Firewall Rules
GET
List Firewalls
GET
List Folders
GET
List Hosts
GET
List IP Sets
GET
List Kubernetes Namespaces
GET
List Kubernetes Nodes
GET
List Kubernetes Pods
GET
List Kubernetes Services
GET
List Layer2 Networks
GET
List NSX Managers
GET
List NSXT Controllers
GET
List NSXT Edge Clusters
GET
List NSXT Management Nodes
GET
List NSXT Transport Nodes
GET
List Problem Events
GET
List Routerinterfaces
GET
List Security Groups
GET
List Security Tags
GET
List Service Groups
GET
List Services
GET
List Switchports
GET
List Vcenter Managers
GET
List Vmknics
GET
List Vms
GET
List Vnics