NetworkSecurityGroupRule.SourcePortRanges Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the source port ranges to match for the rule.
[Newtonsoft.Json.JsonProperty(PropertyName="sourcePortRanges")]
public System.Collections.Generic.IList<string> SourcePortRanges { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="sourcePortRanges")>]
member this.SourcePortRanges : System.Collections.Generic.IList<string> with get, set
Public Property SourcePortRanges As IList(Of String)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Remarks
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET