Catalog
List VM pricing plans
Changed onReturns VM pricing plans. Use the plan id as pricing_id when creating a VM.
get/api/v1/public/pricing/vm
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/public/pricing/vm
- Authnone 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
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_optimizedenum value to the//response property for the response status - info
added the new enum value
cost_optimizedto thequeryrequest parametertype
- warning
- warning
added the new
windowsenum value to the//response property for the response status - info
added the new enum value
windowsto thequeryrequest parametertype
- warning