1. Packages
  2. Grafana Cloud
  3. API Docs
  4. getLibraryPanel
Grafana v0.5.1 published on Wednesday, Jun 12, 2024 by pulumiverse

grafana.getLibraryPanel

Explore with Pulumi AI

grafana logo
Grafana v0.5.1 published on Wednesday, Jun 12, 2024 by pulumiverse

    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,
                          org_id: Optional[str] = None,
                          uid: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetLibraryPanelResult
    def get_library_panel_output(name: Optional[pulumi.Input[str]] = None,
                          org_id: 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.
    OrgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    Uid string
    The unique identifier (UID) of the library panel.
    Name string
    Name of the library panel.
    OrgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    Uid string
    The unique identifier (UID) of the library panel.
    name String
    Name of the library panel.
    orgId String
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    uid String
    The unique identifier (UID) of the library panel.
    name string
    Name of the library panel.
    orgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    uid string
    The unique identifier (UID) of the library panel.
    name str
    Name of the library panel.
    org_id str
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    uid str
    The unique identifier (UID) of the library panel.
    name String
    Name of the library panel.
    orgId String
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    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 string
    Deprecated. Use folder_uid instead

    Deprecated: Use folder_uid instead

    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.
    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.
    OrgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    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 string
    Deprecated. Use folder_uid instead

    Deprecated: Use folder_uid instead

    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.
    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.
    OrgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    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 String
    Deprecated. Use folder_uid instead

    Deprecated: Use folder_uid instead

    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.
    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.
    orgId String
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    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 string
    Deprecated. Use folder_uid instead

    Deprecated: Use folder_uid instead

    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.
    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.
    orgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    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 str
    Deprecated. Use folder_uid instead

    Deprecated: Use folder_uid instead

    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.
    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.
    org_id str
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    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 String
    Deprecated. Use folder_uid instead

    Deprecated: Use folder_uid instead

    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.
    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.
    orgId String
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    uid String
    The unique identifier (UID) of the library panel.

    Package Details

    Repository
    grafana pulumiverse/pulumi-grafana
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the grafana Terraform Provider.
    grafana logo
    Grafana v0.5.1 published on Wednesday, Jun 12, 2024 by pulumiverse