{
"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
}
}
curl --location --request PATCH 'https://api.laf.run/v1/applications//bundle' \
--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
}
}'
{
"error": "string",
"data": {
"_id": "string",
"appid": "string",
"resource": {
"limitCPU": 500,
"limitMemory": 1024,
"databaseCapacity": 1024,
"storageCapacity": 1024,
"limitCountOfCloudFunction": 100,
"limitCountOfBucket": 3,
"limitCountOfDatabasePolicy": 3,
"limitCountOfTrigger": 1,
"limitCountOfWebsiteHosting": 3,
"reservedTimeAfterExpired": 0,
"dedicatedDatabase": {
"limitCPU": 500,
"limitMemory": 1024,
"capacity": 1024,
"replicas": 1
}
},
"autoscaling": {
"enable": true,
"minReplicas": 0,
"maxReplicas": 0,
"targetCPUUtilizationPercentage": 0,
"targetMemoryUtilizationPercentage": 0
},
"isTrialTier": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}