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

NetworkSecurityGroupRule.SourceAddressPrefix 属性

定义

获取或设置要与规则匹配的源地址前缀或标记。

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

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

注解

有效值为单个 IP 地址 (即 10.10.10.10) 、IP 子网 (即 192.168.1.0/24) 、默认标记或 * () 。 如果提供了任何其他值,则请求失败,并显示 HTTP 状态代码 400。

适用于