GetOrgBudgetsData
Example Usage
typescript
import { GetOrgBudgetsData } from "@meetkai/mka1/models/operations";
let value: GetOrgBudgetsData = {
id: "<id>",
scope: "apikey",
scopeId: "<id>",
scopeOrgId: "<id>",
owner: "cluster",
period: "weekly",
limit: 6899.14,
thresholds: [
{
pct: 888957,
action: "alert",
},
],
alertWebhookUrl: "https://stupendous-contractor.info/",
spend: {
window: "<value>",
costSpent: 1036.17,
limit: 2756.86,
pct: 825341,
status: "ok",
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | N/A |
scope | operations.GetOrgBudgetsScope | ✔️ | N/A |
scopeId | string | ✔️ | N/A |
scopeOrgId | string | ✔️ | N/A |
owner | operations.GetOrgBudgetsOwner | ✔️ | N/A |
period | operations.GetOrgBudgetsPeriod | ✔️ | N/A |
limit | number | ✔️ | N/A |
thresholds | operations.GetOrgBudgetsThresholds[] | ✔️ | N/A |
alertWebhookUrl | string | ✔️ | N/A |
spend | operations.GetOrgBudgetsSpend | ✔️ | N/A |