config/workload/loadbalancer/jsons/loadBalancers/ilb_workload_vnet_2_subnet_1.json

{
    "resourceId": "ilb_workload_vnet_2_subnet_1",
    "resourceMetadata": {
        "client": "TurnKeySdn"
    },
    "properties": {
        "frontendIPConfigurations": [
            {
                "resourceId": "fe-ilb_workload_vnet_2_subnet_1",
                "properties": {
                    "privateIPAddress": "172.21.0.200",
                    "privateIPAllocationMethod": "Static",
                    "subnet": {
                        "resourceRef": "/virtualNetworks/workload_vnet_2/subnets/workload_vnet_2_subnet_1"
                    },
                    "loadBalancingRules": [
                        {
                            "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/loadBalancingRules/ilb_workload_vnet_2_subnet_1-80-80"
                        },
                        {
                            "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/loadBalancingRules/ilb_workload_vnet_2_subnet_1-8080-81"
                        },
                        {
                            "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/loadBalancingRules/ilb_workload_vnet_2_subnet_1-22-22"
                        }
                    ],
                    "inboundNatRules": [],
                    "outboundNatRules": [],
                    "counters": []
                }
            }
        ],
        "backendAddressPools": [
            {
                "resourceId": "be-ilb_workload_vnet_2_subnet_1",
                "properties": {
                    "backendIPConfigurations": [],
                    "outboundNatRules": [],
                    "loadBalancingRules": [
                        {
                            "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/loadBalancingRules/ilb_workload_vnet_2_subnet_1-80-80"
                        },
                        {
                            "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/loadBalancingRules/ilb_workload_vnet_2_subnet_1-8080-81"
                        },
                        {
                            "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/loadBalancingRules/ilb_workload_vnet_2_subnet_1-22-22"
                        }
                    ]
                }
            }
        ],
        "loadBalancingRules": [
            {
                "resourceId": "ilb_workload_vnet_2_subnet_1-80-80",
                "properties": {
                    "frontendIPConfigurations": [
                        {
                            "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/frontendIPConfigurations/fe-ilb_workload_vnet_2_subnet_1"
                        }
                    ],
                    "protocol": "Tcp",
                    "enableTcpReset": false,
                    "frontendPort": 80,
                    "backendPort": 80,
                    "enableFloatingIP": false,
                    "idleTimeoutInMinutes": 4,
                    "backendAddressPool": {
                        "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/backendAddressPools/be-ilb_workload_vnet_2_subnet_1"
                    },
                    "loadDistribution": "Default",
                    "probe": {
                        "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/probes/80-Probe"
                    }
                }
            },
            {
                "resourceId": "ilb_workload_vnet_2_subnet_1-8080-81",
                "properties": {
                    "frontendIPConfigurations": [
                        {
                            "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/frontendIPConfigurations/fe-ilb_workload_vnet_2_subnet_1"
                        }
                    ],
                    "protocol": "Tcp",
                    "enableTcpReset": false,
                    "frontendPort": 8080,
                    "backendPort": 81,
                    "enableFloatingIP": false,
                    "idleTimeoutInMinutes": 4,
                    "backendAddressPool": {
                        "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/backendAddressPools/be-ilb_workload_vnet_2_subnet_1"
                    },
                    "loadDistribution": "Default"
                }
            },
            {
                "resourceId": "ilb_workload_vnet_2_subnet_1-22-22",
                "properties": {
                    "frontendIPConfigurations": [
                        {
                            "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/frontendIPConfigurations/fe-ilb_workload_vnet_2_subnet_1"
                        }
                    ],
                    "protocol": "Tcp",
                    "enableTcpReset": false,
                    "frontendPort": 22,
                    "backendPort": 22,
                    "enableFloatingIP": false,
                    "idleTimeoutInMinutes": 4,
                    "backendAddressPool": {
                        "resourceRef": "/loadBalancers/ilb_workload_vnet_2_subnet_1/backendAddressPools/be-ilb_workload_vnet_2_subnet_1"
                    },
                    "loadDistribution": "Default"
                }
            }
        ],
        "probes": [
            {
                "resourceId": "80-Probe",
                "properties": {
                    "protocol": "Tcp",
                    "port": 80,
                    "intervalInSeconds": 5,
                    "numberOfProbes": 2
                }
            }
        ]
    }
}