import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Datasource for looking up a Github connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getGithubConnector({ * identifier: "identifier", * }); * ``` */ export declare function getGithubConnector(args: GetGithubConnectorArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getGithubConnector. */ export interface GetGithubConnectorArgs { /** * 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 getGithubConnector. */ export interface GetGithubConnectorResult { /** * Configuration for using the github api. API Access is Computed for using “Git Experience”, for creation of Git based triggers, Webhooks management and updating Git statuses. */ readonly apiAuthentications: outputs.platform.GetGithubConnectorApiAuthentication[]; /** * Whether the connection we're making is to a github repository or a github account. Valid values are Account, Repo. */ readonly connectionType: string; /** * Credentials to use for the connection. */ readonly credentials: outputs.platform.GetGithubConnectorCredential[]; /** * Tags to filter delegates for connection. */ readonly delegateSelectors: string[]; /** * Description of the resource. */ readonly description: string; /** * Execute on delegate or not. */ readonly executeOnDelegate: boolean; /** * 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[]; /** * URL of the github repository or account. */ readonly url: string; /** * Repository to test the connection with. This is only used when `connectionType` is `Account`. */ readonly validationRepo: string; } /** * Datasource for looking up a Github connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getGithubConnector({ * identifier: "identifier", * }); * ``` */ export declare function getGithubConnectorOutput(args: GetGithubConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getGithubConnector. */ export interface GetGithubConnectorOutputArgs { /** * Unique identifier of the resource. */ identifier: pulumi.Input; /** * Name of the resource. */ name?: pulumi.Input; /** * Unique identifier of the organization. */ orgId?: pulumi.Input; /** * Unique identifier of the project. */ projectId?: pulumi.Input; } //# sourceMappingURL=getGithubConnector.d.ts.map