Condividi tramite


CompressionSettings Constructors

Definition

Overloads

CompressionSettings()

Initializes a new instance of the CompressionSettings class.

CompressionSettings(IList<String>, Nullable<Boolean>)

Initializes a new instance of the CompressionSettings class.

CompressionSettings()

Initializes a new instance of the CompressionSettings class.

public CompressionSettings ();
Public Sub New ()

Applies to

CompressionSettings(IList<String>, Nullable<Boolean>)

Initializes a new instance of the CompressionSettings class.

public CompressionSettings (System.Collections.Generic.IList<string> contentTypesToCompress = default, bool? isCompressionEnabled = default);
new Microsoft.Azure.Management.Cdn.Models.CompressionSettings : System.Collections.Generic.IList<string> * Nullable<bool> -> Microsoft.Azure.Management.Cdn.Models.CompressionSettings
Public Sub New (Optional contentTypesToCompress As IList(Of String) = Nothing, Optional isCompressionEnabled As Nullable(Of Boolean) = Nothing)

Parameters

contentTypesToCompress
IList<String>

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

isCompressionEnabled
Nullable<Boolean>

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.

Applies to