Skip to content

AdHocVariableBuilder🔗

Constructor🔗

new AdHocVariableBuilder(name: string)

Methods🔗

build🔗

Builds the object.

build()

datasource🔗

Data source used to fetch values for a variable. It can be defined but null.

datasource(datasource: dashboard.DataSourceRef)

description🔗

Description of variable. It can be defined but null.

description(description: string)

hide🔗

Visibility configuration for the variable

hide(hide: dashboard.VariableHide)

label🔗

Optional display name

label(label: string)

name🔗

Name of variable

name(name: string)

See also🔗