Scale Load Balancer

Scale Load Balancer

Second day scale operation for load balancer

Request
URI
POST
https://{api_host}/iaas/api/load-balancers/{id}/operations/scale
COPY
Path Parameters
string
id
Required

The ID of the load balancer.

Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about


Request Body
LoadBalancerSpecification of type(s) application/json
Optional
{
    "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.

Responses
202

successful operation

Returns RequestTracker of type(s) application/json
{
    "progress": 90,
    "message": "In Progress",
    "status": "FINISHED",
    "resources": [
        "string"
    ],
    "name": "Power-off",
    "id": "we655aew4e8e",
    "selfLink": "/.../request-tracker/we655aew4e8e"
}
integer As int32 As int32
progress
Required

Progress of the request as percentage.

string
message
Optional

Status message of the request.

string
status
Required

Status of the request.

Possible values are : FINISHED, INPROGRESS, FAILED,
array of string
resources
Optional

Collection of resources.

string
name
Optional

Name of the operation.

string
id
Required

ID of this request.

string
selfLink
Required

Self link of this request.


403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure