次の方法で共有


NetworkSecurityRule コンストラクター

定義

オーバーロード

NetworkSecurityRule()

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

NetworkSecurityRule(String, String, String, Int32, String, String, IList<String>, IList<String>, IList<String>, IList<String>)

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

NetworkSecurityRule()

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

public NetworkSecurityRule ();
Public Sub New ()

適用対象

NetworkSecurityRule(String, String, String, Int32, String, String, IList<String>, IList<String>, IList<String>, IList<String>)

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

public NetworkSecurityRule (string name, string protocol, string access, int priority, string direction, string description = default, System.Collections.Generic.IList<string> sourceAddressPrefixes = default, System.Collections.Generic.IList<string> destinationAddressPrefixes = default, System.Collections.Generic.IList<string> sourcePortRanges = default, System.Collections.Generic.IList<string> destinationPortRanges = default);
new Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.NetworkSecurityRule : string * string * string * int * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.NetworkSecurityRule
Public Sub New (name As String, protocol As String, access As String, priority As Integer, direction As String, Optional description As String = Nothing, Optional sourceAddressPrefixes As IList(Of String) = Nothing, Optional destinationAddressPrefixes As IList(Of String) = Nothing, Optional sourcePortRanges As IList(Of String) = Nothing, Optional destinationPortRanges As IList(Of String) = Nothing)

パラメーター

name
String

ネットワーク セキュリティ規則の名前。

protocol
String

この規則が適用されるネットワーク プロトコル。 使用できる値は、'http'、'https'、'tcp'、'udp'、'icmp'、'ah'、'esp' です。

access
String

ネットワーク トラフィックは許可または拒否されます。 使用可能な値は次のとおりです: 'allow'、'deny'

priority
Int32

ルールの優先度。 値は、1000 ~ 3000 の範囲にすることができます。 この範囲外の値は、Service Fabric ManagerCluster リソース プロバイダー用に予約されています。 優先度番号は、コレクション内のルールごとに一意である必要があります。 優先度番号が低いほど、規則の優先度が高くなります。

direction
String

ネットワーク セキュリティ規則の方向。 使用できる値は次のとおりです。

description
String

ネットワーク セキュリティ規則の説明。

sourceAddressPrefixes
IList<String>

CIDR またはソース IP 範囲。

destinationAddressPrefixes
IList<String>

宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。

sourcePortRanges
IList<String>

ソース ポートの範囲。

destinationPortRanges
IList<String>

宛先ポート範囲。

適用対象