CloudZero · Schema

BudgetInput

BudgetsCloud Cost ManagementCost AllocationCost OptimizationFinOpsTelemetryUnit Economics

Properties

Name Type Description
name string Display name for the budget.
amount number Budget amount.
period string Budget period.
view_id string Identifier for the linked View.
notifications array Notification rules for the budget.
View JSON Schema on GitHub

JSON Schema

cloudzero-budgetinput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BudgetInput",
  "title": "BudgetInput",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name for the budget."
    },
    "amount": {
      "type": "number",
      "format": "double",
      "description": "Budget amount."
    },
    "period": {
      "type": "string",
      "enum": [
        "monthly",
        "quarterly",
        "annual"
      ],
      "description": "Budget period."
    },
    "view_id": {
      "type": "string",
      "description": "Identifier for the linked View."
    },
    "notifications": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "threshold": {
            "type": "number",
            "format": "double"
          },
          "recipients": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "description": "Notification rules for the budget."
    }
  },
  "required": [
    "name",
    "amount",
    "period"
  ]
}