Skip to content

Snapshot🔗

Constructor🔗

Snapshot()

Methods🔗

build🔗

Builds the object.

def build() -> dashboard.Snapshot

dashboard🔗

def dashboard(dashboard: cogbuilder.Builder[dashboard.Dashboard]) -> typing.Self

expires🔗

Time when the snapshot expires, default is never to expire

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

external🔗

Is the snapshot saved in an external grafana instance

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

external_url🔗

external url, if snapshot was shared in external grafana instance

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

id_val🔗

Unique identifier of the snapshot

def id_val(id_val: int) -> typing.Self

key🔗

Optional, defined the unique key of the snapshot, required if external is true

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

name🔗

Optional, name of the snapshot

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

org_id🔗

org id of the snapshot

def org_id(org_id: int) -> typing.Self

original_url🔗

original url, url of the dashboard that was snapshotted

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

url🔗

url of the snapshot, if snapshot was shared internally

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

See also🔗