» oci_waas_purge_cache

This resource provides the Purge Cache resource in Oracle Cloud Infrastructure Waas service.

Accepts a list of resources that will get its cache purged. If resources property is not passed, then the entire cache for Web Application will be purged.

» Example Usage

resource "oci_waas_purge_cache" "test_purge_cache" {
    waas_policy_id = "${oci_waas_waas_policy.test_waas_policy.id}"

    resources = "${var.purge_cache_resources}"

» Argument Reference

The following arguments are supported:

  • resources - (Optional) A resource to purge, identified by either a hostless absolute path starting with a single slash (e.g., "/path/to/resource") or by a relative path in which the first component will be interpreted as a domain protected by this policy (e.g., "example.com/path/to/resource").
  • waas_policy_id - (Required) The OCID of the WAAS policy.

** 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

» Attributes Reference

» Import

Import is not supported for this resource.