1. Packages
  2. Grafana Cloud
  3. API Docs
  4. getFolder
Grafana v0.4.2 published on Monday, Apr 15, 2024 by pulumiverse

grafana.getFolder

Explore with Pulumi AI

grafana logo
Grafana v0.4.2 published on Monday, Apr 15, 2024 by pulumiverse

    Using getFolder

    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 getFolder(args: GetFolderArgs, opts?: InvokeOptions): Promise<GetFolderResult>
    function getFolderOutput(args: GetFolderOutputArgs, opts?: InvokeOptions): Output<GetFolderResult>
    def get_folder(org_id: Optional[str] = None,
                   title: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetFolderResult
    def get_folder_output(org_id: Optional[pulumi.Input[str]] = None,
                   title: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetFolderResult]
    func LookupFolder(ctx *Context, args *LookupFolderArgs, opts ...InvokeOption) (*LookupFolderResult, error)
    func LookupFolderOutput(ctx *Context, args *LookupFolderOutputArgs, opts ...InvokeOption) LookupFolderResultOutput

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

    public static class GetFolder 
    {
        public static Task<GetFolderResult> InvokeAsync(GetFolderArgs args, InvokeOptions? opts = null)
        public static Output<GetFolderResult> Invoke(GetFolderInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFolderResult> getFolder(GetFolderArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: grafana:index/getFolder:getFolder
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Title string
    OrgId string
    Title string
    OrgId string
    title String
    orgId String
    title string
    orgId string
    title str
    org_id str
    title String
    orgId String

    getFolder Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ParentFolderUid string
    Title string
    Uid string
    Url string
    OrgId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ParentFolderUid string
    Title string
    Uid string
    Url string
    OrgId string
    id String
    The provider-assigned unique ID for this managed resource.
    parentFolderUid String
    title String
    uid String
    url String
    orgId String
    id string
    The provider-assigned unique ID for this managed resource.
    parentFolderUid string
    title string
    uid string
    url string
    orgId string
    id str
    The provider-assigned unique ID for this managed resource.
    parent_folder_uid str
    title str
    uid str
    url str
    org_id str
    id String
    The provider-assigned unique ID for this managed resource.
    parentFolderUid String
    title String
    uid String
    url String
    orgId String

    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.4.2 published on Monday, Apr 15, 2024 by pulumiverse