Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin
import com.pulumi.azure.network.FirewallPolicyArgs.builder
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyDnsArgs
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyDnsArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyExplicitProxyArgs
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyExplicitProxyArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyIdentityArgs
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyIdentityArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyInsightsArgs
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyInsightsArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyIntrusionDetectionArgs
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyIntrusionDetectionArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyThreatIntelligenceAllowlistArgs
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyThreatIntelligenceAllowlistArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyTlsCertificateArgs
import com.pulumi.azure.network.kotlin.inputs.FirewallPolicyTlsCertificateArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Manages a Firewall Policy.
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azure from "@pulumi/azure";
* const example = new azure.core.ResourceGroup("example", {
* name: "example-resources",
* location: "West Europe",
* });
* const exampleFirewallPolicy = new azure.network.FirewallPolicy("example", {
* name: "example-policy",
* resourceGroupName: example.name,
* location: example.location,
* });
* ```
* ```python
* import pulumi
* import pulumi_azure as azure
* example = azure.core.ResourceGroup("example",
* name="example-resources",
* location="West Europe")
* example_firewall_policy = azure.network.FirewallPolicy("example",
* name="example-policy",
* resource_group_name=example.name,
* location=example.location)
* ```
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using Azure = Pulumi.Azure;
* return await Deployment.RunAsync(() =>
* {
* var example = new Azure.Core.ResourceGroup("example", new()
* {
* Name = "example-resources",
* Location = "West Europe",
* });
* var exampleFirewallPolicy = new Azure.Network.FirewallPolicy("example", new()
* {
* Name = "example-policy",
* ResourceGroupName = example.Name,
* Location = example.Location,
* });
* });
* ```
* ```go
* package main
* import (
* "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
* "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
* Name: pulumi.String("example-resources"),
* Location: pulumi.String("West Europe"),
* })
* if err != nil {
* return err
* }
* _, err = network.NewFirewallPolicy(ctx, "example", &network.FirewallPolicyArgs{
* Name: pulumi.String("example-policy"),
* ResourceGroupName: example.Name,
* Location: example.Location,
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.core.ResourceGroup;
* import com.pulumi.azure.core.ResourceGroupArgs;
* import com.pulumi.azure.network.FirewallPolicy;
* import com.pulumi.azure.network.FirewallPolicyArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
* public static void stack(Context ctx) {
* var example = new ResourceGroup("example", ResourceGroupArgs.builder()
* .name("example-resources")
* .location("West Europe")
* .build());
* var exampleFirewallPolicy = new FirewallPolicy("exampleFirewallPolicy", FirewallPolicyArgs.builder()
* .name("example-policy")
* .resourceGroupName(example.name())
* .location(example.location())
* .build());
* }
* }
* ```
* ```yaml
* resources:
* example:
* type: azure:core:ResourceGroup
* properties:
* name: example-resources
* location: West Europe
* exampleFirewallPolicy:
* type: azure:network:FirewallPolicy
* name: example
* properties:
* name: example-policy
* resourceGroupName: ${example.name}
* location: ${example.location}
* ```
*
* ## Import
* Firewall Policies can be imported using the `resource id`, e.g.
* ```sh
* $ pulumi import azure:network/firewallPolicy:FirewallPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/firewallPolicies/policy1
* ```
* @property autoLearnPrivateRangesEnabled Whether enable auto learn private ip range.
* @property basePolicyId The ID of the base Firewall Policy.
* @property dns A `dns` block as defined below.
* @property explicitProxy A `explicit_proxy` block as defined below.
* @property identity An `identity` block as defined below.
* @property insights An `insights` block as defined below.
* @property intrusionDetection A `intrusion_detection` block as defined below.
* @property location The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
* @property name The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
* @property privateIpRanges A list of private IP ranges to which traffic will not be SNAT.
* @property resourceGroupName The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
* @property sku The SKU Tier of the Firewall Policy. Possible values are `Standard`, `Premium` and `Basic`. Changing this forces a new Firewall Policy to be created.
* @property sqlRedirectAllowed Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between `11000`-`11999`.
* @property tags A mapping of tags which should be assigned to the Firewall Policy.
* @property threatIntelligenceAllowlist A `threat_intelligence_allowlist` block as defined below.
* @property threatIntelligenceMode The operation mode for Threat Intelligence. Possible values are `Alert`, `Deny` and `Off`. Defaults to `Alert`.
* @property tlsCertificate A `tls_certificate` block as defined below.
*/
public data class FirewallPolicyArgs(
public val autoLearnPrivateRangesEnabled: Output? = null,
public val basePolicyId: Output? = null,
public val dns: Output? = null,
public val explicitProxy: Output? = null,
public val identity: Output? = null,
public val insights: Output? = null,
public val intrusionDetection: Output? = null,
public val location: Output? = null,
public val name: Output? = null,
public val privateIpRanges: Output>? = null,
public val resourceGroupName: Output? = null,
public val sku: Output? = null,
public val sqlRedirectAllowed: Output? = null,
public val tags: Output