import * as pulumi from "@pulumi/pulumi"; /** * Use this resource to manage an IP permanent mitigation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const mitigation = new ovh.ip.Mitigation("mitigation", { * ip: "XXXXXX", * ipOnMitigation: "XXXXXX", * }); * ``` */ export declare class Mitigation extends pulumi.CustomResource { /** * Get an existing Mitigation 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?: MitigationState, opts?: pulumi.CustomResourceOptions): Mitigation; /** * Returns true if the given object is an instance of Mitigation. 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 Mitigation; /** * Set on true if the IP is on auto-mitigation */ readonly auto: pulumi.Output; /** * The IP or the CIDR */ readonly ip: pulumi.Output; /** * IPv4 address * * `permanent ` - Deprecated, has no effect */ readonly ipOnMitigation: pulumi.Output; /** * Set on true if your ip is on permanent mitigation * * @deprecated Attribute 'permanent' is deprecated and has no effect. */ readonly permanent: pulumi.Output; /** * Current state of the IP on mitigation */ readonly state: pulumi.Output; /** * Create a Mitigation 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: MitigationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Mitigation resources. */ export interface MitigationState { /** * Set on true if the IP is on auto-mitigation */ auto?: pulumi.Input; /** * The IP or the CIDR */ ip?: pulumi.Input; /** * IPv4 address * * `permanent ` - Deprecated, has no effect */ ipOnMitigation?: pulumi.Input; /** * Set on true if your ip is on permanent mitigation * * @deprecated Attribute 'permanent' is deprecated and has no effect. */ permanent?: pulumi.Input; /** * Current state of the IP on mitigation */ state?: pulumi.Input; } /** * The set of arguments for constructing a Mitigation resource. */ export interface MitigationArgs { /** * The IP or the CIDR */ ip: pulumi.Input; /** * IPv4 address * * `permanent ` - Deprecated, has no effect */ ipOnMitigation: pulumi.Input; /** * Set on true if your ip is on permanent mitigation * * @deprecated Attribute 'permanent' is deprecated and has no effect. */ permanent?: pulumi.Input; }