All Downloads are FREE. Search and download functionalities are using the official Maven repository.

apispec.autoscaling.Commands.json Maven / Gradle / Ivy

There is a newer version: 9.8.1
Show newest version
{
  "documentation": "https://lucene.apache.org/solr/guide/solrcloud-autoscaling-api.html",
  "description": "The Scaling API provides API for adding cluster level scaling rules, triggers and event listeners",
  "methods": [
    "GET",
    "POST"
  ],
  "url": {
    "paths": [
      "/cluster/autoscaling",
      "/cluster/autoscaling/diagnostics"
    ]
  },
  "commands": {
    "set-policy" : {
      "type":"object",
      "description": "The set-policy command allows you to add and update policies that apply to collections",
    /*  "patternProperties": {
        "^.+$": {
          "type": "array"
        }
      },*/
      "additionalProperties": true
    },
    "set-cluster-policy" : {
      "type" : "array",
      "description" : "The set-cluster-policy command allows you to add and update cluster-level policy that acts as the base for all collection level policies, if any"
    },
    "set-cluster-preferences" : {
      "type" : "array",
      "description" : "The set-cluster-preferences command allows you to add and update cluster-level preferences that are used to sort nodes for selection in cluster operations"
    },
    "remove-policy": {
      "description": "Remove a policy",
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the policy to be removed"
        }
      },
      "required": [
        "name"
      ]
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy