From 77b38f5a7abfe3fe1797a5d8a27fb596122538ad Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 12 Dec 2024 21:32:33 +0000 Subject: [PATCH] Add tuning your cluster automation (#8953) * Add tuning your cluster. Signed-off-by: Archer * Apply suggestions from code review Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> --------- Signed-off-by: Archer Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> (cherry picked from commit 066b6cd122384ddbb3649dfe282863892f8389f6) Signed-off-by: github-actions[bot] --- .../query-group-lifecycle-api.md | 70 +++++++++++++------ 1 file changed, 50 insertions(+), 20 deletions(-) diff --git a/_tuning-your-cluster/availability-and-recovery/workload-management/query-group-lifecycle-api.md b/_tuning-your-cluster/availability-and-recovery/workload-management/query-group-lifecycle-api.md index 0fb0b0b65c..b494ee1699 100644 --- a/_tuning-your-cluster/availability-and-recovery/workload-management/query-group-lifecycle-api.md +++ b/_tuning-your-cluster/availability-and-recovery/workload-management/query-group-lifecycle-api.md @@ -12,13 +12,56 @@ The Query Group Lifecycle API creates, updates, retrieves, and deletes query gro ## Path and HTTP methods + +### Create a query group + + ```json -PUT _wlm/query_group -PUT _wlm/query_group/ -GET _wlm/query_group -GET _wlm/query_group/ -DELETE _wlm/query_group/ +PUT /_wlm/query_group +``` + + +### Update a query group + + +```json +PUT /_wlm/query_group ``` + + +### Get a query group + + +```json +GET /_wlm/query_group +GET /_wlm/query_group/{name} +``` + + +### Delete a query group + + +```json +PUT /_wlm/query_group +``` + + ## Request body fields @@ -35,7 +78,7 @@ When creating a query group, make sure that the sum of the resource limits for a The following example requests show how to use the Query Group Lifecycle API. -### Creating a query group +### Create a query group ```json PUT _wlm/query_group @@ -50,7 +93,7 @@ PUT _wlm/query_group ``` {% include copy-curl.html %} -### Updating a query group +### Update a query group ```json PUT _wlm/query_group/analytics @@ -64,19 +107,6 @@ PUT _wlm/query_group/analytics ``` {% include copy-curl.html %} -### Getting a query group - -```json -GET _wlm/query_group/analytics -``` -{% include copy-curl.html %} - -### Deleting a query group - -```json -DELETE _wlm/query_group/analytics -``` -{% include copy-curl.html %} ## Example responses