LoadBalancerSpecification

LoadBalancerSpecification
LoadBalancerSpecification

Load balancer configuration.

JSON Example
{
    "name": "string",
    "projectId": "e058",
    "description": "string",
    "routes": [
        {
            "protocol": "TCP, UDP",
            "port": "80",
            "memberProtocol": "TCP, UDP",
            "memberPort": "80",
            "healthCheckConfiguration": {
                "protocol": "HTTP, HTTPS",
                "port": "80",
                "urlPath": "/index.html",
                "intervalSeconds": 60,
                "timeoutSeconds": 5,
                "unhealthyThreshold": 5,
                "healthyThreshold": 2
            }
        }
    ],
    "nics": [
        {
            "name": "string",
            "description": "string",
            "deviceIndex": 1,
            "networkId": "dcd9",
            "addresses": [
                "string"
            ],
            "securityGroupIds": [
                "string"
            ]
        }
    ],
    "targetLinks": [
        "string"
    ],
    "tags": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "internetFacing": false
}
string
name
Required

A human-friendly name used as an identifier in APIs that support this option.

string
projectId
Required

The id of the project the current user belongs to.

string
description
Optional

A human-friendly description.

routes
Required

The load balancer route configuration regarding ports and protocols.

nics
Required

A set of network interface specifications for this load balancer.

array of string
targetLinks
Optional

A list of links to target load balancer pool members. Links can be to either a machine or a machine's network interface.

object
customProperties
Optional

Additional custom properties that may be used to extend the load balancer.

array of Tag
tags
Optional

A set of tag keys and optional values that should be set on any resource that is produced from this specification.

boolean
internetFacing
Optional

An Internet-facing load balancer has a publicly resolvable DNS name, so it can route requests from clients over the Internet to the instances that are registered with the load balancer.