azure-native.network.LoadBalancer
Explore with Pulumi AI
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:
- Resource
Group stringName The name of the resource group.
- Backend
Address List<Pulumi.Pools Azure Native. Network. Inputs. Backend Address Pool> 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 Pulumi.Azure Native. Network. Inputs. Extended Location The extended location of the load balancer.
- Frontend
IPConfigurations List<Pulumi.Azure Native. Network. Inputs. Frontend IPConfiguration> Object representing the frontend IPs to be used for the load balancer.
- Id string
Resource ID.
- Inbound
Nat List<Pulumi.Pools Azure Native. Network. Inputs. Inbound Nat Pool> 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 List<Pulumi.Rules Azure Native. Network. Inputs. Inbound Nat Rule> 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 stringName The name of the load balancer.
- Load
Balancing List<Pulumi.Rules Azure Native. Network. Inputs. Load Balancing Rule> Object collection representing the load balancing rules Gets the provisioning.
- Location string
Resource location.
- Outbound
Rules List<Pulumi.Azure Native. Network. Inputs. Outbound Rule> The outbound rules.
- Probes
List<Pulumi.
Azure Native. Network. Inputs. Probe> Collection of probe objects used in the load balancer.
- Sku
Pulumi.
Azure Native. Network. Inputs. Load Balancer Sku The load balancer SKU.
- Dictionary<string, string>
Resource tags.
- Resource
Group stringName The name of the resource group.
- Backend
Address []BackendPools Address Pool Args 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 ExtendedLocation Args The extended location of the load balancer.
- Frontend
IPConfigurations []FrontendIPConfiguration Args Object representing the frontend IPs to be used for the load balancer.
- Id string
Resource ID.
- Inbound
Nat []InboundPools Nat Pool Args 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 []InboundRules Nat Rule Type Args 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 stringName The name of the load balancer.
- Load
Balancing []LoadRules Balancing Rule Args Object collection representing the load balancing rules Gets the provisioning.
- Location string
Resource location.
- Outbound
Rules []OutboundRule Args The outbound rules.
- Probes
[]Probe
Args Collection of probe objects used in the load balancer.
- Sku
Load
Balancer Sku Args The load balancer SKU.
- map[string]string
Resource tags.
- resource
Group StringName The name of the resource group.
- backend
Address List<BackendPools Address Pool> 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 ExtendedLocation The extended location of the load balancer.
- frontend
IPConfigurations List<FrontendIPConfiguration> Object representing the frontend IPs to be used for the load balancer.
- id String
Resource ID.
- inbound
Nat List<InboundPools Nat Pool> 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 List<InboundRules Nat Rule> 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 StringName The name of the load balancer.
- load
Balancing List<LoadRules Balancing Rule> Object collection representing the load balancing rules Gets the provisioning.
- location String
Resource location.
- outbound
Rules List<OutboundRule> The outbound rules.
- probes List<Probe>
Collection of probe objects used in the load balancer.
- sku
Load
Balancer Sku The load balancer SKU.
- Map<String,String>
Resource tags.
- resource
Group stringName The name of the resource group.
- backend
Address BackendPools Address Pool[] 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 ExtendedLocation The extended location of the load balancer.
- frontend
IPConfigurations FrontendIPConfiguration[] Object representing the frontend IPs to be used for the load balancer.
- id string
Resource ID.
- inbound
Nat InboundPools Nat Pool[] 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 InboundRules Nat Rule[] 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 stringName The name of the load balancer.
- load
Balancing LoadRules Balancing Rule[] Object collection representing the load balancing rules Gets the provisioning.
- location string
Resource location.
- outbound
Rules OutboundRule[] The outbound rules.
- probes Probe[]
Collection of probe objects used in the load balancer.
- sku
Load
Balancer Sku The load balancer SKU.
- {[key: string]: string}
Resource tags.
- resource_
group_ strname The name of the resource group.
- backend_
address_ Sequence[Backendpools Address Pool Args] 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 ExtendedLocation Args The extended location of the load balancer.
- frontend_
ip_ Sequence[Frontendconfigurations IPConfiguration Args] Object representing the frontend IPs to be used for the load balancer.
- id str
Resource ID.
- inbound_
nat_ Sequence[Inboundpools Nat Pool Args] 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_ Sequence[Inboundrules Nat Rule Args] 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_ strname The name of the load balancer.
- load_
balancing_ Sequence[Loadrules Balancing Rule Args] Object collection representing the load balancing rules Gets the provisioning.
- location str
Resource location.
- outbound_
rules Sequence[OutboundRule Args] The outbound rules.
- probes
Sequence[Probe
Args] Collection of probe objects used in the load balancer.
- sku
Load
Balancer Sku Args The load balancer SKU.
- Mapping[str, str]
Resource tags.
- resource
Group StringName The name of the resource group.
- backend
Address List<Property Map>Pools 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 Property Map The extended location of the load balancer.
- frontend
IPConfigurations List<Property Map> Object representing the frontend IPs to be used for the load balancer.
- id String
Resource ID.
- inbound
Nat List<Property Map>Pools 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 List<Property Map>Rules 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 StringName The name of the load balancer.
- load
Balancing List<Property Map>Rules Object collection representing the load balancing rules Gets the provisioning.
- location String
Resource location.
- outbound
Rules 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.
- 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.
- Provisioning
State string The provisioning state of the load balancer resource.
- Resource
Guid 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.
- Provisioning
State string The provisioning state of the load balancer resource.
- Resource
Guid 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.
- provisioning
State String The provisioning state of the load balancer resource.
- resource
Guid 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.
- provisioning
State string The provisioning state of the load balancer resource.
- resource
Guid 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.
- provisioning
State String The provisioning state of the load balancer resource.
- resource
Guid String The resource GUID property of the load balancer resource.
- type String
Resource type.
Supporting Types
ApplicationGatewayBackendAddressPoolResponse, ApplicationGatewayBackendAddressPoolResponseArgs
- Backend
IPConfigurations List<Pulumi.Azure Native. Network. Inputs. Network Interface IPConfiguration Response> Collection of references to IPs defined in network interfaces.
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Provisioning
State string The provisioning state of the backend address pool resource.
- Type string
Type of the resource.
- Backend
Addresses List<Pulumi.Azure Native. Network. Inputs. Application Gateway Backend Address Response> Backend addresses.
- Id string
Resource ID.
- Name string
Name of the backend address pool that is unique within an Application Gateway.
- Backend
IPConfigurations []NetworkInterface IPConfiguration Response Collection of references to IPs defined in network interfaces.
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Provisioning
State string The provisioning state of the backend address pool resource.
- Type string
Type of the resource.
- Backend
Addresses []ApplicationGateway Backend Address Response Backend addresses.
- Id string
Resource ID.
- Name string
Name of the backend address pool that is unique within an Application Gateway.
- backend
IPConfigurations List<NetworkInterface IPConfiguration Response> Collection of references to IPs defined in network interfaces.
- etag String
A unique read-only string that changes whenever the resource is updated.
- provisioning
State String The provisioning state of the backend address pool resource.
- type String
Type of the resource.
- backend
Addresses List<ApplicationGateway Backend Address Response> Backend addresses.
- id String
Resource ID.
- name String
Name of the backend address pool that is unique within an Application Gateway.
- backend
IPConfigurations NetworkInterface IPConfiguration Response[] Collection of references to IPs defined in network interfaces.
- etag string
A unique read-only string that changes whenever the resource is updated.
- provisioning
State string The provisioning state of the backend address pool resource.
- type string
Type of the resource.
- backend
Addresses ApplicationGateway Backend Address Response[] Backend addresses.
- id string
Resource ID.
- name string
Name of the backend address pool that is unique within an Application Gateway.
- backend_
ip_ Sequence[Networkconfigurations Interface IPConfiguration Response] 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[ApplicationGateway Backend Address Response] Backend addresses.
- id str
Resource ID.
- name str
Name of the backend address pool that is unique within an Application Gateway.
- backend
IPConfigurations 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.
- provisioning
State String The provisioning state of the backend address pool resource.
- type String
Type of the resource.
- backend
Addresses 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 str
Fully qualified domain name (FQDN).
- ip_
address str IP address.
ApplicationGatewayIPConfiguration, ApplicationGatewayIPConfigurationArgs
- Id string
Resource ID.
- Name string
Name of the IP configuration that is unique within an Application Gateway.
- Subnet
Pulumi.
Azure Native. Network. Inputs. Sub Resource 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
Sub
Resource 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
Sub
Resource 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
Sub
Resource 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
Sub
Resource 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.
- Provisioning
State 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.
Azure Native. Network. Inputs. Sub Resource Response 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.
- Provisioning
State 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
Sub
Resource Response 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.
- provisioning
State 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
Sub
Resource Response 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.
- provisioning
State 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
Sub
Resource Response 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
Sub
Resource Response 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.
- provisioning
State 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
ApplicationSecurityGroupResponse, ApplicationSecurityGroupResponseArgs
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Name string
Resource name.
- Provisioning
State string The provisioning state of the application security group resource.
- Resource
Guid 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.
- Dictionary<string, string>
Resource tags.
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Name string
Resource name.
- Provisioning
State string The provisioning state of the application security group resource.
- Resource
Guid 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.
- map[string]string
Resource tags.
- etag String
A unique read-only string that changes whenever the resource is updated.
- name String
Resource name.
- provisioning
State String The provisioning state of the application security group resource.
- resource
Guid 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.
- Map<String,String>
Resource tags.
- etag string
A unique read-only string that changes whenever the resource is updated.
- name string
Resource name.
- provisioning
State string The provisioning state of the application security group resource.
- resource
Guid 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.
- {[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.
- Mapping[str, str]
Resource tags.
- etag String
A unique read-only string that changes whenever the resource is updated.
- name String
Resource name.
- provisioning
State String The provisioning state of the application security group resource.
- resource
Guid 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.
- Map<String>
Resource tags.
BackendAddressPool, BackendAddressPoolArgs
- Drain
Period intIn Seconds Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- Id string
Resource ID.
- Load
Balancer List<Pulumi.Backend Addresses Azure Native. Network. Inputs. Load Balancer Backend Address> 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.
- Tunnel
Interfaces List<Pulumi.Azure Native. Network. Inputs. Gateway Load Balancer Tunnel Interface> An array of gateway load balancer tunnel interfaces.
- Virtual
Network Pulumi.Azure Native. Network. Inputs. Sub Resource A reference to a virtual network.
- Drain
Period intIn Seconds Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- Id string
Resource ID.
- Load
Balancer []LoadBackend Addresses Balancer Backend Address 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.
- Tunnel
Interfaces []GatewayLoad Balancer Tunnel Interface An array of gateway load balancer tunnel interfaces.
- Virtual
Network SubResource A reference to a virtual network.
- drain
Period IntegerIn Seconds Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- id String
Resource ID.
- load
Balancer List<LoadBackend Addresses Balancer Backend Address> 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.
- tunnel
Interfaces List<GatewayLoad Balancer Tunnel Interface> An array of gateway load balancer tunnel interfaces.
- virtual
Network SubResource A reference to a virtual network.
- drain
Period numberIn Seconds Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- id string
Resource ID.
- load
Balancer LoadBackend Addresses Balancer Backend Address[] 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.
- tunnel
Interfaces GatewayLoad Balancer Tunnel Interface[] An array of gateway load balancer tunnel interfaces.
- virtual
Network SubResource A reference to a virtual network.
- drain_
period_ intin_ seconds Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- id str
Resource ID.
- load_
balancer_ Sequence[Loadbackend_ addresses Balancer Backend Address] 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[GatewayLoad Balancer Tunnel Interface] An array of gateway load balancer tunnel interfaces.
- virtual_
network SubResource A reference to a virtual network.
- drain
Period NumberIn Seconds Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- id String
Resource ID.
- load
Balancer List<Property Map>Backend Addresses 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.
- tunnel
Interfaces List<Property Map> An array of gateway load balancer tunnel interfaces.
- virtual
Network Property Map A reference to a virtual network.
BackendAddressPoolResponse, BackendAddressPoolResponseArgs
- Backend
IPConfigurations List<Pulumi.Azure Native. Network. Inputs. Network Interface IPConfiguration Response> 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.
- Inbound
Nat List<Pulumi.Rules Azure Native. Network. Inputs. Sub Resource Response> An array of references to inbound NAT rules that use this backend address pool.
- Load
Balancing List<Pulumi.Rules Azure Native. Network. Inputs. Sub Resource Response> An array of references to load balancing rules that use this backend address pool.
- Outbound
Rule Pulumi.Azure Native. Network. Inputs. Sub Resource Response A reference to an outbound rule that uses this backend address pool.
- Outbound
Rules List<Pulumi.Azure Native. Network. Inputs. Sub Resource Response> An array of references to outbound rules that use this backend address pool.
- Provisioning
State string The provisioning state of the backend address pool resource.
- Type string
Type of the resource.
- Drain
Period intIn Seconds Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- Id string
Resource ID.
- Load
Balancer List<Pulumi.Backend Addresses Azure Native. Network. Inputs. Load Balancer Backend Address Response> 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.
- Tunnel
Interfaces List<Pulumi.Azure Native. Network. Inputs. Gateway Load Balancer Tunnel Interface Response> An array of gateway load balancer tunnel interfaces.
- Virtual
Network Pulumi.Azure Native. Network. Inputs. Sub Resource Response A reference to a virtual network.
- Backend
IPConfigurations []NetworkInterface IPConfiguration Response 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.
- Inbound
Nat []SubRules Resource Response An array of references to inbound NAT rules that use this backend address pool.
- Load
Balancing []SubRules Resource Response An array of references to load balancing rules that use this backend address pool.
- Outbound
Rule SubResource Response A reference to an outbound rule that uses this backend address pool.
- Outbound
Rules []SubResource Response An array of references to outbound rules that use this backend address pool.
- Provisioning
State string The provisioning state of the backend address pool resource.
- Type string
Type of the resource.
- Drain
Period intIn Seconds Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- Id string
Resource ID.
- Load
Balancer []LoadBackend Addresses Balancer Backend Address Response 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.
- Tunnel
Interfaces []GatewayLoad Balancer Tunnel Interface Response An array of gateway load balancer tunnel interfaces.
- Virtual
Network SubResource Response A reference to a virtual network.
- backend
IPConfigurations List<NetworkInterface IPConfiguration Response> 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.
- inbound
Nat List<SubRules Resource Response> An array of references to inbound NAT rules that use this backend address pool.
- load
Balancing List<SubRules Resource Response> An array of references to load balancing rules that use this backend address pool.
- outbound
Rule SubResource Response A reference to an outbound rule that uses this backend address pool.
- outbound
Rules List<SubResource Response> An array of references to outbound rules that use this backend address pool.
- provisioning
State String The provisioning state of the backend address pool resource.
- type String
Type of the resource.
- drain
Period IntegerIn Seconds Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- id String
Resource ID.
- load
Balancer List<LoadBackend Addresses Balancer Backend Address Response> 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.
- tunnel
Interfaces List<GatewayLoad Balancer Tunnel Interface Response> An array of gateway load balancer tunnel interfaces.
- virtual
Network SubResource Response A reference to a virtual network.
- backend
IPConfigurations NetworkInterface IPConfiguration Response[] 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.
- inbound
Nat SubRules Resource Response[] An array of references to inbound NAT rules that use this backend address pool.
- load
Balancing SubRules Resource Response[] An array of references to load balancing rules that use this backend address pool.
- outbound
Rule SubResource Response A reference to an outbound rule that uses this backend address pool.
- outbound
Rules SubResource Response[] An array of references to outbound rules that use this backend address pool.
- provisioning
State string The provisioning state of the backend address pool resource.
- type string
Type of the resource.
- drain
Period numberIn Seconds Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- id string
Resource ID.
- load
Balancer LoadBackend Addresses Balancer Backend Address Response[] 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.
- tunnel
Interfaces GatewayLoad Balancer Tunnel Interface Response[] An array of gateway load balancer tunnel interfaces.
- virtual
Network SubResource Response A reference to a virtual network.
- backend_
ip_ Sequence[Networkconfigurations Interface IPConfiguration Response] 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_ Sequence[Subrules Resource Response] An array of references to inbound NAT rules that use this backend address pool.
- load_
balancing_ Sequence[Subrules Resource Response] An array of references to load balancing rules that use this backend address pool.
- outbound_
rule SubResource Response A reference to an outbound rule that uses this backend address pool.
- outbound_
rules Sequence[SubResource Response] 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_ intin_ seconds Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- id str
Resource ID.
- load_
balancer_ Sequence[Loadbackend_ addresses Balancer Backend Address Response] 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[GatewayLoad Balancer Tunnel Interface Response] An array of gateway load balancer tunnel interfaces.
- virtual_
network SubResource Response A reference to a virtual network.
- backend
IPConfigurations 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.
- inbound
Nat List<Property Map>Rules An array of references to inbound NAT rules that use this backend address pool.
- load
Balancing List<Property Map>Rules An array of references to load balancing rules that use this backend address pool.
- outbound
Rule Property Map A reference to an outbound rule that uses this backend address pool.
- outbound
Rules List<Property Map> An array of references to outbound rules that use this backend address pool.
- provisioning
State String The provisioning state of the backend address pool resource.
- type String
Type of the resource.
- drain
Period NumberIn Seconds Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- id String
Resource ID.
- load
Balancer List<Property Map>Backend Addresses 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.
- tunnel
Interfaces List<Property Map> An array of gateway load balancer tunnel interfaces.
- virtual
Network Property Map A reference to a virtual network.
CustomDnsConfigPropertiesFormatResponse, CustomDnsConfigPropertiesFormatResponseArgs
- Fqdn string
Fqdn that resolves to private endpoint ip address.
- Ip
Addresses List<string> A list of private ip addresses of the private endpoint.
- Fqdn string
Fqdn that resolves to private endpoint ip address.
- Ip
Addresses []string A list of private ip addresses of the private endpoint.
- fqdn String
Fqdn that resolves to private endpoint ip address.
- ip
Addresses List<String> A list of private ip addresses of the private endpoint.
- fqdn string
Fqdn that resolves to private endpoint ip address.
- ip
Addresses 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.
- ip
Addresses List<String> A list of private ip addresses of the private endpoint.
DdosSettings, DdosSettingsArgs
- Ddos
Protection Pulumi.Plan Azure Native. Network. Inputs. Sub Resource The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- Protection
Mode string | Pulumi.Azure Native. Network. Ddos Settings Protection Mode The DDoS protection mode of the public IP
- Ddos
Protection SubPlan Resource The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- Protection
Mode string | DdosSettings Protection Mode The DDoS protection mode of the public IP
- ddos
Protection SubPlan Resource The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- protection
Mode String | DdosSettings Protection Mode The DDoS protection mode of the public IP
- ddos
Protection SubPlan Resource The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- protection
Mode string | DdosSettings Protection Mode The DDoS protection mode of the public IP
- ddos_
protection_ Subplan Resource The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- protection_
mode str | DdosSettings Protection Mode The DDoS protection mode of the public IP
- ddos
Protection Property MapPlan The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- protection
Mode String | "VirtualNetwork Inherited" | "Enabled" | "Disabled" The DDoS protection mode of the public IP
DdosSettingsProtectionMode, DdosSettingsProtectionModeArgs
- Virtual
Network Inherited - VirtualNetworkInherited
- Enabled
- Enabled
- Disabled
- Disabled
- Ddos
Settings Protection Mode Virtual Network Inherited - VirtualNetworkInherited
- Ddos
Settings Protection Mode Enabled - Enabled
- Ddos
Settings Protection Mode Disabled - Disabled
- Virtual
Network Inherited - VirtualNetworkInherited
- Enabled
- Enabled
- Disabled
- Disabled
- Virtual
Network Inherited - VirtualNetworkInherited
- Enabled
- Enabled
- Disabled
- Disabled
- VIRTUAL_NETWORK_INHERITED
- VirtualNetworkInherited
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Virtual
Network Inherited" - VirtualNetworkInherited
- "Enabled"
- Enabled
- "Disabled"
- Disabled
DdosSettingsResponse, DdosSettingsResponseArgs
- Ddos
Custom Pulumi.Policy Azure Native. Network. Inputs. Sub Resource Response The DDoS custom policy associated with the public IP.
- Ddos
Protection Pulumi.Plan Azure Native. Network. Inputs. Sub Resource Response The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- Protection
Coverage string The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.
- Protection
Mode string The DDoS protection mode of the public IP
- Ddos
Custom SubPolicy Resource Response The DDoS custom policy associated with the public IP.
- Ddos
Protection SubPlan Resource Response The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- Protection
Coverage string The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.
- Protection
Mode string The DDoS protection mode of the public IP
- ddos
Custom SubPolicy Resource Response The DDoS custom policy associated with the public IP.
- ddos
Protection SubPlan Resource Response The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- protection
Coverage String The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.
- protection
Mode String The DDoS protection mode of the public IP
- ddos
Custom SubPolicy Resource Response The DDoS custom policy associated with the public IP.
- ddos
Protection SubPlan Resource Response The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- protection
Coverage string The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.
- protection
Mode string The DDoS protection mode of the public IP
- ddos_
custom_ Subpolicy Resource Response The DDoS custom policy associated with the public IP.
- ddos_
protection_ Subplan Resource Response 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
- ddos
Custom Property MapPolicy The DDoS custom policy associated with the public IP.
- ddos
Protection Property MapPlan The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- protection
Coverage String The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.
- protection
Mode 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.
- Service
Name 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.
- Service
Name 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.
- service
Name 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.
- service
Name 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.
- service
Name 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.
- Provisioning
State 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.
- Service
Name 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.
- Provisioning
State 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.
- Service
Name 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.
- provisioning
State 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.
- service
Name 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.
- provisioning
State 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.
- service
Name 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.
- provisioning
State 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.
- service
Name 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
- Delete
Options Delete - Delete
- Delete
Options Detach - 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.
Azure Native. Network. Extended Location Types The type of the extended location.
- Name string
The name of the extended location.
- Type
string | Extended
Location Types The type of the extended location.
- name String
The name of the extended location.
- type
String | Extended
Location Types The type of the extended location.
- name string
The name of the extended location.
- type
string | Extended
Location Types The type of the extended location.
- name str
The name of the extended location.
- type
str | Extended
Location Types The type of the extended location.
- name String
The name of the extended location.
- type
String | "Edge
Zone" The type of the extended location.
ExtendedLocationResponse, ExtendedLocationResponseArgs
ExtendedLocationTypes, ExtendedLocationTypesArgs
- Edge
Zone - EdgeZone
- Extended
Location Types Edge Zone - EdgeZone
- Edge
Zone - EdgeZone
- Edge
Zone - EdgeZone
- EDGE_ZONE
- EdgeZone
- "Edge
Zone" - EdgeZone
FlowLogFormatParametersResponse, FlowLogFormatParametersResponseArgs
FlowLogResponse, FlowLogResponseArgs
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Name string
Resource name.
- Provisioning
State string The provisioning state of the flow log.
- Storage
Id string ID of the storage account which is used to store the flow log.
- Target
Resource stringGuid Guid of network security group to which flow log will be applied.
- Target
Resource stringId ID of network security group to which flow log will be applied.
- Type string
Resource type.
- Enabled bool
Flag to enable/disable flow logging.
- Flow
Analytics Pulumi.Configuration Azure Native. Network. Inputs. Traffic Analytics Properties Response Parameters that define the configuration of traffic analytics.
- Format
Pulumi.
Azure Native. Network. Inputs. Flow Log Format Parameters Response Parameters that define the flow log format.
- Id string
Resource ID.
- Location string
Resource location.
- Retention
Policy Pulumi.Azure Native. Network. Inputs. Retention Policy Parameters Response Parameters that define the retention policy for flow log.
- Dictionary<string, string>
Resource tags.
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Name string
Resource name.
- Provisioning
State string The provisioning state of the flow log.
- Storage
Id string ID of the storage account which is used to store the flow log.
- Target
Resource stringGuid Guid of network security group to which flow log will be applied.
- Target
Resource stringId ID of network security group to which flow log will be applied.
- Type string
Resource type.
- Enabled bool
Flag to enable/disable flow logging.
- Flow
Analytics TrafficConfiguration Analytics Properties Response Parameters that define the configuration of traffic analytics.
- Format
Flow
Log Format Parameters Response Parameters that define the flow log format.
- Id string
Resource ID.
- Location string
Resource location.
- Retention
Policy RetentionPolicy Parameters Response Parameters that define the retention policy for flow log.
- map[string]string
Resource tags.
- etag String
A unique read-only string that changes whenever the resource is updated.
- name String
Resource name.
- provisioning
State String The provisioning state of the flow log.
- storage
Id String ID of the storage account which is used to store the flow log.
- target
Resource StringGuid Guid of network security group to which flow log will be applied.
- target
Resource StringId ID of network security group to which flow log will be applied.
- type String
Resource type.
- enabled Boolean
Flag to enable/disable flow logging.
- flow
Analytics TrafficConfiguration Analytics Properties Response Parameters that define the configuration of traffic analytics.
- format
Flow
Log Format Parameters Response Parameters that define the flow log format.
- id String
Resource ID.
- location String
Resource location.
- retention
Policy RetentionPolicy Parameters Response Parameters that define the retention policy for flow log.
- Map<String,String>
Resource tags.
- etag string
A unique read-only string that changes whenever the resource is updated.
- name string
Resource name.
- provisioning
State string The provisioning state of the flow log.
- storage
Id string ID of the storage account which is used to store the flow log.
- target
Resource stringGuid Guid of network security group to which flow log will be applied.
- target
Resource stringId ID of network security group to which flow log will be applied.
- type string
Resource type.
- enabled boolean
Flag to enable/disable flow logging.
- flow
Analytics TrafficConfiguration Analytics Properties Response Parameters that define the configuration of traffic analytics.
- format
Flow
Log Format Parameters Response Parameters that define the flow log format.
- id string
Resource ID.
- location string
Resource location.
- retention
Policy RetentionPolicy Parameters Response Parameters that define the retention policy for flow log.
- {[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_ strguid Guid of network security group to which flow log will be applied.
- target_
resource_ strid 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_ Trafficconfiguration Analytics Properties Response Parameters that define the configuration of traffic analytics.
- format
Flow
Log Format Parameters Response Parameters that define the flow log format.
- id str
Resource ID.
- location str
Resource location.
- retention_
policy RetentionPolicy Parameters Response Parameters that define the retention policy for flow log.
- Mapping[str, str]
Resource tags.
- etag String
A unique read-only string that changes whenever the resource is updated.
- name String
Resource name.
- provisioning
State String The provisioning state of the flow log.
- storage
Id String ID of the storage account which is used to store the flow log.
- target
Resource StringGuid Guid of network security group to which flow log will be applied.
- target
Resource StringId ID of network security group to which flow log will be applied.
- type String
Resource type.
- enabled Boolean
Flag to enable/disable flow logging.
- flow
Analytics Property MapConfiguration 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.
- retention
Policy Property Map Parameters that define the retention policy for flow log.
- Map<String>
Resource tags.
FrontendIPConfiguration, FrontendIPConfigurationArgs
- Gateway
Load Pulumi.Balancer Azure Native. Network. Inputs. Sub Resource 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.
- Private
IPAddress string The private IP address of the IP configuration.
- Private
IPAddress string | Pulumi.Version Azure Native. Network. IPVersion Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- Private
IPAllocation string | Pulumi.Method Azure Native. Network. IPAllocation Method The Private IP allocation method.
- Public
IPAddress Pulumi.Azure Native. Network. Inputs. Public IPAddress The reference to the Public IP resource.
- Public
IPPrefix Pulumi.Azure Native. Network. Inputs. Sub Resource The reference to the Public IP Prefix resource.
- Subnet
Pulumi.
Azure Native. 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.
- Gateway
Load SubBalancer Resource 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.
- Private
IPAddress string The private IP address of the IP configuration.
- Private
IPAddress string | IPVersionVersion Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- Private
IPAllocation string | IPAllocationMethod Method The Private IP allocation method.
- Public
IPAddress PublicIPAddress Type The reference to the Public IP resource.
- Public
IPPrefix SubResource The reference to the Public IP Prefix resource.
- Subnet
Subnet
Type 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 SubBalancer Resource 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.
- private
IPAddress String The private IP address of the IP configuration.
- private
IPAddress String | IPVersionVersion Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- private
IPAllocation String | IPAllocationMethod Method The Private IP allocation method.
- public
IPAddress PublicIPAddress The reference to the Public IP resource.
- public
IPPrefix 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.
- gateway
Load SubBalancer Resource 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.
- private
IPAddress string The private IP address of the IP configuration.
- private
IPAddress string | IPVersionVersion Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- private
IPAllocation string | IPAllocationMethod Method The Private IP allocation method.
- public
IPAddress PublicIPAddress The reference to the Public IP resource.
- public
IPPrefix 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_ Subbalancer Resource 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_ straddress The private IP address of the IP configuration.
- private_
ip_ str | IPVersionaddress_ version Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- private_
ip_ str | IPAllocationallocation_ method Method The Private IP allocation method.
- public_
ip_ Publicaddress IPAddress The reference to the Public IP resource.
- public_
ip_ Subprefix Resource 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.
- gateway
Load Property MapBalancer 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.
- private
IPAddress String The private IP address of the IP configuration.
- private
IPAddress String | "IPv4" | "IPv6"Version Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- private
IPAllocation String | "Static" | "Dynamic"Method The Private IP allocation method.
- public
IPAddress Property Map The reference to the Public IP resource.
- public
IPPrefix 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.
- Inbound
Nat List<Pulumi.Pools Azure Native. Network. Inputs. Sub Resource Response> An array of references to inbound pools that use this frontend IP.
- Inbound
Nat List<Pulumi.Rules Azure Native. Network. Inputs. Sub Resource Response> An array of references to inbound rules that use this frontend IP.
- Load
Balancing List<Pulumi.Rules Azure Native. Network. Inputs. Sub Resource Response> An array of references to load balancing rules that use this frontend IP.
- Outbound
Rules List<Pulumi.Azure Native. Network. Inputs. Sub Resource Response> An array of references to outbound rules that use this frontend IP.
- Provisioning
State string The provisioning state of the frontend IP configuration resource.
- Type string
Type of the resource.
- Gateway
Load Pulumi.Balancer Azure Native. Network. Inputs. Sub Resource Response 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.
- Private
IPAddress string The private IP address of the IP configuration.
- Private
IPAddress stringVersion Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- Private
IPAllocation stringMethod The Private IP allocation method.
- Public
IPAddress Pulumi.Azure Native. Network. Inputs. Public IPAddress Response The reference to the Public IP resource.
- Public
IPPrefix Pulumi.Azure Native. Network. Inputs. Sub Resource Response The reference to the Public IP Prefix resource.
- Subnet
Pulumi.
Azure Native. Network. Inputs. Subnet Response 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.
- Inbound
Nat []SubPools Resource Response An array of references to inbound pools that use this frontend IP.
- Inbound
Nat []SubRules Resource Response An array of references to inbound rules that use this frontend IP.
- Load
Balancing []SubRules Resource Response An array of references to load balancing rules that use this frontend IP.
- Outbound
Rules []SubResource Response An array of references to outbound rules that use this frontend IP.
- Provisioning
State string The provisioning state of the frontend IP configuration resource.
- Type string
Type of the resource.
- Gateway
Load SubBalancer Resource Response 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.
- Private
IPAddress string The private IP address of the IP configuration.
- Private
IPAddress stringVersion Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- Private
IPAllocation stringMethod The Private IP allocation method.
- Public
IPAddress PublicIPAddress Response The reference to the Public IP resource.
- Public
IPPrefix SubResource Response The reference to the Public IP Prefix resource.
- Subnet
Subnet
Response 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.
- inbound
Nat List<SubPools Resource Response> An array of references to inbound pools that use this frontend IP.
- inbound
Nat List<SubRules Resource Response> An array of references to inbound rules that use this frontend IP.
- load
Balancing List<SubRules Resource Response> An array of references to load balancing rules that use this frontend IP.
- outbound
Rules List<SubResource Response> An array of references to outbound rules that use this frontend IP.
- provisioning
State String The provisioning state of the frontend IP configuration resource.
- type String
Type of the resource.
- gateway
Load SubBalancer Resource Response 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.
- private
IPAddress String The private IP address of the IP configuration.
- private
IPAddress StringVersion Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- private
IPAllocation StringMethod The Private IP allocation method.
- public
IPAddress PublicIPAddress Response The reference to the Public IP resource.
- public
IPPrefix SubResource Response The reference to the Public IP Prefix resource.
- subnet
Subnet
Response 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.
- inbound
Nat SubPools Resource Response[] An array of references to inbound pools that use this frontend IP.
- inbound
Nat SubRules Resource Response[] An array of references to inbound rules that use this frontend IP.
- load
Balancing SubRules Resource Response[] An array of references to load balancing rules that use this frontend IP.
- outbound
Rules SubResource Response[] An array of references to outbound rules that use this frontend IP.
- provisioning
State string The provisioning state of the frontend IP configuration resource.
- type string
Type of the resource.
- gateway
Load SubBalancer Resource Response 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.
- private
IPAddress string The private IP address of the IP configuration.
- private
IPAddress stringVersion Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- private
IPAllocation stringMethod The Private IP allocation method.
- public
IPAddress PublicIPAddress Response The reference to the Public IP resource.
- public
IPPrefix SubResource Response The reference to the Public IP Prefix resource.
- subnet
Subnet
Response 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_ Sequence[Subpools Resource Response] An array of references to inbound pools that use this frontend IP.
- inbound_
nat_ Sequence[Subrules Resource Response] An array of references to inbound rules that use this frontend IP.
- load_
balancing_ Sequence[Subrules Resource Response] An array of references to load balancing rules that use this frontend IP.
- outbound_
rules Sequence[SubResource Response] 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_ Subbalancer Resource Response 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_ straddress The private IP address of the IP configuration.
- private_
ip_ straddress_ version Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- private_
ip_ strallocation_ method The Private IP allocation method.
- public_
ip_ Publicaddress IPAddress Response The reference to the Public IP resource.
- public_
ip_ Subprefix Resource Response The reference to the Public IP Prefix resource.
- subnet
Subnet
Response 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.
- inbound
Nat List<Property Map>Pools An array of references to inbound pools that use this frontend IP.
- inbound
Nat List<Property Map>Rules An array of references to inbound rules that use this frontend IP.
- load
Balancing List<Property Map>Rules An array of references to load balancing rules that use this frontend IP.
- outbound
Rules List<Property Map> An array of references to outbound rules that use this frontend IP.
- provisioning
State String The provisioning state of the frontend IP configuration resource.
- type String
Type of the resource.
- gateway
Load Property MapBalancer 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.
- private
IPAddress String The private IP address of the IP configuration.
- private
IPAddress StringVersion Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.