UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

110 lines (109 loc) 2.85 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getTerraformCloudConnector({ * identifier: "identifier", * }); * ``` */ export declare function getTerraformCloudConnector(args: GetTerraformCloudConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetTerraformCloudConnectorResult>; /** * A collection of arguments for invoking getTerraformCloudConnector. */ export interface GetTerraformCloudConnectorArgs { /** * Unique identifier of the resource. */ identifier: string; /** * Name of the resource. */ name?: string; /** * Unique identifier of the organization. */ orgId?: string; /** * Unique identifier of the project. */ projectId?: string; } /** * A collection of values returned by getTerraformCloudConnector. */ export interface GetTerraformCloudConnectorResult { readonly credentials: outputs.platform.GetTerraformCloudConnectorCredential[]; /** * Tags to filter delegates for connection. */ readonly delegateSelectors: string[]; /** * 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; /** * Name of the resource. */ readonly name?: string; /** * Unique identifier of the organization. */ readonly orgId?: string; /** * Unique identifier of the project. */ readonly projectId?: string; /** * Tags to associate with the resource. */ readonly tags: string[]; readonly url: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getTerraformCloudConnector({ * identifier: "identifier", * }); * ``` */ export declare function getTerraformCloudConnectorOutput(args: GetTerraformCloudConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTerraformCloudConnectorResult>; /** * A collection of arguments for invoking getTerraformCloudConnector. */ export interface GetTerraformCloudConnectorOutputArgs { /** * Unique identifier of the resource. */ identifier: pulumi.Input<string>; /** * Name of the resource. */ name?: pulumi.Input<string>; /** * Unique identifier of the organization. */ orgId?: pulumi.Input<string>; /** * Unique identifier of the project. */ projectId?: pulumi.Input<string>; }