你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ICompressionSettings Interface
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.
[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) |