ArmCdnModelFactory.CacheExpirationActionProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the parameters for the cache expiration action.
public static Azure.ResourceManager.Cdn.Models.CacheExpirationActionProperties CacheExpirationActionProperties(Azure.ResourceManager.Cdn.Models.CacheBehaviorSetting cacheBehavior = default, Azure.ResourceManager.Cdn.Models.CdnCacheLevel cacheType = default, TimeSpan? cacheDuration = default);
static member CacheExpirationActionProperties : Azure.ResourceManager.Cdn.Models.CacheBehaviorSetting * Azure.ResourceManager.Cdn.Models.CdnCacheLevel * Nullable<TimeSpan> -> Azure.ResourceManager.Cdn.Models.CacheExpirationActionProperties
Public Shared Function CacheExpirationActionProperties (Optional cacheBehavior As CacheBehaviorSetting = Nothing, Optional cacheType As CdnCacheLevel = Nothing, Optional cacheDuration As Nullable(Of TimeSpan) = Nothing) As CacheExpirationActionProperties
Parameters
- cacheBehavior
- CacheBehaviorSetting
Caching behavior for the requests.
- cacheType
- CdnCacheLevel
The level at which the content needs to be cached.
The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss.
Returns
A new CacheExpirationActionProperties instance for mocking.