Hi I got this to work with this code: var server = new Pulumi.AzureNative.DBforPostgreSQL.Server("server", new()
{
AdministratorLogin = "cloudsa",
AdministratorLoginPassword = "password",
AvailabilityZone = "1",
Backup = new Pulumi.AzureNative.DBforPostgreSQL.Inputs.BackupArgs
{
BackupRetentionDays = 7,
GeoRedundantBackup = "Disabled",
},
CreateMode = "Create",
Location = "uksouth",
ResourceGroupName = resourceGroup.Name,
ServerName = "kinderworxhealthcheckdbpgsql-dev",
Sku = new Pulumi.AzureNative.DBforPostgreSQL.Inputs.SkuArgs
{
Name = "Standard_D4s_v3",
Tier = "GeneralPurpose",
},
Storage = new Pulumi.AzureNative.DBforPostgreSQL.Inputs.StorageArgs
{
StorageSizeGB = 512,
},
Tags =
{
{ "ElasticServer", "1" },
},
Version = "15",
});