Skip to content

DatasourceVariableBuilder🔗

Constructor🔗

new DatasourceVariableBuilder(string $name)

Methods🔗

build🔗

Builds the object.

build()

allValue🔗

allValue(string $allValue)

allowCustomValue🔗

allowCustomValue(bool $allowCustomValue)

current🔗

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

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)

pluginId🔗

pluginId(string $pluginId)

refresh🔗

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

regex🔗

regex(string $regex)

skipUrlSync🔗

skipUrlSync(bool $skipUrlSync)

spec🔗

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

See also🔗