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.ModelCacheExpirationActionParameters
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
|
str or
CacheBehavior
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
|
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
|
str or
CacheBehavior
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
|
The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss. |
Azure SDK for Python