UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

81 lines (80 loc) 2.06 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for retrieving a Harness project. */ export declare function getProjectList(args: GetProjectListArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectListResult>; /** * A collection of arguments for invoking getProjectList. */ export interface GetProjectListArgs { /** * Unique identifier of the resource. */ identifier?: string; limit?: number; /** * Name of the resource. */ name?: string; /** * Unique identifier of the organization. */ orgId: string; page?: number; } /** * A collection of values returned by getProjectList. */ export interface GetProjectListResult { /** * Description of the resource. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the resource. */ readonly identifier?: string; readonly limit?: number; /** * Name of the resource. */ readonly name?: string; /** * Unique identifier of the organization. */ readonly orgId: string; readonly page?: number; readonly projects: outputs.platform.GetProjectListProject[]; /** * Tags to associate with the resource. */ readonly tags: string[]; } /** * Data source for retrieving a Harness project. */ export declare function getProjectListOutput(args: GetProjectListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectListResult>; /** * A collection of arguments for invoking getProjectList. */ export interface GetProjectListOutputArgs { /** * Unique identifier of the resource. */ identifier?: pulumi.Input<string>; limit?: pulumi.Input<number>; /** * Name of the resource. */ name?: pulumi.Input<string>; /** * Unique identifier of the organization. */ orgId: pulumi.Input<string>; page?: pulumi.Input<number>; }