Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
Data source for retrieving a Harness Dashboard Folder.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const folder = harness.platform.getDashboardFolders({
id: "id",
});
import pulumi
import pulumi_harness as harness
folder = harness.platform.get_dashboard_folders(id="id")
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.LookupDashboardFolders(ctx, &platform.LookupDashboardFoldersArgs{
Id: "id",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var folder = Harness.Platform.GetDashboardFolders.Invoke(new()
{
Id = "id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetDashboardFoldersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var folder = PlatformFunctions.getDashboardFolders(GetDashboardFoldersArgs.builder()
.id("id")
.build());
}
}
variables:
folder:
fn::invoke:
function: harness:platform:getDashboardFolders
arguments:
id: id
Using getDashboardFolders
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 getDashboardFolders(args: GetDashboardFoldersArgs, opts?: InvokeOptions): Promise<GetDashboardFoldersResult>
function getDashboardFoldersOutput(args: GetDashboardFoldersOutputArgs, opts?: InvokeOptions): Output<GetDashboardFoldersResult>def get_dashboard_folders(id: Optional[str] = None,
identifier: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDashboardFoldersResult
def get_dashboard_folders_output(id: Optional[pulumi.Input[str]] = None,
identifier: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDashboardFoldersResult]func LookupDashboardFolders(ctx *Context, args *LookupDashboardFoldersArgs, opts ...InvokeOption) (*LookupDashboardFoldersResult, error)
func LookupDashboardFoldersOutput(ctx *Context, args *LookupDashboardFoldersOutputArgs, opts ...InvokeOption) LookupDashboardFoldersResultOutput> Note: This function is named LookupDashboardFolders in the Go SDK.
public static class GetDashboardFolders
{
public static Task<GetDashboardFoldersResult> InvokeAsync(GetDashboardFoldersArgs args, InvokeOptions? opts = null)
public static Output<GetDashboardFoldersResult> Invoke(GetDashboardFoldersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDashboardFoldersResult> getDashboardFolders(GetDashboardFoldersArgs args, InvokeOptions options)
public static Output<GetDashboardFoldersResult> getDashboardFolders(GetDashboardFoldersArgs args, InvokeOptions options)
fn::invoke:
function: harness:platform/getDashboardFolders:getDashboardFolders
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Identifier of the folder.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- Id string
- Identifier of the folder.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- id String
- Identifier of the folder.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- id string
- Identifier of the folder.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the resource.
- id str
- Identifier of the folder.
- identifier str
- Unique identifier of the resource.
- name str
- Name of the resource.
- id String
- Identifier of the folder.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
getDashboardFolders Result
The following output properties are available:
- Created
At string - Created DateTime of the folder.
- Description string
- Description of the resource.
- Id string
- Identifier of the folder.
- List<string>
- Tags to associate with the resource.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- Created
At string - Created DateTime of the folder.
- Description string
- Description of the resource.
- Id string
- Identifier of the folder.
- []string
- Tags to associate with the resource.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- created
At String - Created DateTime of the folder.
- description String
- Description of the resource.
- id String
- Identifier of the folder.
- List<String>
- Tags to associate with the resource.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- created
At string - Created DateTime of the folder.
- description string
- Description of the resource.
- id string
- Identifier of the folder.
- string[]
- Tags to associate with the resource.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the resource.
- created_
at str - Created DateTime of the folder.
- description str
- Description of the resource.
- id str
- Identifier of the folder.
- Sequence[str]
- Tags to associate with the resource.
- identifier str
- Unique identifier of the resource.
- name str
- Name of the resource.
- created
At String - Created DateTime of the folder.
- description String
- Description of the resource.
- id String
- Identifier of the folder.
- List<String>
- Tags to associate with the resource.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
