This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

CLIs

1 - ListBillingItemIds

1.1 - 1.0

scpcli pricing 

Description

Get billing item ID list.

State ACTIVE (CURRENT)

VersionNot Before
1.0-

Responses

NameDescriptionExample
billing_item_idsList of all billing item IDsVIRTUAL_SERVER

2 - ListOffering

2.1 - 1.0

scpcli pricing 

Description

Get offering list.

State ACTIVE (CURRENT)

VersionNot Before
1.0-

Responses

NameDescriptionExample
offeringsList of offering types[‘PS’, ‘PP’, ‘PG’]

3 - ListReportPrice

3.1 - 1.0

scpcli pricing 
[--size <value>]
[--page <value>]
[--sort <value>]
[--billing_item_id <value>]
[--offering <value>]

Description

Get prices with optional filtering by billing_item_id and offering.

State ACTIVE (CURRENT)

VersionNot Before
1.0-

Parameters

NameTypeDescriptionExample
size
optional
integersize20
page
optional
integerpage0
sort
optional
stringsortcreated_at:desc
billing_item_id
optional
stringFilter by billing item IDVIRTUAL_SERVER
offering
optional
stringFilter by offering type (PS/PP/PG)PP

Responses

NameDescriptionExample
attributesPrice attributes
billing_item_idBilling Item IDVIRTUAL_SERVER
currency_codeCurrency CodeVIRTUAL_SERVER
offeringOffering type (PP/PS/PG)PP
price_modelPrice model enum nameVIRTUAL_SERVER
price_unitPrice unit enum nameVIRTUAL_SERVER
pricesPrice ranges
proration_ruleProration rule enum namePRORATION
rounding_positionRounding positionVIRTUAL_SERVER
rounding_ruleRounding rule enum nameROUND_DOWN