asdt
Contributor
Contributor

I am requesting the below properties for Host Systems. It throws error for the last two properties i.e. vm and datastore (highlighted in red)

                                          

                                               "name",

                                             "hardware.memorySize",

                                             "hardware.systemInfo.model",

                                             "hardware.systemInfo.uuid",

                                             "hardware.systemInfo.vendor",

                                             "hardware.biosInfo.biosVersion",  //Since VI API 2.5

                                             "hardware.biosInfo.releaseDate",  //Since VI API 2.5

                                             "hardware.cpuPkg",

                                             "summary.hardware.memorySize",

                                             "summary.hardware.model",                                          

                                             "summary.hardware.uuid",

                                             "summary.hardware.vendor",

                                             "summary.hardware.cpuMhz",

                                             "summary.hardware.cpuModel",

                                             "summary.hardware.numCpuCores",

                                             "summary.hardware.numCpuPkgs",

                                             "summary.hardware.numCpuThreads",

                                             "config.storageDevice.scsiLun",

                                             "config.network.pnic",                

                                             "config.product.fullName",

                                             "config.product.version",

                                             "config.service.service[\"vmware-vpxa\"].running",

                                             "runtime.bootTime"

                                            "datastore",

                                             "vm"   

Properties for VM:

                                            "name",

                                           "summary.config.guestFullName",

                                           "summary.config.guestId",

                                           "summary.config.memorySizeMB",

                                           "summary.config.numCpu",

                                           "summary.config.numVirtualDisks",

                                           "summary.config.uuid",

                                           "summary.config.vmPathName",

                                           "summary.runtime.powerState", 

               

                                           "guest.hostName",                                          

                                           "guest.ipAddress",

                                           "guest.toolsStatus",

                                           "guest.toolsVersion",

                                           "guest.net",

                                           "config.hardware.device"

Datastore Properties:

                                                                                            "summary.capacity",

                                                                                           "summary.freeSpace",

                                                                                            "summary.name",

                                                                                            "summary.type",

                                                                                            "summary.url"

Reply
0 Kudos