@@ -22,14 +22,10 @@ class AutoscalingClient(NamespacedClient):
2222 @query_params ()
2323 async def delete_autoscaling_policy (self , name , params = None , headers = None ):
2424 """
25- Deletes an autoscaling policy.
25+ Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK.
26+ Direct use is not supported.
2627
27- `<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/autoscaling-delete-autoscaling-policy.html>`_
28-
29- .. warning::
30-
31- This API is **experimental** so may include breaking changes
32- or be removed in a future version
28+ `<https://www.elastic.co/guide/en/elasticsearch/reference/7.11/autoscaling-delete-autoscaling-policy.html>`_
3329
3430 :arg name: the name of the autoscaling policy
3531 """
@@ -46,14 +42,10 @@ async def delete_autoscaling_policy(self, name, params=None, headers=None):
4642 @query_params ()
4743 async def get_autoscaling_policy (self , name , params = None , headers = None ):
4844 """
49- Retrieves an autoscaling policy.
50-
51- `<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/autoscaling-get-autoscaling-policy.html>`_
52-
53- .. warning::
45+ Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK.
46+ Direct use is not supported.
5447
55- This API is **experimental** so may include breaking changes
56- or be removed in a future version
48+ `<https://www.elastic.co/guide/en/elasticsearch/reference/7.11/autoscaling-get-autoscaling-policy.html>`_
5749
5850 :arg name: the name of the autoscaling policy
5951 """
@@ -70,14 +62,10 @@ async def get_autoscaling_policy(self, name, params=None, headers=None):
7062 @query_params ()
7163 async def put_autoscaling_policy (self , name , body , params = None , headers = None ):
7264 """
73- Creates a new autoscaling policy.
65+ Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK.
66+ Direct use is not supported.
7467
75- `<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/autoscaling-put-autoscaling-policy.html>`_
76-
77- .. warning::
78-
79- This API is **experimental** so may include breaking changes
80- or be removed in a future version
68+ `<https://www.elastic.co/guide/en/elasticsearch/reference/7.11/autoscaling-put-autoscaling-policy.html>`_
8169
8270 :arg name: the name of the autoscaling policy
8371 :arg body: the specification of the autoscaling policy
@@ -98,14 +86,10 @@ async def put_autoscaling_policy(self, name, body, params=None, headers=None):
9886 async def get_autoscaling_capacity (self , params = None , headers = None ):
9987 """
10088 Gets the current autoscaling capacity based on the configured autoscaling
101- policy.
102-
103- `<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/autoscaling-get-autoscaling-capacity.html>`_
104-
105- .. warning::
89+ policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not
90+ supported.
10691
107- This API is **experimental** so may include breaking changes
108- or be removed in a future version
92+ `<https://www.elastic.co/guide/en/elasticsearch/reference/7.11/autoscaling-get-autoscaling-capacity.html>`_
10993 """
11094 return await self .transport .perform_request (
11195 "GET" , "/_autoscaling/capacity" , params = params , headers = headers
0 commit comments