Azure createUiDefinition json ArmApiControl using PostgreSQL Flexible Server location-based capabilities API

Video Walkthrough

Tip: Play the video full screen or on YouTube to see all of the details.

Try it yourself

  • Visit the GitHub repo.
  • Copy postgresql-flexibleserver-selectors.json into Create UI Definition Sandbox.
  • Try various regions to see how available options change based on the region selected (e.g., East US — for all options, West US — for regional only without zones, West US 2 — for no availability of PostgreSQL Flexible Server).
  • Review the code to see how contains() and an array are used to filter the drop downs to narrow down the options that the location-based capabilities API returns to ones that you want to have (e.g., say only GeneralPurpose instead of Burstable tier and version 13 only, etc.).
PostgreSQL Flexible Server is available in the selected region
PostgreSQL Flexible Server is not available for subscription in the selected region

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Arsen Vladimirskiy

Arsen Vladimirskiy

149 Followers

Principal Engineer / Architect, FastTrack for Azure at Microsoft