Freigeben über


NetworkRuleSet Konstruktoren

Definition

Überlädt

NetworkRuleSet()

Initialisiert eine neue instance der NetworkRuleSet-Klasse.

NetworkRuleSet(String, String, String, String, Nullable<Boolean>, String, IList<NWRuleSetVirtualNetworkRules>, IList<NWRuleSetIpRules>, String, SystemData)

Initialisiert eine neue instance der NetworkRuleSet-Klasse.

NetworkRuleSet()

Initialisiert eine neue instance der NetworkRuleSet-Klasse.

public NetworkRuleSet();
Public Sub New ()

Gilt für:

NetworkRuleSet(String, String, String, String, Nullable<Boolean>, String, IList<NWRuleSetVirtualNetworkRules>, IList<NWRuleSetIpRules>, String, SystemData)

Initialisiert eine neue instance der NetworkRuleSet-Klasse.

public NetworkRuleSet(string id = default, string name = default, string type = default, string location = default, bool? trustedServiceAccessEnabled = default, string defaultAction = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventHub.Models.NWRuleSetVirtualNetworkRules> virtualNetworkRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventHub.Models.NWRuleSetIpRules> ipRules = default, string publicNetworkAccess = default, Microsoft.Azure.Management.EventHub.Models.SystemData systemData = default);
new Microsoft.Azure.Management.EventHub.Models.NetworkRuleSet : string * string * string * string * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.EventHub.Models.NWRuleSetVirtualNetworkRules> * System.Collections.Generic.IList<Microsoft.Azure.Management.EventHub.Models.NWRuleSetIpRules> * string * Microsoft.Azure.Management.EventHub.Models.SystemData -> Microsoft.Azure.Management.EventHub.Models.NetworkRuleSet
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional trustedServiceAccessEnabled As Nullable(Of Boolean) = Nothing, Optional defaultAction As String = Nothing, Optional virtualNetworkRules As IList(Of NWRuleSetVirtualNetworkRules) = Nothing, Optional ipRules As IList(Of NWRuleSetIpRules) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional systemData As SystemData = Nothing)

Parameter

id
String

Vollqualifizierte Ressourcen-ID für die Ressource. Beispiel: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

Der Name der Ressource

type
String

Der Typ der Ressource. Z.B. "Microsoft.EventHub/Namespaces" oder "Microsoft.EventHub/Namespaces/EventHubs"

location
String

Der geografische Standort, an dem sich die Ressource befindet

trustedServiceAccessEnabled
Nullable<Boolean>

Wert, der angibt, ob der vertrauenswürdige Dienstzugriff aktiviert ist.

defaultAction
String

Standardaktion für Den Netzwerkregelsatz. Mögliche Werte: "Allow", "Deny"

virtualNetworkRules
IList<NWRuleSetVirtualNetworkRules>

Auflisten von VirtualNetwork-Regeln

ipRules
IList<NWRuleSetIpRules>

Liste der IpRules

publicNetworkAccess
String

Dadurch wird bestimmt, ob Datenverkehr über ein öffentliches Netzwerk zulässig ist. Standardmäßig ist es aktiviert. Wenn der Wert SecuredByPerimeter lautet, wird die eingehende und ausgehende Kommunikation durch den Netzwerksicherheitsperimeter und die Zugriffsregeln des Profils gesteuert. Mögliche Werte: "Enabled", "Disabled", "SecuredByPerimeter"

systemData
SystemData

Die Systemmetadaten zu dieser Ressource.

Gilt für: