vsphere/internal/helper/envbrowse/environment_browser_helper.go
func (b *EnvironmentBrowser) QueryConfigOptionDescriptor(ctx context.Context) ([]types.VirtualMachineConfigOptionDescriptor, error) {
	req := types.QueryConfigOptionDescriptor{
		This: b.Reference(),
	}
	res, err := methods.QueryConfigOptionDescriptor(ctx, b.Client(), &req)
	if err != nil {
		return nil, err
	}
	return res.Returnval, nil
}
func (b *EnvironmentBrowser) QueryConfigOptionDescriptor(ctx context.Context) ([]types.VirtualMachineConfigOptionDescriptor, error) {
	req := types.QueryConfigOptionDescriptor{
		This: b.Reference(),
	}
	res, err := methods.QueryConfigOptionDescriptor(ctx, b.Client(), &req)
	if err != nil {
		return nil, err
	}
	return res.Returnval, nil
}
// QueryConfigOptionDescriptor returns a list the list of ConfigOption keys
// available on the environment that this browser targets. The keys can be used
// as query options for DefaultDevices and other functions, facilitating the
// specification of results specific to a certain VM version.