import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages firewall options on the cluster level. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = new proxmoxve.cluster.FirewallLegacy("example", { * enabled: false, * ebtables: false, * inputPolicy: "DROP", * outputPolicy: "ACCEPT", * forwardPolicy: "ACCEPT", * logRatelimit: { * enabled: false, * burst: 10, * rate: "5/second", * }, * }); * ``` * * ## Important Notes * * Be careful not to use this resource multiple times for the same node. * * ## Import * * Instances can be imported without an ID, but you still need to pass one, e.g., * * ```sh * $ pulumi import proxmoxve:cluster/firewallLegacy:FirewallLegacy example example * ``` */ export declare class FirewallLegacy extends pulumi.CustomResource { /** * Get an existing FirewallLegacy 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?: FirewallLegacyState, opts?: pulumi.CustomResourceOptions): FirewallLegacy; /** * Returns true if the given object is an instance of FirewallLegacy. 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 FirewallLegacy; /** * Enable ebtables rules cluster wide. */ readonly ebtables: pulumi.Output; /** * Enable or disable the firewall cluster wide. */ readonly enabled: pulumi.Output; /** * The default forward policy (`ACCEPT`, `DROP`). */ readonly forwardPolicy: pulumi.Output; /** * The default input policy (`ACCEPT`, `DROP`, `REJECT`). */ readonly inputPolicy: pulumi.Output; /** * The log rate limit. */ readonly logRatelimit: pulumi.Output; /** * The default output policy (`ACCEPT`, `DROP`, `REJECT`). */ readonly outputPolicy: pulumi.Output; /** * Create a FirewallLegacy 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?: FirewallLegacyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FirewallLegacy resources. */ export interface FirewallLegacyState { /** * Enable ebtables rules cluster wide. */ ebtables?: pulumi.Input; /** * Enable or disable the firewall cluster wide. */ enabled?: pulumi.Input; /** * The default forward policy (`ACCEPT`, `DROP`). */ forwardPolicy?: pulumi.Input; /** * The default input policy (`ACCEPT`, `DROP`, `REJECT`). */ inputPolicy?: pulumi.Input; /** * The log rate limit. */ logRatelimit?: pulumi.Input; /** * The default output policy (`ACCEPT`, `DROP`, `REJECT`). */ outputPolicy?: pulumi.Input; } /** * The set of arguments for constructing a FirewallLegacy resource. */ export interface FirewallLegacyArgs { /** * Enable ebtables rules cluster wide. */ ebtables?: pulumi.Input; /** * Enable or disable the firewall cluster wide. */ enabled?: pulumi.Input; /** * The default forward policy (`ACCEPT`, `DROP`). */ forwardPolicy?: pulumi.Input; /** * The default input policy (`ACCEPT`, `DROP`, `REJECT`). */ inputPolicy?: pulumi.Input; /** * The log rate limit. */ logRatelimit?: pulumi.Input; /** * The default output policy (`ACCEPT`, `DROP`, `REJECT`). */ outputPolicy?: pulumi.Input; } //# sourceMappingURL=firewallLegacy.d.ts.map