Cost

Package : spaceone.api.cost_analysis.v1

Cost

Cost Methods:

create

POST /cost-analysis/v1/costs

TypeMessage

Request

Response

delete

DELETE /cost-analysis/v1/cost/{cost_id}

TypeMessage

Request

Response

get

GET /cost-analysis/v1/cost/{cost_id}

TypeMessage

Request

Response

list

GET /cost-analysis/v1/costs

POST /cost-analysis/v1/costs/search

TypeMessage

Request

Response

analyze

POST /cost-analysis/v1/costs/analyze

TypeMessage

Request

Response

stat

POST /cost-analysis/v1/costs/stat

TypeMessage

Request

Response

Message

CostAnalyzeQuery

FieldTypeRequiredDescription

granularity

  • UNIT_NONE

  • ACCUMULATED

  • DAILY

  • MONTHLY

  • YEARLY

start

string

end

string

group_by

list of string

filter

limit

page

spaceone.api.core.v1.Page

sort

spaceone.api.core.v1.Sort

include_usage_quantity

bool

include_others

bool

domain_id

string

CostInfo

FieldTypeDescription

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

tags

additional_info

service_account_id

string

project_id

string

data_source_id

string

domain_id

string

billed_at

string

created_at

string

CostQuery

FieldTypeRequiredDescription

query

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

FieldTypeRequiredDescription

cost_id

string

domain_id

string

CostStatQuery

FieldTypeRequiredDescription

query

domain_id

string

CostsInfo

FieldTypeDescription

results

total_count

CreateCostRequest

FieldTypeRequiredDescription

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

tags

additional_info

service_account_id

string

project_id

string

data_source_id

string

domain_id

string

billed_at

string

GetCostRequest

FieldTypeRequiredDescription

cost_id

string

domain_id

string

only

list of string

Last updated