Inventory

Properties

Name Description Optional Valid Value Starting Version
uuid The UUID. For more information, see Resource Property. 0.6
name The name. For more information, see Resource Property. 0.6
description The description. For more information, see Resource Property. Yes 0.6
agentPort 0.6
allocatorStrategy The allocator strategy.
  • DefaultHostAllocatorStrategy
  • LastHostPreferredAllocatorStrategy
  • LeastVmPreferredHostAllocatorStrategy
  • MinimumCPUUsageHostAllocatorStrategy
  • MinimumMemoryUsageHostAllocatorStrategy
  • MaxInstancePerHostHostAllocatorStrategy
0.6
applianceVmType The type of special VM instance. 0.6
clusterUuid The cluster UUID. 0.6
zoneUuid The zone UUID. 0.6
cpuNum The CPU count. 0.6
cpuSpeed 0.6
defaultL3NetworkUuid The default L3 network UUID. 0.6
defaultRouteL3NetworkUuid The UUID of the L3 network that provides default routing in a vRouter VM instance. 0.6
hostUuid The host UUID. 0.6
lastHostUuid The UUID of the host where the vRouter VM instance was located last time. 0.6
imageUuid The image UUID. 0.6
rootVolumeUuid The root volume UUID. 0.6
instanceOfferingUuid The instance offering UUID. 0.6
managementNetworkUuid The management network UUID. 0.6
publicNetworkUuid The public network UUID. 0.6
memorySize The memory size. 0.6
hypervisorType The hypervisor type. 0.6
platform 0.6
state The state.
  • Enabled
  • Disabled
0.6
status The status. 0.6
groupBy
createDate The creation date. For more information, see Resource Property. 0.6
lastOpDate The last operation date. For more information, see Resource Property. 0.6
type The type.
  • UserVm
  • ApplianceVm
0.6

Sample

{
    "inventories": [
        {
            "agentPort": 7272,
            "allVolumes": [
                {
                    "actualSize": 293641216,
                    "createDate": "Nov 10, 2017 2:59:57 PM",
                    "description": "Root volume for VM[uuid:f90177b78a3d4f399f32bf84af32afde]",
                    "deviceId": 0,
                    "format": "qcow2",
                    "installPath": "/Cloud_ps_nxs/rootVolumes/acct-36c27e8ff05c4780bf6d2fa65700f22e/vol-47401aeef0b54ec\
f90b831f2e250c098/47401aeef0b54ecf90b831f2e250c098.qcow2",
                    "isShareable": false,
                    "lastOpDate": "Nov 10, 2017 2:59:57 PM",
                    "name": "ROOT-for-vrouter.l3.L3-vRouter-2.e293d6",
                    "primaryStorageUuid": "cae8726c90784ba0946f852952731268",
                    "rootImageUuid": "ef614d2e1db7536a8fb8260a05074ae4",
                    "size": 8589934592,
                    "state": "Enabled",
                    "status": "Ready",
                    "type": "Root",
                    "uuid": "47401aeef0b54ecf90b831f2e250c098",
                    "vmInstanceUuid": "f90177b78a3d4f399f32bf84af32afde"
                }
            ],
            "allocatorStrategy": "LeastVmPreferredHostAllocatorStrategy",
            "applianceVmType": "vrouter",
            "clusterUuid": "967a353c2893409dab9312cf3033a98c",
            "cpuNum": 1,
            "cpuSpeed": 0,
            "createDate": "Nov 10, 2017 2:59:57 PM",
            "defaultRouteL3NetworkUuid": "cdb7f3151c50453ba0e8c89356e250f6",
            "hostUuid": "aec5230c3eee40e4998bec50a1c2eae8",
            "hypervisorType": "KVM",
            "imageUuid": "ef614d2e1db7536a8fb8260a05074ae4",
            "instanceOfferingUuid": "fa550cb9bdcc4fd397ae37f9ddf4c390",
            "lastHostUuid": "aec5230c3eee40e4998bec50a1c2eae8",
            "lastOpDate": "Nov 16, 2017 11:07:30 AM",
            "managementNetworkUuid": "cdb7f3151c50453ba0e8c89356e250f6",
            "memorySize": 1073741824,
            "name": "vrouter.l3.L3-vRouter-2.e293d6",
            "platform": "Linux",
            "publicNetworkUuid": "cdb7f3151c50453ba0e8c89356e250f6",
            "rootVolumeUuid": "47401aeef0b54ecf90b831f2e250c098",
            "state": "Running",
            "status": "Connected",
            "type": "ApplianceVm",
            "uuid": "f90177b78a3d4f399f32bf84af32afde",
            "vmNics": [
                {
                    "createDate": "Nov 10, 2017 2:59:57 PM",
                    "deviceId": 1,
                    "gateway": "192.168.23.1",
                    "ip": "192.168.23.1",
                    "l3NetworkUuid": "e293d67b0e4a4b438f15b768cacb6eaf",
                    "lastOpDate": "Nov 10, 2017 2:59:57 PM",
                    "mac": "fa:63:dd:7a:56:01",
                    "metaData": "4",
                    "netmask": "255.255.255.0",
                    "uuid": "281f9ac039c44bb18337217543e551ea",
                    "vmInstanceUuid": "f90177b78a3d4f399f32bf84af32afde"
                },
                {
                    "createDate": "Nov 10, 2017 2:59:57 PM",
                    "deviceId": 0,
                    "gateway": "10.0.0.1",
                    "ip": "10.141.26.16",
                    "l3NetworkUuid": "cdb7f3151c50453ba0e8c89356e250f6",
                    "lastOpDate": "Nov 10, 2017 2:59:57 PM",
                    "mac": "fa:31:50:c4:d3:00",
                    "metaData": "3",
                    "netmask": "255.0.0.0",
                    "uuid": "402dc6bf37734753be3661be3d120652",
                    "vmInstanceUuid": "f90177b78a3d4f399f32bf84af32afde"
                }
            ],
            "zoneUuid": "e59b71e99d8a4ea1952b578388b8cd1d"
        }
    ],
    "success": true
}