1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. LoadBalancer
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.21.2 published on Friday, Dec 8, 2023 by Pulumi

azure-native.network.LoadBalancer

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.21.2 published on Friday, Dec 8, 2023 by Pulumi

    LoadBalancer resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.

    Other available API versions: 2015-05-01-preview, 2018-06-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01.

    Example Usage

    Create load balancer

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var loadBalancer = new AzureNative.Network.LoadBalancer("loadBalancer", new()
        {
            BackendAddressPools = new[]
            {
                new AzureNative.Network.Inputs.BackendAddressPoolArgs
                {
                    Name = "be-lb",
                },
            },
            FrontendIPConfigurations = new[]
            {
                new AzureNative.Network.Inputs.FrontendIPConfigurationArgs
                {
                    Name = "fe-lb",
                    Subnet = new AzureNative.Network.Inputs.SubnetArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
                    },
                },
            },
            InboundNatPools = new[] {},
            InboundNatRules = new[]
            {
                new AzureNative.Network.Inputs.InboundNatRuleArgs
                {
                    BackendPort = 3389,
                    EnableFloatingIP = true,
                    EnableTcpReset = false,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 3389,
                    IdleTimeoutInMinutes = 15,
                    Name = "in-nat-rule",
                    Protocol = "Tcp",
                },
            },
            LoadBalancerName = "lb",
            LoadBalancingRules = new[]
            {
                new AzureNative.Network.Inputs.LoadBalancingRuleArgs
                {
                    BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
                    },
                    BackendPort = 80,
                    EnableFloatingIP = true,
                    EnableTcpReset = false,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 80,
                    IdleTimeoutInMinutes = 15,
                    LoadDistribution = "Default",
                    Name = "rulelb",
                    Probe = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
                    },
                    Protocol = "Tcp",
                },
            },
            Location = "eastus",
            Probes = new[]
            {
                new AzureNative.Network.Inputs.ProbeArgs
                {
                    IntervalInSeconds = 15,
                    Name = "probe-lb",
                    NumberOfProbes = 2,
                    Port = 80,
                    ProbeThreshold = 1,
                    Protocol = "Http",
                    RequestPath = "healthcheck.aspx",
                },
            },
            ResourceGroupName = "rg1",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewLoadBalancer(ctx, "loadBalancer", &network.LoadBalancerArgs{
    			BackendAddressPools: []network.BackendAddressPoolArgs{
    				{
    					Name: pulumi.String("be-lb"),
    				},
    			},
    			FrontendIPConfigurations: []network.FrontendIPConfigurationArgs{
    				{
    					Name: pulumi.String("fe-lb"),
    					Subnet: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"),
    					},
    				},
    			},
    			InboundNatPools: network.InboundNatPoolArray{},
    			InboundNatRules: []network.InboundNatRuleTypeArgs{
    				{
    					BackendPort:      pulumi.Int(3389),
    					EnableFloatingIP: pulumi.Bool(true),
    					EnableTcpReset:   pulumi.Bool(false),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(3389),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					Name:                 pulumi.String("in-nat-rule"),
    					Protocol:             pulumi.String("Tcp"),
    				},
    			},
    			LoadBalancerName: pulumi.String("lb"),
    			LoadBalancingRules: []network.LoadBalancingRuleArgs{
    				{
    					BackendAddressPool: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"),
    					},
    					BackendPort:      pulumi.Int(80),
    					EnableFloatingIP: pulumi.Bool(true),
    					EnableTcpReset:   pulumi.Bool(false),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(80),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					LoadDistribution:     pulumi.String("Default"),
    					Name:                 pulumi.String("rulelb"),
    					Probe: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"),
    					},
    					Protocol: pulumi.String("Tcp"),
    				},
    			},
    			Location: pulumi.String("eastus"),
    			Probes: []network.ProbeArgs{
    				{
    					IntervalInSeconds: pulumi.Int(15),
    					Name:              pulumi.String("probe-lb"),
    					NumberOfProbes:    pulumi.Int(2),
    					Port:              pulumi.Int(80),
    					ProbeThreshold:    pulumi.Int(1),
    					Protocol:          pulumi.String("Http"),
    					RequestPath:       pulumi.String("healthcheck.aspx"),
    				},
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.LoadBalancer;
    import com.pulumi.azurenative.network.LoadBalancerArgs;
    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 loadBalancer = new LoadBalancer("loadBalancer", LoadBalancerArgs.builder()        
                .backendAddressPools(Map.of("name", "be-lb"))
                .frontendIPConfigurations(Map.ofEntries(
                    Map.entry("name", "fe-lb"),
                    Map.entry("subnet", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"))
                ))
                .inboundNatPools()
                .inboundNatRules(Map.ofEntries(
                    Map.entry("backendPort", 3389),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("enableTcpReset", false),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 3389),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("name", "in-nat-rule"),
                    Map.entry("protocol", "Tcp")
                ))
                .loadBalancerName("lb")
                .loadBalancingRules(Map.ofEntries(
                    Map.entry("backendAddressPool", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")),
                    Map.entry("backendPort", 80),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("enableTcpReset", false),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 80),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("loadDistribution", "Default"),
                    Map.entry("name", "rulelb"),
                    Map.entry("probe", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")),
                    Map.entry("protocol", "Tcp")
                ))
                .location("eastus")
                .probes(Map.ofEntries(
                    Map.entry("intervalInSeconds", 15),
                    Map.entry("name", "probe-lb"),
                    Map.entry("numberOfProbes", 2),
                    Map.entry("port", 80),
                    Map.entry("probeThreshold", 1),
                    Map.entry("protocol", "Http"),
                    Map.entry("requestPath", "healthcheck.aspx")
                ))
                .resourceGroupName("rg1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    load_balancer = azure_native.network.LoadBalancer("loadBalancer",
        backend_address_pools=[azure_native.network.BackendAddressPoolArgs(
            name="be-lb",
        )],
        frontend_ip_configurations=[{
            "name": "fe-lb",
            "subnet": azure_native.network.SubnetArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            ),
        }],
        inbound_nat_pools=[],
        inbound_nat_rules=[{
            "backendPort": 3389,
            "enableFloatingIP": True,
            "enableTcpReset": False,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 3389,
            "idleTimeoutInMinutes": 15,
            "name": "in-nat-rule",
            "protocol": "Tcp",
        }],
        load_balancer_name="lb",
        load_balancing_rules=[{
            "backendAddressPool": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            ),
            "backendPort": 80,
            "enableFloatingIP": True,
            "enableTcpReset": False,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 80,
            "idleTimeoutInMinutes": 15,
            "loadDistribution": "Default",
            "name": "rulelb",
            "probe": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            ),
            "protocol": "Tcp",
        }],
        location="eastus",
        probes=[azure_native.network.ProbeArgs(
            interval_in_seconds=15,
            name="probe-lb",
            number_of_probes=2,
            port=80,
            probe_threshold=1,
            protocol="Http",
            request_path="healthcheck.aspx",
        )],
        resource_group_name="rg1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const loadBalancer = new azure_native.network.LoadBalancer("loadBalancer", {
        backendAddressPools: [{
            name: "be-lb",
        }],
        frontendIPConfigurations: [{
            name: "fe-lb",
            subnet: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            },
        }],
        inboundNatPools: [],
        inboundNatRules: [{
            backendPort: 3389,
            enableFloatingIP: true,
            enableTcpReset: false,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 3389,
            idleTimeoutInMinutes: 15,
            name: "in-nat-rule",
            protocol: "Tcp",
        }],
        loadBalancerName: "lb",
        loadBalancingRules: [{
            backendAddressPool: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            },
            backendPort: 80,
            enableFloatingIP: true,
            enableTcpReset: false,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 80,
            idleTimeoutInMinutes: 15,
            loadDistribution: "Default",
            name: "rulelb",
            probe: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            },
            protocol: "Tcp",
        }],
        location: "eastus",
        probes: [{
            intervalInSeconds: 15,
            name: "probe-lb",
            numberOfProbes: 2,
            port: 80,
            probeThreshold: 1,
            protocol: "Http",
            requestPath: "healthcheck.aspx",
        }],
        resourceGroupName: "rg1",
    });
    
    resources:
      loadBalancer:
        type: azure-native:network:LoadBalancer
        properties:
          backendAddressPools:
            - name: be-lb
          frontendIPConfigurations:
            - name: fe-lb
              subnet:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb
          inboundNatPools: []
          inboundNatRules:
            - backendPort: 3389
              enableFloatingIP: true
              enableTcpReset: false
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 3389
              idleTimeoutInMinutes: 15
              name: in-nat-rule
              protocol: Tcp
          loadBalancerName: lb
          loadBalancingRules:
            - backendAddressPool:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb
              backendPort: 80
              enableFloatingIP: true
              enableTcpReset: false
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 80
              idleTimeoutInMinutes: 15
              loadDistribution: Default
              name: rulelb
              probe:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb
              protocol: Tcp
          location: eastus
          probes:
            - intervalInSeconds: 15
              name: probe-lb
              numberOfProbes: 2
              port: 80
              probeThreshold: 1
              protocol: Http
              requestPath: healthcheck.aspx
          resourceGroupName: rg1
    

    Create load balancer with Frontend IP in Zone 1

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var loadBalancer = new AzureNative.Network.LoadBalancer("loadBalancer", new()
        {
            BackendAddressPools = new[]
            {
                new AzureNative.Network.Inputs.BackendAddressPoolArgs
                {
                    Name = "be-lb",
                },
            },
            FrontendIPConfigurations = new[]
            {
                new AzureNative.Network.Inputs.FrontendIPConfigurationArgs
                {
                    Name = "fe-lb",
                    Subnet = new AzureNative.Network.Inputs.SubnetArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
                    },
                    Zones = new[]
                    {
                        "1",
                    },
                },
            },
            InboundNatPools = new[] {},
            InboundNatRules = new[]
            {
                new AzureNative.Network.Inputs.InboundNatRuleArgs
                {
                    BackendPort = 3389,
                    EnableFloatingIP = true,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 3389,
                    IdleTimeoutInMinutes = 15,
                    Name = "in-nat-rule",
                    Protocol = "Tcp",
                },
            },
            LoadBalancerName = "lb",
            LoadBalancingRules = new[]
            {
                new AzureNative.Network.Inputs.LoadBalancingRuleArgs
                {
                    BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
                    },
                    BackendPort = 80,
                    EnableFloatingIP = true,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 80,
                    IdleTimeoutInMinutes = 15,
                    LoadDistribution = "Default",
                    Name = "rulelb",
                    Probe = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
                    },
                    Protocol = "Tcp",
                },
            },
            Location = "eastus",
            OutboundRules = new[] {},
            Probes = new[]
            {
                new AzureNative.Network.Inputs.ProbeArgs
                {
                    IntervalInSeconds = 15,
                    Name = "probe-lb",
                    NumberOfProbes = 2,
                    Port = 80,
                    ProbeThreshold = 1,
                    Protocol = "Http",
                    RequestPath = "healthcheck.aspx",
                },
            },
            ResourceGroupName = "rg1",
            Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs
            {
                Name = "Standard",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewLoadBalancer(ctx, "loadBalancer", &network.LoadBalancerArgs{
    			BackendAddressPools: []network.BackendAddressPoolArgs{
    				{
    					Name: pulumi.String("be-lb"),
    				},
    			},
    			FrontendIPConfigurations: []network.FrontendIPConfigurationArgs{
    				{
    					Name: pulumi.String("fe-lb"),
    					Subnet: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"),
    					},
    					Zones: pulumi.StringArray{
    						pulumi.String("1"),
    					},
    				},
    			},
    			InboundNatPools: network.InboundNatPoolArray{},
    			InboundNatRules: []network.InboundNatRuleTypeArgs{
    				{
    					BackendPort:      pulumi.Int(3389),
    					EnableFloatingIP: pulumi.Bool(true),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(3389),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					Name:                 pulumi.String("in-nat-rule"),
    					Protocol:             pulumi.String("Tcp"),
    				},
    			},
    			LoadBalancerName: pulumi.String("lb"),
    			LoadBalancingRules: []network.LoadBalancingRuleArgs{
    				{
    					BackendAddressPool: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"),
    					},
    					BackendPort:      pulumi.Int(80),
    					EnableFloatingIP: pulumi.Bool(true),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(80),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					LoadDistribution:     pulumi.String("Default"),
    					Name:                 pulumi.String("rulelb"),
    					Probe: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"),
    					},
    					Protocol: pulumi.String("Tcp"),
    				},
    			},
    			Location:      pulumi.String("eastus"),
    			OutboundRules: network.OutboundRuleArray{},
    			Probes: []network.ProbeArgs{
    				{
    					IntervalInSeconds: pulumi.Int(15),
    					Name:              pulumi.String("probe-lb"),
    					NumberOfProbes:    pulumi.Int(2),
    					Port:              pulumi.Int(80),
    					ProbeThreshold:    pulumi.Int(1),
    					Protocol:          pulumi.String("Http"),
    					RequestPath:       pulumi.String("healthcheck.aspx"),
    				},
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Sku: &network.LoadBalancerSkuArgs{
    				Name: pulumi.String("Standard"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.LoadBalancer;
    import com.pulumi.azurenative.network.LoadBalancerArgs;
    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 loadBalancer = new LoadBalancer("loadBalancer", LoadBalancerArgs.builder()        
                .backendAddressPools(Map.of("name", "be-lb"))
                .frontendIPConfigurations(Map.ofEntries(
                    Map.entry("name", "fe-lb"),
                    Map.entry("subnet", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")),
                    Map.entry("zones", "1")
                ))
                .inboundNatPools()
                .inboundNatRules(Map.ofEntries(
                    Map.entry("backendPort", 3389),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 3389),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("name", "in-nat-rule"),
                    Map.entry("protocol", "Tcp")
                ))
                .loadBalancerName("lb")
                .loadBalancingRules(Map.ofEntries(
                    Map.entry("backendAddressPool", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")),
                    Map.entry("backendPort", 80),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 80),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("loadDistribution", "Default"),
                    Map.entry("name", "rulelb"),
                    Map.entry("probe", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")),
                    Map.entry("protocol", "Tcp")
                ))
                .location("eastus")
                .outboundRules()
                .probes(Map.ofEntries(
                    Map.entry("intervalInSeconds", 15),
                    Map.entry("name", "probe-lb"),
                    Map.entry("numberOfProbes", 2),
                    Map.entry("port", 80),
                    Map.entry("probeThreshold", 1),
                    Map.entry("protocol", "Http"),
                    Map.entry("requestPath", "healthcheck.aspx")
                ))
                .resourceGroupName("rg1")
                .sku(Map.of("name", "Standard"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    load_balancer = azure_native.network.LoadBalancer("loadBalancer",
        backend_address_pools=[azure_native.network.BackendAddressPoolArgs(
            name="be-lb",
        )],
        frontend_ip_configurations=[{
            "name": "fe-lb",
            "subnet": azure_native.network.SubnetArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            ),
            "zones": ["1"],
        }],
        inbound_nat_pools=[],
        inbound_nat_rules=[{
            "backendPort": 3389,
            "enableFloatingIP": True,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 3389,
            "idleTimeoutInMinutes": 15,
            "name": "in-nat-rule",
            "protocol": "Tcp",
        }],
        load_balancer_name="lb",
        load_balancing_rules=[{
            "backendAddressPool": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            ),
            "backendPort": 80,
            "enableFloatingIP": True,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 80,
            "idleTimeoutInMinutes": 15,
            "loadDistribution": "Default",
            "name": "rulelb",
            "probe": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            ),
            "protocol": "Tcp",
        }],
        location="eastus",
        outbound_rules=[],
        probes=[azure_native.network.ProbeArgs(
            interval_in_seconds=15,
            name="probe-lb",
            number_of_probes=2,
            port=80,
            probe_threshold=1,
            protocol="Http",
            request_path="healthcheck.aspx",
        )],
        resource_group_name="rg1",
        sku=azure_native.network.LoadBalancerSkuArgs(
            name="Standard",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const loadBalancer = new azure_native.network.LoadBalancer("loadBalancer", {
        backendAddressPools: [{
            name: "be-lb",
        }],
        frontendIPConfigurations: [{
            name: "fe-lb",
            subnet: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            },
            zones: ["1"],
        }],
        inboundNatPools: [],
        inboundNatRules: [{
            backendPort: 3389,
            enableFloatingIP: true,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 3389,
            idleTimeoutInMinutes: 15,
            name: "in-nat-rule",
            protocol: "Tcp",
        }],
        loadBalancerName: "lb",
        loadBalancingRules: [{
            backendAddressPool: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            },
            backendPort: 80,
            enableFloatingIP: true,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 80,
            idleTimeoutInMinutes: 15,
            loadDistribution: "Default",
            name: "rulelb",
            probe: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            },
            protocol: "Tcp",
        }],
        location: "eastus",
        outboundRules: [],
        probes: [{
            intervalInSeconds: 15,
            name: "probe-lb",
            numberOfProbes: 2,
            port: 80,
            probeThreshold: 1,
            protocol: "Http",
            requestPath: "healthcheck.aspx",
        }],
        resourceGroupName: "rg1",
        sku: {
            name: "Standard",
        },
    });
    
    resources:
      loadBalancer:
        type: azure-native:network:LoadBalancer
        properties:
          backendAddressPools:
            - name: be-lb
          frontendIPConfigurations:
            - name: fe-lb
              subnet:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb
              zones:
                - '1'
          inboundNatPools: []
          inboundNatRules:
            - backendPort: 3389
              enableFloatingIP: true
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 3389
              idleTimeoutInMinutes: 15
              name: in-nat-rule
              protocol: Tcp
          loadBalancerName: lb
          loadBalancingRules:
            - backendAddressPool:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb
              backendPort: 80
              enableFloatingIP: true
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 80
              idleTimeoutInMinutes: 15
              loadDistribution: Default
              name: rulelb
              probe:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb
              protocol: Tcp
          location: eastus
          outboundRules: []
          probes:
            - intervalInSeconds: 15
              name: probe-lb
              numberOfProbes: 2
              port: 80
              probeThreshold: 1
              protocol: Http
              requestPath: healthcheck.aspx
          resourceGroupName: rg1
          sku:
            name: Standard
    

    Create load balancer with Gateway Load Balancer Consumer configured

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var loadBalancer = new AzureNative.Network.LoadBalancer("loadBalancer", new()
        {
            BackendAddressPools = new[]
            {
                new AzureNative.Network.Inputs.BackendAddressPoolArgs
                {
                    Name = "be-lb",
                },
            },
            FrontendIPConfigurations = new[]
            {
                new AzureNative.Network.Inputs.FrontendIPConfigurationArgs
                {
                    GatewayLoadBalancer = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider",
                    },
                    Name = "fe-lb",
                    Subnet = new AzureNative.Network.Inputs.SubnetArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
                    },
                },
            },
            InboundNatPools = new[] {},
            InboundNatRules = new[]
            {
                new AzureNative.Network.Inputs.InboundNatRuleArgs
                {
                    BackendPort = 3389,
                    EnableFloatingIP = true,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 3389,
                    IdleTimeoutInMinutes = 15,
                    Name = "in-nat-rule",
                    Protocol = "Tcp",
                },
            },
            LoadBalancerName = "lb",
            LoadBalancingRules = new[]
            {
                new AzureNative.Network.Inputs.LoadBalancingRuleArgs
                {
                    BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
                    },
                    BackendPort = 80,
                    EnableFloatingIP = true,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 80,
                    IdleTimeoutInMinutes = 15,
                    LoadDistribution = "Default",
                    Name = "rulelb",
                    Probe = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
                    },
                    Protocol = "Tcp",
                },
            },
            Location = "eastus",
            OutboundRules = new[] {},
            Probes = new[]
            {
                new AzureNative.Network.Inputs.ProbeArgs
                {
                    IntervalInSeconds = 15,
                    Name = "probe-lb",
                    NumberOfProbes = 2,
                    Port = 80,
                    ProbeThreshold = 1,
                    Protocol = "Http",
                    RequestPath = "healthcheck.aspx",
                },
            },
            ResourceGroupName = "rg1",
            Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs
            {
                Name = "Standard",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewLoadBalancer(ctx, "loadBalancer", &network.LoadBalancerArgs{
    			BackendAddressPools: []network.BackendAddressPoolArgs{
    				{
    					Name: pulumi.String("be-lb"),
    				},
    			},
    			FrontendIPConfigurations: []network.FrontendIPConfigurationArgs{
    				{
    					GatewayLoadBalancer: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider"),
    					},
    					Name: pulumi.String("fe-lb"),
    					Subnet: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"),
    					},
    				},
    			},
    			InboundNatPools: network.InboundNatPoolArray{},
    			InboundNatRules: []network.InboundNatRuleTypeArgs{
    				{
    					BackendPort:      pulumi.Int(3389),
    					EnableFloatingIP: pulumi.Bool(true),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(3389),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					Name:                 pulumi.String("in-nat-rule"),
    					Protocol:             pulumi.String("Tcp"),
    				},
    			},
    			LoadBalancerName: pulumi.String("lb"),
    			LoadBalancingRules: []network.LoadBalancingRuleArgs{
    				{
    					BackendAddressPool: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"),
    					},
    					BackendPort:      pulumi.Int(80),
    					EnableFloatingIP: pulumi.Bool(true),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(80),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					LoadDistribution:     pulumi.String("Default"),
    					Name:                 pulumi.String("rulelb"),
    					Probe: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"),
    					},
    					Protocol: pulumi.String("Tcp"),
    				},
    			},
    			Location:      pulumi.String("eastus"),
    			OutboundRules: network.OutboundRuleArray{},
    			Probes: []network.ProbeArgs{
    				{
    					IntervalInSeconds: pulumi.Int(15),
    					Name:              pulumi.String("probe-lb"),
    					NumberOfProbes:    pulumi.Int(2),
    					Port:              pulumi.Int(80),
    					ProbeThreshold:    pulumi.Int(1),
    					Protocol:          pulumi.String("Http"),
    					RequestPath:       pulumi.String("healthcheck.aspx"),
    				},
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Sku: &network.LoadBalancerSkuArgs{
    				Name: pulumi.String("Standard"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.LoadBalancer;
    import com.pulumi.azurenative.network.LoadBalancerArgs;
    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 loadBalancer = new LoadBalancer("loadBalancer", LoadBalancerArgs.builder()        
                .backendAddressPools(Map.of("name", "be-lb"))
                .frontendIPConfigurations(Map.ofEntries(
                    Map.entry("gatewayLoadBalancer", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider")),
                    Map.entry("name", "fe-lb"),
                    Map.entry("subnet", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"))
                ))
                .inboundNatPools()
                .inboundNatRules(Map.ofEntries(
                    Map.entry("backendPort", 3389),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 3389),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("name", "in-nat-rule"),
                    Map.entry("protocol", "Tcp")
                ))
                .loadBalancerName("lb")
                .loadBalancingRules(Map.ofEntries(
                    Map.entry("backendAddressPool", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")),
                    Map.entry("backendPort", 80),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 80),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("loadDistribution", "Default"),
                    Map.entry("name", "rulelb"),
                    Map.entry("probe", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")),
                    Map.entry("protocol", "Tcp")
                ))
                .location("eastus")
                .outboundRules()
                .probes(Map.ofEntries(
                    Map.entry("intervalInSeconds", 15),
                    Map.entry("name", "probe-lb"),
                    Map.entry("numberOfProbes", 2),
                    Map.entry("port", 80),
                    Map.entry("probeThreshold", 1),
                    Map.entry("protocol", "Http"),
                    Map.entry("requestPath", "healthcheck.aspx")
                ))
                .resourceGroupName("rg1")
                .sku(Map.of("name", "Standard"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    load_balancer = azure_native.network.LoadBalancer("loadBalancer",
        backend_address_pools=[azure_native.network.BackendAddressPoolArgs(
            name="be-lb",
        )],
        frontend_ip_configurations=[{
            "gatewayLoadBalancer": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider",
            ),
            "name": "fe-lb",
            "subnet": azure_native.network.SubnetArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            ),
        }],
        inbound_nat_pools=[],
        inbound_nat_rules=[{
            "backendPort": 3389,
            "enableFloatingIP": True,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 3389,
            "idleTimeoutInMinutes": 15,
            "name": "in-nat-rule",
            "protocol": "Tcp",
        }],
        load_balancer_name="lb",
        load_balancing_rules=[{
            "backendAddressPool": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            ),
            "backendPort": 80,
            "enableFloatingIP": True,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 80,
            "idleTimeoutInMinutes": 15,
            "loadDistribution": "Default",
            "name": "rulelb",
            "probe": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            ),
            "protocol": "Tcp",
        }],
        location="eastus",
        outbound_rules=[],
        probes=[azure_native.network.ProbeArgs(
            interval_in_seconds=15,
            name="probe-lb",
            number_of_probes=2,
            port=80,
            probe_threshold=1,
            protocol="Http",
            request_path="healthcheck.aspx",
        )],
        resource_group_name="rg1",
        sku=azure_native.network.LoadBalancerSkuArgs(
            name="Standard",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const loadBalancer = new azure_native.network.LoadBalancer("loadBalancer", {
        backendAddressPools: [{
            name: "be-lb",
        }],
        frontendIPConfigurations: [{
            gatewayLoadBalancer: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider",
            },
            name: "fe-lb",
            subnet: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            },
        }],
        inboundNatPools: [],
        inboundNatRules: [{
            backendPort: 3389,
            enableFloatingIP: true,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 3389,
            idleTimeoutInMinutes: 15,
            name: "in-nat-rule",
            protocol: "Tcp",
        }],
        loadBalancerName: "lb",
        loadBalancingRules: [{
            backendAddressPool: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            },
            backendPort: 80,
            enableFloatingIP: true,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 80,
            idleTimeoutInMinutes: 15,
            loadDistribution: "Default",
            name: "rulelb",
            probe: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            },
            protocol: "Tcp",
        }],
        location: "eastus",
        outboundRules: [],
        probes: [{
            intervalInSeconds: 15,
            name: "probe-lb",
            numberOfProbes: 2,
            port: 80,
            probeThreshold: 1,
            protocol: "Http",
            requestPath: "healthcheck.aspx",
        }],
        resourceGroupName: "rg1",
        sku: {
            name: "Standard",
        },
    });
    
    resources:
      loadBalancer:
        type: azure-native:network:LoadBalancer
        properties:
          backendAddressPools:
            - name: be-lb
          frontendIPConfigurations:
            - gatewayLoadBalancer:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider
              name: fe-lb
              subnet:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb
          inboundNatPools: []
          inboundNatRules:
            - backendPort: 3389
              enableFloatingIP: true
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 3389
              idleTimeoutInMinutes: 15
              name: in-nat-rule
              protocol: Tcp
          loadBalancerName: lb
          loadBalancingRules:
            - backendAddressPool:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb
              backendPort: 80
              enableFloatingIP: true
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 80
              idleTimeoutInMinutes: 15
              loadDistribution: Default
              name: rulelb
              probe:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb
              protocol: Tcp
          location: eastus
          outboundRules: []
          probes:
            - intervalInSeconds: 15
              name: probe-lb
              numberOfProbes: 2
              port: 80
              probeThreshold: 1
              protocol: Http
              requestPath: healthcheck.aspx
          resourceGroupName: rg1
          sku:
            name: Standard
    

    Create load balancer with Gateway Load Balancer Provider configured with one Backend Pool

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var loadBalancer = new AzureNative.Network.LoadBalancer("loadBalancer", new()
        {
            BackendAddressPools = new[]
            {
                new AzureNative.Network.Inputs.BackendAddressPoolArgs
                {
                    Name = "be-lb",
                    TunnelInterfaces = new[]
                    {
                        new AzureNative.Network.Inputs.GatewayLoadBalancerTunnelInterfaceArgs
                        {
                            Identifier = 900,
                            Port = 15000,
                            Protocol = "VXLAN",
                            Type = "Internal",
                        },
                        new AzureNative.Network.Inputs.GatewayLoadBalancerTunnelInterfaceArgs
                        {
                            Identifier = 901,
                            Port = 15001,
                            Protocol = "VXLAN",
                            Type = "Internal",
                        },
                    },
                },
            },
            FrontendIPConfigurations = new[]
            {
                new AzureNative.Network.Inputs.FrontendIPConfigurationArgs
                {
                    Name = "fe-lb",
                    Subnet = new AzureNative.Network.Inputs.SubnetArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
                    },
                },
            },
            InboundNatPools = new[] {},
            LoadBalancerName = "lb",
            LoadBalancingRules = new[]
            {
                new AzureNative.Network.Inputs.LoadBalancingRuleArgs
                {
                    BackendAddressPools = new[]
                    {
                        new AzureNative.Network.Inputs.SubResourceArgs
                        {
                            Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
                        },
                    },
                    BackendPort = 0,
                    EnableFloatingIP = true,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 0,
                    IdleTimeoutInMinutes = 15,
                    LoadDistribution = "Default",
                    Name = "rulelb",
                    Probe = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
                    },
                    Protocol = "All",
                },
            },
            Location = "eastus",
            OutboundRules = new[] {},
            Probes = new[]
            {
                new AzureNative.Network.Inputs.ProbeArgs
                {
                    IntervalInSeconds = 15,
                    Name = "probe-lb",
                    NumberOfProbes = 2,
                    Port = 80,
                    ProbeThreshold = 1,
                    Protocol = "Http",
                    RequestPath = "healthcheck.aspx",
                },
            },
            ResourceGroupName = "rg1",
            Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs
            {
                Name = "Premium",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewLoadBalancer(ctx, "loadBalancer", &network.LoadBalancerArgs{
    			BackendAddressPools: []network.BackendAddressPoolArgs{
    				{
    					Name: pulumi.String("be-lb"),
    					TunnelInterfaces: network.GatewayLoadBalancerTunnelInterfaceArray{
    						{
    							Identifier: pulumi.Int(900),
    							Port:       pulumi.Int(15000),
    							Protocol:   pulumi.String("VXLAN"),
    							Type:       pulumi.String("Internal"),
    						},
    						{
    							Identifier: pulumi.Int(901),
    							Port:       pulumi.Int(15001),
    							Protocol:   pulumi.String("VXLAN"),
    							Type:       pulumi.String("Internal"),
    						},
    					},
    				},
    			},
    			FrontendIPConfigurations: []network.FrontendIPConfigurationArgs{
    				{
    					Name: pulumi.String("fe-lb"),
    					Subnet: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"),
    					},
    				},
    			},
    			InboundNatPools:  network.InboundNatPoolArray{},
    			LoadBalancerName: pulumi.String("lb"),
    			LoadBalancingRules: []network.LoadBalancingRuleArgs{
    				{
    					BackendAddressPools: network.SubResourceArray{
    						{
    							Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"),
    						},
    					},
    					BackendPort:      pulumi.Int(0),
    					EnableFloatingIP: pulumi.Bool(true),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(0),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					LoadDistribution:     pulumi.String("Default"),
    					Name:                 pulumi.String("rulelb"),
    					Probe: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"),
    					},
    					Protocol: pulumi.String("All"),
    				},
    			},
    			Location:      pulumi.String("eastus"),
    			OutboundRules: network.OutboundRuleArray{},
    			Probes: []network.ProbeArgs{
    				{
    					IntervalInSeconds: pulumi.Int(15),
    					Name:              pulumi.String("probe-lb"),
    					NumberOfProbes:    pulumi.Int(2),
    					Port:              pulumi.Int(80),
    					ProbeThreshold:    pulumi.Int(1),
    					Protocol:          pulumi.String("Http"),
    					RequestPath:       pulumi.String("healthcheck.aspx"),
    				},
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Sku: &network.LoadBalancerSkuArgs{
    				Name: pulumi.String("Premium"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.LoadBalancer;
    import com.pulumi.azurenative.network.LoadBalancerArgs;
    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 loadBalancer = new LoadBalancer("loadBalancer", LoadBalancerArgs.builder()        
                .backendAddressPools(Map.ofEntries(
                    Map.entry("name", "be-lb"),
                    Map.entry("tunnelInterfaces",                 
                        Map.ofEntries(
                            Map.entry("identifier", 900),
                            Map.entry("port", 15000),
                            Map.entry("protocol", "VXLAN"),
                            Map.entry("type", "Internal")
                        ),
                        Map.ofEntries(
                            Map.entry("identifier", 901),
                            Map.entry("port", 15001),
                            Map.entry("protocol", "VXLAN"),
                            Map.entry("type", "Internal")
                        ))
                ))
                .frontendIPConfigurations(Map.ofEntries(
                    Map.entry("name", "fe-lb"),
                    Map.entry("subnet", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"))
                ))
                .inboundNatPools()
                .loadBalancerName("lb")
                .loadBalancingRules(Map.ofEntries(
                    Map.entry("backendAddressPools", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")),
                    Map.entry("backendPort", 0),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 0),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("loadDistribution", "Default"),
                    Map.entry("name", "rulelb"),
                    Map.entry("probe", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")),
                    Map.entry("protocol", "All")
                ))
                .location("eastus")
                .outboundRules()
                .probes(Map.ofEntries(
                    Map.entry("intervalInSeconds", 15),
                    Map.entry("name", "probe-lb"),
                    Map.entry("numberOfProbes", 2),
                    Map.entry("port", 80),
                    Map.entry("probeThreshold", 1),
                    Map.entry("protocol", "Http"),
                    Map.entry("requestPath", "healthcheck.aspx")
                ))
                .resourceGroupName("rg1")
                .sku(Map.of("name", "Premium"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    load_balancer = azure_native.network.LoadBalancer("loadBalancer",
        backend_address_pools=[{
            "name": "be-lb",
            "tunnelInterfaces": [
                azure_native.network.GatewayLoadBalancerTunnelInterfaceArgs(
                    identifier=900,
                    port=15000,
                    protocol="VXLAN",
                    type="Internal",
                ),
                azure_native.network.GatewayLoadBalancerTunnelInterfaceArgs(
                    identifier=901,
                    port=15001,
                    protocol="VXLAN",
                    type="Internal",
                ),
            ],
        }],
        frontend_ip_configurations=[{
            "name": "fe-lb",
            "subnet": azure_native.network.SubnetArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            ),
        }],
        inbound_nat_pools=[],
        load_balancer_name="lb",
        load_balancing_rules=[{
            "backendAddressPools": [azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            )],
            "backendPort": 0,
            "enableFloatingIP": True,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 0,
            "idleTimeoutInMinutes": 15,
            "loadDistribution": "Default",
            "name": "rulelb",
            "probe": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            ),
            "protocol": "All",
        }],
        location="eastus",
        outbound_rules=[],
        probes=[azure_native.network.ProbeArgs(
            interval_in_seconds=15,
            name="probe-lb",
            number_of_probes=2,
            port=80,
            probe_threshold=1,
            protocol="Http",
            request_path="healthcheck.aspx",
        )],
        resource_group_name="rg1",
        sku=azure_native.network.LoadBalancerSkuArgs(
            name="Premium",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const loadBalancer = new azure_native.network.LoadBalancer("loadBalancer", {
        backendAddressPools: [{
            name: "be-lb",
            tunnelInterfaces: [
                {
                    identifier: 900,
                    port: 15000,
                    protocol: "VXLAN",
                    type: "Internal",
                },
                {
                    identifier: 901,
                    port: 15001,
                    protocol: "VXLAN",
                    type: "Internal",
                },
            ],
        }],
        frontendIPConfigurations: [{
            name: "fe-lb",
            subnet: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            },
        }],
        inboundNatPools: [],
        loadBalancerName: "lb",
        loadBalancingRules: [{
            backendAddressPools: [{
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            }],
            backendPort: 0,
            enableFloatingIP: true,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 0,
            idleTimeoutInMinutes: 15,
            loadDistribution: "Default",
            name: "rulelb",
            probe: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            },
            protocol: "All",
        }],
        location: "eastus",
        outboundRules: [],
        probes: [{
            intervalInSeconds: 15,
            name: "probe-lb",
            numberOfProbes: 2,
            port: 80,
            probeThreshold: 1,
            protocol: "Http",
            requestPath: "healthcheck.aspx",
        }],
        resourceGroupName: "rg1",
        sku: {
            name: "Premium",
        },
    });
    
    resources:
      loadBalancer:
        type: azure-native:network:LoadBalancer
        properties:
          backendAddressPools:
            - name: be-lb
              tunnelInterfaces:
                - identifier: 900
                  port: 15000
                  protocol: VXLAN
                  type: Internal
                - identifier: 901
                  port: 15001
                  protocol: VXLAN
                  type: Internal
          frontendIPConfigurations:
            - name: fe-lb
              subnet:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb
          inboundNatPools: []
          loadBalancerName: lb
          loadBalancingRules:
            - backendAddressPools:
                - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb
              backendPort: 0
              enableFloatingIP: true
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 0
              idleTimeoutInMinutes: 15
              loadDistribution: Default
              name: rulelb
              probe:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb
              protocol: All
          location: eastus
          outboundRules: []
          probes:
            - intervalInSeconds: 15
              name: probe-lb
              numberOfProbes: 2
              port: 80
              probeThreshold: 1
              protocol: Http
              requestPath: healthcheck.aspx
          resourceGroupName: rg1
          sku:
            name: Premium
    

    Create load balancer with Gateway Load Balancer Provider configured with two Backend Pool

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var loadBalancer = new AzureNative.Network.LoadBalancer("loadBalancer", new()
        {
            BackendAddressPools = new[]
            {
                new AzureNative.Network.Inputs.BackendAddressPoolArgs
                {
                    Name = "be-lb1",
                },
                new AzureNative.Network.Inputs.BackendAddressPoolArgs
                {
                    Name = "be-lb2",
                },
            },
            FrontendIPConfigurations = new[]
            {
                new AzureNative.Network.Inputs.FrontendIPConfigurationArgs
                {
                    Name = "fe-lb",
                    Subnet = new AzureNative.Network.Inputs.SubnetArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
                    },
                },
            },
            InboundNatPools = new[] {},
            LoadBalancerName = "lb",
            LoadBalancingRules = new[]
            {
                new AzureNative.Network.Inputs.LoadBalancingRuleArgs
                {
                    BackendAddressPool = null,
                    BackendAddressPools = new[]
                    {
                        new AzureNative.Network.Inputs.SubResourceArgs
                        {
                            Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1",
                        },
                        new AzureNative.Network.Inputs.SubResourceArgs
                        {
                            Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2",
                        },
                    },
                    BackendPort = 0,
                    EnableFloatingIP = true,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 0,
                    IdleTimeoutInMinutes = 15,
                    LoadDistribution = "Default",
                    Name = "rulelb",
                    Probe = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
                    },
                    Protocol = "All",
                },
            },
            Location = "eastus",
            OutboundRules = new[] {},
            Probes = new[]
            {
                new AzureNative.Network.Inputs.ProbeArgs
                {
                    IntervalInSeconds = 15,
                    Name = "probe-lb",
                    NumberOfProbes = 2,
                    Port = 80,
                    ProbeThreshold = 1,
                    Protocol = "Http",
                    RequestPath = "healthcheck.aspx",
                },
            },
            ResourceGroupName = "rg1",
            Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs
            {
                Name = "Premium",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewLoadBalancer(ctx, "loadBalancer", &network.LoadBalancerArgs{
    			BackendAddressPools: []network.BackendAddressPoolArgs{
    				{
    					Name: pulumi.String("be-lb1"),
    				},
    				{
    					Name: pulumi.String("be-lb2"),
    				},
    			},
    			FrontendIPConfigurations: []network.FrontendIPConfigurationArgs{
    				{
    					Name: pulumi.String("fe-lb"),
    					Subnet: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"),
    					},
    				},
    			},
    			InboundNatPools:  network.InboundNatPoolArray{},
    			LoadBalancerName: pulumi.String("lb"),
    			LoadBalancingRules: []network.LoadBalancingRuleArgs{
    				{
    					BackendAddressPool: nil,
    					BackendAddressPools: network.SubResourceArray{
    						{
    							Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1"),
    						},
    						{
    							Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2"),
    						},
    					},
    					BackendPort:      pulumi.Int(0),
    					EnableFloatingIP: pulumi.Bool(true),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(0),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					LoadDistribution:     pulumi.String("Default"),
    					Name:                 pulumi.String("rulelb"),
    					Probe: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"),
    					},
    					Protocol: pulumi.String("All"),
    				},
    			},
    			Location:      pulumi.String("eastus"),
    			OutboundRules: network.OutboundRuleArray{},
    			Probes: []network.ProbeArgs{
    				{
    					IntervalInSeconds: pulumi.Int(15),
    					Name:              pulumi.String("probe-lb"),
    					NumberOfProbes:    pulumi.Int(2),
    					Port:              pulumi.Int(80),
    					ProbeThreshold:    pulumi.Int(1),
    					Protocol:          pulumi.String("Http"),
    					RequestPath:       pulumi.String("healthcheck.aspx"),
    				},
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Sku: &network.LoadBalancerSkuArgs{
    				Name: pulumi.String("Premium"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.LoadBalancer;
    import com.pulumi.azurenative.network.LoadBalancerArgs;
    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 loadBalancer = new LoadBalancer("loadBalancer", LoadBalancerArgs.builder()        
                .backendAddressPools(            
                    Map.of("name", "be-lb1"),
                    Map.of("name", "be-lb2"))
                .frontendIPConfigurations(Map.ofEntries(
                    Map.entry("name", "fe-lb"),
                    Map.entry("subnet", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"))
                ))
                .inboundNatPools()
                .loadBalancerName("lb")
                .loadBalancingRules(Map.ofEntries(
                    Map.entry("backendAddressPool", ),
                    Map.entry("backendAddressPools",                 
                        Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1"),
                        Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2")),
                    Map.entry("backendPort", 0),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 0),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("loadDistribution", "Default"),
                    Map.entry("name", "rulelb"),
                    Map.entry("probe", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")),
                    Map.entry("protocol", "All")
                ))
                .location("eastus")
                .outboundRules()
                .probes(Map.ofEntries(
                    Map.entry("intervalInSeconds", 15),
                    Map.entry("name", "probe-lb"),
                    Map.entry("numberOfProbes", 2),
                    Map.entry("port", 80),
                    Map.entry("probeThreshold", 1),
                    Map.entry("protocol", "Http"),
                    Map.entry("requestPath", "healthcheck.aspx")
                ))
                .resourceGroupName("rg1")
                .sku(Map.of("name", "Premium"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    load_balancer = azure_native.network.LoadBalancer("loadBalancer",
        backend_address_pools=[
            azure_native.network.BackendAddressPoolArgs(
                name="be-lb1",
            ),
            azure_native.network.BackendAddressPoolArgs(
                name="be-lb2",
            ),
        ],
        frontend_ip_configurations=[{
            "name": "fe-lb",
            "subnet": azure_native.network.SubnetArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            ),
        }],
        inbound_nat_pools=[],
        load_balancer_name="lb",
        load_balancing_rules=[{
            "backendAddressPool": azure_native.network.SubResourceArgs(),
            "backendAddressPools": [
                azure_native.network.SubResourceArgs(
                    id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1",
                ),
                azure_native.network.SubResourceArgs(
                    id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2",
                ),
            ],
            "backendPort": 0,
            "enableFloatingIP": True,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 0,
            "idleTimeoutInMinutes": 15,
            "loadDistribution": "Default",
            "name": "rulelb",
            "probe": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            ),
            "protocol": "All",
        }],
        location="eastus",
        outbound_rules=[],
        probes=[azure_native.network.ProbeArgs(
            interval_in_seconds=15,
            name="probe-lb",
            number_of_probes=2,
            port=80,
            probe_threshold=1,
            protocol="Http",
            request_path="healthcheck.aspx",
        )],
        resource_group_name="rg1",
        sku=azure_native.network.LoadBalancerSkuArgs(
            name="Premium",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const loadBalancer = new azure_native.network.LoadBalancer("loadBalancer", {
        backendAddressPools: [
            {
                name: "be-lb1",
            },
            {
                name: "be-lb2",
            },
        ],
        frontendIPConfigurations: [{
            name: "fe-lb",
            subnet: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            },
        }],
        inboundNatPools: [],
        loadBalancerName: "lb",
        loadBalancingRules: [{
            backendAddressPool: {},
            backendAddressPools: [
                {
                    id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1",
                },
                {
                    id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2",
                },
            ],
            backendPort: 0,
            enableFloatingIP: true,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 0,
            idleTimeoutInMinutes: 15,
            loadDistribution: "Default",
            name: "rulelb",
            probe: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            },
            protocol: "All",
        }],
        location: "eastus",
        outboundRules: [],
        probes: [{
            intervalInSeconds: 15,
            name: "probe-lb",
            numberOfProbes: 2,
            port: 80,
            probeThreshold: 1,
            protocol: "Http",
            requestPath: "healthcheck.aspx",
        }],
        resourceGroupName: "rg1",
        sku: {
            name: "Premium",
        },
    });
    
    resources:
      loadBalancer:
        type: azure-native:network:LoadBalancer
        properties:
          backendAddressPools:
            - name: be-lb1
            - name: be-lb2
          frontendIPConfigurations:
            - name: fe-lb
              subnet:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb
          inboundNatPools: []
          loadBalancerName: lb
          loadBalancingRules:
            - backendAddressPool: {}
              backendAddressPools:
                - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1
                - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2
              backendPort: 0
              enableFloatingIP: true
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 0
              idleTimeoutInMinutes: 15
              loadDistribution: Default
              name: rulelb
              probe:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb
              protocol: All
          location: eastus
          outboundRules: []
          probes:
            - intervalInSeconds: 15
              name: probe-lb
              numberOfProbes: 2
              port: 80
              probeThreshold: 1
              protocol: Http
              requestPath: healthcheck.aspx
          resourceGroupName: rg1
          sku:
            name: Premium
    

    Create load balancer with Global Tier and one regional load balancer in its backend pool

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var loadBalancer = new AzureNative.Network.LoadBalancer("loadBalancer", new()
        {
            BackendAddressPools = new[]
            {
                new AzureNative.Network.Inputs.BackendAddressPoolArgs
                {
                    LoadBalancerBackendAddresses = new[]
                    {
                        new AzureNative.Network.Inputs.LoadBalancerBackendAddressArgs
                        {
                            LoadBalancerFrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                            {
                                Id = "/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb",
                            },
                            Name = "regional-lb1-address",
                        },
                    },
                    Name = "be-lb",
                },
            },
            FrontendIPConfigurations = new[]
            {
                new AzureNative.Network.Inputs.FrontendIPConfigurationArgs
                {
                    Name = "fe-lb",
                    Subnet = new AzureNative.Network.Inputs.SubnetArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
                    },
                },
            },
            LoadBalancerName = "lb",
            LoadBalancingRules = new[]
            {
                new AzureNative.Network.Inputs.LoadBalancingRuleArgs
                {
                    BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
                    },
                    BackendPort = 80,
                    EnableFloatingIP = false,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 80,
                    IdleTimeoutInMinutes = 15,
                    LoadDistribution = "Default",
                    Name = "rulelb",
                    Probe = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
                    },
                    Protocol = "Tcp",
                },
            },
            Location = "eastus",
            Probes = new[]
            {
                new AzureNative.Network.Inputs.ProbeArgs
                {
                    IntervalInSeconds = 15,
                    Name = "probe-lb",
                    NumberOfProbes = 2,
                    Port = 80,
                    ProbeThreshold = 1,
                    Protocol = "Http",
                    RequestPath = "healthcheck.aspx",
                },
            },
            ResourceGroupName = "rg1",
            Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs
            {
                Name = "Standard",
                Tier = "Global",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewLoadBalancer(ctx, "loadBalancer", &network.LoadBalancerArgs{
    			BackendAddressPools: []network.BackendAddressPoolArgs{
    				{
    					LoadBalancerBackendAddresses: network.LoadBalancerBackendAddressArray{
    						{
    							LoadBalancerFrontendIPConfiguration: {
    								Id: pulumi.String("/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb"),
    							},
    							Name: pulumi.String("regional-lb1-address"),
    						},
    					},
    					Name: pulumi.String("be-lb"),
    				},
    			},
    			FrontendIPConfigurations: []network.FrontendIPConfigurationArgs{
    				{
    					Name: pulumi.String("fe-lb"),
    					Subnet: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"),
    					},
    				},
    			},
    			LoadBalancerName: pulumi.String("lb"),
    			LoadBalancingRules: []network.LoadBalancingRuleArgs{
    				{
    					BackendAddressPool: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"),
    					},
    					BackendPort:      pulumi.Int(80),
    					EnableFloatingIP: pulumi.Bool(false),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(80),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					LoadDistribution:     pulumi.String("Default"),
    					Name:                 pulumi.String("rulelb"),
    					Probe: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"),
    					},
    					Protocol: pulumi.String("Tcp"),
    				},
    			},
    			Location: pulumi.String("eastus"),
    			Probes: []network.ProbeArgs{
    				{
    					IntervalInSeconds: pulumi.Int(15),
    					Name:              pulumi.String("probe-lb"),
    					NumberOfProbes:    pulumi.Int(2),
    					Port:              pulumi.Int(80),
    					ProbeThreshold:    pulumi.Int(1),
    					Protocol:          pulumi.String("Http"),
    					RequestPath:       pulumi.String("healthcheck.aspx"),
    				},
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Sku: &network.LoadBalancerSkuArgs{
    				Name: pulumi.String("Standard"),
    				Tier: pulumi.String("Global"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.LoadBalancer;
    import com.pulumi.azurenative.network.LoadBalancerArgs;
    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 loadBalancer = new LoadBalancer("loadBalancer", LoadBalancerArgs.builder()        
                .backendAddressPools(Map.ofEntries(
                    Map.entry("loadBalancerBackendAddresses", Map.ofEntries(
                        Map.entry("loadBalancerFrontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb")),
                        Map.entry("name", "regional-lb1-address")
                    )),
                    Map.entry("name", "be-lb")
                ))
                .frontendIPConfigurations(Map.ofEntries(
                    Map.entry("name", "fe-lb"),
                    Map.entry("subnet", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"))
                ))
                .loadBalancerName("lb")
                .loadBalancingRules(Map.ofEntries(
                    Map.entry("backendAddressPool", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")),
                    Map.entry("backendPort", 80),
                    Map.entry("enableFloatingIP", false),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 80),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("loadDistribution", "Default"),
                    Map.entry("name", "rulelb"),
                    Map.entry("probe", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")),
                    Map.entry("protocol", "Tcp")
                ))
                .location("eastus")
                .probes(Map.ofEntries(
                    Map.entry("intervalInSeconds", 15),
                    Map.entry("name", "probe-lb"),
                    Map.entry("numberOfProbes", 2),
                    Map.entry("port", 80),
                    Map.entry("probeThreshold", 1),
                    Map.entry("protocol", "Http"),
                    Map.entry("requestPath", "healthcheck.aspx")
                ))
                .resourceGroupName("rg1")
                .sku(Map.ofEntries(
                    Map.entry("name", "Standard"),
                    Map.entry("tier", "Global")
                ))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    load_balancer = azure_native.network.LoadBalancer("loadBalancer",
        backend_address_pools=[{
            "loadBalancerBackendAddresses": [{
                "loadBalancerFrontendIPConfiguration": azure_native.network.SubResourceArgs(
                    id="/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb",
                ),
                "name": "regional-lb1-address",
            }],
            "name": "be-lb",
        }],
        frontend_ip_configurations=[{
            "name": "fe-lb",
            "subnet": azure_native.network.SubnetArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            ),
        }],
        load_balancer_name="lb",
        load_balancing_rules=[{
            "backendAddressPool": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            ),
            "backendPort": 80,
            "enableFloatingIP": False,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 80,
            "idleTimeoutInMinutes": 15,
            "loadDistribution": "Default",
            "name": "rulelb",
            "probe": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            ),
            "protocol": "Tcp",
        }],
        location="eastus",
        probes=[azure_native.network.ProbeArgs(
            interval_in_seconds=15,
            name="probe-lb",
            number_of_probes=2,
            port=80,
            probe_threshold=1,
            protocol="Http",
            request_path="healthcheck.aspx",
        )],
        resource_group_name="rg1",
        sku=azure_native.network.LoadBalancerSkuArgs(
            name="Standard",
            tier="Global",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const loadBalancer = new azure_native.network.LoadBalancer("loadBalancer", {
        backendAddressPools: [{
            loadBalancerBackendAddresses: [{
                loadBalancerFrontendIPConfiguration: {
                    id: "/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb",
                },
                name: "regional-lb1-address",
            }],
            name: "be-lb",
        }],
        frontendIPConfigurations: [{
            name: "fe-lb",
            subnet: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            },
        }],
        loadBalancerName: "lb",
        loadBalancingRules: [{
            backendAddressPool: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            },
            backendPort: 80,
            enableFloatingIP: false,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 80,
            idleTimeoutInMinutes: 15,
            loadDistribution: "Default",
            name: "rulelb",
            probe: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            },
            protocol: "Tcp",
        }],
        location: "eastus",
        probes: [{
            intervalInSeconds: 15,
            name: "probe-lb",
            numberOfProbes: 2,
            port: 80,
            probeThreshold: 1,
            protocol: "Http",
            requestPath: "healthcheck.aspx",
        }],
        resourceGroupName: "rg1",
        sku: {
            name: "Standard",
            tier: "Global",
        },
    });
    
    resources:
      loadBalancer:
        type: azure-native:network:LoadBalancer
        properties:
          backendAddressPools:
            - loadBalancerBackendAddresses:
                - loadBalancerFrontendIPConfiguration:
                    id: /subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb
                  name: regional-lb1-address
              name: be-lb
          frontendIPConfigurations:
            - name: fe-lb
              subnet:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb
          loadBalancerName: lb
          loadBalancingRules:
            - backendAddressPool:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb
              backendPort: 80
              enableFloatingIP: false
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 80
              idleTimeoutInMinutes: 15
              loadDistribution: Default
              name: rulelb
              probe:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb
              protocol: Tcp
          location: eastus
          probes:
            - intervalInSeconds: 15
              name: probe-lb
              numberOfProbes: 2
              port: 80
              probeThreshold: 1
              protocol: Http
              requestPath: healthcheck.aspx
          resourceGroupName: rg1
          sku:
            name: Standard
            tier: Global
    

    Create load balancer with Standard SKU

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var loadBalancer = new AzureNative.Network.LoadBalancer("loadBalancer", new()
        {
            BackendAddressPools = new[]
            {
                new AzureNative.Network.Inputs.BackendAddressPoolArgs
                {
                    Name = "be-lb",
                },
            },
            FrontendIPConfigurations = new[]
            {
                new AzureNative.Network.Inputs.FrontendIPConfigurationArgs
                {
                    Name = "fe-lb",
                    Subnet = new AzureNative.Network.Inputs.SubnetArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
                    },
                },
            },
            InboundNatPools = new[] {},
            InboundNatRules = new[]
            {
                new AzureNative.Network.Inputs.InboundNatRuleArgs
                {
                    BackendPort = 3389,
                    EnableFloatingIP = true,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 3389,
                    IdleTimeoutInMinutes = 15,
                    Name = "in-nat-rule",
                    Protocol = "Tcp",
                },
            },
            LoadBalancerName = "lb",
            LoadBalancingRules = new[]
            {
                new AzureNative.Network.Inputs.LoadBalancingRuleArgs
                {
                    BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
                    },
                    BackendPort = 80,
                    EnableFloatingIP = true,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 80,
                    IdleTimeoutInMinutes = 15,
                    LoadDistribution = "Default",
                    Name = "rulelb",
                    Probe = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
                    },
                    Protocol = "Tcp",
                },
            },
            Location = "eastus",
            OutboundRules = new[] {},
            Probes = new[]
            {
                new AzureNative.Network.Inputs.ProbeArgs
                {
                    IntervalInSeconds = 15,
                    Name = "probe-lb",
                    NumberOfProbes = 2,
                    Port = 80,
                    ProbeThreshold = 1,
                    Protocol = "Http",
                    RequestPath = "healthcheck.aspx",
                },
            },
            ResourceGroupName = "rg1",
            Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs
            {
                Name = "Standard",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewLoadBalancer(ctx, "loadBalancer", &network.LoadBalancerArgs{
    			BackendAddressPools: []network.BackendAddressPoolArgs{
    				{
    					Name: pulumi.String("be-lb"),
    				},
    			},
    			FrontendIPConfigurations: []network.FrontendIPConfigurationArgs{
    				{
    					Name: pulumi.String("fe-lb"),
    					Subnet: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"),
    					},
    				},
    			},
    			InboundNatPools: network.InboundNatPoolArray{},
    			InboundNatRules: []network.InboundNatRuleTypeArgs{
    				{
    					BackendPort:      pulumi.Int(3389),
    					EnableFloatingIP: pulumi.Bool(true),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(3389),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					Name:                 pulumi.String("in-nat-rule"),
    					Protocol:             pulumi.String("Tcp"),
    				},
    			},
    			LoadBalancerName: pulumi.String("lb"),
    			LoadBalancingRules: []network.LoadBalancingRuleArgs{
    				{
    					BackendAddressPool: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"),
    					},
    					BackendPort:      pulumi.Int(80),
    					EnableFloatingIP: pulumi.Bool(true),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(80),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					LoadDistribution:     pulumi.String("Default"),
    					Name:                 pulumi.String("rulelb"),
    					Probe: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"),
    					},
    					Protocol: pulumi.String("Tcp"),
    				},
    			},
    			Location:      pulumi.String("eastus"),
    			OutboundRules: network.OutboundRuleArray{},
    			Probes: []network.ProbeArgs{
    				{
    					IntervalInSeconds: pulumi.Int(15),
    					Name:              pulumi.String("probe-lb"),
    					NumberOfProbes:    pulumi.Int(2),
    					Port:              pulumi.Int(80),
    					ProbeThreshold:    pulumi.Int(1),
    					Protocol:          pulumi.String("Http"),
    					RequestPath:       pulumi.String("healthcheck.aspx"),
    				},
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Sku: &network.LoadBalancerSkuArgs{
    				Name: pulumi.String("Standard"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.LoadBalancer;
    import com.pulumi.azurenative.network.LoadBalancerArgs;
    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 loadBalancer = new LoadBalancer("loadBalancer", LoadBalancerArgs.builder()        
                .backendAddressPools(Map.of("name", "be-lb"))
                .frontendIPConfigurations(Map.ofEntries(
                    Map.entry("name", "fe-lb"),
                    Map.entry("subnet", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"))
                ))
                .inboundNatPools()
                .inboundNatRules(Map.ofEntries(
                    Map.entry("backendPort", 3389),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 3389),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("name", "in-nat-rule"),
                    Map.entry("protocol", "Tcp")
                ))
                .loadBalancerName("lb")
                .loadBalancingRules(Map.ofEntries(
                    Map.entry("backendAddressPool", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")),
                    Map.entry("backendPort", 80),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 80),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("loadDistribution", "Default"),
                    Map.entry("name", "rulelb"),
                    Map.entry("probe", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")),
                    Map.entry("protocol", "Tcp")
                ))
                .location("eastus")
                .outboundRules()
                .probes(Map.ofEntries(
                    Map.entry("intervalInSeconds", 15),
                    Map.entry("name", "probe-lb"),
                    Map.entry("numberOfProbes", 2),
                    Map.entry("port", 80),
                    Map.entry("probeThreshold", 1),
                    Map.entry("protocol", "Http"),
                    Map.entry("requestPath", "healthcheck.aspx")
                ))
                .resourceGroupName("rg1")
                .sku(Map.of("name", "Standard"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    load_balancer = azure_native.network.LoadBalancer("loadBalancer",
        backend_address_pools=[azure_native.network.BackendAddressPoolArgs(
            name="be-lb",
        )],
        frontend_ip_configurations=[{
            "name": "fe-lb",
            "subnet": azure_native.network.SubnetArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            ),
        }],
        inbound_nat_pools=[],
        inbound_nat_rules=[{
            "backendPort": 3389,
            "enableFloatingIP": True,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 3389,
            "idleTimeoutInMinutes": 15,
            "name": "in-nat-rule",
            "protocol": "Tcp",
        }],
        load_balancer_name="lb",
        load_balancing_rules=[{
            "backendAddressPool": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            ),
            "backendPort": 80,
            "enableFloatingIP": True,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 80,
            "idleTimeoutInMinutes": 15,
            "loadDistribution": "Default",
            "name": "rulelb",
            "probe": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            ),
            "protocol": "Tcp",
        }],
        location="eastus",
        outbound_rules=[],
        probes=[azure_native.network.ProbeArgs(
            interval_in_seconds=15,
            name="probe-lb",
            number_of_probes=2,
            port=80,
            probe_threshold=1,
            protocol="Http",
            request_path="healthcheck.aspx",
        )],
        resource_group_name="rg1",
        sku=azure_native.network.LoadBalancerSkuArgs(
            name="Standard",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const loadBalancer = new azure_native.network.LoadBalancer("loadBalancer", {
        backendAddressPools: [{
            name: "be-lb",
        }],
        frontendIPConfigurations: [{
            name: "fe-lb",
            subnet: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb",
            },
        }],
        inboundNatPools: [],
        inboundNatRules: [{
            backendPort: 3389,
            enableFloatingIP: true,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 3389,
            idleTimeoutInMinutes: 15,
            name: "in-nat-rule",
            protocol: "Tcp",
        }],
        loadBalancerName: "lb",
        loadBalancingRules: [{
            backendAddressPool: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            },
            backendPort: 80,
            enableFloatingIP: true,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 80,
            idleTimeoutInMinutes: 15,
            loadDistribution: "Default",
            name: "rulelb",
            probe: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            },
            protocol: "Tcp",
        }],
        location: "eastus",
        outboundRules: [],
        probes: [{
            intervalInSeconds: 15,
            name: "probe-lb",
            numberOfProbes: 2,
            port: 80,
            probeThreshold: 1,
            protocol: "Http",
            requestPath: "healthcheck.aspx",
        }],
        resourceGroupName: "rg1",
        sku: {
            name: "Standard",
        },
    });
    
    resources:
      loadBalancer:
        type: azure-native:network:LoadBalancer
        properties:
          backendAddressPools:
            - name: be-lb
          frontendIPConfigurations:
            - name: fe-lb
              subnet:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb
          inboundNatPools: []
          inboundNatRules:
            - backendPort: 3389
              enableFloatingIP: true
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 3389
              idleTimeoutInMinutes: 15
              name: in-nat-rule
              protocol: Tcp
          loadBalancerName: lb
          loadBalancingRules:
            - backendAddressPool:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb
              backendPort: 80
              enableFloatingIP: true
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 80
              idleTimeoutInMinutes: 15
              loadDistribution: Default
              name: rulelb
              probe:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb
              protocol: Tcp
          location: eastus
          outboundRules: []
          probes:
            - intervalInSeconds: 15
              name: probe-lb
              numberOfProbes: 2
              port: 80
              probeThreshold: 1
              protocol: Http
              requestPath: healthcheck.aspx
          resourceGroupName: rg1
          sku:
            name: Standard
    

    Create load balancer with inbound nat pool

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var loadBalancer = new AzureNative.Network.LoadBalancer("loadBalancer", new()
        {
            BackendAddressPools = new[] {},
            FrontendIPConfigurations = new[]
            {
                new AzureNative.Network.Inputs.FrontendIPConfigurationArgs
                {
                    Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test",
                    Name = "test",
                    PrivateIPAllocationMethod = "Dynamic",
                    Subnet = new AzureNative.Network.Inputs.SubnetArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet",
                    },
                    Zones = new() { },
                },
            },
            InboundNatPools = new[]
            {
                new AzureNative.Network.Inputs.InboundNatPoolArgs
                {
                    BackendPort = 8888,
                    EnableFloatingIP = true,
                    EnableTcpReset = true,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test",
                    },
                    FrontendPortRangeEnd = 8085,
                    FrontendPortRangeStart = 8080,
                    Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test",
                    IdleTimeoutInMinutes = 10,
                    Name = "test",
                    Protocol = "Tcp",
                },
            },
            InboundNatRules = new[] {},
            LoadBalancerName = "lb",
            LoadBalancingRules = new[] {},
            Location = "eastus",
            OutboundRules = new[] {},
            Probes = new[] {},
            ResourceGroupName = "rg1",
            Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs
            {
                Name = "Standard",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewLoadBalancer(ctx, "loadBalancer", &network.LoadBalancerArgs{
    			BackendAddressPools: network.BackendAddressPoolArray{},
    			FrontendIPConfigurations: []network.FrontendIPConfigurationArgs{
    				{
    					Id:                        pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"),
    					Name:                      pulumi.String("test"),
    					PrivateIPAllocationMethod: pulumi.String("Dynamic"),
    					Subnet: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet"),
    					},
    					Zones: pulumi.StringArray{},
    				},
    			},
    			InboundNatPools: []network.InboundNatPoolArgs{
    				{
    					BackendPort:      pulumi.Int(8888),
    					EnableFloatingIP: pulumi.Bool(true),
    					EnableTcpReset:   pulumi.Bool(true),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"),
    					},
    					FrontendPortRangeEnd:   pulumi.Int(8085),
    					FrontendPortRangeStart: pulumi.Int(8080),
    					Id:                     pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test"),
    					IdleTimeoutInMinutes:   pulumi.Int(10),
    					Name:                   pulumi.String("test"),
    					Protocol:               pulumi.String("Tcp"),
    				},
    			},
    			InboundNatRules:    network.InboundNatRuleTypeArray{},
    			LoadBalancerName:   pulumi.String("lb"),
    			LoadBalancingRules: network.LoadBalancingRuleArray{},
    			Location:           pulumi.String("eastus"),
    			OutboundRules:      network.OutboundRuleArray{},
    			Probes:             network.ProbeArray{},
    			ResourceGroupName:  pulumi.String("rg1"),
    			Sku: &network.LoadBalancerSkuArgs{
    				Name: pulumi.String("Standard"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.LoadBalancer;
    import com.pulumi.azurenative.network.LoadBalancerArgs;
    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 loadBalancer = new LoadBalancer("loadBalancer", LoadBalancerArgs.builder()        
                .backendAddressPools()
                .frontendIPConfigurations(Map.ofEntries(
                    Map.entry("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"),
                    Map.entry("name", "test"),
                    Map.entry("privateIPAllocationMethod", "Dynamic"),
                    Map.entry("subnet", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet")),
                    Map.entry("zones", )
                ))
                .inboundNatPools(Map.ofEntries(
                    Map.entry("backendPort", 8888),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("enableTcpReset", true),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test")),
                    Map.entry("frontendPortRangeEnd", 8085),
                    Map.entry("frontendPortRangeStart", 8080),
                    Map.entry("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test"),
                    Map.entry("idleTimeoutInMinutes", 10),
                    Map.entry("name", "test"),
                    Map.entry("protocol", "Tcp")
                ))
                .inboundNatRules()
                .loadBalancerName("lb")
                .loadBalancingRules()
                .location("eastus")
                .outboundRules()
                .probes()
                .resourceGroupName("rg1")
                .sku(Map.of("name", "Standard"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    load_balancer = azure_native.network.LoadBalancer("loadBalancer",
        backend_address_pools=[],
        frontend_ip_configurations=[{
            "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test",
            "name": "test",
            "privateIPAllocationMethod": "Dynamic",
            "subnet": azure_native.network.SubnetArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet",
            ),
            "zones": [],
        }],
        inbound_nat_pools=[{
            "backendPort": 8888,
            "enableFloatingIP": True,
            "enableTcpReset": True,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test",
            ),
            "frontendPortRangeEnd": 8085,
            "frontendPortRangeStart": 8080,
            "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test",
            "idleTimeoutInMinutes": 10,
            "name": "test",
            "protocol": "Tcp",
        }],
        inbound_nat_rules=[],
        load_balancer_name="lb",
        load_balancing_rules=[],
        location="eastus",
        outbound_rules=[],
        probes=[],
        resource_group_name="rg1",
        sku=azure_native.network.LoadBalancerSkuArgs(
            name="Standard",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const loadBalancer = new azure_native.network.LoadBalancer("loadBalancer", {
        backendAddressPools: [],
        frontendIPConfigurations: [{
            id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test",
            name: "test",
            privateIPAllocationMethod: "Dynamic",
            subnet: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet",
            },
            zones: [],
        }],
        inboundNatPools: [{
            backendPort: 8888,
            enableFloatingIP: true,
            enableTcpReset: true,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test",
            },
            frontendPortRangeEnd: 8085,
            frontendPortRangeStart: 8080,
            id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test",
            idleTimeoutInMinutes: 10,
            name: "test",
            protocol: "Tcp",
        }],
        inboundNatRules: [],
        loadBalancerName: "lb",
        loadBalancingRules: [],
        location: "eastus",
        outboundRules: [],
        probes: [],
        resourceGroupName: "rg1",
        sku: {
            name: "Standard",
        },
    });
    
    resources:
      loadBalancer:
        type: azure-native:network:LoadBalancer
        properties:
          backendAddressPools: []
          frontendIPConfigurations:
            - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test
              name: test
              privateIPAllocationMethod: Dynamic
              subnet:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet
              zones: []
          inboundNatPools:
            - backendPort: 8888
              enableFloatingIP: true
              enableTcpReset: true
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test
              frontendPortRangeEnd: 8085
              frontendPortRangeStart: 8080
              id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test
              idleTimeoutInMinutes: 10
              name: test
              protocol: Tcp
          inboundNatRules: []
          loadBalancerName: lb
          loadBalancingRules: []
          location: eastus
          outboundRules: []
          probes: []
          resourceGroupName: rg1
          sku:
            name: Standard
    

    Create load balancer with outbound rules

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var loadBalancer = new AzureNative.Network.LoadBalancer("loadBalancer", new()
        {
            BackendAddressPools = new[]
            {
                new AzureNative.Network.Inputs.BackendAddressPoolArgs
                {
                    Name = "be-lb",
                },
            },
            FrontendIPConfigurations = new[]
            {
                new AzureNative.Network.Inputs.FrontendIPConfigurationArgs
                {
                    Name = "fe-lb",
                    PublicIPAddress = new AzureNative.Network.Inputs.PublicIPAddressArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip",
                    },
                },
            },
            InboundNatPools = new[] {},
            InboundNatRules = new[]
            {
                new AzureNative.Network.Inputs.InboundNatRuleArgs
                {
                    BackendPort = 3389,
                    EnableFloatingIP = true,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 3389,
                    IdleTimeoutInMinutes = 15,
                    Name = "in-nat-rule",
                    Protocol = "Tcp",
                },
            },
            LoadBalancerName = "lb",
            LoadBalancingRules = new[]
            {
                new AzureNative.Network.Inputs.LoadBalancingRuleArgs
                {
                    BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
                    },
                    BackendPort = 80,
                    DisableOutboundSnat = true,
                    EnableFloatingIP = true,
                    FrontendIPConfiguration = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                    },
                    FrontendPort = 80,
                    IdleTimeoutInMinutes = 15,
                    LoadDistribution = "Default",
                    Name = "rulelb",
                    Probe = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
                    },
                    Protocol = "Tcp",
                },
            },
            Location = "eastus",
            OutboundRules = new[]
            {
                new AzureNative.Network.Inputs.OutboundRuleArgs
                {
                    BackendAddressPool = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
                    },
                    FrontendIPConfigurations = new[]
                    {
                        new AzureNative.Network.Inputs.SubResourceArgs
                        {
                            Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
                        },
                    },
                    Name = "rule1",
                    Protocol = "All",
                },
            },
            Probes = new[]
            {
                new AzureNative.Network.Inputs.ProbeArgs
                {
                    IntervalInSeconds = 15,
                    Name = "probe-lb",
                    NumberOfProbes = 2,
                    Port = 80,
                    ProbeThreshold = 1,
                    Protocol = "Http",
                    RequestPath = "healthcheck.aspx",
                },
            },
            ResourceGroupName = "rg1",
            Sku = new AzureNative.Network.Inputs.LoadBalancerSkuArgs
            {
                Name = "Standard",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewLoadBalancer(ctx, "loadBalancer", &network.LoadBalancerArgs{
    			BackendAddressPools: []network.BackendAddressPoolArgs{
    				{
    					Name: pulumi.String("be-lb"),
    				},
    			},
    			FrontendIPConfigurations: []network.FrontendIPConfigurationArgs{
    				{
    					Name: pulumi.String("fe-lb"),
    					PublicIPAddress: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip"),
    					},
    				},
    			},
    			InboundNatPools: network.InboundNatPoolArray{},
    			InboundNatRules: []network.InboundNatRuleTypeArgs{
    				{
    					BackendPort:      pulumi.Int(3389),
    					EnableFloatingIP: pulumi.Bool(true),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(3389),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					Name:                 pulumi.String("in-nat-rule"),
    					Protocol:             pulumi.String("Tcp"),
    				},
    			},
    			LoadBalancerName: pulumi.String("lb"),
    			LoadBalancingRules: []network.LoadBalancingRuleArgs{
    				{
    					BackendAddressPool: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"),
    					},
    					BackendPort:         pulumi.Int(80),
    					DisableOutboundSnat: pulumi.Bool(true),
    					EnableFloatingIP:    pulumi.Bool(true),
    					FrontendIPConfiguration: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    					},
    					FrontendPort:         pulumi.Int(80),
    					IdleTimeoutInMinutes: pulumi.Int(15),
    					LoadDistribution:     pulumi.String("Default"),
    					Name:                 pulumi.String("rulelb"),
    					Probe: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"),
    					},
    					Protocol: pulumi.String("Tcp"),
    				},
    			},
    			Location: pulumi.String("eastus"),
    			OutboundRules: []network.OutboundRuleArgs{
    				{
    					BackendAddressPool: {
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"),
    					},
    					FrontendIPConfigurations: network.SubResourceArray{
    						{
    							Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"),
    						},
    					},
    					Name:     pulumi.String("rule1"),
    					Protocol: pulumi.String("All"),
    				},
    			},
    			Probes: []network.ProbeArgs{
    				{
    					IntervalInSeconds: pulumi.Int(15),
    					Name:              pulumi.String("probe-lb"),
    					NumberOfProbes:    pulumi.Int(2),
    					Port:              pulumi.Int(80),
    					ProbeThreshold:    pulumi.Int(1),
    					Protocol:          pulumi.String("Http"),
    					RequestPath:       pulumi.String("healthcheck.aspx"),
    				},
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			Sku: &network.LoadBalancerSkuArgs{
    				Name: pulumi.String("Standard"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.LoadBalancer;
    import com.pulumi.azurenative.network.LoadBalancerArgs;
    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 loadBalancer = new LoadBalancer("loadBalancer", LoadBalancerArgs.builder()        
                .backendAddressPools(Map.of("name", "be-lb"))
                .frontendIPConfigurations(Map.ofEntries(
                    Map.entry("name", "fe-lb"),
                    Map.entry("publicIPAddress", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip"))
                ))
                .inboundNatPools()
                .inboundNatRules(Map.ofEntries(
                    Map.entry("backendPort", 3389),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 3389),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("name", "in-nat-rule"),
                    Map.entry("protocol", "Tcp")
                ))
                .loadBalancerName("lb")
                .loadBalancingRules(Map.ofEntries(
                    Map.entry("backendAddressPool", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")),
                    Map.entry("backendPort", 80),
                    Map.entry("disableOutboundSnat", true),
                    Map.entry("enableFloatingIP", true),
                    Map.entry("frontendIPConfiguration", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("frontendPort", 80),
                    Map.entry("idleTimeoutInMinutes", 15),
                    Map.entry("loadDistribution", "Default"),
                    Map.entry("name", "rulelb"),
                    Map.entry("probe", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")),
                    Map.entry("protocol", "Tcp")
                ))
                .location("eastus")
                .outboundRules(Map.ofEntries(
                    Map.entry("backendAddressPool", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")),
                    Map.entry("frontendIPConfigurations", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")),
                    Map.entry("name", "rule1"),
                    Map.entry("protocol", "All")
                ))
                .probes(Map.ofEntries(
                    Map.entry("intervalInSeconds", 15),
                    Map.entry("name", "probe-lb"),
                    Map.entry("numberOfProbes", 2),
                    Map.entry("port", 80),
                    Map.entry("probeThreshold", 1),
                    Map.entry("protocol", "Http"),
                    Map.entry("requestPath", "healthcheck.aspx")
                ))
                .resourceGroupName("rg1")
                .sku(Map.of("name", "Standard"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    load_balancer = azure_native.network.LoadBalancer("loadBalancer",
        backend_address_pools=[azure_native.network.BackendAddressPoolArgs(
            name="be-lb",
        )],
        frontend_ip_configurations=[azure_native.network.FrontendIPConfigurationArgs(
            name="fe-lb",
            public_ip_address=azure_native.network.PublicIPAddressArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip",
            ),
        )],
        inbound_nat_pools=[],
        inbound_nat_rules=[{
            "backendPort": 3389,
            "enableFloatingIP": True,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 3389,
            "idleTimeoutInMinutes": 15,
            "name": "in-nat-rule",
            "protocol": "Tcp",
        }],
        load_balancer_name="lb",
        load_balancing_rules=[{
            "backendAddressPool": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            ),
            "backendPort": 80,
            "disableOutboundSnat": True,
            "enableFloatingIP": True,
            "frontendIPConfiguration": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            ),
            "frontendPort": 80,
            "idleTimeoutInMinutes": 15,
            "loadDistribution": "Default",
            "name": "rulelb",
            "probe": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            ),
            "protocol": "Tcp",
        }],
        location="eastus",
        outbound_rules=[{
            "backendAddressPool": azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            ),
            "frontendIPConfigurations": [azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            )],
            "name": "rule1",
            "protocol": "All",
        }],
        probes=[azure_native.network.ProbeArgs(
            interval_in_seconds=15,
            name="probe-lb",
            number_of_probes=2,
            port=80,
            probe_threshold=1,
            protocol="Http",
            request_path="healthcheck.aspx",
        )],
        resource_group_name="rg1",
        sku=azure_native.network.LoadBalancerSkuArgs(
            name="Standard",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const loadBalancer = new azure_native.network.LoadBalancer("loadBalancer", {
        backendAddressPools: [{
            name: "be-lb",
        }],
        frontendIPConfigurations: [{
            name: "fe-lb",
            publicIPAddress: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip",
            },
        }],
        inboundNatPools: [],
        inboundNatRules: [{
            backendPort: 3389,
            enableFloatingIP: true,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 3389,
            idleTimeoutInMinutes: 15,
            name: "in-nat-rule",
            protocol: "Tcp",
        }],
        loadBalancerName: "lb",
        loadBalancingRules: [{
            backendAddressPool: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            },
            backendPort: 80,
            disableOutboundSnat: true,
            enableFloatingIP: true,
            frontendIPConfiguration: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            },
            frontendPort: 80,
            idleTimeoutInMinutes: 15,
            loadDistribution: "Default",
            name: "rulelb",
            probe: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
            },
            protocol: "Tcp",
        }],
        location: "eastus",
        outboundRules: [{
            backendAddressPool: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
            },
            frontendIPConfigurations: [{
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
            }],
            name: "rule1",
            protocol: "All",
        }],
        probes: [{
            intervalInSeconds: 15,
            name: "probe-lb",
            numberOfProbes: 2,
            port: 80,
            probeThreshold: 1,
            protocol: "Http",
            requestPath: "healthcheck.aspx",
        }],
        resourceGroupName: "rg1",
        sku: {
            name: "Standard",
        },
    });
    
    resources:
      loadBalancer:
        type: azure-native:network:LoadBalancer
        properties:
          backendAddressPools:
            - name: be-lb
          frontendIPConfigurations:
            - name: fe-lb
              publicIPAddress:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip
          inboundNatPools: []
          inboundNatRules:
            - backendPort: 3389
              enableFloatingIP: true
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 3389
              idleTimeoutInMinutes: 15
              name: in-nat-rule
              protocol: Tcp
          loadBalancerName: lb
          loadBalancingRules:
            - backendAddressPool:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb
              backendPort: 80
              disableOutboundSnat: true
              enableFloatingIP: true
              frontendIPConfiguration:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              frontendPort: 80
              idleTimeoutInMinutes: 15
              loadDistribution: Default
              name: rulelb
              probe:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb
              protocol: Tcp
          location: eastus
          outboundRules:
            - backendAddressPool:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb
              frontendIPConfigurations:
                - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb
              name: rule1
              protocol: All
          probes:
            - intervalInSeconds: 15
              name: probe-lb
              numberOfProbes: 2
              port: 80
              probeThreshold: 1
              protocol: Http
              requestPath: healthcheck.aspx
          resourceGroupName: rg1
          sku:
            name: Standard
    

    Create LoadBalancer Resource

    new LoadBalancer(name: string, args: LoadBalancerArgs, opts?: CustomResourceOptions);
    @overload
    def LoadBalancer(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     backend_address_pools: Optional[Sequence[BackendAddressPoolArgs]] = None,
                     extended_location: Optional[ExtendedLocationArgs] = None,
                     frontend_ip_configurations: Optional[Sequence[FrontendIPConfigurationArgs]] = None,
                     id: Optional[str] = None,
                     inbound_nat_pools: Optional[Sequence[InboundNatPoolArgs]] = None,
                     inbound_nat_rules: Optional[Sequence[InboundNatRuleArgs]] = None,
                     load_balancer_name: Optional[str] = None,
                     load_balancing_rules: Optional[Sequence[LoadBalancingRuleArgs]] = None,
                     location: Optional[str] = None,
                     outbound_rules: Optional[Sequence[OutboundRuleArgs]] = None,
                     probes: Optional[Sequence[ProbeArgs]] = None,
                     resource_group_name: Optional[str] = None,
                     sku: Optional[LoadBalancerSkuArgs] = None,
                     tags: Optional[Mapping[str, str]] = None)
    @overload
    def LoadBalancer(resource_name: str,
                     args: LoadBalancerArgs,
                     opts: Optional[ResourceOptions] = None)
    func NewLoadBalancer(ctx *Context, name string, args LoadBalancerArgs, opts ...ResourceOption) (*LoadBalancer, error)
    public LoadBalancer(string name, LoadBalancerArgs args, CustomResourceOptions? opts = null)
    public LoadBalancer(String name, LoadBalancerArgs args)
    public LoadBalancer(String name, LoadBalancerArgs args, CustomResourceOptions options)
    
    type: azure-native:network:LoadBalancer
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args LoadBalancerArgs
    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 LoadBalancerArgs
    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 LoadBalancerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LoadBalancerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LoadBalancerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    LoadBalancer Resource Properties

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

    Inputs

    The LoadBalancer resource accepts the following input properties:

    ResourceGroupName string

    The name of the resource group.

    BackendAddressPools List<Pulumi.AzureNative.Network.Inputs.BackendAddressPool>

    Collection of backend address pools used by a load balancer. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

    ExtendedLocation Pulumi.AzureNative.Network.Inputs.ExtendedLocation

    The extended location of the load balancer.

    FrontendIPConfigurations List<Pulumi.AzureNative.Network.Inputs.FrontendIPConfiguration>

    Object representing the frontend IPs to be used for the load balancer.

    Id string

    Resource ID.

    InboundNatPools List<Pulumi.AzureNative.Network.Inputs.InboundNatPool>

    Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.

    InboundNatRules List<Pulumi.AzureNative.Network.Inputs.InboundNatRule>

    Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

    LoadBalancerName string

    The name of the load balancer.

    LoadBalancingRules List<Pulumi.AzureNative.Network.Inputs.LoadBalancingRule>

    Object collection representing the load balancing rules Gets the provisioning.

    Location string

    Resource location.

    OutboundRules List<Pulumi.AzureNative.Network.Inputs.OutboundRule>

    The outbound rules.

    Probes List<Pulumi.AzureNative.Network.Inputs.Probe>

    Collection of probe objects used in the load balancer.

    Sku Pulumi.AzureNative.Network.Inputs.LoadBalancerSku

    The load balancer SKU.

    Tags Dictionary<string, string>

    Resource tags.

    ResourceGroupName string

    The name of the resource group.

    BackendAddressPools []BackendAddressPoolArgs

    Collection of backend address pools used by a load balancer. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

    ExtendedLocation ExtendedLocationArgs

    The extended location of the load balancer.

    FrontendIPConfigurations []FrontendIPConfigurationArgs

    Object representing the frontend IPs to be used for the load balancer.

    Id string

    Resource ID.

    InboundNatPools []InboundNatPoolArgs

    Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.

    InboundNatRules []InboundNatRuleTypeArgs

    Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

    LoadBalancerName string

    The name of the load balancer.

    LoadBalancingRules []LoadBalancingRuleArgs

    Object collection representing the load balancing rules Gets the provisioning.

    Location string

    Resource location.

    OutboundRules []OutboundRuleArgs

    The outbound rules.

    Probes []ProbeArgs

    Collection of probe objects used in the load balancer.

    Sku LoadBalancerSkuArgs

    The load balancer SKU.

    Tags map[string]string

    Resource tags.

    resourceGroupName String

    The name of the resource group.

    backendAddressPools List<BackendAddressPool>

    Collection of backend address pools used by a load balancer. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

    extendedLocation ExtendedLocation

    The extended location of the load balancer.

    frontendIPConfigurations List<FrontendIPConfiguration>

    Object representing the frontend IPs to be used for the load balancer.

    id String

    Resource ID.

    inboundNatPools List<InboundNatPool>

    Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.

    inboundNatRules List<InboundNatRule>

    Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

    loadBalancerName String

    The name of the load balancer.

    loadBalancingRules List<LoadBalancingRule>

    Object collection representing the load balancing rules Gets the provisioning.

    location String

    Resource location.

    outboundRules List<OutboundRule>

    The outbound rules.

    probes List<Probe>

    Collection of probe objects used in the load balancer.

    sku LoadBalancerSku

    The load balancer SKU.

    tags Map<String,String>

    Resource tags.

    resourceGroupName string

    The name of the resource group.

    backendAddressPools BackendAddressPool[]

    Collection of backend address pools used by a load balancer. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

    extendedLocation ExtendedLocation

    The extended location of the load balancer.

    frontendIPConfigurations FrontendIPConfiguration[]

    Object representing the frontend IPs to be used for the load balancer.

    id string

    Resource ID.

    inboundNatPools InboundNatPool[]

    Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.

    inboundNatRules InboundNatRule[]

    Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

    loadBalancerName string

    The name of the load balancer.

    loadBalancingRules LoadBalancingRule[]

    Object collection representing the load balancing rules Gets the provisioning.

    location string

    Resource location.

    outboundRules OutboundRule[]

    The outbound rules.

    probes Probe[]

    Collection of probe objects used in the load balancer.

    sku LoadBalancerSku

    The load balancer SKU.

    tags {[key: string]: string}

    Resource tags.

    resource_group_name str

    The name of the resource group.

    backend_address_pools Sequence[BackendAddressPoolArgs]

    Collection of backend address pools used by a load balancer. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

    extended_location ExtendedLocationArgs

    The extended location of the load balancer.

    frontend_ip_configurations Sequence[FrontendIPConfigurationArgs]

    Object representing the frontend IPs to be used for the load balancer.

    id str

    Resource ID.

    inbound_nat_pools Sequence[InboundNatPoolArgs]

    Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.

    inbound_nat_rules Sequence[InboundNatRuleArgs]

    Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

    load_balancer_name str

    The name of the load balancer.

    load_balancing_rules Sequence[LoadBalancingRuleArgs]

    Object collection representing the load balancing rules Gets the provisioning.

    location str

    Resource location.

    outbound_rules Sequence[OutboundRuleArgs]

    The outbound rules.

    probes Sequence[ProbeArgs]

    Collection of probe objects used in the load balancer.

    sku LoadBalancerSkuArgs

    The load balancer SKU.

    tags Mapping[str, str]

    Resource tags.

    resourceGroupName String

    The name of the resource group.

    backendAddressPools List<Property Map>

    Collection of backend address pools used by a load balancer. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

    extendedLocation Property Map

    The extended location of the load balancer.

    frontendIPConfigurations List<Property Map>

    Object representing the frontend IPs to be used for the load balancer.

    id String

    Resource ID.

    inboundNatPools List<Property Map>

    Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.

    inboundNatRules List<Property Map>

    Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

    loadBalancerName String

    The name of the load balancer.

    loadBalancingRules List<Property Map>

    Object collection representing the load balancing rules Gets the provisioning.

    location String

    Resource location.

    outboundRules List<Property Map>

    The outbound rules.

    probes List<Property Map>

    Collection of probe objects used in the load balancer.

    sku Property Map

    The load balancer SKU.

    tags Map<String>

    Resource tags.

    Outputs

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

    Etag string

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

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    Resource name.

    ProvisioningState string

    The provisioning state of the load balancer resource.

    ResourceGuid string

    The resource GUID property of the load balancer resource.

    Type string

    Resource type.

    Etag string

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

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    Resource name.

    ProvisioningState string

    The provisioning state of the load balancer resource.

    ResourceGuid string

    The resource GUID property of the load balancer resource.

    Type string

    Resource type.

    etag String

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

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    Resource name.

    provisioningState String

    The provisioning state of the load balancer resource.

    resourceGuid String

    The resource GUID property of the load balancer resource.

    type String

    Resource type.

    etag string

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

    id string

    The provider-assigned unique ID for this managed resource.

    name string

    Resource name.

    provisioningState string

    The provisioning state of the load balancer resource.

    resourceGuid string

    The resource GUID property of the load balancer resource.

    type string

    Resource type.

    etag str

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

    id str

    The provider-assigned unique ID for this managed resource.

    name str

    Resource name.

    provisioning_state str

    The provisioning state of the load balancer resource.

    resource_guid str

    The resource GUID property of the load balancer resource.

    type str

    Resource type.

    etag String

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

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    Resource name.

    provisioningState String

    The provisioning state of the load balancer resource.

    resourceGuid String

    The resource GUID property of the load balancer resource.

    type String

    Resource type.

    Supporting Types

    ApplicationGatewayBackendAddressPoolResponse, ApplicationGatewayBackendAddressPoolResponseArgs

    BackendIPConfigurations List<Pulumi.AzureNative.Network.Inputs.NetworkInterfaceIPConfigurationResponse>

    Collection of references to IPs defined in network interfaces.

    Etag string

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

    ProvisioningState string

    The provisioning state of the backend address pool resource.

    Type string

    Type of the resource.

    BackendAddresses List<Pulumi.AzureNative.Network.Inputs.ApplicationGatewayBackendAddressResponse>

    Backend addresses.

    Id string

    Resource ID.

    Name string

    Name of the backend address pool that is unique within an Application Gateway.

    BackendIPConfigurations []NetworkInterfaceIPConfigurationResponse

    Collection of references to IPs defined in network interfaces.

    Etag string

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

    ProvisioningState string

    The provisioning state of the backend address pool resource.

    Type string

    Type of the resource.

    BackendAddresses []ApplicationGatewayBackendAddressResponse

    Backend addresses.

    Id string

    Resource ID.

    Name string

    Name of the backend address pool that is unique within an Application Gateway.

    backendIPConfigurations List<NetworkInterfaceIPConfigurationResponse>

    Collection of references to IPs defined in network interfaces.

    etag String

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

    provisioningState String

    The provisioning state of the backend address pool resource.

    type String

    Type of the resource.

    backendAddresses List<ApplicationGatewayBackendAddressResponse>

    Backend addresses.

    id String

    Resource ID.

    name String

    Name of the backend address pool that is unique within an Application Gateway.

    backendIPConfigurations NetworkInterfaceIPConfigurationResponse[]

    Collection of references to IPs defined in network interfaces.

    etag string

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

    provisioningState string

    The provisioning state of the backend address pool resource.

    type string

    Type of the resource.

    backendAddresses ApplicationGatewayBackendAddressResponse[]

    Backend addresses.

    id string

    Resource ID.

    name string

    Name of the backend address pool that is unique within an Application Gateway.

    backend_ip_configurations Sequence[NetworkInterfaceIPConfigurationResponse]

    Collection of references to IPs defined in network interfaces.

    etag str

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

    provisioning_state str

    The provisioning state of the backend address pool resource.

    type str

    Type of the resource.

    backend_addresses Sequence[ApplicationGatewayBackendAddressResponse]

    Backend addresses.

    id str

    Resource ID.

    name str

    Name of the backend address pool that is unique within an Application Gateway.

    backendIPConfigurations List<Property Map>

    Collection of references to IPs defined in network interfaces.

    etag String

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

    provisioningState String

    The provisioning state of the backend address pool resource.

    type String

    Type of the resource.

    backendAddresses List<Property Map>

    Backend addresses.

    id String

    Resource ID.

    name String

    Name of the backend address pool that is unique within an Application Gateway.

    ApplicationGatewayBackendAddressResponse, ApplicationGatewayBackendAddressResponseArgs

    Fqdn string

    Fully qualified domain name (FQDN).

    IpAddress string

    IP address.

    Fqdn string

    Fully qualified domain name (FQDN).

    IpAddress string

    IP address.

    fqdn String

    Fully qualified domain name (FQDN).

    ipAddress String

    IP address.

    fqdn string

    Fully qualified domain name (FQDN).

    ipAddress string

    IP address.

    fqdn str

    Fully qualified domain name (FQDN).

    ip_address str

    IP address.

    fqdn String

    Fully qualified domain name (FQDN).

    ipAddress String

    IP address.

    ApplicationGatewayIPConfiguration, ApplicationGatewayIPConfigurationArgs

    Id string

    Resource ID.

    Name string

    Name of the IP configuration that is unique within an Application Gateway.

    Subnet Pulumi.AzureNative.Network.Inputs.SubResource

    Reference to the subnet resource. A subnet from where application gateway gets its private address.

    Id string

    Resource ID.

    Name string

    Name of the IP configuration that is unique within an Application Gateway.

    Subnet SubResource

    Reference to the subnet resource. A subnet from where application gateway gets its private address.

    id String

    Resource ID.

    name String

    Name of the IP configuration that is unique within an Application Gateway.

    subnet SubResource

    Reference to the subnet resource. A subnet from where application gateway gets its private address.

    id string

    Resource ID.

    name string

    Name of the IP configuration that is unique within an Application Gateway.

    subnet SubResource

    Reference to the subnet resource. A subnet from where application gateway gets its private address.

    id str

    Resource ID.

    name str

    Name of the IP configuration that is unique within an Application Gateway.

    subnet SubResource

    Reference to the subnet resource. A subnet from where application gateway gets its private address.

    id String

    Resource ID.

    name String

    Name of the IP configuration that is unique within an Application Gateway.

    subnet Property Map

    Reference to the subnet resource. A subnet from where application gateway gets its private address.

    ApplicationGatewayIPConfigurationResponse, ApplicationGatewayIPConfigurationResponseArgs

    Etag string

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

    ProvisioningState string

    The provisioning state of the application gateway IP configuration resource.

    Type string

    Type of the resource.

    Id string

    Resource ID.

    Name string

    Name of the IP configuration that is unique within an Application Gateway.

    Subnet Pulumi.AzureNative.Network.Inputs.SubResourceResponse

    Reference to the subnet resource. A subnet from where application gateway gets its private address.

    Etag string

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

    ProvisioningState string

    The provisioning state of the application gateway IP configuration resource.

    Type string

    Type of the resource.

    Id string

    Resource ID.

    Name string

    Name of the IP configuration that is unique within an Application Gateway.

    Subnet SubResourceResponse

    Reference to the subnet resource. A subnet from where application gateway gets its private address.

    etag String

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

    provisioningState String

    The provisioning state of the application gateway IP configuration resource.

    type String

    Type of the resource.

    id String

    Resource ID.

    name String

    Name of the IP configuration that is unique within an Application Gateway.

    subnet SubResourceResponse

    Reference to the subnet resource. A subnet from where application gateway gets its private address.

    etag string

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

    provisioningState string

    The provisioning state of the application gateway IP configuration resource.

    type string

    Type of the resource.

    id string

    Resource ID.

    name string

    Name of the IP configuration that is unique within an Application Gateway.

    subnet SubResourceResponse

    Reference to the subnet resource. A subnet from where application gateway gets its private address.

    etag str

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

    provisioning_state str

    The provisioning state of the application gateway IP configuration resource.

    type str

    Type of the resource.

    id str

    Resource ID.

    name str

    Name of the IP configuration that is unique within an Application Gateway.

    subnet SubResourceResponse

    Reference to the subnet resource. A subnet from where application gateway gets its private address.

    etag String

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

    provisioningState String

    The provisioning state of the application gateway IP configuration resource.

    type String

    Type of the resource.

    id String

    Resource ID.

    name String

    Name of the IP configuration that is unique within an Application Gateway.

    subnet Property Map

    Reference to the subnet resource. A subnet from where application gateway gets its private address.

    ApplicationSecurityGroup, ApplicationSecurityGroupArgs

    Id string

    Resource ID.

    Location string

    Resource location.

    Tags Dictionary<string, string>

    Resource tags.

    Id string

    Resource ID.

    Location string

    Resource location.

    Tags map[string]string

    Resource tags.

    id String

    Resource ID.

    location String

    Resource location.

    tags Map<String,String>

    Resource tags.

    id string

    Resource ID.

    location string

    Resource location.

    tags {[key: string]: string}

    Resource tags.

    id str

    Resource ID.

    location str

    Resource location.

    tags Mapping[str, str]

    Resource tags.

    id String

    Resource ID.

    location String

    Resource location.

    tags Map<String>

    Resource tags.

    ApplicationSecurityGroupResponse, ApplicationSecurityGroupResponseArgs

    Etag string

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

    Name string

    Resource name.

    ProvisioningState string

    The provisioning state of the application security group resource.

    ResourceGuid string

    The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.

    Type string

    Resource type.

    Id string

    Resource ID.

    Location string

    Resource location.

    Tags Dictionary<string, string>

    Resource tags.

    Etag string

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

    Name string

    Resource name.

    ProvisioningState string

    The provisioning state of the application security group resource.

    ResourceGuid string

    The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.

    Type string

    Resource type.

    Id string

    Resource ID.

    Location string

    Resource location.

    Tags map[string]string

    Resource tags.

    etag String

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

    name String

    Resource name.

    provisioningState String

    The provisioning state of the application security group resource.

    resourceGuid String

    The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.

    type String

    Resource type.

    id String

    Resource ID.

    location String

    Resource location.

    tags Map<String,String>

    Resource tags.

    etag string

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

    name string

    Resource name.

    provisioningState string

    The provisioning state of the application security group resource.

    resourceGuid string

    The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.

    type string

    Resource type.

    id string

    Resource ID.

    location string

    Resource location.

    tags {[key: string]: string}

    Resource tags.

    etag str

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

    name str

    Resource name.

    provisioning_state str

    The provisioning state of the application security group resource.

    resource_guid str

    The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.

    type str

    Resource type.

    id str

    Resource ID.

    location str

    Resource location.

    tags Mapping[str, str]

    Resource tags.

    etag String

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

    name String

    Resource name.

    provisioningState String

    The provisioning state of the application security group resource.

    resourceGuid String

    The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.

    type String

    Resource type.

    id String

    Resource ID.

    location String

    Resource location.

    tags Map<String>

    Resource tags.

    BackendAddressPool, BackendAddressPoolArgs

    DrainPeriodInSeconds int

    Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

    Id string

    Resource ID.

    LoadBalancerBackendAddresses List<Pulumi.AzureNative.Network.Inputs.LoadBalancerBackendAddress>

    An array of backend addresses.

    Location string

    The location of the backend address pool.

    Name string

    The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.

    TunnelInterfaces List<Pulumi.AzureNative.Network.Inputs.GatewayLoadBalancerTunnelInterface>

    An array of gateway load balancer tunnel interfaces.

    VirtualNetwork Pulumi.AzureNative.Network.Inputs.SubResource

    A reference to a virtual network.

    DrainPeriodInSeconds int

    Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

    Id string

    Resource ID.

    LoadBalancerBackendAddresses []LoadBalancerBackendAddress

    An array of backend addresses.

    Location string

    The location of the backend address pool.

    Name string

    The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.

    TunnelInterfaces []GatewayLoadBalancerTunnelInterface

    An array of gateway load balancer tunnel interfaces.

    VirtualNetwork SubResource

    A reference to a virtual network.

    drainPeriodInSeconds Integer

    Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

    id String

    Resource ID.

    loadBalancerBackendAddresses List<LoadBalancerBackendAddress>

    An array of backend addresses.

    location String

    The location of the backend address pool.

    name String

    The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.

    tunnelInterfaces List<GatewayLoadBalancerTunnelInterface>

    An array of gateway load balancer tunnel interfaces.

    virtualNetwork SubResource

    A reference to a virtual network.

    drainPeriodInSeconds number

    Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

    id string

    Resource ID.

    loadBalancerBackendAddresses LoadBalancerBackendAddress[]

    An array of backend addresses.

    location string

    The location of the backend address pool.

    name string

    The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.

    tunnelInterfaces GatewayLoadBalancerTunnelInterface[]

    An array of gateway load balancer tunnel interfaces.

    virtualNetwork SubResource

    A reference to a virtual network.

    drain_period_in_seconds int

    Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

    id str

    Resource ID.

    load_balancer_backend_addresses Sequence[LoadBalancerBackendAddress]

    An array of backend addresses.

    location str

    The location of the backend address pool.

    name str

    The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.

    tunnel_interfaces Sequence[GatewayLoadBalancerTunnelInterface]

    An array of gateway load balancer tunnel interfaces.

    virtual_network SubResource

    A reference to a virtual network.

    drainPeriodInSeconds Number

    Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

    id String

    Resource ID.

    loadBalancerBackendAddresses List<Property Map>

    An array of backend addresses.

    location String

    The location of the backend address pool.

    name String

    The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.

    tunnelInterfaces List<Property Map>

    An array of gateway load balancer tunnel interfaces.

    virtualNetwork Property Map

    A reference to a virtual network.

    BackendAddressPoolResponse, BackendAddressPoolResponseArgs

    BackendIPConfigurations List<Pulumi.AzureNative.Network.Inputs.NetworkInterfaceIPConfigurationResponse>

    An array of references to IP addresses defined in network interfaces.

    Etag string

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

    InboundNatRules List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>

    An array of references to inbound NAT rules that use this backend address pool.

    LoadBalancingRules List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>

    An array of references to load balancing rules that use this backend address pool.

    OutboundRule Pulumi.AzureNative.Network.Inputs.SubResourceResponse

    A reference to an outbound rule that uses this backend address pool.

    OutboundRules List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>

    An array of references to outbound rules that use this backend address pool.

    ProvisioningState string

    The provisioning state of the backend address pool resource.

    Type string

    Type of the resource.

    DrainPeriodInSeconds int

    Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

    Id string

    Resource ID.

    LoadBalancerBackendAddresses List<Pulumi.AzureNative.Network.Inputs.LoadBalancerBackendAddressResponse>

    An array of backend addresses.

    Location string

    The location of the backend address pool.

    Name string

    The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.

    TunnelInterfaces List<Pulumi.AzureNative.Network.Inputs.GatewayLoadBalancerTunnelInterfaceResponse>

    An array of gateway load balancer tunnel interfaces.

    VirtualNetwork Pulumi.AzureNative.Network.Inputs.SubResourceResponse

    A reference to a virtual network.

    BackendIPConfigurations []NetworkInterfaceIPConfigurationResponse

    An array of references to IP addresses defined in network interfaces.

    Etag string

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

    InboundNatRules []SubResourceResponse

    An array of references to inbound NAT rules that use this backend address pool.

    LoadBalancingRules []SubResourceResponse

    An array of references to load balancing rules that use this backend address pool.

    OutboundRule SubResourceResponse

    A reference to an outbound rule that uses this backend address pool.

    OutboundRules []SubResourceResponse

    An array of references to outbound rules that use this backend address pool.

    ProvisioningState string

    The provisioning state of the backend address pool resource.

    Type string

    Type of the resource.

    DrainPeriodInSeconds int

    Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

    Id string

    Resource ID.

    LoadBalancerBackendAddresses []LoadBalancerBackendAddressResponse

    An array of backend addresses.

    Location string

    The location of the backend address pool.

    Name string

    The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.

    TunnelInterfaces []GatewayLoadBalancerTunnelInterfaceResponse

    An array of gateway load balancer tunnel interfaces.

    VirtualNetwork SubResourceResponse

    A reference to a virtual network.

    backendIPConfigurations List<NetworkInterfaceIPConfigurationResponse>

    An array of references to IP addresses defined in network interfaces.

    etag String

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

    inboundNatRules List<SubResourceResponse>

    An array of references to inbound NAT rules that use this backend address pool.

    loadBalancingRules List<SubResourceResponse>

    An array of references to load balancing rules that use this backend address pool.

    outboundRule SubResourceResponse

    A reference to an outbound rule that uses this backend address pool.

    outboundRules List<SubResourceResponse>

    An array of references to outbound rules that use this backend address pool.

    provisioningState String

    The provisioning state of the backend address pool resource.

    type String

    Type of the resource.

    drainPeriodInSeconds Integer

    Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

    id String

    Resource ID.

    loadBalancerBackendAddresses List<LoadBalancerBackendAddressResponse>

    An array of backend addresses.

    location String

    The location of the backend address pool.

    name String

    The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.

    tunnelInterfaces List<GatewayLoadBalancerTunnelInterfaceResponse>

    An array of gateway load balancer tunnel interfaces.

    virtualNetwork SubResourceResponse

    A reference to a virtual network.

    backendIPConfigurations NetworkInterfaceIPConfigurationResponse[]

    An array of references to IP addresses defined in network interfaces.

    etag string

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

    inboundNatRules SubResourceResponse[]

    An array of references to inbound NAT rules that use this backend address pool.

    loadBalancingRules SubResourceResponse[]

    An array of references to load balancing rules that use this backend address pool.

    outboundRule SubResourceResponse

    A reference to an outbound rule that uses this backend address pool.

    outboundRules SubResourceResponse[]

    An array of references to outbound rules that use this backend address pool.

    provisioningState string

    The provisioning state of the backend address pool resource.

    type string

    Type of the resource.

    drainPeriodInSeconds number

    Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

    id string

    Resource ID.

    loadBalancerBackendAddresses LoadBalancerBackendAddressResponse[]

    An array of backend addresses.

    location string

    The location of the backend address pool.

    name string

    The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.

    tunnelInterfaces GatewayLoadBalancerTunnelInterfaceResponse[]

    An array of gateway load balancer tunnel interfaces.

    virtualNetwork SubResourceResponse

    A reference to a virtual network.

    backend_ip_configurations Sequence[NetworkInterfaceIPConfigurationResponse]

    An array of references to IP addresses defined in network interfaces.

    etag str

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

    inbound_nat_rules Sequence[SubResourceResponse]

    An array of references to inbound NAT rules that use this backend address pool.

    load_balancing_rules Sequence[SubResourceResponse]

    An array of references to load balancing rules that use this backend address pool.

    outbound_rule SubResourceResponse

    A reference to an outbound rule that uses this backend address pool.

    outbound_rules Sequence[SubResourceResponse]

    An array of references to outbound rules that use this backend address pool.

    provisioning_state str

    The provisioning state of the backend address pool resource.

    type str

    Type of the resource.

    drain_period_in_seconds int

    Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

    id str

    Resource ID.

    load_balancer_backend_addresses Sequence[LoadBalancerBackendAddressResponse]

    An array of backend addresses.

    location str

    The location of the backend address pool.

    name str

    The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.

    tunnel_interfaces Sequence[GatewayLoadBalancerTunnelInterfaceResponse]

    An array of gateway load balancer tunnel interfaces.

    virtual_network SubResourceResponse

    A reference to a virtual network.

    backendIPConfigurations List<Property Map>

    An array of references to IP addresses defined in network interfaces.

    etag String

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

    inboundNatRules List<Property Map>

    An array of references to inbound NAT rules that use this backend address pool.

    loadBalancingRules List<Property Map>

    An array of references to load balancing rules that use this backend address pool.

    outboundRule Property Map

    A reference to an outbound rule that uses this backend address pool.

    outboundRules List<Property Map>

    An array of references to outbound rules that use this backend address pool.

    provisioningState String

    The provisioning state of the backend address pool resource.

    type String

    Type of the resource.

    drainPeriodInSeconds Number

    Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

    id String

    Resource ID.

    loadBalancerBackendAddresses List<Property Map>

    An array of backend addresses.

    location String

    The location of the backend address pool.

    name String

    The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.

    tunnelInterfaces List<Property Map>

    An array of gateway load balancer tunnel interfaces.

    virtualNetwork Property Map

    A reference to a virtual network.

    CustomDnsConfigPropertiesFormatResponse, CustomDnsConfigPropertiesFormatResponseArgs

    Fqdn string

    Fqdn that resolves to private endpoint ip address.

    IpAddresses List<string>

    A list of private ip addresses of the private endpoint.

    Fqdn string

    Fqdn that resolves to private endpoint ip address.

    IpAddresses []string

    A list of private ip addresses of the private endpoint.

    fqdn String

    Fqdn that resolves to private endpoint ip address.

    ipAddresses List<String>

    A list of private ip addresses of the private endpoint.

    fqdn string

    Fqdn that resolves to private endpoint ip address.

    ipAddresses string[]

    A list of private ip addresses of the private endpoint.

    fqdn str

    Fqdn that resolves to private endpoint ip address.

    ip_addresses Sequence[str]

    A list of private ip addresses of the private endpoint.

    fqdn String

    Fqdn that resolves to private endpoint ip address.

    ipAddresses List<String>

    A list of private ip addresses of the private endpoint.

    DdosSettings, DdosSettingsArgs

    DdosProtectionPlan Pulumi.AzureNative.Network.Inputs.SubResource

    The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

    ProtectionMode string | Pulumi.AzureNative.Network.DdosSettingsProtectionMode

    The DDoS protection mode of the public IP

    DdosProtectionPlan SubResource

    The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

    ProtectionMode string | DdosSettingsProtectionMode

    The DDoS protection mode of the public IP

    ddosProtectionPlan SubResource

    The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

    protectionMode String | DdosSettingsProtectionMode

    The DDoS protection mode of the public IP

    ddosProtectionPlan SubResource

    The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

    protectionMode string | DdosSettingsProtectionMode

    The DDoS protection mode of the public IP

    ddos_protection_plan SubResource

    The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

    protection_mode str | DdosSettingsProtectionMode

    The DDoS protection mode of the public IP

    ddosProtectionPlan Property Map

    The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

    protectionMode String | "VirtualNetworkInherited" | "Enabled" | "Disabled"

    The DDoS protection mode of the public IP

    DdosSettingsProtectionMode, DdosSettingsProtectionModeArgs

    VirtualNetworkInherited
    VirtualNetworkInherited
    Enabled
    Enabled
    Disabled
    Disabled
    DdosSettingsProtectionModeVirtualNetworkInherited
    VirtualNetworkInherited
    DdosSettingsProtectionModeEnabled
    Enabled
    DdosSettingsProtectionModeDisabled
    Disabled
    VirtualNetworkInherited
    VirtualNetworkInherited
    Enabled
    Enabled
    Disabled
    Disabled
    VirtualNetworkInherited
    VirtualNetworkInherited
    Enabled
    Enabled
    Disabled
    Disabled
    VIRTUAL_NETWORK_INHERITED
    VirtualNetworkInherited
    ENABLED
    Enabled
    DISABLED
    Disabled
    "VirtualNetworkInherited"
    VirtualNetworkInherited
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    DdosSettingsResponse, DdosSettingsResponseArgs

    DdosCustomPolicy Pulumi.AzureNative.Network.Inputs.SubResourceResponse

    The DDoS custom policy associated with the public IP.

    DdosProtectionPlan Pulumi.AzureNative.Network.Inputs.SubResourceResponse

    The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

    ProtectionCoverage string

    The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.

    ProtectionMode string

    The DDoS protection mode of the public IP

    DdosCustomPolicy SubResourceResponse

    The DDoS custom policy associated with the public IP.

    DdosProtectionPlan SubResourceResponse

    The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

    ProtectionCoverage string

    The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.

    ProtectionMode string

    The DDoS protection mode of the public IP

    ddosCustomPolicy SubResourceResponse

    The DDoS custom policy associated with the public IP.

    ddosProtectionPlan SubResourceResponse

    The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

    protectionCoverage String

    The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.

    protectionMode String

    The DDoS protection mode of the public IP

    ddosCustomPolicy SubResourceResponse

    The DDoS custom policy associated with the public IP.

    ddosProtectionPlan SubResourceResponse

    The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

    protectionCoverage string

    The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.

    protectionMode string

    The DDoS protection mode of the public IP

    ddos_custom_policy SubResourceResponse

    The DDoS custom policy associated with the public IP.

    ddos_protection_plan SubResourceResponse

    The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

    protection_coverage str

    The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.

    protection_mode str

    The DDoS protection mode of the public IP

    ddosCustomPolicy Property Map

    The DDoS custom policy associated with the public IP.

    ddosProtectionPlan Property Map

    The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

    protectionCoverage String

    The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.

    protectionMode String

    The DDoS protection mode of the public IP

    Delegation, DelegationArgs

    Actions List<string>

    Describes the actions permitted to the service upon delegation

    Etag string

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

    Id string

    Resource ID.

    Name string

    The name of the resource that is unique within a subnet. This name can be used to access the resource.

    ServiceName string

    The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

    Type string

    Resource type.

    Actions []string

    Describes the actions permitted to the service upon delegation

    Etag string

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

    Id string

    Resource ID.

    Name string

    The name of the resource that is unique within a subnet. This name can be used to access the resource.

    ServiceName string

    The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

    Type string

    Resource type.

    actions List<String>

    Describes the actions permitted to the service upon delegation

    etag String

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

    id String

    Resource ID.

    name String

    The name of the resource that is unique within a subnet. This name can be used to access the resource.

    serviceName String

    The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

    type String

    Resource type.

    actions string[]

    Describes the actions permitted to the service upon delegation

    etag string

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

    id string

    Resource ID.

    name string

    The name of the resource that is unique within a subnet. This name can be used to access the resource.

    serviceName string

    The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

    type string

    Resource type.

    actions Sequence[str]

    Describes the actions permitted to the service upon delegation

    etag str

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

    id str

    Resource ID.

    name str

    The name of the resource that is unique within a subnet. This name can be used to access the resource.

    service_name str

    The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

    type str

    Resource type.

    actions List<String>

    Describes the actions permitted to the service upon delegation

    etag String

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

    id String

    Resource ID.

    name String

    The name of the resource that is unique within a subnet. This name can be used to access the resource.

    serviceName String

    The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

    type String

    Resource type.

    DelegationResponse, DelegationResponseArgs

    Actions List<string>

    The actions permitted to the service upon delegation.

    Etag string

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

    ProvisioningState string

    The provisioning state of the service delegation resource.

    Id string

    Resource ID.

    Name string

    The name of the resource that is unique within a subnet. This name can be used to access the resource.

    ServiceName string

    The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

    Type string

    Resource type.

    Actions []string

    The actions permitted to the service upon delegation.

    Etag string

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

    ProvisioningState string

    The provisioning state of the service delegation resource.

    Id string

    Resource ID.

    Name string

    The name of the resource that is unique within a subnet. This name can be used to access the resource.

    ServiceName string

    The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

    Type string

    Resource type.

    actions List<String>

    The actions permitted to the service upon delegation.

    etag String

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

    provisioningState String

    The provisioning state of the service delegation resource.

    id String

    Resource ID.

    name String

    The name of the resource that is unique within a subnet. This name can be used to access the resource.

    serviceName String

    The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

    type String

    Resource type.

    actions string[]

    The actions permitted to the service upon delegation.

    etag string

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

    provisioningState string

    The provisioning state of the service delegation resource.

    id string

    Resource ID.

    name string

    The name of the resource that is unique within a subnet. This name can be used to access the resource.

    serviceName string

    The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

    type string

    Resource type.

    actions Sequence[str]

    The actions permitted to the service upon delegation.

    etag str

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

    provisioning_state str

    The provisioning state of the service delegation resource.

    id str

    Resource ID.

    name str

    The name of the resource that is unique within a subnet. This name can be used to access the resource.

    service_name str

    The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

    type str

    Resource type.

    actions List<String>

    The actions permitted to the service upon delegation.

    etag String

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

    provisioningState String

    The provisioning state of the service delegation resource.

    id String

    Resource ID.

    name String

    The name of the resource that is unique within a subnet. This name can be used to access the resource.

    serviceName String

    The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

    type String

    Resource type.

    DeleteOptions, DeleteOptionsArgs

    Delete
    Delete
    Detach
    Detach
    DeleteOptionsDelete
    Delete
    DeleteOptionsDetach
    Detach
    Delete
    Delete
    Detach
    Detach
    Delete
    Delete
    Detach
    Detach
    DELETE
    Delete
    DETACH
    Detach
    "Delete"
    Delete
    "Detach"
    Detach

    EndpointServiceResponse, EndpointServiceResponseArgs

    Id string

    A unique identifier of the service being referenced by the interface endpoint.

    Id string

    A unique identifier of the service being referenced by the interface endpoint.

    id String

    A unique identifier of the service being referenced by the interface endpoint.

    id string

    A unique identifier of the service being referenced by the interface endpoint.

    id str

    A unique identifier of the service being referenced by the interface endpoint.

    id String

    A unique identifier of the service being referenced by the interface endpoint.

    ExtendedLocation, ExtendedLocationArgs

    Name string

    The name of the extended location.

    Type string | Pulumi.AzureNative.Network.ExtendedLocationTypes

    The type of the extended location.

    Name string

    The name of the extended location.

    Type string | ExtendedLocationTypes

    The type of the extended location.

    name String

    The name of the extended location.

    type String | ExtendedLocationTypes

    The type of the extended location.

    name string

    The name of the extended location.

    type string | ExtendedLocationTypes

    The type of the extended location.

    name str

    The name of the extended location.

    type str | ExtendedLocationTypes

    The type of the extended location.

    name String

    The name of the extended location.

    type String | "EdgeZone"

    The type of the extended location.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string

    The name of the extended location.

    Type string

    The type of the extended location.

    Name string

    The name of the extended location.

    Type string

    The type of the extended location.

    name String

    The name of the extended location.

    type String

    The type of the extended location.

    name string

    The name of the extended location.

    type string

    The type of the extended location.

    name str

    The name of the extended location.

    type str

    The type of the extended location.

    name String

    The name of the extended location.

    type String

    The type of the extended location.

    ExtendedLocationTypes, ExtendedLocationTypesArgs

    EdgeZone
    EdgeZone
    ExtendedLocationTypesEdgeZone
    EdgeZone
    EdgeZone
    EdgeZone
    EdgeZone
    EdgeZone
    EDGE_ZONE
    EdgeZone
    "EdgeZone"
    EdgeZone

    FlowLogFormatParametersResponse, FlowLogFormatParametersResponseArgs

    Type string

    The file type of flow log.

    Version int

    The version (revision) of the flow log.

    Type string

    The file type of flow log.

    Version int

    The version (revision) of the flow log.

    type String

    The file type of flow log.

    version Integer

    The version (revision) of the flow log.

    type string

    The file type of flow log.

    version number

    The version (revision) of the flow log.

    type str

    The file type of flow log.

    version int

    The version (revision) of the flow log.

    type String

    The file type of flow log.

    version Number

    The version (revision) of the flow log.

    FlowLogResponse, FlowLogResponseArgs

    Etag string

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

    Name string

    Resource name.

    ProvisioningState string

    The provisioning state of the flow log.

    StorageId string

    ID of the storage account which is used to store the flow log.

    TargetResourceGuid string

    Guid of network security group to which flow log will be applied.

    TargetResourceId string

    ID of network security group to which flow log will be applied.

    Type string

    Resource type.

    Enabled bool

    Flag to enable/disable flow logging.

    FlowAnalyticsConfiguration Pulumi.AzureNative.Network.Inputs.TrafficAnalyticsPropertiesResponse

    Parameters that define the configuration of traffic analytics.

    Format Pulumi.AzureNative.Network.Inputs.FlowLogFormatParametersResponse

    Parameters that define the flow log format.

    Id string

    Resource ID.

    Location string

    Resource location.

    RetentionPolicy Pulumi.AzureNative.Network.Inputs.RetentionPolicyParametersResponse

    Parameters that define the retention policy for flow log.

    Tags Dictionary<string, string>

    Resource tags.

    Etag string

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

    Name string

    Resource name.

    ProvisioningState string

    The provisioning state of the flow log.

    StorageId string

    ID of the storage account which is used to store the flow log.

    TargetResourceGuid string

    Guid of network security group to which flow log will be applied.

    TargetResourceId string

    ID of network security group to which flow log will be applied.

    Type string

    Resource type.

    Enabled bool

    Flag to enable/disable flow logging.

    FlowAnalyticsConfiguration TrafficAnalyticsPropertiesResponse

    Parameters that define the configuration of traffic analytics.

    Format FlowLogFormatParametersResponse

    Parameters that define the flow log format.

    Id string

    Resource ID.

    Location string

    Resource location.

    RetentionPolicy RetentionPolicyParametersResponse

    Parameters that define the retention policy for flow log.

    Tags map[string]string

    Resource tags.

    etag String

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

    name String

    Resource name.

    provisioningState String

    The provisioning state of the flow log.

    storageId String

    ID of the storage account which is used to store the flow log.

    targetResourceGuid String

    Guid of network security group to which flow log will be applied.

    targetResourceId String

    ID of network security group to which flow log will be applied.

    type String

    Resource type.

    enabled Boolean

    Flag to enable/disable flow logging.

    flowAnalyticsConfiguration TrafficAnalyticsPropertiesResponse

    Parameters that define the configuration of traffic analytics.

    format FlowLogFormatParametersResponse

    Parameters that define the flow log format.

    id String

    Resource ID.

    location String

    Resource location.

    retentionPolicy RetentionPolicyParametersResponse

    Parameters that define the retention policy for flow log.

    tags Map<String,String>

    Resource tags.

    etag string

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

    name string

    Resource name.

    provisioningState string

    The provisioning state of the flow log.

    storageId string

    ID of the storage account which is used to store the flow log.

    targetResourceGuid string

    Guid of network security group to which flow log will be applied.

    targetResourceId string

    ID of network security group to which flow log will be applied.

    type string

    Resource type.

    enabled boolean

    Flag to enable/disable flow logging.

    flowAnalyticsConfiguration TrafficAnalyticsPropertiesResponse

    Parameters that define the configuration of traffic analytics.

    format FlowLogFormatParametersResponse

    Parameters that define the flow log format.

    id string

    Resource ID.

    location string

    Resource location.

    retentionPolicy RetentionPolicyParametersResponse

    Parameters that define the retention policy for flow log.

    tags {[key: string]: string}

    Resource tags.

    etag str

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

    name str

    Resource name.

    provisioning_state str

    The provisioning state of the flow log.

    storage_id str

    ID of the storage account which is used to store the flow log.

    target_resource_guid str

    Guid of network security group to which flow log will be applied.

    target_resource_id str

    ID of network security group to which flow log will be applied.

    type str

    Resource type.

    enabled bool

    Flag to enable/disable flow logging.

    flow_analytics_configuration TrafficAnalyticsPropertiesResponse

    Parameters that define the configuration of traffic analytics.

    format FlowLogFormatParametersResponse

    Parameters that define the flow log format.

    id str

    Resource ID.

    location str

    Resource location.

    retention_policy RetentionPolicyParametersResponse

    Parameters that define the retention policy for flow log.

    tags Mapping[str, str]

    Resource tags.

    etag String

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

    name String

    Resource name.

    provisioningState String

    The provisioning state of the flow log.

    storageId String

    ID of the storage account which is used to store the flow log.

    targetResourceGuid String

    Guid of network security group to which flow log will be applied.

    targetResourceId String

    ID of network security group to which flow log will be applied.

    type String

    Resource type.

    enabled Boolean

    Flag to enable/disable flow logging.

    flowAnalyticsConfiguration Property Map

    Parameters that define the configuration of traffic analytics.

    format Property Map

    Parameters that define the flow log format.

    id String

    Resource ID.

    location String

    Resource location.

    retentionPolicy Property Map

    Parameters that define the retention policy for flow log.

    tags Map<String>

    Resource tags.

    FrontendIPConfiguration, FrontendIPConfigurationArgs

    GatewayLoadBalancer Pulumi.AzureNative.Network.Inputs.SubResource

    The reference to gateway load balancer frontend IP.

    Id string

    Resource ID.

    Name string

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    PrivateIPAddress string

    The private IP address of the IP configuration.

    PrivateIPAddressVersion string | Pulumi.AzureNative.Network.IPVersion

    Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.

    PrivateIPAllocationMethod string | Pulumi.AzureNative.Network.IPAllocationMethod

    The Private IP allocation method.

    PublicIPAddress Pulumi.AzureNative.Network.Inputs.PublicIPAddress

    The reference to the Public IP resource.

    PublicIPPrefix Pulumi.AzureNative.Network.Inputs.SubResource

    The reference to the Public IP Prefix resource.

    Subnet Pulumi.AzureNative.Network.Inputs.Subnet

    The reference to the subnet resource.

    Zones List<string>

    A list of availability zones denoting the IP allocated for the resource needs to come from.

    GatewayLoadBalancer SubResource

    The reference to gateway load balancer frontend IP.

    Id string

    Resource ID.

    Name string

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    PrivateIPAddress string

    The private IP address of the IP configuration.

    PrivateIPAddressVersion string | IPVersion

    Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.

    PrivateIPAllocationMethod string | IPAllocationMethod

    The Private IP allocation method.

    PublicIPAddress PublicIPAddressType

    The reference to the Public IP resource.

    PublicIPPrefix SubResource

    The reference to the Public IP Prefix resource.

    Subnet SubnetType

    The reference to the subnet resource.

    Zones []string

    A list of availability zones denoting the IP allocated for the resource needs to come from.

    gatewayLoadBalancer SubResource

    The reference to gateway load balancer frontend IP.

    id String

    Resource ID.

    name String

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    privateIPAddress String

    The private IP address of the IP configuration.

    privateIPAddressVersion String | IPVersion

    Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.

    privateIPAllocationMethod String | IPAllocationMethod

    The Private IP allocation method.

    publicIPAddress PublicIPAddress

    The reference to the Public IP resource.

    publicIPPrefix SubResource

    The reference to the Public IP Prefix resource.

    subnet Subnet

    The reference to the subnet resource.

    zones List<String>

    A list of availability zones denoting the IP allocated for the resource needs to come from.

    gatewayLoadBalancer SubResource

    The reference to gateway load balancer frontend IP.

    id string

    Resource ID.

    name string

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    privateIPAddress string

    The private IP address of the IP configuration.

    privateIPAddressVersion string | IPVersion

    Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.

    privateIPAllocationMethod string | IPAllocationMethod

    The Private IP allocation method.

    publicIPAddress PublicIPAddress

    The reference to the Public IP resource.

    publicIPPrefix SubResource

    The reference to the Public IP Prefix resource.

    subnet Subnet

    The reference to the subnet resource.

    zones string[]

    A list of availability zones denoting the IP allocated for the resource needs to come from.

    gateway_load_balancer SubResource

    The reference to gateway load balancer frontend IP.

    id str

    Resource ID.

    name str

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    private_ip_address str

    The private IP address of the IP configuration.

    private_ip_address_version str | IPVersion

    Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.

    private_ip_allocation_method str | IPAllocationMethod

    The Private IP allocation method.

    public_ip_address PublicIPAddress

    The reference to the Public IP resource.

    public_ip_prefix SubResource

    The reference to the Public IP Prefix resource.

    subnet Subnet

    The reference to the subnet resource.

    zones Sequence[str]

    A list of availability zones denoting the IP allocated for the resource needs to come from.

    gatewayLoadBalancer Property Map

    The reference to gateway load balancer frontend IP.

    id String

    Resource ID.

    name String

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    privateIPAddress String

    The private IP address of the IP configuration.

    privateIPAddressVersion String | "IPv4" | "IPv6"

    Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.

    privateIPAllocationMethod String | "Static" | "Dynamic"

    The Private IP allocation method.

    publicIPAddress Property Map

    The reference to the Public IP resource.

    publicIPPrefix Property Map

    The reference to the Public IP Prefix resource.

    subnet Property Map

    The reference to the subnet resource.

    zones List<String>

    A list of availability zones denoting the IP allocated for the resource needs to come from.

    FrontendIPConfigurationResponse, FrontendIPConfigurationResponseArgs

    Etag string

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

    InboundNatPools List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>

    An array of references to inbound pools that use this frontend IP.

    InboundNatRules List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>

    An array of references to inbound rules that use this frontend IP.

    LoadBalancingRules List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>

    An array of references to load balancing rules that use this frontend IP.

    OutboundRules List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>

    An array of references to outbound rules that use this frontend IP.

    ProvisioningState string

    The provisioning state of the frontend IP configuration resource.

    Type string

    Type of the resource.

    GatewayLoadBalancer Pulumi.AzureNative.Network.Inputs.SubResourceResponse

    The reference to gateway load balancer frontend IP.

    Id string

    Resource ID.

    Name string

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    PrivateIPAddress string

    The private IP address of the IP configuration.

    PrivateIPAddressVersion string

    Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.

    PrivateIPAllocationMethod string

    The Private IP allocation method.

    PublicIPAddress Pulumi.AzureNative.Network.Inputs.PublicIPAddressResponse

    The reference to the Public IP resource.

    PublicIPPrefix Pulumi.AzureNative.Network.Inputs.SubResourceResponse

    The reference to the Public IP Prefix resource.

    Subnet Pulumi.AzureNative.Network.Inputs.SubnetResponse

    The reference to the subnet resource.

    Zones List<string>

    A list of availability zones denoting the IP allocated for the resource needs to come from.

    Etag string

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

    InboundNatPools []SubResourceResponse

    An array of references to inbound pools that use this frontend IP.

    InboundNatRules []SubResourceResponse

    An array of references to inbound rules that use this frontend IP.

    LoadBalancingRules []SubResourceResponse

    An array of references to load balancing rules that use this frontend IP.

    OutboundRules []SubResourceResponse

    An array of references to outbound rules that use this frontend IP.

    ProvisioningState string

    The provisioning state of the frontend IP configuration resource.

    Type string

    Type of the resource.

    GatewayLoadBalancer SubResourceResponse

    The reference to gateway load balancer frontend IP.

    Id string

    Resource ID.

    Name string

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    PrivateIPAddress string

    The private IP address of the IP configuration.

    PrivateIPAddressVersion string

    Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.

    PrivateIPAllocationMethod string

    The Private IP allocation method.

    PublicIPAddress PublicIPAddressResponse

    The reference to the Public IP resource.

    PublicIPPrefix SubResourceResponse

    The reference to the Public IP Prefix resource.

    Subnet SubnetResponse

    The reference to the subnet resource.

    Zones []string

    A list of availability zones denoting the IP allocated for the resource needs to come from.

    etag String

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

    inboundNatPools List<SubResourceResponse>

    An array of references to inbound pools that use this frontend IP.

    inboundNatRules List<SubResourceResponse>

    An array of references to inbound rules that use this frontend IP.

    loadBalancingRules List<SubResourceResponse>

    An array of references to load balancing rules that use this frontend IP.

    outboundRules List<SubResourceResponse>

    An array of references to outbound rules that use this frontend IP.

    provisioningState String

    The provisioning state of the frontend IP configuration resource.

    type String

    Type of the resource.

    gatewayLoadBalancer SubResourceResponse

    The reference to gateway load balancer frontend IP.

    id String

    Resource ID.

    name String

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    privateIPAddress String

    The private IP address of the IP configuration.

    privateIPAddressVersion String

    Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.

    privateIPAllocationMethod String

    The Private IP allocation method.

    publicIPAddress PublicIPAddressResponse

    The reference to the Public IP resource.

    publicIPPrefix SubResourceResponse

    The reference to the Public IP Prefix resource.

    subnet SubnetResponse

    The reference to the subnet resource.

    zones List<String>

    A list of availability zones denoting the IP allocated for the resource needs to come from.

    etag string

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

    inboundNatPools SubResourceResponse[]

    An array of references to inbound pools that use this frontend IP.

    inboundNatRules SubResourceResponse[]

    An array of references to inbound rules that use this frontend IP.

    loadBalancingRules SubResourceResponse[]

    An array of references to load balancing rules that use this frontend IP.

    outboundRules SubResourceResponse[]

    An array of references to outbound rules that use this frontend IP.

    provisioningState string

    The provisioning state of the frontend IP configuration resource.

    type string

    Type of the resource.

    gatewayLoadBalancer SubResourceResponse

    The reference to gateway load balancer frontend IP.

    id string

    Resource ID.

    name string

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    privateIPAddress string

    The private IP address of the IP configuration.

    privateIPAddressVersion string

    Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.

    privateIPAllocationMethod string

    The Private IP allocation method.

    publicIPAddress PublicIPAddressResponse

    The reference to the Public IP resource.

    publicIPPrefix SubResourceResponse

    The reference to the Public IP Prefix resource.

    subnet SubnetResponse

    The reference to the subnet resource.

    zones string[]

    A list of availability zones denoting the IP allocated for the resource needs to come from.

    etag str

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

    inbound_nat_pools Sequence[SubResourceResponse]

    An array of references to inbound pools that use this frontend IP.

    inbound_nat_rules Sequence[SubResourceResponse]

    An array of references to inbound rules that use this frontend IP.

    load_balancing_rules Sequence[SubResourceResponse]

    An array of references to load balancing rules that use this frontend IP.

    outbound_rules Sequence[SubResourceResponse]

    An array of references to outbound rules that use this frontend IP.

    provisioning_state str

    The provisioning state of the frontend IP configuration resource.

    type str

    Type of the resource.

    gateway_load_balancer SubResourceResponse

    The reference to gateway load balancer frontend IP.

    id str

    Resource ID.

    name str

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    private_ip_address str

    The private IP address of the IP configuration.

    private_ip_address_version str

    Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.

    private_ip_allocation_method str

    The Private IP allocation method.

    public_ip_address PublicIPAddressResponse

    The reference to the Public IP resource.

    public_ip_prefix SubResourceResponse

    The reference to the Public IP Prefix resource.

    subnet SubnetResponse

    The reference to the subnet resource.

    zones Sequence[str]

    A list of availability zones denoting the IP allocated for the resource needs to come from.

    etag String

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

    inboundNatPools List<Property Map>

    An array of references to inbound pools that use this frontend IP.

    inboundNatRules List<Property Map>

    An array of references to inbound rules that use this frontend IP.

    loadBalancingRules List<Property Map>

    An array of references to load balancing rules that use this frontend IP.

    outboundRules List<Property Map>

    An array of references to outbound rules that use this frontend IP.

    provisioningState String

    The provisioning state of the frontend IP configuration resource.

    type String

    Type of the resource.

    gatewayLoadBalancer Property Map

    The reference to gateway load balancer frontend IP.

    id String

    Resource ID.

    name String

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    privateIPAddress String

    The private IP address of the IP configuration.

    privateIPAddressVersion String

    Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.