{
"cpu": 200,
"memory": 256,
"databaseCapacity": 2048,
"storageCapacity": 4096,
"autoscaling": {
"enable": false,
"minReplicas": 1,
"maxReplicas": 5,
"targetCPUUtilizationPercentage": 50,
"targetMemoryUtilizationPercentage": 50
},
"dedicatedDatabase": {
"cpu": 200,
"memory": 256,
"capacity": 1024,
"replicas": 3
},
"regionId": "string"
}
curl --location --request POST 'https://api.laf.run/v1/resources/price' \
--header 'Content-Type: application/json' \
--data-raw '{
"cpu": 200,
"memory": 256,
"databaseCapacity": 2048,
"storageCapacity": 4096,
"autoscaling": {
"enable": false,
"minReplicas": 1,
"maxReplicas": 5,
"targetCPUUtilizationPercentage": 50,
"targetMemoryUtilizationPercentage": 50
},
"dedicatedDatabase": {
"cpu": 200,
"memory": 256,
"capacity": 1024,
"replicas": 3
},
"regionId": "string"
}'
{
"error": "string",
"data": {
"cpu": 0.072,
"memory": 0.036,
"storageCapacity": 0.036,
"databaseCapacity": 0.036,
"total": 0.18
}
}