{ "parameters": { "api-version": "2026-04-01-preview", "parameters": { "location": "eastus", "properties": { "administratorLogin": "exampleadministratorlogin", "administratorLoginPassword": "examplepassword", "authConfig": { "activeDirectoryAuth": "Enabled", "passwordAuth": "Enabled", "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt" }, "availabilityZone": "1", "backup": { "backupRetentionDays": 7, "geoRedundantBackup": "Disabled" }, "createMode": "Create", "dataEncryption": { "type": "SystemManaged" }, "highAvailability": { "mode": "Disabled" }, "network": { "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet", "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleprivatednszone.postgres.database.azure.com" }, "storage": { "autoGrow": "Disabled", "storageSizeGB": 512, "tier": "P20" }, "version": "17" }, "sku": { "name": "Standard_D4ds_v5", "tier": "GeneralPurpose" } }, "resourceGroupName": "exampleresourcegroup", "serverName": "exampleserver", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" }, "responses": { "202": { "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2026-04-01-preview", "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2026-04-01-preview" } } }, "operationId": "Servers_CreateOrUpdate", "title": "Create a new server with Microsoft Entra authentication enabled in your own virtual network and without high availability." }