123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- [role="xpack"]
- [testenv="platinum"]
- [[autoscaling-get-autoscaling-capacity]]
- === Get autoscaling capacity API
- ++++
- <titleabbrev>Get autoscaling capacity</titleabbrev>
- ++++
- experimental[]
- Get autoscaling capacity.
- [[autoscaling-get-autoscaling-capacity-request]]
- ==== {api-request-title}
- [source,console]
- --------------------------------------------------
- GET /_autoscaling/capacity/
- --------------------------------------------------
- // TEST
- [[autoscaling-get-autoscaling-capacity-prereqs]]
- ==== {api-prereq-title}
- * If the {es} {security-features} are enabled, you must have
- `manage_autoscaling` cluster privileges. For more information, see
- <<security-privileges>>.
- [[autoscaling-get-autoscaling-capacity-desc]]
- ==== {api-description-title}
- This API gets the current autoscaling capacity based on the configured
- autoscaling policy. This API will return information to size the cluster
- appropriately to the current workload.
- [[autoscaling-get-autoscaling-capacity-examples]]
- ==== {api-examples-title}
- This example retrieves the current autoscaling capacity.
- [source,console]
- --------------------------------------------------
- GET /_autoscaling/capacity
- --------------------------------------------------
- // TEST
- The API returns the following result:
- [source,console-result]
- --------------------------------------------------
- {
- policies: {}
- }
- --------------------------------------------------
|