Freigeben über


NetworkSecurityGroup Konstruktoren

Definition

Überlädt

NetworkSecurityGroup()

Initialisiert eine neue instance der NetworkSecurityGroup-Klasse.

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

Initialisiert eine neue instance der NetworkSecurityGroup-Klasse.

NetworkSecurityGroup()

Initialisiert eine neue instance der NetworkSecurityGroup-Klasse.

public NetworkSecurityGroup();
Public Sub New ()

Gilt für:

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

Initialisiert eine neue instance der NetworkSecurityGroup-Klasse.

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)

Parameter

id
String

Ressourcen-ID

name
String

Name der Ressource.

type
String

Der Ressourcentyp.

location
String

Ressourcenspeicherort

tags
IDictionary<String,String>

Ressourcentags.

flushConnection
Nullable<Boolean>

Wenn dies aktiviert ist, werden Flows, die aus Verbindungen der Netzwerksicherheitsgruppe erstellt wurden, neu ausgewertet, wenn Regeln aktualisiert werden. Die anfängliche Aktivierung löst eine erneute Auswertung aus.

securityRules
IList<SecurityRule>

Eine Sammlung von Sicherheitsregeln der Netzwerksicherheitsgruppe.

defaultSecurityRules
IList<SecurityRule>

Die Standardsicherheitsregeln der Netzwerksicherheitsgruppe.

networkInterfaces
IList<NetworkInterface>

Eine Sammlung von Verweisen auf Netzwerkschnittstellen.

subnets
IList<Subnet>

Eine Auflistung von Verweisen auf Subnetze.

flowLogs
IList<FlowLog>

Eine Auflistung von Verweisen auf Flussprotokollressourcen.

resourceGuid
String

Die Ressourcen-GUID-Eigenschaft der Netzwerksicherheitsgruppenressource.

provisioningState
String

Der Bereitstellungsstatus der Netzwerksicherheitsgruppenressource. Mögliche Werte: "Erfolgreich", "Aktualisieren", "Löschen", "Fehler"

etag
String

Eine eindeutige schreibgeschützte Zeichenfolge, die sich ändert, wenn die Ressource aktualisiert wird.

Gilt für: