Grafana

v0.0.3 published on Sunday, Sep 18, 2022 by lbrlabs

getLibraryPanel

Data source for retrieving a single library panel by name or uid.

Using getLibraryPanel

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getLibraryPanel(args: GetLibraryPanelArgs, opts?: InvokeOptions): Promise<GetLibraryPanelResult>
function getLibraryPanelOutput(args: GetLibraryPanelOutputArgs, opts?: InvokeOptions): Output<GetLibraryPanelResult>
def get_library_panel(name: Optional[str] = None,
                      uid: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetLibraryPanelResult
def get_library_panel_output(name: Optional[pulumi.Input[str]] = None,
                      uid: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetLibraryPanelResult]
func LookupLibraryPanel(ctx *Context, args *LookupLibraryPanelArgs, opts ...InvokeOption) (*LookupLibraryPanelResult, error)
func LookupLibraryPanelOutput(ctx *Context, args *LookupLibraryPanelOutputArgs, opts ...InvokeOption) LookupLibraryPanelResultOutput

> Note: This function is named LookupLibraryPanel in the Go SDK.

public static class GetLibraryPanel 
{
    public static Task<GetLibraryPanelResult> InvokeAsync(GetLibraryPanelArgs args, InvokeOptions? opts = null)
    public static Output<GetLibraryPanelResult> Invoke(GetLibraryPanelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLibraryPanelResult> getLibraryPanel(GetLibraryPanelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: grafana:index/getLibraryPanel:getLibraryPanel
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

Name of the library panel.

Uid string

The unique identifier (UID) of the library panel.

Name string

Name of the library panel.

Uid string

The unique identifier (UID) of the library panel.

name String

Name of the library panel.

uid String

The unique identifier (UID) of the library panel.

name string

Name of the library panel.

uid string

The unique identifier (UID) of the library panel.

name str

Name of the library panel.

uid str

The unique identifier (UID) of the library panel.

name String

Name of the library panel.

uid String

The unique identifier (UID) of the library panel.

getLibraryPanel Result

The following output properties are available:

Created string

Timestamp when the library panel was created.

DashboardIds List<int>

Numerical IDs of Grafana dashboards containing the library panel.

Description string

Description of the library panel.

FolderId int

ID of the folder where the library panel is stored.

FolderName string

Name of the folder containing the library panel.

FolderUid string

Unique ID (UID) of the folder containing the library panel.

Id string

The provider-assigned unique ID for this managed resource.

ModelJson string

The JSON model for the library panel.

OrgId int

The numeric ID of the library panel computed by Grafana.

PanelId int

The numeric ID of the library panel computed by Grafana.

Type string

Type of the library panel (eg. text).

Updated string

Timestamp when the library panel was last modified.

Version int

Version of the library panel.

Name string

Name of the library panel.

Uid string

The unique identifier (UID) of the library panel.

Created string

Timestamp when the library panel was created.

DashboardIds []int

Numerical IDs of Grafana dashboards containing the library panel.

Description string

Description of the library panel.

FolderId int

ID of the folder where the library panel is stored.

FolderName string

Name of the folder containing the library panel.

FolderUid string

Unique ID (UID) of the folder containing the library panel.

Id string

The provider-assigned unique ID for this managed resource.

ModelJson string

The JSON model for the library panel.

OrgId int

The numeric ID of the library panel computed by Grafana.

PanelId int

The numeric ID of the library panel computed by Grafana.

Type string

Type of the library panel (eg. text).

Updated string

Timestamp when the library panel was last modified.

Version int

Version of the library panel.

Name string

Name of the library panel.

Uid string

The unique identifier (UID) of the library panel.

created String

Timestamp when the library panel was created.

dashboardIds List<Integer>

Numerical IDs of Grafana dashboards containing the library panel.

description String

Description of the library panel.

folderId Integer

ID of the folder where the library panel is stored.

folderName String

Name of the folder containing the library panel.

folderUid String

Unique ID (UID) of the folder containing the library panel.

id String

The provider-assigned unique ID for this managed resource.

modelJson String

The JSON model for the library panel.

orgId Integer

The numeric ID of the library panel computed by Grafana.

panelId Integer

The numeric ID of the library panel computed by Grafana.

type String

Type of the library panel (eg. text).

updated String

Timestamp when the library panel was last modified.

version Integer

Version of the library panel.

name String

Name of the library panel.

uid String

The unique identifier (UID) of the library panel.

created string

Timestamp when the library panel was created.

dashboardIds number[]

Numerical IDs of Grafana dashboards containing the library panel.

description string

Description of the library panel.

folderId number

ID of the folder where the library panel is stored.

folderName string

Name of the folder containing the library panel.

folderUid string

Unique ID (UID) of the folder containing the library panel.

id string

The provider-assigned unique ID for this managed resource.

modelJson string

The JSON model for the library panel.

orgId number

The numeric ID of the library panel computed by Grafana.

panelId number

The numeric ID of the library panel computed by Grafana.

type string

Type of the library panel (eg. text).

updated string

Timestamp when the library panel was last modified.

version number

Version of the library panel.

name string

Name of the library panel.

uid string

The unique identifier (UID) of the library panel.

created str

Timestamp when the library panel was created.

dashboard_ids Sequence[int]

Numerical IDs of Grafana dashboards containing the library panel.

description str

Description of the library panel.

folder_id int

ID of the folder where the library panel is stored.

folder_name str

Name of the folder containing the library panel.

folder_uid str

Unique ID (UID) of the folder containing the library panel.

id str

The provider-assigned unique ID for this managed resource.

model_json str

The JSON model for the library panel.

org_id int

The numeric ID of the library panel computed by Grafana.

panel_id int

The numeric ID of the library panel computed by Grafana.

type str

Type of the library panel (eg. text).

updated str

Timestamp when the library panel was last modified.

version int

Version of the library panel.

name str

Name of the library panel.

uid str

The unique identifier (UID) of the library panel.

created String

Timestamp when the library panel was created.

dashboardIds List<Number>

Numerical IDs of Grafana dashboards containing the library panel.

description String

Description of the library panel.

folderId Number

ID of the folder where the library panel is stored.

folderName String

Name of the folder containing the library panel.

folderUid String

Unique ID (UID) of the folder containing the library panel.

id String

The provider-assigned unique ID for this managed resource.

modelJson String

The JSON model for the library panel.

orgId Number

The numeric ID of the library panel computed by Grafana.

panelId Number

The numeric ID of the library panel computed by Grafana.

type String

Type of the library panel (eg. text).

updated String

Timestamp when the library panel was last modified.

version Number

Version of the library panel.

name String

Name of the library panel.

uid String

The unique identifier (UID) of the library panel.

Package Details

Repository
https://github.com/lbrlabs/pulumi-grafana
License
Apache-2.0
Notes

This Pulumi package is based on the grafana Terraform Provider.