Catalog

List VM pricing plans

Changed on

Returns VM pricing plans. Use the plan id as pricing_id when creating a VM.

get/api/v1/public/pricing/vm

Request

  • Base URL
    https://api.rafftechnologies.com
  • URL
    https://api.rafftechnologies.com/api/v1/public/pricing/vm
  • Auth
    none required

Query parameters

type'standard' | 'premium' | 'windows' | 'cost_optimized'

Filter by VM type: standard (General Purpose), premium (CPU-Optimized), windows (Windows Server) or cost_optimized (Cost-Optimized)

region'us-east'

Filter by region

Response

List of VM pricing plans

successboolean

Example response

{
  "success": true,
  "plans": [
    {
      "id": 3,
      "vcpu": 2,
      "memory_gib": 4,
      "ssd_gib": 80,
      "transfer_gib": 4000,
      "price_per_hour": 0.027764,
      "monthly_price": 20,
      "yearly_price": 200,
      "twenty_four_month_price": 400,
      "vm_type": "standard",
      "region": "us-east"
    }
  ]
}

Changes

    • warning

      added the new cost_optimized enum value to the // response property for the response status

    • info

      added the new enum value cost_optimized to the query request parameter type

    • warning

      added the new windows enum value to the // response property for the response status

    • info

      added the new enum value windows to the query request parameter type