@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
94 lines (93 loc) • 2.49 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Data source for retrieving a Harness application
*/
export declare function getGitConnector(args?: GetGitConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetGitConnectorResult>;
/**
* A collection of arguments for invoking getGitConnector.
*/
export interface GetGitConnectorArgs {
/**
* Id of the git connector.
*/
id?: string;
/**
* The name of the git connector.
*/
name?: string;
}
/**
* A collection of values returned by getGitConnector.
*/
export interface GetGitConnectorResult {
/**
* The branch of the git connector to use.
*/
readonly branch: string;
/**
* Custom details to use when making commits using this git connector.
*/
readonly commitDetails: outputs.GetGitConnectorCommitDetail[];
/**
* The time the git connector was created.
*/
readonly createdAt: string;
/**
* Delegate selectors to apply to this git connector.
*/
readonly delegateSelectors: string[];
/**
* Boolean indicating whether or not to generate a webhook url.
*/
readonly generateWebhookUrl: boolean;
/**
* Id of the git connector.
*/
readonly id?: string;
/**
* The name of the git connector.
*/
readonly name?: string;
/**
* The id of the secret for connecting to the git repository.
*/
readonly passwordSecretId: string;
/**
* The id of the SSH secret to use.
*/
readonly sshSettingId: string;
/**
* The URL of the git repository or account/organization.
*/
readonly url: string;
/**
* The type of git url being used. Options are `ACCOUNT`, and `REPO`.
*/
readonly urlType: string;
/**
* The name of the user used to connect to the git repository.
*/
readonly username: string;
/**
* The generated webhook url.
*/
readonly webhookUrl: string;
}
/**
* Data source for retrieving a Harness application
*/
export declare function getGitConnectorOutput(args?: GetGitConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGitConnectorResult>;
/**
* A collection of arguments for invoking getGitConnector.
*/
export interface GetGitConnectorOutputArgs {
/**
* Id of the git connector.
*/
id?: pulumi.Input<string>;
/**
* The name of the git connector.
*/
name?: pulumi.Input<string>;
}