GetTeamBudgetsData
Example Usage
typescript
import { GetTeamBudgetsData } from "@meetkai/mka1/models/operations";
let value: GetTeamBudgetsData = {
id: "<id>",
scope: "org",
scopeId: "<id>",
scopeOrgId: "<id>",
owner: "cluster",
period: "weekly",
limit: 370.09,
thresholds: [
{
pct: 274634,
action: "block",
},
],
alertWebhookUrl: "https://elliptical-hello.name",
spend: {
window: "<value>",
costSpent: 5520.93,
limit: 1908.23,
pct: 567358,
status: "ok",
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | N/A |
scope | operations.GetTeamBudgetsScope | ✔️ | N/A |
scopeId | string | ✔️ | N/A |
scopeOrgId | string | ✔️ | N/A |
owner | operations.GetTeamBudgetsOwner | ✔️ | N/A |
period | operations.GetTeamBudgetsPeriod | ✔️ | N/A |
limit | number | ✔️ | N/A |
thresholds | operations.GetTeamBudgetsThresholds[] | ✔️ | N/A |
alertWebhookUrl | string | ✔️ | N/A |
spend | operations.GetTeamBudgetsSpend | ✔️ | N/A |