import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * rootly.WebhooksEndpoint can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/webhooksEndpoint:WebhooksEndpoint primary a816421c-6ceb-481a-87c4-585e47451f24 * ``` * * Or using an `import` block. * * Locate the resource id in the web app, or retrieve it by listing resources through the API if it's not visible in the web app. * * HCL can be generated from the import block using the `-generate-config-out` flag. * * ```sh * pulumi preview -generate-config-out=generated.tf * ``` */ export declare class WebhooksEndpoint extends pulumi.CustomResource { /** * Get an existing WebhooksEndpoint 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?: WebhooksEndpointState, opts?: pulumi.CustomResourceOptions): WebhooksEndpoint; /** * Returns true if the given object is an instance of WebhooksEndpoint. 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 WebhooksEndpoint; /** * Custom HTTP headers sent with each delivery. Max 10. Reserved names (Content-Type, X-Rootly-Signature, Host, etc.) are rejected. */ readonly customHeaders: pulumi.Output; readonly enabled: pulumi.Output; /** * Value must be one of `incident.created`, `incident.updated`, `incident.in_triage`, `incident.mitigated`, `incident.resolved`, `incident.cancelled`, `incident.deleted`, `incident.scheduled.created`, `incident.scheduled.updated`, `incident.scheduled.in_progress`, `incident.scheduled.completed`, `incident.scheduled.deleted`, `incident_post_mortem.created`, `incident_post_mortem.updated`, `incident_post_mortem.published`, `incident_post_mortem.deleted`, `incident_status_page_event.created`, `incident_status_page_event.updated`, `incident_status_page_event.deleted`, `incident_event.created`, `incident_event.updated`, `incident_event.deleted`, `alert.created`, `alert.updated`, `pulse.created`, `shift.started`, `genius_workflow_run.queued`, `genius_workflow_run.started`, `genius_workflow_run.completed`, `genius_workflow_run.failed`, `genius_workflow_run.canceled`, `audit_log.created`. */ readonly eventTypes: pulumi.Output; /** * The name of the endpoint */ readonly name: pulumi.Output; /** * The webhook signing secret used to verify webhook requests. */ readonly secret: pulumi.Output; /** * The slug of the endpoint * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ readonly slug: pulumi.Output; /** * The URL of the endpoint. */ readonly url: pulumi.Output; /** * Create a WebhooksEndpoint 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: WebhooksEndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WebhooksEndpoint resources. */ export interface WebhooksEndpointState { /** * Custom HTTP headers sent with each delivery. Max 10. Reserved names (Content-Type, X-Rootly-Signature, Host, etc.) are rejected. */ customHeaders?: pulumi.Input[] | undefined>; enabled?: pulumi.Input; /** * Value must be one of `incident.created`, `incident.updated`, `incident.in_triage`, `incident.mitigated`, `incident.resolved`, `incident.cancelled`, `incident.deleted`, `incident.scheduled.created`, `incident.scheduled.updated`, `incident.scheduled.in_progress`, `incident.scheduled.completed`, `incident.scheduled.deleted`, `incident_post_mortem.created`, `incident_post_mortem.updated`, `incident_post_mortem.published`, `incident_post_mortem.deleted`, `incident_status_page_event.created`, `incident_status_page_event.updated`, `incident_status_page_event.deleted`, `incident_event.created`, `incident_event.updated`, `incident_event.deleted`, `alert.created`, `alert.updated`, `pulse.created`, `shift.started`, `genius_workflow_run.queued`, `genius_workflow_run.started`, `genius_workflow_run.completed`, `genius_workflow_run.failed`, `genius_workflow_run.canceled`, `audit_log.created`. */ eventTypes?: pulumi.Input[] | undefined>; /** * The name of the endpoint */ name?: pulumi.Input; /** * The webhook signing secret used to verify webhook requests. */ secret?: pulumi.Input; /** * The slug of the endpoint * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ slug?: pulumi.Input; /** * The URL of the endpoint. */ url?: pulumi.Input; } /** * The set of arguments for constructing a WebhooksEndpoint resource. */ export interface WebhooksEndpointArgs { /** * Custom HTTP headers sent with each delivery. Max 10. Reserved names (Content-Type, X-Rootly-Signature, Host, etc.) are rejected. */ customHeaders?: pulumi.Input[] | undefined>; enabled?: pulumi.Input; /** * Value must be one of `incident.created`, `incident.updated`, `incident.in_triage`, `incident.mitigated`, `incident.resolved`, `incident.cancelled`, `incident.deleted`, `incident.scheduled.created`, `incident.scheduled.updated`, `incident.scheduled.in_progress`, `incident.scheduled.completed`, `incident.scheduled.deleted`, `incident_post_mortem.created`, `incident_post_mortem.updated`, `incident_post_mortem.published`, `incident_post_mortem.deleted`, `incident_status_page_event.created`, `incident_status_page_event.updated`, `incident_status_page_event.deleted`, `incident_event.created`, `incident_event.updated`, `incident_event.deleted`, `alert.created`, `alert.updated`, `pulse.created`, `shift.started`, `genius_workflow_run.queued`, `genius_workflow_run.started`, `genius_workflow_run.completed`, `genius_workflow_run.failed`, `genius_workflow_run.canceled`, `audit_log.created`. */ eventTypes?: pulumi.Input[] | undefined>; /** * The name of the endpoint */ name?: pulumi.Input; /** * The webhook signing secret used to verify webhook requests. */ secret?: pulumi.Input; /** * The slug of the endpoint * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ slug?: pulumi.Input; /** * The URL of the endpoint. */ url: pulumi.Input; } //# sourceMappingURL=webhooksEndpoint.d.ts.map