import * as pulumi from "@pulumi/pulumi"; /** * Provides a Fastly Next-Gen WAF Virtual Patch. Virtual patching * rules block or log requests matching specific vulnerabilities. * * ## Example Usage * * Basic usage: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const demo = new fastly.NgwafVirtualPatches("demo", { * action: "block", * enabled: true, * virtualPatchId: "CVE-2017-5638", * workspaceId: demoFastlyNgwafWorkspace.id, * }); * ``` * * ## Import * * Fastly Next-Gen WAF Virtual Patches can be imported using their workspace and Virtual Patch ID, e.g. * * ```sh * $ pulumi import fastly:index/ngwafVirtualPatches:NgwafVirtualPatches demo / * ``` */ export declare class NgwafVirtualPatches extends pulumi.CustomResource { /** * Get an existing NgwafVirtualPatches 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?: NgwafVirtualPatchesState, opts?: pulumi.CustomResourceOptions): NgwafVirtualPatches; /** * Returns true if the given object is an instance of NgwafVirtualPatches. 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 NgwafVirtualPatches; /** * Action to take when a signal for virtual patch is detected. Accepted values are `log` and `block`. */ readonly action: pulumi.Output; /** * Control for enabling and disabling a virtual patch. */ readonly enabled: pulumi.Output; /** * The ID of the virtual patch. */ readonly virtualPatchId: pulumi.Output; /** * The ID of the workspace. */ readonly workspaceId: pulumi.Output; /** * Create a NgwafVirtualPatches 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: NgwafVirtualPatchesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NgwafVirtualPatches resources. */ export interface NgwafVirtualPatchesState { /** * Action to take when a signal for virtual patch is detected. Accepted values are `log` and `block`. */ action?: pulumi.Input; /** * Control for enabling and disabling a virtual patch. */ enabled?: pulumi.Input; /** * The ID of the virtual patch. */ virtualPatchId?: pulumi.Input; /** * The ID of the workspace. */ workspaceId?: pulumi.Input; } /** * The set of arguments for constructing a NgwafVirtualPatches resource. */ export interface NgwafVirtualPatchesArgs { /** * Action to take when a signal for virtual patch is detected. Accepted values are `log` and `block`. */ action: pulumi.Input; /** * Control for enabling and disabling a virtual patch. */ enabled: pulumi.Input; /** * The ID of the virtual patch. */ virtualPatchId: pulumi.Input; /** * The ID of the workspace. */ workspaceId: pulumi.Input; } //# sourceMappingURL=ngwafVirtualPatches.d.ts.map