Skip to content

AdHocVariableBuilder🔗

Constructor🔗

new AdHocVariableBuilder(name: string)

Methods🔗

build🔗

Builds the object.

build()

allFormat🔗

Format to use while fetching all values from data source, eg: wildcard, glob, regex, pipe, etc.

allFormat(allFormat: string)

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)

id🔗

Unique numeric identifier for the variable.

id(id: string)

label🔗

Optional display name

label(label: string)

name🔗

Name of variable

name(name: string)

See also🔗