CacheExpirationActionParameters Class

Defines the parameters for the cache expiration action.

Constructor

CacheExpirationActionParameters(*args: Any, **kwargs: Any)

Variables

Name Description
cache_behavior

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

cache_type

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
str or <xref:azure.mgmt.cdn.models.DELIVERY_RULE_CACHE_EXPIRATION_ACTION_PARAMETERS>

Required. DELIVERY_RULE_CACHE_EXPIRATION_ACTION_PARAMETERS.

Attributes

cache_behavior

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

cache_behavior: str | _models.CacheBehavior

cache_duration

ss.

cache_duration: str | None

cache_type

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

cache_type: str | _models.CacheType

type_name

Required. DELIVERY_RULE_CACHE_EXPIRATION_ACTION_PARAMETERS.

type_name: DELIVERY_RULE_CACHE_EXPIRATION_ACTION_PARAMETERS: 'DeliveryRuleCacheExpirationActionParameters'>]