curl --request POST \
--url https://api.gcore.com/cloud/v2/pricing/{project_id}/{region_id}/k8s/clusters \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"pools": [
{
"flavor_id": "<string>",
"boot_volume_size": 1005,
"boot_volume_type": "cold",
"is_public_ipv4": false,
"node_count": 1
}
]
}
'{
"instances": [
{
"currency_code": "AZN",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "error",
"price_without_discount_per_month": 604.8,
"tax_percent": 123
}
],
"publicips": [
{
"currency_code": "AZN",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "error",
"price_without_discount_per_month": 604.8,
"tax_percent": 123
}
],
"total_price": {
"currency_code": "AZN",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "error",
"price_without_discount_per_month": 604.8,
"tax_percent": 123
},
"volumes": [
{
"currency_code": "AZN",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "error",
"price_without_discount_per_month": 604.8,
"tax_percent": 123
}
]
}Preview the billing price for a cluster based on the provided configuration.
curl --request POST \
--url https://api.gcore.com/cloud/v2/pricing/{project_id}/{region_id}/k8s/clusters \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"pools": [
{
"flavor_id": "<string>",
"boot_volume_size": 1005,
"boot_volume_type": "cold",
"is_public_ipv4": false,
"node_count": 1
}
]
}
'{
"instances": [
{
"currency_code": "AZN",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "error",
"price_without_discount_per_month": 604.8,
"tax_percent": 123
}
],
"publicips": [
{
"currency_code": "AZN",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "error",
"price_without_discount_per_month": 604.8,
"tax_percent": 123
}
],
"total_price": {
"currency_code": "AZN",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "error",
"price_without_discount_per_month": 604.8,
"tax_percent": 123
},
"volumes": [
{
"currency_code": "AZN",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "error",
"price_without_discount_per_month": 604.8,
"tax_percent": 123
}
]
}API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Cluster pools
Show child attributes
Flavor ID.
Size (in GiB) of the boot volume. Required for virtual instances.
10 <= x <= 2000Type of the boot volume. Required for virtual instances.
cold, ssd_hiiops, ssd_local, ssd_lowlatency, standard, ultra Enable public v4 address.
Minimum node count.
1 <= x <= 200OK
Pricing scheme for various resources
Show child attributes
Currency code (3 letter code per ISO 4217)
AZN, EUR, USD Actual discount relative value
0.16
Price of the item charged per hour
1
Price of the item charged per month
720
Price status for the UI
error, hide, show Total price VAT inclusive per month without discount
604.8
Tax rate applied to the subtotal, represented as a percentage
Show child attributes
Currency code (3 letter code per ISO 4217)
AZN, EUR, USD Actual discount relative value
0.16
Price of the item charged per hour
1
Price of the item charged per month
720
Price status for the UI
error, hide, show Total price VAT inclusive per month without discount
604.8
Tax rate applied to the subtotal, represented as a percentage
Response with prices per hour and per month
Show child attributes
Currency code (3 letter code per ISO 4217)
AZN, EUR, USD Actual discount relative value
0.16
Price of the item charged per hour
1
Price of the item charged per month
720
Price status for the UI
error, hide, show Total price VAT inclusive per month without discount
604.8
Tax rate applied to the subtotal, represented as a percentage
Show child attributes
Currency code (3 letter code per ISO 4217)
AZN, EUR, USD Actual discount relative value
0.16
Price of the item charged per hour
1
Price of the item charged per month
720
Price status for the UI
error, hide, show Total price VAT inclusive per month without discount
604.8
Tax rate applied to the subtotal, represented as a percentage
Was this page helpful?