1. Packages
  2. Azure Native
  3. API Docs
  4. dbforpostgresql
  5. ServerGroupCluster
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.8.0 published on Wednesday, Sep 3, 2025 by Pulumi

azure-native.dbforpostgresql.ServerGroupCluster

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.8.0 published on Wednesday, Sep 3, 2025 by Pulumi

    Represents a cluster.

    Uses Azure REST API version 2023-03-02-preview.

    Other available API versions: 2022-11-08. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dbforpostgresql [ApiVersion]. See the version guide for details.

    Example Usage

    Create a new cluster as a point in time restore

    Code snippet for C# available in the adjacent code block.
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var serverGroupCluster = new AzureNative.DBforPostgreSQL.ServerGroupCluster("serverGroupCluster", new()
        {
            ClusterName = "testcluster",
            Location = "westus",
            PointInTimeUTC = "2017-12-14T00:00:37.467Z",
            ResourceGroupName = "TestGroup",
            SourceLocation = "westus",
            SourceResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/source-cluster",
        });
    
    });
    
    Code snippet for Go available in the adjacent code block.
    package main
    
    import (
    	dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServerGroupCluster(ctx, "serverGroupCluster", &dbforpostgresql.ServerGroupClusterArgs{
    			ClusterName:       pulumi.String("testcluster"),
    			Location:          pulumi.String("westus"),
    			PointInTimeUTC:    pulumi.String("2017-12-14T00:00:37.467Z"),
    			ResourceGroupName: pulumi.String("TestGroup"),
    			SourceLocation:    pulumi.String("westus"),
    			SourceResourceId:  pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/source-cluster"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    Code snippet for Java available in the adjacent code block.
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupCluster;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupClusterArgs;
    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 serverGroupCluster = new ServerGroupCluster("serverGroupCluster", ServerGroupClusterArgs.builder()
                .clusterName("testcluster")
                .location("westus")
                .pointInTimeUTC("2017-12-14T00:00:37.467Z")
                .resourceGroupName("TestGroup")
                .sourceLocation("westus")
                .sourceResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/source-cluster")
                .build());
    
        }
    }
    
    Code snippet for TypeScript available in the adjacent code block.
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const serverGroupCluster = new azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster", {
        clusterName: "testcluster",
        location: "westus",
        pointInTimeUTC: "2017-12-14T00:00:37.467Z",
        resourceGroupName: "TestGroup",
        sourceLocation: "westus",
        sourceResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/source-cluster",
    });
    
    Code snippet for Python available in the adjacent code block.
    import pulumi
    import pulumi_azure_native as azure_native
    
    server_group_cluster = azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster",
        cluster_name="testcluster",
        location="westus",
        point_in_time_utc="2017-12-14T00:00:37.467Z",
        resource_group_name="TestGroup",
        source_location="westus",
        source_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/source-cluster")
    
    Code snippet for YAML available in the adjacent code block.
    resources:
      serverGroupCluster:
        type: azure-native:dbforpostgresql:ServerGroupCluster
        properties:
          clusterName: testcluster
          location: westus
          pointInTimeUTC: 2017-12-14T00:00:37.467Z
          resourceGroupName: TestGroup
          sourceLocation: westus
          sourceResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/source-cluster
    

    Create a new cluster as a read replica

    Code snippet for C# available in the adjacent code block.
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var serverGroupCluster = new AzureNative.DBforPostgreSQL.ServerGroupCluster("serverGroupCluster", new()
        {
            ClusterName = "testcluster",
            Location = "westus",
            ResourceGroupName = "TestGroup",
            SourceLocation = "westus",
            SourceResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/sourcecluster",
        });
    
    });
    
    Code snippet for Go available in the adjacent code block.
    package main
    
    import (
    	dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServerGroupCluster(ctx, "serverGroupCluster", &dbforpostgresql.ServerGroupClusterArgs{
    			ClusterName:       pulumi.String("testcluster"),
    			Location:          pulumi.String("westus"),
    			ResourceGroupName: pulumi.String("TestGroup"),
    			SourceLocation:    pulumi.String("westus"),
    			SourceResourceId:  pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/sourcecluster"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    Code snippet for Java available in the adjacent code block.
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupCluster;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupClusterArgs;
    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 serverGroupCluster = new ServerGroupCluster("serverGroupCluster", ServerGroupClusterArgs.builder()
                .clusterName("testcluster")
                .location("westus")
                .resourceGroupName("TestGroup")
                .sourceLocation("westus")
                .sourceResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/sourcecluster")
                .build());
    
        }
    }
    
    Code snippet for TypeScript available in the adjacent code block.
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const serverGroupCluster = new azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster", {
        clusterName: "testcluster",
        location: "westus",
        resourceGroupName: "TestGroup",
        sourceLocation: "westus",
        sourceResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/sourcecluster",
    });
    
    Code snippet for Python available in the adjacent code block.
    import pulumi
    import pulumi_azure_native as azure_native
    
    server_group_cluster = azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster",
        cluster_name="testcluster",
        location="westus",
        resource_group_name="TestGroup",
        source_location="westus",
        source_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/sourcecluster")
    
    Code snippet for YAML available in the adjacent code block.
    resources:
      serverGroupCluster:
        type: azure-native:dbforpostgresql:ServerGroupCluster
        properties:
          clusterName: testcluster
          location: westus
          resourceGroupName: TestGroup
          sourceLocation: westus
          sourceResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/sourcecluster
    

    Create a new cluster with custom database name

    Code snippet for C# available in the adjacent code block.
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var serverGroupCluster = new AzureNative.DBforPostgreSQL.ServerGroupCluster("serverGroupCluster", new()
        {
            AdministratorLoginPassword = "password",
            CitusVersion = "11.3",
            ClusterName = "testcluster-custom-db-name",
            CoordinatorEnablePublicIpAccess = true,
            CoordinatorServerEdition = "GeneralPurpose",
            CoordinatorStorageQuotaInMb = 131072,
            CoordinatorVCores = 8,
            DatabaseName = "testdbname",
            EnableHa = true,
            EnableShardsOnCoordinator = true,
            Location = "westus",
            NodeCount = 0,
            PostgresqlVersion = "15",
            PreferredPrimaryZone = "1",
            ResourceGroupName = "TestGroup",
            Tags = 
            {
                { "owner", "JohnDoe" },
            },
        });
    
    });
    
    Code snippet for Go available in the adjacent code block.
    package main
    
    import (
    	dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServerGroupCluster(ctx, "serverGroupCluster", &dbforpostgresql.ServerGroupClusterArgs{
    			AdministratorLoginPassword:      pulumi.String("password"),
    			CitusVersion:                    pulumi.String("11.3"),
    			ClusterName:                     pulumi.String("testcluster-custom-db-name"),
    			CoordinatorEnablePublicIpAccess: pulumi.Bool(true),
    			CoordinatorServerEdition:        pulumi.String("GeneralPurpose"),
    			CoordinatorStorageQuotaInMb:     pulumi.Int(131072),
    			CoordinatorVCores:               pulumi.Int(8),
    			DatabaseName:                    pulumi.String("testdbname"),
    			EnableHa:                        pulumi.Bool(true),
    			EnableShardsOnCoordinator:       pulumi.Bool(true),
    			Location:                        pulumi.String("westus"),
    			NodeCount:                       pulumi.Int(0),
    			PostgresqlVersion:               pulumi.String("15"),
    			PreferredPrimaryZone:            pulumi.String("1"),
    			ResourceGroupName:               pulumi.String("TestGroup"),
    			Tags: pulumi.StringMap{
    				"owner": pulumi.String("JohnDoe"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    Code snippet for Java available in the adjacent code block.
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupCluster;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupClusterArgs;
    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 serverGroupCluster = new ServerGroupCluster("serverGroupCluster", ServerGroupClusterArgs.builder()
                .administratorLoginPassword("password")
                .citusVersion("11.3")
                .clusterName("testcluster-custom-db-name")
                .coordinatorEnablePublicIpAccess(true)
                .coordinatorServerEdition("GeneralPurpose")
                .coordinatorStorageQuotaInMb(131072)
                .coordinatorVCores(8)
                .databaseName("testdbname")
                .enableHa(true)
                .enableShardsOnCoordinator(true)
                .location("westus")
                .nodeCount(0)
                .postgresqlVersion("15")
                .preferredPrimaryZone("1")
                .resourceGroupName("TestGroup")
                .tags(Map.of("owner", "JohnDoe"))
                .build());
    
        }
    }
    
    Code snippet for TypeScript available in the adjacent code block.
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const serverGroupCluster = new azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster", {
        administratorLoginPassword: "password",
        citusVersion: "11.3",
        clusterName: "testcluster-custom-db-name",
        coordinatorEnablePublicIpAccess: true,
        coordinatorServerEdition: "GeneralPurpose",
        coordinatorStorageQuotaInMb: 131072,
        coordinatorVCores: 8,
        databaseName: "testdbname",
        enableHa: true,
        enableShardsOnCoordinator: true,
        location: "westus",
        nodeCount: 0,
        postgresqlVersion: "15",
        preferredPrimaryZone: "1",
        resourceGroupName: "TestGroup",
        tags: {
            owner: "JohnDoe",
        },
    });
    
    Code snippet for Python available in the adjacent code block.
    import pulumi
    import pulumi_azure_native as azure_native
    
    server_group_cluster = azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster",
        administrator_login_password="password",
        citus_version="11.3",
        cluster_name="testcluster-custom-db-name",
        coordinator_enable_public_ip_access=True,
        coordinator_server_edition="GeneralPurpose",
        coordinator_storage_quota_in_mb=131072,
        coordinator_v_cores=8,
        database_name="testdbname",
        enable_ha=True,
        enable_shards_on_coordinator=True,
        location="westus",
        node_count=0,
        postgresql_version="15",
        preferred_primary_zone="1",
        resource_group_name="TestGroup",
        tags={
            "owner": "JohnDoe",
        })
    
    Code snippet for YAML available in the adjacent code block.
    resources:
      serverGroupCluster:
        type: azure-native:dbforpostgresql:ServerGroupCluster
        properties:
          administratorLoginPassword: password
          citusVersion: '11.3'
          clusterName: testcluster-custom-db-name
          coordinatorEnablePublicIpAccess: true
          coordinatorServerEdition: GeneralPurpose
          coordinatorStorageQuotaInMb: 131072
          coordinatorVCores: 8
          databaseName: testdbname
          enableHa: true
          enableShardsOnCoordinator: true
          location: westus
          nodeCount: 0
          postgresqlVersion: '15'
          preferredPrimaryZone: '1'
          resourceGroupName: TestGroup
          tags:
            owner: JohnDoe
    

    Create a new multi-node cluster

    Code snippet for C# available in the adjacent code block.
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var serverGroupCluster = new AzureNative.DBforPostgreSQL.ServerGroupCluster("serverGroupCluster", new()
        {
            AdministratorLoginPassword = "password",
            CitusVersion = "11.1",
            ClusterName = "testcluster-multinode",
            CoordinatorEnablePublicIpAccess = true,
            CoordinatorServerEdition = "GeneralPurpose",
            CoordinatorStorageQuotaInMb = 524288,
            CoordinatorVCores = 4,
            EnableHa = true,
            EnableShardsOnCoordinator = false,
            Location = "westus",
            NodeCount = 3,
            NodeEnablePublicIpAccess = false,
            NodeServerEdition = "MemoryOptimized",
            NodeStorageQuotaInMb = 524288,
            NodeVCores = 8,
            PostgresqlVersion = "15",
            PreferredPrimaryZone = "1",
            ResourceGroupName = "TestGroup",
            Tags = null,
        });
    
    });
    
    Code snippet for Go available in the adjacent code block.
    package main
    
    import (
    	dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServerGroupCluster(ctx, "serverGroupCluster", &dbforpostgresql.ServerGroupClusterArgs{
    			AdministratorLoginPassword:      pulumi.String("password"),
    			CitusVersion:                    pulumi.String("11.1"),
    			ClusterName:                     pulumi.String("testcluster-multinode"),
    			CoordinatorEnablePublicIpAccess: pulumi.Bool(true),
    			CoordinatorServerEdition:        pulumi.String("GeneralPurpose"),
    			CoordinatorStorageQuotaInMb:     pulumi.Int(524288),
    			CoordinatorVCores:               pulumi.Int(4),
    			EnableHa:                        pulumi.Bool(true),
    			EnableShardsOnCoordinator:       pulumi.Bool(false),
    			Location:                        pulumi.String("westus"),
    			NodeCount:                       pulumi.Int(3),
    			NodeEnablePublicIpAccess:        pulumi.Bool(false),
    			NodeServerEdition:               pulumi.String("MemoryOptimized"),
    			NodeStorageQuotaInMb:            pulumi.Int(524288),
    			NodeVCores:                      pulumi.Int(8),
    			PostgresqlVersion:               pulumi.String("15"),
    			PreferredPrimaryZone:            pulumi.String("1"),
    			ResourceGroupName:               pulumi.String("TestGroup"),
    			Tags:                            pulumi.StringMap{},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    Code snippet for Java available in the adjacent code block.
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupCluster;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupClusterArgs;
    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 serverGroupCluster = new ServerGroupCluster("serverGroupCluster", ServerGroupClusterArgs.builder()
                .administratorLoginPassword("password")
                .citusVersion("11.1")
                .clusterName("testcluster-multinode")
                .coordinatorEnablePublicIpAccess(true)
                .coordinatorServerEdition("GeneralPurpose")
                .coordinatorStorageQuotaInMb(524288)
                .coordinatorVCores(4)
                .enableHa(true)
                .enableShardsOnCoordinator(false)
                .location("westus")
                .nodeCount(3)
                .nodeEnablePublicIpAccess(false)
                .nodeServerEdition("MemoryOptimized")
                .nodeStorageQuotaInMb(524288)
                .nodeVCores(8)
                .postgresqlVersion("15")
                .preferredPrimaryZone("1")
                .resourceGroupName("TestGroup")
                .tags(Map.ofEntries(
                ))
                .build());
    
        }
    }
    
    Code snippet for TypeScript available in the adjacent code block.
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const serverGroupCluster = new azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster", {
        administratorLoginPassword: "password",
        citusVersion: "11.1",
        clusterName: "testcluster-multinode",
        coordinatorEnablePublicIpAccess: true,
        coordinatorServerEdition: "GeneralPurpose",
        coordinatorStorageQuotaInMb: 524288,
        coordinatorVCores: 4,
        enableHa: true,
        enableShardsOnCoordinator: false,
        location: "westus",
        nodeCount: 3,
        nodeEnablePublicIpAccess: false,
        nodeServerEdition: "MemoryOptimized",
        nodeStorageQuotaInMb: 524288,
        nodeVCores: 8,
        postgresqlVersion: "15",
        preferredPrimaryZone: "1",
        resourceGroupName: "TestGroup",
        tags: {},
    });
    
    Code snippet for Python available in the adjacent code block.
    import pulumi
    import pulumi_azure_native as azure_native
    
    server_group_cluster = azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster",
        administrator_login_password="password",
        citus_version="11.1",
        cluster_name="testcluster-multinode",
        coordinator_enable_public_ip_access=True,
        coordinator_server_edition="GeneralPurpose",
        coordinator_storage_quota_in_mb=524288,
        coordinator_v_cores=4,
        enable_ha=True,
        enable_shards_on_coordinator=False,
        location="westus",
        node_count=3,
        node_enable_public_ip_access=False,
        node_server_edition="MemoryOptimized",
        node_storage_quota_in_mb=524288,
        node_v_cores=8,
        postgresql_version="15",
        preferred_primary_zone="1",
        resource_group_name="TestGroup",
        tags={})
    
    Code snippet for YAML available in the adjacent code block.
    resources:
      serverGroupCluster:
        type: azure-native:dbforpostgresql:ServerGroupCluster
        properties:
          administratorLoginPassword: password
          citusVersion: '11.1'
          clusterName: testcluster-multinode
          coordinatorEnablePublicIpAccess: true
          coordinatorServerEdition: GeneralPurpose
          coordinatorStorageQuotaInMb: 524288
          coordinatorVCores: 4
          enableHa: true
          enableShardsOnCoordinator: false
          location: westus
          nodeCount: 3
          nodeEnablePublicIpAccess: false
          nodeServerEdition: MemoryOptimized
          nodeStorageQuotaInMb: 524288
          nodeVCores: 8
          postgresqlVersion: '15'
          preferredPrimaryZone: '1'
          resourceGroupName: TestGroup
          tags: {}
    

    Create a new single node Burstable 1 vCore cluster

    Code snippet for C# available in the adjacent code block.
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var serverGroupCluster = new AzureNative.DBforPostgreSQL.ServerGroupCluster("serverGroupCluster", new()
        {
            AdministratorLoginPassword = "password",
            CitusVersion = "11.3",
            ClusterName = "testcluster-burstablev1",
            CoordinatorEnablePublicIpAccess = true,
            CoordinatorServerEdition = "BurstableMemoryOptimized",
            CoordinatorStorageQuotaInMb = 131072,
            CoordinatorVCores = 1,
            EnableHa = false,
            EnableShardsOnCoordinator = true,
            Location = "westus",
            NodeCount = 0,
            PostgresqlVersion = "15",
            PreferredPrimaryZone = "1",
            ResourceGroupName = "TestGroup",
            Tags = 
            {
                { "owner", "JohnDoe" },
            },
        });
    
    });
    
    Code snippet for Go available in the adjacent code block.
    package main
    
    import (
    	dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServerGroupCluster(ctx, "serverGroupCluster", &dbforpostgresql.ServerGroupClusterArgs{
    			AdministratorLoginPassword:      pulumi.String("password"),
    			CitusVersion:                    pulumi.String("11.3"),
    			ClusterName:                     pulumi.String("testcluster-burstablev1"),
    			CoordinatorEnablePublicIpAccess: pulumi.Bool(true),
    			CoordinatorServerEdition:        pulumi.String("BurstableMemoryOptimized"),
    			CoordinatorStorageQuotaInMb:     pulumi.Int(131072),
    			CoordinatorVCores:               pulumi.Int(1),
    			EnableHa:                        pulumi.Bool(false),
    			EnableShardsOnCoordinator:       pulumi.Bool(true),
    			Location:                        pulumi.String("westus"),
    			NodeCount:                       pulumi.Int(0),
    			PostgresqlVersion:               pulumi.String("15"),
    			PreferredPrimaryZone:            pulumi.String("1"),
    			ResourceGroupName:               pulumi.String("TestGroup"),
    			Tags: pulumi.StringMap{
    				"owner": pulumi.String("JohnDoe"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    Code snippet for Java available in the adjacent code block.
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupCluster;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupClusterArgs;
    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 serverGroupCluster = new ServerGroupCluster("serverGroupCluster", ServerGroupClusterArgs.builder()
                .administratorLoginPassword("password")
                .citusVersion("11.3")
                .clusterName("testcluster-burstablev1")
                .coordinatorEnablePublicIpAccess(true)
                .coordinatorServerEdition("BurstableMemoryOptimized")
                .coordinatorStorageQuotaInMb(131072)
                .coordinatorVCores(1)
                .enableHa(false)
                .enableShardsOnCoordinator(true)
                .location("westus")
                .nodeCount(0)
                .postgresqlVersion("15")
                .preferredPrimaryZone("1")
                .resourceGroupName("TestGroup")
                .tags(Map.of("owner", "JohnDoe"))
                .build());
    
        }
    }
    
    Code snippet for TypeScript available in the adjacent code block.
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const serverGroupCluster = new azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster", {
        administratorLoginPassword: "password",
        citusVersion: "11.3",
        clusterName: "testcluster-burstablev1",
        coordinatorEnablePublicIpAccess: true,
        coordinatorServerEdition: "BurstableMemoryOptimized",
        coordinatorStorageQuotaInMb: 131072,
        coordinatorVCores: 1,
        enableHa: false,
        enableShardsOnCoordinator: true,
        location: "westus",
        nodeCount: 0,
        postgresqlVersion: "15",
        preferredPrimaryZone: "1",
        resourceGroupName: "TestGroup",
        tags: {
            owner: "JohnDoe",
        },
    });
    
    Code snippet for Python available in the adjacent code block.
    import pulumi
    import pulumi_azure_native as azure_native
    
    server_group_cluster = azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster",
        administrator_login_password="password",
        citus_version="11.3",
        cluster_name="testcluster-burstablev1",
        coordinator_enable_public_ip_access=True,
        coordinator_server_edition="BurstableMemoryOptimized",
        coordinator_storage_quota_in_mb=131072,
        coordinator_v_cores=1,
        enable_ha=False,
        enable_shards_on_coordinator=True,
        location="westus",
        node_count=0,
        postgresql_version="15",
        preferred_primary_zone="1",
        resource_group_name="TestGroup",
        tags={
            "owner": "JohnDoe",
        })
    
    Code snippet for YAML available in the adjacent code block.
    resources:
      serverGroupCluster:
        type: azure-native:dbforpostgresql:ServerGroupCluster
        properties:
          administratorLoginPassword: password
          citusVersion: '11.3'
          clusterName: testcluster-burstablev1
          coordinatorEnablePublicIpAccess: true
          coordinatorServerEdition: BurstableMemoryOptimized
          coordinatorStorageQuotaInMb: 131072
          coordinatorVCores: 1
          enableHa: false
          enableShardsOnCoordinator: true
          location: westus
          nodeCount: 0
          postgresqlVersion: '15'
          preferredPrimaryZone: '1'
          resourceGroupName: TestGroup
          tags:
            owner: JohnDoe
    

    Create a new single node Burstable 2 vCores cluster

    Code snippet for C# available in the adjacent code block.
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var serverGroupCluster = new AzureNative.DBforPostgreSQL.ServerGroupCluster("serverGroupCluster", new()
        {
            AdministratorLoginPassword = "password",
            CitusVersion = "11.3",
            ClusterName = "testcluster-burstablev2",
            CoordinatorEnablePublicIpAccess = true,
            CoordinatorServerEdition = "BurstableGeneralPurpose",
            CoordinatorStorageQuotaInMb = 131072,
            CoordinatorVCores = 2,
            EnableHa = false,
            EnableShardsOnCoordinator = true,
            Location = "westus",
            NodeCount = 0,
            PostgresqlVersion = "15",
            PreferredPrimaryZone = "1",
            ResourceGroupName = "TestGroup",
            Tags = 
            {
                { "owner", "JohnDoe" },
            },
        });
    
    });
    
    Code snippet for Go available in the adjacent code block.
    package main
    
    import (
    	dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServerGroupCluster(ctx, "serverGroupCluster", &dbforpostgresql.ServerGroupClusterArgs{
    			AdministratorLoginPassword:      pulumi.String("password"),
    			CitusVersion:                    pulumi.String("11.3"),
    			ClusterName:                     pulumi.String("testcluster-burstablev2"),
    			CoordinatorEnablePublicIpAccess: pulumi.Bool(true),
    			CoordinatorServerEdition:        pulumi.String("BurstableGeneralPurpose"),
    			CoordinatorStorageQuotaInMb:     pulumi.Int(131072),
    			CoordinatorVCores:               pulumi.Int(2),
    			EnableHa:                        pulumi.Bool(false),
    			EnableShardsOnCoordinator:       pulumi.Bool(true),
    			Location:                        pulumi.String("westus"),
    			NodeCount:                       pulumi.Int(0),
    			PostgresqlVersion:               pulumi.String("15"),
    			PreferredPrimaryZone:            pulumi.String("1"),
    			ResourceGroupName:               pulumi.String("TestGroup"),
    			Tags: pulumi.StringMap{
    				"owner": pulumi.String("JohnDoe"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    Code snippet for Java available in the adjacent code block.
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupCluster;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupClusterArgs;
    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 serverGroupCluster = new ServerGroupCluster("serverGroupCluster", ServerGroupClusterArgs.builder()
                .administratorLoginPassword("password")
                .citusVersion("11.3")
                .clusterName("testcluster-burstablev2")
                .coordinatorEnablePublicIpAccess(true)
                .coordinatorServerEdition("BurstableGeneralPurpose")
                .coordinatorStorageQuotaInMb(131072)
                .coordinatorVCores(2)
                .enableHa(false)
                .enableShardsOnCoordinator(true)
                .location("westus")
                .nodeCount(0)
                .postgresqlVersion("15")
                .preferredPrimaryZone("1")
                .resourceGroupName("TestGroup")
                .tags(Map.of("owner", "JohnDoe"))
                .build());
    
        }
    }
    
    Code snippet for TypeScript available in the adjacent code block.
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const serverGroupCluster = new azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster", {
        administratorLoginPassword: "password",
        citusVersion: "11.3",
        clusterName: "testcluster-burstablev2",
        coordinatorEnablePublicIpAccess: true,
        coordinatorServerEdition: "BurstableGeneralPurpose",
        coordinatorStorageQuotaInMb: 131072,
        coordinatorVCores: 2,
        enableHa: false,
        enableShardsOnCoordinator: true,
        location: "westus",
        nodeCount: 0,
        postgresqlVersion: "15",
        preferredPrimaryZone: "1",
        resourceGroupName: "TestGroup",
        tags: {
            owner: "JohnDoe",
        },
    });
    
    Code snippet for Python available in the adjacent code block.
    import pulumi
    import pulumi_azure_native as azure_native
    
    server_group_cluster = azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster",
        administrator_login_password="password",
        citus_version="11.3",
        cluster_name="testcluster-burstablev2",
        coordinator_enable_public_ip_access=True,
        coordinator_server_edition="BurstableGeneralPurpose",
        coordinator_storage_quota_in_mb=131072,
        coordinator_v_cores=2,
        enable_ha=False,
        enable_shards_on_coordinator=True,
        location="westus",
        node_count=0,
        postgresql_version="15",
        preferred_primary_zone="1",
        resource_group_name="TestGroup",
        tags={
            "owner": "JohnDoe",
        })
    
    Code snippet for YAML available in the adjacent code block.
    resources:
      serverGroupCluster:
        type: azure-native:dbforpostgresql:ServerGroupCluster
        properties:
          administratorLoginPassword: password
          citusVersion: '11.3'
          clusterName: testcluster-burstablev2
          coordinatorEnablePublicIpAccess: true
          coordinatorServerEdition: BurstableGeneralPurpose
          coordinatorStorageQuotaInMb: 131072
          coordinatorVCores: 2
          enableHa: false
          enableShardsOnCoordinator: true
          location: westus
          nodeCount: 0
          postgresqlVersion: '15'
          preferredPrimaryZone: '1'
          resourceGroupName: TestGroup
          tags:
            owner: JohnDoe
    

    Create a new single node cluster

    Code snippet for C# available in the adjacent code block.
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var serverGroupCluster = new AzureNative.DBforPostgreSQL.ServerGroupCluster("serverGroupCluster", new()
        {
            AdministratorLoginPassword = "password",
            CitusVersion = "11.3",
            ClusterName = "testcluster-singlenode",
            CoordinatorEnablePublicIpAccess = true,
            CoordinatorServerEdition = "GeneralPurpose",
            CoordinatorStorageQuotaInMb = 131072,
            CoordinatorVCores = 8,
            EnableHa = true,
            EnableShardsOnCoordinator = true,
            Location = "westus",
            NodeCount = 0,
            PostgresqlVersion = "15",
            PreferredPrimaryZone = "1",
            ResourceGroupName = "TestGroup",
            Tags = 
            {
                { "owner", "JohnDoe" },
            },
        });
    
    });
    
    Code snippet for Go available in the adjacent code block.
    package main
    
    import (
    	dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbforpostgresql.NewServerGroupCluster(ctx, "serverGroupCluster", &dbforpostgresql.ServerGroupClusterArgs{
    			AdministratorLoginPassword:      pulumi.String("password"),
    			CitusVersion:                    pulumi.String("11.3"),
    			ClusterName:                     pulumi.String("testcluster-singlenode"),
    			CoordinatorEnablePublicIpAccess: pulumi.Bool(true),
    			CoordinatorServerEdition:        pulumi.String("GeneralPurpose"),
    			CoordinatorStorageQuotaInMb:     pulumi.Int(131072),
    			CoordinatorVCores:               pulumi.Int(8),
    			EnableHa:                        pulumi.Bool(true),
    			EnableShardsOnCoordinator:       pulumi.Bool(true),
    			Location:                        pulumi.String("westus"),
    			NodeCount:                       pulumi.Int(0),
    			PostgresqlVersion:               pulumi.String("15"),
    			PreferredPrimaryZone:            pulumi.String("1"),
    			ResourceGroupName:               pulumi.String("TestGroup"),
    			Tags: pulumi.StringMap{
    				"owner": pulumi.String("JohnDoe"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    Code snippet for Java available in the adjacent code block.
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupCluster;
    import com.pulumi.azurenative.dbforpostgresql.ServerGroupClusterArgs;
    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 serverGroupCluster = new ServerGroupCluster("serverGroupCluster", ServerGroupClusterArgs.builder()
                .administratorLoginPassword("password")
                .citusVersion("11.3")
                .clusterName("testcluster-singlenode")
                .coordinatorEnablePublicIpAccess(true)
                .coordinatorServerEdition("GeneralPurpose")
                .coordinatorStorageQuotaInMb(131072)
                .coordinatorVCores(8)
                .enableHa(true)
                .enableShardsOnCoordinator(true)
                .location("westus")
                .nodeCount(0)
                .postgresqlVersion("15")
                .preferredPrimaryZone("1")
                .resourceGroupName("TestGroup")
                .tags(Map.of("owner", "JohnDoe"))
                .build());
    
        }
    }
    
    Code snippet for TypeScript available in the adjacent code block.
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const serverGroupCluster = new azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster", {
        administratorLoginPassword: "password",
        citusVersion: "11.3",
        clusterName: "testcluster-singlenode",
        coordinatorEnablePublicIpAccess: true,
        coordinatorServerEdition: "GeneralPurpose",
        coordinatorStorageQuotaInMb: 131072,
        coordinatorVCores: 8,
        enableHa: true,
        enableShardsOnCoordinator: true,
        location: "westus",
        nodeCount: 0,
        postgresqlVersion: "15",
        preferredPrimaryZone: "1",
        resourceGroupName: "TestGroup",
        tags: {
            owner: "JohnDoe",
        },
    });
    
    Code snippet for Python available in the adjacent code block.
    import pulumi
    import pulumi_azure_native as azure_native
    
    server_group_cluster = azure_native.dbforpostgresql.ServerGroupCluster("serverGroupCluster",
        administrator_login_password="password",
        citus_version="11.3",
        cluster_name="testcluster-singlenode",
        coordinator_enable_public_ip_access=True,
        coordinator_server_edition="GeneralPurpose",
        coordinator_storage_quota_in_mb=131072,
        coordinator_v_cores=8,
        enable_ha=True,
        enable_shards_on_coordinator=True,
        location="westus",
        node_count=0,
        postgresql_version="15",
        preferred_primary_zone="1",
        resource_group_name="TestGroup",
        tags={
            "owner": "JohnDoe",
        })
    
    Code snippet for YAML available in the adjacent code block.
    resources:
      serverGroupCluster:
        type: azure-native:dbforpostgresql:ServerGroupCluster
        properties:
          administratorLoginPassword: password
          citusVersion: '11.3'
          clusterName: testcluster-singlenode
          coordinatorEnablePublicIpAccess: true
          coordinatorServerEdition: GeneralPurpose
          coordinatorStorageQuotaInMb: 131072
          coordinatorVCores: 8
          enableHa: true
          enableShardsOnCoordinator: true
          location: westus
          nodeCount: 0
          postgresqlVersion: '15'
          preferredPrimaryZone: '1'
          resourceGroupName: TestGroup
          tags:
            owner: JohnDoe
    

    Create ServerGroupCluster Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    new ServerGroupCluster(name: string, args: ServerGroupClusterArgs, opts?: CustomResourceOptions);
    Code snippet for Python available in the adjacent code block.
    @overload
    def ServerGroupCluster(resource_name: str,
                           args: ServerGroupClusterArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServerGroupCluster(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           resource_group_name: Optional[str] = None,
                           location: Optional[str] = None,
                           source_location: Optional[str] = None,
                           cluster_name: Optional[str] = None,
                           coordinator_enable_public_ip_access: Optional[bool] = None,
                           coordinator_server_edition: Optional[str] = None,
                           coordinator_storage_quota_in_mb: Optional[int] = None,
                           coordinator_v_cores: Optional[int] = None,
                           data_encryption: Optional[ServerGroupClusterDataEncryptionArgs] = None,
                           database_name: Optional[str] = None,
                           enable_geo_backup: Optional[bool] = None,
                           enable_ha: Optional[bool] = None,
                           maintenance_window: Optional[ServerGroupClusterMaintenanceWindowArgs] = None,
                           citus_version: Optional[str] = None,
                           identity: Optional[IdentityPropertiesArgs] = None,
                           enable_shards_on_coordinator: Optional[bool] = None,
                           node_count: Optional[int] = None,
                           node_enable_public_ip_access: Optional[bool] = None,
                           node_server_edition: Optional[str] = None,
                           node_storage_quota_in_mb: Optional[int] = None,
                           node_v_cores: Optional[int] = None,
                           point_in_time_utc: Optional[str] = None,
                           postgresql_version: Optional[str] = None,
                           preferred_primary_zone: Optional[str] = None,
                           auth_config: Optional[ServerGroupClusterAuthConfigArgs] = None,
                           administrator_login_password: Optional[str] = None,
                           source_resource_id: Optional[str] = None,
                           tags: Optional[Mapping[str, str]] = None)
    Code snippet for Go available in the adjacent code block.
    func NewServerGroupCluster(ctx *Context, name string, args ServerGroupClusterArgs, opts ...ResourceOption) (*ServerGroupCluster, error)
    Code snippet for C# available in the adjacent code block.
    public ServerGroupCluster(string name, ServerGroupClusterArgs args, CustomResourceOptions? opts = null)
    Code snippet for Java available in the adjacent code block.
    public ServerGroupCluster(String name, ServerGroupClusterArgs args)
    public ServerGroupCluster(String name, ServerGroupClusterArgs args, CustomResourceOptions options)
    
    Code snippet for YAML available in the adjacent code block.
    type: azure-native:dbforpostgresql:ServerGroupCluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    name string
    The unique name of the resource.
    args ServerGroupClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    Code snippet for Python available in the adjacent code block.
    resource_name str
    The unique name of the resource.
    args ServerGroupClusterArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    Code snippet for Go available in the adjacent code block.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServerGroupClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    Code snippet for C# available in the adjacent code block.
    name string
    The unique name of the resource.
    args ServerGroupClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    Code snippet for Java available in the adjacent code block.
    name String
    The unique name of the resource.
    args ServerGroupClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    Code snippet for C# available in the adjacent code block.
    var serverGroupClusterResource = new AzureNative.DBforPostgreSQL.ServerGroupCluster("serverGroupClusterResource", new()
    {
        ResourceGroupName = "string",
        Location = "string",
        SourceLocation = "string",
        ClusterName = "string",
        CoordinatorEnablePublicIpAccess = false,
        CoordinatorServerEdition = "string",
        CoordinatorStorageQuotaInMb = 0,
        CoordinatorVCores = 0,
        DataEncryption = new AzureNative.DBforPostgreSQL.Inputs.ServerGroupClusterDataEncryptionArgs
        {
            PrimaryKeyUri = "string",
            PrimaryUserAssignedIdentityId = "string",
            Type = "string",
        },
        DatabaseName = "string",
        EnableGeoBackup = false,
        EnableHa = false,
        MaintenanceWindow = new AzureNative.DBforPostgreSQL.Inputs.ServerGroupClusterMaintenanceWindowArgs
        {
            CustomWindow = "string",
            DayOfWeek = 0,
            StartHour = 0,
            StartMinute = 0,
        },
        CitusVersion = "string",
        Identity = new AzureNative.DBforPostgreSQL.Inputs.IdentityPropertiesArgs
        {
            Type = "string",
            UserAssignedIdentities = new[]
            {
                "string",
            },
        },
        EnableShardsOnCoordinator = false,
        NodeCount = 0,
        NodeEnablePublicIpAccess = false,
        NodeServerEdition = "string",
        NodeStorageQuotaInMb = 0,
        NodeVCores = 0,
        PointInTimeUTC = "string",
        PostgresqlVersion = "string",
        PreferredPrimaryZone = "string",
        AuthConfig = new AzureNative.DBforPostgreSQL.Inputs.ServerGroupClusterAuthConfigArgs
        {
            ActiveDirectoryAuth = "string",
            PasswordAuth = "string",
        },
        AdministratorLoginPassword = "string",
        SourceResourceId = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    Code snippet for Go available in the adjacent code block.
    example, err := dbforpostgresql.NewServerGroupCluster(ctx, "serverGroupClusterResource", &dbforpostgresql.ServerGroupClusterArgs{
    	ResourceGroupName:               pulumi.String("string"),
    	Location:                        pulumi.String("string"),
    	SourceLocation:                  pulumi.String("string"),
    	ClusterName:                     pulumi.String("string"),
    	CoordinatorEnablePublicIpAccess: pulumi.Bool(false),
    	CoordinatorServerEdition:        pulumi.String("string"),
    	CoordinatorStorageQuotaInMb:     pulumi.Int(0),
    	CoordinatorVCores:               pulumi.Int(0),
    	DataEncryption: &dbforpostgresql.ServerGroupClusterDataEncryptionArgs{
    		PrimaryKeyUri:                 pulumi.String("string"),
    		PrimaryUserAssignedIdentityId: pulumi.String("string"),
    		Type:                          pulumi.String("string"),
    	},
    	DatabaseName:    pulumi.String("string"),
    	EnableGeoBackup: pulumi.Bool(false),
    	EnableHa:        pulumi.Bool(false),
    	MaintenanceWindow: &dbforpostgresql.ServerGroupClusterMaintenanceWindowArgs{
    		CustomWindow: pulumi.String("string"),
    		DayOfWeek:    pulumi.Int(0),
    		StartHour:    pulumi.Int(0),
    		StartMinute:  pulumi.Int(0),
    	},
    	CitusVersion: pulumi.String("string"),
    	Identity: &dbforpostgresql.IdentityPropertiesArgs{
    		Type: pulumi.String("string"),
    		UserAssignedIdentities: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	EnableShardsOnCoordinator: pulumi.Bool(false),
    	NodeCount:                 pulumi.Int(0),
    	NodeEnablePublicIpAccess:  pulumi.Bool(false),
    	NodeServerEdition:         pulumi.String("string"),
    	NodeStorageQuotaInMb:      pulumi.Int(0),
    	NodeVCores:                pulumi.Int(0),
    	PointInTimeUTC:            pulumi.String("string"),
    	PostgresqlVersion:         pulumi.String("string"),
    	PreferredPrimaryZone:      pulumi.String("string"),
    	AuthConfig: &dbforpostgresql.ServerGroupClusterAuthConfigArgs{
    		ActiveDirectoryAuth: pulumi.String("string"),
    		PasswordAuth:        pulumi.String("string"),
    	},
    	AdministratorLoginPassword: pulumi.String("string"),
    	SourceResourceId:           pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    Code snippet for Java available in the adjacent code block.
    var serverGroupClusterResource = new ServerGroupCluster("serverGroupClusterResource", ServerGroupClusterArgs.builder()
        .resourceGroupName("string")
        .location("string")
        .sourceLocation("string")
        .clusterName("string")
        .coordinatorEnablePublicIpAccess(false)
        .coordinatorServerEdition("string")
        .coordinatorStorageQuotaInMb(0)
        .coordinatorVCores(0)
        .dataEncryption(ServerGroupClusterDataEncryptionArgs.builder()
            .primaryKeyUri("string")
            .primaryUserAssignedIdentityId("string")
            .type("string")
            .build())
        .databaseName("string")
        .enableGeoBackup(false)
        .enableHa(false)
        .maintenanceWindow(ServerGroupClusterMaintenanceWindowArgs.builder()
            .customWindow("string")
            .dayOfWeek(0)
            .startHour(0)
            .startMinute(0)
            .build())
        .citusVersion("string")
        .identity(IdentityPropertiesArgs.builder()
            .type("string")
            .userAssignedIdentities("string")
            .build())
        .enableShardsOnCoordinator(false)
        .nodeCount(0)
        .nodeEnablePublicIpAccess(false)
        .nodeServerEdition("string")
        .nodeStorageQuotaInMb(0)
        .nodeVCores(0)
        .pointInTimeUTC("string")
        .postgresqlVersion("string")
        .preferredPrimaryZone("string")
        .authConfig(ServerGroupClusterAuthConfigArgs.builder()
            .activeDirectoryAuth("string")
            .passwordAuth("string")
            .build())
        .administratorLoginPassword("string")
        .sourceResourceId("string")
        .tags(Map.of("string", "string"))
        .build());
    
    Code snippet for Python available in the adjacent code block.
    server_group_cluster_resource = azure_native.dbforpostgresql.ServerGroupCluster("serverGroupClusterResource",
        resource_group_name="string",
        location="string",
        source_location="string",
        cluster_name="string",
        coordinator_enable_public_ip_access=False,
        coordinator_server_edition="string",
        coordinator_storage_quota_in_mb=0,
        coordinator_v_cores=0,
        data_encryption={
            "primary_key_uri": "string",
            "primary_user_assigned_identity_id": "string",
            "type": "string",
        },
        database_name="string",
        enable_geo_backup=False,
        enable_ha=False,
        maintenance_window={
            "custom_window": "string",
            "day_of_week": 0,
            "start_hour": 0,
            "start_minute": 0,
        },
        citus_version="string",
        identity={
            "type": "string",
            "user_assigned_identities": ["string"],
        },
        enable_shards_on_coordinator=False,
        node_count=0,
        node_enable_public_ip_access=False,
        node_server_edition="string",
        node_storage_quota_in_mb=0,
        node_v_cores=0,
        point_in_time_utc="string",
        postgresql_version="string",
        preferred_primary_zone="string",
        auth_config={
            "active_directory_auth": "string",
            "password_auth": "string",
        },
        administrator_login_password="string",
        source_resource_id="string",
        tags={
            "string": "string",
        })
    
    Code snippet for TypeScript available in the adjacent code block.
    const serverGroupClusterResource = new azure_native.dbforpostgresql.ServerGroupCluster("serverGroupClusterResource", {
        resourceGroupName: "string",
        location: "string",
        sourceLocation: "string",
        clusterName: "string",
        coordinatorEnablePublicIpAccess: false,
        coordinatorServerEdition: "string",
        coordinatorStorageQuotaInMb: 0,
        coordinatorVCores: 0,
        dataEncryption: {
            primaryKeyUri: "string",
            primaryUserAssignedIdentityId: "string",
            type: "string",
        },
        databaseName: "string",
        enableGeoBackup: false,
        enableHa: false,
        maintenanceWindow: {
            customWindow: "string",
            dayOfWeek: 0,
            startHour: 0,
            startMinute: 0,
        },
        citusVersion: "string",
        identity: {
            type: "string",
            userAssignedIdentities: ["string"],
        },
        enableShardsOnCoordinator: false,
        nodeCount: 0,
        nodeEnablePublicIpAccess: false,
        nodeServerEdition: "string",
        nodeStorageQuotaInMb: 0,
        nodeVCores: 0,
        pointInTimeUTC: "string",
        postgresqlVersion: "string",
        preferredPrimaryZone: "string",
        authConfig: {
            activeDirectoryAuth: "string",
            passwordAuth: "string",
        },
        administratorLoginPassword: "string",
        sourceResourceId: "string",
        tags: {
            string: "string",
        },
    });
    
    Code snippet for YAML available in the adjacent code block.
    type: azure-native:dbforpostgresql:ServerGroupCluster
    properties:
        administratorLoginPassword: string
        authConfig:
            activeDirectoryAuth: string
            passwordAuth: string
        citusVersion: string
        clusterName: string
        coordinatorEnablePublicIpAccess: false
        coordinatorServerEdition: string
        coordinatorStorageQuotaInMb: 0
        coordinatorVCores: 0
        dataEncryption:
            primaryKeyUri: string
            primaryUserAssignedIdentityId: string
            type: string
        databaseName: string
        enableGeoBackup: false
        enableHa: false
        enableShardsOnCoordinator: false
        identity:
            type: string
            userAssignedIdentities:
                - string
        location: string
        maintenanceWindow:
            customWindow: string
            dayOfWeek: 0
            startHour: 0
            startMinute: 0
        nodeCount: 0
        nodeEnablePublicIpAccess: false
        nodeServerEdition: string
        nodeStorageQuotaInMb: 0
        nodeVCores: 0
        pointInTimeUTC: string
        postgresqlVersion: string
        preferredPrimaryZone: string
        resourceGroupName: string
        sourceLocation: string
        sourceResourceId: string
        tags:
            string: string
    

    ServerGroupCluster Resource Properties

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

    Inputs

    Code snippet for Python available in the adjacent code block.

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ServerGroupCluster resource accepts the following input properties:

    Code snippet for C# available in the adjacent code block.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AdministratorLoginPassword string
    The password of the administrator login. Required for creation.
    AuthConfig Pulumi.AzureNative.DBforPostgreSQL.Inputs.ServerGroupClusterAuthConfig
    Authentication configuration of a cluster.
    CitusVersion string
    The Citus extension version on all cluster servers.
    ClusterName string
    The name of the cluster.
    CoordinatorEnablePublicIpAccess bool
    If public access is enabled on coordinator.
    CoordinatorServerEdition string
    The edition of a coordinator server (default: GeneralPurpose). Required for creation.
    CoordinatorStorageQuotaInMb int
    The storage of a server in MB. Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    CoordinatorVCores int
    The vCores count of a server (max: 96). Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    DataEncryption Pulumi.AzureNative.DBforPostgreSQL.Inputs.ServerGroupClusterDataEncryption
    The data encryption properties of a cluster.
    DatabaseName string
    The database name of the cluster. Only one database per cluster is supported.
    EnableGeoBackup bool
    If cluster backup is stored in another Azure region in addition to the copy of the backup stored in the cluster's region. Enabled only at the time of cluster creation.
    EnableHa bool
    If high availability (HA) is enabled or not for the cluster.
    EnableShardsOnCoordinator bool
    If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed.
    Identity Pulumi.AzureNative.DBforPostgreSQL.Inputs.IdentityProperties
    Describes the identity of the cluster.
    Location string
    The geo-location where the resource lives
    MaintenanceWindow Pulumi.AzureNative.DBforPostgreSQL.Inputs.ServerGroupClusterMaintenanceWindow
    Maintenance window of a cluster.
    NodeCount int
    Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1. Required for creation.
    NodeEnablePublicIpAccess bool
    If public access is enabled on worker nodes.
    NodeServerEdition string
    The edition of a node server (default: MemoryOptimized).
    NodeStorageQuotaInMb int
    The storage in MB on each worker node. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    NodeVCores int
    The compute in vCores on each worker node (max: 104). See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    PointInTimeUTC string
    Date and time in UTC (ISO8601 format) for cluster restore.
    PostgresqlVersion string
    The major PostgreSQL version on all cluster servers.
    PreferredPrimaryZone string
    Preferred primary availability zone (AZ) for all cluster servers.
    SourceLocation string
    The Azure region of source cluster for read replica clusters.
    SourceResourceId string
    The resource id of source cluster for read replica clusters.
    Tags Dictionary<string, string>
    Resource tags.
    Code snippet for Go available in the adjacent code block.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AdministratorLoginPassword string
    The password of the administrator login. Required for creation.
    AuthConfig ServerGroupClusterAuthConfigArgs
    Authentication configuration of a cluster.
    CitusVersion string
    The Citus extension version on all cluster servers.
    ClusterName string
    The name of the cluster.
    CoordinatorEnablePublicIpAccess bool
    If public access is enabled on coordinator.
    CoordinatorServerEdition string
    The edition of a coordinator server (default: GeneralPurpose). Required for creation.
    CoordinatorStorageQuotaInMb int
    The storage of a server in MB. Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    CoordinatorVCores int
    The vCores count of a server (max: 96). Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    DataEncryption ServerGroupClusterDataEncryptionArgs
    The data encryption properties of a cluster.
    DatabaseName string
    The database name of the cluster. Only one database per cluster is supported.
    EnableGeoBackup bool
    If cluster backup is stored in another Azure region in addition to the copy of the backup stored in the cluster's region. Enabled only at the time of cluster creation.
    EnableHa bool
    If high availability (HA) is enabled or not for the cluster.
    EnableShardsOnCoordinator bool
    If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed.
    Identity IdentityPropertiesArgs
    Describes the identity of the cluster.
    Location string
    The geo-location where the resource lives
    MaintenanceWindow ServerGroupClusterMaintenanceWindowArgs
    Maintenance window of a cluster.
    NodeCount int
    Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1. Required for creation.
    NodeEnablePublicIpAccess bool
    If public access is enabled on worker nodes.
    NodeServerEdition string
    The edition of a node server (default: MemoryOptimized).
    NodeStorageQuotaInMb int
    The storage in MB on each worker node. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    NodeVCores int
    The compute in vCores on each worker node (max: 104). See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    PointInTimeUTC string
    Date and time in UTC (ISO8601 format) for cluster restore.
    PostgresqlVersion string
    The major PostgreSQL version on all cluster servers.
    PreferredPrimaryZone string
    Preferred primary availability zone (AZ) for all cluster servers.
    SourceLocation string
    The Azure region of source cluster for read replica clusters.
    SourceResourceId string
    The resource id of source cluster for read replica clusters.
    Tags map[string]string
    Resource tags.
    Code snippet for Java available in the adjacent code block.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    administratorLoginPassword String
    The password of the administrator login. Required for creation.
    authConfig ServerGroupClusterAuthConfig
    Authentication configuration of a cluster.
    citusVersion String
    The Citus extension version on all cluster servers.
    clusterName String
    The name of the cluster.
    coordinatorEnablePublicIpAccess Boolean
    If public access is enabled on coordinator.
    coordinatorServerEdition String
    The edition of a coordinator server (default: GeneralPurpose). Required for creation.
    coordinatorStorageQuotaInMb Integer
    The storage of a server in MB. Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    coordinatorVCores Integer
    The vCores count of a server (max: 96). Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    dataEncryption ServerGroupClusterDataEncryption
    The data encryption properties of a cluster.
    databaseName String
    The database name of the cluster. Only one database per cluster is supported.
    enableGeoBackup Boolean
    If cluster backup is stored in another Azure region in addition to the copy of the backup stored in the cluster's region. Enabled only at the time of cluster creation.
    enableHa Boolean
    If high availability (HA) is enabled or not for the cluster.
    enableShardsOnCoordinator Boolean
    If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed.
    identity IdentityProperties
    Describes the identity of the cluster.
    location String
    The geo-location where the resource lives
    maintenanceWindow ServerGroupClusterMaintenanceWindow
    Maintenance window of a cluster.
    nodeCount Integer
    Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1. Required for creation.
    nodeEnablePublicIpAccess Boolean
    If public access is enabled on worker nodes.
    nodeServerEdition String
    The edition of a node server (default: MemoryOptimized).
    nodeStorageQuotaInMb Integer
    The storage in MB on each worker node. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    nodeVCores Integer
    The compute in vCores on each worker node (max: 104). See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    pointInTimeUTC String
    Date and time in UTC (ISO8601 format) for cluster restore.
    postgresqlVersion String
    The major PostgreSQL version on all cluster servers.
    preferredPrimaryZone String
    Preferred primary availability zone (AZ) for all cluster servers.
    sourceLocation String
    The Azure region of source cluster for read replica clusters.
    sourceResourceId String
    The resource id of source cluster for read replica clusters.
    tags Map<String,String>
    Resource tags.
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    administratorLoginPassword string
    The password of the administrator login. Required for creation.
    authConfig ServerGroupClusterAuthConfig
    Authentication configuration of a cluster.
    citusVersion string
    The Citus extension version on all cluster servers.
    clusterName string
    The name of the cluster.
    coordinatorEnablePublicIpAccess boolean
    If public access is enabled on coordinator.
    coordinatorServerEdition string
    The edition of a coordinator server (default: GeneralPurpose). Required for creation.
    coordinatorStorageQuotaInMb number
    The storage of a server in MB. Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    coordinatorVCores number
    The vCores count of a server (max: 96). Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    dataEncryption ServerGroupClusterDataEncryption
    The data encryption properties of a cluster.
    databaseName string
    The database name of the cluster. Only one database per cluster is supported.
    enableGeoBackup boolean
    If cluster backup is stored in another Azure region in addition to the copy of the backup stored in the cluster's region. Enabled only at the time of cluster creation.
    enableHa boolean
    If high availability (HA) is enabled or not for the cluster.
    enableShardsOnCoordinator boolean
    If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed.
    identity IdentityProperties
    Describes the identity of the cluster.
    location string
    The geo-location where the resource lives
    maintenanceWindow ServerGroupClusterMaintenanceWindow
    Maintenance window of a cluster.
    nodeCount number
    Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1. Required for creation.
    nodeEnablePublicIpAccess boolean
    If public access is enabled on worker nodes.
    nodeServerEdition string
    The edition of a node server (default: MemoryOptimized).
    nodeStorageQuotaInMb number
    The storage in MB on each worker node. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    nodeVCores number
    The compute in vCores on each worker node (max: 104). See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    pointInTimeUTC string
    Date and time in UTC (ISO8601 format) for cluster restore.
    postgresqlVersion string
    The major PostgreSQL version on all cluster servers.
    preferredPrimaryZone string
    Preferred primary availability zone (AZ) for all cluster servers.
    sourceLocation string
    The Azure region of source cluster for read replica clusters.
    sourceResourceId string
    The resource id of source cluster for read replica clusters.
    tags {[key: string]: string}
    Resource tags.
    Code snippet for Python available in the adjacent code block.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    administrator_login_password str
    The password of the administrator login. Required for creation.
    auth_config ServerGroupClusterAuthConfigArgs
    Authentication configuration of a cluster.
    citus_version str
    The Citus extension version on all cluster servers.
    cluster_name str
    The name of the cluster.
    coordinator_enable_public_ip_access bool
    If public access is enabled on coordinator.
    coordinator_server_edition str
    The edition of a coordinator server (default: GeneralPurpose). Required for creation.
    coordinator_storage_quota_in_mb int
    The storage of a server in MB. Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    coordinator_v_cores int
    The vCores count of a server (max: 96). Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    data_encryption ServerGroupClusterDataEncryptionArgs
    The data encryption properties of a cluster.
    database_name str
    The database name of the cluster. Only one database per cluster is supported.
    enable_geo_backup bool
    If cluster backup is stored in another Azure region in addition to the copy of the backup stored in the cluster's region. Enabled only at the time of cluster creation.
    enable_ha bool
    If high availability (HA) is enabled or not for the cluster.
    enable_shards_on_coordinator bool
    If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed.
    identity IdentityPropertiesArgs
    Describes the identity of the cluster.
    location str
    The geo-location where the resource lives
    maintenance_window ServerGroupClusterMaintenanceWindowArgs
    Maintenance window of a cluster.
    node_count int
    Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1. Required for creation.
    node_enable_public_ip_access bool
    If public access is enabled on worker nodes.
    node_server_edition str
    The edition of a node server (default: MemoryOptimized).
    node_storage_quota_in_mb int
    The storage in MB on each worker node. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    node_v_cores int
    The compute in vCores on each worker node (max: 104). See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    point_in_time_utc str
    Date and time in UTC (ISO8601 format) for cluster restore.
    postgresql_version str
    The major PostgreSQL version on all cluster servers.
    preferred_primary_zone str
    Preferred primary availability zone (AZ) for all cluster servers.
    source_location str
    The Azure region of source cluster for read replica clusters.
    source_resource_id str
    The resource id of source cluster for read replica clusters.
    tags Mapping[str, str]
    Resource tags.
    Code snippet for YAML available in the adjacent code block.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    administratorLoginPassword String
    The password of the administrator login. Required for creation.
    authConfig Property Map
    Authentication configuration of a cluster.
    citusVersion String
    The Citus extension version on all cluster servers.
    clusterName String
    The name of the cluster.
    coordinatorEnablePublicIpAccess Boolean
    If public access is enabled on coordinator.
    coordinatorServerEdition String
    The edition of a coordinator server (default: GeneralPurpose). Required for creation.
    coordinatorStorageQuotaInMb Number
    The storage of a server in MB. Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    coordinatorVCores Number
    The vCores count of a server (max: 96). Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    dataEncryption Property Map
    The data encryption properties of a cluster.
    databaseName String
    The database name of the cluster. Only one database per cluster is supported.
    enableGeoBackup Boolean
    If cluster backup is stored in another Azure region in addition to the copy of the backup stored in the cluster's region. Enabled only at the time of cluster creation.
    enableHa Boolean
    If high availability (HA) is enabled or not for the cluster.
    enableShardsOnCoordinator Boolean
    If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed.
    identity Property Map
    Describes the identity of the cluster.
    location String
    The geo-location where the resource lives
    maintenanceWindow Property Map
    Maintenance window of a cluster.
    nodeCount Number
    Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1. Required for creation.
    nodeEnablePublicIpAccess Boolean
    If public access is enabled on worker nodes.
    nodeServerEdition String
    The edition of a node server (default: MemoryOptimized).
    nodeStorageQuotaInMb Number
    The storage in MB on each worker node. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    nodeVCores Number
    The compute in vCores on each worker node (max: 104). See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information.
    pointInTimeUTC String
    Date and time in UTC (ISO8601 format) for cluster restore.
    postgresqlVersion String
    The major PostgreSQL version on all cluster servers.
    preferredPrimaryZone String
    Preferred primary availability zone (AZ) for all cluster servers.
    sourceLocation String
    The Azure region of source cluster for read replica clusters.
    sourceResourceId String
    The resource id of source cluster for read replica clusters.
    tags Map<String>
    Resource tags.

    Outputs

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

    Code snippet for C# available in the adjacent code block.
    AadAuthEnabled string
    Indicates whether the cluster was created using AAD authentication.
    AdministratorLogin string
    The administrator's login name of the servers in the cluster.
    AzureApiVersion string
    The Azure API version of the resource.
    EarliestRestoreTime string
    The earliest restore point time (ISO8601 format) for the cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    PasswordEnabled string
    Indicates whether the cluster was created with a password or using AAD authentication.
    PrivateEndpointConnections List<Pulumi.AzureNative.DBforPostgreSQL.Outputs.SimplePrivateEndpointConnectionResponse>
    The private endpoint connections for a cluster.
    ProvisioningState string
    Provisioning state of the cluster
    ReadReplicas List<string>
    The array of read replica clusters.
    ServerNames List<Pulumi.AzureNative.DBforPostgreSQL.Outputs.ServerNameItemResponse>
    The list of server names in the cluster
    State string
    A state of a cluster/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"
    Code snippet for Go available in the adjacent code block.
    AadAuthEnabled string
    Indicates whether the cluster was created using AAD authentication.
    AdministratorLogin string
    The administrator's login name of the servers in the cluster.
    AzureApiVersion string
    The Azure API version of the resource.
    EarliestRestoreTime string
    The earliest restore point time (ISO8601 format) for the cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    PasswordEnabled string
    Indicates whether the cluster was created with a password or using AAD authentication.
    PrivateEndpointConnections []SimplePrivateEndpointConnectionResponse
    The private endpoint connections for a cluster.
    ProvisioningState string
    Provisioning state of the cluster
    ReadReplicas []string
    The array of read replica clusters.
    ServerNames []ServerNameItemResponse
    The list of server names in the cluster
    State string
    A state of a cluster/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"
    Code snippet for Java available in the adjacent code block.
    aadAuthEnabled String
    Indicates whether the cluster was created using AAD authentication.
    administratorLogin String
    The administrator's login name of the servers in the cluster.
    azureApiVersion String
    The Azure API version of the resource.
    earliestRestoreTime String
    The earliest restore point time (ISO8601 format) for the cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    passwordEnabled String
    Indicates whether the cluster was created with a password or using AAD authentication.
    privateEndpointConnections List<SimplePrivateEndpointConnectionResponse>
    The private endpoint connections for a cluster.
    provisioningState String
    Provisioning state of the cluster
    readReplicas List<String>
    The array of read replica clusters.
    serverNames List<ServerNameItemResponse>
    The list of server names in the cluster
    state String
    A state of a cluster/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"
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    aadAuthEnabled string
    Indicates whether the cluster was created using AAD authentication.
    administratorLogin string
    The administrator's login name of the servers in the cluster.
    azureApiVersion string
    The Azure API version of the resource.
    earliestRestoreTime string
    The earliest restore point time (ISO8601 format) for the cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    passwordEnabled string
    Indicates whether the cluster was created with a password or using AAD authentication.
    privateEndpointConnections SimplePrivateEndpointConnectionResponse[]
    The private endpoint connections for a cluster.
    provisioningState string
    Provisioning state of the cluster
    readReplicas string[]
    The array of read replica clusters.
    serverNames ServerNameItemResponse[]
    The list of server names in the cluster
    state string
    A state of a cluster/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"
    Code snippet for Python available in the adjacent code block.
    aad_auth_enabled str
    Indicates whether the cluster was created using AAD authentication.
    administrator_login str
    The administrator's login name of the servers in the cluster.
    azure_api_version str
    The Azure API version of the resource.
    earliest_restore_time str
    The earliest restore point time (ISO8601 format) for the cluster.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    password_enabled str
    Indicates whether the cluster was created with a password or using AAD authentication.
    private_endpoint_connections Sequence[SimplePrivateEndpointConnectionResponse]
    The private endpoint connections for a cluster.
    provisioning_state str
    Provisioning state of the cluster
    read_replicas Sequence[str]
    The array of read replica clusters.
    server_names Sequence[ServerNameItemResponse]
    The list of server names in the cluster
    state str
    A state of a cluster/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"
    Code snippet for YAML available in the adjacent code block.
    aadAuthEnabled String
    Indicates whether the cluster was created using AAD authentication.
    administratorLogin String
    The administrator's login name of the servers in the cluster.
    azureApiVersion String
    The Azure API version of the resource.
    earliestRestoreTime String
    The earliest restore point time (ISO8601 format) for the cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    passwordEnabled String
    Indicates whether the cluster was created with a password or using AAD authentication.
    privateEndpointConnections List<Property Map>
    The private endpoint connections for a cluster.
    provisioningState String
    Provisioning state of the cluster
    readReplicas List<String>
    The array of read replica clusters.
    serverNames List<Property Map>
    The list of server names in the cluster
    state String
    A state of a cluster/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

    ActiveDirectoryAuth, ActiveDirectoryAuthArgs

    Code snippet for C# available in the adjacent code block.
    Enabled
    enabled
    Disabled
    disabled
    Code snippet for Go available in the adjacent code block.
    ActiveDirectoryAuthEnabled
    enabled
    ActiveDirectoryAuthDisabled
    disabled
    Code snippet for Java available in the adjacent code block.
    Enabled
    enabled
    Disabled
    disabled
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    Enabled
    enabled
    Disabled
    disabled
    Code snippet for Python available in the adjacent code block.
    ENABLED
    enabled
    DISABLED
    disabled
    Code snippet for YAML available in the adjacent code block.
    "enabled"
    enabled
    "disabled"
    disabled

    DataEncryptionType, DataEncryptionTypeArgs

    Code snippet for C# available in the adjacent code block.
    AzureKeyVault
    AzureKeyVault
    SystemAssigned
    SystemAssigned
    Code snippet for Go available in the adjacent code block.
    DataEncryptionTypeAzureKeyVault
    AzureKeyVault
    DataEncryptionTypeSystemAssigned
    SystemAssigned
    Code snippet for Java available in the adjacent code block.
    AzureKeyVault
    AzureKeyVault
    SystemAssigned
    SystemAssigned
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    AzureKeyVault
    AzureKeyVault
    SystemAssigned
    SystemAssigned
    Code snippet for Python available in the adjacent code block.
    AZURE_KEY_VAULT
    AzureKeyVault
    SYSTEM_ASSIGNED
    SystemAssigned
    Code snippet for YAML available in the adjacent code block.
    "AzureKeyVault"
    AzureKeyVault
    "SystemAssigned"
    SystemAssigned

    IdentityProperties, IdentityPropertiesArgs

    Code snippet for C# available in the adjacent code block.
    Type string | Pulumi.AzureNative.DBforPostgreSQL.IdentityType
    UserAssignedIdentities List<string>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    Code snippet for Go available in the adjacent code block.
    Type string | IdentityType
    UserAssignedIdentities []string
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    Code snippet for Java available in the adjacent code block.
    type String | IdentityType
    userAssignedIdentities List<String>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    type string | IdentityType
    userAssignedIdentities string[]
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    Code snippet for Python available in the adjacent code block.
    type str | IdentityType
    user_assigned_identities Sequence[str]
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    Code snippet for YAML available in the adjacent code block.
    type String | "UserAssigned" | "SystemAssigned"
    userAssignedIdentities List<String>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

    IdentityPropertiesResponse, IdentityPropertiesResponseArgs

    Code snippet for C# available in the adjacent code block.
    Type string
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.DBforPostgreSQL.Inputs.UserAssignedIdentityResponse>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    Code snippet for Go available in the adjacent code block.
    Type string
    UserAssignedIdentities map[string]UserAssignedIdentityResponse
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    Code snippet for Java available in the adjacent code block.
    type String
    userAssignedIdentities Map<String,UserAssignedIdentityResponse>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    type string
    userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    Code snippet for Python available in the adjacent code block.
    type str
    user_assigned_identities Mapping[str, UserAssignedIdentityResponse]
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
    Code snippet for YAML available in the adjacent code block.
    type String
    userAssignedIdentities Map<Property Map>
    The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

    IdentityType, IdentityTypeArgs

    Code snippet for C# available in the adjacent code block.
    UserAssigned
    UserAssigned
    SystemAssigned
    SystemAssigned
    Code snippet for Go available in the adjacent code block.
    IdentityTypeUserAssigned
    UserAssigned
    IdentityTypeSystemAssigned
    SystemAssigned
    Code snippet for Java available in the adjacent code block.
    UserAssigned
    UserAssigned
    SystemAssigned
    SystemAssigned
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    UserAssigned
    UserAssigned
    SystemAssigned
    SystemAssigned
    Code snippet for Python available in the adjacent code block.
    USER_ASSIGNED
    UserAssigned
    SYSTEM_ASSIGNED
    SystemAssigned
    Code snippet for YAML available in the adjacent code block.
    "UserAssigned"
    UserAssigned
    "SystemAssigned"
    SystemAssigned

    PasswordAuth, PasswordAuthArgs

    Code snippet for C# available in the adjacent code block.
    Enabled
    enabled
    Disabled
    disabled
    Code snippet for Go available in the adjacent code block.
    PasswordAuthEnabled
    enabled
    PasswordAuthDisabled
    disabled
    Code snippet for Java available in the adjacent code block.
    Enabled
    enabled
    Disabled
    disabled
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    Enabled
    enabled
    Disabled
    disabled
    Code snippet for Python available in the adjacent code block.
    ENABLED
    enabled
    DISABLED
    disabled
    Code snippet for YAML available in the adjacent code block.
    "enabled"
    enabled
    "disabled"
    disabled

    PrivateEndpointPropertyResponse, PrivateEndpointPropertyResponseArgs

    Code snippet for C# available in the adjacent code block.
    Id string
    Resource id of the private endpoint.
    Code snippet for Go available in the adjacent code block.
    Id string
    Resource id of the private endpoint.
    Code snippet for Java available in the adjacent code block.
    id String
    Resource id of the private endpoint.
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    id string
    Resource id of the private endpoint.
    Code snippet for Python available in the adjacent code block.
    id str
    Resource id of the private endpoint.
    Code snippet for YAML available in the adjacent code block.
    id String
    Resource id of the private endpoint.

    PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs

    Code snippet for C# available in the adjacent code block.
    ActionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    Description string
    The reason for approval/rejection of the connection.
    Status string
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    Code snippet for Go available in the adjacent code block.
    ActionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    Description string
    The reason for approval/rejection of the connection.
    Status string
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    Code snippet for Java available in the adjacent code block.
    actionsRequired String
    A message indicating if changes on the service provider require any updates on the consumer.
    description String
    The reason for approval/rejection of the connection.
    status String
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    actionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    description string
    The reason for approval/rejection of the connection.
    status string
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    Code snippet for Python available in the adjacent code block.
    actions_required str
    A message indicating if changes on the service provider require any updates on the consumer.
    description str
    The reason for approval/rejection of the connection.
    status str
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    Code snippet for YAML available in the adjacent code block.
    actionsRequired String
    A message indicating if changes on the service provider require any updates on the consumer.
    description String
    The reason for approval/rejection of the connection.
    status String
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

    ServerGroupClusterAuthConfig, ServerGroupClusterAuthConfigArgs

    Code snippet for Go available in the adjacent code block.
    ActiveDirectoryAuth string | ActiveDirectoryAuth
    PasswordAuth string | PasswordAuth
    Code snippet for Java available in the adjacent code block.
    activeDirectoryAuth String | ActiveDirectoryAuth
    passwordAuth String | PasswordAuth
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    activeDirectoryAuth string | ActiveDirectoryAuth
    passwordAuth string | PasswordAuth
    Code snippet for Python available in the adjacent code block.
    active_directory_auth str | ActiveDirectoryAuth
    password_auth str | PasswordAuth
    Code snippet for YAML available in the adjacent code block.
    activeDirectoryAuth String | "enabled" | "disabled"
    passwordAuth String | "enabled" | "disabled"

    ServerGroupClusterAuthConfigResponse, ServerGroupClusterAuthConfigResponseArgs

    Code snippet for C# available in the adjacent code block.
    ActiveDirectoryAuth string
    PasswordAuth string
    Code snippet for Go available in the adjacent code block.
    ActiveDirectoryAuth string
    PasswordAuth string
    Code snippet for Java available in the adjacent code block.
    activeDirectoryAuth String
    passwordAuth String
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    activeDirectoryAuth string
    passwordAuth string
    Code snippet for Python available in the adjacent code block.
    active_directory_auth str
    password_auth str
    Code snippet for YAML available in the adjacent code block.
    activeDirectoryAuth String
    passwordAuth String

    ServerGroupClusterDataEncryption, ServerGroupClusterDataEncryptionArgs

    Code snippet for C# available in the adjacent code block.
    PrimaryKeyUri string
    URI for the key in keyvault for data encryption of the primary server.
    PrimaryUserAssignedIdentityId string
    Resource Id for the User assigned identity to be used for data encryption of the primary server.
    Type string | Pulumi.AzureNative.DBforPostgreSQL.DataEncryptionType
    Code snippet for Go available in the adjacent code block.
    PrimaryKeyUri string
    URI for the key in keyvault for data encryption of the primary server.
    PrimaryUserAssignedIdentityId string
    Resource Id for the User assigned identity to be used for data encryption of the primary server.
    Type string | DataEncryptionType
    Code snippet for Java available in the adjacent code block.
    primaryKeyUri String
    URI for the key in keyvault for data encryption of the primary server.
    primaryUserAssignedIdentityId String
    Resource Id for the User assigned identity to be used for data encryption of the primary server.
    type String | DataEncryptionType
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    primaryKeyUri string
    URI for the key in keyvault for data encryption of the primary server.
    primaryUserAssignedIdentityId string
    Resource Id for the User assigned identity to be used for data encryption of the primary server.
    type string | DataEncryptionType
    Code snippet for Python available in the adjacent code block.
    primary_key_uri str
    URI for the key in keyvault for data encryption of the primary server.
    primary_user_assigned_identity_id str
    Resource Id for the User assigned identity to be used for data encryption of the primary server.
    type str | DataEncryptionType
    Code snippet for YAML available in the adjacent code block.
    primaryKeyUri String
    URI for the key in keyvault for data encryption of the primary server.
    primaryUserAssignedIdentityId String
    Resource Id for the User assigned identity to be used for data encryption of the primary server.
    type String | "AzureKeyVault" | "SystemAssigned"

    ServerGroupClusterDataEncryptionResponse, ServerGroupClusterDataEncryptionResponseArgs

    Code snippet for C# available in the adjacent code block.
    PrimaryKeyUri string
    URI for the key in keyvault for data encryption of the primary server.
    PrimaryUserAssignedIdentityId string
    Resource Id for the User assigned identity to be used for data encryption of the primary server.
    Type string
    Code snippet for Go available in the adjacent code block.
    PrimaryKeyUri string
    URI for the key in keyvault for data encryption of the primary server.
    PrimaryUserAssignedIdentityId string
    Resource Id for the User assigned identity to be used for data encryption of the primary server.
    Type string
    Code snippet for Java available in the adjacent code block.
    primaryKeyUri String
    URI for the key in keyvault for data encryption of the primary server.
    primaryUserAssignedIdentityId String
    Resource Id for the User assigned identity to be used for data encryption of the primary server.
    type String
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    primaryKeyUri string
    URI for the key in keyvault for data encryption of the primary server.
    primaryUserAssignedIdentityId string
    Resource Id for the User assigned identity to be used for data encryption of the primary server.
    type string
    Code snippet for Python available in the adjacent code block.
    primary_key_uri str
    URI for the key in keyvault for data encryption of the primary server.
    primary_user_assigned_identity_id str
    Resource Id for the User assigned identity to be used for data encryption of the primary server.
    type str
    Code snippet for YAML available in the adjacent code block.
    primaryKeyUri String
    URI for the key in keyvault for data encryption of the primary server.
    primaryUserAssignedIdentityId String
    Resource Id for the User assigned identity to be used for data encryption of the primary server.
    type String

    ServerGroupClusterMaintenanceWindow, ServerGroupClusterMaintenanceWindowArgs

    Code snippet for C# available in the adjacent code block.
    CustomWindow string
    Indicates whether custom maintenance window is enabled or not.
    DayOfWeek int
    Preferred day of the week for maintenance window.
    StartHour int
    Start hour within preferred day of the week for maintenance window.
    StartMinute int
    Start minute within the start hour for maintenance window.
    Code snippet for Go available in the adjacent code block.
    CustomWindow string
    Indicates whether custom maintenance window is enabled or not.
    DayOfWeek int
    Preferred day of the week for maintenance window.
    StartHour int
    Start hour within preferred day of the week for maintenance window.
    StartMinute int
    Start minute within the start hour for maintenance window.
    Code snippet for Java available in the adjacent code block.
    customWindow String
    Indicates whether custom maintenance window is enabled or not.
    dayOfWeek Integer
    Preferred day of the week for maintenance window.
    startHour Integer
    Start hour within preferred day of the week for maintenance window.
    startMinute Integer
    Start minute within the start hour for maintenance window.
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    customWindow string
    Indicates whether custom maintenance window is enabled or not.
    dayOfWeek number
    Preferred day of the week for maintenance window.
    startHour number
    Start hour within preferred day of the week for maintenance window.
    startMinute number
    Start minute within the start hour for maintenance window.
    Code snippet for Python available in the adjacent code block.
    custom_window str
    Indicates whether custom maintenance window is enabled or not.
    day_of_week int
    Preferred day of the week for maintenance window.
    start_hour int
    Start hour within preferred day of the week for maintenance window.
    start_minute int
    Start minute within the start hour for maintenance window.
    Code snippet for YAML available in the adjacent code block.
    customWindow String
    Indicates whether custom maintenance window is enabled or not.
    dayOfWeek Number
    Preferred day of the week for maintenance window.
    startHour Number
    Start hour within preferred day of the week for maintenance window.
    startMinute Number
    Start minute within the start hour for maintenance window.

    ServerGroupClusterMaintenanceWindowResponse, ServerGroupClusterMaintenanceWindowResponseArgs

    Code snippet for C# available in the adjacent code block.
    CustomWindow string
    Indicates whether custom maintenance window is enabled or not.
    DayOfWeek int
    Preferred day of the week for maintenance window.
    StartHour int
    Start hour within preferred day of the week for maintenance window.
    StartMinute int
    Start minute within the start hour for maintenance window.
    Code snippet for Go available in the adjacent code block.
    CustomWindow string
    Indicates whether custom maintenance window is enabled or not.
    DayOfWeek int
    Preferred day of the week for maintenance window.
    StartHour int
    Start hour within preferred day of the week for maintenance window.
    StartMinute int
    Start minute within the start hour for maintenance window.
    Code snippet for Java available in the adjacent code block.
    customWindow String
    Indicates whether custom maintenance window is enabled or not.
    dayOfWeek Integer
    Preferred day of the week for maintenance window.
    startHour Integer
    Start hour within preferred day of the week for maintenance window.
    startMinute Integer
    Start minute within the start hour for maintenance window.
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    customWindow string
    Indicates whether custom maintenance window is enabled or not.
    dayOfWeek number
    Preferred day of the week for maintenance window.
    startHour number
    Start hour within preferred day of the week for maintenance window.
    startMinute number
    Start minute within the start hour for maintenance window.
    Code snippet for Python available in the adjacent code block.
    custom_window str
    Indicates whether custom maintenance window is enabled or not.
    day_of_week int
    Preferred day of the week for maintenance window.
    start_hour int
    Start hour within preferred day of the week for maintenance window.
    start_minute int
    Start minute within the start hour for maintenance window.
    Code snippet for YAML available in the adjacent code block.
    customWindow String
    Indicates whether custom maintenance window is enabled or not.
    dayOfWeek Number
    Preferred day of the week for maintenance window.
    startHour Number
    Start hour within preferred day of the week for maintenance window.
    startMinute Number
    Start minute within the start hour for maintenance window.

    ServerNameItemResponse, ServerNameItemResponseArgs

    Code snippet for C# available in the adjacent code block.
    FullyQualifiedDomainName string
    The fully qualified domain name of a server.
    Name string
    The name of a server.
    Code snippet for Go available in the adjacent code block.
    FullyQualifiedDomainName string
    The fully qualified domain name of a server.
    Name string
    The name of a server.
    Code snippet for Java available in the adjacent code block.
    fullyQualifiedDomainName String
    The fully qualified domain name of a server.
    name String
    The name of a server.
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    fullyQualifiedDomainName string
    The fully qualified domain name of a server.
    name string
    The name of a server.
    Code snippet for Python available in the adjacent code block.
    fully_qualified_domain_name str
    The fully qualified domain name of a server.
    name str
    The name of a server.
    Code snippet for YAML available in the adjacent code block.
    fullyQualifiedDomainName String
    The fully qualified domain name of a server.
    name String
    The name of a server.

    SimplePrivateEndpointConnectionResponse, SimplePrivateEndpointConnectionResponseArgs

    Code snippet for C# available in the adjacent code block.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.DBforPostgreSQL.Inputs.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"
    GroupIds List<string>
    Group ids of the private endpoint connection.
    PrivateEndpoint Pulumi.AzureNative.DBforPostgreSQL.Inputs.PrivateEndpointPropertyResponse
    Private endpoint which the connection belongs to.
    PrivateLinkServiceConnectionState Pulumi.AzureNative.DBforPostgreSQL.Inputs.PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    Code snippet for Go available in the adjacent code block.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Name string
    The name of the resource
    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"
    GroupIds []string
    Group ids of the private endpoint connection.
    PrivateEndpoint PrivateEndpointPropertyResponse
    Private endpoint which the connection belongs to.
    PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    Code snippet for Java available in the adjacent code block.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name String
    The name of the resource
    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"
    groupIds List<String>
    Group ids of the private endpoint connection.
    privateEndpoint PrivateEndpointPropertyResponse
    Private endpoint which the connection belongs to.
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name string
    The name of the resource
    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"
    groupIds string[]
    Group ids of the private endpoint connection.
    privateEndpoint PrivateEndpointPropertyResponse
    Private endpoint which the connection belongs to.
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    Code snippet for Python available in the adjacent code block.
    id str
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name str
    The name of the resource
    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"
    group_ids Sequence[str]
    Group ids of the private endpoint connection.
    private_endpoint PrivateEndpointPropertyResponse
    Private endpoint which the connection belongs to.
    private_link_service_connection_state PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    Code snippet for YAML available in the adjacent code block.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name String
    The name of the resource
    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"
    groupIds List<String>
    Group ids of the private endpoint connection.
    privateEndpoint Property Map
    Private endpoint which the connection belongs to.
    privateLinkServiceConnectionState Property Map
    A collection of information about the state of the connection between service consumer and provider.

    SystemDataResponse, SystemDataResponseArgs

    Code snippet for C# available in the adjacent code block.
    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.
    Code snippet for Go available in the adjacent code block.
    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.
    Code snippet for Java available in the adjacent code block.
    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.
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    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.
    Code snippet for Python available in the adjacent code block.
    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.
    Code snippet for YAML available in the adjacent code block.
    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.

    UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs

    Code snippet for C# available in the adjacent code block.
    ClientId string
    The client ID of the assigned identity.
    PrincipalId string
    The principal ID of the assigned identity.
    TenantId string
    Identifier of the tenant of a flexible server.
    Type string
    Types of identities associated with a flexible server.
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.DBforPostgreSQL.Inputs.UserIdentityResponse>
    Map of user assigned managed identities.
    Code snippet for Go available in the adjacent code block.
    ClientId string
    The client ID of the assigned identity.
    PrincipalId string
    The principal ID of the assigned identity.
    TenantId string
    Identifier of the tenant of a flexible server.
    Type string
    Types of identities associated with a flexible server.
    UserAssignedIdentities map[string]UserIdentityResponse
    Map of user assigned managed identities.
    Code snippet for Java available in the adjacent code block.
    clientId String
    The client ID of the assigned identity.
    principalId String
    The principal ID of the assigned identity.
    tenantId String
    Identifier of the tenant of a flexible server.
    type String
    Types of identities associated with a flexible server.
    userAssignedIdentities Map<String,UserIdentityResponse>
    Map of user assigned managed identities.
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    clientId string
    The client ID of the assigned identity.
    principalId string
    The principal ID of the assigned identity.
    tenantId string
    Identifier of the tenant of a flexible server.
    type string
    Types of identities associated with a flexible server.
    userAssignedIdentities {[key: string]: UserIdentityResponse}
    Map of user assigned managed identities.
    Code snippet for Python available in the adjacent code block.
    client_id str
    The client ID of the assigned identity.
    principal_id str
    The principal ID of the assigned identity.
    tenant_id str
    Identifier of the tenant of a flexible server.
    type str
    Types of identities associated with a flexible server.
    user_assigned_identities Mapping[str, UserIdentityResponse]
    Map of user assigned managed identities.
    Code snippet for YAML available in the adjacent code block.
    clientId String
    The client ID of the assigned identity.
    principalId String
    The principal ID of the assigned identity.
    tenantId String
    Identifier of the tenant of a flexible server.
    type String
    Types of identities associated with a flexible server.
    userAssignedIdentities Map<Property Map>
    Map of user assigned managed identities.

    UserIdentityResponse, UserIdentityResponseArgs

    Code snippet for C# available in the adjacent code block.
    ClientId string
    Identifier of the client of the service principal associated to the user assigned managed identity.
    PrincipalId string
    Identifier of the object of the service principal associated to the user assigned managed identity.
    Code snippet for Go available in the adjacent code block.
    ClientId string
    Identifier of the client of the service principal associated to the user assigned managed identity.
    PrincipalId string
    Identifier of the object of the service principal associated to the user assigned managed identity.
    Code snippet for Java available in the adjacent code block.
    clientId String
    Identifier of the client of the service principal associated to the user assigned managed identity.
    principalId String
    Identifier of the object of the service principal associated to the user assigned managed identity.
    Code snippet for JavaScript/TypeScript available in the adjacent code block.
    clientId string
    Identifier of the client of the service principal associated to the user assigned managed identity.
    principalId string
    Identifier of the object of the service principal associated to the user assigned managed identity.
    Code snippet for Python available in the adjacent code block.
    client_id str
    Identifier of the client of the service principal associated to the user assigned managed identity.
    principal_id str
    Identifier of the object of the service principal associated to the user assigned managed identity.
    Code snippet for YAML available in the adjacent code block.
    clientId String
    Identifier of the client of the service principal associated to the user assigned managed identity.
    principalId String
    Identifier of the object of the service principal associated to the user assigned managed identity.

    Import

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

    $ pulumi import azure-native:dbforpostgresql:ServerGroupCluster testcluster-singlenode /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.8.0 published on Wednesday, Sep 3, 2025 by Pulumi