CacheExpirationActionProperties Class
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 class CacheExpirationActionProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.CacheExpirationActionProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.CacheExpirationActionProperties>
public class CacheExpirationActionProperties
type CacheExpirationActionProperties = class
interface IJsonModel<CacheExpirationActionProperties>
interface IPersistableModel<CacheExpirationActionProperties>
type CacheExpirationActionProperties = class
Public Class CacheExpirationActionProperties
Implements IJsonModel(Of CacheExpirationActionProperties), IPersistableModel(Of CacheExpirationActionProperties)
Public Class CacheExpirationActionProperties
- Inheritance
-
CacheExpirationActionProperties
- Implements
Constructors
CacheExpirationActionProperties(CacheExpirationActionType, CacheBehaviorSetting, CdnCacheLevel) |
Initializes a new instance of CacheExpirationActionProperties. |
Properties
ActionType |
Gets or sets the action type. |
CacheBehavior |
Caching behavior for the requests. |
CacheDuration |
The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss. |
CacheType |
The level at which the content needs to be cached. |
Explicit Interface Implementations
IJsonModel<CacheExpirationActionProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CacheExpirationActionProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CacheExpirationActionProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CacheExpirationActionProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CacheExpirationActionProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |