1. Packages
  2. Azure Classic
  3. API Docs
  4. appconfiguration
  5. LicationLoadBalancerSecurityPolicy

We recommend using Azure Native.

Azure v6.25.0 published on Wednesday, Aug 13, 2025 by Pulumi

azure.appconfiguration.LicationLoadBalancerSecurityPolicy

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.25.0 published on Wednesday, Aug 13, 2025 by Pulumi

    Manages an Application Load Balancer Security Policy.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-rg",
        location: "West Europe",
    });
    const exampleLicationLoadBalancer = new azure.appconfiguration.LicationLoadBalancer("example", {
        name: "example-alb",
        location: example.location,
        resourceGroupName: example.name,
    });
    const examplePolicy = new azure.waf.Policy("example", {
        name: "example-wafpolicy",
        resourceGroupName: example.name,
        location: example.location,
        managedRules: {
            managedRuleSets: [{
                type: "Microsoft_DefaultRuleSet",
                version: "2.1",
            }],
        },
        policySettings: {
            enabled: true,
            mode: "Detection",
        },
    });
    const exampleLicationLoadBalancerSecurityPolicy = new azure.appconfiguration.LicationLoadBalancerSecurityPolicy("example", {
        name: "example-albsp",
        applicationLoadBalancerId: exampleLicationLoadBalancer.id,
        location: example.location,
        webApplicationFirewallPolicyId: examplePolicy.id,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-rg",
        location="West Europe")
    example_lication_load_balancer = azure.appconfiguration.LicationLoadBalancer("example",
        name="example-alb",
        location=example.location,
        resource_group_name=example.name)
    example_policy = azure.waf.Policy("example",
        name="example-wafpolicy",
        resource_group_name=example.name,
        location=example.location,
        managed_rules={
            "managed_rule_sets": [{
                "type": "Microsoft_DefaultRuleSet",
                "version": "2.1",
            }],
        },
        policy_settings={
            "enabled": True,
            "mode": "Detection",
        })
    example_lication_load_balancer_security_policy = azure.appconfiguration.LicationLoadBalancerSecurityPolicy("example",
        name="example-albsp",
        application_load_balancer_id=example_lication_load_balancer.id,
        location=example.location,
        web_application_firewall_policy_id=example_policy.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appconfiguration"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/waf"
    	"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-rg"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleLicationLoadBalancer, err := appconfiguration.NewLicationLoadBalancer(ctx, "example", &appconfiguration.LicationLoadBalancerArgs{
    			Name:              pulumi.String("example-alb"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    		})
    		if err != nil {
    			return err
    		}
    		examplePolicy, err := waf.NewPolicy(ctx, "example", &waf.PolicyArgs{
    			Name:              pulumi.String("example-wafpolicy"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    			ManagedRules: &waf.PolicyManagedRulesArgs{
    				ManagedRuleSets: waf.PolicyManagedRulesManagedRuleSetArray{
    					&waf.PolicyManagedRulesManagedRuleSetArgs{
    						Type:    pulumi.String("Microsoft_DefaultRuleSet"),
    						Version: pulumi.String("2.1"),
    					},
    				},
    			},
    			PolicySettings: &waf.PolicyPolicySettingsArgs{
    				Enabled: pulumi.Bool(true),
    				Mode:    pulumi.String("Detection"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = appconfiguration.NewLicationLoadBalancerSecurityPolicy(ctx, "example", &appconfiguration.LicationLoadBalancerSecurityPolicyArgs{
    			Name:                           pulumi.String("example-albsp"),
    			ApplicationLoadBalancerId:      exampleLicationLoadBalancer.ID(),
    			Location:                       example.Location,
    			WebApplicationFirewallPolicyId: examplePolicy.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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-rg",
            Location = "West Europe",
        });
    
        var exampleLicationLoadBalancer = new Azure.AppConfiguration.LicationLoadBalancer("example", new()
        {
            Name = "example-alb",
            Location = example.Location,
            ResourceGroupName = example.Name,
        });
    
        var examplePolicy = new Azure.Waf.Policy("example", new()
        {
            Name = "example-wafpolicy",
            ResourceGroupName = example.Name,
            Location = example.Location,
            ManagedRules = new Azure.Waf.Inputs.PolicyManagedRulesArgs
            {
                ManagedRuleSets = new[]
                {
                    new Azure.Waf.Inputs.PolicyManagedRulesManagedRuleSetArgs
                    {
                        Type = "Microsoft_DefaultRuleSet",
                        Version = "2.1",
                    },
                },
            },
            PolicySettings = new Azure.Waf.Inputs.PolicyPolicySettingsArgs
            {
                Enabled = true,
                Mode = "Detection",
            },
        });
    
        var exampleLicationLoadBalancerSecurityPolicy = new Azure.AppConfiguration.LicationLoadBalancerSecurityPolicy("example", new()
        {
            Name = "example-albsp",
            ApplicationLoadBalancerId = exampleLicationLoadBalancer.Id,
            Location = example.Location,
            WebApplicationFirewallPolicyId = examplePolicy.Id,
        });
    
    });
    
    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.appconfiguration.LicationLoadBalancer;
    import com.pulumi.azure.appconfiguration.LicationLoadBalancerArgs;
    import com.pulumi.azure.waf.Policy;
    import com.pulumi.azure.waf.PolicyArgs;
    import com.pulumi.azure.waf.inputs.PolicyManagedRulesArgs;
    import com.pulumi.azure.waf.inputs.PolicyPolicySettingsArgs;
    import com.pulumi.azure.appconfiguration.LicationLoadBalancerSecurityPolicy;
    import com.pulumi.azure.appconfiguration.LicationLoadBalancerSecurityPolicyArgs;
    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-rg")
                .location("West Europe")
                .build());
    
            var exampleLicationLoadBalancer = new LicationLoadBalancer("exampleLicationLoadBalancer", LicationLoadBalancerArgs.builder()
                .name("example-alb")
                .location(example.location())
                .resourceGroupName(example.name())
                .build());
    
            var examplePolicy = new Policy("examplePolicy", PolicyArgs.builder()
                .name("example-wafpolicy")
                .resourceGroupName(example.name())
                .location(example.location())
                .managedRules(PolicyManagedRulesArgs.builder()
                    .managedRuleSets(PolicyManagedRulesManagedRuleSetArgs.builder()
                        .type("Microsoft_DefaultRuleSet")
                        .version("2.1")
                        .build())
                    .build())
                .policySettings(PolicyPolicySettingsArgs.builder()
                    .enabled(true)
                    .mode("Detection")
                    .build())
                .build());
    
            var exampleLicationLoadBalancerSecurityPolicy = new LicationLoadBalancerSecurityPolicy("exampleLicationLoadBalancerSecurityPolicy", LicationLoadBalancerSecurityPolicyArgs.builder()
                .name("example-albsp")
                .applicationLoadBalancerId(exampleLicationLoadBalancer.id())
                .location(example.location())
                .webApplicationFirewallPolicyId(examplePolicy.id())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-rg
          location: West Europe
      exampleLicationLoadBalancer:
        type: azure:appconfiguration:LicationLoadBalancer
        name: example
        properties:
          name: example-alb
          location: ${example.location}
          resourceGroupName: ${example.name}
      examplePolicy:
        type: azure:waf:Policy
        name: example
        properties:
          name: example-wafpolicy
          resourceGroupName: ${example.name}
          location: ${example.location}
          managedRules:
            managedRuleSets:
              - type: Microsoft_DefaultRuleSet
                version: '2.1'
          policySettings:
            enabled: true
            mode: Detection
      exampleLicationLoadBalancerSecurityPolicy:
        type: azure:appconfiguration:LicationLoadBalancerSecurityPolicy
        name: example
        properties:
          name: example-albsp
          applicationLoadBalancerId: ${exampleLicationLoadBalancer.id}
          location: ${example.location}
          webApplicationFirewallPolicyId: ${examplePolicy.id}
    

    API Providers

    This resource uses the following Azure API Providers:

    • Microsoft.ServiceNetworking - 2025-01-01

    Create LicationLoadBalancerSecurityPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LicationLoadBalancerSecurityPolicy(name: string, args: LicationLoadBalancerSecurityPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def LicationLoadBalancerSecurityPolicy(resource_name: str,
                                           args: LicationLoadBalancerSecurityPolicyArgs,
                                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def LicationLoadBalancerSecurityPolicy(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           application_load_balancer_id: Optional[str] = None,
                                           web_application_firewall_policy_id: Optional[str] = None,
                                           location: Optional[str] = None,
                                           name: Optional[str] = None,
                                           tags: Optional[Mapping[str, str]] = None)
    func NewLicationLoadBalancerSecurityPolicy(ctx *Context, name string, args LicationLoadBalancerSecurityPolicyArgs, opts ...ResourceOption) (*LicationLoadBalancerSecurityPolicy, error)
    public LicationLoadBalancerSecurityPolicy(string name, LicationLoadBalancerSecurityPolicyArgs args, CustomResourceOptions? opts = null)
    public LicationLoadBalancerSecurityPolicy(String name, LicationLoadBalancerSecurityPolicyArgs args)
    public LicationLoadBalancerSecurityPolicy(String name, LicationLoadBalancerSecurityPolicyArgs args, CustomResourceOptions options)
    
    type: azure:appconfiguration:LicationLoadBalancerSecurityPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LicationLoadBalancerSecurityPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LicationLoadBalancerSecurityPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LicationLoadBalancerSecurityPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LicationLoadBalancerSecurityPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LicationLoadBalancerSecurityPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var licationLoadBalancerSecurityPolicyResource = new Azure.AppConfiguration.LicationLoadBalancerSecurityPolicy("licationLoadBalancerSecurityPolicyResource", new()
    {
        ApplicationLoadBalancerId = "string",
        WebApplicationFirewallPolicyId = "string",
        Location = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := appconfiguration.NewLicationLoadBalancerSecurityPolicy(ctx, "licationLoadBalancerSecurityPolicyResource", &appconfiguration.LicationLoadBalancerSecurityPolicyArgs{
    	ApplicationLoadBalancerId:      pulumi.String("string"),
    	WebApplicationFirewallPolicyId: pulumi.String("string"),
    	Location:                       pulumi.String("string"),
    	Name:                           pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var licationLoadBalancerSecurityPolicyResource = new LicationLoadBalancerSecurityPolicy("licationLoadBalancerSecurityPolicyResource", LicationLoadBalancerSecurityPolicyArgs.builder()
        .applicationLoadBalancerId("string")
        .webApplicationFirewallPolicyId("string")
        .location("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    lication_load_balancer_security_policy_resource = azure.appconfiguration.LicationLoadBalancerSecurityPolicy("licationLoadBalancerSecurityPolicyResource",
        application_load_balancer_id="string",
        web_application_firewall_policy_id="string",
        location="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const licationLoadBalancerSecurityPolicyResource = new azure.appconfiguration.LicationLoadBalancerSecurityPolicy("licationLoadBalancerSecurityPolicyResource", {
        applicationLoadBalancerId: "string",
        webApplicationFirewallPolicyId: "string",
        location: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:appconfiguration:LicationLoadBalancerSecurityPolicy
    properties:
        applicationLoadBalancerId: string
        location: string
        name: string
        tags:
            string: string
        webApplicationFirewallPolicyId: string
    

    LicationLoadBalancerSecurityPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The LicationLoadBalancerSecurityPolicy resource accepts the following input properties:

    ApplicationLoadBalancerId string
    The ID of the Application Load Balancer. Changing this forces a new Application Gateway for Containers Security Policy to be created.
    WebApplicationFirewallPolicyId string
    The ID of the Web Application Firewall Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    Location string
    The Azure Region where the Application Load Balancer Security Policy should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Application Load Balancer Security Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Application Load Balancer Security Policy.
    ApplicationLoadBalancerId string
    The ID of the Application Load Balancer. Changing this forces a new Application Gateway for Containers Security Policy to be created.
    WebApplicationFirewallPolicyId string
    The ID of the Web Application Firewall Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    Location string
    The Azure Region where the Application Load Balancer Security Policy should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Application Load Balancer Security Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Application Load Balancer Security Policy.
    applicationLoadBalancerId String
    The ID of the Application Load Balancer. Changing this forces a new Application Gateway for Containers Security Policy to be created.
    webApplicationFirewallPolicyId String
    The ID of the Web Application Firewall Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    location String
    The Azure Region where the Application Load Balancer Security Policy should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Application Load Balancer Security Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Application Load Balancer Security Policy.
    applicationLoadBalancerId string
    The ID of the Application Load Balancer. Changing this forces a new Application Gateway for Containers Security Policy to be created.
    webApplicationFirewallPolicyId string
    The ID of the Web Application Firewall Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    location string
    The Azure Region where the Application Load Balancer Security Policy should exist. Changing this forces a new resource to be created.
    name string
    The name which should be used for this Application Load Balancer Security Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Application Load Balancer Security Policy.
    application_load_balancer_id str
    The ID of the Application Load Balancer. Changing this forces a new Application Gateway for Containers Security Policy to be created.
    web_application_firewall_policy_id str
    The ID of the Web Application Firewall Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    location str
    The Azure Region where the Application Load Balancer Security Policy should exist. Changing this forces a new resource to be created.
    name str
    The name which should be used for this Application Load Balancer Security Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Application Load Balancer Security Policy.
    applicationLoadBalancerId String
    The ID of the Application Load Balancer. Changing this forces a new Application Gateway for Containers Security Policy to be created.
    webApplicationFirewallPolicyId String
    The ID of the Web Application Firewall Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    location String
    The Azure Region where the Application Load Balancer Security Policy should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Application Load Balancer Security Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Application Load Balancer Security Policy.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LicationLoadBalancerSecurityPolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LicationLoadBalancerSecurityPolicy Resource

    Get an existing LicationLoadBalancerSecurityPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LicationLoadBalancerSecurityPolicyState, opts?: CustomResourceOptions): LicationLoadBalancerSecurityPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_load_balancer_id: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            web_application_firewall_policy_id: Optional[str] = None) -> LicationLoadBalancerSecurityPolicy
    func GetLicationLoadBalancerSecurityPolicy(ctx *Context, name string, id IDInput, state *LicationLoadBalancerSecurityPolicyState, opts ...ResourceOption) (*LicationLoadBalancerSecurityPolicy, error)
    public static LicationLoadBalancerSecurityPolicy Get(string name, Input<string> id, LicationLoadBalancerSecurityPolicyState? state, CustomResourceOptions? opts = null)
    public static LicationLoadBalancerSecurityPolicy get(String name, Output<String> id, LicationLoadBalancerSecurityPolicyState state, CustomResourceOptions options)
    resources:  _:    type: azure:appconfiguration:LicationLoadBalancerSecurityPolicy    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApplicationLoadBalancerId string
    The ID of the Application Load Balancer. Changing this forces a new Application Gateway for Containers Security Policy to be created.
    Location string
    The Azure Region where the Application Load Balancer Security Policy should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Application Load Balancer Security Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Application Load Balancer Security Policy.
    WebApplicationFirewallPolicyId string
    The ID of the Web Application Firewall Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    ApplicationLoadBalancerId string
    The ID of the Application Load Balancer. Changing this forces a new Application Gateway for Containers Security Policy to be created.
    Location string
    The Azure Region where the Application Load Balancer Security Policy should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Application Load Balancer Security Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Application Load Balancer Security Policy.
    WebApplicationFirewallPolicyId string
    The ID of the Web Application Firewall Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    applicationLoadBalancerId String
    The ID of the Application Load Balancer. Changing this forces a new Application Gateway for Containers Security Policy to be created.
    location String
    The Azure Region where the Application Load Balancer Security Policy should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Application Load Balancer Security Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Application Load Balancer Security Policy.
    webApplicationFirewallPolicyId String
    The ID of the Web Application Firewall Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    applicationLoadBalancerId string
    The ID of the Application Load Balancer. Changing this forces a new Application Gateway for Containers Security Policy to be created.
    location string
    The Azure Region where the Application Load Balancer Security Policy should exist. Changing this forces a new resource to be created.
    name string
    The name which should be used for this Application Load Balancer Security Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Application Load Balancer Security Policy.
    webApplicationFirewallPolicyId string
    The ID of the Web Application Firewall Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    application_load_balancer_id str
    The ID of the Application Load Balancer. Changing this forces a new Application Gateway for Containers Security Policy to be created.
    location str
    The Azure Region where the Application Load Balancer Security Policy should exist. Changing this forces a new resource to be created.
    name str
    The name which should be used for this Application Load Balancer Security Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Application Load Balancer Security Policy.
    web_application_firewall_policy_id str
    The ID of the Web Application Firewall Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    applicationLoadBalancerId String
    The ID of the Application Load Balancer. Changing this forces a new Application Gateway for Containers Security Policy to be created.
    location String
    The Azure Region where the Application Load Balancer Security Policy should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Application Load Balancer Security Policy. Changing this forces a new Application Load Balancer Security Policy to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Application Load Balancer Security Policy.
    webApplicationFirewallPolicyId String
    The ID of the Web Application Firewall Policy. Changing this forces a new Application Load Balancer Security Policy to be created.

    Import

    Application Load Balancer Security Policy can be imported using the resource id, e.g.

    $ pulumi import azure:appconfiguration/licationLoadBalancerSecurityPolicy:LicationLoadBalancerSecurityPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/alb/securityPolicies/sp1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.25.0 published on Wednesday, Aug 13, 2025 by Pulumi