import * as pulumi from "@pulumi/pulumi"; /** * Data source for retrieving a Harness Repo Webhook. */ export declare function getRepoWebhook(args: GetRepoWebhookArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRepoWebhook. */ export interface GetRepoWebhookArgs { /** * Description of the webhook. */ description?: string; /** * Webhook enabled. */ enabled: boolean; /** * Identifier of the webhook. */ identifier: string; /** * Allow insecure connections for provided webhook URL. */ insecure: boolean; /** * Unique identifier of the organization. */ orgId?: string; /** * Unique identifier of the project. */ projectId?: string; /** * Identifier of the repository. */ repoIdentifier: string; /** * Webhook secret which will be used to sign the webhook payload. */ secret?: string; /** * List of triggers of the webhook (keep empty for all triggers). */ triggers?: string[]; /** * URL that's called by the webhook. */ url: string; } /** * A collection of values returned by getRepoWebhook. */ export interface GetRepoWebhookResult { /** * Timestamp when the webhook was created. */ readonly created: number; /** * ID of the user who created the webhook. */ readonly createdBy: number; /** * Description of the webhook. */ readonly description?: string; /** * Webhook enabled. */ readonly enabled: boolean; /** * Created webhook has secret encoding. */ readonly hasSecret: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Identifier of the webhook. */ readonly identifier: string; /** * Allow insecure connections for provided webhook URL. */ readonly insecure: boolean; /** * Unique identifier of the organization. */ readonly orgId?: string; /** * Unique identifier of the project. */ readonly projectId?: string; /** * Identifier of the repository. */ readonly repoIdentifier: string; /** * Webhook secret which will be used to sign the webhook payload. */ readonly secret?: string; /** * List of triggers of the webhook (keep empty for all triggers). */ readonly triggers?: string[]; /** * URL that's called by the webhook. */ readonly url: string; } /** * Data source for retrieving a Harness Repo Webhook. */ export declare function getRepoWebhookOutput(args: GetRepoWebhookOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRepoWebhook. */ export interface GetRepoWebhookOutputArgs { /** * Description of the webhook. */ description?: pulumi.Input; /** * Webhook enabled. */ enabled: pulumi.Input; /** * Identifier of the webhook. */ identifier: pulumi.Input; /** * Allow insecure connections for provided webhook URL. */ insecure: pulumi.Input; /** * Unique identifier of the organization. */ orgId?: pulumi.Input; /** * Unique identifier of the project. */ projectId?: pulumi.Input; /** * Identifier of the repository. */ repoIdentifier: pulumi.Input; /** * Webhook secret which will be used to sign the webhook payload. */ secret?: pulumi.Input; /** * List of triggers of the webhook (keep empty for all triggers). */ triggers?: pulumi.Input[] | undefined>; /** * URL that's called by the webhook. */ url: pulumi.Input; } //# sourceMappingURL=getRepoWebhook.d.ts.map