import * as pulumi from "@pulumi/pulumi"; /** * Provides a OVHcloud domain zone redirection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * // Add a redirection to a sub-domain * const test = new ovh.domain.ZoneRedirection("test", { * zone: "testdemo.ovh", * subdomain: "test", * type: "visiblePermanent", * target: "http://www.ovh", * }); * ``` */ export declare class ZoneRedirection extends pulumi.CustomResource { /** * Get an existing ZoneRedirection 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?: ZoneRedirectionState, opts?: pulumi.CustomResourceOptions): ZoneRedirection; /** * Returns true if the given object is an instance of ZoneRedirection. 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 ZoneRedirection; /** * A description of this redirection */ readonly description: pulumi.Output; /** * Keywords to describe this redirection */ readonly keywords: pulumi.Output; /** * The name of the redirection */ readonly subdomain: pulumi.Output; /** * The value of the redirection */ readonly target: pulumi.Output; /** * Title of this redirection */ readonly title: pulumi.Output; /** * The type of the redirection, with values: */ readonly type: pulumi.Output; /** * The domain to add the redirection to */ readonly zone: pulumi.Output; /** * Create a ZoneRedirection 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: ZoneRedirectionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ZoneRedirection resources. */ export interface ZoneRedirectionState { /** * A description of this redirection */ description?: pulumi.Input; /** * Keywords to describe this redirection */ keywords?: pulumi.Input; /** * The name of the redirection */ subdomain?: pulumi.Input; /** * The value of the redirection */ target?: pulumi.Input; /** * Title of this redirection */ title?: pulumi.Input; /** * The type of the redirection, with values: */ type?: pulumi.Input; /** * The domain to add the redirection to */ zone?: pulumi.Input; } /** * The set of arguments for constructing a ZoneRedirection resource. */ export interface ZoneRedirectionArgs { /** * A description of this redirection */ description?: pulumi.Input; /** * Keywords to describe this redirection */ keywords?: pulumi.Input; /** * The name of the redirection */ subdomain?: pulumi.Input; /** * The value of the redirection */ target: pulumi.Input; /** * Title of this redirection */ title?: pulumi.Input; /** * The type of the redirection, with values: */ type: pulumi.Input; /** * The domain to add the redirection to */ zone: pulumi.Input; }