update_budget
Modify an existing budget rule in Kubecost to adjust spending limits, notification settings, and resource allocations for cost management.
Instructions
Update an existing budget rule in Kubecost
Input Schema
Name | Required | Description | Default |
---|---|---|---|
actions | Yes | ||
budgetId | Yes | ||
interval | Yes | ||
intervalDay | Yes | ||
kind | Yes | ||
name | Yes | ||
spendLimit | Yes | ||
values | Yes |
Input Schema (JSON Schema)
{
"properties": {
"actions": {
"items": {
"additionalProperties": false,
"properties": {
"emails": {
"items": {
"type": "string"
},
"type": "array"
},
"msTeamsWebhooks": {
"items": {
"type": "string"
},
"type": "array"
},
"percentage": {
"type": "number"
},
"slackWebhooks": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"percentage"
],
"type": "object"
},
"type": "array"
},
"budgetId": {
"type": "string"
},
"interval": {
"enum": [
"weekly",
"monthly"
],
"type": "string"
},
"intervalDay": {
"type": "number"
},
"kind": {
"enum": [
"soft",
"hard"
],
"type": "string"
},
"name": {
"type": "string"
},
"spendLimit": {
"type": "number"
},
"values": {
"additionalProperties": false,
"properties": {
"cluster": {
"items": {
"type": "string"
},
"type": "array"
},
"label": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "object"
},
"namespace": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"required": [
"budgetId",
"name",
"values",
"kind",
"interval",
"intervalDay",
"spendLimit",
"actions"
],
"type": "object"
}