github.com/vmware/govmomi@v0.37.2/vim25/types/testdata/vminfo.json (about)

     1  {
     2      "_typeName": "VirtualMachineConfigInfo",
     3      "changeVersion": "2022-12-12T11:48:35.473645Z",
     4      "modified": "1970-01-01T00:00:00Z",
     5      "name": "test",
     6      "guestFullName": "VMware Photon OS (64-bit)",
     7      "version": "vmx-20",
     8      "uuid": "422ca90b-853b-1101-3350-759f747730cc",
     9      "createDate": "2022-12-12T11:47:24.685785Z",
    10      "instanceUuid": "502cc2a5-1f06-2890-6d70-ba2c55c5c2b7",
    11      "npivTemporaryDisabled": true,
    12      "locationId": "Earth",
    13      "template": false,
    14      "guestId": "vmwarePhoton64Guest",
    15      "alternateGuestName": "",
    16      "annotation": "Hello, world.",
    17      "files": {
    18          "_typeName": "VirtualMachineFileInfo",
    19          "vmPathName": "[datastore1] test/test.vmx",
    20          "snapshotDirectory": "[datastore1] test/",
    21          "suspendDirectory": "[datastore1] test/",
    22          "logDirectory": "[datastore1] test/"
    23      },
    24      "tools": {
    25          "_typeName": "ToolsConfigInfo",
    26          "toolsVersion": 1,
    27          "afterPowerOn": true,
    28          "afterResume": true,
    29          "beforeGuestStandby": true,
    30          "beforeGuestShutdown": true,
    31          "toolsUpgradePolicy": "manual",
    32          "syncTimeWithHostAllowed": true,
    33          "syncTimeWithHost": false,
    34          "lastInstallInfo": {
    35              "_typeName": "ToolsConfigInfoToolsLastInstallInfo",
    36              "counter": 0
    37          }
    38      },
    39      "flags": {
    40          "_typeName": "VirtualMachineFlagInfo",
    41          "enableLogging": true,
    42          "useToe": false,
    43          "runWithDebugInfo": false,
    44          "monitorType": "release",
    45          "htSharing": "any",
    46          "snapshotDisabled": false,
    47          "snapshotLocked": false,
    48          "diskUuidEnabled": false,
    49          "snapshotPowerOffBehavior": "powerOff",
    50          "recordReplayEnabled": false,
    51          "faultToleranceType": "unset",
    52          "cbrcCacheEnabled": false,
    53          "vvtdEnabled": false,
    54          "vbsEnabled": false
    55      },
    56      "defaultPowerOps": {
    57          "_typeName": "VirtualMachineDefaultPowerOpInfo",
    58          "powerOffType": "soft",
    59          "suspendType": "hard",
    60          "resetType": "soft",
    61          "defaultPowerOffType": "soft",
    62          "defaultSuspendType": "hard",
    63          "defaultResetType": "soft",
    64          "standbyAction": "checkpoint"
    65      },
    66      "rebootPowerOff": false,
    67      "hardware": {
    68          "_typeName": "VirtualHardware",
    69          "numCPU": 1,
    70          "numCoresPerSocket": 1,
    71          "autoCoresPerSocket": true,
    72          "memoryMB": 2048,
    73          "virtualICH7MPresent": false,
    74          "virtualSMCPresent": false,
    75          "device": [
    76              {
    77                  "_typeName": "VirtualIDEController",
    78                  "key": 200,
    79                  "deviceInfo": {
    80                      "_typeName": "Description",
    81                      "label": "IDE 0",
    82                      "summary": "IDE 0"
    83                  },
    84                  "busNumber": 0
    85              },
    86              {
    87                  "_typeName": "VirtualIDEController",
    88                  "key": 201,
    89                  "deviceInfo": {
    90                      "_typeName": "Description",
    91                      "label": "IDE 1",
    92                      "summary": "IDE 1"
    93                  },
    94                  "busNumber": 1
    95              },
    96              {
    97                  "_typeName": "VirtualPS2Controller",
    98                  "key": 300,
    99                  "deviceInfo": {
   100                      "_typeName": "Description",
   101                      "label": "PS2 controller 0",
   102                      "summary": "PS2 controller 0"
   103                  },
   104                  "busNumber": 0,
   105                  "device": [600, 700]
   106              },
   107              {
   108                  "_typeName": "VirtualPCIController",
   109                  "key": 100,
   110                  "deviceInfo": {
   111                      "_typeName": "Description",
   112                      "label": "PCI controller 0",
   113                      "summary": "PCI controller 0"
   114                  },
   115                  "busNumber": 0,
   116                  "device": [500, 12000, 14000, 1000, 15000, 4000]
   117              },
   118              {
   119                  "_typeName": "VirtualSIOController",
   120                  "key": 400,
   121                  "deviceInfo": {
   122                      "_typeName": "Description",
   123                      "label": "SIO controller 0",
   124                      "summary": "SIO controller 0"
   125                  },
   126                  "busNumber": 0
   127              },
   128              {
   129                  "_typeName": "VirtualKeyboard",
   130                  "key": 600,
   131                  "deviceInfo": {
   132                      "_typeName": "Description",
   133                      "label": "Keyboard",
   134                      "summary": "Keyboard"
   135                  },
   136                  "controllerKey": 300,
   137                  "unitNumber": 0
   138              },
   139              {
   140                  "_typeName": "VirtualPointingDevice",
   141                  "key": 700,
   142                  "deviceInfo": {
   143                      "_typeName": "Description",
   144                      "label": "Pointing device",
   145                      "summary": "Pointing device; Device"
   146                  },
   147                  "backing": {
   148                      "_typeName": "VirtualPointingDeviceDeviceBackingInfo",
   149                      "deviceName": "",
   150                      "useAutoDetect": false,
   151                      "hostPointingDevice": "autodetect"
   152                  },
   153                  "controllerKey": 300,
   154                  "unitNumber": 1
   155              },
   156              {
   157                  "_typeName": "VirtualMachineVideoCard",
   158                  "key": 500,
   159                  "deviceInfo": {
   160                      "_typeName": "Description",
   161                      "label": "Video card ",
   162                      "summary": "Video card"
   163                  },
   164                  "controllerKey": 100,
   165                  "unitNumber": 0,
   166                  "videoRamSizeInKB": 4096,
   167                  "numDisplays": 1,
   168                  "useAutoDetect": false,
   169                  "enable3DSupport": false,
   170                  "use3dRenderer": "automatic",
   171                  "graphicsMemorySizeInKB": 262144
   172              },
   173              {
   174                  "_typeName": "VirtualMachineVMCIDevice",
   175                  "key": 12000,
   176                  "deviceInfo": {
   177                      "_typeName": "Description",
   178                      "label": "VMCI device",
   179                      "summary": "Device on the virtual machine PCI bus that provides support for the virtual machine communication interface"
   180                  },
   181                  "controllerKey": 100,
   182                  "unitNumber": 17,
   183                  "id": -1,
   184                  "allowUnrestrictedCommunication": false,
   185                  "filterEnable": true
   186              },
   187              {
   188                  "_typeName": "ParaVirtualSCSIController",
   189                  "key": 1000,
   190                  "deviceInfo": {
   191                      "_typeName": "Description",
   192                      "label": "SCSI controller 0",
   193                      "summary": "VMware paravirtual SCSI"
   194                  },
   195                  "controllerKey": 100,
   196                  "unitNumber": 3,
   197                  "busNumber": 0,
   198                  "device": [2000],
   199                  "hotAddRemove": true,
   200                  "sharedBus": "noSharing",
   201                  "scsiCtlrUnitNumber": 7
   202              },
   203              {
   204                  "_typeName": "VirtualAHCIController",
   205                  "key": 15000,
   206                  "deviceInfo": {
   207                      "_typeName": "Description",
   208                      "label": "SATA controller 0",
   209                      "summary": "AHCI"
   210                  },
   211                  "controllerKey": 100,
   212                  "unitNumber": 24,
   213                  "busNumber": 0,
   214                  "device": [16000]
   215              },
   216              {
   217                  "_typeName": "VirtualCdrom",
   218                  "key": 16000,
   219                  "deviceInfo": {
   220                      "_typeName": "Description",
   221                      "label": "CD/DVD drive 1",
   222                      "summary": "Remote device"
   223                  },
   224                  "backing": {
   225                      "_typeName": "VirtualCdromRemotePassthroughBackingInfo",
   226                      "deviceName": "",
   227                      "useAutoDetect": false,
   228                      "exclusive": false
   229                  },
   230                  "connectable": {
   231                      "_typeName": "VirtualDeviceConnectInfo",
   232                      "startConnected": false,
   233                      "allowGuestControl": true,
   234                      "connected": false,
   235                      "status": "untried"
   236                  },
   237                  "controllerKey": 15000,
   238                  "unitNumber": 0
   239              },
   240              {
   241                  "_typeName": "VirtualDisk",
   242                  "key": 2000,
   243                  "deviceInfo": {
   244                      "_typeName": "Description",
   245                      "label": "Hard disk 1",
   246                      "summary": "4,194,304 KB"
   247                  },
   248                  "backing": {
   249                      "_typeName": "VirtualDiskFlatVer2BackingInfo",
   250                      "fileName": "[datastore1] test/test.vmdk",
   251                      "datastore": {
   252                          "_typeName": "ManagedObjectReference",
   253                          "value": "datastore-21",
   254                          "type": "Datastore"
   255                      },
   256                      "backingObjectId": "1",
   257                      "diskMode": "persistent",
   258                      "split": false,
   259                      "writeThrough": false,
   260                      "thinProvisioned": false,
   261                      "eagerlyScrub": false,
   262                      "uuid": "6000C298-df15-fe89-ddcb-8ea33329595d",
   263                      "contentId": "e4e1a794c6307ce7906a3973fffffffe",
   264                      "digestEnabled": false,
   265                      "sharing": "sharingNone"
   266                  },
   267                  "controllerKey": 1000,
   268                  "unitNumber": 0,
   269                  "capacityInKB": 4194304,
   270                  "capacityInBytes": 4294967296,
   271                  "shares": {
   272                      "_typeName": "SharesInfo",
   273                      "shares": 1000,
   274                      "level": "normal"
   275                  },
   276                  "storageIOAllocation": {
   277                      "_typeName": "StorageIOAllocationInfo",
   278                      "limit": -1,
   279                      "shares": {
   280                          "_typeName": "SharesInfo",
   281                          "shares": 1000,
   282                          "level": "normal"
   283                      },
   284                      "reservation": 0
   285                  },
   286                  "diskObjectId": "1-2000",
   287                  "nativeUnmanagedLinkedClone": false
   288              },
   289              {
   290                  "_typeName": "VirtualVmxnet3",
   291                  "key": 4000,
   292                  "deviceInfo": {
   293                      "_typeName": "Description",
   294                      "label": "Network adapter 1",
   295                      "summary": "VM Network"
   296                  },
   297                  "backing": {
   298                      "_typeName": "VirtualEthernetCardNetworkBackingInfo",
   299                      "deviceName": "VM Network",
   300                      "useAutoDetect": false,
   301                      "network": {
   302                          "_typeName": "ManagedObjectReference",
   303                          "value": "network-27",
   304                          "type": "Network"
   305                      }
   306                  },
   307                  "connectable": {
   308                      "_typeName": "VirtualDeviceConnectInfo",
   309                      "migrateConnect": "unset",
   310                      "startConnected": true,
   311                      "allowGuestControl": false,
   312                      "connected": false,
   313                      "status": "untried"
   314                  },
   315                  "controllerKey": 100,
   316                  "unitNumber": 7,
   317                  "addressType": "assigned",
   318                  "macAddress": "00:50:56:ac:4d:ed",
   319                  "wakeOnLanEnabled": true,
   320                  "resourceAllocation": {
   321                      "_typeName": "VirtualEthernetCardResourceAllocation",
   322                      "reservation": 0,
   323                      "share": {
   324                          "_typeName": "SharesInfo",
   325                          "shares": 50,
   326                          "level": "normal"
   327                      },
   328                      "limit": -1
   329                  },
   330                  "uptCompatibilityEnabled": true,
   331                  "uptv2Enabled": false
   332              },
   333              {
   334                  "_typeName": "VirtualUSBXHCIController",
   335                  "key": 14000,
   336                  "deviceInfo": {
   337                      "_typeName": "Description",
   338                      "label": "USB xHCI controller ",
   339                      "summary": "USB xHCI controller"
   340                  },
   341                  "slotInfo": {
   342                      "_typeName": "VirtualDevicePciBusSlotInfo",
   343                      "pciSlotNumber": -1
   344                  },
   345                  "controllerKey": 100,
   346                  "unitNumber": 23,
   347                  "busNumber": 0,
   348                  "autoConnectDevices": false
   349              }
   350          ],
   351          "motherboardLayout": "i440bxHostBridge",
   352          "simultaneousThreads": 1
   353      },
   354      "cpuAllocation": {
   355          "_typeName": "ResourceAllocationInfo",
   356          "reservation": 0,
   357          "expandableReservation": false,
   358          "limit": -1,
   359          "shares": {
   360              "_typeName": "SharesInfo",
   361              "shares": 1000,
   362              "level": "normal"
   363          }
   364      },
   365      "memoryAllocation": {
   366          "_typeName": "ResourceAllocationInfo",
   367          "reservation": 0,
   368          "expandableReservation": false,
   369          "limit": -1,
   370          "shares": {
   371              "_typeName": "SharesInfo",
   372              "shares": 20480,
   373              "level": "normal"
   374          }
   375      },
   376      "latencySensitivity": {
   377          "_typeName": "LatencySensitivity",
   378          "level": "normal"
   379      },
   380      "memoryHotAddEnabled": false,
   381      "cpuHotAddEnabled": false,
   382      "cpuHotRemoveEnabled": false,
   383      "extraConfig": [
   384          {
   385              "_typeName": "OptionValue",
   386              "key": "nvram",
   387              "value": {
   388                  "_typeName": "string",
   389                  "_value": "test.nvram"
   390              }
   391          },
   392          {
   393              "_typeName": "OptionValue",
   394              "key": "svga.present",
   395              "value": {
   396                  "_typeName": "string",
   397                  "_value": "TRUE"
   398              }
   399          },
   400          {
   401              "_typeName": "OptionValue",
   402              "key": "pciBridge0.present",
   403              "value": {
   404                  "_typeName": "string",
   405                  "_value": "TRUE"
   406              }
   407          },
   408          {
   409              "_typeName": "OptionValue",
   410              "key": "pciBridge4.present",
   411              "value": {
   412                  "_typeName": "string",
   413                  "_value": "TRUE"
   414              }
   415          },
   416          {
   417              "_typeName": "OptionValue",
   418              "key": "pciBridge4.virtualDev",
   419              "value": {
   420                  "_typeName": "string",
   421                  "_value": "pcieRootPort"
   422              }
   423          },
   424          {
   425              "_typeName": "OptionValue",
   426              "key": "pciBridge4.functions",
   427              "value": {
   428                  "_typeName": "string",
   429                  "_value": "8"
   430              }
   431          },
   432          {
   433              "_typeName": "OptionValue",
   434              "key": "pciBridge5.present",
   435              "value": {
   436                  "_typeName": "string",
   437                  "_value": "TRUE"
   438              }
   439          },
   440          {
   441              "_typeName": "OptionValue",
   442              "key": "pciBridge5.virtualDev",
   443              "value": {
   444                  "_typeName": "string",
   445                  "_value": "pcieRootPort"
   446              }
   447          },
   448          {
   449              "_typeName": "OptionValue",
   450              "key": "pciBridge5.functions",
   451              "value": {
   452                  "_typeName": "string",
   453                  "_value": "8"
   454              }
   455          },
   456          {
   457              "_typeName": "OptionValue",
   458              "key": "pciBridge6.present",
   459              "value": {
   460                  "_typeName": "string",
   461                  "_value": "TRUE"
   462              }
   463          },
   464          {
   465              "_typeName": "OptionValue",
   466              "key": "pciBridge6.virtualDev",
   467              "value": {
   468                  "_typeName": "string",
   469                  "_value": "pcieRootPort"
   470              }
   471          },
   472          {
   473              "_typeName": "OptionValue",
   474              "key": "pciBridge6.functions",
   475              "value": {
   476                  "_typeName": "string",
   477                  "_value": "8"
   478              }
   479          },
   480          {
   481              "_typeName": "OptionValue",
   482              "key": "pciBridge7.present",
   483              "value": {
   484                  "_typeName": "string",
   485                  "_value": "TRUE"
   486              }
   487          },
   488          {
   489              "_typeName": "OptionValue",
   490              "key": "pciBridge7.virtualDev",
   491              "value": {
   492                  "_typeName": "string",
   493                  "_value": "pcieRootPort"
   494              }
   495          },
   496          {
   497              "_typeName": "OptionValue",
   498              "key": "pciBridge7.functions",
   499              "value": {
   500                  "_typeName": "string",
   501                  "_value": "8"
   502              }
   503          },
   504          {
   505              "_typeName": "OptionValue",
   506              "key": "hpet0.present",
   507              "value": {
   508                  "_typeName": "string",
   509                  "_value": "TRUE"
   510              }
   511          },
   512          {
   513              "_typeName": "OptionValue",
   514              "key": "RemoteDisplay.maxConnections",
   515              "value": {
   516                  "_typeName": "string",
   517                  "_value": "-1"
   518              }
   519          },
   520          {
   521              "_typeName": "OptionValue",
   522              "key": "sched.cpu.latencySensitivity",
   523              "value": {
   524                  "_typeName": "string",
   525                  "_value": "normal"
   526              }
   527          },
   528          {
   529              "_typeName": "OptionValue",
   530              "key": "vmware.tools.internalversion",
   531              "value": {
   532                  "_typeName": "string",
   533                  "_value": "0"
   534              }
   535          },
   536          {
   537              "_typeName": "OptionValue",
   538              "key": "vmware.tools.requiredversion",
   539              "value": {
   540                  "_typeName": "string",
   541                  "_value": "12352"
   542              }
   543          },
   544          {
   545              "_typeName": "OptionValue",
   546              "key": "migrate.hostLogState",
   547              "value": {
   548                  "_typeName": "string",
   549                  "_value": "none"
   550              }
   551          },
   552          {
   553              "_typeName": "OptionValue",
   554              "key": "migrate.migrationId",
   555              "value": {
   556                  "_typeName": "string",
   557                  "_value": "0"
   558              }
   559          },
   560          {
   561              "_typeName": "OptionValue",
   562              "key": "migrate.hostLog",
   563              "value": {
   564                  "_typeName": "string",
   565                  "_value": "test-36f94569.hlog"
   566              }
   567          },
   568          {
   569              "_typeName": "OptionValue",
   570              "key": "viv.moid",
   571              "value": {
   572                  "_typeName": "string",
   573                  "_value": "c5b34aa9-d962-4a74-b7d2-b83ec683ba1b:vm-28:lIgQ2t7v24n2nl3N7K3m6IHW2OoPF4CFrJd5N+Tdfio="
   574              }
   575          }
   576      ],
   577      "datastoreUrl": [
   578          {
   579              "_typeName": "VirtualMachineConfigInfoDatastoreUrlPair",
   580              "name": "datastore1",
   581              "url": "/vmfs/volumes/63970ed8-4abddd2a-62d7-02003f49c37d"
   582          }
   583      ],
   584      "swapPlacement": "inherit",
   585      "bootOptions": {
   586          "_typeName": "VirtualMachineBootOptions",
   587          "bootDelay": 1,
   588          "enterBIOSSetup": false,
   589          "efiSecureBootEnabled": false,
   590          "bootRetryEnabled": false,
   591          "bootRetryDelay": 10000,
   592          "networkBootProtocol": "ipv4"
   593      },
   594      "vAssertsEnabled": false,
   595      "changeTrackingEnabled": false,
   596      "firmware": "bios",
   597      "maxMksConnections": -1,
   598      "guestAutoLockEnabled": true,
   599      "memoryReservationLockedToMax": false,
   600      "initialOverhead": {
   601          "_typeName": "VirtualMachineConfigInfoOverheadInfo",
   602          "initialMemoryReservation": 214446080,
   603          "initialSwapReservation": 2541883392
   604      },
   605      "nestedHVEnabled": false,
   606      "vPMCEnabled": false,
   607      "scheduledHardwareUpgradeInfo": {
   608          "_typeName": "ScheduledHardwareUpgradeInfo",
   609          "upgradePolicy": "never",
   610          "scheduledHardwareUpgradeStatus": "none"
   611      },
   612      "vmxConfigChecksum": "afenntHCIUtsIHcKlJSZ7hdd3aM=",
   613      "messageBusTunnelEnabled": false,
   614      "guestIntegrityInfo": {
   615          "_typeName": "VirtualMachineGuestIntegrityInfo",
   616          "enabled": false
   617      },
   618      "migrateEncryption": "opportunistic",
   619      "sgxInfo": {
   620          "_typeName": "VirtualMachineSgxInfo",
   621          "epcSize": 0,
   622          "flcMode": "unlocked",
   623          "requireAttestation": false
   624      },
   625      "ftEncryptionMode": "ftEncryptionOpportunistic",
   626      "guestMonitoringModeInfo": {
   627          "_typeName": "VirtualMachineGuestMonitoringModeInfo"
   628      },
   629      "sevEnabled": false,
   630      "numaInfo": {
   631          "_typeName": "VirtualMachineVirtualNumaInfo",
   632          "autoCoresPerNumaNode": true,
   633          "vnumaOnCpuHotaddExposed": false
   634      },
   635      "pmemFailoverEnabled": false,
   636      "vmxStatsCollectionEnabled": true,
   637      "vmOpNotificationToAppEnabled": false,
   638      "vmOpNotificationTimeout": -1,
   639      "deviceSwap": {
   640          "_typeName": "VirtualMachineVirtualDeviceSwap",
   641          "lsiToPvscsi": {
   642              "_typeName": "VirtualMachineVirtualDeviceSwapDeviceSwapInfo",
   643              "enabled": true,
   644              "applicable": false,
   645              "status": "none"
   646          }
   647      },
   648      "deviceGroups": {
   649          "_typeName": "VirtualMachineVirtualDeviceGroups"
   650      }
   651  }