Skip to content

AdhocVariableBuilder🔗

Constructor🔗

new AdhocVariableBuilder(name: string)

Methods🔗

build🔗

Builds the object.

build()

allowCustomValue🔗

allowCustomValue(allowCustomValue: boolean)

baseFilters🔗

baseFilters(baseFilters: cog.Builder<dashboardv2beta1.AdHocFilterWithLabels>[])

datasource🔗

datasource(datasource: {
    name?: string;
})

defaultKeys🔗

defaultKeys(defaultKeys: cog.Builder<dashboardv2beta1.MetricFindValue>[])

description🔗

description(description: string)

filters🔗

filters(filters: cog.Builder<dashboardv2beta1.AdHocFilterWithLabels>[])

group🔗

group(group: string)

hide🔗

hide(hide: dashboardv2beta1.VariableHide)

label🔗

label(label: string)

name🔗

name(name: string)

skipUrlSync🔗

skipUrlSync(skipUrlSync: boolean)

spec🔗

spec(spec: dashboardv2beta1.AdhocVariableSpec)

See also🔗