ArmNetworkModelFactory.FirewallPolicyDraftData Method

Definition

Initializes a new instance of FirewallPolicyDraftData.

public static Azure.ResourceManager.Network.FirewallPolicyDraftData FirewallPolicyDraftData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.ResourceIdentifier basePolicyId = default, Azure.ResourceManager.Network.Models.AzureFirewallThreatIntelMode? threatIntelMode = default, Azure.ResourceManager.Network.Models.FirewallPolicyThreatIntelWhitelist threatIntelWhitelist = default, Azure.ResourceManager.Network.Models.FirewallPolicyInsights insights = default, Azure.ResourceManager.Network.Models.FirewallPolicySnat snat = default, bool? allowSqlRedirect = default, Azure.ResourceManager.Network.Models.DnsSettings dnsSettings = default, Azure.ResourceManager.Network.Models.FirewallPolicyExplicitProxy explicitProxy = default, Azure.ResourceManager.Network.Models.FirewallPolicyIntrusionDetection intrusionDetection = default);
static member FirewallPolicyDraftData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.AzureFirewallThreatIntelMode> * Azure.ResourceManager.Network.Models.FirewallPolicyThreatIntelWhitelist * Azure.ResourceManager.Network.Models.FirewallPolicyInsights * Azure.ResourceManager.Network.Models.FirewallPolicySnat * Nullable<bool> * Azure.ResourceManager.Network.Models.DnsSettings * Azure.ResourceManager.Network.Models.FirewallPolicyExplicitProxy * Azure.ResourceManager.Network.Models.FirewallPolicyIntrusionDetection -> Azure.ResourceManager.Network.FirewallPolicyDraftData
Public Shared Function FirewallPolicyDraftData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional basePolicyId As ResourceIdentifier = Nothing, Optional threatIntelMode As Nullable(Of AzureFirewallThreatIntelMode) = Nothing, Optional threatIntelWhitelist As FirewallPolicyThreatIntelWhitelist = Nothing, Optional insights As FirewallPolicyInsights = Nothing, Optional snat As FirewallPolicySnat = Nothing, Optional allowSqlRedirect As Nullable(Of Boolean) = Nothing, Optional dnsSettings As DnsSettings = Nothing, Optional explicitProxy As FirewallPolicyExplicitProxy = Nothing, Optional intrusionDetection As FirewallPolicyIntrusionDetection = Nothing) As FirewallPolicyDraftData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

basePolicyId
ResourceIdentifier

The parent firewall policy from which rules are inherited.

threatIntelMode
Nullable<AzureFirewallThreatIntelMode>

The operation mode for Threat Intelligence.

threatIntelWhitelist
FirewallPolicyThreatIntelWhitelist

ThreatIntel Whitelist for Firewall Policy.

insights
FirewallPolicyInsights

Insights on Firewall Policy.

snat
FirewallPolicySnat

The private IP addresses/IP ranges to which traffic will not be SNAT.

allowSqlRedirect
Nullable<Boolean>

SQL Settings definition.

dnsSettings
DnsSettings

DNS Proxy Settings definition.

explicitProxy
FirewallPolicyExplicitProxy

Explicit Proxy Settings definition.

intrusionDetection
FirewallPolicyIntrusionDetection

The configuration for Intrusion detection.

Returns

A new FirewallPolicyDraftData instance for mocking.

Applies to