Share via


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

IWithSiteConfigs<FluentT>.WithHttpsOnly(Boolean) 方法

定义

设置 Web 应用是否仅接受 HTTPS 流量。

public Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithCreate<FluentT> WithHttpsOnly (bool httpsOnly);
abstract member WithHttpsOnly : bool -> Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithCreate<'FluentT>
Public Function WithHttpsOnly (httpsOnly As Boolean) As IWithCreate(Of FluentT)

参数

httpsOnly
Boolean

如此 如果 Web 应用只接受 HTTPS 流量。

返回

适用于