SetTeamBudgetResponseBody
OK
Example Usage
typescript
import { SetTeamBudgetResponseBody } from "@meetkai/mka1/models/operations";
let value: SetTeamBudgetResponseBody = {
id: "<id>",
scope: "team_default",
scopeId: "<id>",
scopeOrgId: "<id>",
owner: "cluster",
period: "monthly",
limit: 227.35,
thresholds: [
{
pct: 202943,
action: "block",
},
],
alertWebhookUrl: "https://upright-license.biz/",
spend: {
window: "<value>",
costSpent: 7452.85,
limit: 2954.49,
pct: 654248,
status: "blocked",
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | N/A |
scope | operations.SetTeamBudgetScope | ✔️ | N/A |
scopeId | string | ✔️ | N/A |
scopeOrgId | string | ✔️ | N/A |
owner | operations.SetTeamBudgetBudgetsOwner | ✔️ | N/A |
period | operations.SetTeamBudgetBudgetsPeriod | ✔️ | N/A |
limit | number | ✔️ | N/A |
thresholds | operations.SetTeamBudgetBudgetsThresholds[] | ✔️ | N/A |
alertWebhookUrl | string | ✔️ | N/A |
spend | operations.SetTeamBudgetSpend | ✔️ | N/A |