1. Registry
  2. Packages
  3. Harness Provider
  4. API Docs
  5. platform
  6. DashboardFolder
Viewing docs for Harness v0.16.5
published on Saturday, Sep 12, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.16.5
published on Saturday, Sep 12, 2026 by Pulumi

    Resource for a Harness Custom Dashboard Folder.

    Create DashboardFolder Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DashboardFolder(name: string, args?: DashboardFolderArgs, opts?: CustomResourceOptions);
    @overload
    def DashboardFolder(resource_name: str,
                        args: Optional[DashboardFolderArgs] = None,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def DashboardFolder(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        name: Optional[str] = None)
    func NewDashboardFolder(ctx *Context, name string, args *DashboardFolderArgs, opts ...ResourceOption) (*DashboardFolder, error)
    public DashboardFolder(string name, DashboardFolderArgs? args = null, CustomResourceOptions? opts = null)
    public DashboardFolder(String name, DashboardFolderArgs args)
    public DashboardFolder(String name, DashboardFolderArgs args, CustomResourceOptions options)
    
    type: harness:platform:DashboardFolder
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "harness_platform_dashboard_folder" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DashboardFolderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DashboardFolderArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DashboardFolderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DashboardFolderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DashboardFolderArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dashboardFolderResource = new Harness.Platform.DashboardFolder("dashboardFolderResource", new()
    {
        Name = "string",
    });
    
    example, err := platform.NewDashboardFolder(ctx, "dashboardFolderResource", &platform.DashboardFolderArgs{
    	Name: pulumi.String("string"),
    })
    
    resource "harness_platform_dashboard_folder" "dashboardFolderResource" {
      lifecycle {
        create_before_destroy = true
      }
      name = "string"
    }
    
    var dashboardFolderResource = new DashboardFolder("dashboardFolderResource", DashboardFolderArgs.builder()
        .name("string")
        .build());
    
    dashboard_folder_resource = harness.platform.DashboardFolder("dashboardFolderResource", name="string")
    
    const dashboardFolderResource = new harness.platform.DashboardFolder("dashboardFolderResource", {name: "string"});
    
    type: harness:platform:DashboardFolder
    properties:
        name: string
    

    DashboardFolder Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DashboardFolder resource accepts the following input properties:

    Name string
    Name of the folder.
    Name string
    Name of the folder.
    name string
    Name of the folder.
    name String
    Name of the folder.
    name string
    Name of the folder.
    name str
    Name of the folder.
    name String
    Name of the folder.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DashboardFolder resource produces the following output properties:

    CreatedAt string
    Created DateTime of the folder.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreatedAt string
    Created DateTime of the folder.
    Id string
    The provider-assigned unique ID for this managed resource.
    created_at string
    Created DateTime of the folder.
    id string
    The provider-assigned unique ID for this managed resource.
    createdAt String
    Created DateTime of the folder.
    id String
    The provider-assigned unique ID for this managed resource.
    createdAt string
    Created DateTime of the folder.
    id string
    The provider-assigned unique ID for this managed resource.
    created_at str
    Created DateTime of the folder.
    id str
    The provider-assigned unique ID for this managed resource.
    createdAt String
    Created DateTime of the folder.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DashboardFolder Resource

    Get an existing DashboardFolder resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DashboardFolderState, opts?: CustomResourceOptions): DashboardFolder
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            name: Optional[str] = None) -> DashboardFolder
    func GetDashboardFolder(ctx *Context, name string, id IDInput, state *DashboardFolderState, opts ...ResourceOption) (*DashboardFolder, error)
    public static DashboardFolder Get(string name, Input<string> id, DashboardFolderState? state, CustomResourceOptions? opts = null)
    public static DashboardFolder get(String name, Output<String> id, DashboardFolderState state, CustomResourceOptions options)
    resources:  _:    type: harness:platform:DashboardFolder    get:      id: ${id}
    import {
      to = harness_platform_dashboard_folder.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedAt string
    Created DateTime of the folder.
    Name string
    Name of the folder.
    CreatedAt string
    Created DateTime of the folder.
    Name string
    Name of the folder.
    created_at string
    Created DateTime of the folder.
    name string
    Name of the folder.
    createdAt String
    Created DateTime of the folder.
    name String
    Name of the folder.
    createdAt string
    Created DateTime of the folder.
    name string
    Name of the folder.
    created_at str
    Created DateTime of the folder.
    name str
    Name of the folder.
    createdAt String
    Created DateTime of the folder.
    name String
    Name of the folder.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.16.5
    published on Saturday, Sep 12, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial