Creating a SQL Server and Database in Azure with CLI
The bash code creates a Microsoft Azure resource group called "NewApp" in the "East US" region. It then creates a SQL server called "new-app-sql-server" with an admin user and password, and creates a firewall rule that allows access to the SQL server from a specific IP range. Finally, it creates a serverless database called "new-app" with additional settings that declare the database edition and capacity.
The General Purpose edition is designed to support a wide range of workloads, from small-scale transactional applications to large-scale data warehousing and analytics