import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides details about a specific Hetzner Cloud Firewall. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const sampleFirewall1 = hcloud.getFirewall({ * name: "sample-firewall-1", * }); * const sampleFirewall2 = hcloud.getFirewall({ * id: 4711, * }); * ``` */ export declare function getFirewall(args?: GetFirewallArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFirewall. */ export interface GetFirewallArgs { /** * Configuration of the Applied Resources */ applyTos?: inputs.GetFirewallApplyTo[]; /** * ID of the firewall. */ id?: number; /** * (map) User-defined labels (key-value pairs) */ labels?: { [key: string]: string; }; /** * Return most recent firewall if multiple are found. */ mostRecent?: boolean; /** * Name of the firewall. */ name?: string; /** * (string) Configuration of a Rule from this Firewall. */ rules?: inputs.GetFirewallRule[]; /** * [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: string; } /** * A collection of values returned by getFirewall. */ export interface GetFirewallResult { /** * Configuration of the Applied Resources */ readonly applyTos?: outputs.GetFirewallApplyTo[]; /** * (int) Unique ID of the Firewall. */ readonly id?: number; /** * (map) User-defined labels (key-value pairs) */ readonly labels?: { [key: string]: string; }; readonly mostRecent?: boolean; /** * (string) Name of the Firewall. */ readonly name: string; /** * (string) Configuration of a Rule from this Firewall. */ readonly rules?: outputs.GetFirewallRule[]; readonly withSelector?: string; } /** * Provides details about a specific Hetzner Cloud Firewall. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const sampleFirewall1 = hcloud.getFirewall({ * name: "sample-firewall-1", * }); * const sampleFirewall2 = hcloud.getFirewall({ * id: 4711, * }); * ``` */ export declare function getFirewallOutput(args?: GetFirewallOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFirewall. */ export interface GetFirewallOutputArgs { /** * Configuration of the Applied Resources */ applyTos?: pulumi.Input[]>; /** * ID of the firewall. */ id?: pulumi.Input; /** * (map) User-defined labels (key-value pairs) */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Return most recent firewall if multiple are found. */ mostRecent?: pulumi.Input; /** * Name of the firewall. */ name?: pulumi.Input; /** * (string) Configuration of a Rule from this Firewall. */ rules?: pulumi.Input[]>; /** * [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: pulumi.Input; }