[[reference-autoscaling-get_autoscaling_policy]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] === client.autoscaling.getAutoscalingPolicy Get an autoscaling policy. NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported. {ref}/autoscaling-get-autoscaling-capacity.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (AutoscalingGetAutoscalingPolicyRequest, options?): Promise ---- [discrete] ==== AutoscalingGetAutoscalingPolicyRequest [pass] ++++
++++
interface AutoscalingGetAutoscalingPolicyRequest extends <> {
  name: <>
}

[pass]
++++
++++ [discrete] ==== AutoscalingGetAutoscalingPolicyResponse [pass] ++++
++++
type AutoscalingGetAutoscalingPolicyResponse = AutoscalingAutoscalingPolicy

[pass]
++++
++++