CacheExpirationActionParameters Class

Defines the parameters for the cache expiration action.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.cdn._serialization.Model
CacheExpirationActionParameters

Constructor

CacheExpirationActionParameters(*, type_name: str | _models.CacheExpirationActionParametersTypeName, cache_behavior: str | _models.CacheBehavior, cache_type: str | _models.CacheType, cache_duration: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
type_name

Required. "DeliveryRuleCacheExpirationActionParameters"

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.

Variables

Name Description
type_name

Required. "DeliveryRuleCacheExpirationActionParameters"

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.