import * as pulumi from "@pulumi/pulumi"; /** * Manages firewall options on VM / Container level. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = new proxmoxve.firewall.OptionsLegacy("example", { * nodeName: exampleProxmoxVirtualEnvironmentVm.nodeName, * vmId: Number(exampleProxmoxVirtualEnvironmentVm.vmId), * dhcp: true, * enabled: false, * ipfilter: true, * logLevelIn: "info", * logLevelOut: "info", * macfilter: false, * ndp: true, * inputPolicy: "ACCEPT", * outputPolicy: "ACCEPT", * radv: true, * }, { * dependsOn: [exampleProxmoxVirtualEnvironmentVm], * }); * ``` * * ## Import * * ### VM Firewall Options * Use the import ID format: `vm//` * Example uses node name `pve` and VM ID `100`. * * **Example:** * ```sh * $ pulumi import proxmoxve:firewall/optionsLegacy:OptionsLegacy vm_firewall_options vm/pve/100 * ``` * * ### Container Firewall Options * Use the import ID format: `container//` * Example uses node name `pve` and container ID `100`. * * **Example:** * ```sh * $ pulumi import proxmoxve:firewall/optionsLegacy:OptionsLegacy container_firewall_options container/pve/100 * ``` */ export declare class OptionsLegacy extends pulumi.CustomResource { /** * Get an existing OptionsLegacy 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?: OptionsLegacyState, opts?: pulumi.CustomResourceOptions): OptionsLegacy; /** * Returns true if the given object is an instance of OptionsLegacy. 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 OptionsLegacy; /** * Container ID. **Exactly one of `vmId` or `containerId` must be specified.** */ readonly containerId: pulumi.Output; /** * Enable DHCP. */ readonly dhcp: pulumi.Output; /** * Enable or disable the firewall. */ readonly enabled: pulumi.Output; /** * The default input * policy (`ACCEPT`, `DROP`, `REJECT`). */ readonly inputPolicy: pulumi.Output; /** * Enable default IP filters. This is equivalent to * adding an empty `ipfilter-net` ipset for every interface. Such ipsets * implicitly contain sane default restrictions such as restricting IPv6 link * local addresses to the one derived from the interface's MAC address. For * containers the configured IP addresses will be implicitly added. */ readonly ipfilter: pulumi.Output; /** * Log level for incoming * packets (`emerg`, `alert`, `crit`, `err`, `warning`, `notice`, `info`, * `debug`, `nolog`). */ readonly logLevelIn: pulumi.Output; /** * Log level for outgoing * packets (`emerg`, `alert`, `crit`, `err`, `warning`, `notice`, `info`, * `debug`, `nolog`). */ readonly logLevelOut: pulumi.Output; /** * Enable/disable MAC address filter. */ readonly macfilter: pulumi.Output; /** * Enable NDP (Neighbor Discovery Protocol). */ readonly ndp: pulumi.Output; /** * Node name. */ readonly nodeName: pulumi.Output; /** * The default output * policy (`ACCEPT`, `DROP`, `REJECT`). */ readonly outputPolicy: pulumi.Output; /** * Enable Router Advertisement. */ readonly radv: pulumi.Output; /** * VM ID. **Exactly one of `vmId` or `containerId` must be specified.** */ readonly vmId: pulumi.Output; /** * Create a OptionsLegacy 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: OptionsLegacyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OptionsLegacy resources. */ export interface OptionsLegacyState { /** * Container ID. **Exactly one of `vmId` or `containerId` must be specified.** */ containerId?: pulumi.Input; /** * Enable DHCP. */ dhcp?: pulumi.Input; /** * Enable or disable the firewall. */ enabled?: pulumi.Input; /** * The default input * policy (`ACCEPT`, `DROP`, `REJECT`). */ inputPolicy?: pulumi.Input; /** * Enable default IP filters. This is equivalent to * adding an empty `ipfilter-net` ipset for every interface. Such ipsets * implicitly contain sane default restrictions such as restricting IPv6 link * local addresses to the one derived from the interface's MAC address. For * containers the configured IP addresses will be implicitly added. */ ipfilter?: pulumi.Input; /** * Log level for incoming * packets (`emerg`, `alert`, `crit`, `err`, `warning`, `notice`, `info`, * `debug`, `nolog`). */ logLevelIn?: pulumi.Input; /** * Log level for outgoing * packets (`emerg`, `alert`, `crit`, `err`, `warning`, `notice`, `info`, * `debug`, `nolog`). */ logLevelOut?: pulumi.Input; /** * Enable/disable MAC address filter. */ macfilter?: pulumi.Input; /** * Enable NDP (Neighbor Discovery Protocol). */ ndp?: pulumi.Input; /** * Node name. */ nodeName?: pulumi.Input; /** * The default output * policy (`ACCEPT`, `DROP`, `REJECT`). */ outputPolicy?: pulumi.Input; /** * Enable Router Advertisement. */ radv?: pulumi.Input; /** * VM ID. **Exactly one of `vmId` or `containerId` must be specified.** */ vmId?: pulumi.Input; } /** * The set of arguments for constructing a OptionsLegacy resource. */ export interface OptionsLegacyArgs { /** * Container ID. **Exactly one of `vmId` or `containerId` must be specified.** */ containerId?: pulumi.Input; /** * Enable DHCP. */ dhcp?: pulumi.Input; /** * Enable or disable the firewall. */ enabled?: pulumi.Input; /** * The default input * policy (`ACCEPT`, `DROP`, `REJECT`). */ inputPolicy?: pulumi.Input; /** * Enable default IP filters. This is equivalent to * adding an empty `ipfilter-net` ipset for every interface. Such ipsets * implicitly contain sane default restrictions such as restricting IPv6 link * local addresses to the one derived from the interface's MAC address. For * containers the configured IP addresses will be implicitly added. */ ipfilter?: pulumi.Input; /** * Log level for incoming * packets (`emerg`, `alert`, `crit`, `err`, `warning`, `notice`, `info`, * `debug`, `nolog`). */ logLevelIn?: pulumi.Input; /** * Log level for outgoing * packets (`emerg`, `alert`, `crit`, `err`, `warning`, `notice`, `info`, * `debug`, `nolog`). */ logLevelOut?: pulumi.Input; /** * Enable/disable MAC address filter. */ macfilter?: pulumi.Input; /** * Enable NDP (Neighbor Discovery Protocol). */ ndp?: pulumi.Input; /** * Node name. */ nodeName: pulumi.Input; /** * The default output * policy (`ACCEPT`, `DROP`, `REJECT`). */ outputPolicy?: pulumi.Input; /** * Enable Router Advertisement. */ radv?: pulumi.Input; /** * VM ID. **Exactly one of `vmId` or `containerId` must be specified.** */ vmId?: pulumi.Input; } //# sourceMappingURL=optionsLegacy.d.ts.map