Skip to content

QueryVariable🔗

Constructor🔗

QueryVariable(name: str)

Methods🔗

build🔗

Builds the object.

def build() -> dashboardv2beta1.QueryVariableKind

all_value🔗

def all_value(all_value: str) -> typing.Self

allow_custom_value🔗

def allow_custom_value(allow_custom_value: bool) -> typing.Self

current🔗

def current(current: dashboardv2beta1.VariableOption) -> typing.Self

definition🔗

def definition(definition: str) -> typing.Self

description🔗

def description(description: str) -> typing.Self

hide🔗

def hide(hide: dashboardv2beta1.VariableHide) -> typing.Self

include_all🔗

def include_all(include_all: bool) -> typing.Self

label🔗

def label(label: str) -> typing.Self

multi🔗

def multi(multi: bool) -> typing.Self

name🔗

def name(name: str) -> typing.Self

options🔗

def options(options: list[dashboardv2beta1.VariableOption]) -> typing.Self

placeholder🔗

def placeholder(placeholder: str) -> typing.Self

query🔗

def query(query: cogbuilder.Builder[dashboardv2beta1.DataQueryKind]) -> typing.Self

refresh🔗

def refresh(refresh: dashboardv2beta1.VariableRefresh) -> typing.Self

regex🔗

def regex(regex: str) -> typing.Self

regex_apply_to🔗

def regex_apply_to(regex_apply_to: dashboardv2beta1.VariableRegexApplyTo) -> typing.Self

skip_url_sync🔗

def skip_url_sync(skip_url_sync: bool) -> typing.Self

sort🔗

def sort(sort: dashboardv2beta1.VariableSort) -> typing.Self

spec🔗

def spec(spec: dashboardv2beta1.QueryVariableSpec) -> typing.Self

static_options🔗

def static_options(static_options: list[dashboardv2beta1.VariableOption]) -> typing.Self

static_options_order🔗

def static_options_order(static_options_order: typing.Literal["before", "after", "sorted"]) -> typing.Self

See also🔗