class oci.waas.models.PurgeCache(**kwargs)

Bases: object

The list of cached resources to purge. If a resource is not specified, the purge targets all rules in a policy.


Initializes a new PurgeCache object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:resources (list[str]) -- The value to assign to the resources property of this PurgeCache.

Gets the resources of this PurgeCache. A resource to purge, specified by either a hostless absolute path starting with a single slash (Example: /path/to/resource) or by a relative path in which the first component will be interpreted as a domain protected by the WAAS policy (Example: example.com/path/to/resource).

Returns:The resources of this PurgeCache.
Return type:list[str]