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

Return to the regular view of this page.

Pricing

Overview

Provides a Command-line Interface (CLI) that supports programmatic use of IaaS/PaaS products provided by SCP.

This guide provides a brief description of Pricing service and how to call CLI.

Version

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionStatusNot Before
1.0CURRENT-

1 - CLIs

1.1 - ListBillingItemIds

1.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

1.2 - ListOffering

1.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’]

1.3 - ListReportPrice

1.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