import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Http Redirects in Oracle Cloud Infrastructure Web Application Acceleration and Security service. * * Gets a list of HTTP Redirects. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHttpRedirects = oci.waas.getHttpRedirects({ * compartmentId: compartmentId, * displayNames: httpRedirectDisplayNames, * ids: httpRedirectIds, * states: httpRedirectStates, * timeCreatedGreaterThanOrEqualTo: httpRedirectTimeCreatedGreaterThanOrEqualTo, * timeCreatedLessThan: httpRedirectTimeCreatedLessThan, * }); * ``` */ export declare function getHttpRedirects(args: GetHttpRedirectsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHttpRedirects. */ export interface GetHttpRedirectsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This number is generated when the compartment is created. */ compartmentId: string; /** * Filter redirects using a display name. */ displayNames?: string[]; filters?: inputs.Waas.GetHttpRedirectsFilter[]; /** * Filter redirects using a list of redirect OCIDs. */ ids?: string[]; /** * Filter redirects using a list of lifecycle states. */ states?: string[]; /** * A filter that matches redirects created on or after the specified date and time. */ timeCreatedGreaterThanOrEqualTo?: string; /** * A filter that matches redirects created before the specified date-time. Default to 1 day before now. */ timeCreatedLessThan?: string; } /** * A collection of values returned by getHttpRedirects. */ export interface GetHttpRedirectsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HTTP Redirect's compartment. */ readonly compartmentId: string; readonly displayNames?: string[]; readonly filters?: outputs.Waas.GetHttpRedirectsFilter[]; /** * The list of http_redirects. */ readonly httpRedirects: outputs.Waas.GetHttpRedirectsHttpRedirect[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly states?: string[]; readonly timeCreatedGreaterThanOrEqualTo?: string; readonly timeCreatedLessThan?: string; } /** * This data source provides the list of Http Redirects in Oracle Cloud Infrastructure Web Application Acceleration and Security service. * * Gets a list of HTTP Redirects. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHttpRedirects = oci.waas.getHttpRedirects({ * compartmentId: compartmentId, * displayNames: httpRedirectDisplayNames, * ids: httpRedirectIds, * states: httpRedirectStates, * timeCreatedGreaterThanOrEqualTo: httpRedirectTimeCreatedGreaterThanOrEqualTo, * timeCreatedLessThan: httpRedirectTimeCreatedLessThan, * }); * ``` */ export declare function getHttpRedirectsOutput(args: GetHttpRedirectsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHttpRedirects. */ export interface GetHttpRedirectsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This number is generated when the compartment is created. */ compartmentId: pulumi.Input; /** * Filter redirects using a display name. */ displayNames?: pulumi.Input[] | undefined>; filters?: pulumi.Input[] | undefined>; /** * Filter redirects using a list of redirect OCIDs. */ ids?: pulumi.Input[] | undefined>; /** * Filter redirects using a list of lifecycle states. */ states?: pulumi.Input[] | undefined>; /** * A filter that matches redirects created on or after the specified date and time. */ timeCreatedGreaterThanOrEqualTo?: pulumi.Input; /** * A filter that matches redirects created before the specified date-time. Default to 1 day before now. */ timeCreatedLessThan?: pulumi.Input; } //# sourceMappingURL=getHttpRedirects.d.ts.map