Load Balancer
Creating a Standard private Load Balancer
defaults:
resource_group: rg1
resources:
- type: "Microsoft.Network/loadBalancers"
name: "private-lb-microservice"
api_version: "2025-05-01"
sku:
name: "Standard"
props:
frontend_ip_configurations:
- name: "internal-fe"
props:
subnet:
id: "/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"
private_ip_allocation_method: "Dynamic"
backend_address_pools:
- name: "microservice-backend-pool"
probes:
- name: "microservice-probe"
props:
protocol: "Tcp"
port: 5000
interval_in_seconds: 5
number_of_probes: 2
load_balancing_rules:
- name: "http-rule"
props:
protocol: "Tcp"
frontend_port: 80
backend_port: 5000
frontend_ip_configuration:
id: "ref:private-lb-microservice/frontend_ip_configurations/internal-fe"
backend_address_pool:
id: "ref:private-lb-microservice/backend_address_pools/microservice-backend-pool"
probe:
id: "ref:private-lb-microservice/probes/microservice-probe"
enable_floating_ip: false
idle_timeout_in_minutes: 4Example plan output
Creating a Standard public Load Balancer
Example plan output
Last updated