Hostsvc/storage/diagnostic/query available

From VI-Toolkit
Jump to navigation Jump to search

vimsh hostsvc/storage/diagnostic/query_available

Usage: Retrieve the list of available diagnostic partitions.

Example output

# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/storage/diagnostic/query_available
(vim.host.DiagnosticPartition) [
   (vim.host.DiagnosticPartition) {
      dynamicType = <unset>,
      storageType = "directAttached",
      diagnosticType = "singleHost",
      slots = 1,
      id = (vim.host.ScsiDisk.Partition) {
         dynamicType = <unset>,
         diskName = "vmhba2:0:0",
         partition = 9,
      },
   }
]