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

grafana.getFolders

Explore with Pulumi AI

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

    Using getFolders

    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 getFolders(args: GetFoldersArgs, opts?: InvokeOptions): Promise<GetFoldersResult>
    function getFoldersOutput(args: GetFoldersOutputArgs, opts?: InvokeOptions): Output<GetFoldersResult>
    def get_folders(org_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetFoldersResult
    def get_folders_output(org_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetFoldersResult]
    func GetFolders(ctx *Context, args *GetFoldersArgs, opts ...InvokeOption) (*GetFoldersResult, error)
    func GetFoldersOutput(ctx *Context, args *GetFoldersOutputArgs, opts ...InvokeOption) GetFoldersResultOutput

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

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

    The following arguments are supported:

    OrgId string
    OrgId string
    orgId String
    orgId string
    org_id str
    orgId String

    getFolders Result

    The following output properties are available:

    Folders List<Pulumiverse.Grafana.Outputs.GetFoldersFolder>
    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    Folders []GetFoldersFolder
    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    folders List<GetFoldersFolder>
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    folders GetFoldersFolder[]
    id string
    The provider-assigned unique ID for this managed resource.
    orgId string
    folders Sequence[GetFoldersFolder]
    id str
    The provider-assigned unique ID for this managed resource.
    org_id str
    folders List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String

    Supporting Types

    GetFoldersFolder

    Id int
    The folder ID.
    Title string
    The folder title.
    Uid string
    The folder's unique identifier.
    Url string
    The folder's URL
    Id int
    The folder ID.
    Title string
    The folder title.
    Uid string
    The folder's unique identifier.
    Url string
    The folder's URL
    id Integer
    The folder ID.
    title String
    The folder title.
    uid String
    The folder's unique identifier.
    url String
    The folder's URL
    id number
    The folder ID.
    title string
    The folder title.
    uid string
    The folder's unique identifier.
    url string
    The folder's URL
    id int
    The folder ID.
    title str
    The folder title.
    uid str
    The folder's unique identifier.
    url str
    The folder's URL
    id Number
    The folder ID.
    title String
    The folder title.
    uid String
    The folder's unique identifier.
    url String
    The folder's URL

    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