Cost
Package : spaceone.api.cost_analysis.v1
Cost
Cost Methods:
create
POST /cost-analysis/v1/costs
Request
Response
delete
DELETE /cost-analysis/v1/cost/{cost_id}
Request
Response
get
GET /cost-analysis/v1/cost/{cost_id}
Request
Response
list
GET /cost-analysis/v1/costs
POST /cost-analysis/v1/costs/search
analyze
POST /cost-analysis/v1/costs/analyze
Request
Response
stat
POST /cost-analysis/v1/costs/stat
Request
Response
Message
CostAnalyzeQuery
granularity
UNIT_NONE
ACCUMULATED
DAILY
MONTHLY
YEARLY
✔
start
string
✔
end
string
✔
group_by
list of string
✘
page
spaceone.api.core.v1.Page
✘
sort
spaceone.api.core.v1.Sort
✘
include_usage_quantity
bool
✘
include_others
bool
✘
domain_id
string
✔
CostInfo
cost_id
string
usd_cost
float
original_currency
string
original_cost
float
usage_quantity
float
provider
string
region_code
string
region_key
string
category
string
product
string
account
string
usage_type
string
resource_group
string
resource
string
service_account_id
string
project_id
string
data_source_id
string
domain_id
string
billed_at
string
created_at
string
CostQuery
cost_id
string
✘
original_currency
string
✘
provider
string
✘
region_code
string
✘
region_key
string
✘
category
string
✘
product
string
✘
account
string
✘
usage_type
string
✘
resource_group
string
✘
resource
string
✘
service_account_id
string
✘
project_id
string
✘
data_source_id
string
✘
domain_id
string
✔
CostRequest
cost_id
string
✔
domain_id
string
✔
CostStatQuery
domain_id
string
✔
CostsInfo
CreateCostRequest
original_cost
float
✔
original_currency
string
✔
usd_cost
float
✘
usage_quantity
float
✘
provider
string
✘
region_code
string
✘
category
string
✘
product
string
✘
account
string
✘
usage_type
string
✘
resource_group
string
✘
resource
string
✘
service_account_id
string
✘
project_id
string
✘
data_source_id
string
✔
domain_id
string
✔
billed_at
string
✘
GetCostRequest
cost_id
string
✔
domain_id
string
✔
only
list of string
✘
Last updated