import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information about an IP firewall. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myFirewall = ovh.Ip.getFirewall({ * ip: "XXXXXX", * ipOnFirewall: "XXXXXX", * }); * ``` */ export declare function getFirewall(args: GetFirewallArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFirewall. */ export interface GetFirewallArgs { /** * The IP or the CIDR */ ip: string; /** * IPv4 address */ ipOnFirewall: string; } /** * A collection of values returned by getFirewall. */ export interface GetFirewallResult { readonly enabled: boolean; readonly id: string; /** * The IP or the CIDR */ readonly ip: string; /** * IPv4 address * * `enabled ` - Whether firewall is enabled */ readonly ipOnFirewall: string; /** * Current state of your ip on firewall */ readonly state: string; } /** * Use this data source to retrieve information about an IP firewall. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myFirewall = ovh.Ip.getFirewall({ * ip: "XXXXXX", * ipOnFirewall: "XXXXXX", * }); * ``` */ export declare function getFirewallOutput(args: GetFirewallOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFirewall. */ export interface GetFirewallOutputArgs { /** * The IP or the CIDR */ ip: pulumi.Input; /** * IPv4 address */ ipOnFirewall: pulumi.Input; }