import * as pulumi from "@pulumi/pulumi"; /** * Look up a Harness FME (Split) workspace by exact workspace name, or by Harness organization and project identifiers. Specify either `name` or both `orgId` and `projectId` (not both). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // By Harness organization and project identifiers (matches harness_platform_* conventions). * const byProject = harness.fme.Workspace({ * orgId: "organization_id", * projectId: "project_id", * }); * // By exact Split workspace name. * const byName = harness.fme.Workspace({ * name: "my-workspace-name", * }); * ``` */ export declare function workspace(args?: WorkspaceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking Workspace. */ export interface WorkspaceArgs { /** * Exact Split workspace name. Conflicts with `orgId` and `projectId`. Also populated from the API after read. */ name?: string; /** * Harness organization identifier. Must be set together with `projectId` when not using `name`. Also populated from the API after read. */ orgId?: string; /** * Harness project identifier. Must be set together with `orgId` when not using `name`. Also populated from the API after read. */ projectId?: string; } /** * A collection of values returned by Workspace. */ export interface WorkspaceResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Exact Split workspace name. Conflicts with `orgId` and `projectId`. Also populated from the API after read. */ readonly name: string; /** * Harness organization identifier. Must be set together with `projectId` when not using `name`. Also populated from the API after read. */ readonly orgId: string; /** * Harness project identifier. Must be set together with `orgId` when not using `name`. Also populated from the API after read. */ readonly projectId: string; /** * Whether the workspace requires title and comments (Split API). */ readonly requiresTitleAndComments: boolean; /** * Workspace type from the Split API. */ readonly type: string; /** * The FME (Split) workspace ID (same as `id`). */ readonly workspaceId: string; } /** * Look up a Harness FME (Split) workspace by exact workspace name, or by Harness organization and project identifiers. Specify either `name` or both `orgId` and `projectId` (not both). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // By Harness organization and project identifiers (matches harness_platform_* conventions). * const byProject = harness.fme.Workspace({ * orgId: "organization_id", * projectId: "project_id", * }); * // By exact Split workspace name. * const byName = harness.fme.Workspace({ * name: "my-workspace-name", * }); * ``` */ export declare function workspaceOutput(args?: WorkspaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking Workspace. */ export interface WorkspaceOutputArgs { /** * Exact Split workspace name. Conflicts with `orgId` and `projectId`. Also populated from the API after read. */ name?: pulumi.Input; /** * Harness organization identifier. Must be set together with `projectId` when not using `name`. Also populated from the API after read. */ orgId?: pulumi.Input; /** * Harness project identifier. Must be set together with `orgId` when not using `name`. Also populated from the API after read. */ projectId?: pulumi.Input; } //# sourceMappingURL=workspace.d.ts.map