1. Registry
  2. Packages
  3. Databricks Provider
  4. API Docs
  5. PostgresSnapshotSchedule
Viewing docs for Databricks v1.115.0
published on Wednesday, Oct 7, 2026 by Pulumi
databricks logo databricks logo
Viewing docs for Databricks v1.115.0
published on Wednesday, Oct 7, 2026 by Pulumi

    Public Beta

    API Documentation

    Example Usage

    Managing a Branch’s Snapshot Schedule

    A branch’s snapshot schedule is a singleton addressed by the branch it belongs to. Set parent to the branch’s resource name and provide the desired cadences; Pulumi applies them in place. The example below takes a daily snapshot at 03:00 UTC and keeps it for 7 days.

    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 thisPostgresSnapshotSchedule = new databricks.PostgresSnapshotSchedule("this", {
        parent: pulumi.interpolate`${_this.name}/branches/production`,
        schedules: [{
            dailySchedule: {
                hour: 3,
            },
            retention: "168h0m0s",
        }],
    });
    
    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.PostgresProject("this",
        project_id="my-project",
        spec={
            "pg_version": 17,
            "display_name": "My Project",
        })
    this_postgres_snapshot_schedule = databricks.PostgresSnapshotSchedule("this",
        parent=this.name.apply(lambda name: f"{name}/branches/production"),
        schedules=[{
            "daily_schedule": {
                "hour": 3,
            },
            "retention": "168h0m0s",
        }])
    
    package main
    
    import (
    	"fmt"
    
    	"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.NewPostgresSnapshotSchedule(ctx, "this", &databricks.PostgresSnapshotScheduleArgs{
    			Parent: this.Name.ApplyT(func(name string) (string, error) {
    				return fmt.Sprintf("%v/branches/production", name), nil
    			}).(pulumi.StringOutput),
    			Schedules: databricks.PostgresSnapshotScheduleScheduleArray{
    				&databricks.PostgresSnapshotScheduleScheduleArgs{
    					DailySchedule: &databricks.PostgresSnapshotScheduleScheduleDailyScheduleArgs{
    						Hour: pulumi.Int(3),
    					},
    					Retention: pulumi.String("168h0m0s"),
    				},
    			},
    		})
    		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 thisPostgresSnapshotSchedule = new Databricks.PostgresSnapshotSchedule("this", new()
        {
            Parent = @this.Name.Apply(name => $"{name}/branches/production"),
            Schedules = new[]
            {
                new Databricks.Inputs.PostgresSnapshotScheduleScheduleArgs
                {
                    DailySchedule = new Databricks.Inputs.PostgresSnapshotScheduleScheduleDailyScheduleArgs
                    {
                        Hour = 3,
                    },
                    Retention = "168h0m0s",
                },
            },
        });
    
    });
    
    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.PostgresSnapshotSchedule;
    import com.pulumi.databricks.PostgresSnapshotScheduleArgs;
    import com.pulumi.databricks.inputs.PostgresSnapshotScheduleScheduleArgs;
    import com.pulumi.databricks.inputs.PostgresSnapshotScheduleScheduleDailyScheduleArgs;
    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 thisPostgresSnapshotSchedule = new PostgresSnapshotSchedule("thisPostgresSnapshotSchedule", PostgresSnapshotScheduleArgs.builder()
                .parent(this_.name().applyValue(_name -> String.format("%s/branches/production", _name)))
                .schedules(PostgresSnapshotScheduleScheduleArgs.builder()
                    .dailySchedule(PostgresSnapshotScheduleScheduleDailyScheduleArgs.builder()
                        .hour(3)
                        .build())
                    .retention("168h0m0s")
                    .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:PostgresProject
        properties:
          projectId: my-project
          spec:
            pgVersion: 17
            displayName: My Project
      thisPostgresSnapshotSchedule:
        type: databricks:PostgresSnapshotSchedule
        name: this
        properties:
          parent: ${this.name}/branches/production
          schedules:
            - dailySchedule:
                hour: 3
              retention: 168h0m0s
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_postgresproject" "this" {
      project_id = "my-project"
      spec = {
        pg_version   = 17
        display_name = "My Project"
      }
    }
    resource "databricks_postgressnapshotschedule" "this" {
      parent ="${databricks_postgresproject.this.name}/branches/production"
      schedules {
        daily_schedule = {
          hour = 3
        }
        retention = "168h0m0s"
      }
    }
    

    The schedule set can hold more than one cadence — for example, add a weekly cadence alongside the daily one to keep some snapshots longer than others.

    To disable automatic snapshots, set schedule = [] and apply. Removing the resource from your configuration only removes it from Pulumi state; it does not change the schedule on the branch.

    Create PostgresSnapshotSchedule Resource

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

    Constructor syntax

    new PostgresSnapshotSchedule(name: string, args: PostgresSnapshotScheduleArgs, opts?: CustomResourceOptions);
    @overload
    def PostgresSnapshotSchedule(resource_name: str,
                                 args: PostgresSnapshotScheduleArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def PostgresSnapshotSchedule(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 parent: Optional[str] = None,
                                 provider_config: Optional[PostgresSnapshotScheduleProviderConfigArgs] = None,
                                 schedules: Optional[Sequence[PostgresSnapshotScheduleScheduleArgs]] = None)
    func NewPostgresSnapshotSchedule(ctx *Context, name string, args PostgresSnapshotScheduleArgs, opts ...ResourceOption) (*PostgresSnapshotSchedule, error)
    public PostgresSnapshotSchedule(string name, PostgresSnapshotScheduleArgs args, CustomResourceOptions? opts = null)
    public PostgresSnapshotSchedule(String name, PostgresSnapshotScheduleArgs args)
    public PostgresSnapshotSchedule(String name, PostgresSnapshotScheduleArgs args, CustomResourceOptions options)
    
    type: databricks:PostgresSnapshotSchedule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "databricks_postgres_snapshot_schedule" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PostgresSnapshotScheduleArgs
    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 PostgresSnapshotScheduleArgs
    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 PostgresSnapshotScheduleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PostgresSnapshotScheduleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PostgresSnapshotScheduleArgs
    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 postgresSnapshotScheduleResource = new Databricks.PostgresSnapshotSchedule("postgresSnapshotScheduleResource", new()
    {
        Parent = "string",
        ProviderConfig = new Databricks.Inputs.PostgresSnapshotScheduleProviderConfigArgs
        {
            WorkspaceId = "string",
        },
        Schedules = new[]
        {
            new Databricks.Inputs.PostgresSnapshotScheduleScheduleArgs
            {
                Retention = "string",
                DailySchedule = new Databricks.Inputs.PostgresSnapshotScheduleScheduleDailyScheduleArgs
                {
                    Hour = 0,
                },
                MonthlySchedule = new Databricks.Inputs.PostgresSnapshotScheduleScheduleMonthlyScheduleArgs
                {
                    Day = 0,
                    Hour = 0,
                },
                WeeklySchedule = new Databricks.Inputs.PostgresSnapshotScheduleScheduleWeeklyScheduleArgs
                {
                    DayOfWeek = "string",
                    Hour = 0,
                },
            },
        },
    });
    
    example, err := databricks.NewPostgresSnapshotSchedule(ctx, "postgresSnapshotScheduleResource", &databricks.PostgresSnapshotScheduleArgs{
    	Parent: pulumi.String("string"),
    	ProviderConfig: &databricks.PostgresSnapshotScheduleProviderConfigArgs{
    		WorkspaceId: pulumi.String("string"),
    	},
    	Schedules: databricks.PostgresSnapshotScheduleScheduleArray{
    		&databricks.PostgresSnapshotScheduleScheduleArgs{
    			Retention: pulumi.String("string"),
    			DailySchedule: &databricks.PostgresSnapshotScheduleScheduleDailyScheduleArgs{
    				Hour: pulumi.Int(0),
    			},
    			MonthlySchedule: &databricks.PostgresSnapshotScheduleScheduleMonthlyScheduleArgs{
    				Day:  pulumi.Int(0),
    				Hour: pulumi.Int(0),
    			},
    			WeeklySchedule: &databricks.PostgresSnapshotScheduleScheduleWeeklyScheduleArgs{
    				DayOfWeek: pulumi.String("string"),
    				Hour:      pulumi.Int(0),
    			},
    		},
    	},
    })
    
    resource "databricks_postgres_snapshot_schedule" "postgresSnapshotScheduleResource" {
      lifecycle {
        create_before_destroy = true
      }
      parent = "string"
      provider_config = {
        workspace_id = "string"
      }
      schedules {
        retention = "string"
        daily_schedule = {
          hour = 0
        }
        monthly_schedule = {
          day  = 0
          hour = 0
        }
        weekly_schedule = {
          day_of_week = "string"
          hour        = 0
        }
      }
    }
    
    var postgresSnapshotScheduleResource = new PostgresSnapshotSchedule("postgresSnapshotScheduleResource", PostgresSnapshotScheduleArgs.builder()
        .parent("string")
        .providerConfig(PostgresSnapshotScheduleProviderConfigArgs.builder()
            .workspaceId("string")
            .build())
        .schedules(PostgresSnapshotScheduleScheduleArgs.builder()
            .retention("string")
            .dailySchedule(PostgresSnapshotScheduleScheduleDailyScheduleArgs.builder()
                .hour(0)
                .build())
            .monthlySchedule(PostgresSnapshotScheduleScheduleMonthlyScheduleArgs.builder()
                .day(0)
                .hour(0)
                .build())
            .weeklySchedule(PostgresSnapshotScheduleScheduleWeeklyScheduleArgs.builder()
                .dayOfWeek("string")
                .hour(0)
                .build())
            .build())
        .build());
    
    postgres_snapshot_schedule_resource = databricks.PostgresSnapshotSchedule("postgresSnapshotScheduleResource",
        parent="string",
        provider_config={
            "workspace_id": "string",
        },
        schedules=[{
            "retention": "string",
            "daily_schedule": {
                "hour": 0,
            },
            "monthly_schedule": {
                "day": 0,
                "hour": 0,
            },
            "weekly_schedule": {
                "day_of_week": "string",
                "hour": 0,
            },
        }])
    
    const postgresSnapshotScheduleResource = new databricks.PostgresSnapshotSchedule("postgresSnapshotScheduleResource", {
        parent: "string",
        providerConfig: {
            workspaceId: "string",
        },
        schedules: [{
            retention: "string",
            dailySchedule: {
                hour: 0,
            },
            monthlySchedule: {
                day: 0,
                hour: 0,
            },
            weeklySchedule: {
                dayOfWeek: "string",
                hour: 0,
            },
        }],
    });
    
    type: databricks:PostgresSnapshotSchedule
    properties:
        parent: string
        providerConfig:
            workspaceId: string
        schedules:
            - dailySchedule:
                hour: 0
              monthlySchedule:
                day: 0
                hour: 0
              retention: string
              weeklySchedule:
                dayOfWeek: string
                hour: 0
    

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

    Parent string
    The resource name of the parent
    ProviderConfig PostgresSnapshotScheduleProviderConfig
    Configure the provider for management through account provider.
    Schedules List<PostgresSnapshotScheduleSchedule>
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions
    Parent string
    The resource name of the parent
    ProviderConfig PostgresSnapshotScheduleProviderConfigArgs
    Configure the provider for management through account provider.
    Schedules []PostgresSnapshotScheduleScheduleArgs
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions
    parent string
    The resource name of the parent
    provider_config object
    Configure the provider for management through account provider.
    schedules list(object)
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions
    parent String
    The resource name of the parent
    providerConfig PostgresSnapshotScheduleProviderConfig
    Configure the provider for management through account provider.
    schedules List<PostgresSnapshotScheduleSchedule>
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions
    parent string
    The resource name of the parent
    providerConfig PostgresSnapshotScheduleProviderConfig
    Configure the provider for management through account provider.
    schedules PostgresSnapshotScheduleSchedule[]
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions
    parent str
    The resource name of the parent
    provider_config PostgresSnapshotScheduleProviderConfigArgs
    Configure the provider for management through account provider.
    schedules Sequence[PostgresSnapshotScheduleScheduleArgs]
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions
    parent String
    The resource name of the parent
    providerConfig Property Map
    Configure the provider for management through account provider.
    schedules List<Property Map>
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule

    Look up Existing PostgresSnapshotSchedule Resource

    Get an existing PostgresSnapshotSchedule 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?: PostgresSnapshotScheduleState, opts?: CustomResourceOptions): PostgresSnapshotSchedule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None,
            parent: Optional[str] = None,
            provider_config: Optional[PostgresSnapshotScheduleProviderConfigArgs] = None,
            schedules: Optional[Sequence[PostgresSnapshotScheduleScheduleArgs]] = None) -> PostgresSnapshotSchedule
    func GetPostgresSnapshotSchedule(ctx *Context, name string, id IDInput, state *PostgresSnapshotScheduleState, opts ...ResourceOption) (*PostgresSnapshotSchedule, error)
    public static PostgresSnapshotSchedule Get(string name, Input<string> id, PostgresSnapshotScheduleState? state, CustomResourceOptions? opts = null)
    public static PostgresSnapshotSchedule get(String name, Output<String> id, PostgresSnapshotScheduleState state, CustomResourceOptions options)
    resources:  _:    type: databricks:PostgresSnapshotSchedule    get:      id: ${id}
    import {
      to = databricks_postgres_snapshot_schedule.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:
    Name string
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    Parent string
    The resource name of the parent
    ProviderConfig PostgresSnapshotScheduleProviderConfig
    Configure the provider for management through account provider.
    Schedules List<PostgresSnapshotScheduleSchedule>
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions
    Name string
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    Parent string
    The resource name of the parent
    ProviderConfig PostgresSnapshotScheduleProviderConfigArgs
    Configure the provider for management through account provider.
    Schedules []PostgresSnapshotScheduleScheduleArgs
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions
    name string
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    parent string
    The resource name of the parent
    provider_config object
    Configure the provider for management through account provider.
    schedules list(object)
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions
    name String
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    parent String
    The resource name of the parent
    providerConfig PostgresSnapshotScheduleProviderConfig
    Configure the provider for management through account provider.
    schedules List<PostgresSnapshotScheduleSchedule>
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions
    name string
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    parent string
    The resource name of the parent
    providerConfig PostgresSnapshotScheduleProviderConfig
    Configure the provider for management through account provider.
    schedules PostgresSnapshotScheduleSchedule[]
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions
    name str
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    parent str
    The resource name of the parent
    provider_config PostgresSnapshotScheduleProviderConfigArgs
    Configure the provider for management through account provider.
    schedules Sequence[PostgresSnapshotScheduleScheduleArgs]
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions
    name String
    (string) - The resource name of the branch's snapshot schedule. Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
    parent String
    The resource name of the parent
    providerConfig Property Map
    Configure the provider for management through account provider.
    schedules List<Property Map>
    The cadences at which automatic snapshots are taken. Update replaces the whole set; an empty set disables automatic snapshots. Order is not significant. When several cadences fire together, one snapshot is taken, retained for the longest of their retentions

    Supporting Types

    PostgresSnapshotScheduleProviderConfig, PostgresSnapshotScheduleProviderConfigArgs

    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.

    PostgresSnapshotScheduleSchedule, PostgresSnapshotScheduleScheduleArgs

    Retention string
    How long snapshots from this cadence are kept before automatic deletion. Must be at least 1 hour. Applied when a snapshot is taken; not retroactive, so changing it affects only later snapshots
    DailySchedule PostgresSnapshotScheduleScheduleDailySchedule
    Take a snapshot once per day
    MonthlySchedule PostgresSnapshotScheduleScheduleMonthlySchedule
    Take a snapshot once per month
    WeeklySchedule PostgresSnapshotScheduleScheduleWeeklySchedule
    Take a snapshot once per week
    Retention string
    How long snapshots from this cadence are kept before automatic deletion. Must be at least 1 hour. Applied when a snapshot is taken; not retroactive, so changing it affects only later snapshots
    DailySchedule PostgresSnapshotScheduleScheduleDailySchedule
    Take a snapshot once per day
    MonthlySchedule PostgresSnapshotScheduleScheduleMonthlySchedule
    Take a snapshot once per month
    WeeklySchedule PostgresSnapshotScheduleScheduleWeeklySchedule
    Take a snapshot once per week
    retention string
    How long snapshots from this cadence are kept before automatic deletion. Must be at least 1 hour. Applied when a snapshot is taken; not retroactive, so changing it affects only later snapshots
    daily_schedule object
    Take a snapshot once per day
    monthly_schedule object
    Take a snapshot once per month
    weekly_schedule object
    Take a snapshot once per week
    retention String
    How long snapshots from this cadence are kept before automatic deletion. Must be at least 1 hour. Applied when a snapshot is taken; not retroactive, so changing it affects only later snapshots
    dailySchedule PostgresSnapshotScheduleScheduleDailySchedule
    Take a snapshot once per day
    monthlySchedule PostgresSnapshotScheduleScheduleMonthlySchedule
    Take a snapshot once per month
    weeklySchedule PostgresSnapshotScheduleScheduleWeeklySchedule
    Take a snapshot once per week
    retention string
    How long snapshots from this cadence are kept before automatic deletion. Must be at least 1 hour. Applied when a snapshot is taken; not retroactive, so changing it affects only later snapshots
    dailySchedule PostgresSnapshotScheduleScheduleDailySchedule
    Take a snapshot once per day
    monthlySchedule PostgresSnapshotScheduleScheduleMonthlySchedule
    Take a snapshot once per month
    weeklySchedule PostgresSnapshotScheduleScheduleWeeklySchedule
    Take a snapshot once per week
    retention str
    How long snapshots from this cadence are kept before automatic deletion. Must be at least 1 hour. Applied when a snapshot is taken; not retroactive, so changing it affects only later snapshots
    daily_schedule PostgresSnapshotScheduleScheduleDailySchedule
    Take a snapshot once per day
    monthly_schedule PostgresSnapshotScheduleScheduleMonthlySchedule
    Take a snapshot once per month
    weekly_schedule PostgresSnapshotScheduleScheduleWeeklySchedule
    Take a snapshot once per week
    retention String
    How long snapshots from this cadence are kept before automatic deletion. Must be at least 1 hour. Applied when a snapshot is taken; not retroactive, so changing it affects only later snapshots
    dailySchedule Property Map
    Take a snapshot once per day
    monthlySchedule Property Map
    Take a snapshot once per month
    weeklySchedule Property Map
    Take a snapshot once per week

    PostgresSnapshotScheduleScheduleDailySchedule, PostgresSnapshotScheduleScheduleDailyScheduleArgs

    Hour int
    Hour int
    hour number
    hour Integer
    hour number
    hour int
    hour Number

    PostgresSnapshotScheduleScheduleMonthlySchedule, PostgresSnapshotScheduleScheduleMonthlyScheduleArgs

    Day int
    The day of the month on which to take the snapshot, in [1, 31]. In shorter months the snapshot is taken on the last day instead (day 31 runs on Feb 28 or 29, and on Apr 30), so every month gets exactly one snapshot
    Hour int
    Day int
    The day of the month on which to take the snapshot, in [1, 31]. In shorter months the snapshot is taken on the last day instead (day 31 runs on Feb 28 or 29, and on Apr 30), so every month gets exactly one snapshot
    Hour int
    day number
    The day of the month on which to take the snapshot, in [1, 31]. In shorter months the snapshot is taken on the last day instead (day 31 runs on Feb 28 or 29, and on Apr 30), so every month gets exactly one snapshot
    hour number
    day Integer
    The day of the month on which to take the snapshot, in [1, 31]. In shorter months the snapshot is taken on the last day instead (day 31 runs on Feb 28 or 29, and on Apr 30), so every month gets exactly one snapshot
    hour Integer
    day number
    The day of the month on which to take the snapshot, in [1, 31]. In shorter months the snapshot is taken on the last day instead (day 31 runs on Feb 28 or 29, and on Apr 30), so every month gets exactly one snapshot
    hour number
    day int
    The day of the month on which to take the snapshot, in [1, 31]. In shorter months the snapshot is taken on the last day instead (day 31 runs on Feb 28 or 29, and on Apr 30), so every month gets exactly one snapshot
    hour int
    day Number
    The day of the month on which to take the snapshot, in [1, 31]. In shorter months the snapshot is taken on the last day instead (day 31 runs on Feb 28 or 29, and on Apr 30), so every month gets exactly one snapshot
    hour Number

    PostgresSnapshotScheduleScheduleWeeklySchedule, PostgresSnapshotScheduleScheduleWeeklyScheduleArgs

    DayOfWeek string
    The day of the week on which to take the snapshot. Possible values are: FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, WEDNESDAY
    Hour int
    DayOfWeek string
    The day of the week on which to take the snapshot. Possible values are: FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, WEDNESDAY
    Hour int
    day_of_week string
    The day of the week on which to take the snapshot. Possible values are: FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, WEDNESDAY
    hour number
    dayOfWeek String
    The day of the week on which to take the snapshot. Possible values are: FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, WEDNESDAY
    hour Integer
    dayOfWeek string
    The day of the week on which to take the snapshot. Possible values are: FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, WEDNESDAY
    hour number
    day_of_week str
    The day of the week on which to take the snapshot. Possible values are: FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, WEDNESDAY
    hour int
    dayOfWeek String
    The day of the week on which to take the snapshot. Possible values are: FRIDAY, MONDAY, SATURDAY, SUNDAY, THURSDAY, TUESDAY, WEDNESDAY
    hour Number

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo databricks logo
    Viewing docs for Databricks v1.115.0
    published on Wednesday, Oct 7, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial