API indicates a size is available in a region, but the region itself is not listed as available
I’m new to the API, and I’m trying to understand the relationship between Regions and Sizes. I figured that they would have a concrete relationship: if the region is available, and has a certain size in the size array, then I expect to see that when I list the sizes, and search the regions array, it will map directly to the region data.
However, if I list the regions, it reports NYC1 and NYC3, but not NYC2. To me this indicates that NYC2 is not available for new droplets. However, if I list the available sizes, I see NYC1, NYC2, and NYC3 listed as available regions.
Is there a correct way to build a mapping starting with choosing a region, then for that reason list available sizes, and finally available images.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×