import * as pulumi from "@pulumi/pulumi"; export declare class Webhook extends pulumi.CustomResource { /** * Get an existing Webhook resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: WebhookState, opts?: pulumi.CustomResourceOptions): Webhook; /** * Returns true if the given object is an instance of Webhook. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Webhook; /** * Boolean, if set to true, webhooks are immediately sent in response to events */ readonly active: pulumi.Output; /** * The webhook creation timestamp */ readonly createdAt: pulumi.Output; /** * The ID of the user who created the webhook. */ readonly createdBy: pulumi.Output; /** * The array of event types */ readonly events: pulumi.Output; /** * The group ID */ readonly groupId: pulumi.Output; /** * Specifies whether the setup tests should be run */ readonly runTests: pulumi.Output; /** * The secret string used for payload signing and masked in the response. */ readonly secret: pulumi.Output; /** * The webhook type (group, account) */ readonly type: pulumi.Output; /** * Your webhooks URL endpoint for your application */ readonly url: pulumi.Output; /** * Create a Webhook resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: WebhookArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Webhook resources. */ export interface WebhookState { /** * Boolean, if set to true, webhooks are immediately sent in response to events */ active?: pulumi.Input; /** * The webhook creation timestamp */ createdAt?: pulumi.Input; /** * The ID of the user who created the webhook. */ createdBy?: pulumi.Input; /** * The array of event types */ events?: pulumi.Input[]>; /** * The group ID */ groupId?: pulumi.Input; /** * Specifies whether the setup tests should be run */ runTests?: pulumi.Input; /** * The secret string used for payload signing and masked in the response. */ secret?: pulumi.Input; /** * The webhook type (group, account) */ type?: pulumi.Input; /** * Your webhooks URL endpoint for your application */ url?: pulumi.Input; } /** * The set of arguments for constructing a Webhook resource. */ export interface WebhookArgs { /** * Boolean, if set to true, webhooks are immediately sent in response to events */ active: pulumi.Input; /** * The array of event types */ events: pulumi.Input[]>; /** * The group ID */ groupId?: pulumi.Input; /** * Specifies whether the setup tests should be run */ runTests?: pulumi.Input; /** * The secret string used for payload signing and masked in the response. */ secret: pulumi.Input; /** * The webhook type (group, account) */ type: pulumi.Input; /** * Your webhooks URL endpoint for your application */ url: pulumi.Input; }