NetworkSecurityGroupRule Constructor
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.
Initializes a new instance of the NetworkSecurityGroupRule class.
public NetworkSecurityGroupRule (int priority, Microsoft.Azure.Batch.Common.NetworkSecurityGroupRuleAccess access, string sourceAddressPrefix, System.Collections.Generic.IReadOnlyList<string> sourcePortRanges = default);
new Microsoft.Azure.Batch.NetworkSecurityGroupRule : int * Microsoft.Azure.Batch.Common.NetworkSecurityGroupRuleAccess * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.Azure.Batch.NetworkSecurityGroupRule
Public Sub New (priority As Integer, access As NetworkSecurityGroupRuleAccess, sourceAddressPrefix As String, Optional sourcePortRanges As IReadOnlyList(Of String) = Nothing)
Parameters
- priority
- Int32
The priority for this rule.
The action that should be taken for a specified IP address, subnet range or tag.
- sourceAddressPrefix
- String
The source address prefix or tag to match for the rule.
- sourcePortRanges
- IReadOnlyList<String>
The source port ranges to match for the rule.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET