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; /** * Identifier of the Portainer environment (endpoint) the webhook is bound to. Changing this value forces resource recreation. */ readonly endpointId: pulumi.Output; /** * Identifier of the Portainer registry associated with this webhook. Used when the webhook triggers actions on images from that registry. */ readonly registryId: pulumi.Output; /** * Identifier of the target resource (e.g. service ID) the webhook will act upon. Changing this value forces resource recreation. */ readonly resourceId: pulumi.Output; /** * Webhook token generated by Portainer. Appended to the webhook URL to authenticate trigger calls. */ readonly token: pulumi.Output; readonly webhookId: pulumi.Output; /** * Type of webhook in Portainer (e.g. 1 = service webhook, 2 = container webhook). Changing this value forces resource recreation. */ readonly webhookType: 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 { /** * Identifier of the Portainer environment (endpoint) the webhook is bound to. Changing this value forces resource recreation. */ endpointId?: pulumi.Input; /** * Identifier of the Portainer registry associated with this webhook. Used when the webhook triggers actions on images from that registry. */ registryId?: pulumi.Input; /** * Identifier of the target resource (e.g. service ID) the webhook will act upon. Changing this value forces resource recreation. */ resourceId?: pulumi.Input; /** * Webhook token generated by Portainer. Appended to the webhook URL to authenticate trigger calls. */ token?: pulumi.Input; webhookId?: pulumi.Input; /** * Type of webhook in Portainer (e.g. 1 = service webhook, 2 = container webhook). Changing this value forces resource recreation. */ webhookType?: pulumi.Input; } /** * The set of arguments for constructing a Webhook resource. */ export interface WebhookArgs { /** * Identifier of the Portainer environment (endpoint) the webhook is bound to. Changing this value forces resource recreation. */ endpointId: pulumi.Input; /** * Identifier of the Portainer registry associated with this webhook. Used when the webhook triggers actions on images from that registry. */ registryId?: pulumi.Input; /** * Identifier of the target resource (e.g. service ID) the webhook will act upon. Changing this value forces resource recreation. */ resourceId: pulumi.Input; webhookId?: pulumi.Input; /** * Type of webhook in Portainer (e.g. 1 = service webhook, 2 = container webhook). Changing this value forces resource recreation. */ webhookType: pulumi.Input; } //# sourceMappingURL=webhook.d.ts.map