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

Route.HttpsRedirect 属性

定义

获取或设置是否自动将 HTTP 流量重定向到 HTTPS 流量。 请注意,这是设置此规则的简单方法,这将是执行的第一个规则。 可能的值包括:“Enabled”、“Disabled”

[Newtonsoft.Json.JsonProperty(PropertyName="properties.httpsRedirect")]
public string HttpsRedirect { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.httpsRedirect")>]
member this.HttpsRedirect : string with get, set
Public Property HttpsRedirect As String

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于