Browse the Inventory of your hypervisor by hypervisor ID
Browse the Inventory of your hypervisor
Path Parameters
- hypervisorId string required
Hypervisor client ID to browse
- InventoryEntityName string required
Name of the inventory entity that needs to be browsed like ESX Host name in VCenter
Query Parameters
- InventoryType string
Possible values: [
NONE
,SERVER
,RES_POOL
,VAPP
,DATACENTER
,FOLDER
,CLUSTER
,DATASTORE
,DATASTORE_CLUSTER
,VM
,VM_NAME
,VM_GUEST_OS
,VM_GUEST_HOST_NAME
,CLUSTER_SHARED_VOLUMES
,LOCAL_DISK
,CLUSTER_DISK
,UNPROTECTED_VMS
,ROOT
,FILE_SERVER
,SMB_SHARE
,TYPES_FOLDER
,VM_FOLDER
,SERVER_FOLDER
,TEMPLATE_FOLDER
,STORAGE_REPOSITORY_FOLDER
,VAPPFOLDER
,DATACENTER_FOLDER
,CLUSTER_FOLDER
,VM_POWER_STATE
,VM_NOTES
,VM_CUSTOM_ATTRIBUTE
,NETWORK
,USER
,VM_TEMPLATE
,TAG
,TAG_CATEGORY
,SUBCLIENT
,CLIENT_GROUP
,PROTECTION_DOMAIN
,CONSISTENCY_GROUP
,INSTANCE_SIZE
,ORGANIZATION
,IMAGES
,STORAGE_POLICY
,DATABASE
,TABLE
,PROJECT
,SELECTOR
,MANAGED_BY
,REPLICATION_MODE
,METADATATAG
,CATALOG
,VAPPTEMPLATE
,VOLUME
]Type of resource to browse in inventory
- 200
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- NetworkInventoryResponseList
- DatastoreInventoryResponseList
- ResourcePoolInventoryResponseList
hostInfo object[]
hostInfo object[]
hostInfo object[]
{
"hostInfo": [
{
"dataCenterName": "string",
"dnsHostName": "string",
"esxServerName": "string",
"networkSettings": [
{
"id": 0,
"name": "string"
}
]
}
]
}
Requested Details not found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
GET /v4/hypervisor/:hypervisorid/:inventoryentityname/browse
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V4/Hypervisor/:hypervisorId/:InventoryEntityName/Browse' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Hypervisor/:hypervisorId/:InventoryEntityName/Browse' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Hypervisor/:hypervisorId/:InventoryEntityName/Browse' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Hypervisor/:hypervisorId/:InventoryEntityName/Browse' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Hypervisor/:hypervisorId/:InventoryEntityName/Browse' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Hypervisor/:hypervisorId/:InventoryEntityName/Browse' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Hypervisor/:hypervisorId/:InventoryEntityName/Browse' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'