You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I think the plans were generated with swagger from some incomplete yaml file by the original author of this library... IMO the best solution would be to remove all hard-coded plans/string, and use the plans API: GET /1.2/plan https://developers.upcloud.com/7-plans/ - and pass server create etc. the "name" of the plan you want. Just an idea though...
Hi,
Not all server plans are defined in PriceZone.
Only these 2:
https://github.com/UpCloudLtd/upcloud-php-api/blob/master/lib/Model/PriceZone.php#L63
This is the full list:
server_plan_1xCPU-1GB
server_plan_1xCPU-2GB
server_plan_20xCPU-128GB
server_plan_20xCPU-96GB
server_plan_2xCPU-4GB
server_plan_4xCPU-8GB
server_plan_6xCPU-16GB
server_plan_8xCPU-32GB
Is there a reason they are not defined?
The text was updated successfully, but these errors were encountered: