Compartilhar via


ICompressionSettings Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.CompressionSettingsTypeConverter))]
public interface ICompressionSettings : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.CompressionSettingsTypeConverter))>]
type ICompressionSettings = interface
    interface IJsonSerializable
Public Interface ICompressionSettings
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

ContentTypesToCompress

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

IsCompressionEnabled

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.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to