POST /pool/{uuid}/scalein

POST /pool/{uuid}/scalein

/pool/{uuid}/scalein

Request
URI
POST
https://{api_host}/api/pool/{uuid}/scalein
COPY
Path Parameters
string
uuid
Required

UUID of the object to fetch

Header Parameters
string
X-Avi-Tenant
Optional

Avi Tenant Header

string
X-Avi-Tenant-UUID
Optional

Avi Tenant Header UUID

string
X-Avi-Version
Required

The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.

string
X-CSRFToken
Optional

Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.


Request Body

ServerScaleInParams

ServerScaleInParams of type(s) application/json
Required
{
    "reason": "string",
    "servers": [
        {
            "external_uuid": "string",
            "ip": {
                "addr": "string",
                "type": "string"
            },
            "port": 0
        }
    ],
    "uuid": "string"
}
string
reason
Optional

Reason for the manual scale-in. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

array of object
servers
Optional

List of server IDs that should be scaled in. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
uuid
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

Responses
200

OK

Returns string of type(s) application/json
Operation doesn't return any data structure

401

log in failed

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/pool/{uuid}/scalein