1. Packages
  2. stackit
  3. API Docs
  4. getServerBackupSchedule
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud

    Server backup schedule datasource schema. Must have a region specified in the provider configuration.

    This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.

    Example Usage

    data "stackit_server_backup_schedule" "example" {
      project_id         = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      server_id          = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      backup_schedule_id = xxxxx
    }
    

    Using getServerBackupSchedule

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getServerBackupSchedule(args: GetServerBackupScheduleArgs, opts?: InvokeOptions): Promise<GetServerBackupScheduleResult>
    function getServerBackupScheduleOutput(args: GetServerBackupScheduleOutputArgs, opts?: InvokeOptions): Output<GetServerBackupScheduleResult>
    def get_server_backup_schedule(backup_schedule_id: Optional[int] = None,
                                   project_id: Optional[str] = None,
                                   region: Optional[str] = None,
                                   server_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetServerBackupScheduleResult
    def get_server_backup_schedule_output(backup_schedule_id: Optional[pulumi.Input[int]] = None,
                                   project_id: Optional[pulumi.Input[str]] = None,
                                   region: Optional[pulumi.Input[str]] = None,
                                   server_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetServerBackupScheduleResult]
    func LookupServerBackupSchedule(ctx *Context, args *LookupServerBackupScheduleArgs, opts ...InvokeOption) (*LookupServerBackupScheduleResult, error)
    func LookupServerBackupScheduleOutput(ctx *Context, args *LookupServerBackupScheduleOutputArgs, opts ...InvokeOption) LookupServerBackupScheduleResultOutput

    > Note: This function is named LookupServerBackupSchedule in the Go SDK.

    public static class GetServerBackupSchedule 
    {
        public static Task<GetServerBackupScheduleResult> InvokeAsync(GetServerBackupScheduleArgs args, InvokeOptions? opts = null)
        public static Output<GetServerBackupScheduleResult> Invoke(GetServerBackupScheduleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServerBackupScheduleResult> getServerBackupSchedule(GetServerBackupScheduleArgs args, InvokeOptions options)
    public static Output<GetServerBackupScheduleResult> getServerBackupSchedule(GetServerBackupScheduleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getServerBackupSchedule:getServerBackupSchedule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BackupScheduleId int
    Backup schedule ID.
    ProjectId string
    STACKIT Project ID to which the server is associated.
    ServerId string
    Server ID for the backup schedule.
    Region string
    The resource region. If not defined, the provider region is used.
    BackupScheduleId int
    Backup schedule ID.
    ProjectId string
    STACKIT Project ID to which the server is associated.
    ServerId string
    Server ID for the backup schedule.
    Region string
    The resource region. If not defined, the provider region is used.
    backupScheduleId Integer
    Backup schedule ID.
    projectId String
    STACKIT Project ID to which the server is associated.
    serverId String
    Server ID for the backup schedule.
    region String
    The resource region. If not defined, the provider region is used.
    backupScheduleId number
    Backup schedule ID.
    projectId string
    STACKIT Project ID to which the server is associated.
    serverId string
    Server ID for the backup schedule.
    region string
    The resource region. If not defined, the provider region is used.
    backup_schedule_id int
    Backup schedule ID.
    project_id str
    STACKIT Project ID to which the server is associated.
    server_id str
    Server ID for the backup schedule.
    region str
    The resource region. If not defined, the provider region is used.
    backupScheduleId Number
    Backup schedule ID.
    projectId String
    STACKIT Project ID to which the server is associated.
    serverId String
    Server ID for the backup schedule.
    region String
    The resource region. If not defined, the provider region is used.

    getServerBackupSchedule Result

    The following output properties are available:

    BackupProperties GetServerBackupScheduleBackupProperties
    Backup schedule details for the backups.
    BackupScheduleId int
    Backup schedule ID.
    Enabled bool
    Is the backup schedule enabled or disabled.
    Id string
    Name string
    The schedule name.
    ProjectId string
    STACKIT Project ID to which the server is associated.
    Rrule string
    An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates.
    ServerId string
    Server ID for the backup schedule.
    Region string
    The resource region. If not defined, the provider region is used.
    BackupProperties GetServerBackupScheduleBackupProperties
    Backup schedule details for the backups.
    BackupScheduleId int
    Backup schedule ID.
    Enabled bool
    Is the backup schedule enabled or disabled.
    Id string
    Name string
    The schedule name.
    ProjectId string
    STACKIT Project ID to which the server is associated.
    Rrule string
    An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates.
    ServerId string
    Server ID for the backup schedule.
    Region string
    The resource region. If not defined, the provider region is used.
    backupProperties GetServerBackupScheduleBackupProperties
    Backup schedule details for the backups.
    backupScheduleId Integer
    Backup schedule ID.
    enabled Boolean
    Is the backup schedule enabled or disabled.
    id String
    name String
    The schedule name.
    projectId String
    STACKIT Project ID to which the server is associated.
    rrule String
    An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates.
    serverId String
    Server ID for the backup schedule.
    region String
    The resource region. If not defined, the provider region is used.
    backupProperties GetServerBackupScheduleBackupProperties
    Backup schedule details for the backups.
    backupScheduleId number
    Backup schedule ID.
    enabled boolean
    Is the backup schedule enabled or disabled.
    id string
    name string
    The schedule name.
    projectId string
    STACKIT Project ID to which the server is associated.
    rrule string
    An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates.
    serverId string
    Server ID for the backup schedule.
    region string
    The resource region. If not defined, the provider region is used.
    backup_properties GetServerBackupScheduleBackupProperties
    Backup schedule details for the backups.
    backup_schedule_id int
    Backup schedule ID.
    enabled bool
    Is the backup schedule enabled or disabled.
    id str
    name str
    The schedule name.
    project_id str
    STACKIT Project ID to which the server is associated.
    rrule str
    An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates.
    server_id str
    Server ID for the backup schedule.
    region str
    The resource region. If not defined, the provider region is used.
    backupProperties Property Map
    Backup schedule details for the backups.
    backupScheduleId Number
    Backup schedule ID.
    enabled Boolean
    Is the backup schedule enabled or disabled.
    id String
    name String
    The schedule name.
    projectId String
    STACKIT Project ID to which the server is associated.
    rrule String
    An rrule (Recurrence Rule) is a standardized string format used in iCalendar (RFC 5545) to define repeating events, and you can generate one by using a dedicated library or by using online generator tools to specify parameters like frequency, interval, and end dates.
    serverId String
    Server ID for the backup schedule.
    region String
    The resource region. If not defined, the provider region is used.

    Supporting Types

    GetServerBackupScheduleBackupProperties

    Name string
    RetentionPeriod int
    VolumeIds List<string>
    Name string
    RetentionPeriod int
    VolumeIds []string
    name String
    retentionPeriod Integer
    volumeIds List<String>
    name string
    retentionPeriod number
    volumeIds string[]
    name str
    retention_period int
    volume_ids Sequence[str]
    name String
    retentionPeriod Number
    volumeIds List<String>

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.