com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.
Listing Auto-scaling Policies via REST API
Overview
Description | Used to list the auto-scaling policies in Private PaaS. |
URL |
|
HTTP Method | GET |
Request/Response Format |
|
Example
Use case: Listing the auto-scaling policies in Private PaaS. The example request is as follows:
curl -X GET -H "Content-Type: application/json" -k -v -u admin:admin https://<SM_HOST>:9443/stratos/admin/policy/autoscale
Sample response
{ "autoscalePolicy": [ { "id": "aspolicy", "loadThresholds": { "requestsInFlight": { "average": 40, "secondDerivative": 0, "gradient": 0, "scaleDownMarginOfGradient": 0, "scaleDownMarginOfSecondDerivative": 0 }, "memoryConsumption": { "average": 100, "secondDerivative": 0, "gradient": 0, "scaleDownMarginOfGradient": 0, "scaleDownMarginOfSecondDerivative": 0 }, "loadAverage": { "average": 100, "secondDerivative": 0, "gradient": 0, "scaleDownMarginOfGradient": 0, "scaleDownMarginOfSecondDerivative": 0 } } } ] }Â
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.