CacheExpirationActionParameters Class

Defines the parameters for the cache expiration action.

Variables are only populated by the server, and will be ignored when sending a request.

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

Inheritance
CacheExpirationActionParameters

Constructor

CacheExpirationActionParameters(*, cache_behavior: Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.CacheBehavior], cache_type: Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.CacheType], cache_duration: Optional[str] = None, **kwargs)

Variables

type_name
str

Has constant value: "DeliveryRuleCacheExpirationActionParameters".

cache_behavior
str or CacheBehavior

Required. Caching behavior for the requests. Possible values include: "BypassCache", "Override", "SetIfMissing".

cache_type
str or CacheType

Required. The level at which the content needs to be cached. Possible values include: "All".

cache_duration
str

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

Attributes

type_name

type_name = 'DeliveryRuleCacheExpirationActionParameters'