NetworkRuleSet Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.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)
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
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. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules. Possible values include: 'Enabled', 'Disabled', 'SecuredByPerimeter'
- systemData
- SystemData
The system meta data relating to this resource.
Applies to
Azure SDK for .NET