Skip to content

QueryVariableBuilder🔗

Constructor🔗

new QueryVariableBuilder(string $name)

Methods🔗

build🔗

Builds the object.

build()

allValue🔗

allValue(string $allValue)

allowCustomValue🔗

allowCustomValue(bool $allowCustomValue)

current🔗

current(\Grafana\Foundation\Dashboardv2beta1\VariableOption $current)

definition🔗

definition(string $definition)

description🔗

description(string $description)

hide🔗

hide(\Grafana\Foundation\Dashboardv2beta1\VariableHide $hide)

includeAll🔗

includeAll(bool $includeAll)

label🔗

label(string $label)

multi🔗

multi(bool $multi)

name🔗

name(string $name)

options🔗

@param array<\Grafana\Foundation\Dashboardv2beta1\VariableOption> $options

options(array $options)

placeholder🔗

placeholder(string $placeholder)

query🔗

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Dashboardv2beta1\DataQueryKind> $query

query(\Grafana\Foundation\Cog\Builder $query)

refresh🔗

refresh(\Grafana\Foundation\Dashboardv2beta1\VariableRefresh $refresh)

regex🔗

regex(string $regex)

regexApplyTo🔗

regexApplyTo(\Grafana\Foundation\Dashboardv2beta1\VariableRegexApplyTo $regexApplyTo)

skipUrlSync🔗

skipUrlSync(bool $skipUrlSync)

sort🔗

sort(\Grafana\Foundation\Dashboardv2beta1\VariableSort $sort)

spec🔗

spec(\Grafana\Foundation\Dashboardv2beta1\QueryVariableSpec $spec)

staticOptions🔗

@param array<\Grafana\Foundation\Dashboardv2beta1\VariableOption> $staticOptions

staticOptions(array $staticOptions)

staticOptionsOrder🔗

staticOptionsOrder(\Grafana\Foundation\Dashboardv2beta1\QueryVariableSpecStaticOptionsOrder $staticOptionsOrder)

See also🔗