1. Packages
  2. Azure Native
  3. API Docs
  4. dbforpostgresql
  5. Server
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.20.1 published on Friday, Dec 1, 2023 by Pulumi

azure-native.dbforpostgresql.Server

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.20.1 published on Friday, Dec 1, 2023 by Pulumi

    Represents a server. Azure REST API version: 2022-12-01. Prior API version in Azure Native 1.x: 2017-12-01.

    Other available API versions: 2017-12-01, 2017-12-01-preview, 2020-02-14-preview, 2021-04-10-privatepreview, 2021-06-15-privatepreview, 2022-03-08-preview, 2023-03-01-preview, 2023-06-01-preview.

    Example Usage

    Create a database as a geo-restore in geo-paired location

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var server = new AzureNative.DBforPostgreSQL.Server("server", new()
        {
            CreateMode = "GeoRestore",
            Location = "eastus",
            PointInTimeUTC = "2021-06-27T00:04:59.4078005+00:00",
            ResourceGroupName = "testrg",
            ServerName = "pgtestsvc5geo",
            SourceServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
    			CreateMode:             pulumi.String("GeoRestore"),
    			Location:               pulumi.String("eastus"),
    			PointInTimeUTC:         pulumi.String("2021-06-27T00:04:59.4078005+00:00"),
    			ResourceGroupName:      pulumi.String("testrg"),
    			ServerName:             pulumi.String("pgtestsvc5geo"),
    			SourceServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.Server;
    import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var server = new Server("server", ServerArgs.builder()        
                .createMode("GeoRestore")
                .location("eastus")
                .pointInTimeUTC("2021-06-27T00:04:59.4078005+00:00")
                .resourceGroupName("testrg")
                .serverName("pgtestsvc5geo")
                .sourceServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    server = azure_native.dbforpostgresql.Server("server",
        create_mode="GeoRestore",
        location="eastus",
        point_in_time_utc="2021-06-27T00:04:59.4078005+00:00",
        resource_group_name="testrg",
        server_name="pgtestsvc5geo",
        source_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const server = new azure_native.dbforpostgresql.Server("server", {
        createMode: "GeoRestore",
        location: "eastus",
        pointInTimeUTC: "2021-06-27T00:04:59.4078005+00:00",
        resourceGroupName: "testrg",
        serverName: "pgtestsvc5geo",
        sourceServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername",
    });
    
    resources:
      server:
        type: azure-native:dbforpostgresql:Server
        properties:
          createMode: GeoRestore
          location: eastus
          pointInTimeUTC: 2021-06-27T00:04:59.4078005+00:00
          resourceGroupName: testrg
          serverName: pgtestsvc5geo
          sourceServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername
    

    Create a database as a point in time restore

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var server = new AzureNative.DBforPostgreSQL.Server("server", new()
        {
            CreateMode = "PointInTimeRestore",
            Location = "westus",
            PointInTimeUTC = "2021-06-27T00:04:59.4078005+00:00",
            ResourceGroupName = "testrg",
            ServerName = "pgtestsvc5",
            SourceServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
    			CreateMode:             pulumi.String("PointInTimeRestore"),
    			Location:               pulumi.String("westus"),
    			PointInTimeUTC:         pulumi.String("2021-06-27T00:04:59.4078005+00:00"),
    			ResourceGroupName:      pulumi.String("testrg"),
    			ServerName:             pulumi.String("pgtestsvc5"),
    			SourceServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.Server;
    import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var server = new Server("server", ServerArgs.builder()        
                .createMode("PointInTimeRestore")
                .location("westus")
                .pointInTimeUTC("2021-06-27T00:04:59.4078005+00:00")
                .resourceGroupName("testrg")
                .serverName("pgtestsvc5")
                .sourceServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    server = azure_native.dbforpostgresql.Server("server",
        create_mode="PointInTimeRestore",
        location="westus",
        point_in_time_utc="2021-06-27T00:04:59.4078005+00:00",
        resource_group_name="testrg",
        server_name="pgtestsvc5",
        source_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const server = new azure_native.dbforpostgresql.Server("server", {
        createMode: "PointInTimeRestore",
        location: "westus",
        pointInTimeUTC: "2021-06-27T00:04:59.4078005+00:00",
        resourceGroupName: "testrg",
        serverName: "pgtestsvc5",
        sourceServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername",
    });
    
    resources:
      server:
        type: azure-native:dbforpostgresql:Server
        properties:
          createMode: PointInTimeRestore
          location: westus
          pointInTimeUTC: 2021-06-27T00:04:59.4078005+00:00
          resourceGroupName: testrg
          serverName: pgtestsvc5
          sourceServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername
    

    Create a new server

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var server = new AzureNative.DBforPostgreSQL.Server("server", new()
        {
            AdministratorLogin = "cloudsa",
            AdministratorLoginPassword = "password",
            AvailabilityZone = "1",
            Backup = new AzureNative.DBforPostgreSQL.Inputs.BackupArgs
            {
                BackupRetentionDays = 7,
                GeoRedundantBackup = "Disabled",
            },
            CreateMode = "Create",
            HighAvailability = new AzureNative.DBforPostgreSQL.Inputs.HighAvailabilityArgs
            {
                Mode = "ZoneRedundant",
            },
            Location = "westus",
            Network = new AzureNative.DBforPostgreSQL.Inputs.NetworkArgs
            {
                DelegatedSubnetResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
                PrivateDnsZoneArmResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com",
            },
            ResourceGroupName = "testrg",
            ServerName = "pgtestsvc4",
            Sku = new AzureNative.DBforPostgreSQL.Inputs.SkuArgs
            {
                Name = "Standard_D4s_v3",
                Tier = "GeneralPurpose",
            },
            Storage = new AzureNative.DBforPostgreSQL.Inputs.StorageArgs
            {
                StorageSizeGB = 512,
            },
            Tags = 
            {
                { "ElasticServer", "1" },
            },
            Version = "12",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
    			AdministratorLogin:         pulumi.String("cloudsa"),
    			AdministratorLoginPassword: pulumi.String("password"),
    			AvailabilityZone:           pulumi.String("1"),
    			Backup: &dbforpostgresql.BackupArgs{
    				BackupRetentionDays: pulumi.Int(7),
    				GeoRedundantBackup:  pulumi.String("Disabled"),
    			},
    			CreateMode: pulumi.String("Create"),
    			HighAvailability: &dbforpostgresql.HighAvailabilityArgs{
    				Mode: pulumi.String("ZoneRedundant"),
    			},
    			Location: pulumi.String("westus"),
    			Network: &dbforpostgresql.NetworkArgs{
    				DelegatedSubnetResourceId:   pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"),
    				PrivateDnsZoneArmResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com"),
    			},
    			ResourceGroupName: pulumi.String("testrg"),
    			ServerName:        pulumi.String("pgtestsvc4"),
    			Sku: &dbforpostgresql.SkuArgs{
    				Name: pulumi.String("Standard_D4s_v3"),
    				Tier: pulumi.String("GeneralPurpose"),
    			},
    			Storage: &dbforpostgresql.StorageArgs{
    				StorageSizeGB: pulumi.Int(512),
    			},
    			Tags: pulumi.StringMap{
    				"ElasticServer": pulumi.String("1"),
    			},
    			Version: pulumi.String("12"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.Server;
    import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var server = new Server("server", ServerArgs.builder()        
                .administratorLogin("cloudsa")
                .administratorLoginPassword("password")
                .availabilityZone("1")
                .backup(Map.ofEntries(
                    Map.entry("backupRetentionDays", 7),
                    Map.entry("geoRedundantBackup", "Disabled")
                ))
                .createMode("Create")
                .highAvailability(Map.of("mode", "ZoneRedundant"))
                .location("westus")
                .network(Map.ofEntries(
                    Map.entry("delegatedSubnetResourceId", "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"),
                    Map.entry("privateDnsZoneArmResourceId", "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com")
                ))
                .resourceGroupName("testrg")
                .serverName("pgtestsvc4")
                .sku(Map.ofEntries(
                    Map.entry("name", "Standard_D4s_v3"),
                    Map.entry("tier", "GeneralPurpose")
                ))
                .storage(Map.of("storageSizeGB", 512))
                .tags(Map.of("ElasticServer", "1"))
                .version("12")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    server = azure_native.dbforpostgresql.Server("server",
        administrator_login="cloudsa",
        administrator_login_password="password",
        availability_zone="1",
        backup=azure_native.dbforpostgresql.BackupArgs(
            backup_retention_days=7,
            geo_redundant_backup="Disabled",
        ),
        create_mode="Create",
        high_availability=azure_native.dbforpostgresql.HighAvailabilityArgs(
            mode="ZoneRedundant",
        ),
        location="westus",
        network=azure_native.dbforpostgresql.NetworkArgs(
            delegated_subnet_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
            private_dns_zone_arm_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com",
        ),
        resource_group_name="testrg",
        server_name="pgtestsvc4",
        sku=azure_native.dbforpostgresql.SkuArgs(
            name="Standard_D4s_v3",
            tier="GeneralPurpose",
        ),
        storage=azure_native.dbforpostgresql.StorageArgs(
            storage_size_gb=512,
        ),
        tags={
            "ElasticServer": "1",
        },
        version="12")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const server = new azure_native.dbforpostgresql.Server("server", {
        administratorLogin: "cloudsa",
        administratorLoginPassword: "password",
        availabilityZone: "1",
        backup: {
            backupRetentionDays: 7,
            geoRedundantBackup: "Disabled",
        },
        createMode: "Create",
        highAvailability: {
            mode: "ZoneRedundant",
        },
        location: "westus",
        network: {
            delegatedSubnetResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
            privateDnsZoneArmResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com",
        },
        resourceGroupName: "testrg",
        serverName: "pgtestsvc4",
        sku: {
            name: "Standard_D4s_v3",
            tier: "GeneralPurpose",
        },
        storage: {
            storageSizeGB: 512,
        },
        tags: {
            ElasticServer: "1",
        },
        version: "12",
    });
    
    resources:
      server:
        type: azure-native:dbforpostgresql:Server
        properties:
          administratorLogin: cloudsa
          administratorLoginPassword: password
          availabilityZone: '1'
          backup:
            backupRetentionDays: 7
            geoRedundantBackup: Disabled
          createMode: Create
          highAvailability:
            mode: ZoneRedundant
          location: westus
          network:
            delegatedSubnetResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet
            privateDnsZoneArmResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com
          resourceGroupName: testrg
          serverName: pgtestsvc4
          sku:
            name: Standard_D4s_v3
            tier: GeneralPurpose
          storage:
            storageSizeGB: 512
          tags:
            ElasticServer: '1'
          version: '12'
    

    Create a new server with active directory authentication enabled

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var server = new AzureNative.DBforPostgreSQL.Server("server", new()
        {
            AdministratorLogin = "cloudsa",
            AdministratorLoginPassword = "password",
            AuthConfig = new AzureNative.DBforPostgreSQL.Inputs.AuthConfigArgs
            {
                ActiveDirectoryAuth = "Enabled",
                PasswordAuth = "Enabled",
                TenantId = "tttttt-tttt-tttt-tttt-tttttttttttt",
            },
            AvailabilityZone = "1",
            Backup = new AzureNative.DBforPostgreSQL.Inputs.BackupArgs
            {
                BackupRetentionDays = 7,
                GeoRedundantBackup = "Disabled",
            },
            CreateMode = "Create",
            DataEncryption = new AzureNative.DBforPostgreSQL.Inputs.DataEncryptionArgs
            {
                Type = "SystemManaged",
            },
            HighAvailability = new AzureNative.DBforPostgreSQL.Inputs.HighAvailabilityArgs
            {
                Mode = "ZoneRedundant",
            },
            Location = "westus",
            Network = new AzureNative.DBforPostgreSQL.Inputs.NetworkArgs
            {
                DelegatedSubnetResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
                PrivateDnsZoneArmResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com",
            },
            ResourceGroupName = "testrg",
            ServerName = "pgtestsvc4",
            Sku = new AzureNative.DBforPostgreSQL.Inputs.SkuArgs
            {
                Name = "Standard_D4s_v3",
                Tier = "GeneralPurpose",
            },
            Storage = new AzureNative.DBforPostgreSQL.Inputs.StorageArgs
            {
                StorageSizeGB = 512,
            },
            Tags = 
            {
                { "ElasticServer", "1" },
            },
            Version = "12",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
    			AdministratorLogin:         pulumi.String("cloudsa"),
    			AdministratorLoginPassword: pulumi.String("password"),
    			AuthConfig: &dbforpostgresql.AuthConfigArgs{
    				ActiveDirectoryAuth: pulumi.String("Enabled"),
    				PasswordAuth:        pulumi.String("Enabled"),
    				TenantId:            pulumi.String("tttttt-tttt-tttt-tttt-tttttttttttt"),
    			},
    			AvailabilityZone: pulumi.String("1"),
    			Backup: &dbforpostgresql.BackupArgs{
    				BackupRetentionDays: pulumi.Int(7),
    				GeoRedundantBackup:  pulumi.String("Disabled"),
    			},
    			CreateMode: pulumi.String("Create"),
    			DataEncryption: &dbforpostgresql.DataEncryptionArgs{
    				Type: pulumi.String("SystemManaged"),
    			},
    			HighAvailability: &dbforpostgresql.HighAvailabilityArgs{
    				Mode: pulumi.String("ZoneRedundant"),
    			},
    			Location: pulumi.String("westus"),
    			Network: &dbforpostgresql.NetworkArgs{
    				DelegatedSubnetResourceId:   pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"),
    				PrivateDnsZoneArmResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com"),
    			},
    			ResourceGroupName: pulumi.String("testrg"),
    			ServerName:        pulumi.String("pgtestsvc4"),
    			Sku: &dbforpostgresql.SkuArgs{
    				Name: pulumi.String("Standard_D4s_v3"),
    				Tier: pulumi.String("GeneralPurpose"),
    			},
    			Storage: &dbforpostgresql.StorageArgs{
    				StorageSizeGB: pulumi.Int(512),
    			},
    			Tags: pulumi.StringMap{
    				"ElasticServer": pulumi.String("1"),
    			},
    			Version: pulumi.String("12"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.Server;
    import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var server = new Server("server", ServerArgs.builder()        
                .administratorLogin("cloudsa")
                .administratorLoginPassword("password")
                .authConfig(Map.ofEntries(
                    Map.entry("activeDirectoryAuth", "Enabled"),
                    Map.entry("passwordAuth", "Enabled"),
                    Map.entry("tenantId", "tttttt-tttt-tttt-tttt-tttttttttttt")
                ))
                .availabilityZone("1")
                .backup(Map.ofEntries(
                    Map.entry("backupRetentionDays", 7),
                    Map.entry("geoRedundantBackup", "Disabled")
                ))
                .createMode("Create")
                .dataEncryption(Map.of("type", "SystemManaged"))
                .highAvailability(Map.of("mode", "ZoneRedundant"))
                .location("westus")
                .network(Map.ofEntries(
                    Map.entry("delegatedSubnetResourceId", "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"),
                    Map.entry("privateDnsZoneArmResourceId", "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com")
                ))
                .resourceGroupName("testrg")
                .serverName("pgtestsvc4")
                .sku(Map.ofEntries(
                    Map.entry("name", "Standard_D4s_v3"),
                    Map.entry("tier", "GeneralPurpose")
                ))
                .storage(Map.of("storageSizeGB", 512))
                .tags(Map.of("ElasticServer", "1"))
                .version("12")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    server = azure_native.dbforpostgresql.Server("server",
        administrator_login="cloudsa",
        administrator_login_password="password",
        auth_config=azure_native.dbforpostgresql.AuthConfigArgs(
            active_directory_auth="Enabled",
            password_auth="Enabled",
            tenant_id="tttttt-tttt-tttt-tttt-tttttttttttt",
        ),
        availability_zone="1",
        backup=azure_native.dbforpostgresql.BackupArgs(
            backup_retention_days=7,
            geo_redundant_backup="Disabled",
        ),
        create_mode="Create",
        data_encryption=azure_native.dbforpostgresql.DataEncryptionArgs(
            type="SystemManaged",
        ),
        high_availability=azure_native.dbforpostgresql.HighAvailabilityArgs(
            mode="ZoneRedundant",
        ),
        location="westus",
        network=azure_native.dbforpostgresql.NetworkArgs(
            delegated_subnet_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
            private_dns_zone_arm_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com",
        ),
        resource_group_name="testrg",
        server_name="pgtestsvc4",
        sku=azure_native.dbforpostgresql.SkuArgs(
            name="Standard_D4s_v3",
            tier="GeneralPurpose",
        ),
        storage=azure_native.dbforpostgresql.StorageArgs(
            storage_size_gb=512,
        ),
        tags={
            "ElasticServer": "1",
        },
        version="12")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const server = new azure_native.dbforpostgresql.Server("server", {
        administratorLogin: "cloudsa",
        administratorLoginPassword: "password",
        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: "ZoneRedundant",
        },
        location: "westus",
        network: {
            delegatedSubnetResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
            privateDnsZoneArmResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com",
        },
        resourceGroupName: "testrg",
        serverName: "pgtestsvc4",
        sku: {
            name: "Standard_D4s_v3",
            tier: "GeneralPurpose",
        },
        storage: {
            storageSizeGB: 512,
        },
        tags: {
            ElasticServer: "1",
        },
        version: "12",
    });
    
    resources:
      server:
        type: azure-native:dbforpostgresql:Server
        properties:
          administratorLogin: cloudsa
          administratorLoginPassword: password
          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: ZoneRedundant
          location: westus
          network:
            delegatedSubnetResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet
            privateDnsZoneArmResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com
          resourceGroupName: testrg
          serverName: pgtestsvc4
          sku:
            name: Standard_D4s_v3
            tier: GeneralPurpose
          storage:
            storageSizeGB: 512
          tags:
            ElasticServer: '1'
          version: '12'
    

    ServerCreateReplica

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var server = new AzureNative.DBforPostgreSQL.Server("server", new()
        {
            CreateMode = "Replica",
            Location = "westus",
            PointInTimeUTC = "2021-06-27T00:04:59.4078005+00:00",
            ResourceGroupName = "testrg",
            ServerName = "pgtestsvc5rep",
            SourceServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
    			CreateMode:             pulumi.String("Replica"),
    			Location:               pulumi.String("westus"),
    			PointInTimeUTC:         pulumi.String("2021-06-27T00:04:59.4078005+00:00"),
    			ResourceGroupName:      pulumi.String("testrg"),
    			ServerName:             pulumi.String("pgtestsvc5rep"),
    			SourceServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.Server;
    import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var server = new Server("server", ServerArgs.builder()        
                .createMode("Replica")
                .location("westus")
                .pointInTimeUTC("2021-06-27T00:04:59.4078005+00:00")
                .resourceGroupName("testrg")
                .serverName("pgtestsvc5rep")
                .sourceServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    server = azure_native.dbforpostgresql.Server("server",
        create_mode="Replica",
        location="westus",
        point_in_time_utc="2021-06-27T00:04:59.4078005+00:00",
        resource_group_name="testrg",
        server_name="pgtestsvc5rep",
        source_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const server = new azure_native.dbforpostgresql.Server("server", {
        createMode: "Replica",
        location: "westus",
        pointInTimeUTC: "2021-06-27T00:04:59.4078005+00:00",
        resourceGroupName: "testrg",
        serverName: "pgtestsvc5rep",
        sourceServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername",
    });
    
    resources:
      server:
        type: azure-native:dbforpostgresql:Server
        properties:
          createMode: Replica
          location: westus
          pointInTimeUTC: 2021-06-27T00:04:59.4078005+00:00
          resourceGroupName: testrg
          serverName: pgtestsvc5rep
          sourceServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/sourcepgservername
    

    ServerCreateWithDataEncryptionEnabled

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var server = new AzureNative.DBforPostgreSQL.Server("server", new()
        {
            AdministratorLogin = "cloudsa",
            AdministratorLoginPassword = "password",
            AvailabilityZone = "1",
            Backup = new AzureNative.DBforPostgreSQL.Inputs.BackupArgs
            {
                BackupRetentionDays = 7,
                GeoRedundantBackup = "Disabled",
            },
            CreateMode = "Create",
            DataEncryption = new AzureNative.DBforPostgreSQL.Inputs.DataEncryptionArgs
            {
                PrimaryKeyURI = "https://test-kv.vault.azure.net/keys/test-key1/77f57315bab34b0189daa113fbc78787",
                PrimaryUserAssignedIdentityId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity",
                Type = "AzureKeyVault",
            },
            HighAvailability = new AzureNative.DBforPostgreSQL.Inputs.HighAvailabilityArgs
            {
                Mode = "ZoneRedundant",
            },
            Identity = new AzureNative.DBforPostgreSQL.Inputs.UserAssignedIdentityArgs
            {
                Type = "UserAssigned",
                UserAssignedIdentities = 
                {
                    { "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity", null },
                },
            },
            Location = "westus",
            Network = new AzureNative.DBforPostgreSQL.Inputs.NetworkArgs
            {
                DelegatedSubnetResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
                PrivateDnsZoneArmResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com",
            },
            ResourceGroupName = "testrg",
            ServerName = "pgtestsvc4",
            Sku = new AzureNative.DBforPostgreSQL.Inputs.SkuArgs
            {
                Name = "Standard_D4s_v3",
                Tier = "GeneralPurpose",
            },
            Storage = new AzureNative.DBforPostgreSQL.Inputs.StorageArgs
            {
                StorageSizeGB = 512,
            },
            Tags = 
            {
                { "ElasticServer", "1" },
            },
            Version = "12",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
    			AdministratorLogin:         pulumi.String("cloudsa"),
    			AdministratorLoginPassword: pulumi.String("password"),
    			AvailabilityZone:           pulumi.String("1"),
    			Backup: &dbforpostgresql.BackupArgs{
    				BackupRetentionDays: pulumi.Int(7),
    				GeoRedundantBackup:  pulumi.String("Disabled"),
    			},
    			CreateMode: pulumi.String("Create"),
    			DataEncryption: &dbforpostgresql.DataEncryptionArgs{
    				PrimaryKeyURI:                 pulumi.String("https://test-kv.vault.azure.net/keys/test-key1/77f57315bab34b0189daa113fbc78787"),
    				PrimaryUserAssignedIdentityId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity"),
    				Type:                          pulumi.String("AzureKeyVault"),
    			},
    			HighAvailability: &dbforpostgresql.HighAvailabilityArgs{
    				Mode: pulumi.String("ZoneRedundant"),
    			},
    			Identity: dbforpostgresql.UserAssignedIdentityResponse{
    				Type: pulumi.String("UserAssigned"),
    				UserAssignedIdentities: dbforpostgresql.UserIdentityMap{
    					"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity": nil,
    				},
    			},
    			Location: pulumi.String("westus"),
    			Network: &dbforpostgresql.NetworkArgs{
    				DelegatedSubnetResourceId:   pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"),
    				PrivateDnsZoneArmResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com"),
    			},
    			ResourceGroupName: pulumi.String("testrg"),
    			ServerName:        pulumi.String("pgtestsvc4"),
    			Sku: &dbforpostgresql.SkuArgs{
    				Name: pulumi.String("Standard_D4s_v3"),
    				Tier: pulumi.String("GeneralPurpose"),
    			},
    			Storage: &dbforpostgresql.StorageArgs{
    				StorageSizeGB: pulumi.Int(512),
    			},
    			Tags: pulumi.StringMap{
    				"ElasticServer": pulumi.String("1"),
    			},
    			Version: pulumi.String("12"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.Server;
    import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var server = new Server("server", ServerArgs.builder()        
                .administratorLogin("cloudsa")
                .administratorLoginPassword("password")
                .availabilityZone("1")
                .backup(Map.ofEntries(
                    Map.entry("backupRetentionDays", 7),
                    Map.entry("geoRedundantBackup", "Disabled")
                ))
                .createMode("Create")
                .dataEncryption(Map.ofEntries(
                    Map.entry("primaryKeyURI", "https://test-kv.vault.azure.net/keys/test-key1/77f57315bab34b0189daa113fbc78787"),
                    Map.entry("primaryUserAssignedIdentityId", "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity"),
                    Map.entry("type", "AzureKeyVault")
                ))
                .highAvailability(Map.of("mode", "ZoneRedundant"))
                .identity(Map.ofEntries(
                    Map.entry("type", "UserAssigned"),
                    Map.entry("userAssignedIdentities", Map.of("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity", ))
                ))
                .location("westus")
                .network(Map.ofEntries(
                    Map.entry("delegatedSubnetResourceId", "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet"),
                    Map.entry("privateDnsZoneArmResourceId", "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com")
                ))
                .resourceGroupName("testrg")
                .serverName("pgtestsvc4")
                .sku(Map.ofEntries(
                    Map.entry("name", "Standard_D4s_v3"),
                    Map.entry("tier", "GeneralPurpose")
                ))
                .storage(Map.of("storageSizeGB", 512))
                .tags(Map.of("ElasticServer", "1"))
                .version("12")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    server = azure_native.dbforpostgresql.Server("server",
        administrator_login="cloudsa",
        administrator_login_password="password",
        availability_zone="1",
        backup=azure_native.dbforpostgresql.BackupArgs(
            backup_retention_days=7,
            geo_redundant_backup="Disabled",
        ),
        create_mode="Create",
        data_encryption=azure_native.dbforpostgresql.DataEncryptionArgs(
            primary_key_uri="https://test-kv.vault.azure.net/keys/test-key1/77f57315bab34b0189daa113fbc78787",
            primary_user_assigned_identity_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity",
            type="AzureKeyVault",
        ),
        high_availability=azure_native.dbforpostgresql.HighAvailabilityArgs(
            mode="ZoneRedundant",
        ),
        identity=azure_native.dbforpostgresql.UserAssignedIdentityResponseArgs(
            type="UserAssigned",
            user_assigned_identities={
                "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity": azure_native.dbforpostgresql.UserIdentityArgs(),
            },
        ),
        location="westus",
        network=azure_native.dbforpostgresql.NetworkArgs(
            delegated_subnet_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
            private_dns_zone_arm_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com",
        ),
        resource_group_name="testrg",
        server_name="pgtestsvc4",
        sku=azure_native.dbforpostgresql.SkuArgs(
            name="Standard_D4s_v3",
            tier="GeneralPurpose",
        ),
        storage=azure_native.dbforpostgresql.StorageArgs(
            storage_size_gb=512,
        ),
        tags={
            "ElasticServer": "1",
        },
        version="12")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const server = new azure_native.dbforpostgresql.Server("server", {
        administratorLogin: "cloudsa",
        administratorLoginPassword: "password",
        availabilityZone: "1",
        backup: {
            backupRetentionDays: 7,
            geoRedundantBackup: "Disabled",
        },
        createMode: "Create",
        dataEncryption: {
            primaryKeyURI: "https://test-kv.vault.azure.net/keys/test-key1/77f57315bab34b0189daa113fbc78787",
            primaryUserAssignedIdentityId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity",
            type: "AzureKeyVault",
        },
        highAvailability: {
            mode: "ZoneRedundant",
        },
        identity: {
            type: "UserAssigned",
            userAssignedIdentities: {
                "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity": {},
            },
        },
        location: "westus",
        network: {
            delegatedSubnetResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
            privateDnsZoneArmResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com",
        },
        resourceGroupName: "testrg",
        serverName: "pgtestsvc4",
        sku: {
            name: "Standard_D4s_v3",
            tier: "GeneralPurpose",
        },
        storage: {
            storageSizeGB: 512,
        },
        tags: {
            ElasticServer: "1",
        },
        version: "12",
    });
    
    resources:
      server:
        type: azure-native:dbforpostgresql:Server
        properties:
          administratorLogin: cloudsa
          administratorLoginPassword: password
          availabilityZone: '1'
          backup:
            backupRetentionDays: 7
            geoRedundantBackup: Disabled
          createMode: Create
          dataEncryption:
            primaryKeyURI: https://test-kv.vault.azure.net/keys/test-key1/77f57315bab34b0189daa113fbc78787
            primaryUserAssignedIdentityId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity
            type: AzureKeyVault
          highAvailability:
            mode: ZoneRedundant
          identity:
            type: UserAssigned
            userAssignedIdentities:
              ? /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity
              : {}
          location: westus
          network:
            delegatedSubnetResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet
            privateDnsZoneArmResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com
          resourceGroupName: testrg
          serverName: pgtestsvc4
          sku:
            name: Standard_D4s_v3
            tier: GeneralPurpose
          storage:
            storageSizeGB: 512
          tags:
            ElasticServer: '1'
          version: '12'
    

    Create Server Resource

    new Server(name: string, args: ServerArgs, opts?: CustomResourceOptions);
    @overload
    def Server(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               administrator_login: Optional[str] = None,
               administrator_login_password: Optional[str] = None,
               auth_config: Optional[AuthConfigArgs] = None,
               availability_zone: Optional[str] = None,
               backup: Optional[BackupArgs] = None,
               create_mode: Optional[Union[str, CreateMode]] = None,
               data_encryption: Optional[DataEncryptionArgs] = None,
               high_availability: Optional[HighAvailabilityArgs] = None,
               identity: Optional[UserAssignedIdentityArgs] = None,
               location: Optional[str] = None,
               maintenance_window: Optional[MaintenanceWindowArgs] = None,
               network: Optional[NetworkArgs] = None,
               point_in_time_utc: Optional[str] = None,
               replication_role: Optional[Union[str, ReplicationRole]] = None,
               resource_group_name: Optional[str] = None,
               server_name: Optional[str] = None,
               sku: Optional[SkuArgs] = None,
               source_server_resource_id: Optional[str] = None,
               storage: Optional[StorageArgs] = None,
               tags: Optional[Mapping[str, str]] = None,
               version: Optional[Union[str, ServerVersion]] = None)
    @overload
    def Server(resource_name: str,
               args: ServerArgs,
               opts: Optional[ResourceOptions] = None)
    func NewServer(ctx *Context, name string, args ServerArgs, opts ...ResourceOption) (*Server, error)
    public Server(string name, ServerArgs args, CustomResourceOptions? opts = null)
    public Server(String name, ServerArgs args)
    public Server(String name, ServerArgs args, CustomResourceOptions options)
    
    type: azure-native:dbforpostgresql:Server
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Server Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Server resource accepts the following input properties:

    ResourceGroupName string

    The name of the resource group. The name is case insensitive.

    AdministratorLogin string

    The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).

    AdministratorLoginPassword string

    The administrator login password (required for server creation).

    AuthConfig Pulumi.AzureNative.DBforPostgreSQL.Inputs.AuthConfig

    AuthConfig properties of a server.

    AvailabilityZone string

    availability zone information of the server.

    Backup Pulumi.AzureNative.DBforPostgreSQL.Inputs.Backup

    Backup properties of a server.

    CreateMode string | Pulumi.AzureNative.DBforPostgreSQL.CreateMode

    The mode to create a new PostgreSQL server.

    DataEncryption Pulumi.AzureNative.DBforPostgreSQL.Inputs.DataEncryption

    Data encryption properties of a server.

    HighAvailability Pulumi.AzureNative.DBforPostgreSQL.Inputs.HighAvailability

    High availability properties of a server.

    Identity Pulumi.AzureNative.DBforPostgreSQL.Inputs.UserAssignedIdentity

    Describes the identity of the application.

    Location string

    The geo-location where the resource lives

    MaintenanceWindow Pulumi.AzureNative.DBforPostgreSQL.Inputs.MaintenanceWindow

    Maintenance window properties of a server.

    Network Pulumi.AzureNative.DBforPostgreSQL.Inputs.Network

    Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server.

    PointInTimeUTC string

    Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore'.

    ReplicationRole string | Pulumi.AzureNative.DBforPostgreSQL.ReplicationRole

    Replication role of the server

    ServerName string

    The name of the server.

    Sku Pulumi.AzureNative.DBforPostgreSQL.Inputs.Sku

    The SKU (pricing tier) of the server.

    SourceServerResourceId string

    The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. This property is returned only for Replica server

    Storage Pulumi.AzureNative.DBforPostgreSQL.Inputs.Storage

    Storage properties of a server.

    Tags Dictionary<string, string>

    Resource tags.

    Version string | Pulumi.AzureNative.DBforPostgreSQL.ServerVersion

    PostgreSQL Server version.

    ResourceGroupName string

    The name of the resource group. The name is case insensitive.

    AdministratorLogin string

    The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).

    AdministratorLoginPassword string

    The administrator login password (required for server creation).

    AuthConfig AuthConfigArgs

    AuthConfig properties of a server.

    AvailabilityZone string

    availability zone information of the server.

    Backup BackupArgs

    Backup properties of a server.

    CreateMode string | CreateMode

    The mode to create a new PostgreSQL server.

    DataEncryption DataEncryptionArgs

    Data encryption properties of a server.

    HighAvailability HighAvailabilityArgs

    High availability properties of a server.

    Identity UserAssignedIdentityArgs

    Describes the identity of the application.

    Location string

    The geo-location where the resource lives

    MaintenanceWindow MaintenanceWindowArgs

    Maintenance window properties of a server.

    Network NetworkArgs

    Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server.

    PointInTimeUTC string

    Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore'.

    ReplicationRole string | ReplicationRole

    Replication role of the server

    ServerName string

    The name of the server.

    Sku SkuArgs

    The SKU (pricing tier) of the server.

    SourceServerResourceId string

    The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. This property is returned only for Replica server

    Storage StorageArgs

    Storage properties of a server.

    Tags map[string]string

    Resource tags.

    Version string | ServerVersion

    PostgreSQL Server version.

    resourceGroupName String

    The name of the resource group. The name is case insensitive.

    administratorLogin String

    The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).

    administratorLoginPassword String

    The administrator login password (required for server creation).

    authConfig AuthConfig

    AuthConfig properties of a server.

    availabilityZone String

    availability zone information of the server.

    backup Backup

    Backup properties of a server.

    createMode String | CreateMode

    The mode to create a new PostgreSQL server.

    dataEncryption DataEncryption

    Data encryption properties of a server.

    highAvailability HighAvailability

    High availability properties of a server.

    identity UserAssignedIdentity

    Describes the identity of the application.

    location String

    The geo-location where the resource lives

    maintenanceWindow MaintenanceWindow

    Maintenance window properties of a server.

    network Network

    Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server.

    pointInTimeUTC String

    Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore'.

    replicationRole String | ReplicationRole

    Replication role of the server

    serverName String

    The name of the server.

    sku Sku

    The SKU (pricing tier) of the server.

    sourceServerResourceId String

    The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. This property is returned only for Replica server

    storage Storage

    Storage properties of a server.

    tags Map<String,String>

    Resource tags.

    version String | ServerVersion

    PostgreSQL Server version.

    resourceGroupName string

    The name of the resource group. The name is case insensitive.

    administratorLogin string

    The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).

    administratorLoginPassword string

    The administrator login password (required for server creation).

    authConfig AuthConfig

    AuthConfig properties of a server.

    availabilityZone string

    availability zone information of the server.

    backup Backup

    Backup properties of a server.

    createMode string | CreateMode

    The mode to create a new PostgreSQL server.

    dataEncryption DataEncryption

    Data encryption properties of a server.

    highAvailability HighAvailability

    High availability properties of a server.

    identity UserAssignedIdentity

    Describes the identity of the application.

    location string

    The geo-location where the resource lives

    maintenanceWindow MaintenanceWindow

    Maintenance window properties of a server.

    network Network

    Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server.

    pointInTimeUTC string

    Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore'.

    replicationRole string | ReplicationRole

    Replication role of the server

    serverName string

    The name of the server.

    sku Sku

    The SKU (pricing tier) of the server.

    sourceServerResourceId string

    The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. This property is returned only for Replica server

    storage Storage

    Storage properties of a server.

    tags {[key: string]: string}

    Resource tags.

    version string | ServerVersion

    PostgreSQL Server version.

    resource_group_name str

    The name of the resource group. The name is case insensitive.

    administrator_login str

    The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).

    administrator_login_password str

    The administrator login password (required for server creation).

    auth_config AuthConfigArgs

    AuthConfig properties of a server.

    availability_zone str

    availability zone information of the server.

    backup BackupArgs

    Backup properties of a server.

    create_mode str | CreateMode

    The mode to create a new PostgreSQL server.

    data_encryption DataEncryptionArgs

    Data encryption properties of a server.

    high_availability HighAvailabilityArgs

    High availability properties of a server.

    identity UserAssignedIdentityArgs

    Describes the identity of the application.

    location str

    The geo-location where the resource lives

    maintenance_window MaintenanceWindowArgs

    Maintenance window properties of a server.

    network NetworkArgs

    Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server.

    point_in_time_utc str

    Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore'.

    replication_role str | ReplicationRole

    Replication role of the server

    server_name str

    The name of the server.

    sku SkuArgs

    The SKU (pricing tier) of the server.

    source_server_resource_id str

    The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. This property is returned only for Replica server

    storage StorageArgs

    Storage properties of a server.

    tags Mapping[str, str]

    Resource tags.

    version str | ServerVersion

    PostgreSQL Server version.

    resourceGroupName String

    The name of the resource group. The name is case insensitive.

    administratorLogin String

    The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).

    administratorLoginPassword String

    The administrator login password (required for server creation).

    authConfig Property Map

    AuthConfig properties of a server.

    availabilityZone String

    availability zone information of the server.

    backup Property Map

    Backup properties of a server.

    createMode String | "Default" | "Create" | "Update" | "PointInTimeRestore" | "GeoRestore" | "Replica"

    The mode to create a new PostgreSQL server.

    dataEncryption Property Map

    Data encryption properties of a server.

    highAvailability Property Map

    High availability properties of a server.

    identity Property Map

    Describes the identity of the application.

    location String

    The geo-location where the resource lives

    maintenanceWindow Property Map

    Maintenance window properties of a server.

    network Property Map

    Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server.

    pointInTimeUTC String

    Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore'.

    replicationRole String | "None" | "Primary" | "AsyncReplica" | "GeoAsyncReplica"

    Replication role of the server

    serverName String

    The name of the server.

    sku Property Map

    The SKU (pricing tier) of the server.

    sourceServerResourceId String

    The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. This property is returned only for Replica server

    storage Property Map

    Storage properties of a server.

    tags Map<String>

    Resource tags.

    version String | "14" | "13" | "12" | "11"

    PostgreSQL Server version.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Server resource produces the following output properties:

    FullyQualifiedDomainName string

    The fully qualified domain name of a server.

    Id string

    The provider-assigned unique ID for this managed resource.

    MinorVersion string

    The minor version of the server.

    Name string

    The name of the resource

    ReplicaCapacity int

    Replicas allowed for a server.

    State string

    A state of a server that is visible to user.

    SystemData Pulumi.AzureNative.DBforPostgreSQL.Outputs.SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    Type string

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    FullyQualifiedDomainName string

    The fully qualified domain name of a server.

    Id string

    The provider-assigned unique ID for this managed resource.

    MinorVersion string

    The minor version of the server.

    Name string

    The name of the resource

    ReplicaCapacity int

    Replicas allowed for a server.

    State string

    A state of a server that is visible to user.

    SystemData SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    Type string

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    fullyQualifiedDomainName String

    The fully qualified domain name of a server.

    id String

    The provider-assigned unique ID for this managed resource.

    minorVersion String

    The minor version of the server.

    name String

    The name of the resource

    replicaCapacity Integer

    Replicas allowed for a server.

    state String

    A state of a server that is visible to user.

    systemData SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type String

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    fullyQualifiedDomainName string

    The fully qualified domain name of a server.

    id string

    The provider-assigned unique ID for this managed resource.

    minorVersion string

    The minor version of the server.

    name string

    The name of the resource

    replicaCapacity number

    Replicas allowed for a server.

    state string

    A state of a server that is visible to user.

    systemData SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type string

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    fully_qualified_domain_name str

    The fully qualified domain name of a server.

    id str

    The provider-assigned unique ID for this managed resource.

    minor_version str

    The minor version of the server.

    name str

    The name of the resource

    replica_capacity int

    Replicas allowed for a server.

    state str

    A state of a server that is visible to user.

    system_data SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type str

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    fullyQualifiedDomainName String

    The fully qualified domain name of a server.

    id String

    The provider-assigned unique ID for this managed resource.

    minorVersion String

    The minor version of the server.

    name String

    The name of the resource

    replicaCapacity Number

    Replicas allowed for a server.

    state String

    A state of a server that is visible to user.

    systemData Property Map

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type String

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    ActiveDirectoryAuthEnum, ActiveDirectoryAuthEnumArgs

    Enabled
    Enabled
    Disabled
    Disabled
    ActiveDirectoryAuthEnumEnabled
    Enabled
    ActiveDirectoryAuthEnumDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    ArmServerKeyType, ArmServerKeyTypeArgs

    SystemManaged
    SystemManaged
    AzureKeyVault
    AzureKeyVault
    ArmServerKeyTypeSystemManaged
    SystemManaged
    ArmServerKeyTypeAzureKeyVault
    AzureKeyVault
    SystemManaged
    SystemManaged
    AzureKeyVault
    AzureKeyVault
    SystemManaged
    SystemManaged
    AzureKeyVault
    AzureKeyVault
    SYSTEM_MANAGED
    SystemManaged
    AZURE_KEY_VAULT
    AzureKeyVault
    "SystemManaged"
    SystemManaged
    "AzureKeyVault"
    AzureKeyVault

    AuthConfig, AuthConfigArgs

    ActiveDirectoryAuth string | Pulumi.AzureNative.DBforPostgreSQL.ActiveDirectoryAuthEnum

    If Enabled, Azure Active Directory authentication is enabled.

    PasswordAuth string | Pulumi.AzureNative.DBforPostgreSQL.PasswordAuthEnum

    If Enabled, Password authentication is enabled.

    TenantId string

    Tenant id of the server.

    ActiveDirectoryAuth string | ActiveDirectoryAuthEnum

    If Enabled, Azure Active Directory authentication is enabled.

    PasswordAuth string | PasswordAuthEnum

    If Enabled, Password authentication is enabled.

    TenantId string

    Tenant id of the server.

    activeDirectoryAuth String | ActiveDirectoryAuthEnum

    If Enabled, Azure Active Directory authentication is enabled.

    passwordAuth String | PasswordAuthEnum

    If Enabled, Password authentication is enabled.

    tenantId String

    Tenant id of the server.

    activeDirectoryAuth string | ActiveDirectoryAuthEnum

    If Enabled, Azure Active Directory authentication is enabled.

    passwordAuth string | PasswordAuthEnum

    If Enabled, Password authentication is enabled.

    tenantId string

    Tenant id of the server.

    active_directory_auth str | ActiveDirectoryAuthEnum

    If Enabled, Azure Active Directory authentication is enabled.

    password_auth str | PasswordAuthEnum

    If Enabled, Password authentication is enabled.

    tenant_id str

    Tenant id of the server.

    activeDirectoryAuth String | "Enabled" | "Disabled"

    If Enabled, Azure Active Directory authentication is enabled.

    passwordAuth String | "Enabled" | "Disabled"

    If Enabled, Password authentication is enabled.

    tenantId String

    Tenant id of the server.

    AuthConfigResponse, AuthConfigResponseArgs

    ActiveDirectoryAuth string

    If Enabled, Azure Active Directory authentication is enabled.

    PasswordAuth string

    If Enabled, Password authentication is enabled.

    TenantId string

    Tenant id of the server.

    ActiveDirectoryAuth string

    If Enabled, Azure Active Directory authentication is enabled.

    PasswordAuth string

    If Enabled, Password authentication is enabled.

    TenantId string

    Tenant id of the server.

    activeDirectoryAuth String

    If Enabled, Azure Active Directory authentication is enabled.

    passwordAuth String

    If Enabled, Password authentication is enabled.

    tenantId String

    Tenant id of the server.

    activeDirectoryAuth string

    If Enabled, Azure Active Directory authentication is enabled.

    passwordAuth string

    If Enabled, Password authentication is enabled.

    tenantId string

    Tenant id of the server.

    active_directory_auth str

    If Enabled, Azure Active Directory authentication is enabled.

    password_auth str

    If Enabled, Password authentication is enabled.

    tenant_id str

    Tenant id of the server.

    activeDirectoryAuth String

    If Enabled, Azure Active Directory authentication is enabled.

    passwordAuth String

    If Enabled, Password authentication is enabled.

    tenantId String

    Tenant id of the server.

    Backup, BackupArgs

    BackupRetentionDays int

    Backup retention days for the server.

    GeoRedundantBackup string | Pulumi.AzureNative.DBforPostgreSQL.GeoRedundantBackupEnum

    A value indicating whether Geo-Redundant backup is enabled on the server.

    BackupRetentionDays int

    Backup retention days for the server.

    GeoRedundantBackup string | GeoRedundantBackupEnum

    A value indicating whether Geo-Redundant backup is enabled on the server.

    backupRetentionDays Integer

    Backup retention days for the server.

    geoRedundantBackup String | GeoRedundantBackupEnum

    A value indicating whether Geo-Redundant backup is enabled on the server.

    backupRetentionDays number

    Backup retention days for the server.

    geoRedundantBackup string | GeoRedundantBackupEnum

    A value indicating whether Geo-Redundant backup is enabled on the server.

    backup_retention_days int

    Backup retention days for the server.

    geo_redundant_backup str | GeoRedundantBackupEnum

    A value indicating whether Geo-Redundant backup is enabled on the server.

    backupRetentionDays Number

    Backup retention days for the server.

    geoRedundantBackup String | "Enabled" | "Disabled"

    A value indicating whether Geo-Redundant backup is enabled on the server.

    BackupResponse, BackupResponseArgs

    EarliestRestoreDate string

    The earliest restore point time (ISO8601 format) for server.

    BackupRetentionDays int

    Backup retention days for the server.

    GeoRedundantBackup string

    A value indicating whether Geo-Redundant backup is enabled on the server.

    EarliestRestoreDate string

    The earliest restore point time (ISO8601 format) for server.

    BackupRetentionDays int

    Backup retention days for the server.

    GeoRedundantBackup string

    A value indicating whether Geo-Redundant backup is enabled on the server.

    earliestRestoreDate String

    The earliest restore point time (ISO8601 format) for server.

    backupRetentionDays Integer

    Backup retention days for the server.

    geoRedundantBackup String

    A value indicating whether Geo-Redundant backup is enabled on the server.

    earliestRestoreDate string

    The earliest restore point time (ISO8601 format) for server.

    backupRetentionDays number

    Backup retention days for the server.

    geoRedundantBackup string

    A value indicating whether Geo-Redundant backup is enabled on the server.

    earliest_restore_date str

    The earliest restore point time (ISO8601 format) for server.

    backup_retention_days int

    Backup retention days for the server.

    geo_redundant_backup str

    A value indicating whether Geo-Redundant backup is enabled on the server.

    earliestRestoreDate String

    The earliest restore point time (ISO8601 format) for server.

    backupRetentionDays Number

    Backup retention days for the server.

    geoRedundantBackup String

    A value indicating whether Geo-Redundant backup is enabled on the server.

    CreateMode, CreateModeArgs

    Default
    Default
    Create
    Create
    Update
    Update
    PointInTimeRestore
    PointInTimeRestore
    GeoRestore
    GeoRestore
    Replica
    Replica
    CreateModeDefault
    Default
    CreateModeCreate
    Create
    CreateModeUpdate
    Update
    CreateModePointInTimeRestore
    PointInTimeRestore
    CreateModeGeoRestore
    GeoRestore
    CreateModeReplica
    Replica
    Default
    Default
    Create
    Create
    Update
    Update
    PointInTimeRestore
    PointInTimeRestore
    GeoRestore
    GeoRestore
    Replica
    Replica
    Default
    Default
    Create
    Create
    Update
    Update
    PointInTimeRestore
    PointInTimeRestore
    GeoRestore
    GeoRestore
    Replica
    Replica
    DEFAULT
    Default
    CREATE
    Create
    UPDATE
    Update
    POINT_IN_TIME_RESTORE
    PointInTimeRestore
    GEO_RESTORE
    GeoRestore
    REPLICA
    Replica
    "Default"
    Default
    "Create"
    Create
    "Update"
    Update
    "PointInTimeRestore"
    PointInTimeRestore
    "GeoRestore"
    GeoRestore
    "Replica"
    Replica

    DataEncryption, DataEncryptionArgs

    PrimaryKeyURI string

    URI for the key for data encryption for primary server.

    PrimaryUserAssignedIdentityId string

    Resource Id for the User assigned identity to be used for data encryption for primary server.

    Type string | Pulumi.AzureNative.DBforPostgreSQL.ArmServerKeyType

    Data encryption type to depict if it is System Managed vs Azure Key vault.

    PrimaryKeyURI string

    URI for the key for data encryption for primary server.

    PrimaryUserAssignedIdentityId string

    Resource Id for the User assigned identity to be used for data encryption for primary server.

    Type string | ArmServerKeyType

    Data encryption type to depict if it is System Managed vs Azure Key vault.

    primaryKeyURI String

    URI for the key for data encryption for primary server.

    primaryUserAssignedIdentityId String

    Resource Id for the User assigned identity to be used for data encryption for primary server.

    type String | ArmServerKeyType

    Data encryption type to depict if it is System Managed vs Azure Key vault.

    primaryKeyURI string

    URI for the key for data encryption for primary server.

    primaryUserAssignedIdentityId string

    Resource Id for the User assigned identity to be used for data encryption for primary server.

    type string | ArmServerKeyType

    Data encryption type to depict if it is System Managed vs Azure Key vault.

    primary_key_uri str

    URI for the key for data encryption for primary server.

    primary_user_assigned_identity_id str

    Resource Id for the User assigned identity to be used for data encryption for primary server.

    type str | ArmServerKeyType

    Data encryption type to depict if it is System Managed vs Azure Key vault.

    primaryKeyURI String

    URI for the key for data encryption for primary server.

    primaryUserAssignedIdentityId String

    Resource Id for the User assigned identity to be used for data encryption for primary server.

    type String | "SystemManaged" | "AzureKeyVault"

    Data encryption type to depict if it is System Managed vs Azure Key vault.

    DataEncryptionResponse, DataEncryptionResponseArgs

    PrimaryKeyURI string

    URI for the key for data encryption for primary server.

    PrimaryUserAssignedIdentityId string

    Resource Id for the User assigned identity to be used for data encryption for primary server.

    Type string

    Data encryption type to depict if it is System Managed vs Azure Key vault.

    PrimaryKeyURI string

    URI for the key for data encryption for primary server.

    PrimaryUserAssignedIdentityId string

    Resource Id for the User assigned identity to be used for data encryption for primary server.

    Type string

    Data encryption type to depict if it is System Managed vs Azure Key vault.

    primaryKeyURI String

    URI for the key for data encryption for primary server.

    primaryUserAssignedIdentityId String

    Resource Id for the User assigned identity to be used for data encryption for primary server.

    type String

    Data encryption type to depict if it is System Managed vs Azure Key vault.

    primaryKeyURI string

    URI for the key for data encryption for primary server.

    primaryUserAssignedIdentityId string

    Resource Id for the User assigned identity to be used for data encryption for primary server.

    type string

    Data encryption type to depict if it is System Managed vs Azure Key vault.

    primary_key_uri str

    URI for the key for data encryption for primary server.

    primary_user_assigned_identity_id str

    Resource Id for the User assigned identity to be used for data encryption for primary server.

    type str

    Data encryption type to depict if it is System Managed vs Azure Key vault.

    primaryKeyURI String

    URI for the key for data encryption for primary server.

    primaryUserAssignedIdentityId String

    Resource Id for the User assigned identity to be used for data encryption for primary server.

    type String

    Data encryption type to depict if it is System Managed vs Azure Key vault.

    GeoRedundantBackupEnum, GeoRedundantBackupEnumArgs

    Enabled
    Enabled
    Disabled
    Disabled
    GeoRedundantBackupEnumEnabled
    Enabled
    GeoRedundantBackupEnumDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    HighAvailability, HighAvailabilityArgs

    Mode string | Pulumi.AzureNative.DBforPostgreSQL.HighAvailabilityMode

    The HA mode for the server.

    StandbyAvailabilityZone string

    availability zone information of the standby.

    Mode string | HighAvailabilityMode

    The HA mode for the server.

    StandbyAvailabilityZone string

    availability zone information of the standby.

    mode String | HighAvailabilityMode

    The HA mode for the server.

    standbyAvailabilityZone String

    availability zone information of the standby.

    mode string | HighAvailabilityMode

    The HA mode for the server.

    standbyAvailabilityZone string

    availability zone information of the standby.

    mode str | HighAvailabilityMode

    The HA mode for the server.

    standby_availability_zone str

    availability zone information of the standby.

    mode String | "Disabled" | "ZoneRedundant" | "SameZone"

    The HA mode for the server.

    standbyAvailabilityZone String

    availability zone information of the standby.

    HighAvailabilityMode, HighAvailabilityModeArgs

    Disabled
    Disabled
    ZoneRedundant
    ZoneRedundant
    SameZone
    SameZone
    HighAvailabilityModeDisabled
    Disabled
    HighAvailabilityModeZoneRedundant
    ZoneRedundant
    HighAvailabilityModeSameZone
    SameZone
    Disabled
    Disabled
    ZoneRedundant
    ZoneRedundant
    SameZone
    SameZone
    Disabled
    Disabled
    ZoneRedundant
    ZoneRedundant
    SameZone
    SameZone
    DISABLED
    Disabled
    ZONE_REDUNDANT
    ZoneRedundant
    SAME_ZONE
    SameZone
    "Disabled"
    Disabled
    "ZoneRedundant"
    ZoneRedundant
    "SameZone"
    SameZone

    HighAvailabilityResponse, HighAvailabilityResponseArgs

    State string

    A state of a HA server that is visible to user.

    Mode string

    The HA mode for the server.

    StandbyAvailabilityZone string

    availability zone information of the standby.

    State string

    A state of a HA server that is visible to user.

    Mode string

    The HA mode for the server.

    StandbyAvailabilityZone string

    availability zone information of the standby.

    state String

    A state of a HA server that is visible to user.

    mode String

    The HA mode for the server.

    standbyAvailabilityZone String

    availability zone information of the standby.

    state string

    A state of a HA server that is visible to user.

    mode string

    The HA mode for the server.

    standbyAvailabilityZone string

    availability zone information of the standby.

    state str

    A state of a HA server that is visible to user.

    mode str

    The HA mode for the server.

    standby_availability_zone str

    availability zone information of the standby.

    state String

    A state of a HA server that is visible to user.

    mode String

    The HA mode for the server.

    standbyAvailabilityZone String

    availability zone information of the standby.

    IdentityType, IdentityTypeArgs

    None
    None
    UserAssigned
    UserAssigned
    IdentityTypeNone
    None
    IdentityTypeUserAssigned
    UserAssigned
    None
    None
    UserAssigned
    UserAssigned
    None
    None
    UserAssigned
    UserAssigned
    NONE
    None
    USER_ASSIGNED
    UserAssigned
    "None"
    None
    "UserAssigned"
    UserAssigned

    MaintenanceWindow, MaintenanceWindowArgs

    CustomWindow string

    indicates whether custom window is enabled or disabled

    DayOfWeek int

    day of week for maintenance window

    StartHour int

    start hour for maintenance window

    StartMinute int

    start minute for maintenance window

    CustomWindow string

    indicates whether custom window is enabled or disabled

    DayOfWeek int

    day of week for maintenance window

    StartHour int

    start hour for maintenance window

    StartMinute int

    start minute for maintenance window

    customWindow String

    indicates whether custom window is enabled or disabled

    dayOfWeek Integer

    day of week for maintenance window

    startHour Integer

    start hour for maintenance window

    startMinute Integer

    start minute for maintenance window

    customWindow string

    indicates whether custom window is enabled or disabled

    dayOfWeek number

    day of week for maintenance window

    startHour number

    start hour for maintenance window

    startMinute number

    start minute for maintenance window

    custom_window str

    indicates whether custom window is enabled or disabled

    day_of_week int

    day of week for maintenance window

    start_hour int

    start hour for maintenance window

    start_minute int

    start minute for maintenance window

    customWindow String

    indicates whether custom window is enabled or disabled

    dayOfWeek Number

    day of week for maintenance window

    startHour Number

    start hour for maintenance window

    startMinute Number

    start minute for maintenance window

    MaintenanceWindowResponse, MaintenanceWindowResponseArgs

    CustomWindow string

    indicates whether custom window is enabled or disabled

    DayOfWeek int

    day of week for maintenance window

    StartHour int

    start hour for maintenance window

    StartMinute int

    start minute for maintenance window

    CustomWindow string

    indicates whether custom window is enabled or disabled

    DayOfWeek int

    day of week for maintenance window

    StartHour int

    start hour for maintenance window

    StartMinute int

    start minute for maintenance window

    customWindow String

    indicates whether custom window is enabled or disabled

    dayOfWeek Integer

    day of week for maintenance window

    startHour Integer

    start hour for maintenance window

    startMinute Integer

    start minute for maintenance window

    customWindow string

    indicates whether custom window is enabled or disabled

    dayOfWeek number

    day of week for maintenance window

    startHour number

    start hour for maintenance window

    startMinute number

    start minute for maintenance window

    custom_window str

    indicates whether custom window is enabled or disabled

    day_of_week int

    day of week for maintenance window

    start_hour int

    start hour for maintenance window

    start_minute int

    start minute for maintenance window

    customWindow String

    indicates whether custom window is enabled or disabled

    dayOfWeek Number

    day of week for maintenance window

    startHour Number

    start hour for maintenance window

    startMinute Number

    start minute for maintenance window

    Network, NetworkArgs

    DelegatedSubnetResourceId string

    Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    PrivateDnsZoneArmResourceId string

    Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    DelegatedSubnetResourceId string

    Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    PrivateDnsZoneArmResourceId string

    Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    delegatedSubnetResourceId String

    Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    privateDnsZoneArmResourceId String

    Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    delegatedSubnetResourceId string

    Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    privateDnsZoneArmResourceId string

    Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    delegated_subnet_resource_id str

    Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    private_dns_zone_arm_resource_id str

    Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    delegatedSubnetResourceId String

    Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    privateDnsZoneArmResourceId String

    Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    NetworkResponse, NetworkResponseArgs

    PublicNetworkAccess string

    public network access is enabled or not

    DelegatedSubnetResourceId string

    Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    PrivateDnsZoneArmResourceId string

    Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    PublicNetworkAccess string

    public network access is enabled or not

    DelegatedSubnetResourceId string

    Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    PrivateDnsZoneArmResourceId string

    Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    publicNetworkAccess String

    public network access is enabled or not

    delegatedSubnetResourceId String

    Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    privateDnsZoneArmResourceId String

    Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    publicNetworkAccess string

    public network access is enabled or not

    delegatedSubnetResourceId string

    Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    privateDnsZoneArmResourceId string

    Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    public_network_access str

    public network access is enabled or not

    delegated_subnet_resource_id str

    Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    private_dns_zone_arm_resource_id str

    Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    publicNetworkAccess String

    public network access is enabled or not

    delegatedSubnetResourceId String

    Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    privateDnsZoneArmResourceId String

    Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.

    PasswordAuthEnum, PasswordAuthEnumArgs

    Enabled
    Enabled
    Disabled
    Disabled
    PasswordAuthEnumEnabled
    Enabled
    PasswordAuthEnumDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    ReplicationRole, ReplicationRoleArgs

    None
    None
    Primary
    Primary
    AsyncReplica
    AsyncReplica
    GeoAsyncReplica
    GeoAsyncReplica
    ReplicationRoleNone
    None
    ReplicationRolePrimary
    Primary
    ReplicationRoleAsyncReplica
    AsyncReplica
    ReplicationRoleGeoAsyncReplica
    GeoAsyncReplica
    None
    None
    Primary
    Primary
    AsyncReplica
    AsyncReplica
    GeoAsyncReplica
    GeoAsyncReplica
    None
    None
    Primary
    Primary
    AsyncReplica
    AsyncReplica
    GeoAsyncReplica
    GeoAsyncReplica
    NONE
    None
    PRIMARY
    Primary
    ASYNC_REPLICA
    AsyncReplica
    GEO_ASYNC_REPLICA
    GeoAsyncReplica
    "None"
    None
    "Primary"
    Primary
    "AsyncReplica"
    AsyncReplica
    "GeoAsyncReplica"
    GeoAsyncReplica

    ServerVersion, ServerVersionArgs

    ServerVersion_14
    14
    ServerVersion_13
    13
    ServerVersion_12
    12
    ServerVersion_11
    11
    ServerVersion_14
    14
    ServerVersion_13
    13
    ServerVersion_12
    12
    ServerVersion_11
    11
    _14
    14
    _13
    13
    _12
    12
    _11
    11
    ServerVersion_14
    14
    ServerVersion_13
    13
    ServerVersion_12
    12
    ServerVersion_11
    11
    SERVER_VERSION_14
    14
    SERVER_VERSION_13
    13
    SERVER_VERSION_12
    12
    SERVER_VERSION_11
    11
    "14"
    14
    "13"
    13
    "12"
    12
    "11"
    11

    Sku, SkuArgs

    Name string

    The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

    Tier string | Pulumi.AzureNative.DBforPostgreSQL.SkuTier

    The tier of the particular SKU, e.g. Burstable.

    Name string

    The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

    Tier string | SkuTier

    The tier of the particular SKU, e.g. Burstable.

    name String

    The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

    tier String | SkuTier

    The tier of the particular SKU, e.g. Burstable.

    name string

    The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

    tier string | SkuTier

    The tier of the particular SKU, e.g. Burstable.

    name str

    The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

    tier str | SkuTier

    The tier of the particular SKU, e.g. Burstable.

    name String

    The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

    tier String | "Burstable" | "GeneralPurpose" | "MemoryOptimized"

    The tier of the particular SKU, e.g. Burstable.

    SkuResponse, SkuResponseArgs

    Name string

    The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

    Tier string

    The tier of the particular SKU, e.g. Burstable.

    Name string

    The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

    Tier string

    The tier of the particular SKU, e.g. Burstable.

    name String

    The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

    tier String

    The tier of the particular SKU, e.g. Burstable.

    name string

    The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

    tier string

    The tier of the particular SKU, e.g. Burstable.

    name str

    The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

    tier str

    The tier of the particular SKU, e.g. Burstable.

    name String

    The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.

    tier String

    The tier of the particular SKU, e.g. Burstable.

    SkuTier, SkuTierArgs

    Burstable
    Burstable
    GeneralPurpose
    GeneralPurpose
    MemoryOptimized
    MemoryOptimized
    SkuTierBurstable
    Burstable
    SkuTierGeneralPurpose
    GeneralPurpose
    SkuTierMemoryOptimized
    MemoryOptimized
    Burstable
    Burstable
    GeneralPurpose
    GeneralPurpose
    MemoryOptimized
    MemoryOptimized
    Burstable
    Burstable
    GeneralPurpose
    GeneralPurpose
    MemoryOptimized
    MemoryOptimized
    BURSTABLE
    Burstable
    GENERAL_PURPOSE
    GeneralPurpose
    MEMORY_OPTIMIZED
    MemoryOptimized
    "Burstable"
    Burstable
    "GeneralPurpose"
    GeneralPurpose
    "MemoryOptimized"
    MemoryOptimized

    Storage, StorageArgs

    StorageSizeGB int

    Max storage allowed for a server.

    StorageSizeGB int

    Max storage allowed for a server.

    storageSizeGB Integer

    Max storage allowed for a server.

    storageSizeGB number

    Max storage allowed for a server.

    storage_size_gb int

    Max storage allowed for a server.

    storageSizeGB Number

    Max storage allowed for a server.

    StorageResponse, StorageResponseArgs

    StorageSizeGB int

    Max storage allowed for a server.

    StorageSizeGB int

    Max storage allowed for a server.

    storageSizeGB Integer

    Max storage allowed for a server.

    storageSizeGB number

    Max storage allowed for a server.

    storage_size_gb int

    Max storage allowed for a server.

    storageSizeGB Number

    Max storage allowed for a server.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string

    The type of identity that created the resource.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string

    The type of identity that last modified the resource.

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string

    The type of identity that created the resource.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string

    The type of identity that last modified the resource.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String

    The type of identity that created the resource.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String

    The type of identity that last modified the resource.

    createdAt string

    The timestamp of resource creation (UTC).

    createdBy string

    The identity that created the resource.

    createdByType string

    The type of identity that created the resource.

    lastModifiedAt string

    The timestamp of resource last modification (UTC)

    lastModifiedBy string

    The identity that last modified the resource.

    lastModifiedByType string

    The type of identity that last modified the resource.

    created_at str

    The timestamp of resource creation (UTC).

    created_by str

    The identity that created the resource.

    created_by_type str

    The type of identity that created the resource.

    last_modified_at str

    The timestamp of resource last modification (UTC)

    last_modified_by str

    The identity that last modified the resource.

    last_modified_by_type str

    The type of identity that last modified the resource.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String

    The type of identity that created the resource.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String

    The type of identity that last modified the resource.

    UserAssignedIdentity, UserAssignedIdentityArgs

    Type string | Pulumi.AzureNative.DBforPostgreSQL.IdentityType

    the types of identities associated with this resource; currently restricted to 'None and UserAssigned'

    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.DBforPostgreSQL.Inputs.UserIdentity>

    represents user assigned identities map.

    Type string | IdentityType

    the types of identities associated with this resource; currently restricted to 'None and UserAssigned'

    UserAssignedIdentities map[string]UserIdentity

    represents user assigned identities map.

    type String | IdentityType

    the types of identities associated with this resource; currently restricted to 'None and UserAssigned'

    userAssignedIdentities Map<String,UserIdentity>

    represents user assigned identities map.

    type string | IdentityType

    the types of identities associated with this resource; currently restricted to 'None and UserAssigned'

    userAssignedIdentities {[key: string]: UserIdentity}

    represents user assigned identities map.

    type str | IdentityType

    the types of identities associated with this resource; currently restricted to 'None and UserAssigned'

    user_assigned_identities Mapping[str, UserIdentity]

    represents user assigned identities map.

    type String | "None" | "UserAssigned"

    the types of identities associated with this resource; currently restricted to 'None and UserAssigned'

    userAssignedIdentities Map<Property Map>

    represents user assigned identities map.

    UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs

    TenantId string

    Tenant id of the server.

    Type string

    the types of identities associated with this resource; currently restricted to 'None and UserAssigned'

    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.DBforPostgreSQL.Inputs.UserIdentityResponse>

    represents user assigned identities map.

    TenantId string

    Tenant id of the server.

    Type string

    the types of identities associated with this resource; currently restricted to 'None and UserAssigned'

    UserAssignedIdentities map[string]UserIdentityResponse

    represents user assigned identities map.

    tenantId String

    Tenant id of the server.

    type String

    the types of identities associated with this resource; currently restricted to 'None and UserAssigned'

    userAssignedIdentities Map<String,UserIdentityResponse>

    represents user assigned identities map.

    tenantId string

    Tenant id of the server.

    type string

    the types of identities associated with this resource; currently restricted to 'None and UserAssigned'

    userAssignedIdentities {[key: string]: UserIdentityResponse}

    represents user assigned identities map.

    tenant_id str

    Tenant id of the server.

    type str

    the types of identities associated with this resource; currently restricted to 'None and UserAssigned'

    user_assigned_identities Mapping[str, UserIdentityResponse]

    represents user assigned identities map.

    tenantId String

    Tenant id of the server.

    type String

    the types of identities associated with this resource; currently restricted to 'None and UserAssigned'

    userAssignedIdentities Map<Property Map>

    represents user assigned identities map.

    UserIdentity, UserIdentityArgs

    ClientId string

    the client identifier of the Service Principal which this identity represents.

    PrincipalId string

    the object identifier of the Service Principal which this identity represents.

    ClientId string

    the client identifier of the Service Principal which this identity represents.

    PrincipalId string

    the object identifier of the Service Principal which this identity represents.

    clientId String

    the client identifier of the Service Principal which this identity represents.

    principalId String

    the object identifier of the Service Principal which this identity represents.

    clientId string

    the client identifier of the Service Principal which this identity represents.

    principalId string

    the object identifier of the Service Principal which this identity represents.

    client_id str

    the client identifier of the Service Principal which this identity represents.

    principal_id str

    the object identifier of the Service Principal which this identity represents.

    clientId String

    the client identifier of the Service Principal which this identity represents.

    principalId String

    the object identifier of the Service Principal which this identity represents.

    UserIdentityResponse, UserIdentityResponseArgs

    ClientId string

    the client identifier of the Service Principal which this identity represents.

    PrincipalId string

    the object identifier of the Service Principal which this identity represents.

    ClientId string

    the client identifier of the Service Principal which this identity represents.

    PrincipalId string

    the object identifier of the Service Principal which this identity represents.

    clientId String

    the client identifier of the Service Principal which this identity represents.

    principalId String

    the object identifier of the Service Principal which this identity represents.

    clientId string

    the client identifier of the Service Principal which this identity represents.

    principalId string

    the object identifier of the Service Principal which this identity represents.

    client_id str

    the client identifier of the Service Principal which this identity represents.

    principal_id str

    the object identifier of the Service Principal which this identity represents.

    clientId String

    the client identifier of the Service Principal which this identity represents.

    principalId String

    the object identifier of the Service Principal which this identity represents.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:dbforpostgresql:Server pgtestsvc4 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.20.1 published on Friday, Dec 1, 2023 by Pulumi