import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Web App Acceleration Policy resource in Oracle Cloud Infrastructure Waa service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/waa/latest/WebAppAccelerationPolicy * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/web_app_acceleration * * Creates a new WebAppAccelerationPolicy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWebAppAccelerationPolicy = new oci.waa.AppAccelerationPolicy("test_web_app_acceleration_policy", { * compartmentId: compartmentId, * definedTags: { * "foo-namespace.bar-key": "value", * }, * displayName: webAppAccelerationPolicyDisplayName, * freeformTags: { * "bar-key": "value", * }, * responseCachingPolicy: { * isResponseHeaderBasedCachingEnabled: webAppAccelerationPolicyResponseCachingPolicyIsResponseHeaderBasedCachingEnabled === "true", * }, * responseCompressionPolicy: { * gzipCompression: { * isEnabled: webAppAccelerationPolicyResponseCompressionPolicyGzipCompressionIsEnabled === "true", * }, * }, * systemTags: webAppAccelerationPolicySystemTags, * }); * ``` * * ## Import * * WebAppAccelerationPolicies can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Waa/appAccelerationPolicy:AppAccelerationPolicy test_web_app_acceleration_policy "id" * ``` */ export declare class AppAccelerationPolicy extends pulumi.CustomResource { /** * Get an existing AppAccelerationPolicy 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?: AppAccelerationPolicyState, opts?: pulumi.CustomResourceOptions): AppAccelerationPolicy; /** * Returns true if the given object is an instance of AppAccelerationPolicy. 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 AppAccelerationPolicy; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) WebAppAccelerationPolicy display name, can be renamed. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) An object that specifies an HTTP response caching policy. */ readonly responseCachingPolicy: pulumi.Output; /** * (Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client. * * This compression policy can be used to enable support for HTTP response compression algorithms like gzip and configure the conditions of when a compression algorithm will be used. * * HTTP responses will only be compressed if the client indicates support for one of the enabled compression algorithms via the "Accept-Encoding" request header. */ readonly responseCompressionPolicy: pulumi.Output; /** * The current state of the WebAppAccelerationPolicy. */ readonly state: pulumi.Output; /** * (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a AppAccelerationPolicy 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: AppAccelerationPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AppAccelerationPolicy resources. */ export interface AppAccelerationPolicyState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) WebAppAccelerationPolicy display name, can be renamed. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) An object that specifies an HTTP response caching policy. */ responseCachingPolicy?: pulumi.Input; /** * (Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client. * * This compression policy can be used to enable support for HTTP response compression algorithms like gzip and configure the conditions of when a compression algorithm will be used. * * HTTP responses will only be compressed if the client indicates support for one of the enabled compression algorithms via the "Accept-Encoding" request header. */ responseCompressionPolicy?: pulumi.Input; /** * The current state of the WebAppAccelerationPolicy. */ state?: pulumi.Input; /** * (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a AppAccelerationPolicy resource. */ export interface AppAccelerationPolicyArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) WebAppAccelerationPolicy display name, can be renamed. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) An object that specifies an HTTP response caching policy. */ responseCachingPolicy?: pulumi.Input; /** * (Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client. * * This compression policy can be used to enable support for HTTP response compression algorithms like gzip and configure the conditions of when a compression algorithm will be used. * * HTTP responses will only be compressed if the client indicates support for one of the enabled compression algorithms via the "Accept-Encoding" request header. */ responseCompressionPolicy?: pulumi.Input; /** * (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=appAccelerationPolicy.d.ts.map