CacheExpirationActionParameters Class

Defines the parameters for the cache expiration action.

Constructor

CacheExpirationActionParameters()

Variables

Name Description
cache_behavior
Union[str, <xref:"CacheBehavior">]

Caching behavior for the requests. Required. Known values are: "BypassCache", "Override", and "SetIfMissing".

cache_type
Union[str, <xref:"CacheType">]

The level at which the content needs to be cached. Required. "All"

cache_duration
str

The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss.

type_name
Literal[DeliveryRuleActionParametersType.DELIVERY_RULE_CACHE_EXPIRATION_ACTION_PARAMETERS]

Required. DELIVERY_RULE_CACHE_EXPIRATION_ACTION_PARAMETERS.

Attributes

cacheBehavior

"BypassCache", "Override", and "SetIfMissing".

cacheBehavior: Required[str | CacheBehavior]

cacheDuration

ss.

cacheDuration: str | None

cacheType

The level at which the content needs to be cached. Required. "All"

cacheType: Required[str | CacheType]

typeName

Required. DELIVERY_RULE_CACHE_EXPIRATION_ACTION_PARAMETERS.

typeName: DELIVERY_RULE_CACHE_EXPIRATION_ACTION_PARAMETERS: 'DeliveryRuleCacheExpirationActionParameters'>]]