VBI.resources

The resource namespace on a VBI instance, used to register shared resources that can be referenced by dashboard/report.

Properties

PropertyTypeDescription
chartVBIChartResourceNamespaceChart resource management API.
insightVBIInsightResourceNamespaceInsight resource management API.

Methods

register

Registers chart and insight resources in bulk.

Definition:

register(resources: VBIResourceRegisterInput): VBIResourceRegisterResult

Returns: VBIResourceRegisterResult

Parameters:

ParameterTypeDescription
resourcesVBIResourceRegisterInput-

clear

Clears all chart and insight resources for the current VBI instance.

Definition:

clear(): void

Returns: void

snapshot

Exports a DSL snapshot of the resources referenceable by the current VBI instance.

Definition:

snapshot(): VBIResourceSnapshot

Returns: VBIResourceSnapshot