次の方法で共有


NetworkSecurityGroup コンストラクター

定義

オーバーロード

NetworkSecurityGroup()

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

NetworkSecurityGroup(String, String, String, String, IDictionary<String, String>, Nullable<Boolean>, IList<SecurityRule>, IList<SecurityRule>, IList<NetworkInterface>, IList<Subnet>, IList<FlowLog>, String, String, String)

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

NetworkSecurityGroup()

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

public NetworkSecurityGroup ();
Public Sub New ()

適用対象

NetworkSecurityGroup(String, String, String, String, IDictionary<String, String>, Nullable<Boolean>, IList<SecurityRule>, IList<SecurityRule>, IList<NetworkInterface>, IList<Subnet>, IList<FlowLog>, String, String, String)

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

public NetworkSecurityGroup (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, bool? flushConnection = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SecurityRule> securityRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SecurityRule> defaultSecurityRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkInterface> networkInterfaces = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Subnet> subnets = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.FlowLog> flowLogs = default, string resourceGuid = default, string provisioningState = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.NetworkSecurityGroup : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SecurityRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SecurityRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkInterface> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Subnet> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.FlowLog> * string * string * string -> Microsoft.Azure.Management.Network.Models.NetworkSecurityGroup
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional flushConnection As Nullable(Of Boolean) = Nothing, Optional securityRules As IList(Of SecurityRule) = Nothing, Optional defaultSecurityRules As IList(Of SecurityRule) = Nothing, Optional networkInterfaces As IList(Of NetworkInterface) = Nothing, Optional subnets As IList(Of Subnet) = Nothing, Optional flowLogs As IList(Of FlowLog) = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As String = Nothing, Optional etag As String = Nothing)

パラメーター

id
String

リソースの ID

name
String

リソース名。

type
String

リソースの種類。

location
String

リソースの場所。

tags
IDictionary<String,String>

リソース タグ。

flushConnection
Nullable<Boolean>

有効にすると、ルールが更新されると、ネットワーク セキュリティ グループ接続から作成されたフローが再評価されます。 初期有効化によって再評価がトリガーされます。

securityRules
IList<SecurityRule>

ネットワーク セキュリティ グループのセキュリティ規則のコレクション。

defaultSecurityRules
IList<SecurityRule>

ネットワーク セキュリティ グループの既定のセキュリティ規則。

networkInterfaces
IList<NetworkInterface>

ネットワーク インターフェイスへの参照のコレクション。

subnets
IList<Subnet>

サブネットへの参照のコレクション。

flowLogs
IList<FlowLog>

フロー ログ リソースへの参照のコレクション。

resourceGuid
String

ネットワーク セキュリティ グループ リソースのリソース GUID プロパティ。

provisioningState
String

ネットワーク セキュリティ グループ リソースのプロビジョニング状態。 指定できる値は、'Succeeded'、'Updating'、'Deleting'、'Failed' です。

etag
String

リソースが更新されるたびに変更される一意の読み取り専用文字列。

適用対象