Skip to content

SnapshotBuilder🔗

Constructor🔗

new SnapshotBuilder()

Methods🔗

build🔗

Builds the object.

build()

dashboard🔗

dashboard(dashboard: cog.Builder<dashboard.Dashboard>)

expires🔗

Time when the snapshot expires, default is never to expire

expires(expires: string)

external🔗

Is the snapshot saved in an external grafana instance

external(external: boolean)

externalUrl🔗

external url, if snapshot was shared in external grafana instance

externalUrl(externalUrl: string)

id🔗

Unique identifier of the snapshot

id(id: number)

key🔗

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

key(key: string)

name🔗

Optional, name of the snapshot

name(name: string)

orgId🔗

org id of the snapshot

orgId(orgId: number)

originalUrl🔗

original url, url of the dashboard that was snapshotted

originalUrl(originalUrl: string)

url🔗

url of the snapshot, if snapshot was shared internally

url(url: string)

See also🔗