CompressionSettings Constructors
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.
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
List of content types on which compression applies. The value should be a valid MIME type.
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
Azure SDK for .NET