次の方法で共有


AfdRouteCacheConfiguration Class

Definition

Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.AfdRouteCacheConfigurationTypeConverter))]
public class AfdRouteCacheConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IAfdRouteCacheConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.AfdRouteCacheConfigurationTypeConverter))>]
type AfdRouteCacheConfiguration = class
    interface IAfdRouteCacheConfiguration
    interface IJsonSerializable
Public Class AfdRouteCacheConfiguration
Implements IAfdRouteCacheConfiguration
Inheritance
AfdRouteCacheConfiguration
Attributes
Implements

Constructors

AfdRouteCacheConfiguration()

Creates an new AfdRouteCacheConfiguration instance.

Properties

CompressionSettingContentTypesToCompress

List of content types on which compression applies. The value should be a valid MIME type.

CompressionSettingIsCompressionEnabled

Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB.

QueryParameter

query parameters to include or exclude (comma separated).

QueryStringCachingBehavior

Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AfdRouteCacheConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AfdRouteCacheConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IAfdRouteCacheConfiguration.

FromJsonString(String)

Creates a new instance of AfdRouteCacheConfiguration, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AfdRouteCacheConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to