1. Packages
  2. stackit
  3. API Docs
  4. ServerUpdateSchedule
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 update schedule resource schema. Must have a region specified in the provider configuration.

    This resource 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

    resource "stackit_server_update_schedule" "example" {
      project_id         = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      server_id          = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      name               = "example_update_schedule_name"
      rrule              = "DTSTART;TZID=Europe/Sofia:20200803T023000 RRULE:FREQ=DAILY;INTERVAL=1"
      enabled            = true
      maintenance_window = 1
    }
    
    # Only use the import statement, if you want to import an existing server update schedule
    import {
      to = stackit_server_update_schedule.import-example
      id = "${var.project_id},${var.region},${var.server_id},${var.server_update_schedule_id}"
    }
    

    Create ServerUpdateSchedule Resource

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

    Constructor syntax

    new ServerUpdateSchedule(name: string, args: ServerUpdateScheduleArgs, opts?: CustomResourceOptions);
    @overload
    def ServerUpdateSchedule(resource_name: str,
                             args: ServerUpdateScheduleArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServerUpdateSchedule(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             enabled: Optional[bool] = None,
                             maintenance_window: Optional[int] = None,
                             project_id: Optional[str] = None,
                             rrule: Optional[str] = None,
                             server_id: Optional[str] = None,
                             name: Optional[str] = None,
                             region: Optional[str] = None)
    func NewServerUpdateSchedule(ctx *Context, name string, args ServerUpdateScheduleArgs, opts ...ResourceOption) (*ServerUpdateSchedule, error)
    public ServerUpdateSchedule(string name, ServerUpdateScheduleArgs args, CustomResourceOptions? opts = null)
    public ServerUpdateSchedule(String name, ServerUpdateScheduleArgs args)
    public ServerUpdateSchedule(String name, ServerUpdateScheduleArgs args, CustomResourceOptions options)
    
    type: stackit:ServerUpdateSchedule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServerUpdateScheduleArgs
    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 ServerUpdateScheduleArgs
    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 ServerUpdateScheduleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServerUpdateScheduleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServerUpdateScheduleArgs
    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 serverUpdateScheduleResource = new Stackit.ServerUpdateSchedule("serverUpdateScheduleResource", new()
    {
        Enabled = false,
        MaintenanceWindow = 0,
        ProjectId = "string",
        Rrule = "string",
        ServerId = "string",
        Name = "string",
        Region = "string",
    });
    
    example, err := stackit.NewServerUpdateSchedule(ctx, "serverUpdateScheduleResource", &stackit.ServerUpdateScheduleArgs{
    	Enabled:           pulumi.Bool(false),
    	MaintenanceWindow: pulumi.Int(0),
    	ProjectId:         pulumi.String("string"),
    	Rrule:             pulumi.String("string"),
    	ServerId:          pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	Region:            pulumi.String("string"),
    })
    
    var serverUpdateScheduleResource = new ServerUpdateSchedule("serverUpdateScheduleResource", ServerUpdateScheduleArgs.builder()
        .enabled(false)
        .maintenanceWindow(0)
        .projectId("string")
        .rrule("string")
        .serverId("string")
        .name("string")
        .region("string")
        .build());
    
    server_update_schedule_resource = stackit.ServerUpdateSchedule("serverUpdateScheduleResource",
        enabled=False,
        maintenance_window=0,
        project_id="string",
        rrule="string",
        server_id="string",
        name="string",
        region="string")
    
    const serverUpdateScheduleResource = new stackit.ServerUpdateSchedule("serverUpdateScheduleResource", {
        enabled: false,
        maintenanceWindow: 0,
        projectId: "string",
        rrule: "string",
        serverId: "string",
        name: "string",
        region: "string",
    });
    
    type: stackit:ServerUpdateSchedule
    properties:
        enabled: false
        maintenanceWindow: 0
        name: string
        projectId: string
        region: string
        rrule: string
        serverId: string
    

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

    Enabled bool
    Is the update schedule enabled or disabled.
    MaintenanceWindow int
    Maintenance window [1..24]. Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.
    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 update schedule.
    Name string
    The schedule name.
    Region string
    The resource region. If not defined, the provider region is used.
    Enabled bool
    Is the update schedule enabled or disabled.
    MaintenanceWindow int
    Maintenance window [1..24]. Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.
    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 update schedule.
    Name string
    The schedule name.
    Region string
    The resource region. If not defined, the provider region is used.
    enabled Boolean
    Is the update schedule enabled or disabled.
    maintenanceWindow Integer
    Maintenance window [1..24]. Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.
    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 update schedule.
    name String
    The schedule name.
    region String
    The resource region. If not defined, the provider region is used.
    enabled boolean
    Is the update schedule enabled or disabled.
    maintenanceWindow number
    Maintenance window [1..24]. Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.
    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 update schedule.
    name string
    The schedule name.
    region string
    The resource region. If not defined, the provider region is used.
    enabled bool
    Is the update schedule enabled or disabled.
    maintenance_window int
    Maintenance window [1..24]. Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.
    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 update schedule.
    name str
    The schedule name.
    region str
    The resource region. If not defined, the provider region is used.
    enabled Boolean
    Is the update schedule enabled or disabled.
    maintenanceWindow Number
    Maintenance window [1..24]. Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.
    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 update schedule.
    name String
    The schedule name.
    region String
    The resource region. If not defined, the provider region is used.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateScheduleId int
    Update schedule ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateScheduleId int
    Update schedule ID.
    id String
    The provider-assigned unique ID for this managed resource.
    updateScheduleId Integer
    Update schedule ID.
    id string
    The provider-assigned unique ID for this managed resource.
    updateScheduleId number
    Update schedule ID.
    id str
    The provider-assigned unique ID for this managed resource.
    update_schedule_id int
    Update schedule ID.
    id String
    The provider-assigned unique ID for this managed resource.
    updateScheduleId Number
    Update schedule ID.

    Look up Existing ServerUpdateSchedule Resource

    Get an existing ServerUpdateSchedule 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?: ServerUpdateScheduleState, opts?: CustomResourceOptions): ServerUpdateSchedule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enabled: Optional[bool] = None,
            maintenance_window: Optional[int] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            rrule: Optional[str] = None,
            server_id: Optional[str] = None,
            update_schedule_id: Optional[int] = None) -> ServerUpdateSchedule
    func GetServerUpdateSchedule(ctx *Context, name string, id IDInput, state *ServerUpdateScheduleState, opts ...ResourceOption) (*ServerUpdateSchedule, error)
    public static ServerUpdateSchedule Get(string name, Input<string> id, ServerUpdateScheduleState? state, CustomResourceOptions? opts = null)
    public static ServerUpdateSchedule get(String name, Output<String> id, ServerUpdateScheduleState state, CustomResourceOptions options)
    resources:  _:    type: stackit:ServerUpdateSchedule    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Enabled bool
    Is the update schedule enabled or disabled.
    MaintenanceWindow int
    Maintenance window [1..24]. Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.
    Name string
    The schedule name.
    ProjectId string
    STACKIT Project ID to which the server is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    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 update schedule.
    UpdateScheduleId int
    Update schedule ID.
    Enabled bool
    Is the update schedule enabled or disabled.
    MaintenanceWindow int
    Maintenance window [1..24]. Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.
    Name string
    The schedule name.
    ProjectId string
    STACKIT Project ID to which the server is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    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 update schedule.
    UpdateScheduleId int
    Update schedule ID.
    enabled Boolean
    Is the update schedule enabled or disabled.
    maintenanceWindow Integer
    Maintenance window [1..24]. Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.
    name String
    The schedule name.
    projectId String
    STACKIT Project ID to which the server is associated.
    region String
    The resource region. If not defined, the provider region is used.
    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 update schedule.
    updateScheduleId Integer
    Update schedule ID.
    enabled boolean
    Is the update schedule enabled or disabled.
    maintenanceWindow number
    Maintenance window [1..24]. Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.
    name string
    The schedule name.
    projectId string
    STACKIT Project ID to which the server is associated.
    region string
    The resource region. If not defined, the provider region is used.
    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 update schedule.
    updateScheduleId number
    Update schedule ID.
    enabled bool
    Is the update schedule enabled or disabled.
    maintenance_window int
    Maintenance window [1..24]. Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.
    name str
    The schedule name.
    project_id str
    STACKIT Project ID to which the server is associated.
    region str
    The resource region. If not defined, the provider region is used.
    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 update schedule.
    update_schedule_id int
    Update schedule ID.
    enabled Boolean
    Is the update schedule enabled or disabled.
    maintenanceWindow Number
    Maintenance window [1..24]. Updates start within the defined hourly window. Depending on the updates, the process may exceed this timeframe and require an automatic restart.
    name String
    The schedule name.
    projectId String
    STACKIT Project ID to which the server is associated.
    region String
    The resource region. If not defined, the provider region is used.
    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 update schedule.
    updateScheduleId Number
    Update schedule ID.

    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.