List DataLens Spark resource presets
datalens_sparkclusters_resource_presets_listList available Spark cluster resource presets for a cloud environment, with pagination controls to fetch results by limit, continuation token, or all at once.
Instructions
The sizes an instance of a Spark cluster can take, auto-paginated.
Experimental API, not measured. Capped at the configured item cap unless limit is given.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cloud_environment_id": "<cloud_environment_id>"
},
"name": "datalens_sparkclusters_resource_presets_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Return everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`. | |
| next | No | Go on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit. | |
| limit | No | Max presets to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS). | |
| cloud_environment_id | Yes | The cloud environment the presets are for. |