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
Adding a locationId param to createServer is a good idea to allow choosing a random allocation id instead of setting a default allocation for each server.
The text was updated successfully, but these errors were encountered:
The only way of providing the option to choose a random allocation is to use a deployment object. It requires a bit more information than just the location ID. At the start of the library, it was how I had it implemented, but it had issues.
For example, I found out that it validates the disk space and memory used on the node, and if it exceeds the limit it fails. The normal server creation (like it is implemented now) doesn't check that.
Of course, I am not against using deployment objects, so I can add it as an optional parameter, for the createServer method.
Adding a locationId param to
createServer
is a good idea to allow choosing a random allocation id instead of setting a default allocation for each server.The text was updated successfully, but these errors were encountered: