import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Http Redirect resource in Oracle Cloud Infrastructure Web Application Acceleration and Security service. * * Gets the details of a HTTP Redirect. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHttpRedirect = oci.waas.getHttpRedirect({ * httpRedirectId: testHttpRedirectOciWaasHttpRedirect.id, * }); * ``` */ export declare function getHttpRedirect(args: GetHttpRedirectArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHttpRedirect. */ export interface GetHttpRedirectArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ httpRedirectId: string; } /** * A collection of values returned by getHttpRedirect. */ export interface GetHttpRedirectResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HTTP Redirect's compartment. */ readonly compartmentId: string; /** * 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: { [key: string]: string; }; /** * The user-friendly name of the HTTP Redirect. The name can be changed and does not need to be unique. */ readonly displayName: string; /** * The domain from which traffic will be redirected. */ readonly domain: string; /** * 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: { [key: string]: string; }; readonly httpRedirectId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ readonly id: string; /** * 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: number; /** * The current lifecycle state of the HTTP Redirect. */ readonly state: string; /** * The redirect target object including all the redirect data. */ readonly targets: outputs.Waas.GetHttpRedirectTarget[]; /** * The date and time the policy was created, expressed in RFC 3339 timestamp format. */ readonly timeCreated: string; } /** * This data source provides details about a specific Http Redirect resource in Oracle Cloud Infrastructure Web Application Acceleration and Security service. * * Gets the details of a HTTP Redirect. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHttpRedirect = oci.waas.getHttpRedirect({ * httpRedirectId: testHttpRedirectOciWaasHttpRedirect.id, * }); * ``` */ export declare function getHttpRedirectOutput(args: GetHttpRedirectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHttpRedirect. */ export interface GetHttpRedirectOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ httpRedirectId: pulumi.Input; } //# sourceMappingURL=getHttpRedirect.d.ts.map