import * as pulumi from "@pulumi/pulumi"; /** * Use this resource to retrieve information about an IP permanent mitigation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const mitigationData = ovh.Ip.getMitigation({ * ip: "XXXXXX", * ipOnMitigation: "XXXXXX", * }); * ``` */ export declare function getMitigation(args: GetMitigationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMitigation. */ export interface GetMitigationArgs { /** * The IP or the CIDR */ ip: string; /** * IPv4 address */ ipOnMitigation: string; } /** * A collection of values returned by getMitigation. */ export interface GetMitigationResult { /** * Set on true if the IP is on auto-mitigation */ readonly auto: boolean; readonly id: string; /** * The IP or the CIDR */ readonly ip: string; /** * IPv4 address * * `permanent ` - (Deprecated) Set on true if the IP is on permanent mitigation */ readonly ipOnMitigation: string; /** * @deprecated Attribute 'permanent' is deprecated and has no effect. */ readonly permanent: boolean; /** * Current state of the IP on mitigation */ readonly state: string; } /** * Use this resource to retrieve information about an IP permanent mitigation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const mitigationData = ovh.Ip.getMitigation({ * ip: "XXXXXX", * ipOnMitigation: "XXXXXX", * }); * ``` */ export declare function getMitigationOutput(args: GetMitigationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMitigation. */ export interface GetMitigationOutputArgs { /** * The IP or the CIDR */ ip: pulumi.Input; /** * IPv4 address */ ipOnMitigation: pulumi.Input; }