Budget
Package : spaceone.api.cost_analysis.v1
Budget
Budget Methods:
Method | Request | Response |
---|---|---|
create
POST /cost-analysis/v1/budgets
Type | Message |
---|---|
Request | |
Response |
update
PUT /cost-analysis/v1/budget/{budget_id}
Type | Message |
---|---|
Request | |
Response |
set_notification
PUT /cost-analysis/v1/budget/{budget_id}/notification
Type | Message |
---|---|
Request | |
Response |
delete
DELETE /cost-analysis/v1/budget/{budget_id}
Type | Message |
---|---|
Request | |
Response |
get
GET /cost-analysis/v1/budget/{budget_id}
Type | Message |
---|---|
Request | |
Response |
list
GET /cost-analysis/v1/budgets
POST /cost-analysis/v1/budgets/search
Type | Message |
---|---|
Request | |
Response |
stat
POST /cost-analysis/v1/budgets/stat
Type | Message |
---|---|
Request | |
Response |
Message
BudgetInfo
Field | Type | Description |
---|---|---|
budget_id | string | |
name | string | |
limit | float | |
planned_limits | ||
total_usage_usd_cost | float | |
cost_types | ||
time_unit |
| |
start | string | |
end | string | |
notifications | ||
tags | ||
project_id | string | |
project_group_id | string | |
domain_id | string | |
created_at | string | |
updated_at | string |
BudgetNotification
Field | Type | Description |
---|---|---|
threshold | float | |
unit |
| |
notification_type |
|
BudgetQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
budget_id | string | ✘ | |
name | string | ✘ | |
project_id | string | ✘ | |
project_group_id | string | ✘ | |
time_unit |
| ✘ | |
domain_id | string | ✔ |
BudgetRequest
Field | Type | Required | Description |
---|---|---|---|
budget_id | string | ✔ | |
domain_id | string | ✔ |
BudgetStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ |
BudgetsInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
CreateBudgetRequest
Field | Type | Required | Description |
---|---|---|---|
name | string | ✘ | |
limit | float | ✘ | |
planned_limits | ✘ | ||
cost_types | ✘ | ||
time_unit |
| ✔ | |
start | string | ✔ | |
end | string | ✔ | |
notifications | ✘ | ||
tags | ✘ | ||
project_id | string | ✘ | |
project_group_id | string | ✘ | |
domain_id | string | ✔ |
GetBudgetRequest
Field | Type | Required | Description |
---|---|---|---|
budget_id | string | ✔ | |
domain_id | string | ✔ | |
only | list of string | ✘ |
PlannedLimit
Field | Type | Description |
---|---|---|
date | string | |
limit | float |
SetBudgetNotificationRequest
Field | Type | Required | Description |
---|---|---|---|
budget_id | string | ✔ | |
notifications | ✔ | ||
domain_id | string | ✔ |
UpdateBudgetRequest
Field | Type | Required | Description |
---|---|---|---|
budget_id | string | ✔ | |
name | string | ✘ | |
limit | float | ✘ | |
planned_limits | ✘ | ||
end | string | ✘ | |
tags | ✘ | ||
domain_id | string | ✔ |
Last updated