Cost

Package : spaceone.api.cost_analysis.v1

Cost

Cost Methods:

create

POST /cost-analysis/v1/costs

Type
Message

delete

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

Type
Message

get

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

Type
Message

Response

list

GET /cost-analysis/v1/costs

POST /cost-analysis/v1/costs/search

Type
Message

Request

Response

analyze

POST /cost-analysis/v1/costs/analyze

Type
Message

stat

POST /cost-analysis/v1/costs/stat

Type
Message

Message

CostAnalyzeQuery

Field
Type
Required
Description

granularity

  • UNIT_NONE

  • ACCUMULATED

  • DAILY

  • MONTHLY

  • YEARLY

start

string

end

string

group_by

list of string

limit

page

spaceone.api.core.v1.Page

sort

spaceone.api.core.v1.Sort

include_usage_quantity

bool

include_others

bool

domain_id

string

CostInfo

Field
Type
Description

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

additional_info

service_account_id

string

project_id

string

data_source_id

string

domain_id

string

billed_at

string

created_at

string

CostQuery

Field
Type
Required
Description

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

Field
Type
Required
Description

cost_id

string

domain_id

string

CostStatQuery

Field
Type
Required
Description

domain_id

string

CostsInfo

Field
Type
Description

total_count

CreateCostRequest

Field
Type
Required
Description

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

additional_info

service_account_id

string

project_id

string

data_source_id

string

domain_id

string

billed_at

string

GetCostRequest

Field
Type
Required
Description

cost_id

string

domain_id

string

only

list of string

Last updated