We recommend using Azure Native.
azure.cosmosdb.PostgresqlCluster
Explore with Pulumi AI
Manages an Azure Cosmos DB for PostgreSQL Cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "example-resources",
    location: "West Europe",
});
const examplePostgresqlCluster = new azure.cosmosdb.PostgresqlCluster("example", {
    name: "example-cluster",
    resourceGroupName: example.name,
    location: example.location,
    administratorLoginPassword: "H@Sh1CoR3!",
    coordinatorStorageQuotaInMb: 131072,
    coordinatorVcoreCount: 2,
    nodeCount: 0,
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_postgresql_cluster = azure.cosmosdb.PostgresqlCluster("example",
    name="example-cluster",
    resource_group_name=example.name,
    location=example.location,
    administrator_login_password="H@Sh1CoR3!",
    coordinator_storage_quota_in_mb=131072,
    coordinator_vcore_count=2,
    node_count=0)
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/cosmosdb"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewPostgresqlCluster(ctx, "example", &cosmosdb.PostgresqlClusterArgs{
			Name:                        pulumi.String("example-cluster"),
			ResourceGroupName:           example.Name,
			Location:                    example.Location,
			AdministratorLoginPassword:  pulumi.String("H@Sh1CoR3!"),
			CoordinatorStorageQuotaInMb: pulumi.Int(131072),
			CoordinatorVcoreCount:       pulumi.Int(2),
			NodeCount:                   pulumi.Int(0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });
    var examplePostgresqlCluster = new Azure.CosmosDB.PostgresqlCluster("example", new()
    {
        Name = "example-cluster",
        ResourceGroupName = example.Name,
        Location = example.Location,
        AdministratorLoginPassword = "H@Sh1CoR3!",
        CoordinatorStorageQuotaInMb = 131072,
        CoordinatorVcoreCount = 2,
        NodeCount = 0,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.cosmosdb.PostgresqlCluster;
import com.pulumi.azure.cosmosdb.PostgresqlClusterArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());
        var examplePostgresqlCluster = new PostgresqlCluster("examplePostgresqlCluster", PostgresqlClusterArgs.builder()
            .name("example-cluster")
            .resourceGroupName(example.name())
            .location(example.location())
            .administratorLoginPassword("H@Sh1CoR3!")
            .coordinatorStorageQuotaInMb(131072)
            .coordinatorVcoreCount(2)
            .nodeCount(0)
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  examplePostgresqlCluster:
    type: azure:cosmosdb:PostgresqlCluster
    name: example
    properties:
      name: example-cluster
      resourceGroupName: ${example.name}
      location: ${example.location}
      administratorLoginPassword: H@Sh1CoR3!
      coordinatorStorageQuotaInMb: 131072
      coordinatorVcoreCount: 2
      nodeCount: 0
Create PostgresqlCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PostgresqlCluster(name: string, args: PostgresqlClusterArgs, opts?: CustomResourceOptions);@overload
def PostgresqlCluster(resource_name: str,
                      args: PostgresqlClusterArgs,
                      opts: Optional[ResourceOptions] = None)
@overload
def PostgresqlCluster(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      node_count: Optional[int] = None,
                      resource_group_name: Optional[str] = None,
                      coordinator_vcore_count: Optional[int] = None,
                      node_storage_quota_in_mb: Optional[int] = None,
                      coordinator_storage_quota_in_mb: Optional[int] = None,
                      administrator_login_password: Optional[str] = None,
                      ha_enabled: Optional[bool] = None,
                      location: Optional[str] = None,
                      maintenance_window: Optional[PostgresqlClusterMaintenanceWindowArgs] = None,
                      name: Optional[str] = None,
                      coordinator_public_ip_access_enabled: Optional[bool] = None,
                      node_public_ip_access_enabled: Optional[bool] = None,
                      node_server_edition: Optional[str] = None,
                      coordinator_server_edition: Optional[str] = None,
                      node_vcores: Optional[int] = None,
                      point_in_time_in_utc: Optional[str] = None,
                      preferred_primary_zone: Optional[str] = None,
                      citus_version: Optional[str] = None,
                      shards_on_coordinator_enabled: Optional[bool] = None,
                      source_location: Optional[str] = None,
                      source_resource_id: Optional[str] = None,
                      sql_version: Optional[str] = None,
                      tags: Optional[Mapping[str, str]] = None)func NewPostgresqlCluster(ctx *Context, name string, args PostgresqlClusterArgs, opts ...ResourceOption) (*PostgresqlCluster, error)public PostgresqlCluster(string name, PostgresqlClusterArgs args, CustomResourceOptions? opts = null)
public PostgresqlCluster(String name, PostgresqlClusterArgs args)
public PostgresqlCluster(String name, PostgresqlClusterArgs args, CustomResourceOptions options)
type: azure:cosmosdb:PostgresqlCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PostgresqlClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PostgresqlClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PostgresqlClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PostgresqlClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PostgresqlClusterArgs
- 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 postgresqlClusterResource = new Azure.CosmosDB.PostgresqlCluster("postgresqlClusterResource", new()
{
    NodeCount = 0,
    ResourceGroupName = "string",
    CoordinatorVcoreCount = 0,
    NodeStorageQuotaInMb = 0,
    CoordinatorStorageQuotaInMb = 0,
    AdministratorLoginPassword = "string",
    HaEnabled = false,
    Location = "string",
    MaintenanceWindow = new Azure.CosmosDB.Inputs.PostgresqlClusterMaintenanceWindowArgs
    {
        DayOfWeek = 0,
        StartHour = 0,
        StartMinute = 0,
    },
    Name = "string",
    CoordinatorPublicIpAccessEnabled = false,
    NodePublicIpAccessEnabled = false,
    NodeServerEdition = "string",
    CoordinatorServerEdition = "string",
    NodeVcores = 0,
    PointInTimeInUtc = "string",
    PreferredPrimaryZone = "string",
    CitusVersion = "string",
    ShardsOnCoordinatorEnabled = false,
    SourceLocation = "string",
    SourceResourceId = "string",
    SqlVersion = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := cosmosdb.NewPostgresqlCluster(ctx, "postgresqlClusterResource", &cosmosdb.PostgresqlClusterArgs{
	NodeCount:                   pulumi.Int(0),
	ResourceGroupName:           pulumi.String("string"),
	CoordinatorVcoreCount:       pulumi.Int(0),
	NodeStorageQuotaInMb:        pulumi.Int(0),
	CoordinatorStorageQuotaInMb: pulumi.Int(0),
	AdministratorLoginPassword:  pulumi.String("string"),
	HaEnabled:                   pulumi.Bool(false),
	Location:                    pulumi.String("string"),
	MaintenanceWindow: &cosmosdb.PostgresqlClusterMaintenanceWindowArgs{
		DayOfWeek:   pulumi.Int(0),
		StartHour:   pulumi.Int(0),
		StartMinute: pulumi.Int(0),
	},
	Name:                             pulumi.String("string"),
	CoordinatorPublicIpAccessEnabled: pulumi.Bool(false),
	NodePublicIpAccessEnabled:        pulumi.Bool(false),
	NodeServerEdition:                pulumi.String("string"),
	CoordinatorServerEdition:         pulumi.String("string"),
	NodeVcores:                       pulumi.Int(0),
	PointInTimeInUtc:                 pulumi.String("string"),
	PreferredPrimaryZone:             pulumi.String("string"),
	CitusVersion:                     pulumi.String("string"),
	ShardsOnCoordinatorEnabled:       pulumi.Bool(false),
	SourceLocation:                   pulumi.String("string"),
	SourceResourceId:                 pulumi.String("string"),
	SqlVersion:                       pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var postgresqlClusterResource = new PostgresqlCluster("postgresqlClusterResource", PostgresqlClusterArgs.builder()
    .nodeCount(0)
    .resourceGroupName("string")
    .coordinatorVcoreCount(0)
    .nodeStorageQuotaInMb(0)
    .coordinatorStorageQuotaInMb(0)
    .administratorLoginPassword("string")
    .haEnabled(false)
    .location("string")
    .maintenanceWindow(PostgresqlClusterMaintenanceWindowArgs.builder()
        .dayOfWeek(0)
        .startHour(0)
        .startMinute(0)
        .build())
    .name("string")
    .coordinatorPublicIpAccessEnabled(false)
    .nodePublicIpAccessEnabled(false)
    .nodeServerEdition("string")
    .coordinatorServerEdition("string")
    .nodeVcores(0)
    .pointInTimeInUtc("string")
    .preferredPrimaryZone("string")
    .citusVersion("string")
    .shardsOnCoordinatorEnabled(false)
    .sourceLocation("string")
    .sourceResourceId("string")
    .sqlVersion("string")
    .tags(Map.of("string", "string"))
    .build());
postgresql_cluster_resource = azure.cosmosdb.PostgresqlCluster("postgresqlClusterResource",
    node_count=0,
    resource_group_name="string",
    coordinator_vcore_count=0,
    node_storage_quota_in_mb=0,
    coordinator_storage_quota_in_mb=0,
    administrator_login_password="string",
    ha_enabled=False,
    location="string",
    maintenance_window={
        "day_of_week": 0,
        "start_hour": 0,
        "start_minute": 0,
    },
    name="string",
    coordinator_public_ip_access_enabled=False,
    node_public_ip_access_enabled=False,
    node_server_edition="string",
    coordinator_server_edition="string",
    node_vcores=0,
    point_in_time_in_utc="string",
    preferred_primary_zone="string",
    citus_version="string",
    shards_on_coordinator_enabled=False,
    source_location="string",
    source_resource_id="string",
    sql_version="string",
    tags={
        "string": "string",
    })
const postgresqlClusterResource = new azure.cosmosdb.PostgresqlCluster("postgresqlClusterResource", {
    nodeCount: 0,
    resourceGroupName: "string",
    coordinatorVcoreCount: 0,
    nodeStorageQuotaInMb: 0,
    coordinatorStorageQuotaInMb: 0,
    administratorLoginPassword: "string",
    haEnabled: false,
    location: "string",
    maintenanceWindow: {
        dayOfWeek: 0,
        startHour: 0,
        startMinute: 0,
    },
    name: "string",
    coordinatorPublicIpAccessEnabled: false,
    nodePublicIpAccessEnabled: false,
    nodeServerEdition: "string",
    coordinatorServerEdition: "string",
    nodeVcores: 0,
    pointInTimeInUtc: "string",
    preferredPrimaryZone: "string",
    citusVersion: "string",
    shardsOnCoordinatorEnabled: false,
    sourceLocation: "string",
    sourceResourceId: "string",
    sqlVersion: "string",
    tags: {
        string: "string",
    },
});
type: azure:cosmosdb:PostgresqlCluster
properties:
    administratorLoginPassword: string
    citusVersion: string
    coordinatorPublicIpAccessEnabled: false
    coordinatorServerEdition: string
    coordinatorStorageQuotaInMb: 0
    coordinatorVcoreCount: 0
    haEnabled: false
    location: string
    maintenanceWindow:
        dayOfWeek: 0
        startHour: 0
        startMinute: 0
    name: string
    nodeCount: 0
    nodePublicIpAccessEnabled: false
    nodeServerEdition: string
    nodeStorageQuotaInMb: 0
    nodeVcores: 0
    pointInTimeInUtc: string
    preferredPrimaryZone: string
    resourceGroupName: string
    shardsOnCoordinatorEnabled: false
    sourceLocation: string
    sourceResourceId: string
    sqlVersion: string
    tags:
        string: string
PostgresqlCluster 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 PostgresqlCluster resource accepts the following input properties:
- NodeCount int
- The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between 0and20except1.
- ResourceGroup stringName 
- The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- AdministratorLogin stringPassword 
- The password of the administrator login. This is required when source_resource_idis not set.
- CitusVersion string
- The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 8.3,9.0,9.1,9.2,9.3,9.4,9.5,10.0,10.1,10.2,11.0,11.1,11.2,11.3and12.1.
- CoordinatorPublic boolIp Access Enabled 
- Is public access enabled on coordinator? Defaults to true.
- CoordinatorServer stringEdition 
- The edition of the coordinator server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toGeneralPurpose.
- CoordinatorStorage intQuota In Mb 
- The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are - 32768,- 65536,- 131072,- 262144,- 524288,- 1048576,- 2097152,- 4194304,- 8388608,- 16777216, and- 33554432.- NOTE: More information on the types of compute resources available for CosmosDB can be found in the product documentation 
- CoordinatorVcore intCount 
- The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 1,2,4,8,16,32,64and96.
- HaEnabled bool
- Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to false.
- Location string
- The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- MaintenanceWindow PostgresqlCluster Maintenance Window 
- A maintenance_windowblock as defined below.
- Name string
- The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
- NodePublic boolIp Access Enabled 
- Is public access enabled on worker nodes. Defaults to false.
- NodeServer stringEdition 
- The edition of the node server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toMemoryOptimized.
- NodeStorage intQuota In Mb 
- The storage quota in MB on each worker node. Possible values are 32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608and16777216.
- NodeVcores int
- The vCores count on each worker node. Possible values are 1,2,4,8,16,32,64,96and104.
- PointIn stringTime In Utc 
- The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
- PreferredPrimary stringZone 
- The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
- bool
- Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
- SourceLocation string
- The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- SourceResource stringId 
- The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- SqlVersion string
- The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are 11,12,13,14,15and16.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
- NodeCount int
- The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between 0and20except1.
- ResourceGroup stringName 
- The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- AdministratorLogin stringPassword 
- The password of the administrator login. This is required when source_resource_idis not set.
- CitusVersion string
- The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 8.3,9.0,9.1,9.2,9.3,9.4,9.5,10.0,10.1,10.2,11.0,11.1,11.2,11.3and12.1.
- CoordinatorPublic boolIp Access Enabled 
- Is public access enabled on coordinator? Defaults to true.
- CoordinatorServer stringEdition 
- The edition of the coordinator server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toGeneralPurpose.
- CoordinatorStorage intQuota In Mb 
- The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are - 32768,- 65536,- 131072,- 262144,- 524288,- 1048576,- 2097152,- 4194304,- 8388608,- 16777216, and- 33554432.- NOTE: More information on the types of compute resources available for CosmosDB can be found in the product documentation 
- CoordinatorVcore intCount 
- The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 1,2,4,8,16,32,64and96.
- HaEnabled bool
- Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to false.
- Location string
- The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- MaintenanceWindow PostgresqlCluster Maintenance Window Args 
- A maintenance_windowblock as defined below.
- Name string
- The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
- NodePublic boolIp Access Enabled 
- Is public access enabled on worker nodes. Defaults to false.
- NodeServer stringEdition 
- The edition of the node server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toMemoryOptimized.
- NodeStorage intQuota In Mb 
- The storage quota in MB on each worker node. Possible values are 32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608and16777216.
- NodeVcores int
- The vCores count on each worker node. Possible values are 1,2,4,8,16,32,64,96and104.
- PointIn stringTime In Utc 
- The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
- PreferredPrimary stringZone 
- The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
- bool
- Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
- SourceLocation string
- The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- SourceResource stringId 
- The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- SqlVersion string
- The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are 11,12,13,14,15and16.
- map[string]string
- A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
- nodeCount Integer
- The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between 0and20except1.
- resourceGroup StringName 
- The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- administratorLogin StringPassword 
- The password of the administrator login. This is required when source_resource_idis not set.
- citusVersion String
- The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 8.3,9.0,9.1,9.2,9.3,9.4,9.5,10.0,10.1,10.2,11.0,11.1,11.2,11.3and12.1.
- coordinatorPublic BooleanIp Access Enabled 
- Is public access enabled on coordinator? Defaults to true.
- coordinatorServer StringEdition 
- The edition of the coordinator server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toGeneralPurpose.
- coordinatorStorage IntegerQuota In Mb 
- The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are - 32768,- 65536,- 131072,- 262144,- 524288,- 1048576,- 2097152,- 4194304,- 8388608,- 16777216, and- 33554432.- NOTE: More information on the types of compute resources available for CosmosDB can be found in the product documentation 
- coordinatorVcore IntegerCount 
- The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 1,2,4,8,16,32,64and96.
- haEnabled Boolean
- Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to false.
- location String
- The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- maintenanceWindow PostgresqlCluster Maintenance Window 
- A maintenance_windowblock as defined below.
- name String
- The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
- nodePublic BooleanIp Access Enabled 
- Is public access enabled on worker nodes. Defaults to false.
- nodeServer StringEdition 
- The edition of the node server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toMemoryOptimized.
- nodeStorage IntegerQuota In Mb 
- The storage quota in MB on each worker node. Possible values are 32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608and16777216.
- nodeVcores Integer
- The vCores count on each worker node. Possible values are 1,2,4,8,16,32,64,96and104.
- pointIn StringTime In Utc 
- The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
- preferredPrimary StringZone 
- The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
- Boolean
- Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
- sourceLocation String
- The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sourceResource StringId 
- The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sqlVersion String
- The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are 11,12,13,14,15and16.
- Map<String,String>
- A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
- nodeCount number
- The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between 0and20except1.
- resourceGroup stringName 
- The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- administratorLogin stringPassword 
- The password of the administrator login. This is required when source_resource_idis not set.
- citusVersion string
- The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 8.3,9.0,9.1,9.2,9.3,9.4,9.5,10.0,10.1,10.2,11.0,11.1,11.2,11.3and12.1.
- coordinatorPublic booleanIp Access Enabled 
- Is public access enabled on coordinator? Defaults to true.
- coordinatorServer stringEdition 
- The edition of the coordinator server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toGeneralPurpose.
- coordinatorStorage numberQuota In Mb 
- The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are - 32768,- 65536,- 131072,- 262144,- 524288,- 1048576,- 2097152,- 4194304,- 8388608,- 16777216, and- 33554432.- NOTE: More information on the types of compute resources available for CosmosDB can be found in the product documentation 
- coordinatorVcore numberCount 
- The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 1,2,4,8,16,32,64and96.
- haEnabled boolean
- Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to false.
- location string
- The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- maintenanceWindow PostgresqlCluster Maintenance Window 
- A maintenance_windowblock as defined below.
- name string
- The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
- nodePublic booleanIp Access Enabled 
- Is public access enabled on worker nodes. Defaults to false.
- nodeServer stringEdition 
- The edition of the node server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toMemoryOptimized.
- nodeStorage numberQuota In Mb 
- The storage quota in MB on each worker node. Possible values are 32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608and16777216.
- nodeVcores number
- The vCores count on each worker node. Possible values are 1,2,4,8,16,32,64,96and104.
- pointIn stringTime In Utc 
- The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
- preferredPrimary stringZone 
- The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
- boolean
- Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
- sourceLocation string
- The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sourceResource stringId 
- The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sqlVersion string
- The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are 11,12,13,14,15and16.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
- node_count int
- The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between 0and20except1.
- resource_group_ strname 
- The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- administrator_login_ strpassword 
- The password of the administrator login. This is required when source_resource_idis not set.
- citus_version str
- The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 8.3,9.0,9.1,9.2,9.3,9.4,9.5,10.0,10.1,10.2,11.0,11.1,11.2,11.3and12.1.
- coordinator_public_ boolip_ access_ enabled 
- Is public access enabled on coordinator? Defaults to true.
- coordinator_server_ stredition 
- The edition of the coordinator server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toGeneralPurpose.
- coordinator_storage_ intquota_ in_ mb 
- The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are - 32768,- 65536,- 131072,- 262144,- 524288,- 1048576,- 2097152,- 4194304,- 8388608,- 16777216, and- 33554432.- NOTE: More information on the types of compute resources available for CosmosDB can be found in the product documentation 
- coordinator_vcore_ intcount 
- The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 1,2,4,8,16,32,64and96.
- ha_enabled bool
- Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to false.
- location str
- The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- maintenance_window PostgresqlCluster Maintenance Window Args 
- A maintenance_windowblock as defined below.
- name str
- The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
- node_public_ boolip_ access_ enabled 
- Is public access enabled on worker nodes. Defaults to false.
- node_server_ stredition 
- The edition of the node server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toMemoryOptimized.
- node_storage_ intquota_ in_ mb 
- The storage quota in MB on each worker node. Possible values are 32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608and16777216.
- node_vcores int
- The vCores count on each worker node. Possible values are 1,2,4,8,16,32,64,96and104.
- point_in_ strtime_ in_ utc 
- The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
- preferred_primary_ strzone 
- The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
- bool
- Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
- source_location str
- The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- source_resource_ strid 
- The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sql_version str
- The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are 11,12,13,14,15and16.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
- nodeCount Number
- The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between 0and20except1.
- resourceGroup StringName 
- The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- administratorLogin StringPassword 
- The password of the administrator login. This is required when source_resource_idis not set.
- citusVersion String
- The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 8.3,9.0,9.1,9.2,9.3,9.4,9.5,10.0,10.1,10.2,11.0,11.1,11.2,11.3and12.1.
- coordinatorPublic BooleanIp Access Enabled 
- Is public access enabled on coordinator? Defaults to true.
- coordinatorServer StringEdition 
- The edition of the coordinator server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toGeneralPurpose.
- coordinatorStorage NumberQuota In Mb 
- The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are - 32768,- 65536,- 131072,- 262144,- 524288,- 1048576,- 2097152,- 4194304,- 8388608,- 16777216, and- 33554432.- NOTE: More information on the types of compute resources available for CosmosDB can be found in the product documentation 
- coordinatorVcore NumberCount 
- The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 1,2,4,8,16,32,64and96.
- haEnabled Boolean
- Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to false.
- location String
- The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- maintenanceWindow Property Map
- A maintenance_windowblock as defined below.
- name String
- The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
- nodePublic BooleanIp Access Enabled 
- Is public access enabled on worker nodes. Defaults to false.
- nodeServer StringEdition 
- The edition of the node server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toMemoryOptimized.
- nodeStorage NumberQuota In Mb 
- The storage quota in MB on each worker node. Possible values are 32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608and16777216.
- nodeVcores Number
- The vCores count on each worker node. Possible values are 1,2,4,8,16,32,64,96and104.
- pointIn StringTime In Utc 
- The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
- preferredPrimary StringZone 
- The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
- Boolean
- Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
- sourceLocation String
- The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sourceResource StringId 
- The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sqlVersion String
- The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are 11,12,13,14,15and16.
- Map<String>
- A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the PostgresqlCluster resource produces the following output properties:
- EarliestRestore stringTime 
- The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Servers
List<PostgresqlCluster Server> 
- A serversblock as defined below.
- EarliestRestore stringTime 
- The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Servers
[]PostgresqlCluster Server 
- A serversblock as defined below.
- earliestRestore StringTime 
- The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- servers
List<PostgresqlCluster Server> 
- A serversblock as defined below.
- earliestRestore stringTime 
- The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- servers
PostgresqlCluster Server[] 
- A serversblock as defined below.
- earliest_restore_ strtime 
- The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- servers
Sequence[PostgresqlCluster Server] 
- A serversblock as defined below.
- earliestRestore StringTime 
- The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- servers List<Property Map>
- A serversblock as defined below.
Look up Existing PostgresqlCluster Resource
Get an existing PostgresqlCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PostgresqlClusterState, opts?: CustomResourceOptions): PostgresqlCluster@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        administrator_login_password: Optional[str] = None,
        citus_version: Optional[str] = None,
        coordinator_public_ip_access_enabled: Optional[bool] = None,
        coordinator_server_edition: Optional[str] = None,
        coordinator_storage_quota_in_mb: Optional[int] = None,
        coordinator_vcore_count: Optional[int] = None,
        earliest_restore_time: Optional[str] = None,
        ha_enabled: Optional[bool] = None,
        location: Optional[str] = None,
        maintenance_window: Optional[PostgresqlClusterMaintenanceWindowArgs] = None,
        name: Optional[str] = None,
        node_count: Optional[int] = None,
        node_public_ip_access_enabled: Optional[bool] = None,
        node_server_edition: Optional[str] = None,
        node_storage_quota_in_mb: Optional[int] = None,
        node_vcores: Optional[int] = None,
        point_in_time_in_utc: Optional[str] = None,
        preferred_primary_zone: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        servers: Optional[Sequence[PostgresqlClusterServerArgs]] = None,
        shards_on_coordinator_enabled: Optional[bool] = None,
        source_location: Optional[str] = None,
        source_resource_id: Optional[str] = None,
        sql_version: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> PostgresqlClusterfunc GetPostgresqlCluster(ctx *Context, name string, id IDInput, state *PostgresqlClusterState, opts ...ResourceOption) (*PostgresqlCluster, error)public static PostgresqlCluster Get(string name, Input<string> id, PostgresqlClusterState? state, CustomResourceOptions? opts = null)public static PostgresqlCluster get(String name, Output<String> id, PostgresqlClusterState state, CustomResourceOptions options)resources:  _:    type: azure:cosmosdb:PostgresqlCluster    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AdministratorLogin stringPassword 
- The password of the administrator login. This is required when source_resource_idis not set.
- CitusVersion string
- The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 8.3,9.0,9.1,9.2,9.3,9.4,9.5,10.0,10.1,10.2,11.0,11.1,11.2,11.3and12.1.
- CoordinatorPublic boolIp Access Enabled 
- Is public access enabled on coordinator? Defaults to true.
- CoordinatorServer stringEdition 
- The edition of the coordinator server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toGeneralPurpose.
- CoordinatorStorage intQuota In Mb 
- The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are - 32768,- 65536,- 131072,- 262144,- 524288,- 1048576,- 2097152,- 4194304,- 8388608,- 16777216, and- 33554432.- NOTE: More information on the types of compute resources available for CosmosDB can be found in the product documentation 
- CoordinatorVcore intCount 
- The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 1,2,4,8,16,32,64and96.
- EarliestRestore stringTime 
- The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
- HaEnabled bool
- Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to false.
- Location string
- The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- MaintenanceWindow PostgresqlCluster Maintenance Window 
- A maintenance_windowblock as defined below.
- Name string
- The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
- NodeCount int
- The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between 0and20except1.
- NodePublic boolIp Access Enabled 
- Is public access enabled on worker nodes. Defaults to false.
- NodeServer stringEdition 
- The edition of the node server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toMemoryOptimized.
- NodeStorage intQuota In Mb 
- The storage quota in MB on each worker node. Possible values are 32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608and16777216.
- NodeVcores int
- The vCores count on each worker node. Possible values are 1,2,4,8,16,32,64,96and104.
- PointIn stringTime In Utc 
- The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
- PreferredPrimary stringZone 
- The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
- ResourceGroup stringName 
- The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- Servers
List<PostgresqlCluster Server> 
- A serversblock as defined below.
- ShardsOn boolCoordinator Enabled 
- Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
- SourceLocation string
- The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- SourceResource stringId 
- The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- SqlVersion string
- The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are 11,12,13,14,15and16.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
- AdministratorLogin stringPassword 
- The password of the administrator login. This is required when source_resource_idis not set.
- CitusVersion string
- The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 8.3,9.0,9.1,9.2,9.3,9.4,9.5,10.0,10.1,10.2,11.0,11.1,11.2,11.3and12.1.
- CoordinatorPublic boolIp Access Enabled 
- Is public access enabled on coordinator? Defaults to true.
- CoordinatorServer stringEdition 
- The edition of the coordinator server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toGeneralPurpose.
- CoordinatorStorage intQuota In Mb 
- The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are - 32768,- 65536,- 131072,- 262144,- 524288,- 1048576,- 2097152,- 4194304,- 8388608,- 16777216, and- 33554432.- NOTE: More information on the types of compute resources available for CosmosDB can be found in the product documentation 
- CoordinatorVcore intCount 
- The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 1,2,4,8,16,32,64and96.
- EarliestRestore stringTime 
- The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
- HaEnabled bool
- Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to false.
- Location string
- The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- MaintenanceWindow PostgresqlCluster Maintenance Window Args 
- A maintenance_windowblock as defined below.
- Name string
- The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
- NodeCount int
- The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between 0and20except1.
- NodePublic boolIp Access Enabled 
- Is public access enabled on worker nodes. Defaults to false.
- NodeServer stringEdition 
- The edition of the node server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toMemoryOptimized.
- NodeStorage intQuota In Mb 
- The storage quota in MB on each worker node. Possible values are 32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608and16777216.
- NodeVcores int
- The vCores count on each worker node. Possible values are 1,2,4,8,16,32,64,96and104.
- PointIn stringTime In Utc 
- The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
- PreferredPrimary stringZone 
- The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
- ResourceGroup stringName 
- The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- Servers
[]PostgresqlCluster Server Args 
- A serversblock as defined below.
- ShardsOn boolCoordinator Enabled 
- Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
- SourceLocation string
- The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- SourceResource stringId 
- The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- SqlVersion string
- The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are 11,12,13,14,15and16.
- map[string]string
- A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
- administratorLogin StringPassword 
- The password of the administrator login. This is required when source_resource_idis not set.
- citusVersion String
- The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 8.3,9.0,9.1,9.2,9.3,9.4,9.5,10.0,10.1,10.2,11.0,11.1,11.2,11.3and12.1.
- coordinatorPublic BooleanIp Access Enabled 
- Is public access enabled on coordinator? Defaults to true.
- coordinatorServer StringEdition 
- The edition of the coordinator server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toGeneralPurpose.
- coordinatorStorage IntegerQuota In Mb 
- The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are - 32768,- 65536,- 131072,- 262144,- 524288,- 1048576,- 2097152,- 4194304,- 8388608,- 16777216, and- 33554432.- NOTE: More information on the types of compute resources available for CosmosDB can be found in the product documentation 
- coordinatorVcore IntegerCount 
- The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 1,2,4,8,16,32,64and96.
- earliestRestore StringTime 
- The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
- haEnabled Boolean
- Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to false.
- location String
- The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- maintenanceWindow PostgresqlCluster Maintenance Window 
- A maintenance_windowblock as defined below.
- name String
- The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
- nodeCount Integer
- The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between 0and20except1.
- nodePublic BooleanIp Access Enabled 
- Is public access enabled on worker nodes. Defaults to false.
- nodeServer StringEdition 
- The edition of the node server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toMemoryOptimized.
- nodeStorage IntegerQuota In Mb 
- The storage quota in MB on each worker node. Possible values are 32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608and16777216.
- nodeVcores Integer
- The vCores count on each worker node. Possible values are 1,2,4,8,16,32,64,96and104.
- pointIn StringTime In Utc 
- The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
- preferredPrimary StringZone 
- The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
- resourceGroup StringName 
- The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- servers
List<PostgresqlCluster Server> 
- A serversblock as defined below.
- shardsOn BooleanCoordinator Enabled 
- Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
- sourceLocation String
- The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sourceResource StringId 
- The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sqlVersion String
- The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are 11,12,13,14,15and16.
- Map<String,String>
- A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
- administratorLogin stringPassword 
- The password of the administrator login. This is required when source_resource_idis not set.
- citusVersion string
- The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 8.3,9.0,9.1,9.2,9.3,9.4,9.5,10.0,10.1,10.2,11.0,11.1,11.2,11.3and12.1.
- coordinatorPublic booleanIp Access Enabled 
- Is public access enabled on coordinator? Defaults to true.
- coordinatorServer stringEdition 
- The edition of the coordinator server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toGeneralPurpose.
- coordinatorStorage numberQuota In Mb 
- The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are - 32768,- 65536,- 131072,- 262144,- 524288,- 1048576,- 2097152,- 4194304,- 8388608,- 16777216, and- 33554432.- NOTE: More information on the types of compute resources available for CosmosDB can be found in the product documentation 
- coordinatorVcore numberCount 
- The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 1,2,4,8,16,32,64and96.
- earliestRestore stringTime 
- The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
- haEnabled boolean
- Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to false.
- location string
- The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- maintenanceWindow PostgresqlCluster Maintenance Window 
- A maintenance_windowblock as defined below.
- name string
- The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
- nodeCount number
- The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between 0and20except1.
- nodePublic booleanIp Access Enabled 
- Is public access enabled on worker nodes. Defaults to false.
- nodeServer stringEdition 
- The edition of the node server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toMemoryOptimized.
- nodeStorage numberQuota In Mb 
- The storage quota in MB on each worker node. Possible values are 32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608and16777216.
- nodeVcores number
- The vCores count on each worker node. Possible values are 1,2,4,8,16,32,64,96and104.
- pointIn stringTime In Utc 
- The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
- preferredPrimary stringZone 
- The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
- resourceGroup stringName 
- The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- servers
PostgresqlCluster Server[] 
- A serversblock as defined below.
- shardsOn booleanCoordinator Enabled 
- Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
- sourceLocation string
- The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sourceResource stringId 
- The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sqlVersion string
- The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are 11,12,13,14,15and16.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
- administrator_login_ strpassword 
- The password of the administrator login. This is required when source_resource_idis not set.
- citus_version str
- The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 8.3,9.0,9.1,9.2,9.3,9.4,9.5,10.0,10.1,10.2,11.0,11.1,11.2,11.3and12.1.
- coordinator_public_ boolip_ access_ enabled 
- Is public access enabled on coordinator? Defaults to true.
- coordinator_server_ stredition 
- The edition of the coordinator server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toGeneralPurpose.
- coordinator_storage_ intquota_ in_ mb 
- The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are - 32768,- 65536,- 131072,- 262144,- 524288,- 1048576,- 2097152,- 4194304,- 8388608,- 16777216, and- 33554432.- NOTE: More information on the types of compute resources available for CosmosDB can be found in the product documentation 
- coordinator_vcore_ intcount 
- The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 1,2,4,8,16,32,64and96.
- earliest_restore_ strtime 
- The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
- ha_enabled bool
- Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to false.
- location str
- The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- maintenance_window PostgresqlCluster Maintenance Window Args 
- A maintenance_windowblock as defined below.
- name str
- The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
- node_count int
- The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between 0and20except1.
- node_public_ boolip_ access_ enabled 
- Is public access enabled on worker nodes. Defaults to false.
- node_server_ stredition 
- The edition of the node server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toMemoryOptimized.
- node_storage_ intquota_ in_ mb 
- The storage quota in MB on each worker node. Possible values are 32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608and16777216.
- node_vcores int
- The vCores count on each worker node. Possible values are 1,2,4,8,16,32,64,96and104.
- point_in_ strtime_ in_ utc 
- The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
- preferred_primary_ strzone 
- The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
- resource_group_ strname 
- The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- servers
Sequence[PostgresqlCluster Server Args] 
- A serversblock as defined below.
- shards_on_ boolcoordinator_ enabled 
- Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
- source_location str
- The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- source_resource_ strid 
- The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sql_version str
- The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are 11,12,13,14,15and16.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
- administratorLogin StringPassword 
- The password of the administrator login. This is required when source_resource_idis not set.
- citusVersion String
- The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 8.3,9.0,9.1,9.2,9.3,9.4,9.5,10.0,10.1,10.2,11.0,11.1,11.2,11.3and12.1.
- coordinatorPublic BooleanIp Access Enabled 
- Is public access enabled on coordinator? Defaults to true.
- coordinatorServer StringEdition 
- The edition of the coordinator server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toGeneralPurpose.
- coordinatorStorage NumberQuota In Mb 
- The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are - 32768,- 65536,- 131072,- 262144,- 524288,- 1048576,- 2097152,- 4194304,- 8388608,- 16777216, and- 33554432.- NOTE: More information on the types of compute resources available for CosmosDB can be found in the product documentation 
- coordinatorVcore NumberCount 
- The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are 1,2,4,8,16,32,64and96.
- earliestRestore StringTime 
- The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
- haEnabled Boolean
- Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to false.
- location String
- The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- maintenanceWindow Property Map
- A maintenance_windowblock as defined below.
- name String
- The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
- nodeCount Number
- The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between 0and20except1.
- nodePublic BooleanIp Access Enabled 
- Is public access enabled on worker nodes. Defaults to false.
- nodeServer StringEdition 
- The edition of the node server. Possible values are BurstableGeneralPurpose,BurstableMemoryOptimized,GeneralPurposeandMemoryOptimized. Defaults toMemoryOptimized.
- nodeStorage NumberQuota In Mb 
- The storage quota in MB on each worker node. Possible values are 32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608and16777216.
- nodeVcores Number
- The vCores count on each worker node. Possible values are 1,2,4,8,16,32,64,96and104.
- pointIn StringTime In Utc 
- The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
- preferredPrimary StringZone 
- The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
- resourceGroup StringName 
- The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
- servers List<Property Map>
- A serversblock as defined below.
- shardsOn BooleanCoordinator Enabled 
- Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
- sourceLocation String
- The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sourceResource StringId 
- The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
- sqlVersion String
- The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are 11,12,13,14,15and16.
- Map<String>
- A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
Supporting Types
PostgresqlClusterMaintenanceWindow, PostgresqlClusterMaintenanceWindowArgs        
- DayOf intWeek 
- The day of week for maintenance window, where the week starts on a Sunday, i.e. Sunday = 0, Monday =1. Defaults to0.
- StartHour int
- The start hour for maintenance window. Defaults to 0.
- StartMinute int
- The start minute for maintenance window. Defaults to 0.
- DayOf intWeek 
- The day of week for maintenance window, where the week starts on a Sunday, i.e. Sunday = 0, Monday =1. Defaults to0.
- StartHour int
- The start hour for maintenance window. Defaults to 0.
- StartMinute int
- The start minute for maintenance window. Defaults to 0.
- dayOf IntegerWeek 
- The day of week for maintenance window, where the week starts on a Sunday, i.e. Sunday = 0, Monday =1. Defaults to0.
- startHour Integer
- The start hour for maintenance window. Defaults to 0.
- startMinute Integer
- The start minute for maintenance window. Defaults to 0.
- dayOf numberWeek 
- The day of week for maintenance window, where the week starts on a Sunday, i.e. Sunday = 0, Monday =1. Defaults to0.
- startHour number
- The start hour for maintenance window. Defaults to 0.
- startMinute number
- The start minute for maintenance window. Defaults to 0.
- day_of_ intweek 
- The day of week for maintenance window, where the week starts on a Sunday, i.e. Sunday = 0, Monday =1. Defaults to0.
- start_hour int
- The start hour for maintenance window. Defaults to 0.
- start_minute int
- The start minute for maintenance window. Defaults to 0.
- dayOf NumberWeek 
- The day of week for maintenance window, where the week starts on a Sunday, i.e. Sunday = 0, Monday =1. Defaults to0.
- startHour Number
- The start hour for maintenance window. Defaults to 0.
- startMinute Number
- The start minute for maintenance window. Defaults to 0.
PostgresqlClusterServer, PostgresqlClusterServerArgs      
Import
Azure Cosmos DB for PostgreSQL Clusters can be imported using the resource id, e.g.
$ pulumi import azure:cosmosdb/postgresqlCluster:PostgresqlCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/cluster1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.