1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getProjectList
Harness v0.8.1 published on Saturday, Aug 23, 2025 by Pulumi

harness.platform.getProjectList

Explore with Pulumi AI

harness logo
Harness v0.8.1 published on Saturday, Aug 23, 2025 by Pulumi

    Data source for retrieving a Harness project.

    Using getProjectList

    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 getProjectList(args: GetProjectListArgs, opts?: InvokeOptions): Promise<GetProjectListResult>
    function getProjectListOutput(args: GetProjectListOutputArgs, opts?: InvokeOptions): Output<GetProjectListResult>
    def get_project_list(identifier: Optional[str] = None,
                         limit: Optional[int] = None,
                         name: Optional[str] = None,
                         org_id: Optional[str] = None,
                         page: Optional[int] = None,
                         opts: Optional[InvokeOptions] = None) -> GetProjectListResult
    def get_project_list_output(identifier: Optional[pulumi.Input[str]] = None,
                         limit: Optional[pulumi.Input[int]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         org_id: Optional[pulumi.Input[str]] = None,
                         page: Optional[pulumi.Input[int]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetProjectListResult]
    func GetProjectList(ctx *Context, args *GetProjectListArgs, opts ...InvokeOption) (*GetProjectListResult, error)
    func GetProjectListOutput(ctx *Context, args *GetProjectListOutputArgs, opts ...InvokeOption) GetProjectListResultOutput

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

    public static class GetProjectList 
    {
        public static Task<GetProjectListResult> InvokeAsync(GetProjectListArgs args, InvokeOptions? opts = null)
        public static Output<GetProjectListResult> Invoke(GetProjectListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetProjectListResult> getProjectList(GetProjectListArgs args, InvokeOptions options)
    public static Output<GetProjectListResult> getProjectList(GetProjectListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: harness:platform/getProjectList:getProjectList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrgId string
    Unique identifier of the organization.
    Identifier string
    Unique identifier of the resource.
    Limit int
    Name string
    Name of the resource.
    Page int
    OrgId string
    Unique identifier of the organization.
    Identifier string
    Unique identifier of the resource.
    Limit int
    Name string
    Name of the resource.
    Page int
    orgId String
    Unique identifier of the organization.
    identifier String
    Unique identifier of the resource.
    limit Integer
    name String
    Name of the resource.
    page Integer
    orgId string
    Unique identifier of the organization.
    identifier string
    Unique identifier of the resource.
    limit number
    name string
    Name of the resource.
    page number
    org_id str
    Unique identifier of the organization.
    identifier str
    Unique identifier of the resource.
    limit int
    name str
    Name of the resource.
    page int
    orgId String
    Unique identifier of the organization.
    identifier String
    Unique identifier of the resource.
    limit Number
    name String
    Name of the resource.
    page Number

    getProjectList Result

    The following output properties are available:

    Description string
    Description of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    Unique identifier of the organization.
    Projects List<GetProjectListProject>
    Tags List<string>
    Tags to associate with the resource.
    Identifier string
    Unique identifier of the resource.
    Limit int
    Name string
    Name of the resource.
    Page int
    Description string
    Description of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    Unique identifier of the organization.
    Projects []GetProjectListProject
    Tags []string
    Tags to associate with the resource.
    Identifier string
    Unique identifier of the resource.
    Limit int
    Name string
    Name of the resource.
    Page int
    description String
    Description of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    Unique identifier of the organization.
    projects List<GetProjectListProject>
    tags List<String>
    Tags to associate with the resource.
    identifier String
    Unique identifier of the resource.
    limit Integer
    name String
    Name of the resource.
    page Integer
    description string
    Description of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    orgId string
    Unique identifier of the organization.
    projects GetProjectListProject[]
    tags string[]
    Tags to associate with the resource.
    identifier string
    Unique identifier of the resource.
    limit number
    name string
    Name of the resource.
    page number
    description str
    Description of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    org_id str
    Unique identifier of the organization.
    projects Sequence[GetProjectListProject]
    tags Sequence[str]
    Tags to associate with the resource.
    identifier str
    Unique identifier of the resource.
    limit int
    name str
    Name of the resource.
    page int
    description String
    Description of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    Unique identifier of the organization.
    projects List<Property Map>
    tags List<String>
    Tags to associate with the resource.
    identifier String
    Unique identifier of the resource.
    limit Number
    name String
    Name of the resource.
    page Number

    Supporting Types

    GetProjectListProject

    Identifier string
    Name string
    Identifier string
    Name string
    identifier String
    name String
    identifier string
    name string
    identifier String
    name String

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.8.1 published on Saturday, Aug 23, 2025 by Pulumi