FrontDoorCacheConfiguration 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.
Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object.
public class FrontDoorCacheConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.FrontDoor.Models.FrontDoorCacheConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.FrontDoor.Models.FrontDoorCacheConfiguration>
public class FrontDoorCacheConfiguration
type FrontDoorCacheConfiguration = class
interface IJsonModel<FrontDoorCacheConfiguration>
interface IPersistableModel<FrontDoorCacheConfiguration>
type FrontDoorCacheConfiguration = class
Public Class FrontDoorCacheConfiguration
Implements IJsonModel(Of FrontDoorCacheConfiguration), IPersistableModel(Of FrontDoorCacheConfiguration)
Public Class FrontDoorCacheConfiguration
- Inheritance
-
FrontDoorCacheConfiguration
- Implements
Constructors
FrontDoorCacheConfiguration() |
Initializes a new instance of FrontDoorCacheConfiguration. |
Properties
CacheDuration |
The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year. |
DynamicCompression |
Whether to use dynamic compression for cached content. |
QueryParameters |
query parameters to include or exclude (comma separated). |
QueryParameterStripDirective |
Treatment of URL query terms when forming the cache key. |
Explicit Interface Implementations
IJsonModel<FrontDoorCacheConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<FrontDoorCacheConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<FrontDoorCacheConfiguration>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<FrontDoorCacheConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<FrontDoorCacheConfiguration>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET