import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Http Redirect resource in Oracle Cloud Infrastructure Web Application Acceleration and Security service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/waas/latest/HttpRedirect
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/web_application_acceleration_and_security
 *
 * Creates a new HTTP Redirect on the WAF edge.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testHttpRedirect = new oci.waas.HttpRedirect("test_http_redirect", {
 *     compartmentId: compartmentId,
 *     domain: httpRedirectDomain,
 *     target: {
 *         host: httpRedirectTargetHost,
 *         path: httpRedirectTargetPath,
 *         protocol: httpRedirectTargetProtocol,
 *         query: httpRedirectTargetQuery,
 *         port: Number(httpRedirectTargetPort),
 *     },
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     displayName: httpRedirectDisplayName,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 *     responseCode: Number(httpRedirectResponseCode),
 * });
 * ```
 *
 * ## Import
 *
 * HttpRedirects can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Waas/httpRedirect:HttpRedirect test_http_redirect "id"
 * ```
 */
export declare class HttpRedirect extends pulumi.CustomResource {
    /**
     * Get an existing HttpRedirect 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<pulumi.ID>, state?: HttpRedirectState, opts?: pulumi.CustomResourceOptions): HttpRedirect;
    /**
     * Returns true if the given object is an instance of HttpRedirect.  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 HttpRedirect;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HTTP Redirects compartment.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) The user-friendly name of the HTTP Redirect. The name can be changed and does not need to be unique.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * The domain from which traffic will be redirected.
     */
    readonly domain: pulumi.Output<string>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) The response code returned for the redirect to the client. For more information, see [RFC 7231](https://tools.ietf.org/html/rfc7231#section-6.4).
     */
    readonly responseCode: pulumi.Output<number>;
    /**
     * The current lifecycle state of the HTTP Redirect.
     */
    readonly state: pulumi.Output<string>;
    /**
     * (Updatable) The redirect target object including all the redirect data.
     */
    readonly target: pulumi.Output<outputs.Waas.HttpRedirectTarget>;
    /**
     * The date and time the policy was created, expressed in RFC 3339 timestamp format.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * Create a HttpRedirect 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: HttpRedirectArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering HttpRedirect resources.
 */
export interface HttpRedirectState {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HTTP Redirects compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The user-friendly name of the HTTP Redirect. The name can be changed and does not need to be unique.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * The domain from which traffic will be redirected.
     */
    domain?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The response code returned for the redirect to the client. For more information, see [RFC 7231](https://tools.ietf.org/html/rfc7231#section-6.4).
     */
    responseCode?: pulumi.Input<number | undefined>;
    /**
     * The current lifecycle state of the HTTP Redirect.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The redirect target object including all the redirect data.
     */
    target?: pulumi.Input<inputs.Waas.HttpRedirectTarget | undefined>;
    /**
     * The date and time the policy was created, expressed in RFC 3339 timestamp format.
     */
    timeCreated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a HttpRedirect resource.
 */
export interface HttpRedirectArgs {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HTTP Redirects compartment.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The user-friendly name of the HTTP Redirect. The name can be changed and does not need to be unique.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * The domain from which traffic will be redirected.
     */
    domain: pulumi.Input<string>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) The response code returned for the redirect to the client. For more information, see [RFC 7231](https://tools.ietf.org/html/rfc7231#section-6.4).
     */
    responseCode?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The redirect target object including all the redirect data.
     */
    target: pulumi.Input<inputs.Waas.HttpRedirectTarget>;
}
//# sourceMappingURL=httpRedirect.d.ts.map