共用方式為


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 流量,則為 True。

傳回

適用於