Data Source: oci_waa_web_app_acceleration_policy
This data source provides details about a specific Web App Acceleration Policy resource in Oracle Cloud Infrastructure Waa service.
Gets a WebAppAccelerationPolicy with the given OCID.
Example Usage
data "oci_waa_web_app_acceleration_policy" "test_web_app_acceleration_policy" {
#Required
web_app_acceleration_policy_id = oci_waa_web_app_acceleration_policy.test_web_app_acceleration_policy.id
}
Argument Reference
The following arguments are supported:
web_app_acceleration_policy_id
- (Required) The OCID of the WebAppAccelerationPolicy.
Attributes Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
display_name
- WebAppAccelerationPolicy display name, can be renamed.freeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
id
- The OCID of the WebAppAccelerationPolicy.lifecycle_details
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.response_caching_policy
- An object that specifies an HTTP response caching policy.is_response_header_based_caching_enabled
- When false, responses will not be cached by the backend based on response headers.When true, responses that contain one of the supported cache control headers will be cached according to the values specified in the cache control headers.
The “X-Accel-Expires” header field sets caching time of a response in seconds. The zero value disables caching for a response. If the value starts with the @ prefix, it sets an absolute time in seconds since Epoch, up to which the response may be cached.
If the header does not include the “X-Accel-Expires” field, parameters of caching may be set in the header fields “Expires” or “Cache-Control”.
If the header includes the “Set-Cookie” field, such a response will not be cached.
If the header includes the “Vary” field with the special value “*”, such a response will not be cached. If the header includes the “Vary” field with another value, such a response will be cached taking into account the corresponding request header fields.
response_compression_policy
- 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.
gzip_compression
- An object that specifies the gzip compression policy.is_enabled
- When true, support for gzip compression is enabled. HTTP responses will be compressed with gzip only if the client indicates support for gzip via the “Accept-Encoding: gzip” request header.When false, support for gzip compression is disabled and HTTP responses will not be compressed with gzip even if the client indicates support for gzip.
state
- The current state of the WebAppAccelerationPolicy.system_tags
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.time_updated
- The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.