你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithStandardAttach<ParentT>.WithCompressionEnabled(Boolean) 方法

定义

设置压缩状态。

public Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.UpdateDefinition.IWithStandardAttach<ParentT> WithCompressionEnabled (bool compressionEnabled);
abstract member WithCompressionEnabled : bool -> Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.UpdateDefinition.IWithStandardAttach<'ParentT>
Public Function WithCompressionEnabled (compressionEnabled As Boolean) As IWithStandardAttach(Of ParentT)

参数

compressionEnabled
Boolean

如果为 true,则启用压缩,否则将禁用压缩。

返回

适用于