共用方式為


IWithSiteConfigs<FluentT>.WithHttpsOnly(Boolean) 方法

定義

設定 Web 應用程式是否只接受 HTTPS 流量。

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

參數

httpsOnly
Boolean

如果 Web 應用程式只接受 HTTPS 流量,則為 True。

傳回

適用於