Grafana v0.5.1 published on Wednesday, Jun 12, 2024 by pulumiverse
grafana.getLibraryPanel
Explore with Pulumi AI
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:
getLibraryPanel Result
The following output properties are available:
- Created string
- Timestamp when the library panel was created.
- Dashboard
Ids List<int> - Numerical IDs of Grafana dashboards containing the library panel.
- Description string
- Description of the library panel.
- Folder
Id string - Deprecated. Use
folder_uid
instead - Folder
Name string - Name of the folder containing the library panel.
- Folder
Uid string - Unique ID (UID) of the folder containing the library panel.
- Id string
- The provider-assigned unique ID for this managed resource.
- Model
Json string - The JSON model for the library panel.
- Panel
Id 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.
- Org
Id 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.
- Dashboard
Ids []int - Numerical IDs of Grafana dashboards containing the library panel.
- Description string
- Description of the library panel.
- Folder
Id string - Deprecated. Use
folder_uid
instead - Folder
Name string - Name of the folder containing the library panel.
- Folder
Uid string - Unique ID (UID) of the folder containing the library panel.
- Id string
- The provider-assigned unique ID for this managed resource.
- Model
Json string - The JSON model for the library panel.
- Panel
Id 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.
- Org
Id 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.
- dashboard
Ids List<Integer> - Numerical IDs of Grafana dashboards containing the library panel.
- description String
- Description of the library panel.
- folder
Id String - Deprecated. Use
folder_uid
instead - folder
Name String - Name of the folder containing the library panel.
- folder
Uid String - Unique ID (UID) of the folder containing the library panel.
- id String
- The provider-assigned unique ID for this managed resource.
- model
Json String - The JSON model for the library panel.
- panel
Id 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.
- org
Id 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.
- dashboard
Ids number[] - Numerical IDs of Grafana dashboards containing the library panel.
- description string
- Description of the library panel.
- folder
Id string - Deprecated. Use
folder_uid
instead - folder
Name string - Name of the folder containing the library panel.
- folder
Uid string - Unique ID (UID) of the folder containing the library panel.
- id string
- The provider-assigned unique ID for this managed resource.
- model
Json string - The JSON model for the library panel.
- panel
Id 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.
- org
Id 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 - 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.
- dashboard
Ids List<Number> - Numerical IDs of Grafana dashboards containing the library panel.
- description String
- Description of the library panel.
- folder
Id String - Deprecated. Use
folder_uid
instead - folder
Name String - Name of the folder containing the library panel.
- folder
Uid String - Unique ID (UID) of the folder containing the library panel.
- id String
- The provider-assigned unique ID for this managed resource.
- model
Json String - The JSON model for the library panel.
- panel
Id 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.
- org
Id 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.