v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Managed Kubernetes

Preview k8s cluster price

Preview the billing price for a cluster based on the provided configuration.

post/cloud/v2/pricing/{project_id}/{region_id}/k8s/clusters

Path parameters

project_idinteger required

Project ID

Example:1

Project ID

region_idinteger required

Region ID

Example:1

Region ID

Request body

Example request

{
  "pools": [
    {
      "flavor_id": "g0-standard-1-2",
      "node_count": 1
    }
  ]
}

Response

OK

Example response

{
  "instances": [
    {
      "currency_code": "USD",
      "discount_percent": 0.16,
      "price_per_hour": 1,
      "price_per_month": 720,
      "price_status": "show",
      "price_without_discount_per_month": 604.8,
      "tax_percent": 17
    }
  ],
  "publicips": [
    {
      "currency_code": "USD",
      "discount_percent": 0.16,
      "price_per_hour": 1,
      "price_per_month": 720,
      "price_status": "show",
      "price_without_discount_per_month": 604.8,
      "tax_percent": 17
    }
  ],
  "total_price": {
    "currency_code": "USD",
    "discount_percent": 0.16,
    "price_per_hour": 1,
    "price_per_month": 720,
    "price_status": "show",
    "price_without_discount_per_month": 604.8,
    "tax_percent": 17
  },
  "volumes": [
    {
      "currency_code": "USD",
      "discount_percent": 0.16,
      "price_per_hour": 1,
      "price_per_month": 720,
      "price_status": "show",
      "price_without_discount_per_month": 604.8,
      "tax_percent": 17
    }
  ]
}