Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

LicenseInfo interface

Describes the license information about the current running instance of Grafana.

Signature

typescript
export interface LicenseInfo 

Import

typescript
import { LicenseInfo } from '@grafana/data';

Properties

PropertyTypeDescription
editionGrafanaEdition
expirynumber
hasLicenseboolean
hasValidLicenseboolean
licenseUrlstring
stateInfostring

edition property

Signature

typescript
edition: GrafanaEdition;

expiry property

Signature

typescript
expiry: number;

hasLicense property

Signature

typescript
hasLicense: boolean;

hasValidLicense property

Signature

typescript
hasValidLicense: boolean;

licenseUrl property

Signature

typescript
licenseUrl: string;

stateInfo property

Signature

typescript
stateInfo: string;