Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 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 dictionaryThe following arguments are supported:
- Org
Id string - Unique identifier of the organization.
- Identifier string
- Unique identifier of the resource.
- Limit int
- Name string
- Name of the resource.
- Page int
- Org
Id string - Unique identifier of the organization.
- Identifier string
- Unique identifier of the resource.
- Limit int
- Name string
- Name of the resource.
- Page int
- org
Id String - Unique identifier of the organization.
- identifier String
- Unique identifier of the resource.
- limit Integer
- name String
- Name of the resource.
- page Integer
- org
Id 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
- org
Id 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.
- Org
Id string - Unique identifier of the organization.
- Projects
List<Get
Project List Project> - 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.
- Org
Id string - Unique identifier of the organization.
- Projects
[]Get
Project List Project - []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.
- org
Id String - Unique identifier of the organization.
- projects
List<Get
Project List Project> - 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.
- org
Id string - Unique identifier of the organization.
- projects
Get
Project List Project[] - 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[Get
Project List Project] - 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.
- org
Id String - Unique identifier of the organization.
- projects List<Property Map>
- 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 str
- name str
- identifier String
- name String
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.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
