UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

120 lines (119 loc) 2.97 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Datasource for looking up a Jenkins connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getJenkinsConnector({ * identifier: "identifier", * }); * ``` */ export declare function getJenkinsConnector(args: GetJenkinsConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetJenkinsConnectorResult>; /** * A collection of arguments for invoking getJenkinsConnector. */ export interface GetJenkinsConnectorArgs { /** * 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 getJenkinsConnector. */ export interface GetJenkinsConnectorResult { /** * This entity contains the details for Jenkins Authentication. */ readonly auths: outputs.platform.GetJenkinsConnectorAuth[]; /** * 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; /** * Jenkins Url. */ readonly jenkinsUrl: 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[]; } /** * Datasource for looking up a Jenkins connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getJenkinsConnector({ * identifier: "identifier", * }); * ``` */ export declare function getJenkinsConnectorOutput(args: GetJenkinsConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetJenkinsConnectorResult>; /** * A collection of arguments for invoking getJenkinsConnector. */ export interface GetJenkinsConnectorOutputArgs { /** * 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>; }