LoadBalancerSpecification

LoadBalancerSpecification
LoadBalancerSpecification

Load balancer configuration.

JSON Example
{
    "name": "string",
    "projectId": "e058",
    "deploymentId": "123e4567-e89b-12d3-a456-426655440000",
    "customProperties": {
        "customProperties": "string"
    },
    "description": "string",
    "routes": [
        {
            "protocol": "TCP, UDP",
            "port": "80",
            "memberProtocol": "TCP, UDP",
            "memberPort": "80",
            "algorithm": "ROUND_ROBIN",
            "algorithmParameters": "uriLength=10\nurlParam=section",
            "healthCheckConfiguration": {
                "protocol": "HTTP, HTTPS",
                "port": "80",
                "urlPath": "/index.html",
                "intervalSeconds": 60,
                "timeoutSeconds": 5,
                "unhealthyThreshold": 5,
                "healthyThreshold": 2,
                "httpMethod": "GET, OPTIONS, POST, HEAD, PUT",
                "requestBody": "http_request.body",
                "responseBody": "http_response.body",
                "passiveMonitor": false
            }
        }
    ],
    "nics": [
        {
            "name": "string",
            "description": "string",
            "deviceIndex": 1,
            "networkId": "54097407-4532-460c-94a8-8f9e18f4c925",
            "fabricNetworkId": "54097407-4532-460c-94a8-8f9e18f4c925",
            "addresses": [
                "10.1.2.190"
            ],
            "macAddress": "[\"00:50:56:99:d8:34\"]",
            "securityGroupIds": [
                "string"
            ],
            "customProperties": {
                "awaitIp": "true"
            }
        }
    ],
    "targetLinks": [
        "/iaas/machines/eac3d"
    ],
    "tags": [
        {
            "key": "ownedBy",
            "value": "Rainpole"
        }
    ],
    "internetFacing": false,
    "type": "SMALL, MEDIUM, LARGE",
    "loggingLevel": "ERROR, WARNING, INFO, DEBUG"
}
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
deploymentId
Optional

The id of the deployment that is associated with this resource

object
customProperties
Optional

Additional custom properties that may be used to extend this resource.

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.

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.

string
type
Optional

Define the type/variant of load balancer numbers e.g.for NSX the number virtual servers and pool members load balancer can host

string
loggingLevel
Optional

Defines logging level for collecting load balancer traffic logs.