Can't find db-sizes slug in /v2/sizes
So, I'm trying to create infrastructure from my code itself, so I came across the sizes endpoint and had hoped to get the slugs for all available database sizes, but unfortunately they aren't there.
Is this something coming in future releases ? If not, is there any other way to get all possible database sizes available on DO ?
Hey @UtsavPreet, we haven't added the DB slug sizes to the endpoint yet, but it's on our team's radar. The slug sizes are currently only documented in our public API documentation – https://developers.digitalocean.com/documentation/v2/#databases. I'll leave this issue open to track our progress on adding the DB slug sizes to the API.
Thanks for the update, @bentranter
Hi, Are the slug sizes currently documented in the public API documentation – https://developers.digitalocean.com/documentation/v2/#databases still correct? The product page for MySQL implies there are more sizes available (https://docs.digitalocean.com/products/databases/mysql/) and also more types of machine.
The biggest concern is the possibility of any documented database slugs overtime becoming unavailable without notice.
The other concern is around availability in regions. As it stands there is no option equivalent to /v2/regions for database slug verification. There is only an availability-matrix page (https://docs.digitalocean.com/products/platform/availability-matrix/#managed-databases-machine-type-availability). But from this matrix page what becomes obvious is that the API reference is missing all slugs for general-purpose databases and for storage-optimised databases... (No Memory-Optimized MySQL available yet on any region)
Is this something coming in future releases ? If not, is there any other way to get all possible database sizes available on DO ?