POST
/
cloud
/
v2
/
pricing
/
{project_id}
/
{region_id}
/
loadbalancers
curl --request POST \
  --url https://api.gcore.com/cloud/v2/pricing/{project_id}/{region_id}/loadbalancers \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "flavor": "lb1-1-2",
  "floating_ip": {
    "existing_floating_id": "c64e5db1-5f1f-43ec-a8d9-5090df85b82d",
    "source": "existing"
  }
}'
{
  "currency_code": "USD",
  "discount_percent": 0.16,
  "per_hour": {
    "external_ip": 0.02,
    "flavor": 0.8,
    "floating_ip": 0.05
  },
  "per_month": {
    "external_ip": 14.4,
    "flavor": 576,
    "floating_ip": 36
  },
  "price_status": "show",
  "price_without_discount_per_month": 604.8,
  "total_price_per_hour": 1.02,
  "total_price_per_month": 734.4
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

Examples:

1

region_id
integer
required

Region ID

Examples:

1

Body

application/json

Price preview loadbalancer schema

Response

200 - application/json

OK

Billing response preview schema for loadbalancer