PSNetworkSecurityGroupRule Constructors
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.
Overloads
PSNetworkSecurityGroupRule(Int32, NetworkSecurityGroupRuleAccess, String) | |
PSNetworkSecurityGroupRule(Int32, NetworkSecurityGroupRuleAccess, String, IReadOnlyList<String>) |
PSNetworkSecurityGroupRule(Int32, NetworkSecurityGroupRuleAccess, String)
public PSNetworkSecurityGroupRule (int priority, Microsoft.Azure.Batch.Common.NetworkSecurityGroupRuleAccess access, string sourceAddressPrefix);
new Microsoft.Azure.Commands.Batch.Models.PSNetworkSecurityGroupRule : int * Microsoft.Azure.Batch.Common.NetworkSecurityGroupRuleAccess * string -> Microsoft.Azure.Commands.Batch.Models.PSNetworkSecurityGroupRule
Public Sub New (priority As Integer, access As NetworkSecurityGroupRuleAccess, sourceAddressPrefix As String)
Parameters
- priority
- Int32
- sourceAddressPrefix
- String
Applies to
PSNetworkSecurityGroupRule(Int32, NetworkSecurityGroupRuleAccess, String, IReadOnlyList<String>)
public PSNetworkSecurityGroupRule (int priority, Microsoft.Azure.Batch.Common.NetworkSecurityGroupRuleAccess access, string sourceAddressPrefix, System.Collections.Generic.IReadOnlyList<string> sourcePortRanges = default);
new Microsoft.Azure.Commands.Batch.Models.PSNetworkSecurityGroupRule : int * Microsoft.Azure.Batch.Common.NetworkSecurityGroupRuleAccess * string * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.Azure.Commands.Batch.Models.PSNetworkSecurityGroupRule
Public Sub New (priority As Integer, access As NetworkSecurityGroupRuleAccess, sourceAddressPrefix As String, Optional sourcePortRanges As IReadOnlyList(Of String) = Nothing)
Parameters
- priority
- Int32
- sourceAddressPrefix
- String
- sourcePortRanges
- IReadOnlyList<String>