Skip to main content
POST
Preview load balancer price

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer<int64>
required

Project ID

Example:

1

region_id
integer<int64>
required

Region ID

Example:

1

Body

application/json

Price preview loadbalancer schema

flavor
string
required

Load balancer flavor name

Example:

"lb1-1-2"

floating_ip
New floating IP · object

Allows the instance to have a public IP that can be reached from the internet.

vip_ip_family
enum<string> | null

Which subnet should be selected if not specified: IPv4, IPv6 or use dual stack.

Available options:
dual,
ipv4,
ipv6
Example:

"ipv4"

vip_network_id
string | null

Network ID for load balancer. If not specified, default external network will be used. Mutually exclusive with vip_port_id

Example:

"ddc28e44-2acb-499b-985b-831f29432e1c"

vip_port_id
string | null

Existing Reserved Fixed IP port ID for load balancer. Mutually exclusive with vip_network_id

Example:

"57be69f6-6f6a-4f03-a4ad-8eb86c69ec0a"

vip_subnet_id
string | null

Subnet ID for load balancer. If not specified, any subnet from vip_network_id will be selected. Ignored when vip_network_id is not specified.

Example:

"2731a56e-a5c9-44be-80c2-02c57c594573"

Response

200 - application/json

OK

Billing response preview schema for loadbalancer

currency_code
enum<string> | null
required

Currency code (3 letter code per ISO 4217)

Available options:
AZN,
EUR,
USD
discount_percent
number | null
required

Actual discount relative value

Example:

0.16

per_hour
DetailedLoadBalancerPricingSerializer · object
required

Prices per category charged per hour

Example:
per_month
DetailedLoadBalancerPricingSerializer · object
required

Prices per category charged per month

Example:
price_status
enum<string>
required

Price status for the UI

Available options:
error,
hide,
show
Example:

"show"

price_without_discount_per_month
number | null
required

Total price VAT inclusive per month without discount

tax_percent
number
required

Tax rate applied to the subtotal, represented as a percentage

Examples:

"0"

17

12

total_price_per_hour
number | null
required

Total price VAT inclusive per hour

total_price_per_month
number | null
required

Total price VAT inclusive per month