1. Packages
  2. Packages
  3. Databricks Provider
  4. API Docs
  5. PostgresProject
Viewing docs for Databricks v1.92.0
published on Tuesday, May 12, 2026 by Pulumi
databricks logo
Viewing docs for Databricks v1.92.0
published on Tuesday, May 12, 2026 by Pulumi

    Public Beta

    Example Usage

    Basic Project Creation

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    
    const _this = new databricks.PostgresProject("this", {
        projectId: "my-project",
        spec: {
            pgVersion: 17,
            displayName: "My Application Project",
        },
    });
    
    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.PostgresProject("this",
        project_id="my-project",
        spec={
            "pg_version": 17,
            "display_name": "My Application Project",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewPostgresProject(ctx, "this", &databricks.PostgresProjectArgs{
    			ProjectId: pulumi.String("my-project"),
    			Spec: &databricks.PostgresProjectSpecArgs{
    				PgVersion:   pulumi.Int(17),
    				DisplayName: pulumi.String("My Application Project"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Databricks.PostgresProject("this", new()
        {
            ProjectId = "my-project",
            Spec = new Databricks.Inputs.PostgresProjectSpecArgs
            {
                PgVersion = 17,
                DisplayName = "My Application Project",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.PostgresProject;
    import com.pulumi.databricks.PostgresProjectArgs;
    import com.pulumi.databricks.inputs.PostgresProjectSpecArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 this_ = new PostgresProject("this", PostgresProjectArgs.builder()
                .projectId("my-project")
                .spec(PostgresProjectSpecArgs.builder()
                    .pgVersion(17)
                    .displayName("My Application Project")
                    .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:PostgresProject
        properties:
          projectId: my-project
          spec:
            pgVersion: 17
            displayName: My Application Project
    
    Example coming soon!
    

    Project with Custom Settings

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    
    const _this = new databricks.PostgresProject("this", {
        projectId: "analytics-project",
        spec: {
            pgVersion: 16,
            displayName: "Analytics Workloads",
            historyRetentionDuration: "1209600s",
            defaultEndpointSettings: {
                autoscalingLimitMinCu: 1,
                autoscalingLimitMaxCu: 8,
                suspendTimeoutDuration: "86400s",
            },
        },
    });
    
    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.PostgresProject("this",
        project_id="analytics-project",
        spec={
            "pg_version": 16,
            "display_name": "Analytics Workloads",
            "history_retention_duration": "1209600s",
            "default_endpoint_settings": {
                "autoscaling_limit_min_cu": float(1),
                "autoscaling_limit_max_cu": float(8),
                "suspend_timeout_duration": "86400s",
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewPostgresProject(ctx, "this", &databricks.PostgresProjectArgs{
    			ProjectId: pulumi.String("analytics-project"),
    			Spec: &databricks.PostgresProjectSpecArgs{
    				PgVersion:                pulumi.Int(16),
    				DisplayName:              pulumi.String("Analytics Workloads"),
    				HistoryRetentionDuration: pulumi.String("1209600s"),
    				DefaultEndpointSettings: &databricks.PostgresProjectSpecDefaultEndpointSettingsArgs{
    					AutoscalingLimitMinCu:  pulumi.Float64(1),
    					AutoscalingLimitMaxCu:  pulumi.Float64(8),
    					SuspendTimeoutDuration: pulumi.String("86400s"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Databricks.PostgresProject("this", new()
        {
            ProjectId = "analytics-project",
            Spec = new Databricks.Inputs.PostgresProjectSpecArgs
            {
                PgVersion = 16,
                DisplayName = "Analytics Workloads",
                HistoryRetentionDuration = "1209600s",
                DefaultEndpointSettings = new Databricks.Inputs.PostgresProjectSpecDefaultEndpointSettingsArgs
                {
                    AutoscalingLimitMinCu = 1,
                    AutoscalingLimitMaxCu = 8,
                    SuspendTimeoutDuration = "86400s",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.PostgresProject;
    import com.pulumi.databricks.PostgresProjectArgs;
    import com.pulumi.databricks.inputs.PostgresProjectSpecArgs;
    import com.pulumi.databricks.inputs.PostgresProjectSpecDefaultEndpointSettingsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 this_ = new PostgresProject("this", PostgresProjectArgs.builder()
                .projectId("analytics-project")
                .spec(PostgresProjectSpecArgs.builder()
                    .pgVersion(16)
                    .displayName("Analytics Workloads")
                    .historyRetentionDuration("1209600s")
                    .defaultEndpointSettings(PostgresProjectSpecDefaultEndpointSettingsArgs.builder()
                        .autoscalingLimitMinCu(1.0)
                        .autoscalingLimitMaxCu(8.0)
                        .suspendTimeoutDuration("86400s")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:PostgresProject
        properties:
          projectId: analytics-project
          spec:
            pgVersion: 16
            displayName: Analytics Workloads
            historyRetentionDuration: 1209600s
            defaultEndpointSettings:
              autoscalingLimitMinCu: 1
              autoscalingLimitMaxCu: 8
              suspendTimeoutDuration: 86400s
    
    Example coming soon!
    

    Project with High Availability Endpoint

    Create a project whose read-write endpoint is configured with multiple compute instances for high availability. One compute instance acts as the read-write primary. The remaining secondary compute instances are ready for automatic failover if the primary becomes unavailable.

    This example manages implicitly created resources for the root branch and read-write endpoint. For more details, see the documentation for databricks.PostgresBranch and databricks.PostgresEndpoint.

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    
    const ha = new databricks.PostgresProject("ha", {
        projectId: "ha-project",
        spec: {
            pgVersion: 17,
            displayName: "HA Production Project",
        },
    });
    const production = new databricks.PostgresBranch("production", {
        branchId: "production",
        parent: ha.name,
        spec: {
            noExpiry: true,
            isProtected: true,
        },
        replaceExisting: true,
    });
    const primary = new databricks.PostgresEndpoint("primary", {
        endpointId: "primary",
        parent: production.name,
        spec: {
            endpointType: "ENDPOINT_TYPE_READ_WRITE",
            noSuspension: true,
            autoscalingLimitMinCu: 0.5,
            autoscalingLimitMaxCu: 4,
            group: {
                min: 2,
                max: 2,
                enableReadableSecondaries: false,
            },
        },
        replaceExisting: true,
    });
    
    import pulumi
    import pulumi_databricks as databricks
    
    ha = databricks.PostgresProject("ha",
        project_id="ha-project",
        spec={
            "pg_version": 17,
            "display_name": "HA Production Project",
        })
    production = databricks.PostgresBranch("production",
        branch_id="production",
        parent=ha.name,
        spec={
            "no_expiry": True,
            "is_protected": True,
        },
        replace_existing=True)
    primary = databricks.PostgresEndpoint("primary",
        endpoint_id="primary",
        parent=production.name,
        spec={
            "endpoint_type": "ENDPOINT_TYPE_READ_WRITE",
            "no_suspension": True,
            "autoscaling_limit_min_cu": 0.5,
            "autoscaling_limit_max_cu": float(4),
            "group": {
                "min": 2,
                "max": 2,
                "enable_readable_secondaries": False,
            },
        },
        replace_existing=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		ha, err := databricks.NewPostgresProject(ctx, "ha", &databricks.PostgresProjectArgs{
    			ProjectId: pulumi.String("ha-project"),
    			Spec: &databricks.PostgresProjectSpecArgs{
    				PgVersion:   pulumi.Int(17),
    				DisplayName: pulumi.String("HA Production Project"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		production, err := databricks.NewPostgresBranch(ctx, "production", &databricks.PostgresBranchArgs{
    			BranchId: pulumi.String("production"),
    			Parent:   ha.Name,
    			Spec: &databricks.PostgresBranchSpecArgs{
    				NoExpiry:    pulumi.Bool(true),
    				IsProtected: pulumi.Bool(true),
    			},
    			ReplaceExisting: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = databricks.NewPostgresEndpoint(ctx, "primary", &databricks.PostgresEndpointArgs{
    			EndpointId: pulumi.String("primary"),
    			Parent:     production.Name,
    			Spec: &databricks.PostgresEndpointSpecArgs{
    				EndpointType:          pulumi.String("ENDPOINT_TYPE_READ_WRITE"),
    				NoSuspension:          pulumi.Bool(true),
    				AutoscalingLimitMinCu: pulumi.Float64(0.5),
    				AutoscalingLimitMaxCu: pulumi.Float64(4),
    				Group: &databricks.PostgresEndpointSpecGroupArgs{
    					Min:                       pulumi.Int(2),
    					Max:                       pulumi.Int(2),
    					EnableReadableSecondaries: pulumi.Bool(false),
    				},
    			},
    			ReplaceExisting: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var ha = new Databricks.PostgresProject("ha", new()
        {
            ProjectId = "ha-project",
            Spec = new Databricks.Inputs.PostgresProjectSpecArgs
            {
                PgVersion = 17,
                DisplayName = "HA Production Project",
            },
        });
    
        var production = new Databricks.PostgresBranch("production", new()
        {
            BranchId = "production",
            Parent = ha.Name,
            Spec = new Databricks.Inputs.PostgresBranchSpecArgs
            {
                NoExpiry = true,
                IsProtected = true,
            },
            ReplaceExisting = true,
        });
    
        var primary = new Databricks.PostgresEndpoint("primary", new()
        {
            EndpointId = "primary",
            Parent = production.Name,
            Spec = new Databricks.Inputs.PostgresEndpointSpecArgs
            {
                EndpointType = "ENDPOINT_TYPE_READ_WRITE",
                NoSuspension = true,
                AutoscalingLimitMinCu = 0.5,
                AutoscalingLimitMaxCu = 4,
                Group = new Databricks.Inputs.PostgresEndpointSpecGroupArgs
                {
                    Min = 2,
                    Max = 2,
                    EnableReadableSecondaries = false,
                },
            },
            ReplaceExisting = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.PostgresProject;
    import com.pulumi.databricks.PostgresProjectArgs;
    import com.pulumi.databricks.inputs.PostgresProjectSpecArgs;
    import com.pulumi.databricks.PostgresBranch;
    import com.pulumi.databricks.PostgresBranchArgs;
    import com.pulumi.databricks.inputs.PostgresBranchSpecArgs;
    import com.pulumi.databricks.PostgresEndpoint;
    import com.pulumi.databricks.PostgresEndpointArgs;
    import com.pulumi.databricks.inputs.PostgresEndpointSpecArgs;
    import com.pulumi.databricks.inputs.PostgresEndpointSpecGroupArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 ha = new PostgresProject("ha", PostgresProjectArgs.builder()
                .projectId("ha-project")
                .spec(PostgresProjectSpecArgs.builder()
                    .pgVersion(17)
                    .displayName("HA Production Project")
                    .build())
                .build());
    
            var production = new PostgresBranch("production", PostgresBranchArgs.builder()
                .branchId("production")
                .parent(ha.name())
                .spec(PostgresBranchSpecArgs.builder()
                    .noExpiry(true)
                    .isProtected(true)
                    .build())
                .replaceExisting(true)
                .build());
    
            var primary = new PostgresEndpoint("primary", PostgresEndpointArgs.builder()
                .endpointId("primary")
                .parent(production.name())
                .spec(PostgresEndpointSpecArgs.builder()
                    .endpointType("ENDPOINT_TYPE_READ_WRITE")
                    .noSuspension(true)
                    .autoscalingLimitMinCu(0.5)
                    .autoscalingLimitMaxCu(4.0)
                    .group(PostgresEndpointSpecGroupArgs.builder()
                        .min(2)
                        .max(2)
                        .enableReadableSecondaries(false)
                        .build())
                    .build())
                .replaceExisting(true)
                .build());
    
        }
    }
    
    resources:
      ha:
        type: databricks:PostgresProject
        properties:
          projectId: ha-project
          spec:
            pgVersion: 17
            displayName: HA Production Project
      production:
        type: databricks:PostgresBranch
        properties:
          branchId: production
          parent: ${ha.name}
          spec:
            noExpiry: true
            isProtected: true
          replaceExisting: true
      primary:
        type: databricks:PostgresEndpoint
        properties:
          endpointId: primary
          parent: ${production.name}
          spec:
            endpointType: ENDPOINT_TYPE_READ_WRITE
            noSuspension: true
            autoscalingLimitMinCu: 0.5
            autoscalingLimitMaxCu: 4
            group:
              min: 2
              max: 2
              enableReadableSecondaries: false
          replaceExisting: true
    
    Example coming soon!
    

    Referencing in Other Resources

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    
    const _this = new databricks.PostgresProject("this", {
        projectId: "my-project",
        spec: {
            pgVersion: 17,
            displayName: "My Project",
        },
    });
    const dev = new databricks.PostgresBranch("dev", {
        branchId: "dev-branch",
        parent: _this.name,
        spec: {
            noExpiry: true,
        },
    });
    
    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.PostgresProject("this",
        project_id="my-project",
        spec={
            "pg_version": 17,
            "display_name": "My Project",
        })
    dev = databricks.PostgresBranch("dev",
        branch_id="dev-branch",
        parent=this.name,
        spec={
            "no_expiry": True,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		this, err := databricks.NewPostgresProject(ctx, "this", &databricks.PostgresProjectArgs{
    			ProjectId: pulumi.String("my-project"),
    			Spec: &databricks.PostgresProjectSpecArgs{
    				PgVersion:   pulumi.Int(17),
    				DisplayName: pulumi.String("My Project"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = databricks.NewPostgresBranch(ctx, "dev", &databricks.PostgresBranchArgs{
    			BranchId: pulumi.String("dev-branch"),
    			Parent:   this.Name,
    			Spec: &databricks.PostgresBranchSpecArgs{
    				NoExpiry: pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Databricks.PostgresProject("this", new()
        {
            ProjectId = "my-project",
            Spec = new Databricks.Inputs.PostgresProjectSpecArgs
            {
                PgVersion = 17,
                DisplayName = "My Project",
            },
        });
    
        var dev = new Databricks.PostgresBranch("dev", new()
        {
            BranchId = "dev-branch",
            Parent = @this.Name,
            Spec = new Databricks.Inputs.PostgresBranchSpecArgs
            {
                NoExpiry = true,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.PostgresProject;
    import com.pulumi.databricks.PostgresProjectArgs;
    import com.pulumi.databricks.inputs.PostgresProjectSpecArgs;
    import com.pulumi.databricks.PostgresBranch;
    import com.pulumi.databricks.PostgresBranchArgs;
    import com.pulumi.databricks.inputs.PostgresBranchSpecArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 this_ = new PostgresProject("this", PostgresProjectArgs.builder()
                .projectId("my-project")
                .spec(PostgresProjectSpecArgs.builder()
                    .pgVersion(17)
                    .displayName("My Project")
                    .build())
                .build());
    
            var dev = new PostgresBranch("dev", PostgresBranchArgs.builder()
                .branchId("dev-branch")
                .parent(this_.name())
                .spec(PostgresBranchSpecArgs.builder()
                    .noExpiry(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:PostgresProject
        properties:
          projectId: my-project
          spec:
            pgVersion: 17
            displayName: My Project
      dev:
        type: databricks:PostgresBranch
        properties:
          branchId: dev-branch
          parent: ${this.name}
          spec:
            noExpiry: true
    
    Example coming soon!
    

    Create PostgresProject Resource

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

    Constructor syntax

    new PostgresProject(name: string, args: PostgresProjectArgs, opts?: CustomResourceOptions);
    @overload
    def PostgresProject(resource_name: str,
                        args: PostgresProjectArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def PostgresProject(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        project_id: Optional[str] = None,
                        initial_endpoint_spec: Optional[PostgresProjectInitialEndpointSpecArgs] = None,
                        provider_config: Optional[PostgresProjectProviderConfigArgs] = None,
                        purge_on_delete: Optional[bool] = None,
                        spec: Optional[PostgresProjectSpecArgs] = None)
    func NewPostgresProject(ctx *Context, name string, args PostgresProjectArgs, opts ...ResourceOption) (*PostgresProject, error)
    public PostgresProject(string name, PostgresProjectArgs args, CustomResourceOptions? opts = null)
    public PostgresProject(String name, PostgresProjectArgs args)
    public PostgresProject(String name, PostgresProjectArgs args, CustomResourceOptions options)
    
    type: databricks:PostgresProject
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "databricks_postgresproject" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PostgresProjectArgs
    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 PostgresProjectArgs
    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 PostgresProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PostgresProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PostgresProjectArgs
    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 postgresProjectResource = new Databricks.PostgresProject("postgresProjectResource", new()
    {
        ProjectId = "string",
        InitialEndpointSpec = new Databricks.Inputs.PostgresProjectInitialEndpointSpecArgs
        {
            Group = new Databricks.Inputs.PostgresProjectInitialEndpointSpecGroupArgs
            {
                Max = 0,
                Min = 0,
                EnableReadableSecondaries = false,
            },
        },
        ProviderConfig = new Databricks.Inputs.PostgresProjectProviderConfigArgs
        {
            WorkspaceId = "string",
        },
        PurgeOnDelete = false,
        Spec = new Databricks.Inputs.PostgresProjectSpecArgs
        {
            BudgetPolicyId = "string",
            CustomTags = new[]
            {
                new Databricks.Inputs.PostgresProjectSpecCustomTagArgs
                {
                    Key = "string",
                    Value = "string",
                },
            },
            DefaultBranch = "string",
            DefaultEndpointSettings = new Databricks.Inputs.PostgresProjectSpecDefaultEndpointSettingsArgs
            {
                AutoscalingLimitMaxCu = 0,
                AutoscalingLimitMinCu = 0,
                NoSuspension = false,
                PgSettings = 
                {
                    { "string", "string" },
                },
                SuspendTimeoutDuration = "string",
            },
            DisplayName = "string",
            EnablePgNativeLogin = false,
            HistoryRetentionDuration = "string",
            PgVersion = 0,
        },
    });
    
    example, err := databricks.NewPostgresProject(ctx, "postgresProjectResource", &databricks.PostgresProjectArgs{
    	ProjectId: pulumi.String("string"),
    	InitialEndpointSpec: &databricks.PostgresProjectInitialEndpointSpecArgs{
    		Group: &databricks.PostgresProjectInitialEndpointSpecGroupArgs{
    			Max:                       pulumi.Int(0),
    			Min:                       pulumi.Int(0),
    			EnableReadableSecondaries: pulumi.Bool(false),
    		},
    	},
    	ProviderConfig: &databricks.PostgresProjectProviderConfigArgs{
    		WorkspaceId: pulumi.String("string"),
    	},
    	PurgeOnDelete: pulumi.Bool(false),
    	Spec: &databricks.PostgresProjectSpecArgs{
    		BudgetPolicyId: pulumi.String("string"),
    		CustomTags: databricks.PostgresProjectSpecCustomTagArray{
    			&databricks.PostgresProjectSpecCustomTagArgs{
    				Key:   pulumi.String("string"),
    				Value: pulumi.String("string"),
    			},
    		},
    		DefaultBranch: pulumi.String("string"),
    		DefaultEndpointSettings: &databricks.PostgresProjectSpecDefaultEndpointSettingsArgs{
    			AutoscalingLimitMaxCu: pulumi.Float64(0),
    			AutoscalingLimitMinCu: pulumi.Float64(0),
    			NoSuspension:          pulumi.Bool(false),
    			PgSettings: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			SuspendTimeoutDuration: pulumi.String("string"),
    		},
    		DisplayName:              pulumi.String("string"),
    		EnablePgNativeLogin:      pulumi.Bool(false),
    		HistoryRetentionDuration: pulumi.String("string"),
    		PgVersion:                pulumi.Int(0),
    	},
    })
    
    resource "databricks_postgresproject" "postgresProjectResource" {
      project_id = "string"
      initial_endpoint_spec = {
        group = {
          max                         = 0
          min                         = 0
          enable_readable_secondaries = false
        }
      }
      provider_config = {
        workspace_id = "string"
      }
      purge_on_delete = false
      spec = {
        budget_policy_id = "string"
        custom_tags = [{
          "key"   = "string"
          "value" = "string"
        }]
        default_branch = "string"
        default_endpoint_settings = {
          autoscaling_limit_max_cu = 0
          autoscaling_limit_min_cu = 0
          no_suspension            = false
          pg_settings = {
            "string" = "string"
          }
          suspend_timeout_duration = "string"
        }
        display_name               = "string"
        enable_pg_native_login     = false
        history_retention_duration = "string"
        pg_version                 = 0
      }
    }
    
    var postgresProjectResource = new PostgresProject("postgresProjectResource", PostgresProjectArgs.builder()
        .projectId("string")
        .initialEndpointSpec(PostgresProjectInitialEndpointSpecArgs.builder()
            .group(PostgresProjectInitialEndpointSpecGroupArgs.builder()
                .max(0)
                .min(0)
                .enableReadableSecondaries(false)
                .build())
            .build())
        .providerConfig(PostgresProjectProviderConfigArgs.builder()
            .workspaceId("string")
            .build())
        .purgeOnDelete(false)
        .spec(PostgresProjectSpecArgs.builder()
            .budgetPolicyId("string")
            .customTags(PostgresProjectSpecCustomTagArgs.builder()
                .key("string")
                .value("string")
                .build())
            .defaultBranch("string")
            .defaultEndpointSettings(PostgresProjectSpecDefaultEndpointSettingsArgs.builder()
                .autoscalingLimitMaxCu(0.0)
                .autoscalingLimitMinCu(0.0)
                .noSuspension(false)
                .pgSettings(Map.of("string", "string"))
                .suspendTimeoutDuration("string")
                .build())
            .displayName("string")
            .enablePgNativeLogin(false)
            .historyRetentionDuration("string")
            .pgVersion(0)
            .build())
        .build());
    
    postgres_project_resource = databricks.PostgresProject("postgresProjectResource",
        project_id="string",
        initial_endpoint_spec={
            "group": {
                "max": 0,
                "min": 0,
                "enable_readable_secondaries": False,
            },
        },
        provider_config={
            "workspace_id": "string",
        },
        purge_on_delete=False,
        spec={
            "budget_policy_id": "string",
            "custom_tags": [{
                "key": "string",
                "value": "string",
            }],
            "default_branch": "string",
            "default_endpoint_settings": {
                "autoscaling_limit_max_cu": float(0),
                "autoscaling_limit_min_cu": float(0),
                "no_suspension": False,
                "pg_settings": {
                    "string": "string",
                },
                "suspend_timeout_duration": "string",
            },
            "display_name": "string",
            "enable_pg_native_login": False,
            "history_retention_duration": "string",
            "pg_version": 0,
        })
    
    const postgresProjectResource = new databricks.PostgresProject("postgresProjectResource", {
        projectId: "string",
        initialEndpointSpec: {
            group: {
                max: 0,
                min: 0,
                enableReadableSecondaries: false,
            },
        },
        providerConfig: {
            workspaceId: "string",
        },
        purgeOnDelete: false,
        spec: {
            budgetPolicyId: "string",
            customTags: [{
                key: "string",
                value: "string",
            }],
            defaultBranch: "string",
            defaultEndpointSettings: {
                autoscalingLimitMaxCu: 0,
                autoscalingLimitMinCu: 0,
                noSuspension: false,
                pgSettings: {
                    string: "string",
                },
                suspendTimeoutDuration: "string",
            },
            displayName: "string",
            enablePgNativeLogin: false,
            historyRetentionDuration: "string",
            pgVersion: 0,
        },
    });
    
    type: databricks:PostgresProject
    properties:
        initialEndpointSpec:
            group:
                enableReadableSecondaries: false
                max: 0
                min: 0
        projectId: string
        providerConfig:
            workspaceId: string
        purgeOnDelete: false
        spec:
            budgetPolicyId: string
            customTags:
                - key: string
                  value: string
            defaultBranch: string
            defaultEndpointSettings:
                autoscalingLimitMaxCu: 0
                autoscalingLimitMinCu: 0
                noSuspension: false
                pgSettings:
                    string: string
                suspendTimeoutDuration: string
            displayName: string
            enablePgNativeLogin: false
            historyRetentionDuration: string
            pgVersion: 0
    

    PostgresProject 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 PostgresProject resource accepts the following input properties:

    ProjectId string
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    InitialEndpointSpec PostgresProjectInitialEndpointSpec
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    ProviderConfig PostgresProjectProviderConfig
    Configure the provider for management through account provider.
    PurgeOnDelete bool
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    Spec PostgresProjectSpec
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    ProjectId string
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    InitialEndpointSpec PostgresProjectInitialEndpointSpecArgs
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    ProviderConfig PostgresProjectProviderConfigArgs
    Configure the provider for management through account provider.
    PurgeOnDelete bool
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    Spec PostgresProjectSpecArgs
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    project_id string
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    initial_endpoint_spec object
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    provider_config object
    Configure the provider for management through account provider.
    purge_on_delete bool
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    spec object
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    projectId String
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    initialEndpointSpec PostgresProjectInitialEndpointSpec
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    providerConfig PostgresProjectProviderConfig
    Configure the provider for management through account provider.
    purgeOnDelete Boolean
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    spec PostgresProjectSpec
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    projectId string
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    initialEndpointSpec PostgresProjectInitialEndpointSpec
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    providerConfig PostgresProjectProviderConfig
    Configure the provider for management through account provider.
    purgeOnDelete boolean
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    spec PostgresProjectSpec
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    project_id str
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    initial_endpoint_spec PostgresProjectInitialEndpointSpecArgs
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    provider_config PostgresProjectProviderConfigArgs
    Configure the provider for management through account provider.
    purge_on_delete bool
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    spec PostgresProjectSpecArgs
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    projectId String
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    initialEndpointSpec Property Map
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    providerConfig Property Map
    Configure the provider for management through account provider.
    purgeOnDelete Boolean
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    spec Property Map
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings

    Outputs

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

    CreateTime string
    (string) - A timestamp indicating when the project was created
    DeleteTime string
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    PurgeTime string
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    Status PostgresProjectStatus
    (ProjectStatus) - The current status of a Project
    Uid string
    (string) - System-generated unique ID for the project
    UpdateTime string
    (string) - A timestamp indicating when the project was last updated
    CreateTime string
    (string) - A timestamp indicating when the project was created
    DeleteTime string
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    PurgeTime string
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    Status PostgresProjectStatus
    (ProjectStatus) - The current status of a Project
    Uid string
    (string) - System-generated unique ID for the project
    UpdateTime string
    (string) - A timestamp indicating when the project was last updated
    create_time string
    (string) - A timestamp indicating when the project was created
    delete_time string
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    purge_time string
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    status object
    (ProjectStatus) - The current status of a Project
    uid string
    (string) - System-generated unique ID for the project
    update_time string
    (string) - A timestamp indicating when the project was last updated
    createTime String
    (string) - A timestamp indicating when the project was created
    deleteTime String
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    purgeTime String
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    status PostgresProjectStatus
    (ProjectStatus) - The current status of a Project
    uid String
    (string) - System-generated unique ID for the project
    updateTime String
    (string) - A timestamp indicating when the project was last updated
    createTime string
    (string) - A timestamp indicating when the project was created
    deleteTime string
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    purgeTime string
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    status PostgresProjectStatus
    (ProjectStatus) - The current status of a Project
    uid string
    (string) - System-generated unique ID for the project
    updateTime string
    (string) - A timestamp indicating when the project was last updated
    create_time str
    (string) - A timestamp indicating when the project was created
    delete_time str
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    purge_time str
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    status PostgresProjectStatus
    (ProjectStatus) - The current status of a Project
    uid str
    (string) - System-generated unique ID for the project
    update_time str
    (string) - A timestamp indicating when the project was last updated
    createTime String
    (string) - A timestamp indicating when the project was created
    deleteTime String
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    purgeTime String
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    status Property Map
    (ProjectStatus) - The current status of a Project
    uid String
    (string) - System-generated unique ID for the project
    updateTime String
    (string) - A timestamp indicating when the project was last updated

    Look up Existing PostgresProject Resource

    Get an existing PostgresProject 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?: PostgresProjectState, opts?: CustomResourceOptions): PostgresProject
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            delete_time: Optional[str] = None,
            initial_endpoint_spec: Optional[PostgresProjectInitialEndpointSpecArgs] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            provider_config: Optional[PostgresProjectProviderConfigArgs] = None,
            purge_on_delete: Optional[bool] = None,
            purge_time: Optional[str] = None,
            spec: Optional[PostgresProjectSpecArgs] = None,
            status: Optional[PostgresProjectStatusArgs] = None,
            uid: Optional[str] = None,
            update_time: Optional[str] = None) -> PostgresProject
    func GetPostgresProject(ctx *Context, name string, id IDInput, state *PostgresProjectState, opts ...ResourceOption) (*PostgresProject, error)
    public static PostgresProject Get(string name, Input<string> id, PostgresProjectState? state, CustomResourceOptions? opts = null)
    public static PostgresProject get(String name, Output<String> id, PostgresProjectState state, CustomResourceOptions options)
    resources:  _:    type: databricks:PostgresProject    get:      id: ${id}
    import {
      to = databricks_postgresproject.example
      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.
    The following state arguments are supported:
    CreateTime string
    (string) - A timestamp indicating when the project was created
    DeleteTime string
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    InitialEndpointSpec PostgresProjectInitialEndpointSpec
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    Name string
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    ProjectId string
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    ProviderConfig PostgresProjectProviderConfig
    Configure the provider for management through account provider.
    PurgeOnDelete bool
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    PurgeTime string
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    Spec PostgresProjectSpec
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    Status PostgresProjectStatus
    (ProjectStatus) - The current status of a Project
    Uid string
    (string) - System-generated unique ID for the project
    UpdateTime string
    (string) - A timestamp indicating when the project was last updated
    CreateTime string
    (string) - A timestamp indicating when the project was created
    DeleteTime string
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    InitialEndpointSpec PostgresProjectInitialEndpointSpecArgs
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    Name string
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    ProjectId string
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    ProviderConfig PostgresProjectProviderConfigArgs
    Configure the provider for management through account provider.
    PurgeOnDelete bool
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    PurgeTime string
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    Spec PostgresProjectSpecArgs
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    Status PostgresProjectStatusArgs
    (ProjectStatus) - The current status of a Project
    Uid string
    (string) - System-generated unique ID for the project
    UpdateTime string
    (string) - A timestamp indicating when the project was last updated
    create_time string
    (string) - A timestamp indicating when the project was created
    delete_time string
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    initial_endpoint_spec object
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    name string
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    project_id string
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    provider_config object
    Configure the provider for management through account provider.
    purge_on_delete bool
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    purge_time string
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    spec object
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    status object
    (ProjectStatus) - The current status of a Project
    uid string
    (string) - System-generated unique ID for the project
    update_time string
    (string) - A timestamp indicating when the project was last updated
    createTime String
    (string) - A timestamp indicating when the project was created
    deleteTime String
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    initialEndpointSpec PostgresProjectInitialEndpointSpec
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    name String
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    projectId String
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    providerConfig PostgresProjectProviderConfig
    Configure the provider for management through account provider.
    purgeOnDelete Boolean
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    purgeTime String
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    spec PostgresProjectSpec
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    status PostgresProjectStatus
    (ProjectStatus) - The current status of a Project
    uid String
    (string) - System-generated unique ID for the project
    updateTime String
    (string) - A timestamp indicating when the project was last updated
    createTime string
    (string) - A timestamp indicating when the project was created
    deleteTime string
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    initialEndpointSpec PostgresProjectInitialEndpointSpec
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    name string
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    projectId string
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    providerConfig PostgresProjectProviderConfig
    Configure the provider for management through account provider.
    purgeOnDelete boolean
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    purgeTime string
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    spec PostgresProjectSpec
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    status PostgresProjectStatus
    (ProjectStatus) - The current status of a Project
    uid string
    (string) - System-generated unique ID for the project
    updateTime string
    (string) - A timestamp indicating when the project was last updated
    create_time str
    (string) - A timestamp indicating when the project was created
    delete_time str
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    initial_endpoint_spec PostgresProjectInitialEndpointSpecArgs
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    name str
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    project_id str
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    provider_config PostgresProjectProviderConfigArgs
    Configure the provider for management through account provider.
    purge_on_delete bool
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    purge_time str
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    spec PostgresProjectSpecArgs
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    status PostgresProjectStatusArgs
    (ProjectStatus) - The current status of a Project
    uid str
    (string) - System-generated unique ID for the project
    update_time str
    (string) - A timestamp indicating when the project was last updated
    createTime String
    (string) - A timestamp indicating when the project was created
    deleteTime String
    (string) - A timestamp indicating when the project was soft-deleted. Empty if the project is not deleted, otherwise set to a timestamp in the past
    initialEndpointSpec Property Map
    Configuration settings for the initial Read/Write endpoint created inside the initial branch for a newly created project. If omitted, the initial endpoint created will have default settings, without high availability configured. This field does not apply to any endpoints created after project creation. Use spec.default_endpoint_settings to configure default settings for endpoints created after project creation
    name String
    (string) - Output only. The full resource path of the project. Format: projects/{project_id}
    projectId String
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    providerConfig Property Map
    Configure the provider for management through account provider.
    purgeOnDelete Boolean
    If true, permanently deletes the project (hard delete). If false or unset, performs a soft delete
    purgeTime String
    (string) - A timestamp indicating when the project is scheduled for permanent deletion. Empty if the project is not deleted, otherwise set to a timestamp in the future
    spec Property Map
    The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
    status Property Map
    (ProjectStatus) - The current status of a Project
    uid String
    (string) - System-generated unique ID for the project
    updateTime String
    (string) - A timestamp indicating when the project was last updated

    Supporting Types

    PostgresProjectInitialEndpointSpec, PostgresProjectInitialEndpointSpecArgs

    Group PostgresProjectInitialEndpointSpecGroup
    Settings for HA configuration of the endpoint
    Group PostgresProjectInitialEndpointSpecGroup
    Settings for HA configuration of the endpoint
    group object
    Settings for HA configuration of the endpoint
    group PostgresProjectInitialEndpointSpecGroup
    Settings for HA configuration of the endpoint
    group PostgresProjectInitialEndpointSpecGroup
    Settings for HA configuration of the endpoint
    group PostgresProjectInitialEndpointSpecGroup
    Settings for HA configuration of the endpoint
    group Property Map
    Settings for HA configuration of the endpoint

    PostgresProjectInitialEndpointSpecGroup, PostgresProjectInitialEndpointSpecGroupArgs

    Max int
    The maximum number of computes in the endpoint group. Currently, this must be equal to min. Set to 1 for single compute endpoints, to disable HA. To manually suspend all computes in an endpoint group, set disabled to true on the EndpointSpec
    Min int
    The minimum number of computes in the endpoint group. Currently, this must be equal to max. This must be greater than or equal to 1
    EnableReadableSecondaries bool
    Whether to allow read-only connections to read-write endpoints. Only relevant for read-write endpoints where size.max > 1
    Max int
    The maximum number of computes in the endpoint group. Currently, this must be equal to min. Set to 1 for single compute endpoints, to disable HA. To manually suspend all computes in an endpoint group, set disabled to true on the EndpointSpec
    Min int
    The minimum number of computes in the endpoint group. Currently, this must be equal to max. This must be greater than or equal to 1
    EnableReadableSecondaries bool
    Whether to allow read-only connections to read-write endpoints. Only relevant for read-write endpoints where size.max > 1
    max number
    The maximum number of computes in the endpoint group. Currently, this must be equal to min. Set to 1 for single compute endpoints, to disable HA. To manually suspend all computes in an endpoint group, set disabled to true on the EndpointSpec
    min number
    The minimum number of computes in the endpoint group. Currently, this must be equal to max. This must be greater than or equal to 1
    enable_readable_secondaries bool
    Whether to allow read-only connections to read-write endpoints. Only relevant for read-write endpoints where size.max > 1
    max Integer
    The maximum number of computes in the endpoint group. Currently, this must be equal to min. Set to 1 for single compute endpoints, to disable HA. To manually suspend all computes in an endpoint group, set disabled to true on the EndpointSpec
    min Integer
    The minimum number of computes in the endpoint group. Currently, this must be equal to max. This must be greater than or equal to 1
    enableReadableSecondaries Boolean
    Whether to allow read-only connections to read-write endpoints. Only relevant for read-write endpoints where size.max > 1
    max number
    The maximum number of computes in the endpoint group. Currently, this must be equal to min. Set to 1 for single compute endpoints, to disable HA. To manually suspend all computes in an endpoint group, set disabled to true on the EndpointSpec
    min number
    The minimum number of computes in the endpoint group. Currently, this must be equal to max. This must be greater than or equal to 1
    enableReadableSecondaries boolean
    Whether to allow read-only connections to read-write endpoints. Only relevant for read-write endpoints where size.max > 1
    max int
    The maximum number of computes in the endpoint group. Currently, this must be equal to min. Set to 1 for single compute endpoints, to disable HA. To manually suspend all computes in an endpoint group, set disabled to true on the EndpointSpec
    min int
    The minimum number of computes in the endpoint group. Currently, this must be equal to max. This must be greater than or equal to 1
    enable_readable_secondaries bool
    Whether to allow read-only connections to read-write endpoints. Only relevant for read-write endpoints where size.max > 1
    max Number
    The maximum number of computes in the endpoint group. Currently, this must be equal to min. Set to 1 for single compute endpoints, to disable HA. To manually suspend all computes in an endpoint group, set disabled to true on the EndpointSpec
    min Number
    The minimum number of computes in the endpoint group. Currently, this must be equal to max. This must be greater than or equal to 1
    enableReadableSecondaries Boolean
    Whether to allow read-only connections to read-write endpoints. Only relevant for read-write endpoints where size.max > 1

    PostgresProjectProviderConfig, PostgresProjectProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    PostgresProjectSpec, PostgresProjectSpecArgs

    BudgetPolicyId string
    (string) - The budget policy that is applied to the project
    CustomTags List<PostgresProjectSpecCustomTag>
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    DefaultBranch string
    (string) - The full resource path of the default branch of the project
    DefaultEndpointSettings PostgresProjectSpecDefaultEndpointSettings
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    DisplayName string
    (string) - The effective human-readable project name
    EnablePgNativeLogin bool
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    HistoryRetentionDuration string
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    PgVersion int
    (integer) - The effective major Postgres version number
    BudgetPolicyId string
    (string) - The budget policy that is applied to the project
    CustomTags []PostgresProjectSpecCustomTag
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    DefaultBranch string
    (string) - The full resource path of the default branch of the project
    DefaultEndpointSettings PostgresProjectSpecDefaultEndpointSettings
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    DisplayName string
    (string) - The effective human-readable project name
    EnablePgNativeLogin bool
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    HistoryRetentionDuration string
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    PgVersion int
    (integer) - The effective major Postgres version number
    budget_policy_id string
    (string) - The budget policy that is applied to the project
    custom_tags list(object)
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    default_branch string
    (string) - The full resource path of the default branch of the project
    default_endpoint_settings object
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    display_name string
    (string) - The effective human-readable project name
    enable_pg_native_login bool
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    history_retention_duration string
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    pg_version number
    (integer) - The effective major Postgres version number
    budgetPolicyId String
    (string) - The budget policy that is applied to the project
    customTags List<PostgresProjectSpecCustomTag>
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    defaultBranch String
    (string) - The full resource path of the default branch of the project
    defaultEndpointSettings PostgresProjectSpecDefaultEndpointSettings
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    displayName String
    (string) - The effective human-readable project name
    enablePgNativeLogin Boolean
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    historyRetentionDuration String
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    pgVersion Integer
    (integer) - The effective major Postgres version number
    budgetPolicyId string
    (string) - The budget policy that is applied to the project
    customTags PostgresProjectSpecCustomTag[]
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    defaultBranch string
    (string) - The full resource path of the default branch of the project
    defaultEndpointSettings PostgresProjectSpecDefaultEndpointSettings
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    displayName string
    (string) - The effective human-readable project name
    enablePgNativeLogin boolean
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    historyRetentionDuration string
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    pgVersion number
    (integer) - The effective major Postgres version number
    budget_policy_id str
    (string) - The budget policy that is applied to the project
    custom_tags Sequence[PostgresProjectSpecCustomTag]
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    default_branch str
    (string) - The full resource path of the default branch of the project
    default_endpoint_settings PostgresProjectSpecDefaultEndpointSettings
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    display_name str
    (string) - The effective human-readable project name
    enable_pg_native_login bool
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    history_retention_duration str
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    pg_version int
    (integer) - The effective major Postgres version number
    budgetPolicyId String
    (string) - The budget policy that is applied to the project
    customTags List<Property Map>
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    defaultBranch String
    (string) - The full resource path of the default branch of the project
    defaultEndpointSettings Property Map
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    displayName String
    (string) - The effective human-readable project name
    enablePgNativeLogin Boolean
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    historyRetentionDuration String
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    pgVersion Number
    (integer) - The effective major Postgres version number

    PostgresProjectSpecCustomTag, PostgresProjectSpecCustomTagArgs

    Key string
    The key of the custom tag
    Value string
    The value of the custom tag
    Key string
    The key of the custom tag
    Value string
    The value of the custom tag
    key string
    The key of the custom tag
    value string
    The value of the custom tag
    key String
    The key of the custom tag
    value String
    The value of the custom tag
    key string
    The key of the custom tag
    value string
    The value of the custom tag
    key str
    The key of the custom tag
    value str
    The value of the custom tag
    key String
    The key of the custom tag
    value String
    The value of the custom tag

    PostgresProjectSpecDefaultEndpointSettings, PostgresProjectSpecDefaultEndpointSettingsArgs

    AutoscalingLimitMaxCu double
    The maximum number of Compute Units. Minimum value is 0.5
    AutoscalingLimitMinCu double
    The minimum number of Compute Units. Minimum value is 0.5
    NoSuspension bool
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    PgSettings Dictionary<string, string>
    A raw representation of Postgres settings
    SuspendTimeoutDuration string
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask
    AutoscalingLimitMaxCu float64
    The maximum number of Compute Units. Minimum value is 0.5
    AutoscalingLimitMinCu float64
    The minimum number of Compute Units. Minimum value is 0.5
    NoSuspension bool
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    PgSettings map[string]string
    A raw representation of Postgres settings
    SuspendTimeoutDuration string
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask
    autoscaling_limit_max_cu number
    The maximum number of Compute Units. Minimum value is 0.5
    autoscaling_limit_min_cu number
    The minimum number of Compute Units. Minimum value is 0.5
    no_suspension bool
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    pg_settings map(string)
    A raw representation of Postgres settings
    suspend_timeout_duration string
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask
    autoscalingLimitMaxCu Double
    The maximum number of Compute Units. Minimum value is 0.5
    autoscalingLimitMinCu Double
    The minimum number of Compute Units. Minimum value is 0.5
    noSuspension Boolean
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    pgSettings Map<String,String>
    A raw representation of Postgres settings
    suspendTimeoutDuration String
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask
    autoscalingLimitMaxCu number
    The maximum number of Compute Units. Minimum value is 0.5
    autoscalingLimitMinCu number
    The minimum number of Compute Units. Minimum value is 0.5
    noSuspension boolean
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    pgSettings {[key: string]: string}
    A raw representation of Postgres settings
    suspendTimeoutDuration string
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask
    autoscaling_limit_max_cu float
    The maximum number of Compute Units. Minimum value is 0.5
    autoscaling_limit_min_cu float
    The minimum number of Compute Units. Minimum value is 0.5
    no_suspension bool
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    pg_settings Mapping[str, str]
    A raw representation of Postgres settings
    suspend_timeout_duration str
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask
    autoscalingLimitMaxCu Number
    The maximum number of Compute Units. Minimum value is 0.5
    autoscalingLimitMinCu Number
    The minimum number of Compute Units. Minimum value is 0.5
    noSuspension Boolean
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    pgSettings Map<String>
    A raw representation of Postgres settings
    suspendTimeoutDuration String
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask

    PostgresProjectStatus, PostgresProjectStatusArgs

    BranchLogicalSizeLimitBytes int
    (integer) - The logical size limit for a branch
    BudgetPolicyId string
    (string) - The budget policy that is applied to the project
    CustomTags List<PostgresProjectStatusCustomTag>
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    DefaultBranch string
    (string) - The full resource path of the default branch of the project
    DefaultEndpointSettings PostgresProjectStatusDefaultEndpointSettings
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    DisplayName string
    (string) - The effective human-readable project name
    EnablePgNativeLogin bool
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    HistoryRetentionDuration string
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    Owner string
    (string) - The email of the project owner
    PgVersion int
    (integer) - The effective major Postgres version number
    ProjectId string
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    SyntheticStorageSizeBytes int
    (integer) - The current space occupied by the project in storage
    BranchLogicalSizeLimitBytes int
    (integer) - The logical size limit for a branch
    BudgetPolicyId string
    (string) - The budget policy that is applied to the project
    CustomTags []PostgresProjectStatusCustomTag
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    DefaultBranch string
    (string) - The full resource path of the default branch of the project
    DefaultEndpointSettings PostgresProjectStatusDefaultEndpointSettings
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    DisplayName string
    (string) - The effective human-readable project name
    EnablePgNativeLogin bool
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    HistoryRetentionDuration string
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    Owner string
    (string) - The email of the project owner
    PgVersion int
    (integer) - The effective major Postgres version number
    ProjectId string
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    SyntheticStorageSizeBytes int
    (integer) - The current space occupied by the project in storage
    branch_logical_size_limit_bytes number
    (integer) - The logical size limit for a branch
    budget_policy_id string
    (string) - The budget policy that is applied to the project
    custom_tags list(object)
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    default_branch string
    (string) - The full resource path of the default branch of the project
    default_endpoint_settings object
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    display_name string
    (string) - The effective human-readable project name
    enable_pg_native_login bool
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    history_retention_duration string
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    owner string
    (string) - The email of the project owner
    pg_version number
    (integer) - The effective major Postgres version number
    project_id string
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    synthetic_storage_size_bytes number
    (integer) - The current space occupied by the project in storage
    branchLogicalSizeLimitBytes Integer
    (integer) - The logical size limit for a branch
    budgetPolicyId String
    (string) - The budget policy that is applied to the project
    customTags List<PostgresProjectStatusCustomTag>
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    defaultBranch String
    (string) - The full resource path of the default branch of the project
    defaultEndpointSettings PostgresProjectStatusDefaultEndpointSettings
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    displayName String
    (string) - The effective human-readable project name
    enablePgNativeLogin Boolean
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    historyRetentionDuration String
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    owner String
    (string) - The email of the project owner
    pgVersion Integer
    (integer) - The effective major Postgres version number
    projectId String
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    syntheticStorageSizeBytes Integer
    (integer) - The current space occupied by the project in storage
    branchLogicalSizeLimitBytes number
    (integer) - The logical size limit for a branch
    budgetPolicyId string
    (string) - The budget policy that is applied to the project
    customTags PostgresProjectStatusCustomTag[]
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    defaultBranch string
    (string) - The full resource path of the default branch of the project
    defaultEndpointSettings PostgresProjectStatusDefaultEndpointSettings
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    displayName string
    (string) - The effective human-readable project name
    enablePgNativeLogin boolean
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    historyRetentionDuration string
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    owner string
    (string) - The email of the project owner
    pgVersion number
    (integer) - The effective major Postgres version number
    projectId string
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    syntheticStorageSizeBytes number
    (integer) - The current space occupied by the project in storage
    branch_logical_size_limit_bytes int
    (integer) - The logical size limit for a branch
    budget_policy_id str
    (string) - The budget policy that is applied to the project
    custom_tags Sequence[PostgresProjectStatusCustomTag]
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    default_branch str
    (string) - The full resource path of the default branch of the project
    default_endpoint_settings PostgresProjectStatusDefaultEndpointSettings
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    display_name str
    (string) - The effective human-readable project name
    enable_pg_native_login bool
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    history_retention_duration str
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    owner str
    (string) - The email of the project owner
    pg_version int
    (integer) - The effective major Postgres version number
    project_id str
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    synthetic_storage_size_bytes int
    (integer) - The current space occupied by the project in storage
    branchLogicalSizeLimitBytes Number
    (integer) - The logical size limit for a branch
    budgetPolicyId String
    (string) - The budget policy that is applied to the project
    customTags List<Property Map>
    (list of ProjectCustomTag) - The effective custom tags associated with the project
    defaultBranch String
    (string) - The full resource path of the default branch of the project
    defaultEndpointSettings Property Map
    (ProjectDefaultEndpointSettings) - The effective default endpoint settings
    displayName String
    (string) - The effective human-readable project name
    enablePgNativeLogin Boolean
    (boolean) - Whether to enable PG native password login on all endpoints in this project
    historyRetentionDuration String
    (string) - The effective number of seconds to retain the shared history for point in time recovery
    owner String
    (string) - The email of the project owner
    pgVersion Number
    (integer) - The effective major Postgres version number
    projectId String
    The ID to use for the Project. This becomes the final component of the project's resource name. The ID is required and must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens. For example, my-app becomes projects/my-app
    syntheticStorageSizeBytes Number
    (integer) - The current space occupied by the project in storage

    PostgresProjectStatusCustomTag, PostgresProjectStatusCustomTagArgs

    Key string
    The key of the custom tag
    Value string
    The value of the custom tag
    Key string
    The key of the custom tag
    Value string
    The value of the custom tag
    key string
    The key of the custom tag
    value string
    The value of the custom tag
    key String
    The key of the custom tag
    value String
    The value of the custom tag
    key string
    The key of the custom tag
    value string
    The value of the custom tag
    key str
    The key of the custom tag
    value str
    The value of the custom tag
    key String
    The key of the custom tag
    value String
    The value of the custom tag

    PostgresProjectStatusDefaultEndpointSettings, PostgresProjectStatusDefaultEndpointSettingsArgs

    AutoscalingLimitMaxCu double
    The maximum number of Compute Units. Minimum value is 0.5
    AutoscalingLimitMinCu double
    The minimum number of Compute Units. Minimum value is 0.5
    NoSuspension bool
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    PgSettings Dictionary<string, string>
    A raw representation of Postgres settings
    SuspendTimeoutDuration string
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask
    AutoscalingLimitMaxCu float64
    The maximum number of Compute Units. Minimum value is 0.5
    AutoscalingLimitMinCu float64
    The minimum number of Compute Units. Minimum value is 0.5
    NoSuspension bool
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    PgSettings map[string]string
    A raw representation of Postgres settings
    SuspendTimeoutDuration string
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask
    autoscaling_limit_max_cu number
    The maximum number of Compute Units. Minimum value is 0.5
    autoscaling_limit_min_cu number
    The minimum number of Compute Units. Minimum value is 0.5
    no_suspension bool
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    pg_settings map(string)
    A raw representation of Postgres settings
    suspend_timeout_duration string
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask
    autoscalingLimitMaxCu Double
    The maximum number of Compute Units. Minimum value is 0.5
    autoscalingLimitMinCu Double
    The minimum number of Compute Units. Minimum value is 0.5
    noSuspension Boolean
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    pgSettings Map<String,String>
    A raw representation of Postgres settings
    suspendTimeoutDuration String
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask
    autoscalingLimitMaxCu number
    The maximum number of Compute Units. Minimum value is 0.5
    autoscalingLimitMinCu number
    The minimum number of Compute Units. Minimum value is 0.5
    noSuspension boolean
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    pgSettings {[key: string]: string}
    A raw representation of Postgres settings
    suspendTimeoutDuration string
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask
    autoscaling_limit_max_cu float
    The maximum number of Compute Units. Minimum value is 0.5
    autoscaling_limit_min_cu float
    The minimum number of Compute Units. Minimum value is 0.5
    no_suspension bool
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    pg_settings Mapping[str, str]
    A raw representation of Postgres settings
    suspend_timeout_duration str
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask
    autoscalingLimitMaxCu Number
    The maximum number of Compute Units. Minimum value is 0.5
    autoscalingLimitMinCu Number
    The minimum number of Compute Units. Minimum value is 0.5
    noSuspension Boolean
    When set to true, explicitly disables automatic suspension (never suspend). Should be set to true when provided. Mutually exclusive with suspendTimeoutDuration. When updating, use spec.project_default_settings.suspension in the update_mask
    pgSettings Map<String>
    A raw representation of Postgres settings
    suspendTimeoutDuration String
    Duration of inactivity after which the compute endpoint is automatically suspended. If specified should be between 60s and 604800s (1 minute to 1 week). Mutually exclusive with noSuspension. When updating, use spec.project_default_settings.suspension in the update_mask

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo
    Viewing docs for Databricks v1.92.0
    published on Tuesday, May 12, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.