cURL
curl --request PUT \
--url https://{tenant}.chronosphere.io/api/v1/config/resource-pools \
--header 'API-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{
"resource_pools": {
"default_pool": {
"allocation": {
"fixed_values": [
{
"value": "<string>"
}
],
"percent_of_license": 123,
"priority_thresholds": [
{
"all_priorities": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
},
"default_and_low_priority": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
},
"low_priority": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
}
}
]
},
"priorities": {
"high_priority_filters": [
{
"name": "job",
"value_glob": "myservice*"
}
],
"low_priority_filters": [
{
"name": "job",
"value_glob": "myservice*"
}
]
},
"priority_thresholds": [
{
"all_priorities": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
},
"default_and_low_priority": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
},
"low_priority": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
}
}
]
},
"created_at": "2023-11-07T05:31:56Z",
"pools": [
{
"allocation": {
"fixed_values": [
{
"value": "<string>"
}
],
"percent_of_license": 123,
"priority_thresholds": [
{
"all_priorities": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
},
"default_and_low_priority": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
},
"low_priority": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
}
}
]
},
"filters": [
{
"name": "job",
"value_glob": "myservice*"
}
],
"name": "<string>",
"priorities": {
"high_priority_filters": [
{
"name": "job",
"value_glob": "myservice*"
}
],
"low_priority_filters": [
{
"name": "job",
"value_glob": "myservice*"
}
]
}
}
],
"updated_at": "2023-11-07T05:31:56Z"
}
}UpdateResourcePools
PUT
/
api
/
v1
/
config
/
resource-pools
cURL
curl --request PUT \
--url https://{tenant}.chronosphere.io/api/v1/config/resource-pools \
--header 'API-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{
"resource_pools": {
"default_pool": {
"allocation": {
"fixed_values": [
{
"value": "<string>"
}
],
"percent_of_license": 123,
"priority_thresholds": [
{
"all_priorities": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
},
"default_and_low_priority": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
},
"low_priority": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
}
}
]
},
"priorities": {
"high_priority_filters": [
{
"name": "job",
"value_glob": "myservice*"
}
],
"low_priority_filters": [
{
"name": "job",
"value_glob": "myservice*"
}
]
},
"priority_thresholds": [
{
"all_priorities": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
},
"default_and_low_priority": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
},
"low_priority": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
}
}
]
},
"created_at": "2023-11-07T05:31:56Z",
"pools": [
{
"allocation": {
"fixed_values": [
{
"value": "<string>"
}
],
"percent_of_license": 123,
"priority_thresholds": [
{
"all_priorities": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
},
"default_and_low_priority": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
},
"low_priority": {
"fixed_value": "<string>",
"percent_of_pool_allocation": 123
}
}
]
},
"filters": [
{
"name": "job",
"value_glob": "myservice*"
}
],
"name": "<string>",
"priorities": {
"high_priority_filters": [
{
"name": "job",
"value_glob": "myservice*"
}
],
"low_priority_filters": [
{
"name": "job",
"value_glob": "myservice*"
}
]
}
}
],
"updated_at": "2023-11-07T05:31:56Z"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.chronosphere.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Chronosphere API token
Body
application/json
If true, the ResourcePools will be created if it does not already exist. If false, an error will be returned if the ResourcePools does not already exist.
If true, validates the specified configuration without creating or updating the ResourcePools. If the specified configuration is valid, the endpoint returns a partial response without the ResourcePools. If the specified configuration is invalid, the endpoint returns an error.
The ResourcePools to update.
Show child attributes
Show child attributes
Response
A successful response containing the updated ResourcePools.
Show child attributes
Show child attributes
⌘I

