NetworkRuleSet Constructors

Definition

Overloads

NetworkRuleSet()

Initializes a new instance of the NetworkRuleSet class.

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

Initializes a new instance of the NetworkRuleSet class.

NetworkRuleSet()

Initializes a new instance of the NetworkRuleSet class.

public NetworkRuleSet ();
Public Sub New ()

Applies to

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

Initializes a new instance of the NetworkRuleSet class.

public NetworkRuleSet (string id = default, string name = default, string type = 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);
new Microsoft.Azure.Management.EventHub.Models.NetworkRuleSet : 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> -> 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 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)

Parameters

id
System.String

Resource ID.

name
System.String

Resource name.

type
System.String

Resource type.

trustedServiceAccessEnabled
System.Nullable<System.Boolean>

Value that indicates whether Trusted Service Access is Enabled or not.

defaultAction
System.String

Default Action for Network Rule Set. Possible values include: 'Allow', 'Deny'

virtualNetworkRules
System.Collections.Generic.IList<NWRuleSetVirtualNetworkRules>

List VirtualNetwork Rules

ipRules
System.Collections.Generic.IList<NWRuleSetIpRules>

List of IpRules

Applies to