Scale Load Balancer
Second day scale operation for load balancer
The ID of the load balancer.
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
LoadBalancer Specification instance
Show optional properties
{
"name": "string",
"projectId": "e058",
"routes": [
{
"protocol": "TCP, UDP",
"port": "80",
"memberProtocol": "TCP, UDP",
"memberPort": "80"
}
],
"nics": [
{}
]
}
{
"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"
}
A human-friendly name used as an identifier in APIs that support this option.
The id of the project the current user belongs to.
The id of the deployment that is associated with this resource
Additional custom properties that may be used to extend this resource.
A human-friendly description.
The load balancer route configuration regarding ports and protocols.
A set of network interface specifications for this load balancer.
A list of links to target load balancer pool members. Links can be to either a machine or a machine's network interface.
A set of tag keys and optional values that should be set on any resource that is produced from this specification.
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.
Define the type/variant of load balancer numbers e.g.for NSX the number virtual servers and pool members load balancer can host
Defines logging level for collecting load balancer traffic logs.
Accepted
"RequestTracker Object"
Progress of the request as percentage.
Status message of the request.
Status of the request.
Collection of resources.
Name of the operation.
ID of this request.
Self link of this request.
ID of the deployment, this request is connected to.
Forbidden
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
Not found
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","nics":["object"],"projectId:"string","routes":["object"]}' https://{api_host}/iaas/api/load-balancers/{id}/operations/scale