Udostępnij za pośrednictwem


ArmNetworkModelFactory.FirewallPolicyData Method

Definition

Initializes a new instance of FirewallPolicyData.

public static Azure.ResourceManager.Network.FirewallPolicyData FirewallPolicyData (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.ETag? etag = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string size = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> ruleCollectionGroups = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier basePolicyId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> firewalls = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> childPolicies = 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, Azure.ResourceManager.Network.Models.FirewallPolicyCertificateAuthority transportSecurityCertificateAuthority = default, Azure.ResourceManager.Network.Models.FirewallPolicySkuTier? skuTier = default);
static member FirewallPolicyData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Azure.ResourceManager.Models.ManagedServiceIdentity * string * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * 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.Models.FirewallPolicyCertificateAuthority * Nullable<Azure.ResourceManager.Network.Models.FirewallPolicySkuTier> -> Azure.ResourceManager.Network.FirewallPolicyData
Public Shared Function FirewallPolicyData (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 etag As Nullable(Of ETag) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional size As String = Nothing, Optional ruleCollectionGroups As IEnumerable(Of WritableSubResource) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional basePolicyId As ResourceIdentifier = Nothing, Optional firewalls As IEnumerable(Of WritableSubResource) = Nothing, Optional childPolicies As IEnumerable(Of WritableSubResource) = 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, Optional transportSecurityCertificateAuthority As FirewallPolicyCertificateAuthority = Nothing, Optional skuTier As Nullable(Of FirewallPolicySkuTier) = Nothing) As FirewallPolicyData

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.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

identity
ManagedServiceIdentity

The identity of the firewall policy.

size
String

A read-only string that represents the size of the FirewallPolicyPropertiesFormat in MB. (ex 0.5MB).

ruleCollectionGroups
IEnumerable<WritableSubResource>

List of references to FirewallPolicyRuleCollectionGroups.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the firewall policy resource.

basePolicyId
ResourceIdentifier

The parent firewall policy from which rules are inherited.

firewalls
IEnumerable<WritableSubResource>

List of references to Azure Firewalls that this Firewall Policy is associated with.

childPolicies
IEnumerable<WritableSubResource>

List of references to Child Firewall Policies.

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.

transportSecurityCertificateAuthority
FirewallPolicyCertificateAuthority

TLS Configuration definition.

skuTier
Nullable<FirewallPolicySkuTier>

The Firewall Policy SKU.

Returns

A new FirewallPolicyData instance for mocking.

Applies to