Share via


NetworkSecurityGroupRule.SourceAddressPrefix Property

Definition

Gets or sets the source address prefix or tag to match for the rule.

[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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.

Applies to