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.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.dbforpostgresql.ServerGroupCluster

Explore with Pulumi AI

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

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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
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
Copy

Create a new cluster as a read replica

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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
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
Copy

Create a new cluster with custom database name

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" },
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
    },
});
Copy
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",
    })
Copy
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
Copy

Create a new multi-node cluster

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,
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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: {},
});
Copy
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={})
Copy
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: {}
Copy

Create a new single node Burstable 1 vCore cluster

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" },
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
    },
});
Copy
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",
    })
Copy
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
Copy

Create a new single node Burstable 2 vCores cluster

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" },
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
    },
});
Copy
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",
    })
Copy
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
Copy

Create a new single node cluster

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" },
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
    },
});
Copy
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",
    })
Copy
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
Copy

Create ServerGroupCluster Resource

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

Constructor syntax

new ServerGroupCluster(name: string, args: ServerGroupClusterArgs, opts?: CustomResourceOptions);
@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,
                       tags: Optional[Mapping[str, str]] = None,
                       identity: Optional[IdentityPropertiesArgs] = 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[DataEncryptionArgs] = None,
                       database_name: Optional[str] = None,
                       enable_geo_backup: Optional[bool] = None,
                       enable_ha: Optional[bool] = None,
                       enable_shards_on_coordinator: Optional[bool] = None,
                       cluster_name: Optional[str] = None,
                       citus_version: Optional[str] = None,
                       postgresql_version: Optional[str] = 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,
                       maintenance_window: Optional[MaintenanceWindowArgs] = None,
                       preferred_primary_zone: Optional[str] = None,
                       auth_config: Optional[AuthConfigArgs] = None,
                       source_location: Optional[str] = None,
                       source_resource_id: Optional[str] = None,
                       administrator_login_password: Optional[str] = None)
func NewServerGroupCluster(ctx *Context, name string, args ServerGroupClusterArgs, opts ...ResourceOption) (*ServerGroupCluster, error)
public ServerGroupCluster(string name, ServerGroupClusterArgs args, CustomResourceOptions? opts = null)
public ServerGroupCluster(String name, ServerGroupClusterArgs args)
public ServerGroupCluster(String name, ServerGroupClusterArgs args, CustomResourceOptions options)
type: azure-native:dbforpostgresql:ServerGroupCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ServerGroupClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ServerGroupClusterArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ServerGroupClusterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ServerGroupClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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.

var serverGroupClusterResource = new AzureNative.DBforPostgreSQL.ServerGroupCluster("serverGroupClusterResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Identity = new AzureNative.DBforPostgreSQL.Inputs.IdentityPropertiesArgs
    {
        Type = "string",
        UserAssignedIdentities = new[]
        {
            "string",
        },
    },
    CoordinatorEnablePublicIpAccess = false,
    CoordinatorServerEdition = "string",
    CoordinatorStorageQuotaInMb = 0,
    CoordinatorVCores = 0,
    DataEncryption = new AzureNative.DBforPostgreSQL.Inputs.DataEncryptionArgs
    {
        GeoBackupEncryptionKeyStatus = "string",
        GeoBackupKeyURI = "string",
        GeoBackupUserAssignedIdentityId = "string",
        PrimaryEncryptionKeyStatus = "string",
        PrimaryKeyURI = "string",
        PrimaryKeyUri = "string",
        PrimaryUserAssignedIdentityId = "string",
        Type = "string",
    },
    DatabaseName = "string",
    EnableGeoBackup = false,
    EnableHa = false,
    EnableShardsOnCoordinator = false,
    ClusterName = "string",
    CitusVersion = "string",
    PostgresqlVersion = "string",
    NodeCount = 0,
    NodeEnablePublicIpAccess = false,
    NodeServerEdition = "string",
    NodeStorageQuotaInMb = 0,
    NodeVCores = 0,
    PointInTimeUTC = "string",
    MaintenanceWindow = new AzureNative.DBforPostgreSQL.Inputs.MaintenanceWindowArgs
    {
        CustomWindow = "string",
        DayOfWeek = 0,
        StartHour = 0,
        StartMinute = 0,
    },
    PreferredPrimaryZone = "string",
    AuthConfig = new AzureNative.DBforPostgreSQL.Inputs.AuthConfigArgs
    {
        ActiveDirectoryAuth = "string",
        PasswordAuth = "string",
        TenantId = "string",
    },
    SourceLocation = "string",
    SourceResourceId = "string",
    AdministratorLoginPassword = "string",
});
Copy
example, err := dbforpostgresql.NewServerGroupCluster(ctx, "serverGroupClusterResource", &dbforpostgresql.ServerGroupClusterArgs{
	ResourceGroupName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Identity: &dbforpostgresql.IdentityPropertiesArgs{
		Type: pulumi.String("string"),
		UserAssignedIdentities: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	CoordinatorEnablePublicIpAccess: pulumi.Bool(false),
	CoordinatorServerEdition:        pulumi.String("string"),
	CoordinatorStorageQuotaInMb:     pulumi.Int(0),
	CoordinatorVCores:               pulumi.Int(0),
	DataEncryption: &dbforpostgresql.DataEncryptionArgs{
		GeoBackupEncryptionKeyStatus:    pulumi.String("string"),
		GeoBackupKeyURI:                 pulumi.String("string"),
		GeoBackupUserAssignedIdentityId: pulumi.String("string"),
		PrimaryEncryptionKeyStatus:      pulumi.String("string"),
		PrimaryKeyURI:                   pulumi.String("string"),
		PrimaryKeyUri:                   pulumi.String("string"),
		PrimaryUserAssignedIdentityId:   pulumi.String("string"),
		Type:                            pulumi.String("string"),
	},
	DatabaseName:              pulumi.String("string"),
	EnableGeoBackup:           pulumi.Bool(false),
	EnableHa:                  pulumi.Bool(false),
	EnableShardsOnCoordinator: pulumi.Bool(false),
	ClusterName:               pulumi.String("string"),
	CitusVersion:              pulumi.String("string"),
	PostgresqlVersion:         pulumi.String("string"),
	NodeCount:                 pulumi.Int(0),
	NodeEnablePublicIpAccess:  pulumi.Bool(false),
	NodeServerEdition:         pulumi.String("string"),
	NodeStorageQuotaInMb:      pulumi.Int(0),
	NodeVCores:                pulumi.Int(0),
	PointInTimeUTC:            pulumi.String("string"),
	MaintenanceWindow: &dbforpostgresql.MaintenanceWindowArgs{
		CustomWindow: pulumi.String("string"),
		DayOfWeek:    pulumi.Int(0),
		StartHour:    pulumi.Int(0),
		StartMinute:  pulumi.Int(0),
	},
	PreferredPrimaryZone: pulumi.String("string"),
	AuthConfig: &dbforpostgresql.AuthConfigArgs{
		ActiveDirectoryAuth: pulumi.String("string"),
		PasswordAuth:        pulumi.String("string"),
		TenantId:            pulumi.String("string"),
	},
	SourceLocation:             pulumi.String("string"),
	SourceResourceId:           pulumi.String("string"),
	AdministratorLoginPassword: pulumi.String("string"),
})
Copy
var serverGroupClusterResource = new ServerGroupCluster("serverGroupClusterResource", ServerGroupClusterArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .tags(Map.of("string", "string"))
    .identity(IdentityPropertiesArgs.builder()
        .type("string")
        .userAssignedIdentities("string")
        .build())
    .coordinatorEnablePublicIpAccess(false)
    .coordinatorServerEdition("string")
    .coordinatorStorageQuotaInMb(0)
    .coordinatorVCores(0)
    .dataEncryption(DataEncryptionArgs.builder()
        .geoBackupEncryptionKeyStatus("string")
        .geoBackupKeyURI("string")
        .geoBackupUserAssignedIdentityId("string")
        .primaryEncryptionKeyStatus("string")
        .primaryKeyURI("string")
        .primaryKeyUri("string")
        .primaryUserAssignedIdentityId("string")
        .type("string")
        .build())
    .databaseName("string")
    .enableGeoBackup(false)
    .enableHa(false)
    .enableShardsOnCoordinator(false)
    .clusterName("string")
    .citusVersion("string")
    .postgresqlVersion("string")
    .nodeCount(0)
    .nodeEnablePublicIpAccess(false)
    .nodeServerEdition("string")
    .nodeStorageQuotaInMb(0)
    .nodeVCores(0)
    .pointInTimeUTC("string")
    .maintenanceWindow(MaintenanceWindowArgs.builder()
        .customWindow("string")
        .dayOfWeek(0)
        .startHour(0)
        .startMinute(0)
        .build())
    .preferredPrimaryZone("string")
    .authConfig(AuthConfigArgs.builder()
        .activeDirectoryAuth("string")
        .passwordAuth("string")
        .tenantId("string")
        .build())
    .sourceLocation("string")
    .sourceResourceId("string")
    .administratorLoginPassword("string")
    .build());
Copy
server_group_cluster_resource = azure_native.dbforpostgresql.ServerGroupCluster("serverGroupClusterResource",
    resource_group_name="string",
    location="string",
    tags={
        "string": "string",
    },
    identity={
        "type": "string",
        "user_assigned_identities": ["string"],
    },
    coordinator_enable_public_ip_access=False,
    coordinator_server_edition="string",
    coordinator_storage_quota_in_mb=0,
    coordinator_v_cores=0,
    data_encryption={
        "geo_backup_encryption_key_status": "string",
        "geo_backup_key_uri": "string",
        "geo_backup_user_assigned_identity_id": "string",
        "primary_encryption_key_status": "string",
        "primary_key_uri": "string",
        "primary_key_uri": "string",
        "primary_user_assigned_identity_id": "string",
        "type": "string",
    },
    database_name="string",
    enable_geo_backup=False,
    enable_ha=False,
    enable_shards_on_coordinator=False,
    cluster_name="string",
    citus_version="string",
    postgresql_version="string",
    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",
    maintenance_window={
        "custom_window": "string",
        "day_of_week": 0,
        "start_hour": 0,
        "start_minute": 0,
    },
    preferred_primary_zone="string",
    auth_config={
        "active_directory_auth": "string",
        "password_auth": "string",
        "tenant_id": "string",
    },
    source_location="string",
    source_resource_id="string",
    administrator_login_password="string")
Copy
const serverGroupClusterResource = new azure_native.dbforpostgresql.ServerGroupCluster("serverGroupClusterResource", {
    resourceGroupName: "string",
    location: "string",
    tags: {
        string: "string",
    },
    identity: {
        type: "string",
        userAssignedIdentities: ["string"],
    },
    coordinatorEnablePublicIpAccess: false,
    coordinatorServerEdition: "string",
    coordinatorStorageQuotaInMb: 0,
    coordinatorVCores: 0,
    dataEncryption: {
        geoBackupEncryptionKeyStatus: "string",
        geoBackupKeyURI: "string",
        geoBackupUserAssignedIdentityId: "string",
        primaryEncryptionKeyStatus: "string",
        primaryKeyURI: "string",
        primaryKeyUri: "string",
        primaryUserAssignedIdentityId: "string",
        type: "string",
    },
    databaseName: "string",
    enableGeoBackup: false,
    enableHa: false,
    enableShardsOnCoordinator: false,
    clusterName: "string",
    citusVersion: "string",
    postgresqlVersion: "string",
    nodeCount: 0,
    nodeEnablePublicIpAccess: false,
    nodeServerEdition: "string",
    nodeStorageQuotaInMb: 0,
    nodeVCores: 0,
    pointInTimeUTC: "string",
    maintenanceWindow: {
        customWindow: "string",
        dayOfWeek: 0,
        startHour: 0,
        startMinute: 0,
    },
    preferredPrimaryZone: "string",
    authConfig: {
        activeDirectoryAuth: "string",
        passwordAuth: "string",
        tenantId: "string",
    },
    sourceLocation: "string",
    sourceResourceId: "string",
    administratorLoginPassword: "string",
});
Copy
type: azure-native:dbforpostgresql:ServerGroupCluster
properties:
    administratorLoginPassword: string
    authConfig:
        activeDirectoryAuth: string
        passwordAuth: string
        tenantId: string
    citusVersion: string
    clusterName: string
    coordinatorEnablePublicIpAccess: false
    coordinatorServerEdition: string
    coordinatorStorageQuotaInMb: 0
    coordinatorVCores: 0
    dataEncryption:
        geoBackupEncryptionKeyStatus: string
        geoBackupKeyURI: string
        geoBackupUserAssignedIdentityId: string
        primaryEncryptionKeyStatus: string
        primaryKeyURI: string
        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
Copy

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

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:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
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.AuthConfig
Authentication configuration of a cluster.
CitusVersion string
The Citus extension version on all cluster servers.
ClusterName Changes to this property will trigger replacement. 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.DataEncryption
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 Changes to this property will trigger replacement. string
The geo-location where the resource lives
MaintenanceWindow Pulumi.AzureNative.DBforPostgreSQL.Inputs.MaintenanceWindow
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.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AdministratorLoginPassword string
The password of the administrator login. Required for creation.
AuthConfig AuthConfigArgs
Authentication configuration of a cluster.
CitusVersion string
The Citus extension version on all cluster servers.
ClusterName Changes to this property will trigger replacement. 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 DataEncryptionArgs
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 Changes to this property will trigger replacement. string
The geo-location where the resource lives
MaintenanceWindow MaintenanceWindowArgs
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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
administratorLoginPassword String
The password of the administrator login. Required for creation.
authConfig AuthConfig
Authentication configuration of a cluster.
citusVersion String
The Citus extension version on all cluster servers.
clusterName Changes to this property will trigger replacement. 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 DataEncryption
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 Changes to this property will trigger replacement. String
The geo-location where the resource lives
maintenanceWindow MaintenanceWindow
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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
administratorLoginPassword string
The password of the administrator login. Required for creation.
authConfig AuthConfig
Authentication configuration of a cluster.
citusVersion string
The Citus extension version on all cluster servers.
clusterName Changes to this property will trigger replacement. 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 DataEncryption
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 Changes to this property will trigger replacement. string
The geo-location where the resource lives
maintenanceWindow MaintenanceWindow
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.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
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 AuthConfigArgs
Authentication configuration of a cluster.
citus_version str
The Citus extension version on all cluster servers.
cluster_name Changes to this property will trigger replacement. 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 DataEncryptionArgs
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 Changes to this property will trigger replacement. str
The geo-location where the resource lives
maintenance_window MaintenanceWindowArgs
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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

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"
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"
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"
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"
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"
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

Enabled
enabled
Disabled
disabled
ActiveDirectoryAuthEnabled
enabled
ActiveDirectoryAuthDisabled
disabled
Enabled
enabled
Disabled
disabled
Enabled
enabled
Disabled
disabled
ENABLED
enabled
DISABLED
disabled
"enabled"
enabled
"disabled"
disabled

ActiveDirectoryAuthEnum
, ActiveDirectoryAuthEnumArgs

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

ArmServerKeyType
, ArmServerKeyTypeArgs

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

AuthConfig
, AuthConfigArgs

AuthConfigResponse
, AuthConfigResponseArgs

ActiveDirectoryAuth string
PasswordAuth string
TenantId string
Tenant id of the server.
ActiveDirectoryAuth string
PasswordAuth string
TenantId string
Tenant id of the server.
activeDirectoryAuth String
passwordAuth String
tenantId String
Tenant id of the server.
activeDirectoryAuth string
passwordAuth string
tenantId string
Tenant id of the server.
active_directory_auth str
password_auth str
tenant_id str
Tenant id of the server.
activeDirectoryAuth String
passwordAuth String
tenantId String
Tenant id of the server.

DataEncryption
, DataEncryptionArgs

GeoBackupEncryptionKeyStatus string | Pulumi.AzureNative.DBforPostgreSQL.KeyStatusEnum
Geo-backup encryption key status for Data encryption enabled server.
GeoBackupKeyURI string
URI for the key in keyvault for data encryption for geo-backup of server.
GeoBackupUserAssignedIdentityId string
Resource Id for the User assigned identity to be used for data encryption for geo-backup of server.
PrimaryEncryptionKeyStatus string | Pulumi.AzureNative.DBforPostgreSQL.KeyStatusEnum
Primary encryption key status for Data encryption enabled server.
PrimaryKeyURI string
URI for the key in keyvault for data encryption of the primary server.
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 | Pulumi.AzureNative.DBforPostgreSQL.ArmServerKeyType
GeoBackupEncryptionKeyStatus string | KeyStatusEnum
Geo-backup encryption key status for Data encryption enabled server.
GeoBackupKeyURI string
URI for the key in keyvault for data encryption for geo-backup of server.
GeoBackupUserAssignedIdentityId string
Resource Id for the User assigned identity to be used for data encryption for geo-backup of server.
PrimaryEncryptionKeyStatus string | KeyStatusEnum
Primary encryption key status for Data encryption enabled server.
PrimaryKeyURI string
URI for the key in keyvault for data encryption of the primary server.
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 | ArmServerKeyType
geoBackupEncryptionKeyStatus String | KeyStatusEnum
Geo-backup encryption key status for Data encryption enabled server.
geoBackupKeyURI String
URI for the key in keyvault for data encryption for geo-backup of server.
geoBackupUserAssignedIdentityId String
Resource Id for the User assigned identity to be used for data encryption for geo-backup of server.
primaryEncryptionKeyStatus String | KeyStatusEnum
Primary encryption key status for Data encryption enabled server.
primaryKeyURI String
URI for the key in keyvault for data encryption of the primary server.
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 | ArmServerKeyType
geoBackupEncryptionKeyStatus string | KeyStatusEnum
Geo-backup encryption key status for Data encryption enabled server.
geoBackupKeyURI string
URI for the key in keyvault for data encryption for geo-backup of server.
geoBackupUserAssignedIdentityId string
Resource Id for the User assigned identity to be used for data encryption for geo-backup of server.
primaryEncryptionKeyStatus string | KeyStatusEnum
Primary encryption key status for Data encryption enabled server.
primaryKeyURI string
URI for the key in keyvault for data encryption of the primary server.
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 | ArmServerKeyType
geo_backup_encryption_key_status str | KeyStatusEnum
Geo-backup encryption key status for Data encryption enabled server.
geo_backup_key_uri str
URI for the key in keyvault for data encryption for geo-backup of server.
geo_backup_user_assigned_identity_id str
Resource Id for the User assigned identity to be used for data encryption for geo-backup of server.
primary_encryption_key_status str | KeyStatusEnum
Primary encryption key status for Data encryption enabled server.
primary_key_uri str
URI for the key in keyvault for data encryption of the primary server.
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 | ArmServerKeyType
geoBackupEncryptionKeyStatus String | "Valid" | "Invalid"
Geo-backup encryption key status for Data encryption enabled server.
geoBackupKeyURI String
URI for the key in keyvault for data encryption for geo-backup of server.
geoBackupUserAssignedIdentityId String
Resource Id for the User assigned identity to be used for data encryption for geo-backup of server.
primaryEncryptionKeyStatus String | "Valid" | "Invalid"
Primary encryption key status for Data encryption enabled server.
primaryKeyURI String
URI for the key in keyvault for data encryption of the primary server.
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" | "SystemManaged" | "AzureKeyVault"

DataEncryptionResponse
, DataEncryptionResponseArgs

GeoBackupEncryptionKeyStatus string
Geo-backup encryption key status for Data encryption enabled server.
GeoBackupKeyURI string
URI for the key in keyvault for data encryption for geo-backup of server.
GeoBackupUserAssignedIdentityId string
Resource Id for the User assigned identity to be used for data encryption for geo-backup of server.
PrimaryEncryptionKeyStatus string
Primary encryption key status for Data encryption enabled server.
PrimaryKeyURI string
URI for the key in keyvault for data encryption of the primary server.
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
GeoBackupEncryptionKeyStatus string
Geo-backup encryption key status for Data encryption enabled server.
GeoBackupKeyURI string
URI for the key in keyvault for data encryption for geo-backup of server.
GeoBackupUserAssignedIdentityId string
Resource Id for the User assigned identity to be used for data encryption for geo-backup of server.
PrimaryEncryptionKeyStatus string
Primary encryption key status for Data encryption enabled server.
PrimaryKeyURI string
URI for the key in keyvault for data encryption of the primary server.
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
geoBackupEncryptionKeyStatus String
Geo-backup encryption key status for Data encryption enabled server.
geoBackupKeyURI String
URI for the key in keyvault for data encryption for geo-backup of server.
geoBackupUserAssignedIdentityId String
Resource Id for the User assigned identity to be used for data encryption for geo-backup of server.
primaryEncryptionKeyStatus String
Primary encryption key status for Data encryption enabled server.
primaryKeyURI String
URI for the key in keyvault for data encryption of the primary server.
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
geoBackupEncryptionKeyStatus string
Geo-backup encryption key status for Data encryption enabled server.
geoBackupKeyURI string
URI for the key in keyvault for data encryption for geo-backup of server.
geoBackupUserAssignedIdentityId string
Resource Id for the User assigned identity to be used for data encryption for geo-backup of server.
primaryEncryptionKeyStatus string
Primary encryption key status for Data encryption enabled server.
primaryKeyURI string
URI for the key in keyvault for data encryption of the primary server.
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
geo_backup_encryption_key_status str
Geo-backup encryption key status for Data encryption enabled server.
geo_backup_key_uri str
URI for the key in keyvault for data encryption for geo-backup of server.
geo_backup_user_assigned_identity_id str
Resource Id for the User assigned identity to be used for data encryption for geo-backup of server.
primary_encryption_key_status str
Primary encryption key status for Data encryption enabled server.
primary_key_uri str
URI for the key in keyvault for data encryption of the primary server.
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
geoBackupEncryptionKeyStatus String
Geo-backup encryption key status for Data encryption enabled server.
geoBackupKeyURI String
URI for the key in keyvault for data encryption for geo-backup of server.
geoBackupUserAssignedIdentityId String
Resource Id for the User assigned identity to be used for data encryption for geo-backup of server.
primaryEncryptionKeyStatus String
Primary encryption key status for Data encryption enabled server.
primaryKeyURI String
URI for the key in keyvault for data encryption of the primary server.
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
, DataEncryptionTypeArgs

AzureKeyVault
AzureKeyVault
SystemAssigned
SystemAssigned
DataEncryptionTypeAzureKeyVault
AzureKeyVault
DataEncryptionTypeSystemAssigned
SystemAssigned
AzureKeyVault
AzureKeyVault
SystemAssigned
SystemAssigned
AzureKeyVault
AzureKeyVault
SystemAssigned
SystemAssigned
AZURE_KEY_VAULT
AzureKeyVault
SYSTEM_ASSIGNED
SystemAssigned
"AzureKeyVault"
AzureKeyVault
"SystemAssigned"
SystemAssigned

IdentityProperties
, IdentityPropertiesArgs

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.
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.
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.
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.
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.
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

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.
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.
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.
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.
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.
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

UserAssigned
UserAssigned
SystemAssigned
SystemAssigned
IdentityTypeUserAssigned
UserAssigned
IdentityTypeSystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned
SystemAssigned
USER_ASSIGNED
UserAssigned
SYSTEM_ASSIGNED
SystemAssigned
"UserAssigned"
UserAssigned
"SystemAssigned"
SystemAssigned

KeyStatusEnum
, KeyStatusEnumArgs

Valid
Valid
Invalid
Invalid
KeyStatusEnumValid
Valid
KeyStatusEnumInvalid
Invalid
Valid
Valid
Invalid
Invalid
Valid
Valid
Invalid
Invalid
VALID
Valid
INVALID
Invalid
"Valid"
Valid
"Invalid"
Invalid

MaintenanceWindow
, MaintenanceWindowArgs

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.
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.
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.
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.
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.
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.

MaintenanceWindowResponse
, MaintenanceWindowResponseArgs

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.
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.
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.
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.
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.
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.

PasswordAuth
, PasswordAuthArgs

Enabled
enabled
Disabled
disabled
PasswordAuthEnabled
enabled
PasswordAuthDisabled
disabled
Enabled
enabled
Disabled
disabled
Enabled
enabled
Disabled
disabled
ENABLED
enabled
DISABLED
disabled
"enabled"
enabled
"disabled"
disabled

PasswordAuthEnum
, PasswordAuthEnumArgs

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

PrivateEndpointPropertyResponse
, PrivateEndpointPropertyResponseArgs

Id string
Resource id of the private endpoint.
Id string
Resource id of the private endpoint.
id String
Resource id of the private endpoint.
id string
Resource id of the private endpoint.
id str
Resource id of the private endpoint.
id String
Resource id of the private endpoint.

PrivateLinkServiceConnectionStateResponse
, PrivateLinkServiceConnectionStateResponseArgs

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.
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.
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.
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.
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.
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.

ServerNameItemResponse
, ServerNameItemResponseArgs

FullyQualifiedDomainName This property is required. string
The fully qualified domain name of a server.
Name string
The name of a server.
FullyQualifiedDomainName This property is required. string
The fully qualified domain name of a server.
Name string
The name of a server.
fullyQualifiedDomainName This property is required. String
The fully qualified domain name of a server.
name String
The name of a server.
fullyQualifiedDomainName This property is required. string
The fully qualified domain name of a server.
name string
The name of a server.
fully_qualified_domain_name This property is required. str
The fully qualified domain name of a server.
name str
The name of a server.
fullyQualifiedDomainName This property is required. String
The fully qualified domain name of a server.
name String
The name of a server.

SimplePrivateEndpointConnectionResponse
, SimplePrivateEndpointConnectionResponseArgs

Id This property is required. string
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
Name This property is required. string
The name of the resource
SystemData This property is required. Pulumi.AzureNative.DBforPostgreSQL.Inputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type This property is required. 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.
Id This property is required. string
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
Name This property is required. string
The name of the resource
SystemData This property is required. SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type This property is required. 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.
id This property is required. String
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name This property is required. String
The name of the resource
systemData This property is required. SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type This property is required. 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.
id This property is required. string
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name This property is required. string
The name of the resource
systemData This property is required. SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type This property is required. 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.
id This property is required. str
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name This property is required. str
The name of the resource
system_data This property is required. SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type This property is required. 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.
id This property is required. String
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name This property is required. String
The name of the resource
systemData This property is required. Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type This property is required. 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

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

UserAssignedIdentityResponse
, UserAssignedIdentityResponseArgs

ClientId This property is required. string
The client ID of the assigned identity.
PrincipalId This property is required. string
The principal ID of the assigned identity.
TenantId string
Tenant id of the server.
Type string
the types of identities associated with this resource
UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.DBforPostgreSQL.Inputs.UserIdentityResponse>
represents user assigned identities map.
ClientId This property is required. string
The client ID of the assigned identity.
PrincipalId This property is required. string
The principal ID of the assigned identity.
TenantId string
Tenant id of the server.
Type string
the types of identities associated with this resource
UserAssignedIdentities map[string]UserIdentityResponse
represents user assigned identities map.
clientId This property is required. String
The client ID of the assigned identity.
principalId This property is required. String
The principal ID of the assigned identity.
tenantId String
Tenant id of the server.
type String
the types of identities associated with this resource
userAssignedIdentities Map<String,UserIdentityResponse>
represents user assigned identities map.
clientId This property is required. string
The client ID of the assigned identity.
principalId This property is required. string
The principal ID of the assigned identity.
tenantId string
Tenant id of the server.
type string
the types of identities associated with this resource
userAssignedIdentities {[key: string]: UserIdentityResponse}
represents user assigned identities map.
client_id This property is required. str
The client ID of the assigned identity.
principal_id This property is required. str
The principal ID of the assigned identity.
tenant_id str
Tenant id of the server.
type str
the types of identities associated with this resource
user_assigned_identities Mapping[str, UserIdentityResponse]
represents user assigned identities map.
clientId This property is required. String
The client ID of the assigned identity.
principalId This property is required. String
The principal ID of the assigned identity.
tenantId String
Tenant id of the server.
type String
the types of identities associated with this resource
userAssignedIdentities Map<Property Map>
represents user assigned identities map.

UserIdentityResponse
, UserIdentityResponseArgs

ClientId string
the client identifier of the Service Principal which this identity represents.
PrincipalId string
the object identifier of the Service Principal which this identity represents.
ClientId string
the client identifier of the Service Principal which this identity represents.
PrincipalId string
the object identifier of the Service Principal which this identity represents.
clientId String
the client identifier of the Service Principal which this identity represents.
principalId String
the object identifier of the Service Principal which this identity represents.
clientId string
the client identifier of the Service Principal which this identity represents.
principalId string
the object identifier of the Service Principal which this identity represents.
client_id str
the client identifier of the Service Principal which this identity represents.
principal_id str
the object identifier of the Service Principal which this identity represents.
clientId String
the client identifier of the Service Principal which this identity represents.
principalId String
the object identifier of the Service Principal which this identity represents.

Import

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

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

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0