Skip to content

Commit ee251dc

Browse files
lcawlpquentin
andauthored
Mark cloud-only APIs as private (#5235) (#5315)
(cherry picked from commit 98ec7ac) Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
1 parent a16c04b commit ee251dc

File tree

9 files changed

+24
-850
lines changed

9 files changed

+24
-850
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 3 additions & 836 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 14 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/autoscaling/delete_autoscaling_policy/DeleteAutoscalingPolicyRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { Duration } from '@_types/Time'
2626
*
2727
* NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
2828
* @rest_spec_name autoscaling.delete_autoscaling_policy
29-
* @availability stack since=7.11.0 stability=stable
29+
* @availability stack since=7.11.0 stability=stable visibility=private
3030
* @doc_id autoscaling-delete-autoscaling-policy
3131
* @ext_doc_id autoscaling
3232
*/

specification/autoscaling/get_autoscaling_capacity/GetAutoscalingCapacityRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import { Duration } from '@_types/Time'
3636
* This information is provided for diagnosis only.
3737
* Do not use this information to make autoscaling decisions.
3838
* @rest_spec_name autoscaling.get_autoscaling_capacity
39-
* @availability stack since=7.11.0 stability=stable
39+
* @availability stack since=7.11.0 stability=stable visibility=private
4040
* @doc_id autoscaling-get-autoscaling-capacity
4141
* @ext_doc_id autoscaling
4242
*/

specification/autoscaling/get_autoscaling_policy/GetAutoscalingPolicyRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { Duration } from '@_types/Time'
2626
*
2727
* NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
2828
* @rest_spec_name autoscaling.get_autoscaling_policy
29-
* @availability stack since=7.11.0 stability=stable
29+
* @availability stack since=7.11.0 stability=stable visibility=private
3030
* @doc_id autoscaling-get-autoscaling-capacity
3131
* @ext_doc_id autoscaling
3232
*/

specification/autoscaling/put_autoscaling_policy/PutAutoscalingPolicyRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { AutoscalingPolicy } from '@autoscaling/_types/AutoscalingPolicy'
2727
*
2828
* NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
2929
* @rest_spec_name autoscaling.put_autoscaling_policy
30-
* @availability stack since=7.11.0 stability=stable
30+
* @availability stack since=7.11.0 stability=stable visibility=private
3131
* @doc_id autoscaling-put-autoscaling-policy
3232
* @ext_doc_id autoscaling
3333
*/

specification/shutdown/delete_node/ShutdownDeleteNodeRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { Duration } from '@_types/Time'
3232
*
3333
* If the operator privileges feature is enabled, you must be an operator to use this API.
3434
* @rest_spec_name shutdown.delete_node
35-
* @availability stack since=7.13.0 stability=stable
35+
* @availability stack since=7.13.0 stability=stable visibility=private
3636
* @cluster_privileges manage
3737
* @doc_id nodes-api-shutdown-delete
3838
*/

specification/shutdown/get_node/ShutdownGetNodeRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { Duration } from '@_types/Time'
3131
*
3232
* If the operator privileges feature is enabled, you must be an operator to use this API.
3333
* @rest_spec_name shutdown.get_node
34-
* @availability stack since=7.13.0 stability=stable
34+
* @availability stack since=7.13.0 stability=stable visibility=private
3535
* @cluster_privileges manage
3636
* @doc_id nodes-api-shutdown-status
3737
*/

specification/shutdown/put_node/ShutdownPutNodeRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import { Type } from '../_types/types'
4040
* IMPORTANT: This API does NOT terminate the Elasticsearch process.
4141
* Monitor the node shutdown status to determine when it is safe to stop Elasticsearch.
4242
* @rest_spec_name shutdown.put_node
43-
* @availability stack since=7.13.0 stability=stable
43+
* @availability stack since=7.13.0 stability=stable visibility=private
4444
* @cluster_privileges manage
4545
* @doc_id nodes-api-shutdown
4646
*/

0 commit comments

Comments
 (0)