次の方法で共有


EffectiveNetworkSecurityRule コンストラクター

定義

オーバーロード

EffectiveNetworkSecurityRule()

EffectiveNetworkSecurityRule クラスの新しいインスタンスを初期化します。

EffectiveNetworkSecurityRule(String, String, String, String, IList<String>, IList<String>, String, String, IList<String>, IList<String>, IList<String>, IList<String>, String, Nullable<Int32>, String)

EffectiveNetworkSecurityRule クラスの新しいインスタンスを初期化します。

EffectiveNetworkSecurityRule()

EffectiveNetworkSecurityRule クラスの新しいインスタンスを初期化します。

public EffectiveNetworkSecurityRule ();
Public Sub New ()

適用対象

EffectiveNetworkSecurityRule(String, String, String, String, IList<String>, IList<String>, String, String, IList<String>, IList<String>, IList<String>, IList<String>, String, Nullable<Int32>, String)

EffectiveNetworkSecurityRule クラスの新しいインスタンスを初期化します。

public EffectiveNetworkSecurityRule (string name = default, string protocol = default, string sourcePortRange = default, string destinationPortRange = default, System.Collections.Generic.IList<string> sourcePortRanges = default, System.Collections.Generic.IList<string> destinationPortRanges = default, string sourceAddressPrefix = default, string destinationAddressPrefix = default, System.Collections.Generic.IList<string> sourceAddressPrefixes = default, System.Collections.Generic.IList<string> destinationAddressPrefixes = default, System.Collections.Generic.IList<string> expandedSourceAddressPrefix = default, System.Collections.Generic.IList<string> expandedDestinationAddressPrefix = default, string access = default, int? priority = default, string direction = default);
new Microsoft.Azure.Management.Network.Models.EffectiveNetworkSecurityRule : string * string * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string * Nullable<int> * string -> Microsoft.Azure.Management.Network.Models.EffectiveNetworkSecurityRule
Public Sub New (Optional name As String = Nothing, Optional protocol As String = Nothing, Optional sourcePortRange As String = Nothing, Optional destinationPortRange As String = Nothing, Optional sourcePortRanges As IList(Of String) = Nothing, Optional destinationPortRanges As IList(Of String) = Nothing, Optional sourceAddressPrefix As String = Nothing, Optional destinationAddressPrefix As String = Nothing, Optional sourceAddressPrefixes As IList(Of String) = Nothing, Optional destinationAddressPrefixes As IList(Of String) = Nothing, Optional expandedSourceAddressPrefix As IList(Of String) = Nothing, Optional expandedDestinationAddressPrefix As IList(Of String) = Nothing, Optional access As String = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional direction As String = Nothing)

パラメーター

name
String

ユーザーによって指定されたセキュリティ規則の名前 (ユーザーが作成した場合)。

protocol
String

この規則が適用されるネットワーク プロトコル。 使用できる値は、'Tcp'、'Udp'、'All' です。

sourcePortRange
String

ソース ポートまたは範囲。

destinationPortRange
String

宛先ポートまたは範囲。

sourcePortRanges
IList<String>

ソース ポートの範囲。 予期される値には、0 ~ 65535 の 1 つの整数、区切り記号として '-' を使用する範囲 (100 から 400 など)、またはアスタリスク (*) が含まれます。

destinationPortRanges
IList<String>

宛先ポート範囲。 予期される値には、0 ~ 65535 の 1 つの整数、区切り記号として '-' を使用する範囲 (100 から 400 など)、またはアスタリスク (*) が含まれます。

sourceAddressPrefix
String

送信元アドレス プレフィックス。

destinationAddressPrefix
String

宛先アドレス プレフィックス。

sourceAddressPrefixes
IList<String>

ソース アドレス プレフィックス。 必要な値には、CIDR IP 範囲、既定のタグ (VirtualNetwork、AzureLoadBalancer、インターネット)、システム タグ、アスタリスク (*) が含まれます。

destinationAddressPrefixes
IList<String>

宛先アドレス プレフィックス。 必要な値には、CIDR IP 範囲、既定のタグ (VirtualNetwork、AzureLoadBalancer、インターネット)、システム タグ、アスタリスク (*) が含まれます。

expandedSourceAddressPrefix
IList<String>

展開されたソース アドレス プレフィックス。

expandedDestinationAddressPrefix
IList<String>

展開された宛先アドレス プレフィックス。

access
String

ネットワーク トラフィックが許可されるか拒否されるか。 使用可能な値は次のとおりです: 'Allow'、'Deny'

priority
Nullable<Int32>

ルールの優先度。

direction
String

ルールの方向。 使用できる値は、'Inbound'、'Outbound' です。

適用対象