DatasourceVariable
Constructor
DatasourceVariable(name: str)
Methods
build
Builds the object.
def build() -> dashboardv2beta1.DatasourceVariableKind
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
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
plugin_id
def plugin_id(plugin_id: str) -> typing.Self
refresh
def refresh(refresh: dashboardv2beta1.VariableRefresh) -> typing.Self
regex
def regex(regex: str) -> typing.Self
skip_url_sync
def skip_url_sync(skip_url_sync: bool) -> typing.Self
spec
def spec(spec: dashboardv2beta1.DatasourceVariableSpec) -> typing.Self
See also