Delen via


NetworkRuleSet Constructors

Definition

Overloads

NetworkRuleSet()

Initializes a new instance of the NetworkRuleSet class.

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

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, String, Nullable<Boolean>, String, IList<NWRuleSetVirtualNetworkRules>, IList<NWRuleSetIpRules>, String, SystemData)

Initializes a new instance of the NetworkRuleSet class.

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.ServiceBus.Models.NWRuleSetVirtualNetworkRules> virtualNetworkRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceBus.Models.NWRuleSetIpRules> ipRules = default, string publicNetworkAccess = default, Microsoft.Azure.Management.ServiceBus.Models.SystemData systemData = default);
new Microsoft.Azure.Management.ServiceBus.Models.NetworkRuleSet : string * string * string * string * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceBus.Models.NWRuleSetVirtualNetworkRules> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceBus.Models.NWRuleSetIpRules> * string * Microsoft.Azure.Management.ServiceBus.Models.SystemData -> Microsoft.Azure.Management.ServiceBus.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)

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

location
String

The geo-location where the resource lives

trustedServiceAccessEnabled
Nullable<Boolean>

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

defaultAction
String

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

virtualNetworkRules
IList<NWRuleSetVirtualNetworkRules>

List VirtualNetwork Rules

ipRules
IList<NWRuleSetIpRules>

List of IpRules

publicNetworkAccess
String

This determines if traffic is allowed over public network. By default it is enabled. Possible values include: 'Enabled', 'Disabled'

systemData
SystemData

The system meta data relating to this resource.

Applies to