#Step 1 - Create a resource group first
#Step 2 - Deploy your Azure Database for PostgreSQL flexible server
#VARIABLES
$ResourceGroupName = "allen-opswat-database"
$ServerName = "opswatdbserver-delete"
$location = "uaenorth"
$AdministratorUserName = "Allen"
$AdministratorLoginPassword = "P@ssword01"
$SKU = "Standard_D2s_v3"
$password = "DimensionD@t@" | ConvertTo-SecureString -AsPlainText -Force
##DEFINE
New-AzPostgreSqlFlexibleServer `
-ServerName $ServerName `
-ResourceGroupName $ResourceGroupName `
-Location $location `
-AdministratorUserName Allen `
-AdministratorLoginPassword $password `
-Sku $SKU `
-SkuTier GeneralPurpose `
-Version 12 `
-StorageInMb 131072 `
-PublicAccess none
I got what you mean , thankyou for posting.Woh I am delighted to find this website through google.