Skip to content

AdhocVariable🔗

Constructor🔗

AdhocVariable(name: str)

Methods🔗

build🔗

Builds the object.

def build() -> dashboardv2beta1.AdhocVariableKind

allow_custom_value🔗

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

base_filters🔗

def base_filters(base_filters: list[cogbuilder.Builder[dashboardv2beta1.AdHocFilterWithLabels]]) -> typing.Self

datasource🔗

def datasource(datasource: cogbuilder.Builder[dashboardv2beta1.Dashboardv2beta1AdhocVariableKindDatasource]) -> typing.Self

default_keys🔗

def default_keys(default_keys: list[cogbuilder.Builder[dashboardv2beta1.MetricFindValue]]) -> typing.Self

description🔗

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

filters🔗

def filters(filters: list[cogbuilder.Builder[dashboardv2beta1.AdHocFilterWithLabels]]) -> typing.Self

group🔗

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

hide🔗

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

label🔗

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

name🔗

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

skip_url_sync🔗

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

spec🔗

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

See also🔗