Delen via


NetworkSecurityGroupRule Constructors

Definitie

Overloads

NetworkSecurityGroupRule()

Initialiseert een nieuw exemplaar van de klasse NetworkSecurityGroupRule.

NetworkSecurityGroupRule(Int32, NetworkSecurityGroupRuleAccess, String, IList<String>)

Initialiseert een nieuw exemplaar van de klasse NetworkSecurityGroupRule.

NetworkSecurityGroupRule()

Initialiseert een nieuw exemplaar van de klasse NetworkSecurityGroupRule.

public NetworkSecurityGroupRule();
Public Sub New ()

Van toepassing op

NetworkSecurityGroupRule(Int32, NetworkSecurityGroupRuleAccess, String, IList<String>)

Initialiseert een nieuw exemplaar van de klasse NetworkSecurityGroupRule.

public NetworkSecurityGroupRule(int priority, Microsoft.Azure.Management.Batch.Models.NetworkSecurityGroupRuleAccess access, string sourceAddressPrefix, System.Collections.Generic.IList<string> sourcePortRanges = default);
new Microsoft.Azure.Management.Batch.Models.NetworkSecurityGroupRule : int * Microsoft.Azure.Management.Batch.Models.NetworkSecurityGroupRuleAccess * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Batch.Models.NetworkSecurityGroupRule
Public Sub New (priority As Integer, access As NetworkSecurityGroupRuleAccess, sourceAddressPrefix As String, Optional sourcePortRanges As IList(Of String) = Nothing)

Parameters

priority
Int32

De prioriteit voor deze regel.

access
NetworkSecurityGroupRuleAccess

De actie die moet worden uitgevoerd voor een opgegeven IP-adres, subnetbereik of tag.

sourceAddressPrefix
String

Het bronadresvoorvoegsel of de tag die overeenkomt met de regel.

sourcePortRanges
IList<String>

De bronpoortbereiken die overeenkomen met de regel.

Van toepassing op