Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Oct 25, 2024
1 parent 74e2dc7 commit f96aba7
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { Name } from '@_types/common'

/**
* Delete 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.
* @rest_spec_name autoscaling.delete_autoscaling_policy
* @availability stack since=7.11.0 stability=stable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ description: >
This may be a response to either `DELETE /_autoscaling/policy/my_autoscaling_policy` or `DELETE /_autoscaling/policy/*`.
# type: "response"
# response_code: 200
value: "{\n \"acknowledged\": true\n}"
value: "{\n \"acknowledged\": true\n}"
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { RequestBase } from '@_types/Base'
*
* The response contains decider-specific information you can use to diagnose how and why autoscaling determined a certain capacity was required.
* This information is provided for diagnosis only.
* Do not use this information to make autoscaling decisions.
* Do not use this information to make autoscaling decisions.
* @rest_spec_name autoscaling.get_autoscaling_capacity
* @availability stack since=7.11.0 stability=stable
* @doc_id autoscaling-get-autoscaling-capacity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
summary: "A successful response for retrieving the current autoscaling capacity."
description: "This may be a response to `GET /_autoscaling/capacity`."
summary: 'A successful response for retrieving the current autoscaling capacity.'
description: 'This may be a response to `GET /_autoscaling/capacity`.'
# type: "response"
# response_code: 200
value": "{\n policies: {}\n}"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
summary: "A successful response for retrieving an autoscaling policy."
description: "This may be a response to `GET /_autoscaling/policy/my_autoscaling_policy`."
summary: 'A successful response for retrieving an autoscaling policy.'
description: 'This may be a response to `GET /_autoscaling/policy/my_autoscaling_policy`.'
# type: "response"
# response_code: 200
value: "{\n \"roles\": <roles>,\n \"deciders\": <deciders>\n}"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
summary: "Creates or updates an autoscaling policy."
summary: 'Creates or updates an autoscaling policy.'
# method_request: "PUT /_autoscaling/policy/<name>"
# description: ""
# type: "request"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
summary: "Creates an autoscaling policy."
summary: 'Creates an autoscaling policy.'
# method_request: "PUT /_autoscaling/policy/my_autoscaling_policy"
description: "The API method and path for this request: `PUT /_autoscaling/policy/my_autoscaling_policy`. It creates `my_autoscaling_policy` using the fixed autoscaling decider, applying to the set of nodes having (only) the `data_hot` role."
description: 'The API method and path for this request: `PUT /_autoscaling/policy/my_autoscaling_policy`. It creates `my_autoscaling_policy` using the fixed autoscaling decider, applying to the set of nodes having (only) the `data_hot` role.'
# type: "request"
value: "{\n \"roles\" : [ \"data_hot\" ],\n \"deciders\": {\n \"fixed\": {\n }\n }\n}"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
summary: "A successful response when creating an autoscaling policy."
summary: 'A successful response when creating an autoscaling policy.'
# description: "",
# type: "response",
# response_code: 200,
Expand Down

0 comments on commit f96aba7

Please sign in to comment.