Environment Browser Query Config Option Ex

Environment Browser Query Config Option Ex

Query for a virtual machine configuration option matching the key or host or both given in the EnvironmentBrowserConfigOptionQuerySpec.

For more details see QueryConfigOption

If the Environment Browser belongs to a virtual machine and the spec argument is omitted, the method returns the ConfigOption object corresponding to the vmx version of the virutal machine and the guestOSDescriptor list contains only the guestId of the virutal machine.

Required privileges: System.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/EnvironmentBrowser/{moId}/QueryConfigOptionEx
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case EnvironmentBrowser/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
QueryConfigOptionExRequestType of type(s) application/json
Required
{
    "spec": {
        "key": "string",
        "host": {},
        "guestId": [
            "string"
        ]
    }
}
spec
Optional

Represent search criteria and filters on a VirtualMachineConfigOption object.

Authentication
This operation uses the following authentication methods.
Responses
200

Returns the VirtualMachineConfigOption object. If invoked on a cluster with no hosts, or if the VirtualMachineConfigOption with given key is not found for the given host, null is returned.

Returns VirtualMachineConfigOption of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "version": "string",
    "description": "string",
    "guestOSDescriptor": [
        {
            "_typeName": "string",
            "id": "string",
            "family": "string",
            "fullName": "string",
            "supportedMaxCPUs": 0,
            "numSupportedPhysicalSockets": 0,
            "numSupportedCoresPerSocket": 0,
            "supportedMinMemMB": 0,
            "supportedMaxMemMB": 0,
            "recommendedMemMB": 0,
            "recommendedColorDepth": 0,
            "supportedDiskControllerList": [
                "string"
            ],
            "recommendedSCSIController": "string",
            "recommendedDiskController": "string",
            "supportedNumDisks": 0,
            "recommendedDiskSizeMB": 0,
            "recommendedCdromController": "string",
            "supportedEthernetCard": [
                "string"
            ],
            "recommendedEthernetCard": "string",
            "supportsSlaveDisk": false,
            "cpuFeatureMask": [
                {
                    "_typeName": "string",
                    "level": 0,
                    "vendor": "string",
                    "eax": "string",
                    "ebx": "string",
                    "ecx": "string",
                    "edx": "string"
                }
            ],
            "smcRequired": false,
            "supportsWakeOnLan": false,
            "supportsVMI": false,
            "supportsMemoryHotAdd": false,
            "supportsCpuHotAdd": false,
            "supportsCpuHotRemove": false,
            "supportedFirmware": [
                "string"
            ],
            "recommendedFirmware": "string",
            "supportedUSBControllerList": [
                "string"
            ],
            "recommendedUSBController": "string",
            "supports3D": false,
            "recommended3D": false,
            "smcRecommended": false,
            "ich7mRecommended": false,
            "usbRecommended": false,
            "supportLevel": "string",
            "supportedForCreate": false,
            "vRAMSizeInKB": {
                "valueIsReadonly": false,
                "min": 0,
                "max": 0,
                "defaultValue": 0
            },
            "numSupportedFloppyDevices": 0,
            "wakeOnLanEthernetCard": [
                "string"
            ],
            "supportsPvscsiControllerForBoot": false,
            "diskUuidEnabled": false,
            "supportsHotPlugPCI": false,
            "supportsSecureBoot": false,
            "defaultSecureBoot": false,
            "persistentMemorySupported": false,
            "supportedMinPersistentMemoryMB": 0,
            "supportedMaxPersistentMemoryMB": 0,
            "recommendedPersistentMemoryMB": 0,
            "persistentMemoryHotAddSupported": false,
            "persistentMemoryHotRemoveSupported": false,
            "persistentMemoryColdGrowthSupported": false,
            "persistentMemoryColdGrowthGranularityMB": 0,
            "persistentMemoryHotGrowthSupported": false,
            "persistentMemoryHotGrowthGranularityMB": 0,
            "numRecommendedPhysicalSockets": 0,
            "numRecommendedCoresPerSocket": 0,
            "vvtdSupported": {
                "valueIsReadonly": false,
                "supported": false,
                "defaultValue": false
            },
            "vbsSupported": {
                "valueIsReadonly": false,
                "supported": false,
                "defaultValue": false
            },
            "vsgxSupported": {
                "valueIsReadonly": false,
                "supported": false,
                "defaultValue": false
            },
            "vsgxRemoteAttestationSupported": false,
            "supportsTPM20": false,
            "recommendedTPM20": false,
            "vwdtSupported": false
        }
    ],
    "guestOSDefaultIndex": 0,
    "hardwareOptions": {
        "hwVersion": 0,
        "virtualDeviceOption": [
            {
                "_typeName": "string",
                "type": "string",
                "connectOption": {
                    "startConnected": {
                        "valueIsReadonly": false,
                        "supported": false,
                        "defaultValue": false
                    },
                    "allowGuestControl": {
                        "valueIsReadonly": false,
                        "supported": false,
                        "defaultValue": false
                    }
                },
                "busSlotOption": {
                    "type": "string"
                },
                "controllerType": "string",
                "autoAssignController": {
                    "valueIsReadonly": false,
                    "supported": false,
                    "defaultValue": false
                },
                "backingOption": [
                    {
                        "_typeName": "string",
                        "type": "string"
                    }
                ],
                "defaultBackingOptionIndex": 0,
                "licensingLimit": [
                    "string"
                ],
                "deprecated": false,
                "plugAndPlay": false,
                "hotRemoveSupported": false,
                "numaSupported": false
            }
        ],
        "deviceListReadonly": false,
        "numCPU": [
            0
        ],
        "numCoresPerSocket": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "autoCoresPerSocket": {
            "valueIsReadonly": false,
            "supported": false,
            "defaultValue": false
        },
        "numCpuReadonly": false,
        "memoryMB": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "numPCIControllers": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "numIDEControllers": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "numUSBControllers": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "numUSBXHCIControllers": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "numSIOControllers": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "numPS2Controllers": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "licensingLimit": [
            "string"
        ],
        "numSupportedWwnPorts": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "numSupportedWwnNodes": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "resourceConfigOption": {
            "cpuAllocationOption": {
                "sharesOption": {
                    "sharesOption": {
                        "valueIsReadonly": false,
                        "min": 0,
                        "max": 0,
                        "defaultValue": 0
                    },
                    "defaultLevel": "string"
                }
            },
            "memoryAllocationOption": {
                "sharesOption": {
                    "sharesOption": {
                        "valueIsReadonly": false,
                        "min": 0,
                        "max": 0,
                        "defaultValue": 0
                    },
                    "defaultLevel": "string"
                }
            }
        },
        "numNVDIMMControllers": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "numTPMDevices": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "numWDTDevices": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "numPrecisionClockDevices": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "epcMemoryMB": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "acpiHostBridgesFirmware": [
            "string"
        ],
        "numCpuSimultaneousThreads": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "numNumaNodes": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "numDeviceGroups": {
            "valueIsReadonly": false,
            "min": 0,
            "max": 0,
            "defaultValue": 0
        },
        "deviceGroupTypes": [
            "string"
        ]
    },
    "capabilities": {
        "snapshotOperationsSupported": false,
        "multipleSnapshotsSupported": false,
        "snapshotConfigSupported": false,
        "poweredOffSnapshotsSupported": false,
        "memorySnapshotsSupported": false,
        "revertToSnapshotSupported": false,
        "quiescedSnapshotsSupported": false,
        "disableSnapshotsSupported": false,
        "lockSnapshotsSupported": false,
        "consolePreferencesSupported": false,
        "cpuFeatureMaskSupported": false,
        "s1AcpiManagementSupported": false,
        "settingScreenResolutionSupported": false,
        "toolsAutoUpdateSupported": false,
        "vmNpivWwnSupported": false,
        "npivWwnOnNonRdmVmSupported": false,
        "vmNpivWwnDisableSupported": false,
        "vmNpivWwnUpdateSupported": false,
        "swapPlacementSupported": false,
        "toolsSyncTimeSupported": false,
        "virtualMmuUsageSupported": false,
        "diskSharesSupported": false,
        "bootOptionsSupported": false,
        "bootRetryOptionsSupported": false,
        "settingVideoRamSizeSupported": false,
        "settingDisplayTopologySupported": false,
        "recordReplaySupported": false,
        "changeTrackingSupported": false,
        "multipleCoresPerSocketSupported": false,
        "hostBasedReplicationSupported": false,
        "guestAutoLockSupported": false,
        "memoryReservationLockSupported": false,
        "featureRequirementSupported": false,
        "poweredOnMonitorTypeChangeSupported": false,
        "seSparseDiskSupported": false,
        "nestedHVSupported": false,
        "vPMCSupported": false,
        "secureBootSupported": false,
        "perVmEvcSupported": false,
        "virtualMmuUsageIgnored": false,
        "virtualExecUsageIgnored": false,
        "diskOnlySnapshotOnSuspendedVMSupported": false,
        "suspendToMemorySupported": false,
        "toolsSyncTimeAllowSupported": false,
        "sevSupported": false,
        "pmemFailoverSupported": false,
        "requireSgxAttestationSupported": false,
        "changeModeDisksSupported": false,
        "vendorDeviceGroupSupported": false
    },
    "datastore": {
        "unsupportedVolumes": [
            {
                "_typeName": "string",
                "fileSystemType": "string",
                "majorVersion": 0
            }
        ]
    },
    "defaultDevice": [
        {
            "_typeName": "string",
            "key": 0,
            "deviceInfo": {
                "label": "string",
                "summary": "string"
            },
            "backing": {},
            "connectable": {
                "migrateConnect": "string",
                "startConnected": false,
                "allowGuestControl": false,
                "connected": false,
                "status": "string"
            },
            "slotInfo": {},
            "controllerKey": 0,
            "unitNumber": 0,
            "numaNode": 0,
            "deviceGroupInfo": {
                "groupInstanceKey": 0,
                "sequenceId": 0
            }
        }
    ],
    "supportedMonitorType": [
        "string"
    ],
    "supportedOvfEnvironmentTransport": [
        "string"
    ],
    "supportedOvfInstallTransport": [
        "string"
    ],
    "propertyRelations": [
        {
            "_typeName": "string",
            "key": {
                "name": "string",
                "val": {
                    "_typeName": "string"
                }
            },
            "relations": [
                {
                    "_typeName": "string",
                    "name": "string",
                    "val": {
                        "_typeName": "string"
                    }
                }
            ]
        }
    ]
}
string
version
Required

The version corresponding to this configOption.

string
description
Required

A description string for this configOption.

guestOSDescriptor
Required

List of supported guest operating systems.

The choice of guest operating system may limit the set of valid devices. For example, you cannot select Vmxnet with all guest operating systems.

integer As int32 As int32
guestOSDefaultIndex
Required

Index into guestOsDescriptor array denoting the default guest operating system.

hardwareOptions
Required

The VirtualHardwareOption data object contains the options available for all virtual devices.

capabilities
Required

This data object type contains information about the operation/capabilities of a virtual machine

datastore
Required

The DatastoreOption data object describes datastore options for a virtual machine.

defaultDevice
Optional

The list of virtual devices that are created on a virtual machine by default.

Clients should not create these devices.

array of string
supportedMonitorType
Required

The monitor types supported by a host.

The acceptable monitor types are enumerated by VirtualMachineFlagInfoMonitorTypeEnum.

array of string
supportedOvfEnvironmentTransport
Optional

Specifies the supported property transports that are available for the OVF environment

array of string
supportedOvfInstallTransport
Optional

Specifies the supported transports for the OVF installation phase.

propertyRelations
Optional

The relations between the properties of the virtual machine config spec.